]>
Commit | Line | Data |
---|---|---|
57a1477b | 1 | 2005-04-10 Andrew J. Schorr <ajschorr@alumni.princeton.edu> |
2 | ||
3 | * zserv.c (zebra_client_read): Fix bug: first read attempt should | |
4 | read ZEBRA_HEADER_SIZE minus the number of bytes already read. | |
5 | Improve efficiency by maintaining a calculation of the number | |
6 | of bytes read instead of calling stream_get_endp multiple times. | |
7 | If message length is too small, issue a warning message (not debug) | |
8 | before closing the connection. And also check that message length | |
9 | is not too big. | |
10 | ||
fa59980f | 11 | 2005-04-09 Hasso Tepper <hasso at quagga.net> |
12 | ||
13 | * rt_netlink.c: One tiny missing comma caused pointless debug messages | |
14 | about IPv6 nexthops. | |
15 | ||
206d8055 | 16 | 2005-04-09 Hasso Tepper <hasso at quagga.net> |
17 | ||
18 | * rt_netlink.c (netlink_parse_info): Fix warning. It's safe to cast | |
19 | status to unsigned here, because we already checked that it isn't | |
20 | negative or 0. | |
21 | * rt_netlink.c (netlink_interface_addr): Prefix length belongs to the | |
22 | address, not to the interface. | |
23 | * rt_netlink.c (netlink_route_multipath): Fix debug. No useless info | |
24 | is printed out now and IPv6 info is handeled. | |
25 | ||
3d1dc857 | 26 | 2005-04-05 Paul Jakma <paul@dishone.st> |
27 | ||
28 | * zserv.c: print more helpful errors when we fail to successfully | |
29 | bind and listen on zserv socket. Closes bugzilla #163. | |
30 | ||
08dbfb69 | 31 | 2005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu> |
32 | ||
33 | * if_ioctl.c: (interface_list_ioctl) Use if_get_by_name_len. | |
34 | * if_proc.c: (ifaddr_proc_ipv6) Increase size of ifname buffer to | |
35 | avoid overflow. | |
36 | * kernel_socket.c: (ifan_read) Use if_get_by_name_len. | |
37 | ||
a349198f | 38 | 2005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu> |
39 | ||
40 | * kernel_socket.c: (ifm_read) Use new if_lookup_by_name_len function | |
41 | to save a memcpy. | |
42 | * if_ioctl_solaris.c: (interface_list_ioctl) Fix subtle bug with new | |
43 | if_get_by_name_len function. | |
44 | ||
d2fc8896 | 45 | 2005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu> |
46 | ||
47 | * interface.c: (if_new_intern_ifindex) Remove obsolete function. | |
48 | (if_delete_update) After distributing the interface deletion message, | |
49 | set ifp->ifindex to IFINDEX_INTERNAL. | |
50 | (if_dump_vty) Detect pseudo interface by checking if ifp->ifindex is | |
51 | IFINDEX_INTERNAL. | |
52 | (zebra_interface) Check return code from interface_cmd.func. | |
53 | Do not set internal ifindex values to if_new_intern_ifindex(), | |
54 | since we now use IFINDEX_INTERNAL for all pseudo interfaces. | |
55 | * kernel_socket.c: (ifm_read) Fix code and comments to reflect that | |
56 | all internal interfaces now have ifp->ifindex set to IFINDEX_INTERNAL. | |
57 | * rt_netlink.c: (set_ifindex) New function used to update ifp->ifindex. | |
58 | Detects interface rename events by checking if that ifindex is already | |
59 | being used. If it is, delete the old interface before assigning | |
60 | the ifindex to the new interface. | |
61 | (netlink_interface, netlink_link_change) Call set_ifindex to update | |
62 | the ifindex. | |
63 | ||
b7ed1ec7 | 64 | 2005-03-31 Hasso Tepper <hasso at quagga.net> |
65 | ||
66 | * rt_netlink.c (netlink_talk_filter): Show always warning message, | |
67 | it's not for debug. | |
68 | * rt_netlink.c (netlink_talk): Don't assume we use netlink_cmd | |
69 | although we do now actually. | |
70 | * rt_netlink.c (netlink_route, netlink_route_multipath): Always use | |
71 | netlink_cmd to send messages to the kernel. | |
72 | ||
2da40f49 | 73 | 2005-03-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu> |
74 | ||
75 | * irdp.h: Add prototype for irdp_sock_init, and fix protos for | |
76 | other irdp_* functions. | |
77 | * irdp_interface.c: (irdp_if_start) If irdp_sock is negative, | |
78 | call irdp_sock_init to create the IRDP socket. | |
79 | (irdp_if_init) Rename to irdp_init(). | |
80 | (get_iflist_ifp) Remove function that is a duplicate of | |
81 | if_lookup_by_index. | |
82 | (*) Make many functions static. And remove superfluous "\n" from | |
83 | several zlog messages. | |
84 | * irdp_main.c: (irdp_init) Remove function that used to call | |
85 | irdp_if_init() and irdp_sock_init(), since we will now create | |
86 | the socket only upon first use. | |
87 | (irdp_sock_init) Do not update global irdp_sock variable, just | |
88 | return the fd and assume that the caller will do so. If setsockopt | |
89 | calls fail, close the socket before returning -1. | |
90 | (*) Make many functions static. | |
91 | * irdp_packet.c: Initialize irdp_sock to -1. | |
92 | (irdp_read_raw) Call standard library function if_lookup_by_index | |
93 | instead of get_iflist_ifp. | |
94 | (irdp_recvmsg) Should be static, not global. | |
95 | ||
a608bbf2 | 96 | 2005-03-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu> |
97 | ||
98 | * rt_netlink.c: (netlink_link_change) If the status of an | |
99 | operative interface changes (e.g. MTU changes), the client | |
100 | daemons should be notified by calling zebra_interface_up_update. | |
101 | Previously, the information was being updated in zebra's | |
102 | interface structure, but the clients were not notified of | |
103 | changes to an operative interface. | |
104 | ||
7cee1bb1 | 105 | 2005-03-25 Jean-Mickael Guerin <jean-mickael.guerin@6wind.com> |
106 | * interface.c, interface.h, rtadv.c, rtadv.h: modifications to | |
107 | IPv6 Neighbor Discovery according to RFC3775, section 7: | |
108 | o 1-bit Home Agent flag management in Router Advertisement (7.1). | |
109 | o 1-bit Router Address flag management in Prefix Information | |
110 | Option (7.2). | |
111 | o Advertisement Interval Option (7.3) | |
112 | o Home Agent Information Option (7.4) | |
113 | o Changes to Sending Router Advertisements more frequently (7.5) | |
114 | ||
ed9bb6d5 | 115 | 2005-03-13 Hasso Tepper <hasso at quagga.net> |
116 | ||
117 | * zebra/interaface.c: "show interface description" command | |
118 | implemented. | |
119 | ||
c1f01f35 | 120 | 2005-03-12 Paul Jakma <paul@dishone.st> |
121 | ||
122 | * rt_netlink.c: (netlink_route_multipath) dont set equalise flag. | |
123 | No stock Linux kernel has ever supported it, and even if it had | |
124 | it's not generally a good idea. | |
125 | ||
42a66d7c | 126 | 2005-03-07 Michael Sandee <voidptr@voidptr.sboost.org> |
127 | ||
128 | * if_proc.c, ipforward_proc.c, rtread_proc.c: Fix fd leaks. | |
129 | ||
3452d475 | 130 | 2005-03-06 Hasso Tepper <hasso at quagga.net> |
131 | ||
132 | * interface.c: Fix CRC and frame errors statistics in Linux. | |
133 | ||
719e9741 | 134 | 2005-02-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu> |
135 | ||
136 | * zserv.c: Must include network.h and buffer.h for non-blocking I/O. | |
137 | Remove global message_queue and t_write (need separate buffering for | |
138 | each client). | |
139 | (zebra_server_dequeue,zebra_server_enqueue) Remove functions | |
140 | related to old buggy buffering code. | |
141 | (zserv_delayed_close) New thread callback function to delete a client. | |
142 | (zserv_flush_data) New thread callback function to flush buffered | |
143 | data to client. | |
144 | (zebra_server_send_message) Rewritten to use buffer_write (so | |
145 | buffering of writes and non-blocking I/O work properly). | |
146 | (zsend_interface_add,zsend_interface_delete,zsend_interface_address, | |
147 | zsend_interface_update) Return 0 instead of -1 if !client->ifinfo | |
148 | (this is not really an error). Return value from | |
149 | zebra_server_send_message. | |
150 | (zsend_route_multipath,zsend_ipv4_nexthop_lookup, | |
151 | zsend_ipv4_import_lookup) Return value from zebra_server_send_message. | |
152 | (zsend_ipv6_nexthop_lookup) Fix scope to static, and return value | |
153 | from zebra_server_send_message. | |
154 | (zsend_router_id_update) Must use zebra_server_send_message instead | |
155 | of deprecated writen function. Return 0 instead of -1 if this client | |
156 | is not subscribed to router-id updates (since this is not really | |
157 | an error). | |
158 | (zread_interface_add) Change type to static int. If | |
159 | zsend_interface_add fails or zsend_interface_address fails, return -1 | |
160 | immediately (since the client has had an I/O error). | |
161 | (zread_interface_delete,zread_ipv4_add,zread_ipv4_delete, | |
162 | zread_ipv6_add,zread_ipv6_delete,zread_router_id_delete) Return 0 | |
163 | to indicate success. | |
164 | (zread_ipv4_nexthop_lookup) Return value from | |
165 | zsend_ipv4_nexthop_lookup. | |
166 | (zread_ipv4_import_lookup) Return value from zsend_ipv4_import_lookup. | |
167 | (zebra_read_ipv6) Remove unused function. | |
168 | (zread_ipv6_nexthop_lookup) Return value from | |
169 | zsend_ipv6_nexthop_lookup. | |
170 | (zread_router_id_add) Return value from zsend_router_id_update. | |
171 | (zebra_client_close) Call buffer_free(client->wb) and | |
172 | thread_cancel(client->t_suicide). | |
173 | (zebra_client_create) Allocate client->wb using buffer_new. | |
174 | (zebra_client_read) Support non-blocking I/O by using stream_read_try. | |
175 | Use ZEBRA_HEADER_SIZE instead of 3. | |
176 | (zebra_accept) Fix bug: reset accept thread at top. Make client | |
177 | socket non-blocking using the set_nonblocking function. | |
178 | (config_write_forwarding) Fix scope to static. | |
179 | (zebra_init) Remove initialization code for old buggy write buffering. | |
180 | * zserv.h: Add 2 new fields to struct zserv: struct buffer *wb | |
181 | (to enable buffered writes with non-blocking I/), and | |
182 | struct thread *t_suicide to support delayed close on I/O | |
183 | errors. | |
184 | * router-id.h: Remove prototypes for zread_router_id_add and | |
185 | zread_router_id_delete (their scope should be static to zserv.c). | |
186 | ||
27da3988 | 187 | 2005-02-24 Andrew J. Schorr <ajschorr@alumni.princeton.edu> |
188 | ||
189 | * redistribute.c: (zebra_check_addr,is_default, | |
190 | zebra_redistribute_default,zebra_redistribute) Fix scope to be static. | |
191 | ||
e8274dcd | 192 | 2005-02-20 Hasso Tepper <hasso at quagga.net> |
193 | ||
194 | * rt_netlink.c: Don't show messages "ignoring message type 0x001[89]" | |
195 | if we are not debugging. | |
196 | ||
e31f2299 | 197 | 2005-02-19 Paul Jakma <paul@dishone.st> |
198 | ||
199 | * zserv.c: (zebra_read_ipv6) replace the char * arithmetic with | |
200 | STREAM_READABLE. | |
201 | ||
1e193152 | 202 | 2005-02-14 Paul Jakma <paul@dishone.st> |
203 | ||
204 | * Not all Linux netlink systems have IFLA_WIRELESS | |
205 | ||
6a52d0d1 | 206 | 2005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu> |
207 | ||
208 | * ioctl.c: (if_ioctl,if_ioctl_ipv6,if_get_flags) Replace perror with | |
209 | zlog_err. | |
210 | * ioctl_solaris.c: (if_ioctl,if_ioctl_ipv6) Replace perror with | |
211 | zlog_err. | |
212 | ||
4460e7a4 | 213 | 2005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu> |
214 | ||
215 | * if_ioctl_solaris.c: (interface_list_ioctl) Save errno before calling | |
216 | zserv_privs.change. | |
217 | * ioctl{,_solaris}.c: (if_ioctl,if_ioctl_ipv6) Save errno before calling | |
218 | zserv_privs.change. | |
219 | * ipforward_solaris.c: (solaris_nd) Save errno before calling | |
220 | zserv_privs.change. | |
221 | * irdp_main.c: (irdp_sock_init) Save errno before calling | |
222 | zserv_privs.change. | |
223 | ||
4be019d5 | 224 | 2005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu> |
225 | ||
226 | * rt_netlink.c: (netlink_socket,netlink_request,netlink_parse_info, | |
227 | netlink_talk) Save errno before calling zserv_privs.change. | |
228 | ||
c15cb242 | 229 | 2005-01-24 Martin Pot <mpot at martybugs.net> |
230 | ||
231 | * zebra/rt_netlink.c: ignore wireless newlink netlink messages. | |
232 | ||
6f2c27af | 233 | 2005-01-18 Hasso Tepper <hasso at quagga.net> |
234 | ||
235 | * interface.c: Better statistics output in "show interface" command in | |
236 | case of /proc being used. | |
237 | ||
583d800c | 238 | 2005-01-17 Hasso Tepper <hasso at quagga.net> |
239 | ||
240 | * main.c: With --nl-bufsize argument is required. | |
241 | ||
865b852c | 242 | 2005-01-05 Paul Jakma <paul@dishone.st> |
243 | ||
244 | * zserv.c: (zebra_accept) Comment out setting of socket to NONBLOCK | |
245 | for now, as we dont actually deal with with resending.... See | |
246 | bugzilla #122, fix from wawa@yandex-team.ru (Vladimir Ivanov). | |
247 | * kernel_socket.c: (routing_socket) ditto. | |
248 | ||
b99760ab | 249 | 2005-01-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu> |
250 | ||
251 | * rtadv.c: (rtadv_recv_packet,rtadv_send_packet) Use ZCMSG_FIRSTHDR | |
252 | instead of CMSG_FIRSTHDR. | |
253 | ||
341a8f1a | 254 | 2004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu> |
255 | ||
256 | * connected.c: (connected_add_ipv4) Limit warning about /32 addresses | |
257 | with no peer specified to PtP interfaces only. | |
258 | ||
b8adec1f | 259 | 2004-12-18 Hasso Tepper <hasso at quagga.net> |
260 | ||
261 | * zebra_vty.c: Fix "show ipv6 route <proto>" command help and make it | |
262 | work for isis routes. | |
263 | ||
6a250b09 | 264 | 2004-12-09 Greg Troxel <gdt@fnord.ir.bbn.com> |
265 | ||
266 | * kernel_socket.c (rtmsg_debug): char * => const char * | |
267 | ||
b6178002 | 268 | 2004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu> |
269 | ||
270 | * *.c: Change level of debug messages to LOG_DEBUG. | |
271 | ||
274a4a44 | 272 | 2004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu> |
273 | ||
274 | * main.c: (main) The 2nd argument to openzlog has been removed. | |
275 | So stdout logging will no longer be enabled by default. | |
276 | * irdp_main.c: (irdp_finish) Reduce severity of shutdown message | |
277 | from LOG_WARNING to LOG_INFO. | |
278 | ||
887c44a4 | 279 | 2004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu> |
280 | ||
281 | * main.c: (sigint) Use zlog_notice for termination message. | |
282 | (main) Add a startup announcement using zlog_notice. | |
283 | ||
accb156b | 284 | 2004-11-25 Hasso Tepper <hasso at quagga.net> |
285 | ||
286 | * irdp_interface.c: Remove comment from DEFUN, it breaks vtysh because | |
287 | it confuses extract.pl. | |
c065230a | 288 | * main.c: Make group to run as configurable. |
accb156b | 289 | |
6bd7c6ae | 290 | 2004-10-28 Hasso Tepper <hasso at quagga.net> |
291 | ||
292 | * interface.c: Remove dead "ip tunnel" command. | |
293 | ||
06f953f7 | 294 | 2004-10-22 Paul Jakma <paul@dishone.st> |
295 | ||
296 | * irdp_main.c: change setsockopt_pktinfo to setsockopt_ifindex | |
297 | ||
3fb9cd6e | 298 | 2004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com> |
299 | ||
300 | * rt_netlink.c: (netlink_interface_addr) For PtP interfaces, ignore | |
301 | tb[IFA_ADDRESS] if it's the same as tb[IFA_LOCAL]. | |
302 | * interface.c: (ip_address_install) Use new ipv4_broadcast_addr | |
303 | function. | |
304 | * connected.c: (connected_up_ipv4) Use CONNECTED_POINTOPOINT_HOST | |
305 | macro. | |
306 | (connected_down_ipv4) ditto. | |
307 | (connected_add_ipv4) Validate destination address, print warnings | |
308 | if it does not make sense. | |
309 | ||
c1eaa442 | 310 | 2004-10-19 Hasso Tepper <hasso at quagga.net> |
311 | ||
312 | * zserv.c: Fix regression introduced with zserv cleanup. | |
313 | ||
c75105ab | 314 | 2004-10-13 Hasso Tepper <hasso at quagga.net> |
315 | ||
316 | * zebra_snmp.c: Remove defaults used to initialize smux connection to | |
317 | snmpd. Connection is initialized only if smux peer is configured. | |
b71f00f2 | 318 | * zserv.c: Remove useless warnings "forwarding is already on". |
c75105ab | 319 | |
39ff11dc | 320 | 2004-10-12 Hasso Tepper <hasso at quagga.net> |
321 | ||
322 | * zebra_vty.c: Unbreak "show ip route" command help and make it work | |
323 | for isis routes. | |
39db97e4 | 324 | * interface.c(if_dump_vty): Show IPv6 addresses in "show interface" |
325 | output. Fixes Bugzilla #119. | |
326 | * *.c: Make some strings const and some (unsigned) casts to fix | |
327 | compiler warnings. | |
39ff11dc | 328 | |
fce954f8 | 329 | 2004-10-07 Hasso Tepper <hasso at quagga.net> |
330 | ||
331 | * connected.c, main.c, rt_netlink.c, rtadv.c, zebra_rib.c, zserv.c: | |
332 | Fix warnings: make strings const, signed -> unsigned. | |
333 | ||
7216466a | 334 | 2004-10-05 Paul Jakma <paul@dishone.st> |
335 | ||
336 | * irdp_packet.c: (parse_irdp_packet) style issues. | |
337 | Use sockopt_iphdrincl_swab_systoh. | |
338 | Try unbork the code. Checksum the ICMP data and actually | |
339 | compare it to received checksum. Check data length against | |
340 | claimed length in header. | |
341 | Always use ntoh.. when accessing addresses, even when the | |
342 | comparison happens to be endian-safe. | |
343 | (send_packet) minor style isues. Use | |
344 | sockopt_iphdrincl_swab_htosys. | |
345 | (irdp_iph_hton/ntoh) IP header to/from network/host order. | |
346 | ||
eef1fe11 | 347 | 2004-10-03 Gilad Arnold <gilad.arnold at terayon.com> |
348 | ||
349 | * interface.c, interface.h: A new prefix tree of connected subnets is | |
350 | associated with each interface structure in zebra, in which each | |
351 | live (ie, non-synthetic) node holds a list of installed addresses | |
352 | that belong to that prefix. Remove secondary address logic from cli. | |
353 | See [quagga-dev 872] for detailed explanation. | |
354 | * connected.c: Use if_subnet_add() and if_subnet_delete(). | |
355 | ||
18a6dce6 | 356 | 2004-10-03 James R. Leu <jleu at mindspring.com> |
357 | ||
358 | * router-id.c, router-id.h: New files. Router id selection process. If | |
359 | there is non 127.x.x.x address in loopack interface, lowest of them | |
360 | is chosen. If there isn't, lowest from other interfaces addresses | |
361 | are chosen. "router-id x.x.x.x" vty command to manual override. | |
362 | * Makefile.am: Compile new files. | |
363 | * main.c: Initialize router id. | |
364 | * redistribute.c: Add interface addresses into router id selection | |
365 | lists as they (dis)appear. | |
366 | * zserv.c, zserv.h: Sending router id related messages to daemons. | |
367 | ||
c9e52be3 | 368 | 2004-09-26 Hasso Tepper <hasso at quagga.net> |
369 | ||
370 | * irdp_interface.c, irdp_main.c, irdp_packet.c, rt_netlink.c, | |
371 | rtadv.c, zebra_vty.c: Fix compiler warnings. | |
372 | ||
26f7a244 | 373 | 2004-09-24 Paul Jakma <paul@dishone.st> |
374 | ||
375 | * irdp_interface.c: (no_ip_irdp_address_preference_cmd) | |
376 | add missing listnode declaration. | |
377 | ||
0c0f9112 | 378 | 2004-09-24 Paul Jakma <paul@dishone.st> |
379 | ||
380 | * irdp_{interface,main}.c: lists typedef removal cleanup. | |
381 | update some list loops to LIST_LOOP. some miscellaneous style | |
382 | and indent fixups. | |
383 | (no_ip_irdp_address_preference_cmd) Fix delete of referenced node | |
26f7a244 | 384 | in loop. |
0c0f9112 | 385 | * irdp_packet.c: (irdp_recvmsg) Fix buggy assignment of integer |
386 | to pointer. | |
387 | * if_ioctl{,_solaris}.c: lists typedef removal cleanup. | |
388 | update some list loops to LIST_LOOP. | |
389 | ||
52dc7ee6 | 390 | 2004-09-23 Hasso Tepper <hasso at quagga.net> |
391 | ||
392 | * *.[c|h]: list -> struct list *, listnode -> struct listnode *. | |
393 | ||
44983cf8 | 394 | 2004-09-22 Paul Jakma <paul.jakma@sun.com> |
395 | ||
396 | * zserv.c: (zsend_route_multipath) fix nasty bad memset of struct | |
397 | in_addr to sizeof(struct in6_addr), causing odd and hard to debug | |
398 | crash. | |
399 | ||
c34b6b57 | 400 | 2004-08-31 Hasso Tepper <hasso at quagga.net> |
401 | ||
402 | * main.c, rt_netlink.c: Added -s command line switch for tuning | |
403 | netlink receive buffer size in Linux to avoid buffer overruns. | |
404 | ||
a5ea687e | 405 | 2004-08-26 Miles Nordin <carton@Ivy.NET> |
406 | ||
407 | * ipforward_sysctl.c (mib_ipv6): Use size_t for len, per | |
408 | sysctl(3), rather than int. (Needed on NetBSD/alpha to display | |
409 | forwarding status correctly.) | |
410 | ||
3e0b3a56 | 411 | 2004-08-23 Paul Jakma <paul@dishone.st> |
412 | ||
413 | * zserv.c: (zebra_init) remove implicit ip forward enabling | |
414 | ||
0de1cde6 | 415 | 2004-08-19 Paul Jakma <paul@dishone.st> |
416 | ||
417 | * irdp_main.c: update to match sockopt renames. | |
418 | * irdp_packet.c: include sockopt.h and update to match sockopt | |
419 | renames. | |
420 | ||
57492d56 | 421 | 2004-08-11 Greg Troxel <gdt@fnord.ir.bbn.com> |
422 | ||
423 | * rtadv.c (rtadv_send_packet): Allocate space for control messages | |
424 | more carefully; it was wrong on NetBSD/sparc where CMSG alignment | |
425 | is to 8 bytes instead of 4, and overwriting the address. Use the | |
426 | provided macros for determining lengths. | |
427 | ||
5b73a671 | 428 | 2004-07-23 Sowmini Varadhan <Sowmini.Varadhan@Sun.COM> |
429 | ||
430 | * if_ioctl_solaris.c: HAVE_IPV6 ifdef fixups | |
431 | * zserv.c: ditto | |
432 | * ioctl_solaris.c: ditto. | |
433 | * interface.c: cast for LLADDR | |
434 | * interface.h: Add guards, include redistribute.h and remove | |
435 | extraneous definitions of zebra_interface_{up,down}_update | |
436 | * ioctl.h: Add AF_IOCTL define for non SOLARIS_IPV6 | |
437 | * redistribute.h: include dependent header, zserv.h | |
438 | * zserv.h: include dependent header, rib.h | |
439 | ||
1470bafb | 440 | 2004-07-23 Paul Jakma <paul@dishone.st> |
441 | ||
442 | * irdp_main.c: use setsockopt_pktinfo_ipv4 | |
443 | * irdp_packet.c: use SOPT_SIZE_CMSG_PKTINFO_IPV4 and | |
444 | getsockopt_pktinfo_ifindex() | |
445 | ||
cced60dd | 446 | 2004-07-13 David Wiggins <dwiggins@bbn.com |
447 | ||
448 | * kernel_socket.c (rtm_flag_dump): terminate buffer with '\0', not '0'. | |
449 | ||
25dac855 | 450 | 2004-07-13 Hasso Tepper <hasso@estpak.ee> |
451 | ||
452 | * irdp_main.c: Add privilege change. | |
453 | ||
996933fd | 454 | 2004-07-12 Hasso Tepper <hasso@estpak.ee> |
455 | ||
456 | * irdp_interface.c: follow common style while naming vty command | |
457 | functions. Avoids confusion in extract.pl. | |
458 | ||
87efd646 | 459 | 2004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com> |
460 | ||
461 | * main.c: define thread_master variable so that linking with | |
462 | libzebra.so doesn't fail. Arguably zclient.o should be in a | |
463 | separate library, but this is far less disruptive. | |
464 | ||
ca776988 | 465 | 2004-06-12 Robert Olsson <Robert.Olsson at data.slu.se> |
466 | ||
467 | * Added IRDP support. | |
468 | ||
3e31cded | 469 | 2004-05-18 Hasso Tepper <hasso@estpak.ee> |
470 | ||
471 | * rtadv.c: Removed "[no] ipv6 nd send-ra" command. Replaced "ipv6 nd | |
472 | prefix-advertisement" with "ipv6 nd prefix". Rewrite syntax of | |
473 | "ipv6 nd prefix" command to allow various combinations of parameters | |
474 | and flags. No defaults in configuration. Replaced on-link and | |
475 | autoconfig with off-link and no-autoconfig flags in command syntax. | |
476 | Cosmetic fixes in all commands. Documentation to reflect all changes. | |
477 | ||
19877dd2 | 478 | 2004-05-11 Paul Jakma <paul@dishone.st> |
479 | ||
480 | * Makefile.am: support for IOCTL_METHOD, as per Sowmini's patch. | |
48a46fa0 | 481 | * if_ioctl_solaris.c: Fixup some erroneous privilege changes and |
482 | add privs.h header. | |
483 | * ioctl_solaris.c: ditto | |
c50ae8ba | 484 | * ioctl.h: Add if_ioctl_ipv6 prototype and AF_IOCTL for SOLARIS_IPV6 |
485 | * kernel_socket.c: Fix SAROUNDUP, compiler doesnt like do..while | |
486 | RHS in assignments :) | |
487 | * redistribute.c: (zebra_interface_delete_update) only used | |
488 | if RTM_IFANNOUNCE and NETLINK is available. | |
489 | ||
b9df2d25 | 490 | 2004-05-09 Paul Jakma <paul@dishone.st> |
491 | ||
492 | * zserv.c: (zsend_route_multipath) Set the nexthop_num | |
493 | field correctly. Add NEXTHOP_TYPE_IPV6_IFNAME for v6. | |
494 | Conditionally set ZAPI_MESSAGE_METRIC flag - only for adds. | |
495 | (zsend_ipv4_add) cruft, deleted. | |
496 | (zsend_ipv4_delete) ditto. | |
497 | (zsend_ipv6_add) ditto. | |
498 | (zsend_ipv6_delete) ditto. | |
44145db3 | 499 | * ioctl.c: (if_get_mtu) set mtu6 to mtu |
500 | * mtu_kvm.c: (if_kvm_get_mtu) set mtu6 to mtu | |
501 | * rt_netlink.c: (netlink_interface) set mtu6 to mtu | |
502 | (netlink_link_change) ditto | |
66e9488c | 503 | * ipforward_solaris.c: fix typo of ND variable. |
8842468c | 504 | * if_ioctl_solaris.c: Add zprivs support. |
505 | * ioctl_solaris.c: ditto. | |
66e9488c | 506 | |
b9df2d25 | 507 | 2004-05-09 Sowmini Varadhan <sowmini.varadhan@sun.com> |
508 | ||
509 | * zserv.c: (zsend_ipv{4,6}_{add,delete}_multipath) collapsed | |
510 | into single zsend_route_multipath function. | |
511 | (zsend_interface_{up,down}) collapsed into zsend_interface_update. | |
512 | (zsend_interface_address_{add,delete}) collapsed into | |
513 | zsend_interface_address. | |
514 | (zsend_interface_add) send mtu6. | |
515 | (zsend_interface_delete) ditto. | |
516 | (zebra_write) remove unused function. | |
517 | (various) Apply static qualifier. Add comments. | |
518 | * zserv.h: Definitions changed as per above. | |
519 | * redistribute.c: Changes as per zserv.c. | |
44145db3 | 520 | * interface.c: (if_delete_update) only used with HAVE_NETLINK |
521 | and RTM_IFANNOUNCE. | |
522 | (if_flag_dump_vty) Solaris IFF_IPV4 and IFF_IPV6 if flags | |
523 | (if_dump_vty) print mtu6 if not same as mtu | |
8842468c | 524 | * if_ioctl_solaris.c: New file, Solaris interface ioctl methods. |
525 | * ioctl_solaris.c: New file, Common solaris ioctl methods. | |
526 | ||
34195bf6 | 527 | 2004-04-06 Krzysztof Oledzki <oleq@ans.pl> |
528 | ||
529 | * rt_netlink.c: Do not ignore metric when reading kernel routing | |
530 | table on Linux with rt_netlink interface. | |
531 | ||
532 | 2004-03-18 Hasso Tepper <hasso@estpak.ee> | |
f1d92e17 | 533 | |
534 | * interface.c: Temporary fix for handling secondary addresses | |
535 | with label. | |
536 | ||
55906724 | 537 | 2004-02-12 Hasso Tepper <hasso@estpak.ee> |
f1d92e17 | 538 | |
55906724 | 539 | * zserv.c: Added "ipv6 forwarding" command. |
540 | ||
b27900b7 | 541 | 2004-01-08 Greg Troxel <gdt@fnord.ir.bbn.com> |
542 | ||
543 | * kernel_socket.c (kernel_read): Use sockaddr_storage in buffer | |
544 | for reading kernel messages to ensure enough space (necessary on | |
545 | Solaris due to sockaddr_dl being large). Thanks to Sowmini | |
546 | Varadhan for help with this change. | |
547 | ||
9ccabd1c | 548 | 2004-01-06 Greg Troxel <gdt@t1.ir.bbn.com> |
549 | ||
550 | * rtadv.c (rtadv_send_packet): Change perror to zlog_err. | |
551 | ||
4bfbea8c | 552 | 2004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com> |
553 | * kernel_socket.c (ifm_read): Major cleanup. Use Sowmini's code | |
554 | to find the sockaddr_dl in all cases, narrowing the Solaris ifdef | |
555 | to just the accomodation of broken kernels. Check sockaddr_dl | |
556 | carefully up front, and later assume any non-NULL sdl pointer is | |
557 | valid. Clean up types and variable declarations, and rename | |
558 | WRAPUP to SAROUNDUP to make the name fit the behavior. | |
559 | ||
dbee01fe | 560 | 2004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com> |
561 | ||
562 | * kernel_socket.c (kernel_read): Add a sockaddr_dl to the ifmsg | |
563 | structure, because on Solaris sockaddr_dl is far larger than the | |
564 | base sockaddr structure. (The code had previously been failing to | |
565 | read all the data.) | |
4bfbea8c | 566 | |
da26e3b6 | 567 | 2004-01-05 Greg Troxel <gdt@ahi.ir.bbn.com> |
568 | ||
569 | * kernel_socket.c (kernel_read): Look up interfaces by index | |
570 | first, so that state changes which do not include a sockaddr_dl | |
571 | now work. Add many sanity checks. In | |
572 | particular, do not assume that a sockaddr_dl follows a message | |
573 | without checking the ifm_addrs flags, and do not trust the length | |
574 | in a sockaddr_dl. Add/clarify many comments. | |
575 | ||
4b5e1359 | 576 | 2003-12-03 Greg Troxel <gdt@poblano.ir.bbn.com> |
577 | ||
578 | * rtadv.c: reorder includes to avoid compiler warning (define | |
579 | structs before using them in prototypes) | |
580 | ||
647e4f1f | 581 | 2003-05-25 Jim Crumpler <Jim.Crumpler@edion.com> |
582 | ||
583 | * zserv.c: Add "ip forwarding" command. | |
584 | ||
445f1435 | 585 | 2003-05-16 Gilad Arnold <gilad.arnold@terayon.com> |
586 | ||
587 | * zebra_rib.c: Fix memory leaks for ifname nexthops | |
588 | ||
589 | 2003-04-19 Israel Keys <ikeys@agile.tv> | |
590 | ||
591 | * rt_netlink.c: BLOCK on netlink while initialising | |
592 | ||
593 | 2003-02-06 Francois Deppierraz <francois@ctrlaltdel.ch> | |
594 | ||
595 | * rt_netlink.c (netlink_route_multipath): Set RTM_F_EQUALIZE when | |
596 | it exists. | |
597 | ||
718e3744 | 598 | 2002-09-28 Akihiro Mizutani <mizutani@net-chef.net> |
599 | ||
600 | * zebra_rib.c (static_add_ipv4): Null0 static route is added. | |
601 | ||
602 | 2002-09-10 Jochen Friedrich <chris+zebra@scram.de> | |
603 | ||
604 | * rt_netlink.c: Add check for EAGAIN. | |
605 | * kernel_socket.c: Likewise | |
606 | ||
607 | 2002-06-12 Israel Keys <ikeys@oz.agile.tv> | |
608 | ||
609 | * rt_netlink.c: Setting the NLM_F_ACK flag on the netlink command | |
610 | message so that we get an ACK for successful netlink commands. | |
611 | Change the netlink socket to BLOCKING while we wait for a | |
612 | response; be it an ACK or an NLMSG_ERROR. Change | |
613 | netlink_parse_info to deal with ACK messages. | |
614 | ||
615 | 2001-11-01 Jun-ichiro itojun Hagino <itojun@iijlab.net> | |
616 | ||
617 | * rtadv.c (rtadv_make_socket): setsockopt(IPV6_CHECKSUM) does not | |
618 | work for ICMPv6 socket. | |
619 | ||
620 | 2001-10-24 Kunihiro Ishiguro <kunihiro@ipinfusion.com> | |
621 | ||
622 | * rib.c (rib_process): Select connected route any case. | |
623 | ||
624 | 2001-10-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com> | |
625 | ||
626 | * interface.c (no_ip_address_secondary): Add "no" to command. | |
627 | ||
628 | 2001-10-18 NOGUCHI Kay <kay@v6.access.co.jp> | |
629 | ||
630 | * ioctl.c (if_prefix_add_ipv6): Set the prefered and valid lifetime | |
631 | to infinity as the freebsd4.4 workaroud. | |
632 | ||
633 | 2001-08-26 mihail.balikov@interbgc.com | |
634 | ||
635 | * zebra_snmp.c: Fix snmpwalk problem such as IPv4 address | |
636 | A.B.C.255. | |
637 | ||
638 | 2001-08-22 NOGUCHI Kay <kay@v6.access.co.jp> | |
639 | ||
640 | * rtadv.c: Do not send RA to loopback interface. | |
641 | ||
642 | 2001-08-20 Kunihiro Ishiguro <kunihiro@ipinfusion.com> | |
643 | ||
644 | * ioctl.c (if_set_prefix): Remove Linux 2.0 specific connected | |
645 | route treatment. | |
646 | ||
647 | 2001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com> | |
648 | ||
649 | * zebra-0.92a released. | |
650 | ||
651 | 2001-08-17 Kunihiro Ishiguro <kunihiro@ipinfusion.com> | |
652 | ||
653 | * rib.c: Kernel route is treated as EGP routes in nexthop active | |
654 | check. | |
655 | ||
656 | 2001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com> | |
657 | ||
658 | * zebra-0.92 released. | |
659 | ||
660 | 2001-08-08 "Akihiro Mizutani" <mizutani@dml.com> | |
661 | ||
662 | * rib.c (show_ip_route_prefix_longer): Add longer-prefix option to | |
663 | show route commands. | |
664 | ||
665 | 2001-07-29 Yon Uriarte <havanna_moon@gmx.net> | |
666 | ||
667 | * zserv.c (zsend_ipv4_add_multipath): Add | |
668 | NEXTHOP_TYPE_IPV4_IFINDEX check. | |
669 | ||
670 | 2001-07-29 NOGUCHI Kay <kay@v6.access.co.jp> | |
671 | ||
672 | * rtadv.c: Apply valid lifetime, preferred lifetime, onilnk flag, | |
673 | autonomous address-configuration flag patch. | |
674 | (no_ipv6_nd_suppress_ra): Change "ipv6 nd send-ra" to "no ipv6 nd | |
675 | suppress-ra". | |
676 | ||
677 | 2001-07-24 NOGUCHI Kay <kay@v6.access.co.jp> | |
678 | ||
679 | * rtadv.c (ipv6_nd_ra_interval): Add "ipv6 nd ra-interval SECONDS" | |
680 | command. | |
681 | ||
682 | 2001-07-24 Jun-ichiro itojun Hagino <itojun@iijlab.net> | |
683 | ||
684 | * rt_socket.c (kernel_rtm_ipv4): Add KAME/NetBSD151 equal cost | |
685 | multicast FIB support both IPv4 and IPv6. | |
686 | ||
687 | 2001-07-24 Hal Snyder <hal@vailsys.com> | |
688 | ||
689 | * if_ioctl.c (interface_list_ioctl): Fix bug of failing to get the | |
690 | full list of interfaces on some configurations of OpenBSD. | |
691 | ||
692 | 2001-07-23 NOGUCHI Kay <kay@v6.access.co.jp> | |
693 | ||
694 | * rtadv.c (ipv6_nd_send_ra): Apply [zebra 9320] to fix "ipv6 nd | |
695 | send-ra" bug. | |
696 | (ipv6_nd_ra_lifetime): "ipv6 nd ra-lifetime 0" for default router | |
697 | availability. | |
698 | (ipv6_nd_managed_config_flag): "ipv6 nd managed-config-flag" is | |
699 | added. | |
700 | (ipv6_nd_other_config_flag): "ipv6 nd other-config-flag" is added. | |
701 | ||
702 | 2001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net> | |
703 | ||
704 | * ioctl.c (if_ioctl): Change ioctl argument from int to u_long. | |
705 | ||
706 | * rt_ioctl.c: Likewise. | |
707 | ||
708 | 2001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net> | |
709 | ||
710 | * kernel_socket.c (rtm_write): Only set RTF_CLONING when the | |
711 | interface is not p2p. | |
712 | ||
713 | 2001-04-23 Kunihiro Ishiguro <kunihiro@zebra.org> | |
714 | ||
715 | * ioctl.c (if_prefix_add_ipv6): Fix argument type. | |
716 | ||
717 | 2001-04-06 Toshiaki Takada <takada@zebra.org> | |
718 | ||
719 | * zserv.c (zsend_interface_delete): Use client->obuf instead of | |
720 | allocating new stream. | |
721 | ||
722 | 2001-03-10 Kunihiro Ishiguro <kunihiro@zebra.org> | |
723 | ||
724 | * rt_netlink.c: Revert RTPROT_BOOT change. | |
725 | ||
726 | 2001-03-08 Kunihiro Ishiguro <kunihiro@zebra.org> | |
727 | ||
728 | * rt_netlink.c (netlink_route_change): Skip RTPROT_BOOT route. | |
729 | (netlink_routing_table): Likewise. | |
730 | ||
731 | 2001-03-07 "Akihiro Mizutani" <mizutani@dml.com> | |
732 | ||
733 | * zserv.c (zsend_ipv4_add_multipath): Send metric value to | |
734 | protocol daemons. | |
735 | ||
736 | 2001-02-18 Kunihiro Ishiguro <kunihiro@zebra.org> | |
737 | ||
738 | * rt_netlink.c (netlink_routing_table): Do not return | |
739 | tb[RTA_GATEWAY] is NULL. Reported by: "Michael O'Keefe" | |
740 | <mokeefe@qualcomm.com>. | |
741 | ||
742 | 2001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org> | |
743 | ||
744 | * if_ioctl.c (interface_list_ioctl): Call if_add_update(). | |
745 | Suggested by: Chris Dunlop <chris@onthe.net.au>. | |
746 | ||
747 | 2001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org> | |
748 | ||
749 | * rib.c (nexthop_active_ipv4): When nexthop type is | |
750 | NEXTHOP_TYPE_IPV4_IFINDEX, propery set the ifindex to rifindex. | |
751 | ||
752 | * zserv.c: Initialize rtm_table_default with 0. | |
753 | ||
754 | * zebra-0.91 is released. | |
755 | ||
756 | 2001-01-31 Kunihiro Ishiguro <kunihiro@zebra.org> | |
757 | ||
758 | * kernel_socket.c (rtm_read): Filter cloned route. Suggested by: | |
759 | Jun-ichiro itojun Hagino <itojun@iijlab.net> | |
760 | ||
761 | 2001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org> | |
762 | ||
763 | * connected.c (connected_up_ipv6): When point-to-point destination | |
764 | address is ::, use local address for connected network. | |
765 | (connected_down_ipv6): Likewise. | |
766 | ||
767 | 2001-01-25 Kunihiro Ishiguro <kunihiro@zebra.org> | |
768 | ||
769 | * zserv.c (zebra_serv): Add missing close() call. Reported by: | |
770 | David Waitzman <djw@vineyard.net>. | |
771 | ||
772 | 2001-01-24 Kunihiro Ishiguro <kunihiro@zebra.org> | |
773 | ||
774 | * rib.c (rib_lookup_ipv4): New function for checking exact match | |
775 | IGP route. | |
776 | ||
777 | 2001-01-23 Kunihiro Ishiguro <kunihiro@zebra.org> | |
778 | ||
779 | * rib.c (show_ipv6_route_protocol): Fix bug of "show ip route | |
780 | route-type". | |
781 | ||
782 | 2001-01-22 Kunihiro Ishiguro <kunihiro@zebra.org> | |
783 | ||
784 | * interface.c (zebra_interface): Do not call | |
785 | zebra_interface_add_update for inactive interface. | |
786 | ||
787 | * zserv.c (zsend_interface_address_add): Send interface address | |
788 | flag. | |
789 | (zsend_interface_address_delete): Likewise. | |
790 | ||
791 | 2001-01-19 Kunihiro Ishiguro <kunihiro@zebra.org> | |
792 | ||
793 | * interface.c (if_addr_add): Add flags. | |
794 | ||
795 | * connected.c (ifa_add_ipv4): Add new function for interface | |
796 | address handling. | |
797 | (ifa_delete_ipv4): Likewise. | |
798 | ||
799 | 2001-01-16 Kunihiro Ishiguro <kunihiro@zebra.org> | |
800 | ||
801 | * rib.c (rib_update): Update IPv6 RIB. | |
802 | ||
803 | * kernel_socket.c (ifam_read): Call if_refresh() for update | |
804 | interface flag status. This is for implicit interface up on *BSD. | |
805 | ||
806 | * interface.c (if_refresh): Add interface flag refresh function. | |
807 | ||
808 | * kernel_socket.c (rtm_read): Fetch link-local address interface | |
809 | index. | |
810 | (ifan_read): We need to fetch interface information. Suggested | |
811 | by: Yasuhiro Ohara <yasu@sfc.wide.ad.jp>. | |
812 | ||
813 | * rib.c (static_ipv6_nexthop_same): Add check for | |
814 | NEXTHOP_TYPE_IPV6_IFNAME. | |
815 | ||
816 | 2001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org> | |
817 | ||
818 | * rib.h (NEW_RIB): Turn on NEW_RIB flag. IPv6 new RIB code are | |
819 | taken into place. | |
820 | ||
821 | 2001-01-14 Kunihiro Ishiguro <kunihiro@zebra.org> | |
822 | ||
823 | * rib.c (static_ipv6_write): Display STATIC_IPV6_GATEWAY_IFNAME | |
824 | configuration. | |
825 | (rib_delete_ipv6): Handle same route conter for IPv6 connected | |
826 | route. | |
827 | (show_ipv6_route_protocol): New command. | |
828 | (show_ipv6_route_addr): Likewise. | |
829 | (show_ipv6_route_prefix): Likewise. | |
830 | (rib_update): Sweep kernel route when it is cleaned up. | |
831 | ||
832 | * rt_socket.c (kernel_add_ipv6): Add NEXTHOP_IPV6_IFNAME | |
833 | treatmenet. | |
834 | ||
835 | * rt_netlink.c (kernel_init): Likewise. | |
836 | ||
837 | * rt_ioctl.c (kernel_ioctl_ipv6_multipath): Likewise. | |
838 | ||
839 | * rib.c (rib_add_ipv4): Cope with same connected route on a | |
840 | interface. Suggested by: Matthew Grant <grantma@anathoth.gen.nz>. | |
841 | (nexthop_ipv6_ifname_add): Add NEXTHOP_IPV6_IFNAME treatmenet. | |
842 | ||
843 | * rib.h (struct new_rib): Add refcnt to keep track on the | |
844 | reference of same connected route. | |
845 | ||
846 | * ioctl.c (if_set_prefix): Add check for GNU_LINUX. | |
847 | ||
848 | 2001-01-13 Yasuhiro Ohara <yasu@sfc.wide.ad.jp> | |
849 | ||
850 | * kernel_socket.c (ifan_read, rtm_type_str): Add RTM_OIFINFO check. | |
851 | (rtm_type_str): Add RTM_IFANNOUNCE check. | |
852 | (ifan_read): New function. | |
853 | (kernel_read): Add case for RTM_IFANNOUNCE. | |
854 | ||
855 | 2001-01-13 Kunihiro Ishiguro <kunihiro@zebra.org> | |
856 | ||
857 | * rt_ioctl.c (kernel_ioctl_ipv6_multipath): New function. | |
858 | ||
859 | * rt_netlink.c (netlink_route_multipath): IPv6 address ifindex | |
860 | treatment. | |
861 | ||
862 | * connected.c (connected_up_ipv6): Add dest value check. | |
863 | ||
864 | * rib.c (nexthop_active_ipv6): Do not touch IPv6 nexthop's | |
865 | ifindex. | |
866 | (rib_add_ipv4): Import rib_add_ipv6() same route check code. | |
867 | (nexthop_active_check): NEXTHOP_TYPE_IPV6_IFINDEX activity is only | |
868 | checked by ifindex. | |
869 | ||
870 | * rt_socket.c (kernel_rtm_ipv6_multipath): New function. | |
871 | ||
872 | * redistribute.c (redistribute_add): Use | |
873 | zsend_ipv6_add_multipath(). | |
874 | (redistribute_delete_multipath): Use | |
875 | zsend_ipv6_delete_multipath(). | |
876 | ||
877 | * interface.c (ip_address): Check current IP address to avoid | |
878 | duplicate. | |
879 | ||
880 | * rib.c (rib_delete_ipv4): When deleted route is connected route, | |
881 | check ifindex. | |
882 | (rib_add_ipv4): When connected route is added do not perform | |
883 | implicit withdraw. | |
884 | (rib_delete_ipv4): Check ifindex for connected route. | |
885 | ||
886 | * kernel_socket.c (rtm_read): When route has RTF_STATIC, set | |
887 | ZEBRA_FLAG_STATIC for indicate as persistent route. | |
888 | (ifam_read): Unset interface index from link-local address when | |
889 | IPv6 stack is KAME. | |
890 | ||
891 | * rib.c (rib_update): Do not delete persistent kernel route. | |
892 | ||
893 | * rib.h (struct new_rib): Integrate RIB_FLAG_* to ZEBRA_FLAG_*. | |
894 | ||
895 | * rt_socket.c (kernel_add_ipv6_multipath): Add placeholder. | |
896 | (kernel_delete_ipv6_multipath): Likewise. | |
897 | ||
898 | * rt_netlink.c (netlink_talk): Give struct nlsock to netlink_talk. | |
899 | ||
900 | 2001-01-12 Kunihiro Ishiguro <kunihiro@zebra.org> | |
901 | ||
902 | * rib.c (rib_update): Revert Matthew Grant's patch | |
903 | zebra_cvs_newribfix.patch. Use struct rib->ifindex for kernel | |
904 | interface index. Introduce NEXTHOP_TYPE_IPV4_IFINDEX to support | |
905 | that. Add support for address deletion situation. | |
906 | ||
907 | 2001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org> | |
908 | ||
909 | * interface.c: Remove HAVE_IF_PSEUDO part. | |
910 | ||
911 | * rib.h: Likewise. | |
912 | ||
913 | * rt_netlink.c (netlink_link_change): Likewise. | |
914 | ||
915 | 2001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org> | |
916 | ||
917 | * zserv.c: Remove OLD_RIB codes. | |
918 | ||
919 | 2001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org> | |
920 | ||
921 | * zebra-0.90 is released. | |
922 | ||
923 | 2001-01-09 Matthew Grant <grantma@anathoth.gen.nz> | |
924 | ||
925 | * interface.c (if_new_intern_ifindex): Allocate a new internal | |
926 | interface index. | |
927 | (if_addr_refresh): Fix up ip addresses configured via zebra. | |
928 | (if_add_update): Handle an interface addition. | |
929 | (if_delete_update): Handle an interface delete event. | |
930 | ||
931 | * rib.c (nexthop_ipv4_add): Add kernel route deletion process when | |
932 | interface goes down. | |
933 | ||
934 | 2001-01-08 Kunihiro Ishiguro <kunihiro@zebra.org> | |
935 | ||
936 | * interface.c (if_dump_vty): When HAVE_NET_RT_IFLIST is defined, | |
937 | NetBSD also use this function. Suggested by Jasper Wallace | |
938 | <jasper@ivision.co.uk>. | |
939 | ||
940 | 2001-01-07 Kunihiro Ishiguro <kunihiro@zebra.org> | |
941 | ||
942 | * rib.c (nexthop_active_ipv4): Move back to set methodo to old | |
943 | one. | |
944 | ||
945 | 2001-01-05 Kunihiro Ishiguro <kunihiro@zebra.org> | |
946 | ||
947 | * rib.c (rib_add_ipv4): EBGP multihop set ZEBRA_FLAG_INTERNAL | |
948 | flag, so treat it. | |
949 | ||
950 | 2001-01-04 Kunihiro Ishiguro <kunihiro@zebra.org> | |
951 | ||
952 | * rt_netlink.c (netlink_talk_ipv6): When IPv6 route message is | |
953 | sent from netlink_cmd, the same message comes from netlink. To | |
954 | avoid confusion, temporary netlink_talk_ipv6 use netlink.sock | |
955 | instead of netlink_cmd.sock. | |
956 | ||
957 | 2001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org> | |
958 | ||
959 | * zserv.h (ZEBRA_SERV_PATH): Change "/tmp/zebra" to "/tmp/.zebra". | |
960 | Change "/tmp/zserv" to "/tmp/.zserv". | |
961 | ||
962 | 2000-12-29 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net> | |
963 | ||
964 | * rt_netlink.c (struct nlsock): Divide kernel message into listen | |
965 | socket and command socket. | |
966 | (netlink_talk): Remove socket listen code. Use netlink_parse_info | |
967 | for read kernel response. | |
968 | ||
969 | 2000-12-29 Kunihiro Ishiguro <kunihiro@zebra.org> | |
970 | ||
971 | * rib.c (vty_show_ip_route): Show uptime of the RIP,OSPF,BGP | |
972 | routes. | |
973 | ||
974 | 2000-12-27 Kunihiro Ishiguro <kunihiro@zebra.org> | |
975 | ||
976 | * rt_netlink.c (netlink_route_multipath): Metric value is | |
977 | reflected to kernel routing table. | |
978 | ||
979 | * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Likewise. | |
980 | ||
981 | * kernel_socket.c (rtm_write): Likewise. | |
982 | ||
983 | * rib.c (nexthop_active_ipv4): Only iBGP route perform recursive | |
984 | nexthop lookup. | |
985 | ||
986 | * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Add ioctl version of | |
987 | new RIB implementation. | |
988 | ||
989 | 2000-12-26 Kunihiro Ishiguro <kunihiro@zebra.org> | |
990 | ||
991 | * rib.h: Remove MULTIPATH_NUM. It is defined by configure script. | |
992 | ||
993 | 2000-12-25 Michael Rozhavsky <mrozhavsky@opticalaccess.com> | |
994 | ||
995 | * rib.c (rib_if_up): Call rib_fib_set instead of RIB_FIB_SET for | |
996 | proper redistribution. | |
997 | ||
998 | 2000-12-19 Kunihiro Ishiguro <kunihiro@zebra.org> | |
999 | ||
1000 | * rib.c (nexthop_active_ipv4): Add self lookup nexthop check. | |
1001 | (show_ip_route_protocol): Support new RIB. | |
1002 | ||
1003 | * rt_netlink.c (netlink_route_change): Do not return when gate is | |
1004 | NULL. | |
1005 | ||
1006 | 2000-12-18 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1007 | ||
1008 | * rib.c (rib_lookup_ipv4_nexthop): IBGP nexthop check function is | |
1009 | updated. | |
1010 | (rib_add_ipv4): Free implicit withdraw route's RIB. | |
1011 | ||
1012 | 2000-12-15 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1013 | ||
1014 | * rib.c (nexthop_active_ipv4): Check indirect nexthop. | |
1015 | ||
1016 | * redistribute.c (redistribute_add_multipath): Redistribution | |
1017 | works with new rib code. | |
1018 | ||
1019 | 2000-12-14 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1020 | ||
1021 | * rt_netlink.c (netlink_route_multipath): Check useful nexthop | |
1022 | number. | |
1023 | (netlink_route_multipath): Clear rtnh_flags and rtnh_hops. | |
1024 | ||
1025 | * rib.c (nexthop_active_update): Set flag for the rib's nexthop | |
1026 | activity is changed. | |
1027 | (nexthop_active_check): Before checking interface is up, make it | |
1028 | sure the interface exist. | |
1029 | ||
1030 | 2000-11-20 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1031 | ||
1032 | * rib.c (ip_route): New RIB prototype. | |
1033 | ||
1034 | 2000-11-16 Yon Uriarte <ukl2@rz.uni-karlsruhe.de> | |
1035 | ||
1036 | * zserv.c (zsend_interface_add): Send hardware address when | |
1037 | hw_addr_len is greater than 0. | |
1038 | ||
1039 | 2000-11-07 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1040 | ||
1041 | * connected.c (connected_up_ipv4): Fix ptop bug. The destination | |
1042 | network should be installed into routing table. | |
1043 | (connected_down_ipv4): Likewise. | |
1044 | (connected_add_ipv4): Change to use connected_up_ipv4. | |
1045 | (connected_delete_ipv4): Likewise. | |
1046 | ||
1047 | 2000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1048 | ||
1049 | * rt_netlink.c (netlink_interface_addr): Revert Harald Welte | |
1050 | <laforge@gnumonks.org>'s ptop patch then back to original code to | |
1051 | avoid duplicated connected route problem. Suggested by Frank van | |
1052 | Maarseveen <F.vanMaarseveen@inter.NL.net>. | |
1053 | ||
1054 | * kernel_socket.c (rtm_read): Make behavior consistent even #ifdef | |
1055 | DEBUG is defined. Reported by Jun-ichiro itojun Hagino | |
1056 | <itojun@iijlab.net>. | |
1057 | ||
1058 | 2000-10-23 Jochen Friedrich <jochen@scram.de> | |
1059 | ||
1060 | * main.c (main): Call zebra_snmp_init() when it is enabled. | |
1061 | ||
1062 | 2000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1063 | ||
1064 | * zserv.c (zebra_serv_un): UNIX domain socket server of zebra | |
1065 | protocol. | |
1066 | ||
1067 | 2000-10-19 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1068 | ||
1069 | * rib.c (rib_add_ipv4): Same check bug is fixed. | |
1070 | ||
1071 | 2000-10-03 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1072 | ||
1073 | * rib.c (rib_if_down): Remove kernel route when the interface goes | |
1074 | down. | |
1075 | ||
1076 | * debug.c: New command "debug zebra kernel" is added. | |
1077 | ||
1078 | 2000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1079 | ||
1080 | * zebra-0.89 is released. | |
1081 | ||
1082 | 2000-09-24 Harald Welte <laforge@gnumonks.org> | |
1083 | ||
1084 | * rt_netlink.c (netlink_interface_addr): Fix point-to-point address | |
1085 | treatment in netlink interface. | |
1086 | ||
1087 | 2000-09-21 David Lipovkov <dlipovkov@OpticalAccess.com> | |
1088 | ||
1089 | * rib.c (rib_if_down): Pull static route only. Protocol daemon | |
1090 | must withdraw routes when interface goes down. | |
1091 | (rib_add_ipv4): Check nexthop when replace route. | |
1092 | ||
1093 | 2000-09-21 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1094 | ||
1095 | * if_ioctl.c (if_getaddrs): New function for looking up | |
1096 | interface's address by getifaddrs(). | |
1097 | ||
1098 | 2000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1099 | ||
1100 | * connected.c (connected_delete_ipv4): Add check for connected | |
1101 | address is found or not. | |
1102 | (connected_add_ipv6): Reflect IPv6 connected address change to | |
1103 | protocol daemons. | |
1104 | (connected_delete_ipv6): Likewise. | |
1105 | ||
1106 | 2000-09-07 David Lipovkov <davidl@nbase.co.il> | |
1107 | ||
1108 | * rib.c (rib_delete_ipv4): Reverted the change from pseudo | |
1109 | interface patch to original. Because ospfd deletes routes using | |
1110 | zero ifindex. | |
1111 | ||
1112 | 2000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1113 | ||
1114 | * zebra-0.88 is released. | |
1115 | ||
1116 | 2000-08-15 "Akihiro Mizutani" <mizutani@dml.com> | |
1117 | ||
1118 | * rib.c (show_ip_route_protocol): Help string correction. | |
1119 | (show_ip_route_prefix): Check prefix mask. | |
1120 | (show_ip_route_vty_detail): Display distance and metric. | |
1121 | ||
1122 | 2000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1123 | ||
1124 | * zserv.c (zsend_interface_add): Change ifindex store size from | |
1125 | two octet to four. | |
1126 | (zsend_interface_delete): Likewise. | |
1127 | (zsend_interface_address_add): Likewise. | |
1128 | (zsend_interface_address_delete): Likewise. | |
1129 | (zsend_interface_up): Likewise. | |
1130 | (zsend_interface_down): Likewise. | |
1131 | ||
1132 | 2000-08-13 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1133 | ||
1134 | * rib.c (rib_add_ipv4): Do not install distance 255 route. | |
1135 | ||
1136 | 2000-08-10 Toshiaki Takada <takada@zebra.org> | |
1137 | ||
1138 | * interface.c (bandwidth_if), (no_bandwidth_if): Call | |
1139 | zebra_interface_up_update () instead of using if_up() and if_down(). | |
1140 | ||
1141 | 2000-08-07 "Akihiro Mizutani" <mizutani@dml.com> | |
1142 | ||
1143 | * interface.c (bandwidth_if): Fix help string. | |
1144 | ||
1145 | 2000-08-07 Matthew Grant <grantma@anathoth.gen.nz> | |
1146 | ||
1147 | * interface.c (if_dump_vty): Display bandwidth value. | |
1148 | (bandwidth_if): New command "bandwidth <1-10000000>" is added. | |
1149 | When interface is up, force protocol daemons to recalculate routes | |
1150 | due to cost change. | |
1151 | (no_bandwidth_if): Likewise. | |
1152 | (if_config_write): Output bandwidth configuration. | |
1153 | ||
1154 | * zserv.c (zsend_interface_add): Send bandwidth value. | |
1155 | (zsend_interface_up): Likewise. | |
1156 | (zsend_interface_down): Likewise. | |
1157 | ||
1158 | ||
1159 | 2000-08-07 Michael Rozhavsky <mike@nbase.co.il> | |
1160 | ||
1161 | * rib.c (show_ip_route_protocol): "show ip route | |
1162 | (bgp|connected|kernel|ospf|rip|static)" is added. | |
1163 | ||
1164 | 2000-08-07 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1165 | ||
1166 | * rib.c (rib_lookup_ipv4_nexthop): Check parent node until IGP | |
1167 | nexthop is found. | |
1168 | (rib_add_ipv4_internal): Set fib ifindex to rib ifindex. | |
1169 | ||
1170 | 2000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1171 | ||
1172 | * redistribute.c (redistribute_delete): Fix bug of default route | |
1173 | redistribute treatment. | |
1174 | ||
1175 | 2000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1176 | ||
1177 | * rib.c (rib_init): Install ip_node in rib.c instead of zserv.c. | |
1178 | Change default distance value. | |
1179 | ||
1180 | Old New | |
1181 | ------------------------------------------ | |
1182 | system 10 0 | |
1183 | kernel 20 0 | |
1184 | connected 30 0 | |
1185 | static 40 1 | |
1186 | rip 50 120 | |
1187 | ripng 50 120 | |
1188 | ospf 60 110 | |
1189 | ospf6 49 110 | |
1190 | bgp 70 200(iBGP) 20(eBGP) | |
1191 | ------------------------------------------ | |
1192 | ||
1193 | * zserv.c (client_lookup): Function removed. | |
1194 | (zsend_interface_add): Use client's output buffer. Check ifinfo | |
1195 | flag. | |
1196 | (zsend_interface_delete): Likewise. | |
1197 | Delete ipv4_static_radix and ipv6_static_radix. | |
1198 | ||
1199 | 2000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1200 | ||
1201 | * zserv.h (struct zebra_client): When client request interface | |
1202 | information, ifinfo is set. | |
1203 | ||
1204 | * rib.c: Temporary Revert changes for pseudo interface. | |
1205 | ||
1206 | * rib.h: Likewise. | |
1207 | ||
1208 | * zserv.c: Likewise. | |
1209 | ||
1210 | * interface.c: Likewise. | |
1211 | ||
1212 | 2000-08-02 David Lipovkov <davidl@nbase.co.il> | |
1213 | ||
1214 | * interface.c (zebra_if_init): Install interface "pseudo" | |
1215 | commands. | |
1216 | ||
1217 | * rib.c (rib_create): ifname argument is added. | |
1218 | (rib_add_ipv4_pseudo): New function is added. | |
1219 | (rib_delete_ipv4_pseudo): Likewise. | |
1220 | ||
1221 | * rib.h : Delete INTERFACE_UNKNOWN definition. Add prototype for | |
1222 | pseudo interface functions. | |
1223 | ||
1224 | * rt_netlink.c (netlink_link_change): Check for pseudo interface. | |
1225 | ||
1226 | * zserv.c (ip_route): When destination is pseudo interface, call | |
1227 | rib_add_ipv4_pseudo(). | |
1228 | ||
1229 | * zserv.c (no_ip_route): Trim "unknown" argument. | |
1230 | ||
1231 | 2000-07-26 kunitake@dti.ad.jp | |
1232 | ||
1233 | * if_ioctl.c (if_get_hwaddr): Fix hardware address length from 8 | |
1234 | to 6. | |
1235 | ||
1236 | * rtadv.c (rtadv_send_packet): Fix shift bug for hardware address. | |
1237 | ||
1238 | 2000-07-24 Akihiro Mizutani <mizutani@dml.com> | |
1239 | ||
1240 | * interface.c: Use install_default() for common VTY commands. | |
1241 | ||
1242 | 2000-07-23 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1243 | ||
1244 | * if_ioctl.c (interface_list_ioctl): A interface list size is | |
1245 | calculated from ifreq->if_addr.sa_len. This is for OpenBSD. | |
1246 | ||
1247 | * ioctl.c (if_get_mtu): Remove codes for SIOCGIFDATA. | |
1248 | ||
1249 | 2000-07-09 Chris Dunlop <chris@onthe.net.au> | |
1250 | ||
1251 | * if_ioctl.c (if_get_index): Add check for HAVE_BROKEN_ALIASES. | |
1252 | ||
1253 | 2000-07-04 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1254 | ||
1255 | * zserv.c (zebra_client_read): Add ZEBRA_REDISTRIBUTE_{ADD,DELETE} | |
1256 | message handling. | |
1257 | ||
1258 | 2000-07-02 David Lipovkov <davidl@nbase.co.il> | |
1259 | ||
1260 | * zserv.c: "ip route A.B.C.D/M unknown" command is added. | |
1261 | ||
1262 | 2000-06-28 Michael Rozhavsky <mike@nbase.co.il> | |
1263 | ||
1264 | * rib.c: Remove old kernel route when new route comes in. | |
1265 | ||
1266 | 2000-06-13 David Lipovkov <davidl@nbase.co.il> | |
1267 | ||
1268 | * rib.c (rib_if_up): Add check for unknown interface. | |
1269 | ||
1270 | 2000-06-13 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1271 | ||
1272 | * rib.h: Define INTERFACE_UNKNOWN. | |
1273 | ||
1274 | 2000-06-08 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1275 | ||
1276 | * Makefile.am (EXTRA_DIST): Move irdp.c until implementation is | |
1277 | finished. | |
1278 | ||
1279 | 2000-06-05 David Lipovkov <davidl@nbase.co.il> | |
1280 | ||
1281 | * interface.c (if_zebra_delete_hook): Call rib_if_delete(). | |
1282 | ||
1283 | * redistribute.c (zebra_interface_delete_update): New function. | |
1284 | ||
1285 | * redistribute.h (zebra_interface_delete_update): New function | |
1286 | prototype. | |
1287 | ||
1288 | * rib.c (rib_if_delete): New function. Walk down all routes and | |
1289 | delete all on the interface. | |
1290 | ||
1291 | * rib.h: New function prototype. | |
1292 | ||
1293 | * rt_netlink.c (netlink_link_change): Call | |
1294 | zebra_interface_delete_update (). | |
1295 | ||
1296 | 2000-05-10 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1297 | ||
1298 | * if_ioctl.c (interface_info_ioctl): Check interface's flag before | |
1299 | checking interface's address. | |
1300 | ||
1301 | 2000-04-26 Jochen Friedrich <jochen@nwe.de> | |
1302 | ||
1303 | * GNOME-PRODUCT-ZEBRA-MIB: New file. | |
1304 | ||
1305 | * GNOME-SMI: New file. | |
1306 | ||
1307 | 2000-04-23 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1308 | ||
1309 | * irdp.c: New file from 1997 development code. | |
1310 | * irdp.h: Likewise. | |
1311 | ||
1312 | 2000-04-19 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1313 | ||
1314 | * rtadv.c (rtadv_send_packet): Enclose router advertisement | |
1315 | logging with IS_ZEBRA_DEBUG_PACKET. | |
1316 | ||
1317 | 2000-04-17 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1318 | ||
1319 | * zserv.c (zebra_client_close): Remove client structure from | |
1320 | client_list when connection is terminated. | |
1321 | ||
1322 | 2000-03-21 David Lipovkov <davidl@nbase.co.il> | |
1323 | ||
1324 | * connected.c (connected_add_ipv4): Allows all necessary structure | |
1325 | updates for connected route, but doesn't insert it into rib if | |
1326 | it's interface is down. | |
1327 | ||
1328 | 2000-01-21 Hideto Yamakawa <hideto.yamakawa@soliton.co.jp> | |
1329 | ||
1330 | * rtread_getmsg.c: Set some definition for Solaris 2.5 and Solaris | |
1331 | 2.5.1. | |
1332 | ||
1333 | 2000-01-21 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1334 | ||
1335 | * rib.c (no_ipv6_route_ifname): Fix buf of cheking return value | |
1336 | from str2prefix_ipv6(). | |
1337 | ||
1338 | 2000-01-14 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1339 | ||
1340 | * rt_socket.c: Revert to use RTF_HOST for IPv4 with /32 route and | |
1341 | IPv6 with /128 routes. | |
1342 | (kernel_rtm_ipv4): In case of /32 route's gateway is interface. It | |
1343 | should have mask for cloning. | |
1344 | ||
1345 | 1999-12-26 Jochen.Friedrich@genorz.de | |
1346 | ||
1347 | * interface.c (if_dump_vty): Fix a bug of missing VTY_NEWLINE. | |
1348 | ||
1349 | 1999-12-23 Alex Zinin <zinin@amt.ru> | |
1350 | * interface.*: dynamic int up/down support | |
1351 | ||
1352 | 1999-12-09 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1353 | ||
1354 | * ipforward_proc.c (dropline): Move dropline() from lib/dropline.c | |
1355 | ||
1356 | * rtread_proc.c (proc_route_read): Don't use dropline(). | |
1357 | ||
1358 | 1999-12-08 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1359 | ||
1360 | * kernel_socket.c (rtm_read): When message is RTM_GET, it has own | |
1361 | process's pid. | |
1362 | ||
1363 | 1999-12-04 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1364 | ||
1365 | * main.c (main): Change to default log output to ZLOG_STDOUT. | |
1366 | ||
1367 | * zserv.c (zebra_serv): More detailed error print. | |
1368 | ||
1369 | 1999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1370 | ||
1371 | * kernel_socket.c (rtm_read): Check old pid for static route | |
1372 | insertion check. | |
1373 | ||
1374 | 1999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1375 | ||
1376 | * interface.c (if_dump_vty): BSDI/OS uses 64bit for interface | |
1377 | statistics counter. | |
1378 | ||
1379 | * mtu_kvm.c: New file added. | |
1380 | ||
1381 | 1999-11-27 Vladimir B. Grebenschikov <vova@express.ru> | |
1382 | ||
1383 | * kernel_socket.c (rtm_write): Set RTF_CLONING flag for | |
1384 | route to the directly connected interface. | |
1385 | ||
1386 | 1999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1387 | ||
1388 | * rt_socket.c: Delete USE_HOST_BIT definition. | |
1389 | ||
1390 | 1999-11-21 Michael Handler <handler@sub-rosa.com> | |
1391 | ||
1392 | * rtread_getmsg.c: Undef some definition to resolve conflict. | |
1393 | ||
1394 | 1999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1395 | ||
1396 | * kernel_socket.c (rtm_write): Change to use pre stored struct_dl | |
1397 | value for gateway specification. | |
1398 | ||
1399 | 1999-11-25 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1400 | ||
1401 | * rt_socket.c (kernel_rtm_ipv4): Even mask is 32 under IPv4 or | |
1402 | 128 under IPv6, don't use RTF_HOST. | |
1403 | ||
1404 | 1999-11-21 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1405 | ||
1406 | * Makefile.am (EXTRA_DIST): Add rtread_getmsg.c. | |
1407 | ||
1408 | 1999-11-21 Michael Handler <handler@sub-rosa.com> | |
1409 | ||
1410 | * rtread_getmsg.c: Added for Solaris 2.6 support. | |
1411 | ||
1412 | 1999-11-18 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1413 | ||
1414 | * rtread_sysctl.c (rtm_read_route): RTM_DELETE handling added. | |
1415 | ||
1416 | * rt_socket.c (kernel_read): Better BSD routing socket support. | |
1417 | ||
1418 | 1999-10-19 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1419 | ||
1420 | * client_main.c: Disable making obsolete zebra test `client' | |
1421 | command. | |
1422 | ||
1423 | 1999-10-18 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1424 | ||
1425 | * zebra.c: Renamed to zserv.c. | |
1426 | ||
1427 | * zebra.h: Global definitions are moved to lib/zebra.h. Then | |
1428 | renamed to zserv.h. | |
1429 | ||
1430 | 1999-10-15 Jordan Mendelson <jordy@wserv.com> | |
1431 | ||
1432 | * if_ioctl.c: Add Linux 2.2.X's alias support and dynamic | |
1433 | interface. Remove ugly MAX_INTERFACE handling codes. | |
1434 | ||
1435 | 1999-09-17 Satosi KOBAYASI <kobayasi@north.ad.jp> | |
1436 | ||
1437 | * Fix serious bug of IPv6 route deletion. | |
1438 | ||
1439 | 1999-09-11 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1440 | ||
1441 | * ioctl.c (if_set_prefix): Properly set broadcast address. | |
1442 | ||
1443 | 1999-09-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp> | |
1444 | ||
1445 | * rib.c (rib_add_ipv6, rib_delete_ipv6): now protocol daemons | |
1446 | can install connected route to kernel via zebra | |
1447 | ||
1448 | 1999-08-24 VOP <vop@unity.net> | |
1449 | ||
1450 | * rib.c: Include "sockunion.h" | |
1451 | ||
1452 | 1999-08-22 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1453 | ||
1454 | * ipforward.h: New file. | |
1455 | ||
1456 | * zebra.h: Obsolete message ZEBRA_GET_ALL_INTERFACE, | |
1457 | ZEBRA_GET_ONE_INTERFACE, ZEBRA_GET_HOSTINFO are deleted. | |
1458 | ||
1459 | 1999-08-18 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1460 | ||
1461 | * zebra.h (ZEBRA_INTERFACE_ADDRESS_ADD): | |
1462 | ZEBRA_INTERFACE_{ADD,DELETE} added. | |
1463 | ||
1464 | 1999-08-15 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1465 | ||
1466 | * rib.c: show ip route A.B.C.D works. | |
1467 | ||
1468 | * zebra.c (zebra_read_ipv4): Add ifindex to zebra messages. | |
1469 | ||
1470 | 1999-08-12 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1471 | ||
1472 | * zebra.h: New Zebra message ZEBRA_INTERFACE_{ADD,DELETE} added. | |
1473 | ||
1474 | 1999-08-09 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1475 | ||
1476 | * interface.h: New file. | |
1477 | * Makefile.am: Add interface.h | |
1478 | ||
1479 | 1999-08-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp> | |
1480 | ||
1481 | * redistribute.c (zebra_redistribute): give ifindex to client. | |
1482 | ||
1483 | 1999-08-02 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1484 | ||
1485 | * main.c (longopts): -k, --keep_kernel option added. | |
1486 | ||
1487 | 1999-07-18 Yasuhiro Ohara <yasu@sfc.wide.ad.jp> | |
1488 | ||
1489 | * rt_socket.c (rtm_write): forgot closing socket bug fixed. | |
1490 | ||
1491 | 1999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp> | |
1492 | ||
1493 | * rib.c (show_ipv6_cmd): if rib is link show interface name. | |
1494 | ||
1495 | 1999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp> | |
1496 | ||
1497 | * rt_socket.c (rtm_write): use sockaddr_dl when null gateway. | |
1498 | ||
1499 | 1999-07-16 Yasuhiro Ohara <yasu@sfc.wide.ad.jp> | |
1500 | ||
1501 | * rt_socket.c (rtm_write): ipv6 route table bug fixed. | |
1502 | ||
1503 | 1999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp> | |
1504 | ||
1505 | * zebra.c (zebra_read_ipv6): read link prefix from ospf6 support | |
1506 | ||
1507 | 1999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp> | |
1508 | ||
1509 | * rt_socket.c (kernel_rtm_ipv6): gate treatment bug fixed. | |
1510 | ||
1511 | 1999-07-15 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1512 | ||
1513 | * if_sysctl.c (ifm_read): Clear sockunion argument before fetching | |
1514 | data. Suggested by "Chris P. Ross" <cross@eng.us.uu.net> | |
1515 | ||
1516 | 1999-07-08 HEO SeonMeyong <seirios@Matrix.IRI.Co.Jp> | |
1517 | ||
1518 | * interface.c (if_tun_add): Add KAME's gif tunnel setting codes. | |
1519 | ||
1520 | 1999-06-26 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1521 | ||
1522 | * zebra.c (zebra_serv): Only accept loopback address connection. | |
1523 | ||
1524 | 1999-06-25 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1525 | ||
1526 | * zebra.h (ZEBRA_ROUTE_EXTERNAL): Add zebra messages flags | |
1527 | ||
1528 | 1999-06-17 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1529 | ||
1530 | * ipforward_proc.c: ipforward_on () and ipforward_off () added. | |
1531 | ||
1532 | 1999-06-14 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1533 | ||
1534 | * ipforward_proc.c (ipforward_ipv6): Check for IPv6 forwarding | |
1535 | using /proc file system is added. | |
1536 | ||
1537 | 1999-06-06 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1538 | ||
1539 | * if_ioctl.c (if_get_index): Interface index set bug is fixed by | |
1540 | adding #else at the middle of function. Suggested by David Luyer | |
1541 | <luyer@ucs.uwa.edu.au>. | |
1542 | ||
1543 | 1999-05-29 <kunihiro@zebra.org> | |
1544 | ||
1545 | * rt_ioctl.c: Comment out #include <linux/ipv6_route.h>. | |
1546 | ||
1547 | 1999-05-26 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1548 | ||
1549 | * zebra.h (ZEBRA_ROUTE_MAX): Add new define for the max value of | |
1550 | the sort of routes. | |
1551 | ||
1552 | 1999-05-25 Patrick Koppen <koppen@rhrk.uni-kl.de> | |
1553 | ||
1554 | * rt_netlink.c (netlink_socket): Make netlink socket non-blocking. | |
1555 | (netlink_parse_info): If errno is EWOULDBLOCK then continue to | |
1556 | parse the message. | |
1557 | (netlink_talk): Likewise | |
1558 | ||
1559 | 1999-05-17 <kunihiro@zebra.org> | |
1560 | ||
1561 | * redistribute.c (zebra_check_addr): Added for loopback address | |
1562 | check. | |
1563 | ||
1564 | 1999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1565 | ||
1566 | * rt_netlink.c (netlink_route_change): Tempolary bypass ipv6 route | |
1567 | change treatment. | |
1568 | ||
1569 | * Makefile.am (noinst_HEADERS): redistribute.h added. | |
1570 | ||
1571 | * redistribute.h: New file. | |
1572 | ||
1573 | 1999-05-14 Stephen R. van den Berg <srb@cuci.nl> | |
1574 | ||
1575 | * zebra.c (show_table): Show all table configuration DEFUN. | |
1576 | (config_table): Config table number DEFUN. | |
1577 | ||
1578 | * rt_netlink.c: Add support for multiple routing table. | |
1579 | ||
1580 | * rib.c (rib_weed_table): New function added for delete all | |
1581 | routes from specified routing table. | |
1582 | ||
1583 | * main.c (signal_init): SIGTERM call sigint. | |
1584 | (sigint): Loggging more better message. | |
1585 | ||
1586 | 1999-05-09 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1587 | ||
1588 | * rt_netlink.c: Change log () to zlog (). | |
1589 | ||
1590 | 1999-05-07 <kunihiro@zebra.org> | |
1591 | ||
1592 | * zebra.h (ZEBRA_ROUTE_OSPF6): Added for ospf6d route. | |
1593 | ||
1594 | 1999-04-20 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1595 | ||
1596 | * interface.c: Add `no ip address' command. | |
1597 | ||
1598 | 1999-04-10 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1599 | ||
1600 | * rt_netlink.c (kernel_read): Function added for asynchronous | |
1601 | zebra between kernel communication. | |
1602 | ||
1603 | 1999-03-25 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1604 | ||
1605 | * rtread_sysctl.c (rtm_read): Fix address memcopy overrun bug. | |
1606 | Reported by Achim Patzner <ap@bnc.net>. | |
1607 | ||
1608 | 1999-03-03 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1609 | ||
1610 | * Makefile.am: Install configuration sample with 600 permission. | |
1611 | ||
1612 | 1999-03-02 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1613 | ||
1614 | * Makefile.am: Add -I.. to INCLUDES. | |
1615 | ||
1616 | 1999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com> | |
1617 | ||
1618 | * syslog support added | |
1619 | ||
1620 | 1999-02-17 Peter Galbavy <Peter.Galbavy@knowledge.com> | |
1621 | ||
1622 | * if_sysctl.c (interface_list): allocated memory free when unknown | |
1623 | ifm_type is returned. | |
1624 | ||
1625 | * ioctl.c (if_get_mtu): added SIOCGIFDATA treatment. | |
1626 | ||
1627 | 1998-12-15 Magnus Ahltorp <map@stacken.kth.se> | |
1628 | ||
1629 | * interface.c: Header include added. | |
1630 | ||
1631 | 1998-12-14 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1632 | ||
1633 | * rt.h (kernel_delete_ipv6): change int index to unsigned int index. | |
1634 | ||
1635 | 1998-12-13 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1636 | ||
1637 | * if_ioctl.c (interface_list_ioctl): interface flag must be | |
1638 | checked before check addresses of the interface. | |
1639 | ||
1640 | 1998-12-07 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1641 | ||
1642 | * Makefile.am (INCLUDES): add @INCLUDES@ for Linux IPv6. | |
1643 | ||
1644 | 1998-10-14 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1645 | ||
1646 | * ioctl.c: Linux version before 2.1.0 need interface route setup. | |
1647 | ||
1648 | 1998-09-15 HEO SeonMeyong <seirios@matrix.iri.co.jp> | |
1649 | ||
1650 | * change HYDRANGEA to KAME | |
1651 | ||
1652 | 1998-09-01 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1653 | ||
1654 | * if_ioctl.c (if_addr_ioctl): set address family for getting | |
1655 | interface's address. | |
1656 | (if_get_index): silently return when can't get interface's index. | |
1657 | ||
1658 | 1998-08-17 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1659 | ||
1660 | * main.c (main): batch mode option '-b' added. | |
1661 | ||
1662 | 1998-08-16 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1663 | ||
1664 | * ioctl.c (if_set_prefix): add `ip address IPV4ADDR' command. | |
1665 | * interface.c (shutdown_if): add interface shutdown and no | |
1666 | shutdown command. | |
1667 | ||
1668 | 1998-08-12 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1669 | ||
1670 | * rib.c (rib_add_ipv6): delete rib_add_in6. | |
1671 | ||
1672 | 1998-07-27 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1673 | ||
1674 | * main.c: retain flag is added. | |
1675 | ||
1676 | 1998-07-08 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1677 | ||
1678 | * rtable.[ch]: merged with rib.[ch] | |
1679 | ||
1680 | 1998-07-07 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1681 | ||
1682 | * connected.h: renamed from ifa.h. | |
1683 | ||
1684 | 1998-06-09 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1685 | ||
1686 | * rename if.c to interface.c | |
1687 | * rename ifa.c to connected.c | |
1688 | ||
1689 | * Porting to Debian GNU/Linux 2.0 (hamm). | |
1690 | ||
1691 | 1998-06-08 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1692 | ||
1693 | * rt_netlink.c: renamed from krt_netlink.c | |
1694 | ||
1695 | * fib.c: deleted. | |
1696 | * rt_kvm.c: deleted. | |
1697 | * rtread_getmsg.c: deleted. | |
1698 | ||
1699 | 1998-06-07 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1700 | ||
1701 | * if.c (multicast): add multicast flag [un]set fucntion. | |
1702 | ||
1703 | 1998-05-19 Yamshita TAKAO <jargon@lares.dti.ne.jp> | |
1704 | ||
1705 | * rt_socket.c: Modify for compile on Solaris, but dont't work it. | |
1706 | rt_socket.c have some undefined function, so add directive "IMPLEMENT" | |
1707 | ||
1708 | 1998-05-18 Yamshita TAKAO <jargon@lares.dti.ne.jp> | |
1709 | ||
1710 | * zebra.c: Modify for compile on Solaris. | |
1711 | ||
1712 | 1998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1713 | ||
1714 | * main.c: change CONFDIR to SYSCONFDIR. | |
1715 | ||
1716 | 1998-05-01 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1717 | ||
1718 | * .cvsignore: added. | |
1719 | ||
1720 | 1998-04-02 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1721 | ||
1722 | * client.c: moves to ../lib. | |
1723 | ||
1724 | 1998-03-30 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1725 | ||
1726 | * if_ioctl.c (if_get_addr): Change address copy from memcopy() to | |
1727 | structure assignment. | |
1728 | ||
1729 | 1998-03-30 URA Hiroshi <ura@yamato.ibm.co.jp> | |
1730 | ||
1731 | * if_sysctl.c (ifm_interface_add): sdl->sdl_data copy bug fixed. | |
1732 | ||
1733 | 1998-02-23 "Hannes R. Boehm" <hannes@boehm.org> | |
1734 | ||
1735 | * if.c (if_init): add config_exit_cmd and config_help_cmd. | |
1736 | ||
1737 | 1998-01-24 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1738 | ||
1739 | * rt_ioctl.c (route_ioctl): EPERM treatment added. | |
1740 | ||
1741 | 1998-01-05 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1742 | ||
1743 | * rt_socket.c (kernel_read): communication port zebra between | |
1744 | kernel is now handled by kernel_read. | |
1745 | ||
1746 | 1998-01-02 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1747 | ||
1748 | * main.c (main): zebra [-P port] can specify vty port number. | |
1749 | ||
1750 | 1997-12-25 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1751 | ||
1752 | * zebra.c: change select will be block. | |
1753 | ||
1754 | 1997-12-04 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1755 | ||
1756 | * add static route treatment. | |
1757 | ||
1758 | 1997-11-25 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1759 | ||
1760 | * rt_netlink.c: add netlink support over GNU/Linux system. | |
1761 | ||
1762 | 1997-11-23 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1763 | ||
1764 | * all inet_addr is changed to inet_aton. | |
1765 | ||
1766 | * zebra.c (ip_route): add ip route command for static routes. | |
1767 | ||
1768 | 1997-11-20 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1769 | ||
1770 | * if.c (if_flag_dump): Linux port of if_flag_dump and _vty. | |
1771 | ||
1772 | 1997-11-19 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1773 | ||
1774 | * if.c: add interface command. | |
1775 | ||
1776 | 1997-11-18 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1777 | ||
1778 | * ipforward_proc.c : Now works on Linux. | |
1779 | ||
1780 | 1997-10-25 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1781 | ||
1782 | * command.c : add completion feature. | |
1783 | ||
1784 | 1997-10-18 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1785 | ||
1786 | * vty.c (vty_command): add vty interface. | |
1787 | ||
1788 | 1997-10-13 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1789 | ||
1790 | * zebra.c: add verbose mode. | |
1791 | ||
1792 | 1997-10-12 SonMyong Ho <s-ho@Matrix.IRI.Co.Jp> | |
1793 | ||
1794 | * Hydrangea for FreeBSD supported | |
1795 | * in.h: add some prototype. | |
1796 | ||
1797 | 1997-10-11 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1798 | ||
1799 | * rt_socket.c and rtread.c completely rewritten. | |
1800 | ||
1801 | 1997-10-05 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1802 | ||
1803 | * rt_socket.c: rename kernel_sock to routing_socket | |
1804 | ||
1805 | 1997-10-04 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1806 | ||
1807 | * if.c (if_new): interface structure change from linklist to vector. | |
1808 | ||
1809 | 1997-10-03 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1810 | ||
1811 | * vector.c (vector_init): create vector related function | |
1812 | ||
1813 | 1997-09-25 Kunihiro Ishiguro <kunihiro@zebra.org> | |
1814 | ||
1815 | * Makefile.in: add tags target | |
1816 | ||
1817 | * start IPv6 support for INRIA FreeBSD. | |
1818 |