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