blob: dbeac4d5e168bcd17d29cbf77d42d33619b51ec4 [file] [log] [blame]
paul1dcb5172005-05-31 08:38:50 +000012005-05-31 Paul Jakma <paul.jakma@sun.com>
2
3 * zserv.c: (zsend_route_multipath) Fix bug if route is sent
4 with no NEXTHOP_FLAG_FIB nexthops. As ZAPI_MESSAGE_IFINDEX
5 and ZAPI_MESSAGE_NEXTHOP are always set, clients would try
6 read non-existent nexthop information and hit stream assert.
7 Zserv is still broken for multi-nexthop messages, but it always was.
8
paul69e10ad2005-05-06 21:27:33 +000092005-05-06 Paul Jakma <paul.jakma@sun.com>
10
11 * zserv.h: Remove ZEBRA_PORT definition, its in lib/zebra.h now
12
paul4d38fdb2005-04-28 17:35:14 +0000132005-04-28 Paul Jakma <paul.jakma@sun.com>
14
15 * rib.h: (struct rib) Add lock field for refcounting.
16 * zserv.h: (struct zebra_t) Add a ribq workqueue to the zebra
17 'master' struct.
18 * zserv.c: (zread_ipv4_add) XMALLOC then memset should be XCALLOC.
19 * zebra_rib.c: Clean up refcounting of route_node, make struct rib
20 refcounted and convert rib_process to work-queue. In general,
21 rib's should be rib_addnode'd and delnode'd to route_nodes, and
22 these symmetrical functions will manage the locking of referenced
23 route_node and freeing of struct rib - rather than having users
24 manage each seperately - with much scope for bugs..
25 (newrib_free) removed and replaced with rib_lock
26 (rib_lock) new function, check state of lock and increment.
27 (rib_unlock) new function, check lock state and decrement. Free
28 struct rib if refcount hits 0, freeing struct nexthop's, as
29 newrib_free did.
30 (rib_addnode) Add RIB to route_node, locking both.
31 (rib_delnode) Delete RIB from route_node, unlocking each.
32 (rib_process) Converted to a work-queue work function.
33 Functional changes are minimal, just arguments, comments and
34 whitespace.
35 (rib_queue_add_qnode) Helper function to setup a ribq item.
36 (rib_queue_add) Helper function, same arguments as old
37 rib_process, to replace in callers of rib_process.
38 (rib_queue_qnode_del) ribq deconstructor.
39 (rib_queue_init) Create the ribq.
40 (rib_init) call rib_queue_init.
41 (remainder) Sanitise refcounting of route_node's. Convert to
42 rib_queue_add, rib_addnode and rib_delnode. Change XMALLOC/memset
43 to XCALLOC. Remove calls to nexthop_delete and nexthop_free.
44
paulcf460ef2005-04-10 16:54:26 +0000452005-04-10 Paul Jakma <paul@dishone.st>
46
47 * if_ioctl_solaris.c: (if_lookup_linklocal) fix order of args
48 in ALL_LIST_ELEMENTS_RO macro.
49
ajs57a14772005-04-10 15:01:56 +0000502005-04-10 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
51
52 * zserv.c (zebra_client_read): Fix bug: first read attempt should
53 read ZEBRA_HEADER_SIZE minus the number of bytes already read.
54 Improve efficiency by maintaining a calculation of the number
55 of bytes read instead of calling stream_get_endp multiple times.
56 If message length is too small, issue a warning message (not debug)
57 before closing the connection. And also check that message length
58 is not too big.
59
hasso206d8052005-04-09 16:38:51 +0000602005-04-09 Hasso Tepper <hasso at quagga.net>
61
hassofa599802005-04-09 16:59:28 +000062 * rt_netlink.c: One tiny missing comma caused pointless debug messages
63 about IPv6 nexthops.
64
652005-04-09 Hasso Tepper <hasso at quagga.net>
66
hasso206d8052005-04-09 16:38:51 +000067 * rt_netlink.c (netlink_parse_info): Fix warning. It's safe to cast
68 status to unsigned here, because we already checked that it isn't
69 negative or 0.
70 * rt_netlink.c (netlink_interface_addr): Prefix length belongs to the
71 address, not to the interface.
72 * rt_netlink.c (netlink_route_multipath): Fix debug. No useless info
73 is printed out now and IPv6 info is handeled.
74
paul3d1dc852005-04-05 00:45:23 +0000752005-04-05 Paul Jakma <paul@dishone.st>
76
77 * zserv.c: print more helpful errors when we fail to successfully
78 bind and listen on zserv socket. Closes bugzilla #163.
79
ajsd2fc8892005-04-02 18:38:43 +0000802005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
81
ajs08dbfb62005-04-03 03:40:52 +000082 * if_ioctl.c: (interface_list_ioctl) Use if_get_by_name_len.
83 * if_proc.c: (ifaddr_proc_ipv6) Increase size of ifname buffer to
84 avoid overflow.
85 * kernel_socket.c: (ifan_read) Use if_get_by_name_len.
86
872005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
88
ajsa3491982005-04-02 22:50:38 +000089 * kernel_socket.c: (ifm_read) Use new if_lookup_by_name_len function
90 to save a memcpy.
91 * if_ioctl_solaris.c: (interface_list_ioctl) Fix subtle bug with new
92 if_get_by_name_len function.
93
942005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
95
ajsd2fc8892005-04-02 18:38:43 +000096 * interface.c: (if_new_intern_ifindex) Remove obsolete function.
97 (if_delete_update) After distributing the interface deletion message,
98 set ifp->ifindex to IFINDEX_INTERNAL.
99 (if_dump_vty) Detect pseudo interface by checking if ifp->ifindex is
100 IFINDEX_INTERNAL.
101 (zebra_interface) Check return code from interface_cmd.func.
102 Do not set internal ifindex values to if_new_intern_ifindex(),
103 since we now use IFINDEX_INTERNAL for all pseudo interfaces.
104 * kernel_socket.c: (ifm_read) Fix code and comments to reflect that
105 all internal interfaces now have ifp->ifindex set to IFINDEX_INTERNAL.
106 * rt_netlink.c: (set_ifindex) New function used to update ifp->ifindex.
107 Detects interface rename events by checking if that ifindex is already
108 being used. If it is, delete the old interface before assigning
109 the ifindex to the new interface.
110 (netlink_interface, netlink_link_change) Call set_ifindex to update
111 the ifindex.
112
hassob7ed1ec2005-03-31 20:13:49 +00001132005-03-31 Hasso Tepper <hasso at quagga.net>
114
115 * rt_netlink.c (netlink_talk_filter): Show always warning message,
116 it's not for debug.
117 * rt_netlink.c (netlink_talk): Don't assume we use netlink_cmd
118 although we do now actually.
119 * rt_netlink.c (netlink_route, netlink_route_multipath): Always use
120 netlink_cmd to send messages to the kernel.
121
ajs2da40f42005-03-30 16:33:13 +00001222005-03-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
123
124 * irdp.h: Add prototype for irdp_sock_init, and fix protos for
125 other irdp_* functions.
126 * irdp_interface.c: (irdp_if_start) If irdp_sock is negative,
127 call irdp_sock_init to create the IRDP socket.
128 (irdp_if_init) Rename to irdp_init().
129 (get_iflist_ifp) Remove function that is a duplicate of
130 if_lookup_by_index.
131 (*) Make many functions static. And remove superfluous "\n" from
132 several zlog messages.
133 * irdp_main.c: (irdp_init) Remove function that used to call
134 irdp_if_init() and irdp_sock_init(), since we will now create
135 the socket only upon first use.
136 (irdp_sock_init) Do not update global irdp_sock variable, just
137 return the fd and assume that the caller will do so. If setsockopt
138 calls fail, close the socket before returning -1.
139 (*) Make many functions static.
140 * irdp_packet.c: Initialize irdp_sock to -1.
141 (irdp_read_raw) Call standard library function if_lookup_by_index
142 instead of get_iflist_ifp.
143 (irdp_recvmsg) Should be static, not global.
144
ajsa608bbf2005-03-29 17:03:49 +00001452005-03-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
146
147 * rt_netlink.c: (netlink_link_change) If the status of an
148 operative interface changes (e.g. MTU changes), the client
149 daemons should be notified by calling zebra_interface_up_update.
150 Previously, the information was being updated in zebra's
151 interface structure, but the clients were not notified of
152 changes to an operative interface.
153
vincent7cee1bb2005-03-25 13:08:53 +00001542005-03-25 Jean-Mickael Guerin <jean-mickael.guerin@6wind.com>
155 * interface.c, interface.h, rtadv.c, rtadv.h: modifications to
156 IPv6 Neighbor Discovery according to RFC3775, section 7:
157 o 1-bit Home Agent flag management in Router Advertisement (7.1).
158 o 1-bit Router Address flag management in Prefix Information
159 Option (7.2).
160 o Advertisement Interval Option (7.3)
161 o Home Agent Information Option (7.4)
162 o Changes to Sending Router Advertisements more frequently (7.5)
163
hassoed9bb6d2005-03-13 19:17:21 +00001642005-03-13 Hasso Tepper <hasso at quagga.net>
165
166 * zebra/interaface.c: "show interface description" command
167 implemented.
168
paulc1f01f32005-03-12 06:33:14 +00001692005-03-12 Paul Jakma <paul@dishone.st>
170
171 * rt_netlink.c: (netlink_route_multipath) dont set equalise flag.
172 No stock Linux kernel has ever supported it, and even if it had
173 it's not generally a good idea.
174
hasso42a66d72005-03-07 08:19:44 +00001752005-03-07 Michael Sandee <voidptr@voidptr.sboost.org>
176
177 * if_proc.c, ipforward_proc.c, rtread_proc.c: Fix fd leaks.
178
hasso3452d472005-03-06 13:42:05 +00001792005-03-06 Hasso Tepper <hasso at quagga.net>
180
181 * interface.c: Fix CRC and frame errors statistics in Linux.
182
ajs719e9742005-02-28 20:52:15 +00001832005-02-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
184
185 * zserv.c: Must include network.h and buffer.h for non-blocking I/O.
186 Remove global message_queue and t_write (need separate buffering for
187 each client).
188 (zebra_server_dequeue,zebra_server_enqueue) Remove functions
189 related to old buggy buffering code.
190 (zserv_delayed_close) New thread callback function to delete a client.
191 (zserv_flush_data) New thread callback function to flush buffered
192 data to client.
193 (zebra_server_send_message) Rewritten to use buffer_write (so
194 buffering of writes and non-blocking I/O work properly).
195 (zsend_interface_add,zsend_interface_delete,zsend_interface_address,
196 zsend_interface_update) Return 0 instead of -1 if !client->ifinfo
197 (this is not really an error). Return value from
198 zebra_server_send_message.
199 (zsend_route_multipath,zsend_ipv4_nexthop_lookup,
200 zsend_ipv4_import_lookup) Return value from zebra_server_send_message.
201 (zsend_ipv6_nexthop_lookup) Fix scope to static, and return value
202 from zebra_server_send_message.
203 (zsend_router_id_update) Must use zebra_server_send_message instead
204 of deprecated writen function. Return 0 instead of -1 if this client
205 is not subscribed to router-id updates (since this is not really
206 an error).
207 (zread_interface_add) Change type to static int. If
208 zsend_interface_add fails or zsend_interface_address fails, return -1
209 immediately (since the client has had an I/O error).
210 (zread_interface_delete,zread_ipv4_add,zread_ipv4_delete,
211 zread_ipv6_add,zread_ipv6_delete,zread_router_id_delete) Return 0
212 to indicate success.
213 (zread_ipv4_nexthop_lookup) Return value from
214 zsend_ipv4_nexthop_lookup.
215 (zread_ipv4_import_lookup) Return value from zsend_ipv4_import_lookup.
216 (zebra_read_ipv6) Remove unused function.
217 (zread_ipv6_nexthop_lookup) Return value from
218 zsend_ipv6_nexthop_lookup.
219 (zread_router_id_add) Return value from zsend_router_id_update.
220 (zebra_client_close) Call buffer_free(client->wb) and
221 thread_cancel(client->t_suicide).
222 (zebra_client_create) Allocate client->wb using buffer_new.
223 (zebra_client_read) Support non-blocking I/O by using stream_read_try.
224 Use ZEBRA_HEADER_SIZE instead of 3.
225 (zebra_accept) Fix bug: reset accept thread at top. Make client
226 socket non-blocking using the set_nonblocking function.
227 (config_write_forwarding) Fix scope to static.
228 (zebra_init) Remove initialization code for old buggy write buffering.
229 * zserv.h: Add 2 new fields to struct zserv: struct buffer *wb
230 (to enable buffered writes with non-blocking I/), and
231 struct thread *t_suicide to support delayed close on I/O
232 errors.
233 * router-id.h: Remove prototypes for zread_router_id_add and
234 zread_router_id_delete (their scope should be static to zserv.c).
235
ajs27da3982005-02-24 16:06:33 +00002362005-02-24 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
237
238 * redistribute.c: (zebra_check_addr,is_default,
239 zebra_redistribute_default,zebra_redistribute) Fix scope to be static.
240
hassoe8274dc2005-02-20 19:09:23 +00002412005-02-20 Hasso Tepper <hasso at quagga.net>
242
243 * rt_netlink.c: Don't show messages "ignoring message type 0x001[89]"
244 if we are not debugging.
245
paule31f2292005-02-19 02:00:26 +00002462005-02-19 Paul Jakma <paul@dishone.st>
247
248 * zserv.c: (zebra_read_ipv6) replace the char * arithmetic with
249 STREAM_READABLE.
250
paul1e193152005-02-14 23:53:05 +00002512005-02-14 Paul Jakma <paul@dishone.st>
252
253 * Not all Linux netlink systems have IFLA_WIRELESS
254
ajs6a52d0d2005-01-30 18:49:28 +00002552005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
256
257 * ioctl.c: (if_ioctl,if_ioctl_ipv6,if_get_flags) Replace perror with
258 zlog_err.
259 * ioctl_solaris.c: (if_ioctl,if_ioctl_ipv6) Replace perror with
260 zlog_err.
261
ajs4be019d2005-01-29 16:12:41 +00002622005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
263
ajs4460e7a2005-01-29 17:07:40 +0000264 * if_ioctl_solaris.c: (interface_list_ioctl) Save errno before calling
265 zserv_privs.change.
266 * ioctl{,_solaris}.c: (if_ioctl,if_ioctl_ipv6) Save errno before calling
267 zserv_privs.change.
268 * ipforward_solaris.c: (solaris_nd) Save errno before calling
269 zserv_privs.change.
270 * irdp_main.c: (irdp_sock_init) Save errno before calling
271 zserv_privs.change.
272
2732005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
274
ajs4be019d2005-01-29 16:12:41 +0000275 * rt_netlink.c: (netlink_socket,netlink_request,netlink_parse_info,
276 netlink_talk) Save errno before calling zserv_privs.change.
277
paulc15cb242005-01-24 09:05:27 +00002782005-01-24 Martin Pot <mpot at martybugs.net>
279
280 * zebra/rt_netlink.c: ignore wireless newlink netlink messages.
281
hasso6f2c27a2005-01-18 13:44:35 +00002822005-01-18 Hasso Tepper <hasso at quagga.net>
283
284 * interface.c: Better statistics output in "show interface" command in
285 case of /proc being used.
286
hasso583d8002005-01-16 23:34:02 +00002872005-01-17 Hasso Tepper <hasso at quagga.net>
288
289 * main.c: With --nl-bufsize argument is required.
290
paul865b8522005-01-05 08:30:35 +00002912005-01-05 Paul Jakma <paul@dishone.st>
292
293 * zserv.c: (zebra_accept) Comment out setting of socket to NONBLOCK
294 for now, as we dont actually deal with with resending.... See
295 bugzilla #122, fix from wawa@yandex-team.ru (Vladimir Ivanov).
296 * kernel_socket.c: (routing_socket) ditto.
297
ajsb99760a2005-01-04 16:24:43 +00002982005-01-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
299
300 * rtadv.c: (rtadv_recv_packet,rtadv_send_packet) Use ZCMSG_FIRSTHDR
301 instead of CMSG_FIRSTHDR.
302
ajs341a8f12004-12-22 16:32:16 +00003032004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
304
305 * connected.c: (connected_add_ipv4) Limit warning about /32 addresses
306 with no peer specified to PtP interfaces only.
307
hassob8adec12004-12-18 16:03:28 +00003082004-12-18 Hasso Tepper <hasso at quagga.net>
309
310 * zebra_vty.c: Fix "show ipv6 route <proto>" command help and make it
311 work for isis routes.
312
gdt6a250b02004-12-09 14:48:12 +00003132004-12-09 Greg Troxel <gdt@fnord.ir.bbn.com>
314
315 * kernel_socket.c (rtmsg_debug): char * => const char *
316
ajs274a4a42004-12-07 15:39:31 +00003172004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
318
ajsb6178002004-12-07 21:12:56 +0000319 * *.c: Change level of debug messages to LOG_DEBUG.
320
3212004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
322
ajs274a4a42004-12-07 15:39:31 +0000323 * main.c: (main) The 2nd argument to openzlog has been removed.
324 So stdout logging will no longer be enabled by default.
325 * irdp_main.c: (irdp_finish) Reduce severity of shutdown message
326 from LOG_WARNING to LOG_INFO.
327
ajs887c44a2004-12-03 16:36:46 +00003282004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
329
330 * main.c: (sigint) Use zlog_notice for termination message.
331 (main) Add a startup announcement using zlog_notice.
332
hassoaccb1562004-11-25 19:21:07 +00003332004-11-25 Hasso Tepper <hasso at quagga.net>
334
335 * irdp_interface.c: Remove comment from DEFUN, it breaks vtysh because
336 it confuses extract.pl.
hassoc0652302004-11-25 19:33:48 +0000337 * main.c: Make group to run as configurable.
hassoaccb1562004-11-25 19:21:07 +0000338
hasso6bd7c6a2004-10-28 17:32:27 +00003392004-10-28 Hasso Tepper <hasso at quagga.net>
340
341 * interface.c: Remove dead "ip tunnel" command.
342
paul06f953f2004-10-22 17:00:38 +00003432004-10-22 Paul Jakma <paul@dishone.st>
344
345 * irdp_main.c: change setsockopt_pktinfo to setsockopt_ifindex
346
hasso3fb9cd62004-10-19 19:44:43 +00003472004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
348
349 * rt_netlink.c: (netlink_interface_addr) For PtP interfaces, ignore
350 tb[IFA_ADDRESS] if it's the same as tb[IFA_LOCAL].
351 * interface.c: (ip_address_install) Use new ipv4_broadcast_addr
352 function.
353 * connected.c: (connected_up_ipv4) Use CONNECTED_POINTOPOINT_HOST
354 macro.
355 (connected_down_ipv4) ditto.
356 (connected_add_ipv4) Validate destination address, print warnings
357 if it does not make sense.
358
hassoc1eaa442004-10-19 06:26:01 +00003592004-10-19 Hasso Tepper <hasso at quagga.net>
360
361 * zserv.c: Fix regression introduced with zserv cleanup.
362
hassoc75105a2004-10-13 10:33:26 +00003632004-10-13 Hasso Tepper <hasso at quagga.net>
364
365 * zebra_snmp.c: Remove defaults used to initialize smux connection to
366 snmpd. Connection is initialized only if smux peer is configured.
hassob71f00f2004-10-13 12:20:35 +0000367 * zserv.c: Remove useless warnings "forwarding is already on".
hassoc75105a2004-10-13 10:33:26 +0000368
hasso39ff11d2004-10-12 15:55:19 +00003692004-10-12 Hasso Tepper <hasso at quagga.net>
370
371 * zebra_vty.c: Unbreak "show ip route" command help and make it work
372 for isis routes.
hasso39db97e2004-10-12 20:50:58 +0000373 * interface.c(if_dump_vty): Show IPv6 addresses in "show interface"
374 output. Fixes Bugzilla #119.
375 * *.c: Make some strings const and some (unsigned) casts to fix
376 compiler warnings.
hasso39ff11d2004-10-12 15:55:19 +0000377
hassofce954f2004-10-07 20:29:24 +00003782004-10-07 Hasso Tepper <hasso at quagga.net>
379
380 * connected.c, main.c, rt_netlink.c, rtadv.c, zebra_rib.c, zserv.c:
381 Fix warnings: make strings const, signed -> unsigned.
382
paul72164662004-10-05 14:39:43 +00003832004-10-05 Paul Jakma <paul@dishone.st>
384
385 * irdp_packet.c: (parse_irdp_packet) style issues.
386 Use sockopt_iphdrincl_swab_systoh.
387 Try unbork the code. Checksum the ICMP data and actually
388 compare it to received checksum. Check data length against
389 claimed length in header.
390 Always use ntoh.. when accessing addresses, even when the
391 comparison happens to be endian-safe.
392 (send_packet) minor style isues. Use
393 sockopt_iphdrincl_swab_htosys.
394 (irdp_iph_hton/ntoh) IP header to/from network/host order.
395
hassoeef1fe12004-10-03 18:46:08 +00003962004-10-03 Gilad Arnold <gilad.arnold at terayon.com>
397
398 * interface.c, interface.h: A new prefix tree of connected subnets is
399 associated with each interface structure in zebra, in which each
400 live (ie, non-synthetic) node holds a list of installed addresses
401 that belong to that prefix. Remove secondary address logic from cli.
402 See [quagga-dev 872] for detailed explanation.
403 * connected.c: Use if_subnet_add() and if_subnet_delete().
404
hasso18a6dce2004-10-03 18:18:34 +00004052004-10-03 James R. Leu <jleu at mindspring.com>
406
407 * router-id.c, router-id.h: New files. Router id selection process. If
408 there is non 127.x.x.x address in loopack interface, lowest of them
409 is chosen. If there isn't, lowest from other interfaces addresses
410 are chosen. "router-id x.x.x.x" vty command to manual override.
411 * Makefile.am: Compile new files.
412 * main.c: Initialize router id.
413 * redistribute.c: Add interface addresses into router id selection
414 lists as they (dis)appear.
415 * zserv.c, zserv.h: Sending router id related messages to daemons.
416
hassoc9e52be2004-09-26 16:09:34 +00004172004-09-26 Hasso Tepper <hasso at quagga.net>
418
419 * irdp_interface.c, irdp_main.c, irdp_packet.c, rt_netlink.c,
420 rtadv.c, zebra_vty.c: Fix compiler warnings.
421
paul0c0f9112004-09-24 08:24:42 +00004222004-09-24 Paul Jakma <paul@dishone.st>
423
paul26f7a242004-09-24 08:45:10 +0000424 * irdp_interface.c: (no_ip_irdp_address_preference_cmd)
425 add missing listnode declaration.
426
4272004-09-24 Paul Jakma <paul@dishone.st>
428
paul0c0f9112004-09-24 08:24:42 +0000429 * irdp_{interface,main}.c: lists typedef removal cleanup.
430 update some list loops to LIST_LOOP. some miscellaneous style
431 and indent fixups.
432 (no_ip_irdp_address_preference_cmd) Fix delete of referenced node
paul26f7a242004-09-24 08:45:10 +0000433 in loop.
paul0c0f9112004-09-24 08:24:42 +0000434 * irdp_packet.c: (irdp_recvmsg) Fix buggy assignment of integer
435 to pointer.
436 * if_ioctl{,_solaris}.c: lists typedef removal cleanup.
437 update some list loops to LIST_LOOP.
438
hasso52dc7ee2004-09-23 19:18:23 +00004392004-09-23 Hasso Tepper <hasso at quagga.net>
440
441 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
442
paul44983cf2004-09-22 13:15:58 +00004432004-09-22 Paul Jakma <paul.jakma@sun.com>
444
445 * zserv.c: (zsend_route_multipath) fix nasty bad memset of struct
446 in_addr to sizeof(struct in6_addr), causing odd and hard to debug
447 crash.
448
hassoc34b6b52004-08-31 13:41:49 +00004492004-08-31 Hasso Tepper <hasso at quagga.net>
450
451 * main.c, rt_netlink.c: Added -s command line switch for tuning
452 netlink receive buffer size in Linux to avoid buffer overruns.
453
gdta5ea6872004-08-26 13:24:00 +00004542004-08-26 Miles Nordin <carton@Ivy.NET>
455
456 * ipforward_sysctl.c (mib_ipv6): Use size_t for len, per
457 sysctl(3), rather than int. (Needed on NetBSD/alpha to display
458 forwarding status correctly.)
459
paul3e0b3a52004-08-23 18:58:32 +00004602004-08-23 Paul Jakma <paul@dishone.st>
461
462 * zserv.c: (zebra_init) remove implicit ip forward enabling
463
paul0de1cde2004-08-19 04:45:33 +00004642004-08-19 Paul Jakma <paul@dishone.st>
465
466 * irdp_main.c: update to match sockopt renames.
467 * irdp_packet.c: include sockopt.h and update to match sockopt
468 renames.
469
gdt57492d52004-08-11 18:06:38 +00004702004-08-11 Greg Troxel <gdt@fnord.ir.bbn.com>
471
472 * rtadv.c (rtadv_send_packet): Allocate space for control messages
473 more carefully; it was wrong on NetBSD/sparc where CMSG alignment
474 is to 8 bytes instead of 4, and overwriting the address. Use the
475 provided macros for determining lengths.
476
paul5b73a672004-07-23 15:26:14 +00004772004-07-23 Sowmini Varadhan <Sowmini.Varadhan@Sun.COM>
478
479 * if_ioctl_solaris.c: HAVE_IPV6 ifdef fixups
480 * zserv.c: ditto
481 * ioctl_solaris.c: ditto.
482 * interface.c: cast for LLADDR
483 * interface.h: Add guards, include redistribute.h and remove
484 extraneous definitions of zebra_interface_{up,down}_update
485 * ioctl.h: Add AF_IOCTL define for non SOLARIS_IPV6
486 * redistribute.h: include dependent header, zserv.h
487 * zserv.h: include dependent header, rib.h
488
paul1470baf2004-07-23 15:25:01 +00004892004-07-23 Paul Jakma <paul@dishone.st>
490
491 * irdp_main.c: use setsockopt_pktinfo_ipv4
492 * irdp_packet.c: use SOPT_SIZE_CMSG_PKTINFO_IPV4 and
493 getsockopt_pktinfo_ifindex()
494
gdtcced60d2004-07-13 16:45:54 +00004952004-07-13 David Wiggins <dwiggins@bbn.com
496
497 * kernel_socket.c (rtm_flag_dump): terminate buffer with '\0', not '0'.
498
hasso25dac852004-07-13 03:06:51 +00004992004-07-13 Hasso Tepper <hasso@estpak.ee>
500
501 * irdp_main.c: Add privilege change.
502
hasso996933f2004-07-12 16:32:56 +00005032004-07-12 Hasso Tepper <hasso@estpak.ee>
504
505 * irdp_interface.c: follow common style while naming vty command
506 functions. Avoids confusion in extract.pl.
507
gdt87efd642004-06-30 17:36:11 +00005082004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
509
510 * main.c: define thread_master variable so that linking with
511 libzebra.so doesn't fail. Arguably zclient.o should be in a
512 separate library, but this is far less disruptive.
513
hassoca776982004-06-12 14:33:05 +00005142004-06-12 Robert Olsson <Robert.Olsson at data.slu.se>
515
516 * Added IRDP support.
517
hasso3e31cde2004-05-18 11:58:59 +00005182004-05-18 Hasso Tepper <hasso@estpak.ee>
519
520 * rtadv.c: Removed "[no] ipv6 nd send-ra" command. Replaced "ipv6 nd
521 prefix-advertisement" with "ipv6 nd prefix". Rewrite syntax of
522 "ipv6 nd prefix" command to allow various combinations of parameters
523 and flags. No defaults in configuration. Replaced on-link and
524 autoconfig with off-link and no-autoconfig flags in command syntax.
525 Cosmetic fixes in all commands. Documentation to reflect all changes.
526
paul19877dd2004-05-11 10:49:35 +00005272004-05-11 Paul Jakma <paul@dishone.st>
528
529 * Makefile.am: support for IOCTL_METHOD, as per Sowmini's patch.
paul48a46fa2004-05-11 10:55:22 +0000530 * if_ioctl_solaris.c: Fixup some erroneous privilege changes and
531 add privs.h header.
532 * ioctl_solaris.c: ditto
paulc50ae8b2004-05-11 11:31:07 +0000533 * ioctl.h: Add if_ioctl_ipv6 prototype and AF_IOCTL for SOLARIS_IPV6
534 * kernel_socket.c: Fix SAROUNDUP, compiler doesnt like do..while
535 RHS in assignments :)
536 * redistribute.c: (zebra_interface_delete_update) only used
537 if RTM_IFANNOUNCE and NETLINK is available.
538
paulb9df2d22004-05-09 09:09:59 +00005392004-05-09 Paul Jakma <paul@dishone.st>
540
541 * zserv.c: (zsend_route_multipath) Set the nexthop_num
542 field correctly. Add NEXTHOP_TYPE_IPV6_IFNAME for v6.
543 Conditionally set ZAPI_MESSAGE_METRIC flag - only for adds.
544 (zsend_ipv4_add) cruft, deleted.
545 (zsend_ipv4_delete) ditto.
546 (zsend_ipv6_add) ditto.
547 (zsend_ipv6_delete) ditto.
paul44145db2004-05-09 11:00:23 +0000548 * ioctl.c: (if_get_mtu) set mtu6 to mtu
549 * mtu_kvm.c: (if_kvm_get_mtu) set mtu6 to mtu
550 * rt_netlink.c: (netlink_interface) set mtu6 to mtu
551 (netlink_link_change) ditto
paul66e94882004-05-09 17:19:24 +0000552 * ipforward_solaris.c: fix typo of ND variable.
paul88424682004-05-09 18:21:35 +0000553 * if_ioctl_solaris.c: Add zprivs support.
554 * ioctl_solaris.c: ditto.
paul66e94882004-05-09 17:19:24 +0000555
paulb9df2d22004-05-09 09:09:59 +00005562004-05-09 Sowmini Varadhan <sowmini.varadhan@sun.com>
557
558 * zserv.c: (zsend_ipv{4,6}_{add,delete}_multipath) collapsed
559 into single zsend_route_multipath function.
560 (zsend_interface_{up,down}) collapsed into zsend_interface_update.
561 (zsend_interface_address_{add,delete}) collapsed into
562 zsend_interface_address.
563 (zsend_interface_add) send mtu6.
564 (zsend_interface_delete) ditto.
565 (zebra_write) remove unused function.
566 (various) Apply static qualifier. Add comments.
567 * zserv.h: Definitions changed as per above.
568 * redistribute.c: Changes as per zserv.c.
paul44145db2004-05-09 11:00:23 +0000569 * interface.c: (if_delete_update) only used with HAVE_NETLINK
570 and RTM_IFANNOUNCE.
571 (if_flag_dump_vty) Solaris IFF_IPV4 and IFF_IPV6 if flags
572 (if_dump_vty) print mtu6 if not same as mtu
paul88424682004-05-09 18:21:35 +0000573 * if_ioctl_solaris.c: New file, Solaris interface ioctl methods.
574 * ioctl_solaris.c: New file, Common solaris ioctl methods.
575
hasso34195bf2004-04-06 12:07:06 +00005762004-04-06 Krzysztof Oledzki <oleq@ans.pl>
577
578 * rt_netlink.c: Do not ignore metric when reading kernel routing
579 table on Linux with rt_netlink interface.
580
5812004-03-18 Hasso Tepper <hasso@estpak.ee>
hassof1d92e12004-03-18 15:40:33 +0000582
583 * interface.c: Temporary fix for handling secondary addresses
584 with label.
585
hasso55906722004-02-11 22:42:16 +00005862004-02-12 Hasso Tepper <hasso@estpak.ee>
hassof1d92e12004-03-18 15:40:33 +0000587
hasso55906722004-02-11 22:42:16 +0000588 * zserv.c: Added "ipv6 forwarding" command.
589
gdtb27900b2004-01-08 15:44:29 +00005902004-01-08 Greg Troxel <gdt@fnord.ir.bbn.com>
591
592 * kernel_socket.c (kernel_read): Use sockaddr_storage in buffer
593 for reading kernel messages to ensure enough space (necessary on
594 Solaris due to sockaddr_dl being large). Thanks to Sowmini
595 Varadhan for help with this change.
596
gdt9ccabd12004-01-06 18:23:02 +00005972004-01-06 Greg Troxel <gdt@t1.ir.bbn.com>
598
599 * rtadv.c (rtadv_send_packet): Change perror to zlog_err.
600
gdtdbee01f2004-01-06 00:36:51 +00006012004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
gdt4bfbea82004-01-06 01:13:05 +0000602 * kernel_socket.c (ifm_read): Major cleanup. Use Sowmini's code
603 to find the sockaddr_dl in all cases, narrowing the Solaris ifdef
604 to just the accomodation of broken kernels. Check sockaddr_dl
605 carefully up front, and later assume any non-NULL sdl pointer is
606 valid. Clean up types and variable declarations, and rename
607 WRAPUP to SAROUNDUP to make the name fit the behavior.
608
6092004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
gdtdbee01f2004-01-06 00:36:51 +0000610
611 * kernel_socket.c (kernel_read): Add a sockaddr_dl to the ifmsg
612 structure, because on Solaris sockaddr_dl is far larger than the
613 base sockaddr structure. (The code had previously been failing to
614 read all the data.)
gdt4bfbea82004-01-06 01:13:05 +0000615
gdtda26e3b2004-01-05 17:20:59 +00006162004-01-05 Greg Troxel <gdt@ahi.ir.bbn.com>
617
618 * kernel_socket.c (kernel_read): Look up interfaces by index
619 first, so that state changes which do not include a sockaddr_dl
620 now work. Add many sanity checks. In
621 particular, do not assume that a sockaddr_dl follows a message
622 without checking the ifm_addrs flags, and do not trust the length
623 in a sockaddr_dl. Add/clarify many comments.
624
gdt4b5e1352003-12-03 17:54:34 +00006252003-12-03 Greg Troxel <gdt@poblano.ir.bbn.com>
626
627 * rtadv.c: reorder includes to avoid compiler warning (define
628 structs before using them in prototypes)
629
hasso647e4f12003-05-25 11:43:52 +00006302003-05-25 Jim Crumpler <Jim.Crumpler@edion.com>
631
632 * zserv.c: Add "ip forwarding" command.
633
paul445f1432003-05-16 19:00:31 +00006342003-05-16 Gilad Arnold <gilad.arnold@terayon.com>
635
636 * zebra_rib.c: Fix memory leaks for ifname nexthops
637
6382003-04-19 Israel Keys <ikeys@agile.tv>
639
640 * rt_netlink.c: BLOCK on netlink while initialising
641
6422003-02-06 Francois Deppierraz <francois@ctrlaltdel.ch>
643
644 * rt_netlink.c (netlink_route_multipath): Set RTM_F_EQUALIZE when
645 it exists.
646
paul718e3742002-12-13 20:15:29 +00006472002-09-28 Akihiro Mizutani <mizutani@net-chef.net>
648
649 * zebra_rib.c (static_add_ipv4): Null0 static route is added.
650
6512002-09-10 Jochen Friedrich <chris+zebra@scram.de>
652
653 * rt_netlink.c: Add check for EAGAIN.
654 * kernel_socket.c: Likewise
655
6562002-06-12 Israel Keys <ikeys@oz.agile.tv>
657
658 * rt_netlink.c: Setting the NLM_F_ACK flag on the netlink command
659 message so that we get an ACK for successful netlink commands.
660 Change the netlink socket to BLOCKING while we wait for a
661 response; be it an ACK or an NLMSG_ERROR. Change
662 netlink_parse_info to deal with ACK messages.
663
6642001-11-01 Jun-ichiro itojun Hagino <itojun@iijlab.net>
665
666 * rtadv.c (rtadv_make_socket): setsockopt(IPV6_CHECKSUM) does not
667 work for ICMPv6 socket.
668
6692001-10-24 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
670
671 * rib.c (rib_process): Select connected route any case.
672
6732001-10-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
674
675 * interface.c (no_ip_address_secondary): Add "no" to command.
676
6772001-10-18 NOGUCHI Kay <kay@v6.access.co.jp>
678
679 * ioctl.c (if_prefix_add_ipv6): Set the prefered and valid lifetime
680 to infinity as the freebsd4.4 workaroud.
681
6822001-08-26 mihail.balikov@interbgc.com
683
684 * zebra_snmp.c: Fix snmpwalk problem such as IPv4 address
685 A.B.C.255.
686
6872001-08-22 NOGUCHI Kay <kay@v6.access.co.jp>
688
689 * rtadv.c: Do not send RA to loopback interface.
690
6912001-08-20 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
692
693 * ioctl.c (if_set_prefix): Remove Linux 2.0 specific connected
694 route treatment.
695
6962001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
697
698 * zebra-0.92a released.
699
7002001-08-17 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
701
702 * rib.c: Kernel route is treated as EGP routes in nexthop active
703 check.
704
7052001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
706
707 * zebra-0.92 released.
708
7092001-08-08 "Akihiro Mizutani" <mizutani@dml.com>
710
711 * rib.c (show_ip_route_prefix_longer): Add longer-prefix option to
712 show route commands.
713
7142001-07-29 Yon Uriarte <havanna_moon@gmx.net>
715
716 * zserv.c (zsend_ipv4_add_multipath): Add
717 NEXTHOP_TYPE_IPV4_IFINDEX check.
718
7192001-07-29 NOGUCHI Kay <kay@v6.access.co.jp>
720
721 * rtadv.c: Apply valid lifetime, preferred lifetime, onilnk flag,
722 autonomous address-configuration flag patch.
723 (no_ipv6_nd_suppress_ra): Change "ipv6 nd send-ra" to "no ipv6 nd
724 suppress-ra".
725
7262001-07-24 NOGUCHI Kay <kay@v6.access.co.jp>
727
728 * rtadv.c (ipv6_nd_ra_interval): Add "ipv6 nd ra-interval SECONDS"
729 command.
730
7312001-07-24 Jun-ichiro itojun Hagino <itojun@iijlab.net>
732
733 * rt_socket.c (kernel_rtm_ipv4): Add KAME/NetBSD151 equal cost
734 multicast FIB support both IPv4 and IPv6.
735
7362001-07-24 Hal Snyder <hal@vailsys.com>
737
738 * if_ioctl.c (interface_list_ioctl): Fix bug of failing to get the
739 full list of interfaces on some configurations of OpenBSD.
740
7412001-07-23 NOGUCHI Kay <kay@v6.access.co.jp>
742
743 * rtadv.c (ipv6_nd_send_ra): Apply [zebra 9320] to fix "ipv6 nd
744 send-ra" bug.
745 (ipv6_nd_ra_lifetime): "ipv6 nd ra-lifetime 0" for default router
746 availability.
747 (ipv6_nd_managed_config_flag): "ipv6 nd managed-config-flag" is
748 added.
749 (ipv6_nd_other_config_flag): "ipv6 nd other-config-flag" is added.
750
7512001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
752
753 * ioctl.c (if_ioctl): Change ioctl argument from int to u_long.
754
755 * rt_ioctl.c: Likewise.
756
7572001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
758
759 * kernel_socket.c (rtm_write): Only set RTF_CLONING when the
760 interface is not p2p.
761
7622001-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
763
764 * ioctl.c (if_prefix_add_ipv6): Fix argument type.
765
7662001-04-06 Toshiaki Takada <takada@zebra.org>
767
768 * zserv.c (zsend_interface_delete): Use client->obuf instead of
769 allocating new stream.
770
7712001-03-10 Kunihiro Ishiguro <kunihiro@zebra.org>
772
773 * rt_netlink.c: Revert RTPROT_BOOT change.
774
7752001-03-08 Kunihiro Ishiguro <kunihiro@zebra.org>
776
777 * rt_netlink.c (netlink_route_change): Skip RTPROT_BOOT route.
778 (netlink_routing_table): Likewise.
779
7802001-03-07 "Akihiro Mizutani" <mizutani@dml.com>
781
782 * zserv.c (zsend_ipv4_add_multipath): Send metric value to
783 protocol daemons.
784
7852001-02-18 Kunihiro Ishiguro <kunihiro@zebra.org>
786
787 * rt_netlink.c (netlink_routing_table): Do not return
788 tb[RTA_GATEWAY] is NULL. Reported by: "Michael O'Keefe"
789 <mokeefe@qualcomm.com>.
790
7912001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
792
793 * if_ioctl.c (interface_list_ioctl): Call if_add_update().
794 Suggested by: Chris Dunlop <chris@onthe.net.au>.
795
7962001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
797
798 * rib.c (nexthop_active_ipv4): When nexthop type is
799 NEXTHOP_TYPE_IPV4_IFINDEX, propery set the ifindex to rifindex.
800
801 * zserv.c: Initialize rtm_table_default with 0.
802
803 * zebra-0.91 is released.
804
8052001-01-31 Kunihiro Ishiguro <kunihiro@zebra.org>
806
807 * kernel_socket.c (rtm_read): Filter cloned route. Suggested by:
808 Jun-ichiro itojun Hagino <itojun@iijlab.net>
809
8102001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
811
812 * connected.c (connected_up_ipv6): When point-to-point destination
813 address is ::, use local address for connected network.
814 (connected_down_ipv6): Likewise.
815
8162001-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
817
818 * zserv.c (zebra_serv): Add missing close() call. Reported by:
819 David Waitzman <djw@vineyard.net>.
820
8212001-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
822
823 * rib.c (rib_lookup_ipv4): New function for checking exact match
824 IGP route.
825
8262001-01-23 Kunihiro Ishiguro <kunihiro@zebra.org>
827
828 * rib.c (show_ipv6_route_protocol): Fix bug of "show ip route
829 route-type".
830
8312001-01-22 Kunihiro Ishiguro <kunihiro@zebra.org>
832
833 * interface.c (zebra_interface): Do not call
834 zebra_interface_add_update for inactive interface.
835
836 * zserv.c (zsend_interface_address_add): Send interface address
837 flag.
838 (zsend_interface_address_delete): Likewise.
839
8402001-01-19 Kunihiro Ishiguro <kunihiro@zebra.org>
841
842 * interface.c (if_addr_add): Add flags.
843
844 * connected.c (ifa_add_ipv4): Add new function for interface
845 address handling.
846 (ifa_delete_ipv4): Likewise.
847
8482001-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
849
850 * rib.c (rib_update): Update IPv6 RIB.
851
852 * kernel_socket.c (ifam_read): Call if_refresh() for update
853 interface flag status. This is for implicit interface up on *BSD.
854
855 * interface.c (if_refresh): Add interface flag refresh function.
856
857 * kernel_socket.c (rtm_read): Fetch link-local address interface
858 index.
859 (ifan_read): We need to fetch interface information. Suggested
860 by: Yasuhiro Ohara <yasu@sfc.wide.ad.jp>.
861
862 * rib.c (static_ipv6_nexthop_same): Add check for
863 NEXTHOP_TYPE_IPV6_IFNAME.
864
8652001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
866
867 * rib.h (NEW_RIB): Turn on NEW_RIB flag. IPv6 new RIB code are
868 taken into place.
869
8702001-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
871
872 * rib.c (static_ipv6_write): Display STATIC_IPV6_GATEWAY_IFNAME
873 configuration.
874 (rib_delete_ipv6): Handle same route conter for IPv6 connected
875 route.
876 (show_ipv6_route_protocol): New command.
877 (show_ipv6_route_addr): Likewise.
878 (show_ipv6_route_prefix): Likewise.
879 (rib_update): Sweep kernel route when it is cleaned up.
880
881 * rt_socket.c (kernel_add_ipv6): Add NEXTHOP_IPV6_IFNAME
882 treatmenet.
883
884 * rt_netlink.c (kernel_init): Likewise.
885
886 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): Likewise.
887
888 * rib.c (rib_add_ipv4): Cope with same connected route on a
889 interface. Suggested by: Matthew Grant <grantma@anathoth.gen.nz>.
890 (nexthop_ipv6_ifname_add): Add NEXTHOP_IPV6_IFNAME treatmenet.
891
892 * rib.h (struct new_rib): Add refcnt to keep track on the
893 reference of same connected route.
894
895 * ioctl.c (if_set_prefix): Add check for GNU_LINUX.
896
8972001-01-13 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
898
899 * kernel_socket.c (ifan_read, rtm_type_str): Add RTM_OIFINFO check.
900 (rtm_type_str): Add RTM_IFANNOUNCE check.
901 (ifan_read): New function.
902 (kernel_read): Add case for RTM_IFANNOUNCE.
903
9042001-01-13 Kunihiro Ishiguro <kunihiro@zebra.org>
905
906 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): New function.
907
908 * rt_netlink.c (netlink_route_multipath): IPv6 address ifindex
909 treatment.
910
911 * connected.c (connected_up_ipv6): Add dest value check.
912
913 * rib.c (nexthop_active_ipv6): Do not touch IPv6 nexthop's
914 ifindex.
915 (rib_add_ipv4): Import rib_add_ipv6() same route check code.
916 (nexthop_active_check): NEXTHOP_TYPE_IPV6_IFINDEX activity is only
917 checked by ifindex.
918
919 * rt_socket.c (kernel_rtm_ipv6_multipath): New function.
920
921 * redistribute.c (redistribute_add): Use
922 zsend_ipv6_add_multipath().
923 (redistribute_delete_multipath): Use
924 zsend_ipv6_delete_multipath().
925
926 * interface.c (ip_address): Check current IP address to avoid
927 duplicate.
928
929 * rib.c (rib_delete_ipv4): When deleted route is connected route,
930 check ifindex.
931 (rib_add_ipv4): When connected route is added do not perform
932 implicit withdraw.
933 (rib_delete_ipv4): Check ifindex for connected route.
934
935 * kernel_socket.c (rtm_read): When route has RTF_STATIC, set
936 ZEBRA_FLAG_STATIC for indicate as persistent route.
937 (ifam_read): Unset interface index from link-local address when
938 IPv6 stack is KAME.
939
940 * rib.c (rib_update): Do not delete persistent kernel route.
941
942 * rib.h (struct new_rib): Integrate RIB_FLAG_* to ZEBRA_FLAG_*.
943
944 * rt_socket.c (kernel_add_ipv6_multipath): Add placeholder.
945 (kernel_delete_ipv6_multipath): Likewise.
946
947 * rt_netlink.c (netlink_talk): Give struct nlsock to netlink_talk.
948
9492001-01-12 Kunihiro Ishiguro <kunihiro@zebra.org>
950
951 * rib.c (rib_update): Revert Matthew Grant's patch
952 zebra_cvs_newribfix.patch. Use struct rib->ifindex for kernel
953 interface index. Introduce NEXTHOP_TYPE_IPV4_IFINDEX to support
954 that. Add support for address deletion situation.
955
9562001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
957
958 * interface.c: Remove HAVE_IF_PSEUDO part.
959
960 * rib.h: Likewise.
961
962 * rt_netlink.c (netlink_link_change): Likewise.
963
9642001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
965
966 * zserv.c: Remove OLD_RIB codes.
967
9682001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
969
970 * zebra-0.90 is released.
971
9722001-01-09 Matthew Grant <grantma@anathoth.gen.nz>
973
974 * interface.c (if_new_intern_ifindex): Allocate a new internal
975 interface index.
976 (if_addr_refresh): Fix up ip addresses configured via zebra.
977 (if_add_update): Handle an interface addition.
978 (if_delete_update): Handle an interface delete event.
979
980 * rib.c (nexthop_ipv4_add): Add kernel route deletion process when
981 interface goes down.
982
9832001-01-08 Kunihiro Ishiguro <kunihiro@zebra.org>
984
985 * interface.c (if_dump_vty): When HAVE_NET_RT_IFLIST is defined,
986 NetBSD also use this function. Suggested by Jasper Wallace
987 <jasper@ivision.co.uk>.
988
9892001-01-07 Kunihiro Ishiguro <kunihiro@zebra.org>
990
991 * rib.c (nexthop_active_ipv4): Move back to set methodo to old
992 one.
993
9942001-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
995
996 * rib.c (rib_add_ipv4): EBGP multihop set ZEBRA_FLAG_INTERNAL
997 flag, so treat it.
998
9992001-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1000
1001 * rt_netlink.c (netlink_talk_ipv6): When IPv6 route message is
1002 sent from netlink_cmd, the same message comes from netlink. To
1003 avoid confusion, temporary netlink_talk_ipv6 use netlink.sock
1004 instead of netlink_cmd.sock.
1005
10062001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1007
1008 * zserv.h (ZEBRA_SERV_PATH): Change "/tmp/zebra" to "/tmp/.zebra".
1009 Change "/tmp/zserv" to "/tmp/.zserv".
1010
10112000-12-29 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
1012
1013 * rt_netlink.c (struct nlsock): Divide kernel message into listen
1014 socket and command socket.
1015 (netlink_talk): Remove socket listen code. Use netlink_parse_info
1016 for read kernel response.
1017
10182000-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1019
1020 * rib.c (vty_show_ip_route): Show uptime of the RIP,OSPF,BGP
1021 routes.
1022
10232000-12-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1024
1025 * rt_netlink.c (netlink_route_multipath): Metric value is
1026 reflected to kernel routing table.
1027
1028 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Likewise.
1029
1030 * kernel_socket.c (rtm_write): Likewise.
1031
1032 * rib.c (nexthop_active_ipv4): Only iBGP route perform recursive
1033 nexthop lookup.
1034
1035 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Add ioctl version of
1036 new RIB implementation.
1037
10382000-12-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1039
1040 * rib.h: Remove MULTIPATH_NUM. It is defined by configure script.
1041
10422000-12-25 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1043
1044 * rib.c (rib_if_up): Call rib_fib_set instead of RIB_FIB_SET for
1045 proper redistribution.
1046
10472000-12-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1048
1049 * rib.c (nexthop_active_ipv4): Add self lookup nexthop check.
1050 (show_ip_route_protocol): Support new RIB.
1051
1052 * rt_netlink.c (netlink_route_change): Do not return when gate is
1053 NULL.
1054
10552000-12-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1056
1057 * rib.c (rib_lookup_ipv4_nexthop): IBGP nexthop check function is
1058 updated.
1059 (rib_add_ipv4): Free implicit withdraw route's RIB.
1060
10612000-12-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1062
1063 * rib.c (nexthop_active_ipv4): Check indirect nexthop.
1064
1065 * redistribute.c (redistribute_add_multipath): Redistribution
1066 works with new rib code.
1067
10682000-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1069
1070 * rt_netlink.c (netlink_route_multipath): Check useful nexthop
1071 number.
1072 (netlink_route_multipath): Clear rtnh_flags and rtnh_hops.
1073
1074 * rib.c (nexthop_active_update): Set flag for the rib's nexthop
1075 activity is changed.
1076 (nexthop_active_check): Before checking interface is up, make it
1077 sure the interface exist.
1078
10792000-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1080
1081 * rib.c (ip_route): New RIB prototype.
1082
10832000-11-16 Yon Uriarte <ukl2@rz.uni-karlsruhe.de>
1084
1085 * zserv.c (zsend_interface_add): Send hardware address when
1086 hw_addr_len is greater than 0.
1087
10882000-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1089
1090 * connected.c (connected_up_ipv4): Fix ptop bug. The destination
1091 network should be installed into routing table.
1092 (connected_down_ipv4): Likewise.
1093 (connected_add_ipv4): Change to use connected_up_ipv4.
1094 (connected_delete_ipv4): Likewise.
1095
10962000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1097
1098 * rt_netlink.c (netlink_interface_addr): Revert Harald Welte
1099 <laforge@gnumonks.org>'s ptop patch then back to original code to
1100 avoid duplicated connected route problem. Suggested by Frank van
1101 Maarseveen <F.vanMaarseveen@inter.NL.net>.
1102
1103 * kernel_socket.c (rtm_read): Make behavior consistent even #ifdef
1104 DEBUG is defined. Reported by Jun-ichiro itojun Hagino
1105 <itojun@iijlab.net>.
1106
11072000-10-23 Jochen Friedrich <jochen@scram.de>
1108
1109 * main.c (main): Call zebra_snmp_init() when it is enabled.
1110
11112000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1112
1113 * zserv.c (zebra_serv_un): UNIX domain socket server of zebra
1114 protocol.
1115
11162000-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1117
1118 * rib.c (rib_add_ipv4): Same check bug is fixed.
1119
11202000-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1121
1122 * rib.c (rib_if_down): Remove kernel route when the interface goes
1123 down.
1124
1125 * debug.c: New command "debug zebra kernel" is added.
1126
11272000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1128
1129 * zebra-0.89 is released.
1130
11312000-09-24 Harald Welte <laforge@gnumonks.org>
1132
1133 * rt_netlink.c (netlink_interface_addr): Fix point-to-point address
1134 treatment in netlink interface.
1135
11362000-09-21 David Lipovkov <dlipovkov@OpticalAccess.com>
1137
1138 * rib.c (rib_if_down): Pull static route only. Protocol daemon
1139 must withdraw routes when interface goes down.
1140 (rib_add_ipv4): Check nexthop when replace route.
1141
11422000-09-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1143
1144 * if_ioctl.c (if_getaddrs): New function for looking up
1145 interface's address by getifaddrs().
1146
11472000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1148
1149 * connected.c (connected_delete_ipv4): Add check for connected
1150 address is found or not.
1151 (connected_add_ipv6): Reflect IPv6 connected address change to
1152 protocol daemons.
1153 (connected_delete_ipv6): Likewise.
1154
11552000-09-07 David Lipovkov <davidl@nbase.co.il>
1156
1157 * rib.c (rib_delete_ipv4): Reverted the change from pseudo
1158 interface patch to original. Because ospfd deletes routes using
1159 zero ifindex.
1160
11612000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1162
1163 * zebra-0.88 is released.
1164
11652000-08-15 "Akihiro Mizutani" <mizutani@dml.com>
1166
1167 * rib.c (show_ip_route_protocol): Help string correction.
1168 (show_ip_route_prefix): Check prefix mask.
1169 (show_ip_route_vty_detail): Display distance and metric.
1170
11712000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1172
1173 * zserv.c (zsend_interface_add): Change ifindex store size from
1174 two octet to four.
1175 (zsend_interface_delete): Likewise.
1176 (zsend_interface_address_add): Likewise.
1177 (zsend_interface_address_delete): Likewise.
1178 (zsend_interface_up): Likewise.
1179 (zsend_interface_down): Likewise.
1180
11812000-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1182
1183 * rib.c (rib_add_ipv4): Do not install distance 255 route.
1184
11852000-08-10 Toshiaki Takada <takada@zebra.org>
1186
1187 * interface.c (bandwidth_if), (no_bandwidth_if): Call
1188 zebra_interface_up_update () instead of using if_up() and if_down().
1189
11902000-08-07 "Akihiro Mizutani" <mizutani@dml.com>
1191
1192 * interface.c (bandwidth_if): Fix help string.
1193
11942000-08-07 Matthew Grant <grantma@anathoth.gen.nz>
1195
1196 * interface.c (if_dump_vty): Display bandwidth value.
1197 (bandwidth_if): New command "bandwidth <1-10000000>" is added.
1198 When interface is up, force protocol daemons to recalculate routes
1199 due to cost change.
1200 (no_bandwidth_if): Likewise.
1201 (if_config_write): Output bandwidth configuration.
1202
1203 * zserv.c (zsend_interface_add): Send bandwidth value.
1204 (zsend_interface_up): Likewise.
1205 (zsend_interface_down): Likewise.
1206
1207
12082000-08-07 Michael Rozhavsky <mike@nbase.co.il>
1209
1210 * rib.c (show_ip_route_protocol): "show ip route
1211 (bgp|connected|kernel|ospf|rip|static)" is added.
1212
12132000-08-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1214
1215 * rib.c (rib_lookup_ipv4_nexthop): Check parent node until IGP
1216 nexthop is found.
1217 (rib_add_ipv4_internal): Set fib ifindex to rib ifindex.
1218
12192000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1220
1221 * redistribute.c (redistribute_delete): Fix bug of default route
1222 redistribute treatment.
1223
12242000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1225
1226 * rib.c (rib_init): Install ip_node in rib.c instead of zserv.c.
1227 Change default distance value.
1228
1229 Old New
1230 ------------------------------------------
1231 system 10 0
1232 kernel 20 0
1233 connected 30 0
1234 static 40 1
1235 rip 50 120
1236 ripng 50 120
1237 ospf 60 110
1238 ospf6 49 110
1239 bgp 70 200(iBGP) 20(eBGP)
1240 ------------------------------------------
1241
1242 * zserv.c (client_lookup): Function removed.
1243 (zsend_interface_add): Use client's output buffer. Check ifinfo
1244 flag.
1245 (zsend_interface_delete): Likewise.
1246 Delete ipv4_static_radix and ipv6_static_radix.
1247
12482000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1249
1250 * zserv.h (struct zebra_client): When client request interface
1251 information, ifinfo is set.
1252
1253 * rib.c: Temporary Revert changes for pseudo interface.
1254
1255 * rib.h: Likewise.
1256
1257 * zserv.c: Likewise.
1258
1259 * interface.c: Likewise.
1260
12612000-08-02 David Lipovkov <davidl@nbase.co.il>
1262
1263 * interface.c (zebra_if_init): Install interface "pseudo"
1264 commands.
1265
1266 * rib.c (rib_create): ifname argument is added.
1267 (rib_add_ipv4_pseudo): New function is added.
1268 (rib_delete_ipv4_pseudo): Likewise.
1269
1270 * rib.h : Delete INTERFACE_UNKNOWN definition. Add prototype for
1271 pseudo interface functions.
1272
1273 * rt_netlink.c (netlink_link_change): Check for pseudo interface.
1274
1275 * zserv.c (ip_route): When destination is pseudo interface, call
1276 rib_add_ipv4_pseudo().
1277
1278 * zserv.c (no_ip_route): Trim "unknown" argument.
1279
12802000-07-26 kunitake@dti.ad.jp
1281
1282 * if_ioctl.c (if_get_hwaddr): Fix hardware address length from 8
1283 to 6.
1284
1285 * rtadv.c (rtadv_send_packet): Fix shift bug for hardware address.
1286
12872000-07-24 Akihiro Mizutani <mizutani@dml.com>
1288
1289 * interface.c: Use install_default() for common VTY commands.
1290
12912000-07-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1292
1293 * if_ioctl.c (interface_list_ioctl): A interface list size is
1294 calculated from ifreq->if_addr.sa_len. This is for OpenBSD.
1295
1296 * ioctl.c (if_get_mtu): Remove codes for SIOCGIFDATA.
1297
12982000-07-09 Chris Dunlop <chris@onthe.net.au>
1299
1300 * if_ioctl.c (if_get_index): Add check for HAVE_BROKEN_ALIASES.
1301
13022000-07-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1303
1304 * zserv.c (zebra_client_read): Add ZEBRA_REDISTRIBUTE_{ADD,DELETE}
1305 message handling.
1306
13072000-07-02 David Lipovkov <davidl@nbase.co.il>
1308
1309 * zserv.c: "ip route A.B.C.D/M unknown" command is added.
1310
13112000-06-28 Michael Rozhavsky <mike@nbase.co.il>
1312
1313 * rib.c: Remove old kernel route when new route comes in.
1314
13152000-06-13 David Lipovkov <davidl@nbase.co.il>
1316
1317 * rib.c (rib_if_up): Add check for unknown interface.
1318
13192000-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1320
1321 * rib.h: Define INTERFACE_UNKNOWN.
1322
13232000-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1324
1325 * Makefile.am (EXTRA_DIST): Move irdp.c until implementation is
1326 finished.
1327
13282000-06-05 David Lipovkov <davidl@nbase.co.il>
1329
1330 * interface.c (if_zebra_delete_hook): Call rib_if_delete().
1331
1332 * redistribute.c (zebra_interface_delete_update): New function.
1333
1334 * redistribute.h (zebra_interface_delete_update): New function
1335 prototype.
1336
1337 * rib.c (rib_if_delete): New function. Walk down all routes and
1338 delete all on the interface.
1339
1340 * rib.h: New function prototype.
1341
1342 * rt_netlink.c (netlink_link_change): Call
1343 zebra_interface_delete_update ().
1344
13452000-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1346
1347 * if_ioctl.c (interface_info_ioctl): Check interface's flag before
1348 checking interface's address.
1349
13502000-04-26 Jochen Friedrich <jochen@nwe.de>
1351
1352 * GNOME-PRODUCT-ZEBRA-MIB: New file.
1353
1354 * GNOME-SMI: New file.
1355
13562000-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1357
1358 * irdp.c: New file from 1997 development code.
1359 * irdp.h: Likewise.
1360
13612000-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1362
1363 * rtadv.c (rtadv_send_packet): Enclose router advertisement
1364 logging with IS_ZEBRA_DEBUG_PACKET.
1365
13662000-04-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1367
1368 * zserv.c (zebra_client_close): Remove client structure from
1369 client_list when connection is terminated.
1370
13712000-03-21 David Lipovkov <davidl@nbase.co.il>
1372
1373 * connected.c (connected_add_ipv4): Allows all necessary structure
1374 updates for connected route, but doesn't insert it into rib if
1375 it's interface is down.
1376
13772000-01-21 Hideto Yamakawa <hideto.yamakawa@soliton.co.jp>
1378
1379 * rtread_getmsg.c: Set some definition for Solaris 2.5 and Solaris
1380 2.5.1.
1381
13822000-01-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1383
1384 * rib.c (no_ipv6_route_ifname): Fix buf of cheking return value
1385 from str2prefix_ipv6().
1386
13872000-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1388
1389 * rt_socket.c: Revert to use RTF_HOST for IPv4 with /32 route and
1390 IPv6 with /128 routes.
1391 (kernel_rtm_ipv4): In case of /32 route's gateway is interface. It
1392 should have mask for cloning.
1393
13941999-12-26 Jochen.Friedrich@genorz.de
1395
1396 * interface.c (if_dump_vty): Fix a bug of missing VTY_NEWLINE.
1397
13981999-12-23 Alex Zinin <zinin@amt.ru>
1399 * interface.*: dynamic int up/down support
1400
14011999-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1402
1403 * ipforward_proc.c (dropline): Move dropline() from lib/dropline.c
1404
1405 * rtread_proc.c (proc_route_read): Don't use dropline().
1406
14071999-12-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1408
1409 * kernel_socket.c (rtm_read): When message is RTM_GET, it has own
1410 process's pid.
1411
14121999-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1413
1414 * main.c (main): Change to default log output to ZLOG_STDOUT.
1415
1416 * zserv.c (zebra_serv): More detailed error print.
1417
14181999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1419
1420 * kernel_socket.c (rtm_read): Check old pid for static route
1421 insertion check.
1422
14231999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1424
1425 * interface.c (if_dump_vty): BSDI/OS uses 64bit for interface
1426 statistics counter.
1427
1428 * mtu_kvm.c: New file added.
1429
14301999-11-27 Vladimir B. Grebenschikov <vova@express.ru>
1431
1432 * kernel_socket.c (rtm_write): Set RTF_CLONING flag for
1433 route to the directly connected interface.
1434
14351999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1436
1437 * rt_socket.c: Delete USE_HOST_BIT definition.
1438
14391999-11-21 Michael Handler <handler@sub-rosa.com>
1440
1441 * rtread_getmsg.c: Undef some definition to resolve conflict.
1442
14431999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1444
1445 * kernel_socket.c (rtm_write): Change to use pre stored struct_dl
1446 value for gateway specification.
1447
14481999-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1449
1450 * rt_socket.c (kernel_rtm_ipv4): Even mask is 32 under IPv4 or
1451 128 under IPv6, don't use RTF_HOST.
1452
14531999-11-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1454
1455 * Makefile.am (EXTRA_DIST): Add rtread_getmsg.c.
1456
14571999-11-21 Michael Handler <handler@sub-rosa.com>
1458
1459 * rtread_getmsg.c: Added for Solaris 2.6 support.
1460
14611999-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1462
1463 * rtread_sysctl.c (rtm_read_route): RTM_DELETE handling added.
1464
1465 * rt_socket.c (kernel_read): Better BSD routing socket support.
1466
14671999-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1468
1469 * client_main.c: Disable making obsolete zebra test `client'
1470 command.
1471
14721999-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1473
1474 * zebra.c: Renamed to zserv.c.
1475
1476 * zebra.h: Global definitions are moved to lib/zebra.h. Then
1477 renamed to zserv.h.
1478
14791999-10-15 Jordan Mendelson <jordy@wserv.com>
1480
1481 * if_ioctl.c: Add Linux 2.2.X's alias support and dynamic
1482 interface. Remove ugly MAX_INTERFACE handling codes.
1483
14841999-09-17 Satosi KOBAYASI <kobayasi@north.ad.jp>
1485
1486 * Fix serious bug of IPv6 route deletion.
1487
14881999-09-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1489
1490 * ioctl.c (if_set_prefix): Properly set broadcast address.
1491
14921999-09-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1493
1494 * rib.c (rib_add_ipv6, rib_delete_ipv6): now protocol daemons
1495 can install connected route to kernel via zebra
1496
14971999-08-24 VOP <vop@unity.net>
1498
1499 * rib.c: Include "sockunion.h"
1500
15011999-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
1502
1503 * ipforward.h: New file.
1504
1505 * zebra.h: Obsolete message ZEBRA_GET_ALL_INTERFACE,
1506 ZEBRA_GET_ONE_INTERFACE, ZEBRA_GET_HOSTINFO are deleted.
1507
15081999-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1509
1510 * zebra.h (ZEBRA_INTERFACE_ADDRESS_ADD):
1511 ZEBRA_INTERFACE_{ADD,DELETE} added.
1512
15131999-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1514
1515 * rib.c: show ip route A.B.C.D works.
1516
1517 * zebra.c (zebra_read_ipv4): Add ifindex to zebra messages.
1518
15191999-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1520
1521 * zebra.h: New Zebra message ZEBRA_INTERFACE_{ADD,DELETE} added.
1522
15231999-08-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1524
1525 * interface.h: New file.
1526 * Makefile.am: Add interface.h
1527
15281999-08-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1529
1530 * redistribute.c (zebra_redistribute): give ifindex to client.
1531
15321999-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1533
1534 * main.c (longopts): -k, --keep_kernel option added.
1535
15361999-07-18 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1537
1538 * rt_socket.c (rtm_write): forgot closing socket bug fixed.
1539
15401999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1541
1542 * rib.c (show_ipv6_cmd): if rib is link show interface name.
1543
15441999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1545
1546 * rt_socket.c (rtm_write): use sockaddr_dl when null gateway.
1547
15481999-07-16 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1549
1550 * rt_socket.c (rtm_write): ipv6 route table bug fixed.
1551
15521999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1553
1554 * zebra.c (zebra_read_ipv6): read link prefix from ospf6 support
1555
15561999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1557
1558 * rt_socket.c (kernel_rtm_ipv6): gate treatment bug fixed.
1559
15601999-07-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1561
1562 * if_sysctl.c (ifm_read): Clear sockunion argument before fetching
1563 data. Suggested by "Chris P. Ross" <cross@eng.us.uu.net>
1564
15651999-07-08 HEO SeonMeyong <seirios@Matrix.IRI.Co.Jp>
1566
1567 * interface.c (if_tun_add): Add KAME's gif tunnel setting codes.
1568
15691999-06-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1570
1571 * zebra.c (zebra_serv): Only accept loopback address connection.
1572
15731999-06-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1574
1575 * zebra.h (ZEBRA_ROUTE_EXTERNAL): Add zebra messages flags
1576
15771999-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1578
1579 * ipforward_proc.c: ipforward_on () and ipforward_off () added.
1580
15811999-06-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1582
1583 * ipforward_proc.c (ipforward_ipv6): Check for IPv6 forwarding
1584 using /proc file system is added.
1585
15861999-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1587
1588 * if_ioctl.c (if_get_index): Interface index set bug is fixed by
1589 adding #else at the middle of function. Suggested by David Luyer
1590 <luyer@ucs.uwa.edu.au>.
1591
15921999-05-29 <kunihiro@zebra.org>
1593
1594 * rt_ioctl.c: Comment out #include <linux/ipv6_route.h>.
1595
15961999-05-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1597
1598 * zebra.h (ZEBRA_ROUTE_MAX): Add new define for the max value of
1599 the sort of routes.
1600
16011999-05-25 Patrick Koppen <koppen@rhrk.uni-kl.de>
1602
1603 * rt_netlink.c (netlink_socket): Make netlink socket non-blocking.
1604 (netlink_parse_info): If errno is EWOULDBLOCK then continue to
1605 parse the message.
1606 (netlink_talk): Likewise
1607
16081999-05-17 <kunihiro@zebra.org>
1609
1610 * redistribute.c (zebra_check_addr): Added for loopback address
1611 check.
1612
16131999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1614
1615 * rt_netlink.c (netlink_route_change): Tempolary bypass ipv6 route
1616 change treatment.
1617
1618 * Makefile.am (noinst_HEADERS): redistribute.h added.
1619
1620 * redistribute.h: New file.
1621
16221999-05-14 Stephen R. van den Berg <srb@cuci.nl>
1623
1624 * zebra.c (show_table): Show all table configuration DEFUN.
1625 (config_table): Config table number DEFUN.
1626
1627 * rt_netlink.c: Add support for multiple routing table.
1628
1629 * rib.c (rib_weed_table): New function added for delete all
1630 routes from specified routing table.
1631
1632 * main.c (signal_init): SIGTERM call sigint.
1633 (sigint): Loggging more better message.
1634
16351999-05-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1636
1637 * rt_netlink.c: Change log () to zlog ().
1638
16391999-05-07 <kunihiro@zebra.org>
1640
1641 * zebra.h (ZEBRA_ROUTE_OSPF6): Added for ospf6d route.
1642
16431999-04-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1644
1645 * interface.c: Add `no ip address' command.
1646
16471999-04-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1648
1649 * rt_netlink.c (kernel_read): Function added for asynchronous
1650 zebra between kernel communication.
1651
16521999-03-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1653
1654 * rtread_sysctl.c (rtm_read): Fix address memcopy overrun bug.
1655 Reported by Achim Patzner <ap@bnc.net>.
1656
16571999-03-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1658
1659 * Makefile.am: Install configuration sample with 600 permission.
1660
16611999-03-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1662
1663 * Makefile.am: Add -I.. to INCLUDES.
1664
16651999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
1666
1667 * syslog support added
1668
16691999-02-17 Peter Galbavy <Peter.Galbavy@knowledge.com>
1670
1671 * if_sysctl.c (interface_list): allocated memory free when unknown
1672 ifm_type is returned.
1673
1674 * ioctl.c (if_get_mtu): added SIOCGIFDATA treatment.
1675
16761998-12-15 Magnus Ahltorp <map@stacken.kth.se>
1677
1678 * interface.c: Header include added.
1679
16801998-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1681
1682 * rt.h (kernel_delete_ipv6): change int index to unsigned int index.
1683
16841998-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1685
1686 * if_ioctl.c (interface_list_ioctl): interface flag must be
1687 checked before check addresses of the interface.
1688
16891998-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1690
1691 * Makefile.am (INCLUDES): add @INCLUDES@ for Linux IPv6.
1692
16931998-10-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1694
1695 * ioctl.c: Linux version before 2.1.0 need interface route setup.
1696
16971998-09-15 HEO SeonMeyong <seirios@matrix.iri.co.jp>
1698
1699 * change HYDRANGEA to KAME
1700
17011998-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1702
1703 * if_ioctl.c (if_addr_ioctl): set address family for getting
1704 interface's address.
1705 (if_get_index): silently return when can't get interface's index.
1706
17071998-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1708
1709 * main.c (main): batch mode option '-b' added.
1710
17111998-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1712
1713 * ioctl.c (if_set_prefix): add `ip address IPV4ADDR' command.
1714 * interface.c (shutdown_if): add interface shutdown and no
1715 shutdown command.
1716
17171998-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1718
1719 * rib.c (rib_add_ipv6): delete rib_add_in6.
1720
17211998-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1722
1723 * main.c: retain flag is added.
1724
17251998-07-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1726
1727 * rtable.[ch]: merged with rib.[ch]
1728
17291998-07-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1730
1731 * connected.h: renamed from ifa.h.
1732
17331998-06-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1734
1735 * rename if.c to interface.c
1736 * rename ifa.c to connected.c
1737
1738 * Porting to Debian GNU/Linux 2.0 (hamm).
1739
17401998-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1741
1742 * rt_netlink.c: renamed from krt_netlink.c
1743
1744 * fib.c: deleted.
1745 * rt_kvm.c: deleted.
1746 * rtread_getmsg.c: deleted.
1747
17481998-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1749
1750 * if.c (multicast): add multicast flag [un]set fucntion.
1751
17521998-05-19 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1753
1754 * rt_socket.c: Modify for compile on Solaris, but dont't work it.
1755 rt_socket.c have some undefined function, so add directive "IMPLEMENT"
1756
17571998-05-18 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1758
1759 * zebra.c: Modify for compile on Solaris.
1760
17611998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1762
1763 * main.c: change CONFDIR to SYSCONFDIR.
1764
17651998-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1766
1767 * .cvsignore: added.
1768
17691998-04-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1770
1771 * client.c: moves to ../lib.
1772
17731998-03-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1774
1775 * if_ioctl.c (if_get_addr): Change address copy from memcopy() to
1776 structure assignment.
1777
17781998-03-30 URA Hiroshi <ura@yamato.ibm.co.jp>
1779
1780 * if_sysctl.c (ifm_interface_add): sdl->sdl_data copy bug fixed.
1781
17821998-02-23 "Hannes R. Boehm" <hannes@boehm.org>
1783
1784 * if.c (if_init): add config_exit_cmd and config_help_cmd.
1785
17861998-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
1787
1788 * rt_ioctl.c (route_ioctl): EPERM treatment added.
1789
17901998-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1791
1792 * rt_socket.c (kernel_read): communication port zebra between
1793 kernel is now handled by kernel_read.
1794
17951998-01-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1796
1797 * main.c (main): zebra [-P port] can specify vty port number.
1798
17991997-12-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1800
1801 * zebra.c: change select will be block.
1802
18031997-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1804
1805 * add static route treatment.
1806
18071997-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1808
1809 * rt_netlink.c: add netlink support over GNU/Linux system.
1810
18111997-11-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1812
1813 * all inet_addr is changed to inet_aton.
1814
1815 * zebra.c (ip_route): add ip route command for static routes.
1816
18171997-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1818
1819 * if.c (if_flag_dump): Linux port of if_flag_dump and _vty.
1820
18211997-11-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1822
1823 * if.c: add interface command.
1824
18251997-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1826
1827 * ipforward_proc.c : Now works on Linux.
1828
18291997-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1830
1831 * command.c : add completion feature.
1832
18331997-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1834
1835 * vty.c (vty_command): add vty interface.
1836
18371997-10-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1838
1839 * zebra.c: add verbose mode.
1840
18411997-10-12 SonMyong Ho <s-ho@Matrix.IRI.Co.Jp>
1842
1843 * Hydrangea for FreeBSD supported
1844 * in.h: add some prototype.
1845
18461997-10-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1847
1848 * rt_socket.c and rtread.c completely rewritten.
1849
18501997-10-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1851
1852 * rt_socket.c: rename kernel_sock to routing_socket
1853
18541997-10-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1855
1856 * if.c (if_new): interface structure change from linklist to vector.
1857
18581997-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1859
1860 * vector.c (vector_init): create vector related function
1861
18621997-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1863
1864 * Makefile.in: add tags target
1865
1866 * start IPv6 support for INRIA FreeBSD.
1867