blob: 8e5ba3945f26eda5b1491267ffd6b8fdd7673ddf [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
6
jardin38d3c162005-10-19 19:29:59 +000072005-10-17 Vincent Jardin <vincent.jardin@6wind.com>
8
9 * ripd.c: rip_create_socket() for each packet, it does not bind to the
10 proper interfaces because we forget to use the from address when
11 it is specified.
12
vincentfac3e842005-10-06 07:45:43 +0000132005-10-06 Alain Ritoux <alain.ritoux@6wind.com>
14
15 * rip_interface.c: Now the command "no ip rip split-horizon
16 poisoned-reverse" just inhibates the poisoned-reverse effects
17 but keep spli-horizon activ.
18
ajsf52d13c2005-10-01 17:38:06 +0000192005-10-01 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
20
21 * rip_zebra.c: (config_write_rip_redistribute): Remove local hard-coded
22 table str[]. Replace str[] with calls to new library function
23 zebra_route_string().
24 * ripd.c: Remove local hard-coded table route_info[].
25 (show_ip_rip) Replace uses of str[] with calls to new library
26 functions zebra_route_char and zebra_route_string.
27
vincentfbf5d032005-09-29 11:25:50 +0000282005-09-29 Alain Ritoux <alain.ritoux@6wind.com>
29
30 * rip_snmp.c: rip2IfConfReceive() sends values in conformance
31 with RFC. Also PeerDomain is now set to a STRING type.
32 * ripd.h: rip_redistribute_add() API includes metric and distance
33 added field external_metric in routes.
34 * ripd.c: rip_redistribute_add() API i.e. stores metric and distance
35 Now allows a RIP-route to overcome a redistributed route coming
36 from a protocol with worse (higher) administrative distance
37 Metrics from redistribution are shown in show ip rip
38 * rip_zebra.c: adapt to the rip_redistribute_add() API, i.e.
39 provide distance and metric
40 * rip_interface.c: adapt to the rip_redistribute_add() API
41 * rip_routemap.c: no RMAP_COMPILE_ERROR on (metric > 16) usage
42 rather a CMD_WARNING, because set metric ius shared with other
43 protocols using larger values (such as OSPF)
44 The match metric action takes first external metric if present
45 (from redistribution) then RIP metric.
46
vincentc1a03d42005-09-28 15:47:44 +0000472005-09-28 Alain Ritoux <alain.ritoux@6wind.com>
48
49 * ripd.c: use new md5 API
50
paul2c61ae32005-08-16 15:22:14 +0000512005-08-16 Paul Jakma <paul.jakma@sun.com>
52
53 * ripd.c: (general) Fix previous commit, broke multicast bind and
54 hence setting of source port, which broke communication with
55 non-borken ripd. Fix removes more stuff from rip_interface.c
56 than it adds to ripd.c ;)
57 (rip_create_socket) the to argument really is a from argument,
58 rename it. Set the source port to RIP port unconditionally, it's
59 required.
60 (rip_send_packet) Set from address correctly for multicast.
61 (rip_output_process) trivial: num can be BSS specified, rather
62 than in body.
63 * rip_interface.c: (rip_interface_multicast_set) strip out
64 redundant stuff related to bind, which rip_create_socket does.
65 Just make it set the multicast socket option, as per the
66 interface concerned, no more.
67
paula4e987e2005-06-03 17:46:49 +0000682005-06-03 Paul Jakma <paul.jakma@sun.com>
69
70 * ripd.c: (rip_create_socket) move it up so rip_send_packet
paulf69bd9d2005-06-03 18:01:50 +000071 can use it too. Make it static. Remove the getservbyname stuff,
72 as RFC2453 3.9.2 says non-RIP port messages should be discarded,
73 quagga doesnt accept them, no need to lookup port.
74 Take a 'to' argument, if socket should be bound to something else.
75 setsockopt_so_recvbuf might need privs, move it to the raised
76 privileges section.
77 dont forget to close the socket if bind fails.
78 (rip_send_packet) use strncpy, just in case (address is under
79 our control anyway, but still).
80 dont duplicate rip_create_socket - just use it.
81 (rip_create) rip_create_socket takes an argument now, modify.
82
paul7755a8c2005-06-02 08:20:53 +0000832005-06-01 Paul Jakma <paul.jakma@sun.com>
84
85 * rip_interface.c: Fix authentication, no-auth impossible to specify
86 (rip_interface_new) default to RIP_NO_AUTH
87 (rip_interface_reset) ditto
88 (rip_interface_config_write) write out config for simple
89
paul0cb8a012005-05-29 11:27:24 +0000902005-05-29 Paul Jakma <paul@dishone.st>
91
92 * ripd.c: (rip_output_process) fix error which crept in my
93 previous rip auth untanglement commit - it had become impossible
94 to not have authentication (even for v1).
95
hasso033e8612005-05-28 04:50:54 +0000962005-05-28 Hasso Tepper <hasso at quagga.net>
97
98 * rip_routemap.c: Fix set_metric_addsub_cmd help, it's not about BGP
99 metric.
100
hassocf96db12005-05-25 21:15:32 +00001012005-05-26 Hasso Tepper <hasso at quagga.net>
102
hassodc625e82005-05-26 06:26:40 +0000103 * rip_routemap.c: In case of '0.0.0.0' used as 'nexthop', use sender
104 address as nexthop in routemap.
105
1062005-05-26 Hasso Tepper <hasso at quagga.net>
107
hassocf96db12005-05-25 21:15:32 +0000108 * rip_routemap.c: Make "match interface" routemap command match both -
109 in and out interfaces.
110
ajsd4e47282005-05-11 15:56:21 +00001112005-05-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
112
113 * rip_interface.c (rip_interface_add): Need to call
114 rip_passive_interface_apply (was already calling it in
115 rip_interface_up).
116
ajs634f9ea2005-04-11 15:51:40 +00001172005-04-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
118
119 * rip_zebra.c (rip_redistribute_set, rip_redistribute_unset,
120 rip_redistribute_clean): Change 2nd arg to zebra_redistribute_send
121 from zclient->sock to zclient.
122
ajsd2fc8892005-04-02 18:38:43 +00001232005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
124
125 * rip_interface.c: (rip_interface_delete) After deleting, set
126 ifp->ifindex to IFINDEX_INTERNAL.
127
paulb14ee002005-02-04 23:42:41 +00001282005-02-04 Paul Jakma <paul@dishone.st>
129
130 * ripd.c: Untangle the construction of RIP auth data.
131 (rip_auth_prepare_str_send) new helper function, prepare
132 correct key string.
133 (rip_auth_simple_write) new helper, write out the
134 rip simple password auth psuedo-RTE.
135 (rip_auth_md5_ah_write) new helper, write out the
136 MD5 auth-header psuedo-RTE.
137 (rip_auth_header_write) new helper, write out correct
138 auth header data / psuedo-RTE.
139 (rip_auth_md5_set) rip out the memmove and writing of the
140 auth header psuedo-RTE. So that all that is left is to
141 write the trailing auth digest, and update digest offset
142 field in the original header.
143 (rip_write_rte) rip out writing of RIP header, writing of
144 simple auth data psuedo-RTE. Make it do what its name suggests,
145 write out actual RTEs.
146 (rip_output_process) remove the incorrect additional decrements
147 of rtemax. Prepare the auth_str, which simple or MD5 auth will
148 need. Move write out of RIP header and auth data to inside the
149 loop. Adjust paramaters as required.
150
ajs79853452005-01-30 17:40:29 +00001512005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
152
ajs6a52d0d2005-01-30 18:49:28 +0000153 * ripd.c: (rip_create_socket) Replace perror with zlog_err.
154
1552005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
156
ajs79853452005-01-30 17:40:29 +0000157 * ripd.c: (rip_create_socket) Save errno before calling
158 ripd_privs.change.
159
ajsb99760a2005-01-04 16:24:43 +00001602005-01-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
161
162 * ripd.c: (rip_recvmsg) Use ZCMSG_FIRSTHDR instead of CMSG_FIRSTHDR.
163
ajs766a0ca2004-12-15 14:55:51 +00001642004-12-15 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
165
166 * ripd.c: (rip_read) Improve 2 error messages to show the source of
167 the packet when the lookup fails.
168
ajs5d6c3772004-12-08 19:24:06 +00001692004-12-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
170
171 * *.c: Change level of debug messages to LOG_DEBUG.
172
ajs274a4a42004-12-07 15:39:31 +00001732004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
174
175 * rip_main.c: (main) The 2nd argument to openzlog has been removed.
176
ajs887c44a2004-12-03 16:36:46 +00001772004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
178
179 * rip_main.c: (sigint) Use zlog_notice for termination message.
180 (main) Add a startup announcement using zlog_notice.
181
hassoc0652302004-11-25 19:33:48 +00001822004-11-25 Hasso Tepper <hasso at quagga.net>
183
184 * rip_main.c: Make group to run as configurable.
185
paulc49ad8f2004-10-22 10:27:28 +00001862004-10-22 Paul Jakma <paul@dishone.st>
187
188 * ripd.c: Collapse redundant passing of various address structs,
189 struct interface and struct connected as arguments to functions
190 down to two key arguments, namely struct connected and, possibly,
191 address of source/destination. Testing for RIPv1 would be useful.
192 (rip_read) lookup struct connected for the received packet, pass
193 it on.
194 * rip_interface.c: With previous changes, we no longer have to tread
195 carefully with struct connected, as it will always be there and
196 valid.
197
hasso3fb9cd62004-10-19 19:44:43 +00001982004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
199
200 * ripd.c: (rip_update_interface) if connected->destination is NULL,
201 get the broadcast address with ipv4_broadcast_addr()
202 * rip_interface.c: (rip_interface_multicast_set)
203 connected->destination may be NULL. Improve message if
204 setsockopt_multicast_ipv4 fails. Improve message if bind fails.
205 (rip_request_interface_send) If connected->destination is NULL,
206 get the broadcast address with ipv4_broadcast_addr().
207 (if_valid_neighbor) Handle PtP subnet addressing properly.
208 Speed up code by using prefix_match properly.
209
hassoc75105a2004-10-13 10:33:26 +00002102004-10-13 Hasso Tepper <hasso at quagga.net>
211
212 * ripd_snmp.c: Remove defaults used to initialize smux connection to
213 snmpd. Connection is initialized only if smux peer is configured.
214
hasso98b718a2004-10-11 12:57:57 +00002152004-10-11 Hasso Tepper <hasso at quagga.net>
216
217 * *.c: Make more strings const.
218
hasso8a676be2004-10-08 06:36:38 +00002192004-10-08 Hasso Tepper <hasso at quagga.net>
220
221 * *.c: Fix compiler warnings: make strings const, signed -> unsigned
222 etc.
223
hasso1af81932004-09-26 16:11:14 +00002242004-09-26 Hasso Tepper <hasso at quagga.net>
225
226 * ripd.c: Fix compiler warning.
227
hasso52dc7ee2004-09-23 19:18:23 +00002282004-09-23 Hasso Tepper <hasso at quagga.net>
229
230 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
231
paul0b3acf42004-09-17 08:39:08 +00002322004-09-17 Paul Jakma <paul@dishone.st>
233
234 * ripd.c: set receive buffer to a decent size, some systems have low
235 defaults. Problem noted and fix suggested by Stephan Schweizer
236 in [zebra 20967].
237
paul1a517862004-08-19 04:03:08 +00002382004-08-19 Paul Jakma <paul@dishone.st>
239
240 * rip_interface.c: (rip_interface_multicast_set) get rid
241 of extraneous if_pointopoint arg. ifp is accessible via connected.
242 pass connected->ifp->ifindex to setsockopt_multicast_ipv4.
243 * ripd.c: (rip_send_packet) update call to
244 rip_interface_multicast_set
245 * ripd.h: update rip_interface_multicast_set prototype
246
paul02ff83c2004-06-11 11:27:03 +00002472004-06-11 Sowmini Varadhan <sowmini.varadhan@sun.com>
248
249 * ripd.c: (rip_distribute_update_all) distribute list hook
250 function pointer prototype requires struct prefix_list * arg.
251 (rip_distribute_update_all_wrapper) update to pass required arg,
252 NULL.
253
paulca5e5162004-06-06 22:06:33 +00002542004-06-06 Paul Jakma <paul.jakma@sun.com>
255
256 * ripd.h: Add define for the RIPv2 Authentication Data family
257 Move the auth type defines up to where other defines live.
258 Add RIP_AUTH_MD5_COMPAT_SIZE, for backwards compatible
259 md5->auth_len size. Add md5_auth_len field to struct
260 rip_interface: (rip_interface_new) Init md5_auth_len to compatible
261 size.
262 (ip_rip_authentication_mode_cmd) Extended to handle setting
263 md5 auth-length. Appropriate aliases added.
264 (no_ip_rip_authentication_mode_cmd) Reset md5_auth_len to
265 compatible size.
266 (rip_interface_config_write) Teach it about md5_auth_len.
267 _always_ write out the auth-length, so that everyone will get
268 the setting in their config file, and hence allow for a future
269 change of default for md5_auth_len to be less painful - every md5
270 user will have this setting in their config file.
271 ripd.c: (rip_packet_dump) Change nasty hard coded constants to
272 symbolic defines. Change various tests of 'ntoh.(variable) ==
273 constant' to test 'variable == ntoh.(constant)'. Clean up
274 indentation on some long lines.
275 (rip_auth_simple_password) ditto.
276 (rip_auth_md5) ditto, also add length argument and sanity check
277 md5 data offset field. Sanity check md5 auth length, accept RFC
278 or old-ripd/cisco lengths.
279 (rip_auth_md5_set) as per (rip_packet_dump), also write out
280 the configured md5 auth length for the interface (old-ripd or rfc)
281 (rip_read) as per (rip_packet_dump)
282 (rip_write_rte) ditto
283 (rip_response_process) ditto
284 (rip_write_rte) ditto
285
paulc2bfbcc2004-06-04 01:42:38 +00002862004-06-04 JJ Ludman <jacques.ludman@sun.com>
287
288 * ripd.c: Interoperability fix. Correct value for MD5 auth length
289 is 16. Accept packets with this set to >= 16, and set to 16
290 ourselves.
291
paul11dde9c2004-05-31 14:00:00 +00002922004-05-31 Sowmini Varadhan <sowmini.varadhan@sun.com>
293
294 * ripd.c: Fixup compile warnings
295 * rip_routemap.c: Ditto
296
paul0a589352004-05-08 11:48:26 +00002972004-05-08 Paul Jakma <paul@dishone.st>
298
299 * rip_zebra.c: sync with zclient changes.
300 * rip_interface.c: ditto.
301
paul239389b2004-05-05 14:09:37 +00003022004-05-05 Anthony.Golia@morganstanley.com
303
304 * ripd.c: (rip_update_jitter) Bound jitter to a more sensible
305 value, eg 1/4 of update time.
306
paula87552c2004-05-03 20:00:17 +00003072004-05-03 Paul Jakma <paul@dishone.st>
308
309 * ripd.c: (rip_rte_process) fix typo in merge of previous patch
310 and run function through indent.
311
paulb94f9db2004-05-01 20:45:38 +00003122004-03-19 Jean-Yves Simon <lethalwp@tiscali.be>
313
paula87552c2004-05-03 20:00:17 +0000314 * ripd.c: (rip_rte_process) make ripd also check on
315 administrative distance of his own links to update routes.
paulb94f9db2004-05-01 20:45:38 +0000316
hassoda9c9a22004-03-18 02:40:55 +00003172004-03-18 sowmini.varadhan@sun.com
318
319 * ripd.c: rip_send_packet can get null connected address when
320 called in response to a unicast rip-request. Handle correctly.
321
hassoa1455d82004-03-03 19:36:24 +00003222004-03-03 Krzysztof Oledzki <oleq@ans.pl>
323
hassocaa6f8a2004-03-03 19:48:48 +0000324 * ripd.c: fix "show ip rip" and per interface rip version selection.
hassoa1455d82004-03-03 19:36:24 +0000325
paul931cd542004-01-23 15:31:42 +00003262004-01-23 sowmini.varadhan@sun.com
327
328 * rip_interface.c: obsolete unbind code in
329 rip_interface_multicast_set, and instead do the more portable
330 (though slower) method of creating a socket for each outgoing packet
331 and binding the source address on the new socket.
332 * rip_interface.c, ripd.c, ripd.h: Modify rip_request_send so that
333 source address is determined by the caller of rip_request_send for
334 ripv1 packets and non-multicast interfaces (rip_request_send loops
335 over all connected address in all other cases).
336 * rip_send_packet: don't send packets with source set to
337 ZEBRA_IFA_SECONDARY connected addresses; improved debug messages;
338
paulf38a4712003-06-07 01:10:00 +00003392003-06-07 Andrew J. Schorr <aschorr@telemetry-investments.com>
340
341 * Allow ripd to receive RIPv1
342 * add default as valid param to passive-interface command
343
hasso16705132003-05-25 14:49:19 +00003442003-05-25 Vincent Jardin <vjardin@wanadoo.fr>
345
paulf38a4712003-06-07 01:10:00 +0000346 * 6Wind patch merge.
hasso16705132003-05-25 14:49:19 +0000347
paul445f1432003-05-16 19:00:31 +00003482003-04-19 Hasso Tepper <hasso@estpak.ee>
349
350 * rip_routemap.c: sync daemon's route-map commands to have same
351 syntax
352
paul718e3742002-12-13 20:15:29 +00003532002-07-07 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
354
355 * zebra-0.93 released.
356
3572002-06-30 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
358
359 * ripd.c (rip_output_process): When outgoing interface is same as
360 next hop interface, announce RIPv2 next hop otherwise set next hop
361 to 0. Revert previous change then take 6WIND way.
362
3632001-09-14 Akihiro Mizutani <mizutani@dml.com>
364
365 * ripd.c: RIP enabled interface's route is advertised by default.
366
3672001-08-28 NOGUCHI Kay <kay@v6.access.co.jp>
368
369 * rip_snmp.c (rip_ifaddr_delete): Add route_node_lookup() return
370 value check.
371
372 * rip_interface.c (rip_multicast_leave): Fix bug of multiple IP
373 address on one interface multicast join/leave bug.
374
3752001-08-26 NOGUCHI Kay <kay@v6.access.co.jp>
376
377 * rip_interface.c (no_rip_passive_interface): Add NO_STR.
378
3792001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
380
381 * zebra-0.92a released.
382
3832001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
384
385 * zebra-0.92 released.
386
3872001-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
388
389 * rip_routemap.c (route_match_ip_address_prefix_list): Add match
390 ip next-hop prefix-list WORD.
391
3922001-02-18 Kunihiro Ishiguro <kunihiro@zebra.org>
393
394 * rip_interface.c (rip_passive_interface_clean): Call
395 rip_passive_interface_apply_all.
396
3972001-02-12 Kunihiro Ishiguro <kunihiro@zebra.org>
398
399 * ripd.c (rip_response_process): Multicast address nexthop check
400 is moved from rip_nexthop_check.
401
4022001-02-08 Matthew Grant <grantma@anathoth.gen.nz>
403
404 * rip_interface.c (ipv4_multicast_join): Use
405 setsockopt_multicast_ipv4.
406 (ipv4_multicast_leave): Likewise.
407 (rip_if_ipv4_address_check): Interface which has IPv4 address can
408 be enabled.
409
4102001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
411
412 * rip_interface.c (rip_interface_delete): To support pseudo
413 interface do not free interface structure.
414 * ripd.c (rip_output_process): If output interface is in simple
415 password authentication mode, we need space for authentication
416 data.
417
4182001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
419
420 * ripd.c (rip_nexthop_check): Fix multicast address nexthop check.
421
422 * zebra-0.91 is released.
423
4242001-01-27 Kunihiro Ishiguro <kunihiro@zebra.org>
425
426 * ripd.c (show_ip_rip): Show metric infinity route's timeout.
427 (rip_rte_process): If current route is metric infinity, route is
428 replaced with received rte.
429 (rip_redistribute_delete): When redistribute route is deleted,
430 perform poisoned reverse.
431 (rip_redistribute_withdraw): Likewise.
432
4332001-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
434
435 * ripd.c (rip_response_process): RIPv2 routing table entry with
436 non directly reachable nexthop was dropped. The code is changed
437 to treat it as 0.0.0.0 nexthop.
438 (rip_destination_check): Check net 0 address destination.
439 (rip_nexthop_check): New function for checking nexthop address
440 validity.
441
4422001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
443
444 * ripd.c (rip_request_process): Triggered update only send changed
445 route.
446
447 * rip_interface.c: Delete RIP_API part until new implementation
448 comes out.
449
450 * rip_snmp.: Likewise.
451
452 * rip_zebra.c: Likewise.
453
454 * ripd.c: Likewise.
455
4562001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
457
458 * rip_interface.c (rip_if_init): Remove HAVE_IF_PSEUDO part.
459
4602001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
461
462 * zebra-0.90 is released.
463
4642001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
465
466 * ripd.h (RIP_VTYSH_PATH): Change "/tmp/ripd" to "/tmp/.ripd".
467
4682000-12-25 David Lipovkov <davidl@nbase.co.il>
469
470 * ripd.c (rip_rte_process): When a route is in garbage collection
471 process (invalid with metric 16) and a router receives the same
472 route with valid metric then route was not installed into zebra
473 rib, but only into ripd rib. Moreover , it will never get into
474 zebra rib, because ripd wrongly assumes it's already there.
475 (rip_redistribute_add): When doing redistribute into rip other
476 route (e.g. connected) and the same route exists in ripd rib we
477 changed it in place - bug. Now we don't forget to remove old route
478 from zebra.
479 (rip_timeout): When removing routes from zebra I made sure that we
480 remove route with the metric we have in zebra and not the new
481 one. It doesn't make a difference now,but could be significant
482 when multipath support is done.
483
4842000-12-25 David Lipovkov <davidl@nbase.co.il>
485
486 * rip_zebra.c (rip_metric_unset): Fix bug of metric value unset.
487
4882000-11-25 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
489
490 * ripd.c (rip_request_process): Check passive flag of the
491 interface.
492
4932000-11-23 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
494
495 * rip_interface.c (rip_multicast_join): When IP_ADD_MEMBERSHIP
496 failed do not set runnning flag to the interface.
497
4982000-11-16 Kunihiro Ishiguro <kunihiro@zebra.org>
499
500 * ripd.c (rip_output_process): Memory leak related classfull
501 network generation is fixed.
502
5032000-11-16 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
504
505 * rip_interface.c (if_check_address): Obsolete pointopoint address
506 check is removed.
507
5082000-11-02 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
509
510 * rip_interface.c (if_check_address): Add pointopoint address
511 check.
512 (rip_interface_up): Add check for passive interface when interface
513 goes up.
514
5152000-10-23 Jochen Friedrich <jochen@scram.de>
516
517 * rip_snmp.c: rip_oid and ripd_oid are used in smux_open after it
518 is registered. So those variables must be static.
519
5202000-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
521
522 * rip_interface.c: Change to "no ip rip (send|receive)" command
523 accept version number argument.
524
5252000-10-17 Akihiro Mizutani <mizutani@dml.com>
526
527 * rip_routemap.c (route_set_ip_nexthop_compile): Change "match ip
528 next-hop" from IP address to access-list name.
529
5302000-10-17 Kunihiro Ishiguro <kunihiro@zebra.org>
531
532 * rip_peer.c: Change ot use linklist.c instaed of newlist.c.
533
5342000-10-16 Kunihiro Ishiguro <kunihiro@zebra.org>
535
536 * rip_offset.c: Change to use linklist.c instead of newlist.c.
537
5382000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
539
540 * zebra-0.89 is released.
541
5422000-09-26 Akihiro Mizutani <mizutani@dml.com>
543
544 * rip_routemap.c (match_ip_nexthop): Add next-hop format check.
545
5462000-09-18 David Lipovkov <dlipovkov@OpticalAccess.com>
547
548 * rip_interface.c (ripd_api_get_if_rx_version): Corrects rip SNMP
549 and rip API functions dealing with rip version.
550
551 * rip_snmp.c (Status_Valid): SNMPv2-TC TEXTUAL-CONVENTION.
552
5532000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
554
555 * rip_snmp.c (rip2IfLookup): Use rip_ifaddr_lookup_next() instead
556 of rip_if_lookup_next().
557
558 * rip_interface.c (rip_enable_network_lookup): Interface enable
559 check by interface's address with /32 prefix.
560
561 * ripd.c (rip_read): When RIP is configured with authentication
562 and no authentication in incoming packet, drop the packet.
563
564 * rip_interface.c (rip_interface_reset): RIP_AUTH_SIMPLE_PASSWORD
565 is default mode of authentication.
566 (rip_interface_new): Likewise.
567 (no_ip_rip_authentication_mode): Likewise.
568
569 * ripd.c (rip_read): Likewise.
570
5712000-09-10 David Lipovkov <davidl@nbase.co.il>
572
573 * rip_snmp.c: Set ASN_INTEGER v->type where it is needed.
574
5752000-09-08 Kunihiro Ishiguro <kunihiro@zebra.org>
576
577 * ripd.c (rip_auth_simple_password): Simple password
578 authentication using key-chain.
579 (rip_write_rte): Likewise.
580
581 * rip_interface.c (ip_rip_authentication_key_chain): Add check for
582 authentication string configuration.
583
5842000-09-08 Akihiro Mizutani <mizutani@dml.com>
585
586 * ripd.c (rip_write_rte): Add check for ri->auth_str.
587
5882000-09-07 Kunihiro Ishiguro <kunihiro@zebra.org>
589
590 * ripd_api.h: New file is added.
591
5922000-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
593
594 * ripd.c (rip_rte_process): rip_route_process() is renamed to
595 rip_rte_process() to clarify meanings of the function.
596 rip_route_process() is newly added to process RIP route selection.
597
5982000-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
599
600 * ripd.c (rip_incoming_filter): Extract incoming filter code to
601 function from rip_route_process(). Add check for all interface
602 filter.
603 (rip_outgoing_filter): Extract incoming filter code to function
604 from rip_output_process(). Add check for all interface filter.
605
606 * rip_zebra.c (rip_redistribute_clean): Reset redistribute status
607 when "no router rip" is performed.
608
609 * rip_interface.c (rip_interface_clean): Reset interface's RIP
610 enable status.
611
6122000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
613
614 * ripd.c (rip_route_process): When metric infinity is received the
615 route is removed from service immediately.
616 (rip_timeout): Likewise.
617 (rip_garbage_collect): Do not delete route in garbage collection.
618 (rip_output_process): Check metric_out exceed metric infinity.
619
620 * zebra-0.88 is released.
621
6222000-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
623
624 * ripd.c (rip_distance_apply): Unlock node when there is matched
625 node.
626
6272000-08-13 Akihiro Mizutani <mizutani@dml.com>
628
629 * rip_routemap.c (match_ip_nexthop): Add check for IP address
630 validness.
631 (no_set_metric): Add new ALIAS.
632
6332000-08-07 Kunihiro Ishiguro <kunihiro@zebra.org>
634
635 * ripd.h (struct rip ): Add distance.
636
6372000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
638
639 * rip_zebra.c (rip_zebra_ipv4_add): Use new Zebra api to register
640 routes. Pass RIP metric value to zebra.
641
6422000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
643
644 * rip_main.c (main): Make struct thread thread from global
645 variable to local variable in main.
646
6472000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
648
649 * ripd.c (rip_packet_dump): Add MD5 authentication dump function.
650 (rip_auth_md5): RIP MD5 authentication packet receive works.
651
6522000-08-02 David Lipovkov <davidl@nbase.co.il>
653
654 * rip_interface.c (rip_if_init): Install interface "pseudo"
655 commands.
656 (rip_interface_delete): Do not call if_delete() when interface is
657 pseudo interface.
658
6592000-07-31 Kunihiro Ishiguro <kunihiro@zebra.org>
660
661 * rip_interface.c (ip_rip_authentication_mode): "ip rip
662 authentication mode (md5|text)" is added.
663 (ip_rip_authentication_key_chain): "ip rip authentication
664 key-chain KEY-CHAIN" is added.
665 (rip_interface_clean): Clean all interface configuration.
666 (rip_interface_reset): Reset all interface configuration.
667 (rip_clean_network): Clean rip_enable_network.
668
669 * ripd.h (struct rip_interface): Add key_chain member.
670
671 * ripd.c: Include md5-gnu.h.
672
6732000-07-30 Kunihiro Ishiguro <kunihiro@zebra.org>
674
675 * ripd.h (RIP_NO_AUTH): Change RIP_NO_AUTH value from 1 to 0.
676
677 * ripd.c (rip_authentication): Use RIP_AUTH_SIMPLE_PASSWORD
678 instead of raw value 2.
679 (rip_write_rte): Likewise.
680 (rip_write_rte): Check ri->auth_type instead of ri->auth_str.
681
6822000-07-30 David Lipovkov <davidl@nbase.co.il>
683
684 * rip_interface.c (rip_if_down): Do not delete ZEBRA_ROUTE_KERNEL
685 route.
686
6872000-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
688
689 * ripd.c (rip_update_process): Add "passive-interface" command.
690
691 * ripd.h (struct rip_interface): Add passive member to struct
692 rip_interface.
693
6942000-07-24 Kunihiro Ishiguro <kunihiro@zebra.org>
695
696 * rip_interface.c (rip_if_init): Multiple RIP routes for one
697 prefix change. The codes are enclosed by #ifdef NEW_RIP_TABLE.
698
6992000-07-24 Akihiro Mizutani <mizutani@dml.com>
700
701 * rip_interface.c (rip_if_init): Use install_default() for
702 INTERFACE_NODE.
703
7042000-07-24 Kunihiro Ishiguro <kunihiro@zebra.org>
705
706 * ripd.c: First update timer will be invoked in two seconds.
707
7082000-07-09 Jochen Friedrich <jochen@scram.de>
709
710 * rip_snmp.c: Local function definitions to static. Add INTEGER
711 ASN_INTEGER and TIMETICKS ASN_TIMETICKS definition.
712 (rip2PeerLookup): Peer with domain lookup implemented.
713 (rip2PeerTable): Temporary disable RIP2PEERLASTUPDATE value
714 support due to unknown SNMP agent startup time.
715
7162000-07-05 Kunihiro Ishiguro <kunihiro@zebra.org>
717
718 * ripd.h: Sweep obsolete definitions.
719
720 * rip_interface.c (rip_split_horizon): Add "ip split-horizon"
721 command.
722
723 * ripd.c (rip_output_process): Remove split_horizon argument.
724 (rip_update_process): Likewise.
725
726 * ripd.h (struct rip_interface): Add split_horizon flag to struct
727 rip_interface.
728
7292000-07-04 Akihiro Mizutani <mizutani@dml.com>
730
731 * ripd.c (rip_version): Change VERSION to <1-2>.
732 Add "no version" command.
733
7342000-07-03 Kunihiro Ishiguro <kunihiro@zebra.org>
735
736 * rip_zebra.c (rip_redistribute_type_metric): "redistribute TYPE
737 metric <0-16>" command is added.
738
739 * rip_routemap.c (route_set_metric): Set metric_set when metric is
740 modified.
741
742 * ripd.h (struct rip_info): To check route-map set metric or not,
743 new member metric_set is added to struct rip_info.
744
745 * ripd.c (rip_route_process): Move metric handling code from
746 rip_response_process() to rip_route_process().
747 (rip_output_process): Set output offset-list metric.
748
7492000-07-02 Kunihiro Ishiguro <kunihiro@zebra.org>
750
751 * rip_offset.c (rip_offset_list): New file for offset-list.
752
7532000-07-02 Akihiro Mizutani <mizutani@dml.com>
754
755 * ripd.h (struct rip ): Add default_metric.
756
757 * ripd.c (rip_default_metric): "default-metric <1-16>" command is
758 added.
759 (config_write_rip): Change configuration order.
760
761 * rip_zebra.c: Fix help strings.
762
7632000-07-02 David Lipovkov <davidl@nbase.co.il>
764
765 * rip_interface.c (rip_if_init): Add IF_DELETE_HOOK.
766
7672000-07-01 Kunihiro Ishiguro <kunihiro@zebra.org>
768
769 * ripd.c (rip_output_process): If specified route-map does not
770 exist, it treated as deny all.
771
7722000-06-30 Kunihiro Ishiguro <kunihiro@zebra.org>
773
774 * rip_routemap.c (rip_route_map_init): Call rip_route_map_update
775 when route-map is deleted.
776
7772000-06-28 Kunihiro Ishiguro <kunihiro@zebra.org>
778
779 * rip_routemap.c (set_metric): For consistency with bgpd's set
780 metric, value range is set to <0-4294967295>.
781
7822000-06-28 David Lipovkov <davidl@nbase.co.il>
783
784 * rip_routemap.c (rip_route_map_update): Add check for rip is
785 enabled or not for avoid core dump.
786
787 * rip_debug.c (debug_rip_packet_direct): Fix bug of setting
788 rip_debug_packet flag.
789
7902000-06-13 David Lipovkov <davidl@nbase.co.il>
791
792 * rip_interface.c (rip_interface_delete): All work is done in
793 rip_if_down().
794
7952000-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
796
797 * ripd.c (rip_redistribute_delete): Fix bug of missing
798 route_unlock_node() when redistribute route is not found.
799
8002000-06-05 Akihirof Mizutani <mizutani@dml.com>
801
802 * rip_debug.c (rip_debug_init): Disable show debugging in
803 VIEW_NODE like other protocol daemon.
804
805 * rip_routemap.c: Change command argument to more comprehensive.
806
807 METRIC -> <0-16>
808 IFNAME -> WORD
809 IP_ADDR -> A.B.C.D
810 ACCSESS_LIST -> WORD
811
8122000-06-05 David Lipovkov <davidl@nbase.co.il>
813
814 * rip_interface.c (rip_interface_delete): Delete all routes
815 include static and kernel through the interface , because even if
816 the interface is added again there is no guarantee that it will
817 get the same ifindex as before.
818
8192000-05-31 Akihirof Mizutani <mizutani@dml.com>
820
821 * rip_debug.c: Fix rip debug help string.
822
8232000-04-27 Mirko Karanovic <mkaranov@torsel.alcatel.com>
824
825 * rip_interface.c (rip_interface_down): Remove interface from
826 multicast group when interface goes down.
827
8282000-04-03 David Lipovkov <davidl@nbase.co.il>
829
830 * rip_interface.c (rip_interface_down): Implemented rip functions
831 for interface up/down events: rip_interface_up() and
832 rip_interface_down()
833
8342000-03-16 David Lipovkov <davidl@nbase.co.il>
835
836 * rip_zebra.c (rip_zclient_init): Added rip functions for
837 interface up/down events.
838
8392000-02-15 Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
840
841 * ripd.c (rip_write_rte): "set metic" in route-map has no effect
842 for RIPv1 in ripd. It worked fine for RIPv2.
843
8442000-01-17 Kunihiro Ishiguro <kunihiro@zebra.org>
845
846 * ripd.c (show_ip_protocols_rip): Fix bug of "show ip protocls"
847 mis-display RIP version.
848
849 * ripd.h (struct rip_peer): Add timeout thread to rip_peer
850 structure.
851
8522000-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
853
854 * rip_peer.c: Add new file for supporting RIP peer.
855
8561999-12-26 David Lipovkov <davidl@nbase.co.il>
857
858 * ripd.c (rip_authentication): RIP authantication string is 16
859 bytes long.
860
8611999-12-10 Kunihiro Ishiguro <kunihiro@zebra.org>
862
863 * ripd.c (rip_read): Add check for minimum packet length.
864 Authentication check is moved from rip_process_response() to
865 rip_read(). Patch from David Lipovkov <davidl@nbase.co.il> is
866 applied then add rte number check by Kunihiro Ishiguro
867 <kunihiro@zebra.org>.
868
8691999-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
870
871 * ripd.c (rip_response_process): In case of packet is RIPv2 and
872 network is non zero and netmask is zero, apply netmask rule as
873 same as RIPv1.
874
8751999-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
876
877 * ripd.c (rip_timers): Fix bug of timers basic argument format.
878
8791999-11-03 Kunihiro Ishiguro <kunihiro@zebra.org>
880
881 * rip_snmp.c (rip2IfConfAddress): Forgot to include
882 RIP2IFCONFDOMAIN.
883
8841999-10-28 Kunihiro Ishiguro <kunihiro@zebra.org>
885
886 * ripd.h (struct rip_peer): New structure added.
887
8881999-10-26 Kunihiro Ishiguro <kunihiro@zebra.org>
889
890 * rip_zebra.c (rip_zebra_ipv4_add): Increment
891 rip_global_route_changes when route change occur.
892 (rip_zebra_ipv4_delete): Likewise.
893
894 * ripd.c (rip_request_process): Increment rip_global_queries when
895 reply to the query is sent.
896
8971999-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
898
899 * rip_debug.c (rip_debug_reset): Reset function added.
900
901 * ripd.c (rip_update_process): Logging bug is fixed.
902
9031999-10-10 Marc Boucher <marc@mbsi.ca>
904
905 * ripd.c (config_write_rip): Add config_write_distribute() call.
906
9071999-09-29 Kunihiro Ishiguro <kunihiro@zebra.org>
908
909 * ripd.c (rip_distribute_update): Fix bug of access-list
910 prefix-list updates.
911
9121999-09-10 VOP <vop@unity.net>
913
914 * rip_zebra.c: Add redistribute route-map feature.
915
9161999-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
917
918 * ripd.c (rip_response_process): Add check for given prefix is
919 given mask applied one.
920
9211999-09-03 VOP <vop@unity.net>
922
923 * rip_interface.c (rip_interface_multicast_set): Bug fix about
924 setting multicast interface.
925
9261999-09-02 VOP <vop@unity.net>
927
928 * rip_routemap.c: New file added.
929
9301999-09-02 Kunihiro Ishiguro <kunihiro@zebra.org>
931
932 * ripd.c (show_ip_protocols_rip): Show next update time.
933 (show_ip_protocols_rip): Show redistribute information.
934
9351999-08-25 Kunihiro Ishiguro <kunihiro@zebra.org>
936
937 * RIPv2-MIB.txt: New file added.
938
939 * rip_snmp.c: New file added.
940
9411999-08-24 Kunihiro Ishiguro <kunihiro@zebra.org>
942
943 * rip_interface.c (ip_rip_authentication_string): RIPv2
944 authentication command is added.
945
9461999-08-23 Kunihiro Ishiguro <kunihiro@zebra.org>
947
948 * rip_interface.c (rip_interface_multicast_set): Process of
949 setting IP_MULTICAST_IF on specific interface.
950
951 * ripd.c (rip_read): Add packet size check.
952
9531999-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
954
955 * ripd.c (rip_request_process): Fill in RIP_METRIC_INFINITY with
956 network byte order using htonl ().
957 (rip_response_process): Pass host byte order address to IN_CLASSC
958 and IN_CLASSB macro.
959
9601999-08-08 davidm@nbase.co.il (David Mozes)
961
962 * rip_zebra.c (rip_zebra_read_ipv4): Fix split horizon problem.
963
9641999-07-03 Kunihiro Ishiguro <kunihiro@zebra.org>
965
966 * ripd.c (rip_timer_set): Function added.
967
9681999-07-01 Kunihiro Ishiguro <kunihiro@zebra.org>
969
970 * rip_debug.c: New file added.
971 rip_debug.h: New file added.
972
9731999-07-01 Rick Payne <rickp@rossfell.co.uk>
974
975 * rip_zebra.c (zebra_init): Install standard commands to
976 ZEBRA_NODE.
977
9781999-06-01 David Luyer <luyer@ucs.uwa.edu.au>
979
980 * ripd.c (rip_process_route): Add support for RIP version 1.
981
9821999-05-29 Kunihiro Ishiguro <kunihiro@zebra.org>
983
984 * rip_zebra.c: Change to use lib/zclient.[ch].
985
9861999-05-20 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
987
988 * ripd.c (rip_add_route): Change the existance route's metric check
989 to the condition specified by RFC2453.
990
9911999-05-17 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
992
993 * ripd.c (rip_process_route): Add the if metric to the route metric.
994
995 * ripd.c (rip_add_route): Deleted add if metric to the route.
996
9971999-05-16 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
998
999 * rip_interface.c (if_valid_neighbor): New function.
1000
1001 * ripd.c (rip_process_route): Added check whether the datagram
1002 is from a valid neighbor.
1003
10041999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1005
1006 * ripd.c (rip_process_route): Set interface pointer to rinfo.
1007
10081999-05-15 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
1009
1010 * ripd.c (rip_check_address): Unicast and not net 0 or 127 check
1011 added.
1012
10131999-05-14 Stephen R. van den Berg <srb@cuci.nl>
1014
1015 * rip_main.c (signal_init): SIGTERM call sigint.
1016 (sigint): Loggging more better message.
1017
10181999-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1019
1020 * ripd.c (rip_add_route): Fix previous route_unlock_node() chenge.
1021
1022 * rip_main.c (main): Change default zlog output to ZLOG_STDOUT for
1023 debugging.
1024
10251999-05-09 Patrick Koppen <koppen@rhrk.uni-kl.de>
1026
1027 * rip_interface.c (rip_request): Fix old semantics for fetching
1028 connected address.
1029
1030 * ripd.c (rip_add_route): Update timer when the route is updated.
1031
10321999-05-09 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
1033
1034 * rip_zebra.c (struct zebra): Add ridist_static, ridist_connect,
1035 redist_rip, redist_ripng.
1036
1037 * rip_zebra.c (zebra_create): Updated for current zebra method.
1038
1039 * ripd.c (rip_add_route): Add missing route_unlock_node().
1040
10411999-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1042
1043 * ripd.c (rip_add_route): Add metric check. Reported by Carlos
1044 Alberto Barcenilla <barce@frlp.utn.edu.ar>.
1045
10461999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
1047
1048 * syslog support added
1049
10501998-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1051
1052 * ripd.c (rip_announce_func): Apply new lib functions.
1053
10541998-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1055
1056 * ripd.c (config_write_rip): Delete vector v argument.
1057 * rip_zebra.c (config_write_zebra): Likewise.
1058 * rip_interface.c (interface_config_write): Likewise.
1059
10601998-09-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1061
1062 * rip_announce.c (rip_rib_close): When ripd terminates delete all
1063 added route.
1064
10651998-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1066
1067 * rip_interface.c: return read packet size.
1068
10691998-05-18 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1070
1071 * ripd.h: Modify for compile on Solaris.
1072
10731998-05-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1074
1075 * ripd.c: DEFUN function return CMD_SUCCESS.
1076 change xmalloc to XMALLOC macro.
1077
10781998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1079
1080 * rip_main.c: change CONFDIR to SYSCONFDIR.
1081
10821998-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1083
1084 * .cvsignore: added.
1085
10861998-02-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1087
1088 * rip_interface.c (config_write_interface): correct ADVERTISE spell.
1089
1090 * rip_main.c (main): add usage() and make cleanup.
1091
10921998-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1093
1094 * ripd.c (rip_version): add rip version command.
1095
10961998-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1097
1098 * rip_interface.c (zebra_get_interface): added to get
1099 interface's information.
1100
1101 * ChangeLog: create.