Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | kernel-netlink: Use recv() instead of recvfrom() | Martin Willi | 2014-09-24 | 1 | -11/+3 | |
| | | | | | | | | | | As we are not interested in the returned address, there is really no need in passing that argument. | |||||
| * | kernel-netlink: Avoid casting the NLMSG_DATA() return value | Martin Willi | 2014-09-24 | 3 | -26/+26 | |
| | | | | | | | | There is really no need for doing so, and it makes the code just unreadable. | |||||
| * | kernel-netlink: Define netlink buffer as an union having a netlink header | Martin Willi | 2014-09-24 | 4 | -21/+24 | |
|/ | | | | | This allows us to streamline the netlink buffers, and avoid extensive casting. | |||||
* | Merge branch 'systemd' | Martin Willi | 2014-09-24 | 37 | -119/+981 | |
|\ | | | | | | | | | | | Introduces a systemd specific charon-systemd IKE daemon based on libcharon. Uses systemd APIs for startup control and journal logging and a new systemd service unit using swanctl as configuration backend. | |||||
| * | travis: Disable build of native systemd IKE daemon | Martin Willi | 2014-09-22 | 1 | -0/+1 | |
| | | | | | | | | | | Travis still uses Ubuntu 12.04, where no systemd libraries are available. Skip systemd support on Travis until we have a more recent Ubuntu distribution. | |||||
| * | man: Skip installation of ipsec.conf/secrets manpages when not building starter | Martin Willi | 2014-09-22 | 1 | -1/+5 | |
| | | ||||||
| * | init: Update starter systemd service to distinguish it from strongswan-swanctl | Martin Willi | 2014-09-22 | 2 | -1/+2 | |
| | | ||||||
| * | init: Provide a service file for charon-systemd using swanctl | Martin Willi | 2014-09-22 | 5 | -0/+28 | |
| | | ||||||
| * | systemd: Check if ./configure detected a systemd system unit directory | Martin Willi | 2014-09-22 | 1 | -0/+7 | |
| | | ||||||
| * | systemd: Discover and check systemd libraries with pkg-config during configure | Martin Willi | 2014-09-22 | 2 | -1/+12 | |
| | | ||||||
| * | systemd: Add a native systemd journal logger | Martin Willi | 2014-09-22 | 4 | -2/+200 | |
| | | ||||||
| * | plugin-loader: Support a reload() callback for static features | Martin Willi | 2014-09-22 | 9 | -12/+44 | |
| | | ||||||
| * | systemd: Provide a charon-systemd daemon targeting full systemd integration | Martin Willi | 2014-09-22 | 6 | -5/+250 | |
| | | ||||||
| * | swanctl: Complete --load-creds command summary | Martin Willi | 2014-09-22 | 1 | -1/+1 | |
| | | ||||||
| * | swanctl: Fix description of load-pools command summary | Martin Willi | 2014-09-22 | 1 | -1/+1 | |
| | | ||||||
| * | swanctl: Add a --load-all command, performing --load-{creds,pools,conns} | Martin Willi | 2014-09-22 | 10 | -97/+329 | |
| | | ||||||
| * | swanctl: Add a --reload-settings command | Martin Willi | 2014-09-22 | 5 | -2/+93 | |
| | | ||||||
| * | vici: Add a command to reload strongswan.conf | Martin Willi | 2014-09-22 | 1 | -0/+12 | |
|/ | ||||||
* | encoding: Accept all exchange types for non IKEv1/IKEv2 major versions | Martin Willi | 2014-09-22 | 1 | -5/+11 | |
| | ||||||
* | settings: Make loading a NULL or empty pattern a (nop-)success | Martin Willi | 2014-09-22 | 1 | -1/+1 | |
| | ||||||
* | settings: Use strongswan.conf used during library initialization for reload | Martin Willi | 2014-09-22 | 4 | -14/+4 | |
| | | | | | | | | Since 4b670a20 we require an explicit strongswan.conf to re-load configurations. However, the define was missing in the build, breaking SIGHUP based config reloading. Fixes #651. | |||||
* | library: Store the used root strongswan.conf configuration | Martin Willi | 2014-09-22 | 2 | -7/+12 | |
| | ||||||
* | testing: Use multiple jobs to install strongSwan | Tobias Brunner | 2014-09-19 | 1 | -1/+1 | |
| | ||||||
* | testing: Add a script to build the current (or an arbitrary) source tree | Tobias Brunner | 2014-09-19 | 1 | -0/+65 | |
| | | | | | | | | | | | | | | This allows to (relatively) quickly (re-)build and install the current or an arbitrary strongSwan source tree within the root image. bindfs is used to bind mount the source directory using the regular user and group (only works if sudo is used to run the script) so that newly created files are not owned by root. As with building the root image in general the guests must not be running while executing this script. The guest images are automatically rebuilt after the root image has been updated so configuration files and other modifications in guests will be lost. | |||||
* | testing: Add packages to rebuild strongSwan from the repository | Tobias Brunner | 2014-09-19 | 1 | -1/+2 | |
| | ||||||
* | testing: Make strongSwan build recipe more configurable | Tobias Brunner | 2014-09-19 | 1 | -4/+13 | |
| | ||||||
* | swanctl: Document --stats command | Tobias Brunner | 2014-09-19 | 1 | -0/+3 | |
| | ||||||
* | testing: Update certs and keys in tkm tests | Reto Buerki | 2014-09-17 | 6 | -0/+0 | |
| | | | | References #705. | |||||
* | testing: Update x509-ada version to 0.1.1 | Reto Buerki | 2014-09-17 | 1 | -1/+1 | |
| | | | | Fixes #705. | |||||
* | ikev2: Don't treat initial messages as MOBIKE exchanges | Tobias Brunner | 2014-09-16 | 1 | -6/+9 | |
| | | | | | The MOBIKE task is active during the initial exchanges but we don't want to treat them as actual MOBIKE exchanges (i.e. there is no path probing). | |||||
* | ikev1: Don't cache last block of INFORMATIONAL messages as IV | Tobias Brunner | 2014-09-12 | 1 | -2/+2 | |
| | | | | | | | | | We don't expect a response with the same MID, but apparently some devices (e.g. FRITZ!Box) do that for DPDs, while still treating the response as a new exchange. By storing the last message block as IV we can't decrypt the first block of such a response. Fixes #661. | |||||
* | ikev1: Log IV when encrypting messages | Tobias Brunner | 2014-09-12 | 1 | -0/+1 | |
| | ||||||
* | ikev1: Skip unusable IPComp proposals | Tobias Brunner | 2014-09-12 | 1 | -1/+1 | |
| | | | | Fixes #661. | |||||
* | ikev1: Properly handle different proposal numbering schemes | Tobias Brunner | 2014-09-12 | 1 | -5/+10 | |
| | | | | | | | | | | | | | | | | | | While the examples in RFC 2408 show proposal numbers starting at 1 and increasing by one for each subsequent proposal this is not mandatory. Actually, IKEv1 proposals may start at any number, the only requirement is that the proposal numbers increase monotonically they don't have to do so consecutively. Most implementations follow the examples and start numbering at 1 (charon, racoon, Shrew, Cisco, Windows XP, FRITZ!Box) but pluto was one of the implementations that started with 0 and there might be others out there. The previous assumption that implementations always start numbering proposals at 0 caused problems with clients that start numbering with 1 and whose first proposal consists of multiple protocols (e.g. ESP+IPComp). Fixes #661. | |||||
* | kernel-netlink: Optionally install protocol and ports on transport mode SAs | Tobias Brunner | 2014-09-12 | 2 | -6/+27 | |
| | ||||||
* | Merge branch 'mobike-fixes' | Tobias Brunner | 2014-09-12 | 4 | -28/+167 | |
|\ | | | | | | | | | | | | | These changes improve the handling of MOBIKE tasks, for instance, when retransmitting and no path is available. Fixes #632. | |||||
| * | ikev2: Reduce timeout if path probing was enabled | Tobias Brunner | 2014-09-12 | 1 | -6/+13 | |
| | | ||||||
| * | ikev2: Defer MOBIKE updates if no path is available | Tobias Brunner | 2014-09-12 | 1 | -7/+14 | |
| | | ||||||
| * | ike-mobike: Allow calling transmit() even when not currently path probing | Tobias Brunner | 2014-09-12 | 1 | -5/+17 | |
| | | | | | | | | Path probing is enabled if the current path is not available anymore. | |||||
| * | ikev2: Defer path probing if no path is currently available | Tobias Brunner | 2014-09-12 | 1 | -1/+20 | |
| | | | | | | | | | | We do the same before initiating the task, so we should probably do it too when we already initiated it, not just time out and destroy the SA. | |||||
| * | ike-mobike: Return FALSE in transmit() if no path was available | Tobias Brunner | 2014-09-12 | 2 | -3/+7 | |
| | | ||||||
| * | ikev2: Enable path probing for currently active MOBIKE task | Tobias Brunner | 2014-09-12 | 1 | -0/+18 | |
| | | | | | | | | | | | | | | This might not be the case if e.g. an address appeared but the old one is still available but not actually usable. Without this the MOBIKE task would eventually time out even though we might be able to switch to a working address. | |||||
| * | ike-mobike: Add method to enable path probing | Tobias Brunner | 2014-09-12 | 2 | -0/+12 | |
| | | ||||||
| * | ike-mobike: Skip peer addresses we can't send packets to when checking paths | Tobias Brunner | 2014-09-12 | 1 | -5/+18 | |
| | | ||||||
| * | ikev2: Skip peer addresses we can't send packets to when looking for valid paths | Tobias Brunner | 2014-09-12 | 1 | -0/+18 | |
| | | ||||||
| * | ikev2: Insert MOBIKE tasks at the front of the queue | Tobias Brunner | 2014-09-12 | 1 | -1/+6 | |
| | | | | | | | | | | In case we have no usable path to the other peer there is no point in initiating any other tasks (like rekeying). | |||||
| * | ikev2: Migrate number of pending MOBIKE updates | Tobias Brunner | 2014-09-12 | 1 | -0/+5 | |
| | | | | | | | | | | This will probably never be more than 1 since we only have one task queued at a time and we don't migrate running tasks. | |||||
| * | ikev2: Properly keep track of pending MOBIKE updates | Tobias Brunner | 2014-09-12 | 1 | -8/+27 | |
|/ | | | | | | | | Because we only queue one MOBIKE task at a time, but destroy superfluous ones only after we already increased the counter for pending MOBIKE updates, we have to reduce the counter when such tasks are destroyed. Otherwise, the queued task would assume another task is queued when it is running and ignore any successful response. | |||||
* | Merge branch 'android-pfs' | Tobias Brunner | 2014-09-12 | 3 | -9/+69 | |
|\ | | | | | | | | | Changes how CHILD_SA rekeying errors are handled in the Android app and adds CHILD_SA proposals with DH groups. | |||||
| * | android: Reduce CHILD_SA lifetime | Tobias Brunner | 2014-09-12 | 1 | -2/+2 | |
| | |