blob: 06290010c02591c0f710c57b4a173b8ff6aed11a [file] [log] [blame]
Paul Jakmae6d7d052006-03-30 13:32:09 +000012006-02-09 Paul Jakma <paul.jakma@sun.com>
2
3 * rib.h: (struct {rib,nexthop}) Rearrange fields to avoid
4 needless padding.
5 (struct rib) Remove the indirect pointer, not used anywhere!
6
paul3a570c82006-02-02 17:27:13 +000072006-02-02 Paul Jakma <paul.jakma@sun.com>
8
9 * interface.c: (if_dump_vty) move flags to their line, neater.
10
paula1038a12006-01-30 14:08:51 +0000112006-01-30 Paul Jakma <paul.jakma@sun.com>
12
13 * zebra_rib.c: (rib_process) Fourth time lucky on this jinxed
14 commit, last commit had a hole that could allow connected
15 route selection to escape beyond the connected route logic.
16 This time I cross-checked with Gunnar first. ;)
17
paula8d9c1f2006-01-25 06:31:04 +0000182006-01-25 Gunnar Stigen <gunnar.stigen@axxessit.no>
19
20 * zebra_rib.c: (rib_process) Application of Gunnar's earlier
21 metric selection RIB change included incorrect tidy-ups made
22 by commiter. Fix. (NB: any errors here are again due to paul).
23
paul5c78b3d2006-01-25 04:31:40 +0000242006-01-25 Paul Jakma <paul.jakma@sun.com>
25
26 * (general) More solaris PF_ROUTE hacks. The IFF_UP mangling
27 for solaris was incomplete on the PF_ROUTE side. fix it.
28 This changeset generally uglifies things. For some future
29 work I'd like to see the state changes seperated out from
30 the details of the code. Differences between systems might
31 then be slightly easier to implement without convoluted
32 hacks.
33 Changes should be specific to Solaris mostly, however
34 also tested on FreeBSD 6.
35 * if_ioctl_solaris.c: (interface_list_ioctl) ignore ~IFF_UP
36 interfaces, we'll hear about them when/if interface goes up
37 through NEWADDR.
38 Update flags explicitely at end of it to kick mangling.
39 * ioctl_solaris.c: (if_mangle_up) removed to interface.c, in
40 kind.
41 (lifreq_set_name) more convenient to take the string, than
42 the ifp.
43 (if_get_flags_direct) new convenience function, returns
44 the actual flags. Used during bootstrap in if_ioctl_solaris.c
45 to peek at flags of logical interfaces to see whether or
46 not to ignore them.
47 (if_get_flags) ENXIO means it's gone, poke out IFF_UP and
48 kick flags update.
49 (if_{un,}set_flags) flags argument should be 64bit.
50 * ioctl.{c,h}: flags argument should be 64bit.
51 * interface.h: Add a 'primary_state' flag to struct zebra_if on
52 SUNOS_5.
53 Export if_flags_update.
54 * interface.c: (if_flags_mangle) moved over in kind from
55 ioctl_solaris.c. Nasty kludge to try get IFF_UP right, as
56 much as is possible. Also keep track of the actual IFF_UP
57 value for the primary interface, so we can know when the ifp
58 must be deleted.
59 (if_flags_update) Take a new interface flags value, apply it
60 to the interface, and take whatever actions are required due
61 to flag transitions.
62 (if_refresh) flag state change logic is moved out to
63 previous. Just call if_get_flags, which will end up using
64 previous to effect the update of flags.
65 (if_flag_dump_vty) IFF_IPV{4,6} aren't interesting, VIRTUAL
66 and NOXMIT are though.
67 * kernel_socket.c: (ifm_read) Down->Down transitions shouldn't
68 create ifp, for non-IFANNOUNCE systems.
69 Use if_flags_update to update flags.
70 flag transition logic is now handled automatically through
71 if_flags_update.
72 (ifam_read) Better to call if_refresh *after* adding
73 connected addresses, as connected count affects IFF_UP on
74 IFF_UP-mangled systems.
75 On Solaris, Up->Down due to DELADDR means we need to delete
76 the ifp - the IFINFO might already have been and gone.
77 * rt.h: include other dependent headers.
78
paule8e19462006-01-19 20:16:55 +0000792006-01-19 Paul Jakma <paul.jakma@sun.com>
80
81 * (general) various miscellaneous compiler warning fixes.
82 Remove redundant break statements from switch clauses
83 which return.
84 Remove stray semi-colons which cause empty-statement
85 warnings.
86 * main.c: (sighup) remove private declaration of external
87 function.
88 (main) return from main, not exit, cause it annoys SOS.
89
paulaf887b52006-01-18 14:52:52 +0000902006-01-18 Gunnar Stigen <gunnar.stigen@axxessit.no>
91
92 * zebra_rib.c: Take interface metric into account.
93
pauld34b8992006-01-17 18:03:04 +0000942006-01-17 Paul Jakma <paul.jakma@sun.com>
95
96 * kernel_socket.c: (ifam_read) Read metric from RTM_NEWADDR.
97 If interface is an alias, pass the alias as a label for
98 connected_add_ipv{4,6}.
99 * rt_netlink.c: (netlink_interface_addr) print out
100 IFA_CACHEINFO info, if present, when debugging kernel
101 messages.
102
paulc7133002006-01-17 17:56:18 +00001032006-01-17 Gunnar Stigen <gunnar.stigen@axxessit.no>
104
105 * connected.c: (connected_up_ipv{4,6}) Include interface metric on
106 connected routes.
paul61f42ae2006-01-17 17:59:11 +0000107 * if_ioctl.c: (if_getaddrs) Be defensive about assuming
108 that struct ifaddrs will have ifa_addr filled in.
paulc7133002006-01-17 17:56:18 +0000109
paulc1b98002006-01-16 01:54:02 +00001102006-01-16 Paul Jakma <paul.jakma@sun.com>
111
112 * zserv.c: Read/write updated Zserv header.
113
paulc77d4542006-01-11 01:59:04 +00001142006-01-11 Paul Jakma <paul.jakma@sun.com>
115
116 * zserv.c: (zsend_interface_{add,delete,update}) if flags are
117 8 bytes now, update to write out with stream_putq.
118
gdt6083e1f2005-12-29 15:59:57 +00001192005-12-29 Greg Troxel <gdt@fnord.ir.bbn.com>
120
gdte14b7fc2005-12-29 16:04:53 +0000121 * kernel_socket.c: remove dead code (from David Young).
122
gdt6083e1f2005-12-29 15:59:57 +0000123 * rt_socket.c (kernel_rtm_ipv4): Use AF_INET rather than AF_UNSPEC
124 for mask. From David Young.
125
paul89368d92005-11-26 09:14:07 +00001262005-11-26 Paul Jakma <paul.jakma@sun.com>
127
128 * connected.{c,h}: (connected_add_ipv6) label should have
129 const qualifier, fix declarations.
130
paulec1a4282005-11-24 15:15:17 +00001312005-11-24 Paul Jakma <paul.jakma@sun.com>
132
133 * kernel_socket.h: New header for functions exported to sysctl
134 methods.
135 * kernel_socket.c: include previous.
136 Remove static qualifier from couple of functions which are
137 used by sysctl methods.
138 Add a workaround for a bogus gcc warning to the RTA_ macros.
139 * Makefile.am: Add kernel_socket.h to noinst_HEADERS
140 * if_sysctl.c: include rt.h and kernel_socket.h and remove
141 redundant prototypes.
142 * rtread_sysctl.c: ditto.
143 (route_read) fix mismatch of return values.
144 * {rt,zserv,rib}.h: Include lib headers depended on.
145
paul6621ca82005-11-23 13:02:08 +00001462005-11-23 Paul Jakma <paul.jakma@sun.com>
147
148 * (general) fix some small compile errors, and mark several
149 functions as static.
150 * kernel_socket.c: (ifan_read) should be static.
151 fix missing brackets.
152 (ifm_read,ifam_read,rtm_read_mesg,kernel_read) Make static
153 (ifam_read_mesg) make static. fix incorrect variable name.
154 (rtm_read) make static. Fix call to rib_delete_ipv4 which
155 should be rib_delete_ipv6.
156 (routing_socket,kernel_init) should be static. Void argument
157 should be specified as such, not left incomplete.
158 * rt_netlink.c: rt.h should be included, contains prototypes of
159 exported functions.
160 (kernel_delete_ipv6_old) fix sign of index argument.
161 * rt_socket.c: Exact same as previous. Also, make various
162 functions static.
163 * rtread_getmsg.c: Include zserv.h, which prototypes
164 route_read. Make static.
165 * rtread_sysctl.c: zserv.h and rt.h should be included.
166 fix definition of route_read.
167
paul0fb58d52005-11-14 14:31:49 +00001682005-11-14 Paul Jakma <paul.jakma@sun.com>
169
170 * zebra_rib.c: (rib_process) convert to new workqueue specs and
171 shut up gcc, which complains about cast from void via
172 function parameters, for some dumb reason. Do the cast
173 inside the function instead.
174 (rib_queue_qnode_del) ditto.
175 (rib_queue_init) no need for the casts anymore.
176
paul6fe70d12005-11-12 22:55:10 +00001772005-11-12 Alexander Gall <gall@switch.ch>
178
179 * See [quagga-dev 1815]
180 * kernel_socket.c: (rtm_write) Use SAROUNDUP when HAVE_SIN_LEN
181 is not available.
182 * rt_socket.c: (kernel_rtm_ipv6(_multipath)) set family to
183 AF_INET6 on ipv6 routes.
184
1852005-11-12 Paul Jakma <paul.jakma@sun.com>
186
187 * kernel_socket.c: Add RTA_NAME_GET macro to extract name from
188 sockaddr_dl. Add some more RTF_ flags.
189 * (ifan_read) Add some debug messages.
190 * (ifm_read) Add more debug messages. More robust cross-checks
191 of index against name.
192 Fall back to by-name lookup if the index lookup fails, future
193 proofing more than anything else.
194 (ifam_read_mesg) Read RTA_IFP. Add debug messages.
195 (ifam_read) More debug. If there's an RTA_IFP and it isn't
196 the name of the interface, save it as the label.
197 (rtm_read_mesg) Read RTA_IFP.
198 (rtm_read) allow name to be retrieved.
199 (rtmsg_debug) expand on the debug message.
200
paul0994c3a2005-11-11 09:52:40 +00002012005-11-11 Paul Jakma <paul.jakma@sun.com>
202
203 * kernel_socket.c: (ifm_read) arithmetic on void pointer
204 warning.
205 (ifam_read) Fix error from connected-with-label merge,
206 something crept in from the pending Solaris kernel_socket.c
207 patch which shouldn't have.
208
paul0752ef02005-11-03 12:35:21 +00002092005-11-03 Paul Jakma <paul.jakma@sun.com>
210
211 * connected.{c,h}: Include memory.h
212 (connected_add_ipv4) Use MTYPE for ifc label.
213 (connected_add_ipv6) Also should accept label. Store it in ifp.
214 (connected_del_ipv4) Taking label as argument is pointless.
215 * rt_netlink.c: (netlink_interface_addr) update label usage
216 for connected_{add,delete} functions.
217 * if_ioctl.c: (if_getaddrs) NULL label for connected_add_ipv6.
218 * if_ioctl_solaris.c: (interface_list_ioctl) Pass LIFC_NOXMIT
219 so we also find out about NOXMIT interfaces like VNI.
220 Bit of hackery to turn interface names into the primary
221 interface name, later with routing socket messages we only
222 will about primary interfaces anyway, so we must normalise
223 the name.
224 (if_get_addr) take label as argument, so it can
225 be passed to connected_add.
226 If label is provided, then it is interface name to issue the
227 ioctl for address information on, not the ifp name.
228 (interface_list) List AF_UNSPEC too, just in case.
229 * if_proc.c: (ifaddr_proc_ipv6) label for connected_add_ipv6.
230 * interface.c: (if_addr_wakeup) Some very bogus code - sets
231 IFF_RUNNING - add comment.
232 (if_refresh)
233 (ip_address_install) Use MTYPE for ifc label.
234 * ioctl_solaris.c: (if_mangle_up) New function. Hackery to make
235 IFF_UP reflect whether any addresses are left on the
236 interface, as we get signalled for IFF_UP flags change on the
237 primary interface only. Logical interfaces dont generate
238 IFINFO, but we do get an RTM_DELADDR.
239 (if_get_flags) Call if_mangle_up before return.
240 * kernel_socket.c: (ifam_read) Fixup calls to
241 connected_{add,delete} to match above changes. Rename gate
242 variable to brd, less confusing.
243 Pass the interface name as a label, if it is not same name
244 as ifp->name.
245
pauld06b2a62005-10-11 03:53:54 +00002462005-10-11 Paul Jakma <paul.jakma@sun.com>
247
248 * connected.{c,h}: (connected_{add,delete}_ipv4) label should
249 be const qualified.
250
ajsc05612b2005-10-01 16:36:54 +00002512005-10-01 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
252
ajsf52d13c2005-10-01 17:38:06 +0000253 * zebra_vty.c: (route_type_str) Remove obsolete function: use new
254 library function zebra_route_string() instead. Note that there
255 are a few differences: for IPv6 routes, we now get "ripng" and
256 "ospf6" instead of the old behavior ("rip" and "ospf").
257 (route_type_char) Remove obsolete function: ues new library function
258 zebra_route_char() instead. Note that there is one difference:
259 the old function returned 'S' for a ZEBRA_ROUTE_SYSTEM route,
260 whereas the new one returns 'X'.
261 (vty_show_ip_route_detail,vty_show_ipv6_route_detail) Replace
262 route_type_str() with zebra_route_string().
263 (vty_show_ip_route,vty_show_ipv6_route) Replace route_type_char()
264 with zebra_route_char().
265
2662005-10-01 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
267
ajsc05612b2005-10-01 16:36:54 +0000268 * rt_netlink.c: (netlink_request) Use memset to clear structure
269 before calling sendto (eliminates a valgrind error message about
270 uninitialized data).
vincentaa2e32b2005-09-28 13:42:11 +0000271
2722005-09-28 Alain Ritoux <alain.ritoux@6wind.com>
273
vincentfbf5d032005-09-29 11:25:50 +0000274 * zserv.c: Always provied distance for route add
275
2762005-09-28 Alain Ritoux <alain.ritoux@6wind.com>
277
vincentaa2e32b2005-09-28 13:42:11 +0000278 * connected.c: flag connected_up_ipv6() and connected_down_ipv6()
279 usage with HAVE_IPV6
280
hassod24af182005-09-24 14:00:26 +00002812005-09-24 Hasso Tepper <hasso at quagga.net>
282
283 * rib.h: Add note about behaviour of rib_add_ipv[46]* functions -
284 add is treated as implicit withdraw.
285
hassoebf1ead2005-09-21 14:58:20 +00002862005-09-21 David Young <dyoung@ojctech.com>
287
288 * zebra_rib.c: Reduce the height of some staircases. Fix
289 rib_delete_ipv6() to match routes in the RIB by their gateway as
290 well as by destination.
291
paul319572c2005-09-21 12:30:08 +00002922005-09-21 Paul Jakma <paul.jakma@sun.com>
293
294 * zebra_rib.c: (static_uninstall_ipv{4,6}) Fix regression wrt
295 removal of static routes with multiple-hops introduced with
296 the workqueue conversion. We should free the relevant
297 nexthop and then get rib_process to run, otherwise we just
298 get same static route back again (with no way to unconfigure
299 it, because its already deleted from configuration).
300
paulca162182005-09-12 16:58:52 +00003012005-09-12 Paul Jakma <paul.jakma@sun.com>
302
303 * (general) RTM_CHANGE and implicit withdraw on RTM_NEWADDR
304 support.
305 * connected.c: (connected_withdraw) new function. withdraw a
306 connected subnet address set from zebra, and pass information
307 along to clients.
308 (connected_announce) similar, but to announce a new connected
309 subnet address set.
310 (connected_check_ipv4) renamed to connected_check, as its
311 AFI independent.
312 (connected_add_ipv{4,6}) Remove the connected address announce
313 stuff, use connected_announce instead.
314 If connected_check indicates address is already present,
315 treat it as an implicit withdraw of the existing address, ie
316 remove the old address details and replace with the new
317 details.
318 (connected_delete_ipv{4,6}) Use connected_withdraw.
319 (connected_check_ipv6) deleted in favour of connected_check.
320 * connected.h: Rename connected_check_ipv4 to connected_check.
321 delete connected_check_ipv6.
322 * interface.c: Use connected_check rather than the AFI specific
323 symbols.
324 * kernel_socket.c: (rtm_read) RTM_CHANGE support. Create a
325 rib delete event for the existing route, before adding route
326 again.
327 (kernel_read) we can handle RTM_CHANGE now.
328
hassobe61c4e2005-08-27 06:05:47 +00003292005-08-27 Hasso Tepper <hasso at quagga.net>
330
331 * zebra_rib.c, rib.h: Add distance and metric arguments to the
332 rib_add_ipv6() function so that IPv6 routes in RIB can have correct
333 metric. No IPv6 routing daemon uses distance yet though.
334 * zserv.c, connected.c, kernel_socket.c, rt_netlink.c,
335 rtread_proc.c,zserv.c: Pass metric and distance info to the
336 rib_add_ipv6().
337
paul6eb88272005-07-29 14:36:00 +00003382005-07-29 Paul Jakma <paul.jakma@sun.com>
339
340 * interface.c: (if_delete_update) should always be available, not
341 just on RTM_IFANNOUNCE/NETLINK systems.
342 * kernel_socket.c: (ifan_read) only call if_delete_update when
343 interface departs, dont if_delete, because we wish to retain
344 interface configuration state even when interfaces are removed.
345 (ifm_read) If we dont have RTM_IFANNOUNCE, then transitioning
346 to down state is only chance we have to clean up interface in case
347 it is deleted (eg Solaris down -> unplumb -> plumb up).
348 * redistribute.c: (zebra_interface_delete_update) should always be
349 available, we /will/ call it now on all systems, via
350 if_delete_update.
351 * zserv.c: (zsend_interface_delete) ditto
352 (zsend_interface_address) Update the call-flow diagramme, to
353 reflect that if_delete_update /is/ now called on all systems,
354 potentially.
355 * zserv.h: (zsend_interface_delete) unconditionally exported, as
356 above.
357
paula1ac18c2005-06-28 17:17:12 +00003582005-06-28 Paul Jakma <paul.jakma@sun.com>
359
360 * (global) Extern and static'ification, with related fixups
361 of declarations, ensuring files include their own headers, etc.
paulea6f82b2005-06-28 17:20:26 +0000362 * if_ioctl.c: (interface_info_ioctl) fix obvious arg mis-order in
paula1ac18c2005-06-28 17:17:12 +0000363 list loop
paulea6f82b2005-06-28 17:20:26 +0000364 * kernel_socket.c: (RTA_{ADDR,ATTR}_GET) fix mistake, NULL check
365 should be on DEST argument
paula1ac18c2005-06-28 17:17:12 +0000366
paul62debbb2005-06-14 14:07:07 +00003672005-06-14 Paul Jakma <paul.jakma@sun.com>
368
369 * kernel_socket.c: consolidate the IFAM{ADDR,MASK}GET and
370 RTM{ADDR,MASK}GET macros into generic rta_addrs macros,
371 RTA_{ADDR,ATTR}_GET.
372 (af_check) could use 'inline' attribute
373 (ifam_read_mesg) remove IFAM{ADDR,MASK}GET macro, change to
374 generic macro.
375 (rtm_read_mesg) similar
376
hasso1ada8192005-06-12 11:28:18 +00003772005-06-12 Hasso Tepper <hasso at quagga.net>
378
379 * rt_netlink.c: Remove netlink-addr socket declaration, it's not used.
380 * rt_netlink.c (netlink_parse_info): Fix debug messages - nlmsg_pid is
381 unsigned and one zlog call had swapped arguments.
382 * rt_netlink.c (netlink_route_multipath): Fix compile with disabled
383 IPv6 support.
384
paul1dcb5172005-05-31 08:38:50 +00003852005-05-31 Paul Jakma <paul.jakma@sun.com>
386
387 * zserv.c: (zsend_route_multipath) Fix bug if route is sent
388 with no NEXTHOP_FLAG_FIB nexthops. As ZAPI_MESSAGE_IFINDEX
389 and ZAPI_MESSAGE_NEXTHOP are always set, clients would try
390 read non-existent nexthop information and hit stream assert.
391 Zserv is still broken for multi-nexthop messages, but it always was.
392
paul69e10ad2005-05-06 21:27:33 +00003932005-05-06 Paul Jakma <paul.jakma@sun.com>
394
395 * zserv.h: Remove ZEBRA_PORT definition, its in lib/zebra.h now
396
paul4d38fdb2005-04-28 17:35:14 +00003972005-04-28 Paul Jakma <paul.jakma@sun.com>
398
399 * rib.h: (struct rib) Add lock field for refcounting.
400 * zserv.h: (struct zebra_t) Add a ribq workqueue to the zebra
401 'master' struct.
402 * zserv.c: (zread_ipv4_add) XMALLOC then memset should be XCALLOC.
403 * zebra_rib.c: Clean up refcounting of route_node, make struct rib
404 refcounted and convert rib_process to work-queue. In general,
405 rib's should be rib_addnode'd and delnode'd to route_nodes, and
406 these symmetrical functions will manage the locking of referenced
407 route_node and freeing of struct rib - rather than having users
408 manage each seperately - with much scope for bugs..
409 (newrib_free) removed and replaced with rib_lock
410 (rib_lock) new function, check state of lock and increment.
411 (rib_unlock) new function, check lock state and decrement. Free
412 struct rib if refcount hits 0, freeing struct nexthop's, as
413 newrib_free did.
414 (rib_addnode) Add RIB to route_node, locking both.
415 (rib_delnode) Delete RIB from route_node, unlocking each.
416 (rib_process) Converted to a work-queue work function.
417 Functional changes are minimal, just arguments, comments and
418 whitespace.
419 (rib_queue_add_qnode) Helper function to setup a ribq item.
420 (rib_queue_add) Helper function, same arguments as old
421 rib_process, to replace in callers of rib_process.
422 (rib_queue_qnode_del) ribq deconstructor.
423 (rib_queue_init) Create the ribq.
424 (rib_init) call rib_queue_init.
425 (remainder) Sanitise refcounting of route_node's. Convert to
426 rib_queue_add, rib_addnode and rib_delnode. Change XMALLOC/memset
427 to XCALLOC. Remove calls to nexthop_delete and nexthop_free.
428
paulcf460ef2005-04-10 16:54:26 +00004292005-04-10 Paul Jakma <paul@dishone.st>
430
431 * if_ioctl_solaris.c: (if_lookup_linklocal) fix order of args
432 in ALL_LIST_ELEMENTS_RO macro.
433
ajs57a14772005-04-10 15:01:56 +00004342005-04-10 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
435
436 * zserv.c (zebra_client_read): Fix bug: first read attempt should
437 read ZEBRA_HEADER_SIZE minus the number of bytes already read.
438 Improve efficiency by maintaining a calculation of the number
439 of bytes read instead of calling stream_get_endp multiple times.
440 If message length is too small, issue a warning message (not debug)
441 before closing the connection. And also check that message length
442 is not too big.
443
hasso206d8052005-04-09 16:38:51 +00004442005-04-09 Hasso Tepper <hasso at quagga.net>
445
hassofa599802005-04-09 16:59:28 +0000446 * rt_netlink.c: One tiny missing comma caused pointless debug messages
447 about IPv6 nexthops.
448
4492005-04-09 Hasso Tepper <hasso at quagga.net>
450
hasso206d8052005-04-09 16:38:51 +0000451 * rt_netlink.c (netlink_parse_info): Fix warning. It's safe to cast
452 status to unsigned here, because we already checked that it isn't
453 negative or 0.
454 * rt_netlink.c (netlink_interface_addr): Prefix length belongs to the
455 address, not to the interface.
456 * rt_netlink.c (netlink_route_multipath): Fix debug. No useless info
457 is printed out now and IPv6 info is handeled.
458
paul3d1dc852005-04-05 00:45:23 +00004592005-04-05 Paul Jakma <paul@dishone.st>
460
461 * zserv.c: print more helpful errors when we fail to successfully
462 bind and listen on zserv socket. Closes bugzilla #163.
463
ajsd2fc8892005-04-02 18:38:43 +00004642005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
465
ajs08dbfb62005-04-03 03:40:52 +0000466 * if_ioctl.c: (interface_list_ioctl) Use if_get_by_name_len.
467 * if_proc.c: (ifaddr_proc_ipv6) Increase size of ifname buffer to
468 avoid overflow.
469 * kernel_socket.c: (ifan_read) Use if_get_by_name_len.
470
4712005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
472
ajsa3491982005-04-02 22:50:38 +0000473 * kernel_socket.c: (ifm_read) Use new if_lookup_by_name_len function
474 to save a memcpy.
475 * if_ioctl_solaris.c: (interface_list_ioctl) Fix subtle bug with new
476 if_get_by_name_len function.
477
4782005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
479
ajsd2fc8892005-04-02 18:38:43 +0000480 * interface.c: (if_new_intern_ifindex) Remove obsolete function.
481 (if_delete_update) After distributing the interface deletion message,
482 set ifp->ifindex to IFINDEX_INTERNAL.
483 (if_dump_vty) Detect pseudo interface by checking if ifp->ifindex is
484 IFINDEX_INTERNAL.
485 (zebra_interface) Check return code from interface_cmd.func.
486 Do not set internal ifindex values to if_new_intern_ifindex(),
487 since we now use IFINDEX_INTERNAL for all pseudo interfaces.
488 * kernel_socket.c: (ifm_read) Fix code and comments to reflect that
489 all internal interfaces now have ifp->ifindex set to IFINDEX_INTERNAL.
490 * rt_netlink.c: (set_ifindex) New function used to update ifp->ifindex.
491 Detects interface rename events by checking if that ifindex is already
492 being used. If it is, delete the old interface before assigning
493 the ifindex to the new interface.
494 (netlink_interface, netlink_link_change) Call set_ifindex to update
495 the ifindex.
496
hassob7ed1ec2005-03-31 20:13:49 +00004972005-03-31 Hasso Tepper <hasso at quagga.net>
498
499 * rt_netlink.c (netlink_talk_filter): Show always warning message,
500 it's not for debug.
501 * rt_netlink.c (netlink_talk): Don't assume we use netlink_cmd
502 although we do now actually.
503 * rt_netlink.c (netlink_route, netlink_route_multipath): Always use
504 netlink_cmd to send messages to the kernel.
505
ajs2da40f42005-03-30 16:33:13 +00005062005-03-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
507
508 * irdp.h: Add prototype for irdp_sock_init, and fix protos for
509 other irdp_* functions.
510 * irdp_interface.c: (irdp_if_start) If irdp_sock is negative,
511 call irdp_sock_init to create the IRDP socket.
512 (irdp_if_init) Rename to irdp_init().
513 (get_iflist_ifp) Remove function that is a duplicate of
514 if_lookup_by_index.
515 (*) Make many functions static. And remove superfluous "\n" from
516 several zlog messages.
517 * irdp_main.c: (irdp_init) Remove function that used to call
518 irdp_if_init() and irdp_sock_init(), since we will now create
519 the socket only upon first use.
520 (irdp_sock_init) Do not update global irdp_sock variable, just
521 return the fd and assume that the caller will do so. If setsockopt
522 calls fail, close the socket before returning -1.
523 (*) Make many functions static.
524 * irdp_packet.c: Initialize irdp_sock to -1.
525 (irdp_read_raw) Call standard library function if_lookup_by_index
526 instead of get_iflist_ifp.
527 (irdp_recvmsg) Should be static, not global.
528
ajsa608bbf2005-03-29 17:03:49 +00005292005-03-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
530
531 * rt_netlink.c: (netlink_link_change) If the status of an
532 operative interface changes (e.g. MTU changes), the client
533 daemons should be notified by calling zebra_interface_up_update.
534 Previously, the information was being updated in zebra's
535 interface structure, but the clients were not notified of
536 changes to an operative interface.
537
vincent7cee1bb2005-03-25 13:08:53 +00005382005-03-25 Jean-Mickael Guerin <jean-mickael.guerin@6wind.com>
539 * interface.c, interface.h, rtadv.c, rtadv.h: modifications to
540 IPv6 Neighbor Discovery according to RFC3775, section 7:
541 o 1-bit Home Agent flag management in Router Advertisement (7.1).
542 o 1-bit Router Address flag management in Prefix Information
543 Option (7.2).
544 o Advertisement Interval Option (7.3)
545 o Home Agent Information Option (7.4)
546 o Changes to Sending Router Advertisements more frequently (7.5)
547
hassoed9bb6d2005-03-13 19:17:21 +00005482005-03-13 Hasso Tepper <hasso at quagga.net>
549
550 * zebra/interaface.c: "show interface description" command
551 implemented.
552
paulc1f01f32005-03-12 06:33:14 +00005532005-03-12 Paul Jakma <paul@dishone.st>
554
555 * rt_netlink.c: (netlink_route_multipath) dont set equalise flag.
556 No stock Linux kernel has ever supported it, and even if it had
557 it's not generally a good idea.
558
hasso42a66d72005-03-07 08:19:44 +00005592005-03-07 Michael Sandee <voidptr@voidptr.sboost.org>
560
561 * if_proc.c, ipforward_proc.c, rtread_proc.c: Fix fd leaks.
562
hasso3452d472005-03-06 13:42:05 +00005632005-03-06 Hasso Tepper <hasso at quagga.net>
564
565 * interface.c: Fix CRC and frame errors statistics in Linux.
566
ajs719e9742005-02-28 20:52:15 +00005672005-02-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
568
569 * zserv.c: Must include network.h and buffer.h for non-blocking I/O.
570 Remove global message_queue and t_write (need separate buffering for
571 each client).
572 (zebra_server_dequeue,zebra_server_enqueue) Remove functions
573 related to old buggy buffering code.
574 (zserv_delayed_close) New thread callback function to delete a client.
575 (zserv_flush_data) New thread callback function to flush buffered
576 data to client.
577 (zebra_server_send_message) Rewritten to use buffer_write (so
578 buffering of writes and non-blocking I/O work properly).
579 (zsend_interface_add,zsend_interface_delete,zsend_interface_address,
580 zsend_interface_update) Return 0 instead of -1 if !client->ifinfo
581 (this is not really an error). Return value from
582 zebra_server_send_message.
583 (zsend_route_multipath,zsend_ipv4_nexthop_lookup,
584 zsend_ipv4_import_lookup) Return value from zebra_server_send_message.
585 (zsend_ipv6_nexthop_lookup) Fix scope to static, and return value
586 from zebra_server_send_message.
587 (zsend_router_id_update) Must use zebra_server_send_message instead
588 of deprecated writen function. Return 0 instead of -1 if this client
589 is not subscribed to router-id updates (since this is not really
590 an error).
591 (zread_interface_add) Change type to static int. If
592 zsend_interface_add fails or zsend_interface_address fails, return -1
593 immediately (since the client has had an I/O error).
594 (zread_interface_delete,zread_ipv4_add,zread_ipv4_delete,
595 zread_ipv6_add,zread_ipv6_delete,zread_router_id_delete) Return 0
596 to indicate success.
597 (zread_ipv4_nexthop_lookup) Return value from
598 zsend_ipv4_nexthop_lookup.
599 (zread_ipv4_import_lookup) Return value from zsend_ipv4_import_lookup.
600 (zebra_read_ipv6) Remove unused function.
601 (zread_ipv6_nexthop_lookup) Return value from
602 zsend_ipv6_nexthop_lookup.
603 (zread_router_id_add) Return value from zsend_router_id_update.
604 (zebra_client_close) Call buffer_free(client->wb) and
605 thread_cancel(client->t_suicide).
606 (zebra_client_create) Allocate client->wb using buffer_new.
607 (zebra_client_read) Support non-blocking I/O by using stream_read_try.
608 Use ZEBRA_HEADER_SIZE instead of 3.
609 (zebra_accept) Fix bug: reset accept thread at top. Make client
610 socket non-blocking using the set_nonblocking function.
611 (config_write_forwarding) Fix scope to static.
612 (zebra_init) Remove initialization code for old buggy write buffering.
613 * zserv.h: Add 2 new fields to struct zserv: struct buffer *wb
614 (to enable buffered writes with non-blocking I/), and
615 struct thread *t_suicide to support delayed close on I/O
616 errors.
617 * router-id.h: Remove prototypes for zread_router_id_add and
618 zread_router_id_delete (their scope should be static to zserv.c).
619
ajs27da3982005-02-24 16:06:33 +00006202005-02-24 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
621
622 * redistribute.c: (zebra_check_addr,is_default,
623 zebra_redistribute_default,zebra_redistribute) Fix scope to be static.
624
hassoe8274dc2005-02-20 19:09:23 +00006252005-02-20 Hasso Tepper <hasso at quagga.net>
626
627 * rt_netlink.c: Don't show messages "ignoring message type 0x001[89]"
628 if we are not debugging.
629
paule31f2292005-02-19 02:00:26 +00006302005-02-19 Paul Jakma <paul@dishone.st>
631
632 * zserv.c: (zebra_read_ipv6) replace the char * arithmetic with
633 STREAM_READABLE.
634
paul1e193152005-02-14 23:53:05 +00006352005-02-14 Paul Jakma <paul@dishone.st>
636
637 * Not all Linux netlink systems have IFLA_WIRELESS
638
ajs6a52d0d2005-01-30 18:49:28 +00006392005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
640
641 * ioctl.c: (if_ioctl,if_ioctl_ipv6,if_get_flags) Replace perror with
642 zlog_err.
643 * ioctl_solaris.c: (if_ioctl,if_ioctl_ipv6) Replace perror with
644 zlog_err.
645
ajs4be019d2005-01-29 16:12:41 +00006462005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
647
ajs4460e7a2005-01-29 17:07:40 +0000648 * if_ioctl_solaris.c: (interface_list_ioctl) Save errno before calling
649 zserv_privs.change.
650 * ioctl{,_solaris}.c: (if_ioctl,if_ioctl_ipv6) Save errno before calling
651 zserv_privs.change.
652 * ipforward_solaris.c: (solaris_nd) Save errno before calling
653 zserv_privs.change.
654 * irdp_main.c: (irdp_sock_init) Save errno before calling
655 zserv_privs.change.
656
6572005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
658
ajs4be019d2005-01-29 16:12:41 +0000659 * rt_netlink.c: (netlink_socket,netlink_request,netlink_parse_info,
660 netlink_talk) Save errno before calling zserv_privs.change.
661
paulc15cb242005-01-24 09:05:27 +00006622005-01-24 Martin Pot <mpot at martybugs.net>
663
664 * zebra/rt_netlink.c: ignore wireless newlink netlink messages.
665
hasso6f2c27a2005-01-18 13:44:35 +00006662005-01-18 Hasso Tepper <hasso at quagga.net>
667
668 * interface.c: Better statistics output in "show interface" command in
669 case of /proc being used.
670
hasso583d8002005-01-16 23:34:02 +00006712005-01-17 Hasso Tepper <hasso at quagga.net>
672
673 * main.c: With --nl-bufsize argument is required.
674
paul865b8522005-01-05 08:30:35 +00006752005-01-05 Paul Jakma <paul@dishone.st>
676
677 * zserv.c: (zebra_accept) Comment out setting of socket to NONBLOCK
678 for now, as we dont actually deal with with resending.... See
679 bugzilla #122, fix from wawa@yandex-team.ru (Vladimir Ivanov).
680 * kernel_socket.c: (routing_socket) ditto.
681
ajsb99760a2005-01-04 16:24:43 +00006822005-01-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
683
684 * rtadv.c: (rtadv_recv_packet,rtadv_send_packet) Use ZCMSG_FIRSTHDR
685 instead of CMSG_FIRSTHDR.
686
ajs341a8f12004-12-22 16:32:16 +00006872004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
688
689 * connected.c: (connected_add_ipv4) Limit warning about /32 addresses
690 with no peer specified to PtP interfaces only.
691
hassob8adec12004-12-18 16:03:28 +00006922004-12-18 Hasso Tepper <hasso at quagga.net>
693
694 * zebra_vty.c: Fix "show ipv6 route <proto>" command help and make it
695 work for isis routes.
696
gdt6a250b02004-12-09 14:48:12 +00006972004-12-09 Greg Troxel <gdt@fnord.ir.bbn.com>
698
699 * kernel_socket.c (rtmsg_debug): char * => const char *
700
ajs274a4a42004-12-07 15:39:31 +00007012004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
702
ajsb6178002004-12-07 21:12:56 +0000703 * *.c: Change level of debug messages to LOG_DEBUG.
704
7052004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
706
ajs274a4a42004-12-07 15:39:31 +0000707 * main.c: (main) The 2nd argument to openzlog has been removed.
708 So stdout logging will no longer be enabled by default.
709 * irdp_main.c: (irdp_finish) Reduce severity of shutdown message
710 from LOG_WARNING to LOG_INFO.
711
ajs887c44a2004-12-03 16:36:46 +00007122004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
713
714 * main.c: (sigint) Use zlog_notice for termination message.
715 (main) Add a startup announcement using zlog_notice.
716
hassoaccb1562004-11-25 19:21:07 +00007172004-11-25 Hasso Tepper <hasso at quagga.net>
718
719 * irdp_interface.c: Remove comment from DEFUN, it breaks vtysh because
720 it confuses extract.pl.
hassoc0652302004-11-25 19:33:48 +0000721 * main.c: Make group to run as configurable.
hassoaccb1562004-11-25 19:21:07 +0000722
hasso6bd7c6a2004-10-28 17:32:27 +00007232004-10-28 Hasso Tepper <hasso at quagga.net>
724
725 * interface.c: Remove dead "ip tunnel" command.
726
paul06f953f2004-10-22 17:00:38 +00007272004-10-22 Paul Jakma <paul@dishone.st>
728
729 * irdp_main.c: change setsockopt_pktinfo to setsockopt_ifindex
730
hasso3fb9cd62004-10-19 19:44:43 +00007312004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
732
733 * rt_netlink.c: (netlink_interface_addr) For PtP interfaces, ignore
734 tb[IFA_ADDRESS] if it's the same as tb[IFA_LOCAL].
735 * interface.c: (ip_address_install) Use new ipv4_broadcast_addr
736 function.
737 * connected.c: (connected_up_ipv4) Use CONNECTED_POINTOPOINT_HOST
738 macro.
739 (connected_down_ipv4) ditto.
740 (connected_add_ipv4) Validate destination address, print warnings
741 if it does not make sense.
742
hassoc1eaa442004-10-19 06:26:01 +00007432004-10-19 Hasso Tepper <hasso at quagga.net>
744
745 * zserv.c: Fix regression introduced with zserv cleanup.
746
hassoc75105a2004-10-13 10:33:26 +00007472004-10-13 Hasso Tepper <hasso at quagga.net>
748
749 * zebra_snmp.c: Remove defaults used to initialize smux connection to
750 snmpd. Connection is initialized only if smux peer is configured.
hassob71f00f2004-10-13 12:20:35 +0000751 * zserv.c: Remove useless warnings "forwarding is already on".
hassoc75105a2004-10-13 10:33:26 +0000752
hasso39ff11d2004-10-12 15:55:19 +00007532004-10-12 Hasso Tepper <hasso at quagga.net>
754
755 * zebra_vty.c: Unbreak "show ip route" command help and make it work
756 for isis routes.
hasso39db97e2004-10-12 20:50:58 +0000757 * interface.c(if_dump_vty): Show IPv6 addresses in "show interface"
758 output. Fixes Bugzilla #119.
759 * *.c: Make some strings const and some (unsigned) casts to fix
760 compiler warnings.
hasso39ff11d2004-10-12 15:55:19 +0000761
hassofce954f2004-10-07 20:29:24 +00007622004-10-07 Hasso Tepper <hasso at quagga.net>
763
764 * connected.c, main.c, rt_netlink.c, rtadv.c, zebra_rib.c, zserv.c:
765 Fix warnings: make strings const, signed -> unsigned.
766
paul72164662004-10-05 14:39:43 +00007672004-10-05 Paul Jakma <paul@dishone.st>
768
769 * irdp_packet.c: (parse_irdp_packet) style issues.
770 Use sockopt_iphdrincl_swab_systoh.
771 Try unbork the code. Checksum the ICMP data and actually
772 compare it to received checksum. Check data length against
773 claimed length in header.
774 Always use ntoh.. when accessing addresses, even when the
775 comparison happens to be endian-safe.
776 (send_packet) minor style isues. Use
777 sockopt_iphdrincl_swab_htosys.
778 (irdp_iph_hton/ntoh) IP header to/from network/host order.
779
hassoeef1fe12004-10-03 18:46:08 +00007802004-10-03 Gilad Arnold <gilad.arnold at terayon.com>
781
782 * interface.c, interface.h: A new prefix tree of connected subnets is
783 associated with each interface structure in zebra, in which each
784 live (ie, non-synthetic) node holds a list of installed addresses
785 that belong to that prefix. Remove secondary address logic from cli.
786 See [quagga-dev 872] for detailed explanation.
787 * connected.c: Use if_subnet_add() and if_subnet_delete().
788
hasso18a6dce2004-10-03 18:18:34 +00007892004-10-03 James R. Leu <jleu at mindspring.com>
790
791 * router-id.c, router-id.h: New files. Router id selection process. If
792 there is non 127.x.x.x address in loopack interface, lowest of them
793 is chosen. If there isn't, lowest from other interfaces addresses
794 are chosen. "router-id x.x.x.x" vty command to manual override.
795 * Makefile.am: Compile new files.
796 * main.c: Initialize router id.
797 * redistribute.c: Add interface addresses into router id selection
798 lists as they (dis)appear.
799 * zserv.c, zserv.h: Sending router id related messages to daemons.
800
hassoc9e52be2004-09-26 16:09:34 +00008012004-09-26 Hasso Tepper <hasso at quagga.net>
802
803 * irdp_interface.c, irdp_main.c, irdp_packet.c, rt_netlink.c,
804 rtadv.c, zebra_vty.c: Fix compiler warnings.
805
paul0c0f9112004-09-24 08:24:42 +00008062004-09-24 Paul Jakma <paul@dishone.st>
807
paul26f7a242004-09-24 08:45:10 +0000808 * irdp_interface.c: (no_ip_irdp_address_preference_cmd)
809 add missing listnode declaration.
810
8112004-09-24 Paul Jakma <paul@dishone.st>
812
paul0c0f9112004-09-24 08:24:42 +0000813 * irdp_{interface,main}.c: lists typedef removal cleanup.
814 update some list loops to LIST_LOOP. some miscellaneous style
815 and indent fixups.
816 (no_ip_irdp_address_preference_cmd) Fix delete of referenced node
paul26f7a242004-09-24 08:45:10 +0000817 in loop.
paul0c0f9112004-09-24 08:24:42 +0000818 * irdp_packet.c: (irdp_recvmsg) Fix buggy assignment of integer
819 to pointer.
820 * if_ioctl{,_solaris}.c: lists typedef removal cleanup.
821 update some list loops to LIST_LOOP.
822
hasso52dc7ee2004-09-23 19:18:23 +00008232004-09-23 Hasso Tepper <hasso at quagga.net>
824
825 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
826
paul44983cf2004-09-22 13:15:58 +00008272004-09-22 Paul Jakma <paul.jakma@sun.com>
828
829 * zserv.c: (zsend_route_multipath) fix nasty bad memset of struct
830 in_addr to sizeof(struct in6_addr), causing odd and hard to debug
831 crash.
832
hassoc34b6b52004-08-31 13:41:49 +00008332004-08-31 Hasso Tepper <hasso at quagga.net>
834
835 * main.c, rt_netlink.c: Added -s command line switch for tuning
836 netlink receive buffer size in Linux to avoid buffer overruns.
837
gdta5ea6872004-08-26 13:24:00 +00008382004-08-26 Miles Nordin <carton@Ivy.NET>
839
840 * ipforward_sysctl.c (mib_ipv6): Use size_t for len, per
841 sysctl(3), rather than int. (Needed on NetBSD/alpha to display
842 forwarding status correctly.)
843
paul3e0b3a52004-08-23 18:58:32 +00008442004-08-23 Paul Jakma <paul@dishone.st>
845
846 * zserv.c: (zebra_init) remove implicit ip forward enabling
847
paul0de1cde2004-08-19 04:45:33 +00008482004-08-19 Paul Jakma <paul@dishone.st>
849
850 * irdp_main.c: update to match sockopt renames.
851 * irdp_packet.c: include sockopt.h and update to match sockopt
852 renames.
853
gdt57492d52004-08-11 18:06:38 +00008542004-08-11 Greg Troxel <gdt@fnord.ir.bbn.com>
855
856 * rtadv.c (rtadv_send_packet): Allocate space for control messages
857 more carefully; it was wrong on NetBSD/sparc where CMSG alignment
858 is to 8 bytes instead of 4, and overwriting the address. Use the
859 provided macros for determining lengths.
860
paul5b73a672004-07-23 15:26:14 +00008612004-07-23 Sowmini Varadhan <Sowmini.Varadhan@Sun.COM>
862
863 * if_ioctl_solaris.c: HAVE_IPV6 ifdef fixups
864 * zserv.c: ditto
865 * ioctl_solaris.c: ditto.
866 * interface.c: cast for LLADDR
867 * interface.h: Add guards, include redistribute.h and remove
868 extraneous definitions of zebra_interface_{up,down}_update
869 * ioctl.h: Add AF_IOCTL define for non SOLARIS_IPV6
870 * redistribute.h: include dependent header, zserv.h
871 * zserv.h: include dependent header, rib.h
872
paul1470baf2004-07-23 15:25:01 +00008732004-07-23 Paul Jakma <paul@dishone.st>
874
875 * irdp_main.c: use setsockopt_pktinfo_ipv4
876 * irdp_packet.c: use SOPT_SIZE_CMSG_PKTINFO_IPV4 and
877 getsockopt_pktinfo_ifindex()
878
gdtcced60d2004-07-13 16:45:54 +00008792004-07-13 David Wiggins <dwiggins@bbn.com
880
881 * kernel_socket.c (rtm_flag_dump): terminate buffer with '\0', not '0'.
882
hasso25dac852004-07-13 03:06:51 +00008832004-07-13 Hasso Tepper <hasso@estpak.ee>
884
885 * irdp_main.c: Add privilege change.
886
hasso996933f2004-07-12 16:32:56 +00008872004-07-12 Hasso Tepper <hasso@estpak.ee>
888
889 * irdp_interface.c: follow common style while naming vty command
890 functions. Avoids confusion in extract.pl.
891
gdt87efd642004-06-30 17:36:11 +00008922004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
893
894 * main.c: define thread_master variable so that linking with
895 libzebra.so doesn't fail. Arguably zclient.o should be in a
896 separate library, but this is far less disruptive.
897
hassoca776982004-06-12 14:33:05 +00008982004-06-12 Robert Olsson <Robert.Olsson at data.slu.se>
899
900 * Added IRDP support.
901
hasso3e31cde2004-05-18 11:58:59 +00009022004-05-18 Hasso Tepper <hasso@estpak.ee>
903
904 * rtadv.c: Removed "[no] ipv6 nd send-ra" command. Replaced "ipv6 nd
905 prefix-advertisement" with "ipv6 nd prefix". Rewrite syntax of
906 "ipv6 nd prefix" command to allow various combinations of parameters
907 and flags. No defaults in configuration. Replaced on-link and
908 autoconfig with off-link and no-autoconfig flags in command syntax.
909 Cosmetic fixes in all commands. Documentation to reflect all changes.
910
paul19877dd2004-05-11 10:49:35 +00009112004-05-11 Paul Jakma <paul@dishone.st>
912
913 * Makefile.am: support for IOCTL_METHOD, as per Sowmini's patch.
paul48a46fa2004-05-11 10:55:22 +0000914 * if_ioctl_solaris.c: Fixup some erroneous privilege changes and
915 add privs.h header.
916 * ioctl_solaris.c: ditto
paulc50ae8b2004-05-11 11:31:07 +0000917 * ioctl.h: Add if_ioctl_ipv6 prototype and AF_IOCTL for SOLARIS_IPV6
918 * kernel_socket.c: Fix SAROUNDUP, compiler doesnt like do..while
919 RHS in assignments :)
920 * redistribute.c: (zebra_interface_delete_update) only used
921 if RTM_IFANNOUNCE and NETLINK is available.
922
paulb9df2d22004-05-09 09:09:59 +00009232004-05-09 Paul Jakma <paul@dishone.st>
924
925 * zserv.c: (zsend_route_multipath) Set the nexthop_num
926 field correctly. Add NEXTHOP_TYPE_IPV6_IFNAME for v6.
927 Conditionally set ZAPI_MESSAGE_METRIC flag - only for adds.
928 (zsend_ipv4_add) cruft, deleted.
929 (zsend_ipv4_delete) ditto.
930 (zsend_ipv6_add) ditto.
931 (zsend_ipv6_delete) ditto.
paul44145db2004-05-09 11:00:23 +0000932 * ioctl.c: (if_get_mtu) set mtu6 to mtu
933 * mtu_kvm.c: (if_kvm_get_mtu) set mtu6 to mtu
934 * rt_netlink.c: (netlink_interface) set mtu6 to mtu
935 (netlink_link_change) ditto
paul66e94882004-05-09 17:19:24 +0000936 * ipforward_solaris.c: fix typo of ND variable.
paul88424682004-05-09 18:21:35 +0000937 * if_ioctl_solaris.c: Add zprivs support.
938 * ioctl_solaris.c: ditto.
paul66e94882004-05-09 17:19:24 +0000939
paulb9df2d22004-05-09 09:09:59 +00009402004-05-09 Sowmini Varadhan <sowmini.varadhan@sun.com>
941
942 * zserv.c: (zsend_ipv{4,6}_{add,delete}_multipath) collapsed
943 into single zsend_route_multipath function.
944 (zsend_interface_{up,down}) collapsed into zsend_interface_update.
945 (zsend_interface_address_{add,delete}) collapsed into
946 zsend_interface_address.
947 (zsend_interface_add) send mtu6.
948 (zsend_interface_delete) ditto.
949 (zebra_write) remove unused function.
950 (various) Apply static qualifier. Add comments.
951 * zserv.h: Definitions changed as per above.
952 * redistribute.c: Changes as per zserv.c.
paul44145db2004-05-09 11:00:23 +0000953 * interface.c: (if_delete_update) only used with HAVE_NETLINK
954 and RTM_IFANNOUNCE.
955 (if_flag_dump_vty) Solaris IFF_IPV4 and IFF_IPV6 if flags
956 (if_dump_vty) print mtu6 if not same as mtu
paul88424682004-05-09 18:21:35 +0000957 * if_ioctl_solaris.c: New file, Solaris interface ioctl methods.
958 * ioctl_solaris.c: New file, Common solaris ioctl methods.
959
hasso34195bf2004-04-06 12:07:06 +00009602004-04-06 Krzysztof Oledzki <oleq@ans.pl>
961
962 * rt_netlink.c: Do not ignore metric when reading kernel routing
963 table on Linux with rt_netlink interface.
964
9652004-03-18 Hasso Tepper <hasso@estpak.ee>
hassof1d92e12004-03-18 15:40:33 +0000966
967 * interface.c: Temporary fix for handling secondary addresses
968 with label.
969
hasso55906722004-02-11 22:42:16 +00009702004-02-12 Hasso Tepper <hasso@estpak.ee>
hassof1d92e12004-03-18 15:40:33 +0000971
hasso55906722004-02-11 22:42:16 +0000972 * zserv.c: Added "ipv6 forwarding" command.
973
gdtb27900b2004-01-08 15:44:29 +00009742004-01-08 Greg Troxel <gdt@fnord.ir.bbn.com>
975
976 * kernel_socket.c (kernel_read): Use sockaddr_storage in buffer
977 for reading kernel messages to ensure enough space (necessary on
978 Solaris due to sockaddr_dl being large). Thanks to Sowmini
979 Varadhan for help with this change.
980
gdt9ccabd12004-01-06 18:23:02 +00009812004-01-06 Greg Troxel <gdt@t1.ir.bbn.com>
982
983 * rtadv.c (rtadv_send_packet): Change perror to zlog_err.
984
gdtdbee01f2004-01-06 00:36:51 +00009852004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
gdt4bfbea82004-01-06 01:13:05 +0000986 * kernel_socket.c (ifm_read): Major cleanup. Use Sowmini's code
987 to find the sockaddr_dl in all cases, narrowing the Solaris ifdef
988 to just the accomodation of broken kernels. Check sockaddr_dl
989 carefully up front, and later assume any non-NULL sdl pointer is
990 valid. Clean up types and variable declarations, and rename
991 WRAPUP to SAROUNDUP to make the name fit the behavior.
992
9932004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
gdtdbee01f2004-01-06 00:36:51 +0000994
995 * kernel_socket.c (kernel_read): Add a sockaddr_dl to the ifmsg
996 structure, because on Solaris sockaddr_dl is far larger than the
997 base sockaddr structure. (The code had previously been failing to
998 read all the data.)
gdt4bfbea82004-01-06 01:13:05 +0000999
gdtda26e3b2004-01-05 17:20:59 +000010002004-01-05 Greg Troxel <gdt@ahi.ir.bbn.com>
1001
1002 * kernel_socket.c (kernel_read): Look up interfaces by index
1003 first, so that state changes which do not include a sockaddr_dl
1004 now work. Add many sanity checks. In
1005 particular, do not assume that a sockaddr_dl follows a message
1006 without checking the ifm_addrs flags, and do not trust the length
1007 in a sockaddr_dl. Add/clarify many comments.
1008
gdt4b5e1352003-12-03 17:54:34 +000010092003-12-03 Greg Troxel <gdt@poblano.ir.bbn.com>
1010
1011 * rtadv.c: reorder includes to avoid compiler warning (define
1012 structs before using them in prototypes)
1013
hasso647e4f12003-05-25 11:43:52 +000010142003-05-25 Jim Crumpler <Jim.Crumpler@edion.com>
1015
1016 * zserv.c: Add "ip forwarding" command.
1017
paul445f1432003-05-16 19:00:31 +000010182003-05-16 Gilad Arnold <gilad.arnold@terayon.com>
1019
1020 * zebra_rib.c: Fix memory leaks for ifname nexthops
1021
10222003-04-19 Israel Keys <ikeys@agile.tv>
1023
1024 * rt_netlink.c: BLOCK on netlink while initialising
1025
10262003-02-06 Francois Deppierraz <francois@ctrlaltdel.ch>
1027
1028 * rt_netlink.c (netlink_route_multipath): Set RTM_F_EQUALIZE when
1029 it exists.
1030
paul718e3742002-12-13 20:15:29 +000010312002-09-28 Akihiro Mizutani <mizutani@net-chef.net>
1032
1033 * zebra_rib.c (static_add_ipv4): Null0 static route is added.
1034
10352002-09-10 Jochen Friedrich <chris+zebra@scram.de>
1036
1037 * rt_netlink.c: Add check for EAGAIN.
1038 * kernel_socket.c: Likewise
1039
10402002-06-12 Israel Keys <ikeys@oz.agile.tv>
1041
1042 * rt_netlink.c: Setting the NLM_F_ACK flag on the netlink command
1043 message so that we get an ACK for successful netlink commands.
1044 Change the netlink socket to BLOCKING while we wait for a
1045 response; be it an ACK or an NLMSG_ERROR. Change
1046 netlink_parse_info to deal with ACK messages.
1047
10482001-11-01 Jun-ichiro itojun Hagino <itojun@iijlab.net>
1049
1050 * rtadv.c (rtadv_make_socket): setsockopt(IPV6_CHECKSUM) does not
1051 work for ICMPv6 socket.
1052
10532001-10-24 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
1054
1055 * rib.c (rib_process): Select connected route any case.
1056
10572001-10-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
1058
1059 * interface.c (no_ip_address_secondary): Add "no" to command.
1060
10612001-10-18 NOGUCHI Kay <kay@v6.access.co.jp>
1062
1063 * ioctl.c (if_prefix_add_ipv6): Set the prefered and valid lifetime
1064 to infinity as the freebsd4.4 workaroud.
1065
10662001-08-26 mihail.balikov@interbgc.com
1067
1068 * zebra_snmp.c: Fix snmpwalk problem such as IPv4 address
1069 A.B.C.255.
1070
10712001-08-22 NOGUCHI Kay <kay@v6.access.co.jp>
1072
1073 * rtadv.c: Do not send RA to loopback interface.
1074
10752001-08-20 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
1076
1077 * ioctl.c (if_set_prefix): Remove Linux 2.0 specific connected
1078 route treatment.
1079
10802001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
1081
1082 * zebra-0.92a released.
1083
10842001-08-17 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
1085
1086 * rib.c: Kernel route is treated as EGP routes in nexthop active
1087 check.
1088
10892001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
1090
1091 * zebra-0.92 released.
1092
10932001-08-08 "Akihiro Mizutani" <mizutani@dml.com>
1094
1095 * rib.c (show_ip_route_prefix_longer): Add longer-prefix option to
1096 show route commands.
1097
10982001-07-29 Yon Uriarte <havanna_moon@gmx.net>
1099
1100 * zserv.c (zsend_ipv4_add_multipath): Add
1101 NEXTHOP_TYPE_IPV4_IFINDEX check.
1102
11032001-07-29 NOGUCHI Kay <kay@v6.access.co.jp>
1104
1105 * rtadv.c: Apply valid lifetime, preferred lifetime, onilnk flag,
1106 autonomous address-configuration flag patch.
1107 (no_ipv6_nd_suppress_ra): Change "ipv6 nd send-ra" to "no ipv6 nd
1108 suppress-ra".
1109
11102001-07-24 NOGUCHI Kay <kay@v6.access.co.jp>
1111
1112 * rtadv.c (ipv6_nd_ra_interval): Add "ipv6 nd ra-interval SECONDS"
1113 command.
1114
11152001-07-24 Jun-ichiro itojun Hagino <itojun@iijlab.net>
1116
1117 * rt_socket.c (kernel_rtm_ipv4): Add KAME/NetBSD151 equal cost
1118 multicast FIB support both IPv4 and IPv6.
1119
11202001-07-24 Hal Snyder <hal@vailsys.com>
1121
1122 * if_ioctl.c (interface_list_ioctl): Fix bug of failing to get the
1123 full list of interfaces on some configurations of OpenBSD.
1124
11252001-07-23 NOGUCHI Kay <kay@v6.access.co.jp>
1126
1127 * rtadv.c (ipv6_nd_send_ra): Apply [zebra 9320] to fix "ipv6 nd
1128 send-ra" bug.
1129 (ipv6_nd_ra_lifetime): "ipv6 nd ra-lifetime 0" for default router
1130 availability.
1131 (ipv6_nd_managed_config_flag): "ipv6 nd managed-config-flag" is
1132 added.
1133 (ipv6_nd_other_config_flag): "ipv6 nd other-config-flag" is added.
1134
11352001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
1136
1137 * ioctl.c (if_ioctl): Change ioctl argument from int to u_long.
1138
1139 * rt_ioctl.c: Likewise.
1140
11412001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
1142
1143 * kernel_socket.c (rtm_write): Only set RTF_CLONING when the
1144 interface is not p2p.
1145
11462001-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1147
1148 * ioctl.c (if_prefix_add_ipv6): Fix argument type.
1149
11502001-04-06 Toshiaki Takada <takada@zebra.org>
1151
1152 * zserv.c (zsend_interface_delete): Use client->obuf instead of
1153 allocating new stream.
1154
11552001-03-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1156
1157 * rt_netlink.c: Revert RTPROT_BOOT change.
1158
11592001-03-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1160
1161 * rt_netlink.c (netlink_route_change): Skip RTPROT_BOOT route.
1162 (netlink_routing_table): Likewise.
1163
11642001-03-07 "Akihiro Mizutani" <mizutani@dml.com>
1165
1166 * zserv.c (zsend_ipv4_add_multipath): Send metric value to
1167 protocol daemons.
1168
11692001-02-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1170
1171 * rt_netlink.c (netlink_routing_table): Do not return
1172 tb[RTA_GATEWAY] is NULL. Reported by: "Michael O'Keefe"
1173 <mokeefe@qualcomm.com>.
1174
11752001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1176
1177 * if_ioctl.c (interface_list_ioctl): Call if_add_update().
1178 Suggested by: Chris Dunlop <chris@onthe.net.au>.
1179
11802001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1181
1182 * rib.c (nexthop_active_ipv4): When nexthop type is
1183 NEXTHOP_TYPE_IPV4_IFINDEX, propery set the ifindex to rifindex.
1184
1185 * zserv.c: Initialize rtm_table_default with 0.
1186
1187 * zebra-0.91 is released.
1188
11892001-01-31 Kunihiro Ishiguro <kunihiro@zebra.org>
1190
1191 * kernel_socket.c (rtm_read): Filter cloned route. Suggested by:
1192 Jun-ichiro itojun Hagino <itojun@iijlab.net>
1193
11942001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1195
1196 * connected.c (connected_up_ipv6): When point-to-point destination
1197 address is ::, use local address for connected network.
1198 (connected_down_ipv6): Likewise.
1199
12002001-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1201
1202 * zserv.c (zebra_serv): Add missing close() call. Reported by:
1203 David Waitzman <djw@vineyard.net>.
1204
12052001-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
1206
1207 * rib.c (rib_lookup_ipv4): New function for checking exact match
1208 IGP route.
1209
12102001-01-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1211
1212 * rib.c (show_ipv6_route_protocol): Fix bug of "show ip route
1213 route-type".
1214
12152001-01-22 Kunihiro Ishiguro <kunihiro@zebra.org>
1216
1217 * interface.c (zebra_interface): Do not call
1218 zebra_interface_add_update for inactive interface.
1219
1220 * zserv.c (zsend_interface_address_add): Send interface address
1221 flag.
1222 (zsend_interface_address_delete): Likewise.
1223
12242001-01-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1225
1226 * interface.c (if_addr_add): Add flags.
1227
1228 * connected.c (ifa_add_ipv4): Add new function for interface
1229 address handling.
1230 (ifa_delete_ipv4): Likewise.
1231
12322001-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1233
1234 * rib.c (rib_update): Update IPv6 RIB.
1235
1236 * kernel_socket.c (ifam_read): Call if_refresh() for update
1237 interface flag status. This is for implicit interface up on *BSD.
1238
1239 * interface.c (if_refresh): Add interface flag refresh function.
1240
1241 * kernel_socket.c (rtm_read): Fetch link-local address interface
1242 index.
1243 (ifan_read): We need to fetch interface information. Suggested
1244 by: Yasuhiro Ohara <yasu@sfc.wide.ad.jp>.
1245
1246 * rib.c (static_ipv6_nexthop_same): Add check for
1247 NEXTHOP_TYPE_IPV6_IFNAME.
1248
12492001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1250
1251 * rib.h (NEW_RIB): Turn on NEW_RIB flag. IPv6 new RIB code are
1252 taken into place.
1253
12542001-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1255
1256 * rib.c (static_ipv6_write): Display STATIC_IPV6_GATEWAY_IFNAME
1257 configuration.
1258 (rib_delete_ipv6): Handle same route conter for IPv6 connected
1259 route.
1260 (show_ipv6_route_protocol): New command.
1261 (show_ipv6_route_addr): Likewise.
1262 (show_ipv6_route_prefix): Likewise.
1263 (rib_update): Sweep kernel route when it is cleaned up.
1264
1265 * rt_socket.c (kernel_add_ipv6): Add NEXTHOP_IPV6_IFNAME
1266 treatmenet.
1267
1268 * rt_netlink.c (kernel_init): Likewise.
1269
1270 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): Likewise.
1271
1272 * rib.c (rib_add_ipv4): Cope with same connected route on a
1273 interface. Suggested by: Matthew Grant <grantma@anathoth.gen.nz>.
1274 (nexthop_ipv6_ifname_add): Add NEXTHOP_IPV6_IFNAME treatmenet.
1275
1276 * rib.h (struct new_rib): Add refcnt to keep track on the
1277 reference of same connected route.
1278
1279 * ioctl.c (if_set_prefix): Add check for GNU_LINUX.
1280
12812001-01-13 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1282
1283 * kernel_socket.c (ifan_read, rtm_type_str): Add RTM_OIFINFO check.
1284 (rtm_type_str): Add RTM_IFANNOUNCE check.
1285 (ifan_read): New function.
1286 (kernel_read): Add case for RTM_IFANNOUNCE.
1287
12882001-01-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1289
1290 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): New function.
1291
1292 * rt_netlink.c (netlink_route_multipath): IPv6 address ifindex
1293 treatment.
1294
1295 * connected.c (connected_up_ipv6): Add dest value check.
1296
1297 * rib.c (nexthop_active_ipv6): Do not touch IPv6 nexthop's
1298 ifindex.
1299 (rib_add_ipv4): Import rib_add_ipv6() same route check code.
1300 (nexthop_active_check): NEXTHOP_TYPE_IPV6_IFINDEX activity is only
1301 checked by ifindex.
1302
1303 * rt_socket.c (kernel_rtm_ipv6_multipath): New function.
1304
1305 * redistribute.c (redistribute_add): Use
1306 zsend_ipv6_add_multipath().
1307 (redistribute_delete_multipath): Use
1308 zsend_ipv6_delete_multipath().
1309
1310 * interface.c (ip_address): Check current IP address to avoid
1311 duplicate.
1312
1313 * rib.c (rib_delete_ipv4): When deleted route is connected route,
1314 check ifindex.
1315 (rib_add_ipv4): When connected route is added do not perform
1316 implicit withdraw.
1317 (rib_delete_ipv4): Check ifindex for connected route.
1318
1319 * kernel_socket.c (rtm_read): When route has RTF_STATIC, set
1320 ZEBRA_FLAG_STATIC for indicate as persistent route.
1321 (ifam_read): Unset interface index from link-local address when
1322 IPv6 stack is KAME.
1323
1324 * rib.c (rib_update): Do not delete persistent kernel route.
1325
1326 * rib.h (struct new_rib): Integrate RIB_FLAG_* to ZEBRA_FLAG_*.
1327
1328 * rt_socket.c (kernel_add_ipv6_multipath): Add placeholder.
1329 (kernel_delete_ipv6_multipath): Likewise.
1330
1331 * rt_netlink.c (netlink_talk): Give struct nlsock to netlink_talk.
1332
13332001-01-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1334
1335 * rib.c (rib_update): Revert Matthew Grant's patch
1336 zebra_cvs_newribfix.patch. Use struct rib->ifindex for kernel
1337 interface index. Introduce NEXTHOP_TYPE_IPV4_IFINDEX to support
1338 that. Add support for address deletion situation.
1339
13402001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1341
1342 * interface.c: Remove HAVE_IF_PSEUDO part.
1343
1344 * rib.h: Likewise.
1345
1346 * rt_netlink.c (netlink_link_change): Likewise.
1347
13482001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1349
1350 * zserv.c: Remove OLD_RIB codes.
1351
13522001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1353
1354 * zebra-0.90 is released.
1355
13562001-01-09 Matthew Grant <grantma@anathoth.gen.nz>
1357
1358 * interface.c (if_new_intern_ifindex): Allocate a new internal
1359 interface index.
1360 (if_addr_refresh): Fix up ip addresses configured via zebra.
1361 (if_add_update): Handle an interface addition.
1362 (if_delete_update): Handle an interface delete event.
1363
1364 * rib.c (nexthop_ipv4_add): Add kernel route deletion process when
1365 interface goes down.
1366
13672001-01-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1368
1369 * interface.c (if_dump_vty): When HAVE_NET_RT_IFLIST is defined,
1370 NetBSD also use this function. Suggested by Jasper Wallace
1371 <jasper@ivision.co.uk>.
1372
13732001-01-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1374
1375 * rib.c (nexthop_active_ipv4): Move back to set methodo to old
1376 one.
1377
13782001-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1379
1380 * rib.c (rib_add_ipv4): EBGP multihop set ZEBRA_FLAG_INTERNAL
1381 flag, so treat it.
1382
13832001-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1384
1385 * rt_netlink.c (netlink_talk_ipv6): When IPv6 route message is
1386 sent from netlink_cmd, the same message comes from netlink. To
1387 avoid confusion, temporary netlink_talk_ipv6 use netlink.sock
1388 instead of netlink_cmd.sock.
1389
13902001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1391
1392 * zserv.h (ZEBRA_SERV_PATH): Change "/tmp/zebra" to "/tmp/.zebra".
1393 Change "/tmp/zserv" to "/tmp/.zserv".
1394
13952000-12-29 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
1396
1397 * rt_netlink.c (struct nlsock): Divide kernel message into listen
1398 socket and command socket.
1399 (netlink_talk): Remove socket listen code. Use netlink_parse_info
1400 for read kernel response.
1401
14022000-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1403
1404 * rib.c (vty_show_ip_route): Show uptime of the RIP,OSPF,BGP
1405 routes.
1406
14072000-12-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1408
1409 * rt_netlink.c (netlink_route_multipath): Metric value is
1410 reflected to kernel routing table.
1411
1412 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Likewise.
1413
1414 * kernel_socket.c (rtm_write): Likewise.
1415
1416 * rib.c (nexthop_active_ipv4): Only iBGP route perform recursive
1417 nexthop lookup.
1418
1419 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Add ioctl version of
1420 new RIB implementation.
1421
14222000-12-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1423
1424 * rib.h: Remove MULTIPATH_NUM. It is defined by configure script.
1425
14262000-12-25 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1427
1428 * rib.c (rib_if_up): Call rib_fib_set instead of RIB_FIB_SET for
1429 proper redistribution.
1430
14312000-12-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1432
1433 * rib.c (nexthop_active_ipv4): Add self lookup nexthop check.
1434 (show_ip_route_protocol): Support new RIB.
1435
1436 * rt_netlink.c (netlink_route_change): Do not return when gate is
1437 NULL.
1438
14392000-12-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1440
1441 * rib.c (rib_lookup_ipv4_nexthop): IBGP nexthop check function is
1442 updated.
1443 (rib_add_ipv4): Free implicit withdraw route's RIB.
1444
14452000-12-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1446
1447 * rib.c (nexthop_active_ipv4): Check indirect nexthop.
1448
1449 * redistribute.c (redistribute_add_multipath): Redistribution
1450 works with new rib code.
1451
14522000-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1453
1454 * rt_netlink.c (netlink_route_multipath): Check useful nexthop
1455 number.
1456 (netlink_route_multipath): Clear rtnh_flags and rtnh_hops.
1457
1458 * rib.c (nexthop_active_update): Set flag for the rib's nexthop
1459 activity is changed.
1460 (nexthop_active_check): Before checking interface is up, make it
1461 sure the interface exist.
1462
14632000-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1464
1465 * rib.c (ip_route): New RIB prototype.
1466
14672000-11-16 Yon Uriarte <ukl2@rz.uni-karlsruhe.de>
1468
1469 * zserv.c (zsend_interface_add): Send hardware address when
1470 hw_addr_len is greater than 0.
1471
14722000-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1473
1474 * connected.c (connected_up_ipv4): Fix ptop bug. The destination
1475 network should be installed into routing table.
1476 (connected_down_ipv4): Likewise.
1477 (connected_add_ipv4): Change to use connected_up_ipv4.
1478 (connected_delete_ipv4): Likewise.
1479
14802000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1481
1482 * rt_netlink.c (netlink_interface_addr): Revert Harald Welte
1483 <laforge@gnumonks.org>'s ptop patch then back to original code to
1484 avoid duplicated connected route problem. Suggested by Frank van
1485 Maarseveen <F.vanMaarseveen@inter.NL.net>.
1486
1487 * kernel_socket.c (rtm_read): Make behavior consistent even #ifdef
1488 DEBUG is defined. Reported by Jun-ichiro itojun Hagino
1489 <itojun@iijlab.net>.
1490
14912000-10-23 Jochen Friedrich <jochen@scram.de>
1492
1493 * main.c (main): Call zebra_snmp_init() when it is enabled.
1494
14952000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1496
1497 * zserv.c (zebra_serv_un): UNIX domain socket server of zebra
1498 protocol.
1499
15002000-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1501
1502 * rib.c (rib_add_ipv4): Same check bug is fixed.
1503
15042000-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1505
1506 * rib.c (rib_if_down): Remove kernel route when the interface goes
1507 down.
1508
1509 * debug.c: New command "debug zebra kernel" is added.
1510
15112000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1512
1513 * zebra-0.89 is released.
1514
15152000-09-24 Harald Welte <laforge@gnumonks.org>
1516
1517 * rt_netlink.c (netlink_interface_addr): Fix point-to-point address
1518 treatment in netlink interface.
1519
15202000-09-21 David Lipovkov <dlipovkov@OpticalAccess.com>
1521
1522 * rib.c (rib_if_down): Pull static route only. Protocol daemon
1523 must withdraw routes when interface goes down.
1524 (rib_add_ipv4): Check nexthop when replace route.
1525
15262000-09-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1527
1528 * if_ioctl.c (if_getaddrs): New function for looking up
1529 interface's address by getifaddrs().
1530
15312000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1532
1533 * connected.c (connected_delete_ipv4): Add check for connected
1534 address is found or not.
1535 (connected_add_ipv6): Reflect IPv6 connected address change to
1536 protocol daemons.
1537 (connected_delete_ipv6): Likewise.
1538
15392000-09-07 David Lipovkov <davidl@nbase.co.il>
1540
1541 * rib.c (rib_delete_ipv4): Reverted the change from pseudo
1542 interface patch to original. Because ospfd deletes routes using
1543 zero ifindex.
1544
15452000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1546
1547 * zebra-0.88 is released.
1548
15492000-08-15 "Akihiro Mizutani" <mizutani@dml.com>
1550
1551 * rib.c (show_ip_route_protocol): Help string correction.
1552 (show_ip_route_prefix): Check prefix mask.
1553 (show_ip_route_vty_detail): Display distance and metric.
1554
15552000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1556
1557 * zserv.c (zsend_interface_add): Change ifindex store size from
1558 two octet to four.
1559 (zsend_interface_delete): Likewise.
1560 (zsend_interface_address_add): Likewise.
1561 (zsend_interface_address_delete): Likewise.
1562 (zsend_interface_up): Likewise.
1563 (zsend_interface_down): Likewise.
1564
15652000-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1566
1567 * rib.c (rib_add_ipv4): Do not install distance 255 route.
1568
15692000-08-10 Toshiaki Takada <takada@zebra.org>
1570
1571 * interface.c (bandwidth_if), (no_bandwidth_if): Call
1572 zebra_interface_up_update () instead of using if_up() and if_down().
1573
15742000-08-07 "Akihiro Mizutani" <mizutani@dml.com>
1575
1576 * interface.c (bandwidth_if): Fix help string.
1577
15782000-08-07 Matthew Grant <grantma@anathoth.gen.nz>
1579
1580 * interface.c (if_dump_vty): Display bandwidth value.
1581 (bandwidth_if): New command "bandwidth <1-10000000>" is added.
1582 When interface is up, force protocol daemons to recalculate routes
1583 due to cost change.
1584 (no_bandwidth_if): Likewise.
1585 (if_config_write): Output bandwidth configuration.
1586
1587 * zserv.c (zsend_interface_add): Send bandwidth value.
1588 (zsend_interface_up): Likewise.
1589 (zsend_interface_down): Likewise.
1590
1591
15922000-08-07 Michael Rozhavsky <mike@nbase.co.il>
1593
1594 * rib.c (show_ip_route_protocol): "show ip route
1595 (bgp|connected|kernel|ospf|rip|static)" is added.
1596
15972000-08-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1598
1599 * rib.c (rib_lookup_ipv4_nexthop): Check parent node until IGP
1600 nexthop is found.
1601 (rib_add_ipv4_internal): Set fib ifindex to rib ifindex.
1602
16032000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1604
1605 * redistribute.c (redistribute_delete): Fix bug of default route
1606 redistribute treatment.
1607
16082000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1609
1610 * rib.c (rib_init): Install ip_node in rib.c instead of zserv.c.
1611 Change default distance value.
1612
1613 Old New
1614 ------------------------------------------
1615 system 10 0
1616 kernel 20 0
1617 connected 30 0
1618 static 40 1
1619 rip 50 120
1620 ripng 50 120
1621 ospf 60 110
1622 ospf6 49 110
1623 bgp 70 200(iBGP) 20(eBGP)
1624 ------------------------------------------
1625
1626 * zserv.c (client_lookup): Function removed.
1627 (zsend_interface_add): Use client's output buffer. Check ifinfo
1628 flag.
1629 (zsend_interface_delete): Likewise.
1630 Delete ipv4_static_radix and ipv6_static_radix.
1631
16322000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1633
1634 * zserv.h (struct zebra_client): When client request interface
1635 information, ifinfo is set.
1636
1637 * rib.c: Temporary Revert changes for pseudo interface.
1638
1639 * rib.h: Likewise.
1640
1641 * zserv.c: Likewise.
1642
1643 * interface.c: Likewise.
1644
16452000-08-02 David Lipovkov <davidl@nbase.co.il>
1646
1647 * interface.c (zebra_if_init): Install interface "pseudo"
1648 commands.
1649
1650 * rib.c (rib_create): ifname argument is added.
1651 (rib_add_ipv4_pseudo): New function is added.
1652 (rib_delete_ipv4_pseudo): Likewise.
1653
1654 * rib.h : Delete INTERFACE_UNKNOWN definition. Add prototype for
1655 pseudo interface functions.
1656
1657 * rt_netlink.c (netlink_link_change): Check for pseudo interface.
1658
1659 * zserv.c (ip_route): When destination is pseudo interface, call
1660 rib_add_ipv4_pseudo().
1661
1662 * zserv.c (no_ip_route): Trim "unknown" argument.
1663
16642000-07-26 kunitake@dti.ad.jp
1665
1666 * if_ioctl.c (if_get_hwaddr): Fix hardware address length from 8
1667 to 6.
1668
1669 * rtadv.c (rtadv_send_packet): Fix shift bug for hardware address.
1670
16712000-07-24 Akihiro Mizutani <mizutani@dml.com>
1672
1673 * interface.c: Use install_default() for common VTY commands.
1674
16752000-07-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1676
1677 * if_ioctl.c (interface_list_ioctl): A interface list size is
1678 calculated from ifreq->if_addr.sa_len. This is for OpenBSD.
1679
1680 * ioctl.c (if_get_mtu): Remove codes for SIOCGIFDATA.
1681
16822000-07-09 Chris Dunlop <chris@onthe.net.au>
1683
1684 * if_ioctl.c (if_get_index): Add check for HAVE_BROKEN_ALIASES.
1685
16862000-07-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1687
1688 * zserv.c (zebra_client_read): Add ZEBRA_REDISTRIBUTE_{ADD,DELETE}
1689 message handling.
1690
16912000-07-02 David Lipovkov <davidl@nbase.co.il>
1692
1693 * zserv.c: "ip route A.B.C.D/M unknown" command is added.
1694
16952000-06-28 Michael Rozhavsky <mike@nbase.co.il>
1696
1697 * rib.c: Remove old kernel route when new route comes in.
1698
16992000-06-13 David Lipovkov <davidl@nbase.co.il>
1700
1701 * rib.c (rib_if_up): Add check for unknown interface.
1702
17032000-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1704
1705 * rib.h: Define INTERFACE_UNKNOWN.
1706
17072000-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1708
1709 * Makefile.am (EXTRA_DIST): Move irdp.c until implementation is
1710 finished.
1711
17122000-06-05 David Lipovkov <davidl@nbase.co.il>
1713
1714 * interface.c (if_zebra_delete_hook): Call rib_if_delete().
1715
1716 * redistribute.c (zebra_interface_delete_update): New function.
1717
1718 * redistribute.h (zebra_interface_delete_update): New function
1719 prototype.
1720
1721 * rib.c (rib_if_delete): New function. Walk down all routes and
1722 delete all on the interface.
1723
1724 * rib.h: New function prototype.
1725
1726 * rt_netlink.c (netlink_link_change): Call
1727 zebra_interface_delete_update ().
1728
17292000-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1730
1731 * if_ioctl.c (interface_info_ioctl): Check interface's flag before
1732 checking interface's address.
1733
17342000-04-26 Jochen Friedrich <jochen@nwe.de>
1735
1736 * GNOME-PRODUCT-ZEBRA-MIB: New file.
1737
1738 * GNOME-SMI: New file.
1739
17402000-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1741
1742 * irdp.c: New file from 1997 development code.
1743 * irdp.h: Likewise.
1744
17452000-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1746
1747 * rtadv.c (rtadv_send_packet): Enclose router advertisement
1748 logging with IS_ZEBRA_DEBUG_PACKET.
1749
17502000-04-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1751
1752 * zserv.c (zebra_client_close): Remove client structure from
1753 client_list when connection is terminated.
1754
17552000-03-21 David Lipovkov <davidl@nbase.co.il>
1756
1757 * connected.c (connected_add_ipv4): Allows all necessary structure
1758 updates for connected route, but doesn't insert it into rib if
1759 it's interface is down.
1760
17612000-01-21 Hideto Yamakawa <hideto.yamakawa@soliton.co.jp>
1762
1763 * rtread_getmsg.c: Set some definition for Solaris 2.5 and Solaris
1764 2.5.1.
1765
17662000-01-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1767
1768 * rib.c (no_ipv6_route_ifname): Fix buf of cheking return value
1769 from str2prefix_ipv6().
1770
17712000-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1772
1773 * rt_socket.c: Revert to use RTF_HOST for IPv4 with /32 route and
1774 IPv6 with /128 routes.
1775 (kernel_rtm_ipv4): In case of /32 route's gateway is interface. It
1776 should have mask for cloning.
1777
17781999-12-26 Jochen.Friedrich@genorz.de
1779
1780 * interface.c (if_dump_vty): Fix a bug of missing VTY_NEWLINE.
1781
17821999-12-23 Alex Zinin <zinin@amt.ru>
1783 * interface.*: dynamic int up/down support
1784
17851999-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1786
1787 * ipforward_proc.c (dropline): Move dropline() from lib/dropline.c
1788
1789 * rtread_proc.c (proc_route_read): Don't use dropline().
1790
17911999-12-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1792
1793 * kernel_socket.c (rtm_read): When message is RTM_GET, it has own
1794 process's pid.
1795
17961999-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1797
1798 * main.c (main): Change to default log output to ZLOG_STDOUT.
1799
1800 * zserv.c (zebra_serv): More detailed error print.
1801
18021999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1803
1804 * kernel_socket.c (rtm_read): Check old pid for static route
1805 insertion check.
1806
18071999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1808
1809 * interface.c (if_dump_vty): BSDI/OS uses 64bit for interface
1810 statistics counter.
1811
1812 * mtu_kvm.c: New file added.
1813
18141999-11-27 Vladimir B. Grebenschikov <vova@express.ru>
1815
1816 * kernel_socket.c (rtm_write): Set RTF_CLONING flag for
1817 route to the directly connected interface.
1818
18191999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1820
1821 * rt_socket.c: Delete USE_HOST_BIT definition.
1822
18231999-11-21 Michael Handler <handler@sub-rosa.com>
1824
1825 * rtread_getmsg.c: Undef some definition to resolve conflict.
1826
18271999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1828
1829 * kernel_socket.c (rtm_write): Change to use pre stored struct_dl
1830 value for gateway specification.
1831
18321999-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1833
1834 * rt_socket.c (kernel_rtm_ipv4): Even mask is 32 under IPv4 or
1835 128 under IPv6, don't use RTF_HOST.
1836
18371999-11-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1838
1839 * Makefile.am (EXTRA_DIST): Add rtread_getmsg.c.
1840
18411999-11-21 Michael Handler <handler@sub-rosa.com>
1842
1843 * rtread_getmsg.c: Added for Solaris 2.6 support.
1844
18451999-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1846
1847 * rtread_sysctl.c (rtm_read_route): RTM_DELETE handling added.
1848
1849 * rt_socket.c (kernel_read): Better BSD routing socket support.
1850
18511999-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1852
1853 * client_main.c: Disable making obsolete zebra test `client'
1854 command.
1855
18561999-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1857
1858 * zebra.c: Renamed to zserv.c.
1859
1860 * zebra.h: Global definitions are moved to lib/zebra.h. Then
1861 renamed to zserv.h.
1862
18631999-10-15 Jordan Mendelson <jordy@wserv.com>
1864
1865 * if_ioctl.c: Add Linux 2.2.X's alias support and dynamic
1866 interface. Remove ugly MAX_INTERFACE handling codes.
1867
18681999-09-17 Satosi KOBAYASI <kobayasi@north.ad.jp>
1869
1870 * Fix serious bug of IPv6 route deletion.
1871
18721999-09-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1873
1874 * ioctl.c (if_set_prefix): Properly set broadcast address.
1875
18761999-09-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1877
1878 * rib.c (rib_add_ipv6, rib_delete_ipv6): now protocol daemons
1879 can install connected route to kernel via zebra
1880
18811999-08-24 VOP <vop@unity.net>
1882
1883 * rib.c: Include "sockunion.h"
1884
18851999-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
1886
1887 * ipforward.h: New file.
1888
1889 * zebra.h: Obsolete message ZEBRA_GET_ALL_INTERFACE,
1890 ZEBRA_GET_ONE_INTERFACE, ZEBRA_GET_HOSTINFO are deleted.
1891
18921999-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1893
1894 * zebra.h (ZEBRA_INTERFACE_ADDRESS_ADD):
1895 ZEBRA_INTERFACE_{ADD,DELETE} added.
1896
18971999-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1898
1899 * rib.c: show ip route A.B.C.D works.
1900
1901 * zebra.c (zebra_read_ipv4): Add ifindex to zebra messages.
1902
19031999-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1904
1905 * zebra.h: New Zebra message ZEBRA_INTERFACE_{ADD,DELETE} added.
1906
19071999-08-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1908
1909 * interface.h: New file.
1910 * Makefile.am: Add interface.h
1911
19121999-08-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1913
1914 * redistribute.c (zebra_redistribute): give ifindex to client.
1915
19161999-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1917
1918 * main.c (longopts): -k, --keep_kernel option added.
1919
19201999-07-18 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1921
1922 * rt_socket.c (rtm_write): forgot closing socket bug fixed.
1923
19241999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1925
1926 * rib.c (show_ipv6_cmd): if rib is link show interface name.
1927
19281999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1929
1930 * rt_socket.c (rtm_write): use sockaddr_dl when null gateway.
1931
19321999-07-16 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1933
1934 * rt_socket.c (rtm_write): ipv6 route table bug fixed.
1935
19361999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1937
1938 * zebra.c (zebra_read_ipv6): read link prefix from ospf6 support
1939
19401999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1941
1942 * rt_socket.c (kernel_rtm_ipv6): gate treatment bug fixed.
1943
19441999-07-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1945
1946 * if_sysctl.c (ifm_read): Clear sockunion argument before fetching
1947 data. Suggested by "Chris P. Ross" <cross@eng.us.uu.net>
1948
19491999-07-08 HEO SeonMeyong <seirios@Matrix.IRI.Co.Jp>
1950
1951 * interface.c (if_tun_add): Add KAME's gif tunnel setting codes.
1952
19531999-06-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1954
1955 * zebra.c (zebra_serv): Only accept loopback address connection.
1956
19571999-06-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1958
1959 * zebra.h (ZEBRA_ROUTE_EXTERNAL): Add zebra messages flags
1960
19611999-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1962
1963 * ipforward_proc.c: ipforward_on () and ipforward_off () added.
1964
19651999-06-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1966
1967 * ipforward_proc.c (ipforward_ipv6): Check for IPv6 forwarding
1968 using /proc file system is added.
1969
19701999-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1971
1972 * if_ioctl.c (if_get_index): Interface index set bug is fixed by
1973 adding #else at the middle of function. Suggested by David Luyer
1974 <luyer@ucs.uwa.edu.au>.
1975
19761999-05-29 <kunihiro@zebra.org>
1977
1978 * rt_ioctl.c: Comment out #include <linux/ipv6_route.h>.
1979
19801999-05-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1981
1982 * zebra.h (ZEBRA_ROUTE_MAX): Add new define for the max value of
1983 the sort of routes.
1984
19851999-05-25 Patrick Koppen <koppen@rhrk.uni-kl.de>
1986
1987 * rt_netlink.c (netlink_socket): Make netlink socket non-blocking.
1988 (netlink_parse_info): If errno is EWOULDBLOCK then continue to
1989 parse the message.
1990 (netlink_talk): Likewise
1991
19921999-05-17 <kunihiro@zebra.org>
1993
1994 * redistribute.c (zebra_check_addr): Added for loopback address
1995 check.
1996
19971999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1998
1999 * rt_netlink.c (netlink_route_change): Tempolary bypass ipv6 route
2000 change treatment.
2001
2002 * Makefile.am (noinst_HEADERS): redistribute.h added.
2003
2004 * redistribute.h: New file.
2005
20061999-05-14 Stephen R. van den Berg <srb@cuci.nl>
2007
2008 * zebra.c (show_table): Show all table configuration DEFUN.
2009 (config_table): Config table number DEFUN.
2010
2011 * rt_netlink.c: Add support for multiple routing table.
2012
2013 * rib.c (rib_weed_table): New function added for delete all
2014 routes from specified routing table.
2015
2016 * main.c (signal_init): SIGTERM call sigint.
2017 (sigint): Loggging more better message.
2018
20191999-05-09 Kunihiro Ishiguro <kunihiro@zebra.org>
2020
2021 * rt_netlink.c: Change log () to zlog ().
2022
20231999-05-07 <kunihiro@zebra.org>
2024
2025 * zebra.h (ZEBRA_ROUTE_OSPF6): Added for ospf6d route.
2026
20271999-04-20 Kunihiro Ishiguro <kunihiro@zebra.org>
2028
2029 * interface.c: Add `no ip address' command.
2030
20311999-04-10 Kunihiro Ishiguro <kunihiro@zebra.org>
2032
2033 * rt_netlink.c (kernel_read): Function added for asynchronous
2034 zebra between kernel communication.
2035
20361999-03-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2037
2038 * rtread_sysctl.c (rtm_read): Fix address memcopy overrun bug.
2039 Reported by Achim Patzner <ap@bnc.net>.
2040
20411999-03-03 Kunihiro Ishiguro <kunihiro@zebra.org>
2042
2043 * Makefile.am: Install configuration sample with 600 permission.
2044
20451999-03-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2046
2047 * Makefile.am: Add -I.. to INCLUDES.
2048
20491999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
2050
2051 * syslog support added
2052
20531999-02-17 Peter Galbavy <Peter.Galbavy@knowledge.com>
2054
2055 * if_sysctl.c (interface_list): allocated memory free when unknown
2056 ifm_type is returned.
2057
2058 * ioctl.c (if_get_mtu): added SIOCGIFDATA treatment.
2059
20601998-12-15 Magnus Ahltorp <map@stacken.kth.se>
2061
2062 * interface.c: Header include added.
2063
20641998-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2065
2066 * rt.h (kernel_delete_ipv6): change int index to unsigned int index.
2067
20681998-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2069
2070 * if_ioctl.c (interface_list_ioctl): interface flag must be
2071 checked before check addresses of the interface.
2072
20731998-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2074
2075 * Makefile.am (INCLUDES): add @INCLUDES@ for Linux IPv6.
2076
20771998-10-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2078
2079 * ioctl.c: Linux version before 2.1.0 need interface route setup.
2080
20811998-09-15 HEO SeonMeyong <seirios@matrix.iri.co.jp>
2082
2083 * change HYDRANGEA to KAME
2084
20851998-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
2086
2087 * if_ioctl.c (if_addr_ioctl): set address family for getting
2088 interface's address.
2089 (if_get_index): silently return when can't get interface's index.
2090
20911998-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
2092
2093 * main.c (main): batch mode option '-b' added.
2094
20951998-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
2096
2097 * ioctl.c (if_set_prefix): add `ip address IPV4ADDR' command.
2098 * interface.c (shutdown_if): add interface shutdown and no
2099 shutdown command.
2100
21011998-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
2102
2103 * rib.c (rib_add_ipv6): delete rib_add_in6.
2104
21051998-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2106
2107 * main.c: retain flag is added.
2108
21091998-07-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2110
2111 * rtable.[ch]: merged with rib.[ch]
2112
21131998-07-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2114
2115 * connected.h: renamed from ifa.h.
2116
21171998-06-09 Kunihiro Ishiguro <kunihiro@zebra.org>
2118
2119 * rename if.c to interface.c
2120 * rename ifa.c to connected.c
2121
2122 * Porting to Debian GNU/Linux 2.0 (hamm).
2123
21241998-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2125
2126 * rt_netlink.c: renamed from krt_netlink.c
2127
2128 * fib.c: deleted.
2129 * rt_kvm.c: deleted.
2130 * rtread_getmsg.c: deleted.
2131
21321998-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2133
2134 * if.c (multicast): add multicast flag [un]set fucntion.
2135
21361998-05-19 Yamshita TAKAO <jargon@lares.dti.ne.jp>
2137
2138 * rt_socket.c: Modify for compile on Solaris, but dont't work it.
2139 rt_socket.c have some undefined function, so add directive "IMPLEMENT"
2140
21411998-05-18 Yamshita TAKAO <jargon@lares.dti.ne.jp>
2142
2143 * zebra.c: Modify for compile on Solaris.
2144
21451998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
2146
2147 * main.c: change CONFDIR to SYSCONFDIR.
2148
21491998-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
2150
2151 * .cvsignore: added.
2152
21531998-04-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2154
2155 * client.c: moves to ../lib.
2156
21571998-03-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2158
2159 * if_ioctl.c (if_get_addr): Change address copy from memcopy() to
2160 structure assignment.
2161
21621998-03-30 URA Hiroshi <ura@yamato.ibm.co.jp>
2163
2164 * if_sysctl.c (ifm_interface_add): sdl->sdl_data copy bug fixed.
2165
21661998-02-23 "Hannes R. Boehm" <hannes@boehm.org>
2167
2168 * if.c (if_init): add config_exit_cmd and config_help_cmd.
2169
21701998-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2171
2172 * rt_ioctl.c (route_ioctl): EPERM treatment added.
2173
21741998-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2175
2176 * rt_socket.c (kernel_read): communication port zebra between
2177 kernel is now handled by kernel_read.
2178
21791998-01-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2180
2181 * main.c (main): zebra [-P port] can specify vty port number.
2182
21831997-12-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2184
2185 * zebra.c: change select will be block.
2186
21871997-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2188
2189 * add static route treatment.
2190
21911997-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2192
2193 * rt_netlink.c: add netlink support over GNU/Linux system.
2194
21951997-11-23 Kunihiro Ishiguro <kunihiro@zebra.org>
2196
2197 * all inet_addr is changed to inet_aton.
2198
2199 * zebra.c (ip_route): add ip route command for static routes.
2200
22011997-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
2202
2203 * if.c (if_flag_dump): Linux port of if_flag_dump and _vty.
2204
22051997-11-19 Kunihiro Ishiguro <kunihiro@zebra.org>
2206
2207 * if.c: add interface command.
2208
22091997-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
2210
2211 * ipforward_proc.c : Now works on Linux.
2212
22131997-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2214
2215 * command.c : add completion feature.
2216
22171997-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
2218
2219 * vty.c (vty_command): add vty interface.
2220
22211997-10-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2222
2223 * zebra.c: add verbose mode.
2224
22251997-10-12 SonMyong Ho <s-ho@Matrix.IRI.Co.Jp>
2226
2227 * Hydrangea for FreeBSD supported
2228 * in.h: add some prototype.
2229
22301997-10-11 Kunihiro Ishiguro <kunihiro@zebra.org>
2231
2232 * rt_socket.c and rtread.c completely rewritten.
2233
22341997-10-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2235
2236 * rt_socket.c: rename kernel_sock to routing_socket
2237
22381997-10-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2239
2240 * if.c (if_new): interface structure change from linklist to vector.
2241
22421997-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
2243
2244 * vector.c (vector_init): create vector related function
2245
22461997-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2247
2248 * Makefile.in: add tags target
2249
2250 * start IPv6 support for INRIA FreeBSD.
2251