1 2005-10-01 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
3 * rt_netlink.c: (netlink_request) Use memset to clear structure
4 before calling sendto (eliminates a valgrind error message about
7 2005-09-28 Alain Ritoux <alain.ritoux@6wind.com>
9 * zserv.c: Always provied distance for route add
11 2005-09-28 Alain Ritoux <alain.ritoux@6wind.com>
13 * connected.c: flag connected_up_ipv6() and connected_down_ipv6()
16 2005-09-24 Hasso Tepper <hasso at quagga.net>
18 * rib.h: Add note about behaviour of rib_add_ipv[46]* functions -
19 add is treated as implicit withdraw.
21 2005-09-21 David Young <dyoung@ojctech.com>
23 * zebra_rib.c: Reduce the height of some staircases. Fix
24 rib_delete_ipv6() to match routes in the RIB by their gateway as
25 well as by destination.
27 2005-09-21 Paul Jakma <paul.jakma@sun.com>
29 * zebra_rib.c: (static_uninstall_ipv{4,6}) Fix regression wrt
30 removal of static routes with multiple-hops introduced with
31 the workqueue conversion. We should free the relevant
32 nexthop and then get rib_process to run, otherwise we just
33 get same static route back again (with no way to unconfigure
34 it, because its already deleted from configuration).
36 2005-09-12 Paul Jakma <paul.jakma@sun.com>
38 * (general) RTM_CHANGE and implicit withdraw on RTM_NEWADDR
40 * connected.c: (connected_withdraw) new function. withdraw a
41 connected subnet address set from zebra, and pass information
43 (connected_announce) similar, but to announce a new connected
45 (connected_check_ipv4) renamed to connected_check, as its
47 (connected_add_ipv{4,6}) Remove the connected address announce
48 stuff, use connected_announce instead.
49 If connected_check indicates address is already present,
50 treat it as an implicit withdraw of the existing address, ie
51 remove the old address details and replace with the new
53 (connected_delete_ipv{4,6}) Use connected_withdraw.
54 (connected_check_ipv6) deleted in favour of connected_check.
55 * connected.h: Rename connected_check_ipv4 to connected_check.
56 delete connected_check_ipv6.
57 * interface.c: Use connected_check rather than the AFI specific
59 * kernel_socket.c: (rtm_read) RTM_CHANGE support. Create a
60 rib delete event for the existing route, before adding route
62 (kernel_read) we can handle RTM_CHANGE now.
64 2005-08-27 Hasso Tepper <hasso at quagga.net>
66 * zebra_rib.c, rib.h: Add distance and metric arguments to the
67 rib_add_ipv6() function so that IPv6 routes in RIB can have correct
68 metric. No IPv6 routing daemon uses distance yet though.
69 * zserv.c, connected.c, kernel_socket.c, rt_netlink.c,
70 rtread_proc.c,zserv.c: Pass metric and distance info to the
73 2005-07-29 Paul Jakma <paul.jakma@sun.com>
75 * interface.c: (if_delete_update) should always be available, not
76 just on RTM_IFANNOUNCE/NETLINK systems.
77 * kernel_socket.c: (ifan_read) only call if_delete_update when
78 interface departs, dont if_delete, because we wish to retain
79 interface configuration state even when interfaces are removed.
80 (ifm_read) If we dont have RTM_IFANNOUNCE, then transitioning
81 to down state is only chance we have to clean up interface in case
82 it is deleted (eg Solaris down -> unplumb -> plumb up).
83 * redistribute.c: (zebra_interface_delete_update) should always be
84 available, we /will/ call it now on all systems, via
86 * zserv.c: (zsend_interface_delete) ditto
87 (zsend_interface_address) Update the call-flow diagramme, to
88 reflect that if_delete_update /is/ now called on all systems,
90 * zserv.h: (zsend_interface_delete) unconditionally exported, as
93 2005-06-28 Paul Jakma <paul.jakma@sun.com>
95 * (global) Extern and static'ification, with related fixups
96 of declarations, ensuring files include their own headers, etc.
97 * if_ioctl.c: (interface_info_ioctl) fix obvious arg mis-order in
99 * kernel_socket.c: (RTA_{ADDR,ATTR}_GET) fix mistake, NULL check
100 should be on DEST argument
102 2005-06-14 Paul Jakma <paul.jakma@sun.com>
104 * kernel_socket.c: consolidate the IFAM{ADDR,MASK}GET and
105 RTM{ADDR,MASK}GET macros into generic rta_addrs macros,
107 (af_check) could use 'inline' attribute
108 (ifam_read_mesg) remove IFAM{ADDR,MASK}GET macro, change to
110 (rtm_read_mesg) similar
112 2005-06-12 Hasso Tepper <hasso at quagga.net>
114 * rt_netlink.c: Remove netlink-addr socket declaration, it's not used.
115 * rt_netlink.c (netlink_parse_info): Fix debug messages - nlmsg_pid is
116 unsigned and one zlog call had swapped arguments.
117 * rt_netlink.c (netlink_route_multipath): Fix compile with disabled
120 2005-05-31 Paul Jakma <paul.jakma@sun.com>
122 * zserv.c: (zsend_route_multipath) Fix bug if route is sent
123 with no NEXTHOP_FLAG_FIB nexthops. As ZAPI_MESSAGE_IFINDEX
124 and ZAPI_MESSAGE_NEXTHOP are always set, clients would try
125 read non-existent nexthop information and hit stream assert.
126 Zserv is still broken for multi-nexthop messages, but it always was.
128 2005-05-06 Paul Jakma <paul.jakma@sun.com>
130 * zserv.h: Remove ZEBRA_PORT definition, its in lib/zebra.h now
132 2005-04-28 Paul Jakma <paul.jakma@sun.com>
134 * rib.h: (struct rib) Add lock field for refcounting.
135 * zserv.h: (struct zebra_t) Add a ribq workqueue to the zebra
137 * zserv.c: (zread_ipv4_add) XMALLOC then memset should be XCALLOC.
138 * zebra_rib.c: Clean up refcounting of route_node, make struct rib
139 refcounted and convert rib_process to work-queue. In general,
140 rib's should be rib_addnode'd and delnode'd to route_nodes, and
141 these symmetrical functions will manage the locking of referenced
142 route_node and freeing of struct rib - rather than having users
143 manage each seperately - with much scope for bugs..
144 (newrib_free) removed and replaced with rib_lock
145 (rib_lock) new function, check state of lock and increment.
146 (rib_unlock) new function, check lock state and decrement. Free
147 struct rib if refcount hits 0, freeing struct nexthop's, as
149 (rib_addnode) Add RIB to route_node, locking both.
150 (rib_delnode) Delete RIB from route_node, unlocking each.
151 (rib_process) Converted to a work-queue work function.
152 Functional changes are minimal, just arguments, comments and
154 (rib_queue_add_qnode) Helper function to setup a ribq item.
155 (rib_queue_add) Helper function, same arguments as old
156 rib_process, to replace in callers of rib_process.
157 (rib_queue_qnode_del) ribq deconstructor.
158 (rib_queue_init) Create the ribq.
159 (rib_init) call rib_queue_init.
160 (remainder) Sanitise refcounting of route_node's. Convert to
161 rib_queue_add, rib_addnode and rib_delnode. Change XMALLOC/memset
162 to XCALLOC. Remove calls to nexthop_delete and nexthop_free.
164 2005-04-10 Paul Jakma <paul@dishone.st>
166 * if_ioctl_solaris.c: (if_lookup_linklocal) fix order of args
167 in ALL_LIST_ELEMENTS_RO macro.
169 2005-04-10 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
171 * zserv.c (zebra_client_read): Fix bug: first read attempt should
172 read ZEBRA_HEADER_SIZE minus the number of bytes already read.
173 Improve efficiency by maintaining a calculation of the number
174 of bytes read instead of calling stream_get_endp multiple times.
175 If message length is too small, issue a warning message (not debug)
176 before closing the connection. And also check that message length
179 2005-04-09 Hasso Tepper <hasso at quagga.net>
181 * rt_netlink.c: One tiny missing comma caused pointless debug messages
184 2005-04-09 Hasso Tepper <hasso at quagga.net>
186 * rt_netlink.c (netlink_parse_info): Fix warning. It's safe to cast
187 status to unsigned here, because we already checked that it isn't
189 * rt_netlink.c (netlink_interface_addr): Prefix length belongs to the
190 address, not to the interface.
191 * rt_netlink.c (netlink_route_multipath): Fix debug. No useless info
192 is printed out now and IPv6 info is handeled.
194 2005-04-05 Paul Jakma <paul@dishone.st>
196 * zserv.c: print more helpful errors when we fail to successfully
197 bind and listen on zserv socket. Closes bugzilla #163.
199 2005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
201 * if_ioctl.c: (interface_list_ioctl) Use if_get_by_name_len.
202 * if_proc.c: (ifaddr_proc_ipv6) Increase size of ifname buffer to
204 * kernel_socket.c: (ifan_read) Use if_get_by_name_len.
206 2005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
208 * kernel_socket.c: (ifm_read) Use new if_lookup_by_name_len function
210 * if_ioctl_solaris.c: (interface_list_ioctl) Fix subtle bug with new
211 if_get_by_name_len function.
213 2005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
215 * interface.c: (if_new_intern_ifindex) Remove obsolete function.
216 (if_delete_update) After distributing the interface deletion message,
217 set ifp->ifindex to IFINDEX_INTERNAL.
218 (if_dump_vty) Detect pseudo interface by checking if ifp->ifindex is
220 (zebra_interface) Check return code from interface_cmd.func.
221 Do not set internal ifindex values to if_new_intern_ifindex(),
222 since we now use IFINDEX_INTERNAL for all pseudo interfaces.
223 * kernel_socket.c: (ifm_read) Fix code and comments to reflect that
224 all internal interfaces now have ifp->ifindex set to IFINDEX_INTERNAL.
225 * rt_netlink.c: (set_ifindex) New function used to update ifp->ifindex.
226 Detects interface rename events by checking if that ifindex is already
227 being used. If it is, delete the old interface before assigning
228 the ifindex to the new interface.
229 (netlink_interface, netlink_link_change) Call set_ifindex to update
232 2005-03-31 Hasso Tepper <hasso at quagga.net>
234 * rt_netlink.c (netlink_talk_filter): Show always warning message,
236 * rt_netlink.c (netlink_talk): Don't assume we use netlink_cmd
237 although we do now actually.
238 * rt_netlink.c (netlink_route, netlink_route_multipath): Always use
239 netlink_cmd to send messages to the kernel.
241 2005-03-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
243 * irdp.h: Add prototype for irdp_sock_init, and fix protos for
244 other irdp_* functions.
245 * irdp_interface.c: (irdp_if_start) If irdp_sock is negative,
246 call irdp_sock_init to create the IRDP socket.
247 (irdp_if_init) Rename to irdp_init().
248 (get_iflist_ifp) Remove function that is a duplicate of
250 (*) Make many functions static. And remove superfluous "\n" from
251 several zlog messages.
252 * irdp_main.c: (irdp_init) Remove function that used to call
253 irdp_if_init() and irdp_sock_init(), since we will now create
254 the socket only upon first use.
255 (irdp_sock_init) Do not update global irdp_sock variable, just
256 return the fd and assume that the caller will do so. If setsockopt
257 calls fail, close the socket before returning -1.
258 (*) Make many functions static.
259 * irdp_packet.c: Initialize irdp_sock to -1.
260 (irdp_read_raw) Call standard library function if_lookup_by_index
261 instead of get_iflist_ifp.
262 (irdp_recvmsg) Should be static, not global.
264 2005-03-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
266 * rt_netlink.c: (netlink_link_change) If the status of an
267 operative interface changes (e.g. MTU changes), the client
268 daemons should be notified by calling zebra_interface_up_update.
269 Previously, the information was being updated in zebra's
270 interface structure, but the clients were not notified of
271 changes to an operative interface.
273 2005-03-25 Jean-Mickael Guerin <jean-mickael.guerin@6wind.com>
274 * interface.c, interface.h, rtadv.c, rtadv.h: modifications to
275 IPv6 Neighbor Discovery according to RFC3775, section 7:
276 o 1-bit Home Agent flag management in Router Advertisement (7.1).
277 o 1-bit Router Address flag management in Prefix Information
279 o Advertisement Interval Option (7.3)
280 o Home Agent Information Option (7.4)
281 o Changes to Sending Router Advertisements more frequently (7.5)
283 2005-03-13 Hasso Tepper <hasso at quagga.net>
285 * zebra/interaface.c: "show interface description" command
288 2005-03-12 Paul Jakma <paul@dishone.st>
290 * rt_netlink.c: (netlink_route_multipath) dont set equalise flag.
291 No stock Linux kernel has ever supported it, and even if it had
292 it's not generally a good idea.
294 2005-03-07 Michael Sandee <voidptr@voidptr.sboost.org>
296 * if_proc.c, ipforward_proc.c, rtread_proc.c: Fix fd leaks.
298 2005-03-06 Hasso Tepper <hasso at quagga.net>
300 * interface.c: Fix CRC and frame errors statistics in Linux.
302 2005-02-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
304 * zserv.c: Must include network.h and buffer.h for non-blocking I/O.
305 Remove global message_queue and t_write (need separate buffering for
307 (zebra_server_dequeue,zebra_server_enqueue) Remove functions
308 related to old buggy buffering code.
309 (zserv_delayed_close) New thread callback function to delete a client.
310 (zserv_flush_data) New thread callback function to flush buffered
312 (zebra_server_send_message) Rewritten to use buffer_write (so
313 buffering of writes and non-blocking I/O work properly).
314 (zsend_interface_add,zsend_interface_delete,zsend_interface_address,
315 zsend_interface_update) Return 0 instead of -1 if !client->ifinfo
316 (this is not really an error). Return value from
317 zebra_server_send_message.
318 (zsend_route_multipath,zsend_ipv4_nexthop_lookup,
319 zsend_ipv4_import_lookup) Return value from zebra_server_send_message.
320 (zsend_ipv6_nexthop_lookup) Fix scope to static, and return value
321 from zebra_server_send_message.
322 (zsend_router_id_update) Must use zebra_server_send_message instead
323 of deprecated writen function. Return 0 instead of -1 if this client
324 is not subscribed to router-id updates (since this is not really
326 (zread_interface_add) Change type to static int. If
327 zsend_interface_add fails or zsend_interface_address fails, return -1
328 immediately (since the client has had an I/O error).
329 (zread_interface_delete,zread_ipv4_add,zread_ipv4_delete,
330 zread_ipv6_add,zread_ipv6_delete,zread_router_id_delete) Return 0
332 (zread_ipv4_nexthop_lookup) Return value from
333 zsend_ipv4_nexthop_lookup.
334 (zread_ipv4_import_lookup) Return value from zsend_ipv4_import_lookup.
335 (zebra_read_ipv6) Remove unused function.
336 (zread_ipv6_nexthop_lookup) Return value from
337 zsend_ipv6_nexthop_lookup.
338 (zread_router_id_add) Return value from zsend_router_id_update.
339 (zebra_client_close) Call buffer_free(client->wb) and
340 thread_cancel(client->t_suicide).
341 (zebra_client_create) Allocate client->wb using buffer_new.
342 (zebra_client_read) Support non-blocking I/O by using stream_read_try.
343 Use ZEBRA_HEADER_SIZE instead of 3.
344 (zebra_accept) Fix bug: reset accept thread at top. Make client
345 socket non-blocking using the set_nonblocking function.
346 (config_write_forwarding) Fix scope to static.
347 (zebra_init) Remove initialization code for old buggy write buffering.
348 * zserv.h: Add 2 new fields to struct zserv: struct buffer *wb
349 (to enable buffered writes with non-blocking I/), and
350 struct thread *t_suicide to support delayed close on I/O
352 * router-id.h: Remove prototypes for zread_router_id_add and
353 zread_router_id_delete (their scope should be static to zserv.c).
355 2005-02-24 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
357 * redistribute.c: (zebra_check_addr,is_default,
358 zebra_redistribute_default,zebra_redistribute) Fix scope to be static.
360 2005-02-20 Hasso Tepper <hasso at quagga.net>
362 * rt_netlink.c: Don't show messages "ignoring message type 0x001[89]"
363 if we are not debugging.
365 2005-02-19 Paul Jakma <paul@dishone.st>
367 * zserv.c: (zebra_read_ipv6) replace the char * arithmetic with
370 2005-02-14 Paul Jakma <paul@dishone.st>
372 * Not all Linux netlink systems have IFLA_WIRELESS
374 2005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
376 * ioctl.c: (if_ioctl,if_ioctl_ipv6,if_get_flags) Replace perror with
378 * ioctl_solaris.c: (if_ioctl,if_ioctl_ipv6) Replace perror with
381 2005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
383 * if_ioctl_solaris.c: (interface_list_ioctl) Save errno before calling
385 * ioctl{,_solaris}.c: (if_ioctl,if_ioctl_ipv6) Save errno before calling
387 * ipforward_solaris.c: (solaris_nd) Save errno before calling
389 * irdp_main.c: (irdp_sock_init) Save errno before calling
392 2005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
394 * rt_netlink.c: (netlink_socket,netlink_request,netlink_parse_info,
395 netlink_talk) Save errno before calling zserv_privs.change.
397 2005-01-24 Martin Pot <mpot at martybugs.net>
399 * zebra/rt_netlink.c: ignore wireless newlink netlink messages.
401 2005-01-18 Hasso Tepper <hasso at quagga.net>
403 * interface.c: Better statistics output in "show interface" command in
404 case of /proc being used.
406 2005-01-17 Hasso Tepper <hasso at quagga.net>
408 * main.c: With --nl-bufsize argument is required.
410 2005-01-05 Paul Jakma <paul@dishone.st>
412 * zserv.c: (zebra_accept) Comment out setting of socket to NONBLOCK
413 for now, as we dont actually deal with with resending.... See
414 bugzilla #122, fix from wawa@yandex-team.ru (Vladimir Ivanov).
415 * kernel_socket.c: (routing_socket) ditto.
417 2005-01-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
419 * rtadv.c: (rtadv_recv_packet,rtadv_send_packet) Use ZCMSG_FIRSTHDR
420 instead of CMSG_FIRSTHDR.
422 2004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
424 * connected.c: (connected_add_ipv4) Limit warning about /32 addresses
425 with no peer specified to PtP interfaces only.
427 2004-12-18 Hasso Tepper <hasso at quagga.net>
429 * zebra_vty.c: Fix "show ipv6 route <proto>" command help and make it
430 work for isis routes.
432 2004-12-09 Greg Troxel <gdt@fnord.ir.bbn.com>
434 * kernel_socket.c (rtmsg_debug): char * => const char *
436 2004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
438 * *.c: Change level of debug messages to LOG_DEBUG.
440 2004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
442 * main.c: (main) The 2nd argument to openzlog has been removed.
443 So stdout logging will no longer be enabled by default.
444 * irdp_main.c: (irdp_finish) Reduce severity of shutdown message
445 from LOG_WARNING to LOG_INFO.
447 2004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
449 * main.c: (sigint) Use zlog_notice for termination message.
450 (main) Add a startup announcement using zlog_notice.
452 2004-11-25 Hasso Tepper <hasso at quagga.net>
454 * irdp_interface.c: Remove comment from DEFUN, it breaks vtysh because
455 it confuses extract.pl.
456 * main.c: Make group to run as configurable.
458 2004-10-28 Hasso Tepper <hasso at quagga.net>
460 * interface.c: Remove dead "ip tunnel" command.
462 2004-10-22 Paul Jakma <paul@dishone.st>
464 * irdp_main.c: change setsockopt_pktinfo to setsockopt_ifindex
466 2004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
468 * rt_netlink.c: (netlink_interface_addr) For PtP interfaces, ignore
469 tb[IFA_ADDRESS] if it's the same as tb[IFA_LOCAL].
470 * interface.c: (ip_address_install) Use new ipv4_broadcast_addr
472 * connected.c: (connected_up_ipv4) Use CONNECTED_POINTOPOINT_HOST
474 (connected_down_ipv4) ditto.
475 (connected_add_ipv4) Validate destination address, print warnings
476 if it does not make sense.
478 2004-10-19 Hasso Tepper <hasso at quagga.net>
480 * zserv.c: Fix regression introduced with zserv cleanup.
482 2004-10-13 Hasso Tepper <hasso at quagga.net>
484 * zebra_snmp.c: Remove defaults used to initialize smux connection to
485 snmpd. Connection is initialized only if smux peer is configured.
486 * zserv.c: Remove useless warnings "forwarding is already on".
488 2004-10-12 Hasso Tepper <hasso at quagga.net>
490 * zebra_vty.c: Unbreak "show ip route" command help and make it work
492 * interface.c(if_dump_vty): Show IPv6 addresses in "show interface"
493 output. Fixes Bugzilla #119.
494 * *.c: Make some strings const and some (unsigned) casts to fix
497 2004-10-07 Hasso Tepper <hasso at quagga.net>
499 * connected.c, main.c, rt_netlink.c, rtadv.c, zebra_rib.c, zserv.c:
500 Fix warnings: make strings const, signed -> unsigned.
502 2004-10-05 Paul Jakma <paul@dishone.st>
504 * irdp_packet.c: (parse_irdp_packet) style issues.
505 Use sockopt_iphdrincl_swab_systoh.
506 Try unbork the code. Checksum the ICMP data and actually
507 compare it to received checksum. Check data length against
508 claimed length in header.
509 Always use ntoh.. when accessing addresses, even when the
510 comparison happens to be endian-safe.
511 (send_packet) minor style isues. Use
512 sockopt_iphdrincl_swab_htosys.
513 (irdp_iph_hton/ntoh) IP header to/from network/host order.
515 2004-10-03 Gilad Arnold <gilad.arnold at terayon.com>
517 * interface.c, interface.h: A new prefix tree of connected subnets is
518 associated with each interface structure in zebra, in which each
519 live (ie, non-synthetic) node holds a list of installed addresses
520 that belong to that prefix. Remove secondary address logic from cli.
521 See [quagga-dev 872] for detailed explanation.
522 * connected.c: Use if_subnet_add() and if_subnet_delete().
524 2004-10-03 James R. Leu <jleu at mindspring.com>
526 * router-id.c, router-id.h: New files. Router id selection process. If
527 there is non 127.x.x.x address in loopack interface, lowest of them
528 is chosen. If there isn't, lowest from other interfaces addresses
529 are chosen. "router-id x.x.x.x" vty command to manual override.
530 * Makefile.am: Compile new files.
531 * main.c: Initialize router id.
532 * redistribute.c: Add interface addresses into router id selection
533 lists as they (dis)appear.
534 * zserv.c, zserv.h: Sending router id related messages to daemons.
536 2004-09-26 Hasso Tepper <hasso at quagga.net>
538 * irdp_interface.c, irdp_main.c, irdp_packet.c, rt_netlink.c,
539 rtadv.c, zebra_vty.c: Fix compiler warnings.
541 2004-09-24 Paul Jakma <paul@dishone.st>
543 * irdp_interface.c: (no_ip_irdp_address_preference_cmd)
544 add missing listnode declaration.
546 2004-09-24 Paul Jakma <paul@dishone.st>
548 * irdp_{interface,main}.c: lists typedef removal cleanup.
549 update some list loops to LIST_LOOP. some miscellaneous style
551 (no_ip_irdp_address_preference_cmd) Fix delete of referenced node
553 * irdp_packet.c: (irdp_recvmsg) Fix buggy assignment of integer
555 * if_ioctl{,_solaris}.c: lists typedef removal cleanup.
556 update some list loops to LIST_LOOP.
558 2004-09-23 Hasso Tepper <hasso at quagga.net>
560 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
562 2004-09-22 Paul Jakma <paul.jakma@sun.com>
564 * zserv.c: (zsend_route_multipath) fix nasty bad memset of struct
565 in_addr to sizeof(struct in6_addr), causing odd and hard to debug
568 2004-08-31 Hasso Tepper <hasso at quagga.net>
570 * main.c, rt_netlink.c: Added -s command line switch for tuning
571 netlink receive buffer size in Linux to avoid buffer overruns.
573 2004-08-26 Miles Nordin <carton@Ivy.NET>
575 * ipforward_sysctl.c (mib_ipv6): Use size_t for len, per
576 sysctl(3), rather than int. (Needed on NetBSD/alpha to display
577 forwarding status correctly.)
579 2004-08-23 Paul Jakma <paul@dishone.st>
581 * zserv.c: (zebra_init) remove implicit ip forward enabling
583 2004-08-19 Paul Jakma <paul@dishone.st>
585 * irdp_main.c: update to match sockopt renames.
586 * irdp_packet.c: include sockopt.h and update to match sockopt
589 2004-08-11 Greg Troxel <gdt@fnord.ir.bbn.com>
591 * rtadv.c (rtadv_send_packet): Allocate space for control messages
592 more carefully; it was wrong on NetBSD/sparc where CMSG alignment
593 is to 8 bytes instead of 4, and overwriting the address. Use the
594 provided macros for determining lengths.
596 2004-07-23 Sowmini Varadhan <Sowmini.Varadhan@Sun.COM>
598 * if_ioctl_solaris.c: HAVE_IPV6 ifdef fixups
600 * ioctl_solaris.c: ditto.
601 * interface.c: cast for LLADDR
602 * interface.h: Add guards, include redistribute.h and remove
603 extraneous definitions of zebra_interface_{up,down}_update
604 * ioctl.h: Add AF_IOCTL define for non SOLARIS_IPV6
605 * redistribute.h: include dependent header, zserv.h
606 * zserv.h: include dependent header, rib.h
608 2004-07-23 Paul Jakma <paul@dishone.st>
610 * irdp_main.c: use setsockopt_pktinfo_ipv4
611 * irdp_packet.c: use SOPT_SIZE_CMSG_PKTINFO_IPV4 and
612 getsockopt_pktinfo_ifindex()
614 2004-07-13 David Wiggins <dwiggins@bbn.com
616 * kernel_socket.c (rtm_flag_dump): terminate buffer with '\0', not '0'.
618 2004-07-13 Hasso Tepper <hasso@estpak.ee>
620 * irdp_main.c: Add privilege change.
622 2004-07-12 Hasso Tepper <hasso@estpak.ee>
624 * irdp_interface.c: follow common style while naming vty command
625 functions. Avoids confusion in extract.pl.
627 2004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
629 * main.c: define thread_master variable so that linking with
630 libzebra.so doesn't fail. Arguably zclient.o should be in a
631 separate library, but this is far less disruptive.
633 2004-06-12 Robert Olsson <Robert.Olsson at data.slu.se>
635 * Added IRDP support.
637 2004-05-18 Hasso Tepper <hasso@estpak.ee>
639 * rtadv.c: Removed "[no] ipv6 nd send-ra" command. Replaced "ipv6 nd
640 prefix-advertisement" with "ipv6 nd prefix". Rewrite syntax of
641 "ipv6 nd prefix" command to allow various combinations of parameters
642 and flags. No defaults in configuration. Replaced on-link and
643 autoconfig with off-link and no-autoconfig flags in command syntax.
644 Cosmetic fixes in all commands. Documentation to reflect all changes.
646 2004-05-11 Paul Jakma <paul@dishone.st>
648 * Makefile.am: support for IOCTL_METHOD, as per Sowmini's patch.
649 * if_ioctl_solaris.c: Fixup some erroneous privilege changes and
651 * ioctl_solaris.c: ditto
652 * ioctl.h: Add if_ioctl_ipv6 prototype and AF_IOCTL for SOLARIS_IPV6
653 * kernel_socket.c: Fix SAROUNDUP, compiler doesnt like do..while
654 RHS in assignments :)
655 * redistribute.c: (zebra_interface_delete_update) only used
656 if RTM_IFANNOUNCE and NETLINK is available.
658 2004-05-09 Paul Jakma <paul@dishone.st>
660 * zserv.c: (zsend_route_multipath) Set the nexthop_num
661 field correctly. Add NEXTHOP_TYPE_IPV6_IFNAME for v6.
662 Conditionally set ZAPI_MESSAGE_METRIC flag - only for adds.
663 (zsend_ipv4_add) cruft, deleted.
664 (zsend_ipv4_delete) ditto.
665 (zsend_ipv6_add) ditto.
666 (zsend_ipv6_delete) ditto.
667 * ioctl.c: (if_get_mtu) set mtu6 to mtu
668 * mtu_kvm.c: (if_kvm_get_mtu) set mtu6 to mtu
669 * rt_netlink.c: (netlink_interface) set mtu6 to mtu
670 (netlink_link_change) ditto
671 * ipforward_solaris.c: fix typo of ND variable.
672 * if_ioctl_solaris.c: Add zprivs support.
673 * ioctl_solaris.c: ditto.
675 2004-05-09 Sowmini Varadhan <sowmini.varadhan@sun.com>
677 * zserv.c: (zsend_ipv{4,6}_{add,delete}_multipath) collapsed
678 into single zsend_route_multipath function.
679 (zsend_interface_{up,down}) collapsed into zsend_interface_update.
680 (zsend_interface_address_{add,delete}) collapsed into
681 zsend_interface_address.
682 (zsend_interface_add) send mtu6.
683 (zsend_interface_delete) ditto.
684 (zebra_write) remove unused function.
685 (various) Apply static qualifier. Add comments.
686 * zserv.h: Definitions changed as per above.
687 * redistribute.c: Changes as per zserv.c.
688 * interface.c: (if_delete_update) only used with HAVE_NETLINK
690 (if_flag_dump_vty) Solaris IFF_IPV4 and IFF_IPV6 if flags
691 (if_dump_vty) print mtu6 if not same as mtu
692 * if_ioctl_solaris.c: New file, Solaris interface ioctl methods.
693 * ioctl_solaris.c: New file, Common solaris ioctl methods.
695 2004-04-06 Krzysztof Oledzki <oleq@ans.pl>
697 * rt_netlink.c: Do not ignore metric when reading kernel routing
698 table on Linux with rt_netlink interface.
700 2004-03-18 Hasso Tepper <hasso@estpak.ee>
702 * interface.c: Temporary fix for handling secondary addresses
705 2004-02-12 Hasso Tepper <hasso@estpak.ee>
707 * zserv.c: Added "ipv6 forwarding" command.
709 2004-01-08 Greg Troxel <gdt@fnord.ir.bbn.com>
711 * kernel_socket.c (kernel_read): Use sockaddr_storage in buffer
712 for reading kernel messages to ensure enough space (necessary on
713 Solaris due to sockaddr_dl being large). Thanks to Sowmini
714 Varadhan for help with this change.
716 2004-01-06 Greg Troxel <gdt@t1.ir.bbn.com>
718 * rtadv.c (rtadv_send_packet): Change perror to zlog_err.
720 2004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
721 * kernel_socket.c (ifm_read): Major cleanup. Use Sowmini's code
722 to find the sockaddr_dl in all cases, narrowing the Solaris ifdef
723 to just the accomodation of broken kernels. Check sockaddr_dl
724 carefully up front, and later assume any non-NULL sdl pointer is
725 valid. Clean up types and variable declarations, and rename
726 WRAPUP to SAROUNDUP to make the name fit the behavior.
728 2004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
730 * kernel_socket.c (kernel_read): Add a sockaddr_dl to the ifmsg
731 structure, because on Solaris sockaddr_dl is far larger than the
732 base sockaddr structure. (The code had previously been failing to
735 2004-01-05 Greg Troxel <gdt@ahi.ir.bbn.com>
737 * kernel_socket.c (kernel_read): Look up interfaces by index
738 first, so that state changes which do not include a sockaddr_dl
739 now work. Add many sanity checks. In
740 particular, do not assume that a sockaddr_dl follows a message
741 without checking the ifm_addrs flags, and do not trust the length
742 in a sockaddr_dl. Add/clarify many comments.
744 2003-12-03 Greg Troxel <gdt@poblano.ir.bbn.com>
746 * rtadv.c: reorder includes to avoid compiler warning (define
747 structs before using them in prototypes)
749 2003-05-25 Jim Crumpler <Jim.Crumpler@edion.com>
751 * zserv.c: Add "ip forwarding" command.
753 2003-05-16 Gilad Arnold <gilad.arnold@terayon.com>
755 * zebra_rib.c: Fix memory leaks for ifname nexthops
757 2003-04-19 Israel Keys <ikeys@agile.tv>
759 * rt_netlink.c: BLOCK on netlink while initialising
761 2003-02-06 Francois Deppierraz <francois@ctrlaltdel.ch>
763 * rt_netlink.c (netlink_route_multipath): Set RTM_F_EQUALIZE when
766 2002-09-28 Akihiro Mizutani <mizutani@net-chef.net>
768 * zebra_rib.c (static_add_ipv4): Null0 static route is added.
770 2002-09-10 Jochen Friedrich <chris+zebra@scram.de>
772 * rt_netlink.c: Add check for EAGAIN.
773 * kernel_socket.c: Likewise
775 2002-06-12 Israel Keys <ikeys@oz.agile.tv>
777 * rt_netlink.c: Setting the NLM_F_ACK flag on the netlink command
778 message so that we get an ACK for successful netlink commands.
779 Change the netlink socket to BLOCKING while we wait for a
780 response; be it an ACK or an NLMSG_ERROR. Change
781 netlink_parse_info to deal with ACK messages.
783 2001-11-01 Jun-ichiro itojun Hagino <itojun@iijlab.net>
785 * rtadv.c (rtadv_make_socket): setsockopt(IPV6_CHECKSUM) does not
786 work for ICMPv6 socket.
788 2001-10-24 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
790 * rib.c (rib_process): Select connected route any case.
792 2001-10-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
794 * interface.c (no_ip_address_secondary): Add "no" to command.
796 2001-10-18 NOGUCHI Kay <kay@v6.access.co.jp>
798 * ioctl.c (if_prefix_add_ipv6): Set the prefered and valid lifetime
799 to infinity as the freebsd4.4 workaroud.
801 2001-08-26 mihail.balikov@interbgc.com
803 * zebra_snmp.c: Fix snmpwalk problem such as IPv4 address
806 2001-08-22 NOGUCHI Kay <kay@v6.access.co.jp>
808 * rtadv.c: Do not send RA to loopback interface.
810 2001-08-20 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
812 * ioctl.c (if_set_prefix): Remove Linux 2.0 specific connected
815 2001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
817 * zebra-0.92a released.
819 2001-08-17 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
821 * rib.c: Kernel route is treated as EGP routes in nexthop active
824 2001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
826 * zebra-0.92 released.
828 2001-08-08 "Akihiro Mizutani" <mizutani@dml.com>
830 * rib.c (show_ip_route_prefix_longer): Add longer-prefix option to
833 2001-07-29 Yon Uriarte <havanna_moon@gmx.net>
835 * zserv.c (zsend_ipv4_add_multipath): Add
836 NEXTHOP_TYPE_IPV4_IFINDEX check.
838 2001-07-29 NOGUCHI Kay <kay@v6.access.co.jp>
840 * rtadv.c: Apply valid lifetime, preferred lifetime, onilnk flag,
841 autonomous address-configuration flag patch.
842 (no_ipv6_nd_suppress_ra): Change "ipv6 nd send-ra" to "no ipv6 nd
845 2001-07-24 NOGUCHI Kay <kay@v6.access.co.jp>
847 * rtadv.c (ipv6_nd_ra_interval): Add "ipv6 nd ra-interval SECONDS"
850 2001-07-24 Jun-ichiro itojun Hagino <itojun@iijlab.net>
852 * rt_socket.c (kernel_rtm_ipv4): Add KAME/NetBSD151 equal cost
853 multicast FIB support both IPv4 and IPv6.
855 2001-07-24 Hal Snyder <hal@vailsys.com>
857 * if_ioctl.c (interface_list_ioctl): Fix bug of failing to get the
858 full list of interfaces on some configurations of OpenBSD.
860 2001-07-23 NOGUCHI Kay <kay@v6.access.co.jp>
862 * rtadv.c (ipv6_nd_send_ra): Apply [zebra 9320] to fix "ipv6 nd
864 (ipv6_nd_ra_lifetime): "ipv6 nd ra-lifetime 0" for default router
866 (ipv6_nd_managed_config_flag): "ipv6 nd managed-config-flag" is
868 (ipv6_nd_other_config_flag): "ipv6 nd other-config-flag" is added.
870 2001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
872 * ioctl.c (if_ioctl): Change ioctl argument from int to u_long.
874 * rt_ioctl.c: Likewise.
876 2001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
878 * kernel_socket.c (rtm_write): Only set RTF_CLONING when the
879 interface is not p2p.
881 2001-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
883 * ioctl.c (if_prefix_add_ipv6): Fix argument type.
885 2001-04-06 Toshiaki Takada <takada@zebra.org>
887 * zserv.c (zsend_interface_delete): Use client->obuf instead of
888 allocating new stream.
890 2001-03-10 Kunihiro Ishiguro <kunihiro@zebra.org>
892 * rt_netlink.c: Revert RTPROT_BOOT change.
894 2001-03-08 Kunihiro Ishiguro <kunihiro@zebra.org>
896 * rt_netlink.c (netlink_route_change): Skip RTPROT_BOOT route.
897 (netlink_routing_table): Likewise.
899 2001-03-07 "Akihiro Mizutani" <mizutani@dml.com>
901 * zserv.c (zsend_ipv4_add_multipath): Send metric value to
904 2001-02-18 Kunihiro Ishiguro <kunihiro@zebra.org>
906 * rt_netlink.c (netlink_routing_table): Do not return
907 tb[RTA_GATEWAY] is NULL. Reported by: "Michael O'Keefe"
908 <mokeefe@qualcomm.com>.
910 2001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
912 * if_ioctl.c (interface_list_ioctl): Call if_add_update().
913 Suggested by: Chris Dunlop <chris@onthe.net.au>.
915 2001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
917 * rib.c (nexthop_active_ipv4): When nexthop type is
918 NEXTHOP_TYPE_IPV4_IFINDEX, propery set the ifindex to rifindex.
920 * zserv.c: Initialize rtm_table_default with 0.
922 * zebra-0.91 is released.
924 2001-01-31 Kunihiro Ishiguro <kunihiro@zebra.org>
926 * kernel_socket.c (rtm_read): Filter cloned route. Suggested by:
927 Jun-ichiro itojun Hagino <itojun@iijlab.net>
929 2001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
931 * connected.c (connected_up_ipv6): When point-to-point destination
932 address is ::, use local address for connected network.
933 (connected_down_ipv6): Likewise.
935 2001-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
937 * zserv.c (zebra_serv): Add missing close() call. Reported by:
938 David Waitzman <djw@vineyard.net>.
940 2001-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
942 * rib.c (rib_lookup_ipv4): New function for checking exact match
945 2001-01-23 Kunihiro Ishiguro <kunihiro@zebra.org>
947 * rib.c (show_ipv6_route_protocol): Fix bug of "show ip route
950 2001-01-22 Kunihiro Ishiguro <kunihiro@zebra.org>
952 * interface.c (zebra_interface): Do not call
953 zebra_interface_add_update for inactive interface.
955 * zserv.c (zsend_interface_address_add): Send interface address
957 (zsend_interface_address_delete): Likewise.
959 2001-01-19 Kunihiro Ishiguro <kunihiro@zebra.org>
961 * interface.c (if_addr_add): Add flags.
963 * connected.c (ifa_add_ipv4): Add new function for interface
965 (ifa_delete_ipv4): Likewise.
967 2001-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
969 * rib.c (rib_update): Update IPv6 RIB.
971 * kernel_socket.c (ifam_read): Call if_refresh() for update
972 interface flag status. This is for implicit interface up on *BSD.
974 * interface.c (if_refresh): Add interface flag refresh function.
976 * kernel_socket.c (rtm_read): Fetch link-local address interface
978 (ifan_read): We need to fetch interface information. Suggested
979 by: Yasuhiro Ohara <yasu@sfc.wide.ad.jp>.
981 * rib.c (static_ipv6_nexthop_same): Add check for
982 NEXTHOP_TYPE_IPV6_IFNAME.
984 2001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
986 * rib.h (NEW_RIB): Turn on NEW_RIB flag. IPv6 new RIB code are
989 2001-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
991 * rib.c (static_ipv6_write): Display STATIC_IPV6_GATEWAY_IFNAME
993 (rib_delete_ipv6): Handle same route conter for IPv6 connected
995 (show_ipv6_route_protocol): New command.
996 (show_ipv6_route_addr): Likewise.
997 (show_ipv6_route_prefix): Likewise.
998 (rib_update): Sweep kernel route when it is cleaned up.
1000 * rt_socket.c (kernel_add_ipv6): Add NEXTHOP_IPV6_IFNAME
1003 * rt_netlink.c (kernel_init): Likewise.
1005 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): Likewise.
1007 * rib.c (rib_add_ipv4): Cope with same connected route on a
1008 interface. Suggested by: Matthew Grant <grantma@anathoth.gen.nz>.
1009 (nexthop_ipv6_ifname_add): Add NEXTHOP_IPV6_IFNAME treatmenet.
1011 * rib.h (struct new_rib): Add refcnt to keep track on the
1012 reference of same connected route.
1014 * ioctl.c (if_set_prefix): Add check for GNU_LINUX.
1016 2001-01-13 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1018 * kernel_socket.c (ifan_read, rtm_type_str): Add RTM_OIFINFO check.
1019 (rtm_type_str): Add RTM_IFANNOUNCE check.
1020 (ifan_read): New function.
1021 (kernel_read): Add case for RTM_IFANNOUNCE.
1023 2001-01-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1025 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): New function.
1027 * rt_netlink.c (netlink_route_multipath): IPv6 address ifindex
1030 * connected.c (connected_up_ipv6): Add dest value check.
1032 * rib.c (nexthop_active_ipv6): Do not touch IPv6 nexthop's
1034 (rib_add_ipv4): Import rib_add_ipv6() same route check code.
1035 (nexthop_active_check): NEXTHOP_TYPE_IPV6_IFINDEX activity is only
1038 * rt_socket.c (kernel_rtm_ipv6_multipath): New function.
1040 * redistribute.c (redistribute_add): Use
1041 zsend_ipv6_add_multipath().
1042 (redistribute_delete_multipath): Use
1043 zsend_ipv6_delete_multipath().
1045 * interface.c (ip_address): Check current IP address to avoid
1048 * rib.c (rib_delete_ipv4): When deleted route is connected route,
1050 (rib_add_ipv4): When connected route is added do not perform
1052 (rib_delete_ipv4): Check ifindex for connected route.
1054 * kernel_socket.c (rtm_read): When route has RTF_STATIC, set
1055 ZEBRA_FLAG_STATIC for indicate as persistent route.
1056 (ifam_read): Unset interface index from link-local address when
1059 * rib.c (rib_update): Do not delete persistent kernel route.
1061 * rib.h (struct new_rib): Integrate RIB_FLAG_* to ZEBRA_FLAG_*.
1063 * rt_socket.c (kernel_add_ipv6_multipath): Add placeholder.
1064 (kernel_delete_ipv6_multipath): Likewise.
1066 * rt_netlink.c (netlink_talk): Give struct nlsock to netlink_talk.
1068 2001-01-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1070 * rib.c (rib_update): Revert Matthew Grant's patch
1071 zebra_cvs_newribfix.patch. Use struct rib->ifindex for kernel
1072 interface index. Introduce NEXTHOP_TYPE_IPV4_IFINDEX to support
1073 that. Add support for address deletion situation.
1075 2001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1077 * interface.c: Remove HAVE_IF_PSEUDO part.
1081 * rt_netlink.c (netlink_link_change): Likewise.
1083 2001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1085 * zserv.c: Remove OLD_RIB codes.
1087 2001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1089 * zebra-0.90 is released.
1091 2001-01-09 Matthew Grant <grantma@anathoth.gen.nz>
1093 * interface.c (if_new_intern_ifindex): Allocate a new internal
1095 (if_addr_refresh): Fix up ip addresses configured via zebra.
1096 (if_add_update): Handle an interface addition.
1097 (if_delete_update): Handle an interface delete event.
1099 * rib.c (nexthop_ipv4_add): Add kernel route deletion process when
1100 interface goes down.
1102 2001-01-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1104 * interface.c (if_dump_vty): When HAVE_NET_RT_IFLIST is defined,
1105 NetBSD also use this function. Suggested by Jasper Wallace
1106 <jasper@ivision.co.uk>.
1108 2001-01-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1110 * rib.c (nexthop_active_ipv4): Move back to set methodo to old
1113 2001-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1115 * rib.c (rib_add_ipv4): EBGP multihop set ZEBRA_FLAG_INTERNAL
1118 2001-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1120 * rt_netlink.c (netlink_talk_ipv6): When IPv6 route message is
1121 sent from netlink_cmd, the same message comes from netlink. To
1122 avoid confusion, temporary netlink_talk_ipv6 use netlink.sock
1123 instead of netlink_cmd.sock.
1125 2001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1127 * zserv.h (ZEBRA_SERV_PATH): Change "/tmp/zebra" to "/tmp/.zebra".
1128 Change "/tmp/zserv" to "/tmp/.zserv".
1130 2000-12-29 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
1132 * rt_netlink.c (struct nlsock): Divide kernel message into listen
1133 socket and command socket.
1134 (netlink_talk): Remove socket listen code. Use netlink_parse_info
1135 for read kernel response.
1137 2000-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1139 * rib.c (vty_show_ip_route): Show uptime of the RIP,OSPF,BGP
1142 2000-12-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1144 * rt_netlink.c (netlink_route_multipath): Metric value is
1145 reflected to kernel routing table.
1147 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Likewise.
1149 * kernel_socket.c (rtm_write): Likewise.
1151 * rib.c (nexthop_active_ipv4): Only iBGP route perform recursive
1154 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Add ioctl version of
1155 new RIB implementation.
1157 2000-12-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1159 * rib.h: Remove MULTIPATH_NUM. It is defined by configure script.
1161 2000-12-25 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1163 * rib.c (rib_if_up): Call rib_fib_set instead of RIB_FIB_SET for
1164 proper redistribution.
1166 2000-12-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1168 * rib.c (nexthop_active_ipv4): Add self lookup nexthop check.
1169 (show_ip_route_protocol): Support new RIB.
1171 * rt_netlink.c (netlink_route_change): Do not return when gate is
1174 2000-12-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1176 * rib.c (rib_lookup_ipv4_nexthop): IBGP nexthop check function is
1178 (rib_add_ipv4): Free implicit withdraw route's RIB.
1180 2000-12-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1182 * rib.c (nexthop_active_ipv4): Check indirect nexthop.
1184 * redistribute.c (redistribute_add_multipath): Redistribution
1185 works with new rib code.
1187 2000-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1189 * rt_netlink.c (netlink_route_multipath): Check useful nexthop
1191 (netlink_route_multipath): Clear rtnh_flags and rtnh_hops.
1193 * rib.c (nexthop_active_update): Set flag for the rib's nexthop
1194 activity is changed.
1195 (nexthop_active_check): Before checking interface is up, make it
1196 sure the interface exist.
1198 2000-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1200 * rib.c (ip_route): New RIB prototype.
1202 2000-11-16 Yon Uriarte <ukl2@rz.uni-karlsruhe.de>
1204 * zserv.c (zsend_interface_add): Send hardware address when
1205 hw_addr_len is greater than 0.
1207 2000-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1209 * connected.c (connected_up_ipv4): Fix ptop bug. The destination
1210 network should be installed into routing table.
1211 (connected_down_ipv4): Likewise.
1212 (connected_add_ipv4): Change to use connected_up_ipv4.
1213 (connected_delete_ipv4): Likewise.
1215 2000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1217 * rt_netlink.c (netlink_interface_addr): Revert Harald Welte
1218 <laforge@gnumonks.org>'s ptop patch then back to original code to
1219 avoid duplicated connected route problem. Suggested by Frank van
1220 Maarseveen <F.vanMaarseveen@inter.NL.net>.
1222 * kernel_socket.c (rtm_read): Make behavior consistent even #ifdef
1223 DEBUG is defined. Reported by Jun-ichiro itojun Hagino
1224 <itojun@iijlab.net>.
1226 2000-10-23 Jochen Friedrich <jochen@scram.de>
1228 * main.c (main): Call zebra_snmp_init() when it is enabled.
1230 2000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1232 * zserv.c (zebra_serv_un): UNIX domain socket server of zebra
1235 2000-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1237 * rib.c (rib_add_ipv4): Same check bug is fixed.
1239 2000-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1241 * rib.c (rib_if_down): Remove kernel route when the interface goes
1244 * debug.c: New command "debug zebra kernel" is added.
1246 2000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1248 * zebra-0.89 is released.
1250 2000-09-24 Harald Welte <laforge@gnumonks.org>
1252 * rt_netlink.c (netlink_interface_addr): Fix point-to-point address
1253 treatment in netlink interface.
1255 2000-09-21 David Lipovkov <dlipovkov@OpticalAccess.com>
1257 * rib.c (rib_if_down): Pull static route only. Protocol daemon
1258 must withdraw routes when interface goes down.
1259 (rib_add_ipv4): Check nexthop when replace route.
1261 2000-09-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1263 * if_ioctl.c (if_getaddrs): New function for looking up
1264 interface's address by getifaddrs().
1266 2000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1268 * connected.c (connected_delete_ipv4): Add check for connected
1269 address is found or not.
1270 (connected_add_ipv6): Reflect IPv6 connected address change to
1272 (connected_delete_ipv6): Likewise.
1274 2000-09-07 David Lipovkov <davidl@nbase.co.il>
1276 * rib.c (rib_delete_ipv4): Reverted the change from pseudo
1277 interface patch to original. Because ospfd deletes routes using
1280 2000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1282 * zebra-0.88 is released.
1284 2000-08-15 "Akihiro Mizutani" <mizutani@dml.com>
1286 * rib.c (show_ip_route_protocol): Help string correction.
1287 (show_ip_route_prefix): Check prefix mask.
1288 (show_ip_route_vty_detail): Display distance and metric.
1290 2000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1292 * zserv.c (zsend_interface_add): Change ifindex store size from
1294 (zsend_interface_delete): Likewise.
1295 (zsend_interface_address_add): Likewise.
1296 (zsend_interface_address_delete): Likewise.
1297 (zsend_interface_up): Likewise.
1298 (zsend_interface_down): Likewise.
1300 2000-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1302 * rib.c (rib_add_ipv4): Do not install distance 255 route.
1304 2000-08-10 Toshiaki Takada <takada@zebra.org>
1306 * interface.c (bandwidth_if), (no_bandwidth_if): Call
1307 zebra_interface_up_update () instead of using if_up() and if_down().
1309 2000-08-07 "Akihiro Mizutani" <mizutani@dml.com>
1311 * interface.c (bandwidth_if): Fix help string.
1313 2000-08-07 Matthew Grant <grantma@anathoth.gen.nz>
1315 * interface.c (if_dump_vty): Display bandwidth value.
1316 (bandwidth_if): New command "bandwidth <1-10000000>" is added.
1317 When interface is up, force protocol daemons to recalculate routes
1319 (no_bandwidth_if): Likewise.
1320 (if_config_write): Output bandwidth configuration.
1322 * zserv.c (zsend_interface_add): Send bandwidth value.
1323 (zsend_interface_up): Likewise.
1324 (zsend_interface_down): Likewise.
1327 2000-08-07 Michael Rozhavsky <mike@nbase.co.il>
1329 * rib.c (show_ip_route_protocol): "show ip route
1330 (bgp|connected|kernel|ospf|rip|static)" is added.
1332 2000-08-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1334 * rib.c (rib_lookup_ipv4_nexthop): Check parent node until IGP
1336 (rib_add_ipv4_internal): Set fib ifindex to rib ifindex.
1338 2000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1340 * redistribute.c (redistribute_delete): Fix bug of default route
1341 redistribute treatment.
1343 2000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1345 * rib.c (rib_init): Install ip_node in rib.c instead of zserv.c.
1346 Change default distance value.
1349 ------------------------------------------
1358 bgp 70 200(iBGP) 20(eBGP)
1359 ------------------------------------------
1361 * zserv.c (client_lookup): Function removed.
1362 (zsend_interface_add): Use client's output buffer. Check ifinfo
1364 (zsend_interface_delete): Likewise.
1365 Delete ipv4_static_radix and ipv6_static_radix.
1367 2000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1369 * zserv.h (struct zebra_client): When client request interface
1370 information, ifinfo is set.
1372 * rib.c: Temporary Revert changes for pseudo interface.
1376 * zserv.c: Likewise.
1378 * interface.c: Likewise.
1380 2000-08-02 David Lipovkov <davidl@nbase.co.il>
1382 * interface.c (zebra_if_init): Install interface "pseudo"
1385 * rib.c (rib_create): ifname argument is added.
1386 (rib_add_ipv4_pseudo): New function is added.
1387 (rib_delete_ipv4_pseudo): Likewise.
1389 * rib.h : Delete INTERFACE_UNKNOWN definition. Add prototype for
1390 pseudo interface functions.
1392 * rt_netlink.c (netlink_link_change): Check for pseudo interface.
1394 * zserv.c (ip_route): When destination is pseudo interface, call
1395 rib_add_ipv4_pseudo().
1397 * zserv.c (no_ip_route): Trim "unknown" argument.
1399 2000-07-26 kunitake@dti.ad.jp
1401 * if_ioctl.c (if_get_hwaddr): Fix hardware address length from 8
1404 * rtadv.c (rtadv_send_packet): Fix shift bug for hardware address.
1406 2000-07-24 Akihiro Mizutani <mizutani@dml.com>
1408 * interface.c: Use install_default() for common VTY commands.
1410 2000-07-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1412 * if_ioctl.c (interface_list_ioctl): A interface list size is
1413 calculated from ifreq->if_addr.sa_len. This is for OpenBSD.
1415 * ioctl.c (if_get_mtu): Remove codes for SIOCGIFDATA.
1417 2000-07-09 Chris Dunlop <chris@onthe.net.au>
1419 * if_ioctl.c (if_get_index): Add check for HAVE_BROKEN_ALIASES.
1421 2000-07-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1423 * zserv.c (zebra_client_read): Add ZEBRA_REDISTRIBUTE_{ADD,DELETE}
1426 2000-07-02 David Lipovkov <davidl@nbase.co.il>
1428 * zserv.c: "ip route A.B.C.D/M unknown" command is added.
1430 2000-06-28 Michael Rozhavsky <mike@nbase.co.il>
1432 * rib.c: Remove old kernel route when new route comes in.
1434 2000-06-13 David Lipovkov <davidl@nbase.co.il>
1436 * rib.c (rib_if_up): Add check for unknown interface.
1438 2000-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1440 * rib.h: Define INTERFACE_UNKNOWN.
1442 2000-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1444 * Makefile.am (EXTRA_DIST): Move irdp.c until implementation is
1447 2000-06-05 David Lipovkov <davidl@nbase.co.il>
1449 * interface.c (if_zebra_delete_hook): Call rib_if_delete().
1451 * redistribute.c (zebra_interface_delete_update): New function.
1453 * redistribute.h (zebra_interface_delete_update): New function
1456 * rib.c (rib_if_delete): New function. Walk down all routes and
1457 delete all on the interface.
1459 * rib.h: New function prototype.
1461 * rt_netlink.c (netlink_link_change): Call
1462 zebra_interface_delete_update ().
1464 2000-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1466 * if_ioctl.c (interface_info_ioctl): Check interface's flag before
1467 checking interface's address.
1469 2000-04-26 Jochen Friedrich <jochen@nwe.de>
1471 * GNOME-PRODUCT-ZEBRA-MIB: New file.
1473 * GNOME-SMI: New file.
1475 2000-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1477 * irdp.c: New file from 1997 development code.
1480 2000-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1482 * rtadv.c (rtadv_send_packet): Enclose router advertisement
1483 logging with IS_ZEBRA_DEBUG_PACKET.
1485 2000-04-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1487 * zserv.c (zebra_client_close): Remove client structure from
1488 client_list when connection is terminated.
1490 2000-03-21 David Lipovkov <davidl@nbase.co.il>
1492 * connected.c (connected_add_ipv4): Allows all necessary structure
1493 updates for connected route, but doesn't insert it into rib if
1494 it's interface is down.
1496 2000-01-21 Hideto Yamakawa <hideto.yamakawa@soliton.co.jp>
1498 * rtread_getmsg.c: Set some definition for Solaris 2.5 and Solaris
1501 2000-01-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1503 * rib.c (no_ipv6_route_ifname): Fix buf of cheking return value
1504 from str2prefix_ipv6().
1506 2000-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1508 * rt_socket.c: Revert to use RTF_HOST for IPv4 with /32 route and
1509 IPv6 with /128 routes.
1510 (kernel_rtm_ipv4): In case of /32 route's gateway is interface. It
1511 should have mask for cloning.
1513 1999-12-26 Jochen.Friedrich@genorz.de
1515 * interface.c (if_dump_vty): Fix a bug of missing VTY_NEWLINE.
1517 1999-12-23 Alex Zinin <zinin@amt.ru>
1518 * interface.*: dynamic int up/down support
1520 1999-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1522 * ipforward_proc.c (dropline): Move dropline() from lib/dropline.c
1524 * rtread_proc.c (proc_route_read): Don't use dropline().
1526 1999-12-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1528 * kernel_socket.c (rtm_read): When message is RTM_GET, it has own
1531 1999-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1533 * main.c (main): Change to default log output to ZLOG_STDOUT.
1535 * zserv.c (zebra_serv): More detailed error print.
1537 1999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1539 * kernel_socket.c (rtm_read): Check old pid for static route
1542 1999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1544 * interface.c (if_dump_vty): BSDI/OS uses 64bit for interface
1547 * mtu_kvm.c: New file added.
1549 1999-11-27 Vladimir B. Grebenschikov <vova@express.ru>
1551 * kernel_socket.c (rtm_write): Set RTF_CLONING flag for
1552 route to the directly connected interface.
1554 1999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1556 * rt_socket.c: Delete USE_HOST_BIT definition.
1558 1999-11-21 Michael Handler <handler@sub-rosa.com>
1560 * rtread_getmsg.c: Undef some definition to resolve conflict.
1562 1999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1564 * kernel_socket.c (rtm_write): Change to use pre stored struct_dl
1565 value for gateway specification.
1567 1999-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1569 * rt_socket.c (kernel_rtm_ipv4): Even mask is 32 under IPv4 or
1570 128 under IPv6, don't use RTF_HOST.
1572 1999-11-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1574 * Makefile.am (EXTRA_DIST): Add rtread_getmsg.c.
1576 1999-11-21 Michael Handler <handler@sub-rosa.com>
1578 * rtread_getmsg.c: Added for Solaris 2.6 support.
1580 1999-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1582 * rtread_sysctl.c (rtm_read_route): RTM_DELETE handling added.
1584 * rt_socket.c (kernel_read): Better BSD routing socket support.
1586 1999-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1588 * client_main.c: Disable making obsolete zebra test `client'
1591 1999-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1593 * zebra.c: Renamed to zserv.c.
1595 * zebra.h: Global definitions are moved to lib/zebra.h. Then
1598 1999-10-15 Jordan Mendelson <jordy@wserv.com>
1600 * if_ioctl.c: Add Linux 2.2.X's alias support and dynamic
1601 interface. Remove ugly MAX_INTERFACE handling codes.
1603 1999-09-17 Satosi KOBAYASI <kobayasi@north.ad.jp>
1605 * Fix serious bug of IPv6 route deletion.
1607 1999-09-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1609 * ioctl.c (if_set_prefix): Properly set broadcast address.
1611 1999-09-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1613 * rib.c (rib_add_ipv6, rib_delete_ipv6): now protocol daemons
1614 can install connected route to kernel via zebra
1616 1999-08-24 VOP <vop@unity.net>
1618 * rib.c: Include "sockunion.h"
1620 1999-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
1622 * ipforward.h: New file.
1624 * zebra.h: Obsolete message ZEBRA_GET_ALL_INTERFACE,
1625 ZEBRA_GET_ONE_INTERFACE, ZEBRA_GET_HOSTINFO are deleted.
1627 1999-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1629 * zebra.h (ZEBRA_INTERFACE_ADDRESS_ADD):
1630 ZEBRA_INTERFACE_{ADD,DELETE} added.
1632 1999-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1634 * rib.c: show ip route A.B.C.D works.
1636 * zebra.c (zebra_read_ipv4): Add ifindex to zebra messages.
1638 1999-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1640 * zebra.h: New Zebra message ZEBRA_INTERFACE_{ADD,DELETE} added.
1642 1999-08-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1644 * interface.h: New file.
1645 * Makefile.am: Add interface.h
1647 1999-08-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1649 * redistribute.c (zebra_redistribute): give ifindex to client.
1651 1999-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1653 * main.c (longopts): -k, --keep_kernel option added.
1655 1999-07-18 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1657 * rt_socket.c (rtm_write): forgot closing socket bug fixed.
1659 1999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1661 * rib.c (show_ipv6_cmd): if rib is link show interface name.
1663 1999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1665 * rt_socket.c (rtm_write): use sockaddr_dl when null gateway.
1667 1999-07-16 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1669 * rt_socket.c (rtm_write): ipv6 route table bug fixed.
1671 1999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1673 * zebra.c (zebra_read_ipv6): read link prefix from ospf6 support
1675 1999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1677 * rt_socket.c (kernel_rtm_ipv6): gate treatment bug fixed.
1679 1999-07-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1681 * if_sysctl.c (ifm_read): Clear sockunion argument before fetching
1682 data. Suggested by "Chris P. Ross" <cross@eng.us.uu.net>
1684 1999-07-08 HEO SeonMeyong <seirios@Matrix.IRI.Co.Jp>
1686 * interface.c (if_tun_add): Add KAME's gif tunnel setting codes.
1688 1999-06-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1690 * zebra.c (zebra_serv): Only accept loopback address connection.
1692 1999-06-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1694 * zebra.h (ZEBRA_ROUTE_EXTERNAL): Add zebra messages flags
1696 1999-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1698 * ipforward_proc.c: ipforward_on () and ipforward_off () added.
1700 1999-06-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1702 * ipforward_proc.c (ipforward_ipv6): Check for IPv6 forwarding
1703 using /proc file system is added.
1705 1999-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1707 * if_ioctl.c (if_get_index): Interface index set bug is fixed by
1708 adding #else at the middle of function. Suggested by David Luyer
1709 <luyer@ucs.uwa.edu.au>.
1711 1999-05-29 <kunihiro@zebra.org>
1713 * rt_ioctl.c: Comment out #include <linux/ipv6_route.h>.
1715 1999-05-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1717 * zebra.h (ZEBRA_ROUTE_MAX): Add new define for the max value of
1720 1999-05-25 Patrick Koppen <koppen@rhrk.uni-kl.de>
1722 * rt_netlink.c (netlink_socket): Make netlink socket non-blocking.
1723 (netlink_parse_info): If errno is EWOULDBLOCK then continue to
1725 (netlink_talk): Likewise
1727 1999-05-17 <kunihiro@zebra.org>
1729 * redistribute.c (zebra_check_addr): Added for loopback address
1732 1999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1734 * rt_netlink.c (netlink_route_change): Tempolary bypass ipv6 route
1737 * Makefile.am (noinst_HEADERS): redistribute.h added.
1739 * redistribute.h: New file.
1741 1999-05-14 Stephen R. van den Berg <srb@cuci.nl>
1743 * zebra.c (show_table): Show all table configuration DEFUN.
1744 (config_table): Config table number DEFUN.
1746 * rt_netlink.c: Add support for multiple routing table.
1748 * rib.c (rib_weed_table): New function added for delete all
1749 routes from specified routing table.
1751 * main.c (signal_init): SIGTERM call sigint.
1752 (sigint): Loggging more better message.
1754 1999-05-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1756 * rt_netlink.c: Change log () to zlog ().
1758 1999-05-07 <kunihiro@zebra.org>
1760 * zebra.h (ZEBRA_ROUTE_OSPF6): Added for ospf6d route.
1762 1999-04-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1764 * interface.c: Add `no ip address' command.
1766 1999-04-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1768 * rt_netlink.c (kernel_read): Function added for asynchronous
1769 zebra between kernel communication.
1771 1999-03-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1773 * rtread_sysctl.c (rtm_read): Fix address memcopy overrun bug.
1774 Reported by Achim Patzner <ap@bnc.net>.
1776 1999-03-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1778 * Makefile.am: Install configuration sample with 600 permission.
1780 1999-03-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1782 * Makefile.am: Add -I.. to INCLUDES.
1784 1999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
1786 * syslog support added
1788 1999-02-17 Peter Galbavy <Peter.Galbavy@knowledge.com>
1790 * if_sysctl.c (interface_list): allocated memory free when unknown
1791 ifm_type is returned.
1793 * ioctl.c (if_get_mtu): added SIOCGIFDATA treatment.
1795 1998-12-15 Magnus Ahltorp <map@stacken.kth.se>
1797 * interface.c: Header include added.
1799 1998-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1801 * rt.h (kernel_delete_ipv6): change int index to unsigned int index.
1803 1998-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1805 * if_ioctl.c (interface_list_ioctl): interface flag must be
1806 checked before check addresses of the interface.
1808 1998-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1810 * Makefile.am (INCLUDES): add @INCLUDES@ for Linux IPv6.
1812 1998-10-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1814 * ioctl.c: Linux version before 2.1.0 need interface route setup.
1816 1998-09-15 HEO SeonMeyong <seirios@matrix.iri.co.jp>
1818 * change HYDRANGEA to KAME
1820 1998-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1822 * if_ioctl.c (if_addr_ioctl): set address family for getting
1823 interface's address.
1824 (if_get_index): silently return when can't get interface's index.
1826 1998-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1828 * main.c (main): batch mode option '-b' added.
1830 1998-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1832 * ioctl.c (if_set_prefix): add `ip address IPV4ADDR' command.
1833 * interface.c (shutdown_if): add interface shutdown and no
1836 1998-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1838 * rib.c (rib_add_ipv6): delete rib_add_in6.
1840 1998-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1842 * main.c: retain flag is added.
1844 1998-07-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1846 * rtable.[ch]: merged with rib.[ch]
1848 1998-07-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1850 * connected.h: renamed from ifa.h.
1852 1998-06-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1854 * rename if.c to interface.c
1855 * rename ifa.c to connected.c
1857 * Porting to Debian GNU/Linux 2.0 (hamm).
1859 1998-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1861 * rt_netlink.c: renamed from krt_netlink.c
1864 * rt_kvm.c: deleted.
1865 * rtread_getmsg.c: deleted.
1867 1998-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1869 * if.c (multicast): add multicast flag [un]set fucntion.
1871 1998-05-19 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1873 * rt_socket.c: Modify for compile on Solaris, but dont't work it.
1874 rt_socket.c have some undefined function, so add directive "IMPLEMENT"
1876 1998-05-18 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1878 * zebra.c: Modify for compile on Solaris.
1880 1998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1882 * main.c: change CONFDIR to SYSCONFDIR.
1884 1998-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1886 * .cvsignore: added.
1888 1998-04-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1890 * client.c: moves to ../lib.
1892 1998-03-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1894 * if_ioctl.c (if_get_addr): Change address copy from memcopy() to
1895 structure assignment.
1897 1998-03-30 URA Hiroshi <ura@yamato.ibm.co.jp>
1899 * if_sysctl.c (ifm_interface_add): sdl->sdl_data copy bug fixed.
1901 1998-02-23 "Hannes R. Boehm" <hannes@boehm.org>
1903 * if.c (if_init): add config_exit_cmd and config_help_cmd.
1905 1998-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
1907 * rt_ioctl.c (route_ioctl): EPERM treatment added.
1909 1998-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1911 * rt_socket.c (kernel_read): communication port zebra between
1912 kernel is now handled by kernel_read.
1914 1998-01-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1916 * main.c (main): zebra [-P port] can specify vty port number.
1918 1997-12-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1920 * zebra.c: change select will be block.
1922 1997-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1924 * add static route treatment.
1926 1997-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1928 * rt_netlink.c: add netlink support over GNU/Linux system.
1930 1997-11-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1932 * all inet_addr is changed to inet_aton.
1934 * zebra.c (ip_route): add ip route command for static routes.
1936 1997-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1938 * if.c (if_flag_dump): Linux port of if_flag_dump and _vty.
1940 1997-11-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1942 * if.c: add interface command.
1944 1997-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1946 * ipforward_proc.c : Now works on Linux.
1948 1997-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1950 * command.c : add completion feature.
1952 1997-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1954 * vty.c (vty_command): add vty interface.
1956 1997-10-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1958 * zebra.c: add verbose mode.
1960 1997-10-12 SonMyong Ho <s-ho@Matrix.IRI.Co.Jp>
1962 * Hydrangea for FreeBSD supported
1963 * in.h: add some prototype.
1965 1997-10-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1967 * rt_socket.c and rtread.c completely rewritten.
1969 1997-10-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1971 * rt_socket.c: rename kernel_sock to routing_socket
1973 1997-10-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1975 * if.c (if_new): interface structure change from linklist to vector.
1977 1997-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1979 * vector.c (vector_init): create vector related function
1981 1997-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1983 * Makefile.in: add tags target
1985 * start IPv6 support for INRIA FreeBSD.