blob: c31e350404e8d2b79a36acfa8b3e873a9dbd9bc4 [file] [log] [blame]
Paul Jakma630c97c2006-06-15 12:48:17 +000012006-06-15 Paul Jakma <paul.jakma@sun.com>
2
3 * interface.c: (if_flag_dump_vty) redundant code, remove.
4 (if_dump_vty) use libzebra if_flag_dump.
5
Andrew J. Schorr9c378512006-05-21 04:04:49 +000062006-05-21 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
7
8 * connected.c: (connected_withdraw) Do not delete the connected
9 address if the ZEBRA_IFC_CONFIGURED flag is set.
10 (connected_add_ipv4,connected_add_ipv6) Before calling
11 connected_withdraw, unset the ZEBRA_IFC_CONFIGURED flag
12 on the superseded connected structure.
13
Andrew J. Schorr0f38dc42006-05-19 13:53:23 +0000142006-05-19 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
15
16 * connected.c: (connected_add_ipv4,connected_add_ipv6) If the
17 new struct connected matches an already existing one
18 (that will consequently be removed by connected_withdraw),
19 then be sure to preserve the ZEBRA_IFC_CONFIGURED flag.
20
Andrew J. Schorr55196042006-05-17 15:04:59 +0000212006-05-17 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
22
23 * kernel_socket.c: (ifam_read_mesg) Improve debug message
24 to show the IP address.
25
Paul Jakma66859782006-05-15 17:00:37 +0000262006-05-15 Paul Jakma <paul.jakma@sun.com>
27
28 * zserv.c: (general) Remove the private zebra_command_str
29 in favour of newly added libzebra zserv_command_string.
30
Paul Jakmabeb56332006-05-11 13:28:05 +0000312006-05-11 Paul Jakma <paul.jakma@sun.com>
32
33 * interface.c: (if_delete_update) route_node_lookup may return
34 NULL, should fix Coverity CID #31.
35
Paul Jakmae6d7d052006-03-30 13:32:09 +0000362006-02-09 Paul Jakma <paul.jakma@sun.com>
37
38 * rib.h: (struct {rib,nexthop}) Rearrange fields to avoid
39 needless padding.
40 (struct rib) Remove the indirect pointer, not used anywhere!
41
paul3a570c82006-02-02 17:27:13 +0000422006-02-02 Paul Jakma <paul.jakma@sun.com>
43
44 * interface.c: (if_dump_vty) move flags to their line, neater.
45
paula1038a12006-01-30 14:08:51 +0000462006-01-30 Paul Jakma <paul.jakma@sun.com>
47
48 * zebra_rib.c: (rib_process) Fourth time lucky on this jinxed
49 commit, last commit had a hole that could allow connected
50 route selection to escape beyond the connected route logic.
51 This time I cross-checked with Gunnar first. ;)
52
paula8d9c1f2006-01-25 06:31:04 +0000532006-01-25 Gunnar Stigen <gunnar.stigen@axxessit.no>
54
55 * zebra_rib.c: (rib_process) Application of Gunnar's earlier
56 metric selection RIB change included incorrect tidy-ups made
57 by commiter. Fix. (NB: any errors here are again due to paul).
58
paul5c78b3d2006-01-25 04:31:40 +0000592006-01-25 Paul Jakma <paul.jakma@sun.com>
60
61 * (general) More solaris PF_ROUTE hacks. The IFF_UP mangling
62 for solaris was incomplete on the PF_ROUTE side. fix it.
63 This changeset generally uglifies things. For some future
64 work I'd like to see the state changes seperated out from
65 the details of the code. Differences between systems might
66 then be slightly easier to implement without convoluted
67 hacks.
68 Changes should be specific to Solaris mostly, however
69 also tested on FreeBSD 6.
70 * if_ioctl_solaris.c: (interface_list_ioctl) ignore ~IFF_UP
71 interfaces, we'll hear about them when/if interface goes up
72 through NEWADDR.
73 Update flags explicitely at end of it to kick mangling.
74 * ioctl_solaris.c: (if_mangle_up) removed to interface.c, in
75 kind.
76 (lifreq_set_name) more convenient to take the string, than
77 the ifp.
78 (if_get_flags_direct) new convenience function, returns
79 the actual flags. Used during bootstrap in if_ioctl_solaris.c
80 to peek at flags of logical interfaces to see whether or
81 not to ignore them.
82 (if_get_flags) ENXIO means it's gone, poke out IFF_UP and
83 kick flags update.
84 (if_{un,}set_flags) flags argument should be 64bit.
85 * ioctl.{c,h}: flags argument should be 64bit.
86 * interface.h: Add a 'primary_state' flag to struct zebra_if on
87 SUNOS_5.
88 Export if_flags_update.
89 * interface.c: (if_flags_mangle) moved over in kind from
90 ioctl_solaris.c. Nasty kludge to try get IFF_UP right, as
91 much as is possible. Also keep track of the actual IFF_UP
92 value for the primary interface, so we can know when the ifp
93 must be deleted.
94 (if_flags_update) Take a new interface flags value, apply it
95 to the interface, and take whatever actions are required due
96 to flag transitions.
97 (if_refresh) flag state change logic is moved out to
98 previous. Just call if_get_flags, which will end up using
99 previous to effect the update of flags.
100 (if_flag_dump_vty) IFF_IPV{4,6} aren't interesting, VIRTUAL
101 and NOXMIT are though.
102 * kernel_socket.c: (ifm_read) Down->Down transitions shouldn't
103 create ifp, for non-IFANNOUNCE systems.
104 Use if_flags_update to update flags.
105 flag transition logic is now handled automatically through
106 if_flags_update.
107 (ifam_read) Better to call if_refresh *after* adding
108 connected addresses, as connected count affects IFF_UP on
109 IFF_UP-mangled systems.
110 On Solaris, Up->Down due to DELADDR means we need to delete
111 the ifp - the IFINFO might already have been and gone.
112 * rt.h: include other dependent headers.
113
paule8e19462006-01-19 20:16:55 +00001142006-01-19 Paul Jakma <paul.jakma@sun.com>
115
116 * (general) various miscellaneous compiler warning fixes.
117 Remove redundant break statements from switch clauses
118 which return.
119 Remove stray semi-colons which cause empty-statement
120 warnings.
121 * main.c: (sighup) remove private declaration of external
122 function.
123 (main) return from main, not exit, cause it annoys SOS.
124
paulaf887b52006-01-18 14:52:52 +00001252006-01-18 Gunnar Stigen <gunnar.stigen@axxessit.no>
126
127 * zebra_rib.c: Take interface metric into account.
128
pauld34b8992006-01-17 18:03:04 +00001292006-01-17 Paul Jakma <paul.jakma@sun.com>
130
131 * kernel_socket.c: (ifam_read) Read metric from RTM_NEWADDR.
132 If interface is an alias, pass the alias as a label for
133 connected_add_ipv{4,6}.
134 * rt_netlink.c: (netlink_interface_addr) print out
135 IFA_CACHEINFO info, if present, when debugging kernel
136 messages.
137
paulc7133002006-01-17 17:56:18 +00001382006-01-17 Gunnar Stigen <gunnar.stigen@axxessit.no>
139
140 * connected.c: (connected_up_ipv{4,6}) Include interface metric on
141 connected routes.
paul61f42ae2006-01-17 17:59:11 +0000142 * if_ioctl.c: (if_getaddrs) Be defensive about assuming
143 that struct ifaddrs will have ifa_addr filled in.
paulc7133002006-01-17 17:56:18 +0000144
paulc1b98002006-01-16 01:54:02 +00001452006-01-16 Paul Jakma <paul.jakma@sun.com>
146
147 * zserv.c: Read/write updated Zserv header.
148
paulc77d4542006-01-11 01:59:04 +00001492006-01-11 Paul Jakma <paul.jakma@sun.com>
150
151 * zserv.c: (zsend_interface_{add,delete,update}) if flags are
152 8 bytes now, update to write out with stream_putq.
153
gdt6083e1f2005-12-29 15:59:57 +00001542005-12-29 Greg Troxel <gdt@fnord.ir.bbn.com>
155
gdte14b7fc2005-12-29 16:04:53 +0000156 * kernel_socket.c: remove dead code (from David Young).
157
gdt6083e1f2005-12-29 15:59:57 +0000158 * rt_socket.c (kernel_rtm_ipv4): Use AF_INET rather than AF_UNSPEC
159 for mask. From David Young.
160
paul89368d92005-11-26 09:14:07 +00001612005-11-26 Paul Jakma <paul.jakma@sun.com>
162
163 * connected.{c,h}: (connected_add_ipv6) label should have
164 const qualifier, fix declarations.
165
paulec1a4282005-11-24 15:15:17 +00001662005-11-24 Paul Jakma <paul.jakma@sun.com>
167
168 * kernel_socket.h: New header for functions exported to sysctl
169 methods.
170 * kernel_socket.c: include previous.
171 Remove static qualifier from couple of functions which are
172 used by sysctl methods.
173 Add a workaround for a bogus gcc warning to the RTA_ macros.
174 * Makefile.am: Add kernel_socket.h to noinst_HEADERS
175 * if_sysctl.c: include rt.h and kernel_socket.h and remove
176 redundant prototypes.
177 * rtread_sysctl.c: ditto.
178 (route_read) fix mismatch of return values.
179 * {rt,zserv,rib}.h: Include lib headers depended on.
180
paul6621ca82005-11-23 13:02:08 +00001812005-11-23 Paul Jakma <paul.jakma@sun.com>
182
183 * (general) fix some small compile errors, and mark several
184 functions as static.
185 * kernel_socket.c: (ifan_read) should be static.
186 fix missing brackets.
187 (ifm_read,ifam_read,rtm_read_mesg,kernel_read) Make static
188 (ifam_read_mesg) make static. fix incorrect variable name.
189 (rtm_read) make static. Fix call to rib_delete_ipv4 which
190 should be rib_delete_ipv6.
191 (routing_socket,kernel_init) should be static. Void argument
192 should be specified as such, not left incomplete.
193 * rt_netlink.c: rt.h should be included, contains prototypes of
194 exported functions.
195 (kernel_delete_ipv6_old) fix sign of index argument.
196 * rt_socket.c: Exact same as previous. Also, make various
197 functions static.
198 * rtread_getmsg.c: Include zserv.h, which prototypes
199 route_read. Make static.
200 * rtread_sysctl.c: zserv.h and rt.h should be included.
201 fix definition of route_read.
202
paul0fb58d52005-11-14 14:31:49 +00002032005-11-14 Paul Jakma <paul.jakma@sun.com>
204
205 * zebra_rib.c: (rib_process) convert to new workqueue specs and
206 shut up gcc, which complains about cast from void via
207 function parameters, for some dumb reason. Do the cast
208 inside the function instead.
209 (rib_queue_qnode_del) ditto.
210 (rib_queue_init) no need for the casts anymore.
211
paul6fe70d12005-11-12 22:55:10 +00002122005-11-12 Alexander Gall <gall@switch.ch>
213
214 * See [quagga-dev 1815]
215 * kernel_socket.c: (rtm_write) Use SAROUNDUP when HAVE_SIN_LEN
216 is not available.
217 * rt_socket.c: (kernel_rtm_ipv6(_multipath)) set family to
218 AF_INET6 on ipv6 routes.
219
2202005-11-12 Paul Jakma <paul.jakma@sun.com>
221
222 * kernel_socket.c: Add RTA_NAME_GET macro to extract name from
223 sockaddr_dl. Add some more RTF_ flags.
224 * (ifan_read) Add some debug messages.
225 * (ifm_read) Add more debug messages. More robust cross-checks
226 of index against name.
227 Fall back to by-name lookup if the index lookup fails, future
228 proofing more than anything else.
229 (ifam_read_mesg) Read RTA_IFP. Add debug messages.
230 (ifam_read) More debug. If there's an RTA_IFP and it isn't
231 the name of the interface, save it as the label.
232 (rtm_read_mesg) Read RTA_IFP.
233 (rtm_read) allow name to be retrieved.
234 (rtmsg_debug) expand on the debug message.
235
paul0994c3a2005-11-11 09:52:40 +00002362005-11-11 Paul Jakma <paul.jakma@sun.com>
237
238 * kernel_socket.c: (ifm_read) arithmetic on void pointer
239 warning.
240 (ifam_read) Fix error from connected-with-label merge,
241 something crept in from the pending Solaris kernel_socket.c
242 patch which shouldn't have.
243
paul0752ef02005-11-03 12:35:21 +00002442005-11-03 Paul Jakma <paul.jakma@sun.com>
245
246 * connected.{c,h}: Include memory.h
247 (connected_add_ipv4) Use MTYPE for ifc label.
248 (connected_add_ipv6) Also should accept label. Store it in ifp.
249 (connected_del_ipv4) Taking label as argument is pointless.
250 * rt_netlink.c: (netlink_interface_addr) update label usage
251 for connected_{add,delete} functions.
252 * if_ioctl.c: (if_getaddrs) NULL label for connected_add_ipv6.
253 * if_ioctl_solaris.c: (interface_list_ioctl) Pass LIFC_NOXMIT
254 so we also find out about NOXMIT interfaces like VNI.
255 Bit of hackery to turn interface names into the primary
256 interface name, later with routing socket messages we only
257 will about primary interfaces anyway, so we must normalise
258 the name.
259 (if_get_addr) take label as argument, so it can
260 be passed to connected_add.
261 If label is provided, then it is interface name to issue the
262 ioctl for address information on, not the ifp name.
263 (interface_list) List AF_UNSPEC too, just in case.
264 * if_proc.c: (ifaddr_proc_ipv6) label for connected_add_ipv6.
265 * interface.c: (if_addr_wakeup) Some very bogus code - sets
266 IFF_RUNNING - add comment.
267 (if_refresh)
268 (ip_address_install) Use MTYPE for ifc label.
269 * ioctl_solaris.c: (if_mangle_up) New function. Hackery to make
270 IFF_UP reflect whether any addresses are left on the
271 interface, as we get signalled for IFF_UP flags change on the
272 primary interface only. Logical interfaces dont generate
273 IFINFO, but we do get an RTM_DELADDR.
274 (if_get_flags) Call if_mangle_up before return.
275 * kernel_socket.c: (ifam_read) Fixup calls to
276 connected_{add,delete} to match above changes. Rename gate
277 variable to brd, less confusing.
278 Pass the interface name as a label, if it is not same name
279 as ifp->name.
280
pauld06b2a62005-10-11 03:53:54 +00002812005-10-11 Paul Jakma <paul.jakma@sun.com>
282
283 * connected.{c,h}: (connected_{add,delete}_ipv4) label should
284 be const qualified.
285
ajsc05612b2005-10-01 16:36:54 +00002862005-10-01 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
287
ajsf52d13c2005-10-01 17:38:06 +0000288 * zebra_vty.c: (route_type_str) Remove obsolete function: use new
289 library function zebra_route_string() instead. Note that there
290 are a few differences: for IPv6 routes, we now get "ripng" and
291 "ospf6" instead of the old behavior ("rip" and "ospf").
292 (route_type_char) Remove obsolete function: ues new library function
293 zebra_route_char() instead. Note that there is one difference:
294 the old function returned 'S' for a ZEBRA_ROUTE_SYSTEM route,
295 whereas the new one returns 'X'.
296 (vty_show_ip_route_detail,vty_show_ipv6_route_detail) Replace
297 route_type_str() with zebra_route_string().
298 (vty_show_ip_route,vty_show_ipv6_route) Replace route_type_char()
299 with zebra_route_char().
300
3012005-10-01 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
302
ajsc05612b2005-10-01 16:36:54 +0000303 * rt_netlink.c: (netlink_request) Use memset to clear structure
304 before calling sendto (eliminates a valgrind error message about
305 uninitialized data).
vincentaa2e32b2005-09-28 13:42:11 +0000306
3072005-09-28 Alain Ritoux <alain.ritoux@6wind.com>
308
vincentfbf5d032005-09-29 11:25:50 +0000309 * zserv.c: Always provied distance for route add
310
3112005-09-28 Alain Ritoux <alain.ritoux@6wind.com>
312
vincentaa2e32b2005-09-28 13:42:11 +0000313 * connected.c: flag connected_up_ipv6() and connected_down_ipv6()
314 usage with HAVE_IPV6
315
hassod24af182005-09-24 14:00:26 +00003162005-09-24 Hasso Tepper <hasso at quagga.net>
317
318 * rib.h: Add note about behaviour of rib_add_ipv[46]* functions -
319 add is treated as implicit withdraw.
320
hassoebf1ead2005-09-21 14:58:20 +00003212005-09-21 David Young <dyoung@ojctech.com>
322
323 * zebra_rib.c: Reduce the height of some staircases. Fix
324 rib_delete_ipv6() to match routes in the RIB by their gateway as
325 well as by destination.
326
paul319572c2005-09-21 12:30:08 +00003272005-09-21 Paul Jakma <paul.jakma@sun.com>
328
329 * zebra_rib.c: (static_uninstall_ipv{4,6}) Fix regression wrt
330 removal of static routes with multiple-hops introduced with
331 the workqueue conversion. We should free the relevant
332 nexthop and then get rib_process to run, otherwise we just
333 get same static route back again (with no way to unconfigure
334 it, because its already deleted from configuration).
335
paulca162182005-09-12 16:58:52 +00003362005-09-12 Paul Jakma <paul.jakma@sun.com>
337
338 * (general) RTM_CHANGE and implicit withdraw on RTM_NEWADDR
339 support.
340 * connected.c: (connected_withdraw) new function. withdraw a
341 connected subnet address set from zebra, and pass information
342 along to clients.
343 (connected_announce) similar, but to announce a new connected
344 subnet address set.
345 (connected_check_ipv4) renamed to connected_check, as its
346 AFI independent.
347 (connected_add_ipv{4,6}) Remove the connected address announce
348 stuff, use connected_announce instead.
349 If connected_check indicates address is already present,
350 treat it as an implicit withdraw of the existing address, ie
351 remove the old address details and replace with the new
352 details.
353 (connected_delete_ipv{4,6}) Use connected_withdraw.
354 (connected_check_ipv6) deleted in favour of connected_check.
355 * connected.h: Rename connected_check_ipv4 to connected_check.
356 delete connected_check_ipv6.
357 * interface.c: Use connected_check rather than the AFI specific
358 symbols.
359 * kernel_socket.c: (rtm_read) RTM_CHANGE support. Create a
360 rib delete event for the existing route, before adding route
361 again.
362 (kernel_read) we can handle RTM_CHANGE now.
363
hassobe61c4e2005-08-27 06:05:47 +00003642005-08-27 Hasso Tepper <hasso at quagga.net>
365
366 * zebra_rib.c, rib.h: Add distance and metric arguments to the
367 rib_add_ipv6() function so that IPv6 routes in RIB can have correct
368 metric. No IPv6 routing daemon uses distance yet though.
369 * zserv.c, connected.c, kernel_socket.c, rt_netlink.c,
370 rtread_proc.c,zserv.c: Pass metric and distance info to the
371 rib_add_ipv6().
372
paul6eb88272005-07-29 14:36:00 +00003732005-07-29 Paul Jakma <paul.jakma@sun.com>
374
375 * interface.c: (if_delete_update) should always be available, not
376 just on RTM_IFANNOUNCE/NETLINK systems.
377 * kernel_socket.c: (ifan_read) only call if_delete_update when
378 interface departs, dont if_delete, because we wish to retain
379 interface configuration state even when interfaces are removed.
380 (ifm_read) If we dont have RTM_IFANNOUNCE, then transitioning
381 to down state is only chance we have to clean up interface in case
382 it is deleted (eg Solaris down -> unplumb -> plumb up).
383 * redistribute.c: (zebra_interface_delete_update) should always be
384 available, we /will/ call it now on all systems, via
385 if_delete_update.
386 * zserv.c: (zsend_interface_delete) ditto
387 (zsend_interface_address) Update the call-flow diagramme, to
388 reflect that if_delete_update /is/ now called on all systems,
389 potentially.
390 * zserv.h: (zsend_interface_delete) unconditionally exported, as
391 above.
392
paula1ac18c2005-06-28 17:17:12 +00003932005-06-28 Paul Jakma <paul.jakma@sun.com>
394
395 * (global) Extern and static'ification, with related fixups
396 of declarations, ensuring files include their own headers, etc.
paulea6f82b2005-06-28 17:20:26 +0000397 * if_ioctl.c: (interface_info_ioctl) fix obvious arg mis-order in
paula1ac18c2005-06-28 17:17:12 +0000398 list loop
paulea6f82b2005-06-28 17:20:26 +0000399 * kernel_socket.c: (RTA_{ADDR,ATTR}_GET) fix mistake, NULL check
400 should be on DEST argument
paula1ac18c2005-06-28 17:17:12 +0000401
paul62debbb2005-06-14 14:07:07 +00004022005-06-14 Paul Jakma <paul.jakma@sun.com>
403
404 * kernel_socket.c: consolidate the IFAM{ADDR,MASK}GET and
405 RTM{ADDR,MASK}GET macros into generic rta_addrs macros,
406 RTA_{ADDR,ATTR}_GET.
407 (af_check) could use 'inline' attribute
408 (ifam_read_mesg) remove IFAM{ADDR,MASK}GET macro, change to
409 generic macro.
410 (rtm_read_mesg) similar
411
hasso1ada8192005-06-12 11:28:18 +00004122005-06-12 Hasso Tepper <hasso at quagga.net>
413
414 * rt_netlink.c: Remove netlink-addr socket declaration, it's not used.
415 * rt_netlink.c (netlink_parse_info): Fix debug messages - nlmsg_pid is
416 unsigned and one zlog call had swapped arguments.
417 * rt_netlink.c (netlink_route_multipath): Fix compile with disabled
418 IPv6 support.
419
paul1dcb5172005-05-31 08:38:50 +00004202005-05-31 Paul Jakma <paul.jakma@sun.com>
421
422 * zserv.c: (zsend_route_multipath) Fix bug if route is sent
423 with no NEXTHOP_FLAG_FIB nexthops. As ZAPI_MESSAGE_IFINDEX
424 and ZAPI_MESSAGE_NEXTHOP are always set, clients would try
425 read non-existent nexthop information and hit stream assert.
426 Zserv is still broken for multi-nexthop messages, but it always was.
427
paul69e10ad2005-05-06 21:27:33 +00004282005-05-06 Paul Jakma <paul.jakma@sun.com>
429
430 * zserv.h: Remove ZEBRA_PORT definition, its in lib/zebra.h now
431
paul4d38fdb2005-04-28 17:35:14 +00004322005-04-28 Paul Jakma <paul.jakma@sun.com>
433
434 * rib.h: (struct rib) Add lock field for refcounting.
435 * zserv.h: (struct zebra_t) Add a ribq workqueue to the zebra
436 'master' struct.
437 * zserv.c: (zread_ipv4_add) XMALLOC then memset should be XCALLOC.
438 * zebra_rib.c: Clean up refcounting of route_node, make struct rib
439 refcounted and convert rib_process to work-queue. In general,
440 rib's should be rib_addnode'd and delnode'd to route_nodes, and
441 these symmetrical functions will manage the locking of referenced
442 route_node and freeing of struct rib - rather than having users
443 manage each seperately - with much scope for bugs..
444 (newrib_free) removed and replaced with rib_lock
445 (rib_lock) new function, check state of lock and increment.
446 (rib_unlock) new function, check lock state and decrement. Free
447 struct rib if refcount hits 0, freeing struct nexthop's, as
448 newrib_free did.
449 (rib_addnode) Add RIB to route_node, locking both.
450 (rib_delnode) Delete RIB from route_node, unlocking each.
451 (rib_process) Converted to a work-queue work function.
452 Functional changes are minimal, just arguments, comments and
453 whitespace.
454 (rib_queue_add_qnode) Helper function to setup a ribq item.
455 (rib_queue_add) Helper function, same arguments as old
456 rib_process, to replace in callers of rib_process.
457 (rib_queue_qnode_del) ribq deconstructor.
458 (rib_queue_init) Create the ribq.
459 (rib_init) call rib_queue_init.
460 (remainder) Sanitise refcounting of route_node's. Convert to
461 rib_queue_add, rib_addnode and rib_delnode. Change XMALLOC/memset
462 to XCALLOC. Remove calls to nexthop_delete and nexthop_free.
463
paulcf460ef2005-04-10 16:54:26 +00004642005-04-10 Paul Jakma <paul@dishone.st>
465
466 * if_ioctl_solaris.c: (if_lookup_linklocal) fix order of args
467 in ALL_LIST_ELEMENTS_RO macro.
468
ajs57a14772005-04-10 15:01:56 +00004692005-04-10 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
470
471 * zserv.c (zebra_client_read): Fix bug: first read attempt should
472 read ZEBRA_HEADER_SIZE minus the number of bytes already read.
473 Improve efficiency by maintaining a calculation of the number
474 of bytes read instead of calling stream_get_endp multiple times.
475 If message length is too small, issue a warning message (not debug)
476 before closing the connection. And also check that message length
477 is not too big.
478
hasso206d8052005-04-09 16:38:51 +00004792005-04-09 Hasso Tepper <hasso at quagga.net>
480
hassofa599802005-04-09 16:59:28 +0000481 * rt_netlink.c: One tiny missing comma caused pointless debug messages
482 about IPv6 nexthops.
483
4842005-04-09 Hasso Tepper <hasso at quagga.net>
485
hasso206d8052005-04-09 16:38:51 +0000486 * rt_netlink.c (netlink_parse_info): Fix warning. It's safe to cast
487 status to unsigned here, because we already checked that it isn't
488 negative or 0.
489 * rt_netlink.c (netlink_interface_addr): Prefix length belongs to the
490 address, not to the interface.
491 * rt_netlink.c (netlink_route_multipath): Fix debug. No useless info
492 is printed out now and IPv6 info is handeled.
493
paul3d1dc852005-04-05 00:45:23 +00004942005-04-05 Paul Jakma <paul@dishone.st>
495
496 * zserv.c: print more helpful errors when we fail to successfully
497 bind and listen on zserv socket. Closes bugzilla #163.
498
ajsd2fc8892005-04-02 18:38:43 +00004992005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
500
ajs08dbfb62005-04-03 03:40:52 +0000501 * if_ioctl.c: (interface_list_ioctl) Use if_get_by_name_len.
502 * if_proc.c: (ifaddr_proc_ipv6) Increase size of ifname buffer to
503 avoid overflow.
504 * kernel_socket.c: (ifan_read) Use if_get_by_name_len.
505
5062005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
507
ajsa3491982005-04-02 22:50:38 +0000508 * kernel_socket.c: (ifm_read) Use new if_lookup_by_name_len function
509 to save a memcpy.
510 * if_ioctl_solaris.c: (interface_list_ioctl) Fix subtle bug with new
511 if_get_by_name_len function.
512
5132005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
514
ajsd2fc8892005-04-02 18:38:43 +0000515 * interface.c: (if_new_intern_ifindex) Remove obsolete function.
516 (if_delete_update) After distributing the interface deletion message,
517 set ifp->ifindex to IFINDEX_INTERNAL.
518 (if_dump_vty) Detect pseudo interface by checking if ifp->ifindex is
519 IFINDEX_INTERNAL.
520 (zebra_interface) Check return code from interface_cmd.func.
521 Do not set internal ifindex values to if_new_intern_ifindex(),
522 since we now use IFINDEX_INTERNAL for all pseudo interfaces.
523 * kernel_socket.c: (ifm_read) Fix code and comments to reflect that
524 all internal interfaces now have ifp->ifindex set to IFINDEX_INTERNAL.
525 * rt_netlink.c: (set_ifindex) New function used to update ifp->ifindex.
526 Detects interface rename events by checking if that ifindex is already
527 being used. If it is, delete the old interface before assigning
528 the ifindex to the new interface.
529 (netlink_interface, netlink_link_change) Call set_ifindex to update
530 the ifindex.
531
hassob7ed1ec2005-03-31 20:13:49 +00005322005-03-31 Hasso Tepper <hasso at quagga.net>
533
534 * rt_netlink.c (netlink_talk_filter): Show always warning message,
535 it's not for debug.
536 * rt_netlink.c (netlink_talk): Don't assume we use netlink_cmd
537 although we do now actually.
538 * rt_netlink.c (netlink_route, netlink_route_multipath): Always use
539 netlink_cmd to send messages to the kernel.
540
ajs2da40f42005-03-30 16:33:13 +00005412005-03-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
542
543 * irdp.h: Add prototype for irdp_sock_init, and fix protos for
544 other irdp_* functions.
545 * irdp_interface.c: (irdp_if_start) If irdp_sock is negative,
546 call irdp_sock_init to create the IRDP socket.
547 (irdp_if_init) Rename to irdp_init().
548 (get_iflist_ifp) Remove function that is a duplicate of
549 if_lookup_by_index.
550 (*) Make many functions static. And remove superfluous "\n" from
551 several zlog messages.
552 * irdp_main.c: (irdp_init) Remove function that used to call
553 irdp_if_init() and irdp_sock_init(), since we will now create
554 the socket only upon first use.
555 (irdp_sock_init) Do not update global irdp_sock variable, just
556 return the fd and assume that the caller will do so. If setsockopt
557 calls fail, close the socket before returning -1.
558 (*) Make many functions static.
559 * irdp_packet.c: Initialize irdp_sock to -1.
560 (irdp_read_raw) Call standard library function if_lookup_by_index
561 instead of get_iflist_ifp.
562 (irdp_recvmsg) Should be static, not global.
563
ajsa608bbf2005-03-29 17:03:49 +00005642005-03-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
565
566 * rt_netlink.c: (netlink_link_change) If the status of an
567 operative interface changes (e.g. MTU changes), the client
568 daemons should be notified by calling zebra_interface_up_update.
569 Previously, the information was being updated in zebra's
570 interface structure, but the clients were not notified of
571 changes to an operative interface.
572
vincent7cee1bb2005-03-25 13:08:53 +00005732005-03-25 Jean-Mickael Guerin <jean-mickael.guerin@6wind.com>
574 * interface.c, interface.h, rtadv.c, rtadv.h: modifications to
575 IPv6 Neighbor Discovery according to RFC3775, section 7:
576 o 1-bit Home Agent flag management in Router Advertisement (7.1).
577 o 1-bit Router Address flag management in Prefix Information
578 Option (7.2).
579 o Advertisement Interval Option (7.3)
580 o Home Agent Information Option (7.4)
581 o Changes to Sending Router Advertisements more frequently (7.5)
582
hassoed9bb6d2005-03-13 19:17:21 +00005832005-03-13 Hasso Tepper <hasso at quagga.net>
584
585 * zebra/interaface.c: "show interface description" command
586 implemented.
587
paulc1f01f32005-03-12 06:33:14 +00005882005-03-12 Paul Jakma <paul@dishone.st>
589
590 * rt_netlink.c: (netlink_route_multipath) dont set equalise flag.
591 No stock Linux kernel has ever supported it, and even if it had
592 it's not generally a good idea.
593
hasso42a66d72005-03-07 08:19:44 +00005942005-03-07 Michael Sandee <voidptr@voidptr.sboost.org>
595
596 * if_proc.c, ipforward_proc.c, rtread_proc.c: Fix fd leaks.
597
hasso3452d472005-03-06 13:42:05 +00005982005-03-06 Hasso Tepper <hasso at quagga.net>
599
600 * interface.c: Fix CRC and frame errors statistics in Linux.
601
ajs719e9742005-02-28 20:52:15 +00006022005-02-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
603
604 * zserv.c: Must include network.h and buffer.h for non-blocking I/O.
605 Remove global message_queue and t_write (need separate buffering for
606 each client).
607 (zebra_server_dequeue,zebra_server_enqueue) Remove functions
608 related to old buggy buffering code.
609 (zserv_delayed_close) New thread callback function to delete a client.
610 (zserv_flush_data) New thread callback function to flush buffered
611 data to client.
612 (zebra_server_send_message) Rewritten to use buffer_write (so
613 buffering of writes and non-blocking I/O work properly).
614 (zsend_interface_add,zsend_interface_delete,zsend_interface_address,
615 zsend_interface_update) Return 0 instead of -1 if !client->ifinfo
616 (this is not really an error). Return value from
617 zebra_server_send_message.
618 (zsend_route_multipath,zsend_ipv4_nexthop_lookup,
619 zsend_ipv4_import_lookup) Return value from zebra_server_send_message.
620 (zsend_ipv6_nexthop_lookup) Fix scope to static, and return value
621 from zebra_server_send_message.
622 (zsend_router_id_update) Must use zebra_server_send_message instead
623 of deprecated writen function. Return 0 instead of -1 if this client
624 is not subscribed to router-id updates (since this is not really
625 an error).
626 (zread_interface_add) Change type to static int. If
627 zsend_interface_add fails or zsend_interface_address fails, return -1
628 immediately (since the client has had an I/O error).
629 (zread_interface_delete,zread_ipv4_add,zread_ipv4_delete,
630 zread_ipv6_add,zread_ipv6_delete,zread_router_id_delete) Return 0
631 to indicate success.
632 (zread_ipv4_nexthop_lookup) Return value from
633 zsend_ipv4_nexthop_lookup.
634 (zread_ipv4_import_lookup) Return value from zsend_ipv4_import_lookup.
635 (zebra_read_ipv6) Remove unused function.
636 (zread_ipv6_nexthop_lookup) Return value from
637 zsend_ipv6_nexthop_lookup.
638 (zread_router_id_add) Return value from zsend_router_id_update.
639 (zebra_client_close) Call buffer_free(client->wb) and
640 thread_cancel(client->t_suicide).
641 (zebra_client_create) Allocate client->wb using buffer_new.
642 (zebra_client_read) Support non-blocking I/O by using stream_read_try.
643 Use ZEBRA_HEADER_SIZE instead of 3.
644 (zebra_accept) Fix bug: reset accept thread at top. Make client
645 socket non-blocking using the set_nonblocking function.
646 (config_write_forwarding) Fix scope to static.
647 (zebra_init) Remove initialization code for old buggy write buffering.
648 * zserv.h: Add 2 new fields to struct zserv: struct buffer *wb
649 (to enable buffered writes with non-blocking I/), and
650 struct thread *t_suicide to support delayed close on I/O
651 errors.
652 * router-id.h: Remove prototypes for zread_router_id_add and
653 zread_router_id_delete (their scope should be static to zserv.c).
654
ajs27da3982005-02-24 16:06:33 +00006552005-02-24 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
656
657 * redistribute.c: (zebra_check_addr,is_default,
658 zebra_redistribute_default,zebra_redistribute) Fix scope to be static.
659
hassoe8274dc2005-02-20 19:09:23 +00006602005-02-20 Hasso Tepper <hasso at quagga.net>
661
662 * rt_netlink.c: Don't show messages "ignoring message type 0x001[89]"
663 if we are not debugging.
664
paule31f2292005-02-19 02:00:26 +00006652005-02-19 Paul Jakma <paul@dishone.st>
666
667 * zserv.c: (zebra_read_ipv6) replace the char * arithmetic with
668 STREAM_READABLE.
669
paul1e193152005-02-14 23:53:05 +00006702005-02-14 Paul Jakma <paul@dishone.st>
671
672 * Not all Linux netlink systems have IFLA_WIRELESS
673
ajs6a52d0d2005-01-30 18:49:28 +00006742005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
675
676 * ioctl.c: (if_ioctl,if_ioctl_ipv6,if_get_flags) Replace perror with
677 zlog_err.
678 * ioctl_solaris.c: (if_ioctl,if_ioctl_ipv6) Replace perror with
679 zlog_err.
680
ajs4be019d2005-01-29 16:12:41 +00006812005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
682
ajs4460e7a2005-01-29 17:07:40 +0000683 * if_ioctl_solaris.c: (interface_list_ioctl) Save errno before calling
684 zserv_privs.change.
685 * ioctl{,_solaris}.c: (if_ioctl,if_ioctl_ipv6) Save errno before calling
686 zserv_privs.change.
687 * ipforward_solaris.c: (solaris_nd) Save errno before calling
688 zserv_privs.change.
689 * irdp_main.c: (irdp_sock_init) Save errno before calling
690 zserv_privs.change.
691
6922005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
693
ajs4be019d2005-01-29 16:12:41 +0000694 * rt_netlink.c: (netlink_socket,netlink_request,netlink_parse_info,
695 netlink_talk) Save errno before calling zserv_privs.change.
696
paulc15cb242005-01-24 09:05:27 +00006972005-01-24 Martin Pot <mpot at martybugs.net>
698
699 * zebra/rt_netlink.c: ignore wireless newlink netlink messages.
700
hasso6f2c27a2005-01-18 13:44:35 +00007012005-01-18 Hasso Tepper <hasso at quagga.net>
702
703 * interface.c: Better statistics output in "show interface" command in
704 case of /proc being used.
705
hasso583d8002005-01-16 23:34:02 +00007062005-01-17 Hasso Tepper <hasso at quagga.net>
707
708 * main.c: With --nl-bufsize argument is required.
709
paul865b8522005-01-05 08:30:35 +00007102005-01-05 Paul Jakma <paul@dishone.st>
711
712 * zserv.c: (zebra_accept) Comment out setting of socket to NONBLOCK
713 for now, as we dont actually deal with with resending.... See
714 bugzilla #122, fix from wawa@yandex-team.ru (Vladimir Ivanov).
715 * kernel_socket.c: (routing_socket) ditto.
716
ajsb99760a2005-01-04 16:24:43 +00007172005-01-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
718
719 * rtadv.c: (rtadv_recv_packet,rtadv_send_packet) Use ZCMSG_FIRSTHDR
720 instead of CMSG_FIRSTHDR.
721
ajs341a8f12004-12-22 16:32:16 +00007222004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
723
724 * connected.c: (connected_add_ipv4) Limit warning about /32 addresses
725 with no peer specified to PtP interfaces only.
726
hassob8adec12004-12-18 16:03:28 +00007272004-12-18 Hasso Tepper <hasso at quagga.net>
728
729 * zebra_vty.c: Fix "show ipv6 route <proto>" command help and make it
730 work for isis routes.
731
gdt6a250b02004-12-09 14:48:12 +00007322004-12-09 Greg Troxel <gdt@fnord.ir.bbn.com>
733
734 * kernel_socket.c (rtmsg_debug): char * => const char *
735
ajs274a4a42004-12-07 15:39:31 +00007362004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
737
ajsb6178002004-12-07 21:12:56 +0000738 * *.c: Change level of debug messages to LOG_DEBUG.
739
7402004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
741
ajs274a4a42004-12-07 15:39:31 +0000742 * main.c: (main) The 2nd argument to openzlog has been removed.
743 So stdout logging will no longer be enabled by default.
744 * irdp_main.c: (irdp_finish) Reduce severity of shutdown message
745 from LOG_WARNING to LOG_INFO.
746
ajs887c44a2004-12-03 16:36:46 +00007472004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
748
749 * main.c: (sigint) Use zlog_notice for termination message.
750 (main) Add a startup announcement using zlog_notice.
751
hassoaccb1562004-11-25 19:21:07 +00007522004-11-25 Hasso Tepper <hasso at quagga.net>
753
754 * irdp_interface.c: Remove comment from DEFUN, it breaks vtysh because
755 it confuses extract.pl.
hassoc0652302004-11-25 19:33:48 +0000756 * main.c: Make group to run as configurable.
hassoaccb1562004-11-25 19:21:07 +0000757
hasso6bd7c6a2004-10-28 17:32:27 +00007582004-10-28 Hasso Tepper <hasso at quagga.net>
759
760 * interface.c: Remove dead "ip tunnel" command.
761
paul06f953f2004-10-22 17:00:38 +00007622004-10-22 Paul Jakma <paul@dishone.st>
763
764 * irdp_main.c: change setsockopt_pktinfo to setsockopt_ifindex
765
hasso3fb9cd62004-10-19 19:44:43 +00007662004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
767
768 * rt_netlink.c: (netlink_interface_addr) For PtP interfaces, ignore
769 tb[IFA_ADDRESS] if it's the same as tb[IFA_LOCAL].
770 * interface.c: (ip_address_install) Use new ipv4_broadcast_addr
771 function.
772 * connected.c: (connected_up_ipv4) Use CONNECTED_POINTOPOINT_HOST
773 macro.
774 (connected_down_ipv4) ditto.
775 (connected_add_ipv4) Validate destination address, print warnings
776 if it does not make sense.
777
hassoc1eaa442004-10-19 06:26:01 +00007782004-10-19 Hasso Tepper <hasso at quagga.net>
779
780 * zserv.c: Fix regression introduced with zserv cleanup.
781
hassoc75105a2004-10-13 10:33:26 +00007822004-10-13 Hasso Tepper <hasso at quagga.net>
783
784 * zebra_snmp.c: Remove defaults used to initialize smux connection to
785 snmpd. Connection is initialized only if smux peer is configured.
hassob71f00f2004-10-13 12:20:35 +0000786 * zserv.c: Remove useless warnings "forwarding is already on".
hassoc75105a2004-10-13 10:33:26 +0000787
hasso39ff11d2004-10-12 15:55:19 +00007882004-10-12 Hasso Tepper <hasso at quagga.net>
789
790 * zebra_vty.c: Unbreak "show ip route" command help and make it work
791 for isis routes.
hasso39db97e2004-10-12 20:50:58 +0000792 * interface.c(if_dump_vty): Show IPv6 addresses in "show interface"
793 output. Fixes Bugzilla #119.
794 * *.c: Make some strings const and some (unsigned) casts to fix
795 compiler warnings.
hasso39ff11d2004-10-12 15:55:19 +0000796
hassofce954f2004-10-07 20:29:24 +00007972004-10-07 Hasso Tepper <hasso at quagga.net>
798
799 * connected.c, main.c, rt_netlink.c, rtadv.c, zebra_rib.c, zserv.c:
800 Fix warnings: make strings const, signed -> unsigned.
801
paul72164662004-10-05 14:39:43 +00008022004-10-05 Paul Jakma <paul@dishone.st>
803
804 * irdp_packet.c: (parse_irdp_packet) style issues.
805 Use sockopt_iphdrincl_swab_systoh.
806 Try unbork the code. Checksum the ICMP data and actually
807 compare it to received checksum. Check data length against
808 claimed length in header.
809 Always use ntoh.. when accessing addresses, even when the
810 comparison happens to be endian-safe.
811 (send_packet) minor style isues. Use
812 sockopt_iphdrincl_swab_htosys.
813 (irdp_iph_hton/ntoh) IP header to/from network/host order.
814
hassoeef1fe12004-10-03 18:46:08 +00008152004-10-03 Gilad Arnold <gilad.arnold at terayon.com>
816
817 * interface.c, interface.h: A new prefix tree of connected subnets is
818 associated with each interface structure in zebra, in which each
819 live (ie, non-synthetic) node holds a list of installed addresses
820 that belong to that prefix. Remove secondary address logic from cli.
821 See [quagga-dev 872] for detailed explanation.
822 * connected.c: Use if_subnet_add() and if_subnet_delete().
823
hasso18a6dce2004-10-03 18:18:34 +00008242004-10-03 James R. Leu <jleu at mindspring.com>
825
826 * router-id.c, router-id.h: New files. Router id selection process. If
827 there is non 127.x.x.x address in loopack interface, lowest of them
828 is chosen. If there isn't, lowest from other interfaces addresses
829 are chosen. "router-id x.x.x.x" vty command to manual override.
830 * Makefile.am: Compile new files.
831 * main.c: Initialize router id.
832 * redistribute.c: Add interface addresses into router id selection
833 lists as they (dis)appear.
834 * zserv.c, zserv.h: Sending router id related messages to daemons.
835
hassoc9e52be2004-09-26 16:09:34 +00008362004-09-26 Hasso Tepper <hasso at quagga.net>
837
838 * irdp_interface.c, irdp_main.c, irdp_packet.c, rt_netlink.c,
839 rtadv.c, zebra_vty.c: Fix compiler warnings.
840
paul0c0f9112004-09-24 08:24:42 +00008412004-09-24 Paul Jakma <paul@dishone.st>
842
paul26f7a242004-09-24 08:45:10 +0000843 * irdp_interface.c: (no_ip_irdp_address_preference_cmd)
844 add missing listnode declaration.
845
8462004-09-24 Paul Jakma <paul@dishone.st>
847
paul0c0f9112004-09-24 08:24:42 +0000848 * irdp_{interface,main}.c: lists typedef removal cleanup.
849 update some list loops to LIST_LOOP. some miscellaneous style
850 and indent fixups.
851 (no_ip_irdp_address_preference_cmd) Fix delete of referenced node
paul26f7a242004-09-24 08:45:10 +0000852 in loop.
paul0c0f9112004-09-24 08:24:42 +0000853 * irdp_packet.c: (irdp_recvmsg) Fix buggy assignment of integer
854 to pointer.
855 * if_ioctl{,_solaris}.c: lists typedef removal cleanup.
856 update some list loops to LIST_LOOP.
857
hasso52dc7ee2004-09-23 19:18:23 +00008582004-09-23 Hasso Tepper <hasso at quagga.net>
859
860 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
861
paul44983cf2004-09-22 13:15:58 +00008622004-09-22 Paul Jakma <paul.jakma@sun.com>
863
864 * zserv.c: (zsend_route_multipath) fix nasty bad memset of struct
865 in_addr to sizeof(struct in6_addr), causing odd and hard to debug
866 crash.
867
hassoc34b6b52004-08-31 13:41:49 +00008682004-08-31 Hasso Tepper <hasso at quagga.net>
869
870 * main.c, rt_netlink.c: Added -s command line switch for tuning
871 netlink receive buffer size in Linux to avoid buffer overruns.
872
gdta5ea6872004-08-26 13:24:00 +00008732004-08-26 Miles Nordin <carton@Ivy.NET>
874
875 * ipforward_sysctl.c (mib_ipv6): Use size_t for len, per
876 sysctl(3), rather than int. (Needed on NetBSD/alpha to display
877 forwarding status correctly.)
878
paul3e0b3a52004-08-23 18:58:32 +00008792004-08-23 Paul Jakma <paul@dishone.st>
880
881 * zserv.c: (zebra_init) remove implicit ip forward enabling
882
paul0de1cde2004-08-19 04:45:33 +00008832004-08-19 Paul Jakma <paul@dishone.st>
884
885 * irdp_main.c: update to match sockopt renames.
886 * irdp_packet.c: include sockopt.h and update to match sockopt
887 renames.
888
gdt57492d52004-08-11 18:06:38 +00008892004-08-11 Greg Troxel <gdt@fnord.ir.bbn.com>
890
891 * rtadv.c (rtadv_send_packet): Allocate space for control messages
892 more carefully; it was wrong on NetBSD/sparc where CMSG alignment
893 is to 8 bytes instead of 4, and overwriting the address. Use the
894 provided macros for determining lengths.
895
paul5b73a672004-07-23 15:26:14 +00008962004-07-23 Sowmini Varadhan <Sowmini.Varadhan@Sun.COM>
897
898 * if_ioctl_solaris.c: HAVE_IPV6 ifdef fixups
899 * zserv.c: ditto
900 * ioctl_solaris.c: ditto.
901 * interface.c: cast for LLADDR
902 * interface.h: Add guards, include redistribute.h and remove
903 extraneous definitions of zebra_interface_{up,down}_update
904 * ioctl.h: Add AF_IOCTL define for non SOLARIS_IPV6
905 * redistribute.h: include dependent header, zserv.h
906 * zserv.h: include dependent header, rib.h
907
paul1470baf2004-07-23 15:25:01 +00009082004-07-23 Paul Jakma <paul@dishone.st>
909
910 * irdp_main.c: use setsockopt_pktinfo_ipv4
911 * irdp_packet.c: use SOPT_SIZE_CMSG_PKTINFO_IPV4 and
912 getsockopt_pktinfo_ifindex()
913
gdtcced60d2004-07-13 16:45:54 +00009142004-07-13 David Wiggins <dwiggins@bbn.com
915
916 * kernel_socket.c (rtm_flag_dump): terminate buffer with '\0', not '0'.
917
hasso25dac852004-07-13 03:06:51 +00009182004-07-13 Hasso Tepper <hasso@estpak.ee>
919
920 * irdp_main.c: Add privilege change.
921
hasso996933f2004-07-12 16:32:56 +00009222004-07-12 Hasso Tepper <hasso@estpak.ee>
923
924 * irdp_interface.c: follow common style while naming vty command
925 functions. Avoids confusion in extract.pl.
926
gdt87efd642004-06-30 17:36:11 +00009272004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
928
929 * main.c: define thread_master variable so that linking with
930 libzebra.so doesn't fail. Arguably zclient.o should be in a
931 separate library, but this is far less disruptive.
932
hassoca776982004-06-12 14:33:05 +00009332004-06-12 Robert Olsson <Robert.Olsson at data.slu.se>
934
935 * Added IRDP support.
936
hasso3e31cde2004-05-18 11:58:59 +00009372004-05-18 Hasso Tepper <hasso@estpak.ee>
938
939 * rtadv.c: Removed "[no] ipv6 nd send-ra" command. Replaced "ipv6 nd
940 prefix-advertisement" with "ipv6 nd prefix". Rewrite syntax of
941 "ipv6 nd prefix" command to allow various combinations of parameters
942 and flags. No defaults in configuration. Replaced on-link and
943 autoconfig with off-link and no-autoconfig flags in command syntax.
944 Cosmetic fixes in all commands. Documentation to reflect all changes.
945
paul19877dd2004-05-11 10:49:35 +00009462004-05-11 Paul Jakma <paul@dishone.st>
947
948 * Makefile.am: support for IOCTL_METHOD, as per Sowmini's patch.
paul48a46fa2004-05-11 10:55:22 +0000949 * if_ioctl_solaris.c: Fixup some erroneous privilege changes and
950 add privs.h header.
951 * ioctl_solaris.c: ditto
paulc50ae8b2004-05-11 11:31:07 +0000952 * ioctl.h: Add if_ioctl_ipv6 prototype and AF_IOCTL for SOLARIS_IPV6
953 * kernel_socket.c: Fix SAROUNDUP, compiler doesnt like do..while
954 RHS in assignments :)
955 * redistribute.c: (zebra_interface_delete_update) only used
956 if RTM_IFANNOUNCE and NETLINK is available.
957
paulb9df2d22004-05-09 09:09:59 +00009582004-05-09 Paul Jakma <paul@dishone.st>
959
960 * zserv.c: (zsend_route_multipath) Set the nexthop_num
961 field correctly. Add NEXTHOP_TYPE_IPV6_IFNAME for v6.
962 Conditionally set ZAPI_MESSAGE_METRIC flag - only for adds.
963 (zsend_ipv4_add) cruft, deleted.
964 (zsend_ipv4_delete) ditto.
965 (zsend_ipv6_add) ditto.
966 (zsend_ipv6_delete) ditto.
paul44145db2004-05-09 11:00:23 +0000967 * ioctl.c: (if_get_mtu) set mtu6 to mtu
968 * mtu_kvm.c: (if_kvm_get_mtu) set mtu6 to mtu
969 * rt_netlink.c: (netlink_interface) set mtu6 to mtu
970 (netlink_link_change) ditto
paul66e94882004-05-09 17:19:24 +0000971 * ipforward_solaris.c: fix typo of ND variable.
paul88424682004-05-09 18:21:35 +0000972 * if_ioctl_solaris.c: Add zprivs support.
973 * ioctl_solaris.c: ditto.
paul66e94882004-05-09 17:19:24 +0000974
paulb9df2d22004-05-09 09:09:59 +00009752004-05-09 Sowmini Varadhan <sowmini.varadhan@sun.com>
976
977 * zserv.c: (zsend_ipv{4,6}_{add,delete}_multipath) collapsed
978 into single zsend_route_multipath function.
979 (zsend_interface_{up,down}) collapsed into zsend_interface_update.
980 (zsend_interface_address_{add,delete}) collapsed into
981 zsend_interface_address.
982 (zsend_interface_add) send mtu6.
983 (zsend_interface_delete) ditto.
984 (zebra_write) remove unused function.
985 (various) Apply static qualifier. Add comments.
986 * zserv.h: Definitions changed as per above.
987 * redistribute.c: Changes as per zserv.c.
paul44145db2004-05-09 11:00:23 +0000988 * interface.c: (if_delete_update) only used with HAVE_NETLINK
989 and RTM_IFANNOUNCE.
990 (if_flag_dump_vty) Solaris IFF_IPV4 and IFF_IPV6 if flags
991 (if_dump_vty) print mtu6 if not same as mtu
paul88424682004-05-09 18:21:35 +0000992 * if_ioctl_solaris.c: New file, Solaris interface ioctl methods.
993 * ioctl_solaris.c: New file, Common solaris ioctl methods.
994
hasso34195bf2004-04-06 12:07:06 +00009952004-04-06 Krzysztof Oledzki <oleq@ans.pl>
996
997 * rt_netlink.c: Do not ignore metric when reading kernel routing
998 table on Linux with rt_netlink interface.
999
10002004-03-18 Hasso Tepper <hasso@estpak.ee>
hassof1d92e12004-03-18 15:40:33 +00001001
1002 * interface.c: Temporary fix for handling secondary addresses
1003 with label.
1004
hasso55906722004-02-11 22:42:16 +000010052004-02-12 Hasso Tepper <hasso@estpak.ee>
hassof1d92e12004-03-18 15:40:33 +00001006
hasso55906722004-02-11 22:42:16 +00001007 * zserv.c: Added "ipv6 forwarding" command.
1008
gdtb27900b2004-01-08 15:44:29 +000010092004-01-08 Greg Troxel <gdt@fnord.ir.bbn.com>
1010
1011 * kernel_socket.c (kernel_read): Use sockaddr_storage in buffer
1012 for reading kernel messages to ensure enough space (necessary on
1013 Solaris due to sockaddr_dl being large). Thanks to Sowmini
1014 Varadhan for help with this change.
1015
gdt9ccabd12004-01-06 18:23:02 +000010162004-01-06 Greg Troxel <gdt@t1.ir.bbn.com>
1017
1018 * rtadv.c (rtadv_send_packet): Change perror to zlog_err.
1019
gdtdbee01f2004-01-06 00:36:51 +000010202004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
gdt4bfbea82004-01-06 01:13:05 +00001021 * kernel_socket.c (ifm_read): Major cleanup. Use Sowmini's code
1022 to find the sockaddr_dl in all cases, narrowing the Solaris ifdef
1023 to just the accomodation of broken kernels. Check sockaddr_dl
1024 carefully up front, and later assume any non-NULL sdl pointer is
1025 valid. Clean up types and variable declarations, and rename
1026 WRAPUP to SAROUNDUP to make the name fit the behavior.
1027
10282004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
gdtdbee01f2004-01-06 00:36:51 +00001029
1030 * kernel_socket.c (kernel_read): Add a sockaddr_dl to the ifmsg
1031 structure, because on Solaris sockaddr_dl is far larger than the
1032 base sockaddr structure. (The code had previously been failing to
1033 read all the data.)
gdt4bfbea82004-01-06 01:13:05 +00001034
gdtda26e3b2004-01-05 17:20:59 +000010352004-01-05 Greg Troxel <gdt@ahi.ir.bbn.com>
1036
1037 * kernel_socket.c (kernel_read): Look up interfaces by index
1038 first, so that state changes which do not include a sockaddr_dl
1039 now work. Add many sanity checks. In
1040 particular, do not assume that a sockaddr_dl follows a message
1041 without checking the ifm_addrs flags, and do not trust the length
1042 in a sockaddr_dl. Add/clarify many comments.
1043
gdt4b5e1352003-12-03 17:54:34 +000010442003-12-03 Greg Troxel <gdt@poblano.ir.bbn.com>
1045
1046 * rtadv.c: reorder includes to avoid compiler warning (define
1047 structs before using them in prototypes)
1048
hasso647e4f12003-05-25 11:43:52 +000010492003-05-25 Jim Crumpler <Jim.Crumpler@edion.com>
1050
1051 * zserv.c: Add "ip forwarding" command.
1052
paul445f1432003-05-16 19:00:31 +000010532003-05-16 Gilad Arnold <gilad.arnold@terayon.com>
1054
1055 * zebra_rib.c: Fix memory leaks for ifname nexthops
1056
10572003-04-19 Israel Keys <ikeys@agile.tv>
1058
1059 * rt_netlink.c: BLOCK on netlink while initialising
1060
10612003-02-06 Francois Deppierraz <francois@ctrlaltdel.ch>
1062
1063 * rt_netlink.c (netlink_route_multipath): Set RTM_F_EQUALIZE when
1064 it exists.
1065
paul718e3742002-12-13 20:15:29 +000010662002-09-28 Akihiro Mizutani <mizutani@net-chef.net>
1067
1068 * zebra_rib.c (static_add_ipv4): Null0 static route is added.
1069
10702002-09-10 Jochen Friedrich <chris+zebra@scram.de>
1071
1072 * rt_netlink.c: Add check for EAGAIN.
1073 * kernel_socket.c: Likewise
1074
10752002-06-12 Israel Keys <ikeys@oz.agile.tv>
1076
1077 * rt_netlink.c: Setting the NLM_F_ACK flag on the netlink command
1078 message so that we get an ACK for successful netlink commands.
1079 Change the netlink socket to BLOCKING while we wait for a
1080 response; be it an ACK or an NLMSG_ERROR. Change
1081 netlink_parse_info to deal with ACK messages.
1082
10832001-11-01 Jun-ichiro itojun Hagino <itojun@iijlab.net>
1084
1085 * rtadv.c (rtadv_make_socket): setsockopt(IPV6_CHECKSUM) does not
1086 work for ICMPv6 socket.
1087
10882001-10-24 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
1089
1090 * rib.c (rib_process): Select connected route any case.
1091
10922001-10-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
1093
1094 * interface.c (no_ip_address_secondary): Add "no" to command.
1095
10962001-10-18 NOGUCHI Kay <kay@v6.access.co.jp>
1097
1098 * ioctl.c (if_prefix_add_ipv6): Set the prefered and valid lifetime
1099 to infinity as the freebsd4.4 workaroud.
1100
11012001-08-26 mihail.balikov@interbgc.com
1102
1103 * zebra_snmp.c: Fix snmpwalk problem such as IPv4 address
1104 A.B.C.255.
1105
11062001-08-22 NOGUCHI Kay <kay@v6.access.co.jp>
1107
1108 * rtadv.c: Do not send RA to loopback interface.
1109
11102001-08-20 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
1111
1112 * ioctl.c (if_set_prefix): Remove Linux 2.0 specific connected
1113 route treatment.
1114
11152001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
1116
1117 * zebra-0.92a released.
1118
11192001-08-17 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
1120
1121 * rib.c: Kernel route is treated as EGP routes in nexthop active
1122 check.
1123
11242001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
1125
1126 * zebra-0.92 released.
1127
11282001-08-08 "Akihiro Mizutani" <mizutani@dml.com>
1129
1130 * rib.c (show_ip_route_prefix_longer): Add longer-prefix option to
1131 show route commands.
1132
11332001-07-29 Yon Uriarte <havanna_moon@gmx.net>
1134
1135 * zserv.c (zsend_ipv4_add_multipath): Add
1136 NEXTHOP_TYPE_IPV4_IFINDEX check.
1137
11382001-07-29 NOGUCHI Kay <kay@v6.access.co.jp>
1139
1140 * rtadv.c: Apply valid lifetime, preferred lifetime, onilnk flag,
1141 autonomous address-configuration flag patch.
1142 (no_ipv6_nd_suppress_ra): Change "ipv6 nd send-ra" to "no ipv6 nd
1143 suppress-ra".
1144
11452001-07-24 NOGUCHI Kay <kay@v6.access.co.jp>
1146
1147 * rtadv.c (ipv6_nd_ra_interval): Add "ipv6 nd ra-interval SECONDS"
1148 command.
1149
11502001-07-24 Jun-ichiro itojun Hagino <itojun@iijlab.net>
1151
1152 * rt_socket.c (kernel_rtm_ipv4): Add KAME/NetBSD151 equal cost
1153 multicast FIB support both IPv4 and IPv6.
1154
11552001-07-24 Hal Snyder <hal@vailsys.com>
1156
1157 * if_ioctl.c (interface_list_ioctl): Fix bug of failing to get the
1158 full list of interfaces on some configurations of OpenBSD.
1159
11602001-07-23 NOGUCHI Kay <kay@v6.access.co.jp>
1161
1162 * rtadv.c (ipv6_nd_send_ra): Apply [zebra 9320] to fix "ipv6 nd
1163 send-ra" bug.
1164 (ipv6_nd_ra_lifetime): "ipv6 nd ra-lifetime 0" for default router
1165 availability.
1166 (ipv6_nd_managed_config_flag): "ipv6 nd managed-config-flag" is
1167 added.
1168 (ipv6_nd_other_config_flag): "ipv6 nd other-config-flag" is added.
1169
11702001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
1171
1172 * ioctl.c (if_ioctl): Change ioctl argument from int to u_long.
1173
1174 * rt_ioctl.c: Likewise.
1175
11762001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
1177
1178 * kernel_socket.c (rtm_write): Only set RTF_CLONING when the
1179 interface is not p2p.
1180
11812001-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1182
1183 * ioctl.c (if_prefix_add_ipv6): Fix argument type.
1184
11852001-04-06 Toshiaki Takada <takada@zebra.org>
1186
1187 * zserv.c (zsend_interface_delete): Use client->obuf instead of
1188 allocating new stream.
1189
11902001-03-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1191
1192 * rt_netlink.c: Revert RTPROT_BOOT change.
1193
11942001-03-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1195
1196 * rt_netlink.c (netlink_route_change): Skip RTPROT_BOOT route.
1197 (netlink_routing_table): Likewise.
1198
11992001-03-07 "Akihiro Mizutani" <mizutani@dml.com>
1200
1201 * zserv.c (zsend_ipv4_add_multipath): Send metric value to
1202 protocol daemons.
1203
12042001-02-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1205
1206 * rt_netlink.c (netlink_routing_table): Do not return
1207 tb[RTA_GATEWAY] is NULL. Reported by: "Michael O'Keefe"
1208 <mokeefe@qualcomm.com>.
1209
12102001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1211
1212 * if_ioctl.c (interface_list_ioctl): Call if_add_update().
1213 Suggested by: Chris Dunlop <chris@onthe.net.au>.
1214
12152001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1216
1217 * rib.c (nexthop_active_ipv4): When nexthop type is
1218 NEXTHOP_TYPE_IPV4_IFINDEX, propery set the ifindex to rifindex.
1219
1220 * zserv.c: Initialize rtm_table_default with 0.
1221
1222 * zebra-0.91 is released.
1223
12242001-01-31 Kunihiro Ishiguro <kunihiro@zebra.org>
1225
1226 * kernel_socket.c (rtm_read): Filter cloned route. Suggested by:
1227 Jun-ichiro itojun Hagino <itojun@iijlab.net>
1228
12292001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1230
1231 * connected.c (connected_up_ipv6): When point-to-point destination
1232 address is ::, use local address for connected network.
1233 (connected_down_ipv6): Likewise.
1234
12352001-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1236
1237 * zserv.c (zebra_serv): Add missing close() call. Reported by:
1238 David Waitzman <djw@vineyard.net>.
1239
12402001-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
1241
1242 * rib.c (rib_lookup_ipv4): New function for checking exact match
1243 IGP route.
1244
12452001-01-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1246
1247 * rib.c (show_ipv6_route_protocol): Fix bug of "show ip route
1248 route-type".
1249
12502001-01-22 Kunihiro Ishiguro <kunihiro@zebra.org>
1251
1252 * interface.c (zebra_interface): Do not call
1253 zebra_interface_add_update for inactive interface.
1254
1255 * zserv.c (zsend_interface_address_add): Send interface address
1256 flag.
1257 (zsend_interface_address_delete): Likewise.
1258
12592001-01-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1260
1261 * interface.c (if_addr_add): Add flags.
1262
1263 * connected.c (ifa_add_ipv4): Add new function for interface
1264 address handling.
1265 (ifa_delete_ipv4): Likewise.
1266
12672001-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1268
1269 * rib.c (rib_update): Update IPv6 RIB.
1270
1271 * kernel_socket.c (ifam_read): Call if_refresh() for update
1272 interface flag status. This is for implicit interface up on *BSD.
1273
1274 * interface.c (if_refresh): Add interface flag refresh function.
1275
1276 * kernel_socket.c (rtm_read): Fetch link-local address interface
1277 index.
1278 (ifan_read): We need to fetch interface information. Suggested
1279 by: Yasuhiro Ohara <yasu@sfc.wide.ad.jp>.
1280
1281 * rib.c (static_ipv6_nexthop_same): Add check for
1282 NEXTHOP_TYPE_IPV6_IFNAME.
1283
12842001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1285
1286 * rib.h (NEW_RIB): Turn on NEW_RIB flag. IPv6 new RIB code are
1287 taken into place.
1288
12892001-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1290
1291 * rib.c (static_ipv6_write): Display STATIC_IPV6_GATEWAY_IFNAME
1292 configuration.
1293 (rib_delete_ipv6): Handle same route conter for IPv6 connected
1294 route.
1295 (show_ipv6_route_protocol): New command.
1296 (show_ipv6_route_addr): Likewise.
1297 (show_ipv6_route_prefix): Likewise.
1298 (rib_update): Sweep kernel route when it is cleaned up.
1299
1300 * rt_socket.c (kernel_add_ipv6): Add NEXTHOP_IPV6_IFNAME
1301 treatmenet.
1302
1303 * rt_netlink.c (kernel_init): Likewise.
1304
1305 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): Likewise.
1306
1307 * rib.c (rib_add_ipv4): Cope with same connected route on a
1308 interface. Suggested by: Matthew Grant <grantma@anathoth.gen.nz>.
1309 (nexthop_ipv6_ifname_add): Add NEXTHOP_IPV6_IFNAME treatmenet.
1310
1311 * rib.h (struct new_rib): Add refcnt to keep track on the
1312 reference of same connected route.
1313
1314 * ioctl.c (if_set_prefix): Add check for GNU_LINUX.
1315
13162001-01-13 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1317
1318 * kernel_socket.c (ifan_read, rtm_type_str): Add RTM_OIFINFO check.
1319 (rtm_type_str): Add RTM_IFANNOUNCE check.
1320 (ifan_read): New function.
1321 (kernel_read): Add case for RTM_IFANNOUNCE.
1322
13232001-01-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1324
1325 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): New function.
1326
1327 * rt_netlink.c (netlink_route_multipath): IPv6 address ifindex
1328 treatment.
1329
1330 * connected.c (connected_up_ipv6): Add dest value check.
1331
1332 * rib.c (nexthop_active_ipv6): Do not touch IPv6 nexthop's
1333 ifindex.
1334 (rib_add_ipv4): Import rib_add_ipv6() same route check code.
1335 (nexthop_active_check): NEXTHOP_TYPE_IPV6_IFINDEX activity is only
1336 checked by ifindex.
1337
1338 * rt_socket.c (kernel_rtm_ipv6_multipath): New function.
1339
1340 * redistribute.c (redistribute_add): Use
1341 zsend_ipv6_add_multipath().
1342 (redistribute_delete_multipath): Use
1343 zsend_ipv6_delete_multipath().
1344
1345 * interface.c (ip_address): Check current IP address to avoid
1346 duplicate.
1347
1348 * rib.c (rib_delete_ipv4): When deleted route is connected route,
1349 check ifindex.
1350 (rib_add_ipv4): When connected route is added do not perform
1351 implicit withdraw.
1352 (rib_delete_ipv4): Check ifindex for connected route.
1353
1354 * kernel_socket.c (rtm_read): When route has RTF_STATIC, set
1355 ZEBRA_FLAG_STATIC for indicate as persistent route.
1356 (ifam_read): Unset interface index from link-local address when
1357 IPv6 stack is KAME.
1358
1359 * rib.c (rib_update): Do not delete persistent kernel route.
1360
1361 * rib.h (struct new_rib): Integrate RIB_FLAG_* to ZEBRA_FLAG_*.
1362
1363 * rt_socket.c (kernel_add_ipv6_multipath): Add placeholder.
1364 (kernel_delete_ipv6_multipath): Likewise.
1365
1366 * rt_netlink.c (netlink_talk): Give struct nlsock to netlink_talk.
1367
13682001-01-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1369
1370 * rib.c (rib_update): Revert Matthew Grant's patch
1371 zebra_cvs_newribfix.patch. Use struct rib->ifindex for kernel
1372 interface index. Introduce NEXTHOP_TYPE_IPV4_IFINDEX to support
1373 that. Add support for address deletion situation.
1374
13752001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1376
1377 * interface.c: Remove HAVE_IF_PSEUDO part.
1378
1379 * rib.h: Likewise.
1380
1381 * rt_netlink.c (netlink_link_change): Likewise.
1382
13832001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1384
1385 * zserv.c: Remove OLD_RIB codes.
1386
13872001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1388
1389 * zebra-0.90 is released.
1390
13912001-01-09 Matthew Grant <grantma@anathoth.gen.nz>
1392
1393 * interface.c (if_new_intern_ifindex): Allocate a new internal
1394 interface index.
1395 (if_addr_refresh): Fix up ip addresses configured via zebra.
1396 (if_add_update): Handle an interface addition.
1397 (if_delete_update): Handle an interface delete event.
1398
1399 * rib.c (nexthop_ipv4_add): Add kernel route deletion process when
1400 interface goes down.
1401
14022001-01-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1403
1404 * interface.c (if_dump_vty): When HAVE_NET_RT_IFLIST is defined,
1405 NetBSD also use this function. Suggested by Jasper Wallace
1406 <jasper@ivision.co.uk>.
1407
14082001-01-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1409
1410 * rib.c (nexthop_active_ipv4): Move back to set methodo to old
1411 one.
1412
14132001-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1414
1415 * rib.c (rib_add_ipv4): EBGP multihop set ZEBRA_FLAG_INTERNAL
1416 flag, so treat it.
1417
14182001-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1419
1420 * rt_netlink.c (netlink_talk_ipv6): When IPv6 route message is
1421 sent from netlink_cmd, the same message comes from netlink. To
1422 avoid confusion, temporary netlink_talk_ipv6 use netlink.sock
1423 instead of netlink_cmd.sock.
1424
14252001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1426
1427 * zserv.h (ZEBRA_SERV_PATH): Change "/tmp/zebra" to "/tmp/.zebra".
1428 Change "/tmp/zserv" to "/tmp/.zserv".
1429
14302000-12-29 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
1431
1432 * rt_netlink.c (struct nlsock): Divide kernel message into listen
1433 socket and command socket.
1434 (netlink_talk): Remove socket listen code. Use netlink_parse_info
1435 for read kernel response.
1436
14372000-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1438
1439 * rib.c (vty_show_ip_route): Show uptime of the RIP,OSPF,BGP
1440 routes.
1441
14422000-12-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1443
1444 * rt_netlink.c (netlink_route_multipath): Metric value is
1445 reflected to kernel routing table.
1446
1447 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Likewise.
1448
1449 * kernel_socket.c (rtm_write): Likewise.
1450
1451 * rib.c (nexthop_active_ipv4): Only iBGP route perform recursive
1452 nexthop lookup.
1453
1454 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Add ioctl version of
1455 new RIB implementation.
1456
14572000-12-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1458
1459 * rib.h: Remove MULTIPATH_NUM. It is defined by configure script.
1460
14612000-12-25 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1462
1463 * rib.c (rib_if_up): Call rib_fib_set instead of RIB_FIB_SET for
1464 proper redistribution.
1465
14662000-12-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1467
1468 * rib.c (nexthop_active_ipv4): Add self lookup nexthop check.
1469 (show_ip_route_protocol): Support new RIB.
1470
1471 * rt_netlink.c (netlink_route_change): Do not return when gate is
1472 NULL.
1473
14742000-12-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1475
1476 * rib.c (rib_lookup_ipv4_nexthop): IBGP nexthop check function is
1477 updated.
1478 (rib_add_ipv4): Free implicit withdraw route's RIB.
1479
14802000-12-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1481
1482 * rib.c (nexthop_active_ipv4): Check indirect nexthop.
1483
1484 * redistribute.c (redistribute_add_multipath): Redistribution
1485 works with new rib code.
1486
14872000-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1488
1489 * rt_netlink.c (netlink_route_multipath): Check useful nexthop
1490 number.
1491 (netlink_route_multipath): Clear rtnh_flags and rtnh_hops.
1492
1493 * rib.c (nexthop_active_update): Set flag for the rib's nexthop
1494 activity is changed.
1495 (nexthop_active_check): Before checking interface is up, make it
1496 sure the interface exist.
1497
14982000-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1499
1500 * rib.c (ip_route): New RIB prototype.
1501
15022000-11-16 Yon Uriarte <ukl2@rz.uni-karlsruhe.de>
1503
1504 * zserv.c (zsend_interface_add): Send hardware address when
1505 hw_addr_len is greater than 0.
1506
15072000-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1508
1509 * connected.c (connected_up_ipv4): Fix ptop bug. The destination
1510 network should be installed into routing table.
1511 (connected_down_ipv4): Likewise.
1512 (connected_add_ipv4): Change to use connected_up_ipv4.
1513 (connected_delete_ipv4): Likewise.
1514
15152000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1516
1517 * rt_netlink.c (netlink_interface_addr): Revert Harald Welte
1518 <laforge@gnumonks.org>'s ptop patch then back to original code to
1519 avoid duplicated connected route problem. Suggested by Frank van
1520 Maarseveen <F.vanMaarseveen@inter.NL.net>.
1521
1522 * kernel_socket.c (rtm_read): Make behavior consistent even #ifdef
1523 DEBUG is defined. Reported by Jun-ichiro itojun Hagino
1524 <itojun@iijlab.net>.
1525
15262000-10-23 Jochen Friedrich <jochen@scram.de>
1527
1528 * main.c (main): Call zebra_snmp_init() when it is enabled.
1529
15302000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1531
1532 * zserv.c (zebra_serv_un): UNIX domain socket server of zebra
1533 protocol.
1534
15352000-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1536
1537 * rib.c (rib_add_ipv4): Same check bug is fixed.
1538
15392000-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1540
1541 * rib.c (rib_if_down): Remove kernel route when the interface goes
1542 down.
1543
1544 * debug.c: New command "debug zebra kernel" is added.
1545
15462000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1547
1548 * zebra-0.89 is released.
1549
15502000-09-24 Harald Welte <laforge@gnumonks.org>
1551
1552 * rt_netlink.c (netlink_interface_addr): Fix point-to-point address
1553 treatment in netlink interface.
1554
15552000-09-21 David Lipovkov <dlipovkov@OpticalAccess.com>
1556
1557 * rib.c (rib_if_down): Pull static route only. Protocol daemon
1558 must withdraw routes when interface goes down.
1559 (rib_add_ipv4): Check nexthop when replace route.
1560
15612000-09-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1562
1563 * if_ioctl.c (if_getaddrs): New function for looking up
1564 interface's address by getifaddrs().
1565
15662000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1567
1568 * connected.c (connected_delete_ipv4): Add check for connected
1569 address is found or not.
1570 (connected_add_ipv6): Reflect IPv6 connected address change to
1571 protocol daemons.
1572 (connected_delete_ipv6): Likewise.
1573
15742000-09-07 David Lipovkov <davidl@nbase.co.il>
1575
1576 * rib.c (rib_delete_ipv4): Reverted the change from pseudo
1577 interface patch to original. Because ospfd deletes routes using
1578 zero ifindex.
1579
15802000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1581
1582 * zebra-0.88 is released.
1583
15842000-08-15 "Akihiro Mizutani" <mizutani@dml.com>
1585
1586 * rib.c (show_ip_route_protocol): Help string correction.
1587 (show_ip_route_prefix): Check prefix mask.
1588 (show_ip_route_vty_detail): Display distance and metric.
1589
15902000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1591
1592 * zserv.c (zsend_interface_add): Change ifindex store size from
1593 two octet to four.
1594 (zsend_interface_delete): Likewise.
1595 (zsend_interface_address_add): Likewise.
1596 (zsend_interface_address_delete): Likewise.
1597 (zsend_interface_up): Likewise.
1598 (zsend_interface_down): Likewise.
1599
16002000-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1601
1602 * rib.c (rib_add_ipv4): Do not install distance 255 route.
1603
16042000-08-10 Toshiaki Takada <takada@zebra.org>
1605
1606 * interface.c (bandwidth_if), (no_bandwidth_if): Call
1607 zebra_interface_up_update () instead of using if_up() and if_down().
1608
16092000-08-07 "Akihiro Mizutani" <mizutani@dml.com>
1610
1611 * interface.c (bandwidth_if): Fix help string.
1612
16132000-08-07 Matthew Grant <grantma@anathoth.gen.nz>
1614
1615 * interface.c (if_dump_vty): Display bandwidth value.
1616 (bandwidth_if): New command "bandwidth <1-10000000>" is added.
1617 When interface is up, force protocol daemons to recalculate routes
1618 due to cost change.
1619 (no_bandwidth_if): Likewise.
1620 (if_config_write): Output bandwidth configuration.
1621
1622 * zserv.c (zsend_interface_add): Send bandwidth value.
1623 (zsend_interface_up): Likewise.
1624 (zsend_interface_down): Likewise.
1625
1626
16272000-08-07 Michael Rozhavsky <mike@nbase.co.il>
1628
1629 * rib.c (show_ip_route_protocol): "show ip route
1630 (bgp|connected|kernel|ospf|rip|static)" is added.
1631
16322000-08-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1633
1634 * rib.c (rib_lookup_ipv4_nexthop): Check parent node until IGP
1635 nexthop is found.
1636 (rib_add_ipv4_internal): Set fib ifindex to rib ifindex.
1637
16382000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1639
1640 * redistribute.c (redistribute_delete): Fix bug of default route
1641 redistribute treatment.
1642
16432000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1644
1645 * rib.c (rib_init): Install ip_node in rib.c instead of zserv.c.
1646 Change default distance value.
1647
1648 Old New
1649 ------------------------------------------
1650 system 10 0
1651 kernel 20 0
1652 connected 30 0
1653 static 40 1
1654 rip 50 120
1655 ripng 50 120
1656 ospf 60 110
1657 ospf6 49 110
1658 bgp 70 200(iBGP) 20(eBGP)
1659 ------------------------------------------
1660
1661 * zserv.c (client_lookup): Function removed.
1662 (zsend_interface_add): Use client's output buffer. Check ifinfo
1663 flag.
1664 (zsend_interface_delete): Likewise.
1665 Delete ipv4_static_radix and ipv6_static_radix.
1666
16672000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1668
1669 * zserv.h (struct zebra_client): When client request interface
1670 information, ifinfo is set.
1671
1672 * rib.c: Temporary Revert changes for pseudo interface.
1673
1674 * rib.h: Likewise.
1675
1676 * zserv.c: Likewise.
1677
1678 * interface.c: Likewise.
1679
16802000-08-02 David Lipovkov <davidl@nbase.co.il>
1681
1682 * interface.c (zebra_if_init): Install interface "pseudo"
1683 commands.
1684
1685 * rib.c (rib_create): ifname argument is added.
1686 (rib_add_ipv4_pseudo): New function is added.
1687 (rib_delete_ipv4_pseudo): Likewise.
1688
1689 * rib.h : Delete INTERFACE_UNKNOWN definition. Add prototype for
1690 pseudo interface functions.
1691
1692 * rt_netlink.c (netlink_link_change): Check for pseudo interface.
1693
1694 * zserv.c (ip_route): When destination is pseudo interface, call
1695 rib_add_ipv4_pseudo().
1696
1697 * zserv.c (no_ip_route): Trim "unknown" argument.
1698
16992000-07-26 kunitake@dti.ad.jp
1700
1701 * if_ioctl.c (if_get_hwaddr): Fix hardware address length from 8
1702 to 6.
1703
1704 * rtadv.c (rtadv_send_packet): Fix shift bug for hardware address.
1705
17062000-07-24 Akihiro Mizutani <mizutani@dml.com>
1707
1708 * interface.c: Use install_default() for common VTY commands.
1709
17102000-07-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1711
1712 * if_ioctl.c (interface_list_ioctl): A interface list size is
1713 calculated from ifreq->if_addr.sa_len. This is for OpenBSD.
1714
1715 * ioctl.c (if_get_mtu): Remove codes for SIOCGIFDATA.
1716
17172000-07-09 Chris Dunlop <chris@onthe.net.au>
1718
1719 * if_ioctl.c (if_get_index): Add check for HAVE_BROKEN_ALIASES.
1720
17212000-07-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1722
1723 * zserv.c (zebra_client_read): Add ZEBRA_REDISTRIBUTE_{ADD,DELETE}
1724 message handling.
1725
17262000-07-02 David Lipovkov <davidl@nbase.co.il>
1727
1728 * zserv.c: "ip route A.B.C.D/M unknown" command is added.
1729
17302000-06-28 Michael Rozhavsky <mike@nbase.co.il>
1731
1732 * rib.c: Remove old kernel route when new route comes in.
1733
17342000-06-13 David Lipovkov <davidl@nbase.co.il>
1735
1736 * rib.c (rib_if_up): Add check for unknown interface.
1737
17382000-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1739
1740 * rib.h: Define INTERFACE_UNKNOWN.
1741
17422000-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1743
1744 * Makefile.am (EXTRA_DIST): Move irdp.c until implementation is
1745 finished.
1746
17472000-06-05 David Lipovkov <davidl@nbase.co.il>
1748
1749 * interface.c (if_zebra_delete_hook): Call rib_if_delete().
1750
1751 * redistribute.c (zebra_interface_delete_update): New function.
1752
1753 * redistribute.h (zebra_interface_delete_update): New function
1754 prototype.
1755
1756 * rib.c (rib_if_delete): New function. Walk down all routes and
1757 delete all on the interface.
1758
1759 * rib.h: New function prototype.
1760
1761 * rt_netlink.c (netlink_link_change): Call
1762 zebra_interface_delete_update ().
1763
17642000-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1765
1766 * if_ioctl.c (interface_info_ioctl): Check interface's flag before
1767 checking interface's address.
1768
17692000-04-26 Jochen Friedrich <jochen@nwe.de>
1770
1771 * GNOME-PRODUCT-ZEBRA-MIB: New file.
1772
1773 * GNOME-SMI: New file.
1774
17752000-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1776
1777 * irdp.c: New file from 1997 development code.
1778 * irdp.h: Likewise.
1779
17802000-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1781
1782 * rtadv.c (rtadv_send_packet): Enclose router advertisement
1783 logging with IS_ZEBRA_DEBUG_PACKET.
1784
17852000-04-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1786
1787 * zserv.c (zebra_client_close): Remove client structure from
1788 client_list when connection is terminated.
1789
17902000-03-21 David Lipovkov <davidl@nbase.co.il>
1791
1792 * connected.c (connected_add_ipv4): Allows all necessary structure
1793 updates for connected route, but doesn't insert it into rib if
1794 it's interface is down.
1795
17962000-01-21 Hideto Yamakawa <hideto.yamakawa@soliton.co.jp>
1797
1798 * rtread_getmsg.c: Set some definition for Solaris 2.5 and Solaris
1799 2.5.1.
1800
18012000-01-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1802
1803 * rib.c (no_ipv6_route_ifname): Fix buf of cheking return value
1804 from str2prefix_ipv6().
1805
18062000-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1807
1808 * rt_socket.c: Revert to use RTF_HOST for IPv4 with /32 route and
1809 IPv6 with /128 routes.
1810 (kernel_rtm_ipv4): In case of /32 route's gateway is interface. It
1811 should have mask for cloning.
1812
18131999-12-26 Jochen.Friedrich@genorz.de
1814
1815 * interface.c (if_dump_vty): Fix a bug of missing VTY_NEWLINE.
1816
18171999-12-23 Alex Zinin <zinin@amt.ru>
1818 * interface.*: dynamic int up/down support
1819
18201999-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1821
1822 * ipforward_proc.c (dropline): Move dropline() from lib/dropline.c
1823
1824 * rtread_proc.c (proc_route_read): Don't use dropline().
1825
18261999-12-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1827
1828 * kernel_socket.c (rtm_read): When message is RTM_GET, it has own
1829 process's pid.
1830
18311999-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1832
1833 * main.c (main): Change to default log output to ZLOG_STDOUT.
1834
1835 * zserv.c (zebra_serv): More detailed error print.
1836
18371999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1838
1839 * kernel_socket.c (rtm_read): Check old pid for static route
1840 insertion check.
1841
18421999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1843
1844 * interface.c (if_dump_vty): BSDI/OS uses 64bit for interface
1845 statistics counter.
1846
1847 * mtu_kvm.c: New file added.
1848
18491999-11-27 Vladimir B. Grebenschikov <vova@express.ru>
1850
1851 * kernel_socket.c (rtm_write): Set RTF_CLONING flag for
1852 route to the directly connected interface.
1853
18541999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1855
1856 * rt_socket.c: Delete USE_HOST_BIT definition.
1857
18581999-11-21 Michael Handler <handler@sub-rosa.com>
1859
1860 * rtread_getmsg.c: Undef some definition to resolve conflict.
1861
18621999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1863
1864 * kernel_socket.c (rtm_write): Change to use pre stored struct_dl
1865 value for gateway specification.
1866
18671999-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1868
1869 * rt_socket.c (kernel_rtm_ipv4): Even mask is 32 under IPv4 or
1870 128 under IPv6, don't use RTF_HOST.
1871
18721999-11-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1873
1874 * Makefile.am (EXTRA_DIST): Add rtread_getmsg.c.
1875
18761999-11-21 Michael Handler <handler@sub-rosa.com>
1877
1878 * rtread_getmsg.c: Added for Solaris 2.6 support.
1879
18801999-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1881
1882 * rtread_sysctl.c (rtm_read_route): RTM_DELETE handling added.
1883
1884 * rt_socket.c (kernel_read): Better BSD routing socket support.
1885
18861999-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1887
1888 * client_main.c: Disable making obsolete zebra test `client'
1889 command.
1890
18911999-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1892
1893 * zebra.c: Renamed to zserv.c.
1894
1895 * zebra.h: Global definitions are moved to lib/zebra.h. Then
1896 renamed to zserv.h.
1897
18981999-10-15 Jordan Mendelson <jordy@wserv.com>
1899
1900 * if_ioctl.c: Add Linux 2.2.X's alias support and dynamic
1901 interface. Remove ugly MAX_INTERFACE handling codes.
1902
19031999-09-17 Satosi KOBAYASI <kobayasi@north.ad.jp>
1904
1905 * Fix serious bug of IPv6 route deletion.
1906
19071999-09-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1908
1909 * ioctl.c (if_set_prefix): Properly set broadcast address.
1910
19111999-09-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1912
1913 * rib.c (rib_add_ipv6, rib_delete_ipv6): now protocol daemons
1914 can install connected route to kernel via zebra
1915
19161999-08-24 VOP <vop@unity.net>
1917
1918 * rib.c: Include "sockunion.h"
1919
19201999-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
1921
1922 * ipforward.h: New file.
1923
1924 * zebra.h: Obsolete message ZEBRA_GET_ALL_INTERFACE,
1925 ZEBRA_GET_ONE_INTERFACE, ZEBRA_GET_HOSTINFO are deleted.
1926
19271999-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1928
1929 * zebra.h (ZEBRA_INTERFACE_ADDRESS_ADD):
1930 ZEBRA_INTERFACE_{ADD,DELETE} added.
1931
19321999-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1933
1934 * rib.c: show ip route A.B.C.D works.
1935
1936 * zebra.c (zebra_read_ipv4): Add ifindex to zebra messages.
1937
19381999-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1939
1940 * zebra.h: New Zebra message ZEBRA_INTERFACE_{ADD,DELETE} added.
1941
19421999-08-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1943
1944 * interface.h: New file.
1945 * Makefile.am: Add interface.h
1946
19471999-08-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1948
1949 * redistribute.c (zebra_redistribute): give ifindex to client.
1950
19511999-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1952
1953 * main.c (longopts): -k, --keep_kernel option added.
1954
19551999-07-18 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1956
1957 * rt_socket.c (rtm_write): forgot closing socket bug fixed.
1958
19591999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1960
1961 * rib.c (show_ipv6_cmd): if rib is link show interface name.
1962
19631999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1964
1965 * rt_socket.c (rtm_write): use sockaddr_dl when null gateway.
1966
19671999-07-16 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1968
1969 * rt_socket.c (rtm_write): ipv6 route table bug fixed.
1970
19711999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1972
1973 * zebra.c (zebra_read_ipv6): read link prefix from ospf6 support
1974
19751999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1976
1977 * rt_socket.c (kernel_rtm_ipv6): gate treatment bug fixed.
1978
19791999-07-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1980
1981 * if_sysctl.c (ifm_read): Clear sockunion argument before fetching
1982 data. Suggested by "Chris P. Ross" <cross@eng.us.uu.net>
1983
19841999-07-08 HEO SeonMeyong <seirios@Matrix.IRI.Co.Jp>
1985
1986 * interface.c (if_tun_add): Add KAME's gif tunnel setting codes.
1987
19881999-06-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1989
1990 * zebra.c (zebra_serv): Only accept loopback address connection.
1991
19921999-06-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1993
1994 * zebra.h (ZEBRA_ROUTE_EXTERNAL): Add zebra messages flags
1995
19961999-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1997
1998 * ipforward_proc.c: ipforward_on () and ipforward_off () added.
1999
20001999-06-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2001
2002 * ipforward_proc.c (ipforward_ipv6): Check for IPv6 forwarding
2003 using /proc file system is added.
2004
20051999-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2006
2007 * if_ioctl.c (if_get_index): Interface index set bug is fixed by
2008 adding #else at the middle of function. Suggested by David Luyer
2009 <luyer@ucs.uwa.edu.au>.
2010
20111999-05-29 <kunihiro@zebra.org>
2012
2013 * rt_ioctl.c: Comment out #include <linux/ipv6_route.h>.
2014
20151999-05-26 Kunihiro Ishiguro <kunihiro@zebra.org>
2016
2017 * zebra.h (ZEBRA_ROUTE_MAX): Add new define for the max value of
2018 the sort of routes.
2019
20201999-05-25 Patrick Koppen <koppen@rhrk.uni-kl.de>
2021
2022 * rt_netlink.c (netlink_socket): Make netlink socket non-blocking.
2023 (netlink_parse_info): If errno is EWOULDBLOCK then continue to
2024 parse the message.
2025 (netlink_talk): Likewise
2026
20271999-05-17 <kunihiro@zebra.org>
2028
2029 * redistribute.c (zebra_check_addr): Added for loopback address
2030 check.
2031
20321999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
2033
2034 * rt_netlink.c (netlink_route_change): Tempolary bypass ipv6 route
2035 change treatment.
2036
2037 * Makefile.am (noinst_HEADERS): redistribute.h added.
2038
2039 * redistribute.h: New file.
2040
20411999-05-14 Stephen R. van den Berg <srb@cuci.nl>
2042
2043 * zebra.c (show_table): Show all table configuration DEFUN.
2044 (config_table): Config table number DEFUN.
2045
2046 * rt_netlink.c: Add support for multiple routing table.
2047
2048 * rib.c (rib_weed_table): New function added for delete all
2049 routes from specified routing table.
2050
2051 * main.c (signal_init): SIGTERM call sigint.
2052 (sigint): Loggging more better message.
2053
20541999-05-09 Kunihiro Ishiguro <kunihiro@zebra.org>
2055
2056 * rt_netlink.c: Change log () to zlog ().
2057
20581999-05-07 <kunihiro@zebra.org>
2059
2060 * zebra.h (ZEBRA_ROUTE_OSPF6): Added for ospf6d route.
2061
20621999-04-20 Kunihiro Ishiguro <kunihiro@zebra.org>
2063
2064 * interface.c: Add `no ip address' command.
2065
20661999-04-10 Kunihiro Ishiguro <kunihiro@zebra.org>
2067
2068 * rt_netlink.c (kernel_read): Function added for asynchronous
2069 zebra between kernel communication.
2070
20711999-03-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2072
2073 * rtread_sysctl.c (rtm_read): Fix address memcopy overrun bug.
2074 Reported by Achim Patzner <ap@bnc.net>.
2075
20761999-03-03 Kunihiro Ishiguro <kunihiro@zebra.org>
2077
2078 * Makefile.am: Install configuration sample with 600 permission.
2079
20801999-03-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2081
2082 * Makefile.am: Add -I.. to INCLUDES.
2083
20841999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
2085
2086 * syslog support added
2087
20881999-02-17 Peter Galbavy <Peter.Galbavy@knowledge.com>
2089
2090 * if_sysctl.c (interface_list): allocated memory free when unknown
2091 ifm_type is returned.
2092
2093 * ioctl.c (if_get_mtu): added SIOCGIFDATA treatment.
2094
20951998-12-15 Magnus Ahltorp <map@stacken.kth.se>
2096
2097 * interface.c: Header include added.
2098
20991998-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2100
2101 * rt.h (kernel_delete_ipv6): change int index to unsigned int index.
2102
21031998-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2104
2105 * if_ioctl.c (interface_list_ioctl): interface flag must be
2106 checked before check addresses of the interface.
2107
21081998-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2109
2110 * Makefile.am (INCLUDES): add @INCLUDES@ for Linux IPv6.
2111
21121998-10-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2113
2114 * ioctl.c: Linux version before 2.1.0 need interface route setup.
2115
21161998-09-15 HEO SeonMeyong <seirios@matrix.iri.co.jp>
2117
2118 * change HYDRANGEA to KAME
2119
21201998-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
2121
2122 * if_ioctl.c (if_addr_ioctl): set address family for getting
2123 interface's address.
2124 (if_get_index): silently return when can't get interface's index.
2125
21261998-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
2127
2128 * main.c (main): batch mode option '-b' added.
2129
21301998-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
2131
2132 * ioctl.c (if_set_prefix): add `ip address IPV4ADDR' command.
2133 * interface.c (shutdown_if): add interface shutdown and no
2134 shutdown command.
2135
21361998-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
2137
2138 * rib.c (rib_add_ipv6): delete rib_add_in6.
2139
21401998-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2141
2142 * main.c: retain flag is added.
2143
21441998-07-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2145
2146 * rtable.[ch]: merged with rib.[ch]
2147
21481998-07-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2149
2150 * connected.h: renamed from ifa.h.
2151
21521998-06-09 Kunihiro Ishiguro <kunihiro@zebra.org>
2153
2154 * rename if.c to interface.c
2155 * rename ifa.c to connected.c
2156
2157 * Porting to Debian GNU/Linux 2.0 (hamm).
2158
21591998-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2160
2161 * rt_netlink.c: renamed from krt_netlink.c
2162
2163 * fib.c: deleted.
2164 * rt_kvm.c: deleted.
2165 * rtread_getmsg.c: deleted.
2166
21671998-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2168
2169 * if.c (multicast): add multicast flag [un]set fucntion.
2170
21711998-05-19 Yamshita TAKAO <jargon@lares.dti.ne.jp>
2172
2173 * rt_socket.c: Modify for compile on Solaris, but dont't work it.
2174 rt_socket.c have some undefined function, so add directive "IMPLEMENT"
2175
21761998-05-18 Yamshita TAKAO <jargon@lares.dti.ne.jp>
2177
2178 * zebra.c: Modify for compile on Solaris.
2179
21801998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
2181
2182 * main.c: change CONFDIR to SYSCONFDIR.
2183
21841998-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
2185
2186 * .cvsignore: added.
2187
21881998-04-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2189
2190 * client.c: moves to ../lib.
2191
21921998-03-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2193
2194 * if_ioctl.c (if_get_addr): Change address copy from memcopy() to
2195 structure assignment.
2196
21971998-03-30 URA Hiroshi <ura@yamato.ibm.co.jp>
2198
2199 * if_sysctl.c (ifm_interface_add): sdl->sdl_data copy bug fixed.
2200
22011998-02-23 "Hannes R. Boehm" <hannes@boehm.org>
2202
2203 * if.c (if_init): add config_exit_cmd and config_help_cmd.
2204
22051998-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2206
2207 * rt_ioctl.c (route_ioctl): EPERM treatment added.
2208
22091998-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2210
2211 * rt_socket.c (kernel_read): communication port zebra between
2212 kernel is now handled by kernel_read.
2213
22141998-01-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2215
2216 * main.c (main): zebra [-P port] can specify vty port number.
2217
22181997-12-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2219
2220 * zebra.c: change select will be block.
2221
22221997-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2223
2224 * add static route treatment.
2225
22261997-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2227
2228 * rt_netlink.c: add netlink support over GNU/Linux system.
2229
22301997-11-23 Kunihiro Ishiguro <kunihiro@zebra.org>
2231
2232 * all inet_addr is changed to inet_aton.
2233
2234 * zebra.c (ip_route): add ip route command for static routes.
2235
22361997-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
2237
2238 * if.c (if_flag_dump): Linux port of if_flag_dump and _vty.
2239
22401997-11-19 Kunihiro Ishiguro <kunihiro@zebra.org>
2241
2242 * if.c: add interface command.
2243
22441997-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
2245
2246 * ipforward_proc.c : Now works on Linux.
2247
22481997-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2249
2250 * command.c : add completion feature.
2251
22521997-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
2253
2254 * vty.c (vty_command): add vty interface.
2255
22561997-10-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2257
2258 * zebra.c: add verbose mode.
2259
22601997-10-12 SonMyong Ho <s-ho@Matrix.IRI.Co.Jp>
2261
2262 * Hydrangea for FreeBSD supported
2263 * in.h: add some prototype.
2264
22651997-10-11 Kunihiro Ishiguro <kunihiro@zebra.org>
2266
2267 * rt_socket.c and rtread.c completely rewritten.
2268
22691997-10-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2270
2271 * rt_socket.c: rename kernel_sock to routing_socket
2272
22731997-10-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2274
2275 * if.c (if_new): interface structure change from linklist to vector.
2276
22771997-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
2278
2279 * vector.c (vector_init): create vector related function
2280
22811997-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2282
2283 * Makefile.in: add tags target
2284
2285 * start IPv6 support for INRIA FreeBSD.
2286