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