blob: 169f0a63adca74c13f8e4fe8e77b013af62a775c [file] [log] [blame]
paulc7133002006-01-17 17:56:18 +000012006-01-17 Gunnar Stigen <gunnar.stigen@axxessit.no>
2
3 * connected.c: (connected_up_ipv{4,6}) Include interface metric on
4 connected routes.
paul61f42ae2006-01-17 17:59:11 +00005 * if_ioctl.c: (if_getaddrs) Be defensive about assuming
6 that struct ifaddrs will have ifa_addr filled in.
paulc7133002006-01-17 17:56:18 +00007
paulc1b98002006-01-16 01:54:02 +000082006-01-16 Paul Jakma <paul.jakma@sun.com>
9
10 * zserv.c: Read/write updated Zserv header.
11
paulc77d4542006-01-11 01:59:04 +0000122006-01-11 Paul Jakma <paul.jakma@sun.com>
13
14 * zserv.c: (zsend_interface_{add,delete,update}) if flags are
15 8 bytes now, update to write out with stream_putq.
16
gdt6083e1f2005-12-29 15:59:57 +0000172005-12-29 Greg Troxel <gdt@fnord.ir.bbn.com>
18
gdte14b7fc2005-12-29 16:04:53 +000019 * kernel_socket.c: remove dead code (from David Young).
20
gdt6083e1f2005-12-29 15:59:57 +000021 * rt_socket.c (kernel_rtm_ipv4): Use AF_INET rather than AF_UNSPEC
22 for mask. From David Young.
23
paul89368d92005-11-26 09:14:07 +0000242005-11-26 Paul Jakma <paul.jakma@sun.com>
25
26 * connected.{c,h}: (connected_add_ipv6) label should have
27 const qualifier, fix declarations.
28
paulec1a4282005-11-24 15:15:17 +0000292005-11-24 Paul Jakma <paul.jakma@sun.com>
30
31 * kernel_socket.h: New header for functions exported to sysctl
32 methods.
33 * kernel_socket.c: include previous.
34 Remove static qualifier from couple of functions which are
35 used by sysctl methods.
36 Add a workaround for a bogus gcc warning to the RTA_ macros.
37 * Makefile.am: Add kernel_socket.h to noinst_HEADERS
38 * if_sysctl.c: include rt.h and kernel_socket.h and remove
39 redundant prototypes.
40 * rtread_sysctl.c: ditto.
41 (route_read) fix mismatch of return values.
42 * {rt,zserv,rib}.h: Include lib headers depended on.
43
paul6621ca82005-11-23 13:02:08 +0000442005-11-23 Paul Jakma <paul.jakma@sun.com>
45
46 * (general) fix some small compile errors, and mark several
47 functions as static.
48 * kernel_socket.c: (ifan_read) should be static.
49 fix missing brackets.
50 (ifm_read,ifam_read,rtm_read_mesg,kernel_read) Make static
51 (ifam_read_mesg) make static. fix incorrect variable name.
52 (rtm_read) make static. Fix call to rib_delete_ipv4 which
53 should be rib_delete_ipv6.
54 (routing_socket,kernel_init) should be static. Void argument
55 should be specified as such, not left incomplete.
56 * rt_netlink.c: rt.h should be included, contains prototypes of
57 exported functions.
58 (kernel_delete_ipv6_old) fix sign of index argument.
59 * rt_socket.c: Exact same as previous. Also, make various
60 functions static.
61 * rtread_getmsg.c: Include zserv.h, which prototypes
62 route_read. Make static.
63 * rtread_sysctl.c: zserv.h and rt.h should be included.
64 fix definition of route_read.
65
paul0fb58d52005-11-14 14:31:49 +0000662005-11-14 Paul Jakma <paul.jakma@sun.com>
67
68 * zebra_rib.c: (rib_process) convert to new workqueue specs and
69 shut up gcc, which complains about cast from void via
70 function parameters, for some dumb reason. Do the cast
71 inside the function instead.
72 (rib_queue_qnode_del) ditto.
73 (rib_queue_init) no need for the casts anymore.
74
paul6fe70d12005-11-12 22:55:10 +0000752005-11-12 Alexander Gall <gall@switch.ch>
76
77 * See [quagga-dev 1815]
78 * kernel_socket.c: (rtm_write) Use SAROUNDUP when HAVE_SIN_LEN
79 is not available.
80 * rt_socket.c: (kernel_rtm_ipv6(_multipath)) set family to
81 AF_INET6 on ipv6 routes.
82
832005-11-12 Paul Jakma <paul.jakma@sun.com>
84
85 * kernel_socket.c: Add RTA_NAME_GET macro to extract name from
86 sockaddr_dl. Add some more RTF_ flags.
87 * (ifan_read) Add some debug messages.
88 * (ifm_read) Add more debug messages. More robust cross-checks
89 of index against name.
90 Fall back to by-name lookup if the index lookup fails, future
91 proofing more than anything else.
92 (ifam_read_mesg) Read RTA_IFP. Add debug messages.
93 (ifam_read) More debug. If there's an RTA_IFP and it isn't
94 the name of the interface, save it as the label.
95 (rtm_read_mesg) Read RTA_IFP.
96 (rtm_read) allow name to be retrieved.
97 (rtmsg_debug) expand on the debug message.
98
paul0994c3a2005-11-11 09:52:40 +0000992005-11-11 Paul Jakma <paul.jakma@sun.com>
100
101 * kernel_socket.c: (ifm_read) arithmetic on void pointer
102 warning.
103 (ifam_read) Fix error from connected-with-label merge,
104 something crept in from the pending Solaris kernel_socket.c
105 patch which shouldn't have.
106
paul0752ef02005-11-03 12:35:21 +00001072005-11-03 Paul Jakma <paul.jakma@sun.com>
108
109 * connected.{c,h}: Include memory.h
110 (connected_add_ipv4) Use MTYPE for ifc label.
111 (connected_add_ipv6) Also should accept label. Store it in ifp.
112 (connected_del_ipv4) Taking label as argument is pointless.
113 * rt_netlink.c: (netlink_interface_addr) update label usage
114 for connected_{add,delete} functions.
115 * if_ioctl.c: (if_getaddrs) NULL label for connected_add_ipv6.
116 * if_ioctl_solaris.c: (interface_list_ioctl) Pass LIFC_NOXMIT
117 so we also find out about NOXMIT interfaces like VNI.
118 Bit of hackery to turn interface names into the primary
119 interface name, later with routing socket messages we only
120 will about primary interfaces anyway, so we must normalise
121 the name.
122 (if_get_addr) take label as argument, so it can
123 be passed to connected_add.
124 If label is provided, then it is interface name to issue the
125 ioctl for address information on, not the ifp name.
126 (interface_list) List AF_UNSPEC too, just in case.
127 * if_proc.c: (ifaddr_proc_ipv6) label for connected_add_ipv6.
128 * interface.c: (if_addr_wakeup) Some very bogus code - sets
129 IFF_RUNNING - add comment.
130 (if_refresh)
131 (ip_address_install) Use MTYPE for ifc label.
132 * ioctl_solaris.c: (if_mangle_up) New function. Hackery to make
133 IFF_UP reflect whether any addresses are left on the
134 interface, as we get signalled for IFF_UP flags change on the
135 primary interface only. Logical interfaces dont generate
136 IFINFO, but we do get an RTM_DELADDR.
137 (if_get_flags) Call if_mangle_up before return.
138 * kernel_socket.c: (ifam_read) Fixup calls to
139 connected_{add,delete} to match above changes. Rename gate
140 variable to brd, less confusing.
141 Pass the interface name as a label, if it is not same name
142 as ifp->name.
143
pauld06b2a62005-10-11 03:53:54 +00001442005-10-11 Paul Jakma <paul.jakma@sun.com>
145
146 * connected.{c,h}: (connected_{add,delete}_ipv4) label should
147 be const qualified.
148
ajsc05612b2005-10-01 16:36:54 +00001492005-10-01 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
150
ajsf52d13c2005-10-01 17:38:06 +0000151 * zebra_vty.c: (route_type_str) Remove obsolete function: use new
152 library function zebra_route_string() instead. Note that there
153 are a few differences: for IPv6 routes, we now get "ripng" and
154 "ospf6" instead of the old behavior ("rip" and "ospf").
155 (route_type_char) Remove obsolete function: ues new library function
156 zebra_route_char() instead. Note that there is one difference:
157 the old function returned 'S' for a ZEBRA_ROUTE_SYSTEM route,
158 whereas the new one returns 'X'.
159 (vty_show_ip_route_detail,vty_show_ipv6_route_detail) Replace
160 route_type_str() with zebra_route_string().
161 (vty_show_ip_route,vty_show_ipv6_route) Replace route_type_char()
162 with zebra_route_char().
163
1642005-10-01 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
165
ajsc05612b2005-10-01 16:36:54 +0000166 * rt_netlink.c: (netlink_request) Use memset to clear structure
167 before calling sendto (eliminates a valgrind error message about
168 uninitialized data).
vincentaa2e32b2005-09-28 13:42:11 +0000169
1702005-09-28 Alain Ritoux <alain.ritoux@6wind.com>
171
vincentfbf5d032005-09-29 11:25:50 +0000172 * zserv.c: Always provied distance for route add
173
1742005-09-28 Alain Ritoux <alain.ritoux@6wind.com>
175
vincentaa2e32b2005-09-28 13:42:11 +0000176 * connected.c: flag connected_up_ipv6() and connected_down_ipv6()
177 usage with HAVE_IPV6
178
hassod24af182005-09-24 14:00:26 +00001792005-09-24 Hasso Tepper <hasso at quagga.net>
180
181 * rib.h: Add note about behaviour of rib_add_ipv[46]* functions -
182 add is treated as implicit withdraw.
183
hassoebf1ead2005-09-21 14:58:20 +00001842005-09-21 David Young <dyoung@ojctech.com>
185
186 * zebra_rib.c: Reduce the height of some staircases. Fix
187 rib_delete_ipv6() to match routes in the RIB by their gateway as
188 well as by destination.
189
paul319572c2005-09-21 12:30:08 +00001902005-09-21 Paul Jakma <paul.jakma@sun.com>
191
192 * zebra_rib.c: (static_uninstall_ipv{4,6}) Fix regression wrt
193 removal of static routes with multiple-hops introduced with
194 the workqueue conversion. We should free the relevant
195 nexthop and then get rib_process to run, otherwise we just
196 get same static route back again (with no way to unconfigure
197 it, because its already deleted from configuration).
198
paulca162182005-09-12 16:58:52 +00001992005-09-12 Paul Jakma <paul.jakma@sun.com>
200
201 * (general) RTM_CHANGE and implicit withdraw on RTM_NEWADDR
202 support.
203 * connected.c: (connected_withdraw) new function. withdraw a
204 connected subnet address set from zebra, and pass information
205 along to clients.
206 (connected_announce) similar, but to announce a new connected
207 subnet address set.
208 (connected_check_ipv4) renamed to connected_check, as its
209 AFI independent.
210 (connected_add_ipv{4,6}) Remove the connected address announce
211 stuff, use connected_announce instead.
212 If connected_check indicates address is already present,
213 treat it as an implicit withdraw of the existing address, ie
214 remove the old address details and replace with the new
215 details.
216 (connected_delete_ipv{4,6}) Use connected_withdraw.
217 (connected_check_ipv6) deleted in favour of connected_check.
218 * connected.h: Rename connected_check_ipv4 to connected_check.
219 delete connected_check_ipv6.
220 * interface.c: Use connected_check rather than the AFI specific
221 symbols.
222 * kernel_socket.c: (rtm_read) RTM_CHANGE support. Create a
223 rib delete event for the existing route, before adding route
224 again.
225 (kernel_read) we can handle RTM_CHANGE now.
226
hassobe61c4e2005-08-27 06:05:47 +00002272005-08-27 Hasso Tepper <hasso at quagga.net>
228
229 * zebra_rib.c, rib.h: Add distance and metric arguments to the
230 rib_add_ipv6() function so that IPv6 routes in RIB can have correct
231 metric. No IPv6 routing daemon uses distance yet though.
232 * zserv.c, connected.c, kernel_socket.c, rt_netlink.c,
233 rtread_proc.c,zserv.c: Pass metric and distance info to the
234 rib_add_ipv6().
235
paul6eb88272005-07-29 14:36:00 +00002362005-07-29 Paul Jakma <paul.jakma@sun.com>
237
238 * interface.c: (if_delete_update) should always be available, not
239 just on RTM_IFANNOUNCE/NETLINK systems.
240 * kernel_socket.c: (ifan_read) only call if_delete_update when
241 interface departs, dont if_delete, because we wish to retain
242 interface configuration state even when interfaces are removed.
243 (ifm_read) If we dont have RTM_IFANNOUNCE, then transitioning
244 to down state is only chance we have to clean up interface in case
245 it is deleted (eg Solaris down -> unplumb -> plumb up).
246 * redistribute.c: (zebra_interface_delete_update) should always be
247 available, we /will/ call it now on all systems, via
248 if_delete_update.
249 * zserv.c: (zsend_interface_delete) ditto
250 (zsend_interface_address) Update the call-flow diagramme, to
251 reflect that if_delete_update /is/ now called on all systems,
252 potentially.
253 * zserv.h: (zsend_interface_delete) unconditionally exported, as
254 above.
255
paula1ac18c2005-06-28 17:17:12 +00002562005-06-28 Paul Jakma <paul.jakma@sun.com>
257
258 * (global) Extern and static'ification, with related fixups
259 of declarations, ensuring files include their own headers, etc.
paulea6f82b2005-06-28 17:20:26 +0000260 * if_ioctl.c: (interface_info_ioctl) fix obvious arg mis-order in
paula1ac18c2005-06-28 17:17:12 +0000261 list loop
paulea6f82b2005-06-28 17:20:26 +0000262 * kernel_socket.c: (RTA_{ADDR,ATTR}_GET) fix mistake, NULL check
263 should be on DEST argument
paula1ac18c2005-06-28 17:17:12 +0000264
paul62debbb2005-06-14 14:07:07 +00002652005-06-14 Paul Jakma <paul.jakma@sun.com>
266
267 * kernel_socket.c: consolidate the IFAM{ADDR,MASK}GET and
268 RTM{ADDR,MASK}GET macros into generic rta_addrs macros,
269 RTA_{ADDR,ATTR}_GET.
270 (af_check) could use 'inline' attribute
271 (ifam_read_mesg) remove IFAM{ADDR,MASK}GET macro, change to
272 generic macro.
273 (rtm_read_mesg) similar
274
hasso1ada8192005-06-12 11:28:18 +00002752005-06-12 Hasso Tepper <hasso at quagga.net>
276
277 * rt_netlink.c: Remove netlink-addr socket declaration, it's not used.
278 * rt_netlink.c (netlink_parse_info): Fix debug messages - nlmsg_pid is
279 unsigned and one zlog call had swapped arguments.
280 * rt_netlink.c (netlink_route_multipath): Fix compile with disabled
281 IPv6 support.
282
paul1dcb5172005-05-31 08:38:50 +00002832005-05-31 Paul Jakma <paul.jakma@sun.com>
284
285 * zserv.c: (zsend_route_multipath) Fix bug if route is sent
286 with no NEXTHOP_FLAG_FIB nexthops. As ZAPI_MESSAGE_IFINDEX
287 and ZAPI_MESSAGE_NEXTHOP are always set, clients would try
288 read non-existent nexthop information and hit stream assert.
289 Zserv is still broken for multi-nexthop messages, but it always was.
290
paul69e10ad2005-05-06 21:27:33 +00002912005-05-06 Paul Jakma <paul.jakma@sun.com>
292
293 * zserv.h: Remove ZEBRA_PORT definition, its in lib/zebra.h now
294
paul4d38fdb2005-04-28 17:35:14 +00002952005-04-28 Paul Jakma <paul.jakma@sun.com>
296
297 * rib.h: (struct rib) Add lock field for refcounting.
298 * zserv.h: (struct zebra_t) Add a ribq workqueue to the zebra
299 'master' struct.
300 * zserv.c: (zread_ipv4_add) XMALLOC then memset should be XCALLOC.
301 * zebra_rib.c: Clean up refcounting of route_node, make struct rib
302 refcounted and convert rib_process to work-queue. In general,
303 rib's should be rib_addnode'd and delnode'd to route_nodes, and
304 these symmetrical functions will manage the locking of referenced
305 route_node and freeing of struct rib - rather than having users
306 manage each seperately - with much scope for bugs..
307 (newrib_free) removed and replaced with rib_lock
308 (rib_lock) new function, check state of lock and increment.
309 (rib_unlock) new function, check lock state and decrement. Free
310 struct rib if refcount hits 0, freeing struct nexthop's, as
311 newrib_free did.
312 (rib_addnode) Add RIB to route_node, locking both.
313 (rib_delnode) Delete RIB from route_node, unlocking each.
314 (rib_process) Converted to a work-queue work function.
315 Functional changes are minimal, just arguments, comments and
316 whitespace.
317 (rib_queue_add_qnode) Helper function to setup a ribq item.
318 (rib_queue_add) Helper function, same arguments as old
319 rib_process, to replace in callers of rib_process.
320 (rib_queue_qnode_del) ribq deconstructor.
321 (rib_queue_init) Create the ribq.
322 (rib_init) call rib_queue_init.
323 (remainder) Sanitise refcounting of route_node's. Convert to
324 rib_queue_add, rib_addnode and rib_delnode. Change XMALLOC/memset
325 to XCALLOC. Remove calls to nexthop_delete and nexthop_free.
326
paulcf460ef2005-04-10 16:54:26 +00003272005-04-10 Paul Jakma <paul@dishone.st>
328
329 * if_ioctl_solaris.c: (if_lookup_linklocal) fix order of args
330 in ALL_LIST_ELEMENTS_RO macro.
331
ajs57a14772005-04-10 15:01:56 +00003322005-04-10 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
333
334 * zserv.c (zebra_client_read): Fix bug: first read attempt should
335 read ZEBRA_HEADER_SIZE minus the number of bytes already read.
336 Improve efficiency by maintaining a calculation of the number
337 of bytes read instead of calling stream_get_endp multiple times.
338 If message length is too small, issue a warning message (not debug)
339 before closing the connection. And also check that message length
340 is not too big.
341
hasso206d8052005-04-09 16:38:51 +00003422005-04-09 Hasso Tepper <hasso at quagga.net>
343
hassofa599802005-04-09 16:59:28 +0000344 * rt_netlink.c: One tiny missing comma caused pointless debug messages
345 about IPv6 nexthops.
346
3472005-04-09 Hasso Tepper <hasso at quagga.net>
348
hasso206d8052005-04-09 16:38:51 +0000349 * rt_netlink.c (netlink_parse_info): Fix warning. It's safe to cast
350 status to unsigned here, because we already checked that it isn't
351 negative or 0.
352 * rt_netlink.c (netlink_interface_addr): Prefix length belongs to the
353 address, not to the interface.
354 * rt_netlink.c (netlink_route_multipath): Fix debug. No useless info
355 is printed out now and IPv6 info is handeled.
356
paul3d1dc852005-04-05 00:45:23 +00003572005-04-05 Paul Jakma <paul@dishone.st>
358
359 * zserv.c: print more helpful errors when we fail to successfully
360 bind and listen on zserv socket. Closes bugzilla #163.
361
ajsd2fc8892005-04-02 18:38:43 +00003622005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
363
ajs08dbfb62005-04-03 03:40:52 +0000364 * if_ioctl.c: (interface_list_ioctl) Use if_get_by_name_len.
365 * if_proc.c: (ifaddr_proc_ipv6) Increase size of ifname buffer to
366 avoid overflow.
367 * kernel_socket.c: (ifan_read) Use if_get_by_name_len.
368
3692005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
370
ajsa3491982005-04-02 22:50:38 +0000371 * kernel_socket.c: (ifm_read) Use new if_lookup_by_name_len function
372 to save a memcpy.
373 * if_ioctl_solaris.c: (interface_list_ioctl) Fix subtle bug with new
374 if_get_by_name_len function.
375
3762005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
377
ajsd2fc8892005-04-02 18:38:43 +0000378 * interface.c: (if_new_intern_ifindex) Remove obsolete function.
379 (if_delete_update) After distributing the interface deletion message,
380 set ifp->ifindex to IFINDEX_INTERNAL.
381 (if_dump_vty) Detect pseudo interface by checking if ifp->ifindex is
382 IFINDEX_INTERNAL.
383 (zebra_interface) Check return code from interface_cmd.func.
384 Do not set internal ifindex values to if_new_intern_ifindex(),
385 since we now use IFINDEX_INTERNAL for all pseudo interfaces.
386 * kernel_socket.c: (ifm_read) Fix code and comments to reflect that
387 all internal interfaces now have ifp->ifindex set to IFINDEX_INTERNAL.
388 * rt_netlink.c: (set_ifindex) New function used to update ifp->ifindex.
389 Detects interface rename events by checking if that ifindex is already
390 being used. If it is, delete the old interface before assigning
391 the ifindex to the new interface.
392 (netlink_interface, netlink_link_change) Call set_ifindex to update
393 the ifindex.
394
hassob7ed1ec2005-03-31 20:13:49 +00003952005-03-31 Hasso Tepper <hasso at quagga.net>
396
397 * rt_netlink.c (netlink_talk_filter): Show always warning message,
398 it's not for debug.
399 * rt_netlink.c (netlink_talk): Don't assume we use netlink_cmd
400 although we do now actually.
401 * rt_netlink.c (netlink_route, netlink_route_multipath): Always use
402 netlink_cmd to send messages to the kernel.
403
ajs2da40f42005-03-30 16:33:13 +00004042005-03-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
405
406 * irdp.h: Add prototype for irdp_sock_init, and fix protos for
407 other irdp_* functions.
408 * irdp_interface.c: (irdp_if_start) If irdp_sock is negative,
409 call irdp_sock_init to create the IRDP socket.
410 (irdp_if_init) Rename to irdp_init().
411 (get_iflist_ifp) Remove function that is a duplicate of
412 if_lookup_by_index.
413 (*) Make many functions static. And remove superfluous "\n" from
414 several zlog messages.
415 * irdp_main.c: (irdp_init) Remove function that used to call
416 irdp_if_init() and irdp_sock_init(), since we will now create
417 the socket only upon first use.
418 (irdp_sock_init) Do not update global irdp_sock variable, just
419 return the fd and assume that the caller will do so. If setsockopt
420 calls fail, close the socket before returning -1.
421 (*) Make many functions static.
422 * irdp_packet.c: Initialize irdp_sock to -1.
423 (irdp_read_raw) Call standard library function if_lookup_by_index
424 instead of get_iflist_ifp.
425 (irdp_recvmsg) Should be static, not global.
426
ajsa608bbf2005-03-29 17:03:49 +00004272005-03-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
428
429 * rt_netlink.c: (netlink_link_change) If the status of an
430 operative interface changes (e.g. MTU changes), the client
431 daemons should be notified by calling zebra_interface_up_update.
432 Previously, the information was being updated in zebra's
433 interface structure, but the clients were not notified of
434 changes to an operative interface.
435
vincent7cee1bb2005-03-25 13:08:53 +00004362005-03-25 Jean-Mickael Guerin <jean-mickael.guerin@6wind.com>
437 * interface.c, interface.h, rtadv.c, rtadv.h: modifications to
438 IPv6 Neighbor Discovery according to RFC3775, section 7:
439 o 1-bit Home Agent flag management in Router Advertisement (7.1).
440 o 1-bit Router Address flag management in Prefix Information
441 Option (7.2).
442 o Advertisement Interval Option (7.3)
443 o Home Agent Information Option (7.4)
444 o Changes to Sending Router Advertisements more frequently (7.5)
445
hassoed9bb6d2005-03-13 19:17:21 +00004462005-03-13 Hasso Tepper <hasso at quagga.net>
447
448 * zebra/interaface.c: "show interface description" command
449 implemented.
450
paulc1f01f32005-03-12 06:33:14 +00004512005-03-12 Paul Jakma <paul@dishone.st>
452
453 * rt_netlink.c: (netlink_route_multipath) dont set equalise flag.
454 No stock Linux kernel has ever supported it, and even if it had
455 it's not generally a good idea.
456
hasso42a66d72005-03-07 08:19:44 +00004572005-03-07 Michael Sandee <voidptr@voidptr.sboost.org>
458
459 * if_proc.c, ipforward_proc.c, rtread_proc.c: Fix fd leaks.
460
hasso3452d472005-03-06 13:42:05 +00004612005-03-06 Hasso Tepper <hasso at quagga.net>
462
463 * interface.c: Fix CRC and frame errors statistics in Linux.
464
ajs719e9742005-02-28 20:52:15 +00004652005-02-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
466
467 * zserv.c: Must include network.h and buffer.h for non-blocking I/O.
468 Remove global message_queue and t_write (need separate buffering for
469 each client).
470 (zebra_server_dequeue,zebra_server_enqueue) Remove functions
471 related to old buggy buffering code.
472 (zserv_delayed_close) New thread callback function to delete a client.
473 (zserv_flush_data) New thread callback function to flush buffered
474 data to client.
475 (zebra_server_send_message) Rewritten to use buffer_write (so
476 buffering of writes and non-blocking I/O work properly).
477 (zsend_interface_add,zsend_interface_delete,zsend_interface_address,
478 zsend_interface_update) Return 0 instead of -1 if !client->ifinfo
479 (this is not really an error). Return value from
480 zebra_server_send_message.
481 (zsend_route_multipath,zsend_ipv4_nexthop_lookup,
482 zsend_ipv4_import_lookup) Return value from zebra_server_send_message.
483 (zsend_ipv6_nexthop_lookup) Fix scope to static, and return value
484 from zebra_server_send_message.
485 (zsend_router_id_update) Must use zebra_server_send_message instead
486 of deprecated writen function. Return 0 instead of -1 if this client
487 is not subscribed to router-id updates (since this is not really
488 an error).
489 (zread_interface_add) Change type to static int. If
490 zsend_interface_add fails or zsend_interface_address fails, return -1
491 immediately (since the client has had an I/O error).
492 (zread_interface_delete,zread_ipv4_add,zread_ipv4_delete,
493 zread_ipv6_add,zread_ipv6_delete,zread_router_id_delete) Return 0
494 to indicate success.
495 (zread_ipv4_nexthop_lookup) Return value from
496 zsend_ipv4_nexthop_lookup.
497 (zread_ipv4_import_lookup) Return value from zsend_ipv4_import_lookup.
498 (zebra_read_ipv6) Remove unused function.
499 (zread_ipv6_nexthop_lookup) Return value from
500 zsend_ipv6_nexthop_lookup.
501 (zread_router_id_add) Return value from zsend_router_id_update.
502 (zebra_client_close) Call buffer_free(client->wb) and
503 thread_cancel(client->t_suicide).
504 (zebra_client_create) Allocate client->wb using buffer_new.
505 (zebra_client_read) Support non-blocking I/O by using stream_read_try.
506 Use ZEBRA_HEADER_SIZE instead of 3.
507 (zebra_accept) Fix bug: reset accept thread at top. Make client
508 socket non-blocking using the set_nonblocking function.
509 (config_write_forwarding) Fix scope to static.
510 (zebra_init) Remove initialization code for old buggy write buffering.
511 * zserv.h: Add 2 new fields to struct zserv: struct buffer *wb
512 (to enable buffered writes with non-blocking I/), and
513 struct thread *t_suicide to support delayed close on I/O
514 errors.
515 * router-id.h: Remove prototypes for zread_router_id_add and
516 zread_router_id_delete (their scope should be static to zserv.c).
517
ajs27da3982005-02-24 16:06:33 +00005182005-02-24 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
519
520 * redistribute.c: (zebra_check_addr,is_default,
521 zebra_redistribute_default,zebra_redistribute) Fix scope to be static.
522
hassoe8274dc2005-02-20 19:09:23 +00005232005-02-20 Hasso Tepper <hasso at quagga.net>
524
525 * rt_netlink.c: Don't show messages "ignoring message type 0x001[89]"
526 if we are not debugging.
527
paule31f2292005-02-19 02:00:26 +00005282005-02-19 Paul Jakma <paul@dishone.st>
529
530 * zserv.c: (zebra_read_ipv6) replace the char * arithmetic with
531 STREAM_READABLE.
532
paul1e193152005-02-14 23:53:05 +00005332005-02-14 Paul Jakma <paul@dishone.st>
534
535 * Not all Linux netlink systems have IFLA_WIRELESS
536
ajs6a52d0d2005-01-30 18:49:28 +00005372005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
538
539 * ioctl.c: (if_ioctl,if_ioctl_ipv6,if_get_flags) Replace perror with
540 zlog_err.
541 * ioctl_solaris.c: (if_ioctl,if_ioctl_ipv6) Replace perror with
542 zlog_err.
543
ajs4be019d2005-01-29 16:12:41 +00005442005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
545
ajs4460e7a2005-01-29 17:07:40 +0000546 * if_ioctl_solaris.c: (interface_list_ioctl) Save errno before calling
547 zserv_privs.change.
548 * ioctl{,_solaris}.c: (if_ioctl,if_ioctl_ipv6) Save errno before calling
549 zserv_privs.change.
550 * ipforward_solaris.c: (solaris_nd) Save errno before calling
551 zserv_privs.change.
552 * irdp_main.c: (irdp_sock_init) Save errno before calling
553 zserv_privs.change.
554
5552005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
556
ajs4be019d2005-01-29 16:12:41 +0000557 * rt_netlink.c: (netlink_socket,netlink_request,netlink_parse_info,
558 netlink_talk) Save errno before calling zserv_privs.change.
559
paulc15cb242005-01-24 09:05:27 +00005602005-01-24 Martin Pot <mpot at martybugs.net>
561
562 * zebra/rt_netlink.c: ignore wireless newlink netlink messages.
563
hasso6f2c27a2005-01-18 13:44:35 +00005642005-01-18 Hasso Tepper <hasso at quagga.net>
565
566 * interface.c: Better statistics output in "show interface" command in
567 case of /proc being used.
568
hasso583d8002005-01-16 23:34:02 +00005692005-01-17 Hasso Tepper <hasso at quagga.net>
570
571 * main.c: With --nl-bufsize argument is required.
572
paul865b8522005-01-05 08:30:35 +00005732005-01-05 Paul Jakma <paul@dishone.st>
574
575 * zserv.c: (zebra_accept) Comment out setting of socket to NONBLOCK
576 for now, as we dont actually deal with with resending.... See
577 bugzilla #122, fix from wawa@yandex-team.ru (Vladimir Ivanov).
578 * kernel_socket.c: (routing_socket) ditto.
579
ajsb99760a2005-01-04 16:24:43 +00005802005-01-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
581
582 * rtadv.c: (rtadv_recv_packet,rtadv_send_packet) Use ZCMSG_FIRSTHDR
583 instead of CMSG_FIRSTHDR.
584
ajs341a8f12004-12-22 16:32:16 +00005852004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
586
587 * connected.c: (connected_add_ipv4) Limit warning about /32 addresses
588 with no peer specified to PtP interfaces only.
589
hassob8adec12004-12-18 16:03:28 +00005902004-12-18 Hasso Tepper <hasso at quagga.net>
591
592 * zebra_vty.c: Fix "show ipv6 route <proto>" command help and make it
593 work for isis routes.
594
gdt6a250b02004-12-09 14:48:12 +00005952004-12-09 Greg Troxel <gdt@fnord.ir.bbn.com>
596
597 * kernel_socket.c (rtmsg_debug): char * => const char *
598
ajs274a4a42004-12-07 15:39:31 +00005992004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
600
ajsb6178002004-12-07 21:12:56 +0000601 * *.c: Change level of debug messages to LOG_DEBUG.
602
6032004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
604
ajs274a4a42004-12-07 15:39:31 +0000605 * main.c: (main) The 2nd argument to openzlog has been removed.
606 So stdout logging will no longer be enabled by default.
607 * irdp_main.c: (irdp_finish) Reduce severity of shutdown message
608 from LOG_WARNING to LOG_INFO.
609
ajs887c44a2004-12-03 16:36:46 +00006102004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
611
612 * main.c: (sigint) Use zlog_notice for termination message.
613 (main) Add a startup announcement using zlog_notice.
614
hassoaccb1562004-11-25 19:21:07 +00006152004-11-25 Hasso Tepper <hasso at quagga.net>
616
617 * irdp_interface.c: Remove comment from DEFUN, it breaks vtysh because
618 it confuses extract.pl.
hassoc0652302004-11-25 19:33:48 +0000619 * main.c: Make group to run as configurable.
hassoaccb1562004-11-25 19:21:07 +0000620
hasso6bd7c6a2004-10-28 17:32:27 +00006212004-10-28 Hasso Tepper <hasso at quagga.net>
622
623 * interface.c: Remove dead "ip tunnel" command.
624
paul06f953f2004-10-22 17:00:38 +00006252004-10-22 Paul Jakma <paul@dishone.st>
626
627 * irdp_main.c: change setsockopt_pktinfo to setsockopt_ifindex
628
hasso3fb9cd62004-10-19 19:44:43 +00006292004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
630
631 * rt_netlink.c: (netlink_interface_addr) For PtP interfaces, ignore
632 tb[IFA_ADDRESS] if it's the same as tb[IFA_LOCAL].
633 * interface.c: (ip_address_install) Use new ipv4_broadcast_addr
634 function.
635 * connected.c: (connected_up_ipv4) Use CONNECTED_POINTOPOINT_HOST
636 macro.
637 (connected_down_ipv4) ditto.
638 (connected_add_ipv4) Validate destination address, print warnings
639 if it does not make sense.
640
hassoc1eaa442004-10-19 06:26:01 +00006412004-10-19 Hasso Tepper <hasso at quagga.net>
642
643 * zserv.c: Fix regression introduced with zserv cleanup.
644
hassoc75105a2004-10-13 10:33:26 +00006452004-10-13 Hasso Tepper <hasso at quagga.net>
646
647 * zebra_snmp.c: Remove defaults used to initialize smux connection to
648 snmpd. Connection is initialized only if smux peer is configured.
hassob71f00f2004-10-13 12:20:35 +0000649 * zserv.c: Remove useless warnings "forwarding is already on".
hassoc75105a2004-10-13 10:33:26 +0000650
hasso39ff11d2004-10-12 15:55:19 +00006512004-10-12 Hasso Tepper <hasso at quagga.net>
652
653 * zebra_vty.c: Unbreak "show ip route" command help and make it work
654 for isis routes.
hasso39db97e2004-10-12 20:50:58 +0000655 * interface.c(if_dump_vty): Show IPv6 addresses in "show interface"
656 output. Fixes Bugzilla #119.
657 * *.c: Make some strings const and some (unsigned) casts to fix
658 compiler warnings.
hasso39ff11d2004-10-12 15:55:19 +0000659
hassofce954f2004-10-07 20:29:24 +00006602004-10-07 Hasso Tepper <hasso at quagga.net>
661
662 * connected.c, main.c, rt_netlink.c, rtadv.c, zebra_rib.c, zserv.c:
663 Fix warnings: make strings const, signed -> unsigned.
664
paul72164662004-10-05 14:39:43 +00006652004-10-05 Paul Jakma <paul@dishone.st>
666
667 * irdp_packet.c: (parse_irdp_packet) style issues.
668 Use sockopt_iphdrincl_swab_systoh.
669 Try unbork the code. Checksum the ICMP data and actually
670 compare it to received checksum. Check data length against
671 claimed length in header.
672 Always use ntoh.. when accessing addresses, even when the
673 comparison happens to be endian-safe.
674 (send_packet) minor style isues. Use
675 sockopt_iphdrincl_swab_htosys.
676 (irdp_iph_hton/ntoh) IP header to/from network/host order.
677
hassoeef1fe12004-10-03 18:46:08 +00006782004-10-03 Gilad Arnold <gilad.arnold at terayon.com>
679
680 * interface.c, interface.h: A new prefix tree of connected subnets is
681 associated with each interface structure in zebra, in which each
682 live (ie, non-synthetic) node holds a list of installed addresses
683 that belong to that prefix. Remove secondary address logic from cli.
684 See [quagga-dev 872] for detailed explanation.
685 * connected.c: Use if_subnet_add() and if_subnet_delete().
686
hasso18a6dce2004-10-03 18:18:34 +00006872004-10-03 James R. Leu <jleu at mindspring.com>
688
689 * router-id.c, router-id.h: New files. Router id selection process. If
690 there is non 127.x.x.x address in loopack interface, lowest of them
691 is chosen. If there isn't, lowest from other interfaces addresses
692 are chosen. "router-id x.x.x.x" vty command to manual override.
693 * Makefile.am: Compile new files.
694 * main.c: Initialize router id.
695 * redistribute.c: Add interface addresses into router id selection
696 lists as they (dis)appear.
697 * zserv.c, zserv.h: Sending router id related messages to daemons.
698
hassoc9e52be2004-09-26 16:09:34 +00006992004-09-26 Hasso Tepper <hasso at quagga.net>
700
701 * irdp_interface.c, irdp_main.c, irdp_packet.c, rt_netlink.c,
702 rtadv.c, zebra_vty.c: Fix compiler warnings.
703
paul0c0f9112004-09-24 08:24:42 +00007042004-09-24 Paul Jakma <paul@dishone.st>
705
paul26f7a242004-09-24 08:45:10 +0000706 * irdp_interface.c: (no_ip_irdp_address_preference_cmd)
707 add missing listnode declaration.
708
7092004-09-24 Paul Jakma <paul@dishone.st>
710
paul0c0f9112004-09-24 08:24:42 +0000711 * irdp_{interface,main}.c: lists typedef removal cleanup.
712 update some list loops to LIST_LOOP. some miscellaneous style
713 and indent fixups.
714 (no_ip_irdp_address_preference_cmd) Fix delete of referenced node
paul26f7a242004-09-24 08:45:10 +0000715 in loop.
paul0c0f9112004-09-24 08:24:42 +0000716 * irdp_packet.c: (irdp_recvmsg) Fix buggy assignment of integer
717 to pointer.
718 * if_ioctl{,_solaris}.c: lists typedef removal cleanup.
719 update some list loops to LIST_LOOP.
720
hasso52dc7ee2004-09-23 19:18:23 +00007212004-09-23 Hasso Tepper <hasso at quagga.net>
722
723 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
724
paul44983cf2004-09-22 13:15:58 +00007252004-09-22 Paul Jakma <paul.jakma@sun.com>
726
727 * zserv.c: (zsend_route_multipath) fix nasty bad memset of struct
728 in_addr to sizeof(struct in6_addr), causing odd and hard to debug
729 crash.
730
hassoc34b6b52004-08-31 13:41:49 +00007312004-08-31 Hasso Tepper <hasso at quagga.net>
732
733 * main.c, rt_netlink.c: Added -s command line switch for tuning
734 netlink receive buffer size in Linux to avoid buffer overruns.
735
gdta5ea6872004-08-26 13:24:00 +00007362004-08-26 Miles Nordin <carton@Ivy.NET>
737
738 * ipforward_sysctl.c (mib_ipv6): Use size_t for len, per
739 sysctl(3), rather than int. (Needed on NetBSD/alpha to display
740 forwarding status correctly.)
741
paul3e0b3a52004-08-23 18:58:32 +00007422004-08-23 Paul Jakma <paul@dishone.st>
743
744 * zserv.c: (zebra_init) remove implicit ip forward enabling
745
paul0de1cde2004-08-19 04:45:33 +00007462004-08-19 Paul Jakma <paul@dishone.st>
747
748 * irdp_main.c: update to match sockopt renames.
749 * irdp_packet.c: include sockopt.h and update to match sockopt
750 renames.
751
gdt57492d52004-08-11 18:06:38 +00007522004-08-11 Greg Troxel <gdt@fnord.ir.bbn.com>
753
754 * rtadv.c (rtadv_send_packet): Allocate space for control messages
755 more carefully; it was wrong on NetBSD/sparc where CMSG alignment
756 is to 8 bytes instead of 4, and overwriting the address. Use the
757 provided macros for determining lengths.
758
paul5b73a672004-07-23 15:26:14 +00007592004-07-23 Sowmini Varadhan <Sowmini.Varadhan@Sun.COM>
760
761 * if_ioctl_solaris.c: HAVE_IPV6 ifdef fixups
762 * zserv.c: ditto
763 * ioctl_solaris.c: ditto.
764 * interface.c: cast for LLADDR
765 * interface.h: Add guards, include redistribute.h and remove
766 extraneous definitions of zebra_interface_{up,down}_update
767 * ioctl.h: Add AF_IOCTL define for non SOLARIS_IPV6
768 * redistribute.h: include dependent header, zserv.h
769 * zserv.h: include dependent header, rib.h
770
paul1470baf2004-07-23 15:25:01 +00007712004-07-23 Paul Jakma <paul@dishone.st>
772
773 * irdp_main.c: use setsockopt_pktinfo_ipv4
774 * irdp_packet.c: use SOPT_SIZE_CMSG_PKTINFO_IPV4 and
775 getsockopt_pktinfo_ifindex()
776
gdtcced60d2004-07-13 16:45:54 +00007772004-07-13 David Wiggins <dwiggins@bbn.com
778
779 * kernel_socket.c (rtm_flag_dump): terminate buffer with '\0', not '0'.
780
hasso25dac852004-07-13 03:06:51 +00007812004-07-13 Hasso Tepper <hasso@estpak.ee>
782
783 * irdp_main.c: Add privilege change.
784
hasso996933f2004-07-12 16:32:56 +00007852004-07-12 Hasso Tepper <hasso@estpak.ee>
786
787 * irdp_interface.c: follow common style while naming vty command
788 functions. Avoids confusion in extract.pl.
789
gdt87efd642004-06-30 17:36:11 +00007902004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
791
792 * main.c: define thread_master variable so that linking with
793 libzebra.so doesn't fail. Arguably zclient.o should be in a
794 separate library, but this is far less disruptive.
795
hassoca776982004-06-12 14:33:05 +00007962004-06-12 Robert Olsson <Robert.Olsson at data.slu.se>
797
798 * Added IRDP support.
799
hasso3e31cde2004-05-18 11:58:59 +00008002004-05-18 Hasso Tepper <hasso@estpak.ee>
801
802 * rtadv.c: Removed "[no] ipv6 nd send-ra" command. Replaced "ipv6 nd
803 prefix-advertisement" with "ipv6 nd prefix". Rewrite syntax of
804 "ipv6 nd prefix" command to allow various combinations of parameters
805 and flags. No defaults in configuration. Replaced on-link and
806 autoconfig with off-link and no-autoconfig flags in command syntax.
807 Cosmetic fixes in all commands. Documentation to reflect all changes.
808
paul19877dd2004-05-11 10:49:35 +00008092004-05-11 Paul Jakma <paul@dishone.st>
810
811 * Makefile.am: support for IOCTL_METHOD, as per Sowmini's patch.
paul48a46fa2004-05-11 10:55:22 +0000812 * if_ioctl_solaris.c: Fixup some erroneous privilege changes and
813 add privs.h header.
814 * ioctl_solaris.c: ditto
paulc50ae8b2004-05-11 11:31:07 +0000815 * ioctl.h: Add if_ioctl_ipv6 prototype and AF_IOCTL for SOLARIS_IPV6
816 * kernel_socket.c: Fix SAROUNDUP, compiler doesnt like do..while
817 RHS in assignments :)
818 * redistribute.c: (zebra_interface_delete_update) only used
819 if RTM_IFANNOUNCE and NETLINK is available.
820
paulb9df2d22004-05-09 09:09:59 +00008212004-05-09 Paul Jakma <paul@dishone.st>
822
823 * zserv.c: (zsend_route_multipath) Set the nexthop_num
824 field correctly. Add NEXTHOP_TYPE_IPV6_IFNAME for v6.
825 Conditionally set ZAPI_MESSAGE_METRIC flag - only for adds.
826 (zsend_ipv4_add) cruft, deleted.
827 (zsend_ipv4_delete) ditto.
828 (zsend_ipv6_add) ditto.
829 (zsend_ipv6_delete) ditto.
paul44145db2004-05-09 11:00:23 +0000830 * ioctl.c: (if_get_mtu) set mtu6 to mtu
831 * mtu_kvm.c: (if_kvm_get_mtu) set mtu6 to mtu
832 * rt_netlink.c: (netlink_interface) set mtu6 to mtu
833 (netlink_link_change) ditto
paul66e94882004-05-09 17:19:24 +0000834 * ipforward_solaris.c: fix typo of ND variable.
paul88424682004-05-09 18:21:35 +0000835 * if_ioctl_solaris.c: Add zprivs support.
836 * ioctl_solaris.c: ditto.
paul66e94882004-05-09 17:19:24 +0000837
paulb9df2d22004-05-09 09:09:59 +00008382004-05-09 Sowmini Varadhan <sowmini.varadhan@sun.com>
839
840 * zserv.c: (zsend_ipv{4,6}_{add,delete}_multipath) collapsed
841 into single zsend_route_multipath function.
842 (zsend_interface_{up,down}) collapsed into zsend_interface_update.
843 (zsend_interface_address_{add,delete}) collapsed into
844 zsend_interface_address.
845 (zsend_interface_add) send mtu6.
846 (zsend_interface_delete) ditto.
847 (zebra_write) remove unused function.
848 (various) Apply static qualifier. Add comments.
849 * zserv.h: Definitions changed as per above.
850 * redistribute.c: Changes as per zserv.c.
paul44145db2004-05-09 11:00:23 +0000851 * interface.c: (if_delete_update) only used with HAVE_NETLINK
852 and RTM_IFANNOUNCE.
853 (if_flag_dump_vty) Solaris IFF_IPV4 and IFF_IPV6 if flags
854 (if_dump_vty) print mtu6 if not same as mtu
paul88424682004-05-09 18:21:35 +0000855 * if_ioctl_solaris.c: New file, Solaris interface ioctl methods.
856 * ioctl_solaris.c: New file, Common solaris ioctl methods.
857
hasso34195bf2004-04-06 12:07:06 +00008582004-04-06 Krzysztof Oledzki <oleq@ans.pl>
859
860 * rt_netlink.c: Do not ignore metric when reading kernel routing
861 table on Linux with rt_netlink interface.
862
8632004-03-18 Hasso Tepper <hasso@estpak.ee>
hassof1d92e12004-03-18 15:40:33 +0000864
865 * interface.c: Temporary fix for handling secondary addresses
866 with label.
867
hasso55906722004-02-11 22:42:16 +00008682004-02-12 Hasso Tepper <hasso@estpak.ee>
hassof1d92e12004-03-18 15:40:33 +0000869
hasso55906722004-02-11 22:42:16 +0000870 * zserv.c: Added "ipv6 forwarding" command.
871
gdtb27900b2004-01-08 15:44:29 +00008722004-01-08 Greg Troxel <gdt@fnord.ir.bbn.com>
873
874 * kernel_socket.c (kernel_read): Use sockaddr_storage in buffer
875 for reading kernel messages to ensure enough space (necessary on
876 Solaris due to sockaddr_dl being large). Thanks to Sowmini
877 Varadhan for help with this change.
878
gdt9ccabd12004-01-06 18:23:02 +00008792004-01-06 Greg Troxel <gdt@t1.ir.bbn.com>
880
881 * rtadv.c (rtadv_send_packet): Change perror to zlog_err.
882
gdtdbee01f2004-01-06 00:36:51 +00008832004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
gdt4bfbea82004-01-06 01:13:05 +0000884 * kernel_socket.c (ifm_read): Major cleanup. Use Sowmini's code
885 to find the sockaddr_dl in all cases, narrowing the Solaris ifdef
886 to just the accomodation of broken kernels. Check sockaddr_dl
887 carefully up front, and later assume any non-NULL sdl pointer is
888 valid. Clean up types and variable declarations, and rename
889 WRAPUP to SAROUNDUP to make the name fit the behavior.
890
8912004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
gdtdbee01f2004-01-06 00:36:51 +0000892
893 * kernel_socket.c (kernel_read): Add a sockaddr_dl to the ifmsg
894 structure, because on Solaris sockaddr_dl is far larger than the
895 base sockaddr structure. (The code had previously been failing to
896 read all the data.)
gdt4bfbea82004-01-06 01:13:05 +0000897
gdtda26e3b2004-01-05 17:20:59 +00008982004-01-05 Greg Troxel <gdt@ahi.ir.bbn.com>
899
900 * kernel_socket.c (kernel_read): Look up interfaces by index
901 first, so that state changes which do not include a sockaddr_dl
902 now work. Add many sanity checks. In
903 particular, do not assume that a sockaddr_dl follows a message
904 without checking the ifm_addrs flags, and do not trust the length
905 in a sockaddr_dl. Add/clarify many comments.
906
gdt4b5e1352003-12-03 17:54:34 +00009072003-12-03 Greg Troxel <gdt@poblano.ir.bbn.com>
908
909 * rtadv.c: reorder includes to avoid compiler warning (define
910 structs before using them in prototypes)
911
hasso647e4f12003-05-25 11:43:52 +00009122003-05-25 Jim Crumpler <Jim.Crumpler@edion.com>
913
914 * zserv.c: Add "ip forwarding" command.
915
paul445f1432003-05-16 19:00:31 +00009162003-05-16 Gilad Arnold <gilad.arnold@terayon.com>
917
918 * zebra_rib.c: Fix memory leaks for ifname nexthops
919
9202003-04-19 Israel Keys <ikeys@agile.tv>
921
922 * rt_netlink.c: BLOCK on netlink while initialising
923
9242003-02-06 Francois Deppierraz <francois@ctrlaltdel.ch>
925
926 * rt_netlink.c (netlink_route_multipath): Set RTM_F_EQUALIZE when
927 it exists.
928
paul718e3742002-12-13 20:15:29 +00009292002-09-28 Akihiro Mizutani <mizutani@net-chef.net>
930
931 * zebra_rib.c (static_add_ipv4): Null0 static route is added.
932
9332002-09-10 Jochen Friedrich <chris+zebra@scram.de>
934
935 * rt_netlink.c: Add check for EAGAIN.
936 * kernel_socket.c: Likewise
937
9382002-06-12 Israel Keys <ikeys@oz.agile.tv>
939
940 * rt_netlink.c: Setting the NLM_F_ACK flag on the netlink command
941 message so that we get an ACK for successful netlink commands.
942 Change the netlink socket to BLOCKING while we wait for a
943 response; be it an ACK or an NLMSG_ERROR. Change
944 netlink_parse_info to deal with ACK messages.
945
9462001-11-01 Jun-ichiro itojun Hagino <itojun@iijlab.net>
947
948 * rtadv.c (rtadv_make_socket): setsockopt(IPV6_CHECKSUM) does not
949 work for ICMPv6 socket.
950
9512001-10-24 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
952
953 * rib.c (rib_process): Select connected route any case.
954
9552001-10-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
956
957 * interface.c (no_ip_address_secondary): Add "no" to command.
958
9592001-10-18 NOGUCHI Kay <kay@v6.access.co.jp>
960
961 * ioctl.c (if_prefix_add_ipv6): Set the prefered and valid lifetime
962 to infinity as the freebsd4.4 workaroud.
963
9642001-08-26 mihail.balikov@interbgc.com
965
966 * zebra_snmp.c: Fix snmpwalk problem such as IPv4 address
967 A.B.C.255.
968
9692001-08-22 NOGUCHI Kay <kay@v6.access.co.jp>
970
971 * rtadv.c: Do not send RA to loopback interface.
972
9732001-08-20 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
974
975 * ioctl.c (if_set_prefix): Remove Linux 2.0 specific connected
976 route treatment.
977
9782001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
979
980 * zebra-0.92a released.
981
9822001-08-17 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
983
984 * rib.c: Kernel route is treated as EGP routes in nexthop active
985 check.
986
9872001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
988
989 * zebra-0.92 released.
990
9912001-08-08 "Akihiro Mizutani" <mizutani@dml.com>
992
993 * rib.c (show_ip_route_prefix_longer): Add longer-prefix option to
994 show route commands.
995
9962001-07-29 Yon Uriarte <havanna_moon@gmx.net>
997
998 * zserv.c (zsend_ipv4_add_multipath): Add
999 NEXTHOP_TYPE_IPV4_IFINDEX check.
1000
10012001-07-29 NOGUCHI Kay <kay@v6.access.co.jp>
1002
1003 * rtadv.c: Apply valid lifetime, preferred lifetime, onilnk flag,
1004 autonomous address-configuration flag patch.
1005 (no_ipv6_nd_suppress_ra): Change "ipv6 nd send-ra" to "no ipv6 nd
1006 suppress-ra".
1007
10082001-07-24 NOGUCHI Kay <kay@v6.access.co.jp>
1009
1010 * rtadv.c (ipv6_nd_ra_interval): Add "ipv6 nd ra-interval SECONDS"
1011 command.
1012
10132001-07-24 Jun-ichiro itojun Hagino <itojun@iijlab.net>
1014
1015 * rt_socket.c (kernel_rtm_ipv4): Add KAME/NetBSD151 equal cost
1016 multicast FIB support both IPv4 and IPv6.
1017
10182001-07-24 Hal Snyder <hal@vailsys.com>
1019
1020 * if_ioctl.c (interface_list_ioctl): Fix bug of failing to get the
1021 full list of interfaces on some configurations of OpenBSD.
1022
10232001-07-23 NOGUCHI Kay <kay@v6.access.co.jp>
1024
1025 * rtadv.c (ipv6_nd_send_ra): Apply [zebra 9320] to fix "ipv6 nd
1026 send-ra" bug.
1027 (ipv6_nd_ra_lifetime): "ipv6 nd ra-lifetime 0" for default router
1028 availability.
1029 (ipv6_nd_managed_config_flag): "ipv6 nd managed-config-flag" is
1030 added.
1031 (ipv6_nd_other_config_flag): "ipv6 nd other-config-flag" is added.
1032
10332001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
1034
1035 * ioctl.c (if_ioctl): Change ioctl argument from int to u_long.
1036
1037 * rt_ioctl.c: Likewise.
1038
10392001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
1040
1041 * kernel_socket.c (rtm_write): Only set RTF_CLONING when the
1042 interface is not p2p.
1043
10442001-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1045
1046 * ioctl.c (if_prefix_add_ipv6): Fix argument type.
1047
10482001-04-06 Toshiaki Takada <takada@zebra.org>
1049
1050 * zserv.c (zsend_interface_delete): Use client->obuf instead of
1051 allocating new stream.
1052
10532001-03-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1054
1055 * rt_netlink.c: Revert RTPROT_BOOT change.
1056
10572001-03-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1058
1059 * rt_netlink.c (netlink_route_change): Skip RTPROT_BOOT route.
1060 (netlink_routing_table): Likewise.
1061
10622001-03-07 "Akihiro Mizutani" <mizutani@dml.com>
1063
1064 * zserv.c (zsend_ipv4_add_multipath): Send metric value to
1065 protocol daemons.
1066
10672001-02-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1068
1069 * rt_netlink.c (netlink_routing_table): Do not return
1070 tb[RTA_GATEWAY] is NULL. Reported by: "Michael O'Keefe"
1071 <mokeefe@qualcomm.com>.
1072
10732001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1074
1075 * if_ioctl.c (interface_list_ioctl): Call if_add_update().
1076 Suggested by: Chris Dunlop <chris@onthe.net.au>.
1077
10782001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1079
1080 * rib.c (nexthop_active_ipv4): When nexthop type is
1081 NEXTHOP_TYPE_IPV4_IFINDEX, propery set the ifindex to rifindex.
1082
1083 * zserv.c: Initialize rtm_table_default with 0.
1084
1085 * zebra-0.91 is released.
1086
10872001-01-31 Kunihiro Ishiguro <kunihiro@zebra.org>
1088
1089 * kernel_socket.c (rtm_read): Filter cloned route. Suggested by:
1090 Jun-ichiro itojun Hagino <itojun@iijlab.net>
1091
10922001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1093
1094 * connected.c (connected_up_ipv6): When point-to-point destination
1095 address is ::, use local address for connected network.
1096 (connected_down_ipv6): Likewise.
1097
10982001-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1099
1100 * zserv.c (zebra_serv): Add missing close() call. Reported by:
1101 David Waitzman <djw@vineyard.net>.
1102
11032001-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
1104
1105 * rib.c (rib_lookup_ipv4): New function for checking exact match
1106 IGP route.
1107
11082001-01-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1109
1110 * rib.c (show_ipv6_route_protocol): Fix bug of "show ip route
1111 route-type".
1112
11132001-01-22 Kunihiro Ishiguro <kunihiro@zebra.org>
1114
1115 * interface.c (zebra_interface): Do not call
1116 zebra_interface_add_update for inactive interface.
1117
1118 * zserv.c (zsend_interface_address_add): Send interface address
1119 flag.
1120 (zsend_interface_address_delete): Likewise.
1121
11222001-01-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1123
1124 * interface.c (if_addr_add): Add flags.
1125
1126 * connected.c (ifa_add_ipv4): Add new function for interface
1127 address handling.
1128 (ifa_delete_ipv4): Likewise.
1129
11302001-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1131
1132 * rib.c (rib_update): Update IPv6 RIB.
1133
1134 * kernel_socket.c (ifam_read): Call if_refresh() for update
1135 interface flag status. This is for implicit interface up on *BSD.
1136
1137 * interface.c (if_refresh): Add interface flag refresh function.
1138
1139 * kernel_socket.c (rtm_read): Fetch link-local address interface
1140 index.
1141 (ifan_read): We need to fetch interface information. Suggested
1142 by: Yasuhiro Ohara <yasu@sfc.wide.ad.jp>.
1143
1144 * rib.c (static_ipv6_nexthop_same): Add check for
1145 NEXTHOP_TYPE_IPV6_IFNAME.
1146
11472001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1148
1149 * rib.h (NEW_RIB): Turn on NEW_RIB flag. IPv6 new RIB code are
1150 taken into place.
1151
11522001-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1153
1154 * rib.c (static_ipv6_write): Display STATIC_IPV6_GATEWAY_IFNAME
1155 configuration.
1156 (rib_delete_ipv6): Handle same route conter for IPv6 connected
1157 route.
1158 (show_ipv6_route_protocol): New command.
1159 (show_ipv6_route_addr): Likewise.
1160 (show_ipv6_route_prefix): Likewise.
1161 (rib_update): Sweep kernel route when it is cleaned up.
1162
1163 * rt_socket.c (kernel_add_ipv6): Add NEXTHOP_IPV6_IFNAME
1164 treatmenet.
1165
1166 * rt_netlink.c (kernel_init): Likewise.
1167
1168 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): Likewise.
1169
1170 * rib.c (rib_add_ipv4): Cope with same connected route on a
1171 interface. Suggested by: Matthew Grant <grantma@anathoth.gen.nz>.
1172 (nexthop_ipv6_ifname_add): Add NEXTHOP_IPV6_IFNAME treatmenet.
1173
1174 * rib.h (struct new_rib): Add refcnt to keep track on the
1175 reference of same connected route.
1176
1177 * ioctl.c (if_set_prefix): Add check for GNU_LINUX.
1178
11792001-01-13 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1180
1181 * kernel_socket.c (ifan_read, rtm_type_str): Add RTM_OIFINFO check.
1182 (rtm_type_str): Add RTM_IFANNOUNCE check.
1183 (ifan_read): New function.
1184 (kernel_read): Add case for RTM_IFANNOUNCE.
1185
11862001-01-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1187
1188 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): New function.
1189
1190 * rt_netlink.c (netlink_route_multipath): IPv6 address ifindex
1191 treatment.
1192
1193 * connected.c (connected_up_ipv6): Add dest value check.
1194
1195 * rib.c (nexthop_active_ipv6): Do not touch IPv6 nexthop's
1196 ifindex.
1197 (rib_add_ipv4): Import rib_add_ipv6() same route check code.
1198 (nexthop_active_check): NEXTHOP_TYPE_IPV6_IFINDEX activity is only
1199 checked by ifindex.
1200
1201 * rt_socket.c (kernel_rtm_ipv6_multipath): New function.
1202
1203 * redistribute.c (redistribute_add): Use
1204 zsend_ipv6_add_multipath().
1205 (redistribute_delete_multipath): Use
1206 zsend_ipv6_delete_multipath().
1207
1208 * interface.c (ip_address): Check current IP address to avoid
1209 duplicate.
1210
1211 * rib.c (rib_delete_ipv4): When deleted route is connected route,
1212 check ifindex.
1213 (rib_add_ipv4): When connected route is added do not perform
1214 implicit withdraw.
1215 (rib_delete_ipv4): Check ifindex for connected route.
1216
1217 * kernel_socket.c (rtm_read): When route has RTF_STATIC, set
1218 ZEBRA_FLAG_STATIC for indicate as persistent route.
1219 (ifam_read): Unset interface index from link-local address when
1220 IPv6 stack is KAME.
1221
1222 * rib.c (rib_update): Do not delete persistent kernel route.
1223
1224 * rib.h (struct new_rib): Integrate RIB_FLAG_* to ZEBRA_FLAG_*.
1225
1226 * rt_socket.c (kernel_add_ipv6_multipath): Add placeholder.
1227 (kernel_delete_ipv6_multipath): Likewise.
1228
1229 * rt_netlink.c (netlink_talk): Give struct nlsock to netlink_talk.
1230
12312001-01-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1232
1233 * rib.c (rib_update): Revert Matthew Grant's patch
1234 zebra_cvs_newribfix.patch. Use struct rib->ifindex for kernel
1235 interface index. Introduce NEXTHOP_TYPE_IPV4_IFINDEX to support
1236 that. Add support for address deletion situation.
1237
12382001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1239
1240 * interface.c: Remove HAVE_IF_PSEUDO part.
1241
1242 * rib.h: Likewise.
1243
1244 * rt_netlink.c (netlink_link_change): Likewise.
1245
12462001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1247
1248 * zserv.c: Remove OLD_RIB codes.
1249
12502001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1251
1252 * zebra-0.90 is released.
1253
12542001-01-09 Matthew Grant <grantma@anathoth.gen.nz>
1255
1256 * interface.c (if_new_intern_ifindex): Allocate a new internal
1257 interface index.
1258 (if_addr_refresh): Fix up ip addresses configured via zebra.
1259 (if_add_update): Handle an interface addition.
1260 (if_delete_update): Handle an interface delete event.
1261
1262 * rib.c (nexthop_ipv4_add): Add kernel route deletion process when
1263 interface goes down.
1264
12652001-01-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1266
1267 * interface.c (if_dump_vty): When HAVE_NET_RT_IFLIST is defined,
1268 NetBSD also use this function. Suggested by Jasper Wallace
1269 <jasper@ivision.co.uk>.
1270
12712001-01-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1272
1273 * rib.c (nexthop_active_ipv4): Move back to set methodo to old
1274 one.
1275
12762001-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1277
1278 * rib.c (rib_add_ipv4): EBGP multihop set ZEBRA_FLAG_INTERNAL
1279 flag, so treat it.
1280
12812001-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1282
1283 * rt_netlink.c (netlink_talk_ipv6): When IPv6 route message is
1284 sent from netlink_cmd, the same message comes from netlink. To
1285 avoid confusion, temporary netlink_talk_ipv6 use netlink.sock
1286 instead of netlink_cmd.sock.
1287
12882001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1289
1290 * zserv.h (ZEBRA_SERV_PATH): Change "/tmp/zebra" to "/tmp/.zebra".
1291 Change "/tmp/zserv" to "/tmp/.zserv".
1292
12932000-12-29 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
1294
1295 * rt_netlink.c (struct nlsock): Divide kernel message into listen
1296 socket and command socket.
1297 (netlink_talk): Remove socket listen code. Use netlink_parse_info
1298 for read kernel response.
1299
13002000-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1301
1302 * rib.c (vty_show_ip_route): Show uptime of the RIP,OSPF,BGP
1303 routes.
1304
13052000-12-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1306
1307 * rt_netlink.c (netlink_route_multipath): Metric value is
1308 reflected to kernel routing table.
1309
1310 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Likewise.
1311
1312 * kernel_socket.c (rtm_write): Likewise.
1313
1314 * rib.c (nexthop_active_ipv4): Only iBGP route perform recursive
1315 nexthop lookup.
1316
1317 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Add ioctl version of
1318 new RIB implementation.
1319
13202000-12-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1321
1322 * rib.h: Remove MULTIPATH_NUM. It is defined by configure script.
1323
13242000-12-25 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1325
1326 * rib.c (rib_if_up): Call rib_fib_set instead of RIB_FIB_SET for
1327 proper redistribution.
1328
13292000-12-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1330
1331 * rib.c (nexthop_active_ipv4): Add self lookup nexthop check.
1332 (show_ip_route_protocol): Support new RIB.
1333
1334 * rt_netlink.c (netlink_route_change): Do not return when gate is
1335 NULL.
1336
13372000-12-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1338
1339 * rib.c (rib_lookup_ipv4_nexthop): IBGP nexthop check function is
1340 updated.
1341 (rib_add_ipv4): Free implicit withdraw route's RIB.
1342
13432000-12-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1344
1345 * rib.c (nexthop_active_ipv4): Check indirect nexthop.
1346
1347 * redistribute.c (redistribute_add_multipath): Redistribution
1348 works with new rib code.
1349
13502000-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1351
1352 * rt_netlink.c (netlink_route_multipath): Check useful nexthop
1353 number.
1354 (netlink_route_multipath): Clear rtnh_flags and rtnh_hops.
1355
1356 * rib.c (nexthop_active_update): Set flag for the rib's nexthop
1357 activity is changed.
1358 (nexthop_active_check): Before checking interface is up, make it
1359 sure the interface exist.
1360
13612000-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1362
1363 * rib.c (ip_route): New RIB prototype.
1364
13652000-11-16 Yon Uriarte <ukl2@rz.uni-karlsruhe.de>
1366
1367 * zserv.c (zsend_interface_add): Send hardware address when
1368 hw_addr_len is greater than 0.
1369
13702000-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1371
1372 * connected.c (connected_up_ipv4): Fix ptop bug. The destination
1373 network should be installed into routing table.
1374 (connected_down_ipv4): Likewise.
1375 (connected_add_ipv4): Change to use connected_up_ipv4.
1376 (connected_delete_ipv4): Likewise.
1377
13782000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1379
1380 * rt_netlink.c (netlink_interface_addr): Revert Harald Welte
1381 <laforge@gnumonks.org>'s ptop patch then back to original code to
1382 avoid duplicated connected route problem. Suggested by Frank van
1383 Maarseveen <F.vanMaarseveen@inter.NL.net>.
1384
1385 * kernel_socket.c (rtm_read): Make behavior consistent even #ifdef
1386 DEBUG is defined. Reported by Jun-ichiro itojun Hagino
1387 <itojun@iijlab.net>.
1388
13892000-10-23 Jochen Friedrich <jochen@scram.de>
1390
1391 * main.c (main): Call zebra_snmp_init() when it is enabled.
1392
13932000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1394
1395 * zserv.c (zebra_serv_un): UNIX domain socket server of zebra
1396 protocol.
1397
13982000-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1399
1400 * rib.c (rib_add_ipv4): Same check bug is fixed.
1401
14022000-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1403
1404 * rib.c (rib_if_down): Remove kernel route when the interface goes
1405 down.
1406
1407 * debug.c: New command "debug zebra kernel" is added.
1408
14092000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1410
1411 * zebra-0.89 is released.
1412
14132000-09-24 Harald Welte <laforge@gnumonks.org>
1414
1415 * rt_netlink.c (netlink_interface_addr): Fix point-to-point address
1416 treatment in netlink interface.
1417
14182000-09-21 David Lipovkov <dlipovkov@OpticalAccess.com>
1419
1420 * rib.c (rib_if_down): Pull static route only. Protocol daemon
1421 must withdraw routes when interface goes down.
1422 (rib_add_ipv4): Check nexthop when replace route.
1423
14242000-09-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1425
1426 * if_ioctl.c (if_getaddrs): New function for looking up
1427 interface's address by getifaddrs().
1428
14292000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1430
1431 * connected.c (connected_delete_ipv4): Add check for connected
1432 address is found or not.
1433 (connected_add_ipv6): Reflect IPv6 connected address change to
1434 protocol daemons.
1435 (connected_delete_ipv6): Likewise.
1436
14372000-09-07 David Lipovkov <davidl@nbase.co.il>
1438
1439 * rib.c (rib_delete_ipv4): Reverted the change from pseudo
1440 interface patch to original. Because ospfd deletes routes using
1441 zero ifindex.
1442
14432000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1444
1445 * zebra-0.88 is released.
1446
14472000-08-15 "Akihiro Mizutani" <mizutani@dml.com>
1448
1449 * rib.c (show_ip_route_protocol): Help string correction.
1450 (show_ip_route_prefix): Check prefix mask.
1451 (show_ip_route_vty_detail): Display distance and metric.
1452
14532000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1454
1455 * zserv.c (zsend_interface_add): Change ifindex store size from
1456 two octet to four.
1457 (zsend_interface_delete): Likewise.
1458 (zsend_interface_address_add): Likewise.
1459 (zsend_interface_address_delete): Likewise.
1460 (zsend_interface_up): Likewise.
1461 (zsend_interface_down): Likewise.
1462
14632000-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1464
1465 * rib.c (rib_add_ipv4): Do not install distance 255 route.
1466
14672000-08-10 Toshiaki Takada <takada@zebra.org>
1468
1469 * interface.c (bandwidth_if), (no_bandwidth_if): Call
1470 zebra_interface_up_update () instead of using if_up() and if_down().
1471
14722000-08-07 "Akihiro Mizutani" <mizutani@dml.com>
1473
1474 * interface.c (bandwidth_if): Fix help string.
1475
14762000-08-07 Matthew Grant <grantma@anathoth.gen.nz>
1477
1478 * interface.c (if_dump_vty): Display bandwidth value.
1479 (bandwidth_if): New command "bandwidth <1-10000000>" is added.
1480 When interface is up, force protocol daemons to recalculate routes
1481 due to cost change.
1482 (no_bandwidth_if): Likewise.
1483 (if_config_write): Output bandwidth configuration.
1484
1485 * zserv.c (zsend_interface_add): Send bandwidth value.
1486 (zsend_interface_up): Likewise.
1487 (zsend_interface_down): Likewise.
1488
1489
14902000-08-07 Michael Rozhavsky <mike@nbase.co.il>
1491
1492 * rib.c (show_ip_route_protocol): "show ip route
1493 (bgp|connected|kernel|ospf|rip|static)" is added.
1494
14952000-08-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1496
1497 * rib.c (rib_lookup_ipv4_nexthop): Check parent node until IGP
1498 nexthop is found.
1499 (rib_add_ipv4_internal): Set fib ifindex to rib ifindex.
1500
15012000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1502
1503 * redistribute.c (redistribute_delete): Fix bug of default route
1504 redistribute treatment.
1505
15062000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1507
1508 * rib.c (rib_init): Install ip_node in rib.c instead of zserv.c.
1509 Change default distance value.
1510
1511 Old New
1512 ------------------------------------------
1513 system 10 0
1514 kernel 20 0
1515 connected 30 0
1516 static 40 1
1517 rip 50 120
1518 ripng 50 120
1519 ospf 60 110
1520 ospf6 49 110
1521 bgp 70 200(iBGP) 20(eBGP)
1522 ------------------------------------------
1523
1524 * zserv.c (client_lookup): Function removed.
1525 (zsend_interface_add): Use client's output buffer. Check ifinfo
1526 flag.
1527 (zsend_interface_delete): Likewise.
1528 Delete ipv4_static_radix and ipv6_static_radix.
1529
15302000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1531
1532 * zserv.h (struct zebra_client): When client request interface
1533 information, ifinfo is set.
1534
1535 * rib.c: Temporary Revert changes for pseudo interface.
1536
1537 * rib.h: Likewise.
1538
1539 * zserv.c: Likewise.
1540
1541 * interface.c: Likewise.
1542
15432000-08-02 David Lipovkov <davidl@nbase.co.il>
1544
1545 * interface.c (zebra_if_init): Install interface "pseudo"
1546 commands.
1547
1548 * rib.c (rib_create): ifname argument is added.
1549 (rib_add_ipv4_pseudo): New function is added.
1550 (rib_delete_ipv4_pseudo): Likewise.
1551
1552 * rib.h : Delete INTERFACE_UNKNOWN definition. Add prototype for
1553 pseudo interface functions.
1554
1555 * rt_netlink.c (netlink_link_change): Check for pseudo interface.
1556
1557 * zserv.c (ip_route): When destination is pseudo interface, call
1558 rib_add_ipv4_pseudo().
1559
1560 * zserv.c (no_ip_route): Trim "unknown" argument.
1561
15622000-07-26 kunitake@dti.ad.jp
1563
1564 * if_ioctl.c (if_get_hwaddr): Fix hardware address length from 8
1565 to 6.
1566
1567 * rtadv.c (rtadv_send_packet): Fix shift bug for hardware address.
1568
15692000-07-24 Akihiro Mizutani <mizutani@dml.com>
1570
1571 * interface.c: Use install_default() for common VTY commands.
1572
15732000-07-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1574
1575 * if_ioctl.c (interface_list_ioctl): A interface list size is
1576 calculated from ifreq->if_addr.sa_len. This is for OpenBSD.
1577
1578 * ioctl.c (if_get_mtu): Remove codes for SIOCGIFDATA.
1579
15802000-07-09 Chris Dunlop <chris@onthe.net.au>
1581
1582 * if_ioctl.c (if_get_index): Add check for HAVE_BROKEN_ALIASES.
1583
15842000-07-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1585
1586 * zserv.c (zebra_client_read): Add ZEBRA_REDISTRIBUTE_{ADD,DELETE}
1587 message handling.
1588
15892000-07-02 David Lipovkov <davidl@nbase.co.il>
1590
1591 * zserv.c: "ip route A.B.C.D/M unknown" command is added.
1592
15932000-06-28 Michael Rozhavsky <mike@nbase.co.il>
1594
1595 * rib.c: Remove old kernel route when new route comes in.
1596
15972000-06-13 David Lipovkov <davidl@nbase.co.il>
1598
1599 * rib.c (rib_if_up): Add check for unknown interface.
1600
16012000-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1602
1603 * rib.h: Define INTERFACE_UNKNOWN.
1604
16052000-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1606
1607 * Makefile.am (EXTRA_DIST): Move irdp.c until implementation is
1608 finished.
1609
16102000-06-05 David Lipovkov <davidl@nbase.co.il>
1611
1612 * interface.c (if_zebra_delete_hook): Call rib_if_delete().
1613
1614 * redistribute.c (zebra_interface_delete_update): New function.
1615
1616 * redistribute.h (zebra_interface_delete_update): New function
1617 prototype.
1618
1619 * rib.c (rib_if_delete): New function. Walk down all routes and
1620 delete all on the interface.
1621
1622 * rib.h: New function prototype.
1623
1624 * rt_netlink.c (netlink_link_change): Call
1625 zebra_interface_delete_update ().
1626
16272000-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1628
1629 * if_ioctl.c (interface_info_ioctl): Check interface's flag before
1630 checking interface's address.
1631
16322000-04-26 Jochen Friedrich <jochen@nwe.de>
1633
1634 * GNOME-PRODUCT-ZEBRA-MIB: New file.
1635
1636 * GNOME-SMI: New file.
1637
16382000-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1639
1640 * irdp.c: New file from 1997 development code.
1641 * irdp.h: Likewise.
1642
16432000-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1644
1645 * rtadv.c (rtadv_send_packet): Enclose router advertisement
1646 logging with IS_ZEBRA_DEBUG_PACKET.
1647
16482000-04-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1649
1650 * zserv.c (zebra_client_close): Remove client structure from
1651 client_list when connection is terminated.
1652
16532000-03-21 David Lipovkov <davidl@nbase.co.il>
1654
1655 * connected.c (connected_add_ipv4): Allows all necessary structure
1656 updates for connected route, but doesn't insert it into rib if
1657 it's interface is down.
1658
16592000-01-21 Hideto Yamakawa <hideto.yamakawa@soliton.co.jp>
1660
1661 * rtread_getmsg.c: Set some definition for Solaris 2.5 and Solaris
1662 2.5.1.
1663
16642000-01-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1665
1666 * rib.c (no_ipv6_route_ifname): Fix buf of cheking return value
1667 from str2prefix_ipv6().
1668
16692000-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1670
1671 * rt_socket.c: Revert to use RTF_HOST for IPv4 with /32 route and
1672 IPv6 with /128 routes.
1673 (kernel_rtm_ipv4): In case of /32 route's gateway is interface. It
1674 should have mask for cloning.
1675
16761999-12-26 Jochen.Friedrich@genorz.de
1677
1678 * interface.c (if_dump_vty): Fix a bug of missing VTY_NEWLINE.
1679
16801999-12-23 Alex Zinin <zinin@amt.ru>
1681 * interface.*: dynamic int up/down support
1682
16831999-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1684
1685 * ipforward_proc.c (dropline): Move dropline() from lib/dropline.c
1686
1687 * rtread_proc.c (proc_route_read): Don't use dropline().
1688
16891999-12-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1690
1691 * kernel_socket.c (rtm_read): When message is RTM_GET, it has own
1692 process's pid.
1693
16941999-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1695
1696 * main.c (main): Change to default log output to ZLOG_STDOUT.
1697
1698 * zserv.c (zebra_serv): More detailed error print.
1699
17001999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1701
1702 * kernel_socket.c (rtm_read): Check old pid for static route
1703 insertion check.
1704
17051999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1706
1707 * interface.c (if_dump_vty): BSDI/OS uses 64bit for interface
1708 statistics counter.
1709
1710 * mtu_kvm.c: New file added.
1711
17121999-11-27 Vladimir B. Grebenschikov <vova@express.ru>
1713
1714 * kernel_socket.c (rtm_write): Set RTF_CLONING flag for
1715 route to the directly connected interface.
1716
17171999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1718
1719 * rt_socket.c: Delete USE_HOST_BIT definition.
1720
17211999-11-21 Michael Handler <handler@sub-rosa.com>
1722
1723 * rtread_getmsg.c: Undef some definition to resolve conflict.
1724
17251999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1726
1727 * kernel_socket.c (rtm_write): Change to use pre stored struct_dl
1728 value for gateway specification.
1729
17301999-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1731
1732 * rt_socket.c (kernel_rtm_ipv4): Even mask is 32 under IPv4 or
1733 128 under IPv6, don't use RTF_HOST.
1734
17351999-11-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1736
1737 * Makefile.am (EXTRA_DIST): Add rtread_getmsg.c.
1738
17391999-11-21 Michael Handler <handler@sub-rosa.com>
1740
1741 * rtread_getmsg.c: Added for Solaris 2.6 support.
1742
17431999-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1744
1745 * rtread_sysctl.c (rtm_read_route): RTM_DELETE handling added.
1746
1747 * rt_socket.c (kernel_read): Better BSD routing socket support.
1748
17491999-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1750
1751 * client_main.c: Disable making obsolete zebra test `client'
1752 command.
1753
17541999-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1755
1756 * zebra.c: Renamed to zserv.c.
1757
1758 * zebra.h: Global definitions are moved to lib/zebra.h. Then
1759 renamed to zserv.h.
1760
17611999-10-15 Jordan Mendelson <jordy@wserv.com>
1762
1763 * if_ioctl.c: Add Linux 2.2.X's alias support and dynamic
1764 interface. Remove ugly MAX_INTERFACE handling codes.
1765
17661999-09-17 Satosi KOBAYASI <kobayasi@north.ad.jp>
1767
1768 * Fix serious bug of IPv6 route deletion.
1769
17701999-09-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1771
1772 * ioctl.c (if_set_prefix): Properly set broadcast address.
1773
17741999-09-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1775
1776 * rib.c (rib_add_ipv6, rib_delete_ipv6): now protocol daemons
1777 can install connected route to kernel via zebra
1778
17791999-08-24 VOP <vop@unity.net>
1780
1781 * rib.c: Include "sockunion.h"
1782
17831999-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
1784
1785 * ipforward.h: New file.
1786
1787 * zebra.h: Obsolete message ZEBRA_GET_ALL_INTERFACE,
1788 ZEBRA_GET_ONE_INTERFACE, ZEBRA_GET_HOSTINFO are deleted.
1789
17901999-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1791
1792 * zebra.h (ZEBRA_INTERFACE_ADDRESS_ADD):
1793 ZEBRA_INTERFACE_{ADD,DELETE} added.
1794
17951999-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1796
1797 * rib.c: show ip route A.B.C.D works.
1798
1799 * zebra.c (zebra_read_ipv4): Add ifindex to zebra messages.
1800
18011999-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1802
1803 * zebra.h: New Zebra message ZEBRA_INTERFACE_{ADD,DELETE} added.
1804
18051999-08-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1806
1807 * interface.h: New file.
1808 * Makefile.am: Add interface.h
1809
18101999-08-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1811
1812 * redistribute.c (zebra_redistribute): give ifindex to client.
1813
18141999-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1815
1816 * main.c (longopts): -k, --keep_kernel option added.
1817
18181999-07-18 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1819
1820 * rt_socket.c (rtm_write): forgot closing socket bug fixed.
1821
18221999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1823
1824 * rib.c (show_ipv6_cmd): if rib is link show interface name.
1825
18261999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1827
1828 * rt_socket.c (rtm_write): use sockaddr_dl when null gateway.
1829
18301999-07-16 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1831
1832 * rt_socket.c (rtm_write): ipv6 route table bug fixed.
1833
18341999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1835
1836 * zebra.c (zebra_read_ipv6): read link prefix from ospf6 support
1837
18381999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1839
1840 * rt_socket.c (kernel_rtm_ipv6): gate treatment bug fixed.
1841
18421999-07-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1843
1844 * if_sysctl.c (ifm_read): Clear sockunion argument before fetching
1845 data. Suggested by "Chris P. Ross" <cross@eng.us.uu.net>
1846
18471999-07-08 HEO SeonMeyong <seirios@Matrix.IRI.Co.Jp>
1848
1849 * interface.c (if_tun_add): Add KAME's gif tunnel setting codes.
1850
18511999-06-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1852
1853 * zebra.c (zebra_serv): Only accept loopback address connection.
1854
18551999-06-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1856
1857 * zebra.h (ZEBRA_ROUTE_EXTERNAL): Add zebra messages flags
1858
18591999-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1860
1861 * ipforward_proc.c: ipforward_on () and ipforward_off () added.
1862
18631999-06-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1864
1865 * ipforward_proc.c (ipforward_ipv6): Check for IPv6 forwarding
1866 using /proc file system is added.
1867
18681999-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1869
1870 * if_ioctl.c (if_get_index): Interface index set bug is fixed by
1871 adding #else at the middle of function. Suggested by David Luyer
1872 <luyer@ucs.uwa.edu.au>.
1873
18741999-05-29 <kunihiro@zebra.org>
1875
1876 * rt_ioctl.c: Comment out #include <linux/ipv6_route.h>.
1877
18781999-05-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1879
1880 * zebra.h (ZEBRA_ROUTE_MAX): Add new define for the max value of
1881 the sort of routes.
1882
18831999-05-25 Patrick Koppen <koppen@rhrk.uni-kl.de>
1884
1885 * rt_netlink.c (netlink_socket): Make netlink socket non-blocking.
1886 (netlink_parse_info): If errno is EWOULDBLOCK then continue to
1887 parse the message.
1888 (netlink_talk): Likewise
1889
18901999-05-17 <kunihiro@zebra.org>
1891
1892 * redistribute.c (zebra_check_addr): Added for loopback address
1893 check.
1894
18951999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1896
1897 * rt_netlink.c (netlink_route_change): Tempolary bypass ipv6 route
1898 change treatment.
1899
1900 * Makefile.am (noinst_HEADERS): redistribute.h added.
1901
1902 * redistribute.h: New file.
1903
19041999-05-14 Stephen R. van den Berg <srb@cuci.nl>
1905
1906 * zebra.c (show_table): Show all table configuration DEFUN.
1907 (config_table): Config table number DEFUN.
1908
1909 * rt_netlink.c: Add support for multiple routing table.
1910
1911 * rib.c (rib_weed_table): New function added for delete all
1912 routes from specified routing table.
1913
1914 * main.c (signal_init): SIGTERM call sigint.
1915 (sigint): Loggging more better message.
1916
19171999-05-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1918
1919 * rt_netlink.c: Change log () to zlog ().
1920
19211999-05-07 <kunihiro@zebra.org>
1922
1923 * zebra.h (ZEBRA_ROUTE_OSPF6): Added for ospf6d route.
1924
19251999-04-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1926
1927 * interface.c: Add `no ip address' command.
1928
19291999-04-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1930
1931 * rt_netlink.c (kernel_read): Function added for asynchronous
1932 zebra between kernel communication.
1933
19341999-03-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1935
1936 * rtread_sysctl.c (rtm_read): Fix address memcopy overrun bug.
1937 Reported by Achim Patzner <ap@bnc.net>.
1938
19391999-03-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1940
1941 * Makefile.am: Install configuration sample with 600 permission.
1942
19431999-03-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1944
1945 * Makefile.am: Add -I.. to INCLUDES.
1946
19471999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
1948
1949 * syslog support added
1950
19511999-02-17 Peter Galbavy <Peter.Galbavy@knowledge.com>
1952
1953 * if_sysctl.c (interface_list): allocated memory free when unknown
1954 ifm_type is returned.
1955
1956 * ioctl.c (if_get_mtu): added SIOCGIFDATA treatment.
1957
19581998-12-15 Magnus Ahltorp <map@stacken.kth.se>
1959
1960 * interface.c: Header include added.
1961
19621998-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1963
1964 * rt.h (kernel_delete_ipv6): change int index to unsigned int index.
1965
19661998-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1967
1968 * if_ioctl.c (interface_list_ioctl): interface flag must be
1969 checked before check addresses of the interface.
1970
19711998-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1972
1973 * Makefile.am (INCLUDES): add @INCLUDES@ for Linux IPv6.
1974
19751998-10-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1976
1977 * ioctl.c: Linux version before 2.1.0 need interface route setup.
1978
19791998-09-15 HEO SeonMeyong <seirios@matrix.iri.co.jp>
1980
1981 * change HYDRANGEA to KAME
1982
19831998-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1984
1985 * if_ioctl.c (if_addr_ioctl): set address family for getting
1986 interface's address.
1987 (if_get_index): silently return when can't get interface's index.
1988
19891998-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1990
1991 * main.c (main): batch mode option '-b' added.
1992
19931998-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1994
1995 * ioctl.c (if_set_prefix): add `ip address IPV4ADDR' command.
1996 * interface.c (shutdown_if): add interface shutdown and no
1997 shutdown command.
1998
19991998-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
2000
2001 * rib.c (rib_add_ipv6): delete rib_add_in6.
2002
20031998-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2004
2005 * main.c: retain flag is added.
2006
20071998-07-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2008
2009 * rtable.[ch]: merged with rib.[ch]
2010
20111998-07-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2012
2013 * connected.h: renamed from ifa.h.
2014
20151998-06-09 Kunihiro Ishiguro <kunihiro@zebra.org>
2016
2017 * rename if.c to interface.c
2018 * rename ifa.c to connected.c
2019
2020 * Porting to Debian GNU/Linux 2.0 (hamm).
2021
20221998-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2023
2024 * rt_netlink.c: renamed from krt_netlink.c
2025
2026 * fib.c: deleted.
2027 * rt_kvm.c: deleted.
2028 * rtread_getmsg.c: deleted.
2029
20301998-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2031
2032 * if.c (multicast): add multicast flag [un]set fucntion.
2033
20341998-05-19 Yamshita TAKAO <jargon@lares.dti.ne.jp>
2035
2036 * rt_socket.c: Modify for compile on Solaris, but dont't work it.
2037 rt_socket.c have some undefined function, so add directive "IMPLEMENT"
2038
20391998-05-18 Yamshita TAKAO <jargon@lares.dti.ne.jp>
2040
2041 * zebra.c: Modify for compile on Solaris.
2042
20431998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
2044
2045 * main.c: change CONFDIR to SYSCONFDIR.
2046
20471998-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
2048
2049 * .cvsignore: added.
2050
20511998-04-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2052
2053 * client.c: moves to ../lib.
2054
20551998-03-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2056
2057 * if_ioctl.c (if_get_addr): Change address copy from memcopy() to
2058 structure assignment.
2059
20601998-03-30 URA Hiroshi <ura@yamato.ibm.co.jp>
2061
2062 * if_sysctl.c (ifm_interface_add): sdl->sdl_data copy bug fixed.
2063
20641998-02-23 "Hannes R. Boehm" <hannes@boehm.org>
2065
2066 * if.c (if_init): add config_exit_cmd and config_help_cmd.
2067
20681998-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2069
2070 * rt_ioctl.c (route_ioctl): EPERM treatment added.
2071
20721998-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2073
2074 * rt_socket.c (kernel_read): communication port zebra between
2075 kernel is now handled by kernel_read.
2076
20771998-01-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2078
2079 * main.c (main): zebra [-P port] can specify vty port number.
2080
20811997-12-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2082
2083 * zebra.c: change select will be block.
2084
20851997-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2086
2087 * add static route treatment.
2088
20891997-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2090
2091 * rt_netlink.c: add netlink support over GNU/Linux system.
2092
20931997-11-23 Kunihiro Ishiguro <kunihiro@zebra.org>
2094
2095 * all inet_addr is changed to inet_aton.
2096
2097 * zebra.c (ip_route): add ip route command for static routes.
2098
20991997-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
2100
2101 * if.c (if_flag_dump): Linux port of if_flag_dump and _vty.
2102
21031997-11-19 Kunihiro Ishiguro <kunihiro@zebra.org>
2104
2105 * if.c: add interface command.
2106
21071997-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
2108
2109 * ipforward_proc.c : Now works on Linux.
2110
21111997-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2112
2113 * command.c : add completion feature.
2114
21151997-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
2116
2117 * vty.c (vty_command): add vty interface.
2118
21191997-10-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2120
2121 * zebra.c: add verbose mode.
2122
21231997-10-12 SonMyong Ho <s-ho@Matrix.IRI.Co.Jp>
2124
2125 * Hydrangea for FreeBSD supported
2126 * in.h: add some prototype.
2127
21281997-10-11 Kunihiro Ishiguro <kunihiro@zebra.org>
2129
2130 * rt_socket.c and rtread.c completely rewritten.
2131
21321997-10-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2133
2134 * rt_socket.c: rename kernel_sock to routing_socket
2135
21361997-10-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2137
2138 * if.c (if_new): interface structure change from linklist to vector.
2139
21401997-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
2141
2142 * vector.c (vector_init): create vector related function
2143
21441997-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2145
2146 * Makefile.in: add tags target
2147
2148 * start IPv6 support for INRIA FreeBSD.
2149