blob: 80181d2277c920ed84037a751ef8717a23cdd72d [file] [log] [blame]
ajs634f9ea2005-04-11 15:51:40 +000012005-04-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
2
3 * rip_zebra.c (rip_redistribute_set, rip_redistribute_unset,
4 rip_redistribute_clean): Change 2nd arg to zebra_redistribute_send
5 from zclient->sock to zclient.
6
ajsd2fc8892005-04-02 18:38:43 +000072005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
8
9 * rip_interface.c: (rip_interface_delete) After deleting, set
10 ifp->ifindex to IFINDEX_INTERNAL.
11
paulb14ee002005-02-04 23:42:41 +0000122005-02-04 Paul Jakma <paul@dishone.st>
13
14 * ripd.c: Untangle the construction of RIP auth data.
15 (rip_auth_prepare_str_send) new helper function, prepare
16 correct key string.
17 (rip_auth_simple_write) new helper, write out the
18 rip simple password auth psuedo-RTE.
19 (rip_auth_md5_ah_write) new helper, write out the
20 MD5 auth-header psuedo-RTE.
21 (rip_auth_header_write) new helper, write out correct
22 auth header data / psuedo-RTE.
23 (rip_auth_md5_set) rip out the memmove and writing of the
24 auth header psuedo-RTE. So that all that is left is to
25 write the trailing auth digest, and update digest offset
26 field in the original header.
27 (rip_write_rte) rip out writing of RIP header, writing of
28 simple auth data psuedo-RTE. Make it do what its name suggests,
29 write out actual RTEs.
30 (rip_output_process) remove the incorrect additional decrements
31 of rtemax. Prepare the auth_str, which simple or MD5 auth will
32 need. Move write out of RIP header and auth data to inside the
33 loop. Adjust paramaters as required.
34
ajs79853452005-01-30 17:40:29 +0000352005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
36
ajs6a52d0d2005-01-30 18:49:28 +000037 * ripd.c: (rip_create_socket) Replace perror with zlog_err.
38
392005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
40
ajs79853452005-01-30 17:40:29 +000041 * ripd.c: (rip_create_socket) Save errno before calling
42 ripd_privs.change.
43
ajsb99760a2005-01-04 16:24:43 +0000442005-01-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
45
46 * ripd.c: (rip_recvmsg) Use ZCMSG_FIRSTHDR instead of CMSG_FIRSTHDR.
47
ajs766a0ca2004-12-15 14:55:51 +0000482004-12-15 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
49
50 * ripd.c: (rip_read) Improve 2 error messages to show the source of
51 the packet when the lookup fails.
52
ajs5d6c3772004-12-08 19:24:06 +0000532004-12-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
54
55 * *.c: Change level of debug messages to LOG_DEBUG.
56
ajs274a4a42004-12-07 15:39:31 +0000572004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
58
59 * rip_main.c: (main) The 2nd argument to openzlog has been removed.
60
ajs887c44a2004-12-03 16:36:46 +0000612004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
62
63 * rip_main.c: (sigint) Use zlog_notice for termination message.
64 (main) Add a startup announcement using zlog_notice.
65
hassoc0652302004-11-25 19:33:48 +0000662004-11-25 Hasso Tepper <hasso at quagga.net>
67
68 * rip_main.c: Make group to run as configurable.
69
paulc49ad8f2004-10-22 10:27:28 +0000702004-10-22 Paul Jakma <paul@dishone.st>
71
72 * ripd.c: Collapse redundant passing of various address structs,
73 struct interface and struct connected as arguments to functions
74 down to two key arguments, namely struct connected and, possibly,
75 address of source/destination. Testing for RIPv1 would be useful.
76 (rip_read) lookup struct connected for the received packet, pass
77 it on.
78 * rip_interface.c: With previous changes, we no longer have to tread
79 carefully with struct connected, as it will always be there and
80 valid.
81
hasso3fb9cd62004-10-19 19:44:43 +0000822004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
83
84 * ripd.c: (rip_update_interface) if connected->destination is NULL,
85 get the broadcast address with ipv4_broadcast_addr()
86 * rip_interface.c: (rip_interface_multicast_set)
87 connected->destination may be NULL. Improve message if
88 setsockopt_multicast_ipv4 fails. Improve message if bind fails.
89 (rip_request_interface_send) If connected->destination is NULL,
90 get the broadcast address with ipv4_broadcast_addr().
91 (if_valid_neighbor) Handle PtP subnet addressing properly.
92 Speed up code by using prefix_match properly.
93
hassoc75105a2004-10-13 10:33:26 +0000942004-10-13 Hasso Tepper <hasso at quagga.net>
95
96 * ripd_snmp.c: Remove defaults used to initialize smux connection to
97 snmpd. Connection is initialized only if smux peer is configured.
98
hasso98b718a2004-10-11 12:57:57 +0000992004-10-11 Hasso Tepper <hasso at quagga.net>
100
101 * *.c: Make more strings const.
102
hasso8a676be2004-10-08 06:36:38 +00001032004-10-08 Hasso Tepper <hasso at quagga.net>
104
105 * *.c: Fix compiler warnings: make strings const, signed -> unsigned
106 etc.
107
hasso1af81932004-09-26 16:11:14 +00001082004-09-26 Hasso Tepper <hasso at quagga.net>
109
110 * ripd.c: Fix compiler warning.
111
hasso52dc7ee2004-09-23 19:18:23 +00001122004-09-23 Hasso Tepper <hasso at quagga.net>
113
114 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
115
paul0b3acf42004-09-17 08:39:08 +00001162004-09-17 Paul Jakma <paul@dishone.st>
117
118 * ripd.c: set receive buffer to a decent size, some systems have low
119 defaults. Problem noted and fix suggested by Stephan Schweizer
120 in [zebra 20967].
121
paul1a517862004-08-19 04:03:08 +00001222004-08-19 Paul Jakma <paul@dishone.st>
123
124 * rip_interface.c: (rip_interface_multicast_set) get rid
125 of extraneous if_pointopoint arg. ifp is accessible via connected.
126 pass connected->ifp->ifindex to setsockopt_multicast_ipv4.
127 * ripd.c: (rip_send_packet) update call to
128 rip_interface_multicast_set
129 * ripd.h: update rip_interface_multicast_set prototype
130
paul02ff83c2004-06-11 11:27:03 +00001312004-06-11 Sowmini Varadhan <sowmini.varadhan@sun.com>
132
133 * ripd.c: (rip_distribute_update_all) distribute list hook
134 function pointer prototype requires struct prefix_list * arg.
135 (rip_distribute_update_all_wrapper) update to pass required arg,
136 NULL.
137
paulca5e5162004-06-06 22:06:33 +00001382004-06-06 Paul Jakma <paul.jakma@sun.com>
139
140 * ripd.h: Add define for the RIPv2 Authentication Data family
141 Move the auth type defines up to where other defines live.
142 Add RIP_AUTH_MD5_COMPAT_SIZE, for backwards compatible
143 md5->auth_len size. Add md5_auth_len field to struct
144 rip_interface: (rip_interface_new) Init md5_auth_len to compatible
145 size.
146 (ip_rip_authentication_mode_cmd) Extended to handle setting
147 md5 auth-length. Appropriate aliases added.
148 (no_ip_rip_authentication_mode_cmd) Reset md5_auth_len to
149 compatible size.
150 (rip_interface_config_write) Teach it about md5_auth_len.
151 _always_ write out the auth-length, so that everyone will get
152 the setting in their config file, and hence allow for a future
153 change of default for md5_auth_len to be less painful - every md5
154 user will have this setting in their config file.
155 ripd.c: (rip_packet_dump) Change nasty hard coded constants to
156 symbolic defines. Change various tests of 'ntoh.(variable) ==
157 constant' to test 'variable == ntoh.(constant)'. Clean up
158 indentation on some long lines.
159 (rip_auth_simple_password) ditto.
160 (rip_auth_md5) ditto, also add length argument and sanity check
161 md5 data offset field. Sanity check md5 auth length, accept RFC
162 or old-ripd/cisco lengths.
163 (rip_auth_md5_set) as per (rip_packet_dump), also write out
164 the configured md5 auth length for the interface (old-ripd or rfc)
165 (rip_read) as per (rip_packet_dump)
166 (rip_write_rte) ditto
167 (rip_response_process) ditto
168 (rip_write_rte) ditto
169
paulc2bfbcc2004-06-04 01:42:38 +00001702004-06-04 JJ Ludman <jacques.ludman@sun.com>
171
172 * ripd.c: Interoperability fix. Correct value for MD5 auth length
173 is 16. Accept packets with this set to >= 16, and set to 16
174 ourselves.
175
paul11dde9c2004-05-31 14:00:00 +00001762004-05-31 Sowmini Varadhan <sowmini.varadhan@sun.com>
177
178 * ripd.c: Fixup compile warnings
179 * rip_routemap.c: Ditto
180
paul0a589352004-05-08 11:48:26 +00001812004-05-08 Paul Jakma <paul@dishone.st>
182
183 * rip_zebra.c: sync with zclient changes.
184 * rip_interface.c: ditto.
185
paul239389b2004-05-05 14:09:37 +00001862004-05-05 Anthony.Golia@morganstanley.com
187
188 * ripd.c: (rip_update_jitter) Bound jitter to a more sensible
189 value, eg 1/4 of update time.
190
paula87552c2004-05-03 20:00:17 +00001912004-05-03 Paul Jakma <paul@dishone.st>
192
193 * ripd.c: (rip_rte_process) fix typo in merge of previous patch
194 and run function through indent.
195
paulb94f9db2004-05-01 20:45:38 +00001962004-03-19 Jean-Yves Simon <lethalwp@tiscali.be>
197
paula87552c2004-05-03 20:00:17 +0000198 * ripd.c: (rip_rte_process) make ripd also check on
199 administrative distance of his own links to update routes.
paulb94f9db2004-05-01 20:45:38 +0000200
hassoda9c9a22004-03-18 02:40:55 +00002012004-03-18 sowmini.varadhan@sun.com
202
203 * ripd.c: rip_send_packet can get null connected address when
204 called in response to a unicast rip-request. Handle correctly.
205
hassoa1455d82004-03-03 19:36:24 +00002062004-03-03 Krzysztof Oledzki <oleq@ans.pl>
207
hassocaa6f8a2004-03-03 19:48:48 +0000208 * ripd.c: fix "show ip rip" and per interface rip version selection.
hassoa1455d82004-03-03 19:36:24 +0000209
paul931cd542004-01-23 15:31:42 +00002102004-01-23 sowmini.varadhan@sun.com
211
212 * rip_interface.c: obsolete unbind code in
213 rip_interface_multicast_set, and instead do the more portable
214 (though slower) method of creating a socket for each outgoing packet
215 and binding the source address on the new socket.
216 * rip_interface.c, ripd.c, ripd.h: Modify rip_request_send so that
217 source address is determined by the caller of rip_request_send for
218 ripv1 packets and non-multicast interfaces (rip_request_send loops
219 over all connected address in all other cases).
220 * rip_send_packet: don't send packets with source set to
221 ZEBRA_IFA_SECONDARY connected addresses; improved debug messages;
222
paulf38a4712003-06-07 01:10:00 +00002232003-06-07 Andrew J. Schorr <aschorr@telemetry-investments.com>
224
225 * Allow ripd to receive RIPv1
226 * add default as valid param to passive-interface command
227
hasso16705132003-05-25 14:49:19 +00002282003-05-25 Vincent Jardin <vjardin@wanadoo.fr>
229
paulf38a4712003-06-07 01:10:00 +0000230 * 6Wind patch merge.
hasso16705132003-05-25 14:49:19 +0000231
paul445f1432003-05-16 19:00:31 +00002322003-04-19 Hasso Tepper <hasso@estpak.ee>
233
234 * rip_routemap.c: sync daemon's route-map commands to have same
235 syntax
236
paul718e3742002-12-13 20:15:29 +00002372002-07-07 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
238
239 * zebra-0.93 released.
240
2412002-06-30 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
242
243 * ripd.c (rip_output_process): When outgoing interface is same as
244 next hop interface, announce RIPv2 next hop otherwise set next hop
245 to 0. Revert previous change then take 6WIND way.
246
2472001-09-14 Akihiro Mizutani <mizutani@dml.com>
248
249 * ripd.c: RIP enabled interface's route is advertised by default.
250
2512001-08-28 NOGUCHI Kay <kay@v6.access.co.jp>
252
253 * rip_snmp.c (rip_ifaddr_delete): Add route_node_lookup() return
254 value check.
255
256 * rip_interface.c (rip_multicast_leave): Fix bug of multiple IP
257 address on one interface multicast join/leave bug.
258
2592001-08-26 NOGUCHI Kay <kay@v6.access.co.jp>
260
261 * rip_interface.c (no_rip_passive_interface): Add NO_STR.
262
2632001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
264
265 * zebra-0.92a released.
266
2672001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
268
269 * zebra-0.92 released.
270
2712001-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
272
273 * rip_routemap.c (route_match_ip_address_prefix_list): Add match
274 ip next-hop prefix-list WORD.
275
2762001-02-18 Kunihiro Ishiguro <kunihiro@zebra.org>
277
278 * rip_interface.c (rip_passive_interface_clean): Call
279 rip_passive_interface_apply_all.
280
2812001-02-12 Kunihiro Ishiguro <kunihiro@zebra.org>
282
283 * ripd.c (rip_response_process): Multicast address nexthop check
284 is moved from rip_nexthop_check.
285
2862001-02-08 Matthew Grant <grantma@anathoth.gen.nz>
287
288 * rip_interface.c (ipv4_multicast_join): Use
289 setsockopt_multicast_ipv4.
290 (ipv4_multicast_leave): Likewise.
291 (rip_if_ipv4_address_check): Interface which has IPv4 address can
292 be enabled.
293
2942001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
295
296 * rip_interface.c (rip_interface_delete): To support pseudo
297 interface do not free interface structure.
298 * ripd.c (rip_output_process): If output interface is in simple
299 password authentication mode, we need space for authentication
300 data.
301
3022001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
303
304 * ripd.c (rip_nexthop_check): Fix multicast address nexthop check.
305
306 * zebra-0.91 is released.
307
3082001-01-27 Kunihiro Ishiguro <kunihiro@zebra.org>
309
310 * ripd.c (show_ip_rip): Show metric infinity route's timeout.
311 (rip_rte_process): If current route is metric infinity, route is
312 replaced with received rte.
313 (rip_redistribute_delete): When redistribute route is deleted,
314 perform poisoned reverse.
315 (rip_redistribute_withdraw): Likewise.
316
3172001-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
318
319 * ripd.c (rip_response_process): RIPv2 routing table entry with
320 non directly reachable nexthop was dropped. The code is changed
321 to treat it as 0.0.0.0 nexthop.
322 (rip_destination_check): Check net 0 address destination.
323 (rip_nexthop_check): New function for checking nexthop address
324 validity.
325
3262001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
327
328 * ripd.c (rip_request_process): Triggered update only send changed
329 route.
330
331 * rip_interface.c: Delete RIP_API part until new implementation
332 comes out.
333
334 * rip_snmp.: Likewise.
335
336 * rip_zebra.c: Likewise.
337
338 * ripd.c: Likewise.
339
3402001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
341
342 * rip_interface.c (rip_if_init): Remove HAVE_IF_PSEUDO part.
343
3442001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
345
346 * zebra-0.90 is released.
347
3482001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
349
350 * ripd.h (RIP_VTYSH_PATH): Change "/tmp/ripd" to "/tmp/.ripd".
351
3522000-12-25 David Lipovkov <davidl@nbase.co.il>
353
354 * ripd.c (rip_rte_process): When a route is in garbage collection
355 process (invalid with metric 16) and a router receives the same
356 route with valid metric then route was not installed into zebra
357 rib, but only into ripd rib. Moreover , it will never get into
358 zebra rib, because ripd wrongly assumes it's already there.
359 (rip_redistribute_add): When doing redistribute into rip other
360 route (e.g. connected) and the same route exists in ripd rib we
361 changed it in place - bug. Now we don't forget to remove old route
362 from zebra.
363 (rip_timeout): When removing routes from zebra I made sure that we
364 remove route with the metric we have in zebra and not the new
365 one. It doesn't make a difference now,but could be significant
366 when multipath support is done.
367
3682000-12-25 David Lipovkov <davidl@nbase.co.il>
369
370 * rip_zebra.c (rip_metric_unset): Fix bug of metric value unset.
371
3722000-11-25 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
373
374 * ripd.c (rip_request_process): Check passive flag of the
375 interface.
376
3772000-11-23 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
378
379 * rip_interface.c (rip_multicast_join): When IP_ADD_MEMBERSHIP
380 failed do not set runnning flag to the interface.
381
3822000-11-16 Kunihiro Ishiguro <kunihiro@zebra.org>
383
384 * ripd.c (rip_output_process): Memory leak related classfull
385 network generation is fixed.
386
3872000-11-16 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
388
389 * rip_interface.c (if_check_address): Obsolete pointopoint address
390 check is removed.
391
3922000-11-02 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
393
394 * rip_interface.c (if_check_address): Add pointopoint address
395 check.
396 (rip_interface_up): Add check for passive interface when interface
397 goes up.
398
3992000-10-23 Jochen Friedrich <jochen@scram.de>
400
401 * rip_snmp.c: rip_oid and ripd_oid are used in smux_open after it
402 is registered. So those variables must be static.
403
4042000-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
405
406 * rip_interface.c: Change to "no ip rip (send|receive)" command
407 accept version number argument.
408
4092000-10-17 Akihiro Mizutani <mizutani@dml.com>
410
411 * rip_routemap.c (route_set_ip_nexthop_compile): Change "match ip
412 next-hop" from IP address to access-list name.
413
4142000-10-17 Kunihiro Ishiguro <kunihiro@zebra.org>
415
416 * rip_peer.c: Change ot use linklist.c instaed of newlist.c.
417
4182000-10-16 Kunihiro Ishiguro <kunihiro@zebra.org>
419
420 * rip_offset.c: Change to use linklist.c instead of newlist.c.
421
4222000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
423
424 * zebra-0.89 is released.
425
4262000-09-26 Akihiro Mizutani <mizutani@dml.com>
427
428 * rip_routemap.c (match_ip_nexthop): Add next-hop format check.
429
4302000-09-18 David Lipovkov <dlipovkov@OpticalAccess.com>
431
432 * rip_interface.c (ripd_api_get_if_rx_version): Corrects rip SNMP
433 and rip API functions dealing with rip version.
434
435 * rip_snmp.c (Status_Valid): SNMPv2-TC TEXTUAL-CONVENTION.
436
4372000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
438
439 * rip_snmp.c (rip2IfLookup): Use rip_ifaddr_lookup_next() instead
440 of rip_if_lookup_next().
441
442 * rip_interface.c (rip_enable_network_lookup): Interface enable
443 check by interface's address with /32 prefix.
444
445 * ripd.c (rip_read): When RIP is configured with authentication
446 and no authentication in incoming packet, drop the packet.
447
448 * rip_interface.c (rip_interface_reset): RIP_AUTH_SIMPLE_PASSWORD
449 is default mode of authentication.
450 (rip_interface_new): Likewise.
451 (no_ip_rip_authentication_mode): Likewise.
452
453 * ripd.c (rip_read): Likewise.
454
4552000-09-10 David Lipovkov <davidl@nbase.co.il>
456
457 * rip_snmp.c: Set ASN_INTEGER v->type where it is needed.
458
4592000-09-08 Kunihiro Ishiguro <kunihiro@zebra.org>
460
461 * ripd.c (rip_auth_simple_password): Simple password
462 authentication using key-chain.
463 (rip_write_rte): Likewise.
464
465 * rip_interface.c (ip_rip_authentication_key_chain): Add check for
466 authentication string configuration.
467
4682000-09-08 Akihiro Mizutani <mizutani@dml.com>
469
470 * ripd.c (rip_write_rte): Add check for ri->auth_str.
471
4722000-09-07 Kunihiro Ishiguro <kunihiro@zebra.org>
473
474 * ripd_api.h: New file is added.
475
4762000-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
477
478 * ripd.c (rip_rte_process): rip_route_process() is renamed to
479 rip_rte_process() to clarify meanings of the function.
480 rip_route_process() is newly added to process RIP route selection.
481
4822000-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
483
484 * ripd.c (rip_incoming_filter): Extract incoming filter code to
485 function from rip_route_process(). Add check for all interface
486 filter.
487 (rip_outgoing_filter): Extract incoming filter code to function
488 from rip_output_process(). Add check for all interface filter.
489
490 * rip_zebra.c (rip_redistribute_clean): Reset redistribute status
491 when "no router rip" is performed.
492
493 * rip_interface.c (rip_interface_clean): Reset interface's RIP
494 enable status.
495
4962000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
497
498 * ripd.c (rip_route_process): When metric infinity is received the
499 route is removed from service immediately.
500 (rip_timeout): Likewise.
501 (rip_garbage_collect): Do not delete route in garbage collection.
502 (rip_output_process): Check metric_out exceed metric infinity.
503
504 * zebra-0.88 is released.
505
5062000-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
507
508 * ripd.c (rip_distance_apply): Unlock node when there is matched
509 node.
510
5112000-08-13 Akihiro Mizutani <mizutani@dml.com>
512
513 * rip_routemap.c (match_ip_nexthop): Add check for IP address
514 validness.
515 (no_set_metric): Add new ALIAS.
516
5172000-08-07 Kunihiro Ishiguro <kunihiro@zebra.org>
518
519 * ripd.h (struct rip ): Add distance.
520
5212000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
522
523 * rip_zebra.c (rip_zebra_ipv4_add): Use new Zebra api to register
524 routes. Pass RIP metric value to zebra.
525
5262000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
527
528 * rip_main.c (main): Make struct thread thread from global
529 variable to local variable in main.
530
5312000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
532
533 * ripd.c (rip_packet_dump): Add MD5 authentication dump function.
534 (rip_auth_md5): RIP MD5 authentication packet receive works.
535
5362000-08-02 David Lipovkov <davidl@nbase.co.il>
537
538 * rip_interface.c (rip_if_init): Install interface "pseudo"
539 commands.
540 (rip_interface_delete): Do not call if_delete() when interface is
541 pseudo interface.
542
5432000-07-31 Kunihiro Ishiguro <kunihiro@zebra.org>
544
545 * rip_interface.c (ip_rip_authentication_mode): "ip rip
546 authentication mode (md5|text)" is added.
547 (ip_rip_authentication_key_chain): "ip rip authentication
548 key-chain KEY-CHAIN" is added.
549 (rip_interface_clean): Clean all interface configuration.
550 (rip_interface_reset): Reset all interface configuration.
551 (rip_clean_network): Clean rip_enable_network.
552
553 * ripd.h (struct rip_interface): Add key_chain member.
554
555 * ripd.c: Include md5-gnu.h.
556
5572000-07-30 Kunihiro Ishiguro <kunihiro@zebra.org>
558
559 * ripd.h (RIP_NO_AUTH): Change RIP_NO_AUTH value from 1 to 0.
560
561 * ripd.c (rip_authentication): Use RIP_AUTH_SIMPLE_PASSWORD
562 instead of raw value 2.
563 (rip_write_rte): Likewise.
564 (rip_write_rte): Check ri->auth_type instead of ri->auth_str.
565
5662000-07-30 David Lipovkov <davidl@nbase.co.il>
567
568 * rip_interface.c (rip_if_down): Do not delete ZEBRA_ROUTE_KERNEL
569 route.
570
5712000-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
572
573 * ripd.c (rip_update_process): Add "passive-interface" command.
574
575 * ripd.h (struct rip_interface): Add passive member to struct
576 rip_interface.
577
5782000-07-24 Kunihiro Ishiguro <kunihiro@zebra.org>
579
580 * rip_interface.c (rip_if_init): Multiple RIP routes for one
581 prefix change. The codes are enclosed by #ifdef NEW_RIP_TABLE.
582
5832000-07-24 Akihiro Mizutani <mizutani@dml.com>
584
585 * rip_interface.c (rip_if_init): Use install_default() for
586 INTERFACE_NODE.
587
5882000-07-24 Kunihiro Ishiguro <kunihiro@zebra.org>
589
590 * ripd.c: First update timer will be invoked in two seconds.
591
5922000-07-09 Jochen Friedrich <jochen@scram.de>
593
594 * rip_snmp.c: Local function definitions to static. Add INTEGER
595 ASN_INTEGER and TIMETICKS ASN_TIMETICKS definition.
596 (rip2PeerLookup): Peer with domain lookup implemented.
597 (rip2PeerTable): Temporary disable RIP2PEERLASTUPDATE value
598 support due to unknown SNMP agent startup time.
599
6002000-07-05 Kunihiro Ishiguro <kunihiro@zebra.org>
601
602 * ripd.h: Sweep obsolete definitions.
603
604 * rip_interface.c (rip_split_horizon): Add "ip split-horizon"
605 command.
606
607 * ripd.c (rip_output_process): Remove split_horizon argument.
608 (rip_update_process): Likewise.
609
610 * ripd.h (struct rip_interface): Add split_horizon flag to struct
611 rip_interface.
612
6132000-07-04 Akihiro Mizutani <mizutani@dml.com>
614
615 * ripd.c (rip_version): Change VERSION to <1-2>.
616 Add "no version" command.
617
6182000-07-03 Kunihiro Ishiguro <kunihiro@zebra.org>
619
620 * rip_zebra.c (rip_redistribute_type_metric): "redistribute TYPE
621 metric <0-16>" command is added.
622
623 * rip_routemap.c (route_set_metric): Set metric_set when metric is
624 modified.
625
626 * ripd.h (struct rip_info): To check route-map set metric or not,
627 new member metric_set is added to struct rip_info.
628
629 * ripd.c (rip_route_process): Move metric handling code from
630 rip_response_process() to rip_route_process().
631 (rip_output_process): Set output offset-list metric.
632
6332000-07-02 Kunihiro Ishiguro <kunihiro@zebra.org>
634
635 * rip_offset.c (rip_offset_list): New file for offset-list.
636
6372000-07-02 Akihiro Mizutani <mizutani@dml.com>
638
639 * ripd.h (struct rip ): Add default_metric.
640
641 * ripd.c (rip_default_metric): "default-metric <1-16>" command is
642 added.
643 (config_write_rip): Change configuration order.
644
645 * rip_zebra.c: Fix help strings.
646
6472000-07-02 David Lipovkov <davidl@nbase.co.il>
648
649 * rip_interface.c (rip_if_init): Add IF_DELETE_HOOK.
650
6512000-07-01 Kunihiro Ishiguro <kunihiro@zebra.org>
652
653 * ripd.c (rip_output_process): If specified route-map does not
654 exist, it treated as deny all.
655
6562000-06-30 Kunihiro Ishiguro <kunihiro@zebra.org>
657
658 * rip_routemap.c (rip_route_map_init): Call rip_route_map_update
659 when route-map is deleted.
660
6612000-06-28 Kunihiro Ishiguro <kunihiro@zebra.org>
662
663 * rip_routemap.c (set_metric): For consistency with bgpd's set
664 metric, value range is set to <0-4294967295>.
665
6662000-06-28 David Lipovkov <davidl@nbase.co.il>
667
668 * rip_routemap.c (rip_route_map_update): Add check for rip is
669 enabled or not for avoid core dump.
670
671 * rip_debug.c (debug_rip_packet_direct): Fix bug of setting
672 rip_debug_packet flag.
673
6742000-06-13 David Lipovkov <davidl@nbase.co.il>
675
676 * rip_interface.c (rip_interface_delete): All work is done in
677 rip_if_down().
678
6792000-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
680
681 * ripd.c (rip_redistribute_delete): Fix bug of missing
682 route_unlock_node() when redistribute route is not found.
683
6842000-06-05 Akihirof Mizutani <mizutani@dml.com>
685
686 * rip_debug.c (rip_debug_init): Disable show debugging in
687 VIEW_NODE like other protocol daemon.
688
689 * rip_routemap.c: Change command argument to more comprehensive.
690
691 METRIC -> <0-16>
692 IFNAME -> WORD
693 IP_ADDR -> A.B.C.D
694 ACCSESS_LIST -> WORD
695
6962000-06-05 David Lipovkov <davidl@nbase.co.il>
697
698 * rip_interface.c (rip_interface_delete): Delete all routes
699 include static and kernel through the interface , because even if
700 the interface is added again there is no guarantee that it will
701 get the same ifindex as before.
702
7032000-05-31 Akihirof Mizutani <mizutani@dml.com>
704
705 * rip_debug.c: Fix rip debug help string.
706
7072000-04-27 Mirko Karanovic <mkaranov@torsel.alcatel.com>
708
709 * rip_interface.c (rip_interface_down): Remove interface from
710 multicast group when interface goes down.
711
7122000-04-03 David Lipovkov <davidl@nbase.co.il>
713
714 * rip_interface.c (rip_interface_down): Implemented rip functions
715 for interface up/down events: rip_interface_up() and
716 rip_interface_down()
717
7182000-03-16 David Lipovkov <davidl@nbase.co.il>
719
720 * rip_zebra.c (rip_zclient_init): Added rip functions for
721 interface up/down events.
722
7232000-02-15 Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
724
725 * ripd.c (rip_write_rte): "set metic" in route-map has no effect
726 for RIPv1 in ripd. It worked fine for RIPv2.
727
7282000-01-17 Kunihiro Ishiguro <kunihiro@zebra.org>
729
730 * ripd.c (show_ip_protocols_rip): Fix bug of "show ip protocls"
731 mis-display RIP version.
732
733 * ripd.h (struct rip_peer): Add timeout thread to rip_peer
734 structure.
735
7362000-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
737
738 * rip_peer.c: Add new file for supporting RIP peer.
739
7401999-12-26 David Lipovkov <davidl@nbase.co.il>
741
742 * ripd.c (rip_authentication): RIP authantication string is 16
743 bytes long.
744
7451999-12-10 Kunihiro Ishiguro <kunihiro@zebra.org>
746
747 * ripd.c (rip_read): Add check for minimum packet length.
748 Authentication check is moved from rip_process_response() to
749 rip_read(). Patch from David Lipovkov <davidl@nbase.co.il> is
750 applied then add rte number check by Kunihiro Ishiguro
751 <kunihiro@zebra.org>.
752
7531999-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
754
755 * ripd.c (rip_response_process): In case of packet is RIPv2 and
756 network is non zero and netmask is zero, apply netmask rule as
757 same as RIPv1.
758
7591999-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
760
761 * ripd.c (rip_timers): Fix bug of timers basic argument format.
762
7631999-11-03 Kunihiro Ishiguro <kunihiro@zebra.org>
764
765 * rip_snmp.c (rip2IfConfAddress): Forgot to include
766 RIP2IFCONFDOMAIN.
767
7681999-10-28 Kunihiro Ishiguro <kunihiro@zebra.org>
769
770 * ripd.h (struct rip_peer): New structure added.
771
7721999-10-26 Kunihiro Ishiguro <kunihiro@zebra.org>
773
774 * rip_zebra.c (rip_zebra_ipv4_add): Increment
775 rip_global_route_changes when route change occur.
776 (rip_zebra_ipv4_delete): Likewise.
777
778 * ripd.c (rip_request_process): Increment rip_global_queries when
779 reply to the query is sent.
780
7811999-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
782
783 * rip_debug.c (rip_debug_reset): Reset function added.
784
785 * ripd.c (rip_update_process): Logging bug is fixed.
786
7871999-10-10 Marc Boucher <marc@mbsi.ca>
788
789 * ripd.c (config_write_rip): Add config_write_distribute() call.
790
7911999-09-29 Kunihiro Ishiguro <kunihiro@zebra.org>
792
793 * ripd.c (rip_distribute_update): Fix bug of access-list
794 prefix-list updates.
795
7961999-09-10 VOP <vop@unity.net>
797
798 * rip_zebra.c: Add redistribute route-map feature.
799
8001999-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
801
802 * ripd.c (rip_response_process): Add check for given prefix is
803 given mask applied one.
804
8051999-09-03 VOP <vop@unity.net>
806
807 * rip_interface.c (rip_interface_multicast_set): Bug fix about
808 setting multicast interface.
809
8101999-09-02 VOP <vop@unity.net>
811
812 * rip_routemap.c: New file added.
813
8141999-09-02 Kunihiro Ishiguro <kunihiro@zebra.org>
815
816 * ripd.c (show_ip_protocols_rip): Show next update time.
817 (show_ip_protocols_rip): Show redistribute information.
818
8191999-08-25 Kunihiro Ishiguro <kunihiro@zebra.org>
820
821 * RIPv2-MIB.txt: New file added.
822
823 * rip_snmp.c: New file added.
824
8251999-08-24 Kunihiro Ishiguro <kunihiro@zebra.org>
826
827 * rip_interface.c (ip_rip_authentication_string): RIPv2
828 authentication command is added.
829
8301999-08-23 Kunihiro Ishiguro <kunihiro@zebra.org>
831
832 * rip_interface.c (rip_interface_multicast_set): Process of
833 setting IP_MULTICAST_IF on specific interface.
834
835 * ripd.c (rip_read): Add packet size check.
836
8371999-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
838
839 * ripd.c (rip_request_process): Fill in RIP_METRIC_INFINITY with
840 network byte order using htonl ().
841 (rip_response_process): Pass host byte order address to IN_CLASSC
842 and IN_CLASSB macro.
843
8441999-08-08 davidm@nbase.co.il (David Mozes)
845
846 * rip_zebra.c (rip_zebra_read_ipv4): Fix split horizon problem.
847
8481999-07-03 Kunihiro Ishiguro <kunihiro@zebra.org>
849
850 * ripd.c (rip_timer_set): Function added.
851
8521999-07-01 Kunihiro Ishiguro <kunihiro@zebra.org>
853
854 * rip_debug.c: New file added.
855 rip_debug.h: New file added.
856
8571999-07-01 Rick Payne <rickp@rossfell.co.uk>
858
859 * rip_zebra.c (zebra_init): Install standard commands to
860 ZEBRA_NODE.
861
8621999-06-01 David Luyer <luyer@ucs.uwa.edu.au>
863
864 * ripd.c (rip_process_route): Add support for RIP version 1.
865
8661999-05-29 Kunihiro Ishiguro <kunihiro@zebra.org>
867
868 * rip_zebra.c: Change to use lib/zclient.[ch].
869
8701999-05-20 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
871
872 * ripd.c (rip_add_route): Change the existance route's metric check
873 to the condition specified by RFC2453.
874
8751999-05-17 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
876
877 * ripd.c (rip_process_route): Add the if metric to the route metric.
878
879 * ripd.c (rip_add_route): Deleted add if metric to the route.
880
8811999-05-16 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
882
883 * rip_interface.c (if_valid_neighbor): New function.
884
885 * ripd.c (rip_process_route): Added check whether the datagram
886 is from a valid neighbor.
887
8881999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
889
890 * ripd.c (rip_process_route): Set interface pointer to rinfo.
891
8921999-05-15 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
893
894 * ripd.c (rip_check_address): Unicast and not net 0 or 127 check
895 added.
896
8971999-05-14 Stephen R. van den Berg <srb@cuci.nl>
898
899 * rip_main.c (signal_init): SIGTERM call sigint.
900 (sigint): Loggging more better message.
901
9021999-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
903
904 * ripd.c (rip_add_route): Fix previous route_unlock_node() chenge.
905
906 * rip_main.c (main): Change default zlog output to ZLOG_STDOUT for
907 debugging.
908
9091999-05-09 Patrick Koppen <koppen@rhrk.uni-kl.de>
910
911 * rip_interface.c (rip_request): Fix old semantics for fetching
912 connected address.
913
914 * ripd.c (rip_add_route): Update timer when the route is updated.
915
9161999-05-09 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
917
918 * rip_zebra.c (struct zebra): Add ridist_static, ridist_connect,
919 redist_rip, redist_ripng.
920
921 * rip_zebra.c (zebra_create): Updated for current zebra method.
922
923 * ripd.c (rip_add_route): Add missing route_unlock_node().
924
9251999-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
926
927 * ripd.c (rip_add_route): Add metric check. Reported by Carlos
928 Alberto Barcenilla <barce@frlp.utn.edu.ar>.
929
9301999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
931
932 * syslog support added
933
9341998-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
935
936 * ripd.c (rip_announce_func): Apply new lib functions.
937
9381998-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
939
940 * ripd.c (config_write_rip): Delete vector v argument.
941 * rip_zebra.c (config_write_zebra): Likewise.
942 * rip_interface.c (interface_config_write): Likewise.
943
9441998-09-07 Kunihiro Ishiguro <kunihiro@zebra.org>
945
946 * rip_announce.c (rip_rib_close): When ripd terminates delete all
947 added route.
948
9491998-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
950
951 * rip_interface.c: return read packet size.
952
9531998-05-18 Yamshita TAKAO <jargon@lares.dti.ne.jp>
954
955 * ripd.h: Modify for compile on Solaris.
956
9571998-05-07 Kunihiro Ishiguro <kunihiro@zebra.org>
958
959 * ripd.c: DEFUN function return CMD_SUCCESS.
960 change xmalloc to XMALLOC macro.
961
9621998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
963
964 * rip_main.c: change CONFDIR to SYSCONFDIR.
965
9661998-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
967
968 * .cvsignore: added.
969
9701998-02-04 Kunihiro Ishiguro <kunihiro@zebra.org>
971
972 * rip_interface.c (config_write_interface): correct ADVERTISE spell.
973
974 * rip_main.c (main): add usage() and make cleanup.
975
9761998-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
977
978 * ripd.c (rip_version): add rip version command.
979
9801998-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
981
982 * rip_interface.c (zebra_get_interface): added to get
983 interface's information.
984
985 * ChangeLog: create.