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