blob: e172360362121f2eb14507bd23ae9de3b37ee634 [file] [log] [blame]
paul0752ef02005-11-03 12:35:21 +000012005-11-03 Paul Jakma <paul.jakma@sun.com>
2
3 * connected.{c,h}: Include memory.h
4 (connected_add_ipv4) Use MTYPE for ifc label.
5 (connected_add_ipv6) Also should accept label. Store it in ifp.
6 (connected_del_ipv4) Taking label as argument is pointless.
7 * rt_netlink.c: (netlink_interface_addr) update label usage
8 for connected_{add,delete} functions.
9 * if_ioctl.c: (if_getaddrs) NULL label for connected_add_ipv6.
10 * if_ioctl_solaris.c: (interface_list_ioctl) Pass LIFC_NOXMIT
11 so we also find out about NOXMIT interfaces like VNI.
12 Bit of hackery to turn interface names into the primary
13 interface name, later with routing socket messages we only
14 will about primary interfaces anyway, so we must normalise
15 the name.
16 (if_get_addr) take label as argument, so it can
17 be passed to connected_add.
18 If label is provided, then it is interface name to issue the
19 ioctl for address information on, not the ifp name.
20 (interface_list) List AF_UNSPEC too, just in case.
21 * if_proc.c: (ifaddr_proc_ipv6) label for connected_add_ipv6.
22 * interface.c: (if_addr_wakeup) Some very bogus code - sets
23 IFF_RUNNING - add comment.
24 (if_refresh)
25 (ip_address_install) Use MTYPE for ifc label.
26 * ioctl_solaris.c: (if_mangle_up) New function. Hackery to make
27 IFF_UP reflect whether any addresses are left on the
28 interface, as we get signalled for IFF_UP flags change on the
29 primary interface only. Logical interfaces dont generate
30 IFINFO, but we do get an RTM_DELADDR.
31 (if_get_flags) Call if_mangle_up before return.
32 * kernel_socket.c: (ifam_read) Fixup calls to
33 connected_{add,delete} to match above changes. Rename gate
34 variable to brd, less confusing.
35 Pass the interface name as a label, if it is not same name
36 as ifp->name.
37
pauld06b2a62005-10-11 03:53:54 +0000382005-10-11 Paul Jakma <paul.jakma@sun.com>
39
40 * connected.{c,h}: (connected_{add,delete}_ipv4) label should
41 be const qualified.
42
ajsc05612b2005-10-01 16:36:54 +0000432005-10-01 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
44
ajsf52d13c2005-10-01 17:38:06 +000045 * zebra_vty.c: (route_type_str) Remove obsolete function: use new
46 library function zebra_route_string() instead. Note that there
47 are a few differences: for IPv6 routes, we now get "ripng" and
48 "ospf6" instead of the old behavior ("rip" and "ospf").
49 (route_type_char) Remove obsolete function: ues new library function
50 zebra_route_char() instead. Note that there is one difference:
51 the old function returned 'S' for a ZEBRA_ROUTE_SYSTEM route,
52 whereas the new one returns 'X'.
53 (vty_show_ip_route_detail,vty_show_ipv6_route_detail) Replace
54 route_type_str() with zebra_route_string().
55 (vty_show_ip_route,vty_show_ipv6_route) Replace route_type_char()
56 with zebra_route_char().
57
582005-10-01 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
59
ajsc05612b2005-10-01 16:36:54 +000060 * rt_netlink.c: (netlink_request) Use memset to clear structure
61 before calling sendto (eliminates a valgrind error message about
62 uninitialized data).
vincentaa2e32b2005-09-28 13:42:11 +000063
642005-09-28 Alain Ritoux <alain.ritoux@6wind.com>
65
vincentfbf5d032005-09-29 11:25:50 +000066 * zserv.c: Always provied distance for route add
67
682005-09-28 Alain Ritoux <alain.ritoux@6wind.com>
69
vincentaa2e32b2005-09-28 13:42:11 +000070 * connected.c: flag connected_up_ipv6() and connected_down_ipv6()
71 usage with HAVE_IPV6
72
hassod24af182005-09-24 14:00:26 +0000732005-09-24 Hasso Tepper <hasso at quagga.net>
74
75 * rib.h: Add note about behaviour of rib_add_ipv[46]* functions -
76 add is treated as implicit withdraw.
77
hassoebf1ead2005-09-21 14:58:20 +0000782005-09-21 David Young <dyoung@ojctech.com>
79
80 * zebra_rib.c: Reduce the height of some staircases. Fix
81 rib_delete_ipv6() to match routes in the RIB by their gateway as
82 well as by destination.
83
paul319572c2005-09-21 12:30:08 +0000842005-09-21 Paul Jakma <paul.jakma@sun.com>
85
86 * zebra_rib.c: (static_uninstall_ipv{4,6}) Fix regression wrt
87 removal of static routes with multiple-hops introduced with
88 the workqueue conversion. We should free the relevant
89 nexthop and then get rib_process to run, otherwise we just
90 get same static route back again (with no way to unconfigure
91 it, because its already deleted from configuration).
92
paulca162182005-09-12 16:58:52 +0000932005-09-12 Paul Jakma <paul.jakma@sun.com>
94
95 * (general) RTM_CHANGE and implicit withdraw on RTM_NEWADDR
96 support.
97 * connected.c: (connected_withdraw) new function. withdraw a
98 connected subnet address set from zebra, and pass information
99 along to clients.
100 (connected_announce) similar, but to announce a new connected
101 subnet address set.
102 (connected_check_ipv4) renamed to connected_check, as its
103 AFI independent.
104 (connected_add_ipv{4,6}) Remove the connected address announce
105 stuff, use connected_announce instead.
106 If connected_check indicates address is already present,
107 treat it as an implicit withdraw of the existing address, ie
108 remove the old address details and replace with the new
109 details.
110 (connected_delete_ipv{4,6}) Use connected_withdraw.
111 (connected_check_ipv6) deleted in favour of connected_check.
112 * connected.h: Rename connected_check_ipv4 to connected_check.
113 delete connected_check_ipv6.
114 * interface.c: Use connected_check rather than the AFI specific
115 symbols.
116 * kernel_socket.c: (rtm_read) RTM_CHANGE support. Create a
117 rib delete event for the existing route, before adding route
118 again.
119 (kernel_read) we can handle RTM_CHANGE now.
120
hassobe61c4e2005-08-27 06:05:47 +00001212005-08-27 Hasso Tepper <hasso at quagga.net>
122
123 * zebra_rib.c, rib.h: Add distance and metric arguments to the
124 rib_add_ipv6() function so that IPv6 routes in RIB can have correct
125 metric. No IPv6 routing daemon uses distance yet though.
126 * zserv.c, connected.c, kernel_socket.c, rt_netlink.c,
127 rtread_proc.c,zserv.c: Pass metric and distance info to the
128 rib_add_ipv6().
129
paul6eb88272005-07-29 14:36:00 +00001302005-07-29 Paul Jakma <paul.jakma@sun.com>
131
132 * interface.c: (if_delete_update) should always be available, not
133 just on RTM_IFANNOUNCE/NETLINK systems.
134 * kernel_socket.c: (ifan_read) only call if_delete_update when
135 interface departs, dont if_delete, because we wish to retain
136 interface configuration state even when interfaces are removed.
137 (ifm_read) If we dont have RTM_IFANNOUNCE, then transitioning
138 to down state is only chance we have to clean up interface in case
139 it is deleted (eg Solaris down -> unplumb -> plumb up).
140 * redistribute.c: (zebra_interface_delete_update) should always be
141 available, we /will/ call it now on all systems, via
142 if_delete_update.
143 * zserv.c: (zsend_interface_delete) ditto
144 (zsend_interface_address) Update the call-flow diagramme, to
145 reflect that if_delete_update /is/ now called on all systems,
146 potentially.
147 * zserv.h: (zsend_interface_delete) unconditionally exported, as
148 above.
149
paula1ac18c2005-06-28 17:17:12 +00001502005-06-28 Paul Jakma <paul.jakma@sun.com>
151
152 * (global) Extern and static'ification, with related fixups
153 of declarations, ensuring files include their own headers, etc.
paulea6f82b2005-06-28 17:20:26 +0000154 * if_ioctl.c: (interface_info_ioctl) fix obvious arg mis-order in
paula1ac18c2005-06-28 17:17:12 +0000155 list loop
paulea6f82b2005-06-28 17:20:26 +0000156 * kernel_socket.c: (RTA_{ADDR,ATTR}_GET) fix mistake, NULL check
157 should be on DEST argument
paula1ac18c2005-06-28 17:17:12 +0000158
paul62debbb2005-06-14 14:07:07 +00001592005-06-14 Paul Jakma <paul.jakma@sun.com>
160
161 * kernel_socket.c: consolidate the IFAM{ADDR,MASK}GET and
162 RTM{ADDR,MASK}GET macros into generic rta_addrs macros,
163 RTA_{ADDR,ATTR}_GET.
164 (af_check) could use 'inline' attribute
165 (ifam_read_mesg) remove IFAM{ADDR,MASK}GET macro, change to
166 generic macro.
167 (rtm_read_mesg) similar
168
hasso1ada8192005-06-12 11:28:18 +00001692005-06-12 Hasso Tepper <hasso at quagga.net>
170
171 * rt_netlink.c: Remove netlink-addr socket declaration, it's not used.
172 * rt_netlink.c (netlink_parse_info): Fix debug messages - nlmsg_pid is
173 unsigned and one zlog call had swapped arguments.
174 * rt_netlink.c (netlink_route_multipath): Fix compile with disabled
175 IPv6 support.
176
paul1dcb5172005-05-31 08:38:50 +00001772005-05-31 Paul Jakma <paul.jakma@sun.com>
178
179 * zserv.c: (zsend_route_multipath) Fix bug if route is sent
180 with no NEXTHOP_FLAG_FIB nexthops. As ZAPI_MESSAGE_IFINDEX
181 and ZAPI_MESSAGE_NEXTHOP are always set, clients would try
182 read non-existent nexthop information and hit stream assert.
183 Zserv is still broken for multi-nexthop messages, but it always was.
184
paul69e10ad2005-05-06 21:27:33 +00001852005-05-06 Paul Jakma <paul.jakma@sun.com>
186
187 * zserv.h: Remove ZEBRA_PORT definition, its in lib/zebra.h now
188
paul4d38fdb2005-04-28 17:35:14 +00001892005-04-28 Paul Jakma <paul.jakma@sun.com>
190
191 * rib.h: (struct rib) Add lock field for refcounting.
192 * zserv.h: (struct zebra_t) Add a ribq workqueue to the zebra
193 'master' struct.
194 * zserv.c: (zread_ipv4_add) XMALLOC then memset should be XCALLOC.
195 * zebra_rib.c: Clean up refcounting of route_node, make struct rib
196 refcounted and convert rib_process to work-queue. In general,
197 rib's should be rib_addnode'd and delnode'd to route_nodes, and
198 these symmetrical functions will manage the locking of referenced
199 route_node and freeing of struct rib - rather than having users
200 manage each seperately - with much scope for bugs..
201 (newrib_free) removed and replaced with rib_lock
202 (rib_lock) new function, check state of lock and increment.
203 (rib_unlock) new function, check lock state and decrement. Free
204 struct rib if refcount hits 0, freeing struct nexthop's, as
205 newrib_free did.
206 (rib_addnode) Add RIB to route_node, locking both.
207 (rib_delnode) Delete RIB from route_node, unlocking each.
208 (rib_process) Converted to a work-queue work function.
209 Functional changes are minimal, just arguments, comments and
210 whitespace.
211 (rib_queue_add_qnode) Helper function to setup a ribq item.
212 (rib_queue_add) Helper function, same arguments as old
213 rib_process, to replace in callers of rib_process.
214 (rib_queue_qnode_del) ribq deconstructor.
215 (rib_queue_init) Create the ribq.
216 (rib_init) call rib_queue_init.
217 (remainder) Sanitise refcounting of route_node's. Convert to
218 rib_queue_add, rib_addnode and rib_delnode. Change XMALLOC/memset
219 to XCALLOC. Remove calls to nexthop_delete and nexthop_free.
220
paulcf460ef2005-04-10 16:54:26 +00002212005-04-10 Paul Jakma <paul@dishone.st>
222
223 * if_ioctl_solaris.c: (if_lookup_linklocal) fix order of args
224 in ALL_LIST_ELEMENTS_RO macro.
225
ajs57a14772005-04-10 15:01:56 +00002262005-04-10 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
227
228 * zserv.c (zebra_client_read): Fix bug: first read attempt should
229 read ZEBRA_HEADER_SIZE minus the number of bytes already read.
230 Improve efficiency by maintaining a calculation of the number
231 of bytes read instead of calling stream_get_endp multiple times.
232 If message length is too small, issue a warning message (not debug)
233 before closing the connection. And also check that message length
234 is not too big.
235
hasso206d8052005-04-09 16:38:51 +00002362005-04-09 Hasso Tepper <hasso at quagga.net>
237
hassofa599802005-04-09 16:59:28 +0000238 * rt_netlink.c: One tiny missing comma caused pointless debug messages
239 about IPv6 nexthops.
240
2412005-04-09 Hasso Tepper <hasso at quagga.net>
242
hasso206d8052005-04-09 16:38:51 +0000243 * rt_netlink.c (netlink_parse_info): Fix warning. It's safe to cast
244 status to unsigned here, because we already checked that it isn't
245 negative or 0.
246 * rt_netlink.c (netlink_interface_addr): Prefix length belongs to the
247 address, not to the interface.
248 * rt_netlink.c (netlink_route_multipath): Fix debug. No useless info
249 is printed out now and IPv6 info is handeled.
250
paul3d1dc852005-04-05 00:45:23 +00002512005-04-05 Paul Jakma <paul@dishone.st>
252
253 * zserv.c: print more helpful errors when we fail to successfully
254 bind and listen on zserv socket. Closes bugzilla #163.
255
ajsd2fc8892005-04-02 18:38:43 +00002562005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
257
ajs08dbfb62005-04-03 03:40:52 +0000258 * if_ioctl.c: (interface_list_ioctl) Use if_get_by_name_len.
259 * if_proc.c: (ifaddr_proc_ipv6) Increase size of ifname buffer to
260 avoid overflow.
261 * kernel_socket.c: (ifan_read) Use if_get_by_name_len.
262
2632005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
264
ajsa3491982005-04-02 22:50:38 +0000265 * kernel_socket.c: (ifm_read) Use new if_lookup_by_name_len function
266 to save a memcpy.
267 * if_ioctl_solaris.c: (interface_list_ioctl) Fix subtle bug with new
268 if_get_by_name_len function.
269
2702005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
271
ajsd2fc8892005-04-02 18:38:43 +0000272 * interface.c: (if_new_intern_ifindex) Remove obsolete function.
273 (if_delete_update) After distributing the interface deletion message,
274 set ifp->ifindex to IFINDEX_INTERNAL.
275 (if_dump_vty) Detect pseudo interface by checking if ifp->ifindex is
276 IFINDEX_INTERNAL.
277 (zebra_interface) Check return code from interface_cmd.func.
278 Do not set internal ifindex values to if_new_intern_ifindex(),
279 since we now use IFINDEX_INTERNAL for all pseudo interfaces.
280 * kernel_socket.c: (ifm_read) Fix code and comments to reflect that
281 all internal interfaces now have ifp->ifindex set to IFINDEX_INTERNAL.
282 * rt_netlink.c: (set_ifindex) New function used to update ifp->ifindex.
283 Detects interface rename events by checking if that ifindex is already
284 being used. If it is, delete the old interface before assigning
285 the ifindex to the new interface.
286 (netlink_interface, netlink_link_change) Call set_ifindex to update
287 the ifindex.
288
hassob7ed1ec2005-03-31 20:13:49 +00002892005-03-31 Hasso Tepper <hasso at quagga.net>
290
291 * rt_netlink.c (netlink_talk_filter): Show always warning message,
292 it's not for debug.
293 * rt_netlink.c (netlink_talk): Don't assume we use netlink_cmd
294 although we do now actually.
295 * rt_netlink.c (netlink_route, netlink_route_multipath): Always use
296 netlink_cmd to send messages to the kernel.
297
ajs2da40f42005-03-30 16:33:13 +00002982005-03-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
299
300 * irdp.h: Add prototype for irdp_sock_init, and fix protos for
301 other irdp_* functions.
302 * irdp_interface.c: (irdp_if_start) If irdp_sock is negative,
303 call irdp_sock_init to create the IRDP socket.
304 (irdp_if_init) Rename to irdp_init().
305 (get_iflist_ifp) Remove function that is a duplicate of
306 if_lookup_by_index.
307 (*) Make many functions static. And remove superfluous "\n" from
308 several zlog messages.
309 * irdp_main.c: (irdp_init) Remove function that used to call
310 irdp_if_init() and irdp_sock_init(), since we will now create
311 the socket only upon first use.
312 (irdp_sock_init) Do not update global irdp_sock variable, just
313 return the fd and assume that the caller will do so. If setsockopt
314 calls fail, close the socket before returning -1.
315 (*) Make many functions static.
316 * irdp_packet.c: Initialize irdp_sock to -1.
317 (irdp_read_raw) Call standard library function if_lookup_by_index
318 instead of get_iflist_ifp.
319 (irdp_recvmsg) Should be static, not global.
320
ajsa608bbf2005-03-29 17:03:49 +00003212005-03-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
322
323 * rt_netlink.c: (netlink_link_change) If the status of an
324 operative interface changes (e.g. MTU changes), the client
325 daemons should be notified by calling zebra_interface_up_update.
326 Previously, the information was being updated in zebra's
327 interface structure, but the clients were not notified of
328 changes to an operative interface.
329
vincent7cee1bb2005-03-25 13:08:53 +00003302005-03-25 Jean-Mickael Guerin <jean-mickael.guerin@6wind.com>
331 * interface.c, interface.h, rtadv.c, rtadv.h: modifications to
332 IPv6 Neighbor Discovery according to RFC3775, section 7:
333 o 1-bit Home Agent flag management in Router Advertisement (7.1).
334 o 1-bit Router Address flag management in Prefix Information
335 Option (7.2).
336 o Advertisement Interval Option (7.3)
337 o Home Agent Information Option (7.4)
338 o Changes to Sending Router Advertisements more frequently (7.5)
339
hassoed9bb6d2005-03-13 19:17:21 +00003402005-03-13 Hasso Tepper <hasso at quagga.net>
341
342 * zebra/interaface.c: "show interface description" command
343 implemented.
344
paulc1f01f32005-03-12 06:33:14 +00003452005-03-12 Paul Jakma <paul@dishone.st>
346
347 * rt_netlink.c: (netlink_route_multipath) dont set equalise flag.
348 No stock Linux kernel has ever supported it, and even if it had
349 it's not generally a good idea.
350
hasso42a66d72005-03-07 08:19:44 +00003512005-03-07 Michael Sandee <voidptr@voidptr.sboost.org>
352
353 * if_proc.c, ipforward_proc.c, rtread_proc.c: Fix fd leaks.
354
hasso3452d472005-03-06 13:42:05 +00003552005-03-06 Hasso Tepper <hasso at quagga.net>
356
357 * interface.c: Fix CRC and frame errors statistics in Linux.
358
ajs719e9742005-02-28 20:52:15 +00003592005-02-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
360
361 * zserv.c: Must include network.h and buffer.h for non-blocking I/O.
362 Remove global message_queue and t_write (need separate buffering for
363 each client).
364 (zebra_server_dequeue,zebra_server_enqueue) Remove functions
365 related to old buggy buffering code.
366 (zserv_delayed_close) New thread callback function to delete a client.
367 (zserv_flush_data) New thread callback function to flush buffered
368 data to client.
369 (zebra_server_send_message) Rewritten to use buffer_write (so
370 buffering of writes and non-blocking I/O work properly).
371 (zsend_interface_add,zsend_interface_delete,zsend_interface_address,
372 zsend_interface_update) Return 0 instead of -1 if !client->ifinfo
373 (this is not really an error). Return value from
374 zebra_server_send_message.
375 (zsend_route_multipath,zsend_ipv4_nexthop_lookup,
376 zsend_ipv4_import_lookup) Return value from zebra_server_send_message.
377 (zsend_ipv6_nexthop_lookup) Fix scope to static, and return value
378 from zebra_server_send_message.
379 (zsend_router_id_update) Must use zebra_server_send_message instead
380 of deprecated writen function. Return 0 instead of -1 if this client
381 is not subscribed to router-id updates (since this is not really
382 an error).
383 (zread_interface_add) Change type to static int. If
384 zsend_interface_add fails or zsend_interface_address fails, return -1
385 immediately (since the client has had an I/O error).
386 (zread_interface_delete,zread_ipv4_add,zread_ipv4_delete,
387 zread_ipv6_add,zread_ipv6_delete,zread_router_id_delete) Return 0
388 to indicate success.
389 (zread_ipv4_nexthop_lookup) Return value from
390 zsend_ipv4_nexthop_lookup.
391 (zread_ipv4_import_lookup) Return value from zsend_ipv4_import_lookup.
392 (zebra_read_ipv6) Remove unused function.
393 (zread_ipv6_nexthop_lookup) Return value from
394 zsend_ipv6_nexthop_lookup.
395 (zread_router_id_add) Return value from zsend_router_id_update.
396 (zebra_client_close) Call buffer_free(client->wb) and
397 thread_cancel(client->t_suicide).
398 (zebra_client_create) Allocate client->wb using buffer_new.
399 (zebra_client_read) Support non-blocking I/O by using stream_read_try.
400 Use ZEBRA_HEADER_SIZE instead of 3.
401 (zebra_accept) Fix bug: reset accept thread at top. Make client
402 socket non-blocking using the set_nonblocking function.
403 (config_write_forwarding) Fix scope to static.
404 (zebra_init) Remove initialization code for old buggy write buffering.
405 * zserv.h: Add 2 new fields to struct zserv: struct buffer *wb
406 (to enable buffered writes with non-blocking I/), and
407 struct thread *t_suicide to support delayed close on I/O
408 errors.
409 * router-id.h: Remove prototypes for zread_router_id_add and
410 zread_router_id_delete (their scope should be static to zserv.c).
411
ajs27da3982005-02-24 16:06:33 +00004122005-02-24 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
413
414 * redistribute.c: (zebra_check_addr,is_default,
415 zebra_redistribute_default,zebra_redistribute) Fix scope to be static.
416
hassoe8274dc2005-02-20 19:09:23 +00004172005-02-20 Hasso Tepper <hasso at quagga.net>
418
419 * rt_netlink.c: Don't show messages "ignoring message type 0x001[89]"
420 if we are not debugging.
421
paule31f2292005-02-19 02:00:26 +00004222005-02-19 Paul Jakma <paul@dishone.st>
423
424 * zserv.c: (zebra_read_ipv6) replace the char * arithmetic with
425 STREAM_READABLE.
426
paul1e193152005-02-14 23:53:05 +00004272005-02-14 Paul Jakma <paul@dishone.st>
428
429 * Not all Linux netlink systems have IFLA_WIRELESS
430
ajs6a52d0d2005-01-30 18:49:28 +00004312005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
432
433 * ioctl.c: (if_ioctl,if_ioctl_ipv6,if_get_flags) Replace perror with
434 zlog_err.
435 * ioctl_solaris.c: (if_ioctl,if_ioctl_ipv6) Replace perror with
436 zlog_err.
437
ajs4be019d2005-01-29 16:12:41 +00004382005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
439
ajs4460e7a2005-01-29 17:07:40 +0000440 * if_ioctl_solaris.c: (interface_list_ioctl) Save errno before calling
441 zserv_privs.change.
442 * ioctl{,_solaris}.c: (if_ioctl,if_ioctl_ipv6) Save errno before calling
443 zserv_privs.change.
444 * ipforward_solaris.c: (solaris_nd) Save errno before calling
445 zserv_privs.change.
446 * irdp_main.c: (irdp_sock_init) Save errno before calling
447 zserv_privs.change.
448
4492005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
450
ajs4be019d2005-01-29 16:12:41 +0000451 * rt_netlink.c: (netlink_socket,netlink_request,netlink_parse_info,
452 netlink_talk) Save errno before calling zserv_privs.change.
453
paulc15cb242005-01-24 09:05:27 +00004542005-01-24 Martin Pot <mpot at martybugs.net>
455
456 * zebra/rt_netlink.c: ignore wireless newlink netlink messages.
457
hasso6f2c27a2005-01-18 13:44:35 +00004582005-01-18 Hasso Tepper <hasso at quagga.net>
459
460 * interface.c: Better statistics output in "show interface" command in
461 case of /proc being used.
462
hasso583d8002005-01-16 23:34:02 +00004632005-01-17 Hasso Tepper <hasso at quagga.net>
464
465 * main.c: With --nl-bufsize argument is required.
466
paul865b8522005-01-05 08:30:35 +00004672005-01-05 Paul Jakma <paul@dishone.st>
468
469 * zserv.c: (zebra_accept) Comment out setting of socket to NONBLOCK
470 for now, as we dont actually deal with with resending.... See
471 bugzilla #122, fix from wawa@yandex-team.ru (Vladimir Ivanov).
472 * kernel_socket.c: (routing_socket) ditto.
473
ajsb99760a2005-01-04 16:24:43 +00004742005-01-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
475
476 * rtadv.c: (rtadv_recv_packet,rtadv_send_packet) Use ZCMSG_FIRSTHDR
477 instead of CMSG_FIRSTHDR.
478
ajs341a8f12004-12-22 16:32:16 +00004792004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
480
481 * connected.c: (connected_add_ipv4) Limit warning about /32 addresses
482 with no peer specified to PtP interfaces only.
483
hassob8adec12004-12-18 16:03:28 +00004842004-12-18 Hasso Tepper <hasso at quagga.net>
485
486 * zebra_vty.c: Fix "show ipv6 route <proto>" command help and make it
487 work for isis routes.
488
gdt6a250b02004-12-09 14:48:12 +00004892004-12-09 Greg Troxel <gdt@fnord.ir.bbn.com>
490
491 * kernel_socket.c (rtmsg_debug): char * => const char *
492
ajs274a4a42004-12-07 15:39:31 +00004932004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
494
ajsb6178002004-12-07 21:12:56 +0000495 * *.c: Change level of debug messages to LOG_DEBUG.
496
4972004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
498
ajs274a4a42004-12-07 15:39:31 +0000499 * main.c: (main) The 2nd argument to openzlog has been removed.
500 So stdout logging will no longer be enabled by default.
501 * irdp_main.c: (irdp_finish) Reduce severity of shutdown message
502 from LOG_WARNING to LOG_INFO.
503
ajs887c44a2004-12-03 16:36:46 +00005042004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
505
506 * main.c: (sigint) Use zlog_notice for termination message.
507 (main) Add a startup announcement using zlog_notice.
508
hassoaccb1562004-11-25 19:21:07 +00005092004-11-25 Hasso Tepper <hasso at quagga.net>
510
511 * irdp_interface.c: Remove comment from DEFUN, it breaks vtysh because
512 it confuses extract.pl.
hassoc0652302004-11-25 19:33:48 +0000513 * main.c: Make group to run as configurable.
hassoaccb1562004-11-25 19:21:07 +0000514
hasso6bd7c6a2004-10-28 17:32:27 +00005152004-10-28 Hasso Tepper <hasso at quagga.net>
516
517 * interface.c: Remove dead "ip tunnel" command.
518
paul06f953f2004-10-22 17:00:38 +00005192004-10-22 Paul Jakma <paul@dishone.st>
520
521 * irdp_main.c: change setsockopt_pktinfo to setsockopt_ifindex
522
hasso3fb9cd62004-10-19 19:44:43 +00005232004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
524
525 * rt_netlink.c: (netlink_interface_addr) For PtP interfaces, ignore
526 tb[IFA_ADDRESS] if it's the same as tb[IFA_LOCAL].
527 * interface.c: (ip_address_install) Use new ipv4_broadcast_addr
528 function.
529 * connected.c: (connected_up_ipv4) Use CONNECTED_POINTOPOINT_HOST
530 macro.
531 (connected_down_ipv4) ditto.
532 (connected_add_ipv4) Validate destination address, print warnings
533 if it does not make sense.
534
hassoc1eaa442004-10-19 06:26:01 +00005352004-10-19 Hasso Tepper <hasso at quagga.net>
536
537 * zserv.c: Fix regression introduced with zserv cleanup.
538
hassoc75105a2004-10-13 10:33:26 +00005392004-10-13 Hasso Tepper <hasso at quagga.net>
540
541 * zebra_snmp.c: Remove defaults used to initialize smux connection to
542 snmpd. Connection is initialized only if smux peer is configured.
hassob71f00f2004-10-13 12:20:35 +0000543 * zserv.c: Remove useless warnings "forwarding is already on".
hassoc75105a2004-10-13 10:33:26 +0000544
hasso39ff11d2004-10-12 15:55:19 +00005452004-10-12 Hasso Tepper <hasso at quagga.net>
546
547 * zebra_vty.c: Unbreak "show ip route" command help and make it work
548 for isis routes.
hasso39db97e2004-10-12 20:50:58 +0000549 * interface.c(if_dump_vty): Show IPv6 addresses in "show interface"
550 output. Fixes Bugzilla #119.
551 * *.c: Make some strings const and some (unsigned) casts to fix
552 compiler warnings.
hasso39ff11d2004-10-12 15:55:19 +0000553
hassofce954f2004-10-07 20:29:24 +00005542004-10-07 Hasso Tepper <hasso at quagga.net>
555
556 * connected.c, main.c, rt_netlink.c, rtadv.c, zebra_rib.c, zserv.c:
557 Fix warnings: make strings const, signed -> unsigned.
558
paul72164662004-10-05 14:39:43 +00005592004-10-05 Paul Jakma <paul@dishone.st>
560
561 * irdp_packet.c: (parse_irdp_packet) style issues.
562 Use sockopt_iphdrincl_swab_systoh.
563 Try unbork the code. Checksum the ICMP data and actually
564 compare it to received checksum. Check data length against
565 claimed length in header.
566 Always use ntoh.. when accessing addresses, even when the
567 comparison happens to be endian-safe.
568 (send_packet) minor style isues. Use
569 sockopt_iphdrincl_swab_htosys.
570 (irdp_iph_hton/ntoh) IP header to/from network/host order.
571
hassoeef1fe12004-10-03 18:46:08 +00005722004-10-03 Gilad Arnold <gilad.arnold at terayon.com>
573
574 * interface.c, interface.h: A new prefix tree of connected subnets is
575 associated with each interface structure in zebra, in which each
576 live (ie, non-synthetic) node holds a list of installed addresses
577 that belong to that prefix. Remove secondary address logic from cli.
578 See [quagga-dev 872] for detailed explanation.
579 * connected.c: Use if_subnet_add() and if_subnet_delete().
580
hasso18a6dce2004-10-03 18:18:34 +00005812004-10-03 James R. Leu <jleu at mindspring.com>
582
583 * router-id.c, router-id.h: New files. Router id selection process. If
584 there is non 127.x.x.x address in loopack interface, lowest of them
585 is chosen. If there isn't, lowest from other interfaces addresses
586 are chosen. "router-id x.x.x.x" vty command to manual override.
587 * Makefile.am: Compile new files.
588 * main.c: Initialize router id.
589 * redistribute.c: Add interface addresses into router id selection
590 lists as they (dis)appear.
591 * zserv.c, zserv.h: Sending router id related messages to daemons.
592
hassoc9e52be2004-09-26 16:09:34 +00005932004-09-26 Hasso Tepper <hasso at quagga.net>
594
595 * irdp_interface.c, irdp_main.c, irdp_packet.c, rt_netlink.c,
596 rtadv.c, zebra_vty.c: Fix compiler warnings.
597
paul0c0f9112004-09-24 08:24:42 +00005982004-09-24 Paul Jakma <paul@dishone.st>
599
paul26f7a242004-09-24 08:45:10 +0000600 * irdp_interface.c: (no_ip_irdp_address_preference_cmd)
601 add missing listnode declaration.
602
6032004-09-24 Paul Jakma <paul@dishone.st>
604
paul0c0f9112004-09-24 08:24:42 +0000605 * irdp_{interface,main}.c: lists typedef removal cleanup.
606 update some list loops to LIST_LOOP. some miscellaneous style
607 and indent fixups.
608 (no_ip_irdp_address_preference_cmd) Fix delete of referenced node
paul26f7a242004-09-24 08:45:10 +0000609 in loop.
paul0c0f9112004-09-24 08:24:42 +0000610 * irdp_packet.c: (irdp_recvmsg) Fix buggy assignment of integer
611 to pointer.
612 * if_ioctl{,_solaris}.c: lists typedef removal cleanup.
613 update some list loops to LIST_LOOP.
614
hasso52dc7ee2004-09-23 19:18:23 +00006152004-09-23 Hasso Tepper <hasso at quagga.net>
616
617 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
618
paul44983cf2004-09-22 13:15:58 +00006192004-09-22 Paul Jakma <paul.jakma@sun.com>
620
621 * zserv.c: (zsend_route_multipath) fix nasty bad memset of struct
622 in_addr to sizeof(struct in6_addr), causing odd and hard to debug
623 crash.
624
hassoc34b6b52004-08-31 13:41:49 +00006252004-08-31 Hasso Tepper <hasso at quagga.net>
626
627 * main.c, rt_netlink.c: Added -s command line switch for tuning
628 netlink receive buffer size in Linux to avoid buffer overruns.
629
gdta5ea6872004-08-26 13:24:00 +00006302004-08-26 Miles Nordin <carton@Ivy.NET>
631
632 * ipforward_sysctl.c (mib_ipv6): Use size_t for len, per
633 sysctl(3), rather than int. (Needed on NetBSD/alpha to display
634 forwarding status correctly.)
635
paul3e0b3a52004-08-23 18:58:32 +00006362004-08-23 Paul Jakma <paul@dishone.st>
637
638 * zserv.c: (zebra_init) remove implicit ip forward enabling
639
paul0de1cde2004-08-19 04:45:33 +00006402004-08-19 Paul Jakma <paul@dishone.st>
641
642 * irdp_main.c: update to match sockopt renames.
643 * irdp_packet.c: include sockopt.h and update to match sockopt
644 renames.
645
gdt57492d52004-08-11 18:06:38 +00006462004-08-11 Greg Troxel <gdt@fnord.ir.bbn.com>
647
648 * rtadv.c (rtadv_send_packet): Allocate space for control messages
649 more carefully; it was wrong on NetBSD/sparc where CMSG alignment
650 is to 8 bytes instead of 4, and overwriting the address. Use the
651 provided macros for determining lengths.
652
paul5b73a672004-07-23 15:26:14 +00006532004-07-23 Sowmini Varadhan <Sowmini.Varadhan@Sun.COM>
654
655 * if_ioctl_solaris.c: HAVE_IPV6 ifdef fixups
656 * zserv.c: ditto
657 * ioctl_solaris.c: ditto.
658 * interface.c: cast for LLADDR
659 * interface.h: Add guards, include redistribute.h and remove
660 extraneous definitions of zebra_interface_{up,down}_update
661 * ioctl.h: Add AF_IOCTL define for non SOLARIS_IPV6
662 * redistribute.h: include dependent header, zserv.h
663 * zserv.h: include dependent header, rib.h
664
paul1470baf2004-07-23 15:25:01 +00006652004-07-23 Paul Jakma <paul@dishone.st>
666
667 * irdp_main.c: use setsockopt_pktinfo_ipv4
668 * irdp_packet.c: use SOPT_SIZE_CMSG_PKTINFO_IPV4 and
669 getsockopt_pktinfo_ifindex()
670
gdtcced60d2004-07-13 16:45:54 +00006712004-07-13 David Wiggins <dwiggins@bbn.com
672
673 * kernel_socket.c (rtm_flag_dump): terminate buffer with '\0', not '0'.
674
hasso25dac852004-07-13 03:06:51 +00006752004-07-13 Hasso Tepper <hasso@estpak.ee>
676
677 * irdp_main.c: Add privilege change.
678
hasso996933f2004-07-12 16:32:56 +00006792004-07-12 Hasso Tepper <hasso@estpak.ee>
680
681 * irdp_interface.c: follow common style while naming vty command
682 functions. Avoids confusion in extract.pl.
683
gdt87efd642004-06-30 17:36:11 +00006842004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
685
686 * main.c: define thread_master variable so that linking with
687 libzebra.so doesn't fail. Arguably zclient.o should be in a
688 separate library, but this is far less disruptive.
689
hassoca776982004-06-12 14:33:05 +00006902004-06-12 Robert Olsson <Robert.Olsson at data.slu.se>
691
692 * Added IRDP support.
693
hasso3e31cde2004-05-18 11:58:59 +00006942004-05-18 Hasso Tepper <hasso@estpak.ee>
695
696 * rtadv.c: Removed "[no] ipv6 nd send-ra" command. Replaced "ipv6 nd
697 prefix-advertisement" with "ipv6 nd prefix". Rewrite syntax of
698 "ipv6 nd prefix" command to allow various combinations of parameters
699 and flags. No defaults in configuration. Replaced on-link and
700 autoconfig with off-link and no-autoconfig flags in command syntax.
701 Cosmetic fixes in all commands. Documentation to reflect all changes.
702
paul19877dd2004-05-11 10:49:35 +00007032004-05-11 Paul Jakma <paul@dishone.st>
704
705 * Makefile.am: support for IOCTL_METHOD, as per Sowmini's patch.
paul48a46fa2004-05-11 10:55:22 +0000706 * if_ioctl_solaris.c: Fixup some erroneous privilege changes and
707 add privs.h header.
708 * ioctl_solaris.c: ditto
paulc50ae8b2004-05-11 11:31:07 +0000709 * ioctl.h: Add if_ioctl_ipv6 prototype and AF_IOCTL for SOLARIS_IPV6
710 * kernel_socket.c: Fix SAROUNDUP, compiler doesnt like do..while
711 RHS in assignments :)
712 * redistribute.c: (zebra_interface_delete_update) only used
713 if RTM_IFANNOUNCE and NETLINK is available.
714
paulb9df2d22004-05-09 09:09:59 +00007152004-05-09 Paul Jakma <paul@dishone.st>
716
717 * zserv.c: (zsend_route_multipath) Set the nexthop_num
718 field correctly. Add NEXTHOP_TYPE_IPV6_IFNAME for v6.
719 Conditionally set ZAPI_MESSAGE_METRIC flag - only for adds.
720 (zsend_ipv4_add) cruft, deleted.
721 (zsend_ipv4_delete) ditto.
722 (zsend_ipv6_add) ditto.
723 (zsend_ipv6_delete) ditto.
paul44145db2004-05-09 11:00:23 +0000724 * ioctl.c: (if_get_mtu) set mtu6 to mtu
725 * mtu_kvm.c: (if_kvm_get_mtu) set mtu6 to mtu
726 * rt_netlink.c: (netlink_interface) set mtu6 to mtu
727 (netlink_link_change) ditto
paul66e94882004-05-09 17:19:24 +0000728 * ipforward_solaris.c: fix typo of ND variable.
paul88424682004-05-09 18:21:35 +0000729 * if_ioctl_solaris.c: Add zprivs support.
730 * ioctl_solaris.c: ditto.
paul66e94882004-05-09 17:19:24 +0000731
paulb9df2d22004-05-09 09:09:59 +00007322004-05-09 Sowmini Varadhan <sowmini.varadhan@sun.com>
733
734 * zserv.c: (zsend_ipv{4,6}_{add,delete}_multipath) collapsed
735 into single zsend_route_multipath function.
736 (zsend_interface_{up,down}) collapsed into zsend_interface_update.
737 (zsend_interface_address_{add,delete}) collapsed into
738 zsend_interface_address.
739 (zsend_interface_add) send mtu6.
740 (zsend_interface_delete) ditto.
741 (zebra_write) remove unused function.
742 (various) Apply static qualifier. Add comments.
743 * zserv.h: Definitions changed as per above.
744 * redistribute.c: Changes as per zserv.c.
paul44145db2004-05-09 11:00:23 +0000745 * interface.c: (if_delete_update) only used with HAVE_NETLINK
746 and RTM_IFANNOUNCE.
747 (if_flag_dump_vty) Solaris IFF_IPV4 and IFF_IPV6 if flags
748 (if_dump_vty) print mtu6 if not same as mtu
paul88424682004-05-09 18:21:35 +0000749 * if_ioctl_solaris.c: New file, Solaris interface ioctl methods.
750 * ioctl_solaris.c: New file, Common solaris ioctl methods.
751
hasso34195bf2004-04-06 12:07:06 +00007522004-04-06 Krzysztof Oledzki <oleq@ans.pl>
753
754 * rt_netlink.c: Do not ignore metric when reading kernel routing
755 table on Linux with rt_netlink interface.
756
7572004-03-18 Hasso Tepper <hasso@estpak.ee>
hassof1d92e12004-03-18 15:40:33 +0000758
759 * interface.c: Temporary fix for handling secondary addresses
760 with label.
761
hasso55906722004-02-11 22:42:16 +00007622004-02-12 Hasso Tepper <hasso@estpak.ee>
hassof1d92e12004-03-18 15:40:33 +0000763
hasso55906722004-02-11 22:42:16 +0000764 * zserv.c: Added "ipv6 forwarding" command.
765
gdtb27900b2004-01-08 15:44:29 +00007662004-01-08 Greg Troxel <gdt@fnord.ir.bbn.com>
767
768 * kernel_socket.c (kernel_read): Use sockaddr_storage in buffer
769 for reading kernel messages to ensure enough space (necessary on
770 Solaris due to sockaddr_dl being large). Thanks to Sowmini
771 Varadhan for help with this change.
772
gdt9ccabd12004-01-06 18:23:02 +00007732004-01-06 Greg Troxel <gdt@t1.ir.bbn.com>
774
775 * rtadv.c (rtadv_send_packet): Change perror to zlog_err.
776
gdtdbee01f2004-01-06 00:36:51 +00007772004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
gdt4bfbea82004-01-06 01:13:05 +0000778 * kernel_socket.c (ifm_read): Major cleanup. Use Sowmini's code
779 to find the sockaddr_dl in all cases, narrowing the Solaris ifdef
780 to just the accomodation of broken kernels. Check sockaddr_dl
781 carefully up front, and later assume any non-NULL sdl pointer is
782 valid. Clean up types and variable declarations, and rename
783 WRAPUP to SAROUNDUP to make the name fit the behavior.
784
7852004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
gdtdbee01f2004-01-06 00:36:51 +0000786
787 * kernel_socket.c (kernel_read): Add a sockaddr_dl to the ifmsg
788 structure, because on Solaris sockaddr_dl is far larger than the
789 base sockaddr structure. (The code had previously been failing to
790 read all the data.)
gdt4bfbea82004-01-06 01:13:05 +0000791
gdtda26e3b2004-01-05 17:20:59 +00007922004-01-05 Greg Troxel <gdt@ahi.ir.bbn.com>
793
794 * kernel_socket.c (kernel_read): Look up interfaces by index
795 first, so that state changes which do not include a sockaddr_dl
796 now work. Add many sanity checks. In
797 particular, do not assume that a sockaddr_dl follows a message
798 without checking the ifm_addrs flags, and do not trust the length
799 in a sockaddr_dl. Add/clarify many comments.
800
gdt4b5e1352003-12-03 17:54:34 +00008012003-12-03 Greg Troxel <gdt@poblano.ir.bbn.com>
802
803 * rtadv.c: reorder includes to avoid compiler warning (define
804 structs before using them in prototypes)
805
hasso647e4f12003-05-25 11:43:52 +00008062003-05-25 Jim Crumpler <Jim.Crumpler@edion.com>
807
808 * zserv.c: Add "ip forwarding" command.
809
paul445f1432003-05-16 19:00:31 +00008102003-05-16 Gilad Arnold <gilad.arnold@terayon.com>
811
812 * zebra_rib.c: Fix memory leaks for ifname nexthops
813
8142003-04-19 Israel Keys <ikeys@agile.tv>
815
816 * rt_netlink.c: BLOCK on netlink while initialising
817
8182003-02-06 Francois Deppierraz <francois@ctrlaltdel.ch>
819
820 * rt_netlink.c (netlink_route_multipath): Set RTM_F_EQUALIZE when
821 it exists.
822
paul718e3742002-12-13 20:15:29 +00008232002-09-28 Akihiro Mizutani <mizutani@net-chef.net>
824
825 * zebra_rib.c (static_add_ipv4): Null0 static route is added.
826
8272002-09-10 Jochen Friedrich <chris+zebra@scram.de>
828
829 * rt_netlink.c: Add check for EAGAIN.
830 * kernel_socket.c: Likewise
831
8322002-06-12 Israel Keys <ikeys@oz.agile.tv>
833
834 * rt_netlink.c: Setting the NLM_F_ACK flag on the netlink command
835 message so that we get an ACK for successful netlink commands.
836 Change the netlink socket to BLOCKING while we wait for a
837 response; be it an ACK or an NLMSG_ERROR. Change
838 netlink_parse_info to deal with ACK messages.
839
8402001-11-01 Jun-ichiro itojun Hagino <itojun@iijlab.net>
841
842 * rtadv.c (rtadv_make_socket): setsockopt(IPV6_CHECKSUM) does not
843 work for ICMPv6 socket.
844
8452001-10-24 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
846
847 * rib.c (rib_process): Select connected route any case.
848
8492001-10-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
850
851 * interface.c (no_ip_address_secondary): Add "no" to command.
852
8532001-10-18 NOGUCHI Kay <kay@v6.access.co.jp>
854
855 * ioctl.c (if_prefix_add_ipv6): Set the prefered and valid lifetime
856 to infinity as the freebsd4.4 workaroud.
857
8582001-08-26 mihail.balikov@interbgc.com
859
860 * zebra_snmp.c: Fix snmpwalk problem such as IPv4 address
861 A.B.C.255.
862
8632001-08-22 NOGUCHI Kay <kay@v6.access.co.jp>
864
865 * rtadv.c: Do not send RA to loopback interface.
866
8672001-08-20 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
868
869 * ioctl.c (if_set_prefix): Remove Linux 2.0 specific connected
870 route treatment.
871
8722001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
873
874 * zebra-0.92a released.
875
8762001-08-17 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
877
878 * rib.c: Kernel route is treated as EGP routes in nexthop active
879 check.
880
8812001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
882
883 * zebra-0.92 released.
884
8852001-08-08 "Akihiro Mizutani" <mizutani@dml.com>
886
887 * rib.c (show_ip_route_prefix_longer): Add longer-prefix option to
888 show route commands.
889
8902001-07-29 Yon Uriarte <havanna_moon@gmx.net>
891
892 * zserv.c (zsend_ipv4_add_multipath): Add
893 NEXTHOP_TYPE_IPV4_IFINDEX check.
894
8952001-07-29 NOGUCHI Kay <kay@v6.access.co.jp>
896
897 * rtadv.c: Apply valid lifetime, preferred lifetime, onilnk flag,
898 autonomous address-configuration flag patch.
899 (no_ipv6_nd_suppress_ra): Change "ipv6 nd send-ra" to "no ipv6 nd
900 suppress-ra".
901
9022001-07-24 NOGUCHI Kay <kay@v6.access.co.jp>
903
904 * rtadv.c (ipv6_nd_ra_interval): Add "ipv6 nd ra-interval SECONDS"
905 command.
906
9072001-07-24 Jun-ichiro itojun Hagino <itojun@iijlab.net>
908
909 * rt_socket.c (kernel_rtm_ipv4): Add KAME/NetBSD151 equal cost
910 multicast FIB support both IPv4 and IPv6.
911
9122001-07-24 Hal Snyder <hal@vailsys.com>
913
914 * if_ioctl.c (interface_list_ioctl): Fix bug of failing to get the
915 full list of interfaces on some configurations of OpenBSD.
916
9172001-07-23 NOGUCHI Kay <kay@v6.access.co.jp>
918
919 * rtadv.c (ipv6_nd_send_ra): Apply [zebra 9320] to fix "ipv6 nd
920 send-ra" bug.
921 (ipv6_nd_ra_lifetime): "ipv6 nd ra-lifetime 0" for default router
922 availability.
923 (ipv6_nd_managed_config_flag): "ipv6 nd managed-config-flag" is
924 added.
925 (ipv6_nd_other_config_flag): "ipv6 nd other-config-flag" is added.
926
9272001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
928
929 * ioctl.c (if_ioctl): Change ioctl argument from int to u_long.
930
931 * rt_ioctl.c: Likewise.
932
9332001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
934
935 * kernel_socket.c (rtm_write): Only set RTF_CLONING when the
936 interface is not p2p.
937
9382001-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
939
940 * ioctl.c (if_prefix_add_ipv6): Fix argument type.
941
9422001-04-06 Toshiaki Takada <takada@zebra.org>
943
944 * zserv.c (zsend_interface_delete): Use client->obuf instead of
945 allocating new stream.
946
9472001-03-10 Kunihiro Ishiguro <kunihiro@zebra.org>
948
949 * rt_netlink.c: Revert RTPROT_BOOT change.
950
9512001-03-08 Kunihiro Ishiguro <kunihiro@zebra.org>
952
953 * rt_netlink.c (netlink_route_change): Skip RTPROT_BOOT route.
954 (netlink_routing_table): Likewise.
955
9562001-03-07 "Akihiro Mizutani" <mizutani@dml.com>
957
958 * zserv.c (zsend_ipv4_add_multipath): Send metric value to
959 protocol daemons.
960
9612001-02-18 Kunihiro Ishiguro <kunihiro@zebra.org>
962
963 * rt_netlink.c (netlink_routing_table): Do not return
964 tb[RTA_GATEWAY] is NULL. Reported by: "Michael O'Keefe"
965 <mokeefe@qualcomm.com>.
966
9672001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
968
969 * if_ioctl.c (interface_list_ioctl): Call if_add_update().
970 Suggested by: Chris Dunlop <chris@onthe.net.au>.
971
9722001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
973
974 * rib.c (nexthop_active_ipv4): When nexthop type is
975 NEXTHOP_TYPE_IPV4_IFINDEX, propery set the ifindex to rifindex.
976
977 * zserv.c: Initialize rtm_table_default with 0.
978
979 * zebra-0.91 is released.
980
9812001-01-31 Kunihiro Ishiguro <kunihiro@zebra.org>
982
983 * kernel_socket.c (rtm_read): Filter cloned route. Suggested by:
984 Jun-ichiro itojun Hagino <itojun@iijlab.net>
985
9862001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
987
988 * connected.c (connected_up_ipv6): When point-to-point destination
989 address is ::, use local address for connected network.
990 (connected_down_ipv6): Likewise.
991
9922001-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
993
994 * zserv.c (zebra_serv): Add missing close() call. Reported by:
995 David Waitzman <djw@vineyard.net>.
996
9972001-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
998
999 * rib.c (rib_lookup_ipv4): New function for checking exact match
1000 IGP route.
1001
10022001-01-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1003
1004 * rib.c (show_ipv6_route_protocol): Fix bug of "show ip route
1005 route-type".
1006
10072001-01-22 Kunihiro Ishiguro <kunihiro@zebra.org>
1008
1009 * interface.c (zebra_interface): Do not call
1010 zebra_interface_add_update for inactive interface.
1011
1012 * zserv.c (zsend_interface_address_add): Send interface address
1013 flag.
1014 (zsend_interface_address_delete): Likewise.
1015
10162001-01-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1017
1018 * interface.c (if_addr_add): Add flags.
1019
1020 * connected.c (ifa_add_ipv4): Add new function for interface
1021 address handling.
1022 (ifa_delete_ipv4): Likewise.
1023
10242001-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1025
1026 * rib.c (rib_update): Update IPv6 RIB.
1027
1028 * kernel_socket.c (ifam_read): Call if_refresh() for update
1029 interface flag status. This is for implicit interface up on *BSD.
1030
1031 * interface.c (if_refresh): Add interface flag refresh function.
1032
1033 * kernel_socket.c (rtm_read): Fetch link-local address interface
1034 index.
1035 (ifan_read): We need to fetch interface information. Suggested
1036 by: Yasuhiro Ohara <yasu@sfc.wide.ad.jp>.
1037
1038 * rib.c (static_ipv6_nexthop_same): Add check for
1039 NEXTHOP_TYPE_IPV6_IFNAME.
1040
10412001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1042
1043 * rib.h (NEW_RIB): Turn on NEW_RIB flag. IPv6 new RIB code are
1044 taken into place.
1045
10462001-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1047
1048 * rib.c (static_ipv6_write): Display STATIC_IPV6_GATEWAY_IFNAME
1049 configuration.
1050 (rib_delete_ipv6): Handle same route conter for IPv6 connected
1051 route.
1052 (show_ipv6_route_protocol): New command.
1053 (show_ipv6_route_addr): Likewise.
1054 (show_ipv6_route_prefix): Likewise.
1055 (rib_update): Sweep kernel route when it is cleaned up.
1056
1057 * rt_socket.c (kernel_add_ipv6): Add NEXTHOP_IPV6_IFNAME
1058 treatmenet.
1059
1060 * rt_netlink.c (kernel_init): Likewise.
1061
1062 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): Likewise.
1063
1064 * rib.c (rib_add_ipv4): Cope with same connected route on a
1065 interface. Suggested by: Matthew Grant <grantma@anathoth.gen.nz>.
1066 (nexthop_ipv6_ifname_add): Add NEXTHOP_IPV6_IFNAME treatmenet.
1067
1068 * rib.h (struct new_rib): Add refcnt to keep track on the
1069 reference of same connected route.
1070
1071 * ioctl.c (if_set_prefix): Add check for GNU_LINUX.
1072
10732001-01-13 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1074
1075 * kernel_socket.c (ifan_read, rtm_type_str): Add RTM_OIFINFO check.
1076 (rtm_type_str): Add RTM_IFANNOUNCE check.
1077 (ifan_read): New function.
1078 (kernel_read): Add case for RTM_IFANNOUNCE.
1079
10802001-01-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1081
1082 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): New function.
1083
1084 * rt_netlink.c (netlink_route_multipath): IPv6 address ifindex
1085 treatment.
1086
1087 * connected.c (connected_up_ipv6): Add dest value check.
1088
1089 * rib.c (nexthop_active_ipv6): Do not touch IPv6 nexthop's
1090 ifindex.
1091 (rib_add_ipv4): Import rib_add_ipv6() same route check code.
1092 (nexthop_active_check): NEXTHOP_TYPE_IPV6_IFINDEX activity is only
1093 checked by ifindex.
1094
1095 * rt_socket.c (kernel_rtm_ipv6_multipath): New function.
1096
1097 * redistribute.c (redistribute_add): Use
1098 zsend_ipv6_add_multipath().
1099 (redistribute_delete_multipath): Use
1100 zsend_ipv6_delete_multipath().
1101
1102 * interface.c (ip_address): Check current IP address to avoid
1103 duplicate.
1104
1105 * rib.c (rib_delete_ipv4): When deleted route is connected route,
1106 check ifindex.
1107 (rib_add_ipv4): When connected route is added do not perform
1108 implicit withdraw.
1109 (rib_delete_ipv4): Check ifindex for connected route.
1110
1111 * kernel_socket.c (rtm_read): When route has RTF_STATIC, set
1112 ZEBRA_FLAG_STATIC for indicate as persistent route.
1113 (ifam_read): Unset interface index from link-local address when
1114 IPv6 stack is KAME.
1115
1116 * rib.c (rib_update): Do not delete persistent kernel route.
1117
1118 * rib.h (struct new_rib): Integrate RIB_FLAG_* to ZEBRA_FLAG_*.
1119
1120 * rt_socket.c (kernel_add_ipv6_multipath): Add placeholder.
1121 (kernel_delete_ipv6_multipath): Likewise.
1122
1123 * rt_netlink.c (netlink_talk): Give struct nlsock to netlink_talk.
1124
11252001-01-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1126
1127 * rib.c (rib_update): Revert Matthew Grant's patch
1128 zebra_cvs_newribfix.patch. Use struct rib->ifindex for kernel
1129 interface index. Introduce NEXTHOP_TYPE_IPV4_IFINDEX to support
1130 that. Add support for address deletion situation.
1131
11322001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1133
1134 * interface.c: Remove HAVE_IF_PSEUDO part.
1135
1136 * rib.h: Likewise.
1137
1138 * rt_netlink.c (netlink_link_change): Likewise.
1139
11402001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1141
1142 * zserv.c: Remove OLD_RIB codes.
1143
11442001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1145
1146 * zebra-0.90 is released.
1147
11482001-01-09 Matthew Grant <grantma@anathoth.gen.nz>
1149
1150 * interface.c (if_new_intern_ifindex): Allocate a new internal
1151 interface index.
1152 (if_addr_refresh): Fix up ip addresses configured via zebra.
1153 (if_add_update): Handle an interface addition.
1154 (if_delete_update): Handle an interface delete event.
1155
1156 * rib.c (nexthop_ipv4_add): Add kernel route deletion process when
1157 interface goes down.
1158
11592001-01-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1160
1161 * interface.c (if_dump_vty): When HAVE_NET_RT_IFLIST is defined,
1162 NetBSD also use this function. Suggested by Jasper Wallace
1163 <jasper@ivision.co.uk>.
1164
11652001-01-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1166
1167 * rib.c (nexthop_active_ipv4): Move back to set methodo to old
1168 one.
1169
11702001-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1171
1172 * rib.c (rib_add_ipv4): EBGP multihop set ZEBRA_FLAG_INTERNAL
1173 flag, so treat it.
1174
11752001-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1176
1177 * rt_netlink.c (netlink_talk_ipv6): When IPv6 route message is
1178 sent from netlink_cmd, the same message comes from netlink. To
1179 avoid confusion, temporary netlink_talk_ipv6 use netlink.sock
1180 instead of netlink_cmd.sock.
1181
11822001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1183
1184 * zserv.h (ZEBRA_SERV_PATH): Change "/tmp/zebra" to "/tmp/.zebra".
1185 Change "/tmp/zserv" to "/tmp/.zserv".
1186
11872000-12-29 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
1188
1189 * rt_netlink.c (struct nlsock): Divide kernel message into listen
1190 socket and command socket.
1191 (netlink_talk): Remove socket listen code. Use netlink_parse_info
1192 for read kernel response.
1193
11942000-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1195
1196 * rib.c (vty_show_ip_route): Show uptime of the RIP,OSPF,BGP
1197 routes.
1198
11992000-12-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1200
1201 * rt_netlink.c (netlink_route_multipath): Metric value is
1202 reflected to kernel routing table.
1203
1204 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Likewise.
1205
1206 * kernel_socket.c (rtm_write): Likewise.
1207
1208 * rib.c (nexthop_active_ipv4): Only iBGP route perform recursive
1209 nexthop lookup.
1210
1211 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Add ioctl version of
1212 new RIB implementation.
1213
12142000-12-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1215
1216 * rib.h: Remove MULTIPATH_NUM. It is defined by configure script.
1217
12182000-12-25 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1219
1220 * rib.c (rib_if_up): Call rib_fib_set instead of RIB_FIB_SET for
1221 proper redistribution.
1222
12232000-12-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1224
1225 * rib.c (nexthop_active_ipv4): Add self lookup nexthop check.
1226 (show_ip_route_protocol): Support new RIB.
1227
1228 * rt_netlink.c (netlink_route_change): Do not return when gate is
1229 NULL.
1230
12312000-12-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1232
1233 * rib.c (rib_lookup_ipv4_nexthop): IBGP nexthop check function is
1234 updated.
1235 (rib_add_ipv4): Free implicit withdraw route's RIB.
1236
12372000-12-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1238
1239 * rib.c (nexthop_active_ipv4): Check indirect nexthop.
1240
1241 * redistribute.c (redistribute_add_multipath): Redistribution
1242 works with new rib code.
1243
12442000-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1245
1246 * rt_netlink.c (netlink_route_multipath): Check useful nexthop
1247 number.
1248 (netlink_route_multipath): Clear rtnh_flags and rtnh_hops.
1249
1250 * rib.c (nexthop_active_update): Set flag for the rib's nexthop
1251 activity is changed.
1252 (nexthop_active_check): Before checking interface is up, make it
1253 sure the interface exist.
1254
12552000-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1256
1257 * rib.c (ip_route): New RIB prototype.
1258
12592000-11-16 Yon Uriarte <ukl2@rz.uni-karlsruhe.de>
1260
1261 * zserv.c (zsend_interface_add): Send hardware address when
1262 hw_addr_len is greater than 0.
1263
12642000-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1265
1266 * connected.c (connected_up_ipv4): Fix ptop bug. The destination
1267 network should be installed into routing table.
1268 (connected_down_ipv4): Likewise.
1269 (connected_add_ipv4): Change to use connected_up_ipv4.
1270 (connected_delete_ipv4): Likewise.
1271
12722000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1273
1274 * rt_netlink.c (netlink_interface_addr): Revert Harald Welte
1275 <laforge@gnumonks.org>'s ptop patch then back to original code to
1276 avoid duplicated connected route problem. Suggested by Frank van
1277 Maarseveen <F.vanMaarseveen@inter.NL.net>.
1278
1279 * kernel_socket.c (rtm_read): Make behavior consistent even #ifdef
1280 DEBUG is defined. Reported by Jun-ichiro itojun Hagino
1281 <itojun@iijlab.net>.
1282
12832000-10-23 Jochen Friedrich <jochen@scram.de>
1284
1285 * main.c (main): Call zebra_snmp_init() when it is enabled.
1286
12872000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1288
1289 * zserv.c (zebra_serv_un): UNIX domain socket server of zebra
1290 protocol.
1291
12922000-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1293
1294 * rib.c (rib_add_ipv4): Same check bug is fixed.
1295
12962000-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1297
1298 * rib.c (rib_if_down): Remove kernel route when the interface goes
1299 down.
1300
1301 * debug.c: New command "debug zebra kernel" is added.
1302
13032000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1304
1305 * zebra-0.89 is released.
1306
13072000-09-24 Harald Welte <laforge@gnumonks.org>
1308
1309 * rt_netlink.c (netlink_interface_addr): Fix point-to-point address
1310 treatment in netlink interface.
1311
13122000-09-21 David Lipovkov <dlipovkov@OpticalAccess.com>
1313
1314 * rib.c (rib_if_down): Pull static route only. Protocol daemon
1315 must withdraw routes when interface goes down.
1316 (rib_add_ipv4): Check nexthop when replace route.
1317
13182000-09-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1319
1320 * if_ioctl.c (if_getaddrs): New function for looking up
1321 interface's address by getifaddrs().
1322
13232000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1324
1325 * connected.c (connected_delete_ipv4): Add check for connected
1326 address is found or not.
1327 (connected_add_ipv6): Reflect IPv6 connected address change to
1328 protocol daemons.
1329 (connected_delete_ipv6): Likewise.
1330
13312000-09-07 David Lipovkov <davidl@nbase.co.il>
1332
1333 * rib.c (rib_delete_ipv4): Reverted the change from pseudo
1334 interface patch to original. Because ospfd deletes routes using
1335 zero ifindex.
1336
13372000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1338
1339 * zebra-0.88 is released.
1340
13412000-08-15 "Akihiro Mizutani" <mizutani@dml.com>
1342
1343 * rib.c (show_ip_route_protocol): Help string correction.
1344 (show_ip_route_prefix): Check prefix mask.
1345 (show_ip_route_vty_detail): Display distance and metric.
1346
13472000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1348
1349 * zserv.c (zsend_interface_add): Change ifindex store size from
1350 two octet to four.
1351 (zsend_interface_delete): Likewise.
1352 (zsend_interface_address_add): Likewise.
1353 (zsend_interface_address_delete): Likewise.
1354 (zsend_interface_up): Likewise.
1355 (zsend_interface_down): Likewise.
1356
13572000-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1358
1359 * rib.c (rib_add_ipv4): Do not install distance 255 route.
1360
13612000-08-10 Toshiaki Takada <takada@zebra.org>
1362
1363 * interface.c (bandwidth_if), (no_bandwidth_if): Call
1364 zebra_interface_up_update () instead of using if_up() and if_down().
1365
13662000-08-07 "Akihiro Mizutani" <mizutani@dml.com>
1367
1368 * interface.c (bandwidth_if): Fix help string.
1369
13702000-08-07 Matthew Grant <grantma@anathoth.gen.nz>
1371
1372 * interface.c (if_dump_vty): Display bandwidth value.
1373 (bandwidth_if): New command "bandwidth <1-10000000>" is added.
1374 When interface is up, force protocol daemons to recalculate routes
1375 due to cost change.
1376 (no_bandwidth_if): Likewise.
1377 (if_config_write): Output bandwidth configuration.
1378
1379 * zserv.c (zsend_interface_add): Send bandwidth value.
1380 (zsend_interface_up): Likewise.
1381 (zsend_interface_down): Likewise.
1382
1383
13842000-08-07 Michael Rozhavsky <mike@nbase.co.il>
1385
1386 * rib.c (show_ip_route_protocol): "show ip route
1387 (bgp|connected|kernel|ospf|rip|static)" is added.
1388
13892000-08-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1390
1391 * rib.c (rib_lookup_ipv4_nexthop): Check parent node until IGP
1392 nexthop is found.
1393 (rib_add_ipv4_internal): Set fib ifindex to rib ifindex.
1394
13952000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1396
1397 * redistribute.c (redistribute_delete): Fix bug of default route
1398 redistribute treatment.
1399
14002000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1401
1402 * rib.c (rib_init): Install ip_node in rib.c instead of zserv.c.
1403 Change default distance value.
1404
1405 Old New
1406 ------------------------------------------
1407 system 10 0
1408 kernel 20 0
1409 connected 30 0
1410 static 40 1
1411 rip 50 120
1412 ripng 50 120
1413 ospf 60 110
1414 ospf6 49 110
1415 bgp 70 200(iBGP) 20(eBGP)
1416 ------------------------------------------
1417
1418 * zserv.c (client_lookup): Function removed.
1419 (zsend_interface_add): Use client's output buffer. Check ifinfo
1420 flag.
1421 (zsend_interface_delete): Likewise.
1422 Delete ipv4_static_radix and ipv6_static_radix.
1423
14242000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1425
1426 * zserv.h (struct zebra_client): When client request interface
1427 information, ifinfo is set.
1428
1429 * rib.c: Temporary Revert changes for pseudo interface.
1430
1431 * rib.h: Likewise.
1432
1433 * zserv.c: Likewise.
1434
1435 * interface.c: Likewise.
1436
14372000-08-02 David Lipovkov <davidl@nbase.co.il>
1438
1439 * interface.c (zebra_if_init): Install interface "pseudo"
1440 commands.
1441
1442 * rib.c (rib_create): ifname argument is added.
1443 (rib_add_ipv4_pseudo): New function is added.
1444 (rib_delete_ipv4_pseudo): Likewise.
1445
1446 * rib.h : Delete INTERFACE_UNKNOWN definition. Add prototype for
1447 pseudo interface functions.
1448
1449 * rt_netlink.c (netlink_link_change): Check for pseudo interface.
1450
1451 * zserv.c (ip_route): When destination is pseudo interface, call
1452 rib_add_ipv4_pseudo().
1453
1454 * zserv.c (no_ip_route): Trim "unknown" argument.
1455
14562000-07-26 kunitake@dti.ad.jp
1457
1458 * if_ioctl.c (if_get_hwaddr): Fix hardware address length from 8
1459 to 6.
1460
1461 * rtadv.c (rtadv_send_packet): Fix shift bug for hardware address.
1462
14632000-07-24 Akihiro Mizutani <mizutani@dml.com>
1464
1465 * interface.c: Use install_default() for common VTY commands.
1466
14672000-07-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1468
1469 * if_ioctl.c (interface_list_ioctl): A interface list size is
1470 calculated from ifreq->if_addr.sa_len. This is for OpenBSD.
1471
1472 * ioctl.c (if_get_mtu): Remove codes for SIOCGIFDATA.
1473
14742000-07-09 Chris Dunlop <chris@onthe.net.au>
1475
1476 * if_ioctl.c (if_get_index): Add check for HAVE_BROKEN_ALIASES.
1477
14782000-07-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1479
1480 * zserv.c (zebra_client_read): Add ZEBRA_REDISTRIBUTE_{ADD,DELETE}
1481 message handling.
1482
14832000-07-02 David Lipovkov <davidl@nbase.co.il>
1484
1485 * zserv.c: "ip route A.B.C.D/M unknown" command is added.
1486
14872000-06-28 Michael Rozhavsky <mike@nbase.co.il>
1488
1489 * rib.c: Remove old kernel route when new route comes in.
1490
14912000-06-13 David Lipovkov <davidl@nbase.co.il>
1492
1493 * rib.c (rib_if_up): Add check for unknown interface.
1494
14952000-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1496
1497 * rib.h: Define INTERFACE_UNKNOWN.
1498
14992000-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1500
1501 * Makefile.am (EXTRA_DIST): Move irdp.c until implementation is
1502 finished.
1503
15042000-06-05 David Lipovkov <davidl@nbase.co.il>
1505
1506 * interface.c (if_zebra_delete_hook): Call rib_if_delete().
1507
1508 * redistribute.c (zebra_interface_delete_update): New function.
1509
1510 * redistribute.h (zebra_interface_delete_update): New function
1511 prototype.
1512
1513 * rib.c (rib_if_delete): New function. Walk down all routes and
1514 delete all on the interface.
1515
1516 * rib.h: New function prototype.
1517
1518 * rt_netlink.c (netlink_link_change): Call
1519 zebra_interface_delete_update ().
1520
15212000-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1522
1523 * if_ioctl.c (interface_info_ioctl): Check interface's flag before
1524 checking interface's address.
1525
15262000-04-26 Jochen Friedrich <jochen@nwe.de>
1527
1528 * GNOME-PRODUCT-ZEBRA-MIB: New file.
1529
1530 * GNOME-SMI: New file.
1531
15322000-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1533
1534 * irdp.c: New file from 1997 development code.
1535 * irdp.h: Likewise.
1536
15372000-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1538
1539 * rtadv.c (rtadv_send_packet): Enclose router advertisement
1540 logging with IS_ZEBRA_DEBUG_PACKET.
1541
15422000-04-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1543
1544 * zserv.c (zebra_client_close): Remove client structure from
1545 client_list when connection is terminated.
1546
15472000-03-21 David Lipovkov <davidl@nbase.co.il>
1548
1549 * connected.c (connected_add_ipv4): Allows all necessary structure
1550 updates for connected route, but doesn't insert it into rib if
1551 it's interface is down.
1552
15532000-01-21 Hideto Yamakawa <hideto.yamakawa@soliton.co.jp>
1554
1555 * rtread_getmsg.c: Set some definition for Solaris 2.5 and Solaris
1556 2.5.1.
1557
15582000-01-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1559
1560 * rib.c (no_ipv6_route_ifname): Fix buf of cheking return value
1561 from str2prefix_ipv6().
1562
15632000-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1564
1565 * rt_socket.c: Revert to use RTF_HOST for IPv4 with /32 route and
1566 IPv6 with /128 routes.
1567 (kernel_rtm_ipv4): In case of /32 route's gateway is interface. It
1568 should have mask for cloning.
1569
15701999-12-26 Jochen.Friedrich@genorz.de
1571
1572 * interface.c (if_dump_vty): Fix a bug of missing VTY_NEWLINE.
1573
15741999-12-23 Alex Zinin <zinin@amt.ru>
1575 * interface.*: dynamic int up/down support
1576
15771999-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1578
1579 * ipforward_proc.c (dropline): Move dropline() from lib/dropline.c
1580
1581 * rtread_proc.c (proc_route_read): Don't use dropline().
1582
15831999-12-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1584
1585 * kernel_socket.c (rtm_read): When message is RTM_GET, it has own
1586 process's pid.
1587
15881999-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1589
1590 * main.c (main): Change to default log output to ZLOG_STDOUT.
1591
1592 * zserv.c (zebra_serv): More detailed error print.
1593
15941999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1595
1596 * kernel_socket.c (rtm_read): Check old pid for static route
1597 insertion check.
1598
15991999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1600
1601 * interface.c (if_dump_vty): BSDI/OS uses 64bit for interface
1602 statistics counter.
1603
1604 * mtu_kvm.c: New file added.
1605
16061999-11-27 Vladimir B. Grebenschikov <vova@express.ru>
1607
1608 * kernel_socket.c (rtm_write): Set RTF_CLONING flag for
1609 route to the directly connected interface.
1610
16111999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1612
1613 * rt_socket.c: Delete USE_HOST_BIT definition.
1614
16151999-11-21 Michael Handler <handler@sub-rosa.com>
1616
1617 * rtread_getmsg.c: Undef some definition to resolve conflict.
1618
16191999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1620
1621 * kernel_socket.c (rtm_write): Change to use pre stored struct_dl
1622 value for gateway specification.
1623
16241999-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1625
1626 * rt_socket.c (kernel_rtm_ipv4): Even mask is 32 under IPv4 or
1627 128 under IPv6, don't use RTF_HOST.
1628
16291999-11-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1630
1631 * Makefile.am (EXTRA_DIST): Add rtread_getmsg.c.
1632
16331999-11-21 Michael Handler <handler@sub-rosa.com>
1634
1635 * rtread_getmsg.c: Added for Solaris 2.6 support.
1636
16371999-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1638
1639 * rtread_sysctl.c (rtm_read_route): RTM_DELETE handling added.
1640
1641 * rt_socket.c (kernel_read): Better BSD routing socket support.
1642
16431999-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1644
1645 * client_main.c: Disable making obsolete zebra test `client'
1646 command.
1647
16481999-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1649
1650 * zebra.c: Renamed to zserv.c.
1651
1652 * zebra.h: Global definitions are moved to lib/zebra.h. Then
1653 renamed to zserv.h.
1654
16551999-10-15 Jordan Mendelson <jordy@wserv.com>
1656
1657 * if_ioctl.c: Add Linux 2.2.X's alias support and dynamic
1658 interface. Remove ugly MAX_INTERFACE handling codes.
1659
16601999-09-17 Satosi KOBAYASI <kobayasi@north.ad.jp>
1661
1662 * Fix serious bug of IPv6 route deletion.
1663
16641999-09-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1665
1666 * ioctl.c (if_set_prefix): Properly set broadcast address.
1667
16681999-09-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1669
1670 * rib.c (rib_add_ipv6, rib_delete_ipv6): now protocol daemons
1671 can install connected route to kernel via zebra
1672
16731999-08-24 VOP <vop@unity.net>
1674
1675 * rib.c: Include "sockunion.h"
1676
16771999-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
1678
1679 * ipforward.h: New file.
1680
1681 * zebra.h: Obsolete message ZEBRA_GET_ALL_INTERFACE,
1682 ZEBRA_GET_ONE_INTERFACE, ZEBRA_GET_HOSTINFO are deleted.
1683
16841999-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1685
1686 * zebra.h (ZEBRA_INTERFACE_ADDRESS_ADD):
1687 ZEBRA_INTERFACE_{ADD,DELETE} added.
1688
16891999-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1690
1691 * rib.c: show ip route A.B.C.D works.
1692
1693 * zebra.c (zebra_read_ipv4): Add ifindex to zebra messages.
1694
16951999-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1696
1697 * zebra.h: New Zebra message ZEBRA_INTERFACE_{ADD,DELETE} added.
1698
16991999-08-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1700
1701 * interface.h: New file.
1702 * Makefile.am: Add interface.h
1703
17041999-08-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1705
1706 * redistribute.c (zebra_redistribute): give ifindex to client.
1707
17081999-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1709
1710 * main.c (longopts): -k, --keep_kernel option added.
1711
17121999-07-18 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1713
1714 * rt_socket.c (rtm_write): forgot closing socket bug fixed.
1715
17161999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1717
1718 * rib.c (show_ipv6_cmd): if rib is link show interface name.
1719
17201999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1721
1722 * rt_socket.c (rtm_write): use sockaddr_dl when null gateway.
1723
17241999-07-16 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1725
1726 * rt_socket.c (rtm_write): ipv6 route table bug fixed.
1727
17281999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1729
1730 * zebra.c (zebra_read_ipv6): read link prefix from ospf6 support
1731
17321999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1733
1734 * rt_socket.c (kernel_rtm_ipv6): gate treatment bug fixed.
1735
17361999-07-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1737
1738 * if_sysctl.c (ifm_read): Clear sockunion argument before fetching
1739 data. Suggested by "Chris P. Ross" <cross@eng.us.uu.net>
1740
17411999-07-08 HEO SeonMeyong <seirios@Matrix.IRI.Co.Jp>
1742
1743 * interface.c (if_tun_add): Add KAME's gif tunnel setting codes.
1744
17451999-06-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1746
1747 * zebra.c (zebra_serv): Only accept loopback address connection.
1748
17491999-06-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1750
1751 * zebra.h (ZEBRA_ROUTE_EXTERNAL): Add zebra messages flags
1752
17531999-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1754
1755 * ipforward_proc.c: ipforward_on () and ipforward_off () added.
1756
17571999-06-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1758
1759 * ipforward_proc.c (ipforward_ipv6): Check for IPv6 forwarding
1760 using /proc file system is added.
1761
17621999-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1763
1764 * if_ioctl.c (if_get_index): Interface index set bug is fixed by
1765 adding #else at the middle of function. Suggested by David Luyer
1766 <luyer@ucs.uwa.edu.au>.
1767
17681999-05-29 <kunihiro@zebra.org>
1769
1770 * rt_ioctl.c: Comment out #include <linux/ipv6_route.h>.
1771
17721999-05-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1773
1774 * zebra.h (ZEBRA_ROUTE_MAX): Add new define for the max value of
1775 the sort of routes.
1776
17771999-05-25 Patrick Koppen <koppen@rhrk.uni-kl.de>
1778
1779 * rt_netlink.c (netlink_socket): Make netlink socket non-blocking.
1780 (netlink_parse_info): If errno is EWOULDBLOCK then continue to
1781 parse the message.
1782 (netlink_talk): Likewise
1783
17841999-05-17 <kunihiro@zebra.org>
1785
1786 * redistribute.c (zebra_check_addr): Added for loopback address
1787 check.
1788
17891999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1790
1791 * rt_netlink.c (netlink_route_change): Tempolary bypass ipv6 route
1792 change treatment.
1793
1794 * Makefile.am (noinst_HEADERS): redistribute.h added.
1795
1796 * redistribute.h: New file.
1797
17981999-05-14 Stephen R. van den Berg <srb@cuci.nl>
1799
1800 * zebra.c (show_table): Show all table configuration DEFUN.
1801 (config_table): Config table number DEFUN.
1802
1803 * rt_netlink.c: Add support for multiple routing table.
1804
1805 * rib.c (rib_weed_table): New function added for delete all
1806 routes from specified routing table.
1807
1808 * main.c (signal_init): SIGTERM call sigint.
1809 (sigint): Loggging more better message.
1810
18111999-05-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1812
1813 * rt_netlink.c: Change log () to zlog ().
1814
18151999-05-07 <kunihiro@zebra.org>
1816
1817 * zebra.h (ZEBRA_ROUTE_OSPF6): Added for ospf6d route.
1818
18191999-04-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1820
1821 * interface.c: Add `no ip address' command.
1822
18231999-04-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1824
1825 * rt_netlink.c (kernel_read): Function added for asynchronous
1826 zebra between kernel communication.
1827
18281999-03-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1829
1830 * rtread_sysctl.c (rtm_read): Fix address memcopy overrun bug.
1831 Reported by Achim Patzner <ap@bnc.net>.
1832
18331999-03-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1834
1835 * Makefile.am: Install configuration sample with 600 permission.
1836
18371999-03-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1838
1839 * Makefile.am: Add -I.. to INCLUDES.
1840
18411999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
1842
1843 * syslog support added
1844
18451999-02-17 Peter Galbavy <Peter.Galbavy@knowledge.com>
1846
1847 * if_sysctl.c (interface_list): allocated memory free when unknown
1848 ifm_type is returned.
1849
1850 * ioctl.c (if_get_mtu): added SIOCGIFDATA treatment.
1851
18521998-12-15 Magnus Ahltorp <map@stacken.kth.se>
1853
1854 * interface.c: Header include added.
1855
18561998-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1857
1858 * rt.h (kernel_delete_ipv6): change int index to unsigned int index.
1859
18601998-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1861
1862 * if_ioctl.c (interface_list_ioctl): interface flag must be
1863 checked before check addresses of the interface.
1864
18651998-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1866
1867 * Makefile.am (INCLUDES): add @INCLUDES@ for Linux IPv6.
1868
18691998-10-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1870
1871 * ioctl.c: Linux version before 2.1.0 need interface route setup.
1872
18731998-09-15 HEO SeonMeyong <seirios@matrix.iri.co.jp>
1874
1875 * change HYDRANGEA to KAME
1876
18771998-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1878
1879 * if_ioctl.c (if_addr_ioctl): set address family for getting
1880 interface's address.
1881 (if_get_index): silently return when can't get interface's index.
1882
18831998-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1884
1885 * main.c (main): batch mode option '-b' added.
1886
18871998-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1888
1889 * ioctl.c (if_set_prefix): add `ip address IPV4ADDR' command.
1890 * interface.c (shutdown_if): add interface shutdown and no
1891 shutdown command.
1892
18931998-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1894
1895 * rib.c (rib_add_ipv6): delete rib_add_in6.
1896
18971998-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1898
1899 * main.c: retain flag is added.
1900
19011998-07-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1902
1903 * rtable.[ch]: merged with rib.[ch]
1904
19051998-07-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1906
1907 * connected.h: renamed from ifa.h.
1908
19091998-06-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1910
1911 * rename if.c to interface.c
1912 * rename ifa.c to connected.c
1913
1914 * Porting to Debian GNU/Linux 2.0 (hamm).
1915
19161998-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1917
1918 * rt_netlink.c: renamed from krt_netlink.c
1919
1920 * fib.c: deleted.
1921 * rt_kvm.c: deleted.
1922 * rtread_getmsg.c: deleted.
1923
19241998-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1925
1926 * if.c (multicast): add multicast flag [un]set fucntion.
1927
19281998-05-19 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1929
1930 * rt_socket.c: Modify for compile on Solaris, but dont't work it.
1931 rt_socket.c have some undefined function, so add directive "IMPLEMENT"
1932
19331998-05-18 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1934
1935 * zebra.c: Modify for compile on Solaris.
1936
19371998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1938
1939 * main.c: change CONFDIR to SYSCONFDIR.
1940
19411998-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1942
1943 * .cvsignore: added.
1944
19451998-04-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1946
1947 * client.c: moves to ../lib.
1948
19491998-03-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1950
1951 * if_ioctl.c (if_get_addr): Change address copy from memcopy() to
1952 structure assignment.
1953
19541998-03-30 URA Hiroshi <ura@yamato.ibm.co.jp>
1955
1956 * if_sysctl.c (ifm_interface_add): sdl->sdl_data copy bug fixed.
1957
19581998-02-23 "Hannes R. Boehm" <hannes@boehm.org>
1959
1960 * if.c (if_init): add config_exit_cmd and config_help_cmd.
1961
19621998-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
1963
1964 * rt_ioctl.c (route_ioctl): EPERM treatment added.
1965
19661998-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1967
1968 * rt_socket.c (kernel_read): communication port zebra between
1969 kernel is now handled by kernel_read.
1970
19711998-01-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1972
1973 * main.c (main): zebra [-P port] can specify vty port number.
1974
19751997-12-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1976
1977 * zebra.c: change select will be block.
1978
19791997-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1980
1981 * add static route treatment.
1982
19831997-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1984
1985 * rt_netlink.c: add netlink support over GNU/Linux system.
1986
19871997-11-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1988
1989 * all inet_addr is changed to inet_aton.
1990
1991 * zebra.c (ip_route): add ip route command for static routes.
1992
19931997-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1994
1995 * if.c (if_flag_dump): Linux port of if_flag_dump and _vty.
1996
19971997-11-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1998
1999 * if.c: add interface command.
2000
20011997-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
2002
2003 * ipforward_proc.c : Now works on Linux.
2004
20051997-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2006
2007 * command.c : add completion feature.
2008
20091997-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
2010
2011 * vty.c (vty_command): add vty interface.
2012
20131997-10-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2014
2015 * zebra.c: add verbose mode.
2016
20171997-10-12 SonMyong Ho <s-ho@Matrix.IRI.Co.Jp>
2018
2019 * Hydrangea for FreeBSD supported
2020 * in.h: add some prototype.
2021
20221997-10-11 Kunihiro Ishiguro <kunihiro@zebra.org>
2023
2024 * rt_socket.c and rtread.c completely rewritten.
2025
20261997-10-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2027
2028 * rt_socket.c: rename kernel_sock to routing_socket
2029
20301997-10-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2031
2032 * if.c (if_new): interface structure change from linklist to vector.
2033
20341997-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
2035
2036 * vector.c (vector_init): create vector related function
2037
20381997-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2039
2040 * Makefile.in: add tags target
2041
2042 * start IPv6 support for INRIA FreeBSD.
2043