blob: 6c921fd255980a80afba48fbcd082abac1c25636 [file] [log] [blame]
hassod24af182005-09-24 14:00:26 +000012005-09-24 Hasso Tepper <hasso at quagga.net>
2
3 * rib.h: Add note about behaviour of rib_add_ipv[46]* functions -
4 add is treated as implicit withdraw.
5
hassoebf1ead2005-09-21 14:58:20 +000062005-09-21 David Young <dyoung@ojctech.com>
7
8 * zebra_rib.c: Reduce the height of some staircases. Fix
9 rib_delete_ipv6() to match routes in the RIB by their gateway as
10 well as by destination.
11
paul319572c2005-09-21 12:30:08 +0000122005-09-21 Paul Jakma <paul.jakma@sun.com>
13
14 * zebra_rib.c: (static_uninstall_ipv{4,6}) Fix regression wrt
15 removal of static routes with multiple-hops introduced with
16 the workqueue conversion. We should free the relevant
17 nexthop and then get rib_process to run, otherwise we just
18 get same static route back again (with no way to unconfigure
19 it, because its already deleted from configuration).
20
paulca162182005-09-12 16:58:52 +0000212005-09-12 Paul Jakma <paul.jakma@sun.com>
22
23 * (general) RTM_CHANGE and implicit withdraw on RTM_NEWADDR
24 support.
25 * connected.c: (connected_withdraw) new function. withdraw a
26 connected subnet address set from zebra, and pass information
27 along to clients.
28 (connected_announce) similar, but to announce a new connected
29 subnet address set.
30 (connected_check_ipv4) renamed to connected_check, as its
31 AFI independent.
32 (connected_add_ipv{4,6}) Remove the connected address announce
33 stuff, use connected_announce instead.
34 If connected_check indicates address is already present,
35 treat it as an implicit withdraw of the existing address, ie
36 remove the old address details and replace with the new
37 details.
38 (connected_delete_ipv{4,6}) Use connected_withdraw.
39 (connected_check_ipv6) deleted in favour of connected_check.
40 * connected.h: Rename connected_check_ipv4 to connected_check.
41 delete connected_check_ipv6.
42 * interface.c: Use connected_check rather than the AFI specific
43 symbols.
44 * kernel_socket.c: (rtm_read) RTM_CHANGE support. Create a
45 rib delete event for the existing route, before adding route
46 again.
47 (kernel_read) we can handle RTM_CHANGE now.
48
hassobe61c4e2005-08-27 06:05:47 +0000492005-08-27 Hasso Tepper <hasso at quagga.net>
50
51 * zebra_rib.c, rib.h: Add distance and metric arguments to the
52 rib_add_ipv6() function so that IPv6 routes in RIB can have correct
53 metric. No IPv6 routing daemon uses distance yet though.
54 * zserv.c, connected.c, kernel_socket.c, rt_netlink.c,
55 rtread_proc.c,zserv.c: Pass metric and distance info to the
56 rib_add_ipv6().
57
paul6eb88272005-07-29 14:36:00 +0000582005-07-29 Paul Jakma <paul.jakma@sun.com>
59
60 * interface.c: (if_delete_update) should always be available, not
61 just on RTM_IFANNOUNCE/NETLINK systems.
62 * kernel_socket.c: (ifan_read) only call if_delete_update when
63 interface departs, dont if_delete, because we wish to retain
64 interface configuration state even when interfaces are removed.
65 (ifm_read) If we dont have RTM_IFANNOUNCE, then transitioning
66 to down state is only chance we have to clean up interface in case
67 it is deleted (eg Solaris down -> unplumb -> plumb up).
68 * redistribute.c: (zebra_interface_delete_update) should always be
69 available, we /will/ call it now on all systems, via
70 if_delete_update.
71 * zserv.c: (zsend_interface_delete) ditto
72 (zsend_interface_address) Update the call-flow diagramme, to
73 reflect that if_delete_update /is/ now called on all systems,
74 potentially.
75 * zserv.h: (zsend_interface_delete) unconditionally exported, as
76 above.
77
paula1ac18c2005-06-28 17:17:12 +0000782005-06-28 Paul Jakma <paul.jakma@sun.com>
79
80 * (global) Extern and static'ification, with related fixups
81 of declarations, ensuring files include their own headers, etc.
paulea6f82b2005-06-28 17:20:26 +000082 * if_ioctl.c: (interface_info_ioctl) fix obvious arg mis-order in
paula1ac18c2005-06-28 17:17:12 +000083 list loop
paulea6f82b2005-06-28 17:20:26 +000084 * kernel_socket.c: (RTA_{ADDR,ATTR}_GET) fix mistake, NULL check
85 should be on DEST argument
paula1ac18c2005-06-28 17:17:12 +000086
paul62debbb2005-06-14 14:07:07 +0000872005-06-14 Paul Jakma <paul.jakma@sun.com>
88
89 * kernel_socket.c: consolidate the IFAM{ADDR,MASK}GET and
90 RTM{ADDR,MASK}GET macros into generic rta_addrs macros,
91 RTA_{ADDR,ATTR}_GET.
92 (af_check) could use 'inline' attribute
93 (ifam_read_mesg) remove IFAM{ADDR,MASK}GET macro, change to
94 generic macro.
95 (rtm_read_mesg) similar
96
hasso1ada8192005-06-12 11:28:18 +0000972005-06-12 Hasso Tepper <hasso at quagga.net>
98
99 * rt_netlink.c: Remove netlink-addr socket declaration, it's not used.
100 * rt_netlink.c (netlink_parse_info): Fix debug messages - nlmsg_pid is
101 unsigned and one zlog call had swapped arguments.
102 * rt_netlink.c (netlink_route_multipath): Fix compile with disabled
103 IPv6 support.
104
paul1dcb5172005-05-31 08:38:50 +00001052005-05-31 Paul Jakma <paul.jakma@sun.com>
106
107 * zserv.c: (zsend_route_multipath) Fix bug if route is sent
108 with no NEXTHOP_FLAG_FIB nexthops. As ZAPI_MESSAGE_IFINDEX
109 and ZAPI_MESSAGE_NEXTHOP are always set, clients would try
110 read non-existent nexthop information and hit stream assert.
111 Zserv is still broken for multi-nexthop messages, but it always was.
112
paul69e10ad2005-05-06 21:27:33 +00001132005-05-06 Paul Jakma <paul.jakma@sun.com>
114
115 * zserv.h: Remove ZEBRA_PORT definition, its in lib/zebra.h now
116
paul4d38fdb2005-04-28 17:35:14 +00001172005-04-28 Paul Jakma <paul.jakma@sun.com>
118
119 * rib.h: (struct rib) Add lock field for refcounting.
120 * zserv.h: (struct zebra_t) Add a ribq workqueue to the zebra
121 'master' struct.
122 * zserv.c: (zread_ipv4_add) XMALLOC then memset should be XCALLOC.
123 * zebra_rib.c: Clean up refcounting of route_node, make struct rib
124 refcounted and convert rib_process to work-queue. In general,
125 rib's should be rib_addnode'd and delnode'd to route_nodes, and
126 these symmetrical functions will manage the locking of referenced
127 route_node and freeing of struct rib - rather than having users
128 manage each seperately - with much scope for bugs..
129 (newrib_free) removed and replaced with rib_lock
130 (rib_lock) new function, check state of lock and increment.
131 (rib_unlock) new function, check lock state and decrement. Free
132 struct rib if refcount hits 0, freeing struct nexthop's, as
133 newrib_free did.
134 (rib_addnode) Add RIB to route_node, locking both.
135 (rib_delnode) Delete RIB from route_node, unlocking each.
136 (rib_process) Converted to a work-queue work function.
137 Functional changes are minimal, just arguments, comments and
138 whitespace.
139 (rib_queue_add_qnode) Helper function to setup a ribq item.
140 (rib_queue_add) Helper function, same arguments as old
141 rib_process, to replace in callers of rib_process.
142 (rib_queue_qnode_del) ribq deconstructor.
143 (rib_queue_init) Create the ribq.
144 (rib_init) call rib_queue_init.
145 (remainder) Sanitise refcounting of route_node's. Convert to
146 rib_queue_add, rib_addnode and rib_delnode. Change XMALLOC/memset
147 to XCALLOC. Remove calls to nexthop_delete and nexthop_free.
148
paulcf460ef2005-04-10 16:54:26 +00001492005-04-10 Paul Jakma <paul@dishone.st>
150
151 * if_ioctl_solaris.c: (if_lookup_linklocal) fix order of args
152 in ALL_LIST_ELEMENTS_RO macro.
153
ajs57a14772005-04-10 15:01:56 +00001542005-04-10 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
155
156 * zserv.c (zebra_client_read): Fix bug: first read attempt should
157 read ZEBRA_HEADER_SIZE minus the number of bytes already read.
158 Improve efficiency by maintaining a calculation of the number
159 of bytes read instead of calling stream_get_endp multiple times.
160 If message length is too small, issue a warning message (not debug)
161 before closing the connection. And also check that message length
162 is not too big.
163
hasso206d8052005-04-09 16:38:51 +00001642005-04-09 Hasso Tepper <hasso at quagga.net>
165
hassofa599802005-04-09 16:59:28 +0000166 * rt_netlink.c: One tiny missing comma caused pointless debug messages
167 about IPv6 nexthops.
168
1692005-04-09 Hasso Tepper <hasso at quagga.net>
170
hasso206d8052005-04-09 16:38:51 +0000171 * rt_netlink.c (netlink_parse_info): Fix warning. It's safe to cast
172 status to unsigned here, because we already checked that it isn't
173 negative or 0.
174 * rt_netlink.c (netlink_interface_addr): Prefix length belongs to the
175 address, not to the interface.
176 * rt_netlink.c (netlink_route_multipath): Fix debug. No useless info
177 is printed out now and IPv6 info is handeled.
178
paul3d1dc852005-04-05 00:45:23 +00001792005-04-05 Paul Jakma <paul@dishone.st>
180
181 * zserv.c: print more helpful errors when we fail to successfully
182 bind and listen on zserv socket. Closes bugzilla #163.
183
ajsd2fc8892005-04-02 18:38:43 +00001842005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
185
ajs08dbfb62005-04-03 03:40:52 +0000186 * if_ioctl.c: (interface_list_ioctl) Use if_get_by_name_len.
187 * if_proc.c: (ifaddr_proc_ipv6) Increase size of ifname buffer to
188 avoid overflow.
189 * kernel_socket.c: (ifan_read) Use if_get_by_name_len.
190
1912005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
192
ajsa3491982005-04-02 22:50:38 +0000193 * kernel_socket.c: (ifm_read) Use new if_lookup_by_name_len function
194 to save a memcpy.
195 * if_ioctl_solaris.c: (interface_list_ioctl) Fix subtle bug with new
196 if_get_by_name_len function.
197
1982005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
199
ajsd2fc8892005-04-02 18:38:43 +0000200 * interface.c: (if_new_intern_ifindex) Remove obsolete function.
201 (if_delete_update) After distributing the interface deletion message,
202 set ifp->ifindex to IFINDEX_INTERNAL.
203 (if_dump_vty) Detect pseudo interface by checking if ifp->ifindex is
204 IFINDEX_INTERNAL.
205 (zebra_interface) Check return code from interface_cmd.func.
206 Do not set internal ifindex values to if_new_intern_ifindex(),
207 since we now use IFINDEX_INTERNAL for all pseudo interfaces.
208 * kernel_socket.c: (ifm_read) Fix code and comments to reflect that
209 all internal interfaces now have ifp->ifindex set to IFINDEX_INTERNAL.
210 * rt_netlink.c: (set_ifindex) New function used to update ifp->ifindex.
211 Detects interface rename events by checking if that ifindex is already
212 being used. If it is, delete the old interface before assigning
213 the ifindex to the new interface.
214 (netlink_interface, netlink_link_change) Call set_ifindex to update
215 the ifindex.
216
hassob7ed1ec2005-03-31 20:13:49 +00002172005-03-31 Hasso Tepper <hasso at quagga.net>
218
219 * rt_netlink.c (netlink_talk_filter): Show always warning message,
220 it's not for debug.
221 * rt_netlink.c (netlink_talk): Don't assume we use netlink_cmd
222 although we do now actually.
223 * rt_netlink.c (netlink_route, netlink_route_multipath): Always use
224 netlink_cmd to send messages to the kernel.
225
ajs2da40f42005-03-30 16:33:13 +00002262005-03-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
227
228 * irdp.h: Add prototype for irdp_sock_init, and fix protos for
229 other irdp_* functions.
230 * irdp_interface.c: (irdp_if_start) If irdp_sock is negative,
231 call irdp_sock_init to create the IRDP socket.
232 (irdp_if_init) Rename to irdp_init().
233 (get_iflist_ifp) Remove function that is a duplicate of
234 if_lookup_by_index.
235 (*) Make many functions static. And remove superfluous "\n" from
236 several zlog messages.
237 * irdp_main.c: (irdp_init) Remove function that used to call
238 irdp_if_init() and irdp_sock_init(), since we will now create
239 the socket only upon first use.
240 (irdp_sock_init) Do not update global irdp_sock variable, just
241 return the fd and assume that the caller will do so. If setsockopt
242 calls fail, close the socket before returning -1.
243 (*) Make many functions static.
244 * irdp_packet.c: Initialize irdp_sock to -1.
245 (irdp_read_raw) Call standard library function if_lookup_by_index
246 instead of get_iflist_ifp.
247 (irdp_recvmsg) Should be static, not global.
248
ajsa608bbf2005-03-29 17:03:49 +00002492005-03-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
250
251 * rt_netlink.c: (netlink_link_change) If the status of an
252 operative interface changes (e.g. MTU changes), the client
253 daemons should be notified by calling zebra_interface_up_update.
254 Previously, the information was being updated in zebra's
255 interface structure, but the clients were not notified of
256 changes to an operative interface.
257
vincent7cee1bb2005-03-25 13:08:53 +00002582005-03-25 Jean-Mickael Guerin <jean-mickael.guerin@6wind.com>
259 * interface.c, interface.h, rtadv.c, rtadv.h: modifications to
260 IPv6 Neighbor Discovery according to RFC3775, section 7:
261 o 1-bit Home Agent flag management in Router Advertisement (7.1).
262 o 1-bit Router Address flag management in Prefix Information
263 Option (7.2).
264 o Advertisement Interval Option (7.3)
265 o Home Agent Information Option (7.4)
266 o Changes to Sending Router Advertisements more frequently (7.5)
267
hassoed9bb6d2005-03-13 19:17:21 +00002682005-03-13 Hasso Tepper <hasso at quagga.net>
269
270 * zebra/interaface.c: "show interface description" command
271 implemented.
272
paulc1f01f32005-03-12 06:33:14 +00002732005-03-12 Paul Jakma <paul@dishone.st>
274
275 * rt_netlink.c: (netlink_route_multipath) dont set equalise flag.
276 No stock Linux kernel has ever supported it, and even if it had
277 it's not generally a good idea.
278
hasso42a66d72005-03-07 08:19:44 +00002792005-03-07 Michael Sandee <voidptr@voidptr.sboost.org>
280
281 * if_proc.c, ipforward_proc.c, rtread_proc.c: Fix fd leaks.
282
hasso3452d472005-03-06 13:42:05 +00002832005-03-06 Hasso Tepper <hasso at quagga.net>
284
285 * interface.c: Fix CRC and frame errors statistics in Linux.
286
ajs719e9742005-02-28 20:52:15 +00002872005-02-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
288
289 * zserv.c: Must include network.h and buffer.h for non-blocking I/O.
290 Remove global message_queue and t_write (need separate buffering for
291 each client).
292 (zebra_server_dequeue,zebra_server_enqueue) Remove functions
293 related to old buggy buffering code.
294 (zserv_delayed_close) New thread callback function to delete a client.
295 (zserv_flush_data) New thread callback function to flush buffered
296 data to client.
297 (zebra_server_send_message) Rewritten to use buffer_write (so
298 buffering of writes and non-blocking I/O work properly).
299 (zsend_interface_add,zsend_interface_delete,zsend_interface_address,
300 zsend_interface_update) Return 0 instead of -1 if !client->ifinfo
301 (this is not really an error). Return value from
302 zebra_server_send_message.
303 (zsend_route_multipath,zsend_ipv4_nexthop_lookup,
304 zsend_ipv4_import_lookup) Return value from zebra_server_send_message.
305 (zsend_ipv6_nexthop_lookup) Fix scope to static, and return value
306 from zebra_server_send_message.
307 (zsend_router_id_update) Must use zebra_server_send_message instead
308 of deprecated writen function. Return 0 instead of -1 if this client
309 is not subscribed to router-id updates (since this is not really
310 an error).
311 (zread_interface_add) Change type to static int. If
312 zsend_interface_add fails or zsend_interface_address fails, return -1
313 immediately (since the client has had an I/O error).
314 (zread_interface_delete,zread_ipv4_add,zread_ipv4_delete,
315 zread_ipv6_add,zread_ipv6_delete,zread_router_id_delete) Return 0
316 to indicate success.
317 (zread_ipv4_nexthop_lookup) Return value from
318 zsend_ipv4_nexthop_lookup.
319 (zread_ipv4_import_lookup) Return value from zsend_ipv4_import_lookup.
320 (zebra_read_ipv6) Remove unused function.
321 (zread_ipv6_nexthop_lookup) Return value from
322 zsend_ipv6_nexthop_lookup.
323 (zread_router_id_add) Return value from zsend_router_id_update.
324 (zebra_client_close) Call buffer_free(client->wb) and
325 thread_cancel(client->t_suicide).
326 (zebra_client_create) Allocate client->wb using buffer_new.
327 (zebra_client_read) Support non-blocking I/O by using stream_read_try.
328 Use ZEBRA_HEADER_SIZE instead of 3.
329 (zebra_accept) Fix bug: reset accept thread at top. Make client
330 socket non-blocking using the set_nonblocking function.
331 (config_write_forwarding) Fix scope to static.
332 (zebra_init) Remove initialization code for old buggy write buffering.
333 * zserv.h: Add 2 new fields to struct zserv: struct buffer *wb
334 (to enable buffered writes with non-blocking I/), and
335 struct thread *t_suicide to support delayed close on I/O
336 errors.
337 * router-id.h: Remove prototypes for zread_router_id_add and
338 zread_router_id_delete (their scope should be static to zserv.c).
339
ajs27da3982005-02-24 16:06:33 +00003402005-02-24 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
341
342 * redistribute.c: (zebra_check_addr,is_default,
343 zebra_redistribute_default,zebra_redistribute) Fix scope to be static.
344
hassoe8274dc2005-02-20 19:09:23 +00003452005-02-20 Hasso Tepper <hasso at quagga.net>
346
347 * rt_netlink.c: Don't show messages "ignoring message type 0x001[89]"
348 if we are not debugging.
349
paule31f2292005-02-19 02:00:26 +00003502005-02-19 Paul Jakma <paul@dishone.st>
351
352 * zserv.c: (zebra_read_ipv6) replace the char * arithmetic with
353 STREAM_READABLE.
354
paul1e193152005-02-14 23:53:05 +00003552005-02-14 Paul Jakma <paul@dishone.st>
356
357 * Not all Linux netlink systems have IFLA_WIRELESS
358
ajs6a52d0d2005-01-30 18:49:28 +00003592005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
360
361 * ioctl.c: (if_ioctl,if_ioctl_ipv6,if_get_flags) Replace perror with
362 zlog_err.
363 * ioctl_solaris.c: (if_ioctl,if_ioctl_ipv6) Replace perror with
364 zlog_err.
365
ajs4be019d2005-01-29 16:12:41 +00003662005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
367
ajs4460e7a2005-01-29 17:07:40 +0000368 * if_ioctl_solaris.c: (interface_list_ioctl) Save errno before calling
369 zserv_privs.change.
370 * ioctl{,_solaris}.c: (if_ioctl,if_ioctl_ipv6) Save errno before calling
371 zserv_privs.change.
372 * ipforward_solaris.c: (solaris_nd) Save errno before calling
373 zserv_privs.change.
374 * irdp_main.c: (irdp_sock_init) Save errno before calling
375 zserv_privs.change.
376
3772005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
378
ajs4be019d2005-01-29 16:12:41 +0000379 * rt_netlink.c: (netlink_socket,netlink_request,netlink_parse_info,
380 netlink_talk) Save errno before calling zserv_privs.change.
381
paulc15cb242005-01-24 09:05:27 +00003822005-01-24 Martin Pot <mpot at martybugs.net>
383
384 * zebra/rt_netlink.c: ignore wireless newlink netlink messages.
385
hasso6f2c27a2005-01-18 13:44:35 +00003862005-01-18 Hasso Tepper <hasso at quagga.net>
387
388 * interface.c: Better statistics output in "show interface" command in
389 case of /proc being used.
390
hasso583d8002005-01-16 23:34:02 +00003912005-01-17 Hasso Tepper <hasso at quagga.net>
392
393 * main.c: With --nl-bufsize argument is required.
394
paul865b8522005-01-05 08:30:35 +00003952005-01-05 Paul Jakma <paul@dishone.st>
396
397 * zserv.c: (zebra_accept) Comment out setting of socket to NONBLOCK
398 for now, as we dont actually deal with with resending.... See
399 bugzilla #122, fix from wawa@yandex-team.ru (Vladimir Ivanov).
400 * kernel_socket.c: (routing_socket) ditto.
401
ajsb99760a2005-01-04 16:24:43 +00004022005-01-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
403
404 * rtadv.c: (rtadv_recv_packet,rtadv_send_packet) Use ZCMSG_FIRSTHDR
405 instead of CMSG_FIRSTHDR.
406
ajs341a8f12004-12-22 16:32:16 +00004072004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
408
409 * connected.c: (connected_add_ipv4) Limit warning about /32 addresses
410 with no peer specified to PtP interfaces only.
411
hassob8adec12004-12-18 16:03:28 +00004122004-12-18 Hasso Tepper <hasso at quagga.net>
413
414 * zebra_vty.c: Fix "show ipv6 route <proto>" command help and make it
415 work for isis routes.
416
gdt6a250b02004-12-09 14:48:12 +00004172004-12-09 Greg Troxel <gdt@fnord.ir.bbn.com>
418
419 * kernel_socket.c (rtmsg_debug): char * => const char *
420
ajs274a4a42004-12-07 15:39:31 +00004212004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
422
ajsb6178002004-12-07 21:12:56 +0000423 * *.c: Change level of debug messages to LOG_DEBUG.
424
4252004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
426
ajs274a4a42004-12-07 15:39:31 +0000427 * main.c: (main) The 2nd argument to openzlog has been removed.
428 So stdout logging will no longer be enabled by default.
429 * irdp_main.c: (irdp_finish) Reduce severity of shutdown message
430 from LOG_WARNING to LOG_INFO.
431
ajs887c44a2004-12-03 16:36:46 +00004322004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
433
434 * main.c: (sigint) Use zlog_notice for termination message.
435 (main) Add a startup announcement using zlog_notice.
436
hassoaccb1562004-11-25 19:21:07 +00004372004-11-25 Hasso Tepper <hasso at quagga.net>
438
439 * irdp_interface.c: Remove comment from DEFUN, it breaks vtysh because
440 it confuses extract.pl.
hassoc0652302004-11-25 19:33:48 +0000441 * main.c: Make group to run as configurable.
hassoaccb1562004-11-25 19:21:07 +0000442
hasso6bd7c6a2004-10-28 17:32:27 +00004432004-10-28 Hasso Tepper <hasso at quagga.net>
444
445 * interface.c: Remove dead "ip tunnel" command.
446
paul06f953f2004-10-22 17:00:38 +00004472004-10-22 Paul Jakma <paul@dishone.st>
448
449 * irdp_main.c: change setsockopt_pktinfo to setsockopt_ifindex
450
hasso3fb9cd62004-10-19 19:44:43 +00004512004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
452
453 * rt_netlink.c: (netlink_interface_addr) For PtP interfaces, ignore
454 tb[IFA_ADDRESS] if it's the same as tb[IFA_LOCAL].
455 * interface.c: (ip_address_install) Use new ipv4_broadcast_addr
456 function.
457 * connected.c: (connected_up_ipv4) Use CONNECTED_POINTOPOINT_HOST
458 macro.
459 (connected_down_ipv4) ditto.
460 (connected_add_ipv4) Validate destination address, print warnings
461 if it does not make sense.
462
hassoc1eaa442004-10-19 06:26:01 +00004632004-10-19 Hasso Tepper <hasso at quagga.net>
464
465 * zserv.c: Fix regression introduced with zserv cleanup.
466
hassoc75105a2004-10-13 10:33:26 +00004672004-10-13 Hasso Tepper <hasso at quagga.net>
468
469 * zebra_snmp.c: Remove defaults used to initialize smux connection to
470 snmpd. Connection is initialized only if smux peer is configured.
hassob71f00f2004-10-13 12:20:35 +0000471 * zserv.c: Remove useless warnings "forwarding is already on".
hassoc75105a2004-10-13 10:33:26 +0000472
hasso39ff11d2004-10-12 15:55:19 +00004732004-10-12 Hasso Tepper <hasso at quagga.net>
474
475 * zebra_vty.c: Unbreak "show ip route" command help and make it work
476 for isis routes.
hasso39db97e2004-10-12 20:50:58 +0000477 * interface.c(if_dump_vty): Show IPv6 addresses in "show interface"
478 output. Fixes Bugzilla #119.
479 * *.c: Make some strings const and some (unsigned) casts to fix
480 compiler warnings.
hasso39ff11d2004-10-12 15:55:19 +0000481
hassofce954f2004-10-07 20:29:24 +00004822004-10-07 Hasso Tepper <hasso at quagga.net>
483
484 * connected.c, main.c, rt_netlink.c, rtadv.c, zebra_rib.c, zserv.c:
485 Fix warnings: make strings const, signed -> unsigned.
486
paul72164662004-10-05 14:39:43 +00004872004-10-05 Paul Jakma <paul@dishone.st>
488
489 * irdp_packet.c: (parse_irdp_packet) style issues.
490 Use sockopt_iphdrincl_swab_systoh.
491 Try unbork the code. Checksum the ICMP data and actually
492 compare it to received checksum. Check data length against
493 claimed length in header.
494 Always use ntoh.. when accessing addresses, even when the
495 comparison happens to be endian-safe.
496 (send_packet) minor style isues. Use
497 sockopt_iphdrincl_swab_htosys.
498 (irdp_iph_hton/ntoh) IP header to/from network/host order.
499
hassoeef1fe12004-10-03 18:46:08 +00005002004-10-03 Gilad Arnold <gilad.arnold at terayon.com>
501
502 * interface.c, interface.h: A new prefix tree of connected subnets is
503 associated with each interface structure in zebra, in which each
504 live (ie, non-synthetic) node holds a list of installed addresses
505 that belong to that prefix. Remove secondary address logic from cli.
506 See [quagga-dev 872] for detailed explanation.
507 * connected.c: Use if_subnet_add() and if_subnet_delete().
508
hasso18a6dce2004-10-03 18:18:34 +00005092004-10-03 James R. Leu <jleu at mindspring.com>
510
511 * router-id.c, router-id.h: New files. Router id selection process. If
512 there is non 127.x.x.x address in loopack interface, lowest of them
513 is chosen. If there isn't, lowest from other interfaces addresses
514 are chosen. "router-id x.x.x.x" vty command to manual override.
515 * Makefile.am: Compile new files.
516 * main.c: Initialize router id.
517 * redistribute.c: Add interface addresses into router id selection
518 lists as they (dis)appear.
519 * zserv.c, zserv.h: Sending router id related messages to daemons.
520
hassoc9e52be2004-09-26 16:09:34 +00005212004-09-26 Hasso Tepper <hasso at quagga.net>
522
523 * irdp_interface.c, irdp_main.c, irdp_packet.c, rt_netlink.c,
524 rtadv.c, zebra_vty.c: Fix compiler warnings.
525
paul0c0f9112004-09-24 08:24:42 +00005262004-09-24 Paul Jakma <paul@dishone.st>
527
paul26f7a242004-09-24 08:45:10 +0000528 * irdp_interface.c: (no_ip_irdp_address_preference_cmd)
529 add missing listnode declaration.
530
5312004-09-24 Paul Jakma <paul@dishone.st>
532
paul0c0f9112004-09-24 08:24:42 +0000533 * irdp_{interface,main}.c: lists typedef removal cleanup.
534 update some list loops to LIST_LOOP. some miscellaneous style
535 and indent fixups.
536 (no_ip_irdp_address_preference_cmd) Fix delete of referenced node
paul26f7a242004-09-24 08:45:10 +0000537 in loop.
paul0c0f9112004-09-24 08:24:42 +0000538 * irdp_packet.c: (irdp_recvmsg) Fix buggy assignment of integer
539 to pointer.
540 * if_ioctl{,_solaris}.c: lists typedef removal cleanup.
541 update some list loops to LIST_LOOP.
542
hasso52dc7ee2004-09-23 19:18:23 +00005432004-09-23 Hasso Tepper <hasso at quagga.net>
544
545 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
546
paul44983cf2004-09-22 13:15:58 +00005472004-09-22 Paul Jakma <paul.jakma@sun.com>
548
549 * zserv.c: (zsend_route_multipath) fix nasty bad memset of struct
550 in_addr to sizeof(struct in6_addr), causing odd and hard to debug
551 crash.
552
hassoc34b6b52004-08-31 13:41:49 +00005532004-08-31 Hasso Tepper <hasso at quagga.net>
554
555 * main.c, rt_netlink.c: Added -s command line switch for tuning
556 netlink receive buffer size in Linux to avoid buffer overruns.
557
gdta5ea6872004-08-26 13:24:00 +00005582004-08-26 Miles Nordin <carton@Ivy.NET>
559
560 * ipforward_sysctl.c (mib_ipv6): Use size_t for len, per
561 sysctl(3), rather than int. (Needed on NetBSD/alpha to display
562 forwarding status correctly.)
563
paul3e0b3a52004-08-23 18:58:32 +00005642004-08-23 Paul Jakma <paul@dishone.st>
565
566 * zserv.c: (zebra_init) remove implicit ip forward enabling
567
paul0de1cde2004-08-19 04:45:33 +00005682004-08-19 Paul Jakma <paul@dishone.st>
569
570 * irdp_main.c: update to match sockopt renames.
571 * irdp_packet.c: include sockopt.h and update to match sockopt
572 renames.
573
gdt57492d52004-08-11 18:06:38 +00005742004-08-11 Greg Troxel <gdt@fnord.ir.bbn.com>
575
576 * rtadv.c (rtadv_send_packet): Allocate space for control messages
577 more carefully; it was wrong on NetBSD/sparc where CMSG alignment
578 is to 8 bytes instead of 4, and overwriting the address. Use the
579 provided macros for determining lengths.
580
paul5b73a672004-07-23 15:26:14 +00005812004-07-23 Sowmini Varadhan <Sowmini.Varadhan@Sun.COM>
582
583 * if_ioctl_solaris.c: HAVE_IPV6 ifdef fixups
584 * zserv.c: ditto
585 * ioctl_solaris.c: ditto.
586 * interface.c: cast for LLADDR
587 * interface.h: Add guards, include redistribute.h and remove
588 extraneous definitions of zebra_interface_{up,down}_update
589 * ioctl.h: Add AF_IOCTL define for non SOLARIS_IPV6
590 * redistribute.h: include dependent header, zserv.h
591 * zserv.h: include dependent header, rib.h
592
paul1470baf2004-07-23 15:25:01 +00005932004-07-23 Paul Jakma <paul@dishone.st>
594
595 * irdp_main.c: use setsockopt_pktinfo_ipv4
596 * irdp_packet.c: use SOPT_SIZE_CMSG_PKTINFO_IPV4 and
597 getsockopt_pktinfo_ifindex()
598
gdtcced60d2004-07-13 16:45:54 +00005992004-07-13 David Wiggins <dwiggins@bbn.com
600
601 * kernel_socket.c (rtm_flag_dump): terminate buffer with '\0', not '0'.
602
hasso25dac852004-07-13 03:06:51 +00006032004-07-13 Hasso Tepper <hasso@estpak.ee>
604
605 * irdp_main.c: Add privilege change.
606
hasso996933f2004-07-12 16:32:56 +00006072004-07-12 Hasso Tepper <hasso@estpak.ee>
608
609 * irdp_interface.c: follow common style while naming vty command
610 functions. Avoids confusion in extract.pl.
611
gdt87efd642004-06-30 17:36:11 +00006122004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
613
614 * main.c: define thread_master variable so that linking with
615 libzebra.so doesn't fail. Arguably zclient.o should be in a
616 separate library, but this is far less disruptive.
617
hassoca776982004-06-12 14:33:05 +00006182004-06-12 Robert Olsson <Robert.Olsson at data.slu.se>
619
620 * Added IRDP support.
621
hasso3e31cde2004-05-18 11:58:59 +00006222004-05-18 Hasso Tepper <hasso@estpak.ee>
623
624 * rtadv.c: Removed "[no] ipv6 nd send-ra" command. Replaced "ipv6 nd
625 prefix-advertisement" with "ipv6 nd prefix". Rewrite syntax of
626 "ipv6 nd prefix" command to allow various combinations of parameters
627 and flags. No defaults in configuration. Replaced on-link and
628 autoconfig with off-link and no-autoconfig flags in command syntax.
629 Cosmetic fixes in all commands. Documentation to reflect all changes.
630
paul19877dd2004-05-11 10:49:35 +00006312004-05-11 Paul Jakma <paul@dishone.st>
632
633 * Makefile.am: support for IOCTL_METHOD, as per Sowmini's patch.
paul48a46fa2004-05-11 10:55:22 +0000634 * if_ioctl_solaris.c: Fixup some erroneous privilege changes and
635 add privs.h header.
636 * ioctl_solaris.c: ditto
paulc50ae8b2004-05-11 11:31:07 +0000637 * ioctl.h: Add if_ioctl_ipv6 prototype and AF_IOCTL for SOLARIS_IPV6
638 * kernel_socket.c: Fix SAROUNDUP, compiler doesnt like do..while
639 RHS in assignments :)
640 * redistribute.c: (zebra_interface_delete_update) only used
641 if RTM_IFANNOUNCE and NETLINK is available.
642
paulb9df2d22004-05-09 09:09:59 +00006432004-05-09 Paul Jakma <paul@dishone.st>
644
645 * zserv.c: (zsend_route_multipath) Set the nexthop_num
646 field correctly. Add NEXTHOP_TYPE_IPV6_IFNAME for v6.
647 Conditionally set ZAPI_MESSAGE_METRIC flag - only for adds.
648 (zsend_ipv4_add) cruft, deleted.
649 (zsend_ipv4_delete) ditto.
650 (zsend_ipv6_add) ditto.
651 (zsend_ipv6_delete) ditto.
paul44145db2004-05-09 11:00:23 +0000652 * ioctl.c: (if_get_mtu) set mtu6 to mtu
653 * mtu_kvm.c: (if_kvm_get_mtu) set mtu6 to mtu
654 * rt_netlink.c: (netlink_interface) set mtu6 to mtu
655 (netlink_link_change) ditto
paul66e94882004-05-09 17:19:24 +0000656 * ipforward_solaris.c: fix typo of ND variable.
paul88424682004-05-09 18:21:35 +0000657 * if_ioctl_solaris.c: Add zprivs support.
658 * ioctl_solaris.c: ditto.
paul66e94882004-05-09 17:19:24 +0000659
paulb9df2d22004-05-09 09:09:59 +00006602004-05-09 Sowmini Varadhan <sowmini.varadhan@sun.com>
661
662 * zserv.c: (zsend_ipv{4,6}_{add,delete}_multipath) collapsed
663 into single zsend_route_multipath function.
664 (zsend_interface_{up,down}) collapsed into zsend_interface_update.
665 (zsend_interface_address_{add,delete}) collapsed into
666 zsend_interface_address.
667 (zsend_interface_add) send mtu6.
668 (zsend_interface_delete) ditto.
669 (zebra_write) remove unused function.
670 (various) Apply static qualifier. Add comments.
671 * zserv.h: Definitions changed as per above.
672 * redistribute.c: Changes as per zserv.c.
paul44145db2004-05-09 11:00:23 +0000673 * interface.c: (if_delete_update) only used with HAVE_NETLINK
674 and RTM_IFANNOUNCE.
675 (if_flag_dump_vty) Solaris IFF_IPV4 and IFF_IPV6 if flags
676 (if_dump_vty) print mtu6 if not same as mtu
paul88424682004-05-09 18:21:35 +0000677 * if_ioctl_solaris.c: New file, Solaris interface ioctl methods.
678 * ioctl_solaris.c: New file, Common solaris ioctl methods.
679
hasso34195bf2004-04-06 12:07:06 +00006802004-04-06 Krzysztof Oledzki <oleq@ans.pl>
681
682 * rt_netlink.c: Do not ignore metric when reading kernel routing
683 table on Linux with rt_netlink interface.
684
6852004-03-18 Hasso Tepper <hasso@estpak.ee>
hassof1d92e12004-03-18 15:40:33 +0000686
687 * interface.c: Temporary fix for handling secondary addresses
688 with label.
689
hasso55906722004-02-11 22:42:16 +00006902004-02-12 Hasso Tepper <hasso@estpak.ee>
hassof1d92e12004-03-18 15:40:33 +0000691
hasso55906722004-02-11 22:42:16 +0000692 * zserv.c: Added "ipv6 forwarding" command.
693
gdtb27900b2004-01-08 15:44:29 +00006942004-01-08 Greg Troxel <gdt@fnord.ir.bbn.com>
695
696 * kernel_socket.c (kernel_read): Use sockaddr_storage in buffer
697 for reading kernel messages to ensure enough space (necessary on
698 Solaris due to sockaddr_dl being large). Thanks to Sowmini
699 Varadhan for help with this change.
700
gdt9ccabd12004-01-06 18:23:02 +00007012004-01-06 Greg Troxel <gdt@t1.ir.bbn.com>
702
703 * rtadv.c (rtadv_send_packet): Change perror to zlog_err.
704
gdtdbee01f2004-01-06 00:36:51 +00007052004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
gdt4bfbea82004-01-06 01:13:05 +0000706 * kernel_socket.c (ifm_read): Major cleanup. Use Sowmini's code
707 to find the sockaddr_dl in all cases, narrowing the Solaris ifdef
708 to just the accomodation of broken kernels. Check sockaddr_dl
709 carefully up front, and later assume any non-NULL sdl pointer is
710 valid. Clean up types and variable declarations, and rename
711 WRAPUP to SAROUNDUP to make the name fit the behavior.
712
7132004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
gdtdbee01f2004-01-06 00:36:51 +0000714
715 * kernel_socket.c (kernel_read): Add a sockaddr_dl to the ifmsg
716 structure, because on Solaris sockaddr_dl is far larger than the
717 base sockaddr structure. (The code had previously been failing to
718 read all the data.)
gdt4bfbea82004-01-06 01:13:05 +0000719
gdtda26e3b2004-01-05 17:20:59 +00007202004-01-05 Greg Troxel <gdt@ahi.ir.bbn.com>
721
722 * kernel_socket.c (kernel_read): Look up interfaces by index
723 first, so that state changes which do not include a sockaddr_dl
724 now work. Add many sanity checks. In
725 particular, do not assume that a sockaddr_dl follows a message
726 without checking the ifm_addrs flags, and do not trust the length
727 in a sockaddr_dl. Add/clarify many comments.
728
gdt4b5e1352003-12-03 17:54:34 +00007292003-12-03 Greg Troxel <gdt@poblano.ir.bbn.com>
730
731 * rtadv.c: reorder includes to avoid compiler warning (define
732 structs before using them in prototypes)
733
hasso647e4f12003-05-25 11:43:52 +00007342003-05-25 Jim Crumpler <Jim.Crumpler@edion.com>
735
736 * zserv.c: Add "ip forwarding" command.
737
paul445f1432003-05-16 19:00:31 +00007382003-05-16 Gilad Arnold <gilad.arnold@terayon.com>
739
740 * zebra_rib.c: Fix memory leaks for ifname nexthops
741
7422003-04-19 Israel Keys <ikeys@agile.tv>
743
744 * rt_netlink.c: BLOCK on netlink while initialising
745
7462003-02-06 Francois Deppierraz <francois@ctrlaltdel.ch>
747
748 * rt_netlink.c (netlink_route_multipath): Set RTM_F_EQUALIZE when
749 it exists.
750
paul718e3742002-12-13 20:15:29 +00007512002-09-28 Akihiro Mizutani <mizutani@net-chef.net>
752
753 * zebra_rib.c (static_add_ipv4): Null0 static route is added.
754
7552002-09-10 Jochen Friedrich <chris+zebra@scram.de>
756
757 * rt_netlink.c: Add check for EAGAIN.
758 * kernel_socket.c: Likewise
759
7602002-06-12 Israel Keys <ikeys@oz.agile.tv>
761
762 * rt_netlink.c: Setting the NLM_F_ACK flag on the netlink command
763 message so that we get an ACK for successful netlink commands.
764 Change the netlink socket to BLOCKING while we wait for a
765 response; be it an ACK or an NLMSG_ERROR. Change
766 netlink_parse_info to deal with ACK messages.
767
7682001-11-01 Jun-ichiro itojun Hagino <itojun@iijlab.net>
769
770 * rtadv.c (rtadv_make_socket): setsockopt(IPV6_CHECKSUM) does not
771 work for ICMPv6 socket.
772
7732001-10-24 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
774
775 * rib.c (rib_process): Select connected route any case.
776
7772001-10-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
778
779 * interface.c (no_ip_address_secondary): Add "no" to command.
780
7812001-10-18 NOGUCHI Kay <kay@v6.access.co.jp>
782
783 * ioctl.c (if_prefix_add_ipv6): Set the prefered and valid lifetime
784 to infinity as the freebsd4.4 workaroud.
785
7862001-08-26 mihail.balikov@interbgc.com
787
788 * zebra_snmp.c: Fix snmpwalk problem such as IPv4 address
789 A.B.C.255.
790
7912001-08-22 NOGUCHI Kay <kay@v6.access.co.jp>
792
793 * rtadv.c: Do not send RA to loopback interface.
794
7952001-08-20 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
796
797 * ioctl.c (if_set_prefix): Remove Linux 2.0 specific connected
798 route treatment.
799
8002001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
801
802 * zebra-0.92a released.
803
8042001-08-17 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
805
806 * rib.c: Kernel route is treated as EGP routes in nexthop active
807 check.
808
8092001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
810
811 * zebra-0.92 released.
812
8132001-08-08 "Akihiro Mizutani" <mizutani@dml.com>
814
815 * rib.c (show_ip_route_prefix_longer): Add longer-prefix option to
816 show route commands.
817
8182001-07-29 Yon Uriarte <havanna_moon@gmx.net>
819
820 * zserv.c (zsend_ipv4_add_multipath): Add
821 NEXTHOP_TYPE_IPV4_IFINDEX check.
822
8232001-07-29 NOGUCHI Kay <kay@v6.access.co.jp>
824
825 * rtadv.c: Apply valid lifetime, preferred lifetime, onilnk flag,
826 autonomous address-configuration flag patch.
827 (no_ipv6_nd_suppress_ra): Change "ipv6 nd send-ra" to "no ipv6 nd
828 suppress-ra".
829
8302001-07-24 NOGUCHI Kay <kay@v6.access.co.jp>
831
832 * rtadv.c (ipv6_nd_ra_interval): Add "ipv6 nd ra-interval SECONDS"
833 command.
834
8352001-07-24 Jun-ichiro itojun Hagino <itojun@iijlab.net>
836
837 * rt_socket.c (kernel_rtm_ipv4): Add KAME/NetBSD151 equal cost
838 multicast FIB support both IPv4 and IPv6.
839
8402001-07-24 Hal Snyder <hal@vailsys.com>
841
842 * if_ioctl.c (interface_list_ioctl): Fix bug of failing to get the
843 full list of interfaces on some configurations of OpenBSD.
844
8452001-07-23 NOGUCHI Kay <kay@v6.access.co.jp>
846
847 * rtadv.c (ipv6_nd_send_ra): Apply [zebra 9320] to fix "ipv6 nd
848 send-ra" bug.
849 (ipv6_nd_ra_lifetime): "ipv6 nd ra-lifetime 0" for default router
850 availability.
851 (ipv6_nd_managed_config_flag): "ipv6 nd managed-config-flag" is
852 added.
853 (ipv6_nd_other_config_flag): "ipv6 nd other-config-flag" is added.
854
8552001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
856
857 * ioctl.c (if_ioctl): Change ioctl argument from int to u_long.
858
859 * rt_ioctl.c: Likewise.
860
8612001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
862
863 * kernel_socket.c (rtm_write): Only set RTF_CLONING when the
864 interface is not p2p.
865
8662001-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
867
868 * ioctl.c (if_prefix_add_ipv6): Fix argument type.
869
8702001-04-06 Toshiaki Takada <takada@zebra.org>
871
872 * zserv.c (zsend_interface_delete): Use client->obuf instead of
873 allocating new stream.
874
8752001-03-10 Kunihiro Ishiguro <kunihiro@zebra.org>
876
877 * rt_netlink.c: Revert RTPROT_BOOT change.
878
8792001-03-08 Kunihiro Ishiguro <kunihiro@zebra.org>
880
881 * rt_netlink.c (netlink_route_change): Skip RTPROT_BOOT route.
882 (netlink_routing_table): Likewise.
883
8842001-03-07 "Akihiro Mizutani" <mizutani@dml.com>
885
886 * zserv.c (zsend_ipv4_add_multipath): Send metric value to
887 protocol daemons.
888
8892001-02-18 Kunihiro Ishiguro <kunihiro@zebra.org>
890
891 * rt_netlink.c (netlink_routing_table): Do not return
892 tb[RTA_GATEWAY] is NULL. Reported by: "Michael O'Keefe"
893 <mokeefe@qualcomm.com>.
894
8952001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
896
897 * if_ioctl.c (interface_list_ioctl): Call if_add_update().
898 Suggested by: Chris Dunlop <chris@onthe.net.au>.
899
9002001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
901
902 * rib.c (nexthop_active_ipv4): When nexthop type is
903 NEXTHOP_TYPE_IPV4_IFINDEX, propery set the ifindex to rifindex.
904
905 * zserv.c: Initialize rtm_table_default with 0.
906
907 * zebra-0.91 is released.
908
9092001-01-31 Kunihiro Ishiguro <kunihiro@zebra.org>
910
911 * kernel_socket.c (rtm_read): Filter cloned route. Suggested by:
912 Jun-ichiro itojun Hagino <itojun@iijlab.net>
913
9142001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
915
916 * connected.c (connected_up_ipv6): When point-to-point destination
917 address is ::, use local address for connected network.
918 (connected_down_ipv6): Likewise.
919
9202001-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
921
922 * zserv.c (zebra_serv): Add missing close() call. Reported by:
923 David Waitzman <djw@vineyard.net>.
924
9252001-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
926
927 * rib.c (rib_lookup_ipv4): New function for checking exact match
928 IGP route.
929
9302001-01-23 Kunihiro Ishiguro <kunihiro@zebra.org>
931
932 * rib.c (show_ipv6_route_protocol): Fix bug of "show ip route
933 route-type".
934
9352001-01-22 Kunihiro Ishiguro <kunihiro@zebra.org>
936
937 * interface.c (zebra_interface): Do not call
938 zebra_interface_add_update for inactive interface.
939
940 * zserv.c (zsend_interface_address_add): Send interface address
941 flag.
942 (zsend_interface_address_delete): Likewise.
943
9442001-01-19 Kunihiro Ishiguro <kunihiro@zebra.org>
945
946 * interface.c (if_addr_add): Add flags.
947
948 * connected.c (ifa_add_ipv4): Add new function for interface
949 address handling.
950 (ifa_delete_ipv4): Likewise.
951
9522001-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
953
954 * rib.c (rib_update): Update IPv6 RIB.
955
956 * kernel_socket.c (ifam_read): Call if_refresh() for update
957 interface flag status. This is for implicit interface up on *BSD.
958
959 * interface.c (if_refresh): Add interface flag refresh function.
960
961 * kernel_socket.c (rtm_read): Fetch link-local address interface
962 index.
963 (ifan_read): We need to fetch interface information. Suggested
964 by: Yasuhiro Ohara <yasu@sfc.wide.ad.jp>.
965
966 * rib.c (static_ipv6_nexthop_same): Add check for
967 NEXTHOP_TYPE_IPV6_IFNAME.
968
9692001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
970
971 * rib.h (NEW_RIB): Turn on NEW_RIB flag. IPv6 new RIB code are
972 taken into place.
973
9742001-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
975
976 * rib.c (static_ipv6_write): Display STATIC_IPV6_GATEWAY_IFNAME
977 configuration.
978 (rib_delete_ipv6): Handle same route conter for IPv6 connected
979 route.
980 (show_ipv6_route_protocol): New command.
981 (show_ipv6_route_addr): Likewise.
982 (show_ipv6_route_prefix): Likewise.
983 (rib_update): Sweep kernel route when it is cleaned up.
984
985 * rt_socket.c (kernel_add_ipv6): Add NEXTHOP_IPV6_IFNAME
986 treatmenet.
987
988 * rt_netlink.c (kernel_init): Likewise.
989
990 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): Likewise.
991
992 * rib.c (rib_add_ipv4): Cope with same connected route on a
993 interface. Suggested by: Matthew Grant <grantma@anathoth.gen.nz>.
994 (nexthop_ipv6_ifname_add): Add NEXTHOP_IPV6_IFNAME treatmenet.
995
996 * rib.h (struct new_rib): Add refcnt to keep track on the
997 reference of same connected route.
998
999 * ioctl.c (if_set_prefix): Add check for GNU_LINUX.
1000
10012001-01-13 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1002
1003 * kernel_socket.c (ifan_read, rtm_type_str): Add RTM_OIFINFO check.
1004 (rtm_type_str): Add RTM_IFANNOUNCE check.
1005 (ifan_read): New function.
1006 (kernel_read): Add case for RTM_IFANNOUNCE.
1007
10082001-01-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1009
1010 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): New function.
1011
1012 * rt_netlink.c (netlink_route_multipath): IPv6 address ifindex
1013 treatment.
1014
1015 * connected.c (connected_up_ipv6): Add dest value check.
1016
1017 * rib.c (nexthop_active_ipv6): Do not touch IPv6 nexthop's
1018 ifindex.
1019 (rib_add_ipv4): Import rib_add_ipv6() same route check code.
1020 (nexthop_active_check): NEXTHOP_TYPE_IPV6_IFINDEX activity is only
1021 checked by ifindex.
1022
1023 * rt_socket.c (kernel_rtm_ipv6_multipath): New function.
1024
1025 * redistribute.c (redistribute_add): Use
1026 zsend_ipv6_add_multipath().
1027 (redistribute_delete_multipath): Use
1028 zsend_ipv6_delete_multipath().
1029
1030 * interface.c (ip_address): Check current IP address to avoid
1031 duplicate.
1032
1033 * rib.c (rib_delete_ipv4): When deleted route is connected route,
1034 check ifindex.
1035 (rib_add_ipv4): When connected route is added do not perform
1036 implicit withdraw.
1037 (rib_delete_ipv4): Check ifindex for connected route.
1038
1039 * kernel_socket.c (rtm_read): When route has RTF_STATIC, set
1040 ZEBRA_FLAG_STATIC for indicate as persistent route.
1041 (ifam_read): Unset interface index from link-local address when
1042 IPv6 stack is KAME.
1043
1044 * rib.c (rib_update): Do not delete persistent kernel route.
1045
1046 * rib.h (struct new_rib): Integrate RIB_FLAG_* to ZEBRA_FLAG_*.
1047
1048 * rt_socket.c (kernel_add_ipv6_multipath): Add placeholder.
1049 (kernel_delete_ipv6_multipath): Likewise.
1050
1051 * rt_netlink.c (netlink_talk): Give struct nlsock to netlink_talk.
1052
10532001-01-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1054
1055 * rib.c (rib_update): Revert Matthew Grant's patch
1056 zebra_cvs_newribfix.patch. Use struct rib->ifindex for kernel
1057 interface index. Introduce NEXTHOP_TYPE_IPV4_IFINDEX to support
1058 that. Add support for address deletion situation.
1059
10602001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1061
1062 * interface.c: Remove HAVE_IF_PSEUDO part.
1063
1064 * rib.h: Likewise.
1065
1066 * rt_netlink.c (netlink_link_change): Likewise.
1067
10682001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1069
1070 * zserv.c: Remove OLD_RIB codes.
1071
10722001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1073
1074 * zebra-0.90 is released.
1075
10762001-01-09 Matthew Grant <grantma@anathoth.gen.nz>
1077
1078 * interface.c (if_new_intern_ifindex): Allocate a new internal
1079 interface index.
1080 (if_addr_refresh): Fix up ip addresses configured via zebra.
1081 (if_add_update): Handle an interface addition.
1082 (if_delete_update): Handle an interface delete event.
1083
1084 * rib.c (nexthop_ipv4_add): Add kernel route deletion process when
1085 interface goes down.
1086
10872001-01-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1088
1089 * interface.c (if_dump_vty): When HAVE_NET_RT_IFLIST is defined,
1090 NetBSD also use this function. Suggested by Jasper Wallace
1091 <jasper@ivision.co.uk>.
1092
10932001-01-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1094
1095 * rib.c (nexthop_active_ipv4): Move back to set methodo to old
1096 one.
1097
10982001-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1099
1100 * rib.c (rib_add_ipv4): EBGP multihop set ZEBRA_FLAG_INTERNAL
1101 flag, so treat it.
1102
11032001-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1104
1105 * rt_netlink.c (netlink_talk_ipv6): When IPv6 route message is
1106 sent from netlink_cmd, the same message comes from netlink. To
1107 avoid confusion, temporary netlink_talk_ipv6 use netlink.sock
1108 instead of netlink_cmd.sock.
1109
11102001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1111
1112 * zserv.h (ZEBRA_SERV_PATH): Change "/tmp/zebra" to "/tmp/.zebra".
1113 Change "/tmp/zserv" to "/tmp/.zserv".
1114
11152000-12-29 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
1116
1117 * rt_netlink.c (struct nlsock): Divide kernel message into listen
1118 socket and command socket.
1119 (netlink_talk): Remove socket listen code. Use netlink_parse_info
1120 for read kernel response.
1121
11222000-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1123
1124 * rib.c (vty_show_ip_route): Show uptime of the RIP,OSPF,BGP
1125 routes.
1126
11272000-12-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1128
1129 * rt_netlink.c (netlink_route_multipath): Metric value is
1130 reflected to kernel routing table.
1131
1132 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Likewise.
1133
1134 * kernel_socket.c (rtm_write): Likewise.
1135
1136 * rib.c (nexthop_active_ipv4): Only iBGP route perform recursive
1137 nexthop lookup.
1138
1139 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Add ioctl version of
1140 new RIB implementation.
1141
11422000-12-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1143
1144 * rib.h: Remove MULTIPATH_NUM. It is defined by configure script.
1145
11462000-12-25 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1147
1148 * rib.c (rib_if_up): Call rib_fib_set instead of RIB_FIB_SET for
1149 proper redistribution.
1150
11512000-12-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1152
1153 * rib.c (nexthop_active_ipv4): Add self lookup nexthop check.
1154 (show_ip_route_protocol): Support new RIB.
1155
1156 * rt_netlink.c (netlink_route_change): Do not return when gate is
1157 NULL.
1158
11592000-12-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1160
1161 * rib.c (rib_lookup_ipv4_nexthop): IBGP nexthop check function is
1162 updated.
1163 (rib_add_ipv4): Free implicit withdraw route's RIB.
1164
11652000-12-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1166
1167 * rib.c (nexthop_active_ipv4): Check indirect nexthop.
1168
1169 * redistribute.c (redistribute_add_multipath): Redistribution
1170 works with new rib code.
1171
11722000-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1173
1174 * rt_netlink.c (netlink_route_multipath): Check useful nexthop
1175 number.
1176 (netlink_route_multipath): Clear rtnh_flags and rtnh_hops.
1177
1178 * rib.c (nexthop_active_update): Set flag for the rib's nexthop
1179 activity is changed.
1180 (nexthop_active_check): Before checking interface is up, make it
1181 sure the interface exist.
1182
11832000-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1184
1185 * rib.c (ip_route): New RIB prototype.
1186
11872000-11-16 Yon Uriarte <ukl2@rz.uni-karlsruhe.de>
1188
1189 * zserv.c (zsend_interface_add): Send hardware address when
1190 hw_addr_len is greater than 0.
1191
11922000-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1193
1194 * connected.c (connected_up_ipv4): Fix ptop bug. The destination
1195 network should be installed into routing table.
1196 (connected_down_ipv4): Likewise.
1197 (connected_add_ipv4): Change to use connected_up_ipv4.
1198 (connected_delete_ipv4): Likewise.
1199
12002000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1201
1202 * rt_netlink.c (netlink_interface_addr): Revert Harald Welte
1203 <laforge@gnumonks.org>'s ptop patch then back to original code to
1204 avoid duplicated connected route problem. Suggested by Frank van
1205 Maarseveen <F.vanMaarseveen@inter.NL.net>.
1206
1207 * kernel_socket.c (rtm_read): Make behavior consistent even #ifdef
1208 DEBUG is defined. Reported by Jun-ichiro itojun Hagino
1209 <itojun@iijlab.net>.
1210
12112000-10-23 Jochen Friedrich <jochen@scram.de>
1212
1213 * main.c (main): Call zebra_snmp_init() when it is enabled.
1214
12152000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1216
1217 * zserv.c (zebra_serv_un): UNIX domain socket server of zebra
1218 protocol.
1219
12202000-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1221
1222 * rib.c (rib_add_ipv4): Same check bug is fixed.
1223
12242000-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1225
1226 * rib.c (rib_if_down): Remove kernel route when the interface goes
1227 down.
1228
1229 * debug.c: New command "debug zebra kernel" is added.
1230
12312000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1232
1233 * zebra-0.89 is released.
1234
12352000-09-24 Harald Welte <laforge@gnumonks.org>
1236
1237 * rt_netlink.c (netlink_interface_addr): Fix point-to-point address
1238 treatment in netlink interface.
1239
12402000-09-21 David Lipovkov <dlipovkov@OpticalAccess.com>
1241
1242 * rib.c (rib_if_down): Pull static route only. Protocol daemon
1243 must withdraw routes when interface goes down.
1244 (rib_add_ipv4): Check nexthop when replace route.
1245
12462000-09-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1247
1248 * if_ioctl.c (if_getaddrs): New function for looking up
1249 interface's address by getifaddrs().
1250
12512000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1252
1253 * connected.c (connected_delete_ipv4): Add check for connected
1254 address is found or not.
1255 (connected_add_ipv6): Reflect IPv6 connected address change to
1256 protocol daemons.
1257 (connected_delete_ipv6): Likewise.
1258
12592000-09-07 David Lipovkov <davidl@nbase.co.il>
1260
1261 * rib.c (rib_delete_ipv4): Reverted the change from pseudo
1262 interface patch to original. Because ospfd deletes routes using
1263 zero ifindex.
1264
12652000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1266
1267 * zebra-0.88 is released.
1268
12692000-08-15 "Akihiro Mizutani" <mizutani@dml.com>
1270
1271 * rib.c (show_ip_route_protocol): Help string correction.
1272 (show_ip_route_prefix): Check prefix mask.
1273 (show_ip_route_vty_detail): Display distance and metric.
1274
12752000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1276
1277 * zserv.c (zsend_interface_add): Change ifindex store size from
1278 two octet to four.
1279 (zsend_interface_delete): Likewise.
1280 (zsend_interface_address_add): Likewise.
1281 (zsend_interface_address_delete): Likewise.
1282 (zsend_interface_up): Likewise.
1283 (zsend_interface_down): Likewise.
1284
12852000-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1286
1287 * rib.c (rib_add_ipv4): Do not install distance 255 route.
1288
12892000-08-10 Toshiaki Takada <takada@zebra.org>
1290
1291 * interface.c (bandwidth_if), (no_bandwidth_if): Call
1292 zebra_interface_up_update () instead of using if_up() and if_down().
1293
12942000-08-07 "Akihiro Mizutani" <mizutani@dml.com>
1295
1296 * interface.c (bandwidth_if): Fix help string.
1297
12982000-08-07 Matthew Grant <grantma@anathoth.gen.nz>
1299
1300 * interface.c (if_dump_vty): Display bandwidth value.
1301 (bandwidth_if): New command "bandwidth <1-10000000>" is added.
1302 When interface is up, force protocol daemons to recalculate routes
1303 due to cost change.
1304 (no_bandwidth_if): Likewise.
1305 (if_config_write): Output bandwidth configuration.
1306
1307 * zserv.c (zsend_interface_add): Send bandwidth value.
1308 (zsend_interface_up): Likewise.
1309 (zsend_interface_down): Likewise.
1310
1311
13122000-08-07 Michael Rozhavsky <mike@nbase.co.il>
1313
1314 * rib.c (show_ip_route_protocol): "show ip route
1315 (bgp|connected|kernel|ospf|rip|static)" is added.
1316
13172000-08-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1318
1319 * rib.c (rib_lookup_ipv4_nexthop): Check parent node until IGP
1320 nexthop is found.
1321 (rib_add_ipv4_internal): Set fib ifindex to rib ifindex.
1322
13232000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1324
1325 * redistribute.c (redistribute_delete): Fix bug of default route
1326 redistribute treatment.
1327
13282000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1329
1330 * rib.c (rib_init): Install ip_node in rib.c instead of zserv.c.
1331 Change default distance value.
1332
1333 Old New
1334 ------------------------------------------
1335 system 10 0
1336 kernel 20 0
1337 connected 30 0
1338 static 40 1
1339 rip 50 120
1340 ripng 50 120
1341 ospf 60 110
1342 ospf6 49 110
1343 bgp 70 200(iBGP) 20(eBGP)
1344 ------------------------------------------
1345
1346 * zserv.c (client_lookup): Function removed.
1347 (zsend_interface_add): Use client's output buffer. Check ifinfo
1348 flag.
1349 (zsend_interface_delete): Likewise.
1350 Delete ipv4_static_radix and ipv6_static_radix.
1351
13522000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1353
1354 * zserv.h (struct zebra_client): When client request interface
1355 information, ifinfo is set.
1356
1357 * rib.c: Temporary Revert changes for pseudo interface.
1358
1359 * rib.h: Likewise.
1360
1361 * zserv.c: Likewise.
1362
1363 * interface.c: Likewise.
1364
13652000-08-02 David Lipovkov <davidl@nbase.co.il>
1366
1367 * interface.c (zebra_if_init): Install interface "pseudo"
1368 commands.
1369
1370 * rib.c (rib_create): ifname argument is added.
1371 (rib_add_ipv4_pseudo): New function is added.
1372 (rib_delete_ipv4_pseudo): Likewise.
1373
1374 * rib.h : Delete INTERFACE_UNKNOWN definition. Add prototype for
1375 pseudo interface functions.
1376
1377 * rt_netlink.c (netlink_link_change): Check for pseudo interface.
1378
1379 * zserv.c (ip_route): When destination is pseudo interface, call
1380 rib_add_ipv4_pseudo().
1381
1382 * zserv.c (no_ip_route): Trim "unknown" argument.
1383
13842000-07-26 kunitake@dti.ad.jp
1385
1386 * if_ioctl.c (if_get_hwaddr): Fix hardware address length from 8
1387 to 6.
1388
1389 * rtadv.c (rtadv_send_packet): Fix shift bug for hardware address.
1390
13912000-07-24 Akihiro Mizutani <mizutani@dml.com>
1392
1393 * interface.c: Use install_default() for common VTY commands.
1394
13952000-07-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1396
1397 * if_ioctl.c (interface_list_ioctl): A interface list size is
1398 calculated from ifreq->if_addr.sa_len. This is for OpenBSD.
1399
1400 * ioctl.c (if_get_mtu): Remove codes for SIOCGIFDATA.
1401
14022000-07-09 Chris Dunlop <chris@onthe.net.au>
1403
1404 * if_ioctl.c (if_get_index): Add check for HAVE_BROKEN_ALIASES.
1405
14062000-07-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1407
1408 * zserv.c (zebra_client_read): Add ZEBRA_REDISTRIBUTE_{ADD,DELETE}
1409 message handling.
1410
14112000-07-02 David Lipovkov <davidl@nbase.co.il>
1412
1413 * zserv.c: "ip route A.B.C.D/M unknown" command is added.
1414
14152000-06-28 Michael Rozhavsky <mike@nbase.co.il>
1416
1417 * rib.c: Remove old kernel route when new route comes in.
1418
14192000-06-13 David Lipovkov <davidl@nbase.co.il>
1420
1421 * rib.c (rib_if_up): Add check for unknown interface.
1422
14232000-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1424
1425 * rib.h: Define INTERFACE_UNKNOWN.
1426
14272000-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1428
1429 * Makefile.am (EXTRA_DIST): Move irdp.c until implementation is
1430 finished.
1431
14322000-06-05 David Lipovkov <davidl@nbase.co.il>
1433
1434 * interface.c (if_zebra_delete_hook): Call rib_if_delete().
1435
1436 * redistribute.c (zebra_interface_delete_update): New function.
1437
1438 * redistribute.h (zebra_interface_delete_update): New function
1439 prototype.
1440
1441 * rib.c (rib_if_delete): New function. Walk down all routes and
1442 delete all on the interface.
1443
1444 * rib.h: New function prototype.
1445
1446 * rt_netlink.c (netlink_link_change): Call
1447 zebra_interface_delete_update ().
1448
14492000-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1450
1451 * if_ioctl.c (interface_info_ioctl): Check interface's flag before
1452 checking interface's address.
1453
14542000-04-26 Jochen Friedrich <jochen@nwe.de>
1455
1456 * GNOME-PRODUCT-ZEBRA-MIB: New file.
1457
1458 * GNOME-SMI: New file.
1459
14602000-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1461
1462 * irdp.c: New file from 1997 development code.
1463 * irdp.h: Likewise.
1464
14652000-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1466
1467 * rtadv.c (rtadv_send_packet): Enclose router advertisement
1468 logging with IS_ZEBRA_DEBUG_PACKET.
1469
14702000-04-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1471
1472 * zserv.c (zebra_client_close): Remove client structure from
1473 client_list when connection is terminated.
1474
14752000-03-21 David Lipovkov <davidl@nbase.co.il>
1476
1477 * connected.c (connected_add_ipv4): Allows all necessary structure
1478 updates for connected route, but doesn't insert it into rib if
1479 it's interface is down.
1480
14812000-01-21 Hideto Yamakawa <hideto.yamakawa@soliton.co.jp>
1482
1483 * rtread_getmsg.c: Set some definition for Solaris 2.5 and Solaris
1484 2.5.1.
1485
14862000-01-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1487
1488 * rib.c (no_ipv6_route_ifname): Fix buf of cheking return value
1489 from str2prefix_ipv6().
1490
14912000-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1492
1493 * rt_socket.c: Revert to use RTF_HOST for IPv4 with /32 route and
1494 IPv6 with /128 routes.
1495 (kernel_rtm_ipv4): In case of /32 route's gateway is interface. It
1496 should have mask for cloning.
1497
14981999-12-26 Jochen.Friedrich@genorz.de
1499
1500 * interface.c (if_dump_vty): Fix a bug of missing VTY_NEWLINE.
1501
15021999-12-23 Alex Zinin <zinin@amt.ru>
1503 * interface.*: dynamic int up/down support
1504
15051999-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1506
1507 * ipforward_proc.c (dropline): Move dropline() from lib/dropline.c
1508
1509 * rtread_proc.c (proc_route_read): Don't use dropline().
1510
15111999-12-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1512
1513 * kernel_socket.c (rtm_read): When message is RTM_GET, it has own
1514 process's pid.
1515
15161999-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1517
1518 * main.c (main): Change to default log output to ZLOG_STDOUT.
1519
1520 * zserv.c (zebra_serv): More detailed error print.
1521
15221999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1523
1524 * kernel_socket.c (rtm_read): Check old pid for static route
1525 insertion check.
1526
15271999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1528
1529 * interface.c (if_dump_vty): BSDI/OS uses 64bit for interface
1530 statistics counter.
1531
1532 * mtu_kvm.c: New file added.
1533
15341999-11-27 Vladimir B. Grebenschikov <vova@express.ru>
1535
1536 * kernel_socket.c (rtm_write): Set RTF_CLONING flag for
1537 route to the directly connected interface.
1538
15391999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1540
1541 * rt_socket.c: Delete USE_HOST_BIT definition.
1542
15431999-11-21 Michael Handler <handler@sub-rosa.com>
1544
1545 * rtread_getmsg.c: Undef some definition to resolve conflict.
1546
15471999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1548
1549 * kernel_socket.c (rtm_write): Change to use pre stored struct_dl
1550 value for gateway specification.
1551
15521999-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1553
1554 * rt_socket.c (kernel_rtm_ipv4): Even mask is 32 under IPv4 or
1555 128 under IPv6, don't use RTF_HOST.
1556
15571999-11-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1558
1559 * Makefile.am (EXTRA_DIST): Add rtread_getmsg.c.
1560
15611999-11-21 Michael Handler <handler@sub-rosa.com>
1562
1563 * rtread_getmsg.c: Added for Solaris 2.6 support.
1564
15651999-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1566
1567 * rtread_sysctl.c (rtm_read_route): RTM_DELETE handling added.
1568
1569 * rt_socket.c (kernel_read): Better BSD routing socket support.
1570
15711999-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1572
1573 * client_main.c: Disable making obsolete zebra test `client'
1574 command.
1575
15761999-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1577
1578 * zebra.c: Renamed to zserv.c.
1579
1580 * zebra.h: Global definitions are moved to lib/zebra.h. Then
1581 renamed to zserv.h.
1582
15831999-10-15 Jordan Mendelson <jordy@wserv.com>
1584
1585 * if_ioctl.c: Add Linux 2.2.X's alias support and dynamic
1586 interface. Remove ugly MAX_INTERFACE handling codes.
1587
15881999-09-17 Satosi KOBAYASI <kobayasi@north.ad.jp>
1589
1590 * Fix serious bug of IPv6 route deletion.
1591
15921999-09-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1593
1594 * ioctl.c (if_set_prefix): Properly set broadcast address.
1595
15961999-09-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1597
1598 * rib.c (rib_add_ipv6, rib_delete_ipv6): now protocol daemons
1599 can install connected route to kernel via zebra
1600
16011999-08-24 VOP <vop@unity.net>
1602
1603 * rib.c: Include "sockunion.h"
1604
16051999-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
1606
1607 * ipforward.h: New file.
1608
1609 * zebra.h: Obsolete message ZEBRA_GET_ALL_INTERFACE,
1610 ZEBRA_GET_ONE_INTERFACE, ZEBRA_GET_HOSTINFO are deleted.
1611
16121999-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1613
1614 * zebra.h (ZEBRA_INTERFACE_ADDRESS_ADD):
1615 ZEBRA_INTERFACE_{ADD,DELETE} added.
1616
16171999-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1618
1619 * rib.c: show ip route A.B.C.D works.
1620
1621 * zebra.c (zebra_read_ipv4): Add ifindex to zebra messages.
1622
16231999-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1624
1625 * zebra.h: New Zebra message ZEBRA_INTERFACE_{ADD,DELETE} added.
1626
16271999-08-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1628
1629 * interface.h: New file.
1630 * Makefile.am: Add interface.h
1631
16321999-08-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1633
1634 * redistribute.c (zebra_redistribute): give ifindex to client.
1635
16361999-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1637
1638 * main.c (longopts): -k, --keep_kernel option added.
1639
16401999-07-18 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1641
1642 * rt_socket.c (rtm_write): forgot closing socket bug fixed.
1643
16441999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1645
1646 * rib.c (show_ipv6_cmd): if rib is link show interface name.
1647
16481999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1649
1650 * rt_socket.c (rtm_write): use sockaddr_dl when null gateway.
1651
16521999-07-16 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1653
1654 * rt_socket.c (rtm_write): ipv6 route table bug fixed.
1655
16561999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1657
1658 * zebra.c (zebra_read_ipv6): read link prefix from ospf6 support
1659
16601999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1661
1662 * rt_socket.c (kernel_rtm_ipv6): gate treatment bug fixed.
1663
16641999-07-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1665
1666 * if_sysctl.c (ifm_read): Clear sockunion argument before fetching
1667 data. Suggested by "Chris P. Ross" <cross@eng.us.uu.net>
1668
16691999-07-08 HEO SeonMeyong <seirios@Matrix.IRI.Co.Jp>
1670
1671 * interface.c (if_tun_add): Add KAME's gif tunnel setting codes.
1672
16731999-06-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1674
1675 * zebra.c (zebra_serv): Only accept loopback address connection.
1676
16771999-06-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1678
1679 * zebra.h (ZEBRA_ROUTE_EXTERNAL): Add zebra messages flags
1680
16811999-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1682
1683 * ipforward_proc.c: ipforward_on () and ipforward_off () added.
1684
16851999-06-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1686
1687 * ipforward_proc.c (ipforward_ipv6): Check for IPv6 forwarding
1688 using /proc file system is added.
1689
16901999-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1691
1692 * if_ioctl.c (if_get_index): Interface index set bug is fixed by
1693 adding #else at the middle of function. Suggested by David Luyer
1694 <luyer@ucs.uwa.edu.au>.
1695
16961999-05-29 <kunihiro@zebra.org>
1697
1698 * rt_ioctl.c: Comment out #include <linux/ipv6_route.h>.
1699
17001999-05-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1701
1702 * zebra.h (ZEBRA_ROUTE_MAX): Add new define for the max value of
1703 the sort of routes.
1704
17051999-05-25 Patrick Koppen <koppen@rhrk.uni-kl.de>
1706
1707 * rt_netlink.c (netlink_socket): Make netlink socket non-blocking.
1708 (netlink_parse_info): If errno is EWOULDBLOCK then continue to
1709 parse the message.
1710 (netlink_talk): Likewise
1711
17121999-05-17 <kunihiro@zebra.org>
1713
1714 * redistribute.c (zebra_check_addr): Added for loopback address
1715 check.
1716
17171999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1718
1719 * rt_netlink.c (netlink_route_change): Tempolary bypass ipv6 route
1720 change treatment.
1721
1722 * Makefile.am (noinst_HEADERS): redistribute.h added.
1723
1724 * redistribute.h: New file.
1725
17261999-05-14 Stephen R. van den Berg <srb@cuci.nl>
1727
1728 * zebra.c (show_table): Show all table configuration DEFUN.
1729 (config_table): Config table number DEFUN.
1730
1731 * rt_netlink.c: Add support for multiple routing table.
1732
1733 * rib.c (rib_weed_table): New function added for delete all
1734 routes from specified routing table.
1735
1736 * main.c (signal_init): SIGTERM call sigint.
1737 (sigint): Loggging more better message.
1738
17391999-05-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1740
1741 * rt_netlink.c: Change log () to zlog ().
1742
17431999-05-07 <kunihiro@zebra.org>
1744
1745 * zebra.h (ZEBRA_ROUTE_OSPF6): Added for ospf6d route.
1746
17471999-04-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1748
1749 * interface.c: Add `no ip address' command.
1750
17511999-04-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1752
1753 * rt_netlink.c (kernel_read): Function added for asynchronous
1754 zebra between kernel communication.
1755
17561999-03-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1757
1758 * rtread_sysctl.c (rtm_read): Fix address memcopy overrun bug.
1759 Reported by Achim Patzner <ap@bnc.net>.
1760
17611999-03-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1762
1763 * Makefile.am: Install configuration sample with 600 permission.
1764
17651999-03-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1766
1767 * Makefile.am: Add -I.. to INCLUDES.
1768
17691999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
1770
1771 * syslog support added
1772
17731999-02-17 Peter Galbavy <Peter.Galbavy@knowledge.com>
1774
1775 * if_sysctl.c (interface_list): allocated memory free when unknown
1776 ifm_type is returned.
1777
1778 * ioctl.c (if_get_mtu): added SIOCGIFDATA treatment.
1779
17801998-12-15 Magnus Ahltorp <map@stacken.kth.se>
1781
1782 * interface.c: Header include added.
1783
17841998-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1785
1786 * rt.h (kernel_delete_ipv6): change int index to unsigned int index.
1787
17881998-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1789
1790 * if_ioctl.c (interface_list_ioctl): interface flag must be
1791 checked before check addresses of the interface.
1792
17931998-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1794
1795 * Makefile.am (INCLUDES): add @INCLUDES@ for Linux IPv6.
1796
17971998-10-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1798
1799 * ioctl.c: Linux version before 2.1.0 need interface route setup.
1800
18011998-09-15 HEO SeonMeyong <seirios@matrix.iri.co.jp>
1802
1803 * change HYDRANGEA to KAME
1804
18051998-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1806
1807 * if_ioctl.c (if_addr_ioctl): set address family for getting
1808 interface's address.
1809 (if_get_index): silently return when can't get interface's index.
1810
18111998-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1812
1813 * main.c (main): batch mode option '-b' added.
1814
18151998-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1816
1817 * ioctl.c (if_set_prefix): add `ip address IPV4ADDR' command.
1818 * interface.c (shutdown_if): add interface shutdown and no
1819 shutdown command.
1820
18211998-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1822
1823 * rib.c (rib_add_ipv6): delete rib_add_in6.
1824
18251998-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1826
1827 * main.c: retain flag is added.
1828
18291998-07-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1830
1831 * rtable.[ch]: merged with rib.[ch]
1832
18331998-07-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1834
1835 * connected.h: renamed from ifa.h.
1836
18371998-06-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1838
1839 * rename if.c to interface.c
1840 * rename ifa.c to connected.c
1841
1842 * Porting to Debian GNU/Linux 2.0 (hamm).
1843
18441998-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1845
1846 * rt_netlink.c: renamed from krt_netlink.c
1847
1848 * fib.c: deleted.
1849 * rt_kvm.c: deleted.
1850 * rtread_getmsg.c: deleted.
1851
18521998-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1853
1854 * if.c (multicast): add multicast flag [un]set fucntion.
1855
18561998-05-19 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1857
1858 * rt_socket.c: Modify for compile on Solaris, but dont't work it.
1859 rt_socket.c have some undefined function, so add directive "IMPLEMENT"
1860
18611998-05-18 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1862
1863 * zebra.c: Modify for compile on Solaris.
1864
18651998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1866
1867 * main.c: change CONFDIR to SYSCONFDIR.
1868
18691998-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1870
1871 * .cvsignore: added.
1872
18731998-04-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1874
1875 * client.c: moves to ../lib.
1876
18771998-03-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1878
1879 * if_ioctl.c (if_get_addr): Change address copy from memcopy() to
1880 structure assignment.
1881
18821998-03-30 URA Hiroshi <ura@yamato.ibm.co.jp>
1883
1884 * if_sysctl.c (ifm_interface_add): sdl->sdl_data copy bug fixed.
1885
18861998-02-23 "Hannes R. Boehm" <hannes@boehm.org>
1887
1888 * if.c (if_init): add config_exit_cmd and config_help_cmd.
1889
18901998-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
1891
1892 * rt_ioctl.c (route_ioctl): EPERM treatment added.
1893
18941998-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1895
1896 * rt_socket.c (kernel_read): communication port zebra between
1897 kernel is now handled by kernel_read.
1898
18991998-01-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1900
1901 * main.c (main): zebra [-P port] can specify vty port number.
1902
19031997-12-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1904
1905 * zebra.c: change select will be block.
1906
19071997-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1908
1909 * add static route treatment.
1910
19111997-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1912
1913 * rt_netlink.c: add netlink support over GNU/Linux system.
1914
19151997-11-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1916
1917 * all inet_addr is changed to inet_aton.
1918
1919 * zebra.c (ip_route): add ip route command for static routes.
1920
19211997-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1922
1923 * if.c (if_flag_dump): Linux port of if_flag_dump and _vty.
1924
19251997-11-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1926
1927 * if.c: add interface command.
1928
19291997-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1930
1931 * ipforward_proc.c : Now works on Linux.
1932
19331997-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1934
1935 * command.c : add completion feature.
1936
19371997-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1938
1939 * vty.c (vty_command): add vty interface.
1940
19411997-10-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1942
1943 * zebra.c: add verbose mode.
1944
19451997-10-12 SonMyong Ho <s-ho@Matrix.IRI.Co.Jp>
1946
1947 * Hydrangea for FreeBSD supported
1948 * in.h: add some prototype.
1949
19501997-10-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1951
1952 * rt_socket.c and rtread.c completely rewritten.
1953
19541997-10-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1955
1956 * rt_socket.c: rename kernel_sock to routing_socket
1957
19581997-10-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1959
1960 * if.c (if_new): interface structure change from linklist to vector.
1961
19621997-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1963
1964 * vector.c (vector_init): create vector related function
1965
19661997-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1967
1968 * Makefile.in: add tags target
1969
1970 * start IPv6 support for INRIA FreeBSD.
1971