blob: e9f7e07cfb378d61599f89b1449086ac50a8a1fe [file] [log] [blame]
paul92779fe2005-10-28 10:23:09 +000012005-10-28 Paul Jakma <paul.jakma@sun.com>
2
3 * Makefile.am: Add rip_interface.h, or else it doesn't get
4 included in dists.
5
pauldc63bfd2005-10-25 23:31:05 +000062005-10-26 Paul Jakma <paul.jakma@sun.com>
7
8 * (general) static/extern functions and definitions.
9 * rip_interface.h: new file, export the public functions from
10 rip_interface.c
paul216565a2005-10-25 23:35:28 +000011 * ripd.c: Update couple more functions to specify void
12 explicitely.
pauldc63bfd2005-10-25 23:31:05 +000013
jardin38d3c162005-10-19 19:29:59 +0000142005-10-17 Vincent Jardin <vincent.jardin@6wind.com>
15
16 * ripd.c: rip_create_socket() for each packet, it does not bind to the
17 proper interfaces because we forget to use the from address when
18 it is specified.
19
vincentfac3e842005-10-06 07:45:43 +0000202005-10-06 Alain Ritoux <alain.ritoux@6wind.com>
21
22 * rip_interface.c: Now the command "no ip rip split-horizon
23 poisoned-reverse" just inhibates the poisoned-reverse effects
24 but keep spli-horizon activ.
25
ajsf52d13c2005-10-01 17:38:06 +0000262005-10-01 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
27
28 * rip_zebra.c: (config_write_rip_redistribute): Remove local hard-coded
29 table str[]. Replace str[] with calls to new library function
30 zebra_route_string().
31 * ripd.c: Remove local hard-coded table route_info[].
32 (show_ip_rip) Replace uses of str[] with calls to new library
33 functions zebra_route_char and zebra_route_string.
34
vincentfbf5d032005-09-29 11:25:50 +0000352005-09-29 Alain Ritoux <alain.ritoux@6wind.com>
36
37 * rip_snmp.c: rip2IfConfReceive() sends values in conformance
38 with RFC. Also PeerDomain is now set to a STRING type.
39 * ripd.h: rip_redistribute_add() API includes metric and distance
40 added field external_metric in routes.
41 * ripd.c: rip_redistribute_add() API i.e. stores metric and distance
42 Now allows a RIP-route to overcome a redistributed route coming
43 from a protocol with worse (higher) administrative distance
44 Metrics from redistribution are shown in show ip rip
45 * rip_zebra.c: adapt to the rip_redistribute_add() API, i.e.
46 provide distance and metric
47 * rip_interface.c: adapt to the rip_redistribute_add() API
48 * rip_routemap.c: no RMAP_COMPILE_ERROR on (metric > 16) usage
49 rather a CMD_WARNING, because set metric ius shared with other
50 protocols using larger values (such as OSPF)
51 The match metric action takes first external metric if present
52 (from redistribution) then RIP metric.
53
vincentc1a03d42005-09-28 15:47:44 +0000542005-09-28 Alain Ritoux <alain.ritoux@6wind.com>
55
56 * ripd.c: use new md5 API
57
paul2c61ae32005-08-16 15:22:14 +0000582005-08-16 Paul Jakma <paul.jakma@sun.com>
59
60 * ripd.c: (general) Fix previous commit, broke multicast bind and
61 hence setting of source port, which broke communication with
62 non-borken ripd. Fix removes more stuff from rip_interface.c
63 than it adds to ripd.c ;)
64 (rip_create_socket) the to argument really is a from argument,
65 rename it. Set the source port to RIP port unconditionally, it's
66 required.
67 (rip_send_packet) Set from address correctly for multicast.
68 (rip_output_process) trivial: num can be BSS specified, rather
69 than in body.
70 * rip_interface.c: (rip_interface_multicast_set) strip out
71 redundant stuff related to bind, which rip_create_socket does.
72 Just make it set the multicast socket option, as per the
73 interface concerned, no more.
74
paula4e987e2005-06-03 17:46:49 +0000752005-06-03 Paul Jakma <paul.jakma@sun.com>
76
77 * ripd.c: (rip_create_socket) move it up so rip_send_packet
paulf69bd9d2005-06-03 18:01:50 +000078 can use it too. Make it static. Remove the getservbyname stuff,
79 as RFC2453 3.9.2 says non-RIP port messages should be discarded,
80 quagga doesnt accept them, no need to lookup port.
81 Take a 'to' argument, if socket should be bound to something else.
82 setsockopt_so_recvbuf might need privs, move it to the raised
83 privileges section.
84 dont forget to close the socket if bind fails.
85 (rip_send_packet) use strncpy, just in case (address is under
86 our control anyway, but still).
87 dont duplicate rip_create_socket - just use it.
88 (rip_create) rip_create_socket takes an argument now, modify.
89
paul7755a8c2005-06-02 08:20:53 +0000902005-06-01 Paul Jakma <paul.jakma@sun.com>
91
92 * rip_interface.c: Fix authentication, no-auth impossible to specify
93 (rip_interface_new) default to RIP_NO_AUTH
94 (rip_interface_reset) ditto
95 (rip_interface_config_write) write out config for simple
96
paul0cb8a012005-05-29 11:27:24 +0000972005-05-29 Paul Jakma <paul@dishone.st>
98
99 * ripd.c: (rip_output_process) fix error which crept in my
100 previous rip auth untanglement commit - it had become impossible
101 to not have authentication (even for v1).
102
hasso033e8612005-05-28 04:50:54 +00001032005-05-28 Hasso Tepper <hasso at quagga.net>
104
105 * rip_routemap.c: Fix set_metric_addsub_cmd help, it's not about BGP
106 metric.
107
hassocf96db12005-05-25 21:15:32 +00001082005-05-26 Hasso Tepper <hasso at quagga.net>
109
hassodc625e82005-05-26 06:26:40 +0000110 * rip_routemap.c: In case of '0.0.0.0' used as 'nexthop', use sender
111 address as nexthop in routemap.
112
1132005-05-26 Hasso Tepper <hasso at quagga.net>
114
hassocf96db12005-05-25 21:15:32 +0000115 * rip_routemap.c: Make "match interface" routemap command match both -
116 in and out interfaces.
117
ajsd4e47282005-05-11 15:56:21 +00001182005-05-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
119
120 * rip_interface.c (rip_interface_add): Need to call
121 rip_passive_interface_apply (was already calling it in
122 rip_interface_up).
123
ajs634f9ea2005-04-11 15:51:40 +00001242005-04-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
125
126 * rip_zebra.c (rip_redistribute_set, rip_redistribute_unset,
127 rip_redistribute_clean): Change 2nd arg to zebra_redistribute_send
128 from zclient->sock to zclient.
129
ajsd2fc8892005-04-02 18:38:43 +00001302005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
131
132 * rip_interface.c: (rip_interface_delete) After deleting, set
133 ifp->ifindex to IFINDEX_INTERNAL.
134
paulb14ee002005-02-04 23:42:41 +00001352005-02-04 Paul Jakma <paul@dishone.st>
136
137 * ripd.c: Untangle the construction of RIP auth data.
138 (rip_auth_prepare_str_send) new helper function, prepare
139 correct key string.
140 (rip_auth_simple_write) new helper, write out the
141 rip simple password auth psuedo-RTE.
142 (rip_auth_md5_ah_write) new helper, write out the
143 MD5 auth-header psuedo-RTE.
144 (rip_auth_header_write) new helper, write out correct
145 auth header data / psuedo-RTE.
146 (rip_auth_md5_set) rip out the memmove and writing of the
147 auth header psuedo-RTE. So that all that is left is to
148 write the trailing auth digest, and update digest offset
149 field in the original header.
150 (rip_write_rte) rip out writing of RIP header, writing of
151 simple auth data psuedo-RTE. Make it do what its name suggests,
152 write out actual RTEs.
153 (rip_output_process) remove the incorrect additional decrements
154 of rtemax. Prepare the auth_str, which simple or MD5 auth will
155 need. Move write out of RIP header and auth data to inside the
156 loop. Adjust paramaters as required.
157
ajs79853452005-01-30 17:40:29 +00001582005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
159
ajs6a52d0d2005-01-30 18:49:28 +0000160 * ripd.c: (rip_create_socket) Replace perror with zlog_err.
161
1622005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
163
ajs79853452005-01-30 17:40:29 +0000164 * ripd.c: (rip_create_socket) Save errno before calling
165 ripd_privs.change.
166
ajsb99760a2005-01-04 16:24:43 +00001672005-01-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
168
169 * ripd.c: (rip_recvmsg) Use ZCMSG_FIRSTHDR instead of CMSG_FIRSTHDR.
170
ajs766a0ca2004-12-15 14:55:51 +00001712004-12-15 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
172
173 * ripd.c: (rip_read) Improve 2 error messages to show the source of
174 the packet when the lookup fails.
175
ajs5d6c3772004-12-08 19:24:06 +00001762004-12-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
177
178 * *.c: Change level of debug messages to LOG_DEBUG.
179
ajs274a4a42004-12-07 15:39:31 +00001802004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
181
182 * rip_main.c: (main) The 2nd argument to openzlog has been removed.
183
ajs887c44a2004-12-03 16:36:46 +00001842004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
185
186 * rip_main.c: (sigint) Use zlog_notice for termination message.
187 (main) Add a startup announcement using zlog_notice.
188
hassoc0652302004-11-25 19:33:48 +00001892004-11-25 Hasso Tepper <hasso at quagga.net>
190
191 * rip_main.c: Make group to run as configurable.
192
paulc49ad8f2004-10-22 10:27:28 +00001932004-10-22 Paul Jakma <paul@dishone.st>
194
195 * ripd.c: Collapse redundant passing of various address structs,
196 struct interface and struct connected as arguments to functions
197 down to two key arguments, namely struct connected and, possibly,
198 address of source/destination. Testing for RIPv1 would be useful.
199 (rip_read) lookup struct connected for the received packet, pass
200 it on.
201 * rip_interface.c: With previous changes, we no longer have to tread
202 carefully with struct connected, as it will always be there and
203 valid.
204
hasso3fb9cd62004-10-19 19:44:43 +00002052004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
206
207 * ripd.c: (rip_update_interface) if connected->destination is NULL,
208 get the broadcast address with ipv4_broadcast_addr()
209 * rip_interface.c: (rip_interface_multicast_set)
210 connected->destination may be NULL. Improve message if
211 setsockopt_multicast_ipv4 fails. Improve message if bind fails.
212 (rip_request_interface_send) If connected->destination is NULL,
213 get the broadcast address with ipv4_broadcast_addr().
214 (if_valid_neighbor) Handle PtP subnet addressing properly.
215 Speed up code by using prefix_match properly.
216
hassoc75105a2004-10-13 10:33:26 +00002172004-10-13 Hasso Tepper <hasso at quagga.net>
218
219 * ripd_snmp.c: Remove defaults used to initialize smux connection to
220 snmpd. Connection is initialized only if smux peer is configured.
221
hasso98b718a2004-10-11 12:57:57 +00002222004-10-11 Hasso Tepper <hasso at quagga.net>
223
224 * *.c: Make more strings const.
225
hasso8a676be2004-10-08 06:36:38 +00002262004-10-08 Hasso Tepper <hasso at quagga.net>
227
228 * *.c: Fix compiler warnings: make strings const, signed -> unsigned
229 etc.
230
hasso1af81932004-09-26 16:11:14 +00002312004-09-26 Hasso Tepper <hasso at quagga.net>
232
233 * ripd.c: Fix compiler warning.
234
hasso52dc7ee2004-09-23 19:18:23 +00002352004-09-23 Hasso Tepper <hasso at quagga.net>
236
237 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
238
paul0b3acf42004-09-17 08:39:08 +00002392004-09-17 Paul Jakma <paul@dishone.st>
240
241 * ripd.c: set receive buffer to a decent size, some systems have low
242 defaults. Problem noted and fix suggested by Stephan Schweizer
243 in [zebra 20967].
244
paul1a517862004-08-19 04:03:08 +00002452004-08-19 Paul Jakma <paul@dishone.st>
246
247 * rip_interface.c: (rip_interface_multicast_set) get rid
248 of extraneous if_pointopoint arg. ifp is accessible via connected.
249 pass connected->ifp->ifindex to setsockopt_multicast_ipv4.
250 * ripd.c: (rip_send_packet) update call to
251 rip_interface_multicast_set
252 * ripd.h: update rip_interface_multicast_set prototype
253
paul02ff83c2004-06-11 11:27:03 +00002542004-06-11 Sowmini Varadhan <sowmini.varadhan@sun.com>
255
256 * ripd.c: (rip_distribute_update_all) distribute list hook
257 function pointer prototype requires struct prefix_list * arg.
258 (rip_distribute_update_all_wrapper) update to pass required arg,
259 NULL.
260
paulca5e5162004-06-06 22:06:33 +00002612004-06-06 Paul Jakma <paul.jakma@sun.com>
262
263 * ripd.h: Add define for the RIPv2 Authentication Data family
264 Move the auth type defines up to where other defines live.
265 Add RIP_AUTH_MD5_COMPAT_SIZE, for backwards compatible
266 md5->auth_len size. Add md5_auth_len field to struct
267 rip_interface: (rip_interface_new) Init md5_auth_len to compatible
268 size.
269 (ip_rip_authentication_mode_cmd) Extended to handle setting
270 md5 auth-length. Appropriate aliases added.
271 (no_ip_rip_authentication_mode_cmd) Reset md5_auth_len to
272 compatible size.
273 (rip_interface_config_write) Teach it about md5_auth_len.
274 _always_ write out the auth-length, so that everyone will get
275 the setting in their config file, and hence allow for a future
276 change of default for md5_auth_len to be less painful - every md5
277 user will have this setting in their config file.
278 ripd.c: (rip_packet_dump) Change nasty hard coded constants to
279 symbolic defines. Change various tests of 'ntoh.(variable) ==
280 constant' to test 'variable == ntoh.(constant)'. Clean up
281 indentation on some long lines.
282 (rip_auth_simple_password) ditto.
283 (rip_auth_md5) ditto, also add length argument and sanity check
284 md5 data offset field. Sanity check md5 auth length, accept RFC
285 or old-ripd/cisco lengths.
286 (rip_auth_md5_set) as per (rip_packet_dump), also write out
287 the configured md5 auth length for the interface (old-ripd or rfc)
288 (rip_read) as per (rip_packet_dump)
289 (rip_write_rte) ditto
290 (rip_response_process) ditto
291 (rip_write_rte) ditto
292
paulc2bfbcc2004-06-04 01:42:38 +00002932004-06-04 JJ Ludman <jacques.ludman@sun.com>
294
295 * ripd.c: Interoperability fix. Correct value for MD5 auth length
296 is 16. Accept packets with this set to >= 16, and set to 16
297 ourselves.
298
paul11dde9c2004-05-31 14:00:00 +00002992004-05-31 Sowmini Varadhan <sowmini.varadhan@sun.com>
300
301 * ripd.c: Fixup compile warnings
302 * rip_routemap.c: Ditto
303
paul0a589352004-05-08 11:48:26 +00003042004-05-08 Paul Jakma <paul@dishone.st>
305
306 * rip_zebra.c: sync with zclient changes.
307 * rip_interface.c: ditto.
308
paul239389b2004-05-05 14:09:37 +00003092004-05-05 Anthony.Golia@morganstanley.com
310
311 * ripd.c: (rip_update_jitter) Bound jitter to a more sensible
312 value, eg 1/4 of update time.
313
paula87552c2004-05-03 20:00:17 +00003142004-05-03 Paul Jakma <paul@dishone.st>
315
316 * ripd.c: (rip_rte_process) fix typo in merge of previous patch
317 and run function through indent.
318
paulb94f9db2004-05-01 20:45:38 +00003192004-03-19 Jean-Yves Simon <lethalwp@tiscali.be>
320
paula87552c2004-05-03 20:00:17 +0000321 * ripd.c: (rip_rte_process) make ripd also check on
322 administrative distance of his own links to update routes.
paulb94f9db2004-05-01 20:45:38 +0000323
hassoda9c9a22004-03-18 02:40:55 +00003242004-03-18 sowmini.varadhan@sun.com
325
326 * ripd.c: rip_send_packet can get null connected address when
327 called in response to a unicast rip-request. Handle correctly.
328
hassoa1455d82004-03-03 19:36:24 +00003292004-03-03 Krzysztof Oledzki <oleq@ans.pl>
330
hassocaa6f8a2004-03-03 19:48:48 +0000331 * ripd.c: fix "show ip rip" and per interface rip version selection.
hassoa1455d82004-03-03 19:36:24 +0000332
paul931cd542004-01-23 15:31:42 +00003332004-01-23 sowmini.varadhan@sun.com
334
335 * rip_interface.c: obsolete unbind code in
336 rip_interface_multicast_set, and instead do the more portable
337 (though slower) method of creating a socket for each outgoing packet
338 and binding the source address on the new socket.
339 * rip_interface.c, ripd.c, ripd.h: Modify rip_request_send so that
340 source address is determined by the caller of rip_request_send for
341 ripv1 packets and non-multicast interfaces (rip_request_send loops
342 over all connected address in all other cases).
343 * rip_send_packet: don't send packets with source set to
344 ZEBRA_IFA_SECONDARY connected addresses; improved debug messages;
345
paulf38a4712003-06-07 01:10:00 +00003462003-06-07 Andrew J. Schorr <aschorr@telemetry-investments.com>
347
348 * Allow ripd to receive RIPv1
349 * add default as valid param to passive-interface command
350
hasso16705132003-05-25 14:49:19 +00003512003-05-25 Vincent Jardin <vjardin@wanadoo.fr>
352
paulf38a4712003-06-07 01:10:00 +0000353 * 6Wind patch merge.
hasso16705132003-05-25 14:49:19 +0000354
paul445f1432003-05-16 19:00:31 +00003552003-04-19 Hasso Tepper <hasso@estpak.ee>
356
357 * rip_routemap.c: sync daemon's route-map commands to have same
358 syntax
359
paul718e3742002-12-13 20:15:29 +00003602002-07-07 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
361
362 * zebra-0.93 released.
363
3642002-06-30 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
365
366 * ripd.c (rip_output_process): When outgoing interface is same as
367 next hop interface, announce RIPv2 next hop otherwise set next hop
368 to 0. Revert previous change then take 6WIND way.
369
3702001-09-14 Akihiro Mizutani <mizutani@dml.com>
371
372 * ripd.c: RIP enabled interface's route is advertised by default.
373
3742001-08-28 NOGUCHI Kay <kay@v6.access.co.jp>
375
376 * rip_snmp.c (rip_ifaddr_delete): Add route_node_lookup() return
377 value check.
378
379 * rip_interface.c (rip_multicast_leave): Fix bug of multiple IP
380 address on one interface multicast join/leave bug.
381
3822001-08-26 NOGUCHI Kay <kay@v6.access.co.jp>
383
384 * rip_interface.c (no_rip_passive_interface): Add NO_STR.
385
3862001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
387
388 * zebra-0.92a released.
389
3902001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
391
392 * zebra-0.92 released.
393
3942001-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
395
396 * rip_routemap.c (route_match_ip_address_prefix_list): Add match
397 ip next-hop prefix-list WORD.
398
3992001-02-18 Kunihiro Ishiguro <kunihiro@zebra.org>
400
401 * rip_interface.c (rip_passive_interface_clean): Call
402 rip_passive_interface_apply_all.
403
4042001-02-12 Kunihiro Ishiguro <kunihiro@zebra.org>
405
406 * ripd.c (rip_response_process): Multicast address nexthop check
407 is moved from rip_nexthop_check.
408
4092001-02-08 Matthew Grant <grantma@anathoth.gen.nz>
410
411 * rip_interface.c (ipv4_multicast_join): Use
412 setsockopt_multicast_ipv4.
413 (ipv4_multicast_leave): Likewise.
414 (rip_if_ipv4_address_check): Interface which has IPv4 address can
415 be enabled.
416
4172001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
418
419 * rip_interface.c (rip_interface_delete): To support pseudo
420 interface do not free interface structure.
421 * ripd.c (rip_output_process): If output interface is in simple
422 password authentication mode, we need space for authentication
423 data.
424
4252001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
426
427 * ripd.c (rip_nexthop_check): Fix multicast address nexthop check.
428
429 * zebra-0.91 is released.
430
4312001-01-27 Kunihiro Ishiguro <kunihiro@zebra.org>
432
433 * ripd.c (show_ip_rip): Show metric infinity route's timeout.
434 (rip_rte_process): If current route is metric infinity, route is
435 replaced with received rte.
436 (rip_redistribute_delete): When redistribute route is deleted,
437 perform poisoned reverse.
438 (rip_redistribute_withdraw): Likewise.
439
4402001-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
441
442 * ripd.c (rip_response_process): RIPv2 routing table entry with
443 non directly reachable nexthop was dropped. The code is changed
444 to treat it as 0.0.0.0 nexthop.
445 (rip_destination_check): Check net 0 address destination.
446 (rip_nexthop_check): New function for checking nexthop address
447 validity.
448
4492001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
450
451 * ripd.c (rip_request_process): Triggered update only send changed
452 route.
453
454 * rip_interface.c: Delete RIP_API part until new implementation
455 comes out.
456
457 * rip_snmp.: Likewise.
458
459 * rip_zebra.c: Likewise.
460
461 * ripd.c: Likewise.
462
4632001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
464
465 * rip_interface.c (rip_if_init): Remove HAVE_IF_PSEUDO part.
466
4672001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
468
469 * zebra-0.90 is released.
470
4712001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
472
473 * ripd.h (RIP_VTYSH_PATH): Change "/tmp/ripd" to "/tmp/.ripd".
474
4752000-12-25 David Lipovkov <davidl@nbase.co.il>
476
477 * ripd.c (rip_rte_process): When a route is in garbage collection
478 process (invalid with metric 16) and a router receives the same
479 route with valid metric then route was not installed into zebra
480 rib, but only into ripd rib. Moreover , it will never get into
481 zebra rib, because ripd wrongly assumes it's already there.
482 (rip_redistribute_add): When doing redistribute into rip other
483 route (e.g. connected) and the same route exists in ripd rib we
484 changed it in place - bug. Now we don't forget to remove old route
485 from zebra.
486 (rip_timeout): When removing routes from zebra I made sure that we
487 remove route with the metric we have in zebra and not the new
488 one. It doesn't make a difference now,but could be significant
489 when multipath support is done.
490
4912000-12-25 David Lipovkov <davidl@nbase.co.il>
492
493 * rip_zebra.c (rip_metric_unset): Fix bug of metric value unset.
494
4952000-11-25 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
496
497 * ripd.c (rip_request_process): Check passive flag of the
498 interface.
499
5002000-11-23 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
501
502 * rip_interface.c (rip_multicast_join): When IP_ADD_MEMBERSHIP
503 failed do not set runnning flag to the interface.
504
5052000-11-16 Kunihiro Ishiguro <kunihiro@zebra.org>
506
507 * ripd.c (rip_output_process): Memory leak related classfull
508 network generation is fixed.
509
5102000-11-16 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
511
512 * rip_interface.c (if_check_address): Obsolete pointopoint address
513 check is removed.
514
5152000-11-02 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
516
517 * rip_interface.c (if_check_address): Add pointopoint address
518 check.
519 (rip_interface_up): Add check for passive interface when interface
520 goes up.
521
5222000-10-23 Jochen Friedrich <jochen@scram.de>
523
524 * rip_snmp.c: rip_oid and ripd_oid are used in smux_open after it
525 is registered. So those variables must be static.
526
5272000-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
528
529 * rip_interface.c: Change to "no ip rip (send|receive)" command
530 accept version number argument.
531
5322000-10-17 Akihiro Mizutani <mizutani@dml.com>
533
534 * rip_routemap.c (route_set_ip_nexthop_compile): Change "match ip
535 next-hop" from IP address to access-list name.
536
5372000-10-17 Kunihiro Ishiguro <kunihiro@zebra.org>
538
539 * rip_peer.c: Change ot use linklist.c instaed of newlist.c.
540
5412000-10-16 Kunihiro Ishiguro <kunihiro@zebra.org>
542
543 * rip_offset.c: Change to use linklist.c instead of newlist.c.
544
5452000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
546
547 * zebra-0.89 is released.
548
5492000-09-26 Akihiro Mizutani <mizutani@dml.com>
550
551 * rip_routemap.c (match_ip_nexthop): Add next-hop format check.
552
5532000-09-18 David Lipovkov <dlipovkov@OpticalAccess.com>
554
555 * rip_interface.c (ripd_api_get_if_rx_version): Corrects rip SNMP
556 and rip API functions dealing with rip version.
557
558 * rip_snmp.c (Status_Valid): SNMPv2-TC TEXTUAL-CONVENTION.
559
5602000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
561
562 * rip_snmp.c (rip2IfLookup): Use rip_ifaddr_lookup_next() instead
563 of rip_if_lookup_next().
564
565 * rip_interface.c (rip_enable_network_lookup): Interface enable
566 check by interface's address with /32 prefix.
567
568 * ripd.c (rip_read): When RIP is configured with authentication
569 and no authentication in incoming packet, drop the packet.
570
571 * rip_interface.c (rip_interface_reset): RIP_AUTH_SIMPLE_PASSWORD
572 is default mode of authentication.
573 (rip_interface_new): Likewise.
574 (no_ip_rip_authentication_mode): Likewise.
575
576 * ripd.c (rip_read): Likewise.
577
5782000-09-10 David Lipovkov <davidl@nbase.co.il>
579
580 * rip_snmp.c: Set ASN_INTEGER v->type where it is needed.
581
5822000-09-08 Kunihiro Ishiguro <kunihiro@zebra.org>
583
584 * ripd.c (rip_auth_simple_password): Simple password
585 authentication using key-chain.
586 (rip_write_rte): Likewise.
587
588 * rip_interface.c (ip_rip_authentication_key_chain): Add check for
589 authentication string configuration.
590
5912000-09-08 Akihiro Mizutani <mizutani@dml.com>
592
593 * ripd.c (rip_write_rte): Add check for ri->auth_str.
594
5952000-09-07 Kunihiro Ishiguro <kunihiro@zebra.org>
596
597 * ripd_api.h: New file is added.
598
5992000-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
600
601 * ripd.c (rip_rte_process): rip_route_process() is renamed to
602 rip_rte_process() to clarify meanings of the function.
603 rip_route_process() is newly added to process RIP route selection.
604
6052000-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
606
607 * ripd.c (rip_incoming_filter): Extract incoming filter code to
608 function from rip_route_process(). Add check for all interface
609 filter.
610 (rip_outgoing_filter): Extract incoming filter code to function
611 from rip_output_process(). Add check for all interface filter.
612
613 * rip_zebra.c (rip_redistribute_clean): Reset redistribute status
614 when "no router rip" is performed.
615
616 * rip_interface.c (rip_interface_clean): Reset interface's RIP
617 enable status.
618
6192000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
620
621 * ripd.c (rip_route_process): When metric infinity is received the
622 route is removed from service immediately.
623 (rip_timeout): Likewise.
624 (rip_garbage_collect): Do not delete route in garbage collection.
625 (rip_output_process): Check metric_out exceed metric infinity.
626
627 * zebra-0.88 is released.
628
6292000-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
630
631 * ripd.c (rip_distance_apply): Unlock node when there is matched
632 node.
633
6342000-08-13 Akihiro Mizutani <mizutani@dml.com>
635
636 * rip_routemap.c (match_ip_nexthop): Add check for IP address
637 validness.
638 (no_set_metric): Add new ALIAS.
639
6402000-08-07 Kunihiro Ishiguro <kunihiro@zebra.org>
641
642 * ripd.h (struct rip ): Add distance.
643
6442000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
645
646 * rip_zebra.c (rip_zebra_ipv4_add): Use new Zebra api to register
647 routes. Pass RIP metric value to zebra.
648
6492000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
650
651 * rip_main.c (main): Make struct thread thread from global
652 variable to local variable in main.
653
6542000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
655
656 * ripd.c (rip_packet_dump): Add MD5 authentication dump function.
657 (rip_auth_md5): RIP MD5 authentication packet receive works.
658
6592000-08-02 David Lipovkov <davidl@nbase.co.il>
660
661 * rip_interface.c (rip_if_init): Install interface "pseudo"
662 commands.
663 (rip_interface_delete): Do not call if_delete() when interface is
664 pseudo interface.
665
6662000-07-31 Kunihiro Ishiguro <kunihiro@zebra.org>
667
668 * rip_interface.c (ip_rip_authentication_mode): "ip rip
669 authentication mode (md5|text)" is added.
670 (ip_rip_authentication_key_chain): "ip rip authentication
671 key-chain KEY-CHAIN" is added.
672 (rip_interface_clean): Clean all interface configuration.
673 (rip_interface_reset): Reset all interface configuration.
674 (rip_clean_network): Clean rip_enable_network.
675
676 * ripd.h (struct rip_interface): Add key_chain member.
677
678 * ripd.c: Include md5-gnu.h.
679
6802000-07-30 Kunihiro Ishiguro <kunihiro@zebra.org>
681
682 * ripd.h (RIP_NO_AUTH): Change RIP_NO_AUTH value from 1 to 0.
683
684 * ripd.c (rip_authentication): Use RIP_AUTH_SIMPLE_PASSWORD
685 instead of raw value 2.
686 (rip_write_rte): Likewise.
687 (rip_write_rte): Check ri->auth_type instead of ri->auth_str.
688
6892000-07-30 David Lipovkov <davidl@nbase.co.il>
690
691 * rip_interface.c (rip_if_down): Do not delete ZEBRA_ROUTE_KERNEL
692 route.
693
6942000-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
695
696 * ripd.c (rip_update_process): Add "passive-interface" command.
697
698 * ripd.h (struct rip_interface): Add passive member to struct
699 rip_interface.
700
7012000-07-24 Kunihiro Ishiguro <kunihiro@zebra.org>
702
703 * rip_interface.c (rip_if_init): Multiple RIP routes for one
704 prefix change. The codes are enclosed by #ifdef NEW_RIP_TABLE.
705
7062000-07-24 Akihiro Mizutani <mizutani@dml.com>
707
708 * rip_interface.c (rip_if_init): Use install_default() for
709 INTERFACE_NODE.
710
7112000-07-24 Kunihiro Ishiguro <kunihiro@zebra.org>
712
713 * ripd.c: First update timer will be invoked in two seconds.
714
7152000-07-09 Jochen Friedrich <jochen@scram.de>
716
717 * rip_snmp.c: Local function definitions to static. Add INTEGER
718 ASN_INTEGER and TIMETICKS ASN_TIMETICKS definition.
719 (rip2PeerLookup): Peer with domain lookup implemented.
720 (rip2PeerTable): Temporary disable RIP2PEERLASTUPDATE value
721 support due to unknown SNMP agent startup time.
722
7232000-07-05 Kunihiro Ishiguro <kunihiro@zebra.org>
724
725 * ripd.h: Sweep obsolete definitions.
726
727 * rip_interface.c (rip_split_horizon): Add "ip split-horizon"
728 command.
729
730 * ripd.c (rip_output_process): Remove split_horizon argument.
731 (rip_update_process): Likewise.
732
733 * ripd.h (struct rip_interface): Add split_horizon flag to struct
734 rip_interface.
735
7362000-07-04 Akihiro Mizutani <mizutani@dml.com>
737
738 * ripd.c (rip_version): Change VERSION to <1-2>.
739 Add "no version" command.
740
7412000-07-03 Kunihiro Ishiguro <kunihiro@zebra.org>
742
743 * rip_zebra.c (rip_redistribute_type_metric): "redistribute TYPE
744 metric <0-16>" command is added.
745
746 * rip_routemap.c (route_set_metric): Set metric_set when metric is
747 modified.
748
749 * ripd.h (struct rip_info): To check route-map set metric or not,
750 new member metric_set is added to struct rip_info.
751
752 * ripd.c (rip_route_process): Move metric handling code from
753 rip_response_process() to rip_route_process().
754 (rip_output_process): Set output offset-list metric.
755
7562000-07-02 Kunihiro Ishiguro <kunihiro@zebra.org>
757
758 * rip_offset.c (rip_offset_list): New file for offset-list.
759
7602000-07-02 Akihiro Mizutani <mizutani@dml.com>
761
762 * ripd.h (struct rip ): Add default_metric.
763
764 * ripd.c (rip_default_metric): "default-metric <1-16>" command is
765 added.
766 (config_write_rip): Change configuration order.
767
768 * rip_zebra.c: Fix help strings.
769
7702000-07-02 David Lipovkov <davidl@nbase.co.il>
771
772 * rip_interface.c (rip_if_init): Add IF_DELETE_HOOK.
773
7742000-07-01 Kunihiro Ishiguro <kunihiro@zebra.org>
775
776 * ripd.c (rip_output_process): If specified route-map does not
777 exist, it treated as deny all.
778
7792000-06-30 Kunihiro Ishiguro <kunihiro@zebra.org>
780
781 * rip_routemap.c (rip_route_map_init): Call rip_route_map_update
782 when route-map is deleted.
783
7842000-06-28 Kunihiro Ishiguro <kunihiro@zebra.org>
785
786 * rip_routemap.c (set_metric): For consistency with bgpd's set
787 metric, value range is set to <0-4294967295>.
788
7892000-06-28 David Lipovkov <davidl@nbase.co.il>
790
791 * rip_routemap.c (rip_route_map_update): Add check for rip is
792 enabled or not for avoid core dump.
793
794 * rip_debug.c (debug_rip_packet_direct): Fix bug of setting
795 rip_debug_packet flag.
796
7972000-06-13 David Lipovkov <davidl@nbase.co.il>
798
799 * rip_interface.c (rip_interface_delete): All work is done in
800 rip_if_down().
801
8022000-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
803
804 * ripd.c (rip_redistribute_delete): Fix bug of missing
805 route_unlock_node() when redistribute route is not found.
806
8072000-06-05 Akihirof Mizutani <mizutani@dml.com>
808
809 * rip_debug.c (rip_debug_init): Disable show debugging in
810 VIEW_NODE like other protocol daemon.
811
812 * rip_routemap.c: Change command argument to more comprehensive.
813
814 METRIC -> <0-16>
815 IFNAME -> WORD
816 IP_ADDR -> A.B.C.D
817 ACCSESS_LIST -> WORD
818
8192000-06-05 David Lipovkov <davidl@nbase.co.il>
820
821 * rip_interface.c (rip_interface_delete): Delete all routes
822 include static and kernel through the interface , because even if
823 the interface is added again there is no guarantee that it will
824 get the same ifindex as before.
825
8262000-05-31 Akihirof Mizutani <mizutani@dml.com>
827
828 * rip_debug.c: Fix rip debug help string.
829
8302000-04-27 Mirko Karanovic <mkaranov@torsel.alcatel.com>
831
832 * rip_interface.c (rip_interface_down): Remove interface from
833 multicast group when interface goes down.
834
8352000-04-03 David Lipovkov <davidl@nbase.co.il>
836
837 * rip_interface.c (rip_interface_down): Implemented rip functions
838 for interface up/down events: rip_interface_up() and
839 rip_interface_down()
840
8412000-03-16 David Lipovkov <davidl@nbase.co.il>
842
843 * rip_zebra.c (rip_zclient_init): Added rip functions for
844 interface up/down events.
845
8462000-02-15 Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
847
848 * ripd.c (rip_write_rte): "set metic" in route-map has no effect
849 for RIPv1 in ripd. It worked fine for RIPv2.
850
8512000-01-17 Kunihiro Ishiguro <kunihiro@zebra.org>
852
853 * ripd.c (show_ip_protocols_rip): Fix bug of "show ip protocls"
854 mis-display RIP version.
855
856 * ripd.h (struct rip_peer): Add timeout thread to rip_peer
857 structure.
858
8592000-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
860
861 * rip_peer.c: Add new file for supporting RIP peer.
862
8631999-12-26 David Lipovkov <davidl@nbase.co.il>
864
865 * ripd.c (rip_authentication): RIP authantication string is 16
866 bytes long.
867
8681999-12-10 Kunihiro Ishiguro <kunihiro@zebra.org>
869
870 * ripd.c (rip_read): Add check for minimum packet length.
871 Authentication check is moved from rip_process_response() to
872 rip_read(). Patch from David Lipovkov <davidl@nbase.co.il> is
873 applied then add rte number check by Kunihiro Ishiguro
874 <kunihiro@zebra.org>.
875
8761999-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
877
878 * ripd.c (rip_response_process): In case of packet is RIPv2 and
879 network is non zero and netmask is zero, apply netmask rule as
880 same as RIPv1.
881
8821999-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
883
884 * ripd.c (rip_timers): Fix bug of timers basic argument format.
885
8861999-11-03 Kunihiro Ishiguro <kunihiro@zebra.org>
887
888 * rip_snmp.c (rip2IfConfAddress): Forgot to include
889 RIP2IFCONFDOMAIN.
890
8911999-10-28 Kunihiro Ishiguro <kunihiro@zebra.org>
892
893 * ripd.h (struct rip_peer): New structure added.
894
8951999-10-26 Kunihiro Ishiguro <kunihiro@zebra.org>
896
897 * rip_zebra.c (rip_zebra_ipv4_add): Increment
898 rip_global_route_changes when route change occur.
899 (rip_zebra_ipv4_delete): Likewise.
900
901 * ripd.c (rip_request_process): Increment rip_global_queries when
902 reply to the query is sent.
903
9041999-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
905
906 * rip_debug.c (rip_debug_reset): Reset function added.
907
908 * ripd.c (rip_update_process): Logging bug is fixed.
909
9101999-10-10 Marc Boucher <marc@mbsi.ca>
911
912 * ripd.c (config_write_rip): Add config_write_distribute() call.
913
9141999-09-29 Kunihiro Ishiguro <kunihiro@zebra.org>
915
916 * ripd.c (rip_distribute_update): Fix bug of access-list
917 prefix-list updates.
918
9191999-09-10 VOP <vop@unity.net>
920
921 * rip_zebra.c: Add redistribute route-map feature.
922
9231999-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
924
925 * ripd.c (rip_response_process): Add check for given prefix is
926 given mask applied one.
927
9281999-09-03 VOP <vop@unity.net>
929
930 * rip_interface.c (rip_interface_multicast_set): Bug fix about
931 setting multicast interface.
932
9331999-09-02 VOP <vop@unity.net>
934
935 * rip_routemap.c: New file added.
936
9371999-09-02 Kunihiro Ishiguro <kunihiro@zebra.org>
938
939 * ripd.c (show_ip_protocols_rip): Show next update time.
940 (show_ip_protocols_rip): Show redistribute information.
941
9421999-08-25 Kunihiro Ishiguro <kunihiro@zebra.org>
943
944 * RIPv2-MIB.txt: New file added.
945
946 * rip_snmp.c: New file added.
947
9481999-08-24 Kunihiro Ishiguro <kunihiro@zebra.org>
949
950 * rip_interface.c (ip_rip_authentication_string): RIPv2
951 authentication command is added.
952
9531999-08-23 Kunihiro Ishiguro <kunihiro@zebra.org>
954
955 * rip_interface.c (rip_interface_multicast_set): Process of
956 setting IP_MULTICAST_IF on specific interface.
957
958 * ripd.c (rip_read): Add packet size check.
959
9601999-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
961
962 * ripd.c (rip_request_process): Fill in RIP_METRIC_INFINITY with
963 network byte order using htonl ().
964 (rip_response_process): Pass host byte order address to IN_CLASSC
965 and IN_CLASSB macro.
966
9671999-08-08 davidm@nbase.co.il (David Mozes)
968
969 * rip_zebra.c (rip_zebra_read_ipv4): Fix split horizon problem.
970
9711999-07-03 Kunihiro Ishiguro <kunihiro@zebra.org>
972
973 * ripd.c (rip_timer_set): Function added.
974
9751999-07-01 Kunihiro Ishiguro <kunihiro@zebra.org>
976
977 * rip_debug.c: New file added.
978 rip_debug.h: New file added.
979
9801999-07-01 Rick Payne <rickp@rossfell.co.uk>
981
982 * rip_zebra.c (zebra_init): Install standard commands to
983 ZEBRA_NODE.
984
9851999-06-01 David Luyer <luyer@ucs.uwa.edu.au>
986
987 * ripd.c (rip_process_route): Add support for RIP version 1.
988
9891999-05-29 Kunihiro Ishiguro <kunihiro@zebra.org>
990
991 * rip_zebra.c: Change to use lib/zclient.[ch].
992
9931999-05-20 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
994
995 * ripd.c (rip_add_route): Change the existance route's metric check
996 to the condition specified by RFC2453.
997
9981999-05-17 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
999
1000 * ripd.c (rip_process_route): Add the if metric to the route metric.
1001
1002 * ripd.c (rip_add_route): Deleted add if metric to the route.
1003
10041999-05-16 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
1005
1006 * rip_interface.c (if_valid_neighbor): New function.
1007
1008 * ripd.c (rip_process_route): Added check whether the datagram
1009 is from a valid neighbor.
1010
10111999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1012
1013 * ripd.c (rip_process_route): Set interface pointer to rinfo.
1014
10151999-05-15 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
1016
1017 * ripd.c (rip_check_address): Unicast and not net 0 or 127 check
1018 added.
1019
10201999-05-14 Stephen R. van den Berg <srb@cuci.nl>
1021
1022 * rip_main.c (signal_init): SIGTERM call sigint.
1023 (sigint): Loggging more better message.
1024
10251999-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1026
1027 * ripd.c (rip_add_route): Fix previous route_unlock_node() chenge.
1028
1029 * rip_main.c (main): Change default zlog output to ZLOG_STDOUT for
1030 debugging.
1031
10321999-05-09 Patrick Koppen <koppen@rhrk.uni-kl.de>
1033
1034 * rip_interface.c (rip_request): Fix old semantics for fetching
1035 connected address.
1036
1037 * ripd.c (rip_add_route): Update timer when the route is updated.
1038
10391999-05-09 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
1040
1041 * rip_zebra.c (struct zebra): Add ridist_static, ridist_connect,
1042 redist_rip, redist_ripng.
1043
1044 * rip_zebra.c (zebra_create): Updated for current zebra method.
1045
1046 * ripd.c (rip_add_route): Add missing route_unlock_node().
1047
10481999-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1049
1050 * ripd.c (rip_add_route): Add metric check. Reported by Carlos
1051 Alberto Barcenilla <barce@frlp.utn.edu.ar>.
1052
10531999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
1054
1055 * syslog support added
1056
10571998-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1058
1059 * ripd.c (rip_announce_func): Apply new lib functions.
1060
10611998-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1062
1063 * ripd.c (config_write_rip): Delete vector v argument.
1064 * rip_zebra.c (config_write_zebra): Likewise.
1065 * rip_interface.c (interface_config_write): Likewise.
1066
10671998-09-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1068
1069 * rip_announce.c (rip_rib_close): When ripd terminates delete all
1070 added route.
1071
10721998-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1073
1074 * rip_interface.c: return read packet size.
1075
10761998-05-18 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1077
1078 * ripd.h: Modify for compile on Solaris.
1079
10801998-05-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1081
1082 * ripd.c: DEFUN function return CMD_SUCCESS.
1083 change xmalloc to XMALLOC macro.
1084
10851998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1086
1087 * rip_main.c: change CONFDIR to SYSCONFDIR.
1088
10891998-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1090
1091 * .cvsignore: added.
1092
10931998-02-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1094
1095 * rip_interface.c (config_write_interface): correct ADVERTISE spell.
1096
1097 * rip_main.c (main): add usage() and make cleanup.
1098
10991998-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1100
1101 * ripd.c (rip_version): add rip version command.
1102
11031998-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1104
1105 * rip_interface.c (zebra_get_interface): added to get
1106 interface's information.
1107
1108 * ChangeLog: create.