blob: 4bdc8de98f5e9491480d0529cc4934f48888d267 [file] [log] [blame]
paula4e987e2005-06-03 17:46:49 +000012005-06-03 Paul Jakma <paul.jakma@sun.com>
2
3 * ripd.c: (rip_create_socket) move it up so rip_send_packet
paulf69bd9d2005-06-03 18:01:50 +00004 can use it too. Make it static. Remove the getservbyname stuff,
5 as RFC2453 3.9.2 says non-RIP port messages should be discarded,
6 quagga doesnt accept them, no need to lookup port.
7 Take a 'to' argument, if socket should be bound to something else.
8 setsockopt_so_recvbuf might need privs, move it to the raised
9 privileges section.
10 dont forget to close the socket if bind fails.
11 (rip_send_packet) use strncpy, just in case (address is under
12 our control anyway, but still).
13 dont duplicate rip_create_socket - just use it.
14 (rip_create) rip_create_socket takes an argument now, modify.
15
paul7755a8c2005-06-02 08:20:53 +0000162005-06-01 Paul Jakma <paul.jakma@sun.com>
17
18 * rip_interface.c: Fix authentication, no-auth impossible to specify
19 (rip_interface_new) default to RIP_NO_AUTH
20 (rip_interface_reset) ditto
21 (rip_interface_config_write) write out config for simple
22
paul0cb8a012005-05-29 11:27:24 +0000232005-05-29 Paul Jakma <paul@dishone.st>
24
25 * ripd.c: (rip_output_process) fix error which crept in my
26 previous rip auth untanglement commit - it had become impossible
27 to not have authentication (even for v1).
28
hasso033e8612005-05-28 04:50:54 +0000292005-05-28 Hasso Tepper <hasso at quagga.net>
30
31 * rip_routemap.c: Fix set_metric_addsub_cmd help, it's not about BGP
32 metric.
33
hassocf96db12005-05-25 21:15:32 +0000342005-05-26 Hasso Tepper <hasso at quagga.net>
35
hassodc625e82005-05-26 06:26:40 +000036 * rip_routemap.c: In case of '0.0.0.0' used as 'nexthop', use sender
37 address as nexthop in routemap.
38
392005-05-26 Hasso Tepper <hasso at quagga.net>
40
hassocf96db12005-05-25 21:15:32 +000041 * rip_routemap.c: Make "match interface" routemap command match both -
42 in and out interfaces.
43
ajsd4e47282005-05-11 15:56:21 +0000442005-05-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
45
46 * rip_interface.c (rip_interface_add): Need to call
47 rip_passive_interface_apply (was already calling it in
48 rip_interface_up).
49
ajs634f9ea2005-04-11 15:51:40 +0000502005-04-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
51
52 * rip_zebra.c (rip_redistribute_set, rip_redistribute_unset,
53 rip_redistribute_clean): Change 2nd arg to zebra_redistribute_send
54 from zclient->sock to zclient.
55
ajsd2fc8892005-04-02 18:38:43 +0000562005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
57
58 * rip_interface.c: (rip_interface_delete) After deleting, set
59 ifp->ifindex to IFINDEX_INTERNAL.
60
paulb14ee002005-02-04 23:42:41 +0000612005-02-04 Paul Jakma <paul@dishone.st>
62
63 * ripd.c: Untangle the construction of RIP auth data.
64 (rip_auth_prepare_str_send) new helper function, prepare
65 correct key string.
66 (rip_auth_simple_write) new helper, write out the
67 rip simple password auth psuedo-RTE.
68 (rip_auth_md5_ah_write) new helper, write out the
69 MD5 auth-header psuedo-RTE.
70 (rip_auth_header_write) new helper, write out correct
71 auth header data / psuedo-RTE.
72 (rip_auth_md5_set) rip out the memmove and writing of the
73 auth header psuedo-RTE. So that all that is left is to
74 write the trailing auth digest, and update digest offset
75 field in the original header.
76 (rip_write_rte) rip out writing of RIP header, writing of
77 simple auth data psuedo-RTE. Make it do what its name suggests,
78 write out actual RTEs.
79 (rip_output_process) remove the incorrect additional decrements
80 of rtemax. Prepare the auth_str, which simple or MD5 auth will
81 need. Move write out of RIP header and auth data to inside the
82 loop. Adjust paramaters as required.
83
ajs79853452005-01-30 17:40:29 +0000842005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
85
ajs6a52d0d2005-01-30 18:49:28 +000086 * ripd.c: (rip_create_socket) Replace perror with zlog_err.
87
882005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
89
ajs79853452005-01-30 17:40:29 +000090 * ripd.c: (rip_create_socket) Save errno before calling
91 ripd_privs.change.
92
ajsb99760a2005-01-04 16:24:43 +0000932005-01-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
94
95 * ripd.c: (rip_recvmsg) Use ZCMSG_FIRSTHDR instead of CMSG_FIRSTHDR.
96
ajs766a0ca2004-12-15 14:55:51 +0000972004-12-15 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
98
99 * ripd.c: (rip_read) Improve 2 error messages to show the source of
100 the packet when the lookup fails.
101
ajs5d6c3772004-12-08 19:24:06 +00001022004-12-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
103
104 * *.c: Change level of debug messages to LOG_DEBUG.
105
ajs274a4a42004-12-07 15:39:31 +00001062004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
107
108 * rip_main.c: (main) The 2nd argument to openzlog has been removed.
109
ajs887c44a2004-12-03 16:36:46 +00001102004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
111
112 * rip_main.c: (sigint) Use zlog_notice for termination message.
113 (main) Add a startup announcement using zlog_notice.
114
hassoc0652302004-11-25 19:33:48 +00001152004-11-25 Hasso Tepper <hasso at quagga.net>
116
117 * rip_main.c: Make group to run as configurable.
118
paulc49ad8f2004-10-22 10:27:28 +00001192004-10-22 Paul Jakma <paul@dishone.st>
120
121 * ripd.c: Collapse redundant passing of various address structs,
122 struct interface and struct connected as arguments to functions
123 down to two key arguments, namely struct connected and, possibly,
124 address of source/destination. Testing for RIPv1 would be useful.
125 (rip_read) lookup struct connected for the received packet, pass
126 it on.
127 * rip_interface.c: With previous changes, we no longer have to tread
128 carefully with struct connected, as it will always be there and
129 valid.
130
hasso3fb9cd62004-10-19 19:44:43 +00001312004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
132
133 * ripd.c: (rip_update_interface) if connected->destination is NULL,
134 get the broadcast address with ipv4_broadcast_addr()
135 * rip_interface.c: (rip_interface_multicast_set)
136 connected->destination may be NULL. Improve message if
137 setsockopt_multicast_ipv4 fails. Improve message if bind fails.
138 (rip_request_interface_send) If connected->destination is NULL,
139 get the broadcast address with ipv4_broadcast_addr().
140 (if_valid_neighbor) Handle PtP subnet addressing properly.
141 Speed up code by using prefix_match properly.
142
hassoc75105a2004-10-13 10:33:26 +00001432004-10-13 Hasso Tepper <hasso at quagga.net>
144
145 * ripd_snmp.c: Remove defaults used to initialize smux connection to
146 snmpd. Connection is initialized only if smux peer is configured.
147
hasso98b718a2004-10-11 12:57:57 +00001482004-10-11 Hasso Tepper <hasso at quagga.net>
149
150 * *.c: Make more strings const.
151
hasso8a676be2004-10-08 06:36:38 +00001522004-10-08 Hasso Tepper <hasso at quagga.net>
153
154 * *.c: Fix compiler warnings: make strings const, signed -> unsigned
155 etc.
156
hasso1af81932004-09-26 16:11:14 +00001572004-09-26 Hasso Tepper <hasso at quagga.net>
158
159 * ripd.c: Fix compiler warning.
160
hasso52dc7ee2004-09-23 19:18:23 +00001612004-09-23 Hasso Tepper <hasso at quagga.net>
162
163 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
164
paul0b3acf42004-09-17 08:39:08 +00001652004-09-17 Paul Jakma <paul@dishone.st>
166
167 * ripd.c: set receive buffer to a decent size, some systems have low
168 defaults. Problem noted and fix suggested by Stephan Schweizer
169 in [zebra 20967].
170
paul1a517862004-08-19 04:03:08 +00001712004-08-19 Paul Jakma <paul@dishone.st>
172
173 * rip_interface.c: (rip_interface_multicast_set) get rid
174 of extraneous if_pointopoint arg. ifp is accessible via connected.
175 pass connected->ifp->ifindex to setsockopt_multicast_ipv4.
176 * ripd.c: (rip_send_packet) update call to
177 rip_interface_multicast_set
178 * ripd.h: update rip_interface_multicast_set prototype
179
paul02ff83c2004-06-11 11:27:03 +00001802004-06-11 Sowmini Varadhan <sowmini.varadhan@sun.com>
181
182 * ripd.c: (rip_distribute_update_all) distribute list hook
183 function pointer prototype requires struct prefix_list * arg.
184 (rip_distribute_update_all_wrapper) update to pass required arg,
185 NULL.
186
paulca5e5162004-06-06 22:06:33 +00001872004-06-06 Paul Jakma <paul.jakma@sun.com>
188
189 * ripd.h: Add define for the RIPv2 Authentication Data family
190 Move the auth type defines up to where other defines live.
191 Add RIP_AUTH_MD5_COMPAT_SIZE, for backwards compatible
192 md5->auth_len size. Add md5_auth_len field to struct
193 rip_interface: (rip_interface_new) Init md5_auth_len to compatible
194 size.
195 (ip_rip_authentication_mode_cmd) Extended to handle setting
196 md5 auth-length. Appropriate aliases added.
197 (no_ip_rip_authentication_mode_cmd) Reset md5_auth_len to
198 compatible size.
199 (rip_interface_config_write) Teach it about md5_auth_len.
200 _always_ write out the auth-length, so that everyone will get
201 the setting in their config file, and hence allow for a future
202 change of default for md5_auth_len to be less painful - every md5
203 user will have this setting in their config file.
204 ripd.c: (rip_packet_dump) Change nasty hard coded constants to
205 symbolic defines. Change various tests of 'ntoh.(variable) ==
206 constant' to test 'variable == ntoh.(constant)'. Clean up
207 indentation on some long lines.
208 (rip_auth_simple_password) ditto.
209 (rip_auth_md5) ditto, also add length argument and sanity check
210 md5 data offset field. Sanity check md5 auth length, accept RFC
211 or old-ripd/cisco lengths.
212 (rip_auth_md5_set) as per (rip_packet_dump), also write out
213 the configured md5 auth length for the interface (old-ripd or rfc)
214 (rip_read) as per (rip_packet_dump)
215 (rip_write_rte) ditto
216 (rip_response_process) ditto
217 (rip_write_rte) ditto
218
paulc2bfbcc2004-06-04 01:42:38 +00002192004-06-04 JJ Ludman <jacques.ludman@sun.com>
220
221 * ripd.c: Interoperability fix. Correct value for MD5 auth length
222 is 16. Accept packets with this set to >= 16, and set to 16
223 ourselves.
224
paul11dde9c2004-05-31 14:00:00 +00002252004-05-31 Sowmini Varadhan <sowmini.varadhan@sun.com>
226
227 * ripd.c: Fixup compile warnings
228 * rip_routemap.c: Ditto
229
paul0a589352004-05-08 11:48:26 +00002302004-05-08 Paul Jakma <paul@dishone.st>
231
232 * rip_zebra.c: sync with zclient changes.
233 * rip_interface.c: ditto.
234
paul239389b2004-05-05 14:09:37 +00002352004-05-05 Anthony.Golia@morganstanley.com
236
237 * ripd.c: (rip_update_jitter) Bound jitter to a more sensible
238 value, eg 1/4 of update time.
239
paula87552c2004-05-03 20:00:17 +00002402004-05-03 Paul Jakma <paul@dishone.st>
241
242 * ripd.c: (rip_rte_process) fix typo in merge of previous patch
243 and run function through indent.
244
paulb94f9db2004-05-01 20:45:38 +00002452004-03-19 Jean-Yves Simon <lethalwp@tiscali.be>
246
paula87552c2004-05-03 20:00:17 +0000247 * ripd.c: (rip_rte_process) make ripd also check on
248 administrative distance of his own links to update routes.
paulb94f9db2004-05-01 20:45:38 +0000249
hassoda9c9a22004-03-18 02:40:55 +00002502004-03-18 sowmini.varadhan@sun.com
251
252 * ripd.c: rip_send_packet can get null connected address when
253 called in response to a unicast rip-request. Handle correctly.
254
hassoa1455d82004-03-03 19:36:24 +00002552004-03-03 Krzysztof Oledzki <oleq@ans.pl>
256
hassocaa6f8a2004-03-03 19:48:48 +0000257 * ripd.c: fix "show ip rip" and per interface rip version selection.
hassoa1455d82004-03-03 19:36:24 +0000258
paul931cd542004-01-23 15:31:42 +00002592004-01-23 sowmini.varadhan@sun.com
260
261 * rip_interface.c: obsolete unbind code in
262 rip_interface_multicast_set, and instead do the more portable
263 (though slower) method of creating a socket for each outgoing packet
264 and binding the source address on the new socket.
265 * rip_interface.c, ripd.c, ripd.h: Modify rip_request_send so that
266 source address is determined by the caller of rip_request_send for
267 ripv1 packets and non-multicast interfaces (rip_request_send loops
268 over all connected address in all other cases).
269 * rip_send_packet: don't send packets with source set to
270 ZEBRA_IFA_SECONDARY connected addresses; improved debug messages;
271
paulf38a4712003-06-07 01:10:00 +00002722003-06-07 Andrew J. Schorr <aschorr@telemetry-investments.com>
273
274 * Allow ripd to receive RIPv1
275 * add default as valid param to passive-interface command
276
hasso16705132003-05-25 14:49:19 +00002772003-05-25 Vincent Jardin <vjardin@wanadoo.fr>
278
paulf38a4712003-06-07 01:10:00 +0000279 * 6Wind patch merge.
hasso16705132003-05-25 14:49:19 +0000280
paul445f1432003-05-16 19:00:31 +00002812003-04-19 Hasso Tepper <hasso@estpak.ee>
282
283 * rip_routemap.c: sync daemon's route-map commands to have same
284 syntax
285
paul718e3742002-12-13 20:15:29 +00002862002-07-07 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
287
288 * zebra-0.93 released.
289
2902002-06-30 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
291
292 * ripd.c (rip_output_process): When outgoing interface is same as
293 next hop interface, announce RIPv2 next hop otherwise set next hop
294 to 0. Revert previous change then take 6WIND way.
295
2962001-09-14 Akihiro Mizutani <mizutani@dml.com>
297
298 * ripd.c: RIP enabled interface's route is advertised by default.
299
3002001-08-28 NOGUCHI Kay <kay@v6.access.co.jp>
301
302 * rip_snmp.c (rip_ifaddr_delete): Add route_node_lookup() return
303 value check.
304
305 * rip_interface.c (rip_multicast_leave): Fix bug of multiple IP
306 address on one interface multicast join/leave bug.
307
3082001-08-26 NOGUCHI Kay <kay@v6.access.co.jp>
309
310 * rip_interface.c (no_rip_passive_interface): Add NO_STR.
311
3122001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
313
314 * zebra-0.92a released.
315
3162001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
317
318 * zebra-0.92 released.
319
3202001-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
321
322 * rip_routemap.c (route_match_ip_address_prefix_list): Add match
323 ip next-hop prefix-list WORD.
324
3252001-02-18 Kunihiro Ishiguro <kunihiro@zebra.org>
326
327 * rip_interface.c (rip_passive_interface_clean): Call
328 rip_passive_interface_apply_all.
329
3302001-02-12 Kunihiro Ishiguro <kunihiro@zebra.org>
331
332 * ripd.c (rip_response_process): Multicast address nexthop check
333 is moved from rip_nexthop_check.
334
3352001-02-08 Matthew Grant <grantma@anathoth.gen.nz>
336
337 * rip_interface.c (ipv4_multicast_join): Use
338 setsockopt_multicast_ipv4.
339 (ipv4_multicast_leave): Likewise.
340 (rip_if_ipv4_address_check): Interface which has IPv4 address can
341 be enabled.
342
3432001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
344
345 * rip_interface.c (rip_interface_delete): To support pseudo
346 interface do not free interface structure.
347 * ripd.c (rip_output_process): If output interface is in simple
348 password authentication mode, we need space for authentication
349 data.
350
3512001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
352
353 * ripd.c (rip_nexthop_check): Fix multicast address nexthop check.
354
355 * zebra-0.91 is released.
356
3572001-01-27 Kunihiro Ishiguro <kunihiro@zebra.org>
358
359 * ripd.c (show_ip_rip): Show metric infinity route's timeout.
360 (rip_rte_process): If current route is metric infinity, route is
361 replaced with received rte.
362 (rip_redistribute_delete): When redistribute route is deleted,
363 perform poisoned reverse.
364 (rip_redistribute_withdraw): Likewise.
365
3662001-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
367
368 * ripd.c (rip_response_process): RIPv2 routing table entry with
369 non directly reachable nexthop was dropped. The code is changed
370 to treat it as 0.0.0.0 nexthop.
371 (rip_destination_check): Check net 0 address destination.
372 (rip_nexthop_check): New function for checking nexthop address
373 validity.
374
3752001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
376
377 * ripd.c (rip_request_process): Triggered update only send changed
378 route.
379
380 * rip_interface.c: Delete RIP_API part until new implementation
381 comes out.
382
383 * rip_snmp.: Likewise.
384
385 * rip_zebra.c: Likewise.
386
387 * ripd.c: Likewise.
388
3892001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
390
391 * rip_interface.c (rip_if_init): Remove HAVE_IF_PSEUDO part.
392
3932001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
394
395 * zebra-0.90 is released.
396
3972001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
398
399 * ripd.h (RIP_VTYSH_PATH): Change "/tmp/ripd" to "/tmp/.ripd".
400
4012000-12-25 David Lipovkov <davidl@nbase.co.il>
402
403 * ripd.c (rip_rte_process): When a route is in garbage collection
404 process (invalid with metric 16) and a router receives the same
405 route with valid metric then route was not installed into zebra
406 rib, but only into ripd rib. Moreover , it will never get into
407 zebra rib, because ripd wrongly assumes it's already there.
408 (rip_redistribute_add): When doing redistribute into rip other
409 route (e.g. connected) and the same route exists in ripd rib we
410 changed it in place - bug. Now we don't forget to remove old route
411 from zebra.
412 (rip_timeout): When removing routes from zebra I made sure that we
413 remove route with the metric we have in zebra and not the new
414 one. It doesn't make a difference now,but could be significant
415 when multipath support is done.
416
4172000-12-25 David Lipovkov <davidl@nbase.co.il>
418
419 * rip_zebra.c (rip_metric_unset): Fix bug of metric value unset.
420
4212000-11-25 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
422
423 * ripd.c (rip_request_process): Check passive flag of the
424 interface.
425
4262000-11-23 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
427
428 * rip_interface.c (rip_multicast_join): When IP_ADD_MEMBERSHIP
429 failed do not set runnning flag to the interface.
430
4312000-11-16 Kunihiro Ishiguro <kunihiro@zebra.org>
432
433 * ripd.c (rip_output_process): Memory leak related classfull
434 network generation is fixed.
435
4362000-11-16 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
437
438 * rip_interface.c (if_check_address): Obsolete pointopoint address
439 check is removed.
440
4412000-11-02 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
442
443 * rip_interface.c (if_check_address): Add pointopoint address
444 check.
445 (rip_interface_up): Add check for passive interface when interface
446 goes up.
447
4482000-10-23 Jochen Friedrich <jochen@scram.de>
449
450 * rip_snmp.c: rip_oid and ripd_oid are used in smux_open after it
451 is registered. So those variables must be static.
452
4532000-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
454
455 * rip_interface.c: Change to "no ip rip (send|receive)" command
456 accept version number argument.
457
4582000-10-17 Akihiro Mizutani <mizutani@dml.com>
459
460 * rip_routemap.c (route_set_ip_nexthop_compile): Change "match ip
461 next-hop" from IP address to access-list name.
462
4632000-10-17 Kunihiro Ishiguro <kunihiro@zebra.org>
464
465 * rip_peer.c: Change ot use linklist.c instaed of newlist.c.
466
4672000-10-16 Kunihiro Ishiguro <kunihiro@zebra.org>
468
469 * rip_offset.c: Change to use linklist.c instead of newlist.c.
470
4712000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
472
473 * zebra-0.89 is released.
474
4752000-09-26 Akihiro Mizutani <mizutani@dml.com>
476
477 * rip_routemap.c (match_ip_nexthop): Add next-hop format check.
478
4792000-09-18 David Lipovkov <dlipovkov@OpticalAccess.com>
480
481 * rip_interface.c (ripd_api_get_if_rx_version): Corrects rip SNMP
482 and rip API functions dealing with rip version.
483
484 * rip_snmp.c (Status_Valid): SNMPv2-TC TEXTUAL-CONVENTION.
485
4862000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
487
488 * rip_snmp.c (rip2IfLookup): Use rip_ifaddr_lookup_next() instead
489 of rip_if_lookup_next().
490
491 * rip_interface.c (rip_enable_network_lookup): Interface enable
492 check by interface's address with /32 prefix.
493
494 * ripd.c (rip_read): When RIP is configured with authentication
495 and no authentication in incoming packet, drop the packet.
496
497 * rip_interface.c (rip_interface_reset): RIP_AUTH_SIMPLE_PASSWORD
498 is default mode of authentication.
499 (rip_interface_new): Likewise.
500 (no_ip_rip_authentication_mode): Likewise.
501
502 * ripd.c (rip_read): Likewise.
503
5042000-09-10 David Lipovkov <davidl@nbase.co.il>
505
506 * rip_snmp.c: Set ASN_INTEGER v->type where it is needed.
507
5082000-09-08 Kunihiro Ishiguro <kunihiro@zebra.org>
509
510 * ripd.c (rip_auth_simple_password): Simple password
511 authentication using key-chain.
512 (rip_write_rte): Likewise.
513
514 * rip_interface.c (ip_rip_authentication_key_chain): Add check for
515 authentication string configuration.
516
5172000-09-08 Akihiro Mizutani <mizutani@dml.com>
518
519 * ripd.c (rip_write_rte): Add check for ri->auth_str.
520
5212000-09-07 Kunihiro Ishiguro <kunihiro@zebra.org>
522
523 * ripd_api.h: New file is added.
524
5252000-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
526
527 * ripd.c (rip_rte_process): rip_route_process() is renamed to
528 rip_rte_process() to clarify meanings of the function.
529 rip_route_process() is newly added to process RIP route selection.
530
5312000-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
532
533 * ripd.c (rip_incoming_filter): Extract incoming filter code to
534 function from rip_route_process(). Add check for all interface
535 filter.
536 (rip_outgoing_filter): Extract incoming filter code to function
537 from rip_output_process(). Add check for all interface filter.
538
539 * rip_zebra.c (rip_redistribute_clean): Reset redistribute status
540 when "no router rip" is performed.
541
542 * rip_interface.c (rip_interface_clean): Reset interface's RIP
543 enable status.
544
5452000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
546
547 * ripd.c (rip_route_process): When metric infinity is received the
548 route is removed from service immediately.
549 (rip_timeout): Likewise.
550 (rip_garbage_collect): Do not delete route in garbage collection.
551 (rip_output_process): Check metric_out exceed metric infinity.
552
553 * zebra-0.88 is released.
554
5552000-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
556
557 * ripd.c (rip_distance_apply): Unlock node when there is matched
558 node.
559
5602000-08-13 Akihiro Mizutani <mizutani@dml.com>
561
562 * rip_routemap.c (match_ip_nexthop): Add check for IP address
563 validness.
564 (no_set_metric): Add new ALIAS.
565
5662000-08-07 Kunihiro Ishiguro <kunihiro@zebra.org>
567
568 * ripd.h (struct rip ): Add distance.
569
5702000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
571
572 * rip_zebra.c (rip_zebra_ipv4_add): Use new Zebra api to register
573 routes. Pass RIP metric value to zebra.
574
5752000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
576
577 * rip_main.c (main): Make struct thread thread from global
578 variable to local variable in main.
579
5802000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
581
582 * ripd.c (rip_packet_dump): Add MD5 authentication dump function.
583 (rip_auth_md5): RIP MD5 authentication packet receive works.
584
5852000-08-02 David Lipovkov <davidl@nbase.co.il>
586
587 * rip_interface.c (rip_if_init): Install interface "pseudo"
588 commands.
589 (rip_interface_delete): Do not call if_delete() when interface is
590 pseudo interface.
591
5922000-07-31 Kunihiro Ishiguro <kunihiro@zebra.org>
593
594 * rip_interface.c (ip_rip_authentication_mode): "ip rip
595 authentication mode (md5|text)" is added.
596 (ip_rip_authentication_key_chain): "ip rip authentication
597 key-chain KEY-CHAIN" is added.
598 (rip_interface_clean): Clean all interface configuration.
599 (rip_interface_reset): Reset all interface configuration.
600 (rip_clean_network): Clean rip_enable_network.
601
602 * ripd.h (struct rip_interface): Add key_chain member.
603
604 * ripd.c: Include md5-gnu.h.
605
6062000-07-30 Kunihiro Ishiguro <kunihiro@zebra.org>
607
608 * ripd.h (RIP_NO_AUTH): Change RIP_NO_AUTH value from 1 to 0.
609
610 * ripd.c (rip_authentication): Use RIP_AUTH_SIMPLE_PASSWORD
611 instead of raw value 2.
612 (rip_write_rte): Likewise.
613 (rip_write_rte): Check ri->auth_type instead of ri->auth_str.
614
6152000-07-30 David Lipovkov <davidl@nbase.co.il>
616
617 * rip_interface.c (rip_if_down): Do not delete ZEBRA_ROUTE_KERNEL
618 route.
619
6202000-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
621
622 * ripd.c (rip_update_process): Add "passive-interface" command.
623
624 * ripd.h (struct rip_interface): Add passive member to struct
625 rip_interface.
626
6272000-07-24 Kunihiro Ishiguro <kunihiro@zebra.org>
628
629 * rip_interface.c (rip_if_init): Multiple RIP routes for one
630 prefix change. The codes are enclosed by #ifdef NEW_RIP_TABLE.
631
6322000-07-24 Akihiro Mizutani <mizutani@dml.com>
633
634 * rip_interface.c (rip_if_init): Use install_default() for
635 INTERFACE_NODE.
636
6372000-07-24 Kunihiro Ishiguro <kunihiro@zebra.org>
638
639 * ripd.c: First update timer will be invoked in two seconds.
640
6412000-07-09 Jochen Friedrich <jochen@scram.de>
642
643 * rip_snmp.c: Local function definitions to static. Add INTEGER
644 ASN_INTEGER and TIMETICKS ASN_TIMETICKS definition.
645 (rip2PeerLookup): Peer with domain lookup implemented.
646 (rip2PeerTable): Temporary disable RIP2PEERLASTUPDATE value
647 support due to unknown SNMP agent startup time.
648
6492000-07-05 Kunihiro Ishiguro <kunihiro@zebra.org>
650
651 * ripd.h: Sweep obsolete definitions.
652
653 * rip_interface.c (rip_split_horizon): Add "ip split-horizon"
654 command.
655
656 * ripd.c (rip_output_process): Remove split_horizon argument.
657 (rip_update_process): Likewise.
658
659 * ripd.h (struct rip_interface): Add split_horizon flag to struct
660 rip_interface.
661
6622000-07-04 Akihiro Mizutani <mizutani@dml.com>
663
664 * ripd.c (rip_version): Change VERSION to <1-2>.
665 Add "no version" command.
666
6672000-07-03 Kunihiro Ishiguro <kunihiro@zebra.org>
668
669 * rip_zebra.c (rip_redistribute_type_metric): "redistribute TYPE
670 metric <0-16>" command is added.
671
672 * rip_routemap.c (route_set_metric): Set metric_set when metric is
673 modified.
674
675 * ripd.h (struct rip_info): To check route-map set metric or not,
676 new member metric_set is added to struct rip_info.
677
678 * ripd.c (rip_route_process): Move metric handling code from
679 rip_response_process() to rip_route_process().
680 (rip_output_process): Set output offset-list metric.
681
6822000-07-02 Kunihiro Ishiguro <kunihiro@zebra.org>
683
684 * rip_offset.c (rip_offset_list): New file for offset-list.
685
6862000-07-02 Akihiro Mizutani <mizutani@dml.com>
687
688 * ripd.h (struct rip ): Add default_metric.
689
690 * ripd.c (rip_default_metric): "default-metric <1-16>" command is
691 added.
692 (config_write_rip): Change configuration order.
693
694 * rip_zebra.c: Fix help strings.
695
6962000-07-02 David Lipovkov <davidl@nbase.co.il>
697
698 * rip_interface.c (rip_if_init): Add IF_DELETE_HOOK.
699
7002000-07-01 Kunihiro Ishiguro <kunihiro@zebra.org>
701
702 * ripd.c (rip_output_process): If specified route-map does not
703 exist, it treated as deny all.
704
7052000-06-30 Kunihiro Ishiguro <kunihiro@zebra.org>
706
707 * rip_routemap.c (rip_route_map_init): Call rip_route_map_update
708 when route-map is deleted.
709
7102000-06-28 Kunihiro Ishiguro <kunihiro@zebra.org>
711
712 * rip_routemap.c (set_metric): For consistency with bgpd's set
713 metric, value range is set to <0-4294967295>.
714
7152000-06-28 David Lipovkov <davidl@nbase.co.il>
716
717 * rip_routemap.c (rip_route_map_update): Add check for rip is
718 enabled or not for avoid core dump.
719
720 * rip_debug.c (debug_rip_packet_direct): Fix bug of setting
721 rip_debug_packet flag.
722
7232000-06-13 David Lipovkov <davidl@nbase.co.il>
724
725 * rip_interface.c (rip_interface_delete): All work is done in
726 rip_if_down().
727
7282000-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
729
730 * ripd.c (rip_redistribute_delete): Fix bug of missing
731 route_unlock_node() when redistribute route is not found.
732
7332000-06-05 Akihirof Mizutani <mizutani@dml.com>
734
735 * rip_debug.c (rip_debug_init): Disable show debugging in
736 VIEW_NODE like other protocol daemon.
737
738 * rip_routemap.c: Change command argument to more comprehensive.
739
740 METRIC -> <0-16>
741 IFNAME -> WORD
742 IP_ADDR -> A.B.C.D
743 ACCSESS_LIST -> WORD
744
7452000-06-05 David Lipovkov <davidl@nbase.co.il>
746
747 * rip_interface.c (rip_interface_delete): Delete all routes
748 include static and kernel through the interface , because even if
749 the interface is added again there is no guarantee that it will
750 get the same ifindex as before.
751
7522000-05-31 Akihirof Mizutani <mizutani@dml.com>
753
754 * rip_debug.c: Fix rip debug help string.
755
7562000-04-27 Mirko Karanovic <mkaranov@torsel.alcatel.com>
757
758 * rip_interface.c (rip_interface_down): Remove interface from
759 multicast group when interface goes down.
760
7612000-04-03 David Lipovkov <davidl@nbase.co.il>
762
763 * rip_interface.c (rip_interface_down): Implemented rip functions
764 for interface up/down events: rip_interface_up() and
765 rip_interface_down()
766
7672000-03-16 David Lipovkov <davidl@nbase.co.il>
768
769 * rip_zebra.c (rip_zclient_init): Added rip functions for
770 interface up/down events.
771
7722000-02-15 Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
773
774 * ripd.c (rip_write_rte): "set metic" in route-map has no effect
775 for RIPv1 in ripd. It worked fine for RIPv2.
776
7772000-01-17 Kunihiro Ishiguro <kunihiro@zebra.org>
778
779 * ripd.c (show_ip_protocols_rip): Fix bug of "show ip protocls"
780 mis-display RIP version.
781
782 * ripd.h (struct rip_peer): Add timeout thread to rip_peer
783 structure.
784
7852000-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
786
787 * rip_peer.c: Add new file for supporting RIP peer.
788
7891999-12-26 David Lipovkov <davidl@nbase.co.il>
790
791 * ripd.c (rip_authentication): RIP authantication string is 16
792 bytes long.
793
7941999-12-10 Kunihiro Ishiguro <kunihiro@zebra.org>
795
796 * ripd.c (rip_read): Add check for minimum packet length.
797 Authentication check is moved from rip_process_response() to
798 rip_read(). Patch from David Lipovkov <davidl@nbase.co.il> is
799 applied then add rte number check by Kunihiro Ishiguro
800 <kunihiro@zebra.org>.
801
8021999-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
803
804 * ripd.c (rip_response_process): In case of packet is RIPv2 and
805 network is non zero and netmask is zero, apply netmask rule as
806 same as RIPv1.
807
8081999-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
809
810 * ripd.c (rip_timers): Fix bug of timers basic argument format.
811
8121999-11-03 Kunihiro Ishiguro <kunihiro@zebra.org>
813
814 * rip_snmp.c (rip2IfConfAddress): Forgot to include
815 RIP2IFCONFDOMAIN.
816
8171999-10-28 Kunihiro Ishiguro <kunihiro@zebra.org>
818
819 * ripd.h (struct rip_peer): New structure added.
820
8211999-10-26 Kunihiro Ishiguro <kunihiro@zebra.org>
822
823 * rip_zebra.c (rip_zebra_ipv4_add): Increment
824 rip_global_route_changes when route change occur.
825 (rip_zebra_ipv4_delete): Likewise.
826
827 * ripd.c (rip_request_process): Increment rip_global_queries when
828 reply to the query is sent.
829
8301999-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
831
832 * rip_debug.c (rip_debug_reset): Reset function added.
833
834 * ripd.c (rip_update_process): Logging bug is fixed.
835
8361999-10-10 Marc Boucher <marc@mbsi.ca>
837
838 * ripd.c (config_write_rip): Add config_write_distribute() call.
839
8401999-09-29 Kunihiro Ishiguro <kunihiro@zebra.org>
841
842 * ripd.c (rip_distribute_update): Fix bug of access-list
843 prefix-list updates.
844
8451999-09-10 VOP <vop@unity.net>
846
847 * rip_zebra.c: Add redistribute route-map feature.
848
8491999-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
850
851 * ripd.c (rip_response_process): Add check for given prefix is
852 given mask applied one.
853
8541999-09-03 VOP <vop@unity.net>
855
856 * rip_interface.c (rip_interface_multicast_set): Bug fix about
857 setting multicast interface.
858
8591999-09-02 VOP <vop@unity.net>
860
861 * rip_routemap.c: New file added.
862
8631999-09-02 Kunihiro Ishiguro <kunihiro@zebra.org>
864
865 * ripd.c (show_ip_protocols_rip): Show next update time.
866 (show_ip_protocols_rip): Show redistribute information.
867
8681999-08-25 Kunihiro Ishiguro <kunihiro@zebra.org>
869
870 * RIPv2-MIB.txt: New file added.
871
872 * rip_snmp.c: New file added.
873
8741999-08-24 Kunihiro Ishiguro <kunihiro@zebra.org>
875
876 * rip_interface.c (ip_rip_authentication_string): RIPv2
877 authentication command is added.
878
8791999-08-23 Kunihiro Ishiguro <kunihiro@zebra.org>
880
881 * rip_interface.c (rip_interface_multicast_set): Process of
882 setting IP_MULTICAST_IF on specific interface.
883
884 * ripd.c (rip_read): Add packet size check.
885
8861999-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
887
888 * ripd.c (rip_request_process): Fill in RIP_METRIC_INFINITY with
889 network byte order using htonl ().
890 (rip_response_process): Pass host byte order address to IN_CLASSC
891 and IN_CLASSB macro.
892
8931999-08-08 davidm@nbase.co.il (David Mozes)
894
895 * rip_zebra.c (rip_zebra_read_ipv4): Fix split horizon problem.
896
8971999-07-03 Kunihiro Ishiguro <kunihiro@zebra.org>
898
899 * ripd.c (rip_timer_set): Function added.
900
9011999-07-01 Kunihiro Ishiguro <kunihiro@zebra.org>
902
903 * rip_debug.c: New file added.
904 rip_debug.h: New file added.
905
9061999-07-01 Rick Payne <rickp@rossfell.co.uk>
907
908 * rip_zebra.c (zebra_init): Install standard commands to
909 ZEBRA_NODE.
910
9111999-06-01 David Luyer <luyer@ucs.uwa.edu.au>
912
913 * ripd.c (rip_process_route): Add support for RIP version 1.
914
9151999-05-29 Kunihiro Ishiguro <kunihiro@zebra.org>
916
917 * rip_zebra.c: Change to use lib/zclient.[ch].
918
9191999-05-20 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
920
921 * ripd.c (rip_add_route): Change the existance route's metric check
922 to the condition specified by RFC2453.
923
9241999-05-17 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
925
926 * ripd.c (rip_process_route): Add the if metric to the route metric.
927
928 * ripd.c (rip_add_route): Deleted add if metric to the route.
929
9301999-05-16 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
931
932 * rip_interface.c (if_valid_neighbor): New function.
933
934 * ripd.c (rip_process_route): Added check whether the datagram
935 is from a valid neighbor.
936
9371999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
938
939 * ripd.c (rip_process_route): Set interface pointer to rinfo.
940
9411999-05-15 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
942
943 * ripd.c (rip_check_address): Unicast and not net 0 or 127 check
944 added.
945
9461999-05-14 Stephen R. van den Berg <srb@cuci.nl>
947
948 * rip_main.c (signal_init): SIGTERM call sigint.
949 (sigint): Loggging more better message.
950
9511999-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
952
953 * ripd.c (rip_add_route): Fix previous route_unlock_node() chenge.
954
955 * rip_main.c (main): Change default zlog output to ZLOG_STDOUT for
956 debugging.
957
9581999-05-09 Patrick Koppen <koppen@rhrk.uni-kl.de>
959
960 * rip_interface.c (rip_request): Fix old semantics for fetching
961 connected address.
962
963 * ripd.c (rip_add_route): Update timer when the route is updated.
964
9651999-05-09 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
966
967 * rip_zebra.c (struct zebra): Add ridist_static, ridist_connect,
968 redist_rip, redist_ripng.
969
970 * rip_zebra.c (zebra_create): Updated for current zebra method.
971
972 * ripd.c (rip_add_route): Add missing route_unlock_node().
973
9741999-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
975
976 * ripd.c (rip_add_route): Add metric check. Reported by Carlos
977 Alberto Barcenilla <barce@frlp.utn.edu.ar>.
978
9791999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
980
981 * syslog support added
982
9831998-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
984
985 * ripd.c (rip_announce_func): Apply new lib functions.
986
9871998-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
988
989 * ripd.c (config_write_rip): Delete vector v argument.
990 * rip_zebra.c (config_write_zebra): Likewise.
991 * rip_interface.c (interface_config_write): Likewise.
992
9931998-09-07 Kunihiro Ishiguro <kunihiro@zebra.org>
994
995 * rip_announce.c (rip_rib_close): When ripd terminates delete all
996 added route.
997
9981998-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
999
1000 * rip_interface.c: return read packet size.
1001
10021998-05-18 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1003
1004 * ripd.h: Modify for compile on Solaris.
1005
10061998-05-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1007
1008 * ripd.c: DEFUN function return CMD_SUCCESS.
1009 change xmalloc to XMALLOC macro.
1010
10111998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1012
1013 * rip_main.c: change CONFDIR to SYSCONFDIR.
1014
10151998-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1016
1017 * .cvsignore: added.
1018
10191998-02-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1020
1021 * rip_interface.c (config_write_interface): correct ADVERTISE spell.
1022
1023 * rip_main.c (main): add usage() and make cleanup.
1024
10251998-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1026
1027 * ripd.c (rip_version): add rip version command.
1028
10291998-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1030
1031 * rip_interface.c (zebra_get_interface): added to get
1032 interface's information.
1033
1034 * ChangeLog: create.