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