blob: e93a57ca7f968640a7a3a57038d854be377ff164 [file] [log] [blame]
pauldc63bfd2005-10-25 23:31:05 +000012005-10-26 Paul Jakma <paul.jakma@sun.com>
2
3 * (general) static/extern functions and definitions.
4 * rip_interface.h: new file, export the public functions from
5 rip_interface.c
paul216565a2005-10-25 23:35:28 +00006 * ripd.c: Update couple more functions to specify void
7 explicitely.
pauldc63bfd2005-10-25 23:31:05 +00008
jardin38d3c162005-10-19 19:29:59 +000092005-10-17 Vincent Jardin <vincent.jardin@6wind.com>
10
11 * ripd.c: rip_create_socket() for each packet, it does not bind to the
12 proper interfaces because we forget to use the from address when
13 it is specified.
14
vincentfac3e842005-10-06 07:45:43 +0000152005-10-06 Alain Ritoux <alain.ritoux@6wind.com>
16
17 * rip_interface.c: Now the command "no ip rip split-horizon
18 poisoned-reverse" just inhibates the poisoned-reverse effects
19 but keep spli-horizon activ.
20
ajsf52d13c2005-10-01 17:38:06 +0000212005-10-01 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
22
23 * rip_zebra.c: (config_write_rip_redistribute): Remove local hard-coded
24 table str[]. Replace str[] with calls to new library function
25 zebra_route_string().
26 * ripd.c: Remove local hard-coded table route_info[].
27 (show_ip_rip) Replace uses of str[] with calls to new library
28 functions zebra_route_char and zebra_route_string.
29
vincentfbf5d032005-09-29 11:25:50 +0000302005-09-29 Alain Ritoux <alain.ritoux@6wind.com>
31
32 * rip_snmp.c: rip2IfConfReceive() sends values in conformance
33 with RFC. Also PeerDomain is now set to a STRING type.
34 * ripd.h: rip_redistribute_add() API includes metric and distance
35 added field external_metric in routes.
36 * ripd.c: rip_redistribute_add() API i.e. stores metric and distance
37 Now allows a RIP-route to overcome a redistributed route coming
38 from a protocol with worse (higher) administrative distance
39 Metrics from redistribution are shown in show ip rip
40 * rip_zebra.c: adapt to the rip_redistribute_add() API, i.e.
41 provide distance and metric
42 * rip_interface.c: adapt to the rip_redistribute_add() API
43 * rip_routemap.c: no RMAP_COMPILE_ERROR on (metric > 16) usage
44 rather a CMD_WARNING, because set metric ius shared with other
45 protocols using larger values (such as OSPF)
46 The match metric action takes first external metric if present
47 (from redistribution) then RIP metric.
48
vincentc1a03d42005-09-28 15:47:44 +0000492005-09-28 Alain Ritoux <alain.ritoux@6wind.com>
50
51 * ripd.c: use new md5 API
52
paul2c61ae32005-08-16 15:22:14 +0000532005-08-16 Paul Jakma <paul.jakma@sun.com>
54
55 * ripd.c: (general) Fix previous commit, broke multicast bind and
56 hence setting of source port, which broke communication with
57 non-borken ripd. Fix removes more stuff from rip_interface.c
58 than it adds to ripd.c ;)
59 (rip_create_socket) the to argument really is a from argument,
60 rename it. Set the source port to RIP port unconditionally, it's
61 required.
62 (rip_send_packet) Set from address correctly for multicast.
63 (rip_output_process) trivial: num can be BSS specified, rather
64 than in body.
65 * rip_interface.c: (rip_interface_multicast_set) strip out
66 redundant stuff related to bind, which rip_create_socket does.
67 Just make it set the multicast socket option, as per the
68 interface concerned, no more.
69
paula4e987e2005-06-03 17:46:49 +0000702005-06-03 Paul Jakma <paul.jakma@sun.com>
71
72 * ripd.c: (rip_create_socket) move it up so rip_send_packet
paulf69bd9d2005-06-03 18:01:50 +000073 can use it too. Make it static. Remove the getservbyname stuff,
74 as RFC2453 3.9.2 says non-RIP port messages should be discarded,
75 quagga doesnt accept them, no need to lookup port.
76 Take a 'to' argument, if socket should be bound to something else.
77 setsockopt_so_recvbuf might need privs, move it to the raised
78 privileges section.
79 dont forget to close the socket if bind fails.
80 (rip_send_packet) use strncpy, just in case (address is under
81 our control anyway, but still).
82 dont duplicate rip_create_socket - just use it.
83 (rip_create) rip_create_socket takes an argument now, modify.
84
paul7755a8c2005-06-02 08:20:53 +0000852005-06-01 Paul Jakma <paul.jakma@sun.com>
86
87 * rip_interface.c: Fix authentication, no-auth impossible to specify
88 (rip_interface_new) default to RIP_NO_AUTH
89 (rip_interface_reset) ditto
90 (rip_interface_config_write) write out config for simple
91
paul0cb8a012005-05-29 11:27:24 +0000922005-05-29 Paul Jakma <paul@dishone.st>
93
94 * ripd.c: (rip_output_process) fix error which crept in my
95 previous rip auth untanglement commit - it had become impossible
96 to not have authentication (even for v1).
97
hasso033e8612005-05-28 04:50:54 +0000982005-05-28 Hasso Tepper <hasso at quagga.net>
99
100 * rip_routemap.c: Fix set_metric_addsub_cmd help, it's not about BGP
101 metric.
102
hassocf96db12005-05-25 21:15:32 +00001032005-05-26 Hasso Tepper <hasso at quagga.net>
104
hassodc625e82005-05-26 06:26:40 +0000105 * rip_routemap.c: In case of '0.0.0.0' used as 'nexthop', use sender
106 address as nexthop in routemap.
107
1082005-05-26 Hasso Tepper <hasso at quagga.net>
109
hassocf96db12005-05-25 21:15:32 +0000110 * rip_routemap.c: Make "match interface" routemap command match both -
111 in and out interfaces.
112
ajsd4e47282005-05-11 15:56:21 +00001132005-05-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
114
115 * rip_interface.c (rip_interface_add): Need to call
116 rip_passive_interface_apply (was already calling it in
117 rip_interface_up).
118
ajs634f9ea2005-04-11 15:51:40 +00001192005-04-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
120
121 * rip_zebra.c (rip_redistribute_set, rip_redistribute_unset,
122 rip_redistribute_clean): Change 2nd arg to zebra_redistribute_send
123 from zclient->sock to zclient.
124
ajsd2fc8892005-04-02 18:38:43 +00001252005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
126
127 * rip_interface.c: (rip_interface_delete) After deleting, set
128 ifp->ifindex to IFINDEX_INTERNAL.
129
paulb14ee002005-02-04 23:42:41 +00001302005-02-04 Paul Jakma <paul@dishone.st>
131
132 * ripd.c: Untangle the construction of RIP auth data.
133 (rip_auth_prepare_str_send) new helper function, prepare
134 correct key string.
135 (rip_auth_simple_write) new helper, write out the
136 rip simple password auth psuedo-RTE.
137 (rip_auth_md5_ah_write) new helper, write out the
138 MD5 auth-header psuedo-RTE.
139 (rip_auth_header_write) new helper, write out correct
140 auth header data / psuedo-RTE.
141 (rip_auth_md5_set) rip out the memmove and writing of the
142 auth header psuedo-RTE. So that all that is left is to
143 write the trailing auth digest, and update digest offset
144 field in the original header.
145 (rip_write_rte) rip out writing of RIP header, writing of
146 simple auth data psuedo-RTE. Make it do what its name suggests,
147 write out actual RTEs.
148 (rip_output_process) remove the incorrect additional decrements
149 of rtemax. Prepare the auth_str, which simple or MD5 auth will
150 need. Move write out of RIP header and auth data to inside the
151 loop. Adjust paramaters as required.
152
ajs79853452005-01-30 17:40:29 +00001532005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
154
ajs6a52d0d2005-01-30 18:49:28 +0000155 * ripd.c: (rip_create_socket) Replace perror with zlog_err.
156
1572005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
158
ajs79853452005-01-30 17:40:29 +0000159 * ripd.c: (rip_create_socket) Save errno before calling
160 ripd_privs.change.
161
ajsb99760a2005-01-04 16:24:43 +00001622005-01-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
163
164 * ripd.c: (rip_recvmsg) Use ZCMSG_FIRSTHDR instead of CMSG_FIRSTHDR.
165
ajs766a0ca2004-12-15 14:55:51 +00001662004-12-15 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
167
168 * ripd.c: (rip_read) Improve 2 error messages to show the source of
169 the packet when the lookup fails.
170
ajs5d6c3772004-12-08 19:24:06 +00001712004-12-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
172
173 * *.c: Change level of debug messages to LOG_DEBUG.
174
ajs274a4a42004-12-07 15:39:31 +00001752004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
176
177 * rip_main.c: (main) The 2nd argument to openzlog has been removed.
178
ajs887c44a2004-12-03 16:36:46 +00001792004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
180
181 * rip_main.c: (sigint) Use zlog_notice for termination message.
182 (main) Add a startup announcement using zlog_notice.
183
hassoc0652302004-11-25 19:33:48 +00001842004-11-25 Hasso Tepper <hasso at quagga.net>
185
186 * rip_main.c: Make group to run as configurable.
187
paulc49ad8f2004-10-22 10:27:28 +00001882004-10-22 Paul Jakma <paul@dishone.st>
189
190 * ripd.c: Collapse redundant passing of various address structs,
191 struct interface and struct connected as arguments to functions
192 down to two key arguments, namely struct connected and, possibly,
193 address of source/destination. Testing for RIPv1 would be useful.
194 (rip_read) lookup struct connected for the received packet, pass
195 it on.
196 * rip_interface.c: With previous changes, we no longer have to tread
197 carefully with struct connected, as it will always be there and
198 valid.
199
hasso3fb9cd62004-10-19 19:44:43 +00002002004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
201
202 * ripd.c: (rip_update_interface) if connected->destination is NULL,
203 get the broadcast address with ipv4_broadcast_addr()
204 * rip_interface.c: (rip_interface_multicast_set)
205 connected->destination may be NULL. Improve message if
206 setsockopt_multicast_ipv4 fails. Improve message if bind fails.
207 (rip_request_interface_send) If connected->destination is NULL,
208 get the broadcast address with ipv4_broadcast_addr().
209 (if_valid_neighbor) Handle PtP subnet addressing properly.
210 Speed up code by using prefix_match properly.
211
hassoc75105a2004-10-13 10:33:26 +00002122004-10-13 Hasso Tepper <hasso at quagga.net>
213
214 * ripd_snmp.c: Remove defaults used to initialize smux connection to
215 snmpd. Connection is initialized only if smux peer is configured.
216
hasso98b718a2004-10-11 12:57:57 +00002172004-10-11 Hasso Tepper <hasso at quagga.net>
218
219 * *.c: Make more strings const.
220
hasso8a676be2004-10-08 06:36:38 +00002212004-10-08 Hasso Tepper <hasso at quagga.net>
222
223 * *.c: Fix compiler warnings: make strings const, signed -> unsigned
224 etc.
225
hasso1af81932004-09-26 16:11:14 +00002262004-09-26 Hasso Tepper <hasso at quagga.net>
227
228 * ripd.c: Fix compiler warning.
229
hasso52dc7ee2004-09-23 19:18:23 +00002302004-09-23 Hasso Tepper <hasso at quagga.net>
231
232 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
233
paul0b3acf42004-09-17 08:39:08 +00002342004-09-17 Paul Jakma <paul@dishone.st>
235
236 * ripd.c: set receive buffer to a decent size, some systems have low
237 defaults. Problem noted and fix suggested by Stephan Schweizer
238 in [zebra 20967].
239
paul1a517862004-08-19 04:03:08 +00002402004-08-19 Paul Jakma <paul@dishone.st>
241
242 * rip_interface.c: (rip_interface_multicast_set) get rid
243 of extraneous if_pointopoint arg. ifp is accessible via connected.
244 pass connected->ifp->ifindex to setsockopt_multicast_ipv4.
245 * ripd.c: (rip_send_packet) update call to
246 rip_interface_multicast_set
247 * ripd.h: update rip_interface_multicast_set prototype
248
paul02ff83c2004-06-11 11:27:03 +00002492004-06-11 Sowmini Varadhan <sowmini.varadhan@sun.com>
250
251 * ripd.c: (rip_distribute_update_all) distribute list hook
252 function pointer prototype requires struct prefix_list * arg.
253 (rip_distribute_update_all_wrapper) update to pass required arg,
254 NULL.
255
paulca5e5162004-06-06 22:06:33 +00002562004-06-06 Paul Jakma <paul.jakma@sun.com>
257
258 * ripd.h: Add define for the RIPv2 Authentication Data family
259 Move the auth type defines up to where other defines live.
260 Add RIP_AUTH_MD5_COMPAT_SIZE, for backwards compatible
261 md5->auth_len size. Add md5_auth_len field to struct
262 rip_interface: (rip_interface_new) Init md5_auth_len to compatible
263 size.
264 (ip_rip_authentication_mode_cmd) Extended to handle setting
265 md5 auth-length. Appropriate aliases added.
266 (no_ip_rip_authentication_mode_cmd) Reset md5_auth_len to
267 compatible size.
268 (rip_interface_config_write) Teach it about md5_auth_len.
269 _always_ write out the auth-length, so that everyone will get
270 the setting in their config file, and hence allow for a future
271 change of default for md5_auth_len to be less painful - every md5
272 user will have this setting in their config file.
273 ripd.c: (rip_packet_dump) Change nasty hard coded constants to
274 symbolic defines. Change various tests of 'ntoh.(variable) ==
275 constant' to test 'variable == ntoh.(constant)'. Clean up
276 indentation on some long lines.
277 (rip_auth_simple_password) ditto.
278 (rip_auth_md5) ditto, also add length argument and sanity check
279 md5 data offset field. Sanity check md5 auth length, accept RFC
280 or old-ripd/cisco lengths.
281 (rip_auth_md5_set) as per (rip_packet_dump), also write out
282 the configured md5 auth length for the interface (old-ripd or rfc)
283 (rip_read) as per (rip_packet_dump)
284 (rip_write_rte) ditto
285 (rip_response_process) ditto
286 (rip_write_rte) ditto
287
paulc2bfbcc2004-06-04 01:42:38 +00002882004-06-04 JJ Ludman <jacques.ludman@sun.com>
289
290 * ripd.c: Interoperability fix. Correct value for MD5 auth length
291 is 16. Accept packets with this set to >= 16, and set to 16
292 ourselves.
293
paul11dde9c2004-05-31 14:00:00 +00002942004-05-31 Sowmini Varadhan <sowmini.varadhan@sun.com>
295
296 * ripd.c: Fixup compile warnings
297 * rip_routemap.c: Ditto
298
paul0a589352004-05-08 11:48:26 +00002992004-05-08 Paul Jakma <paul@dishone.st>
300
301 * rip_zebra.c: sync with zclient changes.
302 * rip_interface.c: ditto.
303
paul239389b2004-05-05 14:09:37 +00003042004-05-05 Anthony.Golia@morganstanley.com
305
306 * ripd.c: (rip_update_jitter) Bound jitter to a more sensible
307 value, eg 1/4 of update time.
308
paula87552c2004-05-03 20:00:17 +00003092004-05-03 Paul Jakma <paul@dishone.st>
310
311 * ripd.c: (rip_rte_process) fix typo in merge of previous patch
312 and run function through indent.
313
paulb94f9db2004-05-01 20:45:38 +00003142004-03-19 Jean-Yves Simon <lethalwp@tiscali.be>
315
paula87552c2004-05-03 20:00:17 +0000316 * ripd.c: (rip_rte_process) make ripd also check on
317 administrative distance of his own links to update routes.
paulb94f9db2004-05-01 20:45:38 +0000318
hassoda9c9a22004-03-18 02:40:55 +00003192004-03-18 sowmini.varadhan@sun.com
320
321 * ripd.c: rip_send_packet can get null connected address when
322 called in response to a unicast rip-request. Handle correctly.
323
hassoa1455d82004-03-03 19:36:24 +00003242004-03-03 Krzysztof Oledzki <oleq@ans.pl>
325
hassocaa6f8a2004-03-03 19:48:48 +0000326 * ripd.c: fix "show ip rip" and per interface rip version selection.
hassoa1455d82004-03-03 19:36:24 +0000327
paul931cd542004-01-23 15:31:42 +00003282004-01-23 sowmini.varadhan@sun.com
329
330 * rip_interface.c: obsolete unbind code in
331 rip_interface_multicast_set, and instead do the more portable
332 (though slower) method of creating a socket for each outgoing packet
333 and binding the source address on the new socket.
334 * rip_interface.c, ripd.c, ripd.h: Modify rip_request_send so that
335 source address is determined by the caller of rip_request_send for
336 ripv1 packets and non-multicast interfaces (rip_request_send loops
337 over all connected address in all other cases).
338 * rip_send_packet: don't send packets with source set to
339 ZEBRA_IFA_SECONDARY connected addresses; improved debug messages;
340
paulf38a4712003-06-07 01:10:00 +00003412003-06-07 Andrew J. Schorr <aschorr@telemetry-investments.com>
342
343 * Allow ripd to receive RIPv1
344 * add default as valid param to passive-interface command
345
hasso16705132003-05-25 14:49:19 +00003462003-05-25 Vincent Jardin <vjardin@wanadoo.fr>
347
paulf38a4712003-06-07 01:10:00 +0000348 * 6Wind patch merge.
hasso16705132003-05-25 14:49:19 +0000349
paul445f1432003-05-16 19:00:31 +00003502003-04-19 Hasso Tepper <hasso@estpak.ee>
351
352 * rip_routemap.c: sync daemon's route-map commands to have same
353 syntax
354
paul718e3742002-12-13 20:15:29 +00003552002-07-07 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
356
357 * zebra-0.93 released.
358
3592002-06-30 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
360
361 * ripd.c (rip_output_process): When outgoing interface is same as
362 next hop interface, announce RIPv2 next hop otherwise set next hop
363 to 0. Revert previous change then take 6WIND way.
364
3652001-09-14 Akihiro Mizutani <mizutani@dml.com>
366
367 * ripd.c: RIP enabled interface's route is advertised by default.
368
3692001-08-28 NOGUCHI Kay <kay@v6.access.co.jp>
370
371 * rip_snmp.c (rip_ifaddr_delete): Add route_node_lookup() return
372 value check.
373
374 * rip_interface.c (rip_multicast_leave): Fix bug of multiple IP
375 address on one interface multicast join/leave bug.
376
3772001-08-26 NOGUCHI Kay <kay@v6.access.co.jp>
378
379 * rip_interface.c (no_rip_passive_interface): Add NO_STR.
380
3812001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
382
383 * zebra-0.92a released.
384
3852001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
386
387 * zebra-0.92 released.
388
3892001-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
390
391 * rip_routemap.c (route_match_ip_address_prefix_list): Add match
392 ip next-hop prefix-list WORD.
393
3942001-02-18 Kunihiro Ishiguro <kunihiro@zebra.org>
395
396 * rip_interface.c (rip_passive_interface_clean): Call
397 rip_passive_interface_apply_all.
398
3992001-02-12 Kunihiro Ishiguro <kunihiro@zebra.org>
400
401 * ripd.c (rip_response_process): Multicast address nexthop check
402 is moved from rip_nexthop_check.
403
4042001-02-08 Matthew Grant <grantma@anathoth.gen.nz>
405
406 * rip_interface.c (ipv4_multicast_join): Use
407 setsockopt_multicast_ipv4.
408 (ipv4_multicast_leave): Likewise.
409 (rip_if_ipv4_address_check): Interface which has IPv4 address can
410 be enabled.
411
4122001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
413
414 * rip_interface.c (rip_interface_delete): To support pseudo
415 interface do not free interface structure.
416 * ripd.c (rip_output_process): If output interface is in simple
417 password authentication mode, we need space for authentication
418 data.
419
4202001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
421
422 * ripd.c (rip_nexthop_check): Fix multicast address nexthop check.
423
424 * zebra-0.91 is released.
425
4262001-01-27 Kunihiro Ishiguro <kunihiro@zebra.org>
427
428 * ripd.c (show_ip_rip): Show metric infinity route's timeout.
429 (rip_rte_process): If current route is metric infinity, route is
430 replaced with received rte.
431 (rip_redistribute_delete): When redistribute route is deleted,
432 perform poisoned reverse.
433 (rip_redistribute_withdraw): Likewise.
434
4352001-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
436
437 * ripd.c (rip_response_process): RIPv2 routing table entry with
438 non directly reachable nexthop was dropped. The code is changed
439 to treat it as 0.0.0.0 nexthop.
440 (rip_destination_check): Check net 0 address destination.
441 (rip_nexthop_check): New function for checking nexthop address
442 validity.
443
4442001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
445
446 * ripd.c (rip_request_process): Triggered update only send changed
447 route.
448
449 * rip_interface.c: Delete RIP_API part until new implementation
450 comes out.
451
452 * rip_snmp.: Likewise.
453
454 * rip_zebra.c: Likewise.
455
456 * ripd.c: Likewise.
457
4582001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
459
460 * rip_interface.c (rip_if_init): Remove HAVE_IF_PSEUDO part.
461
4622001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
463
464 * zebra-0.90 is released.
465
4662001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
467
468 * ripd.h (RIP_VTYSH_PATH): Change "/tmp/ripd" to "/tmp/.ripd".
469
4702000-12-25 David Lipovkov <davidl@nbase.co.il>
471
472 * ripd.c (rip_rte_process): When a route is in garbage collection
473 process (invalid with metric 16) and a router receives the same
474 route with valid metric then route was not installed into zebra
475 rib, but only into ripd rib. Moreover , it will never get into
476 zebra rib, because ripd wrongly assumes it's already there.
477 (rip_redistribute_add): When doing redistribute into rip other
478 route (e.g. connected) and the same route exists in ripd rib we
479 changed it in place - bug. Now we don't forget to remove old route
480 from zebra.
481 (rip_timeout): When removing routes from zebra I made sure that we
482 remove route with the metric we have in zebra and not the new
483 one. It doesn't make a difference now,but could be significant
484 when multipath support is done.
485
4862000-12-25 David Lipovkov <davidl@nbase.co.il>
487
488 * rip_zebra.c (rip_metric_unset): Fix bug of metric value unset.
489
4902000-11-25 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
491
492 * ripd.c (rip_request_process): Check passive flag of the
493 interface.
494
4952000-11-23 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
496
497 * rip_interface.c (rip_multicast_join): When IP_ADD_MEMBERSHIP
498 failed do not set runnning flag to the interface.
499
5002000-11-16 Kunihiro Ishiguro <kunihiro@zebra.org>
501
502 * ripd.c (rip_output_process): Memory leak related classfull
503 network generation is fixed.
504
5052000-11-16 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
506
507 * rip_interface.c (if_check_address): Obsolete pointopoint address
508 check is removed.
509
5102000-11-02 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
511
512 * rip_interface.c (if_check_address): Add pointopoint address
513 check.
514 (rip_interface_up): Add check for passive interface when interface
515 goes up.
516
5172000-10-23 Jochen Friedrich <jochen@scram.de>
518
519 * rip_snmp.c: rip_oid and ripd_oid are used in smux_open after it
520 is registered. So those variables must be static.
521
5222000-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
523
524 * rip_interface.c: Change to "no ip rip (send|receive)" command
525 accept version number argument.
526
5272000-10-17 Akihiro Mizutani <mizutani@dml.com>
528
529 * rip_routemap.c (route_set_ip_nexthop_compile): Change "match ip
530 next-hop" from IP address to access-list name.
531
5322000-10-17 Kunihiro Ishiguro <kunihiro@zebra.org>
533
534 * rip_peer.c: Change ot use linklist.c instaed of newlist.c.
535
5362000-10-16 Kunihiro Ishiguro <kunihiro@zebra.org>
537
538 * rip_offset.c: Change to use linklist.c instead of newlist.c.
539
5402000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
541
542 * zebra-0.89 is released.
543
5442000-09-26 Akihiro Mizutani <mizutani@dml.com>
545
546 * rip_routemap.c (match_ip_nexthop): Add next-hop format check.
547
5482000-09-18 David Lipovkov <dlipovkov@OpticalAccess.com>
549
550 * rip_interface.c (ripd_api_get_if_rx_version): Corrects rip SNMP
551 and rip API functions dealing with rip version.
552
553 * rip_snmp.c (Status_Valid): SNMPv2-TC TEXTUAL-CONVENTION.
554
5552000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
556
557 * rip_snmp.c (rip2IfLookup): Use rip_ifaddr_lookup_next() instead
558 of rip_if_lookup_next().
559
560 * rip_interface.c (rip_enable_network_lookup): Interface enable
561 check by interface's address with /32 prefix.
562
563 * ripd.c (rip_read): When RIP is configured with authentication
564 and no authentication in incoming packet, drop the packet.
565
566 * rip_interface.c (rip_interface_reset): RIP_AUTH_SIMPLE_PASSWORD
567 is default mode of authentication.
568 (rip_interface_new): Likewise.
569 (no_ip_rip_authentication_mode): Likewise.
570
571 * ripd.c (rip_read): Likewise.
572
5732000-09-10 David Lipovkov <davidl@nbase.co.il>
574
575 * rip_snmp.c: Set ASN_INTEGER v->type where it is needed.
576
5772000-09-08 Kunihiro Ishiguro <kunihiro@zebra.org>
578
579 * ripd.c (rip_auth_simple_password): Simple password
580 authentication using key-chain.
581 (rip_write_rte): Likewise.
582
583 * rip_interface.c (ip_rip_authentication_key_chain): Add check for
584 authentication string configuration.
585
5862000-09-08 Akihiro Mizutani <mizutani@dml.com>
587
588 * ripd.c (rip_write_rte): Add check for ri->auth_str.
589
5902000-09-07 Kunihiro Ishiguro <kunihiro@zebra.org>
591
592 * ripd_api.h: New file is added.
593
5942000-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
595
596 * ripd.c (rip_rte_process): rip_route_process() is renamed to
597 rip_rte_process() to clarify meanings of the function.
598 rip_route_process() is newly added to process RIP route selection.
599
6002000-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
601
602 * ripd.c (rip_incoming_filter): Extract incoming filter code to
603 function from rip_route_process(). Add check for all interface
604 filter.
605 (rip_outgoing_filter): Extract incoming filter code to function
606 from rip_output_process(). Add check for all interface filter.
607
608 * rip_zebra.c (rip_redistribute_clean): Reset redistribute status
609 when "no router rip" is performed.
610
611 * rip_interface.c (rip_interface_clean): Reset interface's RIP
612 enable status.
613
6142000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
615
616 * ripd.c (rip_route_process): When metric infinity is received the
617 route is removed from service immediately.
618 (rip_timeout): Likewise.
619 (rip_garbage_collect): Do not delete route in garbage collection.
620 (rip_output_process): Check metric_out exceed metric infinity.
621
622 * zebra-0.88 is released.
623
6242000-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
625
626 * ripd.c (rip_distance_apply): Unlock node when there is matched
627 node.
628
6292000-08-13 Akihiro Mizutani <mizutani@dml.com>
630
631 * rip_routemap.c (match_ip_nexthop): Add check for IP address
632 validness.
633 (no_set_metric): Add new ALIAS.
634
6352000-08-07 Kunihiro Ishiguro <kunihiro@zebra.org>
636
637 * ripd.h (struct rip ): Add distance.
638
6392000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
640
641 * rip_zebra.c (rip_zebra_ipv4_add): Use new Zebra api to register
642 routes. Pass RIP metric value to zebra.
643
6442000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
645
646 * rip_main.c (main): Make struct thread thread from global
647 variable to local variable in main.
648
6492000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
650
651 * ripd.c (rip_packet_dump): Add MD5 authentication dump function.
652 (rip_auth_md5): RIP MD5 authentication packet receive works.
653
6542000-08-02 David Lipovkov <davidl@nbase.co.il>
655
656 * rip_interface.c (rip_if_init): Install interface "pseudo"
657 commands.
658 (rip_interface_delete): Do not call if_delete() when interface is
659 pseudo interface.
660
6612000-07-31 Kunihiro Ishiguro <kunihiro@zebra.org>
662
663 * rip_interface.c (ip_rip_authentication_mode): "ip rip
664 authentication mode (md5|text)" is added.
665 (ip_rip_authentication_key_chain): "ip rip authentication
666 key-chain KEY-CHAIN" is added.
667 (rip_interface_clean): Clean all interface configuration.
668 (rip_interface_reset): Reset all interface configuration.
669 (rip_clean_network): Clean rip_enable_network.
670
671 * ripd.h (struct rip_interface): Add key_chain member.
672
673 * ripd.c: Include md5-gnu.h.
674
6752000-07-30 Kunihiro Ishiguro <kunihiro@zebra.org>
676
677 * ripd.h (RIP_NO_AUTH): Change RIP_NO_AUTH value from 1 to 0.
678
679 * ripd.c (rip_authentication): Use RIP_AUTH_SIMPLE_PASSWORD
680 instead of raw value 2.
681 (rip_write_rte): Likewise.
682 (rip_write_rte): Check ri->auth_type instead of ri->auth_str.
683
6842000-07-30 David Lipovkov <davidl@nbase.co.il>
685
686 * rip_interface.c (rip_if_down): Do not delete ZEBRA_ROUTE_KERNEL
687 route.
688
6892000-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
690
691 * ripd.c (rip_update_process): Add "passive-interface" command.
692
693 * ripd.h (struct rip_interface): Add passive member to struct
694 rip_interface.
695
6962000-07-24 Kunihiro Ishiguro <kunihiro@zebra.org>
697
698 * rip_interface.c (rip_if_init): Multiple RIP routes for one
699 prefix change. The codes are enclosed by #ifdef NEW_RIP_TABLE.
700
7012000-07-24 Akihiro Mizutani <mizutani@dml.com>
702
703 * rip_interface.c (rip_if_init): Use install_default() for
704 INTERFACE_NODE.
705
7062000-07-24 Kunihiro Ishiguro <kunihiro@zebra.org>
707
708 * ripd.c: First update timer will be invoked in two seconds.
709
7102000-07-09 Jochen Friedrich <jochen@scram.de>
711
712 * rip_snmp.c: Local function definitions to static. Add INTEGER
713 ASN_INTEGER and TIMETICKS ASN_TIMETICKS definition.
714 (rip2PeerLookup): Peer with domain lookup implemented.
715 (rip2PeerTable): Temporary disable RIP2PEERLASTUPDATE value
716 support due to unknown SNMP agent startup time.
717
7182000-07-05 Kunihiro Ishiguro <kunihiro@zebra.org>
719
720 * ripd.h: Sweep obsolete definitions.
721
722 * rip_interface.c (rip_split_horizon): Add "ip split-horizon"
723 command.
724
725 * ripd.c (rip_output_process): Remove split_horizon argument.
726 (rip_update_process): Likewise.
727
728 * ripd.h (struct rip_interface): Add split_horizon flag to struct
729 rip_interface.
730
7312000-07-04 Akihiro Mizutani <mizutani@dml.com>
732
733 * ripd.c (rip_version): Change VERSION to <1-2>.
734 Add "no version" command.
735
7362000-07-03 Kunihiro Ishiguro <kunihiro@zebra.org>
737
738 * rip_zebra.c (rip_redistribute_type_metric): "redistribute TYPE
739 metric <0-16>" command is added.
740
741 * rip_routemap.c (route_set_metric): Set metric_set when metric is
742 modified.
743
744 * ripd.h (struct rip_info): To check route-map set metric or not,
745 new member metric_set is added to struct rip_info.
746
747 * ripd.c (rip_route_process): Move metric handling code from
748 rip_response_process() to rip_route_process().
749 (rip_output_process): Set output offset-list metric.
750
7512000-07-02 Kunihiro Ishiguro <kunihiro@zebra.org>
752
753 * rip_offset.c (rip_offset_list): New file for offset-list.
754
7552000-07-02 Akihiro Mizutani <mizutani@dml.com>
756
757 * ripd.h (struct rip ): Add default_metric.
758
759 * ripd.c (rip_default_metric): "default-metric <1-16>" command is
760 added.
761 (config_write_rip): Change configuration order.
762
763 * rip_zebra.c: Fix help strings.
764
7652000-07-02 David Lipovkov <davidl@nbase.co.il>
766
767 * rip_interface.c (rip_if_init): Add IF_DELETE_HOOK.
768
7692000-07-01 Kunihiro Ishiguro <kunihiro@zebra.org>
770
771 * ripd.c (rip_output_process): If specified route-map does not
772 exist, it treated as deny all.
773
7742000-06-30 Kunihiro Ishiguro <kunihiro@zebra.org>
775
776 * rip_routemap.c (rip_route_map_init): Call rip_route_map_update
777 when route-map is deleted.
778
7792000-06-28 Kunihiro Ishiguro <kunihiro@zebra.org>
780
781 * rip_routemap.c (set_metric): For consistency with bgpd's set
782 metric, value range is set to <0-4294967295>.
783
7842000-06-28 David Lipovkov <davidl@nbase.co.il>
785
786 * rip_routemap.c (rip_route_map_update): Add check for rip is
787 enabled or not for avoid core dump.
788
789 * rip_debug.c (debug_rip_packet_direct): Fix bug of setting
790 rip_debug_packet flag.
791
7922000-06-13 David Lipovkov <davidl@nbase.co.il>
793
794 * rip_interface.c (rip_interface_delete): All work is done in
795 rip_if_down().
796
7972000-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
798
799 * ripd.c (rip_redistribute_delete): Fix bug of missing
800 route_unlock_node() when redistribute route is not found.
801
8022000-06-05 Akihirof Mizutani <mizutani@dml.com>
803
804 * rip_debug.c (rip_debug_init): Disable show debugging in
805 VIEW_NODE like other protocol daemon.
806
807 * rip_routemap.c: Change command argument to more comprehensive.
808
809 METRIC -> <0-16>
810 IFNAME -> WORD
811 IP_ADDR -> A.B.C.D
812 ACCSESS_LIST -> WORD
813
8142000-06-05 David Lipovkov <davidl@nbase.co.il>
815
816 * rip_interface.c (rip_interface_delete): Delete all routes
817 include static and kernel through the interface , because even if
818 the interface is added again there is no guarantee that it will
819 get the same ifindex as before.
820
8212000-05-31 Akihirof Mizutani <mizutani@dml.com>
822
823 * rip_debug.c: Fix rip debug help string.
824
8252000-04-27 Mirko Karanovic <mkaranov@torsel.alcatel.com>
826
827 * rip_interface.c (rip_interface_down): Remove interface from
828 multicast group when interface goes down.
829
8302000-04-03 David Lipovkov <davidl@nbase.co.il>
831
832 * rip_interface.c (rip_interface_down): Implemented rip functions
833 for interface up/down events: rip_interface_up() and
834 rip_interface_down()
835
8362000-03-16 David Lipovkov <davidl@nbase.co.il>
837
838 * rip_zebra.c (rip_zclient_init): Added rip functions for
839 interface up/down events.
840
8412000-02-15 Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
842
843 * ripd.c (rip_write_rte): "set metic" in route-map has no effect
844 for RIPv1 in ripd. It worked fine for RIPv2.
845
8462000-01-17 Kunihiro Ishiguro <kunihiro@zebra.org>
847
848 * ripd.c (show_ip_protocols_rip): Fix bug of "show ip protocls"
849 mis-display RIP version.
850
851 * ripd.h (struct rip_peer): Add timeout thread to rip_peer
852 structure.
853
8542000-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
855
856 * rip_peer.c: Add new file for supporting RIP peer.
857
8581999-12-26 David Lipovkov <davidl@nbase.co.il>
859
860 * ripd.c (rip_authentication): RIP authantication string is 16
861 bytes long.
862
8631999-12-10 Kunihiro Ishiguro <kunihiro@zebra.org>
864
865 * ripd.c (rip_read): Add check for minimum packet length.
866 Authentication check is moved from rip_process_response() to
867 rip_read(). Patch from David Lipovkov <davidl@nbase.co.il> is
868 applied then add rte number check by Kunihiro Ishiguro
869 <kunihiro@zebra.org>.
870
8711999-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
872
873 * ripd.c (rip_response_process): In case of packet is RIPv2 and
874 network is non zero and netmask is zero, apply netmask rule as
875 same as RIPv1.
876
8771999-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
878
879 * ripd.c (rip_timers): Fix bug of timers basic argument format.
880
8811999-11-03 Kunihiro Ishiguro <kunihiro@zebra.org>
882
883 * rip_snmp.c (rip2IfConfAddress): Forgot to include
884 RIP2IFCONFDOMAIN.
885
8861999-10-28 Kunihiro Ishiguro <kunihiro@zebra.org>
887
888 * ripd.h (struct rip_peer): New structure added.
889
8901999-10-26 Kunihiro Ishiguro <kunihiro@zebra.org>
891
892 * rip_zebra.c (rip_zebra_ipv4_add): Increment
893 rip_global_route_changes when route change occur.
894 (rip_zebra_ipv4_delete): Likewise.
895
896 * ripd.c (rip_request_process): Increment rip_global_queries when
897 reply to the query is sent.
898
8991999-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
900
901 * rip_debug.c (rip_debug_reset): Reset function added.
902
903 * ripd.c (rip_update_process): Logging bug is fixed.
904
9051999-10-10 Marc Boucher <marc@mbsi.ca>
906
907 * ripd.c (config_write_rip): Add config_write_distribute() call.
908
9091999-09-29 Kunihiro Ishiguro <kunihiro@zebra.org>
910
911 * ripd.c (rip_distribute_update): Fix bug of access-list
912 prefix-list updates.
913
9141999-09-10 VOP <vop@unity.net>
915
916 * rip_zebra.c: Add redistribute route-map feature.
917
9181999-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
919
920 * ripd.c (rip_response_process): Add check for given prefix is
921 given mask applied one.
922
9231999-09-03 VOP <vop@unity.net>
924
925 * rip_interface.c (rip_interface_multicast_set): Bug fix about
926 setting multicast interface.
927
9281999-09-02 VOP <vop@unity.net>
929
930 * rip_routemap.c: New file added.
931
9321999-09-02 Kunihiro Ishiguro <kunihiro@zebra.org>
933
934 * ripd.c (show_ip_protocols_rip): Show next update time.
935 (show_ip_protocols_rip): Show redistribute information.
936
9371999-08-25 Kunihiro Ishiguro <kunihiro@zebra.org>
938
939 * RIPv2-MIB.txt: New file added.
940
941 * rip_snmp.c: New file added.
942
9431999-08-24 Kunihiro Ishiguro <kunihiro@zebra.org>
944
945 * rip_interface.c (ip_rip_authentication_string): RIPv2
946 authentication command is added.
947
9481999-08-23 Kunihiro Ishiguro <kunihiro@zebra.org>
949
950 * rip_interface.c (rip_interface_multicast_set): Process of
951 setting IP_MULTICAST_IF on specific interface.
952
953 * ripd.c (rip_read): Add packet size check.
954
9551999-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
956
957 * ripd.c (rip_request_process): Fill in RIP_METRIC_INFINITY with
958 network byte order using htonl ().
959 (rip_response_process): Pass host byte order address to IN_CLASSC
960 and IN_CLASSB macro.
961
9621999-08-08 davidm@nbase.co.il (David Mozes)
963
964 * rip_zebra.c (rip_zebra_read_ipv4): Fix split horizon problem.
965
9661999-07-03 Kunihiro Ishiguro <kunihiro@zebra.org>
967
968 * ripd.c (rip_timer_set): Function added.
969
9701999-07-01 Kunihiro Ishiguro <kunihiro@zebra.org>
971
972 * rip_debug.c: New file added.
973 rip_debug.h: New file added.
974
9751999-07-01 Rick Payne <rickp@rossfell.co.uk>
976
977 * rip_zebra.c (zebra_init): Install standard commands to
978 ZEBRA_NODE.
979
9801999-06-01 David Luyer <luyer@ucs.uwa.edu.au>
981
982 * ripd.c (rip_process_route): Add support for RIP version 1.
983
9841999-05-29 Kunihiro Ishiguro <kunihiro@zebra.org>
985
986 * rip_zebra.c: Change to use lib/zclient.[ch].
987
9881999-05-20 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
989
990 * ripd.c (rip_add_route): Change the existance route's metric check
991 to the condition specified by RFC2453.
992
9931999-05-17 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
994
995 * ripd.c (rip_process_route): Add the if metric to the route metric.
996
997 * ripd.c (rip_add_route): Deleted add if metric to the route.
998
9991999-05-16 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
1000
1001 * rip_interface.c (if_valid_neighbor): New function.
1002
1003 * ripd.c (rip_process_route): Added check whether the datagram
1004 is from a valid neighbor.
1005
10061999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1007
1008 * ripd.c (rip_process_route): Set interface pointer to rinfo.
1009
10101999-05-15 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
1011
1012 * ripd.c (rip_check_address): Unicast and not net 0 or 127 check
1013 added.
1014
10151999-05-14 Stephen R. van den Berg <srb@cuci.nl>
1016
1017 * rip_main.c (signal_init): SIGTERM call sigint.
1018 (sigint): Loggging more better message.
1019
10201999-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1021
1022 * ripd.c (rip_add_route): Fix previous route_unlock_node() chenge.
1023
1024 * rip_main.c (main): Change default zlog output to ZLOG_STDOUT for
1025 debugging.
1026
10271999-05-09 Patrick Koppen <koppen@rhrk.uni-kl.de>
1028
1029 * rip_interface.c (rip_request): Fix old semantics for fetching
1030 connected address.
1031
1032 * ripd.c (rip_add_route): Update timer when the route is updated.
1033
10341999-05-09 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
1035
1036 * rip_zebra.c (struct zebra): Add ridist_static, ridist_connect,
1037 redist_rip, redist_ripng.
1038
1039 * rip_zebra.c (zebra_create): Updated for current zebra method.
1040
1041 * ripd.c (rip_add_route): Add missing route_unlock_node().
1042
10431999-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1044
1045 * ripd.c (rip_add_route): Add metric check. Reported by Carlos
1046 Alberto Barcenilla <barce@frlp.utn.edu.ar>.
1047
10481999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
1049
1050 * syslog support added
1051
10521998-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1053
1054 * ripd.c (rip_announce_func): Apply new lib functions.
1055
10561998-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1057
1058 * ripd.c (config_write_rip): Delete vector v argument.
1059 * rip_zebra.c (config_write_zebra): Likewise.
1060 * rip_interface.c (interface_config_write): Likewise.
1061
10621998-09-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1063
1064 * rip_announce.c (rip_rib_close): When ripd terminates delete all
1065 added route.
1066
10671998-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1068
1069 * rip_interface.c: return read packet size.
1070
10711998-05-18 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1072
1073 * ripd.h: Modify for compile on Solaris.
1074
10751998-05-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1076
1077 * ripd.c: DEFUN function return CMD_SUCCESS.
1078 change xmalloc to XMALLOC macro.
1079
10801998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1081
1082 * rip_main.c: change CONFDIR to SYSCONFDIR.
1083
10841998-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1085
1086 * .cvsignore: added.
1087
10881998-02-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1089
1090 * rip_interface.c (config_write_interface): correct ADVERTISE spell.
1091
1092 * rip_main.c (main): add usage() and make cleanup.
1093
10941998-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1095
1096 * ripd.c (rip_version): add rip version command.
1097
10981998-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1099
1100 * rip_interface.c (zebra_get_interface): added to get
1101 interface's information.
1102
1103 * ChangeLog: create.