blob: 677643ee9f4d84cb8aa5d997263a5a427761a97f [file] [log] [blame]
paul62debbb2005-06-14 14:07:07 +000012005-06-14 Paul Jakma <paul.jakma@sun.com>
2
3 * kernel_socket.c: consolidate the IFAM{ADDR,MASK}GET and
4 RTM{ADDR,MASK}GET macros into generic rta_addrs macros,
5 RTA_{ADDR,ATTR}_GET.
6 (af_check) could use 'inline' attribute
7 (ifam_read_mesg) remove IFAM{ADDR,MASK}GET macro, change to
8 generic macro.
9 (rtm_read_mesg) similar
10
hasso1ada8192005-06-12 11:28:18 +0000112005-06-12 Hasso Tepper <hasso at quagga.net>
12
13 * rt_netlink.c: Remove netlink-addr socket declaration, it's not used.
14 * rt_netlink.c (netlink_parse_info): Fix debug messages - nlmsg_pid is
15 unsigned and one zlog call had swapped arguments.
16 * rt_netlink.c (netlink_route_multipath): Fix compile with disabled
17 IPv6 support.
18
paul1dcb5172005-05-31 08:38:50 +0000192005-05-31 Paul Jakma <paul.jakma@sun.com>
20
21 * zserv.c: (zsend_route_multipath) Fix bug if route is sent
22 with no NEXTHOP_FLAG_FIB nexthops. As ZAPI_MESSAGE_IFINDEX
23 and ZAPI_MESSAGE_NEXTHOP are always set, clients would try
24 read non-existent nexthop information and hit stream assert.
25 Zserv is still broken for multi-nexthop messages, but it always was.
26
paul69e10ad2005-05-06 21:27:33 +0000272005-05-06 Paul Jakma <paul.jakma@sun.com>
28
29 * zserv.h: Remove ZEBRA_PORT definition, its in lib/zebra.h now
30
paul4d38fdb2005-04-28 17:35:14 +0000312005-04-28 Paul Jakma <paul.jakma@sun.com>
32
33 * rib.h: (struct rib) Add lock field for refcounting.
34 * zserv.h: (struct zebra_t) Add a ribq workqueue to the zebra
35 'master' struct.
36 * zserv.c: (zread_ipv4_add) XMALLOC then memset should be XCALLOC.
37 * zebra_rib.c: Clean up refcounting of route_node, make struct rib
38 refcounted and convert rib_process to work-queue. In general,
39 rib's should be rib_addnode'd and delnode'd to route_nodes, and
40 these symmetrical functions will manage the locking of referenced
41 route_node and freeing of struct rib - rather than having users
42 manage each seperately - with much scope for bugs..
43 (newrib_free) removed and replaced with rib_lock
44 (rib_lock) new function, check state of lock and increment.
45 (rib_unlock) new function, check lock state and decrement. Free
46 struct rib if refcount hits 0, freeing struct nexthop's, as
47 newrib_free did.
48 (rib_addnode) Add RIB to route_node, locking both.
49 (rib_delnode) Delete RIB from route_node, unlocking each.
50 (rib_process) Converted to a work-queue work function.
51 Functional changes are minimal, just arguments, comments and
52 whitespace.
53 (rib_queue_add_qnode) Helper function to setup a ribq item.
54 (rib_queue_add) Helper function, same arguments as old
55 rib_process, to replace in callers of rib_process.
56 (rib_queue_qnode_del) ribq deconstructor.
57 (rib_queue_init) Create the ribq.
58 (rib_init) call rib_queue_init.
59 (remainder) Sanitise refcounting of route_node's. Convert to
60 rib_queue_add, rib_addnode and rib_delnode. Change XMALLOC/memset
61 to XCALLOC. Remove calls to nexthop_delete and nexthop_free.
62
paulcf460ef2005-04-10 16:54:26 +0000632005-04-10 Paul Jakma <paul@dishone.st>
64
65 * if_ioctl_solaris.c: (if_lookup_linklocal) fix order of args
66 in ALL_LIST_ELEMENTS_RO macro.
67
ajs57a14772005-04-10 15:01:56 +0000682005-04-10 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
69
70 * zserv.c (zebra_client_read): Fix bug: first read attempt should
71 read ZEBRA_HEADER_SIZE minus the number of bytes already read.
72 Improve efficiency by maintaining a calculation of the number
73 of bytes read instead of calling stream_get_endp multiple times.
74 If message length is too small, issue a warning message (not debug)
75 before closing the connection. And also check that message length
76 is not too big.
77
hasso206d8052005-04-09 16:38:51 +0000782005-04-09 Hasso Tepper <hasso at quagga.net>
79
hassofa599802005-04-09 16:59:28 +000080 * rt_netlink.c: One tiny missing comma caused pointless debug messages
81 about IPv6 nexthops.
82
832005-04-09 Hasso Tepper <hasso at quagga.net>
84
hasso206d8052005-04-09 16:38:51 +000085 * rt_netlink.c (netlink_parse_info): Fix warning. It's safe to cast
86 status to unsigned here, because we already checked that it isn't
87 negative or 0.
88 * rt_netlink.c (netlink_interface_addr): Prefix length belongs to the
89 address, not to the interface.
90 * rt_netlink.c (netlink_route_multipath): Fix debug. No useless info
91 is printed out now and IPv6 info is handeled.
92
paul3d1dc852005-04-05 00:45:23 +0000932005-04-05 Paul Jakma <paul@dishone.st>
94
95 * zserv.c: print more helpful errors when we fail to successfully
96 bind and listen on zserv socket. Closes bugzilla #163.
97
ajsd2fc8892005-04-02 18:38:43 +0000982005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
99
ajs08dbfb62005-04-03 03:40:52 +0000100 * if_ioctl.c: (interface_list_ioctl) Use if_get_by_name_len.
101 * if_proc.c: (ifaddr_proc_ipv6) Increase size of ifname buffer to
102 avoid overflow.
103 * kernel_socket.c: (ifan_read) Use if_get_by_name_len.
104
1052005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
106
ajsa3491982005-04-02 22:50:38 +0000107 * kernel_socket.c: (ifm_read) Use new if_lookup_by_name_len function
108 to save a memcpy.
109 * if_ioctl_solaris.c: (interface_list_ioctl) Fix subtle bug with new
110 if_get_by_name_len function.
111
1122005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
113
ajsd2fc8892005-04-02 18:38:43 +0000114 * interface.c: (if_new_intern_ifindex) Remove obsolete function.
115 (if_delete_update) After distributing the interface deletion message,
116 set ifp->ifindex to IFINDEX_INTERNAL.
117 (if_dump_vty) Detect pseudo interface by checking if ifp->ifindex is
118 IFINDEX_INTERNAL.
119 (zebra_interface) Check return code from interface_cmd.func.
120 Do not set internal ifindex values to if_new_intern_ifindex(),
121 since we now use IFINDEX_INTERNAL for all pseudo interfaces.
122 * kernel_socket.c: (ifm_read) Fix code and comments to reflect that
123 all internal interfaces now have ifp->ifindex set to IFINDEX_INTERNAL.
124 * rt_netlink.c: (set_ifindex) New function used to update ifp->ifindex.
125 Detects interface rename events by checking if that ifindex is already
126 being used. If it is, delete the old interface before assigning
127 the ifindex to the new interface.
128 (netlink_interface, netlink_link_change) Call set_ifindex to update
129 the ifindex.
130
hassob7ed1ec2005-03-31 20:13:49 +00001312005-03-31 Hasso Tepper <hasso at quagga.net>
132
133 * rt_netlink.c (netlink_talk_filter): Show always warning message,
134 it's not for debug.
135 * rt_netlink.c (netlink_talk): Don't assume we use netlink_cmd
136 although we do now actually.
137 * rt_netlink.c (netlink_route, netlink_route_multipath): Always use
138 netlink_cmd to send messages to the kernel.
139
ajs2da40f42005-03-30 16:33:13 +00001402005-03-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
141
142 * irdp.h: Add prototype for irdp_sock_init, and fix protos for
143 other irdp_* functions.
144 * irdp_interface.c: (irdp_if_start) If irdp_sock is negative,
145 call irdp_sock_init to create the IRDP socket.
146 (irdp_if_init) Rename to irdp_init().
147 (get_iflist_ifp) Remove function that is a duplicate of
148 if_lookup_by_index.
149 (*) Make many functions static. And remove superfluous "\n" from
150 several zlog messages.
151 * irdp_main.c: (irdp_init) Remove function that used to call
152 irdp_if_init() and irdp_sock_init(), since we will now create
153 the socket only upon first use.
154 (irdp_sock_init) Do not update global irdp_sock variable, just
155 return the fd and assume that the caller will do so. If setsockopt
156 calls fail, close the socket before returning -1.
157 (*) Make many functions static.
158 * irdp_packet.c: Initialize irdp_sock to -1.
159 (irdp_read_raw) Call standard library function if_lookup_by_index
160 instead of get_iflist_ifp.
161 (irdp_recvmsg) Should be static, not global.
162
ajsa608bbf2005-03-29 17:03:49 +00001632005-03-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
164
165 * rt_netlink.c: (netlink_link_change) If the status of an
166 operative interface changes (e.g. MTU changes), the client
167 daemons should be notified by calling zebra_interface_up_update.
168 Previously, the information was being updated in zebra's
169 interface structure, but the clients were not notified of
170 changes to an operative interface.
171
vincent7cee1bb2005-03-25 13:08:53 +00001722005-03-25 Jean-Mickael Guerin <jean-mickael.guerin@6wind.com>
173 * interface.c, interface.h, rtadv.c, rtadv.h: modifications to
174 IPv6 Neighbor Discovery according to RFC3775, section 7:
175 o 1-bit Home Agent flag management in Router Advertisement (7.1).
176 o 1-bit Router Address flag management in Prefix Information
177 Option (7.2).
178 o Advertisement Interval Option (7.3)
179 o Home Agent Information Option (7.4)
180 o Changes to Sending Router Advertisements more frequently (7.5)
181
hassoed9bb6d2005-03-13 19:17:21 +00001822005-03-13 Hasso Tepper <hasso at quagga.net>
183
184 * zebra/interaface.c: "show interface description" command
185 implemented.
186
paulc1f01f32005-03-12 06:33:14 +00001872005-03-12 Paul Jakma <paul@dishone.st>
188
189 * rt_netlink.c: (netlink_route_multipath) dont set equalise flag.
190 No stock Linux kernel has ever supported it, and even if it had
191 it's not generally a good idea.
192
hasso42a66d72005-03-07 08:19:44 +00001932005-03-07 Michael Sandee <voidptr@voidptr.sboost.org>
194
195 * if_proc.c, ipforward_proc.c, rtread_proc.c: Fix fd leaks.
196
hasso3452d472005-03-06 13:42:05 +00001972005-03-06 Hasso Tepper <hasso at quagga.net>
198
199 * interface.c: Fix CRC and frame errors statistics in Linux.
200
ajs719e9742005-02-28 20:52:15 +00002012005-02-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
202
203 * zserv.c: Must include network.h and buffer.h for non-blocking I/O.
204 Remove global message_queue and t_write (need separate buffering for
205 each client).
206 (zebra_server_dequeue,zebra_server_enqueue) Remove functions
207 related to old buggy buffering code.
208 (zserv_delayed_close) New thread callback function to delete a client.
209 (zserv_flush_data) New thread callback function to flush buffered
210 data to client.
211 (zebra_server_send_message) Rewritten to use buffer_write (so
212 buffering of writes and non-blocking I/O work properly).
213 (zsend_interface_add,zsend_interface_delete,zsend_interface_address,
214 zsend_interface_update) Return 0 instead of -1 if !client->ifinfo
215 (this is not really an error). Return value from
216 zebra_server_send_message.
217 (zsend_route_multipath,zsend_ipv4_nexthop_lookup,
218 zsend_ipv4_import_lookup) Return value from zebra_server_send_message.
219 (zsend_ipv6_nexthop_lookup) Fix scope to static, and return value
220 from zebra_server_send_message.
221 (zsend_router_id_update) Must use zebra_server_send_message instead
222 of deprecated writen function. Return 0 instead of -1 if this client
223 is not subscribed to router-id updates (since this is not really
224 an error).
225 (zread_interface_add) Change type to static int. If
226 zsend_interface_add fails or zsend_interface_address fails, return -1
227 immediately (since the client has had an I/O error).
228 (zread_interface_delete,zread_ipv4_add,zread_ipv4_delete,
229 zread_ipv6_add,zread_ipv6_delete,zread_router_id_delete) Return 0
230 to indicate success.
231 (zread_ipv4_nexthop_lookup) Return value from
232 zsend_ipv4_nexthop_lookup.
233 (zread_ipv4_import_lookup) Return value from zsend_ipv4_import_lookup.
234 (zebra_read_ipv6) Remove unused function.
235 (zread_ipv6_nexthop_lookup) Return value from
236 zsend_ipv6_nexthop_lookup.
237 (zread_router_id_add) Return value from zsend_router_id_update.
238 (zebra_client_close) Call buffer_free(client->wb) and
239 thread_cancel(client->t_suicide).
240 (zebra_client_create) Allocate client->wb using buffer_new.
241 (zebra_client_read) Support non-blocking I/O by using stream_read_try.
242 Use ZEBRA_HEADER_SIZE instead of 3.
243 (zebra_accept) Fix bug: reset accept thread at top. Make client
244 socket non-blocking using the set_nonblocking function.
245 (config_write_forwarding) Fix scope to static.
246 (zebra_init) Remove initialization code for old buggy write buffering.
247 * zserv.h: Add 2 new fields to struct zserv: struct buffer *wb
248 (to enable buffered writes with non-blocking I/), and
249 struct thread *t_suicide to support delayed close on I/O
250 errors.
251 * router-id.h: Remove prototypes for zread_router_id_add and
252 zread_router_id_delete (their scope should be static to zserv.c).
253
ajs27da3982005-02-24 16:06:33 +00002542005-02-24 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
255
256 * redistribute.c: (zebra_check_addr,is_default,
257 zebra_redistribute_default,zebra_redistribute) Fix scope to be static.
258
hassoe8274dc2005-02-20 19:09:23 +00002592005-02-20 Hasso Tepper <hasso at quagga.net>
260
261 * rt_netlink.c: Don't show messages "ignoring message type 0x001[89]"
262 if we are not debugging.
263
paule31f2292005-02-19 02:00:26 +00002642005-02-19 Paul Jakma <paul@dishone.st>
265
266 * zserv.c: (zebra_read_ipv6) replace the char * arithmetic with
267 STREAM_READABLE.
268
paul1e193152005-02-14 23:53:05 +00002692005-02-14 Paul Jakma <paul@dishone.st>
270
271 * Not all Linux netlink systems have IFLA_WIRELESS
272
ajs6a52d0d2005-01-30 18:49:28 +00002732005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
274
275 * ioctl.c: (if_ioctl,if_ioctl_ipv6,if_get_flags) Replace perror with
276 zlog_err.
277 * ioctl_solaris.c: (if_ioctl,if_ioctl_ipv6) Replace perror with
278 zlog_err.
279
ajs4be019d2005-01-29 16:12:41 +00002802005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
281
ajs4460e7a2005-01-29 17:07:40 +0000282 * if_ioctl_solaris.c: (interface_list_ioctl) Save errno before calling
283 zserv_privs.change.
284 * ioctl{,_solaris}.c: (if_ioctl,if_ioctl_ipv6) Save errno before calling
285 zserv_privs.change.
286 * ipforward_solaris.c: (solaris_nd) Save errno before calling
287 zserv_privs.change.
288 * irdp_main.c: (irdp_sock_init) Save errno before calling
289 zserv_privs.change.
290
2912005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
292
ajs4be019d2005-01-29 16:12:41 +0000293 * rt_netlink.c: (netlink_socket,netlink_request,netlink_parse_info,
294 netlink_talk) Save errno before calling zserv_privs.change.
295
paulc15cb242005-01-24 09:05:27 +00002962005-01-24 Martin Pot <mpot at martybugs.net>
297
298 * zebra/rt_netlink.c: ignore wireless newlink netlink messages.
299
hasso6f2c27a2005-01-18 13:44:35 +00003002005-01-18 Hasso Tepper <hasso at quagga.net>
301
302 * interface.c: Better statistics output in "show interface" command in
303 case of /proc being used.
304
hasso583d8002005-01-16 23:34:02 +00003052005-01-17 Hasso Tepper <hasso at quagga.net>
306
307 * main.c: With --nl-bufsize argument is required.
308
paul865b8522005-01-05 08:30:35 +00003092005-01-05 Paul Jakma <paul@dishone.st>
310
311 * zserv.c: (zebra_accept) Comment out setting of socket to NONBLOCK
312 for now, as we dont actually deal with with resending.... See
313 bugzilla #122, fix from wawa@yandex-team.ru (Vladimir Ivanov).
314 * kernel_socket.c: (routing_socket) ditto.
315
ajsb99760a2005-01-04 16:24:43 +00003162005-01-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
317
318 * rtadv.c: (rtadv_recv_packet,rtadv_send_packet) Use ZCMSG_FIRSTHDR
319 instead of CMSG_FIRSTHDR.
320
ajs341a8f12004-12-22 16:32:16 +00003212004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
322
323 * connected.c: (connected_add_ipv4) Limit warning about /32 addresses
324 with no peer specified to PtP interfaces only.
325
hassob8adec12004-12-18 16:03:28 +00003262004-12-18 Hasso Tepper <hasso at quagga.net>
327
328 * zebra_vty.c: Fix "show ipv6 route <proto>" command help and make it
329 work for isis routes.
330
gdt6a250b02004-12-09 14:48:12 +00003312004-12-09 Greg Troxel <gdt@fnord.ir.bbn.com>
332
333 * kernel_socket.c (rtmsg_debug): char * => const char *
334
ajs274a4a42004-12-07 15:39:31 +00003352004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
336
ajsb6178002004-12-07 21:12:56 +0000337 * *.c: Change level of debug messages to LOG_DEBUG.
338
3392004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
340
ajs274a4a42004-12-07 15:39:31 +0000341 * main.c: (main) The 2nd argument to openzlog has been removed.
342 So stdout logging will no longer be enabled by default.
343 * irdp_main.c: (irdp_finish) Reduce severity of shutdown message
344 from LOG_WARNING to LOG_INFO.
345
ajs887c44a2004-12-03 16:36:46 +00003462004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
347
348 * main.c: (sigint) Use zlog_notice for termination message.
349 (main) Add a startup announcement using zlog_notice.
350
hassoaccb1562004-11-25 19:21:07 +00003512004-11-25 Hasso Tepper <hasso at quagga.net>
352
353 * irdp_interface.c: Remove comment from DEFUN, it breaks vtysh because
354 it confuses extract.pl.
hassoc0652302004-11-25 19:33:48 +0000355 * main.c: Make group to run as configurable.
hassoaccb1562004-11-25 19:21:07 +0000356
hasso6bd7c6a2004-10-28 17:32:27 +00003572004-10-28 Hasso Tepper <hasso at quagga.net>
358
359 * interface.c: Remove dead "ip tunnel" command.
360
paul06f953f2004-10-22 17:00:38 +00003612004-10-22 Paul Jakma <paul@dishone.st>
362
363 * irdp_main.c: change setsockopt_pktinfo to setsockopt_ifindex
364
hasso3fb9cd62004-10-19 19:44:43 +00003652004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
366
367 * rt_netlink.c: (netlink_interface_addr) For PtP interfaces, ignore
368 tb[IFA_ADDRESS] if it's the same as tb[IFA_LOCAL].
369 * interface.c: (ip_address_install) Use new ipv4_broadcast_addr
370 function.
371 * connected.c: (connected_up_ipv4) Use CONNECTED_POINTOPOINT_HOST
372 macro.
373 (connected_down_ipv4) ditto.
374 (connected_add_ipv4) Validate destination address, print warnings
375 if it does not make sense.
376
hassoc1eaa442004-10-19 06:26:01 +00003772004-10-19 Hasso Tepper <hasso at quagga.net>
378
379 * zserv.c: Fix regression introduced with zserv cleanup.
380
hassoc75105a2004-10-13 10:33:26 +00003812004-10-13 Hasso Tepper <hasso at quagga.net>
382
383 * zebra_snmp.c: Remove defaults used to initialize smux connection to
384 snmpd. Connection is initialized only if smux peer is configured.
hassob71f00f2004-10-13 12:20:35 +0000385 * zserv.c: Remove useless warnings "forwarding is already on".
hassoc75105a2004-10-13 10:33:26 +0000386
hasso39ff11d2004-10-12 15:55:19 +00003872004-10-12 Hasso Tepper <hasso at quagga.net>
388
389 * zebra_vty.c: Unbreak "show ip route" command help and make it work
390 for isis routes.
hasso39db97e2004-10-12 20:50:58 +0000391 * interface.c(if_dump_vty): Show IPv6 addresses in "show interface"
392 output. Fixes Bugzilla #119.
393 * *.c: Make some strings const and some (unsigned) casts to fix
394 compiler warnings.
hasso39ff11d2004-10-12 15:55:19 +0000395
hassofce954f2004-10-07 20:29:24 +00003962004-10-07 Hasso Tepper <hasso at quagga.net>
397
398 * connected.c, main.c, rt_netlink.c, rtadv.c, zebra_rib.c, zserv.c:
399 Fix warnings: make strings const, signed -> unsigned.
400
paul72164662004-10-05 14:39:43 +00004012004-10-05 Paul Jakma <paul@dishone.st>
402
403 * irdp_packet.c: (parse_irdp_packet) style issues.
404 Use sockopt_iphdrincl_swab_systoh.
405 Try unbork the code. Checksum the ICMP data and actually
406 compare it to received checksum. Check data length against
407 claimed length in header.
408 Always use ntoh.. when accessing addresses, even when the
409 comparison happens to be endian-safe.
410 (send_packet) minor style isues. Use
411 sockopt_iphdrincl_swab_htosys.
412 (irdp_iph_hton/ntoh) IP header to/from network/host order.
413
hassoeef1fe12004-10-03 18:46:08 +00004142004-10-03 Gilad Arnold <gilad.arnold at terayon.com>
415
416 * interface.c, interface.h: A new prefix tree of connected subnets is
417 associated with each interface structure in zebra, in which each
418 live (ie, non-synthetic) node holds a list of installed addresses
419 that belong to that prefix. Remove secondary address logic from cli.
420 See [quagga-dev 872] for detailed explanation.
421 * connected.c: Use if_subnet_add() and if_subnet_delete().
422
hasso18a6dce2004-10-03 18:18:34 +00004232004-10-03 James R. Leu <jleu at mindspring.com>
424
425 * router-id.c, router-id.h: New files. Router id selection process. If
426 there is non 127.x.x.x address in loopack interface, lowest of them
427 is chosen. If there isn't, lowest from other interfaces addresses
428 are chosen. "router-id x.x.x.x" vty command to manual override.
429 * Makefile.am: Compile new files.
430 * main.c: Initialize router id.
431 * redistribute.c: Add interface addresses into router id selection
432 lists as they (dis)appear.
433 * zserv.c, zserv.h: Sending router id related messages to daemons.
434
hassoc9e52be2004-09-26 16:09:34 +00004352004-09-26 Hasso Tepper <hasso at quagga.net>
436
437 * irdp_interface.c, irdp_main.c, irdp_packet.c, rt_netlink.c,
438 rtadv.c, zebra_vty.c: Fix compiler warnings.
439
paul0c0f9112004-09-24 08:24:42 +00004402004-09-24 Paul Jakma <paul@dishone.st>
441
paul26f7a242004-09-24 08:45:10 +0000442 * irdp_interface.c: (no_ip_irdp_address_preference_cmd)
443 add missing listnode declaration.
444
4452004-09-24 Paul Jakma <paul@dishone.st>
446
paul0c0f9112004-09-24 08:24:42 +0000447 * irdp_{interface,main}.c: lists typedef removal cleanup.
448 update some list loops to LIST_LOOP. some miscellaneous style
449 and indent fixups.
450 (no_ip_irdp_address_preference_cmd) Fix delete of referenced node
paul26f7a242004-09-24 08:45:10 +0000451 in loop.
paul0c0f9112004-09-24 08:24:42 +0000452 * irdp_packet.c: (irdp_recvmsg) Fix buggy assignment of integer
453 to pointer.
454 * if_ioctl{,_solaris}.c: lists typedef removal cleanup.
455 update some list loops to LIST_LOOP.
456
hasso52dc7ee2004-09-23 19:18:23 +00004572004-09-23 Hasso Tepper <hasso at quagga.net>
458
459 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
460
paul44983cf2004-09-22 13:15:58 +00004612004-09-22 Paul Jakma <paul.jakma@sun.com>
462
463 * zserv.c: (zsend_route_multipath) fix nasty bad memset of struct
464 in_addr to sizeof(struct in6_addr), causing odd and hard to debug
465 crash.
466
hassoc34b6b52004-08-31 13:41:49 +00004672004-08-31 Hasso Tepper <hasso at quagga.net>
468
469 * main.c, rt_netlink.c: Added -s command line switch for tuning
470 netlink receive buffer size in Linux to avoid buffer overruns.
471
gdta5ea6872004-08-26 13:24:00 +00004722004-08-26 Miles Nordin <carton@Ivy.NET>
473
474 * ipforward_sysctl.c (mib_ipv6): Use size_t for len, per
475 sysctl(3), rather than int. (Needed on NetBSD/alpha to display
476 forwarding status correctly.)
477
paul3e0b3a52004-08-23 18:58:32 +00004782004-08-23 Paul Jakma <paul@dishone.st>
479
480 * zserv.c: (zebra_init) remove implicit ip forward enabling
481
paul0de1cde2004-08-19 04:45:33 +00004822004-08-19 Paul Jakma <paul@dishone.st>
483
484 * irdp_main.c: update to match sockopt renames.
485 * irdp_packet.c: include sockopt.h and update to match sockopt
486 renames.
487
gdt57492d52004-08-11 18:06:38 +00004882004-08-11 Greg Troxel <gdt@fnord.ir.bbn.com>
489
490 * rtadv.c (rtadv_send_packet): Allocate space for control messages
491 more carefully; it was wrong on NetBSD/sparc where CMSG alignment
492 is to 8 bytes instead of 4, and overwriting the address. Use the
493 provided macros for determining lengths.
494
paul5b73a672004-07-23 15:26:14 +00004952004-07-23 Sowmini Varadhan <Sowmini.Varadhan@Sun.COM>
496
497 * if_ioctl_solaris.c: HAVE_IPV6 ifdef fixups
498 * zserv.c: ditto
499 * ioctl_solaris.c: ditto.
500 * interface.c: cast for LLADDR
501 * interface.h: Add guards, include redistribute.h and remove
502 extraneous definitions of zebra_interface_{up,down}_update
503 * ioctl.h: Add AF_IOCTL define for non SOLARIS_IPV6
504 * redistribute.h: include dependent header, zserv.h
505 * zserv.h: include dependent header, rib.h
506
paul1470baf2004-07-23 15:25:01 +00005072004-07-23 Paul Jakma <paul@dishone.st>
508
509 * irdp_main.c: use setsockopt_pktinfo_ipv4
510 * irdp_packet.c: use SOPT_SIZE_CMSG_PKTINFO_IPV4 and
511 getsockopt_pktinfo_ifindex()
512
gdtcced60d2004-07-13 16:45:54 +00005132004-07-13 David Wiggins <dwiggins@bbn.com
514
515 * kernel_socket.c (rtm_flag_dump): terminate buffer with '\0', not '0'.
516
hasso25dac852004-07-13 03:06:51 +00005172004-07-13 Hasso Tepper <hasso@estpak.ee>
518
519 * irdp_main.c: Add privilege change.
520
hasso996933f2004-07-12 16:32:56 +00005212004-07-12 Hasso Tepper <hasso@estpak.ee>
522
523 * irdp_interface.c: follow common style while naming vty command
524 functions. Avoids confusion in extract.pl.
525
gdt87efd642004-06-30 17:36:11 +00005262004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
527
528 * main.c: define thread_master variable so that linking with
529 libzebra.so doesn't fail. Arguably zclient.o should be in a
530 separate library, but this is far less disruptive.
531
hassoca776982004-06-12 14:33:05 +00005322004-06-12 Robert Olsson <Robert.Olsson at data.slu.se>
533
534 * Added IRDP support.
535
hasso3e31cde2004-05-18 11:58:59 +00005362004-05-18 Hasso Tepper <hasso@estpak.ee>
537
538 * rtadv.c: Removed "[no] ipv6 nd send-ra" command. Replaced "ipv6 nd
539 prefix-advertisement" with "ipv6 nd prefix". Rewrite syntax of
540 "ipv6 nd prefix" command to allow various combinations of parameters
541 and flags. No defaults in configuration. Replaced on-link and
542 autoconfig with off-link and no-autoconfig flags in command syntax.
543 Cosmetic fixes in all commands. Documentation to reflect all changes.
544
paul19877dd2004-05-11 10:49:35 +00005452004-05-11 Paul Jakma <paul@dishone.st>
546
547 * Makefile.am: support for IOCTL_METHOD, as per Sowmini's patch.
paul48a46fa2004-05-11 10:55:22 +0000548 * if_ioctl_solaris.c: Fixup some erroneous privilege changes and
549 add privs.h header.
550 * ioctl_solaris.c: ditto
paulc50ae8b2004-05-11 11:31:07 +0000551 * ioctl.h: Add if_ioctl_ipv6 prototype and AF_IOCTL for SOLARIS_IPV6
552 * kernel_socket.c: Fix SAROUNDUP, compiler doesnt like do..while
553 RHS in assignments :)
554 * redistribute.c: (zebra_interface_delete_update) only used
555 if RTM_IFANNOUNCE and NETLINK is available.
556
paulb9df2d22004-05-09 09:09:59 +00005572004-05-09 Paul Jakma <paul@dishone.st>
558
559 * zserv.c: (zsend_route_multipath) Set the nexthop_num
560 field correctly. Add NEXTHOP_TYPE_IPV6_IFNAME for v6.
561 Conditionally set ZAPI_MESSAGE_METRIC flag - only for adds.
562 (zsend_ipv4_add) cruft, deleted.
563 (zsend_ipv4_delete) ditto.
564 (zsend_ipv6_add) ditto.
565 (zsend_ipv6_delete) ditto.
paul44145db2004-05-09 11:00:23 +0000566 * ioctl.c: (if_get_mtu) set mtu6 to mtu
567 * mtu_kvm.c: (if_kvm_get_mtu) set mtu6 to mtu
568 * rt_netlink.c: (netlink_interface) set mtu6 to mtu
569 (netlink_link_change) ditto
paul66e94882004-05-09 17:19:24 +0000570 * ipforward_solaris.c: fix typo of ND variable.
paul88424682004-05-09 18:21:35 +0000571 * if_ioctl_solaris.c: Add zprivs support.
572 * ioctl_solaris.c: ditto.
paul66e94882004-05-09 17:19:24 +0000573
paulb9df2d22004-05-09 09:09:59 +00005742004-05-09 Sowmini Varadhan <sowmini.varadhan@sun.com>
575
576 * zserv.c: (zsend_ipv{4,6}_{add,delete}_multipath) collapsed
577 into single zsend_route_multipath function.
578 (zsend_interface_{up,down}) collapsed into zsend_interface_update.
579 (zsend_interface_address_{add,delete}) collapsed into
580 zsend_interface_address.
581 (zsend_interface_add) send mtu6.
582 (zsend_interface_delete) ditto.
583 (zebra_write) remove unused function.
584 (various) Apply static qualifier. Add comments.
585 * zserv.h: Definitions changed as per above.
586 * redistribute.c: Changes as per zserv.c.
paul44145db2004-05-09 11:00:23 +0000587 * interface.c: (if_delete_update) only used with HAVE_NETLINK
588 and RTM_IFANNOUNCE.
589 (if_flag_dump_vty) Solaris IFF_IPV4 and IFF_IPV6 if flags
590 (if_dump_vty) print mtu6 if not same as mtu
paul88424682004-05-09 18:21:35 +0000591 * if_ioctl_solaris.c: New file, Solaris interface ioctl methods.
592 * ioctl_solaris.c: New file, Common solaris ioctl methods.
593
hasso34195bf2004-04-06 12:07:06 +00005942004-04-06 Krzysztof Oledzki <oleq@ans.pl>
595
596 * rt_netlink.c: Do not ignore metric when reading kernel routing
597 table on Linux with rt_netlink interface.
598
5992004-03-18 Hasso Tepper <hasso@estpak.ee>
hassof1d92e12004-03-18 15:40:33 +0000600
601 * interface.c: Temporary fix for handling secondary addresses
602 with label.
603
hasso55906722004-02-11 22:42:16 +00006042004-02-12 Hasso Tepper <hasso@estpak.ee>
hassof1d92e12004-03-18 15:40:33 +0000605
hasso55906722004-02-11 22:42:16 +0000606 * zserv.c: Added "ipv6 forwarding" command.
607
gdtb27900b2004-01-08 15:44:29 +00006082004-01-08 Greg Troxel <gdt@fnord.ir.bbn.com>
609
610 * kernel_socket.c (kernel_read): Use sockaddr_storage in buffer
611 for reading kernel messages to ensure enough space (necessary on
612 Solaris due to sockaddr_dl being large). Thanks to Sowmini
613 Varadhan for help with this change.
614
gdt9ccabd12004-01-06 18:23:02 +00006152004-01-06 Greg Troxel <gdt@t1.ir.bbn.com>
616
617 * rtadv.c (rtadv_send_packet): Change perror to zlog_err.
618
gdtdbee01f2004-01-06 00:36:51 +00006192004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
gdt4bfbea82004-01-06 01:13:05 +0000620 * kernel_socket.c (ifm_read): Major cleanup. Use Sowmini's code
621 to find the sockaddr_dl in all cases, narrowing the Solaris ifdef
622 to just the accomodation of broken kernels. Check sockaddr_dl
623 carefully up front, and later assume any non-NULL sdl pointer is
624 valid. Clean up types and variable declarations, and rename
625 WRAPUP to SAROUNDUP to make the name fit the behavior.
626
6272004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
gdtdbee01f2004-01-06 00:36:51 +0000628
629 * kernel_socket.c (kernel_read): Add a sockaddr_dl to the ifmsg
630 structure, because on Solaris sockaddr_dl is far larger than the
631 base sockaddr structure. (The code had previously been failing to
632 read all the data.)
gdt4bfbea82004-01-06 01:13:05 +0000633
gdtda26e3b2004-01-05 17:20:59 +00006342004-01-05 Greg Troxel <gdt@ahi.ir.bbn.com>
635
636 * kernel_socket.c (kernel_read): Look up interfaces by index
637 first, so that state changes which do not include a sockaddr_dl
638 now work. Add many sanity checks. In
639 particular, do not assume that a sockaddr_dl follows a message
640 without checking the ifm_addrs flags, and do not trust the length
641 in a sockaddr_dl. Add/clarify many comments.
642
gdt4b5e1352003-12-03 17:54:34 +00006432003-12-03 Greg Troxel <gdt@poblano.ir.bbn.com>
644
645 * rtadv.c: reorder includes to avoid compiler warning (define
646 structs before using them in prototypes)
647
hasso647e4f12003-05-25 11:43:52 +00006482003-05-25 Jim Crumpler <Jim.Crumpler@edion.com>
649
650 * zserv.c: Add "ip forwarding" command.
651
paul445f1432003-05-16 19:00:31 +00006522003-05-16 Gilad Arnold <gilad.arnold@terayon.com>
653
654 * zebra_rib.c: Fix memory leaks for ifname nexthops
655
6562003-04-19 Israel Keys <ikeys@agile.tv>
657
658 * rt_netlink.c: BLOCK on netlink while initialising
659
6602003-02-06 Francois Deppierraz <francois@ctrlaltdel.ch>
661
662 * rt_netlink.c (netlink_route_multipath): Set RTM_F_EQUALIZE when
663 it exists.
664
paul718e3742002-12-13 20:15:29 +00006652002-09-28 Akihiro Mizutani <mizutani@net-chef.net>
666
667 * zebra_rib.c (static_add_ipv4): Null0 static route is added.
668
6692002-09-10 Jochen Friedrich <chris+zebra@scram.de>
670
671 * rt_netlink.c: Add check for EAGAIN.
672 * kernel_socket.c: Likewise
673
6742002-06-12 Israel Keys <ikeys@oz.agile.tv>
675
676 * rt_netlink.c: Setting the NLM_F_ACK flag on the netlink command
677 message so that we get an ACK for successful netlink commands.
678 Change the netlink socket to BLOCKING while we wait for a
679 response; be it an ACK or an NLMSG_ERROR. Change
680 netlink_parse_info to deal with ACK messages.
681
6822001-11-01 Jun-ichiro itojun Hagino <itojun@iijlab.net>
683
684 * rtadv.c (rtadv_make_socket): setsockopt(IPV6_CHECKSUM) does not
685 work for ICMPv6 socket.
686
6872001-10-24 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
688
689 * rib.c (rib_process): Select connected route any case.
690
6912001-10-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
692
693 * interface.c (no_ip_address_secondary): Add "no" to command.
694
6952001-10-18 NOGUCHI Kay <kay@v6.access.co.jp>
696
697 * ioctl.c (if_prefix_add_ipv6): Set the prefered and valid lifetime
698 to infinity as the freebsd4.4 workaroud.
699
7002001-08-26 mihail.balikov@interbgc.com
701
702 * zebra_snmp.c: Fix snmpwalk problem such as IPv4 address
703 A.B.C.255.
704
7052001-08-22 NOGUCHI Kay <kay@v6.access.co.jp>
706
707 * rtadv.c: Do not send RA to loopback interface.
708
7092001-08-20 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
710
711 * ioctl.c (if_set_prefix): Remove Linux 2.0 specific connected
712 route treatment.
713
7142001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
715
716 * zebra-0.92a released.
717
7182001-08-17 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
719
720 * rib.c: Kernel route is treated as EGP routes in nexthop active
721 check.
722
7232001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
724
725 * zebra-0.92 released.
726
7272001-08-08 "Akihiro Mizutani" <mizutani@dml.com>
728
729 * rib.c (show_ip_route_prefix_longer): Add longer-prefix option to
730 show route commands.
731
7322001-07-29 Yon Uriarte <havanna_moon@gmx.net>
733
734 * zserv.c (zsend_ipv4_add_multipath): Add
735 NEXTHOP_TYPE_IPV4_IFINDEX check.
736
7372001-07-29 NOGUCHI Kay <kay@v6.access.co.jp>
738
739 * rtadv.c: Apply valid lifetime, preferred lifetime, onilnk flag,
740 autonomous address-configuration flag patch.
741 (no_ipv6_nd_suppress_ra): Change "ipv6 nd send-ra" to "no ipv6 nd
742 suppress-ra".
743
7442001-07-24 NOGUCHI Kay <kay@v6.access.co.jp>
745
746 * rtadv.c (ipv6_nd_ra_interval): Add "ipv6 nd ra-interval SECONDS"
747 command.
748
7492001-07-24 Jun-ichiro itojun Hagino <itojun@iijlab.net>
750
751 * rt_socket.c (kernel_rtm_ipv4): Add KAME/NetBSD151 equal cost
752 multicast FIB support both IPv4 and IPv6.
753
7542001-07-24 Hal Snyder <hal@vailsys.com>
755
756 * if_ioctl.c (interface_list_ioctl): Fix bug of failing to get the
757 full list of interfaces on some configurations of OpenBSD.
758
7592001-07-23 NOGUCHI Kay <kay@v6.access.co.jp>
760
761 * rtadv.c (ipv6_nd_send_ra): Apply [zebra 9320] to fix "ipv6 nd
762 send-ra" bug.
763 (ipv6_nd_ra_lifetime): "ipv6 nd ra-lifetime 0" for default router
764 availability.
765 (ipv6_nd_managed_config_flag): "ipv6 nd managed-config-flag" is
766 added.
767 (ipv6_nd_other_config_flag): "ipv6 nd other-config-flag" is added.
768
7692001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
770
771 * ioctl.c (if_ioctl): Change ioctl argument from int to u_long.
772
773 * rt_ioctl.c: Likewise.
774
7752001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
776
777 * kernel_socket.c (rtm_write): Only set RTF_CLONING when the
778 interface is not p2p.
779
7802001-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
781
782 * ioctl.c (if_prefix_add_ipv6): Fix argument type.
783
7842001-04-06 Toshiaki Takada <takada@zebra.org>
785
786 * zserv.c (zsend_interface_delete): Use client->obuf instead of
787 allocating new stream.
788
7892001-03-10 Kunihiro Ishiguro <kunihiro@zebra.org>
790
791 * rt_netlink.c: Revert RTPROT_BOOT change.
792
7932001-03-08 Kunihiro Ishiguro <kunihiro@zebra.org>
794
795 * rt_netlink.c (netlink_route_change): Skip RTPROT_BOOT route.
796 (netlink_routing_table): Likewise.
797
7982001-03-07 "Akihiro Mizutani" <mizutani@dml.com>
799
800 * zserv.c (zsend_ipv4_add_multipath): Send metric value to
801 protocol daemons.
802
8032001-02-18 Kunihiro Ishiguro <kunihiro@zebra.org>
804
805 * rt_netlink.c (netlink_routing_table): Do not return
806 tb[RTA_GATEWAY] is NULL. Reported by: "Michael O'Keefe"
807 <mokeefe@qualcomm.com>.
808
8092001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
810
811 * if_ioctl.c (interface_list_ioctl): Call if_add_update().
812 Suggested by: Chris Dunlop <chris@onthe.net.au>.
813
8142001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
815
816 * rib.c (nexthop_active_ipv4): When nexthop type is
817 NEXTHOP_TYPE_IPV4_IFINDEX, propery set the ifindex to rifindex.
818
819 * zserv.c: Initialize rtm_table_default with 0.
820
821 * zebra-0.91 is released.
822
8232001-01-31 Kunihiro Ishiguro <kunihiro@zebra.org>
824
825 * kernel_socket.c (rtm_read): Filter cloned route. Suggested by:
826 Jun-ichiro itojun Hagino <itojun@iijlab.net>
827
8282001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
829
830 * connected.c (connected_up_ipv6): When point-to-point destination
831 address is ::, use local address for connected network.
832 (connected_down_ipv6): Likewise.
833
8342001-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
835
836 * zserv.c (zebra_serv): Add missing close() call. Reported by:
837 David Waitzman <djw@vineyard.net>.
838
8392001-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
840
841 * rib.c (rib_lookup_ipv4): New function for checking exact match
842 IGP route.
843
8442001-01-23 Kunihiro Ishiguro <kunihiro@zebra.org>
845
846 * rib.c (show_ipv6_route_protocol): Fix bug of "show ip route
847 route-type".
848
8492001-01-22 Kunihiro Ishiguro <kunihiro@zebra.org>
850
851 * interface.c (zebra_interface): Do not call
852 zebra_interface_add_update for inactive interface.
853
854 * zserv.c (zsend_interface_address_add): Send interface address
855 flag.
856 (zsend_interface_address_delete): Likewise.
857
8582001-01-19 Kunihiro Ishiguro <kunihiro@zebra.org>
859
860 * interface.c (if_addr_add): Add flags.
861
862 * connected.c (ifa_add_ipv4): Add new function for interface
863 address handling.
864 (ifa_delete_ipv4): Likewise.
865
8662001-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
867
868 * rib.c (rib_update): Update IPv6 RIB.
869
870 * kernel_socket.c (ifam_read): Call if_refresh() for update
871 interface flag status. This is for implicit interface up on *BSD.
872
873 * interface.c (if_refresh): Add interface flag refresh function.
874
875 * kernel_socket.c (rtm_read): Fetch link-local address interface
876 index.
877 (ifan_read): We need to fetch interface information. Suggested
878 by: Yasuhiro Ohara <yasu@sfc.wide.ad.jp>.
879
880 * rib.c (static_ipv6_nexthop_same): Add check for
881 NEXTHOP_TYPE_IPV6_IFNAME.
882
8832001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
884
885 * rib.h (NEW_RIB): Turn on NEW_RIB flag. IPv6 new RIB code are
886 taken into place.
887
8882001-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
889
890 * rib.c (static_ipv6_write): Display STATIC_IPV6_GATEWAY_IFNAME
891 configuration.
892 (rib_delete_ipv6): Handle same route conter for IPv6 connected
893 route.
894 (show_ipv6_route_protocol): New command.
895 (show_ipv6_route_addr): Likewise.
896 (show_ipv6_route_prefix): Likewise.
897 (rib_update): Sweep kernel route when it is cleaned up.
898
899 * rt_socket.c (kernel_add_ipv6): Add NEXTHOP_IPV6_IFNAME
900 treatmenet.
901
902 * rt_netlink.c (kernel_init): Likewise.
903
904 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): Likewise.
905
906 * rib.c (rib_add_ipv4): Cope with same connected route on a
907 interface. Suggested by: Matthew Grant <grantma@anathoth.gen.nz>.
908 (nexthop_ipv6_ifname_add): Add NEXTHOP_IPV6_IFNAME treatmenet.
909
910 * rib.h (struct new_rib): Add refcnt to keep track on the
911 reference of same connected route.
912
913 * ioctl.c (if_set_prefix): Add check for GNU_LINUX.
914
9152001-01-13 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
916
917 * kernel_socket.c (ifan_read, rtm_type_str): Add RTM_OIFINFO check.
918 (rtm_type_str): Add RTM_IFANNOUNCE check.
919 (ifan_read): New function.
920 (kernel_read): Add case for RTM_IFANNOUNCE.
921
9222001-01-13 Kunihiro Ishiguro <kunihiro@zebra.org>
923
924 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): New function.
925
926 * rt_netlink.c (netlink_route_multipath): IPv6 address ifindex
927 treatment.
928
929 * connected.c (connected_up_ipv6): Add dest value check.
930
931 * rib.c (nexthop_active_ipv6): Do not touch IPv6 nexthop's
932 ifindex.
933 (rib_add_ipv4): Import rib_add_ipv6() same route check code.
934 (nexthop_active_check): NEXTHOP_TYPE_IPV6_IFINDEX activity is only
935 checked by ifindex.
936
937 * rt_socket.c (kernel_rtm_ipv6_multipath): New function.
938
939 * redistribute.c (redistribute_add): Use
940 zsend_ipv6_add_multipath().
941 (redistribute_delete_multipath): Use
942 zsend_ipv6_delete_multipath().
943
944 * interface.c (ip_address): Check current IP address to avoid
945 duplicate.
946
947 * rib.c (rib_delete_ipv4): When deleted route is connected route,
948 check ifindex.
949 (rib_add_ipv4): When connected route is added do not perform
950 implicit withdraw.
951 (rib_delete_ipv4): Check ifindex for connected route.
952
953 * kernel_socket.c (rtm_read): When route has RTF_STATIC, set
954 ZEBRA_FLAG_STATIC for indicate as persistent route.
955 (ifam_read): Unset interface index from link-local address when
956 IPv6 stack is KAME.
957
958 * rib.c (rib_update): Do not delete persistent kernel route.
959
960 * rib.h (struct new_rib): Integrate RIB_FLAG_* to ZEBRA_FLAG_*.
961
962 * rt_socket.c (kernel_add_ipv6_multipath): Add placeholder.
963 (kernel_delete_ipv6_multipath): Likewise.
964
965 * rt_netlink.c (netlink_talk): Give struct nlsock to netlink_talk.
966
9672001-01-12 Kunihiro Ishiguro <kunihiro@zebra.org>
968
969 * rib.c (rib_update): Revert Matthew Grant's patch
970 zebra_cvs_newribfix.patch. Use struct rib->ifindex for kernel
971 interface index. Introduce NEXTHOP_TYPE_IPV4_IFINDEX to support
972 that. Add support for address deletion situation.
973
9742001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
975
976 * interface.c: Remove HAVE_IF_PSEUDO part.
977
978 * rib.h: Likewise.
979
980 * rt_netlink.c (netlink_link_change): Likewise.
981
9822001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
983
984 * zserv.c: Remove OLD_RIB codes.
985
9862001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
987
988 * zebra-0.90 is released.
989
9902001-01-09 Matthew Grant <grantma@anathoth.gen.nz>
991
992 * interface.c (if_new_intern_ifindex): Allocate a new internal
993 interface index.
994 (if_addr_refresh): Fix up ip addresses configured via zebra.
995 (if_add_update): Handle an interface addition.
996 (if_delete_update): Handle an interface delete event.
997
998 * rib.c (nexthop_ipv4_add): Add kernel route deletion process when
999 interface goes down.
1000
10012001-01-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1002
1003 * interface.c (if_dump_vty): When HAVE_NET_RT_IFLIST is defined,
1004 NetBSD also use this function. Suggested by Jasper Wallace
1005 <jasper@ivision.co.uk>.
1006
10072001-01-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1008
1009 * rib.c (nexthop_active_ipv4): Move back to set methodo to old
1010 one.
1011
10122001-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1013
1014 * rib.c (rib_add_ipv4): EBGP multihop set ZEBRA_FLAG_INTERNAL
1015 flag, so treat it.
1016
10172001-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1018
1019 * rt_netlink.c (netlink_talk_ipv6): When IPv6 route message is
1020 sent from netlink_cmd, the same message comes from netlink. To
1021 avoid confusion, temporary netlink_talk_ipv6 use netlink.sock
1022 instead of netlink_cmd.sock.
1023
10242001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1025
1026 * zserv.h (ZEBRA_SERV_PATH): Change "/tmp/zebra" to "/tmp/.zebra".
1027 Change "/tmp/zserv" to "/tmp/.zserv".
1028
10292000-12-29 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
1030
1031 * rt_netlink.c (struct nlsock): Divide kernel message into listen
1032 socket and command socket.
1033 (netlink_talk): Remove socket listen code. Use netlink_parse_info
1034 for read kernel response.
1035
10362000-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1037
1038 * rib.c (vty_show_ip_route): Show uptime of the RIP,OSPF,BGP
1039 routes.
1040
10412000-12-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1042
1043 * rt_netlink.c (netlink_route_multipath): Metric value is
1044 reflected to kernel routing table.
1045
1046 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Likewise.
1047
1048 * kernel_socket.c (rtm_write): Likewise.
1049
1050 * rib.c (nexthop_active_ipv4): Only iBGP route perform recursive
1051 nexthop lookup.
1052
1053 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Add ioctl version of
1054 new RIB implementation.
1055
10562000-12-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1057
1058 * rib.h: Remove MULTIPATH_NUM. It is defined by configure script.
1059
10602000-12-25 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1061
1062 * rib.c (rib_if_up): Call rib_fib_set instead of RIB_FIB_SET for
1063 proper redistribution.
1064
10652000-12-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1066
1067 * rib.c (nexthop_active_ipv4): Add self lookup nexthop check.
1068 (show_ip_route_protocol): Support new RIB.
1069
1070 * rt_netlink.c (netlink_route_change): Do not return when gate is
1071 NULL.
1072
10732000-12-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1074
1075 * rib.c (rib_lookup_ipv4_nexthop): IBGP nexthop check function is
1076 updated.
1077 (rib_add_ipv4): Free implicit withdraw route's RIB.
1078
10792000-12-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1080
1081 * rib.c (nexthop_active_ipv4): Check indirect nexthop.
1082
1083 * redistribute.c (redistribute_add_multipath): Redistribution
1084 works with new rib code.
1085
10862000-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1087
1088 * rt_netlink.c (netlink_route_multipath): Check useful nexthop
1089 number.
1090 (netlink_route_multipath): Clear rtnh_flags and rtnh_hops.
1091
1092 * rib.c (nexthop_active_update): Set flag for the rib's nexthop
1093 activity is changed.
1094 (nexthop_active_check): Before checking interface is up, make it
1095 sure the interface exist.
1096
10972000-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1098
1099 * rib.c (ip_route): New RIB prototype.
1100
11012000-11-16 Yon Uriarte <ukl2@rz.uni-karlsruhe.de>
1102
1103 * zserv.c (zsend_interface_add): Send hardware address when
1104 hw_addr_len is greater than 0.
1105
11062000-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1107
1108 * connected.c (connected_up_ipv4): Fix ptop bug. The destination
1109 network should be installed into routing table.
1110 (connected_down_ipv4): Likewise.
1111 (connected_add_ipv4): Change to use connected_up_ipv4.
1112 (connected_delete_ipv4): Likewise.
1113
11142000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1115
1116 * rt_netlink.c (netlink_interface_addr): Revert Harald Welte
1117 <laforge@gnumonks.org>'s ptop patch then back to original code to
1118 avoid duplicated connected route problem. Suggested by Frank van
1119 Maarseveen <F.vanMaarseveen@inter.NL.net>.
1120
1121 * kernel_socket.c (rtm_read): Make behavior consistent even #ifdef
1122 DEBUG is defined. Reported by Jun-ichiro itojun Hagino
1123 <itojun@iijlab.net>.
1124
11252000-10-23 Jochen Friedrich <jochen@scram.de>
1126
1127 * main.c (main): Call zebra_snmp_init() when it is enabled.
1128
11292000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1130
1131 * zserv.c (zebra_serv_un): UNIX domain socket server of zebra
1132 protocol.
1133
11342000-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1135
1136 * rib.c (rib_add_ipv4): Same check bug is fixed.
1137
11382000-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1139
1140 * rib.c (rib_if_down): Remove kernel route when the interface goes
1141 down.
1142
1143 * debug.c: New command "debug zebra kernel" is added.
1144
11452000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1146
1147 * zebra-0.89 is released.
1148
11492000-09-24 Harald Welte <laforge@gnumonks.org>
1150
1151 * rt_netlink.c (netlink_interface_addr): Fix point-to-point address
1152 treatment in netlink interface.
1153
11542000-09-21 David Lipovkov <dlipovkov@OpticalAccess.com>
1155
1156 * rib.c (rib_if_down): Pull static route only. Protocol daemon
1157 must withdraw routes when interface goes down.
1158 (rib_add_ipv4): Check nexthop when replace route.
1159
11602000-09-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1161
1162 * if_ioctl.c (if_getaddrs): New function for looking up
1163 interface's address by getifaddrs().
1164
11652000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1166
1167 * connected.c (connected_delete_ipv4): Add check for connected
1168 address is found or not.
1169 (connected_add_ipv6): Reflect IPv6 connected address change to
1170 protocol daemons.
1171 (connected_delete_ipv6): Likewise.
1172
11732000-09-07 David Lipovkov <davidl@nbase.co.il>
1174
1175 * rib.c (rib_delete_ipv4): Reverted the change from pseudo
1176 interface patch to original. Because ospfd deletes routes using
1177 zero ifindex.
1178
11792000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1180
1181 * zebra-0.88 is released.
1182
11832000-08-15 "Akihiro Mizutani" <mizutani@dml.com>
1184
1185 * rib.c (show_ip_route_protocol): Help string correction.
1186 (show_ip_route_prefix): Check prefix mask.
1187 (show_ip_route_vty_detail): Display distance and metric.
1188
11892000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1190
1191 * zserv.c (zsend_interface_add): Change ifindex store size from
1192 two octet to four.
1193 (zsend_interface_delete): Likewise.
1194 (zsend_interface_address_add): Likewise.
1195 (zsend_interface_address_delete): Likewise.
1196 (zsend_interface_up): Likewise.
1197 (zsend_interface_down): Likewise.
1198
11992000-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1200
1201 * rib.c (rib_add_ipv4): Do not install distance 255 route.
1202
12032000-08-10 Toshiaki Takada <takada@zebra.org>
1204
1205 * interface.c (bandwidth_if), (no_bandwidth_if): Call
1206 zebra_interface_up_update () instead of using if_up() and if_down().
1207
12082000-08-07 "Akihiro Mizutani" <mizutani@dml.com>
1209
1210 * interface.c (bandwidth_if): Fix help string.
1211
12122000-08-07 Matthew Grant <grantma@anathoth.gen.nz>
1213
1214 * interface.c (if_dump_vty): Display bandwidth value.
1215 (bandwidth_if): New command "bandwidth <1-10000000>" is added.
1216 When interface is up, force protocol daemons to recalculate routes
1217 due to cost change.
1218 (no_bandwidth_if): Likewise.
1219 (if_config_write): Output bandwidth configuration.
1220
1221 * zserv.c (zsend_interface_add): Send bandwidth value.
1222 (zsend_interface_up): Likewise.
1223 (zsend_interface_down): Likewise.
1224
1225
12262000-08-07 Michael Rozhavsky <mike@nbase.co.il>
1227
1228 * rib.c (show_ip_route_protocol): "show ip route
1229 (bgp|connected|kernel|ospf|rip|static)" is added.
1230
12312000-08-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1232
1233 * rib.c (rib_lookup_ipv4_nexthop): Check parent node until IGP
1234 nexthop is found.
1235 (rib_add_ipv4_internal): Set fib ifindex to rib ifindex.
1236
12372000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1238
1239 * redistribute.c (redistribute_delete): Fix bug of default route
1240 redistribute treatment.
1241
12422000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1243
1244 * rib.c (rib_init): Install ip_node in rib.c instead of zserv.c.
1245 Change default distance value.
1246
1247 Old New
1248 ------------------------------------------
1249 system 10 0
1250 kernel 20 0
1251 connected 30 0
1252 static 40 1
1253 rip 50 120
1254 ripng 50 120
1255 ospf 60 110
1256 ospf6 49 110
1257 bgp 70 200(iBGP) 20(eBGP)
1258 ------------------------------------------
1259
1260 * zserv.c (client_lookup): Function removed.
1261 (zsend_interface_add): Use client's output buffer. Check ifinfo
1262 flag.
1263 (zsend_interface_delete): Likewise.
1264 Delete ipv4_static_radix and ipv6_static_radix.
1265
12662000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1267
1268 * zserv.h (struct zebra_client): When client request interface
1269 information, ifinfo is set.
1270
1271 * rib.c: Temporary Revert changes for pseudo interface.
1272
1273 * rib.h: Likewise.
1274
1275 * zserv.c: Likewise.
1276
1277 * interface.c: Likewise.
1278
12792000-08-02 David Lipovkov <davidl@nbase.co.il>
1280
1281 * interface.c (zebra_if_init): Install interface "pseudo"
1282 commands.
1283
1284 * rib.c (rib_create): ifname argument is added.
1285 (rib_add_ipv4_pseudo): New function is added.
1286 (rib_delete_ipv4_pseudo): Likewise.
1287
1288 * rib.h : Delete INTERFACE_UNKNOWN definition. Add prototype for
1289 pseudo interface functions.
1290
1291 * rt_netlink.c (netlink_link_change): Check for pseudo interface.
1292
1293 * zserv.c (ip_route): When destination is pseudo interface, call
1294 rib_add_ipv4_pseudo().
1295
1296 * zserv.c (no_ip_route): Trim "unknown" argument.
1297
12982000-07-26 kunitake@dti.ad.jp
1299
1300 * if_ioctl.c (if_get_hwaddr): Fix hardware address length from 8
1301 to 6.
1302
1303 * rtadv.c (rtadv_send_packet): Fix shift bug for hardware address.
1304
13052000-07-24 Akihiro Mizutani <mizutani@dml.com>
1306
1307 * interface.c: Use install_default() for common VTY commands.
1308
13092000-07-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1310
1311 * if_ioctl.c (interface_list_ioctl): A interface list size is
1312 calculated from ifreq->if_addr.sa_len. This is for OpenBSD.
1313
1314 * ioctl.c (if_get_mtu): Remove codes for SIOCGIFDATA.
1315
13162000-07-09 Chris Dunlop <chris@onthe.net.au>
1317
1318 * if_ioctl.c (if_get_index): Add check for HAVE_BROKEN_ALIASES.
1319
13202000-07-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1321
1322 * zserv.c (zebra_client_read): Add ZEBRA_REDISTRIBUTE_{ADD,DELETE}
1323 message handling.
1324
13252000-07-02 David Lipovkov <davidl@nbase.co.il>
1326
1327 * zserv.c: "ip route A.B.C.D/M unknown" command is added.
1328
13292000-06-28 Michael Rozhavsky <mike@nbase.co.il>
1330
1331 * rib.c: Remove old kernel route when new route comes in.
1332
13332000-06-13 David Lipovkov <davidl@nbase.co.il>
1334
1335 * rib.c (rib_if_up): Add check for unknown interface.
1336
13372000-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1338
1339 * rib.h: Define INTERFACE_UNKNOWN.
1340
13412000-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1342
1343 * Makefile.am (EXTRA_DIST): Move irdp.c until implementation is
1344 finished.
1345
13462000-06-05 David Lipovkov <davidl@nbase.co.il>
1347
1348 * interface.c (if_zebra_delete_hook): Call rib_if_delete().
1349
1350 * redistribute.c (zebra_interface_delete_update): New function.
1351
1352 * redistribute.h (zebra_interface_delete_update): New function
1353 prototype.
1354
1355 * rib.c (rib_if_delete): New function. Walk down all routes and
1356 delete all on the interface.
1357
1358 * rib.h: New function prototype.
1359
1360 * rt_netlink.c (netlink_link_change): Call
1361 zebra_interface_delete_update ().
1362
13632000-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1364
1365 * if_ioctl.c (interface_info_ioctl): Check interface's flag before
1366 checking interface's address.
1367
13682000-04-26 Jochen Friedrich <jochen@nwe.de>
1369
1370 * GNOME-PRODUCT-ZEBRA-MIB: New file.
1371
1372 * GNOME-SMI: New file.
1373
13742000-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1375
1376 * irdp.c: New file from 1997 development code.
1377 * irdp.h: Likewise.
1378
13792000-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1380
1381 * rtadv.c (rtadv_send_packet): Enclose router advertisement
1382 logging with IS_ZEBRA_DEBUG_PACKET.
1383
13842000-04-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1385
1386 * zserv.c (zebra_client_close): Remove client structure from
1387 client_list when connection is terminated.
1388
13892000-03-21 David Lipovkov <davidl@nbase.co.il>
1390
1391 * connected.c (connected_add_ipv4): Allows all necessary structure
1392 updates for connected route, but doesn't insert it into rib if
1393 it's interface is down.
1394
13952000-01-21 Hideto Yamakawa <hideto.yamakawa@soliton.co.jp>
1396
1397 * rtread_getmsg.c: Set some definition for Solaris 2.5 and Solaris
1398 2.5.1.
1399
14002000-01-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1401
1402 * rib.c (no_ipv6_route_ifname): Fix buf of cheking return value
1403 from str2prefix_ipv6().
1404
14052000-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1406
1407 * rt_socket.c: Revert to use RTF_HOST for IPv4 with /32 route and
1408 IPv6 with /128 routes.
1409 (kernel_rtm_ipv4): In case of /32 route's gateway is interface. It
1410 should have mask for cloning.
1411
14121999-12-26 Jochen.Friedrich@genorz.de
1413
1414 * interface.c (if_dump_vty): Fix a bug of missing VTY_NEWLINE.
1415
14161999-12-23 Alex Zinin <zinin@amt.ru>
1417 * interface.*: dynamic int up/down support
1418
14191999-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1420
1421 * ipforward_proc.c (dropline): Move dropline() from lib/dropline.c
1422
1423 * rtread_proc.c (proc_route_read): Don't use dropline().
1424
14251999-12-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1426
1427 * kernel_socket.c (rtm_read): When message is RTM_GET, it has own
1428 process's pid.
1429
14301999-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1431
1432 * main.c (main): Change to default log output to ZLOG_STDOUT.
1433
1434 * zserv.c (zebra_serv): More detailed error print.
1435
14361999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1437
1438 * kernel_socket.c (rtm_read): Check old pid for static route
1439 insertion check.
1440
14411999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1442
1443 * interface.c (if_dump_vty): BSDI/OS uses 64bit for interface
1444 statistics counter.
1445
1446 * mtu_kvm.c: New file added.
1447
14481999-11-27 Vladimir B. Grebenschikov <vova@express.ru>
1449
1450 * kernel_socket.c (rtm_write): Set RTF_CLONING flag for
1451 route to the directly connected interface.
1452
14531999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1454
1455 * rt_socket.c: Delete USE_HOST_BIT definition.
1456
14571999-11-21 Michael Handler <handler@sub-rosa.com>
1458
1459 * rtread_getmsg.c: Undef some definition to resolve conflict.
1460
14611999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1462
1463 * kernel_socket.c (rtm_write): Change to use pre stored struct_dl
1464 value for gateway specification.
1465
14661999-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1467
1468 * rt_socket.c (kernel_rtm_ipv4): Even mask is 32 under IPv4 or
1469 128 under IPv6, don't use RTF_HOST.
1470
14711999-11-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1472
1473 * Makefile.am (EXTRA_DIST): Add rtread_getmsg.c.
1474
14751999-11-21 Michael Handler <handler@sub-rosa.com>
1476
1477 * rtread_getmsg.c: Added for Solaris 2.6 support.
1478
14791999-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1480
1481 * rtread_sysctl.c (rtm_read_route): RTM_DELETE handling added.
1482
1483 * rt_socket.c (kernel_read): Better BSD routing socket support.
1484
14851999-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1486
1487 * client_main.c: Disable making obsolete zebra test `client'
1488 command.
1489
14901999-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1491
1492 * zebra.c: Renamed to zserv.c.
1493
1494 * zebra.h: Global definitions are moved to lib/zebra.h. Then
1495 renamed to zserv.h.
1496
14971999-10-15 Jordan Mendelson <jordy@wserv.com>
1498
1499 * if_ioctl.c: Add Linux 2.2.X's alias support and dynamic
1500 interface. Remove ugly MAX_INTERFACE handling codes.
1501
15021999-09-17 Satosi KOBAYASI <kobayasi@north.ad.jp>
1503
1504 * Fix serious bug of IPv6 route deletion.
1505
15061999-09-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1507
1508 * ioctl.c (if_set_prefix): Properly set broadcast address.
1509
15101999-09-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1511
1512 * rib.c (rib_add_ipv6, rib_delete_ipv6): now protocol daemons
1513 can install connected route to kernel via zebra
1514
15151999-08-24 VOP <vop@unity.net>
1516
1517 * rib.c: Include "sockunion.h"
1518
15191999-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
1520
1521 * ipforward.h: New file.
1522
1523 * zebra.h: Obsolete message ZEBRA_GET_ALL_INTERFACE,
1524 ZEBRA_GET_ONE_INTERFACE, ZEBRA_GET_HOSTINFO are deleted.
1525
15261999-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1527
1528 * zebra.h (ZEBRA_INTERFACE_ADDRESS_ADD):
1529 ZEBRA_INTERFACE_{ADD,DELETE} added.
1530
15311999-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1532
1533 * rib.c: show ip route A.B.C.D works.
1534
1535 * zebra.c (zebra_read_ipv4): Add ifindex to zebra messages.
1536
15371999-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1538
1539 * zebra.h: New Zebra message ZEBRA_INTERFACE_{ADD,DELETE} added.
1540
15411999-08-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1542
1543 * interface.h: New file.
1544 * Makefile.am: Add interface.h
1545
15461999-08-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1547
1548 * redistribute.c (zebra_redistribute): give ifindex to client.
1549
15501999-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1551
1552 * main.c (longopts): -k, --keep_kernel option added.
1553
15541999-07-18 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1555
1556 * rt_socket.c (rtm_write): forgot closing socket bug fixed.
1557
15581999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1559
1560 * rib.c (show_ipv6_cmd): if rib is link show interface name.
1561
15621999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1563
1564 * rt_socket.c (rtm_write): use sockaddr_dl when null gateway.
1565
15661999-07-16 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1567
1568 * rt_socket.c (rtm_write): ipv6 route table bug fixed.
1569
15701999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1571
1572 * zebra.c (zebra_read_ipv6): read link prefix from ospf6 support
1573
15741999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1575
1576 * rt_socket.c (kernel_rtm_ipv6): gate treatment bug fixed.
1577
15781999-07-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1579
1580 * if_sysctl.c (ifm_read): Clear sockunion argument before fetching
1581 data. Suggested by "Chris P. Ross" <cross@eng.us.uu.net>
1582
15831999-07-08 HEO SeonMeyong <seirios@Matrix.IRI.Co.Jp>
1584
1585 * interface.c (if_tun_add): Add KAME's gif tunnel setting codes.
1586
15871999-06-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1588
1589 * zebra.c (zebra_serv): Only accept loopback address connection.
1590
15911999-06-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1592
1593 * zebra.h (ZEBRA_ROUTE_EXTERNAL): Add zebra messages flags
1594
15951999-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1596
1597 * ipforward_proc.c: ipforward_on () and ipforward_off () added.
1598
15991999-06-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1600
1601 * ipforward_proc.c (ipforward_ipv6): Check for IPv6 forwarding
1602 using /proc file system is added.
1603
16041999-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1605
1606 * if_ioctl.c (if_get_index): Interface index set bug is fixed by
1607 adding #else at the middle of function. Suggested by David Luyer
1608 <luyer@ucs.uwa.edu.au>.
1609
16101999-05-29 <kunihiro@zebra.org>
1611
1612 * rt_ioctl.c: Comment out #include <linux/ipv6_route.h>.
1613
16141999-05-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1615
1616 * zebra.h (ZEBRA_ROUTE_MAX): Add new define for the max value of
1617 the sort of routes.
1618
16191999-05-25 Patrick Koppen <koppen@rhrk.uni-kl.de>
1620
1621 * rt_netlink.c (netlink_socket): Make netlink socket non-blocking.
1622 (netlink_parse_info): If errno is EWOULDBLOCK then continue to
1623 parse the message.
1624 (netlink_talk): Likewise
1625
16261999-05-17 <kunihiro@zebra.org>
1627
1628 * redistribute.c (zebra_check_addr): Added for loopback address
1629 check.
1630
16311999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1632
1633 * rt_netlink.c (netlink_route_change): Tempolary bypass ipv6 route
1634 change treatment.
1635
1636 * Makefile.am (noinst_HEADERS): redistribute.h added.
1637
1638 * redistribute.h: New file.
1639
16401999-05-14 Stephen R. van den Berg <srb@cuci.nl>
1641
1642 * zebra.c (show_table): Show all table configuration DEFUN.
1643 (config_table): Config table number DEFUN.
1644
1645 * rt_netlink.c: Add support for multiple routing table.
1646
1647 * rib.c (rib_weed_table): New function added for delete all
1648 routes from specified routing table.
1649
1650 * main.c (signal_init): SIGTERM call sigint.
1651 (sigint): Loggging more better message.
1652
16531999-05-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1654
1655 * rt_netlink.c: Change log () to zlog ().
1656
16571999-05-07 <kunihiro@zebra.org>
1658
1659 * zebra.h (ZEBRA_ROUTE_OSPF6): Added for ospf6d route.
1660
16611999-04-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1662
1663 * interface.c: Add `no ip address' command.
1664
16651999-04-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1666
1667 * rt_netlink.c (kernel_read): Function added for asynchronous
1668 zebra between kernel communication.
1669
16701999-03-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1671
1672 * rtread_sysctl.c (rtm_read): Fix address memcopy overrun bug.
1673 Reported by Achim Patzner <ap@bnc.net>.
1674
16751999-03-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1676
1677 * Makefile.am: Install configuration sample with 600 permission.
1678
16791999-03-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1680
1681 * Makefile.am: Add -I.. to INCLUDES.
1682
16831999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
1684
1685 * syslog support added
1686
16871999-02-17 Peter Galbavy <Peter.Galbavy@knowledge.com>
1688
1689 * if_sysctl.c (interface_list): allocated memory free when unknown
1690 ifm_type is returned.
1691
1692 * ioctl.c (if_get_mtu): added SIOCGIFDATA treatment.
1693
16941998-12-15 Magnus Ahltorp <map@stacken.kth.se>
1695
1696 * interface.c: Header include added.
1697
16981998-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1699
1700 * rt.h (kernel_delete_ipv6): change int index to unsigned int index.
1701
17021998-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1703
1704 * if_ioctl.c (interface_list_ioctl): interface flag must be
1705 checked before check addresses of the interface.
1706
17071998-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1708
1709 * Makefile.am (INCLUDES): add @INCLUDES@ for Linux IPv6.
1710
17111998-10-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1712
1713 * ioctl.c: Linux version before 2.1.0 need interface route setup.
1714
17151998-09-15 HEO SeonMeyong <seirios@matrix.iri.co.jp>
1716
1717 * change HYDRANGEA to KAME
1718
17191998-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1720
1721 * if_ioctl.c (if_addr_ioctl): set address family for getting
1722 interface's address.
1723 (if_get_index): silently return when can't get interface's index.
1724
17251998-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1726
1727 * main.c (main): batch mode option '-b' added.
1728
17291998-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1730
1731 * ioctl.c (if_set_prefix): add `ip address IPV4ADDR' command.
1732 * interface.c (shutdown_if): add interface shutdown and no
1733 shutdown command.
1734
17351998-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1736
1737 * rib.c (rib_add_ipv6): delete rib_add_in6.
1738
17391998-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1740
1741 * main.c: retain flag is added.
1742
17431998-07-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1744
1745 * rtable.[ch]: merged with rib.[ch]
1746
17471998-07-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1748
1749 * connected.h: renamed from ifa.h.
1750
17511998-06-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1752
1753 * rename if.c to interface.c
1754 * rename ifa.c to connected.c
1755
1756 * Porting to Debian GNU/Linux 2.0 (hamm).
1757
17581998-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1759
1760 * rt_netlink.c: renamed from krt_netlink.c
1761
1762 * fib.c: deleted.
1763 * rt_kvm.c: deleted.
1764 * rtread_getmsg.c: deleted.
1765
17661998-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1767
1768 * if.c (multicast): add multicast flag [un]set fucntion.
1769
17701998-05-19 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1771
1772 * rt_socket.c: Modify for compile on Solaris, but dont't work it.
1773 rt_socket.c have some undefined function, so add directive "IMPLEMENT"
1774
17751998-05-18 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1776
1777 * zebra.c: Modify for compile on Solaris.
1778
17791998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1780
1781 * main.c: change CONFDIR to SYSCONFDIR.
1782
17831998-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1784
1785 * .cvsignore: added.
1786
17871998-04-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1788
1789 * client.c: moves to ../lib.
1790
17911998-03-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1792
1793 * if_ioctl.c (if_get_addr): Change address copy from memcopy() to
1794 structure assignment.
1795
17961998-03-30 URA Hiroshi <ura@yamato.ibm.co.jp>
1797
1798 * if_sysctl.c (ifm_interface_add): sdl->sdl_data copy bug fixed.
1799
18001998-02-23 "Hannes R. Boehm" <hannes@boehm.org>
1801
1802 * if.c (if_init): add config_exit_cmd and config_help_cmd.
1803
18041998-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
1805
1806 * rt_ioctl.c (route_ioctl): EPERM treatment added.
1807
18081998-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1809
1810 * rt_socket.c (kernel_read): communication port zebra between
1811 kernel is now handled by kernel_read.
1812
18131998-01-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1814
1815 * main.c (main): zebra [-P port] can specify vty port number.
1816
18171997-12-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1818
1819 * zebra.c: change select will be block.
1820
18211997-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1822
1823 * add static route treatment.
1824
18251997-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1826
1827 * rt_netlink.c: add netlink support over GNU/Linux system.
1828
18291997-11-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1830
1831 * all inet_addr is changed to inet_aton.
1832
1833 * zebra.c (ip_route): add ip route command for static routes.
1834
18351997-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1836
1837 * if.c (if_flag_dump): Linux port of if_flag_dump and _vty.
1838
18391997-11-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1840
1841 * if.c: add interface command.
1842
18431997-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1844
1845 * ipforward_proc.c : Now works on Linux.
1846
18471997-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1848
1849 * command.c : add completion feature.
1850
18511997-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1852
1853 * vty.c (vty_command): add vty interface.
1854
18551997-10-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1856
1857 * zebra.c: add verbose mode.
1858
18591997-10-12 SonMyong Ho <s-ho@Matrix.IRI.Co.Jp>
1860
1861 * Hydrangea for FreeBSD supported
1862 * in.h: add some prototype.
1863
18641997-10-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1865
1866 * rt_socket.c and rtread.c completely rewritten.
1867
18681997-10-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1869
1870 * rt_socket.c: rename kernel_sock to routing_socket
1871
18721997-10-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1873
1874 * if.c (if_new): interface structure change from linklist to vector.
1875
18761997-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1877
1878 * vector.c (vector_init): create vector related function
1879
18801997-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1881
1882 * Makefile.in: add tags target
1883
1884 * start IPv6 support for INRIA FreeBSD.
1885