blob: 0ebe7052c79821da97c37790e7663990a36f49cc [file] [log] [blame]
ajs4be019d2005-01-29 16:12:41 +000012005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
2
ajs4460e7a2005-01-29 17:07:40 +00003 * if_ioctl_solaris.c: (interface_list_ioctl) Save errno before calling
4 zserv_privs.change.
5 * ioctl{,_solaris}.c: (if_ioctl,if_ioctl_ipv6) Save errno before calling
6 zserv_privs.change.
7 * ipforward_solaris.c: (solaris_nd) Save errno before calling
8 zserv_privs.change.
9 * irdp_main.c: (irdp_sock_init) Save errno before calling
10 zserv_privs.change.
11
122005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
13
ajs4be019d2005-01-29 16:12:41 +000014 * rt_netlink.c: (netlink_socket,netlink_request,netlink_parse_info,
15 netlink_talk) Save errno before calling zserv_privs.change.
16
paulc15cb242005-01-24 09:05:27 +0000172005-01-24 Martin Pot <mpot at martybugs.net>
18
19 * zebra/rt_netlink.c: ignore wireless newlink netlink messages.
20
hasso6f2c27a2005-01-18 13:44:35 +0000212005-01-18 Hasso Tepper <hasso at quagga.net>
22
23 * interface.c: Better statistics output in "show interface" command in
24 case of /proc being used.
25
hasso583d8002005-01-16 23:34:02 +0000262005-01-17 Hasso Tepper <hasso at quagga.net>
27
28 * main.c: With --nl-bufsize argument is required.
29
paul865b8522005-01-05 08:30:35 +0000302005-01-05 Paul Jakma <paul@dishone.st>
31
32 * zserv.c: (zebra_accept) Comment out setting of socket to NONBLOCK
33 for now, as we dont actually deal with with resending.... See
34 bugzilla #122, fix from wawa@yandex-team.ru (Vladimir Ivanov).
35 * kernel_socket.c: (routing_socket) ditto.
36
ajsb99760a2005-01-04 16:24:43 +0000372005-01-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
38
39 * rtadv.c: (rtadv_recv_packet,rtadv_send_packet) Use ZCMSG_FIRSTHDR
40 instead of CMSG_FIRSTHDR.
41
ajs341a8f12004-12-22 16:32:16 +0000422004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
43
44 * connected.c: (connected_add_ipv4) Limit warning about /32 addresses
45 with no peer specified to PtP interfaces only.
46
hassob8adec12004-12-18 16:03:28 +0000472004-12-18 Hasso Tepper <hasso at quagga.net>
48
49 * zebra_vty.c: Fix "show ipv6 route <proto>" command help and make it
50 work for isis routes.
51
gdt6a250b02004-12-09 14:48:12 +0000522004-12-09 Greg Troxel <gdt@fnord.ir.bbn.com>
53
54 * kernel_socket.c (rtmsg_debug): char * => const char *
55
ajs274a4a42004-12-07 15:39:31 +0000562004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
57
ajsb6178002004-12-07 21:12:56 +000058 * *.c: Change level of debug messages to LOG_DEBUG.
59
602004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
61
ajs274a4a42004-12-07 15:39:31 +000062 * main.c: (main) The 2nd argument to openzlog has been removed.
63 So stdout logging will no longer be enabled by default.
64 * irdp_main.c: (irdp_finish) Reduce severity of shutdown message
65 from LOG_WARNING to LOG_INFO.
66
ajs887c44a2004-12-03 16:36:46 +0000672004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
68
69 * main.c: (sigint) Use zlog_notice for termination message.
70 (main) Add a startup announcement using zlog_notice.
71
hassoaccb1562004-11-25 19:21:07 +0000722004-11-25 Hasso Tepper <hasso at quagga.net>
73
74 * irdp_interface.c: Remove comment from DEFUN, it breaks vtysh because
75 it confuses extract.pl.
hassoc0652302004-11-25 19:33:48 +000076 * main.c: Make group to run as configurable.
hassoaccb1562004-11-25 19:21:07 +000077
hasso6bd7c6a2004-10-28 17:32:27 +0000782004-10-28 Hasso Tepper <hasso at quagga.net>
79
80 * interface.c: Remove dead "ip tunnel" command.
81
paul06f953f2004-10-22 17:00:38 +0000822004-10-22 Paul Jakma <paul@dishone.st>
83
84 * irdp_main.c: change setsockopt_pktinfo to setsockopt_ifindex
85
hasso3fb9cd62004-10-19 19:44:43 +0000862004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
87
88 * rt_netlink.c: (netlink_interface_addr) For PtP interfaces, ignore
89 tb[IFA_ADDRESS] if it's the same as tb[IFA_LOCAL].
90 * interface.c: (ip_address_install) Use new ipv4_broadcast_addr
91 function.
92 * connected.c: (connected_up_ipv4) Use CONNECTED_POINTOPOINT_HOST
93 macro.
94 (connected_down_ipv4) ditto.
95 (connected_add_ipv4) Validate destination address, print warnings
96 if it does not make sense.
97
hassoc1eaa442004-10-19 06:26:01 +0000982004-10-19 Hasso Tepper <hasso at quagga.net>
99
100 * zserv.c: Fix regression introduced with zserv cleanup.
101
hassoc75105a2004-10-13 10:33:26 +00001022004-10-13 Hasso Tepper <hasso at quagga.net>
103
104 * zebra_snmp.c: Remove defaults used to initialize smux connection to
105 snmpd. Connection is initialized only if smux peer is configured.
hassob71f00f2004-10-13 12:20:35 +0000106 * zserv.c: Remove useless warnings "forwarding is already on".
hassoc75105a2004-10-13 10:33:26 +0000107
hasso39ff11d2004-10-12 15:55:19 +00001082004-10-12 Hasso Tepper <hasso at quagga.net>
109
110 * zebra_vty.c: Unbreak "show ip route" command help and make it work
111 for isis routes.
hasso39db97e2004-10-12 20:50:58 +0000112 * interface.c(if_dump_vty): Show IPv6 addresses in "show interface"
113 output. Fixes Bugzilla #119.
114 * *.c: Make some strings const and some (unsigned) casts to fix
115 compiler warnings.
hasso39ff11d2004-10-12 15:55:19 +0000116
hassofce954f2004-10-07 20:29:24 +00001172004-10-07 Hasso Tepper <hasso at quagga.net>
118
119 * connected.c, main.c, rt_netlink.c, rtadv.c, zebra_rib.c, zserv.c:
120 Fix warnings: make strings const, signed -> unsigned.
121
paul72164662004-10-05 14:39:43 +00001222004-10-05 Paul Jakma <paul@dishone.st>
123
124 * irdp_packet.c: (parse_irdp_packet) style issues.
125 Use sockopt_iphdrincl_swab_systoh.
126 Try unbork the code. Checksum the ICMP data and actually
127 compare it to received checksum. Check data length against
128 claimed length in header.
129 Always use ntoh.. when accessing addresses, even when the
130 comparison happens to be endian-safe.
131 (send_packet) minor style isues. Use
132 sockopt_iphdrincl_swab_htosys.
133 (irdp_iph_hton/ntoh) IP header to/from network/host order.
134
hassoeef1fe12004-10-03 18:46:08 +00001352004-10-03 Gilad Arnold <gilad.arnold at terayon.com>
136
137 * interface.c, interface.h: A new prefix tree of connected subnets is
138 associated with each interface structure in zebra, in which each
139 live (ie, non-synthetic) node holds a list of installed addresses
140 that belong to that prefix. Remove secondary address logic from cli.
141 See [quagga-dev 872] for detailed explanation.
142 * connected.c: Use if_subnet_add() and if_subnet_delete().
143
hasso18a6dce2004-10-03 18:18:34 +00001442004-10-03 James R. Leu <jleu at mindspring.com>
145
146 * router-id.c, router-id.h: New files. Router id selection process. If
147 there is non 127.x.x.x address in loopack interface, lowest of them
148 is chosen. If there isn't, lowest from other interfaces addresses
149 are chosen. "router-id x.x.x.x" vty command to manual override.
150 * Makefile.am: Compile new files.
151 * main.c: Initialize router id.
152 * redistribute.c: Add interface addresses into router id selection
153 lists as they (dis)appear.
154 * zserv.c, zserv.h: Sending router id related messages to daemons.
155
hassoc9e52be2004-09-26 16:09:34 +00001562004-09-26 Hasso Tepper <hasso at quagga.net>
157
158 * irdp_interface.c, irdp_main.c, irdp_packet.c, rt_netlink.c,
159 rtadv.c, zebra_vty.c: Fix compiler warnings.
160
paul0c0f9112004-09-24 08:24:42 +00001612004-09-24 Paul Jakma <paul@dishone.st>
162
paul26f7a242004-09-24 08:45:10 +0000163 * irdp_interface.c: (no_ip_irdp_address_preference_cmd)
164 add missing listnode declaration.
165
1662004-09-24 Paul Jakma <paul@dishone.st>
167
paul0c0f9112004-09-24 08:24:42 +0000168 * irdp_{interface,main}.c: lists typedef removal cleanup.
169 update some list loops to LIST_LOOP. some miscellaneous style
170 and indent fixups.
171 (no_ip_irdp_address_preference_cmd) Fix delete of referenced node
paul26f7a242004-09-24 08:45:10 +0000172 in loop.
paul0c0f9112004-09-24 08:24:42 +0000173 * irdp_packet.c: (irdp_recvmsg) Fix buggy assignment of integer
174 to pointer.
175 * if_ioctl{,_solaris}.c: lists typedef removal cleanup.
176 update some list loops to LIST_LOOP.
177
hasso52dc7ee2004-09-23 19:18:23 +00001782004-09-23 Hasso Tepper <hasso at quagga.net>
179
180 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
181
paul44983cf2004-09-22 13:15:58 +00001822004-09-22 Paul Jakma <paul.jakma@sun.com>
183
184 * zserv.c: (zsend_route_multipath) fix nasty bad memset of struct
185 in_addr to sizeof(struct in6_addr), causing odd and hard to debug
186 crash.
187
hassoc34b6b52004-08-31 13:41:49 +00001882004-08-31 Hasso Tepper <hasso at quagga.net>
189
190 * main.c, rt_netlink.c: Added -s command line switch for tuning
191 netlink receive buffer size in Linux to avoid buffer overruns.
192
gdta5ea6872004-08-26 13:24:00 +00001932004-08-26 Miles Nordin <carton@Ivy.NET>
194
195 * ipforward_sysctl.c (mib_ipv6): Use size_t for len, per
196 sysctl(3), rather than int. (Needed on NetBSD/alpha to display
197 forwarding status correctly.)
198
paul3e0b3a52004-08-23 18:58:32 +00001992004-08-23 Paul Jakma <paul@dishone.st>
200
201 * zserv.c: (zebra_init) remove implicit ip forward enabling
202
paul0de1cde2004-08-19 04:45:33 +00002032004-08-19 Paul Jakma <paul@dishone.st>
204
205 * irdp_main.c: update to match sockopt renames.
206 * irdp_packet.c: include sockopt.h and update to match sockopt
207 renames.
208
gdt57492d52004-08-11 18:06:38 +00002092004-08-11 Greg Troxel <gdt@fnord.ir.bbn.com>
210
211 * rtadv.c (rtadv_send_packet): Allocate space for control messages
212 more carefully; it was wrong on NetBSD/sparc where CMSG alignment
213 is to 8 bytes instead of 4, and overwriting the address. Use the
214 provided macros for determining lengths.
215
paul5b73a672004-07-23 15:26:14 +00002162004-07-23 Sowmini Varadhan <Sowmini.Varadhan@Sun.COM>
217
218 * if_ioctl_solaris.c: HAVE_IPV6 ifdef fixups
219 * zserv.c: ditto
220 * ioctl_solaris.c: ditto.
221 * interface.c: cast for LLADDR
222 * interface.h: Add guards, include redistribute.h and remove
223 extraneous definitions of zebra_interface_{up,down}_update
224 * ioctl.h: Add AF_IOCTL define for non SOLARIS_IPV6
225 * redistribute.h: include dependent header, zserv.h
226 * zserv.h: include dependent header, rib.h
227
paul1470baf2004-07-23 15:25:01 +00002282004-07-23 Paul Jakma <paul@dishone.st>
229
230 * irdp_main.c: use setsockopt_pktinfo_ipv4
231 * irdp_packet.c: use SOPT_SIZE_CMSG_PKTINFO_IPV4 and
232 getsockopt_pktinfo_ifindex()
233
gdtcced60d2004-07-13 16:45:54 +00002342004-07-13 David Wiggins <dwiggins@bbn.com
235
236 * kernel_socket.c (rtm_flag_dump): terminate buffer with '\0', not '0'.
237
hasso25dac852004-07-13 03:06:51 +00002382004-07-13 Hasso Tepper <hasso@estpak.ee>
239
240 * irdp_main.c: Add privilege change.
241
hasso996933f2004-07-12 16:32:56 +00002422004-07-12 Hasso Tepper <hasso@estpak.ee>
243
244 * irdp_interface.c: follow common style while naming vty command
245 functions. Avoids confusion in extract.pl.
246
gdt87efd642004-06-30 17:36:11 +00002472004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
248
249 * main.c: define thread_master variable so that linking with
250 libzebra.so doesn't fail. Arguably zclient.o should be in a
251 separate library, but this is far less disruptive.
252
hassoca776982004-06-12 14:33:05 +00002532004-06-12 Robert Olsson <Robert.Olsson at data.slu.se>
254
255 * Added IRDP support.
256
hasso3e31cde2004-05-18 11:58:59 +00002572004-05-18 Hasso Tepper <hasso@estpak.ee>
258
259 * rtadv.c: Removed "[no] ipv6 nd send-ra" command. Replaced "ipv6 nd
260 prefix-advertisement" with "ipv6 nd prefix". Rewrite syntax of
261 "ipv6 nd prefix" command to allow various combinations of parameters
262 and flags. No defaults in configuration. Replaced on-link and
263 autoconfig with off-link and no-autoconfig flags in command syntax.
264 Cosmetic fixes in all commands. Documentation to reflect all changes.
265
paul19877dd2004-05-11 10:49:35 +00002662004-05-11 Paul Jakma <paul@dishone.st>
267
268 * Makefile.am: support for IOCTL_METHOD, as per Sowmini's patch.
paul48a46fa2004-05-11 10:55:22 +0000269 * if_ioctl_solaris.c: Fixup some erroneous privilege changes and
270 add privs.h header.
271 * ioctl_solaris.c: ditto
paulc50ae8b2004-05-11 11:31:07 +0000272 * ioctl.h: Add if_ioctl_ipv6 prototype and AF_IOCTL for SOLARIS_IPV6
273 * kernel_socket.c: Fix SAROUNDUP, compiler doesnt like do..while
274 RHS in assignments :)
275 * redistribute.c: (zebra_interface_delete_update) only used
276 if RTM_IFANNOUNCE and NETLINK is available.
277
paulb9df2d22004-05-09 09:09:59 +00002782004-05-09 Paul Jakma <paul@dishone.st>
279
280 * zserv.c: (zsend_route_multipath) Set the nexthop_num
281 field correctly. Add NEXTHOP_TYPE_IPV6_IFNAME for v6.
282 Conditionally set ZAPI_MESSAGE_METRIC flag - only for adds.
283 (zsend_ipv4_add) cruft, deleted.
284 (zsend_ipv4_delete) ditto.
285 (zsend_ipv6_add) ditto.
286 (zsend_ipv6_delete) ditto.
paul44145db2004-05-09 11:00:23 +0000287 * ioctl.c: (if_get_mtu) set mtu6 to mtu
288 * mtu_kvm.c: (if_kvm_get_mtu) set mtu6 to mtu
289 * rt_netlink.c: (netlink_interface) set mtu6 to mtu
290 (netlink_link_change) ditto
paul66e94882004-05-09 17:19:24 +0000291 * ipforward_solaris.c: fix typo of ND variable.
paul88424682004-05-09 18:21:35 +0000292 * if_ioctl_solaris.c: Add zprivs support.
293 * ioctl_solaris.c: ditto.
paul66e94882004-05-09 17:19:24 +0000294
paulb9df2d22004-05-09 09:09:59 +00002952004-05-09 Sowmini Varadhan <sowmini.varadhan@sun.com>
296
297 * zserv.c: (zsend_ipv{4,6}_{add,delete}_multipath) collapsed
298 into single zsend_route_multipath function.
299 (zsend_interface_{up,down}) collapsed into zsend_interface_update.
300 (zsend_interface_address_{add,delete}) collapsed into
301 zsend_interface_address.
302 (zsend_interface_add) send mtu6.
303 (zsend_interface_delete) ditto.
304 (zebra_write) remove unused function.
305 (various) Apply static qualifier. Add comments.
306 * zserv.h: Definitions changed as per above.
307 * redistribute.c: Changes as per zserv.c.
paul44145db2004-05-09 11:00:23 +0000308 * interface.c: (if_delete_update) only used with HAVE_NETLINK
309 and RTM_IFANNOUNCE.
310 (if_flag_dump_vty) Solaris IFF_IPV4 and IFF_IPV6 if flags
311 (if_dump_vty) print mtu6 if not same as mtu
paul88424682004-05-09 18:21:35 +0000312 * if_ioctl_solaris.c: New file, Solaris interface ioctl methods.
313 * ioctl_solaris.c: New file, Common solaris ioctl methods.
314
hasso34195bf2004-04-06 12:07:06 +00003152004-04-06 Krzysztof Oledzki <oleq@ans.pl>
316
317 * rt_netlink.c: Do not ignore metric when reading kernel routing
318 table on Linux with rt_netlink interface.
319
3202004-03-18 Hasso Tepper <hasso@estpak.ee>
hassof1d92e12004-03-18 15:40:33 +0000321
322 * interface.c: Temporary fix for handling secondary addresses
323 with label.
324
hasso55906722004-02-11 22:42:16 +00003252004-02-12 Hasso Tepper <hasso@estpak.ee>
hassof1d92e12004-03-18 15:40:33 +0000326
hasso55906722004-02-11 22:42:16 +0000327 * zserv.c: Added "ipv6 forwarding" command.
328
gdtb27900b2004-01-08 15:44:29 +00003292004-01-08 Greg Troxel <gdt@fnord.ir.bbn.com>
330
331 * kernel_socket.c (kernel_read): Use sockaddr_storage in buffer
332 for reading kernel messages to ensure enough space (necessary on
333 Solaris due to sockaddr_dl being large). Thanks to Sowmini
334 Varadhan for help with this change.
335
gdt9ccabd12004-01-06 18:23:02 +00003362004-01-06 Greg Troxel <gdt@t1.ir.bbn.com>
337
338 * rtadv.c (rtadv_send_packet): Change perror to zlog_err.
339
gdtdbee01f2004-01-06 00:36:51 +00003402004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
gdt4bfbea82004-01-06 01:13:05 +0000341 * kernel_socket.c (ifm_read): Major cleanup. Use Sowmini's code
342 to find the sockaddr_dl in all cases, narrowing the Solaris ifdef
343 to just the accomodation of broken kernels. Check sockaddr_dl
344 carefully up front, and later assume any non-NULL sdl pointer is
345 valid. Clean up types and variable declarations, and rename
346 WRAPUP to SAROUNDUP to make the name fit the behavior.
347
3482004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
gdtdbee01f2004-01-06 00:36:51 +0000349
350 * kernel_socket.c (kernel_read): Add a sockaddr_dl to the ifmsg
351 structure, because on Solaris sockaddr_dl is far larger than the
352 base sockaddr structure. (The code had previously been failing to
353 read all the data.)
gdt4bfbea82004-01-06 01:13:05 +0000354
gdtda26e3b2004-01-05 17:20:59 +00003552004-01-05 Greg Troxel <gdt@ahi.ir.bbn.com>
356
357 * kernel_socket.c (kernel_read): Look up interfaces by index
358 first, so that state changes which do not include a sockaddr_dl
359 now work. Add many sanity checks. In
360 particular, do not assume that a sockaddr_dl follows a message
361 without checking the ifm_addrs flags, and do not trust the length
362 in a sockaddr_dl. Add/clarify many comments.
363
gdt4b5e1352003-12-03 17:54:34 +00003642003-12-03 Greg Troxel <gdt@poblano.ir.bbn.com>
365
366 * rtadv.c: reorder includes to avoid compiler warning (define
367 structs before using them in prototypes)
368
hasso647e4f12003-05-25 11:43:52 +00003692003-05-25 Jim Crumpler <Jim.Crumpler@edion.com>
370
371 * zserv.c: Add "ip forwarding" command.
372
paul445f1432003-05-16 19:00:31 +00003732003-05-16 Gilad Arnold <gilad.arnold@terayon.com>
374
375 * zebra_rib.c: Fix memory leaks for ifname nexthops
376
3772003-04-19 Israel Keys <ikeys@agile.tv>
378
379 * rt_netlink.c: BLOCK on netlink while initialising
380
3812003-02-06 Francois Deppierraz <francois@ctrlaltdel.ch>
382
383 * rt_netlink.c (netlink_route_multipath): Set RTM_F_EQUALIZE when
384 it exists.
385
paul718e3742002-12-13 20:15:29 +00003862002-09-28 Akihiro Mizutani <mizutani@net-chef.net>
387
388 * zebra_rib.c (static_add_ipv4): Null0 static route is added.
389
3902002-09-10 Jochen Friedrich <chris+zebra@scram.de>
391
392 * rt_netlink.c: Add check for EAGAIN.
393 * kernel_socket.c: Likewise
394
3952002-06-12 Israel Keys <ikeys@oz.agile.tv>
396
397 * rt_netlink.c: Setting the NLM_F_ACK flag on the netlink command
398 message so that we get an ACK for successful netlink commands.
399 Change the netlink socket to BLOCKING while we wait for a
400 response; be it an ACK or an NLMSG_ERROR. Change
401 netlink_parse_info to deal with ACK messages.
402
4032001-11-01 Jun-ichiro itojun Hagino <itojun@iijlab.net>
404
405 * rtadv.c (rtadv_make_socket): setsockopt(IPV6_CHECKSUM) does not
406 work for ICMPv6 socket.
407
4082001-10-24 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
409
410 * rib.c (rib_process): Select connected route any case.
411
4122001-10-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
413
414 * interface.c (no_ip_address_secondary): Add "no" to command.
415
4162001-10-18 NOGUCHI Kay <kay@v6.access.co.jp>
417
418 * ioctl.c (if_prefix_add_ipv6): Set the prefered and valid lifetime
419 to infinity as the freebsd4.4 workaroud.
420
4212001-08-26 mihail.balikov@interbgc.com
422
423 * zebra_snmp.c: Fix snmpwalk problem such as IPv4 address
424 A.B.C.255.
425
4262001-08-22 NOGUCHI Kay <kay@v6.access.co.jp>
427
428 * rtadv.c: Do not send RA to loopback interface.
429
4302001-08-20 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
431
432 * ioctl.c (if_set_prefix): Remove Linux 2.0 specific connected
433 route treatment.
434
4352001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
436
437 * zebra-0.92a released.
438
4392001-08-17 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
440
441 * rib.c: Kernel route is treated as EGP routes in nexthop active
442 check.
443
4442001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
445
446 * zebra-0.92 released.
447
4482001-08-08 "Akihiro Mizutani" <mizutani@dml.com>
449
450 * rib.c (show_ip_route_prefix_longer): Add longer-prefix option to
451 show route commands.
452
4532001-07-29 Yon Uriarte <havanna_moon@gmx.net>
454
455 * zserv.c (zsend_ipv4_add_multipath): Add
456 NEXTHOP_TYPE_IPV4_IFINDEX check.
457
4582001-07-29 NOGUCHI Kay <kay@v6.access.co.jp>
459
460 * rtadv.c: Apply valid lifetime, preferred lifetime, onilnk flag,
461 autonomous address-configuration flag patch.
462 (no_ipv6_nd_suppress_ra): Change "ipv6 nd send-ra" to "no ipv6 nd
463 suppress-ra".
464
4652001-07-24 NOGUCHI Kay <kay@v6.access.co.jp>
466
467 * rtadv.c (ipv6_nd_ra_interval): Add "ipv6 nd ra-interval SECONDS"
468 command.
469
4702001-07-24 Jun-ichiro itojun Hagino <itojun@iijlab.net>
471
472 * rt_socket.c (kernel_rtm_ipv4): Add KAME/NetBSD151 equal cost
473 multicast FIB support both IPv4 and IPv6.
474
4752001-07-24 Hal Snyder <hal@vailsys.com>
476
477 * if_ioctl.c (interface_list_ioctl): Fix bug of failing to get the
478 full list of interfaces on some configurations of OpenBSD.
479
4802001-07-23 NOGUCHI Kay <kay@v6.access.co.jp>
481
482 * rtadv.c (ipv6_nd_send_ra): Apply [zebra 9320] to fix "ipv6 nd
483 send-ra" bug.
484 (ipv6_nd_ra_lifetime): "ipv6 nd ra-lifetime 0" for default router
485 availability.
486 (ipv6_nd_managed_config_flag): "ipv6 nd managed-config-flag" is
487 added.
488 (ipv6_nd_other_config_flag): "ipv6 nd other-config-flag" is added.
489
4902001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
491
492 * ioctl.c (if_ioctl): Change ioctl argument from int to u_long.
493
494 * rt_ioctl.c: Likewise.
495
4962001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
497
498 * kernel_socket.c (rtm_write): Only set RTF_CLONING when the
499 interface is not p2p.
500
5012001-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
502
503 * ioctl.c (if_prefix_add_ipv6): Fix argument type.
504
5052001-04-06 Toshiaki Takada <takada@zebra.org>
506
507 * zserv.c (zsend_interface_delete): Use client->obuf instead of
508 allocating new stream.
509
5102001-03-10 Kunihiro Ishiguro <kunihiro@zebra.org>
511
512 * rt_netlink.c: Revert RTPROT_BOOT change.
513
5142001-03-08 Kunihiro Ishiguro <kunihiro@zebra.org>
515
516 * rt_netlink.c (netlink_route_change): Skip RTPROT_BOOT route.
517 (netlink_routing_table): Likewise.
518
5192001-03-07 "Akihiro Mizutani" <mizutani@dml.com>
520
521 * zserv.c (zsend_ipv4_add_multipath): Send metric value to
522 protocol daemons.
523
5242001-02-18 Kunihiro Ishiguro <kunihiro@zebra.org>
525
526 * rt_netlink.c (netlink_routing_table): Do not return
527 tb[RTA_GATEWAY] is NULL. Reported by: "Michael O'Keefe"
528 <mokeefe@qualcomm.com>.
529
5302001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
531
532 * if_ioctl.c (interface_list_ioctl): Call if_add_update().
533 Suggested by: Chris Dunlop <chris@onthe.net.au>.
534
5352001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
536
537 * rib.c (nexthop_active_ipv4): When nexthop type is
538 NEXTHOP_TYPE_IPV4_IFINDEX, propery set the ifindex to rifindex.
539
540 * zserv.c: Initialize rtm_table_default with 0.
541
542 * zebra-0.91 is released.
543
5442001-01-31 Kunihiro Ishiguro <kunihiro@zebra.org>
545
546 * kernel_socket.c (rtm_read): Filter cloned route. Suggested by:
547 Jun-ichiro itojun Hagino <itojun@iijlab.net>
548
5492001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
550
551 * connected.c (connected_up_ipv6): When point-to-point destination
552 address is ::, use local address for connected network.
553 (connected_down_ipv6): Likewise.
554
5552001-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
556
557 * zserv.c (zebra_serv): Add missing close() call. Reported by:
558 David Waitzman <djw@vineyard.net>.
559
5602001-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
561
562 * rib.c (rib_lookup_ipv4): New function for checking exact match
563 IGP route.
564
5652001-01-23 Kunihiro Ishiguro <kunihiro@zebra.org>
566
567 * rib.c (show_ipv6_route_protocol): Fix bug of "show ip route
568 route-type".
569
5702001-01-22 Kunihiro Ishiguro <kunihiro@zebra.org>
571
572 * interface.c (zebra_interface): Do not call
573 zebra_interface_add_update for inactive interface.
574
575 * zserv.c (zsend_interface_address_add): Send interface address
576 flag.
577 (zsend_interface_address_delete): Likewise.
578
5792001-01-19 Kunihiro Ishiguro <kunihiro@zebra.org>
580
581 * interface.c (if_addr_add): Add flags.
582
583 * connected.c (ifa_add_ipv4): Add new function for interface
584 address handling.
585 (ifa_delete_ipv4): Likewise.
586
5872001-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
588
589 * rib.c (rib_update): Update IPv6 RIB.
590
591 * kernel_socket.c (ifam_read): Call if_refresh() for update
592 interface flag status. This is for implicit interface up on *BSD.
593
594 * interface.c (if_refresh): Add interface flag refresh function.
595
596 * kernel_socket.c (rtm_read): Fetch link-local address interface
597 index.
598 (ifan_read): We need to fetch interface information. Suggested
599 by: Yasuhiro Ohara <yasu@sfc.wide.ad.jp>.
600
601 * rib.c (static_ipv6_nexthop_same): Add check for
602 NEXTHOP_TYPE_IPV6_IFNAME.
603
6042001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
605
606 * rib.h (NEW_RIB): Turn on NEW_RIB flag. IPv6 new RIB code are
607 taken into place.
608
6092001-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
610
611 * rib.c (static_ipv6_write): Display STATIC_IPV6_GATEWAY_IFNAME
612 configuration.
613 (rib_delete_ipv6): Handle same route conter for IPv6 connected
614 route.
615 (show_ipv6_route_protocol): New command.
616 (show_ipv6_route_addr): Likewise.
617 (show_ipv6_route_prefix): Likewise.
618 (rib_update): Sweep kernel route when it is cleaned up.
619
620 * rt_socket.c (kernel_add_ipv6): Add NEXTHOP_IPV6_IFNAME
621 treatmenet.
622
623 * rt_netlink.c (kernel_init): Likewise.
624
625 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): Likewise.
626
627 * rib.c (rib_add_ipv4): Cope with same connected route on a
628 interface. Suggested by: Matthew Grant <grantma@anathoth.gen.nz>.
629 (nexthop_ipv6_ifname_add): Add NEXTHOP_IPV6_IFNAME treatmenet.
630
631 * rib.h (struct new_rib): Add refcnt to keep track on the
632 reference of same connected route.
633
634 * ioctl.c (if_set_prefix): Add check for GNU_LINUX.
635
6362001-01-13 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
637
638 * kernel_socket.c (ifan_read, rtm_type_str): Add RTM_OIFINFO check.
639 (rtm_type_str): Add RTM_IFANNOUNCE check.
640 (ifan_read): New function.
641 (kernel_read): Add case for RTM_IFANNOUNCE.
642
6432001-01-13 Kunihiro Ishiguro <kunihiro@zebra.org>
644
645 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): New function.
646
647 * rt_netlink.c (netlink_route_multipath): IPv6 address ifindex
648 treatment.
649
650 * connected.c (connected_up_ipv6): Add dest value check.
651
652 * rib.c (nexthop_active_ipv6): Do not touch IPv6 nexthop's
653 ifindex.
654 (rib_add_ipv4): Import rib_add_ipv6() same route check code.
655 (nexthop_active_check): NEXTHOP_TYPE_IPV6_IFINDEX activity is only
656 checked by ifindex.
657
658 * rt_socket.c (kernel_rtm_ipv6_multipath): New function.
659
660 * redistribute.c (redistribute_add): Use
661 zsend_ipv6_add_multipath().
662 (redistribute_delete_multipath): Use
663 zsend_ipv6_delete_multipath().
664
665 * interface.c (ip_address): Check current IP address to avoid
666 duplicate.
667
668 * rib.c (rib_delete_ipv4): When deleted route is connected route,
669 check ifindex.
670 (rib_add_ipv4): When connected route is added do not perform
671 implicit withdraw.
672 (rib_delete_ipv4): Check ifindex for connected route.
673
674 * kernel_socket.c (rtm_read): When route has RTF_STATIC, set
675 ZEBRA_FLAG_STATIC for indicate as persistent route.
676 (ifam_read): Unset interface index from link-local address when
677 IPv6 stack is KAME.
678
679 * rib.c (rib_update): Do not delete persistent kernel route.
680
681 * rib.h (struct new_rib): Integrate RIB_FLAG_* to ZEBRA_FLAG_*.
682
683 * rt_socket.c (kernel_add_ipv6_multipath): Add placeholder.
684 (kernel_delete_ipv6_multipath): Likewise.
685
686 * rt_netlink.c (netlink_talk): Give struct nlsock to netlink_talk.
687
6882001-01-12 Kunihiro Ishiguro <kunihiro@zebra.org>
689
690 * rib.c (rib_update): Revert Matthew Grant's patch
691 zebra_cvs_newribfix.patch. Use struct rib->ifindex for kernel
692 interface index. Introduce NEXTHOP_TYPE_IPV4_IFINDEX to support
693 that. Add support for address deletion situation.
694
6952001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
696
697 * interface.c: Remove HAVE_IF_PSEUDO part.
698
699 * rib.h: Likewise.
700
701 * rt_netlink.c (netlink_link_change): Likewise.
702
7032001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
704
705 * zserv.c: Remove OLD_RIB codes.
706
7072001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
708
709 * zebra-0.90 is released.
710
7112001-01-09 Matthew Grant <grantma@anathoth.gen.nz>
712
713 * interface.c (if_new_intern_ifindex): Allocate a new internal
714 interface index.
715 (if_addr_refresh): Fix up ip addresses configured via zebra.
716 (if_add_update): Handle an interface addition.
717 (if_delete_update): Handle an interface delete event.
718
719 * rib.c (nexthop_ipv4_add): Add kernel route deletion process when
720 interface goes down.
721
7222001-01-08 Kunihiro Ishiguro <kunihiro@zebra.org>
723
724 * interface.c (if_dump_vty): When HAVE_NET_RT_IFLIST is defined,
725 NetBSD also use this function. Suggested by Jasper Wallace
726 <jasper@ivision.co.uk>.
727
7282001-01-07 Kunihiro Ishiguro <kunihiro@zebra.org>
729
730 * rib.c (nexthop_active_ipv4): Move back to set methodo to old
731 one.
732
7332001-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
734
735 * rib.c (rib_add_ipv4): EBGP multihop set ZEBRA_FLAG_INTERNAL
736 flag, so treat it.
737
7382001-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
739
740 * rt_netlink.c (netlink_talk_ipv6): When IPv6 route message is
741 sent from netlink_cmd, the same message comes from netlink. To
742 avoid confusion, temporary netlink_talk_ipv6 use netlink.sock
743 instead of netlink_cmd.sock.
744
7452001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
746
747 * zserv.h (ZEBRA_SERV_PATH): Change "/tmp/zebra" to "/tmp/.zebra".
748 Change "/tmp/zserv" to "/tmp/.zserv".
749
7502000-12-29 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
751
752 * rt_netlink.c (struct nlsock): Divide kernel message into listen
753 socket and command socket.
754 (netlink_talk): Remove socket listen code. Use netlink_parse_info
755 for read kernel response.
756
7572000-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
758
759 * rib.c (vty_show_ip_route): Show uptime of the RIP,OSPF,BGP
760 routes.
761
7622000-12-27 Kunihiro Ishiguro <kunihiro@zebra.org>
763
764 * rt_netlink.c (netlink_route_multipath): Metric value is
765 reflected to kernel routing table.
766
767 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Likewise.
768
769 * kernel_socket.c (rtm_write): Likewise.
770
771 * rib.c (nexthop_active_ipv4): Only iBGP route perform recursive
772 nexthop lookup.
773
774 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Add ioctl version of
775 new RIB implementation.
776
7772000-12-26 Kunihiro Ishiguro <kunihiro@zebra.org>
778
779 * rib.h: Remove MULTIPATH_NUM. It is defined by configure script.
780
7812000-12-25 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
782
783 * rib.c (rib_if_up): Call rib_fib_set instead of RIB_FIB_SET for
784 proper redistribution.
785
7862000-12-19 Kunihiro Ishiguro <kunihiro@zebra.org>
787
788 * rib.c (nexthop_active_ipv4): Add self lookup nexthop check.
789 (show_ip_route_protocol): Support new RIB.
790
791 * rt_netlink.c (netlink_route_change): Do not return when gate is
792 NULL.
793
7942000-12-18 Kunihiro Ishiguro <kunihiro@zebra.org>
795
796 * rib.c (rib_lookup_ipv4_nexthop): IBGP nexthop check function is
797 updated.
798 (rib_add_ipv4): Free implicit withdraw route's RIB.
799
8002000-12-15 Kunihiro Ishiguro <kunihiro@zebra.org>
801
802 * rib.c (nexthop_active_ipv4): Check indirect nexthop.
803
804 * redistribute.c (redistribute_add_multipath): Redistribution
805 works with new rib code.
806
8072000-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
808
809 * rt_netlink.c (netlink_route_multipath): Check useful nexthop
810 number.
811 (netlink_route_multipath): Clear rtnh_flags and rtnh_hops.
812
813 * rib.c (nexthop_active_update): Set flag for the rib's nexthop
814 activity is changed.
815 (nexthop_active_check): Before checking interface is up, make it
816 sure the interface exist.
817
8182000-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
819
820 * rib.c (ip_route): New RIB prototype.
821
8222000-11-16 Yon Uriarte <ukl2@rz.uni-karlsruhe.de>
823
824 * zserv.c (zsend_interface_add): Send hardware address when
825 hw_addr_len is greater than 0.
826
8272000-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
828
829 * connected.c (connected_up_ipv4): Fix ptop bug. The destination
830 network should be installed into routing table.
831 (connected_down_ipv4): Likewise.
832 (connected_add_ipv4): Change to use connected_up_ipv4.
833 (connected_delete_ipv4): Likewise.
834
8352000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
836
837 * rt_netlink.c (netlink_interface_addr): Revert Harald Welte
838 <laforge@gnumonks.org>'s ptop patch then back to original code to
839 avoid duplicated connected route problem. Suggested by Frank van
840 Maarseveen <F.vanMaarseveen@inter.NL.net>.
841
842 * kernel_socket.c (rtm_read): Make behavior consistent even #ifdef
843 DEBUG is defined. Reported by Jun-ichiro itojun Hagino
844 <itojun@iijlab.net>.
845
8462000-10-23 Jochen Friedrich <jochen@scram.de>
847
848 * main.c (main): Call zebra_snmp_init() when it is enabled.
849
8502000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org>
851
852 * zserv.c (zebra_serv_un): UNIX domain socket server of zebra
853 protocol.
854
8552000-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
856
857 * rib.c (rib_add_ipv4): Same check bug is fixed.
858
8592000-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
860
861 * rib.c (rib_if_down): Remove kernel route when the interface goes
862 down.
863
864 * debug.c: New command "debug zebra kernel" is added.
865
8662000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
867
868 * zebra-0.89 is released.
869
8702000-09-24 Harald Welte <laforge@gnumonks.org>
871
872 * rt_netlink.c (netlink_interface_addr): Fix point-to-point address
873 treatment in netlink interface.
874
8752000-09-21 David Lipovkov <dlipovkov@OpticalAccess.com>
876
877 * rib.c (rib_if_down): Pull static route only. Protocol daemon
878 must withdraw routes when interface goes down.
879 (rib_add_ipv4): Check nexthop when replace route.
880
8812000-09-21 Kunihiro Ishiguro <kunihiro@zebra.org>
882
883 * if_ioctl.c (if_getaddrs): New function for looking up
884 interface's address by getifaddrs().
885
8862000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
887
888 * connected.c (connected_delete_ipv4): Add check for connected
889 address is found or not.
890 (connected_add_ipv6): Reflect IPv6 connected address change to
891 protocol daemons.
892 (connected_delete_ipv6): Likewise.
893
8942000-09-07 David Lipovkov <davidl@nbase.co.il>
895
896 * rib.c (rib_delete_ipv4): Reverted the change from pseudo
897 interface patch to original. Because ospfd deletes routes using
898 zero ifindex.
899
9002000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
901
902 * zebra-0.88 is released.
903
9042000-08-15 "Akihiro Mizutani" <mizutani@dml.com>
905
906 * rib.c (show_ip_route_protocol): Help string correction.
907 (show_ip_route_prefix): Check prefix mask.
908 (show_ip_route_vty_detail): Display distance and metric.
909
9102000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
911
912 * zserv.c (zsend_interface_add): Change ifindex store size from
913 two octet to four.
914 (zsend_interface_delete): Likewise.
915 (zsend_interface_address_add): Likewise.
916 (zsend_interface_address_delete): Likewise.
917 (zsend_interface_up): Likewise.
918 (zsend_interface_down): Likewise.
919
9202000-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
921
922 * rib.c (rib_add_ipv4): Do not install distance 255 route.
923
9242000-08-10 Toshiaki Takada <takada@zebra.org>
925
926 * interface.c (bandwidth_if), (no_bandwidth_if): Call
927 zebra_interface_up_update () instead of using if_up() and if_down().
928
9292000-08-07 "Akihiro Mizutani" <mizutani@dml.com>
930
931 * interface.c (bandwidth_if): Fix help string.
932
9332000-08-07 Matthew Grant <grantma@anathoth.gen.nz>
934
935 * interface.c (if_dump_vty): Display bandwidth value.
936 (bandwidth_if): New command "bandwidth <1-10000000>" is added.
937 When interface is up, force protocol daemons to recalculate routes
938 due to cost change.
939 (no_bandwidth_if): Likewise.
940 (if_config_write): Output bandwidth configuration.
941
942 * zserv.c (zsend_interface_add): Send bandwidth value.
943 (zsend_interface_up): Likewise.
944 (zsend_interface_down): Likewise.
945
946
9472000-08-07 Michael Rozhavsky <mike@nbase.co.il>
948
949 * rib.c (show_ip_route_protocol): "show ip route
950 (bgp|connected|kernel|ospf|rip|static)" is added.
951
9522000-08-07 Kunihiro Ishiguro <kunihiro@zebra.org>
953
954 * rib.c (rib_lookup_ipv4_nexthop): Check parent node until IGP
955 nexthop is found.
956 (rib_add_ipv4_internal): Set fib ifindex to rib ifindex.
957
9582000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
959
960 * redistribute.c (redistribute_delete): Fix bug of default route
961 redistribute treatment.
962
9632000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
964
965 * rib.c (rib_init): Install ip_node in rib.c instead of zserv.c.
966 Change default distance value.
967
968 Old New
969 ------------------------------------------
970 system 10 0
971 kernel 20 0
972 connected 30 0
973 static 40 1
974 rip 50 120
975 ripng 50 120
976 ospf 60 110
977 ospf6 49 110
978 bgp 70 200(iBGP) 20(eBGP)
979 ------------------------------------------
980
981 * zserv.c (client_lookup): Function removed.
982 (zsend_interface_add): Use client's output buffer. Check ifinfo
983 flag.
984 (zsend_interface_delete): Likewise.
985 Delete ipv4_static_radix and ipv6_static_radix.
986
9872000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
988
989 * zserv.h (struct zebra_client): When client request interface
990 information, ifinfo is set.
991
992 * rib.c: Temporary Revert changes for pseudo interface.
993
994 * rib.h: Likewise.
995
996 * zserv.c: Likewise.
997
998 * interface.c: Likewise.
999
10002000-08-02 David Lipovkov <davidl@nbase.co.il>
1001
1002 * interface.c (zebra_if_init): Install interface "pseudo"
1003 commands.
1004
1005 * rib.c (rib_create): ifname argument is added.
1006 (rib_add_ipv4_pseudo): New function is added.
1007 (rib_delete_ipv4_pseudo): Likewise.
1008
1009 * rib.h : Delete INTERFACE_UNKNOWN definition. Add prototype for
1010 pseudo interface functions.
1011
1012 * rt_netlink.c (netlink_link_change): Check for pseudo interface.
1013
1014 * zserv.c (ip_route): When destination is pseudo interface, call
1015 rib_add_ipv4_pseudo().
1016
1017 * zserv.c (no_ip_route): Trim "unknown" argument.
1018
10192000-07-26 kunitake@dti.ad.jp
1020
1021 * if_ioctl.c (if_get_hwaddr): Fix hardware address length from 8
1022 to 6.
1023
1024 * rtadv.c (rtadv_send_packet): Fix shift bug for hardware address.
1025
10262000-07-24 Akihiro Mizutani <mizutani@dml.com>
1027
1028 * interface.c: Use install_default() for common VTY commands.
1029
10302000-07-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1031
1032 * if_ioctl.c (interface_list_ioctl): A interface list size is
1033 calculated from ifreq->if_addr.sa_len. This is for OpenBSD.
1034
1035 * ioctl.c (if_get_mtu): Remove codes for SIOCGIFDATA.
1036
10372000-07-09 Chris Dunlop <chris@onthe.net.au>
1038
1039 * if_ioctl.c (if_get_index): Add check for HAVE_BROKEN_ALIASES.
1040
10412000-07-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1042
1043 * zserv.c (zebra_client_read): Add ZEBRA_REDISTRIBUTE_{ADD,DELETE}
1044 message handling.
1045
10462000-07-02 David Lipovkov <davidl@nbase.co.il>
1047
1048 * zserv.c: "ip route A.B.C.D/M unknown" command is added.
1049
10502000-06-28 Michael Rozhavsky <mike@nbase.co.il>
1051
1052 * rib.c: Remove old kernel route when new route comes in.
1053
10542000-06-13 David Lipovkov <davidl@nbase.co.il>
1055
1056 * rib.c (rib_if_up): Add check for unknown interface.
1057
10582000-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1059
1060 * rib.h: Define INTERFACE_UNKNOWN.
1061
10622000-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1063
1064 * Makefile.am (EXTRA_DIST): Move irdp.c until implementation is
1065 finished.
1066
10672000-06-05 David Lipovkov <davidl@nbase.co.il>
1068
1069 * interface.c (if_zebra_delete_hook): Call rib_if_delete().
1070
1071 * redistribute.c (zebra_interface_delete_update): New function.
1072
1073 * redistribute.h (zebra_interface_delete_update): New function
1074 prototype.
1075
1076 * rib.c (rib_if_delete): New function. Walk down all routes and
1077 delete all on the interface.
1078
1079 * rib.h: New function prototype.
1080
1081 * rt_netlink.c (netlink_link_change): Call
1082 zebra_interface_delete_update ().
1083
10842000-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1085
1086 * if_ioctl.c (interface_info_ioctl): Check interface's flag before
1087 checking interface's address.
1088
10892000-04-26 Jochen Friedrich <jochen@nwe.de>
1090
1091 * GNOME-PRODUCT-ZEBRA-MIB: New file.
1092
1093 * GNOME-SMI: New file.
1094
10952000-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1096
1097 * irdp.c: New file from 1997 development code.
1098 * irdp.h: Likewise.
1099
11002000-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1101
1102 * rtadv.c (rtadv_send_packet): Enclose router advertisement
1103 logging with IS_ZEBRA_DEBUG_PACKET.
1104
11052000-04-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1106
1107 * zserv.c (zebra_client_close): Remove client structure from
1108 client_list when connection is terminated.
1109
11102000-03-21 David Lipovkov <davidl@nbase.co.il>
1111
1112 * connected.c (connected_add_ipv4): Allows all necessary structure
1113 updates for connected route, but doesn't insert it into rib if
1114 it's interface is down.
1115
11162000-01-21 Hideto Yamakawa <hideto.yamakawa@soliton.co.jp>
1117
1118 * rtread_getmsg.c: Set some definition for Solaris 2.5 and Solaris
1119 2.5.1.
1120
11212000-01-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1122
1123 * rib.c (no_ipv6_route_ifname): Fix buf of cheking return value
1124 from str2prefix_ipv6().
1125
11262000-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1127
1128 * rt_socket.c: Revert to use RTF_HOST for IPv4 with /32 route and
1129 IPv6 with /128 routes.
1130 (kernel_rtm_ipv4): In case of /32 route's gateway is interface. It
1131 should have mask for cloning.
1132
11331999-12-26 Jochen.Friedrich@genorz.de
1134
1135 * interface.c (if_dump_vty): Fix a bug of missing VTY_NEWLINE.
1136
11371999-12-23 Alex Zinin <zinin@amt.ru>
1138 * interface.*: dynamic int up/down support
1139
11401999-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1141
1142 * ipforward_proc.c (dropline): Move dropline() from lib/dropline.c
1143
1144 * rtread_proc.c (proc_route_read): Don't use dropline().
1145
11461999-12-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1147
1148 * kernel_socket.c (rtm_read): When message is RTM_GET, it has own
1149 process's pid.
1150
11511999-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1152
1153 * main.c (main): Change to default log output to ZLOG_STDOUT.
1154
1155 * zserv.c (zebra_serv): More detailed error print.
1156
11571999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1158
1159 * kernel_socket.c (rtm_read): Check old pid for static route
1160 insertion check.
1161
11621999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1163
1164 * interface.c (if_dump_vty): BSDI/OS uses 64bit for interface
1165 statistics counter.
1166
1167 * mtu_kvm.c: New file added.
1168
11691999-11-27 Vladimir B. Grebenschikov <vova@express.ru>
1170
1171 * kernel_socket.c (rtm_write): Set RTF_CLONING flag for
1172 route to the directly connected interface.
1173
11741999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1175
1176 * rt_socket.c: Delete USE_HOST_BIT definition.
1177
11781999-11-21 Michael Handler <handler@sub-rosa.com>
1179
1180 * rtread_getmsg.c: Undef some definition to resolve conflict.
1181
11821999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1183
1184 * kernel_socket.c (rtm_write): Change to use pre stored struct_dl
1185 value for gateway specification.
1186
11871999-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1188
1189 * rt_socket.c (kernel_rtm_ipv4): Even mask is 32 under IPv4 or
1190 128 under IPv6, don't use RTF_HOST.
1191
11921999-11-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1193
1194 * Makefile.am (EXTRA_DIST): Add rtread_getmsg.c.
1195
11961999-11-21 Michael Handler <handler@sub-rosa.com>
1197
1198 * rtread_getmsg.c: Added for Solaris 2.6 support.
1199
12001999-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1201
1202 * rtread_sysctl.c (rtm_read_route): RTM_DELETE handling added.
1203
1204 * rt_socket.c (kernel_read): Better BSD routing socket support.
1205
12061999-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1207
1208 * client_main.c: Disable making obsolete zebra test `client'
1209 command.
1210
12111999-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1212
1213 * zebra.c: Renamed to zserv.c.
1214
1215 * zebra.h: Global definitions are moved to lib/zebra.h. Then
1216 renamed to zserv.h.
1217
12181999-10-15 Jordan Mendelson <jordy@wserv.com>
1219
1220 * if_ioctl.c: Add Linux 2.2.X's alias support and dynamic
1221 interface. Remove ugly MAX_INTERFACE handling codes.
1222
12231999-09-17 Satosi KOBAYASI <kobayasi@north.ad.jp>
1224
1225 * Fix serious bug of IPv6 route deletion.
1226
12271999-09-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1228
1229 * ioctl.c (if_set_prefix): Properly set broadcast address.
1230
12311999-09-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1232
1233 * rib.c (rib_add_ipv6, rib_delete_ipv6): now protocol daemons
1234 can install connected route to kernel via zebra
1235
12361999-08-24 VOP <vop@unity.net>
1237
1238 * rib.c: Include "sockunion.h"
1239
12401999-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
1241
1242 * ipforward.h: New file.
1243
1244 * zebra.h: Obsolete message ZEBRA_GET_ALL_INTERFACE,
1245 ZEBRA_GET_ONE_INTERFACE, ZEBRA_GET_HOSTINFO are deleted.
1246
12471999-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1248
1249 * zebra.h (ZEBRA_INTERFACE_ADDRESS_ADD):
1250 ZEBRA_INTERFACE_{ADD,DELETE} added.
1251
12521999-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1253
1254 * rib.c: show ip route A.B.C.D works.
1255
1256 * zebra.c (zebra_read_ipv4): Add ifindex to zebra messages.
1257
12581999-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1259
1260 * zebra.h: New Zebra message ZEBRA_INTERFACE_{ADD,DELETE} added.
1261
12621999-08-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1263
1264 * interface.h: New file.
1265 * Makefile.am: Add interface.h
1266
12671999-08-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1268
1269 * redistribute.c (zebra_redistribute): give ifindex to client.
1270
12711999-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1272
1273 * main.c (longopts): -k, --keep_kernel option added.
1274
12751999-07-18 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1276
1277 * rt_socket.c (rtm_write): forgot closing socket bug fixed.
1278
12791999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1280
1281 * rib.c (show_ipv6_cmd): if rib is link show interface name.
1282
12831999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1284
1285 * rt_socket.c (rtm_write): use sockaddr_dl when null gateway.
1286
12871999-07-16 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1288
1289 * rt_socket.c (rtm_write): ipv6 route table bug fixed.
1290
12911999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1292
1293 * zebra.c (zebra_read_ipv6): read link prefix from ospf6 support
1294
12951999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1296
1297 * rt_socket.c (kernel_rtm_ipv6): gate treatment bug fixed.
1298
12991999-07-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1300
1301 * if_sysctl.c (ifm_read): Clear sockunion argument before fetching
1302 data. Suggested by "Chris P. Ross" <cross@eng.us.uu.net>
1303
13041999-07-08 HEO SeonMeyong <seirios@Matrix.IRI.Co.Jp>
1305
1306 * interface.c (if_tun_add): Add KAME's gif tunnel setting codes.
1307
13081999-06-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1309
1310 * zebra.c (zebra_serv): Only accept loopback address connection.
1311
13121999-06-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1313
1314 * zebra.h (ZEBRA_ROUTE_EXTERNAL): Add zebra messages flags
1315
13161999-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1317
1318 * ipforward_proc.c: ipforward_on () and ipforward_off () added.
1319
13201999-06-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1321
1322 * ipforward_proc.c (ipforward_ipv6): Check for IPv6 forwarding
1323 using /proc file system is added.
1324
13251999-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1326
1327 * if_ioctl.c (if_get_index): Interface index set bug is fixed by
1328 adding #else at the middle of function. Suggested by David Luyer
1329 <luyer@ucs.uwa.edu.au>.
1330
13311999-05-29 <kunihiro@zebra.org>
1332
1333 * rt_ioctl.c: Comment out #include <linux/ipv6_route.h>.
1334
13351999-05-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1336
1337 * zebra.h (ZEBRA_ROUTE_MAX): Add new define for the max value of
1338 the sort of routes.
1339
13401999-05-25 Patrick Koppen <koppen@rhrk.uni-kl.de>
1341
1342 * rt_netlink.c (netlink_socket): Make netlink socket non-blocking.
1343 (netlink_parse_info): If errno is EWOULDBLOCK then continue to
1344 parse the message.
1345 (netlink_talk): Likewise
1346
13471999-05-17 <kunihiro@zebra.org>
1348
1349 * redistribute.c (zebra_check_addr): Added for loopback address
1350 check.
1351
13521999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1353
1354 * rt_netlink.c (netlink_route_change): Tempolary bypass ipv6 route
1355 change treatment.
1356
1357 * Makefile.am (noinst_HEADERS): redistribute.h added.
1358
1359 * redistribute.h: New file.
1360
13611999-05-14 Stephen R. van den Berg <srb@cuci.nl>
1362
1363 * zebra.c (show_table): Show all table configuration DEFUN.
1364 (config_table): Config table number DEFUN.
1365
1366 * rt_netlink.c: Add support for multiple routing table.
1367
1368 * rib.c (rib_weed_table): New function added for delete all
1369 routes from specified routing table.
1370
1371 * main.c (signal_init): SIGTERM call sigint.
1372 (sigint): Loggging more better message.
1373
13741999-05-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1375
1376 * rt_netlink.c: Change log () to zlog ().
1377
13781999-05-07 <kunihiro@zebra.org>
1379
1380 * zebra.h (ZEBRA_ROUTE_OSPF6): Added for ospf6d route.
1381
13821999-04-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1383
1384 * interface.c: Add `no ip address' command.
1385
13861999-04-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1387
1388 * rt_netlink.c (kernel_read): Function added for asynchronous
1389 zebra between kernel communication.
1390
13911999-03-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1392
1393 * rtread_sysctl.c (rtm_read): Fix address memcopy overrun bug.
1394 Reported by Achim Patzner <ap@bnc.net>.
1395
13961999-03-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1397
1398 * Makefile.am: Install configuration sample with 600 permission.
1399
14001999-03-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1401
1402 * Makefile.am: Add -I.. to INCLUDES.
1403
14041999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
1405
1406 * syslog support added
1407
14081999-02-17 Peter Galbavy <Peter.Galbavy@knowledge.com>
1409
1410 * if_sysctl.c (interface_list): allocated memory free when unknown
1411 ifm_type is returned.
1412
1413 * ioctl.c (if_get_mtu): added SIOCGIFDATA treatment.
1414
14151998-12-15 Magnus Ahltorp <map@stacken.kth.se>
1416
1417 * interface.c: Header include added.
1418
14191998-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1420
1421 * rt.h (kernel_delete_ipv6): change int index to unsigned int index.
1422
14231998-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1424
1425 * if_ioctl.c (interface_list_ioctl): interface flag must be
1426 checked before check addresses of the interface.
1427
14281998-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1429
1430 * Makefile.am (INCLUDES): add @INCLUDES@ for Linux IPv6.
1431
14321998-10-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1433
1434 * ioctl.c: Linux version before 2.1.0 need interface route setup.
1435
14361998-09-15 HEO SeonMeyong <seirios@matrix.iri.co.jp>
1437
1438 * change HYDRANGEA to KAME
1439
14401998-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1441
1442 * if_ioctl.c (if_addr_ioctl): set address family for getting
1443 interface's address.
1444 (if_get_index): silently return when can't get interface's index.
1445
14461998-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1447
1448 * main.c (main): batch mode option '-b' added.
1449
14501998-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1451
1452 * ioctl.c (if_set_prefix): add `ip address IPV4ADDR' command.
1453 * interface.c (shutdown_if): add interface shutdown and no
1454 shutdown command.
1455
14561998-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1457
1458 * rib.c (rib_add_ipv6): delete rib_add_in6.
1459
14601998-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1461
1462 * main.c: retain flag is added.
1463
14641998-07-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1465
1466 * rtable.[ch]: merged with rib.[ch]
1467
14681998-07-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1469
1470 * connected.h: renamed from ifa.h.
1471
14721998-06-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1473
1474 * rename if.c to interface.c
1475 * rename ifa.c to connected.c
1476
1477 * Porting to Debian GNU/Linux 2.0 (hamm).
1478
14791998-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1480
1481 * rt_netlink.c: renamed from krt_netlink.c
1482
1483 * fib.c: deleted.
1484 * rt_kvm.c: deleted.
1485 * rtread_getmsg.c: deleted.
1486
14871998-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1488
1489 * if.c (multicast): add multicast flag [un]set fucntion.
1490
14911998-05-19 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1492
1493 * rt_socket.c: Modify for compile on Solaris, but dont't work it.
1494 rt_socket.c have some undefined function, so add directive "IMPLEMENT"
1495
14961998-05-18 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1497
1498 * zebra.c: Modify for compile on Solaris.
1499
15001998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1501
1502 * main.c: change CONFDIR to SYSCONFDIR.
1503
15041998-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1505
1506 * .cvsignore: added.
1507
15081998-04-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1509
1510 * client.c: moves to ../lib.
1511
15121998-03-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1513
1514 * if_ioctl.c (if_get_addr): Change address copy from memcopy() to
1515 structure assignment.
1516
15171998-03-30 URA Hiroshi <ura@yamato.ibm.co.jp>
1518
1519 * if_sysctl.c (ifm_interface_add): sdl->sdl_data copy bug fixed.
1520
15211998-02-23 "Hannes R. Boehm" <hannes@boehm.org>
1522
1523 * if.c (if_init): add config_exit_cmd and config_help_cmd.
1524
15251998-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
1526
1527 * rt_ioctl.c (route_ioctl): EPERM treatment added.
1528
15291998-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1530
1531 * rt_socket.c (kernel_read): communication port zebra between
1532 kernel is now handled by kernel_read.
1533
15341998-01-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1535
1536 * main.c (main): zebra [-P port] can specify vty port number.
1537
15381997-12-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1539
1540 * zebra.c: change select will be block.
1541
15421997-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1543
1544 * add static route treatment.
1545
15461997-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1547
1548 * rt_netlink.c: add netlink support over GNU/Linux system.
1549
15501997-11-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1551
1552 * all inet_addr is changed to inet_aton.
1553
1554 * zebra.c (ip_route): add ip route command for static routes.
1555
15561997-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1557
1558 * if.c (if_flag_dump): Linux port of if_flag_dump and _vty.
1559
15601997-11-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1561
1562 * if.c: add interface command.
1563
15641997-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1565
1566 * ipforward_proc.c : Now works on Linux.
1567
15681997-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1569
1570 * command.c : add completion feature.
1571
15721997-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1573
1574 * vty.c (vty_command): add vty interface.
1575
15761997-10-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1577
1578 * zebra.c: add verbose mode.
1579
15801997-10-12 SonMyong Ho <s-ho@Matrix.IRI.Co.Jp>
1581
1582 * Hydrangea for FreeBSD supported
1583 * in.h: add some prototype.
1584
15851997-10-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1586
1587 * rt_socket.c and rtread.c completely rewritten.
1588
15891997-10-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1590
1591 * rt_socket.c: rename kernel_sock to routing_socket
1592
15931997-10-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1594
1595 * if.c (if_new): interface structure change from linklist to vector.
1596
15971997-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1598
1599 * vector.c (vector_init): create vector related function
1600
16011997-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1602
1603 * Makefile.in: add tags target
1604
1605 * start IPv6 support for INRIA FreeBSD.
1606