blob: 95d072cbff8eb1ba3a1d4a26dc5c65a9b8ee2726 [file] [log] [blame]
paule31f2292005-02-19 02:00:26 +000012005-02-19 Paul Jakma <paul@dishone.st>
2
3 * zserv.c: (zebra_read_ipv6) replace the char * arithmetic with
4 STREAM_READABLE.
5
paul1e193152005-02-14 23:53:05 +000062005-02-14 Paul Jakma <paul@dishone.st>
7
8 * Not all Linux netlink systems have IFLA_WIRELESS
9
ajs6a52d0d2005-01-30 18:49:28 +0000102005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
11
12 * ioctl.c: (if_ioctl,if_ioctl_ipv6,if_get_flags) Replace perror with
13 zlog_err.
14 * ioctl_solaris.c: (if_ioctl,if_ioctl_ipv6) Replace perror with
15 zlog_err.
16
ajs4be019d2005-01-29 16:12:41 +0000172005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
18
ajs4460e7a2005-01-29 17:07:40 +000019 * if_ioctl_solaris.c: (interface_list_ioctl) Save errno before calling
20 zserv_privs.change.
21 * ioctl{,_solaris}.c: (if_ioctl,if_ioctl_ipv6) Save errno before calling
22 zserv_privs.change.
23 * ipforward_solaris.c: (solaris_nd) Save errno before calling
24 zserv_privs.change.
25 * irdp_main.c: (irdp_sock_init) Save errno before calling
26 zserv_privs.change.
27
282005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
29
ajs4be019d2005-01-29 16:12:41 +000030 * rt_netlink.c: (netlink_socket,netlink_request,netlink_parse_info,
31 netlink_talk) Save errno before calling zserv_privs.change.
32
paulc15cb242005-01-24 09:05:27 +0000332005-01-24 Martin Pot <mpot at martybugs.net>
34
35 * zebra/rt_netlink.c: ignore wireless newlink netlink messages.
36
hasso6f2c27a2005-01-18 13:44:35 +0000372005-01-18 Hasso Tepper <hasso at quagga.net>
38
39 * interface.c: Better statistics output in "show interface" command in
40 case of /proc being used.
41
hasso583d8002005-01-16 23:34:02 +0000422005-01-17 Hasso Tepper <hasso at quagga.net>
43
44 * main.c: With --nl-bufsize argument is required.
45
paul865b8522005-01-05 08:30:35 +0000462005-01-05 Paul Jakma <paul@dishone.st>
47
48 * zserv.c: (zebra_accept) Comment out setting of socket to NONBLOCK
49 for now, as we dont actually deal with with resending.... See
50 bugzilla #122, fix from wawa@yandex-team.ru (Vladimir Ivanov).
51 * kernel_socket.c: (routing_socket) ditto.
52
ajsb99760a2005-01-04 16:24:43 +0000532005-01-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
54
55 * rtadv.c: (rtadv_recv_packet,rtadv_send_packet) Use ZCMSG_FIRSTHDR
56 instead of CMSG_FIRSTHDR.
57
ajs341a8f12004-12-22 16:32:16 +0000582004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
59
60 * connected.c: (connected_add_ipv4) Limit warning about /32 addresses
61 with no peer specified to PtP interfaces only.
62
hassob8adec12004-12-18 16:03:28 +0000632004-12-18 Hasso Tepper <hasso at quagga.net>
64
65 * zebra_vty.c: Fix "show ipv6 route <proto>" command help and make it
66 work for isis routes.
67
gdt6a250b02004-12-09 14:48:12 +0000682004-12-09 Greg Troxel <gdt@fnord.ir.bbn.com>
69
70 * kernel_socket.c (rtmsg_debug): char * => const char *
71
ajs274a4a42004-12-07 15:39:31 +0000722004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
73
ajsb6178002004-12-07 21:12:56 +000074 * *.c: Change level of debug messages to LOG_DEBUG.
75
762004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
77
ajs274a4a42004-12-07 15:39:31 +000078 * main.c: (main) The 2nd argument to openzlog has been removed.
79 So stdout logging will no longer be enabled by default.
80 * irdp_main.c: (irdp_finish) Reduce severity of shutdown message
81 from LOG_WARNING to LOG_INFO.
82
ajs887c44a2004-12-03 16:36:46 +0000832004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
84
85 * main.c: (sigint) Use zlog_notice for termination message.
86 (main) Add a startup announcement using zlog_notice.
87
hassoaccb1562004-11-25 19:21:07 +0000882004-11-25 Hasso Tepper <hasso at quagga.net>
89
90 * irdp_interface.c: Remove comment from DEFUN, it breaks vtysh because
91 it confuses extract.pl.
hassoc0652302004-11-25 19:33:48 +000092 * main.c: Make group to run as configurable.
hassoaccb1562004-11-25 19:21:07 +000093
hasso6bd7c6a2004-10-28 17:32:27 +0000942004-10-28 Hasso Tepper <hasso at quagga.net>
95
96 * interface.c: Remove dead "ip tunnel" command.
97
paul06f953f2004-10-22 17:00:38 +0000982004-10-22 Paul Jakma <paul@dishone.st>
99
100 * irdp_main.c: change setsockopt_pktinfo to setsockopt_ifindex
101
hasso3fb9cd62004-10-19 19:44:43 +00001022004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
103
104 * rt_netlink.c: (netlink_interface_addr) For PtP interfaces, ignore
105 tb[IFA_ADDRESS] if it's the same as tb[IFA_LOCAL].
106 * interface.c: (ip_address_install) Use new ipv4_broadcast_addr
107 function.
108 * connected.c: (connected_up_ipv4) Use CONNECTED_POINTOPOINT_HOST
109 macro.
110 (connected_down_ipv4) ditto.
111 (connected_add_ipv4) Validate destination address, print warnings
112 if it does not make sense.
113
hassoc1eaa442004-10-19 06:26:01 +00001142004-10-19 Hasso Tepper <hasso at quagga.net>
115
116 * zserv.c: Fix regression introduced with zserv cleanup.
117
hassoc75105a2004-10-13 10:33:26 +00001182004-10-13 Hasso Tepper <hasso at quagga.net>
119
120 * zebra_snmp.c: Remove defaults used to initialize smux connection to
121 snmpd. Connection is initialized only if smux peer is configured.
hassob71f00f2004-10-13 12:20:35 +0000122 * zserv.c: Remove useless warnings "forwarding is already on".
hassoc75105a2004-10-13 10:33:26 +0000123
hasso39ff11d2004-10-12 15:55:19 +00001242004-10-12 Hasso Tepper <hasso at quagga.net>
125
126 * zebra_vty.c: Unbreak "show ip route" command help and make it work
127 for isis routes.
hasso39db97e2004-10-12 20:50:58 +0000128 * interface.c(if_dump_vty): Show IPv6 addresses in "show interface"
129 output. Fixes Bugzilla #119.
130 * *.c: Make some strings const and some (unsigned) casts to fix
131 compiler warnings.
hasso39ff11d2004-10-12 15:55:19 +0000132
hassofce954f2004-10-07 20:29:24 +00001332004-10-07 Hasso Tepper <hasso at quagga.net>
134
135 * connected.c, main.c, rt_netlink.c, rtadv.c, zebra_rib.c, zserv.c:
136 Fix warnings: make strings const, signed -> unsigned.
137
paul72164662004-10-05 14:39:43 +00001382004-10-05 Paul Jakma <paul@dishone.st>
139
140 * irdp_packet.c: (parse_irdp_packet) style issues.
141 Use sockopt_iphdrincl_swab_systoh.
142 Try unbork the code. Checksum the ICMP data and actually
143 compare it to received checksum. Check data length against
144 claimed length in header.
145 Always use ntoh.. when accessing addresses, even when the
146 comparison happens to be endian-safe.
147 (send_packet) minor style isues. Use
148 sockopt_iphdrincl_swab_htosys.
149 (irdp_iph_hton/ntoh) IP header to/from network/host order.
150
hassoeef1fe12004-10-03 18:46:08 +00001512004-10-03 Gilad Arnold <gilad.arnold at terayon.com>
152
153 * interface.c, interface.h: A new prefix tree of connected subnets is
154 associated with each interface structure in zebra, in which each
155 live (ie, non-synthetic) node holds a list of installed addresses
156 that belong to that prefix. Remove secondary address logic from cli.
157 See [quagga-dev 872] for detailed explanation.
158 * connected.c: Use if_subnet_add() and if_subnet_delete().
159
hasso18a6dce2004-10-03 18:18:34 +00001602004-10-03 James R. Leu <jleu at mindspring.com>
161
162 * router-id.c, router-id.h: New files. Router id selection process. If
163 there is non 127.x.x.x address in loopack interface, lowest of them
164 is chosen. If there isn't, lowest from other interfaces addresses
165 are chosen. "router-id x.x.x.x" vty command to manual override.
166 * Makefile.am: Compile new files.
167 * main.c: Initialize router id.
168 * redistribute.c: Add interface addresses into router id selection
169 lists as they (dis)appear.
170 * zserv.c, zserv.h: Sending router id related messages to daemons.
171
hassoc9e52be2004-09-26 16:09:34 +00001722004-09-26 Hasso Tepper <hasso at quagga.net>
173
174 * irdp_interface.c, irdp_main.c, irdp_packet.c, rt_netlink.c,
175 rtadv.c, zebra_vty.c: Fix compiler warnings.
176
paul0c0f9112004-09-24 08:24:42 +00001772004-09-24 Paul Jakma <paul@dishone.st>
178
paul26f7a242004-09-24 08:45:10 +0000179 * irdp_interface.c: (no_ip_irdp_address_preference_cmd)
180 add missing listnode declaration.
181
1822004-09-24 Paul Jakma <paul@dishone.st>
183
paul0c0f9112004-09-24 08:24:42 +0000184 * irdp_{interface,main}.c: lists typedef removal cleanup.
185 update some list loops to LIST_LOOP. some miscellaneous style
186 and indent fixups.
187 (no_ip_irdp_address_preference_cmd) Fix delete of referenced node
paul26f7a242004-09-24 08:45:10 +0000188 in loop.
paul0c0f9112004-09-24 08:24:42 +0000189 * irdp_packet.c: (irdp_recvmsg) Fix buggy assignment of integer
190 to pointer.
191 * if_ioctl{,_solaris}.c: lists typedef removal cleanup.
192 update some list loops to LIST_LOOP.
193
hasso52dc7ee2004-09-23 19:18:23 +00001942004-09-23 Hasso Tepper <hasso at quagga.net>
195
196 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
197
paul44983cf2004-09-22 13:15:58 +00001982004-09-22 Paul Jakma <paul.jakma@sun.com>
199
200 * zserv.c: (zsend_route_multipath) fix nasty bad memset of struct
201 in_addr to sizeof(struct in6_addr), causing odd and hard to debug
202 crash.
203
hassoc34b6b52004-08-31 13:41:49 +00002042004-08-31 Hasso Tepper <hasso at quagga.net>
205
206 * main.c, rt_netlink.c: Added -s command line switch for tuning
207 netlink receive buffer size in Linux to avoid buffer overruns.
208
gdta5ea6872004-08-26 13:24:00 +00002092004-08-26 Miles Nordin <carton@Ivy.NET>
210
211 * ipforward_sysctl.c (mib_ipv6): Use size_t for len, per
212 sysctl(3), rather than int. (Needed on NetBSD/alpha to display
213 forwarding status correctly.)
214
paul3e0b3a52004-08-23 18:58:32 +00002152004-08-23 Paul Jakma <paul@dishone.st>
216
217 * zserv.c: (zebra_init) remove implicit ip forward enabling
218
paul0de1cde2004-08-19 04:45:33 +00002192004-08-19 Paul Jakma <paul@dishone.st>
220
221 * irdp_main.c: update to match sockopt renames.
222 * irdp_packet.c: include sockopt.h and update to match sockopt
223 renames.
224
gdt57492d52004-08-11 18:06:38 +00002252004-08-11 Greg Troxel <gdt@fnord.ir.bbn.com>
226
227 * rtadv.c (rtadv_send_packet): Allocate space for control messages
228 more carefully; it was wrong on NetBSD/sparc where CMSG alignment
229 is to 8 bytes instead of 4, and overwriting the address. Use the
230 provided macros for determining lengths.
231
paul5b73a672004-07-23 15:26:14 +00002322004-07-23 Sowmini Varadhan <Sowmini.Varadhan@Sun.COM>
233
234 * if_ioctl_solaris.c: HAVE_IPV6 ifdef fixups
235 * zserv.c: ditto
236 * ioctl_solaris.c: ditto.
237 * interface.c: cast for LLADDR
238 * interface.h: Add guards, include redistribute.h and remove
239 extraneous definitions of zebra_interface_{up,down}_update
240 * ioctl.h: Add AF_IOCTL define for non SOLARIS_IPV6
241 * redistribute.h: include dependent header, zserv.h
242 * zserv.h: include dependent header, rib.h
243
paul1470baf2004-07-23 15:25:01 +00002442004-07-23 Paul Jakma <paul@dishone.st>
245
246 * irdp_main.c: use setsockopt_pktinfo_ipv4
247 * irdp_packet.c: use SOPT_SIZE_CMSG_PKTINFO_IPV4 and
248 getsockopt_pktinfo_ifindex()
249
gdtcced60d2004-07-13 16:45:54 +00002502004-07-13 David Wiggins <dwiggins@bbn.com
251
252 * kernel_socket.c (rtm_flag_dump): terminate buffer with '\0', not '0'.
253
hasso25dac852004-07-13 03:06:51 +00002542004-07-13 Hasso Tepper <hasso@estpak.ee>
255
256 * irdp_main.c: Add privilege change.
257
hasso996933f2004-07-12 16:32:56 +00002582004-07-12 Hasso Tepper <hasso@estpak.ee>
259
260 * irdp_interface.c: follow common style while naming vty command
261 functions. Avoids confusion in extract.pl.
262
gdt87efd642004-06-30 17:36:11 +00002632004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
264
265 * main.c: define thread_master variable so that linking with
266 libzebra.so doesn't fail. Arguably zclient.o should be in a
267 separate library, but this is far less disruptive.
268
hassoca776982004-06-12 14:33:05 +00002692004-06-12 Robert Olsson <Robert.Olsson at data.slu.se>
270
271 * Added IRDP support.
272
hasso3e31cde2004-05-18 11:58:59 +00002732004-05-18 Hasso Tepper <hasso@estpak.ee>
274
275 * rtadv.c: Removed "[no] ipv6 nd send-ra" command. Replaced "ipv6 nd
276 prefix-advertisement" with "ipv6 nd prefix". Rewrite syntax of
277 "ipv6 nd prefix" command to allow various combinations of parameters
278 and flags. No defaults in configuration. Replaced on-link and
279 autoconfig with off-link and no-autoconfig flags in command syntax.
280 Cosmetic fixes in all commands. Documentation to reflect all changes.
281
paul19877dd2004-05-11 10:49:35 +00002822004-05-11 Paul Jakma <paul@dishone.st>
283
284 * Makefile.am: support for IOCTL_METHOD, as per Sowmini's patch.
paul48a46fa2004-05-11 10:55:22 +0000285 * if_ioctl_solaris.c: Fixup some erroneous privilege changes and
286 add privs.h header.
287 * ioctl_solaris.c: ditto
paulc50ae8b2004-05-11 11:31:07 +0000288 * ioctl.h: Add if_ioctl_ipv6 prototype and AF_IOCTL for SOLARIS_IPV6
289 * kernel_socket.c: Fix SAROUNDUP, compiler doesnt like do..while
290 RHS in assignments :)
291 * redistribute.c: (zebra_interface_delete_update) only used
292 if RTM_IFANNOUNCE and NETLINK is available.
293
paulb9df2d22004-05-09 09:09:59 +00002942004-05-09 Paul Jakma <paul@dishone.st>
295
296 * zserv.c: (zsend_route_multipath) Set the nexthop_num
297 field correctly. Add NEXTHOP_TYPE_IPV6_IFNAME for v6.
298 Conditionally set ZAPI_MESSAGE_METRIC flag - only for adds.
299 (zsend_ipv4_add) cruft, deleted.
300 (zsend_ipv4_delete) ditto.
301 (zsend_ipv6_add) ditto.
302 (zsend_ipv6_delete) ditto.
paul44145db2004-05-09 11:00:23 +0000303 * ioctl.c: (if_get_mtu) set mtu6 to mtu
304 * mtu_kvm.c: (if_kvm_get_mtu) set mtu6 to mtu
305 * rt_netlink.c: (netlink_interface) set mtu6 to mtu
306 (netlink_link_change) ditto
paul66e94882004-05-09 17:19:24 +0000307 * ipforward_solaris.c: fix typo of ND variable.
paul88424682004-05-09 18:21:35 +0000308 * if_ioctl_solaris.c: Add zprivs support.
309 * ioctl_solaris.c: ditto.
paul66e94882004-05-09 17:19:24 +0000310
paulb9df2d22004-05-09 09:09:59 +00003112004-05-09 Sowmini Varadhan <sowmini.varadhan@sun.com>
312
313 * zserv.c: (zsend_ipv{4,6}_{add,delete}_multipath) collapsed
314 into single zsend_route_multipath function.
315 (zsend_interface_{up,down}) collapsed into zsend_interface_update.
316 (zsend_interface_address_{add,delete}) collapsed into
317 zsend_interface_address.
318 (zsend_interface_add) send mtu6.
319 (zsend_interface_delete) ditto.
320 (zebra_write) remove unused function.
321 (various) Apply static qualifier. Add comments.
322 * zserv.h: Definitions changed as per above.
323 * redistribute.c: Changes as per zserv.c.
paul44145db2004-05-09 11:00:23 +0000324 * interface.c: (if_delete_update) only used with HAVE_NETLINK
325 and RTM_IFANNOUNCE.
326 (if_flag_dump_vty) Solaris IFF_IPV4 and IFF_IPV6 if flags
327 (if_dump_vty) print mtu6 if not same as mtu
paul88424682004-05-09 18:21:35 +0000328 * if_ioctl_solaris.c: New file, Solaris interface ioctl methods.
329 * ioctl_solaris.c: New file, Common solaris ioctl methods.
330
hasso34195bf2004-04-06 12:07:06 +00003312004-04-06 Krzysztof Oledzki <oleq@ans.pl>
332
333 * rt_netlink.c: Do not ignore metric when reading kernel routing
334 table on Linux with rt_netlink interface.
335
3362004-03-18 Hasso Tepper <hasso@estpak.ee>
hassof1d92e12004-03-18 15:40:33 +0000337
338 * interface.c: Temporary fix for handling secondary addresses
339 with label.
340
hasso55906722004-02-11 22:42:16 +00003412004-02-12 Hasso Tepper <hasso@estpak.ee>
hassof1d92e12004-03-18 15:40:33 +0000342
hasso55906722004-02-11 22:42:16 +0000343 * zserv.c: Added "ipv6 forwarding" command.
344
gdtb27900b2004-01-08 15:44:29 +00003452004-01-08 Greg Troxel <gdt@fnord.ir.bbn.com>
346
347 * kernel_socket.c (kernel_read): Use sockaddr_storage in buffer
348 for reading kernel messages to ensure enough space (necessary on
349 Solaris due to sockaddr_dl being large). Thanks to Sowmini
350 Varadhan for help with this change.
351
gdt9ccabd12004-01-06 18:23:02 +00003522004-01-06 Greg Troxel <gdt@t1.ir.bbn.com>
353
354 * rtadv.c (rtadv_send_packet): Change perror to zlog_err.
355
gdtdbee01f2004-01-06 00:36:51 +00003562004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
gdt4bfbea82004-01-06 01:13:05 +0000357 * kernel_socket.c (ifm_read): Major cleanup. Use Sowmini's code
358 to find the sockaddr_dl in all cases, narrowing the Solaris ifdef
359 to just the accomodation of broken kernels. Check sockaddr_dl
360 carefully up front, and later assume any non-NULL sdl pointer is
361 valid. Clean up types and variable declarations, and rename
362 WRAPUP to SAROUNDUP to make the name fit the behavior.
363
3642004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
gdtdbee01f2004-01-06 00:36:51 +0000365
366 * kernel_socket.c (kernel_read): Add a sockaddr_dl to the ifmsg
367 structure, because on Solaris sockaddr_dl is far larger than the
368 base sockaddr structure. (The code had previously been failing to
369 read all the data.)
gdt4bfbea82004-01-06 01:13:05 +0000370
gdtda26e3b2004-01-05 17:20:59 +00003712004-01-05 Greg Troxel <gdt@ahi.ir.bbn.com>
372
373 * kernel_socket.c (kernel_read): Look up interfaces by index
374 first, so that state changes which do not include a sockaddr_dl
375 now work. Add many sanity checks. In
376 particular, do not assume that a sockaddr_dl follows a message
377 without checking the ifm_addrs flags, and do not trust the length
378 in a sockaddr_dl. Add/clarify many comments.
379
gdt4b5e1352003-12-03 17:54:34 +00003802003-12-03 Greg Troxel <gdt@poblano.ir.bbn.com>
381
382 * rtadv.c: reorder includes to avoid compiler warning (define
383 structs before using them in prototypes)
384
hasso647e4f12003-05-25 11:43:52 +00003852003-05-25 Jim Crumpler <Jim.Crumpler@edion.com>
386
387 * zserv.c: Add "ip forwarding" command.
388
paul445f1432003-05-16 19:00:31 +00003892003-05-16 Gilad Arnold <gilad.arnold@terayon.com>
390
391 * zebra_rib.c: Fix memory leaks for ifname nexthops
392
3932003-04-19 Israel Keys <ikeys@agile.tv>
394
395 * rt_netlink.c: BLOCK on netlink while initialising
396
3972003-02-06 Francois Deppierraz <francois@ctrlaltdel.ch>
398
399 * rt_netlink.c (netlink_route_multipath): Set RTM_F_EQUALIZE when
400 it exists.
401
paul718e3742002-12-13 20:15:29 +00004022002-09-28 Akihiro Mizutani <mizutani@net-chef.net>
403
404 * zebra_rib.c (static_add_ipv4): Null0 static route is added.
405
4062002-09-10 Jochen Friedrich <chris+zebra@scram.de>
407
408 * rt_netlink.c: Add check for EAGAIN.
409 * kernel_socket.c: Likewise
410
4112002-06-12 Israel Keys <ikeys@oz.agile.tv>
412
413 * rt_netlink.c: Setting the NLM_F_ACK flag on the netlink command
414 message so that we get an ACK for successful netlink commands.
415 Change the netlink socket to BLOCKING while we wait for a
416 response; be it an ACK or an NLMSG_ERROR. Change
417 netlink_parse_info to deal with ACK messages.
418
4192001-11-01 Jun-ichiro itojun Hagino <itojun@iijlab.net>
420
421 * rtadv.c (rtadv_make_socket): setsockopt(IPV6_CHECKSUM) does not
422 work for ICMPv6 socket.
423
4242001-10-24 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
425
426 * rib.c (rib_process): Select connected route any case.
427
4282001-10-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
429
430 * interface.c (no_ip_address_secondary): Add "no" to command.
431
4322001-10-18 NOGUCHI Kay <kay@v6.access.co.jp>
433
434 * ioctl.c (if_prefix_add_ipv6): Set the prefered and valid lifetime
435 to infinity as the freebsd4.4 workaroud.
436
4372001-08-26 mihail.balikov@interbgc.com
438
439 * zebra_snmp.c: Fix snmpwalk problem such as IPv4 address
440 A.B.C.255.
441
4422001-08-22 NOGUCHI Kay <kay@v6.access.co.jp>
443
444 * rtadv.c: Do not send RA to loopback interface.
445
4462001-08-20 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
447
448 * ioctl.c (if_set_prefix): Remove Linux 2.0 specific connected
449 route treatment.
450
4512001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
452
453 * zebra-0.92a released.
454
4552001-08-17 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
456
457 * rib.c: Kernel route is treated as EGP routes in nexthop active
458 check.
459
4602001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
461
462 * zebra-0.92 released.
463
4642001-08-08 "Akihiro Mizutani" <mizutani@dml.com>
465
466 * rib.c (show_ip_route_prefix_longer): Add longer-prefix option to
467 show route commands.
468
4692001-07-29 Yon Uriarte <havanna_moon@gmx.net>
470
471 * zserv.c (zsend_ipv4_add_multipath): Add
472 NEXTHOP_TYPE_IPV4_IFINDEX check.
473
4742001-07-29 NOGUCHI Kay <kay@v6.access.co.jp>
475
476 * rtadv.c: Apply valid lifetime, preferred lifetime, onilnk flag,
477 autonomous address-configuration flag patch.
478 (no_ipv6_nd_suppress_ra): Change "ipv6 nd send-ra" to "no ipv6 nd
479 suppress-ra".
480
4812001-07-24 NOGUCHI Kay <kay@v6.access.co.jp>
482
483 * rtadv.c (ipv6_nd_ra_interval): Add "ipv6 nd ra-interval SECONDS"
484 command.
485
4862001-07-24 Jun-ichiro itojun Hagino <itojun@iijlab.net>
487
488 * rt_socket.c (kernel_rtm_ipv4): Add KAME/NetBSD151 equal cost
489 multicast FIB support both IPv4 and IPv6.
490
4912001-07-24 Hal Snyder <hal@vailsys.com>
492
493 * if_ioctl.c (interface_list_ioctl): Fix bug of failing to get the
494 full list of interfaces on some configurations of OpenBSD.
495
4962001-07-23 NOGUCHI Kay <kay@v6.access.co.jp>
497
498 * rtadv.c (ipv6_nd_send_ra): Apply [zebra 9320] to fix "ipv6 nd
499 send-ra" bug.
500 (ipv6_nd_ra_lifetime): "ipv6 nd ra-lifetime 0" for default router
501 availability.
502 (ipv6_nd_managed_config_flag): "ipv6 nd managed-config-flag" is
503 added.
504 (ipv6_nd_other_config_flag): "ipv6 nd other-config-flag" is added.
505
5062001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
507
508 * ioctl.c (if_ioctl): Change ioctl argument from int to u_long.
509
510 * rt_ioctl.c: Likewise.
511
5122001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
513
514 * kernel_socket.c (rtm_write): Only set RTF_CLONING when the
515 interface is not p2p.
516
5172001-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
518
519 * ioctl.c (if_prefix_add_ipv6): Fix argument type.
520
5212001-04-06 Toshiaki Takada <takada@zebra.org>
522
523 * zserv.c (zsend_interface_delete): Use client->obuf instead of
524 allocating new stream.
525
5262001-03-10 Kunihiro Ishiguro <kunihiro@zebra.org>
527
528 * rt_netlink.c: Revert RTPROT_BOOT change.
529
5302001-03-08 Kunihiro Ishiguro <kunihiro@zebra.org>
531
532 * rt_netlink.c (netlink_route_change): Skip RTPROT_BOOT route.
533 (netlink_routing_table): Likewise.
534
5352001-03-07 "Akihiro Mizutani" <mizutani@dml.com>
536
537 * zserv.c (zsend_ipv4_add_multipath): Send metric value to
538 protocol daemons.
539
5402001-02-18 Kunihiro Ishiguro <kunihiro@zebra.org>
541
542 * rt_netlink.c (netlink_routing_table): Do not return
543 tb[RTA_GATEWAY] is NULL. Reported by: "Michael O'Keefe"
544 <mokeefe@qualcomm.com>.
545
5462001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
547
548 * if_ioctl.c (interface_list_ioctl): Call if_add_update().
549 Suggested by: Chris Dunlop <chris@onthe.net.au>.
550
5512001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
552
553 * rib.c (nexthop_active_ipv4): When nexthop type is
554 NEXTHOP_TYPE_IPV4_IFINDEX, propery set the ifindex to rifindex.
555
556 * zserv.c: Initialize rtm_table_default with 0.
557
558 * zebra-0.91 is released.
559
5602001-01-31 Kunihiro Ishiguro <kunihiro@zebra.org>
561
562 * kernel_socket.c (rtm_read): Filter cloned route. Suggested by:
563 Jun-ichiro itojun Hagino <itojun@iijlab.net>
564
5652001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
566
567 * connected.c (connected_up_ipv6): When point-to-point destination
568 address is ::, use local address for connected network.
569 (connected_down_ipv6): Likewise.
570
5712001-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
572
573 * zserv.c (zebra_serv): Add missing close() call. Reported by:
574 David Waitzman <djw@vineyard.net>.
575
5762001-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
577
578 * rib.c (rib_lookup_ipv4): New function for checking exact match
579 IGP route.
580
5812001-01-23 Kunihiro Ishiguro <kunihiro@zebra.org>
582
583 * rib.c (show_ipv6_route_protocol): Fix bug of "show ip route
584 route-type".
585
5862001-01-22 Kunihiro Ishiguro <kunihiro@zebra.org>
587
588 * interface.c (zebra_interface): Do not call
589 zebra_interface_add_update for inactive interface.
590
591 * zserv.c (zsend_interface_address_add): Send interface address
592 flag.
593 (zsend_interface_address_delete): Likewise.
594
5952001-01-19 Kunihiro Ishiguro <kunihiro@zebra.org>
596
597 * interface.c (if_addr_add): Add flags.
598
599 * connected.c (ifa_add_ipv4): Add new function for interface
600 address handling.
601 (ifa_delete_ipv4): Likewise.
602
6032001-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
604
605 * rib.c (rib_update): Update IPv6 RIB.
606
607 * kernel_socket.c (ifam_read): Call if_refresh() for update
608 interface flag status. This is for implicit interface up on *BSD.
609
610 * interface.c (if_refresh): Add interface flag refresh function.
611
612 * kernel_socket.c (rtm_read): Fetch link-local address interface
613 index.
614 (ifan_read): We need to fetch interface information. Suggested
615 by: Yasuhiro Ohara <yasu@sfc.wide.ad.jp>.
616
617 * rib.c (static_ipv6_nexthop_same): Add check for
618 NEXTHOP_TYPE_IPV6_IFNAME.
619
6202001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
621
622 * rib.h (NEW_RIB): Turn on NEW_RIB flag. IPv6 new RIB code are
623 taken into place.
624
6252001-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
626
627 * rib.c (static_ipv6_write): Display STATIC_IPV6_GATEWAY_IFNAME
628 configuration.
629 (rib_delete_ipv6): Handle same route conter for IPv6 connected
630 route.
631 (show_ipv6_route_protocol): New command.
632 (show_ipv6_route_addr): Likewise.
633 (show_ipv6_route_prefix): Likewise.
634 (rib_update): Sweep kernel route when it is cleaned up.
635
636 * rt_socket.c (kernel_add_ipv6): Add NEXTHOP_IPV6_IFNAME
637 treatmenet.
638
639 * rt_netlink.c (kernel_init): Likewise.
640
641 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): Likewise.
642
643 * rib.c (rib_add_ipv4): Cope with same connected route on a
644 interface. Suggested by: Matthew Grant <grantma@anathoth.gen.nz>.
645 (nexthop_ipv6_ifname_add): Add NEXTHOP_IPV6_IFNAME treatmenet.
646
647 * rib.h (struct new_rib): Add refcnt to keep track on the
648 reference of same connected route.
649
650 * ioctl.c (if_set_prefix): Add check for GNU_LINUX.
651
6522001-01-13 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
653
654 * kernel_socket.c (ifan_read, rtm_type_str): Add RTM_OIFINFO check.
655 (rtm_type_str): Add RTM_IFANNOUNCE check.
656 (ifan_read): New function.
657 (kernel_read): Add case for RTM_IFANNOUNCE.
658
6592001-01-13 Kunihiro Ishiguro <kunihiro@zebra.org>
660
661 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): New function.
662
663 * rt_netlink.c (netlink_route_multipath): IPv6 address ifindex
664 treatment.
665
666 * connected.c (connected_up_ipv6): Add dest value check.
667
668 * rib.c (nexthop_active_ipv6): Do not touch IPv6 nexthop's
669 ifindex.
670 (rib_add_ipv4): Import rib_add_ipv6() same route check code.
671 (nexthop_active_check): NEXTHOP_TYPE_IPV6_IFINDEX activity is only
672 checked by ifindex.
673
674 * rt_socket.c (kernel_rtm_ipv6_multipath): New function.
675
676 * redistribute.c (redistribute_add): Use
677 zsend_ipv6_add_multipath().
678 (redistribute_delete_multipath): Use
679 zsend_ipv6_delete_multipath().
680
681 * interface.c (ip_address): Check current IP address to avoid
682 duplicate.
683
684 * rib.c (rib_delete_ipv4): When deleted route is connected route,
685 check ifindex.
686 (rib_add_ipv4): When connected route is added do not perform
687 implicit withdraw.
688 (rib_delete_ipv4): Check ifindex for connected route.
689
690 * kernel_socket.c (rtm_read): When route has RTF_STATIC, set
691 ZEBRA_FLAG_STATIC for indicate as persistent route.
692 (ifam_read): Unset interface index from link-local address when
693 IPv6 stack is KAME.
694
695 * rib.c (rib_update): Do not delete persistent kernel route.
696
697 * rib.h (struct new_rib): Integrate RIB_FLAG_* to ZEBRA_FLAG_*.
698
699 * rt_socket.c (kernel_add_ipv6_multipath): Add placeholder.
700 (kernel_delete_ipv6_multipath): Likewise.
701
702 * rt_netlink.c (netlink_talk): Give struct nlsock to netlink_talk.
703
7042001-01-12 Kunihiro Ishiguro <kunihiro@zebra.org>
705
706 * rib.c (rib_update): Revert Matthew Grant's patch
707 zebra_cvs_newribfix.patch. Use struct rib->ifindex for kernel
708 interface index. Introduce NEXTHOP_TYPE_IPV4_IFINDEX to support
709 that. Add support for address deletion situation.
710
7112001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
712
713 * interface.c: Remove HAVE_IF_PSEUDO part.
714
715 * rib.h: Likewise.
716
717 * rt_netlink.c (netlink_link_change): Likewise.
718
7192001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
720
721 * zserv.c: Remove OLD_RIB codes.
722
7232001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
724
725 * zebra-0.90 is released.
726
7272001-01-09 Matthew Grant <grantma@anathoth.gen.nz>
728
729 * interface.c (if_new_intern_ifindex): Allocate a new internal
730 interface index.
731 (if_addr_refresh): Fix up ip addresses configured via zebra.
732 (if_add_update): Handle an interface addition.
733 (if_delete_update): Handle an interface delete event.
734
735 * rib.c (nexthop_ipv4_add): Add kernel route deletion process when
736 interface goes down.
737
7382001-01-08 Kunihiro Ishiguro <kunihiro@zebra.org>
739
740 * interface.c (if_dump_vty): When HAVE_NET_RT_IFLIST is defined,
741 NetBSD also use this function. Suggested by Jasper Wallace
742 <jasper@ivision.co.uk>.
743
7442001-01-07 Kunihiro Ishiguro <kunihiro@zebra.org>
745
746 * rib.c (nexthop_active_ipv4): Move back to set methodo to old
747 one.
748
7492001-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
750
751 * rib.c (rib_add_ipv4): EBGP multihop set ZEBRA_FLAG_INTERNAL
752 flag, so treat it.
753
7542001-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
755
756 * rt_netlink.c (netlink_talk_ipv6): When IPv6 route message is
757 sent from netlink_cmd, the same message comes from netlink. To
758 avoid confusion, temporary netlink_talk_ipv6 use netlink.sock
759 instead of netlink_cmd.sock.
760
7612001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
762
763 * zserv.h (ZEBRA_SERV_PATH): Change "/tmp/zebra" to "/tmp/.zebra".
764 Change "/tmp/zserv" to "/tmp/.zserv".
765
7662000-12-29 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
767
768 * rt_netlink.c (struct nlsock): Divide kernel message into listen
769 socket and command socket.
770 (netlink_talk): Remove socket listen code. Use netlink_parse_info
771 for read kernel response.
772
7732000-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
774
775 * rib.c (vty_show_ip_route): Show uptime of the RIP,OSPF,BGP
776 routes.
777
7782000-12-27 Kunihiro Ishiguro <kunihiro@zebra.org>
779
780 * rt_netlink.c (netlink_route_multipath): Metric value is
781 reflected to kernel routing table.
782
783 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Likewise.
784
785 * kernel_socket.c (rtm_write): Likewise.
786
787 * rib.c (nexthop_active_ipv4): Only iBGP route perform recursive
788 nexthop lookup.
789
790 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Add ioctl version of
791 new RIB implementation.
792
7932000-12-26 Kunihiro Ishiguro <kunihiro@zebra.org>
794
795 * rib.h: Remove MULTIPATH_NUM. It is defined by configure script.
796
7972000-12-25 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
798
799 * rib.c (rib_if_up): Call rib_fib_set instead of RIB_FIB_SET for
800 proper redistribution.
801
8022000-12-19 Kunihiro Ishiguro <kunihiro@zebra.org>
803
804 * rib.c (nexthop_active_ipv4): Add self lookup nexthop check.
805 (show_ip_route_protocol): Support new RIB.
806
807 * rt_netlink.c (netlink_route_change): Do not return when gate is
808 NULL.
809
8102000-12-18 Kunihiro Ishiguro <kunihiro@zebra.org>
811
812 * rib.c (rib_lookup_ipv4_nexthop): IBGP nexthop check function is
813 updated.
814 (rib_add_ipv4): Free implicit withdraw route's RIB.
815
8162000-12-15 Kunihiro Ishiguro <kunihiro@zebra.org>
817
818 * rib.c (nexthop_active_ipv4): Check indirect nexthop.
819
820 * redistribute.c (redistribute_add_multipath): Redistribution
821 works with new rib code.
822
8232000-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
824
825 * rt_netlink.c (netlink_route_multipath): Check useful nexthop
826 number.
827 (netlink_route_multipath): Clear rtnh_flags and rtnh_hops.
828
829 * rib.c (nexthop_active_update): Set flag for the rib's nexthop
830 activity is changed.
831 (nexthop_active_check): Before checking interface is up, make it
832 sure the interface exist.
833
8342000-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
835
836 * rib.c (ip_route): New RIB prototype.
837
8382000-11-16 Yon Uriarte <ukl2@rz.uni-karlsruhe.de>
839
840 * zserv.c (zsend_interface_add): Send hardware address when
841 hw_addr_len is greater than 0.
842
8432000-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
844
845 * connected.c (connected_up_ipv4): Fix ptop bug. The destination
846 network should be installed into routing table.
847 (connected_down_ipv4): Likewise.
848 (connected_add_ipv4): Change to use connected_up_ipv4.
849 (connected_delete_ipv4): Likewise.
850
8512000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
852
853 * rt_netlink.c (netlink_interface_addr): Revert Harald Welte
854 <laforge@gnumonks.org>'s ptop patch then back to original code to
855 avoid duplicated connected route problem. Suggested by Frank van
856 Maarseveen <F.vanMaarseveen@inter.NL.net>.
857
858 * kernel_socket.c (rtm_read): Make behavior consistent even #ifdef
859 DEBUG is defined. Reported by Jun-ichiro itojun Hagino
860 <itojun@iijlab.net>.
861
8622000-10-23 Jochen Friedrich <jochen@scram.de>
863
864 * main.c (main): Call zebra_snmp_init() when it is enabled.
865
8662000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org>
867
868 * zserv.c (zebra_serv_un): UNIX domain socket server of zebra
869 protocol.
870
8712000-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
872
873 * rib.c (rib_add_ipv4): Same check bug is fixed.
874
8752000-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
876
877 * rib.c (rib_if_down): Remove kernel route when the interface goes
878 down.
879
880 * debug.c: New command "debug zebra kernel" is added.
881
8822000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
883
884 * zebra-0.89 is released.
885
8862000-09-24 Harald Welte <laforge@gnumonks.org>
887
888 * rt_netlink.c (netlink_interface_addr): Fix point-to-point address
889 treatment in netlink interface.
890
8912000-09-21 David Lipovkov <dlipovkov@OpticalAccess.com>
892
893 * rib.c (rib_if_down): Pull static route only. Protocol daemon
894 must withdraw routes when interface goes down.
895 (rib_add_ipv4): Check nexthop when replace route.
896
8972000-09-21 Kunihiro Ishiguro <kunihiro@zebra.org>
898
899 * if_ioctl.c (if_getaddrs): New function for looking up
900 interface's address by getifaddrs().
901
9022000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
903
904 * connected.c (connected_delete_ipv4): Add check for connected
905 address is found or not.
906 (connected_add_ipv6): Reflect IPv6 connected address change to
907 protocol daemons.
908 (connected_delete_ipv6): Likewise.
909
9102000-09-07 David Lipovkov <davidl@nbase.co.il>
911
912 * rib.c (rib_delete_ipv4): Reverted the change from pseudo
913 interface patch to original. Because ospfd deletes routes using
914 zero ifindex.
915
9162000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
917
918 * zebra-0.88 is released.
919
9202000-08-15 "Akihiro Mizutani" <mizutani@dml.com>
921
922 * rib.c (show_ip_route_protocol): Help string correction.
923 (show_ip_route_prefix): Check prefix mask.
924 (show_ip_route_vty_detail): Display distance and metric.
925
9262000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
927
928 * zserv.c (zsend_interface_add): Change ifindex store size from
929 two octet to four.
930 (zsend_interface_delete): Likewise.
931 (zsend_interface_address_add): Likewise.
932 (zsend_interface_address_delete): Likewise.
933 (zsend_interface_up): Likewise.
934 (zsend_interface_down): Likewise.
935
9362000-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
937
938 * rib.c (rib_add_ipv4): Do not install distance 255 route.
939
9402000-08-10 Toshiaki Takada <takada@zebra.org>
941
942 * interface.c (bandwidth_if), (no_bandwidth_if): Call
943 zebra_interface_up_update () instead of using if_up() and if_down().
944
9452000-08-07 "Akihiro Mizutani" <mizutani@dml.com>
946
947 * interface.c (bandwidth_if): Fix help string.
948
9492000-08-07 Matthew Grant <grantma@anathoth.gen.nz>
950
951 * interface.c (if_dump_vty): Display bandwidth value.
952 (bandwidth_if): New command "bandwidth <1-10000000>" is added.
953 When interface is up, force protocol daemons to recalculate routes
954 due to cost change.
955 (no_bandwidth_if): Likewise.
956 (if_config_write): Output bandwidth configuration.
957
958 * zserv.c (zsend_interface_add): Send bandwidth value.
959 (zsend_interface_up): Likewise.
960 (zsend_interface_down): Likewise.
961
962
9632000-08-07 Michael Rozhavsky <mike@nbase.co.il>
964
965 * rib.c (show_ip_route_protocol): "show ip route
966 (bgp|connected|kernel|ospf|rip|static)" is added.
967
9682000-08-07 Kunihiro Ishiguro <kunihiro@zebra.org>
969
970 * rib.c (rib_lookup_ipv4_nexthop): Check parent node until IGP
971 nexthop is found.
972 (rib_add_ipv4_internal): Set fib ifindex to rib ifindex.
973
9742000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
975
976 * redistribute.c (redistribute_delete): Fix bug of default route
977 redistribute treatment.
978
9792000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
980
981 * rib.c (rib_init): Install ip_node in rib.c instead of zserv.c.
982 Change default distance value.
983
984 Old New
985 ------------------------------------------
986 system 10 0
987 kernel 20 0
988 connected 30 0
989 static 40 1
990 rip 50 120
991 ripng 50 120
992 ospf 60 110
993 ospf6 49 110
994 bgp 70 200(iBGP) 20(eBGP)
995 ------------------------------------------
996
997 * zserv.c (client_lookup): Function removed.
998 (zsend_interface_add): Use client's output buffer. Check ifinfo
999 flag.
1000 (zsend_interface_delete): Likewise.
1001 Delete ipv4_static_radix and ipv6_static_radix.
1002
10032000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1004
1005 * zserv.h (struct zebra_client): When client request interface
1006 information, ifinfo is set.
1007
1008 * rib.c: Temporary Revert changes for pseudo interface.
1009
1010 * rib.h: Likewise.
1011
1012 * zserv.c: Likewise.
1013
1014 * interface.c: Likewise.
1015
10162000-08-02 David Lipovkov <davidl@nbase.co.il>
1017
1018 * interface.c (zebra_if_init): Install interface "pseudo"
1019 commands.
1020
1021 * rib.c (rib_create): ifname argument is added.
1022 (rib_add_ipv4_pseudo): New function is added.
1023 (rib_delete_ipv4_pseudo): Likewise.
1024
1025 * rib.h : Delete INTERFACE_UNKNOWN definition. Add prototype for
1026 pseudo interface functions.
1027
1028 * rt_netlink.c (netlink_link_change): Check for pseudo interface.
1029
1030 * zserv.c (ip_route): When destination is pseudo interface, call
1031 rib_add_ipv4_pseudo().
1032
1033 * zserv.c (no_ip_route): Trim "unknown" argument.
1034
10352000-07-26 kunitake@dti.ad.jp
1036
1037 * if_ioctl.c (if_get_hwaddr): Fix hardware address length from 8
1038 to 6.
1039
1040 * rtadv.c (rtadv_send_packet): Fix shift bug for hardware address.
1041
10422000-07-24 Akihiro Mizutani <mizutani@dml.com>
1043
1044 * interface.c: Use install_default() for common VTY commands.
1045
10462000-07-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1047
1048 * if_ioctl.c (interface_list_ioctl): A interface list size is
1049 calculated from ifreq->if_addr.sa_len. This is for OpenBSD.
1050
1051 * ioctl.c (if_get_mtu): Remove codes for SIOCGIFDATA.
1052
10532000-07-09 Chris Dunlop <chris@onthe.net.au>
1054
1055 * if_ioctl.c (if_get_index): Add check for HAVE_BROKEN_ALIASES.
1056
10572000-07-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1058
1059 * zserv.c (zebra_client_read): Add ZEBRA_REDISTRIBUTE_{ADD,DELETE}
1060 message handling.
1061
10622000-07-02 David Lipovkov <davidl@nbase.co.il>
1063
1064 * zserv.c: "ip route A.B.C.D/M unknown" command is added.
1065
10662000-06-28 Michael Rozhavsky <mike@nbase.co.il>
1067
1068 * rib.c: Remove old kernel route when new route comes in.
1069
10702000-06-13 David Lipovkov <davidl@nbase.co.il>
1071
1072 * rib.c (rib_if_up): Add check for unknown interface.
1073
10742000-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1075
1076 * rib.h: Define INTERFACE_UNKNOWN.
1077
10782000-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1079
1080 * Makefile.am (EXTRA_DIST): Move irdp.c until implementation is
1081 finished.
1082
10832000-06-05 David Lipovkov <davidl@nbase.co.il>
1084
1085 * interface.c (if_zebra_delete_hook): Call rib_if_delete().
1086
1087 * redistribute.c (zebra_interface_delete_update): New function.
1088
1089 * redistribute.h (zebra_interface_delete_update): New function
1090 prototype.
1091
1092 * rib.c (rib_if_delete): New function. Walk down all routes and
1093 delete all on the interface.
1094
1095 * rib.h: New function prototype.
1096
1097 * rt_netlink.c (netlink_link_change): Call
1098 zebra_interface_delete_update ().
1099
11002000-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1101
1102 * if_ioctl.c (interface_info_ioctl): Check interface's flag before
1103 checking interface's address.
1104
11052000-04-26 Jochen Friedrich <jochen@nwe.de>
1106
1107 * GNOME-PRODUCT-ZEBRA-MIB: New file.
1108
1109 * GNOME-SMI: New file.
1110
11112000-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1112
1113 * irdp.c: New file from 1997 development code.
1114 * irdp.h: Likewise.
1115
11162000-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1117
1118 * rtadv.c (rtadv_send_packet): Enclose router advertisement
1119 logging with IS_ZEBRA_DEBUG_PACKET.
1120
11212000-04-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1122
1123 * zserv.c (zebra_client_close): Remove client structure from
1124 client_list when connection is terminated.
1125
11262000-03-21 David Lipovkov <davidl@nbase.co.il>
1127
1128 * connected.c (connected_add_ipv4): Allows all necessary structure
1129 updates for connected route, but doesn't insert it into rib if
1130 it's interface is down.
1131
11322000-01-21 Hideto Yamakawa <hideto.yamakawa@soliton.co.jp>
1133
1134 * rtread_getmsg.c: Set some definition for Solaris 2.5 and Solaris
1135 2.5.1.
1136
11372000-01-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1138
1139 * rib.c (no_ipv6_route_ifname): Fix buf of cheking return value
1140 from str2prefix_ipv6().
1141
11422000-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1143
1144 * rt_socket.c: Revert to use RTF_HOST for IPv4 with /32 route and
1145 IPv6 with /128 routes.
1146 (kernel_rtm_ipv4): In case of /32 route's gateway is interface. It
1147 should have mask for cloning.
1148
11491999-12-26 Jochen.Friedrich@genorz.de
1150
1151 * interface.c (if_dump_vty): Fix a bug of missing VTY_NEWLINE.
1152
11531999-12-23 Alex Zinin <zinin@amt.ru>
1154 * interface.*: dynamic int up/down support
1155
11561999-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1157
1158 * ipforward_proc.c (dropline): Move dropline() from lib/dropline.c
1159
1160 * rtread_proc.c (proc_route_read): Don't use dropline().
1161
11621999-12-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1163
1164 * kernel_socket.c (rtm_read): When message is RTM_GET, it has own
1165 process's pid.
1166
11671999-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1168
1169 * main.c (main): Change to default log output to ZLOG_STDOUT.
1170
1171 * zserv.c (zebra_serv): More detailed error print.
1172
11731999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1174
1175 * kernel_socket.c (rtm_read): Check old pid for static route
1176 insertion check.
1177
11781999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1179
1180 * interface.c (if_dump_vty): BSDI/OS uses 64bit for interface
1181 statistics counter.
1182
1183 * mtu_kvm.c: New file added.
1184
11851999-11-27 Vladimir B. Grebenschikov <vova@express.ru>
1186
1187 * kernel_socket.c (rtm_write): Set RTF_CLONING flag for
1188 route to the directly connected interface.
1189
11901999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1191
1192 * rt_socket.c: Delete USE_HOST_BIT definition.
1193
11941999-11-21 Michael Handler <handler@sub-rosa.com>
1195
1196 * rtread_getmsg.c: Undef some definition to resolve conflict.
1197
11981999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1199
1200 * kernel_socket.c (rtm_write): Change to use pre stored struct_dl
1201 value for gateway specification.
1202
12031999-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1204
1205 * rt_socket.c (kernel_rtm_ipv4): Even mask is 32 under IPv4 or
1206 128 under IPv6, don't use RTF_HOST.
1207
12081999-11-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1209
1210 * Makefile.am (EXTRA_DIST): Add rtread_getmsg.c.
1211
12121999-11-21 Michael Handler <handler@sub-rosa.com>
1213
1214 * rtread_getmsg.c: Added for Solaris 2.6 support.
1215
12161999-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1217
1218 * rtread_sysctl.c (rtm_read_route): RTM_DELETE handling added.
1219
1220 * rt_socket.c (kernel_read): Better BSD routing socket support.
1221
12221999-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1223
1224 * client_main.c: Disable making obsolete zebra test `client'
1225 command.
1226
12271999-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1228
1229 * zebra.c: Renamed to zserv.c.
1230
1231 * zebra.h: Global definitions are moved to lib/zebra.h. Then
1232 renamed to zserv.h.
1233
12341999-10-15 Jordan Mendelson <jordy@wserv.com>
1235
1236 * if_ioctl.c: Add Linux 2.2.X's alias support and dynamic
1237 interface. Remove ugly MAX_INTERFACE handling codes.
1238
12391999-09-17 Satosi KOBAYASI <kobayasi@north.ad.jp>
1240
1241 * Fix serious bug of IPv6 route deletion.
1242
12431999-09-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1244
1245 * ioctl.c (if_set_prefix): Properly set broadcast address.
1246
12471999-09-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1248
1249 * rib.c (rib_add_ipv6, rib_delete_ipv6): now protocol daemons
1250 can install connected route to kernel via zebra
1251
12521999-08-24 VOP <vop@unity.net>
1253
1254 * rib.c: Include "sockunion.h"
1255
12561999-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
1257
1258 * ipforward.h: New file.
1259
1260 * zebra.h: Obsolete message ZEBRA_GET_ALL_INTERFACE,
1261 ZEBRA_GET_ONE_INTERFACE, ZEBRA_GET_HOSTINFO are deleted.
1262
12631999-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1264
1265 * zebra.h (ZEBRA_INTERFACE_ADDRESS_ADD):
1266 ZEBRA_INTERFACE_{ADD,DELETE} added.
1267
12681999-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1269
1270 * rib.c: show ip route A.B.C.D works.
1271
1272 * zebra.c (zebra_read_ipv4): Add ifindex to zebra messages.
1273
12741999-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1275
1276 * zebra.h: New Zebra message ZEBRA_INTERFACE_{ADD,DELETE} added.
1277
12781999-08-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1279
1280 * interface.h: New file.
1281 * Makefile.am: Add interface.h
1282
12831999-08-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1284
1285 * redistribute.c (zebra_redistribute): give ifindex to client.
1286
12871999-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1288
1289 * main.c (longopts): -k, --keep_kernel option added.
1290
12911999-07-18 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1292
1293 * rt_socket.c (rtm_write): forgot closing socket bug fixed.
1294
12951999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1296
1297 * rib.c (show_ipv6_cmd): if rib is link show interface name.
1298
12991999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1300
1301 * rt_socket.c (rtm_write): use sockaddr_dl when null gateway.
1302
13031999-07-16 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1304
1305 * rt_socket.c (rtm_write): ipv6 route table bug fixed.
1306
13071999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1308
1309 * zebra.c (zebra_read_ipv6): read link prefix from ospf6 support
1310
13111999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1312
1313 * rt_socket.c (kernel_rtm_ipv6): gate treatment bug fixed.
1314
13151999-07-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1316
1317 * if_sysctl.c (ifm_read): Clear sockunion argument before fetching
1318 data. Suggested by "Chris P. Ross" <cross@eng.us.uu.net>
1319
13201999-07-08 HEO SeonMeyong <seirios@Matrix.IRI.Co.Jp>
1321
1322 * interface.c (if_tun_add): Add KAME's gif tunnel setting codes.
1323
13241999-06-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1325
1326 * zebra.c (zebra_serv): Only accept loopback address connection.
1327
13281999-06-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1329
1330 * zebra.h (ZEBRA_ROUTE_EXTERNAL): Add zebra messages flags
1331
13321999-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1333
1334 * ipforward_proc.c: ipforward_on () and ipforward_off () added.
1335
13361999-06-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1337
1338 * ipforward_proc.c (ipforward_ipv6): Check for IPv6 forwarding
1339 using /proc file system is added.
1340
13411999-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1342
1343 * if_ioctl.c (if_get_index): Interface index set bug is fixed by
1344 adding #else at the middle of function. Suggested by David Luyer
1345 <luyer@ucs.uwa.edu.au>.
1346
13471999-05-29 <kunihiro@zebra.org>
1348
1349 * rt_ioctl.c: Comment out #include <linux/ipv6_route.h>.
1350
13511999-05-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1352
1353 * zebra.h (ZEBRA_ROUTE_MAX): Add new define for the max value of
1354 the sort of routes.
1355
13561999-05-25 Patrick Koppen <koppen@rhrk.uni-kl.de>
1357
1358 * rt_netlink.c (netlink_socket): Make netlink socket non-blocking.
1359 (netlink_parse_info): If errno is EWOULDBLOCK then continue to
1360 parse the message.
1361 (netlink_talk): Likewise
1362
13631999-05-17 <kunihiro@zebra.org>
1364
1365 * redistribute.c (zebra_check_addr): Added for loopback address
1366 check.
1367
13681999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1369
1370 * rt_netlink.c (netlink_route_change): Tempolary bypass ipv6 route
1371 change treatment.
1372
1373 * Makefile.am (noinst_HEADERS): redistribute.h added.
1374
1375 * redistribute.h: New file.
1376
13771999-05-14 Stephen R. van den Berg <srb@cuci.nl>
1378
1379 * zebra.c (show_table): Show all table configuration DEFUN.
1380 (config_table): Config table number DEFUN.
1381
1382 * rt_netlink.c: Add support for multiple routing table.
1383
1384 * rib.c (rib_weed_table): New function added for delete all
1385 routes from specified routing table.
1386
1387 * main.c (signal_init): SIGTERM call sigint.
1388 (sigint): Loggging more better message.
1389
13901999-05-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1391
1392 * rt_netlink.c: Change log () to zlog ().
1393
13941999-05-07 <kunihiro@zebra.org>
1395
1396 * zebra.h (ZEBRA_ROUTE_OSPF6): Added for ospf6d route.
1397
13981999-04-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1399
1400 * interface.c: Add `no ip address' command.
1401
14021999-04-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1403
1404 * rt_netlink.c (kernel_read): Function added for asynchronous
1405 zebra between kernel communication.
1406
14071999-03-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1408
1409 * rtread_sysctl.c (rtm_read): Fix address memcopy overrun bug.
1410 Reported by Achim Patzner <ap@bnc.net>.
1411
14121999-03-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1413
1414 * Makefile.am: Install configuration sample with 600 permission.
1415
14161999-03-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1417
1418 * Makefile.am: Add -I.. to INCLUDES.
1419
14201999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
1421
1422 * syslog support added
1423
14241999-02-17 Peter Galbavy <Peter.Galbavy@knowledge.com>
1425
1426 * if_sysctl.c (interface_list): allocated memory free when unknown
1427 ifm_type is returned.
1428
1429 * ioctl.c (if_get_mtu): added SIOCGIFDATA treatment.
1430
14311998-12-15 Magnus Ahltorp <map@stacken.kth.se>
1432
1433 * interface.c: Header include added.
1434
14351998-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1436
1437 * rt.h (kernel_delete_ipv6): change int index to unsigned int index.
1438
14391998-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1440
1441 * if_ioctl.c (interface_list_ioctl): interface flag must be
1442 checked before check addresses of the interface.
1443
14441998-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1445
1446 * Makefile.am (INCLUDES): add @INCLUDES@ for Linux IPv6.
1447
14481998-10-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1449
1450 * ioctl.c: Linux version before 2.1.0 need interface route setup.
1451
14521998-09-15 HEO SeonMeyong <seirios@matrix.iri.co.jp>
1453
1454 * change HYDRANGEA to KAME
1455
14561998-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1457
1458 * if_ioctl.c (if_addr_ioctl): set address family for getting
1459 interface's address.
1460 (if_get_index): silently return when can't get interface's index.
1461
14621998-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1463
1464 * main.c (main): batch mode option '-b' added.
1465
14661998-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1467
1468 * ioctl.c (if_set_prefix): add `ip address IPV4ADDR' command.
1469 * interface.c (shutdown_if): add interface shutdown and no
1470 shutdown command.
1471
14721998-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1473
1474 * rib.c (rib_add_ipv6): delete rib_add_in6.
1475
14761998-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1477
1478 * main.c: retain flag is added.
1479
14801998-07-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1481
1482 * rtable.[ch]: merged with rib.[ch]
1483
14841998-07-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1485
1486 * connected.h: renamed from ifa.h.
1487
14881998-06-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1489
1490 * rename if.c to interface.c
1491 * rename ifa.c to connected.c
1492
1493 * Porting to Debian GNU/Linux 2.0 (hamm).
1494
14951998-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1496
1497 * rt_netlink.c: renamed from krt_netlink.c
1498
1499 * fib.c: deleted.
1500 * rt_kvm.c: deleted.
1501 * rtread_getmsg.c: deleted.
1502
15031998-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1504
1505 * if.c (multicast): add multicast flag [un]set fucntion.
1506
15071998-05-19 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1508
1509 * rt_socket.c: Modify for compile on Solaris, but dont't work it.
1510 rt_socket.c have some undefined function, so add directive "IMPLEMENT"
1511
15121998-05-18 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1513
1514 * zebra.c: Modify for compile on Solaris.
1515
15161998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1517
1518 * main.c: change CONFDIR to SYSCONFDIR.
1519
15201998-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1521
1522 * .cvsignore: added.
1523
15241998-04-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1525
1526 * client.c: moves to ../lib.
1527
15281998-03-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1529
1530 * if_ioctl.c (if_get_addr): Change address copy from memcopy() to
1531 structure assignment.
1532
15331998-03-30 URA Hiroshi <ura@yamato.ibm.co.jp>
1534
1535 * if_sysctl.c (ifm_interface_add): sdl->sdl_data copy bug fixed.
1536
15371998-02-23 "Hannes R. Boehm" <hannes@boehm.org>
1538
1539 * if.c (if_init): add config_exit_cmd and config_help_cmd.
1540
15411998-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
1542
1543 * rt_ioctl.c (route_ioctl): EPERM treatment added.
1544
15451998-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1546
1547 * rt_socket.c (kernel_read): communication port zebra between
1548 kernel is now handled by kernel_read.
1549
15501998-01-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1551
1552 * main.c (main): zebra [-P port] can specify vty port number.
1553
15541997-12-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1555
1556 * zebra.c: change select will be block.
1557
15581997-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1559
1560 * add static route treatment.
1561
15621997-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1563
1564 * rt_netlink.c: add netlink support over GNU/Linux system.
1565
15661997-11-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1567
1568 * all inet_addr is changed to inet_aton.
1569
1570 * zebra.c (ip_route): add ip route command for static routes.
1571
15721997-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1573
1574 * if.c (if_flag_dump): Linux port of if_flag_dump and _vty.
1575
15761997-11-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1577
1578 * if.c: add interface command.
1579
15801997-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1581
1582 * ipforward_proc.c : Now works on Linux.
1583
15841997-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1585
1586 * command.c : add completion feature.
1587
15881997-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1589
1590 * vty.c (vty_command): add vty interface.
1591
15921997-10-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1593
1594 * zebra.c: add verbose mode.
1595
15961997-10-12 SonMyong Ho <s-ho@Matrix.IRI.Co.Jp>
1597
1598 * Hydrangea for FreeBSD supported
1599 * in.h: add some prototype.
1600
16011997-10-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1602
1603 * rt_socket.c and rtread.c completely rewritten.
1604
16051997-10-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1606
1607 * rt_socket.c: rename kernel_sock to routing_socket
1608
16091997-10-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1610
1611 * if.c (if_new): interface structure change from linklist to vector.
1612
16131997-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1614
1615 * vector.c (vector_init): create vector related function
1616
16171997-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1618
1619 * Makefile.in: add tags target
1620
1621 * start IPv6 support for INRIA FreeBSD.
1622