blob: bd487f64135b55d64d1a2443a684edaff2cfdc2e [file] [log] [blame]
hassocf96db12005-05-25 21:15:32 +000012005-05-26 Hasso Tepper <hasso at quagga.net>
2
hassodc625e82005-05-26 06:26:40 +00003 * rip_routemap.c: In case of '0.0.0.0' used as 'nexthop', use sender
4 address as nexthop in routemap.
5
62005-05-26 Hasso Tepper <hasso at quagga.net>
7
hassocf96db12005-05-25 21:15:32 +00008 * rip_routemap.c: Make "match interface" routemap command match both -
9 in and out interfaces.
10
ajsd4e47282005-05-11 15:56:21 +0000112005-05-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
12
13 * rip_interface.c (rip_interface_add): Need to call
14 rip_passive_interface_apply (was already calling it in
15 rip_interface_up).
16
ajs634f9ea2005-04-11 15:51:40 +0000172005-04-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
18
19 * rip_zebra.c (rip_redistribute_set, rip_redistribute_unset,
20 rip_redistribute_clean): Change 2nd arg to zebra_redistribute_send
21 from zclient->sock to zclient.
22
ajsd2fc8892005-04-02 18:38:43 +0000232005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
24
25 * rip_interface.c: (rip_interface_delete) After deleting, set
26 ifp->ifindex to IFINDEX_INTERNAL.
27
paulb14ee002005-02-04 23:42:41 +0000282005-02-04 Paul Jakma <paul@dishone.st>
29
30 * ripd.c: Untangle the construction of RIP auth data.
31 (rip_auth_prepare_str_send) new helper function, prepare
32 correct key string.
33 (rip_auth_simple_write) new helper, write out the
34 rip simple password auth psuedo-RTE.
35 (rip_auth_md5_ah_write) new helper, write out the
36 MD5 auth-header psuedo-RTE.
37 (rip_auth_header_write) new helper, write out correct
38 auth header data / psuedo-RTE.
39 (rip_auth_md5_set) rip out the memmove and writing of the
40 auth header psuedo-RTE. So that all that is left is to
41 write the trailing auth digest, and update digest offset
42 field in the original header.
43 (rip_write_rte) rip out writing of RIP header, writing of
44 simple auth data psuedo-RTE. Make it do what its name suggests,
45 write out actual RTEs.
46 (rip_output_process) remove the incorrect additional decrements
47 of rtemax. Prepare the auth_str, which simple or MD5 auth will
48 need. Move write out of RIP header and auth data to inside the
49 loop. Adjust paramaters as required.
50
ajs79853452005-01-30 17:40:29 +0000512005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
52
ajs6a52d0d2005-01-30 18:49:28 +000053 * ripd.c: (rip_create_socket) Replace perror with zlog_err.
54
552005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
56
ajs79853452005-01-30 17:40:29 +000057 * ripd.c: (rip_create_socket) Save errno before calling
58 ripd_privs.change.
59
ajsb99760a2005-01-04 16:24:43 +0000602005-01-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
61
62 * ripd.c: (rip_recvmsg) Use ZCMSG_FIRSTHDR instead of CMSG_FIRSTHDR.
63
ajs766a0ca2004-12-15 14:55:51 +0000642004-12-15 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
65
66 * ripd.c: (rip_read) Improve 2 error messages to show the source of
67 the packet when the lookup fails.
68
ajs5d6c3772004-12-08 19:24:06 +0000692004-12-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
70
71 * *.c: Change level of debug messages to LOG_DEBUG.
72
ajs274a4a42004-12-07 15:39:31 +0000732004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
74
75 * rip_main.c: (main) The 2nd argument to openzlog has been removed.
76
ajs887c44a2004-12-03 16:36:46 +0000772004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
78
79 * rip_main.c: (sigint) Use zlog_notice for termination message.
80 (main) Add a startup announcement using zlog_notice.
81
hassoc0652302004-11-25 19:33:48 +0000822004-11-25 Hasso Tepper <hasso at quagga.net>
83
84 * rip_main.c: Make group to run as configurable.
85
paulc49ad8f2004-10-22 10:27:28 +0000862004-10-22 Paul Jakma <paul@dishone.st>
87
88 * ripd.c: Collapse redundant passing of various address structs,
89 struct interface and struct connected as arguments to functions
90 down to two key arguments, namely struct connected and, possibly,
91 address of source/destination. Testing for RIPv1 would be useful.
92 (rip_read) lookup struct connected for the received packet, pass
93 it on.
94 * rip_interface.c: With previous changes, we no longer have to tread
95 carefully with struct connected, as it will always be there and
96 valid.
97
hasso3fb9cd62004-10-19 19:44:43 +0000982004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
99
100 * ripd.c: (rip_update_interface) if connected->destination is NULL,
101 get the broadcast address with ipv4_broadcast_addr()
102 * rip_interface.c: (rip_interface_multicast_set)
103 connected->destination may be NULL. Improve message if
104 setsockopt_multicast_ipv4 fails. Improve message if bind fails.
105 (rip_request_interface_send) If connected->destination is NULL,
106 get the broadcast address with ipv4_broadcast_addr().
107 (if_valid_neighbor) Handle PtP subnet addressing properly.
108 Speed up code by using prefix_match properly.
109
hassoc75105a2004-10-13 10:33:26 +00001102004-10-13 Hasso Tepper <hasso at quagga.net>
111
112 * ripd_snmp.c: Remove defaults used to initialize smux connection to
113 snmpd. Connection is initialized only if smux peer is configured.
114
hasso98b718a2004-10-11 12:57:57 +00001152004-10-11 Hasso Tepper <hasso at quagga.net>
116
117 * *.c: Make more strings const.
118
hasso8a676be2004-10-08 06:36:38 +00001192004-10-08 Hasso Tepper <hasso at quagga.net>
120
121 * *.c: Fix compiler warnings: make strings const, signed -> unsigned
122 etc.
123
hasso1af81932004-09-26 16:11:14 +00001242004-09-26 Hasso Tepper <hasso at quagga.net>
125
126 * ripd.c: Fix compiler warning.
127
hasso52dc7ee2004-09-23 19:18:23 +00001282004-09-23 Hasso Tepper <hasso at quagga.net>
129
130 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
131
paul0b3acf42004-09-17 08:39:08 +00001322004-09-17 Paul Jakma <paul@dishone.st>
133
134 * ripd.c: set receive buffer to a decent size, some systems have low
135 defaults. Problem noted and fix suggested by Stephan Schweizer
136 in [zebra 20967].
137
paul1a517862004-08-19 04:03:08 +00001382004-08-19 Paul Jakma <paul@dishone.st>
139
140 * rip_interface.c: (rip_interface_multicast_set) get rid
141 of extraneous if_pointopoint arg. ifp is accessible via connected.
142 pass connected->ifp->ifindex to setsockopt_multicast_ipv4.
143 * ripd.c: (rip_send_packet) update call to
144 rip_interface_multicast_set
145 * ripd.h: update rip_interface_multicast_set prototype
146
paul02ff83c2004-06-11 11:27:03 +00001472004-06-11 Sowmini Varadhan <sowmini.varadhan@sun.com>
148
149 * ripd.c: (rip_distribute_update_all) distribute list hook
150 function pointer prototype requires struct prefix_list * arg.
151 (rip_distribute_update_all_wrapper) update to pass required arg,
152 NULL.
153
paulca5e5162004-06-06 22:06:33 +00001542004-06-06 Paul Jakma <paul.jakma@sun.com>
155
156 * ripd.h: Add define for the RIPv2 Authentication Data family
157 Move the auth type defines up to where other defines live.
158 Add RIP_AUTH_MD5_COMPAT_SIZE, for backwards compatible
159 md5->auth_len size. Add md5_auth_len field to struct
160 rip_interface: (rip_interface_new) Init md5_auth_len to compatible
161 size.
162 (ip_rip_authentication_mode_cmd) Extended to handle setting
163 md5 auth-length. Appropriate aliases added.
164 (no_ip_rip_authentication_mode_cmd) Reset md5_auth_len to
165 compatible size.
166 (rip_interface_config_write) Teach it about md5_auth_len.
167 _always_ write out the auth-length, so that everyone will get
168 the setting in their config file, and hence allow for a future
169 change of default for md5_auth_len to be less painful - every md5
170 user will have this setting in their config file.
171 ripd.c: (rip_packet_dump) Change nasty hard coded constants to
172 symbolic defines. Change various tests of 'ntoh.(variable) ==
173 constant' to test 'variable == ntoh.(constant)'. Clean up
174 indentation on some long lines.
175 (rip_auth_simple_password) ditto.
176 (rip_auth_md5) ditto, also add length argument and sanity check
177 md5 data offset field. Sanity check md5 auth length, accept RFC
178 or old-ripd/cisco lengths.
179 (rip_auth_md5_set) as per (rip_packet_dump), also write out
180 the configured md5 auth length for the interface (old-ripd or rfc)
181 (rip_read) as per (rip_packet_dump)
182 (rip_write_rte) ditto
183 (rip_response_process) ditto
184 (rip_write_rte) ditto
185
paulc2bfbcc2004-06-04 01:42:38 +00001862004-06-04 JJ Ludman <jacques.ludman@sun.com>
187
188 * ripd.c: Interoperability fix. Correct value for MD5 auth length
189 is 16. Accept packets with this set to >= 16, and set to 16
190 ourselves.
191
paul11dde9c2004-05-31 14:00:00 +00001922004-05-31 Sowmini Varadhan <sowmini.varadhan@sun.com>
193
194 * ripd.c: Fixup compile warnings
195 * rip_routemap.c: Ditto
196
paul0a589352004-05-08 11:48:26 +00001972004-05-08 Paul Jakma <paul@dishone.st>
198
199 * rip_zebra.c: sync with zclient changes.
200 * rip_interface.c: ditto.
201
paul239389b2004-05-05 14:09:37 +00002022004-05-05 Anthony.Golia@morganstanley.com
203
204 * ripd.c: (rip_update_jitter) Bound jitter to a more sensible
205 value, eg 1/4 of update time.
206
paula87552c2004-05-03 20:00:17 +00002072004-05-03 Paul Jakma <paul@dishone.st>
208
209 * ripd.c: (rip_rte_process) fix typo in merge of previous patch
210 and run function through indent.
211
paulb94f9db2004-05-01 20:45:38 +00002122004-03-19 Jean-Yves Simon <lethalwp@tiscali.be>
213
paula87552c2004-05-03 20:00:17 +0000214 * ripd.c: (rip_rte_process) make ripd also check on
215 administrative distance of his own links to update routes.
paulb94f9db2004-05-01 20:45:38 +0000216
hassoda9c9a22004-03-18 02:40:55 +00002172004-03-18 sowmini.varadhan@sun.com
218
219 * ripd.c: rip_send_packet can get null connected address when
220 called in response to a unicast rip-request. Handle correctly.
221
hassoa1455d82004-03-03 19:36:24 +00002222004-03-03 Krzysztof Oledzki <oleq@ans.pl>
223
hassocaa6f8a2004-03-03 19:48:48 +0000224 * ripd.c: fix "show ip rip" and per interface rip version selection.
hassoa1455d82004-03-03 19:36:24 +0000225
paul931cd542004-01-23 15:31:42 +00002262004-01-23 sowmini.varadhan@sun.com
227
228 * rip_interface.c: obsolete unbind code in
229 rip_interface_multicast_set, and instead do the more portable
230 (though slower) method of creating a socket for each outgoing packet
231 and binding the source address on the new socket.
232 * rip_interface.c, ripd.c, ripd.h: Modify rip_request_send so that
233 source address is determined by the caller of rip_request_send for
234 ripv1 packets and non-multicast interfaces (rip_request_send loops
235 over all connected address in all other cases).
236 * rip_send_packet: don't send packets with source set to
237 ZEBRA_IFA_SECONDARY connected addresses; improved debug messages;
238
paulf38a4712003-06-07 01:10:00 +00002392003-06-07 Andrew J. Schorr <aschorr@telemetry-investments.com>
240
241 * Allow ripd to receive RIPv1
242 * add default as valid param to passive-interface command
243
hasso16705132003-05-25 14:49:19 +00002442003-05-25 Vincent Jardin <vjardin@wanadoo.fr>
245
paulf38a4712003-06-07 01:10:00 +0000246 * 6Wind patch merge.
hasso16705132003-05-25 14:49:19 +0000247
paul445f1432003-05-16 19:00:31 +00002482003-04-19 Hasso Tepper <hasso@estpak.ee>
249
250 * rip_routemap.c: sync daemon's route-map commands to have same
251 syntax
252
paul718e3742002-12-13 20:15:29 +00002532002-07-07 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
254
255 * zebra-0.93 released.
256
2572002-06-30 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
258
259 * ripd.c (rip_output_process): When outgoing interface is same as
260 next hop interface, announce RIPv2 next hop otherwise set next hop
261 to 0. Revert previous change then take 6WIND way.
262
2632001-09-14 Akihiro Mizutani <mizutani@dml.com>
264
265 * ripd.c: RIP enabled interface's route is advertised by default.
266
2672001-08-28 NOGUCHI Kay <kay@v6.access.co.jp>
268
269 * rip_snmp.c (rip_ifaddr_delete): Add route_node_lookup() return
270 value check.
271
272 * rip_interface.c (rip_multicast_leave): Fix bug of multiple IP
273 address on one interface multicast join/leave bug.
274
2752001-08-26 NOGUCHI Kay <kay@v6.access.co.jp>
276
277 * rip_interface.c (no_rip_passive_interface): Add NO_STR.
278
2792001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
280
281 * zebra-0.92a released.
282
2832001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
284
285 * zebra-0.92 released.
286
2872001-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
288
289 * rip_routemap.c (route_match_ip_address_prefix_list): Add match
290 ip next-hop prefix-list WORD.
291
2922001-02-18 Kunihiro Ishiguro <kunihiro@zebra.org>
293
294 * rip_interface.c (rip_passive_interface_clean): Call
295 rip_passive_interface_apply_all.
296
2972001-02-12 Kunihiro Ishiguro <kunihiro@zebra.org>
298
299 * ripd.c (rip_response_process): Multicast address nexthop check
300 is moved from rip_nexthop_check.
301
3022001-02-08 Matthew Grant <grantma@anathoth.gen.nz>
303
304 * rip_interface.c (ipv4_multicast_join): Use
305 setsockopt_multicast_ipv4.
306 (ipv4_multicast_leave): Likewise.
307 (rip_if_ipv4_address_check): Interface which has IPv4 address can
308 be enabled.
309
3102001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
311
312 * rip_interface.c (rip_interface_delete): To support pseudo
313 interface do not free interface structure.
314 * ripd.c (rip_output_process): If output interface is in simple
315 password authentication mode, we need space for authentication
316 data.
317
3182001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
319
320 * ripd.c (rip_nexthop_check): Fix multicast address nexthop check.
321
322 * zebra-0.91 is released.
323
3242001-01-27 Kunihiro Ishiguro <kunihiro@zebra.org>
325
326 * ripd.c (show_ip_rip): Show metric infinity route's timeout.
327 (rip_rte_process): If current route is metric infinity, route is
328 replaced with received rte.
329 (rip_redistribute_delete): When redistribute route is deleted,
330 perform poisoned reverse.
331 (rip_redistribute_withdraw): Likewise.
332
3332001-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
334
335 * ripd.c (rip_response_process): RIPv2 routing table entry with
336 non directly reachable nexthop was dropped. The code is changed
337 to treat it as 0.0.0.0 nexthop.
338 (rip_destination_check): Check net 0 address destination.
339 (rip_nexthop_check): New function for checking nexthop address
340 validity.
341
3422001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
343
344 * ripd.c (rip_request_process): Triggered update only send changed
345 route.
346
347 * rip_interface.c: Delete RIP_API part until new implementation
348 comes out.
349
350 * rip_snmp.: Likewise.
351
352 * rip_zebra.c: Likewise.
353
354 * ripd.c: Likewise.
355
3562001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
357
358 * rip_interface.c (rip_if_init): Remove HAVE_IF_PSEUDO part.
359
3602001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
361
362 * zebra-0.90 is released.
363
3642001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
365
366 * ripd.h (RIP_VTYSH_PATH): Change "/tmp/ripd" to "/tmp/.ripd".
367
3682000-12-25 David Lipovkov <davidl@nbase.co.il>
369
370 * ripd.c (rip_rte_process): When a route is in garbage collection
371 process (invalid with metric 16) and a router receives the same
372 route with valid metric then route was not installed into zebra
373 rib, but only into ripd rib. Moreover , it will never get into
374 zebra rib, because ripd wrongly assumes it's already there.
375 (rip_redistribute_add): When doing redistribute into rip other
376 route (e.g. connected) and the same route exists in ripd rib we
377 changed it in place - bug. Now we don't forget to remove old route
378 from zebra.
379 (rip_timeout): When removing routes from zebra I made sure that we
380 remove route with the metric we have in zebra and not the new
381 one. It doesn't make a difference now,but could be significant
382 when multipath support is done.
383
3842000-12-25 David Lipovkov <davidl@nbase.co.il>
385
386 * rip_zebra.c (rip_metric_unset): Fix bug of metric value unset.
387
3882000-11-25 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
389
390 * ripd.c (rip_request_process): Check passive flag of the
391 interface.
392
3932000-11-23 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
394
395 * rip_interface.c (rip_multicast_join): When IP_ADD_MEMBERSHIP
396 failed do not set runnning flag to the interface.
397
3982000-11-16 Kunihiro Ishiguro <kunihiro@zebra.org>
399
400 * ripd.c (rip_output_process): Memory leak related classfull
401 network generation is fixed.
402
4032000-11-16 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
404
405 * rip_interface.c (if_check_address): Obsolete pointopoint address
406 check is removed.
407
4082000-11-02 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
409
410 * rip_interface.c (if_check_address): Add pointopoint address
411 check.
412 (rip_interface_up): Add check for passive interface when interface
413 goes up.
414
4152000-10-23 Jochen Friedrich <jochen@scram.de>
416
417 * rip_snmp.c: rip_oid and ripd_oid are used in smux_open after it
418 is registered. So those variables must be static.
419
4202000-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
421
422 * rip_interface.c: Change to "no ip rip (send|receive)" command
423 accept version number argument.
424
4252000-10-17 Akihiro Mizutani <mizutani@dml.com>
426
427 * rip_routemap.c (route_set_ip_nexthop_compile): Change "match ip
428 next-hop" from IP address to access-list name.
429
4302000-10-17 Kunihiro Ishiguro <kunihiro@zebra.org>
431
432 * rip_peer.c: Change ot use linklist.c instaed of newlist.c.
433
4342000-10-16 Kunihiro Ishiguro <kunihiro@zebra.org>
435
436 * rip_offset.c: Change to use linklist.c instead of newlist.c.
437
4382000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
439
440 * zebra-0.89 is released.
441
4422000-09-26 Akihiro Mizutani <mizutani@dml.com>
443
444 * rip_routemap.c (match_ip_nexthop): Add next-hop format check.
445
4462000-09-18 David Lipovkov <dlipovkov@OpticalAccess.com>
447
448 * rip_interface.c (ripd_api_get_if_rx_version): Corrects rip SNMP
449 and rip API functions dealing with rip version.
450
451 * rip_snmp.c (Status_Valid): SNMPv2-TC TEXTUAL-CONVENTION.
452
4532000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
454
455 * rip_snmp.c (rip2IfLookup): Use rip_ifaddr_lookup_next() instead
456 of rip_if_lookup_next().
457
458 * rip_interface.c (rip_enable_network_lookup): Interface enable
459 check by interface's address with /32 prefix.
460
461 * ripd.c (rip_read): When RIP is configured with authentication
462 and no authentication in incoming packet, drop the packet.
463
464 * rip_interface.c (rip_interface_reset): RIP_AUTH_SIMPLE_PASSWORD
465 is default mode of authentication.
466 (rip_interface_new): Likewise.
467 (no_ip_rip_authentication_mode): Likewise.
468
469 * ripd.c (rip_read): Likewise.
470
4712000-09-10 David Lipovkov <davidl@nbase.co.il>
472
473 * rip_snmp.c: Set ASN_INTEGER v->type where it is needed.
474
4752000-09-08 Kunihiro Ishiguro <kunihiro@zebra.org>
476
477 * ripd.c (rip_auth_simple_password): Simple password
478 authentication using key-chain.
479 (rip_write_rte): Likewise.
480
481 * rip_interface.c (ip_rip_authentication_key_chain): Add check for
482 authentication string configuration.
483
4842000-09-08 Akihiro Mizutani <mizutani@dml.com>
485
486 * ripd.c (rip_write_rte): Add check for ri->auth_str.
487
4882000-09-07 Kunihiro Ishiguro <kunihiro@zebra.org>
489
490 * ripd_api.h: New file is added.
491
4922000-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
493
494 * ripd.c (rip_rte_process): rip_route_process() is renamed to
495 rip_rte_process() to clarify meanings of the function.
496 rip_route_process() is newly added to process RIP route selection.
497
4982000-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
499
500 * ripd.c (rip_incoming_filter): Extract incoming filter code to
501 function from rip_route_process(). Add check for all interface
502 filter.
503 (rip_outgoing_filter): Extract incoming filter code to function
504 from rip_output_process(). Add check for all interface filter.
505
506 * rip_zebra.c (rip_redistribute_clean): Reset redistribute status
507 when "no router rip" is performed.
508
509 * rip_interface.c (rip_interface_clean): Reset interface's RIP
510 enable status.
511
5122000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
513
514 * ripd.c (rip_route_process): When metric infinity is received the
515 route is removed from service immediately.
516 (rip_timeout): Likewise.
517 (rip_garbage_collect): Do not delete route in garbage collection.
518 (rip_output_process): Check metric_out exceed metric infinity.
519
520 * zebra-0.88 is released.
521
5222000-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
523
524 * ripd.c (rip_distance_apply): Unlock node when there is matched
525 node.
526
5272000-08-13 Akihiro Mizutani <mizutani@dml.com>
528
529 * rip_routemap.c (match_ip_nexthop): Add check for IP address
530 validness.
531 (no_set_metric): Add new ALIAS.
532
5332000-08-07 Kunihiro Ishiguro <kunihiro@zebra.org>
534
535 * ripd.h (struct rip ): Add distance.
536
5372000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
538
539 * rip_zebra.c (rip_zebra_ipv4_add): Use new Zebra api to register
540 routes. Pass RIP metric value to zebra.
541
5422000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
543
544 * rip_main.c (main): Make struct thread thread from global
545 variable to local variable in main.
546
5472000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
548
549 * ripd.c (rip_packet_dump): Add MD5 authentication dump function.
550 (rip_auth_md5): RIP MD5 authentication packet receive works.
551
5522000-08-02 David Lipovkov <davidl@nbase.co.il>
553
554 * rip_interface.c (rip_if_init): Install interface "pseudo"
555 commands.
556 (rip_interface_delete): Do not call if_delete() when interface is
557 pseudo interface.
558
5592000-07-31 Kunihiro Ishiguro <kunihiro@zebra.org>
560
561 * rip_interface.c (ip_rip_authentication_mode): "ip rip
562 authentication mode (md5|text)" is added.
563 (ip_rip_authentication_key_chain): "ip rip authentication
564 key-chain KEY-CHAIN" is added.
565 (rip_interface_clean): Clean all interface configuration.
566 (rip_interface_reset): Reset all interface configuration.
567 (rip_clean_network): Clean rip_enable_network.
568
569 * ripd.h (struct rip_interface): Add key_chain member.
570
571 * ripd.c: Include md5-gnu.h.
572
5732000-07-30 Kunihiro Ishiguro <kunihiro@zebra.org>
574
575 * ripd.h (RIP_NO_AUTH): Change RIP_NO_AUTH value from 1 to 0.
576
577 * ripd.c (rip_authentication): Use RIP_AUTH_SIMPLE_PASSWORD
578 instead of raw value 2.
579 (rip_write_rte): Likewise.
580 (rip_write_rte): Check ri->auth_type instead of ri->auth_str.
581
5822000-07-30 David Lipovkov <davidl@nbase.co.il>
583
584 * rip_interface.c (rip_if_down): Do not delete ZEBRA_ROUTE_KERNEL
585 route.
586
5872000-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
588
589 * ripd.c (rip_update_process): Add "passive-interface" command.
590
591 * ripd.h (struct rip_interface): Add passive member to struct
592 rip_interface.
593
5942000-07-24 Kunihiro Ishiguro <kunihiro@zebra.org>
595
596 * rip_interface.c (rip_if_init): Multiple RIP routes for one
597 prefix change. The codes are enclosed by #ifdef NEW_RIP_TABLE.
598
5992000-07-24 Akihiro Mizutani <mizutani@dml.com>
600
601 * rip_interface.c (rip_if_init): Use install_default() for
602 INTERFACE_NODE.
603
6042000-07-24 Kunihiro Ishiguro <kunihiro@zebra.org>
605
606 * ripd.c: First update timer will be invoked in two seconds.
607
6082000-07-09 Jochen Friedrich <jochen@scram.de>
609
610 * rip_snmp.c: Local function definitions to static. Add INTEGER
611 ASN_INTEGER and TIMETICKS ASN_TIMETICKS definition.
612 (rip2PeerLookup): Peer with domain lookup implemented.
613 (rip2PeerTable): Temporary disable RIP2PEERLASTUPDATE value
614 support due to unknown SNMP agent startup time.
615
6162000-07-05 Kunihiro Ishiguro <kunihiro@zebra.org>
617
618 * ripd.h: Sweep obsolete definitions.
619
620 * rip_interface.c (rip_split_horizon): Add "ip split-horizon"
621 command.
622
623 * ripd.c (rip_output_process): Remove split_horizon argument.
624 (rip_update_process): Likewise.
625
626 * ripd.h (struct rip_interface): Add split_horizon flag to struct
627 rip_interface.
628
6292000-07-04 Akihiro Mizutani <mizutani@dml.com>
630
631 * ripd.c (rip_version): Change VERSION to <1-2>.
632 Add "no version" command.
633
6342000-07-03 Kunihiro Ishiguro <kunihiro@zebra.org>
635
636 * rip_zebra.c (rip_redistribute_type_metric): "redistribute TYPE
637 metric <0-16>" command is added.
638
639 * rip_routemap.c (route_set_metric): Set metric_set when metric is
640 modified.
641
642 * ripd.h (struct rip_info): To check route-map set metric or not,
643 new member metric_set is added to struct rip_info.
644
645 * ripd.c (rip_route_process): Move metric handling code from
646 rip_response_process() to rip_route_process().
647 (rip_output_process): Set output offset-list metric.
648
6492000-07-02 Kunihiro Ishiguro <kunihiro@zebra.org>
650
651 * rip_offset.c (rip_offset_list): New file for offset-list.
652
6532000-07-02 Akihiro Mizutani <mizutani@dml.com>
654
655 * ripd.h (struct rip ): Add default_metric.
656
657 * ripd.c (rip_default_metric): "default-metric <1-16>" command is
658 added.
659 (config_write_rip): Change configuration order.
660
661 * rip_zebra.c: Fix help strings.
662
6632000-07-02 David Lipovkov <davidl@nbase.co.il>
664
665 * rip_interface.c (rip_if_init): Add IF_DELETE_HOOK.
666
6672000-07-01 Kunihiro Ishiguro <kunihiro@zebra.org>
668
669 * ripd.c (rip_output_process): If specified route-map does not
670 exist, it treated as deny all.
671
6722000-06-30 Kunihiro Ishiguro <kunihiro@zebra.org>
673
674 * rip_routemap.c (rip_route_map_init): Call rip_route_map_update
675 when route-map is deleted.
676
6772000-06-28 Kunihiro Ishiguro <kunihiro@zebra.org>
678
679 * rip_routemap.c (set_metric): For consistency with bgpd's set
680 metric, value range is set to <0-4294967295>.
681
6822000-06-28 David Lipovkov <davidl@nbase.co.il>
683
684 * rip_routemap.c (rip_route_map_update): Add check for rip is
685 enabled or not for avoid core dump.
686
687 * rip_debug.c (debug_rip_packet_direct): Fix bug of setting
688 rip_debug_packet flag.
689
6902000-06-13 David Lipovkov <davidl@nbase.co.il>
691
692 * rip_interface.c (rip_interface_delete): All work is done in
693 rip_if_down().
694
6952000-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
696
697 * ripd.c (rip_redistribute_delete): Fix bug of missing
698 route_unlock_node() when redistribute route is not found.
699
7002000-06-05 Akihirof Mizutani <mizutani@dml.com>
701
702 * rip_debug.c (rip_debug_init): Disable show debugging in
703 VIEW_NODE like other protocol daemon.
704
705 * rip_routemap.c: Change command argument to more comprehensive.
706
707 METRIC -> <0-16>
708 IFNAME -> WORD
709 IP_ADDR -> A.B.C.D
710 ACCSESS_LIST -> WORD
711
7122000-06-05 David Lipovkov <davidl@nbase.co.il>
713
714 * rip_interface.c (rip_interface_delete): Delete all routes
715 include static and kernel through the interface , because even if
716 the interface is added again there is no guarantee that it will
717 get the same ifindex as before.
718
7192000-05-31 Akihirof Mizutani <mizutani@dml.com>
720
721 * rip_debug.c: Fix rip debug help string.
722
7232000-04-27 Mirko Karanovic <mkaranov@torsel.alcatel.com>
724
725 * rip_interface.c (rip_interface_down): Remove interface from
726 multicast group when interface goes down.
727
7282000-04-03 David Lipovkov <davidl@nbase.co.il>
729
730 * rip_interface.c (rip_interface_down): Implemented rip functions
731 for interface up/down events: rip_interface_up() and
732 rip_interface_down()
733
7342000-03-16 David Lipovkov <davidl@nbase.co.il>
735
736 * rip_zebra.c (rip_zclient_init): Added rip functions for
737 interface up/down events.
738
7392000-02-15 Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
740
741 * ripd.c (rip_write_rte): "set metic" in route-map has no effect
742 for RIPv1 in ripd. It worked fine for RIPv2.
743
7442000-01-17 Kunihiro Ishiguro <kunihiro@zebra.org>
745
746 * ripd.c (show_ip_protocols_rip): Fix bug of "show ip protocls"
747 mis-display RIP version.
748
749 * ripd.h (struct rip_peer): Add timeout thread to rip_peer
750 structure.
751
7522000-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
753
754 * rip_peer.c: Add new file for supporting RIP peer.
755
7561999-12-26 David Lipovkov <davidl@nbase.co.il>
757
758 * ripd.c (rip_authentication): RIP authantication string is 16
759 bytes long.
760
7611999-12-10 Kunihiro Ishiguro <kunihiro@zebra.org>
762
763 * ripd.c (rip_read): Add check for minimum packet length.
764 Authentication check is moved from rip_process_response() to
765 rip_read(). Patch from David Lipovkov <davidl@nbase.co.il> is
766 applied then add rte number check by Kunihiro Ishiguro
767 <kunihiro@zebra.org>.
768
7691999-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
770
771 * ripd.c (rip_response_process): In case of packet is RIPv2 and
772 network is non zero and netmask is zero, apply netmask rule as
773 same as RIPv1.
774
7751999-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
776
777 * ripd.c (rip_timers): Fix bug of timers basic argument format.
778
7791999-11-03 Kunihiro Ishiguro <kunihiro@zebra.org>
780
781 * rip_snmp.c (rip2IfConfAddress): Forgot to include
782 RIP2IFCONFDOMAIN.
783
7841999-10-28 Kunihiro Ishiguro <kunihiro@zebra.org>
785
786 * ripd.h (struct rip_peer): New structure added.
787
7881999-10-26 Kunihiro Ishiguro <kunihiro@zebra.org>
789
790 * rip_zebra.c (rip_zebra_ipv4_add): Increment
791 rip_global_route_changes when route change occur.
792 (rip_zebra_ipv4_delete): Likewise.
793
794 * ripd.c (rip_request_process): Increment rip_global_queries when
795 reply to the query is sent.
796
7971999-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
798
799 * rip_debug.c (rip_debug_reset): Reset function added.
800
801 * ripd.c (rip_update_process): Logging bug is fixed.
802
8031999-10-10 Marc Boucher <marc@mbsi.ca>
804
805 * ripd.c (config_write_rip): Add config_write_distribute() call.
806
8071999-09-29 Kunihiro Ishiguro <kunihiro@zebra.org>
808
809 * ripd.c (rip_distribute_update): Fix bug of access-list
810 prefix-list updates.
811
8121999-09-10 VOP <vop@unity.net>
813
814 * rip_zebra.c: Add redistribute route-map feature.
815
8161999-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
817
818 * ripd.c (rip_response_process): Add check for given prefix is
819 given mask applied one.
820
8211999-09-03 VOP <vop@unity.net>
822
823 * rip_interface.c (rip_interface_multicast_set): Bug fix about
824 setting multicast interface.
825
8261999-09-02 VOP <vop@unity.net>
827
828 * rip_routemap.c: New file added.
829
8301999-09-02 Kunihiro Ishiguro <kunihiro@zebra.org>
831
832 * ripd.c (show_ip_protocols_rip): Show next update time.
833 (show_ip_protocols_rip): Show redistribute information.
834
8351999-08-25 Kunihiro Ishiguro <kunihiro@zebra.org>
836
837 * RIPv2-MIB.txt: New file added.
838
839 * rip_snmp.c: New file added.
840
8411999-08-24 Kunihiro Ishiguro <kunihiro@zebra.org>
842
843 * rip_interface.c (ip_rip_authentication_string): RIPv2
844 authentication command is added.
845
8461999-08-23 Kunihiro Ishiguro <kunihiro@zebra.org>
847
848 * rip_interface.c (rip_interface_multicast_set): Process of
849 setting IP_MULTICAST_IF on specific interface.
850
851 * ripd.c (rip_read): Add packet size check.
852
8531999-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
854
855 * ripd.c (rip_request_process): Fill in RIP_METRIC_INFINITY with
856 network byte order using htonl ().
857 (rip_response_process): Pass host byte order address to IN_CLASSC
858 and IN_CLASSB macro.
859
8601999-08-08 davidm@nbase.co.il (David Mozes)
861
862 * rip_zebra.c (rip_zebra_read_ipv4): Fix split horizon problem.
863
8641999-07-03 Kunihiro Ishiguro <kunihiro@zebra.org>
865
866 * ripd.c (rip_timer_set): Function added.
867
8681999-07-01 Kunihiro Ishiguro <kunihiro@zebra.org>
869
870 * rip_debug.c: New file added.
871 rip_debug.h: New file added.
872
8731999-07-01 Rick Payne <rickp@rossfell.co.uk>
874
875 * rip_zebra.c (zebra_init): Install standard commands to
876 ZEBRA_NODE.
877
8781999-06-01 David Luyer <luyer@ucs.uwa.edu.au>
879
880 * ripd.c (rip_process_route): Add support for RIP version 1.
881
8821999-05-29 Kunihiro Ishiguro <kunihiro@zebra.org>
883
884 * rip_zebra.c: Change to use lib/zclient.[ch].
885
8861999-05-20 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
887
888 * ripd.c (rip_add_route): Change the existance route's metric check
889 to the condition specified by RFC2453.
890
8911999-05-17 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
892
893 * ripd.c (rip_process_route): Add the if metric to the route metric.
894
895 * ripd.c (rip_add_route): Deleted add if metric to the route.
896
8971999-05-16 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
898
899 * rip_interface.c (if_valid_neighbor): New function.
900
901 * ripd.c (rip_process_route): Added check whether the datagram
902 is from a valid neighbor.
903
9041999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
905
906 * ripd.c (rip_process_route): Set interface pointer to rinfo.
907
9081999-05-15 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
909
910 * ripd.c (rip_check_address): Unicast and not net 0 or 127 check
911 added.
912
9131999-05-14 Stephen R. van den Berg <srb@cuci.nl>
914
915 * rip_main.c (signal_init): SIGTERM call sigint.
916 (sigint): Loggging more better message.
917
9181999-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
919
920 * ripd.c (rip_add_route): Fix previous route_unlock_node() chenge.
921
922 * rip_main.c (main): Change default zlog output to ZLOG_STDOUT for
923 debugging.
924
9251999-05-09 Patrick Koppen <koppen@rhrk.uni-kl.de>
926
927 * rip_interface.c (rip_request): Fix old semantics for fetching
928 connected address.
929
930 * ripd.c (rip_add_route): Update timer when the route is updated.
931
9321999-05-09 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
933
934 * rip_zebra.c (struct zebra): Add ridist_static, ridist_connect,
935 redist_rip, redist_ripng.
936
937 * rip_zebra.c (zebra_create): Updated for current zebra method.
938
939 * ripd.c (rip_add_route): Add missing route_unlock_node().
940
9411999-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
942
943 * ripd.c (rip_add_route): Add metric check. Reported by Carlos
944 Alberto Barcenilla <barce@frlp.utn.edu.ar>.
945
9461999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
947
948 * syslog support added
949
9501998-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
951
952 * ripd.c (rip_announce_func): Apply new lib functions.
953
9541998-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
955
956 * ripd.c (config_write_rip): Delete vector v argument.
957 * rip_zebra.c (config_write_zebra): Likewise.
958 * rip_interface.c (interface_config_write): Likewise.
959
9601998-09-07 Kunihiro Ishiguro <kunihiro@zebra.org>
961
962 * rip_announce.c (rip_rib_close): When ripd terminates delete all
963 added route.
964
9651998-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
966
967 * rip_interface.c: return read packet size.
968
9691998-05-18 Yamshita TAKAO <jargon@lares.dti.ne.jp>
970
971 * ripd.h: Modify for compile on Solaris.
972
9731998-05-07 Kunihiro Ishiguro <kunihiro@zebra.org>
974
975 * ripd.c: DEFUN function return CMD_SUCCESS.
976 change xmalloc to XMALLOC macro.
977
9781998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
979
980 * rip_main.c: change CONFDIR to SYSCONFDIR.
981
9821998-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
983
984 * .cvsignore: added.
985
9861998-02-04 Kunihiro Ishiguro <kunihiro@zebra.org>
987
988 * rip_interface.c (config_write_interface): correct ADVERTISE spell.
989
990 * rip_main.c (main): add usage() and make cleanup.
991
9921998-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
993
994 * ripd.c (rip_version): add rip version command.
995
9961998-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
997
998 * rip_interface.c (zebra_get_interface): added to get
999 interface's information.
1000
1001 * ChangeLog: create.