blob: 9939d3e3a25187dfbd7373e4ee818374cf0487b9 [file] [log] [blame]
paul319572c2005-09-21 12:30:08 +000012005-09-21 Paul Jakma <paul.jakma@sun.com>
2
3 * zebra_rib.c: (static_uninstall_ipv{4,6}) Fix regression wrt
4 removal of static routes with multiple-hops introduced with
5 the workqueue conversion. We should free the relevant
6 nexthop and then get rib_process to run, otherwise we just
7 get same static route back again (with no way to unconfigure
8 it, because its already deleted from configuration).
9
paulca162182005-09-12 16:58:52 +0000102005-09-12 Paul Jakma <paul.jakma@sun.com>
11
12 * (general) RTM_CHANGE and implicit withdraw on RTM_NEWADDR
13 support.
14 * connected.c: (connected_withdraw) new function. withdraw a
15 connected subnet address set from zebra, and pass information
16 along to clients.
17 (connected_announce) similar, but to announce a new connected
18 subnet address set.
19 (connected_check_ipv4) renamed to connected_check, as its
20 AFI independent.
21 (connected_add_ipv{4,6}) Remove the connected address announce
22 stuff, use connected_announce instead.
23 If connected_check indicates address is already present,
24 treat it as an implicit withdraw of the existing address, ie
25 remove the old address details and replace with the new
26 details.
27 (connected_delete_ipv{4,6}) Use connected_withdraw.
28 (connected_check_ipv6) deleted in favour of connected_check.
29 * connected.h: Rename connected_check_ipv4 to connected_check.
30 delete connected_check_ipv6.
31 * interface.c: Use connected_check rather than the AFI specific
32 symbols.
33 * kernel_socket.c: (rtm_read) RTM_CHANGE support. Create a
34 rib delete event for the existing route, before adding route
35 again.
36 (kernel_read) we can handle RTM_CHANGE now.
37
hassobe61c4e2005-08-27 06:05:47 +0000382005-08-27 Hasso Tepper <hasso at quagga.net>
39
40 * zebra_rib.c, rib.h: Add distance and metric arguments to the
41 rib_add_ipv6() function so that IPv6 routes in RIB can have correct
42 metric. No IPv6 routing daemon uses distance yet though.
43 * zserv.c, connected.c, kernel_socket.c, rt_netlink.c,
44 rtread_proc.c,zserv.c: Pass metric and distance info to the
45 rib_add_ipv6().
46
paul6eb88272005-07-29 14:36:00 +0000472005-07-29 Paul Jakma <paul.jakma@sun.com>
48
49 * interface.c: (if_delete_update) should always be available, not
50 just on RTM_IFANNOUNCE/NETLINK systems.
51 * kernel_socket.c: (ifan_read) only call if_delete_update when
52 interface departs, dont if_delete, because we wish to retain
53 interface configuration state even when interfaces are removed.
54 (ifm_read) If we dont have RTM_IFANNOUNCE, then transitioning
55 to down state is only chance we have to clean up interface in case
56 it is deleted (eg Solaris down -> unplumb -> plumb up).
57 * redistribute.c: (zebra_interface_delete_update) should always be
58 available, we /will/ call it now on all systems, via
59 if_delete_update.
60 * zserv.c: (zsend_interface_delete) ditto
61 (zsend_interface_address) Update the call-flow diagramme, to
62 reflect that if_delete_update /is/ now called on all systems,
63 potentially.
64 * zserv.h: (zsend_interface_delete) unconditionally exported, as
65 above.
66
paula1ac18c2005-06-28 17:17:12 +0000672005-06-28 Paul Jakma <paul.jakma@sun.com>
68
69 * (global) Extern and static'ification, with related fixups
70 of declarations, ensuring files include their own headers, etc.
paulea6f82b2005-06-28 17:20:26 +000071 * if_ioctl.c: (interface_info_ioctl) fix obvious arg mis-order in
paula1ac18c2005-06-28 17:17:12 +000072 list loop
paulea6f82b2005-06-28 17:20:26 +000073 * kernel_socket.c: (RTA_{ADDR,ATTR}_GET) fix mistake, NULL check
74 should be on DEST argument
paula1ac18c2005-06-28 17:17:12 +000075
paul62debbb2005-06-14 14:07:07 +0000762005-06-14 Paul Jakma <paul.jakma@sun.com>
77
78 * kernel_socket.c: consolidate the IFAM{ADDR,MASK}GET and
79 RTM{ADDR,MASK}GET macros into generic rta_addrs macros,
80 RTA_{ADDR,ATTR}_GET.
81 (af_check) could use 'inline' attribute
82 (ifam_read_mesg) remove IFAM{ADDR,MASK}GET macro, change to
83 generic macro.
84 (rtm_read_mesg) similar
85
hasso1ada8192005-06-12 11:28:18 +0000862005-06-12 Hasso Tepper <hasso at quagga.net>
87
88 * rt_netlink.c: Remove netlink-addr socket declaration, it's not used.
89 * rt_netlink.c (netlink_parse_info): Fix debug messages - nlmsg_pid is
90 unsigned and one zlog call had swapped arguments.
91 * rt_netlink.c (netlink_route_multipath): Fix compile with disabled
92 IPv6 support.
93
paul1dcb5172005-05-31 08:38:50 +0000942005-05-31 Paul Jakma <paul.jakma@sun.com>
95
96 * zserv.c: (zsend_route_multipath) Fix bug if route is sent
97 with no NEXTHOP_FLAG_FIB nexthops. As ZAPI_MESSAGE_IFINDEX
98 and ZAPI_MESSAGE_NEXTHOP are always set, clients would try
99 read non-existent nexthop information and hit stream assert.
100 Zserv is still broken for multi-nexthop messages, but it always was.
101
paul69e10ad2005-05-06 21:27:33 +00001022005-05-06 Paul Jakma <paul.jakma@sun.com>
103
104 * zserv.h: Remove ZEBRA_PORT definition, its in lib/zebra.h now
105
paul4d38fdb2005-04-28 17:35:14 +00001062005-04-28 Paul Jakma <paul.jakma@sun.com>
107
108 * rib.h: (struct rib) Add lock field for refcounting.
109 * zserv.h: (struct zebra_t) Add a ribq workqueue to the zebra
110 'master' struct.
111 * zserv.c: (zread_ipv4_add) XMALLOC then memset should be XCALLOC.
112 * zebra_rib.c: Clean up refcounting of route_node, make struct rib
113 refcounted and convert rib_process to work-queue. In general,
114 rib's should be rib_addnode'd and delnode'd to route_nodes, and
115 these symmetrical functions will manage the locking of referenced
116 route_node and freeing of struct rib - rather than having users
117 manage each seperately - with much scope for bugs..
118 (newrib_free) removed and replaced with rib_lock
119 (rib_lock) new function, check state of lock and increment.
120 (rib_unlock) new function, check lock state and decrement. Free
121 struct rib if refcount hits 0, freeing struct nexthop's, as
122 newrib_free did.
123 (rib_addnode) Add RIB to route_node, locking both.
124 (rib_delnode) Delete RIB from route_node, unlocking each.
125 (rib_process) Converted to a work-queue work function.
126 Functional changes are minimal, just arguments, comments and
127 whitespace.
128 (rib_queue_add_qnode) Helper function to setup a ribq item.
129 (rib_queue_add) Helper function, same arguments as old
130 rib_process, to replace in callers of rib_process.
131 (rib_queue_qnode_del) ribq deconstructor.
132 (rib_queue_init) Create the ribq.
133 (rib_init) call rib_queue_init.
134 (remainder) Sanitise refcounting of route_node's. Convert to
135 rib_queue_add, rib_addnode and rib_delnode. Change XMALLOC/memset
136 to XCALLOC. Remove calls to nexthop_delete and nexthop_free.
137
paulcf460ef2005-04-10 16:54:26 +00001382005-04-10 Paul Jakma <paul@dishone.st>
139
140 * if_ioctl_solaris.c: (if_lookup_linklocal) fix order of args
141 in ALL_LIST_ELEMENTS_RO macro.
142
ajs57a14772005-04-10 15:01:56 +00001432005-04-10 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
144
145 * zserv.c (zebra_client_read): Fix bug: first read attempt should
146 read ZEBRA_HEADER_SIZE minus the number of bytes already read.
147 Improve efficiency by maintaining a calculation of the number
148 of bytes read instead of calling stream_get_endp multiple times.
149 If message length is too small, issue a warning message (not debug)
150 before closing the connection. And also check that message length
151 is not too big.
152
hasso206d8052005-04-09 16:38:51 +00001532005-04-09 Hasso Tepper <hasso at quagga.net>
154
hassofa599802005-04-09 16:59:28 +0000155 * rt_netlink.c: One tiny missing comma caused pointless debug messages
156 about IPv6 nexthops.
157
1582005-04-09 Hasso Tepper <hasso at quagga.net>
159
hasso206d8052005-04-09 16:38:51 +0000160 * rt_netlink.c (netlink_parse_info): Fix warning. It's safe to cast
161 status to unsigned here, because we already checked that it isn't
162 negative or 0.
163 * rt_netlink.c (netlink_interface_addr): Prefix length belongs to the
164 address, not to the interface.
165 * rt_netlink.c (netlink_route_multipath): Fix debug. No useless info
166 is printed out now and IPv6 info is handeled.
167
paul3d1dc852005-04-05 00:45:23 +00001682005-04-05 Paul Jakma <paul@dishone.st>
169
170 * zserv.c: print more helpful errors when we fail to successfully
171 bind and listen on zserv socket. Closes bugzilla #163.
172
ajsd2fc8892005-04-02 18:38:43 +00001732005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
174
ajs08dbfb62005-04-03 03:40:52 +0000175 * if_ioctl.c: (interface_list_ioctl) Use if_get_by_name_len.
176 * if_proc.c: (ifaddr_proc_ipv6) Increase size of ifname buffer to
177 avoid overflow.
178 * kernel_socket.c: (ifan_read) Use if_get_by_name_len.
179
1802005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
181
ajsa3491982005-04-02 22:50:38 +0000182 * kernel_socket.c: (ifm_read) Use new if_lookup_by_name_len function
183 to save a memcpy.
184 * if_ioctl_solaris.c: (interface_list_ioctl) Fix subtle bug with new
185 if_get_by_name_len function.
186
1872005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
188
ajsd2fc8892005-04-02 18:38:43 +0000189 * interface.c: (if_new_intern_ifindex) Remove obsolete function.
190 (if_delete_update) After distributing the interface deletion message,
191 set ifp->ifindex to IFINDEX_INTERNAL.
192 (if_dump_vty) Detect pseudo interface by checking if ifp->ifindex is
193 IFINDEX_INTERNAL.
194 (zebra_interface) Check return code from interface_cmd.func.
195 Do not set internal ifindex values to if_new_intern_ifindex(),
196 since we now use IFINDEX_INTERNAL for all pseudo interfaces.
197 * kernel_socket.c: (ifm_read) Fix code and comments to reflect that
198 all internal interfaces now have ifp->ifindex set to IFINDEX_INTERNAL.
199 * rt_netlink.c: (set_ifindex) New function used to update ifp->ifindex.
200 Detects interface rename events by checking if that ifindex is already
201 being used. If it is, delete the old interface before assigning
202 the ifindex to the new interface.
203 (netlink_interface, netlink_link_change) Call set_ifindex to update
204 the ifindex.
205
hassob7ed1ec2005-03-31 20:13:49 +00002062005-03-31 Hasso Tepper <hasso at quagga.net>
207
208 * rt_netlink.c (netlink_talk_filter): Show always warning message,
209 it's not for debug.
210 * rt_netlink.c (netlink_talk): Don't assume we use netlink_cmd
211 although we do now actually.
212 * rt_netlink.c (netlink_route, netlink_route_multipath): Always use
213 netlink_cmd to send messages to the kernel.
214
ajs2da40f42005-03-30 16:33:13 +00002152005-03-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
216
217 * irdp.h: Add prototype for irdp_sock_init, and fix protos for
218 other irdp_* functions.
219 * irdp_interface.c: (irdp_if_start) If irdp_sock is negative,
220 call irdp_sock_init to create the IRDP socket.
221 (irdp_if_init) Rename to irdp_init().
222 (get_iflist_ifp) Remove function that is a duplicate of
223 if_lookup_by_index.
224 (*) Make many functions static. And remove superfluous "\n" from
225 several zlog messages.
226 * irdp_main.c: (irdp_init) Remove function that used to call
227 irdp_if_init() and irdp_sock_init(), since we will now create
228 the socket only upon first use.
229 (irdp_sock_init) Do not update global irdp_sock variable, just
230 return the fd and assume that the caller will do so. If setsockopt
231 calls fail, close the socket before returning -1.
232 (*) Make many functions static.
233 * irdp_packet.c: Initialize irdp_sock to -1.
234 (irdp_read_raw) Call standard library function if_lookup_by_index
235 instead of get_iflist_ifp.
236 (irdp_recvmsg) Should be static, not global.
237
ajsa608bbf2005-03-29 17:03:49 +00002382005-03-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
239
240 * rt_netlink.c: (netlink_link_change) If the status of an
241 operative interface changes (e.g. MTU changes), the client
242 daemons should be notified by calling zebra_interface_up_update.
243 Previously, the information was being updated in zebra's
244 interface structure, but the clients were not notified of
245 changes to an operative interface.
246
vincent7cee1bb2005-03-25 13:08:53 +00002472005-03-25 Jean-Mickael Guerin <jean-mickael.guerin@6wind.com>
248 * interface.c, interface.h, rtadv.c, rtadv.h: modifications to
249 IPv6 Neighbor Discovery according to RFC3775, section 7:
250 o 1-bit Home Agent flag management in Router Advertisement (7.1).
251 o 1-bit Router Address flag management in Prefix Information
252 Option (7.2).
253 o Advertisement Interval Option (7.3)
254 o Home Agent Information Option (7.4)
255 o Changes to Sending Router Advertisements more frequently (7.5)
256
hassoed9bb6d2005-03-13 19:17:21 +00002572005-03-13 Hasso Tepper <hasso at quagga.net>
258
259 * zebra/interaface.c: "show interface description" command
260 implemented.
261
paulc1f01f32005-03-12 06:33:14 +00002622005-03-12 Paul Jakma <paul@dishone.st>
263
264 * rt_netlink.c: (netlink_route_multipath) dont set equalise flag.
265 No stock Linux kernel has ever supported it, and even if it had
266 it's not generally a good idea.
267
hasso42a66d72005-03-07 08:19:44 +00002682005-03-07 Michael Sandee <voidptr@voidptr.sboost.org>
269
270 * if_proc.c, ipforward_proc.c, rtread_proc.c: Fix fd leaks.
271
hasso3452d472005-03-06 13:42:05 +00002722005-03-06 Hasso Tepper <hasso at quagga.net>
273
274 * interface.c: Fix CRC and frame errors statistics in Linux.
275
ajs719e9742005-02-28 20:52:15 +00002762005-02-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
277
278 * zserv.c: Must include network.h and buffer.h for non-blocking I/O.
279 Remove global message_queue and t_write (need separate buffering for
280 each client).
281 (zebra_server_dequeue,zebra_server_enqueue) Remove functions
282 related to old buggy buffering code.
283 (zserv_delayed_close) New thread callback function to delete a client.
284 (zserv_flush_data) New thread callback function to flush buffered
285 data to client.
286 (zebra_server_send_message) Rewritten to use buffer_write (so
287 buffering of writes and non-blocking I/O work properly).
288 (zsend_interface_add,zsend_interface_delete,zsend_interface_address,
289 zsend_interface_update) Return 0 instead of -1 if !client->ifinfo
290 (this is not really an error). Return value from
291 zebra_server_send_message.
292 (zsend_route_multipath,zsend_ipv4_nexthop_lookup,
293 zsend_ipv4_import_lookup) Return value from zebra_server_send_message.
294 (zsend_ipv6_nexthop_lookup) Fix scope to static, and return value
295 from zebra_server_send_message.
296 (zsend_router_id_update) Must use zebra_server_send_message instead
297 of deprecated writen function. Return 0 instead of -1 if this client
298 is not subscribed to router-id updates (since this is not really
299 an error).
300 (zread_interface_add) Change type to static int. If
301 zsend_interface_add fails or zsend_interface_address fails, return -1
302 immediately (since the client has had an I/O error).
303 (zread_interface_delete,zread_ipv4_add,zread_ipv4_delete,
304 zread_ipv6_add,zread_ipv6_delete,zread_router_id_delete) Return 0
305 to indicate success.
306 (zread_ipv4_nexthop_lookup) Return value from
307 zsend_ipv4_nexthop_lookup.
308 (zread_ipv4_import_lookup) Return value from zsend_ipv4_import_lookup.
309 (zebra_read_ipv6) Remove unused function.
310 (zread_ipv6_nexthop_lookup) Return value from
311 zsend_ipv6_nexthop_lookup.
312 (zread_router_id_add) Return value from zsend_router_id_update.
313 (zebra_client_close) Call buffer_free(client->wb) and
314 thread_cancel(client->t_suicide).
315 (zebra_client_create) Allocate client->wb using buffer_new.
316 (zebra_client_read) Support non-blocking I/O by using stream_read_try.
317 Use ZEBRA_HEADER_SIZE instead of 3.
318 (zebra_accept) Fix bug: reset accept thread at top. Make client
319 socket non-blocking using the set_nonblocking function.
320 (config_write_forwarding) Fix scope to static.
321 (zebra_init) Remove initialization code for old buggy write buffering.
322 * zserv.h: Add 2 new fields to struct zserv: struct buffer *wb
323 (to enable buffered writes with non-blocking I/), and
324 struct thread *t_suicide to support delayed close on I/O
325 errors.
326 * router-id.h: Remove prototypes for zread_router_id_add and
327 zread_router_id_delete (their scope should be static to zserv.c).
328
ajs27da3982005-02-24 16:06:33 +00003292005-02-24 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
330
331 * redistribute.c: (zebra_check_addr,is_default,
332 zebra_redistribute_default,zebra_redistribute) Fix scope to be static.
333
hassoe8274dc2005-02-20 19:09:23 +00003342005-02-20 Hasso Tepper <hasso at quagga.net>
335
336 * rt_netlink.c: Don't show messages "ignoring message type 0x001[89]"
337 if we are not debugging.
338
paule31f2292005-02-19 02:00:26 +00003392005-02-19 Paul Jakma <paul@dishone.st>
340
341 * zserv.c: (zebra_read_ipv6) replace the char * arithmetic with
342 STREAM_READABLE.
343
paul1e193152005-02-14 23:53:05 +00003442005-02-14 Paul Jakma <paul@dishone.st>
345
346 * Not all Linux netlink systems have IFLA_WIRELESS
347
ajs6a52d0d2005-01-30 18:49:28 +00003482005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
349
350 * ioctl.c: (if_ioctl,if_ioctl_ipv6,if_get_flags) Replace perror with
351 zlog_err.
352 * ioctl_solaris.c: (if_ioctl,if_ioctl_ipv6) Replace perror with
353 zlog_err.
354
ajs4be019d2005-01-29 16:12:41 +00003552005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
356
ajs4460e7a2005-01-29 17:07:40 +0000357 * if_ioctl_solaris.c: (interface_list_ioctl) Save errno before calling
358 zserv_privs.change.
359 * ioctl{,_solaris}.c: (if_ioctl,if_ioctl_ipv6) Save errno before calling
360 zserv_privs.change.
361 * ipforward_solaris.c: (solaris_nd) Save errno before calling
362 zserv_privs.change.
363 * irdp_main.c: (irdp_sock_init) Save errno before calling
364 zserv_privs.change.
365
3662005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
367
ajs4be019d2005-01-29 16:12:41 +0000368 * rt_netlink.c: (netlink_socket,netlink_request,netlink_parse_info,
369 netlink_talk) Save errno before calling zserv_privs.change.
370
paulc15cb242005-01-24 09:05:27 +00003712005-01-24 Martin Pot <mpot at martybugs.net>
372
373 * zebra/rt_netlink.c: ignore wireless newlink netlink messages.
374
hasso6f2c27a2005-01-18 13:44:35 +00003752005-01-18 Hasso Tepper <hasso at quagga.net>
376
377 * interface.c: Better statistics output in "show interface" command in
378 case of /proc being used.
379
hasso583d8002005-01-16 23:34:02 +00003802005-01-17 Hasso Tepper <hasso at quagga.net>
381
382 * main.c: With --nl-bufsize argument is required.
383
paul865b8522005-01-05 08:30:35 +00003842005-01-05 Paul Jakma <paul@dishone.st>
385
386 * zserv.c: (zebra_accept) Comment out setting of socket to NONBLOCK
387 for now, as we dont actually deal with with resending.... See
388 bugzilla #122, fix from wawa@yandex-team.ru (Vladimir Ivanov).
389 * kernel_socket.c: (routing_socket) ditto.
390
ajsb99760a2005-01-04 16:24:43 +00003912005-01-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
392
393 * rtadv.c: (rtadv_recv_packet,rtadv_send_packet) Use ZCMSG_FIRSTHDR
394 instead of CMSG_FIRSTHDR.
395
ajs341a8f12004-12-22 16:32:16 +00003962004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
397
398 * connected.c: (connected_add_ipv4) Limit warning about /32 addresses
399 with no peer specified to PtP interfaces only.
400
hassob8adec12004-12-18 16:03:28 +00004012004-12-18 Hasso Tepper <hasso at quagga.net>
402
403 * zebra_vty.c: Fix "show ipv6 route <proto>" command help and make it
404 work for isis routes.
405
gdt6a250b02004-12-09 14:48:12 +00004062004-12-09 Greg Troxel <gdt@fnord.ir.bbn.com>
407
408 * kernel_socket.c (rtmsg_debug): char * => const char *
409
ajs274a4a42004-12-07 15:39:31 +00004102004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
411
ajsb6178002004-12-07 21:12:56 +0000412 * *.c: Change level of debug messages to LOG_DEBUG.
413
4142004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
415
ajs274a4a42004-12-07 15:39:31 +0000416 * main.c: (main) The 2nd argument to openzlog has been removed.
417 So stdout logging will no longer be enabled by default.
418 * irdp_main.c: (irdp_finish) Reduce severity of shutdown message
419 from LOG_WARNING to LOG_INFO.
420
ajs887c44a2004-12-03 16:36:46 +00004212004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
422
423 * main.c: (sigint) Use zlog_notice for termination message.
424 (main) Add a startup announcement using zlog_notice.
425
hassoaccb1562004-11-25 19:21:07 +00004262004-11-25 Hasso Tepper <hasso at quagga.net>
427
428 * irdp_interface.c: Remove comment from DEFUN, it breaks vtysh because
429 it confuses extract.pl.
hassoc0652302004-11-25 19:33:48 +0000430 * main.c: Make group to run as configurable.
hassoaccb1562004-11-25 19:21:07 +0000431
hasso6bd7c6a2004-10-28 17:32:27 +00004322004-10-28 Hasso Tepper <hasso at quagga.net>
433
434 * interface.c: Remove dead "ip tunnel" command.
435
paul06f953f2004-10-22 17:00:38 +00004362004-10-22 Paul Jakma <paul@dishone.st>
437
438 * irdp_main.c: change setsockopt_pktinfo to setsockopt_ifindex
439
hasso3fb9cd62004-10-19 19:44:43 +00004402004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
441
442 * rt_netlink.c: (netlink_interface_addr) For PtP interfaces, ignore
443 tb[IFA_ADDRESS] if it's the same as tb[IFA_LOCAL].
444 * interface.c: (ip_address_install) Use new ipv4_broadcast_addr
445 function.
446 * connected.c: (connected_up_ipv4) Use CONNECTED_POINTOPOINT_HOST
447 macro.
448 (connected_down_ipv4) ditto.
449 (connected_add_ipv4) Validate destination address, print warnings
450 if it does not make sense.
451
hassoc1eaa442004-10-19 06:26:01 +00004522004-10-19 Hasso Tepper <hasso at quagga.net>
453
454 * zserv.c: Fix regression introduced with zserv cleanup.
455
hassoc75105a2004-10-13 10:33:26 +00004562004-10-13 Hasso Tepper <hasso at quagga.net>
457
458 * zebra_snmp.c: Remove defaults used to initialize smux connection to
459 snmpd. Connection is initialized only if smux peer is configured.
hassob71f00f2004-10-13 12:20:35 +0000460 * zserv.c: Remove useless warnings "forwarding is already on".
hassoc75105a2004-10-13 10:33:26 +0000461
hasso39ff11d2004-10-12 15:55:19 +00004622004-10-12 Hasso Tepper <hasso at quagga.net>
463
464 * zebra_vty.c: Unbreak "show ip route" command help and make it work
465 for isis routes.
hasso39db97e2004-10-12 20:50:58 +0000466 * interface.c(if_dump_vty): Show IPv6 addresses in "show interface"
467 output. Fixes Bugzilla #119.
468 * *.c: Make some strings const and some (unsigned) casts to fix
469 compiler warnings.
hasso39ff11d2004-10-12 15:55:19 +0000470
hassofce954f2004-10-07 20:29:24 +00004712004-10-07 Hasso Tepper <hasso at quagga.net>
472
473 * connected.c, main.c, rt_netlink.c, rtadv.c, zebra_rib.c, zserv.c:
474 Fix warnings: make strings const, signed -> unsigned.
475
paul72164662004-10-05 14:39:43 +00004762004-10-05 Paul Jakma <paul@dishone.st>
477
478 * irdp_packet.c: (parse_irdp_packet) style issues.
479 Use sockopt_iphdrincl_swab_systoh.
480 Try unbork the code. Checksum the ICMP data and actually
481 compare it to received checksum. Check data length against
482 claimed length in header.
483 Always use ntoh.. when accessing addresses, even when the
484 comparison happens to be endian-safe.
485 (send_packet) minor style isues. Use
486 sockopt_iphdrincl_swab_htosys.
487 (irdp_iph_hton/ntoh) IP header to/from network/host order.
488
hassoeef1fe12004-10-03 18:46:08 +00004892004-10-03 Gilad Arnold <gilad.arnold at terayon.com>
490
491 * interface.c, interface.h: A new prefix tree of connected subnets is
492 associated with each interface structure in zebra, in which each
493 live (ie, non-synthetic) node holds a list of installed addresses
494 that belong to that prefix. Remove secondary address logic from cli.
495 See [quagga-dev 872] for detailed explanation.
496 * connected.c: Use if_subnet_add() and if_subnet_delete().
497
hasso18a6dce2004-10-03 18:18:34 +00004982004-10-03 James R. Leu <jleu at mindspring.com>
499
500 * router-id.c, router-id.h: New files. Router id selection process. If
501 there is non 127.x.x.x address in loopack interface, lowest of them
502 is chosen. If there isn't, lowest from other interfaces addresses
503 are chosen. "router-id x.x.x.x" vty command to manual override.
504 * Makefile.am: Compile new files.
505 * main.c: Initialize router id.
506 * redistribute.c: Add interface addresses into router id selection
507 lists as they (dis)appear.
508 * zserv.c, zserv.h: Sending router id related messages to daemons.
509
hassoc9e52be2004-09-26 16:09:34 +00005102004-09-26 Hasso Tepper <hasso at quagga.net>
511
512 * irdp_interface.c, irdp_main.c, irdp_packet.c, rt_netlink.c,
513 rtadv.c, zebra_vty.c: Fix compiler warnings.
514
paul0c0f9112004-09-24 08:24:42 +00005152004-09-24 Paul Jakma <paul@dishone.st>
516
paul26f7a242004-09-24 08:45:10 +0000517 * irdp_interface.c: (no_ip_irdp_address_preference_cmd)
518 add missing listnode declaration.
519
5202004-09-24 Paul Jakma <paul@dishone.st>
521
paul0c0f9112004-09-24 08:24:42 +0000522 * irdp_{interface,main}.c: lists typedef removal cleanup.
523 update some list loops to LIST_LOOP. some miscellaneous style
524 and indent fixups.
525 (no_ip_irdp_address_preference_cmd) Fix delete of referenced node
paul26f7a242004-09-24 08:45:10 +0000526 in loop.
paul0c0f9112004-09-24 08:24:42 +0000527 * irdp_packet.c: (irdp_recvmsg) Fix buggy assignment of integer
528 to pointer.
529 * if_ioctl{,_solaris}.c: lists typedef removal cleanup.
530 update some list loops to LIST_LOOP.
531
hasso52dc7ee2004-09-23 19:18:23 +00005322004-09-23 Hasso Tepper <hasso at quagga.net>
533
534 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
535
paul44983cf2004-09-22 13:15:58 +00005362004-09-22 Paul Jakma <paul.jakma@sun.com>
537
538 * zserv.c: (zsend_route_multipath) fix nasty bad memset of struct
539 in_addr to sizeof(struct in6_addr), causing odd and hard to debug
540 crash.
541
hassoc34b6b52004-08-31 13:41:49 +00005422004-08-31 Hasso Tepper <hasso at quagga.net>
543
544 * main.c, rt_netlink.c: Added -s command line switch for tuning
545 netlink receive buffer size in Linux to avoid buffer overruns.
546
gdta5ea6872004-08-26 13:24:00 +00005472004-08-26 Miles Nordin <carton@Ivy.NET>
548
549 * ipforward_sysctl.c (mib_ipv6): Use size_t for len, per
550 sysctl(3), rather than int. (Needed on NetBSD/alpha to display
551 forwarding status correctly.)
552
paul3e0b3a52004-08-23 18:58:32 +00005532004-08-23 Paul Jakma <paul@dishone.st>
554
555 * zserv.c: (zebra_init) remove implicit ip forward enabling
556
paul0de1cde2004-08-19 04:45:33 +00005572004-08-19 Paul Jakma <paul@dishone.st>
558
559 * irdp_main.c: update to match sockopt renames.
560 * irdp_packet.c: include sockopt.h and update to match sockopt
561 renames.
562
gdt57492d52004-08-11 18:06:38 +00005632004-08-11 Greg Troxel <gdt@fnord.ir.bbn.com>
564
565 * rtadv.c (rtadv_send_packet): Allocate space for control messages
566 more carefully; it was wrong on NetBSD/sparc where CMSG alignment
567 is to 8 bytes instead of 4, and overwriting the address. Use the
568 provided macros for determining lengths.
569
paul5b73a672004-07-23 15:26:14 +00005702004-07-23 Sowmini Varadhan <Sowmini.Varadhan@Sun.COM>
571
572 * if_ioctl_solaris.c: HAVE_IPV6 ifdef fixups
573 * zserv.c: ditto
574 * ioctl_solaris.c: ditto.
575 * interface.c: cast for LLADDR
576 * interface.h: Add guards, include redistribute.h and remove
577 extraneous definitions of zebra_interface_{up,down}_update
578 * ioctl.h: Add AF_IOCTL define for non SOLARIS_IPV6
579 * redistribute.h: include dependent header, zserv.h
580 * zserv.h: include dependent header, rib.h
581
paul1470baf2004-07-23 15:25:01 +00005822004-07-23 Paul Jakma <paul@dishone.st>
583
584 * irdp_main.c: use setsockopt_pktinfo_ipv4
585 * irdp_packet.c: use SOPT_SIZE_CMSG_PKTINFO_IPV4 and
586 getsockopt_pktinfo_ifindex()
587
gdtcced60d2004-07-13 16:45:54 +00005882004-07-13 David Wiggins <dwiggins@bbn.com
589
590 * kernel_socket.c (rtm_flag_dump): terminate buffer with '\0', not '0'.
591
hasso25dac852004-07-13 03:06:51 +00005922004-07-13 Hasso Tepper <hasso@estpak.ee>
593
594 * irdp_main.c: Add privilege change.
595
hasso996933f2004-07-12 16:32:56 +00005962004-07-12 Hasso Tepper <hasso@estpak.ee>
597
598 * irdp_interface.c: follow common style while naming vty command
599 functions. Avoids confusion in extract.pl.
600
gdt87efd642004-06-30 17:36:11 +00006012004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
602
603 * main.c: define thread_master variable so that linking with
604 libzebra.so doesn't fail. Arguably zclient.o should be in a
605 separate library, but this is far less disruptive.
606
hassoca776982004-06-12 14:33:05 +00006072004-06-12 Robert Olsson <Robert.Olsson at data.slu.se>
608
609 * Added IRDP support.
610
hasso3e31cde2004-05-18 11:58:59 +00006112004-05-18 Hasso Tepper <hasso@estpak.ee>
612
613 * rtadv.c: Removed "[no] ipv6 nd send-ra" command. Replaced "ipv6 nd
614 prefix-advertisement" with "ipv6 nd prefix". Rewrite syntax of
615 "ipv6 nd prefix" command to allow various combinations of parameters
616 and flags. No defaults in configuration. Replaced on-link and
617 autoconfig with off-link and no-autoconfig flags in command syntax.
618 Cosmetic fixes in all commands. Documentation to reflect all changes.
619
paul19877dd2004-05-11 10:49:35 +00006202004-05-11 Paul Jakma <paul@dishone.st>
621
622 * Makefile.am: support for IOCTL_METHOD, as per Sowmini's patch.
paul48a46fa2004-05-11 10:55:22 +0000623 * if_ioctl_solaris.c: Fixup some erroneous privilege changes and
624 add privs.h header.
625 * ioctl_solaris.c: ditto
paulc50ae8b2004-05-11 11:31:07 +0000626 * ioctl.h: Add if_ioctl_ipv6 prototype and AF_IOCTL for SOLARIS_IPV6
627 * kernel_socket.c: Fix SAROUNDUP, compiler doesnt like do..while
628 RHS in assignments :)
629 * redistribute.c: (zebra_interface_delete_update) only used
630 if RTM_IFANNOUNCE and NETLINK is available.
631
paulb9df2d22004-05-09 09:09:59 +00006322004-05-09 Paul Jakma <paul@dishone.st>
633
634 * zserv.c: (zsend_route_multipath) Set the nexthop_num
635 field correctly. Add NEXTHOP_TYPE_IPV6_IFNAME for v6.
636 Conditionally set ZAPI_MESSAGE_METRIC flag - only for adds.
637 (zsend_ipv4_add) cruft, deleted.
638 (zsend_ipv4_delete) ditto.
639 (zsend_ipv6_add) ditto.
640 (zsend_ipv6_delete) ditto.
paul44145db2004-05-09 11:00:23 +0000641 * ioctl.c: (if_get_mtu) set mtu6 to mtu
642 * mtu_kvm.c: (if_kvm_get_mtu) set mtu6 to mtu
643 * rt_netlink.c: (netlink_interface) set mtu6 to mtu
644 (netlink_link_change) ditto
paul66e94882004-05-09 17:19:24 +0000645 * ipforward_solaris.c: fix typo of ND variable.
paul88424682004-05-09 18:21:35 +0000646 * if_ioctl_solaris.c: Add zprivs support.
647 * ioctl_solaris.c: ditto.
paul66e94882004-05-09 17:19:24 +0000648
paulb9df2d22004-05-09 09:09:59 +00006492004-05-09 Sowmini Varadhan <sowmini.varadhan@sun.com>
650
651 * zserv.c: (zsend_ipv{4,6}_{add,delete}_multipath) collapsed
652 into single zsend_route_multipath function.
653 (zsend_interface_{up,down}) collapsed into zsend_interface_update.
654 (zsend_interface_address_{add,delete}) collapsed into
655 zsend_interface_address.
656 (zsend_interface_add) send mtu6.
657 (zsend_interface_delete) ditto.
658 (zebra_write) remove unused function.
659 (various) Apply static qualifier. Add comments.
660 * zserv.h: Definitions changed as per above.
661 * redistribute.c: Changes as per zserv.c.
paul44145db2004-05-09 11:00:23 +0000662 * interface.c: (if_delete_update) only used with HAVE_NETLINK
663 and RTM_IFANNOUNCE.
664 (if_flag_dump_vty) Solaris IFF_IPV4 and IFF_IPV6 if flags
665 (if_dump_vty) print mtu6 if not same as mtu
paul88424682004-05-09 18:21:35 +0000666 * if_ioctl_solaris.c: New file, Solaris interface ioctl methods.
667 * ioctl_solaris.c: New file, Common solaris ioctl methods.
668
hasso34195bf2004-04-06 12:07:06 +00006692004-04-06 Krzysztof Oledzki <oleq@ans.pl>
670
671 * rt_netlink.c: Do not ignore metric when reading kernel routing
672 table on Linux with rt_netlink interface.
673
6742004-03-18 Hasso Tepper <hasso@estpak.ee>
hassof1d92e12004-03-18 15:40:33 +0000675
676 * interface.c: Temporary fix for handling secondary addresses
677 with label.
678
hasso55906722004-02-11 22:42:16 +00006792004-02-12 Hasso Tepper <hasso@estpak.ee>
hassof1d92e12004-03-18 15:40:33 +0000680
hasso55906722004-02-11 22:42:16 +0000681 * zserv.c: Added "ipv6 forwarding" command.
682
gdtb27900b2004-01-08 15:44:29 +00006832004-01-08 Greg Troxel <gdt@fnord.ir.bbn.com>
684
685 * kernel_socket.c (kernel_read): Use sockaddr_storage in buffer
686 for reading kernel messages to ensure enough space (necessary on
687 Solaris due to sockaddr_dl being large). Thanks to Sowmini
688 Varadhan for help with this change.
689
gdt9ccabd12004-01-06 18:23:02 +00006902004-01-06 Greg Troxel <gdt@t1.ir.bbn.com>
691
692 * rtadv.c (rtadv_send_packet): Change perror to zlog_err.
693
gdtdbee01f2004-01-06 00:36:51 +00006942004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
gdt4bfbea82004-01-06 01:13:05 +0000695 * kernel_socket.c (ifm_read): Major cleanup. Use Sowmini's code
696 to find the sockaddr_dl in all cases, narrowing the Solaris ifdef
697 to just the accomodation of broken kernels. Check sockaddr_dl
698 carefully up front, and later assume any non-NULL sdl pointer is
699 valid. Clean up types and variable declarations, and rename
700 WRAPUP to SAROUNDUP to make the name fit the behavior.
701
7022004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
gdtdbee01f2004-01-06 00:36:51 +0000703
704 * kernel_socket.c (kernel_read): Add a sockaddr_dl to the ifmsg
705 structure, because on Solaris sockaddr_dl is far larger than the
706 base sockaddr structure. (The code had previously been failing to
707 read all the data.)
gdt4bfbea82004-01-06 01:13:05 +0000708
gdtda26e3b2004-01-05 17:20:59 +00007092004-01-05 Greg Troxel <gdt@ahi.ir.bbn.com>
710
711 * kernel_socket.c (kernel_read): Look up interfaces by index
712 first, so that state changes which do not include a sockaddr_dl
713 now work. Add many sanity checks. In
714 particular, do not assume that a sockaddr_dl follows a message
715 without checking the ifm_addrs flags, and do not trust the length
716 in a sockaddr_dl. Add/clarify many comments.
717
gdt4b5e1352003-12-03 17:54:34 +00007182003-12-03 Greg Troxel <gdt@poblano.ir.bbn.com>
719
720 * rtadv.c: reorder includes to avoid compiler warning (define
721 structs before using them in prototypes)
722
hasso647e4f12003-05-25 11:43:52 +00007232003-05-25 Jim Crumpler <Jim.Crumpler@edion.com>
724
725 * zserv.c: Add "ip forwarding" command.
726
paul445f1432003-05-16 19:00:31 +00007272003-05-16 Gilad Arnold <gilad.arnold@terayon.com>
728
729 * zebra_rib.c: Fix memory leaks for ifname nexthops
730
7312003-04-19 Israel Keys <ikeys@agile.tv>
732
733 * rt_netlink.c: BLOCK on netlink while initialising
734
7352003-02-06 Francois Deppierraz <francois@ctrlaltdel.ch>
736
737 * rt_netlink.c (netlink_route_multipath): Set RTM_F_EQUALIZE when
738 it exists.
739
paul718e3742002-12-13 20:15:29 +00007402002-09-28 Akihiro Mizutani <mizutani@net-chef.net>
741
742 * zebra_rib.c (static_add_ipv4): Null0 static route is added.
743
7442002-09-10 Jochen Friedrich <chris+zebra@scram.de>
745
746 * rt_netlink.c: Add check for EAGAIN.
747 * kernel_socket.c: Likewise
748
7492002-06-12 Israel Keys <ikeys@oz.agile.tv>
750
751 * rt_netlink.c: Setting the NLM_F_ACK flag on the netlink command
752 message so that we get an ACK for successful netlink commands.
753 Change the netlink socket to BLOCKING while we wait for a
754 response; be it an ACK or an NLMSG_ERROR. Change
755 netlink_parse_info to deal with ACK messages.
756
7572001-11-01 Jun-ichiro itojun Hagino <itojun@iijlab.net>
758
759 * rtadv.c (rtadv_make_socket): setsockopt(IPV6_CHECKSUM) does not
760 work for ICMPv6 socket.
761
7622001-10-24 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
763
764 * rib.c (rib_process): Select connected route any case.
765
7662001-10-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
767
768 * interface.c (no_ip_address_secondary): Add "no" to command.
769
7702001-10-18 NOGUCHI Kay <kay@v6.access.co.jp>
771
772 * ioctl.c (if_prefix_add_ipv6): Set the prefered and valid lifetime
773 to infinity as the freebsd4.4 workaroud.
774
7752001-08-26 mihail.balikov@interbgc.com
776
777 * zebra_snmp.c: Fix snmpwalk problem such as IPv4 address
778 A.B.C.255.
779
7802001-08-22 NOGUCHI Kay <kay@v6.access.co.jp>
781
782 * rtadv.c: Do not send RA to loopback interface.
783
7842001-08-20 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
785
786 * ioctl.c (if_set_prefix): Remove Linux 2.0 specific connected
787 route treatment.
788
7892001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
790
791 * zebra-0.92a released.
792
7932001-08-17 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
794
795 * rib.c: Kernel route is treated as EGP routes in nexthop active
796 check.
797
7982001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
799
800 * zebra-0.92 released.
801
8022001-08-08 "Akihiro Mizutani" <mizutani@dml.com>
803
804 * rib.c (show_ip_route_prefix_longer): Add longer-prefix option to
805 show route commands.
806
8072001-07-29 Yon Uriarte <havanna_moon@gmx.net>
808
809 * zserv.c (zsend_ipv4_add_multipath): Add
810 NEXTHOP_TYPE_IPV4_IFINDEX check.
811
8122001-07-29 NOGUCHI Kay <kay@v6.access.co.jp>
813
814 * rtadv.c: Apply valid lifetime, preferred lifetime, onilnk flag,
815 autonomous address-configuration flag patch.
816 (no_ipv6_nd_suppress_ra): Change "ipv6 nd send-ra" to "no ipv6 nd
817 suppress-ra".
818
8192001-07-24 NOGUCHI Kay <kay@v6.access.co.jp>
820
821 * rtadv.c (ipv6_nd_ra_interval): Add "ipv6 nd ra-interval SECONDS"
822 command.
823
8242001-07-24 Jun-ichiro itojun Hagino <itojun@iijlab.net>
825
826 * rt_socket.c (kernel_rtm_ipv4): Add KAME/NetBSD151 equal cost
827 multicast FIB support both IPv4 and IPv6.
828
8292001-07-24 Hal Snyder <hal@vailsys.com>
830
831 * if_ioctl.c (interface_list_ioctl): Fix bug of failing to get the
832 full list of interfaces on some configurations of OpenBSD.
833
8342001-07-23 NOGUCHI Kay <kay@v6.access.co.jp>
835
836 * rtadv.c (ipv6_nd_send_ra): Apply [zebra 9320] to fix "ipv6 nd
837 send-ra" bug.
838 (ipv6_nd_ra_lifetime): "ipv6 nd ra-lifetime 0" for default router
839 availability.
840 (ipv6_nd_managed_config_flag): "ipv6 nd managed-config-flag" is
841 added.
842 (ipv6_nd_other_config_flag): "ipv6 nd other-config-flag" is added.
843
8442001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
845
846 * ioctl.c (if_ioctl): Change ioctl argument from int to u_long.
847
848 * rt_ioctl.c: Likewise.
849
8502001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
851
852 * kernel_socket.c (rtm_write): Only set RTF_CLONING when the
853 interface is not p2p.
854
8552001-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
856
857 * ioctl.c (if_prefix_add_ipv6): Fix argument type.
858
8592001-04-06 Toshiaki Takada <takada@zebra.org>
860
861 * zserv.c (zsend_interface_delete): Use client->obuf instead of
862 allocating new stream.
863
8642001-03-10 Kunihiro Ishiguro <kunihiro@zebra.org>
865
866 * rt_netlink.c: Revert RTPROT_BOOT change.
867
8682001-03-08 Kunihiro Ishiguro <kunihiro@zebra.org>
869
870 * rt_netlink.c (netlink_route_change): Skip RTPROT_BOOT route.
871 (netlink_routing_table): Likewise.
872
8732001-03-07 "Akihiro Mizutani" <mizutani@dml.com>
874
875 * zserv.c (zsend_ipv4_add_multipath): Send metric value to
876 protocol daemons.
877
8782001-02-18 Kunihiro Ishiguro <kunihiro@zebra.org>
879
880 * rt_netlink.c (netlink_routing_table): Do not return
881 tb[RTA_GATEWAY] is NULL. Reported by: "Michael O'Keefe"
882 <mokeefe@qualcomm.com>.
883
8842001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
885
886 * if_ioctl.c (interface_list_ioctl): Call if_add_update().
887 Suggested by: Chris Dunlop <chris@onthe.net.au>.
888
8892001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
890
891 * rib.c (nexthop_active_ipv4): When nexthop type is
892 NEXTHOP_TYPE_IPV4_IFINDEX, propery set the ifindex to rifindex.
893
894 * zserv.c: Initialize rtm_table_default with 0.
895
896 * zebra-0.91 is released.
897
8982001-01-31 Kunihiro Ishiguro <kunihiro@zebra.org>
899
900 * kernel_socket.c (rtm_read): Filter cloned route. Suggested by:
901 Jun-ichiro itojun Hagino <itojun@iijlab.net>
902
9032001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
904
905 * connected.c (connected_up_ipv6): When point-to-point destination
906 address is ::, use local address for connected network.
907 (connected_down_ipv6): Likewise.
908
9092001-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
910
911 * zserv.c (zebra_serv): Add missing close() call. Reported by:
912 David Waitzman <djw@vineyard.net>.
913
9142001-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
915
916 * rib.c (rib_lookup_ipv4): New function for checking exact match
917 IGP route.
918
9192001-01-23 Kunihiro Ishiguro <kunihiro@zebra.org>
920
921 * rib.c (show_ipv6_route_protocol): Fix bug of "show ip route
922 route-type".
923
9242001-01-22 Kunihiro Ishiguro <kunihiro@zebra.org>
925
926 * interface.c (zebra_interface): Do not call
927 zebra_interface_add_update for inactive interface.
928
929 * zserv.c (zsend_interface_address_add): Send interface address
930 flag.
931 (zsend_interface_address_delete): Likewise.
932
9332001-01-19 Kunihiro Ishiguro <kunihiro@zebra.org>
934
935 * interface.c (if_addr_add): Add flags.
936
937 * connected.c (ifa_add_ipv4): Add new function for interface
938 address handling.
939 (ifa_delete_ipv4): Likewise.
940
9412001-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
942
943 * rib.c (rib_update): Update IPv6 RIB.
944
945 * kernel_socket.c (ifam_read): Call if_refresh() for update
946 interface flag status. This is for implicit interface up on *BSD.
947
948 * interface.c (if_refresh): Add interface flag refresh function.
949
950 * kernel_socket.c (rtm_read): Fetch link-local address interface
951 index.
952 (ifan_read): We need to fetch interface information. Suggested
953 by: Yasuhiro Ohara <yasu@sfc.wide.ad.jp>.
954
955 * rib.c (static_ipv6_nexthop_same): Add check for
956 NEXTHOP_TYPE_IPV6_IFNAME.
957
9582001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
959
960 * rib.h (NEW_RIB): Turn on NEW_RIB flag. IPv6 new RIB code are
961 taken into place.
962
9632001-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
964
965 * rib.c (static_ipv6_write): Display STATIC_IPV6_GATEWAY_IFNAME
966 configuration.
967 (rib_delete_ipv6): Handle same route conter for IPv6 connected
968 route.
969 (show_ipv6_route_protocol): New command.
970 (show_ipv6_route_addr): Likewise.
971 (show_ipv6_route_prefix): Likewise.
972 (rib_update): Sweep kernel route when it is cleaned up.
973
974 * rt_socket.c (kernel_add_ipv6): Add NEXTHOP_IPV6_IFNAME
975 treatmenet.
976
977 * rt_netlink.c (kernel_init): Likewise.
978
979 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): Likewise.
980
981 * rib.c (rib_add_ipv4): Cope with same connected route on a
982 interface. Suggested by: Matthew Grant <grantma@anathoth.gen.nz>.
983 (nexthop_ipv6_ifname_add): Add NEXTHOP_IPV6_IFNAME treatmenet.
984
985 * rib.h (struct new_rib): Add refcnt to keep track on the
986 reference of same connected route.
987
988 * ioctl.c (if_set_prefix): Add check for GNU_LINUX.
989
9902001-01-13 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
991
992 * kernel_socket.c (ifan_read, rtm_type_str): Add RTM_OIFINFO check.
993 (rtm_type_str): Add RTM_IFANNOUNCE check.
994 (ifan_read): New function.
995 (kernel_read): Add case for RTM_IFANNOUNCE.
996
9972001-01-13 Kunihiro Ishiguro <kunihiro@zebra.org>
998
999 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): New function.
1000
1001 * rt_netlink.c (netlink_route_multipath): IPv6 address ifindex
1002 treatment.
1003
1004 * connected.c (connected_up_ipv6): Add dest value check.
1005
1006 * rib.c (nexthop_active_ipv6): Do not touch IPv6 nexthop's
1007 ifindex.
1008 (rib_add_ipv4): Import rib_add_ipv6() same route check code.
1009 (nexthop_active_check): NEXTHOP_TYPE_IPV6_IFINDEX activity is only
1010 checked by ifindex.
1011
1012 * rt_socket.c (kernel_rtm_ipv6_multipath): New function.
1013
1014 * redistribute.c (redistribute_add): Use
1015 zsend_ipv6_add_multipath().
1016 (redistribute_delete_multipath): Use
1017 zsend_ipv6_delete_multipath().
1018
1019 * interface.c (ip_address): Check current IP address to avoid
1020 duplicate.
1021
1022 * rib.c (rib_delete_ipv4): When deleted route is connected route,
1023 check ifindex.
1024 (rib_add_ipv4): When connected route is added do not perform
1025 implicit withdraw.
1026 (rib_delete_ipv4): Check ifindex for connected route.
1027
1028 * kernel_socket.c (rtm_read): When route has RTF_STATIC, set
1029 ZEBRA_FLAG_STATIC for indicate as persistent route.
1030 (ifam_read): Unset interface index from link-local address when
1031 IPv6 stack is KAME.
1032
1033 * rib.c (rib_update): Do not delete persistent kernel route.
1034
1035 * rib.h (struct new_rib): Integrate RIB_FLAG_* to ZEBRA_FLAG_*.
1036
1037 * rt_socket.c (kernel_add_ipv6_multipath): Add placeholder.
1038 (kernel_delete_ipv6_multipath): Likewise.
1039
1040 * rt_netlink.c (netlink_talk): Give struct nlsock to netlink_talk.
1041
10422001-01-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1043
1044 * rib.c (rib_update): Revert Matthew Grant's patch
1045 zebra_cvs_newribfix.patch. Use struct rib->ifindex for kernel
1046 interface index. Introduce NEXTHOP_TYPE_IPV4_IFINDEX to support
1047 that. Add support for address deletion situation.
1048
10492001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1050
1051 * interface.c: Remove HAVE_IF_PSEUDO part.
1052
1053 * rib.h: Likewise.
1054
1055 * rt_netlink.c (netlink_link_change): Likewise.
1056
10572001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1058
1059 * zserv.c: Remove OLD_RIB codes.
1060
10612001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1062
1063 * zebra-0.90 is released.
1064
10652001-01-09 Matthew Grant <grantma@anathoth.gen.nz>
1066
1067 * interface.c (if_new_intern_ifindex): Allocate a new internal
1068 interface index.
1069 (if_addr_refresh): Fix up ip addresses configured via zebra.
1070 (if_add_update): Handle an interface addition.
1071 (if_delete_update): Handle an interface delete event.
1072
1073 * rib.c (nexthop_ipv4_add): Add kernel route deletion process when
1074 interface goes down.
1075
10762001-01-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1077
1078 * interface.c (if_dump_vty): When HAVE_NET_RT_IFLIST is defined,
1079 NetBSD also use this function. Suggested by Jasper Wallace
1080 <jasper@ivision.co.uk>.
1081
10822001-01-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1083
1084 * rib.c (nexthop_active_ipv4): Move back to set methodo to old
1085 one.
1086
10872001-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1088
1089 * rib.c (rib_add_ipv4): EBGP multihop set ZEBRA_FLAG_INTERNAL
1090 flag, so treat it.
1091
10922001-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1093
1094 * rt_netlink.c (netlink_talk_ipv6): When IPv6 route message is
1095 sent from netlink_cmd, the same message comes from netlink. To
1096 avoid confusion, temporary netlink_talk_ipv6 use netlink.sock
1097 instead of netlink_cmd.sock.
1098
10992001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1100
1101 * zserv.h (ZEBRA_SERV_PATH): Change "/tmp/zebra" to "/tmp/.zebra".
1102 Change "/tmp/zserv" to "/tmp/.zserv".
1103
11042000-12-29 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
1105
1106 * rt_netlink.c (struct nlsock): Divide kernel message into listen
1107 socket and command socket.
1108 (netlink_talk): Remove socket listen code. Use netlink_parse_info
1109 for read kernel response.
1110
11112000-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1112
1113 * rib.c (vty_show_ip_route): Show uptime of the RIP,OSPF,BGP
1114 routes.
1115
11162000-12-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1117
1118 * rt_netlink.c (netlink_route_multipath): Metric value is
1119 reflected to kernel routing table.
1120
1121 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Likewise.
1122
1123 * kernel_socket.c (rtm_write): Likewise.
1124
1125 * rib.c (nexthop_active_ipv4): Only iBGP route perform recursive
1126 nexthop lookup.
1127
1128 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Add ioctl version of
1129 new RIB implementation.
1130
11312000-12-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1132
1133 * rib.h: Remove MULTIPATH_NUM. It is defined by configure script.
1134
11352000-12-25 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1136
1137 * rib.c (rib_if_up): Call rib_fib_set instead of RIB_FIB_SET for
1138 proper redistribution.
1139
11402000-12-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1141
1142 * rib.c (nexthop_active_ipv4): Add self lookup nexthop check.
1143 (show_ip_route_protocol): Support new RIB.
1144
1145 * rt_netlink.c (netlink_route_change): Do not return when gate is
1146 NULL.
1147
11482000-12-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1149
1150 * rib.c (rib_lookup_ipv4_nexthop): IBGP nexthop check function is
1151 updated.
1152 (rib_add_ipv4): Free implicit withdraw route's RIB.
1153
11542000-12-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1155
1156 * rib.c (nexthop_active_ipv4): Check indirect nexthop.
1157
1158 * redistribute.c (redistribute_add_multipath): Redistribution
1159 works with new rib code.
1160
11612000-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1162
1163 * rt_netlink.c (netlink_route_multipath): Check useful nexthop
1164 number.
1165 (netlink_route_multipath): Clear rtnh_flags and rtnh_hops.
1166
1167 * rib.c (nexthop_active_update): Set flag for the rib's nexthop
1168 activity is changed.
1169 (nexthop_active_check): Before checking interface is up, make it
1170 sure the interface exist.
1171
11722000-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1173
1174 * rib.c (ip_route): New RIB prototype.
1175
11762000-11-16 Yon Uriarte <ukl2@rz.uni-karlsruhe.de>
1177
1178 * zserv.c (zsend_interface_add): Send hardware address when
1179 hw_addr_len is greater than 0.
1180
11812000-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1182
1183 * connected.c (connected_up_ipv4): Fix ptop bug. The destination
1184 network should be installed into routing table.
1185 (connected_down_ipv4): Likewise.
1186 (connected_add_ipv4): Change to use connected_up_ipv4.
1187 (connected_delete_ipv4): Likewise.
1188
11892000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1190
1191 * rt_netlink.c (netlink_interface_addr): Revert Harald Welte
1192 <laforge@gnumonks.org>'s ptop patch then back to original code to
1193 avoid duplicated connected route problem. Suggested by Frank van
1194 Maarseveen <F.vanMaarseveen@inter.NL.net>.
1195
1196 * kernel_socket.c (rtm_read): Make behavior consistent even #ifdef
1197 DEBUG is defined. Reported by Jun-ichiro itojun Hagino
1198 <itojun@iijlab.net>.
1199
12002000-10-23 Jochen Friedrich <jochen@scram.de>
1201
1202 * main.c (main): Call zebra_snmp_init() when it is enabled.
1203
12042000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1205
1206 * zserv.c (zebra_serv_un): UNIX domain socket server of zebra
1207 protocol.
1208
12092000-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1210
1211 * rib.c (rib_add_ipv4): Same check bug is fixed.
1212
12132000-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1214
1215 * rib.c (rib_if_down): Remove kernel route when the interface goes
1216 down.
1217
1218 * debug.c: New command "debug zebra kernel" is added.
1219
12202000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1221
1222 * zebra-0.89 is released.
1223
12242000-09-24 Harald Welte <laforge@gnumonks.org>
1225
1226 * rt_netlink.c (netlink_interface_addr): Fix point-to-point address
1227 treatment in netlink interface.
1228
12292000-09-21 David Lipovkov <dlipovkov@OpticalAccess.com>
1230
1231 * rib.c (rib_if_down): Pull static route only. Protocol daemon
1232 must withdraw routes when interface goes down.
1233 (rib_add_ipv4): Check nexthop when replace route.
1234
12352000-09-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1236
1237 * if_ioctl.c (if_getaddrs): New function for looking up
1238 interface's address by getifaddrs().
1239
12402000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1241
1242 * connected.c (connected_delete_ipv4): Add check for connected
1243 address is found or not.
1244 (connected_add_ipv6): Reflect IPv6 connected address change to
1245 protocol daemons.
1246 (connected_delete_ipv6): Likewise.
1247
12482000-09-07 David Lipovkov <davidl@nbase.co.il>
1249
1250 * rib.c (rib_delete_ipv4): Reverted the change from pseudo
1251 interface patch to original. Because ospfd deletes routes using
1252 zero ifindex.
1253
12542000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1255
1256 * zebra-0.88 is released.
1257
12582000-08-15 "Akihiro Mizutani" <mizutani@dml.com>
1259
1260 * rib.c (show_ip_route_protocol): Help string correction.
1261 (show_ip_route_prefix): Check prefix mask.
1262 (show_ip_route_vty_detail): Display distance and metric.
1263
12642000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1265
1266 * zserv.c (zsend_interface_add): Change ifindex store size from
1267 two octet to four.
1268 (zsend_interface_delete): Likewise.
1269 (zsend_interface_address_add): Likewise.
1270 (zsend_interface_address_delete): Likewise.
1271 (zsend_interface_up): Likewise.
1272 (zsend_interface_down): Likewise.
1273
12742000-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1275
1276 * rib.c (rib_add_ipv4): Do not install distance 255 route.
1277
12782000-08-10 Toshiaki Takada <takada@zebra.org>
1279
1280 * interface.c (bandwidth_if), (no_bandwidth_if): Call
1281 zebra_interface_up_update () instead of using if_up() and if_down().
1282
12832000-08-07 "Akihiro Mizutani" <mizutani@dml.com>
1284
1285 * interface.c (bandwidth_if): Fix help string.
1286
12872000-08-07 Matthew Grant <grantma@anathoth.gen.nz>
1288
1289 * interface.c (if_dump_vty): Display bandwidth value.
1290 (bandwidth_if): New command "bandwidth <1-10000000>" is added.
1291 When interface is up, force protocol daemons to recalculate routes
1292 due to cost change.
1293 (no_bandwidth_if): Likewise.
1294 (if_config_write): Output bandwidth configuration.
1295
1296 * zserv.c (zsend_interface_add): Send bandwidth value.
1297 (zsend_interface_up): Likewise.
1298 (zsend_interface_down): Likewise.
1299
1300
13012000-08-07 Michael Rozhavsky <mike@nbase.co.il>
1302
1303 * rib.c (show_ip_route_protocol): "show ip route
1304 (bgp|connected|kernel|ospf|rip|static)" is added.
1305
13062000-08-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1307
1308 * rib.c (rib_lookup_ipv4_nexthop): Check parent node until IGP
1309 nexthop is found.
1310 (rib_add_ipv4_internal): Set fib ifindex to rib ifindex.
1311
13122000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1313
1314 * redistribute.c (redistribute_delete): Fix bug of default route
1315 redistribute treatment.
1316
13172000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1318
1319 * rib.c (rib_init): Install ip_node in rib.c instead of zserv.c.
1320 Change default distance value.
1321
1322 Old New
1323 ------------------------------------------
1324 system 10 0
1325 kernel 20 0
1326 connected 30 0
1327 static 40 1
1328 rip 50 120
1329 ripng 50 120
1330 ospf 60 110
1331 ospf6 49 110
1332 bgp 70 200(iBGP) 20(eBGP)
1333 ------------------------------------------
1334
1335 * zserv.c (client_lookup): Function removed.
1336 (zsend_interface_add): Use client's output buffer. Check ifinfo
1337 flag.
1338 (zsend_interface_delete): Likewise.
1339 Delete ipv4_static_radix and ipv6_static_radix.
1340
13412000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1342
1343 * zserv.h (struct zebra_client): When client request interface
1344 information, ifinfo is set.
1345
1346 * rib.c: Temporary Revert changes for pseudo interface.
1347
1348 * rib.h: Likewise.
1349
1350 * zserv.c: Likewise.
1351
1352 * interface.c: Likewise.
1353
13542000-08-02 David Lipovkov <davidl@nbase.co.il>
1355
1356 * interface.c (zebra_if_init): Install interface "pseudo"
1357 commands.
1358
1359 * rib.c (rib_create): ifname argument is added.
1360 (rib_add_ipv4_pseudo): New function is added.
1361 (rib_delete_ipv4_pseudo): Likewise.
1362
1363 * rib.h : Delete INTERFACE_UNKNOWN definition. Add prototype for
1364 pseudo interface functions.
1365
1366 * rt_netlink.c (netlink_link_change): Check for pseudo interface.
1367
1368 * zserv.c (ip_route): When destination is pseudo interface, call
1369 rib_add_ipv4_pseudo().
1370
1371 * zserv.c (no_ip_route): Trim "unknown" argument.
1372
13732000-07-26 kunitake@dti.ad.jp
1374
1375 * if_ioctl.c (if_get_hwaddr): Fix hardware address length from 8
1376 to 6.
1377
1378 * rtadv.c (rtadv_send_packet): Fix shift bug for hardware address.
1379
13802000-07-24 Akihiro Mizutani <mizutani@dml.com>
1381
1382 * interface.c: Use install_default() for common VTY commands.
1383
13842000-07-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1385
1386 * if_ioctl.c (interface_list_ioctl): A interface list size is
1387 calculated from ifreq->if_addr.sa_len. This is for OpenBSD.
1388
1389 * ioctl.c (if_get_mtu): Remove codes for SIOCGIFDATA.
1390
13912000-07-09 Chris Dunlop <chris@onthe.net.au>
1392
1393 * if_ioctl.c (if_get_index): Add check for HAVE_BROKEN_ALIASES.
1394
13952000-07-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1396
1397 * zserv.c (zebra_client_read): Add ZEBRA_REDISTRIBUTE_{ADD,DELETE}
1398 message handling.
1399
14002000-07-02 David Lipovkov <davidl@nbase.co.il>
1401
1402 * zserv.c: "ip route A.B.C.D/M unknown" command is added.
1403
14042000-06-28 Michael Rozhavsky <mike@nbase.co.il>
1405
1406 * rib.c: Remove old kernel route when new route comes in.
1407
14082000-06-13 David Lipovkov <davidl@nbase.co.il>
1409
1410 * rib.c (rib_if_up): Add check for unknown interface.
1411
14122000-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1413
1414 * rib.h: Define INTERFACE_UNKNOWN.
1415
14162000-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1417
1418 * Makefile.am (EXTRA_DIST): Move irdp.c until implementation is
1419 finished.
1420
14212000-06-05 David Lipovkov <davidl@nbase.co.il>
1422
1423 * interface.c (if_zebra_delete_hook): Call rib_if_delete().
1424
1425 * redistribute.c (zebra_interface_delete_update): New function.
1426
1427 * redistribute.h (zebra_interface_delete_update): New function
1428 prototype.
1429
1430 * rib.c (rib_if_delete): New function. Walk down all routes and
1431 delete all on the interface.
1432
1433 * rib.h: New function prototype.
1434
1435 * rt_netlink.c (netlink_link_change): Call
1436 zebra_interface_delete_update ().
1437
14382000-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1439
1440 * if_ioctl.c (interface_info_ioctl): Check interface's flag before
1441 checking interface's address.
1442
14432000-04-26 Jochen Friedrich <jochen@nwe.de>
1444
1445 * GNOME-PRODUCT-ZEBRA-MIB: New file.
1446
1447 * GNOME-SMI: New file.
1448
14492000-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1450
1451 * irdp.c: New file from 1997 development code.
1452 * irdp.h: Likewise.
1453
14542000-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1455
1456 * rtadv.c (rtadv_send_packet): Enclose router advertisement
1457 logging with IS_ZEBRA_DEBUG_PACKET.
1458
14592000-04-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1460
1461 * zserv.c (zebra_client_close): Remove client structure from
1462 client_list when connection is terminated.
1463
14642000-03-21 David Lipovkov <davidl@nbase.co.il>
1465
1466 * connected.c (connected_add_ipv4): Allows all necessary structure
1467 updates for connected route, but doesn't insert it into rib if
1468 it's interface is down.
1469
14702000-01-21 Hideto Yamakawa <hideto.yamakawa@soliton.co.jp>
1471
1472 * rtread_getmsg.c: Set some definition for Solaris 2.5 and Solaris
1473 2.5.1.
1474
14752000-01-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1476
1477 * rib.c (no_ipv6_route_ifname): Fix buf of cheking return value
1478 from str2prefix_ipv6().
1479
14802000-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1481
1482 * rt_socket.c: Revert to use RTF_HOST for IPv4 with /32 route and
1483 IPv6 with /128 routes.
1484 (kernel_rtm_ipv4): In case of /32 route's gateway is interface. It
1485 should have mask for cloning.
1486
14871999-12-26 Jochen.Friedrich@genorz.de
1488
1489 * interface.c (if_dump_vty): Fix a bug of missing VTY_NEWLINE.
1490
14911999-12-23 Alex Zinin <zinin@amt.ru>
1492 * interface.*: dynamic int up/down support
1493
14941999-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1495
1496 * ipforward_proc.c (dropline): Move dropline() from lib/dropline.c
1497
1498 * rtread_proc.c (proc_route_read): Don't use dropline().
1499
15001999-12-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1501
1502 * kernel_socket.c (rtm_read): When message is RTM_GET, it has own
1503 process's pid.
1504
15051999-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1506
1507 * main.c (main): Change to default log output to ZLOG_STDOUT.
1508
1509 * zserv.c (zebra_serv): More detailed error print.
1510
15111999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1512
1513 * kernel_socket.c (rtm_read): Check old pid for static route
1514 insertion check.
1515
15161999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1517
1518 * interface.c (if_dump_vty): BSDI/OS uses 64bit for interface
1519 statistics counter.
1520
1521 * mtu_kvm.c: New file added.
1522
15231999-11-27 Vladimir B. Grebenschikov <vova@express.ru>
1524
1525 * kernel_socket.c (rtm_write): Set RTF_CLONING flag for
1526 route to the directly connected interface.
1527
15281999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1529
1530 * rt_socket.c: Delete USE_HOST_BIT definition.
1531
15321999-11-21 Michael Handler <handler@sub-rosa.com>
1533
1534 * rtread_getmsg.c: Undef some definition to resolve conflict.
1535
15361999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1537
1538 * kernel_socket.c (rtm_write): Change to use pre stored struct_dl
1539 value for gateway specification.
1540
15411999-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1542
1543 * rt_socket.c (kernel_rtm_ipv4): Even mask is 32 under IPv4 or
1544 128 under IPv6, don't use RTF_HOST.
1545
15461999-11-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1547
1548 * Makefile.am (EXTRA_DIST): Add rtread_getmsg.c.
1549
15501999-11-21 Michael Handler <handler@sub-rosa.com>
1551
1552 * rtread_getmsg.c: Added for Solaris 2.6 support.
1553
15541999-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1555
1556 * rtread_sysctl.c (rtm_read_route): RTM_DELETE handling added.
1557
1558 * rt_socket.c (kernel_read): Better BSD routing socket support.
1559
15601999-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1561
1562 * client_main.c: Disable making obsolete zebra test `client'
1563 command.
1564
15651999-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1566
1567 * zebra.c: Renamed to zserv.c.
1568
1569 * zebra.h: Global definitions are moved to lib/zebra.h. Then
1570 renamed to zserv.h.
1571
15721999-10-15 Jordan Mendelson <jordy@wserv.com>
1573
1574 * if_ioctl.c: Add Linux 2.2.X's alias support and dynamic
1575 interface. Remove ugly MAX_INTERFACE handling codes.
1576
15771999-09-17 Satosi KOBAYASI <kobayasi@north.ad.jp>
1578
1579 * Fix serious bug of IPv6 route deletion.
1580
15811999-09-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1582
1583 * ioctl.c (if_set_prefix): Properly set broadcast address.
1584
15851999-09-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1586
1587 * rib.c (rib_add_ipv6, rib_delete_ipv6): now protocol daemons
1588 can install connected route to kernel via zebra
1589
15901999-08-24 VOP <vop@unity.net>
1591
1592 * rib.c: Include "sockunion.h"
1593
15941999-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
1595
1596 * ipforward.h: New file.
1597
1598 * zebra.h: Obsolete message ZEBRA_GET_ALL_INTERFACE,
1599 ZEBRA_GET_ONE_INTERFACE, ZEBRA_GET_HOSTINFO are deleted.
1600
16011999-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1602
1603 * zebra.h (ZEBRA_INTERFACE_ADDRESS_ADD):
1604 ZEBRA_INTERFACE_{ADD,DELETE} added.
1605
16061999-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1607
1608 * rib.c: show ip route A.B.C.D works.
1609
1610 * zebra.c (zebra_read_ipv4): Add ifindex to zebra messages.
1611
16121999-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1613
1614 * zebra.h: New Zebra message ZEBRA_INTERFACE_{ADD,DELETE} added.
1615
16161999-08-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1617
1618 * interface.h: New file.
1619 * Makefile.am: Add interface.h
1620
16211999-08-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1622
1623 * redistribute.c (zebra_redistribute): give ifindex to client.
1624
16251999-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1626
1627 * main.c (longopts): -k, --keep_kernel option added.
1628
16291999-07-18 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1630
1631 * rt_socket.c (rtm_write): forgot closing socket bug fixed.
1632
16331999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1634
1635 * rib.c (show_ipv6_cmd): if rib is link show interface name.
1636
16371999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1638
1639 * rt_socket.c (rtm_write): use sockaddr_dl when null gateway.
1640
16411999-07-16 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1642
1643 * rt_socket.c (rtm_write): ipv6 route table bug fixed.
1644
16451999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1646
1647 * zebra.c (zebra_read_ipv6): read link prefix from ospf6 support
1648
16491999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1650
1651 * rt_socket.c (kernel_rtm_ipv6): gate treatment bug fixed.
1652
16531999-07-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1654
1655 * if_sysctl.c (ifm_read): Clear sockunion argument before fetching
1656 data. Suggested by "Chris P. Ross" <cross@eng.us.uu.net>
1657
16581999-07-08 HEO SeonMeyong <seirios@Matrix.IRI.Co.Jp>
1659
1660 * interface.c (if_tun_add): Add KAME's gif tunnel setting codes.
1661
16621999-06-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1663
1664 * zebra.c (zebra_serv): Only accept loopback address connection.
1665
16661999-06-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1667
1668 * zebra.h (ZEBRA_ROUTE_EXTERNAL): Add zebra messages flags
1669
16701999-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1671
1672 * ipforward_proc.c: ipforward_on () and ipforward_off () added.
1673
16741999-06-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1675
1676 * ipforward_proc.c (ipforward_ipv6): Check for IPv6 forwarding
1677 using /proc file system is added.
1678
16791999-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1680
1681 * if_ioctl.c (if_get_index): Interface index set bug is fixed by
1682 adding #else at the middle of function. Suggested by David Luyer
1683 <luyer@ucs.uwa.edu.au>.
1684
16851999-05-29 <kunihiro@zebra.org>
1686
1687 * rt_ioctl.c: Comment out #include <linux/ipv6_route.h>.
1688
16891999-05-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1690
1691 * zebra.h (ZEBRA_ROUTE_MAX): Add new define for the max value of
1692 the sort of routes.
1693
16941999-05-25 Patrick Koppen <koppen@rhrk.uni-kl.de>
1695
1696 * rt_netlink.c (netlink_socket): Make netlink socket non-blocking.
1697 (netlink_parse_info): If errno is EWOULDBLOCK then continue to
1698 parse the message.
1699 (netlink_talk): Likewise
1700
17011999-05-17 <kunihiro@zebra.org>
1702
1703 * redistribute.c (zebra_check_addr): Added for loopback address
1704 check.
1705
17061999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1707
1708 * rt_netlink.c (netlink_route_change): Tempolary bypass ipv6 route
1709 change treatment.
1710
1711 * Makefile.am (noinst_HEADERS): redistribute.h added.
1712
1713 * redistribute.h: New file.
1714
17151999-05-14 Stephen R. van den Berg <srb@cuci.nl>
1716
1717 * zebra.c (show_table): Show all table configuration DEFUN.
1718 (config_table): Config table number DEFUN.
1719
1720 * rt_netlink.c: Add support for multiple routing table.
1721
1722 * rib.c (rib_weed_table): New function added for delete all
1723 routes from specified routing table.
1724
1725 * main.c (signal_init): SIGTERM call sigint.
1726 (sigint): Loggging more better message.
1727
17281999-05-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1729
1730 * rt_netlink.c: Change log () to zlog ().
1731
17321999-05-07 <kunihiro@zebra.org>
1733
1734 * zebra.h (ZEBRA_ROUTE_OSPF6): Added for ospf6d route.
1735
17361999-04-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1737
1738 * interface.c: Add `no ip address' command.
1739
17401999-04-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1741
1742 * rt_netlink.c (kernel_read): Function added for asynchronous
1743 zebra between kernel communication.
1744
17451999-03-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1746
1747 * rtread_sysctl.c (rtm_read): Fix address memcopy overrun bug.
1748 Reported by Achim Patzner <ap@bnc.net>.
1749
17501999-03-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1751
1752 * Makefile.am: Install configuration sample with 600 permission.
1753
17541999-03-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1755
1756 * Makefile.am: Add -I.. to INCLUDES.
1757
17581999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
1759
1760 * syslog support added
1761
17621999-02-17 Peter Galbavy <Peter.Galbavy@knowledge.com>
1763
1764 * if_sysctl.c (interface_list): allocated memory free when unknown
1765 ifm_type is returned.
1766
1767 * ioctl.c (if_get_mtu): added SIOCGIFDATA treatment.
1768
17691998-12-15 Magnus Ahltorp <map@stacken.kth.se>
1770
1771 * interface.c: Header include added.
1772
17731998-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1774
1775 * rt.h (kernel_delete_ipv6): change int index to unsigned int index.
1776
17771998-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1778
1779 * if_ioctl.c (interface_list_ioctl): interface flag must be
1780 checked before check addresses of the interface.
1781
17821998-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1783
1784 * Makefile.am (INCLUDES): add @INCLUDES@ for Linux IPv6.
1785
17861998-10-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1787
1788 * ioctl.c: Linux version before 2.1.0 need interface route setup.
1789
17901998-09-15 HEO SeonMeyong <seirios@matrix.iri.co.jp>
1791
1792 * change HYDRANGEA to KAME
1793
17941998-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1795
1796 * if_ioctl.c (if_addr_ioctl): set address family for getting
1797 interface's address.
1798 (if_get_index): silently return when can't get interface's index.
1799
18001998-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1801
1802 * main.c (main): batch mode option '-b' added.
1803
18041998-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1805
1806 * ioctl.c (if_set_prefix): add `ip address IPV4ADDR' command.
1807 * interface.c (shutdown_if): add interface shutdown and no
1808 shutdown command.
1809
18101998-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1811
1812 * rib.c (rib_add_ipv6): delete rib_add_in6.
1813
18141998-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1815
1816 * main.c: retain flag is added.
1817
18181998-07-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1819
1820 * rtable.[ch]: merged with rib.[ch]
1821
18221998-07-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1823
1824 * connected.h: renamed from ifa.h.
1825
18261998-06-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1827
1828 * rename if.c to interface.c
1829 * rename ifa.c to connected.c
1830
1831 * Porting to Debian GNU/Linux 2.0 (hamm).
1832
18331998-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1834
1835 * rt_netlink.c: renamed from krt_netlink.c
1836
1837 * fib.c: deleted.
1838 * rt_kvm.c: deleted.
1839 * rtread_getmsg.c: deleted.
1840
18411998-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1842
1843 * if.c (multicast): add multicast flag [un]set fucntion.
1844
18451998-05-19 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1846
1847 * rt_socket.c: Modify for compile on Solaris, but dont't work it.
1848 rt_socket.c have some undefined function, so add directive "IMPLEMENT"
1849
18501998-05-18 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1851
1852 * zebra.c: Modify for compile on Solaris.
1853
18541998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1855
1856 * main.c: change CONFDIR to SYSCONFDIR.
1857
18581998-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1859
1860 * .cvsignore: added.
1861
18621998-04-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1863
1864 * client.c: moves to ../lib.
1865
18661998-03-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1867
1868 * if_ioctl.c (if_get_addr): Change address copy from memcopy() to
1869 structure assignment.
1870
18711998-03-30 URA Hiroshi <ura@yamato.ibm.co.jp>
1872
1873 * if_sysctl.c (ifm_interface_add): sdl->sdl_data copy bug fixed.
1874
18751998-02-23 "Hannes R. Boehm" <hannes@boehm.org>
1876
1877 * if.c (if_init): add config_exit_cmd and config_help_cmd.
1878
18791998-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
1880
1881 * rt_ioctl.c (route_ioctl): EPERM treatment added.
1882
18831998-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1884
1885 * rt_socket.c (kernel_read): communication port zebra between
1886 kernel is now handled by kernel_read.
1887
18881998-01-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1889
1890 * main.c (main): zebra [-P port] can specify vty port number.
1891
18921997-12-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1893
1894 * zebra.c: change select will be block.
1895
18961997-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1897
1898 * add static route treatment.
1899
19001997-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1901
1902 * rt_netlink.c: add netlink support over GNU/Linux system.
1903
19041997-11-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1905
1906 * all inet_addr is changed to inet_aton.
1907
1908 * zebra.c (ip_route): add ip route command for static routes.
1909
19101997-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1911
1912 * if.c (if_flag_dump): Linux port of if_flag_dump and _vty.
1913
19141997-11-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1915
1916 * if.c: add interface command.
1917
19181997-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1919
1920 * ipforward_proc.c : Now works on Linux.
1921
19221997-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1923
1924 * command.c : add completion feature.
1925
19261997-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1927
1928 * vty.c (vty_command): add vty interface.
1929
19301997-10-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1931
1932 * zebra.c: add verbose mode.
1933
19341997-10-12 SonMyong Ho <s-ho@Matrix.IRI.Co.Jp>
1935
1936 * Hydrangea for FreeBSD supported
1937 * in.h: add some prototype.
1938
19391997-10-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1940
1941 * rt_socket.c and rtread.c completely rewritten.
1942
19431997-10-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1944
1945 * rt_socket.c: rename kernel_sock to routing_socket
1946
19471997-10-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1948
1949 * if.c (if_new): interface structure change from linklist to vector.
1950
19511997-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1952
1953 * vector.c (vector_init): create vector related function
1954
19551997-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1956
1957 * Makefile.in: add tags target
1958
1959 * start IPv6 support for INRIA FreeBSD.
1960