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