Andrew J. Schorr | 55edb0d | 2008-01-11 15:57:13 +0000 | [diff] [blame] | 1 | 2008-01-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu> |
| 2 | |
| 3 | * ioctl.c: If HAVE_BSD_LINK_DETECT is defined, include <net/if_media.h> |
| 4 | (if_get_flags) Remove debug messages about BSD link state. |
| 5 | * kernel_socket.c: (bsd_linkdetect_translate) If link state |
| 6 | is unknown, we should set the IFF_RUNNING flag. |
| 7 | |
Andrew J. Schorr | c543a17 | 2008-01-10 15:24:32 +0000 | [diff] [blame] | 8 | 2008-01-10 Ingo Flaschberger <if@xip.at> |
| 9 | |
| 10 | * ioctl.c: (if_get_flags) If HAVE_BSD_LINK_DETECT, use the SIOCGIFMEDIA |
| 11 | ioctl to ascertain link state. |
| 12 | * kernel_socket.c: (bsd_linkdetect_translate) New function to |
| 13 | map the ifm_data.ifi_link_state value into the IFF_RUNNING flag. |
| 14 | (ifm_read) Call bsd_linkdetect_translate to fix the IFF_RUNNING |
| 15 | flag before calling if_flags_update. |
| 16 | |
Andrew J. Schorr | 3f08767 | 2008-01-08 20:12:46 +0000 | [diff] [blame] | 17 | 2008-01-08 Michael Larson <mike@vyatta.com> |
| 18 | |
| 19 | * zebra_rib.c: (nexthop_active_check) Replace if_is_up with |
| 20 | if_is_operative to solve problems with static interface |
| 21 | routes not behaving properly with link-detect. |
| 22 | |
Denis Ovsienko | 6ce80bd | 2007-11-12 14:55:01 +0000 | [diff] [blame] | 23 | 2007-11-12 Denis Ovsienko |
| 24 | |
| 25 | * connected.c: (connected_up_ipv4, connected_down_ipv4, |
| 26 | connected_up_ipv6, connected_down_ipv6) Collect all changed |
| 27 | connected routes closest possible to the RIB work queue, so |
| 28 | that the rest can be revalidated correctly. |
| 29 | |
Denis Ovsienko | 5619f56 | 2007-10-24 13:13:21 +0000 | [diff] [blame] | 30 | 2007-10-24 Denis Ovsienko |
| 31 | |
| 32 | * kernel_socket.c: (rtm_read) we used to ignore own messages, |
| 33 | but the RIB debug commit broke it for IPv6 case (reported |
| 34 | by Milan Kocian). Fixed. |
| 35 | |
Denis Ovsienko | a3aaf5b | 2007-10-04 10:49:21 +0000 | [diff] [blame] | 36 | 2007-10-04 Denis Ovsienko |
| 37 | |
| 38 | * zebra_rib.c: (rib_process) escape from the nexthop |
| 39 | iteration cycle earliest possible to save CPU time. |
| 40 | |
Denis Ovsienko | f304cb4 | 2007-10-03 12:27:16 +0000 | [diff] [blame] | 41 | 2007-10-03 Denis Ovsienko |
| 42 | |
| 43 | * zebra_rib.c: (rib_process, rib_link, rib_addnode, |
| 44 | rib_unlink, rib_delnode) log IPv6 prefixes same well |
| 45 | as IPv4 ones are logged. |
| 46 | |
Denis Ovsienko | 2d84452 | 2007-09-14 11:31:55 +0000 | [diff] [blame] | 47 | 2007-09-14 Denis Ovsienko |
| 48 | |
| 49 | * rt_socket.c: (kernel_rtm_ipv4) Use lookup() instead of |
| 50 | LOOKUP/mes_lookup() for rtm_type_str, as this is more |
| 51 | appropriate for sparse code-spaces (#401). |
| 52 | * kernel_socket.c: (rtm_read, rtmsg_debug): Idem. |
| 53 | * kernel_socket.[ch]: We don't need rtm_type_str_max any more. |
Denis Ovsienko | 91b7351 | 2007-09-14 13:31:52 +0000 | [diff] [blame] | 54 | * main.c: (main) Don't call rib_sweep_route() before the |
| 55 | pidfile is acquired, this fixes bug #402. |
Denis Ovsienko | 96934e6 | 2007-09-14 14:56:28 +0000 | [diff] [blame] | 56 | * zserv.h: Dropped old_pid, since it's useless now. This |
| 57 | fixes bug #381. |
| 58 | * main.c: (main) Idem. |
| 59 | * test_main.c: (main) Idem. |
| 60 | * kernel_socket.c: (rtm_read) Idem. |
Denis Ovsienko | 2d84452 | 2007-09-14 11:31:55 +0000 | [diff] [blame] | 61 | |
Denis Ovsienko | bd6c86d | 2007-09-12 15:24:27 +0000 | [diff] [blame] | 62 | 2007-09-12 Denis Ovsienko |
| 63 | |
| 64 | * rt_socket.c: (kernel_rtm_ipv4) prefix_buf could be passed |
| 65 | to zlog_err() uninitialized with debug disabled. Fixed. |
| 66 | |
Denis Ovsienko | 882968e | 2007-09-06 14:34:41 +0000 | [diff] [blame] | 67 | 2007-09-06 Denis Ovsienko |
| 68 | |
| 69 | * rtread_sysctl.c: (route_read) Set RTF_DONE on the routing |
| 70 | messages when fetching initial kernel FIB, so rtm_read() |
| 71 | doesn't skip them. |
| 72 | |
Denis Ovsienko | a13663a | 2007-08-21 16:12:40 +0000 | [diff] [blame] | 73 | 2007-08-21 Denis Ovsienko |
| 74 | |
| 75 | * ioctl_solaris.c: (if_get_mtu) Don't break things if either |
| 76 | IPv6 was disabled at compile time or the current interface |
| 77 | hasn't it enabled. |
Denis Ovsienko | 1ba2756 | 2007-08-21 16:15:39 +0000 | [diff] [blame] | 78 | * kernel_socket.c: (ifm_read) Don't forget to call if_get_mtu() |
| 79 | for updated interfaces. |
Denis Ovsienko | a13663a | 2007-08-21 16:12:40 +0000 | [diff] [blame] | 80 | |
Denis Ovsienko | 6da5980 | 2007-08-17 14:16:30 +0000 | [diff] [blame] | 81 | 2007-08-17 Denis Ovsienko |
| 82 | |
| 83 | * kernel_socket.c: (rtm_read) Ignore any routing socket messages |
| 84 | without RTF_DONE flag set, as they are just noise for us. |
| 85 | |
Denis Ovsienko | 03e232a | 2007-08-14 09:46:48 +0000 | [diff] [blame] | 86 | 2007-08-14 Denis Ovsienko |
| 87 | |
| 88 | * zebra_rib.c: (nexthop_active_update) Added a comment |
Denis Ovsienko | f304cb4 | 2007-10-03 12:27:16 +0000 | [diff] [blame] | 89 | and rewrote nexthop iteration. |
Denis Ovsienko | 03e232a | 2007-08-14 09:46:48 +0000 | [diff] [blame] | 90 | |
Denis Ovsienko | dc95824 | 2007-08-13 16:03:06 +0000 | [diff] [blame] | 91 | 2007-08-13 Denis Ovsienko |
| 92 | |
| 93 | * kernel_socket.c: normalize rtm_type_str so it can be handled |
| 94 | by LOOKUP macro |
| 95 | * kernel_socket.c: (rtm_read) don't ignore self-generated |
| 96 | routing messages, so we can debug them; make use of |
| 97 | ZEBRA_ERR_RTNOEXIST; output more details in debug log. |
| 98 | * kernel_socket.c: (rtmsg_debug) make use of LOOKUP macro |
| 99 | * kernel_socket.h: let the world know about rtm_type_str[_max] |
| 100 | * rib.h: 3 more debugging functions and 5 return codes |
| 101 | * rt_socket.c: (kernel_rtm_ipv4) dump IP prefix and masklen; |
| 102 | complain about strange rtm_write() return values |
| 103 | * zebra_rib.c: (rib_lookup_ipv4_route, rib_dump, |
| 104 | rib_lookup_and_dump) --- new functions; more comments; |
| 105 | more debug logging |
| 106 | |
vize | 068fd77 | 2007-08-10 06:25:20 +0000 | [diff] [blame] | 107 | 2007-08-10 Emmanuel Vize <emmanuel.vize@6wind.com> |
| 108 | |
| 109 | * rt_netlink.c: (netlink_interface_addr) Use the appropriate field length for the address |
| 110 | (acknowledge Andy's comment). |
| 111 | |
Paul Jakma | 93bdada | 2007-08-06 19:25:11 +0000 | [diff] [blame] | 112 | 2007-08-06 Denis Ovsienko |
| 113 | |
| 114 | * zebra_rib.c: (general) Add extra debug logging for RIB and |
| 115 | RIB queue. |
| 116 | |
Greg Troxel | f76594a | 2007-08-02 14:07:07 +0000 | [diff] [blame] | 117 | 2007-08-02 Denis Ovsienko |
| 118 | |
| 119 | * rt_socket.c (kernel_rtm_ipv4): Only call rtm_write when changes |
| 120 | are intended. Don't set FIB flag on failed additions (such as |
| 121 | occur with multiple paths. |
| 122 | |
Paul Jakma | 0b8c4f1 | 2007-06-27 11:12:38 +0000 | [diff] [blame] | 123 | 2007-06-25 Denis Ovsienko |
| 124 | |
| 125 | * zebra_rib.c: (rib_add_ipv4_multipath) Loop through RIB |
| 126 | is using 'same' variable, but RIB_ENTRY_REMOVED check |
| 127 | is testing the constant 'rib' variable, fix. Impact |
| 128 | unknown at this point. |
| 129 | |
Andrew J. Schorr | 0930331 | 2007-05-30 20:10:34 +0000 | [diff] [blame] | 130 | 2007-05-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu> |
| 131 | |
| 132 | * zebra_routemap.c: (route_set_src_compile) Use '#ifdef HAVE_IPV6' |
| 133 | as needed. |
| 134 | * zebra_vty.c: (vty_show_ip_route_detail, vty_show_ip_route) Use |
| 135 | '#ifdef HAVE_IPV6' as needed. |
| 136 | (show_ip_protocol) Move function definition outside of |
| 137 | '#ifdef HAVE_IPV6' section. |
| 138 | |
Andrew J. Schorr | 7ab62c5 | 2007-05-17 15:00:41 +0000 | [diff] [blame] | 139 | 2007-05-17 Andrew J. Schorr <ajschorr@alumni.princeton.edu> |
| 140 | |
| 141 | * kernel_socket.c: (ifam_read_mesg) Grab RTA_DST and RTA_GATEWAY |
| 142 | addresses from the message (if present, which seems unlikely on |
| 143 | current BSD platforms), and show them in the debug messages. |
| 144 | Also, add ifam_flags to the debug messages. |
| 145 | (ifam_read) If the interface is point-to-point, then the RTA_BRD |
| 146 | address should be treated as a peer address. |
| 147 | |
Paul Jakma | 7514fb7 | 2007-05-02 16:05:35 +0000 | [diff] [blame] | 148 | 2007-05-01 David L Stevens <dlstevens@us.ibm.com> |
| 149 | |
| 150 | * (general) These changes collectively add route-map and |
| 151 | prefix-list support to zebra and fix a bug in "show |
| 152 | route-map" (with no argument). |
| 153 | * connected.c: (connected_up_ipv4) added src preference argument |
| 154 | to rib_add_ipv4() |
| 155 | * kernel_socket.c: (rtm_read) ditto |
| 156 | * main.c: added prefix list initialization |
| 157 | * Makefile.am: added zebra_routemap.c source file |
| 158 | * rib.h: added generic address union "g_addr" and use in |
| 159 | existing places that had an explicit union. |
| 160 | Added "src" to struct nexthop. |
| 161 | Added preferred src arg to nexthop_ipv4_add and rib_add_ipv4. |
| 162 | * rt_netlink.c: (netlink_routing_table) set preferred source on |
| 163 | netlink messages. |
| 164 | (netlink_route_change) ditto |
| 165 | (netlink_route_multipath) ditto. |
| 166 | * rtread_getmsg.c: (handle_route_entry) added (NULL) src to |
| 167 | rib_add_ipv4() call. |
| 168 | * rtread_proc.c: (proc_route_read) ditto |
| 169 | * zebra_rib.c: (nexthop_ipv4_add) add src argument. |
| 170 | (nexthop_ipv4_ifindex_add) ditto |
| 171 | (rib_add_ipv4) ditto |
| 172 | (nexthop_active_check) Add route-map processing. |
| 173 | * zebra_routemap.c: new file for zebra route-map commands. |
| 174 | * zebra_vty.c: (ip_protocol_cmd) Apply route-map to protocol |
| 175 | (vty_show_ip_route_detail) added "src" printing |
| 176 | (vty_show_ip_route) ditto |
| 177 | (show_ip_protocol_cmd) new command, list routemaps. |
| 178 | (config_write_protocol) write out routemap protocl config. |
| 179 | (zebra_vty_init) Install the new routemap protocol commands. |
| 180 | * zserv.c: (zread_ipv4_add) added (NULL) src arg |
| 181 | (zebra_init) init zebra route-maps. |
| 182 | * zserv.h: add zebra_route_map_init |
| 183 | |
Paul Jakma | bd9da7f | 2007-04-29 16:50:46 +0000 | [diff] [blame] | 184 | 2007-04-29 Paul Jakma <paul.jakma@sun.com> |
| 185 | |
| 186 | * ioctl{_solaris,}.c: (if_get_mtu) Fix missing ; in last commit. |
Paul Jakma | e8eb834 | 2007-04-29 17:32:08 +0000 | [diff] [blame] | 187 | * if_ioctl_solaris.c: (if_get_index) Fix bogus argument passed |
| 188 | to lifreq_set_name(). |
Paul Jakma | bd9da7f | 2007-04-29 16:50:46 +0000 | [diff] [blame] | 189 | |
Paul Jakma | f5e004f | 2007-04-10 19:43:43 +0000 | [diff] [blame] | 190 | 2007-04-10 Paul Jakma <paul.jakma@sun.com> |
| 191 | |
| 192 | * ioctl{_solaris,}.c: (if_get_mtu) Ping clients via |
| 193 | zebra_interface_up_update if MTU is changed. |
| 194 | |
Paul Jakma | d9d00a6 | 2007-04-10 19:28:04 +0000 | [diff] [blame] | 195 | 2007-04-08 Paul Jakma <paul.jakma@sun.com> |
| 196 | |
| 197 | * {ioctl,kernel}_null.c: Install of IP address should |
| 198 | reflect back to zebra via kernel_address_add..., makes |
| 199 | testzebra more useful. |
Paul Jakma | d9a18f1 | 2007-04-10 19:30:20 +0000 | [diff] [blame] | 200 | * interface.c: (if_delete_update) Address removal triggered |
| 201 | by kernel shouldn't remove configured IPv4 address from connected |
| 202 | list. |
Paul Jakma | d9d00a6 | 2007-04-10 19:28:04 +0000 | [diff] [blame] | 203 | |
Paul Jakma | 6dc686a | 2007-04-10 19:24:45 +0000 | [diff] [blame] | 204 | 2007-04-07 Paul Jakma <paul.jakma@sun.com> |
| 205 | |
| 206 | * redistribute.c: (zebra_check_addr) Don't redistribute routes |
| 207 | to IPv4 link-local prefixes, fixes bug #351. |
| 208 | * redistribute.h: Export zebra_check_addr. |
| 209 | * router-id.c: (router_id_bad_address) re-use zebra_check_addr |
| 210 | rather than implementing similar logic. |
| 211 | |
Paul Jakma | 6502208 | 2007-03-06 13:43:05 +0000 | [diff] [blame] | 212 | 2007-03-06 Paul Jakma <paul.jakma@sun.com> |
| 213 | |
| 214 | * kernel_socket.c: (ifam_read) Do not update interface metric on |
| 215 | receipt of NEW/DEL ADDR messages, bogus as: a) some systems |
| 216 | dont include iface metric for address events b) we didn't |
| 217 | update clients either. Initial diagnosis by Eugene Grosbein. |
| 218 | |
Paul Jakma | ff1dd55 | 2007-02-26 17:11:45 +0000 | [diff] [blame] | 219 | 2007-02-26 Robert Olsson <Robert.Olsson@data.slu.se> |
| 220 | |
| 221 | * irdp_main.c: (irdp_send_thread) Skip non-AF_INET addresses, |
| 222 | i.e. do not try interpret IPv6 addresses as IPv4 addresses |
| 223 | to broadcast in IRDP announcements.. |
| 224 | |
Andrew J. Schorr | fb6724a | 2006-12-13 15:44:15 +0000 | [diff] [blame] | 225 | 2006-12-13 Andrew J. Schorr <ajschorr@alumni.princeton.edu> |
| 226 | |
| 227 | * if_ioctl_solaris.c: (if_get_addr) For IPv6, stop assuming |
| 228 | that all IFF_POINTOPOINT have prefixlen of IPV6_MAX_BITLEN. |
| 229 | Instead, always try the SIOCGLIFSUBNET ioctl; if that fails, |
| 230 | then we fall back to IPV6_MAX_BITLEN for PtP interfaces. |
| 231 | |
Andrew J. Schorr | e452963 | 2006-12-12 19:18:21 +0000 | [diff] [blame] | 232 | 2006-12-12 Andrew J. Schorr <ajschorr@alumni.princeton.edu> |
| 233 | |
| 234 | * connected.c: (connected_up_ipv4, connected_down_ipv4, |
| 235 | connected_up_ipv6, connected_down_ipv6) Simplify logic using the |
| 236 | new CONNECTED_PREFIX macro. |
| 237 | (connected_add_ipv4) Set prefixlen in destination addresses (required |
| 238 | by the CONNECTED_PREFIX macro). Use CONNECTED_PEER macro instead |
| 239 | of testing for IFF_POINTOPOINT. Delete invalid warning message. |
| 240 | Warn about cases where the ZEBRA_IFA_PEER is set but no |
| 241 | destination address has been supplied (and turn off the flag). |
| 242 | (connected_add_ipv6) Add new flags argument so callers may set |
| 243 | the ZEBRA_IFA_PEER flag. If peer/broadcast address satisfies |
| 244 | IN6_IS_ADDR_UNSPECIFIED, then reject it with a warning. |
| 245 | Set prefixlen in destination address so CONNECTED_PREFIX will work. |
| 246 | * connected.h: (connected_add_ipv6) Add new flags argument so |
| 247 | callers may set the ZEBRA_IFA_PEER flag. |
| 248 | * interface.c: (connected_dump_vty) Use CONNECTED_PEER macro |
| 249 | to decide whether the destination address is a peer or broadcast |
| 250 | address (instead of checking IFF_BROADCAST and IFF_POINTOPOINT). |
| 251 | * if_ioctl.c: (if_getaddrs) Instead of setting a peer address |
| 252 | only when the IFF_POINTOPOINT is set, we now accept a peer |
| 253 | address whenever it is available and not the same as the local |
| 254 | address. Otherwise (no peer address assigned), we check |
| 255 | for a broadcast address (regardless of the IFF_BROADCAST flag). |
| 256 | And must now pass a flags value of ZEBRA_IFA_PEER to |
| 257 | connected_add_ipv4 when a peer address is assigned. |
| 258 | The same new logic is used with the IPv6 code as well (and we |
| 259 | pass the new flags argument to connected_add_ipv6). |
| 260 | (if_get_addr) Do not bother to check IFF_POINTOPOINT: just |
| 261 | issue the SIOCGIFDSTADDR ioctl and see if we get back |
| 262 | a peer address not matching the local address (and set |
| 263 | the ZEBRA_IFA_PEER in that case). If there's no peer address, |
| 264 | try to grab SIOCGIFBRDADDR regardless of whether IFF_BROADCAST is set. |
| 265 | * if_ioctl_solaris.c: (if_get_addr) Just try the SIOCGLIFDSTADDR ioctl |
| 266 | without bothering to check the IFF_POINTOPOINT flag. And if |
| 267 | no peer address was found, just try the SIOCGLIFBRDADDR ioctl |
| 268 | without checking the IFF_BROADCAST flag. Call connected_add_ipv4 |
| 269 | and connected_add_ipv6 with appropriate flags. |
| 270 | * if_proc.c: (ifaddr_proc_ipv6) Must pass new flags argument to |
| 271 | connected_add_ipv6. |
| 272 | * kernel_socket.c: (ifam_read) Must pass new flags argument to |
| 273 | connected_add_ipv6. |
| 274 | * rt_netlink.c: (netlink_interface_addr) Copy logic from iproute2 |
| 275 | to determine local and possible peer address (so there's no longer |
| 276 | a test for IFF_POINTOPOINT). Set ZEBRA_IFA_PEER flag appropriately. |
| 277 | Pass new flags argument to connected_add_ipv6. |
| 278 | (netlink_address) Test !CONNECTED_PEER instead of if_is_broadcast |
| 279 | to determine whether the connected destination address is a |
| 280 | broadcast address. |
| 281 | |
Paul Jakma | 3c0755d | 2006-12-08 00:53:14 +0000 | [diff] [blame] | 282 | 2006-12-08 Piotr Chytla <pch@packetconsulting.pl> |
| 283 | |
| 284 | * zebra_rib.c: (static_install_ipv{4,6}) Case where existing |
| 285 | RIB is updated must explicitely rib_addqueue the route_node, |
| 286 | to ensure the update actually takes effect. |
| 287 | |
Greg Troxel | 9458b81 | 2006-09-13 12:13:08 +0000 | [diff] [blame] | 288 | 2006-09-13 Tom Everett <tom@khubla.com> |
| 289 | |
| 290 | * kernel_socket.c (rtm_type_str): ifdef RTM_OLD{ADD,DEL} to |
| 291 | compile on systems that no longer define them. |
| 292 | |
Paul Jakma | f28b0e5 | 2006-08-06 15:57:59 +0000 | [diff] [blame] | 293 | 2006-08-06 Paul Jakma <paul.jakma@sun.com> |
| 294 | |
| 295 | * interface.h: (ifstat_update_proc) declaration should match |
| 296 | ifstat_update_sysctl really, which is to not return status, as |
| 297 | such status is not used anywhere. |
| 298 | * if_{proc,sysctl}.c: Make ifstat_update_* definitions and return values |
| 299 | consistent with each other and their declarations, ie: |
| 300 | (void) (*) (void). |
Paul Jakma | 66c454f | 2006-08-06 16:02:43 +0000 | [diff] [blame] | 301 | * rtadv.h: depends on interface.h, so should include it. |
Paul Jakma | f28b0e5 | 2006-08-06 15:57:59 +0000 | [diff] [blame] | 302 | |
Paul Jakma | 7e4bcdc | 2006-08-04 06:14:13 +0000 | [diff] [blame] | 303 | 2006-08-04 Paul Jakma <paul.jakma@sun.com> |
| 304 | |
| 305 | * misc_null.c: Add ifstat_update_sysctl, add another required |
| 306 | header. |
| 307 | |
Andrew J. Schorr | a6974fe | 2006-08-02 16:47:03 +0000 | [diff] [blame] | 308 | 2006-08-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu> |
| 309 | |
| 310 | * misc_null.c: Must include header files to get older versions of gcc |
| 311 | to process the #pragma statements properly. |
| 312 | |
Paul Jakma | 3694374 | 2006-08-04 06:18:04 +0000 | [diff] [blame] | 313 | 2006-08-01 Paul Jakma <paul.jakma@sun.com> |
| 314 | |
| 315 | * irdp_main.c: (irdp_advertisement) free the stream here, when done, |
| 316 | right under where it was allocated so it's blindingly obvious |
| 317 | it's correct. This possibly fixes a very slow leak of streams in |
| 318 | zebra. |
| 319 | * irdp_packet.c: (send_packet) don't free the stream here as |
| 320 | it's hard to tell if right, plus an error case seemed to |
| 321 | returning before free anyway. |
| 322 | |
Paul Jakma | 457eb9a | 2006-07-27 19:59:58 +0000 | [diff] [blame] | 323 | 2006-07-27 Paul Jakma <paul.jakma@sun.com> |
| 324 | |
| 325 | * {ioctl,kernel}_null.c: Dummy/Null kernel method implementations, |
| 326 | useful for testing zebra code that calls such methods. |
| 327 | * {redistribute,misc}_null.c: Dummy/Null methods, as above. But |
| 328 | for zclient, and for various misc functions. |
| 329 | * test_main.c: Test harness for zebra, currently just to test the |
| 330 | RIB. |
| 331 | * Makefile.am: Build testzebra using above. |
Paul Jakma | 6d69112 | 2006-07-27 21:49:00 +0000 | [diff] [blame] | 332 | * debug.{c,h}: Add 'debug zebra rib' and 'debug zebra rib queue'. |
| 333 | * rib.h: (struct rib) Add a route_node rn_status flag field, |
| 334 | this has to be copied every time head RIB of a route_node |
| 335 | changes. |
| 336 | Remove the rib lock field, not needed - see below. |
| 337 | Add a status field for RIB-private flags. |
Paul Jakma | 457eb9a | 2006-07-27 19:59:58 +0000 | [diff] [blame] | 338 | * zebra_rib.c: Add a global for the workqueue hold time, useful |
| 339 | for testing. |
Paul Jakma | 6d69112 | 2006-07-27 21:49:00 +0000 | [diff] [blame] | 340 | (general) Fix for bug #268. Problem originally detailed by |
| 341 | Simon Bryden in [quagga-dev 4001]. |
| 342 | Essentially, add/delete of a RIB must happen /before/ the |
| 343 | queue. Best-path selection (ie rib_process) and reaping of |
| 344 | freed RIBs can then be done after queueing. Only the route_node |
| 345 | is queued - no important RIB state (i.e. whether a RIB is to be |
| 346 | deleted) is queued. |
| 347 | (struct zebra_queue_node_t) Disappears, no longer need to |
| 348 | track multiple things on the queue, only the route_node. |
| 349 | (rib_{lock,unlock}) removed, RIBs no longer need to be |
| 350 | refcounted, no longer queued. |
| 351 | (rib_queue_qnode_del) Removed, deleted RIBs no longer deleted |
| 352 | via the queue. |
| 353 | (rib_queue_add_qnode) deleted |
| 354 | (rib_queue_add) Only the route_node is queued for best-path |
| 355 | selection, we can check whether it is already queued or |
| 356 | not and avoid queueing same node twice - struct rib * argument |
| 357 | is not needed. |
| 358 | (rib_link/unlink) (un)link RIB from route_node. |
| 359 | (rib_{add,del}node) Front-end to updates of a RIB. |
| 360 | (rib_process) Reap any deleted RIBs via rib_unlink. |
| 361 | Unset the route_node 'QUEUED' flag. |
| 362 | (General) Remove calls to rib_queue_add where add/del node was |
| 363 | called - not needed, update calls where not. |
| 364 | Ignore RIB_ENTRY_REMOVEd ribs in loops through route_nodes |
Paul Jakma | 457eb9a | 2006-07-27 19:59:58 +0000 | [diff] [blame] | 365 | |
Paul Jakma | 171eee3 | 2006-07-27 16:11:02 +0000 | [diff] [blame] | 366 | 2006-07-27 Rumen Svobodnikov <rumen@telecoms.bg> |
| 367 | |
| 368 | * connected.c: (connected_up_ipv4) interface connected routes always |
| 369 | go to table main (or otherwise they cannot be used by linux as |
| 370 | nexthops) |
| 371 | * zserv.c: (zread_ipv4_add) send route to the correct routing table |
| 372 | * zebra_rib.c (static_install_ipv4) set routing table |
| 373 | |
Paul Jakma | 27b4725 | 2006-07-02 16:38:54 +0000 | [diff] [blame] | 374 | 2006-07-02 Paul Jakma <paul.jakma@sun.com> |
| 375 | |
| 376 | * rt_netlink.c: (netlink_interface_addr) Fix CID #104, can not |
| 377 | proceed if addr is NULL. |
| 378 | * zebra_rib.c: (static_add_ipv6) Fix CID #18, double check |
| 379 | required arguments are supplied for the given nexthop type. |
| 380 | |
Paul Jakma | 630c97c | 2006-06-15 12:48:17 +0000 | [diff] [blame] | 381 | 2006-06-15 Paul Jakma <paul.jakma@sun.com> |
| 382 | |
| 383 | * interface.c: (if_flag_dump_vty) redundant code, remove. |
| 384 | (if_dump_vty) use libzebra if_flag_dump. |
Paul Jakma | 74ecdc9 | 2006-06-15 18:10:47 +0000 | [diff] [blame] | 385 | (ip_address_uninstall) Unset the configured flag. |
| 386 | * connected.c: (connected_same) new helper, check whether |
| 387 | two connected are same. |
| 388 | (connected_implicit_withdraw) new helper, consolidation of |
| 389 | existing code in connected_add_ipv{4,6}. |
| 390 | Try filter out unneeded Zserv address delete/adds when |
| 391 | address is exact same. |
| 392 | Where old address is implicitely removed, be sure to preserve |
| 393 | the IFC_CONFIGURED flag if set, fixes bug where configured |
| 394 | addresses were being lost on FreeBSD (Andrew Schorr). |
Paul Jakma | 630c97c | 2006-06-15 12:48:17 +0000 | [diff] [blame] | 395 | |
Andrew J. Schorr | 9c37851 | 2006-05-21 04:04:49 +0000 | [diff] [blame] | 396 | 2006-05-21 Andrew J. Schorr <ajschorr@alumni.princeton.edu> |
| 397 | |
| 398 | * connected.c: (connected_withdraw) Do not delete the connected |
| 399 | address if the ZEBRA_IFC_CONFIGURED flag is set. |
| 400 | (connected_add_ipv4,connected_add_ipv6) Before calling |
| 401 | connected_withdraw, unset the ZEBRA_IFC_CONFIGURED flag |
| 402 | on the superseded connected structure. |
| 403 | |
Andrew J. Schorr | 0f38dc4 | 2006-05-19 13:53:23 +0000 | [diff] [blame] | 404 | 2006-05-19 Andrew J. Schorr <ajschorr@alumni.princeton.edu> |
| 405 | |
| 406 | * connected.c: (connected_add_ipv4,connected_add_ipv6) If the |
| 407 | new struct connected matches an already existing one |
| 408 | (that will consequently be removed by connected_withdraw), |
| 409 | then be sure to preserve the ZEBRA_IFC_CONFIGURED flag. |
| 410 | |
Andrew J. Schorr | 5519604 | 2006-05-17 15:04:59 +0000 | [diff] [blame] | 411 | 2006-05-17 Andrew J. Schorr <ajschorr@alumni.princeton.edu> |
| 412 | |
| 413 | * kernel_socket.c: (ifam_read_mesg) Improve debug message |
| 414 | to show the IP address. |
| 415 | |
Paul Jakma | 6685978 | 2006-05-15 17:00:37 +0000 | [diff] [blame] | 416 | 2006-05-15 Paul Jakma <paul.jakma@sun.com> |
| 417 | |
| 418 | * zserv.c: (general) Remove the private zebra_command_str |
| 419 | in favour of newly added libzebra zserv_command_string. |
| 420 | |
Paul Jakma | beb5633 | 2006-05-11 13:28:05 +0000 | [diff] [blame] | 421 | 2006-05-11 Paul Jakma <paul.jakma@sun.com> |
| 422 | |
| 423 | * interface.c: (if_delete_update) route_node_lookup may return |
| 424 | NULL, should fix Coverity CID #31. |
| 425 | |
Paul Jakma | e6d7d05 | 2006-03-30 13:32:09 +0000 | [diff] [blame] | 426 | 2006-02-09 Paul Jakma <paul.jakma@sun.com> |
| 427 | |
| 428 | * rib.h: (struct {rib,nexthop}) Rearrange fields to avoid |
| 429 | needless padding. |
| 430 | (struct rib) Remove the indirect pointer, not used anywhere! |
| 431 | |
paul | 3a570c8 | 2006-02-02 17:27:13 +0000 | [diff] [blame] | 432 | 2006-02-02 Paul Jakma <paul.jakma@sun.com> |
| 433 | |
| 434 | * interface.c: (if_dump_vty) move flags to their line, neater. |
| 435 | |
paul | a1038a1 | 2006-01-30 14:08:51 +0000 | [diff] [blame] | 436 | 2006-01-30 Paul Jakma <paul.jakma@sun.com> |
| 437 | |
| 438 | * zebra_rib.c: (rib_process) Fourth time lucky on this jinxed |
| 439 | commit, last commit had a hole that could allow connected |
| 440 | route selection to escape beyond the connected route logic. |
| 441 | This time I cross-checked with Gunnar first. ;) |
| 442 | |
paul | a8d9c1f | 2006-01-25 06:31:04 +0000 | [diff] [blame] | 443 | 2006-01-25 Gunnar Stigen <gunnar.stigen@axxessit.no> |
| 444 | |
| 445 | * zebra_rib.c: (rib_process) Application of Gunnar's earlier |
| 446 | metric selection RIB change included incorrect tidy-ups made |
| 447 | by commiter. Fix. (NB: any errors here are again due to paul). |
| 448 | |
paul | 5c78b3d | 2006-01-25 04:31:40 +0000 | [diff] [blame] | 449 | 2006-01-25 Paul Jakma <paul.jakma@sun.com> |
| 450 | |
| 451 | * (general) More solaris PF_ROUTE hacks. The IFF_UP mangling |
| 452 | for solaris was incomplete on the PF_ROUTE side. fix it. |
| 453 | This changeset generally uglifies things. For some future |
| 454 | work I'd like to see the state changes seperated out from |
| 455 | the details of the code. Differences between systems might |
| 456 | then be slightly easier to implement without convoluted |
| 457 | hacks. |
| 458 | Changes should be specific to Solaris mostly, however |
| 459 | also tested on FreeBSD 6. |
| 460 | * if_ioctl_solaris.c: (interface_list_ioctl) ignore ~IFF_UP |
| 461 | interfaces, we'll hear about them when/if interface goes up |
| 462 | through NEWADDR. |
| 463 | Update flags explicitely at end of it to kick mangling. |
| 464 | * ioctl_solaris.c: (if_mangle_up) removed to interface.c, in |
| 465 | kind. |
| 466 | (lifreq_set_name) more convenient to take the string, than |
| 467 | the ifp. |
| 468 | (if_get_flags_direct) new convenience function, returns |
| 469 | the actual flags. Used during bootstrap in if_ioctl_solaris.c |
| 470 | to peek at flags of logical interfaces to see whether or |
| 471 | not to ignore them. |
| 472 | (if_get_flags) ENXIO means it's gone, poke out IFF_UP and |
| 473 | kick flags update. |
| 474 | (if_{un,}set_flags) flags argument should be 64bit. |
| 475 | * ioctl.{c,h}: flags argument should be 64bit. |
| 476 | * interface.h: Add a 'primary_state' flag to struct zebra_if on |
| 477 | SUNOS_5. |
| 478 | Export if_flags_update. |
| 479 | * interface.c: (if_flags_mangle) moved over in kind from |
| 480 | ioctl_solaris.c. Nasty kludge to try get IFF_UP right, as |
| 481 | much as is possible. Also keep track of the actual IFF_UP |
| 482 | value for the primary interface, so we can know when the ifp |
| 483 | must be deleted. |
| 484 | (if_flags_update) Take a new interface flags value, apply it |
| 485 | to the interface, and take whatever actions are required due |
| 486 | to flag transitions. |
| 487 | (if_refresh) flag state change logic is moved out to |
| 488 | previous. Just call if_get_flags, which will end up using |
| 489 | previous to effect the update of flags. |
| 490 | (if_flag_dump_vty) IFF_IPV{4,6} aren't interesting, VIRTUAL |
| 491 | and NOXMIT are though. |
| 492 | * kernel_socket.c: (ifm_read) Down->Down transitions shouldn't |
| 493 | create ifp, for non-IFANNOUNCE systems. |
| 494 | Use if_flags_update to update flags. |
| 495 | flag transition logic is now handled automatically through |
| 496 | if_flags_update. |
| 497 | (ifam_read) Better to call if_refresh *after* adding |
| 498 | connected addresses, as connected count affects IFF_UP on |
| 499 | IFF_UP-mangled systems. |
| 500 | On Solaris, Up->Down due to DELADDR means we need to delete |
| 501 | the ifp - the IFINFO might already have been and gone. |
| 502 | * rt.h: include other dependent headers. |
| 503 | |
paul | e8e1946 | 2006-01-19 20:16:55 +0000 | [diff] [blame] | 504 | 2006-01-19 Paul Jakma <paul.jakma@sun.com> |
| 505 | |
| 506 | * (general) various miscellaneous compiler warning fixes. |
| 507 | Remove redundant break statements from switch clauses |
| 508 | which return. |
| 509 | Remove stray semi-colons which cause empty-statement |
| 510 | warnings. |
| 511 | * main.c: (sighup) remove private declaration of external |
| 512 | function. |
| 513 | (main) return from main, not exit, cause it annoys SOS. |
| 514 | |
paul | af887b5 | 2006-01-18 14:52:52 +0000 | [diff] [blame] | 515 | 2006-01-18 Gunnar Stigen <gunnar.stigen@axxessit.no> |
| 516 | |
| 517 | * zebra_rib.c: Take interface metric into account. |
| 518 | |
paul | d34b899 | 2006-01-17 18:03:04 +0000 | [diff] [blame] | 519 | 2006-01-17 Paul Jakma <paul.jakma@sun.com> |
| 520 | |
| 521 | * kernel_socket.c: (ifam_read) Read metric from RTM_NEWADDR. |
| 522 | If interface is an alias, pass the alias as a label for |
| 523 | connected_add_ipv{4,6}. |
| 524 | * rt_netlink.c: (netlink_interface_addr) print out |
| 525 | IFA_CACHEINFO info, if present, when debugging kernel |
| 526 | messages. |
| 527 | |
paul | c713300 | 2006-01-17 17:56:18 +0000 | [diff] [blame] | 528 | 2006-01-17 Gunnar Stigen <gunnar.stigen@axxessit.no> |
| 529 | |
| 530 | * connected.c: (connected_up_ipv{4,6}) Include interface metric on |
| 531 | connected routes. |
paul | 61f42ae | 2006-01-17 17:59:11 +0000 | [diff] [blame] | 532 | * if_ioctl.c: (if_getaddrs) Be defensive about assuming |
| 533 | that struct ifaddrs will have ifa_addr filled in. |
paul | c713300 | 2006-01-17 17:56:18 +0000 | [diff] [blame] | 534 | |
paul | c1b9800 | 2006-01-16 01:54:02 +0000 | [diff] [blame] | 535 | 2006-01-16 Paul Jakma <paul.jakma@sun.com> |
| 536 | |
| 537 | * zserv.c: Read/write updated Zserv header. |
| 538 | |
paul | c77d454 | 2006-01-11 01:59:04 +0000 | [diff] [blame] | 539 | 2006-01-11 Paul Jakma <paul.jakma@sun.com> |
| 540 | |
| 541 | * zserv.c: (zsend_interface_{add,delete,update}) if flags are |
| 542 | 8 bytes now, update to write out with stream_putq. |
| 543 | |
gdt | 6083e1f | 2005-12-29 15:59:57 +0000 | [diff] [blame] | 544 | 2005-12-29 Greg Troxel <gdt@fnord.ir.bbn.com> |
| 545 | |
gdt | e14b7fc | 2005-12-29 16:04:53 +0000 | [diff] [blame] | 546 | * kernel_socket.c: remove dead code (from David Young). |
| 547 | |
gdt | 6083e1f | 2005-12-29 15:59:57 +0000 | [diff] [blame] | 548 | * rt_socket.c (kernel_rtm_ipv4): Use AF_INET rather than AF_UNSPEC |
| 549 | for mask. From David Young. |
| 550 | |
paul | 89368d9 | 2005-11-26 09:14:07 +0000 | [diff] [blame] | 551 | 2005-11-26 Paul Jakma <paul.jakma@sun.com> |
| 552 | |
| 553 | * connected.{c,h}: (connected_add_ipv6) label should have |
| 554 | const qualifier, fix declarations. |
| 555 | |
paul | ec1a428 | 2005-11-24 15:15:17 +0000 | [diff] [blame] | 556 | 2005-11-24 Paul Jakma <paul.jakma@sun.com> |
| 557 | |
| 558 | * kernel_socket.h: New header for functions exported to sysctl |
| 559 | methods. |
| 560 | * kernel_socket.c: include previous. |
| 561 | Remove static qualifier from couple of functions which are |
| 562 | used by sysctl methods. |
| 563 | Add a workaround for a bogus gcc warning to the RTA_ macros. |
| 564 | * Makefile.am: Add kernel_socket.h to noinst_HEADERS |
| 565 | * if_sysctl.c: include rt.h and kernel_socket.h and remove |
| 566 | redundant prototypes. |
| 567 | * rtread_sysctl.c: ditto. |
| 568 | (route_read) fix mismatch of return values. |
| 569 | * {rt,zserv,rib}.h: Include lib headers depended on. |
| 570 | |
paul | 6621ca8 | 2005-11-23 13:02:08 +0000 | [diff] [blame] | 571 | 2005-11-23 Paul Jakma <paul.jakma@sun.com> |
| 572 | |
| 573 | * (general) fix some small compile errors, and mark several |
| 574 | functions as static. |
| 575 | * kernel_socket.c: (ifan_read) should be static. |
| 576 | fix missing brackets. |
| 577 | (ifm_read,ifam_read,rtm_read_mesg,kernel_read) Make static |
| 578 | (ifam_read_mesg) make static. fix incorrect variable name. |
| 579 | (rtm_read) make static. Fix call to rib_delete_ipv4 which |
| 580 | should be rib_delete_ipv6. |
| 581 | (routing_socket,kernel_init) should be static. Void argument |
| 582 | should be specified as such, not left incomplete. |
| 583 | * rt_netlink.c: rt.h should be included, contains prototypes of |
| 584 | exported functions. |
| 585 | (kernel_delete_ipv6_old) fix sign of index argument. |
| 586 | * rt_socket.c: Exact same as previous. Also, make various |
| 587 | functions static. |
| 588 | * rtread_getmsg.c: Include zserv.h, which prototypes |
| 589 | route_read. Make static. |
| 590 | * rtread_sysctl.c: zserv.h and rt.h should be included. |
| 591 | fix definition of route_read. |
| 592 | |
paul | 0fb58d5 | 2005-11-14 14:31:49 +0000 | [diff] [blame] | 593 | 2005-11-14 Paul Jakma <paul.jakma@sun.com> |
| 594 | |
| 595 | * zebra_rib.c: (rib_process) convert to new workqueue specs and |
| 596 | shut up gcc, which complains about cast from void via |
| 597 | function parameters, for some dumb reason. Do the cast |
| 598 | inside the function instead. |
| 599 | (rib_queue_qnode_del) ditto. |
| 600 | (rib_queue_init) no need for the casts anymore. |
| 601 | |
paul | 6fe70d1 | 2005-11-12 22:55:10 +0000 | [diff] [blame] | 602 | 2005-11-12 Alexander Gall <gall@switch.ch> |
| 603 | |
| 604 | * See [quagga-dev 1815] |
| 605 | * kernel_socket.c: (rtm_write) Use SAROUNDUP when HAVE_SIN_LEN |
| 606 | is not available. |
| 607 | * rt_socket.c: (kernel_rtm_ipv6(_multipath)) set family to |
| 608 | AF_INET6 on ipv6 routes. |
| 609 | |
| 610 | 2005-11-12 Paul Jakma <paul.jakma@sun.com> |
| 611 | |
| 612 | * kernel_socket.c: Add RTA_NAME_GET macro to extract name from |
| 613 | sockaddr_dl. Add some more RTF_ flags. |
| 614 | * (ifan_read) Add some debug messages. |
| 615 | * (ifm_read) Add more debug messages. More robust cross-checks |
| 616 | of index against name. |
| 617 | Fall back to by-name lookup if the index lookup fails, future |
| 618 | proofing more than anything else. |
| 619 | (ifam_read_mesg) Read RTA_IFP. Add debug messages. |
| 620 | (ifam_read) More debug. If there's an RTA_IFP and it isn't |
| 621 | the name of the interface, save it as the label. |
| 622 | (rtm_read_mesg) Read RTA_IFP. |
| 623 | (rtm_read) allow name to be retrieved. |
| 624 | (rtmsg_debug) expand on the debug message. |
| 625 | |
paul | 0994c3a | 2005-11-11 09:52:40 +0000 | [diff] [blame] | 626 | 2005-11-11 Paul Jakma <paul.jakma@sun.com> |
| 627 | |
| 628 | * kernel_socket.c: (ifm_read) arithmetic on void pointer |
| 629 | warning. |
| 630 | (ifam_read) Fix error from connected-with-label merge, |
| 631 | something crept in from the pending Solaris kernel_socket.c |
| 632 | patch which shouldn't have. |
| 633 | |
paul | 0752ef0 | 2005-11-03 12:35:21 +0000 | [diff] [blame] | 634 | 2005-11-03 Paul Jakma <paul.jakma@sun.com> |
| 635 | |
| 636 | * connected.{c,h}: Include memory.h |
| 637 | (connected_add_ipv4) Use MTYPE for ifc label. |
| 638 | (connected_add_ipv6) Also should accept label. Store it in ifp. |
| 639 | (connected_del_ipv4) Taking label as argument is pointless. |
| 640 | * rt_netlink.c: (netlink_interface_addr) update label usage |
| 641 | for connected_{add,delete} functions. |
| 642 | * if_ioctl.c: (if_getaddrs) NULL label for connected_add_ipv6. |
| 643 | * if_ioctl_solaris.c: (interface_list_ioctl) Pass LIFC_NOXMIT |
| 644 | so we also find out about NOXMIT interfaces like VNI. |
| 645 | Bit of hackery to turn interface names into the primary |
| 646 | interface name, later with routing socket messages we only |
| 647 | will about primary interfaces anyway, so we must normalise |
| 648 | the name. |
| 649 | (if_get_addr) take label as argument, so it can |
| 650 | be passed to connected_add. |
| 651 | If label is provided, then it is interface name to issue the |
| 652 | ioctl for address information on, not the ifp name. |
| 653 | (interface_list) List AF_UNSPEC too, just in case. |
| 654 | * if_proc.c: (ifaddr_proc_ipv6) label for connected_add_ipv6. |
| 655 | * interface.c: (if_addr_wakeup) Some very bogus code - sets |
| 656 | IFF_RUNNING - add comment. |
| 657 | (if_refresh) |
| 658 | (ip_address_install) Use MTYPE for ifc label. |
| 659 | * ioctl_solaris.c: (if_mangle_up) New function. Hackery to make |
| 660 | IFF_UP reflect whether any addresses are left on the |
| 661 | interface, as we get signalled for IFF_UP flags change on the |
| 662 | primary interface only. Logical interfaces dont generate |
| 663 | IFINFO, but we do get an RTM_DELADDR. |
| 664 | (if_get_flags) Call if_mangle_up before return. |
| 665 | * kernel_socket.c: (ifam_read) Fixup calls to |
| 666 | connected_{add,delete} to match above changes. Rename gate |
| 667 | variable to brd, less confusing. |
| 668 | Pass the interface name as a label, if it is not same name |
| 669 | as ifp->name. |
| 670 | |
paul | d06b2a6 | 2005-10-11 03:53:54 +0000 | [diff] [blame] | 671 | 2005-10-11 Paul Jakma <paul.jakma@sun.com> |
| 672 | |
| 673 | * connected.{c,h}: (connected_{add,delete}_ipv4) label should |
| 674 | be const qualified. |
| 675 | |
ajs | c05612b | 2005-10-01 16:36:54 +0000 | [diff] [blame] | 676 | 2005-10-01 Andrew J. Schorr <ajschorr@alumni.princeton.edu> |
| 677 | |
ajs | f52d13c | 2005-10-01 17:38:06 +0000 | [diff] [blame] | 678 | * zebra_vty.c: (route_type_str) Remove obsolete function: use new |
| 679 | library function zebra_route_string() instead. Note that there |
| 680 | are a few differences: for IPv6 routes, we now get "ripng" and |
| 681 | "ospf6" instead of the old behavior ("rip" and "ospf"). |
| 682 | (route_type_char) Remove obsolete function: ues new library function |
| 683 | zebra_route_char() instead. Note that there is one difference: |
| 684 | the old function returned 'S' for a ZEBRA_ROUTE_SYSTEM route, |
| 685 | whereas the new one returns 'X'. |
| 686 | (vty_show_ip_route_detail,vty_show_ipv6_route_detail) Replace |
| 687 | route_type_str() with zebra_route_string(). |
| 688 | (vty_show_ip_route,vty_show_ipv6_route) Replace route_type_char() |
| 689 | with zebra_route_char(). |
| 690 | |
| 691 | 2005-10-01 Andrew J. Schorr <ajschorr@alumni.princeton.edu> |
| 692 | |
ajs | c05612b | 2005-10-01 16:36:54 +0000 | [diff] [blame] | 693 | * rt_netlink.c: (netlink_request) Use memset to clear structure |
| 694 | before calling sendto (eliminates a valgrind error message about |
| 695 | uninitialized data). |
vincent | aa2e32b | 2005-09-28 13:42:11 +0000 | [diff] [blame] | 696 | |
| 697 | 2005-09-28 Alain Ritoux <alain.ritoux@6wind.com> |
| 698 | |
vincent | fbf5d03 | 2005-09-29 11:25:50 +0000 | [diff] [blame] | 699 | * zserv.c: Always provied distance for route add |
| 700 | |
| 701 | 2005-09-28 Alain Ritoux <alain.ritoux@6wind.com> |
| 702 | |
vincent | aa2e32b | 2005-09-28 13:42:11 +0000 | [diff] [blame] | 703 | * connected.c: flag connected_up_ipv6() and connected_down_ipv6() |
| 704 | usage with HAVE_IPV6 |
| 705 | |
hasso | d24af18 | 2005-09-24 14:00:26 +0000 | [diff] [blame] | 706 | 2005-09-24 Hasso Tepper <hasso at quagga.net> |
| 707 | |
| 708 | * rib.h: Add note about behaviour of rib_add_ipv[46]* functions - |
| 709 | add is treated as implicit withdraw. |
| 710 | |
hasso | ebf1ead | 2005-09-21 14:58:20 +0000 | [diff] [blame] | 711 | 2005-09-21 David Young <dyoung@ojctech.com> |
| 712 | |
| 713 | * zebra_rib.c: Reduce the height of some staircases. Fix |
| 714 | rib_delete_ipv6() to match routes in the RIB by their gateway as |
| 715 | well as by destination. |
| 716 | |
paul | 319572c | 2005-09-21 12:30:08 +0000 | [diff] [blame] | 717 | 2005-09-21 Paul Jakma <paul.jakma@sun.com> |
| 718 | |
| 719 | * zebra_rib.c: (static_uninstall_ipv{4,6}) Fix regression wrt |
| 720 | removal of static routes with multiple-hops introduced with |
| 721 | the workqueue conversion. We should free the relevant |
| 722 | nexthop and then get rib_process to run, otherwise we just |
| 723 | get same static route back again (with no way to unconfigure |
| 724 | it, because its already deleted from configuration). |
| 725 | |
paul | ca16218 | 2005-09-12 16:58:52 +0000 | [diff] [blame] | 726 | 2005-09-12 Paul Jakma <paul.jakma@sun.com> |
| 727 | |
| 728 | * (general) RTM_CHANGE and implicit withdraw on RTM_NEWADDR |
| 729 | support. |
| 730 | * connected.c: (connected_withdraw) new function. withdraw a |
| 731 | connected subnet address set from zebra, and pass information |
| 732 | along to clients. |
| 733 | (connected_announce) similar, but to announce a new connected |
| 734 | subnet address set. |
| 735 | (connected_check_ipv4) renamed to connected_check, as its |
| 736 | AFI independent. |
| 737 | (connected_add_ipv{4,6}) Remove the connected address announce |
| 738 | stuff, use connected_announce instead. |
| 739 | If connected_check indicates address is already present, |
| 740 | treat it as an implicit withdraw of the existing address, ie |
| 741 | remove the old address details and replace with the new |
| 742 | details. |
| 743 | (connected_delete_ipv{4,6}) Use connected_withdraw. |
| 744 | (connected_check_ipv6) deleted in favour of connected_check. |
| 745 | * connected.h: Rename connected_check_ipv4 to connected_check. |
| 746 | delete connected_check_ipv6. |
| 747 | * interface.c: Use connected_check rather than the AFI specific |
| 748 | symbols. |
| 749 | * kernel_socket.c: (rtm_read) RTM_CHANGE support. Create a |
| 750 | rib delete event for the existing route, before adding route |
| 751 | again. |
| 752 | (kernel_read) we can handle RTM_CHANGE now. |
| 753 | |
hasso | be61c4e | 2005-08-27 06:05:47 +0000 | [diff] [blame] | 754 | 2005-08-27 Hasso Tepper <hasso at quagga.net> |
| 755 | |
| 756 | * zebra_rib.c, rib.h: Add distance and metric arguments to the |
| 757 | rib_add_ipv6() function so that IPv6 routes in RIB can have correct |
| 758 | metric. No IPv6 routing daemon uses distance yet though. |
| 759 | * zserv.c, connected.c, kernel_socket.c, rt_netlink.c, |
| 760 | rtread_proc.c,zserv.c: Pass metric and distance info to the |
| 761 | rib_add_ipv6(). |
| 762 | |
paul | 6eb8827 | 2005-07-29 14:36:00 +0000 | [diff] [blame] | 763 | 2005-07-29 Paul Jakma <paul.jakma@sun.com> |
| 764 | |
| 765 | * interface.c: (if_delete_update) should always be available, not |
| 766 | just on RTM_IFANNOUNCE/NETLINK systems. |
| 767 | * kernel_socket.c: (ifan_read) only call if_delete_update when |
| 768 | interface departs, dont if_delete, because we wish to retain |
| 769 | interface configuration state even when interfaces are removed. |
| 770 | (ifm_read) If we dont have RTM_IFANNOUNCE, then transitioning |
| 771 | to down state is only chance we have to clean up interface in case |
| 772 | it is deleted (eg Solaris down -> unplumb -> plumb up). |
| 773 | * redistribute.c: (zebra_interface_delete_update) should always be |
| 774 | available, we /will/ call it now on all systems, via |
| 775 | if_delete_update. |
| 776 | * zserv.c: (zsend_interface_delete) ditto |
| 777 | (zsend_interface_address) Update the call-flow diagramme, to |
| 778 | reflect that if_delete_update /is/ now called on all systems, |
| 779 | potentially. |
| 780 | * zserv.h: (zsend_interface_delete) unconditionally exported, as |
| 781 | above. |
| 782 | |
paul | a1ac18c | 2005-06-28 17:17:12 +0000 | [diff] [blame] | 783 | 2005-06-28 Paul Jakma <paul.jakma@sun.com> |
| 784 | |
| 785 | * (global) Extern and static'ification, with related fixups |
| 786 | of declarations, ensuring files include their own headers, etc. |
paul | ea6f82b | 2005-06-28 17:20:26 +0000 | [diff] [blame] | 787 | * if_ioctl.c: (interface_info_ioctl) fix obvious arg mis-order in |
paul | a1ac18c | 2005-06-28 17:17:12 +0000 | [diff] [blame] | 788 | list loop |
paul | ea6f82b | 2005-06-28 17:20:26 +0000 | [diff] [blame] | 789 | * kernel_socket.c: (RTA_{ADDR,ATTR}_GET) fix mistake, NULL check |
| 790 | should be on DEST argument |
paul | a1ac18c | 2005-06-28 17:17:12 +0000 | [diff] [blame] | 791 | |
paul | 62debbb | 2005-06-14 14:07:07 +0000 | [diff] [blame] | 792 | 2005-06-14 Paul Jakma <paul.jakma@sun.com> |
| 793 | |
| 794 | * kernel_socket.c: consolidate the IFAM{ADDR,MASK}GET and |
| 795 | RTM{ADDR,MASK}GET macros into generic rta_addrs macros, |
| 796 | RTA_{ADDR,ATTR}_GET. |
| 797 | (af_check) could use 'inline' attribute |
| 798 | (ifam_read_mesg) remove IFAM{ADDR,MASK}GET macro, change to |
| 799 | generic macro. |
| 800 | (rtm_read_mesg) similar |
| 801 | |
hasso | 1ada819 | 2005-06-12 11:28:18 +0000 | [diff] [blame] | 802 | 2005-06-12 Hasso Tepper <hasso at quagga.net> |
| 803 | |
| 804 | * rt_netlink.c: Remove netlink-addr socket declaration, it's not used. |
| 805 | * rt_netlink.c (netlink_parse_info): Fix debug messages - nlmsg_pid is |
| 806 | unsigned and one zlog call had swapped arguments. |
| 807 | * rt_netlink.c (netlink_route_multipath): Fix compile with disabled |
| 808 | IPv6 support. |
| 809 | |
paul | 1dcb517 | 2005-05-31 08:38:50 +0000 | [diff] [blame] | 810 | 2005-05-31 Paul Jakma <paul.jakma@sun.com> |
| 811 | |
| 812 | * zserv.c: (zsend_route_multipath) Fix bug if route is sent |
| 813 | with no NEXTHOP_FLAG_FIB nexthops. As ZAPI_MESSAGE_IFINDEX |
| 814 | and ZAPI_MESSAGE_NEXTHOP are always set, clients would try |
| 815 | read non-existent nexthop information and hit stream assert. |
| 816 | Zserv is still broken for multi-nexthop messages, but it always was. |
| 817 | |
paul | 69e10ad | 2005-05-06 21:27:33 +0000 | [diff] [blame] | 818 | 2005-05-06 Paul Jakma <paul.jakma@sun.com> |
| 819 | |
| 820 | * zserv.h: Remove ZEBRA_PORT definition, its in lib/zebra.h now |
| 821 | |
paul | 4d38fdb | 2005-04-28 17:35:14 +0000 | [diff] [blame] | 822 | 2005-04-28 Paul Jakma <paul.jakma@sun.com> |
| 823 | |
| 824 | * rib.h: (struct rib) Add lock field for refcounting. |
| 825 | * zserv.h: (struct zebra_t) Add a ribq workqueue to the zebra |
| 826 | 'master' struct. |
| 827 | * zserv.c: (zread_ipv4_add) XMALLOC then memset should be XCALLOC. |
| 828 | * zebra_rib.c: Clean up refcounting of route_node, make struct rib |
| 829 | refcounted and convert rib_process to work-queue. In general, |
| 830 | rib's should be rib_addnode'd and delnode'd to route_nodes, and |
| 831 | these symmetrical functions will manage the locking of referenced |
| 832 | route_node and freeing of struct rib - rather than having users |
| 833 | manage each seperately - with much scope for bugs.. |
| 834 | (newrib_free) removed and replaced with rib_lock |
| 835 | (rib_lock) new function, check state of lock and increment. |
| 836 | (rib_unlock) new function, check lock state and decrement. Free |
| 837 | struct rib if refcount hits 0, freeing struct nexthop's, as |
| 838 | newrib_free did. |
| 839 | (rib_addnode) Add RIB to route_node, locking both. |
| 840 | (rib_delnode) Delete RIB from route_node, unlocking each. |
| 841 | (rib_process) Converted to a work-queue work function. |
| 842 | Functional changes are minimal, just arguments, comments and |
| 843 | whitespace. |
| 844 | (rib_queue_add_qnode) Helper function to setup a ribq item. |
| 845 | (rib_queue_add) Helper function, same arguments as old |
| 846 | rib_process, to replace in callers of rib_process. |
| 847 | (rib_queue_qnode_del) ribq deconstructor. |
| 848 | (rib_queue_init) Create the ribq. |
| 849 | (rib_init) call rib_queue_init. |
| 850 | (remainder) Sanitise refcounting of route_node's. Convert to |
| 851 | rib_queue_add, rib_addnode and rib_delnode. Change XMALLOC/memset |
| 852 | to XCALLOC. Remove calls to nexthop_delete and nexthop_free. |
| 853 | |
paul | cf460ef | 2005-04-10 16:54:26 +0000 | [diff] [blame] | 854 | 2005-04-10 Paul Jakma <paul@dishone.st> |
| 855 | |
| 856 | * if_ioctl_solaris.c: (if_lookup_linklocal) fix order of args |
| 857 | in ALL_LIST_ELEMENTS_RO macro. |
| 858 | |
ajs | 57a1477 | 2005-04-10 15:01:56 +0000 | [diff] [blame] | 859 | 2005-04-10 Andrew J. Schorr <ajschorr@alumni.princeton.edu> |
| 860 | |
| 861 | * zserv.c (zebra_client_read): Fix bug: first read attempt should |
| 862 | read ZEBRA_HEADER_SIZE minus the number of bytes already read. |
| 863 | Improve efficiency by maintaining a calculation of the number |
| 864 | of bytes read instead of calling stream_get_endp multiple times. |
| 865 | If message length is too small, issue a warning message (not debug) |
| 866 | before closing the connection. And also check that message length |
| 867 | is not too big. |
| 868 | |
hasso | 206d805 | 2005-04-09 16:38:51 +0000 | [diff] [blame] | 869 | 2005-04-09 Hasso Tepper <hasso at quagga.net> |
| 870 | |
hasso | fa59980 | 2005-04-09 16:59:28 +0000 | [diff] [blame] | 871 | * rt_netlink.c: One tiny missing comma caused pointless debug messages |
| 872 | about IPv6 nexthops. |
| 873 | |
| 874 | 2005-04-09 Hasso Tepper <hasso at quagga.net> |
| 875 | |
hasso | 206d805 | 2005-04-09 16:38:51 +0000 | [diff] [blame] | 876 | * rt_netlink.c (netlink_parse_info): Fix warning. It's safe to cast |
| 877 | status to unsigned here, because we already checked that it isn't |
| 878 | negative or 0. |
| 879 | * rt_netlink.c (netlink_interface_addr): Prefix length belongs to the |
| 880 | address, not to the interface. |
| 881 | * rt_netlink.c (netlink_route_multipath): Fix debug. No useless info |
| 882 | is printed out now and IPv6 info is handeled. |
| 883 | |
paul | 3d1dc85 | 2005-04-05 00:45:23 +0000 | [diff] [blame] | 884 | 2005-04-05 Paul Jakma <paul@dishone.st> |
| 885 | |
| 886 | * zserv.c: print more helpful errors when we fail to successfully |
| 887 | bind and listen on zserv socket. Closes bugzilla #163. |
| 888 | |
ajs | d2fc889 | 2005-04-02 18:38:43 +0000 | [diff] [blame] | 889 | 2005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu> |
| 890 | |
ajs | 08dbfb6 | 2005-04-03 03:40:52 +0000 | [diff] [blame] | 891 | * if_ioctl.c: (interface_list_ioctl) Use if_get_by_name_len. |
| 892 | * if_proc.c: (ifaddr_proc_ipv6) Increase size of ifname buffer to |
| 893 | avoid overflow. |
| 894 | * kernel_socket.c: (ifan_read) Use if_get_by_name_len. |
| 895 | |
| 896 | 2005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu> |
| 897 | |
ajs | a349198 | 2005-04-02 22:50:38 +0000 | [diff] [blame] | 898 | * kernel_socket.c: (ifm_read) Use new if_lookup_by_name_len function |
| 899 | to save a memcpy. |
| 900 | * if_ioctl_solaris.c: (interface_list_ioctl) Fix subtle bug with new |
| 901 | if_get_by_name_len function. |
| 902 | |
| 903 | 2005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu> |
| 904 | |
ajs | d2fc889 | 2005-04-02 18:38:43 +0000 | [diff] [blame] | 905 | * interface.c: (if_new_intern_ifindex) Remove obsolete function. |
| 906 | (if_delete_update) After distributing the interface deletion message, |
| 907 | set ifp->ifindex to IFINDEX_INTERNAL. |
| 908 | (if_dump_vty) Detect pseudo interface by checking if ifp->ifindex is |
| 909 | IFINDEX_INTERNAL. |
| 910 | (zebra_interface) Check return code from interface_cmd.func. |
| 911 | Do not set internal ifindex values to if_new_intern_ifindex(), |
| 912 | since we now use IFINDEX_INTERNAL for all pseudo interfaces. |
| 913 | * kernel_socket.c: (ifm_read) Fix code and comments to reflect that |
| 914 | all internal interfaces now have ifp->ifindex set to IFINDEX_INTERNAL. |
| 915 | * rt_netlink.c: (set_ifindex) New function used to update ifp->ifindex. |
| 916 | Detects interface rename events by checking if that ifindex is already |
| 917 | being used. If it is, delete the old interface before assigning |
| 918 | the ifindex to the new interface. |
| 919 | (netlink_interface, netlink_link_change) Call set_ifindex to update |
| 920 | the ifindex. |
| 921 | |
hasso | b7ed1ec | 2005-03-31 20:13:49 +0000 | [diff] [blame] | 922 | 2005-03-31 Hasso Tepper <hasso at quagga.net> |
| 923 | |
| 924 | * rt_netlink.c (netlink_talk_filter): Show always warning message, |
| 925 | it's not for debug. |
| 926 | * rt_netlink.c (netlink_talk): Don't assume we use netlink_cmd |
| 927 | although we do now actually. |
| 928 | * rt_netlink.c (netlink_route, netlink_route_multipath): Always use |
| 929 | netlink_cmd to send messages to the kernel. |
| 930 | |
ajs | 2da40f4 | 2005-03-30 16:33:13 +0000 | [diff] [blame] | 931 | 2005-03-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu> |
| 932 | |
| 933 | * irdp.h: Add prototype for irdp_sock_init, and fix protos for |
| 934 | other irdp_* functions. |
| 935 | * irdp_interface.c: (irdp_if_start) If irdp_sock is negative, |
| 936 | call irdp_sock_init to create the IRDP socket. |
| 937 | (irdp_if_init) Rename to irdp_init(). |
| 938 | (get_iflist_ifp) Remove function that is a duplicate of |
| 939 | if_lookup_by_index. |
| 940 | (*) Make many functions static. And remove superfluous "\n" from |
| 941 | several zlog messages. |
| 942 | * irdp_main.c: (irdp_init) Remove function that used to call |
| 943 | irdp_if_init() and irdp_sock_init(), since we will now create |
| 944 | the socket only upon first use. |
| 945 | (irdp_sock_init) Do not update global irdp_sock variable, just |
| 946 | return the fd and assume that the caller will do so. If setsockopt |
| 947 | calls fail, close the socket before returning -1. |
| 948 | (*) Make many functions static. |
| 949 | * irdp_packet.c: Initialize irdp_sock to -1. |
| 950 | (irdp_read_raw) Call standard library function if_lookup_by_index |
| 951 | instead of get_iflist_ifp. |
| 952 | (irdp_recvmsg) Should be static, not global. |
| 953 | |
ajs | a608bbf | 2005-03-29 17:03:49 +0000 | [diff] [blame] | 954 | 2005-03-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu> |
| 955 | |
| 956 | * rt_netlink.c: (netlink_link_change) If the status of an |
| 957 | operative interface changes (e.g. MTU changes), the client |
| 958 | daemons should be notified by calling zebra_interface_up_update. |
| 959 | Previously, the information was being updated in zebra's |
| 960 | interface structure, but the clients were not notified of |
| 961 | changes to an operative interface. |
| 962 | |
vincent | 7cee1bb | 2005-03-25 13:08:53 +0000 | [diff] [blame] | 963 | 2005-03-25 Jean-Mickael Guerin <jean-mickael.guerin@6wind.com> |
| 964 | * interface.c, interface.h, rtadv.c, rtadv.h: modifications to |
| 965 | IPv6 Neighbor Discovery according to RFC3775, section 7: |
| 966 | o 1-bit Home Agent flag management in Router Advertisement (7.1). |
| 967 | o 1-bit Router Address flag management in Prefix Information |
| 968 | Option (7.2). |
| 969 | o Advertisement Interval Option (7.3) |
| 970 | o Home Agent Information Option (7.4) |
| 971 | o Changes to Sending Router Advertisements more frequently (7.5) |
| 972 | |
hasso | ed9bb6d | 2005-03-13 19:17:21 +0000 | [diff] [blame] | 973 | 2005-03-13 Hasso Tepper <hasso at quagga.net> |
| 974 | |
| 975 | * zebra/interaface.c: "show interface description" command |
| 976 | implemented. |
| 977 | |
paul | c1f01f3 | 2005-03-12 06:33:14 +0000 | [diff] [blame] | 978 | 2005-03-12 Paul Jakma <paul@dishone.st> |
| 979 | |
| 980 | * rt_netlink.c: (netlink_route_multipath) dont set equalise flag. |
| 981 | No stock Linux kernel has ever supported it, and even if it had |
| 982 | it's not generally a good idea. |
| 983 | |
hasso | 42a66d7 | 2005-03-07 08:19:44 +0000 | [diff] [blame] | 984 | 2005-03-07 Michael Sandee <voidptr@voidptr.sboost.org> |
| 985 | |
| 986 | * if_proc.c, ipforward_proc.c, rtread_proc.c: Fix fd leaks. |
| 987 | |
hasso | 3452d47 | 2005-03-06 13:42:05 +0000 | [diff] [blame] | 988 | 2005-03-06 Hasso Tepper <hasso at quagga.net> |
| 989 | |
| 990 | * interface.c: Fix CRC and frame errors statistics in Linux. |
| 991 | |
ajs | 719e974 | 2005-02-28 20:52:15 +0000 | [diff] [blame] | 992 | 2005-02-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu> |
| 993 | |
| 994 | * zserv.c: Must include network.h and buffer.h for non-blocking I/O. |
| 995 | Remove global message_queue and t_write (need separate buffering for |
| 996 | each client). |
| 997 | (zebra_server_dequeue,zebra_server_enqueue) Remove functions |
| 998 | related to old buggy buffering code. |
| 999 | (zserv_delayed_close) New thread callback function to delete a client. |
| 1000 | (zserv_flush_data) New thread callback function to flush buffered |
| 1001 | data to client. |
| 1002 | (zebra_server_send_message) Rewritten to use buffer_write (so |
| 1003 | buffering of writes and non-blocking I/O work properly). |
| 1004 | (zsend_interface_add,zsend_interface_delete,zsend_interface_address, |
| 1005 | zsend_interface_update) Return 0 instead of -1 if !client->ifinfo |
| 1006 | (this is not really an error). Return value from |
| 1007 | zebra_server_send_message. |
| 1008 | (zsend_route_multipath,zsend_ipv4_nexthop_lookup, |
| 1009 | zsend_ipv4_import_lookup) Return value from zebra_server_send_message. |
| 1010 | (zsend_ipv6_nexthop_lookup) Fix scope to static, and return value |
| 1011 | from zebra_server_send_message. |
| 1012 | (zsend_router_id_update) Must use zebra_server_send_message instead |
| 1013 | of deprecated writen function. Return 0 instead of -1 if this client |
| 1014 | is not subscribed to router-id updates (since this is not really |
| 1015 | an error). |
| 1016 | (zread_interface_add) Change type to static int. If |
| 1017 | zsend_interface_add fails or zsend_interface_address fails, return -1 |
| 1018 | immediately (since the client has had an I/O error). |
| 1019 | (zread_interface_delete,zread_ipv4_add,zread_ipv4_delete, |
| 1020 | zread_ipv6_add,zread_ipv6_delete,zread_router_id_delete) Return 0 |
| 1021 | to indicate success. |
| 1022 | (zread_ipv4_nexthop_lookup) Return value from |
| 1023 | zsend_ipv4_nexthop_lookup. |
| 1024 | (zread_ipv4_import_lookup) Return value from zsend_ipv4_import_lookup. |
| 1025 | (zebra_read_ipv6) Remove unused function. |
| 1026 | (zread_ipv6_nexthop_lookup) Return value from |
| 1027 | zsend_ipv6_nexthop_lookup. |
| 1028 | (zread_router_id_add) Return value from zsend_router_id_update. |
| 1029 | (zebra_client_close) Call buffer_free(client->wb) and |
| 1030 | thread_cancel(client->t_suicide). |
| 1031 | (zebra_client_create) Allocate client->wb using buffer_new. |
| 1032 | (zebra_client_read) Support non-blocking I/O by using stream_read_try. |
| 1033 | Use ZEBRA_HEADER_SIZE instead of 3. |
| 1034 | (zebra_accept) Fix bug: reset accept thread at top. Make client |
| 1035 | socket non-blocking using the set_nonblocking function. |
| 1036 | (config_write_forwarding) Fix scope to static. |
| 1037 | (zebra_init) Remove initialization code for old buggy write buffering. |
| 1038 | * zserv.h: Add 2 new fields to struct zserv: struct buffer *wb |
| 1039 | (to enable buffered writes with non-blocking I/), and |
| 1040 | struct thread *t_suicide to support delayed close on I/O |
| 1041 | errors. |
| 1042 | * router-id.h: Remove prototypes for zread_router_id_add and |
| 1043 | zread_router_id_delete (their scope should be static to zserv.c). |
| 1044 | |
ajs | 27da398 | 2005-02-24 16:06:33 +0000 | [diff] [blame] | 1045 | 2005-02-24 Andrew J. Schorr <ajschorr@alumni.princeton.edu> |
| 1046 | |
| 1047 | * redistribute.c: (zebra_check_addr,is_default, |
| 1048 | zebra_redistribute_default,zebra_redistribute) Fix scope to be static. |
| 1049 | |
hasso | e8274dc | 2005-02-20 19:09:23 +0000 | [diff] [blame] | 1050 | 2005-02-20 Hasso Tepper <hasso at quagga.net> |
| 1051 | |
| 1052 | * rt_netlink.c: Don't show messages "ignoring message type 0x001[89]" |
| 1053 | if we are not debugging. |
| 1054 | |
paul | e31f229 | 2005-02-19 02:00:26 +0000 | [diff] [blame] | 1055 | 2005-02-19 Paul Jakma <paul@dishone.st> |
| 1056 | |
| 1057 | * zserv.c: (zebra_read_ipv6) replace the char * arithmetic with |
| 1058 | STREAM_READABLE. |
| 1059 | |
paul | 1e19315 | 2005-02-14 23:53:05 +0000 | [diff] [blame] | 1060 | 2005-02-14 Paul Jakma <paul@dishone.st> |
| 1061 | |
| 1062 | * Not all Linux netlink systems have IFLA_WIRELESS |
| 1063 | |
ajs | 6a52d0d | 2005-01-30 18:49:28 +0000 | [diff] [blame] | 1064 | 2005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu> |
| 1065 | |
| 1066 | * ioctl.c: (if_ioctl,if_ioctl_ipv6,if_get_flags) Replace perror with |
| 1067 | zlog_err. |
| 1068 | * ioctl_solaris.c: (if_ioctl,if_ioctl_ipv6) Replace perror with |
| 1069 | zlog_err. |
| 1070 | |
ajs | 4be019d | 2005-01-29 16:12:41 +0000 | [diff] [blame] | 1071 | 2005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu> |
| 1072 | |
ajs | 4460e7a | 2005-01-29 17:07:40 +0000 | [diff] [blame] | 1073 | * if_ioctl_solaris.c: (interface_list_ioctl) Save errno before calling |
| 1074 | zserv_privs.change. |
| 1075 | * ioctl{,_solaris}.c: (if_ioctl,if_ioctl_ipv6) Save errno before calling |
| 1076 | zserv_privs.change. |
| 1077 | * ipforward_solaris.c: (solaris_nd) Save errno before calling |
| 1078 | zserv_privs.change. |
| 1079 | * irdp_main.c: (irdp_sock_init) Save errno before calling |
| 1080 | zserv_privs.change. |
| 1081 | |
| 1082 | 2005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu> |
| 1083 | |
ajs | 4be019d | 2005-01-29 16:12:41 +0000 | [diff] [blame] | 1084 | * rt_netlink.c: (netlink_socket,netlink_request,netlink_parse_info, |
| 1085 | netlink_talk) Save errno before calling zserv_privs.change. |
| 1086 | |
paul | c15cb24 | 2005-01-24 09:05:27 +0000 | [diff] [blame] | 1087 | 2005-01-24 Martin Pot <mpot at martybugs.net> |
| 1088 | |
| 1089 | * zebra/rt_netlink.c: ignore wireless newlink netlink messages. |
| 1090 | |
hasso | 6f2c27a | 2005-01-18 13:44:35 +0000 | [diff] [blame] | 1091 | 2005-01-18 Hasso Tepper <hasso at quagga.net> |
| 1092 | |
| 1093 | * interface.c: Better statistics output in "show interface" command in |
| 1094 | case of /proc being used. |
| 1095 | |
hasso | 583d800 | 2005-01-16 23:34:02 +0000 | [diff] [blame] | 1096 | 2005-01-17 Hasso Tepper <hasso at quagga.net> |
| 1097 | |
| 1098 | * main.c: With --nl-bufsize argument is required. |
| 1099 | |
paul | 865b852 | 2005-01-05 08:30:35 +0000 | [diff] [blame] | 1100 | 2005-01-05 Paul Jakma <paul@dishone.st> |
| 1101 | |
| 1102 | * zserv.c: (zebra_accept) Comment out setting of socket to NONBLOCK |
| 1103 | for now, as we dont actually deal with with resending.... See |
| 1104 | bugzilla #122, fix from wawa@yandex-team.ru (Vladimir Ivanov). |
| 1105 | * kernel_socket.c: (routing_socket) ditto. |
| 1106 | |
ajs | b99760a | 2005-01-04 16:24:43 +0000 | [diff] [blame] | 1107 | 2005-01-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu> |
| 1108 | |
| 1109 | * rtadv.c: (rtadv_recv_packet,rtadv_send_packet) Use ZCMSG_FIRSTHDR |
| 1110 | instead of CMSG_FIRSTHDR. |
| 1111 | |
ajs | 341a8f1 | 2004-12-22 16:32:16 +0000 | [diff] [blame] | 1112 | 2004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu> |
| 1113 | |
| 1114 | * connected.c: (connected_add_ipv4) Limit warning about /32 addresses |
| 1115 | with no peer specified to PtP interfaces only. |
| 1116 | |
hasso | b8adec1 | 2004-12-18 16:03:28 +0000 | [diff] [blame] | 1117 | 2004-12-18 Hasso Tepper <hasso at quagga.net> |
| 1118 | |
| 1119 | * zebra_vty.c: Fix "show ipv6 route <proto>" command help and make it |
| 1120 | work for isis routes. |
| 1121 | |
gdt | 6a250b0 | 2004-12-09 14:48:12 +0000 | [diff] [blame] | 1122 | 2004-12-09 Greg Troxel <gdt@fnord.ir.bbn.com> |
| 1123 | |
| 1124 | * kernel_socket.c (rtmsg_debug): char * => const char * |
| 1125 | |
ajs | 274a4a4 | 2004-12-07 15:39:31 +0000 | [diff] [blame] | 1126 | 2004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu> |
| 1127 | |
ajs | b617800 | 2004-12-07 21:12:56 +0000 | [diff] [blame] | 1128 | * *.c: Change level of debug messages to LOG_DEBUG. |
| 1129 | |
| 1130 | 2004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu> |
| 1131 | |
ajs | 274a4a4 | 2004-12-07 15:39:31 +0000 | [diff] [blame] | 1132 | * main.c: (main) The 2nd argument to openzlog has been removed. |
| 1133 | So stdout logging will no longer be enabled by default. |
| 1134 | * irdp_main.c: (irdp_finish) Reduce severity of shutdown message |
| 1135 | from LOG_WARNING to LOG_INFO. |
| 1136 | |
ajs | 887c44a | 2004-12-03 16:36:46 +0000 | [diff] [blame] | 1137 | 2004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu> |
| 1138 | |
| 1139 | * main.c: (sigint) Use zlog_notice for termination message. |
| 1140 | (main) Add a startup announcement using zlog_notice. |
| 1141 | |
hasso | accb156 | 2004-11-25 19:21:07 +0000 | [diff] [blame] | 1142 | 2004-11-25 Hasso Tepper <hasso at quagga.net> |
| 1143 | |
| 1144 | * irdp_interface.c: Remove comment from DEFUN, it breaks vtysh because |
| 1145 | it confuses extract.pl. |
hasso | c065230 | 2004-11-25 19:33:48 +0000 | [diff] [blame] | 1146 | * main.c: Make group to run as configurable. |
hasso | accb156 | 2004-11-25 19:21:07 +0000 | [diff] [blame] | 1147 | |
hasso | 6bd7c6a | 2004-10-28 17:32:27 +0000 | [diff] [blame] | 1148 | 2004-10-28 Hasso Tepper <hasso at quagga.net> |
| 1149 | |
| 1150 | * interface.c: Remove dead "ip tunnel" command. |
| 1151 | |
paul | 06f953f | 2004-10-22 17:00:38 +0000 | [diff] [blame] | 1152 | 2004-10-22 Paul Jakma <paul@dishone.st> |
| 1153 | |
| 1154 | * irdp_main.c: change setsockopt_pktinfo to setsockopt_ifindex |
| 1155 | |
hasso | 3fb9cd6 | 2004-10-19 19:44:43 +0000 | [diff] [blame] | 1156 | 2004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com> |
| 1157 | |
| 1158 | * rt_netlink.c: (netlink_interface_addr) For PtP interfaces, ignore |
| 1159 | tb[IFA_ADDRESS] if it's the same as tb[IFA_LOCAL]. |
| 1160 | * interface.c: (ip_address_install) Use new ipv4_broadcast_addr |
| 1161 | function. |
| 1162 | * connected.c: (connected_up_ipv4) Use CONNECTED_POINTOPOINT_HOST |
| 1163 | macro. |
| 1164 | (connected_down_ipv4) ditto. |
| 1165 | (connected_add_ipv4) Validate destination address, print warnings |
| 1166 | if it does not make sense. |
| 1167 | |
hasso | c1eaa44 | 2004-10-19 06:26:01 +0000 | [diff] [blame] | 1168 | 2004-10-19 Hasso Tepper <hasso at quagga.net> |
| 1169 | |
| 1170 | * zserv.c: Fix regression introduced with zserv cleanup. |
| 1171 | |
hasso | c75105a | 2004-10-13 10:33:26 +0000 | [diff] [blame] | 1172 | 2004-10-13 Hasso Tepper <hasso at quagga.net> |
| 1173 | |
| 1174 | * zebra_snmp.c: Remove defaults used to initialize smux connection to |
| 1175 | snmpd. Connection is initialized only if smux peer is configured. |
hasso | b71f00f | 2004-10-13 12:20:35 +0000 | [diff] [blame] | 1176 | * zserv.c: Remove useless warnings "forwarding is already on". |
hasso | c75105a | 2004-10-13 10:33:26 +0000 | [diff] [blame] | 1177 | |
hasso | 39ff11d | 2004-10-12 15:55:19 +0000 | [diff] [blame] | 1178 | 2004-10-12 Hasso Tepper <hasso at quagga.net> |
| 1179 | |
| 1180 | * zebra_vty.c: Unbreak "show ip route" command help and make it work |
| 1181 | for isis routes. |
hasso | 39db97e | 2004-10-12 20:50:58 +0000 | [diff] [blame] | 1182 | * interface.c(if_dump_vty): Show IPv6 addresses in "show interface" |
| 1183 | output. Fixes Bugzilla #119. |
| 1184 | * *.c: Make some strings const and some (unsigned) casts to fix |
| 1185 | compiler warnings. |
hasso | 39ff11d | 2004-10-12 15:55:19 +0000 | [diff] [blame] | 1186 | |
hasso | fce954f | 2004-10-07 20:29:24 +0000 | [diff] [blame] | 1187 | 2004-10-07 Hasso Tepper <hasso at quagga.net> |
| 1188 | |
| 1189 | * connected.c, main.c, rt_netlink.c, rtadv.c, zebra_rib.c, zserv.c: |
| 1190 | Fix warnings: make strings const, signed -> unsigned. |
| 1191 | |
paul | 7216466 | 2004-10-05 14:39:43 +0000 | [diff] [blame] | 1192 | 2004-10-05 Paul Jakma <paul@dishone.st> |
| 1193 | |
| 1194 | * irdp_packet.c: (parse_irdp_packet) style issues. |
| 1195 | Use sockopt_iphdrincl_swab_systoh. |
| 1196 | Try unbork the code. Checksum the ICMP data and actually |
| 1197 | compare it to received checksum. Check data length against |
| 1198 | claimed length in header. |
| 1199 | Always use ntoh.. when accessing addresses, even when the |
| 1200 | comparison happens to be endian-safe. |
| 1201 | (send_packet) minor style isues. Use |
| 1202 | sockopt_iphdrincl_swab_htosys. |
| 1203 | (irdp_iph_hton/ntoh) IP header to/from network/host order. |
| 1204 | |
hasso | eef1fe1 | 2004-10-03 18:46:08 +0000 | [diff] [blame] | 1205 | 2004-10-03 Gilad Arnold <gilad.arnold at terayon.com> |
| 1206 | |
| 1207 | * interface.c, interface.h: A new prefix tree of connected subnets is |
| 1208 | associated with each interface structure in zebra, in which each |
| 1209 | live (ie, non-synthetic) node holds a list of installed addresses |
| 1210 | that belong to that prefix. Remove secondary address logic from cli. |
| 1211 | See [quagga-dev 872] for detailed explanation. |
| 1212 | * connected.c: Use if_subnet_add() and if_subnet_delete(). |
| 1213 | |
hasso | 18a6dce | 2004-10-03 18:18:34 +0000 | [diff] [blame] | 1214 | 2004-10-03 James R. Leu <jleu at mindspring.com> |
| 1215 | |
| 1216 | * router-id.c, router-id.h: New files. Router id selection process. If |
| 1217 | there is non 127.x.x.x address in loopack interface, lowest of them |
| 1218 | is chosen. If there isn't, lowest from other interfaces addresses |
| 1219 | are chosen. "router-id x.x.x.x" vty command to manual override. |
| 1220 | * Makefile.am: Compile new files. |
| 1221 | * main.c: Initialize router id. |
| 1222 | * redistribute.c: Add interface addresses into router id selection |
| 1223 | lists as they (dis)appear. |
| 1224 | * zserv.c, zserv.h: Sending router id related messages to daemons. |
| 1225 | |
hasso | c9e52be | 2004-09-26 16:09:34 +0000 | [diff] [blame] | 1226 | 2004-09-26 Hasso Tepper <hasso at quagga.net> |
| 1227 | |
| 1228 | * irdp_interface.c, irdp_main.c, irdp_packet.c, rt_netlink.c, |
| 1229 | rtadv.c, zebra_vty.c: Fix compiler warnings. |
| 1230 | |
paul | 0c0f911 | 2004-09-24 08:24:42 +0000 | [diff] [blame] | 1231 | 2004-09-24 Paul Jakma <paul@dishone.st> |
| 1232 | |
paul | 26f7a24 | 2004-09-24 08:45:10 +0000 | [diff] [blame] | 1233 | * irdp_interface.c: (no_ip_irdp_address_preference_cmd) |
| 1234 | add missing listnode declaration. |
| 1235 | |
| 1236 | 2004-09-24 Paul Jakma <paul@dishone.st> |
| 1237 | |
paul | 0c0f911 | 2004-09-24 08:24:42 +0000 | [diff] [blame] | 1238 | * irdp_{interface,main}.c: lists typedef removal cleanup. |
| 1239 | update some list loops to LIST_LOOP. some miscellaneous style |
| 1240 | and indent fixups. |
| 1241 | (no_ip_irdp_address_preference_cmd) Fix delete of referenced node |
paul | 26f7a24 | 2004-09-24 08:45:10 +0000 | [diff] [blame] | 1242 | in loop. |
paul | 0c0f911 | 2004-09-24 08:24:42 +0000 | [diff] [blame] | 1243 | * irdp_packet.c: (irdp_recvmsg) Fix buggy assignment of integer |
| 1244 | to pointer. |
| 1245 | * if_ioctl{,_solaris}.c: lists typedef removal cleanup. |
| 1246 | update some list loops to LIST_LOOP. |
| 1247 | |
hasso | 52dc7ee | 2004-09-23 19:18:23 +0000 | [diff] [blame] | 1248 | 2004-09-23 Hasso Tepper <hasso at quagga.net> |
| 1249 | |
| 1250 | * *.[c|h]: list -> struct list *, listnode -> struct listnode *. |
| 1251 | |
paul | 44983cf | 2004-09-22 13:15:58 +0000 | [diff] [blame] | 1252 | 2004-09-22 Paul Jakma <paul.jakma@sun.com> |
| 1253 | |
| 1254 | * zserv.c: (zsend_route_multipath) fix nasty bad memset of struct |
| 1255 | in_addr to sizeof(struct in6_addr), causing odd and hard to debug |
| 1256 | crash. |
| 1257 | |
hasso | c34b6b5 | 2004-08-31 13:41:49 +0000 | [diff] [blame] | 1258 | 2004-08-31 Hasso Tepper <hasso at quagga.net> |
| 1259 | |
| 1260 | * main.c, rt_netlink.c: Added -s command line switch for tuning |
| 1261 | netlink receive buffer size in Linux to avoid buffer overruns. |
| 1262 | |
gdt | a5ea687 | 2004-08-26 13:24:00 +0000 | [diff] [blame] | 1263 | 2004-08-26 Miles Nordin <carton@Ivy.NET> |
| 1264 | |
| 1265 | * ipforward_sysctl.c (mib_ipv6): Use size_t for len, per |
| 1266 | sysctl(3), rather than int. (Needed on NetBSD/alpha to display |
| 1267 | forwarding status correctly.) |
| 1268 | |
paul | 3e0b3a5 | 2004-08-23 18:58:32 +0000 | [diff] [blame] | 1269 | 2004-08-23 Paul Jakma <paul@dishone.st> |
| 1270 | |
| 1271 | * zserv.c: (zebra_init) remove implicit ip forward enabling |
| 1272 | |
paul | 0de1cde | 2004-08-19 04:45:33 +0000 | [diff] [blame] | 1273 | 2004-08-19 Paul Jakma <paul@dishone.st> |
| 1274 | |
| 1275 | * irdp_main.c: update to match sockopt renames. |
| 1276 | * irdp_packet.c: include sockopt.h and update to match sockopt |
| 1277 | renames. |
| 1278 | |
gdt | 57492d5 | 2004-08-11 18:06:38 +0000 | [diff] [blame] | 1279 | 2004-08-11 Greg Troxel <gdt@fnord.ir.bbn.com> |
| 1280 | |
| 1281 | * rtadv.c (rtadv_send_packet): Allocate space for control messages |
| 1282 | more carefully; it was wrong on NetBSD/sparc where CMSG alignment |
| 1283 | is to 8 bytes instead of 4, and overwriting the address. Use the |
| 1284 | provided macros for determining lengths. |
| 1285 | |
paul | 5b73a67 | 2004-07-23 15:26:14 +0000 | [diff] [blame] | 1286 | 2004-07-23 Sowmini Varadhan <Sowmini.Varadhan@Sun.COM> |
| 1287 | |
| 1288 | * if_ioctl_solaris.c: HAVE_IPV6 ifdef fixups |
| 1289 | * zserv.c: ditto |
| 1290 | * ioctl_solaris.c: ditto. |
| 1291 | * interface.c: cast for LLADDR |
| 1292 | * interface.h: Add guards, include redistribute.h and remove |
| 1293 | extraneous definitions of zebra_interface_{up,down}_update |
| 1294 | * ioctl.h: Add AF_IOCTL define for non SOLARIS_IPV6 |
| 1295 | * redistribute.h: include dependent header, zserv.h |
| 1296 | * zserv.h: include dependent header, rib.h |
| 1297 | |
paul | 1470baf | 2004-07-23 15:25:01 +0000 | [diff] [blame] | 1298 | 2004-07-23 Paul Jakma <paul@dishone.st> |
| 1299 | |
| 1300 | * irdp_main.c: use setsockopt_pktinfo_ipv4 |
| 1301 | * irdp_packet.c: use SOPT_SIZE_CMSG_PKTINFO_IPV4 and |
| 1302 | getsockopt_pktinfo_ifindex() |
| 1303 | |
gdt | cced60d | 2004-07-13 16:45:54 +0000 | [diff] [blame] | 1304 | 2004-07-13 David Wiggins <dwiggins@bbn.com |
| 1305 | |
| 1306 | * kernel_socket.c (rtm_flag_dump): terminate buffer with '\0', not '0'. |
| 1307 | |
hasso | 25dac85 | 2004-07-13 03:06:51 +0000 | [diff] [blame] | 1308 | 2004-07-13 Hasso Tepper <hasso@estpak.ee> |
| 1309 | |
| 1310 | * irdp_main.c: Add privilege change. |
| 1311 | |
hasso | 996933f | 2004-07-12 16:32:56 +0000 | [diff] [blame] | 1312 | 2004-07-12 Hasso Tepper <hasso@estpak.ee> |
| 1313 | |
| 1314 | * irdp_interface.c: follow common style while naming vty command |
| 1315 | functions. Avoids confusion in extract.pl. |
| 1316 | |
gdt | 87efd64 | 2004-06-30 17:36:11 +0000 | [diff] [blame] | 1317 | 2004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com> |
| 1318 | |
| 1319 | * main.c: define thread_master variable so that linking with |
| 1320 | libzebra.so doesn't fail. Arguably zclient.o should be in a |
| 1321 | separate library, but this is far less disruptive. |
| 1322 | |
hasso | ca77698 | 2004-06-12 14:33:05 +0000 | [diff] [blame] | 1323 | 2004-06-12 Robert Olsson <Robert.Olsson at data.slu.se> |
| 1324 | |
| 1325 | * Added IRDP support. |
| 1326 | |
hasso | 3e31cde | 2004-05-18 11:58:59 +0000 | [diff] [blame] | 1327 | 2004-05-18 Hasso Tepper <hasso@estpak.ee> |
| 1328 | |
| 1329 | * rtadv.c: Removed "[no] ipv6 nd send-ra" command. Replaced "ipv6 nd |
| 1330 | prefix-advertisement" with "ipv6 nd prefix". Rewrite syntax of |
| 1331 | "ipv6 nd prefix" command to allow various combinations of parameters |
| 1332 | and flags. No defaults in configuration. Replaced on-link and |
| 1333 | autoconfig with off-link and no-autoconfig flags in command syntax. |
| 1334 | Cosmetic fixes in all commands. Documentation to reflect all changes. |
| 1335 | |
paul | 19877dd | 2004-05-11 10:49:35 +0000 | [diff] [blame] | 1336 | 2004-05-11 Paul Jakma <paul@dishone.st> |
| 1337 | |
| 1338 | * Makefile.am: support for IOCTL_METHOD, as per Sowmini's patch. |
paul | 48a46fa | 2004-05-11 10:55:22 +0000 | [diff] [blame] | 1339 | * if_ioctl_solaris.c: Fixup some erroneous privilege changes and |
| 1340 | add privs.h header. |
| 1341 | * ioctl_solaris.c: ditto |
paul | c50ae8b | 2004-05-11 11:31:07 +0000 | [diff] [blame] | 1342 | * ioctl.h: Add if_ioctl_ipv6 prototype and AF_IOCTL for SOLARIS_IPV6 |
| 1343 | * kernel_socket.c: Fix SAROUNDUP, compiler doesnt like do..while |
| 1344 | RHS in assignments :) |
| 1345 | * redistribute.c: (zebra_interface_delete_update) only used |
| 1346 | if RTM_IFANNOUNCE and NETLINK is available. |
| 1347 | |
paul | b9df2d2 | 2004-05-09 09:09:59 +0000 | [diff] [blame] | 1348 | 2004-05-09 Paul Jakma <paul@dishone.st> |
| 1349 | |
| 1350 | * zserv.c: (zsend_route_multipath) Set the nexthop_num |
| 1351 | field correctly. Add NEXTHOP_TYPE_IPV6_IFNAME for v6. |
| 1352 | Conditionally set ZAPI_MESSAGE_METRIC flag - only for adds. |
| 1353 | (zsend_ipv4_add) cruft, deleted. |
| 1354 | (zsend_ipv4_delete) ditto. |
| 1355 | (zsend_ipv6_add) ditto. |
| 1356 | (zsend_ipv6_delete) ditto. |
paul | 44145db | 2004-05-09 11:00:23 +0000 | [diff] [blame] | 1357 | * ioctl.c: (if_get_mtu) set mtu6 to mtu |
| 1358 | * mtu_kvm.c: (if_kvm_get_mtu) set mtu6 to mtu |
| 1359 | * rt_netlink.c: (netlink_interface) set mtu6 to mtu |
| 1360 | (netlink_link_change) ditto |
paul | 66e9488 | 2004-05-09 17:19:24 +0000 | [diff] [blame] | 1361 | * ipforward_solaris.c: fix typo of ND variable. |
paul | 8842468 | 2004-05-09 18:21:35 +0000 | [diff] [blame] | 1362 | * if_ioctl_solaris.c: Add zprivs support. |
| 1363 | * ioctl_solaris.c: ditto. |
paul | 66e9488 | 2004-05-09 17:19:24 +0000 | [diff] [blame] | 1364 | |
paul | b9df2d2 | 2004-05-09 09:09:59 +0000 | [diff] [blame] | 1365 | 2004-05-09 Sowmini Varadhan <sowmini.varadhan@sun.com> |
| 1366 | |
| 1367 | * zserv.c: (zsend_ipv{4,6}_{add,delete}_multipath) collapsed |
| 1368 | into single zsend_route_multipath function. |
| 1369 | (zsend_interface_{up,down}) collapsed into zsend_interface_update. |
| 1370 | (zsend_interface_address_{add,delete}) collapsed into |
| 1371 | zsend_interface_address. |
| 1372 | (zsend_interface_add) send mtu6. |
| 1373 | (zsend_interface_delete) ditto. |
| 1374 | (zebra_write) remove unused function. |
| 1375 | (various) Apply static qualifier. Add comments. |
| 1376 | * zserv.h: Definitions changed as per above. |
| 1377 | * redistribute.c: Changes as per zserv.c. |
paul | 44145db | 2004-05-09 11:00:23 +0000 | [diff] [blame] | 1378 | * interface.c: (if_delete_update) only used with HAVE_NETLINK |
| 1379 | and RTM_IFANNOUNCE. |
| 1380 | (if_flag_dump_vty) Solaris IFF_IPV4 and IFF_IPV6 if flags |
| 1381 | (if_dump_vty) print mtu6 if not same as mtu |
paul | 8842468 | 2004-05-09 18:21:35 +0000 | [diff] [blame] | 1382 | * if_ioctl_solaris.c: New file, Solaris interface ioctl methods. |
| 1383 | * ioctl_solaris.c: New file, Common solaris ioctl methods. |
| 1384 | |
hasso | 34195bf | 2004-04-06 12:07:06 +0000 | [diff] [blame] | 1385 | 2004-04-06 Krzysztof Oledzki <oleq@ans.pl> |
| 1386 | |
| 1387 | * rt_netlink.c: Do not ignore metric when reading kernel routing |
| 1388 | table on Linux with rt_netlink interface. |
| 1389 | |
| 1390 | 2004-03-18 Hasso Tepper <hasso@estpak.ee> |
hasso | f1d92e1 | 2004-03-18 15:40:33 +0000 | [diff] [blame] | 1391 | |
| 1392 | * interface.c: Temporary fix for handling secondary addresses |
| 1393 | with label. |
| 1394 | |
hasso | 5590672 | 2004-02-11 22:42:16 +0000 | [diff] [blame] | 1395 | 2004-02-12 Hasso Tepper <hasso@estpak.ee> |
hasso | f1d92e1 | 2004-03-18 15:40:33 +0000 | [diff] [blame] | 1396 | |
hasso | 5590672 | 2004-02-11 22:42:16 +0000 | [diff] [blame] | 1397 | * zserv.c: Added "ipv6 forwarding" command. |
| 1398 | |
gdt | b27900b | 2004-01-08 15:44:29 +0000 | [diff] [blame] | 1399 | 2004-01-08 Greg Troxel <gdt@fnord.ir.bbn.com> |
| 1400 | |
| 1401 | * kernel_socket.c (kernel_read): Use sockaddr_storage in buffer |
| 1402 | for reading kernel messages to ensure enough space (necessary on |
| 1403 | Solaris due to sockaddr_dl being large). Thanks to Sowmini |
| 1404 | Varadhan for help with this change. |
| 1405 | |
gdt | 9ccabd1 | 2004-01-06 18:23:02 +0000 | [diff] [blame] | 1406 | 2004-01-06 Greg Troxel <gdt@t1.ir.bbn.com> |
| 1407 | |
| 1408 | * rtadv.c (rtadv_send_packet): Change perror to zlog_err. |
| 1409 | |
gdt | dbee01f | 2004-01-06 00:36:51 +0000 | [diff] [blame] | 1410 | 2004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com> |
gdt | 4bfbea8 | 2004-01-06 01:13:05 +0000 | [diff] [blame] | 1411 | * kernel_socket.c (ifm_read): Major cleanup. Use Sowmini's code |
| 1412 | to find the sockaddr_dl in all cases, narrowing the Solaris ifdef |
| 1413 | to just the accomodation of broken kernels. Check sockaddr_dl |
| 1414 | carefully up front, and later assume any non-NULL sdl pointer is |
| 1415 | valid. Clean up types and variable declarations, and rename |
| 1416 | WRAPUP to SAROUNDUP to make the name fit the behavior. |
| 1417 | |
| 1418 | 2004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com> |
gdt | dbee01f | 2004-01-06 00:36:51 +0000 | [diff] [blame] | 1419 | |
| 1420 | * kernel_socket.c (kernel_read): Add a sockaddr_dl to the ifmsg |
| 1421 | structure, because on Solaris sockaddr_dl is far larger than the |
| 1422 | base sockaddr structure. (The code had previously been failing to |
| 1423 | read all the data.) |
gdt | 4bfbea8 | 2004-01-06 01:13:05 +0000 | [diff] [blame] | 1424 | |
gdt | da26e3b | 2004-01-05 17:20:59 +0000 | [diff] [blame] | 1425 | 2004-01-05 Greg Troxel <gdt@ahi.ir.bbn.com> |
| 1426 | |
| 1427 | * kernel_socket.c (kernel_read): Look up interfaces by index |
| 1428 | first, so that state changes which do not include a sockaddr_dl |
| 1429 | now work. Add many sanity checks. In |
| 1430 | particular, do not assume that a sockaddr_dl follows a message |
| 1431 | without checking the ifm_addrs flags, and do not trust the length |
| 1432 | in a sockaddr_dl. Add/clarify many comments. |
| 1433 | |
gdt | 4b5e135 | 2003-12-03 17:54:34 +0000 | [diff] [blame] | 1434 | 2003-12-03 Greg Troxel <gdt@poblano.ir.bbn.com> |
| 1435 | |
| 1436 | * rtadv.c: reorder includes to avoid compiler warning (define |
| 1437 | structs before using them in prototypes) |
| 1438 | |
hasso | 647e4f1 | 2003-05-25 11:43:52 +0000 | [diff] [blame] | 1439 | 2003-05-25 Jim Crumpler <Jim.Crumpler@edion.com> |
| 1440 | |
| 1441 | * zserv.c: Add "ip forwarding" command. |
| 1442 | |
paul | 445f143 | 2003-05-16 19:00:31 +0000 | [diff] [blame] | 1443 | 2003-05-16 Gilad Arnold <gilad.arnold@terayon.com> |
| 1444 | |
| 1445 | * zebra_rib.c: Fix memory leaks for ifname nexthops |
| 1446 | |
| 1447 | 2003-04-19 Israel Keys <ikeys@agile.tv> |
| 1448 | |
| 1449 | * rt_netlink.c: BLOCK on netlink while initialising |
| 1450 | |
| 1451 | 2003-02-06 Francois Deppierraz <francois@ctrlaltdel.ch> |
| 1452 | |
| 1453 | * rt_netlink.c (netlink_route_multipath): Set RTM_F_EQUALIZE when |
| 1454 | it exists. |
| 1455 | |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 1456 | 2002-09-28 Akihiro Mizutani <mizutani@net-chef.net> |
| 1457 | |
| 1458 | * zebra_rib.c (static_add_ipv4): Null0 static route is added. |
| 1459 | |
| 1460 | 2002-09-10 Jochen Friedrich <chris+zebra@scram.de> |
| 1461 | |
| 1462 | * rt_netlink.c: Add check for EAGAIN. |
| 1463 | * kernel_socket.c: Likewise |
| 1464 | |
| 1465 | 2002-06-12 Israel Keys <ikeys@oz.agile.tv> |
| 1466 | |
| 1467 | * rt_netlink.c: Setting the NLM_F_ACK flag on the netlink command |
| 1468 | message so that we get an ACK for successful netlink commands. |
| 1469 | Change the netlink socket to BLOCKING while we wait for a |
| 1470 | response; be it an ACK or an NLMSG_ERROR. Change |
| 1471 | netlink_parse_info to deal with ACK messages. |
| 1472 | |
| 1473 | 2001-11-01 Jun-ichiro itojun Hagino <itojun@iijlab.net> |
| 1474 | |
| 1475 | * rtadv.c (rtadv_make_socket): setsockopt(IPV6_CHECKSUM) does not |
| 1476 | work for ICMPv6 socket. |
| 1477 | |
| 1478 | 2001-10-24 Kunihiro Ishiguro <kunihiro@ipinfusion.com> |
| 1479 | |
| 1480 | * rib.c (rib_process): Select connected route any case. |
| 1481 | |
| 1482 | 2001-10-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com> |
| 1483 | |
| 1484 | * interface.c (no_ip_address_secondary): Add "no" to command. |
| 1485 | |
| 1486 | 2001-10-18 NOGUCHI Kay <kay@v6.access.co.jp> |
| 1487 | |
| 1488 | * ioctl.c (if_prefix_add_ipv6): Set the prefered and valid lifetime |
| 1489 | to infinity as the freebsd4.4 workaroud. |
| 1490 | |
| 1491 | 2001-08-26 mihail.balikov@interbgc.com |
| 1492 | |
| 1493 | * zebra_snmp.c: Fix snmpwalk problem such as IPv4 address |
| 1494 | A.B.C.255. |
| 1495 | |
| 1496 | 2001-08-22 NOGUCHI Kay <kay@v6.access.co.jp> |
| 1497 | |
| 1498 | * rtadv.c: Do not send RA to loopback interface. |
| 1499 | |
| 1500 | 2001-08-20 Kunihiro Ishiguro <kunihiro@ipinfusion.com> |
| 1501 | |
| 1502 | * ioctl.c (if_set_prefix): Remove Linux 2.0 specific connected |
| 1503 | route treatment. |
| 1504 | |
| 1505 | 2001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com> |
| 1506 | |
| 1507 | * zebra-0.92a released. |
| 1508 | |
| 1509 | 2001-08-17 Kunihiro Ishiguro <kunihiro@ipinfusion.com> |
| 1510 | |
| 1511 | * rib.c: Kernel route is treated as EGP routes in nexthop active |
| 1512 | check. |
| 1513 | |
| 1514 | 2001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com> |
| 1515 | |
| 1516 | * zebra-0.92 released. |
| 1517 | |
| 1518 | 2001-08-08 "Akihiro Mizutani" <mizutani@dml.com> |
| 1519 | |
| 1520 | * rib.c (show_ip_route_prefix_longer): Add longer-prefix option to |
| 1521 | show route commands. |
| 1522 | |
| 1523 | 2001-07-29 Yon Uriarte <havanna_moon@gmx.net> |
| 1524 | |
| 1525 | * zserv.c (zsend_ipv4_add_multipath): Add |
| 1526 | NEXTHOP_TYPE_IPV4_IFINDEX check. |
| 1527 | |
| 1528 | 2001-07-29 NOGUCHI Kay <kay@v6.access.co.jp> |
| 1529 | |
| 1530 | * rtadv.c: Apply valid lifetime, preferred lifetime, onilnk flag, |
| 1531 | autonomous address-configuration flag patch. |
| 1532 | (no_ipv6_nd_suppress_ra): Change "ipv6 nd send-ra" to "no ipv6 nd |
| 1533 | suppress-ra". |
| 1534 | |
| 1535 | 2001-07-24 NOGUCHI Kay <kay@v6.access.co.jp> |
| 1536 | |
| 1537 | * rtadv.c (ipv6_nd_ra_interval): Add "ipv6 nd ra-interval SECONDS" |
| 1538 | command. |
| 1539 | |
| 1540 | 2001-07-24 Jun-ichiro itojun Hagino <itojun@iijlab.net> |
| 1541 | |
| 1542 | * rt_socket.c (kernel_rtm_ipv4): Add KAME/NetBSD151 equal cost |
| 1543 | multicast FIB support both IPv4 and IPv6. |
| 1544 | |
| 1545 | 2001-07-24 Hal Snyder <hal@vailsys.com> |
| 1546 | |
| 1547 | * if_ioctl.c (interface_list_ioctl): Fix bug of failing to get the |
| 1548 | full list of interfaces on some configurations of OpenBSD. |
| 1549 | |
| 1550 | 2001-07-23 NOGUCHI Kay <kay@v6.access.co.jp> |
| 1551 | |
| 1552 | * rtadv.c (ipv6_nd_send_ra): Apply [zebra 9320] to fix "ipv6 nd |
| 1553 | send-ra" bug. |
| 1554 | (ipv6_nd_ra_lifetime): "ipv6 nd ra-lifetime 0" for default router |
| 1555 | availability. |
| 1556 | (ipv6_nd_managed_config_flag): "ipv6 nd managed-config-flag" is |
| 1557 | added. |
| 1558 | (ipv6_nd_other_config_flag): "ipv6 nd other-config-flag" is added. |
| 1559 | |
| 1560 | 2001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net> |
| 1561 | |
| 1562 | * ioctl.c (if_ioctl): Change ioctl argument from int to u_long. |
| 1563 | |
| 1564 | * rt_ioctl.c: Likewise. |
| 1565 | |
| 1566 | 2001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net> |
| 1567 | |
| 1568 | * kernel_socket.c (rtm_write): Only set RTF_CLONING when the |
| 1569 | interface is not p2p. |
| 1570 | |
| 1571 | 2001-04-23 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 1572 | |
| 1573 | * ioctl.c (if_prefix_add_ipv6): Fix argument type. |
| 1574 | |
| 1575 | 2001-04-06 Toshiaki Takada <takada@zebra.org> |
| 1576 | |
| 1577 | * zserv.c (zsend_interface_delete): Use client->obuf instead of |
| 1578 | allocating new stream. |
| 1579 | |
| 1580 | 2001-03-10 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 1581 | |
| 1582 | * rt_netlink.c: Revert RTPROT_BOOT change. |
| 1583 | |
| 1584 | 2001-03-08 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 1585 | |
| 1586 | * rt_netlink.c (netlink_route_change): Skip RTPROT_BOOT route. |
| 1587 | (netlink_routing_table): Likewise. |
| 1588 | |
| 1589 | 2001-03-07 "Akihiro Mizutani" <mizutani@dml.com> |
| 1590 | |
| 1591 | * zserv.c (zsend_ipv4_add_multipath): Send metric value to |
| 1592 | protocol daemons. |
| 1593 | |
| 1594 | 2001-02-18 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 1595 | |
| 1596 | * rt_netlink.c (netlink_routing_table): Do not return |
| 1597 | tb[RTA_GATEWAY] is NULL. Reported by: "Michael O'Keefe" |
| 1598 | <mokeefe@qualcomm.com>. |
| 1599 | |
| 1600 | 2001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 1601 | |
| 1602 | * if_ioctl.c (interface_list_ioctl): Call if_add_update(). |
| 1603 | Suggested by: Chris Dunlop <chris@onthe.net.au>. |
| 1604 | |
| 1605 | 2001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 1606 | |
| 1607 | * rib.c (nexthop_active_ipv4): When nexthop type is |
| 1608 | NEXTHOP_TYPE_IPV4_IFINDEX, propery set the ifindex to rifindex. |
| 1609 | |
| 1610 | * zserv.c: Initialize rtm_table_default with 0. |
| 1611 | |
| 1612 | * zebra-0.91 is released. |
| 1613 | |
| 1614 | 2001-01-31 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 1615 | |
| 1616 | * kernel_socket.c (rtm_read): Filter cloned route. Suggested by: |
| 1617 | Jun-ichiro itojun Hagino <itojun@iijlab.net> |
| 1618 | |
| 1619 | 2001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 1620 | |
| 1621 | * connected.c (connected_up_ipv6): When point-to-point destination |
| 1622 | address is ::, use local address for connected network. |
| 1623 | (connected_down_ipv6): Likewise. |
| 1624 | |
| 1625 | 2001-01-25 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 1626 | |
| 1627 | * zserv.c (zebra_serv): Add missing close() call. Reported by: |
| 1628 | David Waitzman <djw@vineyard.net>. |
| 1629 | |
| 1630 | 2001-01-24 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 1631 | |
| 1632 | * rib.c (rib_lookup_ipv4): New function for checking exact match |
| 1633 | IGP route. |
| 1634 | |
| 1635 | 2001-01-23 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 1636 | |
| 1637 | * rib.c (show_ipv6_route_protocol): Fix bug of "show ip route |
| 1638 | route-type". |
| 1639 | |
| 1640 | 2001-01-22 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 1641 | |
| 1642 | * interface.c (zebra_interface): Do not call |
| 1643 | zebra_interface_add_update for inactive interface. |
| 1644 | |
| 1645 | * zserv.c (zsend_interface_address_add): Send interface address |
| 1646 | flag. |
| 1647 | (zsend_interface_address_delete): Likewise. |
| 1648 | |
| 1649 | 2001-01-19 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 1650 | |
| 1651 | * interface.c (if_addr_add): Add flags. |
| 1652 | |
| 1653 | * connected.c (ifa_add_ipv4): Add new function for interface |
| 1654 | address handling. |
| 1655 | (ifa_delete_ipv4): Likewise. |
| 1656 | |
| 1657 | 2001-01-16 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 1658 | |
| 1659 | * rib.c (rib_update): Update IPv6 RIB. |
| 1660 | |
| 1661 | * kernel_socket.c (ifam_read): Call if_refresh() for update |
| 1662 | interface flag status. This is for implicit interface up on *BSD. |
| 1663 | |
| 1664 | * interface.c (if_refresh): Add interface flag refresh function. |
| 1665 | |
| 1666 | * kernel_socket.c (rtm_read): Fetch link-local address interface |
| 1667 | index. |
| 1668 | (ifan_read): We need to fetch interface information. Suggested |
| 1669 | by: Yasuhiro Ohara <yasu@sfc.wide.ad.jp>. |
| 1670 | |
| 1671 | * rib.c (static_ipv6_nexthop_same): Add check for |
| 1672 | NEXTHOP_TYPE_IPV6_IFNAME. |
| 1673 | |
| 1674 | 2001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 1675 | |
| 1676 | * rib.h (NEW_RIB): Turn on NEW_RIB flag. IPv6 new RIB code are |
| 1677 | taken into place. |
| 1678 | |
| 1679 | 2001-01-14 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 1680 | |
| 1681 | * rib.c (static_ipv6_write): Display STATIC_IPV6_GATEWAY_IFNAME |
| 1682 | configuration. |
| 1683 | (rib_delete_ipv6): Handle same route conter for IPv6 connected |
| 1684 | route. |
| 1685 | (show_ipv6_route_protocol): New command. |
| 1686 | (show_ipv6_route_addr): Likewise. |
| 1687 | (show_ipv6_route_prefix): Likewise. |
| 1688 | (rib_update): Sweep kernel route when it is cleaned up. |
| 1689 | |
| 1690 | * rt_socket.c (kernel_add_ipv6): Add NEXTHOP_IPV6_IFNAME |
| 1691 | treatmenet. |
| 1692 | |
| 1693 | * rt_netlink.c (kernel_init): Likewise. |
| 1694 | |
| 1695 | * rt_ioctl.c (kernel_ioctl_ipv6_multipath): Likewise. |
| 1696 | |
| 1697 | * rib.c (rib_add_ipv4): Cope with same connected route on a |
| 1698 | interface. Suggested by: Matthew Grant <grantma@anathoth.gen.nz>. |
| 1699 | (nexthop_ipv6_ifname_add): Add NEXTHOP_IPV6_IFNAME treatmenet. |
| 1700 | |
| 1701 | * rib.h (struct new_rib): Add refcnt to keep track on the |
| 1702 | reference of same connected route. |
| 1703 | |
| 1704 | * ioctl.c (if_set_prefix): Add check for GNU_LINUX. |
| 1705 | |
| 1706 | 2001-01-13 Yasuhiro Ohara <yasu@sfc.wide.ad.jp> |
| 1707 | |
| 1708 | * kernel_socket.c (ifan_read, rtm_type_str): Add RTM_OIFINFO check. |
| 1709 | (rtm_type_str): Add RTM_IFANNOUNCE check. |
| 1710 | (ifan_read): New function. |
| 1711 | (kernel_read): Add case for RTM_IFANNOUNCE. |
| 1712 | |
| 1713 | 2001-01-13 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 1714 | |
| 1715 | * rt_ioctl.c (kernel_ioctl_ipv6_multipath): New function. |
| 1716 | |
| 1717 | * rt_netlink.c (netlink_route_multipath): IPv6 address ifindex |
| 1718 | treatment. |
| 1719 | |
| 1720 | * connected.c (connected_up_ipv6): Add dest value check. |
| 1721 | |
| 1722 | * rib.c (nexthop_active_ipv6): Do not touch IPv6 nexthop's |
| 1723 | ifindex. |
| 1724 | (rib_add_ipv4): Import rib_add_ipv6() same route check code. |
| 1725 | (nexthop_active_check): NEXTHOP_TYPE_IPV6_IFINDEX activity is only |
| 1726 | checked by ifindex. |
| 1727 | |
| 1728 | * rt_socket.c (kernel_rtm_ipv6_multipath): New function. |
| 1729 | |
| 1730 | * redistribute.c (redistribute_add): Use |
| 1731 | zsend_ipv6_add_multipath(). |
| 1732 | (redistribute_delete_multipath): Use |
| 1733 | zsend_ipv6_delete_multipath(). |
| 1734 | |
| 1735 | * interface.c (ip_address): Check current IP address to avoid |
| 1736 | duplicate. |
| 1737 | |
| 1738 | * rib.c (rib_delete_ipv4): When deleted route is connected route, |
| 1739 | check ifindex. |
| 1740 | (rib_add_ipv4): When connected route is added do not perform |
| 1741 | implicit withdraw. |
| 1742 | (rib_delete_ipv4): Check ifindex for connected route. |
| 1743 | |
| 1744 | * kernel_socket.c (rtm_read): When route has RTF_STATIC, set |
| 1745 | ZEBRA_FLAG_STATIC for indicate as persistent route. |
| 1746 | (ifam_read): Unset interface index from link-local address when |
| 1747 | IPv6 stack is KAME. |
| 1748 | |
| 1749 | * rib.c (rib_update): Do not delete persistent kernel route. |
| 1750 | |
| 1751 | * rib.h (struct new_rib): Integrate RIB_FLAG_* to ZEBRA_FLAG_*. |
| 1752 | |
| 1753 | * rt_socket.c (kernel_add_ipv6_multipath): Add placeholder. |
| 1754 | (kernel_delete_ipv6_multipath): Likewise. |
| 1755 | |
| 1756 | * rt_netlink.c (netlink_talk): Give struct nlsock to netlink_talk. |
| 1757 | |
| 1758 | 2001-01-12 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 1759 | |
| 1760 | * rib.c (rib_update): Revert Matthew Grant's patch |
| 1761 | zebra_cvs_newribfix.patch. Use struct rib->ifindex for kernel |
| 1762 | interface index. Introduce NEXTHOP_TYPE_IPV4_IFINDEX to support |
| 1763 | that. Add support for address deletion situation. |
| 1764 | |
| 1765 | 2001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 1766 | |
| 1767 | * interface.c: Remove HAVE_IF_PSEUDO part. |
| 1768 | |
| 1769 | * rib.h: Likewise. |
| 1770 | |
| 1771 | * rt_netlink.c (netlink_link_change): Likewise. |
| 1772 | |
| 1773 | 2001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 1774 | |
| 1775 | * zserv.c: Remove OLD_RIB codes. |
| 1776 | |
| 1777 | 2001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 1778 | |
| 1779 | * zebra-0.90 is released. |
| 1780 | |
| 1781 | 2001-01-09 Matthew Grant <grantma@anathoth.gen.nz> |
| 1782 | |
| 1783 | * interface.c (if_new_intern_ifindex): Allocate a new internal |
| 1784 | interface index. |
| 1785 | (if_addr_refresh): Fix up ip addresses configured via zebra. |
| 1786 | (if_add_update): Handle an interface addition. |
| 1787 | (if_delete_update): Handle an interface delete event. |
| 1788 | |
| 1789 | * rib.c (nexthop_ipv4_add): Add kernel route deletion process when |
| 1790 | interface goes down. |
| 1791 | |
| 1792 | 2001-01-08 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 1793 | |
| 1794 | * interface.c (if_dump_vty): When HAVE_NET_RT_IFLIST is defined, |
| 1795 | NetBSD also use this function. Suggested by Jasper Wallace |
| 1796 | <jasper@ivision.co.uk>. |
| 1797 | |
| 1798 | 2001-01-07 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 1799 | |
| 1800 | * rib.c (nexthop_active_ipv4): Move back to set methodo to old |
| 1801 | one. |
| 1802 | |
| 1803 | 2001-01-05 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 1804 | |
| 1805 | * rib.c (rib_add_ipv4): EBGP multihop set ZEBRA_FLAG_INTERNAL |
| 1806 | flag, so treat it. |
| 1807 | |
| 1808 | 2001-01-04 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 1809 | |
| 1810 | * rt_netlink.c (netlink_talk_ipv6): When IPv6 route message is |
| 1811 | sent from netlink_cmd, the same message comes from netlink. To |
| 1812 | avoid confusion, temporary netlink_talk_ipv6 use netlink.sock |
| 1813 | instead of netlink_cmd.sock. |
| 1814 | |
| 1815 | 2001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 1816 | |
| 1817 | * zserv.h (ZEBRA_SERV_PATH): Change "/tmp/zebra" to "/tmp/.zebra". |
| 1818 | Change "/tmp/zserv" to "/tmp/.zserv". |
| 1819 | |
| 1820 | 2000-12-29 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net> |
| 1821 | |
| 1822 | * rt_netlink.c (struct nlsock): Divide kernel message into listen |
| 1823 | socket and command socket. |
| 1824 | (netlink_talk): Remove socket listen code. Use netlink_parse_info |
| 1825 | for read kernel response. |
| 1826 | |
| 1827 | 2000-12-29 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 1828 | |
| 1829 | * rib.c (vty_show_ip_route): Show uptime of the RIP,OSPF,BGP |
| 1830 | routes. |
| 1831 | |
| 1832 | 2000-12-27 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 1833 | |
| 1834 | * rt_netlink.c (netlink_route_multipath): Metric value is |
| 1835 | reflected to kernel routing table. |
| 1836 | |
| 1837 | * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Likewise. |
| 1838 | |
| 1839 | * kernel_socket.c (rtm_write): Likewise. |
| 1840 | |
| 1841 | * rib.c (nexthop_active_ipv4): Only iBGP route perform recursive |
| 1842 | nexthop lookup. |
| 1843 | |
| 1844 | * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Add ioctl version of |
| 1845 | new RIB implementation. |
| 1846 | |
| 1847 | 2000-12-26 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 1848 | |
| 1849 | * rib.h: Remove MULTIPATH_NUM. It is defined by configure script. |
| 1850 | |
| 1851 | 2000-12-25 Michael Rozhavsky <mrozhavsky@opticalaccess.com> |
| 1852 | |
| 1853 | * rib.c (rib_if_up): Call rib_fib_set instead of RIB_FIB_SET for |
| 1854 | proper redistribution. |
| 1855 | |
| 1856 | 2000-12-19 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 1857 | |
| 1858 | * rib.c (nexthop_active_ipv4): Add self lookup nexthop check. |
| 1859 | (show_ip_route_protocol): Support new RIB. |
| 1860 | |
| 1861 | * rt_netlink.c (netlink_route_change): Do not return when gate is |
| 1862 | NULL. |
| 1863 | |
| 1864 | 2000-12-18 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 1865 | |
| 1866 | * rib.c (rib_lookup_ipv4_nexthop): IBGP nexthop check function is |
| 1867 | updated. |
| 1868 | (rib_add_ipv4): Free implicit withdraw route's RIB. |
| 1869 | |
| 1870 | 2000-12-15 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 1871 | |
| 1872 | * rib.c (nexthop_active_ipv4): Check indirect nexthop. |
| 1873 | |
| 1874 | * redistribute.c (redistribute_add_multipath): Redistribution |
| 1875 | works with new rib code. |
| 1876 | |
| 1877 | 2000-12-14 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 1878 | |
| 1879 | * rt_netlink.c (netlink_route_multipath): Check useful nexthop |
| 1880 | number. |
| 1881 | (netlink_route_multipath): Clear rtnh_flags and rtnh_hops. |
| 1882 | |
| 1883 | * rib.c (nexthop_active_update): Set flag for the rib's nexthop |
| 1884 | activity is changed. |
| 1885 | (nexthop_active_check): Before checking interface is up, make it |
| 1886 | sure the interface exist. |
| 1887 | |
| 1888 | 2000-11-20 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 1889 | |
| 1890 | * rib.c (ip_route): New RIB prototype. |
| 1891 | |
| 1892 | 2000-11-16 Yon Uriarte <ukl2@rz.uni-karlsruhe.de> |
| 1893 | |
| 1894 | * zserv.c (zsend_interface_add): Send hardware address when |
| 1895 | hw_addr_len is greater than 0. |
| 1896 | |
| 1897 | 2000-11-07 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 1898 | |
| 1899 | * connected.c (connected_up_ipv4): Fix ptop bug. The destination |
| 1900 | network should be installed into routing table. |
| 1901 | (connected_down_ipv4): Likewise. |
| 1902 | (connected_add_ipv4): Change to use connected_up_ipv4. |
| 1903 | (connected_delete_ipv4): Likewise. |
| 1904 | |
| 1905 | 2000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 1906 | |
| 1907 | * rt_netlink.c (netlink_interface_addr): Revert Harald Welte |
| 1908 | <laforge@gnumonks.org>'s ptop patch then back to original code to |
| 1909 | avoid duplicated connected route problem. Suggested by Frank van |
| 1910 | Maarseveen <F.vanMaarseveen@inter.NL.net>. |
| 1911 | |
| 1912 | * kernel_socket.c (rtm_read): Make behavior consistent even #ifdef |
| 1913 | DEBUG is defined. Reported by Jun-ichiro itojun Hagino |
| 1914 | <itojun@iijlab.net>. |
| 1915 | |
| 1916 | 2000-10-23 Jochen Friedrich <jochen@scram.de> |
| 1917 | |
| 1918 | * main.c (main): Call zebra_snmp_init() when it is enabled. |
| 1919 | |
| 1920 | 2000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 1921 | |
| 1922 | * zserv.c (zebra_serv_un): UNIX domain socket server of zebra |
| 1923 | protocol. |
| 1924 | |
| 1925 | 2000-10-19 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 1926 | |
| 1927 | * rib.c (rib_add_ipv4): Same check bug is fixed. |
| 1928 | |
| 1929 | 2000-10-03 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 1930 | |
| 1931 | * rib.c (rib_if_down): Remove kernel route when the interface goes |
| 1932 | down. |
| 1933 | |
| 1934 | * debug.c: New command "debug zebra kernel" is added. |
| 1935 | |
| 1936 | 2000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 1937 | |
| 1938 | * zebra-0.89 is released. |
| 1939 | |
| 1940 | 2000-09-24 Harald Welte <laforge@gnumonks.org> |
| 1941 | |
| 1942 | * rt_netlink.c (netlink_interface_addr): Fix point-to-point address |
| 1943 | treatment in netlink interface. |
| 1944 | |
| 1945 | 2000-09-21 David Lipovkov <dlipovkov@OpticalAccess.com> |
| 1946 | |
| 1947 | * rib.c (rib_if_down): Pull static route only. Protocol daemon |
| 1948 | must withdraw routes when interface goes down. |
| 1949 | (rib_add_ipv4): Check nexthop when replace route. |
| 1950 | |
| 1951 | 2000-09-21 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 1952 | |
| 1953 | * if_ioctl.c (if_getaddrs): New function for looking up |
| 1954 | interface's address by getifaddrs(). |
| 1955 | |
| 1956 | 2000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 1957 | |
| 1958 | * connected.c (connected_delete_ipv4): Add check for connected |
| 1959 | address is found or not. |
| 1960 | (connected_add_ipv6): Reflect IPv6 connected address change to |
| 1961 | protocol daemons. |
| 1962 | (connected_delete_ipv6): Likewise. |
| 1963 | |
| 1964 | 2000-09-07 David Lipovkov <davidl@nbase.co.il> |
| 1965 | |
| 1966 | * rib.c (rib_delete_ipv4): Reverted the change from pseudo |
| 1967 | interface patch to original. Because ospfd deletes routes using |
| 1968 | zero ifindex. |
| 1969 | |
| 1970 | 2000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 1971 | |
| 1972 | * zebra-0.88 is released. |
| 1973 | |
| 1974 | 2000-08-15 "Akihiro Mizutani" <mizutani@dml.com> |
| 1975 | |
| 1976 | * rib.c (show_ip_route_protocol): Help string correction. |
| 1977 | (show_ip_route_prefix): Check prefix mask. |
| 1978 | (show_ip_route_vty_detail): Display distance and metric. |
| 1979 | |
| 1980 | 2000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 1981 | |
| 1982 | * zserv.c (zsend_interface_add): Change ifindex store size from |
| 1983 | two octet to four. |
| 1984 | (zsend_interface_delete): Likewise. |
| 1985 | (zsend_interface_address_add): Likewise. |
| 1986 | (zsend_interface_address_delete): Likewise. |
| 1987 | (zsend_interface_up): Likewise. |
| 1988 | (zsend_interface_down): Likewise. |
| 1989 | |
| 1990 | 2000-08-13 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 1991 | |
| 1992 | * rib.c (rib_add_ipv4): Do not install distance 255 route. |
| 1993 | |
| 1994 | 2000-08-10 Toshiaki Takada <takada@zebra.org> |
| 1995 | |
| 1996 | * interface.c (bandwidth_if), (no_bandwidth_if): Call |
| 1997 | zebra_interface_up_update () instead of using if_up() and if_down(). |
| 1998 | |
| 1999 | 2000-08-07 "Akihiro Mizutani" <mizutani@dml.com> |
| 2000 | |
| 2001 | * interface.c (bandwidth_if): Fix help string. |
| 2002 | |
| 2003 | 2000-08-07 Matthew Grant <grantma@anathoth.gen.nz> |
| 2004 | |
| 2005 | * interface.c (if_dump_vty): Display bandwidth value. |
| 2006 | (bandwidth_if): New command "bandwidth <1-10000000>" is added. |
| 2007 | When interface is up, force protocol daemons to recalculate routes |
| 2008 | due to cost change. |
| 2009 | (no_bandwidth_if): Likewise. |
| 2010 | (if_config_write): Output bandwidth configuration. |
| 2011 | |
| 2012 | * zserv.c (zsend_interface_add): Send bandwidth value. |
| 2013 | (zsend_interface_up): Likewise. |
| 2014 | (zsend_interface_down): Likewise. |
| 2015 | |
| 2016 | |
| 2017 | 2000-08-07 Michael Rozhavsky <mike@nbase.co.il> |
| 2018 | |
| 2019 | * rib.c (show_ip_route_protocol): "show ip route |
| 2020 | (bgp|connected|kernel|ospf|rip|static)" is added. |
| 2021 | |
| 2022 | 2000-08-07 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2023 | |
| 2024 | * rib.c (rib_lookup_ipv4_nexthop): Check parent node until IGP |
| 2025 | nexthop is found. |
| 2026 | (rib_add_ipv4_internal): Set fib ifindex to rib ifindex. |
| 2027 | |
| 2028 | 2000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2029 | |
| 2030 | * redistribute.c (redistribute_delete): Fix bug of default route |
| 2031 | redistribute treatment. |
| 2032 | |
| 2033 | 2000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2034 | |
| 2035 | * rib.c (rib_init): Install ip_node in rib.c instead of zserv.c. |
| 2036 | Change default distance value. |
| 2037 | |
| 2038 | Old New |
| 2039 | ------------------------------------------ |
| 2040 | system 10 0 |
| 2041 | kernel 20 0 |
| 2042 | connected 30 0 |
| 2043 | static 40 1 |
| 2044 | rip 50 120 |
| 2045 | ripng 50 120 |
| 2046 | ospf 60 110 |
| 2047 | ospf6 49 110 |
| 2048 | bgp 70 200(iBGP) 20(eBGP) |
| 2049 | ------------------------------------------ |
| 2050 | |
| 2051 | * zserv.c (client_lookup): Function removed. |
| 2052 | (zsend_interface_add): Use client's output buffer. Check ifinfo |
| 2053 | flag. |
| 2054 | (zsend_interface_delete): Likewise. |
| 2055 | Delete ipv4_static_radix and ipv6_static_radix. |
| 2056 | |
| 2057 | 2000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2058 | |
| 2059 | * zserv.h (struct zebra_client): When client request interface |
| 2060 | information, ifinfo is set. |
| 2061 | |
| 2062 | * rib.c: Temporary Revert changes for pseudo interface. |
| 2063 | |
| 2064 | * rib.h: Likewise. |
| 2065 | |
| 2066 | * zserv.c: Likewise. |
| 2067 | |
| 2068 | * interface.c: Likewise. |
| 2069 | |
| 2070 | 2000-08-02 David Lipovkov <davidl@nbase.co.il> |
| 2071 | |
| 2072 | * interface.c (zebra_if_init): Install interface "pseudo" |
| 2073 | commands. |
| 2074 | |
| 2075 | * rib.c (rib_create): ifname argument is added. |
| 2076 | (rib_add_ipv4_pseudo): New function is added. |
| 2077 | (rib_delete_ipv4_pseudo): Likewise. |
| 2078 | |
| 2079 | * rib.h : Delete INTERFACE_UNKNOWN definition. Add prototype for |
| 2080 | pseudo interface functions. |
| 2081 | |
| 2082 | * rt_netlink.c (netlink_link_change): Check for pseudo interface. |
| 2083 | |
| 2084 | * zserv.c (ip_route): When destination is pseudo interface, call |
| 2085 | rib_add_ipv4_pseudo(). |
| 2086 | |
| 2087 | * zserv.c (no_ip_route): Trim "unknown" argument. |
| 2088 | |
| 2089 | 2000-07-26 kunitake@dti.ad.jp |
| 2090 | |
| 2091 | * if_ioctl.c (if_get_hwaddr): Fix hardware address length from 8 |
| 2092 | to 6. |
| 2093 | |
| 2094 | * rtadv.c (rtadv_send_packet): Fix shift bug for hardware address. |
| 2095 | |
| 2096 | 2000-07-24 Akihiro Mizutani <mizutani@dml.com> |
| 2097 | |
| 2098 | * interface.c: Use install_default() for common VTY commands. |
| 2099 | |
| 2100 | 2000-07-23 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2101 | |
| 2102 | * if_ioctl.c (interface_list_ioctl): A interface list size is |
| 2103 | calculated from ifreq->if_addr.sa_len. This is for OpenBSD. |
| 2104 | |
| 2105 | * ioctl.c (if_get_mtu): Remove codes for SIOCGIFDATA. |
| 2106 | |
| 2107 | 2000-07-09 Chris Dunlop <chris@onthe.net.au> |
| 2108 | |
| 2109 | * if_ioctl.c (if_get_index): Add check for HAVE_BROKEN_ALIASES. |
| 2110 | |
| 2111 | 2000-07-04 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2112 | |
| 2113 | * zserv.c (zebra_client_read): Add ZEBRA_REDISTRIBUTE_{ADD,DELETE} |
| 2114 | message handling. |
| 2115 | |
| 2116 | 2000-07-02 David Lipovkov <davidl@nbase.co.il> |
| 2117 | |
| 2118 | * zserv.c: "ip route A.B.C.D/M unknown" command is added. |
| 2119 | |
| 2120 | 2000-06-28 Michael Rozhavsky <mike@nbase.co.il> |
| 2121 | |
| 2122 | * rib.c: Remove old kernel route when new route comes in. |
| 2123 | |
| 2124 | 2000-06-13 David Lipovkov <davidl@nbase.co.il> |
| 2125 | |
| 2126 | * rib.c (rib_if_up): Add check for unknown interface. |
| 2127 | |
| 2128 | 2000-06-13 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2129 | |
| 2130 | * rib.h: Define INTERFACE_UNKNOWN. |
| 2131 | |
| 2132 | 2000-06-08 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2133 | |
| 2134 | * Makefile.am (EXTRA_DIST): Move irdp.c until implementation is |
| 2135 | finished. |
| 2136 | |
| 2137 | 2000-06-05 David Lipovkov <davidl@nbase.co.il> |
| 2138 | |
| 2139 | * interface.c (if_zebra_delete_hook): Call rib_if_delete(). |
| 2140 | |
| 2141 | * redistribute.c (zebra_interface_delete_update): New function. |
| 2142 | |
| 2143 | * redistribute.h (zebra_interface_delete_update): New function |
| 2144 | prototype. |
| 2145 | |
| 2146 | * rib.c (rib_if_delete): New function. Walk down all routes and |
| 2147 | delete all on the interface. |
| 2148 | |
| 2149 | * rib.h: New function prototype. |
| 2150 | |
| 2151 | * rt_netlink.c (netlink_link_change): Call |
| 2152 | zebra_interface_delete_update (). |
| 2153 | |
| 2154 | 2000-05-10 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2155 | |
| 2156 | * if_ioctl.c (interface_info_ioctl): Check interface's flag before |
| 2157 | checking interface's address. |
| 2158 | |
| 2159 | 2000-04-26 Jochen Friedrich <jochen@nwe.de> |
| 2160 | |
| 2161 | * GNOME-PRODUCT-ZEBRA-MIB: New file. |
| 2162 | |
| 2163 | * GNOME-SMI: New file. |
| 2164 | |
| 2165 | 2000-04-23 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2166 | |
| 2167 | * irdp.c: New file from 1997 development code. |
| 2168 | * irdp.h: Likewise. |
| 2169 | |
| 2170 | 2000-04-19 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2171 | |
| 2172 | * rtadv.c (rtadv_send_packet): Enclose router advertisement |
| 2173 | logging with IS_ZEBRA_DEBUG_PACKET. |
| 2174 | |
| 2175 | 2000-04-17 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2176 | |
| 2177 | * zserv.c (zebra_client_close): Remove client structure from |
| 2178 | client_list when connection is terminated. |
| 2179 | |
| 2180 | 2000-03-21 David Lipovkov <davidl@nbase.co.il> |
| 2181 | |
| 2182 | * connected.c (connected_add_ipv4): Allows all necessary structure |
| 2183 | updates for connected route, but doesn't insert it into rib if |
| 2184 | it's interface is down. |
| 2185 | |
| 2186 | 2000-01-21 Hideto Yamakawa <hideto.yamakawa@soliton.co.jp> |
| 2187 | |
| 2188 | * rtread_getmsg.c: Set some definition for Solaris 2.5 and Solaris |
| 2189 | 2.5.1. |
| 2190 | |
| 2191 | 2000-01-21 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2192 | |
| 2193 | * rib.c (no_ipv6_route_ifname): Fix buf of cheking return value |
| 2194 | from str2prefix_ipv6(). |
| 2195 | |
| 2196 | 2000-01-14 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2197 | |
| 2198 | * rt_socket.c: Revert to use RTF_HOST for IPv4 with /32 route and |
| 2199 | IPv6 with /128 routes. |
| 2200 | (kernel_rtm_ipv4): In case of /32 route's gateway is interface. It |
| 2201 | should have mask for cloning. |
| 2202 | |
| 2203 | 1999-12-26 Jochen.Friedrich@genorz.de |
| 2204 | |
| 2205 | * interface.c (if_dump_vty): Fix a bug of missing VTY_NEWLINE. |
| 2206 | |
| 2207 | 1999-12-23 Alex Zinin <zinin@amt.ru> |
| 2208 | * interface.*: dynamic int up/down support |
| 2209 | |
| 2210 | 1999-12-09 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2211 | |
| 2212 | * ipforward_proc.c (dropline): Move dropline() from lib/dropline.c |
| 2213 | |
| 2214 | * rtread_proc.c (proc_route_read): Don't use dropline(). |
| 2215 | |
| 2216 | 1999-12-08 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2217 | |
| 2218 | * kernel_socket.c (rtm_read): When message is RTM_GET, it has own |
| 2219 | process's pid. |
| 2220 | |
| 2221 | 1999-12-04 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2222 | |
| 2223 | * main.c (main): Change to default log output to ZLOG_STDOUT. |
| 2224 | |
| 2225 | * zserv.c (zebra_serv): More detailed error print. |
| 2226 | |
| 2227 | 1999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2228 | |
| 2229 | * kernel_socket.c (rtm_read): Check old pid for static route |
| 2230 | insertion check. |
| 2231 | |
| 2232 | 1999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2233 | |
| 2234 | * interface.c (if_dump_vty): BSDI/OS uses 64bit for interface |
| 2235 | statistics counter. |
| 2236 | |
| 2237 | * mtu_kvm.c: New file added. |
| 2238 | |
| 2239 | 1999-11-27 Vladimir B. Grebenschikov <vova@express.ru> |
| 2240 | |
| 2241 | * kernel_socket.c (rtm_write): Set RTF_CLONING flag for |
| 2242 | route to the directly connected interface. |
| 2243 | |
| 2244 | 1999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2245 | |
| 2246 | * rt_socket.c: Delete USE_HOST_BIT definition. |
| 2247 | |
| 2248 | 1999-11-21 Michael Handler <handler@sub-rosa.com> |
| 2249 | |
| 2250 | * rtread_getmsg.c: Undef some definition to resolve conflict. |
| 2251 | |
| 2252 | 1999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2253 | |
| 2254 | * kernel_socket.c (rtm_write): Change to use pre stored struct_dl |
| 2255 | value for gateway specification. |
| 2256 | |
| 2257 | 1999-11-25 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2258 | |
| 2259 | * rt_socket.c (kernel_rtm_ipv4): Even mask is 32 under IPv4 or |
| 2260 | 128 under IPv6, don't use RTF_HOST. |
| 2261 | |
| 2262 | 1999-11-21 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2263 | |
| 2264 | * Makefile.am (EXTRA_DIST): Add rtread_getmsg.c. |
| 2265 | |
| 2266 | 1999-11-21 Michael Handler <handler@sub-rosa.com> |
| 2267 | |
| 2268 | * rtread_getmsg.c: Added for Solaris 2.6 support. |
| 2269 | |
| 2270 | 1999-11-18 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2271 | |
| 2272 | * rtread_sysctl.c (rtm_read_route): RTM_DELETE handling added. |
| 2273 | |
| 2274 | * rt_socket.c (kernel_read): Better BSD routing socket support. |
| 2275 | |
| 2276 | 1999-10-19 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2277 | |
| 2278 | * client_main.c: Disable making obsolete zebra test `client' |
| 2279 | command. |
| 2280 | |
| 2281 | 1999-10-18 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2282 | |
| 2283 | * zebra.c: Renamed to zserv.c. |
| 2284 | |
| 2285 | * zebra.h: Global definitions are moved to lib/zebra.h. Then |
| 2286 | renamed to zserv.h. |
| 2287 | |
| 2288 | 1999-10-15 Jordan Mendelson <jordy@wserv.com> |
| 2289 | |
| 2290 | * if_ioctl.c: Add Linux 2.2.X's alias support and dynamic |
| 2291 | interface. Remove ugly MAX_INTERFACE handling codes. |
| 2292 | |
| 2293 | 1999-09-17 Satosi KOBAYASI <kobayasi@north.ad.jp> |
| 2294 | |
| 2295 | * Fix serious bug of IPv6 route deletion. |
| 2296 | |
| 2297 | 1999-09-11 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2298 | |
| 2299 | * ioctl.c (if_set_prefix): Properly set broadcast address. |
| 2300 | |
| 2301 | 1999-09-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp> |
| 2302 | |
| 2303 | * rib.c (rib_add_ipv6, rib_delete_ipv6): now protocol daemons |
| 2304 | can install connected route to kernel via zebra |
| 2305 | |
| 2306 | 1999-08-24 VOP <vop@unity.net> |
| 2307 | |
| 2308 | * rib.c: Include "sockunion.h" |
| 2309 | |
| 2310 | 1999-08-22 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2311 | |
| 2312 | * ipforward.h: New file. |
| 2313 | |
| 2314 | * zebra.h: Obsolete message ZEBRA_GET_ALL_INTERFACE, |
| 2315 | ZEBRA_GET_ONE_INTERFACE, ZEBRA_GET_HOSTINFO are deleted. |
| 2316 | |
| 2317 | 1999-08-18 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2318 | |
| 2319 | * zebra.h (ZEBRA_INTERFACE_ADDRESS_ADD): |
| 2320 | ZEBRA_INTERFACE_{ADD,DELETE} added. |
| 2321 | |
| 2322 | 1999-08-15 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2323 | |
| 2324 | * rib.c: show ip route A.B.C.D works. |
| 2325 | |
| 2326 | * zebra.c (zebra_read_ipv4): Add ifindex to zebra messages. |
| 2327 | |
| 2328 | 1999-08-12 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2329 | |
| 2330 | * zebra.h: New Zebra message ZEBRA_INTERFACE_{ADD,DELETE} added. |
| 2331 | |
| 2332 | 1999-08-09 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2333 | |
| 2334 | * interface.h: New file. |
| 2335 | * Makefile.am: Add interface.h |
| 2336 | |
| 2337 | 1999-08-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp> |
| 2338 | |
| 2339 | * redistribute.c (zebra_redistribute): give ifindex to client. |
| 2340 | |
| 2341 | 1999-08-02 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2342 | |
| 2343 | * main.c (longopts): -k, --keep_kernel option added. |
| 2344 | |
| 2345 | 1999-07-18 Yasuhiro Ohara <yasu@sfc.wide.ad.jp> |
| 2346 | |
| 2347 | * rt_socket.c (rtm_write): forgot closing socket bug fixed. |
| 2348 | |
| 2349 | 1999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp> |
| 2350 | |
| 2351 | * rib.c (show_ipv6_cmd): if rib is link show interface name. |
| 2352 | |
| 2353 | 1999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp> |
| 2354 | |
| 2355 | * rt_socket.c (rtm_write): use sockaddr_dl when null gateway. |
| 2356 | |
| 2357 | 1999-07-16 Yasuhiro Ohara <yasu@sfc.wide.ad.jp> |
| 2358 | |
| 2359 | * rt_socket.c (rtm_write): ipv6 route table bug fixed. |
| 2360 | |
| 2361 | 1999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp> |
| 2362 | |
| 2363 | * zebra.c (zebra_read_ipv6): read link prefix from ospf6 support |
| 2364 | |
| 2365 | 1999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp> |
| 2366 | |
| 2367 | * rt_socket.c (kernel_rtm_ipv6): gate treatment bug fixed. |
| 2368 | |
| 2369 | 1999-07-15 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2370 | |
| 2371 | * if_sysctl.c (ifm_read): Clear sockunion argument before fetching |
| 2372 | data. Suggested by "Chris P. Ross" <cross@eng.us.uu.net> |
| 2373 | |
| 2374 | 1999-07-08 HEO SeonMeyong <seirios@Matrix.IRI.Co.Jp> |
| 2375 | |
| 2376 | * interface.c (if_tun_add): Add KAME's gif tunnel setting codes. |
| 2377 | |
| 2378 | 1999-06-26 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2379 | |
| 2380 | * zebra.c (zebra_serv): Only accept loopback address connection. |
| 2381 | |
| 2382 | 1999-06-25 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2383 | |
| 2384 | * zebra.h (ZEBRA_ROUTE_EXTERNAL): Add zebra messages flags |
| 2385 | |
| 2386 | 1999-06-17 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2387 | |
| 2388 | * ipforward_proc.c: ipforward_on () and ipforward_off () added. |
| 2389 | |
| 2390 | 1999-06-14 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2391 | |
| 2392 | * ipforward_proc.c (ipforward_ipv6): Check for IPv6 forwarding |
| 2393 | using /proc file system is added. |
| 2394 | |
| 2395 | 1999-06-06 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2396 | |
| 2397 | * if_ioctl.c (if_get_index): Interface index set bug is fixed by |
| 2398 | adding #else at the middle of function. Suggested by David Luyer |
| 2399 | <luyer@ucs.uwa.edu.au>. |
| 2400 | |
| 2401 | 1999-05-29 <kunihiro@zebra.org> |
| 2402 | |
| 2403 | * rt_ioctl.c: Comment out #include <linux/ipv6_route.h>. |
| 2404 | |
| 2405 | 1999-05-26 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2406 | |
| 2407 | * zebra.h (ZEBRA_ROUTE_MAX): Add new define for the max value of |
| 2408 | the sort of routes. |
| 2409 | |
| 2410 | 1999-05-25 Patrick Koppen <koppen@rhrk.uni-kl.de> |
| 2411 | |
| 2412 | * rt_netlink.c (netlink_socket): Make netlink socket non-blocking. |
| 2413 | (netlink_parse_info): If errno is EWOULDBLOCK then continue to |
| 2414 | parse the message. |
| 2415 | (netlink_talk): Likewise |
| 2416 | |
| 2417 | 1999-05-17 <kunihiro@zebra.org> |
| 2418 | |
| 2419 | * redistribute.c (zebra_check_addr): Added for loopback address |
| 2420 | check. |
| 2421 | |
| 2422 | 1999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2423 | |
| 2424 | * rt_netlink.c (netlink_route_change): Tempolary bypass ipv6 route |
| 2425 | change treatment. |
| 2426 | |
| 2427 | * Makefile.am (noinst_HEADERS): redistribute.h added. |
| 2428 | |
| 2429 | * redistribute.h: New file. |
| 2430 | |
| 2431 | 1999-05-14 Stephen R. van den Berg <srb@cuci.nl> |
| 2432 | |
| 2433 | * zebra.c (show_table): Show all table configuration DEFUN. |
| 2434 | (config_table): Config table number DEFUN. |
| 2435 | |
| 2436 | * rt_netlink.c: Add support for multiple routing table. |
| 2437 | |
| 2438 | * rib.c (rib_weed_table): New function added for delete all |
| 2439 | routes from specified routing table. |
| 2440 | |
| 2441 | * main.c (signal_init): SIGTERM call sigint. |
| 2442 | (sigint): Loggging more better message. |
| 2443 | |
| 2444 | 1999-05-09 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2445 | |
| 2446 | * rt_netlink.c: Change log () to zlog (). |
| 2447 | |
| 2448 | 1999-05-07 <kunihiro@zebra.org> |
| 2449 | |
| 2450 | * zebra.h (ZEBRA_ROUTE_OSPF6): Added for ospf6d route. |
| 2451 | |
| 2452 | 1999-04-20 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2453 | |
| 2454 | * interface.c: Add `no ip address' command. |
| 2455 | |
| 2456 | 1999-04-10 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2457 | |
| 2458 | * rt_netlink.c (kernel_read): Function added for asynchronous |
| 2459 | zebra between kernel communication. |
| 2460 | |
| 2461 | 1999-03-25 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2462 | |
| 2463 | * rtread_sysctl.c (rtm_read): Fix address memcopy overrun bug. |
| 2464 | Reported by Achim Patzner <ap@bnc.net>. |
| 2465 | |
| 2466 | 1999-03-03 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2467 | |
| 2468 | * Makefile.am: Install configuration sample with 600 permission. |
| 2469 | |
| 2470 | 1999-03-02 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2471 | |
| 2472 | * Makefile.am: Add -I.. to INCLUDES. |
| 2473 | |
| 2474 | 1999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com> |
| 2475 | |
| 2476 | * syslog support added |
| 2477 | |
| 2478 | 1999-02-17 Peter Galbavy <Peter.Galbavy@knowledge.com> |
| 2479 | |
| 2480 | * if_sysctl.c (interface_list): allocated memory free when unknown |
| 2481 | ifm_type is returned. |
| 2482 | |
| 2483 | * ioctl.c (if_get_mtu): added SIOCGIFDATA treatment. |
| 2484 | |
| 2485 | 1998-12-15 Magnus Ahltorp <map@stacken.kth.se> |
| 2486 | |
| 2487 | * interface.c: Header include added. |
| 2488 | |
| 2489 | 1998-12-14 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2490 | |
| 2491 | * rt.h (kernel_delete_ipv6): change int index to unsigned int index. |
| 2492 | |
| 2493 | 1998-12-13 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2494 | |
| 2495 | * if_ioctl.c (interface_list_ioctl): interface flag must be |
| 2496 | checked before check addresses of the interface. |
| 2497 | |
| 2498 | 1998-12-07 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2499 | |
| 2500 | * Makefile.am (INCLUDES): add @INCLUDES@ for Linux IPv6. |
| 2501 | |
| 2502 | 1998-10-14 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2503 | |
| 2504 | * ioctl.c: Linux version before 2.1.0 need interface route setup. |
| 2505 | |
| 2506 | 1998-09-15 HEO SeonMeyong <seirios@matrix.iri.co.jp> |
| 2507 | |
| 2508 | * change HYDRANGEA to KAME |
| 2509 | |
| 2510 | 1998-09-01 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2511 | |
| 2512 | * if_ioctl.c (if_addr_ioctl): set address family for getting |
| 2513 | interface's address. |
| 2514 | (if_get_index): silently return when can't get interface's index. |
| 2515 | |
| 2516 | 1998-08-17 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2517 | |
| 2518 | * main.c (main): batch mode option '-b' added. |
| 2519 | |
| 2520 | 1998-08-16 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2521 | |
| 2522 | * ioctl.c (if_set_prefix): add `ip address IPV4ADDR' command. |
| 2523 | * interface.c (shutdown_if): add interface shutdown and no |
| 2524 | shutdown command. |
| 2525 | |
| 2526 | 1998-08-12 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2527 | |
| 2528 | * rib.c (rib_add_ipv6): delete rib_add_in6. |
| 2529 | |
| 2530 | 1998-07-27 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2531 | |
| 2532 | * main.c: retain flag is added. |
| 2533 | |
| 2534 | 1998-07-08 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2535 | |
| 2536 | * rtable.[ch]: merged with rib.[ch] |
| 2537 | |
| 2538 | 1998-07-07 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2539 | |
| 2540 | * connected.h: renamed from ifa.h. |
| 2541 | |
| 2542 | 1998-06-09 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2543 | |
| 2544 | * rename if.c to interface.c |
| 2545 | * rename ifa.c to connected.c |
| 2546 | |
| 2547 | * Porting to Debian GNU/Linux 2.0 (hamm). |
| 2548 | |
| 2549 | 1998-06-08 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2550 | |
| 2551 | * rt_netlink.c: renamed from krt_netlink.c |
| 2552 | |
| 2553 | * fib.c: deleted. |
| 2554 | * rt_kvm.c: deleted. |
| 2555 | * rtread_getmsg.c: deleted. |
| 2556 | |
| 2557 | 1998-06-07 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2558 | |
| 2559 | * if.c (multicast): add multicast flag [un]set fucntion. |
| 2560 | |
| 2561 | 1998-05-19 Yamshita TAKAO <jargon@lares.dti.ne.jp> |
| 2562 | |
| 2563 | * rt_socket.c: Modify for compile on Solaris, but dont't work it. |
| 2564 | rt_socket.c have some undefined function, so add directive "IMPLEMENT" |
| 2565 | |
| 2566 | 1998-05-18 Yamshita TAKAO <jargon@lares.dti.ne.jp> |
| 2567 | |
| 2568 | * zebra.c: Modify for compile on Solaris. |
| 2569 | |
| 2570 | 1998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2571 | |
| 2572 | * main.c: change CONFDIR to SYSCONFDIR. |
| 2573 | |
| 2574 | 1998-05-01 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2575 | |
| 2576 | * .cvsignore: added. |
| 2577 | |
| 2578 | 1998-04-02 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2579 | |
| 2580 | * client.c: moves to ../lib. |
| 2581 | |
| 2582 | 1998-03-30 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2583 | |
| 2584 | * if_ioctl.c (if_get_addr): Change address copy from memcopy() to |
| 2585 | structure assignment. |
| 2586 | |
| 2587 | 1998-03-30 URA Hiroshi <ura@yamato.ibm.co.jp> |
| 2588 | |
| 2589 | * if_sysctl.c (ifm_interface_add): sdl->sdl_data copy bug fixed. |
| 2590 | |
| 2591 | 1998-02-23 "Hannes R. Boehm" <hannes@boehm.org> |
| 2592 | |
| 2593 | * if.c (if_init): add config_exit_cmd and config_help_cmd. |
| 2594 | |
| 2595 | 1998-01-24 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2596 | |
| 2597 | * rt_ioctl.c (route_ioctl): EPERM treatment added. |
| 2598 | |
| 2599 | 1998-01-05 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2600 | |
| 2601 | * rt_socket.c (kernel_read): communication port zebra between |
| 2602 | kernel is now handled by kernel_read. |
| 2603 | |
| 2604 | 1998-01-02 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2605 | |
| 2606 | * main.c (main): zebra [-P port] can specify vty port number. |
| 2607 | |
| 2608 | 1997-12-25 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2609 | |
| 2610 | * zebra.c: change select will be block. |
| 2611 | |
| 2612 | 1997-12-04 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2613 | |
| 2614 | * add static route treatment. |
| 2615 | |
| 2616 | 1997-11-25 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2617 | |
| 2618 | * rt_netlink.c: add netlink support over GNU/Linux system. |
| 2619 | |
| 2620 | 1997-11-23 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2621 | |
| 2622 | * all inet_addr is changed to inet_aton. |
| 2623 | |
| 2624 | * zebra.c (ip_route): add ip route command for static routes. |
| 2625 | |
| 2626 | 1997-11-20 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2627 | |
| 2628 | * if.c (if_flag_dump): Linux port of if_flag_dump and _vty. |
| 2629 | |
| 2630 | 1997-11-19 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2631 | |
| 2632 | * if.c: add interface command. |
| 2633 | |
| 2634 | 1997-11-18 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2635 | |
| 2636 | * ipforward_proc.c : Now works on Linux. |
| 2637 | |
| 2638 | 1997-10-25 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2639 | |
| 2640 | * command.c : add completion feature. |
| 2641 | |
| 2642 | 1997-10-18 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2643 | |
| 2644 | * vty.c (vty_command): add vty interface. |
| 2645 | |
| 2646 | 1997-10-13 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2647 | |
| 2648 | * zebra.c: add verbose mode. |
| 2649 | |
| 2650 | 1997-10-12 SonMyong Ho <s-ho@Matrix.IRI.Co.Jp> |
| 2651 | |
| 2652 | * Hydrangea for FreeBSD supported |
| 2653 | * in.h: add some prototype. |
| 2654 | |
| 2655 | 1997-10-11 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2656 | |
| 2657 | * rt_socket.c and rtread.c completely rewritten. |
| 2658 | |
| 2659 | 1997-10-05 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2660 | |
| 2661 | * rt_socket.c: rename kernel_sock to routing_socket |
| 2662 | |
| 2663 | 1997-10-04 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2664 | |
| 2665 | * if.c (if_new): interface structure change from linklist to vector. |
| 2666 | |
| 2667 | 1997-10-03 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2668 | |
| 2669 | * vector.c (vector_init): create vector related function |
| 2670 | |
| 2671 | 1997-09-25 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 2672 | |
| 2673 | * Makefile.in: add tags target |
| 2674 | |
| 2675 | * start IPv6 support for INRIA FreeBSD. |
| 2676 | |