blob: a40d3e93f8439628b97d19b58eec58a7f0beb816 [file] [log] [blame]
pauld34b8992006-01-17 18:03:04 +000012006-01-17 Paul Jakma <paul.jakma@sun.com>
2
3 * kernel_socket.c: (ifam_read) Read metric from RTM_NEWADDR.
4 If interface is an alias, pass the alias as a label for
5 connected_add_ipv{4,6}.
6 * rt_netlink.c: (netlink_interface_addr) print out
7 IFA_CACHEINFO info, if present, when debugging kernel
8 messages.
9
paulc7133002006-01-17 17:56:18 +0000102006-01-17 Gunnar Stigen <gunnar.stigen@axxessit.no>
11
12 * connected.c: (connected_up_ipv{4,6}) Include interface metric on
13 connected routes.
paul61f42ae2006-01-17 17:59:11 +000014 * if_ioctl.c: (if_getaddrs) Be defensive about assuming
15 that struct ifaddrs will have ifa_addr filled in.
paulc7133002006-01-17 17:56:18 +000016
paulc1b98002006-01-16 01:54:02 +0000172006-01-16 Paul Jakma <paul.jakma@sun.com>
18
19 * zserv.c: Read/write updated Zserv header.
20
paulc77d4542006-01-11 01:59:04 +0000212006-01-11 Paul Jakma <paul.jakma@sun.com>
22
23 * zserv.c: (zsend_interface_{add,delete,update}) if flags are
24 8 bytes now, update to write out with stream_putq.
25
gdt6083e1f2005-12-29 15:59:57 +0000262005-12-29 Greg Troxel <gdt@fnord.ir.bbn.com>
27
gdte14b7fc2005-12-29 16:04:53 +000028 * kernel_socket.c: remove dead code (from David Young).
29
gdt6083e1f2005-12-29 15:59:57 +000030 * rt_socket.c (kernel_rtm_ipv4): Use AF_INET rather than AF_UNSPEC
31 for mask. From David Young.
32
paul89368d92005-11-26 09:14:07 +0000332005-11-26 Paul Jakma <paul.jakma@sun.com>
34
35 * connected.{c,h}: (connected_add_ipv6) label should have
36 const qualifier, fix declarations.
37
paulec1a4282005-11-24 15:15:17 +0000382005-11-24 Paul Jakma <paul.jakma@sun.com>
39
40 * kernel_socket.h: New header for functions exported to sysctl
41 methods.
42 * kernel_socket.c: include previous.
43 Remove static qualifier from couple of functions which are
44 used by sysctl methods.
45 Add a workaround for a bogus gcc warning to the RTA_ macros.
46 * Makefile.am: Add kernel_socket.h to noinst_HEADERS
47 * if_sysctl.c: include rt.h and kernel_socket.h and remove
48 redundant prototypes.
49 * rtread_sysctl.c: ditto.
50 (route_read) fix mismatch of return values.
51 * {rt,zserv,rib}.h: Include lib headers depended on.
52
paul6621ca82005-11-23 13:02:08 +0000532005-11-23 Paul Jakma <paul.jakma@sun.com>
54
55 * (general) fix some small compile errors, and mark several
56 functions as static.
57 * kernel_socket.c: (ifan_read) should be static.
58 fix missing brackets.
59 (ifm_read,ifam_read,rtm_read_mesg,kernel_read) Make static
60 (ifam_read_mesg) make static. fix incorrect variable name.
61 (rtm_read) make static. Fix call to rib_delete_ipv4 which
62 should be rib_delete_ipv6.
63 (routing_socket,kernel_init) should be static. Void argument
64 should be specified as such, not left incomplete.
65 * rt_netlink.c: rt.h should be included, contains prototypes of
66 exported functions.
67 (kernel_delete_ipv6_old) fix sign of index argument.
68 * rt_socket.c: Exact same as previous. Also, make various
69 functions static.
70 * rtread_getmsg.c: Include zserv.h, which prototypes
71 route_read. Make static.
72 * rtread_sysctl.c: zserv.h and rt.h should be included.
73 fix definition of route_read.
74
paul0fb58d52005-11-14 14:31:49 +0000752005-11-14 Paul Jakma <paul.jakma@sun.com>
76
77 * zebra_rib.c: (rib_process) convert to new workqueue specs and
78 shut up gcc, which complains about cast from void via
79 function parameters, for some dumb reason. Do the cast
80 inside the function instead.
81 (rib_queue_qnode_del) ditto.
82 (rib_queue_init) no need for the casts anymore.
83
paul6fe70d12005-11-12 22:55:10 +0000842005-11-12 Alexander Gall <gall@switch.ch>
85
86 * See [quagga-dev 1815]
87 * kernel_socket.c: (rtm_write) Use SAROUNDUP when HAVE_SIN_LEN
88 is not available.
89 * rt_socket.c: (kernel_rtm_ipv6(_multipath)) set family to
90 AF_INET6 on ipv6 routes.
91
922005-11-12 Paul Jakma <paul.jakma@sun.com>
93
94 * kernel_socket.c: Add RTA_NAME_GET macro to extract name from
95 sockaddr_dl. Add some more RTF_ flags.
96 * (ifan_read) Add some debug messages.
97 * (ifm_read) Add more debug messages. More robust cross-checks
98 of index against name.
99 Fall back to by-name lookup if the index lookup fails, future
100 proofing more than anything else.
101 (ifam_read_mesg) Read RTA_IFP. Add debug messages.
102 (ifam_read) More debug. If there's an RTA_IFP and it isn't
103 the name of the interface, save it as the label.
104 (rtm_read_mesg) Read RTA_IFP.
105 (rtm_read) allow name to be retrieved.
106 (rtmsg_debug) expand on the debug message.
107
paul0994c3a2005-11-11 09:52:40 +00001082005-11-11 Paul Jakma <paul.jakma@sun.com>
109
110 * kernel_socket.c: (ifm_read) arithmetic on void pointer
111 warning.
112 (ifam_read) Fix error from connected-with-label merge,
113 something crept in from the pending Solaris kernel_socket.c
114 patch which shouldn't have.
115
paul0752ef02005-11-03 12:35:21 +00001162005-11-03 Paul Jakma <paul.jakma@sun.com>
117
118 * connected.{c,h}: Include memory.h
119 (connected_add_ipv4) Use MTYPE for ifc label.
120 (connected_add_ipv6) Also should accept label. Store it in ifp.
121 (connected_del_ipv4) Taking label as argument is pointless.
122 * rt_netlink.c: (netlink_interface_addr) update label usage
123 for connected_{add,delete} functions.
124 * if_ioctl.c: (if_getaddrs) NULL label for connected_add_ipv6.
125 * if_ioctl_solaris.c: (interface_list_ioctl) Pass LIFC_NOXMIT
126 so we also find out about NOXMIT interfaces like VNI.
127 Bit of hackery to turn interface names into the primary
128 interface name, later with routing socket messages we only
129 will about primary interfaces anyway, so we must normalise
130 the name.
131 (if_get_addr) take label as argument, so it can
132 be passed to connected_add.
133 If label is provided, then it is interface name to issue the
134 ioctl for address information on, not the ifp name.
135 (interface_list) List AF_UNSPEC too, just in case.
136 * if_proc.c: (ifaddr_proc_ipv6) label for connected_add_ipv6.
137 * interface.c: (if_addr_wakeup) Some very bogus code - sets
138 IFF_RUNNING - add comment.
139 (if_refresh)
140 (ip_address_install) Use MTYPE for ifc label.
141 * ioctl_solaris.c: (if_mangle_up) New function. Hackery to make
142 IFF_UP reflect whether any addresses are left on the
143 interface, as we get signalled for IFF_UP flags change on the
144 primary interface only. Logical interfaces dont generate
145 IFINFO, but we do get an RTM_DELADDR.
146 (if_get_flags) Call if_mangle_up before return.
147 * kernel_socket.c: (ifam_read) Fixup calls to
148 connected_{add,delete} to match above changes. Rename gate
149 variable to brd, less confusing.
150 Pass the interface name as a label, if it is not same name
151 as ifp->name.
152
pauld06b2a62005-10-11 03:53:54 +00001532005-10-11 Paul Jakma <paul.jakma@sun.com>
154
155 * connected.{c,h}: (connected_{add,delete}_ipv4) label should
156 be const qualified.
157
ajsc05612b2005-10-01 16:36:54 +00001582005-10-01 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
159
ajsf52d13c2005-10-01 17:38:06 +0000160 * zebra_vty.c: (route_type_str) Remove obsolete function: use new
161 library function zebra_route_string() instead. Note that there
162 are a few differences: for IPv6 routes, we now get "ripng" and
163 "ospf6" instead of the old behavior ("rip" and "ospf").
164 (route_type_char) Remove obsolete function: ues new library function
165 zebra_route_char() instead. Note that there is one difference:
166 the old function returned 'S' for a ZEBRA_ROUTE_SYSTEM route,
167 whereas the new one returns 'X'.
168 (vty_show_ip_route_detail,vty_show_ipv6_route_detail) Replace
169 route_type_str() with zebra_route_string().
170 (vty_show_ip_route,vty_show_ipv6_route) Replace route_type_char()
171 with zebra_route_char().
172
1732005-10-01 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
174
ajsc05612b2005-10-01 16:36:54 +0000175 * rt_netlink.c: (netlink_request) Use memset to clear structure
176 before calling sendto (eliminates a valgrind error message about
177 uninitialized data).
vincentaa2e32b2005-09-28 13:42:11 +0000178
1792005-09-28 Alain Ritoux <alain.ritoux@6wind.com>
180
vincentfbf5d032005-09-29 11:25:50 +0000181 * zserv.c: Always provied distance for route add
182
1832005-09-28 Alain Ritoux <alain.ritoux@6wind.com>
184
vincentaa2e32b2005-09-28 13:42:11 +0000185 * connected.c: flag connected_up_ipv6() and connected_down_ipv6()
186 usage with HAVE_IPV6
187
hassod24af182005-09-24 14:00:26 +00001882005-09-24 Hasso Tepper <hasso at quagga.net>
189
190 * rib.h: Add note about behaviour of rib_add_ipv[46]* functions -
191 add is treated as implicit withdraw.
192
hassoebf1ead2005-09-21 14:58:20 +00001932005-09-21 David Young <dyoung@ojctech.com>
194
195 * zebra_rib.c: Reduce the height of some staircases. Fix
196 rib_delete_ipv6() to match routes in the RIB by their gateway as
197 well as by destination.
198
paul319572c2005-09-21 12:30:08 +00001992005-09-21 Paul Jakma <paul.jakma@sun.com>
200
201 * zebra_rib.c: (static_uninstall_ipv{4,6}) Fix regression wrt
202 removal of static routes with multiple-hops introduced with
203 the workqueue conversion. We should free the relevant
204 nexthop and then get rib_process to run, otherwise we just
205 get same static route back again (with no way to unconfigure
206 it, because its already deleted from configuration).
207
paulca162182005-09-12 16:58:52 +00002082005-09-12 Paul Jakma <paul.jakma@sun.com>
209
210 * (general) RTM_CHANGE and implicit withdraw on RTM_NEWADDR
211 support.
212 * connected.c: (connected_withdraw) new function. withdraw a
213 connected subnet address set from zebra, and pass information
214 along to clients.
215 (connected_announce) similar, but to announce a new connected
216 subnet address set.
217 (connected_check_ipv4) renamed to connected_check, as its
218 AFI independent.
219 (connected_add_ipv{4,6}) Remove the connected address announce
220 stuff, use connected_announce instead.
221 If connected_check indicates address is already present,
222 treat it as an implicit withdraw of the existing address, ie
223 remove the old address details and replace with the new
224 details.
225 (connected_delete_ipv{4,6}) Use connected_withdraw.
226 (connected_check_ipv6) deleted in favour of connected_check.
227 * connected.h: Rename connected_check_ipv4 to connected_check.
228 delete connected_check_ipv6.
229 * interface.c: Use connected_check rather than the AFI specific
230 symbols.
231 * kernel_socket.c: (rtm_read) RTM_CHANGE support. Create a
232 rib delete event for the existing route, before adding route
233 again.
234 (kernel_read) we can handle RTM_CHANGE now.
235
hassobe61c4e2005-08-27 06:05:47 +00002362005-08-27 Hasso Tepper <hasso at quagga.net>
237
238 * zebra_rib.c, rib.h: Add distance and metric arguments to the
239 rib_add_ipv6() function so that IPv6 routes in RIB can have correct
240 metric. No IPv6 routing daemon uses distance yet though.
241 * zserv.c, connected.c, kernel_socket.c, rt_netlink.c,
242 rtread_proc.c,zserv.c: Pass metric and distance info to the
243 rib_add_ipv6().
244
paul6eb88272005-07-29 14:36:00 +00002452005-07-29 Paul Jakma <paul.jakma@sun.com>
246
247 * interface.c: (if_delete_update) should always be available, not
248 just on RTM_IFANNOUNCE/NETLINK systems.
249 * kernel_socket.c: (ifan_read) only call if_delete_update when
250 interface departs, dont if_delete, because we wish to retain
251 interface configuration state even when interfaces are removed.
252 (ifm_read) If we dont have RTM_IFANNOUNCE, then transitioning
253 to down state is only chance we have to clean up interface in case
254 it is deleted (eg Solaris down -> unplumb -> plumb up).
255 * redistribute.c: (zebra_interface_delete_update) should always be
256 available, we /will/ call it now on all systems, via
257 if_delete_update.
258 * zserv.c: (zsend_interface_delete) ditto
259 (zsend_interface_address) Update the call-flow diagramme, to
260 reflect that if_delete_update /is/ now called on all systems,
261 potentially.
262 * zserv.h: (zsend_interface_delete) unconditionally exported, as
263 above.
264
paula1ac18c2005-06-28 17:17:12 +00002652005-06-28 Paul Jakma <paul.jakma@sun.com>
266
267 * (global) Extern and static'ification, with related fixups
268 of declarations, ensuring files include their own headers, etc.
paulea6f82b2005-06-28 17:20:26 +0000269 * if_ioctl.c: (interface_info_ioctl) fix obvious arg mis-order in
paula1ac18c2005-06-28 17:17:12 +0000270 list loop
paulea6f82b2005-06-28 17:20:26 +0000271 * kernel_socket.c: (RTA_{ADDR,ATTR}_GET) fix mistake, NULL check
272 should be on DEST argument
paula1ac18c2005-06-28 17:17:12 +0000273
paul62debbb2005-06-14 14:07:07 +00002742005-06-14 Paul Jakma <paul.jakma@sun.com>
275
276 * kernel_socket.c: consolidate the IFAM{ADDR,MASK}GET and
277 RTM{ADDR,MASK}GET macros into generic rta_addrs macros,
278 RTA_{ADDR,ATTR}_GET.
279 (af_check) could use 'inline' attribute
280 (ifam_read_mesg) remove IFAM{ADDR,MASK}GET macro, change to
281 generic macro.
282 (rtm_read_mesg) similar
283
hasso1ada8192005-06-12 11:28:18 +00002842005-06-12 Hasso Tepper <hasso at quagga.net>
285
286 * rt_netlink.c: Remove netlink-addr socket declaration, it's not used.
287 * rt_netlink.c (netlink_parse_info): Fix debug messages - nlmsg_pid is
288 unsigned and one zlog call had swapped arguments.
289 * rt_netlink.c (netlink_route_multipath): Fix compile with disabled
290 IPv6 support.
291
paul1dcb5172005-05-31 08:38:50 +00002922005-05-31 Paul Jakma <paul.jakma@sun.com>
293
294 * zserv.c: (zsend_route_multipath) Fix bug if route is sent
295 with no NEXTHOP_FLAG_FIB nexthops. As ZAPI_MESSAGE_IFINDEX
296 and ZAPI_MESSAGE_NEXTHOP are always set, clients would try
297 read non-existent nexthop information and hit stream assert.
298 Zserv is still broken for multi-nexthop messages, but it always was.
299
paul69e10ad2005-05-06 21:27:33 +00003002005-05-06 Paul Jakma <paul.jakma@sun.com>
301
302 * zserv.h: Remove ZEBRA_PORT definition, its in lib/zebra.h now
303
paul4d38fdb2005-04-28 17:35:14 +00003042005-04-28 Paul Jakma <paul.jakma@sun.com>
305
306 * rib.h: (struct rib) Add lock field for refcounting.
307 * zserv.h: (struct zebra_t) Add a ribq workqueue to the zebra
308 'master' struct.
309 * zserv.c: (zread_ipv4_add) XMALLOC then memset should be XCALLOC.
310 * zebra_rib.c: Clean up refcounting of route_node, make struct rib
311 refcounted and convert rib_process to work-queue. In general,
312 rib's should be rib_addnode'd and delnode'd to route_nodes, and
313 these symmetrical functions will manage the locking of referenced
314 route_node and freeing of struct rib - rather than having users
315 manage each seperately - with much scope for bugs..
316 (newrib_free) removed and replaced with rib_lock
317 (rib_lock) new function, check state of lock and increment.
318 (rib_unlock) new function, check lock state and decrement. Free
319 struct rib if refcount hits 0, freeing struct nexthop's, as
320 newrib_free did.
321 (rib_addnode) Add RIB to route_node, locking both.
322 (rib_delnode) Delete RIB from route_node, unlocking each.
323 (rib_process) Converted to a work-queue work function.
324 Functional changes are minimal, just arguments, comments and
325 whitespace.
326 (rib_queue_add_qnode) Helper function to setup a ribq item.
327 (rib_queue_add) Helper function, same arguments as old
328 rib_process, to replace in callers of rib_process.
329 (rib_queue_qnode_del) ribq deconstructor.
330 (rib_queue_init) Create the ribq.
331 (rib_init) call rib_queue_init.
332 (remainder) Sanitise refcounting of route_node's. Convert to
333 rib_queue_add, rib_addnode and rib_delnode. Change XMALLOC/memset
334 to XCALLOC. Remove calls to nexthop_delete and nexthop_free.
335
paulcf460ef2005-04-10 16:54:26 +00003362005-04-10 Paul Jakma <paul@dishone.st>
337
338 * if_ioctl_solaris.c: (if_lookup_linklocal) fix order of args
339 in ALL_LIST_ELEMENTS_RO macro.
340
ajs57a14772005-04-10 15:01:56 +00003412005-04-10 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
342
343 * zserv.c (zebra_client_read): Fix bug: first read attempt should
344 read ZEBRA_HEADER_SIZE minus the number of bytes already read.
345 Improve efficiency by maintaining a calculation of the number
346 of bytes read instead of calling stream_get_endp multiple times.
347 If message length is too small, issue a warning message (not debug)
348 before closing the connection. And also check that message length
349 is not too big.
350
hasso206d8052005-04-09 16:38:51 +00003512005-04-09 Hasso Tepper <hasso at quagga.net>
352
hassofa599802005-04-09 16:59:28 +0000353 * rt_netlink.c: One tiny missing comma caused pointless debug messages
354 about IPv6 nexthops.
355
3562005-04-09 Hasso Tepper <hasso at quagga.net>
357
hasso206d8052005-04-09 16:38:51 +0000358 * rt_netlink.c (netlink_parse_info): Fix warning. It's safe to cast
359 status to unsigned here, because we already checked that it isn't
360 negative or 0.
361 * rt_netlink.c (netlink_interface_addr): Prefix length belongs to the
362 address, not to the interface.
363 * rt_netlink.c (netlink_route_multipath): Fix debug. No useless info
364 is printed out now and IPv6 info is handeled.
365
paul3d1dc852005-04-05 00:45:23 +00003662005-04-05 Paul Jakma <paul@dishone.st>
367
368 * zserv.c: print more helpful errors when we fail to successfully
369 bind and listen on zserv socket. Closes bugzilla #163.
370
ajsd2fc8892005-04-02 18:38:43 +00003712005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
372
ajs08dbfb62005-04-03 03:40:52 +0000373 * if_ioctl.c: (interface_list_ioctl) Use if_get_by_name_len.
374 * if_proc.c: (ifaddr_proc_ipv6) Increase size of ifname buffer to
375 avoid overflow.
376 * kernel_socket.c: (ifan_read) Use if_get_by_name_len.
377
3782005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
379
ajsa3491982005-04-02 22:50:38 +0000380 * kernel_socket.c: (ifm_read) Use new if_lookup_by_name_len function
381 to save a memcpy.
382 * if_ioctl_solaris.c: (interface_list_ioctl) Fix subtle bug with new
383 if_get_by_name_len function.
384
3852005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
386
ajsd2fc8892005-04-02 18:38:43 +0000387 * interface.c: (if_new_intern_ifindex) Remove obsolete function.
388 (if_delete_update) After distributing the interface deletion message,
389 set ifp->ifindex to IFINDEX_INTERNAL.
390 (if_dump_vty) Detect pseudo interface by checking if ifp->ifindex is
391 IFINDEX_INTERNAL.
392 (zebra_interface) Check return code from interface_cmd.func.
393 Do not set internal ifindex values to if_new_intern_ifindex(),
394 since we now use IFINDEX_INTERNAL for all pseudo interfaces.
395 * kernel_socket.c: (ifm_read) Fix code and comments to reflect that
396 all internal interfaces now have ifp->ifindex set to IFINDEX_INTERNAL.
397 * rt_netlink.c: (set_ifindex) New function used to update ifp->ifindex.
398 Detects interface rename events by checking if that ifindex is already
399 being used. If it is, delete the old interface before assigning
400 the ifindex to the new interface.
401 (netlink_interface, netlink_link_change) Call set_ifindex to update
402 the ifindex.
403
hassob7ed1ec2005-03-31 20:13:49 +00004042005-03-31 Hasso Tepper <hasso at quagga.net>
405
406 * rt_netlink.c (netlink_talk_filter): Show always warning message,
407 it's not for debug.
408 * rt_netlink.c (netlink_talk): Don't assume we use netlink_cmd
409 although we do now actually.
410 * rt_netlink.c (netlink_route, netlink_route_multipath): Always use
411 netlink_cmd to send messages to the kernel.
412
ajs2da40f42005-03-30 16:33:13 +00004132005-03-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
414
415 * irdp.h: Add prototype for irdp_sock_init, and fix protos for
416 other irdp_* functions.
417 * irdp_interface.c: (irdp_if_start) If irdp_sock is negative,
418 call irdp_sock_init to create the IRDP socket.
419 (irdp_if_init) Rename to irdp_init().
420 (get_iflist_ifp) Remove function that is a duplicate of
421 if_lookup_by_index.
422 (*) Make many functions static. And remove superfluous "\n" from
423 several zlog messages.
424 * irdp_main.c: (irdp_init) Remove function that used to call
425 irdp_if_init() and irdp_sock_init(), since we will now create
426 the socket only upon first use.
427 (irdp_sock_init) Do not update global irdp_sock variable, just
428 return the fd and assume that the caller will do so. If setsockopt
429 calls fail, close the socket before returning -1.
430 (*) Make many functions static.
431 * irdp_packet.c: Initialize irdp_sock to -1.
432 (irdp_read_raw) Call standard library function if_lookup_by_index
433 instead of get_iflist_ifp.
434 (irdp_recvmsg) Should be static, not global.
435
ajsa608bbf2005-03-29 17:03:49 +00004362005-03-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
437
438 * rt_netlink.c: (netlink_link_change) If the status of an
439 operative interface changes (e.g. MTU changes), the client
440 daemons should be notified by calling zebra_interface_up_update.
441 Previously, the information was being updated in zebra's
442 interface structure, but the clients were not notified of
443 changes to an operative interface.
444
vincent7cee1bb2005-03-25 13:08:53 +00004452005-03-25 Jean-Mickael Guerin <jean-mickael.guerin@6wind.com>
446 * interface.c, interface.h, rtadv.c, rtadv.h: modifications to
447 IPv6 Neighbor Discovery according to RFC3775, section 7:
448 o 1-bit Home Agent flag management in Router Advertisement (7.1).
449 o 1-bit Router Address flag management in Prefix Information
450 Option (7.2).
451 o Advertisement Interval Option (7.3)
452 o Home Agent Information Option (7.4)
453 o Changes to Sending Router Advertisements more frequently (7.5)
454
hassoed9bb6d2005-03-13 19:17:21 +00004552005-03-13 Hasso Tepper <hasso at quagga.net>
456
457 * zebra/interaface.c: "show interface description" command
458 implemented.
459
paulc1f01f32005-03-12 06:33:14 +00004602005-03-12 Paul Jakma <paul@dishone.st>
461
462 * rt_netlink.c: (netlink_route_multipath) dont set equalise flag.
463 No stock Linux kernel has ever supported it, and even if it had
464 it's not generally a good idea.
465
hasso42a66d72005-03-07 08:19:44 +00004662005-03-07 Michael Sandee <voidptr@voidptr.sboost.org>
467
468 * if_proc.c, ipforward_proc.c, rtread_proc.c: Fix fd leaks.
469
hasso3452d472005-03-06 13:42:05 +00004702005-03-06 Hasso Tepper <hasso at quagga.net>
471
472 * interface.c: Fix CRC and frame errors statistics in Linux.
473
ajs719e9742005-02-28 20:52:15 +00004742005-02-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
475
476 * zserv.c: Must include network.h and buffer.h for non-blocking I/O.
477 Remove global message_queue and t_write (need separate buffering for
478 each client).
479 (zebra_server_dequeue,zebra_server_enqueue) Remove functions
480 related to old buggy buffering code.
481 (zserv_delayed_close) New thread callback function to delete a client.
482 (zserv_flush_data) New thread callback function to flush buffered
483 data to client.
484 (zebra_server_send_message) Rewritten to use buffer_write (so
485 buffering of writes and non-blocking I/O work properly).
486 (zsend_interface_add,zsend_interface_delete,zsend_interface_address,
487 zsend_interface_update) Return 0 instead of -1 if !client->ifinfo
488 (this is not really an error). Return value from
489 zebra_server_send_message.
490 (zsend_route_multipath,zsend_ipv4_nexthop_lookup,
491 zsend_ipv4_import_lookup) Return value from zebra_server_send_message.
492 (zsend_ipv6_nexthop_lookup) Fix scope to static, and return value
493 from zebra_server_send_message.
494 (zsend_router_id_update) Must use zebra_server_send_message instead
495 of deprecated writen function. Return 0 instead of -1 if this client
496 is not subscribed to router-id updates (since this is not really
497 an error).
498 (zread_interface_add) Change type to static int. If
499 zsend_interface_add fails or zsend_interface_address fails, return -1
500 immediately (since the client has had an I/O error).
501 (zread_interface_delete,zread_ipv4_add,zread_ipv4_delete,
502 zread_ipv6_add,zread_ipv6_delete,zread_router_id_delete) Return 0
503 to indicate success.
504 (zread_ipv4_nexthop_lookup) Return value from
505 zsend_ipv4_nexthop_lookup.
506 (zread_ipv4_import_lookup) Return value from zsend_ipv4_import_lookup.
507 (zebra_read_ipv6) Remove unused function.
508 (zread_ipv6_nexthop_lookup) Return value from
509 zsend_ipv6_nexthop_lookup.
510 (zread_router_id_add) Return value from zsend_router_id_update.
511 (zebra_client_close) Call buffer_free(client->wb) and
512 thread_cancel(client->t_suicide).
513 (zebra_client_create) Allocate client->wb using buffer_new.
514 (zebra_client_read) Support non-blocking I/O by using stream_read_try.
515 Use ZEBRA_HEADER_SIZE instead of 3.
516 (zebra_accept) Fix bug: reset accept thread at top. Make client
517 socket non-blocking using the set_nonblocking function.
518 (config_write_forwarding) Fix scope to static.
519 (zebra_init) Remove initialization code for old buggy write buffering.
520 * zserv.h: Add 2 new fields to struct zserv: struct buffer *wb
521 (to enable buffered writes with non-blocking I/), and
522 struct thread *t_suicide to support delayed close on I/O
523 errors.
524 * router-id.h: Remove prototypes for zread_router_id_add and
525 zread_router_id_delete (their scope should be static to zserv.c).
526
ajs27da3982005-02-24 16:06:33 +00005272005-02-24 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
528
529 * redistribute.c: (zebra_check_addr,is_default,
530 zebra_redistribute_default,zebra_redistribute) Fix scope to be static.
531
hassoe8274dc2005-02-20 19:09:23 +00005322005-02-20 Hasso Tepper <hasso at quagga.net>
533
534 * rt_netlink.c: Don't show messages "ignoring message type 0x001[89]"
535 if we are not debugging.
536
paule31f2292005-02-19 02:00:26 +00005372005-02-19 Paul Jakma <paul@dishone.st>
538
539 * zserv.c: (zebra_read_ipv6) replace the char * arithmetic with
540 STREAM_READABLE.
541
paul1e193152005-02-14 23:53:05 +00005422005-02-14 Paul Jakma <paul@dishone.st>
543
544 * Not all Linux netlink systems have IFLA_WIRELESS
545
ajs6a52d0d2005-01-30 18:49:28 +00005462005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
547
548 * ioctl.c: (if_ioctl,if_ioctl_ipv6,if_get_flags) Replace perror with
549 zlog_err.
550 * ioctl_solaris.c: (if_ioctl,if_ioctl_ipv6) Replace perror with
551 zlog_err.
552
ajs4be019d2005-01-29 16:12:41 +00005532005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
554
ajs4460e7a2005-01-29 17:07:40 +0000555 * if_ioctl_solaris.c: (interface_list_ioctl) Save errno before calling
556 zserv_privs.change.
557 * ioctl{,_solaris}.c: (if_ioctl,if_ioctl_ipv6) Save errno before calling
558 zserv_privs.change.
559 * ipforward_solaris.c: (solaris_nd) Save errno before calling
560 zserv_privs.change.
561 * irdp_main.c: (irdp_sock_init) Save errno before calling
562 zserv_privs.change.
563
5642005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
565
ajs4be019d2005-01-29 16:12:41 +0000566 * rt_netlink.c: (netlink_socket,netlink_request,netlink_parse_info,
567 netlink_talk) Save errno before calling zserv_privs.change.
568
paulc15cb242005-01-24 09:05:27 +00005692005-01-24 Martin Pot <mpot at martybugs.net>
570
571 * zebra/rt_netlink.c: ignore wireless newlink netlink messages.
572
hasso6f2c27a2005-01-18 13:44:35 +00005732005-01-18 Hasso Tepper <hasso at quagga.net>
574
575 * interface.c: Better statistics output in "show interface" command in
576 case of /proc being used.
577
hasso583d8002005-01-16 23:34:02 +00005782005-01-17 Hasso Tepper <hasso at quagga.net>
579
580 * main.c: With --nl-bufsize argument is required.
581
paul865b8522005-01-05 08:30:35 +00005822005-01-05 Paul Jakma <paul@dishone.st>
583
584 * zserv.c: (zebra_accept) Comment out setting of socket to NONBLOCK
585 for now, as we dont actually deal with with resending.... See
586 bugzilla #122, fix from wawa@yandex-team.ru (Vladimir Ivanov).
587 * kernel_socket.c: (routing_socket) ditto.
588
ajsb99760a2005-01-04 16:24:43 +00005892005-01-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
590
591 * rtadv.c: (rtadv_recv_packet,rtadv_send_packet) Use ZCMSG_FIRSTHDR
592 instead of CMSG_FIRSTHDR.
593
ajs341a8f12004-12-22 16:32:16 +00005942004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
595
596 * connected.c: (connected_add_ipv4) Limit warning about /32 addresses
597 with no peer specified to PtP interfaces only.
598
hassob8adec12004-12-18 16:03:28 +00005992004-12-18 Hasso Tepper <hasso at quagga.net>
600
601 * zebra_vty.c: Fix "show ipv6 route <proto>" command help and make it
602 work for isis routes.
603
gdt6a250b02004-12-09 14:48:12 +00006042004-12-09 Greg Troxel <gdt@fnord.ir.bbn.com>
605
606 * kernel_socket.c (rtmsg_debug): char * => const char *
607
ajs274a4a42004-12-07 15:39:31 +00006082004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
609
ajsb6178002004-12-07 21:12:56 +0000610 * *.c: Change level of debug messages to LOG_DEBUG.
611
6122004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
613
ajs274a4a42004-12-07 15:39:31 +0000614 * main.c: (main) The 2nd argument to openzlog has been removed.
615 So stdout logging will no longer be enabled by default.
616 * irdp_main.c: (irdp_finish) Reduce severity of shutdown message
617 from LOG_WARNING to LOG_INFO.
618
ajs887c44a2004-12-03 16:36:46 +00006192004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
620
621 * main.c: (sigint) Use zlog_notice for termination message.
622 (main) Add a startup announcement using zlog_notice.
623
hassoaccb1562004-11-25 19:21:07 +00006242004-11-25 Hasso Tepper <hasso at quagga.net>
625
626 * irdp_interface.c: Remove comment from DEFUN, it breaks vtysh because
627 it confuses extract.pl.
hassoc0652302004-11-25 19:33:48 +0000628 * main.c: Make group to run as configurable.
hassoaccb1562004-11-25 19:21:07 +0000629
hasso6bd7c6a2004-10-28 17:32:27 +00006302004-10-28 Hasso Tepper <hasso at quagga.net>
631
632 * interface.c: Remove dead "ip tunnel" command.
633
paul06f953f2004-10-22 17:00:38 +00006342004-10-22 Paul Jakma <paul@dishone.st>
635
636 * irdp_main.c: change setsockopt_pktinfo to setsockopt_ifindex
637
hasso3fb9cd62004-10-19 19:44:43 +00006382004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
639
640 * rt_netlink.c: (netlink_interface_addr) For PtP interfaces, ignore
641 tb[IFA_ADDRESS] if it's the same as tb[IFA_LOCAL].
642 * interface.c: (ip_address_install) Use new ipv4_broadcast_addr
643 function.
644 * connected.c: (connected_up_ipv4) Use CONNECTED_POINTOPOINT_HOST
645 macro.
646 (connected_down_ipv4) ditto.
647 (connected_add_ipv4) Validate destination address, print warnings
648 if it does not make sense.
649
hassoc1eaa442004-10-19 06:26:01 +00006502004-10-19 Hasso Tepper <hasso at quagga.net>
651
652 * zserv.c: Fix regression introduced with zserv cleanup.
653
hassoc75105a2004-10-13 10:33:26 +00006542004-10-13 Hasso Tepper <hasso at quagga.net>
655
656 * zebra_snmp.c: Remove defaults used to initialize smux connection to
657 snmpd. Connection is initialized only if smux peer is configured.
hassob71f00f2004-10-13 12:20:35 +0000658 * zserv.c: Remove useless warnings "forwarding is already on".
hassoc75105a2004-10-13 10:33:26 +0000659
hasso39ff11d2004-10-12 15:55:19 +00006602004-10-12 Hasso Tepper <hasso at quagga.net>
661
662 * zebra_vty.c: Unbreak "show ip route" command help and make it work
663 for isis routes.
hasso39db97e2004-10-12 20:50:58 +0000664 * interface.c(if_dump_vty): Show IPv6 addresses in "show interface"
665 output. Fixes Bugzilla #119.
666 * *.c: Make some strings const and some (unsigned) casts to fix
667 compiler warnings.
hasso39ff11d2004-10-12 15:55:19 +0000668
hassofce954f2004-10-07 20:29:24 +00006692004-10-07 Hasso Tepper <hasso at quagga.net>
670
671 * connected.c, main.c, rt_netlink.c, rtadv.c, zebra_rib.c, zserv.c:
672 Fix warnings: make strings const, signed -> unsigned.
673
paul72164662004-10-05 14:39:43 +00006742004-10-05 Paul Jakma <paul@dishone.st>
675
676 * irdp_packet.c: (parse_irdp_packet) style issues.
677 Use sockopt_iphdrincl_swab_systoh.
678 Try unbork the code. Checksum the ICMP data and actually
679 compare it to received checksum. Check data length against
680 claimed length in header.
681 Always use ntoh.. when accessing addresses, even when the
682 comparison happens to be endian-safe.
683 (send_packet) minor style isues. Use
684 sockopt_iphdrincl_swab_htosys.
685 (irdp_iph_hton/ntoh) IP header to/from network/host order.
686
hassoeef1fe12004-10-03 18:46:08 +00006872004-10-03 Gilad Arnold <gilad.arnold at terayon.com>
688
689 * interface.c, interface.h: A new prefix tree of connected subnets is
690 associated with each interface structure in zebra, in which each
691 live (ie, non-synthetic) node holds a list of installed addresses
692 that belong to that prefix. Remove secondary address logic from cli.
693 See [quagga-dev 872] for detailed explanation.
694 * connected.c: Use if_subnet_add() and if_subnet_delete().
695
hasso18a6dce2004-10-03 18:18:34 +00006962004-10-03 James R. Leu <jleu at mindspring.com>
697
698 * router-id.c, router-id.h: New files. Router id selection process. If
699 there is non 127.x.x.x address in loopack interface, lowest of them
700 is chosen. If there isn't, lowest from other interfaces addresses
701 are chosen. "router-id x.x.x.x" vty command to manual override.
702 * Makefile.am: Compile new files.
703 * main.c: Initialize router id.
704 * redistribute.c: Add interface addresses into router id selection
705 lists as they (dis)appear.
706 * zserv.c, zserv.h: Sending router id related messages to daemons.
707
hassoc9e52be2004-09-26 16:09:34 +00007082004-09-26 Hasso Tepper <hasso at quagga.net>
709
710 * irdp_interface.c, irdp_main.c, irdp_packet.c, rt_netlink.c,
711 rtadv.c, zebra_vty.c: Fix compiler warnings.
712
paul0c0f9112004-09-24 08:24:42 +00007132004-09-24 Paul Jakma <paul@dishone.st>
714
paul26f7a242004-09-24 08:45:10 +0000715 * irdp_interface.c: (no_ip_irdp_address_preference_cmd)
716 add missing listnode declaration.
717
7182004-09-24 Paul Jakma <paul@dishone.st>
719
paul0c0f9112004-09-24 08:24:42 +0000720 * irdp_{interface,main}.c: lists typedef removal cleanup.
721 update some list loops to LIST_LOOP. some miscellaneous style
722 and indent fixups.
723 (no_ip_irdp_address_preference_cmd) Fix delete of referenced node
paul26f7a242004-09-24 08:45:10 +0000724 in loop.
paul0c0f9112004-09-24 08:24:42 +0000725 * irdp_packet.c: (irdp_recvmsg) Fix buggy assignment of integer
726 to pointer.
727 * if_ioctl{,_solaris}.c: lists typedef removal cleanup.
728 update some list loops to LIST_LOOP.
729
hasso52dc7ee2004-09-23 19:18:23 +00007302004-09-23 Hasso Tepper <hasso at quagga.net>
731
732 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
733
paul44983cf2004-09-22 13:15:58 +00007342004-09-22 Paul Jakma <paul.jakma@sun.com>
735
736 * zserv.c: (zsend_route_multipath) fix nasty bad memset of struct
737 in_addr to sizeof(struct in6_addr), causing odd and hard to debug
738 crash.
739
hassoc34b6b52004-08-31 13:41:49 +00007402004-08-31 Hasso Tepper <hasso at quagga.net>
741
742 * main.c, rt_netlink.c: Added -s command line switch for tuning
743 netlink receive buffer size in Linux to avoid buffer overruns.
744
gdta5ea6872004-08-26 13:24:00 +00007452004-08-26 Miles Nordin <carton@Ivy.NET>
746
747 * ipforward_sysctl.c (mib_ipv6): Use size_t for len, per
748 sysctl(3), rather than int. (Needed on NetBSD/alpha to display
749 forwarding status correctly.)
750
paul3e0b3a52004-08-23 18:58:32 +00007512004-08-23 Paul Jakma <paul@dishone.st>
752
753 * zserv.c: (zebra_init) remove implicit ip forward enabling
754
paul0de1cde2004-08-19 04:45:33 +00007552004-08-19 Paul Jakma <paul@dishone.st>
756
757 * irdp_main.c: update to match sockopt renames.
758 * irdp_packet.c: include sockopt.h and update to match sockopt
759 renames.
760
gdt57492d52004-08-11 18:06:38 +00007612004-08-11 Greg Troxel <gdt@fnord.ir.bbn.com>
762
763 * rtadv.c (rtadv_send_packet): Allocate space for control messages
764 more carefully; it was wrong on NetBSD/sparc where CMSG alignment
765 is to 8 bytes instead of 4, and overwriting the address. Use the
766 provided macros for determining lengths.
767
paul5b73a672004-07-23 15:26:14 +00007682004-07-23 Sowmini Varadhan <Sowmini.Varadhan@Sun.COM>
769
770 * if_ioctl_solaris.c: HAVE_IPV6 ifdef fixups
771 * zserv.c: ditto
772 * ioctl_solaris.c: ditto.
773 * interface.c: cast for LLADDR
774 * interface.h: Add guards, include redistribute.h and remove
775 extraneous definitions of zebra_interface_{up,down}_update
776 * ioctl.h: Add AF_IOCTL define for non SOLARIS_IPV6
777 * redistribute.h: include dependent header, zserv.h
778 * zserv.h: include dependent header, rib.h
779
paul1470baf2004-07-23 15:25:01 +00007802004-07-23 Paul Jakma <paul@dishone.st>
781
782 * irdp_main.c: use setsockopt_pktinfo_ipv4
783 * irdp_packet.c: use SOPT_SIZE_CMSG_PKTINFO_IPV4 and
784 getsockopt_pktinfo_ifindex()
785
gdtcced60d2004-07-13 16:45:54 +00007862004-07-13 David Wiggins <dwiggins@bbn.com
787
788 * kernel_socket.c (rtm_flag_dump): terminate buffer with '\0', not '0'.
789
hasso25dac852004-07-13 03:06:51 +00007902004-07-13 Hasso Tepper <hasso@estpak.ee>
791
792 * irdp_main.c: Add privilege change.
793
hasso996933f2004-07-12 16:32:56 +00007942004-07-12 Hasso Tepper <hasso@estpak.ee>
795
796 * irdp_interface.c: follow common style while naming vty command
797 functions. Avoids confusion in extract.pl.
798
gdt87efd642004-06-30 17:36:11 +00007992004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
800
801 * main.c: define thread_master variable so that linking with
802 libzebra.so doesn't fail. Arguably zclient.o should be in a
803 separate library, but this is far less disruptive.
804
hassoca776982004-06-12 14:33:05 +00008052004-06-12 Robert Olsson <Robert.Olsson at data.slu.se>
806
807 * Added IRDP support.
808
hasso3e31cde2004-05-18 11:58:59 +00008092004-05-18 Hasso Tepper <hasso@estpak.ee>
810
811 * rtadv.c: Removed "[no] ipv6 nd send-ra" command. Replaced "ipv6 nd
812 prefix-advertisement" with "ipv6 nd prefix". Rewrite syntax of
813 "ipv6 nd prefix" command to allow various combinations of parameters
814 and flags. No defaults in configuration. Replaced on-link and
815 autoconfig with off-link and no-autoconfig flags in command syntax.
816 Cosmetic fixes in all commands. Documentation to reflect all changes.
817
paul19877dd2004-05-11 10:49:35 +00008182004-05-11 Paul Jakma <paul@dishone.st>
819
820 * Makefile.am: support for IOCTL_METHOD, as per Sowmini's patch.
paul48a46fa2004-05-11 10:55:22 +0000821 * if_ioctl_solaris.c: Fixup some erroneous privilege changes and
822 add privs.h header.
823 * ioctl_solaris.c: ditto
paulc50ae8b2004-05-11 11:31:07 +0000824 * ioctl.h: Add if_ioctl_ipv6 prototype and AF_IOCTL for SOLARIS_IPV6
825 * kernel_socket.c: Fix SAROUNDUP, compiler doesnt like do..while
826 RHS in assignments :)
827 * redistribute.c: (zebra_interface_delete_update) only used
828 if RTM_IFANNOUNCE and NETLINK is available.
829
paulb9df2d22004-05-09 09:09:59 +00008302004-05-09 Paul Jakma <paul@dishone.st>
831
832 * zserv.c: (zsend_route_multipath) Set the nexthop_num
833 field correctly. Add NEXTHOP_TYPE_IPV6_IFNAME for v6.
834 Conditionally set ZAPI_MESSAGE_METRIC flag - only for adds.
835 (zsend_ipv4_add) cruft, deleted.
836 (zsend_ipv4_delete) ditto.
837 (zsend_ipv6_add) ditto.
838 (zsend_ipv6_delete) ditto.
paul44145db2004-05-09 11:00:23 +0000839 * ioctl.c: (if_get_mtu) set mtu6 to mtu
840 * mtu_kvm.c: (if_kvm_get_mtu) set mtu6 to mtu
841 * rt_netlink.c: (netlink_interface) set mtu6 to mtu
842 (netlink_link_change) ditto
paul66e94882004-05-09 17:19:24 +0000843 * ipforward_solaris.c: fix typo of ND variable.
paul88424682004-05-09 18:21:35 +0000844 * if_ioctl_solaris.c: Add zprivs support.
845 * ioctl_solaris.c: ditto.
paul66e94882004-05-09 17:19:24 +0000846
paulb9df2d22004-05-09 09:09:59 +00008472004-05-09 Sowmini Varadhan <sowmini.varadhan@sun.com>
848
849 * zserv.c: (zsend_ipv{4,6}_{add,delete}_multipath) collapsed
850 into single zsend_route_multipath function.
851 (zsend_interface_{up,down}) collapsed into zsend_interface_update.
852 (zsend_interface_address_{add,delete}) collapsed into
853 zsend_interface_address.
854 (zsend_interface_add) send mtu6.
855 (zsend_interface_delete) ditto.
856 (zebra_write) remove unused function.
857 (various) Apply static qualifier. Add comments.
858 * zserv.h: Definitions changed as per above.
859 * redistribute.c: Changes as per zserv.c.
paul44145db2004-05-09 11:00:23 +0000860 * interface.c: (if_delete_update) only used with HAVE_NETLINK
861 and RTM_IFANNOUNCE.
862 (if_flag_dump_vty) Solaris IFF_IPV4 and IFF_IPV6 if flags
863 (if_dump_vty) print mtu6 if not same as mtu
paul88424682004-05-09 18:21:35 +0000864 * if_ioctl_solaris.c: New file, Solaris interface ioctl methods.
865 * ioctl_solaris.c: New file, Common solaris ioctl methods.
866
hasso34195bf2004-04-06 12:07:06 +00008672004-04-06 Krzysztof Oledzki <oleq@ans.pl>
868
869 * rt_netlink.c: Do not ignore metric when reading kernel routing
870 table on Linux with rt_netlink interface.
871
8722004-03-18 Hasso Tepper <hasso@estpak.ee>
hassof1d92e12004-03-18 15:40:33 +0000873
874 * interface.c: Temporary fix for handling secondary addresses
875 with label.
876
hasso55906722004-02-11 22:42:16 +00008772004-02-12 Hasso Tepper <hasso@estpak.ee>
hassof1d92e12004-03-18 15:40:33 +0000878
hasso55906722004-02-11 22:42:16 +0000879 * zserv.c: Added "ipv6 forwarding" command.
880
gdtb27900b2004-01-08 15:44:29 +00008812004-01-08 Greg Troxel <gdt@fnord.ir.bbn.com>
882
883 * kernel_socket.c (kernel_read): Use sockaddr_storage in buffer
884 for reading kernel messages to ensure enough space (necessary on
885 Solaris due to sockaddr_dl being large). Thanks to Sowmini
886 Varadhan for help with this change.
887
gdt9ccabd12004-01-06 18:23:02 +00008882004-01-06 Greg Troxel <gdt@t1.ir.bbn.com>
889
890 * rtadv.c (rtadv_send_packet): Change perror to zlog_err.
891
gdtdbee01f2004-01-06 00:36:51 +00008922004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
gdt4bfbea82004-01-06 01:13:05 +0000893 * kernel_socket.c (ifm_read): Major cleanup. Use Sowmini's code
894 to find the sockaddr_dl in all cases, narrowing the Solaris ifdef
895 to just the accomodation of broken kernels. Check sockaddr_dl
896 carefully up front, and later assume any non-NULL sdl pointer is
897 valid. Clean up types and variable declarations, and rename
898 WRAPUP to SAROUNDUP to make the name fit the behavior.
899
9002004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
gdtdbee01f2004-01-06 00:36:51 +0000901
902 * kernel_socket.c (kernel_read): Add a sockaddr_dl to the ifmsg
903 structure, because on Solaris sockaddr_dl is far larger than the
904 base sockaddr structure. (The code had previously been failing to
905 read all the data.)
gdt4bfbea82004-01-06 01:13:05 +0000906
gdtda26e3b2004-01-05 17:20:59 +00009072004-01-05 Greg Troxel <gdt@ahi.ir.bbn.com>
908
909 * kernel_socket.c (kernel_read): Look up interfaces by index
910 first, so that state changes which do not include a sockaddr_dl
911 now work. Add many sanity checks. In
912 particular, do not assume that a sockaddr_dl follows a message
913 without checking the ifm_addrs flags, and do not trust the length
914 in a sockaddr_dl. Add/clarify many comments.
915
gdt4b5e1352003-12-03 17:54:34 +00009162003-12-03 Greg Troxel <gdt@poblano.ir.bbn.com>
917
918 * rtadv.c: reorder includes to avoid compiler warning (define
919 structs before using them in prototypes)
920
hasso647e4f12003-05-25 11:43:52 +00009212003-05-25 Jim Crumpler <Jim.Crumpler@edion.com>
922
923 * zserv.c: Add "ip forwarding" command.
924
paul445f1432003-05-16 19:00:31 +00009252003-05-16 Gilad Arnold <gilad.arnold@terayon.com>
926
927 * zebra_rib.c: Fix memory leaks for ifname nexthops
928
9292003-04-19 Israel Keys <ikeys@agile.tv>
930
931 * rt_netlink.c: BLOCK on netlink while initialising
932
9332003-02-06 Francois Deppierraz <francois@ctrlaltdel.ch>
934
935 * rt_netlink.c (netlink_route_multipath): Set RTM_F_EQUALIZE when
936 it exists.
937
paul718e3742002-12-13 20:15:29 +00009382002-09-28 Akihiro Mizutani <mizutani@net-chef.net>
939
940 * zebra_rib.c (static_add_ipv4): Null0 static route is added.
941
9422002-09-10 Jochen Friedrich <chris+zebra@scram.de>
943
944 * rt_netlink.c: Add check for EAGAIN.
945 * kernel_socket.c: Likewise
946
9472002-06-12 Israel Keys <ikeys@oz.agile.tv>
948
949 * rt_netlink.c: Setting the NLM_F_ACK flag on the netlink command
950 message so that we get an ACK for successful netlink commands.
951 Change the netlink socket to BLOCKING while we wait for a
952 response; be it an ACK or an NLMSG_ERROR. Change
953 netlink_parse_info to deal with ACK messages.
954
9552001-11-01 Jun-ichiro itojun Hagino <itojun@iijlab.net>
956
957 * rtadv.c (rtadv_make_socket): setsockopt(IPV6_CHECKSUM) does not
958 work for ICMPv6 socket.
959
9602001-10-24 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
961
962 * rib.c (rib_process): Select connected route any case.
963
9642001-10-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
965
966 * interface.c (no_ip_address_secondary): Add "no" to command.
967
9682001-10-18 NOGUCHI Kay <kay@v6.access.co.jp>
969
970 * ioctl.c (if_prefix_add_ipv6): Set the prefered and valid lifetime
971 to infinity as the freebsd4.4 workaroud.
972
9732001-08-26 mihail.balikov@interbgc.com
974
975 * zebra_snmp.c: Fix snmpwalk problem such as IPv4 address
976 A.B.C.255.
977
9782001-08-22 NOGUCHI Kay <kay@v6.access.co.jp>
979
980 * rtadv.c: Do not send RA to loopback interface.
981
9822001-08-20 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
983
984 * ioctl.c (if_set_prefix): Remove Linux 2.0 specific connected
985 route treatment.
986
9872001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
988
989 * zebra-0.92a released.
990
9912001-08-17 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
992
993 * rib.c: Kernel route is treated as EGP routes in nexthop active
994 check.
995
9962001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
997
998 * zebra-0.92 released.
999
10002001-08-08 "Akihiro Mizutani" <mizutani@dml.com>
1001
1002 * rib.c (show_ip_route_prefix_longer): Add longer-prefix option to
1003 show route commands.
1004
10052001-07-29 Yon Uriarte <havanna_moon@gmx.net>
1006
1007 * zserv.c (zsend_ipv4_add_multipath): Add
1008 NEXTHOP_TYPE_IPV4_IFINDEX check.
1009
10102001-07-29 NOGUCHI Kay <kay@v6.access.co.jp>
1011
1012 * rtadv.c: Apply valid lifetime, preferred lifetime, onilnk flag,
1013 autonomous address-configuration flag patch.
1014 (no_ipv6_nd_suppress_ra): Change "ipv6 nd send-ra" to "no ipv6 nd
1015 suppress-ra".
1016
10172001-07-24 NOGUCHI Kay <kay@v6.access.co.jp>
1018
1019 * rtadv.c (ipv6_nd_ra_interval): Add "ipv6 nd ra-interval SECONDS"
1020 command.
1021
10222001-07-24 Jun-ichiro itojun Hagino <itojun@iijlab.net>
1023
1024 * rt_socket.c (kernel_rtm_ipv4): Add KAME/NetBSD151 equal cost
1025 multicast FIB support both IPv4 and IPv6.
1026
10272001-07-24 Hal Snyder <hal@vailsys.com>
1028
1029 * if_ioctl.c (interface_list_ioctl): Fix bug of failing to get the
1030 full list of interfaces on some configurations of OpenBSD.
1031
10322001-07-23 NOGUCHI Kay <kay@v6.access.co.jp>
1033
1034 * rtadv.c (ipv6_nd_send_ra): Apply [zebra 9320] to fix "ipv6 nd
1035 send-ra" bug.
1036 (ipv6_nd_ra_lifetime): "ipv6 nd ra-lifetime 0" for default router
1037 availability.
1038 (ipv6_nd_managed_config_flag): "ipv6 nd managed-config-flag" is
1039 added.
1040 (ipv6_nd_other_config_flag): "ipv6 nd other-config-flag" is added.
1041
10422001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
1043
1044 * ioctl.c (if_ioctl): Change ioctl argument from int to u_long.
1045
1046 * rt_ioctl.c: Likewise.
1047
10482001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
1049
1050 * kernel_socket.c (rtm_write): Only set RTF_CLONING when the
1051 interface is not p2p.
1052
10532001-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1054
1055 * ioctl.c (if_prefix_add_ipv6): Fix argument type.
1056
10572001-04-06 Toshiaki Takada <takada@zebra.org>
1058
1059 * zserv.c (zsend_interface_delete): Use client->obuf instead of
1060 allocating new stream.
1061
10622001-03-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1063
1064 * rt_netlink.c: Revert RTPROT_BOOT change.
1065
10662001-03-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1067
1068 * rt_netlink.c (netlink_route_change): Skip RTPROT_BOOT route.
1069 (netlink_routing_table): Likewise.
1070
10712001-03-07 "Akihiro Mizutani" <mizutani@dml.com>
1072
1073 * zserv.c (zsend_ipv4_add_multipath): Send metric value to
1074 protocol daemons.
1075
10762001-02-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1077
1078 * rt_netlink.c (netlink_routing_table): Do not return
1079 tb[RTA_GATEWAY] is NULL. Reported by: "Michael O'Keefe"
1080 <mokeefe@qualcomm.com>.
1081
10822001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1083
1084 * if_ioctl.c (interface_list_ioctl): Call if_add_update().
1085 Suggested by: Chris Dunlop <chris@onthe.net.au>.
1086
10872001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1088
1089 * rib.c (nexthop_active_ipv4): When nexthop type is
1090 NEXTHOP_TYPE_IPV4_IFINDEX, propery set the ifindex to rifindex.
1091
1092 * zserv.c: Initialize rtm_table_default with 0.
1093
1094 * zebra-0.91 is released.
1095
10962001-01-31 Kunihiro Ishiguro <kunihiro@zebra.org>
1097
1098 * kernel_socket.c (rtm_read): Filter cloned route. Suggested by:
1099 Jun-ichiro itojun Hagino <itojun@iijlab.net>
1100
11012001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1102
1103 * connected.c (connected_up_ipv6): When point-to-point destination
1104 address is ::, use local address for connected network.
1105 (connected_down_ipv6): Likewise.
1106
11072001-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1108
1109 * zserv.c (zebra_serv): Add missing close() call. Reported by:
1110 David Waitzman <djw@vineyard.net>.
1111
11122001-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
1113
1114 * rib.c (rib_lookup_ipv4): New function for checking exact match
1115 IGP route.
1116
11172001-01-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1118
1119 * rib.c (show_ipv6_route_protocol): Fix bug of "show ip route
1120 route-type".
1121
11222001-01-22 Kunihiro Ishiguro <kunihiro@zebra.org>
1123
1124 * interface.c (zebra_interface): Do not call
1125 zebra_interface_add_update for inactive interface.
1126
1127 * zserv.c (zsend_interface_address_add): Send interface address
1128 flag.
1129 (zsend_interface_address_delete): Likewise.
1130
11312001-01-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1132
1133 * interface.c (if_addr_add): Add flags.
1134
1135 * connected.c (ifa_add_ipv4): Add new function for interface
1136 address handling.
1137 (ifa_delete_ipv4): Likewise.
1138
11392001-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1140
1141 * rib.c (rib_update): Update IPv6 RIB.
1142
1143 * kernel_socket.c (ifam_read): Call if_refresh() for update
1144 interface flag status. This is for implicit interface up on *BSD.
1145
1146 * interface.c (if_refresh): Add interface flag refresh function.
1147
1148 * kernel_socket.c (rtm_read): Fetch link-local address interface
1149 index.
1150 (ifan_read): We need to fetch interface information. Suggested
1151 by: Yasuhiro Ohara <yasu@sfc.wide.ad.jp>.
1152
1153 * rib.c (static_ipv6_nexthop_same): Add check for
1154 NEXTHOP_TYPE_IPV6_IFNAME.
1155
11562001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1157
1158 * rib.h (NEW_RIB): Turn on NEW_RIB flag. IPv6 new RIB code are
1159 taken into place.
1160
11612001-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1162
1163 * rib.c (static_ipv6_write): Display STATIC_IPV6_GATEWAY_IFNAME
1164 configuration.
1165 (rib_delete_ipv6): Handle same route conter for IPv6 connected
1166 route.
1167 (show_ipv6_route_protocol): New command.
1168 (show_ipv6_route_addr): Likewise.
1169 (show_ipv6_route_prefix): Likewise.
1170 (rib_update): Sweep kernel route when it is cleaned up.
1171
1172 * rt_socket.c (kernel_add_ipv6): Add NEXTHOP_IPV6_IFNAME
1173 treatmenet.
1174
1175 * rt_netlink.c (kernel_init): Likewise.
1176
1177 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): Likewise.
1178
1179 * rib.c (rib_add_ipv4): Cope with same connected route on a
1180 interface. Suggested by: Matthew Grant <grantma@anathoth.gen.nz>.
1181 (nexthop_ipv6_ifname_add): Add NEXTHOP_IPV6_IFNAME treatmenet.
1182
1183 * rib.h (struct new_rib): Add refcnt to keep track on the
1184 reference of same connected route.
1185
1186 * ioctl.c (if_set_prefix): Add check for GNU_LINUX.
1187
11882001-01-13 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1189
1190 * kernel_socket.c (ifan_read, rtm_type_str): Add RTM_OIFINFO check.
1191 (rtm_type_str): Add RTM_IFANNOUNCE check.
1192 (ifan_read): New function.
1193 (kernel_read): Add case for RTM_IFANNOUNCE.
1194
11952001-01-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1196
1197 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): New function.
1198
1199 * rt_netlink.c (netlink_route_multipath): IPv6 address ifindex
1200 treatment.
1201
1202 * connected.c (connected_up_ipv6): Add dest value check.
1203
1204 * rib.c (nexthop_active_ipv6): Do not touch IPv6 nexthop's
1205 ifindex.
1206 (rib_add_ipv4): Import rib_add_ipv6() same route check code.
1207 (nexthop_active_check): NEXTHOP_TYPE_IPV6_IFINDEX activity is only
1208 checked by ifindex.
1209
1210 * rt_socket.c (kernel_rtm_ipv6_multipath): New function.
1211
1212 * redistribute.c (redistribute_add): Use
1213 zsend_ipv6_add_multipath().
1214 (redistribute_delete_multipath): Use
1215 zsend_ipv6_delete_multipath().
1216
1217 * interface.c (ip_address): Check current IP address to avoid
1218 duplicate.
1219
1220 * rib.c (rib_delete_ipv4): When deleted route is connected route,
1221 check ifindex.
1222 (rib_add_ipv4): When connected route is added do not perform
1223 implicit withdraw.
1224 (rib_delete_ipv4): Check ifindex for connected route.
1225
1226 * kernel_socket.c (rtm_read): When route has RTF_STATIC, set
1227 ZEBRA_FLAG_STATIC for indicate as persistent route.
1228 (ifam_read): Unset interface index from link-local address when
1229 IPv6 stack is KAME.
1230
1231 * rib.c (rib_update): Do not delete persistent kernel route.
1232
1233 * rib.h (struct new_rib): Integrate RIB_FLAG_* to ZEBRA_FLAG_*.
1234
1235 * rt_socket.c (kernel_add_ipv6_multipath): Add placeholder.
1236 (kernel_delete_ipv6_multipath): Likewise.
1237
1238 * rt_netlink.c (netlink_talk): Give struct nlsock to netlink_talk.
1239
12402001-01-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1241
1242 * rib.c (rib_update): Revert Matthew Grant's patch
1243 zebra_cvs_newribfix.patch. Use struct rib->ifindex for kernel
1244 interface index. Introduce NEXTHOP_TYPE_IPV4_IFINDEX to support
1245 that. Add support for address deletion situation.
1246
12472001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1248
1249 * interface.c: Remove HAVE_IF_PSEUDO part.
1250
1251 * rib.h: Likewise.
1252
1253 * rt_netlink.c (netlink_link_change): Likewise.
1254
12552001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1256
1257 * zserv.c: Remove OLD_RIB codes.
1258
12592001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1260
1261 * zebra-0.90 is released.
1262
12632001-01-09 Matthew Grant <grantma@anathoth.gen.nz>
1264
1265 * interface.c (if_new_intern_ifindex): Allocate a new internal
1266 interface index.
1267 (if_addr_refresh): Fix up ip addresses configured via zebra.
1268 (if_add_update): Handle an interface addition.
1269 (if_delete_update): Handle an interface delete event.
1270
1271 * rib.c (nexthop_ipv4_add): Add kernel route deletion process when
1272 interface goes down.
1273
12742001-01-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1275
1276 * interface.c (if_dump_vty): When HAVE_NET_RT_IFLIST is defined,
1277 NetBSD also use this function. Suggested by Jasper Wallace
1278 <jasper@ivision.co.uk>.
1279
12802001-01-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1281
1282 * rib.c (nexthop_active_ipv4): Move back to set methodo to old
1283 one.
1284
12852001-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1286
1287 * rib.c (rib_add_ipv4): EBGP multihop set ZEBRA_FLAG_INTERNAL
1288 flag, so treat it.
1289
12902001-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1291
1292 * rt_netlink.c (netlink_talk_ipv6): When IPv6 route message is
1293 sent from netlink_cmd, the same message comes from netlink. To
1294 avoid confusion, temporary netlink_talk_ipv6 use netlink.sock
1295 instead of netlink_cmd.sock.
1296
12972001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1298
1299 * zserv.h (ZEBRA_SERV_PATH): Change "/tmp/zebra" to "/tmp/.zebra".
1300 Change "/tmp/zserv" to "/tmp/.zserv".
1301
13022000-12-29 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
1303
1304 * rt_netlink.c (struct nlsock): Divide kernel message into listen
1305 socket and command socket.
1306 (netlink_talk): Remove socket listen code. Use netlink_parse_info
1307 for read kernel response.
1308
13092000-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1310
1311 * rib.c (vty_show_ip_route): Show uptime of the RIP,OSPF,BGP
1312 routes.
1313
13142000-12-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1315
1316 * rt_netlink.c (netlink_route_multipath): Metric value is
1317 reflected to kernel routing table.
1318
1319 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Likewise.
1320
1321 * kernel_socket.c (rtm_write): Likewise.
1322
1323 * rib.c (nexthop_active_ipv4): Only iBGP route perform recursive
1324 nexthop lookup.
1325
1326 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Add ioctl version of
1327 new RIB implementation.
1328
13292000-12-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1330
1331 * rib.h: Remove MULTIPATH_NUM. It is defined by configure script.
1332
13332000-12-25 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1334
1335 * rib.c (rib_if_up): Call rib_fib_set instead of RIB_FIB_SET for
1336 proper redistribution.
1337
13382000-12-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1339
1340 * rib.c (nexthop_active_ipv4): Add self lookup nexthop check.
1341 (show_ip_route_protocol): Support new RIB.
1342
1343 * rt_netlink.c (netlink_route_change): Do not return when gate is
1344 NULL.
1345
13462000-12-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1347
1348 * rib.c (rib_lookup_ipv4_nexthop): IBGP nexthop check function is
1349 updated.
1350 (rib_add_ipv4): Free implicit withdraw route's RIB.
1351
13522000-12-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1353
1354 * rib.c (nexthop_active_ipv4): Check indirect nexthop.
1355
1356 * redistribute.c (redistribute_add_multipath): Redistribution
1357 works with new rib code.
1358
13592000-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1360
1361 * rt_netlink.c (netlink_route_multipath): Check useful nexthop
1362 number.
1363 (netlink_route_multipath): Clear rtnh_flags and rtnh_hops.
1364
1365 * rib.c (nexthop_active_update): Set flag for the rib's nexthop
1366 activity is changed.
1367 (nexthop_active_check): Before checking interface is up, make it
1368 sure the interface exist.
1369
13702000-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1371
1372 * rib.c (ip_route): New RIB prototype.
1373
13742000-11-16 Yon Uriarte <ukl2@rz.uni-karlsruhe.de>
1375
1376 * zserv.c (zsend_interface_add): Send hardware address when
1377 hw_addr_len is greater than 0.
1378
13792000-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1380
1381 * connected.c (connected_up_ipv4): Fix ptop bug. The destination
1382 network should be installed into routing table.
1383 (connected_down_ipv4): Likewise.
1384 (connected_add_ipv4): Change to use connected_up_ipv4.
1385 (connected_delete_ipv4): Likewise.
1386
13872000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1388
1389 * rt_netlink.c (netlink_interface_addr): Revert Harald Welte
1390 <laforge@gnumonks.org>'s ptop patch then back to original code to
1391 avoid duplicated connected route problem. Suggested by Frank van
1392 Maarseveen <F.vanMaarseveen@inter.NL.net>.
1393
1394 * kernel_socket.c (rtm_read): Make behavior consistent even #ifdef
1395 DEBUG is defined. Reported by Jun-ichiro itojun Hagino
1396 <itojun@iijlab.net>.
1397
13982000-10-23 Jochen Friedrich <jochen@scram.de>
1399
1400 * main.c (main): Call zebra_snmp_init() when it is enabled.
1401
14022000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1403
1404 * zserv.c (zebra_serv_un): UNIX domain socket server of zebra
1405 protocol.
1406
14072000-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1408
1409 * rib.c (rib_add_ipv4): Same check bug is fixed.
1410
14112000-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1412
1413 * rib.c (rib_if_down): Remove kernel route when the interface goes
1414 down.
1415
1416 * debug.c: New command "debug zebra kernel" is added.
1417
14182000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1419
1420 * zebra-0.89 is released.
1421
14222000-09-24 Harald Welte <laforge@gnumonks.org>
1423
1424 * rt_netlink.c (netlink_interface_addr): Fix point-to-point address
1425 treatment in netlink interface.
1426
14272000-09-21 David Lipovkov <dlipovkov@OpticalAccess.com>
1428
1429 * rib.c (rib_if_down): Pull static route only. Protocol daemon
1430 must withdraw routes when interface goes down.
1431 (rib_add_ipv4): Check nexthop when replace route.
1432
14332000-09-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1434
1435 * if_ioctl.c (if_getaddrs): New function for looking up
1436 interface's address by getifaddrs().
1437
14382000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1439
1440 * connected.c (connected_delete_ipv4): Add check for connected
1441 address is found or not.
1442 (connected_add_ipv6): Reflect IPv6 connected address change to
1443 protocol daemons.
1444 (connected_delete_ipv6): Likewise.
1445
14462000-09-07 David Lipovkov <davidl@nbase.co.il>
1447
1448 * rib.c (rib_delete_ipv4): Reverted the change from pseudo
1449 interface patch to original. Because ospfd deletes routes using
1450 zero ifindex.
1451
14522000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1453
1454 * zebra-0.88 is released.
1455
14562000-08-15 "Akihiro Mizutani" <mizutani@dml.com>
1457
1458 * rib.c (show_ip_route_protocol): Help string correction.
1459 (show_ip_route_prefix): Check prefix mask.
1460 (show_ip_route_vty_detail): Display distance and metric.
1461
14622000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1463
1464 * zserv.c (zsend_interface_add): Change ifindex store size from
1465 two octet to four.
1466 (zsend_interface_delete): Likewise.
1467 (zsend_interface_address_add): Likewise.
1468 (zsend_interface_address_delete): Likewise.
1469 (zsend_interface_up): Likewise.
1470 (zsend_interface_down): Likewise.
1471
14722000-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1473
1474 * rib.c (rib_add_ipv4): Do not install distance 255 route.
1475
14762000-08-10 Toshiaki Takada <takada@zebra.org>
1477
1478 * interface.c (bandwidth_if), (no_bandwidth_if): Call
1479 zebra_interface_up_update () instead of using if_up() and if_down().
1480
14812000-08-07 "Akihiro Mizutani" <mizutani@dml.com>
1482
1483 * interface.c (bandwidth_if): Fix help string.
1484
14852000-08-07 Matthew Grant <grantma@anathoth.gen.nz>
1486
1487 * interface.c (if_dump_vty): Display bandwidth value.
1488 (bandwidth_if): New command "bandwidth <1-10000000>" is added.
1489 When interface is up, force protocol daemons to recalculate routes
1490 due to cost change.
1491 (no_bandwidth_if): Likewise.
1492 (if_config_write): Output bandwidth configuration.
1493
1494 * zserv.c (zsend_interface_add): Send bandwidth value.
1495 (zsend_interface_up): Likewise.
1496 (zsend_interface_down): Likewise.
1497
1498
14992000-08-07 Michael Rozhavsky <mike@nbase.co.il>
1500
1501 * rib.c (show_ip_route_protocol): "show ip route
1502 (bgp|connected|kernel|ospf|rip|static)" is added.
1503
15042000-08-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1505
1506 * rib.c (rib_lookup_ipv4_nexthop): Check parent node until IGP
1507 nexthop is found.
1508 (rib_add_ipv4_internal): Set fib ifindex to rib ifindex.
1509
15102000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1511
1512 * redistribute.c (redistribute_delete): Fix bug of default route
1513 redistribute treatment.
1514
15152000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1516
1517 * rib.c (rib_init): Install ip_node in rib.c instead of zserv.c.
1518 Change default distance value.
1519
1520 Old New
1521 ------------------------------------------
1522 system 10 0
1523 kernel 20 0
1524 connected 30 0
1525 static 40 1
1526 rip 50 120
1527 ripng 50 120
1528 ospf 60 110
1529 ospf6 49 110
1530 bgp 70 200(iBGP) 20(eBGP)
1531 ------------------------------------------
1532
1533 * zserv.c (client_lookup): Function removed.
1534 (zsend_interface_add): Use client's output buffer. Check ifinfo
1535 flag.
1536 (zsend_interface_delete): Likewise.
1537 Delete ipv4_static_radix and ipv6_static_radix.
1538
15392000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1540
1541 * zserv.h (struct zebra_client): When client request interface
1542 information, ifinfo is set.
1543
1544 * rib.c: Temporary Revert changes for pseudo interface.
1545
1546 * rib.h: Likewise.
1547
1548 * zserv.c: Likewise.
1549
1550 * interface.c: Likewise.
1551
15522000-08-02 David Lipovkov <davidl@nbase.co.il>
1553
1554 * interface.c (zebra_if_init): Install interface "pseudo"
1555 commands.
1556
1557 * rib.c (rib_create): ifname argument is added.
1558 (rib_add_ipv4_pseudo): New function is added.
1559 (rib_delete_ipv4_pseudo): Likewise.
1560
1561 * rib.h : Delete INTERFACE_UNKNOWN definition. Add prototype for
1562 pseudo interface functions.
1563
1564 * rt_netlink.c (netlink_link_change): Check for pseudo interface.
1565
1566 * zserv.c (ip_route): When destination is pseudo interface, call
1567 rib_add_ipv4_pseudo().
1568
1569 * zserv.c (no_ip_route): Trim "unknown" argument.
1570
15712000-07-26 kunitake@dti.ad.jp
1572
1573 * if_ioctl.c (if_get_hwaddr): Fix hardware address length from 8
1574 to 6.
1575
1576 * rtadv.c (rtadv_send_packet): Fix shift bug for hardware address.
1577
15782000-07-24 Akihiro Mizutani <mizutani@dml.com>
1579
1580 * interface.c: Use install_default() for common VTY commands.
1581
15822000-07-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1583
1584 * if_ioctl.c (interface_list_ioctl): A interface list size is
1585 calculated from ifreq->if_addr.sa_len. This is for OpenBSD.
1586
1587 * ioctl.c (if_get_mtu): Remove codes for SIOCGIFDATA.
1588
15892000-07-09 Chris Dunlop <chris@onthe.net.au>
1590
1591 * if_ioctl.c (if_get_index): Add check for HAVE_BROKEN_ALIASES.
1592
15932000-07-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1594
1595 * zserv.c (zebra_client_read): Add ZEBRA_REDISTRIBUTE_{ADD,DELETE}
1596 message handling.
1597
15982000-07-02 David Lipovkov <davidl@nbase.co.il>
1599
1600 * zserv.c: "ip route A.B.C.D/M unknown" command is added.
1601
16022000-06-28 Michael Rozhavsky <mike@nbase.co.il>
1603
1604 * rib.c: Remove old kernel route when new route comes in.
1605
16062000-06-13 David Lipovkov <davidl@nbase.co.il>
1607
1608 * rib.c (rib_if_up): Add check for unknown interface.
1609
16102000-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1611
1612 * rib.h: Define INTERFACE_UNKNOWN.
1613
16142000-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1615
1616 * Makefile.am (EXTRA_DIST): Move irdp.c until implementation is
1617 finished.
1618
16192000-06-05 David Lipovkov <davidl@nbase.co.il>
1620
1621 * interface.c (if_zebra_delete_hook): Call rib_if_delete().
1622
1623 * redistribute.c (zebra_interface_delete_update): New function.
1624
1625 * redistribute.h (zebra_interface_delete_update): New function
1626 prototype.
1627
1628 * rib.c (rib_if_delete): New function. Walk down all routes and
1629 delete all on the interface.
1630
1631 * rib.h: New function prototype.
1632
1633 * rt_netlink.c (netlink_link_change): Call
1634 zebra_interface_delete_update ().
1635
16362000-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1637
1638 * if_ioctl.c (interface_info_ioctl): Check interface's flag before
1639 checking interface's address.
1640
16412000-04-26 Jochen Friedrich <jochen@nwe.de>
1642
1643 * GNOME-PRODUCT-ZEBRA-MIB: New file.
1644
1645 * GNOME-SMI: New file.
1646
16472000-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1648
1649 * irdp.c: New file from 1997 development code.
1650 * irdp.h: Likewise.
1651
16522000-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1653
1654 * rtadv.c (rtadv_send_packet): Enclose router advertisement
1655 logging with IS_ZEBRA_DEBUG_PACKET.
1656
16572000-04-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1658
1659 * zserv.c (zebra_client_close): Remove client structure from
1660 client_list when connection is terminated.
1661
16622000-03-21 David Lipovkov <davidl@nbase.co.il>
1663
1664 * connected.c (connected_add_ipv4): Allows all necessary structure
1665 updates for connected route, but doesn't insert it into rib if
1666 it's interface is down.
1667
16682000-01-21 Hideto Yamakawa <hideto.yamakawa@soliton.co.jp>
1669
1670 * rtread_getmsg.c: Set some definition for Solaris 2.5 and Solaris
1671 2.5.1.
1672
16732000-01-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1674
1675 * rib.c (no_ipv6_route_ifname): Fix buf of cheking return value
1676 from str2prefix_ipv6().
1677
16782000-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1679
1680 * rt_socket.c: Revert to use RTF_HOST for IPv4 with /32 route and
1681 IPv6 with /128 routes.
1682 (kernel_rtm_ipv4): In case of /32 route's gateway is interface. It
1683 should have mask for cloning.
1684
16851999-12-26 Jochen.Friedrich@genorz.de
1686
1687 * interface.c (if_dump_vty): Fix a bug of missing VTY_NEWLINE.
1688
16891999-12-23 Alex Zinin <zinin@amt.ru>
1690 * interface.*: dynamic int up/down support
1691
16921999-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1693
1694 * ipforward_proc.c (dropline): Move dropline() from lib/dropline.c
1695
1696 * rtread_proc.c (proc_route_read): Don't use dropline().
1697
16981999-12-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1699
1700 * kernel_socket.c (rtm_read): When message is RTM_GET, it has own
1701 process's pid.
1702
17031999-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1704
1705 * main.c (main): Change to default log output to ZLOG_STDOUT.
1706
1707 * zserv.c (zebra_serv): More detailed error print.
1708
17091999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1710
1711 * kernel_socket.c (rtm_read): Check old pid for static route
1712 insertion check.
1713
17141999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1715
1716 * interface.c (if_dump_vty): BSDI/OS uses 64bit for interface
1717 statistics counter.
1718
1719 * mtu_kvm.c: New file added.
1720
17211999-11-27 Vladimir B. Grebenschikov <vova@express.ru>
1722
1723 * kernel_socket.c (rtm_write): Set RTF_CLONING flag for
1724 route to the directly connected interface.
1725
17261999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1727
1728 * rt_socket.c: Delete USE_HOST_BIT definition.
1729
17301999-11-21 Michael Handler <handler@sub-rosa.com>
1731
1732 * rtread_getmsg.c: Undef some definition to resolve conflict.
1733
17341999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1735
1736 * kernel_socket.c (rtm_write): Change to use pre stored struct_dl
1737 value for gateway specification.
1738
17391999-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1740
1741 * rt_socket.c (kernel_rtm_ipv4): Even mask is 32 under IPv4 or
1742 128 under IPv6, don't use RTF_HOST.
1743
17441999-11-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1745
1746 * Makefile.am (EXTRA_DIST): Add rtread_getmsg.c.
1747
17481999-11-21 Michael Handler <handler@sub-rosa.com>
1749
1750 * rtread_getmsg.c: Added for Solaris 2.6 support.
1751
17521999-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1753
1754 * rtread_sysctl.c (rtm_read_route): RTM_DELETE handling added.
1755
1756 * rt_socket.c (kernel_read): Better BSD routing socket support.
1757
17581999-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1759
1760 * client_main.c: Disable making obsolete zebra test `client'
1761 command.
1762
17631999-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1764
1765 * zebra.c: Renamed to zserv.c.
1766
1767 * zebra.h: Global definitions are moved to lib/zebra.h. Then
1768 renamed to zserv.h.
1769
17701999-10-15 Jordan Mendelson <jordy@wserv.com>
1771
1772 * if_ioctl.c: Add Linux 2.2.X's alias support and dynamic
1773 interface. Remove ugly MAX_INTERFACE handling codes.
1774
17751999-09-17 Satosi KOBAYASI <kobayasi@north.ad.jp>
1776
1777 * Fix serious bug of IPv6 route deletion.
1778
17791999-09-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1780
1781 * ioctl.c (if_set_prefix): Properly set broadcast address.
1782
17831999-09-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1784
1785 * rib.c (rib_add_ipv6, rib_delete_ipv6): now protocol daemons
1786 can install connected route to kernel via zebra
1787
17881999-08-24 VOP <vop@unity.net>
1789
1790 * rib.c: Include "sockunion.h"
1791
17921999-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
1793
1794 * ipforward.h: New file.
1795
1796 * zebra.h: Obsolete message ZEBRA_GET_ALL_INTERFACE,
1797 ZEBRA_GET_ONE_INTERFACE, ZEBRA_GET_HOSTINFO are deleted.
1798
17991999-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1800
1801 * zebra.h (ZEBRA_INTERFACE_ADDRESS_ADD):
1802 ZEBRA_INTERFACE_{ADD,DELETE} added.
1803
18041999-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1805
1806 * rib.c: show ip route A.B.C.D works.
1807
1808 * zebra.c (zebra_read_ipv4): Add ifindex to zebra messages.
1809
18101999-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1811
1812 * zebra.h: New Zebra message ZEBRA_INTERFACE_{ADD,DELETE} added.
1813
18141999-08-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1815
1816 * interface.h: New file.
1817 * Makefile.am: Add interface.h
1818
18191999-08-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1820
1821 * redistribute.c (zebra_redistribute): give ifindex to client.
1822
18231999-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1824
1825 * main.c (longopts): -k, --keep_kernel option added.
1826
18271999-07-18 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1828
1829 * rt_socket.c (rtm_write): forgot closing socket bug fixed.
1830
18311999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1832
1833 * rib.c (show_ipv6_cmd): if rib is link show interface name.
1834
18351999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1836
1837 * rt_socket.c (rtm_write): use sockaddr_dl when null gateway.
1838
18391999-07-16 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1840
1841 * rt_socket.c (rtm_write): ipv6 route table bug fixed.
1842
18431999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1844
1845 * zebra.c (zebra_read_ipv6): read link prefix from ospf6 support
1846
18471999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1848
1849 * rt_socket.c (kernel_rtm_ipv6): gate treatment bug fixed.
1850
18511999-07-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1852
1853 * if_sysctl.c (ifm_read): Clear sockunion argument before fetching
1854 data. Suggested by "Chris P. Ross" <cross@eng.us.uu.net>
1855
18561999-07-08 HEO SeonMeyong <seirios@Matrix.IRI.Co.Jp>
1857
1858 * interface.c (if_tun_add): Add KAME's gif tunnel setting codes.
1859
18601999-06-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1861
1862 * zebra.c (zebra_serv): Only accept loopback address connection.
1863
18641999-06-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1865
1866 * zebra.h (ZEBRA_ROUTE_EXTERNAL): Add zebra messages flags
1867
18681999-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1869
1870 * ipforward_proc.c: ipforward_on () and ipforward_off () added.
1871
18721999-06-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1873
1874 * ipforward_proc.c (ipforward_ipv6): Check for IPv6 forwarding
1875 using /proc file system is added.
1876
18771999-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1878
1879 * if_ioctl.c (if_get_index): Interface index set bug is fixed by
1880 adding #else at the middle of function. Suggested by David Luyer
1881 <luyer@ucs.uwa.edu.au>.
1882
18831999-05-29 <kunihiro@zebra.org>
1884
1885 * rt_ioctl.c: Comment out #include <linux/ipv6_route.h>.
1886
18871999-05-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1888
1889 * zebra.h (ZEBRA_ROUTE_MAX): Add new define for the max value of
1890 the sort of routes.
1891
18921999-05-25 Patrick Koppen <koppen@rhrk.uni-kl.de>
1893
1894 * rt_netlink.c (netlink_socket): Make netlink socket non-blocking.
1895 (netlink_parse_info): If errno is EWOULDBLOCK then continue to
1896 parse the message.
1897 (netlink_talk): Likewise
1898
18991999-05-17 <kunihiro@zebra.org>
1900
1901 * redistribute.c (zebra_check_addr): Added for loopback address
1902 check.
1903
19041999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1905
1906 * rt_netlink.c (netlink_route_change): Tempolary bypass ipv6 route
1907 change treatment.
1908
1909 * Makefile.am (noinst_HEADERS): redistribute.h added.
1910
1911 * redistribute.h: New file.
1912
19131999-05-14 Stephen R. van den Berg <srb@cuci.nl>
1914
1915 * zebra.c (show_table): Show all table configuration DEFUN.
1916 (config_table): Config table number DEFUN.
1917
1918 * rt_netlink.c: Add support for multiple routing table.
1919
1920 * rib.c (rib_weed_table): New function added for delete all
1921 routes from specified routing table.
1922
1923 * main.c (signal_init): SIGTERM call sigint.
1924 (sigint): Loggging more better message.
1925
19261999-05-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1927
1928 * rt_netlink.c: Change log () to zlog ().
1929
19301999-05-07 <kunihiro@zebra.org>
1931
1932 * zebra.h (ZEBRA_ROUTE_OSPF6): Added for ospf6d route.
1933
19341999-04-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1935
1936 * interface.c: Add `no ip address' command.
1937
19381999-04-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1939
1940 * rt_netlink.c (kernel_read): Function added for asynchronous
1941 zebra between kernel communication.
1942
19431999-03-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1944
1945 * rtread_sysctl.c (rtm_read): Fix address memcopy overrun bug.
1946 Reported by Achim Patzner <ap@bnc.net>.
1947
19481999-03-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1949
1950 * Makefile.am: Install configuration sample with 600 permission.
1951
19521999-03-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1953
1954 * Makefile.am: Add -I.. to INCLUDES.
1955
19561999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
1957
1958 * syslog support added
1959
19601999-02-17 Peter Galbavy <Peter.Galbavy@knowledge.com>
1961
1962 * if_sysctl.c (interface_list): allocated memory free when unknown
1963 ifm_type is returned.
1964
1965 * ioctl.c (if_get_mtu): added SIOCGIFDATA treatment.
1966
19671998-12-15 Magnus Ahltorp <map@stacken.kth.se>
1968
1969 * interface.c: Header include added.
1970
19711998-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1972
1973 * rt.h (kernel_delete_ipv6): change int index to unsigned int index.
1974
19751998-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1976
1977 * if_ioctl.c (interface_list_ioctl): interface flag must be
1978 checked before check addresses of the interface.
1979
19801998-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1981
1982 * Makefile.am (INCLUDES): add @INCLUDES@ for Linux IPv6.
1983
19841998-10-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1985
1986 * ioctl.c: Linux version before 2.1.0 need interface route setup.
1987
19881998-09-15 HEO SeonMeyong <seirios@matrix.iri.co.jp>
1989
1990 * change HYDRANGEA to KAME
1991
19921998-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1993
1994 * if_ioctl.c (if_addr_ioctl): set address family for getting
1995 interface's address.
1996 (if_get_index): silently return when can't get interface's index.
1997
19981998-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1999
2000 * main.c (main): batch mode option '-b' added.
2001
20021998-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
2003
2004 * ioctl.c (if_set_prefix): add `ip address IPV4ADDR' command.
2005 * interface.c (shutdown_if): add interface shutdown and no
2006 shutdown command.
2007
20081998-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
2009
2010 * rib.c (rib_add_ipv6): delete rib_add_in6.
2011
20121998-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2013
2014 * main.c: retain flag is added.
2015
20161998-07-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2017
2018 * rtable.[ch]: merged with rib.[ch]
2019
20201998-07-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2021
2022 * connected.h: renamed from ifa.h.
2023
20241998-06-09 Kunihiro Ishiguro <kunihiro@zebra.org>
2025
2026 * rename if.c to interface.c
2027 * rename ifa.c to connected.c
2028
2029 * Porting to Debian GNU/Linux 2.0 (hamm).
2030
20311998-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2032
2033 * rt_netlink.c: renamed from krt_netlink.c
2034
2035 * fib.c: deleted.
2036 * rt_kvm.c: deleted.
2037 * rtread_getmsg.c: deleted.
2038
20391998-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2040
2041 * if.c (multicast): add multicast flag [un]set fucntion.
2042
20431998-05-19 Yamshita TAKAO <jargon@lares.dti.ne.jp>
2044
2045 * rt_socket.c: Modify for compile on Solaris, but dont't work it.
2046 rt_socket.c have some undefined function, so add directive "IMPLEMENT"
2047
20481998-05-18 Yamshita TAKAO <jargon@lares.dti.ne.jp>
2049
2050 * zebra.c: Modify for compile on Solaris.
2051
20521998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
2053
2054 * main.c: change CONFDIR to SYSCONFDIR.
2055
20561998-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
2057
2058 * .cvsignore: added.
2059
20601998-04-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2061
2062 * client.c: moves to ../lib.
2063
20641998-03-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2065
2066 * if_ioctl.c (if_get_addr): Change address copy from memcopy() to
2067 structure assignment.
2068
20691998-03-30 URA Hiroshi <ura@yamato.ibm.co.jp>
2070
2071 * if_sysctl.c (ifm_interface_add): sdl->sdl_data copy bug fixed.
2072
20731998-02-23 "Hannes R. Boehm" <hannes@boehm.org>
2074
2075 * if.c (if_init): add config_exit_cmd and config_help_cmd.
2076
20771998-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2078
2079 * rt_ioctl.c (route_ioctl): EPERM treatment added.
2080
20811998-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2082
2083 * rt_socket.c (kernel_read): communication port zebra between
2084 kernel is now handled by kernel_read.
2085
20861998-01-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2087
2088 * main.c (main): zebra [-P port] can specify vty port number.
2089
20901997-12-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2091
2092 * zebra.c: change select will be block.
2093
20941997-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2095
2096 * add static route treatment.
2097
20981997-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2099
2100 * rt_netlink.c: add netlink support over GNU/Linux system.
2101
21021997-11-23 Kunihiro Ishiguro <kunihiro@zebra.org>
2103
2104 * all inet_addr is changed to inet_aton.
2105
2106 * zebra.c (ip_route): add ip route command for static routes.
2107
21081997-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
2109
2110 * if.c (if_flag_dump): Linux port of if_flag_dump and _vty.
2111
21121997-11-19 Kunihiro Ishiguro <kunihiro@zebra.org>
2113
2114 * if.c: add interface command.
2115
21161997-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
2117
2118 * ipforward_proc.c : Now works on Linux.
2119
21201997-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2121
2122 * command.c : add completion feature.
2123
21241997-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
2125
2126 * vty.c (vty_command): add vty interface.
2127
21281997-10-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2129
2130 * zebra.c: add verbose mode.
2131
21321997-10-12 SonMyong Ho <s-ho@Matrix.IRI.Co.Jp>
2133
2134 * Hydrangea for FreeBSD supported
2135 * in.h: add some prototype.
2136
21371997-10-11 Kunihiro Ishiguro <kunihiro@zebra.org>
2138
2139 * rt_socket.c and rtread.c completely rewritten.
2140
21411997-10-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2142
2143 * rt_socket.c: rename kernel_sock to routing_socket
2144
21451997-10-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2146
2147 * if.c (if_new): interface structure change from linklist to vector.
2148
21491997-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
2150
2151 * vector.c (vector_init): create vector related function
2152
21531997-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2154
2155 * Makefile.in: add tags target
2156
2157 * start IPv6 support for INRIA FreeBSD.
2158