blob: 132fd43aeaea87f3fa461b958b5a128a31b284cf [file] [log] [blame]
ajsd2fc8892005-04-02 18:38:43 +000012005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
2
3 * rip_interface.c: (rip_interface_delete) After deleting, set
4 ifp->ifindex to IFINDEX_INTERNAL.
5
paulb14ee002005-02-04 23:42:41 +000062005-02-04 Paul Jakma <paul@dishone.st>
7
8 * ripd.c: Untangle the construction of RIP auth data.
9 (rip_auth_prepare_str_send) new helper function, prepare
10 correct key string.
11 (rip_auth_simple_write) new helper, write out the
12 rip simple password auth psuedo-RTE.
13 (rip_auth_md5_ah_write) new helper, write out the
14 MD5 auth-header psuedo-RTE.
15 (rip_auth_header_write) new helper, write out correct
16 auth header data / psuedo-RTE.
17 (rip_auth_md5_set) rip out the memmove and writing of the
18 auth header psuedo-RTE. So that all that is left is to
19 write the trailing auth digest, and update digest offset
20 field in the original header.
21 (rip_write_rte) rip out writing of RIP header, writing of
22 simple auth data psuedo-RTE. Make it do what its name suggests,
23 write out actual RTEs.
24 (rip_output_process) remove the incorrect additional decrements
25 of rtemax. Prepare the auth_str, which simple or MD5 auth will
26 need. Move write out of RIP header and auth data to inside the
27 loop. Adjust paramaters as required.
28
ajs79853452005-01-30 17:40:29 +0000292005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
30
ajs6a52d0d2005-01-30 18:49:28 +000031 * ripd.c: (rip_create_socket) Replace perror with zlog_err.
32
332005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
34
ajs79853452005-01-30 17:40:29 +000035 * ripd.c: (rip_create_socket) Save errno before calling
36 ripd_privs.change.
37
ajsb99760a2005-01-04 16:24:43 +0000382005-01-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
39
40 * ripd.c: (rip_recvmsg) Use ZCMSG_FIRSTHDR instead of CMSG_FIRSTHDR.
41
ajs766a0ca2004-12-15 14:55:51 +0000422004-12-15 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
43
44 * ripd.c: (rip_read) Improve 2 error messages to show the source of
45 the packet when the lookup fails.
46
ajs5d6c3772004-12-08 19:24:06 +0000472004-12-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
48
49 * *.c: Change level of debug messages to LOG_DEBUG.
50
ajs274a4a42004-12-07 15:39:31 +0000512004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
52
53 * rip_main.c: (main) The 2nd argument to openzlog has been removed.
54
ajs887c44a2004-12-03 16:36:46 +0000552004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
56
57 * rip_main.c: (sigint) Use zlog_notice for termination message.
58 (main) Add a startup announcement using zlog_notice.
59
hassoc0652302004-11-25 19:33:48 +0000602004-11-25 Hasso Tepper <hasso at quagga.net>
61
62 * rip_main.c: Make group to run as configurable.
63
paulc49ad8f2004-10-22 10:27:28 +0000642004-10-22 Paul Jakma <paul@dishone.st>
65
66 * ripd.c: Collapse redundant passing of various address structs,
67 struct interface and struct connected as arguments to functions
68 down to two key arguments, namely struct connected and, possibly,
69 address of source/destination. Testing for RIPv1 would be useful.
70 (rip_read) lookup struct connected for the received packet, pass
71 it on.
72 * rip_interface.c: With previous changes, we no longer have to tread
73 carefully with struct connected, as it will always be there and
74 valid.
75
hasso3fb9cd62004-10-19 19:44:43 +0000762004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
77
78 * ripd.c: (rip_update_interface) if connected->destination is NULL,
79 get the broadcast address with ipv4_broadcast_addr()
80 * rip_interface.c: (rip_interface_multicast_set)
81 connected->destination may be NULL. Improve message if
82 setsockopt_multicast_ipv4 fails. Improve message if bind fails.
83 (rip_request_interface_send) If connected->destination is NULL,
84 get the broadcast address with ipv4_broadcast_addr().
85 (if_valid_neighbor) Handle PtP subnet addressing properly.
86 Speed up code by using prefix_match properly.
87
hassoc75105a2004-10-13 10:33:26 +0000882004-10-13 Hasso Tepper <hasso at quagga.net>
89
90 * ripd_snmp.c: Remove defaults used to initialize smux connection to
91 snmpd. Connection is initialized only if smux peer is configured.
92
hasso98b718a2004-10-11 12:57:57 +0000932004-10-11 Hasso Tepper <hasso at quagga.net>
94
95 * *.c: Make more strings const.
96
hasso8a676be2004-10-08 06:36:38 +0000972004-10-08 Hasso Tepper <hasso at quagga.net>
98
99 * *.c: Fix compiler warnings: make strings const, signed -> unsigned
100 etc.
101
hasso1af81932004-09-26 16:11:14 +00001022004-09-26 Hasso Tepper <hasso at quagga.net>
103
104 * ripd.c: Fix compiler warning.
105
hasso52dc7ee2004-09-23 19:18:23 +00001062004-09-23 Hasso Tepper <hasso at quagga.net>
107
108 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
109
paul0b3acf42004-09-17 08:39:08 +00001102004-09-17 Paul Jakma <paul@dishone.st>
111
112 * ripd.c: set receive buffer to a decent size, some systems have low
113 defaults. Problem noted and fix suggested by Stephan Schweizer
114 in [zebra 20967].
115
paul1a517862004-08-19 04:03:08 +00001162004-08-19 Paul Jakma <paul@dishone.st>
117
118 * rip_interface.c: (rip_interface_multicast_set) get rid
119 of extraneous if_pointopoint arg. ifp is accessible via connected.
120 pass connected->ifp->ifindex to setsockopt_multicast_ipv4.
121 * ripd.c: (rip_send_packet) update call to
122 rip_interface_multicast_set
123 * ripd.h: update rip_interface_multicast_set prototype
124
paul02ff83c2004-06-11 11:27:03 +00001252004-06-11 Sowmini Varadhan <sowmini.varadhan@sun.com>
126
127 * ripd.c: (rip_distribute_update_all) distribute list hook
128 function pointer prototype requires struct prefix_list * arg.
129 (rip_distribute_update_all_wrapper) update to pass required arg,
130 NULL.
131
paulca5e5162004-06-06 22:06:33 +00001322004-06-06 Paul Jakma <paul.jakma@sun.com>
133
134 * ripd.h: Add define for the RIPv2 Authentication Data family
135 Move the auth type defines up to where other defines live.
136 Add RIP_AUTH_MD5_COMPAT_SIZE, for backwards compatible
137 md5->auth_len size. Add md5_auth_len field to struct
138 rip_interface: (rip_interface_new) Init md5_auth_len to compatible
139 size.
140 (ip_rip_authentication_mode_cmd) Extended to handle setting
141 md5 auth-length. Appropriate aliases added.
142 (no_ip_rip_authentication_mode_cmd) Reset md5_auth_len to
143 compatible size.
144 (rip_interface_config_write) Teach it about md5_auth_len.
145 _always_ write out the auth-length, so that everyone will get
146 the setting in their config file, and hence allow for a future
147 change of default for md5_auth_len to be less painful - every md5
148 user will have this setting in their config file.
149 ripd.c: (rip_packet_dump) Change nasty hard coded constants to
150 symbolic defines. Change various tests of 'ntoh.(variable) ==
151 constant' to test 'variable == ntoh.(constant)'. Clean up
152 indentation on some long lines.
153 (rip_auth_simple_password) ditto.
154 (rip_auth_md5) ditto, also add length argument and sanity check
155 md5 data offset field. Sanity check md5 auth length, accept RFC
156 or old-ripd/cisco lengths.
157 (rip_auth_md5_set) as per (rip_packet_dump), also write out
158 the configured md5 auth length for the interface (old-ripd or rfc)
159 (rip_read) as per (rip_packet_dump)
160 (rip_write_rte) ditto
161 (rip_response_process) ditto
162 (rip_write_rte) ditto
163
paulc2bfbcc2004-06-04 01:42:38 +00001642004-06-04 JJ Ludman <jacques.ludman@sun.com>
165
166 * ripd.c: Interoperability fix. Correct value for MD5 auth length
167 is 16. Accept packets with this set to >= 16, and set to 16
168 ourselves.
169
paul11dde9c2004-05-31 14:00:00 +00001702004-05-31 Sowmini Varadhan <sowmini.varadhan@sun.com>
171
172 * ripd.c: Fixup compile warnings
173 * rip_routemap.c: Ditto
174
paul0a589352004-05-08 11:48:26 +00001752004-05-08 Paul Jakma <paul@dishone.st>
176
177 * rip_zebra.c: sync with zclient changes.
178 * rip_interface.c: ditto.
179
paul239389b2004-05-05 14:09:37 +00001802004-05-05 Anthony.Golia@morganstanley.com
181
182 * ripd.c: (rip_update_jitter) Bound jitter to a more sensible
183 value, eg 1/4 of update time.
184
paula87552c2004-05-03 20:00:17 +00001852004-05-03 Paul Jakma <paul@dishone.st>
186
187 * ripd.c: (rip_rte_process) fix typo in merge of previous patch
188 and run function through indent.
189
paulb94f9db2004-05-01 20:45:38 +00001902004-03-19 Jean-Yves Simon <lethalwp@tiscali.be>
191
paula87552c2004-05-03 20:00:17 +0000192 * ripd.c: (rip_rte_process) make ripd also check on
193 administrative distance of his own links to update routes.
paulb94f9db2004-05-01 20:45:38 +0000194
hassoda9c9a22004-03-18 02:40:55 +00001952004-03-18 sowmini.varadhan@sun.com
196
197 * ripd.c: rip_send_packet can get null connected address when
198 called in response to a unicast rip-request. Handle correctly.
199
hassoa1455d82004-03-03 19:36:24 +00002002004-03-03 Krzysztof Oledzki <oleq@ans.pl>
201
hassocaa6f8a2004-03-03 19:48:48 +0000202 * ripd.c: fix "show ip rip" and per interface rip version selection.
hassoa1455d82004-03-03 19:36:24 +0000203
paul931cd542004-01-23 15:31:42 +00002042004-01-23 sowmini.varadhan@sun.com
205
206 * rip_interface.c: obsolete unbind code in
207 rip_interface_multicast_set, and instead do the more portable
208 (though slower) method of creating a socket for each outgoing packet
209 and binding the source address on the new socket.
210 * rip_interface.c, ripd.c, ripd.h: Modify rip_request_send so that
211 source address is determined by the caller of rip_request_send for
212 ripv1 packets and non-multicast interfaces (rip_request_send loops
213 over all connected address in all other cases).
214 * rip_send_packet: don't send packets with source set to
215 ZEBRA_IFA_SECONDARY connected addresses; improved debug messages;
216
paulf38a4712003-06-07 01:10:00 +00002172003-06-07 Andrew J. Schorr <aschorr@telemetry-investments.com>
218
219 * Allow ripd to receive RIPv1
220 * add default as valid param to passive-interface command
221
hasso16705132003-05-25 14:49:19 +00002222003-05-25 Vincent Jardin <vjardin@wanadoo.fr>
223
paulf38a4712003-06-07 01:10:00 +0000224 * 6Wind patch merge.
hasso16705132003-05-25 14:49:19 +0000225
paul445f1432003-05-16 19:00:31 +00002262003-04-19 Hasso Tepper <hasso@estpak.ee>
227
228 * rip_routemap.c: sync daemon's route-map commands to have same
229 syntax
230
paul718e3742002-12-13 20:15:29 +00002312002-07-07 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
232
233 * zebra-0.93 released.
234
2352002-06-30 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
236
237 * ripd.c (rip_output_process): When outgoing interface is same as
238 next hop interface, announce RIPv2 next hop otherwise set next hop
239 to 0. Revert previous change then take 6WIND way.
240
2412001-09-14 Akihiro Mizutani <mizutani@dml.com>
242
243 * ripd.c: RIP enabled interface's route is advertised by default.
244
2452001-08-28 NOGUCHI Kay <kay@v6.access.co.jp>
246
247 * rip_snmp.c (rip_ifaddr_delete): Add route_node_lookup() return
248 value check.
249
250 * rip_interface.c (rip_multicast_leave): Fix bug of multiple IP
251 address on one interface multicast join/leave bug.
252
2532001-08-26 NOGUCHI Kay <kay@v6.access.co.jp>
254
255 * rip_interface.c (no_rip_passive_interface): Add NO_STR.
256
2572001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
258
259 * zebra-0.92a released.
260
2612001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
262
263 * zebra-0.92 released.
264
2652001-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
266
267 * rip_routemap.c (route_match_ip_address_prefix_list): Add match
268 ip next-hop prefix-list WORD.
269
2702001-02-18 Kunihiro Ishiguro <kunihiro@zebra.org>
271
272 * rip_interface.c (rip_passive_interface_clean): Call
273 rip_passive_interface_apply_all.
274
2752001-02-12 Kunihiro Ishiguro <kunihiro@zebra.org>
276
277 * ripd.c (rip_response_process): Multicast address nexthop check
278 is moved from rip_nexthop_check.
279
2802001-02-08 Matthew Grant <grantma@anathoth.gen.nz>
281
282 * rip_interface.c (ipv4_multicast_join): Use
283 setsockopt_multicast_ipv4.
284 (ipv4_multicast_leave): Likewise.
285 (rip_if_ipv4_address_check): Interface which has IPv4 address can
286 be enabled.
287
2882001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
289
290 * rip_interface.c (rip_interface_delete): To support pseudo
291 interface do not free interface structure.
292 * ripd.c (rip_output_process): If output interface is in simple
293 password authentication mode, we need space for authentication
294 data.
295
2962001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
297
298 * ripd.c (rip_nexthop_check): Fix multicast address nexthop check.
299
300 * zebra-0.91 is released.
301
3022001-01-27 Kunihiro Ishiguro <kunihiro@zebra.org>
303
304 * ripd.c (show_ip_rip): Show metric infinity route's timeout.
305 (rip_rte_process): If current route is metric infinity, route is
306 replaced with received rte.
307 (rip_redistribute_delete): When redistribute route is deleted,
308 perform poisoned reverse.
309 (rip_redistribute_withdraw): Likewise.
310
3112001-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
312
313 * ripd.c (rip_response_process): RIPv2 routing table entry with
314 non directly reachable nexthop was dropped. The code is changed
315 to treat it as 0.0.0.0 nexthop.
316 (rip_destination_check): Check net 0 address destination.
317 (rip_nexthop_check): New function for checking nexthop address
318 validity.
319
3202001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
321
322 * ripd.c (rip_request_process): Triggered update only send changed
323 route.
324
325 * rip_interface.c: Delete RIP_API part until new implementation
326 comes out.
327
328 * rip_snmp.: Likewise.
329
330 * rip_zebra.c: Likewise.
331
332 * ripd.c: Likewise.
333
3342001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
335
336 * rip_interface.c (rip_if_init): Remove HAVE_IF_PSEUDO part.
337
3382001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
339
340 * zebra-0.90 is released.
341
3422001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
343
344 * ripd.h (RIP_VTYSH_PATH): Change "/tmp/ripd" to "/tmp/.ripd".
345
3462000-12-25 David Lipovkov <davidl@nbase.co.il>
347
348 * ripd.c (rip_rte_process): When a route is in garbage collection
349 process (invalid with metric 16) and a router receives the same
350 route with valid metric then route was not installed into zebra
351 rib, but only into ripd rib. Moreover , it will never get into
352 zebra rib, because ripd wrongly assumes it's already there.
353 (rip_redistribute_add): When doing redistribute into rip other
354 route (e.g. connected) and the same route exists in ripd rib we
355 changed it in place - bug. Now we don't forget to remove old route
356 from zebra.
357 (rip_timeout): When removing routes from zebra I made sure that we
358 remove route with the metric we have in zebra and not the new
359 one. It doesn't make a difference now,but could be significant
360 when multipath support is done.
361
3622000-12-25 David Lipovkov <davidl@nbase.co.il>
363
364 * rip_zebra.c (rip_metric_unset): Fix bug of metric value unset.
365
3662000-11-25 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
367
368 * ripd.c (rip_request_process): Check passive flag of the
369 interface.
370
3712000-11-23 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
372
373 * rip_interface.c (rip_multicast_join): When IP_ADD_MEMBERSHIP
374 failed do not set runnning flag to the interface.
375
3762000-11-16 Kunihiro Ishiguro <kunihiro@zebra.org>
377
378 * ripd.c (rip_output_process): Memory leak related classfull
379 network generation is fixed.
380
3812000-11-16 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
382
383 * rip_interface.c (if_check_address): Obsolete pointopoint address
384 check is removed.
385
3862000-11-02 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
387
388 * rip_interface.c (if_check_address): Add pointopoint address
389 check.
390 (rip_interface_up): Add check for passive interface when interface
391 goes up.
392
3932000-10-23 Jochen Friedrich <jochen@scram.de>
394
395 * rip_snmp.c: rip_oid and ripd_oid are used in smux_open after it
396 is registered. So those variables must be static.
397
3982000-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
399
400 * rip_interface.c: Change to "no ip rip (send|receive)" command
401 accept version number argument.
402
4032000-10-17 Akihiro Mizutani <mizutani@dml.com>
404
405 * rip_routemap.c (route_set_ip_nexthop_compile): Change "match ip
406 next-hop" from IP address to access-list name.
407
4082000-10-17 Kunihiro Ishiguro <kunihiro@zebra.org>
409
410 * rip_peer.c: Change ot use linklist.c instaed of newlist.c.
411
4122000-10-16 Kunihiro Ishiguro <kunihiro@zebra.org>
413
414 * rip_offset.c: Change to use linklist.c instead of newlist.c.
415
4162000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
417
418 * zebra-0.89 is released.
419
4202000-09-26 Akihiro Mizutani <mizutani@dml.com>
421
422 * rip_routemap.c (match_ip_nexthop): Add next-hop format check.
423
4242000-09-18 David Lipovkov <dlipovkov@OpticalAccess.com>
425
426 * rip_interface.c (ripd_api_get_if_rx_version): Corrects rip SNMP
427 and rip API functions dealing with rip version.
428
429 * rip_snmp.c (Status_Valid): SNMPv2-TC TEXTUAL-CONVENTION.
430
4312000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
432
433 * rip_snmp.c (rip2IfLookup): Use rip_ifaddr_lookup_next() instead
434 of rip_if_lookup_next().
435
436 * rip_interface.c (rip_enable_network_lookup): Interface enable
437 check by interface's address with /32 prefix.
438
439 * ripd.c (rip_read): When RIP is configured with authentication
440 and no authentication in incoming packet, drop the packet.
441
442 * rip_interface.c (rip_interface_reset): RIP_AUTH_SIMPLE_PASSWORD
443 is default mode of authentication.
444 (rip_interface_new): Likewise.
445 (no_ip_rip_authentication_mode): Likewise.
446
447 * ripd.c (rip_read): Likewise.
448
4492000-09-10 David Lipovkov <davidl@nbase.co.il>
450
451 * rip_snmp.c: Set ASN_INTEGER v->type where it is needed.
452
4532000-09-08 Kunihiro Ishiguro <kunihiro@zebra.org>
454
455 * ripd.c (rip_auth_simple_password): Simple password
456 authentication using key-chain.
457 (rip_write_rte): Likewise.
458
459 * rip_interface.c (ip_rip_authentication_key_chain): Add check for
460 authentication string configuration.
461
4622000-09-08 Akihiro Mizutani <mizutani@dml.com>
463
464 * ripd.c (rip_write_rte): Add check for ri->auth_str.
465
4662000-09-07 Kunihiro Ishiguro <kunihiro@zebra.org>
467
468 * ripd_api.h: New file is added.
469
4702000-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
471
472 * ripd.c (rip_rte_process): rip_route_process() is renamed to
473 rip_rte_process() to clarify meanings of the function.
474 rip_route_process() is newly added to process RIP route selection.
475
4762000-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
477
478 * ripd.c (rip_incoming_filter): Extract incoming filter code to
479 function from rip_route_process(). Add check for all interface
480 filter.
481 (rip_outgoing_filter): Extract incoming filter code to function
482 from rip_output_process(). Add check for all interface filter.
483
484 * rip_zebra.c (rip_redistribute_clean): Reset redistribute status
485 when "no router rip" is performed.
486
487 * rip_interface.c (rip_interface_clean): Reset interface's RIP
488 enable status.
489
4902000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
491
492 * ripd.c (rip_route_process): When metric infinity is received the
493 route is removed from service immediately.
494 (rip_timeout): Likewise.
495 (rip_garbage_collect): Do not delete route in garbage collection.
496 (rip_output_process): Check metric_out exceed metric infinity.
497
498 * zebra-0.88 is released.
499
5002000-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
501
502 * ripd.c (rip_distance_apply): Unlock node when there is matched
503 node.
504
5052000-08-13 Akihiro Mizutani <mizutani@dml.com>
506
507 * rip_routemap.c (match_ip_nexthop): Add check for IP address
508 validness.
509 (no_set_metric): Add new ALIAS.
510
5112000-08-07 Kunihiro Ishiguro <kunihiro@zebra.org>
512
513 * ripd.h (struct rip ): Add distance.
514
5152000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
516
517 * rip_zebra.c (rip_zebra_ipv4_add): Use new Zebra api to register
518 routes. Pass RIP metric value to zebra.
519
5202000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
521
522 * rip_main.c (main): Make struct thread thread from global
523 variable to local variable in main.
524
5252000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
526
527 * ripd.c (rip_packet_dump): Add MD5 authentication dump function.
528 (rip_auth_md5): RIP MD5 authentication packet receive works.
529
5302000-08-02 David Lipovkov <davidl@nbase.co.il>
531
532 * rip_interface.c (rip_if_init): Install interface "pseudo"
533 commands.
534 (rip_interface_delete): Do not call if_delete() when interface is
535 pseudo interface.
536
5372000-07-31 Kunihiro Ishiguro <kunihiro@zebra.org>
538
539 * rip_interface.c (ip_rip_authentication_mode): "ip rip
540 authentication mode (md5|text)" is added.
541 (ip_rip_authentication_key_chain): "ip rip authentication
542 key-chain KEY-CHAIN" is added.
543 (rip_interface_clean): Clean all interface configuration.
544 (rip_interface_reset): Reset all interface configuration.
545 (rip_clean_network): Clean rip_enable_network.
546
547 * ripd.h (struct rip_interface): Add key_chain member.
548
549 * ripd.c: Include md5-gnu.h.
550
5512000-07-30 Kunihiro Ishiguro <kunihiro@zebra.org>
552
553 * ripd.h (RIP_NO_AUTH): Change RIP_NO_AUTH value from 1 to 0.
554
555 * ripd.c (rip_authentication): Use RIP_AUTH_SIMPLE_PASSWORD
556 instead of raw value 2.
557 (rip_write_rte): Likewise.
558 (rip_write_rte): Check ri->auth_type instead of ri->auth_str.
559
5602000-07-30 David Lipovkov <davidl@nbase.co.il>
561
562 * rip_interface.c (rip_if_down): Do not delete ZEBRA_ROUTE_KERNEL
563 route.
564
5652000-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
566
567 * ripd.c (rip_update_process): Add "passive-interface" command.
568
569 * ripd.h (struct rip_interface): Add passive member to struct
570 rip_interface.
571
5722000-07-24 Kunihiro Ishiguro <kunihiro@zebra.org>
573
574 * rip_interface.c (rip_if_init): Multiple RIP routes for one
575 prefix change. The codes are enclosed by #ifdef NEW_RIP_TABLE.
576
5772000-07-24 Akihiro Mizutani <mizutani@dml.com>
578
579 * rip_interface.c (rip_if_init): Use install_default() for
580 INTERFACE_NODE.
581
5822000-07-24 Kunihiro Ishiguro <kunihiro@zebra.org>
583
584 * ripd.c: First update timer will be invoked in two seconds.
585
5862000-07-09 Jochen Friedrich <jochen@scram.de>
587
588 * rip_snmp.c: Local function definitions to static. Add INTEGER
589 ASN_INTEGER and TIMETICKS ASN_TIMETICKS definition.
590 (rip2PeerLookup): Peer with domain lookup implemented.
591 (rip2PeerTable): Temporary disable RIP2PEERLASTUPDATE value
592 support due to unknown SNMP agent startup time.
593
5942000-07-05 Kunihiro Ishiguro <kunihiro@zebra.org>
595
596 * ripd.h: Sweep obsolete definitions.
597
598 * rip_interface.c (rip_split_horizon): Add "ip split-horizon"
599 command.
600
601 * ripd.c (rip_output_process): Remove split_horizon argument.
602 (rip_update_process): Likewise.
603
604 * ripd.h (struct rip_interface): Add split_horizon flag to struct
605 rip_interface.
606
6072000-07-04 Akihiro Mizutani <mizutani@dml.com>
608
609 * ripd.c (rip_version): Change VERSION to <1-2>.
610 Add "no version" command.
611
6122000-07-03 Kunihiro Ishiguro <kunihiro@zebra.org>
613
614 * rip_zebra.c (rip_redistribute_type_metric): "redistribute TYPE
615 metric <0-16>" command is added.
616
617 * rip_routemap.c (route_set_metric): Set metric_set when metric is
618 modified.
619
620 * ripd.h (struct rip_info): To check route-map set metric or not,
621 new member metric_set is added to struct rip_info.
622
623 * ripd.c (rip_route_process): Move metric handling code from
624 rip_response_process() to rip_route_process().
625 (rip_output_process): Set output offset-list metric.
626
6272000-07-02 Kunihiro Ishiguro <kunihiro@zebra.org>
628
629 * rip_offset.c (rip_offset_list): New file for offset-list.
630
6312000-07-02 Akihiro Mizutani <mizutani@dml.com>
632
633 * ripd.h (struct rip ): Add default_metric.
634
635 * ripd.c (rip_default_metric): "default-metric <1-16>" command is
636 added.
637 (config_write_rip): Change configuration order.
638
639 * rip_zebra.c: Fix help strings.
640
6412000-07-02 David Lipovkov <davidl@nbase.co.il>
642
643 * rip_interface.c (rip_if_init): Add IF_DELETE_HOOK.
644
6452000-07-01 Kunihiro Ishiguro <kunihiro@zebra.org>
646
647 * ripd.c (rip_output_process): If specified route-map does not
648 exist, it treated as deny all.
649
6502000-06-30 Kunihiro Ishiguro <kunihiro@zebra.org>
651
652 * rip_routemap.c (rip_route_map_init): Call rip_route_map_update
653 when route-map is deleted.
654
6552000-06-28 Kunihiro Ishiguro <kunihiro@zebra.org>
656
657 * rip_routemap.c (set_metric): For consistency with bgpd's set
658 metric, value range is set to <0-4294967295>.
659
6602000-06-28 David Lipovkov <davidl@nbase.co.il>
661
662 * rip_routemap.c (rip_route_map_update): Add check for rip is
663 enabled or not for avoid core dump.
664
665 * rip_debug.c (debug_rip_packet_direct): Fix bug of setting
666 rip_debug_packet flag.
667
6682000-06-13 David Lipovkov <davidl@nbase.co.il>
669
670 * rip_interface.c (rip_interface_delete): All work is done in
671 rip_if_down().
672
6732000-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
674
675 * ripd.c (rip_redistribute_delete): Fix bug of missing
676 route_unlock_node() when redistribute route is not found.
677
6782000-06-05 Akihirof Mizutani <mizutani@dml.com>
679
680 * rip_debug.c (rip_debug_init): Disable show debugging in
681 VIEW_NODE like other protocol daemon.
682
683 * rip_routemap.c: Change command argument to more comprehensive.
684
685 METRIC -> <0-16>
686 IFNAME -> WORD
687 IP_ADDR -> A.B.C.D
688 ACCSESS_LIST -> WORD
689
6902000-06-05 David Lipovkov <davidl@nbase.co.il>
691
692 * rip_interface.c (rip_interface_delete): Delete all routes
693 include static and kernel through the interface , because even if
694 the interface is added again there is no guarantee that it will
695 get the same ifindex as before.
696
6972000-05-31 Akihirof Mizutani <mizutani@dml.com>
698
699 * rip_debug.c: Fix rip debug help string.
700
7012000-04-27 Mirko Karanovic <mkaranov@torsel.alcatel.com>
702
703 * rip_interface.c (rip_interface_down): Remove interface from
704 multicast group when interface goes down.
705
7062000-04-03 David Lipovkov <davidl@nbase.co.il>
707
708 * rip_interface.c (rip_interface_down): Implemented rip functions
709 for interface up/down events: rip_interface_up() and
710 rip_interface_down()
711
7122000-03-16 David Lipovkov <davidl@nbase.co.il>
713
714 * rip_zebra.c (rip_zclient_init): Added rip functions for
715 interface up/down events.
716
7172000-02-15 Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
718
719 * ripd.c (rip_write_rte): "set metic" in route-map has no effect
720 for RIPv1 in ripd. It worked fine for RIPv2.
721
7222000-01-17 Kunihiro Ishiguro <kunihiro@zebra.org>
723
724 * ripd.c (show_ip_protocols_rip): Fix bug of "show ip protocls"
725 mis-display RIP version.
726
727 * ripd.h (struct rip_peer): Add timeout thread to rip_peer
728 structure.
729
7302000-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
731
732 * rip_peer.c: Add new file for supporting RIP peer.
733
7341999-12-26 David Lipovkov <davidl@nbase.co.il>
735
736 * ripd.c (rip_authentication): RIP authantication string is 16
737 bytes long.
738
7391999-12-10 Kunihiro Ishiguro <kunihiro@zebra.org>
740
741 * ripd.c (rip_read): Add check for minimum packet length.
742 Authentication check is moved from rip_process_response() to
743 rip_read(). Patch from David Lipovkov <davidl@nbase.co.il> is
744 applied then add rte number check by Kunihiro Ishiguro
745 <kunihiro@zebra.org>.
746
7471999-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
748
749 * ripd.c (rip_response_process): In case of packet is RIPv2 and
750 network is non zero and netmask is zero, apply netmask rule as
751 same as RIPv1.
752
7531999-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
754
755 * ripd.c (rip_timers): Fix bug of timers basic argument format.
756
7571999-11-03 Kunihiro Ishiguro <kunihiro@zebra.org>
758
759 * rip_snmp.c (rip2IfConfAddress): Forgot to include
760 RIP2IFCONFDOMAIN.
761
7621999-10-28 Kunihiro Ishiguro <kunihiro@zebra.org>
763
764 * ripd.h (struct rip_peer): New structure added.
765
7661999-10-26 Kunihiro Ishiguro <kunihiro@zebra.org>
767
768 * rip_zebra.c (rip_zebra_ipv4_add): Increment
769 rip_global_route_changes when route change occur.
770 (rip_zebra_ipv4_delete): Likewise.
771
772 * ripd.c (rip_request_process): Increment rip_global_queries when
773 reply to the query is sent.
774
7751999-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
776
777 * rip_debug.c (rip_debug_reset): Reset function added.
778
779 * ripd.c (rip_update_process): Logging bug is fixed.
780
7811999-10-10 Marc Boucher <marc@mbsi.ca>
782
783 * ripd.c (config_write_rip): Add config_write_distribute() call.
784
7851999-09-29 Kunihiro Ishiguro <kunihiro@zebra.org>
786
787 * ripd.c (rip_distribute_update): Fix bug of access-list
788 prefix-list updates.
789
7901999-09-10 VOP <vop@unity.net>
791
792 * rip_zebra.c: Add redistribute route-map feature.
793
7941999-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
795
796 * ripd.c (rip_response_process): Add check for given prefix is
797 given mask applied one.
798
7991999-09-03 VOP <vop@unity.net>
800
801 * rip_interface.c (rip_interface_multicast_set): Bug fix about
802 setting multicast interface.
803
8041999-09-02 VOP <vop@unity.net>
805
806 * rip_routemap.c: New file added.
807
8081999-09-02 Kunihiro Ishiguro <kunihiro@zebra.org>
809
810 * ripd.c (show_ip_protocols_rip): Show next update time.
811 (show_ip_protocols_rip): Show redistribute information.
812
8131999-08-25 Kunihiro Ishiguro <kunihiro@zebra.org>
814
815 * RIPv2-MIB.txt: New file added.
816
817 * rip_snmp.c: New file added.
818
8191999-08-24 Kunihiro Ishiguro <kunihiro@zebra.org>
820
821 * rip_interface.c (ip_rip_authentication_string): RIPv2
822 authentication command is added.
823
8241999-08-23 Kunihiro Ishiguro <kunihiro@zebra.org>
825
826 * rip_interface.c (rip_interface_multicast_set): Process of
827 setting IP_MULTICAST_IF on specific interface.
828
829 * ripd.c (rip_read): Add packet size check.
830
8311999-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
832
833 * ripd.c (rip_request_process): Fill in RIP_METRIC_INFINITY with
834 network byte order using htonl ().
835 (rip_response_process): Pass host byte order address to IN_CLASSC
836 and IN_CLASSB macro.
837
8381999-08-08 davidm@nbase.co.il (David Mozes)
839
840 * rip_zebra.c (rip_zebra_read_ipv4): Fix split horizon problem.
841
8421999-07-03 Kunihiro Ishiguro <kunihiro@zebra.org>
843
844 * ripd.c (rip_timer_set): Function added.
845
8461999-07-01 Kunihiro Ishiguro <kunihiro@zebra.org>
847
848 * rip_debug.c: New file added.
849 rip_debug.h: New file added.
850
8511999-07-01 Rick Payne <rickp@rossfell.co.uk>
852
853 * rip_zebra.c (zebra_init): Install standard commands to
854 ZEBRA_NODE.
855
8561999-06-01 David Luyer <luyer@ucs.uwa.edu.au>
857
858 * ripd.c (rip_process_route): Add support for RIP version 1.
859
8601999-05-29 Kunihiro Ishiguro <kunihiro@zebra.org>
861
862 * rip_zebra.c: Change to use lib/zclient.[ch].
863
8641999-05-20 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
865
866 * ripd.c (rip_add_route): Change the existance route's metric check
867 to the condition specified by RFC2453.
868
8691999-05-17 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
870
871 * ripd.c (rip_process_route): Add the if metric to the route metric.
872
873 * ripd.c (rip_add_route): Deleted add if metric to the route.
874
8751999-05-16 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
876
877 * rip_interface.c (if_valid_neighbor): New function.
878
879 * ripd.c (rip_process_route): Added check whether the datagram
880 is from a valid neighbor.
881
8821999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
883
884 * ripd.c (rip_process_route): Set interface pointer to rinfo.
885
8861999-05-15 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
887
888 * ripd.c (rip_check_address): Unicast and not net 0 or 127 check
889 added.
890
8911999-05-14 Stephen R. van den Berg <srb@cuci.nl>
892
893 * rip_main.c (signal_init): SIGTERM call sigint.
894 (sigint): Loggging more better message.
895
8961999-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
897
898 * ripd.c (rip_add_route): Fix previous route_unlock_node() chenge.
899
900 * rip_main.c (main): Change default zlog output to ZLOG_STDOUT for
901 debugging.
902
9031999-05-09 Patrick Koppen <koppen@rhrk.uni-kl.de>
904
905 * rip_interface.c (rip_request): Fix old semantics for fetching
906 connected address.
907
908 * ripd.c (rip_add_route): Update timer when the route is updated.
909
9101999-05-09 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
911
912 * rip_zebra.c (struct zebra): Add ridist_static, ridist_connect,
913 redist_rip, redist_ripng.
914
915 * rip_zebra.c (zebra_create): Updated for current zebra method.
916
917 * ripd.c (rip_add_route): Add missing route_unlock_node().
918
9191999-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
920
921 * ripd.c (rip_add_route): Add metric check. Reported by Carlos
922 Alberto Barcenilla <barce@frlp.utn.edu.ar>.
923
9241999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
925
926 * syslog support added
927
9281998-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
929
930 * ripd.c (rip_announce_func): Apply new lib functions.
931
9321998-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
933
934 * ripd.c (config_write_rip): Delete vector v argument.
935 * rip_zebra.c (config_write_zebra): Likewise.
936 * rip_interface.c (interface_config_write): Likewise.
937
9381998-09-07 Kunihiro Ishiguro <kunihiro@zebra.org>
939
940 * rip_announce.c (rip_rib_close): When ripd terminates delete all
941 added route.
942
9431998-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
944
945 * rip_interface.c: return read packet size.
946
9471998-05-18 Yamshita TAKAO <jargon@lares.dti.ne.jp>
948
949 * ripd.h: Modify for compile on Solaris.
950
9511998-05-07 Kunihiro Ishiguro <kunihiro@zebra.org>
952
953 * ripd.c: DEFUN function return CMD_SUCCESS.
954 change xmalloc to XMALLOC macro.
955
9561998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
957
958 * rip_main.c: change CONFDIR to SYSCONFDIR.
959
9601998-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
961
962 * .cvsignore: added.
963
9641998-02-04 Kunihiro Ishiguro <kunihiro@zebra.org>
965
966 * rip_interface.c (config_write_interface): correct ADVERTISE spell.
967
968 * rip_main.c (main): add usage() and make cleanup.
969
9701998-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
971
972 * ripd.c (rip_version): add rip version command.
973
9741998-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
975
976 * rip_interface.c (zebra_get_interface): added to get
977 interface's information.
978
979 * ChangeLog: create.