blob: f215266c46735bfc070ba8b2fac3bb5b80569589 [file] [log] [blame]
paula1ac18c2005-06-28 17:17:12 +000012005-06-28 Paul Jakma <paul.jakma@sun.com>
2
3 * (global) Extern and static'ification, with related fixups
4 of declarations, ensuring files include their own headers, etc.
5 if_ioctl.c: (interface_info_ioctl) fix obvious arg mis-order in
6 list loop
7
8
paul62debbb2005-06-14 14:07:07 +000092005-06-14 Paul Jakma <paul.jakma@sun.com>
10
11 * kernel_socket.c: consolidate the IFAM{ADDR,MASK}GET and
12 RTM{ADDR,MASK}GET macros into generic rta_addrs macros,
13 RTA_{ADDR,ATTR}_GET.
14 (af_check) could use 'inline' attribute
15 (ifam_read_mesg) remove IFAM{ADDR,MASK}GET macro, change to
16 generic macro.
17 (rtm_read_mesg) similar
18
hasso1ada8192005-06-12 11:28:18 +0000192005-06-12 Hasso Tepper <hasso at quagga.net>
20
21 * rt_netlink.c: Remove netlink-addr socket declaration, it's not used.
22 * rt_netlink.c (netlink_parse_info): Fix debug messages - nlmsg_pid is
23 unsigned and one zlog call had swapped arguments.
24 * rt_netlink.c (netlink_route_multipath): Fix compile with disabled
25 IPv6 support.
26
paul1dcb5172005-05-31 08:38:50 +0000272005-05-31 Paul Jakma <paul.jakma@sun.com>
28
29 * zserv.c: (zsend_route_multipath) Fix bug if route is sent
30 with no NEXTHOP_FLAG_FIB nexthops. As ZAPI_MESSAGE_IFINDEX
31 and ZAPI_MESSAGE_NEXTHOP are always set, clients would try
32 read non-existent nexthop information and hit stream assert.
33 Zserv is still broken for multi-nexthop messages, but it always was.
34
paul69e10ad2005-05-06 21:27:33 +0000352005-05-06 Paul Jakma <paul.jakma@sun.com>
36
37 * zserv.h: Remove ZEBRA_PORT definition, its in lib/zebra.h now
38
paul4d38fdb2005-04-28 17:35:14 +0000392005-04-28 Paul Jakma <paul.jakma@sun.com>
40
41 * rib.h: (struct rib) Add lock field for refcounting.
42 * zserv.h: (struct zebra_t) Add a ribq workqueue to the zebra
43 'master' struct.
44 * zserv.c: (zread_ipv4_add) XMALLOC then memset should be XCALLOC.
45 * zebra_rib.c: Clean up refcounting of route_node, make struct rib
46 refcounted and convert rib_process to work-queue. In general,
47 rib's should be rib_addnode'd and delnode'd to route_nodes, and
48 these symmetrical functions will manage the locking of referenced
49 route_node and freeing of struct rib - rather than having users
50 manage each seperately - with much scope for bugs..
51 (newrib_free) removed and replaced with rib_lock
52 (rib_lock) new function, check state of lock and increment.
53 (rib_unlock) new function, check lock state and decrement. Free
54 struct rib if refcount hits 0, freeing struct nexthop's, as
55 newrib_free did.
56 (rib_addnode) Add RIB to route_node, locking both.
57 (rib_delnode) Delete RIB from route_node, unlocking each.
58 (rib_process) Converted to a work-queue work function.
59 Functional changes are minimal, just arguments, comments and
60 whitespace.
61 (rib_queue_add_qnode) Helper function to setup a ribq item.
62 (rib_queue_add) Helper function, same arguments as old
63 rib_process, to replace in callers of rib_process.
64 (rib_queue_qnode_del) ribq deconstructor.
65 (rib_queue_init) Create the ribq.
66 (rib_init) call rib_queue_init.
67 (remainder) Sanitise refcounting of route_node's. Convert to
68 rib_queue_add, rib_addnode and rib_delnode. Change XMALLOC/memset
69 to XCALLOC. Remove calls to nexthop_delete and nexthop_free.
70
paulcf460ef2005-04-10 16:54:26 +0000712005-04-10 Paul Jakma <paul@dishone.st>
72
73 * if_ioctl_solaris.c: (if_lookup_linklocal) fix order of args
74 in ALL_LIST_ELEMENTS_RO macro.
75
ajs57a14772005-04-10 15:01:56 +0000762005-04-10 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
77
78 * zserv.c (zebra_client_read): Fix bug: first read attempt should
79 read ZEBRA_HEADER_SIZE minus the number of bytes already read.
80 Improve efficiency by maintaining a calculation of the number
81 of bytes read instead of calling stream_get_endp multiple times.
82 If message length is too small, issue a warning message (not debug)
83 before closing the connection. And also check that message length
84 is not too big.
85
hasso206d8052005-04-09 16:38:51 +0000862005-04-09 Hasso Tepper <hasso at quagga.net>
87
hassofa599802005-04-09 16:59:28 +000088 * rt_netlink.c: One tiny missing comma caused pointless debug messages
89 about IPv6 nexthops.
90
912005-04-09 Hasso Tepper <hasso at quagga.net>
92
hasso206d8052005-04-09 16:38:51 +000093 * rt_netlink.c (netlink_parse_info): Fix warning. It's safe to cast
94 status to unsigned here, because we already checked that it isn't
95 negative or 0.
96 * rt_netlink.c (netlink_interface_addr): Prefix length belongs to the
97 address, not to the interface.
98 * rt_netlink.c (netlink_route_multipath): Fix debug. No useless info
99 is printed out now and IPv6 info is handeled.
100
paul3d1dc852005-04-05 00:45:23 +00001012005-04-05 Paul Jakma <paul@dishone.st>
102
103 * zserv.c: print more helpful errors when we fail to successfully
104 bind and listen on zserv socket. Closes bugzilla #163.
105
ajsd2fc8892005-04-02 18:38:43 +00001062005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
107
ajs08dbfb62005-04-03 03:40:52 +0000108 * if_ioctl.c: (interface_list_ioctl) Use if_get_by_name_len.
109 * if_proc.c: (ifaddr_proc_ipv6) Increase size of ifname buffer to
110 avoid overflow.
111 * kernel_socket.c: (ifan_read) Use if_get_by_name_len.
112
1132005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
114
ajsa3491982005-04-02 22:50:38 +0000115 * kernel_socket.c: (ifm_read) Use new if_lookup_by_name_len function
116 to save a memcpy.
117 * if_ioctl_solaris.c: (interface_list_ioctl) Fix subtle bug with new
118 if_get_by_name_len function.
119
1202005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
121
ajsd2fc8892005-04-02 18:38:43 +0000122 * interface.c: (if_new_intern_ifindex) Remove obsolete function.
123 (if_delete_update) After distributing the interface deletion message,
124 set ifp->ifindex to IFINDEX_INTERNAL.
125 (if_dump_vty) Detect pseudo interface by checking if ifp->ifindex is
126 IFINDEX_INTERNAL.
127 (zebra_interface) Check return code from interface_cmd.func.
128 Do not set internal ifindex values to if_new_intern_ifindex(),
129 since we now use IFINDEX_INTERNAL for all pseudo interfaces.
130 * kernel_socket.c: (ifm_read) Fix code and comments to reflect that
131 all internal interfaces now have ifp->ifindex set to IFINDEX_INTERNAL.
132 * rt_netlink.c: (set_ifindex) New function used to update ifp->ifindex.
133 Detects interface rename events by checking if that ifindex is already
134 being used. If it is, delete the old interface before assigning
135 the ifindex to the new interface.
136 (netlink_interface, netlink_link_change) Call set_ifindex to update
137 the ifindex.
138
hassob7ed1ec2005-03-31 20:13:49 +00001392005-03-31 Hasso Tepper <hasso at quagga.net>
140
141 * rt_netlink.c (netlink_talk_filter): Show always warning message,
142 it's not for debug.
143 * rt_netlink.c (netlink_talk): Don't assume we use netlink_cmd
144 although we do now actually.
145 * rt_netlink.c (netlink_route, netlink_route_multipath): Always use
146 netlink_cmd to send messages to the kernel.
147
ajs2da40f42005-03-30 16:33:13 +00001482005-03-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
149
150 * irdp.h: Add prototype for irdp_sock_init, and fix protos for
151 other irdp_* functions.
152 * irdp_interface.c: (irdp_if_start) If irdp_sock is negative,
153 call irdp_sock_init to create the IRDP socket.
154 (irdp_if_init) Rename to irdp_init().
155 (get_iflist_ifp) Remove function that is a duplicate of
156 if_lookup_by_index.
157 (*) Make many functions static. And remove superfluous "\n" from
158 several zlog messages.
159 * irdp_main.c: (irdp_init) Remove function that used to call
160 irdp_if_init() and irdp_sock_init(), since we will now create
161 the socket only upon first use.
162 (irdp_sock_init) Do not update global irdp_sock variable, just
163 return the fd and assume that the caller will do so. If setsockopt
164 calls fail, close the socket before returning -1.
165 (*) Make many functions static.
166 * irdp_packet.c: Initialize irdp_sock to -1.
167 (irdp_read_raw) Call standard library function if_lookup_by_index
168 instead of get_iflist_ifp.
169 (irdp_recvmsg) Should be static, not global.
170
ajsa608bbf2005-03-29 17:03:49 +00001712005-03-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
172
173 * rt_netlink.c: (netlink_link_change) If the status of an
174 operative interface changes (e.g. MTU changes), the client
175 daemons should be notified by calling zebra_interface_up_update.
176 Previously, the information was being updated in zebra's
177 interface structure, but the clients were not notified of
178 changes to an operative interface.
179
vincent7cee1bb2005-03-25 13:08:53 +00001802005-03-25 Jean-Mickael Guerin <jean-mickael.guerin@6wind.com>
181 * interface.c, interface.h, rtadv.c, rtadv.h: modifications to
182 IPv6 Neighbor Discovery according to RFC3775, section 7:
183 o 1-bit Home Agent flag management in Router Advertisement (7.1).
184 o 1-bit Router Address flag management in Prefix Information
185 Option (7.2).
186 o Advertisement Interval Option (7.3)
187 o Home Agent Information Option (7.4)
188 o Changes to Sending Router Advertisements more frequently (7.5)
189
hassoed9bb6d2005-03-13 19:17:21 +00001902005-03-13 Hasso Tepper <hasso at quagga.net>
191
192 * zebra/interaface.c: "show interface description" command
193 implemented.
194
paulc1f01f32005-03-12 06:33:14 +00001952005-03-12 Paul Jakma <paul@dishone.st>
196
197 * rt_netlink.c: (netlink_route_multipath) dont set equalise flag.
198 No stock Linux kernel has ever supported it, and even if it had
199 it's not generally a good idea.
200
hasso42a66d72005-03-07 08:19:44 +00002012005-03-07 Michael Sandee <voidptr@voidptr.sboost.org>
202
203 * if_proc.c, ipforward_proc.c, rtread_proc.c: Fix fd leaks.
204
hasso3452d472005-03-06 13:42:05 +00002052005-03-06 Hasso Tepper <hasso at quagga.net>
206
207 * interface.c: Fix CRC and frame errors statistics in Linux.
208
ajs719e9742005-02-28 20:52:15 +00002092005-02-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
210
211 * zserv.c: Must include network.h and buffer.h for non-blocking I/O.
212 Remove global message_queue and t_write (need separate buffering for
213 each client).
214 (zebra_server_dequeue,zebra_server_enqueue) Remove functions
215 related to old buggy buffering code.
216 (zserv_delayed_close) New thread callback function to delete a client.
217 (zserv_flush_data) New thread callback function to flush buffered
218 data to client.
219 (zebra_server_send_message) Rewritten to use buffer_write (so
220 buffering of writes and non-blocking I/O work properly).
221 (zsend_interface_add,zsend_interface_delete,zsend_interface_address,
222 zsend_interface_update) Return 0 instead of -1 if !client->ifinfo
223 (this is not really an error). Return value from
224 zebra_server_send_message.
225 (zsend_route_multipath,zsend_ipv4_nexthop_lookup,
226 zsend_ipv4_import_lookup) Return value from zebra_server_send_message.
227 (zsend_ipv6_nexthop_lookup) Fix scope to static, and return value
228 from zebra_server_send_message.
229 (zsend_router_id_update) Must use zebra_server_send_message instead
230 of deprecated writen function. Return 0 instead of -1 if this client
231 is not subscribed to router-id updates (since this is not really
232 an error).
233 (zread_interface_add) Change type to static int. If
234 zsend_interface_add fails or zsend_interface_address fails, return -1
235 immediately (since the client has had an I/O error).
236 (zread_interface_delete,zread_ipv4_add,zread_ipv4_delete,
237 zread_ipv6_add,zread_ipv6_delete,zread_router_id_delete) Return 0
238 to indicate success.
239 (zread_ipv4_nexthop_lookup) Return value from
240 zsend_ipv4_nexthop_lookup.
241 (zread_ipv4_import_lookup) Return value from zsend_ipv4_import_lookup.
242 (zebra_read_ipv6) Remove unused function.
243 (zread_ipv6_nexthop_lookup) Return value from
244 zsend_ipv6_nexthop_lookup.
245 (zread_router_id_add) Return value from zsend_router_id_update.
246 (zebra_client_close) Call buffer_free(client->wb) and
247 thread_cancel(client->t_suicide).
248 (zebra_client_create) Allocate client->wb using buffer_new.
249 (zebra_client_read) Support non-blocking I/O by using stream_read_try.
250 Use ZEBRA_HEADER_SIZE instead of 3.
251 (zebra_accept) Fix bug: reset accept thread at top. Make client
252 socket non-blocking using the set_nonblocking function.
253 (config_write_forwarding) Fix scope to static.
254 (zebra_init) Remove initialization code for old buggy write buffering.
255 * zserv.h: Add 2 new fields to struct zserv: struct buffer *wb
256 (to enable buffered writes with non-blocking I/), and
257 struct thread *t_suicide to support delayed close on I/O
258 errors.
259 * router-id.h: Remove prototypes for zread_router_id_add and
260 zread_router_id_delete (their scope should be static to zserv.c).
261
ajs27da3982005-02-24 16:06:33 +00002622005-02-24 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
263
264 * redistribute.c: (zebra_check_addr,is_default,
265 zebra_redistribute_default,zebra_redistribute) Fix scope to be static.
266
hassoe8274dc2005-02-20 19:09:23 +00002672005-02-20 Hasso Tepper <hasso at quagga.net>
268
269 * rt_netlink.c: Don't show messages "ignoring message type 0x001[89]"
270 if we are not debugging.
271
paule31f2292005-02-19 02:00:26 +00002722005-02-19 Paul Jakma <paul@dishone.st>
273
274 * zserv.c: (zebra_read_ipv6) replace the char * arithmetic with
275 STREAM_READABLE.
276
paul1e193152005-02-14 23:53:05 +00002772005-02-14 Paul Jakma <paul@dishone.st>
278
279 * Not all Linux netlink systems have IFLA_WIRELESS
280
ajs6a52d0d2005-01-30 18:49:28 +00002812005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
282
283 * ioctl.c: (if_ioctl,if_ioctl_ipv6,if_get_flags) Replace perror with
284 zlog_err.
285 * ioctl_solaris.c: (if_ioctl,if_ioctl_ipv6) Replace perror with
286 zlog_err.
287
ajs4be019d2005-01-29 16:12:41 +00002882005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
289
ajs4460e7a2005-01-29 17:07:40 +0000290 * if_ioctl_solaris.c: (interface_list_ioctl) Save errno before calling
291 zserv_privs.change.
292 * ioctl{,_solaris}.c: (if_ioctl,if_ioctl_ipv6) Save errno before calling
293 zserv_privs.change.
294 * ipforward_solaris.c: (solaris_nd) Save errno before calling
295 zserv_privs.change.
296 * irdp_main.c: (irdp_sock_init) Save errno before calling
297 zserv_privs.change.
298
2992005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
300
ajs4be019d2005-01-29 16:12:41 +0000301 * rt_netlink.c: (netlink_socket,netlink_request,netlink_parse_info,
302 netlink_talk) Save errno before calling zserv_privs.change.
303
paulc15cb242005-01-24 09:05:27 +00003042005-01-24 Martin Pot <mpot at martybugs.net>
305
306 * zebra/rt_netlink.c: ignore wireless newlink netlink messages.
307
hasso6f2c27a2005-01-18 13:44:35 +00003082005-01-18 Hasso Tepper <hasso at quagga.net>
309
310 * interface.c: Better statistics output in "show interface" command in
311 case of /proc being used.
312
hasso583d8002005-01-16 23:34:02 +00003132005-01-17 Hasso Tepper <hasso at quagga.net>
314
315 * main.c: With --nl-bufsize argument is required.
316
paul865b8522005-01-05 08:30:35 +00003172005-01-05 Paul Jakma <paul@dishone.st>
318
319 * zserv.c: (zebra_accept) Comment out setting of socket to NONBLOCK
320 for now, as we dont actually deal with with resending.... See
321 bugzilla #122, fix from wawa@yandex-team.ru (Vladimir Ivanov).
322 * kernel_socket.c: (routing_socket) ditto.
323
ajsb99760a2005-01-04 16:24:43 +00003242005-01-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
325
326 * rtadv.c: (rtadv_recv_packet,rtadv_send_packet) Use ZCMSG_FIRSTHDR
327 instead of CMSG_FIRSTHDR.
328
ajs341a8f12004-12-22 16:32:16 +00003292004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
330
331 * connected.c: (connected_add_ipv4) Limit warning about /32 addresses
332 with no peer specified to PtP interfaces only.
333
hassob8adec12004-12-18 16:03:28 +00003342004-12-18 Hasso Tepper <hasso at quagga.net>
335
336 * zebra_vty.c: Fix "show ipv6 route <proto>" command help and make it
337 work for isis routes.
338
gdt6a250b02004-12-09 14:48:12 +00003392004-12-09 Greg Troxel <gdt@fnord.ir.bbn.com>
340
341 * kernel_socket.c (rtmsg_debug): char * => const char *
342
ajs274a4a42004-12-07 15:39:31 +00003432004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
344
ajsb6178002004-12-07 21:12:56 +0000345 * *.c: Change level of debug messages to LOG_DEBUG.
346
3472004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
348
ajs274a4a42004-12-07 15:39:31 +0000349 * main.c: (main) The 2nd argument to openzlog has been removed.
350 So stdout logging will no longer be enabled by default.
351 * irdp_main.c: (irdp_finish) Reduce severity of shutdown message
352 from LOG_WARNING to LOG_INFO.
353
ajs887c44a2004-12-03 16:36:46 +00003542004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
355
356 * main.c: (sigint) Use zlog_notice for termination message.
357 (main) Add a startup announcement using zlog_notice.
358
hassoaccb1562004-11-25 19:21:07 +00003592004-11-25 Hasso Tepper <hasso at quagga.net>
360
361 * irdp_interface.c: Remove comment from DEFUN, it breaks vtysh because
362 it confuses extract.pl.
hassoc0652302004-11-25 19:33:48 +0000363 * main.c: Make group to run as configurable.
hassoaccb1562004-11-25 19:21:07 +0000364
hasso6bd7c6a2004-10-28 17:32:27 +00003652004-10-28 Hasso Tepper <hasso at quagga.net>
366
367 * interface.c: Remove dead "ip tunnel" command.
368
paul06f953f2004-10-22 17:00:38 +00003692004-10-22 Paul Jakma <paul@dishone.st>
370
371 * irdp_main.c: change setsockopt_pktinfo to setsockopt_ifindex
372
hasso3fb9cd62004-10-19 19:44:43 +00003732004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
374
375 * rt_netlink.c: (netlink_interface_addr) For PtP interfaces, ignore
376 tb[IFA_ADDRESS] if it's the same as tb[IFA_LOCAL].
377 * interface.c: (ip_address_install) Use new ipv4_broadcast_addr
378 function.
379 * connected.c: (connected_up_ipv4) Use CONNECTED_POINTOPOINT_HOST
380 macro.
381 (connected_down_ipv4) ditto.
382 (connected_add_ipv4) Validate destination address, print warnings
383 if it does not make sense.
384
hassoc1eaa442004-10-19 06:26:01 +00003852004-10-19 Hasso Tepper <hasso at quagga.net>
386
387 * zserv.c: Fix regression introduced with zserv cleanup.
388
hassoc75105a2004-10-13 10:33:26 +00003892004-10-13 Hasso Tepper <hasso at quagga.net>
390
391 * zebra_snmp.c: Remove defaults used to initialize smux connection to
392 snmpd. Connection is initialized only if smux peer is configured.
hassob71f00f2004-10-13 12:20:35 +0000393 * zserv.c: Remove useless warnings "forwarding is already on".
hassoc75105a2004-10-13 10:33:26 +0000394
hasso39ff11d2004-10-12 15:55:19 +00003952004-10-12 Hasso Tepper <hasso at quagga.net>
396
397 * zebra_vty.c: Unbreak "show ip route" command help and make it work
398 for isis routes.
hasso39db97e2004-10-12 20:50:58 +0000399 * interface.c(if_dump_vty): Show IPv6 addresses in "show interface"
400 output. Fixes Bugzilla #119.
401 * *.c: Make some strings const and some (unsigned) casts to fix
402 compiler warnings.
hasso39ff11d2004-10-12 15:55:19 +0000403
hassofce954f2004-10-07 20:29:24 +00004042004-10-07 Hasso Tepper <hasso at quagga.net>
405
406 * connected.c, main.c, rt_netlink.c, rtadv.c, zebra_rib.c, zserv.c:
407 Fix warnings: make strings const, signed -> unsigned.
408
paul72164662004-10-05 14:39:43 +00004092004-10-05 Paul Jakma <paul@dishone.st>
410
411 * irdp_packet.c: (parse_irdp_packet) style issues.
412 Use sockopt_iphdrincl_swab_systoh.
413 Try unbork the code. Checksum the ICMP data and actually
414 compare it to received checksum. Check data length against
415 claimed length in header.
416 Always use ntoh.. when accessing addresses, even when the
417 comparison happens to be endian-safe.
418 (send_packet) minor style isues. Use
419 sockopt_iphdrincl_swab_htosys.
420 (irdp_iph_hton/ntoh) IP header to/from network/host order.
421
hassoeef1fe12004-10-03 18:46:08 +00004222004-10-03 Gilad Arnold <gilad.arnold at terayon.com>
423
424 * interface.c, interface.h: A new prefix tree of connected subnets is
425 associated with each interface structure in zebra, in which each
426 live (ie, non-synthetic) node holds a list of installed addresses
427 that belong to that prefix. Remove secondary address logic from cli.
428 See [quagga-dev 872] for detailed explanation.
429 * connected.c: Use if_subnet_add() and if_subnet_delete().
430
hasso18a6dce2004-10-03 18:18:34 +00004312004-10-03 James R. Leu <jleu at mindspring.com>
432
433 * router-id.c, router-id.h: New files. Router id selection process. If
434 there is non 127.x.x.x address in loopack interface, lowest of them
435 is chosen. If there isn't, lowest from other interfaces addresses
436 are chosen. "router-id x.x.x.x" vty command to manual override.
437 * Makefile.am: Compile new files.
438 * main.c: Initialize router id.
439 * redistribute.c: Add interface addresses into router id selection
440 lists as they (dis)appear.
441 * zserv.c, zserv.h: Sending router id related messages to daemons.
442
hassoc9e52be2004-09-26 16:09:34 +00004432004-09-26 Hasso Tepper <hasso at quagga.net>
444
445 * irdp_interface.c, irdp_main.c, irdp_packet.c, rt_netlink.c,
446 rtadv.c, zebra_vty.c: Fix compiler warnings.
447
paul0c0f9112004-09-24 08:24:42 +00004482004-09-24 Paul Jakma <paul@dishone.st>
449
paul26f7a242004-09-24 08:45:10 +0000450 * irdp_interface.c: (no_ip_irdp_address_preference_cmd)
451 add missing listnode declaration.
452
4532004-09-24 Paul Jakma <paul@dishone.st>
454
paul0c0f9112004-09-24 08:24:42 +0000455 * irdp_{interface,main}.c: lists typedef removal cleanup.
456 update some list loops to LIST_LOOP. some miscellaneous style
457 and indent fixups.
458 (no_ip_irdp_address_preference_cmd) Fix delete of referenced node
paul26f7a242004-09-24 08:45:10 +0000459 in loop.
paul0c0f9112004-09-24 08:24:42 +0000460 * irdp_packet.c: (irdp_recvmsg) Fix buggy assignment of integer
461 to pointer.
462 * if_ioctl{,_solaris}.c: lists typedef removal cleanup.
463 update some list loops to LIST_LOOP.
464
hasso52dc7ee2004-09-23 19:18:23 +00004652004-09-23 Hasso Tepper <hasso at quagga.net>
466
467 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
468
paul44983cf2004-09-22 13:15:58 +00004692004-09-22 Paul Jakma <paul.jakma@sun.com>
470
471 * zserv.c: (zsend_route_multipath) fix nasty bad memset of struct
472 in_addr to sizeof(struct in6_addr), causing odd and hard to debug
473 crash.
474
hassoc34b6b52004-08-31 13:41:49 +00004752004-08-31 Hasso Tepper <hasso at quagga.net>
476
477 * main.c, rt_netlink.c: Added -s command line switch for tuning
478 netlink receive buffer size in Linux to avoid buffer overruns.
479
gdta5ea6872004-08-26 13:24:00 +00004802004-08-26 Miles Nordin <carton@Ivy.NET>
481
482 * ipforward_sysctl.c (mib_ipv6): Use size_t for len, per
483 sysctl(3), rather than int. (Needed on NetBSD/alpha to display
484 forwarding status correctly.)
485
paul3e0b3a52004-08-23 18:58:32 +00004862004-08-23 Paul Jakma <paul@dishone.st>
487
488 * zserv.c: (zebra_init) remove implicit ip forward enabling
489
paul0de1cde2004-08-19 04:45:33 +00004902004-08-19 Paul Jakma <paul@dishone.st>
491
492 * irdp_main.c: update to match sockopt renames.
493 * irdp_packet.c: include sockopt.h and update to match sockopt
494 renames.
495
gdt57492d52004-08-11 18:06:38 +00004962004-08-11 Greg Troxel <gdt@fnord.ir.bbn.com>
497
498 * rtadv.c (rtadv_send_packet): Allocate space for control messages
499 more carefully; it was wrong on NetBSD/sparc where CMSG alignment
500 is to 8 bytes instead of 4, and overwriting the address. Use the
501 provided macros for determining lengths.
502
paul5b73a672004-07-23 15:26:14 +00005032004-07-23 Sowmini Varadhan <Sowmini.Varadhan@Sun.COM>
504
505 * if_ioctl_solaris.c: HAVE_IPV6 ifdef fixups
506 * zserv.c: ditto
507 * ioctl_solaris.c: ditto.
508 * interface.c: cast for LLADDR
509 * interface.h: Add guards, include redistribute.h and remove
510 extraneous definitions of zebra_interface_{up,down}_update
511 * ioctl.h: Add AF_IOCTL define for non SOLARIS_IPV6
512 * redistribute.h: include dependent header, zserv.h
513 * zserv.h: include dependent header, rib.h
514
paul1470baf2004-07-23 15:25:01 +00005152004-07-23 Paul Jakma <paul@dishone.st>
516
517 * irdp_main.c: use setsockopt_pktinfo_ipv4
518 * irdp_packet.c: use SOPT_SIZE_CMSG_PKTINFO_IPV4 and
519 getsockopt_pktinfo_ifindex()
520
gdtcced60d2004-07-13 16:45:54 +00005212004-07-13 David Wiggins <dwiggins@bbn.com
522
523 * kernel_socket.c (rtm_flag_dump): terminate buffer with '\0', not '0'.
524
hasso25dac852004-07-13 03:06:51 +00005252004-07-13 Hasso Tepper <hasso@estpak.ee>
526
527 * irdp_main.c: Add privilege change.
528
hasso996933f2004-07-12 16:32:56 +00005292004-07-12 Hasso Tepper <hasso@estpak.ee>
530
531 * irdp_interface.c: follow common style while naming vty command
532 functions. Avoids confusion in extract.pl.
533
gdt87efd642004-06-30 17:36:11 +00005342004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
535
536 * main.c: define thread_master variable so that linking with
537 libzebra.so doesn't fail. Arguably zclient.o should be in a
538 separate library, but this is far less disruptive.
539
hassoca776982004-06-12 14:33:05 +00005402004-06-12 Robert Olsson <Robert.Olsson at data.slu.se>
541
542 * Added IRDP support.
543
hasso3e31cde2004-05-18 11:58:59 +00005442004-05-18 Hasso Tepper <hasso@estpak.ee>
545
546 * rtadv.c: Removed "[no] ipv6 nd send-ra" command. Replaced "ipv6 nd
547 prefix-advertisement" with "ipv6 nd prefix". Rewrite syntax of
548 "ipv6 nd prefix" command to allow various combinations of parameters
549 and flags. No defaults in configuration. Replaced on-link and
550 autoconfig with off-link and no-autoconfig flags in command syntax.
551 Cosmetic fixes in all commands. Documentation to reflect all changes.
552
paul19877dd2004-05-11 10:49:35 +00005532004-05-11 Paul Jakma <paul@dishone.st>
554
555 * Makefile.am: support for IOCTL_METHOD, as per Sowmini's patch.
paul48a46fa2004-05-11 10:55:22 +0000556 * if_ioctl_solaris.c: Fixup some erroneous privilege changes and
557 add privs.h header.
558 * ioctl_solaris.c: ditto
paulc50ae8b2004-05-11 11:31:07 +0000559 * ioctl.h: Add if_ioctl_ipv6 prototype and AF_IOCTL for SOLARIS_IPV6
560 * kernel_socket.c: Fix SAROUNDUP, compiler doesnt like do..while
561 RHS in assignments :)
562 * redistribute.c: (zebra_interface_delete_update) only used
563 if RTM_IFANNOUNCE and NETLINK is available.
564
paulb9df2d22004-05-09 09:09:59 +00005652004-05-09 Paul Jakma <paul@dishone.st>
566
567 * zserv.c: (zsend_route_multipath) Set the nexthop_num
568 field correctly. Add NEXTHOP_TYPE_IPV6_IFNAME for v6.
569 Conditionally set ZAPI_MESSAGE_METRIC flag - only for adds.
570 (zsend_ipv4_add) cruft, deleted.
571 (zsend_ipv4_delete) ditto.
572 (zsend_ipv6_add) ditto.
573 (zsend_ipv6_delete) ditto.
paul44145db2004-05-09 11:00:23 +0000574 * ioctl.c: (if_get_mtu) set mtu6 to mtu
575 * mtu_kvm.c: (if_kvm_get_mtu) set mtu6 to mtu
576 * rt_netlink.c: (netlink_interface) set mtu6 to mtu
577 (netlink_link_change) ditto
paul66e94882004-05-09 17:19:24 +0000578 * ipforward_solaris.c: fix typo of ND variable.
paul88424682004-05-09 18:21:35 +0000579 * if_ioctl_solaris.c: Add zprivs support.
580 * ioctl_solaris.c: ditto.
paul66e94882004-05-09 17:19:24 +0000581
paulb9df2d22004-05-09 09:09:59 +00005822004-05-09 Sowmini Varadhan <sowmini.varadhan@sun.com>
583
584 * zserv.c: (zsend_ipv{4,6}_{add,delete}_multipath) collapsed
585 into single zsend_route_multipath function.
586 (zsend_interface_{up,down}) collapsed into zsend_interface_update.
587 (zsend_interface_address_{add,delete}) collapsed into
588 zsend_interface_address.
589 (zsend_interface_add) send mtu6.
590 (zsend_interface_delete) ditto.
591 (zebra_write) remove unused function.
592 (various) Apply static qualifier. Add comments.
593 * zserv.h: Definitions changed as per above.
594 * redistribute.c: Changes as per zserv.c.
paul44145db2004-05-09 11:00:23 +0000595 * interface.c: (if_delete_update) only used with HAVE_NETLINK
596 and RTM_IFANNOUNCE.
597 (if_flag_dump_vty) Solaris IFF_IPV4 and IFF_IPV6 if flags
598 (if_dump_vty) print mtu6 if not same as mtu
paul88424682004-05-09 18:21:35 +0000599 * if_ioctl_solaris.c: New file, Solaris interface ioctl methods.
600 * ioctl_solaris.c: New file, Common solaris ioctl methods.
601
hasso34195bf2004-04-06 12:07:06 +00006022004-04-06 Krzysztof Oledzki <oleq@ans.pl>
603
604 * rt_netlink.c: Do not ignore metric when reading kernel routing
605 table on Linux with rt_netlink interface.
606
6072004-03-18 Hasso Tepper <hasso@estpak.ee>
hassof1d92e12004-03-18 15:40:33 +0000608
609 * interface.c: Temporary fix for handling secondary addresses
610 with label.
611
hasso55906722004-02-11 22:42:16 +00006122004-02-12 Hasso Tepper <hasso@estpak.ee>
hassof1d92e12004-03-18 15:40:33 +0000613
hasso55906722004-02-11 22:42:16 +0000614 * zserv.c: Added "ipv6 forwarding" command.
615
gdtb27900b2004-01-08 15:44:29 +00006162004-01-08 Greg Troxel <gdt@fnord.ir.bbn.com>
617
618 * kernel_socket.c (kernel_read): Use sockaddr_storage in buffer
619 for reading kernel messages to ensure enough space (necessary on
620 Solaris due to sockaddr_dl being large). Thanks to Sowmini
621 Varadhan for help with this change.
622
gdt9ccabd12004-01-06 18:23:02 +00006232004-01-06 Greg Troxel <gdt@t1.ir.bbn.com>
624
625 * rtadv.c (rtadv_send_packet): Change perror to zlog_err.
626
gdtdbee01f2004-01-06 00:36:51 +00006272004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
gdt4bfbea82004-01-06 01:13:05 +0000628 * kernel_socket.c (ifm_read): Major cleanup. Use Sowmini's code
629 to find the sockaddr_dl in all cases, narrowing the Solaris ifdef
630 to just the accomodation of broken kernels. Check sockaddr_dl
631 carefully up front, and later assume any non-NULL sdl pointer is
632 valid. Clean up types and variable declarations, and rename
633 WRAPUP to SAROUNDUP to make the name fit the behavior.
634
6352004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
gdtdbee01f2004-01-06 00:36:51 +0000636
637 * kernel_socket.c (kernel_read): Add a sockaddr_dl to the ifmsg
638 structure, because on Solaris sockaddr_dl is far larger than the
639 base sockaddr structure. (The code had previously been failing to
640 read all the data.)
gdt4bfbea82004-01-06 01:13:05 +0000641
gdtda26e3b2004-01-05 17:20:59 +00006422004-01-05 Greg Troxel <gdt@ahi.ir.bbn.com>
643
644 * kernel_socket.c (kernel_read): Look up interfaces by index
645 first, so that state changes which do not include a sockaddr_dl
646 now work. Add many sanity checks. In
647 particular, do not assume that a sockaddr_dl follows a message
648 without checking the ifm_addrs flags, and do not trust the length
649 in a sockaddr_dl. Add/clarify many comments.
650
gdt4b5e1352003-12-03 17:54:34 +00006512003-12-03 Greg Troxel <gdt@poblano.ir.bbn.com>
652
653 * rtadv.c: reorder includes to avoid compiler warning (define
654 structs before using them in prototypes)
655
hasso647e4f12003-05-25 11:43:52 +00006562003-05-25 Jim Crumpler <Jim.Crumpler@edion.com>
657
658 * zserv.c: Add "ip forwarding" command.
659
paul445f1432003-05-16 19:00:31 +00006602003-05-16 Gilad Arnold <gilad.arnold@terayon.com>
661
662 * zebra_rib.c: Fix memory leaks for ifname nexthops
663
6642003-04-19 Israel Keys <ikeys@agile.tv>
665
666 * rt_netlink.c: BLOCK on netlink while initialising
667
6682003-02-06 Francois Deppierraz <francois@ctrlaltdel.ch>
669
670 * rt_netlink.c (netlink_route_multipath): Set RTM_F_EQUALIZE when
671 it exists.
672
paul718e3742002-12-13 20:15:29 +00006732002-09-28 Akihiro Mizutani <mizutani@net-chef.net>
674
675 * zebra_rib.c (static_add_ipv4): Null0 static route is added.
676
6772002-09-10 Jochen Friedrich <chris+zebra@scram.de>
678
679 * rt_netlink.c: Add check for EAGAIN.
680 * kernel_socket.c: Likewise
681
6822002-06-12 Israel Keys <ikeys@oz.agile.tv>
683
684 * rt_netlink.c: Setting the NLM_F_ACK flag on the netlink command
685 message so that we get an ACK for successful netlink commands.
686 Change the netlink socket to BLOCKING while we wait for a
687 response; be it an ACK or an NLMSG_ERROR. Change
688 netlink_parse_info to deal with ACK messages.
689
6902001-11-01 Jun-ichiro itojun Hagino <itojun@iijlab.net>
691
692 * rtadv.c (rtadv_make_socket): setsockopt(IPV6_CHECKSUM) does not
693 work for ICMPv6 socket.
694
6952001-10-24 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
696
697 * rib.c (rib_process): Select connected route any case.
698
6992001-10-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
700
701 * interface.c (no_ip_address_secondary): Add "no" to command.
702
7032001-10-18 NOGUCHI Kay <kay@v6.access.co.jp>
704
705 * ioctl.c (if_prefix_add_ipv6): Set the prefered and valid lifetime
706 to infinity as the freebsd4.4 workaroud.
707
7082001-08-26 mihail.balikov@interbgc.com
709
710 * zebra_snmp.c: Fix snmpwalk problem such as IPv4 address
711 A.B.C.255.
712
7132001-08-22 NOGUCHI Kay <kay@v6.access.co.jp>
714
715 * rtadv.c: Do not send RA to loopback interface.
716
7172001-08-20 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
718
719 * ioctl.c (if_set_prefix): Remove Linux 2.0 specific connected
720 route treatment.
721
7222001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
723
724 * zebra-0.92a released.
725
7262001-08-17 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
727
728 * rib.c: Kernel route is treated as EGP routes in nexthop active
729 check.
730
7312001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
732
733 * zebra-0.92 released.
734
7352001-08-08 "Akihiro Mizutani" <mizutani@dml.com>
736
737 * rib.c (show_ip_route_prefix_longer): Add longer-prefix option to
738 show route commands.
739
7402001-07-29 Yon Uriarte <havanna_moon@gmx.net>
741
742 * zserv.c (zsend_ipv4_add_multipath): Add
743 NEXTHOP_TYPE_IPV4_IFINDEX check.
744
7452001-07-29 NOGUCHI Kay <kay@v6.access.co.jp>
746
747 * rtadv.c: Apply valid lifetime, preferred lifetime, onilnk flag,
748 autonomous address-configuration flag patch.
749 (no_ipv6_nd_suppress_ra): Change "ipv6 nd send-ra" to "no ipv6 nd
750 suppress-ra".
751
7522001-07-24 NOGUCHI Kay <kay@v6.access.co.jp>
753
754 * rtadv.c (ipv6_nd_ra_interval): Add "ipv6 nd ra-interval SECONDS"
755 command.
756
7572001-07-24 Jun-ichiro itojun Hagino <itojun@iijlab.net>
758
759 * rt_socket.c (kernel_rtm_ipv4): Add KAME/NetBSD151 equal cost
760 multicast FIB support both IPv4 and IPv6.
761
7622001-07-24 Hal Snyder <hal@vailsys.com>
763
764 * if_ioctl.c (interface_list_ioctl): Fix bug of failing to get the
765 full list of interfaces on some configurations of OpenBSD.
766
7672001-07-23 NOGUCHI Kay <kay@v6.access.co.jp>
768
769 * rtadv.c (ipv6_nd_send_ra): Apply [zebra 9320] to fix "ipv6 nd
770 send-ra" bug.
771 (ipv6_nd_ra_lifetime): "ipv6 nd ra-lifetime 0" for default router
772 availability.
773 (ipv6_nd_managed_config_flag): "ipv6 nd managed-config-flag" is
774 added.
775 (ipv6_nd_other_config_flag): "ipv6 nd other-config-flag" is added.
776
7772001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
778
779 * ioctl.c (if_ioctl): Change ioctl argument from int to u_long.
780
781 * rt_ioctl.c: Likewise.
782
7832001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
784
785 * kernel_socket.c (rtm_write): Only set RTF_CLONING when the
786 interface is not p2p.
787
7882001-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
789
790 * ioctl.c (if_prefix_add_ipv6): Fix argument type.
791
7922001-04-06 Toshiaki Takada <takada@zebra.org>
793
794 * zserv.c (zsend_interface_delete): Use client->obuf instead of
795 allocating new stream.
796
7972001-03-10 Kunihiro Ishiguro <kunihiro@zebra.org>
798
799 * rt_netlink.c: Revert RTPROT_BOOT change.
800
8012001-03-08 Kunihiro Ishiguro <kunihiro@zebra.org>
802
803 * rt_netlink.c (netlink_route_change): Skip RTPROT_BOOT route.
804 (netlink_routing_table): Likewise.
805
8062001-03-07 "Akihiro Mizutani" <mizutani@dml.com>
807
808 * zserv.c (zsend_ipv4_add_multipath): Send metric value to
809 protocol daemons.
810
8112001-02-18 Kunihiro Ishiguro <kunihiro@zebra.org>
812
813 * rt_netlink.c (netlink_routing_table): Do not return
814 tb[RTA_GATEWAY] is NULL. Reported by: "Michael O'Keefe"
815 <mokeefe@qualcomm.com>.
816
8172001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
818
819 * if_ioctl.c (interface_list_ioctl): Call if_add_update().
820 Suggested by: Chris Dunlop <chris@onthe.net.au>.
821
8222001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
823
824 * rib.c (nexthop_active_ipv4): When nexthop type is
825 NEXTHOP_TYPE_IPV4_IFINDEX, propery set the ifindex to rifindex.
826
827 * zserv.c: Initialize rtm_table_default with 0.
828
829 * zebra-0.91 is released.
830
8312001-01-31 Kunihiro Ishiguro <kunihiro@zebra.org>
832
833 * kernel_socket.c (rtm_read): Filter cloned route. Suggested by:
834 Jun-ichiro itojun Hagino <itojun@iijlab.net>
835
8362001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
837
838 * connected.c (connected_up_ipv6): When point-to-point destination
839 address is ::, use local address for connected network.
840 (connected_down_ipv6): Likewise.
841
8422001-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
843
844 * zserv.c (zebra_serv): Add missing close() call. Reported by:
845 David Waitzman <djw@vineyard.net>.
846
8472001-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
848
849 * rib.c (rib_lookup_ipv4): New function for checking exact match
850 IGP route.
851
8522001-01-23 Kunihiro Ishiguro <kunihiro@zebra.org>
853
854 * rib.c (show_ipv6_route_protocol): Fix bug of "show ip route
855 route-type".
856
8572001-01-22 Kunihiro Ishiguro <kunihiro@zebra.org>
858
859 * interface.c (zebra_interface): Do not call
860 zebra_interface_add_update for inactive interface.
861
862 * zserv.c (zsend_interface_address_add): Send interface address
863 flag.
864 (zsend_interface_address_delete): Likewise.
865
8662001-01-19 Kunihiro Ishiguro <kunihiro@zebra.org>
867
868 * interface.c (if_addr_add): Add flags.
869
870 * connected.c (ifa_add_ipv4): Add new function for interface
871 address handling.
872 (ifa_delete_ipv4): Likewise.
873
8742001-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
875
876 * rib.c (rib_update): Update IPv6 RIB.
877
878 * kernel_socket.c (ifam_read): Call if_refresh() for update
879 interface flag status. This is for implicit interface up on *BSD.
880
881 * interface.c (if_refresh): Add interface flag refresh function.
882
883 * kernel_socket.c (rtm_read): Fetch link-local address interface
884 index.
885 (ifan_read): We need to fetch interface information. Suggested
886 by: Yasuhiro Ohara <yasu@sfc.wide.ad.jp>.
887
888 * rib.c (static_ipv6_nexthop_same): Add check for
889 NEXTHOP_TYPE_IPV6_IFNAME.
890
8912001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
892
893 * rib.h (NEW_RIB): Turn on NEW_RIB flag. IPv6 new RIB code are
894 taken into place.
895
8962001-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
897
898 * rib.c (static_ipv6_write): Display STATIC_IPV6_GATEWAY_IFNAME
899 configuration.
900 (rib_delete_ipv6): Handle same route conter for IPv6 connected
901 route.
902 (show_ipv6_route_protocol): New command.
903 (show_ipv6_route_addr): Likewise.
904 (show_ipv6_route_prefix): Likewise.
905 (rib_update): Sweep kernel route when it is cleaned up.
906
907 * rt_socket.c (kernel_add_ipv6): Add NEXTHOP_IPV6_IFNAME
908 treatmenet.
909
910 * rt_netlink.c (kernel_init): Likewise.
911
912 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): Likewise.
913
914 * rib.c (rib_add_ipv4): Cope with same connected route on a
915 interface. Suggested by: Matthew Grant <grantma@anathoth.gen.nz>.
916 (nexthop_ipv6_ifname_add): Add NEXTHOP_IPV6_IFNAME treatmenet.
917
918 * rib.h (struct new_rib): Add refcnt to keep track on the
919 reference of same connected route.
920
921 * ioctl.c (if_set_prefix): Add check for GNU_LINUX.
922
9232001-01-13 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
924
925 * kernel_socket.c (ifan_read, rtm_type_str): Add RTM_OIFINFO check.
926 (rtm_type_str): Add RTM_IFANNOUNCE check.
927 (ifan_read): New function.
928 (kernel_read): Add case for RTM_IFANNOUNCE.
929
9302001-01-13 Kunihiro Ishiguro <kunihiro@zebra.org>
931
932 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): New function.
933
934 * rt_netlink.c (netlink_route_multipath): IPv6 address ifindex
935 treatment.
936
937 * connected.c (connected_up_ipv6): Add dest value check.
938
939 * rib.c (nexthop_active_ipv6): Do not touch IPv6 nexthop's
940 ifindex.
941 (rib_add_ipv4): Import rib_add_ipv6() same route check code.
942 (nexthop_active_check): NEXTHOP_TYPE_IPV6_IFINDEX activity is only
943 checked by ifindex.
944
945 * rt_socket.c (kernel_rtm_ipv6_multipath): New function.
946
947 * redistribute.c (redistribute_add): Use
948 zsend_ipv6_add_multipath().
949 (redistribute_delete_multipath): Use
950 zsend_ipv6_delete_multipath().
951
952 * interface.c (ip_address): Check current IP address to avoid
953 duplicate.
954
955 * rib.c (rib_delete_ipv4): When deleted route is connected route,
956 check ifindex.
957 (rib_add_ipv4): When connected route is added do not perform
958 implicit withdraw.
959 (rib_delete_ipv4): Check ifindex for connected route.
960
961 * kernel_socket.c (rtm_read): When route has RTF_STATIC, set
962 ZEBRA_FLAG_STATIC for indicate as persistent route.
963 (ifam_read): Unset interface index from link-local address when
964 IPv6 stack is KAME.
965
966 * rib.c (rib_update): Do not delete persistent kernel route.
967
968 * rib.h (struct new_rib): Integrate RIB_FLAG_* to ZEBRA_FLAG_*.
969
970 * rt_socket.c (kernel_add_ipv6_multipath): Add placeholder.
971 (kernel_delete_ipv6_multipath): Likewise.
972
973 * rt_netlink.c (netlink_talk): Give struct nlsock to netlink_talk.
974
9752001-01-12 Kunihiro Ishiguro <kunihiro@zebra.org>
976
977 * rib.c (rib_update): Revert Matthew Grant's patch
978 zebra_cvs_newribfix.patch. Use struct rib->ifindex for kernel
979 interface index. Introduce NEXTHOP_TYPE_IPV4_IFINDEX to support
980 that. Add support for address deletion situation.
981
9822001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
983
984 * interface.c: Remove HAVE_IF_PSEUDO part.
985
986 * rib.h: Likewise.
987
988 * rt_netlink.c (netlink_link_change): Likewise.
989
9902001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
991
992 * zserv.c: Remove OLD_RIB codes.
993
9942001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
995
996 * zebra-0.90 is released.
997
9982001-01-09 Matthew Grant <grantma@anathoth.gen.nz>
999
1000 * interface.c (if_new_intern_ifindex): Allocate a new internal
1001 interface index.
1002 (if_addr_refresh): Fix up ip addresses configured via zebra.
1003 (if_add_update): Handle an interface addition.
1004 (if_delete_update): Handle an interface delete event.
1005
1006 * rib.c (nexthop_ipv4_add): Add kernel route deletion process when
1007 interface goes down.
1008
10092001-01-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1010
1011 * interface.c (if_dump_vty): When HAVE_NET_RT_IFLIST is defined,
1012 NetBSD also use this function. Suggested by Jasper Wallace
1013 <jasper@ivision.co.uk>.
1014
10152001-01-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1016
1017 * rib.c (nexthop_active_ipv4): Move back to set methodo to old
1018 one.
1019
10202001-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1021
1022 * rib.c (rib_add_ipv4): EBGP multihop set ZEBRA_FLAG_INTERNAL
1023 flag, so treat it.
1024
10252001-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1026
1027 * rt_netlink.c (netlink_talk_ipv6): When IPv6 route message is
1028 sent from netlink_cmd, the same message comes from netlink. To
1029 avoid confusion, temporary netlink_talk_ipv6 use netlink.sock
1030 instead of netlink_cmd.sock.
1031
10322001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1033
1034 * zserv.h (ZEBRA_SERV_PATH): Change "/tmp/zebra" to "/tmp/.zebra".
1035 Change "/tmp/zserv" to "/tmp/.zserv".
1036
10372000-12-29 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
1038
1039 * rt_netlink.c (struct nlsock): Divide kernel message into listen
1040 socket and command socket.
1041 (netlink_talk): Remove socket listen code. Use netlink_parse_info
1042 for read kernel response.
1043
10442000-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1045
1046 * rib.c (vty_show_ip_route): Show uptime of the RIP,OSPF,BGP
1047 routes.
1048
10492000-12-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1050
1051 * rt_netlink.c (netlink_route_multipath): Metric value is
1052 reflected to kernel routing table.
1053
1054 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Likewise.
1055
1056 * kernel_socket.c (rtm_write): Likewise.
1057
1058 * rib.c (nexthop_active_ipv4): Only iBGP route perform recursive
1059 nexthop lookup.
1060
1061 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Add ioctl version of
1062 new RIB implementation.
1063
10642000-12-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1065
1066 * rib.h: Remove MULTIPATH_NUM. It is defined by configure script.
1067
10682000-12-25 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1069
1070 * rib.c (rib_if_up): Call rib_fib_set instead of RIB_FIB_SET for
1071 proper redistribution.
1072
10732000-12-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1074
1075 * rib.c (nexthop_active_ipv4): Add self lookup nexthop check.
1076 (show_ip_route_protocol): Support new RIB.
1077
1078 * rt_netlink.c (netlink_route_change): Do not return when gate is
1079 NULL.
1080
10812000-12-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1082
1083 * rib.c (rib_lookup_ipv4_nexthop): IBGP nexthop check function is
1084 updated.
1085 (rib_add_ipv4): Free implicit withdraw route's RIB.
1086
10872000-12-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1088
1089 * rib.c (nexthop_active_ipv4): Check indirect nexthop.
1090
1091 * redistribute.c (redistribute_add_multipath): Redistribution
1092 works with new rib code.
1093
10942000-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1095
1096 * rt_netlink.c (netlink_route_multipath): Check useful nexthop
1097 number.
1098 (netlink_route_multipath): Clear rtnh_flags and rtnh_hops.
1099
1100 * rib.c (nexthop_active_update): Set flag for the rib's nexthop
1101 activity is changed.
1102 (nexthop_active_check): Before checking interface is up, make it
1103 sure the interface exist.
1104
11052000-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1106
1107 * rib.c (ip_route): New RIB prototype.
1108
11092000-11-16 Yon Uriarte <ukl2@rz.uni-karlsruhe.de>
1110
1111 * zserv.c (zsend_interface_add): Send hardware address when
1112 hw_addr_len is greater than 0.
1113
11142000-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1115
1116 * connected.c (connected_up_ipv4): Fix ptop bug. The destination
1117 network should be installed into routing table.
1118 (connected_down_ipv4): Likewise.
1119 (connected_add_ipv4): Change to use connected_up_ipv4.
1120 (connected_delete_ipv4): Likewise.
1121
11222000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1123
1124 * rt_netlink.c (netlink_interface_addr): Revert Harald Welte
1125 <laforge@gnumonks.org>'s ptop patch then back to original code to
1126 avoid duplicated connected route problem. Suggested by Frank van
1127 Maarseveen <F.vanMaarseveen@inter.NL.net>.
1128
1129 * kernel_socket.c (rtm_read): Make behavior consistent even #ifdef
1130 DEBUG is defined. Reported by Jun-ichiro itojun Hagino
1131 <itojun@iijlab.net>.
1132
11332000-10-23 Jochen Friedrich <jochen@scram.de>
1134
1135 * main.c (main): Call zebra_snmp_init() when it is enabled.
1136
11372000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1138
1139 * zserv.c (zebra_serv_un): UNIX domain socket server of zebra
1140 protocol.
1141
11422000-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1143
1144 * rib.c (rib_add_ipv4): Same check bug is fixed.
1145
11462000-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1147
1148 * rib.c (rib_if_down): Remove kernel route when the interface goes
1149 down.
1150
1151 * debug.c: New command "debug zebra kernel" is added.
1152
11532000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1154
1155 * zebra-0.89 is released.
1156
11572000-09-24 Harald Welte <laforge@gnumonks.org>
1158
1159 * rt_netlink.c (netlink_interface_addr): Fix point-to-point address
1160 treatment in netlink interface.
1161
11622000-09-21 David Lipovkov <dlipovkov@OpticalAccess.com>
1163
1164 * rib.c (rib_if_down): Pull static route only. Protocol daemon
1165 must withdraw routes when interface goes down.
1166 (rib_add_ipv4): Check nexthop when replace route.
1167
11682000-09-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1169
1170 * if_ioctl.c (if_getaddrs): New function for looking up
1171 interface's address by getifaddrs().
1172
11732000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1174
1175 * connected.c (connected_delete_ipv4): Add check for connected
1176 address is found or not.
1177 (connected_add_ipv6): Reflect IPv6 connected address change to
1178 protocol daemons.
1179 (connected_delete_ipv6): Likewise.
1180
11812000-09-07 David Lipovkov <davidl@nbase.co.il>
1182
1183 * rib.c (rib_delete_ipv4): Reverted the change from pseudo
1184 interface patch to original. Because ospfd deletes routes using
1185 zero ifindex.
1186
11872000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1188
1189 * zebra-0.88 is released.
1190
11912000-08-15 "Akihiro Mizutani" <mizutani@dml.com>
1192
1193 * rib.c (show_ip_route_protocol): Help string correction.
1194 (show_ip_route_prefix): Check prefix mask.
1195 (show_ip_route_vty_detail): Display distance and metric.
1196
11972000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1198
1199 * zserv.c (zsend_interface_add): Change ifindex store size from
1200 two octet to four.
1201 (zsend_interface_delete): Likewise.
1202 (zsend_interface_address_add): Likewise.
1203 (zsend_interface_address_delete): Likewise.
1204 (zsend_interface_up): Likewise.
1205 (zsend_interface_down): Likewise.
1206
12072000-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1208
1209 * rib.c (rib_add_ipv4): Do not install distance 255 route.
1210
12112000-08-10 Toshiaki Takada <takada@zebra.org>
1212
1213 * interface.c (bandwidth_if), (no_bandwidth_if): Call
1214 zebra_interface_up_update () instead of using if_up() and if_down().
1215
12162000-08-07 "Akihiro Mizutani" <mizutani@dml.com>
1217
1218 * interface.c (bandwidth_if): Fix help string.
1219
12202000-08-07 Matthew Grant <grantma@anathoth.gen.nz>
1221
1222 * interface.c (if_dump_vty): Display bandwidth value.
1223 (bandwidth_if): New command "bandwidth <1-10000000>" is added.
1224 When interface is up, force protocol daemons to recalculate routes
1225 due to cost change.
1226 (no_bandwidth_if): Likewise.
1227 (if_config_write): Output bandwidth configuration.
1228
1229 * zserv.c (zsend_interface_add): Send bandwidth value.
1230 (zsend_interface_up): Likewise.
1231 (zsend_interface_down): Likewise.
1232
1233
12342000-08-07 Michael Rozhavsky <mike@nbase.co.il>
1235
1236 * rib.c (show_ip_route_protocol): "show ip route
1237 (bgp|connected|kernel|ospf|rip|static)" is added.
1238
12392000-08-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1240
1241 * rib.c (rib_lookup_ipv4_nexthop): Check parent node until IGP
1242 nexthop is found.
1243 (rib_add_ipv4_internal): Set fib ifindex to rib ifindex.
1244
12452000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1246
1247 * redistribute.c (redistribute_delete): Fix bug of default route
1248 redistribute treatment.
1249
12502000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1251
1252 * rib.c (rib_init): Install ip_node in rib.c instead of zserv.c.
1253 Change default distance value.
1254
1255 Old New
1256 ------------------------------------------
1257 system 10 0
1258 kernel 20 0
1259 connected 30 0
1260 static 40 1
1261 rip 50 120
1262 ripng 50 120
1263 ospf 60 110
1264 ospf6 49 110
1265 bgp 70 200(iBGP) 20(eBGP)
1266 ------------------------------------------
1267
1268 * zserv.c (client_lookup): Function removed.
1269 (zsend_interface_add): Use client's output buffer. Check ifinfo
1270 flag.
1271 (zsend_interface_delete): Likewise.
1272 Delete ipv4_static_radix and ipv6_static_radix.
1273
12742000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1275
1276 * zserv.h (struct zebra_client): When client request interface
1277 information, ifinfo is set.
1278
1279 * rib.c: Temporary Revert changes for pseudo interface.
1280
1281 * rib.h: Likewise.
1282
1283 * zserv.c: Likewise.
1284
1285 * interface.c: Likewise.
1286
12872000-08-02 David Lipovkov <davidl@nbase.co.il>
1288
1289 * interface.c (zebra_if_init): Install interface "pseudo"
1290 commands.
1291
1292 * rib.c (rib_create): ifname argument is added.
1293 (rib_add_ipv4_pseudo): New function is added.
1294 (rib_delete_ipv4_pseudo): Likewise.
1295
1296 * rib.h : Delete INTERFACE_UNKNOWN definition. Add prototype for
1297 pseudo interface functions.
1298
1299 * rt_netlink.c (netlink_link_change): Check for pseudo interface.
1300
1301 * zserv.c (ip_route): When destination is pseudo interface, call
1302 rib_add_ipv4_pseudo().
1303
1304 * zserv.c (no_ip_route): Trim "unknown" argument.
1305
13062000-07-26 kunitake@dti.ad.jp
1307
1308 * if_ioctl.c (if_get_hwaddr): Fix hardware address length from 8
1309 to 6.
1310
1311 * rtadv.c (rtadv_send_packet): Fix shift bug for hardware address.
1312
13132000-07-24 Akihiro Mizutani <mizutani@dml.com>
1314
1315 * interface.c: Use install_default() for common VTY commands.
1316
13172000-07-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1318
1319 * if_ioctl.c (interface_list_ioctl): A interface list size is
1320 calculated from ifreq->if_addr.sa_len. This is for OpenBSD.
1321
1322 * ioctl.c (if_get_mtu): Remove codes for SIOCGIFDATA.
1323
13242000-07-09 Chris Dunlop <chris@onthe.net.au>
1325
1326 * if_ioctl.c (if_get_index): Add check for HAVE_BROKEN_ALIASES.
1327
13282000-07-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1329
1330 * zserv.c (zebra_client_read): Add ZEBRA_REDISTRIBUTE_{ADD,DELETE}
1331 message handling.
1332
13332000-07-02 David Lipovkov <davidl@nbase.co.il>
1334
1335 * zserv.c: "ip route A.B.C.D/M unknown" command is added.
1336
13372000-06-28 Michael Rozhavsky <mike@nbase.co.il>
1338
1339 * rib.c: Remove old kernel route when new route comes in.
1340
13412000-06-13 David Lipovkov <davidl@nbase.co.il>
1342
1343 * rib.c (rib_if_up): Add check for unknown interface.
1344
13452000-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1346
1347 * rib.h: Define INTERFACE_UNKNOWN.
1348
13492000-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1350
1351 * Makefile.am (EXTRA_DIST): Move irdp.c until implementation is
1352 finished.
1353
13542000-06-05 David Lipovkov <davidl@nbase.co.il>
1355
1356 * interface.c (if_zebra_delete_hook): Call rib_if_delete().
1357
1358 * redistribute.c (zebra_interface_delete_update): New function.
1359
1360 * redistribute.h (zebra_interface_delete_update): New function
1361 prototype.
1362
1363 * rib.c (rib_if_delete): New function. Walk down all routes and
1364 delete all on the interface.
1365
1366 * rib.h: New function prototype.
1367
1368 * rt_netlink.c (netlink_link_change): Call
1369 zebra_interface_delete_update ().
1370
13712000-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1372
1373 * if_ioctl.c (interface_info_ioctl): Check interface's flag before
1374 checking interface's address.
1375
13762000-04-26 Jochen Friedrich <jochen@nwe.de>
1377
1378 * GNOME-PRODUCT-ZEBRA-MIB: New file.
1379
1380 * GNOME-SMI: New file.
1381
13822000-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1383
1384 * irdp.c: New file from 1997 development code.
1385 * irdp.h: Likewise.
1386
13872000-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1388
1389 * rtadv.c (rtadv_send_packet): Enclose router advertisement
1390 logging with IS_ZEBRA_DEBUG_PACKET.
1391
13922000-04-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1393
1394 * zserv.c (zebra_client_close): Remove client structure from
1395 client_list when connection is terminated.
1396
13972000-03-21 David Lipovkov <davidl@nbase.co.il>
1398
1399 * connected.c (connected_add_ipv4): Allows all necessary structure
1400 updates for connected route, but doesn't insert it into rib if
1401 it's interface is down.
1402
14032000-01-21 Hideto Yamakawa <hideto.yamakawa@soliton.co.jp>
1404
1405 * rtread_getmsg.c: Set some definition for Solaris 2.5 and Solaris
1406 2.5.1.
1407
14082000-01-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1409
1410 * rib.c (no_ipv6_route_ifname): Fix buf of cheking return value
1411 from str2prefix_ipv6().
1412
14132000-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1414
1415 * rt_socket.c: Revert to use RTF_HOST for IPv4 with /32 route and
1416 IPv6 with /128 routes.
1417 (kernel_rtm_ipv4): In case of /32 route's gateway is interface. It
1418 should have mask for cloning.
1419
14201999-12-26 Jochen.Friedrich@genorz.de
1421
1422 * interface.c (if_dump_vty): Fix a bug of missing VTY_NEWLINE.
1423
14241999-12-23 Alex Zinin <zinin@amt.ru>
1425 * interface.*: dynamic int up/down support
1426
14271999-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1428
1429 * ipforward_proc.c (dropline): Move dropline() from lib/dropline.c
1430
1431 * rtread_proc.c (proc_route_read): Don't use dropline().
1432
14331999-12-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1434
1435 * kernel_socket.c (rtm_read): When message is RTM_GET, it has own
1436 process's pid.
1437
14381999-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1439
1440 * main.c (main): Change to default log output to ZLOG_STDOUT.
1441
1442 * zserv.c (zebra_serv): More detailed error print.
1443
14441999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1445
1446 * kernel_socket.c (rtm_read): Check old pid for static route
1447 insertion check.
1448
14491999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1450
1451 * interface.c (if_dump_vty): BSDI/OS uses 64bit for interface
1452 statistics counter.
1453
1454 * mtu_kvm.c: New file added.
1455
14561999-11-27 Vladimir B. Grebenschikov <vova@express.ru>
1457
1458 * kernel_socket.c (rtm_write): Set RTF_CLONING flag for
1459 route to the directly connected interface.
1460
14611999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1462
1463 * rt_socket.c: Delete USE_HOST_BIT definition.
1464
14651999-11-21 Michael Handler <handler@sub-rosa.com>
1466
1467 * rtread_getmsg.c: Undef some definition to resolve conflict.
1468
14691999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1470
1471 * kernel_socket.c (rtm_write): Change to use pre stored struct_dl
1472 value for gateway specification.
1473
14741999-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1475
1476 * rt_socket.c (kernel_rtm_ipv4): Even mask is 32 under IPv4 or
1477 128 under IPv6, don't use RTF_HOST.
1478
14791999-11-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1480
1481 * Makefile.am (EXTRA_DIST): Add rtread_getmsg.c.
1482
14831999-11-21 Michael Handler <handler@sub-rosa.com>
1484
1485 * rtread_getmsg.c: Added for Solaris 2.6 support.
1486
14871999-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1488
1489 * rtread_sysctl.c (rtm_read_route): RTM_DELETE handling added.
1490
1491 * rt_socket.c (kernel_read): Better BSD routing socket support.
1492
14931999-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1494
1495 * client_main.c: Disable making obsolete zebra test `client'
1496 command.
1497
14981999-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1499
1500 * zebra.c: Renamed to zserv.c.
1501
1502 * zebra.h: Global definitions are moved to lib/zebra.h. Then
1503 renamed to zserv.h.
1504
15051999-10-15 Jordan Mendelson <jordy@wserv.com>
1506
1507 * if_ioctl.c: Add Linux 2.2.X's alias support and dynamic
1508 interface. Remove ugly MAX_INTERFACE handling codes.
1509
15101999-09-17 Satosi KOBAYASI <kobayasi@north.ad.jp>
1511
1512 * Fix serious bug of IPv6 route deletion.
1513
15141999-09-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1515
1516 * ioctl.c (if_set_prefix): Properly set broadcast address.
1517
15181999-09-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1519
1520 * rib.c (rib_add_ipv6, rib_delete_ipv6): now protocol daemons
1521 can install connected route to kernel via zebra
1522
15231999-08-24 VOP <vop@unity.net>
1524
1525 * rib.c: Include "sockunion.h"
1526
15271999-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
1528
1529 * ipforward.h: New file.
1530
1531 * zebra.h: Obsolete message ZEBRA_GET_ALL_INTERFACE,
1532 ZEBRA_GET_ONE_INTERFACE, ZEBRA_GET_HOSTINFO are deleted.
1533
15341999-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1535
1536 * zebra.h (ZEBRA_INTERFACE_ADDRESS_ADD):
1537 ZEBRA_INTERFACE_{ADD,DELETE} added.
1538
15391999-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1540
1541 * rib.c: show ip route A.B.C.D works.
1542
1543 * zebra.c (zebra_read_ipv4): Add ifindex to zebra messages.
1544
15451999-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1546
1547 * zebra.h: New Zebra message ZEBRA_INTERFACE_{ADD,DELETE} added.
1548
15491999-08-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1550
1551 * interface.h: New file.
1552 * Makefile.am: Add interface.h
1553
15541999-08-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1555
1556 * redistribute.c (zebra_redistribute): give ifindex to client.
1557
15581999-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1559
1560 * main.c (longopts): -k, --keep_kernel option added.
1561
15621999-07-18 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1563
1564 * rt_socket.c (rtm_write): forgot closing socket bug fixed.
1565
15661999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1567
1568 * rib.c (show_ipv6_cmd): if rib is link show interface name.
1569
15701999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1571
1572 * rt_socket.c (rtm_write): use sockaddr_dl when null gateway.
1573
15741999-07-16 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1575
1576 * rt_socket.c (rtm_write): ipv6 route table bug fixed.
1577
15781999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1579
1580 * zebra.c (zebra_read_ipv6): read link prefix from ospf6 support
1581
15821999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1583
1584 * rt_socket.c (kernel_rtm_ipv6): gate treatment bug fixed.
1585
15861999-07-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1587
1588 * if_sysctl.c (ifm_read): Clear sockunion argument before fetching
1589 data. Suggested by "Chris P. Ross" <cross@eng.us.uu.net>
1590
15911999-07-08 HEO SeonMeyong <seirios@Matrix.IRI.Co.Jp>
1592
1593 * interface.c (if_tun_add): Add KAME's gif tunnel setting codes.
1594
15951999-06-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1596
1597 * zebra.c (zebra_serv): Only accept loopback address connection.
1598
15991999-06-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1600
1601 * zebra.h (ZEBRA_ROUTE_EXTERNAL): Add zebra messages flags
1602
16031999-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1604
1605 * ipforward_proc.c: ipforward_on () and ipforward_off () added.
1606
16071999-06-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1608
1609 * ipforward_proc.c (ipforward_ipv6): Check for IPv6 forwarding
1610 using /proc file system is added.
1611
16121999-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1613
1614 * if_ioctl.c (if_get_index): Interface index set bug is fixed by
1615 adding #else at the middle of function. Suggested by David Luyer
1616 <luyer@ucs.uwa.edu.au>.
1617
16181999-05-29 <kunihiro@zebra.org>
1619
1620 * rt_ioctl.c: Comment out #include <linux/ipv6_route.h>.
1621
16221999-05-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1623
1624 * zebra.h (ZEBRA_ROUTE_MAX): Add new define for the max value of
1625 the sort of routes.
1626
16271999-05-25 Patrick Koppen <koppen@rhrk.uni-kl.de>
1628
1629 * rt_netlink.c (netlink_socket): Make netlink socket non-blocking.
1630 (netlink_parse_info): If errno is EWOULDBLOCK then continue to
1631 parse the message.
1632 (netlink_talk): Likewise
1633
16341999-05-17 <kunihiro@zebra.org>
1635
1636 * redistribute.c (zebra_check_addr): Added for loopback address
1637 check.
1638
16391999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1640
1641 * rt_netlink.c (netlink_route_change): Tempolary bypass ipv6 route
1642 change treatment.
1643
1644 * Makefile.am (noinst_HEADERS): redistribute.h added.
1645
1646 * redistribute.h: New file.
1647
16481999-05-14 Stephen R. van den Berg <srb@cuci.nl>
1649
1650 * zebra.c (show_table): Show all table configuration DEFUN.
1651 (config_table): Config table number DEFUN.
1652
1653 * rt_netlink.c: Add support for multiple routing table.
1654
1655 * rib.c (rib_weed_table): New function added for delete all
1656 routes from specified routing table.
1657
1658 * main.c (signal_init): SIGTERM call sigint.
1659 (sigint): Loggging more better message.
1660
16611999-05-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1662
1663 * rt_netlink.c: Change log () to zlog ().
1664
16651999-05-07 <kunihiro@zebra.org>
1666
1667 * zebra.h (ZEBRA_ROUTE_OSPF6): Added for ospf6d route.
1668
16691999-04-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1670
1671 * interface.c: Add `no ip address' command.
1672
16731999-04-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1674
1675 * rt_netlink.c (kernel_read): Function added for asynchronous
1676 zebra between kernel communication.
1677
16781999-03-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1679
1680 * rtread_sysctl.c (rtm_read): Fix address memcopy overrun bug.
1681 Reported by Achim Patzner <ap@bnc.net>.
1682
16831999-03-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1684
1685 * Makefile.am: Install configuration sample with 600 permission.
1686
16871999-03-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1688
1689 * Makefile.am: Add -I.. to INCLUDES.
1690
16911999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
1692
1693 * syslog support added
1694
16951999-02-17 Peter Galbavy <Peter.Galbavy@knowledge.com>
1696
1697 * if_sysctl.c (interface_list): allocated memory free when unknown
1698 ifm_type is returned.
1699
1700 * ioctl.c (if_get_mtu): added SIOCGIFDATA treatment.
1701
17021998-12-15 Magnus Ahltorp <map@stacken.kth.se>
1703
1704 * interface.c: Header include added.
1705
17061998-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1707
1708 * rt.h (kernel_delete_ipv6): change int index to unsigned int index.
1709
17101998-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1711
1712 * if_ioctl.c (interface_list_ioctl): interface flag must be
1713 checked before check addresses of the interface.
1714
17151998-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1716
1717 * Makefile.am (INCLUDES): add @INCLUDES@ for Linux IPv6.
1718
17191998-10-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1720
1721 * ioctl.c: Linux version before 2.1.0 need interface route setup.
1722
17231998-09-15 HEO SeonMeyong <seirios@matrix.iri.co.jp>
1724
1725 * change HYDRANGEA to KAME
1726
17271998-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1728
1729 * if_ioctl.c (if_addr_ioctl): set address family for getting
1730 interface's address.
1731 (if_get_index): silently return when can't get interface's index.
1732
17331998-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1734
1735 * main.c (main): batch mode option '-b' added.
1736
17371998-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1738
1739 * ioctl.c (if_set_prefix): add `ip address IPV4ADDR' command.
1740 * interface.c (shutdown_if): add interface shutdown and no
1741 shutdown command.
1742
17431998-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1744
1745 * rib.c (rib_add_ipv6): delete rib_add_in6.
1746
17471998-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1748
1749 * main.c: retain flag is added.
1750
17511998-07-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1752
1753 * rtable.[ch]: merged with rib.[ch]
1754
17551998-07-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1756
1757 * connected.h: renamed from ifa.h.
1758
17591998-06-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1760
1761 * rename if.c to interface.c
1762 * rename ifa.c to connected.c
1763
1764 * Porting to Debian GNU/Linux 2.0 (hamm).
1765
17661998-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1767
1768 * rt_netlink.c: renamed from krt_netlink.c
1769
1770 * fib.c: deleted.
1771 * rt_kvm.c: deleted.
1772 * rtread_getmsg.c: deleted.
1773
17741998-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1775
1776 * if.c (multicast): add multicast flag [un]set fucntion.
1777
17781998-05-19 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1779
1780 * rt_socket.c: Modify for compile on Solaris, but dont't work it.
1781 rt_socket.c have some undefined function, so add directive "IMPLEMENT"
1782
17831998-05-18 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1784
1785 * zebra.c: Modify for compile on Solaris.
1786
17871998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1788
1789 * main.c: change CONFDIR to SYSCONFDIR.
1790
17911998-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1792
1793 * .cvsignore: added.
1794
17951998-04-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1796
1797 * client.c: moves to ../lib.
1798
17991998-03-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1800
1801 * if_ioctl.c (if_get_addr): Change address copy from memcopy() to
1802 structure assignment.
1803
18041998-03-30 URA Hiroshi <ura@yamato.ibm.co.jp>
1805
1806 * if_sysctl.c (ifm_interface_add): sdl->sdl_data copy bug fixed.
1807
18081998-02-23 "Hannes R. Boehm" <hannes@boehm.org>
1809
1810 * if.c (if_init): add config_exit_cmd and config_help_cmd.
1811
18121998-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
1813
1814 * rt_ioctl.c (route_ioctl): EPERM treatment added.
1815
18161998-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1817
1818 * rt_socket.c (kernel_read): communication port zebra between
1819 kernel is now handled by kernel_read.
1820
18211998-01-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1822
1823 * main.c (main): zebra [-P port] can specify vty port number.
1824
18251997-12-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1826
1827 * zebra.c: change select will be block.
1828
18291997-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1830
1831 * add static route treatment.
1832
18331997-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1834
1835 * rt_netlink.c: add netlink support over GNU/Linux system.
1836
18371997-11-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1838
1839 * all inet_addr is changed to inet_aton.
1840
1841 * zebra.c (ip_route): add ip route command for static routes.
1842
18431997-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1844
1845 * if.c (if_flag_dump): Linux port of if_flag_dump and _vty.
1846
18471997-11-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1848
1849 * if.c: add interface command.
1850
18511997-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1852
1853 * ipforward_proc.c : Now works on Linux.
1854
18551997-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1856
1857 * command.c : add completion feature.
1858
18591997-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1860
1861 * vty.c (vty_command): add vty interface.
1862
18631997-10-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1864
1865 * zebra.c: add verbose mode.
1866
18671997-10-12 SonMyong Ho <s-ho@Matrix.IRI.Co.Jp>
1868
1869 * Hydrangea for FreeBSD supported
1870 * in.h: add some prototype.
1871
18721997-10-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1873
1874 * rt_socket.c and rtread.c completely rewritten.
1875
18761997-10-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1877
1878 * rt_socket.c: rename kernel_sock to routing_socket
1879
18801997-10-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1881
1882 * if.c (if_new): interface structure change from linklist to vector.
1883
18841997-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1885
1886 * vector.c (vector_init): create vector related function
1887
18881997-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1889
1890 * Makefile.in: add tags target
1891
1892 * start IPv6 support for INRIA FreeBSD.
1893