+ pidfiles are now always created with 0644 perms instead if LOGFILE_MASK (0600)
[jleu-quagga.git] / ripd / ChangeLog
blobcb24e26958424fc96d7cbb6b506568b8a03e2b2e
1 2007-04-27 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
3         * ripd.c: (rip_vty_out_uptime) Remove unused variable timer_now.
5 2007-04-11 Emmanuel Vize <emmanuel.vize@6wind.com>
7         * ripd.c: (rip_vty_out_uptime) Use new thread_timer_remain_second
8           to display properly the route timeout, displayed by "show ip rip"
10 2007-03-21 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
12         * ripd.c: (show_ip_rip_status) Use new thread_timer_remain_second
13           function instead of rip_next_thread_timer to display the time until
14           next update properly.
15           (rip_next_thread_timer) Remove obsolete function.
17 2006-12-12 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
19         * rip_interface.c: (rip_interface_multicast_set) Use new CONNECTED_ID
20           macro to simplify logic.
21           (rip_request_interface_send) Fix minor bug: ipv4_broadcast_addr does
22           not give a useful result if prefixlen is 32 (we require a peer
23           address in such cases).
24         * ripd.c: (rip_update_interface) Fix same bug as above.
26 2006-09-11 Paul Jakma <paul.jakma@sun.com>
28         * ripd.c: (rip_read) remove gratuitous use of mid-function
29           declaration of vrecv, bug #278.
30         * rip_routemap.c: (route_set_metric) underflow check needs to
31           use signed, problem identified and diagnosed by Pavel
32           Nikiforov in bug #293.
34 2006-06-29 Paul Jakma <paul.jakma@sun.com>
36         * rip_zebra: (general) convert redistribute commands to use
37           the auto-generated defines.
39 2006-05-04 Paul Jakma <paul.jakma@sun.com>
41         * (general) Fixes for bugs #261 and 262. Thanks to
42           Konstantin V. Gavrilenko <kos@arhont.com> for the problem
43           reports, testing of a series of proposed patches and comment
44           on the proposed changes in behaviour.
45         * rip_interface.c: (ip_rip_authentication_mode_cmd) Parse all
46           of the command before making any changes to configured state.
47         * ripd.c: (rip_read) RIP version control should be absolute and
48           always apply, fixes bug #261 by allowing RIPv1 to be disabled.
49           Fix bug #262: If authentication is enabled, then
50           unauthenticated packets should not be accepted. We do however
51           make an exception for RIPv1 REQUEST packets, to which we will
52           reply as RIPv1 can now be disabled fully, to allow ripd to
53           still provide routing /information/ to simple devices.
55 2006-04-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
57         * ripd.c: (rip_update_process) Try to fix the logic for sending
58           an updated on each connected network.  The new code will
59           attempt to send the update on each connected network, whereas
60           the previous code seemed to be attempting to avoid sending
61           more than one RIPv1 update on a given interface, but was coded
62           incorrectly.  The actual effect of the old code was to send
63           an update only on the first connected address in the cases
64           where the interface is not multicast, or RIPv2 is not being used.
66 2006-01-30 Alain Ritoux <alain.ritoux@6wind.com>
68         * ripd.c: correct bug that allowed route learnt through RIP to take
69           precedence over connectd routes
71 2006-01-19 Paul Jakma <paul.jakma@sun.com>
73         * ripd.c: (main) return from main, not exit, cause it annoys SOS.
75 2006-01-17 Paul Jakma <paul.jakma@sun.com>
77         * ripd.c: (rip_auth_md5) remove pdigest, not needed.
78           Use a local buffer for the auth_str, where it can be properly 
79           nul padded. Do so, hence fixing MD5 authentication.  
80           Key looked up via key ring should be used in preference to 
81           the RIPv1 simple password, not other way around.
82           No need to copy around digests, we can reference them
83           directly.
84           The auth_len received can't be trusted, some implementations
85           lie (e.g. older ripd).
86           (rip_auth_md5_ah_write) rename len local variable to doff
87           to be consistent with other functions.
88           (rip_auth_header_write) add the missing return.
89           (rip_auth_md5_set) use the proper constructs to access stream.
90           
91 2005-10-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
93         * ripd.c: (rip_response_process) Instead of calling
94           rip_interface.c:if_valid_neighbor(), call the equivalent
95           library function if_lookup_address().
96         * rip_interface.c: (if_valid_neighbor) Remove function, since it is
97           essentially equivalent to the if_lookup_address() library function.
98         * ripd.h: (if_valid_neighbor) Remove function declaration.
100 2005-10-28 Paul Jakma <paul.jakma@sun.com>
102         * Makefile.am: Add rip_interface.h, or else it doesn't get
103           included in dists.
105 2005-10-26 Paul Jakma <paul.jakma@sun.com>
107         * (general) static/extern functions and definitions.
108         * rip_interface.h: new file, export the public functions from
109           rip_interface.c
110         * ripd.c: Update couple more functions to specify void
111           explicitely.
113 2005-10-17 Vincent Jardin <vincent.jardin@6wind.com>
115         * ripd.c: rip_create_socket() for each packet, it does not bind to the
116           proper interfaces because we forget to use the from address when
117           it is specified.
119 2005-10-06 Alain Ritoux <alain.ritoux@6wind.com>
121         * rip_interface.c: Now the command "no ip rip split-horizon
122           poisoned-reverse" just inhibates the poisoned-reverse effects
123           but keep spli-horizon activ.
125 2005-10-01 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
127         * rip_zebra.c: (config_write_rip_redistribute): Remove local hard-coded
128           table str[]. Replace str[] with calls to new library function
129           zebra_route_string().
130         * ripd.c: Remove local hard-coded table route_info[].
131           (show_ip_rip) Replace uses of str[] with calls to new library
132           functions zebra_route_char and zebra_route_string.
134 2005-09-29 Alain Ritoux <alain.ritoux@6wind.com>
136         * rip_snmp.c: rip2IfConfReceive() sends values in conformance
137           with RFC. Also PeerDomain is now set to a STRING type.
138         * ripd.h: rip_redistribute_add() API includes metric and distance
139           added field external_metric in routes.
140         * ripd.c: rip_redistribute_add() API i.e. stores metric and distance
141       Now allows a RIP-route to overcome a redistributed route coming
142           from a protocol with worse (higher) administrative distance
143           Metrics from redistribution are shown in show ip rip
144         * rip_zebra.c: adapt to the rip_redistribute_add() API, i.e.
145           provide distance and metric
146         * rip_interface.c: adapt to the rip_redistribute_add() API
147         * rip_routemap.c: no RMAP_COMPILE_ERROR on (metric > 16) usage
148           rather a CMD_WARNING, because set metric ius shared with other
149           protocols using larger values (such as OSPF)
150           The match metric action takes first external metric if present
151       (from redistribution) then RIP metric.
153 2005-09-28 Alain Ritoux <alain.ritoux@6wind.com>
155         * ripd.c: use new md5 API
157 2005-08-16 Paul Jakma <paul.jakma@sun.com>
159         * ripd.c: (general) Fix previous commit, broke multicast bind and
160           hence setting of source port, which broke communication with
161           non-borken ripd. Fix removes more stuff from rip_interface.c
162           than it adds to ripd.c ;)
163           (rip_create_socket) the to argument really is a from argument,
164           rename it. Set the source port to RIP port unconditionally, it's
165           required.
166           (rip_send_packet) Set from address correctly for multicast.
167           (rip_output_process) trivial: num can be BSS specified, rather
168           than in body.
169         * rip_interface.c: (rip_interface_multicast_set) strip out
170           redundant stuff related to bind, which rip_create_socket does.
171           Just make it set the multicast socket option, as per the
172           interface concerned, no more.
174 2005-06-03 Paul Jakma <paul.jakma@sun.com>
176         * ripd.c: (rip_create_socket) move it up so rip_send_packet
177           can use it too. Make it static. Remove the getservbyname stuff,
178           as RFC2453 3.9.2 says non-RIP port messages should be discarded,
179           quagga doesnt accept them, no need to lookup port.
180           Take a 'to' argument, if socket should be bound to something else.
181           setsockopt_so_recvbuf might need privs, move it to the raised
182           privileges section.
183           dont forget to close the socket if bind fails.
184           (rip_send_packet) use strncpy, just in case (address is under
185           our control anyway, but still).
186           dont duplicate rip_create_socket - just use it.
187           (rip_create) rip_create_socket takes an argument now, modify.
188           
189 2005-06-01 Paul Jakma <paul.jakma@sun.com>
191         * rip_interface.c: Fix authentication, no-auth impossible to specify
192           (rip_interface_new) default to RIP_NO_AUTH
193           (rip_interface_reset) ditto
194           (rip_interface_config_write) write out config for simple
195           
196 2005-05-29 Paul Jakma <paul@dishone.st>
198         * ripd.c: (rip_output_process) fix error which crept in my
199           previous rip auth untanglement commit - it had become impossible
200           to not have authentication (even for v1).
201         
202 2005-05-28 Hasso Tepper <hasso at quagga.net>
204         * rip_routemap.c: Fix set_metric_addsub_cmd help, it's not about BGP
205           metric.
207 2005-05-26 Hasso Tepper <hasso at quagga.net>
209         * rip_routemap.c: In case of '0.0.0.0' used as 'nexthop', use sender
210           address as nexthop in routemap.
212 2005-05-26 Hasso Tepper <hasso at quagga.net>
214         * rip_routemap.c: Make "match interface" routemap command match both -
215           in and out interfaces.
217 2005-05-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
219         * rip_interface.c (rip_interface_add): Need to call
220           rip_passive_interface_apply (was already calling it in
221           rip_interface_up).
223 2005-04-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
225         * rip_zebra.c (rip_redistribute_set, rip_redistribute_unset,
226           rip_redistribute_clean): Change 2nd arg to zebra_redistribute_send
227           from zclient->sock to zclient.
229 2005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
231         * rip_interface.c: (rip_interface_delete) After deleting, set
232           ifp->ifindex to IFINDEX_INTERNAL.
234 2005-02-04 Paul Jakma <paul@dishone.st>
236         * ripd.c: Untangle the construction of RIP auth data.
237           (rip_auth_prepare_str_send) new helper function, prepare
238           correct key string.
239           (rip_auth_simple_write) new helper, write out the
240           rip simple password auth psuedo-RTE.
241           (rip_auth_md5_ah_write) new helper, write out the
242           MD5 auth-header psuedo-RTE.
243           (rip_auth_header_write) new helper, write out correct
244           auth header data / psuedo-RTE.
245           (rip_auth_md5_set) rip out the memmove and writing of the
246           auth header psuedo-RTE. So that all that is left is to
247           write the trailing auth digest, and update digest offset
248           field in the original header.
249           (rip_write_rte) rip out writing of RIP header, writing of
250           simple auth data psuedo-RTE. Make it do what its name suggests,
251           write out actual RTEs.
252           (rip_output_process) remove the incorrect additional decrements 
253           of rtemax. Prepare the auth_str, which simple or MD5 auth will
254           need. Move write out of RIP header and auth data to inside the
255           loop. Adjust paramaters as required.
257 2005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
259         * ripd.c: (rip_create_socket) Replace perror with zlog_err.
261 2005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
263         * ripd.c: (rip_create_socket) Save errno before calling
264           ripd_privs.change.
266 2005-01-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
268         * ripd.c: (rip_recvmsg) Use ZCMSG_FIRSTHDR instead of CMSG_FIRSTHDR.
270 2004-12-15 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
272         * ripd.c: (rip_read) Improve 2 error messages to show the source of
273           the packet when the lookup fails.
275 2004-12-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
277         * *.c: Change level of debug messages to LOG_DEBUG.
279 2004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
281         * rip_main.c: (main) The 2nd argument to openzlog has been removed.
283 2004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
285         * rip_main.c: (sigint) Use zlog_notice for termination message.
286           (main) Add a startup announcement using zlog_notice.
288 2004-11-25 Hasso Tepper <hasso at quagga.net>
290         * rip_main.c: Make group to run as configurable.
292 2004-10-22 Paul Jakma <paul@dishone.st>
294         * ripd.c: Collapse redundant passing of various address structs,
295           struct interface and struct connected as arguments to functions
296           down to two key arguments, namely struct connected and, possibly,
297           address of source/destination. Testing for RIPv1 would be useful.
298           (rip_read) lookup struct connected for the received packet, pass
299           it on.
300         * rip_interface.c: With previous changes, we no longer have to tread
301           carefully with struct connected, as it will always be there and
302           valid.
304 2004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
306         * ripd.c: (rip_update_interface) if connected->destination is NULL,
307           get the broadcast address with ipv4_broadcast_addr()
308         * rip_interface.c: (rip_interface_multicast_set)
309           connected->destination may be NULL. Improve message if
310           setsockopt_multicast_ipv4 fails. Improve message if bind fails.
311           (rip_request_interface_send) If connected->destination is NULL,
312           get the broadcast address with ipv4_broadcast_addr().
313           (if_valid_neighbor) Handle PtP subnet addressing properly.
314           Speed up code by using prefix_match properly.
316 2004-10-13 Hasso Tepper <hasso at quagga.net>
318         * ripd_snmp.c: Remove defaults used to initialize smux connection to
319           snmpd. Connection is initialized only if smux peer is configured.
321 2004-10-11 Hasso Tepper <hasso at quagga.net>
323         * *.c: Make more strings const.
325 2004-10-08 Hasso Tepper <hasso at quagga.net>
327         * *.c: Fix compiler warnings: make strings const, signed -> unsigned
328           etc.
330 2004-09-26 Hasso Tepper <hasso at quagga.net>
332         * ripd.c: Fix compiler warning.
334 2004-09-23 Hasso Tepper <hasso at quagga.net>
336         * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
338 2004-09-17 Paul Jakma <paul@dishone.st>
340         * ripd.c: set receive buffer to a decent size, some systems have low
341           defaults. Problem noted and fix suggested by Stephan Schweizer
342           in [zebra 20967].
344 2004-08-19 Paul Jakma <paul@dishone.st>
346         * rip_interface.c: (rip_interface_multicast_set) get rid
347           of extraneous if_pointopoint arg. ifp is accessible via connected.
348           pass connected->ifp->ifindex to setsockopt_multicast_ipv4.
349         * ripd.c: (rip_send_packet) update call to
350           rip_interface_multicast_set
351         * ripd.h: update rip_interface_multicast_set prototype
352         
353 2004-06-11 Sowmini Varadhan <sowmini.varadhan@sun.com>
355         * ripd.c: (rip_distribute_update_all) distribute list hook
356           function pointer prototype requires struct prefix_list * arg.
357           (rip_distribute_update_all_wrapper) update to pass required arg,
358           NULL.
359          
360 2004-06-06 Paul Jakma <paul.jakma@sun.com>
362         * ripd.h: Add define for the RIPv2 Authentication Data family
363           Move the auth type defines up to where other defines live.
364           Add RIP_AUTH_MD5_COMPAT_SIZE, for backwards compatible
365           md5->auth_len size. Add md5_auth_len field to struct
366           rip_interface: (rip_interface_new) Init md5_auth_len to compatible 
367           size.
368           (ip_rip_authentication_mode_cmd) Extended to handle setting
369           md5 auth-length. Appropriate aliases added.
370           (no_ip_rip_authentication_mode_cmd) Reset md5_auth_len to
371           compatible size.
372           (rip_interface_config_write) Teach it about md5_auth_len.
373           _always_ write out the auth-length, so that everyone will get
374           the setting in their config file, and hence allow for a future
375           change of default for md5_auth_len to be less painful - every md5
376           user will have this setting in their config file.
377           ripd.c: (rip_packet_dump) Change nasty hard coded constants to 
378           symbolic defines. Change various tests of 'ntoh.(variable) ==
379           constant' to test 'variable == ntoh.(constant)'. Clean up
380           indentation on some long lines.
381           (rip_auth_simple_password) ditto.
382           (rip_auth_md5) ditto, also add length argument and sanity check 
383           md5 data offset field. Sanity check md5 auth length, accept RFC
384           or old-ripd/cisco lengths.
385           (rip_auth_md5_set) as per (rip_packet_dump), also write out
386           the configured md5 auth length for the interface (old-ripd or rfc)
387           (rip_read) as per (rip_packet_dump)
388           (rip_write_rte) ditto
389           (rip_response_process) ditto
390           (rip_write_rte) ditto
391           
392 2004-06-04 JJ Ludman <jacques.ludman@sun.com>
394         * ripd.c: Interoperability fix. Correct value for MD5 auth length
395           is 16. Accept packets with this set to >= 16, and set to 16
396           ourselves.
398 2004-05-31 Sowmini Varadhan <sowmini.varadhan@sun.com>
400         * ripd.c: Fixup compile warnings
401         * rip_routemap.c: Ditto
402         
403 2004-05-08 Paul Jakma <paul@dishone.st>
405         * rip_zebra.c: sync with zclient changes.
406         * rip_interface.c: ditto.
408 2004-05-05 Anthony.Golia@morganstanley.com
410         * ripd.c: (rip_update_jitter) Bound jitter to a more sensible
411           value, eg 1/4 of update time.
412           
413 2004-05-03 Paul Jakma <paul@dishone.st>
415         * ripd.c: (rip_rte_process) fix typo in merge of previous patch
416           and run function through indent.
417         
418 2004-03-19 Jean-Yves Simon <lethalwp@tiscali.be>
420         * ripd.c: (rip_rte_process) make ripd also check on 
421           administrative distance of his own links to update routes.
423 2004-03-18 sowmini.varadhan@sun.com
425         * ripd.c: rip_send_packet can get null connected address when
426           called in response to a unicast rip-request. Handle correctly.
428 2004-03-03 Krzysztof Oledzki <oleq@ans.pl>
430         * ripd.c: fix "show ip rip" and per interface rip version selection.
432 2004-01-23 sowmini.varadhan@sun.com
434         * rip_interface.c: obsolete unbind code in
435         rip_interface_multicast_set, and instead do the more portable
436         (though slower) method of creating a socket for each outgoing packet
437         and binding the source address on the new socket.
438         * rip_interface.c, ripd.c, ripd.h: Modify rip_request_send so that
439         source address is determined by the caller of rip_request_send for
440         ripv1 packets and non-multicast interfaces (rip_request_send loops
441         over all connected address in all other cases).
442         * rip_send_packet: don't send packets with source set to
443         ZEBRA_IFA_SECONDARY connected addresses; improved debug messages;
445 2003-06-07 Andrew J. Schorr <aschorr@telemetry-investments.com>
447         * Allow ripd to receive RIPv1
448         * add default as valid param to passive-interface command
450 2003-05-25 Vincent Jardin <vjardin@wanadoo.fr>
452         * 6Wind patch merge.
454 2003-04-19 Hasso Tepper <hasso@estpak.ee>
456         * rip_routemap.c: sync daemon's route-map commands to have same
457         syntax
459 2002-07-07  Kunihiro Ishiguro  <kunihiro@ipinfusion.com>
461         * zebra-0.93 released.
463 2002-06-30  Kunihiro Ishiguro  <kunihiro@ipinfusion.com>
465         * ripd.c (rip_output_process): When outgoing interface is same as
466         next hop interface, announce RIPv2 next hop otherwise set next hop
467         to 0.  Revert previous change then take 6WIND way.
469 2001-09-14  Akihiro Mizutani <mizutani@dml.com>
471         * ripd.c: RIP enabled interface's route is advertised by default.
473 2001-08-28  NOGUCHI Kay <kay@v6.access.co.jp>
475         * rip_snmp.c (rip_ifaddr_delete): Add route_node_lookup() return
476         value check.
478         * rip_interface.c (rip_multicast_leave): Fix bug of multiple IP
479         address on one interface multicast join/leave bug.
481 2001-08-26  NOGUCHI Kay <kay@v6.access.co.jp>
483         * rip_interface.c (no_rip_passive_interface): Add NO_STR.
485 2001-08-19  Kunihiro Ishiguro  <kunihiro@ipinfusion.com>
487         * zebra-0.92a released.
489 2001-08-15  Kunihiro Ishiguro  <kunihiro@ipinfusion.com>
491         * zebra-0.92 released.
493 2001-06-17  Kunihiro Ishiguro  <kunihiro@zebra.org>
495         * rip_routemap.c (route_match_ip_address_prefix_list): Add match
496         ip next-hop prefix-list WORD.
498 2001-02-18  Kunihiro Ishiguro  <kunihiro@zebra.org>
500         * rip_interface.c (rip_passive_interface_clean): Call
501         rip_passive_interface_apply_all.
503 2001-02-12  Kunihiro Ishiguro  <kunihiro@zebra.org>
505         * ripd.c (rip_response_process): Multicast address nexthop check
506         is moved from rip_nexthop_check.
508 2001-02-08  Matthew Grant <grantma@anathoth.gen.nz>
510         * rip_interface.c (ipv4_multicast_join): Use
511         setsockopt_multicast_ipv4.
512         (ipv4_multicast_leave): Likewise.
513         (rip_if_ipv4_address_check): Interface which has IPv4 address can
514         be enabled.
516 2001-02-08  Kunihiro Ishiguro  <kunihiro@zebra.org>
518         * rip_interface.c (rip_interface_delete): To support pseudo
519         interface do not free interface structure.
520         * ripd.c (rip_output_process): If output interface is in simple
521         password authentication mode, we need space for authentication
522         data.
524 2001-02-01  Kunihiro Ishiguro  <kunihiro@zebra.org>
526         * ripd.c (rip_nexthop_check): Fix multicast address nexthop check.
528         * zebra-0.91 is released.
530 2001-01-27  Kunihiro Ishiguro  <kunihiro@zebra.org>
532         * ripd.c (show_ip_rip): Show metric infinity route's timeout.
533         (rip_rte_process): If current route is metric infinity, route is
534         replaced with received rte.
535         (rip_redistribute_delete): When redistribute route is deleted,
536         perform poisoned reverse.
537         (rip_redistribute_withdraw): Likewise.
539 2001-01-25  Kunihiro Ishiguro  <kunihiro@zebra.org>
541         * ripd.c (rip_response_process): RIPv2 routing table entry with
542         non directly reachable nexthop was dropped.  The code is changed
543         to treat it as 0.0.0.0 nexthop.
544         (rip_destination_check): Check net 0 address destination.
545         (rip_nexthop_check): New function for checking nexthop address
546         validity.
548 2001-01-15  Kunihiro Ishiguro  <kunihiro@zebra.org>
550         * ripd.c (rip_request_process): Triggered update only send changed
551         route.
553         * rip_interface.c: Delete RIP_API part until new implementation
554         comes out.
556         * rip_snmp.: Likewise.
558         * rip_zebra.c: Likewise.
560         * ripd.c: Likewise. 
562 2001-01-11  Kunihiro Ishiguro  <kunihiro@zebra.org>
564         * rip_interface.c (rip_if_init): Remove HAVE_IF_PSEUDO part.
566 2001-01-09  Kunihiro Ishiguro  <kunihiro@zebra.org>
568         * zebra-0.90 is released.
570 2001-01-01  Kunihiro Ishiguro  <kunihiro@zebra.org>
572         * ripd.h (RIP_VTYSH_PATH): Change "/tmp/ripd" to "/tmp/.ripd".
574 2000-12-25  David Lipovkov <davidl@nbase.co.il>
576         * ripd.c (rip_rte_process): When a route is in garbage collection
577         process (invalid with metric 16) and a router receives the same
578         route with valid metric then route was not installed into zebra
579         rib, but only into ripd rib. Moreover , it will never get into
580         zebra rib, because ripd wrongly assumes it's already there.
581         (rip_redistribute_add): When doing redistribute into rip other
582         route (e.g. connected) and the same route exists in ripd rib we
583         changed it in place - bug. Now we don't forget to remove old route
584         from zebra.
585         (rip_timeout): When removing routes from zebra I made sure that we
586         remove route with the metric we have in zebra and not the new
587         one. It doesn't make a difference now,but could be significant
588         when multipath support is done.
590 2000-12-25  David Lipovkov <davidl@nbase.co.il>
592         * rip_zebra.c (rip_metric_unset): Fix bug of metric value unset.
594 2000-11-25  Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
596         * ripd.c (rip_request_process): Check passive flag of the
597         interface.
599 2000-11-23  Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
601         * rip_interface.c (rip_multicast_join): When IP_ADD_MEMBERSHIP
602         failed do not set runnning flag to the interface.
604 2000-11-16  Kunihiro Ishiguro  <kunihiro@zebra.org>
606         * ripd.c (rip_output_process): Memory leak related classfull
607         network generation is fixed.
609 2000-11-16  Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
611         * rip_interface.c (if_check_address): Obsolete pointopoint address
612         check is removed.
614 2000-11-02  Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
616         * rip_interface.c (if_check_address): Add pointopoint address
617         check.
618         (rip_interface_up): Add check for passive interface when interface
619         goes up.
621 2000-10-23  Jochen Friedrich <jochen@scram.de>
623         * rip_snmp.c: rip_oid and ripd_oid are used in smux_open after it
624         is registered.  So those variables must be static.
626 2000-10-19  Kunihiro Ishiguro  <kunihiro@zebra.org>
628         * rip_interface.c: Change to "no ip rip (send|receive)" command
629         accept version number argument.
631 2000-10-17  Akihiro Mizutani <mizutani@dml.com>
633         * rip_routemap.c (route_set_ip_nexthop_compile): Change "match ip
634         next-hop" from IP address to access-list name.
636 2000-10-17  Kunihiro Ishiguro  <kunihiro@zebra.org>
638         * rip_peer.c: Change ot use linklist.c instaed of newlist.c.
640 2000-10-16  Kunihiro Ishiguro  <kunihiro@zebra.org>
642         * rip_offset.c: Change to use linklist.c instead of newlist.c.
644 2000-10-02  Kunihiro Ishiguro  <kunihiro@zebra.org>
646         * zebra-0.89 is released.
648 2000-09-26  Akihiro Mizutani <mizutani@dml.com>
650         * rip_routemap.c (match_ip_nexthop): Add next-hop format check.
652 2000-09-18  David Lipovkov <dlipovkov@OpticalAccess.com>
654         * rip_interface.c (ripd_api_get_if_rx_version): Corrects rip SNMP
655         and rip API functions dealing with rip version.
657         * rip_snmp.c (Status_Valid): SNMPv2-TC TEXTUAL-CONVENTION.
659 2000-09-10  Kunihiro Ishiguro  <kunihiro@zebra.org>
661         * rip_snmp.c (rip2IfLookup): Use rip_ifaddr_lookup_next() instead
662         of rip_if_lookup_next().
664         * rip_interface.c (rip_enable_network_lookup): Interface enable
665         check by interface's address with /32 prefix.
667         * ripd.c (rip_read): When RIP is configured with authentication
668         and no authentication in incoming packet, drop the packet.
670         * rip_interface.c (rip_interface_reset): RIP_AUTH_SIMPLE_PASSWORD
671         is default mode of authentication.
672         (rip_interface_new): Likewise.
673         (no_ip_rip_authentication_mode): Likewise.
675         * ripd.c (rip_read): Likewise.
677 2000-09-10  David Lipovkov <davidl@nbase.co.il>
679         * rip_snmp.c: Set ASN_INTEGER v->type where it is needed.
681 2000-09-08  Kunihiro Ishiguro  <kunihiro@zebra.org>
683         * ripd.c (rip_auth_simple_password): Simple password
684         authentication using key-chain.
685         (rip_write_rte): Likewise.
687         * rip_interface.c (ip_rip_authentication_key_chain): Add check for
688         authentication string configuration.
690 2000-09-08  Akihiro Mizutani <mizutani@dml.com>
692         * ripd.c (rip_write_rte): Add check for ri->auth_str.
694 2000-09-07  Kunihiro Ishiguro  <kunihiro@zebra.org>
696         * ripd_api.h: New file is added.
698 2000-08-22  Kunihiro Ishiguro  <kunihiro@zebra.org>
700         * ripd.c (rip_rte_process): rip_route_process() is renamed to
701         rip_rte_process() to clarify meanings of the function.
702         rip_route_process() is newly added to process RIP route selection.
704 2000-08-18  Kunihiro Ishiguro  <kunihiro@zebra.org>
706         * ripd.c (rip_incoming_filter): Extract incoming filter code to
707         function from rip_route_process(). Add check for all interface
708         filter.
709         (rip_outgoing_filter): Extract incoming filter code to function
710         from rip_output_process().  Add check for all interface filter.
712         * rip_zebra.c (rip_redistribute_clean): Reset redistribute status
713         when "no router rip" is performed.
715         * rip_interface.c (rip_interface_clean): Reset interface's RIP
716         enable status.
718 2000-08-17  Kunihiro Ishiguro  <kunihiro@zebra.org>
720         * ripd.c (rip_route_process): When metric infinity is received the
721         route is removed from service immediately.
722         (rip_timeout): Likewise.
723         (rip_garbage_collect): Do not delete route in garbage collection.
724         (rip_output_process): Check metric_out exceed metric infinity.
726         * zebra-0.88 is released.
728 2000-08-15  Kunihiro Ishiguro  <kunihiro@zebra.org>
730         * ripd.c (rip_distance_apply): Unlock node when there is matched
731         node.
733 2000-08-13  Akihiro Mizutani <mizutani@dml.com>
735         * rip_routemap.c (match_ip_nexthop): Add check for IP address
736         validness.
737         (no_set_metric): Add new ALIAS.
739 2000-08-07  Kunihiro Ishiguro  <kunihiro@zebra.org>
741         * ripd.h (struct rip ): Add distance.
743 2000-08-05  Kunihiro Ishiguro  <kunihiro@zebra.org>
745         * rip_zebra.c (rip_zebra_ipv4_add): Use new Zebra api to register
746         routes.  Pass RIP metric value to zebra.
748 2000-08-02  Kunihiro Ishiguro  <kunihiro@zebra.org>
750         * rip_main.c (main): Make struct thread thread from global
751         variable to local variable in main.
753 2000-08-06  Kunihiro Ishiguro  <kunihiro@zebra.org>
755         * ripd.c (rip_packet_dump): Add MD5 authentication dump function.
756         (rip_auth_md5): RIP MD5 authentication packet receive works.
758 2000-08-02  David Lipovkov <davidl@nbase.co.il>
760         * rip_interface.c (rip_if_init): Install interface "pseudo"
761         commands.
762         (rip_interface_delete): Do not call if_delete() when interface is
763         pseudo interface.
765 2000-07-31  Kunihiro Ishiguro  <kunihiro@zebra.org>
767         * rip_interface.c (ip_rip_authentication_mode): "ip rip
768         authentication mode (md5|text)" is added.
769         (ip_rip_authentication_key_chain): "ip rip authentication
770         key-chain KEY-CHAIN" is added.
771         (rip_interface_clean): Clean all interface configuration.
772         (rip_interface_reset): Reset all interface configuration.
773         (rip_clean_network): Clean rip_enable_network.
775         * ripd.h (struct rip_interface): Add key_chain member.
777         * ripd.c: Include md5-gnu.h.
779 2000-07-30  Kunihiro Ishiguro  <kunihiro@zebra.org>
781         * ripd.h (RIP_NO_AUTH): Change RIP_NO_AUTH value from 1 to 0.
783         * ripd.c (rip_authentication): Use RIP_AUTH_SIMPLE_PASSWORD
784         instead of raw value 2.
785         (rip_write_rte): Likewise.
786         (rip_write_rte): Check ri->auth_type instead of ri->auth_str.
788 2000-07-30  David Lipovkov <davidl@nbase.co.il>
790         * rip_interface.c (rip_if_down): Do not delete ZEBRA_ROUTE_KERNEL
791         route.
793 2000-07-27  Kunihiro Ishiguro  <kunihiro@zebra.org>
795         * ripd.c (rip_update_process): Add "passive-interface" command.
797         * ripd.h (struct rip_interface): Add passive member to struct
798         rip_interface.
800 2000-07-24  Kunihiro Ishiguro  <kunihiro@zebra.org>
802         * rip_interface.c (rip_if_init): Multiple RIP routes for one
803         prefix change.  The codes are enclosed by #ifdef NEW_RIP_TABLE.
805 2000-07-24  Akihiro Mizutani <mizutani@dml.com>
807         * rip_interface.c (rip_if_init): Use install_default() for
808         INTERFACE_NODE.
810 2000-07-24  Kunihiro Ishiguro <kunihiro@zebra.org>
812         * ripd.c: First update timer will be invoked in two seconds.
814 2000-07-09  Jochen Friedrich <jochen@scram.de>
816         * rip_snmp.c: Local function definitions to static.  Add INTEGER
817         ASN_INTEGER and TIMETICKS ASN_TIMETICKS definition.
818         (rip2PeerLookup): Peer with domain lookup implemented.
819         (rip2PeerTable): Temporary disable RIP2PEERLASTUPDATE value
820         support due to unknown SNMP agent startup time.
822 2000-07-05  Kunihiro Ishiguro  <kunihiro@zebra.org>
824         * ripd.h: Sweep obsolete definitions.
826         * rip_interface.c (rip_split_horizon): Add "ip split-horizon"
827         command.
829         * ripd.c (rip_output_process): Remove split_horizon argument.
830         (rip_update_process): Likewise.
832         * ripd.h (struct rip_interface): Add split_horizon flag to struct
833         rip_interface.
835 2000-07-04  Akihiro Mizutani <mizutani@dml.com>
837         * ripd.c (rip_version): Change VERSION to <1-2>.
838         Add "no version" command.
840 2000-07-03  Kunihiro Ishiguro  <kunihiro@zebra.org>
842         * rip_zebra.c (rip_redistribute_type_metric): "redistribute TYPE
843         metric <0-16>" command is added.
845         * rip_routemap.c (route_set_metric): Set metric_set when metric is
846         modified.
848         * ripd.h (struct rip_info): To check route-map set metric or not,
849         new member metric_set is added to struct rip_info.
851         * ripd.c (rip_route_process): Move metric handling code from
852         rip_response_process() to rip_route_process().
853         (rip_output_process): Set output offset-list metric.
855 2000-07-02  Kunihiro Ishiguro  <kunihiro@zebra.org>
857         * rip_offset.c (rip_offset_list): New file for offset-list.
859 2000-07-02  Akihiro Mizutani <mizutani@dml.com>
861         * ripd.h (struct rip ): Add default_metric.
863         * ripd.c (rip_default_metric): "default-metric <1-16>" command is
864         added.
865         (config_write_rip): Change configuration order.
866         
867         * rip_zebra.c: Fix help strings.
869 2000-07-02  David Lipovkov <davidl@nbase.co.il>
871         * rip_interface.c (rip_if_init): Add IF_DELETE_HOOK.
873 2000-07-01  Kunihiro Ishiguro  <kunihiro@zebra.org>
875         * ripd.c (rip_output_process): If specified route-map does not
876         exist, it treated as deny all.
878 2000-06-30  Kunihiro Ishiguro  <kunihiro@zebra.org>
880         * rip_routemap.c (rip_route_map_init): Call rip_route_map_update
881         when route-map is deleted.
883 2000-06-28  Kunihiro Ishiguro  <kunihiro@zebra.org>
885         * rip_routemap.c (set_metric): For consistency with bgpd's set
886         metric, value range is set to <0-4294967295>.
887         
888 2000-06-28  David Lipovkov <davidl@nbase.co.il>
890         * rip_routemap.c (rip_route_map_update): Add check for rip is
891         enabled or not for avoid core dump.
893         * rip_debug.c (debug_rip_packet_direct): Fix bug of setting
894         rip_debug_packet flag.
896 2000-06-13  David Lipovkov <davidl@nbase.co.il>
898         * rip_interface.c (rip_interface_delete): All work is done in
899         rip_if_down().
901 2000-06-06  Kunihiro Ishiguro  <kunihiro@zebra.org>
903         * ripd.c (rip_redistribute_delete): Fix bug of missing
904         route_unlock_node() when redistribute route is not found.
906 2000-06-05  Akihirof Mizutani <mizutani@dml.com>
908         * rip_debug.c (rip_debug_init): Disable show debugging in
909         VIEW_NODE like other protocol daemon.
911         * rip_routemap.c: Change command argument to more comprehensive.
913         METRIC       -> <0-16>
914         IFNAME       -> WORD
915         IP_ADDR      -> A.B.C.D
916         ACCSESS_LIST -> WORD
918 2000-06-05  David Lipovkov <davidl@nbase.co.il>
920         * rip_interface.c (rip_interface_delete): Delete all routes
921         include static and kernel through the interface , because even if
922         the interface is added again there is no guarantee that it will
923         get the same ifindex as before.
925 2000-05-31  Akihirof Mizutani <mizutani@dml.com>
927         * rip_debug.c: Fix rip debug help string.
929 2000-04-27  Mirko Karanovic <mkaranov@torsel.alcatel.com>
931         * rip_interface.c (rip_interface_down): Remove interface from
932         multicast group when interface goes down.
934 2000-04-03  David Lipovkov <davidl@nbase.co.il>
936         * rip_interface.c (rip_interface_down): Implemented rip functions
937         for interface up/down events: rip_interface_up() and
938         rip_interface_down()
940 2000-03-16  David Lipovkov <davidl@nbase.co.il>
942         * rip_zebra.c (rip_zclient_init): Added rip functions for
943         interface up/down events.
945 2000-02-15  Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
947         * ripd.c (rip_write_rte): "set metic" in route-map has no effect
948         for RIPv1 in ripd.  It worked fine for RIPv2.
950 2000-01-17  Kunihiro Ishiguro  <kunihiro@zebra.org>
952         * ripd.c (show_ip_protocols_rip): Fix bug of "show ip protocls"
953         mis-display RIP version.
955         * ripd.h (struct rip_peer): Add timeout thread to rip_peer
956         structure.
958 2000-01-16  Kunihiro Ishiguro  <kunihiro@zebra.org>
960         * rip_peer.c: Add new file for supporting RIP peer.
962 1999-12-26  David Lipovkov <davidl@nbase.co.il>
964         * ripd.c (rip_authentication): RIP authantication string is 16
965         bytes long.
967 1999-12-10  Kunihiro Ishiguro  <kunihiro@zebra.org>
969         * ripd.c (rip_read): Add check for minimum packet length.
970         Authentication check is moved from rip_process_response() to
971         rip_read().  Patch from David Lipovkov <davidl@nbase.co.il> is
972         applied then add rte number check by Kunihiro Ishiguro
973         <kunihiro@zebra.org>.
975 1999-12-07  Kunihiro Ishiguro  <kunihiro@zebra.org>
977         * ripd.c (rip_response_process): In case of packet is RIPv2 and
978         network is non zero and netmask is zero, apply netmask rule as
979         same as RIPv1.
981 1999-11-06  Kunihiro Ishiguro  <kunihiro@zebra.org>
983         * ripd.c (rip_timers): Fix bug of timers basic argument format.
985 1999-11-03  Kunihiro Ishiguro  <kunihiro@zebra.org>
987         * rip_snmp.c (rip2IfConfAddress): Forgot to include
988         RIP2IFCONFDOMAIN.
990 1999-10-28  Kunihiro Ishiguro  <kunihiro@zebra.org>
992         * ripd.h (struct rip_peer): New structure added.
994 1999-10-26  Kunihiro Ishiguro  <kunihiro@zebra.org>
996         * rip_zebra.c (rip_zebra_ipv4_add): Increment
997         rip_global_route_changes when route change occur.
998         (rip_zebra_ipv4_delete): Likewise.
1000         * ripd.c (rip_request_process): Increment rip_global_queries when
1001         reply to the query is sent.
1003 1999-10-25  Kunihiro Ishiguro  <kunihiro@zebra.org>
1005         * rip_debug.c (rip_debug_reset): Reset function added.
1007         * ripd.c (rip_update_process): Logging bug is fixed. 
1009 1999-10-10  Marc Boucher <marc@mbsi.ca>
1011         * ripd.c (config_write_rip): Add config_write_distribute() call.
1013 1999-09-29  Kunihiro Ishiguro  <kunihiro@zebra.org>
1015         * ripd.c (rip_distribute_update): Fix bug of access-list
1016         prefix-list updates.
1018 1999-09-10  VOP <vop@unity.net>
1020         * rip_zebra.c: Add redistribute route-map feature.
1022 1999-09-10  Kunihiro Ishiguro  <kunihiro@zebra.org>
1024         * ripd.c (rip_response_process): Add check for given prefix is
1025         given mask applied one.
1027 1999-09-03  VOP <vop@unity.net>
1029         * rip_interface.c (rip_interface_multicast_set): Bug fix about
1030         setting multicast interface.
1032 1999-09-02  VOP <vop@unity.net>
1034         * rip_routemap.c: New file added.
1036 1999-09-02  Kunihiro Ishiguro  <kunihiro@zebra.org>
1038         * ripd.c (show_ip_protocols_rip): Show next update time.
1039         (show_ip_protocols_rip): Show redistribute information.
1041 1999-08-25  Kunihiro Ishiguro  <kunihiro@zebra.org>
1043         * RIPv2-MIB.txt: New file added.
1045         * rip_snmp.c: New file added.
1047 1999-08-24  Kunihiro Ishiguro  <kunihiro@zebra.org>
1049         * rip_interface.c (ip_rip_authentication_string): RIPv2
1050         authentication command is added.
1052 1999-08-23  Kunihiro Ishiguro  <kunihiro@zebra.org>
1054         * rip_interface.c (rip_interface_multicast_set): Process of
1055         setting IP_MULTICAST_IF on specific interface.
1057         * ripd.c (rip_read): Add packet size check.
1059 1999-08-16  Kunihiro Ishiguro  <kunihiro@zebra.org>
1061         * ripd.c (rip_request_process): Fill in RIP_METRIC_INFINITY with
1062         network byte order using htonl ().
1063         (rip_response_process): Pass host byte order address to IN_CLASSC
1064         and IN_CLASSB macro.
1066 1999-08-08  davidm@nbase.co.il (David Mozes)
1068         * rip_zebra.c (rip_zebra_read_ipv4): Fix split horizon problem.
1070 1999-07-03  Kunihiro Ishiguro  <kunihiro@zebra.org>
1072         * ripd.c (rip_timer_set): Function added.
1074 1999-07-01  Kunihiro Ishiguro  <kunihiro@zebra.org>
1076         * rip_debug.c: New file added.
1077         rip_debug.h: New file added.
1079 1999-07-01  Rick Payne <rickp@rossfell.co.uk>
1081         * rip_zebra.c (zebra_init): Install standard commands to
1082         ZEBRA_NODE.
1084 1999-06-01  David Luyer <luyer@ucs.uwa.edu.au>
1086         * ripd.c (rip_process_route): Add support for RIP version 1.
1088 1999-05-29  Kunihiro Ishiguro  <kunihiro@zebra.org>
1090         * rip_zebra.c: Change to use lib/zclient.[ch].
1092 1999-05-20  Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
1094         * ripd.c (rip_add_route): Change the existance route's metric check
1095           to the condition specified by RFC2453. 
1096         
1097 1999-05-17  Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
1099         * ripd.c (rip_process_route): Add the if metric to the route metric.
1101         * ripd.c (rip_add_route): Deleted add if metric to the route.
1103 1999-05-16  Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
1105         * rip_interface.c (if_valid_neighbor): New function.
1107         * ripd.c (rip_process_route): Added check whether the datagram
1108         is from a valid neighbor.
1109         
1110 1999-05-15  Kunihiro Ishiguro  <kunihiro@zebra.org>
1112         * ripd.c (rip_process_route): Set interface pointer to rinfo.
1114 1999-05-15  Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
1116         * ripd.c (rip_check_address): Unicast and not net 0 or 127 check
1117         added.
1119 1999-05-14  Stephen R. van den Berg <srb@cuci.nl>
1121         * rip_main.c (signal_init): SIGTERM call sigint.
1122         (sigint): Loggging more better message.
1124 1999-05-10  Kunihiro Ishiguro  <kunihiro@zebra.org>
1126         * ripd.c (rip_add_route): Fix previous route_unlock_node() chenge.
1128         * rip_main.c (main): Change default zlog output to ZLOG_STDOUT for
1129         debugging.
1131 1999-05-09  Patrick Koppen <koppen@rhrk.uni-kl.de>
1133         * rip_interface.c (rip_request): Fix old semantics for fetching
1134         connected address.
1136         * ripd.c (rip_add_route): Update timer when the route is updated.
1138 1999-05-09  Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
1140         * rip_zebra.c (struct zebra): Add ridist_static, ridist_connect,
1141         redist_rip, redist_ripng.  
1143         * rip_zebra.c (zebra_create): Updated for current zebra method.
1145         * ripd.c (rip_add_route): Add missing route_unlock_node().
1147 1999-05-03  Kunihiro Ishiguro  <kunihiro@zebra.org>
1149         * ripd.c (rip_add_route): Add metric check.  Reported by Carlos
1150         Alberto Barcenilla <barce@frlp.utn.edu.ar>.
1152 1999-02-18  Peter Galbavy  <Peter.Galbavy@knowledge.com>
1154         * syslog support added
1156 1998-12-13  Kunihiro Ishiguro  <kunihiro@zebra.org>
1158         * ripd.c (rip_announce_func): Apply new lib functions.
1160 1998-12-09  Kunihiro Ishiguro  <kunihiro@zebra.org>
1162         * ripd.c (config_write_rip): Delete vector v argument.
1163         * rip_zebra.c (config_write_zebra): Likewise.
1164         * rip_interface.c (interface_config_write): Likewise.
1166 1998-09-07  Kunihiro Ishiguro  <kunihiro@zebra.org>
1168         * rip_announce.c (rip_rib_close): When ripd terminates delete all
1169         added route.
1171 1998-09-01  Kunihiro Ishiguro  <kunihiro@zebra.org>
1173         * rip_interface.c: return read packet size.
1175 1998-05-18  Yamshita TAKAO  <jargon@lares.dti.ne.jp>
1177         * ripd.h: Modify for compile on Solaris.
1179 1998-05-07  Kunihiro Ishiguro  <kunihiro@zebra.org>
1181         * ripd.c: DEFUN function return CMD_SUCCESS.
1182                   change xmalloc to XMALLOC macro.
1183         
1184 1998-05-03  Kunihiro Ishiguro  <kunihiro@zebra.org>
1186         * rip_main.c: change CONFDIR to SYSCONFDIR.
1188 1998-05-01  Kunihiro Ishiguro  <kunihiro@zebra.org>
1190         * .cvsignore: added.
1192 1998-02-04  Kunihiro Ishiguro  <kunihiro@zebra.org>
1194         * rip_interface.c (config_write_interface): correct ADVERTISE spell.
1196         * rip_main.c (main): add usage() and make cleanup.
1198 1998-01-05  Kunihiro Ishiguro  <kunihiro@zebra.org>
1200         * ripd.c (rip_version): add rip version command.
1202 1998-01-04  Kunihiro Ishiguro  <kunihiro@zebra.org>
1204         * rip_interface.c (zebra_get_interface): added to get
1205         interface's information.
1207         * ChangeLog: create.