blob: b39faa95cc08f54d4e22dd146b02fa4e37bbb948 [file] [log] [blame]
paul2c61ae32005-08-16 15:22:14 +000012005-08-16 Paul Jakma <paul.jakma@sun.com>
2
3 * ripd.c: (general) Fix previous commit, broke multicast bind and
4 hence setting of source port, which broke communication with
5 non-borken ripd. Fix removes more stuff from rip_interface.c
6 than it adds to ripd.c ;)
7 (rip_create_socket) the to argument really is a from argument,
8 rename it. Set the source port to RIP port unconditionally, it's
9 required.
10 (rip_send_packet) Set from address correctly for multicast.
11 (rip_output_process) trivial: num can be BSS specified, rather
12 than in body.
13 * rip_interface.c: (rip_interface_multicast_set) strip out
14 redundant stuff related to bind, which rip_create_socket does.
15 Just make it set the multicast socket option, as per the
16 interface concerned, no more.
17
paula4e987e2005-06-03 17:46:49 +0000182005-06-03 Paul Jakma <paul.jakma@sun.com>
19
20 * ripd.c: (rip_create_socket) move it up so rip_send_packet
paulf69bd9d2005-06-03 18:01:50 +000021 can use it too. Make it static. Remove the getservbyname stuff,
22 as RFC2453 3.9.2 says non-RIP port messages should be discarded,
23 quagga doesnt accept them, no need to lookup port.
24 Take a 'to' argument, if socket should be bound to something else.
25 setsockopt_so_recvbuf might need privs, move it to the raised
26 privileges section.
27 dont forget to close the socket if bind fails.
28 (rip_send_packet) use strncpy, just in case (address is under
29 our control anyway, but still).
30 dont duplicate rip_create_socket - just use it.
31 (rip_create) rip_create_socket takes an argument now, modify.
32
paul7755a8c2005-06-02 08:20:53 +0000332005-06-01 Paul Jakma <paul.jakma@sun.com>
34
35 * rip_interface.c: Fix authentication, no-auth impossible to specify
36 (rip_interface_new) default to RIP_NO_AUTH
37 (rip_interface_reset) ditto
38 (rip_interface_config_write) write out config for simple
39
paul0cb8a012005-05-29 11:27:24 +0000402005-05-29 Paul Jakma <paul@dishone.st>
41
42 * ripd.c: (rip_output_process) fix error which crept in my
43 previous rip auth untanglement commit - it had become impossible
44 to not have authentication (even for v1).
45
hasso033e8612005-05-28 04:50:54 +0000462005-05-28 Hasso Tepper <hasso at quagga.net>
47
48 * rip_routemap.c: Fix set_metric_addsub_cmd help, it's not about BGP
49 metric.
50
hassocf96db12005-05-25 21:15:32 +0000512005-05-26 Hasso Tepper <hasso at quagga.net>
52
hassodc625e82005-05-26 06:26:40 +000053 * rip_routemap.c: In case of '0.0.0.0' used as 'nexthop', use sender
54 address as nexthop in routemap.
55
562005-05-26 Hasso Tepper <hasso at quagga.net>
57
hassocf96db12005-05-25 21:15:32 +000058 * rip_routemap.c: Make "match interface" routemap command match both -
59 in and out interfaces.
60
ajsd4e47282005-05-11 15:56:21 +0000612005-05-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
62
63 * rip_interface.c (rip_interface_add): Need to call
64 rip_passive_interface_apply (was already calling it in
65 rip_interface_up).
66
ajs634f9ea2005-04-11 15:51:40 +0000672005-04-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
68
69 * rip_zebra.c (rip_redistribute_set, rip_redistribute_unset,
70 rip_redistribute_clean): Change 2nd arg to zebra_redistribute_send
71 from zclient->sock to zclient.
72
ajsd2fc8892005-04-02 18:38:43 +0000732005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
74
75 * rip_interface.c: (rip_interface_delete) After deleting, set
76 ifp->ifindex to IFINDEX_INTERNAL.
77
paulb14ee002005-02-04 23:42:41 +0000782005-02-04 Paul Jakma <paul@dishone.st>
79
80 * ripd.c: Untangle the construction of RIP auth data.
81 (rip_auth_prepare_str_send) new helper function, prepare
82 correct key string.
83 (rip_auth_simple_write) new helper, write out the
84 rip simple password auth psuedo-RTE.
85 (rip_auth_md5_ah_write) new helper, write out the
86 MD5 auth-header psuedo-RTE.
87 (rip_auth_header_write) new helper, write out correct
88 auth header data / psuedo-RTE.
89 (rip_auth_md5_set) rip out the memmove and writing of the
90 auth header psuedo-RTE. So that all that is left is to
91 write the trailing auth digest, and update digest offset
92 field in the original header.
93 (rip_write_rte) rip out writing of RIP header, writing of
94 simple auth data psuedo-RTE. Make it do what its name suggests,
95 write out actual RTEs.
96 (rip_output_process) remove the incorrect additional decrements
97 of rtemax. Prepare the auth_str, which simple or MD5 auth will
98 need. Move write out of RIP header and auth data to inside the
99 loop. Adjust paramaters as required.
100
ajs79853452005-01-30 17:40:29 +00001012005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
102
ajs6a52d0d2005-01-30 18:49:28 +0000103 * ripd.c: (rip_create_socket) Replace perror with zlog_err.
104
1052005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
106
ajs79853452005-01-30 17:40:29 +0000107 * ripd.c: (rip_create_socket) Save errno before calling
108 ripd_privs.change.
109
ajsb99760a2005-01-04 16:24:43 +00001102005-01-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
111
112 * ripd.c: (rip_recvmsg) Use ZCMSG_FIRSTHDR instead of CMSG_FIRSTHDR.
113
ajs766a0ca2004-12-15 14:55:51 +00001142004-12-15 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
115
116 * ripd.c: (rip_read) Improve 2 error messages to show the source of
117 the packet when the lookup fails.
118
ajs5d6c3772004-12-08 19:24:06 +00001192004-12-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
120
121 * *.c: Change level of debug messages to LOG_DEBUG.
122
ajs274a4a42004-12-07 15:39:31 +00001232004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
124
125 * rip_main.c: (main) The 2nd argument to openzlog has been removed.
126
ajs887c44a2004-12-03 16:36:46 +00001272004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
128
129 * rip_main.c: (sigint) Use zlog_notice for termination message.
130 (main) Add a startup announcement using zlog_notice.
131
hassoc0652302004-11-25 19:33:48 +00001322004-11-25 Hasso Tepper <hasso at quagga.net>
133
134 * rip_main.c: Make group to run as configurable.
135
paulc49ad8f2004-10-22 10:27:28 +00001362004-10-22 Paul Jakma <paul@dishone.st>
137
138 * ripd.c: Collapse redundant passing of various address structs,
139 struct interface and struct connected as arguments to functions
140 down to two key arguments, namely struct connected and, possibly,
141 address of source/destination. Testing for RIPv1 would be useful.
142 (rip_read) lookup struct connected for the received packet, pass
143 it on.
144 * rip_interface.c: With previous changes, we no longer have to tread
145 carefully with struct connected, as it will always be there and
146 valid.
147
hasso3fb9cd62004-10-19 19:44:43 +00001482004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
149
150 * ripd.c: (rip_update_interface) if connected->destination is NULL,
151 get the broadcast address with ipv4_broadcast_addr()
152 * rip_interface.c: (rip_interface_multicast_set)
153 connected->destination may be NULL. Improve message if
154 setsockopt_multicast_ipv4 fails. Improve message if bind fails.
155 (rip_request_interface_send) If connected->destination is NULL,
156 get the broadcast address with ipv4_broadcast_addr().
157 (if_valid_neighbor) Handle PtP subnet addressing properly.
158 Speed up code by using prefix_match properly.
159
hassoc75105a2004-10-13 10:33:26 +00001602004-10-13 Hasso Tepper <hasso at quagga.net>
161
162 * ripd_snmp.c: Remove defaults used to initialize smux connection to
163 snmpd. Connection is initialized only if smux peer is configured.
164
hasso98b718a2004-10-11 12:57:57 +00001652004-10-11 Hasso Tepper <hasso at quagga.net>
166
167 * *.c: Make more strings const.
168
hasso8a676be2004-10-08 06:36:38 +00001692004-10-08 Hasso Tepper <hasso at quagga.net>
170
171 * *.c: Fix compiler warnings: make strings const, signed -> unsigned
172 etc.
173
hasso1af81932004-09-26 16:11:14 +00001742004-09-26 Hasso Tepper <hasso at quagga.net>
175
176 * ripd.c: Fix compiler warning.
177
hasso52dc7ee2004-09-23 19:18:23 +00001782004-09-23 Hasso Tepper <hasso at quagga.net>
179
180 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
181
paul0b3acf42004-09-17 08:39:08 +00001822004-09-17 Paul Jakma <paul@dishone.st>
183
184 * ripd.c: set receive buffer to a decent size, some systems have low
185 defaults. Problem noted and fix suggested by Stephan Schweizer
186 in [zebra 20967].
187
paul1a517862004-08-19 04:03:08 +00001882004-08-19 Paul Jakma <paul@dishone.st>
189
190 * rip_interface.c: (rip_interface_multicast_set) get rid
191 of extraneous if_pointopoint arg. ifp is accessible via connected.
192 pass connected->ifp->ifindex to setsockopt_multicast_ipv4.
193 * ripd.c: (rip_send_packet) update call to
194 rip_interface_multicast_set
195 * ripd.h: update rip_interface_multicast_set prototype
196
paul02ff83c2004-06-11 11:27:03 +00001972004-06-11 Sowmini Varadhan <sowmini.varadhan@sun.com>
198
199 * ripd.c: (rip_distribute_update_all) distribute list hook
200 function pointer prototype requires struct prefix_list * arg.
201 (rip_distribute_update_all_wrapper) update to pass required arg,
202 NULL.
203
paulca5e5162004-06-06 22:06:33 +00002042004-06-06 Paul Jakma <paul.jakma@sun.com>
205
206 * ripd.h: Add define for the RIPv2 Authentication Data family
207 Move the auth type defines up to where other defines live.
208 Add RIP_AUTH_MD5_COMPAT_SIZE, for backwards compatible
209 md5->auth_len size. Add md5_auth_len field to struct
210 rip_interface: (rip_interface_new) Init md5_auth_len to compatible
211 size.
212 (ip_rip_authentication_mode_cmd) Extended to handle setting
213 md5 auth-length. Appropriate aliases added.
214 (no_ip_rip_authentication_mode_cmd) Reset md5_auth_len to
215 compatible size.
216 (rip_interface_config_write) Teach it about md5_auth_len.
217 _always_ write out the auth-length, so that everyone will get
218 the setting in their config file, and hence allow for a future
219 change of default for md5_auth_len to be less painful - every md5
220 user will have this setting in their config file.
221 ripd.c: (rip_packet_dump) Change nasty hard coded constants to
222 symbolic defines. Change various tests of 'ntoh.(variable) ==
223 constant' to test 'variable == ntoh.(constant)'. Clean up
224 indentation on some long lines.
225 (rip_auth_simple_password) ditto.
226 (rip_auth_md5) ditto, also add length argument and sanity check
227 md5 data offset field. Sanity check md5 auth length, accept RFC
228 or old-ripd/cisco lengths.
229 (rip_auth_md5_set) as per (rip_packet_dump), also write out
230 the configured md5 auth length for the interface (old-ripd or rfc)
231 (rip_read) as per (rip_packet_dump)
232 (rip_write_rte) ditto
233 (rip_response_process) ditto
234 (rip_write_rte) ditto
235
paulc2bfbcc2004-06-04 01:42:38 +00002362004-06-04 JJ Ludman <jacques.ludman@sun.com>
237
238 * ripd.c: Interoperability fix. Correct value for MD5 auth length
239 is 16. Accept packets with this set to >= 16, and set to 16
240 ourselves.
241
paul11dde9c2004-05-31 14:00:00 +00002422004-05-31 Sowmini Varadhan <sowmini.varadhan@sun.com>
243
244 * ripd.c: Fixup compile warnings
245 * rip_routemap.c: Ditto
246
paul0a589352004-05-08 11:48:26 +00002472004-05-08 Paul Jakma <paul@dishone.st>
248
249 * rip_zebra.c: sync with zclient changes.
250 * rip_interface.c: ditto.
251
paul239389b2004-05-05 14:09:37 +00002522004-05-05 Anthony.Golia@morganstanley.com
253
254 * ripd.c: (rip_update_jitter) Bound jitter to a more sensible
255 value, eg 1/4 of update time.
256
paula87552c2004-05-03 20:00:17 +00002572004-05-03 Paul Jakma <paul@dishone.st>
258
259 * ripd.c: (rip_rte_process) fix typo in merge of previous patch
260 and run function through indent.
261
paulb94f9db2004-05-01 20:45:38 +00002622004-03-19 Jean-Yves Simon <lethalwp@tiscali.be>
263
paula87552c2004-05-03 20:00:17 +0000264 * ripd.c: (rip_rte_process) make ripd also check on
265 administrative distance of his own links to update routes.
paulb94f9db2004-05-01 20:45:38 +0000266
hassoda9c9a22004-03-18 02:40:55 +00002672004-03-18 sowmini.varadhan@sun.com
268
269 * ripd.c: rip_send_packet can get null connected address when
270 called in response to a unicast rip-request. Handle correctly.
271
hassoa1455d82004-03-03 19:36:24 +00002722004-03-03 Krzysztof Oledzki <oleq@ans.pl>
273
hassocaa6f8a2004-03-03 19:48:48 +0000274 * ripd.c: fix "show ip rip" and per interface rip version selection.
hassoa1455d82004-03-03 19:36:24 +0000275
paul931cd542004-01-23 15:31:42 +00002762004-01-23 sowmini.varadhan@sun.com
277
278 * rip_interface.c: obsolete unbind code in
279 rip_interface_multicast_set, and instead do the more portable
280 (though slower) method of creating a socket for each outgoing packet
281 and binding the source address on the new socket.
282 * rip_interface.c, ripd.c, ripd.h: Modify rip_request_send so that
283 source address is determined by the caller of rip_request_send for
284 ripv1 packets and non-multicast interfaces (rip_request_send loops
285 over all connected address in all other cases).
286 * rip_send_packet: don't send packets with source set to
287 ZEBRA_IFA_SECONDARY connected addresses; improved debug messages;
288
paulf38a4712003-06-07 01:10:00 +00002892003-06-07 Andrew J. Schorr <aschorr@telemetry-investments.com>
290
291 * Allow ripd to receive RIPv1
292 * add default as valid param to passive-interface command
293
hasso16705132003-05-25 14:49:19 +00002942003-05-25 Vincent Jardin <vjardin@wanadoo.fr>
295
paulf38a4712003-06-07 01:10:00 +0000296 * 6Wind patch merge.
hasso16705132003-05-25 14:49:19 +0000297
paul445f1432003-05-16 19:00:31 +00002982003-04-19 Hasso Tepper <hasso@estpak.ee>
299
300 * rip_routemap.c: sync daemon's route-map commands to have same
301 syntax
302
paul718e3742002-12-13 20:15:29 +00003032002-07-07 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
304
305 * zebra-0.93 released.
306
3072002-06-30 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
308
309 * ripd.c (rip_output_process): When outgoing interface is same as
310 next hop interface, announce RIPv2 next hop otherwise set next hop
311 to 0. Revert previous change then take 6WIND way.
312
3132001-09-14 Akihiro Mizutani <mizutani@dml.com>
314
315 * ripd.c: RIP enabled interface's route is advertised by default.
316
3172001-08-28 NOGUCHI Kay <kay@v6.access.co.jp>
318
319 * rip_snmp.c (rip_ifaddr_delete): Add route_node_lookup() return
320 value check.
321
322 * rip_interface.c (rip_multicast_leave): Fix bug of multiple IP
323 address on one interface multicast join/leave bug.
324
3252001-08-26 NOGUCHI Kay <kay@v6.access.co.jp>
326
327 * rip_interface.c (no_rip_passive_interface): Add NO_STR.
328
3292001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
330
331 * zebra-0.92a released.
332
3332001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
334
335 * zebra-0.92 released.
336
3372001-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
338
339 * rip_routemap.c (route_match_ip_address_prefix_list): Add match
340 ip next-hop prefix-list WORD.
341
3422001-02-18 Kunihiro Ishiguro <kunihiro@zebra.org>
343
344 * rip_interface.c (rip_passive_interface_clean): Call
345 rip_passive_interface_apply_all.
346
3472001-02-12 Kunihiro Ishiguro <kunihiro@zebra.org>
348
349 * ripd.c (rip_response_process): Multicast address nexthop check
350 is moved from rip_nexthop_check.
351
3522001-02-08 Matthew Grant <grantma@anathoth.gen.nz>
353
354 * rip_interface.c (ipv4_multicast_join): Use
355 setsockopt_multicast_ipv4.
356 (ipv4_multicast_leave): Likewise.
357 (rip_if_ipv4_address_check): Interface which has IPv4 address can
358 be enabled.
359
3602001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
361
362 * rip_interface.c (rip_interface_delete): To support pseudo
363 interface do not free interface structure.
364 * ripd.c (rip_output_process): If output interface is in simple
365 password authentication mode, we need space for authentication
366 data.
367
3682001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
369
370 * ripd.c (rip_nexthop_check): Fix multicast address nexthop check.
371
372 * zebra-0.91 is released.
373
3742001-01-27 Kunihiro Ishiguro <kunihiro@zebra.org>
375
376 * ripd.c (show_ip_rip): Show metric infinity route's timeout.
377 (rip_rte_process): If current route is metric infinity, route is
378 replaced with received rte.
379 (rip_redistribute_delete): When redistribute route is deleted,
380 perform poisoned reverse.
381 (rip_redistribute_withdraw): Likewise.
382
3832001-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
384
385 * ripd.c (rip_response_process): RIPv2 routing table entry with
386 non directly reachable nexthop was dropped. The code is changed
387 to treat it as 0.0.0.0 nexthop.
388 (rip_destination_check): Check net 0 address destination.
389 (rip_nexthop_check): New function for checking nexthop address
390 validity.
391
3922001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
393
394 * ripd.c (rip_request_process): Triggered update only send changed
395 route.
396
397 * rip_interface.c: Delete RIP_API part until new implementation
398 comes out.
399
400 * rip_snmp.: Likewise.
401
402 * rip_zebra.c: Likewise.
403
404 * ripd.c: Likewise.
405
4062001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
407
408 * rip_interface.c (rip_if_init): Remove HAVE_IF_PSEUDO part.
409
4102001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
411
412 * zebra-0.90 is released.
413
4142001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
415
416 * ripd.h (RIP_VTYSH_PATH): Change "/tmp/ripd" to "/tmp/.ripd".
417
4182000-12-25 David Lipovkov <davidl@nbase.co.il>
419
420 * ripd.c (rip_rte_process): When a route is in garbage collection
421 process (invalid with metric 16) and a router receives the same
422 route with valid metric then route was not installed into zebra
423 rib, but only into ripd rib. Moreover , it will never get into
424 zebra rib, because ripd wrongly assumes it's already there.
425 (rip_redistribute_add): When doing redistribute into rip other
426 route (e.g. connected) and the same route exists in ripd rib we
427 changed it in place - bug. Now we don't forget to remove old route
428 from zebra.
429 (rip_timeout): When removing routes from zebra I made sure that we
430 remove route with the metric we have in zebra and not the new
431 one. It doesn't make a difference now,but could be significant
432 when multipath support is done.
433
4342000-12-25 David Lipovkov <davidl@nbase.co.il>
435
436 * rip_zebra.c (rip_metric_unset): Fix bug of metric value unset.
437
4382000-11-25 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
439
440 * ripd.c (rip_request_process): Check passive flag of the
441 interface.
442
4432000-11-23 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
444
445 * rip_interface.c (rip_multicast_join): When IP_ADD_MEMBERSHIP
446 failed do not set runnning flag to the interface.
447
4482000-11-16 Kunihiro Ishiguro <kunihiro@zebra.org>
449
450 * ripd.c (rip_output_process): Memory leak related classfull
451 network generation is fixed.
452
4532000-11-16 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
454
455 * rip_interface.c (if_check_address): Obsolete pointopoint address
456 check is removed.
457
4582000-11-02 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
459
460 * rip_interface.c (if_check_address): Add pointopoint address
461 check.
462 (rip_interface_up): Add check for passive interface when interface
463 goes up.
464
4652000-10-23 Jochen Friedrich <jochen@scram.de>
466
467 * rip_snmp.c: rip_oid and ripd_oid are used in smux_open after it
468 is registered. So those variables must be static.
469
4702000-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
471
472 * rip_interface.c: Change to "no ip rip (send|receive)" command
473 accept version number argument.
474
4752000-10-17 Akihiro Mizutani <mizutani@dml.com>
476
477 * rip_routemap.c (route_set_ip_nexthop_compile): Change "match ip
478 next-hop" from IP address to access-list name.
479
4802000-10-17 Kunihiro Ishiguro <kunihiro@zebra.org>
481
482 * rip_peer.c: Change ot use linklist.c instaed of newlist.c.
483
4842000-10-16 Kunihiro Ishiguro <kunihiro@zebra.org>
485
486 * rip_offset.c: Change to use linklist.c instead of newlist.c.
487
4882000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
489
490 * zebra-0.89 is released.
491
4922000-09-26 Akihiro Mizutani <mizutani@dml.com>
493
494 * rip_routemap.c (match_ip_nexthop): Add next-hop format check.
495
4962000-09-18 David Lipovkov <dlipovkov@OpticalAccess.com>
497
498 * rip_interface.c (ripd_api_get_if_rx_version): Corrects rip SNMP
499 and rip API functions dealing with rip version.
500
501 * rip_snmp.c (Status_Valid): SNMPv2-TC TEXTUAL-CONVENTION.
502
5032000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
504
505 * rip_snmp.c (rip2IfLookup): Use rip_ifaddr_lookup_next() instead
506 of rip_if_lookup_next().
507
508 * rip_interface.c (rip_enable_network_lookup): Interface enable
509 check by interface's address with /32 prefix.
510
511 * ripd.c (rip_read): When RIP is configured with authentication
512 and no authentication in incoming packet, drop the packet.
513
514 * rip_interface.c (rip_interface_reset): RIP_AUTH_SIMPLE_PASSWORD
515 is default mode of authentication.
516 (rip_interface_new): Likewise.
517 (no_ip_rip_authentication_mode): Likewise.
518
519 * ripd.c (rip_read): Likewise.
520
5212000-09-10 David Lipovkov <davidl@nbase.co.il>
522
523 * rip_snmp.c: Set ASN_INTEGER v->type where it is needed.
524
5252000-09-08 Kunihiro Ishiguro <kunihiro@zebra.org>
526
527 * ripd.c (rip_auth_simple_password): Simple password
528 authentication using key-chain.
529 (rip_write_rte): Likewise.
530
531 * rip_interface.c (ip_rip_authentication_key_chain): Add check for
532 authentication string configuration.
533
5342000-09-08 Akihiro Mizutani <mizutani@dml.com>
535
536 * ripd.c (rip_write_rte): Add check for ri->auth_str.
537
5382000-09-07 Kunihiro Ishiguro <kunihiro@zebra.org>
539
540 * ripd_api.h: New file is added.
541
5422000-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
543
544 * ripd.c (rip_rte_process): rip_route_process() is renamed to
545 rip_rte_process() to clarify meanings of the function.
546 rip_route_process() is newly added to process RIP route selection.
547
5482000-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
549
550 * ripd.c (rip_incoming_filter): Extract incoming filter code to
551 function from rip_route_process(). Add check for all interface
552 filter.
553 (rip_outgoing_filter): Extract incoming filter code to function
554 from rip_output_process(). Add check for all interface filter.
555
556 * rip_zebra.c (rip_redistribute_clean): Reset redistribute status
557 when "no router rip" is performed.
558
559 * rip_interface.c (rip_interface_clean): Reset interface's RIP
560 enable status.
561
5622000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
563
564 * ripd.c (rip_route_process): When metric infinity is received the
565 route is removed from service immediately.
566 (rip_timeout): Likewise.
567 (rip_garbage_collect): Do not delete route in garbage collection.
568 (rip_output_process): Check metric_out exceed metric infinity.
569
570 * zebra-0.88 is released.
571
5722000-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
573
574 * ripd.c (rip_distance_apply): Unlock node when there is matched
575 node.
576
5772000-08-13 Akihiro Mizutani <mizutani@dml.com>
578
579 * rip_routemap.c (match_ip_nexthop): Add check for IP address
580 validness.
581 (no_set_metric): Add new ALIAS.
582
5832000-08-07 Kunihiro Ishiguro <kunihiro@zebra.org>
584
585 * ripd.h (struct rip ): Add distance.
586
5872000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
588
589 * rip_zebra.c (rip_zebra_ipv4_add): Use new Zebra api to register
590 routes. Pass RIP metric value to zebra.
591
5922000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
593
594 * rip_main.c (main): Make struct thread thread from global
595 variable to local variable in main.
596
5972000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
598
599 * ripd.c (rip_packet_dump): Add MD5 authentication dump function.
600 (rip_auth_md5): RIP MD5 authentication packet receive works.
601
6022000-08-02 David Lipovkov <davidl@nbase.co.il>
603
604 * rip_interface.c (rip_if_init): Install interface "pseudo"
605 commands.
606 (rip_interface_delete): Do not call if_delete() when interface is
607 pseudo interface.
608
6092000-07-31 Kunihiro Ishiguro <kunihiro@zebra.org>
610
611 * rip_interface.c (ip_rip_authentication_mode): "ip rip
612 authentication mode (md5|text)" is added.
613 (ip_rip_authentication_key_chain): "ip rip authentication
614 key-chain KEY-CHAIN" is added.
615 (rip_interface_clean): Clean all interface configuration.
616 (rip_interface_reset): Reset all interface configuration.
617 (rip_clean_network): Clean rip_enable_network.
618
619 * ripd.h (struct rip_interface): Add key_chain member.
620
621 * ripd.c: Include md5-gnu.h.
622
6232000-07-30 Kunihiro Ishiguro <kunihiro@zebra.org>
624
625 * ripd.h (RIP_NO_AUTH): Change RIP_NO_AUTH value from 1 to 0.
626
627 * ripd.c (rip_authentication): Use RIP_AUTH_SIMPLE_PASSWORD
628 instead of raw value 2.
629 (rip_write_rte): Likewise.
630 (rip_write_rte): Check ri->auth_type instead of ri->auth_str.
631
6322000-07-30 David Lipovkov <davidl@nbase.co.il>
633
634 * rip_interface.c (rip_if_down): Do not delete ZEBRA_ROUTE_KERNEL
635 route.
636
6372000-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
638
639 * ripd.c (rip_update_process): Add "passive-interface" command.
640
641 * ripd.h (struct rip_interface): Add passive member to struct
642 rip_interface.
643
6442000-07-24 Kunihiro Ishiguro <kunihiro@zebra.org>
645
646 * rip_interface.c (rip_if_init): Multiple RIP routes for one
647 prefix change. The codes are enclosed by #ifdef NEW_RIP_TABLE.
648
6492000-07-24 Akihiro Mizutani <mizutani@dml.com>
650
651 * rip_interface.c (rip_if_init): Use install_default() for
652 INTERFACE_NODE.
653
6542000-07-24 Kunihiro Ishiguro <kunihiro@zebra.org>
655
656 * ripd.c: First update timer will be invoked in two seconds.
657
6582000-07-09 Jochen Friedrich <jochen@scram.de>
659
660 * rip_snmp.c: Local function definitions to static. Add INTEGER
661 ASN_INTEGER and TIMETICKS ASN_TIMETICKS definition.
662 (rip2PeerLookup): Peer with domain lookup implemented.
663 (rip2PeerTable): Temporary disable RIP2PEERLASTUPDATE value
664 support due to unknown SNMP agent startup time.
665
6662000-07-05 Kunihiro Ishiguro <kunihiro@zebra.org>
667
668 * ripd.h: Sweep obsolete definitions.
669
670 * rip_interface.c (rip_split_horizon): Add "ip split-horizon"
671 command.
672
673 * ripd.c (rip_output_process): Remove split_horizon argument.
674 (rip_update_process): Likewise.
675
676 * ripd.h (struct rip_interface): Add split_horizon flag to struct
677 rip_interface.
678
6792000-07-04 Akihiro Mizutani <mizutani@dml.com>
680
681 * ripd.c (rip_version): Change VERSION to <1-2>.
682 Add "no version" command.
683
6842000-07-03 Kunihiro Ishiguro <kunihiro@zebra.org>
685
686 * rip_zebra.c (rip_redistribute_type_metric): "redistribute TYPE
687 metric <0-16>" command is added.
688
689 * rip_routemap.c (route_set_metric): Set metric_set when metric is
690 modified.
691
692 * ripd.h (struct rip_info): To check route-map set metric or not,
693 new member metric_set is added to struct rip_info.
694
695 * ripd.c (rip_route_process): Move metric handling code from
696 rip_response_process() to rip_route_process().
697 (rip_output_process): Set output offset-list metric.
698
6992000-07-02 Kunihiro Ishiguro <kunihiro@zebra.org>
700
701 * rip_offset.c (rip_offset_list): New file for offset-list.
702
7032000-07-02 Akihiro Mizutani <mizutani@dml.com>
704
705 * ripd.h (struct rip ): Add default_metric.
706
707 * ripd.c (rip_default_metric): "default-metric <1-16>" command is
708 added.
709 (config_write_rip): Change configuration order.
710
711 * rip_zebra.c: Fix help strings.
712
7132000-07-02 David Lipovkov <davidl@nbase.co.il>
714
715 * rip_interface.c (rip_if_init): Add IF_DELETE_HOOK.
716
7172000-07-01 Kunihiro Ishiguro <kunihiro@zebra.org>
718
719 * ripd.c (rip_output_process): If specified route-map does not
720 exist, it treated as deny all.
721
7222000-06-30 Kunihiro Ishiguro <kunihiro@zebra.org>
723
724 * rip_routemap.c (rip_route_map_init): Call rip_route_map_update
725 when route-map is deleted.
726
7272000-06-28 Kunihiro Ishiguro <kunihiro@zebra.org>
728
729 * rip_routemap.c (set_metric): For consistency with bgpd's set
730 metric, value range is set to <0-4294967295>.
731
7322000-06-28 David Lipovkov <davidl@nbase.co.il>
733
734 * rip_routemap.c (rip_route_map_update): Add check for rip is
735 enabled or not for avoid core dump.
736
737 * rip_debug.c (debug_rip_packet_direct): Fix bug of setting
738 rip_debug_packet flag.
739
7402000-06-13 David Lipovkov <davidl@nbase.co.il>
741
742 * rip_interface.c (rip_interface_delete): All work is done in
743 rip_if_down().
744
7452000-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
746
747 * ripd.c (rip_redistribute_delete): Fix bug of missing
748 route_unlock_node() when redistribute route is not found.
749
7502000-06-05 Akihirof Mizutani <mizutani@dml.com>
751
752 * rip_debug.c (rip_debug_init): Disable show debugging in
753 VIEW_NODE like other protocol daemon.
754
755 * rip_routemap.c: Change command argument to more comprehensive.
756
757 METRIC -> <0-16>
758 IFNAME -> WORD
759 IP_ADDR -> A.B.C.D
760 ACCSESS_LIST -> WORD
761
7622000-06-05 David Lipovkov <davidl@nbase.co.il>
763
764 * rip_interface.c (rip_interface_delete): Delete all routes
765 include static and kernel through the interface , because even if
766 the interface is added again there is no guarantee that it will
767 get the same ifindex as before.
768
7692000-05-31 Akihirof Mizutani <mizutani@dml.com>
770
771 * rip_debug.c: Fix rip debug help string.
772
7732000-04-27 Mirko Karanovic <mkaranov@torsel.alcatel.com>
774
775 * rip_interface.c (rip_interface_down): Remove interface from
776 multicast group when interface goes down.
777
7782000-04-03 David Lipovkov <davidl@nbase.co.il>
779
780 * rip_interface.c (rip_interface_down): Implemented rip functions
781 for interface up/down events: rip_interface_up() and
782 rip_interface_down()
783
7842000-03-16 David Lipovkov <davidl@nbase.co.il>
785
786 * rip_zebra.c (rip_zclient_init): Added rip functions for
787 interface up/down events.
788
7892000-02-15 Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
790
791 * ripd.c (rip_write_rte): "set metic" in route-map has no effect
792 for RIPv1 in ripd. It worked fine for RIPv2.
793
7942000-01-17 Kunihiro Ishiguro <kunihiro@zebra.org>
795
796 * ripd.c (show_ip_protocols_rip): Fix bug of "show ip protocls"
797 mis-display RIP version.
798
799 * ripd.h (struct rip_peer): Add timeout thread to rip_peer
800 structure.
801
8022000-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
803
804 * rip_peer.c: Add new file for supporting RIP peer.
805
8061999-12-26 David Lipovkov <davidl@nbase.co.il>
807
808 * ripd.c (rip_authentication): RIP authantication string is 16
809 bytes long.
810
8111999-12-10 Kunihiro Ishiguro <kunihiro@zebra.org>
812
813 * ripd.c (rip_read): Add check for minimum packet length.
814 Authentication check is moved from rip_process_response() to
815 rip_read(). Patch from David Lipovkov <davidl@nbase.co.il> is
816 applied then add rte number check by Kunihiro Ishiguro
817 <kunihiro@zebra.org>.
818
8191999-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
820
821 * ripd.c (rip_response_process): In case of packet is RIPv2 and
822 network is non zero and netmask is zero, apply netmask rule as
823 same as RIPv1.
824
8251999-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
826
827 * ripd.c (rip_timers): Fix bug of timers basic argument format.
828
8291999-11-03 Kunihiro Ishiguro <kunihiro@zebra.org>
830
831 * rip_snmp.c (rip2IfConfAddress): Forgot to include
832 RIP2IFCONFDOMAIN.
833
8341999-10-28 Kunihiro Ishiguro <kunihiro@zebra.org>
835
836 * ripd.h (struct rip_peer): New structure added.
837
8381999-10-26 Kunihiro Ishiguro <kunihiro@zebra.org>
839
840 * rip_zebra.c (rip_zebra_ipv4_add): Increment
841 rip_global_route_changes when route change occur.
842 (rip_zebra_ipv4_delete): Likewise.
843
844 * ripd.c (rip_request_process): Increment rip_global_queries when
845 reply to the query is sent.
846
8471999-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
848
849 * rip_debug.c (rip_debug_reset): Reset function added.
850
851 * ripd.c (rip_update_process): Logging bug is fixed.
852
8531999-10-10 Marc Boucher <marc@mbsi.ca>
854
855 * ripd.c (config_write_rip): Add config_write_distribute() call.
856
8571999-09-29 Kunihiro Ishiguro <kunihiro@zebra.org>
858
859 * ripd.c (rip_distribute_update): Fix bug of access-list
860 prefix-list updates.
861
8621999-09-10 VOP <vop@unity.net>
863
864 * rip_zebra.c: Add redistribute route-map feature.
865
8661999-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
867
868 * ripd.c (rip_response_process): Add check for given prefix is
869 given mask applied one.
870
8711999-09-03 VOP <vop@unity.net>
872
873 * rip_interface.c (rip_interface_multicast_set): Bug fix about
874 setting multicast interface.
875
8761999-09-02 VOP <vop@unity.net>
877
878 * rip_routemap.c: New file added.
879
8801999-09-02 Kunihiro Ishiguro <kunihiro@zebra.org>
881
882 * ripd.c (show_ip_protocols_rip): Show next update time.
883 (show_ip_protocols_rip): Show redistribute information.
884
8851999-08-25 Kunihiro Ishiguro <kunihiro@zebra.org>
886
887 * RIPv2-MIB.txt: New file added.
888
889 * rip_snmp.c: New file added.
890
8911999-08-24 Kunihiro Ishiguro <kunihiro@zebra.org>
892
893 * rip_interface.c (ip_rip_authentication_string): RIPv2
894 authentication command is added.
895
8961999-08-23 Kunihiro Ishiguro <kunihiro@zebra.org>
897
898 * rip_interface.c (rip_interface_multicast_set): Process of
899 setting IP_MULTICAST_IF on specific interface.
900
901 * ripd.c (rip_read): Add packet size check.
902
9031999-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
904
905 * ripd.c (rip_request_process): Fill in RIP_METRIC_INFINITY with
906 network byte order using htonl ().
907 (rip_response_process): Pass host byte order address to IN_CLASSC
908 and IN_CLASSB macro.
909
9101999-08-08 davidm@nbase.co.il (David Mozes)
911
912 * rip_zebra.c (rip_zebra_read_ipv4): Fix split horizon problem.
913
9141999-07-03 Kunihiro Ishiguro <kunihiro@zebra.org>
915
916 * ripd.c (rip_timer_set): Function added.
917
9181999-07-01 Kunihiro Ishiguro <kunihiro@zebra.org>
919
920 * rip_debug.c: New file added.
921 rip_debug.h: New file added.
922
9231999-07-01 Rick Payne <rickp@rossfell.co.uk>
924
925 * rip_zebra.c (zebra_init): Install standard commands to
926 ZEBRA_NODE.
927
9281999-06-01 David Luyer <luyer@ucs.uwa.edu.au>
929
930 * ripd.c (rip_process_route): Add support for RIP version 1.
931
9321999-05-29 Kunihiro Ishiguro <kunihiro@zebra.org>
933
934 * rip_zebra.c: Change to use lib/zclient.[ch].
935
9361999-05-20 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
937
938 * ripd.c (rip_add_route): Change the existance route's metric check
939 to the condition specified by RFC2453.
940
9411999-05-17 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
942
943 * ripd.c (rip_process_route): Add the if metric to the route metric.
944
945 * ripd.c (rip_add_route): Deleted add if metric to the route.
946
9471999-05-16 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
948
949 * rip_interface.c (if_valid_neighbor): New function.
950
951 * ripd.c (rip_process_route): Added check whether the datagram
952 is from a valid neighbor.
953
9541999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
955
956 * ripd.c (rip_process_route): Set interface pointer to rinfo.
957
9581999-05-15 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
959
960 * ripd.c (rip_check_address): Unicast and not net 0 or 127 check
961 added.
962
9631999-05-14 Stephen R. van den Berg <srb@cuci.nl>
964
965 * rip_main.c (signal_init): SIGTERM call sigint.
966 (sigint): Loggging more better message.
967
9681999-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
969
970 * ripd.c (rip_add_route): Fix previous route_unlock_node() chenge.
971
972 * rip_main.c (main): Change default zlog output to ZLOG_STDOUT for
973 debugging.
974
9751999-05-09 Patrick Koppen <koppen@rhrk.uni-kl.de>
976
977 * rip_interface.c (rip_request): Fix old semantics for fetching
978 connected address.
979
980 * ripd.c (rip_add_route): Update timer when the route is updated.
981
9821999-05-09 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
983
984 * rip_zebra.c (struct zebra): Add ridist_static, ridist_connect,
985 redist_rip, redist_ripng.
986
987 * rip_zebra.c (zebra_create): Updated for current zebra method.
988
989 * ripd.c (rip_add_route): Add missing route_unlock_node().
990
9911999-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
992
993 * ripd.c (rip_add_route): Add metric check. Reported by Carlos
994 Alberto Barcenilla <barce@frlp.utn.edu.ar>.
995
9961999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
997
998 * syslog support added
999
10001998-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1001
1002 * ripd.c (rip_announce_func): Apply new lib functions.
1003
10041998-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1005
1006 * ripd.c (config_write_rip): Delete vector v argument.
1007 * rip_zebra.c (config_write_zebra): Likewise.
1008 * rip_interface.c (interface_config_write): Likewise.
1009
10101998-09-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1011
1012 * rip_announce.c (rip_rib_close): When ripd terminates delete all
1013 added route.
1014
10151998-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1016
1017 * rip_interface.c: return read packet size.
1018
10191998-05-18 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1020
1021 * ripd.h: Modify for compile on Solaris.
1022
10231998-05-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1024
1025 * ripd.c: DEFUN function return CMD_SUCCESS.
1026 change xmalloc to XMALLOC macro.
1027
10281998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1029
1030 * rip_main.c: change CONFDIR to SYSCONFDIR.
1031
10321998-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1033
1034 * .cvsignore: added.
1035
10361998-02-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1037
1038 * rip_interface.c (config_write_interface): correct ADVERTISE spell.
1039
1040 * rip_main.c (main): add usage() and make cleanup.
1041
10421998-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1043
1044 * ripd.c (rip_version): add rip version command.
1045
10461998-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1047
1048 * rip_interface.c (zebra_get_interface): added to get
1049 interface's information.
1050
1051 * ChangeLog: create.