blob: 4ddf101fd1132562c0760aa09001fd0498826cd4 [file] [log] [blame]
paul4d38fdb2005-04-28 17:35:14 +000012005-04-28 Paul Jakma <paul.jakma@sun.com>
2
3 * rib.h: (struct rib) Add lock field for refcounting.
4 * zserv.h: (struct zebra_t) Add a ribq workqueue to the zebra
5 'master' struct.
6 * zserv.c: (zread_ipv4_add) XMALLOC then memset should be XCALLOC.
7 * zebra_rib.c: Clean up refcounting of route_node, make struct rib
8 refcounted and convert rib_process to work-queue. In general,
9 rib's should be rib_addnode'd and delnode'd to route_nodes, and
10 these symmetrical functions will manage the locking of referenced
11 route_node and freeing of struct rib - rather than having users
12 manage each seperately - with much scope for bugs..
13 (newrib_free) removed and replaced with rib_lock
14 (rib_lock) new function, check state of lock and increment.
15 (rib_unlock) new function, check lock state and decrement. Free
16 struct rib if refcount hits 0, freeing struct nexthop's, as
17 newrib_free did.
18 (rib_addnode) Add RIB to route_node, locking both.
19 (rib_delnode) Delete RIB from route_node, unlocking each.
20 (rib_process) Converted to a work-queue work function.
21 Functional changes are minimal, just arguments, comments and
22 whitespace.
23 (rib_queue_add_qnode) Helper function to setup a ribq item.
24 (rib_queue_add) Helper function, same arguments as old
25 rib_process, to replace in callers of rib_process.
26 (rib_queue_qnode_del) ribq deconstructor.
27 (rib_queue_init) Create the ribq.
28 (rib_init) call rib_queue_init.
29 (remainder) Sanitise refcounting of route_node's. Convert to
30 rib_queue_add, rib_addnode and rib_delnode. Change XMALLOC/memset
31 to XCALLOC. Remove calls to nexthop_delete and nexthop_free.
32
paulcf460ef2005-04-10 16:54:26 +0000332005-04-10 Paul Jakma <paul@dishone.st>
34
35 * if_ioctl_solaris.c: (if_lookup_linklocal) fix order of args
36 in ALL_LIST_ELEMENTS_RO macro.
37
ajs57a14772005-04-10 15:01:56 +0000382005-04-10 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
39
40 * zserv.c (zebra_client_read): Fix bug: first read attempt should
41 read ZEBRA_HEADER_SIZE minus the number of bytes already read.
42 Improve efficiency by maintaining a calculation of the number
43 of bytes read instead of calling stream_get_endp multiple times.
44 If message length is too small, issue a warning message (not debug)
45 before closing the connection. And also check that message length
46 is not too big.
47
hasso206d8052005-04-09 16:38:51 +0000482005-04-09 Hasso Tepper <hasso at quagga.net>
49
hassofa599802005-04-09 16:59:28 +000050 * rt_netlink.c: One tiny missing comma caused pointless debug messages
51 about IPv6 nexthops.
52
532005-04-09 Hasso Tepper <hasso at quagga.net>
54
hasso206d8052005-04-09 16:38:51 +000055 * rt_netlink.c (netlink_parse_info): Fix warning. It's safe to cast
56 status to unsigned here, because we already checked that it isn't
57 negative or 0.
58 * rt_netlink.c (netlink_interface_addr): Prefix length belongs to the
59 address, not to the interface.
60 * rt_netlink.c (netlink_route_multipath): Fix debug. No useless info
61 is printed out now and IPv6 info is handeled.
62
paul3d1dc852005-04-05 00:45:23 +0000632005-04-05 Paul Jakma <paul@dishone.st>
64
65 * zserv.c: print more helpful errors when we fail to successfully
66 bind and listen on zserv socket. Closes bugzilla #163.
67
ajsd2fc8892005-04-02 18:38:43 +0000682005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
69
ajs08dbfb62005-04-03 03:40:52 +000070 * if_ioctl.c: (interface_list_ioctl) Use if_get_by_name_len.
71 * if_proc.c: (ifaddr_proc_ipv6) Increase size of ifname buffer to
72 avoid overflow.
73 * kernel_socket.c: (ifan_read) Use if_get_by_name_len.
74
752005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
76
ajsa3491982005-04-02 22:50:38 +000077 * kernel_socket.c: (ifm_read) Use new if_lookup_by_name_len function
78 to save a memcpy.
79 * if_ioctl_solaris.c: (interface_list_ioctl) Fix subtle bug with new
80 if_get_by_name_len function.
81
822005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
83
ajsd2fc8892005-04-02 18:38:43 +000084 * interface.c: (if_new_intern_ifindex) Remove obsolete function.
85 (if_delete_update) After distributing the interface deletion message,
86 set ifp->ifindex to IFINDEX_INTERNAL.
87 (if_dump_vty) Detect pseudo interface by checking if ifp->ifindex is
88 IFINDEX_INTERNAL.
89 (zebra_interface) Check return code from interface_cmd.func.
90 Do not set internal ifindex values to if_new_intern_ifindex(),
91 since we now use IFINDEX_INTERNAL for all pseudo interfaces.
92 * kernel_socket.c: (ifm_read) Fix code and comments to reflect that
93 all internal interfaces now have ifp->ifindex set to IFINDEX_INTERNAL.
94 * rt_netlink.c: (set_ifindex) New function used to update ifp->ifindex.
95 Detects interface rename events by checking if that ifindex is already
96 being used. If it is, delete the old interface before assigning
97 the ifindex to the new interface.
98 (netlink_interface, netlink_link_change) Call set_ifindex to update
99 the ifindex.
100
hassob7ed1ec2005-03-31 20:13:49 +00001012005-03-31 Hasso Tepper <hasso at quagga.net>
102
103 * rt_netlink.c (netlink_talk_filter): Show always warning message,
104 it's not for debug.
105 * rt_netlink.c (netlink_talk): Don't assume we use netlink_cmd
106 although we do now actually.
107 * rt_netlink.c (netlink_route, netlink_route_multipath): Always use
108 netlink_cmd to send messages to the kernel.
109
ajs2da40f42005-03-30 16:33:13 +00001102005-03-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
111
112 * irdp.h: Add prototype for irdp_sock_init, and fix protos for
113 other irdp_* functions.
114 * irdp_interface.c: (irdp_if_start) If irdp_sock is negative,
115 call irdp_sock_init to create the IRDP socket.
116 (irdp_if_init) Rename to irdp_init().
117 (get_iflist_ifp) Remove function that is a duplicate of
118 if_lookup_by_index.
119 (*) Make many functions static. And remove superfluous "\n" from
120 several zlog messages.
121 * irdp_main.c: (irdp_init) Remove function that used to call
122 irdp_if_init() and irdp_sock_init(), since we will now create
123 the socket only upon first use.
124 (irdp_sock_init) Do not update global irdp_sock variable, just
125 return the fd and assume that the caller will do so. If setsockopt
126 calls fail, close the socket before returning -1.
127 (*) Make many functions static.
128 * irdp_packet.c: Initialize irdp_sock to -1.
129 (irdp_read_raw) Call standard library function if_lookup_by_index
130 instead of get_iflist_ifp.
131 (irdp_recvmsg) Should be static, not global.
132
ajsa608bbf2005-03-29 17:03:49 +00001332005-03-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
134
135 * rt_netlink.c: (netlink_link_change) If the status of an
136 operative interface changes (e.g. MTU changes), the client
137 daemons should be notified by calling zebra_interface_up_update.
138 Previously, the information was being updated in zebra's
139 interface structure, but the clients were not notified of
140 changes to an operative interface.
141
vincent7cee1bb2005-03-25 13:08:53 +00001422005-03-25 Jean-Mickael Guerin <jean-mickael.guerin@6wind.com>
143 * interface.c, interface.h, rtadv.c, rtadv.h: modifications to
144 IPv6 Neighbor Discovery according to RFC3775, section 7:
145 o 1-bit Home Agent flag management in Router Advertisement (7.1).
146 o 1-bit Router Address flag management in Prefix Information
147 Option (7.2).
148 o Advertisement Interval Option (7.3)
149 o Home Agent Information Option (7.4)
150 o Changes to Sending Router Advertisements more frequently (7.5)
151
hassoed9bb6d2005-03-13 19:17:21 +00001522005-03-13 Hasso Tepper <hasso at quagga.net>
153
154 * zebra/interaface.c: "show interface description" command
155 implemented.
156
paulc1f01f32005-03-12 06:33:14 +00001572005-03-12 Paul Jakma <paul@dishone.st>
158
159 * rt_netlink.c: (netlink_route_multipath) dont set equalise flag.
160 No stock Linux kernel has ever supported it, and even if it had
161 it's not generally a good idea.
162
hasso42a66d72005-03-07 08:19:44 +00001632005-03-07 Michael Sandee <voidptr@voidptr.sboost.org>
164
165 * if_proc.c, ipforward_proc.c, rtread_proc.c: Fix fd leaks.
166
hasso3452d472005-03-06 13:42:05 +00001672005-03-06 Hasso Tepper <hasso at quagga.net>
168
169 * interface.c: Fix CRC and frame errors statistics in Linux.
170
ajs719e9742005-02-28 20:52:15 +00001712005-02-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
172
173 * zserv.c: Must include network.h and buffer.h for non-blocking I/O.
174 Remove global message_queue and t_write (need separate buffering for
175 each client).
176 (zebra_server_dequeue,zebra_server_enqueue) Remove functions
177 related to old buggy buffering code.
178 (zserv_delayed_close) New thread callback function to delete a client.
179 (zserv_flush_data) New thread callback function to flush buffered
180 data to client.
181 (zebra_server_send_message) Rewritten to use buffer_write (so
182 buffering of writes and non-blocking I/O work properly).
183 (zsend_interface_add,zsend_interface_delete,zsend_interface_address,
184 zsend_interface_update) Return 0 instead of -1 if !client->ifinfo
185 (this is not really an error). Return value from
186 zebra_server_send_message.
187 (zsend_route_multipath,zsend_ipv4_nexthop_lookup,
188 zsend_ipv4_import_lookup) Return value from zebra_server_send_message.
189 (zsend_ipv6_nexthop_lookup) Fix scope to static, and return value
190 from zebra_server_send_message.
191 (zsend_router_id_update) Must use zebra_server_send_message instead
192 of deprecated writen function. Return 0 instead of -1 if this client
193 is not subscribed to router-id updates (since this is not really
194 an error).
195 (zread_interface_add) Change type to static int. If
196 zsend_interface_add fails or zsend_interface_address fails, return -1
197 immediately (since the client has had an I/O error).
198 (zread_interface_delete,zread_ipv4_add,zread_ipv4_delete,
199 zread_ipv6_add,zread_ipv6_delete,zread_router_id_delete) Return 0
200 to indicate success.
201 (zread_ipv4_nexthop_lookup) Return value from
202 zsend_ipv4_nexthop_lookup.
203 (zread_ipv4_import_lookup) Return value from zsend_ipv4_import_lookup.
204 (zebra_read_ipv6) Remove unused function.
205 (zread_ipv6_nexthop_lookup) Return value from
206 zsend_ipv6_nexthop_lookup.
207 (zread_router_id_add) Return value from zsend_router_id_update.
208 (zebra_client_close) Call buffer_free(client->wb) and
209 thread_cancel(client->t_suicide).
210 (zebra_client_create) Allocate client->wb using buffer_new.
211 (zebra_client_read) Support non-blocking I/O by using stream_read_try.
212 Use ZEBRA_HEADER_SIZE instead of 3.
213 (zebra_accept) Fix bug: reset accept thread at top. Make client
214 socket non-blocking using the set_nonblocking function.
215 (config_write_forwarding) Fix scope to static.
216 (zebra_init) Remove initialization code for old buggy write buffering.
217 * zserv.h: Add 2 new fields to struct zserv: struct buffer *wb
218 (to enable buffered writes with non-blocking I/), and
219 struct thread *t_suicide to support delayed close on I/O
220 errors.
221 * router-id.h: Remove prototypes for zread_router_id_add and
222 zread_router_id_delete (their scope should be static to zserv.c).
223
ajs27da3982005-02-24 16:06:33 +00002242005-02-24 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
225
226 * redistribute.c: (zebra_check_addr,is_default,
227 zebra_redistribute_default,zebra_redistribute) Fix scope to be static.
228
hassoe8274dc2005-02-20 19:09:23 +00002292005-02-20 Hasso Tepper <hasso at quagga.net>
230
231 * rt_netlink.c: Don't show messages "ignoring message type 0x001[89]"
232 if we are not debugging.
233
paule31f2292005-02-19 02:00:26 +00002342005-02-19 Paul Jakma <paul@dishone.st>
235
236 * zserv.c: (zebra_read_ipv6) replace the char * arithmetic with
237 STREAM_READABLE.
238
paul1e193152005-02-14 23:53:05 +00002392005-02-14 Paul Jakma <paul@dishone.st>
240
241 * Not all Linux netlink systems have IFLA_WIRELESS
242
ajs6a52d0d2005-01-30 18:49:28 +00002432005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
244
245 * ioctl.c: (if_ioctl,if_ioctl_ipv6,if_get_flags) Replace perror with
246 zlog_err.
247 * ioctl_solaris.c: (if_ioctl,if_ioctl_ipv6) Replace perror with
248 zlog_err.
249
ajs4be019d2005-01-29 16:12:41 +00002502005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
251
ajs4460e7a2005-01-29 17:07:40 +0000252 * if_ioctl_solaris.c: (interface_list_ioctl) Save errno before calling
253 zserv_privs.change.
254 * ioctl{,_solaris}.c: (if_ioctl,if_ioctl_ipv6) Save errno before calling
255 zserv_privs.change.
256 * ipforward_solaris.c: (solaris_nd) Save errno before calling
257 zserv_privs.change.
258 * irdp_main.c: (irdp_sock_init) Save errno before calling
259 zserv_privs.change.
260
2612005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
262
ajs4be019d2005-01-29 16:12:41 +0000263 * rt_netlink.c: (netlink_socket,netlink_request,netlink_parse_info,
264 netlink_talk) Save errno before calling zserv_privs.change.
265
paulc15cb242005-01-24 09:05:27 +00002662005-01-24 Martin Pot <mpot at martybugs.net>
267
268 * zebra/rt_netlink.c: ignore wireless newlink netlink messages.
269
hasso6f2c27a2005-01-18 13:44:35 +00002702005-01-18 Hasso Tepper <hasso at quagga.net>
271
272 * interface.c: Better statistics output in "show interface" command in
273 case of /proc being used.
274
hasso583d8002005-01-16 23:34:02 +00002752005-01-17 Hasso Tepper <hasso at quagga.net>
276
277 * main.c: With --nl-bufsize argument is required.
278
paul865b8522005-01-05 08:30:35 +00002792005-01-05 Paul Jakma <paul@dishone.st>
280
281 * zserv.c: (zebra_accept) Comment out setting of socket to NONBLOCK
282 for now, as we dont actually deal with with resending.... See
283 bugzilla #122, fix from wawa@yandex-team.ru (Vladimir Ivanov).
284 * kernel_socket.c: (routing_socket) ditto.
285
ajsb99760a2005-01-04 16:24:43 +00002862005-01-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
287
288 * rtadv.c: (rtadv_recv_packet,rtadv_send_packet) Use ZCMSG_FIRSTHDR
289 instead of CMSG_FIRSTHDR.
290
ajs341a8f12004-12-22 16:32:16 +00002912004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
292
293 * connected.c: (connected_add_ipv4) Limit warning about /32 addresses
294 with no peer specified to PtP interfaces only.
295
hassob8adec12004-12-18 16:03:28 +00002962004-12-18 Hasso Tepper <hasso at quagga.net>
297
298 * zebra_vty.c: Fix "show ipv6 route <proto>" command help and make it
299 work for isis routes.
300
gdt6a250b02004-12-09 14:48:12 +00003012004-12-09 Greg Troxel <gdt@fnord.ir.bbn.com>
302
303 * kernel_socket.c (rtmsg_debug): char * => const char *
304
ajs274a4a42004-12-07 15:39:31 +00003052004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
306
ajsb6178002004-12-07 21:12:56 +0000307 * *.c: Change level of debug messages to LOG_DEBUG.
308
3092004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
310
ajs274a4a42004-12-07 15:39:31 +0000311 * main.c: (main) The 2nd argument to openzlog has been removed.
312 So stdout logging will no longer be enabled by default.
313 * irdp_main.c: (irdp_finish) Reduce severity of shutdown message
314 from LOG_WARNING to LOG_INFO.
315
ajs887c44a2004-12-03 16:36:46 +00003162004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
317
318 * main.c: (sigint) Use zlog_notice for termination message.
319 (main) Add a startup announcement using zlog_notice.
320
hassoaccb1562004-11-25 19:21:07 +00003212004-11-25 Hasso Tepper <hasso at quagga.net>
322
323 * irdp_interface.c: Remove comment from DEFUN, it breaks vtysh because
324 it confuses extract.pl.
hassoc0652302004-11-25 19:33:48 +0000325 * main.c: Make group to run as configurable.
hassoaccb1562004-11-25 19:21:07 +0000326
hasso6bd7c6a2004-10-28 17:32:27 +00003272004-10-28 Hasso Tepper <hasso at quagga.net>
328
329 * interface.c: Remove dead "ip tunnel" command.
330
paul06f953f2004-10-22 17:00:38 +00003312004-10-22 Paul Jakma <paul@dishone.st>
332
333 * irdp_main.c: change setsockopt_pktinfo to setsockopt_ifindex
334
hasso3fb9cd62004-10-19 19:44:43 +00003352004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
336
337 * rt_netlink.c: (netlink_interface_addr) For PtP interfaces, ignore
338 tb[IFA_ADDRESS] if it's the same as tb[IFA_LOCAL].
339 * interface.c: (ip_address_install) Use new ipv4_broadcast_addr
340 function.
341 * connected.c: (connected_up_ipv4) Use CONNECTED_POINTOPOINT_HOST
342 macro.
343 (connected_down_ipv4) ditto.
344 (connected_add_ipv4) Validate destination address, print warnings
345 if it does not make sense.
346
hassoc1eaa442004-10-19 06:26:01 +00003472004-10-19 Hasso Tepper <hasso at quagga.net>
348
349 * zserv.c: Fix regression introduced with zserv cleanup.
350
hassoc75105a2004-10-13 10:33:26 +00003512004-10-13 Hasso Tepper <hasso at quagga.net>
352
353 * zebra_snmp.c: Remove defaults used to initialize smux connection to
354 snmpd. Connection is initialized only if smux peer is configured.
hassob71f00f2004-10-13 12:20:35 +0000355 * zserv.c: Remove useless warnings "forwarding is already on".
hassoc75105a2004-10-13 10:33:26 +0000356
hasso39ff11d2004-10-12 15:55:19 +00003572004-10-12 Hasso Tepper <hasso at quagga.net>
358
359 * zebra_vty.c: Unbreak "show ip route" command help and make it work
360 for isis routes.
hasso39db97e2004-10-12 20:50:58 +0000361 * interface.c(if_dump_vty): Show IPv6 addresses in "show interface"
362 output. Fixes Bugzilla #119.
363 * *.c: Make some strings const and some (unsigned) casts to fix
364 compiler warnings.
hasso39ff11d2004-10-12 15:55:19 +0000365
hassofce954f2004-10-07 20:29:24 +00003662004-10-07 Hasso Tepper <hasso at quagga.net>
367
368 * connected.c, main.c, rt_netlink.c, rtadv.c, zebra_rib.c, zserv.c:
369 Fix warnings: make strings const, signed -> unsigned.
370
paul72164662004-10-05 14:39:43 +00003712004-10-05 Paul Jakma <paul@dishone.st>
372
373 * irdp_packet.c: (parse_irdp_packet) style issues.
374 Use sockopt_iphdrincl_swab_systoh.
375 Try unbork the code. Checksum the ICMP data and actually
376 compare it to received checksum. Check data length against
377 claimed length in header.
378 Always use ntoh.. when accessing addresses, even when the
379 comparison happens to be endian-safe.
380 (send_packet) minor style isues. Use
381 sockopt_iphdrincl_swab_htosys.
382 (irdp_iph_hton/ntoh) IP header to/from network/host order.
383
hassoeef1fe12004-10-03 18:46:08 +00003842004-10-03 Gilad Arnold <gilad.arnold at terayon.com>
385
386 * interface.c, interface.h: A new prefix tree of connected subnets is
387 associated with each interface structure in zebra, in which each
388 live (ie, non-synthetic) node holds a list of installed addresses
389 that belong to that prefix. Remove secondary address logic from cli.
390 See [quagga-dev 872] for detailed explanation.
391 * connected.c: Use if_subnet_add() and if_subnet_delete().
392
hasso18a6dce2004-10-03 18:18:34 +00003932004-10-03 James R. Leu <jleu at mindspring.com>
394
395 * router-id.c, router-id.h: New files. Router id selection process. If
396 there is non 127.x.x.x address in loopack interface, lowest of them
397 is chosen. If there isn't, lowest from other interfaces addresses
398 are chosen. "router-id x.x.x.x" vty command to manual override.
399 * Makefile.am: Compile new files.
400 * main.c: Initialize router id.
401 * redistribute.c: Add interface addresses into router id selection
402 lists as they (dis)appear.
403 * zserv.c, zserv.h: Sending router id related messages to daemons.
404
hassoc9e52be2004-09-26 16:09:34 +00004052004-09-26 Hasso Tepper <hasso at quagga.net>
406
407 * irdp_interface.c, irdp_main.c, irdp_packet.c, rt_netlink.c,
408 rtadv.c, zebra_vty.c: Fix compiler warnings.
409
paul0c0f9112004-09-24 08:24:42 +00004102004-09-24 Paul Jakma <paul@dishone.st>
411
paul26f7a242004-09-24 08:45:10 +0000412 * irdp_interface.c: (no_ip_irdp_address_preference_cmd)
413 add missing listnode declaration.
414
4152004-09-24 Paul Jakma <paul@dishone.st>
416
paul0c0f9112004-09-24 08:24:42 +0000417 * irdp_{interface,main}.c: lists typedef removal cleanup.
418 update some list loops to LIST_LOOP. some miscellaneous style
419 and indent fixups.
420 (no_ip_irdp_address_preference_cmd) Fix delete of referenced node
paul26f7a242004-09-24 08:45:10 +0000421 in loop.
paul0c0f9112004-09-24 08:24:42 +0000422 * irdp_packet.c: (irdp_recvmsg) Fix buggy assignment of integer
423 to pointer.
424 * if_ioctl{,_solaris}.c: lists typedef removal cleanup.
425 update some list loops to LIST_LOOP.
426
hasso52dc7ee2004-09-23 19:18:23 +00004272004-09-23 Hasso Tepper <hasso at quagga.net>
428
429 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
430
paul44983cf2004-09-22 13:15:58 +00004312004-09-22 Paul Jakma <paul.jakma@sun.com>
432
433 * zserv.c: (zsend_route_multipath) fix nasty bad memset of struct
434 in_addr to sizeof(struct in6_addr), causing odd and hard to debug
435 crash.
436
hassoc34b6b52004-08-31 13:41:49 +00004372004-08-31 Hasso Tepper <hasso at quagga.net>
438
439 * main.c, rt_netlink.c: Added -s command line switch for tuning
440 netlink receive buffer size in Linux to avoid buffer overruns.
441
gdta5ea6872004-08-26 13:24:00 +00004422004-08-26 Miles Nordin <carton@Ivy.NET>
443
444 * ipforward_sysctl.c (mib_ipv6): Use size_t for len, per
445 sysctl(3), rather than int. (Needed on NetBSD/alpha to display
446 forwarding status correctly.)
447
paul3e0b3a52004-08-23 18:58:32 +00004482004-08-23 Paul Jakma <paul@dishone.st>
449
450 * zserv.c: (zebra_init) remove implicit ip forward enabling
451
paul0de1cde2004-08-19 04:45:33 +00004522004-08-19 Paul Jakma <paul@dishone.st>
453
454 * irdp_main.c: update to match sockopt renames.
455 * irdp_packet.c: include sockopt.h and update to match sockopt
456 renames.
457
gdt57492d52004-08-11 18:06:38 +00004582004-08-11 Greg Troxel <gdt@fnord.ir.bbn.com>
459
460 * rtadv.c (rtadv_send_packet): Allocate space for control messages
461 more carefully; it was wrong on NetBSD/sparc where CMSG alignment
462 is to 8 bytes instead of 4, and overwriting the address. Use the
463 provided macros for determining lengths.
464
paul5b73a672004-07-23 15:26:14 +00004652004-07-23 Sowmini Varadhan <Sowmini.Varadhan@Sun.COM>
466
467 * if_ioctl_solaris.c: HAVE_IPV6 ifdef fixups
468 * zserv.c: ditto
469 * ioctl_solaris.c: ditto.
470 * interface.c: cast for LLADDR
471 * interface.h: Add guards, include redistribute.h and remove
472 extraneous definitions of zebra_interface_{up,down}_update
473 * ioctl.h: Add AF_IOCTL define for non SOLARIS_IPV6
474 * redistribute.h: include dependent header, zserv.h
475 * zserv.h: include dependent header, rib.h
476
paul1470baf2004-07-23 15:25:01 +00004772004-07-23 Paul Jakma <paul@dishone.st>
478
479 * irdp_main.c: use setsockopt_pktinfo_ipv4
480 * irdp_packet.c: use SOPT_SIZE_CMSG_PKTINFO_IPV4 and
481 getsockopt_pktinfo_ifindex()
482
gdtcced60d2004-07-13 16:45:54 +00004832004-07-13 David Wiggins <dwiggins@bbn.com
484
485 * kernel_socket.c (rtm_flag_dump): terminate buffer with '\0', not '0'.
486
hasso25dac852004-07-13 03:06:51 +00004872004-07-13 Hasso Tepper <hasso@estpak.ee>
488
489 * irdp_main.c: Add privilege change.
490
hasso996933f2004-07-12 16:32:56 +00004912004-07-12 Hasso Tepper <hasso@estpak.ee>
492
493 * irdp_interface.c: follow common style while naming vty command
494 functions. Avoids confusion in extract.pl.
495
gdt87efd642004-06-30 17:36:11 +00004962004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
497
498 * main.c: define thread_master variable so that linking with
499 libzebra.so doesn't fail. Arguably zclient.o should be in a
500 separate library, but this is far less disruptive.
501
hassoca776982004-06-12 14:33:05 +00005022004-06-12 Robert Olsson <Robert.Olsson at data.slu.se>
503
504 * Added IRDP support.
505
hasso3e31cde2004-05-18 11:58:59 +00005062004-05-18 Hasso Tepper <hasso@estpak.ee>
507
508 * rtadv.c: Removed "[no] ipv6 nd send-ra" command. Replaced "ipv6 nd
509 prefix-advertisement" with "ipv6 nd prefix". Rewrite syntax of
510 "ipv6 nd prefix" command to allow various combinations of parameters
511 and flags. No defaults in configuration. Replaced on-link and
512 autoconfig with off-link and no-autoconfig flags in command syntax.
513 Cosmetic fixes in all commands. Documentation to reflect all changes.
514
paul19877dd2004-05-11 10:49:35 +00005152004-05-11 Paul Jakma <paul@dishone.st>
516
517 * Makefile.am: support for IOCTL_METHOD, as per Sowmini's patch.
paul48a46fa2004-05-11 10:55:22 +0000518 * if_ioctl_solaris.c: Fixup some erroneous privilege changes and
519 add privs.h header.
520 * ioctl_solaris.c: ditto
paulc50ae8b2004-05-11 11:31:07 +0000521 * ioctl.h: Add if_ioctl_ipv6 prototype and AF_IOCTL for SOLARIS_IPV6
522 * kernel_socket.c: Fix SAROUNDUP, compiler doesnt like do..while
523 RHS in assignments :)
524 * redistribute.c: (zebra_interface_delete_update) only used
525 if RTM_IFANNOUNCE and NETLINK is available.
526
paulb9df2d22004-05-09 09:09:59 +00005272004-05-09 Paul Jakma <paul@dishone.st>
528
529 * zserv.c: (zsend_route_multipath) Set the nexthop_num
530 field correctly. Add NEXTHOP_TYPE_IPV6_IFNAME for v6.
531 Conditionally set ZAPI_MESSAGE_METRIC flag - only for adds.
532 (zsend_ipv4_add) cruft, deleted.
533 (zsend_ipv4_delete) ditto.
534 (zsend_ipv6_add) ditto.
535 (zsend_ipv6_delete) ditto.
paul44145db2004-05-09 11:00:23 +0000536 * ioctl.c: (if_get_mtu) set mtu6 to mtu
537 * mtu_kvm.c: (if_kvm_get_mtu) set mtu6 to mtu
538 * rt_netlink.c: (netlink_interface) set mtu6 to mtu
539 (netlink_link_change) ditto
paul66e94882004-05-09 17:19:24 +0000540 * ipforward_solaris.c: fix typo of ND variable.
paul88424682004-05-09 18:21:35 +0000541 * if_ioctl_solaris.c: Add zprivs support.
542 * ioctl_solaris.c: ditto.
paul66e94882004-05-09 17:19:24 +0000543
paulb9df2d22004-05-09 09:09:59 +00005442004-05-09 Sowmini Varadhan <sowmini.varadhan@sun.com>
545
546 * zserv.c: (zsend_ipv{4,6}_{add,delete}_multipath) collapsed
547 into single zsend_route_multipath function.
548 (zsend_interface_{up,down}) collapsed into zsend_interface_update.
549 (zsend_interface_address_{add,delete}) collapsed into
550 zsend_interface_address.
551 (zsend_interface_add) send mtu6.
552 (zsend_interface_delete) ditto.
553 (zebra_write) remove unused function.
554 (various) Apply static qualifier. Add comments.
555 * zserv.h: Definitions changed as per above.
556 * redistribute.c: Changes as per zserv.c.
paul44145db2004-05-09 11:00:23 +0000557 * interface.c: (if_delete_update) only used with HAVE_NETLINK
558 and RTM_IFANNOUNCE.
559 (if_flag_dump_vty) Solaris IFF_IPV4 and IFF_IPV6 if flags
560 (if_dump_vty) print mtu6 if not same as mtu
paul88424682004-05-09 18:21:35 +0000561 * if_ioctl_solaris.c: New file, Solaris interface ioctl methods.
562 * ioctl_solaris.c: New file, Common solaris ioctl methods.
563
hasso34195bf2004-04-06 12:07:06 +00005642004-04-06 Krzysztof Oledzki <oleq@ans.pl>
565
566 * rt_netlink.c: Do not ignore metric when reading kernel routing
567 table on Linux with rt_netlink interface.
568
5692004-03-18 Hasso Tepper <hasso@estpak.ee>
hassof1d92e12004-03-18 15:40:33 +0000570
571 * interface.c: Temporary fix for handling secondary addresses
572 with label.
573
hasso55906722004-02-11 22:42:16 +00005742004-02-12 Hasso Tepper <hasso@estpak.ee>
hassof1d92e12004-03-18 15:40:33 +0000575
hasso55906722004-02-11 22:42:16 +0000576 * zserv.c: Added "ipv6 forwarding" command.
577
gdtb27900b2004-01-08 15:44:29 +00005782004-01-08 Greg Troxel <gdt@fnord.ir.bbn.com>
579
580 * kernel_socket.c (kernel_read): Use sockaddr_storage in buffer
581 for reading kernel messages to ensure enough space (necessary on
582 Solaris due to sockaddr_dl being large). Thanks to Sowmini
583 Varadhan for help with this change.
584
gdt9ccabd12004-01-06 18:23:02 +00005852004-01-06 Greg Troxel <gdt@t1.ir.bbn.com>
586
587 * rtadv.c (rtadv_send_packet): Change perror to zlog_err.
588
gdtdbee01f2004-01-06 00:36:51 +00005892004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
gdt4bfbea82004-01-06 01:13:05 +0000590 * kernel_socket.c (ifm_read): Major cleanup. Use Sowmini's code
591 to find the sockaddr_dl in all cases, narrowing the Solaris ifdef
592 to just the accomodation of broken kernels. Check sockaddr_dl
593 carefully up front, and later assume any non-NULL sdl pointer is
594 valid. Clean up types and variable declarations, and rename
595 WRAPUP to SAROUNDUP to make the name fit the behavior.
596
5972004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
gdtdbee01f2004-01-06 00:36:51 +0000598
599 * kernel_socket.c (kernel_read): Add a sockaddr_dl to the ifmsg
600 structure, because on Solaris sockaddr_dl is far larger than the
601 base sockaddr structure. (The code had previously been failing to
602 read all the data.)
gdt4bfbea82004-01-06 01:13:05 +0000603
gdtda26e3b2004-01-05 17:20:59 +00006042004-01-05 Greg Troxel <gdt@ahi.ir.bbn.com>
605
606 * kernel_socket.c (kernel_read): Look up interfaces by index
607 first, so that state changes which do not include a sockaddr_dl
608 now work. Add many sanity checks. In
609 particular, do not assume that a sockaddr_dl follows a message
610 without checking the ifm_addrs flags, and do not trust the length
611 in a sockaddr_dl. Add/clarify many comments.
612
gdt4b5e1352003-12-03 17:54:34 +00006132003-12-03 Greg Troxel <gdt@poblano.ir.bbn.com>
614
615 * rtadv.c: reorder includes to avoid compiler warning (define
616 structs before using them in prototypes)
617
hasso647e4f12003-05-25 11:43:52 +00006182003-05-25 Jim Crumpler <Jim.Crumpler@edion.com>
619
620 * zserv.c: Add "ip forwarding" command.
621
paul445f1432003-05-16 19:00:31 +00006222003-05-16 Gilad Arnold <gilad.arnold@terayon.com>
623
624 * zebra_rib.c: Fix memory leaks for ifname nexthops
625
6262003-04-19 Israel Keys <ikeys@agile.tv>
627
628 * rt_netlink.c: BLOCK on netlink while initialising
629
6302003-02-06 Francois Deppierraz <francois@ctrlaltdel.ch>
631
632 * rt_netlink.c (netlink_route_multipath): Set RTM_F_EQUALIZE when
633 it exists.
634
paul718e3742002-12-13 20:15:29 +00006352002-09-28 Akihiro Mizutani <mizutani@net-chef.net>
636
637 * zebra_rib.c (static_add_ipv4): Null0 static route is added.
638
6392002-09-10 Jochen Friedrich <chris+zebra@scram.de>
640
641 * rt_netlink.c: Add check for EAGAIN.
642 * kernel_socket.c: Likewise
643
6442002-06-12 Israel Keys <ikeys@oz.agile.tv>
645
646 * rt_netlink.c: Setting the NLM_F_ACK flag on the netlink command
647 message so that we get an ACK for successful netlink commands.
648 Change the netlink socket to BLOCKING while we wait for a
649 response; be it an ACK or an NLMSG_ERROR. Change
650 netlink_parse_info to deal with ACK messages.
651
6522001-11-01 Jun-ichiro itojun Hagino <itojun@iijlab.net>
653
654 * rtadv.c (rtadv_make_socket): setsockopt(IPV6_CHECKSUM) does not
655 work for ICMPv6 socket.
656
6572001-10-24 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
658
659 * rib.c (rib_process): Select connected route any case.
660
6612001-10-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
662
663 * interface.c (no_ip_address_secondary): Add "no" to command.
664
6652001-10-18 NOGUCHI Kay <kay@v6.access.co.jp>
666
667 * ioctl.c (if_prefix_add_ipv6): Set the prefered and valid lifetime
668 to infinity as the freebsd4.4 workaroud.
669
6702001-08-26 mihail.balikov@interbgc.com
671
672 * zebra_snmp.c: Fix snmpwalk problem such as IPv4 address
673 A.B.C.255.
674
6752001-08-22 NOGUCHI Kay <kay@v6.access.co.jp>
676
677 * rtadv.c: Do not send RA to loopback interface.
678
6792001-08-20 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
680
681 * ioctl.c (if_set_prefix): Remove Linux 2.0 specific connected
682 route treatment.
683
6842001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
685
686 * zebra-0.92a released.
687
6882001-08-17 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
689
690 * rib.c: Kernel route is treated as EGP routes in nexthop active
691 check.
692
6932001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
694
695 * zebra-0.92 released.
696
6972001-08-08 "Akihiro Mizutani" <mizutani@dml.com>
698
699 * rib.c (show_ip_route_prefix_longer): Add longer-prefix option to
700 show route commands.
701
7022001-07-29 Yon Uriarte <havanna_moon@gmx.net>
703
704 * zserv.c (zsend_ipv4_add_multipath): Add
705 NEXTHOP_TYPE_IPV4_IFINDEX check.
706
7072001-07-29 NOGUCHI Kay <kay@v6.access.co.jp>
708
709 * rtadv.c: Apply valid lifetime, preferred lifetime, onilnk flag,
710 autonomous address-configuration flag patch.
711 (no_ipv6_nd_suppress_ra): Change "ipv6 nd send-ra" to "no ipv6 nd
712 suppress-ra".
713
7142001-07-24 NOGUCHI Kay <kay@v6.access.co.jp>
715
716 * rtadv.c (ipv6_nd_ra_interval): Add "ipv6 nd ra-interval SECONDS"
717 command.
718
7192001-07-24 Jun-ichiro itojun Hagino <itojun@iijlab.net>
720
721 * rt_socket.c (kernel_rtm_ipv4): Add KAME/NetBSD151 equal cost
722 multicast FIB support both IPv4 and IPv6.
723
7242001-07-24 Hal Snyder <hal@vailsys.com>
725
726 * if_ioctl.c (interface_list_ioctl): Fix bug of failing to get the
727 full list of interfaces on some configurations of OpenBSD.
728
7292001-07-23 NOGUCHI Kay <kay@v6.access.co.jp>
730
731 * rtadv.c (ipv6_nd_send_ra): Apply [zebra 9320] to fix "ipv6 nd
732 send-ra" bug.
733 (ipv6_nd_ra_lifetime): "ipv6 nd ra-lifetime 0" for default router
734 availability.
735 (ipv6_nd_managed_config_flag): "ipv6 nd managed-config-flag" is
736 added.
737 (ipv6_nd_other_config_flag): "ipv6 nd other-config-flag" is added.
738
7392001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
740
741 * ioctl.c (if_ioctl): Change ioctl argument from int to u_long.
742
743 * rt_ioctl.c: Likewise.
744
7452001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
746
747 * kernel_socket.c (rtm_write): Only set RTF_CLONING when the
748 interface is not p2p.
749
7502001-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
751
752 * ioctl.c (if_prefix_add_ipv6): Fix argument type.
753
7542001-04-06 Toshiaki Takada <takada@zebra.org>
755
756 * zserv.c (zsend_interface_delete): Use client->obuf instead of
757 allocating new stream.
758
7592001-03-10 Kunihiro Ishiguro <kunihiro@zebra.org>
760
761 * rt_netlink.c: Revert RTPROT_BOOT change.
762
7632001-03-08 Kunihiro Ishiguro <kunihiro@zebra.org>
764
765 * rt_netlink.c (netlink_route_change): Skip RTPROT_BOOT route.
766 (netlink_routing_table): Likewise.
767
7682001-03-07 "Akihiro Mizutani" <mizutani@dml.com>
769
770 * zserv.c (zsend_ipv4_add_multipath): Send metric value to
771 protocol daemons.
772
7732001-02-18 Kunihiro Ishiguro <kunihiro@zebra.org>
774
775 * rt_netlink.c (netlink_routing_table): Do not return
776 tb[RTA_GATEWAY] is NULL. Reported by: "Michael O'Keefe"
777 <mokeefe@qualcomm.com>.
778
7792001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
780
781 * if_ioctl.c (interface_list_ioctl): Call if_add_update().
782 Suggested by: Chris Dunlop <chris@onthe.net.au>.
783
7842001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
785
786 * rib.c (nexthop_active_ipv4): When nexthop type is
787 NEXTHOP_TYPE_IPV4_IFINDEX, propery set the ifindex to rifindex.
788
789 * zserv.c: Initialize rtm_table_default with 0.
790
791 * zebra-0.91 is released.
792
7932001-01-31 Kunihiro Ishiguro <kunihiro@zebra.org>
794
795 * kernel_socket.c (rtm_read): Filter cloned route. Suggested by:
796 Jun-ichiro itojun Hagino <itojun@iijlab.net>
797
7982001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
799
800 * connected.c (connected_up_ipv6): When point-to-point destination
801 address is ::, use local address for connected network.
802 (connected_down_ipv6): Likewise.
803
8042001-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
805
806 * zserv.c (zebra_serv): Add missing close() call. Reported by:
807 David Waitzman <djw@vineyard.net>.
808
8092001-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
810
811 * rib.c (rib_lookup_ipv4): New function for checking exact match
812 IGP route.
813
8142001-01-23 Kunihiro Ishiguro <kunihiro@zebra.org>
815
816 * rib.c (show_ipv6_route_protocol): Fix bug of "show ip route
817 route-type".
818
8192001-01-22 Kunihiro Ishiguro <kunihiro@zebra.org>
820
821 * interface.c (zebra_interface): Do not call
822 zebra_interface_add_update for inactive interface.
823
824 * zserv.c (zsend_interface_address_add): Send interface address
825 flag.
826 (zsend_interface_address_delete): Likewise.
827
8282001-01-19 Kunihiro Ishiguro <kunihiro@zebra.org>
829
830 * interface.c (if_addr_add): Add flags.
831
832 * connected.c (ifa_add_ipv4): Add new function for interface
833 address handling.
834 (ifa_delete_ipv4): Likewise.
835
8362001-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
837
838 * rib.c (rib_update): Update IPv6 RIB.
839
840 * kernel_socket.c (ifam_read): Call if_refresh() for update
841 interface flag status. This is for implicit interface up on *BSD.
842
843 * interface.c (if_refresh): Add interface flag refresh function.
844
845 * kernel_socket.c (rtm_read): Fetch link-local address interface
846 index.
847 (ifan_read): We need to fetch interface information. Suggested
848 by: Yasuhiro Ohara <yasu@sfc.wide.ad.jp>.
849
850 * rib.c (static_ipv6_nexthop_same): Add check for
851 NEXTHOP_TYPE_IPV6_IFNAME.
852
8532001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
854
855 * rib.h (NEW_RIB): Turn on NEW_RIB flag. IPv6 new RIB code are
856 taken into place.
857
8582001-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
859
860 * rib.c (static_ipv6_write): Display STATIC_IPV6_GATEWAY_IFNAME
861 configuration.
862 (rib_delete_ipv6): Handle same route conter for IPv6 connected
863 route.
864 (show_ipv6_route_protocol): New command.
865 (show_ipv6_route_addr): Likewise.
866 (show_ipv6_route_prefix): Likewise.
867 (rib_update): Sweep kernel route when it is cleaned up.
868
869 * rt_socket.c (kernel_add_ipv6): Add NEXTHOP_IPV6_IFNAME
870 treatmenet.
871
872 * rt_netlink.c (kernel_init): Likewise.
873
874 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): Likewise.
875
876 * rib.c (rib_add_ipv4): Cope with same connected route on a
877 interface. Suggested by: Matthew Grant <grantma@anathoth.gen.nz>.
878 (nexthop_ipv6_ifname_add): Add NEXTHOP_IPV6_IFNAME treatmenet.
879
880 * rib.h (struct new_rib): Add refcnt to keep track on the
881 reference of same connected route.
882
883 * ioctl.c (if_set_prefix): Add check for GNU_LINUX.
884
8852001-01-13 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
886
887 * kernel_socket.c (ifan_read, rtm_type_str): Add RTM_OIFINFO check.
888 (rtm_type_str): Add RTM_IFANNOUNCE check.
889 (ifan_read): New function.
890 (kernel_read): Add case for RTM_IFANNOUNCE.
891
8922001-01-13 Kunihiro Ishiguro <kunihiro@zebra.org>
893
894 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): New function.
895
896 * rt_netlink.c (netlink_route_multipath): IPv6 address ifindex
897 treatment.
898
899 * connected.c (connected_up_ipv6): Add dest value check.
900
901 * rib.c (nexthop_active_ipv6): Do not touch IPv6 nexthop's
902 ifindex.
903 (rib_add_ipv4): Import rib_add_ipv6() same route check code.
904 (nexthop_active_check): NEXTHOP_TYPE_IPV6_IFINDEX activity is only
905 checked by ifindex.
906
907 * rt_socket.c (kernel_rtm_ipv6_multipath): New function.
908
909 * redistribute.c (redistribute_add): Use
910 zsend_ipv6_add_multipath().
911 (redistribute_delete_multipath): Use
912 zsend_ipv6_delete_multipath().
913
914 * interface.c (ip_address): Check current IP address to avoid
915 duplicate.
916
917 * rib.c (rib_delete_ipv4): When deleted route is connected route,
918 check ifindex.
919 (rib_add_ipv4): When connected route is added do not perform
920 implicit withdraw.
921 (rib_delete_ipv4): Check ifindex for connected route.
922
923 * kernel_socket.c (rtm_read): When route has RTF_STATIC, set
924 ZEBRA_FLAG_STATIC for indicate as persistent route.
925 (ifam_read): Unset interface index from link-local address when
926 IPv6 stack is KAME.
927
928 * rib.c (rib_update): Do not delete persistent kernel route.
929
930 * rib.h (struct new_rib): Integrate RIB_FLAG_* to ZEBRA_FLAG_*.
931
932 * rt_socket.c (kernel_add_ipv6_multipath): Add placeholder.
933 (kernel_delete_ipv6_multipath): Likewise.
934
935 * rt_netlink.c (netlink_talk): Give struct nlsock to netlink_talk.
936
9372001-01-12 Kunihiro Ishiguro <kunihiro@zebra.org>
938
939 * rib.c (rib_update): Revert Matthew Grant's patch
940 zebra_cvs_newribfix.patch. Use struct rib->ifindex for kernel
941 interface index. Introduce NEXTHOP_TYPE_IPV4_IFINDEX to support
942 that. Add support for address deletion situation.
943
9442001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
945
946 * interface.c: Remove HAVE_IF_PSEUDO part.
947
948 * rib.h: Likewise.
949
950 * rt_netlink.c (netlink_link_change): Likewise.
951
9522001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
953
954 * zserv.c: Remove OLD_RIB codes.
955
9562001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
957
958 * zebra-0.90 is released.
959
9602001-01-09 Matthew Grant <grantma@anathoth.gen.nz>
961
962 * interface.c (if_new_intern_ifindex): Allocate a new internal
963 interface index.
964 (if_addr_refresh): Fix up ip addresses configured via zebra.
965 (if_add_update): Handle an interface addition.
966 (if_delete_update): Handle an interface delete event.
967
968 * rib.c (nexthop_ipv4_add): Add kernel route deletion process when
969 interface goes down.
970
9712001-01-08 Kunihiro Ishiguro <kunihiro@zebra.org>
972
973 * interface.c (if_dump_vty): When HAVE_NET_RT_IFLIST is defined,
974 NetBSD also use this function. Suggested by Jasper Wallace
975 <jasper@ivision.co.uk>.
976
9772001-01-07 Kunihiro Ishiguro <kunihiro@zebra.org>
978
979 * rib.c (nexthop_active_ipv4): Move back to set methodo to old
980 one.
981
9822001-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
983
984 * rib.c (rib_add_ipv4): EBGP multihop set ZEBRA_FLAG_INTERNAL
985 flag, so treat it.
986
9872001-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
988
989 * rt_netlink.c (netlink_talk_ipv6): When IPv6 route message is
990 sent from netlink_cmd, the same message comes from netlink. To
991 avoid confusion, temporary netlink_talk_ipv6 use netlink.sock
992 instead of netlink_cmd.sock.
993
9942001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
995
996 * zserv.h (ZEBRA_SERV_PATH): Change "/tmp/zebra" to "/tmp/.zebra".
997 Change "/tmp/zserv" to "/tmp/.zserv".
998
9992000-12-29 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
1000
1001 * rt_netlink.c (struct nlsock): Divide kernel message into listen
1002 socket and command socket.
1003 (netlink_talk): Remove socket listen code. Use netlink_parse_info
1004 for read kernel response.
1005
10062000-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1007
1008 * rib.c (vty_show_ip_route): Show uptime of the RIP,OSPF,BGP
1009 routes.
1010
10112000-12-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1012
1013 * rt_netlink.c (netlink_route_multipath): Metric value is
1014 reflected to kernel routing table.
1015
1016 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Likewise.
1017
1018 * kernel_socket.c (rtm_write): Likewise.
1019
1020 * rib.c (nexthop_active_ipv4): Only iBGP route perform recursive
1021 nexthop lookup.
1022
1023 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Add ioctl version of
1024 new RIB implementation.
1025
10262000-12-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1027
1028 * rib.h: Remove MULTIPATH_NUM. It is defined by configure script.
1029
10302000-12-25 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1031
1032 * rib.c (rib_if_up): Call rib_fib_set instead of RIB_FIB_SET for
1033 proper redistribution.
1034
10352000-12-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1036
1037 * rib.c (nexthop_active_ipv4): Add self lookup nexthop check.
1038 (show_ip_route_protocol): Support new RIB.
1039
1040 * rt_netlink.c (netlink_route_change): Do not return when gate is
1041 NULL.
1042
10432000-12-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1044
1045 * rib.c (rib_lookup_ipv4_nexthop): IBGP nexthop check function is
1046 updated.
1047 (rib_add_ipv4): Free implicit withdraw route's RIB.
1048
10492000-12-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1050
1051 * rib.c (nexthop_active_ipv4): Check indirect nexthop.
1052
1053 * redistribute.c (redistribute_add_multipath): Redistribution
1054 works with new rib code.
1055
10562000-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1057
1058 * rt_netlink.c (netlink_route_multipath): Check useful nexthop
1059 number.
1060 (netlink_route_multipath): Clear rtnh_flags and rtnh_hops.
1061
1062 * rib.c (nexthop_active_update): Set flag for the rib's nexthop
1063 activity is changed.
1064 (nexthop_active_check): Before checking interface is up, make it
1065 sure the interface exist.
1066
10672000-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1068
1069 * rib.c (ip_route): New RIB prototype.
1070
10712000-11-16 Yon Uriarte <ukl2@rz.uni-karlsruhe.de>
1072
1073 * zserv.c (zsend_interface_add): Send hardware address when
1074 hw_addr_len is greater than 0.
1075
10762000-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1077
1078 * connected.c (connected_up_ipv4): Fix ptop bug. The destination
1079 network should be installed into routing table.
1080 (connected_down_ipv4): Likewise.
1081 (connected_add_ipv4): Change to use connected_up_ipv4.
1082 (connected_delete_ipv4): Likewise.
1083
10842000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1085
1086 * rt_netlink.c (netlink_interface_addr): Revert Harald Welte
1087 <laforge@gnumonks.org>'s ptop patch then back to original code to
1088 avoid duplicated connected route problem. Suggested by Frank van
1089 Maarseveen <F.vanMaarseveen@inter.NL.net>.
1090
1091 * kernel_socket.c (rtm_read): Make behavior consistent even #ifdef
1092 DEBUG is defined. Reported by Jun-ichiro itojun Hagino
1093 <itojun@iijlab.net>.
1094
10952000-10-23 Jochen Friedrich <jochen@scram.de>
1096
1097 * main.c (main): Call zebra_snmp_init() when it is enabled.
1098
10992000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1100
1101 * zserv.c (zebra_serv_un): UNIX domain socket server of zebra
1102 protocol.
1103
11042000-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1105
1106 * rib.c (rib_add_ipv4): Same check bug is fixed.
1107
11082000-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1109
1110 * rib.c (rib_if_down): Remove kernel route when the interface goes
1111 down.
1112
1113 * debug.c: New command "debug zebra kernel" is added.
1114
11152000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1116
1117 * zebra-0.89 is released.
1118
11192000-09-24 Harald Welte <laforge@gnumonks.org>
1120
1121 * rt_netlink.c (netlink_interface_addr): Fix point-to-point address
1122 treatment in netlink interface.
1123
11242000-09-21 David Lipovkov <dlipovkov@OpticalAccess.com>
1125
1126 * rib.c (rib_if_down): Pull static route only. Protocol daemon
1127 must withdraw routes when interface goes down.
1128 (rib_add_ipv4): Check nexthop when replace route.
1129
11302000-09-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1131
1132 * if_ioctl.c (if_getaddrs): New function for looking up
1133 interface's address by getifaddrs().
1134
11352000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1136
1137 * connected.c (connected_delete_ipv4): Add check for connected
1138 address is found or not.
1139 (connected_add_ipv6): Reflect IPv6 connected address change to
1140 protocol daemons.
1141 (connected_delete_ipv6): Likewise.
1142
11432000-09-07 David Lipovkov <davidl@nbase.co.il>
1144
1145 * rib.c (rib_delete_ipv4): Reverted the change from pseudo
1146 interface patch to original. Because ospfd deletes routes using
1147 zero ifindex.
1148
11492000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1150
1151 * zebra-0.88 is released.
1152
11532000-08-15 "Akihiro Mizutani" <mizutani@dml.com>
1154
1155 * rib.c (show_ip_route_protocol): Help string correction.
1156 (show_ip_route_prefix): Check prefix mask.
1157 (show_ip_route_vty_detail): Display distance and metric.
1158
11592000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1160
1161 * zserv.c (zsend_interface_add): Change ifindex store size from
1162 two octet to four.
1163 (zsend_interface_delete): Likewise.
1164 (zsend_interface_address_add): Likewise.
1165 (zsend_interface_address_delete): Likewise.
1166 (zsend_interface_up): Likewise.
1167 (zsend_interface_down): Likewise.
1168
11692000-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1170
1171 * rib.c (rib_add_ipv4): Do not install distance 255 route.
1172
11732000-08-10 Toshiaki Takada <takada@zebra.org>
1174
1175 * interface.c (bandwidth_if), (no_bandwidth_if): Call
1176 zebra_interface_up_update () instead of using if_up() and if_down().
1177
11782000-08-07 "Akihiro Mizutani" <mizutani@dml.com>
1179
1180 * interface.c (bandwidth_if): Fix help string.
1181
11822000-08-07 Matthew Grant <grantma@anathoth.gen.nz>
1183
1184 * interface.c (if_dump_vty): Display bandwidth value.
1185 (bandwidth_if): New command "bandwidth <1-10000000>" is added.
1186 When interface is up, force protocol daemons to recalculate routes
1187 due to cost change.
1188 (no_bandwidth_if): Likewise.
1189 (if_config_write): Output bandwidth configuration.
1190
1191 * zserv.c (zsend_interface_add): Send bandwidth value.
1192 (zsend_interface_up): Likewise.
1193 (zsend_interface_down): Likewise.
1194
1195
11962000-08-07 Michael Rozhavsky <mike@nbase.co.il>
1197
1198 * rib.c (show_ip_route_protocol): "show ip route
1199 (bgp|connected|kernel|ospf|rip|static)" is added.
1200
12012000-08-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1202
1203 * rib.c (rib_lookup_ipv4_nexthop): Check parent node until IGP
1204 nexthop is found.
1205 (rib_add_ipv4_internal): Set fib ifindex to rib ifindex.
1206
12072000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1208
1209 * redistribute.c (redistribute_delete): Fix bug of default route
1210 redistribute treatment.
1211
12122000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1213
1214 * rib.c (rib_init): Install ip_node in rib.c instead of zserv.c.
1215 Change default distance value.
1216
1217 Old New
1218 ------------------------------------------
1219 system 10 0
1220 kernel 20 0
1221 connected 30 0
1222 static 40 1
1223 rip 50 120
1224 ripng 50 120
1225 ospf 60 110
1226 ospf6 49 110
1227 bgp 70 200(iBGP) 20(eBGP)
1228 ------------------------------------------
1229
1230 * zserv.c (client_lookup): Function removed.
1231 (zsend_interface_add): Use client's output buffer. Check ifinfo
1232 flag.
1233 (zsend_interface_delete): Likewise.
1234 Delete ipv4_static_radix and ipv6_static_radix.
1235
12362000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1237
1238 * zserv.h (struct zebra_client): When client request interface
1239 information, ifinfo is set.
1240
1241 * rib.c: Temporary Revert changes for pseudo interface.
1242
1243 * rib.h: Likewise.
1244
1245 * zserv.c: Likewise.
1246
1247 * interface.c: Likewise.
1248
12492000-08-02 David Lipovkov <davidl@nbase.co.il>
1250
1251 * interface.c (zebra_if_init): Install interface "pseudo"
1252 commands.
1253
1254 * rib.c (rib_create): ifname argument is added.
1255 (rib_add_ipv4_pseudo): New function is added.
1256 (rib_delete_ipv4_pseudo): Likewise.
1257
1258 * rib.h : Delete INTERFACE_UNKNOWN definition. Add prototype for
1259 pseudo interface functions.
1260
1261 * rt_netlink.c (netlink_link_change): Check for pseudo interface.
1262
1263 * zserv.c (ip_route): When destination is pseudo interface, call
1264 rib_add_ipv4_pseudo().
1265
1266 * zserv.c (no_ip_route): Trim "unknown" argument.
1267
12682000-07-26 kunitake@dti.ad.jp
1269
1270 * if_ioctl.c (if_get_hwaddr): Fix hardware address length from 8
1271 to 6.
1272
1273 * rtadv.c (rtadv_send_packet): Fix shift bug for hardware address.
1274
12752000-07-24 Akihiro Mizutani <mizutani@dml.com>
1276
1277 * interface.c: Use install_default() for common VTY commands.
1278
12792000-07-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1280
1281 * if_ioctl.c (interface_list_ioctl): A interface list size is
1282 calculated from ifreq->if_addr.sa_len. This is for OpenBSD.
1283
1284 * ioctl.c (if_get_mtu): Remove codes for SIOCGIFDATA.
1285
12862000-07-09 Chris Dunlop <chris@onthe.net.au>
1287
1288 * if_ioctl.c (if_get_index): Add check for HAVE_BROKEN_ALIASES.
1289
12902000-07-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1291
1292 * zserv.c (zebra_client_read): Add ZEBRA_REDISTRIBUTE_{ADD,DELETE}
1293 message handling.
1294
12952000-07-02 David Lipovkov <davidl@nbase.co.il>
1296
1297 * zserv.c: "ip route A.B.C.D/M unknown" command is added.
1298
12992000-06-28 Michael Rozhavsky <mike@nbase.co.il>
1300
1301 * rib.c: Remove old kernel route when new route comes in.
1302
13032000-06-13 David Lipovkov <davidl@nbase.co.il>
1304
1305 * rib.c (rib_if_up): Add check for unknown interface.
1306
13072000-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1308
1309 * rib.h: Define INTERFACE_UNKNOWN.
1310
13112000-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1312
1313 * Makefile.am (EXTRA_DIST): Move irdp.c until implementation is
1314 finished.
1315
13162000-06-05 David Lipovkov <davidl@nbase.co.il>
1317
1318 * interface.c (if_zebra_delete_hook): Call rib_if_delete().
1319
1320 * redistribute.c (zebra_interface_delete_update): New function.
1321
1322 * redistribute.h (zebra_interface_delete_update): New function
1323 prototype.
1324
1325 * rib.c (rib_if_delete): New function. Walk down all routes and
1326 delete all on the interface.
1327
1328 * rib.h: New function prototype.
1329
1330 * rt_netlink.c (netlink_link_change): Call
1331 zebra_interface_delete_update ().
1332
13332000-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1334
1335 * if_ioctl.c (interface_info_ioctl): Check interface's flag before
1336 checking interface's address.
1337
13382000-04-26 Jochen Friedrich <jochen@nwe.de>
1339
1340 * GNOME-PRODUCT-ZEBRA-MIB: New file.
1341
1342 * GNOME-SMI: New file.
1343
13442000-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1345
1346 * irdp.c: New file from 1997 development code.
1347 * irdp.h: Likewise.
1348
13492000-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1350
1351 * rtadv.c (rtadv_send_packet): Enclose router advertisement
1352 logging with IS_ZEBRA_DEBUG_PACKET.
1353
13542000-04-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1355
1356 * zserv.c (zebra_client_close): Remove client structure from
1357 client_list when connection is terminated.
1358
13592000-03-21 David Lipovkov <davidl@nbase.co.il>
1360
1361 * connected.c (connected_add_ipv4): Allows all necessary structure
1362 updates for connected route, but doesn't insert it into rib if
1363 it's interface is down.
1364
13652000-01-21 Hideto Yamakawa <hideto.yamakawa@soliton.co.jp>
1366
1367 * rtread_getmsg.c: Set some definition for Solaris 2.5 and Solaris
1368 2.5.1.
1369
13702000-01-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1371
1372 * rib.c (no_ipv6_route_ifname): Fix buf of cheking return value
1373 from str2prefix_ipv6().
1374
13752000-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1376
1377 * rt_socket.c: Revert to use RTF_HOST for IPv4 with /32 route and
1378 IPv6 with /128 routes.
1379 (kernel_rtm_ipv4): In case of /32 route's gateway is interface. It
1380 should have mask for cloning.
1381
13821999-12-26 Jochen.Friedrich@genorz.de
1383
1384 * interface.c (if_dump_vty): Fix a bug of missing VTY_NEWLINE.
1385
13861999-12-23 Alex Zinin <zinin@amt.ru>
1387 * interface.*: dynamic int up/down support
1388
13891999-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1390
1391 * ipforward_proc.c (dropline): Move dropline() from lib/dropline.c
1392
1393 * rtread_proc.c (proc_route_read): Don't use dropline().
1394
13951999-12-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1396
1397 * kernel_socket.c (rtm_read): When message is RTM_GET, it has own
1398 process's pid.
1399
14001999-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1401
1402 * main.c (main): Change to default log output to ZLOG_STDOUT.
1403
1404 * zserv.c (zebra_serv): More detailed error print.
1405
14061999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1407
1408 * kernel_socket.c (rtm_read): Check old pid for static route
1409 insertion check.
1410
14111999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1412
1413 * interface.c (if_dump_vty): BSDI/OS uses 64bit for interface
1414 statistics counter.
1415
1416 * mtu_kvm.c: New file added.
1417
14181999-11-27 Vladimir B. Grebenschikov <vova@express.ru>
1419
1420 * kernel_socket.c (rtm_write): Set RTF_CLONING flag for
1421 route to the directly connected interface.
1422
14231999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1424
1425 * rt_socket.c: Delete USE_HOST_BIT definition.
1426
14271999-11-21 Michael Handler <handler@sub-rosa.com>
1428
1429 * rtread_getmsg.c: Undef some definition to resolve conflict.
1430
14311999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1432
1433 * kernel_socket.c (rtm_write): Change to use pre stored struct_dl
1434 value for gateway specification.
1435
14361999-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1437
1438 * rt_socket.c (kernel_rtm_ipv4): Even mask is 32 under IPv4 or
1439 128 under IPv6, don't use RTF_HOST.
1440
14411999-11-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1442
1443 * Makefile.am (EXTRA_DIST): Add rtread_getmsg.c.
1444
14451999-11-21 Michael Handler <handler@sub-rosa.com>
1446
1447 * rtread_getmsg.c: Added for Solaris 2.6 support.
1448
14491999-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1450
1451 * rtread_sysctl.c (rtm_read_route): RTM_DELETE handling added.
1452
1453 * rt_socket.c (kernel_read): Better BSD routing socket support.
1454
14551999-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1456
1457 * client_main.c: Disable making obsolete zebra test `client'
1458 command.
1459
14601999-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1461
1462 * zebra.c: Renamed to zserv.c.
1463
1464 * zebra.h: Global definitions are moved to lib/zebra.h. Then
1465 renamed to zserv.h.
1466
14671999-10-15 Jordan Mendelson <jordy@wserv.com>
1468
1469 * if_ioctl.c: Add Linux 2.2.X's alias support and dynamic
1470 interface. Remove ugly MAX_INTERFACE handling codes.
1471
14721999-09-17 Satosi KOBAYASI <kobayasi@north.ad.jp>
1473
1474 * Fix serious bug of IPv6 route deletion.
1475
14761999-09-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1477
1478 * ioctl.c (if_set_prefix): Properly set broadcast address.
1479
14801999-09-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1481
1482 * rib.c (rib_add_ipv6, rib_delete_ipv6): now protocol daemons
1483 can install connected route to kernel via zebra
1484
14851999-08-24 VOP <vop@unity.net>
1486
1487 * rib.c: Include "sockunion.h"
1488
14891999-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
1490
1491 * ipforward.h: New file.
1492
1493 * zebra.h: Obsolete message ZEBRA_GET_ALL_INTERFACE,
1494 ZEBRA_GET_ONE_INTERFACE, ZEBRA_GET_HOSTINFO are deleted.
1495
14961999-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1497
1498 * zebra.h (ZEBRA_INTERFACE_ADDRESS_ADD):
1499 ZEBRA_INTERFACE_{ADD,DELETE} added.
1500
15011999-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1502
1503 * rib.c: show ip route A.B.C.D works.
1504
1505 * zebra.c (zebra_read_ipv4): Add ifindex to zebra messages.
1506
15071999-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1508
1509 * zebra.h: New Zebra message ZEBRA_INTERFACE_{ADD,DELETE} added.
1510
15111999-08-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1512
1513 * interface.h: New file.
1514 * Makefile.am: Add interface.h
1515
15161999-08-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1517
1518 * redistribute.c (zebra_redistribute): give ifindex to client.
1519
15201999-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1521
1522 * main.c (longopts): -k, --keep_kernel option added.
1523
15241999-07-18 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1525
1526 * rt_socket.c (rtm_write): forgot closing socket bug fixed.
1527
15281999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1529
1530 * rib.c (show_ipv6_cmd): if rib is link show interface name.
1531
15321999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1533
1534 * rt_socket.c (rtm_write): use sockaddr_dl when null gateway.
1535
15361999-07-16 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1537
1538 * rt_socket.c (rtm_write): ipv6 route table bug fixed.
1539
15401999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1541
1542 * zebra.c (zebra_read_ipv6): read link prefix from ospf6 support
1543
15441999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1545
1546 * rt_socket.c (kernel_rtm_ipv6): gate treatment bug fixed.
1547
15481999-07-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1549
1550 * if_sysctl.c (ifm_read): Clear sockunion argument before fetching
1551 data. Suggested by "Chris P. Ross" <cross@eng.us.uu.net>
1552
15531999-07-08 HEO SeonMeyong <seirios@Matrix.IRI.Co.Jp>
1554
1555 * interface.c (if_tun_add): Add KAME's gif tunnel setting codes.
1556
15571999-06-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1558
1559 * zebra.c (zebra_serv): Only accept loopback address connection.
1560
15611999-06-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1562
1563 * zebra.h (ZEBRA_ROUTE_EXTERNAL): Add zebra messages flags
1564
15651999-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1566
1567 * ipforward_proc.c: ipforward_on () and ipforward_off () added.
1568
15691999-06-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1570
1571 * ipforward_proc.c (ipforward_ipv6): Check for IPv6 forwarding
1572 using /proc file system is added.
1573
15741999-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1575
1576 * if_ioctl.c (if_get_index): Interface index set bug is fixed by
1577 adding #else at the middle of function. Suggested by David Luyer
1578 <luyer@ucs.uwa.edu.au>.
1579
15801999-05-29 <kunihiro@zebra.org>
1581
1582 * rt_ioctl.c: Comment out #include <linux/ipv6_route.h>.
1583
15841999-05-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1585
1586 * zebra.h (ZEBRA_ROUTE_MAX): Add new define for the max value of
1587 the sort of routes.
1588
15891999-05-25 Patrick Koppen <koppen@rhrk.uni-kl.de>
1590
1591 * rt_netlink.c (netlink_socket): Make netlink socket non-blocking.
1592 (netlink_parse_info): If errno is EWOULDBLOCK then continue to
1593 parse the message.
1594 (netlink_talk): Likewise
1595
15961999-05-17 <kunihiro@zebra.org>
1597
1598 * redistribute.c (zebra_check_addr): Added for loopback address
1599 check.
1600
16011999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1602
1603 * rt_netlink.c (netlink_route_change): Tempolary bypass ipv6 route
1604 change treatment.
1605
1606 * Makefile.am (noinst_HEADERS): redistribute.h added.
1607
1608 * redistribute.h: New file.
1609
16101999-05-14 Stephen R. van den Berg <srb@cuci.nl>
1611
1612 * zebra.c (show_table): Show all table configuration DEFUN.
1613 (config_table): Config table number DEFUN.
1614
1615 * rt_netlink.c: Add support for multiple routing table.
1616
1617 * rib.c (rib_weed_table): New function added for delete all
1618 routes from specified routing table.
1619
1620 * main.c (signal_init): SIGTERM call sigint.
1621 (sigint): Loggging more better message.
1622
16231999-05-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1624
1625 * rt_netlink.c: Change log () to zlog ().
1626
16271999-05-07 <kunihiro@zebra.org>
1628
1629 * zebra.h (ZEBRA_ROUTE_OSPF6): Added for ospf6d route.
1630
16311999-04-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1632
1633 * interface.c: Add `no ip address' command.
1634
16351999-04-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1636
1637 * rt_netlink.c (kernel_read): Function added for asynchronous
1638 zebra between kernel communication.
1639
16401999-03-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1641
1642 * rtread_sysctl.c (rtm_read): Fix address memcopy overrun bug.
1643 Reported by Achim Patzner <ap@bnc.net>.
1644
16451999-03-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1646
1647 * Makefile.am: Install configuration sample with 600 permission.
1648
16491999-03-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1650
1651 * Makefile.am: Add -I.. to INCLUDES.
1652
16531999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
1654
1655 * syslog support added
1656
16571999-02-17 Peter Galbavy <Peter.Galbavy@knowledge.com>
1658
1659 * if_sysctl.c (interface_list): allocated memory free when unknown
1660 ifm_type is returned.
1661
1662 * ioctl.c (if_get_mtu): added SIOCGIFDATA treatment.
1663
16641998-12-15 Magnus Ahltorp <map@stacken.kth.se>
1665
1666 * interface.c: Header include added.
1667
16681998-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1669
1670 * rt.h (kernel_delete_ipv6): change int index to unsigned int index.
1671
16721998-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1673
1674 * if_ioctl.c (interface_list_ioctl): interface flag must be
1675 checked before check addresses of the interface.
1676
16771998-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1678
1679 * Makefile.am (INCLUDES): add @INCLUDES@ for Linux IPv6.
1680
16811998-10-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1682
1683 * ioctl.c: Linux version before 2.1.0 need interface route setup.
1684
16851998-09-15 HEO SeonMeyong <seirios@matrix.iri.co.jp>
1686
1687 * change HYDRANGEA to KAME
1688
16891998-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1690
1691 * if_ioctl.c (if_addr_ioctl): set address family for getting
1692 interface's address.
1693 (if_get_index): silently return when can't get interface's index.
1694
16951998-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1696
1697 * main.c (main): batch mode option '-b' added.
1698
16991998-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1700
1701 * ioctl.c (if_set_prefix): add `ip address IPV4ADDR' command.
1702 * interface.c (shutdown_if): add interface shutdown and no
1703 shutdown command.
1704
17051998-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1706
1707 * rib.c (rib_add_ipv6): delete rib_add_in6.
1708
17091998-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1710
1711 * main.c: retain flag is added.
1712
17131998-07-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1714
1715 * rtable.[ch]: merged with rib.[ch]
1716
17171998-07-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1718
1719 * connected.h: renamed from ifa.h.
1720
17211998-06-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1722
1723 * rename if.c to interface.c
1724 * rename ifa.c to connected.c
1725
1726 * Porting to Debian GNU/Linux 2.0 (hamm).
1727
17281998-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1729
1730 * rt_netlink.c: renamed from krt_netlink.c
1731
1732 * fib.c: deleted.
1733 * rt_kvm.c: deleted.
1734 * rtread_getmsg.c: deleted.
1735
17361998-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1737
1738 * if.c (multicast): add multicast flag [un]set fucntion.
1739
17401998-05-19 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1741
1742 * rt_socket.c: Modify for compile on Solaris, but dont't work it.
1743 rt_socket.c have some undefined function, so add directive "IMPLEMENT"
1744
17451998-05-18 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1746
1747 * zebra.c: Modify for compile on Solaris.
1748
17491998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1750
1751 * main.c: change CONFDIR to SYSCONFDIR.
1752
17531998-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1754
1755 * .cvsignore: added.
1756
17571998-04-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1758
1759 * client.c: moves to ../lib.
1760
17611998-03-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1762
1763 * if_ioctl.c (if_get_addr): Change address copy from memcopy() to
1764 structure assignment.
1765
17661998-03-30 URA Hiroshi <ura@yamato.ibm.co.jp>
1767
1768 * if_sysctl.c (ifm_interface_add): sdl->sdl_data copy bug fixed.
1769
17701998-02-23 "Hannes R. Boehm" <hannes@boehm.org>
1771
1772 * if.c (if_init): add config_exit_cmd and config_help_cmd.
1773
17741998-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
1775
1776 * rt_ioctl.c (route_ioctl): EPERM treatment added.
1777
17781998-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1779
1780 * rt_socket.c (kernel_read): communication port zebra between
1781 kernel is now handled by kernel_read.
1782
17831998-01-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1784
1785 * main.c (main): zebra [-P port] can specify vty port number.
1786
17871997-12-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1788
1789 * zebra.c: change select will be block.
1790
17911997-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1792
1793 * add static route treatment.
1794
17951997-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1796
1797 * rt_netlink.c: add netlink support over GNU/Linux system.
1798
17991997-11-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1800
1801 * all inet_addr is changed to inet_aton.
1802
1803 * zebra.c (ip_route): add ip route command for static routes.
1804
18051997-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1806
1807 * if.c (if_flag_dump): Linux port of if_flag_dump and _vty.
1808
18091997-11-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1810
1811 * if.c: add interface command.
1812
18131997-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1814
1815 * ipforward_proc.c : Now works on Linux.
1816
18171997-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1818
1819 * command.c : add completion feature.
1820
18211997-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1822
1823 * vty.c (vty_command): add vty interface.
1824
18251997-10-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1826
1827 * zebra.c: add verbose mode.
1828
18291997-10-12 SonMyong Ho <s-ho@Matrix.IRI.Co.Jp>
1830
1831 * Hydrangea for FreeBSD supported
1832 * in.h: add some prototype.
1833
18341997-10-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1835
1836 * rt_socket.c and rtread.c completely rewritten.
1837
18381997-10-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1839
1840 * rt_socket.c: rename kernel_sock to routing_socket
1841
18421997-10-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1843
1844 * if.c (if_new): interface structure change from linklist to vector.
1845
18461997-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1847
1848 * vector.c (vector_init): create vector related function
1849
18501997-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1851
1852 * Makefile.in: add tags target
1853
1854 * start IPv6 support for INRIA FreeBSD.
1855