Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | configure: Load fetcher plugins after crypto base plugins | Martin Willi | 2014-09-24 | 670 | -684/+679 | |
| | | | | | | | | | | | | | | | | | | | | Some fetcher plugins (such as curl) might build upon OpenSSL to implement HTTPS fetching. As we set (and can't unset) threading callbacks in our openssl plugin, we must ensure that OpenSSL functions don't get called after openssl plugin unloading. We achieve that by loading curl and all other fetcher plugins after the base crypto plugins, including openssl. | |||||
| * | curl: Dynamically query supported protocols and register appropriate features | Martin Willi | 2014-09-24 | 1 | -10/+64 | |
| | | ||||||
| * | leak-detective: Whitelist libssl SSL_COMP_get_compression_methods() | Martin Willi | 2014-09-24 | 1 | -0/+2 | |
| | | | | | | | | | | This function is called by libcurl initialization with SSL, and uses a static allocation of compression algorithms not freed. | |||||
| * | curl: Try to initialize with SSL support to handle https:// URIs | Martin Willi | 2014-09-24 | 1 | -1/+6 | |
|/ | | | | If initialization fails, we fall back to the old behavior. | |||||
* | NEWS: Introduce charon-systemd | Martin Willi | 2014-09-24 | 1 | -0/+9 | |
| | ||||||
* | Merge branch 'netlink-cleanups' | Martin Willi | 2014-09-24 | 7 | -106/+150 | |
|\ | | | | | | | | | In preparation for larger parallelization changes in kernel-netlink, this merge does some general code cleanup in that plugin. | |||||
| * | watcher: Add a method to query the watcher state | Martin Willi | 2014-09-24 | 2 | -7/+45 | |
| | | | | | | | | | | This allows a user to check if the watcher is actually running, and potentially perform read operations directly instead of relying on watcher. | |||||
| * | kernel-netlink: Define and use rtnetlink message types | Martin Willi | 2014-09-24 | 1 | -1/+22 | |
| | | ||||||
| * | kernel-netlink: Pass protocol specific enum names to socket constructor | Martin Willi | 2014-09-24 | 4 | -12/+13 | |
| | | | | | | | | | | This avoid the hard dependency on enum names, and makes kernel_netlink_shared independent of kernel_netlink_ipsec. | |||||
| * | kernel-netlink: Clean up socket initialization, handle 0 as valid socket fd | Martin Willi | 2014-09-24 | 1 | -9/+6 | |
| | | ||||||
| * | kernel-netlink: Clean up response buffer management | Martin Willi | 2014-09-24 | 1 | -24/+16 | |
| | | ||||||
| * | 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. |