blob: 38824a2a1cf49324c392812f2df8724f81824953 [file] [log] [blame]
paulc15cb242005-01-24 09:05:27 +000012005-01-24 Martin Pot <mpot at martybugs.net>
2
3 * zebra/rt_netlink.c: ignore wireless newlink netlink messages.
4
hasso6f2c27a2005-01-18 13:44:35 +000052005-01-18 Hasso Tepper <hasso at quagga.net>
6
7 * interface.c: Better statistics output in "show interface" command in
8 case of /proc being used.
9
hasso583d8002005-01-16 23:34:02 +0000102005-01-17 Hasso Tepper <hasso at quagga.net>
11
12 * main.c: With --nl-bufsize argument is required.
13
paul865b8522005-01-05 08:30:35 +0000142005-01-05 Paul Jakma <paul@dishone.st>
15
16 * zserv.c: (zebra_accept) Comment out setting of socket to NONBLOCK
17 for now, as we dont actually deal with with resending.... See
18 bugzilla #122, fix from wawa@yandex-team.ru (Vladimir Ivanov).
19 * kernel_socket.c: (routing_socket) ditto.
20
ajsb99760a2005-01-04 16:24:43 +0000212005-01-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
22
23 * rtadv.c: (rtadv_recv_packet,rtadv_send_packet) Use ZCMSG_FIRSTHDR
24 instead of CMSG_FIRSTHDR.
25
ajs341a8f12004-12-22 16:32:16 +0000262004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
27
28 * connected.c: (connected_add_ipv4) Limit warning about /32 addresses
29 with no peer specified to PtP interfaces only.
30
hassob8adec12004-12-18 16:03:28 +0000312004-12-18 Hasso Tepper <hasso at quagga.net>
32
33 * zebra_vty.c: Fix "show ipv6 route <proto>" command help and make it
34 work for isis routes.
35
gdt6a250b02004-12-09 14:48:12 +0000362004-12-09 Greg Troxel <gdt@fnord.ir.bbn.com>
37
38 * kernel_socket.c (rtmsg_debug): char * => const char *
39
ajs274a4a42004-12-07 15:39:31 +0000402004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
41
ajsb6178002004-12-07 21:12:56 +000042 * *.c: Change level of debug messages to LOG_DEBUG.
43
442004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
45
ajs274a4a42004-12-07 15:39:31 +000046 * main.c: (main) The 2nd argument to openzlog has been removed.
47 So stdout logging will no longer be enabled by default.
48 * irdp_main.c: (irdp_finish) Reduce severity of shutdown message
49 from LOG_WARNING to LOG_INFO.
50
ajs887c44a2004-12-03 16:36:46 +0000512004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
52
53 * main.c: (sigint) Use zlog_notice for termination message.
54 (main) Add a startup announcement using zlog_notice.
55
hassoaccb1562004-11-25 19:21:07 +0000562004-11-25 Hasso Tepper <hasso at quagga.net>
57
58 * irdp_interface.c: Remove comment from DEFUN, it breaks vtysh because
59 it confuses extract.pl.
hassoc0652302004-11-25 19:33:48 +000060 * main.c: Make group to run as configurable.
hassoaccb1562004-11-25 19:21:07 +000061
hasso6bd7c6a2004-10-28 17:32:27 +0000622004-10-28 Hasso Tepper <hasso at quagga.net>
63
64 * interface.c: Remove dead "ip tunnel" command.
65
paul06f953f2004-10-22 17:00:38 +0000662004-10-22 Paul Jakma <paul@dishone.st>
67
68 * irdp_main.c: change setsockopt_pktinfo to setsockopt_ifindex
69
hasso3fb9cd62004-10-19 19:44:43 +0000702004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
71
72 * rt_netlink.c: (netlink_interface_addr) For PtP interfaces, ignore
73 tb[IFA_ADDRESS] if it's the same as tb[IFA_LOCAL].
74 * interface.c: (ip_address_install) Use new ipv4_broadcast_addr
75 function.
76 * connected.c: (connected_up_ipv4) Use CONNECTED_POINTOPOINT_HOST
77 macro.
78 (connected_down_ipv4) ditto.
79 (connected_add_ipv4) Validate destination address, print warnings
80 if it does not make sense.
81
hassoc1eaa442004-10-19 06:26:01 +0000822004-10-19 Hasso Tepper <hasso at quagga.net>
83
84 * zserv.c: Fix regression introduced with zserv cleanup.
85
hassoc75105a2004-10-13 10:33:26 +0000862004-10-13 Hasso Tepper <hasso at quagga.net>
87
88 * zebra_snmp.c: Remove defaults used to initialize smux connection to
89 snmpd. Connection is initialized only if smux peer is configured.
hassob71f00f2004-10-13 12:20:35 +000090 * zserv.c: Remove useless warnings "forwarding is already on".
hassoc75105a2004-10-13 10:33:26 +000091
hasso39ff11d2004-10-12 15:55:19 +0000922004-10-12 Hasso Tepper <hasso at quagga.net>
93
94 * zebra_vty.c: Unbreak "show ip route" command help and make it work
95 for isis routes.
hasso39db97e2004-10-12 20:50:58 +000096 * interface.c(if_dump_vty): Show IPv6 addresses in "show interface"
97 output. Fixes Bugzilla #119.
98 * *.c: Make some strings const and some (unsigned) casts to fix
99 compiler warnings.
hasso39ff11d2004-10-12 15:55:19 +0000100
hassofce954f2004-10-07 20:29:24 +00001012004-10-07 Hasso Tepper <hasso at quagga.net>
102
103 * connected.c, main.c, rt_netlink.c, rtadv.c, zebra_rib.c, zserv.c:
104 Fix warnings: make strings const, signed -> unsigned.
105
paul72164662004-10-05 14:39:43 +00001062004-10-05 Paul Jakma <paul@dishone.st>
107
108 * irdp_packet.c: (parse_irdp_packet) style issues.
109 Use sockopt_iphdrincl_swab_systoh.
110 Try unbork the code. Checksum the ICMP data and actually
111 compare it to received checksum. Check data length against
112 claimed length in header.
113 Always use ntoh.. when accessing addresses, even when the
114 comparison happens to be endian-safe.
115 (send_packet) minor style isues. Use
116 sockopt_iphdrincl_swab_htosys.
117 (irdp_iph_hton/ntoh) IP header to/from network/host order.
118
hassoeef1fe12004-10-03 18:46:08 +00001192004-10-03 Gilad Arnold <gilad.arnold at terayon.com>
120
121 * interface.c, interface.h: A new prefix tree of connected subnets is
122 associated with each interface structure in zebra, in which each
123 live (ie, non-synthetic) node holds a list of installed addresses
124 that belong to that prefix. Remove secondary address logic from cli.
125 See [quagga-dev 872] for detailed explanation.
126 * connected.c: Use if_subnet_add() and if_subnet_delete().
127
hasso18a6dce2004-10-03 18:18:34 +00001282004-10-03 James R. Leu <jleu at mindspring.com>
129
130 * router-id.c, router-id.h: New files. Router id selection process. If
131 there is non 127.x.x.x address in loopack interface, lowest of them
132 is chosen. If there isn't, lowest from other interfaces addresses
133 are chosen. "router-id x.x.x.x" vty command to manual override.
134 * Makefile.am: Compile new files.
135 * main.c: Initialize router id.
136 * redistribute.c: Add interface addresses into router id selection
137 lists as they (dis)appear.
138 * zserv.c, zserv.h: Sending router id related messages to daemons.
139
hassoc9e52be2004-09-26 16:09:34 +00001402004-09-26 Hasso Tepper <hasso at quagga.net>
141
142 * irdp_interface.c, irdp_main.c, irdp_packet.c, rt_netlink.c,
143 rtadv.c, zebra_vty.c: Fix compiler warnings.
144
paul0c0f9112004-09-24 08:24:42 +00001452004-09-24 Paul Jakma <paul@dishone.st>
146
paul26f7a242004-09-24 08:45:10 +0000147 * irdp_interface.c: (no_ip_irdp_address_preference_cmd)
148 add missing listnode declaration.
149
1502004-09-24 Paul Jakma <paul@dishone.st>
151
paul0c0f9112004-09-24 08:24:42 +0000152 * irdp_{interface,main}.c: lists typedef removal cleanup.
153 update some list loops to LIST_LOOP. some miscellaneous style
154 and indent fixups.
155 (no_ip_irdp_address_preference_cmd) Fix delete of referenced node
paul26f7a242004-09-24 08:45:10 +0000156 in loop.
paul0c0f9112004-09-24 08:24:42 +0000157 * irdp_packet.c: (irdp_recvmsg) Fix buggy assignment of integer
158 to pointer.
159 * if_ioctl{,_solaris}.c: lists typedef removal cleanup.
160 update some list loops to LIST_LOOP.
161
hasso52dc7ee2004-09-23 19:18:23 +00001622004-09-23 Hasso Tepper <hasso at quagga.net>
163
164 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
165
paul44983cf2004-09-22 13:15:58 +00001662004-09-22 Paul Jakma <paul.jakma@sun.com>
167
168 * zserv.c: (zsend_route_multipath) fix nasty bad memset of struct
169 in_addr to sizeof(struct in6_addr), causing odd and hard to debug
170 crash.
171
hassoc34b6b52004-08-31 13:41:49 +00001722004-08-31 Hasso Tepper <hasso at quagga.net>
173
174 * main.c, rt_netlink.c: Added -s command line switch for tuning
175 netlink receive buffer size in Linux to avoid buffer overruns.
176
gdta5ea6872004-08-26 13:24:00 +00001772004-08-26 Miles Nordin <carton@Ivy.NET>
178
179 * ipforward_sysctl.c (mib_ipv6): Use size_t for len, per
180 sysctl(3), rather than int. (Needed on NetBSD/alpha to display
181 forwarding status correctly.)
182
paul3e0b3a52004-08-23 18:58:32 +00001832004-08-23 Paul Jakma <paul@dishone.st>
184
185 * zserv.c: (zebra_init) remove implicit ip forward enabling
186
paul0de1cde2004-08-19 04:45:33 +00001872004-08-19 Paul Jakma <paul@dishone.st>
188
189 * irdp_main.c: update to match sockopt renames.
190 * irdp_packet.c: include sockopt.h and update to match sockopt
191 renames.
192
gdt57492d52004-08-11 18:06:38 +00001932004-08-11 Greg Troxel <gdt@fnord.ir.bbn.com>
194
195 * rtadv.c (rtadv_send_packet): Allocate space for control messages
196 more carefully; it was wrong on NetBSD/sparc where CMSG alignment
197 is to 8 bytes instead of 4, and overwriting the address. Use the
198 provided macros for determining lengths.
199
paul5b73a672004-07-23 15:26:14 +00002002004-07-23 Sowmini Varadhan <Sowmini.Varadhan@Sun.COM>
201
202 * if_ioctl_solaris.c: HAVE_IPV6 ifdef fixups
203 * zserv.c: ditto
204 * ioctl_solaris.c: ditto.
205 * interface.c: cast for LLADDR
206 * interface.h: Add guards, include redistribute.h and remove
207 extraneous definitions of zebra_interface_{up,down}_update
208 * ioctl.h: Add AF_IOCTL define for non SOLARIS_IPV6
209 * redistribute.h: include dependent header, zserv.h
210 * zserv.h: include dependent header, rib.h
211
paul1470baf2004-07-23 15:25:01 +00002122004-07-23 Paul Jakma <paul@dishone.st>
213
214 * irdp_main.c: use setsockopt_pktinfo_ipv4
215 * irdp_packet.c: use SOPT_SIZE_CMSG_PKTINFO_IPV4 and
216 getsockopt_pktinfo_ifindex()
217
gdtcced60d2004-07-13 16:45:54 +00002182004-07-13 David Wiggins <dwiggins@bbn.com
219
220 * kernel_socket.c (rtm_flag_dump): terminate buffer with '\0', not '0'.
221
hasso25dac852004-07-13 03:06:51 +00002222004-07-13 Hasso Tepper <hasso@estpak.ee>
223
224 * irdp_main.c: Add privilege change.
225
hasso996933f2004-07-12 16:32:56 +00002262004-07-12 Hasso Tepper <hasso@estpak.ee>
227
228 * irdp_interface.c: follow common style while naming vty command
229 functions. Avoids confusion in extract.pl.
230
gdt87efd642004-06-30 17:36:11 +00002312004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
232
233 * main.c: define thread_master variable so that linking with
234 libzebra.so doesn't fail. Arguably zclient.o should be in a
235 separate library, but this is far less disruptive.
236
hassoca776982004-06-12 14:33:05 +00002372004-06-12 Robert Olsson <Robert.Olsson at data.slu.se>
238
239 * Added IRDP support.
240
hasso3e31cde2004-05-18 11:58:59 +00002412004-05-18 Hasso Tepper <hasso@estpak.ee>
242
243 * rtadv.c: Removed "[no] ipv6 nd send-ra" command. Replaced "ipv6 nd
244 prefix-advertisement" with "ipv6 nd prefix". Rewrite syntax of
245 "ipv6 nd prefix" command to allow various combinations of parameters
246 and flags. No defaults in configuration. Replaced on-link and
247 autoconfig with off-link and no-autoconfig flags in command syntax.
248 Cosmetic fixes in all commands. Documentation to reflect all changes.
249
paul19877dd2004-05-11 10:49:35 +00002502004-05-11 Paul Jakma <paul@dishone.st>
251
252 * Makefile.am: support for IOCTL_METHOD, as per Sowmini's patch.
paul48a46fa2004-05-11 10:55:22 +0000253 * if_ioctl_solaris.c: Fixup some erroneous privilege changes and
254 add privs.h header.
255 * ioctl_solaris.c: ditto
paulc50ae8b2004-05-11 11:31:07 +0000256 * ioctl.h: Add if_ioctl_ipv6 prototype and AF_IOCTL for SOLARIS_IPV6
257 * kernel_socket.c: Fix SAROUNDUP, compiler doesnt like do..while
258 RHS in assignments :)
259 * redistribute.c: (zebra_interface_delete_update) only used
260 if RTM_IFANNOUNCE and NETLINK is available.
261
paulb9df2d22004-05-09 09:09:59 +00002622004-05-09 Paul Jakma <paul@dishone.st>
263
264 * zserv.c: (zsend_route_multipath) Set the nexthop_num
265 field correctly. Add NEXTHOP_TYPE_IPV6_IFNAME for v6.
266 Conditionally set ZAPI_MESSAGE_METRIC flag - only for adds.
267 (zsend_ipv4_add) cruft, deleted.
268 (zsend_ipv4_delete) ditto.
269 (zsend_ipv6_add) ditto.
270 (zsend_ipv6_delete) ditto.
paul44145db2004-05-09 11:00:23 +0000271 * ioctl.c: (if_get_mtu) set mtu6 to mtu
272 * mtu_kvm.c: (if_kvm_get_mtu) set mtu6 to mtu
273 * rt_netlink.c: (netlink_interface) set mtu6 to mtu
274 (netlink_link_change) ditto
paul66e94882004-05-09 17:19:24 +0000275 * ipforward_solaris.c: fix typo of ND variable.
paul88424682004-05-09 18:21:35 +0000276 * if_ioctl_solaris.c: Add zprivs support.
277 * ioctl_solaris.c: ditto.
paul66e94882004-05-09 17:19:24 +0000278
paulb9df2d22004-05-09 09:09:59 +00002792004-05-09 Sowmini Varadhan <sowmini.varadhan@sun.com>
280
281 * zserv.c: (zsend_ipv{4,6}_{add,delete}_multipath) collapsed
282 into single zsend_route_multipath function.
283 (zsend_interface_{up,down}) collapsed into zsend_interface_update.
284 (zsend_interface_address_{add,delete}) collapsed into
285 zsend_interface_address.
286 (zsend_interface_add) send mtu6.
287 (zsend_interface_delete) ditto.
288 (zebra_write) remove unused function.
289 (various) Apply static qualifier. Add comments.
290 * zserv.h: Definitions changed as per above.
291 * redistribute.c: Changes as per zserv.c.
paul44145db2004-05-09 11:00:23 +0000292 * interface.c: (if_delete_update) only used with HAVE_NETLINK
293 and RTM_IFANNOUNCE.
294 (if_flag_dump_vty) Solaris IFF_IPV4 and IFF_IPV6 if flags
295 (if_dump_vty) print mtu6 if not same as mtu
paul88424682004-05-09 18:21:35 +0000296 * if_ioctl_solaris.c: New file, Solaris interface ioctl methods.
297 * ioctl_solaris.c: New file, Common solaris ioctl methods.
298
hasso34195bf2004-04-06 12:07:06 +00002992004-04-06 Krzysztof Oledzki <oleq@ans.pl>
300
301 * rt_netlink.c: Do not ignore metric when reading kernel routing
302 table on Linux with rt_netlink interface.
303
3042004-03-18 Hasso Tepper <hasso@estpak.ee>
hassof1d92e12004-03-18 15:40:33 +0000305
306 * interface.c: Temporary fix for handling secondary addresses
307 with label.
308
hasso55906722004-02-11 22:42:16 +00003092004-02-12 Hasso Tepper <hasso@estpak.ee>
hassof1d92e12004-03-18 15:40:33 +0000310
hasso55906722004-02-11 22:42:16 +0000311 * zserv.c: Added "ipv6 forwarding" command.
312
gdtb27900b2004-01-08 15:44:29 +00003132004-01-08 Greg Troxel <gdt@fnord.ir.bbn.com>
314
315 * kernel_socket.c (kernel_read): Use sockaddr_storage in buffer
316 for reading kernel messages to ensure enough space (necessary on
317 Solaris due to sockaddr_dl being large). Thanks to Sowmini
318 Varadhan for help with this change.
319
gdt9ccabd12004-01-06 18:23:02 +00003202004-01-06 Greg Troxel <gdt@t1.ir.bbn.com>
321
322 * rtadv.c (rtadv_send_packet): Change perror to zlog_err.
323
gdtdbee01f2004-01-06 00:36:51 +00003242004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
gdt4bfbea82004-01-06 01:13:05 +0000325 * kernel_socket.c (ifm_read): Major cleanup. Use Sowmini's code
326 to find the sockaddr_dl in all cases, narrowing the Solaris ifdef
327 to just the accomodation of broken kernels. Check sockaddr_dl
328 carefully up front, and later assume any non-NULL sdl pointer is
329 valid. Clean up types and variable declarations, and rename
330 WRAPUP to SAROUNDUP to make the name fit the behavior.
331
3322004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
gdtdbee01f2004-01-06 00:36:51 +0000333
334 * kernel_socket.c (kernel_read): Add a sockaddr_dl to the ifmsg
335 structure, because on Solaris sockaddr_dl is far larger than the
336 base sockaddr structure. (The code had previously been failing to
337 read all the data.)
gdt4bfbea82004-01-06 01:13:05 +0000338
gdtda26e3b2004-01-05 17:20:59 +00003392004-01-05 Greg Troxel <gdt@ahi.ir.bbn.com>
340
341 * kernel_socket.c (kernel_read): Look up interfaces by index
342 first, so that state changes which do not include a sockaddr_dl
343 now work. Add many sanity checks. In
344 particular, do not assume that a sockaddr_dl follows a message
345 without checking the ifm_addrs flags, and do not trust the length
346 in a sockaddr_dl. Add/clarify many comments.
347
gdt4b5e1352003-12-03 17:54:34 +00003482003-12-03 Greg Troxel <gdt@poblano.ir.bbn.com>
349
350 * rtadv.c: reorder includes to avoid compiler warning (define
351 structs before using them in prototypes)
352
hasso647e4f12003-05-25 11:43:52 +00003532003-05-25 Jim Crumpler <Jim.Crumpler@edion.com>
354
355 * zserv.c: Add "ip forwarding" command.
356
paul445f1432003-05-16 19:00:31 +00003572003-05-16 Gilad Arnold <gilad.arnold@terayon.com>
358
359 * zebra_rib.c: Fix memory leaks for ifname nexthops
360
3612003-04-19 Israel Keys <ikeys@agile.tv>
362
363 * rt_netlink.c: BLOCK on netlink while initialising
364
3652003-02-06 Francois Deppierraz <francois@ctrlaltdel.ch>
366
367 * rt_netlink.c (netlink_route_multipath): Set RTM_F_EQUALIZE when
368 it exists.
369
paul718e3742002-12-13 20:15:29 +00003702002-09-28 Akihiro Mizutani <mizutani@net-chef.net>
371
372 * zebra_rib.c (static_add_ipv4): Null0 static route is added.
373
3742002-09-10 Jochen Friedrich <chris+zebra@scram.de>
375
376 * rt_netlink.c: Add check for EAGAIN.
377 * kernel_socket.c: Likewise
378
3792002-06-12 Israel Keys <ikeys@oz.agile.tv>
380
381 * rt_netlink.c: Setting the NLM_F_ACK flag on the netlink command
382 message so that we get an ACK for successful netlink commands.
383 Change the netlink socket to BLOCKING while we wait for a
384 response; be it an ACK or an NLMSG_ERROR. Change
385 netlink_parse_info to deal with ACK messages.
386
3872001-11-01 Jun-ichiro itojun Hagino <itojun@iijlab.net>
388
389 * rtadv.c (rtadv_make_socket): setsockopt(IPV6_CHECKSUM) does not
390 work for ICMPv6 socket.
391
3922001-10-24 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
393
394 * rib.c (rib_process): Select connected route any case.
395
3962001-10-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
397
398 * interface.c (no_ip_address_secondary): Add "no" to command.
399
4002001-10-18 NOGUCHI Kay <kay@v6.access.co.jp>
401
402 * ioctl.c (if_prefix_add_ipv6): Set the prefered and valid lifetime
403 to infinity as the freebsd4.4 workaroud.
404
4052001-08-26 mihail.balikov@interbgc.com
406
407 * zebra_snmp.c: Fix snmpwalk problem such as IPv4 address
408 A.B.C.255.
409
4102001-08-22 NOGUCHI Kay <kay@v6.access.co.jp>
411
412 * rtadv.c: Do not send RA to loopback interface.
413
4142001-08-20 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
415
416 * ioctl.c (if_set_prefix): Remove Linux 2.0 specific connected
417 route treatment.
418
4192001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
420
421 * zebra-0.92a released.
422
4232001-08-17 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
424
425 * rib.c: Kernel route is treated as EGP routes in nexthop active
426 check.
427
4282001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
429
430 * zebra-0.92 released.
431
4322001-08-08 "Akihiro Mizutani" <mizutani@dml.com>
433
434 * rib.c (show_ip_route_prefix_longer): Add longer-prefix option to
435 show route commands.
436
4372001-07-29 Yon Uriarte <havanna_moon@gmx.net>
438
439 * zserv.c (zsend_ipv4_add_multipath): Add
440 NEXTHOP_TYPE_IPV4_IFINDEX check.
441
4422001-07-29 NOGUCHI Kay <kay@v6.access.co.jp>
443
444 * rtadv.c: Apply valid lifetime, preferred lifetime, onilnk flag,
445 autonomous address-configuration flag patch.
446 (no_ipv6_nd_suppress_ra): Change "ipv6 nd send-ra" to "no ipv6 nd
447 suppress-ra".
448
4492001-07-24 NOGUCHI Kay <kay@v6.access.co.jp>
450
451 * rtadv.c (ipv6_nd_ra_interval): Add "ipv6 nd ra-interval SECONDS"
452 command.
453
4542001-07-24 Jun-ichiro itojun Hagino <itojun@iijlab.net>
455
456 * rt_socket.c (kernel_rtm_ipv4): Add KAME/NetBSD151 equal cost
457 multicast FIB support both IPv4 and IPv6.
458
4592001-07-24 Hal Snyder <hal@vailsys.com>
460
461 * if_ioctl.c (interface_list_ioctl): Fix bug of failing to get the
462 full list of interfaces on some configurations of OpenBSD.
463
4642001-07-23 NOGUCHI Kay <kay@v6.access.co.jp>
465
466 * rtadv.c (ipv6_nd_send_ra): Apply [zebra 9320] to fix "ipv6 nd
467 send-ra" bug.
468 (ipv6_nd_ra_lifetime): "ipv6 nd ra-lifetime 0" for default router
469 availability.
470 (ipv6_nd_managed_config_flag): "ipv6 nd managed-config-flag" is
471 added.
472 (ipv6_nd_other_config_flag): "ipv6 nd other-config-flag" is added.
473
4742001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
475
476 * ioctl.c (if_ioctl): Change ioctl argument from int to u_long.
477
478 * rt_ioctl.c: Likewise.
479
4802001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
481
482 * kernel_socket.c (rtm_write): Only set RTF_CLONING when the
483 interface is not p2p.
484
4852001-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
486
487 * ioctl.c (if_prefix_add_ipv6): Fix argument type.
488
4892001-04-06 Toshiaki Takada <takada@zebra.org>
490
491 * zserv.c (zsend_interface_delete): Use client->obuf instead of
492 allocating new stream.
493
4942001-03-10 Kunihiro Ishiguro <kunihiro@zebra.org>
495
496 * rt_netlink.c: Revert RTPROT_BOOT change.
497
4982001-03-08 Kunihiro Ishiguro <kunihiro@zebra.org>
499
500 * rt_netlink.c (netlink_route_change): Skip RTPROT_BOOT route.
501 (netlink_routing_table): Likewise.
502
5032001-03-07 "Akihiro Mizutani" <mizutani@dml.com>
504
505 * zserv.c (zsend_ipv4_add_multipath): Send metric value to
506 protocol daemons.
507
5082001-02-18 Kunihiro Ishiguro <kunihiro@zebra.org>
509
510 * rt_netlink.c (netlink_routing_table): Do not return
511 tb[RTA_GATEWAY] is NULL. Reported by: "Michael O'Keefe"
512 <mokeefe@qualcomm.com>.
513
5142001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
515
516 * if_ioctl.c (interface_list_ioctl): Call if_add_update().
517 Suggested by: Chris Dunlop <chris@onthe.net.au>.
518
5192001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
520
521 * rib.c (nexthop_active_ipv4): When nexthop type is
522 NEXTHOP_TYPE_IPV4_IFINDEX, propery set the ifindex to rifindex.
523
524 * zserv.c: Initialize rtm_table_default with 0.
525
526 * zebra-0.91 is released.
527
5282001-01-31 Kunihiro Ishiguro <kunihiro@zebra.org>
529
530 * kernel_socket.c (rtm_read): Filter cloned route. Suggested by:
531 Jun-ichiro itojun Hagino <itojun@iijlab.net>
532
5332001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
534
535 * connected.c (connected_up_ipv6): When point-to-point destination
536 address is ::, use local address for connected network.
537 (connected_down_ipv6): Likewise.
538
5392001-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
540
541 * zserv.c (zebra_serv): Add missing close() call. Reported by:
542 David Waitzman <djw@vineyard.net>.
543
5442001-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
545
546 * rib.c (rib_lookup_ipv4): New function for checking exact match
547 IGP route.
548
5492001-01-23 Kunihiro Ishiguro <kunihiro@zebra.org>
550
551 * rib.c (show_ipv6_route_protocol): Fix bug of "show ip route
552 route-type".
553
5542001-01-22 Kunihiro Ishiguro <kunihiro@zebra.org>
555
556 * interface.c (zebra_interface): Do not call
557 zebra_interface_add_update for inactive interface.
558
559 * zserv.c (zsend_interface_address_add): Send interface address
560 flag.
561 (zsend_interface_address_delete): Likewise.
562
5632001-01-19 Kunihiro Ishiguro <kunihiro@zebra.org>
564
565 * interface.c (if_addr_add): Add flags.
566
567 * connected.c (ifa_add_ipv4): Add new function for interface
568 address handling.
569 (ifa_delete_ipv4): Likewise.
570
5712001-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
572
573 * rib.c (rib_update): Update IPv6 RIB.
574
575 * kernel_socket.c (ifam_read): Call if_refresh() for update
576 interface flag status. This is for implicit interface up on *BSD.
577
578 * interface.c (if_refresh): Add interface flag refresh function.
579
580 * kernel_socket.c (rtm_read): Fetch link-local address interface
581 index.
582 (ifan_read): We need to fetch interface information. Suggested
583 by: Yasuhiro Ohara <yasu@sfc.wide.ad.jp>.
584
585 * rib.c (static_ipv6_nexthop_same): Add check for
586 NEXTHOP_TYPE_IPV6_IFNAME.
587
5882001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
589
590 * rib.h (NEW_RIB): Turn on NEW_RIB flag. IPv6 new RIB code are
591 taken into place.
592
5932001-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
594
595 * rib.c (static_ipv6_write): Display STATIC_IPV6_GATEWAY_IFNAME
596 configuration.
597 (rib_delete_ipv6): Handle same route conter for IPv6 connected
598 route.
599 (show_ipv6_route_protocol): New command.
600 (show_ipv6_route_addr): Likewise.
601 (show_ipv6_route_prefix): Likewise.
602 (rib_update): Sweep kernel route when it is cleaned up.
603
604 * rt_socket.c (kernel_add_ipv6): Add NEXTHOP_IPV6_IFNAME
605 treatmenet.
606
607 * rt_netlink.c (kernel_init): Likewise.
608
609 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): Likewise.
610
611 * rib.c (rib_add_ipv4): Cope with same connected route on a
612 interface. Suggested by: Matthew Grant <grantma@anathoth.gen.nz>.
613 (nexthop_ipv6_ifname_add): Add NEXTHOP_IPV6_IFNAME treatmenet.
614
615 * rib.h (struct new_rib): Add refcnt to keep track on the
616 reference of same connected route.
617
618 * ioctl.c (if_set_prefix): Add check for GNU_LINUX.
619
6202001-01-13 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
621
622 * kernel_socket.c (ifan_read, rtm_type_str): Add RTM_OIFINFO check.
623 (rtm_type_str): Add RTM_IFANNOUNCE check.
624 (ifan_read): New function.
625 (kernel_read): Add case for RTM_IFANNOUNCE.
626
6272001-01-13 Kunihiro Ishiguro <kunihiro@zebra.org>
628
629 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): New function.
630
631 * rt_netlink.c (netlink_route_multipath): IPv6 address ifindex
632 treatment.
633
634 * connected.c (connected_up_ipv6): Add dest value check.
635
636 * rib.c (nexthop_active_ipv6): Do not touch IPv6 nexthop's
637 ifindex.
638 (rib_add_ipv4): Import rib_add_ipv6() same route check code.
639 (nexthop_active_check): NEXTHOP_TYPE_IPV6_IFINDEX activity is only
640 checked by ifindex.
641
642 * rt_socket.c (kernel_rtm_ipv6_multipath): New function.
643
644 * redistribute.c (redistribute_add): Use
645 zsend_ipv6_add_multipath().
646 (redistribute_delete_multipath): Use
647 zsend_ipv6_delete_multipath().
648
649 * interface.c (ip_address): Check current IP address to avoid
650 duplicate.
651
652 * rib.c (rib_delete_ipv4): When deleted route is connected route,
653 check ifindex.
654 (rib_add_ipv4): When connected route is added do not perform
655 implicit withdraw.
656 (rib_delete_ipv4): Check ifindex for connected route.
657
658 * kernel_socket.c (rtm_read): When route has RTF_STATIC, set
659 ZEBRA_FLAG_STATIC for indicate as persistent route.
660 (ifam_read): Unset interface index from link-local address when
661 IPv6 stack is KAME.
662
663 * rib.c (rib_update): Do not delete persistent kernel route.
664
665 * rib.h (struct new_rib): Integrate RIB_FLAG_* to ZEBRA_FLAG_*.
666
667 * rt_socket.c (kernel_add_ipv6_multipath): Add placeholder.
668 (kernel_delete_ipv6_multipath): Likewise.
669
670 * rt_netlink.c (netlink_talk): Give struct nlsock to netlink_talk.
671
6722001-01-12 Kunihiro Ishiguro <kunihiro@zebra.org>
673
674 * rib.c (rib_update): Revert Matthew Grant's patch
675 zebra_cvs_newribfix.patch. Use struct rib->ifindex for kernel
676 interface index. Introduce NEXTHOP_TYPE_IPV4_IFINDEX to support
677 that. Add support for address deletion situation.
678
6792001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
680
681 * interface.c: Remove HAVE_IF_PSEUDO part.
682
683 * rib.h: Likewise.
684
685 * rt_netlink.c (netlink_link_change): Likewise.
686
6872001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
688
689 * zserv.c: Remove OLD_RIB codes.
690
6912001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
692
693 * zebra-0.90 is released.
694
6952001-01-09 Matthew Grant <grantma@anathoth.gen.nz>
696
697 * interface.c (if_new_intern_ifindex): Allocate a new internal
698 interface index.
699 (if_addr_refresh): Fix up ip addresses configured via zebra.
700 (if_add_update): Handle an interface addition.
701 (if_delete_update): Handle an interface delete event.
702
703 * rib.c (nexthop_ipv4_add): Add kernel route deletion process when
704 interface goes down.
705
7062001-01-08 Kunihiro Ishiguro <kunihiro@zebra.org>
707
708 * interface.c (if_dump_vty): When HAVE_NET_RT_IFLIST is defined,
709 NetBSD also use this function. Suggested by Jasper Wallace
710 <jasper@ivision.co.uk>.
711
7122001-01-07 Kunihiro Ishiguro <kunihiro@zebra.org>
713
714 * rib.c (nexthop_active_ipv4): Move back to set methodo to old
715 one.
716
7172001-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
718
719 * rib.c (rib_add_ipv4): EBGP multihop set ZEBRA_FLAG_INTERNAL
720 flag, so treat it.
721
7222001-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
723
724 * rt_netlink.c (netlink_talk_ipv6): When IPv6 route message is
725 sent from netlink_cmd, the same message comes from netlink. To
726 avoid confusion, temporary netlink_talk_ipv6 use netlink.sock
727 instead of netlink_cmd.sock.
728
7292001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
730
731 * zserv.h (ZEBRA_SERV_PATH): Change "/tmp/zebra" to "/tmp/.zebra".
732 Change "/tmp/zserv" to "/tmp/.zserv".
733
7342000-12-29 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
735
736 * rt_netlink.c (struct nlsock): Divide kernel message into listen
737 socket and command socket.
738 (netlink_talk): Remove socket listen code. Use netlink_parse_info
739 for read kernel response.
740
7412000-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
742
743 * rib.c (vty_show_ip_route): Show uptime of the RIP,OSPF,BGP
744 routes.
745
7462000-12-27 Kunihiro Ishiguro <kunihiro@zebra.org>
747
748 * rt_netlink.c (netlink_route_multipath): Metric value is
749 reflected to kernel routing table.
750
751 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Likewise.
752
753 * kernel_socket.c (rtm_write): Likewise.
754
755 * rib.c (nexthop_active_ipv4): Only iBGP route perform recursive
756 nexthop lookup.
757
758 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Add ioctl version of
759 new RIB implementation.
760
7612000-12-26 Kunihiro Ishiguro <kunihiro@zebra.org>
762
763 * rib.h: Remove MULTIPATH_NUM. It is defined by configure script.
764
7652000-12-25 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
766
767 * rib.c (rib_if_up): Call rib_fib_set instead of RIB_FIB_SET for
768 proper redistribution.
769
7702000-12-19 Kunihiro Ishiguro <kunihiro@zebra.org>
771
772 * rib.c (nexthop_active_ipv4): Add self lookup nexthop check.
773 (show_ip_route_protocol): Support new RIB.
774
775 * rt_netlink.c (netlink_route_change): Do not return when gate is
776 NULL.
777
7782000-12-18 Kunihiro Ishiguro <kunihiro@zebra.org>
779
780 * rib.c (rib_lookup_ipv4_nexthop): IBGP nexthop check function is
781 updated.
782 (rib_add_ipv4): Free implicit withdraw route's RIB.
783
7842000-12-15 Kunihiro Ishiguro <kunihiro@zebra.org>
785
786 * rib.c (nexthop_active_ipv4): Check indirect nexthop.
787
788 * redistribute.c (redistribute_add_multipath): Redistribution
789 works with new rib code.
790
7912000-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
792
793 * rt_netlink.c (netlink_route_multipath): Check useful nexthop
794 number.
795 (netlink_route_multipath): Clear rtnh_flags and rtnh_hops.
796
797 * rib.c (nexthop_active_update): Set flag for the rib's nexthop
798 activity is changed.
799 (nexthop_active_check): Before checking interface is up, make it
800 sure the interface exist.
801
8022000-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
803
804 * rib.c (ip_route): New RIB prototype.
805
8062000-11-16 Yon Uriarte <ukl2@rz.uni-karlsruhe.de>
807
808 * zserv.c (zsend_interface_add): Send hardware address when
809 hw_addr_len is greater than 0.
810
8112000-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
812
813 * connected.c (connected_up_ipv4): Fix ptop bug. The destination
814 network should be installed into routing table.
815 (connected_down_ipv4): Likewise.
816 (connected_add_ipv4): Change to use connected_up_ipv4.
817 (connected_delete_ipv4): Likewise.
818
8192000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
820
821 * rt_netlink.c (netlink_interface_addr): Revert Harald Welte
822 <laforge@gnumonks.org>'s ptop patch then back to original code to
823 avoid duplicated connected route problem. Suggested by Frank van
824 Maarseveen <F.vanMaarseveen@inter.NL.net>.
825
826 * kernel_socket.c (rtm_read): Make behavior consistent even #ifdef
827 DEBUG is defined. Reported by Jun-ichiro itojun Hagino
828 <itojun@iijlab.net>.
829
8302000-10-23 Jochen Friedrich <jochen@scram.de>
831
832 * main.c (main): Call zebra_snmp_init() when it is enabled.
833
8342000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org>
835
836 * zserv.c (zebra_serv_un): UNIX domain socket server of zebra
837 protocol.
838
8392000-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
840
841 * rib.c (rib_add_ipv4): Same check bug is fixed.
842
8432000-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
844
845 * rib.c (rib_if_down): Remove kernel route when the interface goes
846 down.
847
848 * debug.c: New command "debug zebra kernel" is added.
849
8502000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
851
852 * zebra-0.89 is released.
853
8542000-09-24 Harald Welte <laforge@gnumonks.org>
855
856 * rt_netlink.c (netlink_interface_addr): Fix point-to-point address
857 treatment in netlink interface.
858
8592000-09-21 David Lipovkov <dlipovkov@OpticalAccess.com>
860
861 * rib.c (rib_if_down): Pull static route only. Protocol daemon
862 must withdraw routes when interface goes down.
863 (rib_add_ipv4): Check nexthop when replace route.
864
8652000-09-21 Kunihiro Ishiguro <kunihiro@zebra.org>
866
867 * if_ioctl.c (if_getaddrs): New function for looking up
868 interface's address by getifaddrs().
869
8702000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
871
872 * connected.c (connected_delete_ipv4): Add check for connected
873 address is found or not.
874 (connected_add_ipv6): Reflect IPv6 connected address change to
875 protocol daemons.
876 (connected_delete_ipv6): Likewise.
877
8782000-09-07 David Lipovkov <davidl@nbase.co.il>
879
880 * rib.c (rib_delete_ipv4): Reverted the change from pseudo
881 interface patch to original. Because ospfd deletes routes using
882 zero ifindex.
883
8842000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
885
886 * zebra-0.88 is released.
887
8882000-08-15 "Akihiro Mizutani" <mizutani@dml.com>
889
890 * rib.c (show_ip_route_protocol): Help string correction.
891 (show_ip_route_prefix): Check prefix mask.
892 (show_ip_route_vty_detail): Display distance and metric.
893
8942000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
895
896 * zserv.c (zsend_interface_add): Change ifindex store size from
897 two octet to four.
898 (zsend_interface_delete): Likewise.
899 (zsend_interface_address_add): Likewise.
900 (zsend_interface_address_delete): Likewise.
901 (zsend_interface_up): Likewise.
902 (zsend_interface_down): Likewise.
903
9042000-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
905
906 * rib.c (rib_add_ipv4): Do not install distance 255 route.
907
9082000-08-10 Toshiaki Takada <takada@zebra.org>
909
910 * interface.c (bandwidth_if), (no_bandwidth_if): Call
911 zebra_interface_up_update () instead of using if_up() and if_down().
912
9132000-08-07 "Akihiro Mizutani" <mizutani@dml.com>
914
915 * interface.c (bandwidth_if): Fix help string.
916
9172000-08-07 Matthew Grant <grantma@anathoth.gen.nz>
918
919 * interface.c (if_dump_vty): Display bandwidth value.
920 (bandwidth_if): New command "bandwidth <1-10000000>" is added.
921 When interface is up, force protocol daemons to recalculate routes
922 due to cost change.
923 (no_bandwidth_if): Likewise.
924 (if_config_write): Output bandwidth configuration.
925
926 * zserv.c (zsend_interface_add): Send bandwidth value.
927 (zsend_interface_up): Likewise.
928 (zsend_interface_down): Likewise.
929
930
9312000-08-07 Michael Rozhavsky <mike@nbase.co.il>
932
933 * rib.c (show_ip_route_protocol): "show ip route
934 (bgp|connected|kernel|ospf|rip|static)" is added.
935
9362000-08-07 Kunihiro Ishiguro <kunihiro@zebra.org>
937
938 * rib.c (rib_lookup_ipv4_nexthop): Check parent node until IGP
939 nexthop is found.
940 (rib_add_ipv4_internal): Set fib ifindex to rib ifindex.
941
9422000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
943
944 * redistribute.c (redistribute_delete): Fix bug of default route
945 redistribute treatment.
946
9472000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
948
949 * rib.c (rib_init): Install ip_node in rib.c instead of zserv.c.
950 Change default distance value.
951
952 Old New
953 ------------------------------------------
954 system 10 0
955 kernel 20 0
956 connected 30 0
957 static 40 1
958 rip 50 120
959 ripng 50 120
960 ospf 60 110
961 ospf6 49 110
962 bgp 70 200(iBGP) 20(eBGP)
963 ------------------------------------------
964
965 * zserv.c (client_lookup): Function removed.
966 (zsend_interface_add): Use client's output buffer. Check ifinfo
967 flag.
968 (zsend_interface_delete): Likewise.
969 Delete ipv4_static_radix and ipv6_static_radix.
970
9712000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
972
973 * zserv.h (struct zebra_client): When client request interface
974 information, ifinfo is set.
975
976 * rib.c: Temporary Revert changes for pseudo interface.
977
978 * rib.h: Likewise.
979
980 * zserv.c: Likewise.
981
982 * interface.c: Likewise.
983
9842000-08-02 David Lipovkov <davidl@nbase.co.il>
985
986 * interface.c (zebra_if_init): Install interface "pseudo"
987 commands.
988
989 * rib.c (rib_create): ifname argument is added.
990 (rib_add_ipv4_pseudo): New function is added.
991 (rib_delete_ipv4_pseudo): Likewise.
992
993 * rib.h : Delete INTERFACE_UNKNOWN definition. Add prototype for
994 pseudo interface functions.
995
996 * rt_netlink.c (netlink_link_change): Check for pseudo interface.
997
998 * zserv.c (ip_route): When destination is pseudo interface, call
999 rib_add_ipv4_pseudo().
1000
1001 * zserv.c (no_ip_route): Trim "unknown" argument.
1002
10032000-07-26 kunitake@dti.ad.jp
1004
1005 * if_ioctl.c (if_get_hwaddr): Fix hardware address length from 8
1006 to 6.
1007
1008 * rtadv.c (rtadv_send_packet): Fix shift bug for hardware address.
1009
10102000-07-24 Akihiro Mizutani <mizutani@dml.com>
1011
1012 * interface.c: Use install_default() for common VTY commands.
1013
10142000-07-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1015
1016 * if_ioctl.c (interface_list_ioctl): A interface list size is
1017 calculated from ifreq->if_addr.sa_len. This is for OpenBSD.
1018
1019 * ioctl.c (if_get_mtu): Remove codes for SIOCGIFDATA.
1020
10212000-07-09 Chris Dunlop <chris@onthe.net.au>
1022
1023 * if_ioctl.c (if_get_index): Add check for HAVE_BROKEN_ALIASES.
1024
10252000-07-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1026
1027 * zserv.c (zebra_client_read): Add ZEBRA_REDISTRIBUTE_{ADD,DELETE}
1028 message handling.
1029
10302000-07-02 David Lipovkov <davidl@nbase.co.il>
1031
1032 * zserv.c: "ip route A.B.C.D/M unknown" command is added.
1033
10342000-06-28 Michael Rozhavsky <mike@nbase.co.il>
1035
1036 * rib.c: Remove old kernel route when new route comes in.
1037
10382000-06-13 David Lipovkov <davidl@nbase.co.il>
1039
1040 * rib.c (rib_if_up): Add check for unknown interface.
1041
10422000-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1043
1044 * rib.h: Define INTERFACE_UNKNOWN.
1045
10462000-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1047
1048 * Makefile.am (EXTRA_DIST): Move irdp.c until implementation is
1049 finished.
1050
10512000-06-05 David Lipovkov <davidl@nbase.co.il>
1052
1053 * interface.c (if_zebra_delete_hook): Call rib_if_delete().
1054
1055 * redistribute.c (zebra_interface_delete_update): New function.
1056
1057 * redistribute.h (zebra_interface_delete_update): New function
1058 prototype.
1059
1060 * rib.c (rib_if_delete): New function. Walk down all routes and
1061 delete all on the interface.
1062
1063 * rib.h: New function prototype.
1064
1065 * rt_netlink.c (netlink_link_change): Call
1066 zebra_interface_delete_update ().
1067
10682000-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1069
1070 * if_ioctl.c (interface_info_ioctl): Check interface's flag before
1071 checking interface's address.
1072
10732000-04-26 Jochen Friedrich <jochen@nwe.de>
1074
1075 * GNOME-PRODUCT-ZEBRA-MIB: New file.
1076
1077 * GNOME-SMI: New file.
1078
10792000-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1080
1081 * irdp.c: New file from 1997 development code.
1082 * irdp.h: Likewise.
1083
10842000-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1085
1086 * rtadv.c (rtadv_send_packet): Enclose router advertisement
1087 logging with IS_ZEBRA_DEBUG_PACKET.
1088
10892000-04-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1090
1091 * zserv.c (zebra_client_close): Remove client structure from
1092 client_list when connection is terminated.
1093
10942000-03-21 David Lipovkov <davidl@nbase.co.il>
1095
1096 * connected.c (connected_add_ipv4): Allows all necessary structure
1097 updates for connected route, but doesn't insert it into rib if
1098 it's interface is down.
1099
11002000-01-21 Hideto Yamakawa <hideto.yamakawa@soliton.co.jp>
1101
1102 * rtread_getmsg.c: Set some definition for Solaris 2.5 and Solaris
1103 2.5.1.
1104
11052000-01-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1106
1107 * rib.c (no_ipv6_route_ifname): Fix buf of cheking return value
1108 from str2prefix_ipv6().
1109
11102000-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1111
1112 * rt_socket.c: Revert to use RTF_HOST for IPv4 with /32 route and
1113 IPv6 with /128 routes.
1114 (kernel_rtm_ipv4): In case of /32 route's gateway is interface. It
1115 should have mask for cloning.
1116
11171999-12-26 Jochen.Friedrich@genorz.de
1118
1119 * interface.c (if_dump_vty): Fix a bug of missing VTY_NEWLINE.
1120
11211999-12-23 Alex Zinin <zinin@amt.ru>
1122 * interface.*: dynamic int up/down support
1123
11241999-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1125
1126 * ipforward_proc.c (dropline): Move dropline() from lib/dropline.c
1127
1128 * rtread_proc.c (proc_route_read): Don't use dropline().
1129
11301999-12-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1131
1132 * kernel_socket.c (rtm_read): When message is RTM_GET, it has own
1133 process's pid.
1134
11351999-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1136
1137 * main.c (main): Change to default log output to ZLOG_STDOUT.
1138
1139 * zserv.c (zebra_serv): More detailed error print.
1140
11411999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1142
1143 * kernel_socket.c (rtm_read): Check old pid for static route
1144 insertion check.
1145
11461999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1147
1148 * interface.c (if_dump_vty): BSDI/OS uses 64bit for interface
1149 statistics counter.
1150
1151 * mtu_kvm.c: New file added.
1152
11531999-11-27 Vladimir B. Grebenschikov <vova@express.ru>
1154
1155 * kernel_socket.c (rtm_write): Set RTF_CLONING flag for
1156 route to the directly connected interface.
1157
11581999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1159
1160 * rt_socket.c: Delete USE_HOST_BIT definition.
1161
11621999-11-21 Michael Handler <handler@sub-rosa.com>
1163
1164 * rtread_getmsg.c: Undef some definition to resolve conflict.
1165
11661999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1167
1168 * kernel_socket.c (rtm_write): Change to use pre stored struct_dl
1169 value for gateway specification.
1170
11711999-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1172
1173 * rt_socket.c (kernel_rtm_ipv4): Even mask is 32 under IPv4 or
1174 128 under IPv6, don't use RTF_HOST.
1175
11761999-11-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1177
1178 * Makefile.am (EXTRA_DIST): Add rtread_getmsg.c.
1179
11801999-11-21 Michael Handler <handler@sub-rosa.com>
1181
1182 * rtread_getmsg.c: Added for Solaris 2.6 support.
1183
11841999-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1185
1186 * rtread_sysctl.c (rtm_read_route): RTM_DELETE handling added.
1187
1188 * rt_socket.c (kernel_read): Better BSD routing socket support.
1189
11901999-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1191
1192 * client_main.c: Disable making obsolete zebra test `client'
1193 command.
1194
11951999-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1196
1197 * zebra.c: Renamed to zserv.c.
1198
1199 * zebra.h: Global definitions are moved to lib/zebra.h. Then
1200 renamed to zserv.h.
1201
12021999-10-15 Jordan Mendelson <jordy@wserv.com>
1203
1204 * if_ioctl.c: Add Linux 2.2.X's alias support and dynamic
1205 interface. Remove ugly MAX_INTERFACE handling codes.
1206
12071999-09-17 Satosi KOBAYASI <kobayasi@north.ad.jp>
1208
1209 * Fix serious bug of IPv6 route deletion.
1210
12111999-09-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1212
1213 * ioctl.c (if_set_prefix): Properly set broadcast address.
1214
12151999-09-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1216
1217 * rib.c (rib_add_ipv6, rib_delete_ipv6): now protocol daemons
1218 can install connected route to kernel via zebra
1219
12201999-08-24 VOP <vop@unity.net>
1221
1222 * rib.c: Include "sockunion.h"
1223
12241999-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
1225
1226 * ipforward.h: New file.
1227
1228 * zebra.h: Obsolete message ZEBRA_GET_ALL_INTERFACE,
1229 ZEBRA_GET_ONE_INTERFACE, ZEBRA_GET_HOSTINFO are deleted.
1230
12311999-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1232
1233 * zebra.h (ZEBRA_INTERFACE_ADDRESS_ADD):
1234 ZEBRA_INTERFACE_{ADD,DELETE} added.
1235
12361999-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1237
1238 * rib.c: show ip route A.B.C.D works.
1239
1240 * zebra.c (zebra_read_ipv4): Add ifindex to zebra messages.
1241
12421999-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1243
1244 * zebra.h: New Zebra message ZEBRA_INTERFACE_{ADD,DELETE} added.
1245
12461999-08-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1247
1248 * interface.h: New file.
1249 * Makefile.am: Add interface.h
1250
12511999-08-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1252
1253 * redistribute.c (zebra_redistribute): give ifindex to client.
1254
12551999-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1256
1257 * main.c (longopts): -k, --keep_kernel option added.
1258
12591999-07-18 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1260
1261 * rt_socket.c (rtm_write): forgot closing socket bug fixed.
1262
12631999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1264
1265 * rib.c (show_ipv6_cmd): if rib is link show interface name.
1266
12671999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1268
1269 * rt_socket.c (rtm_write): use sockaddr_dl when null gateway.
1270
12711999-07-16 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1272
1273 * rt_socket.c (rtm_write): ipv6 route table bug fixed.
1274
12751999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1276
1277 * zebra.c (zebra_read_ipv6): read link prefix from ospf6 support
1278
12791999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1280
1281 * rt_socket.c (kernel_rtm_ipv6): gate treatment bug fixed.
1282
12831999-07-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1284
1285 * if_sysctl.c (ifm_read): Clear sockunion argument before fetching
1286 data. Suggested by "Chris P. Ross" <cross@eng.us.uu.net>
1287
12881999-07-08 HEO SeonMeyong <seirios@Matrix.IRI.Co.Jp>
1289
1290 * interface.c (if_tun_add): Add KAME's gif tunnel setting codes.
1291
12921999-06-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1293
1294 * zebra.c (zebra_serv): Only accept loopback address connection.
1295
12961999-06-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1297
1298 * zebra.h (ZEBRA_ROUTE_EXTERNAL): Add zebra messages flags
1299
13001999-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1301
1302 * ipforward_proc.c: ipforward_on () and ipforward_off () added.
1303
13041999-06-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1305
1306 * ipforward_proc.c (ipforward_ipv6): Check for IPv6 forwarding
1307 using /proc file system is added.
1308
13091999-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1310
1311 * if_ioctl.c (if_get_index): Interface index set bug is fixed by
1312 adding #else at the middle of function. Suggested by David Luyer
1313 <luyer@ucs.uwa.edu.au>.
1314
13151999-05-29 <kunihiro@zebra.org>
1316
1317 * rt_ioctl.c: Comment out #include <linux/ipv6_route.h>.
1318
13191999-05-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1320
1321 * zebra.h (ZEBRA_ROUTE_MAX): Add new define for the max value of
1322 the sort of routes.
1323
13241999-05-25 Patrick Koppen <koppen@rhrk.uni-kl.de>
1325
1326 * rt_netlink.c (netlink_socket): Make netlink socket non-blocking.
1327 (netlink_parse_info): If errno is EWOULDBLOCK then continue to
1328 parse the message.
1329 (netlink_talk): Likewise
1330
13311999-05-17 <kunihiro@zebra.org>
1332
1333 * redistribute.c (zebra_check_addr): Added for loopback address
1334 check.
1335
13361999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1337
1338 * rt_netlink.c (netlink_route_change): Tempolary bypass ipv6 route
1339 change treatment.
1340
1341 * Makefile.am (noinst_HEADERS): redistribute.h added.
1342
1343 * redistribute.h: New file.
1344
13451999-05-14 Stephen R. van den Berg <srb@cuci.nl>
1346
1347 * zebra.c (show_table): Show all table configuration DEFUN.
1348 (config_table): Config table number DEFUN.
1349
1350 * rt_netlink.c: Add support for multiple routing table.
1351
1352 * rib.c (rib_weed_table): New function added for delete all
1353 routes from specified routing table.
1354
1355 * main.c (signal_init): SIGTERM call sigint.
1356 (sigint): Loggging more better message.
1357
13581999-05-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1359
1360 * rt_netlink.c: Change log () to zlog ().
1361
13621999-05-07 <kunihiro@zebra.org>
1363
1364 * zebra.h (ZEBRA_ROUTE_OSPF6): Added for ospf6d route.
1365
13661999-04-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1367
1368 * interface.c: Add `no ip address' command.
1369
13701999-04-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1371
1372 * rt_netlink.c (kernel_read): Function added for asynchronous
1373 zebra between kernel communication.
1374
13751999-03-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1376
1377 * rtread_sysctl.c (rtm_read): Fix address memcopy overrun bug.
1378 Reported by Achim Patzner <ap@bnc.net>.
1379
13801999-03-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1381
1382 * Makefile.am: Install configuration sample with 600 permission.
1383
13841999-03-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1385
1386 * Makefile.am: Add -I.. to INCLUDES.
1387
13881999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
1389
1390 * syslog support added
1391
13921999-02-17 Peter Galbavy <Peter.Galbavy@knowledge.com>
1393
1394 * if_sysctl.c (interface_list): allocated memory free when unknown
1395 ifm_type is returned.
1396
1397 * ioctl.c (if_get_mtu): added SIOCGIFDATA treatment.
1398
13991998-12-15 Magnus Ahltorp <map@stacken.kth.se>
1400
1401 * interface.c: Header include added.
1402
14031998-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1404
1405 * rt.h (kernel_delete_ipv6): change int index to unsigned int index.
1406
14071998-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1408
1409 * if_ioctl.c (interface_list_ioctl): interface flag must be
1410 checked before check addresses of the interface.
1411
14121998-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1413
1414 * Makefile.am (INCLUDES): add @INCLUDES@ for Linux IPv6.
1415
14161998-10-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1417
1418 * ioctl.c: Linux version before 2.1.0 need interface route setup.
1419
14201998-09-15 HEO SeonMeyong <seirios@matrix.iri.co.jp>
1421
1422 * change HYDRANGEA to KAME
1423
14241998-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1425
1426 * if_ioctl.c (if_addr_ioctl): set address family for getting
1427 interface's address.
1428 (if_get_index): silently return when can't get interface's index.
1429
14301998-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1431
1432 * main.c (main): batch mode option '-b' added.
1433
14341998-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1435
1436 * ioctl.c (if_set_prefix): add `ip address IPV4ADDR' command.
1437 * interface.c (shutdown_if): add interface shutdown and no
1438 shutdown command.
1439
14401998-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1441
1442 * rib.c (rib_add_ipv6): delete rib_add_in6.
1443
14441998-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1445
1446 * main.c: retain flag is added.
1447
14481998-07-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1449
1450 * rtable.[ch]: merged with rib.[ch]
1451
14521998-07-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1453
1454 * connected.h: renamed from ifa.h.
1455
14561998-06-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1457
1458 * rename if.c to interface.c
1459 * rename ifa.c to connected.c
1460
1461 * Porting to Debian GNU/Linux 2.0 (hamm).
1462
14631998-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1464
1465 * rt_netlink.c: renamed from krt_netlink.c
1466
1467 * fib.c: deleted.
1468 * rt_kvm.c: deleted.
1469 * rtread_getmsg.c: deleted.
1470
14711998-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1472
1473 * if.c (multicast): add multicast flag [un]set fucntion.
1474
14751998-05-19 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1476
1477 * rt_socket.c: Modify for compile on Solaris, but dont't work it.
1478 rt_socket.c have some undefined function, so add directive "IMPLEMENT"
1479
14801998-05-18 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1481
1482 * zebra.c: Modify for compile on Solaris.
1483
14841998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1485
1486 * main.c: change CONFDIR to SYSCONFDIR.
1487
14881998-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1489
1490 * .cvsignore: added.
1491
14921998-04-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1493
1494 * client.c: moves to ../lib.
1495
14961998-03-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1497
1498 * if_ioctl.c (if_get_addr): Change address copy from memcopy() to
1499 structure assignment.
1500
15011998-03-30 URA Hiroshi <ura@yamato.ibm.co.jp>
1502
1503 * if_sysctl.c (ifm_interface_add): sdl->sdl_data copy bug fixed.
1504
15051998-02-23 "Hannes R. Boehm" <hannes@boehm.org>
1506
1507 * if.c (if_init): add config_exit_cmd and config_help_cmd.
1508
15091998-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
1510
1511 * rt_ioctl.c (route_ioctl): EPERM treatment added.
1512
15131998-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1514
1515 * rt_socket.c (kernel_read): communication port zebra between
1516 kernel is now handled by kernel_read.
1517
15181998-01-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1519
1520 * main.c (main): zebra [-P port] can specify vty port number.
1521
15221997-12-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1523
1524 * zebra.c: change select will be block.
1525
15261997-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1527
1528 * add static route treatment.
1529
15301997-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1531
1532 * rt_netlink.c: add netlink support over GNU/Linux system.
1533
15341997-11-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1535
1536 * all inet_addr is changed to inet_aton.
1537
1538 * zebra.c (ip_route): add ip route command for static routes.
1539
15401997-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1541
1542 * if.c (if_flag_dump): Linux port of if_flag_dump and _vty.
1543
15441997-11-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1545
1546 * if.c: add interface command.
1547
15481997-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1549
1550 * ipforward_proc.c : Now works on Linux.
1551
15521997-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1553
1554 * command.c : add completion feature.
1555
15561997-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1557
1558 * vty.c (vty_command): add vty interface.
1559
15601997-10-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1561
1562 * zebra.c: add verbose mode.
1563
15641997-10-12 SonMyong Ho <s-ho@Matrix.IRI.Co.Jp>
1565
1566 * Hydrangea for FreeBSD supported
1567 * in.h: add some prototype.
1568
15691997-10-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1570
1571 * rt_socket.c and rtread.c completely rewritten.
1572
15731997-10-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1574
1575 * rt_socket.c: rename kernel_sock to routing_socket
1576
15771997-10-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1578
1579 * if.c (if_new): interface structure change from linklist to vector.
1580
15811997-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1582
1583 * vector.c (vector_init): create vector related function
1584
15851997-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1586
1587 * Makefile.in: add tags target
1588
1589 * start IPv6 support for INRIA FreeBSD.
1590