blob: 55e290c0dce8ac0f4d08bb950119e5566e2fc0ef [file] [log] [blame]
paul3d1dc852005-04-05 00:45:23 +000012005-04-05 Paul Jakma <paul@dishone.st>
2
3 * zserv.c: print more helpful errors when we fail to successfully
4 bind and listen on zserv socket. Closes bugzilla #163.
5
ajsd2fc8892005-04-02 18:38:43 +000062005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
7
ajs08dbfb62005-04-03 03:40:52 +00008 * if_ioctl.c: (interface_list_ioctl) Use if_get_by_name_len.
9 * if_proc.c: (ifaddr_proc_ipv6) Increase size of ifname buffer to
10 avoid overflow.
11 * kernel_socket.c: (ifan_read) Use if_get_by_name_len.
12
132005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
14
ajsa3491982005-04-02 22:50:38 +000015 * kernel_socket.c: (ifm_read) Use new if_lookup_by_name_len function
16 to save a memcpy.
17 * if_ioctl_solaris.c: (interface_list_ioctl) Fix subtle bug with new
18 if_get_by_name_len function.
19
202005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
21
ajsd2fc8892005-04-02 18:38:43 +000022 * interface.c: (if_new_intern_ifindex) Remove obsolete function.
23 (if_delete_update) After distributing the interface deletion message,
24 set ifp->ifindex to IFINDEX_INTERNAL.
25 (if_dump_vty) Detect pseudo interface by checking if ifp->ifindex is
26 IFINDEX_INTERNAL.
27 (zebra_interface) Check return code from interface_cmd.func.
28 Do not set internal ifindex values to if_new_intern_ifindex(),
29 since we now use IFINDEX_INTERNAL for all pseudo interfaces.
30 * kernel_socket.c: (ifm_read) Fix code and comments to reflect that
31 all internal interfaces now have ifp->ifindex set to IFINDEX_INTERNAL.
32 * rt_netlink.c: (set_ifindex) New function used to update ifp->ifindex.
33 Detects interface rename events by checking if that ifindex is already
34 being used. If it is, delete the old interface before assigning
35 the ifindex to the new interface.
36 (netlink_interface, netlink_link_change) Call set_ifindex to update
37 the ifindex.
38
hassob7ed1ec2005-03-31 20:13:49 +0000392005-03-31 Hasso Tepper <hasso at quagga.net>
40
41 * rt_netlink.c (netlink_talk_filter): Show always warning message,
42 it's not for debug.
43 * rt_netlink.c (netlink_talk): Don't assume we use netlink_cmd
44 although we do now actually.
45 * rt_netlink.c (netlink_route, netlink_route_multipath): Always use
46 netlink_cmd to send messages to the kernel.
47
ajs2da40f42005-03-30 16:33:13 +0000482005-03-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
49
50 * irdp.h: Add prototype for irdp_sock_init, and fix protos for
51 other irdp_* functions.
52 * irdp_interface.c: (irdp_if_start) If irdp_sock is negative,
53 call irdp_sock_init to create the IRDP socket.
54 (irdp_if_init) Rename to irdp_init().
55 (get_iflist_ifp) Remove function that is a duplicate of
56 if_lookup_by_index.
57 (*) Make many functions static. And remove superfluous "\n" from
58 several zlog messages.
59 * irdp_main.c: (irdp_init) Remove function that used to call
60 irdp_if_init() and irdp_sock_init(), since we will now create
61 the socket only upon first use.
62 (irdp_sock_init) Do not update global irdp_sock variable, just
63 return the fd and assume that the caller will do so. If setsockopt
64 calls fail, close the socket before returning -1.
65 (*) Make many functions static.
66 * irdp_packet.c: Initialize irdp_sock to -1.
67 (irdp_read_raw) Call standard library function if_lookup_by_index
68 instead of get_iflist_ifp.
69 (irdp_recvmsg) Should be static, not global.
70
ajsa608bbf2005-03-29 17:03:49 +0000712005-03-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
72
73 * rt_netlink.c: (netlink_link_change) If the status of an
74 operative interface changes (e.g. MTU changes), the client
75 daemons should be notified by calling zebra_interface_up_update.
76 Previously, the information was being updated in zebra's
77 interface structure, but the clients were not notified of
78 changes to an operative interface.
79
vincent7cee1bb2005-03-25 13:08:53 +0000802005-03-25 Jean-Mickael Guerin <jean-mickael.guerin@6wind.com>
81 * interface.c, interface.h, rtadv.c, rtadv.h: modifications to
82 IPv6 Neighbor Discovery according to RFC3775, section 7:
83 o 1-bit Home Agent flag management in Router Advertisement (7.1).
84 o 1-bit Router Address flag management in Prefix Information
85 Option (7.2).
86 o Advertisement Interval Option (7.3)
87 o Home Agent Information Option (7.4)
88 o Changes to Sending Router Advertisements more frequently (7.5)
89
hassoed9bb6d2005-03-13 19:17:21 +0000902005-03-13 Hasso Tepper <hasso at quagga.net>
91
92 * zebra/interaface.c: "show interface description" command
93 implemented.
94
paulc1f01f32005-03-12 06:33:14 +0000952005-03-12 Paul Jakma <paul@dishone.st>
96
97 * rt_netlink.c: (netlink_route_multipath) dont set equalise flag.
98 No stock Linux kernel has ever supported it, and even if it had
99 it's not generally a good idea.
100
hasso42a66d72005-03-07 08:19:44 +00001012005-03-07 Michael Sandee <voidptr@voidptr.sboost.org>
102
103 * if_proc.c, ipforward_proc.c, rtread_proc.c: Fix fd leaks.
104
hasso3452d472005-03-06 13:42:05 +00001052005-03-06 Hasso Tepper <hasso at quagga.net>
106
107 * interface.c: Fix CRC and frame errors statistics in Linux.
108
ajs719e9742005-02-28 20:52:15 +00001092005-02-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
110
111 * zserv.c: Must include network.h and buffer.h for non-blocking I/O.
112 Remove global message_queue and t_write (need separate buffering for
113 each client).
114 (zebra_server_dequeue,zebra_server_enqueue) Remove functions
115 related to old buggy buffering code.
116 (zserv_delayed_close) New thread callback function to delete a client.
117 (zserv_flush_data) New thread callback function to flush buffered
118 data to client.
119 (zebra_server_send_message) Rewritten to use buffer_write (so
120 buffering of writes and non-blocking I/O work properly).
121 (zsend_interface_add,zsend_interface_delete,zsend_interface_address,
122 zsend_interface_update) Return 0 instead of -1 if !client->ifinfo
123 (this is not really an error). Return value from
124 zebra_server_send_message.
125 (zsend_route_multipath,zsend_ipv4_nexthop_lookup,
126 zsend_ipv4_import_lookup) Return value from zebra_server_send_message.
127 (zsend_ipv6_nexthop_lookup) Fix scope to static, and return value
128 from zebra_server_send_message.
129 (zsend_router_id_update) Must use zebra_server_send_message instead
130 of deprecated writen function. Return 0 instead of -1 if this client
131 is not subscribed to router-id updates (since this is not really
132 an error).
133 (zread_interface_add) Change type to static int. If
134 zsend_interface_add fails or zsend_interface_address fails, return -1
135 immediately (since the client has had an I/O error).
136 (zread_interface_delete,zread_ipv4_add,zread_ipv4_delete,
137 zread_ipv6_add,zread_ipv6_delete,zread_router_id_delete) Return 0
138 to indicate success.
139 (zread_ipv4_nexthop_lookup) Return value from
140 zsend_ipv4_nexthop_lookup.
141 (zread_ipv4_import_lookup) Return value from zsend_ipv4_import_lookup.
142 (zebra_read_ipv6) Remove unused function.
143 (zread_ipv6_nexthop_lookup) Return value from
144 zsend_ipv6_nexthop_lookup.
145 (zread_router_id_add) Return value from zsend_router_id_update.
146 (zebra_client_close) Call buffer_free(client->wb) and
147 thread_cancel(client->t_suicide).
148 (zebra_client_create) Allocate client->wb using buffer_new.
149 (zebra_client_read) Support non-blocking I/O by using stream_read_try.
150 Use ZEBRA_HEADER_SIZE instead of 3.
151 (zebra_accept) Fix bug: reset accept thread at top. Make client
152 socket non-blocking using the set_nonblocking function.
153 (config_write_forwarding) Fix scope to static.
154 (zebra_init) Remove initialization code for old buggy write buffering.
155 * zserv.h: Add 2 new fields to struct zserv: struct buffer *wb
156 (to enable buffered writes with non-blocking I/), and
157 struct thread *t_suicide to support delayed close on I/O
158 errors.
159 * router-id.h: Remove prototypes for zread_router_id_add and
160 zread_router_id_delete (their scope should be static to zserv.c).
161
ajs27da3982005-02-24 16:06:33 +00001622005-02-24 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
163
164 * redistribute.c: (zebra_check_addr,is_default,
165 zebra_redistribute_default,zebra_redistribute) Fix scope to be static.
166
hassoe8274dc2005-02-20 19:09:23 +00001672005-02-20 Hasso Tepper <hasso at quagga.net>
168
169 * rt_netlink.c: Don't show messages "ignoring message type 0x001[89]"
170 if we are not debugging.
171
paule31f2292005-02-19 02:00:26 +00001722005-02-19 Paul Jakma <paul@dishone.st>
173
174 * zserv.c: (zebra_read_ipv6) replace the char * arithmetic with
175 STREAM_READABLE.
176
paul1e193152005-02-14 23:53:05 +00001772005-02-14 Paul Jakma <paul@dishone.st>
178
179 * Not all Linux netlink systems have IFLA_WIRELESS
180
ajs6a52d0d2005-01-30 18:49:28 +00001812005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
182
183 * ioctl.c: (if_ioctl,if_ioctl_ipv6,if_get_flags) Replace perror with
184 zlog_err.
185 * ioctl_solaris.c: (if_ioctl,if_ioctl_ipv6) Replace perror with
186 zlog_err.
187
ajs4be019d2005-01-29 16:12:41 +00001882005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
189
ajs4460e7a2005-01-29 17:07:40 +0000190 * if_ioctl_solaris.c: (interface_list_ioctl) Save errno before calling
191 zserv_privs.change.
192 * ioctl{,_solaris}.c: (if_ioctl,if_ioctl_ipv6) Save errno before calling
193 zserv_privs.change.
194 * ipforward_solaris.c: (solaris_nd) Save errno before calling
195 zserv_privs.change.
196 * irdp_main.c: (irdp_sock_init) Save errno before calling
197 zserv_privs.change.
198
1992005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
200
ajs4be019d2005-01-29 16:12:41 +0000201 * rt_netlink.c: (netlink_socket,netlink_request,netlink_parse_info,
202 netlink_talk) Save errno before calling zserv_privs.change.
203
paulc15cb242005-01-24 09:05:27 +00002042005-01-24 Martin Pot <mpot at martybugs.net>
205
206 * zebra/rt_netlink.c: ignore wireless newlink netlink messages.
207
hasso6f2c27a2005-01-18 13:44:35 +00002082005-01-18 Hasso Tepper <hasso at quagga.net>
209
210 * interface.c: Better statistics output in "show interface" command in
211 case of /proc being used.
212
hasso583d8002005-01-16 23:34:02 +00002132005-01-17 Hasso Tepper <hasso at quagga.net>
214
215 * main.c: With --nl-bufsize argument is required.
216
paul865b8522005-01-05 08:30:35 +00002172005-01-05 Paul Jakma <paul@dishone.st>
218
219 * zserv.c: (zebra_accept) Comment out setting of socket to NONBLOCK
220 for now, as we dont actually deal with with resending.... See
221 bugzilla #122, fix from wawa@yandex-team.ru (Vladimir Ivanov).
222 * kernel_socket.c: (routing_socket) ditto.
223
ajsb99760a2005-01-04 16:24:43 +00002242005-01-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
225
226 * rtadv.c: (rtadv_recv_packet,rtadv_send_packet) Use ZCMSG_FIRSTHDR
227 instead of CMSG_FIRSTHDR.
228
ajs341a8f12004-12-22 16:32:16 +00002292004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
230
231 * connected.c: (connected_add_ipv4) Limit warning about /32 addresses
232 with no peer specified to PtP interfaces only.
233
hassob8adec12004-12-18 16:03:28 +00002342004-12-18 Hasso Tepper <hasso at quagga.net>
235
236 * zebra_vty.c: Fix "show ipv6 route <proto>" command help and make it
237 work for isis routes.
238
gdt6a250b02004-12-09 14:48:12 +00002392004-12-09 Greg Troxel <gdt@fnord.ir.bbn.com>
240
241 * kernel_socket.c (rtmsg_debug): char * => const char *
242
ajs274a4a42004-12-07 15:39:31 +00002432004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
244
ajsb6178002004-12-07 21:12:56 +0000245 * *.c: Change level of debug messages to LOG_DEBUG.
246
2472004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
248
ajs274a4a42004-12-07 15:39:31 +0000249 * main.c: (main) The 2nd argument to openzlog has been removed.
250 So stdout logging will no longer be enabled by default.
251 * irdp_main.c: (irdp_finish) Reduce severity of shutdown message
252 from LOG_WARNING to LOG_INFO.
253
ajs887c44a2004-12-03 16:36:46 +00002542004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
255
256 * main.c: (sigint) Use zlog_notice for termination message.
257 (main) Add a startup announcement using zlog_notice.
258
hassoaccb1562004-11-25 19:21:07 +00002592004-11-25 Hasso Tepper <hasso at quagga.net>
260
261 * irdp_interface.c: Remove comment from DEFUN, it breaks vtysh because
262 it confuses extract.pl.
hassoc0652302004-11-25 19:33:48 +0000263 * main.c: Make group to run as configurable.
hassoaccb1562004-11-25 19:21:07 +0000264
hasso6bd7c6a2004-10-28 17:32:27 +00002652004-10-28 Hasso Tepper <hasso at quagga.net>
266
267 * interface.c: Remove dead "ip tunnel" command.
268
paul06f953f2004-10-22 17:00:38 +00002692004-10-22 Paul Jakma <paul@dishone.st>
270
271 * irdp_main.c: change setsockopt_pktinfo to setsockopt_ifindex
272
hasso3fb9cd62004-10-19 19:44:43 +00002732004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
274
275 * rt_netlink.c: (netlink_interface_addr) For PtP interfaces, ignore
276 tb[IFA_ADDRESS] if it's the same as tb[IFA_LOCAL].
277 * interface.c: (ip_address_install) Use new ipv4_broadcast_addr
278 function.
279 * connected.c: (connected_up_ipv4) Use CONNECTED_POINTOPOINT_HOST
280 macro.
281 (connected_down_ipv4) ditto.
282 (connected_add_ipv4) Validate destination address, print warnings
283 if it does not make sense.
284
hassoc1eaa442004-10-19 06:26:01 +00002852004-10-19 Hasso Tepper <hasso at quagga.net>
286
287 * zserv.c: Fix regression introduced with zserv cleanup.
288
hassoc75105a2004-10-13 10:33:26 +00002892004-10-13 Hasso Tepper <hasso at quagga.net>
290
291 * zebra_snmp.c: Remove defaults used to initialize smux connection to
292 snmpd. Connection is initialized only if smux peer is configured.
hassob71f00f2004-10-13 12:20:35 +0000293 * zserv.c: Remove useless warnings "forwarding is already on".
hassoc75105a2004-10-13 10:33:26 +0000294
hasso39ff11d2004-10-12 15:55:19 +00002952004-10-12 Hasso Tepper <hasso at quagga.net>
296
297 * zebra_vty.c: Unbreak "show ip route" command help and make it work
298 for isis routes.
hasso39db97e2004-10-12 20:50:58 +0000299 * interface.c(if_dump_vty): Show IPv6 addresses in "show interface"
300 output. Fixes Bugzilla #119.
301 * *.c: Make some strings const and some (unsigned) casts to fix
302 compiler warnings.
hasso39ff11d2004-10-12 15:55:19 +0000303
hassofce954f2004-10-07 20:29:24 +00003042004-10-07 Hasso Tepper <hasso at quagga.net>
305
306 * connected.c, main.c, rt_netlink.c, rtadv.c, zebra_rib.c, zserv.c:
307 Fix warnings: make strings const, signed -> unsigned.
308
paul72164662004-10-05 14:39:43 +00003092004-10-05 Paul Jakma <paul@dishone.st>
310
311 * irdp_packet.c: (parse_irdp_packet) style issues.
312 Use sockopt_iphdrincl_swab_systoh.
313 Try unbork the code. Checksum the ICMP data and actually
314 compare it to received checksum. Check data length against
315 claimed length in header.
316 Always use ntoh.. when accessing addresses, even when the
317 comparison happens to be endian-safe.
318 (send_packet) minor style isues. Use
319 sockopt_iphdrincl_swab_htosys.
320 (irdp_iph_hton/ntoh) IP header to/from network/host order.
321
hassoeef1fe12004-10-03 18:46:08 +00003222004-10-03 Gilad Arnold <gilad.arnold at terayon.com>
323
324 * interface.c, interface.h: A new prefix tree of connected subnets is
325 associated with each interface structure in zebra, in which each
326 live (ie, non-synthetic) node holds a list of installed addresses
327 that belong to that prefix. Remove secondary address logic from cli.
328 See [quagga-dev 872] for detailed explanation.
329 * connected.c: Use if_subnet_add() and if_subnet_delete().
330
hasso18a6dce2004-10-03 18:18:34 +00003312004-10-03 James R. Leu <jleu at mindspring.com>
332
333 * router-id.c, router-id.h: New files. Router id selection process. If
334 there is non 127.x.x.x address in loopack interface, lowest of them
335 is chosen. If there isn't, lowest from other interfaces addresses
336 are chosen. "router-id x.x.x.x" vty command to manual override.
337 * Makefile.am: Compile new files.
338 * main.c: Initialize router id.
339 * redistribute.c: Add interface addresses into router id selection
340 lists as they (dis)appear.
341 * zserv.c, zserv.h: Sending router id related messages to daemons.
342
hassoc9e52be2004-09-26 16:09:34 +00003432004-09-26 Hasso Tepper <hasso at quagga.net>
344
345 * irdp_interface.c, irdp_main.c, irdp_packet.c, rt_netlink.c,
346 rtadv.c, zebra_vty.c: Fix compiler warnings.
347
paul0c0f9112004-09-24 08:24:42 +00003482004-09-24 Paul Jakma <paul@dishone.st>
349
paul26f7a242004-09-24 08:45:10 +0000350 * irdp_interface.c: (no_ip_irdp_address_preference_cmd)
351 add missing listnode declaration.
352
3532004-09-24 Paul Jakma <paul@dishone.st>
354
paul0c0f9112004-09-24 08:24:42 +0000355 * irdp_{interface,main}.c: lists typedef removal cleanup.
356 update some list loops to LIST_LOOP. some miscellaneous style
357 and indent fixups.
358 (no_ip_irdp_address_preference_cmd) Fix delete of referenced node
paul26f7a242004-09-24 08:45:10 +0000359 in loop.
paul0c0f9112004-09-24 08:24:42 +0000360 * irdp_packet.c: (irdp_recvmsg) Fix buggy assignment of integer
361 to pointer.
362 * if_ioctl{,_solaris}.c: lists typedef removal cleanup.
363 update some list loops to LIST_LOOP.
364
hasso52dc7ee2004-09-23 19:18:23 +00003652004-09-23 Hasso Tepper <hasso at quagga.net>
366
367 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
368
paul44983cf2004-09-22 13:15:58 +00003692004-09-22 Paul Jakma <paul.jakma@sun.com>
370
371 * zserv.c: (zsend_route_multipath) fix nasty bad memset of struct
372 in_addr to sizeof(struct in6_addr), causing odd and hard to debug
373 crash.
374
hassoc34b6b52004-08-31 13:41:49 +00003752004-08-31 Hasso Tepper <hasso at quagga.net>
376
377 * main.c, rt_netlink.c: Added -s command line switch for tuning
378 netlink receive buffer size in Linux to avoid buffer overruns.
379
gdta5ea6872004-08-26 13:24:00 +00003802004-08-26 Miles Nordin <carton@Ivy.NET>
381
382 * ipforward_sysctl.c (mib_ipv6): Use size_t for len, per
383 sysctl(3), rather than int. (Needed on NetBSD/alpha to display
384 forwarding status correctly.)
385
paul3e0b3a52004-08-23 18:58:32 +00003862004-08-23 Paul Jakma <paul@dishone.st>
387
388 * zserv.c: (zebra_init) remove implicit ip forward enabling
389
paul0de1cde2004-08-19 04:45:33 +00003902004-08-19 Paul Jakma <paul@dishone.st>
391
392 * irdp_main.c: update to match sockopt renames.
393 * irdp_packet.c: include sockopt.h and update to match sockopt
394 renames.
395
gdt57492d52004-08-11 18:06:38 +00003962004-08-11 Greg Troxel <gdt@fnord.ir.bbn.com>
397
398 * rtadv.c (rtadv_send_packet): Allocate space for control messages
399 more carefully; it was wrong on NetBSD/sparc where CMSG alignment
400 is to 8 bytes instead of 4, and overwriting the address. Use the
401 provided macros for determining lengths.
402
paul5b73a672004-07-23 15:26:14 +00004032004-07-23 Sowmini Varadhan <Sowmini.Varadhan@Sun.COM>
404
405 * if_ioctl_solaris.c: HAVE_IPV6 ifdef fixups
406 * zserv.c: ditto
407 * ioctl_solaris.c: ditto.
408 * interface.c: cast for LLADDR
409 * interface.h: Add guards, include redistribute.h and remove
410 extraneous definitions of zebra_interface_{up,down}_update
411 * ioctl.h: Add AF_IOCTL define for non SOLARIS_IPV6
412 * redistribute.h: include dependent header, zserv.h
413 * zserv.h: include dependent header, rib.h
414
paul1470baf2004-07-23 15:25:01 +00004152004-07-23 Paul Jakma <paul@dishone.st>
416
417 * irdp_main.c: use setsockopt_pktinfo_ipv4
418 * irdp_packet.c: use SOPT_SIZE_CMSG_PKTINFO_IPV4 and
419 getsockopt_pktinfo_ifindex()
420
gdtcced60d2004-07-13 16:45:54 +00004212004-07-13 David Wiggins <dwiggins@bbn.com
422
423 * kernel_socket.c (rtm_flag_dump): terminate buffer with '\0', not '0'.
424
hasso25dac852004-07-13 03:06:51 +00004252004-07-13 Hasso Tepper <hasso@estpak.ee>
426
427 * irdp_main.c: Add privilege change.
428
hasso996933f2004-07-12 16:32:56 +00004292004-07-12 Hasso Tepper <hasso@estpak.ee>
430
431 * irdp_interface.c: follow common style while naming vty command
432 functions. Avoids confusion in extract.pl.
433
gdt87efd642004-06-30 17:36:11 +00004342004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
435
436 * main.c: define thread_master variable so that linking with
437 libzebra.so doesn't fail. Arguably zclient.o should be in a
438 separate library, but this is far less disruptive.
439
hassoca776982004-06-12 14:33:05 +00004402004-06-12 Robert Olsson <Robert.Olsson at data.slu.se>
441
442 * Added IRDP support.
443
hasso3e31cde2004-05-18 11:58:59 +00004442004-05-18 Hasso Tepper <hasso@estpak.ee>
445
446 * rtadv.c: Removed "[no] ipv6 nd send-ra" command. Replaced "ipv6 nd
447 prefix-advertisement" with "ipv6 nd prefix". Rewrite syntax of
448 "ipv6 nd prefix" command to allow various combinations of parameters
449 and flags. No defaults in configuration. Replaced on-link and
450 autoconfig with off-link and no-autoconfig flags in command syntax.
451 Cosmetic fixes in all commands. Documentation to reflect all changes.
452
paul19877dd2004-05-11 10:49:35 +00004532004-05-11 Paul Jakma <paul@dishone.st>
454
455 * Makefile.am: support for IOCTL_METHOD, as per Sowmini's patch.
paul48a46fa2004-05-11 10:55:22 +0000456 * if_ioctl_solaris.c: Fixup some erroneous privilege changes and
457 add privs.h header.
458 * ioctl_solaris.c: ditto
paulc50ae8b2004-05-11 11:31:07 +0000459 * ioctl.h: Add if_ioctl_ipv6 prototype and AF_IOCTL for SOLARIS_IPV6
460 * kernel_socket.c: Fix SAROUNDUP, compiler doesnt like do..while
461 RHS in assignments :)
462 * redistribute.c: (zebra_interface_delete_update) only used
463 if RTM_IFANNOUNCE and NETLINK is available.
464
paulb9df2d22004-05-09 09:09:59 +00004652004-05-09 Paul Jakma <paul@dishone.st>
466
467 * zserv.c: (zsend_route_multipath) Set the nexthop_num
468 field correctly. Add NEXTHOP_TYPE_IPV6_IFNAME for v6.
469 Conditionally set ZAPI_MESSAGE_METRIC flag - only for adds.
470 (zsend_ipv4_add) cruft, deleted.
471 (zsend_ipv4_delete) ditto.
472 (zsend_ipv6_add) ditto.
473 (zsend_ipv6_delete) ditto.
paul44145db2004-05-09 11:00:23 +0000474 * ioctl.c: (if_get_mtu) set mtu6 to mtu
475 * mtu_kvm.c: (if_kvm_get_mtu) set mtu6 to mtu
476 * rt_netlink.c: (netlink_interface) set mtu6 to mtu
477 (netlink_link_change) ditto
paul66e94882004-05-09 17:19:24 +0000478 * ipforward_solaris.c: fix typo of ND variable.
paul88424682004-05-09 18:21:35 +0000479 * if_ioctl_solaris.c: Add zprivs support.
480 * ioctl_solaris.c: ditto.
paul66e94882004-05-09 17:19:24 +0000481
paulb9df2d22004-05-09 09:09:59 +00004822004-05-09 Sowmini Varadhan <sowmini.varadhan@sun.com>
483
484 * zserv.c: (zsend_ipv{4,6}_{add,delete}_multipath) collapsed
485 into single zsend_route_multipath function.
486 (zsend_interface_{up,down}) collapsed into zsend_interface_update.
487 (zsend_interface_address_{add,delete}) collapsed into
488 zsend_interface_address.
489 (zsend_interface_add) send mtu6.
490 (zsend_interface_delete) ditto.
491 (zebra_write) remove unused function.
492 (various) Apply static qualifier. Add comments.
493 * zserv.h: Definitions changed as per above.
494 * redistribute.c: Changes as per zserv.c.
paul44145db2004-05-09 11:00:23 +0000495 * interface.c: (if_delete_update) only used with HAVE_NETLINK
496 and RTM_IFANNOUNCE.
497 (if_flag_dump_vty) Solaris IFF_IPV4 and IFF_IPV6 if flags
498 (if_dump_vty) print mtu6 if not same as mtu
paul88424682004-05-09 18:21:35 +0000499 * if_ioctl_solaris.c: New file, Solaris interface ioctl methods.
500 * ioctl_solaris.c: New file, Common solaris ioctl methods.
501
hasso34195bf2004-04-06 12:07:06 +00005022004-04-06 Krzysztof Oledzki <oleq@ans.pl>
503
504 * rt_netlink.c: Do not ignore metric when reading kernel routing
505 table on Linux with rt_netlink interface.
506
5072004-03-18 Hasso Tepper <hasso@estpak.ee>
hassof1d92e12004-03-18 15:40:33 +0000508
509 * interface.c: Temporary fix for handling secondary addresses
510 with label.
511
hasso55906722004-02-11 22:42:16 +00005122004-02-12 Hasso Tepper <hasso@estpak.ee>
hassof1d92e12004-03-18 15:40:33 +0000513
hasso55906722004-02-11 22:42:16 +0000514 * zserv.c: Added "ipv6 forwarding" command.
515
gdtb27900b2004-01-08 15:44:29 +00005162004-01-08 Greg Troxel <gdt@fnord.ir.bbn.com>
517
518 * kernel_socket.c (kernel_read): Use sockaddr_storage in buffer
519 for reading kernel messages to ensure enough space (necessary on
520 Solaris due to sockaddr_dl being large). Thanks to Sowmini
521 Varadhan for help with this change.
522
gdt9ccabd12004-01-06 18:23:02 +00005232004-01-06 Greg Troxel <gdt@t1.ir.bbn.com>
524
525 * rtadv.c (rtadv_send_packet): Change perror to zlog_err.
526
gdtdbee01f2004-01-06 00:36:51 +00005272004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
gdt4bfbea82004-01-06 01:13:05 +0000528 * kernel_socket.c (ifm_read): Major cleanup. Use Sowmini's code
529 to find the sockaddr_dl in all cases, narrowing the Solaris ifdef
530 to just the accomodation of broken kernels. Check sockaddr_dl
531 carefully up front, and later assume any non-NULL sdl pointer is
532 valid. Clean up types and variable declarations, and rename
533 WRAPUP to SAROUNDUP to make the name fit the behavior.
534
5352004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
gdtdbee01f2004-01-06 00:36:51 +0000536
537 * kernel_socket.c (kernel_read): Add a sockaddr_dl to the ifmsg
538 structure, because on Solaris sockaddr_dl is far larger than the
539 base sockaddr structure. (The code had previously been failing to
540 read all the data.)
gdt4bfbea82004-01-06 01:13:05 +0000541
gdtda26e3b2004-01-05 17:20:59 +00005422004-01-05 Greg Troxel <gdt@ahi.ir.bbn.com>
543
544 * kernel_socket.c (kernel_read): Look up interfaces by index
545 first, so that state changes which do not include a sockaddr_dl
546 now work. Add many sanity checks. In
547 particular, do not assume that a sockaddr_dl follows a message
548 without checking the ifm_addrs flags, and do not trust the length
549 in a sockaddr_dl. Add/clarify many comments.
550
gdt4b5e1352003-12-03 17:54:34 +00005512003-12-03 Greg Troxel <gdt@poblano.ir.bbn.com>
552
553 * rtadv.c: reorder includes to avoid compiler warning (define
554 structs before using them in prototypes)
555
hasso647e4f12003-05-25 11:43:52 +00005562003-05-25 Jim Crumpler <Jim.Crumpler@edion.com>
557
558 * zserv.c: Add "ip forwarding" command.
559
paul445f1432003-05-16 19:00:31 +00005602003-05-16 Gilad Arnold <gilad.arnold@terayon.com>
561
562 * zebra_rib.c: Fix memory leaks for ifname nexthops
563
5642003-04-19 Israel Keys <ikeys@agile.tv>
565
566 * rt_netlink.c: BLOCK on netlink while initialising
567
5682003-02-06 Francois Deppierraz <francois@ctrlaltdel.ch>
569
570 * rt_netlink.c (netlink_route_multipath): Set RTM_F_EQUALIZE when
571 it exists.
572
paul718e3742002-12-13 20:15:29 +00005732002-09-28 Akihiro Mizutani <mizutani@net-chef.net>
574
575 * zebra_rib.c (static_add_ipv4): Null0 static route is added.
576
5772002-09-10 Jochen Friedrich <chris+zebra@scram.de>
578
579 * rt_netlink.c: Add check for EAGAIN.
580 * kernel_socket.c: Likewise
581
5822002-06-12 Israel Keys <ikeys@oz.agile.tv>
583
584 * rt_netlink.c: Setting the NLM_F_ACK flag on the netlink command
585 message so that we get an ACK for successful netlink commands.
586 Change the netlink socket to BLOCKING while we wait for a
587 response; be it an ACK or an NLMSG_ERROR. Change
588 netlink_parse_info to deal with ACK messages.
589
5902001-11-01 Jun-ichiro itojun Hagino <itojun@iijlab.net>
591
592 * rtadv.c (rtadv_make_socket): setsockopt(IPV6_CHECKSUM) does not
593 work for ICMPv6 socket.
594
5952001-10-24 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
596
597 * rib.c (rib_process): Select connected route any case.
598
5992001-10-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
600
601 * interface.c (no_ip_address_secondary): Add "no" to command.
602
6032001-10-18 NOGUCHI Kay <kay@v6.access.co.jp>
604
605 * ioctl.c (if_prefix_add_ipv6): Set the prefered and valid lifetime
606 to infinity as the freebsd4.4 workaroud.
607
6082001-08-26 mihail.balikov@interbgc.com
609
610 * zebra_snmp.c: Fix snmpwalk problem such as IPv4 address
611 A.B.C.255.
612
6132001-08-22 NOGUCHI Kay <kay@v6.access.co.jp>
614
615 * rtadv.c: Do not send RA to loopback interface.
616
6172001-08-20 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
618
619 * ioctl.c (if_set_prefix): Remove Linux 2.0 specific connected
620 route treatment.
621
6222001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
623
624 * zebra-0.92a released.
625
6262001-08-17 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
627
628 * rib.c: Kernel route is treated as EGP routes in nexthop active
629 check.
630
6312001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
632
633 * zebra-0.92 released.
634
6352001-08-08 "Akihiro Mizutani" <mizutani@dml.com>
636
637 * rib.c (show_ip_route_prefix_longer): Add longer-prefix option to
638 show route commands.
639
6402001-07-29 Yon Uriarte <havanna_moon@gmx.net>
641
642 * zserv.c (zsend_ipv4_add_multipath): Add
643 NEXTHOP_TYPE_IPV4_IFINDEX check.
644
6452001-07-29 NOGUCHI Kay <kay@v6.access.co.jp>
646
647 * rtadv.c: Apply valid lifetime, preferred lifetime, onilnk flag,
648 autonomous address-configuration flag patch.
649 (no_ipv6_nd_suppress_ra): Change "ipv6 nd send-ra" to "no ipv6 nd
650 suppress-ra".
651
6522001-07-24 NOGUCHI Kay <kay@v6.access.co.jp>
653
654 * rtadv.c (ipv6_nd_ra_interval): Add "ipv6 nd ra-interval SECONDS"
655 command.
656
6572001-07-24 Jun-ichiro itojun Hagino <itojun@iijlab.net>
658
659 * rt_socket.c (kernel_rtm_ipv4): Add KAME/NetBSD151 equal cost
660 multicast FIB support both IPv4 and IPv6.
661
6622001-07-24 Hal Snyder <hal@vailsys.com>
663
664 * if_ioctl.c (interface_list_ioctl): Fix bug of failing to get the
665 full list of interfaces on some configurations of OpenBSD.
666
6672001-07-23 NOGUCHI Kay <kay@v6.access.co.jp>
668
669 * rtadv.c (ipv6_nd_send_ra): Apply [zebra 9320] to fix "ipv6 nd
670 send-ra" bug.
671 (ipv6_nd_ra_lifetime): "ipv6 nd ra-lifetime 0" for default router
672 availability.
673 (ipv6_nd_managed_config_flag): "ipv6 nd managed-config-flag" is
674 added.
675 (ipv6_nd_other_config_flag): "ipv6 nd other-config-flag" is added.
676
6772001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
678
679 * ioctl.c (if_ioctl): Change ioctl argument from int to u_long.
680
681 * rt_ioctl.c: Likewise.
682
6832001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
684
685 * kernel_socket.c (rtm_write): Only set RTF_CLONING when the
686 interface is not p2p.
687
6882001-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
689
690 * ioctl.c (if_prefix_add_ipv6): Fix argument type.
691
6922001-04-06 Toshiaki Takada <takada@zebra.org>
693
694 * zserv.c (zsend_interface_delete): Use client->obuf instead of
695 allocating new stream.
696
6972001-03-10 Kunihiro Ishiguro <kunihiro@zebra.org>
698
699 * rt_netlink.c: Revert RTPROT_BOOT change.
700
7012001-03-08 Kunihiro Ishiguro <kunihiro@zebra.org>
702
703 * rt_netlink.c (netlink_route_change): Skip RTPROT_BOOT route.
704 (netlink_routing_table): Likewise.
705
7062001-03-07 "Akihiro Mizutani" <mizutani@dml.com>
707
708 * zserv.c (zsend_ipv4_add_multipath): Send metric value to
709 protocol daemons.
710
7112001-02-18 Kunihiro Ishiguro <kunihiro@zebra.org>
712
713 * rt_netlink.c (netlink_routing_table): Do not return
714 tb[RTA_GATEWAY] is NULL. Reported by: "Michael O'Keefe"
715 <mokeefe@qualcomm.com>.
716
7172001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
718
719 * if_ioctl.c (interface_list_ioctl): Call if_add_update().
720 Suggested by: Chris Dunlop <chris@onthe.net.au>.
721
7222001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
723
724 * rib.c (nexthop_active_ipv4): When nexthop type is
725 NEXTHOP_TYPE_IPV4_IFINDEX, propery set the ifindex to rifindex.
726
727 * zserv.c: Initialize rtm_table_default with 0.
728
729 * zebra-0.91 is released.
730
7312001-01-31 Kunihiro Ishiguro <kunihiro@zebra.org>
732
733 * kernel_socket.c (rtm_read): Filter cloned route. Suggested by:
734 Jun-ichiro itojun Hagino <itojun@iijlab.net>
735
7362001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
737
738 * connected.c (connected_up_ipv6): When point-to-point destination
739 address is ::, use local address for connected network.
740 (connected_down_ipv6): Likewise.
741
7422001-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
743
744 * zserv.c (zebra_serv): Add missing close() call. Reported by:
745 David Waitzman <djw@vineyard.net>.
746
7472001-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
748
749 * rib.c (rib_lookup_ipv4): New function for checking exact match
750 IGP route.
751
7522001-01-23 Kunihiro Ishiguro <kunihiro@zebra.org>
753
754 * rib.c (show_ipv6_route_protocol): Fix bug of "show ip route
755 route-type".
756
7572001-01-22 Kunihiro Ishiguro <kunihiro@zebra.org>
758
759 * interface.c (zebra_interface): Do not call
760 zebra_interface_add_update for inactive interface.
761
762 * zserv.c (zsend_interface_address_add): Send interface address
763 flag.
764 (zsend_interface_address_delete): Likewise.
765
7662001-01-19 Kunihiro Ishiguro <kunihiro@zebra.org>
767
768 * interface.c (if_addr_add): Add flags.
769
770 * connected.c (ifa_add_ipv4): Add new function for interface
771 address handling.
772 (ifa_delete_ipv4): Likewise.
773
7742001-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
775
776 * rib.c (rib_update): Update IPv6 RIB.
777
778 * kernel_socket.c (ifam_read): Call if_refresh() for update
779 interface flag status. This is for implicit interface up on *BSD.
780
781 * interface.c (if_refresh): Add interface flag refresh function.
782
783 * kernel_socket.c (rtm_read): Fetch link-local address interface
784 index.
785 (ifan_read): We need to fetch interface information. Suggested
786 by: Yasuhiro Ohara <yasu@sfc.wide.ad.jp>.
787
788 * rib.c (static_ipv6_nexthop_same): Add check for
789 NEXTHOP_TYPE_IPV6_IFNAME.
790
7912001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
792
793 * rib.h (NEW_RIB): Turn on NEW_RIB flag. IPv6 new RIB code are
794 taken into place.
795
7962001-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
797
798 * rib.c (static_ipv6_write): Display STATIC_IPV6_GATEWAY_IFNAME
799 configuration.
800 (rib_delete_ipv6): Handle same route conter for IPv6 connected
801 route.
802 (show_ipv6_route_protocol): New command.
803 (show_ipv6_route_addr): Likewise.
804 (show_ipv6_route_prefix): Likewise.
805 (rib_update): Sweep kernel route when it is cleaned up.
806
807 * rt_socket.c (kernel_add_ipv6): Add NEXTHOP_IPV6_IFNAME
808 treatmenet.
809
810 * rt_netlink.c (kernel_init): Likewise.
811
812 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): Likewise.
813
814 * rib.c (rib_add_ipv4): Cope with same connected route on a
815 interface. Suggested by: Matthew Grant <grantma@anathoth.gen.nz>.
816 (nexthop_ipv6_ifname_add): Add NEXTHOP_IPV6_IFNAME treatmenet.
817
818 * rib.h (struct new_rib): Add refcnt to keep track on the
819 reference of same connected route.
820
821 * ioctl.c (if_set_prefix): Add check for GNU_LINUX.
822
8232001-01-13 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
824
825 * kernel_socket.c (ifan_read, rtm_type_str): Add RTM_OIFINFO check.
826 (rtm_type_str): Add RTM_IFANNOUNCE check.
827 (ifan_read): New function.
828 (kernel_read): Add case for RTM_IFANNOUNCE.
829
8302001-01-13 Kunihiro Ishiguro <kunihiro@zebra.org>
831
832 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): New function.
833
834 * rt_netlink.c (netlink_route_multipath): IPv6 address ifindex
835 treatment.
836
837 * connected.c (connected_up_ipv6): Add dest value check.
838
839 * rib.c (nexthop_active_ipv6): Do not touch IPv6 nexthop's
840 ifindex.
841 (rib_add_ipv4): Import rib_add_ipv6() same route check code.
842 (nexthop_active_check): NEXTHOP_TYPE_IPV6_IFINDEX activity is only
843 checked by ifindex.
844
845 * rt_socket.c (kernel_rtm_ipv6_multipath): New function.
846
847 * redistribute.c (redistribute_add): Use
848 zsend_ipv6_add_multipath().
849 (redistribute_delete_multipath): Use
850 zsend_ipv6_delete_multipath().
851
852 * interface.c (ip_address): Check current IP address to avoid
853 duplicate.
854
855 * rib.c (rib_delete_ipv4): When deleted route is connected route,
856 check ifindex.
857 (rib_add_ipv4): When connected route is added do not perform
858 implicit withdraw.
859 (rib_delete_ipv4): Check ifindex for connected route.
860
861 * kernel_socket.c (rtm_read): When route has RTF_STATIC, set
862 ZEBRA_FLAG_STATIC for indicate as persistent route.
863 (ifam_read): Unset interface index from link-local address when
864 IPv6 stack is KAME.
865
866 * rib.c (rib_update): Do not delete persistent kernel route.
867
868 * rib.h (struct new_rib): Integrate RIB_FLAG_* to ZEBRA_FLAG_*.
869
870 * rt_socket.c (kernel_add_ipv6_multipath): Add placeholder.
871 (kernel_delete_ipv6_multipath): Likewise.
872
873 * rt_netlink.c (netlink_talk): Give struct nlsock to netlink_talk.
874
8752001-01-12 Kunihiro Ishiguro <kunihiro@zebra.org>
876
877 * rib.c (rib_update): Revert Matthew Grant's patch
878 zebra_cvs_newribfix.patch. Use struct rib->ifindex for kernel
879 interface index. Introduce NEXTHOP_TYPE_IPV4_IFINDEX to support
880 that. Add support for address deletion situation.
881
8822001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
883
884 * interface.c: Remove HAVE_IF_PSEUDO part.
885
886 * rib.h: Likewise.
887
888 * rt_netlink.c (netlink_link_change): Likewise.
889
8902001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
891
892 * zserv.c: Remove OLD_RIB codes.
893
8942001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
895
896 * zebra-0.90 is released.
897
8982001-01-09 Matthew Grant <grantma@anathoth.gen.nz>
899
900 * interface.c (if_new_intern_ifindex): Allocate a new internal
901 interface index.
902 (if_addr_refresh): Fix up ip addresses configured via zebra.
903 (if_add_update): Handle an interface addition.
904 (if_delete_update): Handle an interface delete event.
905
906 * rib.c (nexthop_ipv4_add): Add kernel route deletion process when
907 interface goes down.
908
9092001-01-08 Kunihiro Ishiguro <kunihiro@zebra.org>
910
911 * interface.c (if_dump_vty): When HAVE_NET_RT_IFLIST is defined,
912 NetBSD also use this function. Suggested by Jasper Wallace
913 <jasper@ivision.co.uk>.
914
9152001-01-07 Kunihiro Ishiguro <kunihiro@zebra.org>
916
917 * rib.c (nexthop_active_ipv4): Move back to set methodo to old
918 one.
919
9202001-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
921
922 * rib.c (rib_add_ipv4): EBGP multihop set ZEBRA_FLAG_INTERNAL
923 flag, so treat it.
924
9252001-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
926
927 * rt_netlink.c (netlink_talk_ipv6): When IPv6 route message is
928 sent from netlink_cmd, the same message comes from netlink. To
929 avoid confusion, temporary netlink_talk_ipv6 use netlink.sock
930 instead of netlink_cmd.sock.
931
9322001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
933
934 * zserv.h (ZEBRA_SERV_PATH): Change "/tmp/zebra" to "/tmp/.zebra".
935 Change "/tmp/zserv" to "/tmp/.zserv".
936
9372000-12-29 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
938
939 * rt_netlink.c (struct nlsock): Divide kernel message into listen
940 socket and command socket.
941 (netlink_talk): Remove socket listen code. Use netlink_parse_info
942 for read kernel response.
943
9442000-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
945
946 * rib.c (vty_show_ip_route): Show uptime of the RIP,OSPF,BGP
947 routes.
948
9492000-12-27 Kunihiro Ishiguro <kunihiro@zebra.org>
950
951 * rt_netlink.c (netlink_route_multipath): Metric value is
952 reflected to kernel routing table.
953
954 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Likewise.
955
956 * kernel_socket.c (rtm_write): Likewise.
957
958 * rib.c (nexthop_active_ipv4): Only iBGP route perform recursive
959 nexthop lookup.
960
961 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Add ioctl version of
962 new RIB implementation.
963
9642000-12-26 Kunihiro Ishiguro <kunihiro@zebra.org>
965
966 * rib.h: Remove MULTIPATH_NUM. It is defined by configure script.
967
9682000-12-25 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
969
970 * rib.c (rib_if_up): Call rib_fib_set instead of RIB_FIB_SET for
971 proper redistribution.
972
9732000-12-19 Kunihiro Ishiguro <kunihiro@zebra.org>
974
975 * rib.c (nexthop_active_ipv4): Add self lookup nexthop check.
976 (show_ip_route_protocol): Support new RIB.
977
978 * rt_netlink.c (netlink_route_change): Do not return when gate is
979 NULL.
980
9812000-12-18 Kunihiro Ishiguro <kunihiro@zebra.org>
982
983 * rib.c (rib_lookup_ipv4_nexthop): IBGP nexthop check function is
984 updated.
985 (rib_add_ipv4): Free implicit withdraw route's RIB.
986
9872000-12-15 Kunihiro Ishiguro <kunihiro@zebra.org>
988
989 * rib.c (nexthop_active_ipv4): Check indirect nexthop.
990
991 * redistribute.c (redistribute_add_multipath): Redistribution
992 works with new rib code.
993
9942000-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
995
996 * rt_netlink.c (netlink_route_multipath): Check useful nexthop
997 number.
998 (netlink_route_multipath): Clear rtnh_flags and rtnh_hops.
999
1000 * rib.c (nexthop_active_update): Set flag for the rib's nexthop
1001 activity is changed.
1002 (nexthop_active_check): Before checking interface is up, make it
1003 sure the interface exist.
1004
10052000-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1006
1007 * rib.c (ip_route): New RIB prototype.
1008
10092000-11-16 Yon Uriarte <ukl2@rz.uni-karlsruhe.de>
1010
1011 * zserv.c (zsend_interface_add): Send hardware address when
1012 hw_addr_len is greater than 0.
1013
10142000-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1015
1016 * connected.c (connected_up_ipv4): Fix ptop bug. The destination
1017 network should be installed into routing table.
1018 (connected_down_ipv4): Likewise.
1019 (connected_add_ipv4): Change to use connected_up_ipv4.
1020 (connected_delete_ipv4): Likewise.
1021
10222000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1023
1024 * rt_netlink.c (netlink_interface_addr): Revert Harald Welte
1025 <laforge@gnumonks.org>'s ptop patch then back to original code to
1026 avoid duplicated connected route problem. Suggested by Frank van
1027 Maarseveen <F.vanMaarseveen@inter.NL.net>.
1028
1029 * kernel_socket.c (rtm_read): Make behavior consistent even #ifdef
1030 DEBUG is defined. Reported by Jun-ichiro itojun Hagino
1031 <itojun@iijlab.net>.
1032
10332000-10-23 Jochen Friedrich <jochen@scram.de>
1034
1035 * main.c (main): Call zebra_snmp_init() when it is enabled.
1036
10372000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1038
1039 * zserv.c (zebra_serv_un): UNIX domain socket server of zebra
1040 protocol.
1041
10422000-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1043
1044 * rib.c (rib_add_ipv4): Same check bug is fixed.
1045
10462000-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1047
1048 * rib.c (rib_if_down): Remove kernel route when the interface goes
1049 down.
1050
1051 * debug.c: New command "debug zebra kernel" is added.
1052
10532000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1054
1055 * zebra-0.89 is released.
1056
10572000-09-24 Harald Welte <laforge@gnumonks.org>
1058
1059 * rt_netlink.c (netlink_interface_addr): Fix point-to-point address
1060 treatment in netlink interface.
1061
10622000-09-21 David Lipovkov <dlipovkov@OpticalAccess.com>
1063
1064 * rib.c (rib_if_down): Pull static route only. Protocol daemon
1065 must withdraw routes when interface goes down.
1066 (rib_add_ipv4): Check nexthop when replace route.
1067
10682000-09-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1069
1070 * if_ioctl.c (if_getaddrs): New function for looking up
1071 interface's address by getifaddrs().
1072
10732000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1074
1075 * connected.c (connected_delete_ipv4): Add check for connected
1076 address is found or not.
1077 (connected_add_ipv6): Reflect IPv6 connected address change to
1078 protocol daemons.
1079 (connected_delete_ipv6): Likewise.
1080
10812000-09-07 David Lipovkov <davidl@nbase.co.il>
1082
1083 * rib.c (rib_delete_ipv4): Reverted the change from pseudo
1084 interface patch to original. Because ospfd deletes routes using
1085 zero ifindex.
1086
10872000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1088
1089 * zebra-0.88 is released.
1090
10912000-08-15 "Akihiro Mizutani" <mizutani@dml.com>
1092
1093 * rib.c (show_ip_route_protocol): Help string correction.
1094 (show_ip_route_prefix): Check prefix mask.
1095 (show_ip_route_vty_detail): Display distance and metric.
1096
10972000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1098
1099 * zserv.c (zsend_interface_add): Change ifindex store size from
1100 two octet to four.
1101 (zsend_interface_delete): Likewise.
1102 (zsend_interface_address_add): Likewise.
1103 (zsend_interface_address_delete): Likewise.
1104 (zsend_interface_up): Likewise.
1105 (zsend_interface_down): Likewise.
1106
11072000-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1108
1109 * rib.c (rib_add_ipv4): Do not install distance 255 route.
1110
11112000-08-10 Toshiaki Takada <takada@zebra.org>
1112
1113 * interface.c (bandwidth_if), (no_bandwidth_if): Call
1114 zebra_interface_up_update () instead of using if_up() and if_down().
1115
11162000-08-07 "Akihiro Mizutani" <mizutani@dml.com>
1117
1118 * interface.c (bandwidth_if): Fix help string.
1119
11202000-08-07 Matthew Grant <grantma@anathoth.gen.nz>
1121
1122 * interface.c (if_dump_vty): Display bandwidth value.
1123 (bandwidth_if): New command "bandwidth <1-10000000>" is added.
1124 When interface is up, force protocol daemons to recalculate routes
1125 due to cost change.
1126 (no_bandwidth_if): Likewise.
1127 (if_config_write): Output bandwidth configuration.
1128
1129 * zserv.c (zsend_interface_add): Send bandwidth value.
1130 (zsend_interface_up): Likewise.
1131 (zsend_interface_down): Likewise.
1132
1133
11342000-08-07 Michael Rozhavsky <mike@nbase.co.il>
1135
1136 * rib.c (show_ip_route_protocol): "show ip route
1137 (bgp|connected|kernel|ospf|rip|static)" is added.
1138
11392000-08-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1140
1141 * rib.c (rib_lookup_ipv4_nexthop): Check parent node until IGP
1142 nexthop is found.
1143 (rib_add_ipv4_internal): Set fib ifindex to rib ifindex.
1144
11452000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1146
1147 * redistribute.c (redistribute_delete): Fix bug of default route
1148 redistribute treatment.
1149
11502000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1151
1152 * rib.c (rib_init): Install ip_node in rib.c instead of zserv.c.
1153 Change default distance value.
1154
1155 Old New
1156 ------------------------------------------
1157 system 10 0
1158 kernel 20 0
1159 connected 30 0
1160 static 40 1
1161 rip 50 120
1162 ripng 50 120
1163 ospf 60 110
1164 ospf6 49 110
1165 bgp 70 200(iBGP) 20(eBGP)
1166 ------------------------------------------
1167
1168 * zserv.c (client_lookup): Function removed.
1169 (zsend_interface_add): Use client's output buffer. Check ifinfo
1170 flag.
1171 (zsend_interface_delete): Likewise.
1172 Delete ipv4_static_radix and ipv6_static_radix.
1173
11742000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1175
1176 * zserv.h (struct zebra_client): When client request interface
1177 information, ifinfo is set.
1178
1179 * rib.c: Temporary Revert changes for pseudo interface.
1180
1181 * rib.h: Likewise.
1182
1183 * zserv.c: Likewise.
1184
1185 * interface.c: Likewise.
1186
11872000-08-02 David Lipovkov <davidl@nbase.co.il>
1188
1189 * interface.c (zebra_if_init): Install interface "pseudo"
1190 commands.
1191
1192 * rib.c (rib_create): ifname argument is added.
1193 (rib_add_ipv4_pseudo): New function is added.
1194 (rib_delete_ipv4_pseudo): Likewise.
1195
1196 * rib.h : Delete INTERFACE_UNKNOWN definition. Add prototype for
1197 pseudo interface functions.
1198
1199 * rt_netlink.c (netlink_link_change): Check for pseudo interface.
1200
1201 * zserv.c (ip_route): When destination is pseudo interface, call
1202 rib_add_ipv4_pseudo().
1203
1204 * zserv.c (no_ip_route): Trim "unknown" argument.
1205
12062000-07-26 kunitake@dti.ad.jp
1207
1208 * if_ioctl.c (if_get_hwaddr): Fix hardware address length from 8
1209 to 6.
1210
1211 * rtadv.c (rtadv_send_packet): Fix shift bug for hardware address.
1212
12132000-07-24 Akihiro Mizutani <mizutani@dml.com>
1214
1215 * interface.c: Use install_default() for common VTY commands.
1216
12172000-07-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1218
1219 * if_ioctl.c (interface_list_ioctl): A interface list size is
1220 calculated from ifreq->if_addr.sa_len. This is for OpenBSD.
1221
1222 * ioctl.c (if_get_mtu): Remove codes for SIOCGIFDATA.
1223
12242000-07-09 Chris Dunlop <chris@onthe.net.au>
1225
1226 * if_ioctl.c (if_get_index): Add check for HAVE_BROKEN_ALIASES.
1227
12282000-07-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1229
1230 * zserv.c (zebra_client_read): Add ZEBRA_REDISTRIBUTE_{ADD,DELETE}
1231 message handling.
1232
12332000-07-02 David Lipovkov <davidl@nbase.co.il>
1234
1235 * zserv.c: "ip route A.B.C.D/M unknown" command is added.
1236
12372000-06-28 Michael Rozhavsky <mike@nbase.co.il>
1238
1239 * rib.c: Remove old kernel route when new route comes in.
1240
12412000-06-13 David Lipovkov <davidl@nbase.co.il>
1242
1243 * rib.c (rib_if_up): Add check for unknown interface.
1244
12452000-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1246
1247 * rib.h: Define INTERFACE_UNKNOWN.
1248
12492000-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1250
1251 * Makefile.am (EXTRA_DIST): Move irdp.c until implementation is
1252 finished.
1253
12542000-06-05 David Lipovkov <davidl@nbase.co.il>
1255
1256 * interface.c (if_zebra_delete_hook): Call rib_if_delete().
1257
1258 * redistribute.c (zebra_interface_delete_update): New function.
1259
1260 * redistribute.h (zebra_interface_delete_update): New function
1261 prototype.
1262
1263 * rib.c (rib_if_delete): New function. Walk down all routes and
1264 delete all on the interface.
1265
1266 * rib.h: New function prototype.
1267
1268 * rt_netlink.c (netlink_link_change): Call
1269 zebra_interface_delete_update ().
1270
12712000-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1272
1273 * if_ioctl.c (interface_info_ioctl): Check interface's flag before
1274 checking interface's address.
1275
12762000-04-26 Jochen Friedrich <jochen@nwe.de>
1277
1278 * GNOME-PRODUCT-ZEBRA-MIB: New file.
1279
1280 * GNOME-SMI: New file.
1281
12822000-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1283
1284 * irdp.c: New file from 1997 development code.
1285 * irdp.h: Likewise.
1286
12872000-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1288
1289 * rtadv.c (rtadv_send_packet): Enclose router advertisement
1290 logging with IS_ZEBRA_DEBUG_PACKET.
1291
12922000-04-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1293
1294 * zserv.c (zebra_client_close): Remove client structure from
1295 client_list when connection is terminated.
1296
12972000-03-21 David Lipovkov <davidl@nbase.co.il>
1298
1299 * connected.c (connected_add_ipv4): Allows all necessary structure
1300 updates for connected route, but doesn't insert it into rib if
1301 it's interface is down.
1302
13032000-01-21 Hideto Yamakawa <hideto.yamakawa@soliton.co.jp>
1304
1305 * rtread_getmsg.c: Set some definition for Solaris 2.5 and Solaris
1306 2.5.1.
1307
13082000-01-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1309
1310 * rib.c (no_ipv6_route_ifname): Fix buf of cheking return value
1311 from str2prefix_ipv6().
1312
13132000-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1314
1315 * rt_socket.c: Revert to use RTF_HOST for IPv4 with /32 route and
1316 IPv6 with /128 routes.
1317 (kernel_rtm_ipv4): In case of /32 route's gateway is interface. It
1318 should have mask for cloning.
1319
13201999-12-26 Jochen.Friedrich@genorz.de
1321
1322 * interface.c (if_dump_vty): Fix a bug of missing VTY_NEWLINE.
1323
13241999-12-23 Alex Zinin <zinin@amt.ru>
1325 * interface.*: dynamic int up/down support
1326
13271999-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1328
1329 * ipforward_proc.c (dropline): Move dropline() from lib/dropline.c
1330
1331 * rtread_proc.c (proc_route_read): Don't use dropline().
1332
13331999-12-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1334
1335 * kernel_socket.c (rtm_read): When message is RTM_GET, it has own
1336 process's pid.
1337
13381999-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1339
1340 * main.c (main): Change to default log output to ZLOG_STDOUT.
1341
1342 * zserv.c (zebra_serv): More detailed error print.
1343
13441999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1345
1346 * kernel_socket.c (rtm_read): Check old pid for static route
1347 insertion check.
1348
13491999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1350
1351 * interface.c (if_dump_vty): BSDI/OS uses 64bit for interface
1352 statistics counter.
1353
1354 * mtu_kvm.c: New file added.
1355
13561999-11-27 Vladimir B. Grebenschikov <vova@express.ru>
1357
1358 * kernel_socket.c (rtm_write): Set RTF_CLONING flag for
1359 route to the directly connected interface.
1360
13611999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1362
1363 * rt_socket.c: Delete USE_HOST_BIT definition.
1364
13651999-11-21 Michael Handler <handler@sub-rosa.com>
1366
1367 * rtread_getmsg.c: Undef some definition to resolve conflict.
1368
13691999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1370
1371 * kernel_socket.c (rtm_write): Change to use pre stored struct_dl
1372 value for gateway specification.
1373
13741999-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1375
1376 * rt_socket.c (kernel_rtm_ipv4): Even mask is 32 under IPv4 or
1377 128 under IPv6, don't use RTF_HOST.
1378
13791999-11-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1380
1381 * Makefile.am (EXTRA_DIST): Add rtread_getmsg.c.
1382
13831999-11-21 Michael Handler <handler@sub-rosa.com>
1384
1385 * rtread_getmsg.c: Added for Solaris 2.6 support.
1386
13871999-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1388
1389 * rtread_sysctl.c (rtm_read_route): RTM_DELETE handling added.
1390
1391 * rt_socket.c (kernel_read): Better BSD routing socket support.
1392
13931999-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1394
1395 * client_main.c: Disable making obsolete zebra test `client'
1396 command.
1397
13981999-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1399
1400 * zebra.c: Renamed to zserv.c.
1401
1402 * zebra.h: Global definitions are moved to lib/zebra.h. Then
1403 renamed to zserv.h.
1404
14051999-10-15 Jordan Mendelson <jordy@wserv.com>
1406
1407 * if_ioctl.c: Add Linux 2.2.X's alias support and dynamic
1408 interface. Remove ugly MAX_INTERFACE handling codes.
1409
14101999-09-17 Satosi KOBAYASI <kobayasi@north.ad.jp>
1411
1412 * Fix serious bug of IPv6 route deletion.
1413
14141999-09-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1415
1416 * ioctl.c (if_set_prefix): Properly set broadcast address.
1417
14181999-09-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1419
1420 * rib.c (rib_add_ipv6, rib_delete_ipv6): now protocol daemons
1421 can install connected route to kernel via zebra
1422
14231999-08-24 VOP <vop@unity.net>
1424
1425 * rib.c: Include "sockunion.h"
1426
14271999-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
1428
1429 * ipforward.h: New file.
1430
1431 * zebra.h: Obsolete message ZEBRA_GET_ALL_INTERFACE,
1432 ZEBRA_GET_ONE_INTERFACE, ZEBRA_GET_HOSTINFO are deleted.
1433
14341999-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1435
1436 * zebra.h (ZEBRA_INTERFACE_ADDRESS_ADD):
1437 ZEBRA_INTERFACE_{ADD,DELETE} added.
1438
14391999-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1440
1441 * rib.c: show ip route A.B.C.D works.
1442
1443 * zebra.c (zebra_read_ipv4): Add ifindex to zebra messages.
1444
14451999-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1446
1447 * zebra.h: New Zebra message ZEBRA_INTERFACE_{ADD,DELETE} added.
1448
14491999-08-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1450
1451 * interface.h: New file.
1452 * Makefile.am: Add interface.h
1453
14541999-08-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1455
1456 * redistribute.c (zebra_redistribute): give ifindex to client.
1457
14581999-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1459
1460 * main.c (longopts): -k, --keep_kernel option added.
1461
14621999-07-18 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1463
1464 * rt_socket.c (rtm_write): forgot closing socket bug fixed.
1465
14661999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1467
1468 * rib.c (show_ipv6_cmd): if rib is link show interface name.
1469
14701999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1471
1472 * rt_socket.c (rtm_write): use sockaddr_dl when null gateway.
1473
14741999-07-16 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1475
1476 * rt_socket.c (rtm_write): ipv6 route table bug fixed.
1477
14781999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1479
1480 * zebra.c (zebra_read_ipv6): read link prefix from ospf6 support
1481
14821999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1483
1484 * rt_socket.c (kernel_rtm_ipv6): gate treatment bug fixed.
1485
14861999-07-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1487
1488 * if_sysctl.c (ifm_read): Clear sockunion argument before fetching
1489 data. Suggested by "Chris P. Ross" <cross@eng.us.uu.net>
1490
14911999-07-08 HEO SeonMeyong <seirios@Matrix.IRI.Co.Jp>
1492
1493 * interface.c (if_tun_add): Add KAME's gif tunnel setting codes.
1494
14951999-06-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1496
1497 * zebra.c (zebra_serv): Only accept loopback address connection.
1498
14991999-06-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1500
1501 * zebra.h (ZEBRA_ROUTE_EXTERNAL): Add zebra messages flags
1502
15031999-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1504
1505 * ipforward_proc.c: ipforward_on () and ipforward_off () added.
1506
15071999-06-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1508
1509 * ipforward_proc.c (ipforward_ipv6): Check for IPv6 forwarding
1510 using /proc file system is added.
1511
15121999-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1513
1514 * if_ioctl.c (if_get_index): Interface index set bug is fixed by
1515 adding #else at the middle of function. Suggested by David Luyer
1516 <luyer@ucs.uwa.edu.au>.
1517
15181999-05-29 <kunihiro@zebra.org>
1519
1520 * rt_ioctl.c: Comment out #include <linux/ipv6_route.h>.
1521
15221999-05-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1523
1524 * zebra.h (ZEBRA_ROUTE_MAX): Add new define for the max value of
1525 the sort of routes.
1526
15271999-05-25 Patrick Koppen <koppen@rhrk.uni-kl.de>
1528
1529 * rt_netlink.c (netlink_socket): Make netlink socket non-blocking.
1530 (netlink_parse_info): If errno is EWOULDBLOCK then continue to
1531 parse the message.
1532 (netlink_talk): Likewise
1533
15341999-05-17 <kunihiro@zebra.org>
1535
1536 * redistribute.c (zebra_check_addr): Added for loopback address
1537 check.
1538
15391999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1540
1541 * rt_netlink.c (netlink_route_change): Tempolary bypass ipv6 route
1542 change treatment.
1543
1544 * Makefile.am (noinst_HEADERS): redistribute.h added.
1545
1546 * redistribute.h: New file.
1547
15481999-05-14 Stephen R. van den Berg <srb@cuci.nl>
1549
1550 * zebra.c (show_table): Show all table configuration DEFUN.
1551 (config_table): Config table number DEFUN.
1552
1553 * rt_netlink.c: Add support for multiple routing table.
1554
1555 * rib.c (rib_weed_table): New function added for delete all
1556 routes from specified routing table.
1557
1558 * main.c (signal_init): SIGTERM call sigint.
1559 (sigint): Loggging more better message.
1560
15611999-05-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1562
1563 * rt_netlink.c: Change log () to zlog ().
1564
15651999-05-07 <kunihiro@zebra.org>
1566
1567 * zebra.h (ZEBRA_ROUTE_OSPF6): Added for ospf6d route.
1568
15691999-04-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1570
1571 * interface.c: Add `no ip address' command.
1572
15731999-04-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1574
1575 * rt_netlink.c (kernel_read): Function added for asynchronous
1576 zebra between kernel communication.
1577
15781999-03-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1579
1580 * rtread_sysctl.c (rtm_read): Fix address memcopy overrun bug.
1581 Reported by Achim Patzner <ap@bnc.net>.
1582
15831999-03-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1584
1585 * Makefile.am: Install configuration sample with 600 permission.
1586
15871999-03-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1588
1589 * Makefile.am: Add -I.. to INCLUDES.
1590
15911999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
1592
1593 * syslog support added
1594
15951999-02-17 Peter Galbavy <Peter.Galbavy@knowledge.com>
1596
1597 * if_sysctl.c (interface_list): allocated memory free when unknown
1598 ifm_type is returned.
1599
1600 * ioctl.c (if_get_mtu): added SIOCGIFDATA treatment.
1601
16021998-12-15 Magnus Ahltorp <map@stacken.kth.se>
1603
1604 * interface.c: Header include added.
1605
16061998-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1607
1608 * rt.h (kernel_delete_ipv6): change int index to unsigned int index.
1609
16101998-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1611
1612 * if_ioctl.c (interface_list_ioctl): interface flag must be
1613 checked before check addresses of the interface.
1614
16151998-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1616
1617 * Makefile.am (INCLUDES): add @INCLUDES@ for Linux IPv6.
1618
16191998-10-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1620
1621 * ioctl.c: Linux version before 2.1.0 need interface route setup.
1622
16231998-09-15 HEO SeonMeyong <seirios@matrix.iri.co.jp>
1624
1625 * change HYDRANGEA to KAME
1626
16271998-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1628
1629 * if_ioctl.c (if_addr_ioctl): set address family for getting
1630 interface's address.
1631 (if_get_index): silently return when can't get interface's index.
1632
16331998-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1634
1635 * main.c (main): batch mode option '-b' added.
1636
16371998-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1638
1639 * ioctl.c (if_set_prefix): add `ip address IPV4ADDR' command.
1640 * interface.c (shutdown_if): add interface shutdown and no
1641 shutdown command.
1642
16431998-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1644
1645 * rib.c (rib_add_ipv6): delete rib_add_in6.
1646
16471998-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1648
1649 * main.c: retain flag is added.
1650
16511998-07-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1652
1653 * rtable.[ch]: merged with rib.[ch]
1654
16551998-07-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1656
1657 * connected.h: renamed from ifa.h.
1658
16591998-06-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1660
1661 * rename if.c to interface.c
1662 * rename ifa.c to connected.c
1663
1664 * Porting to Debian GNU/Linux 2.0 (hamm).
1665
16661998-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1667
1668 * rt_netlink.c: renamed from krt_netlink.c
1669
1670 * fib.c: deleted.
1671 * rt_kvm.c: deleted.
1672 * rtread_getmsg.c: deleted.
1673
16741998-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1675
1676 * if.c (multicast): add multicast flag [un]set fucntion.
1677
16781998-05-19 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1679
1680 * rt_socket.c: Modify for compile on Solaris, but dont't work it.
1681 rt_socket.c have some undefined function, so add directive "IMPLEMENT"
1682
16831998-05-18 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1684
1685 * zebra.c: Modify for compile on Solaris.
1686
16871998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1688
1689 * main.c: change CONFDIR to SYSCONFDIR.
1690
16911998-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1692
1693 * .cvsignore: added.
1694
16951998-04-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1696
1697 * client.c: moves to ../lib.
1698
16991998-03-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1700
1701 * if_ioctl.c (if_get_addr): Change address copy from memcopy() to
1702 structure assignment.
1703
17041998-03-30 URA Hiroshi <ura@yamato.ibm.co.jp>
1705
1706 * if_sysctl.c (ifm_interface_add): sdl->sdl_data copy bug fixed.
1707
17081998-02-23 "Hannes R. Boehm" <hannes@boehm.org>
1709
1710 * if.c (if_init): add config_exit_cmd and config_help_cmd.
1711
17121998-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
1713
1714 * rt_ioctl.c (route_ioctl): EPERM treatment added.
1715
17161998-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1717
1718 * rt_socket.c (kernel_read): communication port zebra between
1719 kernel is now handled by kernel_read.
1720
17211998-01-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1722
1723 * main.c (main): zebra [-P port] can specify vty port number.
1724
17251997-12-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1726
1727 * zebra.c: change select will be block.
1728
17291997-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1730
1731 * add static route treatment.
1732
17331997-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1734
1735 * rt_netlink.c: add netlink support over GNU/Linux system.
1736
17371997-11-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1738
1739 * all inet_addr is changed to inet_aton.
1740
1741 * zebra.c (ip_route): add ip route command for static routes.
1742
17431997-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1744
1745 * if.c (if_flag_dump): Linux port of if_flag_dump and _vty.
1746
17471997-11-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1748
1749 * if.c: add interface command.
1750
17511997-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1752
1753 * ipforward_proc.c : Now works on Linux.
1754
17551997-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1756
1757 * command.c : add completion feature.
1758
17591997-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1760
1761 * vty.c (vty_command): add vty interface.
1762
17631997-10-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1764
1765 * zebra.c: add verbose mode.
1766
17671997-10-12 SonMyong Ho <s-ho@Matrix.IRI.Co.Jp>
1768
1769 * Hydrangea for FreeBSD supported
1770 * in.h: add some prototype.
1771
17721997-10-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1773
1774 * rt_socket.c and rtread.c completely rewritten.
1775
17761997-10-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1777
1778 * rt_socket.c: rename kernel_sock to routing_socket
1779
17801997-10-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1781
1782 * if.c (if_new): interface structure change from linklist to vector.
1783
17841997-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1785
1786 * vector.c (vector_init): create vector related function
1787
17881997-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1789
1790 * Makefile.in: add tags target
1791
1792 * start IPv6 support for INRIA FreeBSD.
1793