1 2006-12-12 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
3 * rip_interface.c: (rip_interface_multicast_set) Use new CONNECTED_ID
4 macro to simplify logic.
5 (rip_request_interface_send) Fix minor bug: ipv4_broadcast_addr does
6 not give a useful result if prefixlen is 32 (we require a peer
7 address in such cases).
8 * ripd.c: (rip_update_interface) Fix same bug as above.
10 2006-09-11 Paul Jakma <paul.jakma@sun.com>
12 * ripd.c: (rip_read) remove gratuitous use of mid-function
13 declaration of vrecv, bug #278.
14 * rip_routemap.c: (route_set_metric) underflow check needs to
15 use signed, problem identified and diagnosed by Pavel
16 Nikiforov in bug #293.
18 2006-06-29 Paul Jakma <paul.jakma@sun.com>
20 * rip_zebra: (general) convert redistribute commands to use
21 the auto-generated defines.
23 2006-05-04 Paul Jakma <paul.jakma@sun.com>
25 * (general) Fixes for bugs #261 and 262. Thanks to
26 Konstantin V. Gavrilenko <kos@arhont.com> for the problem
27 reports, testing of a series of proposed patches and comment
28 on the proposed changes in behaviour.
29 * rip_interface.c: (ip_rip_authentication_mode_cmd) Parse all
30 of the command before making any changes to configured state.
31 * ripd.c: (rip_read) RIP version control should be absolute and
32 always apply, fixes bug #261 by allowing RIPv1 to be disabled.
33 Fix bug #262: If authentication is enabled, then
34 unauthenticated packets should not be accepted. We do however
35 make an exception for RIPv1 REQUEST packets, to which we will
36 reply as RIPv1 can now be disabled fully, to allow ripd to
37 still provide routing /information/ to simple devices.
39 2006-04-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
41 * ripd.c: (rip_update_process) Try to fix the logic for sending
42 an updated on each connected network. The new code will
43 attempt to send the update on each connected network, whereas
44 the previous code seemed to be attempting to avoid sending
45 more than one RIPv1 update on a given interface, but was coded
46 incorrectly. The actual effect of the old code was to send
47 an update only on the first connected address in the cases
48 where the interface is not multicast, or RIPv2 is not being used.
50 2006-01-30 Alain Ritoux <alain.ritoux@6wind.com>
52 * ripd.c: correct bug that allowed route learnt through RIP to take
53 precedence over connectd routes
55 2006-01-19 Paul Jakma <paul.jakma@sun.com>
57 * ripd.c: (main) return from main, not exit, cause it annoys SOS.
59 2006-01-17 Paul Jakma <paul.jakma@sun.com>
61 * ripd.c: (rip_auth_md5) remove pdigest, not needed.
62 Use a local buffer for the auth_str, where it can be properly
63 nul padded. Do so, hence fixing MD5 authentication.
64 Key looked up via key ring should be used in preference to
65 the RIPv1 simple password, not other way around.
66 No need to copy around digests, we can reference them
68 The auth_len received can't be trusted, some implementations
69 lie (e.g. older ripd).
70 (rip_auth_md5_ah_write) rename len local variable to doff
71 to be consistent with other functions.
72 (rip_auth_header_write) add the missing return.
73 (rip_auth_md5_set) use the proper constructs to access stream.
75 2005-10-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
77 * ripd.c: (rip_response_process) Instead of calling
78 rip_interface.c:if_valid_neighbor(), call the equivalent
79 library function if_lookup_address().
80 * rip_interface.c: (if_valid_neighbor) Remove function, since it is
81 essentially equivalent to the if_lookup_address() library function.
82 * ripd.h: (if_valid_neighbor) Remove function declaration.
84 2005-10-28 Paul Jakma <paul.jakma@sun.com>
86 * Makefile.am: Add rip_interface.h, or else it doesn't get
89 2005-10-26 Paul Jakma <paul.jakma@sun.com>
91 * (general) static/extern functions and definitions.
92 * rip_interface.h: new file, export the public functions from
94 * ripd.c: Update couple more functions to specify void
97 2005-10-17 Vincent Jardin <vincent.jardin@6wind.com>
99 * ripd.c: rip_create_socket() for each packet, it does not bind to the
100 proper interfaces because we forget to use the from address when
103 2005-10-06 Alain Ritoux <alain.ritoux@6wind.com>
105 * rip_interface.c: Now the command "no ip rip split-horizon
106 poisoned-reverse" just inhibates the poisoned-reverse effects
107 but keep spli-horizon activ.
109 2005-10-01 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
111 * rip_zebra.c: (config_write_rip_redistribute): Remove local hard-coded
112 table str[]. Replace str[] with calls to new library function
113 zebra_route_string().
114 * ripd.c: Remove local hard-coded table route_info[].
115 (show_ip_rip) Replace uses of str[] with calls to new library
116 functions zebra_route_char and zebra_route_string.
118 2005-09-29 Alain Ritoux <alain.ritoux@6wind.com>
120 * rip_snmp.c: rip2IfConfReceive() sends values in conformance
121 with RFC. Also PeerDomain is now set to a STRING type.
122 * ripd.h: rip_redistribute_add() API includes metric and distance
123 added field external_metric in routes.
124 * ripd.c: rip_redistribute_add() API i.e. stores metric and distance
125 Now allows a RIP-route to overcome a redistributed route coming
126 from a protocol with worse (higher) administrative distance
127 Metrics from redistribution are shown in show ip rip
128 * rip_zebra.c: adapt to the rip_redistribute_add() API, i.e.
129 provide distance and metric
130 * rip_interface.c: adapt to the rip_redistribute_add() API
131 * rip_routemap.c: no RMAP_COMPILE_ERROR on (metric > 16) usage
132 rather a CMD_WARNING, because set metric ius shared with other
133 protocols using larger values (such as OSPF)
134 The match metric action takes first external metric if present
135 (from redistribution) then RIP metric.
137 2005-09-28 Alain Ritoux <alain.ritoux@6wind.com>
139 * ripd.c: use new md5 API
141 2005-08-16 Paul Jakma <paul.jakma@sun.com>
143 * ripd.c: (general) Fix previous commit, broke multicast bind and
144 hence setting of source port, which broke communication with
145 non-borken ripd. Fix removes more stuff from rip_interface.c
146 than it adds to ripd.c ;)
147 (rip_create_socket) the to argument really is a from argument,
148 rename it. Set the source port to RIP port unconditionally, it's
150 (rip_send_packet) Set from address correctly for multicast.
151 (rip_output_process) trivial: num can be BSS specified, rather
153 * rip_interface.c: (rip_interface_multicast_set) strip out
154 redundant stuff related to bind, which rip_create_socket does.
155 Just make it set the multicast socket option, as per the
156 interface concerned, no more.
158 2005-06-03 Paul Jakma <paul.jakma@sun.com>
160 * ripd.c: (rip_create_socket) move it up so rip_send_packet
161 can use it too. Make it static. Remove the getservbyname stuff,
162 as RFC2453 3.9.2 says non-RIP port messages should be discarded,
163 quagga doesnt accept them, no need to lookup port.
164 Take a 'to' argument, if socket should be bound to something else.
165 setsockopt_so_recvbuf might need privs, move it to the raised
167 dont forget to close the socket if bind fails.
168 (rip_send_packet) use strncpy, just in case (address is under
169 our control anyway, but still).
170 dont duplicate rip_create_socket - just use it.
171 (rip_create) rip_create_socket takes an argument now, modify.
173 2005-06-01 Paul Jakma <paul.jakma@sun.com>
175 * rip_interface.c: Fix authentication, no-auth impossible to specify
176 (rip_interface_new) default to RIP_NO_AUTH
177 (rip_interface_reset) ditto
178 (rip_interface_config_write) write out config for simple
180 2005-05-29 Paul Jakma <paul@dishone.st>
182 * ripd.c: (rip_output_process) fix error which crept in my
183 previous rip auth untanglement commit - it had become impossible
184 to not have authentication (even for v1).
186 2005-05-28 Hasso Tepper <hasso at quagga.net>
188 * rip_routemap.c: Fix set_metric_addsub_cmd help, it's not about BGP
191 2005-05-26 Hasso Tepper <hasso at quagga.net>
193 * rip_routemap.c: In case of '0.0.0.0' used as 'nexthop', use sender
194 address as nexthop in routemap.
196 2005-05-26 Hasso Tepper <hasso at quagga.net>
198 * rip_routemap.c: Make "match interface" routemap command match both -
199 in and out interfaces.
201 2005-05-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
203 * rip_interface.c (rip_interface_add): Need to call
204 rip_passive_interface_apply (was already calling it in
207 2005-04-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
209 * rip_zebra.c (rip_redistribute_set, rip_redistribute_unset,
210 rip_redistribute_clean): Change 2nd arg to zebra_redistribute_send
211 from zclient->sock to zclient.
213 2005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
215 * rip_interface.c: (rip_interface_delete) After deleting, set
216 ifp->ifindex to IFINDEX_INTERNAL.
218 2005-02-04 Paul Jakma <paul@dishone.st>
220 * ripd.c: Untangle the construction of RIP auth data.
221 (rip_auth_prepare_str_send) new helper function, prepare
223 (rip_auth_simple_write) new helper, write out the
224 rip simple password auth psuedo-RTE.
225 (rip_auth_md5_ah_write) new helper, write out the
226 MD5 auth-header psuedo-RTE.
227 (rip_auth_header_write) new helper, write out correct
228 auth header data / psuedo-RTE.
229 (rip_auth_md5_set) rip out the memmove and writing of the
230 auth header psuedo-RTE. So that all that is left is to
231 write the trailing auth digest, and update digest offset
232 field in the original header.
233 (rip_write_rte) rip out writing of RIP header, writing of
234 simple auth data psuedo-RTE. Make it do what its name suggests,
235 write out actual RTEs.
236 (rip_output_process) remove the incorrect additional decrements
237 of rtemax. Prepare the auth_str, which simple or MD5 auth will
238 need. Move write out of RIP header and auth data to inside the
239 loop. Adjust paramaters as required.
241 2005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
243 * ripd.c: (rip_create_socket) Replace perror with zlog_err.
245 2005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
247 * ripd.c: (rip_create_socket) Save errno before calling
250 2005-01-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
252 * ripd.c: (rip_recvmsg) Use ZCMSG_FIRSTHDR instead of CMSG_FIRSTHDR.
254 2004-12-15 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
256 * ripd.c: (rip_read) Improve 2 error messages to show the source of
257 the packet when the lookup fails.
259 2004-12-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
261 * *.c: Change level of debug messages to LOG_DEBUG.
263 2004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
265 * rip_main.c: (main) The 2nd argument to openzlog has been removed.
267 2004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
269 * rip_main.c: (sigint) Use zlog_notice for termination message.
270 (main) Add a startup announcement using zlog_notice.
272 2004-11-25 Hasso Tepper <hasso at quagga.net>
274 * rip_main.c: Make group to run as configurable.
276 2004-10-22 Paul Jakma <paul@dishone.st>
278 * ripd.c: Collapse redundant passing of various address structs,
279 struct interface and struct connected as arguments to functions
280 down to two key arguments, namely struct connected and, possibly,
281 address of source/destination. Testing for RIPv1 would be useful.
282 (rip_read) lookup struct connected for the received packet, pass
284 * rip_interface.c: With previous changes, we no longer have to tread
285 carefully with struct connected, as it will always be there and
288 2004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
290 * ripd.c: (rip_update_interface) if connected->destination is NULL,
291 get the broadcast address with ipv4_broadcast_addr()
292 * rip_interface.c: (rip_interface_multicast_set)
293 connected->destination may be NULL. Improve message if
294 setsockopt_multicast_ipv4 fails. Improve message if bind fails.
295 (rip_request_interface_send) If connected->destination is NULL,
296 get the broadcast address with ipv4_broadcast_addr().
297 (if_valid_neighbor) Handle PtP subnet addressing properly.
298 Speed up code by using prefix_match properly.
300 2004-10-13 Hasso Tepper <hasso at quagga.net>
302 * ripd_snmp.c: Remove defaults used to initialize smux connection to
303 snmpd. Connection is initialized only if smux peer is configured.
305 2004-10-11 Hasso Tepper <hasso at quagga.net>
307 * *.c: Make more strings const.
309 2004-10-08 Hasso Tepper <hasso at quagga.net>
311 * *.c: Fix compiler warnings: make strings const, signed -> unsigned
314 2004-09-26 Hasso Tepper <hasso at quagga.net>
316 * ripd.c: Fix compiler warning.
318 2004-09-23 Hasso Tepper <hasso at quagga.net>
320 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
322 2004-09-17 Paul Jakma <paul@dishone.st>
324 * ripd.c: set receive buffer to a decent size, some systems have low
325 defaults. Problem noted and fix suggested by Stephan Schweizer
328 2004-08-19 Paul Jakma <paul@dishone.st>
330 * rip_interface.c: (rip_interface_multicast_set) get rid
331 of extraneous if_pointopoint arg. ifp is accessible via connected.
332 pass connected->ifp->ifindex to setsockopt_multicast_ipv4.
333 * ripd.c: (rip_send_packet) update call to
334 rip_interface_multicast_set
335 * ripd.h: update rip_interface_multicast_set prototype
337 2004-06-11 Sowmini Varadhan <sowmini.varadhan@sun.com>
339 * ripd.c: (rip_distribute_update_all) distribute list hook
340 function pointer prototype requires struct prefix_list * arg.
341 (rip_distribute_update_all_wrapper) update to pass required arg,
344 2004-06-06 Paul Jakma <paul.jakma@sun.com>
346 * ripd.h: Add define for the RIPv2 Authentication Data family
347 Move the auth type defines up to where other defines live.
348 Add RIP_AUTH_MD5_COMPAT_SIZE, for backwards compatible
349 md5->auth_len size. Add md5_auth_len field to struct
350 rip_interface: (rip_interface_new) Init md5_auth_len to compatible
352 (ip_rip_authentication_mode_cmd) Extended to handle setting
353 md5 auth-length. Appropriate aliases added.
354 (no_ip_rip_authentication_mode_cmd) Reset md5_auth_len to
356 (rip_interface_config_write) Teach it about md5_auth_len.
357 _always_ write out the auth-length, so that everyone will get
358 the setting in their config file, and hence allow for a future
359 change of default for md5_auth_len to be less painful - every md5
360 user will have this setting in their config file.
361 ripd.c: (rip_packet_dump) Change nasty hard coded constants to
362 symbolic defines. Change various tests of 'ntoh.(variable) ==
363 constant' to test 'variable == ntoh.(constant)'. Clean up
364 indentation on some long lines.
365 (rip_auth_simple_password) ditto.
366 (rip_auth_md5) ditto, also add length argument and sanity check
367 md5 data offset field. Sanity check md5 auth length, accept RFC
368 or old-ripd/cisco lengths.
369 (rip_auth_md5_set) as per (rip_packet_dump), also write out
370 the configured md5 auth length for the interface (old-ripd or rfc)
371 (rip_read) as per (rip_packet_dump)
372 (rip_write_rte) ditto
373 (rip_response_process) ditto
374 (rip_write_rte) ditto
376 2004-06-04 JJ Ludman <jacques.ludman@sun.com>
378 * ripd.c: Interoperability fix. Correct value for MD5 auth length
379 is 16. Accept packets with this set to >= 16, and set to 16
382 2004-05-31 Sowmini Varadhan <sowmini.varadhan@sun.com>
384 * ripd.c: Fixup compile warnings
385 * rip_routemap.c: Ditto
387 2004-05-08 Paul Jakma <paul@dishone.st>
389 * rip_zebra.c: sync with zclient changes.
390 * rip_interface.c: ditto.
392 2004-05-05 Anthony.Golia@morganstanley.com
394 * ripd.c: (rip_update_jitter) Bound jitter to a more sensible
395 value, eg 1/4 of update time.
397 2004-05-03 Paul Jakma <paul@dishone.st>
399 * ripd.c: (rip_rte_process) fix typo in merge of previous patch
400 and run function through indent.
402 2004-03-19 Jean-Yves Simon <lethalwp@tiscali.be>
404 * ripd.c: (rip_rte_process) make ripd also check on
405 administrative distance of his own links to update routes.
407 2004-03-18 sowmini.varadhan@sun.com
409 * ripd.c: rip_send_packet can get null connected address when
410 called in response to a unicast rip-request. Handle correctly.
412 2004-03-03 Krzysztof Oledzki <oleq@ans.pl>
414 * ripd.c: fix "show ip rip" and per interface rip version selection.
416 2004-01-23 sowmini.varadhan@sun.com
418 * rip_interface.c: obsolete unbind code in
419 rip_interface_multicast_set, and instead do the more portable
420 (though slower) method of creating a socket for each outgoing packet
421 and binding the source address on the new socket.
422 * rip_interface.c, ripd.c, ripd.h: Modify rip_request_send so that
423 source address is determined by the caller of rip_request_send for
424 ripv1 packets and non-multicast interfaces (rip_request_send loops
425 over all connected address in all other cases).
426 * rip_send_packet: don't send packets with source set to
427 ZEBRA_IFA_SECONDARY connected addresses; improved debug messages;
429 2003-06-07 Andrew J. Schorr <aschorr@telemetry-investments.com>
431 * Allow ripd to receive RIPv1
432 * add default as valid param to passive-interface command
434 2003-05-25 Vincent Jardin <vjardin@wanadoo.fr>
438 2003-04-19 Hasso Tepper <hasso@estpak.ee>
440 * rip_routemap.c: sync daemon's route-map commands to have same
443 2002-07-07 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
445 * zebra-0.93 released.
447 2002-06-30 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
449 * ripd.c (rip_output_process): When outgoing interface is same as
450 next hop interface, announce RIPv2 next hop otherwise set next hop
451 to 0. Revert previous change then take 6WIND way.
453 2001-09-14 Akihiro Mizutani <mizutani@dml.com>
455 * ripd.c: RIP enabled interface's route is advertised by default.
457 2001-08-28 NOGUCHI Kay <kay@v6.access.co.jp>
459 * rip_snmp.c (rip_ifaddr_delete): Add route_node_lookup() return
462 * rip_interface.c (rip_multicast_leave): Fix bug of multiple IP
463 address on one interface multicast join/leave bug.
465 2001-08-26 NOGUCHI Kay <kay@v6.access.co.jp>
467 * rip_interface.c (no_rip_passive_interface): Add NO_STR.
469 2001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
471 * zebra-0.92a released.
473 2001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
475 * zebra-0.92 released.
477 2001-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
479 * rip_routemap.c (route_match_ip_address_prefix_list): Add match
480 ip next-hop prefix-list WORD.
482 2001-02-18 Kunihiro Ishiguro <kunihiro@zebra.org>
484 * rip_interface.c (rip_passive_interface_clean): Call
485 rip_passive_interface_apply_all.
487 2001-02-12 Kunihiro Ishiguro <kunihiro@zebra.org>
489 * ripd.c (rip_response_process): Multicast address nexthop check
490 is moved from rip_nexthop_check.
492 2001-02-08 Matthew Grant <grantma@anathoth.gen.nz>
494 * rip_interface.c (ipv4_multicast_join): Use
495 setsockopt_multicast_ipv4.
496 (ipv4_multicast_leave): Likewise.
497 (rip_if_ipv4_address_check): Interface which has IPv4 address can
500 2001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
502 * rip_interface.c (rip_interface_delete): To support pseudo
503 interface do not free interface structure.
504 * ripd.c (rip_output_process): If output interface is in simple
505 password authentication mode, we need space for authentication
508 2001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
510 * ripd.c (rip_nexthop_check): Fix multicast address nexthop check.
512 * zebra-0.91 is released.
514 2001-01-27 Kunihiro Ishiguro <kunihiro@zebra.org>
516 * ripd.c (show_ip_rip): Show metric infinity route's timeout.
517 (rip_rte_process): If current route is metric infinity, route is
518 replaced with received rte.
519 (rip_redistribute_delete): When redistribute route is deleted,
520 perform poisoned reverse.
521 (rip_redistribute_withdraw): Likewise.
523 2001-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
525 * ripd.c (rip_response_process): RIPv2 routing table entry with
526 non directly reachable nexthop was dropped. The code is changed
527 to treat it as 0.0.0.0 nexthop.
528 (rip_destination_check): Check net 0 address destination.
529 (rip_nexthop_check): New function for checking nexthop address
532 2001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
534 * ripd.c (rip_request_process): Triggered update only send changed
537 * rip_interface.c: Delete RIP_API part until new implementation
540 * rip_snmp.: Likewise.
542 * rip_zebra.c: Likewise.
546 2001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
548 * rip_interface.c (rip_if_init): Remove HAVE_IF_PSEUDO part.
550 2001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
552 * zebra-0.90 is released.
554 2001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
556 * ripd.h (RIP_VTYSH_PATH): Change "/tmp/ripd" to "/tmp/.ripd".
558 2000-12-25 David Lipovkov <davidl@nbase.co.il>
560 * ripd.c (rip_rte_process): When a route is in garbage collection
561 process (invalid with metric 16) and a router receives the same
562 route with valid metric then route was not installed into zebra
563 rib, but only into ripd rib. Moreover , it will never get into
564 zebra rib, because ripd wrongly assumes it's already there.
565 (rip_redistribute_add): When doing redistribute into rip other
566 route (e.g. connected) and the same route exists in ripd rib we
567 changed it in place - bug. Now we don't forget to remove old route
569 (rip_timeout): When removing routes from zebra I made sure that we
570 remove route with the metric we have in zebra and not the new
571 one. It doesn't make a difference now,but could be significant
572 when multipath support is done.
574 2000-12-25 David Lipovkov <davidl@nbase.co.il>
576 * rip_zebra.c (rip_metric_unset): Fix bug of metric value unset.
578 2000-11-25 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
580 * ripd.c (rip_request_process): Check passive flag of the
583 2000-11-23 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
585 * rip_interface.c (rip_multicast_join): When IP_ADD_MEMBERSHIP
586 failed do not set runnning flag to the interface.
588 2000-11-16 Kunihiro Ishiguro <kunihiro@zebra.org>
590 * ripd.c (rip_output_process): Memory leak related classfull
591 network generation is fixed.
593 2000-11-16 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
595 * rip_interface.c (if_check_address): Obsolete pointopoint address
598 2000-11-02 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
600 * rip_interface.c (if_check_address): Add pointopoint address
602 (rip_interface_up): Add check for passive interface when interface
605 2000-10-23 Jochen Friedrich <jochen@scram.de>
607 * rip_snmp.c: rip_oid and ripd_oid are used in smux_open after it
608 is registered. So those variables must be static.
610 2000-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
612 * rip_interface.c: Change to "no ip rip (send|receive)" command
613 accept version number argument.
615 2000-10-17 Akihiro Mizutani <mizutani@dml.com>
617 * rip_routemap.c (route_set_ip_nexthop_compile): Change "match ip
618 next-hop" from IP address to access-list name.
620 2000-10-17 Kunihiro Ishiguro <kunihiro@zebra.org>
622 * rip_peer.c: Change ot use linklist.c instaed of newlist.c.
624 2000-10-16 Kunihiro Ishiguro <kunihiro@zebra.org>
626 * rip_offset.c: Change to use linklist.c instead of newlist.c.
628 2000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
630 * zebra-0.89 is released.
632 2000-09-26 Akihiro Mizutani <mizutani@dml.com>
634 * rip_routemap.c (match_ip_nexthop): Add next-hop format check.
636 2000-09-18 David Lipovkov <dlipovkov@OpticalAccess.com>
638 * rip_interface.c (ripd_api_get_if_rx_version): Corrects rip SNMP
639 and rip API functions dealing with rip version.
641 * rip_snmp.c (Status_Valid): SNMPv2-TC TEXTUAL-CONVENTION.
643 2000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
645 * rip_snmp.c (rip2IfLookup): Use rip_ifaddr_lookup_next() instead
646 of rip_if_lookup_next().
648 * rip_interface.c (rip_enable_network_lookup): Interface enable
649 check by interface's address with /32 prefix.
651 * ripd.c (rip_read): When RIP is configured with authentication
652 and no authentication in incoming packet, drop the packet.
654 * rip_interface.c (rip_interface_reset): RIP_AUTH_SIMPLE_PASSWORD
655 is default mode of authentication.
656 (rip_interface_new): Likewise.
657 (no_ip_rip_authentication_mode): Likewise.
659 * ripd.c (rip_read): Likewise.
661 2000-09-10 David Lipovkov <davidl@nbase.co.il>
663 * rip_snmp.c: Set ASN_INTEGER v->type where it is needed.
665 2000-09-08 Kunihiro Ishiguro <kunihiro@zebra.org>
667 * ripd.c (rip_auth_simple_password): Simple password
668 authentication using key-chain.
669 (rip_write_rte): Likewise.
671 * rip_interface.c (ip_rip_authentication_key_chain): Add check for
672 authentication string configuration.
674 2000-09-08 Akihiro Mizutani <mizutani@dml.com>
676 * ripd.c (rip_write_rte): Add check for ri->auth_str.
678 2000-09-07 Kunihiro Ishiguro <kunihiro@zebra.org>
680 * ripd_api.h: New file is added.
682 2000-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
684 * ripd.c (rip_rte_process): rip_route_process() is renamed to
685 rip_rte_process() to clarify meanings of the function.
686 rip_route_process() is newly added to process RIP route selection.
688 2000-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
690 * ripd.c (rip_incoming_filter): Extract incoming filter code to
691 function from rip_route_process(). Add check for all interface
693 (rip_outgoing_filter): Extract incoming filter code to function
694 from rip_output_process(). Add check for all interface filter.
696 * rip_zebra.c (rip_redistribute_clean): Reset redistribute status
697 when "no router rip" is performed.
699 * rip_interface.c (rip_interface_clean): Reset interface's RIP
702 2000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
704 * ripd.c (rip_route_process): When metric infinity is received the
705 route is removed from service immediately.
706 (rip_timeout): Likewise.
707 (rip_garbage_collect): Do not delete route in garbage collection.
708 (rip_output_process): Check metric_out exceed metric infinity.
710 * zebra-0.88 is released.
712 2000-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
714 * ripd.c (rip_distance_apply): Unlock node when there is matched
717 2000-08-13 Akihiro Mizutani <mizutani@dml.com>
719 * rip_routemap.c (match_ip_nexthop): Add check for IP address
721 (no_set_metric): Add new ALIAS.
723 2000-08-07 Kunihiro Ishiguro <kunihiro@zebra.org>
725 * ripd.h (struct rip ): Add distance.
727 2000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
729 * rip_zebra.c (rip_zebra_ipv4_add): Use new Zebra api to register
730 routes. Pass RIP metric value to zebra.
732 2000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
734 * rip_main.c (main): Make struct thread thread from global
735 variable to local variable in main.
737 2000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
739 * ripd.c (rip_packet_dump): Add MD5 authentication dump function.
740 (rip_auth_md5): RIP MD5 authentication packet receive works.
742 2000-08-02 David Lipovkov <davidl@nbase.co.il>
744 * rip_interface.c (rip_if_init): Install interface "pseudo"
746 (rip_interface_delete): Do not call if_delete() when interface is
749 2000-07-31 Kunihiro Ishiguro <kunihiro@zebra.org>
751 * rip_interface.c (ip_rip_authentication_mode): "ip rip
752 authentication mode (md5|text)" is added.
753 (ip_rip_authentication_key_chain): "ip rip authentication
754 key-chain KEY-CHAIN" is added.
755 (rip_interface_clean): Clean all interface configuration.
756 (rip_interface_reset): Reset all interface configuration.
757 (rip_clean_network): Clean rip_enable_network.
759 * ripd.h (struct rip_interface): Add key_chain member.
761 * ripd.c: Include md5-gnu.h.
763 2000-07-30 Kunihiro Ishiguro <kunihiro@zebra.org>
765 * ripd.h (RIP_NO_AUTH): Change RIP_NO_AUTH value from 1 to 0.
767 * ripd.c (rip_authentication): Use RIP_AUTH_SIMPLE_PASSWORD
768 instead of raw value 2.
769 (rip_write_rte): Likewise.
770 (rip_write_rte): Check ri->auth_type instead of ri->auth_str.
772 2000-07-30 David Lipovkov <davidl@nbase.co.il>
774 * rip_interface.c (rip_if_down): Do not delete ZEBRA_ROUTE_KERNEL
777 2000-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
779 * ripd.c (rip_update_process): Add "passive-interface" command.
781 * ripd.h (struct rip_interface): Add passive member to struct
784 2000-07-24 Kunihiro Ishiguro <kunihiro@zebra.org>
786 * rip_interface.c (rip_if_init): Multiple RIP routes for one
787 prefix change. The codes are enclosed by #ifdef NEW_RIP_TABLE.
789 2000-07-24 Akihiro Mizutani <mizutani@dml.com>
791 * rip_interface.c (rip_if_init): Use install_default() for
794 2000-07-24 Kunihiro Ishiguro <kunihiro@zebra.org>
796 * ripd.c: First update timer will be invoked in two seconds.
798 2000-07-09 Jochen Friedrich <jochen@scram.de>
800 * rip_snmp.c: Local function definitions to static. Add INTEGER
801 ASN_INTEGER and TIMETICKS ASN_TIMETICKS definition.
802 (rip2PeerLookup): Peer with domain lookup implemented.
803 (rip2PeerTable): Temporary disable RIP2PEERLASTUPDATE value
804 support due to unknown SNMP agent startup time.
806 2000-07-05 Kunihiro Ishiguro <kunihiro@zebra.org>
808 * ripd.h: Sweep obsolete definitions.
810 * rip_interface.c (rip_split_horizon): Add "ip split-horizon"
813 * ripd.c (rip_output_process): Remove split_horizon argument.
814 (rip_update_process): Likewise.
816 * ripd.h (struct rip_interface): Add split_horizon flag to struct
819 2000-07-04 Akihiro Mizutani <mizutani@dml.com>
821 * ripd.c (rip_version): Change VERSION to <1-2>.
822 Add "no version" command.
824 2000-07-03 Kunihiro Ishiguro <kunihiro@zebra.org>
826 * rip_zebra.c (rip_redistribute_type_metric): "redistribute TYPE
827 metric <0-16>" command is added.
829 * rip_routemap.c (route_set_metric): Set metric_set when metric is
832 * ripd.h (struct rip_info): To check route-map set metric or not,
833 new member metric_set is added to struct rip_info.
835 * ripd.c (rip_route_process): Move metric handling code from
836 rip_response_process() to rip_route_process().
837 (rip_output_process): Set output offset-list metric.
839 2000-07-02 Kunihiro Ishiguro <kunihiro@zebra.org>
841 * rip_offset.c (rip_offset_list): New file for offset-list.
843 2000-07-02 Akihiro Mizutani <mizutani@dml.com>
845 * ripd.h (struct rip ): Add default_metric.
847 * ripd.c (rip_default_metric): "default-metric <1-16>" command is
849 (config_write_rip): Change configuration order.
851 * rip_zebra.c: Fix help strings.
853 2000-07-02 David Lipovkov <davidl@nbase.co.il>
855 * rip_interface.c (rip_if_init): Add IF_DELETE_HOOK.
857 2000-07-01 Kunihiro Ishiguro <kunihiro@zebra.org>
859 * ripd.c (rip_output_process): If specified route-map does not
860 exist, it treated as deny all.
862 2000-06-30 Kunihiro Ishiguro <kunihiro@zebra.org>
864 * rip_routemap.c (rip_route_map_init): Call rip_route_map_update
865 when route-map is deleted.
867 2000-06-28 Kunihiro Ishiguro <kunihiro@zebra.org>
869 * rip_routemap.c (set_metric): For consistency with bgpd's set
870 metric, value range is set to <0-4294967295>.
872 2000-06-28 David Lipovkov <davidl@nbase.co.il>
874 * rip_routemap.c (rip_route_map_update): Add check for rip is
875 enabled or not for avoid core dump.
877 * rip_debug.c (debug_rip_packet_direct): Fix bug of setting
878 rip_debug_packet flag.
880 2000-06-13 David Lipovkov <davidl@nbase.co.il>
882 * rip_interface.c (rip_interface_delete): All work is done in
885 2000-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
887 * ripd.c (rip_redistribute_delete): Fix bug of missing
888 route_unlock_node() when redistribute route is not found.
890 2000-06-05 Akihirof Mizutani <mizutani@dml.com>
892 * rip_debug.c (rip_debug_init): Disable show debugging in
893 VIEW_NODE like other protocol daemon.
895 * rip_routemap.c: Change command argument to more comprehensive.
902 2000-06-05 David Lipovkov <davidl@nbase.co.il>
904 * rip_interface.c (rip_interface_delete): Delete all routes
905 include static and kernel through the interface , because even if
906 the interface is added again there is no guarantee that it will
907 get the same ifindex as before.
909 2000-05-31 Akihirof Mizutani <mizutani@dml.com>
911 * rip_debug.c: Fix rip debug help string.
913 2000-04-27 Mirko Karanovic <mkaranov@torsel.alcatel.com>
915 * rip_interface.c (rip_interface_down): Remove interface from
916 multicast group when interface goes down.
918 2000-04-03 David Lipovkov <davidl@nbase.co.il>
920 * rip_interface.c (rip_interface_down): Implemented rip functions
921 for interface up/down events: rip_interface_up() and
924 2000-03-16 David Lipovkov <davidl@nbase.co.il>
926 * rip_zebra.c (rip_zclient_init): Added rip functions for
927 interface up/down events.
929 2000-02-15 Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
931 * ripd.c (rip_write_rte): "set metic" in route-map has no effect
932 for RIPv1 in ripd. It worked fine for RIPv2.
934 2000-01-17 Kunihiro Ishiguro <kunihiro@zebra.org>
936 * ripd.c (show_ip_protocols_rip): Fix bug of "show ip protocls"
937 mis-display RIP version.
939 * ripd.h (struct rip_peer): Add timeout thread to rip_peer
942 2000-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
944 * rip_peer.c: Add new file for supporting RIP peer.
946 1999-12-26 David Lipovkov <davidl@nbase.co.il>
948 * ripd.c (rip_authentication): RIP authantication string is 16
951 1999-12-10 Kunihiro Ishiguro <kunihiro@zebra.org>
953 * ripd.c (rip_read): Add check for minimum packet length.
954 Authentication check is moved from rip_process_response() to
955 rip_read(). Patch from David Lipovkov <davidl@nbase.co.il> is
956 applied then add rte number check by Kunihiro Ishiguro
957 <kunihiro@zebra.org>.
959 1999-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
961 * ripd.c (rip_response_process): In case of packet is RIPv2 and
962 network is non zero and netmask is zero, apply netmask rule as
965 1999-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
967 * ripd.c (rip_timers): Fix bug of timers basic argument format.
969 1999-11-03 Kunihiro Ishiguro <kunihiro@zebra.org>
971 * rip_snmp.c (rip2IfConfAddress): Forgot to include
974 1999-10-28 Kunihiro Ishiguro <kunihiro@zebra.org>
976 * ripd.h (struct rip_peer): New structure added.
978 1999-10-26 Kunihiro Ishiguro <kunihiro@zebra.org>
980 * rip_zebra.c (rip_zebra_ipv4_add): Increment
981 rip_global_route_changes when route change occur.
982 (rip_zebra_ipv4_delete): Likewise.
984 * ripd.c (rip_request_process): Increment rip_global_queries when
985 reply to the query is sent.
987 1999-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
989 * rip_debug.c (rip_debug_reset): Reset function added.
991 * ripd.c (rip_update_process): Logging bug is fixed.
993 1999-10-10 Marc Boucher <marc@mbsi.ca>
995 * ripd.c (config_write_rip): Add config_write_distribute() call.
997 1999-09-29 Kunihiro Ishiguro <kunihiro@zebra.org>
999 * ripd.c (rip_distribute_update): Fix bug of access-list
1000 prefix-list updates.
1002 1999-09-10 VOP <vop@unity.net>
1004 * rip_zebra.c: Add redistribute route-map feature.
1006 1999-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1008 * ripd.c (rip_response_process): Add check for given prefix is
1009 given mask applied one.
1011 1999-09-03 VOP <vop@unity.net>
1013 * rip_interface.c (rip_interface_multicast_set): Bug fix about
1014 setting multicast interface.
1016 1999-09-02 VOP <vop@unity.net>
1018 * rip_routemap.c: New file added.
1020 1999-09-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1022 * ripd.c (show_ip_protocols_rip): Show next update time.
1023 (show_ip_protocols_rip): Show redistribute information.
1025 1999-08-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1027 * RIPv2-MIB.txt: New file added.
1029 * rip_snmp.c: New file added.
1031 1999-08-24 Kunihiro Ishiguro <kunihiro@zebra.org>
1033 * rip_interface.c (ip_rip_authentication_string): RIPv2
1034 authentication command is added.
1036 1999-08-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1038 * rip_interface.c (rip_interface_multicast_set): Process of
1039 setting IP_MULTICAST_IF on specific interface.
1041 * ripd.c (rip_read): Add packet size check.
1043 1999-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1045 * ripd.c (rip_request_process): Fill in RIP_METRIC_INFINITY with
1046 network byte order using htonl ().
1047 (rip_response_process): Pass host byte order address to IN_CLASSC
1048 and IN_CLASSB macro.
1050 1999-08-08 davidm@nbase.co.il (David Mozes)
1052 * rip_zebra.c (rip_zebra_read_ipv4): Fix split horizon problem.
1054 1999-07-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1056 * ripd.c (rip_timer_set): Function added.
1058 1999-07-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1060 * rip_debug.c: New file added.
1061 rip_debug.h: New file added.
1063 1999-07-01 Rick Payne <rickp@rossfell.co.uk>
1065 * rip_zebra.c (zebra_init): Install standard commands to
1068 1999-06-01 David Luyer <luyer@ucs.uwa.edu.au>
1070 * ripd.c (rip_process_route): Add support for RIP version 1.
1072 1999-05-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1074 * rip_zebra.c: Change to use lib/zclient.[ch].
1076 1999-05-20 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
1078 * ripd.c (rip_add_route): Change the existance route's metric check
1079 to the condition specified by RFC2453.
1081 1999-05-17 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
1083 * ripd.c (rip_process_route): Add the if metric to the route metric.
1085 * ripd.c (rip_add_route): Deleted add if metric to the route.
1087 1999-05-16 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
1089 * rip_interface.c (if_valid_neighbor): New function.
1091 * ripd.c (rip_process_route): Added check whether the datagram
1092 is from a valid neighbor.
1094 1999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1096 * ripd.c (rip_process_route): Set interface pointer to rinfo.
1098 1999-05-15 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
1100 * ripd.c (rip_check_address): Unicast and not net 0 or 127 check
1103 1999-05-14 Stephen R. van den Berg <srb@cuci.nl>
1105 * rip_main.c (signal_init): SIGTERM call sigint.
1106 (sigint): Loggging more better message.
1108 1999-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1110 * ripd.c (rip_add_route): Fix previous route_unlock_node() chenge.
1112 * rip_main.c (main): Change default zlog output to ZLOG_STDOUT for
1115 1999-05-09 Patrick Koppen <koppen@rhrk.uni-kl.de>
1117 * rip_interface.c (rip_request): Fix old semantics for fetching
1120 * ripd.c (rip_add_route): Update timer when the route is updated.
1122 1999-05-09 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
1124 * rip_zebra.c (struct zebra): Add ridist_static, ridist_connect,
1125 redist_rip, redist_ripng.
1127 * rip_zebra.c (zebra_create): Updated for current zebra method.
1129 * ripd.c (rip_add_route): Add missing route_unlock_node().
1131 1999-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1133 * ripd.c (rip_add_route): Add metric check. Reported by Carlos
1134 Alberto Barcenilla <barce@frlp.utn.edu.ar>.
1136 1999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
1138 * syslog support added
1140 1998-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1142 * ripd.c (rip_announce_func): Apply new lib functions.
1144 1998-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1146 * ripd.c (config_write_rip): Delete vector v argument.
1147 * rip_zebra.c (config_write_zebra): Likewise.
1148 * rip_interface.c (interface_config_write): Likewise.
1150 1998-09-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1152 * rip_announce.c (rip_rib_close): When ripd terminates delete all
1155 1998-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1157 * rip_interface.c: return read packet size.
1159 1998-05-18 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1161 * ripd.h: Modify for compile on Solaris.
1163 1998-05-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1165 * ripd.c: DEFUN function return CMD_SUCCESS.
1166 change xmalloc to XMALLOC macro.
1168 1998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1170 * rip_main.c: change CONFDIR to SYSCONFDIR.
1172 1998-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1174 * .cvsignore: added.
1176 1998-02-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1178 * rip_interface.c (config_write_interface): correct ADVERTISE spell.
1180 * rip_main.c (main): add usage() and make cleanup.
1182 1998-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1184 * ripd.c (rip_version): add rip version command.
1186 1998-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1188 * rip_interface.c (zebra_get_interface): added to get
1189 interface's information.
1191 * ChangeLog: create.