blob: 843f12eb8b05c588ca6e55dd7b27fef84a126b13 [file] [log] [blame]
hasso1ada8192005-06-12 11:28:18 +000012005-06-12 Hasso Tepper <hasso at quagga.net>
2
3 * rt_netlink.c: Remove netlink-addr socket declaration, it's not used.
4 * rt_netlink.c (netlink_parse_info): Fix debug messages - nlmsg_pid is
5 unsigned and one zlog call had swapped arguments.
6 * rt_netlink.c (netlink_route_multipath): Fix compile with disabled
7 IPv6 support.
8
paul1dcb5172005-05-31 08:38:50 +000092005-05-31 Paul Jakma <paul.jakma@sun.com>
10
11 * zserv.c: (zsend_route_multipath) Fix bug if route is sent
12 with no NEXTHOP_FLAG_FIB nexthops. As ZAPI_MESSAGE_IFINDEX
13 and ZAPI_MESSAGE_NEXTHOP are always set, clients would try
14 read non-existent nexthop information and hit stream assert.
15 Zserv is still broken for multi-nexthop messages, but it always was.
16
paul69e10ad2005-05-06 21:27:33 +0000172005-05-06 Paul Jakma <paul.jakma@sun.com>
18
19 * zserv.h: Remove ZEBRA_PORT definition, its in lib/zebra.h now
20
paul4d38fdb2005-04-28 17:35:14 +0000212005-04-28 Paul Jakma <paul.jakma@sun.com>
22
23 * rib.h: (struct rib) Add lock field for refcounting.
24 * zserv.h: (struct zebra_t) Add a ribq workqueue to the zebra
25 'master' struct.
26 * zserv.c: (zread_ipv4_add) XMALLOC then memset should be XCALLOC.
27 * zebra_rib.c: Clean up refcounting of route_node, make struct rib
28 refcounted and convert rib_process to work-queue. In general,
29 rib's should be rib_addnode'd and delnode'd to route_nodes, and
30 these symmetrical functions will manage the locking of referenced
31 route_node and freeing of struct rib - rather than having users
32 manage each seperately - with much scope for bugs..
33 (newrib_free) removed and replaced with rib_lock
34 (rib_lock) new function, check state of lock and increment.
35 (rib_unlock) new function, check lock state and decrement. Free
36 struct rib if refcount hits 0, freeing struct nexthop's, as
37 newrib_free did.
38 (rib_addnode) Add RIB to route_node, locking both.
39 (rib_delnode) Delete RIB from route_node, unlocking each.
40 (rib_process) Converted to a work-queue work function.
41 Functional changes are minimal, just arguments, comments and
42 whitespace.
43 (rib_queue_add_qnode) Helper function to setup a ribq item.
44 (rib_queue_add) Helper function, same arguments as old
45 rib_process, to replace in callers of rib_process.
46 (rib_queue_qnode_del) ribq deconstructor.
47 (rib_queue_init) Create the ribq.
48 (rib_init) call rib_queue_init.
49 (remainder) Sanitise refcounting of route_node's. Convert to
50 rib_queue_add, rib_addnode and rib_delnode. Change XMALLOC/memset
51 to XCALLOC. Remove calls to nexthop_delete and nexthop_free.
52
paulcf460ef2005-04-10 16:54:26 +0000532005-04-10 Paul Jakma <paul@dishone.st>
54
55 * if_ioctl_solaris.c: (if_lookup_linklocal) fix order of args
56 in ALL_LIST_ELEMENTS_RO macro.
57
ajs57a14772005-04-10 15:01:56 +0000582005-04-10 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
59
60 * zserv.c (zebra_client_read): Fix bug: first read attempt should
61 read ZEBRA_HEADER_SIZE minus the number of bytes already read.
62 Improve efficiency by maintaining a calculation of the number
63 of bytes read instead of calling stream_get_endp multiple times.
64 If message length is too small, issue a warning message (not debug)
65 before closing the connection. And also check that message length
66 is not too big.
67
hasso206d8052005-04-09 16:38:51 +0000682005-04-09 Hasso Tepper <hasso at quagga.net>
69
hassofa599802005-04-09 16:59:28 +000070 * rt_netlink.c: One tiny missing comma caused pointless debug messages
71 about IPv6 nexthops.
72
732005-04-09 Hasso Tepper <hasso at quagga.net>
74
hasso206d8052005-04-09 16:38:51 +000075 * rt_netlink.c (netlink_parse_info): Fix warning. It's safe to cast
76 status to unsigned here, because we already checked that it isn't
77 negative or 0.
78 * rt_netlink.c (netlink_interface_addr): Prefix length belongs to the
79 address, not to the interface.
80 * rt_netlink.c (netlink_route_multipath): Fix debug. No useless info
81 is printed out now and IPv6 info is handeled.
82
paul3d1dc852005-04-05 00:45:23 +0000832005-04-05 Paul Jakma <paul@dishone.st>
84
85 * zserv.c: print more helpful errors when we fail to successfully
86 bind and listen on zserv socket. Closes bugzilla #163.
87
ajsd2fc8892005-04-02 18:38:43 +0000882005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
89
ajs08dbfb62005-04-03 03:40:52 +000090 * if_ioctl.c: (interface_list_ioctl) Use if_get_by_name_len.
91 * if_proc.c: (ifaddr_proc_ipv6) Increase size of ifname buffer to
92 avoid overflow.
93 * kernel_socket.c: (ifan_read) Use if_get_by_name_len.
94
952005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
96
ajsa3491982005-04-02 22:50:38 +000097 * kernel_socket.c: (ifm_read) Use new if_lookup_by_name_len function
98 to save a memcpy.
99 * if_ioctl_solaris.c: (interface_list_ioctl) Fix subtle bug with new
100 if_get_by_name_len function.
101
1022005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
103
ajsd2fc8892005-04-02 18:38:43 +0000104 * interface.c: (if_new_intern_ifindex) Remove obsolete function.
105 (if_delete_update) After distributing the interface deletion message,
106 set ifp->ifindex to IFINDEX_INTERNAL.
107 (if_dump_vty) Detect pseudo interface by checking if ifp->ifindex is
108 IFINDEX_INTERNAL.
109 (zebra_interface) Check return code from interface_cmd.func.
110 Do not set internal ifindex values to if_new_intern_ifindex(),
111 since we now use IFINDEX_INTERNAL for all pseudo interfaces.
112 * kernel_socket.c: (ifm_read) Fix code and comments to reflect that
113 all internal interfaces now have ifp->ifindex set to IFINDEX_INTERNAL.
114 * rt_netlink.c: (set_ifindex) New function used to update ifp->ifindex.
115 Detects interface rename events by checking if that ifindex is already
116 being used. If it is, delete the old interface before assigning
117 the ifindex to the new interface.
118 (netlink_interface, netlink_link_change) Call set_ifindex to update
119 the ifindex.
120
hassob7ed1ec2005-03-31 20:13:49 +00001212005-03-31 Hasso Tepper <hasso at quagga.net>
122
123 * rt_netlink.c (netlink_talk_filter): Show always warning message,
124 it's not for debug.
125 * rt_netlink.c (netlink_talk): Don't assume we use netlink_cmd
126 although we do now actually.
127 * rt_netlink.c (netlink_route, netlink_route_multipath): Always use
128 netlink_cmd to send messages to the kernel.
129
ajs2da40f42005-03-30 16:33:13 +00001302005-03-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
131
132 * irdp.h: Add prototype for irdp_sock_init, and fix protos for
133 other irdp_* functions.
134 * irdp_interface.c: (irdp_if_start) If irdp_sock is negative,
135 call irdp_sock_init to create the IRDP socket.
136 (irdp_if_init) Rename to irdp_init().
137 (get_iflist_ifp) Remove function that is a duplicate of
138 if_lookup_by_index.
139 (*) Make many functions static. And remove superfluous "\n" from
140 several zlog messages.
141 * irdp_main.c: (irdp_init) Remove function that used to call
142 irdp_if_init() and irdp_sock_init(), since we will now create
143 the socket only upon first use.
144 (irdp_sock_init) Do not update global irdp_sock variable, just
145 return the fd and assume that the caller will do so. If setsockopt
146 calls fail, close the socket before returning -1.
147 (*) Make many functions static.
148 * irdp_packet.c: Initialize irdp_sock to -1.
149 (irdp_read_raw) Call standard library function if_lookup_by_index
150 instead of get_iflist_ifp.
151 (irdp_recvmsg) Should be static, not global.
152
ajsa608bbf2005-03-29 17:03:49 +00001532005-03-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
154
155 * rt_netlink.c: (netlink_link_change) If the status of an
156 operative interface changes (e.g. MTU changes), the client
157 daemons should be notified by calling zebra_interface_up_update.
158 Previously, the information was being updated in zebra's
159 interface structure, but the clients were not notified of
160 changes to an operative interface.
161
vincent7cee1bb2005-03-25 13:08:53 +00001622005-03-25 Jean-Mickael Guerin <jean-mickael.guerin@6wind.com>
163 * interface.c, interface.h, rtadv.c, rtadv.h: modifications to
164 IPv6 Neighbor Discovery according to RFC3775, section 7:
165 o 1-bit Home Agent flag management in Router Advertisement (7.1).
166 o 1-bit Router Address flag management in Prefix Information
167 Option (7.2).
168 o Advertisement Interval Option (7.3)
169 o Home Agent Information Option (7.4)
170 o Changes to Sending Router Advertisements more frequently (7.5)
171
hassoed9bb6d2005-03-13 19:17:21 +00001722005-03-13 Hasso Tepper <hasso at quagga.net>
173
174 * zebra/interaface.c: "show interface description" command
175 implemented.
176
paulc1f01f32005-03-12 06:33:14 +00001772005-03-12 Paul Jakma <paul@dishone.st>
178
179 * rt_netlink.c: (netlink_route_multipath) dont set equalise flag.
180 No stock Linux kernel has ever supported it, and even if it had
181 it's not generally a good idea.
182
hasso42a66d72005-03-07 08:19:44 +00001832005-03-07 Michael Sandee <voidptr@voidptr.sboost.org>
184
185 * if_proc.c, ipforward_proc.c, rtread_proc.c: Fix fd leaks.
186
hasso3452d472005-03-06 13:42:05 +00001872005-03-06 Hasso Tepper <hasso at quagga.net>
188
189 * interface.c: Fix CRC and frame errors statistics in Linux.
190
ajs719e9742005-02-28 20:52:15 +00001912005-02-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
192
193 * zserv.c: Must include network.h and buffer.h for non-blocking I/O.
194 Remove global message_queue and t_write (need separate buffering for
195 each client).
196 (zebra_server_dequeue,zebra_server_enqueue) Remove functions
197 related to old buggy buffering code.
198 (zserv_delayed_close) New thread callback function to delete a client.
199 (zserv_flush_data) New thread callback function to flush buffered
200 data to client.
201 (zebra_server_send_message) Rewritten to use buffer_write (so
202 buffering of writes and non-blocking I/O work properly).
203 (zsend_interface_add,zsend_interface_delete,zsend_interface_address,
204 zsend_interface_update) Return 0 instead of -1 if !client->ifinfo
205 (this is not really an error). Return value from
206 zebra_server_send_message.
207 (zsend_route_multipath,zsend_ipv4_nexthop_lookup,
208 zsend_ipv4_import_lookup) Return value from zebra_server_send_message.
209 (zsend_ipv6_nexthop_lookup) Fix scope to static, and return value
210 from zebra_server_send_message.
211 (zsend_router_id_update) Must use zebra_server_send_message instead
212 of deprecated writen function. Return 0 instead of -1 if this client
213 is not subscribed to router-id updates (since this is not really
214 an error).
215 (zread_interface_add) Change type to static int. If
216 zsend_interface_add fails or zsend_interface_address fails, return -1
217 immediately (since the client has had an I/O error).
218 (zread_interface_delete,zread_ipv4_add,zread_ipv4_delete,
219 zread_ipv6_add,zread_ipv6_delete,zread_router_id_delete) Return 0
220 to indicate success.
221 (zread_ipv4_nexthop_lookup) Return value from
222 zsend_ipv4_nexthop_lookup.
223 (zread_ipv4_import_lookup) Return value from zsend_ipv4_import_lookup.
224 (zebra_read_ipv6) Remove unused function.
225 (zread_ipv6_nexthop_lookup) Return value from
226 zsend_ipv6_nexthop_lookup.
227 (zread_router_id_add) Return value from zsend_router_id_update.
228 (zebra_client_close) Call buffer_free(client->wb) and
229 thread_cancel(client->t_suicide).
230 (zebra_client_create) Allocate client->wb using buffer_new.
231 (zebra_client_read) Support non-blocking I/O by using stream_read_try.
232 Use ZEBRA_HEADER_SIZE instead of 3.
233 (zebra_accept) Fix bug: reset accept thread at top. Make client
234 socket non-blocking using the set_nonblocking function.
235 (config_write_forwarding) Fix scope to static.
236 (zebra_init) Remove initialization code for old buggy write buffering.
237 * zserv.h: Add 2 new fields to struct zserv: struct buffer *wb
238 (to enable buffered writes with non-blocking I/), and
239 struct thread *t_suicide to support delayed close on I/O
240 errors.
241 * router-id.h: Remove prototypes for zread_router_id_add and
242 zread_router_id_delete (their scope should be static to zserv.c).
243
ajs27da3982005-02-24 16:06:33 +00002442005-02-24 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
245
246 * redistribute.c: (zebra_check_addr,is_default,
247 zebra_redistribute_default,zebra_redistribute) Fix scope to be static.
248
hassoe8274dc2005-02-20 19:09:23 +00002492005-02-20 Hasso Tepper <hasso at quagga.net>
250
251 * rt_netlink.c: Don't show messages "ignoring message type 0x001[89]"
252 if we are not debugging.
253
paule31f2292005-02-19 02:00:26 +00002542005-02-19 Paul Jakma <paul@dishone.st>
255
256 * zserv.c: (zebra_read_ipv6) replace the char * arithmetic with
257 STREAM_READABLE.
258
paul1e193152005-02-14 23:53:05 +00002592005-02-14 Paul Jakma <paul@dishone.st>
260
261 * Not all Linux netlink systems have IFLA_WIRELESS
262
ajs6a52d0d2005-01-30 18:49:28 +00002632005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
264
265 * ioctl.c: (if_ioctl,if_ioctl_ipv6,if_get_flags) Replace perror with
266 zlog_err.
267 * ioctl_solaris.c: (if_ioctl,if_ioctl_ipv6) Replace perror with
268 zlog_err.
269
ajs4be019d2005-01-29 16:12:41 +00002702005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
271
ajs4460e7a2005-01-29 17:07:40 +0000272 * if_ioctl_solaris.c: (interface_list_ioctl) Save errno before calling
273 zserv_privs.change.
274 * ioctl{,_solaris}.c: (if_ioctl,if_ioctl_ipv6) Save errno before calling
275 zserv_privs.change.
276 * ipforward_solaris.c: (solaris_nd) Save errno before calling
277 zserv_privs.change.
278 * irdp_main.c: (irdp_sock_init) Save errno before calling
279 zserv_privs.change.
280
2812005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
282
ajs4be019d2005-01-29 16:12:41 +0000283 * rt_netlink.c: (netlink_socket,netlink_request,netlink_parse_info,
284 netlink_talk) Save errno before calling zserv_privs.change.
285
paulc15cb242005-01-24 09:05:27 +00002862005-01-24 Martin Pot <mpot at martybugs.net>
287
288 * zebra/rt_netlink.c: ignore wireless newlink netlink messages.
289
hasso6f2c27a2005-01-18 13:44:35 +00002902005-01-18 Hasso Tepper <hasso at quagga.net>
291
292 * interface.c: Better statistics output in "show interface" command in
293 case of /proc being used.
294
hasso583d8002005-01-16 23:34:02 +00002952005-01-17 Hasso Tepper <hasso at quagga.net>
296
297 * main.c: With --nl-bufsize argument is required.
298
paul865b8522005-01-05 08:30:35 +00002992005-01-05 Paul Jakma <paul@dishone.st>
300
301 * zserv.c: (zebra_accept) Comment out setting of socket to NONBLOCK
302 for now, as we dont actually deal with with resending.... See
303 bugzilla #122, fix from wawa@yandex-team.ru (Vladimir Ivanov).
304 * kernel_socket.c: (routing_socket) ditto.
305
ajsb99760a2005-01-04 16:24:43 +00003062005-01-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
307
308 * rtadv.c: (rtadv_recv_packet,rtadv_send_packet) Use ZCMSG_FIRSTHDR
309 instead of CMSG_FIRSTHDR.
310
ajs341a8f12004-12-22 16:32:16 +00003112004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
312
313 * connected.c: (connected_add_ipv4) Limit warning about /32 addresses
314 with no peer specified to PtP interfaces only.
315
hassob8adec12004-12-18 16:03:28 +00003162004-12-18 Hasso Tepper <hasso at quagga.net>
317
318 * zebra_vty.c: Fix "show ipv6 route <proto>" command help and make it
319 work for isis routes.
320
gdt6a250b02004-12-09 14:48:12 +00003212004-12-09 Greg Troxel <gdt@fnord.ir.bbn.com>
322
323 * kernel_socket.c (rtmsg_debug): char * => const char *
324
ajs274a4a42004-12-07 15:39:31 +00003252004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
326
ajsb6178002004-12-07 21:12:56 +0000327 * *.c: Change level of debug messages to LOG_DEBUG.
328
3292004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
330
ajs274a4a42004-12-07 15:39:31 +0000331 * main.c: (main) The 2nd argument to openzlog has been removed.
332 So stdout logging will no longer be enabled by default.
333 * irdp_main.c: (irdp_finish) Reduce severity of shutdown message
334 from LOG_WARNING to LOG_INFO.
335
ajs887c44a2004-12-03 16:36:46 +00003362004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
337
338 * main.c: (sigint) Use zlog_notice for termination message.
339 (main) Add a startup announcement using zlog_notice.
340
hassoaccb1562004-11-25 19:21:07 +00003412004-11-25 Hasso Tepper <hasso at quagga.net>
342
343 * irdp_interface.c: Remove comment from DEFUN, it breaks vtysh because
344 it confuses extract.pl.
hassoc0652302004-11-25 19:33:48 +0000345 * main.c: Make group to run as configurable.
hassoaccb1562004-11-25 19:21:07 +0000346
hasso6bd7c6a2004-10-28 17:32:27 +00003472004-10-28 Hasso Tepper <hasso at quagga.net>
348
349 * interface.c: Remove dead "ip tunnel" command.
350
paul06f953f2004-10-22 17:00:38 +00003512004-10-22 Paul Jakma <paul@dishone.st>
352
353 * irdp_main.c: change setsockopt_pktinfo to setsockopt_ifindex
354
hasso3fb9cd62004-10-19 19:44:43 +00003552004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
356
357 * rt_netlink.c: (netlink_interface_addr) For PtP interfaces, ignore
358 tb[IFA_ADDRESS] if it's the same as tb[IFA_LOCAL].
359 * interface.c: (ip_address_install) Use new ipv4_broadcast_addr
360 function.
361 * connected.c: (connected_up_ipv4) Use CONNECTED_POINTOPOINT_HOST
362 macro.
363 (connected_down_ipv4) ditto.
364 (connected_add_ipv4) Validate destination address, print warnings
365 if it does not make sense.
366
hassoc1eaa442004-10-19 06:26:01 +00003672004-10-19 Hasso Tepper <hasso at quagga.net>
368
369 * zserv.c: Fix regression introduced with zserv cleanup.
370
hassoc75105a2004-10-13 10:33:26 +00003712004-10-13 Hasso Tepper <hasso at quagga.net>
372
373 * zebra_snmp.c: Remove defaults used to initialize smux connection to
374 snmpd. Connection is initialized only if smux peer is configured.
hassob71f00f2004-10-13 12:20:35 +0000375 * zserv.c: Remove useless warnings "forwarding is already on".
hassoc75105a2004-10-13 10:33:26 +0000376
hasso39ff11d2004-10-12 15:55:19 +00003772004-10-12 Hasso Tepper <hasso at quagga.net>
378
379 * zebra_vty.c: Unbreak "show ip route" command help and make it work
380 for isis routes.
hasso39db97e2004-10-12 20:50:58 +0000381 * interface.c(if_dump_vty): Show IPv6 addresses in "show interface"
382 output. Fixes Bugzilla #119.
383 * *.c: Make some strings const and some (unsigned) casts to fix
384 compiler warnings.
hasso39ff11d2004-10-12 15:55:19 +0000385
hassofce954f2004-10-07 20:29:24 +00003862004-10-07 Hasso Tepper <hasso at quagga.net>
387
388 * connected.c, main.c, rt_netlink.c, rtadv.c, zebra_rib.c, zserv.c:
389 Fix warnings: make strings const, signed -> unsigned.
390
paul72164662004-10-05 14:39:43 +00003912004-10-05 Paul Jakma <paul@dishone.st>
392
393 * irdp_packet.c: (parse_irdp_packet) style issues.
394 Use sockopt_iphdrincl_swab_systoh.
395 Try unbork the code. Checksum the ICMP data and actually
396 compare it to received checksum. Check data length against
397 claimed length in header.
398 Always use ntoh.. when accessing addresses, even when the
399 comparison happens to be endian-safe.
400 (send_packet) minor style isues. Use
401 sockopt_iphdrincl_swab_htosys.
402 (irdp_iph_hton/ntoh) IP header to/from network/host order.
403
hassoeef1fe12004-10-03 18:46:08 +00004042004-10-03 Gilad Arnold <gilad.arnold at terayon.com>
405
406 * interface.c, interface.h: A new prefix tree of connected subnets is
407 associated with each interface structure in zebra, in which each
408 live (ie, non-synthetic) node holds a list of installed addresses
409 that belong to that prefix. Remove secondary address logic from cli.
410 See [quagga-dev 872] for detailed explanation.
411 * connected.c: Use if_subnet_add() and if_subnet_delete().
412
hasso18a6dce2004-10-03 18:18:34 +00004132004-10-03 James R. Leu <jleu at mindspring.com>
414
415 * router-id.c, router-id.h: New files. Router id selection process. If
416 there is non 127.x.x.x address in loopack interface, lowest of them
417 is chosen. If there isn't, lowest from other interfaces addresses
418 are chosen. "router-id x.x.x.x" vty command to manual override.
419 * Makefile.am: Compile new files.
420 * main.c: Initialize router id.
421 * redistribute.c: Add interface addresses into router id selection
422 lists as they (dis)appear.
423 * zserv.c, zserv.h: Sending router id related messages to daemons.
424
hassoc9e52be2004-09-26 16:09:34 +00004252004-09-26 Hasso Tepper <hasso at quagga.net>
426
427 * irdp_interface.c, irdp_main.c, irdp_packet.c, rt_netlink.c,
428 rtadv.c, zebra_vty.c: Fix compiler warnings.
429
paul0c0f9112004-09-24 08:24:42 +00004302004-09-24 Paul Jakma <paul@dishone.st>
431
paul26f7a242004-09-24 08:45:10 +0000432 * irdp_interface.c: (no_ip_irdp_address_preference_cmd)
433 add missing listnode declaration.
434
4352004-09-24 Paul Jakma <paul@dishone.st>
436
paul0c0f9112004-09-24 08:24:42 +0000437 * irdp_{interface,main}.c: lists typedef removal cleanup.
438 update some list loops to LIST_LOOP. some miscellaneous style
439 and indent fixups.
440 (no_ip_irdp_address_preference_cmd) Fix delete of referenced node
paul26f7a242004-09-24 08:45:10 +0000441 in loop.
paul0c0f9112004-09-24 08:24:42 +0000442 * irdp_packet.c: (irdp_recvmsg) Fix buggy assignment of integer
443 to pointer.
444 * if_ioctl{,_solaris}.c: lists typedef removal cleanup.
445 update some list loops to LIST_LOOP.
446
hasso52dc7ee2004-09-23 19:18:23 +00004472004-09-23 Hasso Tepper <hasso at quagga.net>
448
449 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
450
paul44983cf2004-09-22 13:15:58 +00004512004-09-22 Paul Jakma <paul.jakma@sun.com>
452
453 * zserv.c: (zsend_route_multipath) fix nasty bad memset of struct
454 in_addr to sizeof(struct in6_addr), causing odd and hard to debug
455 crash.
456
hassoc34b6b52004-08-31 13:41:49 +00004572004-08-31 Hasso Tepper <hasso at quagga.net>
458
459 * main.c, rt_netlink.c: Added -s command line switch for tuning
460 netlink receive buffer size in Linux to avoid buffer overruns.
461
gdta5ea6872004-08-26 13:24:00 +00004622004-08-26 Miles Nordin <carton@Ivy.NET>
463
464 * ipforward_sysctl.c (mib_ipv6): Use size_t for len, per
465 sysctl(3), rather than int. (Needed on NetBSD/alpha to display
466 forwarding status correctly.)
467
paul3e0b3a52004-08-23 18:58:32 +00004682004-08-23 Paul Jakma <paul@dishone.st>
469
470 * zserv.c: (zebra_init) remove implicit ip forward enabling
471
paul0de1cde2004-08-19 04:45:33 +00004722004-08-19 Paul Jakma <paul@dishone.st>
473
474 * irdp_main.c: update to match sockopt renames.
475 * irdp_packet.c: include sockopt.h and update to match sockopt
476 renames.
477
gdt57492d52004-08-11 18:06:38 +00004782004-08-11 Greg Troxel <gdt@fnord.ir.bbn.com>
479
480 * rtadv.c (rtadv_send_packet): Allocate space for control messages
481 more carefully; it was wrong on NetBSD/sparc where CMSG alignment
482 is to 8 bytes instead of 4, and overwriting the address. Use the
483 provided macros for determining lengths.
484
paul5b73a672004-07-23 15:26:14 +00004852004-07-23 Sowmini Varadhan <Sowmini.Varadhan@Sun.COM>
486
487 * if_ioctl_solaris.c: HAVE_IPV6 ifdef fixups
488 * zserv.c: ditto
489 * ioctl_solaris.c: ditto.
490 * interface.c: cast for LLADDR
491 * interface.h: Add guards, include redistribute.h and remove
492 extraneous definitions of zebra_interface_{up,down}_update
493 * ioctl.h: Add AF_IOCTL define for non SOLARIS_IPV6
494 * redistribute.h: include dependent header, zserv.h
495 * zserv.h: include dependent header, rib.h
496
paul1470baf2004-07-23 15:25:01 +00004972004-07-23 Paul Jakma <paul@dishone.st>
498
499 * irdp_main.c: use setsockopt_pktinfo_ipv4
500 * irdp_packet.c: use SOPT_SIZE_CMSG_PKTINFO_IPV4 and
501 getsockopt_pktinfo_ifindex()
502
gdtcced60d2004-07-13 16:45:54 +00005032004-07-13 David Wiggins <dwiggins@bbn.com
504
505 * kernel_socket.c (rtm_flag_dump): terminate buffer with '\0', not '0'.
506
hasso25dac852004-07-13 03:06:51 +00005072004-07-13 Hasso Tepper <hasso@estpak.ee>
508
509 * irdp_main.c: Add privilege change.
510
hasso996933f2004-07-12 16:32:56 +00005112004-07-12 Hasso Tepper <hasso@estpak.ee>
512
513 * irdp_interface.c: follow common style while naming vty command
514 functions. Avoids confusion in extract.pl.
515
gdt87efd642004-06-30 17:36:11 +00005162004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
517
518 * main.c: define thread_master variable so that linking with
519 libzebra.so doesn't fail. Arguably zclient.o should be in a
520 separate library, but this is far less disruptive.
521
hassoca776982004-06-12 14:33:05 +00005222004-06-12 Robert Olsson <Robert.Olsson at data.slu.se>
523
524 * Added IRDP support.
525
hasso3e31cde2004-05-18 11:58:59 +00005262004-05-18 Hasso Tepper <hasso@estpak.ee>
527
528 * rtadv.c: Removed "[no] ipv6 nd send-ra" command. Replaced "ipv6 nd
529 prefix-advertisement" with "ipv6 nd prefix". Rewrite syntax of
530 "ipv6 nd prefix" command to allow various combinations of parameters
531 and flags. No defaults in configuration. Replaced on-link and
532 autoconfig with off-link and no-autoconfig flags in command syntax.
533 Cosmetic fixes in all commands. Documentation to reflect all changes.
534
paul19877dd2004-05-11 10:49:35 +00005352004-05-11 Paul Jakma <paul@dishone.st>
536
537 * Makefile.am: support for IOCTL_METHOD, as per Sowmini's patch.
paul48a46fa2004-05-11 10:55:22 +0000538 * if_ioctl_solaris.c: Fixup some erroneous privilege changes and
539 add privs.h header.
540 * ioctl_solaris.c: ditto
paulc50ae8b2004-05-11 11:31:07 +0000541 * ioctl.h: Add if_ioctl_ipv6 prototype and AF_IOCTL for SOLARIS_IPV6
542 * kernel_socket.c: Fix SAROUNDUP, compiler doesnt like do..while
543 RHS in assignments :)
544 * redistribute.c: (zebra_interface_delete_update) only used
545 if RTM_IFANNOUNCE and NETLINK is available.
546
paulb9df2d22004-05-09 09:09:59 +00005472004-05-09 Paul Jakma <paul@dishone.st>
548
549 * zserv.c: (zsend_route_multipath) Set the nexthop_num
550 field correctly. Add NEXTHOP_TYPE_IPV6_IFNAME for v6.
551 Conditionally set ZAPI_MESSAGE_METRIC flag - only for adds.
552 (zsend_ipv4_add) cruft, deleted.
553 (zsend_ipv4_delete) ditto.
554 (zsend_ipv6_add) ditto.
555 (zsend_ipv6_delete) ditto.
paul44145db2004-05-09 11:00:23 +0000556 * ioctl.c: (if_get_mtu) set mtu6 to mtu
557 * mtu_kvm.c: (if_kvm_get_mtu) set mtu6 to mtu
558 * rt_netlink.c: (netlink_interface) set mtu6 to mtu
559 (netlink_link_change) ditto
paul66e94882004-05-09 17:19:24 +0000560 * ipforward_solaris.c: fix typo of ND variable.
paul88424682004-05-09 18:21:35 +0000561 * if_ioctl_solaris.c: Add zprivs support.
562 * ioctl_solaris.c: ditto.
paul66e94882004-05-09 17:19:24 +0000563
paulb9df2d22004-05-09 09:09:59 +00005642004-05-09 Sowmini Varadhan <sowmini.varadhan@sun.com>
565
566 * zserv.c: (zsend_ipv{4,6}_{add,delete}_multipath) collapsed
567 into single zsend_route_multipath function.
568 (zsend_interface_{up,down}) collapsed into zsend_interface_update.
569 (zsend_interface_address_{add,delete}) collapsed into
570 zsend_interface_address.
571 (zsend_interface_add) send mtu6.
572 (zsend_interface_delete) ditto.
573 (zebra_write) remove unused function.
574 (various) Apply static qualifier. Add comments.
575 * zserv.h: Definitions changed as per above.
576 * redistribute.c: Changes as per zserv.c.
paul44145db2004-05-09 11:00:23 +0000577 * interface.c: (if_delete_update) only used with HAVE_NETLINK
578 and RTM_IFANNOUNCE.
579 (if_flag_dump_vty) Solaris IFF_IPV4 and IFF_IPV6 if flags
580 (if_dump_vty) print mtu6 if not same as mtu
paul88424682004-05-09 18:21:35 +0000581 * if_ioctl_solaris.c: New file, Solaris interface ioctl methods.
582 * ioctl_solaris.c: New file, Common solaris ioctl methods.
583
hasso34195bf2004-04-06 12:07:06 +00005842004-04-06 Krzysztof Oledzki <oleq@ans.pl>
585
586 * rt_netlink.c: Do not ignore metric when reading kernel routing
587 table on Linux with rt_netlink interface.
588
5892004-03-18 Hasso Tepper <hasso@estpak.ee>
hassof1d92e12004-03-18 15:40:33 +0000590
591 * interface.c: Temporary fix for handling secondary addresses
592 with label.
593
hasso55906722004-02-11 22:42:16 +00005942004-02-12 Hasso Tepper <hasso@estpak.ee>
hassof1d92e12004-03-18 15:40:33 +0000595
hasso55906722004-02-11 22:42:16 +0000596 * zserv.c: Added "ipv6 forwarding" command.
597
gdtb27900b2004-01-08 15:44:29 +00005982004-01-08 Greg Troxel <gdt@fnord.ir.bbn.com>
599
600 * kernel_socket.c (kernel_read): Use sockaddr_storage in buffer
601 for reading kernel messages to ensure enough space (necessary on
602 Solaris due to sockaddr_dl being large). Thanks to Sowmini
603 Varadhan for help with this change.
604
gdt9ccabd12004-01-06 18:23:02 +00006052004-01-06 Greg Troxel <gdt@t1.ir.bbn.com>
606
607 * rtadv.c (rtadv_send_packet): Change perror to zlog_err.
608
gdtdbee01f2004-01-06 00:36:51 +00006092004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
gdt4bfbea82004-01-06 01:13:05 +0000610 * kernel_socket.c (ifm_read): Major cleanup. Use Sowmini's code
611 to find the sockaddr_dl in all cases, narrowing the Solaris ifdef
612 to just the accomodation of broken kernels. Check sockaddr_dl
613 carefully up front, and later assume any non-NULL sdl pointer is
614 valid. Clean up types and variable declarations, and rename
615 WRAPUP to SAROUNDUP to make the name fit the behavior.
616
6172004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
gdtdbee01f2004-01-06 00:36:51 +0000618
619 * kernel_socket.c (kernel_read): Add a sockaddr_dl to the ifmsg
620 structure, because on Solaris sockaddr_dl is far larger than the
621 base sockaddr structure. (The code had previously been failing to
622 read all the data.)
gdt4bfbea82004-01-06 01:13:05 +0000623
gdtda26e3b2004-01-05 17:20:59 +00006242004-01-05 Greg Troxel <gdt@ahi.ir.bbn.com>
625
626 * kernel_socket.c (kernel_read): Look up interfaces by index
627 first, so that state changes which do not include a sockaddr_dl
628 now work. Add many sanity checks. In
629 particular, do not assume that a sockaddr_dl follows a message
630 without checking the ifm_addrs flags, and do not trust the length
631 in a sockaddr_dl. Add/clarify many comments.
632
gdt4b5e1352003-12-03 17:54:34 +00006332003-12-03 Greg Troxel <gdt@poblano.ir.bbn.com>
634
635 * rtadv.c: reorder includes to avoid compiler warning (define
636 structs before using them in prototypes)
637
hasso647e4f12003-05-25 11:43:52 +00006382003-05-25 Jim Crumpler <Jim.Crumpler@edion.com>
639
640 * zserv.c: Add "ip forwarding" command.
641
paul445f1432003-05-16 19:00:31 +00006422003-05-16 Gilad Arnold <gilad.arnold@terayon.com>
643
644 * zebra_rib.c: Fix memory leaks for ifname nexthops
645
6462003-04-19 Israel Keys <ikeys@agile.tv>
647
648 * rt_netlink.c: BLOCK on netlink while initialising
649
6502003-02-06 Francois Deppierraz <francois@ctrlaltdel.ch>
651
652 * rt_netlink.c (netlink_route_multipath): Set RTM_F_EQUALIZE when
653 it exists.
654
paul718e3742002-12-13 20:15:29 +00006552002-09-28 Akihiro Mizutani <mizutani@net-chef.net>
656
657 * zebra_rib.c (static_add_ipv4): Null0 static route is added.
658
6592002-09-10 Jochen Friedrich <chris+zebra@scram.de>
660
661 * rt_netlink.c: Add check for EAGAIN.
662 * kernel_socket.c: Likewise
663
6642002-06-12 Israel Keys <ikeys@oz.agile.tv>
665
666 * rt_netlink.c: Setting the NLM_F_ACK flag on the netlink command
667 message so that we get an ACK for successful netlink commands.
668 Change the netlink socket to BLOCKING while we wait for a
669 response; be it an ACK or an NLMSG_ERROR. Change
670 netlink_parse_info to deal with ACK messages.
671
6722001-11-01 Jun-ichiro itojun Hagino <itojun@iijlab.net>
673
674 * rtadv.c (rtadv_make_socket): setsockopt(IPV6_CHECKSUM) does not
675 work for ICMPv6 socket.
676
6772001-10-24 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
678
679 * rib.c (rib_process): Select connected route any case.
680
6812001-10-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
682
683 * interface.c (no_ip_address_secondary): Add "no" to command.
684
6852001-10-18 NOGUCHI Kay <kay@v6.access.co.jp>
686
687 * ioctl.c (if_prefix_add_ipv6): Set the prefered and valid lifetime
688 to infinity as the freebsd4.4 workaroud.
689
6902001-08-26 mihail.balikov@interbgc.com
691
692 * zebra_snmp.c: Fix snmpwalk problem such as IPv4 address
693 A.B.C.255.
694
6952001-08-22 NOGUCHI Kay <kay@v6.access.co.jp>
696
697 * rtadv.c: Do not send RA to loopback interface.
698
6992001-08-20 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
700
701 * ioctl.c (if_set_prefix): Remove Linux 2.0 specific connected
702 route treatment.
703
7042001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
705
706 * zebra-0.92a released.
707
7082001-08-17 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
709
710 * rib.c: Kernel route is treated as EGP routes in nexthop active
711 check.
712
7132001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
714
715 * zebra-0.92 released.
716
7172001-08-08 "Akihiro Mizutani" <mizutani@dml.com>
718
719 * rib.c (show_ip_route_prefix_longer): Add longer-prefix option to
720 show route commands.
721
7222001-07-29 Yon Uriarte <havanna_moon@gmx.net>
723
724 * zserv.c (zsend_ipv4_add_multipath): Add
725 NEXTHOP_TYPE_IPV4_IFINDEX check.
726
7272001-07-29 NOGUCHI Kay <kay@v6.access.co.jp>
728
729 * rtadv.c: Apply valid lifetime, preferred lifetime, onilnk flag,
730 autonomous address-configuration flag patch.
731 (no_ipv6_nd_suppress_ra): Change "ipv6 nd send-ra" to "no ipv6 nd
732 suppress-ra".
733
7342001-07-24 NOGUCHI Kay <kay@v6.access.co.jp>
735
736 * rtadv.c (ipv6_nd_ra_interval): Add "ipv6 nd ra-interval SECONDS"
737 command.
738
7392001-07-24 Jun-ichiro itojun Hagino <itojun@iijlab.net>
740
741 * rt_socket.c (kernel_rtm_ipv4): Add KAME/NetBSD151 equal cost
742 multicast FIB support both IPv4 and IPv6.
743
7442001-07-24 Hal Snyder <hal@vailsys.com>
745
746 * if_ioctl.c (interface_list_ioctl): Fix bug of failing to get the
747 full list of interfaces on some configurations of OpenBSD.
748
7492001-07-23 NOGUCHI Kay <kay@v6.access.co.jp>
750
751 * rtadv.c (ipv6_nd_send_ra): Apply [zebra 9320] to fix "ipv6 nd
752 send-ra" bug.
753 (ipv6_nd_ra_lifetime): "ipv6 nd ra-lifetime 0" for default router
754 availability.
755 (ipv6_nd_managed_config_flag): "ipv6 nd managed-config-flag" is
756 added.
757 (ipv6_nd_other_config_flag): "ipv6 nd other-config-flag" is added.
758
7592001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
760
761 * ioctl.c (if_ioctl): Change ioctl argument from int to u_long.
762
763 * rt_ioctl.c: Likewise.
764
7652001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
766
767 * kernel_socket.c (rtm_write): Only set RTF_CLONING when the
768 interface is not p2p.
769
7702001-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
771
772 * ioctl.c (if_prefix_add_ipv6): Fix argument type.
773
7742001-04-06 Toshiaki Takada <takada@zebra.org>
775
776 * zserv.c (zsend_interface_delete): Use client->obuf instead of
777 allocating new stream.
778
7792001-03-10 Kunihiro Ishiguro <kunihiro@zebra.org>
780
781 * rt_netlink.c: Revert RTPROT_BOOT change.
782
7832001-03-08 Kunihiro Ishiguro <kunihiro@zebra.org>
784
785 * rt_netlink.c (netlink_route_change): Skip RTPROT_BOOT route.
786 (netlink_routing_table): Likewise.
787
7882001-03-07 "Akihiro Mizutani" <mizutani@dml.com>
789
790 * zserv.c (zsend_ipv4_add_multipath): Send metric value to
791 protocol daemons.
792
7932001-02-18 Kunihiro Ishiguro <kunihiro@zebra.org>
794
795 * rt_netlink.c (netlink_routing_table): Do not return
796 tb[RTA_GATEWAY] is NULL. Reported by: "Michael O'Keefe"
797 <mokeefe@qualcomm.com>.
798
7992001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
800
801 * if_ioctl.c (interface_list_ioctl): Call if_add_update().
802 Suggested by: Chris Dunlop <chris@onthe.net.au>.
803
8042001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
805
806 * rib.c (nexthop_active_ipv4): When nexthop type is
807 NEXTHOP_TYPE_IPV4_IFINDEX, propery set the ifindex to rifindex.
808
809 * zserv.c: Initialize rtm_table_default with 0.
810
811 * zebra-0.91 is released.
812
8132001-01-31 Kunihiro Ishiguro <kunihiro@zebra.org>
814
815 * kernel_socket.c (rtm_read): Filter cloned route. Suggested by:
816 Jun-ichiro itojun Hagino <itojun@iijlab.net>
817
8182001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
819
820 * connected.c (connected_up_ipv6): When point-to-point destination
821 address is ::, use local address for connected network.
822 (connected_down_ipv6): Likewise.
823
8242001-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
825
826 * zserv.c (zebra_serv): Add missing close() call. Reported by:
827 David Waitzman <djw@vineyard.net>.
828
8292001-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
830
831 * rib.c (rib_lookup_ipv4): New function for checking exact match
832 IGP route.
833
8342001-01-23 Kunihiro Ishiguro <kunihiro@zebra.org>
835
836 * rib.c (show_ipv6_route_protocol): Fix bug of "show ip route
837 route-type".
838
8392001-01-22 Kunihiro Ishiguro <kunihiro@zebra.org>
840
841 * interface.c (zebra_interface): Do not call
842 zebra_interface_add_update for inactive interface.
843
844 * zserv.c (zsend_interface_address_add): Send interface address
845 flag.
846 (zsend_interface_address_delete): Likewise.
847
8482001-01-19 Kunihiro Ishiguro <kunihiro@zebra.org>
849
850 * interface.c (if_addr_add): Add flags.
851
852 * connected.c (ifa_add_ipv4): Add new function for interface
853 address handling.
854 (ifa_delete_ipv4): Likewise.
855
8562001-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
857
858 * rib.c (rib_update): Update IPv6 RIB.
859
860 * kernel_socket.c (ifam_read): Call if_refresh() for update
861 interface flag status. This is for implicit interface up on *BSD.
862
863 * interface.c (if_refresh): Add interface flag refresh function.
864
865 * kernel_socket.c (rtm_read): Fetch link-local address interface
866 index.
867 (ifan_read): We need to fetch interface information. Suggested
868 by: Yasuhiro Ohara <yasu@sfc.wide.ad.jp>.
869
870 * rib.c (static_ipv6_nexthop_same): Add check for
871 NEXTHOP_TYPE_IPV6_IFNAME.
872
8732001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
874
875 * rib.h (NEW_RIB): Turn on NEW_RIB flag. IPv6 new RIB code are
876 taken into place.
877
8782001-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
879
880 * rib.c (static_ipv6_write): Display STATIC_IPV6_GATEWAY_IFNAME
881 configuration.
882 (rib_delete_ipv6): Handle same route conter for IPv6 connected
883 route.
884 (show_ipv6_route_protocol): New command.
885 (show_ipv6_route_addr): Likewise.
886 (show_ipv6_route_prefix): Likewise.
887 (rib_update): Sweep kernel route when it is cleaned up.
888
889 * rt_socket.c (kernel_add_ipv6): Add NEXTHOP_IPV6_IFNAME
890 treatmenet.
891
892 * rt_netlink.c (kernel_init): Likewise.
893
894 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): Likewise.
895
896 * rib.c (rib_add_ipv4): Cope with same connected route on a
897 interface. Suggested by: Matthew Grant <grantma@anathoth.gen.nz>.
898 (nexthop_ipv6_ifname_add): Add NEXTHOP_IPV6_IFNAME treatmenet.
899
900 * rib.h (struct new_rib): Add refcnt to keep track on the
901 reference of same connected route.
902
903 * ioctl.c (if_set_prefix): Add check for GNU_LINUX.
904
9052001-01-13 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
906
907 * kernel_socket.c (ifan_read, rtm_type_str): Add RTM_OIFINFO check.
908 (rtm_type_str): Add RTM_IFANNOUNCE check.
909 (ifan_read): New function.
910 (kernel_read): Add case for RTM_IFANNOUNCE.
911
9122001-01-13 Kunihiro Ishiguro <kunihiro@zebra.org>
913
914 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): New function.
915
916 * rt_netlink.c (netlink_route_multipath): IPv6 address ifindex
917 treatment.
918
919 * connected.c (connected_up_ipv6): Add dest value check.
920
921 * rib.c (nexthop_active_ipv6): Do not touch IPv6 nexthop's
922 ifindex.
923 (rib_add_ipv4): Import rib_add_ipv6() same route check code.
924 (nexthop_active_check): NEXTHOP_TYPE_IPV6_IFINDEX activity is only
925 checked by ifindex.
926
927 * rt_socket.c (kernel_rtm_ipv6_multipath): New function.
928
929 * redistribute.c (redistribute_add): Use
930 zsend_ipv6_add_multipath().
931 (redistribute_delete_multipath): Use
932 zsend_ipv6_delete_multipath().
933
934 * interface.c (ip_address): Check current IP address to avoid
935 duplicate.
936
937 * rib.c (rib_delete_ipv4): When deleted route is connected route,
938 check ifindex.
939 (rib_add_ipv4): When connected route is added do not perform
940 implicit withdraw.
941 (rib_delete_ipv4): Check ifindex for connected route.
942
943 * kernel_socket.c (rtm_read): When route has RTF_STATIC, set
944 ZEBRA_FLAG_STATIC for indicate as persistent route.
945 (ifam_read): Unset interface index from link-local address when
946 IPv6 stack is KAME.
947
948 * rib.c (rib_update): Do not delete persistent kernel route.
949
950 * rib.h (struct new_rib): Integrate RIB_FLAG_* to ZEBRA_FLAG_*.
951
952 * rt_socket.c (kernel_add_ipv6_multipath): Add placeholder.
953 (kernel_delete_ipv6_multipath): Likewise.
954
955 * rt_netlink.c (netlink_talk): Give struct nlsock to netlink_talk.
956
9572001-01-12 Kunihiro Ishiguro <kunihiro@zebra.org>
958
959 * rib.c (rib_update): Revert Matthew Grant's patch
960 zebra_cvs_newribfix.patch. Use struct rib->ifindex for kernel
961 interface index. Introduce NEXTHOP_TYPE_IPV4_IFINDEX to support
962 that. Add support for address deletion situation.
963
9642001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
965
966 * interface.c: Remove HAVE_IF_PSEUDO part.
967
968 * rib.h: Likewise.
969
970 * rt_netlink.c (netlink_link_change): Likewise.
971
9722001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
973
974 * zserv.c: Remove OLD_RIB codes.
975
9762001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
977
978 * zebra-0.90 is released.
979
9802001-01-09 Matthew Grant <grantma@anathoth.gen.nz>
981
982 * interface.c (if_new_intern_ifindex): Allocate a new internal
983 interface index.
984 (if_addr_refresh): Fix up ip addresses configured via zebra.
985 (if_add_update): Handle an interface addition.
986 (if_delete_update): Handle an interface delete event.
987
988 * rib.c (nexthop_ipv4_add): Add kernel route deletion process when
989 interface goes down.
990
9912001-01-08 Kunihiro Ishiguro <kunihiro@zebra.org>
992
993 * interface.c (if_dump_vty): When HAVE_NET_RT_IFLIST is defined,
994 NetBSD also use this function. Suggested by Jasper Wallace
995 <jasper@ivision.co.uk>.
996
9972001-01-07 Kunihiro Ishiguro <kunihiro@zebra.org>
998
999 * rib.c (nexthop_active_ipv4): Move back to set methodo to old
1000 one.
1001
10022001-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1003
1004 * rib.c (rib_add_ipv4): EBGP multihop set ZEBRA_FLAG_INTERNAL
1005 flag, so treat it.
1006
10072001-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1008
1009 * rt_netlink.c (netlink_talk_ipv6): When IPv6 route message is
1010 sent from netlink_cmd, the same message comes from netlink. To
1011 avoid confusion, temporary netlink_talk_ipv6 use netlink.sock
1012 instead of netlink_cmd.sock.
1013
10142001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1015
1016 * zserv.h (ZEBRA_SERV_PATH): Change "/tmp/zebra" to "/tmp/.zebra".
1017 Change "/tmp/zserv" to "/tmp/.zserv".
1018
10192000-12-29 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
1020
1021 * rt_netlink.c (struct nlsock): Divide kernel message into listen
1022 socket and command socket.
1023 (netlink_talk): Remove socket listen code. Use netlink_parse_info
1024 for read kernel response.
1025
10262000-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1027
1028 * rib.c (vty_show_ip_route): Show uptime of the RIP,OSPF,BGP
1029 routes.
1030
10312000-12-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1032
1033 * rt_netlink.c (netlink_route_multipath): Metric value is
1034 reflected to kernel routing table.
1035
1036 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Likewise.
1037
1038 * kernel_socket.c (rtm_write): Likewise.
1039
1040 * rib.c (nexthop_active_ipv4): Only iBGP route perform recursive
1041 nexthop lookup.
1042
1043 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Add ioctl version of
1044 new RIB implementation.
1045
10462000-12-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1047
1048 * rib.h: Remove MULTIPATH_NUM. It is defined by configure script.
1049
10502000-12-25 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1051
1052 * rib.c (rib_if_up): Call rib_fib_set instead of RIB_FIB_SET for
1053 proper redistribution.
1054
10552000-12-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1056
1057 * rib.c (nexthop_active_ipv4): Add self lookup nexthop check.
1058 (show_ip_route_protocol): Support new RIB.
1059
1060 * rt_netlink.c (netlink_route_change): Do not return when gate is
1061 NULL.
1062
10632000-12-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1064
1065 * rib.c (rib_lookup_ipv4_nexthop): IBGP nexthop check function is
1066 updated.
1067 (rib_add_ipv4): Free implicit withdraw route's RIB.
1068
10692000-12-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1070
1071 * rib.c (nexthop_active_ipv4): Check indirect nexthop.
1072
1073 * redistribute.c (redistribute_add_multipath): Redistribution
1074 works with new rib code.
1075
10762000-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1077
1078 * rt_netlink.c (netlink_route_multipath): Check useful nexthop
1079 number.
1080 (netlink_route_multipath): Clear rtnh_flags and rtnh_hops.
1081
1082 * rib.c (nexthop_active_update): Set flag for the rib's nexthop
1083 activity is changed.
1084 (nexthop_active_check): Before checking interface is up, make it
1085 sure the interface exist.
1086
10872000-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1088
1089 * rib.c (ip_route): New RIB prototype.
1090
10912000-11-16 Yon Uriarte <ukl2@rz.uni-karlsruhe.de>
1092
1093 * zserv.c (zsend_interface_add): Send hardware address when
1094 hw_addr_len is greater than 0.
1095
10962000-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1097
1098 * connected.c (connected_up_ipv4): Fix ptop bug. The destination
1099 network should be installed into routing table.
1100 (connected_down_ipv4): Likewise.
1101 (connected_add_ipv4): Change to use connected_up_ipv4.
1102 (connected_delete_ipv4): Likewise.
1103
11042000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1105
1106 * rt_netlink.c (netlink_interface_addr): Revert Harald Welte
1107 <laforge@gnumonks.org>'s ptop patch then back to original code to
1108 avoid duplicated connected route problem. Suggested by Frank van
1109 Maarseveen <F.vanMaarseveen@inter.NL.net>.
1110
1111 * kernel_socket.c (rtm_read): Make behavior consistent even #ifdef
1112 DEBUG is defined. Reported by Jun-ichiro itojun Hagino
1113 <itojun@iijlab.net>.
1114
11152000-10-23 Jochen Friedrich <jochen@scram.de>
1116
1117 * main.c (main): Call zebra_snmp_init() when it is enabled.
1118
11192000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1120
1121 * zserv.c (zebra_serv_un): UNIX domain socket server of zebra
1122 protocol.
1123
11242000-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1125
1126 * rib.c (rib_add_ipv4): Same check bug is fixed.
1127
11282000-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1129
1130 * rib.c (rib_if_down): Remove kernel route when the interface goes
1131 down.
1132
1133 * debug.c: New command "debug zebra kernel" is added.
1134
11352000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1136
1137 * zebra-0.89 is released.
1138
11392000-09-24 Harald Welte <laforge@gnumonks.org>
1140
1141 * rt_netlink.c (netlink_interface_addr): Fix point-to-point address
1142 treatment in netlink interface.
1143
11442000-09-21 David Lipovkov <dlipovkov@OpticalAccess.com>
1145
1146 * rib.c (rib_if_down): Pull static route only. Protocol daemon
1147 must withdraw routes when interface goes down.
1148 (rib_add_ipv4): Check nexthop when replace route.
1149
11502000-09-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1151
1152 * if_ioctl.c (if_getaddrs): New function for looking up
1153 interface's address by getifaddrs().
1154
11552000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1156
1157 * connected.c (connected_delete_ipv4): Add check for connected
1158 address is found or not.
1159 (connected_add_ipv6): Reflect IPv6 connected address change to
1160 protocol daemons.
1161 (connected_delete_ipv6): Likewise.
1162
11632000-09-07 David Lipovkov <davidl@nbase.co.il>
1164
1165 * rib.c (rib_delete_ipv4): Reverted the change from pseudo
1166 interface patch to original. Because ospfd deletes routes using
1167 zero ifindex.
1168
11692000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1170
1171 * zebra-0.88 is released.
1172
11732000-08-15 "Akihiro Mizutani" <mizutani@dml.com>
1174
1175 * rib.c (show_ip_route_protocol): Help string correction.
1176 (show_ip_route_prefix): Check prefix mask.
1177 (show_ip_route_vty_detail): Display distance and metric.
1178
11792000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1180
1181 * zserv.c (zsend_interface_add): Change ifindex store size from
1182 two octet to four.
1183 (zsend_interface_delete): Likewise.
1184 (zsend_interface_address_add): Likewise.
1185 (zsend_interface_address_delete): Likewise.
1186 (zsend_interface_up): Likewise.
1187 (zsend_interface_down): Likewise.
1188
11892000-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1190
1191 * rib.c (rib_add_ipv4): Do not install distance 255 route.
1192
11932000-08-10 Toshiaki Takada <takada@zebra.org>
1194
1195 * interface.c (bandwidth_if), (no_bandwidth_if): Call
1196 zebra_interface_up_update () instead of using if_up() and if_down().
1197
11982000-08-07 "Akihiro Mizutani" <mizutani@dml.com>
1199
1200 * interface.c (bandwidth_if): Fix help string.
1201
12022000-08-07 Matthew Grant <grantma@anathoth.gen.nz>
1203
1204 * interface.c (if_dump_vty): Display bandwidth value.
1205 (bandwidth_if): New command "bandwidth <1-10000000>" is added.
1206 When interface is up, force protocol daemons to recalculate routes
1207 due to cost change.
1208 (no_bandwidth_if): Likewise.
1209 (if_config_write): Output bandwidth configuration.
1210
1211 * zserv.c (zsend_interface_add): Send bandwidth value.
1212 (zsend_interface_up): Likewise.
1213 (zsend_interface_down): Likewise.
1214
1215
12162000-08-07 Michael Rozhavsky <mike@nbase.co.il>
1217
1218 * rib.c (show_ip_route_protocol): "show ip route
1219 (bgp|connected|kernel|ospf|rip|static)" is added.
1220
12212000-08-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1222
1223 * rib.c (rib_lookup_ipv4_nexthop): Check parent node until IGP
1224 nexthop is found.
1225 (rib_add_ipv4_internal): Set fib ifindex to rib ifindex.
1226
12272000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1228
1229 * redistribute.c (redistribute_delete): Fix bug of default route
1230 redistribute treatment.
1231
12322000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1233
1234 * rib.c (rib_init): Install ip_node in rib.c instead of zserv.c.
1235 Change default distance value.
1236
1237 Old New
1238 ------------------------------------------
1239 system 10 0
1240 kernel 20 0
1241 connected 30 0
1242 static 40 1
1243 rip 50 120
1244 ripng 50 120
1245 ospf 60 110
1246 ospf6 49 110
1247 bgp 70 200(iBGP) 20(eBGP)
1248 ------------------------------------------
1249
1250 * zserv.c (client_lookup): Function removed.
1251 (zsend_interface_add): Use client's output buffer. Check ifinfo
1252 flag.
1253 (zsend_interface_delete): Likewise.
1254 Delete ipv4_static_radix and ipv6_static_radix.
1255
12562000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1257
1258 * zserv.h (struct zebra_client): When client request interface
1259 information, ifinfo is set.
1260
1261 * rib.c: Temporary Revert changes for pseudo interface.
1262
1263 * rib.h: Likewise.
1264
1265 * zserv.c: Likewise.
1266
1267 * interface.c: Likewise.
1268
12692000-08-02 David Lipovkov <davidl@nbase.co.il>
1270
1271 * interface.c (zebra_if_init): Install interface "pseudo"
1272 commands.
1273
1274 * rib.c (rib_create): ifname argument is added.
1275 (rib_add_ipv4_pseudo): New function is added.
1276 (rib_delete_ipv4_pseudo): Likewise.
1277
1278 * rib.h : Delete INTERFACE_UNKNOWN definition. Add prototype for
1279 pseudo interface functions.
1280
1281 * rt_netlink.c (netlink_link_change): Check for pseudo interface.
1282
1283 * zserv.c (ip_route): When destination is pseudo interface, call
1284 rib_add_ipv4_pseudo().
1285
1286 * zserv.c (no_ip_route): Trim "unknown" argument.
1287
12882000-07-26 kunitake@dti.ad.jp
1289
1290 * if_ioctl.c (if_get_hwaddr): Fix hardware address length from 8
1291 to 6.
1292
1293 * rtadv.c (rtadv_send_packet): Fix shift bug for hardware address.
1294
12952000-07-24 Akihiro Mizutani <mizutani@dml.com>
1296
1297 * interface.c: Use install_default() for common VTY commands.
1298
12992000-07-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1300
1301 * if_ioctl.c (interface_list_ioctl): A interface list size is
1302 calculated from ifreq->if_addr.sa_len. This is for OpenBSD.
1303
1304 * ioctl.c (if_get_mtu): Remove codes for SIOCGIFDATA.
1305
13062000-07-09 Chris Dunlop <chris@onthe.net.au>
1307
1308 * if_ioctl.c (if_get_index): Add check for HAVE_BROKEN_ALIASES.
1309
13102000-07-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1311
1312 * zserv.c (zebra_client_read): Add ZEBRA_REDISTRIBUTE_{ADD,DELETE}
1313 message handling.
1314
13152000-07-02 David Lipovkov <davidl@nbase.co.il>
1316
1317 * zserv.c: "ip route A.B.C.D/M unknown" command is added.
1318
13192000-06-28 Michael Rozhavsky <mike@nbase.co.il>
1320
1321 * rib.c: Remove old kernel route when new route comes in.
1322
13232000-06-13 David Lipovkov <davidl@nbase.co.il>
1324
1325 * rib.c (rib_if_up): Add check for unknown interface.
1326
13272000-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1328
1329 * rib.h: Define INTERFACE_UNKNOWN.
1330
13312000-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1332
1333 * Makefile.am (EXTRA_DIST): Move irdp.c until implementation is
1334 finished.
1335
13362000-06-05 David Lipovkov <davidl@nbase.co.il>
1337
1338 * interface.c (if_zebra_delete_hook): Call rib_if_delete().
1339
1340 * redistribute.c (zebra_interface_delete_update): New function.
1341
1342 * redistribute.h (zebra_interface_delete_update): New function
1343 prototype.
1344
1345 * rib.c (rib_if_delete): New function. Walk down all routes and
1346 delete all on the interface.
1347
1348 * rib.h: New function prototype.
1349
1350 * rt_netlink.c (netlink_link_change): Call
1351 zebra_interface_delete_update ().
1352
13532000-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1354
1355 * if_ioctl.c (interface_info_ioctl): Check interface's flag before
1356 checking interface's address.
1357
13582000-04-26 Jochen Friedrich <jochen@nwe.de>
1359
1360 * GNOME-PRODUCT-ZEBRA-MIB: New file.
1361
1362 * GNOME-SMI: New file.
1363
13642000-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1365
1366 * irdp.c: New file from 1997 development code.
1367 * irdp.h: Likewise.
1368
13692000-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1370
1371 * rtadv.c (rtadv_send_packet): Enclose router advertisement
1372 logging with IS_ZEBRA_DEBUG_PACKET.
1373
13742000-04-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1375
1376 * zserv.c (zebra_client_close): Remove client structure from
1377 client_list when connection is terminated.
1378
13792000-03-21 David Lipovkov <davidl@nbase.co.il>
1380
1381 * connected.c (connected_add_ipv4): Allows all necessary structure
1382 updates for connected route, but doesn't insert it into rib if
1383 it's interface is down.
1384
13852000-01-21 Hideto Yamakawa <hideto.yamakawa@soliton.co.jp>
1386
1387 * rtread_getmsg.c: Set some definition for Solaris 2.5 and Solaris
1388 2.5.1.
1389
13902000-01-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1391
1392 * rib.c (no_ipv6_route_ifname): Fix buf of cheking return value
1393 from str2prefix_ipv6().
1394
13952000-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1396
1397 * rt_socket.c: Revert to use RTF_HOST for IPv4 with /32 route and
1398 IPv6 with /128 routes.
1399 (kernel_rtm_ipv4): In case of /32 route's gateway is interface. It
1400 should have mask for cloning.
1401
14021999-12-26 Jochen.Friedrich@genorz.de
1403
1404 * interface.c (if_dump_vty): Fix a bug of missing VTY_NEWLINE.
1405
14061999-12-23 Alex Zinin <zinin@amt.ru>
1407 * interface.*: dynamic int up/down support
1408
14091999-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1410
1411 * ipforward_proc.c (dropline): Move dropline() from lib/dropline.c
1412
1413 * rtread_proc.c (proc_route_read): Don't use dropline().
1414
14151999-12-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1416
1417 * kernel_socket.c (rtm_read): When message is RTM_GET, it has own
1418 process's pid.
1419
14201999-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1421
1422 * main.c (main): Change to default log output to ZLOG_STDOUT.
1423
1424 * zserv.c (zebra_serv): More detailed error print.
1425
14261999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1427
1428 * kernel_socket.c (rtm_read): Check old pid for static route
1429 insertion check.
1430
14311999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1432
1433 * interface.c (if_dump_vty): BSDI/OS uses 64bit for interface
1434 statistics counter.
1435
1436 * mtu_kvm.c: New file added.
1437
14381999-11-27 Vladimir B. Grebenschikov <vova@express.ru>
1439
1440 * kernel_socket.c (rtm_write): Set RTF_CLONING flag for
1441 route to the directly connected interface.
1442
14431999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1444
1445 * rt_socket.c: Delete USE_HOST_BIT definition.
1446
14471999-11-21 Michael Handler <handler@sub-rosa.com>
1448
1449 * rtread_getmsg.c: Undef some definition to resolve conflict.
1450
14511999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1452
1453 * kernel_socket.c (rtm_write): Change to use pre stored struct_dl
1454 value for gateway specification.
1455
14561999-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1457
1458 * rt_socket.c (kernel_rtm_ipv4): Even mask is 32 under IPv4 or
1459 128 under IPv6, don't use RTF_HOST.
1460
14611999-11-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1462
1463 * Makefile.am (EXTRA_DIST): Add rtread_getmsg.c.
1464
14651999-11-21 Michael Handler <handler@sub-rosa.com>
1466
1467 * rtread_getmsg.c: Added for Solaris 2.6 support.
1468
14691999-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1470
1471 * rtread_sysctl.c (rtm_read_route): RTM_DELETE handling added.
1472
1473 * rt_socket.c (kernel_read): Better BSD routing socket support.
1474
14751999-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1476
1477 * client_main.c: Disable making obsolete zebra test `client'
1478 command.
1479
14801999-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1481
1482 * zebra.c: Renamed to zserv.c.
1483
1484 * zebra.h: Global definitions are moved to lib/zebra.h. Then
1485 renamed to zserv.h.
1486
14871999-10-15 Jordan Mendelson <jordy@wserv.com>
1488
1489 * if_ioctl.c: Add Linux 2.2.X's alias support and dynamic
1490 interface. Remove ugly MAX_INTERFACE handling codes.
1491
14921999-09-17 Satosi KOBAYASI <kobayasi@north.ad.jp>
1493
1494 * Fix serious bug of IPv6 route deletion.
1495
14961999-09-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1497
1498 * ioctl.c (if_set_prefix): Properly set broadcast address.
1499
15001999-09-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1501
1502 * rib.c (rib_add_ipv6, rib_delete_ipv6): now protocol daemons
1503 can install connected route to kernel via zebra
1504
15051999-08-24 VOP <vop@unity.net>
1506
1507 * rib.c: Include "sockunion.h"
1508
15091999-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
1510
1511 * ipforward.h: New file.
1512
1513 * zebra.h: Obsolete message ZEBRA_GET_ALL_INTERFACE,
1514 ZEBRA_GET_ONE_INTERFACE, ZEBRA_GET_HOSTINFO are deleted.
1515
15161999-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1517
1518 * zebra.h (ZEBRA_INTERFACE_ADDRESS_ADD):
1519 ZEBRA_INTERFACE_{ADD,DELETE} added.
1520
15211999-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1522
1523 * rib.c: show ip route A.B.C.D works.
1524
1525 * zebra.c (zebra_read_ipv4): Add ifindex to zebra messages.
1526
15271999-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1528
1529 * zebra.h: New Zebra message ZEBRA_INTERFACE_{ADD,DELETE} added.
1530
15311999-08-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1532
1533 * interface.h: New file.
1534 * Makefile.am: Add interface.h
1535
15361999-08-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1537
1538 * redistribute.c (zebra_redistribute): give ifindex to client.
1539
15401999-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1541
1542 * main.c (longopts): -k, --keep_kernel option added.
1543
15441999-07-18 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1545
1546 * rt_socket.c (rtm_write): forgot closing socket bug fixed.
1547
15481999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1549
1550 * rib.c (show_ipv6_cmd): if rib is link show interface name.
1551
15521999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1553
1554 * rt_socket.c (rtm_write): use sockaddr_dl when null gateway.
1555
15561999-07-16 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1557
1558 * rt_socket.c (rtm_write): ipv6 route table bug fixed.
1559
15601999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1561
1562 * zebra.c (zebra_read_ipv6): read link prefix from ospf6 support
1563
15641999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1565
1566 * rt_socket.c (kernel_rtm_ipv6): gate treatment bug fixed.
1567
15681999-07-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1569
1570 * if_sysctl.c (ifm_read): Clear sockunion argument before fetching
1571 data. Suggested by "Chris P. Ross" <cross@eng.us.uu.net>
1572
15731999-07-08 HEO SeonMeyong <seirios@Matrix.IRI.Co.Jp>
1574
1575 * interface.c (if_tun_add): Add KAME's gif tunnel setting codes.
1576
15771999-06-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1578
1579 * zebra.c (zebra_serv): Only accept loopback address connection.
1580
15811999-06-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1582
1583 * zebra.h (ZEBRA_ROUTE_EXTERNAL): Add zebra messages flags
1584
15851999-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1586
1587 * ipforward_proc.c: ipforward_on () and ipforward_off () added.
1588
15891999-06-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1590
1591 * ipforward_proc.c (ipforward_ipv6): Check for IPv6 forwarding
1592 using /proc file system is added.
1593
15941999-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1595
1596 * if_ioctl.c (if_get_index): Interface index set bug is fixed by
1597 adding #else at the middle of function. Suggested by David Luyer
1598 <luyer@ucs.uwa.edu.au>.
1599
16001999-05-29 <kunihiro@zebra.org>
1601
1602 * rt_ioctl.c: Comment out #include <linux/ipv6_route.h>.
1603
16041999-05-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1605
1606 * zebra.h (ZEBRA_ROUTE_MAX): Add new define for the max value of
1607 the sort of routes.
1608
16091999-05-25 Patrick Koppen <koppen@rhrk.uni-kl.de>
1610
1611 * rt_netlink.c (netlink_socket): Make netlink socket non-blocking.
1612 (netlink_parse_info): If errno is EWOULDBLOCK then continue to
1613 parse the message.
1614 (netlink_talk): Likewise
1615
16161999-05-17 <kunihiro@zebra.org>
1617
1618 * redistribute.c (zebra_check_addr): Added for loopback address
1619 check.
1620
16211999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1622
1623 * rt_netlink.c (netlink_route_change): Tempolary bypass ipv6 route
1624 change treatment.
1625
1626 * Makefile.am (noinst_HEADERS): redistribute.h added.
1627
1628 * redistribute.h: New file.
1629
16301999-05-14 Stephen R. van den Berg <srb@cuci.nl>
1631
1632 * zebra.c (show_table): Show all table configuration DEFUN.
1633 (config_table): Config table number DEFUN.
1634
1635 * rt_netlink.c: Add support for multiple routing table.
1636
1637 * rib.c (rib_weed_table): New function added for delete all
1638 routes from specified routing table.
1639
1640 * main.c (signal_init): SIGTERM call sigint.
1641 (sigint): Loggging more better message.
1642
16431999-05-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1644
1645 * rt_netlink.c: Change log () to zlog ().
1646
16471999-05-07 <kunihiro@zebra.org>
1648
1649 * zebra.h (ZEBRA_ROUTE_OSPF6): Added for ospf6d route.
1650
16511999-04-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1652
1653 * interface.c: Add `no ip address' command.
1654
16551999-04-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1656
1657 * rt_netlink.c (kernel_read): Function added for asynchronous
1658 zebra between kernel communication.
1659
16601999-03-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1661
1662 * rtread_sysctl.c (rtm_read): Fix address memcopy overrun bug.
1663 Reported by Achim Patzner <ap@bnc.net>.
1664
16651999-03-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1666
1667 * Makefile.am: Install configuration sample with 600 permission.
1668
16691999-03-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1670
1671 * Makefile.am: Add -I.. to INCLUDES.
1672
16731999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
1674
1675 * syslog support added
1676
16771999-02-17 Peter Galbavy <Peter.Galbavy@knowledge.com>
1678
1679 * if_sysctl.c (interface_list): allocated memory free when unknown
1680 ifm_type is returned.
1681
1682 * ioctl.c (if_get_mtu): added SIOCGIFDATA treatment.
1683
16841998-12-15 Magnus Ahltorp <map@stacken.kth.se>
1685
1686 * interface.c: Header include added.
1687
16881998-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1689
1690 * rt.h (kernel_delete_ipv6): change int index to unsigned int index.
1691
16921998-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1693
1694 * if_ioctl.c (interface_list_ioctl): interface flag must be
1695 checked before check addresses of the interface.
1696
16971998-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1698
1699 * Makefile.am (INCLUDES): add @INCLUDES@ for Linux IPv6.
1700
17011998-10-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1702
1703 * ioctl.c: Linux version before 2.1.0 need interface route setup.
1704
17051998-09-15 HEO SeonMeyong <seirios@matrix.iri.co.jp>
1706
1707 * change HYDRANGEA to KAME
1708
17091998-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1710
1711 * if_ioctl.c (if_addr_ioctl): set address family for getting
1712 interface's address.
1713 (if_get_index): silently return when can't get interface's index.
1714
17151998-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1716
1717 * main.c (main): batch mode option '-b' added.
1718
17191998-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1720
1721 * ioctl.c (if_set_prefix): add `ip address IPV4ADDR' command.
1722 * interface.c (shutdown_if): add interface shutdown and no
1723 shutdown command.
1724
17251998-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1726
1727 * rib.c (rib_add_ipv6): delete rib_add_in6.
1728
17291998-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1730
1731 * main.c: retain flag is added.
1732
17331998-07-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1734
1735 * rtable.[ch]: merged with rib.[ch]
1736
17371998-07-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1738
1739 * connected.h: renamed from ifa.h.
1740
17411998-06-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1742
1743 * rename if.c to interface.c
1744 * rename ifa.c to connected.c
1745
1746 * Porting to Debian GNU/Linux 2.0 (hamm).
1747
17481998-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1749
1750 * rt_netlink.c: renamed from krt_netlink.c
1751
1752 * fib.c: deleted.
1753 * rt_kvm.c: deleted.
1754 * rtread_getmsg.c: deleted.
1755
17561998-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1757
1758 * if.c (multicast): add multicast flag [un]set fucntion.
1759
17601998-05-19 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1761
1762 * rt_socket.c: Modify for compile on Solaris, but dont't work it.
1763 rt_socket.c have some undefined function, so add directive "IMPLEMENT"
1764
17651998-05-18 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1766
1767 * zebra.c: Modify for compile on Solaris.
1768
17691998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1770
1771 * main.c: change CONFDIR to SYSCONFDIR.
1772
17731998-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1774
1775 * .cvsignore: added.
1776
17771998-04-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1778
1779 * client.c: moves to ../lib.
1780
17811998-03-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1782
1783 * if_ioctl.c (if_get_addr): Change address copy from memcopy() to
1784 structure assignment.
1785
17861998-03-30 URA Hiroshi <ura@yamato.ibm.co.jp>
1787
1788 * if_sysctl.c (ifm_interface_add): sdl->sdl_data copy bug fixed.
1789
17901998-02-23 "Hannes R. Boehm" <hannes@boehm.org>
1791
1792 * if.c (if_init): add config_exit_cmd and config_help_cmd.
1793
17941998-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
1795
1796 * rt_ioctl.c (route_ioctl): EPERM treatment added.
1797
17981998-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1799
1800 * rt_socket.c (kernel_read): communication port zebra between
1801 kernel is now handled by kernel_read.
1802
18031998-01-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1804
1805 * main.c (main): zebra [-P port] can specify vty port number.
1806
18071997-12-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1808
1809 * zebra.c: change select will be block.
1810
18111997-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1812
1813 * add static route treatment.
1814
18151997-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1816
1817 * rt_netlink.c: add netlink support over GNU/Linux system.
1818
18191997-11-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1820
1821 * all inet_addr is changed to inet_aton.
1822
1823 * zebra.c (ip_route): add ip route command for static routes.
1824
18251997-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1826
1827 * if.c (if_flag_dump): Linux port of if_flag_dump and _vty.
1828
18291997-11-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1830
1831 * if.c: add interface command.
1832
18331997-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1834
1835 * ipforward_proc.c : Now works on Linux.
1836
18371997-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1838
1839 * command.c : add completion feature.
1840
18411997-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1842
1843 * vty.c (vty_command): add vty interface.
1844
18451997-10-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1846
1847 * zebra.c: add verbose mode.
1848
18491997-10-12 SonMyong Ho <s-ho@Matrix.IRI.Co.Jp>
1850
1851 * Hydrangea for FreeBSD supported
1852 * in.h: add some prototype.
1853
18541997-10-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1855
1856 * rt_socket.c and rtread.c completely rewritten.
1857
18581997-10-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1859
1860 * rt_socket.c: rename kernel_sock to routing_socket
1861
18621997-10-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1863
1864 * if.c (if_new): interface structure change from linklist to vector.
1865
18661997-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1867
1868 * vector.c (vector_init): create vector related function
1869
18701997-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1871
1872 * Makefile.in: add tags target
1873
1874 * start IPv6 support for INRIA FreeBSD.
1875