blob: 61b8b41ab393ed81d494ea823bbd2fc9bde399be [file] [log] [blame]
hassobe61c4e2005-08-27 06:05:47 +000012005-08-27 Hasso Tepper <hasso at quagga.net>
2
3 * zebra_rib.c, rib.h: Add distance and metric arguments to the
4 rib_add_ipv6() function so that IPv6 routes in RIB can have correct
5 metric. No IPv6 routing daemon uses distance yet though.
6 * zserv.c, connected.c, kernel_socket.c, rt_netlink.c,
7 rtread_proc.c,zserv.c: Pass metric and distance info to the
8 rib_add_ipv6().
9
paul6eb88272005-07-29 14:36:00 +0000102005-07-29 Paul Jakma <paul.jakma@sun.com>
11
12 * interface.c: (if_delete_update) should always be available, not
13 just on RTM_IFANNOUNCE/NETLINK systems.
14 * kernel_socket.c: (ifan_read) only call if_delete_update when
15 interface departs, dont if_delete, because we wish to retain
16 interface configuration state even when interfaces are removed.
17 (ifm_read) If we dont have RTM_IFANNOUNCE, then transitioning
18 to down state is only chance we have to clean up interface in case
19 it is deleted (eg Solaris down -> unplumb -> plumb up).
20 * redistribute.c: (zebra_interface_delete_update) should always be
21 available, we /will/ call it now on all systems, via
22 if_delete_update.
23 * zserv.c: (zsend_interface_delete) ditto
24 (zsend_interface_address) Update the call-flow diagramme, to
25 reflect that if_delete_update /is/ now called on all systems,
26 potentially.
27 * zserv.h: (zsend_interface_delete) unconditionally exported, as
28 above.
29
paula1ac18c2005-06-28 17:17:12 +0000302005-06-28 Paul Jakma <paul.jakma@sun.com>
31
32 * (global) Extern and static'ification, with related fixups
33 of declarations, ensuring files include their own headers, etc.
paulea6f82b2005-06-28 17:20:26 +000034 * if_ioctl.c: (interface_info_ioctl) fix obvious arg mis-order in
paula1ac18c2005-06-28 17:17:12 +000035 list loop
paulea6f82b2005-06-28 17:20:26 +000036 * kernel_socket.c: (RTA_{ADDR,ATTR}_GET) fix mistake, NULL check
37 should be on DEST argument
paula1ac18c2005-06-28 17:17:12 +000038
paul62debbb2005-06-14 14:07:07 +0000392005-06-14 Paul Jakma <paul.jakma@sun.com>
40
41 * kernel_socket.c: consolidate the IFAM{ADDR,MASK}GET and
42 RTM{ADDR,MASK}GET macros into generic rta_addrs macros,
43 RTA_{ADDR,ATTR}_GET.
44 (af_check) could use 'inline' attribute
45 (ifam_read_mesg) remove IFAM{ADDR,MASK}GET macro, change to
46 generic macro.
47 (rtm_read_mesg) similar
48
hasso1ada8192005-06-12 11:28:18 +0000492005-06-12 Hasso Tepper <hasso at quagga.net>
50
51 * rt_netlink.c: Remove netlink-addr socket declaration, it's not used.
52 * rt_netlink.c (netlink_parse_info): Fix debug messages - nlmsg_pid is
53 unsigned and one zlog call had swapped arguments.
54 * rt_netlink.c (netlink_route_multipath): Fix compile with disabled
55 IPv6 support.
56
paul1dcb5172005-05-31 08:38:50 +0000572005-05-31 Paul Jakma <paul.jakma@sun.com>
58
59 * zserv.c: (zsend_route_multipath) Fix bug if route is sent
60 with no NEXTHOP_FLAG_FIB nexthops. As ZAPI_MESSAGE_IFINDEX
61 and ZAPI_MESSAGE_NEXTHOP are always set, clients would try
62 read non-existent nexthop information and hit stream assert.
63 Zserv is still broken for multi-nexthop messages, but it always was.
64
paul69e10ad2005-05-06 21:27:33 +0000652005-05-06 Paul Jakma <paul.jakma@sun.com>
66
67 * zserv.h: Remove ZEBRA_PORT definition, its in lib/zebra.h now
68
paul4d38fdb2005-04-28 17:35:14 +0000692005-04-28 Paul Jakma <paul.jakma@sun.com>
70
71 * rib.h: (struct rib) Add lock field for refcounting.
72 * zserv.h: (struct zebra_t) Add a ribq workqueue to the zebra
73 'master' struct.
74 * zserv.c: (zread_ipv4_add) XMALLOC then memset should be XCALLOC.
75 * zebra_rib.c: Clean up refcounting of route_node, make struct rib
76 refcounted and convert rib_process to work-queue. In general,
77 rib's should be rib_addnode'd and delnode'd to route_nodes, and
78 these symmetrical functions will manage the locking of referenced
79 route_node and freeing of struct rib - rather than having users
80 manage each seperately - with much scope for bugs..
81 (newrib_free) removed and replaced with rib_lock
82 (rib_lock) new function, check state of lock and increment.
83 (rib_unlock) new function, check lock state and decrement. Free
84 struct rib if refcount hits 0, freeing struct nexthop's, as
85 newrib_free did.
86 (rib_addnode) Add RIB to route_node, locking both.
87 (rib_delnode) Delete RIB from route_node, unlocking each.
88 (rib_process) Converted to a work-queue work function.
89 Functional changes are minimal, just arguments, comments and
90 whitespace.
91 (rib_queue_add_qnode) Helper function to setup a ribq item.
92 (rib_queue_add) Helper function, same arguments as old
93 rib_process, to replace in callers of rib_process.
94 (rib_queue_qnode_del) ribq deconstructor.
95 (rib_queue_init) Create the ribq.
96 (rib_init) call rib_queue_init.
97 (remainder) Sanitise refcounting of route_node's. Convert to
98 rib_queue_add, rib_addnode and rib_delnode. Change XMALLOC/memset
99 to XCALLOC. Remove calls to nexthop_delete and nexthop_free.
100
paulcf460ef2005-04-10 16:54:26 +00001012005-04-10 Paul Jakma <paul@dishone.st>
102
103 * if_ioctl_solaris.c: (if_lookup_linklocal) fix order of args
104 in ALL_LIST_ELEMENTS_RO macro.
105
ajs57a14772005-04-10 15:01:56 +00001062005-04-10 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
107
108 * zserv.c (zebra_client_read): Fix bug: first read attempt should
109 read ZEBRA_HEADER_SIZE minus the number of bytes already read.
110 Improve efficiency by maintaining a calculation of the number
111 of bytes read instead of calling stream_get_endp multiple times.
112 If message length is too small, issue a warning message (not debug)
113 before closing the connection. And also check that message length
114 is not too big.
115
hasso206d8052005-04-09 16:38:51 +00001162005-04-09 Hasso Tepper <hasso at quagga.net>
117
hassofa599802005-04-09 16:59:28 +0000118 * rt_netlink.c: One tiny missing comma caused pointless debug messages
119 about IPv6 nexthops.
120
1212005-04-09 Hasso Tepper <hasso at quagga.net>
122
hasso206d8052005-04-09 16:38:51 +0000123 * rt_netlink.c (netlink_parse_info): Fix warning. It's safe to cast
124 status to unsigned here, because we already checked that it isn't
125 negative or 0.
126 * rt_netlink.c (netlink_interface_addr): Prefix length belongs to the
127 address, not to the interface.
128 * rt_netlink.c (netlink_route_multipath): Fix debug. No useless info
129 is printed out now and IPv6 info is handeled.
130
paul3d1dc852005-04-05 00:45:23 +00001312005-04-05 Paul Jakma <paul@dishone.st>
132
133 * zserv.c: print more helpful errors when we fail to successfully
134 bind and listen on zserv socket. Closes bugzilla #163.
135
ajsd2fc8892005-04-02 18:38:43 +00001362005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
137
ajs08dbfb62005-04-03 03:40:52 +0000138 * if_ioctl.c: (interface_list_ioctl) Use if_get_by_name_len.
139 * if_proc.c: (ifaddr_proc_ipv6) Increase size of ifname buffer to
140 avoid overflow.
141 * kernel_socket.c: (ifan_read) Use if_get_by_name_len.
142
1432005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
144
ajsa3491982005-04-02 22:50:38 +0000145 * kernel_socket.c: (ifm_read) Use new if_lookup_by_name_len function
146 to save a memcpy.
147 * if_ioctl_solaris.c: (interface_list_ioctl) Fix subtle bug with new
148 if_get_by_name_len function.
149
1502005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
151
ajsd2fc8892005-04-02 18:38:43 +0000152 * interface.c: (if_new_intern_ifindex) Remove obsolete function.
153 (if_delete_update) After distributing the interface deletion message,
154 set ifp->ifindex to IFINDEX_INTERNAL.
155 (if_dump_vty) Detect pseudo interface by checking if ifp->ifindex is
156 IFINDEX_INTERNAL.
157 (zebra_interface) Check return code from interface_cmd.func.
158 Do not set internal ifindex values to if_new_intern_ifindex(),
159 since we now use IFINDEX_INTERNAL for all pseudo interfaces.
160 * kernel_socket.c: (ifm_read) Fix code and comments to reflect that
161 all internal interfaces now have ifp->ifindex set to IFINDEX_INTERNAL.
162 * rt_netlink.c: (set_ifindex) New function used to update ifp->ifindex.
163 Detects interface rename events by checking if that ifindex is already
164 being used. If it is, delete the old interface before assigning
165 the ifindex to the new interface.
166 (netlink_interface, netlink_link_change) Call set_ifindex to update
167 the ifindex.
168
hassob7ed1ec2005-03-31 20:13:49 +00001692005-03-31 Hasso Tepper <hasso at quagga.net>
170
171 * rt_netlink.c (netlink_talk_filter): Show always warning message,
172 it's not for debug.
173 * rt_netlink.c (netlink_talk): Don't assume we use netlink_cmd
174 although we do now actually.
175 * rt_netlink.c (netlink_route, netlink_route_multipath): Always use
176 netlink_cmd to send messages to the kernel.
177
ajs2da40f42005-03-30 16:33:13 +00001782005-03-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
179
180 * irdp.h: Add prototype for irdp_sock_init, and fix protos for
181 other irdp_* functions.
182 * irdp_interface.c: (irdp_if_start) If irdp_sock is negative,
183 call irdp_sock_init to create the IRDP socket.
184 (irdp_if_init) Rename to irdp_init().
185 (get_iflist_ifp) Remove function that is a duplicate of
186 if_lookup_by_index.
187 (*) Make many functions static. And remove superfluous "\n" from
188 several zlog messages.
189 * irdp_main.c: (irdp_init) Remove function that used to call
190 irdp_if_init() and irdp_sock_init(), since we will now create
191 the socket only upon first use.
192 (irdp_sock_init) Do not update global irdp_sock variable, just
193 return the fd and assume that the caller will do so. If setsockopt
194 calls fail, close the socket before returning -1.
195 (*) Make many functions static.
196 * irdp_packet.c: Initialize irdp_sock to -1.
197 (irdp_read_raw) Call standard library function if_lookup_by_index
198 instead of get_iflist_ifp.
199 (irdp_recvmsg) Should be static, not global.
200
ajsa608bbf2005-03-29 17:03:49 +00002012005-03-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
202
203 * rt_netlink.c: (netlink_link_change) If the status of an
204 operative interface changes (e.g. MTU changes), the client
205 daemons should be notified by calling zebra_interface_up_update.
206 Previously, the information was being updated in zebra's
207 interface structure, but the clients were not notified of
208 changes to an operative interface.
209
vincent7cee1bb2005-03-25 13:08:53 +00002102005-03-25 Jean-Mickael Guerin <jean-mickael.guerin@6wind.com>
211 * interface.c, interface.h, rtadv.c, rtadv.h: modifications to
212 IPv6 Neighbor Discovery according to RFC3775, section 7:
213 o 1-bit Home Agent flag management in Router Advertisement (7.1).
214 o 1-bit Router Address flag management in Prefix Information
215 Option (7.2).
216 o Advertisement Interval Option (7.3)
217 o Home Agent Information Option (7.4)
218 o Changes to Sending Router Advertisements more frequently (7.5)
219
hassoed9bb6d2005-03-13 19:17:21 +00002202005-03-13 Hasso Tepper <hasso at quagga.net>
221
222 * zebra/interaface.c: "show interface description" command
223 implemented.
224
paulc1f01f32005-03-12 06:33:14 +00002252005-03-12 Paul Jakma <paul@dishone.st>
226
227 * rt_netlink.c: (netlink_route_multipath) dont set equalise flag.
228 No stock Linux kernel has ever supported it, and even if it had
229 it's not generally a good idea.
230
hasso42a66d72005-03-07 08:19:44 +00002312005-03-07 Michael Sandee <voidptr@voidptr.sboost.org>
232
233 * if_proc.c, ipforward_proc.c, rtread_proc.c: Fix fd leaks.
234
hasso3452d472005-03-06 13:42:05 +00002352005-03-06 Hasso Tepper <hasso at quagga.net>
236
237 * interface.c: Fix CRC and frame errors statistics in Linux.
238
ajs719e9742005-02-28 20:52:15 +00002392005-02-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
240
241 * zserv.c: Must include network.h and buffer.h for non-blocking I/O.
242 Remove global message_queue and t_write (need separate buffering for
243 each client).
244 (zebra_server_dequeue,zebra_server_enqueue) Remove functions
245 related to old buggy buffering code.
246 (zserv_delayed_close) New thread callback function to delete a client.
247 (zserv_flush_data) New thread callback function to flush buffered
248 data to client.
249 (zebra_server_send_message) Rewritten to use buffer_write (so
250 buffering of writes and non-blocking I/O work properly).
251 (zsend_interface_add,zsend_interface_delete,zsend_interface_address,
252 zsend_interface_update) Return 0 instead of -1 if !client->ifinfo
253 (this is not really an error). Return value from
254 zebra_server_send_message.
255 (zsend_route_multipath,zsend_ipv4_nexthop_lookup,
256 zsend_ipv4_import_lookup) Return value from zebra_server_send_message.
257 (zsend_ipv6_nexthop_lookup) Fix scope to static, and return value
258 from zebra_server_send_message.
259 (zsend_router_id_update) Must use zebra_server_send_message instead
260 of deprecated writen function. Return 0 instead of -1 if this client
261 is not subscribed to router-id updates (since this is not really
262 an error).
263 (zread_interface_add) Change type to static int. If
264 zsend_interface_add fails or zsend_interface_address fails, return -1
265 immediately (since the client has had an I/O error).
266 (zread_interface_delete,zread_ipv4_add,zread_ipv4_delete,
267 zread_ipv6_add,zread_ipv6_delete,zread_router_id_delete) Return 0
268 to indicate success.
269 (zread_ipv4_nexthop_lookup) Return value from
270 zsend_ipv4_nexthop_lookup.
271 (zread_ipv4_import_lookup) Return value from zsend_ipv4_import_lookup.
272 (zebra_read_ipv6) Remove unused function.
273 (zread_ipv6_nexthop_lookup) Return value from
274 zsend_ipv6_nexthop_lookup.
275 (zread_router_id_add) Return value from zsend_router_id_update.
276 (zebra_client_close) Call buffer_free(client->wb) and
277 thread_cancel(client->t_suicide).
278 (zebra_client_create) Allocate client->wb using buffer_new.
279 (zebra_client_read) Support non-blocking I/O by using stream_read_try.
280 Use ZEBRA_HEADER_SIZE instead of 3.
281 (zebra_accept) Fix bug: reset accept thread at top. Make client
282 socket non-blocking using the set_nonblocking function.
283 (config_write_forwarding) Fix scope to static.
284 (zebra_init) Remove initialization code for old buggy write buffering.
285 * zserv.h: Add 2 new fields to struct zserv: struct buffer *wb
286 (to enable buffered writes with non-blocking I/), and
287 struct thread *t_suicide to support delayed close on I/O
288 errors.
289 * router-id.h: Remove prototypes for zread_router_id_add and
290 zread_router_id_delete (their scope should be static to zserv.c).
291
ajs27da3982005-02-24 16:06:33 +00002922005-02-24 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
293
294 * redistribute.c: (zebra_check_addr,is_default,
295 zebra_redistribute_default,zebra_redistribute) Fix scope to be static.
296
hassoe8274dc2005-02-20 19:09:23 +00002972005-02-20 Hasso Tepper <hasso at quagga.net>
298
299 * rt_netlink.c: Don't show messages "ignoring message type 0x001[89]"
300 if we are not debugging.
301
paule31f2292005-02-19 02:00:26 +00003022005-02-19 Paul Jakma <paul@dishone.st>
303
304 * zserv.c: (zebra_read_ipv6) replace the char * arithmetic with
305 STREAM_READABLE.
306
paul1e193152005-02-14 23:53:05 +00003072005-02-14 Paul Jakma <paul@dishone.st>
308
309 * Not all Linux netlink systems have IFLA_WIRELESS
310
ajs6a52d0d2005-01-30 18:49:28 +00003112005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
312
313 * ioctl.c: (if_ioctl,if_ioctl_ipv6,if_get_flags) Replace perror with
314 zlog_err.
315 * ioctl_solaris.c: (if_ioctl,if_ioctl_ipv6) Replace perror with
316 zlog_err.
317
ajs4be019d2005-01-29 16:12:41 +00003182005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
319
ajs4460e7a2005-01-29 17:07:40 +0000320 * if_ioctl_solaris.c: (interface_list_ioctl) Save errno before calling
321 zserv_privs.change.
322 * ioctl{,_solaris}.c: (if_ioctl,if_ioctl_ipv6) Save errno before calling
323 zserv_privs.change.
324 * ipforward_solaris.c: (solaris_nd) Save errno before calling
325 zserv_privs.change.
326 * irdp_main.c: (irdp_sock_init) Save errno before calling
327 zserv_privs.change.
328
3292005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
330
ajs4be019d2005-01-29 16:12:41 +0000331 * rt_netlink.c: (netlink_socket,netlink_request,netlink_parse_info,
332 netlink_talk) Save errno before calling zserv_privs.change.
333
paulc15cb242005-01-24 09:05:27 +00003342005-01-24 Martin Pot <mpot at martybugs.net>
335
336 * zebra/rt_netlink.c: ignore wireless newlink netlink messages.
337
hasso6f2c27a2005-01-18 13:44:35 +00003382005-01-18 Hasso Tepper <hasso at quagga.net>
339
340 * interface.c: Better statistics output in "show interface" command in
341 case of /proc being used.
342
hasso583d8002005-01-16 23:34:02 +00003432005-01-17 Hasso Tepper <hasso at quagga.net>
344
345 * main.c: With --nl-bufsize argument is required.
346
paul865b8522005-01-05 08:30:35 +00003472005-01-05 Paul Jakma <paul@dishone.st>
348
349 * zserv.c: (zebra_accept) Comment out setting of socket to NONBLOCK
350 for now, as we dont actually deal with with resending.... See
351 bugzilla #122, fix from wawa@yandex-team.ru (Vladimir Ivanov).
352 * kernel_socket.c: (routing_socket) ditto.
353
ajsb99760a2005-01-04 16:24:43 +00003542005-01-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
355
356 * rtadv.c: (rtadv_recv_packet,rtadv_send_packet) Use ZCMSG_FIRSTHDR
357 instead of CMSG_FIRSTHDR.
358
ajs341a8f12004-12-22 16:32:16 +00003592004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
360
361 * connected.c: (connected_add_ipv4) Limit warning about /32 addresses
362 with no peer specified to PtP interfaces only.
363
hassob8adec12004-12-18 16:03:28 +00003642004-12-18 Hasso Tepper <hasso at quagga.net>
365
366 * zebra_vty.c: Fix "show ipv6 route <proto>" command help and make it
367 work for isis routes.
368
gdt6a250b02004-12-09 14:48:12 +00003692004-12-09 Greg Troxel <gdt@fnord.ir.bbn.com>
370
371 * kernel_socket.c (rtmsg_debug): char * => const char *
372
ajs274a4a42004-12-07 15:39:31 +00003732004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
374
ajsb6178002004-12-07 21:12:56 +0000375 * *.c: Change level of debug messages to LOG_DEBUG.
376
3772004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
378
ajs274a4a42004-12-07 15:39:31 +0000379 * main.c: (main) The 2nd argument to openzlog has been removed.
380 So stdout logging will no longer be enabled by default.
381 * irdp_main.c: (irdp_finish) Reduce severity of shutdown message
382 from LOG_WARNING to LOG_INFO.
383
ajs887c44a2004-12-03 16:36:46 +00003842004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
385
386 * main.c: (sigint) Use zlog_notice for termination message.
387 (main) Add a startup announcement using zlog_notice.
388
hassoaccb1562004-11-25 19:21:07 +00003892004-11-25 Hasso Tepper <hasso at quagga.net>
390
391 * irdp_interface.c: Remove comment from DEFUN, it breaks vtysh because
392 it confuses extract.pl.
hassoc0652302004-11-25 19:33:48 +0000393 * main.c: Make group to run as configurable.
hassoaccb1562004-11-25 19:21:07 +0000394
hasso6bd7c6a2004-10-28 17:32:27 +00003952004-10-28 Hasso Tepper <hasso at quagga.net>
396
397 * interface.c: Remove dead "ip tunnel" command.
398
paul06f953f2004-10-22 17:00:38 +00003992004-10-22 Paul Jakma <paul@dishone.st>
400
401 * irdp_main.c: change setsockopt_pktinfo to setsockopt_ifindex
402
hasso3fb9cd62004-10-19 19:44:43 +00004032004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
404
405 * rt_netlink.c: (netlink_interface_addr) For PtP interfaces, ignore
406 tb[IFA_ADDRESS] if it's the same as tb[IFA_LOCAL].
407 * interface.c: (ip_address_install) Use new ipv4_broadcast_addr
408 function.
409 * connected.c: (connected_up_ipv4) Use CONNECTED_POINTOPOINT_HOST
410 macro.
411 (connected_down_ipv4) ditto.
412 (connected_add_ipv4) Validate destination address, print warnings
413 if it does not make sense.
414
hassoc1eaa442004-10-19 06:26:01 +00004152004-10-19 Hasso Tepper <hasso at quagga.net>
416
417 * zserv.c: Fix regression introduced with zserv cleanup.
418
hassoc75105a2004-10-13 10:33:26 +00004192004-10-13 Hasso Tepper <hasso at quagga.net>
420
421 * zebra_snmp.c: Remove defaults used to initialize smux connection to
422 snmpd. Connection is initialized only if smux peer is configured.
hassob71f00f2004-10-13 12:20:35 +0000423 * zserv.c: Remove useless warnings "forwarding is already on".
hassoc75105a2004-10-13 10:33:26 +0000424
hasso39ff11d2004-10-12 15:55:19 +00004252004-10-12 Hasso Tepper <hasso at quagga.net>
426
427 * zebra_vty.c: Unbreak "show ip route" command help and make it work
428 for isis routes.
hasso39db97e2004-10-12 20:50:58 +0000429 * interface.c(if_dump_vty): Show IPv6 addresses in "show interface"
430 output. Fixes Bugzilla #119.
431 * *.c: Make some strings const and some (unsigned) casts to fix
432 compiler warnings.
hasso39ff11d2004-10-12 15:55:19 +0000433
hassofce954f2004-10-07 20:29:24 +00004342004-10-07 Hasso Tepper <hasso at quagga.net>
435
436 * connected.c, main.c, rt_netlink.c, rtadv.c, zebra_rib.c, zserv.c:
437 Fix warnings: make strings const, signed -> unsigned.
438
paul72164662004-10-05 14:39:43 +00004392004-10-05 Paul Jakma <paul@dishone.st>
440
441 * irdp_packet.c: (parse_irdp_packet) style issues.
442 Use sockopt_iphdrincl_swab_systoh.
443 Try unbork the code. Checksum the ICMP data and actually
444 compare it to received checksum. Check data length against
445 claimed length in header.
446 Always use ntoh.. when accessing addresses, even when the
447 comparison happens to be endian-safe.
448 (send_packet) minor style isues. Use
449 sockopt_iphdrincl_swab_htosys.
450 (irdp_iph_hton/ntoh) IP header to/from network/host order.
451
hassoeef1fe12004-10-03 18:46:08 +00004522004-10-03 Gilad Arnold <gilad.arnold at terayon.com>
453
454 * interface.c, interface.h: A new prefix tree of connected subnets is
455 associated with each interface structure in zebra, in which each
456 live (ie, non-synthetic) node holds a list of installed addresses
457 that belong to that prefix. Remove secondary address logic from cli.
458 See [quagga-dev 872] for detailed explanation.
459 * connected.c: Use if_subnet_add() and if_subnet_delete().
460
hasso18a6dce2004-10-03 18:18:34 +00004612004-10-03 James R. Leu <jleu at mindspring.com>
462
463 * router-id.c, router-id.h: New files. Router id selection process. If
464 there is non 127.x.x.x address in loopack interface, lowest of them
465 is chosen. If there isn't, lowest from other interfaces addresses
466 are chosen. "router-id x.x.x.x" vty command to manual override.
467 * Makefile.am: Compile new files.
468 * main.c: Initialize router id.
469 * redistribute.c: Add interface addresses into router id selection
470 lists as they (dis)appear.
471 * zserv.c, zserv.h: Sending router id related messages to daemons.
472
hassoc9e52be2004-09-26 16:09:34 +00004732004-09-26 Hasso Tepper <hasso at quagga.net>
474
475 * irdp_interface.c, irdp_main.c, irdp_packet.c, rt_netlink.c,
476 rtadv.c, zebra_vty.c: Fix compiler warnings.
477
paul0c0f9112004-09-24 08:24:42 +00004782004-09-24 Paul Jakma <paul@dishone.st>
479
paul26f7a242004-09-24 08:45:10 +0000480 * irdp_interface.c: (no_ip_irdp_address_preference_cmd)
481 add missing listnode declaration.
482
4832004-09-24 Paul Jakma <paul@dishone.st>
484
paul0c0f9112004-09-24 08:24:42 +0000485 * irdp_{interface,main}.c: lists typedef removal cleanup.
486 update some list loops to LIST_LOOP. some miscellaneous style
487 and indent fixups.
488 (no_ip_irdp_address_preference_cmd) Fix delete of referenced node
paul26f7a242004-09-24 08:45:10 +0000489 in loop.
paul0c0f9112004-09-24 08:24:42 +0000490 * irdp_packet.c: (irdp_recvmsg) Fix buggy assignment of integer
491 to pointer.
492 * if_ioctl{,_solaris}.c: lists typedef removal cleanup.
493 update some list loops to LIST_LOOP.
494
hasso52dc7ee2004-09-23 19:18:23 +00004952004-09-23 Hasso Tepper <hasso at quagga.net>
496
497 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
498
paul44983cf2004-09-22 13:15:58 +00004992004-09-22 Paul Jakma <paul.jakma@sun.com>
500
501 * zserv.c: (zsend_route_multipath) fix nasty bad memset of struct
502 in_addr to sizeof(struct in6_addr), causing odd and hard to debug
503 crash.
504
hassoc34b6b52004-08-31 13:41:49 +00005052004-08-31 Hasso Tepper <hasso at quagga.net>
506
507 * main.c, rt_netlink.c: Added -s command line switch for tuning
508 netlink receive buffer size in Linux to avoid buffer overruns.
509
gdta5ea6872004-08-26 13:24:00 +00005102004-08-26 Miles Nordin <carton@Ivy.NET>
511
512 * ipforward_sysctl.c (mib_ipv6): Use size_t for len, per
513 sysctl(3), rather than int. (Needed on NetBSD/alpha to display
514 forwarding status correctly.)
515
paul3e0b3a52004-08-23 18:58:32 +00005162004-08-23 Paul Jakma <paul@dishone.st>
517
518 * zserv.c: (zebra_init) remove implicit ip forward enabling
519
paul0de1cde2004-08-19 04:45:33 +00005202004-08-19 Paul Jakma <paul@dishone.st>
521
522 * irdp_main.c: update to match sockopt renames.
523 * irdp_packet.c: include sockopt.h and update to match sockopt
524 renames.
525
gdt57492d52004-08-11 18:06:38 +00005262004-08-11 Greg Troxel <gdt@fnord.ir.bbn.com>
527
528 * rtadv.c (rtadv_send_packet): Allocate space for control messages
529 more carefully; it was wrong on NetBSD/sparc where CMSG alignment
530 is to 8 bytes instead of 4, and overwriting the address. Use the
531 provided macros for determining lengths.
532
paul5b73a672004-07-23 15:26:14 +00005332004-07-23 Sowmini Varadhan <Sowmini.Varadhan@Sun.COM>
534
535 * if_ioctl_solaris.c: HAVE_IPV6 ifdef fixups
536 * zserv.c: ditto
537 * ioctl_solaris.c: ditto.
538 * interface.c: cast for LLADDR
539 * interface.h: Add guards, include redistribute.h and remove
540 extraneous definitions of zebra_interface_{up,down}_update
541 * ioctl.h: Add AF_IOCTL define for non SOLARIS_IPV6
542 * redistribute.h: include dependent header, zserv.h
543 * zserv.h: include dependent header, rib.h
544
paul1470baf2004-07-23 15:25:01 +00005452004-07-23 Paul Jakma <paul@dishone.st>
546
547 * irdp_main.c: use setsockopt_pktinfo_ipv4
548 * irdp_packet.c: use SOPT_SIZE_CMSG_PKTINFO_IPV4 and
549 getsockopt_pktinfo_ifindex()
550
gdtcced60d2004-07-13 16:45:54 +00005512004-07-13 David Wiggins <dwiggins@bbn.com
552
553 * kernel_socket.c (rtm_flag_dump): terminate buffer with '\0', not '0'.
554
hasso25dac852004-07-13 03:06:51 +00005552004-07-13 Hasso Tepper <hasso@estpak.ee>
556
557 * irdp_main.c: Add privilege change.
558
hasso996933f2004-07-12 16:32:56 +00005592004-07-12 Hasso Tepper <hasso@estpak.ee>
560
561 * irdp_interface.c: follow common style while naming vty command
562 functions. Avoids confusion in extract.pl.
563
gdt87efd642004-06-30 17:36:11 +00005642004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
565
566 * main.c: define thread_master variable so that linking with
567 libzebra.so doesn't fail. Arguably zclient.o should be in a
568 separate library, but this is far less disruptive.
569
hassoca776982004-06-12 14:33:05 +00005702004-06-12 Robert Olsson <Robert.Olsson at data.slu.se>
571
572 * Added IRDP support.
573
hasso3e31cde2004-05-18 11:58:59 +00005742004-05-18 Hasso Tepper <hasso@estpak.ee>
575
576 * rtadv.c: Removed "[no] ipv6 nd send-ra" command. Replaced "ipv6 nd
577 prefix-advertisement" with "ipv6 nd prefix". Rewrite syntax of
578 "ipv6 nd prefix" command to allow various combinations of parameters
579 and flags. No defaults in configuration. Replaced on-link and
580 autoconfig with off-link and no-autoconfig flags in command syntax.
581 Cosmetic fixes in all commands. Documentation to reflect all changes.
582
paul19877dd2004-05-11 10:49:35 +00005832004-05-11 Paul Jakma <paul@dishone.st>
584
585 * Makefile.am: support for IOCTL_METHOD, as per Sowmini's patch.
paul48a46fa2004-05-11 10:55:22 +0000586 * if_ioctl_solaris.c: Fixup some erroneous privilege changes and
587 add privs.h header.
588 * ioctl_solaris.c: ditto
paulc50ae8b2004-05-11 11:31:07 +0000589 * ioctl.h: Add if_ioctl_ipv6 prototype and AF_IOCTL for SOLARIS_IPV6
590 * kernel_socket.c: Fix SAROUNDUP, compiler doesnt like do..while
591 RHS in assignments :)
592 * redistribute.c: (zebra_interface_delete_update) only used
593 if RTM_IFANNOUNCE and NETLINK is available.
594
paulb9df2d22004-05-09 09:09:59 +00005952004-05-09 Paul Jakma <paul@dishone.st>
596
597 * zserv.c: (zsend_route_multipath) Set the nexthop_num
598 field correctly. Add NEXTHOP_TYPE_IPV6_IFNAME for v6.
599 Conditionally set ZAPI_MESSAGE_METRIC flag - only for adds.
600 (zsend_ipv4_add) cruft, deleted.
601 (zsend_ipv4_delete) ditto.
602 (zsend_ipv6_add) ditto.
603 (zsend_ipv6_delete) ditto.
paul44145db2004-05-09 11:00:23 +0000604 * ioctl.c: (if_get_mtu) set mtu6 to mtu
605 * mtu_kvm.c: (if_kvm_get_mtu) set mtu6 to mtu
606 * rt_netlink.c: (netlink_interface) set mtu6 to mtu
607 (netlink_link_change) ditto
paul66e94882004-05-09 17:19:24 +0000608 * ipforward_solaris.c: fix typo of ND variable.
paul88424682004-05-09 18:21:35 +0000609 * if_ioctl_solaris.c: Add zprivs support.
610 * ioctl_solaris.c: ditto.
paul66e94882004-05-09 17:19:24 +0000611
paulb9df2d22004-05-09 09:09:59 +00006122004-05-09 Sowmini Varadhan <sowmini.varadhan@sun.com>
613
614 * zserv.c: (zsend_ipv{4,6}_{add,delete}_multipath) collapsed
615 into single zsend_route_multipath function.
616 (zsend_interface_{up,down}) collapsed into zsend_interface_update.
617 (zsend_interface_address_{add,delete}) collapsed into
618 zsend_interface_address.
619 (zsend_interface_add) send mtu6.
620 (zsend_interface_delete) ditto.
621 (zebra_write) remove unused function.
622 (various) Apply static qualifier. Add comments.
623 * zserv.h: Definitions changed as per above.
624 * redistribute.c: Changes as per zserv.c.
paul44145db2004-05-09 11:00:23 +0000625 * interface.c: (if_delete_update) only used with HAVE_NETLINK
626 and RTM_IFANNOUNCE.
627 (if_flag_dump_vty) Solaris IFF_IPV4 and IFF_IPV6 if flags
628 (if_dump_vty) print mtu6 if not same as mtu
paul88424682004-05-09 18:21:35 +0000629 * if_ioctl_solaris.c: New file, Solaris interface ioctl methods.
630 * ioctl_solaris.c: New file, Common solaris ioctl methods.
631
hasso34195bf2004-04-06 12:07:06 +00006322004-04-06 Krzysztof Oledzki <oleq@ans.pl>
633
634 * rt_netlink.c: Do not ignore metric when reading kernel routing
635 table on Linux with rt_netlink interface.
636
6372004-03-18 Hasso Tepper <hasso@estpak.ee>
hassof1d92e12004-03-18 15:40:33 +0000638
639 * interface.c: Temporary fix for handling secondary addresses
640 with label.
641
hasso55906722004-02-11 22:42:16 +00006422004-02-12 Hasso Tepper <hasso@estpak.ee>
hassof1d92e12004-03-18 15:40:33 +0000643
hasso55906722004-02-11 22:42:16 +0000644 * zserv.c: Added "ipv6 forwarding" command.
645
gdtb27900b2004-01-08 15:44:29 +00006462004-01-08 Greg Troxel <gdt@fnord.ir.bbn.com>
647
648 * kernel_socket.c (kernel_read): Use sockaddr_storage in buffer
649 for reading kernel messages to ensure enough space (necessary on
650 Solaris due to sockaddr_dl being large). Thanks to Sowmini
651 Varadhan for help with this change.
652
gdt9ccabd12004-01-06 18:23:02 +00006532004-01-06 Greg Troxel <gdt@t1.ir.bbn.com>
654
655 * rtadv.c (rtadv_send_packet): Change perror to zlog_err.
656
gdtdbee01f2004-01-06 00:36:51 +00006572004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
gdt4bfbea82004-01-06 01:13:05 +0000658 * kernel_socket.c (ifm_read): Major cleanup. Use Sowmini's code
659 to find the sockaddr_dl in all cases, narrowing the Solaris ifdef
660 to just the accomodation of broken kernels. Check sockaddr_dl
661 carefully up front, and later assume any non-NULL sdl pointer is
662 valid. Clean up types and variable declarations, and rename
663 WRAPUP to SAROUNDUP to make the name fit the behavior.
664
6652004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
gdtdbee01f2004-01-06 00:36:51 +0000666
667 * kernel_socket.c (kernel_read): Add a sockaddr_dl to the ifmsg
668 structure, because on Solaris sockaddr_dl is far larger than the
669 base sockaddr structure. (The code had previously been failing to
670 read all the data.)
gdt4bfbea82004-01-06 01:13:05 +0000671
gdtda26e3b2004-01-05 17:20:59 +00006722004-01-05 Greg Troxel <gdt@ahi.ir.bbn.com>
673
674 * kernel_socket.c (kernel_read): Look up interfaces by index
675 first, so that state changes which do not include a sockaddr_dl
676 now work. Add many sanity checks. In
677 particular, do not assume that a sockaddr_dl follows a message
678 without checking the ifm_addrs flags, and do not trust the length
679 in a sockaddr_dl. Add/clarify many comments.
680
gdt4b5e1352003-12-03 17:54:34 +00006812003-12-03 Greg Troxel <gdt@poblano.ir.bbn.com>
682
683 * rtadv.c: reorder includes to avoid compiler warning (define
684 structs before using them in prototypes)
685
hasso647e4f12003-05-25 11:43:52 +00006862003-05-25 Jim Crumpler <Jim.Crumpler@edion.com>
687
688 * zserv.c: Add "ip forwarding" command.
689
paul445f1432003-05-16 19:00:31 +00006902003-05-16 Gilad Arnold <gilad.arnold@terayon.com>
691
692 * zebra_rib.c: Fix memory leaks for ifname nexthops
693
6942003-04-19 Israel Keys <ikeys@agile.tv>
695
696 * rt_netlink.c: BLOCK on netlink while initialising
697
6982003-02-06 Francois Deppierraz <francois@ctrlaltdel.ch>
699
700 * rt_netlink.c (netlink_route_multipath): Set RTM_F_EQUALIZE when
701 it exists.
702
paul718e3742002-12-13 20:15:29 +00007032002-09-28 Akihiro Mizutani <mizutani@net-chef.net>
704
705 * zebra_rib.c (static_add_ipv4): Null0 static route is added.
706
7072002-09-10 Jochen Friedrich <chris+zebra@scram.de>
708
709 * rt_netlink.c: Add check for EAGAIN.
710 * kernel_socket.c: Likewise
711
7122002-06-12 Israel Keys <ikeys@oz.agile.tv>
713
714 * rt_netlink.c: Setting the NLM_F_ACK flag on the netlink command
715 message so that we get an ACK for successful netlink commands.
716 Change the netlink socket to BLOCKING while we wait for a
717 response; be it an ACK or an NLMSG_ERROR. Change
718 netlink_parse_info to deal with ACK messages.
719
7202001-11-01 Jun-ichiro itojun Hagino <itojun@iijlab.net>
721
722 * rtadv.c (rtadv_make_socket): setsockopt(IPV6_CHECKSUM) does not
723 work for ICMPv6 socket.
724
7252001-10-24 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
726
727 * rib.c (rib_process): Select connected route any case.
728
7292001-10-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
730
731 * interface.c (no_ip_address_secondary): Add "no" to command.
732
7332001-10-18 NOGUCHI Kay <kay@v6.access.co.jp>
734
735 * ioctl.c (if_prefix_add_ipv6): Set the prefered and valid lifetime
736 to infinity as the freebsd4.4 workaroud.
737
7382001-08-26 mihail.balikov@interbgc.com
739
740 * zebra_snmp.c: Fix snmpwalk problem such as IPv4 address
741 A.B.C.255.
742
7432001-08-22 NOGUCHI Kay <kay@v6.access.co.jp>
744
745 * rtadv.c: Do not send RA to loopback interface.
746
7472001-08-20 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
748
749 * ioctl.c (if_set_prefix): Remove Linux 2.0 specific connected
750 route treatment.
751
7522001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
753
754 * zebra-0.92a released.
755
7562001-08-17 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
757
758 * rib.c: Kernel route is treated as EGP routes in nexthop active
759 check.
760
7612001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
762
763 * zebra-0.92 released.
764
7652001-08-08 "Akihiro Mizutani" <mizutani@dml.com>
766
767 * rib.c (show_ip_route_prefix_longer): Add longer-prefix option to
768 show route commands.
769
7702001-07-29 Yon Uriarte <havanna_moon@gmx.net>
771
772 * zserv.c (zsend_ipv4_add_multipath): Add
773 NEXTHOP_TYPE_IPV4_IFINDEX check.
774
7752001-07-29 NOGUCHI Kay <kay@v6.access.co.jp>
776
777 * rtadv.c: Apply valid lifetime, preferred lifetime, onilnk flag,
778 autonomous address-configuration flag patch.
779 (no_ipv6_nd_suppress_ra): Change "ipv6 nd send-ra" to "no ipv6 nd
780 suppress-ra".
781
7822001-07-24 NOGUCHI Kay <kay@v6.access.co.jp>
783
784 * rtadv.c (ipv6_nd_ra_interval): Add "ipv6 nd ra-interval SECONDS"
785 command.
786
7872001-07-24 Jun-ichiro itojun Hagino <itojun@iijlab.net>
788
789 * rt_socket.c (kernel_rtm_ipv4): Add KAME/NetBSD151 equal cost
790 multicast FIB support both IPv4 and IPv6.
791
7922001-07-24 Hal Snyder <hal@vailsys.com>
793
794 * if_ioctl.c (interface_list_ioctl): Fix bug of failing to get the
795 full list of interfaces on some configurations of OpenBSD.
796
7972001-07-23 NOGUCHI Kay <kay@v6.access.co.jp>
798
799 * rtadv.c (ipv6_nd_send_ra): Apply [zebra 9320] to fix "ipv6 nd
800 send-ra" bug.
801 (ipv6_nd_ra_lifetime): "ipv6 nd ra-lifetime 0" for default router
802 availability.
803 (ipv6_nd_managed_config_flag): "ipv6 nd managed-config-flag" is
804 added.
805 (ipv6_nd_other_config_flag): "ipv6 nd other-config-flag" is added.
806
8072001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
808
809 * ioctl.c (if_ioctl): Change ioctl argument from int to u_long.
810
811 * rt_ioctl.c: Likewise.
812
8132001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
814
815 * kernel_socket.c (rtm_write): Only set RTF_CLONING when the
816 interface is not p2p.
817
8182001-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
819
820 * ioctl.c (if_prefix_add_ipv6): Fix argument type.
821
8222001-04-06 Toshiaki Takada <takada@zebra.org>
823
824 * zserv.c (zsend_interface_delete): Use client->obuf instead of
825 allocating new stream.
826
8272001-03-10 Kunihiro Ishiguro <kunihiro@zebra.org>
828
829 * rt_netlink.c: Revert RTPROT_BOOT change.
830
8312001-03-08 Kunihiro Ishiguro <kunihiro@zebra.org>
832
833 * rt_netlink.c (netlink_route_change): Skip RTPROT_BOOT route.
834 (netlink_routing_table): Likewise.
835
8362001-03-07 "Akihiro Mizutani" <mizutani@dml.com>
837
838 * zserv.c (zsend_ipv4_add_multipath): Send metric value to
839 protocol daemons.
840
8412001-02-18 Kunihiro Ishiguro <kunihiro@zebra.org>
842
843 * rt_netlink.c (netlink_routing_table): Do not return
844 tb[RTA_GATEWAY] is NULL. Reported by: "Michael O'Keefe"
845 <mokeefe@qualcomm.com>.
846
8472001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
848
849 * if_ioctl.c (interface_list_ioctl): Call if_add_update().
850 Suggested by: Chris Dunlop <chris@onthe.net.au>.
851
8522001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
853
854 * rib.c (nexthop_active_ipv4): When nexthop type is
855 NEXTHOP_TYPE_IPV4_IFINDEX, propery set the ifindex to rifindex.
856
857 * zserv.c: Initialize rtm_table_default with 0.
858
859 * zebra-0.91 is released.
860
8612001-01-31 Kunihiro Ishiguro <kunihiro@zebra.org>
862
863 * kernel_socket.c (rtm_read): Filter cloned route. Suggested by:
864 Jun-ichiro itojun Hagino <itojun@iijlab.net>
865
8662001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
867
868 * connected.c (connected_up_ipv6): When point-to-point destination
869 address is ::, use local address for connected network.
870 (connected_down_ipv6): Likewise.
871
8722001-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
873
874 * zserv.c (zebra_serv): Add missing close() call. Reported by:
875 David Waitzman <djw@vineyard.net>.
876
8772001-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
878
879 * rib.c (rib_lookup_ipv4): New function for checking exact match
880 IGP route.
881
8822001-01-23 Kunihiro Ishiguro <kunihiro@zebra.org>
883
884 * rib.c (show_ipv6_route_protocol): Fix bug of "show ip route
885 route-type".
886
8872001-01-22 Kunihiro Ishiguro <kunihiro@zebra.org>
888
889 * interface.c (zebra_interface): Do not call
890 zebra_interface_add_update for inactive interface.
891
892 * zserv.c (zsend_interface_address_add): Send interface address
893 flag.
894 (zsend_interface_address_delete): Likewise.
895
8962001-01-19 Kunihiro Ishiguro <kunihiro@zebra.org>
897
898 * interface.c (if_addr_add): Add flags.
899
900 * connected.c (ifa_add_ipv4): Add new function for interface
901 address handling.
902 (ifa_delete_ipv4): Likewise.
903
9042001-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
905
906 * rib.c (rib_update): Update IPv6 RIB.
907
908 * kernel_socket.c (ifam_read): Call if_refresh() for update
909 interface flag status. This is for implicit interface up on *BSD.
910
911 * interface.c (if_refresh): Add interface flag refresh function.
912
913 * kernel_socket.c (rtm_read): Fetch link-local address interface
914 index.
915 (ifan_read): We need to fetch interface information. Suggested
916 by: Yasuhiro Ohara <yasu@sfc.wide.ad.jp>.
917
918 * rib.c (static_ipv6_nexthop_same): Add check for
919 NEXTHOP_TYPE_IPV6_IFNAME.
920
9212001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
922
923 * rib.h (NEW_RIB): Turn on NEW_RIB flag. IPv6 new RIB code are
924 taken into place.
925
9262001-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
927
928 * rib.c (static_ipv6_write): Display STATIC_IPV6_GATEWAY_IFNAME
929 configuration.
930 (rib_delete_ipv6): Handle same route conter for IPv6 connected
931 route.
932 (show_ipv6_route_protocol): New command.
933 (show_ipv6_route_addr): Likewise.
934 (show_ipv6_route_prefix): Likewise.
935 (rib_update): Sweep kernel route when it is cleaned up.
936
937 * rt_socket.c (kernel_add_ipv6): Add NEXTHOP_IPV6_IFNAME
938 treatmenet.
939
940 * rt_netlink.c (kernel_init): Likewise.
941
942 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): Likewise.
943
944 * rib.c (rib_add_ipv4): Cope with same connected route on a
945 interface. Suggested by: Matthew Grant <grantma@anathoth.gen.nz>.
946 (nexthop_ipv6_ifname_add): Add NEXTHOP_IPV6_IFNAME treatmenet.
947
948 * rib.h (struct new_rib): Add refcnt to keep track on the
949 reference of same connected route.
950
951 * ioctl.c (if_set_prefix): Add check for GNU_LINUX.
952
9532001-01-13 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
954
955 * kernel_socket.c (ifan_read, rtm_type_str): Add RTM_OIFINFO check.
956 (rtm_type_str): Add RTM_IFANNOUNCE check.
957 (ifan_read): New function.
958 (kernel_read): Add case for RTM_IFANNOUNCE.
959
9602001-01-13 Kunihiro Ishiguro <kunihiro@zebra.org>
961
962 * rt_ioctl.c (kernel_ioctl_ipv6_multipath): New function.
963
964 * rt_netlink.c (netlink_route_multipath): IPv6 address ifindex
965 treatment.
966
967 * connected.c (connected_up_ipv6): Add dest value check.
968
969 * rib.c (nexthop_active_ipv6): Do not touch IPv6 nexthop's
970 ifindex.
971 (rib_add_ipv4): Import rib_add_ipv6() same route check code.
972 (nexthop_active_check): NEXTHOP_TYPE_IPV6_IFINDEX activity is only
973 checked by ifindex.
974
975 * rt_socket.c (kernel_rtm_ipv6_multipath): New function.
976
977 * redistribute.c (redistribute_add): Use
978 zsend_ipv6_add_multipath().
979 (redistribute_delete_multipath): Use
980 zsend_ipv6_delete_multipath().
981
982 * interface.c (ip_address): Check current IP address to avoid
983 duplicate.
984
985 * rib.c (rib_delete_ipv4): When deleted route is connected route,
986 check ifindex.
987 (rib_add_ipv4): When connected route is added do not perform
988 implicit withdraw.
989 (rib_delete_ipv4): Check ifindex for connected route.
990
991 * kernel_socket.c (rtm_read): When route has RTF_STATIC, set
992 ZEBRA_FLAG_STATIC for indicate as persistent route.
993 (ifam_read): Unset interface index from link-local address when
994 IPv6 stack is KAME.
995
996 * rib.c (rib_update): Do not delete persistent kernel route.
997
998 * rib.h (struct new_rib): Integrate RIB_FLAG_* to ZEBRA_FLAG_*.
999
1000 * rt_socket.c (kernel_add_ipv6_multipath): Add placeholder.
1001 (kernel_delete_ipv6_multipath): Likewise.
1002
1003 * rt_netlink.c (netlink_talk): Give struct nlsock to netlink_talk.
1004
10052001-01-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1006
1007 * rib.c (rib_update): Revert Matthew Grant's patch
1008 zebra_cvs_newribfix.patch. Use struct rib->ifindex for kernel
1009 interface index. Introduce NEXTHOP_TYPE_IPV4_IFINDEX to support
1010 that. Add support for address deletion situation.
1011
10122001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1013
1014 * interface.c: Remove HAVE_IF_PSEUDO part.
1015
1016 * rib.h: Likewise.
1017
1018 * rt_netlink.c (netlink_link_change): Likewise.
1019
10202001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1021
1022 * zserv.c: Remove OLD_RIB codes.
1023
10242001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1025
1026 * zebra-0.90 is released.
1027
10282001-01-09 Matthew Grant <grantma@anathoth.gen.nz>
1029
1030 * interface.c (if_new_intern_ifindex): Allocate a new internal
1031 interface index.
1032 (if_addr_refresh): Fix up ip addresses configured via zebra.
1033 (if_add_update): Handle an interface addition.
1034 (if_delete_update): Handle an interface delete event.
1035
1036 * rib.c (nexthop_ipv4_add): Add kernel route deletion process when
1037 interface goes down.
1038
10392001-01-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1040
1041 * interface.c (if_dump_vty): When HAVE_NET_RT_IFLIST is defined,
1042 NetBSD also use this function. Suggested by Jasper Wallace
1043 <jasper@ivision.co.uk>.
1044
10452001-01-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1046
1047 * rib.c (nexthop_active_ipv4): Move back to set methodo to old
1048 one.
1049
10502001-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1051
1052 * rib.c (rib_add_ipv4): EBGP multihop set ZEBRA_FLAG_INTERNAL
1053 flag, so treat it.
1054
10552001-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1056
1057 * rt_netlink.c (netlink_talk_ipv6): When IPv6 route message is
1058 sent from netlink_cmd, the same message comes from netlink. To
1059 avoid confusion, temporary netlink_talk_ipv6 use netlink.sock
1060 instead of netlink_cmd.sock.
1061
10622001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1063
1064 * zserv.h (ZEBRA_SERV_PATH): Change "/tmp/zebra" to "/tmp/.zebra".
1065 Change "/tmp/zserv" to "/tmp/.zserv".
1066
10672000-12-29 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
1068
1069 * rt_netlink.c (struct nlsock): Divide kernel message into listen
1070 socket and command socket.
1071 (netlink_talk): Remove socket listen code. Use netlink_parse_info
1072 for read kernel response.
1073
10742000-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1075
1076 * rib.c (vty_show_ip_route): Show uptime of the RIP,OSPF,BGP
1077 routes.
1078
10792000-12-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1080
1081 * rt_netlink.c (netlink_route_multipath): Metric value is
1082 reflected to kernel routing table.
1083
1084 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Likewise.
1085
1086 * kernel_socket.c (rtm_write): Likewise.
1087
1088 * rib.c (nexthop_active_ipv4): Only iBGP route perform recursive
1089 nexthop lookup.
1090
1091 * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Add ioctl version of
1092 new RIB implementation.
1093
10942000-12-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1095
1096 * rib.h: Remove MULTIPATH_NUM. It is defined by configure script.
1097
10982000-12-25 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1099
1100 * rib.c (rib_if_up): Call rib_fib_set instead of RIB_FIB_SET for
1101 proper redistribution.
1102
11032000-12-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1104
1105 * rib.c (nexthop_active_ipv4): Add self lookup nexthop check.
1106 (show_ip_route_protocol): Support new RIB.
1107
1108 * rt_netlink.c (netlink_route_change): Do not return when gate is
1109 NULL.
1110
11112000-12-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1112
1113 * rib.c (rib_lookup_ipv4_nexthop): IBGP nexthop check function is
1114 updated.
1115 (rib_add_ipv4): Free implicit withdraw route's RIB.
1116
11172000-12-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1118
1119 * rib.c (nexthop_active_ipv4): Check indirect nexthop.
1120
1121 * redistribute.c (redistribute_add_multipath): Redistribution
1122 works with new rib code.
1123
11242000-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1125
1126 * rt_netlink.c (netlink_route_multipath): Check useful nexthop
1127 number.
1128 (netlink_route_multipath): Clear rtnh_flags and rtnh_hops.
1129
1130 * rib.c (nexthop_active_update): Set flag for the rib's nexthop
1131 activity is changed.
1132 (nexthop_active_check): Before checking interface is up, make it
1133 sure the interface exist.
1134
11352000-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1136
1137 * rib.c (ip_route): New RIB prototype.
1138
11392000-11-16 Yon Uriarte <ukl2@rz.uni-karlsruhe.de>
1140
1141 * zserv.c (zsend_interface_add): Send hardware address when
1142 hw_addr_len is greater than 0.
1143
11442000-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1145
1146 * connected.c (connected_up_ipv4): Fix ptop bug. The destination
1147 network should be installed into routing table.
1148 (connected_down_ipv4): Likewise.
1149 (connected_add_ipv4): Change to use connected_up_ipv4.
1150 (connected_delete_ipv4): Likewise.
1151
11522000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1153
1154 * rt_netlink.c (netlink_interface_addr): Revert Harald Welte
1155 <laforge@gnumonks.org>'s ptop patch then back to original code to
1156 avoid duplicated connected route problem. Suggested by Frank van
1157 Maarseveen <F.vanMaarseveen@inter.NL.net>.
1158
1159 * kernel_socket.c (rtm_read): Make behavior consistent even #ifdef
1160 DEBUG is defined. Reported by Jun-ichiro itojun Hagino
1161 <itojun@iijlab.net>.
1162
11632000-10-23 Jochen Friedrich <jochen@scram.de>
1164
1165 * main.c (main): Call zebra_snmp_init() when it is enabled.
1166
11672000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1168
1169 * zserv.c (zebra_serv_un): UNIX domain socket server of zebra
1170 protocol.
1171
11722000-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1173
1174 * rib.c (rib_add_ipv4): Same check bug is fixed.
1175
11762000-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1177
1178 * rib.c (rib_if_down): Remove kernel route when the interface goes
1179 down.
1180
1181 * debug.c: New command "debug zebra kernel" is added.
1182
11832000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1184
1185 * zebra-0.89 is released.
1186
11872000-09-24 Harald Welte <laforge@gnumonks.org>
1188
1189 * rt_netlink.c (netlink_interface_addr): Fix point-to-point address
1190 treatment in netlink interface.
1191
11922000-09-21 David Lipovkov <dlipovkov@OpticalAccess.com>
1193
1194 * rib.c (rib_if_down): Pull static route only. Protocol daemon
1195 must withdraw routes when interface goes down.
1196 (rib_add_ipv4): Check nexthop when replace route.
1197
11982000-09-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1199
1200 * if_ioctl.c (if_getaddrs): New function for looking up
1201 interface's address by getifaddrs().
1202
12032000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1204
1205 * connected.c (connected_delete_ipv4): Add check for connected
1206 address is found or not.
1207 (connected_add_ipv6): Reflect IPv6 connected address change to
1208 protocol daemons.
1209 (connected_delete_ipv6): Likewise.
1210
12112000-09-07 David Lipovkov <davidl@nbase.co.il>
1212
1213 * rib.c (rib_delete_ipv4): Reverted the change from pseudo
1214 interface patch to original. Because ospfd deletes routes using
1215 zero ifindex.
1216
12172000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1218
1219 * zebra-0.88 is released.
1220
12212000-08-15 "Akihiro Mizutani" <mizutani@dml.com>
1222
1223 * rib.c (show_ip_route_protocol): Help string correction.
1224 (show_ip_route_prefix): Check prefix mask.
1225 (show_ip_route_vty_detail): Display distance and metric.
1226
12272000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1228
1229 * zserv.c (zsend_interface_add): Change ifindex store size from
1230 two octet to four.
1231 (zsend_interface_delete): Likewise.
1232 (zsend_interface_address_add): Likewise.
1233 (zsend_interface_address_delete): Likewise.
1234 (zsend_interface_up): Likewise.
1235 (zsend_interface_down): Likewise.
1236
12372000-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1238
1239 * rib.c (rib_add_ipv4): Do not install distance 255 route.
1240
12412000-08-10 Toshiaki Takada <takada@zebra.org>
1242
1243 * interface.c (bandwidth_if), (no_bandwidth_if): Call
1244 zebra_interface_up_update () instead of using if_up() and if_down().
1245
12462000-08-07 "Akihiro Mizutani" <mizutani@dml.com>
1247
1248 * interface.c (bandwidth_if): Fix help string.
1249
12502000-08-07 Matthew Grant <grantma@anathoth.gen.nz>
1251
1252 * interface.c (if_dump_vty): Display bandwidth value.
1253 (bandwidth_if): New command "bandwidth <1-10000000>" is added.
1254 When interface is up, force protocol daemons to recalculate routes
1255 due to cost change.
1256 (no_bandwidth_if): Likewise.
1257 (if_config_write): Output bandwidth configuration.
1258
1259 * zserv.c (zsend_interface_add): Send bandwidth value.
1260 (zsend_interface_up): Likewise.
1261 (zsend_interface_down): Likewise.
1262
1263
12642000-08-07 Michael Rozhavsky <mike@nbase.co.il>
1265
1266 * rib.c (show_ip_route_protocol): "show ip route
1267 (bgp|connected|kernel|ospf|rip|static)" is added.
1268
12692000-08-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1270
1271 * rib.c (rib_lookup_ipv4_nexthop): Check parent node until IGP
1272 nexthop is found.
1273 (rib_add_ipv4_internal): Set fib ifindex to rib ifindex.
1274
12752000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1276
1277 * redistribute.c (redistribute_delete): Fix bug of default route
1278 redistribute treatment.
1279
12802000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1281
1282 * rib.c (rib_init): Install ip_node in rib.c instead of zserv.c.
1283 Change default distance value.
1284
1285 Old New
1286 ------------------------------------------
1287 system 10 0
1288 kernel 20 0
1289 connected 30 0
1290 static 40 1
1291 rip 50 120
1292 ripng 50 120
1293 ospf 60 110
1294 ospf6 49 110
1295 bgp 70 200(iBGP) 20(eBGP)
1296 ------------------------------------------
1297
1298 * zserv.c (client_lookup): Function removed.
1299 (zsend_interface_add): Use client's output buffer. Check ifinfo
1300 flag.
1301 (zsend_interface_delete): Likewise.
1302 Delete ipv4_static_radix and ipv6_static_radix.
1303
13042000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1305
1306 * zserv.h (struct zebra_client): When client request interface
1307 information, ifinfo is set.
1308
1309 * rib.c: Temporary Revert changes for pseudo interface.
1310
1311 * rib.h: Likewise.
1312
1313 * zserv.c: Likewise.
1314
1315 * interface.c: Likewise.
1316
13172000-08-02 David Lipovkov <davidl@nbase.co.il>
1318
1319 * interface.c (zebra_if_init): Install interface "pseudo"
1320 commands.
1321
1322 * rib.c (rib_create): ifname argument is added.
1323 (rib_add_ipv4_pseudo): New function is added.
1324 (rib_delete_ipv4_pseudo): Likewise.
1325
1326 * rib.h : Delete INTERFACE_UNKNOWN definition. Add prototype for
1327 pseudo interface functions.
1328
1329 * rt_netlink.c (netlink_link_change): Check for pseudo interface.
1330
1331 * zserv.c (ip_route): When destination is pseudo interface, call
1332 rib_add_ipv4_pseudo().
1333
1334 * zserv.c (no_ip_route): Trim "unknown" argument.
1335
13362000-07-26 kunitake@dti.ad.jp
1337
1338 * if_ioctl.c (if_get_hwaddr): Fix hardware address length from 8
1339 to 6.
1340
1341 * rtadv.c (rtadv_send_packet): Fix shift bug for hardware address.
1342
13432000-07-24 Akihiro Mizutani <mizutani@dml.com>
1344
1345 * interface.c: Use install_default() for common VTY commands.
1346
13472000-07-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1348
1349 * if_ioctl.c (interface_list_ioctl): A interface list size is
1350 calculated from ifreq->if_addr.sa_len. This is for OpenBSD.
1351
1352 * ioctl.c (if_get_mtu): Remove codes for SIOCGIFDATA.
1353
13542000-07-09 Chris Dunlop <chris@onthe.net.au>
1355
1356 * if_ioctl.c (if_get_index): Add check for HAVE_BROKEN_ALIASES.
1357
13582000-07-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1359
1360 * zserv.c (zebra_client_read): Add ZEBRA_REDISTRIBUTE_{ADD,DELETE}
1361 message handling.
1362
13632000-07-02 David Lipovkov <davidl@nbase.co.il>
1364
1365 * zserv.c: "ip route A.B.C.D/M unknown" command is added.
1366
13672000-06-28 Michael Rozhavsky <mike@nbase.co.il>
1368
1369 * rib.c: Remove old kernel route when new route comes in.
1370
13712000-06-13 David Lipovkov <davidl@nbase.co.il>
1372
1373 * rib.c (rib_if_up): Add check for unknown interface.
1374
13752000-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1376
1377 * rib.h: Define INTERFACE_UNKNOWN.
1378
13792000-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1380
1381 * Makefile.am (EXTRA_DIST): Move irdp.c until implementation is
1382 finished.
1383
13842000-06-05 David Lipovkov <davidl@nbase.co.il>
1385
1386 * interface.c (if_zebra_delete_hook): Call rib_if_delete().
1387
1388 * redistribute.c (zebra_interface_delete_update): New function.
1389
1390 * redistribute.h (zebra_interface_delete_update): New function
1391 prototype.
1392
1393 * rib.c (rib_if_delete): New function. Walk down all routes and
1394 delete all on the interface.
1395
1396 * rib.h: New function prototype.
1397
1398 * rt_netlink.c (netlink_link_change): Call
1399 zebra_interface_delete_update ().
1400
14012000-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1402
1403 * if_ioctl.c (interface_info_ioctl): Check interface's flag before
1404 checking interface's address.
1405
14062000-04-26 Jochen Friedrich <jochen@nwe.de>
1407
1408 * GNOME-PRODUCT-ZEBRA-MIB: New file.
1409
1410 * GNOME-SMI: New file.
1411
14122000-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1413
1414 * irdp.c: New file from 1997 development code.
1415 * irdp.h: Likewise.
1416
14172000-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1418
1419 * rtadv.c (rtadv_send_packet): Enclose router advertisement
1420 logging with IS_ZEBRA_DEBUG_PACKET.
1421
14222000-04-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1423
1424 * zserv.c (zebra_client_close): Remove client structure from
1425 client_list when connection is terminated.
1426
14272000-03-21 David Lipovkov <davidl@nbase.co.il>
1428
1429 * connected.c (connected_add_ipv4): Allows all necessary structure
1430 updates for connected route, but doesn't insert it into rib if
1431 it's interface is down.
1432
14332000-01-21 Hideto Yamakawa <hideto.yamakawa@soliton.co.jp>
1434
1435 * rtread_getmsg.c: Set some definition for Solaris 2.5 and Solaris
1436 2.5.1.
1437
14382000-01-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1439
1440 * rib.c (no_ipv6_route_ifname): Fix buf of cheking return value
1441 from str2prefix_ipv6().
1442
14432000-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1444
1445 * rt_socket.c: Revert to use RTF_HOST for IPv4 with /32 route and
1446 IPv6 with /128 routes.
1447 (kernel_rtm_ipv4): In case of /32 route's gateway is interface. It
1448 should have mask for cloning.
1449
14501999-12-26 Jochen.Friedrich@genorz.de
1451
1452 * interface.c (if_dump_vty): Fix a bug of missing VTY_NEWLINE.
1453
14541999-12-23 Alex Zinin <zinin@amt.ru>
1455 * interface.*: dynamic int up/down support
1456
14571999-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1458
1459 * ipforward_proc.c (dropline): Move dropline() from lib/dropline.c
1460
1461 * rtread_proc.c (proc_route_read): Don't use dropline().
1462
14631999-12-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1464
1465 * kernel_socket.c (rtm_read): When message is RTM_GET, it has own
1466 process's pid.
1467
14681999-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1469
1470 * main.c (main): Change to default log output to ZLOG_STDOUT.
1471
1472 * zserv.c (zebra_serv): More detailed error print.
1473
14741999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1475
1476 * kernel_socket.c (rtm_read): Check old pid for static route
1477 insertion check.
1478
14791999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1480
1481 * interface.c (if_dump_vty): BSDI/OS uses 64bit for interface
1482 statistics counter.
1483
1484 * mtu_kvm.c: New file added.
1485
14861999-11-27 Vladimir B. Grebenschikov <vova@express.ru>
1487
1488 * kernel_socket.c (rtm_write): Set RTF_CLONING flag for
1489 route to the directly connected interface.
1490
14911999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1492
1493 * rt_socket.c: Delete USE_HOST_BIT definition.
1494
14951999-11-21 Michael Handler <handler@sub-rosa.com>
1496
1497 * rtread_getmsg.c: Undef some definition to resolve conflict.
1498
14991999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1500
1501 * kernel_socket.c (rtm_write): Change to use pre stored struct_dl
1502 value for gateway specification.
1503
15041999-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1505
1506 * rt_socket.c (kernel_rtm_ipv4): Even mask is 32 under IPv4 or
1507 128 under IPv6, don't use RTF_HOST.
1508
15091999-11-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1510
1511 * Makefile.am (EXTRA_DIST): Add rtread_getmsg.c.
1512
15131999-11-21 Michael Handler <handler@sub-rosa.com>
1514
1515 * rtread_getmsg.c: Added for Solaris 2.6 support.
1516
15171999-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1518
1519 * rtread_sysctl.c (rtm_read_route): RTM_DELETE handling added.
1520
1521 * rt_socket.c (kernel_read): Better BSD routing socket support.
1522
15231999-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1524
1525 * client_main.c: Disable making obsolete zebra test `client'
1526 command.
1527
15281999-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1529
1530 * zebra.c: Renamed to zserv.c.
1531
1532 * zebra.h: Global definitions are moved to lib/zebra.h. Then
1533 renamed to zserv.h.
1534
15351999-10-15 Jordan Mendelson <jordy@wserv.com>
1536
1537 * if_ioctl.c: Add Linux 2.2.X's alias support and dynamic
1538 interface. Remove ugly MAX_INTERFACE handling codes.
1539
15401999-09-17 Satosi KOBAYASI <kobayasi@north.ad.jp>
1541
1542 * Fix serious bug of IPv6 route deletion.
1543
15441999-09-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1545
1546 * ioctl.c (if_set_prefix): Properly set broadcast address.
1547
15481999-09-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1549
1550 * rib.c (rib_add_ipv6, rib_delete_ipv6): now protocol daemons
1551 can install connected route to kernel via zebra
1552
15531999-08-24 VOP <vop@unity.net>
1554
1555 * rib.c: Include "sockunion.h"
1556
15571999-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
1558
1559 * ipforward.h: New file.
1560
1561 * zebra.h: Obsolete message ZEBRA_GET_ALL_INTERFACE,
1562 ZEBRA_GET_ONE_INTERFACE, ZEBRA_GET_HOSTINFO are deleted.
1563
15641999-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1565
1566 * zebra.h (ZEBRA_INTERFACE_ADDRESS_ADD):
1567 ZEBRA_INTERFACE_{ADD,DELETE} added.
1568
15691999-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1570
1571 * rib.c: show ip route A.B.C.D works.
1572
1573 * zebra.c (zebra_read_ipv4): Add ifindex to zebra messages.
1574
15751999-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1576
1577 * zebra.h: New Zebra message ZEBRA_INTERFACE_{ADD,DELETE} added.
1578
15791999-08-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1580
1581 * interface.h: New file.
1582 * Makefile.am: Add interface.h
1583
15841999-08-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1585
1586 * redistribute.c (zebra_redistribute): give ifindex to client.
1587
15881999-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1589
1590 * main.c (longopts): -k, --keep_kernel option added.
1591
15921999-07-18 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1593
1594 * rt_socket.c (rtm_write): forgot closing socket bug fixed.
1595
15961999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1597
1598 * rib.c (show_ipv6_cmd): if rib is link show interface name.
1599
16001999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1601
1602 * rt_socket.c (rtm_write): use sockaddr_dl when null gateway.
1603
16041999-07-16 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1605
1606 * rt_socket.c (rtm_write): ipv6 route table bug fixed.
1607
16081999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1609
1610 * zebra.c (zebra_read_ipv6): read link prefix from ospf6 support
1611
16121999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1613
1614 * rt_socket.c (kernel_rtm_ipv6): gate treatment bug fixed.
1615
16161999-07-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1617
1618 * if_sysctl.c (ifm_read): Clear sockunion argument before fetching
1619 data. Suggested by "Chris P. Ross" <cross@eng.us.uu.net>
1620
16211999-07-08 HEO SeonMeyong <seirios@Matrix.IRI.Co.Jp>
1622
1623 * interface.c (if_tun_add): Add KAME's gif tunnel setting codes.
1624
16251999-06-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1626
1627 * zebra.c (zebra_serv): Only accept loopback address connection.
1628
16291999-06-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1630
1631 * zebra.h (ZEBRA_ROUTE_EXTERNAL): Add zebra messages flags
1632
16331999-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1634
1635 * ipforward_proc.c: ipforward_on () and ipforward_off () added.
1636
16371999-06-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1638
1639 * ipforward_proc.c (ipforward_ipv6): Check for IPv6 forwarding
1640 using /proc file system is added.
1641
16421999-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1643
1644 * if_ioctl.c (if_get_index): Interface index set bug is fixed by
1645 adding #else at the middle of function. Suggested by David Luyer
1646 <luyer@ucs.uwa.edu.au>.
1647
16481999-05-29 <kunihiro@zebra.org>
1649
1650 * rt_ioctl.c: Comment out #include <linux/ipv6_route.h>.
1651
16521999-05-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1653
1654 * zebra.h (ZEBRA_ROUTE_MAX): Add new define for the max value of
1655 the sort of routes.
1656
16571999-05-25 Patrick Koppen <koppen@rhrk.uni-kl.de>
1658
1659 * rt_netlink.c (netlink_socket): Make netlink socket non-blocking.
1660 (netlink_parse_info): If errno is EWOULDBLOCK then continue to
1661 parse the message.
1662 (netlink_talk): Likewise
1663
16641999-05-17 <kunihiro@zebra.org>
1665
1666 * redistribute.c (zebra_check_addr): Added for loopback address
1667 check.
1668
16691999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1670
1671 * rt_netlink.c (netlink_route_change): Tempolary bypass ipv6 route
1672 change treatment.
1673
1674 * Makefile.am (noinst_HEADERS): redistribute.h added.
1675
1676 * redistribute.h: New file.
1677
16781999-05-14 Stephen R. van den Berg <srb@cuci.nl>
1679
1680 * zebra.c (show_table): Show all table configuration DEFUN.
1681 (config_table): Config table number DEFUN.
1682
1683 * rt_netlink.c: Add support for multiple routing table.
1684
1685 * rib.c (rib_weed_table): New function added for delete all
1686 routes from specified routing table.
1687
1688 * main.c (signal_init): SIGTERM call sigint.
1689 (sigint): Loggging more better message.
1690
16911999-05-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1692
1693 * rt_netlink.c: Change log () to zlog ().
1694
16951999-05-07 <kunihiro@zebra.org>
1696
1697 * zebra.h (ZEBRA_ROUTE_OSPF6): Added for ospf6d route.
1698
16991999-04-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1700
1701 * interface.c: Add `no ip address' command.
1702
17031999-04-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1704
1705 * rt_netlink.c (kernel_read): Function added for asynchronous
1706 zebra between kernel communication.
1707
17081999-03-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1709
1710 * rtread_sysctl.c (rtm_read): Fix address memcopy overrun bug.
1711 Reported by Achim Patzner <ap@bnc.net>.
1712
17131999-03-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1714
1715 * Makefile.am: Install configuration sample with 600 permission.
1716
17171999-03-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1718
1719 * Makefile.am: Add -I.. to INCLUDES.
1720
17211999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
1722
1723 * syslog support added
1724
17251999-02-17 Peter Galbavy <Peter.Galbavy@knowledge.com>
1726
1727 * if_sysctl.c (interface_list): allocated memory free when unknown
1728 ifm_type is returned.
1729
1730 * ioctl.c (if_get_mtu): added SIOCGIFDATA treatment.
1731
17321998-12-15 Magnus Ahltorp <map@stacken.kth.se>
1733
1734 * interface.c: Header include added.
1735
17361998-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1737
1738 * rt.h (kernel_delete_ipv6): change int index to unsigned int index.
1739
17401998-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1741
1742 * if_ioctl.c (interface_list_ioctl): interface flag must be
1743 checked before check addresses of the interface.
1744
17451998-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1746
1747 * Makefile.am (INCLUDES): add @INCLUDES@ for Linux IPv6.
1748
17491998-10-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1750
1751 * ioctl.c: Linux version before 2.1.0 need interface route setup.
1752
17531998-09-15 HEO SeonMeyong <seirios@matrix.iri.co.jp>
1754
1755 * change HYDRANGEA to KAME
1756
17571998-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1758
1759 * if_ioctl.c (if_addr_ioctl): set address family for getting
1760 interface's address.
1761 (if_get_index): silently return when can't get interface's index.
1762
17631998-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1764
1765 * main.c (main): batch mode option '-b' added.
1766
17671998-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1768
1769 * ioctl.c (if_set_prefix): add `ip address IPV4ADDR' command.
1770 * interface.c (shutdown_if): add interface shutdown and no
1771 shutdown command.
1772
17731998-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1774
1775 * rib.c (rib_add_ipv6): delete rib_add_in6.
1776
17771998-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1778
1779 * main.c: retain flag is added.
1780
17811998-07-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1782
1783 * rtable.[ch]: merged with rib.[ch]
1784
17851998-07-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1786
1787 * connected.h: renamed from ifa.h.
1788
17891998-06-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1790
1791 * rename if.c to interface.c
1792 * rename ifa.c to connected.c
1793
1794 * Porting to Debian GNU/Linux 2.0 (hamm).
1795
17961998-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1797
1798 * rt_netlink.c: renamed from krt_netlink.c
1799
1800 * fib.c: deleted.
1801 * rt_kvm.c: deleted.
1802 * rtread_getmsg.c: deleted.
1803
18041998-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1805
1806 * if.c (multicast): add multicast flag [un]set fucntion.
1807
18081998-05-19 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1809
1810 * rt_socket.c: Modify for compile on Solaris, but dont't work it.
1811 rt_socket.c have some undefined function, so add directive "IMPLEMENT"
1812
18131998-05-18 Yamshita TAKAO <jargon@lares.dti.ne.jp>
1814
1815 * zebra.c: Modify for compile on Solaris.
1816
18171998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1818
1819 * main.c: change CONFDIR to SYSCONFDIR.
1820
18211998-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1822
1823 * .cvsignore: added.
1824
18251998-04-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1826
1827 * client.c: moves to ../lib.
1828
18291998-03-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1830
1831 * if_ioctl.c (if_get_addr): Change address copy from memcopy() to
1832 structure assignment.
1833
18341998-03-30 URA Hiroshi <ura@yamato.ibm.co.jp>
1835
1836 * if_sysctl.c (ifm_interface_add): sdl->sdl_data copy bug fixed.
1837
18381998-02-23 "Hannes R. Boehm" <hannes@boehm.org>
1839
1840 * if.c (if_init): add config_exit_cmd and config_help_cmd.
1841
18421998-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
1843
1844 * rt_ioctl.c (route_ioctl): EPERM treatment added.
1845
18461998-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1847
1848 * rt_socket.c (kernel_read): communication port zebra between
1849 kernel is now handled by kernel_read.
1850
18511998-01-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1852
1853 * main.c (main): zebra [-P port] can specify vty port number.
1854
18551997-12-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1856
1857 * zebra.c: change select will be block.
1858
18591997-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1860
1861 * add static route treatment.
1862
18631997-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1864
1865 * rt_netlink.c: add netlink support over GNU/Linux system.
1866
18671997-11-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1868
1869 * all inet_addr is changed to inet_aton.
1870
1871 * zebra.c (ip_route): add ip route command for static routes.
1872
18731997-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1874
1875 * if.c (if_flag_dump): Linux port of if_flag_dump and _vty.
1876
18771997-11-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1878
1879 * if.c: add interface command.
1880
18811997-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1882
1883 * ipforward_proc.c : Now works on Linux.
1884
18851997-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1886
1887 * command.c : add completion feature.
1888
18891997-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1890
1891 * vty.c (vty_command): add vty interface.
1892
18931997-10-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1894
1895 * zebra.c: add verbose mode.
1896
18971997-10-12 SonMyong Ho <s-ho@Matrix.IRI.Co.Jp>
1898
1899 * Hydrangea for FreeBSD supported
1900 * in.h: add some prototype.
1901
19021997-10-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1903
1904 * rt_socket.c and rtread.c completely rewritten.
1905
19061997-10-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1907
1908 * rt_socket.c: rename kernel_sock to routing_socket
1909
19101997-10-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1911
1912 * if.c (if_new): interface structure change from linklist to vector.
1913
19141997-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1915
1916 * vector.c (vector_init): create vector related function
1917
19181997-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1919
1920 * Makefile.in: add tags target
1921
1922 * start IPv6 support for INRIA FreeBSD.
1923