1 2002-06-12 Israel Keys <ikeys@oz.agile.tv>
3 * rt_netlink.c: Setting the NLM_F_ACK flag on the netlink command
4 message so that we get an ACK for successful netlink commands.
5 Change the netlink socket to BLOCKING while we wait for a
6 response; be it an ACK or an NLMSG_ERROR. Change
7 netlink_parse_info to deal with ACK messages.
9 2001-11-01 Jun-ichiro itojun Hagino <itojun@iijlab.net>
11 * rtadv.c (rtadv_make_socket): setsockopt(IPV6_CHECKSUM) does not
12 work for ICMPv6 socket.
14 2001-10-24 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
16 * rib.c (rib_process): Select connected route any case.
18 2001-10-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
20 * interface.c (no_ip_address_secondary): Add "no" to command.
22 2001-10-18 NOGUCHI Kay <kay@v6.access.co.jp>
24 * ioctl.c (if_prefix_add_ipv6): Set the prefered and valid lifetime
25 to infinity as the freebsd4.4 workaroud.
27 2001-08-26 mihail.balikov@interbgc.com
29 * zebra_snmp.c: Fix snmpwalk problem such as IPv4 address
32 2001-08-22 NOGUCHI Kay <kay@v6.access.co.jp>
34 * rtadv.c: Do not send RA to loopback interface.
36 2001-08-20 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
38 * ioctl.c (if_set_prefix): Remove Linux 2.0 specific connected
41 2001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
43 * zebra-0.92a released.
45 2001-08-17 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
47 * rib.c: Kernel route is treated as EGP routes in nexthop active
50 2001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
52 * zebra-0.92 released.
54 2001-08-08 "Akihiro Mizutani" <mizutani@dml.com>
56 * rib.c (show_ip_route_prefix_longer): Add longer-prefix option to
59 2001-07-29 Yon Uriarte <havanna_moon@gmx.net>
61 * zserv.c (zsend_ipv4_add_multipath): Add
62 NEXTHOP_TYPE_IPV4_IFINDEX check.
64 2001-07-29 NOGUCHI Kay <kay@v6.access.co.jp>
66 * rtadv.c: Apply valid lifetime, preferred lifetime, onilnk flag,
67 autonomous address-configuration flag patch.
68 (no_ipv6_nd_suppress_ra): Change "ipv6 nd send-ra" to "no ipv6 nd
71 2001-07-24 NOGUCHI Kay <kay@v6.access.co.jp>
73 * rtadv.c (ipv6_nd_ra_interval): Add "ipv6 nd ra-interval SECONDS"
76 2001-07-24 Jun-ichiro itojun Hagino <itojun@iijlab.net>
78 * rt_socket.c (kernel_rtm_ipv4): Add KAME/NetBSD151 equal cost
79 multicast FIB support both IPv4 and IPv6.
81 2001-07-24 Hal Snyder <hal@vailsys.com>
83 * if_ioctl.c (interface_list_ioctl): Fix bug of failing to get the
84 full list of interfaces on some configurations of OpenBSD.
86 2001-07-23 NOGUCHI Kay <kay@v6.access.co.jp>
88 * rtadv.c (ipv6_nd_send_ra): Apply [zebra 9320] to fix "ipv6 nd
90 (ipv6_nd_ra_lifetime): "ipv6 nd ra-lifetime 0" for default router
92 (ipv6_nd_managed_config_flag): "ipv6 nd managed-config-flag" is
94 (ipv6_nd_other_config_flag): "ipv6 nd other-config-flag" is added.
96 2001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
98 * ioctl.c (if_ioctl): Change ioctl argument from int to u_long.
100 * rt_ioctl.c: Likewise.
102 2001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
104 * kernel_socket.c (rtm_write): Only set RTF_CLONING when the
105 interface is not p2p.
107 2001-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
109 * ioctl.c (if_prefix_add_ipv6): Fix argument type.
111 2001-04-06 Toshiaki Takada <takada@zebra.org>
113 * zserv.c (zsend_interface_delete): Use client->obuf instead of
114 allocating new stream.
116 2001-03-10 Kunihiro Ishiguro <kunihiro@zebra.org>
118 * rt_netlink.c: Revert RTPROT_BOOT change.
120 2001-03-08 Kunihiro Ishiguro <kunihiro@zebra.org>
122 * rt_netlink.c (netlink_route_change): Skip RTPROT_BOOT route.
123 (netlink_routing_table): Likewise.
125 2001-03-07 "Akihiro Mizutani" <mizutani@dml.com>
127 * zserv.c (zsend_ipv4_add_multipath): Send metric value to
130 2001-02-18 Kunihiro Ishiguro <kunihiro@zebra.org>
132 * rt_netlink.c (netlink_routing_table): Do not return
133 tb[RTA_GATEWAY] is NULL. Reported by: "Michael O'Keefe"
134 <mokeefe@qualcomm.com>.
136 2001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
138 * if_ioctl.c (interface_list_ioctl): Call if_add_update().
139 Suggested by: Chris Dunlop <chris@onthe.net.au>.
141 2001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
143 * rib.c (nexthop_active_ipv4): When nexthop type is
144 NEXTHOP_TYPE_IPV4_IFINDEX, propery set the ifindex to rifindex.
146 * zserv.c: Initialize rtm_table_default with 0.
148 * zebra-0.91 is released.
150 2001-01-31 Kunihiro Ishiguro <kunihiro@zebra.org>
152 * kernel_socket.c (rtm_read): Filter cloned route. Suggested by:
153 Jun-ichiro itojun Hagino <itojun@iijlab.net>
155 2001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
157 * connected.c (connected_up_ipv6): When point-to-point destination
158 address is ::, use local address for connected network.
159 (connected_down_ipv6): Likewise.
161 2001-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
163 * zserv.c (zebra_serv): Add missing close() call. Reported by:
164 David Waitzman <djw@vineyard.net>.
166 2001-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
168 * rib.c (rib_lookup_ipv4): New function for checking exact match
171 2001-01-23 Kunihiro Ishiguro <kunihiro@zebra.org>
173 * rib.c (show_ipv6_route_protocol): Fix bug of "show ip route
176 2001-01-22 Kunihiro Ishiguro <kunihiro@zebra.org>
178 * interface.c (zebra_interface): Do not call
179 zebra_interface_add_update for inactive interface.
181 * zserv.c (zsend_interface_address_add): Send interface address
183 (zsend_interface_address_delete): Likewise.
185 2001-01-19 Kunihiro Ishiguro <kunihiro@zebra.org>
187 * interface.c (if_addr_add): Add flags.
189 * connected.c (ifa_add_ipv4): Add new function for interface
191 (ifa_delete_ipv4): Likewise.
193 2001-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
195 * rib.c (rib_update): Update IPv6 RIB.
197 * kernel_socket.c (ifam_read): Call if_refresh() for update
198 interface flag status. This is for implicit interface up on *BSD.
200 * interface.c (if_refresh): Add interface flag refresh function.
202 * kernel_socket.c (rtm_read): Fetch link-local address interface
204 (ifan_read): We need to fetch interface information. Suggested
205 by: Yasuhiro Ohara <yasu@sfc.wide.ad.jp>.
207 * rib.c (static_ipv6_nexthop_same): Add check for
208 NEXTHOP_TYPE_IPV6_IFNAME.
210 2001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
212 * rib.h (NEW_RIB): Turn on NEW_RIB flag. IPv6 new RIB code are
215 2001-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
217 * rib.c (static_ipv6_write): Display STATIC_IPV6_GATEWAY_IFNAME
219 (rib_delete_ipv6): Handle same route conter for IPv6 connected
221 (show_ipv6_route_protocol): New command.
222 (show_ipv6_route_addr): Likewise.
223 (show_ipv6_route_prefix): Likewise.
224 (rib_update): Sweep kernel route when it is cleaned up.
226 * rt_socket.c (kernel_add_ipv6): Add NEXTHOP_IPV6_IFNAME
229 * rt_netlink.c (kernel_init): Likewise.
231 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): Likewise.
233 * rib.c (rib_add_ipv4): Cope with same connected route on a
234 interface. Suggested by: Matthew Grant <grantma@anathoth.gen.nz>.
235 (nexthop_ipv6_ifname_add): Add NEXTHOP_IPV6_IFNAME treatmenet.
237 * rib.h (struct new_rib): Add refcnt to keep track on the
238 reference of same connected route.
240 * ioctl.c (if_set_prefix): Add check for GNU_LINUX.
242 2001-01-13 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
244 * kernel_socket.c (ifan_read, rtm_type_str): Add RTM_OIFINFO check.
245 (rtm_type_str): Add RTM_IFANNOUNCE check.
246 (ifan_read): New function.
247 (kernel_read): Add case for RTM_IFANNOUNCE.
249 2001-01-13 Kunihiro Ishiguro <kunihiro@zebra.org>
251 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): New function.
253 * rt_netlink.c (netlink_route_multipath): IPv6 address ifindex
256 * connected.c (connected_up_ipv6): Add dest value check.
258 * rib.c (nexthop_active_ipv6): Do not touch IPv6 nexthop's
260 (rib_add_ipv4): Import rib_add_ipv6() same route check code.
261 (nexthop_active_check): NEXTHOP_TYPE_IPV6_IFINDEX activity is only
264 * rt_socket.c (kernel_rtm_ipv6_multipath): New function.
266 * redistribute.c (redistribute_add): Use
267 zsend_ipv6_add_multipath().
268 (redistribute_delete_multipath): Use
269 zsend_ipv6_delete_multipath().
271 * interface.c (ip_address): Check current IP address to avoid
274 * rib.c (rib_delete_ipv4): When deleted route is connected route,
276 (rib_add_ipv4): When connected route is added do not perform
278 (rib_delete_ipv4): Check ifindex for connected route.
280 * kernel_socket.c (rtm_read): When route has RTF_STATIC, set
281 ZEBRA_FLAG_STATIC for indicate as persistent route.
282 (ifam_read): Unset interface index from link-local address when
285 * rib.c (rib_update): Do not delete persistent kernel route.
287 * rib.h (struct new_rib): Integrate RIB_FLAG_* to ZEBRA_FLAG_*.
289 * rt_socket.c (kernel_add_ipv6_multipath): Add placeholder.
290 (kernel_delete_ipv6_multipath): Likewise.
292 * rt_netlink.c (netlink_talk): Give struct nlsock to netlink_talk.
294 2001-01-12 Kunihiro Ishiguro <kunihiro@zebra.org>
296 * rib.c (rib_update): Revert Matthew Grant's patch
297 zebra_cvs_newribfix.patch. Use struct rib->ifindex for kernel
298 interface index. Introduce NEXTHOP_TYPE_IPV4_IFINDEX to support
299 that. Add support for address deletion situation.
301 2001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
303 * interface.c: Remove HAVE_IF_PSEUDO part.
307 * rt_netlink.c (netlink_link_change): Likewise.
309 2001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
311 * zserv.c: Remove OLD_RIB codes.
313 2001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
315 * zebra-0.90 is released.
317 2001-01-09 Matthew Grant <grantma@anathoth.gen.nz>
319 * interface.c (if_new_intern_ifindex): Allocate a new internal
321 (if_addr_refresh): Fix up ip addresses configured via zebra.
322 (if_add_update): Handle an interface addition.
323 (if_delete_update): Handle an interface delete event.
325 * rib.c (nexthop_ipv4_add): Add kernel route deletion process when
328 2001-01-08 Kunihiro Ishiguro <kunihiro@zebra.org>
330 * interface.c (if_dump_vty): When HAVE_NET_RT_IFLIST is defined,
331 NetBSD also use this function. Suggested by Jasper Wallace
332 <jasper@ivision.co.uk>.
334 2001-01-07 Kunihiro Ishiguro <kunihiro@zebra.org>
336 * rib.c (nexthop_active_ipv4): Move back to set methodo to old
339 2001-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
341 * rib.c (rib_add_ipv4): EBGP multihop set ZEBRA_FLAG_INTERNAL
344 2001-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
346 * rt_netlink.c (netlink_talk_ipv6): When IPv6 route message is
347 sent from netlink_cmd, the same message comes from netlink. To
348 avoid confusion, temporary netlink_talk_ipv6 use netlink.sock
349 instead of netlink_cmd.sock.
351 2001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
353 * zserv.h (ZEBRA_SERV_PATH): Change "/tmp/zebra" to "/tmp/.zebra".
354 Change "/tmp/zserv" to "/tmp/.zserv".
356 2000-12-29 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
358 * rt_netlink.c (struct nlsock): Divide kernel message into listen
359 socket and command socket.
360 (netlink_talk): Remove socket listen code. Use netlink_parse_info
361 for read kernel response.
363 2000-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
365 * rib.c (vty_show_ip_route): Show uptime of the RIP,OSPF,BGP
368 2000-12-27 Kunihiro Ishiguro <kunihiro@zebra.org>
370 * rt_netlink.c (netlink_route_multipath): Metric value is
371 reflected to kernel routing table.
373 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Likewise.
375 * kernel_socket.c (rtm_write): Likewise.
377 * rib.c (nexthop_active_ipv4): Only iBGP route perform recursive
380 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Add ioctl version of
381 new RIB implementation.
383 2000-12-26 Kunihiro Ishiguro <kunihiro@zebra.org>
385 * rib.h: Remove MULTIPATH_NUM. It is defined by configure script.
387 2000-12-25 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
389 * rib.c (rib_if_up): Call rib_fib_set instead of RIB_FIB_SET for
390 proper redistribution.
392 2000-12-19 Kunihiro Ishiguro <kunihiro@zebra.org>
394 * rib.c (nexthop_active_ipv4): Add self lookup nexthop check.
395 (show_ip_route_protocol): Support new RIB.
397 * rt_netlink.c (netlink_route_change): Do not return when gate is
400 2000-12-18 Kunihiro Ishiguro <kunihiro@zebra.org>
402 * rib.c (rib_lookup_ipv4_nexthop): IBGP nexthop check function is
404 (rib_add_ipv4): Free implicit withdraw route's RIB.
406 2000-12-15 Kunihiro Ishiguro <kunihiro@zebra.org>
408 * rib.c (nexthop_active_ipv4): Check indirect nexthop.
410 * redistribute.c (redistribute_add_multipath): Redistribution
411 works with new rib code.
413 2000-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
415 * rt_netlink.c (netlink_route_multipath): Check useful nexthop
417 (netlink_route_multipath): Clear rtnh_flags and rtnh_hops.
419 * rib.c (nexthop_active_update): Set flag for the rib's nexthop
421 (nexthop_active_check): Before checking interface is up, make it
422 sure the interface exist.
424 2000-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
426 * rib.c (ip_route): New RIB prototype.
428 2000-11-16 Yon Uriarte <ukl2@rz.uni-karlsruhe.de>
430 * zserv.c (zsend_interface_add): Send hardware address when
431 hw_addr_len is greater than 0.
433 2000-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
435 * connected.c (connected_up_ipv4): Fix ptop bug. The destination
436 network should be installed into routing table.
437 (connected_down_ipv4): Likewise.
438 (connected_add_ipv4): Change to use connected_up_ipv4.
439 (connected_delete_ipv4): Likewise.
441 2000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
443 * rt_netlink.c (netlink_interface_addr): Revert Harald Welte
444 <laforge@gnumonks.org>'s ptop patch then back to original code to
445 avoid duplicated connected route problem. Suggested by Frank van
446 Maarseveen <F.vanMaarseveen@inter.NL.net>.
448 * kernel_socket.c (rtm_read): Make behavior consistent even #ifdef
449 DEBUG is defined. Reported by Jun-ichiro itojun Hagino
452 2000-10-23 Jochen Friedrich <jochen@scram.de>
454 * main.c (main): Call zebra_snmp_init() when it is enabled.
456 2000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org>
458 * zserv.c (zebra_serv_un): UNIX domain socket server of zebra
461 2000-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
463 * rib.c (rib_add_ipv4): Same check bug is fixed.
465 2000-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
467 * rib.c (rib_if_down): Remove kernel route when the interface goes
470 * debug.c: New command "debug zebra kernel" is added.
472 2000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
474 * zebra-0.89 is released.
476 2000-09-24 Harald Welte <laforge@gnumonks.org>
478 * rt_netlink.c (netlink_interface_addr): Fix point-to-point address
479 treatment in netlink interface.
481 2000-09-21 David Lipovkov <dlipovkov@OpticalAccess.com>
483 * rib.c (rib_if_down): Pull static route only. Protocol daemon
484 must withdraw routes when interface goes down.
485 (rib_add_ipv4): Check nexthop when replace route.
487 2000-09-21 Kunihiro Ishiguro <kunihiro@zebra.org>
489 * if_ioctl.c (if_getaddrs): New function for looking up
490 interface's address by getifaddrs().
492 2000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
494 * connected.c (connected_delete_ipv4): Add check for connected
495 address is found or not.
496 (connected_add_ipv6): Reflect IPv6 connected address change to
498 (connected_delete_ipv6): Likewise.
500 2000-09-07 David Lipovkov <davidl@nbase.co.il>
502 * rib.c (rib_delete_ipv4): Reverted the change from pseudo
503 interface patch to original. Because ospfd deletes routes using
506 2000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
508 * zebra-0.88 is released.
510 2000-08-15 "Akihiro Mizutani" <mizutani@dml.com>
512 * rib.c (show_ip_route_protocol): Help string correction.
513 (show_ip_route_prefix): Check prefix mask.
514 (show_ip_route_vty_detail): Display distance and metric.
516 2000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
518 * zserv.c (zsend_interface_add): Change ifindex store size from
520 (zsend_interface_delete): Likewise.
521 (zsend_interface_address_add): Likewise.
522 (zsend_interface_address_delete): Likewise.
523 (zsend_interface_up): Likewise.
524 (zsend_interface_down): Likewise.
526 2000-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
528 * rib.c (rib_add_ipv4): Do not install distance 255 route.
530 2000-08-10 Toshiaki Takada <takada@zebra.org>
532 * interface.c (bandwidth_if), (no_bandwidth_if): Call
533 zebra_interface_up_update () instead of using if_up() and if_down().
535 2000-08-07 "Akihiro Mizutani" <mizutani@dml.com>
537 * interface.c (bandwidth_if): Fix help string.
539 2000-08-07 Matthew Grant <grantma@anathoth.gen.nz>
541 * interface.c (if_dump_vty): Display bandwidth value.
542 (bandwidth_if): New command "bandwidth <1-10000000>" is added.
543 When interface is up, force protocol daemons to recalculate routes
545 (no_bandwidth_if): Likewise.
546 (if_config_write): Output bandwidth configuration.
548 * zserv.c (zsend_interface_add): Send bandwidth value.
549 (zsend_interface_up): Likewise.
550 (zsend_interface_down): Likewise.
553 2000-08-07 Michael Rozhavsky <mike@nbase.co.il>
555 * rib.c (show_ip_route_protocol): "show ip route
556 (bgp|connected|kernel|ospf|rip|static)" is added.
558 2000-08-07 Kunihiro Ishiguro <kunihiro@zebra.org>
560 * rib.c (rib_lookup_ipv4_nexthop): Check parent node until IGP
562 (rib_add_ipv4_internal): Set fib ifindex to rib ifindex.
564 2000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
566 * redistribute.c (redistribute_delete): Fix bug of default route
567 redistribute treatment.
569 2000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
571 * rib.c (rib_init): Install ip_node in rib.c instead of zserv.c.
572 Change default distance value.
575 ------------------------------------------
584 bgp 70 200(iBGP) 20(eBGP)
585 ------------------------------------------
587 * zserv.c (client_lookup): Function removed.
588 (zsend_interface_add): Use client's output buffer. Check ifinfo
590 (zsend_interface_delete): Likewise.
591 Delete ipv4_static_radix and ipv6_static_radix.
593 2000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
595 * zserv.h (struct zebra_client): When client request interface
596 information, ifinfo is set.
598 * rib.c: Temporary Revert changes for pseudo interface.
604 * interface.c: Likewise.
606 2000-08-02 David Lipovkov <davidl@nbase.co.il>
608 * interface.c (zebra_if_init): Install interface "pseudo"
611 * rib.c (rib_create): ifname argument is added.
612 (rib_add_ipv4_pseudo): New function is added.
613 (rib_delete_ipv4_pseudo): Likewise.
615 * rib.h : Delete INTERFACE_UNKNOWN definition. Add prototype for
616 pseudo interface functions.
618 * rt_netlink.c (netlink_link_change): Check for pseudo interface.
620 * zserv.c (ip_route): When destination is pseudo interface, call
621 rib_add_ipv4_pseudo().
623 * zserv.c (no_ip_route): Trim "unknown" argument.
625 2000-07-26 kunitake@dti.ad.jp
627 * if_ioctl.c (if_get_hwaddr): Fix hardware address length from 8
630 * rtadv.c (rtadv_send_packet): Fix shift bug for hardware address.
632 2000-07-24 Akihiro Mizutani <mizutani@dml.com>
634 * interface.c: Use install_default() for common VTY commands.
636 2000-07-23 Kunihiro Ishiguro <kunihiro@zebra.org>
638 * if_ioctl.c (interface_list_ioctl): A interface list size is
639 calculated from ifreq->if_addr.sa_len. This is for OpenBSD.
641 * ioctl.c (if_get_mtu): Remove codes for SIOCGIFDATA.
643 2000-07-09 Chris Dunlop <chris@onthe.net.au>
645 * if_ioctl.c (if_get_index): Add check for HAVE_BROKEN_ALIASES.
647 2000-07-04 Kunihiro Ishiguro <kunihiro@zebra.org>
649 * zserv.c (zebra_client_read): Add ZEBRA_REDISTRIBUTE_{ADD,DELETE}
652 2000-07-02 David Lipovkov <davidl@nbase.co.il>
654 * zserv.c: "ip route A.B.C.D/M unknown" command is added.
656 2000-06-28 Michael Rozhavsky <mike@nbase.co.il>
658 * rib.c: Remove old kernel route when new route comes in.
660 2000-06-13 David Lipovkov <davidl@nbase.co.il>
662 * rib.c (rib_if_up): Add check for unknown interface.
664 2000-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
666 * rib.h: Define INTERFACE_UNKNOWN.
668 2000-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
670 * Makefile.am (EXTRA_DIST): Move irdp.c until implementation is
673 2000-06-05 David Lipovkov <davidl@nbase.co.il>
675 * interface.c (if_zebra_delete_hook): Call rib_if_delete().
677 * redistribute.c (zebra_interface_delete_update): New function.
679 * redistribute.h (zebra_interface_delete_update): New function
682 * rib.c (rib_if_delete): New function. Walk down all routes and
683 delete all on the interface.
685 * rib.h: New function prototype.
687 * rt_netlink.c (netlink_link_change): Call
688 zebra_interface_delete_update ().
690 2000-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
692 * if_ioctl.c (interface_info_ioctl): Check interface's flag before
693 checking interface's address.
695 2000-04-26 Jochen Friedrich <jochen@nwe.de>
697 * GNOME-PRODUCT-ZEBRA-MIB: New file.
699 * GNOME-SMI: New file.
701 2000-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
703 * irdp.c: New file from 1997 development code.
706 2000-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
708 * rtadv.c (rtadv_send_packet): Enclose router advertisement
709 logging with IS_ZEBRA_DEBUG_PACKET.
711 2000-04-17 Kunihiro Ishiguro <kunihiro@zebra.org>
713 * zserv.c (zebra_client_close): Remove client structure from
714 client_list when connection is terminated.
716 2000-03-21 David Lipovkov <davidl@nbase.co.il>
718 * connected.c (connected_add_ipv4): Allows all necessary structure
719 updates for connected route, but doesn't insert it into rib if
720 it's interface is down.
722 2000-01-21 Hideto Yamakawa <hideto.yamakawa@soliton.co.jp>
724 * rtread_getmsg.c: Set some definition for Solaris 2.5 and Solaris
727 2000-01-21 Kunihiro Ishiguro <kunihiro@zebra.org>
729 * rib.c (no_ipv6_route_ifname): Fix buf of cheking return value
730 from str2prefix_ipv6().
732 2000-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
734 * rt_socket.c: Revert to use RTF_HOST for IPv4 with /32 route and
735 IPv6 with /128 routes.
736 (kernel_rtm_ipv4): In case of /32 route's gateway is interface. It
737 should have mask for cloning.
739 1999-12-26 Jochen.Friedrich@genorz.de
741 * interface.c (if_dump_vty): Fix a bug of missing VTY_NEWLINE.
743 1999-12-23 Alex Zinin <zinin@amt.ru>
744 * interface.*: dynamic int up/down support
746 1999-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
748 * ipforward_proc.c (dropline): Move dropline() from lib/dropline.c
750 * rtread_proc.c (proc_route_read): Don't use dropline().
752 1999-12-08 Kunihiro Ishiguro <kunihiro@zebra.org>
754 * kernel_socket.c (rtm_read): When message is RTM_GET, it has own
757 1999-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
759 * main.c (main): Change to default log output to ZLOG_STDOUT.
761 * zserv.c (zebra_serv): More detailed error print.
763 1999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
765 * kernel_socket.c (rtm_read): Check old pid for static route
768 1999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
770 * interface.c (if_dump_vty): BSDI/OS uses 64bit for interface
773 * mtu_kvm.c: New file added.
775 1999-11-27 Vladimir B. Grebenschikov <vova@express.ru>
777 * kernel_socket.c (rtm_write): Set RTF_CLONING flag for
778 route to the directly connected interface.
780 1999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
782 * rt_socket.c: Delete USE_HOST_BIT definition.
784 1999-11-21 Michael Handler <handler@sub-rosa.com>
786 * rtread_getmsg.c: Undef some definition to resolve conflict.
788 1999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
790 * kernel_socket.c (rtm_write): Change to use pre stored struct_dl
791 value for gateway specification.
793 1999-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
795 * rt_socket.c (kernel_rtm_ipv4): Even mask is 32 under IPv4 or
796 128 under IPv6, don't use RTF_HOST.
798 1999-11-21 Kunihiro Ishiguro <kunihiro@zebra.org>
800 * Makefile.am (EXTRA_DIST): Add rtread_getmsg.c.
802 1999-11-21 Michael Handler <handler@sub-rosa.com>
804 * rtread_getmsg.c: Added for Solaris 2.6 support.
806 1999-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
808 * rtread_sysctl.c (rtm_read_route): RTM_DELETE handling added.
810 * rt_socket.c (kernel_read): Better BSD routing socket support.
812 1999-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
814 * client_main.c: Disable making obsolete zebra test `client'
817 1999-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
819 * zebra.c: Renamed to zserv.c.
821 * zebra.h: Global definitions are moved to lib/zebra.h. Then
824 1999-10-15 Jordan Mendelson <jordy@wserv.com>
826 * if_ioctl.c: Add Linux 2.2.X's alias support and dynamic
827 interface. Remove ugly MAX_INTERFACE handling codes.
829 1999-09-17 Satosi KOBAYASI <kobayasi@north.ad.jp>
831 * Fix serious bug of IPv6 route deletion.
833 1999-09-11 Kunihiro Ishiguro <kunihiro@zebra.org>
835 * ioctl.c (if_set_prefix): Properly set broadcast address.
837 1999-09-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
839 * rib.c (rib_add_ipv6, rib_delete_ipv6): now protocol daemons
840 can install connected route to kernel via zebra
842 1999-08-24 VOP <vop@unity.net>
844 * rib.c: Include "sockunion.h"
846 1999-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
848 * ipforward.h: New file.
850 * zebra.h: Obsolete message ZEBRA_GET_ALL_INTERFACE,
851 ZEBRA_GET_ONE_INTERFACE, ZEBRA_GET_HOSTINFO are deleted.
853 1999-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
855 * zebra.h (ZEBRA_INTERFACE_ADDRESS_ADD):
856 ZEBRA_INTERFACE_{ADD,DELETE} added.
858 1999-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
860 * rib.c: show ip route A.B.C.D works.
862 * zebra.c (zebra_read_ipv4): Add ifindex to zebra messages.
864 1999-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
866 * zebra.h: New Zebra message ZEBRA_INTERFACE_{ADD,DELETE} added.
868 1999-08-09 Kunihiro Ishiguro <kunihiro@zebra.org>
870 * interface.h: New file.
871 * Makefile.am: Add interface.h
873 1999-08-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
875 * redistribute.c (zebra_redistribute): give ifindex to client.
877 1999-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
879 * main.c (longopts): -k, --keep_kernel option added.
881 1999-07-18 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
883 * rt_socket.c (rtm_write): forgot closing socket bug fixed.
885 1999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
887 * rib.c (show_ipv6_cmd): if rib is link show interface name.
889 1999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
891 * rt_socket.c (rtm_write): use sockaddr_dl when null gateway.
893 1999-07-16 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
895 * rt_socket.c (rtm_write): ipv6 route table bug fixed.
897 1999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
899 * zebra.c (zebra_read_ipv6): read link prefix from ospf6 support
901 1999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
903 * rt_socket.c (kernel_rtm_ipv6): gate treatment bug fixed.
905 1999-07-15 Kunihiro Ishiguro <kunihiro@zebra.org>
907 * if_sysctl.c (ifm_read): Clear sockunion argument before fetching
908 data. Suggested by "Chris P. Ross" <cross@eng.us.uu.net>
910 1999-07-08 HEO SeonMeyong <seirios@Matrix.IRI.Co.Jp>
912 * interface.c (if_tun_add): Add KAME's gif tunnel setting codes.
914 1999-06-26 Kunihiro Ishiguro <kunihiro@zebra.org>
916 * zebra.c (zebra_serv): Only accept loopback address connection.
918 1999-06-25 Kunihiro Ishiguro <kunihiro@zebra.org>
920 * zebra.h (ZEBRA_ROUTE_EXTERNAL): Add zebra messages flags
922 1999-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
924 * ipforward_proc.c: ipforward_on () and ipforward_off () added.
926 1999-06-14 Kunihiro Ishiguro <kunihiro@zebra.org>
928 * ipforward_proc.c (ipforward_ipv6): Check for IPv6 forwarding
929 using /proc file system is added.
931 1999-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
933 * if_ioctl.c (if_get_index): Interface index set bug is fixed by
934 adding #else at the middle of function. Suggested by David Luyer
935 <luyer@ucs.uwa.edu.au>.
937 1999-05-29 <kunihiro@zebra.org>
939 * rt_ioctl.c: Comment out #include <linux/ipv6_route.h>.
941 1999-05-26 Kunihiro Ishiguro <kunihiro@zebra.org>
943 * zebra.h (ZEBRA_ROUTE_MAX): Add new define for the max value of
946 1999-05-25 Patrick Koppen <koppen@rhrk.uni-kl.de>
948 * rt_netlink.c (netlink_socket): Make netlink socket non-blocking.
949 (netlink_parse_info): If errno is EWOULDBLOCK then continue to
951 (netlink_talk): Likewise
953 1999-05-17 <kunihiro@zebra.org>
955 * redistribute.c (zebra_check_addr): Added for loopback address
958 1999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
960 * rt_netlink.c (netlink_route_change): Tempolary bypass ipv6 route
963 * Makefile.am (noinst_HEADERS): redistribute.h added.
965 * redistribute.h: New file.
967 1999-05-14 Stephen R. van den Berg <srb@cuci.nl>
969 * zebra.c (show_table): Show all table configuration DEFUN.
970 (config_table): Config table number DEFUN.
972 * rt_netlink.c: Add support for multiple routing table.
974 * rib.c (rib_weed_table): New function added for delete all
975 routes from specified routing table.
977 * main.c (signal_init): SIGTERM call sigint.
978 (sigint): Loggging more better message.
980 1999-05-09 Kunihiro Ishiguro <kunihiro@zebra.org>
982 * rt_netlink.c: Change log () to zlog ().
984 1999-05-07 <kunihiro@zebra.org>
986 * zebra.h (ZEBRA_ROUTE_OSPF6): Added for ospf6d route.
988 1999-04-20 Kunihiro Ishiguro <kunihiro@zebra.org>
990 * interface.c: Add `no ip address' command.
992 1999-04-10 Kunihiro Ishiguro <kunihiro@zebra.org>
994 * rt_netlink.c (kernel_read): Function added for asynchronous
995 zebra between kernel communication.
997 1999-03-25 Kunihiro Ishiguro <kunihiro@zebra.org>
999 * rtread_sysctl.c (rtm_read): Fix address memcopy overrun bug.
1000 Reported by Achim Patzner <ap@bnc.net>.
1002 1999-03-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1004 * Makefile.am: Install configuration sample with 600 permission.
1006 1999-03-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1008 * Makefile.am: Add -I.. to INCLUDES.
1010 1999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
1012 * syslog support added
1014 1999-02-17 Peter Galbavy <Peter.Galbavy@knowledge.com>
1016 * if_sysctl.c (interface_list): allocated memory free when unknown
1017 ifm_type is returned.
1019 * ioctl.c (if_get_mtu): added SIOCGIFDATA treatment.
1021 1998-12-15 Magnus Ahltorp <map@stacken.kth.se>
1023 * interface.c: Header include added.
1025 1998-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1027 * rt.h (kernel_delete_ipv6): change int index to unsigned int index.
1029 1998-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1031 * if_ioctl.c (interface_list_ioctl): interface flag must be
1032 checked before check addresses of the interface.
1034 1998-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1036 * Makefile.am (INCLUDES): add @INCLUDES@ for Linux IPv6.
1038 1998-10-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1040 * ioctl.c: Linux version before 2.1.0 need interface route setup.
1042 1998-09-15 HEO SeonMeyong <seirios@matrix.iri.co.jp>
1044 * change HYDRANGEA to KAME
1046 1998-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1048 * if_ioctl.c (if_addr_ioctl): set address family for getting
1049 interface's address.
1050 (if_get_index): silently return when can't get interface's index.
1052 1998-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1054 * main.c (main): batch mode option '-b' added.
1056 1998-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1058 * ioctl.c (if_set_prefix): add `ip address IPV4ADDR' command.
1059 * interface.c (shutdown_if): add interface shutdown and no
1062 1998-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1064 * rib.c (rib_add_ipv6): delete rib_add_in6.
1066 1998-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1068 * main.c: retain flag is added.
1070 1998-07-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1072 * rtable.[ch]: merged with rib.[ch]
1074 1998-07-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1076 * connected.h: renamed from ifa.h.
1078 1998-06-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1080 * rename if.c to interface.c
1081 * rename ifa.c to connected.c
1083 * Porting to Debian GNU/Linux 2.0 (hamm).
1085 1998-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1087 * rt_netlink.c: renamed from krt_netlink.c
1090 * rt_kvm.c: deleted.
1091 * rtread_getmsg.c: deleted.
1093 1998-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1095 * if.c (multicast): add multicast flag [un]set fucntion.
1097 1998-05-19 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1099 * rt_socket.c: Modify for compile on Solaris, but dont't work it.
1100 rt_socket.c have some undefined function, so add directive "IMPLEMENT"
1102 1998-05-18 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1104 * zebra.c: Modify for compile on Solaris.
1106 1998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1108 * main.c: change CONFDIR to SYSCONFDIR.
1110 1998-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1112 * .cvsignore: added.
1114 1998-04-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1116 * client.c: moves to ../lib.
1118 1998-03-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1120 * if_ioctl.c (if_get_addr): Change address copy from memcopy() to
1121 structure assignment.
1123 1998-03-30 URA Hiroshi <ura@yamato.ibm.co.jp>
1125 * if_sysctl.c (ifm_interface_add): sdl->sdl_data copy bug fixed.
1127 1998-02-23 "Hannes R. Boehm" <hannes@boehm.org>
1129 * if.c (if_init): add config_exit_cmd and config_help_cmd.
1131 1998-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
1133 * rt_ioctl.c (route_ioctl): EPERM treatment added.
1135 1998-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1137 * rt_socket.c (kernel_read): communication port zebra between
1138 kernel is now handled by kernel_read.
1140 1998-01-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1142 * main.c (main): zebra [-P port] can specify vty port number.
1144 1997-12-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1146 * zebra.c: change select will be block.
1148 1997-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1150 * add static route treatment.
1152 1997-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1154 * rt_netlink.c: add netlink support over GNU/Linux system.
1156 1997-11-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1158 * all inet_addr is changed to inet_aton.
1160 * zebra.c (ip_route): add ip route command for static routes.
1162 1997-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1164 * if.c (if_flag_dump): Linux port of if_flag_dump and _vty.
1166 1997-11-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1168 * if.c: add interface command.
1170 1997-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1172 * ipforward_proc.c : Now works on Linux.
1174 1997-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1176 * command.c : add completion feature.
1178 1997-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1180 * vty.c (vty_command): add vty interface.
1182 1997-10-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1184 * zebra.c: add verbose mode.
1186 1997-10-12 SonMyong Ho <s-ho@Matrix.IRI.Co.Jp>
1188 * Hydrangea for FreeBSD supported
1189 * in.h: add some prototype.
1191 1997-10-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1193 * rt_socket.c and rtread.c completely rewritten.
1195 1997-10-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1197 * rt_socket.c: rename kernel_sock to routing_socket
1199 1997-10-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1201 * if.c (if_new): interface structure change from linklist to vector.
1203 1997-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1205 * vector.c (vector_init): create vector related function
1207 1997-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1209 * Makefile.in: add tags target
1211 * start IPv6 support for INRIA FreeBSD.