blob: 3e9629f53c6b99bee74eea198e26e7d9af2ef418 [file] [log] [blame]
paul6eb88272005-07-29 14:36:00 +000012005-07-29 Paul Jakma <paul.jakma@sun.com>
2
3 * interface.c: (if_delete_update) should always be available, not
4 just on RTM_IFANNOUNCE/NETLINK systems.
5 * kernel_socket.c: (ifan_read) only call if_delete_update when
6 interface departs, dont if_delete, because we wish to retain
7 interface configuration state even when interfaces are removed.
8 (ifm_read) If we dont have RTM_IFANNOUNCE, then transitioning
9 to down state is only chance we have to clean up interface in case
10 it is deleted (eg Solaris down -> unplumb -> plumb up).
11 * redistribute.c: (zebra_interface_delete_update) should always be
12 available, we /will/ call it now on all systems, via
13 if_delete_update.
14 * zserv.c: (zsend_interface_delete) ditto
15 (zsend_interface_address) Update the call-flow diagramme, to
16 reflect that if_delete_update /is/ now called on all systems,
17 potentially.
18 * zserv.h: (zsend_interface_delete) unconditionally exported, as
19 above.
20
paula1ac18c2005-06-28 17:17:12 +0000212005-06-28 Paul Jakma <paul.jakma@sun.com>
22
23 * (global) Extern and static'ification, with related fixups
24 of declarations, ensuring files include their own headers, etc.
paulea6f82b2005-06-28 17:20:26 +000025 * if_ioctl.c: (interface_info_ioctl) fix obvious arg mis-order in
paula1ac18c2005-06-28 17:17:12 +000026 list loop
paulea6f82b2005-06-28 17:20:26 +000027 * kernel_socket.c: (RTA_{ADDR,ATTR}_GET) fix mistake, NULL check
28 should be on DEST argument
paula1ac18c2005-06-28 17:17:12 +000029
paul62debbb2005-06-14 14:07:07 +0000302005-06-14 Paul Jakma <paul.jakma@sun.com>
31
32 * kernel_socket.c: consolidate the IFAM{ADDR,MASK}GET and
33 RTM{ADDR,MASK}GET macros into generic rta_addrs macros,
34 RTA_{ADDR,ATTR}_GET.
35 (af_check) could use 'inline' attribute
36 (ifam_read_mesg) remove IFAM{ADDR,MASK}GET macro, change to
37 generic macro.
38 (rtm_read_mesg) similar
39
hasso1ada8192005-06-12 11:28:18 +0000402005-06-12 Hasso Tepper <hasso at quagga.net>
41
42 * rt_netlink.c: Remove netlink-addr socket declaration, it's not used.
43 * rt_netlink.c (netlink_parse_info): Fix debug messages - nlmsg_pid is
44 unsigned and one zlog call had swapped arguments.
45 * rt_netlink.c (netlink_route_multipath): Fix compile with disabled
46 IPv6 support.
47
paul1dcb5172005-05-31 08:38:50 +0000482005-05-31 Paul Jakma <paul.jakma@sun.com>
49
50 * zserv.c: (zsend_route_multipath) Fix bug if route is sent
51 with no NEXTHOP_FLAG_FIB nexthops. As ZAPI_MESSAGE_IFINDEX
52 and ZAPI_MESSAGE_NEXTHOP are always set, clients would try
53 read non-existent nexthop information and hit stream assert.
54 Zserv is still broken for multi-nexthop messages, but it always was.
55
paul69e10ad2005-05-06 21:27:33 +0000562005-05-06 Paul Jakma <paul.jakma@sun.com>
57
58 * zserv.h: Remove ZEBRA_PORT definition, its in lib/zebra.h now
59
paul4d38fdb2005-04-28 17:35:14 +0000602005-04-28 Paul Jakma <paul.jakma@sun.com>
61
62 * rib.h: (struct rib) Add lock field for refcounting.
63 * zserv.h: (struct zebra_t) Add a ribq workqueue to the zebra
64 'master' struct.
65 * zserv.c: (zread_ipv4_add) XMALLOC then memset should be XCALLOC.
66 * zebra_rib.c: Clean up refcounting of route_node, make struct rib
67 refcounted and convert rib_process to work-queue. In general,
68 rib's should be rib_addnode'd and delnode'd to route_nodes, and
69 these symmetrical functions will manage the locking of referenced
70 route_node and freeing of struct rib - rather than having users
71 manage each seperately - with much scope for bugs..
72 (newrib_free) removed and replaced with rib_lock
73 (rib_lock) new function, check state of lock and increment.
74 (rib_unlock) new function, check lock state and decrement. Free
75 struct rib if refcount hits 0, freeing struct nexthop's, as
76 newrib_free did.
77 (rib_addnode) Add RIB to route_node, locking both.
78 (rib_delnode) Delete RIB from route_node, unlocking each.
79 (rib_process) Converted to a work-queue work function.
80 Functional changes are minimal, just arguments, comments and
81 whitespace.
82 (rib_queue_add_qnode) Helper function to setup a ribq item.
83 (rib_queue_add) Helper function, same arguments as old
84 rib_process, to replace in callers of rib_process.
85 (rib_queue_qnode_del) ribq deconstructor.
86 (rib_queue_init) Create the ribq.
87 (rib_init) call rib_queue_init.
88 (remainder) Sanitise refcounting of route_node's. Convert to
89 rib_queue_add, rib_addnode and rib_delnode. Change XMALLOC/memset
90 to XCALLOC. Remove calls to nexthop_delete and nexthop_free.
91
paulcf460ef2005-04-10 16:54:26 +0000922005-04-10 Paul Jakma <paul@dishone.st>
93
94 * if_ioctl_solaris.c: (if_lookup_linklocal) fix order of args
95 in ALL_LIST_ELEMENTS_RO macro.
96
ajs57a14772005-04-10 15:01:56 +0000972005-04-10 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
98
99 * zserv.c (zebra_client_read): Fix bug: first read attempt should
100 read ZEBRA_HEADER_SIZE minus the number of bytes already read.
101 Improve efficiency by maintaining a calculation of the number
102 of bytes read instead of calling stream_get_endp multiple times.
103 If message length is too small, issue a warning message (not debug)
104 before closing the connection. And also check that message length
105 is not too big.
106
hasso206d8052005-04-09 16:38:51 +00001072005-04-09 Hasso Tepper <hasso at quagga.net>
108
hassofa599802005-04-09 16:59:28 +0000109 * rt_netlink.c: One tiny missing comma caused pointless debug messages
110 about IPv6 nexthops.
111
1122005-04-09 Hasso Tepper <hasso at quagga.net>
113
hasso206d8052005-04-09 16:38:51 +0000114 * rt_netlink.c (netlink_parse_info): Fix warning. It's safe to cast
115 status to unsigned here, because we already checked that it isn't
116 negative or 0.
117 * rt_netlink.c (netlink_interface_addr): Prefix length belongs to the
118 address, not to the interface.
119 * rt_netlink.c (netlink_route_multipath): Fix debug. No useless info
120 is printed out now and IPv6 info is handeled.
121
paul3d1dc852005-04-05 00:45:23 +00001222005-04-05 Paul Jakma <paul@dishone.st>
123
124 * zserv.c: print more helpful errors when we fail to successfully
125 bind and listen on zserv socket. Closes bugzilla #163.
126
ajsd2fc8892005-04-02 18:38:43 +00001272005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
128
ajs08dbfb62005-04-03 03:40:52 +0000129 * if_ioctl.c: (interface_list_ioctl) Use if_get_by_name_len.
130 * if_proc.c: (ifaddr_proc_ipv6) Increase size of ifname buffer to
131 avoid overflow.
132 * kernel_socket.c: (ifan_read) Use if_get_by_name_len.
133
1342005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
135
ajsa3491982005-04-02 22:50:38 +0000136 * kernel_socket.c: (ifm_read) Use new if_lookup_by_name_len function
137 to save a memcpy.
138 * if_ioctl_solaris.c: (interface_list_ioctl) Fix subtle bug with new
139 if_get_by_name_len function.
140
1412005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
142
ajsd2fc8892005-04-02 18:38:43 +0000143 * interface.c: (if_new_intern_ifindex) Remove obsolete function.
144 (if_delete_update) After distributing the interface deletion message,
145 set ifp->ifindex to IFINDEX_INTERNAL.
146 (if_dump_vty) Detect pseudo interface by checking if ifp->ifindex is
147 IFINDEX_INTERNAL.
148 (zebra_interface) Check return code from interface_cmd.func.
149 Do not set internal ifindex values to if_new_intern_ifindex(),
150 since we now use IFINDEX_INTERNAL for all pseudo interfaces.
151 * kernel_socket.c: (ifm_read) Fix code and comments to reflect that
152 all internal interfaces now have ifp->ifindex set to IFINDEX_INTERNAL.
153 * rt_netlink.c: (set_ifindex) New function used to update ifp->ifindex.
154 Detects interface rename events by checking if that ifindex is already
155 being used. If it is, delete the old interface before assigning
156 the ifindex to the new interface.
157 (netlink_interface, netlink_link_change) Call set_ifindex to update
158 the ifindex.
159
hassob7ed1ec2005-03-31 20:13:49 +00001602005-03-31 Hasso Tepper <hasso at quagga.net>
161
162 * rt_netlink.c (netlink_talk_filter): Show always warning message,
163 it's not for debug.
164 * rt_netlink.c (netlink_talk): Don't assume we use netlink_cmd
165 although we do now actually.
166 * rt_netlink.c (netlink_route, netlink_route_multipath): Always use
167 netlink_cmd to send messages to the kernel.
168
ajs2da40f42005-03-30 16:33:13 +00001692005-03-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
170
171 * irdp.h: Add prototype for irdp_sock_init, and fix protos for
172 other irdp_* functions.
173 * irdp_interface.c: (irdp_if_start) If irdp_sock is negative,
174 call irdp_sock_init to create the IRDP socket.
175 (irdp_if_init) Rename to irdp_init().
176 (get_iflist_ifp) Remove function that is a duplicate of
177 if_lookup_by_index.
178 (*) Make many functions static. And remove superfluous "\n" from
179 several zlog messages.
180 * irdp_main.c: (irdp_init) Remove function that used to call
181 irdp_if_init() and irdp_sock_init(), since we will now create
182 the socket only upon first use.
183 (irdp_sock_init) Do not update global irdp_sock variable, just
184 return the fd and assume that the caller will do so. If setsockopt
185 calls fail, close the socket before returning -1.
186 (*) Make many functions static.
187 * irdp_packet.c: Initialize irdp_sock to -1.
188 (irdp_read_raw) Call standard library function if_lookup_by_index
189 instead of get_iflist_ifp.
190 (irdp_recvmsg) Should be static, not global.
191
ajsa608bbf2005-03-29 17:03:49 +00001922005-03-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
193
194 * rt_netlink.c: (netlink_link_change) If the status of an
195 operative interface changes (e.g. MTU changes), the client
196 daemons should be notified by calling zebra_interface_up_update.
197 Previously, the information was being updated in zebra's
198 interface structure, but the clients were not notified of
199 changes to an operative interface.
200
vincent7cee1bb2005-03-25 13:08:53 +00002012005-03-25 Jean-Mickael Guerin <jean-mickael.guerin@6wind.com>
202 * interface.c, interface.h, rtadv.c, rtadv.h: modifications to
203 IPv6 Neighbor Discovery according to RFC3775, section 7:
204 o 1-bit Home Agent flag management in Router Advertisement (7.1).
205 o 1-bit Router Address flag management in Prefix Information
206 Option (7.2).
207 o Advertisement Interval Option (7.3)
208 o Home Agent Information Option (7.4)
209 o Changes to Sending Router Advertisements more frequently (7.5)
210
hassoed9bb6d2005-03-13 19:17:21 +00002112005-03-13 Hasso Tepper <hasso at quagga.net>
212
213 * zebra/interaface.c: "show interface description" command
214 implemented.
215
paulc1f01f32005-03-12 06:33:14 +00002162005-03-12 Paul Jakma <paul@dishone.st>
217
218 * rt_netlink.c: (netlink_route_multipath) dont set equalise flag.
219 No stock Linux kernel has ever supported it, and even if it had
220 it's not generally a good idea.
221
hasso42a66d72005-03-07 08:19:44 +00002222005-03-07 Michael Sandee <voidptr@voidptr.sboost.org>
223
224 * if_proc.c, ipforward_proc.c, rtread_proc.c: Fix fd leaks.
225
hasso3452d472005-03-06 13:42:05 +00002262005-03-06 Hasso Tepper <hasso at quagga.net>
227
228 * interface.c: Fix CRC and frame errors statistics in Linux.
229
ajs719e9742005-02-28 20:52:15 +00002302005-02-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
231
232 * zserv.c: Must include network.h and buffer.h for non-blocking I/O.
233 Remove global message_queue and t_write (need separate buffering for
234 each client).
235 (zebra_server_dequeue,zebra_server_enqueue) Remove functions
236 related to old buggy buffering code.
237 (zserv_delayed_close) New thread callback function to delete a client.
238 (zserv_flush_data) New thread callback function to flush buffered
239 data to client.
240 (zebra_server_send_message) Rewritten to use buffer_write (so
241 buffering of writes and non-blocking I/O work properly).
242 (zsend_interface_add,zsend_interface_delete,zsend_interface_address,
243 zsend_interface_update) Return 0 instead of -1 if !client->ifinfo
244 (this is not really an error). Return value from
245 zebra_server_send_message.
246 (zsend_route_multipath,zsend_ipv4_nexthop_lookup,
247 zsend_ipv4_import_lookup) Return value from zebra_server_send_message.
248 (zsend_ipv6_nexthop_lookup) Fix scope to static, and return value
249 from zebra_server_send_message.
250 (zsend_router_id_update) Must use zebra_server_send_message instead
251 of deprecated writen function. Return 0 instead of -1 if this client
252 is not subscribed to router-id updates (since this is not really
253 an error).
254 (zread_interface_add) Change type to static int. If
255 zsend_interface_add fails or zsend_interface_address fails, return -1
256 immediately (since the client has had an I/O error).
257 (zread_interface_delete,zread_ipv4_add,zread_ipv4_delete,
258 zread_ipv6_add,zread_ipv6_delete,zread_router_id_delete) Return 0
259 to indicate success.
260 (zread_ipv4_nexthop_lookup) Return value from
261 zsend_ipv4_nexthop_lookup.
262 (zread_ipv4_import_lookup) Return value from zsend_ipv4_import_lookup.
263 (zebra_read_ipv6) Remove unused function.
264 (zread_ipv6_nexthop_lookup) Return value from
265 zsend_ipv6_nexthop_lookup.
266 (zread_router_id_add) Return value from zsend_router_id_update.
267 (zebra_client_close) Call buffer_free(client->wb) and
268 thread_cancel(client->t_suicide).
269 (zebra_client_create) Allocate client->wb using buffer_new.
270 (zebra_client_read) Support non-blocking I/O by using stream_read_try.
271 Use ZEBRA_HEADER_SIZE instead of 3.
272 (zebra_accept) Fix bug: reset accept thread at top. Make client
273 socket non-blocking using the set_nonblocking function.
274 (config_write_forwarding) Fix scope to static.
275 (zebra_init) Remove initialization code for old buggy write buffering.
276 * zserv.h: Add 2 new fields to struct zserv: struct buffer *wb
277 (to enable buffered writes with non-blocking I/), and
278 struct thread *t_suicide to support delayed close on I/O
279 errors.
280 * router-id.h: Remove prototypes for zread_router_id_add and
281 zread_router_id_delete (their scope should be static to zserv.c).
282
ajs27da3982005-02-24 16:06:33 +00002832005-02-24 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
284
285 * redistribute.c: (zebra_check_addr,is_default,
286 zebra_redistribute_default,zebra_redistribute) Fix scope to be static.
287
hassoe8274dc2005-02-20 19:09:23 +00002882005-02-20 Hasso Tepper <hasso at quagga.net>
289
290 * rt_netlink.c: Don't show messages "ignoring message type 0x001[89]"
291 if we are not debugging.
292
paule31f2292005-02-19 02:00:26 +00002932005-02-19 Paul Jakma <paul@dishone.st>
294
295 * zserv.c: (zebra_read_ipv6) replace the char * arithmetic with
296 STREAM_READABLE.
297
paul1e193152005-02-14 23:53:05 +00002982005-02-14 Paul Jakma <paul@dishone.st>
299
300 * Not all Linux netlink systems have IFLA_WIRELESS
301
ajs6a52d0d2005-01-30 18:49:28 +00003022005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
303
304 * ioctl.c: (if_ioctl,if_ioctl_ipv6,if_get_flags) Replace perror with
305 zlog_err.
306 * ioctl_solaris.c: (if_ioctl,if_ioctl_ipv6) Replace perror with
307 zlog_err.
308
ajs4be019d2005-01-29 16:12:41 +00003092005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
310
ajs4460e7a2005-01-29 17:07:40 +0000311 * if_ioctl_solaris.c: (interface_list_ioctl) Save errno before calling
312 zserv_privs.change.
313 * ioctl{,_solaris}.c: (if_ioctl,if_ioctl_ipv6) Save errno before calling
314 zserv_privs.change.
315 * ipforward_solaris.c: (solaris_nd) Save errno before calling
316 zserv_privs.change.
317 * irdp_main.c: (irdp_sock_init) Save errno before calling
318 zserv_privs.change.
319
3202005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
321
ajs4be019d2005-01-29 16:12:41 +0000322 * rt_netlink.c: (netlink_socket,netlink_request,netlink_parse_info,
323 netlink_talk) Save errno before calling zserv_privs.change.
324
paulc15cb242005-01-24 09:05:27 +00003252005-01-24 Martin Pot <mpot at martybugs.net>
326
327 * zebra/rt_netlink.c: ignore wireless newlink netlink messages.
328
hasso6f2c27a2005-01-18 13:44:35 +00003292005-01-18 Hasso Tepper <hasso at quagga.net>
330
331 * interface.c: Better statistics output in "show interface" command in
332 case of /proc being used.
333
hasso583d8002005-01-16 23:34:02 +00003342005-01-17 Hasso Tepper <hasso at quagga.net>
335
336 * main.c: With --nl-bufsize argument is required.
337
paul865b8522005-01-05 08:30:35 +00003382005-01-05 Paul Jakma <paul@dishone.st>
339
340 * zserv.c: (zebra_accept) Comment out setting of socket to NONBLOCK
341 for now, as we dont actually deal with with resending.... See
342 bugzilla #122, fix from wawa@yandex-team.ru (Vladimir Ivanov).
343 * kernel_socket.c: (routing_socket) ditto.
344
ajsb99760a2005-01-04 16:24:43 +00003452005-01-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
346
347 * rtadv.c: (rtadv_recv_packet,rtadv_send_packet) Use ZCMSG_FIRSTHDR
348 instead of CMSG_FIRSTHDR.
349
ajs341a8f12004-12-22 16:32:16 +00003502004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
351
352 * connected.c: (connected_add_ipv4) Limit warning about /32 addresses
353 with no peer specified to PtP interfaces only.
354
hassob8adec12004-12-18 16:03:28 +00003552004-12-18 Hasso Tepper <hasso at quagga.net>
356
357 * zebra_vty.c: Fix "show ipv6 route <proto>" command help and make it
358 work for isis routes.
359
gdt6a250b02004-12-09 14:48:12 +00003602004-12-09 Greg Troxel <gdt@fnord.ir.bbn.com>
361
362 * kernel_socket.c (rtmsg_debug): char * => const char *
363
ajs274a4a42004-12-07 15:39:31 +00003642004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
365
ajsb6178002004-12-07 21:12:56 +0000366 * *.c: Change level of debug messages to LOG_DEBUG.
367
3682004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
369
ajs274a4a42004-12-07 15:39:31 +0000370 * main.c: (main) The 2nd argument to openzlog has been removed.
371 So stdout logging will no longer be enabled by default.
372 * irdp_main.c: (irdp_finish) Reduce severity of shutdown message
373 from LOG_WARNING to LOG_INFO.
374
ajs887c44a2004-12-03 16:36:46 +00003752004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
376
377 * main.c: (sigint) Use zlog_notice for termination message.
378 (main) Add a startup announcement using zlog_notice.
379
hassoaccb1562004-11-25 19:21:07 +00003802004-11-25 Hasso Tepper <hasso at quagga.net>
381
382 * irdp_interface.c: Remove comment from DEFUN, it breaks vtysh because
383 it confuses extract.pl.
hassoc0652302004-11-25 19:33:48 +0000384 * main.c: Make group to run as configurable.
hassoaccb1562004-11-25 19:21:07 +0000385
hasso6bd7c6a2004-10-28 17:32:27 +00003862004-10-28 Hasso Tepper <hasso at quagga.net>
387
388 * interface.c: Remove dead "ip tunnel" command.
389
paul06f953f2004-10-22 17:00:38 +00003902004-10-22 Paul Jakma <paul@dishone.st>
391
392 * irdp_main.c: change setsockopt_pktinfo to setsockopt_ifindex
393
hasso3fb9cd62004-10-19 19:44:43 +00003942004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
395
396 * rt_netlink.c: (netlink_interface_addr) For PtP interfaces, ignore
397 tb[IFA_ADDRESS] if it's the same as tb[IFA_LOCAL].
398 * interface.c: (ip_address_install) Use new ipv4_broadcast_addr
399 function.
400 * connected.c: (connected_up_ipv4) Use CONNECTED_POINTOPOINT_HOST
401 macro.
402 (connected_down_ipv4) ditto.
403 (connected_add_ipv4) Validate destination address, print warnings
404 if it does not make sense.
405
hassoc1eaa442004-10-19 06:26:01 +00004062004-10-19 Hasso Tepper <hasso at quagga.net>
407
408 * zserv.c: Fix regression introduced with zserv cleanup.
409
hassoc75105a2004-10-13 10:33:26 +00004102004-10-13 Hasso Tepper <hasso at quagga.net>
411
412 * zebra_snmp.c: Remove defaults used to initialize smux connection to
413 snmpd. Connection is initialized only if smux peer is configured.
hassob71f00f2004-10-13 12:20:35 +0000414 * zserv.c: Remove useless warnings "forwarding is already on".
hassoc75105a2004-10-13 10:33:26 +0000415
hasso39ff11d2004-10-12 15:55:19 +00004162004-10-12 Hasso Tepper <hasso at quagga.net>
417
418 * zebra_vty.c: Unbreak "show ip route" command help and make it work
419 for isis routes.
hasso39db97e2004-10-12 20:50:58 +0000420 * interface.c(if_dump_vty): Show IPv6 addresses in "show interface"
421 output. Fixes Bugzilla #119.
422 * *.c: Make some strings const and some (unsigned) casts to fix
423 compiler warnings.
hasso39ff11d2004-10-12 15:55:19 +0000424
hassofce954f2004-10-07 20:29:24 +00004252004-10-07 Hasso Tepper <hasso at quagga.net>
426
427 * connected.c, main.c, rt_netlink.c, rtadv.c, zebra_rib.c, zserv.c:
428 Fix warnings: make strings const, signed -> unsigned.
429
paul72164662004-10-05 14:39:43 +00004302004-10-05 Paul Jakma <paul@dishone.st>
431
432 * irdp_packet.c: (parse_irdp_packet) style issues.
433 Use sockopt_iphdrincl_swab_systoh.
434 Try unbork the code. Checksum the ICMP data and actually
435 compare it to received checksum. Check data length against
436 claimed length in header.
437 Always use ntoh.. when accessing addresses, even when the
438 comparison happens to be endian-safe.
439 (send_packet) minor style isues. Use
440 sockopt_iphdrincl_swab_htosys.
441 (irdp_iph_hton/ntoh) IP header to/from network/host order.
442
hassoeef1fe12004-10-03 18:46:08 +00004432004-10-03 Gilad Arnold <gilad.arnold at terayon.com>
444
445 * interface.c, interface.h: A new prefix tree of connected subnets is
446 associated with each interface structure in zebra, in which each
447 live (ie, non-synthetic) node holds a list of installed addresses
448 that belong to that prefix. Remove secondary address logic from cli.
449 See [quagga-dev 872] for detailed explanation.
450 * connected.c: Use if_subnet_add() and if_subnet_delete().
451
hasso18a6dce2004-10-03 18:18:34 +00004522004-10-03 James R. Leu <jleu at mindspring.com>
453
454 * router-id.c, router-id.h: New files. Router id selection process. If
455 there is non 127.x.x.x address in loopack interface, lowest of them
456 is chosen. If there isn't, lowest from other interfaces addresses
457 are chosen. "router-id x.x.x.x" vty command to manual override.
458 * Makefile.am: Compile new files.
459 * main.c: Initialize router id.
460 * redistribute.c: Add interface addresses into router id selection
461 lists as they (dis)appear.
462 * zserv.c, zserv.h: Sending router id related messages to daemons.
463
hassoc9e52be2004-09-26 16:09:34 +00004642004-09-26 Hasso Tepper <hasso at quagga.net>
465
466 * irdp_interface.c, irdp_main.c, irdp_packet.c, rt_netlink.c,
467 rtadv.c, zebra_vty.c: Fix compiler warnings.
468
paul0c0f9112004-09-24 08:24:42 +00004692004-09-24 Paul Jakma <paul@dishone.st>
470
paul26f7a242004-09-24 08:45:10 +0000471 * irdp_interface.c: (no_ip_irdp_address_preference_cmd)
472 add missing listnode declaration.
473
4742004-09-24 Paul Jakma <paul@dishone.st>
475
paul0c0f9112004-09-24 08:24:42 +0000476 * irdp_{interface,main}.c: lists typedef removal cleanup.
477 update some list loops to LIST_LOOP. some miscellaneous style
478 and indent fixups.
479 (no_ip_irdp_address_preference_cmd) Fix delete of referenced node
paul26f7a242004-09-24 08:45:10 +0000480 in loop.
paul0c0f9112004-09-24 08:24:42 +0000481 * irdp_packet.c: (irdp_recvmsg) Fix buggy assignment of integer
482 to pointer.
483 * if_ioctl{,_solaris}.c: lists typedef removal cleanup.
484 update some list loops to LIST_LOOP.
485
hasso52dc7ee2004-09-23 19:18:23 +00004862004-09-23 Hasso Tepper <hasso at quagga.net>
487
488 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
489
paul44983cf2004-09-22 13:15:58 +00004902004-09-22 Paul Jakma <paul.jakma@sun.com>
491
492 * zserv.c: (zsend_route_multipath) fix nasty bad memset of struct
493 in_addr to sizeof(struct in6_addr), causing odd and hard to debug
494 crash.
495
hassoc34b6b52004-08-31 13:41:49 +00004962004-08-31 Hasso Tepper <hasso at quagga.net>
497
498 * main.c, rt_netlink.c: Added -s command line switch for tuning
499 netlink receive buffer size in Linux to avoid buffer overruns.
500
gdta5ea6872004-08-26 13:24:00 +00005012004-08-26 Miles Nordin <carton@Ivy.NET>
502
503 * ipforward_sysctl.c (mib_ipv6): Use size_t for len, per
504 sysctl(3), rather than int. (Needed on NetBSD/alpha to display
505 forwarding status correctly.)
506
paul3e0b3a52004-08-23 18:58:32 +00005072004-08-23 Paul Jakma <paul@dishone.st>
508
509 * zserv.c: (zebra_init) remove implicit ip forward enabling
510
paul0de1cde2004-08-19 04:45:33 +00005112004-08-19 Paul Jakma <paul@dishone.st>
512
513 * irdp_main.c: update to match sockopt renames.
514 * irdp_packet.c: include sockopt.h and update to match sockopt
515 renames.
516
gdt57492d52004-08-11 18:06:38 +00005172004-08-11 Greg Troxel <gdt@fnord.ir.bbn.com>
518
519 * rtadv.c (rtadv_send_packet): Allocate space for control messages
520 more carefully; it was wrong on NetBSD/sparc where CMSG alignment
521 is to 8 bytes instead of 4, and overwriting the address. Use the
522 provided macros for determining lengths.
523
paul5b73a672004-07-23 15:26:14 +00005242004-07-23 Sowmini Varadhan <Sowmini.Varadhan@Sun.COM>
525
526 * if_ioctl_solaris.c: HAVE_IPV6 ifdef fixups
527 * zserv.c: ditto
528 * ioctl_solaris.c: ditto.
529 * interface.c: cast for LLADDR
530 * interface.h: Add guards, include redistribute.h and remove
531 extraneous definitions of zebra_interface_{up,down}_update
532 * ioctl.h: Add AF_IOCTL define for non SOLARIS_IPV6
533 * redistribute.h: include dependent header, zserv.h
534 * zserv.h: include dependent header, rib.h
535
paul1470baf2004-07-23 15:25:01 +00005362004-07-23 Paul Jakma <paul@dishone.st>
537
538 * irdp_main.c: use setsockopt_pktinfo_ipv4
539 * irdp_packet.c: use SOPT_SIZE_CMSG_PKTINFO_IPV4 and
540 getsockopt_pktinfo_ifindex()
541
gdtcced60d2004-07-13 16:45:54 +00005422004-07-13 David Wiggins <dwiggins@bbn.com
543
544 * kernel_socket.c (rtm_flag_dump): terminate buffer with '\0', not '0'.
545
hasso25dac852004-07-13 03:06:51 +00005462004-07-13 Hasso Tepper <hasso@estpak.ee>
547
548 * irdp_main.c: Add privilege change.
549
hasso996933f2004-07-12 16:32:56 +00005502004-07-12 Hasso Tepper <hasso@estpak.ee>
551
552 * irdp_interface.c: follow common style while naming vty command
553 functions. Avoids confusion in extract.pl.
554
gdt87efd642004-06-30 17:36:11 +00005552004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
556
557 * main.c: define thread_master variable so that linking with
558 libzebra.so doesn't fail. Arguably zclient.o should be in a
559 separate library, but this is far less disruptive.
560
hassoca776982004-06-12 14:33:05 +00005612004-06-12 Robert Olsson <Robert.Olsson at data.slu.se>
562
563 * Added IRDP support.
564
hasso3e31cde2004-05-18 11:58:59 +00005652004-05-18 Hasso Tepper <hasso@estpak.ee>
566
567 * rtadv.c: Removed "[no] ipv6 nd send-ra" command. Replaced "ipv6 nd
568 prefix-advertisement" with "ipv6 nd prefix". Rewrite syntax of
569 "ipv6 nd prefix" command to allow various combinations of parameters
570 and flags. No defaults in configuration. Replaced on-link and
571 autoconfig with off-link and no-autoconfig flags in command syntax.
572 Cosmetic fixes in all commands. Documentation to reflect all changes.
573
paul19877dd2004-05-11 10:49:35 +00005742004-05-11 Paul Jakma <paul@dishone.st>
575
576 * Makefile.am: support for IOCTL_METHOD, as per Sowmini's patch.
paul48a46fa2004-05-11 10:55:22 +0000577 * if_ioctl_solaris.c: Fixup some erroneous privilege changes and
578 add privs.h header.
579 * ioctl_solaris.c: ditto
paulc50ae8b2004-05-11 11:31:07 +0000580 * ioctl.h: Add if_ioctl_ipv6 prototype and AF_IOCTL for SOLARIS_IPV6
581 * kernel_socket.c: Fix SAROUNDUP, compiler doesnt like do..while
582 RHS in assignments :)
583 * redistribute.c: (zebra_interface_delete_update) only used
584 if RTM_IFANNOUNCE and NETLINK is available.
585
paulb9df2d22004-05-09 09:09:59 +00005862004-05-09 Paul Jakma <paul@dishone.st>
587
588 * zserv.c: (zsend_route_multipath) Set the nexthop_num
589 field correctly. Add NEXTHOP_TYPE_IPV6_IFNAME for v6.
590 Conditionally set ZAPI_MESSAGE_METRIC flag - only for adds.
591 (zsend_ipv4_add) cruft, deleted.
592 (zsend_ipv4_delete) ditto.
593 (zsend_ipv6_add) ditto.
594 (zsend_ipv6_delete) ditto.
paul44145db2004-05-09 11:00:23 +0000595 * ioctl.c: (if_get_mtu) set mtu6 to mtu
596 * mtu_kvm.c: (if_kvm_get_mtu) set mtu6 to mtu
597 * rt_netlink.c: (netlink_interface) set mtu6 to mtu
598 (netlink_link_change) ditto
paul66e94882004-05-09 17:19:24 +0000599 * ipforward_solaris.c: fix typo of ND variable.
paul88424682004-05-09 18:21:35 +0000600 * if_ioctl_solaris.c: Add zprivs support.
601 * ioctl_solaris.c: ditto.
paul66e94882004-05-09 17:19:24 +0000602
paulb9df2d22004-05-09 09:09:59 +00006032004-05-09 Sowmini Varadhan <sowmini.varadhan@sun.com>
604
605 * zserv.c: (zsend_ipv{4,6}_{add,delete}_multipath) collapsed
606 into single zsend_route_multipath function.
607 (zsend_interface_{up,down}) collapsed into zsend_interface_update.
608 (zsend_interface_address_{add,delete}) collapsed into
609 zsend_interface_address.
610 (zsend_interface_add) send mtu6.
611 (zsend_interface_delete) ditto.
612 (zebra_write) remove unused function.
613 (various) Apply static qualifier. Add comments.
614 * zserv.h: Definitions changed as per above.
615 * redistribute.c: Changes as per zserv.c.
paul44145db2004-05-09 11:00:23 +0000616 * interface.c: (if_delete_update) only used with HAVE_NETLINK
617 and RTM_IFANNOUNCE.
618 (if_flag_dump_vty) Solaris IFF_IPV4 and IFF_IPV6 if flags
619 (if_dump_vty) print mtu6 if not same as mtu
paul88424682004-05-09 18:21:35 +0000620 * if_ioctl_solaris.c: New file, Solaris interface ioctl methods.
621 * ioctl_solaris.c: New file, Common solaris ioctl methods.
622
hasso34195bf2004-04-06 12:07:06 +00006232004-04-06 Krzysztof Oledzki <oleq@ans.pl>
624
625 * rt_netlink.c: Do not ignore metric when reading kernel routing
626 table on Linux with rt_netlink interface.
627
6282004-03-18 Hasso Tepper <hasso@estpak.ee>
hassof1d92e12004-03-18 15:40:33 +0000629
630 * interface.c: Temporary fix for handling secondary addresses
631 with label.
632
hasso55906722004-02-11 22:42:16 +00006332004-02-12 Hasso Tepper <hasso@estpak.ee>
hassof1d92e12004-03-18 15:40:33 +0000634
hasso55906722004-02-11 22:42:16 +0000635 * zserv.c: Added "ipv6 forwarding" command.
636
gdtb27900b2004-01-08 15:44:29 +00006372004-01-08 Greg Troxel <gdt@fnord.ir.bbn.com>
638
639 * kernel_socket.c (kernel_read): Use sockaddr_storage in buffer
640 for reading kernel messages to ensure enough space (necessary on
641 Solaris due to sockaddr_dl being large). Thanks to Sowmini
642 Varadhan for help with this change.
643
gdt9ccabd12004-01-06 18:23:02 +00006442004-01-06 Greg Troxel <gdt@t1.ir.bbn.com>
645
646 * rtadv.c (rtadv_send_packet): Change perror to zlog_err.
647
gdtdbee01f2004-01-06 00:36:51 +00006482004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
gdt4bfbea82004-01-06 01:13:05 +0000649 * kernel_socket.c (ifm_read): Major cleanup. Use Sowmini's code
650 to find the sockaddr_dl in all cases, narrowing the Solaris ifdef
651 to just the accomodation of broken kernels. Check sockaddr_dl
652 carefully up front, and later assume any non-NULL sdl pointer is
653 valid. Clean up types and variable declarations, and rename
654 WRAPUP to SAROUNDUP to make the name fit the behavior.
655
6562004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
gdtdbee01f2004-01-06 00:36:51 +0000657
658 * kernel_socket.c (kernel_read): Add a sockaddr_dl to the ifmsg
659 structure, because on Solaris sockaddr_dl is far larger than the
660 base sockaddr structure. (The code had previously been failing to
661 read all the data.)
gdt4bfbea82004-01-06 01:13:05 +0000662
gdtda26e3b2004-01-05 17:20:59 +00006632004-01-05 Greg Troxel <gdt@ahi.ir.bbn.com>
664
665 * kernel_socket.c (kernel_read): Look up interfaces by index
666 first, so that state changes which do not include a sockaddr_dl
667 now work. Add many sanity checks. In
668 particular, do not assume that a sockaddr_dl follows a message
669 without checking the ifm_addrs flags, and do not trust the length
670 in a sockaddr_dl. Add/clarify many comments.
671
gdt4b5e1352003-12-03 17:54:34 +00006722003-12-03 Greg Troxel <gdt@poblano.ir.bbn.com>
673
674 * rtadv.c: reorder includes to avoid compiler warning (define
675 structs before using them in prototypes)
676
hasso647e4f12003-05-25 11:43:52 +00006772003-05-25 Jim Crumpler <Jim.Crumpler@edion.com>
678
679 * zserv.c: Add "ip forwarding" command.
680
paul445f1432003-05-16 19:00:31 +00006812003-05-16 Gilad Arnold <gilad.arnold@terayon.com>
682
683 * zebra_rib.c: Fix memory leaks for ifname nexthops
684
6852003-04-19 Israel Keys <ikeys@agile.tv>
686
687 * rt_netlink.c: BLOCK on netlink while initialising
688
6892003-02-06 Francois Deppierraz <francois@ctrlaltdel.ch>
690
691 * rt_netlink.c (netlink_route_multipath): Set RTM_F_EQUALIZE when
692 it exists.
693
paul718e3742002-12-13 20:15:29 +00006942002-09-28 Akihiro Mizutani <mizutani@net-chef.net>
695
696 * zebra_rib.c (static_add_ipv4): Null0 static route is added.
697
6982002-09-10 Jochen Friedrich <chris+zebra@scram.de>
699
700 * rt_netlink.c: Add check for EAGAIN.
701 * kernel_socket.c: Likewise
702
7032002-06-12 Israel Keys <ikeys@oz.agile.tv>
704
705 * rt_netlink.c: Setting the NLM_F_ACK flag on the netlink command
706 message so that we get an ACK for successful netlink commands.
707 Change the netlink socket to BLOCKING while we wait for a
708 response; be it an ACK or an NLMSG_ERROR. Change
709 netlink_parse_info to deal with ACK messages.
710
7112001-11-01 Jun-ichiro itojun Hagino <itojun@iijlab.net>
712
713 * rtadv.c (rtadv_make_socket): setsockopt(IPV6_CHECKSUM) does not
714 work for ICMPv6 socket.
715
7162001-10-24 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
717
718 * rib.c (rib_process): Select connected route any case.
719
7202001-10-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
721
722 * interface.c (no_ip_address_secondary): Add "no" to command.
723
7242001-10-18 NOGUCHI Kay <kay@v6.access.co.jp>
725
726 * ioctl.c (if_prefix_add_ipv6): Set the prefered and valid lifetime
727 to infinity as the freebsd4.4 workaroud.
728
7292001-08-26 mihail.balikov@interbgc.com
730
731 * zebra_snmp.c: Fix snmpwalk problem such as IPv4 address
732 A.B.C.255.
733
7342001-08-22 NOGUCHI Kay <kay@v6.access.co.jp>
735
736 * rtadv.c: Do not send RA to loopback interface.
737
7382001-08-20 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
739
740 * ioctl.c (if_set_prefix): Remove Linux 2.0 specific connected
741 route treatment.
742
7432001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
744
745 * zebra-0.92a released.
746
7472001-08-17 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
748
749 * rib.c: Kernel route is treated as EGP routes in nexthop active
750 check.
751
7522001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
753
754 * zebra-0.92 released.
755
7562001-08-08 "Akihiro Mizutani" <mizutani@dml.com>
757
758 * rib.c (show_ip_route_prefix_longer): Add longer-prefix option to
759 show route commands.
760
7612001-07-29 Yon Uriarte <havanna_moon@gmx.net>
762
763 * zserv.c (zsend_ipv4_add_multipath): Add
764 NEXTHOP_TYPE_IPV4_IFINDEX check.
765
7662001-07-29 NOGUCHI Kay <kay@v6.access.co.jp>
767
768 * rtadv.c: Apply valid lifetime, preferred lifetime, onilnk flag,
769 autonomous address-configuration flag patch.
770 (no_ipv6_nd_suppress_ra): Change "ipv6 nd send-ra" to "no ipv6 nd
771 suppress-ra".
772
7732001-07-24 NOGUCHI Kay <kay@v6.access.co.jp>
774
775 * rtadv.c (ipv6_nd_ra_interval): Add "ipv6 nd ra-interval SECONDS"
776 command.
777
7782001-07-24 Jun-ichiro itojun Hagino <itojun@iijlab.net>
779
780 * rt_socket.c (kernel_rtm_ipv4): Add KAME/NetBSD151 equal cost
781 multicast FIB support both IPv4 and IPv6.
782
7832001-07-24 Hal Snyder <hal@vailsys.com>
784
785 * if_ioctl.c (interface_list_ioctl): Fix bug of failing to get the
786 full list of interfaces on some configurations of OpenBSD.
787
7882001-07-23 NOGUCHI Kay <kay@v6.access.co.jp>
789
790 * rtadv.c (ipv6_nd_send_ra): Apply [zebra 9320] to fix "ipv6 nd
791 send-ra" bug.
792 (ipv6_nd_ra_lifetime): "ipv6 nd ra-lifetime 0" for default router
793 availability.
794 (ipv6_nd_managed_config_flag): "ipv6 nd managed-config-flag" is
795 added.
796 (ipv6_nd_other_config_flag): "ipv6 nd other-config-flag" is added.
797
7982001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
799
800 * ioctl.c (if_ioctl): Change ioctl argument from int to u_long.
801
802 * rt_ioctl.c: Likewise.
803
8042001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
805
806 * kernel_socket.c (rtm_write): Only set RTF_CLONING when the
807 interface is not p2p.
808
8092001-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
810
811 * ioctl.c (if_prefix_add_ipv6): Fix argument type.
812
8132001-04-06 Toshiaki Takada <takada@zebra.org>
814
815 * zserv.c (zsend_interface_delete): Use client->obuf instead of
816 allocating new stream.
817
8182001-03-10 Kunihiro Ishiguro <kunihiro@zebra.org>
819
820 * rt_netlink.c: Revert RTPROT_BOOT change.
821
8222001-03-08 Kunihiro Ishiguro <kunihiro@zebra.org>
823
824 * rt_netlink.c (netlink_route_change): Skip RTPROT_BOOT route.
825 (netlink_routing_table): Likewise.
826
8272001-03-07 "Akihiro Mizutani" <mizutani@dml.com>
828
829 * zserv.c (zsend_ipv4_add_multipath): Send metric value to
830 protocol daemons.
831
8322001-02-18 Kunihiro Ishiguro <kunihiro@zebra.org>
833
834 * rt_netlink.c (netlink_routing_table): Do not return
835 tb[RTA_GATEWAY] is NULL. Reported by: "Michael O'Keefe"
836 <mokeefe@qualcomm.com>.
837
8382001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
839
840 * if_ioctl.c (interface_list_ioctl): Call if_add_update().
841 Suggested by: Chris Dunlop <chris@onthe.net.au>.
842
8432001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
844
845 * rib.c (nexthop_active_ipv4): When nexthop type is
846 NEXTHOP_TYPE_IPV4_IFINDEX, propery set the ifindex to rifindex.
847
848 * zserv.c: Initialize rtm_table_default with 0.
849
850 * zebra-0.91 is released.
851
8522001-01-31 Kunihiro Ishiguro <kunihiro@zebra.org>
853
854 * kernel_socket.c (rtm_read): Filter cloned route. Suggested by:
855 Jun-ichiro itojun Hagino <itojun@iijlab.net>
856
8572001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
858
859 * connected.c (connected_up_ipv6): When point-to-point destination
860 address is ::, use local address for connected network.
861 (connected_down_ipv6): Likewise.
862
8632001-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
864
865 * zserv.c (zebra_serv): Add missing close() call. Reported by:
866 David Waitzman <djw@vineyard.net>.
867
8682001-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
869
870 * rib.c (rib_lookup_ipv4): New function for checking exact match
871 IGP route.
872
8732001-01-23 Kunihiro Ishiguro <kunihiro@zebra.org>
874
875 * rib.c (show_ipv6_route_protocol): Fix bug of "show ip route
876 route-type".
877
8782001-01-22 Kunihiro Ishiguro <kunihiro@zebra.org>
879
880 * interface.c (zebra_interface): Do not call
881 zebra_interface_add_update for inactive interface.
882
883 * zserv.c (zsend_interface_address_add): Send interface address
884 flag.
885 (zsend_interface_address_delete): Likewise.
886
8872001-01-19 Kunihiro Ishiguro <kunihiro@zebra.org>
888
889 * interface.c (if_addr_add): Add flags.
890
891 * connected.c (ifa_add_ipv4): Add new function for interface
892 address handling.
893 (ifa_delete_ipv4): Likewise.
894
8952001-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
896
897 * rib.c (rib_update): Update IPv6 RIB.
898
899 * kernel_socket.c (ifam_read): Call if_refresh() for update
900 interface flag status. This is for implicit interface up on *BSD.
901
902 * interface.c (if_refresh): Add interface flag refresh function.
903
904 * kernel_socket.c (rtm_read): Fetch link-local address interface
905 index.
906 (ifan_read): We need to fetch interface information. Suggested
907 by: Yasuhiro Ohara <yasu@sfc.wide.ad.jp>.
908
909 * rib.c (static_ipv6_nexthop_same): Add check for
910 NEXTHOP_TYPE_IPV6_IFNAME.
911
9122001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
913
914 * rib.h (NEW_RIB): Turn on NEW_RIB flag. IPv6 new RIB code are
915 taken into place.
916
9172001-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
918
919 * rib.c (static_ipv6_write): Display STATIC_IPV6_GATEWAY_IFNAME
920 configuration.
921 (rib_delete_ipv6): Handle same route conter for IPv6 connected
922 route.
923 (show_ipv6_route_protocol): New command.
924 (show_ipv6_route_addr): Likewise.
925 (show_ipv6_route_prefix): Likewise.
926 (rib_update): Sweep kernel route when it is cleaned up.
927
928 * rt_socket.c (kernel_add_ipv6): Add NEXTHOP_IPV6_IFNAME
929 treatmenet.
930
931 * rt_netlink.c (kernel_init): Likewise.
932
933 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): Likewise.
934
935 * rib.c (rib_add_ipv4): Cope with same connected route on a
936 interface. Suggested by: Matthew Grant <grantma@anathoth.gen.nz>.
937 (nexthop_ipv6_ifname_add): Add NEXTHOP_IPV6_IFNAME treatmenet.
938
939 * rib.h (struct new_rib): Add refcnt to keep track on the
940 reference of same connected route.
941
942 * ioctl.c (if_set_prefix): Add check for GNU_LINUX.
943
9442001-01-13 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
945
946 * kernel_socket.c (ifan_read, rtm_type_str): Add RTM_OIFINFO check.
947 (rtm_type_str): Add RTM_IFANNOUNCE check.
948 (ifan_read): New function.
949 (kernel_read): Add case for RTM_IFANNOUNCE.
950
9512001-01-13 Kunihiro Ishiguro <kunihiro@zebra.org>
952
953 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): New function.
954
955 * rt_netlink.c (netlink_route_multipath): IPv6 address ifindex
956 treatment.
957
958 * connected.c (connected_up_ipv6): Add dest value check.
959
960 * rib.c (nexthop_active_ipv6): Do not touch IPv6 nexthop's
961 ifindex.
962 (rib_add_ipv4): Import rib_add_ipv6() same route check code.
963 (nexthop_active_check): NEXTHOP_TYPE_IPV6_IFINDEX activity is only
964 checked by ifindex.
965
966 * rt_socket.c (kernel_rtm_ipv6_multipath): New function.
967
968 * redistribute.c (redistribute_add): Use
969 zsend_ipv6_add_multipath().
970 (redistribute_delete_multipath): Use
971 zsend_ipv6_delete_multipath().
972
973 * interface.c (ip_address): Check current IP address to avoid
974 duplicate.
975
976 * rib.c (rib_delete_ipv4): When deleted route is connected route,
977 check ifindex.
978 (rib_add_ipv4): When connected route is added do not perform
979 implicit withdraw.
980 (rib_delete_ipv4): Check ifindex for connected route.
981
982 * kernel_socket.c (rtm_read): When route has RTF_STATIC, set
983 ZEBRA_FLAG_STATIC for indicate as persistent route.
984 (ifam_read): Unset interface index from link-local address when
985 IPv6 stack is KAME.
986
987 * rib.c (rib_update): Do not delete persistent kernel route.
988
989 * rib.h (struct new_rib): Integrate RIB_FLAG_* to ZEBRA_FLAG_*.
990
991 * rt_socket.c (kernel_add_ipv6_multipath): Add placeholder.
992 (kernel_delete_ipv6_multipath): Likewise.
993
994 * rt_netlink.c (netlink_talk): Give struct nlsock to netlink_talk.
995
9962001-01-12 Kunihiro Ishiguro <kunihiro@zebra.org>
997
998 * rib.c (rib_update): Revert Matthew Grant's patch
999 zebra_cvs_newribfix.patch. Use struct rib->ifindex for kernel
1000 interface index. Introduce NEXTHOP_TYPE_IPV4_IFINDEX to support
1001 that. Add support for address deletion situation.
1002
10032001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1004
1005 * interface.c: Remove HAVE_IF_PSEUDO part.
1006
1007 * rib.h: Likewise.
1008
1009 * rt_netlink.c (netlink_link_change): Likewise.
1010
10112001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1012
1013 * zserv.c: Remove OLD_RIB codes.
1014
10152001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1016
1017 * zebra-0.90 is released.
1018
10192001-01-09 Matthew Grant <grantma@anathoth.gen.nz>
1020
1021 * interface.c (if_new_intern_ifindex): Allocate a new internal
1022 interface index.
1023 (if_addr_refresh): Fix up ip addresses configured via zebra.
1024 (if_add_update): Handle an interface addition.
1025 (if_delete_update): Handle an interface delete event.
1026
1027 * rib.c (nexthop_ipv4_add): Add kernel route deletion process when
1028 interface goes down.
1029
10302001-01-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1031
1032 * interface.c (if_dump_vty): When HAVE_NET_RT_IFLIST is defined,
1033 NetBSD also use this function. Suggested by Jasper Wallace
1034 <jasper@ivision.co.uk>.
1035
10362001-01-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1037
1038 * rib.c (nexthop_active_ipv4): Move back to set methodo to old
1039 one.
1040
10412001-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1042
1043 * rib.c (rib_add_ipv4): EBGP multihop set ZEBRA_FLAG_INTERNAL
1044 flag, so treat it.
1045
10462001-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1047
1048 * rt_netlink.c (netlink_talk_ipv6): When IPv6 route message is
1049 sent from netlink_cmd, the same message comes from netlink. To
1050 avoid confusion, temporary netlink_talk_ipv6 use netlink.sock
1051 instead of netlink_cmd.sock.
1052
10532001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1054
1055 * zserv.h (ZEBRA_SERV_PATH): Change "/tmp/zebra" to "/tmp/.zebra".
1056 Change "/tmp/zserv" to "/tmp/.zserv".
1057
10582000-12-29 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
1059
1060 * rt_netlink.c (struct nlsock): Divide kernel message into listen
1061 socket and command socket.
1062 (netlink_talk): Remove socket listen code. Use netlink_parse_info
1063 for read kernel response.
1064
10652000-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1066
1067 * rib.c (vty_show_ip_route): Show uptime of the RIP,OSPF,BGP
1068 routes.
1069
10702000-12-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1071
1072 * rt_netlink.c (netlink_route_multipath): Metric value is
1073 reflected to kernel routing table.
1074
1075 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Likewise.
1076
1077 * kernel_socket.c (rtm_write): Likewise.
1078
1079 * rib.c (nexthop_active_ipv4): Only iBGP route perform recursive
1080 nexthop lookup.
1081
1082 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Add ioctl version of
1083 new RIB implementation.
1084
10852000-12-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1086
1087 * rib.h: Remove MULTIPATH_NUM. It is defined by configure script.
1088
10892000-12-25 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1090
1091 * rib.c (rib_if_up): Call rib_fib_set instead of RIB_FIB_SET for
1092 proper redistribution.
1093
10942000-12-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1095
1096 * rib.c (nexthop_active_ipv4): Add self lookup nexthop check.
1097 (show_ip_route_protocol): Support new RIB.
1098
1099 * rt_netlink.c (netlink_route_change): Do not return when gate is
1100 NULL.
1101
11022000-12-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1103
1104 * rib.c (rib_lookup_ipv4_nexthop): IBGP nexthop check function is
1105 updated.
1106 (rib_add_ipv4): Free implicit withdraw route's RIB.
1107
11082000-12-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1109
1110 * rib.c (nexthop_active_ipv4): Check indirect nexthop.
1111
1112 * redistribute.c (redistribute_add_multipath): Redistribution
1113 works with new rib code.
1114
11152000-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1116
1117 * rt_netlink.c (netlink_route_multipath): Check useful nexthop
1118 number.
1119 (netlink_route_multipath): Clear rtnh_flags and rtnh_hops.
1120
1121 * rib.c (nexthop_active_update): Set flag for the rib's nexthop
1122 activity is changed.
1123 (nexthop_active_check): Before checking interface is up, make it
1124 sure the interface exist.
1125
11262000-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1127
1128 * rib.c (ip_route): New RIB prototype.
1129
11302000-11-16 Yon Uriarte <ukl2@rz.uni-karlsruhe.de>
1131
1132 * zserv.c (zsend_interface_add): Send hardware address when
1133 hw_addr_len is greater than 0.
1134
11352000-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1136
1137 * connected.c (connected_up_ipv4): Fix ptop bug. The destination
1138 network should be installed into routing table.
1139 (connected_down_ipv4): Likewise.
1140 (connected_add_ipv4): Change to use connected_up_ipv4.
1141 (connected_delete_ipv4): Likewise.
1142
11432000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1144
1145 * rt_netlink.c (netlink_interface_addr): Revert Harald Welte
1146 <laforge@gnumonks.org>'s ptop patch then back to original code to
1147 avoid duplicated connected route problem. Suggested by Frank van
1148 Maarseveen <F.vanMaarseveen@inter.NL.net>.
1149
1150 * kernel_socket.c (rtm_read): Make behavior consistent even #ifdef
1151 DEBUG is defined. Reported by Jun-ichiro itojun Hagino
1152 <itojun@iijlab.net>.
1153
11542000-10-23 Jochen Friedrich <jochen@scram.de>
1155
1156 * main.c (main): Call zebra_snmp_init() when it is enabled.
1157
11582000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1159
1160 * zserv.c (zebra_serv_un): UNIX domain socket server of zebra
1161 protocol.
1162
11632000-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1164
1165 * rib.c (rib_add_ipv4): Same check bug is fixed.
1166
11672000-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1168
1169 * rib.c (rib_if_down): Remove kernel route when the interface goes
1170 down.
1171
1172 * debug.c: New command "debug zebra kernel" is added.
1173
11742000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1175
1176 * zebra-0.89 is released.
1177
11782000-09-24 Harald Welte <laforge@gnumonks.org>
1179
1180 * rt_netlink.c (netlink_interface_addr): Fix point-to-point address
1181 treatment in netlink interface.
1182
11832000-09-21 David Lipovkov <dlipovkov@OpticalAccess.com>
1184
1185 * rib.c (rib_if_down): Pull static route only. Protocol daemon
1186 must withdraw routes when interface goes down.
1187 (rib_add_ipv4): Check nexthop when replace route.
1188
11892000-09-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1190
1191 * if_ioctl.c (if_getaddrs): New function for looking up
1192 interface's address by getifaddrs().
1193
11942000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1195
1196 * connected.c (connected_delete_ipv4): Add check for connected
1197 address is found or not.
1198 (connected_add_ipv6): Reflect IPv6 connected address change to
1199 protocol daemons.
1200 (connected_delete_ipv6): Likewise.
1201
12022000-09-07 David Lipovkov <davidl@nbase.co.il>
1203
1204 * rib.c (rib_delete_ipv4): Reverted the change from pseudo
1205 interface patch to original. Because ospfd deletes routes using
1206 zero ifindex.
1207
12082000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1209
1210 * zebra-0.88 is released.
1211
12122000-08-15 "Akihiro Mizutani" <mizutani@dml.com>
1213
1214 * rib.c (show_ip_route_protocol): Help string correction.
1215 (show_ip_route_prefix): Check prefix mask.
1216 (show_ip_route_vty_detail): Display distance and metric.
1217
12182000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1219
1220 * zserv.c (zsend_interface_add): Change ifindex store size from
1221 two octet to four.
1222 (zsend_interface_delete): Likewise.
1223 (zsend_interface_address_add): Likewise.
1224 (zsend_interface_address_delete): Likewise.
1225 (zsend_interface_up): Likewise.
1226 (zsend_interface_down): Likewise.
1227
12282000-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1229
1230 * rib.c (rib_add_ipv4): Do not install distance 255 route.
1231
12322000-08-10 Toshiaki Takada <takada@zebra.org>
1233
1234 * interface.c (bandwidth_if), (no_bandwidth_if): Call
1235 zebra_interface_up_update () instead of using if_up() and if_down().
1236
12372000-08-07 "Akihiro Mizutani" <mizutani@dml.com>
1238
1239 * interface.c (bandwidth_if): Fix help string.
1240
12412000-08-07 Matthew Grant <grantma@anathoth.gen.nz>
1242
1243 * interface.c (if_dump_vty): Display bandwidth value.
1244 (bandwidth_if): New command "bandwidth <1-10000000>" is added.
1245 When interface is up, force protocol daemons to recalculate routes
1246 due to cost change.
1247 (no_bandwidth_if): Likewise.
1248 (if_config_write): Output bandwidth configuration.
1249
1250 * zserv.c (zsend_interface_add): Send bandwidth value.
1251 (zsend_interface_up): Likewise.
1252 (zsend_interface_down): Likewise.
1253
1254
12552000-08-07 Michael Rozhavsky <mike@nbase.co.il>
1256
1257 * rib.c (show_ip_route_protocol): "show ip route
1258 (bgp|connected|kernel|ospf|rip|static)" is added.
1259
12602000-08-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1261
1262 * rib.c (rib_lookup_ipv4_nexthop): Check parent node until IGP
1263 nexthop is found.
1264 (rib_add_ipv4_internal): Set fib ifindex to rib ifindex.
1265
12662000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1267
1268 * redistribute.c (redistribute_delete): Fix bug of default route
1269 redistribute treatment.
1270
12712000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1272
1273 * rib.c (rib_init): Install ip_node in rib.c instead of zserv.c.
1274 Change default distance value.
1275
1276 Old New
1277 ------------------------------------------
1278 system 10 0
1279 kernel 20 0
1280 connected 30 0
1281 static 40 1
1282 rip 50 120
1283 ripng 50 120
1284 ospf 60 110
1285 ospf6 49 110
1286 bgp 70 200(iBGP) 20(eBGP)
1287 ------------------------------------------
1288
1289 * zserv.c (client_lookup): Function removed.
1290 (zsend_interface_add): Use client's output buffer. Check ifinfo
1291 flag.
1292 (zsend_interface_delete): Likewise.
1293 Delete ipv4_static_radix and ipv6_static_radix.
1294
12952000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1296
1297 * zserv.h (struct zebra_client): When client request interface
1298 information, ifinfo is set.
1299
1300 * rib.c: Temporary Revert changes for pseudo interface.
1301
1302 * rib.h: Likewise.
1303
1304 * zserv.c: Likewise.
1305
1306 * interface.c: Likewise.
1307
13082000-08-02 David Lipovkov <davidl@nbase.co.il>
1309
1310 * interface.c (zebra_if_init): Install interface "pseudo"
1311 commands.
1312
1313 * rib.c (rib_create): ifname argument is added.
1314 (rib_add_ipv4_pseudo): New function is added.
1315 (rib_delete_ipv4_pseudo): Likewise.
1316
1317 * rib.h : Delete INTERFACE_UNKNOWN definition. Add prototype for
1318 pseudo interface functions.
1319
1320 * rt_netlink.c (netlink_link_change): Check for pseudo interface.
1321
1322 * zserv.c (ip_route): When destination is pseudo interface, call
1323 rib_add_ipv4_pseudo().
1324
1325 * zserv.c (no_ip_route): Trim "unknown" argument.
1326
13272000-07-26 kunitake@dti.ad.jp
1328
1329 * if_ioctl.c (if_get_hwaddr): Fix hardware address length from 8
1330 to 6.
1331
1332 * rtadv.c (rtadv_send_packet): Fix shift bug for hardware address.
1333
13342000-07-24 Akihiro Mizutani <mizutani@dml.com>
1335
1336 * interface.c: Use install_default() for common VTY commands.
1337
13382000-07-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1339
1340 * if_ioctl.c (interface_list_ioctl): A interface list size is
1341 calculated from ifreq->if_addr.sa_len. This is for OpenBSD.
1342
1343 * ioctl.c (if_get_mtu): Remove codes for SIOCGIFDATA.
1344
13452000-07-09 Chris Dunlop <chris@onthe.net.au>
1346
1347 * if_ioctl.c (if_get_index): Add check for HAVE_BROKEN_ALIASES.
1348
13492000-07-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1350
1351 * zserv.c (zebra_client_read): Add ZEBRA_REDISTRIBUTE_{ADD,DELETE}
1352 message handling.
1353
13542000-07-02 David Lipovkov <davidl@nbase.co.il>
1355
1356 * zserv.c: "ip route A.B.C.D/M unknown" command is added.
1357
13582000-06-28 Michael Rozhavsky <mike@nbase.co.il>
1359
1360 * rib.c: Remove old kernel route when new route comes in.
1361
13622000-06-13 David Lipovkov <davidl@nbase.co.il>
1363
1364 * rib.c (rib_if_up): Add check for unknown interface.
1365
13662000-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1367
1368 * rib.h: Define INTERFACE_UNKNOWN.
1369
13702000-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1371
1372 * Makefile.am (EXTRA_DIST): Move irdp.c until implementation is
1373 finished.
1374
13752000-06-05 David Lipovkov <davidl@nbase.co.il>
1376
1377 * interface.c (if_zebra_delete_hook): Call rib_if_delete().
1378
1379 * redistribute.c (zebra_interface_delete_update): New function.
1380
1381 * redistribute.h (zebra_interface_delete_update): New function
1382 prototype.
1383
1384 * rib.c (rib_if_delete): New function. Walk down all routes and
1385 delete all on the interface.
1386
1387 * rib.h: New function prototype.
1388
1389 * rt_netlink.c (netlink_link_change): Call
1390 zebra_interface_delete_update ().
1391
13922000-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1393
1394 * if_ioctl.c (interface_info_ioctl): Check interface's flag before
1395 checking interface's address.
1396
13972000-04-26 Jochen Friedrich <jochen@nwe.de>
1398
1399 * GNOME-PRODUCT-ZEBRA-MIB: New file.
1400
1401 * GNOME-SMI: New file.
1402
14032000-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1404
1405 * irdp.c: New file from 1997 development code.
1406 * irdp.h: Likewise.
1407
14082000-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1409
1410 * rtadv.c (rtadv_send_packet): Enclose router advertisement
1411 logging with IS_ZEBRA_DEBUG_PACKET.
1412
14132000-04-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1414
1415 * zserv.c (zebra_client_close): Remove client structure from
1416 client_list when connection is terminated.
1417
14182000-03-21 David Lipovkov <davidl@nbase.co.il>
1419
1420 * connected.c (connected_add_ipv4): Allows all necessary structure
1421 updates for connected route, but doesn't insert it into rib if
1422 it's interface is down.
1423
14242000-01-21 Hideto Yamakawa <hideto.yamakawa@soliton.co.jp>
1425
1426 * rtread_getmsg.c: Set some definition for Solaris 2.5 and Solaris
1427 2.5.1.
1428
14292000-01-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1430
1431 * rib.c (no_ipv6_route_ifname): Fix buf of cheking return value
1432 from str2prefix_ipv6().
1433
14342000-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1435
1436 * rt_socket.c: Revert to use RTF_HOST for IPv4 with /32 route and
1437 IPv6 with /128 routes.
1438 (kernel_rtm_ipv4): In case of /32 route's gateway is interface. It
1439 should have mask for cloning.
1440
14411999-12-26 Jochen.Friedrich@genorz.de
1442
1443 * interface.c (if_dump_vty): Fix a bug of missing VTY_NEWLINE.
1444
14451999-12-23 Alex Zinin <zinin@amt.ru>
1446 * interface.*: dynamic int up/down support
1447
14481999-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1449
1450 * ipforward_proc.c (dropline): Move dropline() from lib/dropline.c
1451
1452 * rtread_proc.c (proc_route_read): Don't use dropline().
1453
14541999-12-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1455
1456 * kernel_socket.c (rtm_read): When message is RTM_GET, it has own
1457 process's pid.
1458
14591999-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1460
1461 * main.c (main): Change to default log output to ZLOG_STDOUT.
1462
1463 * zserv.c (zebra_serv): More detailed error print.
1464
14651999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1466
1467 * kernel_socket.c (rtm_read): Check old pid for static route
1468 insertion check.
1469
14701999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1471
1472 * interface.c (if_dump_vty): BSDI/OS uses 64bit for interface
1473 statistics counter.
1474
1475 * mtu_kvm.c: New file added.
1476
14771999-11-27 Vladimir B. Grebenschikov <vova@express.ru>
1478
1479 * kernel_socket.c (rtm_write): Set RTF_CLONING flag for
1480 route to the directly connected interface.
1481
14821999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1483
1484 * rt_socket.c: Delete USE_HOST_BIT definition.
1485
14861999-11-21 Michael Handler <handler@sub-rosa.com>
1487
1488 * rtread_getmsg.c: Undef some definition to resolve conflict.
1489
14901999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1491
1492 * kernel_socket.c (rtm_write): Change to use pre stored struct_dl
1493 value for gateway specification.
1494
14951999-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1496
1497 * rt_socket.c (kernel_rtm_ipv4): Even mask is 32 under IPv4 or
1498 128 under IPv6, don't use RTF_HOST.
1499
15001999-11-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1501
1502 * Makefile.am (EXTRA_DIST): Add rtread_getmsg.c.
1503
15041999-11-21 Michael Handler <handler@sub-rosa.com>
1505
1506 * rtread_getmsg.c: Added for Solaris 2.6 support.
1507
15081999-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1509
1510 * rtread_sysctl.c (rtm_read_route): RTM_DELETE handling added.
1511
1512 * rt_socket.c (kernel_read): Better BSD routing socket support.
1513
15141999-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1515
1516 * client_main.c: Disable making obsolete zebra test `client'
1517 command.
1518
15191999-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1520
1521 * zebra.c: Renamed to zserv.c.
1522
1523 * zebra.h: Global definitions are moved to lib/zebra.h. Then
1524 renamed to zserv.h.
1525
15261999-10-15 Jordan Mendelson <jordy@wserv.com>
1527
1528 * if_ioctl.c: Add Linux 2.2.X's alias support and dynamic
1529 interface. Remove ugly MAX_INTERFACE handling codes.
1530
15311999-09-17 Satosi KOBAYASI <kobayasi@north.ad.jp>
1532
1533 * Fix serious bug of IPv6 route deletion.
1534
15351999-09-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1536
1537 * ioctl.c (if_set_prefix): Properly set broadcast address.
1538
15391999-09-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1540
1541 * rib.c (rib_add_ipv6, rib_delete_ipv6): now protocol daemons
1542 can install connected route to kernel via zebra
1543
15441999-08-24 VOP <vop@unity.net>
1545
1546 * rib.c: Include "sockunion.h"
1547
15481999-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
1549
1550 * ipforward.h: New file.
1551
1552 * zebra.h: Obsolete message ZEBRA_GET_ALL_INTERFACE,
1553 ZEBRA_GET_ONE_INTERFACE, ZEBRA_GET_HOSTINFO are deleted.
1554
15551999-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1556
1557 * zebra.h (ZEBRA_INTERFACE_ADDRESS_ADD):
1558 ZEBRA_INTERFACE_{ADD,DELETE} added.
1559
15601999-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1561
1562 * rib.c: show ip route A.B.C.D works.
1563
1564 * zebra.c (zebra_read_ipv4): Add ifindex to zebra messages.
1565
15661999-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1567
1568 * zebra.h: New Zebra message ZEBRA_INTERFACE_{ADD,DELETE} added.
1569
15701999-08-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1571
1572 * interface.h: New file.
1573 * Makefile.am: Add interface.h
1574
15751999-08-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1576
1577 * redistribute.c (zebra_redistribute): give ifindex to client.
1578
15791999-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1580
1581 * main.c (longopts): -k, --keep_kernel option added.
1582
15831999-07-18 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1584
1585 * rt_socket.c (rtm_write): forgot closing socket bug fixed.
1586
15871999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1588
1589 * rib.c (show_ipv6_cmd): if rib is link show interface name.
1590
15911999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1592
1593 * rt_socket.c (rtm_write): use sockaddr_dl when null gateway.
1594
15951999-07-16 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1596
1597 * rt_socket.c (rtm_write): ipv6 route table bug fixed.
1598
15991999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1600
1601 * zebra.c (zebra_read_ipv6): read link prefix from ospf6 support
1602
16031999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1604
1605 * rt_socket.c (kernel_rtm_ipv6): gate treatment bug fixed.
1606
16071999-07-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1608
1609 * if_sysctl.c (ifm_read): Clear sockunion argument before fetching
1610 data. Suggested by "Chris P. Ross" <cross@eng.us.uu.net>
1611
16121999-07-08 HEO SeonMeyong <seirios@Matrix.IRI.Co.Jp>
1613
1614 * interface.c (if_tun_add): Add KAME's gif tunnel setting codes.
1615
16161999-06-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1617
1618 * zebra.c (zebra_serv): Only accept loopback address connection.
1619
16201999-06-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1621
1622 * zebra.h (ZEBRA_ROUTE_EXTERNAL): Add zebra messages flags
1623
16241999-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1625
1626 * ipforward_proc.c: ipforward_on () and ipforward_off () added.
1627
16281999-06-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1629
1630 * ipforward_proc.c (ipforward_ipv6): Check for IPv6 forwarding
1631 using /proc file system is added.
1632
16331999-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1634
1635 * if_ioctl.c (if_get_index): Interface index set bug is fixed by
1636 adding #else at the middle of function. Suggested by David Luyer
1637 <luyer@ucs.uwa.edu.au>.
1638
16391999-05-29 <kunihiro@zebra.org>
1640
1641 * rt_ioctl.c: Comment out #include <linux/ipv6_route.h>.
1642
16431999-05-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1644
1645 * zebra.h (ZEBRA_ROUTE_MAX): Add new define for the max value of
1646 the sort of routes.
1647
16481999-05-25 Patrick Koppen <koppen@rhrk.uni-kl.de>
1649
1650 * rt_netlink.c (netlink_socket): Make netlink socket non-blocking.
1651 (netlink_parse_info): If errno is EWOULDBLOCK then continue to
1652 parse the message.
1653 (netlink_talk): Likewise
1654
16551999-05-17 <kunihiro@zebra.org>
1656
1657 * redistribute.c (zebra_check_addr): Added for loopback address
1658 check.
1659
16601999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1661
1662 * rt_netlink.c (netlink_route_change): Tempolary bypass ipv6 route
1663 change treatment.
1664
1665 * Makefile.am (noinst_HEADERS): redistribute.h added.
1666
1667 * redistribute.h: New file.
1668
16691999-05-14 Stephen R. van den Berg <srb@cuci.nl>
1670
1671 * zebra.c (show_table): Show all table configuration DEFUN.
1672 (config_table): Config table number DEFUN.
1673
1674 * rt_netlink.c: Add support for multiple routing table.
1675
1676 * rib.c (rib_weed_table): New function added for delete all
1677 routes from specified routing table.
1678
1679 * main.c (signal_init): SIGTERM call sigint.
1680 (sigint): Loggging more better message.
1681
16821999-05-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1683
1684 * rt_netlink.c: Change log () to zlog ().
1685
16861999-05-07 <kunihiro@zebra.org>
1687
1688 * zebra.h (ZEBRA_ROUTE_OSPF6): Added for ospf6d route.
1689
16901999-04-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1691
1692 * interface.c: Add `no ip address' command.
1693
16941999-04-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1695
1696 * rt_netlink.c (kernel_read): Function added for asynchronous
1697 zebra between kernel communication.
1698
16991999-03-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1700
1701 * rtread_sysctl.c (rtm_read): Fix address memcopy overrun bug.
1702 Reported by Achim Patzner <ap@bnc.net>.
1703
17041999-03-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1705
1706 * Makefile.am: Install configuration sample with 600 permission.
1707
17081999-03-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1709
1710 * Makefile.am: Add -I.. to INCLUDES.
1711
17121999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
1713
1714 * syslog support added
1715
17161999-02-17 Peter Galbavy <Peter.Galbavy@knowledge.com>
1717
1718 * if_sysctl.c (interface_list): allocated memory free when unknown
1719 ifm_type is returned.
1720
1721 * ioctl.c (if_get_mtu): added SIOCGIFDATA treatment.
1722
17231998-12-15 Magnus Ahltorp <map@stacken.kth.se>
1724
1725 * interface.c: Header include added.
1726
17271998-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1728
1729 * rt.h (kernel_delete_ipv6): change int index to unsigned int index.
1730
17311998-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1732
1733 * if_ioctl.c (interface_list_ioctl): interface flag must be
1734 checked before check addresses of the interface.
1735
17361998-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1737
1738 * Makefile.am (INCLUDES): add @INCLUDES@ for Linux IPv6.
1739
17401998-10-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1741
1742 * ioctl.c: Linux version before 2.1.0 need interface route setup.
1743
17441998-09-15 HEO SeonMeyong <seirios@matrix.iri.co.jp>
1745
1746 * change HYDRANGEA to KAME
1747
17481998-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1749
1750 * if_ioctl.c (if_addr_ioctl): set address family for getting
1751 interface's address.
1752 (if_get_index): silently return when can't get interface's index.
1753
17541998-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1755
1756 * main.c (main): batch mode option '-b' added.
1757
17581998-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1759
1760 * ioctl.c (if_set_prefix): add `ip address IPV4ADDR' command.
1761 * interface.c (shutdown_if): add interface shutdown and no
1762 shutdown command.
1763
17641998-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1765
1766 * rib.c (rib_add_ipv6): delete rib_add_in6.
1767
17681998-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1769
1770 * main.c: retain flag is added.
1771
17721998-07-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1773
1774 * rtable.[ch]: merged with rib.[ch]
1775
17761998-07-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1777
1778 * connected.h: renamed from ifa.h.
1779
17801998-06-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1781
1782 * rename if.c to interface.c
1783 * rename ifa.c to connected.c
1784
1785 * Porting to Debian GNU/Linux 2.0 (hamm).
1786
17871998-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1788
1789 * rt_netlink.c: renamed from krt_netlink.c
1790
1791 * fib.c: deleted.
1792 * rt_kvm.c: deleted.
1793 * rtread_getmsg.c: deleted.
1794
17951998-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1796
1797 * if.c (multicast): add multicast flag [un]set fucntion.
1798
17991998-05-19 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1800
1801 * rt_socket.c: Modify for compile on Solaris, but dont't work it.
1802 rt_socket.c have some undefined function, so add directive "IMPLEMENT"
1803
18041998-05-18 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1805
1806 * zebra.c: Modify for compile on Solaris.
1807
18081998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1809
1810 * main.c: change CONFDIR to SYSCONFDIR.
1811
18121998-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1813
1814 * .cvsignore: added.
1815
18161998-04-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1817
1818 * client.c: moves to ../lib.
1819
18201998-03-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1821
1822 * if_ioctl.c (if_get_addr): Change address copy from memcopy() to
1823 structure assignment.
1824
18251998-03-30 URA Hiroshi <ura@yamato.ibm.co.jp>
1826
1827 * if_sysctl.c (ifm_interface_add): sdl->sdl_data copy bug fixed.
1828
18291998-02-23 "Hannes R. Boehm" <hannes@boehm.org>
1830
1831 * if.c (if_init): add config_exit_cmd and config_help_cmd.
1832
18331998-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
1834
1835 * rt_ioctl.c (route_ioctl): EPERM treatment added.
1836
18371998-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1838
1839 * rt_socket.c (kernel_read): communication port zebra between
1840 kernel is now handled by kernel_read.
1841
18421998-01-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1843
1844 * main.c (main): zebra [-P port] can specify vty port number.
1845
18461997-12-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1847
1848 * zebra.c: change select will be block.
1849
18501997-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1851
1852 * add static route treatment.
1853
18541997-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1855
1856 * rt_netlink.c: add netlink support over GNU/Linux system.
1857
18581997-11-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1859
1860 * all inet_addr is changed to inet_aton.
1861
1862 * zebra.c (ip_route): add ip route command for static routes.
1863
18641997-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1865
1866 * if.c (if_flag_dump): Linux port of if_flag_dump and _vty.
1867
18681997-11-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1869
1870 * if.c: add interface command.
1871
18721997-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1873
1874 * ipforward_proc.c : Now works on Linux.
1875
18761997-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1877
1878 * command.c : add completion feature.
1879
18801997-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1881
1882 * vty.c (vty_command): add vty interface.
1883
18841997-10-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1885
1886 * zebra.c: add verbose mode.
1887
18881997-10-12 SonMyong Ho <s-ho@Matrix.IRI.Co.Jp>
1889
1890 * Hydrangea for FreeBSD supported
1891 * in.h: add some prototype.
1892
18931997-10-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1894
1895 * rt_socket.c and rtread.c completely rewritten.
1896
18971997-10-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1898
1899 * rt_socket.c: rename kernel_sock to routing_socket
1900
19011997-10-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1902
1903 * if.c (if_new): interface structure change from linklist to vector.
1904
19051997-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1906
1907 * vector.c (vector_init): create vector related function
1908
19091997-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1910
1911 * Makefile.in: add tags target
1912
1913 * start IPv6 support for INRIA FreeBSD.
1914