Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | kernel-libipsec: Use poll(2) instead of select | Martin Willi | 2014-11-21 | 1 | -54/+56 | |
| | ||||||
* | socket-default: Use round-robin selection of sockets to read from | Martin Willi | 2014-11-21 | 1 | -5/+13 | |
| | | | | | If multiple sockets are ready, we previously preferred the IPv4 non-NAT socket over others. To handle all with equal priority, use a round-robin selection. | |||||
* | socket-default: Use poll(2) instead of select | Martin Willi | 2014-11-21 | 1 | -46/+20 | |
| | | | | | It is not only simpler, but also allows the use of arbitrary high fd numbers, which silently fails with select(). | |||||
* | vici: Add support for address range definitions of pools | Tobias Brunner | 2014-10-30 | 1 | -5/+35 | |
| | ||||||
* | stroke: Add support for address range definitions of in-memory pools | Tobias Brunner | 2014-10-30 | 1 | -7/+33 | |
| | ||||||
* | updown: Explicitly pass caller PATH to updown script | Martin Willi | 2014-10-22 | 1 | -0/+1 | |
| | | | | | | | | | When invoking /bin/sh, its default PATH is used. On some systems, that does not include the PATH where the ipsec script is installed, as charon is invoked with a custom PATH. Explicitly setting the PATH of charon should fix this case, properly invoking the (default) updown script. Fixes #745. | |||||
* | vici: Return default value for get_int() if message value is empty string | Martin Willi | 2014-10-14 | 2 | -1/+5 | |
| | | | | | This is the behavior of some strtol() implementations, and it makes sense, so force it. | |||||
* | vici: Add vici.gemspec.in and vici.rb to distribution | Tobias Brunner | 2014-10-14 | 1 | -0/+2 | |
| | ||||||
* | vici: Cancel processor before calling library_deinit() | Martin Willi | 2014-10-10 | 1 | -0/+1 | |
| | | | | | For non-direct libstrongswan users, the deinitialization segfaults because of the missing worker thread cancellation. | |||||
* | vici: Reduce debug level during thread spawning | Martin Willi | 2014-10-10 | 1 | -0/+2 | |
| | | | | We want to avoid libvici users to get a cluttered stderr for no real error. | |||||
* | vici: Don't include-depend on libstrongswan for boolean types | Martin Willi | 2014-10-10 | 2 | -4/+2 | |
| | | | | | | | | As we want to avoid the libstrongswan include dependencies for libvici, avoid the use of the bool type. Unfortunately this change may break the ABI for vici_dump(). As this function is mostly for debugging purposes, we do it nonetheless; my apologies if somebody already relies on the ABI stability of that function. | |||||
* | vici: Document the ruby gem and add some simple examples | Martin Willi | 2014-10-10 | 1 | -0/+58 | |
| | ||||||
* | vici: Add some simple libvici examples to the README | Martin Willi | 2014-10-10 | 1 | -2/+116 | |
| | ||||||
* | vici: Document the available vici command and event messages | Martin Willi | 2014-10-10 | 1 | -1/+509 | |
| | ||||||
* | vici: Use "gem"-assisted vici ruby gem building and installation | Martin Willi | 2014-10-10 | 4 | -1/+29 | |
| | ||||||
* | vici: Add a ruby gem providing a native vici interface | Martin Willi | 2014-10-10 | 3 | -0/+586 | |
| | ||||||
* | vici: Return a success result for the clear-creds command | Martin Willi | 2014-10-10 | 1 | -4/+1 | |
| | | | | | Even if the command actually can't fail, this looks more aligned to similar commands. | |||||
* | vici: Fix message encoding type values in documentation | Martin Willi | 2014-10-10 | 1 | -6/+6 | |
| | ||||||
* | eap-radius: Add option to set interval for interim accounting updates | Tobias Brunner | 2014-10-10 | 1 | -0/+10 | |
| | | | | | | Any interval returned by the RADIUS server in the Access-Accept message overrides the configured interval. But it might be useful if RADIUS is only used for accounting. | |||||
* | packet: Define a global default maximum size for IKE packets | Tobias Brunner | 2014-10-10 | 3 | -12/+3 | |
| | ||||||
* | ext-auth: Add an ext-auth plugin invoking an external authorization script | Martin Willi | 2014-10-06 | 5 | -0/+485 | |
| | | | | Original patch courtesy of Vyronas Tsingaras. | |||||
* | updown: Use process abstraction to invoke updown script | Martin Willi | 2014-10-06 | 1 | -246/+215 | |
| | ||||||
* | stroke: Allow specifying the ipsec.secrets location in strongswan.conf | Shea Levy | 2014-10-02 | 1 | -2/+10 | |
| | ||||||
* | vici: Add a command to reload strongswan.conf | Martin Willi | 2014-09-22 | 1 | -0/+12 | |
| | ||||||
* | eap-radius: Forward Cisco and Microsoft specific DNS/NBNS attributes | Tobias Brunner | 2014-09-09 | 1 | -0/+50 | |
| | | | | Fixes #677. | |||||
* | ha: Don't adopt IKEv1 children when building without IKEv1 support | Martin Willi | 2014-08-28 | 1 | -0/+2 | |
| | | | | | | | The adopt_children_job_create() function is not available when IKEv1 support is disabled. Fixes uncommon builds using --enable-ha --disable-ikev1. Fixes #690. | |||||
* | unity: Do not bump TS to 0.0.0.0/0 as initiator when no Split-Include received | Martin Willi | 2014-08-25 | 1 | -1/+21 | |
| | | | | | | | When having the unity plugin enabled and both peers send the Unity Vendor ID, we proposed 0.0.0.0/0 as traffic selector, even if no Split-Include has been received on the SA. This can break compatibility with some responders, as they don't narrow the TS themselves, but expect the configured TS. | |||||
* | unity: Handle narrowing according to roles in the IKE_SA | Tobias Brunner | 2014-08-25 | 1 | -16/+33 | |
| | | | | | | Since the narrow hook types reflect the roles in the Quick Mode exchange the plugin behaved incorrectly if the server initiated the CHILD_SA rekeying. | |||||
* | xauth-pam: Add workaround for null-terminated passwords | Tobias Brunner | 2014-07-07 | 1 | -1/+6 | |
| | | | | Fixes #631. | |||||
* | stroke: Don't log unspecified options of conn and ca sections | Tobias Brunner | 2014-06-30 | 1 | -37/+50 | |
| | ||||||
* | libvici: Add missing argument to Doxygen comment | Tobias Brunner | 2014-06-30 | 1 | -0/+1 | |
| | ||||||
* | Fixed some typos | Tobias Brunner | 2014-06-30 | 2 | -2/+2 | |
| | ||||||
* | updown: Force subnet address to be numeric | Tobias Brunner | 2014-06-25 | 1 | -2/+2 | |
| | ||||||
* | eap-radius: Increase buffer for accounting attributes to maximum attribute size | Martin Willi | 2014-06-25 | 1 | -1/+1 | |
| | | | | Fixes #624. | |||||
* | vici: Install libvici in ipseclibdir like we do with other libraries | Tobias Brunner | 2014-06-19 | 1 | -1/+1 | |
| | ||||||
* | kernel-interface: Add destination prefix to get_nexthop() | Tobias Brunner | 2014-06-19 | 3 | -4/+4 | |
| | | | | | This allows to determine the next hop to reach a subnet, for instance, when installing routes for shunt policies. | |||||
* | load-tester: Add a crl option to include a CRL uri in generated certificates | Martin Willi | 2014-06-19 | 1 | -1/+21 | |
| | ||||||
* | vici: Support memory stats without leak-detective on Windows | Martin Willi | 2014-06-17 | 1 | -0/+53 | |
| | ||||||
* | vici: Add a stats command returning various daemon infos and statistics | Martin Willi | 2014-06-17 | 1 | -0/+104 | |
| | ||||||
* | vici: Support a replay_window CHILD_SA option | Martin Willi | 2014-06-17 | 1 | -0/+16 | |
| | ||||||
* | starter: Add a replay_window connection option | Martin Willi | 2014-06-17 | 1 | -0/+4 | |
| | ||||||
* | kernel-interface: Add a replay_window parameter to add_sa() | Martin Willi | 2014-06-17 | 3 | -6/+9 | |
| | ||||||
* | socket-win: Use non-overlapped I/O and socket event selection | Martin Willi | 2014-06-17 | 1 | -31/+13 | |
| | | | | | | | | The use of overlapped I/O was incorrect, as we passed stack based buffers, but did not cancel/wait for pending completion on all sockets. Our receive-from-all socket interface is actually tricky to implement using overlapped I/O. Switch to WSAEventSelect() event management, which can be canceled properly while working in a select()-like way. | |||||
* | Split swanctl --raw mode into single-line and --pretty mode | Andreas Steffen | 2014-06-14 | 4 | -31/+70 | |
| | ||||||
* | windows: Use WINAPI call convention for Windows API callbacks | Martin Willi | 2014-06-06 | 3 | -10/+13 | |
| | | | | | For x86_64 it does not actually matter, but for i686 builds the call convention is different with WINAPI. | |||||
* | kernel-wfp: Include Windows header patch for MinGW 4.8.1 | Martin Willi | 2014-06-04 | 2 | -0/+29 | |
| | ||||||
* | kernel-wfp: Clone acquire traffic selectors only if they exist | Martin Willi | 2014-06-04 | 1 | -1/+3 | |
| | ||||||
* | kernel-wfp: Install routes for trap policies | Martin Willi | 2014-06-04 | 1 | -3/+21 | |
| | ||||||
* | kernel-wfp: Refactor route management to separate function | Martin Willi | 2014-06-04 | 1 | -39/+47 | |
| | ||||||
* | kernel-wfp: Install tunnel mode policies to appropriate sub-layers | Martin Willi | 2014-06-04 | 2 | -6/+22 | |
| | | | | | While it is unclear if this has any effect at all, we prefer specific sublayers to install policies as suggested. |