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