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