1 2005-03-06 Hasso Tepper <hasso at quagga.net>
3 * interface.c: Fix CRC and frame errors statistics in Linux.
5 2005-02-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
7 * zserv.c: Must include network.h and buffer.h for non-blocking I/O.
8 Remove global message_queue and t_write (need separate buffering for
10 (zebra_server_dequeue,zebra_server_enqueue) Remove functions
11 related to old buggy buffering code.
12 (zserv_delayed_close) New thread callback function to delete a client.
13 (zserv_flush_data) New thread callback function to flush buffered
15 (zebra_server_send_message) Rewritten to use buffer_write (so
16 buffering of writes and non-blocking I/O work properly).
17 (zsend_interface_add,zsend_interface_delete,zsend_interface_address,
18 zsend_interface_update) Return 0 instead of -1 if !client->ifinfo
19 (this is not really an error). Return value from
20 zebra_server_send_message.
21 (zsend_route_multipath,zsend_ipv4_nexthop_lookup,
22 zsend_ipv4_import_lookup) Return value from zebra_server_send_message.
23 (zsend_ipv6_nexthop_lookup) Fix scope to static, and return value
24 from zebra_server_send_message.
25 (zsend_router_id_update) Must use zebra_server_send_message instead
26 of deprecated writen function. Return 0 instead of -1 if this client
27 is not subscribed to router-id updates (since this is not really
29 (zread_interface_add) Change type to static int. If
30 zsend_interface_add fails or zsend_interface_address fails, return -1
31 immediately (since the client has had an I/O error).
32 (zread_interface_delete,zread_ipv4_add,zread_ipv4_delete,
33 zread_ipv6_add,zread_ipv6_delete,zread_router_id_delete) Return 0
35 (zread_ipv4_nexthop_lookup) Return value from
36 zsend_ipv4_nexthop_lookup.
37 (zread_ipv4_import_lookup) Return value from zsend_ipv4_import_lookup.
38 (zebra_read_ipv6) Remove unused function.
39 (zread_ipv6_nexthop_lookup) Return value from
40 zsend_ipv6_nexthop_lookup.
41 (zread_router_id_add) Return value from zsend_router_id_update.
42 (zebra_client_close) Call buffer_free(client->wb) and
43 thread_cancel(client->t_suicide).
44 (zebra_client_create) Allocate client->wb using buffer_new.
45 (zebra_client_read) Support non-blocking I/O by using stream_read_try.
46 Use ZEBRA_HEADER_SIZE instead of 3.
47 (zebra_accept) Fix bug: reset accept thread at top. Make client
48 socket non-blocking using the set_nonblocking function.
49 (config_write_forwarding) Fix scope to static.
50 (zebra_init) Remove initialization code for old buggy write buffering.
51 * zserv.h: Add 2 new fields to struct zserv: struct buffer *wb
52 (to enable buffered writes with non-blocking I/), and
53 struct thread *t_suicide to support delayed close on I/O
55 * router-id.h: Remove prototypes for zread_router_id_add and
56 zread_router_id_delete (their scope should be static to zserv.c).
58 2005-02-24 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
60 * redistribute.c: (zebra_check_addr,is_default,
61 zebra_redistribute_default,zebra_redistribute) Fix scope to be static.
63 2005-02-20 Hasso Tepper <hasso at quagga.net>
65 * rt_netlink.c: Don't show messages "ignoring message type 0x001[89]"
66 if we are not debugging.
68 2005-02-19 Paul Jakma <paul@dishone.st>
70 * zserv.c: (zebra_read_ipv6) replace the char * arithmetic with
73 2005-02-14 Paul Jakma <paul@dishone.st>
75 * Not all Linux netlink systems have IFLA_WIRELESS
77 2005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
79 * ioctl.c: (if_ioctl,if_ioctl_ipv6,if_get_flags) Replace perror with
81 * ioctl_solaris.c: (if_ioctl,if_ioctl_ipv6) Replace perror with
84 2005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
86 * if_ioctl_solaris.c: (interface_list_ioctl) Save errno before calling
88 * ioctl{,_solaris}.c: (if_ioctl,if_ioctl_ipv6) Save errno before calling
90 * ipforward_solaris.c: (solaris_nd) Save errno before calling
92 * irdp_main.c: (irdp_sock_init) Save errno before calling
95 2005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
97 * rt_netlink.c: (netlink_socket,netlink_request,netlink_parse_info,
98 netlink_talk) Save errno before calling zserv_privs.change.
100 2005-01-24 Martin Pot <mpot at martybugs.net>
102 * zebra/rt_netlink.c: ignore wireless newlink netlink messages.
104 2005-01-18 Hasso Tepper <hasso at quagga.net>
106 * interface.c: Better statistics output in "show interface" command in
107 case of /proc being used.
109 2005-01-17 Hasso Tepper <hasso at quagga.net>
111 * main.c: With --nl-bufsize argument is required.
113 2005-01-05 Paul Jakma <paul@dishone.st>
115 * zserv.c: (zebra_accept) Comment out setting of socket to NONBLOCK
116 for now, as we dont actually deal with with resending.... See
117 bugzilla #122, fix from wawa@yandex-team.ru (Vladimir Ivanov).
118 * kernel_socket.c: (routing_socket) ditto.
120 2005-01-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
122 * rtadv.c: (rtadv_recv_packet,rtadv_send_packet) Use ZCMSG_FIRSTHDR
123 instead of CMSG_FIRSTHDR.
125 2004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
127 * connected.c: (connected_add_ipv4) Limit warning about /32 addresses
128 with no peer specified to PtP interfaces only.
130 2004-12-18 Hasso Tepper <hasso at quagga.net>
132 * zebra_vty.c: Fix "show ipv6 route <proto>" command help and make it
133 work for isis routes.
135 2004-12-09 Greg Troxel <gdt@fnord.ir.bbn.com>
137 * kernel_socket.c (rtmsg_debug): char * => const char *
139 2004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
141 * *.c: Change level of debug messages to LOG_DEBUG.
143 2004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
145 * main.c: (main) The 2nd argument to openzlog has been removed.
146 So stdout logging will no longer be enabled by default.
147 * irdp_main.c: (irdp_finish) Reduce severity of shutdown message
148 from LOG_WARNING to LOG_INFO.
150 2004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
152 * main.c: (sigint) Use zlog_notice for termination message.
153 (main) Add a startup announcement using zlog_notice.
155 2004-11-25 Hasso Tepper <hasso at quagga.net>
157 * irdp_interface.c: Remove comment from DEFUN, it breaks vtysh because
158 it confuses extract.pl.
159 * main.c: Make group to run as configurable.
161 2004-10-28 Hasso Tepper <hasso at quagga.net>
163 * interface.c: Remove dead "ip tunnel" command.
165 2004-10-22 Paul Jakma <paul@dishone.st>
167 * irdp_main.c: change setsockopt_pktinfo to setsockopt_ifindex
169 2004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
171 * rt_netlink.c: (netlink_interface_addr) For PtP interfaces, ignore
172 tb[IFA_ADDRESS] if it's the same as tb[IFA_LOCAL].
173 * interface.c: (ip_address_install) Use new ipv4_broadcast_addr
175 * connected.c: (connected_up_ipv4) Use CONNECTED_POINTOPOINT_HOST
177 (connected_down_ipv4) ditto.
178 (connected_add_ipv4) Validate destination address, print warnings
179 if it does not make sense.
181 2004-10-19 Hasso Tepper <hasso at quagga.net>
183 * zserv.c: Fix regression introduced with zserv cleanup.
185 2004-10-13 Hasso Tepper <hasso at quagga.net>
187 * zebra_snmp.c: Remove defaults used to initialize smux connection to
188 snmpd. Connection is initialized only if smux peer is configured.
189 * zserv.c: Remove useless warnings "forwarding is already on".
191 2004-10-12 Hasso Tepper <hasso at quagga.net>
193 * zebra_vty.c: Unbreak "show ip route" command help and make it work
195 * interface.c(if_dump_vty): Show IPv6 addresses in "show interface"
196 output. Fixes Bugzilla #119.
197 * *.c: Make some strings const and some (unsigned) casts to fix
200 2004-10-07 Hasso Tepper <hasso at quagga.net>
202 * connected.c, main.c, rt_netlink.c, rtadv.c, zebra_rib.c, zserv.c:
203 Fix warnings: make strings const, signed -> unsigned.
205 2004-10-05 Paul Jakma <paul@dishone.st>
207 * irdp_packet.c: (parse_irdp_packet) style issues.
208 Use sockopt_iphdrincl_swab_systoh.
209 Try unbork the code. Checksum the ICMP data and actually
210 compare it to received checksum. Check data length against
211 claimed length in header.
212 Always use ntoh.. when accessing addresses, even when the
213 comparison happens to be endian-safe.
214 (send_packet) minor style isues. Use
215 sockopt_iphdrincl_swab_htosys.
216 (irdp_iph_hton/ntoh) IP header to/from network/host order.
218 2004-10-03 Gilad Arnold <gilad.arnold at terayon.com>
220 * interface.c, interface.h: A new prefix tree of connected subnets is
221 associated with each interface structure in zebra, in which each
222 live (ie, non-synthetic) node holds a list of installed addresses
223 that belong to that prefix. Remove secondary address logic from cli.
224 See [quagga-dev 872] for detailed explanation.
225 * connected.c: Use if_subnet_add() and if_subnet_delete().
227 2004-10-03 James R. Leu <jleu at mindspring.com>
229 * router-id.c, router-id.h: New files. Router id selection process. If
230 there is non 127.x.x.x address in loopack interface, lowest of them
231 is chosen. If there isn't, lowest from other interfaces addresses
232 are chosen. "router-id x.x.x.x" vty command to manual override.
233 * Makefile.am: Compile new files.
234 * main.c: Initialize router id.
235 * redistribute.c: Add interface addresses into router id selection
236 lists as they (dis)appear.
237 * zserv.c, zserv.h: Sending router id related messages to daemons.
239 2004-09-26 Hasso Tepper <hasso at quagga.net>
241 * irdp_interface.c, irdp_main.c, irdp_packet.c, rt_netlink.c,
242 rtadv.c, zebra_vty.c: Fix compiler warnings.
244 2004-09-24 Paul Jakma <paul@dishone.st>
246 * irdp_interface.c: (no_ip_irdp_address_preference_cmd)
247 add missing listnode declaration.
249 2004-09-24 Paul Jakma <paul@dishone.st>
251 * irdp_{interface,main}.c: lists typedef removal cleanup.
252 update some list loops to LIST_LOOP. some miscellaneous style
254 (no_ip_irdp_address_preference_cmd) Fix delete of referenced node
256 * irdp_packet.c: (irdp_recvmsg) Fix buggy assignment of integer
258 * if_ioctl{,_solaris}.c: lists typedef removal cleanup.
259 update some list loops to LIST_LOOP.
261 2004-09-23 Hasso Tepper <hasso at quagga.net>
263 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
265 2004-09-22 Paul Jakma <paul.jakma@sun.com>
267 * zserv.c: (zsend_route_multipath) fix nasty bad memset of struct
268 in_addr to sizeof(struct in6_addr), causing odd and hard to debug
271 2004-08-31 Hasso Tepper <hasso at quagga.net>
273 * main.c, rt_netlink.c: Added -s command line switch for tuning
274 netlink receive buffer size in Linux to avoid buffer overruns.
276 2004-08-26 Miles Nordin <carton@Ivy.NET>
278 * ipforward_sysctl.c (mib_ipv6): Use size_t for len, per
279 sysctl(3), rather than int. (Needed on NetBSD/alpha to display
280 forwarding status correctly.)
282 2004-08-23 Paul Jakma <paul@dishone.st>
284 * zserv.c: (zebra_init) remove implicit ip forward enabling
286 2004-08-19 Paul Jakma <paul@dishone.st>
288 * irdp_main.c: update to match sockopt renames.
289 * irdp_packet.c: include sockopt.h and update to match sockopt
292 2004-08-11 Greg Troxel <gdt@fnord.ir.bbn.com>
294 * rtadv.c (rtadv_send_packet): Allocate space for control messages
295 more carefully; it was wrong on NetBSD/sparc where CMSG alignment
296 is to 8 bytes instead of 4, and overwriting the address. Use the
297 provided macros for determining lengths.
299 2004-07-23 Sowmini Varadhan <Sowmini.Varadhan@Sun.COM>
301 * if_ioctl_solaris.c: HAVE_IPV6 ifdef fixups
303 * ioctl_solaris.c: ditto.
304 * interface.c: cast for LLADDR
305 * interface.h: Add guards, include redistribute.h and remove
306 extraneous definitions of zebra_interface_{up,down}_update
307 * ioctl.h: Add AF_IOCTL define for non SOLARIS_IPV6
308 * redistribute.h: include dependent header, zserv.h
309 * zserv.h: include dependent header, rib.h
311 2004-07-23 Paul Jakma <paul@dishone.st>
313 * irdp_main.c: use setsockopt_pktinfo_ipv4
314 * irdp_packet.c: use SOPT_SIZE_CMSG_PKTINFO_IPV4 and
315 getsockopt_pktinfo_ifindex()
317 2004-07-13 David Wiggins <dwiggins@bbn.com
319 * kernel_socket.c (rtm_flag_dump): terminate buffer with '\0', not '0'.
321 2004-07-13 Hasso Tepper <hasso@estpak.ee>
323 * irdp_main.c: Add privilege change.
325 2004-07-12 Hasso Tepper <hasso@estpak.ee>
327 * irdp_interface.c: follow common style while naming vty command
328 functions. Avoids confusion in extract.pl.
330 2004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
332 * main.c: define thread_master variable so that linking with
333 libzebra.so doesn't fail. Arguably zclient.o should be in a
334 separate library, but this is far less disruptive.
336 2004-06-12 Robert Olsson <Robert.Olsson at data.slu.se>
338 * Added IRDP support.
340 2004-05-18 Hasso Tepper <hasso@estpak.ee>
342 * rtadv.c: Removed "[no] ipv6 nd send-ra" command. Replaced "ipv6 nd
343 prefix-advertisement" with "ipv6 nd prefix". Rewrite syntax of
344 "ipv6 nd prefix" command to allow various combinations of parameters
345 and flags. No defaults in configuration. Replaced on-link and
346 autoconfig with off-link and no-autoconfig flags in command syntax.
347 Cosmetic fixes in all commands. Documentation to reflect all changes.
349 2004-05-11 Paul Jakma <paul@dishone.st>
351 * Makefile.am: support for IOCTL_METHOD, as per Sowmini's patch.
352 * if_ioctl_solaris.c: Fixup some erroneous privilege changes and
354 * ioctl_solaris.c: ditto
355 * ioctl.h: Add if_ioctl_ipv6 prototype and AF_IOCTL for SOLARIS_IPV6
356 * kernel_socket.c: Fix SAROUNDUP, compiler doesnt like do..while
357 RHS in assignments :)
358 * redistribute.c: (zebra_interface_delete_update) only used
359 if RTM_IFANNOUNCE and NETLINK is available.
361 2004-05-09 Paul Jakma <paul@dishone.st>
363 * zserv.c: (zsend_route_multipath) Set the nexthop_num
364 field correctly. Add NEXTHOP_TYPE_IPV6_IFNAME for v6.
365 Conditionally set ZAPI_MESSAGE_METRIC flag - only for adds.
366 (zsend_ipv4_add) cruft, deleted.
367 (zsend_ipv4_delete) ditto.
368 (zsend_ipv6_add) ditto.
369 (zsend_ipv6_delete) ditto.
370 * ioctl.c: (if_get_mtu) set mtu6 to mtu
371 * mtu_kvm.c: (if_kvm_get_mtu) set mtu6 to mtu
372 * rt_netlink.c: (netlink_interface) set mtu6 to mtu
373 (netlink_link_change) ditto
374 * ipforward_solaris.c: fix typo of ND variable.
375 * if_ioctl_solaris.c: Add zprivs support.
376 * ioctl_solaris.c: ditto.
378 2004-05-09 Sowmini Varadhan <sowmini.varadhan@sun.com>
380 * zserv.c: (zsend_ipv{4,6}_{add,delete}_multipath) collapsed
381 into single zsend_route_multipath function.
382 (zsend_interface_{up,down}) collapsed into zsend_interface_update.
383 (zsend_interface_address_{add,delete}) collapsed into
384 zsend_interface_address.
385 (zsend_interface_add) send mtu6.
386 (zsend_interface_delete) ditto.
387 (zebra_write) remove unused function.
388 (various) Apply static qualifier. Add comments.
389 * zserv.h: Definitions changed as per above.
390 * redistribute.c: Changes as per zserv.c.
391 * interface.c: (if_delete_update) only used with HAVE_NETLINK
393 (if_flag_dump_vty) Solaris IFF_IPV4 and IFF_IPV6 if flags
394 (if_dump_vty) print mtu6 if not same as mtu
395 * if_ioctl_solaris.c: New file, Solaris interface ioctl methods.
396 * ioctl_solaris.c: New file, Common solaris ioctl methods.
398 2004-04-06 Krzysztof Oledzki <oleq@ans.pl>
400 * rt_netlink.c: Do not ignore metric when reading kernel routing
401 table on Linux with rt_netlink interface.
403 2004-03-18 Hasso Tepper <hasso@estpak.ee>
405 * interface.c: Temporary fix for handling secondary addresses
408 2004-02-12 Hasso Tepper <hasso@estpak.ee>
410 * zserv.c: Added "ipv6 forwarding" command.
412 2004-01-08 Greg Troxel <gdt@fnord.ir.bbn.com>
414 * kernel_socket.c (kernel_read): Use sockaddr_storage in buffer
415 for reading kernel messages to ensure enough space (necessary on
416 Solaris due to sockaddr_dl being large). Thanks to Sowmini
417 Varadhan for help with this change.
419 2004-01-06 Greg Troxel <gdt@t1.ir.bbn.com>
421 * rtadv.c (rtadv_send_packet): Change perror to zlog_err.
423 2004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
424 * kernel_socket.c (ifm_read): Major cleanup. Use Sowmini's code
425 to find the sockaddr_dl in all cases, narrowing the Solaris ifdef
426 to just the accomodation of broken kernels. Check sockaddr_dl
427 carefully up front, and later assume any non-NULL sdl pointer is
428 valid. Clean up types and variable declarations, and rename
429 WRAPUP to SAROUNDUP to make the name fit the behavior.
431 2004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
433 * kernel_socket.c (kernel_read): Add a sockaddr_dl to the ifmsg
434 structure, because on Solaris sockaddr_dl is far larger than the
435 base sockaddr structure. (The code had previously been failing to
438 2004-01-05 Greg Troxel <gdt@ahi.ir.bbn.com>
440 * kernel_socket.c (kernel_read): Look up interfaces by index
441 first, so that state changes which do not include a sockaddr_dl
442 now work. Add many sanity checks. In
443 particular, do not assume that a sockaddr_dl follows a message
444 without checking the ifm_addrs flags, and do not trust the length
445 in a sockaddr_dl. Add/clarify many comments.
447 2003-12-03 Greg Troxel <gdt@poblano.ir.bbn.com>
449 * rtadv.c: reorder includes to avoid compiler warning (define
450 structs before using them in prototypes)
452 2003-05-25 Jim Crumpler <Jim.Crumpler@edion.com>
454 * zserv.c: Add "ip forwarding" command.
456 2003-05-16 Gilad Arnold <gilad.arnold@terayon.com>
458 * zebra_rib.c: Fix memory leaks for ifname nexthops
460 2003-04-19 Israel Keys <ikeys@agile.tv>
462 * rt_netlink.c: BLOCK on netlink while initialising
464 2003-02-06 Francois Deppierraz <francois@ctrlaltdel.ch>
466 * rt_netlink.c (netlink_route_multipath): Set RTM_F_EQUALIZE when
469 2002-09-28 Akihiro Mizutani <mizutani@net-chef.net>
471 * zebra_rib.c (static_add_ipv4): Null0 static route is added.
473 2002-09-10 Jochen Friedrich <chris+zebra@scram.de>
475 * rt_netlink.c: Add check for EAGAIN.
476 * kernel_socket.c: Likewise
478 2002-06-12 Israel Keys <ikeys@oz.agile.tv>
480 * rt_netlink.c: Setting the NLM_F_ACK flag on the netlink command
481 message so that we get an ACK for successful netlink commands.
482 Change the netlink socket to BLOCKING while we wait for a
483 response; be it an ACK or an NLMSG_ERROR. Change
484 netlink_parse_info to deal with ACK messages.
486 2001-11-01 Jun-ichiro itojun Hagino <itojun@iijlab.net>
488 * rtadv.c (rtadv_make_socket): setsockopt(IPV6_CHECKSUM) does not
489 work for ICMPv6 socket.
491 2001-10-24 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
493 * rib.c (rib_process): Select connected route any case.
495 2001-10-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
497 * interface.c (no_ip_address_secondary): Add "no" to command.
499 2001-10-18 NOGUCHI Kay <kay@v6.access.co.jp>
501 * ioctl.c (if_prefix_add_ipv6): Set the prefered and valid lifetime
502 to infinity as the freebsd4.4 workaroud.
504 2001-08-26 mihail.balikov@interbgc.com
506 * zebra_snmp.c: Fix snmpwalk problem such as IPv4 address
509 2001-08-22 NOGUCHI Kay <kay@v6.access.co.jp>
511 * rtadv.c: Do not send RA to loopback interface.
513 2001-08-20 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
515 * ioctl.c (if_set_prefix): Remove Linux 2.0 specific connected
518 2001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
520 * zebra-0.92a released.
522 2001-08-17 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
524 * rib.c: Kernel route is treated as EGP routes in nexthop active
527 2001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
529 * zebra-0.92 released.
531 2001-08-08 "Akihiro Mizutani" <mizutani@dml.com>
533 * rib.c (show_ip_route_prefix_longer): Add longer-prefix option to
536 2001-07-29 Yon Uriarte <havanna_moon@gmx.net>
538 * zserv.c (zsend_ipv4_add_multipath): Add
539 NEXTHOP_TYPE_IPV4_IFINDEX check.
541 2001-07-29 NOGUCHI Kay <kay@v6.access.co.jp>
543 * rtadv.c: Apply valid lifetime, preferred lifetime, onilnk flag,
544 autonomous address-configuration flag patch.
545 (no_ipv6_nd_suppress_ra): Change "ipv6 nd send-ra" to "no ipv6 nd
548 2001-07-24 NOGUCHI Kay <kay@v6.access.co.jp>
550 * rtadv.c (ipv6_nd_ra_interval): Add "ipv6 nd ra-interval SECONDS"
553 2001-07-24 Jun-ichiro itojun Hagino <itojun@iijlab.net>
555 * rt_socket.c (kernel_rtm_ipv4): Add KAME/NetBSD151 equal cost
556 multicast FIB support both IPv4 and IPv6.
558 2001-07-24 Hal Snyder <hal@vailsys.com>
560 * if_ioctl.c (interface_list_ioctl): Fix bug of failing to get the
561 full list of interfaces on some configurations of OpenBSD.
563 2001-07-23 NOGUCHI Kay <kay@v6.access.co.jp>
565 * rtadv.c (ipv6_nd_send_ra): Apply [zebra 9320] to fix "ipv6 nd
567 (ipv6_nd_ra_lifetime): "ipv6 nd ra-lifetime 0" for default router
569 (ipv6_nd_managed_config_flag): "ipv6 nd managed-config-flag" is
571 (ipv6_nd_other_config_flag): "ipv6 nd other-config-flag" is added.
573 2001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
575 * ioctl.c (if_ioctl): Change ioctl argument from int to u_long.
577 * rt_ioctl.c: Likewise.
579 2001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
581 * kernel_socket.c (rtm_write): Only set RTF_CLONING when the
582 interface is not p2p.
584 2001-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
586 * ioctl.c (if_prefix_add_ipv6): Fix argument type.
588 2001-04-06 Toshiaki Takada <takada@zebra.org>
590 * zserv.c (zsend_interface_delete): Use client->obuf instead of
591 allocating new stream.
593 2001-03-10 Kunihiro Ishiguro <kunihiro@zebra.org>
595 * rt_netlink.c: Revert RTPROT_BOOT change.
597 2001-03-08 Kunihiro Ishiguro <kunihiro@zebra.org>
599 * rt_netlink.c (netlink_route_change): Skip RTPROT_BOOT route.
600 (netlink_routing_table): Likewise.
602 2001-03-07 "Akihiro Mizutani" <mizutani@dml.com>
604 * zserv.c (zsend_ipv4_add_multipath): Send metric value to
607 2001-02-18 Kunihiro Ishiguro <kunihiro@zebra.org>
609 * rt_netlink.c (netlink_routing_table): Do not return
610 tb[RTA_GATEWAY] is NULL. Reported by: "Michael O'Keefe"
611 <mokeefe@qualcomm.com>.
613 2001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
615 * if_ioctl.c (interface_list_ioctl): Call if_add_update().
616 Suggested by: Chris Dunlop <chris@onthe.net.au>.
618 2001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
620 * rib.c (nexthop_active_ipv4): When nexthop type is
621 NEXTHOP_TYPE_IPV4_IFINDEX, propery set the ifindex to rifindex.
623 * zserv.c: Initialize rtm_table_default with 0.
625 * zebra-0.91 is released.
627 2001-01-31 Kunihiro Ishiguro <kunihiro@zebra.org>
629 * kernel_socket.c (rtm_read): Filter cloned route. Suggested by:
630 Jun-ichiro itojun Hagino <itojun@iijlab.net>
632 2001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
634 * connected.c (connected_up_ipv6): When point-to-point destination
635 address is ::, use local address for connected network.
636 (connected_down_ipv6): Likewise.
638 2001-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
640 * zserv.c (zebra_serv): Add missing close() call. Reported by:
641 David Waitzman <djw@vineyard.net>.
643 2001-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
645 * rib.c (rib_lookup_ipv4): New function for checking exact match
648 2001-01-23 Kunihiro Ishiguro <kunihiro@zebra.org>
650 * rib.c (show_ipv6_route_protocol): Fix bug of "show ip route
653 2001-01-22 Kunihiro Ishiguro <kunihiro@zebra.org>
655 * interface.c (zebra_interface): Do not call
656 zebra_interface_add_update for inactive interface.
658 * zserv.c (zsend_interface_address_add): Send interface address
660 (zsend_interface_address_delete): Likewise.
662 2001-01-19 Kunihiro Ishiguro <kunihiro@zebra.org>
664 * interface.c (if_addr_add): Add flags.
666 * connected.c (ifa_add_ipv4): Add new function for interface
668 (ifa_delete_ipv4): Likewise.
670 2001-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
672 * rib.c (rib_update): Update IPv6 RIB.
674 * kernel_socket.c (ifam_read): Call if_refresh() for update
675 interface flag status. This is for implicit interface up on *BSD.
677 * interface.c (if_refresh): Add interface flag refresh function.
679 * kernel_socket.c (rtm_read): Fetch link-local address interface
681 (ifan_read): We need to fetch interface information. Suggested
682 by: Yasuhiro Ohara <yasu@sfc.wide.ad.jp>.
684 * rib.c (static_ipv6_nexthop_same): Add check for
685 NEXTHOP_TYPE_IPV6_IFNAME.
687 2001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
689 * rib.h (NEW_RIB): Turn on NEW_RIB flag. IPv6 new RIB code are
692 2001-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
694 * rib.c (static_ipv6_write): Display STATIC_IPV6_GATEWAY_IFNAME
696 (rib_delete_ipv6): Handle same route conter for IPv6 connected
698 (show_ipv6_route_protocol): New command.
699 (show_ipv6_route_addr): Likewise.
700 (show_ipv6_route_prefix): Likewise.
701 (rib_update): Sweep kernel route when it is cleaned up.
703 * rt_socket.c (kernel_add_ipv6): Add NEXTHOP_IPV6_IFNAME
706 * rt_netlink.c (kernel_init): Likewise.
708 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): Likewise.
710 * rib.c (rib_add_ipv4): Cope with same connected route on a
711 interface. Suggested by: Matthew Grant <grantma@anathoth.gen.nz>.
712 (nexthop_ipv6_ifname_add): Add NEXTHOP_IPV6_IFNAME treatmenet.
714 * rib.h (struct new_rib): Add refcnt to keep track on the
715 reference of same connected route.
717 * ioctl.c (if_set_prefix): Add check for GNU_LINUX.
719 2001-01-13 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
721 * kernel_socket.c (ifan_read, rtm_type_str): Add RTM_OIFINFO check.
722 (rtm_type_str): Add RTM_IFANNOUNCE check.
723 (ifan_read): New function.
724 (kernel_read): Add case for RTM_IFANNOUNCE.
726 2001-01-13 Kunihiro Ishiguro <kunihiro@zebra.org>
728 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): New function.
730 * rt_netlink.c (netlink_route_multipath): IPv6 address ifindex
733 * connected.c (connected_up_ipv6): Add dest value check.
735 * rib.c (nexthop_active_ipv6): Do not touch IPv6 nexthop's
737 (rib_add_ipv4): Import rib_add_ipv6() same route check code.
738 (nexthop_active_check): NEXTHOP_TYPE_IPV6_IFINDEX activity is only
741 * rt_socket.c (kernel_rtm_ipv6_multipath): New function.
743 * redistribute.c (redistribute_add): Use
744 zsend_ipv6_add_multipath().
745 (redistribute_delete_multipath): Use
746 zsend_ipv6_delete_multipath().
748 * interface.c (ip_address): Check current IP address to avoid
751 * rib.c (rib_delete_ipv4): When deleted route is connected route,
753 (rib_add_ipv4): When connected route is added do not perform
755 (rib_delete_ipv4): Check ifindex for connected route.
757 * kernel_socket.c (rtm_read): When route has RTF_STATIC, set
758 ZEBRA_FLAG_STATIC for indicate as persistent route.
759 (ifam_read): Unset interface index from link-local address when
762 * rib.c (rib_update): Do not delete persistent kernel route.
764 * rib.h (struct new_rib): Integrate RIB_FLAG_* to ZEBRA_FLAG_*.
766 * rt_socket.c (kernel_add_ipv6_multipath): Add placeholder.
767 (kernel_delete_ipv6_multipath): Likewise.
769 * rt_netlink.c (netlink_talk): Give struct nlsock to netlink_talk.
771 2001-01-12 Kunihiro Ishiguro <kunihiro@zebra.org>
773 * rib.c (rib_update): Revert Matthew Grant's patch
774 zebra_cvs_newribfix.patch. Use struct rib->ifindex for kernel
775 interface index. Introduce NEXTHOP_TYPE_IPV4_IFINDEX to support
776 that. Add support for address deletion situation.
778 2001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
780 * interface.c: Remove HAVE_IF_PSEUDO part.
784 * rt_netlink.c (netlink_link_change): Likewise.
786 2001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
788 * zserv.c: Remove OLD_RIB codes.
790 2001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
792 * zebra-0.90 is released.
794 2001-01-09 Matthew Grant <grantma@anathoth.gen.nz>
796 * interface.c (if_new_intern_ifindex): Allocate a new internal
798 (if_addr_refresh): Fix up ip addresses configured via zebra.
799 (if_add_update): Handle an interface addition.
800 (if_delete_update): Handle an interface delete event.
802 * rib.c (nexthop_ipv4_add): Add kernel route deletion process when
805 2001-01-08 Kunihiro Ishiguro <kunihiro@zebra.org>
807 * interface.c (if_dump_vty): When HAVE_NET_RT_IFLIST is defined,
808 NetBSD also use this function. Suggested by Jasper Wallace
809 <jasper@ivision.co.uk>.
811 2001-01-07 Kunihiro Ishiguro <kunihiro@zebra.org>
813 * rib.c (nexthop_active_ipv4): Move back to set methodo to old
816 2001-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
818 * rib.c (rib_add_ipv4): EBGP multihop set ZEBRA_FLAG_INTERNAL
821 2001-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
823 * rt_netlink.c (netlink_talk_ipv6): When IPv6 route message is
824 sent from netlink_cmd, the same message comes from netlink. To
825 avoid confusion, temporary netlink_talk_ipv6 use netlink.sock
826 instead of netlink_cmd.sock.
828 2001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
830 * zserv.h (ZEBRA_SERV_PATH): Change "/tmp/zebra" to "/tmp/.zebra".
831 Change "/tmp/zserv" to "/tmp/.zserv".
833 2000-12-29 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
835 * rt_netlink.c (struct nlsock): Divide kernel message into listen
836 socket and command socket.
837 (netlink_talk): Remove socket listen code. Use netlink_parse_info
838 for read kernel response.
840 2000-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
842 * rib.c (vty_show_ip_route): Show uptime of the RIP,OSPF,BGP
845 2000-12-27 Kunihiro Ishiguro <kunihiro@zebra.org>
847 * rt_netlink.c (netlink_route_multipath): Metric value is
848 reflected to kernel routing table.
850 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Likewise.
852 * kernel_socket.c (rtm_write): Likewise.
854 * rib.c (nexthop_active_ipv4): Only iBGP route perform recursive
857 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Add ioctl version of
858 new RIB implementation.
860 2000-12-26 Kunihiro Ishiguro <kunihiro@zebra.org>
862 * rib.h: Remove MULTIPATH_NUM. It is defined by configure script.
864 2000-12-25 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
866 * rib.c (rib_if_up): Call rib_fib_set instead of RIB_FIB_SET for
867 proper redistribution.
869 2000-12-19 Kunihiro Ishiguro <kunihiro@zebra.org>
871 * rib.c (nexthop_active_ipv4): Add self lookup nexthop check.
872 (show_ip_route_protocol): Support new RIB.
874 * rt_netlink.c (netlink_route_change): Do not return when gate is
877 2000-12-18 Kunihiro Ishiguro <kunihiro@zebra.org>
879 * rib.c (rib_lookup_ipv4_nexthop): IBGP nexthop check function is
881 (rib_add_ipv4): Free implicit withdraw route's RIB.
883 2000-12-15 Kunihiro Ishiguro <kunihiro@zebra.org>
885 * rib.c (nexthop_active_ipv4): Check indirect nexthop.
887 * redistribute.c (redistribute_add_multipath): Redistribution
888 works with new rib code.
890 2000-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
892 * rt_netlink.c (netlink_route_multipath): Check useful nexthop
894 (netlink_route_multipath): Clear rtnh_flags and rtnh_hops.
896 * rib.c (nexthop_active_update): Set flag for the rib's nexthop
898 (nexthop_active_check): Before checking interface is up, make it
899 sure the interface exist.
901 2000-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
903 * rib.c (ip_route): New RIB prototype.
905 2000-11-16 Yon Uriarte <ukl2@rz.uni-karlsruhe.de>
907 * zserv.c (zsend_interface_add): Send hardware address when
908 hw_addr_len is greater than 0.
910 2000-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
912 * connected.c (connected_up_ipv4): Fix ptop bug. The destination
913 network should be installed into routing table.
914 (connected_down_ipv4): Likewise.
915 (connected_add_ipv4): Change to use connected_up_ipv4.
916 (connected_delete_ipv4): Likewise.
918 2000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
920 * rt_netlink.c (netlink_interface_addr): Revert Harald Welte
921 <laforge@gnumonks.org>'s ptop patch then back to original code to
922 avoid duplicated connected route problem. Suggested by Frank van
923 Maarseveen <F.vanMaarseveen@inter.NL.net>.
925 * kernel_socket.c (rtm_read): Make behavior consistent even #ifdef
926 DEBUG is defined. Reported by Jun-ichiro itojun Hagino
929 2000-10-23 Jochen Friedrich <jochen@scram.de>
931 * main.c (main): Call zebra_snmp_init() when it is enabled.
933 2000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org>
935 * zserv.c (zebra_serv_un): UNIX domain socket server of zebra
938 2000-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
940 * rib.c (rib_add_ipv4): Same check bug is fixed.
942 2000-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
944 * rib.c (rib_if_down): Remove kernel route when the interface goes
947 * debug.c: New command "debug zebra kernel" is added.
949 2000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
951 * zebra-0.89 is released.
953 2000-09-24 Harald Welte <laforge@gnumonks.org>
955 * rt_netlink.c (netlink_interface_addr): Fix point-to-point address
956 treatment in netlink interface.
958 2000-09-21 David Lipovkov <dlipovkov@OpticalAccess.com>
960 * rib.c (rib_if_down): Pull static route only. Protocol daemon
961 must withdraw routes when interface goes down.
962 (rib_add_ipv4): Check nexthop when replace route.
964 2000-09-21 Kunihiro Ishiguro <kunihiro@zebra.org>
966 * if_ioctl.c (if_getaddrs): New function for looking up
967 interface's address by getifaddrs().
969 2000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
971 * connected.c (connected_delete_ipv4): Add check for connected
972 address is found or not.
973 (connected_add_ipv6): Reflect IPv6 connected address change to
975 (connected_delete_ipv6): Likewise.
977 2000-09-07 David Lipovkov <davidl@nbase.co.il>
979 * rib.c (rib_delete_ipv4): Reverted the change from pseudo
980 interface patch to original. Because ospfd deletes routes using
983 2000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
985 * zebra-0.88 is released.
987 2000-08-15 "Akihiro Mizutani" <mizutani@dml.com>
989 * rib.c (show_ip_route_protocol): Help string correction.
990 (show_ip_route_prefix): Check prefix mask.
991 (show_ip_route_vty_detail): Display distance and metric.
993 2000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
995 * zserv.c (zsend_interface_add): Change ifindex store size from
997 (zsend_interface_delete): Likewise.
998 (zsend_interface_address_add): Likewise.
999 (zsend_interface_address_delete): Likewise.
1000 (zsend_interface_up): Likewise.
1001 (zsend_interface_down): Likewise.
1003 2000-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1005 * rib.c (rib_add_ipv4): Do not install distance 255 route.
1007 2000-08-10 Toshiaki Takada <takada@zebra.org>
1009 * interface.c (bandwidth_if), (no_bandwidth_if): Call
1010 zebra_interface_up_update () instead of using if_up() and if_down().
1012 2000-08-07 "Akihiro Mizutani" <mizutani@dml.com>
1014 * interface.c (bandwidth_if): Fix help string.
1016 2000-08-07 Matthew Grant <grantma@anathoth.gen.nz>
1018 * interface.c (if_dump_vty): Display bandwidth value.
1019 (bandwidth_if): New command "bandwidth <1-10000000>" is added.
1020 When interface is up, force protocol daemons to recalculate routes
1022 (no_bandwidth_if): Likewise.
1023 (if_config_write): Output bandwidth configuration.
1025 * zserv.c (zsend_interface_add): Send bandwidth value.
1026 (zsend_interface_up): Likewise.
1027 (zsend_interface_down): Likewise.
1030 2000-08-07 Michael Rozhavsky <mike@nbase.co.il>
1032 * rib.c (show_ip_route_protocol): "show ip route
1033 (bgp|connected|kernel|ospf|rip|static)" is added.
1035 2000-08-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1037 * rib.c (rib_lookup_ipv4_nexthop): Check parent node until IGP
1039 (rib_add_ipv4_internal): Set fib ifindex to rib ifindex.
1041 2000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1043 * redistribute.c (redistribute_delete): Fix bug of default route
1044 redistribute treatment.
1046 2000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1048 * rib.c (rib_init): Install ip_node in rib.c instead of zserv.c.
1049 Change default distance value.
1052 ------------------------------------------
1061 bgp 70 200(iBGP) 20(eBGP)
1062 ------------------------------------------
1064 * zserv.c (client_lookup): Function removed.
1065 (zsend_interface_add): Use client's output buffer. Check ifinfo
1067 (zsend_interface_delete): Likewise.
1068 Delete ipv4_static_radix and ipv6_static_radix.
1070 2000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1072 * zserv.h (struct zebra_client): When client request interface
1073 information, ifinfo is set.
1075 * rib.c: Temporary Revert changes for pseudo interface.
1079 * zserv.c: Likewise.
1081 * interface.c: Likewise.
1083 2000-08-02 David Lipovkov <davidl@nbase.co.il>
1085 * interface.c (zebra_if_init): Install interface "pseudo"
1088 * rib.c (rib_create): ifname argument is added.
1089 (rib_add_ipv4_pseudo): New function is added.
1090 (rib_delete_ipv4_pseudo): Likewise.
1092 * rib.h : Delete INTERFACE_UNKNOWN definition. Add prototype for
1093 pseudo interface functions.
1095 * rt_netlink.c (netlink_link_change): Check for pseudo interface.
1097 * zserv.c (ip_route): When destination is pseudo interface, call
1098 rib_add_ipv4_pseudo().
1100 * zserv.c (no_ip_route): Trim "unknown" argument.
1102 2000-07-26 kunitake@dti.ad.jp
1104 * if_ioctl.c (if_get_hwaddr): Fix hardware address length from 8
1107 * rtadv.c (rtadv_send_packet): Fix shift bug for hardware address.
1109 2000-07-24 Akihiro Mizutani <mizutani@dml.com>
1111 * interface.c: Use install_default() for common VTY commands.
1113 2000-07-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1115 * if_ioctl.c (interface_list_ioctl): A interface list size is
1116 calculated from ifreq->if_addr.sa_len. This is for OpenBSD.
1118 * ioctl.c (if_get_mtu): Remove codes for SIOCGIFDATA.
1120 2000-07-09 Chris Dunlop <chris@onthe.net.au>
1122 * if_ioctl.c (if_get_index): Add check for HAVE_BROKEN_ALIASES.
1124 2000-07-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1126 * zserv.c (zebra_client_read): Add ZEBRA_REDISTRIBUTE_{ADD,DELETE}
1129 2000-07-02 David Lipovkov <davidl@nbase.co.il>
1131 * zserv.c: "ip route A.B.C.D/M unknown" command is added.
1133 2000-06-28 Michael Rozhavsky <mike@nbase.co.il>
1135 * rib.c: Remove old kernel route when new route comes in.
1137 2000-06-13 David Lipovkov <davidl@nbase.co.il>
1139 * rib.c (rib_if_up): Add check for unknown interface.
1141 2000-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1143 * rib.h: Define INTERFACE_UNKNOWN.
1145 2000-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1147 * Makefile.am (EXTRA_DIST): Move irdp.c until implementation is
1150 2000-06-05 David Lipovkov <davidl@nbase.co.il>
1152 * interface.c (if_zebra_delete_hook): Call rib_if_delete().
1154 * redistribute.c (zebra_interface_delete_update): New function.
1156 * redistribute.h (zebra_interface_delete_update): New function
1159 * rib.c (rib_if_delete): New function. Walk down all routes and
1160 delete all on the interface.
1162 * rib.h: New function prototype.
1164 * rt_netlink.c (netlink_link_change): Call
1165 zebra_interface_delete_update ().
1167 2000-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1169 * if_ioctl.c (interface_info_ioctl): Check interface's flag before
1170 checking interface's address.
1172 2000-04-26 Jochen Friedrich <jochen@nwe.de>
1174 * GNOME-PRODUCT-ZEBRA-MIB: New file.
1176 * GNOME-SMI: New file.
1178 2000-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1180 * irdp.c: New file from 1997 development code.
1183 2000-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1185 * rtadv.c (rtadv_send_packet): Enclose router advertisement
1186 logging with IS_ZEBRA_DEBUG_PACKET.
1188 2000-04-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1190 * zserv.c (zebra_client_close): Remove client structure from
1191 client_list when connection is terminated.
1193 2000-03-21 David Lipovkov <davidl@nbase.co.il>
1195 * connected.c (connected_add_ipv4): Allows all necessary structure
1196 updates for connected route, but doesn't insert it into rib if
1197 it's interface is down.
1199 2000-01-21 Hideto Yamakawa <hideto.yamakawa@soliton.co.jp>
1201 * rtread_getmsg.c: Set some definition for Solaris 2.5 and Solaris
1204 2000-01-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1206 * rib.c (no_ipv6_route_ifname): Fix buf of cheking return value
1207 from str2prefix_ipv6().
1209 2000-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1211 * rt_socket.c: Revert to use RTF_HOST for IPv4 with /32 route and
1212 IPv6 with /128 routes.
1213 (kernel_rtm_ipv4): In case of /32 route's gateway is interface. It
1214 should have mask for cloning.
1216 1999-12-26 Jochen.Friedrich@genorz.de
1218 * interface.c (if_dump_vty): Fix a bug of missing VTY_NEWLINE.
1220 1999-12-23 Alex Zinin <zinin@amt.ru>
1221 * interface.*: dynamic int up/down support
1223 1999-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1225 * ipforward_proc.c (dropline): Move dropline() from lib/dropline.c
1227 * rtread_proc.c (proc_route_read): Don't use dropline().
1229 1999-12-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1231 * kernel_socket.c (rtm_read): When message is RTM_GET, it has own
1234 1999-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1236 * main.c (main): Change to default log output to ZLOG_STDOUT.
1238 * zserv.c (zebra_serv): More detailed error print.
1240 1999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1242 * kernel_socket.c (rtm_read): Check old pid for static route
1245 1999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1247 * interface.c (if_dump_vty): BSDI/OS uses 64bit for interface
1250 * mtu_kvm.c: New file added.
1252 1999-11-27 Vladimir B. Grebenschikov <vova@express.ru>
1254 * kernel_socket.c (rtm_write): Set RTF_CLONING flag for
1255 route to the directly connected interface.
1257 1999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1259 * rt_socket.c: Delete USE_HOST_BIT definition.
1261 1999-11-21 Michael Handler <handler@sub-rosa.com>
1263 * rtread_getmsg.c: Undef some definition to resolve conflict.
1265 1999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1267 * kernel_socket.c (rtm_write): Change to use pre stored struct_dl
1268 value for gateway specification.
1270 1999-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1272 * rt_socket.c (kernel_rtm_ipv4): Even mask is 32 under IPv4 or
1273 128 under IPv6, don't use RTF_HOST.
1275 1999-11-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1277 * Makefile.am (EXTRA_DIST): Add rtread_getmsg.c.
1279 1999-11-21 Michael Handler <handler@sub-rosa.com>
1281 * rtread_getmsg.c: Added for Solaris 2.6 support.
1283 1999-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1285 * rtread_sysctl.c (rtm_read_route): RTM_DELETE handling added.
1287 * rt_socket.c (kernel_read): Better BSD routing socket support.
1289 1999-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1291 * client_main.c: Disable making obsolete zebra test `client'
1294 1999-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1296 * zebra.c: Renamed to zserv.c.
1298 * zebra.h: Global definitions are moved to lib/zebra.h. Then
1301 1999-10-15 Jordan Mendelson <jordy@wserv.com>
1303 * if_ioctl.c: Add Linux 2.2.X's alias support and dynamic
1304 interface. Remove ugly MAX_INTERFACE handling codes.
1306 1999-09-17 Satosi KOBAYASI <kobayasi@north.ad.jp>
1308 * Fix serious bug of IPv6 route deletion.
1310 1999-09-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1312 * ioctl.c (if_set_prefix): Properly set broadcast address.
1314 1999-09-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1316 * rib.c (rib_add_ipv6, rib_delete_ipv6): now protocol daemons
1317 can install connected route to kernel via zebra
1319 1999-08-24 VOP <vop@unity.net>
1321 * rib.c: Include "sockunion.h"
1323 1999-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
1325 * ipforward.h: New file.
1327 * zebra.h: Obsolete message ZEBRA_GET_ALL_INTERFACE,
1328 ZEBRA_GET_ONE_INTERFACE, ZEBRA_GET_HOSTINFO are deleted.
1330 1999-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1332 * zebra.h (ZEBRA_INTERFACE_ADDRESS_ADD):
1333 ZEBRA_INTERFACE_{ADD,DELETE} added.
1335 1999-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1337 * rib.c: show ip route A.B.C.D works.
1339 * zebra.c (zebra_read_ipv4): Add ifindex to zebra messages.
1341 1999-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1343 * zebra.h: New Zebra message ZEBRA_INTERFACE_{ADD,DELETE} added.
1345 1999-08-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1347 * interface.h: New file.
1348 * Makefile.am: Add interface.h
1350 1999-08-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1352 * redistribute.c (zebra_redistribute): give ifindex to client.
1354 1999-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1356 * main.c (longopts): -k, --keep_kernel option added.
1358 1999-07-18 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1360 * rt_socket.c (rtm_write): forgot closing socket bug fixed.
1362 1999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1364 * rib.c (show_ipv6_cmd): if rib is link show interface name.
1366 1999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1368 * rt_socket.c (rtm_write): use sockaddr_dl when null gateway.
1370 1999-07-16 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1372 * rt_socket.c (rtm_write): ipv6 route table bug fixed.
1374 1999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1376 * zebra.c (zebra_read_ipv6): read link prefix from ospf6 support
1378 1999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1380 * rt_socket.c (kernel_rtm_ipv6): gate treatment bug fixed.
1382 1999-07-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1384 * if_sysctl.c (ifm_read): Clear sockunion argument before fetching
1385 data. Suggested by "Chris P. Ross" <cross@eng.us.uu.net>
1387 1999-07-08 HEO SeonMeyong <seirios@Matrix.IRI.Co.Jp>
1389 * interface.c (if_tun_add): Add KAME's gif tunnel setting codes.
1391 1999-06-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1393 * zebra.c (zebra_serv): Only accept loopback address connection.
1395 1999-06-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1397 * zebra.h (ZEBRA_ROUTE_EXTERNAL): Add zebra messages flags
1399 1999-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1401 * ipforward_proc.c: ipforward_on () and ipforward_off () added.
1403 1999-06-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1405 * ipforward_proc.c (ipforward_ipv6): Check for IPv6 forwarding
1406 using /proc file system is added.
1408 1999-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1410 * if_ioctl.c (if_get_index): Interface index set bug is fixed by
1411 adding #else at the middle of function. Suggested by David Luyer
1412 <luyer@ucs.uwa.edu.au>.
1414 1999-05-29 <kunihiro@zebra.org>
1416 * rt_ioctl.c: Comment out #include <linux/ipv6_route.h>.
1418 1999-05-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1420 * zebra.h (ZEBRA_ROUTE_MAX): Add new define for the max value of
1423 1999-05-25 Patrick Koppen <koppen@rhrk.uni-kl.de>
1425 * rt_netlink.c (netlink_socket): Make netlink socket non-blocking.
1426 (netlink_parse_info): If errno is EWOULDBLOCK then continue to
1428 (netlink_talk): Likewise
1430 1999-05-17 <kunihiro@zebra.org>
1432 * redistribute.c (zebra_check_addr): Added for loopback address
1435 1999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1437 * rt_netlink.c (netlink_route_change): Tempolary bypass ipv6 route
1440 * Makefile.am (noinst_HEADERS): redistribute.h added.
1442 * redistribute.h: New file.
1444 1999-05-14 Stephen R. van den Berg <srb@cuci.nl>
1446 * zebra.c (show_table): Show all table configuration DEFUN.
1447 (config_table): Config table number DEFUN.
1449 * rt_netlink.c: Add support for multiple routing table.
1451 * rib.c (rib_weed_table): New function added for delete all
1452 routes from specified routing table.
1454 * main.c (signal_init): SIGTERM call sigint.
1455 (sigint): Loggging more better message.
1457 1999-05-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1459 * rt_netlink.c: Change log () to zlog ().
1461 1999-05-07 <kunihiro@zebra.org>
1463 * zebra.h (ZEBRA_ROUTE_OSPF6): Added for ospf6d route.
1465 1999-04-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1467 * interface.c: Add `no ip address' command.
1469 1999-04-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1471 * rt_netlink.c (kernel_read): Function added for asynchronous
1472 zebra between kernel communication.
1474 1999-03-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1476 * rtread_sysctl.c (rtm_read): Fix address memcopy overrun bug.
1477 Reported by Achim Patzner <ap@bnc.net>.
1479 1999-03-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1481 * Makefile.am: Install configuration sample with 600 permission.
1483 1999-03-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1485 * Makefile.am: Add -I.. to INCLUDES.
1487 1999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
1489 * syslog support added
1491 1999-02-17 Peter Galbavy <Peter.Galbavy@knowledge.com>
1493 * if_sysctl.c (interface_list): allocated memory free when unknown
1494 ifm_type is returned.
1496 * ioctl.c (if_get_mtu): added SIOCGIFDATA treatment.
1498 1998-12-15 Magnus Ahltorp <map@stacken.kth.se>
1500 * interface.c: Header include added.
1502 1998-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1504 * rt.h (kernel_delete_ipv6): change int index to unsigned int index.
1506 1998-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1508 * if_ioctl.c (interface_list_ioctl): interface flag must be
1509 checked before check addresses of the interface.
1511 1998-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1513 * Makefile.am (INCLUDES): add @INCLUDES@ for Linux IPv6.
1515 1998-10-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1517 * ioctl.c: Linux version before 2.1.0 need interface route setup.
1519 1998-09-15 HEO SeonMeyong <seirios@matrix.iri.co.jp>
1521 * change HYDRANGEA to KAME
1523 1998-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1525 * if_ioctl.c (if_addr_ioctl): set address family for getting
1526 interface's address.
1527 (if_get_index): silently return when can't get interface's index.
1529 1998-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1531 * main.c (main): batch mode option '-b' added.
1533 1998-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1535 * ioctl.c (if_set_prefix): add `ip address IPV4ADDR' command.
1536 * interface.c (shutdown_if): add interface shutdown and no
1539 1998-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1541 * rib.c (rib_add_ipv6): delete rib_add_in6.
1543 1998-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1545 * main.c: retain flag is added.
1547 1998-07-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1549 * rtable.[ch]: merged with rib.[ch]
1551 1998-07-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1553 * connected.h: renamed from ifa.h.
1555 1998-06-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1557 * rename if.c to interface.c
1558 * rename ifa.c to connected.c
1560 * Porting to Debian GNU/Linux 2.0 (hamm).
1562 1998-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1564 * rt_netlink.c: renamed from krt_netlink.c
1567 * rt_kvm.c: deleted.
1568 * rtread_getmsg.c: deleted.
1570 1998-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1572 * if.c (multicast): add multicast flag [un]set fucntion.
1574 1998-05-19 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1576 * rt_socket.c: Modify for compile on Solaris, but dont't work it.
1577 rt_socket.c have some undefined function, so add directive "IMPLEMENT"
1579 1998-05-18 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1581 * zebra.c: Modify for compile on Solaris.
1583 1998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1585 * main.c: change CONFDIR to SYSCONFDIR.
1587 1998-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1589 * .cvsignore: added.
1591 1998-04-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1593 * client.c: moves to ../lib.
1595 1998-03-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1597 * if_ioctl.c (if_get_addr): Change address copy from memcopy() to
1598 structure assignment.
1600 1998-03-30 URA Hiroshi <ura@yamato.ibm.co.jp>
1602 * if_sysctl.c (ifm_interface_add): sdl->sdl_data copy bug fixed.
1604 1998-02-23 "Hannes R. Boehm" <hannes@boehm.org>
1606 * if.c (if_init): add config_exit_cmd and config_help_cmd.
1608 1998-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
1610 * rt_ioctl.c (route_ioctl): EPERM treatment added.
1612 1998-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1614 * rt_socket.c (kernel_read): communication port zebra between
1615 kernel is now handled by kernel_read.
1617 1998-01-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1619 * main.c (main): zebra [-P port] can specify vty port number.
1621 1997-12-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1623 * zebra.c: change select will be block.
1625 1997-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1627 * add static route treatment.
1629 1997-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1631 * rt_netlink.c: add netlink support over GNU/Linux system.
1633 1997-11-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1635 * all inet_addr is changed to inet_aton.
1637 * zebra.c (ip_route): add ip route command for static routes.
1639 1997-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1641 * if.c (if_flag_dump): Linux port of if_flag_dump and _vty.
1643 1997-11-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1645 * if.c: add interface command.
1647 1997-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1649 * ipforward_proc.c : Now works on Linux.
1651 1997-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1653 * command.c : add completion feature.
1655 1997-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1657 * vty.c (vty_command): add vty interface.
1659 1997-10-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1661 * zebra.c: add verbose mode.
1663 1997-10-12 SonMyong Ho <s-ho@Matrix.IRI.Co.Jp>
1665 * Hydrangea for FreeBSD supported
1666 * in.h: add some prototype.
1668 1997-10-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1670 * rt_socket.c and rtread.c completely rewritten.
1672 1997-10-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1674 * rt_socket.c: rename kernel_sock to routing_socket
1676 1997-10-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1678 * if.c (if_new): interface structure change from linklist to vector.
1680 1997-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1682 * vector.c (vector_init): create vector related function
1684 1997-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1686 * Makefile.in: add tags target
1688 * start IPv6 support for INRIA FreeBSD.