blob: 35d2aa877b80182fa73140597718570750c01a5f [file] [log] [blame]
hassoe8274dc2005-02-20 19:09:23 +000012005-02-20 Hasso Tepper <hasso at quagga.net>
2
3 * rt_netlink.c: Don't show messages "ignoring message type 0x001[89]"
4 if we are not debugging.
5
paule31f2292005-02-19 02:00:26 +000062005-02-19 Paul Jakma <paul@dishone.st>
7
8 * zserv.c: (zebra_read_ipv6) replace the char * arithmetic with
9 STREAM_READABLE.
10
paul1e193152005-02-14 23:53:05 +0000112005-02-14 Paul Jakma <paul@dishone.st>
12
13 * Not all Linux netlink systems have IFLA_WIRELESS
14
ajs6a52d0d2005-01-30 18:49:28 +0000152005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
16
17 * ioctl.c: (if_ioctl,if_ioctl_ipv6,if_get_flags) Replace perror with
18 zlog_err.
19 * ioctl_solaris.c: (if_ioctl,if_ioctl_ipv6) Replace perror with
20 zlog_err.
21
ajs4be019d2005-01-29 16:12:41 +0000222005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
23
ajs4460e7a2005-01-29 17:07:40 +000024 * if_ioctl_solaris.c: (interface_list_ioctl) Save errno before calling
25 zserv_privs.change.
26 * ioctl{,_solaris}.c: (if_ioctl,if_ioctl_ipv6) Save errno before calling
27 zserv_privs.change.
28 * ipforward_solaris.c: (solaris_nd) Save errno before calling
29 zserv_privs.change.
30 * irdp_main.c: (irdp_sock_init) Save errno before calling
31 zserv_privs.change.
32
332005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
34
ajs4be019d2005-01-29 16:12:41 +000035 * rt_netlink.c: (netlink_socket,netlink_request,netlink_parse_info,
36 netlink_talk) Save errno before calling zserv_privs.change.
37
paulc15cb242005-01-24 09:05:27 +0000382005-01-24 Martin Pot <mpot at martybugs.net>
39
40 * zebra/rt_netlink.c: ignore wireless newlink netlink messages.
41
hasso6f2c27a2005-01-18 13:44:35 +0000422005-01-18 Hasso Tepper <hasso at quagga.net>
43
44 * interface.c: Better statistics output in "show interface" command in
45 case of /proc being used.
46
hasso583d8002005-01-16 23:34:02 +0000472005-01-17 Hasso Tepper <hasso at quagga.net>
48
49 * main.c: With --nl-bufsize argument is required.
50
paul865b8522005-01-05 08:30:35 +0000512005-01-05 Paul Jakma <paul@dishone.st>
52
53 * zserv.c: (zebra_accept) Comment out setting of socket to NONBLOCK
54 for now, as we dont actually deal with with resending.... See
55 bugzilla #122, fix from wawa@yandex-team.ru (Vladimir Ivanov).
56 * kernel_socket.c: (routing_socket) ditto.
57
ajsb99760a2005-01-04 16:24:43 +0000582005-01-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
59
60 * rtadv.c: (rtadv_recv_packet,rtadv_send_packet) Use ZCMSG_FIRSTHDR
61 instead of CMSG_FIRSTHDR.
62
ajs341a8f12004-12-22 16:32:16 +0000632004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
64
65 * connected.c: (connected_add_ipv4) Limit warning about /32 addresses
66 with no peer specified to PtP interfaces only.
67
hassob8adec12004-12-18 16:03:28 +0000682004-12-18 Hasso Tepper <hasso at quagga.net>
69
70 * zebra_vty.c: Fix "show ipv6 route <proto>" command help and make it
71 work for isis routes.
72
gdt6a250b02004-12-09 14:48:12 +0000732004-12-09 Greg Troxel <gdt@fnord.ir.bbn.com>
74
75 * kernel_socket.c (rtmsg_debug): char * => const char *
76
ajs274a4a42004-12-07 15:39:31 +0000772004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
78
ajsb6178002004-12-07 21:12:56 +000079 * *.c: Change level of debug messages to LOG_DEBUG.
80
812004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
82
ajs274a4a42004-12-07 15:39:31 +000083 * main.c: (main) The 2nd argument to openzlog has been removed.
84 So stdout logging will no longer be enabled by default.
85 * irdp_main.c: (irdp_finish) Reduce severity of shutdown message
86 from LOG_WARNING to LOG_INFO.
87
ajs887c44a2004-12-03 16:36:46 +0000882004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
89
90 * main.c: (sigint) Use zlog_notice for termination message.
91 (main) Add a startup announcement using zlog_notice.
92
hassoaccb1562004-11-25 19:21:07 +0000932004-11-25 Hasso Tepper <hasso at quagga.net>
94
95 * irdp_interface.c: Remove comment from DEFUN, it breaks vtysh because
96 it confuses extract.pl.
hassoc0652302004-11-25 19:33:48 +000097 * main.c: Make group to run as configurable.
hassoaccb1562004-11-25 19:21:07 +000098
hasso6bd7c6a2004-10-28 17:32:27 +0000992004-10-28 Hasso Tepper <hasso at quagga.net>
100
101 * interface.c: Remove dead "ip tunnel" command.
102
paul06f953f2004-10-22 17:00:38 +00001032004-10-22 Paul Jakma <paul@dishone.st>
104
105 * irdp_main.c: change setsockopt_pktinfo to setsockopt_ifindex
106
hasso3fb9cd62004-10-19 19:44:43 +00001072004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
108
109 * rt_netlink.c: (netlink_interface_addr) For PtP interfaces, ignore
110 tb[IFA_ADDRESS] if it's the same as tb[IFA_LOCAL].
111 * interface.c: (ip_address_install) Use new ipv4_broadcast_addr
112 function.
113 * connected.c: (connected_up_ipv4) Use CONNECTED_POINTOPOINT_HOST
114 macro.
115 (connected_down_ipv4) ditto.
116 (connected_add_ipv4) Validate destination address, print warnings
117 if it does not make sense.
118
hassoc1eaa442004-10-19 06:26:01 +00001192004-10-19 Hasso Tepper <hasso at quagga.net>
120
121 * zserv.c: Fix regression introduced with zserv cleanup.
122
hassoc75105a2004-10-13 10:33:26 +00001232004-10-13 Hasso Tepper <hasso at quagga.net>
124
125 * zebra_snmp.c: Remove defaults used to initialize smux connection to
126 snmpd. Connection is initialized only if smux peer is configured.
hassob71f00f2004-10-13 12:20:35 +0000127 * zserv.c: Remove useless warnings "forwarding is already on".
hassoc75105a2004-10-13 10:33:26 +0000128
hasso39ff11d2004-10-12 15:55:19 +00001292004-10-12 Hasso Tepper <hasso at quagga.net>
130
131 * zebra_vty.c: Unbreak "show ip route" command help and make it work
132 for isis routes.
hasso39db97e2004-10-12 20:50:58 +0000133 * interface.c(if_dump_vty): Show IPv6 addresses in "show interface"
134 output. Fixes Bugzilla #119.
135 * *.c: Make some strings const and some (unsigned) casts to fix
136 compiler warnings.
hasso39ff11d2004-10-12 15:55:19 +0000137
hassofce954f2004-10-07 20:29:24 +00001382004-10-07 Hasso Tepper <hasso at quagga.net>
139
140 * connected.c, main.c, rt_netlink.c, rtadv.c, zebra_rib.c, zserv.c:
141 Fix warnings: make strings const, signed -> unsigned.
142
paul72164662004-10-05 14:39:43 +00001432004-10-05 Paul Jakma <paul@dishone.st>
144
145 * irdp_packet.c: (parse_irdp_packet) style issues.
146 Use sockopt_iphdrincl_swab_systoh.
147 Try unbork the code. Checksum the ICMP data and actually
148 compare it to received checksum. Check data length against
149 claimed length in header.
150 Always use ntoh.. when accessing addresses, even when the
151 comparison happens to be endian-safe.
152 (send_packet) minor style isues. Use
153 sockopt_iphdrincl_swab_htosys.
154 (irdp_iph_hton/ntoh) IP header to/from network/host order.
155
hassoeef1fe12004-10-03 18:46:08 +00001562004-10-03 Gilad Arnold <gilad.arnold at terayon.com>
157
158 * interface.c, interface.h: A new prefix tree of connected subnets is
159 associated with each interface structure in zebra, in which each
160 live (ie, non-synthetic) node holds a list of installed addresses
161 that belong to that prefix. Remove secondary address logic from cli.
162 See [quagga-dev 872] for detailed explanation.
163 * connected.c: Use if_subnet_add() and if_subnet_delete().
164
hasso18a6dce2004-10-03 18:18:34 +00001652004-10-03 James R. Leu <jleu at mindspring.com>
166
167 * router-id.c, router-id.h: New files. Router id selection process. If
168 there is non 127.x.x.x address in loopack interface, lowest of them
169 is chosen. If there isn't, lowest from other interfaces addresses
170 are chosen. "router-id x.x.x.x" vty command to manual override.
171 * Makefile.am: Compile new files.
172 * main.c: Initialize router id.
173 * redistribute.c: Add interface addresses into router id selection
174 lists as they (dis)appear.
175 * zserv.c, zserv.h: Sending router id related messages to daemons.
176
hassoc9e52be2004-09-26 16:09:34 +00001772004-09-26 Hasso Tepper <hasso at quagga.net>
178
179 * irdp_interface.c, irdp_main.c, irdp_packet.c, rt_netlink.c,
180 rtadv.c, zebra_vty.c: Fix compiler warnings.
181
paul0c0f9112004-09-24 08:24:42 +00001822004-09-24 Paul Jakma <paul@dishone.st>
183
paul26f7a242004-09-24 08:45:10 +0000184 * irdp_interface.c: (no_ip_irdp_address_preference_cmd)
185 add missing listnode declaration.
186
1872004-09-24 Paul Jakma <paul@dishone.st>
188
paul0c0f9112004-09-24 08:24:42 +0000189 * irdp_{interface,main}.c: lists typedef removal cleanup.
190 update some list loops to LIST_LOOP. some miscellaneous style
191 and indent fixups.
192 (no_ip_irdp_address_preference_cmd) Fix delete of referenced node
paul26f7a242004-09-24 08:45:10 +0000193 in loop.
paul0c0f9112004-09-24 08:24:42 +0000194 * irdp_packet.c: (irdp_recvmsg) Fix buggy assignment of integer
195 to pointer.
196 * if_ioctl{,_solaris}.c: lists typedef removal cleanup.
197 update some list loops to LIST_LOOP.
198
hasso52dc7ee2004-09-23 19:18:23 +00001992004-09-23 Hasso Tepper <hasso at quagga.net>
200
201 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
202
paul44983cf2004-09-22 13:15:58 +00002032004-09-22 Paul Jakma <paul.jakma@sun.com>
204
205 * zserv.c: (zsend_route_multipath) fix nasty bad memset of struct
206 in_addr to sizeof(struct in6_addr), causing odd and hard to debug
207 crash.
208
hassoc34b6b52004-08-31 13:41:49 +00002092004-08-31 Hasso Tepper <hasso at quagga.net>
210
211 * main.c, rt_netlink.c: Added -s command line switch for tuning
212 netlink receive buffer size in Linux to avoid buffer overruns.
213
gdta5ea6872004-08-26 13:24:00 +00002142004-08-26 Miles Nordin <carton@Ivy.NET>
215
216 * ipforward_sysctl.c (mib_ipv6): Use size_t for len, per
217 sysctl(3), rather than int. (Needed on NetBSD/alpha to display
218 forwarding status correctly.)
219
paul3e0b3a52004-08-23 18:58:32 +00002202004-08-23 Paul Jakma <paul@dishone.st>
221
222 * zserv.c: (zebra_init) remove implicit ip forward enabling
223
paul0de1cde2004-08-19 04:45:33 +00002242004-08-19 Paul Jakma <paul@dishone.st>
225
226 * irdp_main.c: update to match sockopt renames.
227 * irdp_packet.c: include sockopt.h and update to match sockopt
228 renames.
229
gdt57492d52004-08-11 18:06:38 +00002302004-08-11 Greg Troxel <gdt@fnord.ir.bbn.com>
231
232 * rtadv.c (rtadv_send_packet): Allocate space for control messages
233 more carefully; it was wrong on NetBSD/sparc where CMSG alignment
234 is to 8 bytes instead of 4, and overwriting the address. Use the
235 provided macros for determining lengths.
236
paul5b73a672004-07-23 15:26:14 +00002372004-07-23 Sowmini Varadhan <Sowmini.Varadhan@Sun.COM>
238
239 * if_ioctl_solaris.c: HAVE_IPV6 ifdef fixups
240 * zserv.c: ditto
241 * ioctl_solaris.c: ditto.
242 * interface.c: cast for LLADDR
243 * interface.h: Add guards, include redistribute.h and remove
244 extraneous definitions of zebra_interface_{up,down}_update
245 * ioctl.h: Add AF_IOCTL define for non SOLARIS_IPV6
246 * redistribute.h: include dependent header, zserv.h
247 * zserv.h: include dependent header, rib.h
248
paul1470baf2004-07-23 15:25:01 +00002492004-07-23 Paul Jakma <paul@dishone.st>
250
251 * irdp_main.c: use setsockopt_pktinfo_ipv4
252 * irdp_packet.c: use SOPT_SIZE_CMSG_PKTINFO_IPV4 and
253 getsockopt_pktinfo_ifindex()
254
gdtcced60d2004-07-13 16:45:54 +00002552004-07-13 David Wiggins <dwiggins@bbn.com
256
257 * kernel_socket.c (rtm_flag_dump): terminate buffer with '\0', not '0'.
258
hasso25dac852004-07-13 03:06:51 +00002592004-07-13 Hasso Tepper <hasso@estpak.ee>
260
261 * irdp_main.c: Add privilege change.
262
hasso996933f2004-07-12 16:32:56 +00002632004-07-12 Hasso Tepper <hasso@estpak.ee>
264
265 * irdp_interface.c: follow common style while naming vty command
266 functions. Avoids confusion in extract.pl.
267
gdt87efd642004-06-30 17:36:11 +00002682004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
269
270 * main.c: define thread_master variable so that linking with
271 libzebra.so doesn't fail. Arguably zclient.o should be in a
272 separate library, but this is far less disruptive.
273
hassoca776982004-06-12 14:33:05 +00002742004-06-12 Robert Olsson <Robert.Olsson at data.slu.se>
275
276 * Added IRDP support.
277
hasso3e31cde2004-05-18 11:58:59 +00002782004-05-18 Hasso Tepper <hasso@estpak.ee>
279
280 * rtadv.c: Removed "[no] ipv6 nd send-ra" command. Replaced "ipv6 nd
281 prefix-advertisement" with "ipv6 nd prefix". Rewrite syntax of
282 "ipv6 nd prefix" command to allow various combinations of parameters
283 and flags. No defaults in configuration. Replaced on-link and
284 autoconfig with off-link and no-autoconfig flags in command syntax.
285 Cosmetic fixes in all commands. Documentation to reflect all changes.
286
paul19877dd2004-05-11 10:49:35 +00002872004-05-11 Paul Jakma <paul@dishone.st>
288
289 * Makefile.am: support for IOCTL_METHOD, as per Sowmini's patch.
paul48a46fa2004-05-11 10:55:22 +0000290 * if_ioctl_solaris.c: Fixup some erroneous privilege changes and
291 add privs.h header.
292 * ioctl_solaris.c: ditto
paulc50ae8b2004-05-11 11:31:07 +0000293 * ioctl.h: Add if_ioctl_ipv6 prototype and AF_IOCTL for SOLARIS_IPV6
294 * kernel_socket.c: Fix SAROUNDUP, compiler doesnt like do..while
295 RHS in assignments :)
296 * redistribute.c: (zebra_interface_delete_update) only used
297 if RTM_IFANNOUNCE and NETLINK is available.
298
paulb9df2d22004-05-09 09:09:59 +00002992004-05-09 Paul Jakma <paul@dishone.st>
300
301 * zserv.c: (zsend_route_multipath) Set the nexthop_num
302 field correctly. Add NEXTHOP_TYPE_IPV6_IFNAME for v6.
303 Conditionally set ZAPI_MESSAGE_METRIC flag - only for adds.
304 (zsend_ipv4_add) cruft, deleted.
305 (zsend_ipv4_delete) ditto.
306 (zsend_ipv6_add) ditto.
307 (zsend_ipv6_delete) ditto.
paul44145db2004-05-09 11:00:23 +0000308 * ioctl.c: (if_get_mtu) set mtu6 to mtu
309 * mtu_kvm.c: (if_kvm_get_mtu) set mtu6 to mtu
310 * rt_netlink.c: (netlink_interface) set mtu6 to mtu
311 (netlink_link_change) ditto
paul66e94882004-05-09 17:19:24 +0000312 * ipforward_solaris.c: fix typo of ND variable.
paul88424682004-05-09 18:21:35 +0000313 * if_ioctl_solaris.c: Add zprivs support.
314 * ioctl_solaris.c: ditto.
paul66e94882004-05-09 17:19:24 +0000315
paulb9df2d22004-05-09 09:09:59 +00003162004-05-09 Sowmini Varadhan <sowmini.varadhan@sun.com>
317
318 * zserv.c: (zsend_ipv{4,6}_{add,delete}_multipath) collapsed
319 into single zsend_route_multipath function.
320 (zsend_interface_{up,down}) collapsed into zsend_interface_update.
321 (zsend_interface_address_{add,delete}) collapsed into
322 zsend_interface_address.
323 (zsend_interface_add) send mtu6.
324 (zsend_interface_delete) ditto.
325 (zebra_write) remove unused function.
326 (various) Apply static qualifier. Add comments.
327 * zserv.h: Definitions changed as per above.
328 * redistribute.c: Changes as per zserv.c.
paul44145db2004-05-09 11:00:23 +0000329 * interface.c: (if_delete_update) only used with HAVE_NETLINK
330 and RTM_IFANNOUNCE.
331 (if_flag_dump_vty) Solaris IFF_IPV4 and IFF_IPV6 if flags
332 (if_dump_vty) print mtu6 if not same as mtu
paul88424682004-05-09 18:21:35 +0000333 * if_ioctl_solaris.c: New file, Solaris interface ioctl methods.
334 * ioctl_solaris.c: New file, Common solaris ioctl methods.
335
hasso34195bf2004-04-06 12:07:06 +00003362004-04-06 Krzysztof Oledzki <oleq@ans.pl>
337
338 * rt_netlink.c: Do not ignore metric when reading kernel routing
339 table on Linux with rt_netlink interface.
340
3412004-03-18 Hasso Tepper <hasso@estpak.ee>
hassof1d92e12004-03-18 15:40:33 +0000342
343 * interface.c: Temporary fix for handling secondary addresses
344 with label.
345
hasso55906722004-02-11 22:42:16 +00003462004-02-12 Hasso Tepper <hasso@estpak.ee>
hassof1d92e12004-03-18 15:40:33 +0000347
hasso55906722004-02-11 22:42:16 +0000348 * zserv.c: Added "ipv6 forwarding" command.
349
gdtb27900b2004-01-08 15:44:29 +00003502004-01-08 Greg Troxel <gdt@fnord.ir.bbn.com>
351
352 * kernel_socket.c (kernel_read): Use sockaddr_storage in buffer
353 for reading kernel messages to ensure enough space (necessary on
354 Solaris due to sockaddr_dl being large). Thanks to Sowmini
355 Varadhan for help with this change.
356
gdt9ccabd12004-01-06 18:23:02 +00003572004-01-06 Greg Troxel <gdt@t1.ir.bbn.com>
358
359 * rtadv.c (rtadv_send_packet): Change perror to zlog_err.
360
gdtdbee01f2004-01-06 00:36:51 +00003612004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
gdt4bfbea82004-01-06 01:13:05 +0000362 * kernel_socket.c (ifm_read): Major cleanup. Use Sowmini's code
363 to find the sockaddr_dl in all cases, narrowing the Solaris ifdef
364 to just the accomodation of broken kernels. Check sockaddr_dl
365 carefully up front, and later assume any non-NULL sdl pointer is
366 valid. Clean up types and variable declarations, and rename
367 WRAPUP to SAROUNDUP to make the name fit the behavior.
368
3692004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
gdtdbee01f2004-01-06 00:36:51 +0000370
371 * kernel_socket.c (kernel_read): Add a sockaddr_dl to the ifmsg
372 structure, because on Solaris sockaddr_dl is far larger than the
373 base sockaddr structure. (The code had previously been failing to
374 read all the data.)
gdt4bfbea82004-01-06 01:13:05 +0000375
gdtda26e3b2004-01-05 17:20:59 +00003762004-01-05 Greg Troxel <gdt@ahi.ir.bbn.com>
377
378 * kernel_socket.c (kernel_read): Look up interfaces by index
379 first, so that state changes which do not include a sockaddr_dl
380 now work. Add many sanity checks. In
381 particular, do not assume that a sockaddr_dl follows a message
382 without checking the ifm_addrs flags, and do not trust the length
383 in a sockaddr_dl. Add/clarify many comments.
384
gdt4b5e1352003-12-03 17:54:34 +00003852003-12-03 Greg Troxel <gdt@poblano.ir.bbn.com>
386
387 * rtadv.c: reorder includes to avoid compiler warning (define
388 structs before using them in prototypes)
389
hasso647e4f12003-05-25 11:43:52 +00003902003-05-25 Jim Crumpler <Jim.Crumpler@edion.com>
391
392 * zserv.c: Add "ip forwarding" command.
393
paul445f1432003-05-16 19:00:31 +00003942003-05-16 Gilad Arnold <gilad.arnold@terayon.com>
395
396 * zebra_rib.c: Fix memory leaks for ifname nexthops
397
3982003-04-19 Israel Keys <ikeys@agile.tv>
399
400 * rt_netlink.c: BLOCK on netlink while initialising
401
4022003-02-06 Francois Deppierraz <francois@ctrlaltdel.ch>
403
404 * rt_netlink.c (netlink_route_multipath): Set RTM_F_EQUALIZE when
405 it exists.
406
paul718e3742002-12-13 20:15:29 +00004072002-09-28 Akihiro Mizutani <mizutani@net-chef.net>
408
409 * zebra_rib.c (static_add_ipv4): Null0 static route is added.
410
4112002-09-10 Jochen Friedrich <chris+zebra@scram.de>
412
413 * rt_netlink.c: Add check for EAGAIN.
414 * kernel_socket.c: Likewise
415
4162002-06-12 Israel Keys <ikeys@oz.agile.tv>
417
418 * rt_netlink.c: Setting the NLM_F_ACK flag on the netlink command
419 message so that we get an ACK for successful netlink commands.
420 Change the netlink socket to BLOCKING while we wait for a
421 response; be it an ACK or an NLMSG_ERROR. Change
422 netlink_parse_info to deal with ACK messages.
423
4242001-11-01 Jun-ichiro itojun Hagino <itojun@iijlab.net>
425
426 * rtadv.c (rtadv_make_socket): setsockopt(IPV6_CHECKSUM) does not
427 work for ICMPv6 socket.
428
4292001-10-24 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
430
431 * rib.c (rib_process): Select connected route any case.
432
4332001-10-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
434
435 * interface.c (no_ip_address_secondary): Add "no" to command.
436
4372001-10-18 NOGUCHI Kay <kay@v6.access.co.jp>
438
439 * ioctl.c (if_prefix_add_ipv6): Set the prefered and valid lifetime
440 to infinity as the freebsd4.4 workaroud.
441
4422001-08-26 mihail.balikov@interbgc.com
443
444 * zebra_snmp.c: Fix snmpwalk problem such as IPv4 address
445 A.B.C.255.
446
4472001-08-22 NOGUCHI Kay <kay@v6.access.co.jp>
448
449 * rtadv.c: Do not send RA to loopback interface.
450
4512001-08-20 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
452
453 * ioctl.c (if_set_prefix): Remove Linux 2.0 specific connected
454 route treatment.
455
4562001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
457
458 * zebra-0.92a released.
459
4602001-08-17 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
461
462 * rib.c: Kernel route is treated as EGP routes in nexthop active
463 check.
464
4652001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
466
467 * zebra-0.92 released.
468
4692001-08-08 "Akihiro Mizutani" <mizutani@dml.com>
470
471 * rib.c (show_ip_route_prefix_longer): Add longer-prefix option to
472 show route commands.
473
4742001-07-29 Yon Uriarte <havanna_moon@gmx.net>
475
476 * zserv.c (zsend_ipv4_add_multipath): Add
477 NEXTHOP_TYPE_IPV4_IFINDEX check.
478
4792001-07-29 NOGUCHI Kay <kay@v6.access.co.jp>
480
481 * rtadv.c: Apply valid lifetime, preferred lifetime, onilnk flag,
482 autonomous address-configuration flag patch.
483 (no_ipv6_nd_suppress_ra): Change "ipv6 nd send-ra" to "no ipv6 nd
484 suppress-ra".
485
4862001-07-24 NOGUCHI Kay <kay@v6.access.co.jp>
487
488 * rtadv.c (ipv6_nd_ra_interval): Add "ipv6 nd ra-interval SECONDS"
489 command.
490
4912001-07-24 Jun-ichiro itojun Hagino <itojun@iijlab.net>
492
493 * rt_socket.c (kernel_rtm_ipv4): Add KAME/NetBSD151 equal cost
494 multicast FIB support both IPv4 and IPv6.
495
4962001-07-24 Hal Snyder <hal@vailsys.com>
497
498 * if_ioctl.c (interface_list_ioctl): Fix bug of failing to get the
499 full list of interfaces on some configurations of OpenBSD.
500
5012001-07-23 NOGUCHI Kay <kay@v6.access.co.jp>
502
503 * rtadv.c (ipv6_nd_send_ra): Apply [zebra 9320] to fix "ipv6 nd
504 send-ra" bug.
505 (ipv6_nd_ra_lifetime): "ipv6 nd ra-lifetime 0" for default router
506 availability.
507 (ipv6_nd_managed_config_flag): "ipv6 nd managed-config-flag" is
508 added.
509 (ipv6_nd_other_config_flag): "ipv6 nd other-config-flag" is added.
510
5112001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
512
513 * ioctl.c (if_ioctl): Change ioctl argument from int to u_long.
514
515 * rt_ioctl.c: Likewise.
516
5172001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
518
519 * kernel_socket.c (rtm_write): Only set RTF_CLONING when the
520 interface is not p2p.
521
5222001-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
523
524 * ioctl.c (if_prefix_add_ipv6): Fix argument type.
525
5262001-04-06 Toshiaki Takada <takada@zebra.org>
527
528 * zserv.c (zsend_interface_delete): Use client->obuf instead of
529 allocating new stream.
530
5312001-03-10 Kunihiro Ishiguro <kunihiro@zebra.org>
532
533 * rt_netlink.c: Revert RTPROT_BOOT change.
534
5352001-03-08 Kunihiro Ishiguro <kunihiro@zebra.org>
536
537 * rt_netlink.c (netlink_route_change): Skip RTPROT_BOOT route.
538 (netlink_routing_table): Likewise.
539
5402001-03-07 "Akihiro Mizutani" <mizutani@dml.com>
541
542 * zserv.c (zsend_ipv4_add_multipath): Send metric value to
543 protocol daemons.
544
5452001-02-18 Kunihiro Ishiguro <kunihiro@zebra.org>
546
547 * rt_netlink.c (netlink_routing_table): Do not return
548 tb[RTA_GATEWAY] is NULL. Reported by: "Michael O'Keefe"
549 <mokeefe@qualcomm.com>.
550
5512001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
552
553 * if_ioctl.c (interface_list_ioctl): Call if_add_update().
554 Suggested by: Chris Dunlop <chris@onthe.net.au>.
555
5562001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
557
558 * rib.c (nexthop_active_ipv4): When nexthop type is
559 NEXTHOP_TYPE_IPV4_IFINDEX, propery set the ifindex to rifindex.
560
561 * zserv.c: Initialize rtm_table_default with 0.
562
563 * zebra-0.91 is released.
564
5652001-01-31 Kunihiro Ishiguro <kunihiro@zebra.org>
566
567 * kernel_socket.c (rtm_read): Filter cloned route. Suggested by:
568 Jun-ichiro itojun Hagino <itojun@iijlab.net>
569
5702001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
571
572 * connected.c (connected_up_ipv6): When point-to-point destination
573 address is ::, use local address for connected network.
574 (connected_down_ipv6): Likewise.
575
5762001-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
577
578 * zserv.c (zebra_serv): Add missing close() call. Reported by:
579 David Waitzman <djw@vineyard.net>.
580
5812001-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
582
583 * rib.c (rib_lookup_ipv4): New function for checking exact match
584 IGP route.
585
5862001-01-23 Kunihiro Ishiguro <kunihiro@zebra.org>
587
588 * rib.c (show_ipv6_route_protocol): Fix bug of "show ip route
589 route-type".
590
5912001-01-22 Kunihiro Ishiguro <kunihiro@zebra.org>
592
593 * interface.c (zebra_interface): Do not call
594 zebra_interface_add_update for inactive interface.
595
596 * zserv.c (zsend_interface_address_add): Send interface address
597 flag.
598 (zsend_interface_address_delete): Likewise.
599
6002001-01-19 Kunihiro Ishiguro <kunihiro@zebra.org>
601
602 * interface.c (if_addr_add): Add flags.
603
604 * connected.c (ifa_add_ipv4): Add new function for interface
605 address handling.
606 (ifa_delete_ipv4): Likewise.
607
6082001-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
609
610 * rib.c (rib_update): Update IPv6 RIB.
611
612 * kernel_socket.c (ifam_read): Call if_refresh() for update
613 interface flag status. This is for implicit interface up on *BSD.
614
615 * interface.c (if_refresh): Add interface flag refresh function.
616
617 * kernel_socket.c (rtm_read): Fetch link-local address interface
618 index.
619 (ifan_read): We need to fetch interface information. Suggested
620 by: Yasuhiro Ohara <yasu@sfc.wide.ad.jp>.
621
622 * rib.c (static_ipv6_nexthop_same): Add check for
623 NEXTHOP_TYPE_IPV6_IFNAME.
624
6252001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
626
627 * rib.h (NEW_RIB): Turn on NEW_RIB flag. IPv6 new RIB code are
628 taken into place.
629
6302001-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
631
632 * rib.c (static_ipv6_write): Display STATIC_IPV6_GATEWAY_IFNAME
633 configuration.
634 (rib_delete_ipv6): Handle same route conter for IPv6 connected
635 route.
636 (show_ipv6_route_protocol): New command.
637 (show_ipv6_route_addr): Likewise.
638 (show_ipv6_route_prefix): Likewise.
639 (rib_update): Sweep kernel route when it is cleaned up.
640
641 * rt_socket.c (kernel_add_ipv6): Add NEXTHOP_IPV6_IFNAME
642 treatmenet.
643
644 * rt_netlink.c (kernel_init): Likewise.
645
646 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): Likewise.
647
648 * rib.c (rib_add_ipv4): Cope with same connected route on a
649 interface. Suggested by: Matthew Grant <grantma@anathoth.gen.nz>.
650 (nexthop_ipv6_ifname_add): Add NEXTHOP_IPV6_IFNAME treatmenet.
651
652 * rib.h (struct new_rib): Add refcnt to keep track on the
653 reference of same connected route.
654
655 * ioctl.c (if_set_prefix): Add check for GNU_LINUX.
656
6572001-01-13 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
658
659 * kernel_socket.c (ifan_read, rtm_type_str): Add RTM_OIFINFO check.
660 (rtm_type_str): Add RTM_IFANNOUNCE check.
661 (ifan_read): New function.
662 (kernel_read): Add case for RTM_IFANNOUNCE.
663
6642001-01-13 Kunihiro Ishiguro <kunihiro@zebra.org>
665
666 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): New function.
667
668 * rt_netlink.c (netlink_route_multipath): IPv6 address ifindex
669 treatment.
670
671 * connected.c (connected_up_ipv6): Add dest value check.
672
673 * rib.c (nexthop_active_ipv6): Do not touch IPv6 nexthop's
674 ifindex.
675 (rib_add_ipv4): Import rib_add_ipv6() same route check code.
676 (nexthop_active_check): NEXTHOP_TYPE_IPV6_IFINDEX activity is only
677 checked by ifindex.
678
679 * rt_socket.c (kernel_rtm_ipv6_multipath): New function.
680
681 * redistribute.c (redistribute_add): Use
682 zsend_ipv6_add_multipath().
683 (redistribute_delete_multipath): Use
684 zsend_ipv6_delete_multipath().
685
686 * interface.c (ip_address): Check current IP address to avoid
687 duplicate.
688
689 * rib.c (rib_delete_ipv4): When deleted route is connected route,
690 check ifindex.
691 (rib_add_ipv4): When connected route is added do not perform
692 implicit withdraw.
693 (rib_delete_ipv4): Check ifindex for connected route.
694
695 * kernel_socket.c (rtm_read): When route has RTF_STATIC, set
696 ZEBRA_FLAG_STATIC for indicate as persistent route.
697 (ifam_read): Unset interface index from link-local address when
698 IPv6 stack is KAME.
699
700 * rib.c (rib_update): Do not delete persistent kernel route.
701
702 * rib.h (struct new_rib): Integrate RIB_FLAG_* to ZEBRA_FLAG_*.
703
704 * rt_socket.c (kernel_add_ipv6_multipath): Add placeholder.
705 (kernel_delete_ipv6_multipath): Likewise.
706
707 * rt_netlink.c (netlink_talk): Give struct nlsock to netlink_talk.
708
7092001-01-12 Kunihiro Ishiguro <kunihiro@zebra.org>
710
711 * rib.c (rib_update): Revert Matthew Grant's patch
712 zebra_cvs_newribfix.patch. Use struct rib->ifindex for kernel
713 interface index. Introduce NEXTHOP_TYPE_IPV4_IFINDEX to support
714 that. Add support for address deletion situation.
715
7162001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
717
718 * interface.c: Remove HAVE_IF_PSEUDO part.
719
720 * rib.h: Likewise.
721
722 * rt_netlink.c (netlink_link_change): Likewise.
723
7242001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
725
726 * zserv.c: Remove OLD_RIB codes.
727
7282001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
729
730 * zebra-0.90 is released.
731
7322001-01-09 Matthew Grant <grantma@anathoth.gen.nz>
733
734 * interface.c (if_new_intern_ifindex): Allocate a new internal
735 interface index.
736 (if_addr_refresh): Fix up ip addresses configured via zebra.
737 (if_add_update): Handle an interface addition.
738 (if_delete_update): Handle an interface delete event.
739
740 * rib.c (nexthop_ipv4_add): Add kernel route deletion process when
741 interface goes down.
742
7432001-01-08 Kunihiro Ishiguro <kunihiro@zebra.org>
744
745 * interface.c (if_dump_vty): When HAVE_NET_RT_IFLIST is defined,
746 NetBSD also use this function. Suggested by Jasper Wallace
747 <jasper@ivision.co.uk>.
748
7492001-01-07 Kunihiro Ishiguro <kunihiro@zebra.org>
750
751 * rib.c (nexthop_active_ipv4): Move back to set methodo to old
752 one.
753
7542001-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
755
756 * rib.c (rib_add_ipv4): EBGP multihop set ZEBRA_FLAG_INTERNAL
757 flag, so treat it.
758
7592001-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
760
761 * rt_netlink.c (netlink_talk_ipv6): When IPv6 route message is
762 sent from netlink_cmd, the same message comes from netlink. To
763 avoid confusion, temporary netlink_talk_ipv6 use netlink.sock
764 instead of netlink_cmd.sock.
765
7662001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
767
768 * zserv.h (ZEBRA_SERV_PATH): Change "/tmp/zebra" to "/tmp/.zebra".
769 Change "/tmp/zserv" to "/tmp/.zserv".
770
7712000-12-29 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
772
773 * rt_netlink.c (struct nlsock): Divide kernel message into listen
774 socket and command socket.
775 (netlink_talk): Remove socket listen code. Use netlink_parse_info
776 for read kernel response.
777
7782000-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
779
780 * rib.c (vty_show_ip_route): Show uptime of the RIP,OSPF,BGP
781 routes.
782
7832000-12-27 Kunihiro Ishiguro <kunihiro@zebra.org>
784
785 * rt_netlink.c (netlink_route_multipath): Metric value is
786 reflected to kernel routing table.
787
788 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Likewise.
789
790 * kernel_socket.c (rtm_write): Likewise.
791
792 * rib.c (nexthop_active_ipv4): Only iBGP route perform recursive
793 nexthop lookup.
794
795 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Add ioctl version of
796 new RIB implementation.
797
7982000-12-26 Kunihiro Ishiguro <kunihiro@zebra.org>
799
800 * rib.h: Remove MULTIPATH_NUM. It is defined by configure script.
801
8022000-12-25 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
803
804 * rib.c (rib_if_up): Call rib_fib_set instead of RIB_FIB_SET for
805 proper redistribution.
806
8072000-12-19 Kunihiro Ishiguro <kunihiro@zebra.org>
808
809 * rib.c (nexthop_active_ipv4): Add self lookup nexthop check.
810 (show_ip_route_protocol): Support new RIB.
811
812 * rt_netlink.c (netlink_route_change): Do not return when gate is
813 NULL.
814
8152000-12-18 Kunihiro Ishiguro <kunihiro@zebra.org>
816
817 * rib.c (rib_lookup_ipv4_nexthop): IBGP nexthop check function is
818 updated.
819 (rib_add_ipv4): Free implicit withdraw route's RIB.
820
8212000-12-15 Kunihiro Ishiguro <kunihiro@zebra.org>
822
823 * rib.c (nexthop_active_ipv4): Check indirect nexthop.
824
825 * redistribute.c (redistribute_add_multipath): Redistribution
826 works with new rib code.
827
8282000-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
829
830 * rt_netlink.c (netlink_route_multipath): Check useful nexthop
831 number.
832 (netlink_route_multipath): Clear rtnh_flags and rtnh_hops.
833
834 * rib.c (nexthop_active_update): Set flag for the rib's nexthop
835 activity is changed.
836 (nexthop_active_check): Before checking interface is up, make it
837 sure the interface exist.
838
8392000-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
840
841 * rib.c (ip_route): New RIB prototype.
842
8432000-11-16 Yon Uriarte <ukl2@rz.uni-karlsruhe.de>
844
845 * zserv.c (zsend_interface_add): Send hardware address when
846 hw_addr_len is greater than 0.
847
8482000-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
849
850 * connected.c (connected_up_ipv4): Fix ptop bug. The destination
851 network should be installed into routing table.
852 (connected_down_ipv4): Likewise.
853 (connected_add_ipv4): Change to use connected_up_ipv4.
854 (connected_delete_ipv4): Likewise.
855
8562000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
857
858 * rt_netlink.c (netlink_interface_addr): Revert Harald Welte
859 <laforge@gnumonks.org>'s ptop patch then back to original code to
860 avoid duplicated connected route problem. Suggested by Frank van
861 Maarseveen <F.vanMaarseveen@inter.NL.net>.
862
863 * kernel_socket.c (rtm_read): Make behavior consistent even #ifdef
864 DEBUG is defined. Reported by Jun-ichiro itojun Hagino
865 <itojun@iijlab.net>.
866
8672000-10-23 Jochen Friedrich <jochen@scram.de>
868
869 * main.c (main): Call zebra_snmp_init() when it is enabled.
870
8712000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org>
872
873 * zserv.c (zebra_serv_un): UNIX domain socket server of zebra
874 protocol.
875
8762000-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
877
878 * rib.c (rib_add_ipv4): Same check bug is fixed.
879
8802000-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
881
882 * rib.c (rib_if_down): Remove kernel route when the interface goes
883 down.
884
885 * debug.c: New command "debug zebra kernel" is added.
886
8872000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
888
889 * zebra-0.89 is released.
890
8912000-09-24 Harald Welte <laforge@gnumonks.org>
892
893 * rt_netlink.c (netlink_interface_addr): Fix point-to-point address
894 treatment in netlink interface.
895
8962000-09-21 David Lipovkov <dlipovkov@OpticalAccess.com>
897
898 * rib.c (rib_if_down): Pull static route only. Protocol daemon
899 must withdraw routes when interface goes down.
900 (rib_add_ipv4): Check nexthop when replace route.
901
9022000-09-21 Kunihiro Ishiguro <kunihiro@zebra.org>
903
904 * if_ioctl.c (if_getaddrs): New function for looking up
905 interface's address by getifaddrs().
906
9072000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
908
909 * connected.c (connected_delete_ipv4): Add check for connected
910 address is found or not.
911 (connected_add_ipv6): Reflect IPv6 connected address change to
912 protocol daemons.
913 (connected_delete_ipv6): Likewise.
914
9152000-09-07 David Lipovkov <davidl@nbase.co.il>
916
917 * rib.c (rib_delete_ipv4): Reverted the change from pseudo
918 interface patch to original. Because ospfd deletes routes using
919 zero ifindex.
920
9212000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
922
923 * zebra-0.88 is released.
924
9252000-08-15 "Akihiro Mizutani" <mizutani@dml.com>
926
927 * rib.c (show_ip_route_protocol): Help string correction.
928 (show_ip_route_prefix): Check prefix mask.
929 (show_ip_route_vty_detail): Display distance and metric.
930
9312000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
932
933 * zserv.c (zsend_interface_add): Change ifindex store size from
934 two octet to four.
935 (zsend_interface_delete): Likewise.
936 (zsend_interface_address_add): Likewise.
937 (zsend_interface_address_delete): Likewise.
938 (zsend_interface_up): Likewise.
939 (zsend_interface_down): Likewise.
940
9412000-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
942
943 * rib.c (rib_add_ipv4): Do not install distance 255 route.
944
9452000-08-10 Toshiaki Takada <takada@zebra.org>
946
947 * interface.c (bandwidth_if), (no_bandwidth_if): Call
948 zebra_interface_up_update () instead of using if_up() and if_down().
949
9502000-08-07 "Akihiro Mizutani" <mizutani@dml.com>
951
952 * interface.c (bandwidth_if): Fix help string.
953
9542000-08-07 Matthew Grant <grantma@anathoth.gen.nz>
955
956 * interface.c (if_dump_vty): Display bandwidth value.
957 (bandwidth_if): New command "bandwidth <1-10000000>" is added.
958 When interface is up, force protocol daemons to recalculate routes
959 due to cost change.
960 (no_bandwidth_if): Likewise.
961 (if_config_write): Output bandwidth configuration.
962
963 * zserv.c (zsend_interface_add): Send bandwidth value.
964 (zsend_interface_up): Likewise.
965 (zsend_interface_down): Likewise.
966
967
9682000-08-07 Michael Rozhavsky <mike@nbase.co.il>
969
970 * rib.c (show_ip_route_protocol): "show ip route
971 (bgp|connected|kernel|ospf|rip|static)" is added.
972
9732000-08-07 Kunihiro Ishiguro <kunihiro@zebra.org>
974
975 * rib.c (rib_lookup_ipv4_nexthop): Check parent node until IGP
976 nexthop is found.
977 (rib_add_ipv4_internal): Set fib ifindex to rib ifindex.
978
9792000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
980
981 * redistribute.c (redistribute_delete): Fix bug of default route
982 redistribute treatment.
983
9842000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
985
986 * rib.c (rib_init): Install ip_node in rib.c instead of zserv.c.
987 Change default distance value.
988
989 Old New
990 ------------------------------------------
991 system 10 0
992 kernel 20 0
993 connected 30 0
994 static 40 1
995 rip 50 120
996 ripng 50 120
997 ospf 60 110
998 ospf6 49 110
999 bgp 70 200(iBGP) 20(eBGP)
1000 ------------------------------------------
1001
1002 * zserv.c (client_lookup): Function removed.
1003 (zsend_interface_add): Use client's output buffer. Check ifinfo
1004 flag.
1005 (zsend_interface_delete): Likewise.
1006 Delete ipv4_static_radix and ipv6_static_radix.
1007
10082000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1009
1010 * zserv.h (struct zebra_client): When client request interface
1011 information, ifinfo is set.
1012
1013 * rib.c: Temporary Revert changes for pseudo interface.
1014
1015 * rib.h: Likewise.
1016
1017 * zserv.c: Likewise.
1018
1019 * interface.c: Likewise.
1020
10212000-08-02 David Lipovkov <davidl@nbase.co.il>
1022
1023 * interface.c (zebra_if_init): Install interface "pseudo"
1024 commands.
1025
1026 * rib.c (rib_create): ifname argument is added.
1027 (rib_add_ipv4_pseudo): New function is added.
1028 (rib_delete_ipv4_pseudo): Likewise.
1029
1030 * rib.h : Delete INTERFACE_UNKNOWN definition. Add prototype for
1031 pseudo interface functions.
1032
1033 * rt_netlink.c (netlink_link_change): Check for pseudo interface.
1034
1035 * zserv.c (ip_route): When destination is pseudo interface, call
1036 rib_add_ipv4_pseudo().
1037
1038 * zserv.c (no_ip_route): Trim "unknown" argument.
1039
10402000-07-26 kunitake@dti.ad.jp
1041
1042 * if_ioctl.c (if_get_hwaddr): Fix hardware address length from 8
1043 to 6.
1044
1045 * rtadv.c (rtadv_send_packet): Fix shift bug for hardware address.
1046
10472000-07-24 Akihiro Mizutani <mizutani@dml.com>
1048
1049 * interface.c: Use install_default() for common VTY commands.
1050
10512000-07-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1052
1053 * if_ioctl.c (interface_list_ioctl): A interface list size is
1054 calculated from ifreq->if_addr.sa_len. This is for OpenBSD.
1055
1056 * ioctl.c (if_get_mtu): Remove codes for SIOCGIFDATA.
1057
10582000-07-09 Chris Dunlop <chris@onthe.net.au>
1059
1060 * if_ioctl.c (if_get_index): Add check for HAVE_BROKEN_ALIASES.
1061
10622000-07-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1063
1064 * zserv.c (zebra_client_read): Add ZEBRA_REDISTRIBUTE_{ADD,DELETE}
1065 message handling.
1066
10672000-07-02 David Lipovkov <davidl@nbase.co.il>
1068
1069 * zserv.c: "ip route A.B.C.D/M unknown" command is added.
1070
10712000-06-28 Michael Rozhavsky <mike@nbase.co.il>
1072
1073 * rib.c: Remove old kernel route when new route comes in.
1074
10752000-06-13 David Lipovkov <davidl@nbase.co.il>
1076
1077 * rib.c (rib_if_up): Add check for unknown interface.
1078
10792000-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1080
1081 * rib.h: Define INTERFACE_UNKNOWN.
1082
10832000-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1084
1085 * Makefile.am (EXTRA_DIST): Move irdp.c until implementation is
1086 finished.
1087
10882000-06-05 David Lipovkov <davidl@nbase.co.il>
1089
1090 * interface.c (if_zebra_delete_hook): Call rib_if_delete().
1091
1092 * redistribute.c (zebra_interface_delete_update): New function.
1093
1094 * redistribute.h (zebra_interface_delete_update): New function
1095 prototype.
1096
1097 * rib.c (rib_if_delete): New function. Walk down all routes and
1098 delete all on the interface.
1099
1100 * rib.h: New function prototype.
1101
1102 * rt_netlink.c (netlink_link_change): Call
1103 zebra_interface_delete_update ().
1104
11052000-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1106
1107 * if_ioctl.c (interface_info_ioctl): Check interface's flag before
1108 checking interface's address.
1109
11102000-04-26 Jochen Friedrich <jochen@nwe.de>
1111
1112 * GNOME-PRODUCT-ZEBRA-MIB: New file.
1113
1114 * GNOME-SMI: New file.
1115
11162000-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1117
1118 * irdp.c: New file from 1997 development code.
1119 * irdp.h: Likewise.
1120
11212000-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1122
1123 * rtadv.c (rtadv_send_packet): Enclose router advertisement
1124 logging with IS_ZEBRA_DEBUG_PACKET.
1125
11262000-04-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1127
1128 * zserv.c (zebra_client_close): Remove client structure from
1129 client_list when connection is terminated.
1130
11312000-03-21 David Lipovkov <davidl@nbase.co.il>
1132
1133 * connected.c (connected_add_ipv4): Allows all necessary structure
1134 updates for connected route, but doesn't insert it into rib if
1135 it's interface is down.
1136
11372000-01-21 Hideto Yamakawa <hideto.yamakawa@soliton.co.jp>
1138
1139 * rtread_getmsg.c: Set some definition for Solaris 2.5 and Solaris
1140 2.5.1.
1141
11422000-01-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1143
1144 * rib.c (no_ipv6_route_ifname): Fix buf of cheking return value
1145 from str2prefix_ipv6().
1146
11472000-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1148
1149 * rt_socket.c: Revert to use RTF_HOST for IPv4 with /32 route and
1150 IPv6 with /128 routes.
1151 (kernel_rtm_ipv4): In case of /32 route's gateway is interface. It
1152 should have mask for cloning.
1153
11541999-12-26 Jochen.Friedrich@genorz.de
1155
1156 * interface.c (if_dump_vty): Fix a bug of missing VTY_NEWLINE.
1157
11581999-12-23 Alex Zinin <zinin@amt.ru>
1159 * interface.*: dynamic int up/down support
1160
11611999-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1162
1163 * ipforward_proc.c (dropline): Move dropline() from lib/dropline.c
1164
1165 * rtread_proc.c (proc_route_read): Don't use dropline().
1166
11671999-12-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1168
1169 * kernel_socket.c (rtm_read): When message is RTM_GET, it has own
1170 process's pid.
1171
11721999-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1173
1174 * main.c (main): Change to default log output to ZLOG_STDOUT.
1175
1176 * zserv.c (zebra_serv): More detailed error print.
1177
11781999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1179
1180 * kernel_socket.c (rtm_read): Check old pid for static route
1181 insertion check.
1182
11831999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1184
1185 * interface.c (if_dump_vty): BSDI/OS uses 64bit for interface
1186 statistics counter.
1187
1188 * mtu_kvm.c: New file added.
1189
11901999-11-27 Vladimir B. Grebenschikov <vova@express.ru>
1191
1192 * kernel_socket.c (rtm_write): Set RTF_CLONING flag for
1193 route to the directly connected interface.
1194
11951999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1196
1197 * rt_socket.c: Delete USE_HOST_BIT definition.
1198
11991999-11-21 Michael Handler <handler@sub-rosa.com>
1200
1201 * rtread_getmsg.c: Undef some definition to resolve conflict.
1202
12031999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1204
1205 * kernel_socket.c (rtm_write): Change to use pre stored struct_dl
1206 value for gateway specification.
1207
12081999-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1209
1210 * rt_socket.c (kernel_rtm_ipv4): Even mask is 32 under IPv4 or
1211 128 under IPv6, don't use RTF_HOST.
1212
12131999-11-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1214
1215 * Makefile.am (EXTRA_DIST): Add rtread_getmsg.c.
1216
12171999-11-21 Michael Handler <handler@sub-rosa.com>
1218
1219 * rtread_getmsg.c: Added for Solaris 2.6 support.
1220
12211999-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1222
1223 * rtread_sysctl.c (rtm_read_route): RTM_DELETE handling added.
1224
1225 * rt_socket.c (kernel_read): Better BSD routing socket support.
1226
12271999-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1228
1229 * client_main.c: Disable making obsolete zebra test `client'
1230 command.
1231
12321999-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1233
1234 * zebra.c: Renamed to zserv.c.
1235
1236 * zebra.h: Global definitions are moved to lib/zebra.h. Then
1237 renamed to zserv.h.
1238
12391999-10-15 Jordan Mendelson <jordy@wserv.com>
1240
1241 * if_ioctl.c: Add Linux 2.2.X's alias support and dynamic
1242 interface. Remove ugly MAX_INTERFACE handling codes.
1243
12441999-09-17 Satosi KOBAYASI <kobayasi@north.ad.jp>
1245
1246 * Fix serious bug of IPv6 route deletion.
1247
12481999-09-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1249
1250 * ioctl.c (if_set_prefix): Properly set broadcast address.
1251
12521999-09-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1253
1254 * rib.c (rib_add_ipv6, rib_delete_ipv6): now protocol daemons
1255 can install connected route to kernel via zebra
1256
12571999-08-24 VOP <vop@unity.net>
1258
1259 * rib.c: Include "sockunion.h"
1260
12611999-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
1262
1263 * ipforward.h: New file.
1264
1265 * zebra.h: Obsolete message ZEBRA_GET_ALL_INTERFACE,
1266 ZEBRA_GET_ONE_INTERFACE, ZEBRA_GET_HOSTINFO are deleted.
1267
12681999-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1269
1270 * zebra.h (ZEBRA_INTERFACE_ADDRESS_ADD):
1271 ZEBRA_INTERFACE_{ADD,DELETE} added.
1272
12731999-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1274
1275 * rib.c: show ip route A.B.C.D works.
1276
1277 * zebra.c (zebra_read_ipv4): Add ifindex to zebra messages.
1278
12791999-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1280
1281 * zebra.h: New Zebra message ZEBRA_INTERFACE_{ADD,DELETE} added.
1282
12831999-08-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1284
1285 * interface.h: New file.
1286 * Makefile.am: Add interface.h
1287
12881999-08-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1289
1290 * redistribute.c (zebra_redistribute): give ifindex to client.
1291
12921999-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1293
1294 * main.c (longopts): -k, --keep_kernel option added.
1295
12961999-07-18 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1297
1298 * rt_socket.c (rtm_write): forgot closing socket bug fixed.
1299
13001999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1301
1302 * rib.c (show_ipv6_cmd): if rib is link show interface name.
1303
13041999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1305
1306 * rt_socket.c (rtm_write): use sockaddr_dl when null gateway.
1307
13081999-07-16 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1309
1310 * rt_socket.c (rtm_write): ipv6 route table bug fixed.
1311
13121999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1313
1314 * zebra.c (zebra_read_ipv6): read link prefix from ospf6 support
1315
13161999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1317
1318 * rt_socket.c (kernel_rtm_ipv6): gate treatment bug fixed.
1319
13201999-07-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1321
1322 * if_sysctl.c (ifm_read): Clear sockunion argument before fetching
1323 data. Suggested by "Chris P. Ross" <cross@eng.us.uu.net>
1324
13251999-07-08 HEO SeonMeyong <seirios@Matrix.IRI.Co.Jp>
1326
1327 * interface.c (if_tun_add): Add KAME's gif tunnel setting codes.
1328
13291999-06-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1330
1331 * zebra.c (zebra_serv): Only accept loopback address connection.
1332
13331999-06-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1334
1335 * zebra.h (ZEBRA_ROUTE_EXTERNAL): Add zebra messages flags
1336
13371999-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1338
1339 * ipforward_proc.c: ipforward_on () and ipforward_off () added.
1340
13411999-06-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1342
1343 * ipforward_proc.c (ipforward_ipv6): Check for IPv6 forwarding
1344 using /proc file system is added.
1345
13461999-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1347
1348 * if_ioctl.c (if_get_index): Interface index set bug is fixed by
1349 adding #else at the middle of function. Suggested by David Luyer
1350 <luyer@ucs.uwa.edu.au>.
1351
13521999-05-29 <kunihiro@zebra.org>
1353
1354 * rt_ioctl.c: Comment out #include <linux/ipv6_route.h>.
1355
13561999-05-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1357
1358 * zebra.h (ZEBRA_ROUTE_MAX): Add new define for the max value of
1359 the sort of routes.
1360
13611999-05-25 Patrick Koppen <koppen@rhrk.uni-kl.de>
1362
1363 * rt_netlink.c (netlink_socket): Make netlink socket non-blocking.
1364 (netlink_parse_info): If errno is EWOULDBLOCK then continue to
1365 parse the message.
1366 (netlink_talk): Likewise
1367
13681999-05-17 <kunihiro@zebra.org>
1369
1370 * redistribute.c (zebra_check_addr): Added for loopback address
1371 check.
1372
13731999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1374
1375 * rt_netlink.c (netlink_route_change): Tempolary bypass ipv6 route
1376 change treatment.
1377
1378 * Makefile.am (noinst_HEADERS): redistribute.h added.
1379
1380 * redistribute.h: New file.
1381
13821999-05-14 Stephen R. van den Berg <srb@cuci.nl>
1383
1384 * zebra.c (show_table): Show all table configuration DEFUN.
1385 (config_table): Config table number DEFUN.
1386
1387 * rt_netlink.c: Add support for multiple routing table.
1388
1389 * rib.c (rib_weed_table): New function added for delete all
1390 routes from specified routing table.
1391
1392 * main.c (signal_init): SIGTERM call sigint.
1393 (sigint): Loggging more better message.
1394
13951999-05-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1396
1397 * rt_netlink.c: Change log () to zlog ().
1398
13991999-05-07 <kunihiro@zebra.org>
1400
1401 * zebra.h (ZEBRA_ROUTE_OSPF6): Added for ospf6d route.
1402
14031999-04-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1404
1405 * interface.c: Add `no ip address' command.
1406
14071999-04-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1408
1409 * rt_netlink.c (kernel_read): Function added for asynchronous
1410 zebra between kernel communication.
1411
14121999-03-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1413
1414 * rtread_sysctl.c (rtm_read): Fix address memcopy overrun bug.
1415 Reported by Achim Patzner <ap@bnc.net>.
1416
14171999-03-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1418
1419 * Makefile.am: Install configuration sample with 600 permission.
1420
14211999-03-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1422
1423 * Makefile.am: Add -I.. to INCLUDES.
1424
14251999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
1426
1427 * syslog support added
1428
14291999-02-17 Peter Galbavy <Peter.Galbavy@knowledge.com>
1430
1431 * if_sysctl.c (interface_list): allocated memory free when unknown
1432 ifm_type is returned.
1433
1434 * ioctl.c (if_get_mtu): added SIOCGIFDATA treatment.
1435
14361998-12-15 Magnus Ahltorp <map@stacken.kth.se>
1437
1438 * interface.c: Header include added.
1439
14401998-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1441
1442 * rt.h (kernel_delete_ipv6): change int index to unsigned int index.
1443
14441998-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1445
1446 * if_ioctl.c (interface_list_ioctl): interface flag must be
1447 checked before check addresses of the interface.
1448
14491998-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1450
1451 * Makefile.am (INCLUDES): add @INCLUDES@ for Linux IPv6.
1452
14531998-10-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1454
1455 * ioctl.c: Linux version before 2.1.0 need interface route setup.
1456
14571998-09-15 HEO SeonMeyong <seirios@matrix.iri.co.jp>
1458
1459 * change HYDRANGEA to KAME
1460
14611998-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1462
1463 * if_ioctl.c (if_addr_ioctl): set address family for getting
1464 interface's address.
1465 (if_get_index): silently return when can't get interface's index.
1466
14671998-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1468
1469 * main.c (main): batch mode option '-b' added.
1470
14711998-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1472
1473 * ioctl.c (if_set_prefix): add `ip address IPV4ADDR' command.
1474 * interface.c (shutdown_if): add interface shutdown and no
1475 shutdown command.
1476
14771998-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1478
1479 * rib.c (rib_add_ipv6): delete rib_add_in6.
1480
14811998-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1482
1483 * main.c: retain flag is added.
1484
14851998-07-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1486
1487 * rtable.[ch]: merged with rib.[ch]
1488
14891998-07-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1490
1491 * connected.h: renamed from ifa.h.
1492
14931998-06-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1494
1495 * rename if.c to interface.c
1496 * rename ifa.c to connected.c
1497
1498 * Porting to Debian GNU/Linux 2.0 (hamm).
1499
15001998-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1501
1502 * rt_netlink.c: renamed from krt_netlink.c
1503
1504 * fib.c: deleted.
1505 * rt_kvm.c: deleted.
1506 * rtread_getmsg.c: deleted.
1507
15081998-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1509
1510 * if.c (multicast): add multicast flag [un]set fucntion.
1511
15121998-05-19 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1513
1514 * rt_socket.c: Modify for compile on Solaris, but dont't work it.
1515 rt_socket.c have some undefined function, so add directive "IMPLEMENT"
1516
15171998-05-18 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1518
1519 * zebra.c: Modify for compile on Solaris.
1520
15211998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1522
1523 * main.c: change CONFDIR to SYSCONFDIR.
1524
15251998-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1526
1527 * .cvsignore: added.
1528
15291998-04-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1530
1531 * client.c: moves to ../lib.
1532
15331998-03-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1534
1535 * if_ioctl.c (if_get_addr): Change address copy from memcopy() to
1536 structure assignment.
1537
15381998-03-30 URA Hiroshi <ura@yamato.ibm.co.jp>
1539
1540 * if_sysctl.c (ifm_interface_add): sdl->sdl_data copy bug fixed.
1541
15421998-02-23 "Hannes R. Boehm" <hannes@boehm.org>
1543
1544 * if.c (if_init): add config_exit_cmd and config_help_cmd.
1545
15461998-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
1547
1548 * rt_ioctl.c (route_ioctl): EPERM treatment added.
1549
15501998-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1551
1552 * rt_socket.c (kernel_read): communication port zebra between
1553 kernel is now handled by kernel_read.
1554
15551998-01-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1556
1557 * main.c (main): zebra [-P port] can specify vty port number.
1558
15591997-12-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1560
1561 * zebra.c: change select will be block.
1562
15631997-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1564
1565 * add static route treatment.
1566
15671997-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1568
1569 * rt_netlink.c: add netlink support over GNU/Linux system.
1570
15711997-11-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1572
1573 * all inet_addr is changed to inet_aton.
1574
1575 * zebra.c (ip_route): add ip route command for static routes.
1576
15771997-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1578
1579 * if.c (if_flag_dump): Linux port of if_flag_dump and _vty.
1580
15811997-11-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1582
1583 * if.c: add interface command.
1584
15851997-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1586
1587 * ipforward_proc.c : Now works on Linux.
1588
15891997-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1590
1591 * command.c : add completion feature.
1592
15931997-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1594
1595 * vty.c (vty_command): add vty interface.
1596
15971997-10-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1598
1599 * zebra.c: add verbose mode.
1600
16011997-10-12 SonMyong Ho <s-ho@Matrix.IRI.Co.Jp>
1602
1603 * Hydrangea for FreeBSD supported
1604 * in.h: add some prototype.
1605
16061997-10-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1607
1608 * rt_socket.c and rtread.c completely rewritten.
1609
16101997-10-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1611
1612 * rt_socket.c: rename kernel_sock to routing_socket
1613
16141997-10-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1615
1616 * if.c (if_new): interface structure change from linklist to vector.
1617
16181997-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1619
1620 * vector.c (vector_init): create vector related function
1621
16221997-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1623
1624 * Makefile.in: add tags target
1625
1626 * start IPv6 support for INRIA FreeBSD.
1627