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