blob: 9f4bd183c764e27061d3729a378a004857019024 [file] [log] [blame]
ajsc05612b2005-10-01 16:36:54 +000012005-10-01 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
2
3 * rt_netlink.c: (netlink_request) Use memset to clear structure
4 before calling sendto (eliminates a valgrind error message about
5 uninitialized data).
vincentaa2e32b2005-09-28 13:42:11 +00006
72005-09-28 Alain Ritoux <alain.ritoux@6wind.com>
8
vincentfbf5d032005-09-29 11:25:50 +00009 * zserv.c: Always provied distance for route add
10
112005-09-28 Alain Ritoux <alain.ritoux@6wind.com>
12
vincentaa2e32b2005-09-28 13:42:11 +000013 * connected.c: flag connected_up_ipv6() and connected_down_ipv6()
14 usage with HAVE_IPV6
15
hassod24af182005-09-24 14:00:26 +0000162005-09-24 Hasso Tepper <hasso at quagga.net>
17
18 * rib.h: Add note about behaviour of rib_add_ipv[46]* functions -
19 add is treated as implicit withdraw.
20
hassoebf1ead2005-09-21 14:58:20 +0000212005-09-21 David Young <dyoung@ojctech.com>
22
23 * zebra_rib.c: Reduce the height of some staircases. Fix
24 rib_delete_ipv6() to match routes in the RIB by their gateway as
25 well as by destination.
26
paul319572c2005-09-21 12:30:08 +0000272005-09-21 Paul Jakma <paul.jakma@sun.com>
28
29 * zebra_rib.c: (static_uninstall_ipv{4,6}) Fix regression wrt
30 removal of static routes with multiple-hops introduced with
31 the workqueue conversion. We should free the relevant
32 nexthop and then get rib_process to run, otherwise we just
33 get same static route back again (with no way to unconfigure
34 it, because its already deleted from configuration).
35
paulca162182005-09-12 16:58:52 +0000362005-09-12 Paul Jakma <paul.jakma@sun.com>
37
38 * (general) RTM_CHANGE and implicit withdraw on RTM_NEWADDR
39 support.
40 * connected.c: (connected_withdraw) new function. withdraw a
41 connected subnet address set from zebra, and pass information
42 along to clients.
43 (connected_announce) similar, but to announce a new connected
44 subnet address set.
45 (connected_check_ipv4) renamed to connected_check, as its
46 AFI independent.
47 (connected_add_ipv{4,6}) Remove the connected address announce
48 stuff, use connected_announce instead.
49 If connected_check indicates address is already present,
50 treat it as an implicit withdraw of the existing address, ie
51 remove the old address details and replace with the new
52 details.
53 (connected_delete_ipv{4,6}) Use connected_withdraw.
54 (connected_check_ipv6) deleted in favour of connected_check.
55 * connected.h: Rename connected_check_ipv4 to connected_check.
56 delete connected_check_ipv6.
57 * interface.c: Use connected_check rather than the AFI specific
58 symbols.
59 * kernel_socket.c: (rtm_read) RTM_CHANGE support. Create a
60 rib delete event for the existing route, before adding route
61 again.
62 (kernel_read) we can handle RTM_CHANGE now.
63
hassobe61c4e2005-08-27 06:05:47 +0000642005-08-27 Hasso Tepper <hasso at quagga.net>
65
66 * zebra_rib.c, rib.h: Add distance and metric arguments to the
67 rib_add_ipv6() function so that IPv6 routes in RIB can have correct
68 metric. No IPv6 routing daemon uses distance yet though.
69 * zserv.c, connected.c, kernel_socket.c, rt_netlink.c,
70 rtread_proc.c,zserv.c: Pass metric and distance info to the
71 rib_add_ipv6().
72
paul6eb88272005-07-29 14:36:00 +0000732005-07-29 Paul Jakma <paul.jakma@sun.com>
74
75 * interface.c: (if_delete_update) should always be available, not
76 just on RTM_IFANNOUNCE/NETLINK systems.
77 * kernel_socket.c: (ifan_read) only call if_delete_update when
78 interface departs, dont if_delete, because we wish to retain
79 interface configuration state even when interfaces are removed.
80 (ifm_read) If we dont have RTM_IFANNOUNCE, then transitioning
81 to down state is only chance we have to clean up interface in case
82 it is deleted (eg Solaris down -> unplumb -> plumb up).
83 * redistribute.c: (zebra_interface_delete_update) should always be
84 available, we /will/ call it now on all systems, via
85 if_delete_update.
86 * zserv.c: (zsend_interface_delete) ditto
87 (zsend_interface_address) Update the call-flow diagramme, to
88 reflect that if_delete_update /is/ now called on all systems,
89 potentially.
90 * zserv.h: (zsend_interface_delete) unconditionally exported, as
91 above.
92
paula1ac18c2005-06-28 17:17:12 +0000932005-06-28 Paul Jakma <paul.jakma@sun.com>
94
95 * (global) Extern and static'ification, with related fixups
96 of declarations, ensuring files include their own headers, etc.
paulea6f82b2005-06-28 17:20:26 +000097 * if_ioctl.c: (interface_info_ioctl) fix obvious arg mis-order in
paula1ac18c2005-06-28 17:17:12 +000098 list loop
paulea6f82b2005-06-28 17:20:26 +000099 * kernel_socket.c: (RTA_{ADDR,ATTR}_GET) fix mistake, NULL check
100 should be on DEST argument
paula1ac18c2005-06-28 17:17:12 +0000101
paul62debbb2005-06-14 14:07:07 +00001022005-06-14 Paul Jakma <paul.jakma@sun.com>
103
104 * kernel_socket.c: consolidate the IFAM{ADDR,MASK}GET and
105 RTM{ADDR,MASK}GET macros into generic rta_addrs macros,
106 RTA_{ADDR,ATTR}_GET.
107 (af_check) could use 'inline' attribute
108 (ifam_read_mesg) remove IFAM{ADDR,MASK}GET macro, change to
109 generic macro.
110 (rtm_read_mesg) similar
111
hasso1ada8192005-06-12 11:28:18 +00001122005-06-12 Hasso Tepper <hasso at quagga.net>
113
114 * rt_netlink.c: Remove netlink-addr socket declaration, it's not used.
115 * rt_netlink.c (netlink_parse_info): Fix debug messages - nlmsg_pid is
116 unsigned and one zlog call had swapped arguments.
117 * rt_netlink.c (netlink_route_multipath): Fix compile with disabled
118 IPv6 support.
119
paul1dcb5172005-05-31 08:38:50 +00001202005-05-31 Paul Jakma <paul.jakma@sun.com>
121
122 * zserv.c: (zsend_route_multipath) Fix bug if route is sent
123 with no NEXTHOP_FLAG_FIB nexthops. As ZAPI_MESSAGE_IFINDEX
124 and ZAPI_MESSAGE_NEXTHOP are always set, clients would try
125 read non-existent nexthop information and hit stream assert.
126 Zserv is still broken for multi-nexthop messages, but it always was.
127
paul69e10ad2005-05-06 21:27:33 +00001282005-05-06 Paul Jakma <paul.jakma@sun.com>
129
130 * zserv.h: Remove ZEBRA_PORT definition, its in lib/zebra.h now
131
paul4d38fdb2005-04-28 17:35:14 +00001322005-04-28 Paul Jakma <paul.jakma@sun.com>
133
134 * rib.h: (struct rib) Add lock field for refcounting.
135 * zserv.h: (struct zebra_t) Add a ribq workqueue to the zebra
136 'master' struct.
137 * zserv.c: (zread_ipv4_add) XMALLOC then memset should be XCALLOC.
138 * zebra_rib.c: Clean up refcounting of route_node, make struct rib
139 refcounted and convert rib_process to work-queue. In general,
140 rib's should be rib_addnode'd and delnode'd to route_nodes, and
141 these symmetrical functions will manage the locking of referenced
142 route_node and freeing of struct rib - rather than having users
143 manage each seperately - with much scope for bugs..
144 (newrib_free) removed and replaced with rib_lock
145 (rib_lock) new function, check state of lock and increment.
146 (rib_unlock) new function, check lock state and decrement. Free
147 struct rib if refcount hits 0, freeing struct nexthop's, as
148 newrib_free did.
149 (rib_addnode) Add RIB to route_node, locking both.
150 (rib_delnode) Delete RIB from route_node, unlocking each.
151 (rib_process) Converted to a work-queue work function.
152 Functional changes are minimal, just arguments, comments and
153 whitespace.
154 (rib_queue_add_qnode) Helper function to setup a ribq item.
155 (rib_queue_add) Helper function, same arguments as old
156 rib_process, to replace in callers of rib_process.
157 (rib_queue_qnode_del) ribq deconstructor.
158 (rib_queue_init) Create the ribq.
159 (rib_init) call rib_queue_init.
160 (remainder) Sanitise refcounting of route_node's. Convert to
161 rib_queue_add, rib_addnode and rib_delnode. Change XMALLOC/memset
162 to XCALLOC. Remove calls to nexthop_delete and nexthop_free.
163
paulcf460ef2005-04-10 16:54:26 +00001642005-04-10 Paul Jakma <paul@dishone.st>
165
166 * if_ioctl_solaris.c: (if_lookup_linklocal) fix order of args
167 in ALL_LIST_ELEMENTS_RO macro.
168
ajs57a14772005-04-10 15:01:56 +00001692005-04-10 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
170
171 * zserv.c (zebra_client_read): Fix bug: first read attempt should
172 read ZEBRA_HEADER_SIZE minus the number of bytes already read.
173 Improve efficiency by maintaining a calculation of the number
174 of bytes read instead of calling stream_get_endp multiple times.
175 If message length is too small, issue a warning message (not debug)
176 before closing the connection. And also check that message length
177 is not too big.
178
hasso206d8052005-04-09 16:38:51 +00001792005-04-09 Hasso Tepper <hasso at quagga.net>
180
hassofa599802005-04-09 16:59:28 +0000181 * rt_netlink.c: One tiny missing comma caused pointless debug messages
182 about IPv6 nexthops.
183
1842005-04-09 Hasso Tepper <hasso at quagga.net>
185
hasso206d8052005-04-09 16:38:51 +0000186 * rt_netlink.c (netlink_parse_info): Fix warning. It's safe to cast
187 status to unsigned here, because we already checked that it isn't
188 negative or 0.
189 * rt_netlink.c (netlink_interface_addr): Prefix length belongs to the
190 address, not to the interface.
191 * rt_netlink.c (netlink_route_multipath): Fix debug. No useless info
192 is printed out now and IPv6 info is handeled.
193
paul3d1dc852005-04-05 00:45:23 +00001942005-04-05 Paul Jakma <paul@dishone.st>
195
196 * zserv.c: print more helpful errors when we fail to successfully
197 bind and listen on zserv socket. Closes bugzilla #163.
198
ajsd2fc8892005-04-02 18:38:43 +00001992005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
200
ajs08dbfb62005-04-03 03:40:52 +0000201 * if_ioctl.c: (interface_list_ioctl) Use if_get_by_name_len.
202 * if_proc.c: (ifaddr_proc_ipv6) Increase size of ifname buffer to
203 avoid overflow.
204 * kernel_socket.c: (ifan_read) Use if_get_by_name_len.
205
2062005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
207
ajsa3491982005-04-02 22:50:38 +0000208 * kernel_socket.c: (ifm_read) Use new if_lookup_by_name_len function
209 to save a memcpy.
210 * if_ioctl_solaris.c: (interface_list_ioctl) Fix subtle bug with new
211 if_get_by_name_len function.
212
2132005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
214
ajsd2fc8892005-04-02 18:38:43 +0000215 * interface.c: (if_new_intern_ifindex) Remove obsolete function.
216 (if_delete_update) After distributing the interface deletion message,
217 set ifp->ifindex to IFINDEX_INTERNAL.
218 (if_dump_vty) Detect pseudo interface by checking if ifp->ifindex is
219 IFINDEX_INTERNAL.
220 (zebra_interface) Check return code from interface_cmd.func.
221 Do not set internal ifindex values to if_new_intern_ifindex(),
222 since we now use IFINDEX_INTERNAL for all pseudo interfaces.
223 * kernel_socket.c: (ifm_read) Fix code and comments to reflect that
224 all internal interfaces now have ifp->ifindex set to IFINDEX_INTERNAL.
225 * rt_netlink.c: (set_ifindex) New function used to update ifp->ifindex.
226 Detects interface rename events by checking if that ifindex is already
227 being used. If it is, delete the old interface before assigning
228 the ifindex to the new interface.
229 (netlink_interface, netlink_link_change) Call set_ifindex to update
230 the ifindex.
231
hassob7ed1ec2005-03-31 20:13:49 +00002322005-03-31 Hasso Tepper <hasso at quagga.net>
233
234 * rt_netlink.c (netlink_talk_filter): Show always warning message,
235 it's not for debug.
236 * rt_netlink.c (netlink_talk): Don't assume we use netlink_cmd
237 although we do now actually.
238 * rt_netlink.c (netlink_route, netlink_route_multipath): Always use
239 netlink_cmd to send messages to the kernel.
240
ajs2da40f42005-03-30 16:33:13 +00002412005-03-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
242
243 * irdp.h: Add prototype for irdp_sock_init, and fix protos for
244 other irdp_* functions.
245 * irdp_interface.c: (irdp_if_start) If irdp_sock is negative,
246 call irdp_sock_init to create the IRDP socket.
247 (irdp_if_init) Rename to irdp_init().
248 (get_iflist_ifp) Remove function that is a duplicate of
249 if_lookup_by_index.
250 (*) Make many functions static. And remove superfluous "\n" from
251 several zlog messages.
252 * irdp_main.c: (irdp_init) Remove function that used to call
253 irdp_if_init() and irdp_sock_init(), since we will now create
254 the socket only upon first use.
255 (irdp_sock_init) Do not update global irdp_sock variable, just
256 return the fd and assume that the caller will do so. If setsockopt
257 calls fail, close the socket before returning -1.
258 (*) Make many functions static.
259 * irdp_packet.c: Initialize irdp_sock to -1.
260 (irdp_read_raw) Call standard library function if_lookup_by_index
261 instead of get_iflist_ifp.
262 (irdp_recvmsg) Should be static, not global.
263
ajsa608bbf2005-03-29 17:03:49 +00002642005-03-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
265
266 * rt_netlink.c: (netlink_link_change) If the status of an
267 operative interface changes (e.g. MTU changes), the client
268 daemons should be notified by calling zebra_interface_up_update.
269 Previously, the information was being updated in zebra's
270 interface structure, but the clients were not notified of
271 changes to an operative interface.
272
vincent7cee1bb2005-03-25 13:08:53 +00002732005-03-25 Jean-Mickael Guerin <jean-mickael.guerin@6wind.com>
274 * interface.c, interface.h, rtadv.c, rtadv.h: modifications to
275 IPv6 Neighbor Discovery according to RFC3775, section 7:
276 o 1-bit Home Agent flag management in Router Advertisement (7.1).
277 o 1-bit Router Address flag management in Prefix Information
278 Option (7.2).
279 o Advertisement Interval Option (7.3)
280 o Home Agent Information Option (7.4)
281 o Changes to Sending Router Advertisements more frequently (7.5)
282
hassoed9bb6d2005-03-13 19:17:21 +00002832005-03-13 Hasso Tepper <hasso at quagga.net>
284
285 * zebra/interaface.c: "show interface description" command
286 implemented.
287
paulc1f01f32005-03-12 06:33:14 +00002882005-03-12 Paul Jakma <paul@dishone.st>
289
290 * rt_netlink.c: (netlink_route_multipath) dont set equalise flag.
291 No stock Linux kernel has ever supported it, and even if it had
292 it's not generally a good idea.
293
hasso42a66d72005-03-07 08:19:44 +00002942005-03-07 Michael Sandee <voidptr@voidptr.sboost.org>
295
296 * if_proc.c, ipforward_proc.c, rtread_proc.c: Fix fd leaks.
297
hasso3452d472005-03-06 13:42:05 +00002982005-03-06 Hasso Tepper <hasso at quagga.net>
299
300 * interface.c: Fix CRC and frame errors statistics in Linux.
301
ajs719e9742005-02-28 20:52:15 +00003022005-02-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
303
304 * zserv.c: Must include network.h and buffer.h for non-blocking I/O.
305 Remove global message_queue and t_write (need separate buffering for
306 each client).
307 (zebra_server_dequeue,zebra_server_enqueue) Remove functions
308 related to old buggy buffering code.
309 (zserv_delayed_close) New thread callback function to delete a client.
310 (zserv_flush_data) New thread callback function to flush buffered
311 data to client.
312 (zebra_server_send_message) Rewritten to use buffer_write (so
313 buffering of writes and non-blocking I/O work properly).
314 (zsend_interface_add,zsend_interface_delete,zsend_interface_address,
315 zsend_interface_update) Return 0 instead of -1 if !client->ifinfo
316 (this is not really an error). Return value from
317 zebra_server_send_message.
318 (zsend_route_multipath,zsend_ipv4_nexthop_lookup,
319 zsend_ipv4_import_lookup) Return value from zebra_server_send_message.
320 (zsend_ipv6_nexthop_lookup) Fix scope to static, and return value
321 from zebra_server_send_message.
322 (zsend_router_id_update) Must use zebra_server_send_message instead
323 of deprecated writen function. Return 0 instead of -1 if this client
324 is not subscribed to router-id updates (since this is not really
325 an error).
326 (zread_interface_add) Change type to static int. If
327 zsend_interface_add fails or zsend_interface_address fails, return -1
328 immediately (since the client has had an I/O error).
329 (zread_interface_delete,zread_ipv4_add,zread_ipv4_delete,
330 zread_ipv6_add,zread_ipv6_delete,zread_router_id_delete) Return 0
331 to indicate success.
332 (zread_ipv4_nexthop_lookup) Return value from
333 zsend_ipv4_nexthop_lookup.
334 (zread_ipv4_import_lookup) Return value from zsend_ipv4_import_lookup.
335 (zebra_read_ipv6) Remove unused function.
336 (zread_ipv6_nexthop_lookup) Return value from
337 zsend_ipv6_nexthop_lookup.
338 (zread_router_id_add) Return value from zsend_router_id_update.
339 (zebra_client_close) Call buffer_free(client->wb) and
340 thread_cancel(client->t_suicide).
341 (zebra_client_create) Allocate client->wb using buffer_new.
342 (zebra_client_read) Support non-blocking I/O by using stream_read_try.
343 Use ZEBRA_HEADER_SIZE instead of 3.
344 (zebra_accept) Fix bug: reset accept thread at top. Make client
345 socket non-blocking using the set_nonblocking function.
346 (config_write_forwarding) Fix scope to static.
347 (zebra_init) Remove initialization code for old buggy write buffering.
348 * zserv.h: Add 2 new fields to struct zserv: struct buffer *wb
349 (to enable buffered writes with non-blocking I/), and
350 struct thread *t_suicide to support delayed close on I/O
351 errors.
352 * router-id.h: Remove prototypes for zread_router_id_add and
353 zread_router_id_delete (their scope should be static to zserv.c).
354
ajs27da3982005-02-24 16:06:33 +00003552005-02-24 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
356
357 * redistribute.c: (zebra_check_addr,is_default,
358 zebra_redistribute_default,zebra_redistribute) Fix scope to be static.
359
hassoe8274dc2005-02-20 19:09:23 +00003602005-02-20 Hasso Tepper <hasso at quagga.net>
361
362 * rt_netlink.c: Don't show messages "ignoring message type 0x001[89]"
363 if we are not debugging.
364
paule31f2292005-02-19 02:00:26 +00003652005-02-19 Paul Jakma <paul@dishone.st>
366
367 * zserv.c: (zebra_read_ipv6) replace the char * arithmetic with
368 STREAM_READABLE.
369
paul1e193152005-02-14 23:53:05 +00003702005-02-14 Paul Jakma <paul@dishone.st>
371
372 * Not all Linux netlink systems have IFLA_WIRELESS
373
ajs6a52d0d2005-01-30 18:49:28 +00003742005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
375
376 * ioctl.c: (if_ioctl,if_ioctl_ipv6,if_get_flags) Replace perror with
377 zlog_err.
378 * ioctl_solaris.c: (if_ioctl,if_ioctl_ipv6) Replace perror with
379 zlog_err.
380
ajs4be019d2005-01-29 16:12:41 +00003812005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
382
ajs4460e7a2005-01-29 17:07:40 +0000383 * if_ioctl_solaris.c: (interface_list_ioctl) Save errno before calling
384 zserv_privs.change.
385 * ioctl{,_solaris}.c: (if_ioctl,if_ioctl_ipv6) Save errno before calling
386 zserv_privs.change.
387 * ipforward_solaris.c: (solaris_nd) Save errno before calling
388 zserv_privs.change.
389 * irdp_main.c: (irdp_sock_init) Save errno before calling
390 zserv_privs.change.
391
3922005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
393
ajs4be019d2005-01-29 16:12:41 +0000394 * rt_netlink.c: (netlink_socket,netlink_request,netlink_parse_info,
395 netlink_talk) Save errno before calling zserv_privs.change.
396
paulc15cb242005-01-24 09:05:27 +00003972005-01-24 Martin Pot <mpot at martybugs.net>
398
399 * zebra/rt_netlink.c: ignore wireless newlink netlink messages.
400
hasso6f2c27a2005-01-18 13:44:35 +00004012005-01-18 Hasso Tepper <hasso at quagga.net>
402
403 * interface.c: Better statistics output in "show interface" command in
404 case of /proc being used.
405
hasso583d8002005-01-16 23:34:02 +00004062005-01-17 Hasso Tepper <hasso at quagga.net>
407
408 * main.c: With --nl-bufsize argument is required.
409
paul865b8522005-01-05 08:30:35 +00004102005-01-05 Paul Jakma <paul@dishone.st>
411
412 * zserv.c: (zebra_accept) Comment out setting of socket to NONBLOCK
413 for now, as we dont actually deal with with resending.... See
414 bugzilla #122, fix from wawa@yandex-team.ru (Vladimir Ivanov).
415 * kernel_socket.c: (routing_socket) ditto.
416
ajsb99760a2005-01-04 16:24:43 +00004172005-01-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
418
419 * rtadv.c: (rtadv_recv_packet,rtadv_send_packet) Use ZCMSG_FIRSTHDR
420 instead of CMSG_FIRSTHDR.
421
ajs341a8f12004-12-22 16:32:16 +00004222004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
423
424 * connected.c: (connected_add_ipv4) Limit warning about /32 addresses
425 with no peer specified to PtP interfaces only.
426
hassob8adec12004-12-18 16:03:28 +00004272004-12-18 Hasso Tepper <hasso at quagga.net>
428
429 * zebra_vty.c: Fix "show ipv6 route <proto>" command help and make it
430 work for isis routes.
431
gdt6a250b02004-12-09 14:48:12 +00004322004-12-09 Greg Troxel <gdt@fnord.ir.bbn.com>
433
434 * kernel_socket.c (rtmsg_debug): char * => const char *
435
ajs274a4a42004-12-07 15:39:31 +00004362004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
437
ajsb6178002004-12-07 21:12:56 +0000438 * *.c: Change level of debug messages to LOG_DEBUG.
439
4402004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
441
ajs274a4a42004-12-07 15:39:31 +0000442 * main.c: (main) The 2nd argument to openzlog has been removed.
443 So stdout logging will no longer be enabled by default.
444 * irdp_main.c: (irdp_finish) Reduce severity of shutdown message
445 from LOG_WARNING to LOG_INFO.
446
ajs887c44a2004-12-03 16:36:46 +00004472004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
448
449 * main.c: (sigint) Use zlog_notice for termination message.
450 (main) Add a startup announcement using zlog_notice.
451
hassoaccb1562004-11-25 19:21:07 +00004522004-11-25 Hasso Tepper <hasso at quagga.net>
453
454 * irdp_interface.c: Remove comment from DEFUN, it breaks vtysh because
455 it confuses extract.pl.
hassoc0652302004-11-25 19:33:48 +0000456 * main.c: Make group to run as configurable.
hassoaccb1562004-11-25 19:21:07 +0000457
hasso6bd7c6a2004-10-28 17:32:27 +00004582004-10-28 Hasso Tepper <hasso at quagga.net>
459
460 * interface.c: Remove dead "ip tunnel" command.
461
paul06f953f2004-10-22 17:00:38 +00004622004-10-22 Paul Jakma <paul@dishone.st>
463
464 * irdp_main.c: change setsockopt_pktinfo to setsockopt_ifindex
465
hasso3fb9cd62004-10-19 19:44:43 +00004662004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
467
468 * rt_netlink.c: (netlink_interface_addr) For PtP interfaces, ignore
469 tb[IFA_ADDRESS] if it's the same as tb[IFA_LOCAL].
470 * interface.c: (ip_address_install) Use new ipv4_broadcast_addr
471 function.
472 * connected.c: (connected_up_ipv4) Use CONNECTED_POINTOPOINT_HOST
473 macro.
474 (connected_down_ipv4) ditto.
475 (connected_add_ipv4) Validate destination address, print warnings
476 if it does not make sense.
477
hassoc1eaa442004-10-19 06:26:01 +00004782004-10-19 Hasso Tepper <hasso at quagga.net>
479
480 * zserv.c: Fix regression introduced with zserv cleanup.
481
hassoc75105a2004-10-13 10:33:26 +00004822004-10-13 Hasso Tepper <hasso at quagga.net>
483
484 * zebra_snmp.c: Remove defaults used to initialize smux connection to
485 snmpd. Connection is initialized only if smux peer is configured.
hassob71f00f2004-10-13 12:20:35 +0000486 * zserv.c: Remove useless warnings "forwarding is already on".
hassoc75105a2004-10-13 10:33:26 +0000487
hasso39ff11d2004-10-12 15:55:19 +00004882004-10-12 Hasso Tepper <hasso at quagga.net>
489
490 * zebra_vty.c: Unbreak "show ip route" command help and make it work
491 for isis routes.
hasso39db97e2004-10-12 20:50:58 +0000492 * interface.c(if_dump_vty): Show IPv6 addresses in "show interface"
493 output. Fixes Bugzilla #119.
494 * *.c: Make some strings const and some (unsigned) casts to fix
495 compiler warnings.
hasso39ff11d2004-10-12 15:55:19 +0000496
hassofce954f2004-10-07 20:29:24 +00004972004-10-07 Hasso Tepper <hasso at quagga.net>
498
499 * connected.c, main.c, rt_netlink.c, rtadv.c, zebra_rib.c, zserv.c:
500 Fix warnings: make strings const, signed -> unsigned.
501
paul72164662004-10-05 14:39:43 +00005022004-10-05 Paul Jakma <paul@dishone.st>
503
504 * irdp_packet.c: (parse_irdp_packet) style issues.
505 Use sockopt_iphdrincl_swab_systoh.
506 Try unbork the code. Checksum the ICMP data and actually
507 compare it to received checksum. Check data length against
508 claimed length in header.
509 Always use ntoh.. when accessing addresses, even when the
510 comparison happens to be endian-safe.
511 (send_packet) minor style isues. Use
512 sockopt_iphdrincl_swab_htosys.
513 (irdp_iph_hton/ntoh) IP header to/from network/host order.
514
hassoeef1fe12004-10-03 18:46:08 +00005152004-10-03 Gilad Arnold <gilad.arnold at terayon.com>
516
517 * interface.c, interface.h: A new prefix tree of connected subnets is
518 associated with each interface structure in zebra, in which each
519 live (ie, non-synthetic) node holds a list of installed addresses
520 that belong to that prefix. Remove secondary address logic from cli.
521 See [quagga-dev 872] for detailed explanation.
522 * connected.c: Use if_subnet_add() and if_subnet_delete().
523
hasso18a6dce2004-10-03 18:18:34 +00005242004-10-03 James R. Leu <jleu at mindspring.com>
525
526 * router-id.c, router-id.h: New files. Router id selection process. If
527 there is non 127.x.x.x address in loopack interface, lowest of them
528 is chosen. If there isn't, lowest from other interfaces addresses
529 are chosen. "router-id x.x.x.x" vty command to manual override.
530 * Makefile.am: Compile new files.
531 * main.c: Initialize router id.
532 * redistribute.c: Add interface addresses into router id selection
533 lists as they (dis)appear.
534 * zserv.c, zserv.h: Sending router id related messages to daemons.
535
hassoc9e52be2004-09-26 16:09:34 +00005362004-09-26 Hasso Tepper <hasso at quagga.net>
537
538 * irdp_interface.c, irdp_main.c, irdp_packet.c, rt_netlink.c,
539 rtadv.c, zebra_vty.c: Fix compiler warnings.
540
paul0c0f9112004-09-24 08:24:42 +00005412004-09-24 Paul Jakma <paul@dishone.st>
542
paul26f7a242004-09-24 08:45:10 +0000543 * irdp_interface.c: (no_ip_irdp_address_preference_cmd)
544 add missing listnode declaration.
545
5462004-09-24 Paul Jakma <paul@dishone.st>
547
paul0c0f9112004-09-24 08:24:42 +0000548 * irdp_{interface,main}.c: lists typedef removal cleanup.
549 update some list loops to LIST_LOOP. some miscellaneous style
550 and indent fixups.
551 (no_ip_irdp_address_preference_cmd) Fix delete of referenced node
paul26f7a242004-09-24 08:45:10 +0000552 in loop.
paul0c0f9112004-09-24 08:24:42 +0000553 * irdp_packet.c: (irdp_recvmsg) Fix buggy assignment of integer
554 to pointer.
555 * if_ioctl{,_solaris}.c: lists typedef removal cleanup.
556 update some list loops to LIST_LOOP.
557
hasso52dc7ee2004-09-23 19:18:23 +00005582004-09-23 Hasso Tepper <hasso at quagga.net>
559
560 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
561
paul44983cf2004-09-22 13:15:58 +00005622004-09-22 Paul Jakma <paul.jakma@sun.com>
563
564 * zserv.c: (zsend_route_multipath) fix nasty bad memset of struct
565 in_addr to sizeof(struct in6_addr), causing odd and hard to debug
566 crash.
567
hassoc34b6b52004-08-31 13:41:49 +00005682004-08-31 Hasso Tepper <hasso at quagga.net>
569
570 * main.c, rt_netlink.c: Added -s command line switch for tuning
571 netlink receive buffer size in Linux to avoid buffer overruns.
572
gdta5ea6872004-08-26 13:24:00 +00005732004-08-26 Miles Nordin <carton@Ivy.NET>
574
575 * ipforward_sysctl.c (mib_ipv6): Use size_t for len, per
576 sysctl(3), rather than int. (Needed on NetBSD/alpha to display
577 forwarding status correctly.)
578
paul3e0b3a52004-08-23 18:58:32 +00005792004-08-23 Paul Jakma <paul@dishone.st>
580
581 * zserv.c: (zebra_init) remove implicit ip forward enabling
582
paul0de1cde2004-08-19 04:45:33 +00005832004-08-19 Paul Jakma <paul@dishone.st>
584
585 * irdp_main.c: update to match sockopt renames.
586 * irdp_packet.c: include sockopt.h and update to match sockopt
587 renames.
588
gdt57492d52004-08-11 18:06:38 +00005892004-08-11 Greg Troxel <gdt@fnord.ir.bbn.com>
590
591 * rtadv.c (rtadv_send_packet): Allocate space for control messages
592 more carefully; it was wrong on NetBSD/sparc where CMSG alignment
593 is to 8 bytes instead of 4, and overwriting the address. Use the
594 provided macros for determining lengths.
595
paul5b73a672004-07-23 15:26:14 +00005962004-07-23 Sowmini Varadhan <Sowmini.Varadhan@Sun.COM>
597
598 * if_ioctl_solaris.c: HAVE_IPV6 ifdef fixups
599 * zserv.c: ditto
600 * ioctl_solaris.c: ditto.
601 * interface.c: cast for LLADDR
602 * interface.h: Add guards, include redistribute.h and remove
603 extraneous definitions of zebra_interface_{up,down}_update
604 * ioctl.h: Add AF_IOCTL define for non SOLARIS_IPV6
605 * redistribute.h: include dependent header, zserv.h
606 * zserv.h: include dependent header, rib.h
607
paul1470baf2004-07-23 15:25:01 +00006082004-07-23 Paul Jakma <paul@dishone.st>
609
610 * irdp_main.c: use setsockopt_pktinfo_ipv4
611 * irdp_packet.c: use SOPT_SIZE_CMSG_PKTINFO_IPV4 and
612 getsockopt_pktinfo_ifindex()
613
gdtcced60d2004-07-13 16:45:54 +00006142004-07-13 David Wiggins <dwiggins@bbn.com
615
616 * kernel_socket.c (rtm_flag_dump): terminate buffer with '\0', not '0'.
617
hasso25dac852004-07-13 03:06:51 +00006182004-07-13 Hasso Tepper <hasso@estpak.ee>
619
620 * irdp_main.c: Add privilege change.
621
hasso996933f2004-07-12 16:32:56 +00006222004-07-12 Hasso Tepper <hasso@estpak.ee>
623
624 * irdp_interface.c: follow common style while naming vty command
625 functions. Avoids confusion in extract.pl.
626
gdt87efd642004-06-30 17:36:11 +00006272004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
628
629 * main.c: define thread_master variable so that linking with
630 libzebra.so doesn't fail. Arguably zclient.o should be in a
631 separate library, but this is far less disruptive.
632
hassoca776982004-06-12 14:33:05 +00006332004-06-12 Robert Olsson <Robert.Olsson at data.slu.se>
634
635 * Added IRDP support.
636
hasso3e31cde2004-05-18 11:58:59 +00006372004-05-18 Hasso Tepper <hasso@estpak.ee>
638
639 * rtadv.c: Removed "[no] ipv6 nd send-ra" command. Replaced "ipv6 nd
640 prefix-advertisement" with "ipv6 nd prefix". Rewrite syntax of
641 "ipv6 nd prefix" command to allow various combinations of parameters
642 and flags. No defaults in configuration. Replaced on-link and
643 autoconfig with off-link and no-autoconfig flags in command syntax.
644 Cosmetic fixes in all commands. Documentation to reflect all changes.
645
paul19877dd2004-05-11 10:49:35 +00006462004-05-11 Paul Jakma <paul@dishone.st>
647
648 * Makefile.am: support for IOCTL_METHOD, as per Sowmini's patch.
paul48a46fa2004-05-11 10:55:22 +0000649 * if_ioctl_solaris.c: Fixup some erroneous privilege changes and
650 add privs.h header.
651 * ioctl_solaris.c: ditto
paulc50ae8b2004-05-11 11:31:07 +0000652 * ioctl.h: Add if_ioctl_ipv6 prototype and AF_IOCTL for SOLARIS_IPV6
653 * kernel_socket.c: Fix SAROUNDUP, compiler doesnt like do..while
654 RHS in assignments :)
655 * redistribute.c: (zebra_interface_delete_update) only used
656 if RTM_IFANNOUNCE and NETLINK is available.
657
paulb9df2d22004-05-09 09:09:59 +00006582004-05-09 Paul Jakma <paul@dishone.st>
659
660 * zserv.c: (zsend_route_multipath) Set the nexthop_num
661 field correctly. Add NEXTHOP_TYPE_IPV6_IFNAME for v6.
662 Conditionally set ZAPI_MESSAGE_METRIC flag - only for adds.
663 (zsend_ipv4_add) cruft, deleted.
664 (zsend_ipv4_delete) ditto.
665 (zsend_ipv6_add) ditto.
666 (zsend_ipv6_delete) ditto.
paul44145db2004-05-09 11:00:23 +0000667 * ioctl.c: (if_get_mtu) set mtu6 to mtu
668 * mtu_kvm.c: (if_kvm_get_mtu) set mtu6 to mtu
669 * rt_netlink.c: (netlink_interface) set mtu6 to mtu
670 (netlink_link_change) ditto
paul66e94882004-05-09 17:19:24 +0000671 * ipforward_solaris.c: fix typo of ND variable.
paul88424682004-05-09 18:21:35 +0000672 * if_ioctl_solaris.c: Add zprivs support.
673 * ioctl_solaris.c: ditto.
paul66e94882004-05-09 17:19:24 +0000674
paulb9df2d22004-05-09 09:09:59 +00006752004-05-09 Sowmini Varadhan <sowmini.varadhan@sun.com>
676
677 * zserv.c: (zsend_ipv{4,6}_{add,delete}_multipath) collapsed
678 into single zsend_route_multipath function.
679 (zsend_interface_{up,down}) collapsed into zsend_interface_update.
680 (zsend_interface_address_{add,delete}) collapsed into
681 zsend_interface_address.
682 (zsend_interface_add) send mtu6.
683 (zsend_interface_delete) ditto.
684 (zebra_write) remove unused function.
685 (various) Apply static qualifier. Add comments.
686 * zserv.h: Definitions changed as per above.
687 * redistribute.c: Changes as per zserv.c.
paul44145db2004-05-09 11:00:23 +0000688 * interface.c: (if_delete_update) only used with HAVE_NETLINK
689 and RTM_IFANNOUNCE.
690 (if_flag_dump_vty) Solaris IFF_IPV4 and IFF_IPV6 if flags
691 (if_dump_vty) print mtu6 if not same as mtu
paul88424682004-05-09 18:21:35 +0000692 * if_ioctl_solaris.c: New file, Solaris interface ioctl methods.
693 * ioctl_solaris.c: New file, Common solaris ioctl methods.
694
hasso34195bf2004-04-06 12:07:06 +00006952004-04-06 Krzysztof Oledzki <oleq@ans.pl>
696
697 * rt_netlink.c: Do not ignore metric when reading kernel routing
698 table on Linux with rt_netlink interface.
699
7002004-03-18 Hasso Tepper <hasso@estpak.ee>
hassof1d92e12004-03-18 15:40:33 +0000701
702 * interface.c: Temporary fix for handling secondary addresses
703 with label.
704
hasso55906722004-02-11 22:42:16 +00007052004-02-12 Hasso Tepper <hasso@estpak.ee>
hassof1d92e12004-03-18 15:40:33 +0000706
hasso55906722004-02-11 22:42:16 +0000707 * zserv.c: Added "ipv6 forwarding" command.
708
gdtb27900b2004-01-08 15:44:29 +00007092004-01-08 Greg Troxel <gdt@fnord.ir.bbn.com>
710
711 * kernel_socket.c (kernel_read): Use sockaddr_storage in buffer
712 for reading kernel messages to ensure enough space (necessary on
713 Solaris due to sockaddr_dl being large). Thanks to Sowmini
714 Varadhan for help with this change.
715
gdt9ccabd12004-01-06 18:23:02 +00007162004-01-06 Greg Troxel <gdt@t1.ir.bbn.com>
717
718 * rtadv.c (rtadv_send_packet): Change perror to zlog_err.
719
gdtdbee01f2004-01-06 00:36:51 +00007202004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
gdt4bfbea82004-01-06 01:13:05 +0000721 * kernel_socket.c (ifm_read): Major cleanup. Use Sowmini's code
722 to find the sockaddr_dl in all cases, narrowing the Solaris ifdef
723 to just the accomodation of broken kernels. Check sockaddr_dl
724 carefully up front, and later assume any non-NULL sdl pointer is
725 valid. Clean up types and variable declarations, and rename
726 WRAPUP to SAROUNDUP to make the name fit the behavior.
727
7282004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
gdtdbee01f2004-01-06 00:36:51 +0000729
730 * kernel_socket.c (kernel_read): Add a sockaddr_dl to the ifmsg
731 structure, because on Solaris sockaddr_dl is far larger than the
732 base sockaddr structure. (The code had previously been failing to
733 read all the data.)
gdt4bfbea82004-01-06 01:13:05 +0000734
gdtda26e3b2004-01-05 17:20:59 +00007352004-01-05 Greg Troxel <gdt@ahi.ir.bbn.com>
736
737 * kernel_socket.c (kernel_read): Look up interfaces by index
738 first, so that state changes which do not include a sockaddr_dl
739 now work. Add many sanity checks. In
740 particular, do not assume that a sockaddr_dl follows a message
741 without checking the ifm_addrs flags, and do not trust the length
742 in a sockaddr_dl. Add/clarify many comments.
743
gdt4b5e1352003-12-03 17:54:34 +00007442003-12-03 Greg Troxel <gdt@poblano.ir.bbn.com>
745
746 * rtadv.c: reorder includes to avoid compiler warning (define
747 structs before using them in prototypes)
748
hasso647e4f12003-05-25 11:43:52 +00007492003-05-25 Jim Crumpler <Jim.Crumpler@edion.com>
750
751 * zserv.c: Add "ip forwarding" command.
752
paul445f1432003-05-16 19:00:31 +00007532003-05-16 Gilad Arnold <gilad.arnold@terayon.com>
754
755 * zebra_rib.c: Fix memory leaks for ifname nexthops
756
7572003-04-19 Israel Keys <ikeys@agile.tv>
758
759 * rt_netlink.c: BLOCK on netlink while initialising
760
7612003-02-06 Francois Deppierraz <francois@ctrlaltdel.ch>
762
763 * rt_netlink.c (netlink_route_multipath): Set RTM_F_EQUALIZE when
764 it exists.
765
paul718e3742002-12-13 20:15:29 +00007662002-09-28 Akihiro Mizutani <mizutani@net-chef.net>
767
768 * zebra_rib.c (static_add_ipv4): Null0 static route is added.
769
7702002-09-10 Jochen Friedrich <chris+zebra@scram.de>
771
772 * rt_netlink.c: Add check for EAGAIN.
773 * kernel_socket.c: Likewise
774
7752002-06-12 Israel Keys <ikeys@oz.agile.tv>
776
777 * rt_netlink.c: Setting the NLM_F_ACK flag on the netlink command
778 message so that we get an ACK for successful netlink commands.
779 Change the netlink socket to BLOCKING while we wait for a
780 response; be it an ACK or an NLMSG_ERROR. Change
781 netlink_parse_info to deal with ACK messages.
782
7832001-11-01 Jun-ichiro itojun Hagino <itojun@iijlab.net>
784
785 * rtadv.c (rtadv_make_socket): setsockopt(IPV6_CHECKSUM) does not
786 work for ICMPv6 socket.
787
7882001-10-24 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
789
790 * rib.c (rib_process): Select connected route any case.
791
7922001-10-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
793
794 * interface.c (no_ip_address_secondary): Add "no" to command.
795
7962001-10-18 NOGUCHI Kay <kay@v6.access.co.jp>
797
798 * ioctl.c (if_prefix_add_ipv6): Set the prefered and valid lifetime
799 to infinity as the freebsd4.4 workaroud.
800
8012001-08-26 mihail.balikov@interbgc.com
802
803 * zebra_snmp.c: Fix snmpwalk problem such as IPv4 address
804 A.B.C.255.
805
8062001-08-22 NOGUCHI Kay <kay@v6.access.co.jp>
807
808 * rtadv.c: Do not send RA to loopback interface.
809
8102001-08-20 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
811
812 * ioctl.c (if_set_prefix): Remove Linux 2.0 specific connected
813 route treatment.
814
8152001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
816
817 * zebra-0.92a released.
818
8192001-08-17 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
820
821 * rib.c: Kernel route is treated as EGP routes in nexthop active
822 check.
823
8242001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
825
826 * zebra-0.92 released.
827
8282001-08-08 "Akihiro Mizutani" <mizutani@dml.com>
829
830 * rib.c (show_ip_route_prefix_longer): Add longer-prefix option to
831 show route commands.
832
8332001-07-29 Yon Uriarte <havanna_moon@gmx.net>
834
835 * zserv.c (zsend_ipv4_add_multipath): Add
836 NEXTHOP_TYPE_IPV4_IFINDEX check.
837
8382001-07-29 NOGUCHI Kay <kay@v6.access.co.jp>
839
840 * rtadv.c: Apply valid lifetime, preferred lifetime, onilnk flag,
841 autonomous address-configuration flag patch.
842 (no_ipv6_nd_suppress_ra): Change "ipv6 nd send-ra" to "no ipv6 nd
843 suppress-ra".
844
8452001-07-24 NOGUCHI Kay <kay@v6.access.co.jp>
846
847 * rtadv.c (ipv6_nd_ra_interval): Add "ipv6 nd ra-interval SECONDS"
848 command.
849
8502001-07-24 Jun-ichiro itojun Hagino <itojun@iijlab.net>
851
852 * rt_socket.c (kernel_rtm_ipv4): Add KAME/NetBSD151 equal cost
853 multicast FIB support both IPv4 and IPv6.
854
8552001-07-24 Hal Snyder <hal@vailsys.com>
856
857 * if_ioctl.c (interface_list_ioctl): Fix bug of failing to get the
858 full list of interfaces on some configurations of OpenBSD.
859
8602001-07-23 NOGUCHI Kay <kay@v6.access.co.jp>
861
862 * rtadv.c (ipv6_nd_send_ra): Apply [zebra 9320] to fix "ipv6 nd
863 send-ra" bug.
864 (ipv6_nd_ra_lifetime): "ipv6 nd ra-lifetime 0" for default router
865 availability.
866 (ipv6_nd_managed_config_flag): "ipv6 nd managed-config-flag" is
867 added.
868 (ipv6_nd_other_config_flag): "ipv6 nd other-config-flag" is added.
869
8702001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
871
872 * ioctl.c (if_ioctl): Change ioctl argument from int to u_long.
873
874 * rt_ioctl.c: Likewise.
875
8762001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
877
878 * kernel_socket.c (rtm_write): Only set RTF_CLONING when the
879 interface is not p2p.
880
8812001-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
882
883 * ioctl.c (if_prefix_add_ipv6): Fix argument type.
884
8852001-04-06 Toshiaki Takada <takada@zebra.org>
886
887 * zserv.c (zsend_interface_delete): Use client->obuf instead of
888 allocating new stream.
889
8902001-03-10 Kunihiro Ishiguro <kunihiro@zebra.org>
891
892 * rt_netlink.c: Revert RTPROT_BOOT change.
893
8942001-03-08 Kunihiro Ishiguro <kunihiro@zebra.org>
895
896 * rt_netlink.c (netlink_route_change): Skip RTPROT_BOOT route.
897 (netlink_routing_table): Likewise.
898
8992001-03-07 "Akihiro Mizutani" <mizutani@dml.com>
900
901 * zserv.c (zsend_ipv4_add_multipath): Send metric value to
902 protocol daemons.
903
9042001-02-18 Kunihiro Ishiguro <kunihiro@zebra.org>
905
906 * rt_netlink.c (netlink_routing_table): Do not return
907 tb[RTA_GATEWAY] is NULL. Reported by: "Michael O'Keefe"
908 <mokeefe@qualcomm.com>.
909
9102001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
911
912 * if_ioctl.c (interface_list_ioctl): Call if_add_update().
913 Suggested by: Chris Dunlop <chris@onthe.net.au>.
914
9152001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
916
917 * rib.c (nexthop_active_ipv4): When nexthop type is
918 NEXTHOP_TYPE_IPV4_IFINDEX, propery set the ifindex to rifindex.
919
920 * zserv.c: Initialize rtm_table_default with 0.
921
922 * zebra-0.91 is released.
923
9242001-01-31 Kunihiro Ishiguro <kunihiro@zebra.org>
925
926 * kernel_socket.c (rtm_read): Filter cloned route. Suggested by:
927 Jun-ichiro itojun Hagino <itojun@iijlab.net>
928
9292001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
930
931 * connected.c (connected_up_ipv6): When point-to-point destination
932 address is ::, use local address for connected network.
933 (connected_down_ipv6): Likewise.
934
9352001-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
936
937 * zserv.c (zebra_serv): Add missing close() call. Reported by:
938 David Waitzman <djw@vineyard.net>.
939
9402001-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
941
942 * rib.c (rib_lookup_ipv4): New function for checking exact match
943 IGP route.
944
9452001-01-23 Kunihiro Ishiguro <kunihiro@zebra.org>
946
947 * rib.c (show_ipv6_route_protocol): Fix bug of "show ip route
948 route-type".
949
9502001-01-22 Kunihiro Ishiguro <kunihiro@zebra.org>
951
952 * interface.c (zebra_interface): Do not call
953 zebra_interface_add_update for inactive interface.
954
955 * zserv.c (zsend_interface_address_add): Send interface address
956 flag.
957 (zsend_interface_address_delete): Likewise.
958
9592001-01-19 Kunihiro Ishiguro <kunihiro@zebra.org>
960
961 * interface.c (if_addr_add): Add flags.
962
963 * connected.c (ifa_add_ipv4): Add new function for interface
964 address handling.
965 (ifa_delete_ipv4): Likewise.
966
9672001-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
968
969 * rib.c (rib_update): Update IPv6 RIB.
970
971 * kernel_socket.c (ifam_read): Call if_refresh() for update
972 interface flag status. This is for implicit interface up on *BSD.
973
974 * interface.c (if_refresh): Add interface flag refresh function.
975
976 * kernel_socket.c (rtm_read): Fetch link-local address interface
977 index.
978 (ifan_read): We need to fetch interface information. Suggested
979 by: Yasuhiro Ohara <yasu@sfc.wide.ad.jp>.
980
981 * rib.c (static_ipv6_nexthop_same): Add check for
982 NEXTHOP_TYPE_IPV6_IFNAME.
983
9842001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
985
986 * rib.h (NEW_RIB): Turn on NEW_RIB flag. IPv6 new RIB code are
987 taken into place.
988
9892001-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
990
991 * rib.c (static_ipv6_write): Display STATIC_IPV6_GATEWAY_IFNAME
992 configuration.
993 (rib_delete_ipv6): Handle same route conter for IPv6 connected
994 route.
995 (show_ipv6_route_protocol): New command.
996 (show_ipv6_route_addr): Likewise.
997 (show_ipv6_route_prefix): Likewise.
998 (rib_update): Sweep kernel route when it is cleaned up.
999
1000 * rt_socket.c (kernel_add_ipv6): Add NEXTHOP_IPV6_IFNAME
1001 treatmenet.
1002
1003 * rt_netlink.c (kernel_init): Likewise.
1004
1005 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): Likewise.
1006
1007 * rib.c (rib_add_ipv4): Cope with same connected route on a
1008 interface. Suggested by: Matthew Grant <grantma@anathoth.gen.nz>.
1009 (nexthop_ipv6_ifname_add): Add NEXTHOP_IPV6_IFNAME treatmenet.
1010
1011 * rib.h (struct new_rib): Add refcnt to keep track on the
1012 reference of same connected route.
1013
1014 * ioctl.c (if_set_prefix): Add check for GNU_LINUX.
1015
10162001-01-13 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1017
1018 * kernel_socket.c (ifan_read, rtm_type_str): Add RTM_OIFINFO check.
1019 (rtm_type_str): Add RTM_IFANNOUNCE check.
1020 (ifan_read): New function.
1021 (kernel_read): Add case for RTM_IFANNOUNCE.
1022
10232001-01-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1024
1025 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): New function.
1026
1027 * rt_netlink.c (netlink_route_multipath): IPv6 address ifindex
1028 treatment.
1029
1030 * connected.c (connected_up_ipv6): Add dest value check.
1031
1032 * rib.c (nexthop_active_ipv6): Do not touch IPv6 nexthop's
1033 ifindex.
1034 (rib_add_ipv4): Import rib_add_ipv6() same route check code.
1035 (nexthop_active_check): NEXTHOP_TYPE_IPV6_IFINDEX activity is only
1036 checked by ifindex.
1037
1038 * rt_socket.c (kernel_rtm_ipv6_multipath): New function.
1039
1040 * redistribute.c (redistribute_add): Use
1041 zsend_ipv6_add_multipath().
1042 (redistribute_delete_multipath): Use
1043 zsend_ipv6_delete_multipath().
1044
1045 * interface.c (ip_address): Check current IP address to avoid
1046 duplicate.
1047
1048 * rib.c (rib_delete_ipv4): When deleted route is connected route,
1049 check ifindex.
1050 (rib_add_ipv4): When connected route is added do not perform
1051 implicit withdraw.
1052 (rib_delete_ipv4): Check ifindex for connected route.
1053
1054 * kernel_socket.c (rtm_read): When route has RTF_STATIC, set
1055 ZEBRA_FLAG_STATIC for indicate as persistent route.
1056 (ifam_read): Unset interface index from link-local address when
1057 IPv6 stack is KAME.
1058
1059 * rib.c (rib_update): Do not delete persistent kernel route.
1060
1061 * rib.h (struct new_rib): Integrate RIB_FLAG_* to ZEBRA_FLAG_*.
1062
1063 * rt_socket.c (kernel_add_ipv6_multipath): Add placeholder.
1064 (kernel_delete_ipv6_multipath): Likewise.
1065
1066 * rt_netlink.c (netlink_talk): Give struct nlsock to netlink_talk.
1067
10682001-01-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1069
1070 * rib.c (rib_update): Revert Matthew Grant's patch
1071 zebra_cvs_newribfix.patch. Use struct rib->ifindex for kernel
1072 interface index. Introduce NEXTHOP_TYPE_IPV4_IFINDEX to support
1073 that. Add support for address deletion situation.
1074
10752001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1076
1077 * interface.c: Remove HAVE_IF_PSEUDO part.
1078
1079 * rib.h: Likewise.
1080
1081 * rt_netlink.c (netlink_link_change): Likewise.
1082
10832001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1084
1085 * zserv.c: Remove OLD_RIB codes.
1086
10872001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1088
1089 * zebra-0.90 is released.
1090
10912001-01-09 Matthew Grant <grantma@anathoth.gen.nz>
1092
1093 * interface.c (if_new_intern_ifindex): Allocate a new internal
1094 interface index.
1095 (if_addr_refresh): Fix up ip addresses configured via zebra.
1096 (if_add_update): Handle an interface addition.
1097 (if_delete_update): Handle an interface delete event.
1098
1099 * rib.c (nexthop_ipv4_add): Add kernel route deletion process when
1100 interface goes down.
1101
11022001-01-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1103
1104 * interface.c (if_dump_vty): When HAVE_NET_RT_IFLIST is defined,
1105 NetBSD also use this function. Suggested by Jasper Wallace
1106 <jasper@ivision.co.uk>.
1107
11082001-01-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1109
1110 * rib.c (nexthop_active_ipv4): Move back to set methodo to old
1111 one.
1112
11132001-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1114
1115 * rib.c (rib_add_ipv4): EBGP multihop set ZEBRA_FLAG_INTERNAL
1116 flag, so treat it.
1117
11182001-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1119
1120 * rt_netlink.c (netlink_talk_ipv6): When IPv6 route message is
1121 sent from netlink_cmd, the same message comes from netlink. To
1122 avoid confusion, temporary netlink_talk_ipv6 use netlink.sock
1123 instead of netlink_cmd.sock.
1124
11252001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1126
1127 * zserv.h (ZEBRA_SERV_PATH): Change "/tmp/zebra" to "/tmp/.zebra".
1128 Change "/tmp/zserv" to "/tmp/.zserv".
1129
11302000-12-29 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
1131
1132 * rt_netlink.c (struct nlsock): Divide kernel message into listen
1133 socket and command socket.
1134 (netlink_talk): Remove socket listen code. Use netlink_parse_info
1135 for read kernel response.
1136
11372000-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1138
1139 * rib.c (vty_show_ip_route): Show uptime of the RIP,OSPF,BGP
1140 routes.
1141
11422000-12-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1143
1144 * rt_netlink.c (netlink_route_multipath): Metric value is
1145 reflected to kernel routing table.
1146
1147 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Likewise.
1148
1149 * kernel_socket.c (rtm_write): Likewise.
1150
1151 * rib.c (nexthop_active_ipv4): Only iBGP route perform recursive
1152 nexthop lookup.
1153
1154 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Add ioctl version of
1155 new RIB implementation.
1156
11572000-12-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1158
1159 * rib.h: Remove MULTIPATH_NUM. It is defined by configure script.
1160
11612000-12-25 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1162
1163 * rib.c (rib_if_up): Call rib_fib_set instead of RIB_FIB_SET for
1164 proper redistribution.
1165
11662000-12-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1167
1168 * rib.c (nexthop_active_ipv4): Add self lookup nexthop check.
1169 (show_ip_route_protocol): Support new RIB.
1170
1171 * rt_netlink.c (netlink_route_change): Do not return when gate is
1172 NULL.
1173
11742000-12-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1175
1176 * rib.c (rib_lookup_ipv4_nexthop): IBGP nexthop check function is
1177 updated.
1178 (rib_add_ipv4): Free implicit withdraw route's RIB.
1179
11802000-12-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1181
1182 * rib.c (nexthop_active_ipv4): Check indirect nexthop.
1183
1184 * redistribute.c (redistribute_add_multipath): Redistribution
1185 works with new rib code.
1186
11872000-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1188
1189 * rt_netlink.c (netlink_route_multipath): Check useful nexthop
1190 number.
1191 (netlink_route_multipath): Clear rtnh_flags and rtnh_hops.
1192
1193 * rib.c (nexthop_active_update): Set flag for the rib's nexthop
1194 activity is changed.
1195 (nexthop_active_check): Before checking interface is up, make it
1196 sure the interface exist.
1197
11982000-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1199
1200 * rib.c (ip_route): New RIB prototype.
1201
12022000-11-16 Yon Uriarte <ukl2@rz.uni-karlsruhe.de>
1203
1204 * zserv.c (zsend_interface_add): Send hardware address when
1205 hw_addr_len is greater than 0.
1206
12072000-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1208
1209 * connected.c (connected_up_ipv4): Fix ptop bug. The destination
1210 network should be installed into routing table.
1211 (connected_down_ipv4): Likewise.
1212 (connected_add_ipv4): Change to use connected_up_ipv4.
1213 (connected_delete_ipv4): Likewise.
1214
12152000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1216
1217 * rt_netlink.c (netlink_interface_addr): Revert Harald Welte
1218 <laforge@gnumonks.org>'s ptop patch then back to original code to
1219 avoid duplicated connected route problem. Suggested by Frank van
1220 Maarseveen <F.vanMaarseveen@inter.NL.net>.
1221
1222 * kernel_socket.c (rtm_read): Make behavior consistent even #ifdef
1223 DEBUG is defined. Reported by Jun-ichiro itojun Hagino
1224 <itojun@iijlab.net>.
1225
12262000-10-23 Jochen Friedrich <jochen@scram.de>
1227
1228 * main.c (main): Call zebra_snmp_init() when it is enabled.
1229
12302000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1231
1232 * zserv.c (zebra_serv_un): UNIX domain socket server of zebra
1233 protocol.
1234
12352000-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1236
1237 * rib.c (rib_add_ipv4): Same check bug is fixed.
1238
12392000-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1240
1241 * rib.c (rib_if_down): Remove kernel route when the interface goes
1242 down.
1243
1244 * debug.c: New command "debug zebra kernel" is added.
1245
12462000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1247
1248 * zebra-0.89 is released.
1249
12502000-09-24 Harald Welte <laforge@gnumonks.org>
1251
1252 * rt_netlink.c (netlink_interface_addr): Fix point-to-point address
1253 treatment in netlink interface.
1254
12552000-09-21 David Lipovkov <dlipovkov@OpticalAccess.com>
1256
1257 * rib.c (rib_if_down): Pull static route only. Protocol daemon
1258 must withdraw routes when interface goes down.
1259 (rib_add_ipv4): Check nexthop when replace route.
1260
12612000-09-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1262
1263 * if_ioctl.c (if_getaddrs): New function for looking up
1264 interface's address by getifaddrs().
1265
12662000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1267
1268 * connected.c (connected_delete_ipv4): Add check for connected
1269 address is found or not.
1270 (connected_add_ipv6): Reflect IPv6 connected address change to
1271 protocol daemons.
1272 (connected_delete_ipv6): Likewise.
1273
12742000-09-07 David Lipovkov <davidl@nbase.co.il>
1275
1276 * rib.c (rib_delete_ipv4): Reverted the change from pseudo
1277 interface patch to original. Because ospfd deletes routes using
1278 zero ifindex.
1279
12802000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1281
1282 * zebra-0.88 is released.
1283
12842000-08-15 "Akihiro Mizutani" <mizutani@dml.com>
1285
1286 * rib.c (show_ip_route_protocol): Help string correction.
1287 (show_ip_route_prefix): Check prefix mask.
1288 (show_ip_route_vty_detail): Display distance and metric.
1289
12902000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1291
1292 * zserv.c (zsend_interface_add): Change ifindex store size from
1293 two octet to four.
1294 (zsend_interface_delete): Likewise.
1295 (zsend_interface_address_add): Likewise.
1296 (zsend_interface_address_delete): Likewise.
1297 (zsend_interface_up): Likewise.
1298 (zsend_interface_down): Likewise.
1299
13002000-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1301
1302 * rib.c (rib_add_ipv4): Do not install distance 255 route.
1303
13042000-08-10 Toshiaki Takada <takada@zebra.org>
1305
1306 * interface.c (bandwidth_if), (no_bandwidth_if): Call
1307 zebra_interface_up_update () instead of using if_up() and if_down().
1308
13092000-08-07 "Akihiro Mizutani" <mizutani@dml.com>
1310
1311 * interface.c (bandwidth_if): Fix help string.
1312
13132000-08-07 Matthew Grant <grantma@anathoth.gen.nz>
1314
1315 * interface.c (if_dump_vty): Display bandwidth value.
1316 (bandwidth_if): New command "bandwidth <1-10000000>" is added.
1317 When interface is up, force protocol daemons to recalculate routes
1318 due to cost change.
1319 (no_bandwidth_if): Likewise.
1320 (if_config_write): Output bandwidth configuration.
1321
1322 * zserv.c (zsend_interface_add): Send bandwidth value.
1323 (zsend_interface_up): Likewise.
1324 (zsend_interface_down): Likewise.
1325
1326
13272000-08-07 Michael Rozhavsky <mike@nbase.co.il>
1328
1329 * rib.c (show_ip_route_protocol): "show ip route
1330 (bgp|connected|kernel|ospf|rip|static)" is added.
1331
13322000-08-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1333
1334 * rib.c (rib_lookup_ipv4_nexthop): Check parent node until IGP
1335 nexthop is found.
1336 (rib_add_ipv4_internal): Set fib ifindex to rib ifindex.
1337
13382000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1339
1340 * redistribute.c (redistribute_delete): Fix bug of default route
1341 redistribute treatment.
1342
13432000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1344
1345 * rib.c (rib_init): Install ip_node in rib.c instead of zserv.c.
1346 Change default distance value.
1347
1348 Old New
1349 ------------------------------------------
1350 system 10 0
1351 kernel 20 0
1352 connected 30 0
1353 static 40 1
1354 rip 50 120
1355 ripng 50 120
1356 ospf 60 110
1357 ospf6 49 110
1358 bgp 70 200(iBGP) 20(eBGP)
1359 ------------------------------------------
1360
1361 * zserv.c (client_lookup): Function removed.
1362 (zsend_interface_add): Use client's output buffer. Check ifinfo
1363 flag.
1364 (zsend_interface_delete): Likewise.
1365 Delete ipv4_static_radix and ipv6_static_radix.
1366
13672000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1368
1369 * zserv.h (struct zebra_client): When client request interface
1370 information, ifinfo is set.
1371
1372 * rib.c: Temporary Revert changes for pseudo interface.
1373
1374 * rib.h: Likewise.
1375
1376 * zserv.c: Likewise.
1377
1378 * interface.c: Likewise.
1379
13802000-08-02 David Lipovkov <davidl@nbase.co.il>
1381
1382 * interface.c (zebra_if_init): Install interface "pseudo"
1383 commands.
1384
1385 * rib.c (rib_create): ifname argument is added.
1386 (rib_add_ipv4_pseudo): New function is added.
1387 (rib_delete_ipv4_pseudo): Likewise.
1388
1389 * rib.h : Delete INTERFACE_UNKNOWN definition. Add prototype for
1390 pseudo interface functions.
1391
1392 * rt_netlink.c (netlink_link_change): Check for pseudo interface.
1393
1394 * zserv.c (ip_route): When destination is pseudo interface, call
1395 rib_add_ipv4_pseudo().
1396
1397 * zserv.c (no_ip_route): Trim "unknown" argument.
1398
13992000-07-26 kunitake@dti.ad.jp
1400
1401 * if_ioctl.c (if_get_hwaddr): Fix hardware address length from 8
1402 to 6.
1403
1404 * rtadv.c (rtadv_send_packet): Fix shift bug for hardware address.
1405
14062000-07-24 Akihiro Mizutani <mizutani@dml.com>
1407
1408 * interface.c: Use install_default() for common VTY commands.
1409
14102000-07-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1411
1412 * if_ioctl.c (interface_list_ioctl): A interface list size is
1413 calculated from ifreq->if_addr.sa_len. This is for OpenBSD.
1414
1415 * ioctl.c (if_get_mtu): Remove codes for SIOCGIFDATA.
1416
14172000-07-09 Chris Dunlop <chris@onthe.net.au>
1418
1419 * if_ioctl.c (if_get_index): Add check for HAVE_BROKEN_ALIASES.
1420
14212000-07-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1422
1423 * zserv.c (zebra_client_read): Add ZEBRA_REDISTRIBUTE_{ADD,DELETE}
1424 message handling.
1425
14262000-07-02 David Lipovkov <davidl@nbase.co.il>
1427
1428 * zserv.c: "ip route A.B.C.D/M unknown" command is added.
1429
14302000-06-28 Michael Rozhavsky <mike@nbase.co.il>
1431
1432 * rib.c: Remove old kernel route when new route comes in.
1433
14342000-06-13 David Lipovkov <davidl@nbase.co.il>
1435
1436 * rib.c (rib_if_up): Add check for unknown interface.
1437
14382000-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1439
1440 * rib.h: Define INTERFACE_UNKNOWN.
1441
14422000-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1443
1444 * Makefile.am (EXTRA_DIST): Move irdp.c until implementation is
1445 finished.
1446
14472000-06-05 David Lipovkov <davidl@nbase.co.il>
1448
1449 * interface.c (if_zebra_delete_hook): Call rib_if_delete().
1450
1451 * redistribute.c (zebra_interface_delete_update): New function.
1452
1453 * redistribute.h (zebra_interface_delete_update): New function
1454 prototype.
1455
1456 * rib.c (rib_if_delete): New function. Walk down all routes and
1457 delete all on the interface.
1458
1459 * rib.h: New function prototype.
1460
1461 * rt_netlink.c (netlink_link_change): Call
1462 zebra_interface_delete_update ().
1463
14642000-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1465
1466 * if_ioctl.c (interface_info_ioctl): Check interface's flag before
1467 checking interface's address.
1468
14692000-04-26 Jochen Friedrich <jochen@nwe.de>
1470
1471 * GNOME-PRODUCT-ZEBRA-MIB: New file.
1472
1473 * GNOME-SMI: New file.
1474
14752000-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1476
1477 * irdp.c: New file from 1997 development code.
1478 * irdp.h: Likewise.
1479
14802000-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1481
1482 * rtadv.c (rtadv_send_packet): Enclose router advertisement
1483 logging with IS_ZEBRA_DEBUG_PACKET.
1484
14852000-04-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1486
1487 * zserv.c (zebra_client_close): Remove client structure from
1488 client_list when connection is terminated.
1489
14902000-03-21 David Lipovkov <davidl@nbase.co.il>
1491
1492 * connected.c (connected_add_ipv4): Allows all necessary structure
1493 updates for connected route, but doesn't insert it into rib if
1494 it's interface is down.
1495
14962000-01-21 Hideto Yamakawa <hideto.yamakawa@soliton.co.jp>
1497
1498 * rtread_getmsg.c: Set some definition for Solaris 2.5 and Solaris
1499 2.5.1.
1500
15012000-01-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1502
1503 * rib.c (no_ipv6_route_ifname): Fix buf of cheking return value
1504 from str2prefix_ipv6().
1505
15062000-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1507
1508 * rt_socket.c: Revert to use RTF_HOST for IPv4 with /32 route and
1509 IPv6 with /128 routes.
1510 (kernel_rtm_ipv4): In case of /32 route's gateway is interface. It
1511 should have mask for cloning.
1512
15131999-12-26 Jochen.Friedrich@genorz.de
1514
1515 * interface.c (if_dump_vty): Fix a bug of missing VTY_NEWLINE.
1516
15171999-12-23 Alex Zinin <zinin@amt.ru>
1518 * interface.*: dynamic int up/down support
1519
15201999-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1521
1522 * ipforward_proc.c (dropline): Move dropline() from lib/dropline.c
1523
1524 * rtread_proc.c (proc_route_read): Don't use dropline().
1525
15261999-12-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1527
1528 * kernel_socket.c (rtm_read): When message is RTM_GET, it has own
1529 process's pid.
1530
15311999-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1532
1533 * main.c (main): Change to default log output to ZLOG_STDOUT.
1534
1535 * zserv.c (zebra_serv): More detailed error print.
1536
15371999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1538
1539 * kernel_socket.c (rtm_read): Check old pid for static route
1540 insertion check.
1541
15421999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1543
1544 * interface.c (if_dump_vty): BSDI/OS uses 64bit for interface
1545 statistics counter.
1546
1547 * mtu_kvm.c: New file added.
1548
15491999-11-27 Vladimir B. Grebenschikov <vova@express.ru>
1550
1551 * kernel_socket.c (rtm_write): Set RTF_CLONING flag for
1552 route to the directly connected interface.
1553
15541999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1555
1556 * rt_socket.c: Delete USE_HOST_BIT definition.
1557
15581999-11-21 Michael Handler <handler@sub-rosa.com>
1559
1560 * rtread_getmsg.c: Undef some definition to resolve conflict.
1561
15621999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1563
1564 * kernel_socket.c (rtm_write): Change to use pre stored struct_dl
1565 value for gateway specification.
1566
15671999-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1568
1569 * rt_socket.c (kernel_rtm_ipv4): Even mask is 32 under IPv4 or
1570 128 under IPv6, don't use RTF_HOST.
1571
15721999-11-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1573
1574 * Makefile.am (EXTRA_DIST): Add rtread_getmsg.c.
1575
15761999-11-21 Michael Handler <handler@sub-rosa.com>
1577
1578 * rtread_getmsg.c: Added for Solaris 2.6 support.
1579
15801999-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1581
1582 * rtread_sysctl.c (rtm_read_route): RTM_DELETE handling added.
1583
1584 * rt_socket.c (kernel_read): Better BSD routing socket support.
1585
15861999-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1587
1588 * client_main.c: Disable making obsolete zebra test `client'
1589 command.
1590
15911999-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1592
1593 * zebra.c: Renamed to zserv.c.
1594
1595 * zebra.h: Global definitions are moved to lib/zebra.h. Then
1596 renamed to zserv.h.
1597
15981999-10-15 Jordan Mendelson <jordy@wserv.com>
1599
1600 * if_ioctl.c: Add Linux 2.2.X's alias support and dynamic
1601 interface. Remove ugly MAX_INTERFACE handling codes.
1602
16031999-09-17 Satosi KOBAYASI <kobayasi@north.ad.jp>
1604
1605 * Fix serious bug of IPv6 route deletion.
1606
16071999-09-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1608
1609 * ioctl.c (if_set_prefix): Properly set broadcast address.
1610
16111999-09-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1612
1613 * rib.c (rib_add_ipv6, rib_delete_ipv6): now protocol daemons
1614 can install connected route to kernel via zebra
1615
16161999-08-24 VOP <vop@unity.net>
1617
1618 * rib.c: Include "sockunion.h"
1619
16201999-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
1621
1622 * ipforward.h: New file.
1623
1624 * zebra.h: Obsolete message ZEBRA_GET_ALL_INTERFACE,
1625 ZEBRA_GET_ONE_INTERFACE, ZEBRA_GET_HOSTINFO are deleted.
1626
16271999-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1628
1629 * zebra.h (ZEBRA_INTERFACE_ADDRESS_ADD):
1630 ZEBRA_INTERFACE_{ADD,DELETE} added.
1631
16321999-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1633
1634 * rib.c: show ip route A.B.C.D works.
1635
1636 * zebra.c (zebra_read_ipv4): Add ifindex to zebra messages.
1637
16381999-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1639
1640 * zebra.h: New Zebra message ZEBRA_INTERFACE_{ADD,DELETE} added.
1641
16421999-08-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1643
1644 * interface.h: New file.
1645 * Makefile.am: Add interface.h
1646
16471999-08-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1648
1649 * redistribute.c (zebra_redistribute): give ifindex to client.
1650
16511999-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1652
1653 * main.c (longopts): -k, --keep_kernel option added.
1654
16551999-07-18 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1656
1657 * rt_socket.c (rtm_write): forgot closing socket bug fixed.
1658
16591999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1660
1661 * rib.c (show_ipv6_cmd): if rib is link show interface name.
1662
16631999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1664
1665 * rt_socket.c (rtm_write): use sockaddr_dl when null gateway.
1666
16671999-07-16 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1668
1669 * rt_socket.c (rtm_write): ipv6 route table bug fixed.
1670
16711999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1672
1673 * zebra.c (zebra_read_ipv6): read link prefix from ospf6 support
1674
16751999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1676
1677 * rt_socket.c (kernel_rtm_ipv6): gate treatment bug fixed.
1678
16791999-07-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1680
1681 * if_sysctl.c (ifm_read): Clear sockunion argument before fetching
1682 data. Suggested by "Chris P. Ross" <cross@eng.us.uu.net>
1683
16841999-07-08 HEO SeonMeyong <seirios@Matrix.IRI.Co.Jp>
1685
1686 * interface.c (if_tun_add): Add KAME's gif tunnel setting codes.
1687
16881999-06-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1689
1690 * zebra.c (zebra_serv): Only accept loopback address connection.
1691
16921999-06-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1693
1694 * zebra.h (ZEBRA_ROUTE_EXTERNAL): Add zebra messages flags
1695
16961999-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1697
1698 * ipforward_proc.c: ipforward_on () and ipforward_off () added.
1699
17001999-06-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1701
1702 * ipforward_proc.c (ipforward_ipv6): Check for IPv6 forwarding
1703 using /proc file system is added.
1704
17051999-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1706
1707 * if_ioctl.c (if_get_index): Interface index set bug is fixed by
1708 adding #else at the middle of function. Suggested by David Luyer
1709 <luyer@ucs.uwa.edu.au>.
1710
17111999-05-29 <kunihiro@zebra.org>
1712
1713 * rt_ioctl.c: Comment out #include <linux/ipv6_route.h>.
1714
17151999-05-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1716
1717 * zebra.h (ZEBRA_ROUTE_MAX): Add new define for the max value of
1718 the sort of routes.
1719
17201999-05-25 Patrick Koppen <koppen@rhrk.uni-kl.de>
1721
1722 * rt_netlink.c (netlink_socket): Make netlink socket non-blocking.
1723 (netlink_parse_info): If errno is EWOULDBLOCK then continue to
1724 parse the message.
1725 (netlink_talk): Likewise
1726
17271999-05-17 <kunihiro@zebra.org>
1728
1729 * redistribute.c (zebra_check_addr): Added for loopback address
1730 check.
1731
17321999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1733
1734 * rt_netlink.c (netlink_route_change): Tempolary bypass ipv6 route
1735 change treatment.
1736
1737 * Makefile.am (noinst_HEADERS): redistribute.h added.
1738
1739 * redistribute.h: New file.
1740
17411999-05-14 Stephen R. van den Berg <srb@cuci.nl>
1742
1743 * zebra.c (show_table): Show all table configuration DEFUN.
1744 (config_table): Config table number DEFUN.
1745
1746 * rt_netlink.c: Add support for multiple routing table.
1747
1748 * rib.c (rib_weed_table): New function added for delete all
1749 routes from specified routing table.
1750
1751 * main.c (signal_init): SIGTERM call sigint.
1752 (sigint): Loggging more better message.
1753
17541999-05-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1755
1756 * rt_netlink.c: Change log () to zlog ().
1757
17581999-05-07 <kunihiro@zebra.org>
1759
1760 * zebra.h (ZEBRA_ROUTE_OSPF6): Added for ospf6d route.
1761
17621999-04-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1763
1764 * interface.c: Add `no ip address' command.
1765
17661999-04-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1767
1768 * rt_netlink.c (kernel_read): Function added for asynchronous
1769 zebra between kernel communication.
1770
17711999-03-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1772
1773 * rtread_sysctl.c (rtm_read): Fix address memcopy overrun bug.
1774 Reported by Achim Patzner <ap@bnc.net>.
1775
17761999-03-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1777
1778 * Makefile.am: Install configuration sample with 600 permission.
1779
17801999-03-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1781
1782 * Makefile.am: Add -I.. to INCLUDES.
1783
17841999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
1785
1786 * syslog support added
1787
17881999-02-17 Peter Galbavy <Peter.Galbavy@knowledge.com>
1789
1790 * if_sysctl.c (interface_list): allocated memory free when unknown
1791 ifm_type is returned.
1792
1793 * ioctl.c (if_get_mtu): added SIOCGIFDATA treatment.
1794
17951998-12-15 Magnus Ahltorp <map@stacken.kth.se>
1796
1797 * interface.c: Header include added.
1798
17991998-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1800
1801 * rt.h (kernel_delete_ipv6): change int index to unsigned int index.
1802
18031998-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1804
1805 * if_ioctl.c (interface_list_ioctl): interface flag must be
1806 checked before check addresses of the interface.
1807
18081998-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1809
1810 * Makefile.am (INCLUDES): add @INCLUDES@ for Linux IPv6.
1811
18121998-10-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1813
1814 * ioctl.c: Linux version before 2.1.0 need interface route setup.
1815
18161998-09-15 HEO SeonMeyong <seirios@matrix.iri.co.jp>
1817
1818 * change HYDRANGEA to KAME
1819
18201998-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1821
1822 * if_ioctl.c (if_addr_ioctl): set address family for getting
1823 interface's address.
1824 (if_get_index): silently return when can't get interface's index.
1825
18261998-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1827
1828 * main.c (main): batch mode option '-b' added.
1829
18301998-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1831
1832 * ioctl.c (if_set_prefix): add `ip address IPV4ADDR' command.
1833 * interface.c (shutdown_if): add interface shutdown and no
1834 shutdown command.
1835
18361998-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1837
1838 * rib.c (rib_add_ipv6): delete rib_add_in6.
1839
18401998-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1841
1842 * main.c: retain flag is added.
1843
18441998-07-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1845
1846 * rtable.[ch]: merged with rib.[ch]
1847
18481998-07-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1849
1850 * connected.h: renamed from ifa.h.
1851
18521998-06-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1853
1854 * rename if.c to interface.c
1855 * rename ifa.c to connected.c
1856
1857 * Porting to Debian GNU/Linux 2.0 (hamm).
1858
18591998-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1860
1861 * rt_netlink.c: renamed from krt_netlink.c
1862
1863 * fib.c: deleted.
1864 * rt_kvm.c: deleted.
1865 * rtread_getmsg.c: deleted.
1866
18671998-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1868
1869 * if.c (multicast): add multicast flag [un]set fucntion.
1870
18711998-05-19 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1872
1873 * rt_socket.c: Modify for compile on Solaris, but dont't work it.
1874 rt_socket.c have some undefined function, so add directive "IMPLEMENT"
1875
18761998-05-18 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1877
1878 * zebra.c: Modify for compile on Solaris.
1879
18801998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1881
1882 * main.c: change CONFDIR to SYSCONFDIR.
1883
18841998-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1885
1886 * .cvsignore: added.
1887
18881998-04-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1889
1890 * client.c: moves to ../lib.
1891
18921998-03-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1893
1894 * if_ioctl.c (if_get_addr): Change address copy from memcopy() to
1895 structure assignment.
1896
18971998-03-30 URA Hiroshi <ura@yamato.ibm.co.jp>
1898
1899 * if_sysctl.c (ifm_interface_add): sdl->sdl_data copy bug fixed.
1900
19011998-02-23 "Hannes R. Boehm" <hannes@boehm.org>
1902
1903 * if.c (if_init): add config_exit_cmd and config_help_cmd.
1904
19051998-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
1906
1907 * rt_ioctl.c (route_ioctl): EPERM treatment added.
1908
19091998-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1910
1911 * rt_socket.c (kernel_read): communication port zebra between
1912 kernel is now handled by kernel_read.
1913
19141998-01-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1915
1916 * main.c (main): zebra [-P port] can specify vty port number.
1917
19181997-12-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1919
1920 * zebra.c: change select will be block.
1921
19221997-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1923
1924 * add static route treatment.
1925
19261997-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1927
1928 * rt_netlink.c: add netlink support over GNU/Linux system.
1929
19301997-11-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1931
1932 * all inet_addr is changed to inet_aton.
1933
1934 * zebra.c (ip_route): add ip route command for static routes.
1935
19361997-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1937
1938 * if.c (if_flag_dump): Linux port of if_flag_dump and _vty.
1939
19401997-11-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1941
1942 * if.c: add interface command.
1943
19441997-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1945
1946 * ipforward_proc.c : Now works on Linux.
1947
19481997-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1949
1950 * command.c : add completion feature.
1951
19521997-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1953
1954 * vty.c (vty_command): add vty interface.
1955
19561997-10-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1957
1958 * zebra.c: add verbose mode.
1959
19601997-10-12 SonMyong Ho <s-ho@Matrix.IRI.Co.Jp>
1961
1962 * Hydrangea for FreeBSD supported
1963 * in.h: add some prototype.
1964
19651997-10-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1966
1967 * rt_socket.c and rtread.c completely rewritten.
1968
19691997-10-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1970
1971 * rt_socket.c: rename kernel_sock to routing_socket
1972
19731997-10-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1974
1975 * if.c (if_new): interface structure change from linklist to vector.
1976
19771997-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1978
1979 * vector.c (vector_init): create vector related function
1980
19811997-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1982
1983 * Makefile.in: add tags target
1984
1985 * start IPv6 support for INRIA FreeBSD.
1986