1 2005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
3 * interface.c: (if_new_intern_ifindex) Remove obsolete function.
4 (if_delete_update) After distributing the interface deletion message,
5 set ifp->ifindex to IFINDEX_INTERNAL.
6 (if_dump_vty) Detect pseudo interface by checking if ifp->ifindex is
8 (zebra_interface) Check return code from interface_cmd.func.
9 Do not set internal ifindex values to if_new_intern_ifindex(),
10 since we now use IFINDEX_INTERNAL for all pseudo interfaces.
11 * kernel_socket.c: (ifm_read) Fix code and comments to reflect that
12 all internal interfaces now have ifp->ifindex set to IFINDEX_INTERNAL.
13 * rt_netlink.c: (set_ifindex) New function used to update ifp->ifindex.
14 Detects interface rename events by checking if that ifindex is already
15 being used. If it is, delete the old interface before assigning
16 the ifindex to the new interface.
17 (netlink_interface, netlink_link_change) Call set_ifindex to update
20 2005-03-31 Hasso Tepper <hasso at quagga.net>
22 * rt_netlink.c (netlink_talk_filter): Show always warning message,
24 * rt_netlink.c (netlink_talk): Don't assume we use netlink_cmd
25 although we do now actually.
26 * rt_netlink.c (netlink_route, netlink_route_multipath): Always use
27 netlink_cmd to send messages to the kernel.
29 2005-03-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
31 * irdp.h: Add prototype for irdp_sock_init, and fix protos for
32 other irdp_* functions.
33 * irdp_interface.c: (irdp_if_start) If irdp_sock is negative,
34 call irdp_sock_init to create the IRDP socket.
35 (irdp_if_init) Rename to irdp_init().
36 (get_iflist_ifp) Remove function that is a duplicate of
38 (*) Make many functions static. And remove superfluous "\n" from
39 several zlog messages.
40 * irdp_main.c: (irdp_init) Remove function that used to call
41 irdp_if_init() and irdp_sock_init(), since we will now create
42 the socket only upon first use.
43 (irdp_sock_init) Do not update global irdp_sock variable, just
44 return the fd and assume that the caller will do so. If setsockopt
45 calls fail, close the socket before returning -1.
46 (*) Make many functions static.
47 * irdp_packet.c: Initialize irdp_sock to -1.
48 (irdp_read_raw) Call standard library function if_lookup_by_index
49 instead of get_iflist_ifp.
50 (irdp_recvmsg) Should be static, not global.
52 2005-03-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
54 * rt_netlink.c: (netlink_link_change) If the status of an
55 operative interface changes (e.g. MTU changes), the client
56 daemons should be notified by calling zebra_interface_up_update.
57 Previously, the information was being updated in zebra's
58 interface structure, but the clients were not notified of
59 changes to an operative interface.
61 2005-03-25 Jean-Mickael Guerin <jean-mickael.guerin@6wind.com>
62 * interface.c, interface.h, rtadv.c, rtadv.h: modifications to
63 IPv6 Neighbor Discovery according to RFC3775, section 7:
64 o 1-bit Home Agent flag management in Router Advertisement (7.1).
65 o 1-bit Router Address flag management in Prefix Information
67 o Advertisement Interval Option (7.3)
68 o Home Agent Information Option (7.4)
69 o Changes to Sending Router Advertisements more frequently (7.5)
71 2005-03-13 Hasso Tepper <hasso at quagga.net>
73 * zebra/interaface.c: "show interface description" command
76 2005-03-12 Paul Jakma <paul@dishone.st>
78 * rt_netlink.c: (netlink_route_multipath) dont set equalise flag.
79 No stock Linux kernel has ever supported it, and even if it had
80 it's not generally a good idea.
82 2005-03-07 Michael Sandee <voidptr@voidptr.sboost.org>
84 * if_proc.c, ipforward_proc.c, rtread_proc.c: Fix fd leaks.
86 2005-03-06 Hasso Tepper <hasso at quagga.net>
88 * interface.c: Fix CRC and frame errors statistics in Linux.
90 2005-02-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
92 * zserv.c: Must include network.h and buffer.h for non-blocking I/O.
93 Remove global message_queue and t_write (need separate buffering for
95 (zebra_server_dequeue,zebra_server_enqueue) Remove functions
96 related to old buggy buffering code.
97 (zserv_delayed_close) New thread callback function to delete a client.
98 (zserv_flush_data) New thread callback function to flush buffered
100 (zebra_server_send_message) Rewritten to use buffer_write (so
101 buffering of writes and non-blocking I/O work properly).
102 (zsend_interface_add,zsend_interface_delete,zsend_interface_address,
103 zsend_interface_update) Return 0 instead of -1 if !client->ifinfo
104 (this is not really an error). Return value from
105 zebra_server_send_message.
106 (zsend_route_multipath,zsend_ipv4_nexthop_lookup,
107 zsend_ipv4_import_lookup) Return value from zebra_server_send_message.
108 (zsend_ipv6_nexthop_lookup) Fix scope to static, and return value
109 from zebra_server_send_message.
110 (zsend_router_id_update) Must use zebra_server_send_message instead
111 of deprecated writen function. Return 0 instead of -1 if this client
112 is not subscribed to router-id updates (since this is not really
114 (zread_interface_add) Change type to static int. If
115 zsend_interface_add fails or zsend_interface_address fails, return -1
116 immediately (since the client has had an I/O error).
117 (zread_interface_delete,zread_ipv4_add,zread_ipv4_delete,
118 zread_ipv6_add,zread_ipv6_delete,zread_router_id_delete) Return 0
120 (zread_ipv4_nexthop_lookup) Return value from
121 zsend_ipv4_nexthop_lookup.
122 (zread_ipv4_import_lookup) Return value from zsend_ipv4_import_lookup.
123 (zebra_read_ipv6) Remove unused function.
124 (zread_ipv6_nexthop_lookup) Return value from
125 zsend_ipv6_nexthop_lookup.
126 (zread_router_id_add) Return value from zsend_router_id_update.
127 (zebra_client_close) Call buffer_free(client->wb) and
128 thread_cancel(client->t_suicide).
129 (zebra_client_create) Allocate client->wb using buffer_new.
130 (zebra_client_read) Support non-blocking I/O by using stream_read_try.
131 Use ZEBRA_HEADER_SIZE instead of 3.
132 (zebra_accept) Fix bug: reset accept thread at top. Make client
133 socket non-blocking using the set_nonblocking function.
134 (config_write_forwarding) Fix scope to static.
135 (zebra_init) Remove initialization code for old buggy write buffering.
136 * zserv.h: Add 2 new fields to struct zserv: struct buffer *wb
137 (to enable buffered writes with non-blocking I/), and
138 struct thread *t_suicide to support delayed close on I/O
140 * router-id.h: Remove prototypes for zread_router_id_add and
141 zread_router_id_delete (their scope should be static to zserv.c).
143 2005-02-24 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
145 * redistribute.c: (zebra_check_addr,is_default,
146 zebra_redistribute_default,zebra_redistribute) Fix scope to be static.
148 2005-02-20 Hasso Tepper <hasso at quagga.net>
150 * rt_netlink.c: Don't show messages "ignoring message type 0x001[89]"
151 if we are not debugging.
153 2005-02-19 Paul Jakma <paul@dishone.st>
155 * zserv.c: (zebra_read_ipv6) replace the char * arithmetic with
158 2005-02-14 Paul Jakma <paul@dishone.st>
160 * Not all Linux netlink systems have IFLA_WIRELESS
162 2005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
164 * ioctl.c: (if_ioctl,if_ioctl_ipv6,if_get_flags) Replace perror with
166 * ioctl_solaris.c: (if_ioctl,if_ioctl_ipv6) Replace perror with
169 2005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
171 * if_ioctl_solaris.c: (interface_list_ioctl) Save errno before calling
173 * ioctl{,_solaris}.c: (if_ioctl,if_ioctl_ipv6) Save errno before calling
175 * ipforward_solaris.c: (solaris_nd) Save errno before calling
177 * irdp_main.c: (irdp_sock_init) Save errno before calling
180 2005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
182 * rt_netlink.c: (netlink_socket,netlink_request,netlink_parse_info,
183 netlink_talk) Save errno before calling zserv_privs.change.
185 2005-01-24 Martin Pot <mpot at martybugs.net>
187 * zebra/rt_netlink.c: ignore wireless newlink netlink messages.
189 2005-01-18 Hasso Tepper <hasso at quagga.net>
191 * interface.c: Better statistics output in "show interface" command in
192 case of /proc being used.
194 2005-01-17 Hasso Tepper <hasso at quagga.net>
196 * main.c: With --nl-bufsize argument is required.
198 2005-01-05 Paul Jakma <paul@dishone.st>
200 * zserv.c: (zebra_accept) Comment out setting of socket to NONBLOCK
201 for now, as we dont actually deal with with resending.... See
202 bugzilla #122, fix from wawa@yandex-team.ru (Vladimir Ivanov).
203 * kernel_socket.c: (routing_socket) ditto.
205 2005-01-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
207 * rtadv.c: (rtadv_recv_packet,rtadv_send_packet) Use ZCMSG_FIRSTHDR
208 instead of CMSG_FIRSTHDR.
210 2004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
212 * connected.c: (connected_add_ipv4) Limit warning about /32 addresses
213 with no peer specified to PtP interfaces only.
215 2004-12-18 Hasso Tepper <hasso at quagga.net>
217 * zebra_vty.c: Fix "show ipv6 route <proto>" command help and make it
218 work for isis routes.
220 2004-12-09 Greg Troxel <gdt@fnord.ir.bbn.com>
222 * kernel_socket.c (rtmsg_debug): char * => const char *
224 2004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
226 * *.c: Change level of debug messages to LOG_DEBUG.
228 2004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
230 * main.c: (main) The 2nd argument to openzlog has been removed.
231 So stdout logging will no longer be enabled by default.
232 * irdp_main.c: (irdp_finish) Reduce severity of shutdown message
233 from LOG_WARNING to LOG_INFO.
235 2004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
237 * main.c: (sigint) Use zlog_notice for termination message.
238 (main) Add a startup announcement using zlog_notice.
240 2004-11-25 Hasso Tepper <hasso at quagga.net>
242 * irdp_interface.c: Remove comment from DEFUN, it breaks vtysh because
243 it confuses extract.pl.
244 * main.c: Make group to run as configurable.
246 2004-10-28 Hasso Tepper <hasso at quagga.net>
248 * interface.c: Remove dead "ip tunnel" command.
250 2004-10-22 Paul Jakma <paul@dishone.st>
252 * irdp_main.c: change setsockopt_pktinfo to setsockopt_ifindex
254 2004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
256 * rt_netlink.c: (netlink_interface_addr) For PtP interfaces, ignore
257 tb[IFA_ADDRESS] if it's the same as tb[IFA_LOCAL].
258 * interface.c: (ip_address_install) Use new ipv4_broadcast_addr
260 * connected.c: (connected_up_ipv4) Use CONNECTED_POINTOPOINT_HOST
262 (connected_down_ipv4) ditto.
263 (connected_add_ipv4) Validate destination address, print warnings
264 if it does not make sense.
266 2004-10-19 Hasso Tepper <hasso at quagga.net>
268 * zserv.c: Fix regression introduced with zserv cleanup.
270 2004-10-13 Hasso Tepper <hasso at quagga.net>
272 * zebra_snmp.c: Remove defaults used to initialize smux connection to
273 snmpd. Connection is initialized only if smux peer is configured.
274 * zserv.c: Remove useless warnings "forwarding is already on".
276 2004-10-12 Hasso Tepper <hasso at quagga.net>
278 * zebra_vty.c: Unbreak "show ip route" command help and make it work
280 * interface.c(if_dump_vty): Show IPv6 addresses in "show interface"
281 output. Fixes Bugzilla #119.
282 * *.c: Make some strings const and some (unsigned) casts to fix
285 2004-10-07 Hasso Tepper <hasso at quagga.net>
287 * connected.c, main.c, rt_netlink.c, rtadv.c, zebra_rib.c, zserv.c:
288 Fix warnings: make strings const, signed -> unsigned.
290 2004-10-05 Paul Jakma <paul@dishone.st>
292 * irdp_packet.c: (parse_irdp_packet) style issues.
293 Use sockopt_iphdrincl_swab_systoh.
294 Try unbork the code. Checksum the ICMP data and actually
295 compare it to received checksum. Check data length against
296 claimed length in header.
297 Always use ntoh.. when accessing addresses, even when the
298 comparison happens to be endian-safe.
299 (send_packet) minor style isues. Use
300 sockopt_iphdrincl_swab_htosys.
301 (irdp_iph_hton/ntoh) IP header to/from network/host order.
303 2004-10-03 Gilad Arnold <gilad.arnold at terayon.com>
305 * interface.c, interface.h: A new prefix tree of connected subnets is
306 associated with each interface structure in zebra, in which each
307 live (ie, non-synthetic) node holds a list of installed addresses
308 that belong to that prefix. Remove secondary address logic from cli.
309 See [quagga-dev 872] for detailed explanation.
310 * connected.c: Use if_subnet_add() and if_subnet_delete().
312 2004-10-03 James R. Leu <jleu at mindspring.com>
314 * router-id.c, router-id.h: New files. Router id selection process. If
315 there is non 127.x.x.x address in loopack interface, lowest of them
316 is chosen. If there isn't, lowest from other interfaces addresses
317 are chosen. "router-id x.x.x.x" vty command to manual override.
318 * Makefile.am: Compile new files.
319 * main.c: Initialize router id.
320 * redistribute.c: Add interface addresses into router id selection
321 lists as they (dis)appear.
322 * zserv.c, zserv.h: Sending router id related messages to daemons.
324 2004-09-26 Hasso Tepper <hasso at quagga.net>
326 * irdp_interface.c, irdp_main.c, irdp_packet.c, rt_netlink.c,
327 rtadv.c, zebra_vty.c: Fix compiler warnings.
329 2004-09-24 Paul Jakma <paul@dishone.st>
331 * irdp_interface.c: (no_ip_irdp_address_preference_cmd)
332 add missing listnode declaration.
334 2004-09-24 Paul Jakma <paul@dishone.st>
336 * irdp_{interface,main}.c: lists typedef removal cleanup.
337 update some list loops to LIST_LOOP. some miscellaneous style
339 (no_ip_irdp_address_preference_cmd) Fix delete of referenced node
341 * irdp_packet.c: (irdp_recvmsg) Fix buggy assignment of integer
343 * if_ioctl{,_solaris}.c: lists typedef removal cleanup.
344 update some list loops to LIST_LOOP.
346 2004-09-23 Hasso Tepper <hasso at quagga.net>
348 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
350 2004-09-22 Paul Jakma <paul.jakma@sun.com>
352 * zserv.c: (zsend_route_multipath) fix nasty bad memset of struct
353 in_addr to sizeof(struct in6_addr), causing odd and hard to debug
356 2004-08-31 Hasso Tepper <hasso at quagga.net>
358 * main.c, rt_netlink.c: Added -s command line switch for tuning
359 netlink receive buffer size in Linux to avoid buffer overruns.
361 2004-08-26 Miles Nordin <carton@Ivy.NET>
363 * ipforward_sysctl.c (mib_ipv6): Use size_t for len, per
364 sysctl(3), rather than int. (Needed on NetBSD/alpha to display
365 forwarding status correctly.)
367 2004-08-23 Paul Jakma <paul@dishone.st>
369 * zserv.c: (zebra_init) remove implicit ip forward enabling
371 2004-08-19 Paul Jakma <paul@dishone.st>
373 * irdp_main.c: update to match sockopt renames.
374 * irdp_packet.c: include sockopt.h and update to match sockopt
377 2004-08-11 Greg Troxel <gdt@fnord.ir.bbn.com>
379 * rtadv.c (rtadv_send_packet): Allocate space for control messages
380 more carefully; it was wrong on NetBSD/sparc where CMSG alignment
381 is to 8 bytes instead of 4, and overwriting the address. Use the
382 provided macros for determining lengths.
384 2004-07-23 Sowmini Varadhan <Sowmini.Varadhan@Sun.COM>
386 * if_ioctl_solaris.c: HAVE_IPV6 ifdef fixups
388 * ioctl_solaris.c: ditto.
389 * interface.c: cast for LLADDR
390 * interface.h: Add guards, include redistribute.h and remove
391 extraneous definitions of zebra_interface_{up,down}_update
392 * ioctl.h: Add AF_IOCTL define for non SOLARIS_IPV6
393 * redistribute.h: include dependent header, zserv.h
394 * zserv.h: include dependent header, rib.h
396 2004-07-23 Paul Jakma <paul@dishone.st>
398 * irdp_main.c: use setsockopt_pktinfo_ipv4
399 * irdp_packet.c: use SOPT_SIZE_CMSG_PKTINFO_IPV4 and
400 getsockopt_pktinfo_ifindex()
402 2004-07-13 David Wiggins <dwiggins@bbn.com
404 * kernel_socket.c (rtm_flag_dump): terminate buffer with '\0', not '0'.
406 2004-07-13 Hasso Tepper <hasso@estpak.ee>
408 * irdp_main.c: Add privilege change.
410 2004-07-12 Hasso Tepper <hasso@estpak.ee>
412 * irdp_interface.c: follow common style while naming vty command
413 functions. Avoids confusion in extract.pl.
415 2004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
417 * main.c: define thread_master variable so that linking with
418 libzebra.so doesn't fail. Arguably zclient.o should be in a
419 separate library, but this is far less disruptive.
421 2004-06-12 Robert Olsson <Robert.Olsson at data.slu.se>
423 * Added IRDP support.
425 2004-05-18 Hasso Tepper <hasso@estpak.ee>
427 * rtadv.c: Removed "[no] ipv6 nd send-ra" command. Replaced "ipv6 nd
428 prefix-advertisement" with "ipv6 nd prefix". Rewrite syntax of
429 "ipv6 nd prefix" command to allow various combinations of parameters
430 and flags. No defaults in configuration. Replaced on-link and
431 autoconfig with off-link and no-autoconfig flags in command syntax.
432 Cosmetic fixes in all commands. Documentation to reflect all changes.
434 2004-05-11 Paul Jakma <paul@dishone.st>
436 * Makefile.am: support for IOCTL_METHOD, as per Sowmini's patch.
437 * if_ioctl_solaris.c: Fixup some erroneous privilege changes and
439 * ioctl_solaris.c: ditto
440 * ioctl.h: Add if_ioctl_ipv6 prototype and AF_IOCTL for SOLARIS_IPV6
441 * kernel_socket.c: Fix SAROUNDUP, compiler doesnt like do..while
442 RHS in assignments :)
443 * redistribute.c: (zebra_interface_delete_update) only used
444 if RTM_IFANNOUNCE and NETLINK is available.
446 2004-05-09 Paul Jakma <paul@dishone.st>
448 * zserv.c: (zsend_route_multipath) Set the nexthop_num
449 field correctly. Add NEXTHOP_TYPE_IPV6_IFNAME for v6.
450 Conditionally set ZAPI_MESSAGE_METRIC flag - only for adds.
451 (zsend_ipv4_add) cruft, deleted.
452 (zsend_ipv4_delete) ditto.
453 (zsend_ipv6_add) ditto.
454 (zsend_ipv6_delete) ditto.
455 * ioctl.c: (if_get_mtu) set mtu6 to mtu
456 * mtu_kvm.c: (if_kvm_get_mtu) set mtu6 to mtu
457 * rt_netlink.c: (netlink_interface) set mtu6 to mtu
458 (netlink_link_change) ditto
459 * ipforward_solaris.c: fix typo of ND variable.
460 * if_ioctl_solaris.c: Add zprivs support.
461 * ioctl_solaris.c: ditto.
463 2004-05-09 Sowmini Varadhan <sowmini.varadhan@sun.com>
465 * zserv.c: (zsend_ipv{4,6}_{add,delete}_multipath) collapsed
466 into single zsend_route_multipath function.
467 (zsend_interface_{up,down}) collapsed into zsend_interface_update.
468 (zsend_interface_address_{add,delete}) collapsed into
469 zsend_interface_address.
470 (zsend_interface_add) send mtu6.
471 (zsend_interface_delete) ditto.
472 (zebra_write) remove unused function.
473 (various) Apply static qualifier. Add comments.
474 * zserv.h: Definitions changed as per above.
475 * redistribute.c: Changes as per zserv.c.
476 * interface.c: (if_delete_update) only used with HAVE_NETLINK
478 (if_flag_dump_vty) Solaris IFF_IPV4 and IFF_IPV6 if flags
479 (if_dump_vty) print mtu6 if not same as mtu
480 * if_ioctl_solaris.c: New file, Solaris interface ioctl methods.
481 * ioctl_solaris.c: New file, Common solaris ioctl methods.
483 2004-04-06 Krzysztof Oledzki <oleq@ans.pl>
485 * rt_netlink.c: Do not ignore metric when reading kernel routing
486 table on Linux with rt_netlink interface.
488 2004-03-18 Hasso Tepper <hasso@estpak.ee>
490 * interface.c: Temporary fix for handling secondary addresses
493 2004-02-12 Hasso Tepper <hasso@estpak.ee>
495 * zserv.c: Added "ipv6 forwarding" command.
497 2004-01-08 Greg Troxel <gdt@fnord.ir.bbn.com>
499 * kernel_socket.c (kernel_read): Use sockaddr_storage in buffer
500 for reading kernel messages to ensure enough space (necessary on
501 Solaris due to sockaddr_dl being large). Thanks to Sowmini
502 Varadhan for help with this change.
504 2004-01-06 Greg Troxel <gdt@t1.ir.bbn.com>
506 * rtadv.c (rtadv_send_packet): Change perror to zlog_err.
508 2004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
509 * kernel_socket.c (ifm_read): Major cleanup. Use Sowmini's code
510 to find the sockaddr_dl in all cases, narrowing the Solaris ifdef
511 to just the accomodation of broken kernels. Check sockaddr_dl
512 carefully up front, and later assume any non-NULL sdl pointer is
513 valid. Clean up types and variable declarations, and rename
514 WRAPUP to SAROUNDUP to make the name fit the behavior.
516 2004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
518 * kernel_socket.c (kernel_read): Add a sockaddr_dl to the ifmsg
519 structure, because on Solaris sockaddr_dl is far larger than the
520 base sockaddr structure. (The code had previously been failing to
523 2004-01-05 Greg Troxel <gdt@ahi.ir.bbn.com>
525 * kernel_socket.c (kernel_read): Look up interfaces by index
526 first, so that state changes which do not include a sockaddr_dl
527 now work. Add many sanity checks. In
528 particular, do not assume that a sockaddr_dl follows a message
529 without checking the ifm_addrs flags, and do not trust the length
530 in a sockaddr_dl. Add/clarify many comments.
532 2003-12-03 Greg Troxel <gdt@poblano.ir.bbn.com>
534 * rtadv.c: reorder includes to avoid compiler warning (define
535 structs before using them in prototypes)
537 2003-05-25 Jim Crumpler <Jim.Crumpler@edion.com>
539 * zserv.c: Add "ip forwarding" command.
541 2003-05-16 Gilad Arnold <gilad.arnold@terayon.com>
543 * zebra_rib.c: Fix memory leaks for ifname nexthops
545 2003-04-19 Israel Keys <ikeys@agile.tv>
547 * rt_netlink.c: BLOCK on netlink while initialising
549 2003-02-06 Francois Deppierraz <francois@ctrlaltdel.ch>
551 * rt_netlink.c (netlink_route_multipath): Set RTM_F_EQUALIZE when
554 2002-09-28 Akihiro Mizutani <mizutani@net-chef.net>
556 * zebra_rib.c (static_add_ipv4): Null0 static route is added.
558 2002-09-10 Jochen Friedrich <chris+zebra@scram.de>
560 * rt_netlink.c: Add check for EAGAIN.
561 * kernel_socket.c: Likewise
563 2002-06-12 Israel Keys <ikeys@oz.agile.tv>
565 * rt_netlink.c: Setting the NLM_F_ACK flag on the netlink command
566 message so that we get an ACK for successful netlink commands.
567 Change the netlink socket to BLOCKING while we wait for a
568 response; be it an ACK or an NLMSG_ERROR. Change
569 netlink_parse_info to deal with ACK messages.
571 2001-11-01 Jun-ichiro itojun Hagino <itojun@iijlab.net>
573 * rtadv.c (rtadv_make_socket): setsockopt(IPV6_CHECKSUM) does not
574 work for ICMPv6 socket.
576 2001-10-24 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
578 * rib.c (rib_process): Select connected route any case.
580 2001-10-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
582 * interface.c (no_ip_address_secondary): Add "no" to command.
584 2001-10-18 NOGUCHI Kay <kay@v6.access.co.jp>
586 * ioctl.c (if_prefix_add_ipv6): Set the prefered and valid lifetime
587 to infinity as the freebsd4.4 workaroud.
589 2001-08-26 mihail.balikov@interbgc.com
591 * zebra_snmp.c: Fix snmpwalk problem such as IPv4 address
594 2001-08-22 NOGUCHI Kay <kay@v6.access.co.jp>
596 * rtadv.c: Do not send RA to loopback interface.
598 2001-08-20 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
600 * ioctl.c (if_set_prefix): Remove Linux 2.0 specific connected
603 2001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
605 * zebra-0.92a released.
607 2001-08-17 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
609 * rib.c: Kernel route is treated as EGP routes in nexthop active
612 2001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
614 * zebra-0.92 released.
616 2001-08-08 "Akihiro Mizutani" <mizutani@dml.com>
618 * rib.c (show_ip_route_prefix_longer): Add longer-prefix option to
621 2001-07-29 Yon Uriarte <havanna_moon@gmx.net>
623 * zserv.c (zsend_ipv4_add_multipath): Add
624 NEXTHOP_TYPE_IPV4_IFINDEX check.
626 2001-07-29 NOGUCHI Kay <kay@v6.access.co.jp>
628 * rtadv.c: Apply valid lifetime, preferred lifetime, onilnk flag,
629 autonomous address-configuration flag patch.
630 (no_ipv6_nd_suppress_ra): Change "ipv6 nd send-ra" to "no ipv6 nd
633 2001-07-24 NOGUCHI Kay <kay@v6.access.co.jp>
635 * rtadv.c (ipv6_nd_ra_interval): Add "ipv6 nd ra-interval SECONDS"
638 2001-07-24 Jun-ichiro itojun Hagino <itojun@iijlab.net>
640 * rt_socket.c (kernel_rtm_ipv4): Add KAME/NetBSD151 equal cost
641 multicast FIB support both IPv4 and IPv6.
643 2001-07-24 Hal Snyder <hal@vailsys.com>
645 * if_ioctl.c (interface_list_ioctl): Fix bug of failing to get the
646 full list of interfaces on some configurations of OpenBSD.
648 2001-07-23 NOGUCHI Kay <kay@v6.access.co.jp>
650 * rtadv.c (ipv6_nd_send_ra): Apply [zebra 9320] to fix "ipv6 nd
652 (ipv6_nd_ra_lifetime): "ipv6 nd ra-lifetime 0" for default router
654 (ipv6_nd_managed_config_flag): "ipv6 nd managed-config-flag" is
656 (ipv6_nd_other_config_flag): "ipv6 nd other-config-flag" is added.
658 2001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
660 * ioctl.c (if_ioctl): Change ioctl argument from int to u_long.
662 * rt_ioctl.c: Likewise.
664 2001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
666 * kernel_socket.c (rtm_write): Only set RTF_CLONING when the
667 interface is not p2p.
669 2001-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
671 * ioctl.c (if_prefix_add_ipv6): Fix argument type.
673 2001-04-06 Toshiaki Takada <takada@zebra.org>
675 * zserv.c (zsend_interface_delete): Use client->obuf instead of
676 allocating new stream.
678 2001-03-10 Kunihiro Ishiguro <kunihiro@zebra.org>
680 * rt_netlink.c: Revert RTPROT_BOOT change.
682 2001-03-08 Kunihiro Ishiguro <kunihiro@zebra.org>
684 * rt_netlink.c (netlink_route_change): Skip RTPROT_BOOT route.
685 (netlink_routing_table): Likewise.
687 2001-03-07 "Akihiro Mizutani" <mizutani@dml.com>
689 * zserv.c (zsend_ipv4_add_multipath): Send metric value to
692 2001-02-18 Kunihiro Ishiguro <kunihiro@zebra.org>
694 * rt_netlink.c (netlink_routing_table): Do not return
695 tb[RTA_GATEWAY] is NULL. Reported by: "Michael O'Keefe"
696 <mokeefe@qualcomm.com>.
698 2001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
700 * if_ioctl.c (interface_list_ioctl): Call if_add_update().
701 Suggested by: Chris Dunlop <chris@onthe.net.au>.
703 2001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
705 * rib.c (nexthop_active_ipv4): When nexthop type is
706 NEXTHOP_TYPE_IPV4_IFINDEX, propery set the ifindex to rifindex.
708 * zserv.c: Initialize rtm_table_default with 0.
710 * zebra-0.91 is released.
712 2001-01-31 Kunihiro Ishiguro <kunihiro@zebra.org>
714 * kernel_socket.c (rtm_read): Filter cloned route. Suggested by:
715 Jun-ichiro itojun Hagino <itojun@iijlab.net>
717 2001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
719 * connected.c (connected_up_ipv6): When point-to-point destination
720 address is ::, use local address for connected network.
721 (connected_down_ipv6): Likewise.
723 2001-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
725 * zserv.c (zebra_serv): Add missing close() call. Reported by:
726 David Waitzman <djw@vineyard.net>.
728 2001-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
730 * rib.c (rib_lookup_ipv4): New function for checking exact match
733 2001-01-23 Kunihiro Ishiguro <kunihiro@zebra.org>
735 * rib.c (show_ipv6_route_protocol): Fix bug of "show ip route
738 2001-01-22 Kunihiro Ishiguro <kunihiro@zebra.org>
740 * interface.c (zebra_interface): Do not call
741 zebra_interface_add_update for inactive interface.
743 * zserv.c (zsend_interface_address_add): Send interface address
745 (zsend_interface_address_delete): Likewise.
747 2001-01-19 Kunihiro Ishiguro <kunihiro@zebra.org>
749 * interface.c (if_addr_add): Add flags.
751 * connected.c (ifa_add_ipv4): Add new function for interface
753 (ifa_delete_ipv4): Likewise.
755 2001-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
757 * rib.c (rib_update): Update IPv6 RIB.
759 * kernel_socket.c (ifam_read): Call if_refresh() for update
760 interface flag status. This is for implicit interface up on *BSD.
762 * interface.c (if_refresh): Add interface flag refresh function.
764 * kernel_socket.c (rtm_read): Fetch link-local address interface
766 (ifan_read): We need to fetch interface information. Suggested
767 by: Yasuhiro Ohara <yasu@sfc.wide.ad.jp>.
769 * rib.c (static_ipv6_nexthop_same): Add check for
770 NEXTHOP_TYPE_IPV6_IFNAME.
772 2001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
774 * rib.h (NEW_RIB): Turn on NEW_RIB flag. IPv6 new RIB code are
777 2001-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
779 * rib.c (static_ipv6_write): Display STATIC_IPV6_GATEWAY_IFNAME
781 (rib_delete_ipv6): Handle same route conter for IPv6 connected
783 (show_ipv6_route_protocol): New command.
784 (show_ipv6_route_addr): Likewise.
785 (show_ipv6_route_prefix): Likewise.
786 (rib_update): Sweep kernel route when it is cleaned up.
788 * rt_socket.c (kernel_add_ipv6): Add NEXTHOP_IPV6_IFNAME
791 * rt_netlink.c (kernel_init): Likewise.
793 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): Likewise.
795 * rib.c (rib_add_ipv4): Cope with same connected route on a
796 interface. Suggested by: Matthew Grant <grantma@anathoth.gen.nz>.
797 (nexthop_ipv6_ifname_add): Add NEXTHOP_IPV6_IFNAME treatmenet.
799 * rib.h (struct new_rib): Add refcnt to keep track on the
800 reference of same connected route.
802 * ioctl.c (if_set_prefix): Add check for GNU_LINUX.
804 2001-01-13 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
806 * kernel_socket.c (ifan_read, rtm_type_str): Add RTM_OIFINFO check.
807 (rtm_type_str): Add RTM_IFANNOUNCE check.
808 (ifan_read): New function.
809 (kernel_read): Add case for RTM_IFANNOUNCE.
811 2001-01-13 Kunihiro Ishiguro <kunihiro@zebra.org>
813 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): New function.
815 * rt_netlink.c (netlink_route_multipath): IPv6 address ifindex
818 * connected.c (connected_up_ipv6): Add dest value check.
820 * rib.c (nexthop_active_ipv6): Do not touch IPv6 nexthop's
822 (rib_add_ipv4): Import rib_add_ipv6() same route check code.
823 (nexthop_active_check): NEXTHOP_TYPE_IPV6_IFINDEX activity is only
826 * rt_socket.c (kernel_rtm_ipv6_multipath): New function.
828 * redistribute.c (redistribute_add): Use
829 zsend_ipv6_add_multipath().
830 (redistribute_delete_multipath): Use
831 zsend_ipv6_delete_multipath().
833 * interface.c (ip_address): Check current IP address to avoid
836 * rib.c (rib_delete_ipv4): When deleted route is connected route,
838 (rib_add_ipv4): When connected route is added do not perform
840 (rib_delete_ipv4): Check ifindex for connected route.
842 * kernel_socket.c (rtm_read): When route has RTF_STATIC, set
843 ZEBRA_FLAG_STATIC for indicate as persistent route.
844 (ifam_read): Unset interface index from link-local address when
847 * rib.c (rib_update): Do not delete persistent kernel route.
849 * rib.h (struct new_rib): Integrate RIB_FLAG_* to ZEBRA_FLAG_*.
851 * rt_socket.c (kernel_add_ipv6_multipath): Add placeholder.
852 (kernel_delete_ipv6_multipath): Likewise.
854 * rt_netlink.c (netlink_talk): Give struct nlsock to netlink_talk.
856 2001-01-12 Kunihiro Ishiguro <kunihiro@zebra.org>
858 * rib.c (rib_update): Revert Matthew Grant's patch
859 zebra_cvs_newribfix.patch. Use struct rib->ifindex for kernel
860 interface index. Introduce NEXTHOP_TYPE_IPV4_IFINDEX to support
861 that. Add support for address deletion situation.
863 2001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
865 * interface.c: Remove HAVE_IF_PSEUDO part.
869 * rt_netlink.c (netlink_link_change): Likewise.
871 2001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
873 * zserv.c: Remove OLD_RIB codes.
875 2001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
877 * zebra-0.90 is released.
879 2001-01-09 Matthew Grant <grantma@anathoth.gen.nz>
881 * interface.c (if_new_intern_ifindex): Allocate a new internal
883 (if_addr_refresh): Fix up ip addresses configured via zebra.
884 (if_add_update): Handle an interface addition.
885 (if_delete_update): Handle an interface delete event.
887 * rib.c (nexthop_ipv4_add): Add kernel route deletion process when
890 2001-01-08 Kunihiro Ishiguro <kunihiro@zebra.org>
892 * interface.c (if_dump_vty): When HAVE_NET_RT_IFLIST is defined,
893 NetBSD also use this function. Suggested by Jasper Wallace
894 <jasper@ivision.co.uk>.
896 2001-01-07 Kunihiro Ishiguro <kunihiro@zebra.org>
898 * rib.c (nexthop_active_ipv4): Move back to set methodo to old
901 2001-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
903 * rib.c (rib_add_ipv4): EBGP multihop set ZEBRA_FLAG_INTERNAL
906 2001-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
908 * rt_netlink.c (netlink_talk_ipv6): When IPv6 route message is
909 sent from netlink_cmd, the same message comes from netlink. To
910 avoid confusion, temporary netlink_talk_ipv6 use netlink.sock
911 instead of netlink_cmd.sock.
913 2001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
915 * zserv.h (ZEBRA_SERV_PATH): Change "/tmp/zebra" to "/tmp/.zebra".
916 Change "/tmp/zserv" to "/tmp/.zserv".
918 2000-12-29 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
920 * rt_netlink.c (struct nlsock): Divide kernel message into listen
921 socket and command socket.
922 (netlink_talk): Remove socket listen code. Use netlink_parse_info
923 for read kernel response.
925 2000-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
927 * rib.c (vty_show_ip_route): Show uptime of the RIP,OSPF,BGP
930 2000-12-27 Kunihiro Ishiguro <kunihiro@zebra.org>
932 * rt_netlink.c (netlink_route_multipath): Metric value is
933 reflected to kernel routing table.
935 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Likewise.
937 * kernel_socket.c (rtm_write): Likewise.
939 * rib.c (nexthop_active_ipv4): Only iBGP route perform recursive
942 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Add ioctl version of
943 new RIB implementation.
945 2000-12-26 Kunihiro Ishiguro <kunihiro@zebra.org>
947 * rib.h: Remove MULTIPATH_NUM. It is defined by configure script.
949 2000-12-25 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
951 * rib.c (rib_if_up): Call rib_fib_set instead of RIB_FIB_SET for
952 proper redistribution.
954 2000-12-19 Kunihiro Ishiguro <kunihiro@zebra.org>
956 * rib.c (nexthop_active_ipv4): Add self lookup nexthop check.
957 (show_ip_route_protocol): Support new RIB.
959 * rt_netlink.c (netlink_route_change): Do not return when gate is
962 2000-12-18 Kunihiro Ishiguro <kunihiro@zebra.org>
964 * rib.c (rib_lookup_ipv4_nexthop): IBGP nexthop check function is
966 (rib_add_ipv4): Free implicit withdraw route's RIB.
968 2000-12-15 Kunihiro Ishiguro <kunihiro@zebra.org>
970 * rib.c (nexthop_active_ipv4): Check indirect nexthop.
972 * redistribute.c (redistribute_add_multipath): Redistribution
973 works with new rib code.
975 2000-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
977 * rt_netlink.c (netlink_route_multipath): Check useful nexthop
979 (netlink_route_multipath): Clear rtnh_flags and rtnh_hops.
981 * rib.c (nexthop_active_update): Set flag for the rib's nexthop
983 (nexthop_active_check): Before checking interface is up, make it
984 sure the interface exist.
986 2000-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
988 * rib.c (ip_route): New RIB prototype.
990 2000-11-16 Yon Uriarte <ukl2@rz.uni-karlsruhe.de>
992 * zserv.c (zsend_interface_add): Send hardware address when
993 hw_addr_len is greater than 0.
995 2000-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
997 * connected.c (connected_up_ipv4): Fix ptop bug. The destination
998 network should be installed into routing table.
999 (connected_down_ipv4): Likewise.
1000 (connected_add_ipv4): Change to use connected_up_ipv4.
1001 (connected_delete_ipv4): Likewise.
1003 2000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1005 * rt_netlink.c (netlink_interface_addr): Revert Harald Welte
1006 <laforge@gnumonks.org>'s ptop patch then back to original code to
1007 avoid duplicated connected route problem. Suggested by Frank van
1008 Maarseveen <F.vanMaarseveen@inter.NL.net>.
1010 * kernel_socket.c (rtm_read): Make behavior consistent even #ifdef
1011 DEBUG is defined. Reported by Jun-ichiro itojun Hagino
1012 <itojun@iijlab.net>.
1014 2000-10-23 Jochen Friedrich <jochen@scram.de>
1016 * main.c (main): Call zebra_snmp_init() when it is enabled.
1018 2000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1020 * zserv.c (zebra_serv_un): UNIX domain socket server of zebra
1023 2000-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1025 * rib.c (rib_add_ipv4): Same check bug is fixed.
1027 2000-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1029 * rib.c (rib_if_down): Remove kernel route when the interface goes
1032 * debug.c: New command "debug zebra kernel" is added.
1034 2000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1036 * zebra-0.89 is released.
1038 2000-09-24 Harald Welte <laforge@gnumonks.org>
1040 * rt_netlink.c (netlink_interface_addr): Fix point-to-point address
1041 treatment in netlink interface.
1043 2000-09-21 David Lipovkov <dlipovkov@OpticalAccess.com>
1045 * rib.c (rib_if_down): Pull static route only. Protocol daemon
1046 must withdraw routes when interface goes down.
1047 (rib_add_ipv4): Check nexthop when replace route.
1049 2000-09-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1051 * if_ioctl.c (if_getaddrs): New function for looking up
1052 interface's address by getifaddrs().
1054 2000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1056 * connected.c (connected_delete_ipv4): Add check for connected
1057 address is found or not.
1058 (connected_add_ipv6): Reflect IPv6 connected address change to
1060 (connected_delete_ipv6): Likewise.
1062 2000-09-07 David Lipovkov <davidl@nbase.co.il>
1064 * rib.c (rib_delete_ipv4): Reverted the change from pseudo
1065 interface patch to original. Because ospfd deletes routes using
1068 2000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1070 * zebra-0.88 is released.
1072 2000-08-15 "Akihiro Mizutani" <mizutani@dml.com>
1074 * rib.c (show_ip_route_protocol): Help string correction.
1075 (show_ip_route_prefix): Check prefix mask.
1076 (show_ip_route_vty_detail): Display distance and metric.
1078 2000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1080 * zserv.c (zsend_interface_add): Change ifindex store size from
1082 (zsend_interface_delete): Likewise.
1083 (zsend_interface_address_add): Likewise.
1084 (zsend_interface_address_delete): Likewise.
1085 (zsend_interface_up): Likewise.
1086 (zsend_interface_down): Likewise.
1088 2000-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1090 * rib.c (rib_add_ipv4): Do not install distance 255 route.
1092 2000-08-10 Toshiaki Takada <takada@zebra.org>
1094 * interface.c (bandwidth_if), (no_bandwidth_if): Call
1095 zebra_interface_up_update () instead of using if_up() and if_down().
1097 2000-08-07 "Akihiro Mizutani" <mizutani@dml.com>
1099 * interface.c (bandwidth_if): Fix help string.
1101 2000-08-07 Matthew Grant <grantma@anathoth.gen.nz>
1103 * interface.c (if_dump_vty): Display bandwidth value.
1104 (bandwidth_if): New command "bandwidth <1-10000000>" is added.
1105 When interface is up, force protocol daemons to recalculate routes
1107 (no_bandwidth_if): Likewise.
1108 (if_config_write): Output bandwidth configuration.
1110 * zserv.c (zsend_interface_add): Send bandwidth value.
1111 (zsend_interface_up): Likewise.
1112 (zsend_interface_down): Likewise.
1115 2000-08-07 Michael Rozhavsky <mike@nbase.co.il>
1117 * rib.c (show_ip_route_protocol): "show ip route
1118 (bgp|connected|kernel|ospf|rip|static)" is added.
1120 2000-08-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1122 * rib.c (rib_lookup_ipv4_nexthop): Check parent node until IGP
1124 (rib_add_ipv4_internal): Set fib ifindex to rib ifindex.
1126 2000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1128 * redistribute.c (redistribute_delete): Fix bug of default route
1129 redistribute treatment.
1131 2000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1133 * rib.c (rib_init): Install ip_node in rib.c instead of zserv.c.
1134 Change default distance value.
1137 ------------------------------------------
1146 bgp 70 200(iBGP) 20(eBGP)
1147 ------------------------------------------
1149 * zserv.c (client_lookup): Function removed.
1150 (zsend_interface_add): Use client's output buffer. Check ifinfo
1152 (zsend_interface_delete): Likewise.
1153 Delete ipv4_static_radix and ipv6_static_radix.
1155 2000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1157 * zserv.h (struct zebra_client): When client request interface
1158 information, ifinfo is set.
1160 * rib.c: Temporary Revert changes for pseudo interface.
1164 * zserv.c: Likewise.
1166 * interface.c: Likewise.
1168 2000-08-02 David Lipovkov <davidl@nbase.co.il>
1170 * interface.c (zebra_if_init): Install interface "pseudo"
1173 * rib.c (rib_create): ifname argument is added.
1174 (rib_add_ipv4_pseudo): New function is added.
1175 (rib_delete_ipv4_pseudo): Likewise.
1177 * rib.h : Delete INTERFACE_UNKNOWN definition. Add prototype for
1178 pseudo interface functions.
1180 * rt_netlink.c (netlink_link_change): Check for pseudo interface.
1182 * zserv.c (ip_route): When destination is pseudo interface, call
1183 rib_add_ipv4_pseudo().
1185 * zserv.c (no_ip_route): Trim "unknown" argument.
1187 2000-07-26 kunitake@dti.ad.jp
1189 * if_ioctl.c (if_get_hwaddr): Fix hardware address length from 8
1192 * rtadv.c (rtadv_send_packet): Fix shift bug for hardware address.
1194 2000-07-24 Akihiro Mizutani <mizutani@dml.com>
1196 * interface.c: Use install_default() for common VTY commands.
1198 2000-07-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1200 * if_ioctl.c (interface_list_ioctl): A interface list size is
1201 calculated from ifreq->if_addr.sa_len. This is for OpenBSD.
1203 * ioctl.c (if_get_mtu): Remove codes for SIOCGIFDATA.
1205 2000-07-09 Chris Dunlop <chris@onthe.net.au>
1207 * if_ioctl.c (if_get_index): Add check for HAVE_BROKEN_ALIASES.
1209 2000-07-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1211 * zserv.c (zebra_client_read): Add ZEBRA_REDISTRIBUTE_{ADD,DELETE}
1214 2000-07-02 David Lipovkov <davidl@nbase.co.il>
1216 * zserv.c: "ip route A.B.C.D/M unknown" command is added.
1218 2000-06-28 Michael Rozhavsky <mike@nbase.co.il>
1220 * rib.c: Remove old kernel route when new route comes in.
1222 2000-06-13 David Lipovkov <davidl@nbase.co.il>
1224 * rib.c (rib_if_up): Add check for unknown interface.
1226 2000-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1228 * rib.h: Define INTERFACE_UNKNOWN.
1230 2000-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1232 * Makefile.am (EXTRA_DIST): Move irdp.c until implementation is
1235 2000-06-05 David Lipovkov <davidl@nbase.co.il>
1237 * interface.c (if_zebra_delete_hook): Call rib_if_delete().
1239 * redistribute.c (zebra_interface_delete_update): New function.
1241 * redistribute.h (zebra_interface_delete_update): New function
1244 * rib.c (rib_if_delete): New function. Walk down all routes and
1245 delete all on the interface.
1247 * rib.h: New function prototype.
1249 * rt_netlink.c (netlink_link_change): Call
1250 zebra_interface_delete_update ().
1252 2000-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1254 * if_ioctl.c (interface_info_ioctl): Check interface's flag before
1255 checking interface's address.
1257 2000-04-26 Jochen Friedrich <jochen@nwe.de>
1259 * GNOME-PRODUCT-ZEBRA-MIB: New file.
1261 * GNOME-SMI: New file.
1263 2000-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1265 * irdp.c: New file from 1997 development code.
1268 2000-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1270 * rtadv.c (rtadv_send_packet): Enclose router advertisement
1271 logging with IS_ZEBRA_DEBUG_PACKET.
1273 2000-04-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1275 * zserv.c (zebra_client_close): Remove client structure from
1276 client_list when connection is terminated.
1278 2000-03-21 David Lipovkov <davidl@nbase.co.il>
1280 * connected.c (connected_add_ipv4): Allows all necessary structure
1281 updates for connected route, but doesn't insert it into rib if
1282 it's interface is down.
1284 2000-01-21 Hideto Yamakawa <hideto.yamakawa@soliton.co.jp>
1286 * rtread_getmsg.c: Set some definition for Solaris 2.5 and Solaris
1289 2000-01-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1291 * rib.c (no_ipv6_route_ifname): Fix buf of cheking return value
1292 from str2prefix_ipv6().
1294 2000-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1296 * rt_socket.c: Revert to use RTF_HOST for IPv4 with /32 route and
1297 IPv6 with /128 routes.
1298 (kernel_rtm_ipv4): In case of /32 route's gateway is interface. It
1299 should have mask for cloning.
1301 1999-12-26 Jochen.Friedrich@genorz.de
1303 * interface.c (if_dump_vty): Fix a bug of missing VTY_NEWLINE.
1305 1999-12-23 Alex Zinin <zinin@amt.ru>
1306 * interface.*: dynamic int up/down support
1308 1999-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1310 * ipforward_proc.c (dropline): Move dropline() from lib/dropline.c
1312 * rtread_proc.c (proc_route_read): Don't use dropline().
1314 1999-12-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1316 * kernel_socket.c (rtm_read): When message is RTM_GET, it has own
1319 1999-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1321 * main.c (main): Change to default log output to ZLOG_STDOUT.
1323 * zserv.c (zebra_serv): More detailed error print.
1325 1999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1327 * kernel_socket.c (rtm_read): Check old pid for static route
1330 1999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1332 * interface.c (if_dump_vty): BSDI/OS uses 64bit for interface
1335 * mtu_kvm.c: New file added.
1337 1999-11-27 Vladimir B. Grebenschikov <vova@express.ru>
1339 * kernel_socket.c (rtm_write): Set RTF_CLONING flag for
1340 route to the directly connected interface.
1342 1999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1344 * rt_socket.c: Delete USE_HOST_BIT definition.
1346 1999-11-21 Michael Handler <handler@sub-rosa.com>
1348 * rtread_getmsg.c: Undef some definition to resolve conflict.
1350 1999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1352 * kernel_socket.c (rtm_write): Change to use pre stored struct_dl
1353 value for gateway specification.
1355 1999-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1357 * rt_socket.c (kernel_rtm_ipv4): Even mask is 32 under IPv4 or
1358 128 under IPv6, don't use RTF_HOST.
1360 1999-11-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1362 * Makefile.am (EXTRA_DIST): Add rtread_getmsg.c.
1364 1999-11-21 Michael Handler <handler@sub-rosa.com>
1366 * rtread_getmsg.c: Added for Solaris 2.6 support.
1368 1999-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1370 * rtread_sysctl.c (rtm_read_route): RTM_DELETE handling added.
1372 * rt_socket.c (kernel_read): Better BSD routing socket support.
1374 1999-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1376 * client_main.c: Disable making obsolete zebra test `client'
1379 1999-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1381 * zebra.c: Renamed to zserv.c.
1383 * zebra.h: Global definitions are moved to lib/zebra.h. Then
1386 1999-10-15 Jordan Mendelson <jordy@wserv.com>
1388 * if_ioctl.c: Add Linux 2.2.X's alias support and dynamic
1389 interface. Remove ugly MAX_INTERFACE handling codes.
1391 1999-09-17 Satosi KOBAYASI <kobayasi@north.ad.jp>
1393 * Fix serious bug of IPv6 route deletion.
1395 1999-09-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1397 * ioctl.c (if_set_prefix): Properly set broadcast address.
1399 1999-09-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1401 * rib.c (rib_add_ipv6, rib_delete_ipv6): now protocol daemons
1402 can install connected route to kernel via zebra
1404 1999-08-24 VOP <vop@unity.net>
1406 * rib.c: Include "sockunion.h"
1408 1999-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
1410 * ipforward.h: New file.
1412 * zebra.h: Obsolete message ZEBRA_GET_ALL_INTERFACE,
1413 ZEBRA_GET_ONE_INTERFACE, ZEBRA_GET_HOSTINFO are deleted.
1415 1999-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1417 * zebra.h (ZEBRA_INTERFACE_ADDRESS_ADD):
1418 ZEBRA_INTERFACE_{ADD,DELETE} added.
1420 1999-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1422 * rib.c: show ip route A.B.C.D works.
1424 * zebra.c (zebra_read_ipv4): Add ifindex to zebra messages.
1426 1999-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1428 * zebra.h: New Zebra message ZEBRA_INTERFACE_{ADD,DELETE} added.
1430 1999-08-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1432 * interface.h: New file.
1433 * Makefile.am: Add interface.h
1435 1999-08-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1437 * redistribute.c (zebra_redistribute): give ifindex to client.
1439 1999-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1441 * main.c (longopts): -k, --keep_kernel option added.
1443 1999-07-18 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1445 * rt_socket.c (rtm_write): forgot closing socket bug fixed.
1447 1999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1449 * rib.c (show_ipv6_cmd): if rib is link show interface name.
1451 1999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1453 * rt_socket.c (rtm_write): use sockaddr_dl when null gateway.
1455 1999-07-16 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1457 * rt_socket.c (rtm_write): ipv6 route table bug fixed.
1459 1999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1461 * zebra.c (zebra_read_ipv6): read link prefix from ospf6 support
1463 1999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1465 * rt_socket.c (kernel_rtm_ipv6): gate treatment bug fixed.
1467 1999-07-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1469 * if_sysctl.c (ifm_read): Clear sockunion argument before fetching
1470 data. Suggested by "Chris P. Ross" <cross@eng.us.uu.net>
1472 1999-07-08 HEO SeonMeyong <seirios@Matrix.IRI.Co.Jp>
1474 * interface.c (if_tun_add): Add KAME's gif tunnel setting codes.
1476 1999-06-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1478 * zebra.c (zebra_serv): Only accept loopback address connection.
1480 1999-06-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1482 * zebra.h (ZEBRA_ROUTE_EXTERNAL): Add zebra messages flags
1484 1999-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1486 * ipforward_proc.c: ipforward_on () and ipforward_off () added.
1488 1999-06-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1490 * ipforward_proc.c (ipforward_ipv6): Check for IPv6 forwarding
1491 using /proc file system is added.
1493 1999-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1495 * if_ioctl.c (if_get_index): Interface index set bug is fixed by
1496 adding #else at the middle of function. Suggested by David Luyer
1497 <luyer@ucs.uwa.edu.au>.
1499 1999-05-29 <kunihiro@zebra.org>
1501 * rt_ioctl.c: Comment out #include <linux/ipv6_route.h>.
1503 1999-05-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1505 * zebra.h (ZEBRA_ROUTE_MAX): Add new define for the max value of
1508 1999-05-25 Patrick Koppen <koppen@rhrk.uni-kl.de>
1510 * rt_netlink.c (netlink_socket): Make netlink socket non-blocking.
1511 (netlink_parse_info): If errno is EWOULDBLOCK then continue to
1513 (netlink_talk): Likewise
1515 1999-05-17 <kunihiro@zebra.org>
1517 * redistribute.c (zebra_check_addr): Added for loopback address
1520 1999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1522 * rt_netlink.c (netlink_route_change): Tempolary bypass ipv6 route
1525 * Makefile.am (noinst_HEADERS): redistribute.h added.
1527 * redistribute.h: New file.
1529 1999-05-14 Stephen R. van den Berg <srb@cuci.nl>
1531 * zebra.c (show_table): Show all table configuration DEFUN.
1532 (config_table): Config table number DEFUN.
1534 * rt_netlink.c: Add support for multiple routing table.
1536 * rib.c (rib_weed_table): New function added for delete all
1537 routes from specified routing table.
1539 * main.c (signal_init): SIGTERM call sigint.
1540 (sigint): Loggging more better message.
1542 1999-05-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1544 * rt_netlink.c: Change log () to zlog ().
1546 1999-05-07 <kunihiro@zebra.org>
1548 * zebra.h (ZEBRA_ROUTE_OSPF6): Added for ospf6d route.
1550 1999-04-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1552 * interface.c: Add `no ip address' command.
1554 1999-04-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1556 * rt_netlink.c (kernel_read): Function added for asynchronous
1557 zebra between kernel communication.
1559 1999-03-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1561 * rtread_sysctl.c (rtm_read): Fix address memcopy overrun bug.
1562 Reported by Achim Patzner <ap@bnc.net>.
1564 1999-03-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1566 * Makefile.am: Install configuration sample with 600 permission.
1568 1999-03-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1570 * Makefile.am: Add -I.. to INCLUDES.
1572 1999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
1574 * syslog support added
1576 1999-02-17 Peter Galbavy <Peter.Galbavy@knowledge.com>
1578 * if_sysctl.c (interface_list): allocated memory free when unknown
1579 ifm_type is returned.
1581 * ioctl.c (if_get_mtu): added SIOCGIFDATA treatment.
1583 1998-12-15 Magnus Ahltorp <map@stacken.kth.se>
1585 * interface.c: Header include added.
1587 1998-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1589 * rt.h (kernel_delete_ipv6): change int index to unsigned int index.
1591 1998-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1593 * if_ioctl.c (interface_list_ioctl): interface flag must be
1594 checked before check addresses of the interface.
1596 1998-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1598 * Makefile.am (INCLUDES): add @INCLUDES@ for Linux IPv6.
1600 1998-10-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1602 * ioctl.c: Linux version before 2.1.0 need interface route setup.
1604 1998-09-15 HEO SeonMeyong <seirios@matrix.iri.co.jp>
1606 * change HYDRANGEA to KAME
1608 1998-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1610 * if_ioctl.c (if_addr_ioctl): set address family for getting
1611 interface's address.
1612 (if_get_index): silently return when can't get interface's index.
1614 1998-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1616 * main.c (main): batch mode option '-b' added.
1618 1998-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1620 * ioctl.c (if_set_prefix): add `ip address IPV4ADDR' command.
1621 * interface.c (shutdown_if): add interface shutdown and no
1624 1998-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1626 * rib.c (rib_add_ipv6): delete rib_add_in6.
1628 1998-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1630 * main.c: retain flag is added.
1632 1998-07-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1634 * rtable.[ch]: merged with rib.[ch]
1636 1998-07-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1638 * connected.h: renamed from ifa.h.
1640 1998-06-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1642 * rename if.c to interface.c
1643 * rename ifa.c to connected.c
1645 * Porting to Debian GNU/Linux 2.0 (hamm).
1647 1998-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1649 * rt_netlink.c: renamed from krt_netlink.c
1652 * rt_kvm.c: deleted.
1653 * rtread_getmsg.c: deleted.
1655 1998-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1657 * if.c (multicast): add multicast flag [un]set fucntion.
1659 1998-05-19 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1661 * rt_socket.c: Modify for compile on Solaris, but dont't work it.
1662 rt_socket.c have some undefined function, so add directive "IMPLEMENT"
1664 1998-05-18 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1666 * zebra.c: Modify for compile on Solaris.
1668 1998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1670 * main.c: change CONFDIR to SYSCONFDIR.
1672 1998-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1674 * .cvsignore: added.
1676 1998-04-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1678 * client.c: moves to ../lib.
1680 1998-03-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1682 * if_ioctl.c (if_get_addr): Change address copy from memcopy() to
1683 structure assignment.
1685 1998-03-30 URA Hiroshi <ura@yamato.ibm.co.jp>
1687 * if_sysctl.c (ifm_interface_add): sdl->sdl_data copy bug fixed.
1689 1998-02-23 "Hannes R. Boehm" <hannes@boehm.org>
1691 * if.c (if_init): add config_exit_cmd and config_help_cmd.
1693 1998-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
1695 * rt_ioctl.c (route_ioctl): EPERM treatment added.
1697 1998-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1699 * rt_socket.c (kernel_read): communication port zebra between
1700 kernel is now handled by kernel_read.
1702 1998-01-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1704 * main.c (main): zebra [-P port] can specify vty port number.
1706 1997-12-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1708 * zebra.c: change select will be block.
1710 1997-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1712 * add static route treatment.
1714 1997-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1716 * rt_netlink.c: add netlink support over GNU/Linux system.
1718 1997-11-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1720 * all inet_addr is changed to inet_aton.
1722 * zebra.c (ip_route): add ip route command for static routes.
1724 1997-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1726 * if.c (if_flag_dump): Linux port of if_flag_dump and _vty.
1728 1997-11-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1730 * if.c: add interface command.
1732 1997-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1734 * ipforward_proc.c : Now works on Linux.
1736 1997-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1738 * command.c : add completion feature.
1740 1997-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1742 * vty.c (vty_command): add vty interface.
1744 1997-10-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1746 * zebra.c: add verbose mode.
1748 1997-10-12 SonMyong Ho <s-ho@Matrix.IRI.Co.Jp>
1750 * Hydrangea for FreeBSD supported
1751 * in.h: add some prototype.
1753 1997-10-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1755 * rt_socket.c and rtread.c completely rewritten.
1757 1997-10-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1759 * rt_socket.c: rename kernel_sock to routing_socket
1761 1997-10-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1763 * if.c (if_new): interface structure change from linklist to vector.
1765 1997-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1767 * vector.c (vector_init): create vector related function
1769 1997-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1771 * Makefile.in: add tags target
1773 * start IPv6 support for INRIA FreeBSD.