blob: 0d69e75117cca08d6e16ac72296d5aef1bd7e30c [file] [log] [blame]
pauld06b2a62005-10-11 03:53:54 +000012005-10-11 Paul Jakma <paul.jakma@sun.com>
2
3 * connected.{c,h}: (connected_{add,delete}_ipv4) label should
4 be const qualified.
5
ajsc05612b2005-10-01 16:36:54 +000062005-10-01 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
7
ajsf52d13c2005-10-01 17:38:06 +00008 * zebra_vty.c: (route_type_str) Remove obsolete function: use new
9 library function zebra_route_string() instead. Note that there
10 are a few differences: for IPv6 routes, we now get "ripng" and
11 "ospf6" instead of the old behavior ("rip" and "ospf").
12 (route_type_char) Remove obsolete function: ues new library function
13 zebra_route_char() instead. Note that there is one difference:
14 the old function returned 'S' for a ZEBRA_ROUTE_SYSTEM route,
15 whereas the new one returns 'X'.
16 (vty_show_ip_route_detail,vty_show_ipv6_route_detail) Replace
17 route_type_str() with zebra_route_string().
18 (vty_show_ip_route,vty_show_ipv6_route) Replace route_type_char()
19 with zebra_route_char().
20
212005-10-01 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
22
ajsc05612b2005-10-01 16:36:54 +000023 * rt_netlink.c: (netlink_request) Use memset to clear structure
24 before calling sendto (eliminates a valgrind error message about
25 uninitialized data).
vincentaa2e32b2005-09-28 13:42:11 +000026
272005-09-28 Alain Ritoux <alain.ritoux@6wind.com>
28
vincentfbf5d032005-09-29 11:25:50 +000029 * zserv.c: Always provied distance for route add
30
312005-09-28 Alain Ritoux <alain.ritoux@6wind.com>
32
vincentaa2e32b2005-09-28 13:42:11 +000033 * connected.c: flag connected_up_ipv6() and connected_down_ipv6()
34 usage with HAVE_IPV6
35
hassod24af182005-09-24 14:00:26 +0000362005-09-24 Hasso Tepper <hasso at quagga.net>
37
38 * rib.h: Add note about behaviour of rib_add_ipv[46]* functions -
39 add is treated as implicit withdraw.
40
hassoebf1ead2005-09-21 14:58:20 +0000412005-09-21 David Young <dyoung@ojctech.com>
42
43 * zebra_rib.c: Reduce the height of some staircases. Fix
44 rib_delete_ipv6() to match routes in the RIB by their gateway as
45 well as by destination.
46
paul319572c2005-09-21 12:30:08 +0000472005-09-21 Paul Jakma <paul.jakma@sun.com>
48
49 * zebra_rib.c: (static_uninstall_ipv{4,6}) Fix regression wrt
50 removal of static routes with multiple-hops introduced with
51 the workqueue conversion. We should free the relevant
52 nexthop and then get rib_process to run, otherwise we just
53 get same static route back again (with no way to unconfigure
54 it, because its already deleted from configuration).
55
paulca162182005-09-12 16:58:52 +0000562005-09-12 Paul Jakma <paul.jakma@sun.com>
57
58 * (general) RTM_CHANGE and implicit withdraw on RTM_NEWADDR
59 support.
60 * connected.c: (connected_withdraw) new function. withdraw a
61 connected subnet address set from zebra, and pass information
62 along to clients.
63 (connected_announce) similar, but to announce a new connected
64 subnet address set.
65 (connected_check_ipv4) renamed to connected_check, as its
66 AFI independent.
67 (connected_add_ipv{4,6}) Remove the connected address announce
68 stuff, use connected_announce instead.
69 If connected_check indicates address is already present,
70 treat it as an implicit withdraw of the existing address, ie
71 remove the old address details and replace with the new
72 details.
73 (connected_delete_ipv{4,6}) Use connected_withdraw.
74 (connected_check_ipv6) deleted in favour of connected_check.
75 * connected.h: Rename connected_check_ipv4 to connected_check.
76 delete connected_check_ipv6.
77 * interface.c: Use connected_check rather than the AFI specific
78 symbols.
79 * kernel_socket.c: (rtm_read) RTM_CHANGE support. Create a
80 rib delete event for the existing route, before adding route
81 again.
82 (kernel_read) we can handle RTM_CHANGE now.
83
hassobe61c4e2005-08-27 06:05:47 +0000842005-08-27 Hasso Tepper <hasso at quagga.net>
85
86 * zebra_rib.c, rib.h: Add distance and metric arguments to the
87 rib_add_ipv6() function so that IPv6 routes in RIB can have correct
88 metric. No IPv6 routing daemon uses distance yet though.
89 * zserv.c, connected.c, kernel_socket.c, rt_netlink.c,
90 rtread_proc.c,zserv.c: Pass metric and distance info to the
91 rib_add_ipv6().
92
paul6eb88272005-07-29 14:36:00 +0000932005-07-29 Paul Jakma <paul.jakma@sun.com>
94
95 * interface.c: (if_delete_update) should always be available, not
96 just on RTM_IFANNOUNCE/NETLINK systems.
97 * kernel_socket.c: (ifan_read) only call if_delete_update when
98 interface departs, dont if_delete, because we wish to retain
99 interface configuration state even when interfaces are removed.
100 (ifm_read) If we dont have RTM_IFANNOUNCE, then transitioning
101 to down state is only chance we have to clean up interface in case
102 it is deleted (eg Solaris down -> unplumb -> plumb up).
103 * redistribute.c: (zebra_interface_delete_update) should always be
104 available, we /will/ call it now on all systems, via
105 if_delete_update.
106 * zserv.c: (zsend_interface_delete) ditto
107 (zsend_interface_address) Update the call-flow diagramme, to
108 reflect that if_delete_update /is/ now called on all systems,
109 potentially.
110 * zserv.h: (zsend_interface_delete) unconditionally exported, as
111 above.
112
paula1ac18c2005-06-28 17:17:12 +00001132005-06-28 Paul Jakma <paul.jakma@sun.com>
114
115 * (global) Extern and static'ification, with related fixups
116 of declarations, ensuring files include their own headers, etc.
paulea6f82b2005-06-28 17:20:26 +0000117 * if_ioctl.c: (interface_info_ioctl) fix obvious arg mis-order in
paula1ac18c2005-06-28 17:17:12 +0000118 list loop
paulea6f82b2005-06-28 17:20:26 +0000119 * kernel_socket.c: (RTA_{ADDR,ATTR}_GET) fix mistake, NULL check
120 should be on DEST argument
paula1ac18c2005-06-28 17:17:12 +0000121
paul62debbb2005-06-14 14:07:07 +00001222005-06-14 Paul Jakma <paul.jakma@sun.com>
123
124 * kernel_socket.c: consolidate the IFAM{ADDR,MASK}GET and
125 RTM{ADDR,MASK}GET macros into generic rta_addrs macros,
126 RTA_{ADDR,ATTR}_GET.
127 (af_check) could use 'inline' attribute
128 (ifam_read_mesg) remove IFAM{ADDR,MASK}GET macro, change to
129 generic macro.
130 (rtm_read_mesg) similar
131
hasso1ada8192005-06-12 11:28:18 +00001322005-06-12 Hasso Tepper <hasso at quagga.net>
133
134 * rt_netlink.c: Remove netlink-addr socket declaration, it's not used.
135 * rt_netlink.c (netlink_parse_info): Fix debug messages - nlmsg_pid is
136 unsigned and one zlog call had swapped arguments.
137 * rt_netlink.c (netlink_route_multipath): Fix compile with disabled
138 IPv6 support.
139
paul1dcb5172005-05-31 08:38:50 +00001402005-05-31 Paul Jakma <paul.jakma@sun.com>
141
142 * zserv.c: (zsend_route_multipath) Fix bug if route is sent
143 with no NEXTHOP_FLAG_FIB nexthops. As ZAPI_MESSAGE_IFINDEX
144 and ZAPI_MESSAGE_NEXTHOP are always set, clients would try
145 read non-existent nexthop information and hit stream assert.
146 Zserv is still broken for multi-nexthop messages, but it always was.
147
paul69e10ad2005-05-06 21:27:33 +00001482005-05-06 Paul Jakma <paul.jakma@sun.com>
149
150 * zserv.h: Remove ZEBRA_PORT definition, its in lib/zebra.h now
151
paul4d38fdb2005-04-28 17:35:14 +00001522005-04-28 Paul Jakma <paul.jakma@sun.com>
153
154 * rib.h: (struct rib) Add lock field for refcounting.
155 * zserv.h: (struct zebra_t) Add a ribq workqueue to the zebra
156 'master' struct.
157 * zserv.c: (zread_ipv4_add) XMALLOC then memset should be XCALLOC.
158 * zebra_rib.c: Clean up refcounting of route_node, make struct rib
159 refcounted and convert rib_process to work-queue. In general,
160 rib's should be rib_addnode'd and delnode'd to route_nodes, and
161 these symmetrical functions will manage the locking of referenced
162 route_node and freeing of struct rib - rather than having users
163 manage each seperately - with much scope for bugs..
164 (newrib_free) removed and replaced with rib_lock
165 (rib_lock) new function, check state of lock and increment.
166 (rib_unlock) new function, check lock state and decrement. Free
167 struct rib if refcount hits 0, freeing struct nexthop's, as
168 newrib_free did.
169 (rib_addnode) Add RIB to route_node, locking both.
170 (rib_delnode) Delete RIB from route_node, unlocking each.
171 (rib_process) Converted to a work-queue work function.
172 Functional changes are minimal, just arguments, comments and
173 whitespace.
174 (rib_queue_add_qnode) Helper function to setup a ribq item.
175 (rib_queue_add) Helper function, same arguments as old
176 rib_process, to replace in callers of rib_process.
177 (rib_queue_qnode_del) ribq deconstructor.
178 (rib_queue_init) Create the ribq.
179 (rib_init) call rib_queue_init.
180 (remainder) Sanitise refcounting of route_node's. Convert to
181 rib_queue_add, rib_addnode and rib_delnode. Change XMALLOC/memset
182 to XCALLOC. Remove calls to nexthop_delete and nexthop_free.
183
paulcf460ef2005-04-10 16:54:26 +00001842005-04-10 Paul Jakma <paul@dishone.st>
185
186 * if_ioctl_solaris.c: (if_lookup_linklocal) fix order of args
187 in ALL_LIST_ELEMENTS_RO macro.
188
ajs57a14772005-04-10 15:01:56 +00001892005-04-10 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
190
191 * zserv.c (zebra_client_read): Fix bug: first read attempt should
192 read ZEBRA_HEADER_SIZE minus the number of bytes already read.
193 Improve efficiency by maintaining a calculation of the number
194 of bytes read instead of calling stream_get_endp multiple times.
195 If message length is too small, issue a warning message (not debug)
196 before closing the connection. And also check that message length
197 is not too big.
198
hasso206d8052005-04-09 16:38:51 +00001992005-04-09 Hasso Tepper <hasso at quagga.net>
200
hassofa599802005-04-09 16:59:28 +0000201 * rt_netlink.c: One tiny missing comma caused pointless debug messages
202 about IPv6 nexthops.
203
2042005-04-09 Hasso Tepper <hasso at quagga.net>
205
hasso206d8052005-04-09 16:38:51 +0000206 * rt_netlink.c (netlink_parse_info): Fix warning. It's safe to cast
207 status to unsigned here, because we already checked that it isn't
208 negative or 0.
209 * rt_netlink.c (netlink_interface_addr): Prefix length belongs to the
210 address, not to the interface.
211 * rt_netlink.c (netlink_route_multipath): Fix debug. No useless info
212 is printed out now and IPv6 info is handeled.
213
paul3d1dc852005-04-05 00:45:23 +00002142005-04-05 Paul Jakma <paul@dishone.st>
215
216 * zserv.c: print more helpful errors when we fail to successfully
217 bind and listen on zserv socket. Closes bugzilla #163.
218
ajsd2fc8892005-04-02 18:38:43 +00002192005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
220
ajs08dbfb62005-04-03 03:40:52 +0000221 * if_ioctl.c: (interface_list_ioctl) Use if_get_by_name_len.
222 * if_proc.c: (ifaddr_proc_ipv6) Increase size of ifname buffer to
223 avoid overflow.
224 * kernel_socket.c: (ifan_read) Use if_get_by_name_len.
225
2262005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
227
ajsa3491982005-04-02 22:50:38 +0000228 * kernel_socket.c: (ifm_read) Use new if_lookup_by_name_len function
229 to save a memcpy.
230 * if_ioctl_solaris.c: (interface_list_ioctl) Fix subtle bug with new
231 if_get_by_name_len function.
232
2332005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
234
ajsd2fc8892005-04-02 18:38:43 +0000235 * interface.c: (if_new_intern_ifindex) Remove obsolete function.
236 (if_delete_update) After distributing the interface deletion message,
237 set ifp->ifindex to IFINDEX_INTERNAL.
238 (if_dump_vty) Detect pseudo interface by checking if ifp->ifindex is
239 IFINDEX_INTERNAL.
240 (zebra_interface) Check return code from interface_cmd.func.
241 Do not set internal ifindex values to if_new_intern_ifindex(),
242 since we now use IFINDEX_INTERNAL for all pseudo interfaces.
243 * kernel_socket.c: (ifm_read) Fix code and comments to reflect that
244 all internal interfaces now have ifp->ifindex set to IFINDEX_INTERNAL.
245 * rt_netlink.c: (set_ifindex) New function used to update ifp->ifindex.
246 Detects interface rename events by checking if that ifindex is already
247 being used. If it is, delete the old interface before assigning
248 the ifindex to the new interface.
249 (netlink_interface, netlink_link_change) Call set_ifindex to update
250 the ifindex.
251
hassob7ed1ec2005-03-31 20:13:49 +00002522005-03-31 Hasso Tepper <hasso at quagga.net>
253
254 * rt_netlink.c (netlink_talk_filter): Show always warning message,
255 it's not for debug.
256 * rt_netlink.c (netlink_talk): Don't assume we use netlink_cmd
257 although we do now actually.
258 * rt_netlink.c (netlink_route, netlink_route_multipath): Always use
259 netlink_cmd to send messages to the kernel.
260
ajs2da40f42005-03-30 16:33:13 +00002612005-03-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
262
263 * irdp.h: Add prototype for irdp_sock_init, and fix protos for
264 other irdp_* functions.
265 * irdp_interface.c: (irdp_if_start) If irdp_sock is negative,
266 call irdp_sock_init to create the IRDP socket.
267 (irdp_if_init) Rename to irdp_init().
268 (get_iflist_ifp) Remove function that is a duplicate of
269 if_lookup_by_index.
270 (*) Make many functions static. And remove superfluous "\n" from
271 several zlog messages.
272 * irdp_main.c: (irdp_init) Remove function that used to call
273 irdp_if_init() and irdp_sock_init(), since we will now create
274 the socket only upon first use.
275 (irdp_sock_init) Do not update global irdp_sock variable, just
276 return the fd and assume that the caller will do so. If setsockopt
277 calls fail, close the socket before returning -1.
278 (*) Make many functions static.
279 * irdp_packet.c: Initialize irdp_sock to -1.
280 (irdp_read_raw) Call standard library function if_lookup_by_index
281 instead of get_iflist_ifp.
282 (irdp_recvmsg) Should be static, not global.
283
ajsa608bbf2005-03-29 17:03:49 +00002842005-03-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
285
286 * rt_netlink.c: (netlink_link_change) If the status of an
287 operative interface changes (e.g. MTU changes), the client
288 daemons should be notified by calling zebra_interface_up_update.
289 Previously, the information was being updated in zebra's
290 interface structure, but the clients were not notified of
291 changes to an operative interface.
292
vincent7cee1bb2005-03-25 13:08:53 +00002932005-03-25 Jean-Mickael Guerin <jean-mickael.guerin@6wind.com>
294 * interface.c, interface.h, rtadv.c, rtadv.h: modifications to
295 IPv6 Neighbor Discovery according to RFC3775, section 7:
296 o 1-bit Home Agent flag management in Router Advertisement (7.1).
297 o 1-bit Router Address flag management in Prefix Information
298 Option (7.2).
299 o Advertisement Interval Option (7.3)
300 o Home Agent Information Option (7.4)
301 o Changes to Sending Router Advertisements more frequently (7.5)
302
hassoed9bb6d2005-03-13 19:17:21 +00003032005-03-13 Hasso Tepper <hasso at quagga.net>
304
305 * zebra/interaface.c: "show interface description" command
306 implemented.
307
paulc1f01f32005-03-12 06:33:14 +00003082005-03-12 Paul Jakma <paul@dishone.st>
309
310 * rt_netlink.c: (netlink_route_multipath) dont set equalise flag.
311 No stock Linux kernel has ever supported it, and even if it had
312 it's not generally a good idea.
313
hasso42a66d72005-03-07 08:19:44 +00003142005-03-07 Michael Sandee <voidptr@voidptr.sboost.org>
315
316 * if_proc.c, ipforward_proc.c, rtread_proc.c: Fix fd leaks.
317
hasso3452d472005-03-06 13:42:05 +00003182005-03-06 Hasso Tepper <hasso at quagga.net>
319
320 * interface.c: Fix CRC and frame errors statistics in Linux.
321
ajs719e9742005-02-28 20:52:15 +00003222005-02-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
323
324 * zserv.c: Must include network.h and buffer.h for non-blocking I/O.
325 Remove global message_queue and t_write (need separate buffering for
326 each client).
327 (zebra_server_dequeue,zebra_server_enqueue) Remove functions
328 related to old buggy buffering code.
329 (zserv_delayed_close) New thread callback function to delete a client.
330 (zserv_flush_data) New thread callback function to flush buffered
331 data to client.
332 (zebra_server_send_message) Rewritten to use buffer_write (so
333 buffering of writes and non-blocking I/O work properly).
334 (zsend_interface_add,zsend_interface_delete,zsend_interface_address,
335 zsend_interface_update) Return 0 instead of -1 if !client->ifinfo
336 (this is not really an error). Return value from
337 zebra_server_send_message.
338 (zsend_route_multipath,zsend_ipv4_nexthop_lookup,
339 zsend_ipv4_import_lookup) Return value from zebra_server_send_message.
340 (zsend_ipv6_nexthop_lookup) Fix scope to static, and return value
341 from zebra_server_send_message.
342 (zsend_router_id_update) Must use zebra_server_send_message instead
343 of deprecated writen function. Return 0 instead of -1 if this client
344 is not subscribed to router-id updates (since this is not really
345 an error).
346 (zread_interface_add) Change type to static int. If
347 zsend_interface_add fails or zsend_interface_address fails, return -1
348 immediately (since the client has had an I/O error).
349 (zread_interface_delete,zread_ipv4_add,zread_ipv4_delete,
350 zread_ipv6_add,zread_ipv6_delete,zread_router_id_delete) Return 0
351 to indicate success.
352 (zread_ipv4_nexthop_lookup) Return value from
353 zsend_ipv4_nexthop_lookup.
354 (zread_ipv4_import_lookup) Return value from zsend_ipv4_import_lookup.
355 (zebra_read_ipv6) Remove unused function.
356 (zread_ipv6_nexthop_lookup) Return value from
357 zsend_ipv6_nexthop_lookup.
358 (zread_router_id_add) Return value from zsend_router_id_update.
359 (zebra_client_close) Call buffer_free(client->wb) and
360 thread_cancel(client->t_suicide).
361 (zebra_client_create) Allocate client->wb using buffer_new.
362 (zebra_client_read) Support non-blocking I/O by using stream_read_try.
363 Use ZEBRA_HEADER_SIZE instead of 3.
364 (zebra_accept) Fix bug: reset accept thread at top. Make client
365 socket non-blocking using the set_nonblocking function.
366 (config_write_forwarding) Fix scope to static.
367 (zebra_init) Remove initialization code for old buggy write buffering.
368 * zserv.h: Add 2 new fields to struct zserv: struct buffer *wb
369 (to enable buffered writes with non-blocking I/), and
370 struct thread *t_suicide to support delayed close on I/O
371 errors.
372 * router-id.h: Remove prototypes for zread_router_id_add and
373 zread_router_id_delete (their scope should be static to zserv.c).
374
ajs27da3982005-02-24 16:06:33 +00003752005-02-24 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
376
377 * redistribute.c: (zebra_check_addr,is_default,
378 zebra_redistribute_default,zebra_redistribute) Fix scope to be static.
379
hassoe8274dc2005-02-20 19:09:23 +00003802005-02-20 Hasso Tepper <hasso at quagga.net>
381
382 * rt_netlink.c: Don't show messages "ignoring message type 0x001[89]"
383 if we are not debugging.
384
paule31f2292005-02-19 02:00:26 +00003852005-02-19 Paul Jakma <paul@dishone.st>
386
387 * zserv.c: (zebra_read_ipv6) replace the char * arithmetic with
388 STREAM_READABLE.
389
paul1e193152005-02-14 23:53:05 +00003902005-02-14 Paul Jakma <paul@dishone.st>
391
392 * Not all Linux netlink systems have IFLA_WIRELESS
393
ajs6a52d0d2005-01-30 18:49:28 +00003942005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
395
396 * ioctl.c: (if_ioctl,if_ioctl_ipv6,if_get_flags) Replace perror with
397 zlog_err.
398 * ioctl_solaris.c: (if_ioctl,if_ioctl_ipv6) Replace perror with
399 zlog_err.
400
ajs4be019d2005-01-29 16:12:41 +00004012005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
402
ajs4460e7a2005-01-29 17:07:40 +0000403 * if_ioctl_solaris.c: (interface_list_ioctl) Save errno before calling
404 zserv_privs.change.
405 * ioctl{,_solaris}.c: (if_ioctl,if_ioctl_ipv6) Save errno before calling
406 zserv_privs.change.
407 * ipforward_solaris.c: (solaris_nd) Save errno before calling
408 zserv_privs.change.
409 * irdp_main.c: (irdp_sock_init) Save errno before calling
410 zserv_privs.change.
411
4122005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
413
ajs4be019d2005-01-29 16:12:41 +0000414 * rt_netlink.c: (netlink_socket,netlink_request,netlink_parse_info,
415 netlink_talk) Save errno before calling zserv_privs.change.
416
paulc15cb242005-01-24 09:05:27 +00004172005-01-24 Martin Pot <mpot at martybugs.net>
418
419 * zebra/rt_netlink.c: ignore wireless newlink netlink messages.
420
hasso6f2c27a2005-01-18 13:44:35 +00004212005-01-18 Hasso Tepper <hasso at quagga.net>
422
423 * interface.c: Better statistics output in "show interface" command in
424 case of /proc being used.
425
hasso583d8002005-01-16 23:34:02 +00004262005-01-17 Hasso Tepper <hasso at quagga.net>
427
428 * main.c: With --nl-bufsize argument is required.
429
paul865b8522005-01-05 08:30:35 +00004302005-01-05 Paul Jakma <paul@dishone.st>
431
432 * zserv.c: (zebra_accept) Comment out setting of socket to NONBLOCK
433 for now, as we dont actually deal with with resending.... See
434 bugzilla #122, fix from wawa@yandex-team.ru (Vladimir Ivanov).
435 * kernel_socket.c: (routing_socket) ditto.
436
ajsb99760a2005-01-04 16:24:43 +00004372005-01-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
438
439 * rtadv.c: (rtadv_recv_packet,rtadv_send_packet) Use ZCMSG_FIRSTHDR
440 instead of CMSG_FIRSTHDR.
441
ajs341a8f12004-12-22 16:32:16 +00004422004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
443
444 * connected.c: (connected_add_ipv4) Limit warning about /32 addresses
445 with no peer specified to PtP interfaces only.
446
hassob8adec12004-12-18 16:03:28 +00004472004-12-18 Hasso Tepper <hasso at quagga.net>
448
449 * zebra_vty.c: Fix "show ipv6 route <proto>" command help and make it
450 work for isis routes.
451
gdt6a250b02004-12-09 14:48:12 +00004522004-12-09 Greg Troxel <gdt@fnord.ir.bbn.com>
453
454 * kernel_socket.c (rtmsg_debug): char * => const char *
455
ajs274a4a42004-12-07 15:39:31 +00004562004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
457
ajsb6178002004-12-07 21:12:56 +0000458 * *.c: Change level of debug messages to LOG_DEBUG.
459
4602004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
461
ajs274a4a42004-12-07 15:39:31 +0000462 * main.c: (main) The 2nd argument to openzlog has been removed.
463 So stdout logging will no longer be enabled by default.
464 * irdp_main.c: (irdp_finish) Reduce severity of shutdown message
465 from LOG_WARNING to LOG_INFO.
466
ajs887c44a2004-12-03 16:36:46 +00004672004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
468
469 * main.c: (sigint) Use zlog_notice for termination message.
470 (main) Add a startup announcement using zlog_notice.
471
hassoaccb1562004-11-25 19:21:07 +00004722004-11-25 Hasso Tepper <hasso at quagga.net>
473
474 * irdp_interface.c: Remove comment from DEFUN, it breaks vtysh because
475 it confuses extract.pl.
hassoc0652302004-11-25 19:33:48 +0000476 * main.c: Make group to run as configurable.
hassoaccb1562004-11-25 19:21:07 +0000477
hasso6bd7c6a2004-10-28 17:32:27 +00004782004-10-28 Hasso Tepper <hasso at quagga.net>
479
480 * interface.c: Remove dead "ip tunnel" command.
481
paul06f953f2004-10-22 17:00:38 +00004822004-10-22 Paul Jakma <paul@dishone.st>
483
484 * irdp_main.c: change setsockopt_pktinfo to setsockopt_ifindex
485
hasso3fb9cd62004-10-19 19:44:43 +00004862004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
487
488 * rt_netlink.c: (netlink_interface_addr) For PtP interfaces, ignore
489 tb[IFA_ADDRESS] if it's the same as tb[IFA_LOCAL].
490 * interface.c: (ip_address_install) Use new ipv4_broadcast_addr
491 function.
492 * connected.c: (connected_up_ipv4) Use CONNECTED_POINTOPOINT_HOST
493 macro.
494 (connected_down_ipv4) ditto.
495 (connected_add_ipv4) Validate destination address, print warnings
496 if it does not make sense.
497
hassoc1eaa442004-10-19 06:26:01 +00004982004-10-19 Hasso Tepper <hasso at quagga.net>
499
500 * zserv.c: Fix regression introduced with zserv cleanup.
501
hassoc75105a2004-10-13 10:33:26 +00005022004-10-13 Hasso Tepper <hasso at quagga.net>
503
504 * zebra_snmp.c: Remove defaults used to initialize smux connection to
505 snmpd. Connection is initialized only if smux peer is configured.
hassob71f00f2004-10-13 12:20:35 +0000506 * zserv.c: Remove useless warnings "forwarding is already on".
hassoc75105a2004-10-13 10:33:26 +0000507
hasso39ff11d2004-10-12 15:55:19 +00005082004-10-12 Hasso Tepper <hasso at quagga.net>
509
510 * zebra_vty.c: Unbreak "show ip route" command help and make it work
511 for isis routes.
hasso39db97e2004-10-12 20:50:58 +0000512 * interface.c(if_dump_vty): Show IPv6 addresses in "show interface"
513 output. Fixes Bugzilla #119.
514 * *.c: Make some strings const and some (unsigned) casts to fix
515 compiler warnings.
hasso39ff11d2004-10-12 15:55:19 +0000516
hassofce954f2004-10-07 20:29:24 +00005172004-10-07 Hasso Tepper <hasso at quagga.net>
518
519 * connected.c, main.c, rt_netlink.c, rtadv.c, zebra_rib.c, zserv.c:
520 Fix warnings: make strings const, signed -> unsigned.
521
paul72164662004-10-05 14:39:43 +00005222004-10-05 Paul Jakma <paul@dishone.st>
523
524 * irdp_packet.c: (parse_irdp_packet) style issues.
525 Use sockopt_iphdrincl_swab_systoh.
526 Try unbork the code. Checksum the ICMP data and actually
527 compare it to received checksum. Check data length against
528 claimed length in header.
529 Always use ntoh.. when accessing addresses, even when the
530 comparison happens to be endian-safe.
531 (send_packet) minor style isues. Use
532 sockopt_iphdrincl_swab_htosys.
533 (irdp_iph_hton/ntoh) IP header to/from network/host order.
534
hassoeef1fe12004-10-03 18:46:08 +00005352004-10-03 Gilad Arnold <gilad.arnold at terayon.com>
536
537 * interface.c, interface.h: A new prefix tree of connected subnets is
538 associated with each interface structure in zebra, in which each
539 live (ie, non-synthetic) node holds a list of installed addresses
540 that belong to that prefix. Remove secondary address logic from cli.
541 See [quagga-dev 872] for detailed explanation.
542 * connected.c: Use if_subnet_add() and if_subnet_delete().
543
hasso18a6dce2004-10-03 18:18:34 +00005442004-10-03 James R. Leu <jleu at mindspring.com>
545
546 * router-id.c, router-id.h: New files. Router id selection process. If
547 there is non 127.x.x.x address in loopack interface, lowest of them
548 is chosen. If there isn't, lowest from other interfaces addresses
549 are chosen. "router-id x.x.x.x" vty command to manual override.
550 * Makefile.am: Compile new files.
551 * main.c: Initialize router id.
552 * redistribute.c: Add interface addresses into router id selection
553 lists as they (dis)appear.
554 * zserv.c, zserv.h: Sending router id related messages to daemons.
555
hassoc9e52be2004-09-26 16:09:34 +00005562004-09-26 Hasso Tepper <hasso at quagga.net>
557
558 * irdp_interface.c, irdp_main.c, irdp_packet.c, rt_netlink.c,
559 rtadv.c, zebra_vty.c: Fix compiler warnings.
560
paul0c0f9112004-09-24 08:24:42 +00005612004-09-24 Paul Jakma <paul@dishone.st>
562
paul26f7a242004-09-24 08:45:10 +0000563 * irdp_interface.c: (no_ip_irdp_address_preference_cmd)
564 add missing listnode declaration.
565
5662004-09-24 Paul Jakma <paul@dishone.st>
567
paul0c0f9112004-09-24 08:24:42 +0000568 * irdp_{interface,main}.c: lists typedef removal cleanup.
569 update some list loops to LIST_LOOP. some miscellaneous style
570 and indent fixups.
571 (no_ip_irdp_address_preference_cmd) Fix delete of referenced node
paul26f7a242004-09-24 08:45:10 +0000572 in loop.
paul0c0f9112004-09-24 08:24:42 +0000573 * irdp_packet.c: (irdp_recvmsg) Fix buggy assignment of integer
574 to pointer.
575 * if_ioctl{,_solaris}.c: lists typedef removal cleanup.
576 update some list loops to LIST_LOOP.
577
hasso52dc7ee2004-09-23 19:18:23 +00005782004-09-23 Hasso Tepper <hasso at quagga.net>
579
580 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
581
paul44983cf2004-09-22 13:15:58 +00005822004-09-22 Paul Jakma <paul.jakma@sun.com>
583
584 * zserv.c: (zsend_route_multipath) fix nasty bad memset of struct
585 in_addr to sizeof(struct in6_addr), causing odd and hard to debug
586 crash.
587
hassoc34b6b52004-08-31 13:41:49 +00005882004-08-31 Hasso Tepper <hasso at quagga.net>
589
590 * main.c, rt_netlink.c: Added -s command line switch for tuning
591 netlink receive buffer size in Linux to avoid buffer overruns.
592
gdta5ea6872004-08-26 13:24:00 +00005932004-08-26 Miles Nordin <carton@Ivy.NET>
594
595 * ipforward_sysctl.c (mib_ipv6): Use size_t for len, per
596 sysctl(3), rather than int. (Needed on NetBSD/alpha to display
597 forwarding status correctly.)
598
paul3e0b3a52004-08-23 18:58:32 +00005992004-08-23 Paul Jakma <paul@dishone.st>
600
601 * zserv.c: (zebra_init) remove implicit ip forward enabling
602
paul0de1cde2004-08-19 04:45:33 +00006032004-08-19 Paul Jakma <paul@dishone.st>
604
605 * irdp_main.c: update to match sockopt renames.
606 * irdp_packet.c: include sockopt.h and update to match sockopt
607 renames.
608
gdt57492d52004-08-11 18:06:38 +00006092004-08-11 Greg Troxel <gdt@fnord.ir.bbn.com>
610
611 * rtadv.c (rtadv_send_packet): Allocate space for control messages
612 more carefully; it was wrong on NetBSD/sparc where CMSG alignment
613 is to 8 bytes instead of 4, and overwriting the address. Use the
614 provided macros for determining lengths.
615
paul5b73a672004-07-23 15:26:14 +00006162004-07-23 Sowmini Varadhan <Sowmini.Varadhan@Sun.COM>
617
618 * if_ioctl_solaris.c: HAVE_IPV6 ifdef fixups
619 * zserv.c: ditto
620 * ioctl_solaris.c: ditto.
621 * interface.c: cast for LLADDR
622 * interface.h: Add guards, include redistribute.h and remove
623 extraneous definitions of zebra_interface_{up,down}_update
624 * ioctl.h: Add AF_IOCTL define for non SOLARIS_IPV6
625 * redistribute.h: include dependent header, zserv.h
626 * zserv.h: include dependent header, rib.h
627
paul1470baf2004-07-23 15:25:01 +00006282004-07-23 Paul Jakma <paul@dishone.st>
629
630 * irdp_main.c: use setsockopt_pktinfo_ipv4
631 * irdp_packet.c: use SOPT_SIZE_CMSG_PKTINFO_IPV4 and
632 getsockopt_pktinfo_ifindex()
633
gdtcced60d2004-07-13 16:45:54 +00006342004-07-13 David Wiggins <dwiggins@bbn.com
635
636 * kernel_socket.c (rtm_flag_dump): terminate buffer with '\0', not '0'.
637
hasso25dac852004-07-13 03:06:51 +00006382004-07-13 Hasso Tepper <hasso@estpak.ee>
639
640 * irdp_main.c: Add privilege change.
641
hasso996933f2004-07-12 16:32:56 +00006422004-07-12 Hasso Tepper <hasso@estpak.ee>
643
644 * irdp_interface.c: follow common style while naming vty command
645 functions. Avoids confusion in extract.pl.
646
gdt87efd642004-06-30 17:36:11 +00006472004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
648
649 * main.c: define thread_master variable so that linking with
650 libzebra.so doesn't fail. Arguably zclient.o should be in a
651 separate library, but this is far less disruptive.
652
hassoca776982004-06-12 14:33:05 +00006532004-06-12 Robert Olsson <Robert.Olsson at data.slu.se>
654
655 * Added IRDP support.
656
hasso3e31cde2004-05-18 11:58:59 +00006572004-05-18 Hasso Tepper <hasso@estpak.ee>
658
659 * rtadv.c: Removed "[no] ipv6 nd send-ra" command. Replaced "ipv6 nd
660 prefix-advertisement" with "ipv6 nd prefix". Rewrite syntax of
661 "ipv6 nd prefix" command to allow various combinations of parameters
662 and flags. No defaults in configuration. Replaced on-link and
663 autoconfig with off-link and no-autoconfig flags in command syntax.
664 Cosmetic fixes in all commands. Documentation to reflect all changes.
665
paul19877dd2004-05-11 10:49:35 +00006662004-05-11 Paul Jakma <paul@dishone.st>
667
668 * Makefile.am: support for IOCTL_METHOD, as per Sowmini's patch.
paul48a46fa2004-05-11 10:55:22 +0000669 * if_ioctl_solaris.c: Fixup some erroneous privilege changes and
670 add privs.h header.
671 * ioctl_solaris.c: ditto
paulc50ae8b2004-05-11 11:31:07 +0000672 * ioctl.h: Add if_ioctl_ipv6 prototype and AF_IOCTL for SOLARIS_IPV6
673 * kernel_socket.c: Fix SAROUNDUP, compiler doesnt like do..while
674 RHS in assignments :)
675 * redistribute.c: (zebra_interface_delete_update) only used
676 if RTM_IFANNOUNCE and NETLINK is available.
677
paulb9df2d22004-05-09 09:09:59 +00006782004-05-09 Paul Jakma <paul@dishone.st>
679
680 * zserv.c: (zsend_route_multipath) Set the nexthop_num
681 field correctly. Add NEXTHOP_TYPE_IPV6_IFNAME for v6.
682 Conditionally set ZAPI_MESSAGE_METRIC flag - only for adds.
683 (zsend_ipv4_add) cruft, deleted.
684 (zsend_ipv4_delete) ditto.
685 (zsend_ipv6_add) ditto.
686 (zsend_ipv6_delete) ditto.
paul44145db2004-05-09 11:00:23 +0000687 * ioctl.c: (if_get_mtu) set mtu6 to mtu
688 * mtu_kvm.c: (if_kvm_get_mtu) set mtu6 to mtu
689 * rt_netlink.c: (netlink_interface) set mtu6 to mtu
690 (netlink_link_change) ditto
paul66e94882004-05-09 17:19:24 +0000691 * ipforward_solaris.c: fix typo of ND variable.
paul88424682004-05-09 18:21:35 +0000692 * if_ioctl_solaris.c: Add zprivs support.
693 * ioctl_solaris.c: ditto.
paul66e94882004-05-09 17:19:24 +0000694
paulb9df2d22004-05-09 09:09:59 +00006952004-05-09 Sowmini Varadhan <sowmini.varadhan@sun.com>
696
697 * zserv.c: (zsend_ipv{4,6}_{add,delete}_multipath) collapsed
698 into single zsend_route_multipath function.
699 (zsend_interface_{up,down}) collapsed into zsend_interface_update.
700 (zsend_interface_address_{add,delete}) collapsed into
701 zsend_interface_address.
702 (zsend_interface_add) send mtu6.
703 (zsend_interface_delete) ditto.
704 (zebra_write) remove unused function.
705 (various) Apply static qualifier. Add comments.
706 * zserv.h: Definitions changed as per above.
707 * redistribute.c: Changes as per zserv.c.
paul44145db2004-05-09 11:00:23 +0000708 * interface.c: (if_delete_update) only used with HAVE_NETLINK
709 and RTM_IFANNOUNCE.
710 (if_flag_dump_vty) Solaris IFF_IPV4 and IFF_IPV6 if flags
711 (if_dump_vty) print mtu6 if not same as mtu
paul88424682004-05-09 18:21:35 +0000712 * if_ioctl_solaris.c: New file, Solaris interface ioctl methods.
713 * ioctl_solaris.c: New file, Common solaris ioctl methods.
714
hasso34195bf2004-04-06 12:07:06 +00007152004-04-06 Krzysztof Oledzki <oleq@ans.pl>
716
717 * rt_netlink.c: Do not ignore metric when reading kernel routing
718 table on Linux with rt_netlink interface.
719
7202004-03-18 Hasso Tepper <hasso@estpak.ee>
hassof1d92e12004-03-18 15:40:33 +0000721
722 * interface.c: Temporary fix for handling secondary addresses
723 with label.
724
hasso55906722004-02-11 22:42:16 +00007252004-02-12 Hasso Tepper <hasso@estpak.ee>
hassof1d92e12004-03-18 15:40:33 +0000726
hasso55906722004-02-11 22:42:16 +0000727 * zserv.c: Added "ipv6 forwarding" command.
728
gdtb27900b2004-01-08 15:44:29 +00007292004-01-08 Greg Troxel <gdt@fnord.ir.bbn.com>
730
731 * kernel_socket.c (kernel_read): Use sockaddr_storage in buffer
732 for reading kernel messages to ensure enough space (necessary on
733 Solaris due to sockaddr_dl being large). Thanks to Sowmini
734 Varadhan for help with this change.
735
gdt9ccabd12004-01-06 18:23:02 +00007362004-01-06 Greg Troxel <gdt@t1.ir.bbn.com>
737
738 * rtadv.c (rtadv_send_packet): Change perror to zlog_err.
739
gdtdbee01f2004-01-06 00:36:51 +00007402004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
gdt4bfbea82004-01-06 01:13:05 +0000741 * kernel_socket.c (ifm_read): Major cleanup. Use Sowmini's code
742 to find the sockaddr_dl in all cases, narrowing the Solaris ifdef
743 to just the accomodation of broken kernels. Check sockaddr_dl
744 carefully up front, and later assume any non-NULL sdl pointer is
745 valid. Clean up types and variable declarations, and rename
746 WRAPUP to SAROUNDUP to make the name fit the behavior.
747
7482004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
gdtdbee01f2004-01-06 00:36:51 +0000749
750 * kernel_socket.c (kernel_read): Add a sockaddr_dl to the ifmsg
751 structure, because on Solaris sockaddr_dl is far larger than the
752 base sockaddr structure. (The code had previously been failing to
753 read all the data.)
gdt4bfbea82004-01-06 01:13:05 +0000754
gdtda26e3b2004-01-05 17:20:59 +00007552004-01-05 Greg Troxel <gdt@ahi.ir.bbn.com>
756
757 * kernel_socket.c (kernel_read): Look up interfaces by index
758 first, so that state changes which do not include a sockaddr_dl
759 now work. Add many sanity checks. In
760 particular, do not assume that a sockaddr_dl follows a message
761 without checking the ifm_addrs flags, and do not trust the length
762 in a sockaddr_dl. Add/clarify many comments.
763
gdt4b5e1352003-12-03 17:54:34 +00007642003-12-03 Greg Troxel <gdt@poblano.ir.bbn.com>
765
766 * rtadv.c: reorder includes to avoid compiler warning (define
767 structs before using them in prototypes)
768
hasso647e4f12003-05-25 11:43:52 +00007692003-05-25 Jim Crumpler <Jim.Crumpler@edion.com>
770
771 * zserv.c: Add "ip forwarding" command.
772
paul445f1432003-05-16 19:00:31 +00007732003-05-16 Gilad Arnold <gilad.arnold@terayon.com>
774
775 * zebra_rib.c: Fix memory leaks for ifname nexthops
776
7772003-04-19 Israel Keys <ikeys@agile.tv>
778
779 * rt_netlink.c: BLOCK on netlink while initialising
780
7812003-02-06 Francois Deppierraz <francois@ctrlaltdel.ch>
782
783 * rt_netlink.c (netlink_route_multipath): Set RTM_F_EQUALIZE when
784 it exists.
785
paul718e3742002-12-13 20:15:29 +00007862002-09-28 Akihiro Mizutani <mizutani@net-chef.net>
787
788 * zebra_rib.c (static_add_ipv4): Null0 static route is added.
789
7902002-09-10 Jochen Friedrich <chris+zebra@scram.de>
791
792 * rt_netlink.c: Add check for EAGAIN.
793 * kernel_socket.c: Likewise
794
7952002-06-12 Israel Keys <ikeys@oz.agile.tv>
796
797 * rt_netlink.c: Setting the NLM_F_ACK flag on the netlink command
798 message so that we get an ACK for successful netlink commands.
799 Change the netlink socket to BLOCKING while we wait for a
800 response; be it an ACK or an NLMSG_ERROR. Change
801 netlink_parse_info to deal with ACK messages.
802
8032001-11-01 Jun-ichiro itojun Hagino <itojun@iijlab.net>
804
805 * rtadv.c (rtadv_make_socket): setsockopt(IPV6_CHECKSUM) does not
806 work for ICMPv6 socket.
807
8082001-10-24 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
809
810 * rib.c (rib_process): Select connected route any case.
811
8122001-10-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
813
814 * interface.c (no_ip_address_secondary): Add "no" to command.
815
8162001-10-18 NOGUCHI Kay <kay@v6.access.co.jp>
817
818 * ioctl.c (if_prefix_add_ipv6): Set the prefered and valid lifetime
819 to infinity as the freebsd4.4 workaroud.
820
8212001-08-26 mihail.balikov@interbgc.com
822
823 * zebra_snmp.c: Fix snmpwalk problem such as IPv4 address
824 A.B.C.255.
825
8262001-08-22 NOGUCHI Kay <kay@v6.access.co.jp>
827
828 * rtadv.c: Do not send RA to loopback interface.
829
8302001-08-20 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
831
832 * ioctl.c (if_set_prefix): Remove Linux 2.0 specific connected
833 route treatment.
834
8352001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
836
837 * zebra-0.92a released.
838
8392001-08-17 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
840
841 * rib.c: Kernel route is treated as EGP routes in nexthop active
842 check.
843
8442001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
845
846 * zebra-0.92 released.
847
8482001-08-08 "Akihiro Mizutani" <mizutani@dml.com>
849
850 * rib.c (show_ip_route_prefix_longer): Add longer-prefix option to
851 show route commands.
852
8532001-07-29 Yon Uriarte <havanna_moon@gmx.net>
854
855 * zserv.c (zsend_ipv4_add_multipath): Add
856 NEXTHOP_TYPE_IPV4_IFINDEX check.
857
8582001-07-29 NOGUCHI Kay <kay@v6.access.co.jp>
859
860 * rtadv.c: Apply valid lifetime, preferred lifetime, onilnk flag,
861 autonomous address-configuration flag patch.
862 (no_ipv6_nd_suppress_ra): Change "ipv6 nd send-ra" to "no ipv6 nd
863 suppress-ra".
864
8652001-07-24 NOGUCHI Kay <kay@v6.access.co.jp>
866
867 * rtadv.c (ipv6_nd_ra_interval): Add "ipv6 nd ra-interval SECONDS"
868 command.
869
8702001-07-24 Jun-ichiro itojun Hagino <itojun@iijlab.net>
871
872 * rt_socket.c (kernel_rtm_ipv4): Add KAME/NetBSD151 equal cost
873 multicast FIB support both IPv4 and IPv6.
874
8752001-07-24 Hal Snyder <hal@vailsys.com>
876
877 * if_ioctl.c (interface_list_ioctl): Fix bug of failing to get the
878 full list of interfaces on some configurations of OpenBSD.
879
8802001-07-23 NOGUCHI Kay <kay@v6.access.co.jp>
881
882 * rtadv.c (ipv6_nd_send_ra): Apply [zebra 9320] to fix "ipv6 nd
883 send-ra" bug.
884 (ipv6_nd_ra_lifetime): "ipv6 nd ra-lifetime 0" for default router
885 availability.
886 (ipv6_nd_managed_config_flag): "ipv6 nd managed-config-flag" is
887 added.
888 (ipv6_nd_other_config_flag): "ipv6 nd other-config-flag" is added.
889
8902001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
891
892 * ioctl.c (if_ioctl): Change ioctl argument from int to u_long.
893
894 * rt_ioctl.c: Likewise.
895
8962001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
897
898 * kernel_socket.c (rtm_write): Only set RTF_CLONING when the
899 interface is not p2p.
900
9012001-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
902
903 * ioctl.c (if_prefix_add_ipv6): Fix argument type.
904
9052001-04-06 Toshiaki Takada <takada@zebra.org>
906
907 * zserv.c (zsend_interface_delete): Use client->obuf instead of
908 allocating new stream.
909
9102001-03-10 Kunihiro Ishiguro <kunihiro@zebra.org>
911
912 * rt_netlink.c: Revert RTPROT_BOOT change.
913
9142001-03-08 Kunihiro Ishiguro <kunihiro@zebra.org>
915
916 * rt_netlink.c (netlink_route_change): Skip RTPROT_BOOT route.
917 (netlink_routing_table): Likewise.
918
9192001-03-07 "Akihiro Mizutani" <mizutani@dml.com>
920
921 * zserv.c (zsend_ipv4_add_multipath): Send metric value to
922 protocol daemons.
923
9242001-02-18 Kunihiro Ishiguro <kunihiro@zebra.org>
925
926 * rt_netlink.c (netlink_routing_table): Do not return
927 tb[RTA_GATEWAY] is NULL. Reported by: "Michael O'Keefe"
928 <mokeefe@qualcomm.com>.
929
9302001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
931
932 * if_ioctl.c (interface_list_ioctl): Call if_add_update().
933 Suggested by: Chris Dunlop <chris@onthe.net.au>.
934
9352001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
936
937 * rib.c (nexthop_active_ipv4): When nexthop type is
938 NEXTHOP_TYPE_IPV4_IFINDEX, propery set the ifindex to rifindex.
939
940 * zserv.c: Initialize rtm_table_default with 0.
941
942 * zebra-0.91 is released.
943
9442001-01-31 Kunihiro Ishiguro <kunihiro@zebra.org>
945
946 * kernel_socket.c (rtm_read): Filter cloned route. Suggested by:
947 Jun-ichiro itojun Hagino <itojun@iijlab.net>
948
9492001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
950
951 * connected.c (connected_up_ipv6): When point-to-point destination
952 address is ::, use local address for connected network.
953 (connected_down_ipv6): Likewise.
954
9552001-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
956
957 * zserv.c (zebra_serv): Add missing close() call. Reported by:
958 David Waitzman <djw@vineyard.net>.
959
9602001-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
961
962 * rib.c (rib_lookup_ipv4): New function for checking exact match
963 IGP route.
964
9652001-01-23 Kunihiro Ishiguro <kunihiro@zebra.org>
966
967 * rib.c (show_ipv6_route_protocol): Fix bug of "show ip route
968 route-type".
969
9702001-01-22 Kunihiro Ishiguro <kunihiro@zebra.org>
971
972 * interface.c (zebra_interface): Do not call
973 zebra_interface_add_update for inactive interface.
974
975 * zserv.c (zsend_interface_address_add): Send interface address
976 flag.
977 (zsend_interface_address_delete): Likewise.
978
9792001-01-19 Kunihiro Ishiguro <kunihiro@zebra.org>
980
981 * interface.c (if_addr_add): Add flags.
982
983 * connected.c (ifa_add_ipv4): Add new function for interface
984 address handling.
985 (ifa_delete_ipv4): Likewise.
986
9872001-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
988
989 * rib.c (rib_update): Update IPv6 RIB.
990
991 * kernel_socket.c (ifam_read): Call if_refresh() for update
992 interface flag status. This is for implicit interface up on *BSD.
993
994 * interface.c (if_refresh): Add interface flag refresh function.
995
996 * kernel_socket.c (rtm_read): Fetch link-local address interface
997 index.
998 (ifan_read): We need to fetch interface information. Suggested
999 by: Yasuhiro Ohara <yasu@sfc.wide.ad.jp>.
1000
1001 * rib.c (static_ipv6_nexthop_same): Add check for
1002 NEXTHOP_TYPE_IPV6_IFNAME.
1003
10042001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1005
1006 * rib.h (NEW_RIB): Turn on NEW_RIB flag. IPv6 new RIB code are
1007 taken into place.
1008
10092001-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1010
1011 * rib.c (static_ipv6_write): Display STATIC_IPV6_GATEWAY_IFNAME
1012 configuration.
1013 (rib_delete_ipv6): Handle same route conter for IPv6 connected
1014 route.
1015 (show_ipv6_route_protocol): New command.
1016 (show_ipv6_route_addr): Likewise.
1017 (show_ipv6_route_prefix): Likewise.
1018 (rib_update): Sweep kernel route when it is cleaned up.
1019
1020 * rt_socket.c (kernel_add_ipv6): Add NEXTHOP_IPV6_IFNAME
1021 treatmenet.
1022
1023 * rt_netlink.c (kernel_init): Likewise.
1024
1025 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): Likewise.
1026
1027 * rib.c (rib_add_ipv4): Cope with same connected route on a
1028 interface. Suggested by: Matthew Grant <grantma@anathoth.gen.nz>.
1029 (nexthop_ipv6_ifname_add): Add NEXTHOP_IPV6_IFNAME treatmenet.
1030
1031 * rib.h (struct new_rib): Add refcnt to keep track on the
1032 reference of same connected route.
1033
1034 * ioctl.c (if_set_prefix): Add check for GNU_LINUX.
1035
10362001-01-13 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1037
1038 * kernel_socket.c (ifan_read, rtm_type_str): Add RTM_OIFINFO check.
1039 (rtm_type_str): Add RTM_IFANNOUNCE check.
1040 (ifan_read): New function.
1041 (kernel_read): Add case for RTM_IFANNOUNCE.
1042
10432001-01-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1044
1045 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): New function.
1046
1047 * rt_netlink.c (netlink_route_multipath): IPv6 address ifindex
1048 treatment.
1049
1050 * connected.c (connected_up_ipv6): Add dest value check.
1051
1052 * rib.c (nexthop_active_ipv6): Do not touch IPv6 nexthop's
1053 ifindex.
1054 (rib_add_ipv4): Import rib_add_ipv6() same route check code.
1055 (nexthop_active_check): NEXTHOP_TYPE_IPV6_IFINDEX activity is only
1056 checked by ifindex.
1057
1058 * rt_socket.c (kernel_rtm_ipv6_multipath): New function.
1059
1060 * redistribute.c (redistribute_add): Use
1061 zsend_ipv6_add_multipath().
1062 (redistribute_delete_multipath): Use
1063 zsend_ipv6_delete_multipath().
1064
1065 * interface.c (ip_address): Check current IP address to avoid
1066 duplicate.
1067
1068 * rib.c (rib_delete_ipv4): When deleted route is connected route,
1069 check ifindex.
1070 (rib_add_ipv4): When connected route is added do not perform
1071 implicit withdraw.
1072 (rib_delete_ipv4): Check ifindex for connected route.
1073
1074 * kernel_socket.c (rtm_read): When route has RTF_STATIC, set
1075 ZEBRA_FLAG_STATIC for indicate as persistent route.
1076 (ifam_read): Unset interface index from link-local address when
1077 IPv6 stack is KAME.
1078
1079 * rib.c (rib_update): Do not delete persistent kernel route.
1080
1081 * rib.h (struct new_rib): Integrate RIB_FLAG_* to ZEBRA_FLAG_*.
1082
1083 * rt_socket.c (kernel_add_ipv6_multipath): Add placeholder.
1084 (kernel_delete_ipv6_multipath): Likewise.
1085
1086 * rt_netlink.c (netlink_talk): Give struct nlsock to netlink_talk.
1087
10882001-01-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1089
1090 * rib.c (rib_update): Revert Matthew Grant's patch
1091 zebra_cvs_newribfix.patch. Use struct rib->ifindex for kernel
1092 interface index. Introduce NEXTHOP_TYPE_IPV4_IFINDEX to support
1093 that. Add support for address deletion situation.
1094
10952001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1096
1097 * interface.c: Remove HAVE_IF_PSEUDO part.
1098
1099 * rib.h: Likewise.
1100
1101 * rt_netlink.c (netlink_link_change): Likewise.
1102
11032001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1104
1105 * zserv.c: Remove OLD_RIB codes.
1106
11072001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1108
1109 * zebra-0.90 is released.
1110
11112001-01-09 Matthew Grant <grantma@anathoth.gen.nz>
1112
1113 * interface.c (if_new_intern_ifindex): Allocate a new internal
1114 interface index.
1115 (if_addr_refresh): Fix up ip addresses configured via zebra.
1116 (if_add_update): Handle an interface addition.
1117 (if_delete_update): Handle an interface delete event.
1118
1119 * rib.c (nexthop_ipv4_add): Add kernel route deletion process when
1120 interface goes down.
1121
11222001-01-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1123
1124 * interface.c (if_dump_vty): When HAVE_NET_RT_IFLIST is defined,
1125 NetBSD also use this function. Suggested by Jasper Wallace
1126 <jasper@ivision.co.uk>.
1127
11282001-01-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1129
1130 * rib.c (nexthop_active_ipv4): Move back to set methodo to old
1131 one.
1132
11332001-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1134
1135 * rib.c (rib_add_ipv4): EBGP multihop set ZEBRA_FLAG_INTERNAL
1136 flag, so treat it.
1137
11382001-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1139
1140 * rt_netlink.c (netlink_talk_ipv6): When IPv6 route message is
1141 sent from netlink_cmd, the same message comes from netlink. To
1142 avoid confusion, temporary netlink_talk_ipv6 use netlink.sock
1143 instead of netlink_cmd.sock.
1144
11452001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1146
1147 * zserv.h (ZEBRA_SERV_PATH): Change "/tmp/zebra" to "/tmp/.zebra".
1148 Change "/tmp/zserv" to "/tmp/.zserv".
1149
11502000-12-29 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
1151
1152 * rt_netlink.c (struct nlsock): Divide kernel message into listen
1153 socket and command socket.
1154 (netlink_talk): Remove socket listen code. Use netlink_parse_info
1155 for read kernel response.
1156
11572000-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1158
1159 * rib.c (vty_show_ip_route): Show uptime of the RIP,OSPF,BGP
1160 routes.
1161
11622000-12-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1163
1164 * rt_netlink.c (netlink_route_multipath): Metric value is
1165 reflected to kernel routing table.
1166
1167 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Likewise.
1168
1169 * kernel_socket.c (rtm_write): Likewise.
1170
1171 * rib.c (nexthop_active_ipv4): Only iBGP route perform recursive
1172 nexthop lookup.
1173
1174 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Add ioctl version of
1175 new RIB implementation.
1176
11772000-12-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1178
1179 * rib.h: Remove MULTIPATH_NUM. It is defined by configure script.
1180
11812000-12-25 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1182
1183 * rib.c (rib_if_up): Call rib_fib_set instead of RIB_FIB_SET for
1184 proper redistribution.
1185
11862000-12-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1187
1188 * rib.c (nexthop_active_ipv4): Add self lookup nexthop check.
1189 (show_ip_route_protocol): Support new RIB.
1190
1191 * rt_netlink.c (netlink_route_change): Do not return when gate is
1192 NULL.
1193
11942000-12-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1195
1196 * rib.c (rib_lookup_ipv4_nexthop): IBGP nexthop check function is
1197 updated.
1198 (rib_add_ipv4): Free implicit withdraw route's RIB.
1199
12002000-12-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1201
1202 * rib.c (nexthop_active_ipv4): Check indirect nexthop.
1203
1204 * redistribute.c (redistribute_add_multipath): Redistribution
1205 works with new rib code.
1206
12072000-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1208
1209 * rt_netlink.c (netlink_route_multipath): Check useful nexthop
1210 number.
1211 (netlink_route_multipath): Clear rtnh_flags and rtnh_hops.
1212
1213 * rib.c (nexthop_active_update): Set flag for the rib's nexthop
1214 activity is changed.
1215 (nexthop_active_check): Before checking interface is up, make it
1216 sure the interface exist.
1217
12182000-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1219
1220 * rib.c (ip_route): New RIB prototype.
1221
12222000-11-16 Yon Uriarte <ukl2@rz.uni-karlsruhe.de>
1223
1224 * zserv.c (zsend_interface_add): Send hardware address when
1225 hw_addr_len is greater than 0.
1226
12272000-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1228
1229 * connected.c (connected_up_ipv4): Fix ptop bug. The destination
1230 network should be installed into routing table.
1231 (connected_down_ipv4): Likewise.
1232 (connected_add_ipv4): Change to use connected_up_ipv4.
1233 (connected_delete_ipv4): Likewise.
1234
12352000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1236
1237 * rt_netlink.c (netlink_interface_addr): Revert Harald Welte
1238 <laforge@gnumonks.org>'s ptop patch then back to original code to
1239 avoid duplicated connected route problem. Suggested by Frank van
1240 Maarseveen <F.vanMaarseveen@inter.NL.net>.
1241
1242 * kernel_socket.c (rtm_read): Make behavior consistent even #ifdef
1243 DEBUG is defined. Reported by Jun-ichiro itojun Hagino
1244 <itojun@iijlab.net>.
1245
12462000-10-23 Jochen Friedrich <jochen@scram.de>
1247
1248 * main.c (main): Call zebra_snmp_init() when it is enabled.
1249
12502000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1251
1252 * zserv.c (zebra_serv_un): UNIX domain socket server of zebra
1253 protocol.
1254
12552000-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1256
1257 * rib.c (rib_add_ipv4): Same check bug is fixed.
1258
12592000-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1260
1261 * rib.c (rib_if_down): Remove kernel route when the interface goes
1262 down.
1263
1264 * debug.c: New command "debug zebra kernel" is added.
1265
12662000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1267
1268 * zebra-0.89 is released.
1269
12702000-09-24 Harald Welte <laforge@gnumonks.org>
1271
1272 * rt_netlink.c (netlink_interface_addr): Fix point-to-point address
1273 treatment in netlink interface.
1274
12752000-09-21 David Lipovkov <dlipovkov@OpticalAccess.com>
1276
1277 * rib.c (rib_if_down): Pull static route only. Protocol daemon
1278 must withdraw routes when interface goes down.
1279 (rib_add_ipv4): Check nexthop when replace route.
1280
12812000-09-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1282
1283 * if_ioctl.c (if_getaddrs): New function for looking up
1284 interface's address by getifaddrs().
1285
12862000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1287
1288 * connected.c (connected_delete_ipv4): Add check for connected
1289 address is found or not.
1290 (connected_add_ipv6): Reflect IPv6 connected address change to
1291 protocol daemons.
1292 (connected_delete_ipv6): Likewise.
1293
12942000-09-07 David Lipovkov <davidl@nbase.co.il>
1295
1296 * rib.c (rib_delete_ipv4): Reverted the change from pseudo
1297 interface patch to original. Because ospfd deletes routes using
1298 zero ifindex.
1299
13002000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1301
1302 * zebra-0.88 is released.
1303
13042000-08-15 "Akihiro Mizutani" <mizutani@dml.com>
1305
1306 * rib.c (show_ip_route_protocol): Help string correction.
1307 (show_ip_route_prefix): Check prefix mask.
1308 (show_ip_route_vty_detail): Display distance and metric.
1309
13102000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1311
1312 * zserv.c (zsend_interface_add): Change ifindex store size from
1313 two octet to four.
1314 (zsend_interface_delete): Likewise.
1315 (zsend_interface_address_add): Likewise.
1316 (zsend_interface_address_delete): Likewise.
1317 (zsend_interface_up): Likewise.
1318 (zsend_interface_down): Likewise.
1319
13202000-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1321
1322 * rib.c (rib_add_ipv4): Do not install distance 255 route.
1323
13242000-08-10 Toshiaki Takada <takada@zebra.org>
1325
1326 * interface.c (bandwidth_if), (no_bandwidth_if): Call
1327 zebra_interface_up_update () instead of using if_up() and if_down().
1328
13292000-08-07 "Akihiro Mizutani" <mizutani@dml.com>
1330
1331 * interface.c (bandwidth_if): Fix help string.
1332
13332000-08-07 Matthew Grant <grantma@anathoth.gen.nz>
1334
1335 * interface.c (if_dump_vty): Display bandwidth value.
1336 (bandwidth_if): New command "bandwidth <1-10000000>" is added.
1337 When interface is up, force protocol daemons to recalculate routes
1338 due to cost change.
1339 (no_bandwidth_if): Likewise.
1340 (if_config_write): Output bandwidth configuration.
1341
1342 * zserv.c (zsend_interface_add): Send bandwidth value.
1343 (zsend_interface_up): Likewise.
1344 (zsend_interface_down): Likewise.
1345
1346
13472000-08-07 Michael Rozhavsky <mike@nbase.co.il>
1348
1349 * rib.c (show_ip_route_protocol): "show ip route
1350 (bgp|connected|kernel|ospf|rip|static)" is added.
1351
13522000-08-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1353
1354 * rib.c (rib_lookup_ipv4_nexthop): Check parent node until IGP
1355 nexthop is found.
1356 (rib_add_ipv4_internal): Set fib ifindex to rib ifindex.
1357
13582000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1359
1360 * redistribute.c (redistribute_delete): Fix bug of default route
1361 redistribute treatment.
1362
13632000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1364
1365 * rib.c (rib_init): Install ip_node in rib.c instead of zserv.c.
1366 Change default distance value.
1367
1368 Old New
1369 ------------------------------------------
1370 system 10 0
1371 kernel 20 0
1372 connected 30 0
1373 static 40 1
1374 rip 50 120
1375 ripng 50 120
1376 ospf 60 110
1377 ospf6 49 110
1378 bgp 70 200(iBGP) 20(eBGP)
1379 ------------------------------------------
1380
1381 * zserv.c (client_lookup): Function removed.
1382 (zsend_interface_add): Use client's output buffer. Check ifinfo
1383 flag.
1384 (zsend_interface_delete): Likewise.
1385 Delete ipv4_static_radix and ipv6_static_radix.
1386
13872000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1388
1389 * zserv.h (struct zebra_client): When client request interface
1390 information, ifinfo is set.
1391
1392 * rib.c: Temporary Revert changes for pseudo interface.
1393
1394 * rib.h: Likewise.
1395
1396 * zserv.c: Likewise.
1397
1398 * interface.c: Likewise.
1399
14002000-08-02 David Lipovkov <davidl@nbase.co.il>
1401
1402 * interface.c (zebra_if_init): Install interface "pseudo"
1403 commands.
1404
1405 * rib.c (rib_create): ifname argument is added.
1406 (rib_add_ipv4_pseudo): New function is added.
1407 (rib_delete_ipv4_pseudo): Likewise.
1408
1409 * rib.h : Delete INTERFACE_UNKNOWN definition. Add prototype for
1410 pseudo interface functions.
1411
1412 * rt_netlink.c (netlink_link_change): Check for pseudo interface.
1413
1414 * zserv.c (ip_route): When destination is pseudo interface, call
1415 rib_add_ipv4_pseudo().
1416
1417 * zserv.c (no_ip_route): Trim "unknown" argument.
1418
14192000-07-26 kunitake@dti.ad.jp
1420
1421 * if_ioctl.c (if_get_hwaddr): Fix hardware address length from 8
1422 to 6.
1423
1424 * rtadv.c (rtadv_send_packet): Fix shift bug for hardware address.
1425
14262000-07-24 Akihiro Mizutani <mizutani@dml.com>
1427
1428 * interface.c: Use install_default() for common VTY commands.
1429
14302000-07-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1431
1432 * if_ioctl.c (interface_list_ioctl): A interface list size is
1433 calculated from ifreq->if_addr.sa_len. This is for OpenBSD.
1434
1435 * ioctl.c (if_get_mtu): Remove codes for SIOCGIFDATA.
1436
14372000-07-09 Chris Dunlop <chris@onthe.net.au>
1438
1439 * if_ioctl.c (if_get_index): Add check for HAVE_BROKEN_ALIASES.
1440
14412000-07-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1442
1443 * zserv.c (zebra_client_read): Add ZEBRA_REDISTRIBUTE_{ADD,DELETE}
1444 message handling.
1445
14462000-07-02 David Lipovkov <davidl@nbase.co.il>
1447
1448 * zserv.c: "ip route A.B.C.D/M unknown" command is added.
1449
14502000-06-28 Michael Rozhavsky <mike@nbase.co.il>
1451
1452 * rib.c: Remove old kernel route when new route comes in.
1453
14542000-06-13 David Lipovkov <davidl@nbase.co.il>
1455
1456 * rib.c (rib_if_up): Add check for unknown interface.
1457
14582000-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1459
1460 * rib.h: Define INTERFACE_UNKNOWN.
1461
14622000-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1463
1464 * Makefile.am (EXTRA_DIST): Move irdp.c until implementation is
1465 finished.
1466
14672000-06-05 David Lipovkov <davidl@nbase.co.il>
1468
1469 * interface.c (if_zebra_delete_hook): Call rib_if_delete().
1470
1471 * redistribute.c (zebra_interface_delete_update): New function.
1472
1473 * redistribute.h (zebra_interface_delete_update): New function
1474 prototype.
1475
1476 * rib.c (rib_if_delete): New function. Walk down all routes and
1477 delete all on the interface.
1478
1479 * rib.h: New function prototype.
1480
1481 * rt_netlink.c (netlink_link_change): Call
1482 zebra_interface_delete_update ().
1483
14842000-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1485
1486 * if_ioctl.c (interface_info_ioctl): Check interface's flag before
1487 checking interface's address.
1488
14892000-04-26 Jochen Friedrich <jochen@nwe.de>
1490
1491 * GNOME-PRODUCT-ZEBRA-MIB: New file.
1492
1493 * GNOME-SMI: New file.
1494
14952000-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1496
1497 * irdp.c: New file from 1997 development code.
1498 * irdp.h: Likewise.
1499
15002000-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1501
1502 * rtadv.c (rtadv_send_packet): Enclose router advertisement
1503 logging with IS_ZEBRA_DEBUG_PACKET.
1504
15052000-04-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1506
1507 * zserv.c (zebra_client_close): Remove client structure from
1508 client_list when connection is terminated.
1509
15102000-03-21 David Lipovkov <davidl@nbase.co.il>
1511
1512 * connected.c (connected_add_ipv4): Allows all necessary structure
1513 updates for connected route, but doesn't insert it into rib if
1514 it's interface is down.
1515
15162000-01-21 Hideto Yamakawa <hideto.yamakawa@soliton.co.jp>
1517
1518 * rtread_getmsg.c: Set some definition for Solaris 2.5 and Solaris
1519 2.5.1.
1520
15212000-01-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1522
1523 * rib.c (no_ipv6_route_ifname): Fix buf of cheking return value
1524 from str2prefix_ipv6().
1525
15262000-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1527
1528 * rt_socket.c: Revert to use RTF_HOST for IPv4 with /32 route and
1529 IPv6 with /128 routes.
1530 (kernel_rtm_ipv4): In case of /32 route's gateway is interface. It
1531 should have mask for cloning.
1532
15331999-12-26 Jochen.Friedrich@genorz.de
1534
1535 * interface.c (if_dump_vty): Fix a bug of missing VTY_NEWLINE.
1536
15371999-12-23 Alex Zinin <zinin@amt.ru>
1538 * interface.*: dynamic int up/down support
1539
15401999-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1541
1542 * ipforward_proc.c (dropline): Move dropline() from lib/dropline.c
1543
1544 * rtread_proc.c (proc_route_read): Don't use dropline().
1545
15461999-12-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1547
1548 * kernel_socket.c (rtm_read): When message is RTM_GET, it has own
1549 process's pid.
1550
15511999-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1552
1553 * main.c (main): Change to default log output to ZLOG_STDOUT.
1554
1555 * zserv.c (zebra_serv): More detailed error print.
1556
15571999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1558
1559 * kernel_socket.c (rtm_read): Check old pid for static route
1560 insertion check.
1561
15621999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1563
1564 * interface.c (if_dump_vty): BSDI/OS uses 64bit for interface
1565 statistics counter.
1566
1567 * mtu_kvm.c: New file added.
1568
15691999-11-27 Vladimir B. Grebenschikov <vova@express.ru>
1570
1571 * kernel_socket.c (rtm_write): Set RTF_CLONING flag for
1572 route to the directly connected interface.
1573
15741999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1575
1576 * rt_socket.c: Delete USE_HOST_BIT definition.
1577
15781999-11-21 Michael Handler <handler@sub-rosa.com>
1579
1580 * rtread_getmsg.c: Undef some definition to resolve conflict.
1581
15821999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1583
1584 * kernel_socket.c (rtm_write): Change to use pre stored struct_dl
1585 value for gateway specification.
1586
15871999-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1588
1589 * rt_socket.c (kernel_rtm_ipv4): Even mask is 32 under IPv4 or
1590 128 under IPv6, don't use RTF_HOST.
1591
15921999-11-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1593
1594 * Makefile.am (EXTRA_DIST): Add rtread_getmsg.c.
1595
15961999-11-21 Michael Handler <handler@sub-rosa.com>
1597
1598 * rtread_getmsg.c: Added for Solaris 2.6 support.
1599
16001999-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1601
1602 * rtread_sysctl.c (rtm_read_route): RTM_DELETE handling added.
1603
1604 * rt_socket.c (kernel_read): Better BSD routing socket support.
1605
16061999-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1607
1608 * client_main.c: Disable making obsolete zebra test `client'
1609 command.
1610
16111999-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1612
1613 * zebra.c: Renamed to zserv.c.
1614
1615 * zebra.h: Global definitions are moved to lib/zebra.h. Then
1616 renamed to zserv.h.
1617
16181999-10-15 Jordan Mendelson <jordy@wserv.com>
1619
1620 * if_ioctl.c: Add Linux 2.2.X's alias support and dynamic
1621 interface. Remove ugly MAX_INTERFACE handling codes.
1622
16231999-09-17 Satosi KOBAYASI <kobayasi@north.ad.jp>
1624
1625 * Fix serious bug of IPv6 route deletion.
1626
16271999-09-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1628
1629 * ioctl.c (if_set_prefix): Properly set broadcast address.
1630
16311999-09-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1632
1633 * rib.c (rib_add_ipv6, rib_delete_ipv6): now protocol daemons
1634 can install connected route to kernel via zebra
1635
16361999-08-24 VOP <vop@unity.net>
1637
1638 * rib.c: Include "sockunion.h"
1639
16401999-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
1641
1642 * ipforward.h: New file.
1643
1644 * zebra.h: Obsolete message ZEBRA_GET_ALL_INTERFACE,
1645 ZEBRA_GET_ONE_INTERFACE, ZEBRA_GET_HOSTINFO are deleted.
1646
16471999-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1648
1649 * zebra.h (ZEBRA_INTERFACE_ADDRESS_ADD):
1650 ZEBRA_INTERFACE_{ADD,DELETE} added.
1651
16521999-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1653
1654 * rib.c: show ip route A.B.C.D works.
1655
1656 * zebra.c (zebra_read_ipv4): Add ifindex to zebra messages.
1657
16581999-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1659
1660 * zebra.h: New Zebra message ZEBRA_INTERFACE_{ADD,DELETE} added.
1661
16621999-08-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1663
1664 * interface.h: New file.
1665 * Makefile.am: Add interface.h
1666
16671999-08-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1668
1669 * redistribute.c (zebra_redistribute): give ifindex to client.
1670
16711999-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1672
1673 * main.c (longopts): -k, --keep_kernel option added.
1674
16751999-07-18 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1676
1677 * rt_socket.c (rtm_write): forgot closing socket bug fixed.
1678
16791999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1680
1681 * rib.c (show_ipv6_cmd): if rib is link show interface name.
1682
16831999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1684
1685 * rt_socket.c (rtm_write): use sockaddr_dl when null gateway.
1686
16871999-07-16 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1688
1689 * rt_socket.c (rtm_write): ipv6 route table bug fixed.
1690
16911999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1692
1693 * zebra.c (zebra_read_ipv6): read link prefix from ospf6 support
1694
16951999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1696
1697 * rt_socket.c (kernel_rtm_ipv6): gate treatment bug fixed.
1698
16991999-07-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1700
1701 * if_sysctl.c (ifm_read): Clear sockunion argument before fetching
1702 data. Suggested by "Chris P. Ross" <cross@eng.us.uu.net>
1703
17041999-07-08 HEO SeonMeyong <seirios@Matrix.IRI.Co.Jp>
1705
1706 * interface.c (if_tun_add): Add KAME's gif tunnel setting codes.
1707
17081999-06-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1709
1710 * zebra.c (zebra_serv): Only accept loopback address connection.
1711
17121999-06-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1713
1714 * zebra.h (ZEBRA_ROUTE_EXTERNAL): Add zebra messages flags
1715
17161999-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1717
1718 * ipforward_proc.c: ipforward_on () and ipforward_off () added.
1719
17201999-06-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1721
1722 * ipforward_proc.c (ipforward_ipv6): Check for IPv6 forwarding
1723 using /proc file system is added.
1724
17251999-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1726
1727 * if_ioctl.c (if_get_index): Interface index set bug is fixed by
1728 adding #else at the middle of function. Suggested by David Luyer
1729 <luyer@ucs.uwa.edu.au>.
1730
17311999-05-29 <kunihiro@zebra.org>
1732
1733 * rt_ioctl.c: Comment out #include <linux/ipv6_route.h>.
1734
17351999-05-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1736
1737 * zebra.h (ZEBRA_ROUTE_MAX): Add new define for the max value of
1738 the sort of routes.
1739
17401999-05-25 Patrick Koppen <koppen@rhrk.uni-kl.de>
1741
1742 * rt_netlink.c (netlink_socket): Make netlink socket non-blocking.
1743 (netlink_parse_info): If errno is EWOULDBLOCK then continue to
1744 parse the message.
1745 (netlink_talk): Likewise
1746
17471999-05-17 <kunihiro@zebra.org>
1748
1749 * redistribute.c (zebra_check_addr): Added for loopback address
1750 check.
1751
17521999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1753
1754 * rt_netlink.c (netlink_route_change): Tempolary bypass ipv6 route
1755 change treatment.
1756
1757 * Makefile.am (noinst_HEADERS): redistribute.h added.
1758
1759 * redistribute.h: New file.
1760
17611999-05-14 Stephen R. van den Berg <srb@cuci.nl>
1762
1763 * zebra.c (show_table): Show all table configuration DEFUN.
1764 (config_table): Config table number DEFUN.
1765
1766 * rt_netlink.c: Add support for multiple routing table.
1767
1768 * rib.c (rib_weed_table): New function added for delete all
1769 routes from specified routing table.
1770
1771 * main.c (signal_init): SIGTERM call sigint.
1772 (sigint): Loggging more better message.
1773
17741999-05-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1775
1776 * rt_netlink.c: Change log () to zlog ().
1777
17781999-05-07 <kunihiro@zebra.org>
1779
1780 * zebra.h (ZEBRA_ROUTE_OSPF6): Added for ospf6d route.
1781
17821999-04-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1783
1784 * interface.c: Add `no ip address' command.
1785
17861999-04-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1787
1788 * rt_netlink.c (kernel_read): Function added for asynchronous
1789 zebra between kernel communication.
1790
17911999-03-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1792
1793 * rtread_sysctl.c (rtm_read): Fix address memcopy overrun bug.
1794 Reported by Achim Patzner <ap@bnc.net>.
1795
17961999-03-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1797
1798 * Makefile.am: Install configuration sample with 600 permission.
1799
18001999-03-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1801
1802 * Makefile.am: Add -I.. to INCLUDES.
1803
18041999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
1805
1806 * syslog support added
1807
18081999-02-17 Peter Galbavy <Peter.Galbavy@knowledge.com>
1809
1810 * if_sysctl.c (interface_list): allocated memory free when unknown
1811 ifm_type is returned.
1812
1813 * ioctl.c (if_get_mtu): added SIOCGIFDATA treatment.
1814
18151998-12-15 Magnus Ahltorp <map@stacken.kth.se>
1816
1817 * interface.c: Header include added.
1818
18191998-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1820
1821 * rt.h (kernel_delete_ipv6): change int index to unsigned int index.
1822
18231998-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1824
1825 * if_ioctl.c (interface_list_ioctl): interface flag must be
1826 checked before check addresses of the interface.
1827
18281998-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1829
1830 * Makefile.am (INCLUDES): add @INCLUDES@ for Linux IPv6.
1831
18321998-10-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1833
1834 * ioctl.c: Linux version before 2.1.0 need interface route setup.
1835
18361998-09-15 HEO SeonMeyong <seirios@matrix.iri.co.jp>
1837
1838 * change HYDRANGEA to KAME
1839
18401998-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1841
1842 * if_ioctl.c (if_addr_ioctl): set address family for getting
1843 interface's address.
1844 (if_get_index): silently return when can't get interface's index.
1845
18461998-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1847
1848 * main.c (main): batch mode option '-b' added.
1849
18501998-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1851
1852 * ioctl.c (if_set_prefix): add `ip address IPV4ADDR' command.
1853 * interface.c (shutdown_if): add interface shutdown and no
1854 shutdown command.
1855
18561998-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1857
1858 * rib.c (rib_add_ipv6): delete rib_add_in6.
1859
18601998-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1861
1862 * main.c: retain flag is added.
1863
18641998-07-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1865
1866 * rtable.[ch]: merged with rib.[ch]
1867
18681998-07-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1869
1870 * connected.h: renamed from ifa.h.
1871
18721998-06-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1873
1874 * rename if.c to interface.c
1875 * rename ifa.c to connected.c
1876
1877 * Porting to Debian GNU/Linux 2.0 (hamm).
1878
18791998-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1880
1881 * rt_netlink.c: renamed from krt_netlink.c
1882
1883 * fib.c: deleted.
1884 * rt_kvm.c: deleted.
1885 * rtread_getmsg.c: deleted.
1886
18871998-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1888
1889 * if.c (multicast): add multicast flag [un]set fucntion.
1890
18911998-05-19 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1892
1893 * rt_socket.c: Modify for compile on Solaris, but dont't work it.
1894 rt_socket.c have some undefined function, so add directive "IMPLEMENT"
1895
18961998-05-18 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1897
1898 * zebra.c: Modify for compile on Solaris.
1899
19001998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1901
1902 * main.c: change CONFDIR to SYSCONFDIR.
1903
19041998-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1905
1906 * .cvsignore: added.
1907
19081998-04-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1909
1910 * client.c: moves to ../lib.
1911
19121998-03-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1913
1914 * if_ioctl.c (if_get_addr): Change address copy from memcopy() to
1915 structure assignment.
1916
19171998-03-30 URA Hiroshi <ura@yamato.ibm.co.jp>
1918
1919 * if_sysctl.c (ifm_interface_add): sdl->sdl_data copy bug fixed.
1920
19211998-02-23 "Hannes R. Boehm" <hannes@boehm.org>
1922
1923 * if.c (if_init): add config_exit_cmd and config_help_cmd.
1924
19251998-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
1926
1927 * rt_ioctl.c (route_ioctl): EPERM treatment added.
1928
19291998-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1930
1931 * rt_socket.c (kernel_read): communication port zebra between
1932 kernel is now handled by kernel_read.
1933
19341998-01-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1935
1936 * main.c (main): zebra [-P port] can specify vty port number.
1937
19381997-12-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1939
1940 * zebra.c: change select will be block.
1941
19421997-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1943
1944 * add static route treatment.
1945
19461997-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1947
1948 * rt_netlink.c: add netlink support over GNU/Linux system.
1949
19501997-11-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1951
1952 * all inet_addr is changed to inet_aton.
1953
1954 * zebra.c (ip_route): add ip route command for static routes.
1955
19561997-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1957
1958 * if.c (if_flag_dump): Linux port of if_flag_dump and _vty.
1959
19601997-11-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1961
1962 * if.c: add interface command.
1963
19641997-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1965
1966 * ipforward_proc.c : Now works on Linux.
1967
19681997-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1969
1970 * command.c : add completion feature.
1971
19721997-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1973
1974 * vty.c (vty_command): add vty interface.
1975
19761997-10-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1977
1978 * zebra.c: add verbose mode.
1979
19801997-10-12 SonMyong Ho <s-ho@Matrix.IRI.Co.Jp>
1981
1982 * Hydrangea for FreeBSD supported
1983 * in.h: add some prototype.
1984
19851997-10-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1986
1987 * rt_socket.c and rtread.c completely rewritten.
1988
19891997-10-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1990
1991 * rt_socket.c: rename kernel_sock to routing_socket
1992
19931997-10-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1994
1995 * if.c (if_new): interface structure change from linklist to vector.
1996
19971997-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1998
1999 * vector.c (vector_init): create vector related function
2000
20011997-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2002
2003 * Makefile.in: add tags target
2004
2005 * start IPv6 support for INRIA FreeBSD.
2006