blob: ab6688c67943422f8c15d2401ac25db30de852c7 [file] [log] [blame]
Paul Jakma0b8c4f12007-06-27 11:12:38 +000012007-06-25 Denis Ovsienko
2
3 * zebra_rib.c: (rib_add_ipv4_multipath) Loop through RIB
4 is using 'same' variable, but RIB_ENTRY_REMOVED check
5 is testing the constant 'rib' variable, fix. Impact
6 unknown at this point.
7
Andrew J. Schorr09303312007-05-30 20:10:34 +000082007-05-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
9
10 * zebra_routemap.c: (route_set_src_compile) Use '#ifdef HAVE_IPV6'
11 as needed.
12 * zebra_vty.c: (vty_show_ip_route_detail, vty_show_ip_route) Use
13 '#ifdef HAVE_IPV6' as needed.
14 (show_ip_protocol) Move function definition outside of
15 '#ifdef HAVE_IPV6' section.
16
Andrew J. Schorr7ab62c52007-05-17 15:00:41 +0000172007-05-17 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
18
19 * kernel_socket.c: (ifam_read_mesg) Grab RTA_DST and RTA_GATEWAY
20 addresses from the message (if present, which seems unlikely on
21 current BSD platforms), and show them in the debug messages.
22 Also, add ifam_flags to the debug messages.
23 (ifam_read) If the interface is point-to-point, then the RTA_BRD
24 address should be treated as a peer address.
25
Paul Jakma7514fb72007-05-02 16:05:35 +0000262007-05-01 David L Stevens <dlstevens@us.ibm.com>
27
28 * (general) These changes collectively add route-map and
29 prefix-list support to zebra and fix a bug in "show
30 route-map" (with no argument).
31 * connected.c: (connected_up_ipv4) added src preference argument
32 to rib_add_ipv4()
33 * kernel_socket.c: (rtm_read) ditto
34 * main.c: added prefix list initialization
35 * Makefile.am: added zebra_routemap.c source file
36 * rib.h: added generic address union "g_addr" and use in
37 existing places that had an explicit union.
38 Added "src" to struct nexthop.
39 Added preferred src arg to nexthop_ipv4_add and rib_add_ipv4.
40 * rt_netlink.c: (netlink_routing_table) set preferred source on
41 netlink messages.
42 (netlink_route_change) ditto
43 (netlink_route_multipath) ditto.
44 * rtread_getmsg.c: (handle_route_entry) added (NULL) src to
45 rib_add_ipv4() call.
46 * rtread_proc.c: (proc_route_read) ditto
47 * zebra_rib.c: (nexthop_ipv4_add) add src argument.
48 (nexthop_ipv4_ifindex_add) ditto
49 (rib_add_ipv4) ditto
50 (nexthop_active_check) Add route-map processing.
51 * zebra_routemap.c: new file for zebra route-map commands.
52 * zebra_vty.c: (ip_protocol_cmd) Apply route-map to protocol
53 (vty_show_ip_route_detail) added "src" printing
54 (vty_show_ip_route) ditto
55 (show_ip_protocol_cmd) new command, list routemaps.
56 (config_write_protocol) write out routemap protocl config.
57 (zebra_vty_init) Install the new routemap protocol commands.
58 * zserv.c: (zread_ipv4_add) added (NULL) src arg
59 (zebra_init) init zebra route-maps.
60 * zserv.h: add zebra_route_map_init
61
Paul Jakmabd9da7f2007-04-29 16:50:46 +0000622007-04-29 Paul Jakma <paul.jakma@sun.com>
63
64 * ioctl{_solaris,}.c: (if_get_mtu) Fix missing ; in last commit.
Paul Jakmae8eb8342007-04-29 17:32:08 +000065 * if_ioctl_solaris.c: (if_get_index) Fix bogus argument passed
66 to lifreq_set_name().
Paul Jakmabd9da7f2007-04-29 16:50:46 +000067
Paul Jakmaf5e004f2007-04-10 19:43:43 +0000682007-04-10 Paul Jakma <paul.jakma@sun.com>
69
70 * ioctl{_solaris,}.c: (if_get_mtu) Ping clients via
71 zebra_interface_up_update if MTU is changed.
72
Paul Jakmad9d00a62007-04-10 19:28:04 +0000732007-04-08 Paul Jakma <paul.jakma@sun.com>
74
75 * {ioctl,kernel}_null.c: Install of IP address should
76 reflect back to zebra via kernel_address_add..., makes
77 testzebra more useful.
Paul Jakmad9a18f12007-04-10 19:30:20 +000078 * interface.c: (if_delete_update) Address removal triggered
79 by kernel shouldn't remove configured IPv4 address from connected
80 list.
Paul Jakmad9d00a62007-04-10 19:28:04 +000081
Paul Jakma6dc686a2007-04-10 19:24:45 +0000822007-04-07 Paul Jakma <paul.jakma@sun.com>
83
84 * redistribute.c: (zebra_check_addr) Don't redistribute routes
85 to IPv4 link-local prefixes, fixes bug #351.
86 * redistribute.h: Export zebra_check_addr.
87 * router-id.c: (router_id_bad_address) re-use zebra_check_addr
88 rather than implementing similar logic.
89
Paul Jakma65022082007-03-06 13:43:05 +0000902007-03-06 Paul Jakma <paul.jakma@sun.com>
91
92 * kernel_socket.c: (ifam_read) Do not update interface metric on
93 receipt of NEW/DEL ADDR messages, bogus as: a) some systems
94 dont include iface metric for address events b) we didn't
95 update clients either. Initial diagnosis by Eugene Grosbein.
96
Paul Jakmaff1dd552007-02-26 17:11:45 +0000972007-02-26 Robert Olsson <Robert.Olsson@data.slu.se>
98
99 * irdp_main.c: (irdp_send_thread) Skip non-AF_INET addresses,
100 i.e. do not try interpret IPv6 addresses as IPv4 addresses
101 to broadcast in IRDP announcements..
102
Andrew J. Schorrfb6724a2006-12-13 15:44:15 +00001032006-12-13 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
104
105 * if_ioctl_solaris.c: (if_get_addr) For IPv6, stop assuming
106 that all IFF_POINTOPOINT have prefixlen of IPV6_MAX_BITLEN.
107 Instead, always try the SIOCGLIFSUBNET ioctl; if that fails,
108 then we fall back to IPV6_MAX_BITLEN for PtP interfaces.
109
Andrew J. Schorre4529632006-12-12 19:18:21 +00001102006-12-12 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
111
112 * connected.c: (connected_up_ipv4, connected_down_ipv4,
113 connected_up_ipv6, connected_down_ipv6) Simplify logic using the
114 new CONNECTED_PREFIX macro.
115 (connected_add_ipv4) Set prefixlen in destination addresses (required
116 by the CONNECTED_PREFIX macro). Use CONNECTED_PEER macro instead
117 of testing for IFF_POINTOPOINT. Delete invalid warning message.
118 Warn about cases where the ZEBRA_IFA_PEER is set but no
119 destination address has been supplied (and turn off the flag).
120 (connected_add_ipv6) Add new flags argument so callers may set
121 the ZEBRA_IFA_PEER flag. If peer/broadcast address satisfies
122 IN6_IS_ADDR_UNSPECIFIED, then reject it with a warning.
123 Set prefixlen in destination address so CONNECTED_PREFIX will work.
124 * connected.h: (connected_add_ipv6) Add new flags argument so
125 callers may set the ZEBRA_IFA_PEER flag.
126 * interface.c: (connected_dump_vty) Use CONNECTED_PEER macro
127 to decide whether the destination address is a peer or broadcast
128 address (instead of checking IFF_BROADCAST and IFF_POINTOPOINT).
129 * if_ioctl.c: (if_getaddrs) Instead of setting a peer address
130 only when the IFF_POINTOPOINT is set, we now accept a peer
131 address whenever it is available and not the same as the local
132 address. Otherwise (no peer address assigned), we check
133 for a broadcast address (regardless of the IFF_BROADCAST flag).
134 And must now pass a flags value of ZEBRA_IFA_PEER to
135 connected_add_ipv4 when a peer address is assigned.
136 The same new logic is used with the IPv6 code as well (and we
137 pass the new flags argument to connected_add_ipv6).
138 (if_get_addr) Do not bother to check IFF_POINTOPOINT: just
139 issue the SIOCGIFDSTADDR ioctl and see if we get back
140 a peer address not matching the local address (and set
141 the ZEBRA_IFA_PEER in that case). If there's no peer address,
142 try to grab SIOCGIFBRDADDR regardless of whether IFF_BROADCAST is set.
143 * if_ioctl_solaris.c: (if_get_addr) Just try the SIOCGLIFDSTADDR ioctl
144 without bothering to check the IFF_POINTOPOINT flag. And if
145 no peer address was found, just try the SIOCGLIFBRDADDR ioctl
146 without checking the IFF_BROADCAST flag. Call connected_add_ipv4
147 and connected_add_ipv6 with appropriate flags.
148 * if_proc.c: (ifaddr_proc_ipv6) Must pass new flags argument to
149 connected_add_ipv6.
150 * kernel_socket.c: (ifam_read) Must pass new flags argument to
151 connected_add_ipv6.
152 * rt_netlink.c: (netlink_interface_addr) Copy logic from iproute2
153 to determine local and possible peer address (so there's no longer
154 a test for IFF_POINTOPOINT). Set ZEBRA_IFA_PEER flag appropriately.
155 Pass new flags argument to connected_add_ipv6.
156 (netlink_address) Test !CONNECTED_PEER instead of if_is_broadcast
157 to determine whether the connected destination address is a
158 broadcast address.
159
Paul Jakma3c0755d2006-12-08 00:53:14 +00001602006-12-08 Piotr Chytla <pch@packetconsulting.pl>
161
162 * zebra_rib.c: (static_install_ipv{4,6}) Case where existing
163 RIB is updated must explicitely rib_addqueue the route_node,
164 to ensure the update actually takes effect.
165
Greg Troxel9458b812006-09-13 12:13:08 +00001662006-09-13 Tom Everett <tom@khubla.com>
167
168 * kernel_socket.c (rtm_type_str): ifdef RTM_OLD{ADD,DEL} to
169 compile on systems that no longer define them.
170
Paul Jakmaf28b0e52006-08-06 15:57:59 +00001712006-08-06 Paul Jakma <paul.jakma@sun.com>
172
173 * interface.h: (ifstat_update_proc) declaration should match
174 ifstat_update_sysctl really, which is to not return status, as
175 such status is not used anywhere.
176 * if_{proc,sysctl}.c: Make ifstat_update_* definitions and return values
177 consistent with each other and their declarations, ie:
178 (void) (*) (void).
Paul Jakma66c454f2006-08-06 16:02:43 +0000179 * rtadv.h: depends on interface.h, so should include it.
Paul Jakmaf28b0e52006-08-06 15:57:59 +0000180
Paul Jakma7e4bcdc2006-08-04 06:14:13 +00001812006-08-04 Paul Jakma <paul.jakma@sun.com>
182
183 * misc_null.c: Add ifstat_update_sysctl, add another required
184 header.
185
Andrew J. Schorra6974fe2006-08-02 16:47:03 +00001862006-08-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
187
188 * misc_null.c: Must include header files to get older versions of gcc
189 to process the #pragma statements properly.
190
Paul Jakma36943742006-08-04 06:18:04 +00001912006-08-01 Paul Jakma <paul.jakma@sun.com>
192
193 * irdp_main.c: (irdp_advertisement) free the stream here, when done,
194 right under where it was allocated so it's blindingly obvious
195 it's correct. This possibly fixes a very slow leak of streams in
196 zebra.
197 * irdp_packet.c: (send_packet) don't free the stream here as
198 it's hard to tell if right, plus an error case seemed to
199 returning before free anyway.
200
Paul Jakma457eb9a2006-07-27 19:59:58 +00002012006-07-27 Paul Jakma <paul.jakma@sun.com>
202
203 * {ioctl,kernel}_null.c: Dummy/Null kernel method implementations,
204 useful for testing zebra code that calls such methods.
205 * {redistribute,misc}_null.c: Dummy/Null methods, as above. But
206 for zclient, and for various misc functions.
207 * test_main.c: Test harness for zebra, currently just to test the
208 RIB.
209 * Makefile.am: Build testzebra using above.
Paul Jakma6d691122006-07-27 21:49:00 +0000210 * debug.{c,h}: Add 'debug zebra rib' and 'debug zebra rib queue'.
211 * rib.h: (struct rib) Add a route_node rn_status flag field,
212 this has to be copied every time head RIB of a route_node
213 changes.
214 Remove the rib lock field, not needed - see below.
215 Add a status field for RIB-private flags.
Paul Jakma457eb9a2006-07-27 19:59:58 +0000216 * zebra_rib.c: Add a global for the workqueue hold time, useful
217 for testing.
Paul Jakma6d691122006-07-27 21:49:00 +0000218 (general) Fix for bug #268. Problem originally detailed by
219 Simon Bryden in [quagga-dev 4001].
220 Essentially, add/delete of a RIB must happen /before/ the
221 queue. Best-path selection (ie rib_process) and reaping of
222 freed RIBs can then be done after queueing. Only the route_node
223 is queued - no important RIB state (i.e. whether a RIB is to be
224 deleted) is queued.
225 (struct zebra_queue_node_t) Disappears, no longer need to
226 track multiple things on the queue, only the route_node.
227 (rib_{lock,unlock}) removed, RIBs no longer need to be
228 refcounted, no longer queued.
229 (rib_queue_qnode_del) Removed, deleted RIBs no longer deleted
230 via the queue.
231 (rib_queue_add_qnode) deleted
232 (rib_queue_add) Only the route_node is queued for best-path
233 selection, we can check whether it is already queued or
234 not and avoid queueing same node twice - struct rib * argument
235 is not needed.
236 (rib_link/unlink) (un)link RIB from route_node.
237 (rib_{add,del}node) Front-end to updates of a RIB.
238 (rib_process) Reap any deleted RIBs via rib_unlink.
239 Unset the route_node 'QUEUED' flag.
240 (General) Remove calls to rib_queue_add where add/del node was
241 called - not needed, update calls where not.
242 Ignore RIB_ENTRY_REMOVEd ribs in loops through route_nodes
Paul Jakma457eb9a2006-07-27 19:59:58 +0000243
Paul Jakma171eee32006-07-27 16:11:02 +00002442006-07-27 Rumen Svobodnikov <rumen@telecoms.bg>
245
246 * connected.c: (connected_up_ipv4) interface connected routes always
247 go to table main (or otherwise they cannot be used by linux as
248 nexthops)
249 * zserv.c: (zread_ipv4_add) send route to the correct routing table
250 * zebra_rib.c (static_install_ipv4) set routing table
251
Paul Jakma27b47252006-07-02 16:38:54 +00002522006-07-02 Paul Jakma <paul.jakma@sun.com>
253
254 * rt_netlink.c: (netlink_interface_addr) Fix CID #104, can not
255 proceed if addr is NULL.
256 * zebra_rib.c: (static_add_ipv6) Fix CID #18, double check
257 required arguments are supplied for the given nexthop type.
258
Paul Jakma630c97c2006-06-15 12:48:17 +00002592006-06-15 Paul Jakma <paul.jakma@sun.com>
260
261 * interface.c: (if_flag_dump_vty) redundant code, remove.
262 (if_dump_vty) use libzebra if_flag_dump.
Paul Jakma74ecdc92006-06-15 18:10:47 +0000263 (ip_address_uninstall) Unset the configured flag.
264 * connected.c: (connected_same) new helper, check whether
265 two connected are same.
266 (connected_implicit_withdraw) new helper, consolidation of
267 existing code in connected_add_ipv{4,6}.
268 Try filter out unneeded Zserv address delete/adds when
269 address is exact same.
270 Where old address is implicitely removed, be sure to preserve
271 the IFC_CONFIGURED flag if set, fixes bug where configured
272 addresses were being lost on FreeBSD (Andrew Schorr).
Paul Jakma630c97c2006-06-15 12:48:17 +0000273
Andrew J. Schorr9c378512006-05-21 04:04:49 +00002742006-05-21 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
275
276 * connected.c: (connected_withdraw) Do not delete the connected
277 address if the ZEBRA_IFC_CONFIGURED flag is set.
278 (connected_add_ipv4,connected_add_ipv6) Before calling
279 connected_withdraw, unset the ZEBRA_IFC_CONFIGURED flag
280 on the superseded connected structure.
281
Andrew J. Schorr0f38dc42006-05-19 13:53:23 +00002822006-05-19 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
283
284 * connected.c: (connected_add_ipv4,connected_add_ipv6) If the
285 new struct connected matches an already existing one
286 (that will consequently be removed by connected_withdraw),
287 then be sure to preserve the ZEBRA_IFC_CONFIGURED flag.
288
Andrew J. Schorr55196042006-05-17 15:04:59 +00002892006-05-17 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
290
291 * kernel_socket.c: (ifam_read_mesg) Improve debug message
292 to show the IP address.
293
Paul Jakma66859782006-05-15 17:00:37 +00002942006-05-15 Paul Jakma <paul.jakma@sun.com>
295
296 * zserv.c: (general) Remove the private zebra_command_str
297 in favour of newly added libzebra zserv_command_string.
298
Paul Jakmabeb56332006-05-11 13:28:05 +00002992006-05-11 Paul Jakma <paul.jakma@sun.com>
300
301 * interface.c: (if_delete_update) route_node_lookup may return
302 NULL, should fix Coverity CID #31.
303
Paul Jakmae6d7d052006-03-30 13:32:09 +00003042006-02-09 Paul Jakma <paul.jakma@sun.com>
305
306 * rib.h: (struct {rib,nexthop}) Rearrange fields to avoid
307 needless padding.
308 (struct rib) Remove the indirect pointer, not used anywhere!
309
paul3a570c82006-02-02 17:27:13 +00003102006-02-02 Paul Jakma <paul.jakma@sun.com>
311
312 * interface.c: (if_dump_vty) move flags to their line, neater.
313
paula1038a12006-01-30 14:08:51 +00003142006-01-30 Paul Jakma <paul.jakma@sun.com>
315
316 * zebra_rib.c: (rib_process) Fourth time lucky on this jinxed
317 commit, last commit had a hole that could allow connected
318 route selection to escape beyond the connected route logic.
319 This time I cross-checked with Gunnar first. ;)
320
paula8d9c1f2006-01-25 06:31:04 +00003212006-01-25 Gunnar Stigen <gunnar.stigen@axxessit.no>
322
323 * zebra_rib.c: (rib_process) Application of Gunnar's earlier
324 metric selection RIB change included incorrect tidy-ups made
325 by commiter. Fix. (NB: any errors here are again due to paul).
326
paul5c78b3d2006-01-25 04:31:40 +00003272006-01-25 Paul Jakma <paul.jakma@sun.com>
328
329 * (general) More solaris PF_ROUTE hacks. The IFF_UP mangling
330 for solaris was incomplete on the PF_ROUTE side. fix it.
331 This changeset generally uglifies things. For some future
332 work I'd like to see the state changes seperated out from
333 the details of the code. Differences between systems might
334 then be slightly easier to implement without convoluted
335 hacks.
336 Changes should be specific to Solaris mostly, however
337 also tested on FreeBSD 6.
338 * if_ioctl_solaris.c: (interface_list_ioctl) ignore ~IFF_UP
339 interfaces, we'll hear about them when/if interface goes up
340 through NEWADDR.
341 Update flags explicitely at end of it to kick mangling.
342 * ioctl_solaris.c: (if_mangle_up) removed to interface.c, in
343 kind.
344 (lifreq_set_name) more convenient to take the string, than
345 the ifp.
346 (if_get_flags_direct) new convenience function, returns
347 the actual flags. Used during bootstrap in if_ioctl_solaris.c
348 to peek at flags of logical interfaces to see whether or
349 not to ignore them.
350 (if_get_flags) ENXIO means it's gone, poke out IFF_UP and
351 kick flags update.
352 (if_{un,}set_flags) flags argument should be 64bit.
353 * ioctl.{c,h}: flags argument should be 64bit.
354 * interface.h: Add a 'primary_state' flag to struct zebra_if on
355 SUNOS_5.
356 Export if_flags_update.
357 * interface.c: (if_flags_mangle) moved over in kind from
358 ioctl_solaris.c. Nasty kludge to try get IFF_UP right, as
359 much as is possible. Also keep track of the actual IFF_UP
360 value for the primary interface, so we can know when the ifp
361 must be deleted.
362 (if_flags_update) Take a new interface flags value, apply it
363 to the interface, and take whatever actions are required due
364 to flag transitions.
365 (if_refresh) flag state change logic is moved out to
366 previous. Just call if_get_flags, which will end up using
367 previous to effect the update of flags.
368 (if_flag_dump_vty) IFF_IPV{4,6} aren't interesting, VIRTUAL
369 and NOXMIT are though.
370 * kernel_socket.c: (ifm_read) Down->Down transitions shouldn't
371 create ifp, for non-IFANNOUNCE systems.
372 Use if_flags_update to update flags.
373 flag transition logic is now handled automatically through
374 if_flags_update.
375 (ifam_read) Better to call if_refresh *after* adding
376 connected addresses, as connected count affects IFF_UP on
377 IFF_UP-mangled systems.
378 On Solaris, Up->Down due to DELADDR means we need to delete
379 the ifp - the IFINFO might already have been and gone.
380 * rt.h: include other dependent headers.
381
paule8e19462006-01-19 20:16:55 +00003822006-01-19 Paul Jakma <paul.jakma@sun.com>
383
384 * (general) various miscellaneous compiler warning fixes.
385 Remove redundant break statements from switch clauses
386 which return.
387 Remove stray semi-colons which cause empty-statement
388 warnings.
389 * main.c: (sighup) remove private declaration of external
390 function.
391 (main) return from main, not exit, cause it annoys SOS.
392
paulaf887b52006-01-18 14:52:52 +00003932006-01-18 Gunnar Stigen <gunnar.stigen@axxessit.no>
394
395 * zebra_rib.c: Take interface metric into account.
396
pauld34b8992006-01-17 18:03:04 +00003972006-01-17 Paul Jakma <paul.jakma@sun.com>
398
399 * kernel_socket.c: (ifam_read) Read metric from RTM_NEWADDR.
400 If interface is an alias, pass the alias as a label for
401 connected_add_ipv{4,6}.
402 * rt_netlink.c: (netlink_interface_addr) print out
403 IFA_CACHEINFO info, if present, when debugging kernel
404 messages.
405
paulc7133002006-01-17 17:56:18 +00004062006-01-17 Gunnar Stigen <gunnar.stigen@axxessit.no>
407
408 * connected.c: (connected_up_ipv{4,6}) Include interface metric on
409 connected routes.
paul61f42ae2006-01-17 17:59:11 +0000410 * if_ioctl.c: (if_getaddrs) Be defensive about assuming
411 that struct ifaddrs will have ifa_addr filled in.
paulc7133002006-01-17 17:56:18 +0000412
paulc1b98002006-01-16 01:54:02 +00004132006-01-16 Paul Jakma <paul.jakma@sun.com>
414
415 * zserv.c: Read/write updated Zserv header.
416
paulc77d4542006-01-11 01:59:04 +00004172006-01-11 Paul Jakma <paul.jakma@sun.com>
418
419 * zserv.c: (zsend_interface_{add,delete,update}) if flags are
420 8 bytes now, update to write out with stream_putq.
421
gdt6083e1f2005-12-29 15:59:57 +00004222005-12-29 Greg Troxel <gdt@fnord.ir.bbn.com>
423
gdte14b7fc2005-12-29 16:04:53 +0000424 * kernel_socket.c: remove dead code (from David Young).
425
gdt6083e1f2005-12-29 15:59:57 +0000426 * rt_socket.c (kernel_rtm_ipv4): Use AF_INET rather than AF_UNSPEC
427 for mask. From David Young.
428
paul89368d92005-11-26 09:14:07 +00004292005-11-26 Paul Jakma <paul.jakma@sun.com>
430
431 * connected.{c,h}: (connected_add_ipv6) label should have
432 const qualifier, fix declarations.
433
paulec1a4282005-11-24 15:15:17 +00004342005-11-24 Paul Jakma <paul.jakma@sun.com>
435
436 * kernel_socket.h: New header for functions exported to sysctl
437 methods.
438 * kernel_socket.c: include previous.
439 Remove static qualifier from couple of functions which are
440 used by sysctl methods.
441 Add a workaround for a bogus gcc warning to the RTA_ macros.
442 * Makefile.am: Add kernel_socket.h to noinst_HEADERS
443 * if_sysctl.c: include rt.h and kernel_socket.h and remove
444 redundant prototypes.
445 * rtread_sysctl.c: ditto.
446 (route_read) fix mismatch of return values.
447 * {rt,zserv,rib}.h: Include lib headers depended on.
448
paul6621ca82005-11-23 13:02:08 +00004492005-11-23 Paul Jakma <paul.jakma@sun.com>
450
451 * (general) fix some small compile errors, and mark several
452 functions as static.
453 * kernel_socket.c: (ifan_read) should be static.
454 fix missing brackets.
455 (ifm_read,ifam_read,rtm_read_mesg,kernel_read) Make static
456 (ifam_read_mesg) make static. fix incorrect variable name.
457 (rtm_read) make static. Fix call to rib_delete_ipv4 which
458 should be rib_delete_ipv6.
459 (routing_socket,kernel_init) should be static. Void argument
460 should be specified as such, not left incomplete.
461 * rt_netlink.c: rt.h should be included, contains prototypes of
462 exported functions.
463 (kernel_delete_ipv6_old) fix sign of index argument.
464 * rt_socket.c: Exact same as previous. Also, make various
465 functions static.
466 * rtread_getmsg.c: Include zserv.h, which prototypes
467 route_read. Make static.
468 * rtread_sysctl.c: zserv.h and rt.h should be included.
469 fix definition of route_read.
470
paul0fb58d52005-11-14 14:31:49 +00004712005-11-14 Paul Jakma <paul.jakma@sun.com>
472
473 * zebra_rib.c: (rib_process) convert to new workqueue specs and
474 shut up gcc, which complains about cast from void via
475 function parameters, for some dumb reason. Do the cast
476 inside the function instead.
477 (rib_queue_qnode_del) ditto.
478 (rib_queue_init) no need for the casts anymore.
479
paul6fe70d12005-11-12 22:55:10 +00004802005-11-12 Alexander Gall <gall@switch.ch>
481
482 * See [quagga-dev 1815]
483 * kernel_socket.c: (rtm_write) Use SAROUNDUP when HAVE_SIN_LEN
484 is not available.
485 * rt_socket.c: (kernel_rtm_ipv6(_multipath)) set family to
486 AF_INET6 on ipv6 routes.
487
4882005-11-12 Paul Jakma <paul.jakma@sun.com>
489
490 * kernel_socket.c: Add RTA_NAME_GET macro to extract name from
491 sockaddr_dl. Add some more RTF_ flags.
492 * (ifan_read) Add some debug messages.
493 * (ifm_read) Add more debug messages. More robust cross-checks
494 of index against name.
495 Fall back to by-name lookup if the index lookup fails, future
496 proofing more than anything else.
497 (ifam_read_mesg) Read RTA_IFP. Add debug messages.
498 (ifam_read) More debug. If there's an RTA_IFP and it isn't
499 the name of the interface, save it as the label.
500 (rtm_read_mesg) Read RTA_IFP.
501 (rtm_read) allow name to be retrieved.
502 (rtmsg_debug) expand on the debug message.
503
paul0994c3a2005-11-11 09:52:40 +00005042005-11-11 Paul Jakma <paul.jakma@sun.com>
505
506 * kernel_socket.c: (ifm_read) arithmetic on void pointer
507 warning.
508 (ifam_read) Fix error from connected-with-label merge,
509 something crept in from the pending Solaris kernel_socket.c
510 patch which shouldn't have.
511
paul0752ef02005-11-03 12:35:21 +00005122005-11-03 Paul Jakma <paul.jakma@sun.com>
513
514 * connected.{c,h}: Include memory.h
515 (connected_add_ipv4) Use MTYPE for ifc label.
516 (connected_add_ipv6) Also should accept label. Store it in ifp.
517 (connected_del_ipv4) Taking label as argument is pointless.
518 * rt_netlink.c: (netlink_interface_addr) update label usage
519 for connected_{add,delete} functions.
520 * if_ioctl.c: (if_getaddrs) NULL label for connected_add_ipv6.
521 * if_ioctl_solaris.c: (interface_list_ioctl) Pass LIFC_NOXMIT
522 so we also find out about NOXMIT interfaces like VNI.
523 Bit of hackery to turn interface names into the primary
524 interface name, later with routing socket messages we only
525 will about primary interfaces anyway, so we must normalise
526 the name.
527 (if_get_addr) take label as argument, so it can
528 be passed to connected_add.
529 If label is provided, then it is interface name to issue the
530 ioctl for address information on, not the ifp name.
531 (interface_list) List AF_UNSPEC too, just in case.
532 * if_proc.c: (ifaddr_proc_ipv6) label for connected_add_ipv6.
533 * interface.c: (if_addr_wakeup) Some very bogus code - sets
534 IFF_RUNNING - add comment.
535 (if_refresh)
536 (ip_address_install) Use MTYPE for ifc label.
537 * ioctl_solaris.c: (if_mangle_up) New function. Hackery to make
538 IFF_UP reflect whether any addresses are left on the
539 interface, as we get signalled for IFF_UP flags change on the
540 primary interface only. Logical interfaces dont generate
541 IFINFO, but we do get an RTM_DELADDR.
542 (if_get_flags) Call if_mangle_up before return.
543 * kernel_socket.c: (ifam_read) Fixup calls to
544 connected_{add,delete} to match above changes. Rename gate
545 variable to brd, less confusing.
546 Pass the interface name as a label, if it is not same name
547 as ifp->name.
548
pauld06b2a62005-10-11 03:53:54 +00005492005-10-11 Paul Jakma <paul.jakma@sun.com>
550
551 * connected.{c,h}: (connected_{add,delete}_ipv4) label should
552 be const qualified.
553
ajsc05612b2005-10-01 16:36:54 +00005542005-10-01 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
555
ajsf52d13c2005-10-01 17:38:06 +0000556 * zebra_vty.c: (route_type_str) Remove obsolete function: use new
557 library function zebra_route_string() instead. Note that there
558 are a few differences: for IPv6 routes, we now get "ripng" and
559 "ospf6" instead of the old behavior ("rip" and "ospf").
560 (route_type_char) Remove obsolete function: ues new library function
561 zebra_route_char() instead. Note that there is one difference:
562 the old function returned 'S' for a ZEBRA_ROUTE_SYSTEM route,
563 whereas the new one returns 'X'.
564 (vty_show_ip_route_detail,vty_show_ipv6_route_detail) Replace
565 route_type_str() with zebra_route_string().
566 (vty_show_ip_route,vty_show_ipv6_route) Replace route_type_char()
567 with zebra_route_char().
568
5692005-10-01 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
570
ajsc05612b2005-10-01 16:36:54 +0000571 * rt_netlink.c: (netlink_request) Use memset to clear structure
572 before calling sendto (eliminates a valgrind error message about
573 uninitialized data).
vincentaa2e32b2005-09-28 13:42:11 +0000574
5752005-09-28 Alain Ritoux <alain.ritoux@6wind.com>
576
vincentfbf5d032005-09-29 11:25:50 +0000577 * zserv.c: Always provied distance for route add
578
5792005-09-28 Alain Ritoux <alain.ritoux@6wind.com>
580
vincentaa2e32b2005-09-28 13:42:11 +0000581 * connected.c: flag connected_up_ipv6() and connected_down_ipv6()
582 usage with HAVE_IPV6
583
hassod24af182005-09-24 14:00:26 +00005842005-09-24 Hasso Tepper <hasso at quagga.net>
585
586 * rib.h: Add note about behaviour of rib_add_ipv[46]* functions -
587 add is treated as implicit withdraw.
588
hassoebf1ead2005-09-21 14:58:20 +00005892005-09-21 David Young <dyoung@ojctech.com>
590
591 * zebra_rib.c: Reduce the height of some staircases. Fix
592 rib_delete_ipv6() to match routes in the RIB by their gateway as
593 well as by destination.
594
paul319572c2005-09-21 12:30:08 +00005952005-09-21 Paul Jakma <paul.jakma@sun.com>
596
597 * zebra_rib.c: (static_uninstall_ipv{4,6}) Fix regression wrt
598 removal of static routes with multiple-hops introduced with
599 the workqueue conversion. We should free the relevant
600 nexthop and then get rib_process to run, otherwise we just
601 get same static route back again (with no way to unconfigure
602 it, because its already deleted from configuration).
603
paulca162182005-09-12 16:58:52 +00006042005-09-12 Paul Jakma <paul.jakma@sun.com>
605
606 * (general) RTM_CHANGE and implicit withdraw on RTM_NEWADDR
607 support.
608 * connected.c: (connected_withdraw) new function. withdraw a
609 connected subnet address set from zebra, and pass information
610 along to clients.
611 (connected_announce) similar, but to announce a new connected
612 subnet address set.
613 (connected_check_ipv4) renamed to connected_check, as its
614 AFI independent.
615 (connected_add_ipv{4,6}) Remove the connected address announce
616 stuff, use connected_announce instead.
617 If connected_check indicates address is already present,
618 treat it as an implicit withdraw of the existing address, ie
619 remove the old address details and replace with the new
620 details.
621 (connected_delete_ipv{4,6}) Use connected_withdraw.
622 (connected_check_ipv6) deleted in favour of connected_check.
623 * connected.h: Rename connected_check_ipv4 to connected_check.
624 delete connected_check_ipv6.
625 * interface.c: Use connected_check rather than the AFI specific
626 symbols.
627 * kernel_socket.c: (rtm_read) RTM_CHANGE support. Create a
628 rib delete event for the existing route, before adding route
629 again.
630 (kernel_read) we can handle RTM_CHANGE now.
631
hassobe61c4e2005-08-27 06:05:47 +00006322005-08-27 Hasso Tepper <hasso at quagga.net>
633
634 * zebra_rib.c, rib.h: Add distance and metric arguments to the
635 rib_add_ipv6() function so that IPv6 routes in RIB can have correct
636 metric. No IPv6 routing daemon uses distance yet though.
637 * zserv.c, connected.c, kernel_socket.c, rt_netlink.c,
638 rtread_proc.c,zserv.c: Pass metric and distance info to the
639 rib_add_ipv6().
640
paul6eb88272005-07-29 14:36:00 +00006412005-07-29 Paul Jakma <paul.jakma@sun.com>
642
643 * interface.c: (if_delete_update) should always be available, not
644 just on RTM_IFANNOUNCE/NETLINK systems.
645 * kernel_socket.c: (ifan_read) only call if_delete_update when
646 interface departs, dont if_delete, because we wish to retain
647 interface configuration state even when interfaces are removed.
648 (ifm_read) If we dont have RTM_IFANNOUNCE, then transitioning
649 to down state is only chance we have to clean up interface in case
650 it is deleted (eg Solaris down -> unplumb -> plumb up).
651 * redistribute.c: (zebra_interface_delete_update) should always be
652 available, we /will/ call it now on all systems, via
653 if_delete_update.
654 * zserv.c: (zsend_interface_delete) ditto
655 (zsend_interface_address) Update the call-flow diagramme, to
656 reflect that if_delete_update /is/ now called on all systems,
657 potentially.
658 * zserv.h: (zsend_interface_delete) unconditionally exported, as
659 above.
660
paula1ac18c2005-06-28 17:17:12 +00006612005-06-28 Paul Jakma <paul.jakma@sun.com>
662
663 * (global) Extern and static'ification, with related fixups
664 of declarations, ensuring files include their own headers, etc.
paulea6f82b2005-06-28 17:20:26 +0000665 * if_ioctl.c: (interface_info_ioctl) fix obvious arg mis-order in
paula1ac18c2005-06-28 17:17:12 +0000666 list loop
paulea6f82b2005-06-28 17:20:26 +0000667 * kernel_socket.c: (RTA_{ADDR,ATTR}_GET) fix mistake, NULL check
668 should be on DEST argument
paula1ac18c2005-06-28 17:17:12 +0000669
paul62debbb2005-06-14 14:07:07 +00006702005-06-14 Paul Jakma <paul.jakma@sun.com>
671
672 * kernel_socket.c: consolidate the IFAM{ADDR,MASK}GET and
673 RTM{ADDR,MASK}GET macros into generic rta_addrs macros,
674 RTA_{ADDR,ATTR}_GET.
675 (af_check) could use 'inline' attribute
676 (ifam_read_mesg) remove IFAM{ADDR,MASK}GET macro, change to
677 generic macro.
678 (rtm_read_mesg) similar
679
hasso1ada8192005-06-12 11:28:18 +00006802005-06-12 Hasso Tepper <hasso at quagga.net>
681
682 * rt_netlink.c: Remove netlink-addr socket declaration, it's not used.
683 * rt_netlink.c (netlink_parse_info): Fix debug messages - nlmsg_pid is
684 unsigned and one zlog call had swapped arguments.
685 * rt_netlink.c (netlink_route_multipath): Fix compile with disabled
686 IPv6 support.
687
paul1dcb5172005-05-31 08:38:50 +00006882005-05-31 Paul Jakma <paul.jakma@sun.com>
689
690 * zserv.c: (zsend_route_multipath) Fix bug if route is sent
691 with no NEXTHOP_FLAG_FIB nexthops. As ZAPI_MESSAGE_IFINDEX
692 and ZAPI_MESSAGE_NEXTHOP are always set, clients would try
693 read non-existent nexthop information and hit stream assert.
694 Zserv is still broken for multi-nexthop messages, but it always was.
695
paul69e10ad2005-05-06 21:27:33 +00006962005-05-06 Paul Jakma <paul.jakma@sun.com>
697
698 * zserv.h: Remove ZEBRA_PORT definition, its in lib/zebra.h now
699
paul4d38fdb2005-04-28 17:35:14 +00007002005-04-28 Paul Jakma <paul.jakma@sun.com>
701
702 * rib.h: (struct rib) Add lock field for refcounting.
703 * zserv.h: (struct zebra_t) Add a ribq workqueue to the zebra
704 'master' struct.
705 * zserv.c: (zread_ipv4_add) XMALLOC then memset should be XCALLOC.
706 * zebra_rib.c: Clean up refcounting of route_node, make struct rib
707 refcounted and convert rib_process to work-queue. In general,
708 rib's should be rib_addnode'd and delnode'd to route_nodes, and
709 these symmetrical functions will manage the locking of referenced
710 route_node and freeing of struct rib - rather than having users
711 manage each seperately - with much scope for bugs..
712 (newrib_free) removed and replaced with rib_lock
713 (rib_lock) new function, check state of lock and increment.
714 (rib_unlock) new function, check lock state and decrement. Free
715 struct rib if refcount hits 0, freeing struct nexthop's, as
716 newrib_free did.
717 (rib_addnode) Add RIB to route_node, locking both.
718 (rib_delnode) Delete RIB from route_node, unlocking each.
719 (rib_process) Converted to a work-queue work function.
720 Functional changes are minimal, just arguments, comments and
721 whitespace.
722 (rib_queue_add_qnode) Helper function to setup a ribq item.
723 (rib_queue_add) Helper function, same arguments as old
724 rib_process, to replace in callers of rib_process.
725 (rib_queue_qnode_del) ribq deconstructor.
726 (rib_queue_init) Create the ribq.
727 (rib_init) call rib_queue_init.
728 (remainder) Sanitise refcounting of route_node's. Convert to
729 rib_queue_add, rib_addnode and rib_delnode. Change XMALLOC/memset
730 to XCALLOC. Remove calls to nexthop_delete and nexthop_free.
731
paulcf460ef2005-04-10 16:54:26 +00007322005-04-10 Paul Jakma <paul@dishone.st>
733
734 * if_ioctl_solaris.c: (if_lookup_linklocal) fix order of args
735 in ALL_LIST_ELEMENTS_RO macro.
736
ajs57a14772005-04-10 15:01:56 +00007372005-04-10 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
738
739 * zserv.c (zebra_client_read): Fix bug: first read attempt should
740 read ZEBRA_HEADER_SIZE minus the number of bytes already read.
741 Improve efficiency by maintaining a calculation of the number
742 of bytes read instead of calling stream_get_endp multiple times.
743 If message length is too small, issue a warning message (not debug)
744 before closing the connection. And also check that message length
745 is not too big.
746
hasso206d8052005-04-09 16:38:51 +00007472005-04-09 Hasso Tepper <hasso at quagga.net>
748
hassofa599802005-04-09 16:59:28 +0000749 * rt_netlink.c: One tiny missing comma caused pointless debug messages
750 about IPv6 nexthops.
751
7522005-04-09 Hasso Tepper <hasso at quagga.net>
753
hasso206d8052005-04-09 16:38:51 +0000754 * rt_netlink.c (netlink_parse_info): Fix warning. It's safe to cast
755 status to unsigned here, because we already checked that it isn't
756 negative or 0.
757 * rt_netlink.c (netlink_interface_addr): Prefix length belongs to the
758 address, not to the interface.
759 * rt_netlink.c (netlink_route_multipath): Fix debug. No useless info
760 is printed out now and IPv6 info is handeled.
761
paul3d1dc852005-04-05 00:45:23 +00007622005-04-05 Paul Jakma <paul@dishone.st>
763
764 * zserv.c: print more helpful errors when we fail to successfully
765 bind and listen on zserv socket. Closes bugzilla #163.
766
ajsd2fc8892005-04-02 18:38:43 +00007672005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
768
ajs08dbfb62005-04-03 03:40:52 +0000769 * if_ioctl.c: (interface_list_ioctl) Use if_get_by_name_len.
770 * if_proc.c: (ifaddr_proc_ipv6) Increase size of ifname buffer to
771 avoid overflow.
772 * kernel_socket.c: (ifan_read) Use if_get_by_name_len.
773
7742005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
775
ajsa3491982005-04-02 22:50:38 +0000776 * kernel_socket.c: (ifm_read) Use new if_lookup_by_name_len function
777 to save a memcpy.
778 * if_ioctl_solaris.c: (interface_list_ioctl) Fix subtle bug with new
779 if_get_by_name_len function.
780
7812005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
782
ajsd2fc8892005-04-02 18:38:43 +0000783 * interface.c: (if_new_intern_ifindex) Remove obsolete function.
784 (if_delete_update) After distributing the interface deletion message,
785 set ifp->ifindex to IFINDEX_INTERNAL.
786 (if_dump_vty) Detect pseudo interface by checking if ifp->ifindex is
787 IFINDEX_INTERNAL.
788 (zebra_interface) Check return code from interface_cmd.func.
789 Do not set internal ifindex values to if_new_intern_ifindex(),
790 since we now use IFINDEX_INTERNAL for all pseudo interfaces.
791 * kernel_socket.c: (ifm_read) Fix code and comments to reflect that
792 all internal interfaces now have ifp->ifindex set to IFINDEX_INTERNAL.
793 * rt_netlink.c: (set_ifindex) New function used to update ifp->ifindex.
794 Detects interface rename events by checking if that ifindex is already
795 being used. If it is, delete the old interface before assigning
796 the ifindex to the new interface.
797 (netlink_interface, netlink_link_change) Call set_ifindex to update
798 the ifindex.
799
hassob7ed1ec2005-03-31 20:13:49 +00008002005-03-31 Hasso Tepper <hasso at quagga.net>
801
802 * rt_netlink.c (netlink_talk_filter): Show always warning message,
803 it's not for debug.
804 * rt_netlink.c (netlink_talk): Don't assume we use netlink_cmd
805 although we do now actually.
806 * rt_netlink.c (netlink_route, netlink_route_multipath): Always use
807 netlink_cmd to send messages to the kernel.
808
ajs2da40f42005-03-30 16:33:13 +00008092005-03-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
810
811 * irdp.h: Add prototype for irdp_sock_init, and fix protos for
812 other irdp_* functions.
813 * irdp_interface.c: (irdp_if_start) If irdp_sock is negative,
814 call irdp_sock_init to create the IRDP socket.
815 (irdp_if_init) Rename to irdp_init().
816 (get_iflist_ifp) Remove function that is a duplicate of
817 if_lookup_by_index.
818 (*) Make many functions static. And remove superfluous "\n" from
819 several zlog messages.
820 * irdp_main.c: (irdp_init) Remove function that used to call
821 irdp_if_init() and irdp_sock_init(), since we will now create
822 the socket only upon first use.
823 (irdp_sock_init) Do not update global irdp_sock variable, just
824 return the fd and assume that the caller will do so. If setsockopt
825 calls fail, close the socket before returning -1.
826 (*) Make many functions static.
827 * irdp_packet.c: Initialize irdp_sock to -1.
828 (irdp_read_raw) Call standard library function if_lookup_by_index
829 instead of get_iflist_ifp.
830 (irdp_recvmsg) Should be static, not global.
831
ajsa608bbf2005-03-29 17:03:49 +00008322005-03-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
833
834 * rt_netlink.c: (netlink_link_change) If the status of an
835 operative interface changes (e.g. MTU changes), the client
836 daemons should be notified by calling zebra_interface_up_update.
837 Previously, the information was being updated in zebra's
838 interface structure, but the clients were not notified of
839 changes to an operative interface.
840
vincent7cee1bb2005-03-25 13:08:53 +00008412005-03-25 Jean-Mickael Guerin <jean-mickael.guerin@6wind.com>
842 * interface.c, interface.h, rtadv.c, rtadv.h: modifications to
843 IPv6 Neighbor Discovery according to RFC3775, section 7:
844 o 1-bit Home Agent flag management in Router Advertisement (7.1).
845 o 1-bit Router Address flag management in Prefix Information
846 Option (7.2).
847 o Advertisement Interval Option (7.3)
848 o Home Agent Information Option (7.4)
849 o Changes to Sending Router Advertisements more frequently (7.5)
850
hassoed9bb6d2005-03-13 19:17:21 +00008512005-03-13 Hasso Tepper <hasso at quagga.net>
852
853 * zebra/interaface.c: "show interface description" command
854 implemented.
855
paulc1f01f32005-03-12 06:33:14 +00008562005-03-12 Paul Jakma <paul@dishone.st>
857
858 * rt_netlink.c: (netlink_route_multipath) dont set equalise flag.
859 No stock Linux kernel has ever supported it, and even if it had
860 it's not generally a good idea.
861
hasso42a66d72005-03-07 08:19:44 +00008622005-03-07 Michael Sandee <voidptr@voidptr.sboost.org>
863
864 * if_proc.c, ipforward_proc.c, rtread_proc.c: Fix fd leaks.
865
hasso3452d472005-03-06 13:42:05 +00008662005-03-06 Hasso Tepper <hasso at quagga.net>
867
868 * interface.c: Fix CRC and frame errors statistics in Linux.
869
ajs719e9742005-02-28 20:52:15 +00008702005-02-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
871
872 * zserv.c: Must include network.h and buffer.h for non-blocking I/O.
873 Remove global message_queue and t_write (need separate buffering for
874 each client).
875 (zebra_server_dequeue,zebra_server_enqueue) Remove functions
876 related to old buggy buffering code.
877 (zserv_delayed_close) New thread callback function to delete a client.
878 (zserv_flush_data) New thread callback function to flush buffered
879 data to client.
880 (zebra_server_send_message) Rewritten to use buffer_write (so
881 buffering of writes and non-blocking I/O work properly).
882 (zsend_interface_add,zsend_interface_delete,zsend_interface_address,
883 zsend_interface_update) Return 0 instead of -1 if !client->ifinfo
884 (this is not really an error). Return value from
885 zebra_server_send_message.
886 (zsend_route_multipath,zsend_ipv4_nexthop_lookup,
887 zsend_ipv4_import_lookup) Return value from zebra_server_send_message.
888 (zsend_ipv6_nexthop_lookup) Fix scope to static, and return value
889 from zebra_server_send_message.
890 (zsend_router_id_update) Must use zebra_server_send_message instead
891 of deprecated writen function. Return 0 instead of -1 if this client
892 is not subscribed to router-id updates (since this is not really
893 an error).
894 (zread_interface_add) Change type to static int. If
895 zsend_interface_add fails or zsend_interface_address fails, return -1
896 immediately (since the client has had an I/O error).
897 (zread_interface_delete,zread_ipv4_add,zread_ipv4_delete,
898 zread_ipv6_add,zread_ipv6_delete,zread_router_id_delete) Return 0
899 to indicate success.
900 (zread_ipv4_nexthop_lookup) Return value from
901 zsend_ipv4_nexthop_lookup.
902 (zread_ipv4_import_lookup) Return value from zsend_ipv4_import_lookup.
903 (zebra_read_ipv6) Remove unused function.
904 (zread_ipv6_nexthop_lookup) Return value from
905 zsend_ipv6_nexthop_lookup.
906 (zread_router_id_add) Return value from zsend_router_id_update.
907 (zebra_client_close) Call buffer_free(client->wb) and
908 thread_cancel(client->t_suicide).
909 (zebra_client_create) Allocate client->wb using buffer_new.
910 (zebra_client_read) Support non-blocking I/O by using stream_read_try.
911 Use ZEBRA_HEADER_SIZE instead of 3.
912 (zebra_accept) Fix bug: reset accept thread at top. Make client
913 socket non-blocking using the set_nonblocking function.
914 (config_write_forwarding) Fix scope to static.
915 (zebra_init) Remove initialization code for old buggy write buffering.
916 * zserv.h: Add 2 new fields to struct zserv: struct buffer *wb
917 (to enable buffered writes with non-blocking I/), and
918 struct thread *t_suicide to support delayed close on I/O
919 errors.
920 * router-id.h: Remove prototypes for zread_router_id_add and
921 zread_router_id_delete (their scope should be static to zserv.c).
922
ajs27da3982005-02-24 16:06:33 +00009232005-02-24 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
924
925 * redistribute.c: (zebra_check_addr,is_default,
926 zebra_redistribute_default,zebra_redistribute) Fix scope to be static.
927
hassoe8274dc2005-02-20 19:09:23 +00009282005-02-20 Hasso Tepper <hasso at quagga.net>
929
930 * rt_netlink.c: Don't show messages "ignoring message type 0x001[89]"
931 if we are not debugging.
932
paule31f2292005-02-19 02:00:26 +00009332005-02-19 Paul Jakma <paul@dishone.st>
934
935 * zserv.c: (zebra_read_ipv6) replace the char * arithmetic with
936 STREAM_READABLE.
937
paul1e193152005-02-14 23:53:05 +00009382005-02-14 Paul Jakma <paul@dishone.st>
939
940 * Not all Linux netlink systems have IFLA_WIRELESS
941
ajs6a52d0d2005-01-30 18:49:28 +00009422005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
943
944 * ioctl.c: (if_ioctl,if_ioctl_ipv6,if_get_flags) Replace perror with
945 zlog_err.
946 * ioctl_solaris.c: (if_ioctl,if_ioctl_ipv6) Replace perror with
947 zlog_err.
948
ajs4be019d2005-01-29 16:12:41 +00009492005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
950
ajs4460e7a2005-01-29 17:07:40 +0000951 * if_ioctl_solaris.c: (interface_list_ioctl) Save errno before calling
952 zserv_privs.change.
953 * ioctl{,_solaris}.c: (if_ioctl,if_ioctl_ipv6) Save errno before calling
954 zserv_privs.change.
955 * ipforward_solaris.c: (solaris_nd) Save errno before calling
956 zserv_privs.change.
957 * irdp_main.c: (irdp_sock_init) Save errno before calling
958 zserv_privs.change.
959
9602005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
961
ajs4be019d2005-01-29 16:12:41 +0000962 * rt_netlink.c: (netlink_socket,netlink_request,netlink_parse_info,
963 netlink_talk) Save errno before calling zserv_privs.change.
964
paulc15cb242005-01-24 09:05:27 +00009652005-01-24 Martin Pot <mpot at martybugs.net>
966
967 * zebra/rt_netlink.c: ignore wireless newlink netlink messages.
968
hasso6f2c27a2005-01-18 13:44:35 +00009692005-01-18 Hasso Tepper <hasso at quagga.net>
970
971 * interface.c: Better statistics output in "show interface" command in
972 case of /proc being used.
973
hasso583d8002005-01-16 23:34:02 +00009742005-01-17 Hasso Tepper <hasso at quagga.net>
975
976 * main.c: With --nl-bufsize argument is required.
977
paul865b8522005-01-05 08:30:35 +00009782005-01-05 Paul Jakma <paul@dishone.st>
979
980 * zserv.c: (zebra_accept) Comment out setting of socket to NONBLOCK
981 for now, as we dont actually deal with with resending.... See
982 bugzilla #122, fix from wawa@yandex-team.ru (Vladimir Ivanov).
983 * kernel_socket.c: (routing_socket) ditto.
984
ajsb99760a2005-01-04 16:24:43 +00009852005-01-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
986
987 * rtadv.c: (rtadv_recv_packet,rtadv_send_packet) Use ZCMSG_FIRSTHDR
988 instead of CMSG_FIRSTHDR.
989
ajs341a8f12004-12-22 16:32:16 +00009902004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
991
992 * connected.c: (connected_add_ipv4) Limit warning about /32 addresses
993 with no peer specified to PtP interfaces only.
994
hassob8adec12004-12-18 16:03:28 +00009952004-12-18 Hasso Tepper <hasso at quagga.net>
996
997 * zebra_vty.c: Fix "show ipv6 route <proto>" command help and make it
998 work for isis routes.
999
gdt6a250b02004-12-09 14:48:12 +000010002004-12-09 Greg Troxel <gdt@fnord.ir.bbn.com>
1001
1002 * kernel_socket.c (rtmsg_debug): char * => const char *
1003
ajs274a4a42004-12-07 15:39:31 +000010042004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
1005
ajsb6178002004-12-07 21:12:56 +00001006 * *.c: Change level of debug messages to LOG_DEBUG.
1007
10082004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
1009
ajs274a4a42004-12-07 15:39:31 +00001010 * main.c: (main) The 2nd argument to openzlog has been removed.
1011 So stdout logging will no longer be enabled by default.
1012 * irdp_main.c: (irdp_finish) Reduce severity of shutdown message
1013 from LOG_WARNING to LOG_INFO.
1014
ajs887c44a2004-12-03 16:36:46 +000010152004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
1016
1017 * main.c: (sigint) Use zlog_notice for termination message.
1018 (main) Add a startup announcement using zlog_notice.
1019
hassoaccb1562004-11-25 19:21:07 +000010202004-11-25 Hasso Tepper <hasso at quagga.net>
1021
1022 * irdp_interface.c: Remove comment from DEFUN, it breaks vtysh because
1023 it confuses extract.pl.
hassoc0652302004-11-25 19:33:48 +00001024 * main.c: Make group to run as configurable.
hassoaccb1562004-11-25 19:21:07 +00001025
hasso6bd7c6a2004-10-28 17:32:27 +000010262004-10-28 Hasso Tepper <hasso at quagga.net>
1027
1028 * interface.c: Remove dead "ip tunnel" command.
1029
paul06f953f2004-10-22 17:00:38 +000010302004-10-22 Paul Jakma <paul@dishone.st>
1031
1032 * irdp_main.c: change setsockopt_pktinfo to setsockopt_ifindex
1033
hasso3fb9cd62004-10-19 19:44:43 +000010342004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
1035
1036 * rt_netlink.c: (netlink_interface_addr) For PtP interfaces, ignore
1037 tb[IFA_ADDRESS] if it's the same as tb[IFA_LOCAL].
1038 * interface.c: (ip_address_install) Use new ipv4_broadcast_addr
1039 function.
1040 * connected.c: (connected_up_ipv4) Use CONNECTED_POINTOPOINT_HOST
1041 macro.
1042 (connected_down_ipv4) ditto.
1043 (connected_add_ipv4) Validate destination address, print warnings
1044 if it does not make sense.
1045
hassoc1eaa442004-10-19 06:26:01 +000010462004-10-19 Hasso Tepper <hasso at quagga.net>
1047
1048 * zserv.c: Fix regression introduced with zserv cleanup.
1049
hassoc75105a2004-10-13 10:33:26 +000010502004-10-13 Hasso Tepper <hasso at quagga.net>
1051
1052 * zebra_snmp.c: Remove defaults used to initialize smux connection to
1053 snmpd. Connection is initialized only if smux peer is configured.
hassob71f00f2004-10-13 12:20:35 +00001054 * zserv.c: Remove useless warnings "forwarding is already on".
hassoc75105a2004-10-13 10:33:26 +00001055
hasso39ff11d2004-10-12 15:55:19 +000010562004-10-12 Hasso Tepper <hasso at quagga.net>
1057
1058 * zebra_vty.c: Unbreak "show ip route" command help and make it work
1059 for isis routes.
hasso39db97e2004-10-12 20:50:58 +00001060 * interface.c(if_dump_vty): Show IPv6 addresses in "show interface"
1061 output. Fixes Bugzilla #119.
1062 * *.c: Make some strings const and some (unsigned) casts to fix
1063 compiler warnings.
hasso39ff11d2004-10-12 15:55:19 +00001064
hassofce954f2004-10-07 20:29:24 +000010652004-10-07 Hasso Tepper <hasso at quagga.net>
1066
1067 * connected.c, main.c, rt_netlink.c, rtadv.c, zebra_rib.c, zserv.c:
1068 Fix warnings: make strings const, signed -> unsigned.
1069
paul72164662004-10-05 14:39:43 +000010702004-10-05 Paul Jakma <paul@dishone.st>
1071
1072 * irdp_packet.c: (parse_irdp_packet) style issues.
1073 Use sockopt_iphdrincl_swab_systoh.
1074 Try unbork the code. Checksum the ICMP data and actually
1075 compare it to received checksum. Check data length against
1076 claimed length in header.
1077 Always use ntoh.. when accessing addresses, even when the
1078 comparison happens to be endian-safe.
1079 (send_packet) minor style isues. Use
1080 sockopt_iphdrincl_swab_htosys.
1081 (irdp_iph_hton/ntoh) IP header to/from network/host order.
1082
hassoeef1fe12004-10-03 18:46:08 +000010832004-10-03 Gilad Arnold <gilad.arnold at terayon.com>
1084
1085 * interface.c, interface.h: A new prefix tree of connected subnets is
1086 associated with each interface structure in zebra, in which each
1087 live (ie, non-synthetic) node holds a list of installed addresses
1088 that belong to that prefix. Remove secondary address logic from cli.
1089 See [quagga-dev 872] for detailed explanation.
1090 * connected.c: Use if_subnet_add() and if_subnet_delete().
1091
hasso18a6dce2004-10-03 18:18:34 +000010922004-10-03 James R. Leu <jleu at mindspring.com>
1093
1094 * router-id.c, router-id.h: New files. Router id selection process. If
1095 there is non 127.x.x.x address in loopack interface, lowest of them
1096 is chosen. If there isn't, lowest from other interfaces addresses
1097 are chosen. "router-id x.x.x.x" vty command to manual override.
1098 * Makefile.am: Compile new files.
1099 * main.c: Initialize router id.
1100 * redistribute.c: Add interface addresses into router id selection
1101 lists as they (dis)appear.
1102 * zserv.c, zserv.h: Sending router id related messages to daemons.
1103
hassoc9e52be2004-09-26 16:09:34 +000011042004-09-26 Hasso Tepper <hasso at quagga.net>
1105
1106 * irdp_interface.c, irdp_main.c, irdp_packet.c, rt_netlink.c,
1107 rtadv.c, zebra_vty.c: Fix compiler warnings.
1108
paul0c0f9112004-09-24 08:24:42 +000011092004-09-24 Paul Jakma <paul@dishone.st>
1110
paul26f7a242004-09-24 08:45:10 +00001111 * irdp_interface.c: (no_ip_irdp_address_preference_cmd)
1112 add missing listnode declaration.
1113
11142004-09-24 Paul Jakma <paul@dishone.st>
1115
paul0c0f9112004-09-24 08:24:42 +00001116 * irdp_{interface,main}.c: lists typedef removal cleanup.
1117 update some list loops to LIST_LOOP. some miscellaneous style
1118 and indent fixups.
1119 (no_ip_irdp_address_preference_cmd) Fix delete of referenced node
paul26f7a242004-09-24 08:45:10 +00001120 in loop.
paul0c0f9112004-09-24 08:24:42 +00001121 * irdp_packet.c: (irdp_recvmsg) Fix buggy assignment of integer
1122 to pointer.
1123 * if_ioctl{,_solaris}.c: lists typedef removal cleanup.
1124 update some list loops to LIST_LOOP.
1125
hasso52dc7ee2004-09-23 19:18:23 +000011262004-09-23 Hasso Tepper <hasso at quagga.net>
1127
1128 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
1129
paul44983cf2004-09-22 13:15:58 +000011302004-09-22 Paul Jakma <paul.jakma@sun.com>
1131
1132 * zserv.c: (zsend_route_multipath) fix nasty bad memset of struct
1133 in_addr to sizeof(struct in6_addr), causing odd and hard to debug
1134 crash.
1135
hassoc34b6b52004-08-31 13:41:49 +000011362004-08-31 Hasso Tepper <hasso at quagga.net>
1137
1138 * main.c, rt_netlink.c: Added -s command line switch for tuning
1139 netlink receive buffer size in Linux to avoid buffer overruns.
1140
gdta5ea6872004-08-26 13:24:00 +000011412004-08-26 Miles Nordin <carton@Ivy.NET>
1142
1143 * ipforward_sysctl.c (mib_ipv6): Use size_t for len, per
1144 sysctl(3), rather than int. (Needed on NetBSD/alpha to display
1145 forwarding status correctly.)
1146
paul3e0b3a52004-08-23 18:58:32 +000011472004-08-23 Paul Jakma <paul@dishone.st>
1148
1149 * zserv.c: (zebra_init) remove implicit ip forward enabling
1150
paul0de1cde2004-08-19 04:45:33 +000011512004-08-19 Paul Jakma <paul@dishone.st>
1152
1153 * irdp_main.c: update to match sockopt renames.
1154 * irdp_packet.c: include sockopt.h and update to match sockopt
1155 renames.
1156
gdt57492d52004-08-11 18:06:38 +000011572004-08-11 Greg Troxel <gdt@fnord.ir.bbn.com>
1158
1159 * rtadv.c (rtadv_send_packet): Allocate space for control messages
1160 more carefully; it was wrong on NetBSD/sparc where CMSG alignment
1161 is to 8 bytes instead of 4, and overwriting the address. Use the
1162 provided macros for determining lengths.
1163
paul5b73a672004-07-23 15:26:14 +000011642004-07-23 Sowmini Varadhan <Sowmini.Varadhan@Sun.COM>
1165
1166 * if_ioctl_solaris.c: HAVE_IPV6 ifdef fixups
1167 * zserv.c: ditto
1168 * ioctl_solaris.c: ditto.
1169 * interface.c: cast for LLADDR
1170 * interface.h: Add guards, include redistribute.h and remove
1171 extraneous definitions of zebra_interface_{up,down}_update
1172 * ioctl.h: Add AF_IOCTL define for non SOLARIS_IPV6
1173 * redistribute.h: include dependent header, zserv.h
1174 * zserv.h: include dependent header, rib.h
1175
paul1470baf2004-07-23 15:25:01 +000011762004-07-23 Paul Jakma <paul@dishone.st>
1177
1178 * irdp_main.c: use setsockopt_pktinfo_ipv4
1179 * irdp_packet.c: use SOPT_SIZE_CMSG_PKTINFO_IPV4 and
1180 getsockopt_pktinfo_ifindex()
1181
gdtcced60d2004-07-13 16:45:54 +000011822004-07-13 David Wiggins <dwiggins@bbn.com
1183
1184 * kernel_socket.c (rtm_flag_dump): terminate buffer with '\0', not '0'.
1185
hasso25dac852004-07-13 03:06:51 +000011862004-07-13 Hasso Tepper <hasso@estpak.ee>
1187
1188 * irdp_main.c: Add privilege change.
1189
hasso996933f2004-07-12 16:32:56 +000011902004-07-12 Hasso Tepper <hasso@estpak.ee>
1191
1192 * irdp_interface.c: follow common style while naming vty command
1193 functions. Avoids confusion in extract.pl.
1194
gdt87efd642004-06-30 17:36:11 +000011952004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
1196
1197 * main.c: define thread_master variable so that linking with
1198 libzebra.so doesn't fail. Arguably zclient.o should be in a
1199 separate library, but this is far less disruptive.
1200
hassoca776982004-06-12 14:33:05 +000012012004-06-12 Robert Olsson <Robert.Olsson at data.slu.se>
1202
1203 * Added IRDP support.
1204
hasso3e31cde2004-05-18 11:58:59 +000012052004-05-18 Hasso Tepper <hasso@estpak.ee>
1206
1207 * rtadv.c: Removed "[no] ipv6 nd send-ra" command. Replaced "ipv6 nd
1208 prefix-advertisement" with "ipv6 nd prefix". Rewrite syntax of
1209 "ipv6 nd prefix" command to allow various combinations of parameters
1210 and flags. No defaults in configuration. Replaced on-link and
1211 autoconfig with off-link and no-autoconfig flags in command syntax.
1212 Cosmetic fixes in all commands. Documentation to reflect all changes.
1213
paul19877dd2004-05-11 10:49:35 +000012142004-05-11 Paul Jakma <paul@dishone.st>
1215
1216 * Makefile.am: support for IOCTL_METHOD, as per Sowmini's patch.
paul48a46fa2004-05-11 10:55:22 +00001217 * if_ioctl_solaris.c: Fixup some erroneous privilege changes and
1218 add privs.h header.
1219 * ioctl_solaris.c: ditto
paulc50ae8b2004-05-11 11:31:07 +00001220 * ioctl.h: Add if_ioctl_ipv6 prototype and AF_IOCTL for SOLARIS_IPV6
1221 * kernel_socket.c: Fix SAROUNDUP, compiler doesnt like do..while
1222 RHS in assignments :)
1223 * redistribute.c: (zebra_interface_delete_update) only used
1224 if RTM_IFANNOUNCE and NETLINK is available.
1225
paulb9df2d22004-05-09 09:09:59 +000012262004-05-09 Paul Jakma <paul@dishone.st>
1227
1228 * zserv.c: (zsend_route_multipath) Set the nexthop_num
1229 field correctly. Add NEXTHOP_TYPE_IPV6_IFNAME for v6.
1230 Conditionally set ZAPI_MESSAGE_METRIC flag - only for adds.
1231 (zsend_ipv4_add) cruft, deleted.
1232 (zsend_ipv4_delete) ditto.
1233 (zsend_ipv6_add) ditto.
1234 (zsend_ipv6_delete) ditto.
paul44145db2004-05-09 11:00:23 +00001235 * ioctl.c: (if_get_mtu) set mtu6 to mtu
1236 * mtu_kvm.c: (if_kvm_get_mtu) set mtu6 to mtu
1237 * rt_netlink.c: (netlink_interface) set mtu6 to mtu
1238 (netlink_link_change) ditto
paul66e94882004-05-09 17:19:24 +00001239 * ipforward_solaris.c: fix typo of ND variable.
paul88424682004-05-09 18:21:35 +00001240 * if_ioctl_solaris.c: Add zprivs support.
1241 * ioctl_solaris.c: ditto.
paul66e94882004-05-09 17:19:24 +00001242
paulb9df2d22004-05-09 09:09:59 +000012432004-05-09 Sowmini Varadhan <sowmini.varadhan@sun.com>
1244
1245 * zserv.c: (zsend_ipv{4,6}_{add,delete}_multipath) collapsed
1246 into single zsend_route_multipath function.
1247 (zsend_interface_{up,down}) collapsed into zsend_interface_update.
1248 (zsend_interface_address_{add,delete}) collapsed into
1249 zsend_interface_address.
1250 (zsend_interface_add) send mtu6.
1251 (zsend_interface_delete) ditto.
1252 (zebra_write) remove unused function.
1253 (various) Apply static qualifier. Add comments.
1254 * zserv.h: Definitions changed as per above.
1255 * redistribute.c: Changes as per zserv.c.
paul44145db2004-05-09 11:00:23 +00001256 * interface.c: (if_delete_update) only used with HAVE_NETLINK
1257 and RTM_IFANNOUNCE.
1258 (if_flag_dump_vty) Solaris IFF_IPV4 and IFF_IPV6 if flags
1259 (if_dump_vty) print mtu6 if not same as mtu
paul88424682004-05-09 18:21:35 +00001260 * if_ioctl_solaris.c: New file, Solaris interface ioctl methods.
1261 * ioctl_solaris.c: New file, Common solaris ioctl methods.
1262
hasso34195bf2004-04-06 12:07:06 +000012632004-04-06 Krzysztof Oledzki <oleq@ans.pl>
1264
1265 * rt_netlink.c: Do not ignore metric when reading kernel routing
1266 table on Linux with rt_netlink interface.
1267
12682004-03-18 Hasso Tepper <hasso@estpak.ee>
hassof1d92e12004-03-18 15:40:33 +00001269
1270 * interface.c: Temporary fix for handling secondary addresses
1271 with label.
1272
hasso55906722004-02-11 22:42:16 +000012732004-02-12 Hasso Tepper <hasso@estpak.ee>
hassof1d92e12004-03-18 15:40:33 +00001274
hasso55906722004-02-11 22:42:16 +00001275 * zserv.c: Added "ipv6 forwarding" command.
1276
gdtb27900b2004-01-08 15:44:29 +000012772004-01-08 Greg Troxel <gdt@fnord.ir.bbn.com>
1278
1279 * kernel_socket.c (kernel_read): Use sockaddr_storage in buffer
1280 for reading kernel messages to ensure enough space (necessary on
1281 Solaris due to sockaddr_dl being large). Thanks to Sowmini
1282 Varadhan for help with this change.
1283
gdt9ccabd12004-01-06 18:23:02 +000012842004-01-06 Greg Troxel <gdt@t1.ir.bbn.com>
1285
1286 * rtadv.c (rtadv_send_packet): Change perror to zlog_err.
1287
gdtdbee01f2004-01-06 00:36:51 +000012882004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
gdt4bfbea82004-01-06 01:13:05 +00001289 * kernel_socket.c (ifm_read): Major cleanup. Use Sowmini's code
1290 to find the sockaddr_dl in all cases, narrowing the Solaris ifdef
1291 to just the accomodation of broken kernels. Check sockaddr_dl
1292 carefully up front, and later assume any non-NULL sdl pointer is
1293 valid. Clean up types and variable declarations, and rename
1294 WRAPUP to SAROUNDUP to make the name fit the behavior.
1295
12962004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
gdtdbee01f2004-01-06 00:36:51 +00001297
1298 * kernel_socket.c (kernel_read): Add a sockaddr_dl to the ifmsg
1299 structure, because on Solaris sockaddr_dl is far larger than the
1300 base sockaddr structure. (The code had previously been failing to
1301 read all the data.)
gdt4bfbea82004-01-06 01:13:05 +00001302
gdtda26e3b2004-01-05 17:20:59 +000013032004-01-05 Greg Troxel <gdt@ahi.ir.bbn.com>
1304
1305 * kernel_socket.c (kernel_read): Look up interfaces by index
1306 first, so that state changes which do not include a sockaddr_dl
1307 now work. Add many sanity checks. In
1308 particular, do not assume that a sockaddr_dl follows a message
1309 without checking the ifm_addrs flags, and do not trust the length
1310 in a sockaddr_dl. Add/clarify many comments.
1311
gdt4b5e1352003-12-03 17:54:34 +000013122003-12-03 Greg Troxel <gdt@poblano.ir.bbn.com>
1313
1314 * rtadv.c: reorder includes to avoid compiler warning (define
1315 structs before using them in prototypes)
1316
hasso647e4f12003-05-25 11:43:52 +000013172003-05-25 Jim Crumpler <Jim.Crumpler@edion.com>
1318
1319 * zserv.c: Add "ip forwarding" command.
1320
paul445f1432003-05-16 19:00:31 +000013212003-05-16 Gilad Arnold <gilad.arnold@terayon.com>
1322
1323 * zebra_rib.c: Fix memory leaks for ifname nexthops
1324
13252003-04-19 Israel Keys <ikeys@agile.tv>
1326
1327 * rt_netlink.c: BLOCK on netlink while initialising
1328
13292003-02-06 Francois Deppierraz <francois@ctrlaltdel.ch>
1330
1331 * rt_netlink.c (netlink_route_multipath): Set RTM_F_EQUALIZE when
1332 it exists.
1333
paul718e3742002-12-13 20:15:29 +000013342002-09-28 Akihiro Mizutani <mizutani@net-chef.net>
1335
1336 * zebra_rib.c (static_add_ipv4): Null0 static route is added.
1337
13382002-09-10 Jochen Friedrich <chris+zebra@scram.de>
1339
1340 * rt_netlink.c: Add check for EAGAIN.
1341 * kernel_socket.c: Likewise
1342
13432002-06-12 Israel Keys <ikeys@oz.agile.tv>
1344
1345 * rt_netlink.c: Setting the NLM_F_ACK flag on the netlink command
1346 message so that we get an ACK for successful netlink commands.
1347 Change the netlink socket to BLOCKING while we wait for a
1348 response; be it an ACK or an NLMSG_ERROR. Change
1349 netlink_parse_info to deal with ACK messages.
1350
13512001-11-01 Jun-ichiro itojun Hagino <itojun@iijlab.net>
1352
1353 * rtadv.c (rtadv_make_socket): setsockopt(IPV6_CHECKSUM) does not
1354 work for ICMPv6 socket.
1355
13562001-10-24 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
1357
1358 * rib.c (rib_process): Select connected route any case.
1359
13602001-10-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
1361
1362 * interface.c (no_ip_address_secondary): Add "no" to command.
1363
13642001-10-18 NOGUCHI Kay <kay@v6.access.co.jp>
1365
1366 * ioctl.c (if_prefix_add_ipv6): Set the prefered and valid lifetime
1367 to infinity as the freebsd4.4 workaroud.
1368
13692001-08-26 mihail.balikov@interbgc.com
1370
1371 * zebra_snmp.c: Fix snmpwalk problem such as IPv4 address
1372 A.B.C.255.
1373
13742001-08-22 NOGUCHI Kay <kay@v6.access.co.jp>
1375
1376 * rtadv.c: Do not send RA to loopback interface.
1377
13782001-08-20 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
1379
1380 * ioctl.c (if_set_prefix): Remove Linux 2.0 specific connected
1381 route treatment.
1382
13832001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
1384
1385 * zebra-0.92a released.
1386
13872001-08-17 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
1388
1389 * rib.c: Kernel route is treated as EGP routes in nexthop active
1390 check.
1391
13922001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
1393
1394 * zebra-0.92 released.
1395
13962001-08-08 "Akihiro Mizutani" <mizutani@dml.com>
1397
1398 * rib.c (show_ip_route_prefix_longer): Add longer-prefix option to
1399 show route commands.
1400
14012001-07-29 Yon Uriarte <havanna_moon@gmx.net>
1402
1403 * zserv.c (zsend_ipv4_add_multipath): Add
1404 NEXTHOP_TYPE_IPV4_IFINDEX check.
1405
14062001-07-29 NOGUCHI Kay <kay@v6.access.co.jp>
1407
1408 * rtadv.c: Apply valid lifetime, preferred lifetime, onilnk flag,
1409 autonomous address-configuration flag patch.
1410 (no_ipv6_nd_suppress_ra): Change "ipv6 nd send-ra" to "no ipv6 nd
1411 suppress-ra".
1412
14132001-07-24 NOGUCHI Kay <kay@v6.access.co.jp>
1414
1415 * rtadv.c (ipv6_nd_ra_interval): Add "ipv6 nd ra-interval SECONDS"
1416 command.
1417
14182001-07-24 Jun-ichiro itojun Hagino <itojun@iijlab.net>
1419
1420 * rt_socket.c (kernel_rtm_ipv4): Add KAME/NetBSD151 equal cost
1421 multicast FIB support both IPv4 and IPv6.
1422
14232001-07-24 Hal Snyder <hal@vailsys.com>
1424
1425 * if_ioctl.c (interface_list_ioctl): Fix bug of failing to get the
1426 full list of interfaces on some configurations of OpenBSD.
1427
14282001-07-23 NOGUCHI Kay <kay@v6.access.co.jp>
1429
1430 * rtadv.c (ipv6_nd_send_ra): Apply [zebra 9320] to fix "ipv6 nd
1431 send-ra" bug.
1432 (ipv6_nd_ra_lifetime): "ipv6 nd ra-lifetime 0" for default router
1433 availability.
1434 (ipv6_nd_managed_config_flag): "ipv6 nd managed-config-flag" is
1435 added.
1436 (ipv6_nd_other_config_flag): "ipv6 nd other-config-flag" is added.
1437
14382001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
1439
1440 * ioctl.c (if_ioctl): Change ioctl argument from int to u_long.
1441
1442 * rt_ioctl.c: Likewise.
1443
14442001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
1445
1446 * kernel_socket.c (rtm_write): Only set RTF_CLONING when the
1447 interface is not p2p.
1448
14492001-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1450
1451 * ioctl.c (if_prefix_add_ipv6): Fix argument type.
1452
14532001-04-06 Toshiaki Takada <takada@zebra.org>
1454
1455 * zserv.c (zsend_interface_delete): Use client->obuf instead of
1456 allocating new stream.
1457
14582001-03-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1459
1460 * rt_netlink.c: Revert RTPROT_BOOT change.
1461
14622001-03-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1463
1464 * rt_netlink.c (netlink_route_change): Skip RTPROT_BOOT route.
1465 (netlink_routing_table): Likewise.
1466
14672001-03-07 "Akihiro Mizutani" <mizutani@dml.com>
1468
1469 * zserv.c (zsend_ipv4_add_multipath): Send metric value to
1470 protocol daemons.
1471
14722001-02-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1473
1474 * rt_netlink.c (netlink_routing_table): Do not return
1475 tb[RTA_GATEWAY] is NULL. Reported by: "Michael O'Keefe"
1476 <mokeefe@qualcomm.com>.
1477
14782001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1479
1480 * if_ioctl.c (interface_list_ioctl): Call if_add_update().
1481 Suggested by: Chris Dunlop <chris@onthe.net.au>.
1482
14832001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1484
1485 * rib.c (nexthop_active_ipv4): When nexthop type is
1486 NEXTHOP_TYPE_IPV4_IFINDEX, propery set the ifindex to rifindex.
1487
1488 * zserv.c: Initialize rtm_table_default with 0.
1489
1490 * zebra-0.91 is released.
1491
14922001-01-31 Kunihiro Ishiguro <kunihiro@zebra.org>
1493
1494 * kernel_socket.c (rtm_read): Filter cloned route. Suggested by:
1495 Jun-ichiro itojun Hagino <itojun@iijlab.net>
1496
14972001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1498
1499 * connected.c (connected_up_ipv6): When point-to-point destination
1500 address is ::, use local address for connected network.
1501 (connected_down_ipv6): Likewise.
1502
15032001-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1504
1505 * zserv.c (zebra_serv): Add missing close() call. Reported by:
1506 David Waitzman <djw@vineyard.net>.
1507
15082001-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
1509
1510 * rib.c (rib_lookup_ipv4): New function for checking exact match
1511 IGP route.
1512
15132001-01-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1514
1515 * rib.c (show_ipv6_route_protocol): Fix bug of "show ip route
1516 route-type".
1517
15182001-01-22 Kunihiro Ishiguro <kunihiro@zebra.org>
1519
1520 * interface.c (zebra_interface): Do not call
1521 zebra_interface_add_update for inactive interface.
1522
1523 * zserv.c (zsend_interface_address_add): Send interface address
1524 flag.
1525 (zsend_interface_address_delete): Likewise.
1526
15272001-01-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1528
1529 * interface.c (if_addr_add): Add flags.
1530
1531 * connected.c (ifa_add_ipv4): Add new function for interface
1532 address handling.
1533 (ifa_delete_ipv4): Likewise.
1534
15352001-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1536
1537 * rib.c (rib_update): Update IPv6 RIB.
1538
1539 * kernel_socket.c (ifam_read): Call if_refresh() for update
1540 interface flag status. This is for implicit interface up on *BSD.
1541
1542 * interface.c (if_refresh): Add interface flag refresh function.
1543
1544 * kernel_socket.c (rtm_read): Fetch link-local address interface
1545 index.
1546 (ifan_read): We need to fetch interface information. Suggested
1547 by: Yasuhiro Ohara <yasu@sfc.wide.ad.jp>.
1548
1549 * rib.c (static_ipv6_nexthop_same): Add check for
1550 NEXTHOP_TYPE_IPV6_IFNAME.
1551
15522001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1553
1554 * rib.h (NEW_RIB): Turn on NEW_RIB flag. IPv6 new RIB code are
1555 taken into place.
1556
15572001-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1558
1559 * rib.c (static_ipv6_write): Display STATIC_IPV6_GATEWAY_IFNAME
1560 configuration.
1561 (rib_delete_ipv6): Handle same route conter for IPv6 connected
1562 route.
1563 (show_ipv6_route_protocol): New command.
1564 (show_ipv6_route_addr): Likewise.
1565 (show_ipv6_route_prefix): Likewise.
1566 (rib_update): Sweep kernel route when it is cleaned up.
1567
1568 * rt_socket.c (kernel_add_ipv6): Add NEXTHOP_IPV6_IFNAME
1569 treatmenet.
1570
1571 * rt_netlink.c (kernel_init): Likewise.
1572
1573 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): Likewise.
1574
1575 * rib.c (rib_add_ipv4): Cope with same connected route on a
1576 interface. Suggested by: Matthew Grant <grantma@anathoth.gen.nz>.
1577 (nexthop_ipv6_ifname_add): Add NEXTHOP_IPV6_IFNAME treatmenet.
1578
1579 * rib.h (struct new_rib): Add refcnt to keep track on the
1580 reference of same connected route.
1581
1582 * ioctl.c (if_set_prefix): Add check for GNU_LINUX.
1583
15842001-01-13 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1585
1586 * kernel_socket.c (ifan_read, rtm_type_str): Add RTM_OIFINFO check.
1587 (rtm_type_str): Add RTM_IFANNOUNCE check.
1588 (ifan_read): New function.
1589 (kernel_read): Add case for RTM_IFANNOUNCE.
1590
15912001-01-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1592
1593 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): New function.
1594
1595 * rt_netlink.c (netlink_route_multipath): IPv6 address ifindex
1596 treatment.
1597
1598 * connected.c (connected_up_ipv6): Add dest value check.
1599
1600 * rib.c (nexthop_active_ipv6): Do not touch IPv6 nexthop's
1601 ifindex.
1602 (rib_add_ipv4): Import rib_add_ipv6() same route check code.
1603 (nexthop_active_check): NEXTHOP_TYPE_IPV6_IFINDEX activity is only
1604 checked by ifindex.
1605
1606 * rt_socket.c (kernel_rtm_ipv6_multipath): New function.
1607
1608 * redistribute.c (redistribute_add): Use
1609 zsend_ipv6_add_multipath().
1610 (redistribute_delete_multipath): Use
1611 zsend_ipv6_delete_multipath().
1612
1613 * interface.c (ip_address): Check current IP address to avoid
1614 duplicate.
1615
1616 * rib.c (rib_delete_ipv4): When deleted route is connected route,
1617 check ifindex.
1618 (rib_add_ipv4): When connected route is added do not perform
1619 implicit withdraw.
1620 (rib_delete_ipv4): Check ifindex for connected route.
1621
1622 * kernel_socket.c (rtm_read): When route has RTF_STATIC, set
1623 ZEBRA_FLAG_STATIC for indicate as persistent route.
1624 (ifam_read): Unset interface index from link-local address when
1625 IPv6 stack is KAME.
1626
1627 * rib.c (rib_update): Do not delete persistent kernel route.
1628
1629 * rib.h (struct new_rib): Integrate RIB_FLAG_* to ZEBRA_FLAG_*.
1630
1631 * rt_socket.c (kernel_add_ipv6_multipath): Add placeholder.
1632 (kernel_delete_ipv6_multipath): Likewise.
1633
1634 * rt_netlink.c (netlink_talk): Give struct nlsock to netlink_talk.
1635
16362001-01-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1637
1638 * rib.c (rib_update): Revert Matthew Grant's patch
1639 zebra_cvs_newribfix.patch. Use struct rib->ifindex for kernel
1640 interface index. Introduce NEXTHOP_TYPE_IPV4_IFINDEX to support
1641 that. Add support for address deletion situation.
1642
16432001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1644
1645 * interface.c: Remove HAVE_IF_PSEUDO part.
1646
1647 * rib.h: Likewise.
1648
1649 * rt_netlink.c (netlink_link_change): Likewise.
1650
16512001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1652
1653 * zserv.c: Remove OLD_RIB codes.
1654
16552001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1656
1657 * zebra-0.90 is released.
1658
16592001-01-09 Matthew Grant <grantma@anathoth.gen.nz>
1660
1661 * interface.c (if_new_intern_ifindex): Allocate a new internal
1662 interface index.
1663 (if_addr_refresh): Fix up ip addresses configured via zebra.
1664 (if_add_update): Handle an interface addition.
1665 (if_delete_update): Handle an interface delete event.
1666
1667 * rib.c (nexthop_ipv4_add): Add kernel route deletion process when
1668 interface goes down.
1669
16702001-01-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1671
1672 * interface.c (if_dump_vty): When HAVE_NET_RT_IFLIST is defined,
1673 NetBSD also use this function. Suggested by Jasper Wallace
1674 <jasper@ivision.co.uk>.
1675
16762001-01-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1677
1678 * rib.c (nexthop_active_ipv4): Move back to set methodo to old
1679 one.
1680
16812001-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1682
1683 * rib.c (rib_add_ipv4): EBGP multihop set ZEBRA_FLAG_INTERNAL
1684 flag, so treat it.
1685
16862001-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1687
1688 * rt_netlink.c (netlink_talk_ipv6): When IPv6 route message is
1689 sent from netlink_cmd, the same message comes from netlink. To
1690 avoid confusion, temporary netlink_talk_ipv6 use netlink.sock
1691 instead of netlink_cmd.sock.
1692
16932001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1694
1695 * zserv.h (ZEBRA_SERV_PATH): Change "/tmp/zebra" to "/tmp/.zebra".
1696 Change "/tmp/zserv" to "/tmp/.zserv".
1697
16982000-12-29 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
1699
1700 * rt_netlink.c (struct nlsock): Divide kernel message into listen
1701 socket and command socket.
1702 (netlink_talk): Remove socket listen code. Use netlink_parse_info
1703 for read kernel response.
1704
17052000-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1706
1707 * rib.c (vty_show_ip_route): Show uptime of the RIP,OSPF,BGP
1708 routes.
1709
17102000-12-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1711
1712 * rt_netlink.c (netlink_route_multipath): Metric value is
1713 reflected to kernel routing table.
1714
1715 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Likewise.
1716
1717 * kernel_socket.c (rtm_write): Likewise.
1718
1719 * rib.c (nexthop_active_ipv4): Only iBGP route perform recursive
1720 nexthop lookup.
1721
1722 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Add ioctl version of
1723 new RIB implementation.
1724
17252000-12-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1726
1727 * rib.h: Remove MULTIPATH_NUM. It is defined by configure script.
1728
17292000-12-25 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1730
1731 * rib.c (rib_if_up): Call rib_fib_set instead of RIB_FIB_SET for
1732 proper redistribution.
1733
17342000-12-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1735
1736 * rib.c (nexthop_active_ipv4): Add self lookup nexthop check.
1737 (show_ip_route_protocol): Support new RIB.
1738
1739 * rt_netlink.c (netlink_route_change): Do not return when gate is
1740 NULL.
1741
17422000-12-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1743
1744 * rib.c (rib_lookup_ipv4_nexthop): IBGP nexthop check function is
1745 updated.
1746 (rib_add_ipv4): Free implicit withdraw route's RIB.
1747
17482000-12-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1749
1750 * rib.c (nexthop_active_ipv4): Check indirect nexthop.
1751
1752 * redistribute.c (redistribute_add_multipath): Redistribution
1753 works with new rib code.
1754
17552000-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1756
1757 * rt_netlink.c (netlink_route_multipath): Check useful nexthop
1758 number.
1759 (netlink_route_multipath): Clear rtnh_flags and rtnh_hops.
1760
1761 * rib.c (nexthop_active_update): Set flag for the rib's nexthop
1762 activity is changed.
1763 (nexthop_active_check): Before checking interface is up, make it
1764 sure the interface exist.
1765
17662000-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1767
1768 * rib.c (ip_route): New RIB prototype.
1769
17702000-11-16 Yon Uriarte <ukl2@rz.uni-karlsruhe.de>
1771
1772 * zserv.c (zsend_interface_add): Send hardware address when
1773 hw_addr_len is greater than 0.
1774
17752000-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1776
1777 * connected.c (connected_up_ipv4): Fix ptop bug. The destination
1778 network should be installed into routing table.
1779 (connected_down_ipv4): Likewise.
1780 (connected_add_ipv4): Change to use connected_up_ipv4.
1781 (connected_delete_ipv4): Likewise.
1782
17832000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1784
1785 * rt_netlink.c (netlink_interface_addr): Revert Harald Welte
1786 <laforge@gnumonks.org>'s ptop patch then back to original code to
1787 avoid duplicated connected route problem. Suggested by Frank van
1788 Maarseveen <F.vanMaarseveen@inter.NL.net>.
1789
1790 * kernel_socket.c (rtm_read): Make behavior consistent even #ifdef
1791 DEBUG is defined. Reported by Jun-ichiro itojun Hagino
1792 <itojun@iijlab.net>.
1793
17942000-10-23 Jochen Friedrich <jochen@scram.de>
1795
1796 * main.c (main): Call zebra_snmp_init() when it is enabled.
1797
17982000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1799
1800 * zserv.c (zebra_serv_un): UNIX domain socket server of zebra
1801 protocol.
1802
18032000-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1804
1805 * rib.c (rib_add_ipv4): Same check bug is fixed.
1806
18072000-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1808
1809 * rib.c (rib_if_down): Remove kernel route when the interface goes
1810 down.
1811
1812 * debug.c: New command "debug zebra kernel" is added.
1813
18142000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1815
1816 * zebra-0.89 is released.
1817
18182000-09-24 Harald Welte <laforge@gnumonks.org>
1819
1820 * rt_netlink.c (netlink_interface_addr): Fix point-to-point address
1821 treatment in netlink interface.
1822
18232000-09-21 David Lipovkov <dlipovkov@OpticalAccess.com>
1824
1825 * rib.c (rib_if_down): Pull static route only. Protocol daemon
1826 must withdraw routes when interface goes down.
1827 (rib_add_ipv4): Check nexthop when replace route.
1828
18292000-09-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1830
1831 * if_ioctl.c (if_getaddrs): New function for looking up
1832 interface's address by getifaddrs().
1833
18342000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1835
1836 * connected.c (connected_delete_ipv4): Add check for connected
1837 address is found or not.
1838 (connected_add_ipv6): Reflect IPv6 connected address change to
1839 protocol daemons.
1840 (connected_delete_ipv6): Likewise.
1841
18422000-09-07 David Lipovkov <davidl@nbase.co.il>
1843
1844 * rib.c (rib_delete_ipv4): Reverted the change from pseudo
1845 interface patch to original. Because ospfd deletes routes using
1846 zero ifindex.
1847
18482000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1849
1850 * zebra-0.88 is released.
1851
18522000-08-15 "Akihiro Mizutani" <mizutani@dml.com>
1853
1854 * rib.c (show_ip_route_protocol): Help string correction.
1855 (show_ip_route_prefix): Check prefix mask.
1856 (show_ip_route_vty_detail): Display distance and metric.
1857
18582000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1859
1860 * zserv.c (zsend_interface_add): Change ifindex store size from
1861 two octet to four.
1862 (zsend_interface_delete): Likewise.
1863 (zsend_interface_address_add): Likewise.
1864 (zsend_interface_address_delete): Likewise.
1865 (zsend_interface_up): Likewise.
1866 (zsend_interface_down): Likewise.
1867
18682000-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1869
1870 * rib.c (rib_add_ipv4): Do not install distance 255 route.
1871
18722000-08-10 Toshiaki Takada <takada@zebra.org>
1873
1874 * interface.c (bandwidth_if), (no_bandwidth_if): Call
1875 zebra_interface_up_update () instead of using if_up() and if_down().
1876
18772000-08-07 "Akihiro Mizutani" <mizutani@dml.com>
1878
1879 * interface.c (bandwidth_if): Fix help string.
1880
18812000-08-07 Matthew Grant <grantma@anathoth.gen.nz>
1882
1883 * interface.c (if_dump_vty): Display bandwidth value.
1884 (bandwidth_if): New command "bandwidth <1-10000000>" is added.
1885 When interface is up, force protocol daemons to recalculate routes
1886 due to cost change.
1887 (no_bandwidth_if): Likewise.
1888 (if_config_write): Output bandwidth configuration.
1889
1890 * zserv.c (zsend_interface_add): Send bandwidth value.
1891 (zsend_interface_up): Likewise.
1892 (zsend_interface_down): Likewise.
1893
1894
18952000-08-07 Michael Rozhavsky <mike@nbase.co.il>
1896
1897 * rib.c (show_ip_route_protocol): "show ip route
1898 (bgp|connected|kernel|ospf|rip|static)" is added.
1899
19002000-08-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1901
1902 * rib.c (rib_lookup_ipv4_nexthop): Check parent node until IGP
1903 nexthop is found.
1904 (rib_add_ipv4_internal): Set fib ifindex to rib ifindex.
1905
19062000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1907
1908 * redistribute.c (redistribute_delete): Fix bug of default route
1909 redistribute treatment.
1910
19112000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1912
1913 * rib.c (rib_init): Install ip_node in rib.c instead of zserv.c.
1914 Change default distance value.
1915
1916 Old New
1917 ------------------------------------------
1918 system 10 0
1919 kernel 20 0
1920 connected 30 0
1921 static 40 1
1922 rip 50 120
1923 ripng 50 120
1924 ospf 60 110
1925 ospf6 49 110
1926 bgp 70 200(iBGP) 20(eBGP)
1927 ------------------------------------------
1928
1929 * zserv.c (client_lookup): Function removed.
1930 (zsend_interface_add): Use client's output buffer. Check ifinfo
1931 flag.
1932 (zsend_interface_delete): Likewise.
1933 Delete ipv4_static_radix and ipv6_static_radix.
1934
19352000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1936
1937 * zserv.h (struct zebra_client): When client request interface
1938 information, ifinfo is set.
1939
1940 * rib.c: Temporary Revert changes for pseudo interface.
1941
1942 * rib.h: Likewise.
1943
1944 * zserv.c: Likewise.
1945
1946 * interface.c: Likewise.
1947
19482000-08-02 David Lipovkov <davidl@nbase.co.il>
1949
1950 * interface.c (zebra_if_init): Install interface "pseudo"
1951 commands.
1952
1953 * rib.c (rib_create): ifname argument is added.
1954 (rib_add_ipv4_pseudo): New function is added.
1955 (rib_delete_ipv4_pseudo): Likewise.
1956
1957 * rib.h : Delete INTERFACE_UNKNOWN definition. Add prototype for
1958 pseudo interface functions.
1959
1960 * rt_netlink.c (netlink_link_change): Check for pseudo interface.
1961
1962 * zserv.c (ip_route): When destination is pseudo interface, call
1963 rib_add_ipv4_pseudo().
1964
1965 * zserv.c (no_ip_route): Trim "unknown" argument.
1966
19672000-07-26 kunitake@dti.ad.jp
1968
1969 * if_ioctl.c (if_get_hwaddr): Fix hardware address length from 8
1970 to 6.
1971
1972 * rtadv.c (rtadv_send_packet): Fix shift bug for hardware address.
1973
19742000-07-24 Akihiro Mizutani <mizutani@dml.com>
1975
1976 * interface.c: Use install_default() for common VTY commands.
1977
19782000-07-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1979
1980 * if_ioctl.c (interface_list_ioctl): A interface list size is
1981 calculated from ifreq->if_addr.sa_len. This is for OpenBSD.
1982
1983 * ioctl.c (if_get_mtu): Remove codes for SIOCGIFDATA.
1984
19852000-07-09 Chris Dunlop <chris@onthe.net.au>
1986
1987 * if_ioctl.c (if_get_index): Add check for HAVE_BROKEN_ALIASES.
1988
19892000-07-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1990
1991 * zserv.c (zebra_client_read): Add ZEBRA_REDISTRIBUTE_{ADD,DELETE}
1992 message handling.
1993
19942000-07-02 David Lipovkov <davidl@nbase.co.il>
1995
1996 * zserv.c: "ip route A.B.C.D/M unknown" command is added.
1997
19982000-06-28 Michael Rozhavsky <mike@nbase.co.il>
1999
2000 * rib.c: Remove old kernel route when new route comes in.
2001
20022000-06-13 David Lipovkov <davidl@nbase.co.il>
2003
2004 * rib.c (rib_if_up): Add check for unknown interface.
2005
20062000-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2007
2008 * rib.h: Define INTERFACE_UNKNOWN.
2009
20102000-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2011
2012 * Makefile.am (EXTRA_DIST): Move irdp.c until implementation is
2013 finished.
2014
20152000-06-05 David Lipovkov <davidl@nbase.co.il>
2016
2017 * interface.c (if_zebra_delete_hook): Call rib_if_delete().
2018
2019 * redistribute.c (zebra_interface_delete_update): New function.
2020
2021 * redistribute.h (zebra_interface_delete_update): New function
2022 prototype.
2023
2024 * rib.c (rib_if_delete): New function. Walk down all routes and
2025 delete all on the interface.
2026
2027 * rib.h: New function prototype.
2028
2029 * rt_netlink.c (netlink_link_change): Call
2030 zebra_interface_delete_update ().
2031
20322000-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
2033
2034 * if_ioctl.c (interface_info_ioctl): Check interface's flag before
2035 checking interface's address.
2036
20372000-04-26 Jochen Friedrich <jochen@nwe.de>
2038
2039 * GNOME-PRODUCT-ZEBRA-MIB: New file.
2040
2041 * GNOME-SMI: New file.
2042
20432000-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
2044
2045 * irdp.c: New file from 1997 development code.
2046 * irdp.h: Likewise.
2047
20482000-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
2049
2050 * rtadv.c (rtadv_send_packet): Enclose router advertisement
2051 logging with IS_ZEBRA_DEBUG_PACKET.
2052
20532000-04-17 Kunihiro Ishiguro <kunihiro@zebra.org>
2054
2055 * zserv.c (zebra_client_close): Remove client structure from
2056 client_list when connection is terminated.
2057
20582000-03-21 David Lipovkov <davidl@nbase.co.il>
2059
2060 * connected.c (connected_add_ipv4): Allows all necessary structure
2061 updates for connected route, but doesn't insert it into rib if
2062 it's interface is down.
2063
20642000-01-21 Hideto Yamakawa <hideto.yamakawa@soliton.co.jp>
2065
2066 * rtread_getmsg.c: Set some definition for Solaris 2.5 and Solaris
2067 2.5.1.
2068
20692000-01-21 Kunihiro Ishiguro <kunihiro@zebra.org>
2070
2071 * rib.c (no_ipv6_route_ifname): Fix buf of cheking return value
2072 from str2prefix_ipv6().
2073
20742000-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2075
2076 * rt_socket.c: Revert to use RTF_HOST for IPv4 with /32 route and
2077 IPv6 with /128 routes.
2078 (kernel_rtm_ipv4): In case of /32 route's gateway is interface. It
2079 should have mask for cloning.
2080
20811999-12-26 Jochen.Friedrich@genorz.de
2082
2083 * interface.c (if_dump_vty): Fix a bug of missing VTY_NEWLINE.
2084
20851999-12-23 Alex Zinin <zinin@amt.ru>
2086 * interface.*: dynamic int up/down support
2087
20881999-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
2089
2090 * ipforward_proc.c (dropline): Move dropline() from lib/dropline.c
2091
2092 * rtread_proc.c (proc_route_read): Don't use dropline().
2093
20941999-12-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2095
2096 * kernel_socket.c (rtm_read): When message is RTM_GET, it has own
2097 process's pid.
2098
20991999-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2100
2101 * main.c (main): Change to default log output to ZLOG_STDOUT.
2102
2103 * zserv.c (zebra_serv): More detailed error print.
2104
21051999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2106
2107 * kernel_socket.c (rtm_read): Check old pid for static route
2108 insertion check.
2109
21101999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2111
2112 * interface.c (if_dump_vty): BSDI/OS uses 64bit for interface
2113 statistics counter.
2114
2115 * mtu_kvm.c: New file added.
2116
21171999-11-27 Vladimir B. Grebenschikov <vova@express.ru>
2118
2119 * kernel_socket.c (rtm_write): Set RTF_CLONING flag for
2120 route to the directly connected interface.
2121
21221999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2123
2124 * rt_socket.c: Delete USE_HOST_BIT definition.
2125
21261999-11-21 Michael Handler <handler@sub-rosa.com>
2127
2128 * rtread_getmsg.c: Undef some definition to resolve conflict.
2129
21301999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2131
2132 * kernel_socket.c (rtm_write): Change to use pre stored struct_dl
2133 value for gateway specification.
2134
21351999-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2136
2137 * rt_socket.c (kernel_rtm_ipv4): Even mask is 32 under IPv4 or
2138 128 under IPv6, don't use RTF_HOST.
2139
21401999-11-21 Kunihiro Ishiguro <kunihiro@zebra.org>
2141
2142 * Makefile.am (EXTRA_DIST): Add rtread_getmsg.c.
2143
21441999-11-21 Michael Handler <handler@sub-rosa.com>
2145
2146 * rtread_getmsg.c: Added for Solaris 2.6 support.
2147
21481999-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
2149
2150 * rtread_sysctl.c (rtm_read_route): RTM_DELETE handling added.
2151
2152 * rt_socket.c (kernel_read): Better BSD routing socket support.
2153
21541999-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
2155
2156 * client_main.c: Disable making obsolete zebra test `client'
2157 command.
2158
21591999-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
2160
2161 * zebra.c: Renamed to zserv.c.
2162
2163 * zebra.h: Global definitions are moved to lib/zebra.h. Then
2164 renamed to zserv.h.
2165
21661999-10-15 Jordan Mendelson <jordy@wserv.com>
2167
2168 * if_ioctl.c: Add Linux 2.2.X's alias support and dynamic
2169 interface. Remove ugly MAX_INTERFACE handling codes.
2170
21711999-09-17 Satosi KOBAYASI <kobayasi@north.ad.jp>
2172
2173 * Fix serious bug of IPv6 route deletion.
2174
21751999-09-11 Kunihiro Ishiguro <kunihiro@zebra.org>
2176
2177 * ioctl.c (if_set_prefix): Properly set broadcast address.
2178
21791999-09-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
2180
2181 * rib.c (rib_add_ipv6, rib_delete_ipv6): now protocol daemons
2182 can install connected route to kernel via zebra
2183
21841999-08-24 VOP <vop@unity.net>
2185
2186 * rib.c: Include "sockunion.h"
2187
21881999-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
2189
2190 * ipforward.h: New file.
2191
2192 * zebra.h: Obsolete message ZEBRA_GET_ALL_INTERFACE,
2193 ZEBRA_GET_ONE_INTERFACE, ZEBRA_GET_HOSTINFO are deleted.
2194
21951999-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
2196
2197 * zebra.h (ZEBRA_INTERFACE_ADDRESS_ADD):
2198 ZEBRA_INTERFACE_{ADD,DELETE} added.
2199
22001999-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
2201
2202 * rib.c: show ip route A.B.C.D works.
2203
2204 * zebra.c (zebra_read_ipv4): Add ifindex to zebra messages.
2205
22061999-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
2207
2208 * zebra.h: New Zebra message ZEBRA_INTERFACE_{ADD,DELETE} added.
2209
22101999-08-09 Kunihiro Ishiguro <kunihiro@zebra.org>
2211
2212 * interface.h: New file.
2213 * Makefile.am: Add interface.h
2214
22151999-08-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
2216
2217 * redistribute.c (zebra_redistribute): give ifindex to client.
2218
22191999-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2220
2221 * main.c (longopts): -k, --keep_kernel option added.
2222
22231999-07-18 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
2224
2225 * rt_socket.c (rtm_write): forgot closing socket bug fixed.
2226
22271999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
2228
2229 * rib.c (show_ipv6_cmd): if rib is link show interface name.
2230
22311999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
2232
2233 * rt_socket.c (rtm_write): use sockaddr_dl when null gateway.
2234
22351999-07-16 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
2236
2237 * rt_socket.c (rtm_write): ipv6 route table bug fixed.
2238
22391999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
2240
2241 * zebra.c (zebra_read_ipv6): read link prefix from ospf6 support
2242
22431999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
2244
2245 * rt_socket.c (kernel_rtm_ipv6): gate treatment bug fixed.
2246
22471999-07-15 Kunihiro Ishiguro <kunihiro@zebra.org>
2248
2249 * if_sysctl.c (ifm_read): Clear sockunion argument before fetching
2250 data. Suggested by "Chris P. Ross" <cross@eng.us.uu.net>
2251
22521999-07-08 HEO SeonMeyong <seirios@Matrix.IRI.Co.Jp>
2253
2254 * interface.c (if_tun_add): Add KAME's gif tunnel setting codes.
2255
22561999-06-26 Kunihiro Ishiguro <kunihiro@zebra.org>
2257
2258 * zebra.c (zebra_serv): Only accept loopback address connection.
2259
22601999-06-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2261
2262 * zebra.h (ZEBRA_ROUTE_EXTERNAL): Add zebra messages flags
2263
22641999-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
2265
2266 * ipforward_proc.c: ipforward_on () and ipforward_off () added.
2267
22681999-06-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2269
2270 * ipforward_proc.c (ipforward_ipv6): Check for IPv6 forwarding
2271 using /proc file system is added.
2272
22731999-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2274
2275 * if_ioctl.c (if_get_index): Interface index set bug is fixed by
2276 adding #else at the middle of function. Suggested by David Luyer
2277 <luyer@ucs.uwa.edu.au>.
2278
22791999-05-29 <kunihiro@zebra.org>
2280
2281 * rt_ioctl.c: Comment out #include <linux/ipv6_route.h>.
2282
22831999-05-26 Kunihiro Ishiguro <kunihiro@zebra.org>
2284
2285 * zebra.h (ZEBRA_ROUTE_MAX): Add new define for the max value of
2286 the sort of routes.
2287
22881999-05-25 Patrick Koppen <koppen@rhrk.uni-kl.de>
2289
2290 * rt_netlink.c (netlink_socket): Make netlink socket non-blocking.
2291 (netlink_parse_info): If errno is EWOULDBLOCK then continue to
2292 parse the message.
2293 (netlink_talk): Likewise
2294
22951999-05-17 <kunihiro@zebra.org>
2296
2297 * redistribute.c (zebra_check_addr): Added for loopback address
2298 check.
2299
23001999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
2301
2302 * rt_netlink.c (netlink_route_change): Tempolary bypass ipv6 route
2303 change treatment.
2304
2305 * Makefile.am (noinst_HEADERS): redistribute.h added.
2306
2307 * redistribute.h: New file.
2308
23091999-05-14 Stephen R. van den Berg <srb@cuci.nl>
2310
2311 * zebra.c (show_table): Show all table configuration DEFUN.
2312 (config_table): Config table number DEFUN.
2313
2314 * rt_netlink.c: Add support for multiple routing table.
2315
2316 * rib.c (rib_weed_table): New function added for delete all
2317 routes from specified routing table.
2318
2319 * main.c (signal_init): SIGTERM call sigint.
2320 (sigint): Loggging more better message.
2321
23221999-05-09 Kunihiro Ishiguro <kunihiro@zebra.org>
2323
2324 * rt_netlink.c: Change log () to zlog ().
2325
23261999-05-07 <kunihiro@zebra.org>
2327
2328 * zebra.h (ZEBRA_ROUTE_OSPF6): Added for ospf6d route.
2329
23301999-04-20 Kunihiro Ishiguro <kunihiro@zebra.org>
2331
2332 * interface.c: Add `no ip address' command.
2333
23341999-04-10 Kunihiro Ishiguro <kunihiro@zebra.org>
2335
2336 * rt_netlink.c (kernel_read): Function added for asynchronous
2337 zebra between kernel communication.
2338
23391999-03-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2340
2341 * rtread_sysctl.c (rtm_read): Fix address memcopy overrun bug.
2342 Reported by Achim Patzner <ap@bnc.net>.
2343
23441999-03-03 Kunihiro Ishiguro <kunihiro@zebra.org>
2345
2346 * Makefile.am: Install configuration sample with 600 permission.
2347
23481999-03-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2349
2350 * Makefile.am: Add -I.. to INCLUDES.
2351
23521999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
2353
2354 * syslog support added
2355
23561999-02-17 Peter Galbavy <Peter.Galbavy@knowledge.com>
2357
2358 * if_sysctl.c (interface_list): allocated memory free when unknown
2359 ifm_type is returned.
2360
2361 * ioctl.c (if_get_mtu): added SIOCGIFDATA treatment.
2362
23631998-12-15 Magnus Ahltorp <map@stacken.kth.se>
2364
2365 * interface.c: Header include added.
2366
23671998-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2368
2369 * rt.h (kernel_delete_ipv6): change int index to unsigned int index.
2370
23711998-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2372
2373 * if_ioctl.c (interface_list_ioctl): interface flag must be
2374 checked before check addresses of the interface.
2375
23761998-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2377
2378 * Makefile.am (INCLUDES): add @INCLUDES@ for Linux IPv6.
2379
23801998-10-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2381
2382 * ioctl.c: Linux version before 2.1.0 need interface route setup.
2383
23841998-09-15 HEO SeonMeyong <seirios@matrix.iri.co.jp>
2385
2386 * change HYDRANGEA to KAME
2387
23881998-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
2389
2390 * if_ioctl.c (if_addr_ioctl): set address family for getting
2391 interface's address.
2392 (if_get_index): silently return when can't get interface's index.
2393
23941998-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
2395
2396 * main.c (main): batch mode option '-b' added.
2397
23981998-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
2399
2400 * ioctl.c (if_set_prefix): add `ip address IPV4ADDR' command.
2401 * interface.c (shutdown_if): add interface shutdown and no
2402 shutdown command.
2403
24041998-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
2405
2406 * rib.c (rib_add_ipv6): delete rib_add_in6.
2407
24081998-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2409
2410 * main.c: retain flag is added.
2411
24121998-07-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2413
2414 * rtable.[ch]: merged with rib.[ch]
2415
24161998-07-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2417
2418 * connected.h: renamed from ifa.h.
2419
24201998-06-09 Kunihiro Ishiguro <kunihiro@zebra.org>
2421
2422 * rename if.c to interface.c
2423 * rename ifa.c to connected.c
2424
2425 * Porting to Debian GNU/Linux 2.0 (hamm).
2426
24271998-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2428
2429 * rt_netlink.c: renamed from krt_netlink.c
2430
2431 * fib.c: deleted.
2432 * rt_kvm.c: deleted.
2433 * rtread_getmsg.c: deleted.
2434
24351998-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2436
2437 * if.c (multicast): add multicast flag [un]set fucntion.
2438
24391998-05-19 Yamshita TAKAO <jargon@lares.dti.ne.jp>
2440
2441 * rt_socket.c: Modify for compile on Solaris, but dont't work it.
2442 rt_socket.c have some undefined function, so add directive "IMPLEMENT"
2443
24441998-05-18 Yamshita TAKAO <jargon@lares.dti.ne.jp>
2445
2446 * zebra.c: Modify for compile on Solaris.
2447
24481998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
2449
2450 * main.c: change CONFDIR to SYSCONFDIR.
2451
24521998-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
2453
2454 * .cvsignore: added.
2455
24561998-04-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2457
2458 * client.c: moves to ../lib.
2459
24601998-03-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2461
2462 * if_ioctl.c (if_get_addr): Change address copy from memcopy() to
2463 structure assignment.
2464
24651998-03-30 URA Hiroshi <ura@yamato.ibm.co.jp>
2466
2467 * if_sysctl.c (ifm_interface_add): sdl->sdl_data copy bug fixed.
2468
24691998-02-23 "Hannes R. Boehm" <hannes@boehm.org>
2470
2471 * if.c (if_init): add config_exit_cmd and config_help_cmd.
2472
24731998-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2474
2475 * rt_ioctl.c (route_ioctl): EPERM treatment added.
2476
24771998-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2478
2479 * rt_socket.c (kernel_read): communication port zebra between
2480 kernel is now handled by kernel_read.
2481
24821998-01-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2483
2484 * main.c (main): zebra [-P port] can specify vty port number.
2485
24861997-12-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2487
2488 * zebra.c: change select will be block.
2489
24901997-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2491
2492 * add static route treatment.
2493
24941997-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2495
2496 * rt_netlink.c: add netlink support over GNU/Linux system.
2497
24981997-11-23 Kunihiro Ishiguro <kunihiro@zebra.org>
2499
2500 * all inet_addr is changed to inet_aton.
2501
2502 * zebra.c (ip_route): add ip route command for static routes.
2503
25041997-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
2505
2506 * if.c (if_flag_dump): Linux port of if_flag_dump and _vty.
2507
25081997-11-19 Kunihiro Ishiguro <kunihiro@zebra.org>
2509
2510 * if.c: add interface command.
2511
25121997-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
2513
2514 * ipforward_proc.c : Now works on Linux.
2515
25161997-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2517
2518 * command.c : add completion feature.
2519
25201997-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
2521
2522 * vty.c (vty_command): add vty interface.
2523
25241997-10-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2525
2526 * zebra.c: add verbose mode.
2527
25281997-10-12 SonMyong Ho <s-ho@Matrix.IRI.Co.Jp>
2529
2530 * Hydrangea for FreeBSD supported
2531 * in.h: add some prototype.
2532
25331997-10-11 Kunihiro Ishiguro <kunihiro@zebra.org>
2534
2535 * rt_socket.c and rtread.c completely rewritten.
2536
25371997-10-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2538
2539 * rt_socket.c: rename kernel_sock to routing_socket
2540
25411997-10-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2542
2543 * if.c (if_new): interface structure change from linklist to vector.
2544
25451997-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
2546
2547 * vector.c (vector_init): create vector related function
2548
25491997-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2550
2551 * Makefile.in: add tags target
2552
2553 * start IPv6 support for INRIA FreeBSD.
2554