1 2003-05-16 Gilad Arnold <gilad.arnold@terayon.com>
3 * zebra_rib.c: Fix memory leaks for ifname nexthops
5 2003-04-19 Israel Keys <ikeys@agile.tv>
7 * rt_netlink.c: BLOCK on netlink while initialising
9 2003-02-06 Francois Deppierraz <francois@ctrlaltdel.ch>
11 * rt_netlink.c (netlink_route_multipath): Set RTM_F_EQUALIZE when
14 2002-09-28 Akihiro Mizutani <mizutani@net-chef.net>
16 * zebra_rib.c (static_add_ipv4): Null0 static route is added.
18 2002-09-10 Jochen Friedrich <chris+zebra@scram.de>
20 * rt_netlink.c: Add check for EAGAIN.
21 * kernel_socket.c: Likewise
23 2002-06-12 Israel Keys <ikeys@oz.agile.tv>
25 * rt_netlink.c: Setting the NLM_F_ACK flag on the netlink command
26 message so that we get an ACK for successful netlink commands.
27 Change the netlink socket to BLOCKING while we wait for a
28 response; be it an ACK or an NLMSG_ERROR. Change
29 netlink_parse_info to deal with ACK messages.
31 2001-11-01 Jun-ichiro itojun Hagino <itojun@iijlab.net>
33 * rtadv.c (rtadv_make_socket): setsockopt(IPV6_CHECKSUM) does not
34 work for ICMPv6 socket.
36 2001-10-24 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
38 * rib.c (rib_process): Select connected route any case.
40 2001-10-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
42 * interface.c (no_ip_address_secondary): Add "no" to command.
44 2001-10-18 NOGUCHI Kay <kay@v6.access.co.jp>
46 * ioctl.c (if_prefix_add_ipv6): Set the prefered and valid lifetime
47 to infinity as the freebsd4.4 workaroud.
49 2001-08-26 mihail.balikov@interbgc.com
51 * zebra_snmp.c: Fix snmpwalk problem such as IPv4 address
54 2001-08-22 NOGUCHI Kay <kay@v6.access.co.jp>
56 * rtadv.c: Do not send RA to loopback interface.
58 2001-08-20 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
60 * ioctl.c (if_set_prefix): Remove Linux 2.0 specific connected
63 2001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
65 * zebra-0.92a released.
67 2001-08-17 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
69 * rib.c: Kernel route is treated as EGP routes in nexthop active
72 2001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
74 * zebra-0.92 released.
76 2001-08-08 "Akihiro Mizutani" <mizutani@dml.com>
78 * rib.c (show_ip_route_prefix_longer): Add longer-prefix option to
81 2001-07-29 Yon Uriarte <havanna_moon@gmx.net>
83 * zserv.c (zsend_ipv4_add_multipath): Add
84 NEXTHOP_TYPE_IPV4_IFINDEX check.
86 2001-07-29 NOGUCHI Kay <kay@v6.access.co.jp>
88 * rtadv.c: Apply valid lifetime, preferred lifetime, onilnk flag,
89 autonomous address-configuration flag patch.
90 (no_ipv6_nd_suppress_ra): Change "ipv6 nd send-ra" to "no ipv6 nd
93 2001-07-24 NOGUCHI Kay <kay@v6.access.co.jp>
95 * rtadv.c (ipv6_nd_ra_interval): Add "ipv6 nd ra-interval SECONDS"
98 2001-07-24 Jun-ichiro itojun Hagino <itojun@iijlab.net>
100 * rt_socket.c (kernel_rtm_ipv4): Add KAME/NetBSD151 equal cost
101 multicast FIB support both IPv4 and IPv6.
103 2001-07-24 Hal Snyder <hal@vailsys.com>
105 * if_ioctl.c (interface_list_ioctl): Fix bug of failing to get the
106 full list of interfaces on some configurations of OpenBSD.
108 2001-07-23 NOGUCHI Kay <kay@v6.access.co.jp>
110 * rtadv.c (ipv6_nd_send_ra): Apply [zebra 9320] to fix "ipv6 nd
112 (ipv6_nd_ra_lifetime): "ipv6 nd ra-lifetime 0" for default router
114 (ipv6_nd_managed_config_flag): "ipv6 nd managed-config-flag" is
116 (ipv6_nd_other_config_flag): "ipv6 nd other-config-flag" is added.
118 2001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
120 * ioctl.c (if_ioctl): Change ioctl argument from int to u_long.
122 * rt_ioctl.c: Likewise.
124 2001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
126 * kernel_socket.c (rtm_write): Only set RTF_CLONING when the
127 interface is not p2p.
129 2001-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
131 * ioctl.c (if_prefix_add_ipv6): Fix argument type.
133 2001-04-06 Toshiaki Takada <takada@zebra.org>
135 * zserv.c (zsend_interface_delete): Use client->obuf instead of
136 allocating new stream.
138 2001-03-10 Kunihiro Ishiguro <kunihiro@zebra.org>
140 * rt_netlink.c: Revert RTPROT_BOOT change.
142 2001-03-08 Kunihiro Ishiguro <kunihiro@zebra.org>
144 * rt_netlink.c (netlink_route_change): Skip RTPROT_BOOT route.
145 (netlink_routing_table): Likewise.
147 2001-03-07 "Akihiro Mizutani" <mizutani@dml.com>
149 * zserv.c (zsend_ipv4_add_multipath): Send metric value to
152 2001-02-18 Kunihiro Ishiguro <kunihiro@zebra.org>
154 * rt_netlink.c (netlink_routing_table): Do not return
155 tb[RTA_GATEWAY] is NULL. Reported by: "Michael O'Keefe"
156 <mokeefe@qualcomm.com>.
158 2001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
160 * if_ioctl.c (interface_list_ioctl): Call if_add_update().
161 Suggested by: Chris Dunlop <chris@onthe.net.au>.
163 2001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
165 * rib.c (nexthop_active_ipv4): When nexthop type is
166 NEXTHOP_TYPE_IPV4_IFINDEX, propery set the ifindex to rifindex.
168 * zserv.c: Initialize rtm_table_default with 0.
170 * zebra-0.91 is released.
172 2001-01-31 Kunihiro Ishiguro <kunihiro@zebra.org>
174 * kernel_socket.c (rtm_read): Filter cloned route. Suggested by:
175 Jun-ichiro itojun Hagino <itojun@iijlab.net>
177 2001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
179 * connected.c (connected_up_ipv6): When point-to-point destination
180 address is ::, use local address for connected network.
181 (connected_down_ipv6): Likewise.
183 2001-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
185 * zserv.c (zebra_serv): Add missing close() call. Reported by:
186 David Waitzman <djw@vineyard.net>.
188 2001-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
190 * rib.c (rib_lookup_ipv4): New function for checking exact match
193 2001-01-23 Kunihiro Ishiguro <kunihiro@zebra.org>
195 * rib.c (show_ipv6_route_protocol): Fix bug of "show ip route
198 2001-01-22 Kunihiro Ishiguro <kunihiro@zebra.org>
200 * interface.c (zebra_interface): Do not call
201 zebra_interface_add_update for inactive interface.
203 * zserv.c (zsend_interface_address_add): Send interface address
205 (zsend_interface_address_delete): Likewise.
207 2001-01-19 Kunihiro Ishiguro <kunihiro@zebra.org>
209 * interface.c (if_addr_add): Add flags.
211 * connected.c (ifa_add_ipv4): Add new function for interface
213 (ifa_delete_ipv4): Likewise.
215 2001-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
217 * rib.c (rib_update): Update IPv6 RIB.
219 * kernel_socket.c (ifam_read): Call if_refresh() for update
220 interface flag status. This is for implicit interface up on *BSD.
222 * interface.c (if_refresh): Add interface flag refresh function.
224 * kernel_socket.c (rtm_read): Fetch link-local address interface
226 (ifan_read): We need to fetch interface information. Suggested
227 by: Yasuhiro Ohara <yasu@sfc.wide.ad.jp>.
229 * rib.c (static_ipv6_nexthop_same): Add check for
230 NEXTHOP_TYPE_IPV6_IFNAME.
232 2001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
234 * rib.h (NEW_RIB): Turn on NEW_RIB flag. IPv6 new RIB code are
237 2001-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
239 * rib.c (static_ipv6_write): Display STATIC_IPV6_GATEWAY_IFNAME
241 (rib_delete_ipv6): Handle same route conter for IPv6 connected
243 (show_ipv6_route_protocol): New command.
244 (show_ipv6_route_addr): Likewise.
245 (show_ipv6_route_prefix): Likewise.
246 (rib_update): Sweep kernel route when it is cleaned up.
248 * rt_socket.c (kernel_add_ipv6): Add NEXTHOP_IPV6_IFNAME
251 * rt_netlink.c (kernel_init): Likewise.
253 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): Likewise.
255 * rib.c (rib_add_ipv4): Cope with same connected route on a
256 interface. Suggested by: Matthew Grant <grantma@anathoth.gen.nz>.
257 (nexthop_ipv6_ifname_add): Add NEXTHOP_IPV6_IFNAME treatmenet.
259 * rib.h (struct new_rib): Add refcnt to keep track on the
260 reference of same connected route.
262 * ioctl.c (if_set_prefix): Add check for GNU_LINUX.
264 2001-01-13 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
266 * kernel_socket.c (ifan_read, rtm_type_str): Add RTM_OIFINFO check.
267 (rtm_type_str): Add RTM_IFANNOUNCE check.
268 (ifan_read): New function.
269 (kernel_read): Add case for RTM_IFANNOUNCE.
271 2001-01-13 Kunihiro Ishiguro <kunihiro@zebra.org>
273 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): New function.
275 * rt_netlink.c (netlink_route_multipath): IPv6 address ifindex
278 * connected.c (connected_up_ipv6): Add dest value check.
280 * rib.c (nexthop_active_ipv6): Do not touch IPv6 nexthop's
282 (rib_add_ipv4): Import rib_add_ipv6() same route check code.
283 (nexthop_active_check): NEXTHOP_TYPE_IPV6_IFINDEX activity is only
286 * rt_socket.c (kernel_rtm_ipv6_multipath): New function.
288 * redistribute.c (redistribute_add): Use
289 zsend_ipv6_add_multipath().
290 (redistribute_delete_multipath): Use
291 zsend_ipv6_delete_multipath().
293 * interface.c (ip_address): Check current IP address to avoid
296 * rib.c (rib_delete_ipv4): When deleted route is connected route,
298 (rib_add_ipv4): When connected route is added do not perform
300 (rib_delete_ipv4): Check ifindex for connected route.
302 * kernel_socket.c (rtm_read): When route has RTF_STATIC, set
303 ZEBRA_FLAG_STATIC for indicate as persistent route.
304 (ifam_read): Unset interface index from link-local address when
307 * rib.c (rib_update): Do not delete persistent kernel route.
309 * rib.h (struct new_rib): Integrate RIB_FLAG_* to ZEBRA_FLAG_*.
311 * rt_socket.c (kernel_add_ipv6_multipath): Add placeholder.
312 (kernel_delete_ipv6_multipath): Likewise.
314 * rt_netlink.c (netlink_talk): Give struct nlsock to netlink_talk.
316 2001-01-12 Kunihiro Ishiguro <kunihiro@zebra.org>
318 * rib.c (rib_update): Revert Matthew Grant's patch
319 zebra_cvs_newribfix.patch. Use struct rib->ifindex for kernel
320 interface index. Introduce NEXTHOP_TYPE_IPV4_IFINDEX to support
321 that. Add support for address deletion situation.
323 2001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
325 * interface.c: Remove HAVE_IF_PSEUDO part.
329 * rt_netlink.c (netlink_link_change): Likewise.
331 2001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
333 * zserv.c: Remove OLD_RIB codes.
335 2001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
337 * zebra-0.90 is released.
339 2001-01-09 Matthew Grant <grantma@anathoth.gen.nz>
341 * interface.c (if_new_intern_ifindex): Allocate a new internal
343 (if_addr_refresh): Fix up ip addresses configured via zebra.
344 (if_add_update): Handle an interface addition.
345 (if_delete_update): Handle an interface delete event.
347 * rib.c (nexthop_ipv4_add): Add kernel route deletion process when
350 2001-01-08 Kunihiro Ishiguro <kunihiro@zebra.org>
352 * interface.c (if_dump_vty): When HAVE_NET_RT_IFLIST is defined,
353 NetBSD also use this function. Suggested by Jasper Wallace
354 <jasper@ivision.co.uk>.
356 2001-01-07 Kunihiro Ishiguro <kunihiro@zebra.org>
358 * rib.c (nexthop_active_ipv4): Move back to set methodo to old
361 2001-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
363 * rib.c (rib_add_ipv4): EBGP multihop set ZEBRA_FLAG_INTERNAL
366 2001-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
368 * rt_netlink.c (netlink_talk_ipv6): When IPv6 route message is
369 sent from netlink_cmd, the same message comes from netlink. To
370 avoid confusion, temporary netlink_talk_ipv6 use netlink.sock
371 instead of netlink_cmd.sock.
373 2001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
375 * zserv.h (ZEBRA_SERV_PATH): Change "/tmp/zebra" to "/tmp/.zebra".
376 Change "/tmp/zserv" to "/tmp/.zserv".
378 2000-12-29 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
380 * rt_netlink.c (struct nlsock): Divide kernel message into listen
381 socket and command socket.
382 (netlink_talk): Remove socket listen code. Use netlink_parse_info
383 for read kernel response.
385 2000-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
387 * rib.c (vty_show_ip_route): Show uptime of the RIP,OSPF,BGP
390 2000-12-27 Kunihiro Ishiguro <kunihiro@zebra.org>
392 * rt_netlink.c (netlink_route_multipath): Metric value is
393 reflected to kernel routing table.
395 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Likewise.
397 * kernel_socket.c (rtm_write): Likewise.
399 * rib.c (nexthop_active_ipv4): Only iBGP route perform recursive
402 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Add ioctl version of
403 new RIB implementation.
405 2000-12-26 Kunihiro Ishiguro <kunihiro@zebra.org>
407 * rib.h: Remove MULTIPATH_NUM. It is defined by configure script.
409 2000-12-25 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
411 * rib.c (rib_if_up): Call rib_fib_set instead of RIB_FIB_SET for
412 proper redistribution.
414 2000-12-19 Kunihiro Ishiguro <kunihiro@zebra.org>
416 * rib.c (nexthop_active_ipv4): Add self lookup nexthop check.
417 (show_ip_route_protocol): Support new RIB.
419 * rt_netlink.c (netlink_route_change): Do not return when gate is
422 2000-12-18 Kunihiro Ishiguro <kunihiro@zebra.org>
424 * rib.c (rib_lookup_ipv4_nexthop): IBGP nexthop check function is
426 (rib_add_ipv4): Free implicit withdraw route's RIB.
428 2000-12-15 Kunihiro Ishiguro <kunihiro@zebra.org>
430 * rib.c (nexthop_active_ipv4): Check indirect nexthop.
432 * redistribute.c (redistribute_add_multipath): Redistribution
433 works with new rib code.
435 2000-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
437 * rt_netlink.c (netlink_route_multipath): Check useful nexthop
439 (netlink_route_multipath): Clear rtnh_flags and rtnh_hops.
441 * rib.c (nexthop_active_update): Set flag for the rib's nexthop
443 (nexthop_active_check): Before checking interface is up, make it
444 sure the interface exist.
446 2000-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
448 * rib.c (ip_route): New RIB prototype.
450 2000-11-16 Yon Uriarte <ukl2@rz.uni-karlsruhe.de>
452 * zserv.c (zsend_interface_add): Send hardware address when
453 hw_addr_len is greater than 0.
455 2000-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
457 * connected.c (connected_up_ipv4): Fix ptop bug. The destination
458 network should be installed into routing table.
459 (connected_down_ipv4): Likewise.
460 (connected_add_ipv4): Change to use connected_up_ipv4.
461 (connected_delete_ipv4): Likewise.
463 2000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
465 * rt_netlink.c (netlink_interface_addr): Revert Harald Welte
466 <laforge@gnumonks.org>'s ptop patch then back to original code to
467 avoid duplicated connected route problem. Suggested by Frank van
468 Maarseveen <F.vanMaarseveen@inter.NL.net>.
470 * kernel_socket.c (rtm_read): Make behavior consistent even #ifdef
471 DEBUG is defined. Reported by Jun-ichiro itojun Hagino
474 2000-10-23 Jochen Friedrich <jochen@scram.de>
476 * main.c (main): Call zebra_snmp_init() when it is enabled.
478 2000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org>
480 * zserv.c (zebra_serv_un): UNIX domain socket server of zebra
483 2000-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
485 * rib.c (rib_add_ipv4): Same check bug is fixed.
487 2000-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
489 * rib.c (rib_if_down): Remove kernel route when the interface goes
492 * debug.c: New command "debug zebra kernel" is added.
494 2000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
496 * zebra-0.89 is released.
498 2000-09-24 Harald Welte <laforge@gnumonks.org>
500 * rt_netlink.c (netlink_interface_addr): Fix point-to-point address
501 treatment in netlink interface.
503 2000-09-21 David Lipovkov <dlipovkov@OpticalAccess.com>
505 * rib.c (rib_if_down): Pull static route only. Protocol daemon
506 must withdraw routes when interface goes down.
507 (rib_add_ipv4): Check nexthop when replace route.
509 2000-09-21 Kunihiro Ishiguro <kunihiro@zebra.org>
511 * if_ioctl.c (if_getaddrs): New function for looking up
512 interface's address by getifaddrs().
514 2000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
516 * connected.c (connected_delete_ipv4): Add check for connected
517 address is found or not.
518 (connected_add_ipv6): Reflect IPv6 connected address change to
520 (connected_delete_ipv6): Likewise.
522 2000-09-07 David Lipovkov <davidl@nbase.co.il>
524 * rib.c (rib_delete_ipv4): Reverted the change from pseudo
525 interface patch to original. Because ospfd deletes routes using
528 2000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
530 * zebra-0.88 is released.
532 2000-08-15 "Akihiro Mizutani" <mizutani@dml.com>
534 * rib.c (show_ip_route_protocol): Help string correction.
535 (show_ip_route_prefix): Check prefix mask.
536 (show_ip_route_vty_detail): Display distance and metric.
538 2000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
540 * zserv.c (zsend_interface_add): Change ifindex store size from
542 (zsend_interface_delete): Likewise.
543 (zsend_interface_address_add): Likewise.
544 (zsend_interface_address_delete): Likewise.
545 (zsend_interface_up): Likewise.
546 (zsend_interface_down): Likewise.
548 2000-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
550 * rib.c (rib_add_ipv4): Do not install distance 255 route.
552 2000-08-10 Toshiaki Takada <takada@zebra.org>
554 * interface.c (bandwidth_if), (no_bandwidth_if): Call
555 zebra_interface_up_update () instead of using if_up() and if_down().
557 2000-08-07 "Akihiro Mizutani" <mizutani@dml.com>
559 * interface.c (bandwidth_if): Fix help string.
561 2000-08-07 Matthew Grant <grantma@anathoth.gen.nz>
563 * interface.c (if_dump_vty): Display bandwidth value.
564 (bandwidth_if): New command "bandwidth <1-10000000>" is added.
565 When interface is up, force protocol daemons to recalculate routes
567 (no_bandwidth_if): Likewise.
568 (if_config_write): Output bandwidth configuration.
570 * zserv.c (zsend_interface_add): Send bandwidth value.
571 (zsend_interface_up): Likewise.
572 (zsend_interface_down): Likewise.
575 2000-08-07 Michael Rozhavsky <mike@nbase.co.il>
577 * rib.c (show_ip_route_protocol): "show ip route
578 (bgp|connected|kernel|ospf|rip|static)" is added.
580 2000-08-07 Kunihiro Ishiguro <kunihiro@zebra.org>
582 * rib.c (rib_lookup_ipv4_nexthop): Check parent node until IGP
584 (rib_add_ipv4_internal): Set fib ifindex to rib ifindex.
586 2000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
588 * redistribute.c (redistribute_delete): Fix bug of default route
589 redistribute treatment.
591 2000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
593 * rib.c (rib_init): Install ip_node in rib.c instead of zserv.c.
594 Change default distance value.
597 ------------------------------------------
606 bgp 70 200(iBGP) 20(eBGP)
607 ------------------------------------------
609 * zserv.c (client_lookup): Function removed.
610 (zsend_interface_add): Use client's output buffer. Check ifinfo
612 (zsend_interface_delete): Likewise.
613 Delete ipv4_static_radix and ipv6_static_radix.
615 2000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
617 * zserv.h (struct zebra_client): When client request interface
618 information, ifinfo is set.
620 * rib.c: Temporary Revert changes for pseudo interface.
626 * interface.c: Likewise.
628 2000-08-02 David Lipovkov <davidl@nbase.co.il>
630 * interface.c (zebra_if_init): Install interface "pseudo"
633 * rib.c (rib_create): ifname argument is added.
634 (rib_add_ipv4_pseudo): New function is added.
635 (rib_delete_ipv4_pseudo): Likewise.
637 * rib.h : Delete INTERFACE_UNKNOWN definition. Add prototype for
638 pseudo interface functions.
640 * rt_netlink.c (netlink_link_change): Check for pseudo interface.
642 * zserv.c (ip_route): When destination is pseudo interface, call
643 rib_add_ipv4_pseudo().
645 * zserv.c (no_ip_route): Trim "unknown" argument.
647 2000-07-26 kunitake@dti.ad.jp
649 * if_ioctl.c (if_get_hwaddr): Fix hardware address length from 8
652 * rtadv.c (rtadv_send_packet): Fix shift bug for hardware address.
654 2000-07-24 Akihiro Mizutani <mizutani@dml.com>
656 * interface.c: Use install_default() for common VTY commands.
658 2000-07-23 Kunihiro Ishiguro <kunihiro@zebra.org>
660 * if_ioctl.c (interface_list_ioctl): A interface list size is
661 calculated from ifreq->if_addr.sa_len. This is for OpenBSD.
663 * ioctl.c (if_get_mtu): Remove codes for SIOCGIFDATA.
665 2000-07-09 Chris Dunlop <chris@onthe.net.au>
667 * if_ioctl.c (if_get_index): Add check for HAVE_BROKEN_ALIASES.
669 2000-07-04 Kunihiro Ishiguro <kunihiro@zebra.org>
671 * zserv.c (zebra_client_read): Add ZEBRA_REDISTRIBUTE_{ADD,DELETE}
674 2000-07-02 David Lipovkov <davidl@nbase.co.il>
676 * zserv.c: "ip route A.B.C.D/M unknown" command is added.
678 2000-06-28 Michael Rozhavsky <mike@nbase.co.il>
680 * rib.c: Remove old kernel route when new route comes in.
682 2000-06-13 David Lipovkov <davidl@nbase.co.il>
684 * rib.c (rib_if_up): Add check for unknown interface.
686 2000-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
688 * rib.h: Define INTERFACE_UNKNOWN.
690 2000-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
692 * Makefile.am (EXTRA_DIST): Move irdp.c until implementation is
695 2000-06-05 David Lipovkov <davidl@nbase.co.il>
697 * interface.c (if_zebra_delete_hook): Call rib_if_delete().
699 * redistribute.c (zebra_interface_delete_update): New function.
701 * redistribute.h (zebra_interface_delete_update): New function
704 * rib.c (rib_if_delete): New function. Walk down all routes and
705 delete all on the interface.
707 * rib.h: New function prototype.
709 * rt_netlink.c (netlink_link_change): Call
710 zebra_interface_delete_update ().
712 2000-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
714 * if_ioctl.c (interface_info_ioctl): Check interface's flag before
715 checking interface's address.
717 2000-04-26 Jochen Friedrich <jochen@nwe.de>
719 * GNOME-PRODUCT-ZEBRA-MIB: New file.
721 * GNOME-SMI: New file.
723 2000-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
725 * irdp.c: New file from 1997 development code.
728 2000-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
730 * rtadv.c (rtadv_send_packet): Enclose router advertisement
731 logging with IS_ZEBRA_DEBUG_PACKET.
733 2000-04-17 Kunihiro Ishiguro <kunihiro@zebra.org>
735 * zserv.c (zebra_client_close): Remove client structure from
736 client_list when connection is terminated.
738 2000-03-21 David Lipovkov <davidl@nbase.co.il>
740 * connected.c (connected_add_ipv4): Allows all necessary structure
741 updates for connected route, but doesn't insert it into rib if
742 it's interface is down.
744 2000-01-21 Hideto Yamakawa <hideto.yamakawa@soliton.co.jp>
746 * rtread_getmsg.c: Set some definition for Solaris 2.5 and Solaris
749 2000-01-21 Kunihiro Ishiguro <kunihiro@zebra.org>
751 * rib.c (no_ipv6_route_ifname): Fix buf of cheking return value
752 from str2prefix_ipv6().
754 2000-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
756 * rt_socket.c: Revert to use RTF_HOST for IPv4 with /32 route and
757 IPv6 with /128 routes.
758 (kernel_rtm_ipv4): In case of /32 route's gateway is interface. It
759 should have mask for cloning.
761 1999-12-26 Jochen.Friedrich@genorz.de
763 * interface.c (if_dump_vty): Fix a bug of missing VTY_NEWLINE.
765 1999-12-23 Alex Zinin <zinin@amt.ru>
766 * interface.*: dynamic int up/down support
768 1999-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
770 * ipforward_proc.c (dropline): Move dropline() from lib/dropline.c
772 * rtread_proc.c (proc_route_read): Don't use dropline().
774 1999-12-08 Kunihiro Ishiguro <kunihiro@zebra.org>
776 * kernel_socket.c (rtm_read): When message is RTM_GET, it has own
779 1999-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
781 * main.c (main): Change to default log output to ZLOG_STDOUT.
783 * zserv.c (zebra_serv): More detailed error print.
785 1999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
787 * kernel_socket.c (rtm_read): Check old pid for static route
790 1999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
792 * interface.c (if_dump_vty): BSDI/OS uses 64bit for interface
795 * mtu_kvm.c: New file added.
797 1999-11-27 Vladimir B. Grebenschikov <vova@express.ru>
799 * kernel_socket.c (rtm_write): Set RTF_CLONING flag for
800 route to the directly connected interface.
802 1999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
804 * rt_socket.c: Delete USE_HOST_BIT definition.
806 1999-11-21 Michael Handler <handler@sub-rosa.com>
808 * rtread_getmsg.c: Undef some definition to resolve conflict.
810 1999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
812 * kernel_socket.c (rtm_write): Change to use pre stored struct_dl
813 value for gateway specification.
815 1999-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
817 * rt_socket.c (kernel_rtm_ipv4): Even mask is 32 under IPv4 or
818 128 under IPv6, don't use RTF_HOST.
820 1999-11-21 Kunihiro Ishiguro <kunihiro@zebra.org>
822 * Makefile.am (EXTRA_DIST): Add rtread_getmsg.c.
824 1999-11-21 Michael Handler <handler@sub-rosa.com>
826 * rtread_getmsg.c: Added for Solaris 2.6 support.
828 1999-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
830 * rtread_sysctl.c (rtm_read_route): RTM_DELETE handling added.
832 * rt_socket.c (kernel_read): Better BSD routing socket support.
834 1999-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
836 * client_main.c: Disable making obsolete zebra test `client'
839 1999-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
841 * zebra.c: Renamed to zserv.c.
843 * zebra.h: Global definitions are moved to lib/zebra.h. Then
846 1999-10-15 Jordan Mendelson <jordy@wserv.com>
848 * if_ioctl.c: Add Linux 2.2.X's alias support and dynamic
849 interface. Remove ugly MAX_INTERFACE handling codes.
851 1999-09-17 Satosi KOBAYASI <kobayasi@north.ad.jp>
853 * Fix serious bug of IPv6 route deletion.
855 1999-09-11 Kunihiro Ishiguro <kunihiro@zebra.org>
857 * ioctl.c (if_set_prefix): Properly set broadcast address.
859 1999-09-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
861 * rib.c (rib_add_ipv6, rib_delete_ipv6): now protocol daemons
862 can install connected route to kernel via zebra
864 1999-08-24 VOP <vop@unity.net>
866 * rib.c: Include "sockunion.h"
868 1999-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
870 * ipforward.h: New file.
872 * zebra.h: Obsolete message ZEBRA_GET_ALL_INTERFACE,
873 ZEBRA_GET_ONE_INTERFACE, ZEBRA_GET_HOSTINFO are deleted.
875 1999-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
877 * zebra.h (ZEBRA_INTERFACE_ADDRESS_ADD):
878 ZEBRA_INTERFACE_{ADD,DELETE} added.
880 1999-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
882 * rib.c: show ip route A.B.C.D works.
884 * zebra.c (zebra_read_ipv4): Add ifindex to zebra messages.
886 1999-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
888 * zebra.h: New Zebra message ZEBRA_INTERFACE_{ADD,DELETE} added.
890 1999-08-09 Kunihiro Ishiguro <kunihiro@zebra.org>
892 * interface.h: New file.
893 * Makefile.am: Add interface.h
895 1999-08-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
897 * redistribute.c (zebra_redistribute): give ifindex to client.
899 1999-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
901 * main.c (longopts): -k, --keep_kernel option added.
903 1999-07-18 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
905 * rt_socket.c (rtm_write): forgot closing socket bug fixed.
907 1999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
909 * rib.c (show_ipv6_cmd): if rib is link show interface name.
911 1999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
913 * rt_socket.c (rtm_write): use sockaddr_dl when null gateway.
915 1999-07-16 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
917 * rt_socket.c (rtm_write): ipv6 route table bug fixed.
919 1999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
921 * zebra.c (zebra_read_ipv6): read link prefix from ospf6 support
923 1999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
925 * rt_socket.c (kernel_rtm_ipv6): gate treatment bug fixed.
927 1999-07-15 Kunihiro Ishiguro <kunihiro@zebra.org>
929 * if_sysctl.c (ifm_read): Clear sockunion argument before fetching
930 data. Suggested by "Chris P. Ross" <cross@eng.us.uu.net>
932 1999-07-08 HEO SeonMeyong <seirios@Matrix.IRI.Co.Jp>
934 * interface.c (if_tun_add): Add KAME's gif tunnel setting codes.
936 1999-06-26 Kunihiro Ishiguro <kunihiro@zebra.org>
938 * zebra.c (zebra_serv): Only accept loopback address connection.
940 1999-06-25 Kunihiro Ishiguro <kunihiro@zebra.org>
942 * zebra.h (ZEBRA_ROUTE_EXTERNAL): Add zebra messages flags
944 1999-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
946 * ipforward_proc.c: ipforward_on () and ipforward_off () added.
948 1999-06-14 Kunihiro Ishiguro <kunihiro@zebra.org>
950 * ipforward_proc.c (ipforward_ipv6): Check for IPv6 forwarding
951 using /proc file system is added.
953 1999-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
955 * if_ioctl.c (if_get_index): Interface index set bug is fixed by
956 adding #else at the middle of function. Suggested by David Luyer
957 <luyer@ucs.uwa.edu.au>.
959 1999-05-29 <kunihiro@zebra.org>
961 * rt_ioctl.c: Comment out #include <linux/ipv6_route.h>.
963 1999-05-26 Kunihiro Ishiguro <kunihiro@zebra.org>
965 * zebra.h (ZEBRA_ROUTE_MAX): Add new define for the max value of
968 1999-05-25 Patrick Koppen <koppen@rhrk.uni-kl.de>
970 * rt_netlink.c (netlink_socket): Make netlink socket non-blocking.
971 (netlink_parse_info): If errno is EWOULDBLOCK then continue to
973 (netlink_talk): Likewise
975 1999-05-17 <kunihiro@zebra.org>
977 * redistribute.c (zebra_check_addr): Added for loopback address
980 1999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
982 * rt_netlink.c (netlink_route_change): Tempolary bypass ipv6 route
985 * Makefile.am (noinst_HEADERS): redistribute.h added.
987 * redistribute.h: New file.
989 1999-05-14 Stephen R. van den Berg <srb@cuci.nl>
991 * zebra.c (show_table): Show all table configuration DEFUN.
992 (config_table): Config table number DEFUN.
994 * rt_netlink.c: Add support for multiple routing table.
996 * rib.c (rib_weed_table): New function added for delete all
997 routes from specified routing table.
999 * main.c (signal_init): SIGTERM call sigint.
1000 (sigint): Loggging more better message.
1002 1999-05-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1004 * rt_netlink.c: Change log () to zlog ().
1006 1999-05-07 <kunihiro@zebra.org>
1008 * zebra.h (ZEBRA_ROUTE_OSPF6): Added for ospf6d route.
1010 1999-04-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1012 * interface.c: Add `no ip address' command.
1014 1999-04-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1016 * rt_netlink.c (kernel_read): Function added for asynchronous
1017 zebra between kernel communication.
1019 1999-03-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1021 * rtread_sysctl.c (rtm_read): Fix address memcopy overrun bug.
1022 Reported by Achim Patzner <ap@bnc.net>.
1024 1999-03-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1026 * Makefile.am: Install configuration sample with 600 permission.
1028 1999-03-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1030 * Makefile.am: Add -I.. to INCLUDES.
1032 1999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
1034 * syslog support added
1036 1999-02-17 Peter Galbavy <Peter.Galbavy@knowledge.com>
1038 * if_sysctl.c (interface_list): allocated memory free when unknown
1039 ifm_type is returned.
1041 * ioctl.c (if_get_mtu): added SIOCGIFDATA treatment.
1043 1998-12-15 Magnus Ahltorp <map@stacken.kth.se>
1045 * interface.c: Header include added.
1047 1998-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1049 * rt.h (kernel_delete_ipv6): change int index to unsigned int index.
1051 1998-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1053 * if_ioctl.c (interface_list_ioctl): interface flag must be
1054 checked before check addresses of the interface.
1056 1998-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1058 * Makefile.am (INCLUDES): add @INCLUDES@ for Linux IPv6.
1060 1998-10-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1062 * ioctl.c: Linux version before 2.1.0 need interface route setup.
1064 1998-09-15 HEO SeonMeyong <seirios@matrix.iri.co.jp>
1066 * change HYDRANGEA to KAME
1068 1998-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1070 * if_ioctl.c (if_addr_ioctl): set address family for getting
1071 interface's address.
1072 (if_get_index): silently return when can't get interface's index.
1074 1998-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1076 * main.c (main): batch mode option '-b' added.
1078 1998-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1080 * ioctl.c (if_set_prefix): add `ip address IPV4ADDR' command.
1081 * interface.c (shutdown_if): add interface shutdown and no
1084 1998-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1086 * rib.c (rib_add_ipv6): delete rib_add_in6.
1088 1998-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1090 * main.c: retain flag is added.
1092 1998-07-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1094 * rtable.[ch]: merged with rib.[ch]
1096 1998-07-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1098 * connected.h: renamed from ifa.h.
1100 1998-06-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1102 * rename if.c to interface.c
1103 * rename ifa.c to connected.c
1105 * Porting to Debian GNU/Linux 2.0 (hamm).
1107 1998-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1109 * rt_netlink.c: renamed from krt_netlink.c
1112 * rt_kvm.c: deleted.
1113 * rtread_getmsg.c: deleted.
1115 1998-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1117 * if.c (multicast): add multicast flag [un]set fucntion.
1119 1998-05-19 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1121 * rt_socket.c: Modify for compile on Solaris, but dont't work it.
1122 rt_socket.c have some undefined function, so add directive "IMPLEMENT"
1124 1998-05-18 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1126 * zebra.c: Modify for compile on Solaris.
1128 1998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1130 * main.c: change CONFDIR to SYSCONFDIR.
1132 1998-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1134 * .cvsignore: added.
1136 1998-04-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1138 * client.c: moves to ../lib.
1140 1998-03-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1142 * if_ioctl.c (if_get_addr): Change address copy from memcopy() to
1143 structure assignment.
1145 1998-03-30 URA Hiroshi <ura@yamato.ibm.co.jp>
1147 * if_sysctl.c (ifm_interface_add): sdl->sdl_data copy bug fixed.
1149 1998-02-23 "Hannes R. Boehm" <hannes@boehm.org>
1151 * if.c (if_init): add config_exit_cmd and config_help_cmd.
1153 1998-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
1155 * rt_ioctl.c (route_ioctl): EPERM treatment added.
1157 1998-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1159 * rt_socket.c (kernel_read): communication port zebra between
1160 kernel is now handled by kernel_read.
1162 1998-01-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1164 * main.c (main): zebra [-P port] can specify vty port number.
1166 1997-12-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1168 * zebra.c: change select will be block.
1170 1997-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1172 * add static route treatment.
1174 1997-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1176 * rt_netlink.c: add netlink support over GNU/Linux system.
1178 1997-11-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1180 * all inet_addr is changed to inet_aton.
1182 * zebra.c (ip_route): add ip route command for static routes.
1184 1997-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1186 * if.c (if_flag_dump): Linux port of if_flag_dump and _vty.
1188 1997-11-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1190 * if.c: add interface command.
1192 1997-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1194 * ipforward_proc.c : Now works on Linux.
1196 1997-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1198 * command.c : add completion feature.
1200 1997-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1202 * vty.c (vty_command): add vty interface.
1204 1997-10-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1206 * zebra.c: add verbose mode.
1208 1997-10-12 SonMyong Ho <s-ho@Matrix.IRI.Co.Jp>
1210 * Hydrangea for FreeBSD supported
1211 * in.h: add some prototype.
1213 1997-10-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1215 * rt_socket.c and rtread.c completely rewritten.
1217 1997-10-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1219 * rt_socket.c: rename kernel_sock to routing_socket
1221 1997-10-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1223 * if.c (if_new): interface structure change from linklist to vector.
1225 1997-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1227 * vector.c (vector_init): create vector related function
1229 1997-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1231 * Makefile.in: add tags target
1233 * start IPv6 support for INRIA FreeBSD.