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