blob: 7210c7a8a18f6a836f71a5ad4126b91f45b2f57f [file] [log] [blame]
paulcf460ef2005-04-10 16:54:26 +000012005-04-10 Paul Jakma <paul@dishone.st>
2
3 * if_ioctl_solaris.c: (if_lookup_linklocal) fix order of args
4 in ALL_LIST_ELEMENTS_RO macro.
5
ajs57a14772005-04-10 15:01:56 +000062005-04-10 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
7
8 * zserv.c (zebra_client_read): Fix bug: first read attempt should
9 read ZEBRA_HEADER_SIZE minus the number of bytes already read.
10 Improve efficiency by maintaining a calculation of the number
11 of bytes read instead of calling stream_get_endp multiple times.
12 If message length is too small, issue a warning message (not debug)
13 before closing the connection. And also check that message length
14 is not too big.
15
hasso206d8052005-04-09 16:38:51 +0000162005-04-09 Hasso Tepper <hasso at quagga.net>
17
hassofa599802005-04-09 16:59:28 +000018 * rt_netlink.c: One tiny missing comma caused pointless debug messages
19 about IPv6 nexthops.
20
212005-04-09 Hasso Tepper <hasso at quagga.net>
22
hasso206d8052005-04-09 16:38:51 +000023 * rt_netlink.c (netlink_parse_info): Fix warning. It's safe to cast
24 status to unsigned here, because we already checked that it isn't
25 negative or 0.
26 * rt_netlink.c (netlink_interface_addr): Prefix length belongs to the
27 address, not to the interface.
28 * rt_netlink.c (netlink_route_multipath): Fix debug. No useless info
29 is printed out now and IPv6 info is handeled.
30
paul3d1dc852005-04-05 00:45:23 +0000312005-04-05 Paul Jakma <paul@dishone.st>
32
33 * zserv.c: print more helpful errors when we fail to successfully
34 bind and listen on zserv socket. Closes bugzilla #163.
35
ajsd2fc8892005-04-02 18:38:43 +0000362005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
37
ajs08dbfb62005-04-03 03:40:52 +000038 * if_ioctl.c: (interface_list_ioctl) Use if_get_by_name_len.
39 * if_proc.c: (ifaddr_proc_ipv6) Increase size of ifname buffer to
40 avoid overflow.
41 * kernel_socket.c: (ifan_read) Use if_get_by_name_len.
42
432005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
44
ajsa3491982005-04-02 22:50:38 +000045 * kernel_socket.c: (ifm_read) Use new if_lookup_by_name_len function
46 to save a memcpy.
47 * if_ioctl_solaris.c: (interface_list_ioctl) Fix subtle bug with new
48 if_get_by_name_len function.
49
502005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
51
ajsd2fc8892005-04-02 18:38:43 +000052 * interface.c: (if_new_intern_ifindex) Remove obsolete function.
53 (if_delete_update) After distributing the interface deletion message,
54 set ifp->ifindex to IFINDEX_INTERNAL.
55 (if_dump_vty) Detect pseudo interface by checking if ifp->ifindex is
56 IFINDEX_INTERNAL.
57 (zebra_interface) Check return code from interface_cmd.func.
58 Do not set internal ifindex values to if_new_intern_ifindex(),
59 since we now use IFINDEX_INTERNAL for all pseudo interfaces.
60 * kernel_socket.c: (ifm_read) Fix code and comments to reflect that
61 all internal interfaces now have ifp->ifindex set to IFINDEX_INTERNAL.
62 * rt_netlink.c: (set_ifindex) New function used to update ifp->ifindex.
63 Detects interface rename events by checking if that ifindex is already
64 being used. If it is, delete the old interface before assigning
65 the ifindex to the new interface.
66 (netlink_interface, netlink_link_change) Call set_ifindex to update
67 the ifindex.
68
hassob7ed1ec2005-03-31 20:13:49 +0000692005-03-31 Hasso Tepper <hasso at quagga.net>
70
71 * rt_netlink.c (netlink_talk_filter): Show always warning message,
72 it's not for debug.
73 * rt_netlink.c (netlink_talk): Don't assume we use netlink_cmd
74 although we do now actually.
75 * rt_netlink.c (netlink_route, netlink_route_multipath): Always use
76 netlink_cmd to send messages to the kernel.
77
ajs2da40f42005-03-30 16:33:13 +0000782005-03-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
79
80 * irdp.h: Add prototype for irdp_sock_init, and fix protos for
81 other irdp_* functions.
82 * irdp_interface.c: (irdp_if_start) If irdp_sock is negative,
83 call irdp_sock_init to create the IRDP socket.
84 (irdp_if_init) Rename to irdp_init().
85 (get_iflist_ifp) Remove function that is a duplicate of
86 if_lookup_by_index.
87 (*) Make many functions static. And remove superfluous "\n" from
88 several zlog messages.
89 * irdp_main.c: (irdp_init) Remove function that used to call
90 irdp_if_init() and irdp_sock_init(), since we will now create
91 the socket only upon first use.
92 (irdp_sock_init) Do not update global irdp_sock variable, just
93 return the fd and assume that the caller will do so. If setsockopt
94 calls fail, close the socket before returning -1.
95 (*) Make many functions static.
96 * irdp_packet.c: Initialize irdp_sock to -1.
97 (irdp_read_raw) Call standard library function if_lookup_by_index
98 instead of get_iflist_ifp.
99 (irdp_recvmsg) Should be static, not global.
100
ajsa608bbf2005-03-29 17:03:49 +00001012005-03-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
102
103 * rt_netlink.c: (netlink_link_change) If the status of an
104 operative interface changes (e.g. MTU changes), the client
105 daemons should be notified by calling zebra_interface_up_update.
106 Previously, the information was being updated in zebra's
107 interface structure, but the clients were not notified of
108 changes to an operative interface.
109
vincent7cee1bb2005-03-25 13:08:53 +00001102005-03-25 Jean-Mickael Guerin <jean-mickael.guerin@6wind.com>
111 * interface.c, interface.h, rtadv.c, rtadv.h: modifications to
112 IPv6 Neighbor Discovery according to RFC3775, section 7:
113 o 1-bit Home Agent flag management in Router Advertisement (7.1).
114 o 1-bit Router Address flag management in Prefix Information
115 Option (7.2).
116 o Advertisement Interval Option (7.3)
117 o Home Agent Information Option (7.4)
118 o Changes to Sending Router Advertisements more frequently (7.5)
119
hassoed9bb6d2005-03-13 19:17:21 +00001202005-03-13 Hasso Tepper <hasso at quagga.net>
121
122 * zebra/interaface.c: "show interface description" command
123 implemented.
124
paulc1f01f32005-03-12 06:33:14 +00001252005-03-12 Paul Jakma <paul@dishone.st>
126
127 * rt_netlink.c: (netlink_route_multipath) dont set equalise flag.
128 No stock Linux kernel has ever supported it, and even if it had
129 it's not generally a good idea.
130
hasso42a66d72005-03-07 08:19:44 +00001312005-03-07 Michael Sandee <voidptr@voidptr.sboost.org>
132
133 * if_proc.c, ipforward_proc.c, rtread_proc.c: Fix fd leaks.
134
hasso3452d472005-03-06 13:42:05 +00001352005-03-06 Hasso Tepper <hasso at quagga.net>
136
137 * interface.c: Fix CRC and frame errors statistics in Linux.
138
ajs719e9742005-02-28 20:52:15 +00001392005-02-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
140
141 * zserv.c: Must include network.h and buffer.h for non-blocking I/O.
142 Remove global message_queue and t_write (need separate buffering for
143 each client).
144 (zebra_server_dequeue,zebra_server_enqueue) Remove functions
145 related to old buggy buffering code.
146 (zserv_delayed_close) New thread callback function to delete a client.
147 (zserv_flush_data) New thread callback function to flush buffered
148 data to client.
149 (zebra_server_send_message) Rewritten to use buffer_write (so
150 buffering of writes and non-blocking I/O work properly).
151 (zsend_interface_add,zsend_interface_delete,zsend_interface_address,
152 zsend_interface_update) Return 0 instead of -1 if !client->ifinfo
153 (this is not really an error). Return value from
154 zebra_server_send_message.
155 (zsend_route_multipath,zsend_ipv4_nexthop_lookup,
156 zsend_ipv4_import_lookup) Return value from zebra_server_send_message.
157 (zsend_ipv6_nexthop_lookup) Fix scope to static, and return value
158 from zebra_server_send_message.
159 (zsend_router_id_update) Must use zebra_server_send_message instead
160 of deprecated writen function. Return 0 instead of -1 if this client
161 is not subscribed to router-id updates (since this is not really
162 an error).
163 (zread_interface_add) Change type to static int. If
164 zsend_interface_add fails or zsend_interface_address fails, return -1
165 immediately (since the client has had an I/O error).
166 (zread_interface_delete,zread_ipv4_add,zread_ipv4_delete,
167 zread_ipv6_add,zread_ipv6_delete,zread_router_id_delete) Return 0
168 to indicate success.
169 (zread_ipv4_nexthop_lookup) Return value from
170 zsend_ipv4_nexthop_lookup.
171 (zread_ipv4_import_lookup) Return value from zsend_ipv4_import_lookup.
172 (zebra_read_ipv6) Remove unused function.
173 (zread_ipv6_nexthop_lookup) Return value from
174 zsend_ipv6_nexthop_lookup.
175 (zread_router_id_add) Return value from zsend_router_id_update.
176 (zebra_client_close) Call buffer_free(client->wb) and
177 thread_cancel(client->t_suicide).
178 (zebra_client_create) Allocate client->wb using buffer_new.
179 (zebra_client_read) Support non-blocking I/O by using stream_read_try.
180 Use ZEBRA_HEADER_SIZE instead of 3.
181 (zebra_accept) Fix bug: reset accept thread at top. Make client
182 socket non-blocking using the set_nonblocking function.
183 (config_write_forwarding) Fix scope to static.
184 (zebra_init) Remove initialization code for old buggy write buffering.
185 * zserv.h: Add 2 new fields to struct zserv: struct buffer *wb
186 (to enable buffered writes with non-blocking I/), and
187 struct thread *t_suicide to support delayed close on I/O
188 errors.
189 * router-id.h: Remove prototypes for zread_router_id_add and
190 zread_router_id_delete (their scope should be static to zserv.c).
191
ajs27da3982005-02-24 16:06:33 +00001922005-02-24 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
193
194 * redistribute.c: (zebra_check_addr,is_default,
195 zebra_redistribute_default,zebra_redistribute) Fix scope to be static.
196
hassoe8274dc2005-02-20 19:09:23 +00001972005-02-20 Hasso Tepper <hasso at quagga.net>
198
199 * rt_netlink.c: Don't show messages "ignoring message type 0x001[89]"
200 if we are not debugging.
201
paule31f2292005-02-19 02:00:26 +00002022005-02-19 Paul Jakma <paul@dishone.st>
203
204 * zserv.c: (zebra_read_ipv6) replace the char * arithmetic with
205 STREAM_READABLE.
206
paul1e193152005-02-14 23:53:05 +00002072005-02-14 Paul Jakma <paul@dishone.st>
208
209 * Not all Linux netlink systems have IFLA_WIRELESS
210
ajs6a52d0d2005-01-30 18:49:28 +00002112005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
212
213 * ioctl.c: (if_ioctl,if_ioctl_ipv6,if_get_flags) Replace perror with
214 zlog_err.
215 * ioctl_solaris.c: (if_ioctl,if_ioctl_ipv6) Replace perror with
216 zlog_err.
217
ajs4be019d2005-01-29 16:12:41 +00002182005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
219
ajs4460e7a2005-01-29 17:07:40 +0000220 * if_ioctl_solaris.c: (interface_list_ioctl) Save errno before calling
221 zserv_privs.change.
222 * ioctl{,_solaris}.c: (if_ioctl,if_ioctl_ipv6) Save errno before calling
223 zserv_privs.change.
224 * ipforward_solaris.c: (solaris_nd) Save errno before calling
225 zserv_privs.change.
226 * irdp_main.c: (irdp_sock_init) Save errno before calling
227 zserv_privs.change.
228
2292005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
230
ajs4be019d2005-01-29 16:12:41 +0000231 * rt_netlink.c: (netlink_socket,netlink_request,netlink_parse_info,
232 netlink_talk) Save errno before calling zserv_privs.change.
233
paulc15cb242005-01-24 09:05:27 +00002342005-01-24 Martin Pot <mpot at martybugs.net>
235
236 * zebra/rt_netlink.c: ignore wireless newlink netlink messages.
237
hasso6f2c27a2005-01-18 13:44:35 +00002382005-01-18 Hasso Tepper <hasso at quagga.net>
239
240 * interface.c: Better statistics output in "show interface" command in
241 case of /proc being used.
242
hasso583d8002005-01-16 23:34:02 +00002432005-01-17 Hasso Tepper <hasso at quagga.net>
244
245 * main.c: With --nl-bufsize argument is required.
246
paul865b8522005-01-05 08:30:35 +00002472005-01-05 Paul Jakma <paul@dishone.st>
248
249 * zserv.c: (zebra_accept) Comment out setting of socket to NONBLOCK
250 for now, as we dont actually deal with with resending.... See
251 bugzilla #122, fix from wawa@yandex-team.ru (Vladimir Ivanov).
252 * kernel_socket.c: (routing_socket) ditto.
253
ajsb99760a2005-01-04 16:24:43 +00002542005-01-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
255
256 * rtadv.c: (rtadv_recv_packet,rtadv_send_packet) Use ZCMSG_FIRSTHDR
257 instead of CMSG_FIRSTHDR.
258
ajs341a8f12004-12-22 16:32:16 +00002592004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
260
261 * connected.c: (connected_add_ipv4) Limit warning about /32 addresses
262 with no peer specified to PtP interfaces only.
263
hassob8adec12004-12-18 16:03:28 +00002642004-12-18 Hasso Tepper <hasso at quagga.net>
265
266 * zebra_vty.c: Fix "show ipv6 route <proto>" command help and make it
267 work for isis routes.
268
gdt6a250b02004-12-09 14:48:12 +00002692004-12-09 Greg Troxel <gdt@fnord.ir.bbn.com>
270
271 * kernel_socket.c (rtmsg_debug): char * => const char *
272
ajs274a4a42004-12-07 15:39:31 +00002732004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
274
ajsb6178002004-12-07 21:12:56 +0000275 * *.c: Change level of debug messages to LOG_DEBUG.
276
2772004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
278
ajs274a4a42004-12-07 15:39:31 +0000279 * main.c: (main) The 2nd argument to openzlog has been removed.
280 So stdout logging will no longer be enabled by default.
281 * irdp_main.c: (irdp_finish) Reduce severity of shutdown message
282 from LOG_WARNING to LOG_INFO.
283
ajs887c44a2004-12-03 16:36:46 +00002842004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
285
286 * main.c: (sigint) Use zlog_notice for termination message.
287 (main) Add a startup announcement using zlog_notice.
288
hassoaccb1562004-11-25 19:21:07 +00002892004-11-25 Hasso Tepper <hasso at quagga.net>
290
291 * irdp_interface.c: Remove comment from DEFUN, it breaks vtysh because
292 it confuses extract.pl.
hassoc0652302004-11-25 19:33:48 +0000293 * main.c: Make group to run as configurable.
hassoaccb1562004-11-25 19:21:07 +0000294
hasso6bd7c6a2004-10-28 17:32:27 +00002952004-10-28 Hasso Tepper <hasso at quagga.net>
296
297 * interface.c: Remove dead "ip tunnel" command.
298
paul06f953f2004-10-22 17:00:38 +00002992004-10-22 Paul Jakma <paul@dishone.st>
300
301 * irdp_main.c: change setsockopt_pktinfo to setsockopt_ifindex
302
hasso3fb9cd62004-10-19 19:44:43 +00003032004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
304
305 * rt_netlink.c: (netlink_interface_addr) For PtP interfaces, ignore
306 tb[IFA_ADDRESS] if it's the same as tb[IFA_LOCAL].
307 * interface.c: (ip_address_install) Use new ipv4_broadcast_addr
308 function.
309 * connected.c: (connected_up_ipv4) Use CONNECTED_POINTOPOINT_HOST
310 macro.
311 (connected_down_ipv4) ditto.
312 (connected_add_ipv4) Validate destination address, print warnings
313 if it does not make sense.
314
hassoc1eaa442004-10-19 06:26:01 +00003152004-10-19 Hasso Tepper <hasso at quagga.net>
316
317 * zserv.c: Fix regression introduced with zserv cleanup.
318
hassoc75105a2004-10-13 10:33:26 +00003192004-10-13 Hasso Tepper <hasso at quagga.net>
320
321 * zebra_snmp.c: Remove defaults used to initialize smux connection to
322 snmpd. Connection is initialized only if smux peer is configured.
hassob71f00f2004-10-13 12:20:35 +0000323 * zserv.c: Remove useless warnings "forwarding is already on".
hassoc75105a2004-10-13 10:33:26 +0000324
hasso39ff11d2004-10-12 15:55:19 +00003252004-10-12 Hasso Tepper <hasso at quagga.net>
326
327 * zebra_vty.c: Unbreak "show ip route" command help and make it work
328 for isis routes.
hasso39db97e2004-10-12 20:50:58 +0000329 * interface.c(if_dump_vty): Show IPv6 addresses in "show interface"
330 output. Fixes Bugzilla #119.
331 * *.c: Make some strings const and some (unsigned) casts to fix
332 compiler warnings.
hasso39ff11d2004-10-12 15:55:19 +0000333
hassofce954f2004-10-07 20:29:24 +00003342004-10-07 Hasso Tepper <hasso at quagga.net>
335
336 * connected.c, main.c, rt_netlink.c, rtadv.c, zebra_rib.c, zserv.c:
337 Fix warnings: make strings const, signed -> unsigned.
338
paul72164662004-10-05 14:39:43 +00003392004-10-05 Paul Jakma <paul@dishone.st>
340
341 * irdp_packet.c: (parse_irdp_packet) style issues.
342 Use sockopt_iphdrincl_swab_systoh.
343 Try unbork the code. Checksum the ICMP data and actually
344 compare it to received checksum. Check data length against
345 claimed length in header.
346 Always use ntoh.. when accessing addresses, even when the
347 comparison happens to be endian-safe.
348 (send_packet) minor style isues. Use
349 sockopt_iphdrincl_swab_htosys.
350 (irdp_iph_hton/ntoh) IP header to/from network/host order.
351
hassoeef1fe12004-10-03 18:46:08 +00003522004-10-03 Gilad Arnold <gilad.arnold at terayon.com>
353
354 * interface.c, interface.h: A new prefix tree of connected subnets is
355 associated with each interface structure in zebra, in which each
356 live (ie, non-synthetic) node holds a list of installed addresses
357 that belong to that prefix. Remove secondary address logic from cli.
358 See [quagga-dev 872] for detailed explanation.
359 * connected.c: Use if_subnet_add() and if_subnet_delete().
360
hasso18a6dce2004-10-03 18:18:34 +00003612004-10-03 James R. Leu <jleu at mindspring.com>
362
363 * router-id.c, router-id.h: New files. Router id selection process. If
364 there is non 127.x.x.x address in loopack interface, lowest of them
365 is chosen. If there isn't, lowest from other interfaces addresses
366 are chosen. "router-id x.x.x.x" vty command to manual override.
367 * Makefile.am: Compile new files.
368 * main.c: Initialize router id.
369 * redistribute.c: Add interface addresses into router id selection
370 lists as they (dis)appear.
371 * zserv.c, zserv.h: Sending router id related messages to daemons.
372
hassoc9e52be2004-09-26 16:09:34 +00003732004-09-26 Hasso Tepper <hasso at quagga.net>
374
375 * irdp_interface.c, irdp_main.c, irdp_packet.c, rt_netlink.c,
376 rtadv.c, zebra_vty.c: Fix compiler warnings.
377
paul0c0f9112004-09-24 08:24:42 +00003782004-09-24 Paul Jakma <paul@dishone.st>
379
paul26f7a242004-09-24 08:45:10 +0000380 * irdp_interface.c: (no_ip_irdp_address_preference_cmd)
381 add missing listnode declaration.
382
3832004-09-24 Paul Jakma <paul@dishone.st>
384
paul0c0f9112004-09-24 08:24:42 +0000385 * irdp_{interface,main}.c: lists typedef removal cleanup.
386 update some list loops to LIST_LOOP. some miscellaneous style
387 and indent fixups.
388 (no_ip_irdp_address_preference_cmd) Fix delete of referenced node
paul26f7a242004-09-24 08:45:10 +0000389 in loop.
paul0c0f9112004-09-24 08:24:42 +0000390 * irdp_packet.c: (irdp_recvmsg) Fix buggy assignment of integer
391 to pointer.
392 * if_ioctl{,_solaris}.c: lists typedef removal cleanup.
393 update some list loops to LIST_LOOP.
394
hasso52dc7ee2004-09-23 19:18:23 +00003952004-09-23 Hasso Tepper <hasso at quagga.net>
396
397 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
398
paul44983cf2004-09-22 13:15:58 +00003992004-09-22 Paul Jakma <paul.jakma@sun.com>
400
401 * zserv.c: (zsend_route_multipath) fix nasty bad memset of struct
402 in_addr to sizeof(struct in6_addr), causing odd and hard to debug
403 crash.
404
hassoc34b6b52004-08-31 13:41:49 +00004052004-08-31 Hasso Tepper <hasso at quagga.net>
406
407 * main.c, rt_netlink.c: Added -s command line switch for tuning
408 netlink receive buffer size in Linux to avoid buffer overruns.
409
gdta5ea6872004-08-26 13:24:00 +00004102004-08-26 Miles Nordin <carton@Ivy.NET>
411
412 * ipforward_sysctl.c (mib_ipv6): Use size_t for len, per
413 sysctl(3), rather than int. (Needed on NetBSD/alpha to display
414 forwarding status correctly.)
415
paul3e0b3a52004-08-23 18:58:32 +00004162004-08-23 Paul Jakma <paul@dishone.st>
417
418 * zserv.c: (zebra_init) remove implicit ip forward enabling
419
paul0de1cde2004-08-19 04:45:33 +00004202004-08-19 Paul Jakma <paul@dishone.st>
421
422 * irdp_main.c: update to match sockopt renames.
423 * irdp_packet.c: include sockopt.h and update to match sockopt
424 renames.
425
gdt57492d52004-08-11 18:06:38 +00004262004-08-11 Greg Troxel <gdt@fnord.ir.bbn.com>
427
428 * rtadv.c (rtadv_send_packet): Allocate space for control messages
429 more carefully; it was wrong on NetBSD/sparc where CMSG alignment
430 is to 8 bytes instead of 4, and overwriting the address. Use the
431 provided macros for determining lengths.
432
paul5b73a672004-07-23 15:26:14 +00004332004-07-23 Sowmini Varadhan <Sowmini.Varadhan@Sun.COM>
434
435 * if_ioctl_solaris.c: HAVE_IPV6 ifdef fixups
436 * zserv.c: ditto
437 * ioctl_solaris.c: ditto.
438 * interface.c: cast for LLADDR
439 * interface.h: Add guards, include redistribute.h and remove
440 extraneous definitions of zebra_interface_{up,down}_update
441 * ioctl.h: Add AF_IOCTL define for non SOLARIS_IPV6
442 * redistribute.h: include dependent header, zserv.h
443 * zserv.h: include dependent header, rib.h
444
paul1470baf2004-07-23 15:25:01 +00004452004-07-23 Paul Jakma <paul@dishone.st>
446
447 * irdp_main.c: use setsockopt_pktinfo_ipv4
448 * irdp_packet.c: use SOPT_SIZE_CMSG_PKTINFO_IPV4 and
449 getsockopt_pktinfo_ifindex()
450
gdtcced60d2004-07-13 16:45:54 +00004512004-07-13 David Wiggins <dwiggins@bbn.com
452
453 * kernel_socket.c (rtm_flag_dump): terminate buffer with '\0', not '0'.
454
hasso25dac852004-07-13 03:06:51 +00004552004-07-13 Hasso Tepper <hasso@estpak.ee>
456
457 * irdp_main.c: Add privilege change.
458
hasso996933f2004-07-12 16:32:56 +00004592004-07-12 Hasso Tepper <hasso@estpak.ee>
460
461 * irdp_interface.c: follow common style while naming vty command
462 functions. Avoids confusion in extract.pl.
463
gdt87efd642004-06-30 17:36:11 +00004642004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
465
466 * main.c: define thread_master variable so that linking with
467 libzebra.so doesn't fail. Arguably zclient.o should be in a
468 separate library, but this is far less disruptive.
469
hassoca776982004-06-12 14:33:05 +00004702004-06-12 Robert Olsson <Robert.Olsson at data.slu.se>
471
472 * Added IRDP support.
473
hasso3e31cde2004-05-18 11:58:59 +00004742004-05-18 Hasso Tepper <hasso@estpak.ee>
475
476 * rtadv.c: Removed "[no] ipv6 nd send-ra" command. Replaced "ipv6 nd
477 prefix-advertisement" with "ipv6 nd prefix". Rewrite syntax of
478 "ipv6 nd prefix" command to allow various combinations of parameters
479 and flags. No defaults in configuration. Replaced on-link and
480 autoconfig with off-link and no-autoconfig flags in command syntax.
481 Cosmetic fixes in all commands. Documentation to reflect all changes.
482
paul19877dd2004-05-11 10:49:35 +00004832004-05-11 Paul Jakma <paul@dishone.st>
484
485 * Makefile.am: support for IOCTL_METHOD, as per Sowmini's patch.
paul48a46fa2004-05-11 10:55:22 +0000486 * if_ioctl_solaris.c: Fixup some erroneous privilege changes and
487 add privs.h header.
488 * ioctl_solaris.c: ditto
paulc50ae8b2004-05-11 11:31:07 +0000489 * ioctl.h: Add if_ioctl_ipv6 prototype and AF_IOCTL for SOLARIS_IPV6
490 * kernel_socket.c: Fix SAROUNDUP, compiler doesnt like do..while
491 RHS in assignments :)
492 * redistribute.c: (zebra_interface_delete_update) only used
493 if RTM_IFANNOUNCE and NETLINK is available.
494
paulb9df2d22004-05-09 09:09:59 +00004952004-05-09 Paul Jakma <paul@dishone.st>
496
497 * zserv.c: (zsend_route_multipath) Set the nexthop_num
498 field correctly. Add NEXTHOP_TYPE_IPV6_IFNAME for v6.
499 Conditionally set ZAPI_MESSAGE_METRIC flag - only for adds.
500 (zsend_ipv4_add) cruft, deleted.
501 (zsend_ipv4_delete) ditto.
502 (zsend_ipv6_add) ditto.
503 (zsend_ipv6_delete) ditto.
paul44145db2004-05-09 11:00:23 +0000504 * ioctl.c: (if_get_mtu) set mtu6 to mtu
505 * mtu_kvm.c: (if_kvm_get_mtu) set mtu6 to mtu
506 * rt_netlink.c: (netlink_interface) set mtu6 to mtu
507 (netlink_link_change) ditto
paul66e94882004-05-09 17:19:24 +0000508 * ipforward_solaris.c: fix typo of ND variable.
paul88424682004-05-09 18:21:35 +0000509 * if_ioctl_solaris.c: Add zprivs support.
510 * ioctl_solaris.c: ditto.
paul66e94882004-05-09 17:19:24 +0000511
paulb9df2d22004-05-09 09:09:59 +00005122004-05-09 Sowmini Varadhan <sowmini.varadhan@sun.com>
513
514 * zserv.c: (zsend_ipv{4,6}_{add,delete}_multipath) collapsed
515 into single zsend_route_multipath function.
516 (zsend_interface_{up,down}) collapsed into zsend_interface_update.
517 (zsend_interface_address_{add,delete}) collapsed into
518 zsend_interface_address.
519 (zsend_interface_add) send mtu6.
520 (zsend_interface_delete) ditto.
521 (zebra_write) remove unused function.
522 (various) Apply static qualifier. Add comments.
523 * zserv.h: Definitions changed as per above.
524 * redistribute.c: Changes as per zserv.c.
paul44145db2004-05-09 11:00:23 +0000525 * interface.c: (if_delete_update) only used with HAVE_NETLINK
526 and RTM_IFANNOUNCE.
527 (if_flag_dump_vty) Solaris IFF_IPV4 and IFF_IPV6 if flags
528 (if_dump_vty) print mtu6 if not same as mtu
paul88424682004-05-09 18:21:35 +0000529 * if_ioctl_solaris.c: New file, Solaris interface ioctl methods.
530 * ioctl_solaris.c: New file, Common solaris ioctl methods.
531
hasso34195bf2004-04-06 12:07:06 +00005322004-04-06 Krzysztof Oledzki <oleq@ans.pl>
533
534 * rt_netlink.c: Do not ignore metric when reading kernel routing
535 table on Linux with rt_netlink interface.
536
5372004-03-18 Hasso Tepper <hasso@estpak.ee>
hassof1d92e12004-03-18 15:40:33 +0000538
539 * interface.c: Temporary fix for handling secondary addresses
540 with label.
541
hasso55906722004-02-11 22:42:16 +00005422004-02-12 Hasso Tepper <hasso@estpak.ee>
hassof1d92e12004-03-18 15:40:33 +0000543
hasso55906722004-02-11 22:42:16 +0000544 * zserv.c: Added "ipv6 forwarding" command.
545
gdtb27900b2004-01-08 15:44:29 +00005462004-01-08 Greg Troxel <gdt@fnord.ir.bbn.com>
547
548 * kernel_socket.c (kernel_read): Use sockaddr_storage in buffer
549 for reading kernel messages to ensure enough space (necessary on
550 Solaris due to sockaddr_dl being large). Thanks to Sowmini
551 Varadhan for help with this change.
552
gdt9ccabd12004-01-06 18:23:02 +00005532004-01-06 Greg Troxel <gdt@t1.ir.bbn.com>
554
555 * rtadv.c (rtadv_send_packet): Change perror to zlog_err.
556
gdtdbee01f2004-01-06 00:36:51 +00005572004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
gdt4bfbea82004-01-06 01:13:05 +0000558 * kernel_socket.c (ifm_read): Major cleanup. Use Sowmini's code
559 to find the sockaddr_dl in all cases, narrowing the Solaris ifdef
560 to just the accomodation of broken kernels. Check sockaddr_dl
561 carefully up front, and later assume any non-NULL sdl pointer is
562 valid. Clean up types and variable declarations, and rename
563 WRAPUP to SAROUNDUP to make the name fit the behavior.
564
5652004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
gdtdbee01f2004-01-06 00:36:51 +0000566
567 * kernel_socket.c (kernel_read): Add a sockaddr_dl to the ifmsg
568 structure, because on Solaris sockaddr_dl is far larger than the
569 base sockaddr structure. (The code had previously been failing to
570 read all the data.)
gdt4bfbea82004-01-06 01:13:05 +0000571
gdtda26e3b2004-01-05 17:20:59 +00005722004-01-05 Greg Troxel <gdt@ahi.ir.bbn.com>
573
574 * kernel_socket.c (kernel_read): Look up interfaces by index
575 first, so that state changes which do not include a sockaddr_dl
576 now work. Add many sanity checks. In
577 particular, do not assume that a sockaddr_dl follows a message
578 without checking the ifm_addrs flags, and do not trust the length
579 in a sockaddr_dl. Add/clarify many comments.
580
gdt4b5e1352003-12-03 17:54:34 +00005812003-12-03 Greg Troxel <gdt@poblano.ir.bbn.com>
582
583 * rtadv.c: reorder includes to avoid compiler warning (define
584 structs before using them in prototypes)
585
hasso647e4f12003-05-25 11:43:52 +00005862003-05-25 Jim Crumpler <Jim.Crumpler@edion.com>
587
588 * zserv.c: Add "ip forwarding" command.
589
paul445f1432003-05-16 19:00:31 +00005902003-05-16 Gilad Arnold <gilad.arnold@terayon.com>
591
592 * zebra_rib.c: Fix memory leaks for ifname nexthops
593
5942003-04-19 Israel Keys <ikeys@agile.tv>
595
596 * rt_netlink.c: BLOCK on netlink while initialising
597
5982003-02-06 Francois Deppierraz <francois@ctrlaltdel.ch>
599
600 * rt_netlink.c (netlink_route_multipath): Set RTM_F_EQUALIZE when
601 it exists.
602
paul718e3742002-12-13 20:15:29 +00006032002-09-28 Akihiro Mizutani <mizutani@net-chef.net>
604
605 * zebra_rib.c (static_add_ipv4): Null0 static route is added.
606
6072002-09-10 Jochen Friedrich <chris+zebra@scram.de>
608
609 * rt_netlink.c: Add check for EAGAIN.
610 * kernel_socket.c: Likewise
611
6122002-06-12 Israel Keys <ikeys@oz.agile.tv>
613
614 * rt_netlink.c: Setting the NLM_F_ACK flag on the netlink command
615 message so that we get an ACK for successful netlink commands.
616 Change the netlink socket to BLOCKING while we wait for a
617 response; be it an ACK or an NLMSG_ERROR. Change
618 netlink_parse_info to deal with ACK messages.
619
6202001-11-01 Jun-ichiro itojun Hagino <itojun@iijlab.net>
621
622 * rtadv.c (rtadv_make_socket): setsockopt(IPV6_CHECKSUM) does not
623 work for ICMPv6 socket.
624
6252001-10-24 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
626
627 * rib.c (rib_process): Select connected route any case.
628
6292001-10-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
630
631 * interface.c (no_ip_address_secondary): Add "no" to command.
632
6332001-10-18 NOGUCHI Kay <kay@v6.access.co.jp>
634
635 * ioctl.c (if_prefix_add_ipv6): Set the prefered and valid lifetime
636 to infinity as the freebsd4.4 workaroud.
637
6382001-08-26 mihail.balikov@interbgc.com
639
640 * zebra_snmp.c: Fix snmpwalk problem such as IPv4 address
641 A.B.C.255.
642
6432001-08-22 NOGUCHI Kay <kay@v6.access.co.jp>
644
645 * rtadv.c: Do not send RA to loopback interface.
646
6472001-08-20 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
648
649 * ioctl.c (if_set_prefix): Remove Linux 2.0 specific connected
650 route treatment.
651
6522001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
653
654 * zebra-0.92a released.
655
6562001-08-17 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
657
658 * rib.c: Kernel route is treated as EGP routes in nexthop active
659 check.
660
6612001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
662
663 * zebra-0.92 released.
664
6652001-08-08 "Akihiro Mizutani" <mizutani@dml.com>
666
667 * rib.c (show_ip_route_prefix_longer): Add longer-prefix option to
668 show route commands.
669
6702001-07-29 Yon Uriarte <havanna_moon@gmx.net>
671
672 * zserv.c (zsend_ipv4_add_multipath): Add
673 NEXTHOP_TYPE_IPV4_IFINDEX check.
674
6752001-07-29 NOGUCHI Kay <kay@v6.access.co.jp>
676
677 * rtadv.c: Apply valid lifetime, preferred lifetime, onilnk flag,
678 autonomous address-configuration flag patch.
679 (no_ipv6_nd_suppress_ra): Change "ipv6 nd send-ra" to "no ipv6 nd
680 suppress-ra".
681
6822001-07-24 NOGUCHI Kay <kay@v6.access.co.jp>
683
684 * rtadv.c (ipv6_nd_ra_interval): Add "ipv6 nd ra-interval SECONDS"
685 command.
686
6872001-07-24 Jun-ichiro itojun Hagino <itojun@iijlab.net>
688
689 * rt_socket.c (kernel_rtm_ipv4): Add KAME/NetBSD151 equal cost
690 multicast FIB support both IPv4 and IPv6.
691
6922001-07-24 Hal Snyder <hal@vailsys.com>
693
694 * if_ioctl.c (interface_list_ioctl): Fix bug of failing to get the
695 full list of interfaces on some configurations of OpenBSD.
696
6972001-07-23 NOGUCHI Kay <kay@v6.access.co.jp>
698
699 * rtadv.c (ipv6_nd_send_ra): Apply [zebra 9320] to fix "ipv6 nd
700 send-ra" bug.
701 (ipv6_nd_ra_lifetime): "ipv6 nd ra-lifetime 0" for default router
702 availability.
703 (ipv6_nd_managed_config_flag): "ipv6 nd managed-config-flag" is
704 added.
705 (ipv6_nd_other_config_flag): "ipv6 nd other-config-flag" is added.
706
7072001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
708
709 * ioctl.c (if_ioctl): Change ioctl argument from int to u_long.
710
711 * rt_ioctl.c: Likewise.
712
7132001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
714
715 * kernel_socket.c (rtm_write): Only set RTF_CLONING when the
716 interface is not p2p.
717
7182001-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
719
720 * ioctl.c (if_prefix_add_ipv6): Fix argument type.
721
7222001-04-06 Toshiaki Takada <takada@zebra.org>
723
724 * zserv.c (zsend_interface_delete): Use client->obuf instead of
725 allocating new stream.
726
7272001-03-10 Kunihiro Ishiguro <kunihiro@zebra.org>
728
729 * rt_netlink.c: Revert RTPROT_BOOT change.
730
7312001-03-08 Kunihiro Ishiguro <kunihiro@zebra.org>
732
733 * rt_netlink.c (netlink_route_change): Skip RTPROT_BOOT route.
734 (netlink_routing_table): Likewise.
735
7362001-03-07 "Akihiro Mizutani" <mizutani@dml.com>
737
738 * zserv.c (zsend_ipv4_add_multipath): Send metric value to
739 protocol daemons.
740
7412001-02-18 Kunihiro Ishiguro <kunihiro@zebra.org>
742
743 * rt_netlink.c (netlink_routing_table): Do not return
744 tb[RTA_GATEWAY] is NULL. Reported by: "Michael O'Keefe"
745 <mokeefe@qualcomm.com>.
746
7472001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
748
749 * if_ioctl.c (interface_list_ioctl): Call if_add_update().
750 Suggested by: Chris Dunlop <chris@onthe.net.au>.
751
7522001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
753
754 * rib.c (nexthop_active_ipv4): When nexthop type is
755 NEXTHOP_TYPE_IPV4_IFINDEX, propery set the ifindex to rifindex.
756
757 * zserv.c: Initialize rtm_table_default with 0.
758
759 * zebra-0.91 is released.
760
7612001-01-31 Kunihiro Ishiguro <kunihiro@zebra.org>
762
763 * kernel_socket.c (rtm_read): Filter cloned route. Suggested by:
764 Jun-ichiro itojun Hagino <itojun@iijlab.net>
765
7662001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
767
768 * connected.c (connected_up_ipv6): When point-to-point destination
769 address is ::, use local address for connected network.
770 (connected_down_ipv6): Likewise.
771
7722001-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
773
774 * zserv.c (zebra_serv): Add missing close() call. Reported by:
775 David Waitzman <djw@vineyard.net>.
776
7772001-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
778
779 * rib.c (rib_lookup_ipv4): New function for checking exact match
780 IGP route.
781
7822001-01-23 Kunihiro Ishiguro <kunihiro@zebra.org>
783
784 * rib.c (show_ipv6_route_protocol): Fix bug of "show ip route
785 route-type".
786
7872001-01-22 Kunihiro Ishiguro <kunihiro@zebra.org>
788
789 * interface.c (zebra_interface): Do not call
790 zebra_interface_add_update for inactive interface.
791
792 * zserv.c (zsend_interface_address_add): Send interface address
793 flag.
794 (zsend_interface_address_delete): Likewise.
795
7962001-01-19 Kunihiro Ishiguro <kunihiro@zebra.org>
797
798 * interface.c (if_addr_add): Add flags.
799
800 * connected.c (ifa_add_ipv4): Add new function for interface
801 address handling.
802 (ifa_delete_ipv4): Likewise.
803
8042001-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
805
806 * rib.c (rib_update): Update IPv6 RIB.
807
808 * kernel_socket.c (ifam_read): Call if_refresh() for update
809 interface flag status. This is for implicit interface up on *BSD.
810
811 * interface.c (if_refresh): Add interface flag refresh function.
812
813 * kernel_socket.c (rtm_read): Fetch link-local address interface
814 index.
815 (ifan_read): We need to fetch interface information. Suggested
816 by: Yasuhiro Ohara <yasu@sfc.wide.ad.jp>.
817
818 * rib.c (static_ipv6_nexthop_same): Add check for
819 NEXTHOP_TYPE_IPV6_IFNAME.
820
8212001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
822
823 * rib.h (NEW_RIB): Turn on NEW_RIB flag. IPv6 new RIB code are
824 taken into place.
825
8262001-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
827
828 * rib.c (static_ipv6_write): Display STATIC_IPV6_GATEWAY_IFNAME
829 configuration.
830 (rib_delete_ipv6): Handle same route conter for IPv6 connected
831 route.
832 (show_ipv6_route_protocol): New command.
833 (show_ipv6_route_addr): Likewise.
834 (show_ipv6_route_prefix): Likewise.
835 (rib_update): Sweep kernel route when it is cleaned up.
836
837 * rt_socket.c (kernel_add_ipv6): Add NEXTHOP_IPV6_IFNAME
838 treatmenet.
839
840 * rt_netlink.c (kernel_init): Likewise.
841
842 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): Likewise.
843
844 * rib.c (rib_add_ipv4): Cope with same connected route on a
845 interface. Suggested by: Matthew Grant <grantma@anathoth.gen.nz>.
846 (nexthop_ipv6_ifname_add): Add NEXTHOP_IPV6_IFNAME treatmenet.
847
848 * rib.h (struct new_rib): Add refcnt to keep track on the
849 reference of same connected route.
850
851 * ioctl.c (if_set_prefix): Add check for GNU_LINUX.
852
8532001-01-13 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
854
855 * kernel_socket.c (ifan_read, rtm_type_str): Add RTM_OIFINFO check.
856 (rtm_type_str): Add RTM_IFANNOUNCE check.
857 (ifan_read): New function.
858 (kernel_read): Add case for RTM_IFANNOUNCE.
859
8602001-01-13 Kunihiro Ishiguro <kunihiro@zebra.org>
861
862 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): New function.
863
864 * rt_netlink.c (netlink_route_multipath): IPv6 address ifindex
865 treatment.
866
867 * connected.c (connected_up_ipv6): Add dest value check.
868
869 * rib.c (nexthop_active_ipv6): Do not touch IPv6 nexthop's
870 ifindex.
871 (rib_add_ipv4): Import rib_add_ipv6() same route check code.
872 (nexthop_active_check): NEXTHOP_TYPE_IPV6_IFINDEX activity is only
873 checked by ifindex.
874
875 * rt_socket.c (kernel_rtm_ipv6_multipath): New function.
876
877 * redistribute.c (redistribute_add): Use
878 zsend_ipv6_add_multipath().
879 (redistribute_delete_multipath): Use
880 zsend_ipv6_delete_multipath().
881
882 * interface.c (ip_address): Check current IP address to avoid
883 duplicate.
884
885 * rib.c (rib_delete_ipv4): When deleted route is connected route,
886 check ifindex.
887 (rib_add_ipv4): When connected route is added do not perform
888 implicit withdraw.
889 (rib_delete_ipv4): Check ifindex for connected route.
890
891 * kernel_socket.c (rtm_read): When route has RTF_STATIC, set
892 ZEBRA_FLAG_STATIC for indicate as persistent route.
893 (ifam_read): Unset interface index from link-local address when
894 IPv6 stack is KAME.
895
896 * rib.c (rib_update): Do not delete persistent kernel route.
897
898 * rib.h (struct new_rib): Integrate RIB_FLAG_* to ZEBRA_FLAG_*.
899
900 * rt_socket.c (kernel_add_ipv6_multipath): Add placeholder.
901 (kernel_delete_ipv6_multipath): Likewise.
902
903 * rt_netlink.c (netlink_talk): Give struct nlsock to netlink_talk.
904
9052001-01-12 Kunihiro Ishiguro <kunihiro@zebra.org>
906
907 * rib.c (rib_update): Revert Matthew Grant's patch
908 zebra_cvs_newribfix.patch. Use struct rib->ifindex for kernel
909 interface index. Introduce NEXTHOP_TYPE_IPV4_IFINDEX to support
910 that. Add support for address deletion situation.
911
9122001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
913
914 * interface.c: Remove HAVE_IF_PSEUDO part.
915
916 * rib.h: Likewise.
917
918 * rt_netlink.c (netlink_link_change): Likewise.
919
9202001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
921
922 * zserv.c: Remove OLD_RIB codes.
923
9242001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
925
926 * zebra-0.90 is released.
927
9282001-01-09 Matthew Grant <grantma@anathoth.gen.nz>
929
930 * interface.c (if_new_intern_ifindex): Allocate a new internal
931 interface index.
932 (if_addr_refresh): Fix up ip addresses configured via zebra.
933 (if_add_update): Handle an interface addition.
934 (if_delete_update): Handle an interface delete event.
935
936 * rib.c (nexthop_ipv4_add): Add kernel route deletion process when
937 interface goes down.
938
9392001-01-08 Kunihiro Ishiguro <kunihiro@zebra.org>
940
941 * interface.c (if_dump_vty): When HAVE_NET_RT_IFLIST is defined,
942 NetBSD also use this function. Suggested by Jasper Wallace
943 <jasper@ivision.co.uk>.
944
9452001-01-07 Kunihiro Ishiguro <kunihiro@zebra.org>
946
947 * rib.c (nexthop_active_ipv4): Move back to set methodo to old
948 one.
949
9502001-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
951
952 * rib.c (rib_add_ipv4): EBGP multihop set ZEBRA_FLAG_INTERNAL
953 flag, so treat it.
954
9552001-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
956
957 * rt_netlink.c (netlink_talk_ipv6): When IPv6 route message is
958 sent from netlink_cmd, the same message comes from netlink. To
959 avoid confusion, temporary netlink_talk_ipv6 use netlink.sock
960 instead of netlink_cmd.sock.
961
9622001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
963
964 * zserv.h (ZEBRA_SERV_PATH): Change "/tmp/zebra" to "/tmp/.zebra".
965 Change "/tmp/zserv" to "/tmp/.zserv".
966
9672000-12-29 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
968
969 * rt_netlink.c (struct nlsock): Divide kernel message into listen
970 socket and command socket.
971 (netlink_talk): Remove socket listen code. Use netlink_parse_info
972 for read kernel response.
973
9742000-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
975
976 * rib.c (vty_show_ip_route): Show uptime of the RIP,OSPF,BGP
977 routes.
978
9792000-12-27 Kunihiro Ishiguro <kunihiro@zebra.org>
980
981 * rt_netlink.c (netlink_route_multipath): Metric value is
982 reflected to kernel routing table.
983
984 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Likewise.
985
986 * kernel_socket.c (rtm_write): Likewise.
987
988 * rib.c (nexthop_active_ipv4): Only iBGP route perform recursive
989 nexthop lookup.
990
991 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Add ioctl version of
992 new RIB implementation.
993
9942000-12-26 Kunihiro Ishiguro <kunihiro@zebra.org>
995
996 * rib.h: Remove MULTIPATH_NUM. It is defined by configure script.
997
9982000-12-25 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
999
1000 * rib.c (rib_if_up): Call rib_fib_set instead of RIB_FIB_SET for
1001 proper redistribution.
1002
10032000-12-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1004
1005 * rib.c (nexthop_active_ipv4): Add self lookup nexthop check.
1006 (show_ip_route_protocol): Support new RIB.
1007
1008 * rt_netlink.c (netlink_route_change): Do not return when gate is
1009 NULL.
1010
10112000-12-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1012
1013 * rib.c (rib_lookup_ipv4_nexthop): IBGP nexthop check function is
1014 updated.
1015 (rib_add_ipv4): Free implicit withdraw route's RIB.
1016
10172000-12-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1018
1019 * rib.c (nexthop_active_ipv4): Check indirect nexthop.
1020
1021 * redistribute.c (redistribute_add_multipath): Redistribution
1022 works with new rib code.
1023
10242000-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1025
1026 * rt_netlink.c (netlink_route_multipath): Check useful nexthop
1027 number.
1028 (netlink_route_multipath): Clear rtnh_flags and rtnh_hops.
1029
1030 * rib.c (nexthop_active_update): Set flag for the rib's nexthop
1031 activity is changed.
1032 (nexthop_active_check): Before checking interface is up, make it
1033 sure the interface exist.
1034
10352000-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1036
1037 * rib.c (ip_route): New RIB prototype.
1038
10392000-11-16 Yon Uriarte <ukl2@rz.uni-karlsruhe.de>
1040
1041 * zserv.c (zsend_interface_add): Send hardware address when
1042 hw_addr_len is greater than 0.
1043
10442000-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1045
1046 * connected.c (connected_up_ipv4): Fix ptop bug. The destination
1047 network should be installed into routing table.
1048 (connected_down_ipv4): Likewise.
1049 (connected_add_ipv4): Change to use connected_up_ipv4.
1050 (connected_delete_ipv4): Likewise.
1051
10522000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1053
1054 * rt_netlink.c (netlink_interface_addr): Revert Harald Welte
1055 <laforge@gnumonks.org>'s ptop patch then back to original code to
1056 avoid duplicated connected route problem. Suggested by Frank van
1057 Maarseveen <F.vanMaarseveen@inter.NL.net>.
1058
1059 * kernel_socket.c (rtm_read): Make behavior consistent even #ifdef
1060 DEBUG is defined. Reported by Jun-ichiro itojun Hagino
1061 <itojun@iijlab.net>.
1062
10632000-10-23 Jochen Friedrich <jochen@scram.de>
1064
1065 * main.c (main): Call zebra_snmp_init() when it is enabled.
1066
10672000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1068
1069 * zserv.c (zebra_serv_un): UNIX domain socket server of zebra
1070 protocol.
1071
10722000-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1073
1074 * rib.c (rib_add_ipv4): Same check bug is fixed.
1075
10762000-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1077
1078 * rib.c (rib_if_down): Remove kernel route when the interface goes
1079 down.
1080
1081 * debug.c: New command "debug zebra kernel" is added.
1082
10832000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1084
1085 * zebra-0.89 is released.
1086
10872000-09-24 Harald Welte <laforge@gnumonks.org>
1088
1089 * rt_netlink.c (netlink_interface_addr): Fix point-to-point address
1090 treatment in netlink interface.
1091
10922000-09-21 David Lipovkov <dlipovkov@OpticalAccess.com>
1093
1094 * rib.c (rib_if_down): Pull static route only. Protocol daemon
1095 must withdraw routes when interface goes down.
1096 (rib_add_ipv4): Check nexthop when replace route.
1097
10982000-09-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1099
1100 * if_ioctl.c (if_getaddrs): New function for looking up
1101 interface's address by getifaddrs().
1102
11032000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1104
1105 * connected.c (connected_delete_ipv4): Add check for connected
1106 address is found or not.
1107 (connected_add_ipv6): Reflect IPv6 connected address change to
1108 protocol daemons.
1109 (connected_delete_ipv6): Likewise.
1110
11112000-09-07 David Lipovkov <davidl@nbase.co.il>
1112
1113 * rib.c (rib_delete_ipv4): Reverted the change from pseudo
1114 interface patch to original. Because ospfd deletes routes using
1115 zero ifindex.
1116
11172000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1118
1119 * zebra-0.88 is released.
1120
11212000-08-15 "Akihiro Mizutani" <mizutani@dml.com>
1122
1123 * rib.c (show_ip_route_protocol): Help string correction.
1124 (show_ip_route_prefix): Check prefix mask.
1125 (show_ip_route_vty_detail): Display distance and metric.
1126
11272000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1128
1129 * zserv.c (zsend_interface_add): Change ifindex store size from
1130 two octet to four.
1131 (zsend_interface_delete): Likewise.
1132 (zsend_interface_address_add): Likewise.
1133 (zsend_interface_address_delete): Likewise.
1134 (zsend_interface_up): Likewise.
1135 (zsend_interface_down): Likewise.
1136
11372000-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1138
1139 * rib.c (rib_add_ipv4): Do not install distance 255 route.
1140
11412000-08-10 Toshiaki Takada <takada@zebra.org>
1142
1143 * interface.c (bandwidth_if), (no_bandwidth_if): Call
1144 zebra_interface_up_update () instead of using if_up() and if_down().
1145
11462000-08-07 "Akihiro Mizutani" <mizutani@dml.com>
1147
1148 * interface.c (bandwidth_if): Fix help string.
1149
11502000-08-07 Matthew Grant <grantma@anathoth.gen.nz>
1151
1152 * interface.c (if_dump_vty): Display bandwidth value.
1153 (bandwidth_if): New command "bandwidth <1-10000000>" is added.
1154 When interface is up, force protocol daemons to recalculate routes
1155 due to cost change.
1156 (no_bandwidth_if): Likewise.
1157 (if_config_write): Output bandwidth configuration.
1158
1159 * zserv.c (zsend_interface_add): Send bandwidth value.
1160 (zsend_interface_up): Likewise.
1161 (zsend_interface_down): Likewise.
1162
1163
11642000-08-07 Michael Rozhavsky <mike@nbase.co.il>
1165
1166 * rib.c (show_ip_route_protocol): "show ip route
1167 (bgp|connected|kernel|ospf|rip|static)" is added.
1168
11692000-08-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1170
1171 * rib.c (rib_lookup_ipv4_nexthop): Check parent node until IGP
1172 nexthop is found.
1173 (rib_add_ipv4_internal): Set fib ifindex to rib ifindex.
1174
11752000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1176
1177 * redistribute.c (redistribute_delete): Fix bug of default route
1178 redistribute treatment.
1179
11802000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1181
1182 * rib.c (rib_init): Install ip_node in rib.c instead of zserv.c.
1183 Change default distance value.
1184
1185 Old New
1186 ------------------------------------------
1187 system 10 0
1188 kernel 20 0
1189 connected 30 0
1190 static 40 1
1191 rip 50 120
1192 ripng 50 120
1193 ospf 60 110
1194 ospf6 49 110
1195 bgp 70 200(iBGP) 20(eBGP)
1196 ------------------------------------------
1197
1198 * zserv.c (client_lookup): Function removed.
1199 (zsend_interface_add): Use client's output buffer. Check ifinfo
1200 flag.
1201 (zsend_interface_delete): Likewise.
1202 Delete ipv4_static_radix and ipv6_static_radix.
1203
12042000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1205
1206 * zserv.h (struct zebra_client): When client request interface
1207 information, ifinfo is set.
1208
1209 * rib.c: Temporary Revert changes for pseudo interface.
1210
1211 * rib.h: Likewise.
1212
1213 * zserv.c: Likewise.
1214
1215 * interface.c: Likewise.
1216
12172000-08-02 David Lipovkov <davidl@nbase.co.il>
1218
1219 * interface.c (zebra_if_init): Install interface "pseudo"
1220 commands.
1221
1222 * rib.c (rib_create): ifname argument is added.
1223 (rib_add_ipv4_pseudo): New function is added.
1224 (rib_delete_ipv4_pseudo): Likewise.
1225
1226 * rib.h : Delete INTERFACE_UNKNOWN definition. Add prototype for
1227 pseudo interface functions.
1228
1229 * rt_netlink.c (netlink_link_change): Check for pseudo interface.
1230
1231 * zserv.c (ip_route): When destination is pseudo interface, call
1232 rib_add_ipv4_pseudo().
1233
1234 * zserv.c (no_ip_route): Trim "unknown" argument.
1235
12362000-07-26 kunitake@dti.ad.jp
1237
1238 * if_ioctl.c (if_get_hwaddr): Fix hardware address length from 8
1239 to 6.
1240
1241 * rtadv.c (rtadv_send_packet): Fix shift bug for hardware address.
1242
12432000-07-24 Akihiro Mizutani <mizutani@dml.com>
1244
1245 * interface.c: Use install_default() for common VTY commands.
1246
12472000-07-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1248
1249 * if_ioctl.c (interface_list_ioctl): A interface list size is
1250 calculated from ifreq->if_addr.sa_len. This is for OpenBSD.
1251
1252 * ioctl.c (if_get_mtu): Remove codes for SIOCGIFDATA.
1253
12542000-07-09 Chris Dunlop <chris@onthe.net.au>
1255
1256 * if_ioctl.c (if_get_index): Add check for HAVE_BROKEN_ALIASES.
1257
12582000-07-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1259
1260 * zserv.c (zebra_client_read): Add ZEBRA_REDISTRIBUTE_{ADD,DELETE}
1261 message handling.
1262
12632000-07-02 David Lipovkov <davidl@nbase.co.il>
1264
1265 * zserv.c: "ip route A.B.C.D/M unknown" command is added.
1266
12672000-06-28 Michael Rozhavsky <mike@nbase.co.il>
1268
1269 * rib.c: Remove old kernel route when new route comes in.
1270
12712000-06-13 David Lipovkov <davidl@nbase.co.il>
1272
1273 * rib.c (rib_if_up): Add check for unknown interface.
1274
12752000-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1276
1277 * rib.h: Define INTERFACE_UNKNOWN.
1278
12792000-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1280
1281 * Makefile.am (EXTRA_DIST): Move irdp.c until implementation is
1282 finished.
1283
12842000-06-05 David Lipovkov <davidl@nbase.co.il>
1285
1286 * interface.c (if_zebra_delete_hook): Call rib_if_delete().
1287
1288 * redistribute.c (zebra_interface_delete_update): New function.
1289
1290 * redistribute.h (zebra_interface_delete_update): New function
1291 prototype.
1292
1293 * rib.c (rib_if_delete): New function. Walk down all routes and
1294 delete all on the interface.
1295
1296 * rib.h: New function prototype.
1297
1298 * rt_netlink.c (netlink_link_change): Call
1299 zebra_interface_delete_update ().
1300
13012000-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1302
1303 * if_ioctl.c (interface_info_ioctl): Check interface's flag before
1304 checking interface's address.
1305
13062000-04-26 Jochen Friedrich <jochen@nwe.de>
1307
1308 * GNOME-PRODUCT-ZEBRA-MIB: New file.
1309
1310 * GNOME-SMI: New file.
1311
13122000-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1313
1314 * irdp.c: New file from 1997 development code.
1315 * irdp.h: Likewise.
1316
13172000-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1318
1319 * rtadv.c (rtadv_send_packet): Enclose router advertisement
1320 logging with IS_ZEBRA_DEBUG_PACKET.
1321
13222000-04-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1323
1324 * zserv.c (zebra_client_close): Remove client structure from
1325 client_list when connection is terminated.
1326
13272000-03-21 David Lipovkov <davidl@nbase.co.il>
1328
1329 * connected.c (connected_add_ipv4): Allows all necessary structure
1330 updates for connected route, but doesn't insert it into rib if
1331 it's interface is down.
1332
13332000-01-21 Hideto Yamakawa <hideto.yamakawa@soliton.co.jp>
1334
1335 * rtread_getmsg.c: Set some definition for Solaris 2.5 and Solaris
1336 2.5.1.
1337
13382000-01-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1339
1340 * rib.c (no_ipv6_route_ifname): Fix buf of cheking return value
1341 from str2prefix_ipv6().
1342
13432000-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1344
1345 * rt_socket.c: Revert to use RTF_HOST for IPv4 with /32 route and
1346 IPv6 with /128 routes.
1347 (kernel_rtm_ipv4): In case of /32 route's gateway is interface. It
1348 should have mask for cloning.
1349
13501999-12-26 Jochen.Friedrich@genorz.de
1351
1352 * interface.c (if_dump_vty): Fix a bug of missing VTY_NEWLINE.
1353
13541999-12-23 Alex Zinin <zinin@amt.ru>
1355 * interface.*: dynamic int up/down support
1356
13571999-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1358
1359 * ipforward_proc.c (dropline): Move dropline() from lib/dropline.c
1360
1361 * rtread_proc.c (proc_route_read): Don't use dropline().
1362
13631999-12-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1364
1365 * kernel_socket.c (rtm_read): When message is RTM_GET, it has own
1366 process's pid.
1367
13681999-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1369
1370 * main.c (main): Change to default log output to ZLOG_STDOUT.
1371
1372 * zserv.c (zebra_serv): More detailed error print.
1373
13741999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1375
1376 * kernel_socket.c (rtm_read): Check old pid for static route
1377 insertion check.
1378
13791999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1380
1381 * interface.c (if_dump_vty): BSDI/OS uses 64bit for interface
1382 statistics counter.
1383
1384 * mtu_kvm.c: New file added.
1385
13861999-11-27 Vladimir B. Grebenschikov <vova@express.ru>
1387
1388 * kernel_socket.c (rtm_write): Set RTF_CLONING flag for
1389 route to the directly connected interface.
1390
13911999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1392
1393 * rt_socket.c: Delete USE_HOST_BIT definition.
1394
13951999-11-21 Michael Handler <handler@sub-rosa.com>
1396
1397 * rtread_getmsg.c: Undef some definition to resolve conflict.
1398
13991999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1400
1401 * kernel_socket.c (rtm_write): Change to use pre stored struct_dl
1402 value for gateway specification.
1403
14041999-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1405
1406 * rt_socket.c (kernel_rtm_ipv4): Even mask is 32 under IPv4 or
1407 128 under IPv6, don't use RTF_HOST.
1408
14091999-11-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1410
1411 * Makefile.am (EXTRA_DIST): Add rtread_getmsg.c.
1412
14131999-11-21 Michael Handler <handler@sub-rosa.com>
1414
1415 * rtread_getmsg.c: Added for Solaris 2.6 support.
1416
14171999-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1418
1419 * rtread_sysctl.c (rtm_read_route): RTM_DELETE handling added.
1420
1421 * rt_socket.c (kernel_read): Better BSD routing socket support.
1422
14231999-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1424
1425 * client_main.c: Disable making obsolete zebra test `client'
1426 command.
1427
14281999-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1429
1430 * zebra.c: Renamed to zserv.c.
1431
1432 * zebra.h: Global definitions are moved to lib/zebra.h. Then
1433 renamed to zserv.h.
1434
14351999-10-15 Jordan Mendelson <jordy@wserv.com>
1436
1437 * if_ioctl.c: Add Linux 2.2.X's alias support and dynamic
1438 interface. Remove ugly MAX_INTERFACE handling codes.
1439
14401999-09-17 Satosi KOBAYASI <kobayasi@north.ad.jp>
1441
1442 * Fix serious bug of IPv6 route deletion.
1443
14441999-09-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1445
1446 * ioctl.c (if_set_prefix): Properly set broadcast address.
1447
14481999-09-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1449
1450 * rib.c (rib_add_ipv6, rib_delete_ipv6): now protocol daemons
1451 can install connected route to kernel via zebra
1452
14531999-08-24 VOP <vop@unity.net>
1454
1455 * rib.c: Include "sockunion.h"
1456
14571999-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
1458
1459 * ipforward.h: New file.
1460
1461 * zebra.h: Obsolete message ZEBRA_GET_ALL_INTERFACE,
1462 ZEBRA_GET_ONE_INTERFACE, ZEBRA_GET_HOSTINFO are deleted.
1463
14641999-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1465
1466 * zebra.h (ZEBRA_INTERFACE_ADDRESS_ADD):
1467 ZEBRA_INTERFACE_{ADD,DELETE} added.
1468
14691999-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1470
1471 * rib.c: show ip route A.B.C.D works.
1472
1473 * zebra.c (zebra_read_ipv4): Add ifindex to zebra messages.
1474
14751999-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1476
1477 * zebra.h: New Zebra message ZEBRA_INTERFACE_{ADD,DELETE} added.
1478
14791999-08-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1480
1481 * interface.h: New file.
1482 * Makefile.am: Add interface.h
1483
14841999-08-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1485
1486 * redistribute.c (zebra_redistribute): give ifindex to client.
1487
14881999-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1489
1490 * main.c (longopts): -k, --keep_kernel option added.
1491
14921999-07-18 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1493
1494 * rt_socket.c (rtm_write): forgot closing socket bug fixed.
1495
14961999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1497
1498 * rib.c (show_ipv6_cmd): if rib is link show interface name.
1499
15001999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1501
1502 * rt_socket.c (rtm_write): use sockaddr_dl when null gateway.
1503
15041999-07-16 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1505
1506 * rt_socket.c (rtm_write): ipv6 route table bug fixed.
1507
15081999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1509
1510 * zebra.c (zebra_read_ipv6): read link prefix from ospf6 support
1511
15121999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1513
1514 * rt_socket.c (kernel_rtm_ipv6): gate treatment bug fixed.
1515
15161999-07-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1517
1518 * if_sysctl.c (ifm_read): Clear sockunion argument before fetching
1519 data. Suggested by "Chris P. Ross" <cross@eng.us.uu.net>
1520
15211999-07-08 HEO SeonMeyong <seirios@Matrix.IRI.Co.Jp>
1522
1523 * interface.c (if_tun_add): Add KAME's gif tunnel setting codes.
1524
15251999-06-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1526
1527 * zebra.c (zebra_serv): Only accept loopback address connection.
1528
15291999-06-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1530
1531 * zebra.h (ZEBRA_ROUTE_EXTERNAL): Add zebra messages flags
1532
15331999-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1534
1535 * ipforward_proc.c: ipforward_on () and ipforward_off () added.
1536
15371999-06-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1538
1539 * ipforward_proc.c (ipforward_ipv6): Check for IPv6 forwarding
1540 using /proc file system is added.
1541
15421999-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1543
1544 * if_ioctl.c (if_get_index): Interface index set bug is fixed by
1545 adding #else at the middle of function. Suggested by David Luyer
1546 <luyer@ucs.uwa.edu.au>.
1547
15481999-05-29 <kunihiro@zebra.org>
1549
1550 * rt_ioctl.c: Comment out #include <linux/ipv6_route.h>.
1551
15521999-05-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1553
1554 * zebra.h (ZEBRA_ROUTE_MAX): Add new define for the max value of
1555 the sort of routes.
1556
15571999-05-25 Patrick Koppen <koppen@rhrk.uni-kl.de>
1558
1559 * rt_netlink.c (netlink_socket): Make netlink socket non-blocking.
1560 (netlink_parse_info): If errno is EWOULDBLOCK then continue to
1561 parse the message.
1562 (netlink_talk): Likewise
1563
15641999-05-17 <kunihiro@zebra.org>
1565
1566 * redistribute.c (zebra_check_addr): Added for loopback address
1567 check.
1568
15691999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1570
1571 * rt_netlink.c (netlink_route_change): Tempolary bypass ipv6 route
1572 change treatment.
1573
1574 * Makefile.am (noinst_HEADERS): redistribute.h added.
1575
1576 * redistribute.h: New file.
1577
15781999-05-14 Stephen R. van den Berg <srb@cuci.nl>
1579
1580 * zebra.c (show_table): Show all table configuration DEFUN.
1581 (config_table): Config table number DEFUN.
1582
1583 * rt_netlink.c: Add support for multiple routing table.
1584
1585 * rib.c (rib_weed_table): New function added for delete all
1586 routes from specified routing table.
1587
1588 * main.c (signal_init): SIGTERM call sigint.
1589 (sigint): Loggging more better message.
1590
15911999-05-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1592
1593 * rt_netlink.c: Change log () to zlog ().
1594
15951999-05-07 <kunihiro@zebra.org>
1596
1597 * zebra.h (ZEBRA_ROUTE_OSPF6): Added for ospf6d route.
1598
15991999-04-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1600
1601 * interface.c: Add `no ip address' command.
1602
16031999-04-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1604
1605 * rt_netlink.c (kernel_read): Function added for asynchronous
1606 zebra between kernel communication.
1607
16081999-03-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1609
1610 * rtread_sysctl.c (rtm_read): Fix address memcopy overrun bug.
1611 Reported by Achim Patzner <ap@bnc.net>.
1612
16131999-03-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1614
1615 * Makefile.am: Install configuration sample with 600 permission.
1616
16171999-03-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1618
1619 * Makefile.am: Add -I.. to INCLUDES.
1620
16211999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
1622
1623 * syslog support added
1624
16251999-02-17 Peter Galbavy <Peter.Galbavy@knowledge.com>
1626
1627 * if_sysctl.c (interface_list): allocated memory free when unknown
1628 ifm_type is returned.
1629
1630 * ioctl.c (if_get_mtu): added SIOCGIFDATA treatment.
1631
16321998-12-15 Magnus Ahltorp <map@stacken.kth.se>
1633
1634 * interface.c: Header include added.
1635
16361998-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1637
1638 * rt.h (kernel_delete_ipv6): change int index to unsigned int index.
1639
16401998-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1641
1642 * if_ioctl.c (interface_list_ioctl): interface flag must be
1643 checked before check addresses of the interface.
1644
16451998-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1646
1647 * Makefile.am (INCLUDES): add @INCLUDES@ for Linux IPv6.
1648
16491998-10-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1650
1651 * ioctl.c: Linux version before 2.1.0 need interface route setup.
1652
16531998-09-15 HEO SeonMeyong <seirios@matrix.iri.co.jp>
1654
1655 * change HYDRANGEA to KAME
1656
16571998-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1658
1659 * if_ioctl.c (if_addr_ioctl): set address family for getting
1660 interface's address.
1661 (if_get_index): silently return when can't get interface's index.
1662
16631998-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1664
1665 * main.c (main): batch mode option '-b' added.
1666
16671998-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1668
1669 * ioctl.c (if_set_prefix): add `ip address IPV4ADDR' command.
1670 * interface.c (shutdown_if): add interface shutdown and no
1671 shutdown command.
1672
16731998-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1674
1675 * rib.c (rib_add_ipv6): delete rib_add_in6.
1676
16771998-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1678
1679 * main.c: retain flag is added.
1680
16811998-07-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1682
1683 * rtable.[ch]: merged with rib.[ch]
1684
16851998-07-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1686
1687 * connected.h: renamed from ifa.h.
1688
16891998-06-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1690
1691 * rename if.c to interface.c
1692 * rename ifa.c to connected.c
1693
1694 * Porting to Debian GNU/Linux 2.0 (hamm).
1695
16961998-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1697
1698 * rt_netlink.c: renamed from krt_netlink.c
1699
1700 * fib.c: deleted.
1701 * rt_kvm.c: deleted.
1702 * rtread_getmsg.c: deleted.
1703
17041998-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1705
1706 * if.c (multicast): add multicast flag [un]set fucntion.
1707
17081998-05-19 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1709
1710 * rt_socket.c: Modify for compile on Solaris, but dont't work it.
1711 rt_socket.c have some undefined function, so add directive "IMPLEMENT"
1712
17131998-05-18 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1714
1715 * zebra.c: Modify for compile on Solaris.
1716
17171998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1718
1719 * main.c: change CONFDIR to SYSCONFDIR.
1720
17211998-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1722
1723 * .cvsignore: added.
1724
17251998-04-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1726
1727 * client.c: moves to ../lib.
1728
17291998-03-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1730
1731 * if_ioctl.c (if_get_addr): Change address copy from memcopy() to
1732 structure assignment.
1733
17341998-03-30 URA Hiroshi <ura@yamato.ibm.co.jp>
1735
1736 * if_sysctl.c (ifm_interface_add): sdl->sdl_data copy bug fixed.
1737
17381998-02-23 "Hannes R. Boehm" <hannes@boehm.org>
1739
1740 * if.c (if_init): add config_exit_cmd and config_help_cmd.
1741
17421998-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
1743
1744 * rt_ioctl.c (route_ioctl): EPERM treatment added.
1745
17461998-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1747
1748 * rt_socket.c (kernel_read): communication port zebra between
1749 kernel is now handled by kernel_read.
1750
17511998-01-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1752
1753 * main.c (main): zebra [-P port] can specify vty port number.
1754
17551997-12-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1756
1757 * zebra.c: change select will be block.
1758
17591997-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1760
1761 * add static route treatment.
1762
17631997-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1764
1765 * rt_netlink.c: add netlink support over GNU/Linux system.
1766
17671997-11-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1768
1769 * all inet_addr is changed to inet_aton.
1770
1771 * zebra.c (ip_route): add ip route command for static routes.
1772
17731997-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1774
1775 * if.c (if_flag_dump): Linux port of if_flag_dump and _vty.
1776
17771997-11-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1778
1779 * if.c: add interface command.
1780
17811997-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1782
1783 * ipforward_proc.c : Now works on Linux.
1784
17851997-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1786
1787 * command.c : add completion feature.
1788
17891997-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1790
1791 * vty.c (vty_command): add vty interface.
1792
17931997-10-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1794
1795 * zebra.c: add verbose mode.
1796
17971997-10-12 SonMyong Ho <s-ho@Matrix.IRI.Co.Jp>
1798
1799 * Hydrangea for FreeBSD supported
1800 * in.h: add some prototype.
1801
18021997-10-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1803
1804 * rt_socket.c and rtread.c completely rewritten.
1805
18061997-10-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1807
1808 * rt_socket.c: rename kernel_sock to routing_socket
1809
18101997-10-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1811
1812 * if.c (if_new): interface structure change from linklist to vector.
1813
18141997-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1815
1816 * vector.c (vector_init): create vector related function
1817
18181997-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1819
1820 * Makefile.in: add tags target
1821
1822 * start IPv6 support for INRIA FreeBSD.
1823