blob: 1f97fef9ac7d42968a595918e68e719a2e2c50d7 [file] [log] [blame]
ajs6a52d0d2005-01-30 18:49:28 +000012005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
2
3 * ioctl.c: (if_ioctl,if_ioctl_ipv6,if_get_flags) Replace perror with
4 zlog_err.
5 * ioctl_solaris.c: (if_ioctl,if_ioctl_ipv6) Replace perror with
6 zlog_err.
7
ajs4be019d2005-01-29 16:12:41 +000082005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
9
ajs4460e7a2005-01-29 17:07:40 +000010 * if_ioctl_solaris.c: (interface_list_ioctl) Save errno before calling
11 zserv_privs.change.
12 * ioctl{,_solaris}.c: (if_ioctl,if_ioctl_ipv6) Save errno before calling
13 zserv_privs.change.
14 * ipforward_solaris.c: (solaris_nd) Save errno before calling
15 zserv_privs.change.
16 * irdp_main.c: (irdp_sock_init) Save errno before calling
17 zserv_privs.change.
18
192005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
20
ajs4be019d2005-01-29 16:12:41 +000021 * rt_netlink.c: (netlink_socket,netlink_request,netlink_parse_info,
22 netlink_talk) Save errno before calling zserv_privs.change.
23
paulc15cb242005-01-24 09:05:27 +0000242005-01-24 Martin Pot <mpot at martybugs.net>
25
26 * zebra/rt_netlink.c: ignore wireless newlink netlink messages.
27
hasso6f2c27a2005-01-18 13:44:35 +0000282005-01-18 Hasso Tepper <hasso at quagga.net>
29
30 * interface.c: Better statistics output in "show interface" command in
31 case of /proc being used.
32
hasso583d8002005-01-16 23:34:02 +0000332005-01-17 Hasso Tepper <hasso at quagga.net>
34
35 * main.c: With --nl-bufsize argument is required.
36
paul865b8522005-01-05 08:30:35 +0000372005-01-05 Paul Jakma <paul@dishone.st>
38
39 * zserv.c: (zebra_accept) Comment out setting of socket to NONBLOCK
40 for now, as we dont actually deal with with resending.... See
41 bugzilla #122, fix from wawa@yandex-team.ru (Vladimir Ivanov).
42 * kernel_socket.c: (routing_socket) ditto.
43
ajsb99760a2005-01-04 16:24:43 +0000442005-01-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
45
46 * rtadv.c: (rtadv_recv_packet,rtadv_send_packet) Use ZCMSG_FIRSTHDR
47 instead of CMSG_FIRSTHDR.
48
ajs341a8f12004-12-22 16:32:16 +0000492004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
50
51 * connected.c: (connected_add_ipv4) Limit warning about /32 addresses
52 with no peer specified to PtP interfaces only.
53
hassob8adec12004-12-18 16:03:28 +0000542004-12-18 Hasso Tepper <hasso at quagga.net>
55
56 * zebra_vty.c: Fix "show ipv6 route <proto>" command help and make it
57 work for isis routes.
58
gdt6a250b02004-12-09 14:48:12 +0000592004-12-09 Greg Troxel <gdt@fnord.ir.bbn.com>
60
61 * kernel_socket.c (rtmsg_debug): char * => const char *
62
ajs274a4a42004-12-07 15:39:31 +0000632004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
64
ajsb6178002004-12-07 21:12:56 +000065 * *.c: Change level of debug messages to LOG_DEBUG.
66
672004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
68
ajs274a4a42004-12-07 15:39:31 +000069 * main.c: (main) The 2nd argument to openzlog has been removed.
70 So stdout logging will no longer be enabled by default.
71 * irdp_main.c: (irdp_finish) Reduce severity of shutdown message
72 from LOG_WARNING to LOG_INFO.
73
ajs887c44a2004-12-03 16:36:46 +0000742004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
75
76 * main.c: (sigint) Use zlog_notice for termination message.
77 (main) Add a startup announcement using zlog_notice.
78
hassoaccb1562004-11-25 19:21:07 +0000792004-11-25 Hasso Tepper <hasso at quagga.net>
80
81 * irdp_interface.c: Remove comment from DEFUN, it breaks vtysh because
82 it confuses extract.pl.
hassoc0652302004-11-25 19:33:48 +000083 * main.c: Make group to run as configurable.
hassoaccb1562004-11-25 19:21:07 +000084
hasso6bd7c6a2004-10-28 17:32:27 +0000852004-10-28 Hasso Tepper <hasso at quagga.net>
86
87 * interface.c: Remove dead "ip tunnel" command.
88
paul06f953f2004-10-22 17:00:38 +0000892004-10-22 Paul Jakma <paul@dishone.st>
90
91 * irdp_main.c: change setsockopt_pktinfo to setsockopt_ifindex
92
hasso3fb9cd62004-10-19 19:44:43 +0000932004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
94
95 * rt_netlink.c: (netlink_interface_addr) For PtP interfaces, ignore
96 tb[IFA_ADDRESS] if it's the same as tb[IFA_LOCAL].
97 * interface.c: (ip_address_install) Use new ipv4_broadcast_addr
98 function.
99 * connected.c: (connected_up_ipv4) Use CONNECTED_POINTOPOINT_HOST
100 macro.
101 (connected_down_ipv4) ditto.
102 (connected_add_ipv4) Validate destination address, print warnings
103 if it does not make sense.
104
hassoc1eaa442004-10-19 06:26:01 +00001052004-10-19 Hasso Tepper <hasso at quagga.net>
106
107 * zserv.c: Fix regression introduced with zserv cleanup.
108
hassoc75105a2004-10-13 10:33:26 +00001092004-10-13 Hasso Tepper <hasso at quagga.net>
110
111 * zebra_snmp.c: Remove defaults used to initialize smux connection to
112 snmpd. Connection is initialized only if smux peer is configured.
hassob71f00f2004-10-13 12:20:35 +0000113 * zserv.c: Remove useless warnings "forwarding is already on".
hassoc75105a2004-10-13 10:33:26 +0000114
hasso39ff11d2004-10-12 15:55:19 +00001152004-10-12 Hasso Tepper <hasso at quagga.net>
116
117 * zebra_vty.c: Unbreak "show ip route" command help and make it work
118 for isis routes.
hasso39db97e2004-10-12 20:50:58 +0000119 * interface.c(if_dump_vty): Show IPv6 addresses in "show interface"
120 output. Fixes Bugzilla #119.
121 * *.c: Make some strings const and some (unsigned) casts to fix
122 compiler warnings.
hasso39ff11d2004-10-12 15:55:19 +0000123
hassofce954f2004-10-07 20:29:24 +00001242004-10-07 Hasso Tepper <hasso at quagga.net>
125
126 * connected.c, main.c, rt_netlink.c, rtadv.c, zebra_rib.c, zserv.c:
127 Fix warnings: make strings const, signed -> unsigned.
128
paul72164662004-10-05 14:39:43 +00001292004-10-05 Paul Jakma <paul@dishone.st>
130
131 * irdp_packet.c: (parse_irdp_packet) style issues.
132 Use sockopt_iphdrincl_swab_systoh.
133 Try unbork the code. Checksum the ICMP data and actually
134 compare it to received checksum. Check data length against
135 claimed length in header.
136 Always use ntoh.. when accessing addresses, even when the
137 comparison happens to be endian-safe.
138 (send_packet) minor style isues. Use
139 sockopt_iphdrincl_swab_htosys.
140 (irdp_iph_hton/ntoh) IP header to/from network/host order.
141
hassoeef1fe12004-10-03 18:46:08 +00001422004-10-03 Gilad Arnold <gilad.arnold at terayon.com>
143
144 * interface.c, interface.h: A new prefix tree of connected subnets is
145 associated with each interface structure in zebra, in which each
146 live (ie, non-synthetic) node holds a list of installed addresses
147 that belong to that prefix. Remove secondary address logic from cli.
148 See [quagga-dev 872] for detailed explanation.
149 * connected.c: Use if_subnet_add() and if_subnet_delete().
150
hasso18a6dce2004-10-03 18:18:34 +00001512004-10-03 James R. Leu <jleu at mindspring.com>
152
153 * router-id.c, router-id.h: New files. Router id selection process. If
154 there is non 127.x.x.x address in loopack interface, lowest of them
155 is chosen. If there isn't, lowest from other interfaces addresses
156 are chosen. "router-id x.x.x.x" vty command to manual override.
157 * Makefile.am: Compile new files.
158 * main.c: Initialize router id.
159 * redistribute.c: Add interface addresses into router id selection
160 lists as they (dis)appear.
161 * zserv.c, zserv.h: Sending router id related messages to daemons.
162
hassoc9e52be2004-09-26 16:09:34 +00001632004-09-26 Hasso Tepper <hasso at quagga.net>
164
165 * irdp_interface.c, irdp_main.c, irdp_packet.c, rt_netlink.c,
166 rtadv.c, zebra_vty.c: Fix compiler warnings.
167
paul0c0f9112004-09-24 08:24:42 +00001682004-09-24 Paul Jakma <paul@dishone.st>
169
paul26f7a242004-09-24 08:45:10 +0000170 * irdp_interface.c: (no_ip_irdp_address_preference_cmd)
171 add missing listnode declaration.
172
1732004-09-24 Paul Jakma <paul@dishone.st>
174
paul0c0f9112004-09-24 08:24:42 +0000175 * irdp_{interface,main}.c: lists typedef removal cleanup.
176 update some list loops to LIST_LOOP. some miscellaneous style
177 and indent fixups.
178 (no_ip_irdp_address_preference_cmd) Fix delete of referenced node
paul26f7a242004-09-24 08:45:10 +0000179 in loop.
paul0c0f9112004-09-24 08:24:42 +0000180 * irdp_packet.c: (irdp_recvmsg) Fix buggy assignment of integer
181 to pointer.
182 * if_ioctl{,_solaris}.c: lists typedef removal cleanup.
183 update some list loops to LIST_LOOP.
184
hasso52dc7ee2004-09-23 19:18:23 +00001852004-09-23 Hasso Tepper <hasso at quagga.net>
186
187 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
188
paul44983cf2004-09-22 13:15:58 +00001892004-09-22 Paul Jakma <paul.jakma@sun.com>
190
191 * zserv.c: (zsend_route_multipath) fix nasty bad memset of struct
192 in_addr to sizeof(struct in6_addr), causing odd and hard to debug
193 crash.
194
hassoc34b6b52004-08-31 13:41:49 +00001952004-08-31 Hasso Tepper <hasso at quagga.net>
196
197 * main.c, rt_netlink.c: Added -s command line switch for tuning
198 netlink receive buffer size in Linux to avoid buffer overruns.
199
gdta5ea6872004-08-26 13:24:00 +00002002004-08-26 Miles Nordin <carton@Ivy.NET>
201
202 * ipforward_sysctl.c (mib_ipv6): Use size_t for len, per
203 sysctl(3), rather than int. (Needed on NetBSD/alpha to display
204 forwarding status correctly.)
205
paul3e0b3a52004-08-23 18:58:32 +00002062004-08-23 Paul Jakma <paul@dishone.st>
207
208 * zserv.c: (zebra_init) remove implicit ip forward enabling
209
paul0de1cde2004-08-19 04:45:33 +00002102004-08-19 Paul Jakma <paul@dishone.st>
211
212 * irdp_main.c: update to match sockopt renames.
213 * irdp_packet.c: include sockopt.h and update to match sockopt
214 renames.
215
gdt57492d52004-08-11 18:06:38 +00002162004-08-11 Greg Troxel <gdt@fnord.ir.bbn.com>
217
218 * rtadv.c (rtadv_send_packet): Allocate space for control messages
219 more carefully; it was wrong on NetBSD/sparc where CMSG alignment
220 is to 8 bytes instead of 4, and overwriting the address. Use the
221 provided macros for determining lengths.
222
paul5b73a672004-07-23 15:26:14 +00002232004-07-23 Sowmini Varadhan <Sowmini.Varadhan@Sun.COM>
224
225 * if_ioctl_solaris.c: HAVE_IPV6 ifdef fixups
226 * zserv.c: ditto
227 * ioctl_solaris.c: ditto.
228 * interface.c: cast for LLADDR
229 * interface.h: Add guards, include redistribute.h and remove
230 extraneous definitions of zebra_interface_{up,down}_update
231 * ioctl.h: Add AF_IOCTL define for non SOLARIS_IPV6
232 * redistribute.h: include dependent header, zserv.h
233 * zserv.h: include dependent header, rib.h
234
paul1470baf2004-07-23 15:25:01 +00002352004-07-23 Paul Jakma <paul@dishone.st>
236
237 * irdp_main.c: use setsockopt_pktinfo_ipv4
238 * irdp_packet.c: use SOPT_SIZE_CMSG_PKTINFO_IPV4 and
239 getsockopt_pktinfo_ifindex()
240
gdtcced60d2004-07-13 16:45:54 +00002412004-07-13 David Wiggins <dwiggins@bbn.com
242
243 * kernel_socket.c (rtm_flag_dump): terminate buffer with '\0', not '0'.
244
hasso25dac852004-07-13 03:06:51 +00002452004-07-13 Hasso Tepper <hasso@estpak.ee>
246
247 * irdp_main.c: Add privilege change.
248
hasso996933f2004-07-12 16:32:56 +00002492004-07-12 Hasso Tepper <hasso@estpak.ee>
250
251 * irdp_interface.c: follow common style while naming vty command
252 functions. Avoids confusion in extract.pl.
253
gdt87efd642004-06-30 17:36:11 +00002542004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
255
256 * main.c: define thread_master variable so that linking with
257 libzebra.so doesn't fail. Arguably zclient.o should be in a
258 separate library, but this is far less disruptive.
259
hassoca776982004-06-12 14:33:05 +00002602004-06-12 Robert Olsson <Robert.Olsson at data.slu.se>
261
262 * Added IRDP support.
263
hasso3e31cde2004-05-18 11:58:59 +00002642004-05-18 Hasso Tepper <hasso@estpak.ee>
265
266 * rtadv.c: Removed "[no] ipv6 nd send-ra" command. Replaced "ipv6 nd
267 prefix-advertisement" with "ipv6 nd prefix". Rewrite syntax of
268 "ipv6 nd prefix" command to allow various combinations of parameters
269 and flags. No defaults in configuration. Replaced on-link and
270 autoconfig with off-link and no-autoconfig flags in command syntax.
271 Cosmetic fixes in all commands. Documentation to reflect all changes.
272
paul19877dd2004-05-11 10:49:35 +00002732004-05-11 Paul Jakma <paul@dishone.st>
274
275 * Makefile.am: support for IOCTL_METHOD, as per Sowmini's patch.
paul48a46fa2004-05-11 10:55:22 +0000276 * if_ioctl_solaris.c: Fixup some erroneous privilege changes and
277 add privs.h header.
278 * ioctl_solaris.c: ditto
paulc50ae8b2004-05-11 11:31:07 +0000279 * ioctl.h: Add if_ioctl_ipv6 prototype and AF_IOCTL for SOLARIS_IPV6
280 * kernel_socket.c: Fix SAROUNDUP, compiler doesnt like do..while
281 RHS in assignments :)
282 * redistribute.c: (zebra_interface_delete_update) only used
283 if RTM_IFANNOUNCE and NETLINK is available.
284
paulb9df2d22004-05-09 09:09:59 +00002852004-05-09 Paul Jakma <paul@dishone.st>
286
287 * zserv.c: (zsend_route_multipath) Set the nexthop_num
288 field correctly. Add NEXTHOP_TYPE_IPV6_IFNAME for v6.
289 Conditionally set ZAPI_MESSAGE_METRIC flag - only for adds.
290 (zsend_ipv4_add) cruft, deleted.
291 (zsend_ipv4_delete) ditto.
292 (zsend_ipv6_add) ditto.
293 (zsend_ipv6_delete) ditto.
paul44145db2004-05-09 11:00:23 +0000294 * ioctl.c: (if_get_mtu) set mtu6 to mtu
295 * mtu_kvm.c: (if_kvm_get_mtu) set mtu6 to mtu
296 * rt_netlink.c: (netlink_interface) set mtu6 to mtu
297 (netlink_link_change) ditto
paul66e94882004-05-09 17:19:24 +0000298 * ipforward_solaris.c: fix typo of ND variable.
paul88424682004-05-09 18:21:35 +0000299 * if_ioctl_solaris.c: Add zprivs support.
300 * ioctl_solaris.c: ditto.
paul66e94882004-05-09 17:19:24 +0000301
paulb9df2d22004-05-09 09:09:59 +00003022004-05-09 Sowmini Varadhan <sowmini.varadhan@sun.com>
303
304 * zserv.c: (zsend_ipv{4,6}_{add,delete}_multipath) collapsed
305 into single zsend_route_multipath function.
306 (zsend_interface_{up,down}) collapsed into zsend_interface_update.
307 (zsend_interface_address_{add,delete}) collapsed into
308 zsend_interface_address.
309 (zsend_interface_add) send mtu6.
310 (zsend_interface_delete) ditto.
311 (zebra_write) remove unused function.
312 (various) Apply static qualifier. Add comments.
313 * zserv.h: Definitions changed as per above.
314 * redistribute.c: Changes as per zserv.c.
paul44145db2004-05-09 11:00:23 +0000315 * interface.c: (if_delete_update) only used with HAVE_NETLINK
316 and RTM_IFANNOUNCE.
317 (if_flag_dump_vty) Solaris IFF_IPV4 and IFF_IPV6 if flags
318 (if_dump_vty) print mtu6 if not same as mtu
paul88424682004-05-09 18:21:35 +0000319 * if_ioctl_solaris.c: New file, Solaris interface ioctl methods.
320 * ioctl_solaris.c: New file, Common solaris ioctl methods.
321
hasso34195bf2004-04-06 12:07:06 +00003222004-04-06 Krzysztof Oledzki <oleq@ans.pl>
323
324 * rt_netlink.c: Do not ignore metric when reading kernel routing
325 table on Linux with rt_netlink interface.
326
3272004-03-18 Hasso Tepper <hasso@estpak.ee>
hassof1d92e12004-03-18 15:40:33 +0000328
329 * interface.c: Temporary fix for handling secondary addresses
330 with label.
331
hasso55906722004-02-11 22:42:16 +00003322004-02-12 Hasso Tepper <hasso@estpak.ee>
hassof1d92e12004-03-18 15:40:33 +0000333
hasso55906722004-02-11 22:42:16 +0000334 * zserv.c: Added "ipv6 forwarding" command.
335
gdtb27900b2004-01-08 15:44:29 +00003362004-01-08 Greg Troxel <gdt@fnord.ir.bbn.com>
337
338 * kernel_socket.c (kernel_read): Use sockaddr_storage in buffer
339 for reading kernel messages to ensure enough space (necessary on
340 Solaris due to sockaddr_dl being large). Thanks to Sowmini
341 Varadhan for help with this change.
342
gdt9ccabd12004-01-06 18:23:02 +00003432004-01-06 Greg Troxel <gdt@t1.ir.bbn.com>
344
345 * rtadv.c (rtadv_send_packet): Change perror to zlog_err.
346
gdtdbee01f2004-01-06 00:36:51 +00003472004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
gdt4bfbea82004-01-06 01:13:05 +0000348 * kernel_socket.c (ifm_read): Major cleanup. Use Sowmini's code
349 to find the sockaddr_dl in all cases, narrowing the Solaris ifdef
350 to just the accomodation of broken kernels. Check sockaddr_dl
351 carefully up front, and later assume any non-NULL sdl pointer is
352 valid. Clean up types and variable declarations, and rename
353 WRAPUP to SAROUNDUP to make the name fit the behavior.
354
3552004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
gdtdbee01f2004-01-06 00:36:51 +0000356
357 * kernel_socket.c (kernel_read): Add a sockaddr_dl to the ifmsg
358 structure, because on Solaris sockaddr_dl is far larger than the
359 base sockaddr structure. (The code had previously been failing to
360 read all the data.)
gdt4bfbea82004-01-06 01:13:05 +0000361
gdtda26e3b2004-01-05 17:20:59 +00003622004-01-05 Greg Troxel <gdt@ahi.ir.bbn.com>
363
364 * kernel_socket.c (kernel_read): Look up interfaces by index
365 first, so that state changes which do not include a sockaddr_dl
366 now work. Add many sanity checks. In
367 particular, do not assume that a sockaddr_dl follows a message
368 without checking the ifm_addrs flags, and do not trust the length
369 in a sockaddr_dl. Add/clarify many comments.
370
gdt4b5e1352003-12-03 17:54:34 +00003712003-12-03 Greg Troxel <gdt@poblano.ir.bbn.com>
372
373 * rtadv.c: reorder includes to avoid compiler warning (define
374 structs before using them in prototypes)
375
hasso647e4f12003-05-25 11:43:52 +00003762003-05-25 Jim Crumpler <Jim.Crumpler@edion.com>
377
378 * zserv.c: Add "ip forwarding" command.
379
paul445f1432003-05-16 19:00:31 +00003802003-05-16 Gilad Arnold <gilad.arnold@terayon.com>
381
382 * zebra_rib.c: Fix memory leaks for ifname nexthops
383
3842003-04-19 Israel Keys <ikeys@agile.tv>
385
386 * rt_netlink.c: BLOCK on netlink while initialising
387
3882003-02-06 Francois Deppierraz <francois@ctrlaltdel.ch>
389
390 * rt_netlink.c (netlink_route_multipath): Set RTM_F_EQUALIZE when
391 it exists.
392
paul718e3742002-12-13 20:15:29 +00003932002-09-28 Akihiro Mizutani <mizutani@net-chef.net>
394
395 * zebra_rib.c (static_add_ipv4): Null0 static route is added.
396
3972002-09-10 Jochen Friedrich <chris+zebra@scram.de>
398
399 * rt_netlink.c: Add check for EAGAIN.
400 * kernel_socket.c: Likewise
401
4022002-06-12 Israel Keys <ikeys@oz.agile.tv>
403
404 * rt_netlink.c: Setting the NLM_F_ACK flag on the netlink command
405 message so that we get an ACK for successful netlink commands.
406 Change the netlink socket to BLOCKING while we wait for a
407 response; be it an ACK or an NLMSG_ERROR. Change
408 netlink_parse_info to deal with ACK messages.
409
4102001-11-01 Jun-ichiro itojun Hagino <itojun@iijlab.net>
411
412 * rtadv.c (rtadv_make_socket): setsockopt(IPV6_CHECKSUM) does not
413 work for ICMPv6 socket.
414
4152001-10-24 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
416
417 * rib.c (rib_process): Select connected route any case.
418
4192001-10-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
420
421 * interface.c (no_ip_address_secondary): Add "no" to command.
422
4232001-10-18 NOGUCHI Kay <kay@v6.access.co.jp>
424
425 * ioctl.c (if_prefix_add_ipv6): Set the prefered and valid lifetime
426 to infinity as the freebsd4.4 workaroud.
427
4282001-08-26 mihail.balikov@interbgc.com
429
430 * zebra_snmp.c: Fix snmpwalk problem such as IPv4 address
431 A.B.C.255.
432
4332001-08-22 NOGUCHI Kay <kay@v6.access.co.jp>
434
435 * rtadv.c: Do not send RA to loopback interface.
436
4372001-08-20 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
438
439 * ioctl.c (if_set_prefix): Remove Linux 2.0 specific connected
440 route treatment.
441
4422001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
443
444 * zebra-0.92a released.
445
4462001-08-17 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
447
448 * rib.c: Kernel route is treated as EGP routes in nexthop active
449 check.
450
4512001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
452
453 * zebra-0.92 released.
454
4552001-08-08 "Akihiro Mizutani" <mizutani@dml.com>
456
457 * rib.c (show_ip_route_prefix_longer): Add longer-prefix option to
458 show route commands.
459
4602001-07-29 Yon Uriarte <havanna_moon@gmx.net>
461
462 * zserv.c (zsend_ipv4_add_multipath): Add
463 NEXTHOP_TYPE_IPV4_IFINDEX check.
464
4652001-07-29 NOGUCHI Kay <kay@v6.access.co.jp>
466
467 * rtadv.c: Apply valid lifetime, preferred lifetime, onilnk flag,
468 autonomous address-configuration flag patch.
469 (no_ipv6_nd_suppress_ra): Change "ipv6 nd send-ra" to "no ipv6 nd
470 suppress-ra".
471
4722001-07-24 NOGUCHI Kay <kay@v6.access.co.jp>
473
474 * rtadv.c (ipv6_nd_ra_interval): Add "ipv6 nd ra-interval SECONDS"
475 command.
476
4772001-07-24 Jun-ichiro itojun Hagino <itojun@iijlab.net>
478
479 * rt_socket.c (kernel_rtm_ipv4): Add KAME/NetBSD151 equal cost
480 multicast FIB support both IPv4 and IPv6.
481
4822001-07-24 Hal Snyder <hal@vailsys.com>
483
484 * if_ioctl.c (interface_list_ioctl): Fix bug of failing to get the
485 full list of interfaces on some configurations of OpenBSD.
486
4872001-07-23 NOGUCHI Kay <kay@v6.access.co.jp>
488
489 * rtadv.c (ipv6_nd_send_ra): Apply [zebra 9320] to fix "ipv6 nd
490 send-ra" bug.
491 (ipv6_nd_ra_lifetime): "ipv6 nd ra-lifetime 0" for default router
492 availability.
493 (ipv6_nd_managed_config_flag): "ipv6 nd managed-config-flag" is
494 added.
495 (ipv6_nd_other_config_flag): "ipv6 nd other-config-flag" is added.
496
4972001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
498
499 * ioctl.c (if_ioctl): Change ioctl argument from int to u_long.
500
501 * rt_ioctl.c: Likewise.
502
5032001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
504
505 * kernel_socket.c (rtm_write): Only set RTF_CLONING when the
506 interface is not p2p.
507
5082001-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
509
510 * ioctl.c (if_prefix_add_ipv6): Fix argument type.
511
5122001-04-06 Toshiaki Takada <takada@zebra.org>
513
514 * zserv.c (zsend_interface_delete): Use client->obuf instead of
515 allocating new stream.
516
5172001-03-10 Kunihiro Ishiguro <kunihiro@zebra.org>
518
519 * rt_netlink.c: Revert RTPROT_BOOT change.
520
5212001-03-08 Kunihiro Ishiguro <kunihiro@zebra.org>
522
523 * rt_netlink.c (netlink_route_change): Skip RTPROT_BOOT route.
524 (netlink_routing_table): Likewise.
525
5262001-03-07 "Akihiro Mizutani" <mizutani@dml.com>
527
528 * zserv.c (zsend_ipv4_add_multipath): Send metric value to
529 protocol daemons.
530
5312001-02-18 Kunihiro Ishiguro <kunihiro@zebra.org>
532
533 * rt_netlink.c (netlink_routing_table): Do not return
534 tb[RTA_GATEWAY] is NULL. Reported by: "Michael O'Keefe"
535 <mokeefe@qualcomm.com>.
536
5372001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
538
539 * if_ioctl.c (interface_list_ioctl): Call if_add_update().
540 Suggested by: Chris Dunlop <chris@onthe.net.au>.
541
5422001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
543
544 * rib.c (nexthop_active_ipv4): When nexthop type is
545 NEXTHOP_TYPE_IPV4_IFINDEX, propery set the ifindex to rifindex.
546
547 * zserv.c: Initialize rtm_table_default with 0.
548
549 * zebra-0.91 is released.
550
5512001-01-31 Kunihiro Ishiguro <kunihiro@zebra.org>
552
553 * kernel_socket.c (rtm_read): Filter cloned route. Suggested by:
554 Jun-ichiro itojun Hagino <itojun@iijlab.net>
555
5562001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
557
558 * connected.c (connected_up_ipv6): When point-to-point destination
559 address is ::, use local address for connected network.
560 (connected_down_ipv6): Likewise.
561
5622001-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
563
564 * zserv.c (zebra_serv): Add missing close() call. Reported by:
565 David Waitzman <djw@vineyard.net>.
566
5672001-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
568
569 * rib.c (rib_lookup_ipv4): New function for checking exact match
570 IGP route.
571
5722001-01-23 Kunihiro Ishiguro <kunihiro@zebra.org>
573
574 * rib.c (show_ipv6_route_protocol): Fix bug of "show ip route
575 route-type".
576
5772001-01-22 Kunihiro Ishiguro <kunihiro@zebra.org>
578
579 * interface.c (zebra_interface): Do not call
580 zebra_interface_add_update for inactive interface.
581
582 * zserv.c (zsend_interface_address_add): Send interface address
583 flag.
584 (zsend_interface_address_delete): Likewise.
585
5862001-01-19 Kunihiro Ishiguro <kunihiro@zebra.org>
587
588 * interface.c (if_addr_add): Add flags.
589
590 * connected.c (ifa_add_ipv4): Add new function for interface
591 address handling.
592 (ifa_delete_ipv4): Likewise.
593
5942001-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
595
596 * rib.c (rib_update): Update IPv6 RIB.
597
598 * kernel_socket.c (ifam_read): Call if_refresh() for update
599 interface flag status. This is for implicit interface up on *BSD.
600
601 * interface.c (if_refresh): Add interface flag refresh function.
602
603 * kernel_socket.c (rtm_read): Fetch link-local address interface
604 index.
605 (ifan_read): We need to fetch interface information. Suggested
606 by: Yasuhiro Ohara <yasu@sfc.wide.ad.jp>.
607
608 * rib.c (static_ipv6_nexthop_same): Add check for
609 NEXTHOP_TYPE_IPV6_IFNAME.
610
6112001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
612
613 * rib.h (NEW_RIB): Turn on NEW_RIB flag. IPv6 new RIB code are
614 taken into place.
615
6162001-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
617
618 * rib.c (static_ipv6_write): Display STATIC_IPV6_GATEWAY_IFNAME
619 configuration.
620 (rib_delete_ipv6): Handle same route conter for IPv6 connected
621 route.
622 (show_ipv6_route_protocol): New command.
623 (show_ipv6_route_addr): Likewise.
624 (show_ipv6_route_prefix): Likewise.
625 (rib_update): Sweep kernel route when it is cleaned up.
626
627 * rt_socket.c (kernel_add_ipv6): Add NEXTHOP_IPV6_IFNAME
628 treatmenet.
629
630 * rt_netlink.c (kernel_init): Likewise.
631
632 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): Likewise.
633
634 * rib.c (rib_add_ipv4): Cope with same connected route on a
635 interface. Suggested by: Matthew Grant <grantma@anathoth.gen.nz>.
636 (nexthop_ipv6_ifname_add): Add NEXTHOP_IPV6_IFNAME treatmenet.
637
638 * rib.h (struct new_rib): Add refcnt to keep track on the
639 reference of same connected route.
640
641 * ioctl.c (if_set_prefix): Add check for GNU_LINUX.
642
6432001-01-13 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
644
645 * kernel_socket.c (ifan_read, rtm_type_str): Add RTM_OIFINFO check.
646 (rtm_type_str): Add RTM_IFANNOUNCE check.
647 (ifan_read): New function.
648 (kernel_read): Add case for RTM_IFANNOUNCE.
649
6502001-01-13 Kunihiro Ishiguro <kunihiro@zebra.org>
651
652 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): New function.
653
654 * rt_netlink.c (netlink_route_multipath): IPv6 address ifindex
655 treatment.
656
657 * connected.c (connected_up_ipv6): Add dest value check.
658
659 * rib.c (nexthop_active_ipv6): Do not touch IPv6 nexthop's
660 ifindex.
661 (rib_add_ipv4): Import rib_add_ipv6() same route check code.
662 (nexthop_active_check): NEXTHOP_TYPE_IPV6_IFINDEX activity is only
663 checked by ifindex.
664
665 * rt_socket.c (kernel_rtm_ipv6_multipath): New function.
666
667 * redistribute.c (redistribute_add): Use
668 zsend_ipv6_add_multipath().
669 (redistribute_delete_multipath): Use
670 zsend_ipv6_delete_multipath().
671
672 * interface.c (ip_address): Check current IP address to avoid
673 duplicate.
674
675 * rib.c (rib_delete_ipv4): When deleted route is connected route,
676 check ifindex.
677 (rib_add_ipv4): When connected route is added do not perform
678 implicit withdraw.
679 (rib_delete_ipv4): Check ifindex for connected route.
680
681 * kernel_socket.c (rtm_read): When route has RTF_STATIC, set
682 ZEBRA_FLAG_STATIC for indicate as persistent route.
683 (ifam_read): Unset interface index from link-local address when
684 IPv6 stack is KAME.
685
686 * rib.c (rib_update): Do not delete persistent kernel route.
687
688 * rib.h (struct new_rib): Integrate RIB_FLAG_* to ZEBRA_FLAG_*.
689
690 * rt_socket.c (kernel_add_ipv6_multipath): Add placeholder.
691 (kernel_delete_ipv6_multipath): Likewise.
692
693 * rt_netlink.c (netlink_talk): Give struct nlsock to netlink_talk.
694
6952001-01-12 Kunihiro Ishiguro <kunihiro@zebra.org>
696
697 * rib.c (rib_update): Revert Matthew Grant's patch
698 zebra_cvs_newribfix.patch. Use struct rib->ifindex for kernel
699 interface index. Introduce NEXTHOP_TYPE_IPV4_IFINDEX to support
700 that. Add support for address deletion situation.
701
7022001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
703
704 * interface.c: Remove HAVE_IF_PSEUDO part.
705
706 * rib.h: Likewise.
707
708 * rt_netlink.c (netlink_link_change): Likewise.
709
7102001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
711
712 * zserv.c: Remove OLD_RIB codes.
713
7142001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
715
716 * zebra-0.90 is released.
717
7182001-01-09 Matthew Grant <grantma@anathoth.gen.nz>
719
720 * interface.c (if_new_intern_ifindex): Allocate a new internal
721 interface index.
722 (if_addr_refresh): Fix up ip addresses configured via zebra.
723 (if_add_update): Handle an interface addition.
724 (if_delete_update): Handle an interface delete event.
725
726 * rib.c (nexthop_ipv4_add): Add kernel route deletion process when
727 interface goes down.
728
7292001-01-08 Kunihiro Ishiguro <kunihiro@zebra.org>
730
731 * interface.c (if_dump_vty): When HAVE_NET_RT_IFLIST is defined,
732 NetBSD also use this function. Suggested by Jasper Wallace
733 <jasper@ivision.co.uk>.
734
7352001-01-07 Kunihiro Ishiguro <kunihiro@zebra.org>
736
737 * rib.c (nexthop_active_ipv4): Move back to set methodo to old
738 one.
739
7402001-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
741
742 * rib.c (rib_add_ipv4): EBGP multihop set ZEBRA_FLAG_INTERNAL
743 flag, so treat it.
744
7452001-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
746
747 * rt_netlink.c (netlink_talk_ipv6): When IPv6 route message is
748 sent from netlink_cmd, the same message comes from netlink. To
749 avoid confusion, temporary netlink_talk_ipv6 use netlink.sock
750 instead of netlink_cmd.sock.
751
7522001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
753
754 * zserv.h (ZEBRA_SERV_PATH): Change "/tmp/zebra" to "/tmp/.zebra".
755 Change "/tmp/zserv" to "/tmp/.zserv".
756
7572000-12-29 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
758
759 * rt_netlink.c (struct nlsock): Divide kernel message into listen
760 socket and command socket.
761 (netlink_talk): Remove socket listen code. Use netlink_parse_info
762 for read kernel response.
763
7642000-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
765
766 * rib.c (vty_show_ip_route): Show uptime of the RIP,OSPF,BGP
767 routes.
768
7692000-12-27 Kunihiro Ishiguro <kunihiro@zebra.org>
770
771 * rt_netlink.c (netlink_route_multipath): Metric value is
772 reflected to kernel routing table.
773
774 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Likewise.
775
776 * kernel_socket.c (rtm_write): Likewise.
777
778 * rib.c (nexthop_active_ipv4): Only iBGP route perform recursive
779 nexthop lookup.
780
781 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Add ioctl version of
782 new RIB implementation.
783
7842000-12-26 Kunihiro Ishiguro <kunihiro@zebra.org>
785
786 * rib.h: Remove MULTIPATH_NUM. It is defined by configure script.
787
7882000-12-25 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
789
790 * rib.c (rib_if_up): Call rib_fib_set instead of RIB_FIB_SET for
791 proper redistribution.
792
7932000-12-19 Kunihiro Ishiguro <kunihiro@zebra.org>
794
795 * rib.c (nexthop_active_ipv4): Add self lookup nexthop check.
796 (show_ip_route_protocol): Support new RIB.
797
798 * rt_netlink.c (netlink_route_change): Do not return when gate is
799 NULL.
800
8012000-12-18 Kunihiro Ishiguro <kunihiro@zebra.org>
802
803 * rib.c (rib_lookup_ipv4_nexthop): IBGP nexthop check function is
804 updated.
805 (rib_add_ipv4): Free implicit withdraw route's RIB.
806
8072000-12-15 Kunihiro Ishiguro <kunihiro@zebra.org>
808
809 * rib.c (nexthop_active_ipv4): Check indirect nexthop.
810
811 * redistribute.c (redistribute_add_multipath): Redistribution
812 works with new rib code.
813
8142000-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
815
816 * rt_netlink.c (netlink_route_multipath): Check useful nexthop
817 number.
818 (netlink_route_multipath): Clear rtnh_flags and rtnh_hops.
819
820 * rib.c (nexthop_active_update): Set flag for the rib's nexthop
821 activity is changed.
822 (nexthop_active_check): Before checking interface is up, make it
823 sure the interface exist.
824
8252000-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
826
827 * rib.c (ip_route): New RIB prototype.
828
8292000-11-16 Yon Uriarte <ukl2@rz.uni-karlsruhe.de>
830
831 * zserv.c (zsend_interface_add): Send hardware address when
832 hw_addr_len is greater than 0.
833
8342000-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
835
836 * connected.c (connected_up_ipv4): Fix ptop bug. The destination
837 network should be installed into routing table.
838 (connected_down_ipv4): Likewise.
839 (connected_add_ipv4): Change to use connected_up_ipv4.
840 (connected_delete_ipv4): Likewise.
841
8422000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
843
844 * rt_netlink.c (netlink_interface_addr): Revert Harald Welte
845 <laforge@gnumonks.org>'s ptop patch then back to original code to
846 avoid duplicated connected route problem. Suggested by Frank van
847 Maarseveen <F.vanMaarseveen@inter.NL.net>.
848
849 * kernel_socket.c (rtm_read): Make behavior consistent even #ifdef
850 DEBUG is defined. Reported by Jun-ichiro itojun Hagino
851 <itojun@iijlab.net>.
852
8532000-10-23 Jochen Friedrich <jochen@scram.de>
854
855 * main.c (main): Call zebra_snmp_init() when it is enabled.
856
8572000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org>
858
859 * zserv.c (zebra_serv_un): UNIX domain socket server of zebra
860 protocol.
861
8622000-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
863
864 * rib.c (rib_add_ipv4): Same check bug is fixed.
865
8662000-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
867
868 * rib.c (rib_if_down): Remove kernel route when the interface goes
869 down.
870
871 * debug.c: New command "debug zebra kernel" is added.
872
8732000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
874
875 * zebra-0.89 is released.
876
8772000-09-24 Harald Welte <laforge@gnumonks.org>
878
879 * rt_netlink.c (netlink_interface_addr): Fix point-to-point address
880 treatment in netlink interface.
881
8822000-09-21 David Lipovkov <dlipovkov@OpticalAccess.com>
883
884 * rib.c (rib_if_down): Pull static route only. Protocol daemon
885 must withdraw routes when interface goes down.
886 (rib_add_ipv4): Check nexthop when replace route.
887
8882000-09-21 Kunihiro Ishiguro <kunihiro@zebra.org>
889
890 * if_ioctl.c (if_getaddrs): New function for looking up
891 interface's address by getifaddrs().
892
8932000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
894
895 * connected.c (connected_delete_ipv4): Add check for connected
896 address is found or not.
897 (connected_add_ipv6): Reflect IPv6 connected address change to
898 protocol daemons.
899 (connected_delete_ipv6): Likewise.
900
9012000-09-07 David Lipovkov <davidl@nbase.co.il>
902
903 * rib.c (rib_delete_ipv4): Reverted the change from pseudo
904 interface patch to original. Because ospfd deletes routes using
905 zero ifindex.
906
9072000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
908
909 * zebra-0.88 is released.
910
9112000-08-15 "Akihiro Mizutani" <mizutani@dml.com>
912
913 * rib.c (show_ip_route_protocol): Help string correction.
914 (show_ip_route_prefix): Check prefix mask.
915 (show_ip_route_vty_detail): Display distance and metric.
916
9172000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
918
919 * zserv.c (zsend_interface_add): Change ifindex store size from
920 two octet to four.
921 (zsend_interface_delete): Likewise.
922 (zsend_interface_address_add): Likewise.
923 (zsend_interface_address_delete): Likewise.
924 (zsend_interface_up): Likewise.
925 (zsend_interface_down): Likewise.
926
9272000-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
928
929 * rib.c (rib_add_ipv4): Do not install distance 255 route.
930
9312000-08-10 Toshiaki Takada <takada@zebra.org>
932
933 * interface.c (bandwidth_if), (no_bandwidth_if): Call
934 zebra_interface_up_update () instead of using if_up() and if_down().
935
9362000-08-07 "Akihiro Mizutani" <mizutani@dml.com>
937
938 * interface.c (bandwidth_if): Fix help string.
939
9402000-08-07 Matthew Grant <grantma@anathoth.gen.nz>
941
942 * interface.c (if_dump_vty): Display bandwidth value.
943 (bandwidth_if): New command "bandwidth <1-10000000>" is added.
944 When interface is up, force protocol daemons to recalculate routes
945 due to cost change.
946 (no_bandwidth_if): Likewise.
947 (if_config_write): Output bandwidth configuration.
948
949 * zserv.c (zsend_interface_add): Send bandwidth value.
950 (zsend_interface_up): Likewise.
951 (zsend_interface_down): Likewise.
952
953
9542000-08-07 Michael Rozhavsky <mike@nbase.co.il>
955
956 * rib.c (show_ip_route_protocol): "show ip route
957 (bgp|connected|kernel|ospf|rip|static)" is added.
958
9592000-08-07 Kunihiro Ishiguro <kunihiro@zebra.org>
960
961 * rib.c (rib_lookup_ipv4_nexthop): Check parent node until IGP
962 nexthop is found.
963 (rib_add_ipv4_internal): Set fib ifindex to rib ifindex.
964
9652000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
966
967 * redistribute.c (redistribute_delete): Fix bug of default route
968 redistribute treatment.
969
9702000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
971
972 * rib.c (rib_init): Install ip_node in rib.c instead of zserv.c.
973 Change default distance value.
974
975 Old New
976 ------------------------------------------
977 system 10 0
978 kernel 20 0
979 connected 30 0
980 static 40 1
981 rip 50 120
982 ripng 50 120
983 ospf 60 110
984 ospf6 49 110
985 bgp 70 200(iBGP) 20(eBGP)
986 ------------------------------------------
987
988 * zserv.c (client_lookup): Function removed.
989 (zsend_interface_add): Use client's output buffer. Check ifinfo
990 flag.
991 (zsend_interface_delete): Likewise.
992 Delete ipv4_static_radix and ipv6_static_radix.
993
9942000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
995
996 * zserv.h (struct zebra_client): When client request interface
997 information, ifinfo is set.
998
999 * rib.c: Temporary Revert changes for pseudo interface.
1000
1001 * rib.h: Likewise.
1002
1003 * zserv.c: Likewise.
1004
1005 * interface.c: Likewise.
1006
10072000-08-02 David Lipovkov <davidl@nbase.co.il>
1008
1009 * interface.c (zebra_if_init): Install interface "pseudo"
1010 commands.
1011
1012 * rib.c (rib_create): ifname argument is added.
1013 (rib_add_ipv4_pseudo): New function is added.
1014 (rib_delete_ipv4_pseudo): Likewise.
1015
1016 * rib.h : Delete INTERFACE_UNKNOWN definition. Add prototype for
1017 pseudo interface functions.
1018
1019 * rt_netlink.c (netlink_link_change): Check for pseudo interface.
1020
1021 * zserv.c (ip_route): When destination is pseudo interface, call
1022 rib_add_ipv4_pseudo().
1023
1024 * zserv.c (no_ip_route): Trim "unknown" argument.
1025
10262000-07-26 kunitake@dti.ad.jp
1027
1028 * if_ioctl.c (if_get_hwaddr): Fix hardware address length from 8
1029 to 6.
1030
1031 * rtadv.c (rtadv_send_packet): Fix shift bug for hardware address.
1032
10332000-07-24 Akihiro Mizutani <mizutani@dml.com>
1034
1035 * interface.c: Use install_default() for common VTY commands.
1036
10372000-07-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1038
1039 * if_ioctl.c (interface_list_ioctl): A interface list size is
1040 calculated from ifreq->if_addr.sa_len. This is for OpenBSD.
1041
1042 * ioctl.c (if_get_mtu): Remove codes for SIOCGIFDATA.
1043
10442000-07-09 Chris Dunlop <chris@onthe.net.au>
1045
1046 * if_ioctl.c (if_get_index): Add check for HAVE_BROKEN_ALIASES.
1047
10482000-07-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1049
1050 * zserv.c (zebra_client_read): Add ZEBRA_REDISTRIBUTE_{ADD,DELETE}
1051 message handling.
1052
10532000-07-02 David Lipovkov <davidl@nbase.co.il>
1054
1055 * zserv.c: "ip route A.B.C.D/M unknown" command is added.
1056
10572000-06-28 Michael Rozhavsky <mike@nbase.co.il>
1058
1059 * rib.c: Remove old kernel route when new route comes in.
1060
10612000-06-13 David Lipovkov <davidl@nbase.co.il>
1062
1063 * rib.c (rib_if_up): Add check for unknown interface.
1064
10652000-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1066
1067 * rib.h: Define INTERFACE_UNKNOWN.
1068
10692000-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1070
1071 * Makefile.am (EXTRA_DIST): Move irdp.c until implementation is
1072 finished.
1073
10742000-06-05 David Lipovkov <davidl@nbase.co.il>
1075
1076 * interface.c (if_zebra_delete_hook): Call rib_if_delete().
1077
1078 * redistribute.c (zebra_interface_delete_update): New function.
1079
1080 * redistribute.h (zebra_interface_delete_update): New function
1081 prototype.
1082
1083 * rib.c (rib_if_delete): New function. Walk down all routes and
1084 delete all on the interface.
1085
1086 * rib.h: New function prototype.
1087
1088 * rt_netlink.c (netlink_link_change): Call
1089 zebra_interface_delete_update ().
1090
10912000-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1092
1093 * if_ioctl.c (interface_info_ioctl): Check interface's flag before
1094 checking interface's address.
1095
10962000-04-26 Jochen Friedrich <jochen@nwe.de>
1097
1098 * GNOME-PRODUCT-ZEBRA-MIB: New file.
1099
1100 * GNOME-SMI: New file.
1101
11022000-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1103
1104 * irdp.c: New file from 1997 development code.
1105 * irdp.h: Likewise.
1106
11072000-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1108
1109 * rtadv.c (rtadv_send_packet): Enclose router advertisement
1110 logging with IS_ZEBRA_DEBUG_PACKET.
1111
11122000-04-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1113
1114 * zserv.c (zebra_client_close): Remove client structure from
1115 client_list when connection is terminated.
1116
11172000-03-21 David Lipovkov <davidl@nbase.co.il>
1118
1119 * connected.c (connected_add_ipv4): Allows all necessary structure
1120 updates for connected route, but doesn't insert it into rib if
1121 it's interface is down.
1122
11232000-01-21 Hideto Yamakawa <hideto.yamakawa@soliton.co.jp>
1124
1125 * rtread_getmsg.c: Set some definition for Solaris 2.5 and Solaris
1126 2.5.1.
1127
11282000-01-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1129
1130 * rib.c (no_ipv6_route_ifname): Fix buf of cheking return value
1131 from str2prefix_ipv6().
1132
11332000-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1134
1135 * rt_socket.c: Revert to use RTF_HOST for IPv4 with /32 route and
1136 IPv6 with /128 routes.
1137 (kernel_rtm_ipv4): In case of /32 route's gateway is interface. It
1138 should have mask for cloning.
1139
11401999-12-26 Jochen.Friedrich@genorz.de
1141
1142 * interface.c (if_dump_vty): Fix a bug of missing VTY_NEWLINE.
1143
11441999-12-23 Alex Zinin <zinin@amt.ru>
1145 * interface.*: dynamic int up/down support
1146
11471999-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1148
1149 * ipforward_proc.c (dropline): Move dropline() from lib/dropline.c
1150
1151 * rtread_proc.c (proc_route_read): Don't use dropline().
1152
11531999-12-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1154
1155 * kernel_socket.c (rtm_read): When message is RTM_GET, it has own
1156 process's pid.
1157
11581999-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1159
1160 * main.c (main): Change to default log output to ZLOG_STDOUT.
1161
1162 * zserv.c (zebra_serv): More detailed error print.
1163
11641999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1165
1166 * kernel_socket.c (rtm_read): Check old pid for static route
1167 insertion check.
1168
11691999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1170
1171 * interface.c (if_dump_vty): BSDI/OS uses 64bit for interface
1172 statistics counter.
1173
1174 * mtu_kvm.c: New file added.
1175
11761999-11-27 Vladimir B. Grebenschikov <vova@express.ru>
1177
1178 * kernel_socket.c (rtm_write): Set RTF_CLONING flag for
1179 route to the directly connected interface.
1180
11811999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1182
1183 * rt_socket.c: Delete USE_HOST_BIT definition.
1184
11851999-11-21 Michael Handler <handler@sub-rosa.com>
1186
1187 * rtread_getmsg.c: Undef some definition to resolve conflict.
1188
11891999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1190
1191 * kernel_socket.c (rtm_write): Change to use pre stored struct_dl
1192 value for gateway specification.
1193
11941999-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1195
1196 * rt_socket.c (kernel_rtm_ipv4): Even mask is 32 under IPv4 or
1197 128 under IPv6, don't use RTF_HOST.
1198
11991999-11-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1200
1201 * Makefile.am (EXTRA_DIST): Add rtread_getmsg.c.
1202
12031999-11-21 Michael Handler <handler@sub-rosa.com>
1204
1205 * rtread_getmsg.c: Added for Solaris 2.6 support.
1206
12071999-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1208
1209 * rtread_sysctl.c (rtm_read_route): RTM_DELETE handling added.
1210
1211 * rt_socket.c (kernel_read): Better BSD routing socket support.
1212
12131999-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1214
1215 * client_main.c: Disable making obsolete zebra test `client'
1216 command.
1217
12181999-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1219
1220 * zebra.c: Renamed to zserv.c.
1221
1222 * zebra.h: Global definitions are moved to lib/zebra.h. Then
1223 renamed to zserv.h.
1224
12251999-10-15 Jordan Mendelson <jordy@wserv.com>
1226
1227 * if_ioctl.c: Add Linux 2.2.X's alias support and dynamic
1228 interface. Remove ugly MAX_INTERFACE handling codes.
1229
12301999-09-17 Satosi KOBAYASI <kobayasi@north.ad.jp>
1231
1232 * Fix serious bug of IPv6 route deletion.
1233
12341999-09-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1235
1236 * ioctl.c (if_set_prefix): Properly set broadcast address.
1237
12381999-09-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1239
1240 * rib.c (rib_add_ipv6, rib_delete_ipv6): now protocol daemons
1241 can install connected route to kernel via zebra
1242
12431999-08-24 VOP <vop@unity.net>
1244
1245 * rib.c: Include "sockunion.h"
1246
12471999-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
1248
1249 * ipforward.h: New file.
1250
1251 * zebra.h: Obsolete message ZEBRA_GET_ALL_INTERFACE,
1252 ZEBRA_GET_ONE_INTERFACE, ZEBRA_GET_HOSTINFO are deleted.
1253
12541999-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1255
1256 * zebra.h (ZEBRA_INTERFACE_ADDRESS_ADD):
1257 ZEBRA_INTERFACE_{ADD,DELETE} added.
1258
12591999-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1260
1261 * rib.c: show ip route A.B.C.D works.
1262
1263 * zebra.c (zebra_read_ipv4): Add ifindex to zebra messages.
1264
12651999-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1266
1267 * zebra.h: New Zebra message ZEBRA_INTERFACE_{ADD,DELETE} added.
1268
12691999-08-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1270
1271 * interface.h: New file.
1272 * Makefile.am: Add interface.h
1273
12741999-08-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1275
1276 * redistribute.c (zebra_redistribute): give ifindex to client.
1277
12781999-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1279
1280 * main.c (longopts): -k, --keep_kernel option added.
1281
12821999-07-18 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1283
1284 * rt_socket.c (rtm_write): forgot closing socket bug fixed.
1285
12861999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1287
1288 * rib.c (show_ipv6_cmd): if rib is link show interface name.
1289
12901999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1291
1292 * rt_socket.c (rtm_write): use sockaddr_dl when null gateway.
1293
12941999-07-16 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1295
1296 * rt_socket.c (rtm_write): ipv6 route table bug fixed.
1297
12981999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1299
1300 * zebra.c (zebra_read_ipv6): read link prefix from ospf6 support
1301
13021999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1303
1304 * rt_socket.c (kernel_rtm_ipv6): gate treatment bug fixed.
1305
13061999-07-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1307
1308 * if_sysctl.c (ifm_read): Clear sockunion argument before fetching
1309 data. Suggested by "Chris P. Ross" <cross@eng.us.uu.net>
1310
13111999-07-08 HEO SeonMeyong <seirios@Matrix.IRI.Co.Jp>
1312
1313 * interface.c (if_tun_add): Add KAME's gif tunnel setting codes.
1314
13151999-06-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1316
1317 * zebra.c (zebra_serv): Only accept loopback address connection.
1318
13191999-06-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1320
1321 * zebra.h (ZEBRA_ROUTE_EXTERNAL): Add zebra messages flags
1322
13231999-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1324
1325 * ipforward_proc.c: ipforward_on () and ipforward_off () added.
1326
13271999-06-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1328
1329 * ipforward_proc.c (ipforward_ipv6): Check for IPv6 forwarding
1330 using /proc file system is added.
1331
13321999-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1333
1334 * if_ioctl.c (if_get_index): Interface index set bug is fixed by
1335 adding #else at the middle of function. Suggested by David Luyer
1336 <luyer@ucs.uwa.edu.au>.
1337
13381999-05-29 <kunihiro@zebra.org>
1339
1340 * rt_ioctl.c: Comment out #include <linux/ipv6_route.h>.
1341
13421999-05-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1343
1344 * zebra.h (ZEBRA_ROUTE_MAX): Add new define for the max value of
1345 the sort of routes.
1346
13471999-05-25 Patrick Koppen <koppen@rhrk.uni-kl.de>
1348
1349 * rt_netlink.c (netlink_socket): Make netlink socket non-blocking.
1350 (netlink_parse_info): If errno is EWOULDBLOCK then continue to
1351 parse the message.
1352 (netlink_talk): Likewise
1353
13541999-05-17 <kunihiro@zebra.org>
1355
1356 * redistribute.c (zebra_check_addr): Added for loopback address
1357 check.
1358
13591999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1360
1361 * rt_netlink.c (netlink_route_change): Tempolary bypass ipv6 route
1362 change treatment.
1363
1364 * Makefile.am (noinst_HEADERS): redistribute.h added.
1365
1366 * redistribute.h: New file.
1367
13681999-05-14 Stephen R. van den Berg <srb@cuci.nl>
1369
1370 * zebra.c (show_table): Show all table configuration DEFUN.
1371 (config_table): Config table number DEFUN.
1372
1373 * rt_netlink.c: Add support for multiple routing table.
1374
1375 * rib.c (rib_weed_table): New function added for delete all
1376 routes from specified routing table.
1377
1378 * main.c (signal_init): SIGTERM call sigint.
1379 (sigint): Loggging more better message.
1380
13811999-05-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1382
1383 * rt_netlink.c: Change log () to zlog ().
1384
13851999-05-07 <kunihiro@zebra.org>
1386
1387 * zebra.h (ZEBRA_ROUTE_OSPF6): Added for ospf6d route.
1388
13891999-04-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1390
1391 * interface.c: Add `no ip address' command.
1392
13931999-04-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1394
1395 * rt_netlink.c (kernel_read): Function added for asynchronous
1396 zebra between kernel communication.
1397
13981999-03-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1399
1400 * rtread_sysctl.c (rtm_read): Fix address memcopy overrun bug.
1401 Reported by Achim Patzner <ap@bnc.net>.
1402
14031999-03-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1404
1405 * Makefile.am: Install configuration sample with 600 permission.
1406
14071999-03-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1408
1409 * Makefile.am: Add -I.. to INCLUDES.
1410
14111999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
1412
1413 * syslog support added
1414
14151999-02-17 Peter Galbavy <Peter.Galbavy@knowledge.com>
1416
1417 * if_sysctl.c (interface_list): allocated memory free when unknown
1418 ifm_type is returned.
1419
1420 * ioctl.c (if_get_mtu): added SIOCGIFDATA treatment.
1421
14221998-12-15 Magnus Ahltorp <map@stacken.kth.se>
1423
1424 * interface.c: Header include added.
1425
14261998-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1427
1428 * rt.h (kernel_delete_ipv6): change int index to unsigned int index.
1429
14301998-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1431
1432 * if_ioctl.c (interface_list_ioctl): interface flag must be
1433 checked before check addresses of the interface.
1434
14351998-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1436
1437 * Makefile.am (INCLUDES): add @INCLUDES@ for Linux IPv6.
1438
14391998-10-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1440
1441 * ioctl.c: Linux version before 2.1.0 need interface route setup.
1442
14431998-09-15 HEO SeonMeyong <seirios@matrix.iri.co.jp>
1444
1445 * change HYDRANGEA to KAME
1446
14471998-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1448
1449 * if_ioctl.c (if_addr_ioctl): set address family for getting
1450 interface's address.
1451 (if_get_index): silently return when can't get interface's index.
1452
14531998-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1454
1455 * main.c (main): batch mode option '-b' added.
1456
14571998-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1458
1459 * ioctl.c (if_set_prefix): add `ip address IPV4ADDR' command.
1460 * interface.c (shutdown_if): add interface shutdown and no
1461 shutdown command.
1462
14631998-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1464
1465 * rib.c (rib_add_ipv6): delete rib_add_in6.
1466
14671998-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1468
1469 * main.c: retain flag is added.
1470
14711998-07-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1472
1473 * rtable.[ch]: merged with rib.[ch]
1474
14751998-07-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1476
1477 * connected.h: renamed from ifa.h.
1478
14791998-06-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1480
1481 * rename if.c to interface.c
1482 * rename ifa.c to connected.c
1483
1484 * Porting to Debian GNU/Linux 2.0 (hamm).
1485
14861998-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1487
1488 * rt_netlink.c: renamed from krt_netlink.c
1489
1490 * fib.c: deleted.
1491 * rt_kvm.c: deleted.
1492 * rtread_getmsg.c: deleted.
1493
14941998-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1495
1496 * if.c (multicast): add multicast flag [un]set fucntion.
1497
14981998-05-19 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1499
1500 * rt_socket.c: Modify for compile on Solaris, but dont't work it.
1501 rt_socket.c have some undefined function, so add directive "IMPLEMENT"
1502
15031998-05-18 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1504
1505 * zebra.c: Modify for compile on Solaris.
1506
15071998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1508
1509 * main.c: change CONFDIR to SYSCONFDIR.
1510
15111998-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1512
1513 * .cvsignore: added.
1514
15151998-04-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1516
1517 * client.c: moves to ../lib.
1518
15191998-03-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1520
1521 * if_ioctl.c (if_get_addr): Change address copy from memcopy() to
1522 structure assignment.
1523
15241998-03-30 URA Hiroshi <ura@yamato.ibm.co.jp>
1525
1526 * if_sysctl.c (ifm_interface_add): sdl->sdl_data copy bug fixed.
1527
15281998-02-23 "Hannes R. Boehm" <hannes@boehm.org>
1529
1530 * if.c (if_init): add config_exit_cmd and config_help_cmd.
1531
15321998-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
1533
1534 * rt_ioctl.c (route_ioctl): EPERM treatment added.
1535
15361998-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1537
1538 * rt_socket.c (kernel_read): communication port zebra between
1539 kernel is now handled by kernel_read.
1540
15411998-01-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1542
1543 * main.c (main): zebra [-P port] can specify vty port number.
1544
15451997-12-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1546
1547 * zebra.c: change select will be block.
1548
15491997-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1550
1551 * add static route treatment.
1552
15531997-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1554
1555 * rt_netlink.c: add netlink support over GNU/Linux system.
1556
15571997-11-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1558
1559 * all inet_addr is changed to inet_aton.
1560
1561 * zebra.c (ip_route): add ip route command for static routes.
1562
15631997-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1564
1565 * if.c (if_flag_dump): Linux port of if_flag_dump and _vty.
1566
15671997-11-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1568
1569 * if.c: add interface command.
1570
15711997-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1572
1573 * ipforward_proc.c : Now works on Linux.
1574
15751997-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1576
1577 * command.c : add completion feature.
1578
15791997-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1580
1581 * vty.c (vty_command): add vty interface.
1582
15831997-10-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1584
1585 * zebra.c: add verbose mode.
1586
15871997-10-12 SonMyong Ho <s-ho@Matrix.IRI.Co.Jp>
1588
1589 * Hydrangea for FreeBSD supported
1590 * in.h: add some prototype.
1591
15921997-10-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1593
1594 * rt_socket.c and rtread.c completely rewritten.
1595
15961997-10-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1597
1598 * rt_socket.c: rename kernel_sock to routing_socket
1599
16001997-10-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1601
1602 * if.c (if_new): interface structure change from linklist to vector.
1603
16041997-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1605
1606 * vector.c (vector_init): create vector related function
1607
16081997-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1609
1610 * Makefile.in: add tags target
1611
1612 * start IPv6 support for INRIA FreeBSD.
1613