blob: aae2015573f305b2e47430f5b24d11fa13b21dc2 [file] [log] [blame]
Paul Jakma27b47252006-07-02 16:38:54 +000012006-07-02 Paul Jakma <paul.jakma@sun.com>
2
3 * rt_netlink.c: (netlink_interface_addr) Fix CID #104, can not
4 proceed if addr is NULL.
5 * zebra_rib.c: (static_add_ipv6) Fix CID #18, double check
6 required arguments are supplied for the given nexthop type.
7
Paul Jakma630c97c2006-06-15 12:48:17 +000082006-06-15 Paul Jakma <paul.jakma@sun.com>
9
10 * interface.c: (if_flag_dump_vty) redundant code, remove.
11 (if_dump_vty) use libzebra if_flag_dump.
Paul Jakma74ecdc92006-06-15 18:10:47 +000012 (ip_address_uninstall) Unset the configured flag.
13 * connected.c: (connected_same) new helper, check whether
14 two connected are same.
15 (connected_implicit_withdraw) new helper, consolidation of
16 existing code in connected_add_ipv{4,6}.
17 Try filter out unneeded Zserv address delete/adds when
18 address is exact same.
19 Where old address is implicitely removed, be sure to preserve
20 the IFC_CONFIGURED flag if set, fixes bug where configured
21 addresses were being lost on FreeBSD (Andrew Schorr).
Paul Jakma630c97c2006-06-15 12:48:17 +000022
Andrew J. Schorr9c378512006-05-21 04:04:49 +0000232006-05-21 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
24
25 * connected.c: (connected_withdraw) Do not delete the connected
26 address if the ZEBRA_IFC_CONFIGURED flag is set.
27 (connected_add_ipv4,connected_add_ipv6) Before calling
28 connected_withdraw, unset the ZEBRA_IFC_CONFIGURED flag
29 on the superseded connected structure.
30
Andrew J. Schorr0f38dc42006-05-19 13:53:23 +0000312006-05-19 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
32
33 * connected.c: (connected_add_ipv4,connected_add_ipv6) If the
34 new struct connected matches an already existing one
35 (that will consequently be removed by connected_withdraw),
36 then be sure to preserve the ZEBRA_IFC_CONFIGURED flag.
37
Andrew J. Schorr55196042006-05-17 15:04:59 +0000382006-05-17 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
39
40 * kernel_socket.c: (ifam_read_mesg) Improve debug message
41 to show the IP address.
42
Paul Jakma66859782006-05-15 17:00:37 +0000432006-05-15 Paul Jakma <paul.jakma@sun.com>
44
45 * zserv.c: (general) Remove the private zebra_command_str
46 in favour of newly added libzebra zserv_command_string.
47
Paul Jakmabeb56332006-05-11 13:28:05 +0000482006-05-11 Paul Jakma <paul.jakma@sun.com>
49
50 * interface.c: (if_delete_update) route_node_lookup may return
51 NULL, should fix Coverity CID #31.
52
Paul Jakmae6d7d052006-03-30 13:32:09 +0000532006-02-09 Paul Jakma <paul.jakma@sun.com>
54
55 * rib.h: (struct {rib,nexthop}) Rearrange fields to avoid
56 needless padding.
57 (struct rib) Remove the indirect pointer, not used anywhere!
58
paul3a570c82006-02-02 17:27:13 +0000592006-02-02 Paul Jakma <paul.jakma@sun.com>
60
61 * interface.c: (if_dump_vty) move flags to their line, neater.
62
paula1038a12006-01-30 14:08:51 +0000632006-01-30 Paul Jakma <paul.jakma@sun.com>
64
65 * zebra_rib.c: (rib_process) Fourth time lucky on this jinxed
66 commit, last commit had a hole that could allow connected
67 route selection to escape beyond the connected route logic.
68 This time I cross-checked with Gunnar first. ;)
69
paula8d9c1f2006-01-25 06:31:04 +0000702006-01-25 Gunnar Stigen <gunnar.stigen@axxessit.no>
71
72 * zebra_rib.c: (rib_process) Application of Gunnar's earlier
73 metric selection RIB change included incorrect tidy-ups made
74 by commiter. Fix. (NB: any errors here are again due to paul).
75
paul5c78b3d2006-01-25 04:31:40 +0000762006-01-25 Paul Jakma <paul.jakma@sun.com>
77
78 * (general) More solaris PF_ROUTE hacks. The IFF_UP mangling
79 for solaris was incomplete on the PF_ROUTE side. fix it.
80 This changeset generally uglifies things. For some future
81 work I'd like to see the state changes seperated out from
82 the details of the code. Differences between systems might
83 then be slightly easier to implement without convoluted
84 hacks.
85 Changes should be specific to Solaris mostly, however
86 also tested on FreeBSD 6.
87 * if_ioctl_solaris.c: (interface_list_ioctl) ignore ~IFF_UP
88 interfaces, we'll hear about them when/if interface goes up
89 through NEWADDR.
90 Update flags explicitely at end of it to kick mangling.
91 * ioctl_solaris.c: (if_mangle_up) removed to interface.c, in
92 kind.
93 (lifreq_set_name) more convenient to take the string, than
94 the ifp.
95 (if_get_flags_direct) new convenience function, returns
96 the actual flags. Used during bootstrap in if_ioctl_solaris.c
97 to peek at flags of logical interfaces to see whether or
98 not to ignore them.
99 (if_get_flags) ENXIO means it's gone, poke out IFF_UP and
100 kick flags update.
101 (if_{un,}set_flags) flags argument should be 64bit.
102 * ioctl.{c,h}: flags argument should be 64bit.
103 * interface.h: Add a 'primary_state' flag to struct zebra_if on
104 SUNOS_5.
105 Export if_flags_update.
106 * interface.c: (if_flags_mangle) moved over in kind from
107 ioctl_solaris.c. Nasty kludge to try get IFF_UP right, as
108 much as is possible. Also keep track of the actual IFF_UP
109 value for the primary interface, so we can know when the ifp
110 must be deleted.
111 (if_flags_update) Take a new interface flags value, apply it
112 to the interface, and take whatever actions are required due
113 to flag transitions.
114 (if_refresh) flag state change logic is moved out to
115 previous. Just call if_get_flags, which will end up using
116 previous to effect the update of flags.
117 (if_flag_dump_vty) IFF_IPV{4,6} aren't interesting, VIRTUAL
118 and NOXMIT are though.
119 * kernel_socket.c: (ifm_read) Down->Down transitions shouldn't
120 create ifp, for non-IFANNOUNCE systems.
121 Use if_flags_update to update flags.
122 flag transition logic is now handled automatically through
123 if_flags_update.
124 (ifam_read) Better to call if_refresh *after* adding
125 connected addresses, as connected count affects IFF_UP on
126 IFF_UP-mangled systems.
127 On Solaris, Up->Down due to DELADDR means we need to delete
128 the ifp - the IFINFO might already have been and gone.
129 * rt.h: include other dependent headers.
130
paule8e19462006-01-19 20:16:55 +00001312006-01-19 Paul Jakma <paul.jakma@sun.com>
132
133 * (general) various miscellaneous compiler warning fixes.
134 Remove redundant break statements from switch clauses
135 which return.
136 Remove stray semi-colons which cause empty-statement
137 warnings.
138 * main.c: (sighup) remove private declaration of external
139 function.
140 (main) return from main, not exit, cause it annoys SOS.
141
paulaf887b52006-01-18 14:52:52 +00001422006-01-18 Gunnar Stigen <gunnar.stigen@axxessit.no>
143
144 * zebra_rib.c: Take interface metric into account.
145
pauld34b8992006-01-17 18:03:04 +00001462006-01-17 Paul Jakma <paul.jakma@sun.com>
147
148 * kernel_socket.c: (ifam_read) Read metric from RTM_NEWADDR.
149 If interface is an alias, pass the alias as a label for
150 connected_add_ipv{4,6}.
151 * rt_netlink.c: (netlink_interface_addr) print out
152 IFA_CACHEINFO info, if present, when debugging kernel
153 messages.
154
paulc7133002006-01-17 17:56:18 +00001552006-01-17 Gunnar Stigen <gunnar.stigen@axxessit.no>
156
157 * connected.c: (connected_up_ipv{4,6}) Include interface metric on
158 connected routes.
paul61f42ae2006-01-17 17:59:11 +0000159 * if_ioctl.c: (if_getaddrs) Be defensive about assuming
160 that struct ifaddrs will have ifa_addr filled in.
paulc7133002006-01-17 17:56:18 +0000161
paulc1b98002006-01-16 01:54:02 +00001622006-01-16 Paul Jakma <paul.jakma@sun.com>
163
164 * zserv.c: Read/write updated Zserv header.
165
paulc77d4542006-01-11 01:59:04 +00001662006-01-11 Paul Jakma <paul.jakma@sun.com>
167
168 * zserv.c: (zsend_interface_{add,delete,update}) if flags are
169 8 bytes now, update to write out with stream_putq.
170
gdt6083e1f2005-12-29 15:59:57 +00001712005-12-29 Greg Troxel <gdt@fnord.ir.bbn.com>
172
gdte14b7fc2005-12-29 16:04:53 +0000173 * kernel_socket.c: remove dead code (from David Young).
174
gdt6083e1f2005-12-29 15:59:57 +0000175 * rt_socket.c (kernel_rtm_ipv4): Use AF_INET rather than AF_UNSPEC
176 for mask. From David Young.
177
paul89368d92005-11-26 09:14:07 +00001782005-11-26 Paul Jakma <paul.jakma@sun.com>
179
180 * connected.{c,h}: (connected_add_ipv6) label should have
181 const qualifier, fix declarations.
182
paulec1a4282005-11-24 15:15:17 +00001832005-11-24 Paul Jakma <paul.jakma@sun.com>
184
185 * kernel_socket.h: New header for functions exported to sysctl
186 methods.
187 * kernel_socket.c: include previous.
188 Remove static qualifier from couple of functions which are
189 used by sysctl methods.
190 Add a workaround for a bogus gcc warning to the RTA_ macros.
191 * Makefile.am: Add kernel_socket.h to noinst_HEADERS
192 * if_sysctl.c: include rt.h and kernel_socket.h and remove
193 redundant prototypes.
194 * rtread_sysctl.c: ditto.
195 (route_read) fix mismatch of return values.
196 * {rt,zserv,rib}.h: Include lib headers depended on.
197
paul6621ca82005-11-23 13:02:08 +00001982005-11-23 Paul Jakma <paul.jakma@sun.com>
199
200 * (general) fix some small compile errors, and mark several
201 functions as static.
202 * kernel_socket.c: (ifan_read) should be static.
203 fix missing brackets.
204 (ifm_read,ifam_read,rtm_read_mesg,kernel_read) Make static
205 (ifam_read_mesg) make static. fix incorrect variable name.
206 (rtm_read) make static. Fix call to rib_delete_ipv4 which
207 should be rib_delete_ipv6.
208 (routing_socket,kernel_init) should be static. Void argument
209 should be specified as such, not left incomplete.
210 * rt_netlink.c: rt.h should be included, contains prototypes of
211 exported functions.
212 (kernel_delete_ipv6_old) fix sign of index argument.
213 * rt_socket.c: Exact same as previous. Also, make various
214 functions static.
215 * rtread_getmsg.c: Include zserv.h, which prototypes
216 route_read. Make static.
217 * rtread_sysctl.c: zserv.h and rt.h should be included.
218 fix definition of route_read.
219
paul0fb58d52005-11-14 14:31:49 +00002202005-11-14 Paul Jakma <paul.jakma@sun.com>
221
222 * zebra_rib.c: (rib_process) convert to new workqueue specs and
223 shut up gcc, which complains about cast from void via
224 function parameters, for some dumb reason. Do the cast
225 inside the function instead.
226 (rib_queue_qnode_del) ditto.
227 (rib_queue_init) no need for the casts anymore.
228
paul6fe70d12005-11-12 22:55:10 +00002292005-11-12 Alexander Gall <gall@switch.ch>
230
231 * See [quagga-dev 1815]
232 * kernel_socket.c: (rtm_write) Use SAROUNDUP when HAVE_SIN_LEN
233 is not available.
234 * rt_socket.c: (kernel_rtm_ipv6(_multipath)) set family to
235 AF_INET6 on ipv6 routes.
236
2372005-11-12 Paul Jakma <paul.jakma@sun.com>
238
239 * kernel_socket.c: Add RTA_NAME_GET macro to extract name from
240 sockaddr_dl. Add some more RTF_ flags.
241 * (ifan_read) Add some debug messages.
242 * (ifm_read) Add more debug messages. More robust cross-checks
243 of index against name.
244 Fall back to by-name lookup if the index lookup fails, future
245 proofing more than anything else.
246 (ifam_read_mesg) Read RTA_IFP. Add debug messages.
247 (ifam_read) More debug. If there's an RTA_IFP and it isn't
248 the name of the interface, save it as the label.
249 (rtm_read_mesg) Read RTA_IFP.
250 (rtm_read) allow name to be retrieved.
251 (rtmsg_debug) expand on the debug message.
252
paul0994c3a2005-11-11 09:52:40 +00002532005-11-11 Paul Jakma <paul.jakma@sun.com>
254
255 * kernel_socket.c: (ifm_read) arithmetic on void pointer
256 warning.
257 (ifam_read) Fix error from connected-with-label merge,
258 something crept in from the pending Solaris kernel_socket.c
259 patch which shouldn't have.
260
paul0752ef02005-11-03 12:35:21 +00002612005-11-03 Paul Jakma <paul.jakma@sun.com>
262
263 * connected.{c,h}: Include memory.h
264 (connected_add_ipv4) Use MTYPE for ifc label.
265 (connected_add_ipv6) Also should accept label. Store it in ifp.
266 (connected_del_ipv4) Taking label as argument is pointless.
267 * rt_netlink.c: (netlink_interface_addr) update label usage
268 for connected_{add,delete} functions.
269 * if_ioctl.c: (if_getaddrs) NULL label for connected_add_ipv6.
270 * if_ioctl_solaris.c: (interface_list_ioctl) Pass LIFC_NOXMIT
271 so we also find out about NOXMIT interfaces like VNI.
272 Bit of hackery to turn interface names into the primary
273 interface name, later with routing socket messages we only
274 will about primary interfaces anyway, so we must normalise
275 the name.
276 (if_get_addr) take label as argument, so it can
277 be passed to connected_add.
278 If label is provided, then it is interface name to issue the
279 ioctl for address information on, not the ifp name.
280 (interface_list) List AF_UNSPEC too, just in case.
281 * if_proc.c: (ifaddr_proc_ipv6) label for connected_add_ipv6.
282 * interface.c: (if_addr_wakeup) Some very bogus code - sets
283 IFF_RUNNING - add comment.
284 (if_refresh)
285 (ip_address_install) Use MTYPE for ifc label.
286 * ioctl_solaris.c: (if_mangle_up) New function. Hackery to make
287 IFF_UP reflect whether any addresses are left on the
288 interface, as we get signalled for IFF_UP flags change on the
289 primary interface only. Logical interfaces dont generate
290 IFINFO, but we do get an RTM_DELADDR.
291 (if_get_flags) Call if_mangle_up before return.
292 * kernel_socket.c: (ifam_read) Fixup calls to
293 connected_{add,delete} to match above changes. Rename gate
294 variable to brd, less confusing.
295 Pass the interface name as a label, if it is not same name
296 as ifp->name.
297
pauld06b2a62005-10-11 03:53:54 +00002982005-10-11 Paul Jakma <paul.jakma@sun.com>
299
300 * connected.{c,h}: (connected_{add,delete}_ipv4) label should
301 be const qualified.
302
ajsc05612b2005-10-01 16:36:54 +00003032005-10-01 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
304
ajsf52d13c2005-10-01 17:38:06 +0000305 * zebra_vty.c: (route_type_str) Remove obsolete function: use new
306 library function zebra_route_string() instead. Note that there
307 are a few differences: for IPv6 routes, we now get "ripng" and
308 "ospf6" instead of the old behavior ("rip" and "ospf").
309 (route_type_char) Remove obsolete function: ues new library function
310 zebra_route_char() instead. Note that there is one difference:
311 the old function returned 'S' for a ZEBRA_ROUTE_SYSTEM route,
312 whereas the new one returns 'X'.
313 (vty_show_ip_route_detail,vty_show_ipv6_route_detail) Replace
314 route_type_str() with zebra_route_string().
315 (vty_show_ip_route,vty_show_ipv6_route) Replace route_type_char()
316 with zebra_route_char().
317
3182005-10-01 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
319
ajsc05612b2005-10-01 16:36:54 +0000320 * rt_netlink.c: (netlink_request) Use memset to clear structure
321 before calling sendto (eliminates a valgrind error message about
322 uninitialized data).
vincentaa2e32b2005-09-28 13:42:11 +0000323
3242005-09-28 Alain Ritoux <alain.ritoux@6wind.com>
325
vincentfbf5d032005-09-29 11:25:50 +0000326 * zserv.c: Always provied distance for route add
327
3282005-09-28 Alain Ritoux <alain.ritoux@6wind.com>
329
vincentaa2e32b2005-09-28 13:42:11 +0000330 * connected.c: flag connected_up_ipv6() and connected_down_ipv6()
331 usage with HAVE_IPV6
332
hassod24af182005-09-24 14:00:26 +00003332005-09-24 Hasso Tepper <hasso at quagga.net>
334
335 * rib.h: Add note about behaviour of rib_add_ipv[46]* functions -
336 add is treated as implicit withdraw.
337
hassoebf1ead2005-09-21 14:58:20 +00003382005-09-21 David Young <dyoung@ojctech.com>
339
340 * zebra_rib.c: Reduce the height of some staircases. Fix
341 rib_delete_ipv6() to match routes in the RIB by their gateway as
342 well as by destination.
343
paul319572c2005-09-21 12:30:08 +00003442005-09-21 Paul Jakma <paul.jakma@sun.com>
345
346 * zebra_rib.c: (static_uninstall_ipv{4,6}) Fix regression wrt
347 removal of static routes with multiple-hops introduced with
348 the workqueue conversion. We should free the relevant
349 nexthop and then get rib_process to run, otherwise we just
350 get same static route back again (with no way to unconfigure
351 it, because its already deleted from configuration).
352
paulca162182005-09-12 16:58:52 +00003532005-09-12 Paul Jakma <paul.jakma@sun.com>
354
355 * (general) RTM_CHANGE and implicit withdraw on RTM_NEWADDR
356 support.
357 * connected.c: (connected_withdraw) new function. withdraw a
358 connected subnet address set from zebra, and pass information
359 along to clients.
360 (connected_announce) similar, but to announce a new connected
361 subnet address set.
362 (connected_check_ipv4) renamed to connected_check, as its
363 AFI independent.
364 (connected_add_ipv{4,6}) Remove the connected address announce
365 stuff, use connected_announce instead.
366 If connected_check indicates address is already present,
367 treat it as an implicit withdraw of the existing address, ie
368 remove the old address details and replace with the new
369 details.
370 (connected_delete_ipv{4,6}) Use connected_withdraw.
371 (connected_check_ipv6) deleted in favour of connected_check.
372 * connected.h: Rename connected_check_ipv4 to connected_check.
373 delete connected_check_ipv6.
374 * interface.c: Use connected_check rather than the AFI specific
375 symbols.
376 * kernel_socket.c: (rtm_read) RTM_CHANGE support. Create a
377 rib delete event for the existing route, before adding route
378 again.
379 (kernel_read) we can handle RTM_CHANGE now.
380
hassobe61c4e2005-08-27 06:05:47 +00003812005-08-27 Hasso Tepper <hasso at quagga.net>
382
383 * zebra_rib.c, rib.h: Add distance and metric arguments to the
384 rib_add_ipv6() function so that IPv6 routes in RIB can have correct
385 metric. No IPv6 routing daemon uses distance yet though.
386 * zserv.c, connected.c, kernel_socket.c, rt_netlink.c,
387 rtread_proc.c,zserv.c: Pass metric and distance info to the
388 rib_add_ipv6().
389
paul6eb88272005-07-29 14:36:00 +00003902005-07-29 Paul Jakma <paul.jakma@sun.com>
391
392 * interface.c: (if_delete_update) should always be available, not
393 just on RTM_IFANNOUNCE/NETLINK systems.
394 * kernel_socket.c: (ifan_read) only call if_delete_update when
395 interface departs, dont if_delete, because we wish to retain
396 interface configuration state even when interfaces are removed.
397 (ifm_read) If we dont have RTM_IFANNOUNCE, then transitioning
398 to down state is only chance we have to clean up interface in case
399 it is deleted (eg Solaris down -> unplumb -> plumb up).
400 * redistribute.c: (zebra_interface_delete_update) should always be
401 available, we /will/ call it now on all systems, via
402 if_delete_update.
403 * zserv.c: (zsend_interface_delete) ditto
404 (zsend_interface_address) Update the call-flow diagramme, to
405 reflect that if_delete_update /is/ now called on all systems,
406 potentially.
407 * zserv.h: (zsend_interface_delete) unconditionally exported, as
408 above.
409
paula1ac18c2005-06-28 17:17:12 +00004102005-06-28 Paul Jakma <paul.jakma@sun.com>
411
412 * (global) Extern and static'ification, with related fixups
413 of declarations, ensuring files include their own headers, etc.
paulea6f82b2005-06-28 17:20:26 +0000414 * if_ioctl.c: (interface_info_ioctl) fix obvious arg mis-order in
paula1ac18c2005-06-28 17:17:12 +0000415 list loop
paulea6f82b2005-06-28 17:20:26 +0000416 * kernel_socket.c: (RTA_{ADDR,ATTR}_GET) fix mistake, NULL check
417 should be on DEST argument
paula1ac18c2005-06-28 17:17:12 +0000418
paul62debbb2005-06-14 14:07:07 +00004192005-06-14 Paul Jakma <paul.jakma@sun.com>
420
421 * kernel_socket.c: consolidate the IFAM{ADDR,MASK}GET and
422 RTM{ADDR,MASK}GET macros into generic rta_addrs macros,
423 RTA_{ADDR,ATTR}_GET.
424 (af_check) could use 'inline' attribute
425 (ifam_read_mesg) remove IFAM{ADDR,MASK}GET macro, change to
426 generic macro.
427 (rtm_read_mesg) similar
428
hasso1ada8192005-06-12 11:28:18 +00004292005-06-12 Hasso Tepper <hasso at quagga.net>
430
431 * rt_netlink.c: Remove netlink-addr socket declaration, it's not used.
432 * rt_netlink.c (netlink_parse_info): Fix debug messages - nlmsg_pid is
433 unsigned and one zlog call had swapped arguments.
434 * rt_netlink.c (netlink_route_multipath): Fix compile with disabled
435 IPv6 support.
436
paul1dcb5172005-05-31 08:38:50 +00004372005-05-31 Paul Jakma <paul.jakma@sun.com>
438
439 * zserv.c: (zsend_route_multipath) Fix bug if route is sent
440 with no NEXTHOP_FLAG_FIB nexthops. As ZAPI_MESSAGE_IFINDEX
441 and ZAPI_MESSAGE_NEXTHOP are always set, clients would try
442 read non-existent nexthop information and hit stream assert.
443 Zserv is still broken for multi-nexthop messages, but it always was.
444
paul69e10ad2005-05-06 21:27:33 +00004452005-05-06 Paul Jakma <paul.jakma@sun.com>
446
447 * zserv.h: Remove ZEBRA_PORT definition, its in lib/zebra.h now
448
paul4d38fdb2005-04-28 17:35:14 +00004492005-04-28 Paul Jakma <paul.jakma@sun.com>
450
451 * rib.h: (struct rib) Add lock field for refcounting.
452 * zserv.h: (struct zebra_t) Add a ribq workqueue to the zebra
453 'master' struct.
454 * zserv.c: (zread_ipv4_add) XMALLOC then memset should be XCALLOC.
455 * zebra_rib.c: Clean up refcounting of route_node, make struct rib
456 refcounted and convert rib_process to work-queue. In general,
457 rib's should be rib_addnode'd and delnode'd to route_nodes, and
458 these symmetrical functions will manage the locking of referenced
459 route_node and freeing of struct rib - rather than having users
460 manage each seperately - with much scope for bugs..
461 (newrib_free) removed and replaced with rib_lock
462 (rib_lock) new function, check state of lock and increment.
463 (rib_unlock) new function, check lock state and decrement. Free
464 struct rib if refcount hits 0, freeing struct nexthop's, as
465 newrib_free did.
466 (rib_addnode) Add RIB to route_node, locking both.
467 (rib_delnode) Delete RIB from route_node, unlocking each.
468 (rib_process) Converted to a work-queue work function.
469 Functional changes are minimal, just arguments, comments and
470 whitespace.
471 (rib_queue_add_qnode) Helper function to setup a ribq item.
472 (rib_queue_add) Helper function, same arguments as old
473 rib_process, to replace in callers of rib_process.
474 (rib_queue_qnode_del) ribq deconstructor.
475 (rib_queue_init) Create the ribq.
476 (rib_init) call rib_queue_init.
477 (remainder) Sanitise refcounting of route_node's. Convert to
478 rib_queue_add, rib_addnode and rib_delnode. Change XMALLOC/memset
479 to XCALLOC. Remove calls to nexthop_delete and nexthop_free.
480
paulcf460ef2005-04-10 16:54:26 +00004812005-04-10 Paul Jakma <paul@dishone.st>
482
483 * if_ioctl_solaris.c: (if_lookup_linklocal) fix order of args
484 in ALL_LIST_ELEMENTS_RO macro.
485
ajs57a14772005-04-10 15:01:56 +00004862005-04-10 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
487
488 * zserv.c (zebra_client_read): Fix bug: first read attempt should
489 read ZEBRA_HEADER_SIZE minus the number of bytes already read.
490 Improve efficiency by maintaining a calculation of the number
491 of bytes read instead of calling stream_get_endp multiple times.
492 If message length is too small, issue a warning message (not debug)
493 before closing the connection. And also check that message length
494 is not too big.
495
hasso206d8052005-04-09 16:38:51 +00004962005-04-09 Hasso Tepper <hasso at quagga.net>
497
hassofa599802005-04-09 16:59:28 +0000498 * rt_netlink.c: One tiny missing comma caused pointless debug messages
499 about IPv6 nexthops.
500
5012005-04-09 Hasso Tepper <hasso at quagga.net>
502
hasso206d8052005-04-09 16:38:51 +0000503 * rt_netlink.c (netlink_parse_info): Fix warning. It's safe to cast
504 status to unsigned here, because we already checked that it isn't
505 negative or 0.
506 * rt_netlink.c (netlink_interface_addr): Prefix length belongs to the
507 address, not to the interface.
508 * rt_netlink.c (netlink_route_multipath): Fix debug. No useless info
509 is printed out now and IPv6 info is handeled.
510
paul3d1dc852005-04-05 00:45:23 +00005112005-04-05 Paul Jakma <paul@dishone.st>
512
513 * zserv.c: print more helpful errors when we fail to successfully
514 bind and listen on zserv socket. Closes bugzilla #163.
515
ajsd2fc8892005-04-02 18:38:43 +00005162005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
517
ajs08dbfb62005-04-03 03:40:52 +0000518 * if_ioctl.c: (interface_list_ioctl) Use if_get_by_name_len.
519 * if_proc.c: (ifaddr_proc_ipv6) Increase size of ifname buffer to
520 avoid overflow.
521 * kernel_socket.c: (ifan_read) Use if_get_by_name_len.
522
5232005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
524
ajsa3491982005-04-02 22:50:38 +0000525 * kernel_socket.c: (ifm_read) Use new if_lookup_by_name_len function
526 to save a memcpy.
527 * if_ioctl_solaris.c: (interface_list_ioctl) Fix subtle bug with new
528 if_get_by_name_len function.
529
5302005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
531
ajsd2fc8892005-04-02 18:38:43 +0000532 * interface.c: (if_new_intern_ifindex) Remove obsolete function.
533 (if_delete_update) After distributing the interface deletion message,
534 set ifp->ifindex to IFINDEX_INTERNAL.
535 (if_dump_vty) Detect pseudo interface by checking if ifp->ifindex is
536 IFINDEX_INTERNAL.
537 (zebra_interface) Check return code from interface_cmd.func.
538 Do not set internal ifindex values to if_new_intern_ifindex(),
539 since we now use IFINDEX_INTERNAL for all pseudo interfaces.
540 * kernel_socket.c: (ifm_read) Fix code and comments to reflect that
541 all internal interfaces now have ifp->ifindex set to IFINDEX_INTERNAL.
542 * rt_netlink.c: (set_ifindex) New function used to update ifp->ifindex.
543 Detects interface rename events by checking if that ifindex is already
544 being used. If it is, delete the old interface before assigning
545 the ifindex to the new interface.
546 (netlink_interface, netlink_link_change) Call set_ifindex to update
547 the ifindex.
548
hassob7ed1ec2005-03-31 20:13:49 +00005492005-03-31 Hasso Tepper <hasso at quagga.net>
550
551 * rt_netlink.c (netlink_talk_filter): Show always warning message,
552 it's not for debug.
553 * rt_netlink.c (netlink_talk): Don't assume we use netlink_cmd
554 although we do now actually.
555 * rt_netlink.c (netlink_route, netlink_route_multipath): Always use
556 netlink_cmd to send messages to the kernel.
557
ajs2da40f42005-03-30 16:33:13 +00005582005-03-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
559
560 * irdp.h: Add prototype for irdp_sock_init, and fix protos for
561 other irdp_* functions.
562 * irdp_interface.c: (irdp_if_start) If irdp_sock is negative,
563 call irdp_sock_init to create the IRDP socket.
564 (irdp_if_init) Rename to irdp_init().
565 (get_iflist_ifp) Remove function that is a duplicate of
566 if_lookup_by_index.
567 (*) Make many functions static. And remove superfluous "\n" from
568 several zlog messages.
569 * irdp_main.c: (irdp_init) Remove function that used to call
570 irdp_if_init() and irdp_sock_init(), since we will now create
571 the socket only upon first use.
572 (irdp_sock_init) Do not update global irdp_sock variable, just
573 return the fd and assume that the caller will do so. If setsockopt
574 calls fail, close the socket before returning -1.
575 (*) Make many functions static.
576 * irdp_packet.c: Initialize irdp_sock to -1.
577 (irdp_read_raw) Call standard library function if_lookup_by_index
578 instead of get_iflist_ifp.
579 (irdp_recvmsg) Should be static, not global.
580
ajsa608bbf2005-03-29 17:03:49 +00005812005-03-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
582
583 * rt_netlink.c: (netlink_link_change) If the status of an
584 operative interface changes (e.g. MTU changes), the client
585 daemons should be notified by calling zebra_interface_up_update.
586 Previously, the information was being updated in zebra's
587 interface structure, but the clients were not notified of
588 changes to an operative interface.
589
vincent7cee1bb2005-03-25 13:08:53 +00005902005-03-25 Jean-Mickael Guerin <jean-mickael.guerin@6wind.com>
591 * interface.c, interface.h, rtadv.c, rtadv.h: modifications to
592 IPv6 Neighbor Discovery according to RFC3775, section 7:
593 o 1-bit Home Agent flag management in Router Advertisement (7.1).
594 o 1-bit Router Address flag management in Prefix Information
595 Option (7.2).
596 o Advertisement Interval Option (7.3)
597 o Home Agent Information Option (7.4)
598 o Changes to Sending Router Advertisements more frequently (7.5)
599
hassoed9bb6d2005-03-13 19:17:21 +00006002005-03-13 Hasso Tepper <hasso at quagga.net>
601
602 * zebra/interaface.c: "show interface description" command
603 implemented.
604
paulc1f01f32005-03-12 06:33:14 +00006052005-03-12 Paul Jakma <paul@dishone.st>
606
607 * rt_netlink.c: (netlink_route_multipath) dont set equalise flag.
608 No stock Linux kernel has ever supported it, and even if it had
609 it's not generally a good idea.
610
hasso42a66d72005-03-07 08:19:44 +00006112005-03-07 Michael Sandee <voidptr@voidptr.sboost.org>
612
613 * if_proc.c, ipforward_proc.c, rtread_proc.c: Fix fd leaks.
614
hasso3452d472005-03-06 13:42:05 +00006152005-03-06 Hasso Tepper <hasso at quagga.net>
616
617 * interface.c: Fix CRC and frame errors statistics in Linux.
618
ajs719e9742005-02-28 20:52:15 +00006192005-02-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
620
621 * zserv.c: Must include network.h and buffer.h for non-blocking I/O.
622 Remove global message_queue and t_write (need separate buffering for
623 each client).
624 (zebra_server_dequeue,zebra_server_enqueue) Remove functions
625 related to old buggy buffering code.
626 (zserv_delayed_close) New thread callback function to delete a client.
627 (zserv_flush_data) New thread callback function to flush buffered
628 data to client.
629 (zebra_server_send_message) Rewritten to use buffer_write (so
630 buffering of writes and non-blocking I/O work properly).
631 (zsend_interface_add,zsend_interface_delete,zsend_interface_address,
632 zsend_interface_update) Return 0 instead of -1 if !client->ifinfo
633 (this is not really an error). Return value from
634 zebra_server_send_message.
635 (zsend_route_multipath,zsend_ipv4_nexthop_lookup,
636 zsend_ipv4_import_lookup) Return value from zebra_server_send_message.
637 (zsend_ipv6_nexthop_lookup) Fix scope to static, and return value
638 from zebra_server_send_message.
639 (zsend_router_id_update) Must use zebra_server_send_message instead
640 of deprecated writen function. Return 0 instead of -1 if this client
641 is not subscribed to router-id updates (since this is not really
642 an error).
643 (zread_interface_add) Change type to static int. If
644 zsend_interface_add fails or zsend_interface_address fails, return -1
645 immediately (since the client has had an I/O error).
646 (zread_interface_delete,zread_ipv4_add,zread_ipv4_delete,
647 zread_ipv6_add,zread_ipv6_delete,zread_router_id_delete) Return 0
648 to indicate success.
649 (zread_ipv4_nexthop_lookup) Return value from
650 zsend_ipv4_nexthop_lookup.
651 (zread_ipv4_import_lookup) Return value from zsend_ipv4_import_lookup.
652 (zebra_read_ipv6) Remove unused function.
653 (zread_ipv6_nexthop_lookup) Return value from
654 zsend_ipv6_nexthop_lookup.
655 (zread_router_id_add) Return value from zsend_router_id_update.
656 (zebra_client_close) Call buffer_free(client->wb) and
657 thread_cancel(client->t_suicide).
658 (zebra_client_create) Allocate client->wb using buffer_new.
659 (zebra_client_read) Support non-blocking I/O by using stream_read_try.
660 Use ZEBRA_HEADER_SIZE instead of 3.
661 (zebra_accept) Fix bug: reset accept thread at top. Make client
662 socket non-blocking using the set_nonblocking function.
663 (config_write_forwarding) Fix scope to static.
664 (zebra_init) Remove initialization code for old buggy write buffering.
665 * zserv.h: Add 2 new fields to struct zserv: struct buffer *wb
666 (to enable buffered writes with non-blocking I/), and
667 struct thread *t_suicide to support delayed close on I/O
668 errors.
669 * router-id.h: Remove prototypes for zread_router_id_add and
670 zread_router_id_delete (their scope should be static to zserv.c).
671
ajs27da3982005-02-24 16:06:33 +00006722005-02-24 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
673
674 * redistribute.c: (zebra_check_addr,is_default,
675 zebra_redistribute_default,zebra_redistribute) Fix scope to be static.
676
hassoe8274dc2005-02-20 19:09:23 +00006772005-02-20 Hasso Tepper <hasso at quagga.net>
678
679 * rt_netlink.c: Don't show messages "ignoring message type 0x001[89]"
680 if we are not debugging.
681
paule31f2292005-02-19 02:00:26 +00006822005-02-19 Paul Jakma <paul@dishone.st>
683
684 * zserv.c: (zebra_read_ipv6) replace the char * arithmetic with
685 STREAM_READABLE.
686
paul1e193152005-02-14 23:53:05 +00006872005-02-14 Paul Jakma <paul@dishone.st>
688
689 * Not all Linux netlink systems have IFLA_WIRELESS
690
ajs6a52d0d2005-01-30 18:49:28 +00006912005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
692
693 * ioctl.c: (if_ioctl,if_ioctl_ipv6,if_get_flags) Replace perror with
694 zlog_err.
695 * ioctl_solaris.c: (if_ioctl,if_ioctl_ipv6) Replace perror with
696 zlog_err.
697
ajs4be019d2005-01-29 16:12:41 +00006982005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
699
ajs4460e7a2005-01-29 17:07:40 +0000700 * if_ioctl_solaris.c: (interface_list_ioctl) Save errno before calling
701 zserv_privs.change.
702 * ioctl{,_solaris}.c: (if_ioctl,if_ioctl_ipv6) Save errno before calling
703 zserv_privs.change.
704 * ipforward_solaris.c: (solaris_nd) Save errno before calling
705 zserv_privs.change.
706 * irdp_main.c: (irdp_sock_init) Save errno before calling
707 zserv_privs.change.
708
7092005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
710
ajs4be019d2005-01-29 16:12:41 +0000711 * rt_netlink.c: (netlink_socket,netlink_request,netlink_parse_info,
712 netlink_talk) Save errno before calling zserv_privs.change.
713
paulc15cb242005-01-24 09:05:27 +00007142005-01-24 Martin Pot <mpot at martybugs.net>
715
716 * zebra/rt_netlink.c: ignore wireless newlink netlink messages.
717
hasso6f2c27a2005-01-18 13:44:35 +00007182005-01-18 Hasso Tepper <hasso at quagga.net>
719
720 * interface.c: Better statistics output in "show interface" command in
721 case of /proc being used.
722
hasso583d8002005-01-16 23:34:02 +00007232005-01-17 Hasso Tepper <hasso at quagga.net>
724
725 * main.c: With --nl-bufsize argument is required.
726
paul865b8522005-01-05 08:30:35 +00007272005-01-05 Paul Jakma <paul@dishone.st>
728
729 * zserv.c: (zebra_accept) Comment out setting of socket to NONBLOCK
730 for now, as we dont actually deal with with resending.... See
731 bugzilla #122, fix from wawa@yandex-team.ru (Vladimir Ivanov).
732 * kernel_socket.c: (routing_socket) ditto.
733
ajsb99760a2005-01-04 16:24:43 +00007342005-01-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
735
736 * rtadv.c: (rtadv_recv_packet,rtadv_send_packet) Use ZCMSG_FIRSTHDR
737 instead of CMSG_FIRSTHDR.
738
ajs341a8f12004-12-22 16:32:16 +00007392004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
740
741 * connected.c: (connected_add_ipv4) Limit warning about /32 addresses
742 with no peer specified to PtP interfaces only.
743
hassob8adec12004-12-18 16:03:28 +00007442004-12-18 Hasso Tepper <hasso at quagga.net>
745
746 * zebra_vty.c: Fix "show ipv6 route <proto>" command help and make it
747 work for isis routes.
748
gdt6a250b02004-12-09 14:48:12 +00007492004-12-09 Greg Troxel <gdt@fnord.ir.bbn.com>
750
751 * kernel_socket.c (rtmsg_debug): char * => const char *
752
ajs274a4a42004-12-07 15:39:31 +00007532004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
754
ajsb6178002004-12-07 21:12:56 +0000755 * *.c: Change level of debug messages to LOG_DEBUG.
756
7572004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
758
ajs274a4a42004-12-07 15:39:31 +0000759 * main.c: (main) The 2nd argument to openzlog has been removed.
760 So stdout logging will no longer be enabled by default.
761 * irdp_main.c: (irdp_finish) Reduce severity of shutdown message
762 from LOG_WARNING to LOG_INFO.
763
ajs887c44a2004-12-03 16:36:46 +00007642004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
765
766 * main.c: (sigint) Use zlog_notice for termination message.
767 (main) Add a startup announcement using zlog_notice.
768
hassoaccb1562004-11-25 19:21:07 +00007692004-11-25 Hasso Tepper <hasso at quagga.net>
770
771 * irdp_interface.c: Remove comment from DEFUN, it breaks vtysh because
772 it confuses extract.pl.
hassoc0652302004-11-25 19:33:48 +0000773 * main.c: Make group to run as configurable.
hassoaccb1562004-11-25 19:21:07 +0000774
hasso6bd7c6a2004-10-28 17:32:27 +00007752004-10-28 Hasso Tepper <hasso at quagga.net>
776
777 * interface.c: Remove dead "ip tunnel" command.
778
paul06f953f2004-10-22 17:00:38 +00007792004-10-22 Paul Jakma <paul@dishone.st>
780
781 * irdp_main.c: change setsockopt_pktinfo to setsockopt_ifindex
782
hasso3fb9cd62004-10-19 19:44:43 +00007832004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
784
785 * rt_netlink.c: (netlink_interface_addr) For PtP interfaces, ignore
786 tb[IFA_ADDRESS] if it's the same as tb[IFA_LOCAL].
787 * interface.c: (ip_address_install) Use new ipv4_broadcast_addr
788 function.
789 * connected.c: (connected_up_ipv4) Use CONNECTED_POINTOPOINT_HOST
790 macro.
791 (connected_down_ipv4) ditto.
792 (connected_add_ipv4) Validate destination address, print warnings
793 if it does not make sense.
794
hassoc1eaa442004-10-19 06:26:01 +00007952004-10-19 Hasso Tepper <hasso at quagga.net>
796
797 * zserv.c: Fix regression introduced with zserv cleanup.
798
hassoc75105a2004-10-13 10:33:26 +00007992004-10-13 Hasso Tepper <hasso at quagga.net>
800
801 * zebra_snmp.c: Remove defaults used to initialize smux connection to
802 snmpd. Connection is initialized only if smux peer is configured.
hassob71f00f2004-10-13 12:20:35 +0000803 * zserv.c: Remove useless warnings "forwarding is already on".
hassoc75105a2004-10-13 10:33:26 +0000804
hasso39ff11d2004-10-12 15:55:19 +00008052004-10-12 Hasso Tepper <hasso at quagga.net>
806
807 * zebra_vty.c: Unbreak "show ip route" command help and make it work
808 for isis routes.
hasso39db97e2004-10-12 20:50:58 +0000809 * interface.c(if_dump_vty): Show IPv6 addresses in "show interface"
810 output. Fixes Bugzilla #119.
811 * *.c: Make some strings const and some (unsigned) casts to fix
812 compiler warnings.
hasso39ff11d2004-10-12 15:55:19 +0000813
hassofce954f2004-10-07 20:29:24 +00008142004-10-07 Hasso Tepper <hasso at quagga.net>
815
816 * connected.c, main.c, rt_netlink.c, rtadv.c, zebra_rib.c, zserv.c:
817 Fix warnings: make strings const, signed -> unsigned.
818
paul72164662004-10-05 14:39:43 +00008192004-10-05 Paul Jakma <paul@dishone.st>
820
821 * irdp_packet.c: (parse_irdp_packet) style issues.
822 Use sockopt_iphdrincl_swab_systoh.
823 Try unbork the code. Checksum the ICMP data and actually
824 compare it to received checksum. Check data length against
825 claimed length in header.
826 Always use ntoh.. when accessing addresses, even when the
827 comparison happens to be endian-safe.
828 (send_packet) minor style isues. Use
829 sockopt_iphdrincl_swab_htosys.
830 (irdp_iph_hton/ntoh) IP header to/from network/host order.
831
hassoeef1fe12004-10-03 18:46:08 +00008322004-10-03 Gilad Arnold <gilad.arnold at terayon.com>
833
834 * interface.c, interface.h: A new prefix tree of connected subnets is
835 associated with each interface structure in zebra, in which each
836 live (ie, non-synthetic) node holds a list of installed addresses
837 that belong to that prefix. Remove secondary address logic from cli.
838 See [quagga-dev 872] for detailed explanation.
839 * connected.c: Use if_subnet_add() and if_subnet_delete().
840
hasso18a6dce2004-10-03 18:18:34 +00008412004-10-03 James R. Leu <jleu at mindspring.com>
842
843 * router-id.c, router-id.h: New files. Router id selection process. If
844 there is non 127.x.x.x address in loopack interface, lowest of them
845 is chosen. If there isn't, lowest from other interfaces addresses
846 are chosen. "router-id x.x.x.x" vty command to manual override.
847 * Makefile.am: Compile new files.
848 * main.c: Initialize router id.
849 * redistribute.c: Add interface addresses into router id selection
850 lists as they (dis)appear.
851 * zserv.c, zserv.h: Sending router id related messages to daemons.
852
hassoc9e52be2004-09-26 16:09:34 +00008532004-09-26 Hasso Tepper <hasso at quagga.net>
854
855 * irdp_interface.c, irdp_main.c, irdp_packet.c, rt_netlink.c,
856 rtadv.c, zebra_vty.c: Fix compiler warnings.
857
paul0c0f9112004-09-24 08:24:42 +00008582004-09-24 Paul Jakma <paul@dishone.st>
859
paul26f7a242004-09-24 08:45:10 +0000860 * irdp_interface.c: (no_ip_irdp_address_preference_cmd)
861 add missing listnode declaration.
862
8632004-09-24 Paul Jakma <paul@dishone.st>
864
paul0c0f9112004-09-24 08:24:42 +0000865 * irdp_{interface,main}.c: lists typedef removal cleanup.
866 update some list loops to LIST_LOOP. some miscellaneous style
867 and indent fixups.
868 (no_ip_irdp_address_preference_cmd) Fix delete of referenced node
paul26f7a242004-09-24 08:45:10 +0000869 in loop.
paul0c0f9112004-09-24 08:24:42 +0000870 * irdp_packet.c: (irdp_recvmsg) Fix buggy assignment of integer
871 to pointer.
872 * if_ioctl{,_solaris}.c: lists typedef removal cleanup.
873 update some list loops to LIST_LOOP.
874
hasso52dc7ee2004-09-23 19:18:23 +00008752004-09-23 Hasso Tepper <hasso at quagga.net>
876
877 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
878
paul44983cf2004-09-22 13:15:58 +00008792004-09-22 Paul Jakma <paul.jakma@sun.com>
880
881 * zserv.c: (zsend_route_multipath) fix nasty bad memset of struct
882 in_addr to sizeof(struct in6_addr), causing odd and hard to debug
883 crash.
884
hassoc34b6b52004-08-31 13:41:49 +00008852004-08-31 Hasso Tepper <hasso at quagga.net>
886
887 * main.c, rt_netlink.c: Added -s command line switch for tuning
888 netlink receive buffer size in Linux to avoid buffer overruns.
889
gdta5ea6872004-08-26 13:24:00 +00008902004-08-26 Miles Nordin <carton@Ivy.NET>
891
892 * ipforward_sysctl.c (mib_ipv6): Use size_t for len, per
893 sysctl(3), rather than int. (Needed on NetBSD/alpha to display
894 forwarding status correctly.)
895
paul3e0b3a52004-08-23 18:58:32 +00008962004-08-23 Paul Jakma <paul@dishone.st>
897
898 * zserv.c: (zebra_init) remove implicit ip forward enabling
899
paul0de1cde2004-08-19 04:45:33 +00009002004-08-19 Paul Jakma <paul@dishone.st>
901
902 * irdp_main.c: update to match sockopt renames.
903 * irdp_packet.c: include sockopt.h and update to match sockopt
904 renames.
905
gdt57492d52004-08-11 18:06:38 +00009062004-08-11 Greg Troxel <gdt@fnord.ir.bbn.com>
907
908 * rtadv.c (rtadv_send_packet): Allocate space for control messages
909 more carefully; it was wrong on NetBSD/sparc where CMSG alignment
910 is to 8 bytes instead of 4, and overwriting the address. Use the
911 provided macros for determining lengths.
912
paul5b73a672004-07-23 15:26:14 +00009132004-07-23 Sowmini Varadhan <Sowmini.Varadhan@Sun.COM>
914
915 * if_ioctl_solaris.c: HAVE_IPV6 ifdef fixups
916 * zserv.c: ditto
917 * ioctl_solaris.c: ditto.
918 * interface.c: cast for LLADDR
919 * interface.h: Add guards, include redistribute.h and remove
920 extraneous definitions of zebra_interface_{up,down}_update
921 * ioctl.h: Add AF_IOCTL define for non SOLARIS_IPV6
922 * redistribute.h: include dependent header, zserv.h
923 * zserv.h: include dependent header, rib.h
924
paul1470baf2004-07-23 15:25:01 +00009252004-07-23 Paul Jakma <paul@dishone.st>
926
927 * irdp_main.c: use setsockopt_pktinfo_ipv4
928 * irdp_packet.c: use SOPT_SIZE_CMSG_PKTINFO_IPV4 and
929 getsockopt_pktinfo_ifindex()
930
gdtcced60d2004-07-13 16:45:54 +00009312004-07-13 David Wiggins <dwiggins@bbn.com
932
933 * kernel_socket.c (rtm_flag_dump): terminate buffer with '\0', not '0'.
934
hasso25dac852004-07-13 03:06:51 +00009352004-07-13 Hasso Tepper <hasso@estpak.ee>
936
937 * irdp_main.c: Add privilege change.
938
hasso996933f2004-07-12 16:32:56 +00009392004-07-12 Hasso Tepper <hasso@estpak.ee>
940
941 * irdp_interface.c: follow common style while naming vty command
942 functions. Avoids confusion in extract.pl.
943
gdt87efd642004-06-30 17:36:11 +00009442004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
945
946 * main.c: define thread_master variable so that linking with
947 libzebra.so doesn't fail. Arguably zclient.o should be in a
948 separate library, but this is far less disruptive.
949
hassoca776982004-06-12 14:33:05 +00009502004-06-12 Robert Olsson <Robert.Olsson at data.slu.se>
951
952 * Added IRDP support.
953
hasso3e31cde2004-05-18 11:58:59 +00009542004-05-18 Hasso Tepper <hasso@estpak.ee>
955
956 * rtadv.c: Removed "[no] ipv6 nd send-ra" command. Replaced "ipv6 nd
957 prefix-advertisement" with "ipv6 nd prefix". Rewrite syntax of
958 "ipv6 nd prefix" command to allow various combinations of parameters
959 and flags. No defaults in configuration. Replaced on-link and
960 autoconfig with off-link and no-autoconfig flags in command syntax.
961 Cosmetic fixes in all commands. Documentation to reflect all changes.
962
paul19877dd2004-05-11 10:49:35 +00009632004-05-11 Paul Jakma <paul@dishone.st>
964
965 * Makefile.am: support for IOCTL_METHOD, as per Sowmini's patch.
paul48a46fa2004-05-11 10:55:22 +0000966 * if_ioctl_solaris.c: Fixup some erroneous privilege changes and
967 add privs.h header.
968 * ioctl_solaris.c: ditto
paulc50ae8b2004-05-11 11:31:07 +0000969 * ioctl.h: Add if_ioctl_ipv6 prototype and AF_IOCTL for SOLARIS_IPV6
970 * kernel_socket.c: Fix SAROUNDUP, compiler doesnt like do..while
971 RHS in assignments :)
972 * redistribute.c: (zebra_interface_delete_update) only used
973 if RTM_IFANNOUNCE and NETLINK is available.
974
paulb9df2d22004-05-09 09:09:59 +00009752004-05-09 Paul Jakma <paul@dishone.st>
976
977 * zserv.c: (zsend_route_multipath) Set the nexthop_num
978 field correctly. Add NEXTHOP_TYPE_IPV6_IFNAME for v6.
979 Conditionally set ZAPI_MESSAGE_METRIC flag - only for adds.
980 (zsend_ipv4_add) cruft, deleted.
981 (zsend_ipv4_delete) ditto.
982 (zsend_ipv6_add) ditto.
983 (zsend_ipv6_delete) ditto.
paul44145db2004-05-09 11:00:23 +0000984 * ioctl.c: (if_get_mtu) set mtu6 to mtu
985 * mtu_kvm.c: (if_kvm_get_mtu) set mtu6 to mtu
986 * rt_netlink.c: (netlink_interface) set mtu6 to mtu
987 (netlink_link_change) ditto
paul66e94882004-05-09 17:19:24 +0000988 * ipforward_solaris.c: fix typo of ND variable.
paul88424682004-05-09 18:21:35 +0000989 * if_ioctl_solaris.c: Add zprivs support.
990 * ioctl_solaris.c: ditto.
paul66e94882004-05-09 17:19:24 +0000991
paulb9df2d22004-05-09 09:09:59 +00009922004-05-09 Sowmini Varadhan <sowmini.varadhan@sun.com>
993
994 * zserv.c: (zsend_ipv{4,6}_{add,delete}_multipath) collapsed
995 into single zsend_route_multipath function.
996 (zsend_interface_{up,down}) collapsed into zsend_interface_update.
997 (zsend_interface_address_{add,delete}) collapsed into
998 zsend_interface_address.
999 (zsend_interface_add) send mtu6.
1000 (zsend_interface_delete) ditto.
1001 (zebra_write) remove unused function.
1002 (various) Apply static qualifier. Add comments.
1003 * zserv.h: Definitions changed as per above.
1004 * redistribute.c: Changes as per zserv.c.
paul44145db2004-05-09 11:00:23 +00001005 * interface.c: (if_delete_update) only used with HAVE_NETLINK
1006 and RTM_IFANNOUNCE.
1007 (if_flag_dump_vty) Solaris IFF_IPV4 and IFF_IPV6 if flags
1008 (if_dump_vty) print mtu6 if not same as mtu
paul88424682004-05-09 18:21:35 +00001009 * if_ioctl_solaris.c: New file, Solaris interface ioctl methods.
1010 * ioctl_solaris.c: New file, Common solaris ioctl methods.
1011
hasso34195bf2004-04-06 12:07:06 +000010122004-04-06 Krzysztof Oledzki <oleq@ans.pl>
1013
1014 * rt_netlink.c: Do not ignore metric when reading kernel routing
1015 table on Linux with rt_netlink interface.
1016
10172004-03-18 Hasso Tepper <hasso@estpak.ee>
hassof1d92e12004-03-18 15:40:33 +00001018
1019 * interface.c: Temporary fix for handling secondary addresses
1020 with label.
1021
hasso55906722004-02-11 22:42:16 +000010222004-02-12 Hasso Tepper <hasso@estpak.ee>
hassof1d92e12004-03-18 15:40:33 +00001023
hasso55906722004-02-11 22:42:16 +00001024 * zserv.c: Added "ipv6 forwarding" command.
1025
gdtb27900b2004-01-08 15:44:29 +000010262004-01-08 Greg Troxel <gdt@fnord.ir.bbn.com>
1027
1028 * kernel_socket.c (kernel_read): Use sockaddr_storage in buffer
1029 for reading kernel messages to ensure enough space (necessary on
1030 Solaris due to sockaddr_dl being large). Thanks to Sowmini
1031 Varadhan for help with this change.
1032
gdt9ccabd12004-01-06 18:23:02 +000010332004-01-06 Greg Troxel <gdt@t1.ir.bbn.com>
1034
1035 * rtadv.c (rtadv_send_packet): Change perror to zlog_err.
1036
gdtdbee01f2004-01-06 00:36:51 +000010372004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
gdt4bfbea82004-01-06 01:13:05 +00001038 * kernel_socket.c (ifm_read): Major cleanup. Use Sowmini's code
1039 to find the sockaddr_dl in all cases, narrowing the Solaris ifdef
1040 to just the accomodation of broken kernels. Check sockaddr_dl
1041 carefully up front, and later assume any non-NULL sdl pointer is
1042 valid. Clean up types and variable declarations, and rename
1043 WRAPUP to SAROUNDUP to make the name fit the behavior.
1044
10452004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
gdtdbee01f2004-01-06 00:36:51 +00001046
1047 * kernel_socket.c (kernel_read): Add a sockaddr_dl to the ifmsg
1048 structure, because on Solaris sockaddr_dl is far larger than the
1049 base sockaddr structure. (The code had previously been failing to
1050 read all the data.)
gdt4bfbea82004-01-06 01:13:05 +00001051
gdtda26e3b2004-01-05 17:20:59 +000010522004-01-05 Greg Troxel <gdt@ahi.ir.bbn.com>
1053
1054 * kernel_socket.c (kernel_read): Look up interfaces by index
1055 first, so that state changes which do not include a sockaddr_dl
1056 now work. Add many sanity checks. In
1057 particular, do not assume that a sockaddr_dl follows a message
1058 without checking the ifm_addrs flags, and do not trust the length
1059 in a sockaddr_dl. Add/clarify many comments.
1060
gdt4b5e1352003-12-03 17:54:34 +000010612003-12-03 Greg Troxel <gdt@poblano.ir.bbn.com>
1062
1063 * rtadv.c: reorder includes to avoid compiler warning (define
1064 structs before using them in prototypes)
1065
hasso647e4f12003-05-25 11:43:52 +000010662003-05-25 Jim Crumpler <Jim.Crumpler@edion.com>
1067
1068 * zserv.c: Add "ip forwarding" command.
1069
paul445f1432003-05-16 19:00:31 +000010702003-05-16 Gilad Arnold <gilad.arnold@terayon.com>
1071
1072 * zebra_rib.c: Fix memory leaks for ifname nexthops
1073
10742003-04-19 Israel Keys <ikeys@agile.tv>
1075
1076 * rt_netlink.c: BLOCK on netlink while initialising
1077
10782003-02-06 Francois Deppierraz <francois@ctrlaltdel.ch>
1079
1080 * rt_netlink.c (netlink_route_multipath): Set RTM_F_EQUALIZE when
1081 it exists.
1082
paul718e3742002-12-13 20:15:29 +000010832002-09-28 Akihiro Mizutani <mizutani@net-chef.net>
1084
1085 * zebra_rib.c (static_add_ipv4): Null0 static route is added.
1086
10872002-09-10 Jochen Friedrich <chris+zebra@scram.de>
1088
1089 * rt_netlink.c: Add check for EAGAIN.
1090 * kernel_socket.c: Likewise
1091
10922002-06-12 Israel Keys <ikeys@oz.agile.tv>
1093
1094 * rt_netlink.c: Setting the NLM_F_ACK flag on the netlink command
1095 message so that we get an ACK for successful netlink commands.
1096 Change the netlink socket to BLOCKING while we wait for a
1097 response; be it an ACK or an NLMSG_ERROR. Change
1098 netlink_parse_info to deal with ACK messages.
1099
11002001-11-01 Jun-ichiro itojun Hagino <itojun@iijlab.net>
1101
1102 * rtadv.c (rtadv_make_socket): setsockopt(IPV6_CHECKSUM) does not
1103 work for ICMPv6 socket.
1104
11052001-10-24 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
1106
1107 * rib.c (rib_process): Select connected route any case.
1108
11092001-10-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
1110
1111 * interface.c (no_ip_address_secondary): Add "no" to command.
1112
11132001-10-18 NOGUCHI Kay <kay@v6.access.co.jp>
1114
1115 * ioctl.c (if_prefix_add_ipv6): Set the prefered and valid lifetime
1116 to infinity as the freebsd4.4 workaroud.
1117
11182001-08-26 mihail.balikov@interbgc.com
1119
1120 * zebra_snmp.c: Fix snmpwalk problem such as IPv4 address
1121 A.B.C.255.
1122
11232001-08-22 NOGUCHI Kay <kay@v6.access.co.jp>
1124
1125 * rtadv.c: Do not send RA to loopback interface.
1126
11272001-08-20 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
1128
1129 * ioctl.c (if_set_prefix): Remove Linux 2.0 specific connected
1130 route treatment.
1131
11322001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
1133
1134 * zebra-0.92a released.
1135
11362001-08-17 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
1137
1138 * rib.c: Kernel route is treated as EGP routes in nexthop active
1139 check.
1140
11412001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
1142
1143 * zebra-0.92 released.
1144
11452001-08-08 "Akihiro Mizutani" <mizutani@dml.com>
1146
1147 * rib.c (show_ip_route_prefix_longer): Add longer-prefix option to
1148 show route commands.
1149
11502001-07-29 Yon Uriarte <havanna_moon@gmx.net>
1151
1152 * zserv.c (zsend_ipv4_add_multipath): Add
1153 NEXTHOP_TYPE_IPV4_IFINDEX check.
1154
11552001-07-29 NOGUCHI Kay <kay@v6.access.co.jp>
1156
1157 * rtadv.c: Apply valid lifetime, preferred lifetime, onilnk flag,
1158 autonomous address-configuration flag patch.
1159 (no_ipv6_nd_suppress_ra): Change "ipv6 nd send-ra" to "no ipv6 nd
1160 suppress-ra".
1161
11622001-07-24 NOGUCHI Kay <kay@v6.access.co.jp>
1163
1164 * rtadv.c (ipv6_nd_ra_interval): Add "ipv6 nd ra-interval SECONDS"
1165 command.
1166
11672001-07-24 Jun-ichiro itojun Hagino <itojun@iijlab.net>
1168
1169 * rt_socket.c (kernel_rtm_ipv4): Add KAME/NetBSD151 equal cost
1170 multicast FIB support both IPv4 and IPv6.
1171
11722001-07-24 Hal Snyder <hal@vailsys.com>
1173
1174 * if_ioctl.c (interface_list_ioctl): Fix bug of failing to get the
1175 full list of interfaces on some configurations of OpenBSD.
1176
11772001-07-23 NOGUCHI Kay <kay@v6.access.co.jp>
1178
1179 * rtadv.c (ipv6_nd_send_ra): Apply [zebra 9320] to fix "ipv6 nd
1180 send-ra" bug.
1181 (ipv6_nd_ra_lifetime): "ipv6 nd ra-lifetime 0" for default router
1182 availability.
1183 (ipv6_nd_managed_config_flag): "ipv6 nd managed-config-flag" is
1184 added.
1185 (ipv6_nd_other_config_flag): "ipv6 nd other-config-flag" is added.
1186
11872001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
1188
1189 * ioctl.c (if_ioctl): Change ioctl argument from int to u_long.
1190
1191 * rt_ioctl.c: Likewise.
1192
11932001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
1194
1195 * kernel_socket.c (rtm_write): Only set RTF_CLONING when the
1196 interface is not p2p.
1197
11982001-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1199
1200 * ioctl.c (if_prefix_add_ipv6): Fix argument type.
1201
12022001-04-06 Toshiaki Takada <takada@zebra.org>
1203
1204 * zserv.c (zsend_interface_delete): Use client->obuf instead of
1205 allocating new stream.
1206
12072001-03-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1208
1209 * rt_netlink.c: Revert RTPROT_BOOT change.
1210
12112001-03-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1212
1213 * rt_netlink.c (netlink_route_change): Skip RTPROT_BOOT route.
1214 (netlink_routing_table): Likewise.
1215
12162001-03-07 "Akihiro Mizutani" <mizutani@dml.com>
1217
1218 * zserv.c (zsend_ipv4_add_multipath): Send metric value to
1219 protocol daemons.
1220
12212001-02-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1222
1223 * rt_netlink.c (netlink_routing_table): Do not return
1224 tb[RTA_GATEWAY] is NULL. Reported by: "Michael O'Keefe"
1225 <mokeefe@qualcomm.com>.
1226
12272001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1228
1229 * if_ioctl.c (interface_list_ioctl): Call if_add_update().
1230 Suggested by: Chris Dunlop <chris@onthe.net.au>.
1231
12322001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1233
1234 * rib.c (nexthop_active_ipv4): When nexthop type is
1235 NEXTHOP_TYPE_IPV4_IFINDEX, propery set the ifindex to rifindex.
1236
1237 * zserv.c: Initialize rtm_table_default with 0.
1238
1239 * zebra-0.91 is released.
1240
12412001-01-31 Kunihiro Ishiguro <kunihiro@zebra.org>
1242
1243 * kernel_socket.c (rtm_read): Filter cloned route. Suggested by:
1244 Jun-ichiro itojun Hagino <itojun@iijlab.net>
1245
12462001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1247
1248 * connected.c (connected_up_ipv6): When point-to-point destination
1249 address is ::, use local address for connected network.
1250 (connected_down_ipv6): Likewise.
1251
12522001-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1253
1254 * zserv.c (zebra_serv): Add missing close() call. Reported by:
1255 David Waitzman <djw@vineyard.net>.
1256
12572001-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
1258
1259 * rib.c (rib_lookup_ipv4): New function for checking exact match
1260 IGP route.
1261
12622001-01-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1263
1264 * rib.c (show_ipv6_route_protocol): Fix bug of "show ip route
1265 route-type".
1266
12672001-01-22 Kunihiro Ishiguro <kunihiro@zebra.org>
1268
1269 * interface.c (zebra_interface): Do not call
1270 zebra_interface_add_update for inactive interface.
1271
1272 * zserv.c (zsend_interface_address_add): Send interface address
1273 flag.
1274 (zsend_interface_address_delete): Likewise.
1275
12762001-01-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1277
1278 * interface.c (if_addr_add): Add flags.
1279
1280 * connected.c (ifa_add_ipv4): Add new function for interface
1281 address handling.
1282 (ifa_delete_ipv4): Likewise.
1283
12842001-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1285
1286 * rib.c (rib_update): Update IPv6 RIB.
1287
1288 * kernel_socket.c (ifam_read): Call if_refresh() for update
1289 interface flag status. This is for implicit interface up on *BSD.
1290
1291 * interface.c (if_refresh): Add interface flag refresh function.
1292
1293 * kernel_socket.c (rtm_read): Fetch link-local address interface
1294 index.
1295 (ifan_read): We need to fetch interface information. Suggested
1296 by: Yasuhiro Ohara <yasu@sfc.wide.ad.jp>.
1297
1298 * rib.c (static_ipv6_nexthop_same): Add check for
1299 NEXTHOP_TYPE_IPV6_IFNAME.
1300
13012001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1302
1303 * rib.h (NEW_RIB): Turn on NEW_RIB flag. IPv6 new RIB code are
1304 taken into place.
1305
13062001-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1307
1308 * rib.c (static_ipv6_write): Display STATIC_IPV6_GATEWAY_IFNAME
1309 configuration.
1310 (rib_delete_ipv6): Handle same route conter for IPv6 connected
1311 route.
1312 (show_ipv6_route_protocol): New command.
1313 (show_ipv6_route_addr): Likewise.
1314 (show_ipv6_route_prefix): Likewise.
1315 (rib_update): Sweep kernel route when it is cleaned up.
1316
1317 * rt_socket.c (kernel_add_ipv6): Add NEXTHOP_IPV6_IFNAME
1318 treatmenet.
1319
1320 * rt_netlink.c (kernel_init): Likewise.
1321
1322 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): Likewise.
1323
1324 * rib.c (rib_add_ipv4): Cope with same connected route on a
1325 interface. Suggested by: Matthew Grant <grantma@anathoth.gen.nz>.
1326 (nexthop_ipv6_ifname_add): Add NEXTHOP_IPV6_IFNAME treatmenet.
1327
1328 * rib.h (struct new_rib): Add refcnt to keep track on the
1329 reference of same connected route.
1330
1331 * ioctl.c (if_set_prefix): Add check for GNU_LINUX.
1332
13332001-01-13 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1334
1335 * kernel_socket.c (ifan_read, rtm_type_str): Add RTM_OIFINFO check.
1336 (rtm_type_str): Add RTM_IFANNOUNCE check.
1337 (ifan_read): New function.
1338 (kernel_read): Add case for RTM_IFANNOUNCE.
1339
13402001-01-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1341
1342 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): New function.
1343
1344 * rt_netlink.c (netlink_route_multipath): IPv6 address ifindex
1345 treatment.
1346
1347 * connected.c (connected_up_ipv6): Add dest value check.
1348
1349 * rib.c (nexthop_active_ipv6): Do not touch IPv6 nexthop's
1350 ifindex.
1351 (rib_add_ipv4): Import rib_add_ipv6() same route check code.
1352 (nexthop_active_check): NEXTHOP_TYPE_IPV6_IFINDEX activity is only
1353 checked by ifindex.
1354
1355 * rt_socket.c (kernel_rtm_ipv6_multipath): New function.
1356
1357 * redistribute.c (redistribute_add): Use
1358 zsend_ipv6_add_multipath().
1359 (redistribute_delete_multipath): Use
1360 zsend_ipv6_delete_multipath().
1361
1362 * interface.c (ip_address): Check current IP address to avoid
1363 duplicate.
1364
1365 * rib.c (rib_delete_ipv4): When deleted route is connected route,
1366 check ifindex.
1367 (rib_add_ipv4): When connected route is added do not perform
1368 implicit withdraw.
1369 (rib_delete_ipv4): Check ifindex for connected route.
1370
1371 * kernel_socket.c (rtm_read): When route has RTF_STATIC, set
1372 ZEBRA_FLAG_STATIC for indicate as persistent route.
1373 (ifam_read): Unset interface index from link-local address when
1374 IPv6 stack is KAME.
1375
1376 * rib.c (rib_update): Do not delete persistent kernel route.
1377
1378 * rib.h (struct new_rib): Integrate RIB_FLAG_* to ZEBRA_FLAG_*.
1379
1380 * rt_socket.c (kernel_add_ipv6_multipath): Add placeholder.
1381 (kernel_delete_ipv6_multipath): Likewise.
1382
1383 * rt_netlink.c (netlink_talk): Give struct nlsock to netlink_talk.
1384
13852001-01-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1386
1387 * rib.c (rib_update): Revert Matthew Grant's patch
1388 zebra_cvs_newribfix.patch. Use struct rib->ifindex for kernel
1389 interface index. Introduce NEXTHOP_TYPE_IPV4_IFINDEX to support
1390 that. Add support for address deletion situation.
1391
13922001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1393
1394 * interface.c: Remove HAVE_IF_PSEUDO part.
1395
1396 * rib.h: Likewise.
1397
1398 * rt_netlink.c (netlink_link_change): Likewise.
1399
14002001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1401
1402 * zserv.c: Remove OLD_RIB codes.
1403
14042001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1405
1406 * zebra-0.90 is released.
1407
14082001-01-09 Matthew Grant <grantma@anathoth.gen.nz>
1409
1410 * interface.c (if_new_intern_ifindex): Allocate a new internal
1411 interface index.
1412 (if_addr_refresh): Fix up ip addresses configured via zebra.
1413 (if_add_update): Handle an interface addition.
1414 (if_delete_update): Handle an interface delete event.
1415
1416 * rib.c (nexthop_ipv4_add): Add kernel route deletion process when
1417 interface goes down.
1418
14192001-01-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1420
1421 * interface.c (if_dump_vty): When HAVE_NET_RT_IFLIST is defined,
1422 NetBSD also use this function. Suggested by Jasper Wallace
1423 <jasper@ivision.co.uk>.
1424
14252001-01-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1426
1427 * rib.c (nexthop_active_ipv4): Move back to set methodo to old
1428 one.
1429
14302001-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1431
1432 * rib.c (rib_add_ipv4): EBGP multihop set ZEBRA_FLAG_INTERNAL
1433 flag, so treat it.
1434
14352001-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1436
1437 * rt_netlink.c (netlink_talk_ipv6): When IPv6 route message is
1438 sent from netlink_cmd, the same message comes from netlink. To
1439 avoid confusion, temporary netlink_talk_ipv6 use netlink.sock
1440 instead of netlink_cmd.sock.
1441
14422001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1443
1444 * zserv.h (ZEBRA_SERV_PATH): Change "/tmp/zebra" to "/tmp/.zebra".
1445 Change "/tmp/zserv" to "/tmp/.zserv".
1446
14472000-12-29 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
1448
1449 * rt_netlink.c (struct nlsock): Divide kernel message into listen
1450 socket and command socket.
1451 (netlink_talk): Remove socket listen code. Use netlink_parse_info
1452 for read kernel response.
1453
14542000-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1455
1456 * rib.c (vty_show_ip_route): Show uptime of the RIP,OSPF,BGP
1457 routes.
1458
14592000-12-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1460
1461 * rt_netlink.c (netlink_route_multipath): Metric value is
1462 reflected to kernel routing table.
1463
1464 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Likewise.
1465
1466 * kernel_socket.c (rtm_write): Likewise.
1467
1468 * rib.c (nexthop_active_ipv4): Only iBGP route perform recursive
1469 nexthop lookup.
1470
1471 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Add ioctl version of
1472 new RIB implementation.
1473
14742000-12-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1475
1476 * rib.h: Remove MULTIPATH_NUM. It is defined by configure script.
1477
14782000-12-25 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1479
1480 * rib.c (rib_if_up): Call rib_fib_set instead of RIB_FIB_SET for
1481 proper redistribution.
1482
14832000-12-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1484
1485 * rib.c (nexthop_active_ipv4): Add self lookup nexthop check.
1486 (show_ip_route_protocol): Support new RIB.
1487
1488 * rt_netlink.c (netlink_route_change): Do not return when gate is
1489 NULL.
1490
14912000-12-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1492
1493 * rib.c (rib_lookup_ipv4_nexthop): IBGP nexthop check function is
1494 updated.
1495 (rib_add_ipv4): Free implicit withdraw route's RIB.
1496
14972000-12-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1498
1499 * rib.c (nexthop_active_ipv4): Check indirect nexthop.
1500
1501 * redistribute.c (redistribute_add_multipath): Redistribution
1502 works with new rib code.
1503
15042000-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1505
1506 * rt_netlink.c (netlink_route_multipath): Check useful nexthop
1507 number.
1508 (netlink_route_multipath): Clear rtnh_flags and rtnh_hops.
1509
1510 * rib.c (nexthop_active_update): Set flag for the rib's nexthop
1511 activity is changed.
1512 (nexthop_active_check): Before checking interface is up, make it
1513 sure the interface exist.
1514
15152000-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1516
1517 * rib.c (ip_route): New RIB prototype.
1518
15192000-11-16 Yon Uriarte <ukl2@rz.uni-karlsruhe.de>
1520
1521 * zserv.c (zsend_interface_add): Send hardware address when
1522 hw_addr_len is greater than 0.
1523
15242000-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1525
1526 * connected.c (connected_up_ipv4): Fix ptop bug. The destination
1527 network should be installed into routing table.
1528 (connected_down_ipv4): Likewise.
1529 (connected_add_ipv4): Change to use connected_up_ipv4.
1530 (connected_delete_ipv4): Likewise.
1531
15322000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1533
1534 * rt_netlink.c (netlink_interface_addr): Revert Harald Welte
1535 <laforge@gnumonks.org>'s ptop patch then back to original code to
1536 avoid duplicated connected route problem. Suggested by Frank van
1537 Maarseveen <F.vanMaarseveen@inter.NL.net>.
1538
1539 * kernel_socket.c (rtm_read): Make behavior consistent even #ifdef
1540 DEBUG is defined. Reported by Jun-ichiro itojun Hagino
1541 <itojun@iijlab.net>.
1542
15432000-10-23 Jochen Friedrich <jochen@scram.de>
1544
1545 * main.c (main): Call zebra_snmp_init() when it is enabled.
1546
15472000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1548
1549 * zserv.c (zebra_serv_un): UNIX domain socket server of zebra
1550 protocol.
1551
15522000-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1553
1554 * rib.c (rib_add_ipv4): Same check bug is fixed.
1555
15562000-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1557
1558 * rib.c (rib_if_down): Remove kernel route when the interface goes
1559 down.
1560
1561 * debug.c: New command "debug zebra kernel" is added.
1562
15632000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1564
1565 * zebra-0.89 is released.
1566
15672000-09-24 Harald Welte <laforge@gnumonks.org>
1568
1569 * rt_netlink.c (netlink_interface_addr): Fix point-to-point address
1570 treatment in netlink interface.
1571
15722000-09-21 David Lipovkov <dlipovkov@OpticalAccess.com>
1573
1574 * rib.c (rib_if_down): Pull static route only. Protocol daemon
1575 must withdraw routes when interface goes down.
1576 (rib_add_ipv4): Check nexthop when replace route.
1577
15782000-09-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1579
1580 * if_ioctl.c (if_getaddrs): New function for looking up
1581 interface's address by getifaddrs().
1582
15832000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1584
1585 * connected.c (connected_delete_ipv4): Add check for connected
1586 address is found or not.
1587 (connected_add_ipv6): Reflect IPv6 connected address change to
1588 protocol daemons.
1589 (connected_delete_ipv6): Likewise.
1590
15912000-09-07 David Lipovkov <davidl@nbase.co.il>
1592
1593 * rib.c (rib_delete_ipv4): Reverted the change from pseudo
1594 interface patch to original. Because ospfd deletes routes using
1595 zero ifindex.
1596
15972000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1598
1599 * zebra-0.88 is released.
1600
16012000-08-15 "Akihiro Mizutani" <mizutani@dml.com>
1602
1603 * rib.c (show_ip_route_protocol): Help string correction.
1604 (show_ip_route_prefix): Check prefix mask.
1605 (show_ip_route_vty_detail): Display distance and metric.
1606
16072000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1608
1609 * zserv.c (zsend_interface_add): Change ifindex store size from
1610 two octet to four.
1611 (zsend_interface_delete): Likewise.
1612 (zsend_interface_address_add): Likewise.
1613 (zsend_interface_address_delete): Likewise.
1614 (zsend_interface_up): Likewise.
1615 (zsend_interface_down): Likewise.
1616
16172000-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1618
1619 * rib.c (rib_add_ipv4): Do not install distance 255 route.
1620
16212000-08-10 Toshiaki Takada <takada@zebra.org>
1622
1623 * interface.c (bandwidth_if), (no_bandwidth_if): Call
1624 zebra_interface_up_update () instead of using if_up() and if_down().
1625
16262000-08-07 "Akihiro Mizutani" <mizutani@dml.com>
1627
1628 * interface.c (bandwidth_if): Fix help string.
1629
16302000-08-07 Matthew Grant <grantma@anathoth.gen.nz>
1631
1632 * interface.c (if_dump_vty): Display bandwidth value.
1633 (bandwidth_if): New command "bandwidth <1-10000000>" is added.
1634 When interface is up, force protocol daemons to recalculate routes
1635 due to cost change.
1636 (no_bandwidth_if): Likewise.
1637 (if_config_write): Output bandwidth configuration.
1638
1639 * zserv.c (zsend_interface_add): Send bandwidth value.
1640 (zsend_interface_up): Likewise.
1641 (zsend_interface_down): Likewise.
1642
1643
16442000-08-07 Michael Rozhavsky <mike@nbase.co.il>
1645
1646 * rib.c (show_ip_route_protocol): "show ip route
1647 (bgp|connected|kernel|ospf|rip|static)" is added.
1648
16492000-08-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1650
1651 * rib.c (rib_lookup_ipv4_nexthop): Check parent node until IGP
1652 nexthop is found.
1653 (rib_add_ipv4_internal): Set fib ifindex to rib ifindex.
1654
16552000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1656
1657 * redistribute.c (redistribute_delete): Fix bug of default route
1658 redistribute treatment.
1659
16602000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1661
1662 * rib.c (rib_init): Install ip_node in rib.c instead of zserv.c.
1663 Change default distance value.
1664
1665 Old New
1666 ------------------------------------------
1667 system 10 0
1668 kernel 20 0
1669 connected 30 0
1670 static 40 1
1671 rip 50 120
1672 ripng 50 120
1673 ospf 60 110
1674 ospf6 49 110
1675 bgp 70 200(iBGP) 20(eBGP)
1676 ------------------------------------------
1677
1678 * zserv.c (client_lookup): Function removed.
1679 (zsend_interface_add): Use client's output buffer. Check ifinfo
1680 flag.
1681 (zsend_interface_delete): Likewise.
1682 Delete ipv4_static_radix and ipv6_static_radix.
1683
16842000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1685
1686 * zserv.h (struct zebra_client): When client request interface
1687 information, ifinfo is set.
1688
1689 * rib.c: Temporary Revert changes for pseudo interface.
1690
1691 * rib.h: Likewise.
1692
1693 * zserv.c: Likewise.
1694
1695 * interface.c: Likewise.
1696
16972000-08-02 David Lipovkov <davidl@nbase.co.il>
1698
1699 * interface.c (zebra_if_init): Install interface "pseudo"
1700 commands.
1701
1702 * rib.c (rib_create): ifname argument is added.
1703 (rib_add_ipv4_pseudo): New function is added.
1704 (rib_delete_ipv4_pseudo): Likewise.
1705
1706 * rib.h : Delete INTERFACE_UNKNOWN definition. Add prototype for
1707 pseudo interface functions.
1708
1709 * rt_netlink.c (netlink_link_change): Check for pseudo interface.
1710
1711 * zserv.c (ip_route): When destination is pseudo interface, call
1712 rib_add_ipv4_pseudo().
1713
1714 * zserv.c (no_ip_route): Trim "unknown" argument.
1715
17162000-07-26 kunitake@dti.ad.jp
1717
1718 * if_ioctl.c (if_get_hwaddr): Fix hardware address length from 8
1719 to 6.
1720
1721 * rtadv.c (rtadv_send_packet): Fix shift bug for hardware address.
1722
17232000-07-24 Akihiro Mizutani <mizutani@dml.com>
1724
1725 * interface.c: Use install_default() for common VTY commands.
1726
17272000-07-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1728
1729 * if_ioctl.c (interface_list_ioctl): A interface list size is
1730 calculated from ifreq->if_addr.sa_len. This is for OpenBSD.
1731
1732 * ioctl.c (if_get_mtu): Remove codes for SIOCGIFDATA.
1733
17342000-07-09 Chris Dunlop <chris@onthe.net.au>
1735
1736 * if_ioctl.c (if_get_index): Add check for HAVE_BROKEN_ALIASES.
1737
17382000-07-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1739
1740 * zserv.c (zebra_client_read): Add ZEBRA_REDISTRIBUTE_{ADD,DELETE}
1741 message handling.
1742
17432000-07-02 David Lipovkov <davidl@nbase.co.il>
1744
1745 * zserv.c: "ip route A.B.C.D/M unknown" command is added.
1746
17472000-06-28 Michael Rozhavsky <mike@nbase.co.il>
1748
1749 * rib.c: Remove old kernel route when new route comes in.
1750
17512000-06-13 David Lipovkov <davidl@nbase.co.il>
1752
1753 * rib.c (rib_if_up): Add check for unknown interface.
1754
17552000-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1756
1757 * rib.h: Define INTERFACE_UNKNOWN.
1758
17592000-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1760
1761 * Makefile.am (EXTRA_DIST): Move irdp.c until implementation is
1762 finished.
1763
17642000-06-05 David Lipovkov <davidl@nbase.co.il>
1765
1766 * interface.c (if_zebra_delete_hook): Call rib_if_delete().
1767
1768 * redistribute.c (zebra_interface_delete_update): New function.
1769
1770 * redistribute.h (zebra_interface_delete_update): New function
1771 prototype.
1772
1773 * rib.c (rib_if_delete): New function. Walk down all routes and
1774 delete all on the interface.
1775
1776 * rib.h: New function prototype.
1777
1778 * rt_netlink.c (netlink_link_change): Call
1779 zebra_interface_delete_update ().
1780
17812000-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1782
1783 * if_ioctl.c (interface_info_ioctl): Check interface's flag before
1784 checking interface's address.
1785
17862000-04-26 Jochen Friedrich <jochen@nwe.de>
1787
1788 * GNOME-PRODUCT-ZEBRA-MIB: New file.
1789
1790 * GNOME-SMI: New file.
1791
17922000-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1793
1794 * irdp.c: New file from 1997 development code.
1795 * irdp.h: Likewise.
1796
17972000-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1798
1799 * rtadv.c (rtadv_send_packet): Enclose router advertisement
1800 logging with IS_ZEBRA_DEBUG_PACKET.
1801
18022000-04-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1803
1804 * zserv.c (zebra_client_close): Remove client structure from
1805 client_list when connection is terminated.
1806
18072000-03-21 David Lipovkov <davidl@nbase.co.il>
1808
1809 * connected.c (connected_add_ipv4): Allows all necessary structure
1810 updates for connected route, but doesn't insert it into rib if
1811 it's interface is down.
1812
18132000-01-21 Hideto Yamakawa <hideto.yamakawa@soliton.co.jp>
1814
1815 * rtread_getmsg.c: Set some definition for Solaris 2.5 and Solaris
1816 2.5.1.
1817
18182000-01-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1819
1820 * rib.c (no_ipv6_route_ifname): Fix buf of cheking return value
1821 from str2prefix_ipv6().
1822
18232000-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1824
1825 * rt_socket.c: Revert to use RTF_HOST for IPv4 with /32 route and
1826 IPv6 with /128 routes.
1827 (kernel_rtm_ipv4): In case of /32 route's gateway is interface. It
1828 should have mask for cloning.
1829
18301999-12-26 Jochen.Friedrich@genorz.de
1831
1832 * interface.c (if_dump_vty): Fix a bug of missing VTY_NEWLINE.
1833
18341999-12-23 Alex Zinin <zinin@amt.ru>
1835 * interface.*: dynamic int up/down support
1836
18371999-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1838
1839 * ipforward_proc.c (dropline): Move dropline() from lib/dropline.c
1840
1841 * rtread_proc.c (proc_route_read): Don't use dropline().
1842
18431999-12-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1844
1845 * kernel_socket.c (rtm_read): When message is RTM_GET, it has own
1846 process's pid.
1847
18481999-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1849
1850 * main.c (main): Change to default log output to ZLOG_STDOUT.
1851
1852 * zserv.c (zebra_serv): More detailed error print.
1853
18541999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1855
1856 * kernel_socket.c (rtm_read): Check old pid for static route
1857 insertion check.
1858
18591999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1860
1861 * interface.c (if_dump_vty): BSDI/OS uses 64bit for interface
1862 statistics counter.
1863
1864 * mtu_kvm.c: New file added.
1865
18661999-11-27 Vladimir B. Grebenschikov <vova@express.ru>
1867
1868 * kernel_socket.c (rtm_write): Set RTF_CLONING flag for
1869 route to the directly connected interface.
1870
18711999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1872
1873 * rt_socket.c: Delete USE_HOST_BIT definition.
1874
18751999-11-21 Michael Handler <handler@sub-rosa.com>
1876
1877 * rtread_getmsg.c: Undef some definition to resolve conflict.
1878
18791999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1880
1881 * kernel_socket.c (rtm_write): Change to use pre stored struct_dl
1882 value for gateway specification.
1883
18841999-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1885
1886 * rt_socket.c (kernel_rtm_ipv4): Even mask is 32 under IPv4 or
1887 128 under IPv6, don't use RTF_HOST.
1888
18891999-11-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1890
1891 * Makefile.am (EXTRA_DIST): Add rtread_getmsg.c.
1892
18931999-11-21 Michael Handler <handler@sub-rosa.com>
1894
1895 * rtread_getmsg.c: Added for Solaris 2.6 support.
1896
18971999-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1898
1899 * rtread_sysctl.c (rtm_read_route): RTM_DELETE handling added.
1900
1901 * rt_socket.c (kernel_read): Better BSD routing socket support.
1902
19031999-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1904
1905 * client_main.c: Disable making obsolete zebra test `client'
1906 command.
1907
19081999-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1909
1910 * zebra.c: Renamed to zserv.c.
1911
1912 * zebra.h: Global definitions are moved to lib/zebra.h. Then
1913 renamed to zserv.h.
1914
19151999-10-15 Jordan Mendelson <jordy@wserv.com>
1916
1917 * if_ioctl.c: Add Linux 2.2.X's alias support and dynamic
1918 interface. Remove ugly MAX_INTERFACE handling codes.
1919
19201999-09-17 Satosi KOBAYASI <kobayasi@north.ad.jp>
1921
1922 * Fix serious bug of IPv6 route deletion.
1923
19241999-09-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1925
1926 * ioctl.c (if_set_prefix): Properly set broadcast address.
1927
19281999-09-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1929
1930 * rib.c (rib_add_ipv6, rib_delete_ipv6): now protocol daemons
1931 can install connected route to kernel via zebra
1932
19331999-08-24 VOP <vop@unity.net>
1934
1935 * rib.c: Include "sockunion.h"
1936
19371999-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
1938
1939 * ipforward.h: New file.
1940
1941 * zebra.h: Obsolete message ZEBRA_GET_ALL_INTERFACE,
1942 ZEBRA_GET_ONE_INTERFACE, ZEBRA_GET_HOSTINFO are deleted.
1943
19441999-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1945
1946 * zebra.h (ZEBRA_INTERFACE_ADDRESS_ADD):
1947 ZEBRA_INTERFACE_{ADD,DELETE} added.
1948
19491999-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1950
1951 * rib.c: show ip route A.B.C.D works.
1952
1953 * zebra.c (zebra_read_ipv4): Add ifindex to zebra messages.
1954
19551999-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1956
1957 * zebra.h: New Zebra message ZEBRA_INTERFACE_{ADD,DELETE} added.
1958
19591999-08-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1960
1961 * interface.h: New file.
1962 * Makefile.am: Add interface.h
1963
19641999-08-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1965
1966 * redistribute.c (zebra_redistribute): give ifindex to client.
1967
19681999-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1969
1970 * main.c (longopts): -k, --keep_kernel option added.
1971
19721999-07-18 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1973
1974 * rt_socket.c (rtm_write): forgot closing socket bug fixed.
1975
19761999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1977
1978 * rib.c (show_ipv6_cmd): if rib is link show interface name.
1979
19801999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1981
1982 * rt_socket.c (rtm_write): use sockaddr_dl when null gateway.
1983
19841999-07-16 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1985
1986 * rt_socket.c (rtm_write): ipv6 route table bug fixed.
1987
19881999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1989
1990 * zebra.c (zebra_read_ipv6): read link prefix from ospf6 support
1991
19921999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1993
1994 * rt_socket.c (kernel_rtm_ipv6): gate treatment bug fixed.
1995
19961999-07-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1997
1998 * if_sysctl.c (ifm_read): Clear sockunion argument before fetching
1999 data. Suggested by "Chris P. Ross" <cross@eng.us.uu.net>
2000
20011999-07-08 HEO SeonMeyong <seirios@Matrix.IRI.Co.Jp>
2002
2003 * interface.c (if_tun_add): Add KAME's gif tunnel setting codes.
2004
20051999-06-26 Kunihiro Ishiguro <kunihiro@zebra.org>
2006
2007 * zebra.c (zebra_serv): Only accept loopback address connection.
2008
20091999-06-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2010
2011 * zebra.h (ZEBRA_ROUTE_EXTERNAL): Add zebra messages flags
2012
20131999-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
2014
2015 * ipforward_proc.c: ipforward_on () and ipforward_off () added.
2016
20171999-06-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2018
2019 * ipforward_proc.c (ipforward_ipv6): Check for IPv6 forwarding
2020 using /proc file system is added.
2021
20221999-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2023
2024 * if_ioctl.c (if_get_index): Interface index set bug is fixed by
2025 adding #else at the middle of function. Suggested by David Luyer
2026 <luyer@ucs.uwa.edu.au>.
2027
20281999-05-29 <kunihiro@zebra.org>
2029
2030 * rt_ioctl.c: Comment out #include <linux/ipv6_route.h>.
2031
20321999-05-26 Kunihiro Ishiguro <kunihiro@zebra.org>
2033
2034 * zebra.h (ZEBRA_ROUTE_MAX): Add new define for the max value of
2035 the sort of routes.
2036
20371999-05-25 Patrick Koppen <koppen@rhrk.uni-kl.de>
2038
2039 * rt_netlink.c (netlink_socket): Make netlink socket non-blocking.
2040 (netlink_parse_info): If errno is EWOULDBLOCK then continue to
2041 parse the message.
2042 (netlink_talk): Likewise
2043
20441999-05-17 <kunihiro@zebra.org>
2045
2046 * redistribute.c (zebra_check_addr): Added for loopback address
2047 check.
2048
20491999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
2050
2051 * rt_netlink.c (netlink_route_change): Tempolary bypass ipv6 route
2052 change treatment.
2053
2054 * Makefile.am (noinst_HEADERS): redistribute.h added.
2055
2056 * redistribute.h: New file.
2057
20581999-05-14 Stephen R. van den Berg <srb@cuci.nl>
2059
2060 * zebra.c (show_table): Show all table configuration DEFUN.
2061 (config_table): Config table number DEFUN.
2062
2063 * rt_netlink.c: Add support for multiple routing table.
2064
2065 * rib.c (rib_weed_table): New function added for delete all
2066 routes from specified routing table.
2067
2068 * main.c (signal_init): SIGTERM call sigint.
2069 (sigint): Loggging more better message.
2070
20711999-05-09 Kunihiro Ishiguro <kunihiro@zebra.org>
2072
2073 * rt_netlink.c: Change log () to zlog ().
2074
20751999-05-07 <kunihiro@zebra.org>
2076
2077 * zebra.h (ZEBRA_ROUTE_OSPF6): Added for ospf6d route.
2078
20791999-04-20 Kunihiro Ishiguro <kunihiro@zebra.org>
2080
2081 * interface.c: Add `no ip address' command.
2082
20831999-04-10 Kunihiro Ishiguro <kunihiro@zebra.org>
2084
2085 * rt_netlink.c (kernel_read): Function added for asynchronous
2086 zebra between kernel communication.
2087
20881999-03-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2089
2090 * rtread_sysctl.c (rtm_read): Fix address memcopy overrun bug.
2091 Reported by Achim Patzner <ap@bnc.net>.
2092
20931999-03-03 Kunihiro Ishiguro <kunihiro@zebra.org>
2094
2095 * Makefile.am: Install configuration sample with 600 permission.
2096
20971999-03-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2098
2099 * Makefile.am: Add -I.. to INCLUDES.
2100
21011999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
2102
2103 * syslog support added
2104
21051999-02-17 Peter Galbavy <Peter.Galbavy@knowledge.com>
2106
2107 * if_sysctl.c (interface_list): allocated memory free when unknown
2108 ifm_type is returned.
2109
2110 * ioctl.c (if_get_mtu): added SIOCGIFDATA treatment.
2111
21121998-12-15 Magnus Ahltorp <map@stacken.kth.se>
2113
2114 * interface.c: Header include added.
2115
21161998-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2117
2118 * rt.h (kernel_delete_ipv6): change int index to unsigned int index.
2119
21201998-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2121
2122 * if_ioctl.c (interface_list_ioctl): interface flag must be
2123 checked before check addresses of the interface.
2124
21251998-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2126
2127 * Makefile.am (INCLUDES): add @INCLUDES@ for Linux IPv6.
2128
21291998-10-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2130
2131 * ioctl.c: Linux version before 2.1.0 need interface route setup.
2132
21331998-09-15 HEO SeonMeyong <seirios@matrix.iri.co.jp>
2134
2135 * change HYDRANGEA to KAME
2136
21371998-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
2138
2139 * if_ioctl.c (if_addr_ioctl): set address family for getting
2140 interface's address.
2141 (if_get_index): silently return when can't get interface's index.
2142
21431998-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
2144
2145 * main.c (main): batch mode option '-b' added.
2146
21471998-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
2148
2149 * ioctl.c (if_set_prefix): add `ip address IPV4ADDR' command.
2150 * interface.c (shutdown_if): add interface shutdown and no
2151 shutdown command.
2152
21531998-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
2154
2155 * rib.c (rib_add_ipv6): delete rib_add_in6.
2156
21571998-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2158
2159 * main.c: retain flag is added.
2160
21611998-07-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2162
2163 * rtable.[ch]: merged with rib.[ch]
2164
21651998-07-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2166
2167 * connected.h: renamed from ifa.h.
2168
21691998-06-09 Kunihiro Ishiguro <kunihiro@zebra.org>
2170
2171 * rename if.c to interface.c
2172 * rename ifa.c to connected.c
2173
2174 * Porting to Debian GNU/Linux 2.0 (hamm).
2175
21761998-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2177
2178 * rt_netlink.c: renamed from krt_netlink.c
2179
2180 * fib.c: deleted.
2181 * rt_kvm.c: deleted.
2182 * rtread_getmsg.c: deleted.
2183
21841998-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2185
2186 * if.c (multicast): add multicast flag [un]set fucntion.
2187
21881998-05-19 Yamshita TAKAO <jargon@lares.dti.ne.jp>
2189
2190 * rt_socket.c: Modify for compile on Solaris, but dont't work it.
2191 rt_socket.c have some undefined function, so add directive "IMPLEMENT"
2192
21931998-05-18 Yamshita TAKAO <jargon@lares.dti.ne.jp>
2194
2195 * zebra.c: Modify for compile on Solaris.
2196
21971998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
2198
2199 * main.c: change CONFDIR to SYSCONFDIR.
2200
22011998-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
2202
2203 * .cvsignore: added.
2204
22051998-04-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2206
2207 * client.c: moves to ../lib.
2208
22091998-03-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2210
2211 * if_ioctl.c (if_get_addr): Change address copy from memcopy() to
2212 structure assignment.
2213
22141998-03-30 URA Hiroshi <ura@yamato.ibm.co.jp>
2215
2216 * if_sysctl.c (ifm_interface_add): sdl->sdl_data copy bug fixed.
2217
22181998-02-23 "Hannes R. Boehm" <hannes@boehm.org>
2219
2220 * if.c (if_init): add config_exit_cmd and config_help_cmd.
2221
22221998-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2223
2224 * rt_ioctl.c (route_ioctl): EPERM treatment added.
2225
22261998-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2227
2228 * rt_socket.c (kernel_read): communication port zebra between
2229 kernel is now handled by kernel_read.
2230
22311998-01-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2232
2233 * main.c (main): zebra [-P port] can specify vty port number.
2234
22351997-12-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2236
2237 * zebra.c: change select will be block.
2238
22391997-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2240
2241 * add static route treatment.
2242
22431997-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2244
2245 * rt_netlink.c: add netlink support over GNU/Linux system.
2246
22471997-11-23 Kunihiro Ishiguro <kunihiro@zebra.org>
2248
2249 * all inet_addr is changed to inet_aton.
2250
2251 * zebra.c (ip_route): add ip route command for static routes.
2252
22531997-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
2254
2255 * if.c (if_flag_dump): Linux port of if_flag_dump and _vty.
2256
22571997-11-19 Kunihiro Ishiguro <kunihiro@zebra.org>
2258
2259 * if.c: add interface command.
2260
22611997-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
2262
2263 * ipforward_proc.c : Now works on Linux.
2264
22651997-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2266
2267 * command.c : add completion feature.
2268
22691997-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
2270
2271 * vty.c (vty_command): add vty interface.
2272
22731997-10-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2274
2275 * zebra.c: add verbose mode.
2276
22771997-10-12 SonMyong Ho <s-ho@Matrix.IRI.Co.Jp>
2278
2279 * Hydrangea for FreeBSD supported
2280 * in.h: add some prototype.
2281
22821997-10-11 Kunihiro Ishiguro <kunihiro@zebra.org>
2283
2284 * rt_socket.c and rtread.c completely rewritten.
2285
22861997-10-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2287
2288 * rt_socket.c: rename kernel_sock to routing_socket
2289
22901997-10-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2291
2292 * if.c (if_new): interface structure change from linklist to vector.
2293
22941997-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
2295
2296 * vector.c (vector_init): create vector related function
2297
22981997-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2299
2300 * Makefile.in: add tags target
2301
2302 * start IPv6 support for INRIA FreeBSD.
2303