blob: b5383f1dd0fc4086e3155ed64e45bd991b38d650 [file] [log] [blame]
paul718e3742002-12-13 20:15:29 +000012002-09-28 Akihiro Mizutani <mizutani@net-chef.net>
2
3 * zebra_rib.c (static_add_ipv4): Null0 static route is added.
4
52002-09-10 Jochen Friedrich <chris+zebra@scram.de>
6
7 * rt_netlink.c: Add check for EAGAIN.
8 * kernel_socket.c: Likewise
9
102002-06-12 Israel Keys <ikeys@oz.agile.tv>
11
12 * rt_netlink.c: Setting the NLM_F_ACK flag on the netlink command
13 message so that we get an ACK for successful netlink commands.
14 Change the netlink socket to BLOCKING while we wait for a
15 response; be it an ACK or an NLMSG_ERROR. Change
16 netlink_parse_info to deal with ACK messages.
17
182001-11-01 Jun-ichiro itojun Hagino <itojun@iijlab.net>
19
20 * rtadv.c (rtadv_make_socket): setsockopt(IPV6_CHECKSUM) does not
21 work for ICMPv6 socket.
22
232001-10-24 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
24
25 * rib.c (rib_process): Select connected route any case.
26
272001-10-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
28
29 * interface.c (no_ip_address_secondary): Add "no" to command.
30
312001-10-18 NOGUCHI Kay <kay@v6.access.co.jp>
32
33 * ioctl.c (if_prefix_add_ipv6): Set the prefered and valid lifetime
34 to infinity as the freebsd4.4 workaroud.
35
362001-08-26 mihail.balikov@interbgc.com
37
38 * zebra_snmp.c: Fix snmpwalk problem such as IPv4 address
39 A.B.C.255.
40
412001-08-22 NOGUCHI Kay <kay@v6.access.co.jp>
42
43 * rtadv.c: Do not send RA to loopback interface.
44
452001-08-20 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
46
47 * ioctl.c (if_set_prefix): Remove Linux 2.0 specific connected
48 route treatment.
49
502001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
51
52 * zebra-0.92a released.
53
542001-08-17 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
55
56 * rib.c: Kernel route is treated as EGP routes in nexthop active
57 check.
58
592001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
60
61 * zebra-0.92 released.
62
632001-08-08 "Akihiro Mizutani" <mizutani@dml.com>
64
65 * rib.c (show_ip_route_prefix_longer): Add longer-prefix option to
66 show route commands.
67
682001-07-29 Yon Uriarte <havanna_moon@gmx.net>
69
70 * zserv.c (zsend_ipv4_add_multipath): Add
71 NEXTHOP_TYPE_IPV4_IFINDEX check.
72
732001-07-29 NOGUCHI Kay <kay@v6.access.co.jp>
74
75 * rtadv.c: Apply valid lifetime, preferred lifetime, onilnk flag,
76 autonomous address-configuration flag patch.
77 (no_ipv6_nd_suppress_ra): Change "ipv6 nd send-ra" to "no ipv6 nd
78 suppress-ra".
79
802001-07-24 NOGUCHI Kay <kay@v6.access.co.jp>
81
82 * rtadv.c (ipv6_nd_ra_interval): Add "ipv6 nd ra-interval SECONDS"
83 command.
84
852001-07-24 Jun-ichiro itojun Hagino <itojun@iijlab.net>
86
87 * rt_socket.c (kernel_rtm_ipv4): Add KAME/NetBSD151 equal cost
88 multicast FIB support both IPv4 and IPv6.
89
902001-07-24 Hal Snyder <hal@vailsys.com>
91
92 * if_ioctl.c (interface_list_ioctl): Fix bug of failing to get the
93 full list of interfaces on some configurations of OpenBSD.
94
952001-07-23 NOGUCHI Kay <kay@v6.access.co.jp>
96
97 * rtadv.c (ipv6_nd_send_ra): Apply [zebra 9320] to fix "ipv6 nd
98 send-ra" bug.
99 (ipv6_nd_ra_lifetime): "ipv6 nd ra-lifetime 0" for default router
100 availability.
101 (ipv6_nd_managed_config_flag): "ipv6 nd managed-config-flag" is
102 added.
103 (ipv6_nd_other_config_flag): "ipv6 nd other-config-flag" is added.
104
1052001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
106
107 * ioctl.c (if_ioctl): Change ioctl argument from int to u_long.
108
109 * rt_ioctl.c: Likewise.
110
1112001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
112
113 * kernel_socket.c (rtm_write): Only set RTF_CLONING when the
114 interface is not p2p.
115
1162001-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
117
118 * ioctl.c (if_prefix_add_ipv6): Fix argument type.
119
1202001-04-06 Toshiaki Takada <takada@zebra.org>
121
122 * zserv.c (zsend_interface_delete): Use client->obuf instead of
123 allocating new stream.
124
1252001-03-10 Kunihiro Ishiguro <kunihiro@zebra.org>
126
127 * rt_netlink.c: Revert RTPROT_BOOT change.
128
1292001-03-08 Kunihiro Ishiguro <kunihiro@zebra.org>
130
131 * rt_netlink.c (netlink_route_change): Skip RTPROT_BOOT route.
132 (netlink_routing_table): Likewise.
133
1342001-03-07 "Akihiro Mizutani" <mizutani@dml.com>
135
136 * zserv.c (zsend_ipv4_add_multipath): Send metric value to
137 protocol daemons.
138
1392001-02-18 Kunihiro Ishiguro <kunihiro@zebra.org>
140
141 * rt_netlink.c (netlink_routing_table): Do not return
142 tb[RTA_GATEWAY] is NULL. Reported by: "Michael O'Keefe"
143 <mokeefe@qualcomm.com>.
144
1452001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
146
147 * if_ioctl.c (interface_list_ioctl): Call if_add_update().
148 Suggested by: Chris Dunlop <chris@onthe.net.au>.
149
1502001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
151
152 * rib.c (nexthop_active_ipv4): When nexthop type is
153 NEXTHOP_TYPE_IPV4_IFINDEX, propery set the ifindex to rifindex.
154
155 * zserv.c: Initialize rtm_table_default with 0.
156
157 * zebra-0.91 is released.
158
1592001-01-31 Kunihiro Ishiguro <kunihiro@zebra.org>
160
161 * kernel_socket.c (rtm_read): Filter cloned route. Suggested by:
162 Jun-ichiro itojun Hagino <itojun@iijlab.net>
163
1642001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
165
166 * connected.c (connected_up_ipv6): When point-to-point destination
167 address is ::, use local address for connected network.
168 (connected_down_ipv6): Likewise.
169
1702001-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
171
172 * zserv.c (zebra_serv): Add missing close() call. Reported by:
173 David Waitzman <djw@vineyard.net>.
174
1752001-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
176
177 * rib.c (rib_lookup_ipv4): New function for checking exact match
178 IGP route.
179
1802001-01-23 Kunihiro Ishiguro <kunihiro@zebra.org>
181
182 * rib.c (show_ipv6_route_protocol): Fix bug of "show ip route
183 route-type".
184
1852001-01-22 Kunihiro Ishiguro <kunihiro@zebra.org>
186
187 * interface.c (zebra_interface): Do not call
188 zebra_interface_add_update for inactive interface.
189
190 * zserv.c (zsend_interface_address_add): Send interface address
191 flag.
192 (zsend_interface_address_delete): Likewise.
193
1942001-01-19 Kunihiro Ishiguro <kunihiro@zebra.org>
195
196 * interface.c (if_addr_add): Add flags.
197
198 * connected.c (ifa_add_ipv4): Add new function for interface
199 address handling.
200 (ifa_delete_ipv4): Likewise.
201
2022001-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
203
204 * rib.c (rib_update): Update IPv6 RIB.
205
206 * kernel_socket.c (ifam_read): Call if_refresh() for update
207 interface flag status. This is for implicit interface up on *BSD.
208
209 * interface.c (if_refresh): Add interface flag refresh function.
210
211 * kernel_socket.c (rtm_read): Fetch link-local address interface
212 index.
213 (ifan_read): We need to fetch interface information. Suggested
214 by: Yasuhiro Ohara <yasu@sfc.wide.ad.jp>.
215
216 * rib.c (static_ipv6_nexthop_same): Add check for
217 NEXTHOP_TYPE_IPV6_IFNAME.
218
2192001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
220
221 * rib.h (NEW_RIB): Turn on NEW_RIB flag. IPv6 new RIB code are
222 taken into place.
223
2242001-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
225
226 * rib.c (static_ipv6_write): Display STATIC_IPV6_GATEWAY_IFNAME
227 configuration.
228 (rib_delete_ipv6): Handle same route conter for IPv6 connected
229 route.
230 (show_ipv6_route_protocol): New command.
231 (show_ipv6_route_addr): Likewise.
232 (show_ipv6_route_prefix): Likewise.
233 (rib_update): Sweep kernel route when it is cleaned up.
234
235 * rt_socket.c (kernel_add_ipv6): Add NEXTHOP_IPV6_IFNAME
236 treatmenet.
237
238 * rt_netlink.c (kernel_init): Likewise.
239
240 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): Likewise.
241
242 * rib.c (rib_add_ipv4): Cope with same connected route on a
243 interface. Suggested by: Matthew Grant <grantma@anathoth.gen.nz>.
244 (nexthop_ipv6_ifname_add): Add NEXTHOP_IPV6_IFNAME treatmenet.
245
246 * rib.h (struct new_rib): Add refcnt to keep track on the
247 reference of same connected route.
248
249 * ioctl.c (if_set_prefix): Add check for GNU_LINUX.
250
2512001-01-13 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
252
253 * kernel_socket.c (ifan_read, rtm_type_str): Add RTM_OIFINFO check.
254 (rtm_type_str): Add RTM_IFANNOUNCE check.
255 (ifan_read): New function.
256 (kernel_read): Add case for RTM_IFANNOUNCE.
257
2582001-01-13 Kunihiro Ishiguro <kunihiro@zebra.org>
259
260 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): New function.
261
262 * rt_netlink.c (netlink_route_multipath): IPv6 address ifindex
263 treatment.
264
265 * connected.c (connected_up_ipv6): Add dest value check.
266
267 * rib.c (nexthop_active_ipv6): Do not touch IPv6 nexthop's
268 ifindex.
269 (rib_add_ipv4): Import rib_add_ipv6() same route check code.
270 (nexthop_active_check): NEXTHOP_TYPE_IPV6_IFINDEX activity is only
271 checked by ifindex.
272
273 * rt_socket.c (kernel_rtm_ipv6_multipath): New function.
274
275 * redistribute.c (redistribute_add): Use
276 zsend_ipv6_add_multipath().
277 (redistribute_delete_multipath): Use
278 zsend_ipv6_delete_multipath().
279
280 * interface.c (ip_address): Check current IP address to avoid
281 duplicate.
282
283 * rib.c (rib_delete_ipv4): When deleted route is connected route,
284 check ifindex.
285 (rib_add_ipv4): When connected route is added do not perform
286 implicit withdraw.
287 (rib_delete_ipv4): Check ifindex for connected route.
288
289 * kernel_socket.c (rtm_read): When route has RTF_STATIC, set
290 ZEBRA_FLAG_STATIC for indicate as persistent route.
291 (ifam_read): Unset interface index from link-local address when
292 IPv6 stack is KAME.
293
294 * rib.c (rib_update): Do not delete persistent kernel route.
295
296 * rib.h (struct new_rib): Integrate RIB_FLAG_* to ZEBRA_FLAG_*.
297
298 * rt_socket.c (kernel_add_ipv6_multipath): Add placeholder.
299 (kernel_delete_ipv6_multipath): Likewise.
300
301 * rt_netlink.c (netlink_talk): Give struct nlsock to netlink_talk.
302
3032001-01-12 Kunihiro Ishiguro <kunihiro@zebra.org>
304
305 * rib.c (rib_update): Revert Matthew Grant's patch
306 zebra_cvs_newribfix.patch. Use struct rib->ifindex for kernel
307 interface index. Introduce NEXTHOP_TYPE_IPV4_IFINDEX to support
308 that. Add support for address deletion situation.
309
3102001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
311
312 * interface.c: Remove HAVE_IF_PSEUDO part.
313
314 * rib.h: Likewise.
315
316 * rt_netlink.c (netlink_link_change): Likewise.
317
3182001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
319
320 * zserv.c: Remove OLD_RIB codes.
321
3222001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
323
324 * zebra-0.90 is released.
325
3262001-01-09 Matthew Grant <grantma@anathoth.gen.nz>
327
328 * interface.c (if_new_intern_ifindex): Allocate a new internal
329 interface index.
330 (if_addr_refresh): Fix up ip addresses configured via zebra.
331 (if_add_update): Handle an interface addition.
332 (if_delete_update): Handle an interface delete event.
333
334 * rib.c (nexthop_ipv4_add): Add kernel route deletion process when
335 interface goes down.
336
3372001-01-08 Kunihiro Ishiguro <kunihiro@zebra.org>
338
339 * interface.c (if_dump_vty): When HAVE_NET_RT_IFLIST is defined,
340 NetBSD also use this function. Suggested by Jasper Wallace
341 <jasper@ivision.co.uk>.
342
3432001-01-07 Kunihiro Ishiguro <kunihiro@zebra.org>
344
345 * rib.c (nexthop_active_ipv4): Move back to set methodo to old
346 one.
347
3482001-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
349
350 * rib.c (rib_add_ipv4): EBGP multihop set ZEBRA_FLAG_INTERNAL
351 flag, so treat it.
352
3532001-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
354
355 * rt_netlink.c (netlink_talk_ipv6): When IPv6 route message is
356 sent from netlink_cmd, the same message comes from netlink. To
357 avoid confusion, temporary netlink_talk_ipv6 use netlink.sock
358 instead of netlink_cmd.sock.
359
3602001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
361
362 * zserv.h (ZEBRA_SERV_PATH): Change "/tmp/zebra" to "/tmp/.zebra".
363 Change "/tmp/zserv" to "/tmp/.zserv".
364
3652000-12-29 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
366
367 * rt_netlink.c (struct nlsock): Divide kernel message into listen
368 socket and command socket.
369 (netlink_talk): Remove socket listen code. Use netlink_parse_info
370 for read kernel response.
371
3722000-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
373
374 * rib.c (vty_show_ip_route): Show uptime of the RIP,OSPF,BGP
375 routes.
376
3772000-12-27 Kunihiro Ishiguro <kunihiro@zebra.org>
378
379 * rt_netlink.c (netlink_route_multipath): Metric value is
380 reflected to kernel routing table.
381
382 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Likewise.
383
384 * kernel_socket.c (rtm_write): Likewise.
385
386 * rib.c (nexthop_active_ipv4): Only iBGP route perform recursive
387 nexthop lookup.
388
389 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Add ioctl version of
390 new RIB implementation.
391
3922000-12-26 Kunihiro Ishiguro <kunihiro@zebra.org>
393
394 * rib.h: Remove MULTIPATH_NUM. It is defined by configure script.
395
3962000-12-25 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
397
398 * rib.c (rib_if_up): Call rib_fib_set instead of RIB_FIB_SET for
399 proper redistribution.
400
4012000-12-19 Kunihiro Ishiguro <kunihiro@zebra.org>
402
403 * rib.c (nexthop_active_ipv4): Add self lookup nexthop check.
404 (show_ip_route_protocol): Support new RIB.
405
406 * rt_netlink.c (netlink_route_change): Do not return when gate is
407 NULL.
408
4092000-12-18 Kunihiro Ishiguro <kunihiro@zebra.org>
410
411 * rib.c (rib_lookup_ipv4_nexthop): IBGP nexthop check function is
412 updated.
413 (rib_add_ipv4): Free implicit withdraw route's RIB.
414
4152000-12-15 Kunihiro Ishiguro <kunihiro@zebra.org>
416
417 * rib.c (nexthop_active_ipv4): Check indirect nexthop.
418
419 * redistribute.c (redistribute_add_multipath): Redistribution
420 works with new rib code.
421
4222000-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
423
424 * rt_netlink.c (netlink_route_multipath): Check useful nexthop
425 number.
426 (netlink_route_multipath): Clear rtnh_flags and rtnh_hops.
427
428 * rib.c (nexthop_active_update): Set flag for the rib's nexthop
429 activity is changed.
430 (nexthop_active_check): Before checking interface is up, make it
431 sure the interface exist.
432
4332000-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
434
435 * rib.c (ip_route): New RIB prototype.
436
4372000-11-16 Yon Uriarte <ukl2@rz.uni-karlsruhe.de>
438
439 * zserv.c (zsend_interface_add): Send hardware address when
440 hw_addr_len is greater than 0.
441
4422000-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
443
444 * connected.c (connected_up_ipv4): Fix ptop bug. The destination
445 network should be installed into routing table.
446 (connected_down_ipv4): Likewise.
447 (connected_add_ipv4): Change to use connected_up_ipv4.
448 (connected_delete_ipv4): Likewise.
449
4502000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
451
452 * rt_netlink.c (netlink_interface_addr): Revert Harald Welte
453 <laforge@gnumonks.org>'s ptop patch then back to original code to
454 avoid duplicated connected route problem. Suggested by Frank van
455 Maarseveen <F.vanMaarseveen@inter.NL.net>.
456
457 * kernel_socket.c (rtm_read): Make behavior consistent even #ifdef
458 DEBUG is defined. Reported by Jun-ichiro itojun Hagino
459 <itojun@iijlab.net>.
460
4612000-10-23 Jochen Friedrich <jochen@scram.de>
462
463 * main.c (main): Call zebra_snmp_init() when it is enabled.
464
4652000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org>
466
467 * zserv.c (zebra_serv_un): UNIX domain socket server of zebra
468 protocol.
469
4702000-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
471
472 * rib.c (rib_add_ipv4): Same check bug is fixed.
473
4742000-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
475
476 * rib.c (rib_if_down): Remove kernel route when the interface goes
477 down.
478
479 * debug.c: New command "debug zebra kernel" is added.
480
4812000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
482
483 * zebra-0.89 is released.
484
4852000-09-24 Harald Welte <laforge@gnumonks.org>
486
487 * rt_netlink.c (netlink_interface_addr): Fix point-to-point address
488 treatment in netlink interface.
489
4902000-09-21 David Lipovkov <dlipovkov@OpticalAccess.com>
491
492 * rib.c (rib_if_down): Pull static route only. Protocol daemon
493 must withdraw routes when interface goes down.
494 (rib_add_ipv4): Check nexthop when replace route.
495
4962000-09-21 Kunihiro Ishiguro <kunihiro@zebra.org>
497
498 * if_ioctl.c (if_getaddrs): New function for looking up
499 interface's address by getifaddrs().
500
5012000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
502
503 * connected.c (connected_delete_ipv4): Add check for connected
504 address is found or not.
505 (connected_add_ipv6): Reflect IPv6 connected address change to
506 protocol daemons.
507 (connected_delete_ipv6): Likewise.
508
5092000-09-07 David Lipovkov <davidl@nbase.co.il>
510
511 * rib.c (rib_delete_ipv4): Reverted the change from pseudo
512 interface patch to original. Because ospfd deletes routes using
513 zero ifindex.
514
5152000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
516
517 * zebra-0.88 is released.
518
5192000-08-15 "Akihiro Mizutani" <mizutani@dml.com>
520
521 * rib.c (show_ip_route_protocol): Help string correction.
522 (show_ip_route_prefix): Check prefix mask.
523 (show_ip_route_vty_detail): Display distance and metric.
524
5252000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
526
527 * zserv.c (zsend_interface_add): Change ifindex store size from
528 two octet to four.
529 (zsend_interface_delete): Likewise.
530 (zsend_interface_address_add): Likewise.
531 (zsend_interface_address_delete): Likewise.
532 (zsend_interface_up): Likewise.
533 (zsend_interface_down): Likewise.
534
5352000-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
536
537 * rib.c (rib_add_ipv4): Do not install distance 255 route.
538
5392000-08-10 Toshiaki Takada <takada@zebra.org>
540
541 * interface.c (bandwidth_if), (no_bandwidth_if): Call
542 zebra_interface_up_update () instead of using if_up() and if_down().
543
5442000-08-07 "Akihiro Mizutani" <mizutani@dml.com>
545
546 * interface.c (bandwidth_if): Fix help string.
547
5482000-08-07 Matthew Grant <grantma@anathoth.gen.nz>
549
550 * interface.c (if_dump_vty): Display bandwidth value.
551 (bandwidth_if): New command "bandwidth <1-10000000>" is added.
552 When interface is up, force protocol daemons to recalculate routes
553 due to cost change.
554 (no_bandwidth_if): Likewise.
555 (if_config_write): Output bandwidth configuration.
556
557 * zserv.c (zsend_interface_add): Send bandwidth value.
558 (zsend_interface_up): Likewise.
559 (zsend_interface_down): Likewise.
560
561
5622000-08-07 Michael Rozhavsky <mike@nbase.co.il>
563
564 * rib.c (show_ip_route_protocol): "show ip route
565 (bgp|connected|kernel|ospf|rip|static)" is added.
566
5672000-08-07 Kunihiro Ishiguro <kunihiro@zebra.org>
568
569 * rib.c (rib_lookup_ipv4_nexthop): Check parent node until IGP
570 nexthop is found.
571 (rib_add_ipv4_internal): Set fib ifindex to rib ifindex.
572
5732000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
574
575 * redistribute.c (redistribute_delete): Fix bug of default route
576 redistribute treatment.
577
5782000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
579
580 * rib.c (rib_init): Install ip_node in rib.c instead of zserv.c.
581 Change default distance value.
582
583 Old New
584 ------------------------------------------
585 system 10 0
586 kernel 20 0
587 connected 30 0
588 static 40 1
589 rip 50 120
590 ripng 50 120
591 ospf 60 110
592 ospf6 49 110
593 bgp 70 200(iBGP) 20(eBGP)
594 ------------------------------------------
595
596 * zserv.c (client_lookup): Function removed.
597 (zsend_interface_add): Use client's output buffer. Check ifinfo
598 flag.
599 (zsend_interface_delete): Likewise.
600 Delete ipv4_static_radix and ipv6_static_radix.
601
6022000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
603
604 * zserv.h (struct zebra_client): When client request interface
605 information, ifinfo is set.
606
607 * rib.c: Temporary Revert changes for pseudo interface.
608
609 * rib.h: Likewise.
610
611 * zserv.c: Likewise.
612
613 * interface.c: Likewise.
614
6152000-08-02 David Lipovkov <davidl@nbase.co.il>
616
617 * interface.c (zebra_if_init): Install interface "pseudo"
618 commands.
619
620 * rib.c (rib_create): ifname argument is added.
621 (rib_add_ipv4_pseudo): New function is added.
622 (rib_delete_ipv4_pseudo): Likewise.
623
624 * rib.h : Delete INTERFACE_UNKNOWN definition. Add prototype for
625 pseudo interface functions.
626
627 * rt_netlink.c (netlink_link_change): Check for pseudo interface.
628
629 * zserv.c (ip_route): When destination is pseudo interface, call
630 rib_add_ipv4_pseudo().
631
632 * zserv.c (no_ip_route): Trim "unknown" argument.
633
6342000-07-26 kunitake@dti.ad.jp
635
636 * if_ioctl.c (if_get_hwaddr): Fix hardware address length from 8
637 to 6.
638
639 * rtadv.c (rtadv_send_packet): Fix shift bug for hardware address.
640
6412000-07-24 Akihiro Mizutani <mizutani@dml.com>
642
643 * interface.c: Use install_default() for common VTY commands.
644
6452000-07-23 Kunihiro Ishiguro <kunihiro@zebra.org>
646
647 * if_ioctl.c (interface_list_ioctl): A interface list size is
648 calculated from ifreq->if_addr.sa_len. This is for OpenBSD.
649
650 * ioctl.c (if_get_mtu): Remove codes for SIOCGIFDATA.
651
6522000-07-09 Chris Dunlop <chris@onthe.net.au>
653
654 * if_ioctl.c (if_get_index): Add check for HAVE_BROKEN_ALIASES.
655
6562000-07-04 Kunihiro Ishiguro <kunihiro@zebra.org>
657
658 * zserv.c (zebra_client_read): Add ZEBRA_REDISTRIBUTE_{ADD,DELETE}
659 message handling.
660
6612000-07-02 David Lipovkov <davidl@nbase.co.il>
662
663 * zserv.c: "ip route A.B.C.D/M unknown" command is added.
664
6652000-06-28 Michael Rozhavsky <mike@nbase.co.il>
666
667 * rib.c: Remove old kernel route when new route comes in.
668
6692000-06-13 David Lipovkov <davidl@nbase.co.il>
670
671 * rib.c (rib_if_up): Add check for unknown interface.
672
6732000-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
674
675 * rib.h: Define INTERFACE_UNKNOWN.
676
6772000-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
678
679 * Makefile.am (EXTRA_DIST): Move irdp.c until implementation is
680 finished.
681
6822000-06-05 David Lipovkov <davidl@nbase.co.il>
683
684 * interface.c (if_zebra_delete_hook): Call rib_if_delete().
685
686 * redistribute.c (zebra_interface_delete_update): New function.
687
688 * redistribute.h (zebra_interface_delete_update): New function
689 prototype.
690
691 * rib.c (rib_if_delete): New function. Walk down all routes and
692 delete all on the interface.
693
694 * rib.h: New function prototype.
695
696 * rt_netlink.c (netlink_link_change): Call
697 zebra_interface_delete_update ().
698
6992000-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
700
701 * if_ioctl.c (interface_info_ioctl): Check interface's flag before
702 checking interface's address.
703
7042000-04-26 Jochen Friedrich <jochen@nwe.de>
705
706 * GNOME-PRODUCT-ZEBRA-MIB: New file.
707
708 * GNOME-SMI: New file.
709
7102000-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
711
712 * irdp.c: New file from 1997 development code.
713 * irdp.h: Likewise.
714
7152000-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
716
717 * rtadv.c (rtadv_send_packet): Enclose router advertisement
718 logging with IS_ZEBRA_DEBUG_PACKET.
719
7202000-04-17 Kunihiro Ishiguro <kunihiro@zebra.org>
721
722 * zserv.c (zebra_client_close): Remove client structure from
723 client_list when connection is terminated.
724
7252000-03-21 David Lipovkov <davidl@nbase.co.il>
726
727 * connected.c (connected_add_ipv4): Allows all necessary structure
728 updates for connected route, but doesn't insert it into rib if
729 it's interface is down.
730
7312000-01-21 Hideto Yamakawa <hideto.yamakawa@soliton.co.jp>
732
733 * rtread_getmsg.c: Set some definition for Solaris 2.5 and Solaris
734 2.5.1.
735
7362000-01-21 Kunihiro Ishiguro <kunihiro@zebra.org>
737
738 * rib.c (no_ipv6_route_ifname): Fix buf of cheking return value
739 from str2prefix_ipv6().
740
7412000-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
742
743 * rt_socket.c: Revert to use RTF_HOST for IPv4 with /32 route and
744 IPv6 with /128 routes.
745 (kernel_rtm_ipv4): In case of /32 route's gateway is interface. It
746 should have mask for cloning.
747
7481999-12-26 Jochen.Friedrich@genorz.de
749
750 * interface.c (if_dump_vty): Fix a bug of missing VTY_NEWLINE.
751
7521999-12-23 Alex Zinin <zinin@amt.ru>
753 * interface.*: dynamic int up/down support
754
7551999-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
756
757 * ipforward_proc.c (dropline): Move dropline() from lib/dropline.c
758
759 * rtread_proc.c (proc_route_read): Don't use dropline().
760
7611999-12-08 Kunihiro Ishiguro <kunihiro@zebra.org>
762
763 * kernel_socket.c (rtm_read): When message is RTM_GET, it has own
764 process's pid.
765
7661999-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
767
768 * main.c (main): Change to default log output to ZLOG_STDOUT.
769
770 * zserv.c (zebra_serv): More detailed error print.
771
7721999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
773
774 * kernel_socket.c (rtm_read): Check old pid for static route
775 insertion check.
776
7771999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
778
779 * interface.c (if_dump_vty): BSDI/OS uses 64bit for interface
780 statistics counter.
781
782 * mtu_kvm.c: New file added.
783
7841999-11-27 Vladimir B. Grebenschikov <vova@express.ru>
785
786 * kernel_socket.c (rtm_write): Set RTF_CLONING flag for
787 route to the directly connected interface.
788
7891999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
790
791 * rt_socket.c: Delete USE_HOST_BIT definition.
792
7931999-11-21 Michael Handler <handler@sub-rosa.com>
794
795 * rtread_getmsg.c: Undef some definition to resolve conflict.
796
7971999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
798
799 * kernel_socket.c (rtm_write): Change to use pre stored struct_dl
800 value for gateway specification.
801
8021999-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
803
804 * rt_socket.c (kernel_rtm_ipv4): Even mask is 32 under IPv4 or
805 128 under IPv6, don't use RTF_HOST.
806
8071999-11-21 Kunihiro Ishiguro <kunihiro@zebra.org>
808
809 * Makefile.am (EXTRA_DIST): Add rtread_getmsg.c.
810
8111999-11-21 Michael Handler <handler@sub-rosa.com>
812
813 * rtread_getmsg.c: Added for Solaris 2.6 support.
814
8151999-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
816
817 * rtread_sysctl.c (rtm_read_route): RTM_DELETE handling added.
818
819 * rt_socket.c (kernel_read): Better BSD routing socket support.
820
8211999-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
822
823 * client_main.c: Disable making obsolete zebra test `client'
824 command.
825
8261999-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
827
828 * zebra.c: Renamed to zserv.c.
829
830 * zebra.h: Global definitions are moved to lib/zebra.h. Then
831 renamed to zserv.h.
832
8331999-10-15 Jordan Mendelson <jordy@wserv.com>
834
835 * if_ioctl.c: Add Linux 2.2.X's alias support and dynamic
836 interface. Remove ugly MAX_INTERFACE handling codes.
837
8381999-09-17 Satosi KOBAYASI <kobayasi@north.ad.jp>
839
840 * Fix serious bug of IPv6 route deletion.
841
8421999-09-11 Kunihiro Ishiguro <kunihiro@zebra.org>
843
844 * ioctl.c (if_set_prefix): Properly set broadcast address.
845
8461999-09-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
847
848 * rib.c (rib_add_ipv6, rib_delete_ipv6): now protocol daemons
849 can install connected route to kernel via zebra
850
8511999-08-24 VOP <vop@unity.net>
852
853 * rib.c: Include "sockunion.h"
854
8551999-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
856
857 * ipforward.h: New file.
858
859 * zebra.h: Obsolete message ZEBRA_GET_ALL_INTERFACE,
860 ZEBRA_GET_ONE_INTERFACE, ZEBRA_GET_HOSTINFO are deleted.
861
8621999-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
863
864 * zebra.h (ZEBRA_INTERFACE_ADDRESS_ADD):
865 ZEBRA_INTERFACE_{ADD,DELETE} added.
866
8671999-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
868
869 * rib.c: show ip route A.B.C.D works.
870
871 * zebra.c (zebra_read_ipv4): Add ifindex to zebra messages.
872
8731999-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
874
875 * zebra.h: New Zebra message ZEBRA_INTERFACE_{ADD,DELETE} added.
876
8771999-08-09 Kunihiro Ishiguro <kunihiro@zebra.org>
878
879 * interface.h: New file.
880 * Makefile.am: Add interface.h
881
8821999-08-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
883
884 * redistribute.c (zebra_redistribute): give ifindex to client.
885
8861999-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
887
888 * main.c (longopts): -k, --keep_kernel option added.
889
8901999-07-18 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
891
892 * rt_socket.c (rtm_write): forgot closing socket bug fixed.
893
8941999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
895
896 * rib.c (show_ipv6_cmd): if rib is link show interface name.
897
8981999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
899
900 * rt_socket.c (rtm_write): use sockaddr_dl when null gateway.
901
9021999-07-16 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
903
904 * rt_socket.c (rtm_write): ipv6 route table bug fixed.
905
9061999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
907
908 * zebra.c (zebra_read_ipv6): read link prefix from ospf6 support
909
9101999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
911
912 * rt_socket.c (kernel_rtm_ipv6): gate treatment bug fixed.
913
9141999-07-15 Kunihiro Ishiguro <kunihiro@zebra.org>
915
916 * if_sysctl.c (ifm_read): Clear sockunion argument before fetching
917 data. Suggested by "Chris P. Ross" <cross@eng.us.uu.net>
918
9191999-07-08 HEO SeonMeyong <seirios@Matrix.IRI.Co.Jp>
920
921 * interface.c (if_tun_add): Add KAME's gif tunnel setting codes.
922
9231999-06-26 Kunihiro Ishiguro <kunihiro@zebra.org>
924
925 * zebra.c (zebra_serv): Only accept loopback address connection.
926
9271999-06-25 Kunihiro Ishiguro <kunihiro@zebra.org>
928
929 * zebra.h (ZEBRA_ROUTE_EXTERNAL): Add zebra messages flags
930
9311999-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
932
933 * ipforward_proc.c: ipforward_on () and ipforward_off () added.
934
9351999-06-14 Kunihiro Ishiguro <kunihiro@zebra.org>
936
937 * ipforward_proc.c (ipforward_ipv6): Check for IPv6 forwarding
938 using /proc file system is added.
939
9401999-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
941
942 * if_ioctl.c (if_get_index): Interface index set bug is fixed by
943 adding #else at the middle of function. Suggested by David Luyer
944 <luyer@ucs.uwa.edu.au>.
945
9461999-05-29 <kunihiro@zebra.org>
947
948 * rt_ioctl.c: Comment out #include <linux/ipv6_route.h>.
949
9501999-05-26 Kunihiro Ishiguro <kunihiro@zebra.org>
951
952 * zebra.h (ZEBRA_ROUTE_MAX): Add new define for the max value of
953 the sort of routes.
954
9551999-05-25 Patrick Koppen <koppen@rhrk.uni-kl.de>
956
957 * rt_netlink.c (netlink_socket): Make netlink socket non-blocking.
958 (netlink_parse_info): If errno is EWOULDBLOCK then continue to
959 parse the message.
960 (netlink_talk): Likewise
961
9621999-05-17 <kunihiro@zebra.org>
963
964 * redistribute.c (zebra_check_addr): Added for loopback address
965 check.
966
9671999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
968
969 * rt_netlink.c (netlink_route_change): Tempolary bypass ipv6 route
970 change treatment.
971
972 * Makefile.am (noinst_HEADERS): redistribute.h added.
973
974 * redistribute.h: New file.
975
9761999-05-14 Stephen R. van den Berg <srb@cuci.nl>
977
978 * zebra.c (show_table): Show all table configuration DEFUN.
979 (config_table): Config table number DEFUN.
980
981 * rt_netlink.c: Add support for multiple routing table.
982
983 * rib.c (rib_weed_table): New function added for delete all
984 routes from specified routing table.
985
986 * main.c (signal_init): SIGTERM call sigint.
987 (sigint): Loggging more better message.
988
9891999-05-09 Kunihiro Ishiguro <kunihiro@zebra.org>
990
991 * rt_netlink.c: Change log () to zlog ().
992
9931999-05-07 <kunihiro@zebra.org>
994
995 * zebra.h (ZEBRA_ROUTE_OSPF6): Added for ospf6d route.
996
9971999-04-20 Kunihiro Ishiguro <kunihiro@zebra.org>
998
999 * interface.c: Add `no ip address' command.
1000
10011999-04-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1002
1003 * rt_netlink.c (kernel_read): Function added for asynchronous
1004 zebra between kernel communication.
1005
10061999-03-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1007
1008 * rtread_sysctl.c (rtm_read): Fix address memcopy overrun bug.
1009 Reported by Achim Patzner <ap@bnc.net>.
1010
10111999-03-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1012
1013 * Makefile.am: Install configuration sample with 600 permission.
1014
10151999-03-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1016
1017 * Makefile.am: Add -I.. to INCLUDES.
1018
10191999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
1020
1021 * syslog support added
1022
10231999-02-17 Peter Galbavy <Peter.Galbavy@knowledge.com>
1024
1025 * if_sysctl.c (interface_list): allocated memory free when unknown
1026 ifm_type is returned.
1027
1028 * ioctl.c (if_get_mtu): added SIOCGIFDATA treatment.
1029
10301998-12-15 Magnus Ahltorp <map@stacken.kth.se>
1031
1032 * interface.c: Header include added.
1033
10341998-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1035
1036 * rt.h (kernel_delete_ipv6): change int index to unsigned int index.
1037
10381998-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1039
1040 * if_ioctl.c (interface_list_ioctl): interface flag must be
1041 checked before check addresses of the interface.
1042
10431998-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1044
1045 * Makefile.am (INCLUDES): add @INCLUDES@ for Linux IPv6.
1046
10471998-10-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1048
1049 * ioctl.c: Linux version before 2.1.0 need interface route setup.
1050
10511998-09-15 HEO SeonMeyong <seirios@matrix.iri.co.jp>
1052
1053 * change HYDRANGEA to KAME
1054
10551998-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1056
1057 * if_ioctl.c (if_addr_ioctl): set address family for getting
1058 interface's address.
1059 (if_get_index): silently return when can't get interface's index.
1060
10611998-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1062
1063 * main.c (main): batch mode option '-b' added.
1064
10651998-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1066
1067 * ioctl.c (if_set_prefix): add `ip address IPV4ADDR' command.
1068 * interface.c (shutdown_if): add interface shutdown and no
1069 shutdown command.
1070
10711998-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1072
1073 * rib.c (rib_add_ipv6): delete rib_add_in6.
1074
10751998-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1076
1077 * main.c: retain flag is added.
1078
10791998-07-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1080
1081 * rtable.[ch]: merged with rib.[ch]
1082
10831998-07-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1084
1085 * connected.h: renamed from ifa.h.
1086
10871998-06-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1088
1089 * rename if.c to interface.c
1090 * rename ifa.c to connected.c
1091
1092 * Porting to Debian GNU/Linux 2.0 (hamm).
1093
10941998-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1095
1096 * rt_netlink.c: renamed from krt_netlink.c
1097
1098 * fib.c: deleted.
1099 * rt_kvm.c: deleted.
1100 * rtread_getmsg.c: deleted.
1101
11021998-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1103
1104 * if.c (multicast): add multicast flag [un]set fucntion.
1105
11061998-05-19 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1107
1108 * rt_socket.c: Modify for compile on Solaris, but dont't work it.
1109 rt_socket.c have some undefined function, so add directive "IMPLEMENT"
1110
11111998-05-18 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1112
1113 * zebra.c: Modify for compile on Solaris.
1114
11151998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1116
1117 * main.c: change CONFDIR to SYSCONFDIR.
1118
11191998-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1120
1121 * .cvsignore: added.
1122
11231998-04-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1124
1125 * client.c: moves to ../lib.
1126
11271998-03-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1128
1129 * if_ioctl.c (if_get_addr): Change address copy from memcopy() to
1130 structure assignment.
1131
11321998-03-30 URA Hiroshi <ura@yamato.ibm.co.jp>
1133
1134 * if_sysctl.c (ifm_interface_add): sdl->sdl_data copy bug fixed.
1135
11361998-02-23 "Hannes R. Boehm" <hannes@boehm.org>
1137
1138 * if.c (if_init): add config_exit_cmd and config_help_cmd.
1139
11401998-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
1141
1142 * rt_ioctl.c (route_ioctl): EPERM treatment added.
1143
11441998-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1145
1146 * rt_socket.c (kernel_read): communication port zebra between
1147 kernel is now handled by kernel_read.
1148
11491998-01-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1150
1151 * main.c (main): zebra [-P port] can specify vty port number.
1152
11531997-12-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1154
1155 * zebra.c: change select will be block.
1156
11571997-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1158
1159 * add static route treatment.
1160
11611997-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1162
1163 * rt_netlink.c: add netlink support over GNU/Linux system.
1164
11651997-11-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1166
1167 * all inet_addr is changed to inet_aton.
1168
1169 * zebra.c (ip_route): add ip route command for static routes.
1170
11711997-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1172
1173 * if.c (if_flag_dump): Linux port of if_flag_dump and _vty.
1174
11751997-11-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1176
1177 * if.c: add interface command.
1178
11791997-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1180
1181 * ipforward_proc.c : Now works on Linux.
1182
11831997-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1184
1185 * command.c : add completion feature.
1186
11871997-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1188
1189 * vty.c (vty_command): add vty interface.
1190
11911997-10-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1192
1193 * zebra.c: add verbose mode.
1194
11951997-10-12 SonMyong Ho <s-ho@Matrix.IRI.Co.Jp>
1196
1197 * Hydrangea for FreeBSD supported
1198 * in.h: add some prototype.
1199
12001997-10-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1201
1202 * rt_socket.c and rtread.c completely rewritten.
1203
12041997-10-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1205
1206 * rt_socket.c: rename kernel_sock to routing_socket
1207
12081997-10-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1209
1210 * if.c (if_new): interface structure change from linklist to vector.
1211
12121997-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1213
1214 * vector.c (vector_init): create vector related function
1215
12161997-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1217
1218 * Makefile.in: add tags target
1219
1220 * start IPv6 support for INRIA FreeBSD.
1221