1 2008-05-29 Stephen Hemminger <stephen.hemminger@vyatta.com>
3 * ripd.c: (rip_auth_md5) fix bogus empty string test
5 2008-03-13 Paul Jakma <paul.jakma@sun.com>
7 * ripd.c/rip_interface.c: Remove 0 entries from rip_msg
8 ri_version_msg struct message's, not needed with recent fixes
11 2007-04-27 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
13 * ripd.c: (rip_vty_out_uptime) Remove unused variable timer_now.
15 2007-04-11 Emmanuel Vize <emmanuel.vize@6wind.com>
17 * ripd.c: (rip_vty_out_uptime) Use new thread_timer_remain_second
18 to display properly the route timeout, displayed by "show ip rip"
20 2007-03-21 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
22 * ripd.c: (show_ip_rip_status) Use new thread_timer_remain_second
23 function instead of rip_next_thread_timer to display the time until
25 (rip_next_thread_timer) Remove obsolete function.
27 2006-12-12 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
29 * rip_interface.c: (rip_interface_multicast_set) Use new CONNECTED_ID
30 macro to simplify logic.
31 (rip_request_interface_send) Fix minor bug: ipv4_broadcast_addr does
32 not give a useful result if prefixlen is 32 (we require a peer
33 address in such cases).
34 * ripd.c: (rip_update_interface) Fix same bug as above.
36 2006-09-11 Paul Jakma <paul.jakma@sun.com>
38 * ripd.c: (rip_read) remove gratuitous use of mid-function
39 declaration of vrecv, bug #278.
40 * rip_routemap.c: (route_set_metric) underflow check needs to
41 use signed, problem identified and diagnosed by Pavel
42 Nikiforov in bug #293.
44 2006-06-29 Paul Jakma <paul.jakma@sun.com>
46 * rip_zebra: (general) convert redistribute commands to use
47 the auto-generated defines.
49 2006-05-04 Paul Jakma <paul.jakma@sun.com>
51 * (general) Fixes for bugs #261 and 262. Thanks to
52 Konstantin V. Gavrilenko <kos@arhont.com> for the problem
53 reports, testing of a series of proposed patches and comment
54 on the proposed changes in behaviour.
55 * rip_interface.c: (ip_rip_authentication_mode_cmd) Parse all
56 of the command before making any changes to configured state.
57 * ripd.c: (rip_read) RIP version control should be absolute and
58 always apply, fixes bug #261 by allowing RIPv1 to be disabled.
59 Fix bug #262: If authentication is enabled, then
60 unauthenticated packets should not be accepted. We do however
61 make an exception for RIPv1 REQUEST packets, to which we will
62 reply as RIPv1 can now be disabled fully, to allow ripd to
63 still provide routing /information/ to simple devices.
65 2006-04-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
67 * ripd.c: (rip_update_process) Try to fix the logic for sending
68 an updated on each connected network. The new code will
69 attempt to send the update on each connected network, whereas
70 the previous code seemed to be attempting to avoid sending
71 more than one RIPv1 update on a given interface, but was coded
72 incorrectly. The actual effect of the old code was to send
73 an update only on the first connected address in the cases
74 where the interface is not multicast, or RIPv2 is not being used.
76 2006-01-30 Alain Ritoux <alain.ritoux@6wind.com>
78 * ripd.c: correct bug that allowed route learnt through RIP to take
79 precedence over connectd routes
81 2006-01-19 Paul Jakma <paul.jakma@sun.com>
83 * ripd.c: (main) return from main, not exit, cause it annoys SOS.
85 2006-01-17 Paul Jakma <paul.jakma@sun.com>
87 * ripd.c: (rip_auth_md5) remove pdigest, not needed.
88 Use a local buffer for the auth_str, where it can be properly
89 nul padded. Do so, hence fixing MD5 authentication.
90 Key looked up via key ring should be used in preference to
91 the RIPv1 simple password, not other way around.
92 No need to copy around digests, we can reference them
94 The auth_len received can't be trusted, some implementations
95 lie (e.g. older ripd).
96 (rip_auth_md5_ah_write) rename len local variable to doff
97 to be consistent with other functions.
98 (rip_auth_header_write) add the missing return.
99 (rip_auth_md5_set) use the proper constructs to access stream.
101 2005-10-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
103 * ripd.c: (rip_response_process) Instead of calling
104 rip_interface.c:if_valid_neighbor(), call the equivalent
105 library function if_lookup_address().
106 * rip_interface.c: (if_valid_neighbor) Remove function, since it is
107 essentially equivalent to the if_lookup_address() library function.
108 * ripd.h: (if_valid_neighbor) Remove function declaration.
110 2005-10-28 Paul Jakma <paul.jakma@sun.com>
112 * Makefile.am: Add rip_interface.h, or else it doesn't get
115 2005-10-26 Paul Jakma <paul.jakma@sun.com>
117 * (general) static/extern functions and definitions.
118 * rip_interface.h: new file, export the public functions from
120 * ripd.c: Update couple more functions to specify void
123 2005-10-17 Vincent Jardin <vincent.jardin@6wind.com>
125 * ripd.c: rip_create_socket() for each packet, it does not bind to the
126 proper interfaces because we forget to use the from address when
129 2005-10-06 Alain Ritoux <alain.ritoux@6wind.com>
131 * rip_interface.c: Now the command "no ip rip split-horizon
132 poisoned-reverse" just inhibates the poisoned-reverse effects
133 but keep spli-horizon activ.
135 2005-10-01 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
137 * rip_zebra.c: (config_write_rip_redistribute): Remove local hard-coded
138 table str[]. Replace str[] with calls to new library function
139 zebra_route_string().
140 * ripd.c: Remove local hard-coded table route_info[].
141 (show_ip_rip) Replace uses of str[] with calls to new library
142 functions zebra_route_char and zebra_route_string.
144 2005-09-29 Alain Ritoux <alain.ritoux@6wind.com>
146 * rip_snmp.c: rip2IfConfReceive() sends values in conformance
147 with RFC. Also PeerDomain is now set to a STRING type.
148 * ripd.h: rip_redistribute_add() API includes metric and distance
149 added field external_metric in routes.
150 * ripd.c: rip_redistribute_add() API i.e. stores metric and distance
151 Now allows a RIP-route to overcome a redistributed route coming
152 from a protocol with worse (higher) administrative distance
153 Metrics from redistribution are shown in show ip rip
154 * rip_zebra.c: adapt to the rip_redistribute_add() API, i.e.
155 provide distance and metric
156 * rip_interface.c: adapt to the rip_redistribute_add() API
157 * rip_routemap.c: no RMAP_COMPILE_ERROR on (metric > 16) usage
158 rather a CMD_WARNING, because set metric ius shared with other
159 protocols using larger values (such as OSPF)
160 The match metric action takes first external metric if present
161 (from redistribution) then RIP metric.
163 2005-09-28 Alain Ritoux <alain.ritoux@6wind.com>
165 * ripd.c: use new md5 API
167 2005-08-16 Paul Jakma <paul.jakma@sun.com>
169 * ripd.c: (general) Fix previous commit, broke multicast bind and
170 hence setting of source port, which broke communication with
171 non-borken ripd. Fix removes more stuff from rip_interface.c
172 than it adds to ripd.c ;)
173 (rip_create_socket) the to argument really is a from argument,
174 rename it. Set the source port to RIP port unconditionally, it's
176 (rip_send_packet) Set from address correctly for multicast.
177 (rip_output_process) trivial: num can be BSS specified, rather
179 * rip_interface.c: (rip_interface_multicast_set) strip out
180 redundant stuff related to bind, which rip_create_socket does.
181 Just make it set the multicast socket option, as per the
182 interface concerned, no more.
184 2005-06-03 Paul Jakma <paul.jakma@sun.com>
186 * ripd.c: (rip_create_socket) move it up so rip_send_packet
187 can use it too. Make it static. Remove the getservbyname stuff,
188 as RFC2453 3.9.2 says non-RIP port messages should be discarded,
189 quagga doesnt accept them, no need to lookup port.
190 Take a 'to' argument, if socket should be bound to something else.
191 setsockopt_so_recvbuf might need privs, move it to the raised
193 dont forget to close the socket if bind fails.
194 (rip_send_packet) use strncpy, just in case (address is under
195 our control anyway, but still).
196 dont duplicate rip_create_socket - just use it.
197 (rip_create) rip_create_socket takes an argument now, modify.
199 2005-06-01 Paul Jakma <paul.jakma@sun.com>
201 * rip_interface.c: Fix authentication, no-auth impossible to specify
202 (rip_interface_new) default to RIP_NO_AUTH
203 (rip_interface_reset) ditto
204 (rip_interface_config_write) write out config for simple
206 2005-05-29 Paul Jakma <paul@dishone.st>
208 * ripd.c: (rip_output_process) fix error which crept in my
209 previous rip auth untanglement commit - it had become impossible
210 to not have authentication (even for v1).
212 2005-05-28 Hasso Tepper <hasso at quagga.net>
214 * rip_routemap.c: Fix set_metric_addsub_cmd help, it's not about BGP
217 2005-05-26 Hasso Tepper <hasso at quagga.net>
219 * rip_routemap.c: In case of '0.0.0.0' used as 'nexthop', use sender
220 address as nexthop in routemap.
222 2005-05-26 Hasso Tepper <hasso at quagga.net>
224 * rip_routemap.c: Make "match interface" routemap command match both -
225 in and out interfaces.
227 2005-05-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
229 * rip_interface.c (rip_interface_add): Need to call
230 rip_passive_interface_apply (was already calling it in
233 2005-04-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
235 * rip_zebra.c (rip_redistribute_set, rip_redistribute_unset,
236 rip_redistribute_clean): Change 2nd arg to zebra_redistribute_send
237 from zclient->sock to zclient.
239 2005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
241 * rip_interface.c: (rip_interface_delete) After deleting, set
242 ifp->ifindex to IFINDEX_INTERNAL.
244 2005-02-04 Paul Jakma <paul@dishone.st>
246 * ripd.c: Untangle the construction of RIP auth data.
247 (rip_auth_prepare_str_send) new helper function, prepare
249 (rip_auth_simple_write) new helper, write out the
250 rip simple password auth psuedo-RTE.
251 (rip_auth_md5_ah_write) new helper, write out the
252 MD5 auth-header psuedo-RTE.
253 (rip_auth_header_write) new helper, write out correct
254 auth header data / psuedo-RTE.
255 (rip_auth_md5_set) rip out the memmove and writing of the
256 auth header psuedo-RTE. So that all that is left is to
257 write the trailing auth digest, and update digest offset
258 field in the original header.
259 (rip_write_rte) rip out writing of RIP header, writing of
260 simple auth data psuedo-RTE. Make it do what its name suggests,
261 write out actual RTEs.
262 (rip_output_process) remove the incorrect additional decrements
263 of rtemax. Prepare the auth_str, which simple or MD5 auth will
264 need. Move write out of RIP header and auth data to inside the
265 loop. Adjust paramaters as required.
267 2005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
269 * ripd.c: (rip_create_socket) Replace perror with zlog_err.
271 2005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
273 * ripd.c: (rip_create_socket) Save errno before calling
276 2005-01-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
278 * ripd.c: (rip_recvmsg) Use ZCMSG_FIRSTHDR instead of CMSG_FIRSTHDR.
280 2004-12-15 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
282 * ripd.c: (rip_read) Improve 2 error messages to show the source of
283 the packet when the lookup fails.
285 2004-12-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
287 * *.c: Change level of debug messages to LOG_DEBUG.
289 2004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
291 * rip_main.c: (main) The 2nd argument to openzlog has been removed.
293 2004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
295 * rip_main.c: (sigint) Use zlog_notice for termination message.
296 (main) Add a startup announcement using zlog_notice.
298 2004-11-25 Hasso Tepper <hasso at quagga.net>
300 * rip_main.c: Make group to run as configurable.
302 2004-10-22 Paul Jakma <paul@dishone.st>
304 * ripd.c: Collapse redundant passing of various address structs,
305 struct interface and struct connected as arguments to functions
306 down to two key arguments, namely struct connected and, possibly,
307 address of source/destination. Testing for RIPv1 would be useful.
308 (rip_read) lookup struct connected for the received packet, pass
310 * rip_interface.c: With previous changes, we no longer have to tread
311 carefully with struct connected, as it will always be there and
314 2004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
316 * ripd.c: (rip_update_interface) if connected->destination is NULL,
317 get the broadcast address with ipv4_broadcast_addr()
318 * rip_interface.c: (rip_interface_multicast_set)
319 connected->destination may be NULL. Improve message if
320 setsockopt_multicast_ipv4 fails. Improve message if bind fails.
321 (rip_request_interface_send) If connected->destination is NULL,
322 get the broadcast address with ipv4_broadcast_addr().
323 (if_valid_neighbor) Handle PtP subnet addressing properly.
324 Speed up code by using prefix_match properly.
326 2004-10-13 Hasso Tepper <hasso at quagga.net>
328 * ripd_snmp.c: Remove defaults used to initialize smux connection to
329 snmpd. Connection is initialized only if smux peer is configured.
331 2004-10-11 Hasso Tepper <hasso at quagga.net>
333 * *.c: Make more strings const.
335 2004-10-08 Hasso Tepper <hasso at quagga.net>
337 * *.c: Fix compiler warnings: make strings const, signed -> unsigned
340 2004-09-26 Hasso Tepper <hasso at quagga.net>
342 * ripd.c: Fix compiler warning.
344 2004-09-23 Hasso Tepper <hasso at quagga.net>
346 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
348 2004-09-17 Paul Jakma <paul@dishone.st>
350 * ripd.c: set receive buffer to a decent size, some systems have low
351 defaults. Problem noted and fix suggested by Stephan Schweizer
354 2004-08-19 Paul Jakma <paul@dishone.st>
356 * rip_interface.c: (rip_interface_multicast_set) get rid
357 of extraneous if_pointopoint arg. ifp is accessible via connected.
358 pass connected->ifp->ifindex to setsockopt_multicast_ipv4.
359 * ripd.c: (rip_send_packet) update call to
360 rip_interface_multicast_set
361 * ripd.h: update rip_interface_multicast_set prototype
363 2004-06-11 Sowmini Varadhan <sowmini.varadhan@sun.com>
365 * ripd.c: (rip_distribute_update_all) distribute list hook
366 function pointer prototype requires struct prefix_list * arg.
367 (rip_distribute_update_all_wrapper) update to pass required arg,
370 2004-06-06 Paul Jakma <paul.jakma@sun.com>
372 * ripd.h: Add define for the RIPv2 Authentication Data family
373 Move the auth type defines up to where other defines live.
374 Add RIP_AUTH_MD5_COMPAT_SIZE, for backwards compatible
375 md5->auth_len size. Add md5_auth_len field to struct
376 rip_interface: (rip_interface_new) Init md5_auth_len to compatible
378 (ip_rip_authentication_mode_cmd) Extended to handle setting
379 md5 auth-length. Appropriate aliases added.
380 (no_ip_rip_authentication_mode_cmd) Reset md5_auth_len to
382 (rip_interface_config_write) Teach it about md5_auth_len.
383 _always_ write out the auth-length, so that everyone will get
384 the setting in their config file, and hence allow for a future
385 change of default for md5_auth_len to be less painful - every md5
386 user will have this setting in their config file.
387 ripd.c: (rip_packet_dump) Change nasty hard coded constants to
388 symbolic defines. Change various tests of 'ntoh.(variable) ==
389 constant' to test 'variable == ntoh.(constant)'. Clean up
390 indentation on some long lines.
391 (rip_auth_simple_password) ditto.
392 (rip_auth_md5) ditto, also add length argument and sanity check
393 md5 data offset field. Sanity check md5 auth length, accept RFC
394 or old-ripd/cisco lengths.
395 (rip_auth_md5_set) as per (rip_packet_dump), also write out
396 the configured md5 auth length for the interface (old-ripd or rfc)
397 (rip_read) as per (rip_packet_dump)
398 (rip_write_rte) ditto
399 (rip_response_process) ditto
400 (rip_write_rte) ditto
402 2004-06-04 JJ Ludman <jacques.ludman@sun.com>
404 * ripd.c: Interoperability fix. Correct value for MD5 auth length
405 is 16. Accept packets with this set to >= 16, and set to 16
408 2004-05-31 Sowmini Varadhan <sowmini.varadhan@sun.com>
410 * ripd.c: Fixup compile warnings
411 * rip_routemap.c: Ditto
413 2004-05-08 Paul Jakma <paul@dishone.st>
415 * rip_zebra.c: sync with zclient changes.
416 * rip_interface.c: ditto.
418 2004-05-05 Anthony.Golia@morganstanley.com
420 * ripd.c: (rip_update_jitter) Bound jitter to a more sensible
421 value, eg 1/4 of update time.
423 2004-05-03 Paul Jakma <paul@dishone.st>
425 * ripd.c: (rip_rte_process) fix typo in merge of previous patch
426 and run function through indent.
428 2004-03-19 Jean-Yves Simon <lethalwp@tiscali.be>
430 * ripd.c: (rip_rte_process) make ripd also check on
431 administrative distance of his own links to update routes.
433 2004-03-18 sowmini.varadhan@sun.com
435 * ripd.c: rip_send_packet can get null connected address when
436 called in response to a unicast rip-request. Handle correctly.
438 2004-03-03 Krzysztof Oledzki <oleq@ans.pl>
440 * ripd.c: fix "show ip rip" and per interface rip version selection.
442 2004-01-23 sowmini.varadhan@sun.com
444 * rip_interface.c: obsolete unbind code in
445 rip_interface_multicast_set, and instead do the more portable
446 (though slower) method of creating a socket for each outgoing packet
447 and binding the source address on the new socket.
448 * rip_interface.c, ripd.c, ripd.h: Modify rip_request_send so that
449 source address is determined by the caller of rip_request_send for
450 ripv1 packets and non-multicast interfaces (rip_request_send loops
451 over all connected address in all other cases).
452 * rip_send_packet: don't send packets with source set to
453 ZEBRA_IFA_SECONDARY connected addresses; improved debug messages;
455 2003-06-07 Andrew J. Schorr <aschorr@telemetry-investments.com>
457 * Allow ripd to receive RIPv1
458 * add default as valid param to passive-interface command
460 2003-05-25 Vincent Jardin <vjardin@wanadoo.fr>
464 2003-04-19 Hasso Tepper <hasso@estpak.ee>
466 * rip_routemap.c: sync daemon's route-map commands to have same
469 2002-07-07 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
471 * zebra-0.93 released.
473 2002-06-30 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
475 * ripd.c (rip_output_process): When outgoing interface is same as
476 next hop interface, announce RIPv2 next hop otherwise set next hop
477 to 0. Revert previous change then take 6WIND way.
479 2001-09-14 Akihiro Mizutani <mizutani@dml.com>
481 * ripd.c: RIP enabled interface's route is advertised by default.
483 2001-08-28 NOGUCHI Kay <kay@v6.access.co.jp>
485 * rip_snmp.c (rip_ifaddr_delete): Add route_node_lookup() return
488 * rip_interface.c (rip_multicast_leave): Fix bug of multiple IP
489 address on one interface multicast join/leave bug.
491 2001-08-26 NOGUCHI Kay <kay@v6.access.co.jp>
493 * rip_interface.c (no_rip_passive_interface): Add NO_STR.
495 2001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
497 * zebra-0.92a released.
499 2001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
501 * zebra-0.92 released.
503 2001-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
505 * rip_routemap.c (route_match_ip_address_prefix_list): Add match
506 ip next-hop prefix-list WORD.
508 2001-02-18 Kunihiro Ishiguro <kunihiro@zebra.org>
510 * rip_interface.c (rip_passive_interface_clean): Call
511 rip_passive_interface_apply_all.
513 2001-02-12 Kunihiro Ishiguro <kunihiro@zebra.org>
515 * ripd.c (rip_response_process): Multicast address nexthop check
516 is moved from rip_nexthop_check.
518 2001-02-08 Matthew Grant <grantma@anathoth.gen.nz>
520 * rip_interface.c (ipv4_multicast_join): Use
521 setsockopt_multicast_ipv4.
522 (ipv4_multicast_leave): Likewise.
523 (rip_if_ipv4_address_check): Interface which has IPv4 address can
526 2001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
528 * rip_interface.c (rip_interface_delete): To support pseudo
529 interface do not free interface structure.
530 * ripd.c (rip_output_process): If output interface is in simple
531 password authentication mode, we need space for authentication
534 2001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
536 * ripd.c (rip_nexthop_check): Fix multicast address nexthop check.
538 * zebra-0.91 is released.
540 2001-01-27 Kunihiro Ishiguro <kunihiro@zebra.org>
542 * ripd.c (show_ip_rip): Show metric infinity route's timeout.
543 (rip_rte_process): If current route is metric infinity, route is
544 replaced with received rte.
545 (rip_redistribute_delete): When redistribute route is deleted,
546 perform poisoned reverse.
547 (rip_redistribute_withdraw): Likewise.
549 2001-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
551 * ripd.c (rip_response_process): RIPv2 routing table entry with
552 non directly reachable nexthop was dropped. The code is changed
553 to treat it as 0.0.0.0 nexthop.
554 (rip_destination_check): Check net 0 address destination.
555 (rip_nexthop_check): New function for checking nexthop address
558 2001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
560 * ripd.c (rip_request_process): Triggered update only send changed
563 * rip_interface.c: Delete RIP_API part until new implementation
566 * rip_snmp.: Likewise.
568 * rip_zebra.c: Likewise.
572 2001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
574 * rip_interface.c (rip_if_init): Remove HAVE_IF_PSEUDO part.
576 2001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
578 * zebra-0.90 is released.
580 2001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
582 * ripd.h (RIP_VTYSH_PATH): Change "/tmp/ripd" to "/tmp/.ripd".
584 2000-12-25 David Lipovkov <davidl@nbase.co.il>
586 * ripd.c (rip_rte_process): When a route is in garbage collection
587 process (invalid with metric 16) and a router receives the same
588 route with valid metric then route was not installed into zebra
589 rib, but only into ripd rib. Moreover , it will never get into
590 zebra rib, because ripd wrongly assumes it's already there.
591 (rip_redistribute_add): When doing redistribute into rip other
592 route (e.g. connected) and the same route exists in ripd rib we
593 changed it in place - bug. Now we don't forget to remove old route
595 (rip_timeout): When removing routes from zebra I made sure that we
596 remove route with the metric we have in zebra and not the new
597 one. It doesn't make a difference now,but could be significant
598 when multipath support is done.
600 2000-12-25 David Lipovkov <davidl@nbase.co.il>
602 * rip_zebra.c (rip_metric_unset): Fix bug of metric value unset.
604 2000-11-25 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
606 * ripd.c (rip_request_process): Check passive flag of the
609 2000-11-23 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
611 * rip_interface.c (rip_multicast_join): When IP_ADD_MEMBERSHIP
612 failed do not set runnning flag to the interface.
614 2000-11-16 Kunihiro Ishiguro <kunihiro@zebra.org>
616 * ripd.c (rip_output_process): Memory leak related classfull
617 network generation is fixed.
619 2000-11-16 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
621 * rip_interface.c (if_check_address): Obsolete pointopoint address
624 2000-11-02 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
626 * rip_interface.c (if_check_address): Add pointopoint address
628 (rip_interface_up): Add check for passive interface when interface
631 2000-10-23 Jochen Friedrich <jochen@scram.de>
633 * rip_snmp.c: rip_oid and ripd_oid are used in smux_open after it
634 is registered. So those variables must be static.
636 2000-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
638 * rip_interface.c: Change to "no ip rip (send|receive)" command
639 accept version number argument.
641 2000-10-17 Akihiro Mizutani <mizutani@dml.com>
643 * rip_routemap.c (route_set_ip_nexthop_compile): Change "match ip
644 next-hop" from IP address to access-list name.
646 2000-10-17 Kunihiro Ishiguro <kunihiro@zebra.org>
648 * rip_peer.c: Change ot use linklist.c instaed of newlist.c.
650 2000-10-16 Kunihiro Ishiguro <kunihiro@zebra.org>
652 * rip_offset.c: Change to use linklist.c instead of newlist.c.
654 2000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
656 * zebra-0.89 is released.
658 2000-09-26 Akihiro Mizutani <mizutani@dml.com>
660 * rip_routemap.c (match_ip_nexthop): Add next-hop format check.
662 2000-09-18 David Lipovkov <dlipovkov@OpticalAccess.com>
664 * rip_interface.c (ripd_api_get_if_rx_version): Corrects rip SNMP
665 and rip API functions dealing with rip version.
667 * rip_snmp.c (Status_Valid): SNMPv2-TC TEXTUAL-CONVENTION.
669 2000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
671 * rip_snmp.c (rip2IfLookup): Use rip_ifaddr_lookup_next() instead
672 of rip_if_lookup_next().
674 * rip_interface.c (rip_enable_network_lookup): Interface enable
675 check by interface's address with /32 prefix.
677 * ripd.c (rip_read): When RIP is configured with authentication
678 and no authentication in incoming packet, drop the packet.
680 * rip_interface.c (rip_interface_reset): RIP_AUTH_SIMPLE_PASSWORD
681 is default mode of authentication.
682 (rip_interface_new): Likewise.
683 (no_ip_rip_authentication_mode): Likewise.
685 * ripd.c (rip_read): Likewise.
687 2000-09-10 David Lipovkov <davidl@nbase.co.il>
689 * rip_snmp.c: Set ASN_INTEGER v->type where it is needed.
691 2000-09-08 Kunihiro Ishiguro <kunihiro@zebra.org>
693 * ripd.c (rip_auth_simple_password): Simple password
694 authentication using key-chain.
695 (rip_write_rte): Likewise.
697 * rip_interface.c (ip_rip_authentication_key_chain): Add check for
698 authentication string configuration.
700 2000-09-08 Akihiro Mizutani <mizutani@dml.com>
702 * ripd.c (rip_write_rte): Add check for ri->auth_str.
704 2000-09-07 Kunihiro Ishiguro <kunihiro@zebra.org>
706 * ripd_api.h: New file is added.
708 2000-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
710 * ripd.c (rip_rte_process): rip_route_process() is renamed to
711 rip_rte_process() to clarify meanings of the function.
712 rip_route_process() is newly added to process RIP route selection.
714 2000-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
716 * ripd.c (rip_incoming_filter): Extract incoming filter code to
717 function from rip_route_process(). Add check for all interface
719 (rip_outgoing_filter): Extract incoming filter code to function
720 from rip_output_process(). Add check for all interface filter.
722 * rip_zebra.c (rip_redistribute_clean): Reset redistribute status
723 when "no router rip" is performed.
725 * rip_interface.c (rip_interface_clean): Reset interface's RIP
728 2000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
730 * ripd.c (rip_route_process): When metric infinity is received the
731 route is removed from service immediately.
732 (rip_timeout): Likewise.
733 (rip_garbage_collect): Do not delete route in garbage collection.
734 (rip_output_process): Check metric_out exceed metric infinity.
736 * zebra-0.88 is released.
738 2000-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
740 * ripd.c (rip_distance_apply): Unlock node when there is matched
743 2000-08-13 Akihiro Mizutani <mizutani@dml.com>
745 * rip_routemap.c (match_ip_nexthop): Add check for IP address
747 (no_set_metric): Add new ALIAS.
749 2000-08-07 Kunihiro Ishiguro <kunihiro@zebra.org>
751 * ripd.h (struct rip ): Add distance.
753 2000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
755 * rip_zebra.c (rip_zebra_ipv4_add): Use new Zebra api to register
756 routes. Pass RIP metric value to zebra.
758 2000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
760 * rip_main.c (main): Make struct thread thread from global
761 variable to local variable in main.
763 2000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
765 * ripd.c (rip_packet_dump): Add MD5 authentication dump function.
766 (rip_auth_md5): RIP MD5 authentication packet receive works.
768 2000-08-02 David Lipovkov <davidl@nbase.co.il>
770 * rip_interface.c (rip_if_init): Install interface "pseudo"
772 (rip_interface_delete): Do not call if_delete() when interface is
775 2000-07-31 Kunihiro Ishiguro <kunihiro@zebra.org>
777 * rip_interface.c (ip_rip_authentication_mode): "ip rip
778 authentication mode (md5|text)" is added.
779 (ip_rip_authentication_key_chain): "ip rip authentication
780 key-chain KEY-CHAIN" is added.
781 (rip_interface_clean): Clean all interface configuration.
782 (rip_interface_reset): Reset all interface configuration.
783 (rip_clean_network): Clean rip_enable_network.
785 * ripd.h (struct rip_interface): Add key_chain member.
787 * ripd.c: Include md5-gnu.h.
789 2000-07-30 Kunihiro Ishiguro <kunihiro@zebra.org>
791 * ripd.h (RIP_NO_AUTH): Change RIP_NO_AUTH value from 1 to 0.
793 * ripd.c (rip_authentication): Use RIP_AUTH_SIMPLE_PASSWORD
794 instead of raw value 2.
795 (rip_write_rte): Likewise.
796 (rip_write_rte): Check ri->auth_type instead of ri->auth_str.
798 2000-07-30 David Lipovkov <davidl@nbase.co.il>
800 * rip_interface.c (rip_if_down): Do not delete ZEBRA_ROUTE_KERNEL
803 2000-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
805 * ripd.c (rip_update_process): Add "passive-interface" command.
807 * ripd.h (struct rip_interface): Add passive member to struct
810 2000-07-24 Kunihiro Ishiguro <kunihiro@zebra.org>
812 * rip_interface.c (rip_if_init): Multiple RIP routes for one
813 prefix change. The codes are enclosed by #ifdef NEW_RIP_TABLE.
815 2000-07-24 Akihiro Mizutani <mizutani@dml.com>
817 * rip_interface.c (rip_if_init): Use install_default() for
820 2000-07-24 Kunihiro Ishiguro <kunihiro@zebra.org>
822 * ripd.c: First update timer will be invoked in two seconds.
824 2000-07-09 Jochen Friedrich <jochen@scram.de>
826 * rip_snmp.c: Local function definitions to static. Add INTEGER
827 ASN_INTEGER and TIMETICKS ASN_TIMETICKS definition.
828 (rip2PeerLookup): Peer with domain lookup implemented.
829 (rip2PeerTable): Temporary disable RIP2PEERLASTUPDATE value
830 support due to unknown SNMP agent startup time.
832 2000-07-05 Kunihiro Ishiguro <kunihiro@zebra.org>
834 * ripd.h: Sweep obsolete definitions.
836 * rip_interface.c (rip_split_horizon): Add "ip split-horizon"
839 * ripd.c (rip_output_process): Remove split_horizon argument.
840 (rip_update_process): Likewise.
842 * ripd.h (struct rip_interface): Add split_horizon flag to struct
845 2000-07-04 Akihiro Mizutani <mizutani@dml.com>
847 * ripd.c (rip_version): Change VERSION to <1-2>.
848 Add "no version" command.
850 2000-07-03 Kunihiro Ishiguro <kunihiro@zebra.org>
852 * rip_zebra.c (rip_redistribute_type_metric): "redistribute TYPE
853 metric <0-16>" command is added.
855 * rip_routemap.c (route_set_metric): Set metric_set when metric is
858 * ripd.h (struct rip_info): To check route-map set metric or not,
859 new member metric_set is added to struct rip_info.
861 * ripd.c (rip_route_process): Move metric handling code from
862 rip_response_process() to rip_route_process().
863 (rip_output_process): Set output offset-list metric.
865 2000-07-02 Kunihiro Ishiguro <kunihiro@zebra.org>
867 * rip_offset.c (rip_offset_list): New file for offset-list.
869 2000-07-02 Akihiro Mizutani <mizutani@dml.com>
871 * ripd.h (struct rip ): Add default_metric.
873 * ripd.c (rip_default_metric): "default-metric <1-16>" command is
875 (config_write_rip): Change configuration order.
877 * rip_zebra.c: Fix help strings.
879 2000-07-02 David Lipovkov <davidl@nbase.co.il>
881 * rip_interface.c (rip_if_init): Add IF_DELETE_HOOK.
883 2000-07-01 Kunihiro Ishiguro <kunihiro@zebra.org>
885 * ripd.c (rip_output_process): If specified route-map does not
886 exist, it treated as deny all.
888 2000-06-30 Kunihiro Ishiguro <kunihiro@zebra.org>
890 * rip_routemap.c (rip_route_map_init): Call rip_route_map_update
891 when route-map is deleted.
893 2000-06-28 Kunihiro Ishiguro <kunihiro@zebra.org>
895 * rip_routemap.c (set_metric): For consistency with bgpd's set
896 metric, value range is set to <0-4294967295>.
898 2000-06-28 David Lipovkov <davidl@nbase.co.il>
900 * rip_routemap.c (rip_route_map_update): Add check for rip is
901 enabled or not for avoid core dump.
903 * rip_debug.c (debug_rip_packet_direct): Fix bug of setting
904 rip_debug_packet flag.
906 2000-06-13 David Lipovkov <davidl@nbase.co.il>
908 * rip_interface.c (rip_interface_delete): All work is done in
911 2000-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
913 * ripd.c (rip_redistribute_delete): Fix bug of missing
914 route_unlock_node() when redistribute route is not found.
916 2000-06-05 Akihirof Mizutani <mizutani@dml.com>
918 * rip_debug.c (rip_debug_init): Disable show debugging in
919 VIEW_NODE like other protocol daemon.
921 * rip_routemap.c: Change command argument to more comprehensive.
928 2000-06-05 David Lipovkov <davidl@nbase.co.il>
930 * rip_interface.c (rip_interface_delete): Delete all routes
931 include static and kernel through the interface , because even if
932 the interface is added again there is no guarantee that it will
933 get the same ifindex as before.
935 2000-05-31 Akihirof Mizutani <mizutani@dml.com>
937 * rip_debug.c: Fix rip debug help string.
939 2000-04-27 Mirko Karanovic <mkaranov@torsel.alcatel.com>
941 * rip_interface.c (rip_interface_down): Remove interface from
942 multicast group when interface goes down.
944 2000-04-03 David Lipovkov <davidl@nbase.co.il>
946 * rip_interface.c (rip_interface_down): Implemented rip functions
947 for interface up/down events: rip_interface_up() and
950 2000-03-16 David Lipovkov <davidl@nbase.co.il>
952 * rip_zebra.c (rip_zclient_init): Added rip functions for
953 interface up/down events.
955 2000-02-15 Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
957 * ripd.c (rip_write_rte): "set metic" in route-map has no effect
958 for RIPv1 in ripd. It worked fine for RIPv2.
960 2000-01-17 Kunihiro Ishiguro <kunihiro@zebra.org>
962 * ripd.c (show_ip_protocols_rip): Fix bug of "show ip protocls"
963 mis-display RIP version.
965 * ripd.h (struct rip_peer): Add timeout thread to rip_peer
968 2000-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
970 * rip_peer.c: Add new file for supporting RIP peer.
972 1999-12-26 David Lipovkov <davidl@nbase.co.il>
974 * ripd.c (rip_authentication): RIP authantication string is 16
977 1999-12-10 Kunihiro Ishiguro <kunihiro@zebra.org>
979 * ripd.c (rip_read): Add check for minimum packet length.
980 Authentication check is moved from rip_process_response() to
981 rip_read(). Patch from David Lipovkov <davidl@nbase.co.il> is
982 applied then add rte number check by Kunihiro Ishiguro
983 <kunihiro@zebra.org>.
985 1999-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
987 * ripd.c (rip_response_process): In case of packet is RIPv2 and
988 network is non zero and netmask is zero, apply netmask rule as
991 1999-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
993 * ripd.c (rip_timers): Fix bug of timers basic argument format.
995 1999-11-03 Kunihiro Ishiguro <kunihiro@zebra.org>
997 * rip_snmp.c (rip2IfConfAddress): Forgot to include
1000 1999-10-28 Kunihiro Ishiguro <kunihiro@zebra.org>
1002 * ripd.h (struct rip_peer): New structure added.
1004 1999-10-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1006 * rip_zebra.c (rip_zebra_ipv4_add): Increment
1007 rip_global_route_changes when route change occur.
1008 (rip_zebra_ipv4_delete): Likewise.
1010 * ripd.c (rip_request_process): Increment rip_global_queries when
1011 reply to the query is sent.
1013 1999-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1015 * rip_debug.c (rip_debug_reset): Reset function added.
1017 * ripd.c (rip_update_process): Logging bug is fixed.
1019 1999-10-10 Marc Boucher <marc@mbsi.ca>
1021 * ripd.c (config_write_rip): Add config_write_distribute() call.
1023 1999-09-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1025 * ripd.c (rip_distribute_update): Fix bug of access-list
1026 prefix-list updates.
1028 1999-09-10 VOP <vop@unity.net>
1030 * rip_zebra.c: Add redistribute route-map feature.
1032 1999-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1034 * ripd.c (rip_response_process): Add check for given prefix is
1035 given mask applied one.
1037 1999-09-03 VOP <vop@unity.net>
1039 * rip_interface.c (rip_interface_multicast_set): Bug fix about
1040 setting multicast interface.
1042 1999-09-02 VOP <vop@unity.net>
1044 * rip_routemap.c: New file added.
1046 1999-09-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1048 * ripd.c (show_ip_protocols_rip): Show next update time.
1049 (show_ip_protocols_rip): Show redistribute information.
1051 1999-08-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1053 * RIPv2-MIB.txt: New file added.
1055 * rip_snmp.c: New file added.
1057 1999-08-24 Kunihiro Ishiguro <kunihiro@zebra.org>
1059 * rip_interface.c (ip_rip_authentication_string): RIPv2
1060 authentication command is added.
1062 1999-08-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1064 * rip_interface.c (rip_interface_multicast_set): Process of
1065 setting IP_MULTICAST_IF on specific interface.
1067 * ripd.c (rip_read): Add packet size check.
1069 1999-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1071 * ripd.c (rip_request_process): Fill in RIP_METRIC_INFINITY with
1072 network byte order using htonl ().
1073 (rip_response_process): Pass host byte order address to IN_CLASSC
1074 and IN_CLASSB macro.
1076 1999-08-08 davidm@nbase.co.il (David Mozes)
1078 * rip_zebra.c (rip_zebra_read_ipv4): Fix split horizon problem.
1080 1999-07-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1082 * ripd.c (rip_timer_set): Function added.
1084 1999-07-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1086 * rip_debug.c: New file added.
1087 rip_debug.h: New file added.
1089 1999-07-01 Rick Payne <rickp@rossfell.co.uk>
1091 * rip_zebra.c (zebra_init): Install standard commands to
1094 1999-06-01 David Luyer <luyer@ucs.uwa.edu.au>
1096 * ripd.c (rip_process_route): Add support for RIP version 1.
1098 1999-05-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1100 * rip_zebra.c: Change to use lib/zclient.[ch].
1102 1999-05-20 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
1104 * ripd.c (rip_add_route): Change the existance route's metric check
1105 to the condition specified by RFC2453.
1107 1999-05-17 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
1109 * ripd.c (rip_process_route): Add the if metric to the route metric.
1111 * ripd.c (rip_add_route): Deleted add if metric to the route.
1113 1999-05-16 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
1115 * rip_interface.c (if_valid_neighbor): New function.
1117 * ripd.c (rip_process_route): Added check whether the datagram
1118 is from a valid neighbor.
1120 1999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1122 * ripd.c (rip_process_route): Set interface pointer to rinfo.
1124 1999-05-15 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
1126 * ripd.c (rip_check_address): Unicast and not net 0 or 127 check
1129 1999-05-14 Stephen R. van den Berg <srb@cuci.nl>
1131 * rip_main.c (signal_init): SIGTERM call sigint.
1132 (sigint): Loggging more better message.
1134 1999-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1136 * ripd.c (rip_add_route): Fix previous route_unlock_node() chenge.
1138 * rip_main.c (main): Change default zlog output to ZLOG_STDOUT for
1141 1999-05-09 Patrick Koppen <koppen@rhrk.uni-kl.de>
1143 * rip_interface.c (rip_request): Fix old semantics for fetching
1146 * ripd.c (rip_add_route): Update timer when the route is updated.
1148 1999-05-09 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
1150 * rip_zebra.c (struct zebra): Add ridist_static, ridist_connect,
1151 redist_rip, redist_ripng.
1153 * rip_zebra.c (zebra_create): Updated for current zebra method.
1155 * ripd.c (rip_add_route): Add missing route_unlock_node().
1157 1999-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1159 * ripd.c (rip_add_route): Add metric check. Reported by Carlos
1160 Alberto Barcenilla <barce@frlp.utn.edu.ar>.
1162 1999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
1164 * syslog support added
1166 1998-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1168 * ripd.c (rip_announce_func): Apply new lib functions.
1170 1998-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1172 * ripd.c (config_write_rip): Delete vector v argument.
1173 * rip_zebra.c (config_write_zebra): Likewise.
1174 * rip_interface.c (interface_config_write): Likewise.
1176 1998-09-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1178 * rip_announce.c (rip_rib_close): When ripd terminates delete all
1181 1998-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1183 * rip_interface.c: return read packet size.
1185 1998-05-18 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1187 * ripd.h: Modify for compile on Solaris.
1189 1998-05-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1191 * ripd.c: DEFUN function return CMD_SUCCESS.
1192 change xmalloc to XMALLOC macro.
1194 1998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1196 * rip_main.c: change CONFDIR to SYSCONFDIR.
1198 1998-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1200 * .cvsignore: added.
1202 1998-02-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1204 * rip_interface.c (config_write_interface): correct ADVERTISE spell.
1206 * rip_main.c (main): add usage() and make cleanup.
1208 1998-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1210 * ripd.c (rip_version): add rip version command.
1212 1998-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1214 * rip_interface.c (zebra_get_interface): added to get
1215 interface's information.
1217 * ChangeLog: create.