Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | kernel-pfroute: add a feature flag requesting "exclude" routes | Martin Willi | 2013-05-06 | 2 | -0/+9 | |
| | | | | | | | | If routes installed along with policies covering the peer address affect local IKE/ESP packets, they won't get routed correctly. To work around this issue, the kernel interface can install "exclude" routes for the IKE peer. Not all networking backends require this workaround, hence we export a flag for it if it is required. | |||||
* | kernel-pfroute: remove unused interface address refcounting | Martin Willi | 2013-05-06 | 1 | -11/+0 | |
| | ||||||
* | kernel-pfroute: mark IPs installed on tun device as virtual | Martin Willi | 2013-05-06 | 1 | -1/+24 | |
| | ||||||
* | kernel-pfroute: install virtual IPs using dedicated tun devices | Martin Willi | 2013-05-06 | 1 | -5/+91 | |
| | ||||||
* | kernel-pfkey: when installing a route for a virtual IP, use its interface | Martin Willi | 2013-05-06 | 1 | -1/+10 | |
| | | | | | When installing a route over a tun device for a virtual IP, the route must be set over the tun, not the IKE interface. | |||||
* | kernel-interface: get_address_by_ts() can tell if a returned IP is virtual | Martin Willi | 2013-05-06 | 5 | -6/+31 | |
| | ||||||
* | kernel-interface: support enumeration of virtual-only IPs | Martin Willi | 2013-05-06 | 3 | -9/+20 | |
| | ||||||
* | kernel-pfkey: refactor route installation to a dedicate function | Martin Willi | 2013-05-06 | 1 | -74/+81 | |
| | ||||||
* | kernel-pfroute: split /0 routes to avoid conflict with default route | Martin Willi | 2013-05-06 | 1 | -0/+15 | |
| | ||||||
* | kernel-pfkey: check if we have a gateway before comparing them | Martin Willi | 2013-05-06 | 1 | -0/+1 | |
| | ||||||
* | kernel-pfkey: install route along with input, not forward policies | Martin Willi | 2013-05-06 | 1 | -20/+20 | |
| | | | | | | As forwarding policies are not available on all systems (OS X), using the forward policy to attach the route is a bad pick. Using input policies allows OS X to install routes. | |||||
* | kernel-pfroute: rescan address list for an interface if its state changes | Martin Willi | 2013-05-06 | 1 | -0/+43 | |
| | | | | | It seems that we don't get address notifications if the interface is down on OS X. | |||||
* | kernel-pfroute: add newly appearing interfaces to the interface cache | Martin Willi | 2013-05-06 | 1 | -1/+22 | |
| | ||||||
* | kernel-pfroute: implement get_nexthop() | Martin Willi | 2013-05-06 | 1 | -6/+73 | |
| | ||||||
* | kernel-pfroute: install and uninstall routes | Martin Willi | 2013-05-06 | 1 | -2/+129 | |
| | ||||||
* | kernel-pfroute: collect replies received for our own queries | Martin Willi | 2013-05-06 | 1 | -4/+40 | |
| | ||||||
* | kernel-pfroute: refactor PF_ROUTE message processing, use an enumerator | Martin Willi | 2013-05-06 | 1 | -35/+117 | |
| | ||||||
* | kernel-pfkey: use an int to set esp_port with a sysctl on OS X | Martin Willi | 2013-05-06 | 1 | -2/+4 | |
| | ||||||
* | kernel-pfroute: use INIT() macro for allocations | Martin Willi | 2013-05-06 | 1 | -17/+21 | |
| | ||||||
* | kernel-pfroute: use only a single PF_ROUTE socket for both events and queries | Martin Willi | 2013-05-06 | 1 | -27/+11 | |
| | ||||||
* | kernel-pfroute: fix length check when receiving PF_ROUTE messages | Martin Willi | 2013-05-06 | 1 | -1/+1 | |
| | ||||||
* | kernel-pfkey: remove obsolete pluto specific behavior | Martin Willi | 2013-05-06 | 1 | -5/+1 | |
| | ||||||
* | kernel-netlink: remove obsolete pluto specific behavior | Martin Willi | 2013-05-06 | 1 | -7/+1 | |
| | ||||||
* | kernel-netlink: Add an option to disable roam events | Tobias Brunner | 2013-05-03 | 1 | -1/+13 | |
| | ||||||
* | kernel-netlink: Define defaults for routing table and prio | Tobias Brunner | 2013-05-03 | 1 | -0/+8 | |
| | ||||||
* | android: Remove/filter header files from LOCAL_SRC_FILES | Tobias Brunner | 2013-03-20 | 1 | -1/+3 | |
| | | | | This avoids huge warnings when building the native code. | |||||
* | Use proper address family when adding multiple addresses to SQL pool | Tobias Brunner | 2013-03-19 | 1 | -0/+15 | |
| | ||||||
* | Ignore SQL-based IP address pools if their address family does not match | Tobias Brunner | 2013-03-19 | 1 | -10/+21 | |
| | ||||||
* | Load arbitrary (non-host) attributes from strongswan.conf | Tobias Brunner | 2013-03-19 | 1 | -21/+32 | |
| | | | | This allows to e.g. load Cisco-specific attributes that contain FQDNs. | |||||
* | Merge branch 'radius-ext' | Martin Willi | 2013-03-18 | 6 | -11/+32 | |
|\ | | | | | | | | | | | Bring some extensions to eap-radius, namely a virtual IP address provider based on received Framed-IPs, forwarding of Cisco Unity banners, Interim Accounting updates and the reporting of sent/received packets. | |||||
| * | Pass correclty sized pointer to lookup_algorithm() in PF_KEY | Martin Willi | 2013-03-14 | 1 | -1/+1 | |
| | | ||||||
| * | kernel_ipsec_t.query_sa() additionally returns the number of processed packets | Martin Willi | 2013-03-14 | 6 | -10/+31 | |
| | | ||||||
* | | Merge branch 'netlink-align' | Martin Willi | 2013-03-18 | 3 | -268/+151 | |
|\ \ | |/ |/| | | | | | Fixes some Netlink alignment issues, and then refactors Netlink XFRM message attribute handling. | |||||
| * | Use netlink_add_attribute() to copy over attributes during update_sa() | Martin Willi | 2013-03-15 | 1 | -9/+6 | |
| | | ||||||
| * | Use a helper function to add XFRM_MARK attribute | Martin Willi | 2013-03-15 | 1 | -81/+37 | |
| | | ||||||
| * | Use netlink_reserve() helper function in XFRM to simplify message construction | Martin Willi | 2013-03-15 | 1 | -175/+72 | |
| | | ||||||
| * | Add a Netlink utility function to add a RTA header and reserve space for data | Martin Willi | 2013-03-15 | 2 | -0/+32 | |
| | | ||||||
| * | Correctly check buffer length in netlink_add_attribute() | Martin Willi | 2013-03-15 | 2 | -7/+9 | |
| | | ||||||
| * | Avoid unneeded termination of netlink algorithm name arrays with END_OF_LIST | Martin Willi | 2013-03-15 | 1 | -13/+14 | |
| | | ||||||
| * | When adding Netlink attributes, increase header length with potential alignment | Martin Willi | 2013-03-11 | 1 | -32/+30 | |
| | | | | | | | | | | If the payload is unaligned, we must make sure the total netlink message length includes the added alignment for the first attribute. | |||||
* | | strdup() iface passed to queue_route_reinstall(), fixing double-free | Martin Willi | 2013-03-11 | 1 | -1/+1 | |
| | | ||||||
* | | Add a constructor to create in-memory pools from an address range | Martin Willi | 2013-03-11 | 2 | -3/+58 | |
|/ | ||||||
* | Fix maximum size of a mem_pool_t | Tobias Brunner | 2013-03-07 | 1 | -2/+2 | |
| | ||||||
* | Fix some apidoc in mem_pool.h | Martin Willi | 2013-03-06 | 1 | -3/+3 | |
| | ||||||
* | Merge branch 'ikev1-rekeying' | Martin Willi | 2013-03-01 | 1 | -0/+4 | |
|\ | | | | | | | | | Migrates Quick Modes to the new Main Mode if an IKEv1 reauthentication replaces the old Main Mode having a uniqueids=replace policy. | |||||
| * | After IKEv1 reauthentication, reinstall VIP routes after migrating CHILD_SAs | Martin Willi | 2013-02-20 | 1 | -0/+4 | |
| | | | | | | | | | | | | During IKEv1 reauthentication, the virtual IP gets removed, then reinstalled. The CHILD_SAs get migrated, but any associated route gets removed from the kernel. Reinstall routes after adding the virtual IP again. | |||||
* | | Merge branch 'vip-shunts' | Martin Willi | 2013-03-01 | 1 | -4/+13 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | Installs bypass policies for the physical address if a virtual address is assigned, and installs a proper source route to actually use the physical address for bypassed destinations. Conflicts: src/libcharon/plugins/unity/unity_handler.c | |||||
| * | | Install a route for shunt policies | Martin Willi | 2013-02-20 | 1 | -5/+13 | |
| |/ | | | | | | | | | | | | | If we install a virtual IP, its source route would render the shunt policy useless, as locally generated traffic wouldn't match. Having a route for each shunt policy with higher priority chooses the correct source address for bypassed destinations. | |||||
* | | Merge branch 'opaque-ports' | Martin Willi | 2013-03-01 | 2 | -3/+3 | |
|\ \ | | | | | | | | | | | | | Adds a %opaque port option and support for port ranges in left/rightprotoport. Currently not supported by any of our kernel backends. | |||||
| * | | Use a complete port range in traffic_selector_create_from_{subnet,cidr} | Martin Willi | 2013-02-21 | 2 | -4/+3 | |
| |/ |