blob: 11676eb7d4a649f4cfb1e1b1d3410887a5a316c4 [file] [log] [blame]
paul69e10ad2005-05-06 21:27:33 +000012005-05-06 Paul Jakma <paul.jakma@sun.com>
2
3 * zserv.h: Remove ZEBRA_PORT definition, its in lib/zebra.h now
4
paul4d38fdb2005-04-28 17:35:14 +000052005-04-28 Paul Jakma <paul.jakma@sun.com>
6
7 * rib.h: (struct rib) Add lock field for refcounting.
8 * zserv.h: (struct zebra_t) Add a ribq workqueue to the zebra
9 'master' struct.
10 * zserv.c: (zread_ipv4_add) XMALLOC then memset should be XCALLOC.
11 * zebra_rib.c: Clean up refcounting of route_node, make struct rib
12 refcounted and convert rib_process to work-queue. In general,
13 rib's should be rib_addnode'd and delnode'd to route_nodes, and
14 these symmetrical functions will manage the locking of referenced
15 route_node and freeing of struct rib - rather than having users
16 manage each seperately - with much scope for bugs..
17 (newrib_free) removed and replaced with rib_lock
18 (rib_lock) new function, check state of lock and increment.
19 (rib_unlock) new function, check lock state and decrement. Free
20 struct rib if refcount hits 0, freeing struct nexthop's, as
21 newrib_free did.
22 (rib_addnode) Add RIB to route_node, locking both.
23 (rib_delnode) Delete RIB from route_node, unlocking each.
24 (rib_process) Converted to a work-queue work function.
25 Functional changes are minimal, just arguments, comments and
26 whitespace.
27 (rib_queue_add_qnode) Helper function to setup a ribq item.
28 (rib_queue_add) Helper function, same arguments as old
29 rib_process, to replace in callers of rib_process.
30 (rib_queue_qnode_del) ribq deconstructor.
31 (rib_queue_init) Create the ribq.
32 (rib_init) call rib_queue_init.
33 (remainder) Sanitise refcounting of route_node's. Convert to
34 rib_queue_add, rib_addnode and rib_delnode. Change XMALLOC/memset
35 to XCALLOC. Remove calls to nexthop_delete and nexthop_free.
36
paulcf460ef2005-04-10 16:54:26 +0000372005-04-10 Paul Jakma <paul@dishone.st>
38
39 * if_ioctl_solaris.c: (if_lookup_linklocal) fix order of args
40 in ALL_LIST_ELEMENTS_RO macro.
41
ajs57a14772005-04-10 15:01:56 +0000422005-04-10 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
43
44 * zserv.c (zebra_client_read): Fix bug: first read attempt should
45 read ZEBRA_HEADER_SIZE minus the number of bytes already read.
46 Improve efficiency by maintaining a calculation of the number
47 of bytes read instead of calling stream_get_endp multiple times.
48 If message length is too small, issue a warning message (not debug)
49 before closing the connection. And also check that message length
50 is not too big.
51
hasso206d8052005-04-09 16:38:51 +0000522005-04-09 Hasso Tepper <hasso at quagga.net>
53
hassofa599802005-04-09 16:59:28 +000054 * rt_netlink.c: One tiny missing comma caused pointless debug messages
55 about IPv6 nexthops.
56
572005-04-09 Hasso Tepper <hasso at quagga.net>
58
hasso206d8052005-04-09 16:38:51 +000059 * rt_netlink.c (netlink_parse_info): Fix warning. It's safe to cast
60 status to unsigned here, because we already checked that it isn't
61 negative or 0.
62 * rt_netlink.c (netlink_interface_addr): Prefix length belongs to the
63 address, not to the interface.
64 * rt_netlink.c (netlink_route_multipath): Fix debug. No useless info
65 is printed out now and IPv6 info is handeled.
66
paul3d1dc852005-04-05 00:45:23 +0000672005-04-05 Paul Jakma <paul@dishone.st>
68
69 * zserv.c: print more helpful errors when we fail to successfully
70 bind and listen on zserv socket. Closes bugzilla #163.
71
ajsd2fc8892005-04-02 18:38:43 +0000722005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
73
ajs08dbfb62005-04-03 03:40:52 +000074 * if_ioctl.c: (interface_list_ioctl) Use if_get_by_name_len.
75 * if_proc.c: (ifaddr_proc_ipv6) Increase size of ifname buffer to
76 avoid overflow.
77 * kernel_socket.c: (ifan_read) Use if_get_by_name_len.
78
792005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
80
ajsa3491982005-04-02 22:50:38 +000081 * kernel_socket.c: (ifm_read) Use new if_lookup_by_name_len function
82 to save a memcpy.
83 * if_ioctl_solaris.c: (interface_list_ioctl) Fix subtle bug with new
84 if_get_by_name_len function.
85
862005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
87
ajsd2fc8892005-04-02 18:38:43 +000088 * interface.c: (if_new_intern_ifindex) Remove obsolete function.
89 (if_delete_update) After distributing the interface deletion message,
90 set ifp->ifindex to IFINDEX_INTERNAL.
91 (if_dump_vty) Detect pseudo interface by checking if ifp->ifindex is
92 IFINDEX_INTERNAL.
93 (zebra_interface) Check return code from interface_cmd.func.
94 Do not set internal ifindex values to if_new_intern_ifindex(),
95 since we now use IFINDEX_INTERNAL for all pseudo interfaces.
96 * kernel_socket.c: (ifm_read) Fix code and comments to reflect that
97 all internal interfaces now have ifp->ifindex set to IFINDEX_INTERNAL.
98 * rt_netlink.c: (set_ifindex) New function used to update ifp->ifindex.
99 Detects interface rename events by checking if that ifindex is already
100 being used. If it is, delete the old interface before assigning
101 the ifindex to the new interface.
102 (netlink_interface, netlink_link_change) Call set_ifindex to update
103 the ifindex.
104
hassob7ed1ec2005-03-31 20:13:49 +00001052005-03-31 Hasso Tepper <hasso at quagga.net>
106
107 * rt_netlink.c (netlink_talk_filter): Show always warning message,
108 it's not for debug.
109 * rt_netlink.c (netlink_talk): Don't assume we use netlink_cmd
110 although we do now actually.
111 * rt_netlink.c (netlink_route, netlink_route_multipath): Always use
112 netlink_cmd to send messages to the kernel.
113
ajs2da40f42005-03-30 16:33:13 +00001142005-03-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
115
116 * irdp.h: Add prototype for irdp_sock_init, and fix protos for
117 other irdp_* functions.
118 * irdp_interface.c: (irdp_if_start) If irdp_sock is negative,
119 call irdp_sock_init to create the IRDP socket.
120 (irdp_if_init) Rename to irdp_init().
121 (get_iflist_ifp) Remove function that is a duplicate of
122 if_lookup_by_index.
123 (*) Make many functions static. And remove superfluous "\n" from
124 several zlog messages.
125 * irdp_main.c: (irdp_init) Remove function that used to call
126 irdp_if_init() and irdp_sock_init(), since we will now create
127 the socket only upon first use.
128 (irdp_sock_init) Do not update global irdp_sock variable, just
129 return the fd and assume that the caller will do so. If setsockopt
130 calls fail, close the socket before returning -1.
131 (*) Make many functions static.
132 * irdp_packet.c: Initialize irdp_sock to -1.
133 (irdp_read_raw) Call standard library function if_lookup_by_index
134 instead of get_iflist_ifp.
135 (irdp_recvmsg) Should be static, not global.
136
ajsa608bbf2005-03-29 17:03:49 +00001372005-03-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
138
139 * rt_netlink.c: (netlink_link_change) If the status of an
140 operative interface changes (e.g. MTU changes), the client
141 daemons should be notified by calling zebra_interface_up_update.
142 Previously, the information was being updated in zebra's
143 interface structure, but the clients were not notified of
144 changes to an operative interface.
145
vincent7cee1bb2005-03-25 13:08:53 +00001462005-03-25 Jean-Mickael Guerin <jean-mickael.guerin@6wind.com>
147 * interface.c, interface.h, rtadv.c, rtadv.h: modifications to
148 IPv6 Neighbor Discovery according to RFC3775, section 7:
149 o 1-bit Home Agent flag management in Router Advertisement (7.1).
150 o 1-bit Router Address flag management in Prefix Information
151 Option (7.2).
152 o Advertisement Interval Option (7.3)
153 o Home Agent Information Option (7.4)
154 o Changes to Sending Router Advertisements more frequently (7.5)
155
hassoed9bb6d2005-03-13 19:17:21 +00001562005-03-13 Hasso Tepper <hasso at quagga.net>
157
158 * zebra/interaface.c: "show interface description" command
159 implemented.
160
paulc1f01f32005-03-12 06:33:14 +00001612005-03-12 Paul Jakma <paul@dishone.st>
162
163 * rt_netlink.c: (netlink_route_multipath) dont set equalise flag.
164 No stock Linux kernel has ever supported it, and even if it had
165 it's not generally a good idea.
166
hasso42a66d72005-03-07 08:19:44 +00001672005-03-07 Michael Sandee <voidptr@voidptr.sboost.org>
168
169 * if_proc.c, ipforward_proc.c, rtread_proc.c: Fix fd leaks.
170
hasso3452d472005-03-06 13:42:05 +00001712005-03-06 Hasso Tepper <hasso at quagga.net>
172
173 * interface.c: Fix CRC and frame errors statistics in Linux.
174
ajs719e9742005-02-28 20:52:15 +00001752005-02-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
176
177 * zserv.c: Must include network.h and buffer.h for non-blocking I/O.
178 Remove global message_queue and t_write (need separate buffering for
179 each client).
180 (zebra_server_dequeue,zebra_server_enqueue) Remove functions
181 related to old buggy buffering code.
182 (zserv_delayed_close) New thread callback function to delete a client.
183 (zserv_flush_data) New thread callback function to flush buffered
184 data to client.
185 (zebra_server_send_message) Rewritten to use buffer_write (so
186 buffering of writes and non-blocking I/O work properly).
187 (zsend_interface_add,zsend_interface_delete,zsend_interface_address,
188 zsend_interface_update) Return 0 instead of -1 if !client->ifinfo
189 (this is not really an error). Return value from
190 zebra_server_send_message.
191 (zsend_route_multipath,zsend_ipv4_nexthop_lookup,
192 zsend_ipv4_import_lookup) Return value from zebra_server_send_message.
193 (zsend_ipv6_nexthop_lookup) Fix scope to static, and return value
194 from zebra_server_send_message.
195 (zsend_router_id_update) Must use zebra_server_send_message instead
196 of deprecated writen function. Return 0 instead of -1 if this client
197 is not subscribed to router-id updates (since this is not really
198 an error).
199 (zread_interface_add) Change type to static int. If
200 zsend_interface_add fails or zsend_interface_address fails, return -1
201 immediately (since the client has had an I/O error).
202 (zread_interface_delete,zread_ipv4_add,zread_ipv4_delete,
203 zread_ipv6_add,zread_ipv6_delete,zread_router_id_delete) Return 0
204 to indicate success.
205 (zread_ipv4_nexthop_lookup) Return value from
206 zsend_ipv4_nexthop_lookup.
207 (zread_ipv4_import_lookup) Return value from zsend_ipv4_import_lookup.
208 (zebra_read_ipv6) Remove unused function.
209 (zread_ipv6_nexthop_lookup) Return value from
210 zsend_ipv6_nexthop_lookup.
211 (zread_router_id_add) Return value from zsend_router_id_update.
212 (zebra_client_close) Call buffer_free(client->wb) and
213 thread_cancel(client->t_suicide).
214 (zebra_client_create) Allocate client->wb using buffer_new.
215 (zebra_client_read) Support non-blocking I/O by using stream_read_try.
216 Use ZEBRA_HEADER_SIZE instead of 3.
217 (zebra_accept) Fix bug: reset accept thread at top. Make client
218 socket non-blocking using the set_nonblocking function.
219 (config_write_forwarding) Fix scope to static.
220 (zebra_init) Remove initialization code for old buggy write buffering.
221 * zserv.h: Add 2 new fields to struct zserv: struct buffer *wb
222 (to enable buffered writes with non-blocking I/), and
223 struct thread *t_suicide to support delayed close on I/O
224 errors.
225 * router-id.h: Remove prototypes for zread_router_id_add and
226 zread_router_id_delete (their scope should be static to zserv.c).
227
ajs27da3982005-02-24 16:06:33 +00002282005-02-24 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
229
230 * redistribute.c: (zebra_check_addr,is_default,
231 zebra_redistribute_default,zebra_redistribute) Fix scope to be static.
232
hassoe8274dc2005-02-20 19:09:23 +00002332005-02-20 Hasso Tepper <hasso at quagga.net>
234
235 * rt_netlink.c: Don't show messages "ignoring message type 0x001[89]"
236 if we are not debugging.
237
paule31f2292005-02-19 02:00:26 +00002382005-02-19 Paul Jakma <paul@dishone.st>
239
240 * zserv.c: (zebra_read_ipv6) replace the char * arithmetic with
241 STREAM_READABLE.
242
paul1e193152005-02-14 23:53:05 +00002432005-02-14 Paul Jakma <paul@dishone.st>
244
245 * Not all Linux netlink systems have IFLA_WIRELESS
246
ajs6a52d0d2005-01-30 18:49:28 +00002472005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
248
249 * ioctl.c: (if_ioctl,if_ioctl_ipv6,if_get_flags) Replace perror with
250 zlog_err.
251 * ioctl_solaris.c: (if_ioctl,if_ioctl_ipv6) Replace perror with
252 zlog_err.
253
ajs4be019d2005-01-29 16:12:41 +00002542005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
255
ajs4460e7a2005-01-29 17:07:40 +0000256 * if_ioctl_solaris.c: (interface_list_ioctl) Save errno before calling
257 zserv_privs.change.
258 * ioctl{,_solaris}.c: (if_ioctl,if_ioctl_ipv6) Save errno before calling
259 zserv_privs.change.
260 * ipforward_solaris.c: (solaris_nd) Save errno before calling
261 zserv_privs.change.
262 * irdp_main.c: (irdp_sock_init) Save errno before calling
263 zserv_privs.change.
264
2652005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
266
ajs4be019d2005-01-29 16:12:41 +0000267 * rt_netlink.c: (netlink_socket,netlink_request,netlink_parse_info,
268 netlink_talk) Save errno before calling zserv_privs.change.
269
paulc15cb242005-01-24 09:05:27 +00002702005-01-24 Martin Pot <mpot at martybugs.net>
271
272 * zebra/rt_netlink.c: ignore wireless newlink netlink messages.
273
hasso6f2c27a2005-01-18 13:44:35 +00002742005-01-18 Hasso Tepper <hasso at quagga.net>
275
276 * interface.c: Better statistics output in "show interface" command in
277 case of /proc being used.
278
hasso583d8002005-01-16 23:34:02 +00002792005-01-17 Hasso Tepper <hasso at quagga.net>
280
281 * main.c: With --nl-bufsize argument is required.
282
paul865b8522005-01-05 08:30:35 +00002832005-01-05 Paul Jakma <paul@dishone.st>
284
285 * zserv.c: (zebra_accept) Comment out setting of socket to NONBLOCK
286 for now, as we dont actually deal with with resending.... See
287 bugzilla #122, fix from wawa@yandex-team.ru (Vladimir Ivanov).
288 * kernel_socket.c: (routing_socket) ditto.
289
ajsb99760a2005-01-04 16:24:43 +00002902005-01-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
291
292 * rtadv.c: (rtadv_recv_packet,rtadv_send_packet) Use ZCMSG_FIRSTHDR
293 instead of CMSG_FIRSTHDR.
294
ajs341a8f12004-12-22 16:32:16 +00002952004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
296
297 * connected.c: (connected_add_ipv4) Limit warning about /32 addresses
298 with no peer specified to PtP interfaces only.
299
hassob8adec12004-12-18 16:03:28 +00003002004-12-18 Hasso Tepper <hasso at quagga.net>
301
302 * zebra_vty.c: Fix "show ipv6 route <proto>" command help and make it
303 work for isis routes.
304
gdt6a250b02004-12-09 14:48:12 +00003052004-12-09 Greg Troxel <gdt@fnord.ir.bbn.com>
306
307 * kernel_socket.c (rtmsg_debug): char * => const char *
308
ajs274a4a42004-12-07 15:39:31 +00003092004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
310
ajsb6178002004-12-07 21:12:56 +0000311 * *.c: Change level of debug messages to LOG_DEBUG.
312
3132004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
314
ajs274a4a42004-12-07 15:39:31 +0000315 * main.c: (main) The 2nd argument to openzlog has been removed.
316 So stdout logging will no longer be enabled by default.
317 * irdp_main.c: (irdp_finish) Reduce severity of shutdown message
318 from LOG_WARNING to LOG_INFO.
319
ajs887c44a2004-12-03 16:36:46 +00003202004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
321
322 * main.c: (sigint) Use zlog_notice for termination message.
323 (main) Add a startup announcement using zlog_notice.
324
hassoaccb1562004-11-25 19:21:07 +00003252004-11-25 Hasso Tepper <hasso at quagga.net>
326
327 * irdp_interface.c: Remove comment from DEFUN, it breaks vtysh because
328 it confuses extract.pl.
hassoc0652302004-11-25 19:33:48 +0000329 * main.c: Make group to run as configurable.
hassoaccb1562004-11-25 19:21:07 +0000330
hasso6bd7c6a2004-10-28 17:32:27 +00003312004-10-28 Hasso Tepper <hasso at quagga.net>
332
333 * interface.c: Remove dead "ip tunnel" command.
334
paul06f953f2004-10-22 17:00:38 +00003352004-10-22 Paul Jakma <paul@dishone.st>
336
337 * irdp_main.c: change setsockopt_pktinfo to setsockopt_ifindex
338
hasso3fb9cd62004-10-19 19:44:43 +00003392004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
340
341 * rt_netlink.c: (netlink_interface_addr) For PtP interfaces, ignore
342 tb[IFA_ADDRESS] if it's the same as tb[IFA_LOCAL].
343 * interface.c: (ip_address_install) Use new ipv4_broadcast_addr
344 function.
345 * connected.c: (connected_up_ipv4) Use CONNECTED_POINTOPOINT_HOST
346 macro.
347 (connected_down_ipv4) ditto.
348 (connected_add_ipv4) Validate destination address, print warnings
349 if it does not make sense.
350
hassoc1eaa442004-10-19 06:26:01 +00003512004-10-19 Hasso Tepper <hasso at quagga.net>
352
353 * zserv.c: Fix regression introduced with zserv cleanup.
354
hassoc75105a2004-10-13 10:33:26 +00003552004-10-13 Hasso Tepper <hasso at quagga.net>
356
357 * zebra_snmp.c: Remove defaults used to initialize smux connection to
358 snmpd. Connection is initialized only if smux peer is configured.
hassob71f00f2004-10-13 12:20:35 +0000359 * zserv.c: Remove useless warnings "forwarding is already on".
hassoc75105a2004-10-13 10:33:26 +0000360
hasso39ff11d2004-10-12 15:55:19 +00003612004-10-12 Hasso Tepper <hasso at quagga.net>
362
363 * zebra_vty.c: Unbreak "show ip route" command help and make it work
364 for isis routes.
hasso39db97e2004-10-12 20:50:58 +0000365 * interface.c(if_dump_vty): Show IPv6 addresses in "show interface"
366 output. Fixes Bugzilla #119.
367 * *.c: Make some strings const and some (unsigned) casts to fix
368 compiler warnings.
hasso39ff11d2004-10-12 15:55:19 +0000369
hassofce954f2004-10-07 20:29:24 +00003702004-10-07 Hasso Tepper <hasso at quagga.net>
371
372 * connected.c, main.c, rt_netlink.c, rtadv.c, zebra_rib.c, zserv.c:
373 Fix warnings: make strings const, signed -> unsigned.
374
paul72164662004-10-05 14:39:43 +00003752004-10-05 Paul Jakma <paul@dishone.st>
376
377 * irdp_packet.c: (parse_irdp_packet) style issues.
378 Use sockopt_iphdrincl_swab_systoh.
379 Try unbork the code. Checksum the ICMP data and actually
380 compare it to received checksum. Check data length against
381 claimed length in header.
382 Always use ntoh.. when accessing addresses, even when the
383 comparison happens to be endian-safe.
384 (send_packet) minor style isues. Use
385 sockopt_iphdrincl_swab_htosys.
386 (irdp_iph_hton/ntoh) IP header to/from network/host order.
387
hassoeef1fe12004-10-03 18:46:08 +00003882004-10-03 Gilad Arnold <gilad.arnold at terayon.com>
389
390 * interface.c, interface.h: A new prefix tree of connected subnets is
391 associated with each interface structure in zebra, in which each
392 live (ie, non-synthetic) node holds a list of installed addresses
393 that belong to that prefix. Remove secondary address logic from cli.
394 See [quagga-dev 872] for detailed explanation.
395 * connected.c: Use if_subnet_add() and if_subnet_delete().
396
hasso18a6dce2004-10-03 18:18:34 +00003972004-10-03 James R. Leu <jleu at mindspring.com>
398
399 * router-id.c, router-id.h: New files. Router id selection process. If
400 there is non 127.x.x.x address in loopack interface, lowest of them
401 is chosen. If there isn't, lowest from other interfaces addresses
402 are chosen. "router-id x.x.x.x" vty command to manual override.
403 * Makefile.am: Compile new files.
404 * main.c: Initialize router id.
405 * redistribute.c: Add interface addresses into router id selection
406 lists as they (dis)appear.
407 * zserv.c, zserv.h: Sending router id related messages to daemons.
408
hassoc9e52be2004-09-26 16:09:34 +00004092004-09-26 Hasso Tepper <hasso at quagga.net>
410
411 * irdp_interface.c, irdp_main.c, irdp_packet.c, rt_netlink.c,
412 rtadv.c, zebra_vty.c: Fix compiler warnings.
413
paul0c0f9112004-09-24 08:24:42 +00004142004-09-24 Paul Jakma <paul@dishone.st>
415
paul26f7a242004-09-24 08:45:10 +0000416 * irdp_interface.c: (no_ip_irdp_address_preference_cmd)
417 add missing listnode declaration.
418
4192004-09-24 Paul Jakma <paul@dishone.st>
420
paul0c0f9112004-09-24 08:24:42 +0000421 * irdp_{interface,main}.c: lists typedef removal cleanup.
422 update some list loops to LIST_LOOP. some miscellaneous style
423 and indent fixups.
424 (no_ip_irdp_address_preference_cmd) Fix delete of referenced node
paul26f7a242004-09-24 08:45:10 +0000425 in loop.
paul0c0f9112004-09-24 08:24:42 +0000426 * irdp_packet.c: (irdp_recvmsg) Fix buggy assignment of integer
427 to pointer.
428 * if_ioctl{,_solaris}.c: lists typedef removal cleanup.
429 update some list loops to LIST_LOOP.
430
hasso52dc7ee2004-09-23 19:18:23 +00004312004-09-23 Hasso Tepper <hasso at quagga.net>
432
433 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
434
paul44983cf2004-09-22 13:15:58 +00004352004-09-22 Paul Jakma <paul.jakma@sun.com>
436
437 * zserv.c: (zsend_route_multipath) fix nasty bad memset of struct
438 in_addr to sizeof(struct in6_addr), causing odd and hard to debug
439 crash.
440
hassoc34b6b52004-08-31 13:41:49 +00004412004-08-31 Hasso Tepper <hasso at quagga.net>
442
443 * main.c, rt_netlink.c: Added -s command line switch for tuning
444 netlink receive buffer size in Linux to avoid buffer overruns.
445
gdta5ea6872004-08-26 13:24:00 +00004462004-08-26 Miles Nordin <carton@Ivy.NET>
447
448 * ipforward_sysctl.c (mib_ipv6): Use size_t for len, per
449 sysctl(3), rather than int. (Needed on NetBSD/alpha to display
450 forwarding status correctly.)
451
paul3e0b3a52004-08-23 18:58:32 +00004522004-08-23 Paul Jakma <paul@dishone.st>
453
454 * zserv.c: (zebra_init) remove implicit ip forward enabling
455
paul0de1cde2004-08-19 04:45:33 +00004562004-08-19 Paul Jakma <paul@dishone.st>
457
458 * irdp_main.c: update to match sockopt renames.
459 * irdp_packet.c: include sockopt.h and update to match sockopt
460 renames.
461
gdt57492d52004-08-11 18:06:38 +00004622004-08-11 Greg Troxel <gdt@fnord.ir.bbn.com>
463
464 * rtadv.c (rtadv_send_packet): Allocate space for control messages
465 more carefully; it was wrong on NetBSD/sparc where CMSG alignment
466 is to 8 bytes instead of 4, and overwriting the address. Use the
467 provided macros for determining lengths.
468
paul5b73a672004-07-23 15:26:14 +00004692004-07-23 Sowmini Varadhan <Sowmini.Varadhan@Sun.COM>
470
471 * if_ioctl_solaris.c: HAVE_IPV6 ifdef fixups
472 * zserv.c: ditto
473 * ioctl_solaris.c: ditto.
474 * interface.c: cast for LLADDR
475 * interface.h: Add guards, include redistribute.h and remove
476 extraneous definitions of zebra_interface_{up,down}_update
477 * ioctl.h: Add AF_IOCTL define for non SOLARIS_IPV6
478 * redistribute.h: include dependent header, zserv.h
479 * zserv.h: include dependent header, rib.h
480
paul1470baf2004-07-23 15:25:01 +00004812004-07-23 Paul Jakma <paul@dishone.st>
482
483 * irdp_main.c: use setsockopt_pktinfo_ipv4
484 * irdp_packet.c: use SOPT_SIZE_CMSG_PKTINFO_IPV4 and
485 getsockopt_pktinfo_ifindex()
486
gdtcced60d2004-07-13 16:45:54 +00004872004-07-13 David Wiggins <dwiggins@bbn.com
488
489 * kernel_socket.c (rtm_flag_dump): terminate buffer with '\0', not '0'.
490
hasso25dac852004-07-13 03:06:51 +00004912004-07-13 Hasso Tepper <hasso@estpak.ee>
492
493 * irdp_main.c: Add privilege change.
494
hasso996933f2004-07-12 16:32:56 +00004952004-07-12 Hasso Tepper <hasso@estpak.ee>
496
497 * irdp_interface.c: follow common style while naming vty command
498 functions. Avoids confusion in extract.pl.
499
gdt87efd642004-06-30 17:36:11 +00005002004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
501
502 * main.c: define thread_master variable so that linking with
503 libzebra.so doesn't fail. Arguably zclient.o should be in a
504 separate library, but this is far less disruptive.
505
hassoca776982004-06-12 14:33:05 +00005062004-06-12 Robert Olsson <Robert.Olsson at data.slu.se>
507
508 * Added IRDP support.
509
hasso3e31cde2004-05-18 11:58:59 +00005102004-05-18 Hasso Tepper <hasso@estpak.ee>
511
512 * rtadv.c: Removed "[no] ipv6 nd send-ra" command. Replaced "ipv6 nd
513 prefix-advertisement" with "ipv6 nd prefix". Rewrite syntax of
514 "ipv6 nd prefix" command to allow various combinations of parameters
515 and flags. No defaults in configuration. Replaced on-link and
516 autoconfig with off-link and no-autoconfig flags in command syntax.
517 Cosmetic fixes in all commands. Documentation to reflect all changes.
518
paul19877dd2004-05-11 10:49:35 +00005192004-05-11 Paul Jakma <paul@dishone.st>
520
521 * Makefile.am: support for IOCTL_METHOD, as per Sowmini's patch.
paul48a46fa2004-05-11 10:55:22 +0000522 * if_ioctl_solaris.c: Fixup some erroneous privilege changes and
523 add privs.h header.
524 * ioctl_solaris.c: ditto
paulc50ae8b2004-05-11 11:31:07 +0000525 * ioctl.h: Add if_ioctl_ipv6 prototype and AF_IOCTL for SOLARIS_IPV6
526 * kernel_socket.c: Fix SAROUNDUP, compiler doesnt like do..while
527 RHS in assignments :)
528 * redistribute.c: (zebra_interface_delete_update) only used
529 if RTM_IFANNOUNCE and NETLINK is available.
530
paulb9df2d22004-05-09 09:09:59 +00005312004-05-09 Paul Jakma <paul@dishone.st>
532
533 * zserv.c: (zsend_route_multipath) Set the nexthop_num
534 field correctly. Add NEXTHOP_TYPE_IPV6_IFNAME for v6.
535 Conditionally set ZAPI_MESSAGE_METRIC flag - only for adds.
536 (zsend_ipv4_add) cruft, deleted.
537 (zsend_ipv4_delete) ditto.
538 (zsend_ipv6_add) ditto.
539 (zsend_ipv6_delete) ditto.
paul44145db2004-05-09 11:00:23 +0000540 * ioctl.c: (if_get_mtu) set mtu6 to mtu
541 * mtu_kvm.c: (if_kvm_get_mtu) set mtu6 to mtu
542 * rt_netlink.c: (netlink_interface) set mtu6 to mtu
543 (netlink_link_change) ditto
paul66e94882004-05-09 17:19:24 +0000544 * ipforward_solaris.c: fix typo of ND variable.
paul88424682004-05-09 18:21:35 +0000545 * if_ioctl_solaris.c: Add zprivs support.
546 * ioctl_solaris.c: ditto.
paul66e94882004-05-09 17:19:24 +0000547
paulb9df2d22004-05-09 09:09:59 +00005482004-05-09 Sowmini Varadhan <sowmini.varadhan@sun.com>
549
550 * zserv.c: (zsend_ipv{4,6}_{add,delete}_multipath) collapsed
551 into single zsend_route_multipath function.
552 (zsend_interface_{up,down}) collapsed into zsend_interface_update.
553 (zsend_interface_address_{add,delete}) collapsed into
554 zsend_interface_address.
555 (zsend_interface_add) send mtu6.
556 (zsend_interface_delete) ditto.
557 (zebra_write) remove unused function.
558 (various) Apply static qualifier. Add comments.
559 * zserv.h: Definitions changed as per above.
560 * redistribute.c: Changes as per zserv.c.
paul44145db2004-05-09 11:00:23 +0000561 * interface.c: (if_delete_update) only used with HAVE_NETLINK
562 and RTM_IFANNOUNCE.
563 (if_flag_dump_vty) Solaris IFF_IPV4 and IFF_IPV6 if flags
564 (if_dump_vty) print mtu6 if not same as mtu
paul88424682004-05-09 18:21:35 +0000565 * if_ioctl_solaris.c: New file, Solaris interface ioctl methods.
566 * ioctl_solaris.c: New file, Common solaris ioctl methods.
567
hasso34195bf2004-04-06 12:07:06 +00005682004-04-06 Krzysztof Oledzki <oleq@ans.pl>
569
570 * rt_netlink.c: Do not ignore metric when reading kernel routing
571 table on Linux with rt_netlink interface.
572
5732004-03-18 Hasso Tepper <hasso@estpak.ee>
hassof1d92e12004-03-18 15:40:33 +0000574
575 * interface.c: Temporary fix for handling secondary addresses
576 with label.
577
hasso55906722004-02-11 22:42:16 +00005782004-02-12 Hasso Tepper <hasso@estpak.ee>
hassof1d92e12004-03-18 15:40:33 +0000579
hasso55906722004-02-11 22:42:16 +0000580 * zserv.c: Added "ipv6 forwarding" command.
581
gdtb27900b2004-01-08 15:44:29 +00005822004-01-08 Greg Troxel <gdt@fnord.ir.bbn.com>
583
584 * kernel_socket.c (kernel_read): Use sockaddr_storage in buffer
585 for reading kernel messages to ensure enough space (necessary on
586 Solaris due to sockaddr_dl being large). Thanks to Sowmini
587 Varadhan for help with this change.
588
gdt9ccabd12004-01-06 18:23:02 +00005892004-01-06 Greg Troxel <gdt@t1.ir.bbn.com>
590
591 * rtadv.c (rtadv_send_packet): Change perror to zlog_err.
592
gdtdbee01f2004-01-06 00:36:51 +00005932004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
gdt4bfbea82004-01-06 01:13:05 +0000594 * kernel_socket.c (ifm_read): Major cleanup. Use Sowmini's code
595 to find the sockaddr_dl in all cases, narrowing the Solaris ifdef
596 to just the accomodation of broken kernels. Check sockaddr_dl
597 carefully up front, and later assume any non-NULL sdl pointer is
598 valid. Clean up types and variable declarations, and rename
599 WRAPUP to SAROUNDUP to make the name fit the behavior.
600
6012004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
gdtdbee01f2004-01-06 00:36:51 +0000602
603 * kernel_socket.c (kernel_read): Add a sockaddr_dl to the ifmsg
604 structure, because on Solaris sockaddr_dl is far larger than the
605 base sockaddr structure. (The code had previously been failing to
606 read all the data.)
gdt4bfbea82004-01-06 01:13:05 +0000607
gdtda26e3b2004-01-05 17:20:59 +00006082004-01-05 Greg Troxel <gdt@ahi.ir.bbn.com>
609
610 * kernel_socket.c (kernel_read): Look up interfaces by index
611 first, so that state changes which do not include a sockaddr_dl
612 now work. Add many sanity checks. In
613 particular, do not assume that a sockaddr_dl follows a message
614 without checking the ifm_addrs flags, and do not trust the length
615 in a sockaddr_dl. Add/clarify many comments.
616
gdt4b5e1352003-12-03 17:54:34 +00006172003-12-03 Greg Troxel <gdt@poblano.ir.bbn.com>
618
619 * rtadv.c: reorder includes to avoid compiler warning (define
620 structs before using them in prototypes)
621
hasso647e4f12003-05-25 11:43:52 +00006222003-05-25 Jim Crumpler <Jim.Crumpler@edion.com>
623
624 * zserv.c: Add "ip forwarding" command.
625
paul445f1432003-05-16 19:00:31 +00006262003-05-16 Gilad Arnold <gilad.arnold@terayon.com>
627
628 * zebra_rib.c: Fix memory leaks for ifname nexthops
629
6302003-04-19 Israel Keys <ikeys@agile.tv>
631
632 * rt_netlink.c: BLOCK on netlink while initialising
633
6342003-02-06 Francois Deppierraz <francois@ctrlaltdel.ch>
635
636 * rt_netlink.c (netlink_route_multipath): Set RTM_F_EQUALIZE when
637 it exists.
638
paul718e3742002-12-13 20:15:29 +00006392002-09-28 Akihiro Mizutani <mizutani@net-chef.net>
640
641 * zebra_rib.c (static_add_ipv4): Null0 static route is added.
642
6432002-09-10 Jochen Friedrich <chris+zebra@scram.de>
644
645 * rt_netlink.c: Add check for EAGAIN.
646 * kernel_socket.c: Likewise
647
6482002-06-12 Israel Keys <ikeys@oz.agile.tv>
649
650 * rt_netlink.c: Setting the NLM_F_ACK flag on the netlink command
651 message so that we get an ACK for successful netlink commands.
652 Change the netlink socket to BLOCKING while we wait for a
653 response; be it an ACK or an NLMSG_ERROR. Change
654 netlink_parse_info to deal with ACK messages.
655
6562001-11-01 Jun-ichiro itojun Hagino <itojun@iijlab.net>
657
658 * rtadv.c (rtadv_make_socket): setsockopt(IPV6_CHECKSUM) does not
659 work for ICMPv6 socket.
660
6612001-10-24 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
662
663 * rib.c (rib_process): Select connected route any case.
664
6652001-10-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
666
667 * interface.c (no_ip_address_secondary): Add "no" to command.
668
6692001-10-18 NOGUCHI Kay <kay@v6.access.co.jp>
670
671 * ioctl.c (if_prefix_add_ipv6): Set the prefered and valid lifetime
672 to infinity as the freebsd4.4 workaroud.
673
6742001-08-26 mihail.balikov@interbgc.com
675
676 * zebra_snmp.c: Fix snmpwalk problem such as IPv4 address
677 A.B.C.255.
678
6792001-08-22 NOGUCHI Kay <kay@v6.access.co.jp>
680
681 * rtadv.c: Do not send RA to loopback interface.
682
6832001-08-20 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
684
685 * ioctl.c (if_set_prefix): Remove Linux 2.0 specific connected
686 route treatment.
687
6882001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
689
690 * zebra-0.92a released.
691
6922001-08-17 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
693
694 * rib.c: Kernel route is treated as EGP routes in nexthop active
695 check.
696
6972001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
698
699 * zebra-0.92 released.
700
7012001-08-08 "Akihiro Mizutani" <mizutani@dml.com>
702
703 * rib.c (show_ip_route_prefix_longer): Add longer-prefix option to
704 show route commands.
705
7062001-07-29 Yon Uriarte <havanna_moon@gmx.net>
707
708 * zserv.c (zsend_ipv4_add_multipath): Add
709 NEXTHOP_TYPE_IPV4_IFINDEX check.
710
7112001-07-29 NOGUCHI Kay <kay@v6.access.co.jp>
712
713 * rtadv.c: Apply valid lifetime, preferred lifetime, onilnk flag,
714 autonomous address-configuration flag patch.
715 (no_ipv6_nd_suppress_ra): Change "ipv6 nd send-ra" to "no ipv6 nd
716 suppress-ra".
717
7182001-07-24 NOGUCHI Kay <kay@v6.access.co.jp>
719
720 * rtadv.c (ipv6_nd_ra_interval): Add "ipv6 nd ra-interval SECONDS"
721 command.
722
7232001-07-24 Jun-ichiro itojun Hagino <itojun@iijlab.net>
724
725 * rt_socket.c (kernel_rtm_ipv4): Add KAME/NetBSD151 equal cost
726 multicast FIB support both IPv4 and IPv6.
727
7282001-07-24 Hal Snyder <hal@vailsys.com>
729
730 * if_ioctl.c (interface_list_ioctl): Fix bug of failing to get the
731 full list of interfaces on some configurations of OpenBSD.
732
7332001-07-23 NOGUCHI Kay <kay@v6.access.co.jp>
734
735 * rtadv.c (ipv6_nd_send_ra): Apply [zebra 9320] to fix "ipv6 nd
736 send-ra" bug.
737 (ipv6_nd_ra_lifetime): "ipv6 nd ra-lifetime 0" for default router
738 availability.
739 (ipv6_nd_managed_config_flag): "ipv6 nd managed-config-flag" is
740 added.
741 (ipv6_nd_other_config_flag): "ipv6 nd other-config-flag" is added.
742
7432001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
744
745 * ioctl.c (if_ioctl): Change ioctl argument from int to u_long.
746
747 * rt_ioctl.c: Likewise.
748
7492001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
750
751 * kernel_socket.c (rtm_write): Only set RTF_CLONING when the
752 interface is not p2p.
753
7542001-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
755
756 * ioctl.c (if_prefix_add_ipv6): Fix argument type.
757
7582001-04-06 Toshiaki Takada <takada@zebra.org>
759
760 * zserv.c (zsend_interface_delete): Use client->obuf instead of
761 allocating new stream.
762
7632001-03-10 Kunihiro Ishiguro <kunihiro@zebra.org>
764
765 * rt_netlink.c: Revert RTPROT_BOOT change.
766
7672001-03-08 Kunihiro Ishiguro <kunihiro@zebra.org>
768
769 * rt_netlink.c (netlink_route_change): Skip RTPROT_BOOT route.
770 (netlink_routing_table): Likewise.
771
7722001-03-07 "Akihiro Mizutani" <mizutani@dml.com>
773
774 * zserv.c (zsend_ipv4_add_multipath): Send metric value to
775 protocol daemons.
776
7772001-02-18 Kunihiro Ishiguro <kunihiro@zebra.org>
778
779 * rt_netlink.c (netlink_routing_table): Do not return
780 tb[RTA_GATEWAY] is NULL. Reported by: "Michael O'Keefe"
781 <mokeefe@qualcomm.com>.
782
7832001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
784
785 * if_ioctl.c (interface_list_ioctl): Call if_add_update().
786 Suggested by: Chris Dunlop <chris@onthe.net.au>.
787
7882001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
789
790 * rib.c (nexthop_active_ipv4): When nexthop type is
791 NEXTHOP_TYPE_IPV4_IFINDEX, propery set the ifindex to rifindex.
792
793 * zserv.c: Initialize rtm_table_default with 0.
794
795 * zebra-0.91 is released.
796
7972001-01-31 Kunihiro Ishiguro <kunihiro@zebra.org>
798
799 * kernel_socket.c (rtm_read): Filter cloned route. Suggested by:
800 Jun-ichiro itojun Hagino <itojun@iijlab.net>
801
8022001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
803
804 * connected.c (connected_up_ipv6): When point-to-point destination
805 address is ::, use local address for connected network.
806 (connected_down_ipv6): Likewise.
807
8082001-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
809
810 * zserv.c (zebra_serv): Add missing close() call. Reported by:
811 David Waitzman <djw@vineyard.net>.
812
8132001-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
814
815 * rib.c (rib_lookup_ipv4): New function for checking exact match
816 IGP route.
817
8182001-01-23 Kunihiro Ishiguro <kunihiro@zebra.org>
819
820 * rib.c (show_ipv6_route_protocol): Fix bug of "show ip route
821 route-type".
822
8232001-01-22 Kunihiro Ishiguro <kunihiro@zebra.org>
824
825 * interface.c (zebra_interface): Do not call
826 zebra_interface_add_update for inactive interface.
827
828 * zserv.c (zsend_interface_address_add): Send interface address
829 flag.
830 (zsend_interface_address_delete): Likewise.
831
8322001-01-19 Kunihiro Ishiguro <kunihiro@zebra.org>
833
834 * interface.c (if_addr_add): Add flags.
835
836 * connected.c (ifa_add_ipv4): Add new function for interface
837 address handling.
838 (ifa_delete_ipv4): Likewise.
839
8402001-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
841
842 * rib.c (rib_update): Update IPv6 RIB.
843
844 * kernel_socket.c (ifam_read): Call if_refresh() for update
845 interface flag status. This is for implicit interface up on *BSD.
846
847 * interface.c (if_refresh): Add interface flag refresh function.
848
849 * kernel_socket.c (rtm_read): Fetch link-local address interface
850 index.
851 (ifan_read): We need to fetch interface information. Suggested
852 by: Yasuhiro Ohara <yasu@sfc.wide.ad.jp>.
853
854 * rib.c (static_ipv6_nexthop_same): Add check for
855 NEXTHOP_TYPE_IPV6_IFNAME.
856
8572001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
858
859 * rib.h (NEW_RIB): Turn on NEW_RIB flag. IPv6 new RIB code are
860 taken into place.
861
8622001-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
863
864 * rib.c (static_ipv6_write): Display STATIC_IPV6_GATEWAY_IFNAME
865 configuration.
866 (rib_delete_ipv6): Handle same route conter for IPv6 connected
867 route.
868 (show_ipv6_route_protocol): New command.
869 (show_ipv6_route_addr): Likewise.
870 (show_ipv6_route_prefix): Likewise.
871 (rib_update): Sweep kernel route when it is cleaned up.
872
873 * rt_socket.c (kernel_add_ipv6): Add NEXTHOP_IPV6_IFNAME
874 treatmenet.
875
876 * rt_netlink.c (kernel_init): Likewise.
877
878 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): Likewise.
879
880 * rib.c (rib_add_ipv4): Cope with same connected route on a
881 interface. Suggested by: Matthew Grant <grantma@anathoth.gen.nz>.
882 (nexthop_ipv6_ifname_add): Add NEXTHOP_IPV6_IFNAME treatmenet.
883
884 * rib.h (struct new_rib): Add refcnt to keep track on the
885 reference of same connected route.
886
887 * ioctl.c (if_set_prefix): Add check for GNU_LINUX.
888
8892001-01-13 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
890
891 * kernel_socket.c (ifan_read, rtm_type_str): Add RTM_OIFINFO check.
892 (rtm_type_str): Add RTM_IFANNOUNCE check.
893 (ifan_read): New function.
894 (kernel_read): Add case for RTM_IFANNOUNCE.
895
8962001-01-13 Kunihiro Ishiguro <kunihiro@zebra.org>
897
898 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): New function.
899
900 * rt_netlink.c (netlink_route_multipath): IPv6 address ifindex
901 treatment.
902
903 * connected.c (connected_up_ipv6): Add dest value check.
904
905 * rib.c (nexthop_active_ipv6): Do not touch IPv6 nexthop's
906 ifindex.
907 (rib_add_ipv4): Import rib_add_ipv6() same route check code.
908 (nexthop_active_check): NEXTHOP_TYPE_IPV6_IFINDEX activity is only
909 checked by ifindex.
910
911 * rt_socket.c (kernel_rtm_ipv6_multipath): New function.
912
913 * redistribute.c (redistribute_add): Use
914 zsend_ipv6_add_multipath().
915 (redistribute_delete_multipath): Use
916 zsend_ipv6_delete_multipath().
917
918 * interface.c (ip_address): Check current IP address to avoid
919 duplicate.
920
921 * rib.c (rib_delete_ipv4): When deleted route is connected route,
922 check ifindex.
923 (rib_add_ipv4): When connected route is added do not perform
924 implicit withdraw.
925 (rib_delete_ipv4): Check ifindex for connected route.
926
927 * kernel_socket.c (rtm_read): When route has RTF_STATIC, set
928 ZEBRA_FLAG_STATIC for indicate as persistent route.
929 (ifam_read): Unset interface index from link-local address when
930 IPv6 stack is KAME.
931
932 * rib.c (rib_update): Do not delete persistent kernel route.
933
934 * rib.h (struct new_rib): Integrate RIB_FLAG_* to ZEBRA_FLAG_*.
935
936 * rt_socket.c (kernel_add_ipv6_multipath): Add placeholder.
937 (kernel_delete_ipv6_multipath): Likewise.
938
939 * rt_netlink.c (netlink_talk): Give struct nlsock to netlink_talk.
940
9412001-01-12 Kunihiro Ishiguro <kunihiro@zebra.org>
942
943 * rib.c (rib_update): Revert Matthew Grant's patch
944 zebra_cvs_newribfix.patch. Use struct rib->ifindex for kernel
945 interface index. Introduce NEXTHOP_TYPE_IPV4_IFINDEX to support
946 that. Add support for address deletion situation.
947
9482001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
949
950 * interface.c: Remove HAVE_IF_PSEUDO part.
951
952 * rib.h: Likewise.
953
954 * rt_netlink.c (netlink_link_change): Likewise.
955
9562001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
957
958 * zserv.c: Remove OLD_RIB codes.
959
9602001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
961
962 * zebra-0.90 is released.
963
9642001-01-09 Matthew Grant <grantma@anathoth.gen.nz>
965
966 * interface.c (if_new_intern_ifindex): Allocate a new internal
967 interface index.
968 (if_addr_refresh): Fix up ip addresses configured via zebra.
969 (if_add_update): Handle an interface addition.
970 (if_delete_update): Handle an interface delete event.
971
972 * rib.c (nexthop_ipv4_add): Add kernel route deletion process when
973 interface goes down.
974
9752001-01-08 Kunihiro Ishiguro <kunihiro@zebra.org>
976
977 * interface.c (if_dump_vty): When HAVE_NET_RT_IFLIST is defined,
978 NetBSD also use this function. Suggested by Jasper Wallace
979 <jasper@ivision.co.uk>.
980
9812001-01-07 Kunihiro Ishiguro <kunihiro@zebra.org>
982
983 * rib.c (nexthop_active_ipv4): Move back to set methodo to old
984 one.
985
9862001-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
987
988 * rib.c (rib_add_ipv4): EBGP multihop set ZEBRA_FLAG_INTERNAL
989 flag, so treat it.
990
9912001-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
992
993 * rt_netlink.c (netlink_talk_ipv6): When IPv6 route message is
994 sent from netlink_cmd, the same message comes from netlink. To
995 avoid confusion, temporary netlink_talk_ipv6 use netlink.sock
996 instead of netlink_cmd.sock.
997
9982001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
999
1000 * zserv.h (ZEBRA_SERV_PATH): Change "/tmp/zebra" to "/tmp/.zebra".
1001 Change "/tmp/zserv" to "/tmp/.zserv".
1002
10032000-12-29 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
1004
1005 * rt_netlink.c (struct nlsock): Divide kernel message into listen
1006 socket and command socket.
1007 (netlink_talk): Remove socket listen code. Use netlink_parse_info
1008 for read kernel response.
1009
10102000-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1011
1012 * rib.c (vty_show_ip_route): Show uptime of the RIP,OSPF,BGP
1013 routes.
1014
10152000-12-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1016
1017 * rt_netlink.c (netlink_route_multipath): Metric value is
1018 reflected to kernel routing table.
1019
1020 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Likewise.
1021
1022 * kernel_socket.c (rtm_write): Likewise.
1023
1024 * rib.c (nexthop_active_ipv4): Only iBGP route perform recursive
1025 nexthop lookup.
1026
1027 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Add ioctl version of
1028 new RIB implementation.
1029
10302000-12-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1031
1032 * rib.h: Remove MULTIPATH_NUM. It is defined by configure script.
1033
10342000-12-25 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1035
1036 * rib.c (rib_if_up): Call rib_fib_set instead of RIB_FIB_SET for
1037 proper redistribution.
1038
10392000-12-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1040
1041 * rib.c (nexthop_active_ipv4): Add self lookup nexthop check.
1042 (show_ip_route_protocol): Support new RIB.
1043
1044 * rt_netlink.c (netlink_route_change): Do not return when gate is
1045 NULL.
1046
10472000-12-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1048
1049 * rib.c (rib_lookup_ipv4_nexthop): IBGP nexthop check function is
1050 updated.
1051 (rib_add_ipv4): Free implicit withdraw route's RIB.
1052
10532000-12-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1054
1055 * rib.c (nexthop_active_ipv4): Check indirect nexthop.
1056
1057 * redistribute.c (redistribute_add_multipath): Redistribution
1058 works with new rib code.
1059
10602000-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1061
1062 * rt_netlink.c (netlink_route_multipath): Check useful nexthop
1063 number.
1064 (netlink_route_multipath): Clear rtnh_flags and rtnh_hops.
1065
1066 * rib.c (nexthop_active_update): Set flag for the rib's nexthop
1067 activity is changed.
1068 (nexthop_active_check): Before checking interface is up, make it
1069 sure the interface exist.
1070
10712000-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1072
1073 * rib.c (ip_route): New RIB prototype.
1074
10752000-11-16 Yon Uriarte <ukl2@rz.uni-karlsruhe.de>
1076
1077 * zserv.c (zsend_interface_add): Send hardware address when
1078 hw_addr_len is greater than 0.
1079
10802000-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1081
1082 * connected.c (connected_up_ipv4): Fix ptop bug. The destination
1083 network should be installed into routing table.
1084 (connected_down_ipv4): Likewise.
1085 (connected_add_ipv4): Change to use connected_up_ipv4.
1086 (connected_delete_ipv4): Likewise.
1087
10882000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1089
1090 * rt_netlink.c (netlink_interface_addr): Revert Harald Welte
1091 <laforge@gnumonks.org>'s ptop patch then back to original code to
1092 avoid duplicated connected route problem. Suggested by Frank van
1093 Maarseveen <F.vanMaarseveen@inter.NL.net>.
1094
1095 * kernel_socket.c (rtm_read): Make behavior consistent even #ifdef
1096 DEBUG is defined. Reported by Jun-ichiro itojun Hagino
1097 <itojun@iijlab.net>.
1098
10992000-10-23 Jochen Friedrich <jochen@scram.de>
1100
1101 * main.c (main): Call zebra_snmp_init() when it is enabled.
1102
11032000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1104
1105 * zserv.c (zebra_serv_un): UNIX domain socket server of zebra
1106 protocol.
1107
11082000-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1109
1110 * rib.c (rib_add_ipv4): Same check bug is fixed.
1111
11122000-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1113
1114 * rib.c (rib_if_down): Remove kernel route when the interface goes
1115 down.
1116
1117 * debug.c: New command "debug zebra kernel" is added.
1118
11192000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1120
1121 * zebra-0.89 is released.
1122
11232000-09-24 Harald Welte <laforge@gnumonks.org>
1124
1125 * rt_netlink.c (netlink_interface_addr): Fix point-to-point address
1126 treatment in netlink interface.
1127
11282000-09-21 David Lipovkov <dlipovkov@OpticalAccess.com>
1129
1130 * rib.c (rib_if_down): Pull static route only. Protocol daemon
1131 must withdraw routes when interface goes down.
1132 (rib_add_ipv4): Check nexthop when replace route.
1133
11342000-09-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1135
1136 * if_ioctl.c (if_getaddrs): New function for looking up
1137 interface's address by getifaddrs().
1138
11392000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1140
1141 * connected.c (connected_delete_ipv4): Add check for connected
1142 address is found or not.
1143 (connected_add_ipv6): Reflect IPv6 connected address change to
1144 protocol daemons.
1145 (connected_delete_ipv6): Likewise.
1146
11472000-09-07 David Lipovkov <davidl@nbase.co.il>
1148
1149 * rib.c (rib_delete_ipv4): Reverted the change from pseudo
1150 interface patch to original. Because ospfd deletes routes using
1151 zero ifindex.
1152
11532000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1154
1155 * zebra-0.88 is released.
1156
11572000-08-15 "Akihiro Mizutani" <mizutani@dml.com>
1158
1159 * rib.c (show_ip_route_protocol): Help string correction.
1160 (show_ip_route_prefix): Check prefix mask.
1161 (show_ip_route_vty_detail): Display distance and metric.
1162
11632000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1164
1165 * zserv.c (zsend_interface_add): Change ifindex store size from
1166 two octet to four.
1167 (zsend_interface_delete): Likewise.
1168 (zsend_interface_address_add): Likewise.
1169 (zsend_interface_address_delete): Likewise.
1170 (zsend_interface_up): Likewise.
1171 (zsend_interface_down): Likewise.
1172
11732000-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1174
1175 * rib.c (rib_add_ipv4): Do not install distance 255 route.
1176
11772000-08-10 Toshiaki Takada <takada@zebra.org>
1178
1179 * interface.c (bandwidth_if), (no_bandwidth_if): Call
1180 zebra_interface_up_update () instead of using if_up() and if_down().
1181
11822000-08-07 "Akihiro Mizutani" <mizutani@dml.com>
1183
1184 * interface.c (bandwidth_if): Fix help string.
1185
11862000-08-07 Matthew Grant <grantma@anathoth.gen.nz>
1187
1188 * interface.c (if_dump_vty): Display bandwidth value.
1189 (bandwidth_if): New command "bandwidth <1-10000000>" is added.
1190 When interface is up, force protocol daemons to recalculate routes
1191 due to cost change.
1192 (no_bandwidth_if): Likewise.
1193 (if_config_write): Output bandwidth configuration.
1194
1195 * zserv.c (zsend_interface_add): Send bandwidth value.
1196 (zsend_interface_up): Likewise.
1197 (zsend_interface_down): Likewise.
1198
1199
12002000-08-07 Michael Rozhavsky <mike@nbase.co.il>
1201
1202 * rib.c (show_ip_route_protocol): "show ip route
1203 (bgp|connected|kernel|ospf|rip|static)" is added.
1204
12052000-08-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1206
1207 * rib.c (rib_lookup_ipv4_nexthop): Check parent node until IGP
1208 nexthop is found.
1209 (rib_add_ipv4_internal): Set fib ifindex to rib ifindex.
1210
12112000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1212
1213 * redistribute.c (redistribute_delete): Fix bug of default route
1214 redistribute treatment.
1215
12162000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1217
1218 * rib.c (rib_init): Install ip_node in rib.c instead of zserv.c.
1219 Change default distance value.
1220
1221 Old New
1222 ------------------------------------------
1223 system 10 0
1224 kernel 20 0
1225 connected 30 0
1226 static 40 1
1227 rip 50 120
1228 ripng 50 120
1229 ospf 60 110
1230 ospf6 49 110
1231 bgp 70 200(iBGP) 20(eBGP)
1232 ------------------------------------------
1233
1234 * zserv.c (client_lookup): Function removed.
1235 (zsend_interface_add): Use client's output buffer. Check ifinfo
1236 flag.
1237 (zsend_interface_delete): Likewise.
1238 Delete ipv4_static_radix and ipv6_static_radix.
1239
12402000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1241
1242 * zserv.h (struct zebra_client): When client request interface
1243 information, ifinfo is set.
1244
1245 * rib.c: Temporary Revert changes for pseudo interface.
1246
1247 * rib.h: Likewise.
1248
1249 * zserv.c: Likewise.
1250
1251 * interface.c: Likewise.
1252
12532000-08-02 David Lipovkov <davidl@nbase.co.il>
1254
1255 * interface.c (zebra_if_init): Install interface "pseudo"
1256 commands.
1257
1258 * rib.c (rib_create): ifname argument is added.
1259 (rib_add_ipv4_pseudo): New function is added.
1260 (rib_delete_ipv4_pseudo): Likewise.
1261
1262 * rib.h : Delete INTERFACE_UNKNOWN definition. Add prototype for
1263 pseudo interface functions.
1264
1265 * rt_netlink.c (netlink_link_change): Check for pseudo interface.
1266
1267 * zserv.c (ip_route): When destination is pseudo interface, call
1268 rib_add_ipv4_pseudo().
1269
1270 * zserv.c (no_ip_route): Trim "unknown" argument.
1271
12722000-07-26 kunitake@dti.ad.jp
1273
1274 * if_ioctl.c (if_get_hwaddr): Fix hardware address length from 8
1275 to 6.
1276
1277 * rtadv.c (rtadv_send_packet): Fix shift bug for hardware address.
1278
12792000-07-24 Akihiro Mizutani <mizutani@dml.com>
1280
1281 * interface.c: Use install_default() for common VTY commands.
1282
12832000-07-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1284
1285 * if_ioctl.c (interface_list_ioctl): A interface list size is
1286 calculated from ifreq->if_addr.sa_len. This is for OpenBSD.
1287
1288 * ioctl.c (if_get_mtu): Remove codes for SIOCGIFDATA.
1289
12902000-07-09 Chris Dunlop <chris@onthe.net.au>
1291
1292 * if_ioctl.c (if_get_index): Add check for HAVE_BROKEN_ALIASES.
1293
12942000-07-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1295
1296 * zserv.c (zebra_client_read): Add ZEBRA_REDISTRIBUTE_{ADD,DELETE}
1297 message handling.
1298
12992000-07-02 David Lipovkov <davidl@nbase.co.il>
1300
1301 * zserv.c: "ip route A.B.C.D/M unknown" command is added.
1302
13032000-06-28 Michael Rozhavsky <mike@nbase.co.il>
1304
1305 * rib.c: Remove old kernel route when new route comes in.
1306
13072000-06-13 David Lipovkov <davidl@nbase.co.il>
1308
1309 * rib.c (rib_if_up): Add check for unknown interface.
1310
13112000-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1312
1313 * rib.h: Define INTERFACE_UNKNOWN.
1314
13152000-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1316
1317 * Makefile.am (EXTRA_DIST): Move irdp.c until implementation is
1318 finished.
1319
13202000-06-05 David Lipovkov <davidl@nbase.co.il>
1321
1322 * interface.c (if_zebra_delete_hook): Call rib_if_delete().
1323
1324 * redistribute.c (zebra_interface_delete_update): New function.
1325
1326 * redistribute.h (zebra_interface_delete_update): New function
1327 prototype.
1328
1329 * rib.c (rib_if_delete): New function. Walk down all routes and
1330 delete all on the interface.
1331
1332 * rib.h: New function prototype.
1333
1334 * rt_netlink.c (netlink_link_change): Call
1335 zebra_interface_delete_update ().
1336
13372000-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1338
1339 * if_ioctl.c (interface_info_ioctl): Check interface's flag before
1340 checking interface's address.
1341
13422000-04-26 Jochen Friedrich <jochen@nwe.de>
1343
1344 * GNOME-PRODUCT-ZEBRA-MIB: New file.
1345
1346 * GNOME-SMI: New file.
1347
13482000-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1349
1350 * irdp.c: New file from 1997 development code.
1351 * irdp.h: Likewise.
1352
13532000-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1354
1355 * rtadv.c (rtadv_send_packet): Enclose router advertisement
1356 logging with IS_ZEBRA_DEBUG_PACKET.
1357
13582000-04-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1359
1360 * zserv.c (zebra_client_close): Remove client structure from
1361 client_list when connection is terminated.
1362
13632000-03-21 David Lipovkov <davidl@nbase.co.il>
1364
1365 * connected.c (connected_add_ipv4): Allows all necessary structure
1366 updates for connected route, but doesn't insert it into rib if
1367 it's interface is down.
1368
13692000-01-21 Hideto Yamakawa <hideto.yamakawa@soliton.co.jp>
1370
1371 * rtread_getmsg.c: Set some definition for Solaris 2.5 and Solaris
1372 2.5.1.
1373
13742000-01-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1375
1376 * rib.c (no_ipv6_route_ifname): Fix buf of cheking return value
1377 from str2prefix_ipv6().
1378
13792000-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1380
1381 * rt_socket.c: Revert to use RTF_HOST for IPv4 with /32 route and
1382 IPv6 with /128 routes.
1383 (kernel_rtm_ipv4): In case of /32 route's gateway is interface. It
1384 should have mask for cloning.
1385
13861999-12-26 Jochen.Friedrich@genorz.de
1387
1388 * interface.c (if_dump_vty): Fix a bug of missing VTY_NEWLINE.
1389
13901999-12-23 Alex Zinin <zinin@amt.ru>
1391 * interface.*: dynamic int up/down support
1392
13931999-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1394
1395 * ipforward_proc.c (dropline): Move dropline() from lib/dropline.c
1396
1397 * rtread_proc.c (proc_route_read): Don't use dropline().
1398
13991999-12-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1400
1401 * kernel_socket.c (rtm_read): When message is RTM_GET, it has own
1402 process's pid.
1403
14041999-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1405
1406 * main.c (main): Change to default log output to ZLOG_STDOUT.
1407
1408 * zserv.c (zebra_serv): More detailed error print.
1409
14101999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1411
1412 * kernel_socket.c (rtm_read): Check old pid for static route
1413 insertion check.
1414
14151999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1416
1417 * interface.c (if_dump_vty): BSDI/OS uses 64bit for interface
1418 statistics counter.
1419
1420 * mtu_kvm.c: New file added.
1421
14221999-11-27 Vladimir B. Grebenschikov <vova@express.ru>
1423
1424 * kernel_socket.c (rtm_write): Set RTF_CLONING flag for
1425 route to the directly connected interface.
1426
14271999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1428
1429 * rt_socket.c: Delete USE_HOST_BIT definition.
1430
14311999-11-21 Michael Handler <handler@sub-rosa.com>
1432
1433 * rtread_getmsg.c: Undef some definition to resolve conflict.
1434
14351999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1436
1437 * kernel_socket.c (rtm_write): Change to use pre stored struct_dl
1438 value for gateway specification.
1439
14401999-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1441
1442 * rt_socket.c (kernel_rtm_ipv4): Even mask is 32 under IPv4 or
1443 128 under IPv6, don't use RTF_HOST.
1444
14451999-11-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1446
1447 * Makefile.am (EXTRA_DIST): Add rtread_getmsg.c.
1448
14491999-11-21 Michael Handler <handler@sub-rosa.com>
1450
1451 * rtread_getmsg.c: Added for Solaris 2.6 support.
1452
14531999-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1454
1455 * rtread_sysctl.c (rtm_read_route): RTM_DELETE handling added.
1456
1457 * rt_socket.c (kernel_read): Better BSD routing socket support.
1458
14591999-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1460
1461 * client_main.c: Disable making obsolete zebra test `client'
1462 command.
1463
14641999-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1465
1466 * zebra.c: Renamed to zserv.c.
1467
1468 * zebra.h: Global definitions are moved to lib/zebra.h. Then
1469 renamed to zserv.h.
1470
14711999-10-15 Jordan Mendelson <jordy@wserv.com>
1472
1473 * if_ioctl.c: Add Linux 2.2.X's alias support and dynamic
1474 interface. Remove ugly MAX_INTERFACE handling codes.
1475
14761999-09-17 Satosi KOBAYASI <kobayasi@north.ad.jp>
1477
1478 * Fix serious bug of IPv6 route deletion.
1479
14801999-09-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1481
1482 * ioctl.c (if_set_prefix): Properly set broadcast address.
1483
14841999-09-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1485
1486 * rib.c (rib_add_ipv6, rib_delete_ipv6): now protocol daemons
1487 can install connected route to kernel via zebra
1488
14891999-08-24 VOP <vop@unity.net>
1490
1491 * rib.c: Include "sockunion.h"
1492
14931999-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
1494
1495 * ipforward.h: New file.
1496
1497 * zebra.h: Obsolete message ZEBRA_GET_ALL_INTERFACE,
1498 ZEBRA_GET_ONE_INTERFACE, ZEBRA_GET_HOSTINFO are deleted.
1499
15001999-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1501
1502 * zebra.h (ZEBRA_INTERFACE_ADDRESS_ADD):
1503 ZEBRA_INTERFACE_{ADD,DELETE} added.
1504
15051999-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1506
1507 * rib.c: show ip route A.B.C.D works.
1508
1509 * zebra.c (zebra_read_ipv4): Add ifindex to zebra messages.
1510
15111999-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1512
1513 * zebra.h: New Zebra message ZEBRA_INTERFACE_{ADD,DELETE} added.
1514
15151999-08-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1516
1517 * interface.h: New file.
1518 * Makefile.am: Add interface.h
1519
15201999-08-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1521
1522 * redistribute.c (zebra_redistribute): give ifindex to client.
1523
15241999-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1525
1526 * main.c (longopts): -k, --keep_kernel option added.
1527
15281999-07-18 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1529
1530 * rt_socket.c (rtm_write): forgot closing socket bug fixed.
1531
15321999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1533
1534 * rib.c (show_ipv6_cmd): if rib is link show interface name.
1535
15361999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1537
1538 * rt_socket.c (rtm_write): use sockaddr_dl when null gateway.
1539
15401999-07-16 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1541
1542 * rt_socket.c (rtm_write): ipv6 route table bug fixed.
1543
15441999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1545
1546 * zebra.c (zebra_read_ipv6): read link prefix from ospf6 support
1547
15481999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1549
1550 * rt_socket.c (kernel_rtm_ipv6): gate treatment bug fixed.
1551
15521999-07-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1553
1554 * if_sysctl.c (ifm_read): Clear sockunion argument before fetching
1555 data. Suggested by "Chris P. Ross" <cross@eng.us.uu.net>
1556
15571999-07-08 HEO SeonMeyong <seirios@Matrix.IRI.Co.Jp>
1558
1559 * interface.c (if_tun_add): Add KAME's gif tunnel setting codes.
1560
15611999-06-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1562
1563 * zebra.c (zebra_serv): Only accept loopback address connection.
1564
15651999-06-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1566
1567 * zebra.h (ZEBRA_ROUTE_EXTERNAL): Add zebra messages flags
1568
15691999-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1570
1571 * ipforward_proc.c: ipforward_on () and ipforward_off () added.
1572
15731999-06-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1574
1575 * ipforward_proc.c (ipforward_ipv6): Check for IPv6 forwarding
1576 using /proc file system is added.
1577
15781999-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1579
1580 * if_ioctl.c (if_get_index): Interface index set bug is fixed by
1581 adding #else at the middle of function. Suggested by David Luyer
1582 <luyer@ucs.uwa.edu.au>.
1583
15841999-05-29 <kunihiro@zebra.org>
1585
1586 * rt_ioctl.c: Comment out #include <linux/ipv6_route.h>.
1587
15881999-05-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1589
1590 * zebra.h (ZEBRA_ROUTE_MAX): Add new define for the max value of
1591 the sort of routes.
1592
15931999-05-25 Patrick Koppen <koppen@rhrk.uni-kl.de>
1594
1595 * rt_netlink.c (netlink_socket): Make netlink socket non-blocking.
1596 (netlink_parse_info): If errno is EWOULDBLOCK then continue to
1597 parse the message.
1598 (netlink_talk): Likewise
1599
16001999-05-17 <kunihiro@zebra.org>
1601
1602 * redistribute.c (zebra_check_addr): Added for loopback address
1603 check.
1604
16051999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1606
1607 * rt_netlink.c (netlink_route_change): Tempolary bypass ipv6 route
1608 change treatment.
1609
1610 * Makefile.am (noinst_HEADERS): redistribute.h added.
1611
1612 * redistribute.h: New file.
1613
16141999-05-14 Stephen R. van den Berg <srb@cuci.nl>
1615
1616 * zebra.c (show_table): Show all table configuration DEFUN.
1617 (config_table): Config table number DEFUN.
1618
1619 * rt_netlink.c: Add support for multiple routing table.
1620
1621 * rib.c (rib_weed_table): New function added for delete all
1622 routes from specified routing table.
1623
1624 * main.c (signal_init): SIGTERM call sigint.
1625 (sigint): Loggging more better message.
1626
16271999-05-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1628
1629 * rt_netlink.c: Change log () to zlog ().
1630
16311999-05-07 <kunihiro@zebra.org>
1632
1633 * zebra.h (ZEBRA_ROUTE_OSPF6): Added for ospf6d route.
1634
16351999-04-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1636
1637 * interface.c: Add `no ip address' command.
1638
16391999-04-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1640
1641 * rt_netlink.c (kernel_read): Function added for asynchronous
1642 zebra between kernel communication.
1643
16441999-03-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1645
1646 * rtread_sysctl.c (rtm_read): Fix address memcopy overrun bug.
1647 Reported by Achim Patzner <ap@bnc.net>.
1648
16491999-03-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1650
1651 * Makefile.am: Install configuration sample with 600 permission.
1652
16531999-03-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1654
1655 * Makefile.am: Add -I.. to INCLUDES.
1656
16571999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
1658
1659 * syslog support added
1660
16611999-02-17 Peter Galbavy <Peter.Galbavy@knowledge.com>
1662
1663 * if_sysctl.c (interface_list): allocated memory free when unknown
1664 ifm_type is returned.
1665
1666 * ioctl.c (if_get_mtu): added SIOCGIFDATA treatment.
1667
16681998-12-15 Magnus Ahltorp <map@stacken.kth.se>
1669
1670 * interface.c: Header include added.
1671
16721998-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1673
1674 * rt.h (kernel_delete_ipv6): change int index to unsigned int index.
1675
16761998-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1677
1678 * if_ioctl.c (interface_list_ioctl): interface flag must be
1679 checked before check addresses of the interface.
1680
16811998-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1682
1683 * Makefile.am (INCLUDES): add @INCLUDES@ for Linux IPv6.
1684
16851998-10-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1686
1687 * ioctl.c: Linux version before 2.1.0 need interface route setup.
1688
16891998-09-15 HEO SeonMeyong <seirios@matrix.iri.co.jp>
1690
1691 * change HYDRANGEA to KAME
1692
16931998-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1694
1695 * if_ioctl.c (if_addr_ioctl): set address family for getting
1696 interface's address.
1697 (if_get_index): silently return when can't get interface's index.
1698
16991998-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1700
1701 * main.c (main): batch mode option '-b' added.
1702
17031998-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1704
1705 * ioctl.c (if_set_prefix): add `ip address IPV4ADDR' command.
1706 * interface.c (shutdown_if): add interface shutdown and no
1707 shutdown command.
1708
17091998-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1710
1711 * rib.c (rib_add_ipv6): delete rib_add_in6.
1712
17131998-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1714
1715 * main.c: retain flag is added.
1716
17171998-07-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1718
1719 * rtable.[ch]: merged with rib.[ch]
1720
17211998-07-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1722
1723 * connected.h: renamed from ifa.h.
1724
17251998-06-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1726
1727 * rename if.c to interface.c
1728 * rename ifa.c to connected.c
1729
1730 * Porting to Debian GNU/Linux 2.0 (hamm).
1731
17321998-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1733
1734 * rt_netlink.c: renamed from krt_netlink.c
1735
1736 * fib.c: deleted.
1737 * rt_kvm.c: deleted.
1738 * rtread_getmsg.c: deleted.
1739
17401998-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1741
1742 * if.c (multicast): add multicast flag [un]set fucntion.
1743
17441998-05-19 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1745
1746 * rt_socket.c: Modify for compile on Solaris, but dont't work it.
1747 rt_socket.c have some undefined function, so add directive "IMPLEMENT"
1748
17491998-05-18 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1750
1751 * zebra.c: Modify for compile on Solaris.
1752
17531998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1754
1755 * main.c: change CONFDIR to SYSCONFDIR.
1756
17571998-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1758
1759 * .cvsignore: added.
1760
17611998-04-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1762
1763 * client.c: moves to ../lib.
1764
17651998-03-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1766
1767 * if_ioctl.c (if_get_addr): Change address copy from memcopy() to
1768 structure assignment.
1769
17701998-03-30 URA Hiroshi <ura@yamato.ibm.co.jp>
1771
1772 * if_sysctl.c (ifm_interface_add): sdl->sdl_data copy bug fixed.
1773
17741998-02-23 "Hannes R. Boehm" <hannes@boehm.org>
1775
1776 * if.c (if_init): add config_exit_cmd and config_help_cmd.
1777
17781998-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
1779
1780 * rt_ioctl.c (route_ioctl): EPERM treatment added.
1781
17821998-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1783
1784 * rt_socket.c (kernel_read): communication port zebra between
1785 kernel is now handled by kernel_read.
1786
17871998-01-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1788
1789 * main.c (main): zebra [-P port] can specify vty port number.
1790
17911997-12-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1792
1793 * zebra.c: change select will be block.
1794
17951997-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1796
1797 * add static route treatment.
1798
17991997-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1800
1801 * rt_netlink.c: add netlink support over GNU/Linux system.
1802
18031997-11-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1804
1805 * all inet_addr is changed to inet_aton.
1806
1807 * zebra.c (ip_route): add ip route command for static routes.
1808
18091997-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1810
1811 * if.c (if_flag_dump): Linux port of if_flag_dump and _vty.
1812
18131997-11-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1814
1815 * if.c: add interface command.
1816
18171997-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1818
1819 * ipforward_proc.c : Now works on Linux.
1820
18211997-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1822
1823 * command.c : add completion feature.
1824
18251997-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1826
1827 * vty.c (vty_command): add vty interface.
1828
18291997-10-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1830
1831 * zebra.c: add verbose mode.
1832
18331997-10-12 SonMyong Ho <s-ho@Matrix.IRI.Co.Jp>
1834
1835 * Hydrangea for FreeBSD supported
1836 * in.h: add some prototype.
1837
18381997-10-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1839
1840 * rt_socket.c and rtread.c completely rewritten.
1841
18421997-10-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1843
1844 * rt_socket.c: rename kernel_sock to routing_socket
1845
18461997-10-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1847
1848 * if.c (if_new): interface structure change from linklist to vector.
1849
18501997-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1851
1852 * vector.c (vector_init): create vector related function
1853
18541997-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1855
1856 * Makefile.in: add tags target
1857
1858 * start IPv6 support for INRIA FreeBSD.
1859