blob: 36d194aa5404f3d5b45d79ca260bd96126f6dd98 [file] [log] [blame]
Denis Ovsienko2d844522007-09-14 11:31:55 +000012007-09-14 Denis Ovsienko
2
3 * rt_socket.c: (kernel_rtm_ipv4) Use lookup() instead of
4 LOOKUP/mes_lookup() for rtm_type_str, as this is more
5 appropriate for sparse code-spaces (#401).
6 * kernel_socket.c: (rtm_read, rtmsg_debug): Idem.
7 * kernel_socket.[ch]: We don't need rtm_type_str_max any more.
8
Denis Ovsienkobd6c86d2007-09-12 15:24:27 +000092007-09-12 Denis Ovsienko
10
11 * rt_socket.c: (kernel_rtm_ipv4) prefix_buf could be passed
12 to zlog_err() uninitialized with debug disabled. Fixed.
13
Denis Ovsienko882968e2007-09-06 14:34:41 +0000142007-09-06 Denis Ovsienko
15
16 * rtread_sysctl.c: (route_read) Set RTF_DONE on the routing
17 messages when fetching initial kernel FIB, so rtm_read()
18 doesn't skip them.
19
Denis Ovsienkoa13663a2007-08-21 16:12:40 +0000202007-08-21 Denis Ovsienko
21
22 * ioctl_solaris.c: (if_get_mtu) Don't break things if either
23 IPv6 was disabled at compile time or the current interface
24 hasn't it enabled.
Denis Ovsienko1ba27562007-08-21 16:15:39 +000025 * kernel_socket.c: (ifm_read) Don't forget to call if_get_mtu()
26 for updated interfaces.
Denis Ovsienkoa13663a2007-08-21 16:12:40 +000027
Denis Ovsienko6da59802007-08-17 14:16:30 +0000282007-08-17 Denis Ovsienko
29
30 * kernel_socket.c: (rtm_read) Ignore any routing socket messages
31 without RTF_DONE flag set, as they are just noise for us.
32
Denis Ovsienko03e232a2007-08-14 09:46:48 +0000332007-08-14 Denis Ovsienko
34
35 * zebra_rib.c: (nexthop_active_update) Added a comment
36 and rewrote nexthop iteration.
37
Denis Ovsienkodc958242007-08-13 16:03:06 +0000382007-08-13 Denis Ovsienko
39
40 * kernel_socket.c: normalize rtm_type_str so it can be handled
41 by LOOKUP macro
42 * kernel_socket.c: (rtm_read) don't ignore self-generated
43 routing messages, so we can debug them; make use of
44 ZEBRA_ERR_RTNOEXIST; output more details in debug log.
45 * kernel_socket.c: (rtmsg_debug) make use of LOOKUP macro
46 * kernel_socket.h: let the world know about rtm_type_str[_max]
47 * rib.h: 3 more debugging functions and 5 return codes
48 * rt_socket.c: (kernel_rtm_ipv4) dump IP prefix and masklen;
49 complain about strange rtm_write() return values
50 * zebra_rib.c: (rib_lookup_ipv4_route, rib_dump,
51 rib_lookup_and_dump) --- new functions; more comments;
52 more debug logging
53
vize068fd772007-08-10 06:25:20 +0000542007-08-10 Emmanuel Vize <emmanuel.vize@6wind.com>
55
56 * rt_netlink.c: (netlink_interface_addr) Use the appropriate field length for the address
57 (acknowledge Andy's comment).
58
Paul Jakma93bdada2007-08-06 19:25:11 +0000592007-08-06 Denis Ovsienko
60
61 * zebra_rib.c: (general) Add extra debug logging for RIB and
62 RIB queue.
63
Greg Troxelf76594a2007-08-02 14:07:07 +0000642007-08-02 Denis Ovsienko
65
66 * rt_socket.c (kernel_rtm_ipv4): Only call rtm_write when changes
67 are intended. Don't set FIB flag on failed additions (such as
68 occur with multiple paths.
69
Paul Jakma0b8c4f12007-06-27 11:12:38 +0000702007-06-25 Denis Ovsienko
71
72 * zebra_rib.c: (rib_add_ipv4_multipath) Loop through RIB
73 is using 'same' variable, but RIB_ENTRY_REMOVED check
74 is testing the constant 'rib' variable, fix. Impact
75 unknown at this point.
76
Andrew J. Schorr09303312007-05-30 20:10:34 +0000772007-05-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
78
79 * zebra_routemap.c: (route_set_src_compile) Use '#ifdef HAVE_IPV6'
80 as needed.
81 * zebra_vty.c: (vty_show_ip_route_detail, vty_show_ip_route) Use
82 '#ifdef HAVE_IPV6' as needed.
83 (show_ip_protocol) Move function definition outside of
84 '#ifdef HAVE_IPV6' section.
85
Andrew J. Schorr7ab62c52007-05-17 15:00:41 +0000862007-05-17 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
87
88 * kernel_socket.c: (ifam_read_mesg) Grab RTA_DST and RTA_GATEWAY
89 addresses from the message (if present, which seems unlikely on
90 current BSD platforms), and show them in the debug messages.
91 Also, add ifam_flags to the debug messages.
92 (ifam_read) If the interface is point-to-point, then the RTA_BRD
93 address should be treated as a peer address.
94
Paul Jakma7514fb72007-05-02 16:05:35 +0000952007-05-01 David L Stevens <dlstevens@us.ibm.com>
96
97 * (general) These changes collectively add route-map and
98 prefix-list support to zebra and fix a bug in "show
99 route-map" (with no argument).
100 * connected.c: (connected_up_ipv4) added src preference argument
101 to rib_add_ipv4()
102 * kernel_socket.c: (rtm_read) ditto
103 * main.c: added prefix list initialization
104 * Makefile.am: added zebra_routemap.c source file
105 * rib.h: added generic address union "g_addr" and use in
106 existing places that had an explicit union.
107 Added "src" to struct nexthop.
108 Added preferred src arg to nexthop_ipv4_add and rib_add_ipv4.
109 * rt_netlink.c: (netlink_routing_table) set preferred source on
110 netlink messages.
111 (netlink_route_change) ditto
112 (netlink_route_multipath) ditto.
113 * rtread_getmsg.c: (handle_route_entry) added (NULL) src to
114 rib_add_ipv4() call.
115 * rtread_proc.c: (proc_route_read) ditto
116 * zebra_rib.c: (nexthop_ipv4_add) add src argument.
117 (nexthop_ipv4_ifindex_add) ditto
118 (rib_add_ipv4) ditto
119 (nexthop_active_check) Add route-map processing.
120 * zebra_routemap.c: new file for zebra route-map commands.
121 * zebra_vty.c: (ip_protocol_cmd) Apply route-map to protocol
122 (vty_show_ip_route_detail) added "src" printing
123 (vty_show_ip_route) ditto
124 (show_ip_protocol_cmd) new command, list routemaps.
125 (config_write_protocol) write out routemap protocl config.
126 (zebra_vty_init) Install the new routemap protocol commands.
127 * zserv.c: (zread_ipv4_add) added (NULL) src arg
128 (zebra_init) init zebra route-maps.
129 * zserv.h: add zebra_route_map_init
130
Paul Jakmabd9da7f2007-04-29 16:50:46 +00001312007-04-29 Paul Jakma <paul.jakma@sun.com>
132
133 * ioctl{_solaris,}.c: (if_get_mtu) Fix missing ; in last commit.
Paul Jakmae8eb8342007-04-29 17:32:08 +0000134 * if_ioctl_solaris.c: (if_get_index) Fix bogus argument passed
135 to lifreq_set_name().
Paul Jakmabd9da7f2007-04-29 16:50:46 +0000136
Paul Jakmaf5e004f2007-04-10 19:43:43 +00001372007-04-10 Paul Jakma <paul.jakma@sun.com>
138
139 * ioctl{_solaris,}.c: (if_get_mtu) Ping clients via
140 zebra_interface_up_update if MTU is changed.
141
Paul Jakmad9d00a62007-04-10 19:28:04 +00001422007-04-08 Paul Jakma <paul.jakma@sun.com>
143
144 * {ioctl,kernel}_null.c: Install of IP address should
145 reflect back to zebra via kernel_address_add..., makes
146 testzebra more useful.
Paul Jakmad9a18f12007-04-10 19:30:20 +0000147 * interface.c: (if_delete_update) Address removal triggered
148 by kernel shouldn't remove configured IPv4 address from connected
149 list.
Paul Jakmad9d00a62007-04-10 19:28:04 +0000150
Paul Jakma6dc686a2007-04-10 19:24:45 +00001512007-04-07 Paul Jakma <paul.jakma@sun.com>
152
153 * redistribute.c: (zebra_check_addr) Don't redistribute routes
154 to IPv4 link-local prefixes, fixes bug #351.
155 * redistribute.h: Export zebra_check_addr.
156 * router-id.c: (router_id_bad_address) re-use zebra_check_addr
157 rather than implementing similar logic.
158
Paul Jakma65022082007-03-06 13:43:05 +00001592007-03-06 Paul Jakma <paul.jakma@sun.com>
160
161 * kernel_socket.c: (ifam_read) Do not update interface metric on
162 receipt of NEW/DEL ADDR messages, bogus as: a) some systems
163 dont include iface metric for address events b) we didn't
164 update clients either. Initial diagnosis by Eugene Grosbein.
165
Paul Jakmaff1dd552007-02-26 17:11:45 +00001662007-02-26 Robert Olsson <Robert.Olsson@data.slu.se>
167
168 * irdp_main.c: (irdp_send_thread) Skip non-AF_INET addresses,
169 i.e. do not try interpret IPv6 addresses as IPv4 addresses
170 to broadcast in IRDP announcements..
171
Andrew J. Schorrfb6724a2006-12-13 15:44:15 +00001722006-12-13 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
173
174 * if_ioctl_solaris.c: (if_get_addr) For IPv6, stop assuming
175 that all IFF_POINTOPOINT have prefixlen of IPV6_MAX_BITLEN.
176 Instead, always try the SIOCGLIFSUBNET ioctl; if that fails,
177 then we fall back to IPV6_MAX_BITLEN for PtP interfaces.
178
Andrew J. Schorre4529632006-12-12 19:18:21 +00001792006-12-12 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
180
181 * connected.c: (connected_up_ipv4, connected_down_ipv4,
182 connected_up_ipv6, connected_down_ipv6) Simplify logic using the
183 new CONNECTED_PREFIX macro.
184 (connected_add_ipv4) Set prefixlen in destination addresses (required
185 by the CONNECTED_PREFIX macro). Use CONNECTED_PEER macro instead
186 of testing for IFF_POINTOPOINT. Delete invalid warning message.
187 Warn about cases where the ZEBRA_IFA_PEER is set but no
188 destination address has been supplied (and turn off the flag).
189 (connected_add_ipv6) Add new flags argument so callers may set
190 the ZEBRA_IFA_PEER flag. If peer/broadcast address satisfies
191 IN6_IS_ADDR_UNSPECIFIED, then reject it with a warning.
192 Set prefixlen in destination address so CONNECTED_PREFIX will work.
193 * connected.h: (connected_add_ipv6) Add new flags argument so
194 callers may set the ZEBRA_IFA_PEER flag.
195 * interface.c: (connected_dump_vty) Use CONNECTED_PEER macro
196 to decide whether the destination address is a peer or broadcast
197 address (instead of checking IFF_BROADCAST and IFF_POINTOPOINT).
198 * if_ioctl.c: (if_getaddrs) Instead of setting a peer address
199 only when the IFF_POINTOPOINT is set, we now accept a peer
200 address whenever it is available and not the same as the local
201 address. Otherwise (no peer address assigned), we check
202 for a broadcast address (regardless of the IFF_BROADCAST flag).
203 And must now pass a flags value of ZEBRA_IFA_PEER to
204 connected_add_ipv4 when a peer address is assigned.
205 The same new logic is used with the IPv6 code as well (and we
206 pass the new flags argument to connected_add_ipv6).
207 (if_get_addr) Do not bother to check IFF_POINTOPOINT: just
208 issue the SIOCGIFDSTADDR ioctl and see if we get back
209 a peer address not matching the local address (and set
210 the ZEBRA_IFA_PEER in that case). If there's no peer address,
211 try to grab SIOCGIFBRDADDR regardless of whether IFF_BROADCAST is set.
212 * if_ioctl_solaris.c: (if_get_addr) Just try the SIOCGLIFDSTADDR ioctl
213 without bothering to check the IFF_POINTOPOINT flag. And if
214 no peer address was found, just try the SIOCGLIFBRDADDR ioctl
215 without checking the IFF_BROADCAST flag. Call connected_add_ipv4
216 and connected_add_ipv6 with appropriate flags.
217 * if_proc.c: (ifaddr_proc_ipv6) Must pass new flags argument to
218 connected_add_ipv6.
219 * kernel_socket.c: (ifam_read) Must pass new flags argument to
220 connected_add_ipv6.
221 * rt_netlink.c: (netlink_interface_addr) Copy logic from iproute2
222 to determine local and possible peer address (so there's no longer
223 a test for IFF_POINTOPOINT). Set ZEBRA_IFA_PEER flag appropriately.
224 Pass new flags argument to connected_add_ipv6.
225 (netlink_address) Test !CONNECTED_PEER instead of if_is_broadcast
226 to determine whether the connected destination address is a
227 broadcast address.
228
Paul Jakma3c0755d2006-12-08 00:53:14 +00002292006-12-08 Piotr Chytla <pch@packetconsulting.pl>
230
231 * zebra_rib.c: (static_install_ipv{4,6}) Case where existing
232 RIB is updated must explicitely rib_addqueue the route_node,
233 to ensure the update actually takes effect.
234
Greg Troxel9458b812006-09-13 12:13:08 +00002352006-09-13 Tom Everett <tom@khubla.com>
236
237 * kernel_socket.c (rtm_type_str): ifdef RTM_OLD{ADD,DEL} to
238 compile on systems that no longer define them.
239
Paul Jakmaf28b0e52006-08-06 15:57:59 +00002402006-08-06 Paul Jakma <paul.jakma@sun.com>
241
242 * interface.h: (ifstat_update_proc) declaration should match
243 ifstat_update_sysctl really, which is to not return status, as
244 such status is not used anywhere.
245 * if_{proc,sysctl}.c: Make ifstat_update_* definitions and return values
246 consistent with each other and their declarations, ie:
247 (void) (*) (void).
Paul Jakma66c454f2006-08-06 16:02:43 +0000248 * rtadv.h: depends on interface.h, so should include it.
Paul Jakmaf28b0e52006-08-06 15:57:59 +0000249
Paul Jakma7e4bcdc2006-08-04 06:14:13 +00002502006-08-04 Paul Jakma <paul.jakma@sun.com>
251
252 * misc_null.c: Add ifstat_update_sysctl, add another required
253 header.
254
Andrew J. Schorra6974fe2006-08-02 16:47:03 +00002552006-08-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
256
257 * misc_null.c: Must include header files to get older versions of gcc
258 to process the #pragma statements properly.
259
Paul Jakma36943742006-08-04 06:18:04 +00002602006-08-01 Paul Jakma <paul.jakma@sun.com>
261
262 * irdp_main.c: (irdp_advertisement) free the stream here, when done,
263 right under where it was allocated so it's blindingly obvious
264 it's correct. This possibly fixes a very slow leak of streams in
265 zebra.
266 * irdp_packet.c: (send_packet) don't free the stream here as
267 it's hard to tell if right, plus an error case seemed to
268 returning before free anyway.
269
Paul Jakma457eb9a2006-07-27 19:59:58 +00002702006-07-27 Paul Jakma <paul.jakma@sun.com>
271
272 * {ioctl,kernel}_null.c: Dummy/Null kernel method implementations,
273 useful for testing zebra code that calls such methods.
274 * {redistribute,misc}_null.c: Dummy/Null methods, as above. But
275 for zclient, and for various misc functions.
276 * test_main.c: Test harness for zebra, currently just to test the
277 RIB.
278 * Makefile.am: Build testzebra using above.
Paul Jakma6d691122006-07-27 21:49:00 +0000279 * debug.{c,h}: Add 'debug zebra rib' and 'debug zebra rib queue'.
280 * rib.h: (struct rib) Add a route_node rn_status flag field,
281 this has to be copied every time head RIB of a route_node
282 changes.
283 Remove the rib lock field, not needed - see below.
284 Add a status field for RIB-private flags.
Paul Jakma457eb9a2006-07-27 19:59:58 +0000285 * zebra_rib.c: Add a global for the workqueue hold time, useful
286 for testing.
Paul Jakma6d691122006-07-27 21:49:00 +0000287 (general) Fix for bug #268. Problem originally detailed by
288 Simon Bryden in [quagga-dev 4001].
289 Essentially, add/delete of a RIB must happen /before/ the
290 queue. Best-path selection (ie rib_process) and reaping of
291 freed RIBs can then be done after queueing. Only the route_node
292 is queued - no important RIB state (i.e. whether a RIB is to be
293 deleted) is queued.
294 (struct zebra_queue_node_t) Disappears, no longer need to
295 track multiple things on the queue, only the route_node.
296 (rib_{lock,unlock}) removed, RIBs no longer need to be
297 refcounted, no longer queued.
298 (rib_queue_qnode_del) Removed, deleted RIBs no longer deleted
299 via the queue.
300 (rib_queue_add_qnode) deleted
301 (rib_queue_add) Only the route_node is queued for best-path
302 selection, we can check whether it is already queued or
303 not and avoid queueing same node twice - struct rib * argument
304 is not needed.
305 (rib_link/unlink) (un)link RIB from route_node.
306 (rib_{add,del}node) Front-end to updates of a RIB.
307 (rib_process) Reap any deleted RIBs via rib_unlink.
308 Unset the route_node 'QUEUED' flag.
309 (General) Remove calls to rib_queue_add where add/del node was
310 called - not needed, update calls where not.
311 Ignore RIB_ENTRY_REMOVEd ribs in loops through route_nodes
Paul Jakma457eb9a2006-07-27 19:59:58 +0000312
Paul Jakma171eee32006-07-27 16:11:02 +00003132006-07-27 Rumen Svobodnikov <rumen@telecoms.bg>
314
315 * connected.c: (connected_up_ipv4) interface connected routes always
316 go to table main (or otherwise they cannot be used by linux as
317 nexthops)
318 * zserv.c: (zread_ipv4_add) send route to the correct routing table
319 * zebra_rib.c (static_install_ipv4) set routing table
320
Paul Jakma27b47252006-07-02 16:38:54 +00003212006-07-02 Paul Jakma <paul.jakma@sun.com>
322
323 * rt_netlink.c: (netlink_interface_addr) Fix CID #104, can not
324 proceed if addr is NULL.
325 * zebra_rib.c: (static_add_ipv6) Fix CID #18, double check
326 required arguments are supplied for the given nexthop type.
327
Paul Jakma630c97c2006-06-15 12:48:17 +00003282006-06-15 Paul Jakma <paul.jakma@sun.com>
329
330 * interface.c: (if_flag_dump_vty) redundant code, remove.
331 (if_dump_vty) use libzebra if_flag_dump.
Paul Jakma74ecdc92006-06-15 18:10:47 +0000332 (ip_address_uninstall) Unset the configured flag.
333 * connected.c: (connected_same) new helper, check whether
334 two connected are same.
335 (connected_implicit_withdraw) new helper, consolidation of
336 existing code in connected_add_ipv{4,6}.
337 Try filter out unneeded Zserv address delete/adds when
338 address is exact same.
339 Where old address is implicitely removed, be sure to preserve
340 the IFC_CONFIGURED flag if set, fixes bug where configured
341 addresses were being lost on FreeBSD (Andrew Schorr).
Paul Jakma630c97c2006-06-15 12:48:17 +0000342
Andrew J. Schorr9c378512006-05-21 04:04:49 +00003432006-05-21 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
344
345 * connected.c: (connected_withdraw) Do not delete the connected
346 address if the ZEBRA_IFC_CONFIGURED flag is set.
347 (connected_add_ipv4,connected_add_ipv6) Before calling
348 connected_withdraw, unset the ZEBRA_IFC_CONFIGURED flag
349 on the superseded connected structure.
350
Andrew J. Schorr0f38dc42006-05-19 13:53:23 +00003512006-05-19 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
352
353 * connected.c: (connected_add_ipv4,connected_add_ipv6) If the
354 new struct connected matches an already existing one
355 (that will consequently be removed by connected_withdraw),
356 then be sure to preserve the ZEBRA_IFC_CONFIGURED flag.
357
Andrew J. Schorr55196042006-05-17 15:04:59 +00003582006-05-17 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
359
360 * kernel_socket.c: (ifam_read_mesg) Improve debug message
361 to show the IP address.
362
Paul Jakma66859782006-05-15 17:00:37 +00003632006-05-15 Paul Jakma <paul.jakma@sun.com>
364
365 * zserv.c: (general) Remove the private zebra_command_str
366 in favour of newly added libzebra zserv_command_string.
367
Paul Jakmabeb56332006-05-11 13:28:05 +00003682006-05-11 Paul Jakma <paul.jakma@sun.com>
369
370 * interface.c: (if_delete_update) route_node_lookup may return
371 NULL, should fix Coverity CID #31.
372
Paul Jakmae6d7d052006-03-30 13:32:09 +00003732006-02-09 Paul Jakma <paul.jakma@sun.com>
374
375 * rib.h: (struct {rib,nexthop}) Rearrange fields to avoid
376 needless padding.
377 (struct rib) Remove the indirect pointer, not used anywhere!
378
paul3a570c82006-02-02 17:27:13 +00003792006-02-02 Paul Jakma <paul.jakma@sun.com>
380
381 * interface.c: (if_dump_vty) move flags to their line, neater.
382
paula1038a12006-01-30 14:08:51 +00003832006-01-30 Paul Jakma <paul.jakma@sun.com>
384
385 * zebra_rib.c: (rib_process) Fourth time lucky on this jinxed
386 commit, last commit had a hole that could allow connected
387 route selection to escape beyond the connected route logic.
388 This time I cross-checked with Gunnar first. ;)
389
paula8d9c1f2006-01-25 06:31:04 +00003902006-01-25 Gunnar Stigen <gunnar.stigen@axxessit.no>
391
392 * zebra_rib.c: (rib_process) Application of Gunnar's earlier
393 metric selection RIB change included incorrect tidy-ups made
394 by commiter. Fix. (NB: any errors here are again due to paul).
395
paul5c78b3d2006-01-25 04:31:40 +00003962006-01-25 Paul Jakma <paul.jakma@sun.com>
397
398 * (general) More solaris PF_ROUTE hacks. The IFF_UP mangling
399 for solaris was incomplete on the PF_ROUTE side. fix it.
400 This changeset generally uglifies things. For some future
401 work I'd like to see the state changes seperated out from
402 the details of the code. Differences between systems might
403 then be slightly easier to implement without convoluted
404 hacks.
405 Changes should be specific to Solaris mostly, however
406 also tested on FreeBSD 6.
407 * if_ioctl_solaris.c: (interface_list_ioctl) ignore ~IFF_UP
408 interfaces, we'll hear about them when/if interface goes up
409 through NEWADDR.
410 Update flags explicitely at end of it to kick mangling.
411 * ioctl_solaris.c: (if_mangle_up) removed to interface.c, in
412 kind.
413 (lifreq_set_name) more convenient to take the string, than
414 the ifp.
415 (if_get_flags_direct) new convenience function, returns
416 the actual flags. Used during bootstrap in if_ioctl_solaris.c
417 to peek at flags of logical interfaces to see whether or
418 not to ignore them.
419 (if_get_flags) ENXIO means it's gone, poke out IFF_UP and
420 kick flags update.
421 (if_{un,}set_flags) flags argument should be 64bit.
422 * ioctl.{c,h}: flags argument should be 64bit.
423 * interface.h: Add a 'primary_state' flag to struct zebra_if on
424 SUNOS_5.
425 Export if_flags_update.
426 * interface.c: (if_flags_mangle) moved over in kind from
427 ioctl_solaris.c. Nasty kludge to try get IFF_UP right, as
428 much as is possible. Also keep track of the actual IFF_UP
429 value for the primary interface, so we can know when the ifp
430 must be deleted.
431 (if_flags_update) Take a new interface flags value, apply it
432 to the interface, and take whatever actions are required due
433 to flag transitions.
434 (if_refresh) flag state change logic is moved out to
435 previous. Just call if_get_flags, which will end up using
436 previous to effect the update of flags.
437 (if_flag_dump_vty) IFF_IPV{4,6} aren't interesting, VIRTUAL
438 and NOXMIT are though.
439 * kernel_socket.c: (ifm_read) Down->Down transitions shouldn't
440 create ifp, for non-IFANNOUNCE systems.
441 Use if_flags_update to update flags.
442 flag transition logic is now handled automatically through
443 if_flags_update.
444 (ifam_read) Better to call if_refresh *after* adding
445 connected addresses, as connected count affects IFF_UP on
446 IFF_UP-mangled systems.
447 On Solaris, Up->Down due to DELADDR means we need to delete
448 the ifp - the IFINFO might already have been and gone.
449 * rt.h: include other dependent headers.
450
paule8e19462006-01-19 20:16:55 +00004512006-01-19 Paul Jakma <paul.jakma@sun.com>
452
453 * (general) various miscellaneous compiler warning fixes.
454 Remove redundant break statements from switch clauses
455 which return.
456 Remove stray semi-colons which cause empty-statement
457 warnings.
458 * main.c: (sighup) remove private declaration of external
459 function.
460 (main) return from main, not exit, cause it annoys SOS.
461
paulaf887b52006-01-18 14:52:52 +00004622006-01-18 Gunnar Stigen <gunnar.stigen@axxessit.no>
463
464 * zebra_rib.c: Take interface metric into account.
465
pauld34b8992006-01-17 18:03:04 +00004662006-01-17 Paul Jakma <paul.jakma@sun.com>
467
468 * kernel_socket.c: (ifam_read) Read metric from RTM_NEWADDR.
469 If interface is an alias, pass the alias as a label for
470 connected_add_ipv{4,6}.
471 * rt_netlink.c: (netlink_interface_addr) print out
472 IFA_CACHEINFO info, if present, when debugging kernel
473 messages.
474
paulc7133002006-01-17 17:56:18 +00004752006-01-17 Gunnar Stigen <gunnar.stigen@axxessit.no>
476
477 * connected.c: (connected_up_ipv{4,6}) Include interface metric on
478 connected routes.
paul61f42ae2006-01-17 17:59:11 +0000479 * if_ioctl.c: (if_getaddrs) Be defensive about assuming
480 that struct ifaddrs will have ifa_addr filled in.
paulc7133002006-01-17 17:56:18 +0000481
paulc1b98002006-01-16 01:54:02 +00004822006-01-16 Paul Jakma <paul.jakma@sun.com>
483
484 * zserv.c: Read/write updated Zserv header.
485
paulc77d4542006-01-11 01:59:04 +00004862006-01-11 Paul Jakma <paul.jakma@sun.com>
487
488 * zserv.c: (zsend_interface_{add,delete,update}) if flags are
489 8 bytes now, update to write out with stream_putq.
490
gdt6083e1f2005-12-29 15:59:57 +00004912005-12-29 Greg Troxel <gdt@fnord.ir.bbn.com>
492
gdte14b7fc2005-12-29 16:04:53 +0000493 * kernel_socket.c: remove dead code (from David Young).
494
gdt6083e1f2005-12-29 15:59:57 +0000495 * rt_socket.c (kernel_rtm_ipv4): Use AF_INET rather than AF_UNSPEC
496 for mask. From David Young.
497
paul89368d92005-11-26 09:14:07 +00004982005-11-26 Paul Jakma <paul.jakma@sun.com>
499
500 * connected.{c,h}: (connected_add_ipv6) label should have
501 const qualifier, fix declarations.
502
paulec1a4282005-11-24 15:15:17 +00005032005-11-24 Paul Jakma <paul.jakma@sun.com>
504
505 * kernel_socket.h: New header for functions exported to sysctl
506 methods.
507 * kernel_socket.c: include previous.
508 Remove static qualifier from couple of functions which are
509 used by sysctl methods.
510 Add a workaround for a bogus gcc warning to the RTA_ macros.
511 * Makefile.am: Add kernel_socket.h to noinst_HEADERS
512 * if_sysctl.c: include rt.h and kernel_socket.h and remove
513 redundant prototypes.
514 * rtread_sysctl.c: ditto.
515 (route_read) fix mismatch of return values.
516 * {rt,zserv,rib}.h: Include lib headers depended on.
517
paul6621ca82005-11-23 13:02:08 +00005182005-11-23 Paul Jakma <paul.jakma@sun.com>
519
520 * (general) fix some small compile errors, and mark several
521 functions as static.
522 * kernel_socket.c: (ifan_read) should be static.
523 fix missing brackets.
524 (ifm_read,ifam_read,rtm_read_mesg,kernel_read) Make static
525 (ifam_read_mesg) make static. fix incorrect variable name.
526 (rtm_read) make static. Fix call to rib_delete_ipv4 which
527 should be rib_delete_ipv6.
528 (routing_socket,kernel_init) should be static. Void argument
529 should be specified as such, not left incomplete.
530 * rt_netlink.c: rt.h should be included, contains prototypes of
531 exported functions.
532 (kernel_delete_ipv6_old) fix sign of index argument.
533 * rt_socket.c: Exact same as previous. Also, make various
534 functions static.
535 * rtread_getmsg.c: Include zserv.h, which prototypes
536 route_read. Make static.
537 * rtread_sysctl.c: zserv.h and rt.h should be included.
538 fix definition of route_read.
539
paul0fb58d52005-11-14 14:31:49 +00005402005-11-14 Paul Jakma <paul.jakma@sun.com>
541
542 * zebra_rib.c: (rib_process) convert to new workqueue specs and
543 shut up gcc, which complains about cast from void via
544 function parameters, for some dumb reason. Do the cast
545 inside the function instead.
546 (rib_queue_qnode_del) ditto.
547 (rib_queue_init) no need for the casts anymore.
548
paul6fe70d12005-11-12 22:55:10 +00005492005-11-12 Alexander Gall <gall@switch.ch>
550
551 * See [quagga-dev 1815]
552 * kernel_socket.c: (rtm_write) Use SAROUNDUP when HAVE_SIN_LEN
553 is not available.
554 * rt_socket.c: (kernel_rtm_ipv6(_multipath)) set family to
555 AF_INET6 on ipv6 routes.
556
5572005-11-12 Paul Jakma <paul.jakma@sun.com>
558
559 * kernel_socket.c: Add RTA_NAME_GET macro to extract name from
560 sockaddr_dl. Add some more RTF_ flags.
561 * (ifan_read) Add some debug messages.
562 * (ifm_read) Add more debug messages. More robust cross-checks
563 of index against name.
564 Fall back to by-name lookup if the index lookup fails, future
565 proofing more than anything else.
566 (ifam_read_mesg) Read RTA_IFP. Add debug messages.
567 (ifam_read) More debug. If there's an RTA_IFP and it isn't
568 the name of the interface, save it as the label.
569 (rtm_read_mesg) Read RTA_IFP.
570 (rtm_read) allow name to be retrieved.
571 (rtmsg_debug) expand on the debug message.
572
paul0994c3a2005-11-11 09:52:40 +00005732005-11-11 Paul Jakma <paul.jakma@sun.com>
574
575 * kernel_socket.c: (ifm_read) arithmetic on void pointer
576 warning.
577 (ifam_read) Fix error from connected-with-label merge,
578 something crept in from the pending Solaris kernel_socket.c
579 patch which shouldn't have.
580
paul0752ef02005-11-03 12:35:21 +00005812005-11-03 Paul Jakma <paul.jakma@sun.com>
582
583 * connected.{c,h}: Include memory.h
584 (connected_add_ipv4) Use MTYPE for ifc label.
585 (connected_add_ipv6) Also should accept label. Store it in ifp.
586 (connected_del_ipv4) Taking label as argument is pointless.
587 * rt_netlink.c: (netlink_interface_addr) update label usage
588 for connected_{add,delete} functions.
589 * if_ioctl.c: (if_getaddrs) NULL label for connected_add_ipv6.
590 * if_ioctl_solaris.c: (interface_list_ioctl) Pass LIFC_NOXMIT
591 so we also find out about NOXMIT interfaces like VNI.
592 Bit of hackery to turn interface names into the primary
593 interface name, later with routing socket messages we only
594 will about primary interfaces anyway, so we must normalise
595 the name.
596 (if_get_addr) take label as argument, so it can
597 be passed to connected_add.
598 If label is provided, then it is interface name to issue the
599 ioctl for address information on, not the ifp name.
600 (interface_list) List AF_UNSPEC too, just in case.
601 * if_proc.c: (ifaddr_proc_ipv6) label for connected_add_ipv6.
602 * interface.c: (if_addr_wakeup) Some very bogus code - sets
603 IFF_RUNNING - add comment.
604 (if_refresh)
605 (ip_address_install) Use MTYPE for ifc label.
606 * ioctl_solaris.c: (if_mangle_up) New function. Hackery to make
607 IFF_UP reflect whether any addresses are left on the
608 interface, as we get signalled for IFF_UP flags change on the
609 primary interface only. Logical interfaces dont generate
610 IFINFO, but we do get an RTM_DELADDR.
611 (if_get_flags) Call if_mangle_up before return.
612 * kernel_socket.c: (ifam_read) Fixup calls to
613 connected_{add,delete} to match above changes. Rename gate
614 variable to brd, less confusing.
615 Pass the interface name as a label, if it is not same name
616 as ifp->name.
617
pauld06b2a62005-10-11 03:53:54 +00006182005-10-11 Paul Jakma <paul.jakma@sun.com>
619
620 * connected.{c,h}: (connected_{add,delete}_ipv4) label should
621 be const qualified.
622
ajsc05612b2005-10-01 16:36:54 +00006232005-10-01 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
624
ajsf52d13c2005-10-01 17:38:06 +0000625 * zebra_vty.c: (route_type_str) Remove obsolete function: use new
626 library function zebra_route_string() instead. Note that there
627 are a few differences: for IPv6 routes, we now get "ripng" and
628 "ospf6" instead of the old behavior ("rip" and "ospf").
629 (route_type_char) Remove obsolete function: ues new library function
630 zebra_route_char() instead. Note that there is one difference:
631 the old function returned 'S' for a ZEBRA_ROUTE_SYSTEM route,
632 whereas the new one returns 'X'.
633 (vty_show_ip_route_detail,vty_show_ipv6_route_detail) Replace
634 route_type_str() with zebra_route_string().
635 (vty_show_ip_route,vty_show_ipv6_route) Replace route_type_char()
636 with zebra_route_char().
637
6382005-10-01 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
639
ajsc05612b2005-10-01 16:36:54 +0000640 * rt_netlink.c: (netlink_request) Use memset to clear structure
641 before calling sendto (eliminates a valgrind error message about
642 uninitialized data).
vincentaa2e32b2005-09-28 13:42:11 +0000643
6442005-09-28 Alain Ritoux <alain.ritoux@6wind.com>
645
vincentfbf5d032005-09-29 11:25:50 +0000646 * zserv.c: Always provied distance for route add
647
6482005-09-28 Alain Ritoux <alain.ritoux@6wind.com>
649
vincentaa2e32b2005-09-28 13:42:11 +0000650 * connected.c: flag connected_up_ipv6() and connected_down_ipv6()
651 usage with HAVE_IPV6
652
hassod24af182005-09-24 14:00:26 +00006532005-09-24 Hasso Tepper <hasso at quagga.net>
654
655 * rib.h: Add note about behaviour of rib_add_ipv[46]* functions -
656 add is treated as implicit withdraw.
657
hassoebf1ead2005-09-21 14:58:20 +00006582005-09-21 David Young <dyoung@ojctech.com>
659
660 * zebra_rib.c: Reduce the height of some staircases. Fix
661 rib_delete_ipv6() to match routes in the RIB by their gateway as
662 well as by destination.
663
paul319572c2005-09-21 12:30:08 +00006642005-09-21 Paul Jakma <paul.jakma@sun.com>
665
666 * zebra_rib.c: (static_uninstall_ipv{4,6}) Fix regression wrt
667 removal of static routes with multiple-hops introduced with
668 the workqueue conversion. We should free the relevant
669 nexthop and then get rib_process to run, otherwise we just
670 get same static route back again (with no way to unconfigure
671 it, because its already deleted from configuration).
672
paulca162182005-09-12 16:58:52 +00006732005-09-12 Paul Jakma <paul.jakma@sun.com>
674
675 * (general) RTM_CHANGE and implicit withdraw on RTM_NEWADDR
676 support.
677 * connected.c: (connected_withdraw) new function. withdraw a
678 connected subnet address set from zebra, and pass information
679 along to clients.
680 (connected_announce) similar, but to announce a new connected
681 subnet address set.
682 (connected_check_ipv4) renamed to connected_check, as its
683 AFI independent.
684 (connected_add_ipv{4,6}) Remove the connected address announce
685 stuff, use connected_announce instead.
686 If connected_check indicates address is already present,
687 treat it as an implicit withdraw of the existing address, ie
688 remove the old address details and replace with the new
689 details.
690 (connected_delete_ipv{4,6}) Use connected_withdraw.
691 (connected_check_ipv6) deleted in favour of connected_check.
692 * connected.h: Rename connected_check_ipv4 to connected_check.
693 delete connected_check_ipv6.
694 * interface.c: Use connected_check rather than the AFI specific
695 symbols.
696 * kernel_socket.c: (rtm_read) RTM_CHANGE support. Create a
697 rib delete event for the existing route, before adding route
698 again.
699 (kernel_read) we can handle RTM_CHANGE now.
700
hassobe61c4e2005-08-27 06:05:47 +00007012005-08-27 Hasso Tepper <hasso at quagga.net>
702
703 * zebra_rib.c, rib.h: Add distance and metric arguments to the
704 rib_add_ipv6() function so that IPv6 routes in RIB can have correct
705 metric. No IPv6 routing daemon uses distance yet though.
706 * zserv.c, connected.c, kernel_socket.c, rt_netlink.c,
707 rtread_proc.c,zserv.c: Pass metric and distance info to the
708 rib_add_ipv6().
709
paul6eb88272005-07-29 14:36:00 +00007102005-07-29 Paul Jakma <paul.jakma@sun.com>
711
712 * interface.c: (if_delete_update) should always be available, not
713 just on RTM_IFANNOUNCE/NETLINK systems.
714 * kernel_socket.c: (ifan_read) only call if_delete_update when
715 interface departs, dont if_delete, because we wish to retain
716 interface configuration state even when interfaces are removed.
717 (ifm_read) If we dont have RTM_IFANNOUNCE, then transitioning
718 to down state is only chance we have to clean up interface in case
719 it is deleted (eg Solaris down -> unplumb -> plumb up).
720 * redistribute.c: (zebra_interface_delete_update) should always be
721 available, we /will/ call it now on all systems, via
722 if_delete_update.
723 * zserv.c: (zsend_interface_delete) ditto
724 (zsend_interface_address) Update the call-flow diagramme, to
725 reflect that if_delete_update /is/ now called on all systems,
726 potentially.
727 * zserv.h: (zsend_interface_delete) unconditionally exported, as
728 above.
729
paula1ac18c2005-06-28 17:17:12 +00007302005-06-28 Paul Jakma <paul.jakma@sun.com>
731
732 * (global) Extern and static'ification, with related fixups
733 of declarations, ensuring files include their own headers, etc.
paulea6f82b2005-06-28 17:20:26 +0000734 * if_ioctl.c: (interface_info_ioctl) fix obvious arg mis-order in
paula1ac18c2005-06-28 17:17:12 +0000735 list loop
paulea6f82b2005-06-28 17:20:26 +0000736 * kernel_socket.c: (RTA_{ADDR,ATTR}_GET) fix mistake, NULL check
737 should be on DEST argument
paula1ac18c2005-06-28 17:17:12 +0000738
paul62debbb2005-06-14 14:07:07 +00007392005-06-14 Paul Jakma <paul.jakma@sun.com>
740
741 * kernel_socket.c: consolidate the IFAM{ADDR,MASK}GET and
742 RTM{ADDR,MASK}GET macros into generic rta_addrs macros,
743 RTA_{ADDR,ATTR}_GET.
744 (af_check) could use 'inline' attribute
745 (ifam_read_mesg) remove IFAM{ADDR,MASK}GET macro, change to
746 generic macro.
747 (rtm_read_mesg) similar
748
hasso1ada8192005-06-12 11:28:18 +00007492005-06-12 Hasso Tepper <hasso at quagga.net>
750
751 * rt_netlink.c: Remove netlink-addr socket declaration, it's not used.
752 * rt_netlink.c (netlink_parse_info): Fix debug messages - nlmsg_pid is
753 unsigned and one zlog call had swapped arguments.
754 * rt_netlink.c (netlink_route_multipath): Fix compile with disabled
755 IPv6 support.
756
paul1dcb5172005-05-31 08:38:50 +00007572005-05-31 Paul Jakma <paul.jakma@sun.com>
758
759 * zserv.c: (zsend_route_multipath) Fix bug if route is sent
760 with no NEXTHOP_FLAG_FIB nexthops. As ZAPI_MESSAGE_IFINDEX
761 and ZAPI_MESSAGE_NEXTHOP are always set, clients would try
762 read non-existent nexthop information and hit stream assert.
763 Zserv is still broken for multi-nexthop messages, but it always was.
764
paul69e10ad2005-05-06 21:27:33 +00007652005-05-06 Paul Jakma <paul.jakma@sun.com>
766
767 * zserv.h: Remove ZEBRA_PORT definition, its in lib/zebra.h now
768
paul4d38fdb2005-04-28 17:35:14 +00007692005-04-28 Paul Jakma <paul.jakma@sun.com>
770
771 * rib.h: (struct rib) Add lock field for refcounting.
772 * zserv.h: (struct zebra_t) Add a ribq workqueue to the zebra
773 'master' struct.
774 * zserv.c: (zread_ipv4_add) XMALLOC then memset should be XCALLOC.
775 * zebra_rib.c: Clean up refcounting of route_node, make struct rib
776 refcounted and convert rib_process to work-queue. In general,
777 rib's should be rib_addnode'd and delnode'd to route_nodes, and
778 these symmetrical functions will manage the locking of referenced
779 route_node and freeing of struct rib - rather than having users
780 manage each seperately - with much scope for bugs..
781 (newrib_free) removed and replaced with rib_lock
782 (rib_lock) new function, check state of lock and increment.
783 (rib_unlock) new function, check lock state and decrement. Free
784 struct rib if refcount hits 0, freeing struct nexthop's, as
785 newrib_free did.
786 (rib_addnode) Add RIB to route_node, locking both.
787 (rib_delnode) Delete RIB from route_node, unlocking each.
788 (rib_process) Converted to a work-queue work function.
789 Functional changes are minimal, just arguments, comments and
790 whitespace.
791 (rib_queue_add_qnode) Helper function to setup a ribq item.
792 (rib_queue_add) Helper function, same arguments as old
793 rib_process, to replace in callers of rib_process.
794 (rib_queue_qnode_del) ribq deconstructor.
795 (rib_queue_init) Create the ribq.
796 (rib_init) call rib_queue_init.
797 (remainder) Sanitise refcounting of route_node's. Convert to
798 rib_queue_add, rib_addnode and rib_delnode. Change XMALLOC/memset
799 to XCALLOC. Remove calls to nexthop_delete and nexthop_free.
800
paulcf460ef2005-04-10 16:54:26 +00008012005-04-10 Paul Jakma <paul@dishone.st>
802
803 * if_ioctl_solaris.c: (if_lookup_linklocal) fix order of args
804 in ALL_LIST_ELEMENTS_RO macro.
805
ajs57a14772005-04-10 15:01:56 +00008062005-04-10 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
807
808 * zserv.c (zebra_client_read): Fix bug: first read attempt should
809 read ZEBRA_HEADER_SIZE minus the number of bytes already read.
810 Improve efficiency by maintaining a calculation of the number
811 of bytes read instead of calling stream_get_endp multiple times.
812 If message length is too small, issue a warning message (not debug)
813 before closing the connection. And also check that message length
814 is not too big.
815
hasso206d8052005-04-09 16:38:51 +00008162005-04-09 Hasso Tepper <hasso at quagga.net>
817
hassofa599802005-04-09 16:59:28 +0000818 * rt_netlink.c: One tiny missing comma caused pointless debug messages
819 about IPv6 nexthops.
820
8212005-04-09 Hasso Tepper <hasso at quagga.net>
822
hasso206d8052005-04-09 16:38:51 +0000823 * rt_netlink.c (netlink_parse_info): Fix warning. It's safe to cast
824 status to unsigned here, because we already checked that it isn't
825 negative or 0.
826 * rt_netlink.c (netlink_interface_addr): Prefix length belongs to the
827 address, not to the interface.
828 * rt_netlink.c (netlink_route_multipath): Fix debug. No useless info
829 is printed out now and IPv6 info is handeled.
830
paul3d1dc852005-04-05 00:45:23 +00008312005-04-05 Paul Jakma <paul@dishone.st>
832
833 * zserv.c: print more helpful errors when we fail to successfully
834 bind and listen on zserv socket. Closes bugzilla #163.
835
ajsd2fc8892005-04-02 18:38:43 +00008362005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
837
ajs08dbfb62005-04-03 03:40:52 +0000838 * if_ioctl.c: (interface_list_ioctl) Use if_get_by_name_len.
839 * if_proc.c: (ifaddr_proc_ipv6) Increase size of ifname buffer to
840 avoid overflow.
841 * kernel_socket.c: (ifan_read) Use if_get_by_name_len.
842
8432005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
844
ajsa3491982005-04-02 22:50:38 +0000845 * kernel_socket.c: (ifm_read) Use new if_lookup_by_name_len function
846 to save a memcpy.
847 * if_ioctl_solaris.c: (interface_list_ioctl) Fix subtle bug with new
848 if_get_by_name_len function.
849
8502005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
851
ajsd2fc8892005-04-02 18:38:43 +0000852 * interface.c: (if_new_intern_ifindex) Remove obsolete function.
853 (if_delete_update) After distributing the interface deletion message,
854 set ifp->ifindex to IFINDEX_INTERNAL.
855 (if_dump_vty) Detect pseudo interface by checking if ifp->ifindex is
856 IFINDEX_INTERNAL.
857 (zebra_interface) Check return code from interface_cmd.func.
858 Do not set internal ifindex values to if_new_intern_ifindex(),
859 since we now use IFINDEX_INTERNAL for all pseudo interfaces.
860 * kernel_socket.c: (ifm_read) Fix code and comments to reflect that
861 all internal interfaces now have ifp->ifindex set to IFINDEX_INTERNAL.
862 * rt_netlink.c: (set_ifindex) New function used to update ifp->ifindex.
863 Detects interface rename events by checking if that ifindex is already
864 being used. If it is, delete the old interface before assigning
865 the ifindex to the new interface.
866 (netlink_interface, netlink_link_change) Call set_ifindex to update
867 the ifindex.
868
hassob7ed1ec2005-03-31 20:13:49 +00008692005-03-31 Hasso Tepper <hasso at quagga.net>
870
871 * rt_netlink.c (netlink_talk_filter): Show always warning message,
872 it's not for debug.
873 * rt_netlink.c (netlink_talk): Don't assume we use netlink_cmd
874 although we do now actually.
875 * rt_netlink.c (netlink_route, netlink_route_multipath): Always use
876 netlink_cmd to send messages to the kernel.
877
ajs2da40f42005-03-30 16:33:13 +00008782005-03-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
879
880 * irdp.h: Add prototype for irdp_sock_init, and fix protos for
881 other irdp_* functions.
882 * irdp_interface.c: (irdp_if_start) If irdp_sock is negative,
883 call irdp_sock_init to create the IRDP socket.
884 (irdp_if_init) Rename to irdp_init().
885 (get_iflist_ifp) Remove function that is a duplicate of
886 if_lookup_by_index.
887 (*) Make many functions static. And remove superfluous "\n" from
888 several zlog messages.
889 * irdp_main.c: (irdp_init) Remove function that used to call
890 irdp_if_init() and irdp_sock_init(), since we will now create
891 the socket only upon first use.
892 (irdp_sock_init) Do not update global irdp_sock variable, just
893 return the fd and assume that the caller will do so. If setsockopt
894 calls fail, close the socket before returning -1.
895 (*) Make many functions static.
896 * irdp_packet.c: Initialize irdp_sock to -1.
897 (irdp_read_raw) Call standard library function if_lookup_by_index
898 instead of get_iflist_ifp.
899 (irdp_recvmsg) Should be static, not global.
900
ajsa608bbf2005-03-29 17:03:49 +00009012005-03-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
902
903 * rt_netlink.c: (netlink_link_change) If the status of an
904 operative interface changes (e.g. MTU changes), the client
905 daemons should be notified by calling zebra_interface_up_update.
906 Previously, the information was being updated in zebra's
907 interface structure, but the clients were not notified of
908 changes to an operative interface.
909
vincent7cee1bb2005-03-25 13:08:53 +00009102005-03-25 Jean-Mickael Guerin <jean-mickael.guerin@6wind.com>
911 * interface.c, interface.h, rtadv.c, rtadv.h: modifications to
912 IPv6 Neighbor Discovery according to RFC3775, section 7:
913 o 1-bit Home Agent flag management in Router Advertisement (7.1).
914 o 1-bit Router Address flag management in Prefix Information
915 Option (7.2).
916 o Advertisement Interval Option (7.3)
917 o Home Agent Information Option (7.4)
918 o Changes to Sending Router Advertisements more frequently (7.5)
919
hassoed9bb6d2005-03-13 19:17:21 +00009202005-03-13 Hasso Tepper <hasso at quagga.net>
921
922 * zebra/interaface.c: "show interface description" command
923 implemented.
924
paulc1f01f32005-03-12 06:33:14 +00009252005-03-12 Paul Jakma <paul@dishone.st>
926
927 * rt_netlink.c: (netlink_route_multipath) dont set equalise flag.
928 No stock Linux kernel has ever supported it, and even if it had
929 it's not generally a good idea.
930
hasso42a66d72005-03-07 08:19:44 +00009312005-03-07 Michael Sandee <voidptr@voidptr.sboost.org>
932
933 * if_proc.c, ipforward_proc.c, rtread_proc.c: Fix fd leaks.
934
hasso3452d472005-03-06 13:42:05 +00009352005-03-06 Hasso Tepper <hasso at quagga.net>
936
937 * interface.c: Fix CRC and frame errors statistics in Linux.
938
ajs719e9742005-02-28 20:52:15 +00009392005-02-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
940
941 * zserv.c: Must include network.h and buffer.h for non-blocking I/O.
942 Remove global message_queue and t_write (need separate buffering for
943 each client).
944 (zebra_server_dequeue,zebra_server_enqueue) Remove functions
945 related to old buggy buffering code.
946 (zserv_delayed_close) New thread callback function to delete a client.
947 (zserv_flush_data) New thread callback function to flush buffered
948 data to client.
949 (zebra_server_send_message) Rewritten to use buffer_write (so
950 buffering of writes and non-blocking I/O work properly).
951 (zsend_interface_add,zsend_interface_delete,zsend_interface_address,
952 zsend_interface_update) Return 0 instead of -1 if !client->ifinfo
953 (this is not really an error). Return value from
954 zebra_server_send_message.
955 (zsend_route_multipath,zsend_ipv4_nexthop_lookup,
956 zsend_ipv4_import_lookup) Return value from zebra_server_send_message.
957 (zsend_ipv6_nexthop_lookup) Fix scope to static, and return value
958 from zebra_server_send_message.
959 (zsend_router_id_update) Must use zebra_server_send_message instead
960 of deprecated writen function. Return 0 instead of -1 if this client
961 is not subscribed to router-id updates (since this is not really
962 an error).
963 (zread_interface_add) Change type to static int. If
964 zsend_interface_add fails or zsend_interface_address fails, return -1
965 immediately (since the client has had an I/O error).
966 (zread_interface_delete,zread_ipv4_add,zread_ipv4_delete,
967 zread_ipv6_add,zread_ipv6_delete,zread_router_id_delete) Return 0
968 to indicate success.
969 (zread_ipv4_nexthop_lookup) Return value from
970 zsend_ipv4_nexthop_lookup.
971 (zread_ipv4_import_lookup) Return value from zsend_ipv4_import_lookup.
972 (zebra_read_ipv6) Remove unused function.
973 (zread_ipv6_nexthop_lookup) Return value from
974 zsend_ipv6_nexthop_lookup.
975 (zread_router_id_add) Return value from zsend_router_id_update.
976 (zebra_client_close) Call buffer_free(client->wb) and
977 thread_cancel(client->t_suicide).
978 (zebra_client_create) Allocate client->wb using buffer_new.
979 (zebra_client_read) Support non-blocking I/O by using stream_read_try.
980 Use ZEBRA_HEADER_SIZE instead of 3.
981 (zebra_accept) Fix bug: reset accept thread at top. Make client
982 socket non-blocking using the set_nonblocking function.
983 (config_write_forwarding) Fix scope to static.
984 (zebra_init) Remove initialization code for old buggy write buffering.
985 * zserv.h: Add 2 new fields to struct zserv: struct buffer *wb
986 (to enable buffered writes with non-blocking I/), and
987 struct thread *t_suicide to support delayed close on I/O
988 errors.
989 * router-id.h: Remove prototypes for zread_router_id_add and
990 zread_router_id_delete (their scope should be static to zserv.c).
991
ajs27da3982005-02-24 16:06:33 +00009922005-02-24 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
993
994 * redistribute.c: (zebra_check_addr,is_default,
995 zebra_redistribute_default,zebra_redistribute) Fix scope to be static.
996
hassoe8274dc2005-02-20 19:09:23 +00009972005-02-20 Hasso Tepper <hasso at quagga.net>
998
999 * rt_netlink.c: Don't show messages "ignoring message type 0x001[89]"
1000 if we are not debugging.
1001
paule31f2292005-02-19 02:00:26 +000010022005-02-19 Paul Jakma <paul@dishone.st>
1003
1004 * zserv.c: (zebra_read_ipv6) replace the char * arithmetic with
1005 STREAM_READABLE.
1006
paul1e193152005-02-14 23:53:05 +000010072005-02-14 Paul Jakma <paul@dishone.st>
1008
1009 * Not all Linux netlink systems have IFLA_WIRELESS
1010
ajs6a52d0d2005-01-30 18:49:28 +000010112005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
1012
1013 * ioctl.c: (if_ioctl,if_ioctl_ipv6,if_get_flags) Replace perror with
1014 zlog_err.
1015 * ioctl_solaris.c: (if_ioctl,if_ioctl_ipv6) Replace perror with
1016 zlog_err.
1017
ajs4be019d2005-01-29 16:12:41 +000010182005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
1019
ajs4460e7a2005-01-29 17:07:40 +00001020 * if_ioctl_solaris.c: (interface_list_ioctl) Save errno before calling
1021 zserv_privs.change.
1022 * ioctl{,_solaris}.c: (if_ioctl,if_ioctl_ipv6) Save errno before calling
1023 zserv_privs.change.
1024 * ipforward_solaris.c: (solaris_nd) Save errno before calling
1025 zserv_privs.change.
1026 * irdp_main.c: (irdp_sock_init) Save errno before calling
1027 zserv_privs.change.
1028
10292005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
1030
ajs4be019d2005-01-29 16:12:41 +00001031 * rt_netlink.c: (netlink_socket,netlink_request,netlink_parse_info,
1032 netlink_talk) Save errno before calling zserv_privs.change.
1033
paulc15cb242005-01-24 09:05:27 +000010342005-01-24 Martin Pot <mpot at martybugs.net>
1035
1036 * zebra/rt_netlink.c: ignore wireless newlink netlink messages.
1037
hasso6f2c27a2005-01-18 13:44:35 +000010382005-01-18 Hasso Tepper <hasso at quagga.net>
1039
1040 * interface.c: Better statistics output in "show interface" command in
1041 case of /proc being used.
1042
hasso583d8002005-01-16 23:34:02 +000010432005-01-17 Hasso Tepper <hasso at quagga.net>
1044
1045 * main.c: With --nl-bufsize argument is required.
1046
paul865b8522005-01-05 08:30:35 +000010472005-01-05 Paul Jakma <paul@dishone.st>
1048
1049 * zserv.c: (zebra_accept) Comment out setting of socket to NONBLOCK
1050 for now, as we dont actually deal with with resending.... See
1051 bugzilla #122, fix from wawa@yandex-team.ru (Vladimir Ivanov).
1052 * kernel_socket.c: (routing_socket) ditto.
1053
ajsb99760a2005-01-04 16:24:43 +000010542005-01-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
1055
1056 * rtadv.c: (rtadv_recv_packet,rtadv_send_packet) Use ZCMSG_FIRSTHDR
1057 instead of CMSG_FIRSTHDR.
1058
ajs341a8f12004-12-22 16:32:16 +000010592004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
1060
1061 * connected.c: (connected_add_ipv4) Limit warning about /32 addresses
1062 with no peer specified to PtP interfaces only.
1063
hassob8adec12004-12-18 16:03:28 +000010642004-12-18 Hasso Tepper <hasso at quagga.net>
1065
1066 * zebra_vty.c: Fix "show ipv6 route <proto>" command help and make it
1067 work for isis routes.
1068
gdt6a250b02004-12-09 14:48:12 +000010692004-12-09 Greg Troxel <gdt@fnord.ir.bbn.com>
1070
1071 * kernel_socket.c (rtmsg_debug): char * => const char *
1072
ajs274a4a42004-12-07 15:39:31 +000010732004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
1074
ajsb6178002004-12-07 21:12:56 +00001075 * *.c: Change level of debug messages to LOG_DEBUG.
1076
10772004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
1078
ajs274a4a42004-12-07 15:39:31 +00001079 * main.c: (main) The 2nd argument to openzlog has been removed.
1080 So stdout logging will no longer be enabled by default.
1081 * irdp_main.c: (irdp_finish) Reduce severity of shutdown message
1082 from LOG_WARNING to LOG_INFO.
1083
ajs887c44a2004-12-03 16:36:46 +000010842004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
1085
1086 * main.c: (sigint) Use zlog_notice for termination message.
1087 (main) Add a startup announcement using zlog_notice.
1088
hassoaccb1562004-11-25 19:21:07 +000010892004-11-25 Hasso Tepper <hasso at quagga.net>
1090
1091 * irdp_interface.c: Remove comment from DEFUN, it breaks vtysh because
1092 it confuses extract.pl.
hassoc0652302004-11-25 19:33:48 +00001093 * main.c: Make group to run as configurable.
hassoaccb1562004-11-25 19:21:07 +00001094
hasso6bd7c6a2004-10-28 17:32:27 +000010952004-10-28 Hasso Tepper <hasso at quagga.net>
1096
1097 * interface.c: Remove dead "ip tunnel" command.
1098
paul06f953f2004-10-22 17:00:38 +000010992004-10-22 Paul Jakma <paul@dishone.st>
1100
1101 * irdp_main.c: change setsockopt_pktinfo to setsockopt_ifindex
1102
hasso3fb9cd62004-10-19 19:44:43 +000011032004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
1104
1105 * rt_netlink.c: (netlink_interface_addr) For PtP interfaces, ignore
1106 tb[IFA_ADDRESS] if it's the same as tb[IFA_LOCAL].
1107 * interface.c: (ip_address_install) Use new ipv4_broadcast_addr
1108 function.
1109 * connected.c: (connected_up_ipv4) Use CONNECTED_POINTOPOINT_HOST
1110 macro.
1111 (connected_down_ipv4) ditto.
1112 (connected_add_ipv4) Validate destination address, print warnings
1113 if it does not make sense.
1114
hassoc1eaa442004-10-19 06:26:01 +000011152004-10-19 Hasso Tepper <hasso at quagga.net>
1116
1117 * zserv.c: Fix regression introduced with zserv cleanup.
1118
hassoc75105a2004-10-13 10:33:26 +000011192004-10-13 Hasso Tepper <hasso at quagga.net>
1120
1121 * zebra_snmp.c: Remove defaults used to initialize smux connection to
1122 snmpd. Connection is initialized only if smux peer is configured.
hassob71f00f2004-10-13 12:20:35 +00001123 * zserv.c: Remove useless warnings "forwarding is already on".
hassoc75105a2004-10-13 10:33:26 +00001124
hasso39ff11d2004-10-12 15:55:19 +000011252004-10-12 Hasso Tepper <hasso at quagga.net>
1126
1127 * zebra_vty.c: Unbreak "show ip route" command help and make it work
1128 for isis routes.
hasso39db97e2004-10-12 20:50:58 +00001129 * interface.c(if_dump_vty): Show IPv6 addresses in "show interface"
1130 output. Fixes Bugzilla #119.
1131 * *.c: Make some strings const and some (unsigned) casts to fix
1132 compiler warnings.
hasso39ff11d2004-10-12 15:55:19 +00001133
hassofce954f2004-10-07 20:29:24 +000011342004-10-07 Hasso Tepper <hasso at quagga.net>
1135
1136 * connected.c, main.c, rt_netlink.c, rtadv.c, zebra_rib.c, zserv.c:
1137 Fix warnings: make strings const, signed -> unsigned.
1138
paul72164662004-10-05 14:39:43 +000011392004-10-05 Paul Jakma <paul@dishone.st>
1140
1141 * irdp_packet.c: (parse_irdp_packet) style issues.
1142 Use sockopt_iphdrincl_swab_systoh.
1143 Try unbork the code. Checksum the ICMP data and actually
1144 compare it to received checksum. Check data length against
1145 claimed length in header.
1146 Always use ntoh.. when accessing addresses, even when the
1147 comparison happens to be endian-safe.
1148 (send_packet) minor style isues. Use
1149 sockopt_iphdrincl_swab_htosys.
1150 (irdp_iph_hton/ntoh) IP header to/from network/host order.
1151
hassoeef1fe12004-10-03 18:46:08 +000011522004-10-03 Gilad Arnold <gilad.arnold at terayon.com>
1153
1154 * interface.c, interface.h: A new prefix tree of connected subnets is
1155 associated with each interface structure in zebra, in which each
1156 live (ie, non-synthetic) node holds a list of installed addresses
1157 that belong to that prefix. Remove secondary address logic from cli.
1158 See [quagga-dev 872] for detailed explanation.
1159 * connected.c: Use if_subnet_add() and if_subnet_delete().
1160
hasso18a6dce2004-10-03 18:18:34 +000011612004-10-03 James R. Leu <jleu at mindspring.com>
1162
1163 * router-id.c, router-id.h: New files. Router id selection process. If
1164 there is non 127.x.x.x address in loopack interface, lowest of them
1165 is chosen. If there isn't, lowest from other interfaces addresses
1166 are chosen. "router-id x.x.x.x" vty command to manual override.
1167 * Makefile.am: Compile new files.
1168 * main.c: Initialize router id.
1169 * redistribute.c: Add interface addresses into router id selection
1170 lists as they (dis)appear.
1171 * zserv.c, zserv.h: Sending router id related messages to daemons.
1172
hassoc9e52be2004-09-26 16:09:34 +000011732004-09-26 Hasso Tepper <hasso at quagga.net>
1174
1175 * irdp_interface.c, irdp_main.c, irdp_packet.c, rt_netlink.c,
1176 rtadv.c, zebra_vty.c: Fix compiler warnings.
1177
paul0c0f9112004-09-24 08:24:42 +000011782004-09-24 Paul Jakma <paul@dishone.st>
1179
paul26f7a242004-09-24 08:45:10 +00001180 * irdp_interface.c: (no_ip_irdp_address_preference_cmd)
1181 add missing listnode declaration.
1182
11832004-09-24 Paul Jakma <paul@dishone.st>
1184
paul0c0f9112004-09-24 08:24:42 +00001185 * irdp_{interface,main}.c: lists typedef removal cleanup.
1186 update some list loops to LIST_LOOP. some miscellaneous style
1187 and indent fixups.
1188 (no_ip_irdp_address_preference_cmd) Fix delete of referenced node
paul26f7a242004-09-24 08:45:10 +00001189 in loop.
paul0c0f9112004-09-24 08:24:42 +00001190 * irdp_packet.c: (irdp_recvmsg) Fix buggy assignment of integer
1191 to pointer.
1192 * if_ioctl{,_solaris}.c: lists typedef removal cleanup.
1193 update some list loops to LIST_LOOP.
1194
hasso52dc7ee2004-09-23 19:18:23 +000011952004-09-23 Hasso Tepper <hasso at quagga.net>
1196
1197 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
1198
paul44983cf2004-09-22 13:15:58 +000011992004-09-22 Paul Jakma <paul.jakma@sun.com>
1200
1201 * zserv.c: (zsend_route_multipath) fix nasty bad memset of struct
1202 in_addr to sizeof(struct in6_addr), causing odd and hard to debug
1203 crash.
1204
hassoc34b6b52004-08-31 13:41:49 +000012052004-08-31 Hasso Tepper <hasso at quagga.net>
1206
1207 * main.c, rt_netlink.c: Added -s command line switch for tuning
1208 netlink receive buffer size in Linux to avoid buffer overruns.
1209
gdta5ea6872004-08-26 13:24:00 +000012102004-08-26 Miles Nordin <carton@Ivy.NET>
1211
1212 * ipforward_sysctl.c (mib_ipv6): Use size_t for len, per
1213 sysctl(3), rather than int. (Needed on NetBSD/alpha to display
1214 forwarding status correctly.)
1215
paul3e0b3a52004-08-23 18:58:32 +000012162004-08-23 Paul Jakma <paul@dishone.st>
1217
1218 * zserv.c: (zebra_init) remove implicit ip forward enabling
1219
paul0de1cde2004-08-19 04:45:33 +000012202004-08-19 Paul Jakma <paul@dishone.st>
1221
1222 * irdp_main.c: update to match sockopt renames.
1223 * irdp_packet.c: include sockopt.h and update to match sockopt
1224 renames.
1225
gdt57492d52004-08-11 18:06:38 +000012262004-08-11 Greg Troxel <gdt@fnord.ir.bbn.com>
1227
1228 * rtadv.c (rtadv_send_packet): Allocate space for control messages
1229 more carefully; it was wrong on NetBSD/sparc where CMSG alignment
1230 is to 8 bytes instead of 4, and overwriting the address. Use the
1231 provided macros for determining lengths.
1232
paul5b73a672004-07-23 15:26:14 +000012332004-07-23 Sowmini Varadhan <Sowmini.Varadhan@Sun.COM>
1234
1235 * if_ioctl_solaris.c: HAVE_IPV6 ifdef fixups
1236 * zserv.c: ditto
1237 * ioctl_solaris.c: ditto.
1238 * interface.c: cast for LLADDR
1239 * interface.h: Add guards, include redistribute.h and remove
1240 extraneous definitions of zebra_interface_{up,down}_update
1241 * ioctl.h: Add AF_IOCTL define for non SOLARIS_IPV6
1242 * redistribute.h: include dependent header, zserv.h
1243 * zserv.h: include dependent header, rib.h
1244
paul1470baf2004-07-23 15:25:01 +000012452004-07-23 Paul Jakma <paul@dishone.st>
1246
1247 * irdp_main.c: use setsockopt_pktinfo_ipv4
1248 * irdp_packet.c: use SOPT_SIZE_CMSG_PKTINFO_IPV4 and
1249 getsockopt_pktinfo_ifindex()
1250
gdtcced60d2004-07-13 16:45:54 +000012512004-07-13 David Wiggins <dwiggins@bbn.com
1252
1253 * kernel_socket.c (rtm_flag_dump): terminate buffer with '\0', not '0'.
1254
hasso25dac852004-07-13 03:06:51 +000012552004-07-13 Hasso Tepper <hasso@estpak.ee>
1256
1257 * irdp_main.c: Add privilege change.
1258
hasso996933f2004-07-12 16:32:56 +000012592004-07-12 Hasso Tepper <hasso@estpak.ee>
1260
1261 * irdp_interface.c: follow common style while naming vty command
1262 functions. Avoids confusion in extract.pl.
1263
gdt87efd642004-06-30 17:36:11 +000012642004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
1265
1266 * main.c: define thread_master variable so that linking with
1267 libzebra.so doesn't fail. Arguably zclient.o should be in a
1268 separate library, but this is far less disruptive.
1269
hassoca776982004-06-12 14:33:05 +000012702004-06-12 Robert Olsson <Robert.Olsson at data.slu.se>
1271
1272 * Added IRDP support.
1273
hasso3e31cde2004-05-18 11:58:59 +000012742004-05-18 Hasso Tepper <hasso@estpak.ee>
1275
1276 * rtadv.c: Removed "[no] ipv6 nd send-ra" command. Replaced "ipv6 nd
1277 prefix-advertisement" with "ipv6 nd prefix". Rewrite syntax of
1278 "ipv6 nd prefix" command to allow various combinations of parameters
1279 and flags. No defaults in configuration. Replaced on-link and
1280 autoconfig with off-link and no-autoconfig flags in command syntax.
1281 Cosmetic fixes in all commands. Documentation to reflect all changes.
1282
paul19877dd2004-05-11 10:49:35 +000012832004-05-11 Paul Jakma <paul@dishone.st>
1284
1285 * Makefile.am: support for IOCTL_METHOD, as per Sowmini's patch.
paul48a46fa2004-05-11 10:55:22 +00001286 * if_ioctl_solaris.c: Fixup some erroneous privilege changes and
1287 add privs.h header.
1288 * ioctl_solaris.c: ditto
paulc50ae8b2004-05-11 11:31:07 +00001289 * ioctl.h: Add if_ioctl_ipv6 prototype and AF_IOCTL for SOLARIS_IPV6
1290 * kernel_socket.c: Fix SAROUNDUP, compiler doesnt like do..while
1291 RHS in assignments :)
1292 * redistribute.c: (zebra_interface_delete_update) only used
1293 if RTM_IFANNOUNCE and NETLINK is available.
1294
paulb9df2d22004-05-09 09:09:59 +000012952004-05-09 Paul Jakma <paul@dishone.st>
1296
1297 * zserv.c: (zsend_route_multipath) Set the nexthop_num
1298 field correctly. Add NEXTHOP_TYPE_IPV6_IFNAME for v6.
1299 Conditionally set ZAPI_MESSAGE_METRIC flag - only for adds.
1300 (zsend_ipv4_add) cruft, deleted.
1301 (zsend_ipv4_delete) ditto.
1302 (zsend_ipv6_add) ditto.
1303 (zsend_ipv6_delete) ditto.
paul44145db2004-05-09 11:00:23 +00001304 * ioctl.c: (if_get_mtu) set mtu6 to mtu
1305 * mtu_kvm.c: (if_kvm_get_mtu) set mtu6 to mtu
1306 * rt_netlink.c: (netlink_interface) set mtu6 to mtu
1307 (netlink_link_change) ditto
paul66e94882004-05-09 17:19:24 +00001308 * ipforward_solaris.c: fix typo of ND variable.
paul88424682004-05-09 18:21:35 +00001309 * if_ioctl_solaris.c: Add zprivs support.
1310 * ioctl_solaris.c: ditto.
paul66e94882004-05-09 17:19:24 +00001311
paulb9df2d22004-05-09 09:09:59 +000013122004-05-09 Sowmini Varadhan <sowmini.varadhan@sun.com>
1313
1314 * zserv.c: (zsend_ipv{4,6}_{add,delete}_multipath) collapsed
1315 into single zsend_route_multipath function.
1316 (zsend_interface_{up,down}) collapsed into zsend_interface_update.
1317 (zsend_interface_address_{add,delete}) collapsed into
1318 zsend_interface_address.
1319 (zsend_interface_add) send mtu6.
1320 (zsend_interface_delete) ditto.
1321 (zebra_write) remove unused function.
1322 (various) Apply static qualifier. Add comments.
1323 * zserv.h: Definitions changed as per above.
1324 * redistribute.c: Changes as per zserv.c.
paul44145db2004-05-09 11:00:23 +00001325 * interface.c: (if_delete_update) only used with HAVE_NETLINK
1326 and RTM_IFANNOUNCE.
1327 (if_flag_dump_vty) Solaris IFF_IPV4 and IFF_IPV6 if flags
1328 (if_dump_vty) print mtu6 if not same as mtu
paul88424682004-05-09 18:21:35 +00001329 * if_ioctl_solaris.c: New file, Solaris interface ioctl methods.
1330 * ioctl_solaris.c: New file, Common solaris ioctl methods.
1331
hasso34195bf2004-04-06 12:07:06 +000013322004-04-06 Krzysztof Oledzki <oleq@ans.pl>
1333
1334 * rt_netlink.c: Do not ignore metric when reading kernel routing
1335 table on Linux with rt_netlink interface.
1336
13372004-03-18 Hasso Tepper <hasso@estpak.ee>
hassof1d92e12004-03-18 15:40:33 +00001338
1339 * interface.c: Temporary fix for handling secondary addresses
1340 with label.
1341
hasso55906722004-02-11 22:42:16 +000013422004-02-12 Hasso Tepper <hasso@estpak.ee>
hassof1d92e12004-03-18 15:40:33 +00001343
hasso55906722004-02-11 22:42:16 +00001344 * zserv.c: Added "ipv6 forwarding" command.
1345
gdtb27900b2004-01-08 15:44:29 +000013462004-01-08 Greg Troxel <gdt@fnord.ir.bbn.com>
1347
1348 * kernel_socket.c (kernel_read): Use sockaddr_storage in buffer
1349 for reading kernel messages to ensure enough space (necessary on
1350 Solaris due to sockaddr_dl being large). Thanks to Sowmini
1351 Varadhan for help with this change.
1352
gdt9ccabd12004-01-06 18:23:02 +000013532004-01-06 Greg Troxel <gdt@t1.ir.bbn.com>
1354
1355 * rtadv.c (rtadv_send_packet): Change perror to zlog_err.
1356
gdtdbee01f2004-01-06 00:36:51 +000013572004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
gdt4bfbea82004-01-06 01:13:05 +00001358 * kernel_socket.c (ifm_read): Major cleanup. Use Sowmini's code
1359 to find the sockaddr_dl in all cases, narrowing the Solaris ifdef
1360 to just the accomodation of broken kernels. Check sockaddr_dl
1361 carefully up front, and later assume any non-NULL sdl pointer is
1362 valid. Clean up types and variable declarations, and rename
1363 WRAPUP to SAROUNDUP to make the name fit the behavior.
1364
13652004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
gdtdbee01f2004-01-06 00:36:51 +00001366
1367 * kernel_socket.c (kernel_read): Add a sockaddr_dl to the ifmsg
1368 structure, because on Solaris sockaddr_dl is far larger than the
1369 base sockaddr structure. (The code had previously been failing to
1370 read all the data.)
gdt4bfbea82004-01-06 01:13:05 +00001371
gdtda26e3b2004-01-05 17:20:59 +000013722004-01-05 Greg Troxel <gdt@ahi.ir.bbn.com>
1373
1374 * kernel_socket.c (kernel_read): Look up interfaces by index
1375 first, so that state changes which do not include a sockaddr_dl
1376 now work. Add many sanity checks. In
1377 particular, do not assume that a sockaddr_dl follows a message
1378 without checking the ifm_addrs flags, and do not trust the length
1379 in a sockaddr_dl. Add/clarify many comments.
1380
gdt4b5e1352003-12-03 17:54:34 +000013812003-12-03 Greg Troxel <gdt@poblano.ir.bbn.com>
1382
1383 * rtadv.c: reorder includes to avoid compiler warning (define
1384 structs before using them in prototypes)
1385
hasso647e4f12003-05-25 11:43:52 +000013862003-05-25 Jim Crumpler <Jim.Crumpler@edion.com>
1387
1388 * zserv.c: Add "ip forwarding" command.
1389
paul445f1432003-05-16 19:00:31 +000013902003-05-16 Gilad Arnold <gilad.arnold@terayon.com>
1391
1392 * zebra_rib.c: Fix memory leaks for ifname nexthops
1393
13942003-04-19 Israel Keys <ikeys@agile.tv>
1395
1396 * rt_netlink.c: BLOCK on netlink while initialising
1397
13982003-02-06 Francois Deppierraz <francois@ctrlaltdel.ch>
1399
1400 * rt_netlink.c (netlink_route_multipath): Set RTM_F_EQUALIZE when
1401 it exists.
1402
paul718e3742002-12-13 20:15:29 +000014032002-09-28 Akihiro Mizutani <mizutani@net-chef.net>
1404
1405 * zebra_rib.c (static_add_ipv4): Null0 static route is added.
1406
14072002-09-10 Jochen Friedrich <chris+zebra@scram.de>
1408
1409 * rt_netlink.c: Add check for EAGAIN.
1410 * kernel_socket.c: Likewise
1411
14122002-06-12 Israel Keys <ikeys@oz.agile.tv>
1413
1414 * rt_netlink.c: Setting the NLM_F_ACK flag on the netlink command
1415 message so that we get an ACK for successful netlink commands.
1416 Change the netlink socket to BLOCKING while we wait for a
1417 response; be it an ACK or an NLMSG_ERROR. Change
1418 netlink_parse_info to deal with ACK messages.
1419
14202001-11-01 Jun-ichiro itojun Hagino <itojun@iijlab.net>
1421
1422 * rtadv.c (rtadv_make_socket): setsockopt(IPV6_CHECKSUM) does not
1423 work for ICMPv6 socket.
1424
14252001-10-24 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
1426
1427 * rib.c (rib_process): Select connected route any case.
1428
14292001-10-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
1430
1431 * interface.c (no_ip_address_secondary): Add "no" to command.
1432
14332001-10-18 NOGUCHI Kay <kay@v6.access.co.jp>
1434
1435 * ioctl.c (if_prefix_add_ipv6): Set the prefered and valid lifetime
1436 to infinity as the freebsd4.4 workaroud.
1437
14382001-08-26 mihail.balikov@interbgc.com
1439
1440 * zebra_snmp.c: Fix snmpwalk problem such as IPv4 address
1441 A.B.C.255.
1442
14432001-08-22 NOGUCHI Kay <kay@v6.access.co.jp>
1444
1445 * rtadv.c: Do not send RA to loopback interface.
1446
14472001-08-20 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
1448
1449 * ioctl.c (if_set_prefix): Remove Linux 2.0 specific connected
1450 route treatment.
1451
14522001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
1453
1454 * zebra-0.92a released.
1455
14562001-08-17 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
1457
1458 * rib.c: Kernel route is treated as EGP routes in nexthop active
1459 check.
1460
14612001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
1462
1463 * zebra-0.92 released.
1464
14652001-08-08 "Akihiro Mizutani" <mizutani@dml.com>
1466
1467 * rib.c (show_ip_route_prefix_longer): Add longer-prefix option to
1468 show route commands.
1469
14702001-07-29 Yon Uriarte <havanna_moon@gmx.net>
1471
1472 * zserv.c (zsend_ipv4_add_multipath): Add
1473 NEXTHOP_TYPE_IPV4_IFINDEX check.
1474
14752001-07-29 NOGUCHI Kay <kay@v6.access.co.jp>
1476
1477 * rtadv.c: Apply valid lifetime, preferred lifetime, onilnk flag,
1478 autonomous address-configuration flag patch.
1479 (no_ipv6_nd_suppress_ra): Change "ipv6 nd send-ra" to "no ipv6 nd
1480 suppress-ra".
1481
14822001-07-24 NOGUCHI Kay <kay@v6.access.co.jp>
1483
1484 * rtadv.c (ipv6_nd_ra_interval): Add "ipv6 nd ra-interval SECONDS"
1485 command.
1486
14872001-07-24 Jun-ichiro itojun Hagino <itojun@iijlab.net>
1488
1489 * rt_socket.c (kernel_rtm_ipv4): Add KAME/NetBSD151 equal cost
1490 multicast FIB support both IPv4 and IPv6.
1491
14922001-07-24 Hal Snyder <hal@vailsys.com>
1493
1494 * if_ioctl.c (interface_list_ioctl): Fix bug of failing to get the
1495 full list of interfaces on some configurations of OpenBSD.
1496
14972001-07-23 NOGUCHI Kay <kay@v6.access.co.jp>
1498
1499 * rtadv.c (ipv6_nd_send_ra): Apply [zebra 9320] to fix "ipv6 nd
1500 send-ra" bug.
1501 (ipv6_nd_ra_lifetime): "ipv6 nd ra-lifetime 0" for default router
1502 availability.
1503 (ipv6_nd_managed_config_flag): "ipv6 nd managed-config-flag" is
1504 added.
1505 (ipv6_nd_other_config_flag): "ipv6 nd other-config-flag" is added.
1506
15072001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
1508
1509 * ioctl.c (if_ioctl): Change ioctl argument from int to u_long.
1510
1511 * rt_ioctl.c: Likewise.
1512
15132001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
1514
1515 * kernel_socket.c (rtm_write): Only set RTF_CLONING when the
1516 interface is not p2p.
1517
15182001-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1519
1520 * ioctl.c (if_prefix_add_ipv6): Fix argument type.
1521
15222001-04-06 Toshiaki Takada <takada@zebra.org>
1523
1524 * zserv.c (zsend_interface_delete): Use client->obuf instead of
1525 allocating new stream.
1526
15272001-03-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1528
1529 * rt_netlink.c: Revert RTPROT_BOOT change.
1530
15312001-03-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1532
1533 * rt_netlink.c (netlink_route_change): Skip RTPROT_BOOT route.
1534 (netlink_routing_table): Likewise.
1535
15362001-03-07 "Akihiro Mizutani" <mizutani@dml.com>
1537
1538 * zserv.c (zsend_ipv4_add_multipath): Send metric value to
1539 protocol daemons.
1540
15412001-02-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1542
1543 * rt_netlink.c (netlink_routing_table): Do not return
1544 tb[RTA_GATEWAY] is NULL. Reported by: "Michael O'Keefe"
1545 <mokeefe@qualcomm.com>.
1546
15472001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1548
1549 * if_ioctl.c (interface_list_ioctl): Call if_add_update().
1550 Suggested by: Chris Dunlop <chris@onthe.net.au>.
1551
15522001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1553
1554 * rib.c (nexthop_active_ipv4): When nexthop type is
1555 NEXTHOP_TYPE_IPV4_IFINDEX, propery set the ifindex to rifindex.
1556
1557 * zserv.c: Initialize rtm_table_default with 0.
1558
1559 * zebra-0.91 is released.
1560
15612001-01-31 Kunihiro Ishiguro <kunihiro@zebra.org>
1562
1563 * kernel_socket.c (rtm_read): Filter cloned route. Suggested by:
1564 Jun-ichiro itojun Hagino <itojun@iijlab.net>
1565
15662001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1567
1568 * connected.c (connected_up_ipv6): When point-to-point destination
1569 address is ::, use local address for connected network.
1570 (connected_down_ipv6): Likewise.
1571
15722001-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1573
1574 * zserv.c (zebra_serv): Add missing close() call. Reported by:
1575 David Waitzman <djw@vineyard.net>.
1576
15772001-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
1578
1579 * rib.c (rib_lookup_ipv4): New function for checking exact match
1580 IGP route.
1581
15822001-01-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1583
1584 * rib.c (show_ipv6_route_protocol): Fix bug of "show ip route
1585 route-type".
1586
15872001-01-22 Kunihiro Ishiguro <kunihiro@zebra.org>
1588
1589 * interface.c (zebra_interface): Do not call
1590 zebra_interface_add_update for inactive interface.
1591
1592 * zserv.c (zsend_interface_address_add): Send interface address
1593 flag.
1594 (zsend_interface_address_delete): Likewise.
1595
15962001-01-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1597
1598 * interface.c (if_addr_add): Add flags.
1599
1600 * connected.c (ifa_add_ipv4): Add new function for interface
1601 address handling.
1602 (ifa_delete_ipv4): Likewise.
1603
16042001-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1605
1606 * rib.c (rib_update): Update IPv6 RIB.
1607
1608 * kernel_socket.c (ifam_read): Call if_refresh() for update
1609 interface flag status. This is for implicit interface up on *BSD.
1610
1611 * interface.c (if_refresh): Add interface flag refresh function.
1612
1613 * kernel_socket.c (rtm_read): Fetch link-local address interface
1614 index.
1615 (ifan_read): We need to fetch interface information. Suggested
1616 by: Yasuhiro Ohara <yasu@sfc.wide.ad.jp>.
1617
1618 * rib.c (static_ipv6_nexthop_same): Add check for
1619 NEXTHOP_TYPE_IPV6_IFNAME.
1620
16212001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1622
1623 * rib.h (NEW_RIB): Turn on NEW_RIB flag. IPv6 new RIB code are
1624 taken into place.
1625
16262001-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1627
1628 * rib.c (static_ipv6_write): Display STATIC_IPV6_GATEWAY_IFNAME
1629 configuration.
1630 (rib_delete_ipv6): Handle same route conter for IPv6 connected
1631 route.
1632 (show_ipv6_route_protocol): New command.
1633 (show_ipv6_route_addr): Likewise.
1634 (show_ipv6_route_prefix): Likewise.
1635 (rib_update): Sweep kernel route when it is cleaned up.
1636
1637 * rt_socket.c (kernel_add_ipv6): Add NEXTHOP_IPV6_IFNAME
1638 treatmenet.
1639
1640 * rt_netlink.c (kernel_init): Likewise.
1641
1642 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): Likewise.
1643
1644 * rib.c (rib_add_ipv4): Cope with same connected route on a
1645 interface. Suggested by: Matthew Grant <grantma@anathoth.gen.nz>.
1646 (nexthop_ipv6_ifname_add): Add NEXTHOP_IPV6_IFNAME treatmenet.
1647
1648 * rib.h (struct new_rib): Add refcnt to keep track on the
1649 reference of same connected route.
1650
1651 * ioctl.c (if_set_prefix): Add check for GNU_LINUX.
1652
16532001-01-13 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1654
1655 * kernel_socket.c (ifan_read, rtm_type_str): Add RTM_OIFINFO check.
1656 (rtm_type_str): Add RTM_IFANNOUNCE check.
1657 (ifan_read): New function.
1658 (kernel_read): Add case for RTM_IFANNOUNCE.
1659
16602001-01-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1661
1662 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): New function.
1663
1664 * rt_netlink.c (netlink_route_multipath): IPv6 address ifindex
1665 treatment.
1666
1667 * connected.c (connected_up_ipv6): Add dest value check.
1668
1669 * rib.c (nexthop_active_ipv6): Do not touch IPv6 nexthop's
1670 ifindex.
1671 (rib_add_ipv4): Import rib_add_ipv6() same route check code.
1672 (nexthop_active_check): NEXTHOP_TYPE_IPV6_IFINDEX activity is only
1673 checked by ifindex.
1674
1675 * rt_socket.c (kernel_rtm_ipv6_multipath): New function.
1676
1677 * redistribute.c (redistribute_add): Use
1678 zsend_ipv6_add_multipath().
1679 (redistribute_delete_multipath): Use
1680 zsend_ipv6_delete_multipath().
1681
1682 * interface.c (ip_address): Check current IP address to avoid
1683 duplicate.
1684
1685 * rib.c (rib_delete_ipv4): When deleted route is connected route,
1686 check ifindex.
1687 (rib_add_ipv4): When connected route is added do not perform
1688 implicit withdraw.
1689 (rib_delete_ipv4): Check ifindex for connected route.
1690
1691 * kernel_socket.c (rtm_read): When route has RTF_STATIC, set
1692 ZEBRA_FLAG_STATIC for indicate as persistent route.
1693 (ifam_read): Unset interface index from link-local address when
1694 IPv6 stack is KAME.
1695
1696 * rib.c (rib_update): Do not delete persistent kernel route.
1697
1698 * rib.h (struct new_rib): Integrate RIB_FLAG_* to ZEBRA_FLAG_*.
1699
1700 * rt_socket.c (kernel_add_ipv6_multipath): Add placeholder.
1701 (kernel_delete_ipv6_multipath): Likewise.
1702
1703 * rt_netlink.c (netlink_talk): Give struct nlsock to netlink_talk.
1704
17052001-01-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1706
1707 * rib.c (rib_update): Revert Matthew Grant's patch
1708 zebra_cvs_newribfix.patch. Use struct rib->ifindex for kernel
1709 interface index. Introduce NEXTHOP_TYPE_IPV4_IFINDEX to support
1710 that. Add support for address deletion situation.
1711
17122001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1713
1714 * interface.c: Remove HAVE_IF_PSEUDO part.
1715
1716 * rib.h: Likewise.
1717
1718 * rt_netlink.c (netlink_link_change): Likewise.
1719
17202001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1721
1722 * zserv.c: Remove OLD_RIB codes.
1723
17242001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1725
1726 * zebra-0.90 is released.
1727
17282001-01-09 Matthew Grant <grantma@anathoth.gen.nz>
1729
1730 * interface.c (if_new_intern_ifindex): Allocate a new internal
1731 interface index.
1732 (if_addr_refresh): Fix up ip addresses configured via zebra.
1733 (if_add_update): Handle an interface addition.
1734 (if_delete_update): Handle an interface delete event.
1735
1736 * rib.c (nexthop_ipv4_add): Add kernel route deletion process when
1737 interface goes down.
1738
17392001-01-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1740
1741 * interface.c (if_dump_vty): When HAVE_NET_RT_IFLIST is defined,
1742 NetBSD also use this function. Suggested by Jasper Wallace
1743 <jasper@ivision.co.uk>.
1744
17452001-01-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1746
1747 * rib.c (nexthop_active_ipv4): Move back to set methodo to old
1748 one.
1749
17502001-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1751
1752 * rib.c (rib_add_ipv4): EBGP multihop set ZEBRA_FLAG_INTERNAL
1753 flag, so treat it.
1754
17552001-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1756
1757 * rt_netlink.c (netlink_talk_ipv6): When IPv6 route message is
1758 sent from netlink_cmd, the same message comes from netlink. To
1759 avoid confusion, temporary netlink_talk_ipv6 use netlink.sock
1760 instead of netlink_cmd.sock.
1761
17622001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1763
1764 * zserv.h (ZEBRA_SERV_PATH): Change "/tmp/zebra" to "/tmp/.zebra".
1765 Change "/tmp/zserv" to "/tmp/.zserv".
1766
17672000-12-29 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
1768
1769 * rt_netlink.c (struct nlsock): Divide kernel message into listen
1770 socket and command socket.
1771 (netlink_talk): Remove socket listen code. Use netlink_parse_info
1772 for read kernel response.
1773
17742000-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1775
1776 * rib.c (vty_show_ip_route): Show uptime of the RIP,OSPF,BGP
1777 routes.
1778
17792000-12-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1780
1781 * rt_netlink.c (netlink_route_multipath): Metric value is
1782 reflected to kernel routing table.
1783
1784 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Likewise.
1785
1786 * kernel_socket.c (rtm_write): Likewise.
1787
1788 * rib.c (nexthop_active_ipv4): Only iBGP route perform recursive
1789 nexthop lookup.
1790
1791 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Add ioctl version of
1792 new RIB implementation.
1793
17942000-12-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1795
1796 * rib.h: Remove MULTIPATH_NUM. It is defined by configure script.
1797
17982000-12-25 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1799
1800 * rib.c (rib_if_up): Call rib_fib_set instead of RIB_FIB_SET for
1801 proper redistribution.
1802
18032000-12-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1804
1805 * rib.c (nexthop_active_ipv4): Add self lookup nexthop check.
1806 (show_ip_route_protocol): Support new RIB.
1807
1808 * rt_netlink.c (netlink_route_change): Do not return when gate is
1809 NULL.
1810
18112000-12-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1812
1813 * rib.c (rib_lookup_ipv4_nexthop): IBGP nexthop check function is
1814 updated.
1815 (rib_add_ipv4): Free implicit withdraw route's RIB.
1816
18172000-12-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1818
1819 * rib.c (nexthop_active_ipv4): Check indirect nexthop.
1820
1821 * redistribute.c (redistribute_add_multipath): Redistribution
1822 works with new rib code.
1823
18242000-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1825
1826 * rt_netlink.c (netlink_route_multipath): Check useful nexthop
1827 number.
1828 (netlink_route_multipath): Clear rtnh_flags and rtnh_hops.
1829
1830 * rib.c (nexthop_active_update): Set flag for the rib's nexthop
1831 activity is changed.
1832 (nexthop_active_check): Before checking interface is up, make it
1833 sure the interface exist.
1834
18352000-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1836
1837 * rib.c (ip_route): New RIB prototype.
1838
18392000-11-16 Yon Uriarte <ukl2@rz.uni-karlsruhe.de>
1840
1841 * zserv.c (zsend_interface_add): Send hardware address when
1842 hw_addr_len is greater than 0.
1843
18442000-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1845
1846 * connected.c (connected_up_ipv4): Fix ptop bug. The destination
1847 network should be installed into routing table.
1848 (connected_down_ipv4): Likewise.
1849 (connected_add_ipv4): Change to use connected_up_ipv4.
1850 (connected_delete_ipv4): Likewise.
1851
18522000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1853
1854 * rt_netlink.c (netlink_interface_addr): Revert Harald Welte
1855 <laforge@gnumonks.org>'s ptop patch then back to original code to
1856 avoid duplicated connected route problem. Suggested by Frank van
1857 Maarseveen <F.vanMaarseveen@inter.NL.net>.
1858
1859 * kernel_socket.c (rtm_read): Make behavior consistent even #ifdef
1860 DEBUG is defined. Reported by Jun-ichiro itojun Hagino
1861 <itojun@iijlab.net>.
1862
18632000-10-23 Jochen Friedrich <jochen@scram.de>
1864
1865 * main.c (main): Call zebra_snmp_init() when it is enabled.
1866
18672000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1868
1869 * zserv.c (zebra_serv_un): UNIX domain socket server of zebra
1870 protocol.
1871
18722000-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1873
1874 * rib.c (rib_add_ipv4): Same check bug is fixed.
1875
18762000-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1877
1878 * rib.c (rib_if_down): Remove kernel route when the interface goes
1879 down.
1880
1881 * debug.c: New command "debug zebra kernel" is added.
1882
18832000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1884
1885 * zebra-0.89 is released.
1886
18872000-09-24 Harald Welte <laforge@gnumonks.org>
1888
1889 * rt_netlink.c (netlink_interface_addr): Fix point-to-point address
1890 treatment in netlink interface.
1891
18922000-09-21 David Lipovkov <dlipovkov@OpticalAccess.com>
1893
1894 * rib.c (rib_if_down): Pull static route only. Protocol daemon
1895 must withdraw routes when interface goes down.
1896 (rib_add_ipv4): Check nexthop when replace route.
1897
18982000-09-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1899
1900 * if_ioctl.c (if_getaddrs): New function for looking up
1901 interface's address by getifaddrs().
1902
19032000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1904
1905 * connected.c (connected_delete_ipv4): Add check for connected
1906 address is found or not.
1907 (connected_add_ipv6): Reflect IPv6 connected address change to
1908 protocol daemons.
1909 (connected_delete_ipv6): Likewise.
1910
19112000-09-07 David Lipovkov <davidl@nbase.co.il>
1912
1913 * rib.c (rib_delete_ipv4): Reverted the change from pseudo
1914 interface patch to original. Because ospfd deletes routes using
1915 zero ifindex.
1916
19172000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1918
1919 * zebra-0.88 is released.
1920
19212000-08-15 "Akihiro Mizutani" <mizutani@dml.com>
1922
1923 * rib.c (show_ip_route_protocol): Help string correction.
1924 (show_ip_route_prefix): Check prefix mask.
1925 (show_ip_route_vty_detail): Display distance and metric.
1926
19272000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1928
1929 * zserv.c (zsend_interface_add): Change ifindex store size from
1930 two octet to four.
1931 (zsend_interface_delete): Likewise.
1932 (zsend_interface_address_add): Likewise.
1933 (zsend_interface_address_delete): Likewise.
1934 (zsend_interface_up): Likewise.
1935 (zsend_interface_down): Likewise.
1936
19372000-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1938
1939 * rib.c (rib_add_ipv4): Do not install distance 255 route.
1940
19412000-08-10 Toshiaki Takada <takada@zebra.org>
1942
1943 * interface.c (bandwidth_if), (no_bandwidth_if): Call
1944 zebra_interface_up_update () instead of using if_up() and if_down().
1945
19462000-08-07 "Akihiro Mizutani" <mizutani@dml.com>
1947
1948 * interface.c (bandwidth_if): Fix help string.
1949
19502000-08-07 Matthew Grant <grantma@anathoth.gen.nz>
1951
1952 * interface.c (if_dump_vty): Display bandwidth value.
1953 (bandwidth_if): New command "bandwidth <1-10000000>" is added.
1954 When interface is up, force protocol daemons to recalculate routes
1955 due to cost change.
1956 (no_bandwidth_if): Likewise.
1957 (if_config_write): Output bandwidth configuration.
1958
1959 * zserv.c (zsend_interface_add): Send bandwidth value.
1960 (zsend_interface_up): Likewise.
1961 (zsend_interface_down): Likewise.
1962
1963
19642000-08-07 Michael Rozhavsky <mike@nbase.co.il>
1965
1966 * rib.c (show_ip_route_protocol): "show ip route
1967 (bgp|connected|kernel|ospf|rip|static)" is added.
1968
19692000-08-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1970
1971 * rib.c (rib_lookup_ipv4_nexthop): Check parent node until IGP
1972 nexthop is found.
1973 (rib_add_ipv4_internal): Set fib ifindex to rib ifindex.
1974
19752000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1976
1977 * redistribute.c (redistribute_delete): Fix bug of default route
1978 redistribute treatment.
1979
19802000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1981
1982 * rib.c (rib_init): Install ip_node in rib.c instead of zserv.c.
1983 Change default distance value.
1984
1985 Old New
1986 ------------------------------------------
1987 system 10 0
1988 kernel 20 0
1989 connected 30 0
1990 static 40 1
1991 rip 50 120
1992 ripng 50 120
1993 ospf 60 110
1994 ospf6 49 110
1995 bgp 70 200(iBGP) 20(eBGP)
1996 ------------------------------------------
1997
1998 * zserv.c (client_lookup): Function removed.
1999 (zsend_interface_add): Use client's output buffer. Check ifinfo
2000 flag.
2001 (zsend_interface_delete): Likewise.
2002 Delete ipv4_static_radix and ipv6_static_radix.
2003
20042000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2005
2006 * zserv.h (struct zebra_client): When client request interface
2007 information, ifinfo is set.
2008
2009 * rib.c: Temporary Revert changes for pseudo interface.
2010
2011 * rib.h: Likewise.
2012
2013 * zserv.c: Likewise.
2014
2015 * interface.c: Likewise.
2016
20172000-08-02 David Lipovkov <davidl@nbase.co.il>
2018
2019 * interface.c (zebra_if_init): Install interface "pseudo"
2020 commands.
2021
2022 * rib.c (rib_create): ifname argument is added.
2023 (rib_add_ipv4_pseudo): New function is added.
2024 (rib_delete_ipv4_pseudo): Likewise.
2025
2026 * rib.h : Delete INTERFACE_UNKNOWN definition. Add prototype for
2027 pseudo interface functions.
2028
2029 * rt_netlink.c (netlink_link_change): Check for pseudo interface.
2030
2031 * zserv.c (ip_route): When destination is pseudo interface, call
2032 rib_add_ipv4_pseudo().
2033
2034 * zserv.c (no_ip_route): Trim "unknown" argument.
2035
20362000-07-26 kunitake@dti.ad.jp
2037
2038 * if_ioctl.c (if_get_hwaddr): Fix hardware address length from 8
2039 to 6.
2040
2041 * rtadv.c (rtadv_send_packet): Fix shift bug for hardware address.
2042
20432000-07-24 Akihiro Mizutani <mizutani@dml.com>
2044
2045 * interface.c: Use install_default() for common VTY commands.
2046
20472000-07-23 Kunihiro Ishiguro <kunihiro@zebra.org>
2048
2049 * if_ioctl.c (interface_list_ioctl): A interface list size is
2050 calculated from ifreq->if_addr.sa_len. This is for OpenBSD.
2051
2052 * ioctl.c (if_get_mtu): Remove codes for SIOCGIFDATA.
2053
20542000-07-09 Chris Dunlop <chris@onthe.net.au>
2055
2056 * if_ioctl.c (if_get_index): Add check for HAVE_BROKEN_ALIASES.
2057
20582000-07-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2059
2060 * zserv.c (zebra_client_read): Add ZEBRA_REDISTRIBUTE_{ADD,DELETE}
2061 message handling.
2062
20632000-07-02 David Lipovkov <davidl@nbase.co.il>
2064
2065 * zserv.c: "ip route A.B.C.D/M unknown" command is added.
2066
20672000-06-28 Michael Rozhavsky <mike@nbase.co.il>
2068
2069 * rib.c: Remove old kernel route when new route comes in.
2070
20712000-06-13 David Lipovkov <davidl@nbase.co.il>
2072
2073 * rib.c (rib_if_up): Add check for unknown interface.
2074
20752000-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2076
2077 * rib.h: Define INTERFACE_UNKNOWN.
2078
20792000-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2080
2081 * Makefile.am (EXTRA_DIST): Move irdp.c until implementation is
2082 finished.
2083
20842000-06-05 David Lipovkov <davidl@nbase.co.il>
2085
2086 * interface.c (if_zebra_delete_hook): Call rib_if_delete().
2087
2088 * redistribute.c (zebra_interface_delete_update): New function.
2089
2090 * redistribute.h (zebra_interface_delete_update): New function
2091 prototype.
2092
2093 * rib.c (rib_if_delete): New function. Walk down all routes and
2094 delete all on the interface.
2095
2096 * rib.h: New function prototype.
2097
2098 * rt_netlink.c (netlink_link_change): Call
2099 zebra_interface_delete_update ().
2100
21012000-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
2102
2103 * if_ioctl.c (interface_info_ioctl): Check interface's flag before
2104 checking interface's address.
2105
21062000-04-26 Jochen Friedrich <jochen@nwe.de>
2107
2108 * GNOME-PRODUCT-ZEBRA-MIB: New file.
2109
2110 * GNOME-SMI: New file.
2111
21122000-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
2113
2114 * irdp.c: New file from 1997 development code.
2115 * irdp.h: Likewise.
2116
21172000-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
2118
2119 * rtadv.c (rtadv_send_packet): Enclose router advertisement
2120 logging with IS_ZEBRA_DEBUG_PACKET.
2121
21222000-04-17 Kunihiro Ishiguro <kunihiro@zebra.org>
2123
2124 * zserv.c (zebra_client_close): Remove client structure from
2125 client_list when connection is terminated.
2126
21272000-03-21 David Lipovkov <davidl@nbase.co.il>
2128
2129 * connected.c (connected_add_ipv4): Allows all necessary structure
2130 updates for connected route, but doesn't insert it into rib if
2131 it's interface is down.
2132
21332000-01-21 Hideto Yamakawa <hideto.yamakawa@soliton.co.jp>
2134
2135 * rtread_getmsg.c: Set some definition for Solaris 2.5 and Solaris
2136 2.5.1.
2137
21382000-01-21 Kunihiro Ishiguro <kunihiro@zebra.org>
2139
2140 * rib.c (no_ipv6_route_ifname): Fix buf of cheking return value
2141 from str2prefix_ipv6().
2142
21432000-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2144
2145 * rt_socket.c: Revert to use RTF_HOST for IPv4 with /32 route and
2146 IPv6 with /128 routes.
2147 (kernel_rtm_ipv4): In case of /32 route's gateway is interface. It
2148 should have mask for cloning.
2149
21501999-12-26 Jochen.Friedrich@genorz.de
2151
2152 * interface.c (if_dump_vty): Fix a bug of missing VTY_NEWLINE.
2153
21541999-12-23 Alex Zinin <zinin@amt.ru>
2155 * interface.*: dynamic int up/down support
2156
21571999-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
2158
2159 * ipforward_proc.c (dropline): Move dropline() from lib/dropline.c
2160
2161 * rtread_proc.c (proc_route_read): Don't use dropline().
2162
21631999-12-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2164
2165 * kernel_socket.c (rtm_read): When message is RTM_GET, it has own
2166 process's pid.
2167
21681999-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2169
2170 * main.c (main): Change to default log output to ZLOG_STDOUT.
2171
2172 * zserv.c (zebra_serv): More detailed error print.
2173
21741999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2175
2176 * kernel_socket.c (rtm_read): Check old pid for static route
2177 insertion check.
2178
21791999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2180
2181 * interface.c (if_dump_vty): BSDI/OS uses 64bit for interface
2182 statistics counter.
2183
2184 * mtu_kvm.c: New file added.
2185
21861999-11-27 Vladimir B. Grebenschikov <vova@express.ru>
2187
2188 * kernel_socket.c (rtm_write): Set RTF_CLONING flag for
2189 route to the directly connected interface.
2190
21911999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2192
2193 * rt_socket.c: Delete USE_HOST_BIT definition.
2194
21951999-11-21 Michael Handler <handler@sub-rosa.com>
2196
2197 * rtread_getmsg.c: Undef some definition to resolve conflict.
2198
21991999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2200
2201 * kernel_socket.c (rtm_write): Change to use pre stored struct_dl
2202 value for gateway specification.
2203
22041999-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2205
2206 * rt_socket.c (kernel_rtm_ipv4): Even mask is 32 under IPv4 or
2207 128 under IPv6, don't use RTF_HOST.
2208
22091999-11-21 Kunihiro Ishiguro <kunihiro@zebra.org>
2210
2211 * Makefile.am (EXTRA_DIST): Add rtread_getmsg.c.
2212
22131999-11-21 Michael Handler <handler@sub-rosa.com>
2214
2215 * rtread_getmsg.c: Added for Solaris 2.6 support.
2216
22171999-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
2218
2219 * rtread_sysctl.c (rtm_read_route): RTM_DELETE handling added.
2220
2221 * rt_socket.c (kernel_read): Better BSD routing socket support.
2222
22231999-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
2224
2225 * client_main.c: Disable making obsolete zebra test `client'
2226 command.
2227
22281999-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
2229
2230 * zebra.c: Renamed to zserv.c.
2231
2232 * zebra.h: Global definitions are moved to lib/zebra.h. Then
2233 renamed to zserv.h.
2234
22351999-10-15 Jordan Mendelson <jordy@wserv.com>
2236
2237 * if_ioctl.c: Add Linux 2.2.X's alias support and dynamic
2238 interface. Remove ugly MAX_INTERFACE handling codes.
2239
22401999-09-17 Satosi KOBAYASI <kobayasi@north.ad.jp>
2241
2242 * Fix serious bug of IPv6 route deletion.
2243
22441999-09-11 Kunihiro Ishiguro <kunihiro@zebra.org>
2245
2246 * ioctl.c (if_set_prefix): Properly set broadcast address.
2247
22481999-09-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
2249
2250 * rib.c (rib_add_ipv6, rib_delete_ipv6): now protocol daemons
2251 can install connected route to kernel via zebra
2252
22531999-08-24 VOP <vop@unity.net>
2254
2255 * rib.c: Include "sockunion.h"
2256
22571999-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
2258
2259 * ipforward.h: New file.
2260
2261 * zebra.h: Obsolete message ZEBRA_GET_ALL_INTERFACE,
2262 ZEBRA_GET_ONE_INTERFACE, ZEBRA_GET_HOSTINFO are deleted.
2263
22641999-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
2265
2266 * zebra.h (ZEBRA_INTERFACE_ADDRESS_ADD):
2267 ZEBRA_INTERFACE_{ADD,DELETE} added.
2268
22691999-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
2270
2271 * rib.c: show ip route A.B.C.D works.
2272
2273 * zebra.c (zebra_read_ipv4): Add ifindex to zebra messages.
2274
22751999-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
2276
2277 * zebra.h: New Zebra message ZEBRA_INTERFACE_{ADD,DELETE} added.
2278
22791999-08-09 Kunihiro Ishiguro <kunihiro@zebra.org>
2280
2281 * interface.h: New file.
2282 * Makefile.am: Add interface.h
2283
22841999-08-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
2285
2286 * redistribute.c (zebra_redistribute): give ifindex to client.
2287
22881999-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2289
2290 * main.c (longopts): -k, --keep_kernel option added.
2291
22921999-07-18 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
2293
2294 * rt_socket.c (rtm_write): forgot closing socket bug fixed.
2295
22961999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
2297
2298 * rib.c (show_ipv6_cmd): if rib is link show interface name.
2299
23001999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
2301
2302 * rt_socket.c (rtm_write): use sockaddr_dl when null gateway.
2303
23041999-07-16 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
2305
2306 * rt_socket.c (rtm_write): ipv6 route table bug fixed.
2307
23081999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
2309
2310 * zebra.c (zebra_read_ipv6): read link prefix from ospf6 support
2311
23121999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
2313
2314 * rt_socket.c (kernel_rtm_ipv6): gate treatment bug fixed.
2315
23161999-07-15 Kunihiro Ishiguro <kunihiro@zebra.org>
2317
2318 * if_sysctl.c (ifm_read): Clear sockunion argument before fetching
2319 data. Suggested by "Chris P. Ross" <cross@eng.us.uu.net>
2320
23211999-07-08 HEO SeonMeyong <seirios@Matrix.IRI.Co.Jp>
2322
2323 * interface.c (if_tun_add): Add KAME's gif tunnel setting codes.
2324
23251999-06-26 Kunihiro Ishiguro <kunihiro@zebra.org>
2326
2327 * zebra.c (zebra_serv): Only accept loopback address connection.
2328
23291999-06-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2330
2331 * zebra.h (ZEBRA_ROUTE_EXTERNAL): Add zebra messages flags
2332
23331999-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
2334
2335 * ipforward_proc.c: ipforward_on () and ipforward_off () added.
2336
23371999-06-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2338
2339 * ipforward_proc.c (ipforward_ipv6): Check for IPv6 forwarding
2340 using /proc file system is added.
2341
23421999-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2343
2344 * if_ioctl.c (if_get_index): Interface index set bug is fixed by
2345 adding #else at the middle of function. Suggested by David Luyer
2346 <luyer@ucs.uwa.edu.au>.
2347
23481999-05-29 <kunihiro@zebra.org>
2349
2350 * rt_ioctl.c: Comment out #include <linux/ipv6_route.h>.
2351
23521999-05-26 Kunihiro Ishiguro <kunihiro@zebra.org>
2353
2354 * zebra.h (ZEBRA_ROUTE_MAX): Add new define for the max value of
2355 the sort of routes.
2356
23571999-05-25 Patrick Koppen <koppen@rhrk.uni-kl.de>
2358
2359 * rt_netlink.c (netlink_socket): Make netlink socket non-blocking.
2360 (netlink_parse_info): If errno is EWOULDBLOCK then continue to
2361 parse the message.
2362 (netlink_talk): Likewise
2363
23641999-05-17 <kunihiro@zebra.org>
2365
2366 * redistribute.c (zebra_check_addr): Added for loopback address
2367 check.
2368
23691999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
2370
2371 * rt_netlink.c (netlink_route_change): Tempolary bypass ipv6 route
2372 change treatment.
2373
2374 * Makefile.am (noinst_HEADERS): redistribute.h added.
2375
2376 * redistribute.h: New file.
2377
23781999-05-14 Stephen R. van den Berg <srb@cuci.nl>
2379
2380 * zebra.c (show_table): Show all table configuration DEFUN.
2381 (config_table): Config table number DEFUN.
2382
2383 * rt_netlink.c: Add support for multiple routing table.
2384
2385 * rib.c (rib_weed_table): New function added for delete all
2386 routes from specified routing table.
2387
2388 * main.c (signal_init): SIGTERM call sigint.
2389 (sigint): Loggging more better message.
2390
23911999-05-09 Kunihiro Ishiguro <kunihiro@zebra.org>
2392
2393 * rt_netlink.c: Change log () to zlog ().
2394
23951999-05-07 <kunihiro@zebra.org>
2396
2397 * zebra.h (ZEBRA_ROUTE_OSPF6): Added for ospf6d route.
2398
23991999-04-20 Kunihiro Ishiguro <kunihiro@zebra.org>
2400
2401 * interface.c: Add `no ip address' command.
2402
24031999-04-10 Kunihiro Ishiguro <kunihiro@zebra.org>
2404
2405 * rt_netlink.c (kernel_read): Function added for asynchronous
2406 zebra between kernel communication.
2407
24081999-03-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2409
2410 * rtread_sysctl.c (rtm_read): Fix address memcopy overrun bug.
2411 Reported by Achim Patzner <ap@bnc.net>.
2412
24131999-03-03 Kunihiro Ishiguro <kunihiro@zebra.org>
2414
2415 * Makefile.am: Install configuration sample with 600 permission.
2416
24171999-03-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2418
2419 * Makefile.am: Add -I.. to INCLUDES.
2420
24211999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
2422
2423 * syslog support added
2424
24251999-02-17 Peter Galbavy <Peter.Galbavy@knowledge.com>
2426
2427 * if_sysctl.c (interface_list): allocated memory free when unknown
2428 ifm_type is returned.
2429
2430 * ioctl.c (if_get_mtu): added SIOCGIFDATA treatment.
2431
24321998-12-15 Magnus Ahltorp <map@stacken.kth.se>
2433
2434 * interface.c: Header include added.
2435
24361998-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2437
2438 * rt.h (kernel_delete_ipv6): change int index to unsigned int index.
2439
24401998-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2441
2442 * if_ioctl.c (interface_list_ioctl): interface flag must be
2443 checked before check addresses of the interface.
2444
24451998-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2446
2447 * Makefile.am (INCLUDES): add @INCLUDES@ for Linux IPv6.
2448
24491998-10-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2450
2451 * ioctl.c: Linux version before 2.1.0 need interface route setup.
2452
24531998-09-15 HEO SeonMeyong <seirios@matrix.iri.co.jp>
2454
2455 * change HYDRANGEA to KAME
2456
24571998-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
2458
2459 * if_ioctl.c (if_addr_ioctl): set address family for getting
2460 interface's address.
2461 (if_get_index): silently return when can't get interface's index.
2462
24631998-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
2464
2465 * main.c (main): batch mode option '-b' added.
2466
24671998-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
2468
2469 * ioctl.c (if_set_prefix): add `ip address IPV4ADDR' command.
2470 * interface.c (shutdown_if): add interface shutdown and no
2471 shutdown command.
2472
24731998-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
2474
2475 * rib.c (rib_add_ipv6): delete rib_add_in6.
2476
24771998-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2478
2479 * main.c: retain flag is added.
2480
24811998-07-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2482
2483 * rtable.[ch]: merged with rib.[ch]
2484
24851998-07-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2486
2487 * connected.h: renamed from ifa.h.
2488
24891998-06-09 Kunihiro Ishiguro <kunihiro@zebra.org>
2490
2491 * rename if.c to interface.c
2492 * rename ifa.c to connected.c
2493
2494 * Porting to Debian GNU/Linux 2.0 (hamm).
2495
24961998-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2497
2498 * rt_netlink.c: renamed from krt_netlink.c
2499
2500 * fib.c: deleted.
2501 * rt_kvm.c: deleted.
2502 * rtread_getmsg.c: deleted.
2503
25041998-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2505
2506 * if.c (multicast): add multicast flag [un]set fucntion.
2507
25081998-05-19 Yamshita TAKAO <jargon@lares.dti.ne.jp>
2509
2510 * rt_socket.c: Modify for compile on Solaris, but dont't work it.
2511 rt_socket.c have some undefined function, so add directive "IMPLEMENT"
2512
25131998-05-18 Yamshita TAKAO <jargon@lares.dti.ne.jp>
2514
2515 * zebra.c: Modify for compile on Solaris.
2516
25171998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
2518
2519 * main.c: change CONFDIR to SYSCONFDIR.
2520
25211998-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
2522
2523 * .cvsignore: added.
2524
25251998-04-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2526
2527 * client.c: moves to ../lib.
2528
25291998-03-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2530
2531 * if_ioctl.c (if_get_addr): Change address copy from memcopy() to
2532 structure assignment.
2533
25341998-03-30 URA Hiroshi <ura@yamato.ibm.co.jp>
2535
2536 * if_sysctl.c (ifm_interface_add): sdl->sdl_data copy bug fixed.
2537
25381998-02-23 "Hannes R. Boehm" <hannes@boehm.org>
2539
2540 * if.c (if_init): add config_exit_cmd and config_help_cmd.
2541
25421998-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2543
2544 * rt_ioctl.c (route_ioctl): EPERM treatment added.
2545
25461998-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2547
2548 * rt_socket.c (kernel_read): communication port zebra between
2549 kernel is now handled by kernel_read.
2550
25511998-01-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2552
2553 * main.c (main): zebra [-P port] can specify vty port number.
2554
25551997-12-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2556
2557 * zebra.c: change select will be block.
2558
25591997-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2560
2561 * add static route treatment.
2562
25631997-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2564
2565 * rt_netlink.c: add netlink support over GNU/Linux system.
2566
25671997-11-23 Kunihiro Ishiguro <kunihiro@zebra.org>
2568
2569 * all inet_addr is changed to inet_aton.
2570
2571 * zebra.c (ip_route): add ip route command for static routes.
2572
25731997-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
2574
2575 * if.c (if_flag_dump): Linux port of if_flag_dump and _vty.
2576
25771997-11-19 Kunihiro Ishiguro <kunihiro@zebra.org>
2578
2579 * if.c: add interface command.
2580
25811997-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
2582
2583 * ipforward_proc.c : Now works on Linux.
2584
25851997-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2586
2587 * command.c : add completion feature.
2588
25891997-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
2590
2591 * vty.c (vty_command): add vty interface.
2592
25931997-10-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2594
2595 * zebra.c: add verbose mode.
2596
25971997-10-12 SonMyong Ho <s-ho@Matrix.IRI.Co.Jp>
2598
2599 * Hydrangea for FreeBSD supported
2600 * in.h: add some prototype.
2601
26021997-10-11 Kunihiro Ishiguro <kunihiro@zebra.org>
2603
2604 * rt_socket.c and rtread.c completely rewritten.
2605
26061997-10-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2607
2608 * rt_socket.c: rename kernel_sock to routing_socket
2609
26101997-10-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2611
2612 * if.c (if_new): interface structure change from linklist to vector.
2613
26141997-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
2615
2616 * vector.c (vector_init): create vector related function
2617
26181997-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2619
2620 * Makefile.in: add tags target
2621
2622 * start IPv6 support for INRIA FreeBSD.
2623