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