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