blob: 3399868b14d863380f87950cd74be6d71ef8b018 [file] [log] [blame]
jardin38d3c162005-10-19 19:29:59 +000012005-10-17 Vincent Jardin <vincent.jardin@6wind.com>
2
3 * ripd.c: rip_create_socket() for each packet, it does not bind to the
4 proper interfaces because we forget to use the from address when
5 it is specified.
6
vincentfac3e842005-10-06 07:45:43 +000072005-10-06 Alain Ritoux <alain.ritoux@6wind.com>
8
9 * rip_interface.c: Now the command "no ip rip split-horizon
10 poisoned-reverse" just inhibates the poisoned-reverse effects
11 but keep spli-horizon activ.
12
ajsf52d13c2005-10-01 17:38:06 +0000132005-10-01 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
14
15 * rip_zebra.c: (config_write_rip_redistribute): Remove local hard-coded
16 table str[]. Replace str[] with calls to new library function
17 zebra_route_string().
18 * ripd.c: Remove local hard-coded table route_info[].
19 (show_ip_rip) Replace uses of str[] with calls to new library
20 functions zebra_route_char and zebra_route_string.
21
vincentfbf5d032005-09-29 11:25:50 +0000222005-09-29 Alain Ritoux <alain.ritoux@6wind.com>
23
24 * rip_snmp.c: rip2IfConfReceive() sends values in conformance
25 with RFC. Also PeerDomain is now set to a STRING type.
26 * ripd.h: rip_redistribute_add() API includes metric and distance
27 added field external_metric in routes.
28 * ripd.c: rip_redistribute_add() API i.e. stores metric and distance
29 Now allows a RIP-route to overcome a redistributed route coming
30 from a protocol with worse (higher) administrative distance
31 Metrics from redistribution are shown in show ip rip
32 * rip_zebra.c: adapt to the rip_redistribute_add() API, i.e.
33 provide distance and metric
34 * rip_interface.c: adapt to the rip_redistribute_add() API
35 * rip_routemap.c: no RMAP_COMPILE_ERROR on (metric > 16) usage
36 rather a CMD_WARNING, because set metric ius shared with other
37 protocols using larger values (such as OSPF)
38 The match metric action takes first external metric if present
39 (from redistribution) then RIP metric.
40
vincentc1a03d42005-09-28 15:47:44 +0000412005-09-28 Alain Ritoux <alain.ritoux@6wind.com>
42
43 * ripd.c: use new md5 API
44
paul2c61ae32005-08-16 15:22:14 +0000452005-08-16 Paul Jakma <paul.jakma@sun.com>
46
47 * ripd.c: (general) Fix previous commit, broke multicast bind and
48 hence setting of source port, which broke communication with
49 non-borken ripd. Fix removes more stuff from rip_interface.c
50 than it adds to ripd.c ;)
51 (rip_create_socket) the to argument really is a from argument,
52 rename it. Set the source port to RIP port unconditionally, it's
53 required.
54 (rip_send_packet) Set from address correctly for multicast.
55 (rip_output_process) trivial: num can be BSS specified, rather
56 than in body.
57 * rip_interface.c: (rip_interface_multicast_set) strip out
58 redundant stuff related to bind, which rip_create_socket does.
59 Just make it set the multicast socket option, as per the
60 interface concerned, no more.
61
paula4e987e2005-06-03 17:46:49 +0000622005-06-03 Paul Jakma <paul.jakma@sun.com>
63
64 * ripd.c: (rip_create_socket) move it up so rip_send_packet
paulf69bd9d2005-06-03 18:01:50 +000065 can use it too. Make it static. Remove the getservbyname stuff,
66 as RFC2453 3.9.2 says non-RIP port messages should be discarded,
67 quagga doesnt accept them, no need to lookup port.
68 Take a 'to' argument, if socket should be bound to something else.
69 setsockopt_so_recvbuf might need privs, move it to the raised
70 privileges section.
71 dont forget to close the socket if bind fails.
72 (rip_send_packet) use strncpy, just in case (address is under
73 our control anyway, but still).
74 dont duplicate rip_create_socket - just use it.
75 (rip_create) rip_create_socket takes an argument now, modify.
76
paul7755a8c2005-06-02 08:20:53 +0000772005-06-01 Paul Jakma <paul.jakma@sun.com>
78
79 * rip_interface.c: Fix authentication, no-auth impossible to specify
80 (rip_interface_new) default to RIP_NO_AUTH
81 (rip_interface_reset) ditto
82 (rip_interface_config_write) write out config for simple
83
paul0cb8a012005-05-29 11:27:24 +0000842005-05-29 Paul Jakma <paul@dishone.st>
85
86 * ripd.c: (rip_output_process) fix error which crept in my
87 previous rip auth untanglement commit - it had become impossible
88 to not have authentication (even for v1).
89
hasso033e8612005-05-28 04:50:54 +0000902005-05-28 Hasso Tepper <hasso at quagga.net>
91
92 * rip_routemap.c: Fix set_metric_addsub_cmd help, it's not about BGP
93 metric.
94
hassocf96db12005-05-25 21:15:32 +0000952005-05-26 Hasso Tepper <hasso at quagga.net>
96
hassodc625e82005-05-26 06:26:40 +000097 * rip_routemap.c: In case of '0.0.0.0' used as 'nexthop', use sender
98 address as nexthop in routemap.
99
1002005-05-26 Hasso Tepper <hasso at quagga.net>
101
hassocf96db12005-05-25 21:15:32 +0000102 * rip_routemap.c: Make "match interface" routemap command match both -
103 in and out interfaces.
104
ajsd4e47282005-05-11 15:56:21 +00001052005-05-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
106
107 * rip_interface.c (rip_interface_add): Need to call
108 rip_passive_interface_apply (was already calling it in
109 rip_interface_up).
110
ajs634f9ea2005-04-11 15:51:40 +00001112005-04-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
112
113 * rip_zebra.c (rip_redistribute_set, rip_redistribute_unset,
114 rip_redistribute_clean): Change 2nd arg to zebra_redistribute_send
115 from zclient->sock to zclient.
116
ajsd2fc8892005-04-02 18:38:43 +00001172005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
118
119 * rip_interface.c: (rip_interface_delete) After deleting, set
120 ifp->ifindex to IFINDEX_INTERNAL.
121
paulb14ee002005-02-04 23:42:41 +00001222005-02-04 Paul Jakma <paul@dishone.st>
123
124 * ripd.c: Untangle the construction of RIP auth data.
125 (rip_auth_prepare_str_send) new helper function, prepare
126 correct key string.
127 (rip_auth_simple_write) new helper, write out the
128 rip simple password auth psuedo-RTE.
129 (rip_auth_md5_ah_write) new helper, write out the
130 MD5 auth-header psuedo-RTE.
131 (rip_auth_header_write) new helper, write out correct
132 auth header data / psuedo-RTE.
133 (rip_auth_md5_set) rip out the memmove and writing of the
134 auth header psuedo-RTE. So that all that is left is to
135 write the trailing auth digest, and update digest offset
136 field in the original header.
137 (rip_write_rte) rip out writing of RIP header, writing of
138 simple auth data psuedo-RTE. Make it do what its name suggests,
139 write out actual RTEs.
140 (rip_output_process) remove the incorrect additional decrements
141 of rtemax. Prepare the auth_str, which simple or MD5 auth will
142 need. Move write out of RIP header and auth data to inside the
143 loop. Adjust paramaters as required.
144
ajs79853452005-01-30 17:40:29 +00001452005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
146
ajs6a52d0d2005-01-30 18:49:28 +0000147 * ripd.c: (rip_create_socket) Replace perror with zlog_err.
148
1492005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
150
ajs79853452005-01-30 17:40:29 +0000151 * ripd.c: (rip_create_socket) Save errno before calling
152 ripd_privs.change.
153
ajsb99760a2005-01-04 16:24:43 +00001542005-01-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
155
156 * ripd.c: (rip_recvmsg) Use ZCMSG_FIRSTHDR instead of CMSG_FIRSTHDR.
157
ajs766a0ca2004-12-15 14:55:51 +00001582004-12-15 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
159
160 * ripd.c: (rip_read) Improve 2 error messages to show the source of
161 the packet when the lookup fails.
162
ajs5d6c3772004-12-08 19:24:06 +00001632004-12-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
164
165 * *.c: Change level of debug messages to LOG_DEBUG.
166
ajs274a4a42004-12-07 15:39:31 +00001672004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
168
169 * rip_main.c: (main) The 2nd argument to openzlog has been removed.
170
ajs887c44a2004-12-03 16:36:46 +00001712004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
172
173 * rip_main.c: (sigint) Use zlog_notice for termination message.
174 (main) Add a startup announcement using zlog_notice.
175
hassoc0652302004-11-25 19:33:48 +00001762004-11-25 Hasso Tepper <hasso at quagga.net>
177
178 * rip_main.c: Make group to run as configurable.
179
paulc49ad8f2004-10-22 10:27:28 +00001802004-10-22 Paul Jakma <paul@dishone.st>
181
182 * ripd.c: Collapse redundant passing of various address structs,
183 struct interface and struct connected as arguments to functions
184 down to two key arguments, namely struct connected and, possibly,
185 address of source/destination. Testing for RIPv1 would be useful.
186 (rip_read) lookup struct connected for the received packet, pass
187 it on.
188 * rip_interface.c: With previous changes, we no longer have to tread
189 carefully with struct connected, as it will always be there and
190 valid.
191
hasso3fb9cd62004-10-19 19:44:43 +00001922004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
193
194 * ripd.c: (rip_update_interface) if connected->destination is NULL,
195 get the broadcast address with ipv4_broadcast_addr()
196 * rip_interface.c: (rip_interface_multicast_set)
197 connected->destination may be NULL. Improve message if
198 setsockopt_multicast_ipv4 fails. Improve message if bind fails.
199 (rip_request_interface_send) If connected->destination is NULL,
200 get the broadcast address with ipv4_broadcast_addr().
201 (if_valid_neighbor) Handle PtP subnet addressing properly.
202 Speed up code by using prefix_match properly.
203
hassoc75105a2004-10-13 10:33:26 +00002042004-10-13 Hasso Tepper <hasso at quagga.net>
205
206 * ripd_snmp.c: Remove defaults used to initialize smux connection to
207 snmpd. Connection is initialized only if smux peer is configured.
208
hasso98b718a2004-10-11 12:57:57 +00002092004-10-11 Hasso Tepper <hasso at quagga.net>
210
211 * *.c: Make more strings const.
212
hasso8a676be2004-10-08 06:36:38 +00002132004-10-08 Hasso Tepper <hasso at quagga.net>
214
215 * *.c: Fix compiler warnings: make strings const, signed -> unsigned
216 etc.
217
hasso1af81932004-09-26 16:11:14 +00002182004-09-26 Hasso Tepper <hasso at quagga.net>
219
220 * ripd.c: Fix compiler warning.
221
hasso52dc7ee2004-09-23 19:18:23 +00002222004-09-23 Hasso Tepper <hasso at quagga.net>
223
224 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
225
paul0b3acf42004-09-17 08:39:08 +00002262004-09-17 Paul Jakma <paul@dishone.st>
227
228 * ripd.c: set receive buffer to a decent size, some systems have low
229 defaults. Problem noted and fix suggested by Stephan Schweizer
230 in [zebra 20967].
231
paul1a517862004-08-19 04:03:08 +00002322004-08-19 Paul Jakma <paul@dishone.st>
233
234 * rip_interface.c: (rip_interface_multicast_set) get rid
235 of extraneous if_pointopoint arg. ifp is accessible via connected.
236 pass connected->ifp->ifindex to setsockopt_multicast_ipv4.
237 * ripd.c: (rip_send_packet) update call to
238 rip_interface_multicast_set
239 * ripd.h: update rip_interface_multicast_set prototype
240
paul02ff83c2004-06-11 11:27:03 +00002412004-06-11 Sowmini Varadhan <sowmini.varadhan@sun.com>
242
243 * ripd.c: (rip_distribute_update_all) distribute list hook
244 function pointer prototype requires struct prefix_list * arg.
245 (rip_distribute_update_all_wrapper) update to pass required arg,
246 NULL.
247
paulca5e5162004-06-06 22:06:33 +00002482004-06-06 Paul Jakma <paul.jakma@sun.com>
249
250 * ripd.h: Add define for the RIPv2 Authentication Data family
251 Move the auth type defines up to where other defines live.
252 Add RIP_AUTH_MD5_COMPAT_SIZE, for backwards compatible
253 md5->auth_len size. Add md5_auth_len field to struct
254 rip_interface: (rip_interface_new) Init md5_auth_len to compatible
255 size.
256 (ip_rip_authentication_mode_cmd) Extended to handle setting
257 md5 auth-length. Appropriate aliases added.
258 (no_ip_rip_authentication_mode_cmd) Reset md5_auth_len to
259 compatible size.
260 (rip_interface_config_write) Teach it about md5_auth_len.
261 _always_ write out the auth-length, so that everyone will get
262 the setting in their config file, and hence allow for a future
263 change of default for md5_auth_len to be less painful - every md5
264 user will have this setting in their config file.
265 ripd.c: (rip_packet_dump) Change nasty hard coded constants to
266 symbolic defines. Change various tests of 'ntoh.(variable) ==
267 constant' to test 'variable == ntoh.(constant)'. Clean up
268 indentation on some long lines.
269 (rip_auth_simple_password) ditto.
270 (rip_auth_md5) ditto, also add length argument and sanity check
271 md5 data offset field. Sanity check md5 auth length, accept RFC
272 or old-ripd/cisco lengths.
273 (rip_auth_md5_set) as per (rip_packet_dump), also write out
274 the configured md5 auth length for the interface (old-ripd or rfc)
275 (rip_read) as per (rip_packet_dump)
276 (rip_write_rte) ditto
277 (rip_response_process) ditto
278 (rip_write_rte) ditto
279
paulc2bfbcc2004-06-04 01:42:38 +00002802004-06-04 JJ Ludman <jacques.ludman@sun.com>
281
282 * ripd.c: Interoperability fix. Correct value for MD5 auth length
283 is 16. Accept packets with this set to >= 16, and set to 16
284 ourselves.
285
paul11dde9c2004-05-31 14:00:00 +00002862004-05-31 Sowmini Varadhan <sowmini.varadhan@sun.com>
287
288 * ripd.c: Fixup compile warnings
289 * rip_routemap.c: Ditto
290
paul0a589352004-05-08 11:48:26 +00002912004-05-08 Paul Jakma <paul@dishone.st>
292
293 * rip_zebra.c: sync with zclient changes.
294 * rip_interface.c: ditto.
295
paul239389b2004-05-05 14:09:37 +00002962004-05-05 Anthony.Golia@morganstanley.com
297
298 * ripd.c: (rip_update_jitter) Bound jitter to a more sensible
299 value, eg 1/4 of update time.
300
paula87552c2004-05-03 20:00:17 +00003012004-05-03 Paul Jakma <paul@dishone.st>
302
303 * ripd.c: (rip_rte_process) fix typo in merge of previous patch
304 and run function through indent.
305
paulb94f9db2004-05-01 20:45:38 +00003062004-03-19 Jean-Yves Simon <lethalwp@tiscali.be>
307
paula87552c2004-05-03 20:00:17 +0000308 * ripd.c: (rip_rte_process) make ripd also check on
309 administrative distance of his own links to update routes.
paulb94f9db2004-05-01 20:45:38 +0000310
hassoda9c9a22004-03-18 02:40:55 +00003112004-03-18 sowmini.varadhan@sun.com
312
313 * ripd.c: rip_send_packet can get null connected address when
314 called in response to a unicast rip-request. Handle correctly.
315
hassoa1455d82004-03-03 19:36:24 +00003162004-03-03 Krzysztof Oledzki <oleq@ans.pl>
317
hassocaa6f8a2004-03-03 19:48:48 +0000318 * ripd.c: fix "show ip rip" and per interface rip version selection.
hassoa1455d82004-03-03 19:36:24 +0000319
paul931cd542004-01-23 15:31:42 +00003202004-01-23 sowmini.varadhan@sun.com
321
322 * rip_interface.c: obsolete unbind code in
323 rip_interface_multicast_set, and instead do the more portable
324 (though slower) method of creating a socket for each outgoing packet
325 and binding the source address on the new socket.
326 * rip_interface.c, ripd.c, ripd.h: Modify rip_request_send so that
327 source address is determined by the caller of rip_request_send for
328 ripv1 packets and non-multicast interfaces (rip_request_send loops
329 over all connected address in all other cases).
330 * rip_send_packet: don't send packets with source set to
331 ZEBRA_IFA_SECONDARY connected addresses; improved debug messages;
332
paulf38a4712003-06-07 01:10:00 +00003332003-06-07 Andrew J. Schorr <aschorr@telemetry-investments.com>
334
335 * Allow ripd to receive RIPv1
336 * add default as valid param to passive-interface command
337
hasso16705132003-05-25 14:49:19 +00003382003-05-25 Vincent Jardin <vjardin@wanadoo.fr>
339
paulf38a4712003-06-07 01:10:00 +0000340 * 6Wind patch merge.
hasso16705132003-05-25 14:49:19 +0000341
paul445f1432003-05-16 19:00:31 +00003422003-04-19 Hasso Tepper <hasso@estpak.ee>
343
344 * rip_routemap.c: sync daemon's route-map commands to have same
345 syntax
346
paul718e3742002-12-13 20:15:29 +00003472002-07-07 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
348
349 * zebra-0.93 released.
350
3512002-06-30 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
352
353 * ripd.c (rip_output_process): When outgoing interface is same as
354 next hop interface, announce RIPv2 next hop otherwise set next hop
355 to 0. Revert previous change then take 6WIND way.
356
3572001-09-14 Akihiro Mizutani <mizutani@dml.com>
358
359 * ripd.c: RIP enabled interface's route is advertised by default.
360
3612001-08-28 NOGUCHI Kay <kay@v6.access.co.jp>
362
363 * rip_snmp.c (rip_ifaddr_delete): Add route_node_lookup() return
364 value check.
365
366 * rip_interface.c (rip_multicast_leave): Fix bug of multiple IP
367 address on one interface multicast join/leave bug.
368
3692001-08-26 NOGUCHI Kay <kay@v6.access.co.jp>
370
371 * rip_interface.c (no_rip_passive_interface): Add NO_STR.
372
3732001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
374
375 * zebra-0.92a released.
376
3772001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
378
379 * zebra-0.92 released.
380
3812001-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
382
383 * rip_routemap.c (route_match_ip_address_prefix_list): Add match
384 ip next-hop prefix-list WORD.
385
3862001-02-18 Kunihiro Ishiguro <kunihiro@zebra.org>
387
388 * rip_interface.c (rip_passive_interface_clean): Call
389 rip_passive_interface_apply_all.
390
3912001-02-12 Kunihiro Ishiguro <kunihiro@zebra.org>
392
393 * ripd.c (rip_response_process): Multicast address nexthop check
394 is moved from rip_nexthop_check.
395
3962001-02-08 Matthew Grant <grantma@anathoth.gen.nz>
397
398 * rip_interface.c (ipv4_multicast_join): Use
399 setsockopt_multicast_ipv4.
400 (ipv4_multicast_leave): Likewise.
401 (rip_if_ipv4_address_check): Interface which has IPv4 address can
402 be enabled.
403
4042001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
405
406 * rip_interface.c (rip_interface_delete): To support pseudo
407 interface do not free interface structure.
408 * ripd.c (rip_output_process): If output interface is in simple
409 password authentication mode, we need space for authentication
410 data.
411
4122001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
413
414 * ripd.c (rip_nexthop_check): Fix multicast address nexthop check.
415
416 * zebra-0.91 is released.
417
4182001-01-27 Kunihiro Ishiguro <kunihiro@zebra.org>
419
420 * ripd.c (show_ip_rip): Show metric infinity route's timeout.
421 (rip_rte_process): If current route is metric infinity, route is
422 replaced with received rte.
423 (rip_redistribute_delete): When redistribute route is deleted,
424 perform poisoned reverse.
425 (rip_redistribute_withdraw): Likewise.
426
4272001-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
428
429 * ripd.c (rip_response_process): RIPv2 routing table entry with
430 non directly reachable nexthop was dropped. The code is changed
431 to treat it as 0.0.0.0 nexthop.
432 (rip_destination_check): Check net 0 address destination.
433 (rip_nexthop_check): New function for checking nexthop address
434 validity.
435
4362001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
437
438 * ripd.c (rip_request_process): Triggered update only send changed
439 route.
440
441 * rip_interface.c: Delete RIP_API part until new implementation
442 comes out.
443
444 * rip_snmp.: Likewise.
445
446 * rip_zebra.c: Likewise.
447
448 * ripd.c: Likewise.
449
4502001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
451
452 * rip_interface.c (rip_if_init): Remove HAVE_IF_PSEUDO part.
453
4542001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
455
456 * zebra-0.90 is released.
457
4582001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
459
460 * ripd.h (RIP_VTYSH_PATH): Change "/tmp/ripd" to "/tmp/.ripd".
461
4622000-12-25 David Lipovkov <davidl@nbase.co.il>
463
464 * ripd.c (rip_rte_process): When a route is in garbage collection
465 process (invalid with metric 16) and a router receives the same
466 route with valid metric then route was not installed into zebra
467 rib, but only into ripd rib. Moreover , it will never get into
468 zebra rib, because ripd wrongly assumes it's already there.
469 (rip_redistribute_add): When doing redistribute into rip other
470 route (e.g. connected) and the same route exists in ripd rib we
471 changed it in place - bug. Now we don't forget to remove old route
472 from zebra.
473 (rip_timeout): When removing routes from zebra I made sure that we
474 remove route with the metric we have in zebra and not the new
475 one. It doesn't make a difference now,but could be significant
476 when multipath support is done.
477
4782000-12-25 David Lipovkov <davidl@nbase.co.il>
479
480 * rip_zebra.c (rip_metric_unset): Fix bug of metric value unset.
481
4822000-11-25 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
483
484 * ripd.c (rip_request_process): Check passive flag of the
485 interface.
486
4872000-11-23 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
488
489 * rip_interface.c (rip_multicast_join): When IP_ADD_MEMBERSHIP
490 failed do not set runnning flag to the interface.
491
4922000-11-16 Kunihiro Ishiguro <kunihiro@zebra.org>
493
494 * ripd.c (rip_output_process): Memory leak related classfull
495 network generation is fixed.
496
4972000-11-16 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
498
499 * rip_interface.c (if_check_address): Obsolete pointopoint address
500 check is removed.
501
5022000-11-02 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
503
504 * rip_interface.c (if_check_address): Add pointopoint address
505 check.
506 (rip_interface_up): Add check for passive interface when interface
507 goes up.
508
5092000-10-23 Jochen Friedrich <jochen@scram.de>
510
511 * rip_snmp.c: rip_oid and ripd_oid are used in smux_open after it
512 is registered. So those variables must be static.
513
5142000-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
515
516 * rip_interface.c: Change to "no ip rip (send|receive)" command
517 accept version number argument.
518
5192000-10-17 Akihiro Mizutani <mizutani@dml.com>
520
521 * rip_routemap.c (route_set_ip_nexthop_compile): Change "match ip
522 next-hop" from IP address to access-list name.
523
5242000-10-17 Kunihiro Ishiguro <kunihiro@zebra.org>
525
526 * rip_peer.c: Change ot use linklist.c instaed of newlist.c.
527
5282000-10-16 Kunihiro Ishiguro <kunihiro@zebra.org>
529
530 * rip_offset.c: Change to use linklist.c instead of newlist.c.
531
5322000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
533
534 * zebra-0.89 is released.
535
5362000-09-26 Akihiro Mizutani <mizutani@dml.com>
537
538 * rip_routemap.c (match_ip_nexthop): Add next-hop format check.
539
5402000-09-18 David Lipovkov <dlipovkov@OpticalAccess.com>
541
542 * rip_interface.c (ripd_api_get_if_rx_version): Corrects rip SNMP
543 and rip API functions dealing with rip version.
544
545 * rip_snmp.c (Status_Valid): SNMPv2-TC TEXTUAL-CONVENTION.
546
5472000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
548
549 * rip_snmp.c (rip2IfLookup): Use rip_ifaddr_lookup_next() instead
550 of rip_if_lookup_next().
551
552 * rip_interface.c (rip_enable_network_lookup): Interface enable
553 check by interface's address with /32 prefix.
554
555 * ripd.c (rip_read): When RIP is configured with authentication
556 and no authentication in incoming packet, drop the packet.
557
558 * rip_interface.c (rip_interface_reset): RIP_AUTH_SIMPLE_PASSWORD
559 is default mode of authentication.
560 (rip_interface_new): Likewise.
561 (no_ip_rip_authentication_mode): Likewise.
562
563 * ripd.c (rip_read): Likewise.
564
5652000-09-10 David Lipovkov <davidl@nbase.co.il>
566
567 * rip_snmp.c: Set ASN_INTEGER v->type where it is needed.
568
5692000-09-08 Kunihiro Ishiguro <kunihiro@zebra.org>
570
571 * ripd.c (rip_auth_simple_password): Simple password
572 authentication using key-chain.
573 (rip_write_rte): Likewise.
574
575 * rip_interface.c (ip_rip_authentication_key_chain): Add check for
576 authentication string configuration.
577
5782000-09-08 Akihiro Mizutani <mizutani@dml.com>
579
580 * ripd.c (rip_write_rte): Add check for ri->auth_str.
581
5822000-09-07 Kunihiro Ishiguro <kunihiro@zebra.org>
583
584 * ripd_api.h: New file is added.
585
5862000-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
587
588 * ripd.c (rip_rte_process): rip_route_process() is renamed to
589 rip_rte_process() to clarify meanings of the function.
590 rip_route_process() is newly added to process RIP route selection.
591
5922000-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
593
594 * ripd.c (rip_incoming_filter): Extract incoming filter code to
595 function from rip_route_process(). Add check for all interface
596 filter.
597 (rip_outgoing_filter): Extract incoming filter code to function
598 from rip_output_process(). Add check for all interface filter.
599
600 * rip_zebra.c (rip_redistribute_clean): Reset redistribute status
601 when "no router rip" is performed.
602
603 * rip_interface.c (rip_interface_clean): Reset interface's RIP
604 enable status.
605
6062000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
607
608 * ripd.c (rip_route_process): When metric infinity is received the
609 route is removed from service immediately.
610 (rip_timeout): Likewise.
611 (rip_garbage_collect): Do not delete route in garbage collection.
612 (rip_output_process): Check metric_out exceed metric infinity.
613
614 * zebra-0.88 is released.
615
6162000-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
617
618 * ripd.c (rip_distance_apply): Unlock node when there is matched
619 node.
620
6212000-08-13 Akihiro Mizutani <mizutani@dml.com>
622
623 * rip_routemap.c (match_ip_nexthop): Add check for IP address
624 validness.
625 (no_set_metric): Add new ALIAS.
626
6272000-08-07 Kunihiro Ishiguro <kunihiro@zebra.org>
628
629 * ripd.h (struct rip ): Add distance.
630
6312000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
632
633 * rip_zebra.c (rip_zebra_ipv4_add): Use new Zebra api to register
634 routes. Pass RIP metric value to zebra.
635
6362000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
637
638 * rip_main.c (main): Make struct thread thread from global
639 variable to local variable in main.
640
6412000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
642
643 * ripd.c (rip_packet_dump): Add MD5 authentication dump function.
644 (rip_auth_md5): RIP MD5 authentication packet receive works.
645
6462000-08-02 David Lipovkov <davidl@nbase.co.il>
647
648 * rip_interface.c (rip_if_init): Install interface "pseudo"
649 commands.
650 (rip_interface_delete): Do not call if_delete() when interface is
651 pseudo interface.
652
6532000-07-31 Kunihiro Ishiguro <kunihiro@zebra.org>
654
655 * rip_interface.c (ip_rip_authentication_mode): "ip rip
656 authentication mode (md5|text)" is added.
657 (ip_rip_authentication_key_chain): "ip rip authentication
658 key-chain KEY-CHAIN" is added.
659 (rip_interface_clean): Clean all interface configuration.
660 (rip_interface_reset): Reset all interface configuration.
661 (rip_clean_network): Clean rip_enable_network.
662
663 * ripd.h (struct rip_interface): Add key_chain member.
664
665 * ripd.c: Include md5-gnu.h.
666
6672000-07-30 Kunihiro Ishiguro <kunihiro@zebra.org>
668
669 * ripd.h (RIP_NO_AUTH): Change RIP_NO_AUTH value from 1 to 0.
670
671 * ripd.c (rip_authentication): Use RIP_AUTH_SIMPLE_PASSWORD
672 instead of raw value 2.
673 (rip_write_rte): Likewise.
674 (rip_write_rte): Check ri->auth_type instead of ri->auth_str.
675
6762000-07-30 David Lipovkov <davidl@nbase.co.il>
677
678 * rip_interface.c (rip_if_down): Do not delete ZEBRA_ROUTE_KERNEL
679 route.
680
6812000-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
682
683 * ripd.c (rip_update_process): Add "passive-interface" command.
684
685 * ripd.h (struct rip_interface): Add passive member to struct
686 rip_interface.
687
6882000-07-24 Kunihiro Ishiguro <kunihiro@zebra.org>
689
690 * rip_interface.c (rip_if_init): Multiple RIP routes for one
691 prefix change. The codes are enclosed by #ifdef NEW_RIP_TABLE.
692
6932000-07-24 Akihiro Mizutani <mizutani@dml.com>
694
695 * rip_interface.c (rip_if_init): Use install_default() for
696 INTERFACE_NODE.
697
6982000-07-24 Kunihiro Ishiguro <kunihiro@zebra.org>
699
700 * ripd.c: First update timer will be invoked in two seconds.
701
7022000-07-09 Jochen Friedrich <jochen@scram.de>
703
704 * rip_snmp.c: Local function definitions to static. Add INTEGER
705 ASN_INTEGER and TIMETICKS ASN_TIMETICKS definition.
706 (rip2PeerLookup): Peer with domain lookup implemented.
707 (rip2PeerTable): Temporary disable RIP2PEERLASTUPDATE value
708 support due to unknown SNMP agent startup time.
709
7102000-07-05 Kunihiro Ishiguro <kunihiro@zebra.org>
711
712 * ripd.h: Sweep obsolete definitions.
713
714 * rip_interface.c (rip_split_horizon): Add "ip split-horizon"
715 command.
716
717 * ripd.c (rip_output_process): Remove split_horizon argument.
718 (rip_update_process): Likewise.
719
720 * ripd.h (struct rip_interface): Add split_horizon flag to struct
721 rip_interface.
722
7232000-07-04 Akihiro Mizutani <mizutani@dml.com>
724
725 * ripd.c (rip_version): Change VERSION to <1-2>.
726 Add "no version" command.
727
7282000-07-03 Kunihiro Ishiguro <kunihiro@zebra.org>
729
730 * rip_zebra.c (rip_redistribute_type_metric): "redistribute TYPE
731 metric <0-16>" command is added.
732
733 * rip_routemap.c (route_set_metric): Set metric_set when metric is
734 modified.
735
736 * ripd.h (struct rip_info): To check route-map set metric or not,
737 new member metric_set is added to struct rip_info.
738
739 * ripd.c (rip_route_process): Move metric handling code from
740 rip_response_process() to rip_route_process().
741 (rip_output_process): Set output offset-list metric.
742
7432000-07-02 Kunihiro Ishiguro <kunihiro@zebra.org>
744
745 * rip_offset.c (rip_offset_list): New file for offset-list.
746
7472000-07-02 Akihiro Mizutani <mizutani@dml.com>
748
749 * ripd.h (struct rip ): Add default_metric.
750
751 * ripd.c (rip_default_metric): "default-metric <1-16>" command is
752 added.
753 (config_write_rip): Change configuration order.
754
755 * rip_zebra.c: Fix help strings.
756
7572000-07-02 David Lipovkov <davidl@nbase.co.il>
758
759 * rip_interface.c (rip_if_init): Add IF_DELETE_HOOK.
760
7612000-07-01 Kunihiro Ishiguro <kunihiro@zebra.org>
762
763 * ripd.c (rip_output_process): If specified route-map does not
764 exist, it treated as deny all.
765
7662000-06-30 Kunihiro Ishiguro <kunihiro@zebra.org>
767
768 * rip_routemap.c (rip_route_map_init): Call rip_route_map_update
769 when route-map is deleted.
770
7712000-06-28 Kunihiro Ishiguro <kunihiro@zebra.org>
772
773 * rip_routemap.c (set_metric): For consistency with bgpd's set
774 metric, value range is set to <0-4294967295>.
775
7762000-06-28 David Lipovkov <davidl@nbase.co.il>
777
778 * rip_routemap.c (rip_route_map_update): Add check for rip is
779 enabled or not for avoid core dump.
780
781 * rip_debug.c (debug_rip_packet_direct): Fix bug of setting
782 rip_debug_packet flag.
783
7842000-06-13 David Lipovkov <davidl@nbase.co.il>
785
786 * rip_interface.c (rip_interface_delete): All work is done in
787 rip_if_down().
788
7892000-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
790
791 * ripd.c (rip_redistribute_delete): Fix bug of missing
792 route_unlock_node() when redistribute route is not found.
793
7942000-06-05 Akihirof Mizutani <mizutani@dml.com>
795
796 * rip_debug.c (rip_debug_init): Disable show debugging in
797 VIEW_NODE like other protocol daemon.
798
799 * rip_routemap.c: Change command argument to more comprehensive.
800
801 METRIC -> <0-16>
802 IFNAME -> WORD
803 IP_ADDR -> A.B.C.D
804 ACCSESS_LIST -> WORD
805
8062000-06-05 David Lipovkov <davidl@nbase.co.il>
807
808 * rip_interface.c (rip_interface_delete): Delete all routes
809 include static and kernel through the interface , because even if
810 the interface is added again there is no guarantee that it will
811 get the same ifindex as before.
812
8132000-05-31 Akihirof Mizutani <mizutani@dml.com>
814
815 * rip_debug.c: Fix rip debug help string.
816
8172000-04-27 Mirko Karanovic <mkaranov@torsel.alcatel.com>
818
819 * rip_interface.c (rip_interface_down): Remove interface from
820 multicast group when interface goes down.
821
8222000-04-03 David Lipovkov <davidl@nbase.co.il>
823
824 * rip_interface.c (rip_interface_down): Implemented rip functions
825 for interface up/down events: rip_interface_up() and
826 rip_interface_down()
827
8282000-03-16 David Lipovkov <davidl@nbase.co.il>
829
830 * rip_zebra.c (rip_zclient_init): Added rip functions for
831 interface up/down events.
832
8332000-02-15 Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
834
835 * ripd.c (rip_write_rte): "set metic" in route-map has no effect
836 for RIPv1 in ripd. It worked fine for RIPv2.
837
8382000-01-17 Kunihiro Ishiguro <kunihiro@zebra.org>
839
840 * ripd.c (show_ip_protocols_rip): Fix bug of "show ip protocls"
841 mis-display RIP version.
842
843 * ripd.h (struct rip_peer): Add timeout thread to rip_peer
844 structure.
845
8462000-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
847
848 * rip_peer.c: Add new file for supporting RIP peer.
849
8501999-12-26 David Lipovkov <davidl@nbase.co.il>
851
852 * ripd.c (rip_authentication): RIP authantication string is 16
853 bytes long.
854
8551999-12-10 Kunihiro Ishiguro <kunihiro@zebra.org>
856
857 * ripd.c (rip_read): Add check for minimum packet length.
858 Authentication check is moved from rip_process_response() to
859 rip_read(). Patch from David Lipovkov <davidl@nbase.co.il> is
860 applied then add rte number check by Kunihiro Ishiguro
861 <kunihiro@zebra.org>.
862
8631999-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
864
865 * ripd.c (rip_response_process): In case of packet is RIPv2 and
866 network is non zero and netmask is zero, apply netmask rule as
867 same as RIPv1.
868
8691999-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
870
871 * ripd.c (rip_timers): Fix bug of timers basic argument format.
872
8731999-11-03 Kunihiro Ishiguro <kunihiro@zebra.org>
874
875 * rip_snmp.c (rip2IfConfAddress): Forgot to include
876 RIP2IFCONFDOMAIN.
877
8781999-10-28 Kunihiro Ishiguro <kunihiro@zebra.org>
879
880 * ripd.h (struct rip_peer): New structure added.
881
8821999-10-26 Kunihiro Ishiguro <kunihiro@zebra.org>
883
884 * rip_zebra.c (rip_zebra_ipv4_add): Increment
885 rip_global_route_changes when route change occur.
886 (rip_zebra_ipv4_delete): Likewise.
887
888 * ripd.c (rip_request_process): Increment rip_global_queries when
889 reply to the query is sent.
890
8911999-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
892
893 * rip_debug.c (rip_debug_reset): Reset function added.
894
895 * ripd.c (rip_update_process): Logging bug is fixed.
896
8971999-10-10 Marc Boucher <marc@mbsi.ca>
898
899 * ripd.c (config_write_rip): Add config_write_distribute() call.
900
9011999-09-29 Kunihiro Ishiguro <kunihiro@zebra.org>
902
903 * ripd.c (rip_distribute_update): Fix bug of access-list
904 prefix-list updates.
905
9061999-09-10 VOP <vop@unity.net>
907
908 * rip_zebra.c: Add redistribute route-map feature.
909
9101999-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
911
912 * ripd.c (rip_response_process): Add check for given prefix is
913 given mask applied one.
914
9151999-09-03 VOP <vop@unity.net>
916
917 * rip_interface.c (rip_interface_multicast_set): Bug fix about
918 setting multicast interface.
919
9201999-09-02 VOP <vop@unity.net>
921
922 * rip_routemap.c: New file added.
923
9241999-09-02 Kunihiro Ishiguro <kunihiro@zebra.org>
925
926 * ripd.c (show_ip_protocols_rip): Show next update time.
927 (show_ip_protocols_rip): Show redistribute information.
928
9291999-08-25 Kunihiro Ishiguro <kunihiro@zebra.org>
930
931 * RIPv2-MIB.txt: New file added.
932
933 * rip_snmp.c: New file added.
934
9351999-08-24 Kunihiro Ishiguro <kunihiro@zebra.org>
936
937 * rip_interface.c (ip_rip_authentication_string): RIPv2
938 authentication command is added.
939
9401999-08-23 Kunihiro Ishiguro <kunihiro@zebra.org>
941
942 * rip_interface.c (rip_interface_multicast_set): Process of
943 setting IP_MULTICAST_IF on specific interface.
944
945 * ripd.c (rip_read): Add packet size check.
946
9471999-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
948
949 * ripd.c (rip_request_process): Fill in RIP_METRIC_INFINITY with
950 network byte order using htonl ().
951 (rip_response_process): Pass host byte order address to IN_CLASSC
952 and IN_CLASSB macro.
953
9541999-08-08 davidm@nbase.co.il (David Mozes)
955
956 * rip_zebra.c (rip_zebra_read_ipv4): Fix split horizon problem.
957
9581999-07-03 Kunihiro Ishiguro <kunihiro@zebra.org>
959
960 * ripd.c (rip_timer_set): Function added.
961
9621999-07-01 Kunihiro Ishiguro <kunihiro@zebra.org>
963
964 * rip_debug.c: New file added.
965 rip_debug.h: New file added.
966
9671999-07-01 Rick Payne <rickp@rossfell.co.uk>
968
969 * rip_zebra.c (zebra_init): Install standard commands to
970 ZEBRA_NODE.
971
9721999-06-01 David Luyer <luyer@ucs.uwa.edu.au>
973
974 * ripd.c (rip_process_route): Add support for RIP version 1.
975
9761999-05-29 Kunihiro Ishiguro <kunihiro@zebra.org>
977
978 * rip_zebra.c: Change to use lib/zclient.[ch].
979
9801999-05-20 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
981
982 * ripd.c (rip_add_route): Change the existance route's metric check
983 to the condition specified by RFC2453.
984
9851999-05-17 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
986
987 * ripd.c (rip_process_route): Add the if metric to the route metric.
988
989 * ripd.c (rip_add_route): Deleted add if metric to the route.
990
9911999-05-16 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
992
993 * rip_interface.c (if_valid_neighbor): New function.
994
995 * ripd.c (rip_process_route): Added check whether the datagram
996 is from a valid neighbor.
997
9981999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
999
1000 * ripd.c (rip_process_route): Set interface pointer to rinfo.
1001
10021999-05-15 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
1003
1004 * ripd.c (rip_check_address): Unicast and not net 0 or 127 check
1005 added.
1006
10071999-05-14 Stephen R. van den Berg <srb@cuci.nl>
1008
1009 * rip_main.c (signal_init): SIGTERM call sigint.
1010 (sigint): Loggging more better message.
1011
10121999-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1013
1014 * ripd.c (rip_add_route): Fix previous route_unlock_node() chenge.
1015
1016 * rip_main.c (main): Change default zlog output to ZLOG_STDOUT for
1017 debugging.
1018
10191999-05-09 Patrick Koppen <koppen@rhrk.uni-kl.de>
1020
1021 * rip_interface.c (rip_request): Fix old semantics for fetching
1022 connected address.
1023
1024 * ripd.c (rip_add_route): Update timer when the route is updated.
1025
10261999-05-09 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
1027
1028 * rip_zebra.c (struct zebra): Add ridist_static, ridist_connect,
1029 redist_rip, redist_ripng.
1030
1031 * rip_zebra.c (zebra_create): Updated for current zebra method.
1032
1033 * ripd.c (rip_add_route): Add missing route_unlock_node().
1034
10351999-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1036
1037 * ripd.c (rip_add_route): Add metric check. Reported by Carlos
1038 Alberto Barcenilla <barce@frlp.utn.edu.ar>.
1039
10401999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
1041
1042 * syslog support added
1043
10441998-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1045
1046 * ripd.c (rip_announce_func): Apply new lib functions.
1047
10481998-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1049
1050 * ripd.c (config_write_rip): Delete vector v argument.
1051 * rip_zebra.c (config_write_zebra): Likewise.
1052 * rip_interface.c (interface_config_write): Likewise.
1053
10541998-09-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1055
1056 * rip_announce.c (rip_rib_close): When ripd terminates delete all
1057 added route.
1058
10591998-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1060
1061 * rip_interface.c: return read packet size.
1062
10631998-05-18 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1064
1065 * ripd.h: Modify for compile on Solaris.
1066
10671998-05-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1068
1069 * ripd.c: DEFUN function return CMD_SUCCESS.
1070 change xmalloc to XMALLOC macro.
1071
10721998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1073
1074 * rip_main.c: change CONFDIR to SYSCONFDIR.
1075
10761998-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1077
1078 * .cvsignore: added.
1079
10801998-02-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1081
1082 * rip_interface.c (config_write_interface): correct ADVERTISE spell.
1083
1084 * rip_main.c (main): add usage() and make cleanup.
1085
10861998-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1087
1088 * ripd.c (rip_version): add rip version command.
1089
10901998-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1091
1092 * rip_interface.c (zebra_get_interface): added to get
1093 interface's information.
1094
1095 * ChangeLog: create.