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