]> git.proxmox.com Git - mirror_frr.git/blob - zebra/ChangeLog
2005-10-01 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
[mirror_frr.git] / zebra / ChangeLog
1 2005-10-01 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
2
3 * rt_netlink.c: (netlink_request) Use memset to clear structure
4 before calling sendto (eliminates a valgrind error message about
5 uninitialized data).
6
7 2005-09-28 Alain Ritoux <alain.ritoux@6wind.com>
8
9 * zserv.c: Always provied distance for route add
10
11 2005-09-28 Alain Ritoux <alain.ritoux@6wind.com>
12
13 * connected.c: flag connected_up_ipv6() and connected_down_ipv6()
14 usage with HAVE_IPV6
15
16 2005-09-24 Hasso Tepper <hasso at quagga.net>
17
18 * rib.h: Add note about behaviour of rib_add_ipv[46]* functions -
19 add is treated as implicit withdraw.
20
21 2005-09-21 David Young <dyoung@ojctech.com>
22
23 * zebra_rib.c: Reduce the height of some staircases. Fix
24 rib_delete_ipv6() to match routes in the RIB by their gateway as
25 well as by destination.
26
27 2005-09-21 Paul Jakma <paul.jakma@sun.com>
28
29 * zebra_rib.c: (static_uninstall_ipv{4,6}) Fix regression wrt
30 removal of static routes with multiple-hops introduced with
31 the workqueue conversion. We should free the relevant
32 nexthop and then get rib_process to run, otherwise we just
33 get same static route back again (with no way to unconfigure
34 it, because its already deleted from configuration).
35
36 2005-09-12 Paul Jakma <paul.jakma@sun.com>
37
38 * (general) RTM_CHANGE and implicit withdraw on RTM_NEWADDR
39 support.
40 * connected.c: (connected_withdraw) new function. withdraw a
41 connected subnet address set from zebra, and pass information
42 along to clients.
43 (connected_announce) similar, but to announce a new connected
44 subnet address set.
45 (connected_check_ipv4) renamed to connected_check, as its
46 AFI independent.
47 (connected_add_ipv{4,6}) Remove the connected address announce
48 stuff, use connected_announce instead.
49 If connected_check indicates address is already present,
50 treat it as an implicit withdraw of the existing address, ie
51 remove the old address details and replace with the new
52 details.
53 (connected_delete_ipv{4,6}) Use connected_withdraw.
54 (connected_check_ipv6) deleted in favour of connected_check.
55 * connected.h: Rename connected_check_ipv4 to connected_check.
56 delete connected_check_ipv6.
57 * interface.c: Use connected_check rather than the AFI specific
58 symbols.
59 * kernel_socket.c: (rtm_read) RTM_CHANGE support. Create a
60 rib delete event for the existing route, before adding route
61 again.
62 (kernel_read) we can handle RTM_CHANGE now.
63
64 2005-08-27 Hasso Tepper <hasso at quagga.net>
65
66 * zebra_rib.c, rib.h: Add distance and metric arguments to the
67 rib_add_ipv6() function so that IPv6 routes in RIB can have correct
68 metric. No IPv6 routing daemon uses distance yet though.
69 * zserv.c, connected.c, kernel_socket.c, rt_netlink.c,
70 rtread_proc.c,zserv.c: Pass metric and distance info to the
71 rib_add_ipv6().
72
73 2005-07-29 Paul Jakma <paul.jakma@sun.com>
74
75 * interface.c: (if_delete_update) should always be available, not
76 just on RTM_IFANNOUNCE/NETLINK systems.
77 * kernel_socket.c: (ifan_read) only call if_delete_update when
78 interface departs, dont if_delete, because we wish to retain
79 interface configuration state even when interfaces are removed.
80 (ifm_read) If we dont have RTM_IFANNOUNCE, then transitioning
81 to down state is only chance we have to clean up interface in case
82 it is deleted (eg Solaris down -> unplumb -> plumb up).
83 * redistribute.c: (zebra_interface_delete_update) should always be
84 available, we /will/ call it now on all systems, via
85 if_delete_update.
86 * zserv.c: (zsend_interface_delete) ditto
87 (zsend_interface_address) Update the call-flow diagramme, to
88 reflect that if_delete_update /is/ now called on all systems,
89 potentially.
90 * zserv.h: (zsend_interface_delete) unconditionally exported, as
91 above.
92
93 2005-06-28 Paul Jakma <paul.jakma@sun.com>
94
95 * (global) Extern and static'ification, with related fixups
96 of declarations, ensuring files include their own headers, etc.
97 * if_ioctl.c: (interface_info_ioctl) fix obvious arg mis-order in
98 list loop
99 * kernel_socket.c: (RTA_{ADDR,ATTR}_GET) fix mistake, NULL check
100 should be on DEST argument
101
102 2005-06-14 Paul Jakma <paul.jakma@sun.com>
103
104 * kernel_socket.c: consolidate the IFAM{ADDR,MASK}GET and
105 RTM{ADDR,MASK}GET macros into generic rta_addrs macros,
106 RTA_{ADDR,ATTR}_GET.
107 (af_check) could use 'inline' attribute
108 (ifam_read_mesg) remove IFAM{ADDR,MASK}GET macro, change to
109 generic macro.
110 (rtm_read_mesg) similar
111
112 2005-06-12 Hasso Tepper <hasso at quagga.net>
113
114 * rt_netlink.c: Remove netlink-addr socket declaration, it's not used.
115 * rt_netlink.c (netlink_parse_info): Fix debug messages - nlmsg_pid is
116 unsigned and one zlog call had swapped arguments.
117 * rt_netlink.c (netlink_route_multipath): Fix compile with disabled
118 IPv6 support.
119
120 2005-05-31 Paul Jakma <paul.jakma@sun.com>
121
122 * zserv.c: (zsend_route_multipath) Fix bug if route is sent
123 with no NEXTHOP_FLAG_FIB nexthops. As ZAPI_MESSAGE_IFINDEX
124 and ZAPI_MESSAGE_NEXTHOP are always set, clients would try
125 read non-existent nexthop information and hit stream assert.
126 Zserv is still broken for multi-nexthop messages, but it always was.
127
128 2005-05-06 Paul Jakma <paul.jakma@sun.com>
129
130 * zserv.h: Remove ZEBRA_PORT definition, its in lib/zebra.h now
131
132 2005-04-28 Paul Jakma <paul.jakma@sun.com>
133
134 * rib.h: (struct rib) Add lock field for refcounting.
135 * zserv.h: (struct zebra_t) Add a ribq workqueue to the zebra
136 'master' struct.
137 * zserv.c: (zread_ipv4_add) XMALLOC then memset should be XCALLOC.
138 * zebra_rib.c: Clean up refcounting of route_node, make struct rib
139 refcounted and convert rib_process to work-queue. In general,
140 rib's should be rib_addnode'd and delnode'd to route_nodes, and
141 these symmetrical functions will manage the locking of referenced
142 route_node and freeing of struct rib - rather than having users
143 manage each seperately - with much scope for bugs..
144 (newrib_free) removed and replaced with rib_lock
145 (rib_lock) new function, check state of lock and increment.
146 (rib_unlock) new function, check lock state and decrement. Free
147 struct rib if refcount hits 0, freeing struct nexthop's, as
148 newrib_free did.
149 (rib_addnode) Add RIB to route_node, locking both.
150 (rib_delnode) Delete RIB from route_node, unlocking each.
151 (rib_process) Converted to a work-queue work function.
152 Functional changes are minimal, just arguments, comments and
153 whitespace.
154 (rib_queue_add_qnode) Helper function to setup a ribq item.
155 (rib_queue_add) Helper function, same arguments as old
156 rib_process, to replace in callers of rib_process.
157 (rib_queue_qnode_del) ribq deconstructor.
158 (rib_queue_init) Create the ribq.
159 (rib_init) call rib_queue_init.
160 (remainder) Sanitise refcounting of route_node's. Convert to
161 rib_queue_add, rib_addnode and rib_delnode. Change XMALLOC/memset
162 to XCALLOC. Remove calls to nexthop_delete and nexthop_free.
163
164 2005-04-10 Paul Jakma <paul@dishone.st>
165
166 * if_ioctl_solaris.c: (if_lookup_linklocal) fix order of args
167 in ALL_LIST_ELEMENTS_RO macro.
168
169 2005-04-10 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
170
171 * zserv.c (zebra_client_read): Fix bug: first read attempt should
172 read ZEBRA_HEADER_SIZE minus the number of bytes already read.
173 Improve efficiency by maintaining a calculation of the number
174 of bytes read instead of calling stream_get_endp multiple times.
175 If message length is too small, issue a warning message (not debug)
176 before closing the connection. And also check that message length
177 is not too big.
178
179 2005-04-09 Hasso Tepper <hasso at quagga.net>
180
181 * rt_netlink.c: One tiny missing comma caused pointless debug messages
182 about IPv6 nexthops.
183
184 2005-04-09 Hasso Tepper <hasso at quagga.net>
185
186 * rt_netlink.c (netlink_parse_info): Fix warning. It's safe to cast
187 status to unsigned here, because we already checked that it isn't
188 negative or 0.
189 * rt_netlink.c (netlink_interface_addr): Prefix length belongs to the
190 address, not to the interface.
191 * rt_netlink.c (netlink_route_multipath): Fix debug. No useless info
192 is printed out now and IPv6 info is handeled.
193
194 2005-04-05 Paul Jakma <paul@dishone.st>
195
196 * zserv.c: print more helpful errors when we fail to successfully
197 bind and listen on zserv socket. Closes bugzilla #163.
198
199 2005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
200
201 * if_ioctl.c: (interface_list_ioctl) Use if_get_by_name_len.
202 * if_proc.c: (ifaddr_proc_ipv6) Increase size of ifname buffer to
203 avoid overflow.
204 * kernel_socket.c: (ifan_read) Use if_get_by_name_len.
205
206 2005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
207
208 * kernel_socket.c: (ifm_read) Use new if_lookup_by_name_len function
209 to save a memcpy.
210 * if_ioctl_solaris.c: (interface_list_ioctl) Fix subtle bug with new
211 if_get_by_name_len function.
212
213 2005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
214
215 * interface.c: (if_new_intern_ifindex) Remove obsolete function.
216 (if_delete_update) After distributing the interface deletion message,
217 set ifp->ifindex to IFINDEX_INTERNAL.
218 (if_dump_vty) Detect pseudo interface by checking if ifp->ifindex is
219 IFINDEX_INTERNAL.
220 (zebra_interface) Check return code from interface_cmd.func.
221 Do not set internal ifindex values to if_new_intern_ifindex(),
222 since we now use IFINDEX_INTERNAL for all pseudo interfaces.
223 * kernel_socket.c: (ifm_read) Fix code and comments to reflect that
224 all internal interfaces now have ifp->ifindex set to IFINDEX_INTERNAL.
225 * rt_netlink.c: (set_ifindex) New function used to update ifp->ifindex.
226 Detects interface rename events by checking if that ifindex is already
227 being used. If it is, delete the old interface before assigning
228 the ifindex to the new interface.
229 (netlink_interface, netlink_link_change) Call set_ifindex to update
230 the ifindex.
231
232 2005-03-31 Hasso Tepper <hasso at quagga.net>
233
234 * rt_netlink.c (netlink_talk_filter): Show always warning message,
235 it's not for debug.
236 * rt_netlink.c (netlink_talk): Don't assume we use netlink_cmd
237 although we do now actually.
238 * rt_netlink.c (netlink_route, netlink_route_multipath): Always use
239 netlink_cmd to send messages to the kernel.
240
241 2005-03-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
242
243 * irdp.h: Add prototype for irdp_sock_init, and fix protos for
244 other irdp_* functions.
245 * irdp_interface.c: (irdp_if_start) If irdp_sock is negative,
246 call irdp_sock_init to create the IRDP socket.
247 (irdp_if_init) Rename to irdp_init().
248 (get_iflist_ifp) Remove function that is a duplicate of
249 if_lookup_by_index.
250 (*) Make many functions static. And remove superfluous "\n" from
251 several zlog messages.
252 * irdp_main.c: (irdp_init) Remove function that used to call
253 irdp_if_init() and irdp_sock_init(), since we will now create
254 the socket only upon first use.
255 (irdp_sock_init) Do not update global irdp_sock variable, just
256 return the fd and assume that the caller will do so. If setsockopt
257 calls fail, close the socket before returning -1.
258 (*) Make many functions static.
259 * irdp_packet.c: Initialize irdp_sock to -1.
260 (irdp_read_raw) Call standard library function if_lookup_by_index
261 instead of get_iflist_ifp.
262 (irdp_recvmsg) Should be static, not global.
263
264 2005-03-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
265
266 * rt_netlink.c: (netlink_link_change) If the status of an
267 operative interface changes (e.g. MTU changes), the client
268 daemons should be notified by calling zebra_interface_up_update.
269 Previously, the information was being updated in zebra's
270 interface structure, but the clients were not notified of
271 changes to an operative interface.
272
273 2005-03-25 Jean-Mickael Guerin <jean-mickael.guerin@6wind.com>
274 * interface.c, interface.h, rtadv.c, rtadv.h: modifications to
275 IPv6 Neighbor Discovery according to RFC3775, section 7:
276 o 1-bit Home Agent flag management in Router Advertisement (7.1).
277 o 1-bit Router Address flag management in Prefix Information
278 Option (7.2).
279 o Advertisement Interval Option (7.3)
280 o Home Agent Information Option (7.4)
281 o Changes to Sending Router Advertisements more frequently (7.5)
282
283 2005-03-13 Hasso Tepper <hasso at quagga.net>
284
285 * zebra/interaface.c: "show interface description" command
286 implemented.
287
288 2005-03-12 Paul Jakma <paul@dishone.st>
289
290 * rt_netlink.c: (netlink_route_multipath) dont set equalise flag.
291 No stock Linux kernel has ever supported it, and even if it had
292 it's not generally a good idea.
293
294 2005-03-07 Michael Sandee <voidptr@voidptr.sboost.org>
295
296 * if_proc.c, ipforward_proc.c, rtread_proc.c: Fix fd leaks.
297
298 2005-03-06 Hasso Tepper <hasso at quagga.net>
299
300 * interface.c: Fix CRC and frame errors statistics in Linux.
301
302 2005-02-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
303
304 * zserv.c: Must include network.h and buffer.h for non-blocking I/O.
305 Remove global message_queue and t_write (need separate buffering for
306 each client).
307 (zebra_server_dequeue,zebra_server_enqueue) Remove functions
308 related to old buggy buffering code.
309 (zserv_delayed_close) New thread callback function to delete a client.
310 (zserv_flush_data) New thread callback function to flush buffered
311 data to client.
312 (zebra_server_send_message) Rewritten to use buffer_write (so
313 buffering of writes and non-blocking I/O work properly).
314 (zsend_interface_add,zsend_interface_delete,zsend_interface_address,
315 zsend_interface_update) Return 0 instead of -1 if !client->ifinfo
316 (this is not really an error). Return value from
317 zebra_server_send_message.
318 (zsend_route_multipath,zsend_ipv4_nexthop_lookup,
319 zsend_ipv4_import_lookup) Return value from zebra_server_send_message.
320 (zsend_ipv6_nexthop_lookup) Fix scope to static, and return value
321 from zebra_server_send_message.
322 (zsend_router_id_update) Must use zebra_server_send_message instead
323 of deprecated writen function. Return 0 instead of -1 if this client
324 is not subscribed to router-id updates (since this is not really
325 an error).
326 (zread_interface_add) Change type to static int. If
327 zsend_interface_add fails or zsend_interface_address fails, return -1
328 immediately (since the client has had an I/O error).
329 (zread_interface_delete,zread_ipv4_add,zread_ipv4_delete,
330 zread_ipv6_add,zread_ipv6_delete,zread_router_id_delete) Return 0
331 to indicate success.
332 (zread_ipv4_nexthop_lookup) Return value from
333 zsend_ipv4_nexthop_lookup.
334 (zread_ipv4_import_lookup) Return value from zsend_ipv4_import_lookup.
335 (zebra_read_ipv6) Remove unused function.
336 (zread_ipv6_nexthop_lookup) Return value from
337 zsend_ipv6_nexthop_lookup.
338 (zread_router_id_add) Return value from zsend_router_id_update.
339 (zebra_client_close) Call buffer_free(client->wb) and
340 thread_cancel(client->t_suicide).
341 (zebra_client_create) Allocate client->wb using buffer_new.
342 (zebra_client_read) Support non-blocking I/O by using stream_read_try.
343 Use ZEBRA_HEADER_SIZE instead of 3.
344 (zebra_accept) Fix bug: reset accept thread at top. Make client
345 socket non-blocking using the set_nonblocking function.
346 (config_write_forwarding) Fix scope to static.
347 (zebra_init) Remove initialization code for old buggy write buffering.
348 * zserv.h: Add 2 new fields to struct zserv: struct buffer *wb
349 (to enable buffered writes with non-blocking I/), and
350 struct thread *t_suicide to support delayed close on I/O
351 errors.
352 * router-id.h: Remove prototypes for zread_router_id_add and
353 zread_router_id_delete (their scope should be static to zserv.c).
354
355 2005-02-24 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
356
357 * redistribute.c: (zebra_check_addr,is_default,
358 zebra_redistribute_default,zebra_redistribute) Fix scope to be static.
359
360 2005-02-20 Hasso Tepper <hasso at quagga.net>
361
362 * rt_netlink.c: Don't show messages "ignoring message type 0x001[89]"
363 if we are not debugging.
364
365 2005-02-19 Paul Jakma <paul@dishone.st>
366
367 * zserv.c: (zebra_read_ipv6) replace the char * arithmetic with
368 STREAM_READABLE.
369
370 2005-02-14 Paul Jakma <paul@dishone.st>
371
372 * Not all Linux netlink systems have IFLA_WIRELESS
373
374 2005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
375
376 * ioctl.c: (if_ioctl,if_ioctl_ipv6,if_get_flags) Replace perror with
377 zlog_err.
378 * ioctl_solaris.c: (if_ioctl,if_ioctl_ipv6) Replace perror with
379 zlog_err.
380
381 2005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
382
383 * if_ioctl_solaris.c: (interface_list_ioctl) Save errno before calling
384 zserv_privs.change.
385 * ioctl{,_solaris}.c: (if_ioctl,if_ioctl_ipv6) Save errno before calling
386 zserv_privs.change.
387 * ipforward_solaris.c: (solaris_nd) Save errno before calling
388 zserv_privs.change.
389 * irdp_main.c: (irdp_sock_init) Save errno before calling
390 zserv_privs.change.
391
392 2005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
393
394 * rt_netlink.c: (netlink_socket,netlink_request,netlink_parse_info,
395 netlink_talk) Save errno before calling zserv_privs.change.
396
397 2005-01-24 Martin Pot <mpot at martybugs.net>
398
399 * zebra/rt_netlink.c: ignore wireless newlink netlink messages.
400
401 2005-01-18 Hasso Tepper <hasso at quagga.net>
402
403 * interface.c: Better statistics output in "show interface" command in
404 case of /proc being used.
405
406 2005-01-17 Hasso Tepper <hasso at quagga.net>
407
408 * main.c: With --nl-bufsize argument is required.
409
410 2005-01-05 Paul Jakma <paul@dishone.st>
411
412 * zserv.c: (zebra_accept) Comment out setting of socket to NONBLOCK
413 for now, as we dont actually deal with with resending.... See
414 bugzilla #122, fix from wawa@yandex-team.ru (Vladimir Ivanov).
415 * kernel_socket.c: (routing_socket) ditto.
416
417 2005-01-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
418
419 * rtadv.c: (rtadv_recv_packet,rtadv_send_packet) Use ZCMSG_FIRSTHDR
420 instead of CMSG_FIRSTHDR.
421
422 2004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
423
424 * connected.c: (connected_add_ipv4) Limit warning about /32 addresses
425 with no peer specified to PtP interfaces only.
426
427 2004-12-18 Hasso Tepper <hasso at quagga.net>
428
429 * zebra_vty.c: Fix "show ipv6 route <proto>" command help and make it
430 work for isis routes.
431
432 2004-12-09 Greg Troxel <gdt@fnord.ir.bbn.com>
433
434 * kernel_socket.c (rtmsg_debug): char * => const char *
435
436 2004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
437
438 * *.c: Change level of debug messages to LOG_DEBUG.
439
440 2004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
441
442 * main.c: (main) The 2nd argument to openzlog has been removed.
443 So stdout logging will no longer be enabled by default.
444 * irdp_main.c: (irdp_finish) Reduce severity of shutdown message
445 from LOG_WARNING to LOG_INFO.
446
447 2004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
448
449 * main.c: (sigint) Use zlog_notice for termination message.
450 (main) Add a startup announcement using zlog_notice.
451
452 2004-11-25 Hasso Tepper <hasso at quagga.net>
453
454 * irdp_interface.c: Remove comment from DEFUN, it breaks vtysh because
455 it confuses extract.pl.
456 * main.c: Make group to run as configurable.
457
458 2004-10-28 Hasso Tepper <hasso at quagga.net>
459
460 * interface.c: Remove dead "ip tunnel" command.
461
462 2004-10-22 Paul Jakma <paul@dishone.st>
463
464 * irdp_main.c: change setsockopt_pktinfo to setsockopt_ifindex
465
466 2004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
467
468 * rt_netlink.c: (netlink_interface_addr) For PtP interfaces, ignore
469 tb[IFA_ADDRESS] if it's the same as tb[IFA_LOCAL].
470 * interface.c: (ip_address_install) Use new ipv4_broadcast_addr
471 function.
472 * connected.c: (connected_up_ipv4) Use CONNECTED_POINTOPOINT_HOST
473 macro.
474 (connected_down_ipv4) ditto.
475 (connected_add_ipv4) Validate destination address, print warnings
476 if it does not make sense.
477
478 2004-10-19 Hasso Tepper <hasso at quagga.net>
479
480 * zserv.c: Fix regression introduced with zserv cleanup.
481
482 2004-10-13 Hasso Tepper <hasso at quagga.net>
483
484 * zebra_snmp.c: Remove defaults used to initialize smux connection to
485 snmpd. Connection is initialized only if smux peer is configured.
486 * zserv.c: Remove useless warnings "forwarding is already on".
487
488 2004-10-12 Hasso Tepper <hasso at quagga.net>
489
490 * zebra_vty.c: Unbreak "show ip route" command help and make it work
491 for isis routes.
492 * interface.c(if_dump_vty): Show IPv6 addresses in "show interface"
493 output. Fixes Bugzilla #119.
494 * *.c: Make some strings const and some (unsigned) casts to fix
495 compiler warnings.
496
497 2004-10-07 Hasso Tepper <hasso at quagga.net>
498
499 * connected.c, main.c, rt_netlink.c, rtadv.c, zebra_rib.c, zserv.c:
500 Fix warnings: make strings const, signed -> unsigned.
501
502 2004-10-05 Paul Jakma <paul@dishone.st>
503
504 * irdp_packet.c: (parse_irdp_packet) style issues.
505 Use sockopt_iphdrincl_swab_systoh.
506 Try unbork the code. Checksum the ICMP data and actually
507 compare it to received checksum. Check data length against
508 claimed length in header.
509 Always use ntoh.. when accessing addresses, even when the
510 comparison happens to be endian-safe.
511 (send_packet) minor style isues. Use
512 sockopt_iphdrincl_swab_htosys.
513 (irdp_iph_hton/ntoh) IP header to/from network/host order.
514
515 2004-10-03 Gilad Arnold <gilad.arnold at terayon.com>
516
517 * interface.c, interface.h: A new prefix tree of connected subnets is
518 associated with each interface structure in zebra, in which each
519 live (ie, non-synthetic) node holds a list of installed addresses
520 that belong to that prefix. Remove secondary address logic from cli.
521 See [quagga-dev 872] for detailed explanation.
522 * connected.c: Use if_subnet_add() and if_subnet_delete().
523
524 2004-10-03 James R. Leu <jleu at mindspring.com>
525
526 * router-id.c, router-id.h: New files. Router id selection process. If
527 there is non 127.x.x.x address in loopack interface, lowest of them
528 is chosen. If there isn't, lowest from other interfaces addresses
529 are chosen. "router-id x.x.x.x" vty command to manual override.
530 * Makefile.am: Compile new files.
531 * main.c: Initialize router id.
532 * redistribute.c: Add interface addresses into router id selection
533 lists as they (dis)appear.
534 * zserv.c, zserv.h: Sending router id related messages to daemons.
535
536 2004-09-26 Hasso Tepper <hasso at quagga.net>
537
538 * irdp_interface.c, irdp_main.c, irdp_packet.c, rt_netlink.c,
539 rtadv.c, zebra_vty.c: Fix compiler warnings.
540
541 2004-09-24 Paul Jakma <paul@dishone.st>
542
543 * irdp_interface.c: (no_ip_irdp_address_preference_cmd)
544 add missing listnode declaration.
545
546 2004-09-24 Paul Jakma <paul@dishone.st>
547
548 * irdp_{interface,main}.c: lists typedef removal cleanup.
549 update some list loops to LIST_LOOP. some miscellaneous style
550 and indent fixups.
551 (no_ip_irdp_address_preference_cmd) Fix delete of referenced node
552 in loop.
553 * irdp_packet.c: (irdp_recvmsg) Fix buggy assignment of integer
554 to pointer.
555 * if_ioctl{,_solaris}.c: lists typedef removal cleanup.
556 update some list loops to LIST_LOOP.
557
558 2004-09-23 Hasso Tepper <hasso at quagga.net>
559
560 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
561
562 2004-09-22 Paul Jakma <paul.jakma@sun.com>
563
564 * zserv.c: (zsend_route_multipath) fix nasty bad memset of struct
565 in_addr to sizeof(struct in6_addr), causing odd and hard to debug
566 crash.
567
568 2004-08-31 Hasso Tepper <hasso at quagga.net>
569
570 * main.c, rt_netlink.c: Added -s command line switch for tuning
571 netlink receive buffer size in Linux to avoid buffer overruns.
572
573 2004-08-26 Miles Nordin <carton@Ivy.NET>
574
575 * ipforward_sysctl.c (mib_ipv6): Use size_t for len, per
576 sysctl(3), rather than int. (Needed on NetBSD/alpha to display
577 forwarding status correctly.)
578
579 2004-08-23 Paul Jakma <paul@dishone.st>
580
581 * zserv.c: (zebra_init) remove implicit ip forward enabling
582
583 2004-08-19 Paul Jakma <paul@dishone.st>
584
585 * irdp_main.c: update to match sockopt renames.
586 * irdp_packet.c: include sockopt.h and update to match sockopt
587 renames.
588
589 2004-08-11 Greg Troxel <gdt@fnord.ir.bbn.com>
590
591 * rtadv.c (rtadv_send_packet): Allocate space for control messages
592 more carefully; it was wrong on NetBSD/sparc where CMSG alignment
593 is to 8 bytes instead of 4, and overwriting the address. Use the
594 provided macros for determining lengths.
595
596 2004-07-23 Sowmini Varadhan <Sowmini.Varadhan@Sun.COM>
597
598 * if_ioctl_solaris.c: HAVE_IPV6 ifdef fixups
599 * zserv.c: ditto
600 * ioctl_solaris.c: ditto.
601 * interface.c: cast for LLADDR
602 * interface.h: Add guards, include redistribute.h and remove
603 extraneous definitions of zebra_interface_{up,down}_update
604 * ioctl.h: Add AF_IOCTL define for non SOLARIS_IPV6
605 * redistribute.h: include dependent header, zserv.h
606 * zserv.h: include dependent header, rib.h
607
608 2004-07-23 Paul Jakma <paul@dishone.st>
609
610 * irdp_main.c: use setsockopt_pktinfo_ipv4
611 * irdp_packet.c: use SOPT_SIZE_CMSG_PKTINFO_IPV4 and
612 getsockopt_pktinfo_ifindex()
613
614 2004-07-13 David Wiggins <dwiggins@bbn.com
615
616 * kernel_socket.c (rtm_flag_dump): terminate buffer with '\0', not '0'.
617
618 2004-07-13 Hasso Tepper <hasso@estpak.ee>
619
620 * irdp_main.c: Add privilege change.
621
622 2004-07-12 Hasso Tepper <hasso@estpak.ee>
623
624 * irdp_interface.c: follow common style while naming vty command
625 functions. Avoids confusion in extract.pl.
626
627 2004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
628
629 * main.c: define thread_master variable so that linking with
630 libzebra.so doesn't fail. Arguably zclient.o should be in a
631 separate library, but this is far less disruptive.
632
633 2004-06-12 Robert Olsson <Robert.Olsson at data.slu.se>
634
635 * Added IRDP support.
636
637 2004-05-18 Hasso Tepper <hasso@estpak.ee>
638
639 * rtadv.c: Removed "[no] ipv6 nd send-ra" command. Replaced "ipv6 nd
640 prefix-advertisement" with "ipv6 nd prefix". Rewrite syntax of
641 "ipv6 nd prefix" command to allow various combinations of parameters
642 and flags. No defaults in configuration. Replaced on-link and
643 autoconfig with off-link and no-autoconfig flags in command syntax.
644 Cosmetic fixes in all commands. Documentation to reflect all changes.
645
646 2004-05-11 Paul Jakma <paul@dishone.st>
647
648 * Makefile.am: support for IOCTL_METHOD, as per Sowmini's patch.
649 * if_ioctl_solaris.c: Fixup some erroneous privilege changes and
650 add privs.h header.
651 * ioctl_solaris.c: ditto
652 * ioctl.h: Add if_ioctl_ipv6 prototype and AF_IOCTL for SOLARIS_IPV6
653 * kernel_socket.c: Fix SAROUNDUP, compiler doesnt like do..while
654 RHS in assignments :)
655 * redistribute.c: (zebra_interface_delete_update) only used
656 if RTM_IFANNOUNCE and NETLINK is available.
657
658 2004-05-09 Paul Jakma <paul@dishone.st>
659
660 * zserv.c: (zsend_route_multipath) Set the nexthop_num
661 field correctly. Add NEXTHOP_TYPE_IPV6_IFNAME for v6.
662 Conditionally set ZAPI_MESSAGE_METRIC flag - only for adds.
663 (zsend_ipv4_add) cruft, deleted.
664 (zsend_ipv4_delete) ditto.
665 (zsend_ipv6_add) ditto.
666 (zsend_ipv6_delete) ditto.
667 * ioctl.c: (if_get_mtu) set mtu6 to mtu
668 * mtu_kvm.c: (if_kvm_get_mtu) set mtu6 to mtu
669 * rt_netlink.c: (netlink_interface) set mtu6 to mtu
670 (netlink_link_change) ditto
671 * ipforward_solaris.c: fix typo of ND variable.
672 * if_ioctl_solaris.c: Add zprivs support.
673 * ioctl_solaris.c: ditto.
674
675 2004-05-09 Sowmini Varadhan <sowmini.varadhan@sun.com>
676
677 * zserv.c: (zsend_ipv{4,6}_{add,delete}_multipath) collapsed
678 into single zsend_route_multipath function.
679 (zsend_interface_{up,down}) collapsed into zsend_interface_update.
680 (zsend_interface_address_{add,delete}) collapsed into
681 zsend_interface_address.
682 (zsend_interface_add) send mtu6.
683 (zsend_interface_delete) ditto.
684 (zebra_write) remove unused function.
685 (various) Apply static qualifier. Add comments.
686 * zserv.h: Definitions changed as per above.
687 * redistribute.c: Changes as per zserv.c.
688 * interface.c: (if_delete_update) only used with HAVE_NETLINK
689 and RTM_IFANNOUNCE.
690 (if_flag_dump_vty) Solaris IFF_IPV4 and IFF_IPV6 if flags
691 (if_dump_vty) print mtu6 if not same as mtu
692 * if_ioctl_solaris.c: New file, Solaris interface ioctl methods.
693 * ioctl_solaris.c: New file, Common solaris ioctl methods.
694
695 2004-04-06 Krzysztof Oledzki <oleq@ans.pl>
696
697 * rt_netlink.c: Do not ignore metric when reading kernel routing
698 table on Linux with rt_netlink interface.
699
700 2004-03-18 Hasso Tepper <hasso@estpak.ee>
701
702 * interface.c: Temporary fix for handling secondary addresses
703 with label.
704
705 2004-02-12 Hasso Tepper <hasso@estpak.ee>
706
707 * zserv.c: Added "ipv6 forwarding" command.
708
709 2004-01-08 Greg Troxel <gdt@fnord.ir.bbn.com>
710
711 * kernel_socket.c (kernel_read): Use sockaddr_storage in buffer
712 for reading kernel messages to ensure enough space (necessary on
713 Solaris due to sockaddr_dl being large). Thanks to Sowmini
714 Varadhan for help with this change.
715
716 2004-01-06 Greg Troxel <gdt@t1.ir.bbn.com>
717
718 * rtadv.c (rtadv_send_packet): Change perror to zlog_err.
719
720 2004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
721 * kernel_socket.c (ifm_read): Major cleanup. Use Sowmini's code
722 to find the sockaddr_dl in all cases, narrowing the Solaris ifdef
723 to just the accomodation of broken kernels. Check sockaddr_dl
724 carefully up front, and later assume any non-NULL sdl pointer is
725 valid. Clean up types and variable declarations, and rename
726 WRAPUP to SAROUNDUP to make the name fit the behavior.
727
728 2004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
729
730 * kernel_socket.c (kernel_read): Add a sockaddr_dl to the ifmsg
731 structure, because on Solaris sockaddr_dl is far larger than the
732 base sockaddr structure. (The code had previously been failing to
733 read all the data.)
734
735 2004-01-05 Greg Troxel <gdt@ahi.ir.bbn.com>
736
737 * kernel_socket.c (kernel_read): Look up interfaces by index
738 first, so that state changes which do not include a sockaddr_dl
739 now work. Add many sanity checks. In
740 particular, do not assume that a sockaddr_dl follows a message
741 without checking the ifm_addrs flags, and do not trust the length
742 in a sockaddr_dl. Add/clarify many comments.
743
744 2003-12-03 Greg Troxel <gdt@poblano.ir.bbn.com>
745
746 * rtadv.c: reorder includes to avoid compiler warning (define
747 structs before using them in prototypes)
748
749 2003-05-25 Jim Crumpler <Jim.Crumpler@edion.com>
750
751 * zserv.c: Add "ip forwarding" command.
752
753 2003-05-16 Gilad Arnold <gilad.arnold@terayon.com>
754
755 * zebra_rib.c: Fix memory leaks for ifname nexthops
756
757 2003-04-19 Israel Keys <ikeys@agile.tv>
758
759 * rt_netlink.c: BLOCK on netlink while initialising
760
761 2003-02-06 Francois Deppierraz <francois@ctrlaltdel.ch>
762
763 * rt_netlink.c (netlink_route_multipath): Set RTM_F_EQUALIZE when
764 it exists.
765
766 2002-09-28 Akihiro Mizutani <mizutani@net-chef.net>
767
768 * zebra_rib.c (static_add_ipv4): Null0 static route is added.
769
770 2002-09-10 Jochen Friedrich <chris+zebra@scram.de>
771
772 * rt_netlink.c: Add check for EAGAIN.
773 * kernel_socket.c: Likewise
774
775 2002-06-12 Israel Keys <ikeys@oz.agile.tv>
776
777 * rt_netlink.c: Setting the NLM_F_ACK flag on the netlink command
778 message so that we get an ACK for successful netlink commands.
779 Change the netlink socket to BLOCKING while we wait for a
780 response; be it an ACK or an NLMSG_ERROR. Change
781 netlink_parse_info to deal with ACK messages.
782
783 2001-11-01 Jun-ichiro itojun Hagino <itojun@iijlab.net>
784
785 * rtadv.c (rtadv_make_socket): setsockopt(IPV6_CHECKSUM) does not
786 work for ICMPv6 socket.
787
788 2001-10-24 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
789
790 * rib.c (rib_process): Select connected route any case.
791
792 2001-10-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
793
794 * interface.c (no_ip_address_secondary): Add "no" to command.
795
796 2001-10-18 NOGUCHI Kay <kay@v6.access.co.jp>
797
798 * ioctl.c (if_prefix_add_ipv6): Set the prefered and valid lifetime
799 to infinity as the freebsd4.4 workaroud.
800
801 2001-08-26 mihail.balikov@interbgc.com
802
803 * zebra_snmp.c: Fix snmpwalk problem such as IPv4 address
804 A.B.C.255.
805
806 2001-08-22 NOGUCHI Kay <kay@v6.access.co.jp>
807
808 * rtadv.c: Do not send RA to loopback interface.
809
810 2001-08-20 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
811
812 * ioctl.c (if_set_prefix): Remove Linux 2.0 specific connected
813 route treatment.
814
815 2001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
816
817 * zebra-0.92a released.
818
819 2001-08-17 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
820
821 * rib.c: Kernel route is treated as EGP routes in nexthop active
822 check.
823
824 2001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
825
826 * zebra-0.92 released.
827
828 2001-08-08 "Akihiro Mizutani" <mizutani@dml.com>
829
830 * rib.c (show_ip_route_prefix_longer): Add longer-prefix option to
831 show route commands.
832
833 2001-07-29 Yon Uriarte <havanna_moon@gmx.net>
834
835 * zserv.c (zsend_ipv4_add_multipath): Add
836 NEXTHOP_TYPE_IPV4_IFINDEX check.
837
838 2001-07-29 NOGUCHI Kay <kay@v6.access.co.jp>
839
840 * rtadv.c: Apply valid lifetime, preferred lifetime, onilnk flag,
841 autonomous address-configuration flag patch.
842 (no_ipv6_nd_suppress_ra): Change "ipv6 nd send-ra" to "no ipv6 nd
843 suppress-ra".
844
845 2001-07-24 NOGUCHI Kay <kay@v6.access.co.jp>
846
847 * rtadv.c (ipv6_nd_ra_interval): Add "ipv6 nd ra-interval SECONDS"
848 command.
849
850 2001-07-24 Jun-ichiro itojun Hagino <itojun@iijlab.net>
851
852 * rt_socket.c (kernel_rtm_ipv4): Add KAME/NetBSD151 equal cost
853 multicast FIB support both IPv4 and IPv6.
854
855 2001-07-24 Hal Snyder <hal@vailsys.com>
856
857 * if_ioctl.c (interface_list_ioctl): Fix bug of failing to get the
858 full list of interfaces on some configurations of OpenBSD.
859
860 2001-07-23 NOGUCHI Kay <kay@v6.access.co.jp>
861
862 * rtadv.c (ipv6_nd_send_ra): Apply [zebra 9320] to fix "ipv6 nd
863 send-ra" bug.
864 (ipv6_nd_ra_lifetime): "ipv6 nd ra-lifetime 0" for default router
865 availability.
866 (ipv6_nd_managed_config_flag): "ipv6 nd managed-config-flag" is
867 added.
868 (ipv6_nd_other_config_flag): "ipv6 nd other-config-flag" is added.
869
870 2001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
871
872 * ioctl.c (if_ioctl): Change ioctl argument from int to u_long.
873
874 * rt_ioctl.c: Likewise.
875
876 2001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
877
878 * kernel_socket.c (rtm_write): Only set RTF_CLONING when the
879 interface is not p2p.
880
881 2001-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
882
883 * ioctl.c (if_prefix_add_ipv6): Fix argument type.
884
885 2001-04-06 Toshiaki Takada <takada@zebra.org>
886
887 * zserv.c (zsend_interface_delete): Use client->obuf instead of
888 allocating new stream.
889
890 2001-03-10 Kunihiro Ishiguro <kunihiro@zebra.org>
891
892 * rt_netlink.c: Revert RTPROT_BOOT change.
893
894 2001-03-08 Kunihiro Ishiguro <kunihiro@zebra.org>
895
896 * rt_netlink.c (netlink_route_change): Skip RTPROT_BOOT route.
897 (netlink_routing_table): Likewise.
898
899 2001-03-07 "Akihiro Mizutani" <mizutani@dml.com>
900
901 * zserv.c (zsend_ipv4_add_multipath): Send metric value to
902 protocol daemons.
903
904 2001-02-18 Kunihiro Ishiguro <kunihiro@zebra.org>
905
906 * rt_netlink.c (netlink_routing_table): Do not return
907 tb[RTA_GATEWAY] is NULL. Reported by: "Michael O'Keefe"
908 <mokeefe@qualcomm.com>.
909
910 2001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
911
912 * if_ioctl.c (interface_list_ioctl): Call if_add_update().
913 Suggested by: Chris Dunlop <chris@onthe.net.au>.
914
915 2001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
916
917 * rib.c (nexthop_active_ipv4): When nexthop type is
918 NEXTHOP_TYPE_IPV4_IFINDEX, propery set the ifindex to rifindex.
919
920 * zserv.c: Initialize rtm_table_default with 0.
921
922 * zebra-0.91 is released.
923
924 2001-01-31 Kunihiro Ishiguro <kunihiro@zebra.org>
925
926 * kernel_socket.c (rtm_read): Filter cloned route. Suggested by:
927 Jun-ichiro itojun Hagino <itojun@iijlab.net>
928
929 2001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
930
931 * connected.c (connected_up_ipv6): When point-to-point destination
932 address is ::, use local address for connected network.
933 (connected_down_ipv6): Likewise.
934
935 2001-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
936
937 * zserv.c (zebra_serv): Add missing close() call. Reported by:
938 David Waitzman <djw@vineyard.net>.
939
940 2001-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
941
942 * rib.c (rib_lookup_ipv4): New function for checking exact match
943 IGP route.
944
945 2001-01-23 Kunihiro Ishiguro <kunihiro@zebra.org>
946
947 * rib.c (show_ipv6_route_protocol): Fix bug of "show ip route
948 route-type".
949
950 2001-01-22 Kunihiro Ishiguro <kunihiro@zebra.org>
951
952 * interface.c (zebra_interface): Do not call
953 zebra_interface_add_update for inactive interface.
954
955 * zserv.c (zsend_interface_address_add): Send interface address
956 flag.
957 (zsend_interface_address_delete): Likewise.
958
959 2001-01-19 Kunihiro Ishiguro <kunihiro@zebra.org>
960
961 * interface.c (if_addr_add): Add flags.
962
963 * connected.c (ifa_add_ipv4): Add new function for interface
964 address handling.
965 (ifa_delete_ipv4): Likewise.
966
967 2001-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
968
969 * rib.c (rib_update): Update IPv6 RIB.
970
971 * kernel_socket.c (ifam_read): Call if_refresh() for update
972 interface flag status. This is for implicit interface up on *BSD.
973
974 * interface.c (if_refresh): Add interface flag refresh function.
975
976 * kernel_socket.c (rtm_read): Fetch link-local address interface
977 index.
978 (ifan_read): We need to fetch interface information. Suggested
979 by: Yasuhiro Ohara <yasu@sfc.wide.ad.jp>.
980
981 * rib.c (static_ipv6_nexthop_same): Add check for
982 NEXTHOP_TYPE_IPV6_IFNAME.
983
984 2001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
985
986 * rib.h (NEW_RIB): Turn on NEW_RIB flag. IPv6 new RIB code are
987 taken into place.
988
989 2001-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
990
991 * rib.c (static_ipv6_write): Display STATIC_IPV6_GATEWAY_IFNAME
992 configuration.
993 (rib_delete_ipv6): Handle same route conter for IPv6 connected
994 route.
995 (show_ipv6_route_protocol): New command.
996 (show_ipv6_route_addr): Likewise.
997 (show_ipv6_route_prefix): Likewise.
998 (rib_update): Sweep kernel route when it is cleaned up.
999
1000 * rt_socket.c (kernel_add_ipv6): Add NEXTHOP_IPV6_IFNAME
1001 treatmenet.
1002
1003 * rt_netlink.c (kernel_init): Likewise.
1004
1005 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): Likewise.
1006
1007 * rib.c (rib_add_ipv4): Cope with same connected route on a
1008 interface. Suggested by: Matthew Grant <grantma@anathoth.gen.nz>.
1009 (nexthop_ipv6_ifname_add): Add NEXTHOP_IPV6_IFNAME treatmenet.
1010
1011 * rib.h (struct new_rib): Add refcnt to keep track on the
1012 reference of same connected route.
1013
1014 * ioctl.c (if_set_prefix): Add check for GNU_LINUX.
1015
1016 2001-01-13 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1017
1018 * kernel_socket.c (ifan_read, rtm_type_str): Add RTM_OIFINFO check.
1019 (rtm_type_str): Add RTM_IFANNOUNCE check.
1020 (ifan_read): New function.
1021 (kernel_read): Add case for RTM_IFANNOUNCE.
1022
1023 2001-01-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1024
1025 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): New function.
1026
1027 * rt_netlink.c (netlink_route_multipath): IPv6 address ifindex
1028 treatment.
1029
1030 * connected.c (connected_up_ipv6): Add dest value check.
1031
1032 * rib.c (nexthop_active_ipv6): Do not touch IPv6 nexthop's
1033 ifindex.
1034 (rib_add_ipv4): Import rib_add_ipv6() same route check code.
1035 (nexthop_active_check): NEXTHOP_TYPE_IPV6_IFINDEX activity is only
1036 checked by ifindex.
1037
1038 * rt_socket.c (kernel_rtm_ipv6_multipath): New function.
1039
1040 * redistribute.c (redistribute_add): Use
1041 zsend_ipv6_add_multipath().
1042 (redistribute_delete_multipath): Use
1043 zsend_ipv6_delete_multipath().
1044
1045 * interface.c (ip_address): Check current IP address to avoid
1046 duplicate.
1047
1048 * rib.c (rib_delete_ipv4): When deleted route is connected route,
1049 check ifindex.
1050 (rib_add_ipv4): When connected route is added do not perform
1051 implicit withdraw.
1052 (rib_delete_ipv4): Check ifindex for connected route.
1053
1054 * kernel_socket.c (rtm_read): When route has RTF_STATIC, set
1055 ZEBRA_FLAG_STATIC for indicate as persistent route.
1056 (ifam_read): Unset interface index from link-local address when
1057 IPv6 stack is KAME.
1058
1059 * rib.c (rib_update): Do not delete persistent kernel route.
1060
1061 * rib.h (struct new_rib): Integrate RIB_FLAG_* to ZEBRA_FLAG_*.
1062
1063 * rt_socket.c (kernel_add_ipv6_multipath): Add placeholder.
1064 (kernel_delete_ipv6_multipath): Likewise.
1065
1066 * rt_netlink.c (netlink_talk): Give struct nlsock to netlink_talk.
1067
1068 2001-01-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1069
1070 * rib.c (rib_update): Revert Matthew Grant's patch
1071 zebra_cvs_newribfix.patch. Use struct rib->ifindex for kernel
1072 interface index. Introduce NEXTHOP_TYPE_IPV4_IFINDEX to support
1073 that. Add support for address deletion situation.
1074
1075 2001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1076
1077 * interface.c: Remove HAVE_IF_PSEUDO part.
1078
1079 * rib.h: Likewise.
1080
1081 * rt_netlink.c (netlink_link_change): Likewise.
1082
1083 2001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1084
1085 * zserv.c: Remove OLD_RIB codes.
1086
1087 2001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1088
1089 * zebra-0.90 is released.
1090
1091 2001-01-09 Matthew Grant <grantma@anathoth.gen.nz>
1092
1093 * interface.c (if_new_intern_ifindex): Allocate a new internal
1094 interface index.
1095 (if_addr_refresh): Fix up ip addresses configured via zebra.
1096 (if_add_update): Handle an interface addition.
1097 (if_delete_update): Handle an interface delete event.
1098
1099 * rib.c (nexthop_ipv4_add): Add kernel route deletion process when
1100 interface goes down.
1101
1102 2001-01-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1103
1104 * interface.c (if_dump_vty): When HAVE_NET_RT_IFLIST is defined,
1105 NetBSD also use this function. Suggested by Jasper Wallace
1106 <jasper@ivision.co.uk>.
1107
1108 2001-01-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1109
1110 * rib.c (nexthop_active_ipv4): Move back to set methodo to old
1111 one.
1112
1113 2001-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1114
1115 * rib.c (rib_add_ipv4): EBGP multihop set ZEBRA_FLAG_INTERNAL
1116 flag, so treat it.
1117
1118 2001-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1119
1120 * rt_netlink.c (netlink_talk_ipv6): When IPv6 route message is
1121 sent from netlink_cmd, the same message comes from netlink. To
1122 avoid confusion, temporary netlink_talk_ipv6 use netlink.sock
1123 instead of netlink_cmd.sock.
1124
1125 2001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1126
1127 * zserv.h (ZEBRA_SERV_PATH): Change "/tmp/zebra" to "/tmp/.zebra".
1128 Change "/tmp/zserv" to "/tmp/.zserv".
1129
1130 2000-12-29 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
1131
1132 * rt_netlink.c (struct nlsock): Divide kernel message into listen
1133 socket and command socket.
1134 (netlink_talk): Remove socket listen code. Use netlink_parse_info
1135 for read kernel response.
1136
1137 2000-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1138
1139 * rib.c (vty_show_ip_route): Show uptime of the RIP,OSPF,BGP
1140 routes.
1141
1142 2000-12-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1143
1144 * rt_netlink.c (netlink_route_multipath): Metric value is
1145 reflected to kernel routing table.
1146
1147 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Likewise.
1148
1149 * kernel_socket.c (rtm_write): Likewise.
1150
1151 * rib.c (nexthop_active_ipv4): Only iBGP route perform recursive
1152 nexthop lookup.
1153
1154 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Add ioctl version of
1155 new RIB implementation.
1156
1157 2000-12-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1158
1159 * rib.h: Remove MULTIPATH_NUM. It is defined by configure script.
1160
1161 2000-12-25 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1162
1163 * rib.c (rib_if_up): Call rib_fib_set instead of RIB_FIB_SET for
1164 proper redistribution.
1165
1166 2000-12-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1167
1168 * rib.c (nexthop_active_ipv4): Add self lookup nexthop check.
1169 (show_ip_route_protocol): Support new RIB.
1170
1171 * rt_netlink.c (netlink_route_change): Do not return when gate is
1172 NULL.
1173
1174 2000-12-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1175
1176 * rib.c (rib_lookup_ipv4_nexthop): IBGP nexthop check function is
1177 updated.
1178 (rib_add_ipv4): Free implicit withdraw route's RIB.
1179
1180 2000-12-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1181
1182 * rib.c (nexthop_active_ipv4): Check indirect nexthop.
1183
1184 * redistribute.c (redistribute_add_multipath): Redistribution
1185 works with new rib code.
1186
1187 2000-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1188
1189 * rt_netlink.c (netlink_route_multipath): Check useful nexthop
1190 number.
1191 (netlink_route_multipath): Clear rtnh_flags and rtnh_hops.
1192
1193 * rib.c (nexthop_active_update): Set flag for the rib's nexthop
1194 activity is changed.
1195 (nexthop_active_check): Before checking interface is up, make it
1196 sure the interface exist.
1197
1198 2000-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1199
1200 * rib.c (ip_route): New RIB prototype.
1201
1202 2000-11-16 Yon Uriarte <ukl2@rz.uni-karlsruhe.de>
1203
1204 * zserv.c (zsend_interface_add): Send hardware address when
1205 hw_addr_len is greater than 0.
1206
1207 2000-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1208
1209 * connected.c (connected_up_ipv4): Fix ptop bug. The destination
1210 network should be installed into routing table.
1211 (connected_down_ipv4): Likewise.
1212 (connected_add_ipv4): Change to use connected_up_ipv4.
1213 (connected_delete_ipv4): Likewise.
1214
1215 2000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1216
1217 * rt_netlink.c (netlink_interface_addr): Revert Harald Welte
1218 <laforge@gnumonks.org>'s ptop patch then back to original code to
1219 avoid duplicated connected route problem. Suggested by Frank van
1220 Maarseveen <F.vanMaarseveen@inter.NL.net>.
1221
1222 * kernel_socket.c (rtm_read): Make behavior consistent even #ifdef
1223 DEBUG is defined. Reported by Jun-ichiro itojun Hagino
1224 <itojun@iijlab.net>.
1225
1226 2000-10-23 Jochen Friedrich <jochen@scram.de>
1227
1228 * main.c (main): Call zebra_snmp_init() when it is enabled.
1229
1230 2000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1231
1232 * zserv.c (zebra_serv_un): UNIX domain socket server of zebra
1233 protocol.
1234
1235 2000-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1236
1237 * rib.c (rib_add_ipv4): Same check bug is fixed.
1238
1239 2000-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1240
1241 * rib.c (rib_if_down): Remove kernel route when the interface goes
1242 down.
1243
1244 * debug.c: New command "debug zebra kernel" is added.
1245
1246 2000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1247
1248 * zebra-0.89 is released.
1249
1250 2000-09-24 Harald Welte <laforge@gnumonks.org>
1251
1252 * rt_netlink.c (netlink_interface_addr): Fix point-to-point address
1253 treatment in netlink interface.
1254
1255 2000-09-21 David Lipovkov <dlipovkov@OpticalAccess.com>
1256
1257 * rib.c (rib_if_down): Pull static route only. Protocol daemon
1258 must withdraw routes when interface goes down.
1259 (rib_add_ipv4): Check nexthop when replace route.
1260
1261 2000-09-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1262
1263 * if_ioctl.c (if_getaddrs): New function for looking up
1264 interface's address by getifaddrs().
1265
1266 2000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1267
1268 * connected.c (connected_delete_ipv4): Add check for connected
1269 address is found or not.
1270 (connected_add_ipv6): Reflect IPv6 connected address change to
1271 protocol daemons.
1272 (connected_delete_ipv6): Likewise.
1273
1274 2000-09-07 David Lipovkov <davidl@nbase.co.il>
1275
1276 * rib.c (rib_delete_ipv4): Reverted the change from pseudo
1277 interface patch to original. Because ospfd deletes routes using
1278 zero ifindex.
1279
1280 2000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1281
1282 * zebra-0.88 is released.
1283
1284 2000-08-15 "Akihiro Mizutani" <mizutani@dml.com>
1285
1286 * rib.c (show_ip_route_protocol): Help string correction.
1287 (show_ip_route_prefix): Check prefix mask.
1288 (show_ip_route_vty_detail): Display distance and metric.
1289
1290 2000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1291
1292 * zserv.c (zsend_interface_add): Change ifindex store size from
1293 two octet to four.
1294 (zsend_interface_delete): Likewise.
1295 (zsend_interface_address_add): Likewise.
1296 (zsend_interface_address_delete): Likewise.
1297 (zsend_interface_up): Likewise.
1298 (zsend_interface_down): Likewise.
1299
1300 2000-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1301
1302 * rib.c (rib_add_ipv4): Do not install distance 255 route.
1303
1304 2000-08-10 Toshiaki Takada <takada@zebra.org>
1305
1306 * interface.c (bandwidth_if), (no_bandwidth_if): Call
1307 zebra_interface_up_update () instead of using if_up() and if_down().
1308
1309 2000-08-07 "Akihiro Mizutani" <mizutani@dml.com>
1310
1311 * interface.c (bandwidth_if): Fix help string.
1312
1313 2000-08-07 Matthew Grant <grantma@anathoth.gen.nz>
1314
1315 * interface.c (if_dump_vty): Display bandwidth value.
1316 (bandwidth_if): New command "bandwidth <1-10000000>" is added.
1317 When interface is up, force protocol daemons to recalculate routes
1318 due to cost change.
1319 (no_bandwidth_if): Likewise.
1320 (if_config_write): Output bandwidth configuration.
1321
1322 * zserv.c (zsend_interface_add): Send bandwidth value.
1323 (zsend_interface_up): Likewise.
1324 (zsend_interface_down): Likewise.
1325
1326
1327 2000-08-07 Michael Rozhavsky <mike@nbase.co.il>
1328
1329 * rib.c (show_ip_route_protocol): "show ip route
1330 (bgp|connected|kernel|ospf|rip|static)" is added.
1331
1332 2000-08-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1333
1334 * rib.c (rib_lookup_ipv4_nexthop): Check parent node until IGP
1335 nexthop is found.
1336 (rib_add_ipv4_internal): Set fib ifindex to rib ifindex.
1337
1338 2000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1339
1340 * redistribute.c (redistribute_delete): Fix bug of default route
1341 redistribute treatment.
1342
1343 2000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1344
1345 * rib.c (rib_init): Install ip_node in rib.c instead of zserv.c.
1346 Change default distance value.
1347
1348 Old New
1349 ------------------------------------------
1350 system 10 0
1351 kernel 20 0
1352 connected 30 0
1353 static 40 1
1354 rip 50 120
1355 ripng 50 120
1356 ospf 60 110
1357 ospf6 49 110
1358 bgp 70 200(iBGP) 20(eBGP)
1359 ------------------------------------------
1360
1361 * zserv.c (client_lookup): Function removed.
1362 (zsend_interface_add): Use client's output buffer. Check ifinfo
1363 flag.
1364 (zsend_interface_delete): Likewise.
1365 Delete ipv4_static_radix and ipv6_static_radix.
1366
1367 2000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1368
1369 * zserv.h (struct zebra_client): When client request interface
1370 information, ifinfo is set.
1371
1372 * rib.c: Temporary Revert changes for pseudo interface.
1373
1374 * rib.h: Likewise.
1375
1376 * zserv.c: Likewise.
1377
1378 * interface.c: Likewise.
1379
1380 2000-08-02 David Lipovkov <davidl@nbase.co.il>
1381
1382 * interface.c (zebra_if_init): Install interface "pseudo"
1383 commands.
1384
1385 * rib.c (rib_create): ifname argument is added.
1386 (rib_add_ipv4_pseudo): New function is added.
1387 (rib_delete_ipv4_pseudo): Likewise.
1388
1389 * rib.h : Delete INTERFACE_UNKNOWN definition. Add prototype for
1390 pseudo interface functions.
1391
1392 * rt_netlink.c (netlink_link_change): Check for pseudo interface.
1393
1394 * zserv.c (ip_route): When destination is pseudo interface, call
1395 rib_add_ipv4_pseudo().
1396
1397 * zserv.c (no_ip_route): Trim "unknown" argument.
1398
1399 2000-07-26 kunitake@dti.ad.jp
1400
1401 * if_ioctl.c (if_get_hwaddr): Fix hardware address length from 8
1402 to 6.
1403
1404 * rtadv.c (rtadv_send_packet): Fix shift bug for hardware address.
1405
1406 2000-07-24 Akihiro Mizutani <mizutani@dml.com>
1407
1408 * interface.c: Use install_default() for common VTY commands.
1409
1410 2000-07-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1411
1412 * if_ioctl.c (interface_list_ioctl): A interface list size is
1413 calculated from ifreq->if_addr.sa_len. This is for OpenBSD.
1414
1415 * ioctl.c (if_get_mtu): Remove codes for SIOCGIFDATA.
1416
1417 2000-07-09 Chris Dunlop <chris@onthe.net.au>
1418
1419 * if_ioctl.c (if_get_index): Add check for HAVE_BROKEN_ALIASES.
1420
1421 2000-07-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1422
1423 * zserv.c (zebra_client_read): Add ZEBRA_REDISTRIBUTE_{ADD,DELETE}
1424 message handling.
1425
1426 2000-07-02 David Lipovkov <davidl@nbase.co.il>
1427
1428 * zserv.c: "ip route A.B.C.D/M unknown" command is added.
1429
1430 2000-06-28 Michael Rozhavsky <mike@nbase.co.il>
1431
1432 * rib.c: Remove old kernel route when new route comes in.
1433
1434 2000-06-13 David Lipovkov <davidl@nbase.co.il>
1435
1436 * rib.c (rib_if_up): Add check for unknown interface.
1437
1438 2000-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1439
1440 * rib.h: Define INTERFACE_UNKNOWN.
1441
1442 2000-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1443
1444 * Makefile.am (EXTRA_DIST): Move irdp.c until implementation is
1445 finished.
1446
1447 2000-06-05 David Lipovkov <davidl@nbase.co.il>
1448
1449 * interface.c (if_zebra_delete_hook): Call rib_if_delete().
1450
1451 * redistribute.c (zebra_interface_delete_update): New function.
1452
1453 * redistribute.h (zebra_interface_delete_update): New function
1454 prototype.
1455
1456 * rib.c (rib_if_delete): New function. Walk down all routes and
1457 delete all on the interface.
1458
1459 * rib.h: New function prototype.
1460
1461 * rt_netlink.c (netlink_link_change): Call
1462 zebra_interface_delete_update ().
1463
1464 2000-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1465
1466 * if_ioctl.c (interface_info_ioctl): Check interface's flag before
1467 checking interface's address.
1468
1469 2000-04-26 Jochen Friedrich <jochen@nwe.de>
1470
1471 * GNOME-PRODUCT-ZEBRA-MIB: New file.
1472
1473 * GNOME-SMI: New file.
1474
1475 2000-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1476
1477 * irdp.c: New file from 1997 development code.
1478 * irdp.h: Likewise.
1479
1480 2000-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1481
1482 * rtadv.c (rtadv_send_packet): Enclose router advertisement
1483 logging with IS_ZEBRA_DEBUG_PACKET.
1484
1485 2000-04-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1486
1487 * zserv.c (zebra_client_close): Remove client structure from
1488 client_list when connection is terminated.
1489
1490 2000-03-21 David Lipovkov <davidl@nbase.co.il>
1491
1492 * connected.c (connected_add_ipv4): Allows all necessary structure
1493 updates for connected route, but doesn't insert it into rib if
1494 it's interface is down.
1495
1496 2000-01-21 Hideto Yamakawa <hideto.yamakawa@soliton.co.jp>
1497
1498 * rtread_getmsg.c: Set some definition for Solaris 2.5 and Solaris
1499 2.5.1.
1500
1501 2000-01-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1502
1503 * rib.c (no_ipv6_route_ifname): Fix buf of cheking return value
1504 from str2prefix_ipv6().
1505
1506 2000-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1507
1508 * rt_socket.c: Revert to use RTF_HOST for IPv4 with /32 route and
1509 IPv6 with /128 routes.
1510 (kernel_rtm_ipv4): In case of /32 route's gateway is interface. It
1511 should have mask for cloning.
1512
1513 1999-12-26 Jochen.Friedrich@genorz.de
1514
1515 * interface.c (if_dump_vty): Fix a bug of missing VTY_NEWLINE.
1516
1517 1999-12-23 Alex Zinin <zinin@amt.ru>
1518 * interface.*: dynamic int up/down support
1519
1520 1999-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1521
1522 * ipforward_proc.c (dropline): Move dropline() from lib/dropline.c
1523
1524 * rtread_proc.c (proc_route_read): Don't use dropline().
1525
1526 1999-12-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1527
1528 * kernel_socket.c (rtm_read): When message is RTM_GET, it has own
1529 process's pid.
1530
1531 1999-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1532
1533 * main.c (main): Change to default log output to ZLOG_STDOUT.
1534
1535 * zserv.c (zebra_serv): More detailed error print.
1536
1537 1999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1538
1539 * kernel_socket.c (rtm_read): Check old pid for static route
1540 insertion check.
1541
1542 1999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1543
1544 * interface.c (if_dump_vty): BSDI/OS uses 64bit for interface
1545 statistics counter.
1546
1547 * mtu_kvm.c: New file added.
1548
1549 1999-11-27 Vladimir B. Grebenschikov <vova@express.ru>
1550
1551 * kernel_socket.c (rtm_write): Set RTF_CLONING flag for
1552 route to the directly connected interface.
1553
1554 1999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1555
1556 * rt_socket.c: Delete USE_HOST_BIT definition.
1557
1558 1999-11-21 Michael Handler <handler@sub-rosa.com>
1559
1560 * rtread_getmsg.c: Undef some definition to resolve conflict.
1561
1562 1999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1563
1564 * kernel_socket.c (rtm_write): Change to use pre stored struct_dl
1565 value for gateway specification.
1566
1567 1999-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1568
1569 * rt_socket.c (kernel_rtm_ipv4): Even mask is 32 under IPv4 or
1570 128 under IPv6, don't use RTF_HOST.
1571
1572 1999-11-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1573
1574 * Makefile.am (EXTRA_DIST): Add rtread_getmsg.c.
1575
1576 1999-11-21 Michael Handler <handler@sub-rosa.com>
1577
1578 * rtread_getmsg.c: Added for Solaris 2.6 support.
1579
1580 1999-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1581
1582 * rtread_sysctl.c (rtm_read_route): RTM_DELETE handling added.
1583
1584 * rt_socket.c (kernel_read): Better BSD routing socket support.
1585
1586 1999-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1587
1588 * client_main.c: Disable making obsolete zebra test `client'
1589 command.
1590
1591 1999-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1592
1593 * zebra.c: Renamed to zserv.c.
1594
1595 * zebra.h: Global definitions are moved to lib/zebra.h. Then
1596 renamed to zserv.h.
1597
1598 1999-10-15 Jordan Mendelson <jordy@wserv.com>
1599
1600 * if_ioctl.c: Add Linux 2.2.X's alias support and dynamic
1601 interface. Remove ugly MAX_INTERFACE handling codes.
1602
1603 1999-09-17 Satosi KOBAYASI <kobayasi@north.ad.jp>
1604
1605 * Fix serious bug of IPv6 route deletion.
1606
1607 1999-09-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1608
1609 * ioctl.c (if_set_prefix): Properly set broadcast address.
1610
1611 1999-09-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1612
1613 * rib.c (rib_add_ipv6, rib_delete_ipv6): now protocol daemons
1614 can install connected route to kernel via zebra
1615
1616 1999-08-24 VOP <vop@unity.net>
1617
1618 * rib.c: Include "sockunion.h"
1619
1620 1999-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
1621
1622 * ipforward.h: New file.
1623
1624 * zebra.h: Obsolete message ZEBRA_GET_ALL_INTERFACE,
1625 ZEBRA_GET_ONE_INTERFACE, ZEBRA_GET_HOSTINFO are deleted.
1626
1627 1999-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1628
1629 * zebra.h (ZEBRA_INTERFACE_ADDRESS_ADD):
1630 ZEBRA_INTERFACE_{ADD,DELETE} added.
1631
1632 1999-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1633
1634 * rib.c: show ip route A.B.C.D works.
1635
1636 * zebra.c (zebra_read_ipv4): Add ifindex to zebra messages.
1637
1638 1999-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1639
1640 * zebra.h: New Zebra message ZEBRA_INTERFACE_{ADD,DELETE} added.
1641
1642 1999-08-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1643
1644 * interface.h: New file.
1645 * Makefile.am: Add interface.h
1646
1647 1999-08-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1648
1649 * redistribute.c (zebra_redistribute): give ifindex to client.
1650
1651 1999-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1652
1653 * main.c (longopts): -k, --keep_kernel option added.
1654
1655 1999-07-18 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1656
1657 * rt_socket.c (rtm_write): forgot closing socket bug fixed.
1658
1659 1999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1660
1661 * rib.c (show_ipv6_cmd): if rib is link show interface name.
1662
1663 1999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1664
1665 * rt_socket.c (rtm_write): use sockaddr_dl when null gateway.
1666
1667 1999-07-16 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1668
1669 * rt_socket.c (rtm_write): ipv6 route table bug fixed.
1670
1671 1999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1672
1673 * zebra.c (zebra_read_ipv6): read link prefix from ospf6 support
1674
1675 1999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1676
1677 * rt_socket.c (kernel_rtm_ipv6): gate treatment bug fixed.
1678
1679 1999-07-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1680
1681 * if_sysctl.c (ifm_read): Clear sockunion argument before fetching
1682 data. Suggested by "Chris P. Ross" <cross@eng.us.uu.net>
1683
1684 1999-07-08 HEO SeonMeyong <seirios@Matrix.IRI.Co.Jp>
1685
1686 * interface.c (if_tun_add): Add KAME's gif tunnel setting codes.
1687
1688 1999-06-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1689
1690 * zebra.c (zebra_serv): Only accept loopback address connection.
1691
1692 1999-06-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1693
1694 * zebra.h (ZEBRA_ROUTE_EXTERNAL): Add zebra messages flags
1695
1696 1999-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1697
1698 * ipforward_proc.c: ipforward_on () and ipforward_off () added.
1699
1700 1999-06-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1701
1702 * ipforward_proc.c (ipforward_ipv6): Check for IPv6 forwarding
1703 using /proc file system is added.
1704
1705 1999-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1706
1707 * if_ioctl.c (if_get_index): Interface index set bug is fixed by
1708 adding #else at the middle of function. Suggested by David Luyer
1709 <luyer@ucs.uwa.edu.au>.
1710
1711 1999-05-29 <kunihiro@zebra.org>
1712
1713 * rt_ioctl.c: Comment out #include <linux/ipv6_route.h>.
1714
1715 1999-05-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1716
1717 * zebra.h (ZEBRA_ROUTE_MAX): Add new define for the max value of
1718 the sort of routes.
1719
1720 1999-05-25 Patrick Koppen <koppen@rhrk.uni-kl.de>
1721
1722 * rt_netlink.c (netlink_socket): Make netlink socket non-blocking.
1723 (netlink_parse_info): If errno is EWOULDBLOCK then continue to
1724 parse the message.
1725 (netlink_talk): Likewise
1726
1727 1999-05-17 <kunihiro@zebra.org>
1728
1729 * redistribute.c (zebra_check_addr): Added for loopback address
1730 check.
1731
1732 1999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1733
1734 * rt_netlink.c (netlink_route_change): Tempolary bypass ipv6 route
1735 change treatment.
1736
1737 * Makefile.am (noinst_HEADERS): redistribute.h added.
1738
1739 * redistribute.h: New file.
1740
1741 1999-05-14 Stephen R. van den Berg <srb@cuci.nl>
1742
1743 * zebra.c (show_table): Show all table configuration DEFUN.
1744 (config_table): Config table number DEFUN.
1745
1746 * rt_netlink.c: Add support for multiple routing table.
1747
1748 * rib.c (rib_weed_table): New function added for delete all
1749 routes from specified routing table.
1750
1751 * main.c (signal_init): SIGTERM call sigint.
1752 (sigint): Loggging more better message.
1753
1754 1999-05-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1755
1756 * rt_netlink.c: Change log () to zlog ().
1757
1758 1999-05-07 <kunihiro@zebra.org>
1759
1760 * zebra.h (ZEBRA_ROUTE_OSPF6): Added for ospf6d route.
1761
1762 1999-04-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1763
1764 * interface.c: Add `no ip address' command.
1765
1766 1999-04-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1767
1768 * rt_netlink.c (kernel_read): Function added for asynchronous
1769 zebra between kernel communication.
1770
1771 1999-03-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1772
1773 * rtread_sysctl.c (rtm_read): Fix address memcopy overrun bug.
1774 Reported by Achim Patzner <ap@bnc.net>.
1775
1776 1999-03-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1777
1778 * Makefile.am: Install configuration sample with 600 permission.
1779
1780 1999-03-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1781
1782 * Makefile.am: Add -I.. to INCLUDES.
1783
1784 1999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
1785
1786 * syslog support added
1787
1788 1999-02-17 Peter Galbavy <Peter.Galbavy@knowledge.com>
1789
1790 * if_sysctl.c (interface_list): allocated memory free when unknown
1791 ifm_type is returned.
1792
1793 * ioctl.c (if_get_mtu): added SIOCGIFDATA treatment.
1794
1795 1998-12-15 Magnus Ahltorp <map@stacken.kth.se>
1796
1797 * interface.c: Header include added.
1798
1799 1998-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1800
1801 * rt.h (kernel_delete_ipv6): change int index to unsigned int index.
1802
1803 1998-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1804
1805 * if_ioctl.c (interface_list_ioctl): interface flag must be
1806 checked before check addresses of the interface.
1807
1808 1998-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1809
1810 * Makefile.am (INCLUDES): add @INCLUDES@ for Linux IPv6.
1811
1812 1998-10-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1813
1814 * ioctl.c: Linux version before 2.1.0 need interface route setup.
1815
1816 1998-09-15 HEO SeonMeyong <seirios@matrix.iri.co.jp>
1817
1818 * change HYDRANGEA to KAME
1819
1820 1998-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1821
1822 * if_ioctl.c (if_addr_ioctl): set address family for getting
1823 interface's address.
1824 (if_get_index): silently return when can't get interface's index.
1825
1826 1998-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1827
1828 * main.c (main): batch mode option '-b' added.
1829
1830 1998-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1831
1832 * ioctl.c (if_set_prefix): add `ip address IPV4ADDR' command.
1833 * interface.c (shutdown_if): add interface shutdown and no
1834 shutdown command.
1835
1836 1998-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1837
1838 * rib.c (rib_add_ipv6): delete rib_add_in6.
1839
1840 1998-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1841
1842 * main.c: retain flag is added.
1843
1844 1998-07-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1845
1846 * rtable.[ch]: merged with rib.[ch]
1847
1848 1998-07-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1849
1850 * connected.h: renamed from ifa.h.
1851
1852 1998-06-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1853
1854 * rename if.c to interface.c
1855 * rename ifa.c to connected.c
1856
1857 * Porting to Debian GNU/Linux 2.0 (hamm).
1858
1859 1998-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1860
1861 * rt_netlink.c: renamed from krt_netlink.c
1862
1863 * fib.c: deleted.
1864 * rt_kvm.c: deleted.
1865 * rtread_getmsg.c: deleted.
1866
1867 1998-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1868
1869 * if.c (multicast): add multicast flag [un]set fucntion.
1870
1871 1998-05-19 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1872
1873 * rt_socket.c: Modify for compile on Solaris, but dont't work it.
1874 rt_socket.c have some undefined function, so add directive "IMPLEMENT"
1875
1876 1998-05-18 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1877
1878 * zebra.c: Modify for compile on Solaris.
1879
1880 1998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1881
1882 * main.c: change CONFDIR to SYSCONFDIR.
1883
1884 1998-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1885
1886 * .cvsignore: added.
1887
1888 1998-04-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1889
1890 * client.c: moves to ../lib.
1891
1892 1998-03-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1893
1894 * if_ioctl.c (if_get_addr): Change address copy from memcopy() to
1895 structure assignment.
1896
1897 1998-03-30 URA Hiroshi <ura@yamato.ibm.co.jp>
1898
1899 * if_sysctl.c (ifm_interface_add): sdl->sdl_data copy bug fixed.
1900
1901 1998-02-23 "Hannes R. Boehm" <hannes@boehm.org>
1902
1903 * if.c (if_init): add config_exit_cmd and config_help_cmd.
1904
1905 1998-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
1906
1907 * rt_ioctl.c (route_ioctl): EPERM treatment added.
1908
1909 1998-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1910
1911 * rt_socket.c (kernel_read): communication port zebra between
1912 kernel is now handled by kernel_read.
1913
1914 1998-01-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1915
1916 * main.c (main): zebra [-P port] can specify vty port number.
1917
1918 1997-12-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1919
1920 * zebra.c: change select will be block.
1921
1922 1997-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1923
1924 * add static route treatment.
1925
1926 1997-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1927
1928 * rt_netlink.c: add netlink support over GNU/Linux system.
1929
1930 1997-11-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1931
1932 * all inet_addr is changed to inet_aton.
1933
1934 * zebra.c (ip_route): add ip route command for static routes.
1935
1936 1997-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1937
1938 * if.c (if_flag_dump): Linux port of if_flag_dump and _vty.
1939
1940 1997-11-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1941
1942 * if.c: add interface command.
1943
1944 1997-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1945
1946 * ipforward_proc.c : Now works on Linux.
1947
1948 1997-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1949
1950 * command.c : add completion feature.
1951
1952 1997-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1953
1954 * vty.c (vty_command): add vty interface.
1955
1956 1997-10-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1957
1958 * zebra.c: add verbose mode.
1959
1960 1997-10-12 SonMyong Ho <s-ho@Matrix.IRI.Co.Jp>
1961
1962 * Hydrangea for FreeBSD supported
1963 * in.h: add some prototype.
1964
1965 1997-10-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1966
1967 * rt_socket.c and rtread.c completely rewritten.
1968
1969 1997-10-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1970
1971 * rt_socket.c: rename kernel_sock to routing_socket
1972
1973 1997-10-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1974
1975 * if.c (if_new): interface structure change from linklist to vector.
1976
1977 1997-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1978
1979 * vector.c (vector_init): create vector related function
1980
1981 1997-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1982
1983 * Makefile.in: add tags target
1984
1985 * start IPv6 support for INRIA FreeBSD.
1986