Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Merge branch 'radius-ext' | Martin Willi | 2013-03-18 | 3 | -7/+24 | |
|\ | | | | | | | | | | | 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 | 3 | -6/+23 | |
| | | ||||||
* | | 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 | |
|/ | ||||||
* | 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 | |
| |/ | ||||||
* / | Indicate support for processing ESPv3 TFC padding in Netlink IPsec backend | Martin Willi | 2013-03-01 | 1 | -1/+7 | |
|/ | ||||||
* | kernel-netlinks get_interface() considers virtual IPs, too | Martin Willi | 2012-12-17 | 1 | -0/+13 | |
| | | | | | | | When using load-tester, we can install tunnel outer addresses on demand. As these are installed as "virtual", we have to consider virtual IPs in the get_interface() lookup to install "real" virtual IPs to these dynamic external addresses. | |||||
* | Don't wait while removing external IPs used for load testing | Martin Willi | 2012-11-29 | 2 | -3/+5 | |
| | ||||||
* | Install virtual IPs via interface name, and use an interface lookup where ↵ | Martin Willi | 2012-11-29 | 2 | -10/+4 | |
| | | | | required | |||||
* | Add an optional kernel-interface parameter to install IPs with a custom prefix | Martin Willi | 2012-11-29 | 2 | -8/+10 | |
| | ||||||
* | Limit recursion when searching for source addresses | Tobias Brunner | 2012-11-13 | 1 | -5/+14 | |
| | | | | | This could be required if e.g. two default routes list gateways but the corresponding outbound interfaces do not have any IP addresses on them. | |||||
* | Don't call get_route recursively if a route's gateway matches the destination | Tobias Brunner | 2012-11-13 | 1 | -2/+5 | |
| | ||||||
* | Moved debug.[ch] to utils folder | Tobias Brunner | 2012-10-24 | 11 | -11/+11 | |
| | ||||||
* | Moved data structures to new collections subfolder | Tobias Brunner | 2012-10-24 | 6 | -10/+10 | |
| | ||||||
* | Moved host_t and host_resolver_t to a new networking subfolder | Tobias Brunner | 2012-10-24 | 4 | -4/+4 | |
| | ||||||
* | Use a helper function to add milliseconds to timeval structs | Tobias Brunner | 2012-10-18 | 2 | -18/+3 | |
| | ||||||
* | Use proper offset when adding mark attribute in kernel-netlink plugin | Tobias Brunner | 2012-10-15 | 1 | -1/+1 | |
| | ||||||
* | Also add mark when querying current replay state in kernel-netlink plugin | Tobias Brunner | 2012-10-15 | 1 | -2/+21 | |
| | ||||||
* | Fixed update_sa in kernel-netlink plugin if marks are used | Tobias Brunner | 2012-10-11 | 1 | -0/+18 | |
| | ||||||
* | Added missing break statements in NAT-T mapping handling in PF_KEY plugin | Tobias Brunner | 2012-09-28 | 1 | -0/+2 | |
| | ||||||
* | Make sure we successfully opened xfrm_acq_expires | Tobias Brunner | 2012-09-28 | 1 | -1/+1 | |
| | ||||||
* | Clarified code when hashing/comparing cached policies in kernel-netlink | Tobias Brunner | 2012-09-28 | 1 | -5/+4 | |
| | ||||||
* | Make sure first argument is an int when using %.*s to print e.g. chunks | Tobias Brunner | 2012-09-28 | 1 | -3/+3 | |
| | ||||||
* | Ensure that pipe is closed when calling resolvconf(8) | Tobias Brunner | 2012-09-28 | 1 | -2/+4 | |
| | ||||||
* | Use proper argument for sizeof when copying replay state | Tobias Brunner | 2012-09-28 | 1 | -1/+1 | |
| | ||||||
* | Algorithm names are not always static anymore, avoid string overflows | Tobias Brunner | 2012-09-28 | 1 | -5/+10 | |
| | ||||||
* | Allow replay windows smaller than the default of 32 | Tobias Brunner | 2012-09-27 | 1 | -4/+6 | |
| | ||||||
* | Properly initialize cached address map in kernel-pfroute plugin | Tobias Brunner | 2012-09-27 | 1 | -0/+1 | |
| | ||||||
* | Fixed compilation of kernel-pfroute plugin | Tobias Brunner | 2012-09-27 | 1 | -4/+6 | |
| | ||||||
* | Make sure the if_name member of cached route entries is initialized to NULL | Tobias Brunner | 2012-09-22 | 2 | -4/+10 | |
| | ||||||
* | Use an rwlock in kernel-pfroute too | Tobias Brunner | 2012-09-21 | 1 | -13/+14 | |
| | ||||||
* | Use rwlock and rwlock_condvar to increase concurrency in kernel-netlink plugin | Tobias Brunner | 2012-09-21 | 1 | -58/+55 | |
| | ||||||
* | Use a separate mutex for cached routes in kernel-netlink plugin | Tobias Brunner | 2012-09-21 | 1 | -8/+15 | |
| | ||||||
* | Use a lock to safely check and update the time for the next roam event | Tobias Brunner | 2012-09-21 | 1 | -16/+28 | |
| | ||||||
* | Added an option to configure the interface on which virtual IP addresses are ↵ | Tobias Brunner | 2012-09-21 | 1 | -19/+29 | |
| | | | | installed | |||||
* | Changed how kernel-netlink handles virtual IP addresses | Tobias Brunner | 2012-09-21 | 1 | -248/+308 | |
| | | | | Also tried to avoid the use of enumerators. | |||||
* | Made IP address enumeration more flexible | Tobias Brunner | 2012-09-21 | 2 | -31/+17 | |
| | | | | Also added an option to enumerate addresses on ignored interfaces. |