]>
git.ipfire.org Git - thirdparty/strongswan.git/log
Tobias Brunner [Tue, 11 Oct 2016 13:10:16 +0000 (15:10 +0200)]
kernel-netlink: Fix spacing in log message when policy is unchanged
Tobias Brunner [Wed, 14 Dec 2016 14:54:39 +0000 (15:54 +0100)]
ikev1: Factor out IV and QM management
This simplifies implementing a custom keymat_v1_t.
Thomas Egerer [Thu, 1 Dec 2016 13:40:25 +0000 (14:40 +0100)]
keymat: Allow keymat to modify signature scheme(s)
Signed-off-by: Thomas Egerer <thomas.egerer@secunet.com>
James Laird-Wah [Wed, 8 Feb 2017 08:20:52 +0000 (19:20 +1100)]
forecast: Mark correct port in UDP NAT-T rule
Closes strongswan/strongswan#62.
Tobias Brunner [Tue, 7 Feb 2017 15:01:25 +0000 (16:01 +0100)]
android: New release after adding translation for Simplified Chinese
Tobias Brunner [Mon, 23 Jan 2017 17:39:47 +0000 (18:39 +0100)]
android: Add translation for Simplified Chinese
Courtesy of Yick Xie.
Tobias Brunner [Tue, 25 Oct 2016 08:46:36 +0000 (10:46 +0200)]
settings: Fix purge if order differs from alphabetical order
Tobias Brunner [Wed, 1 Feb 2017 10:16:42 +0000 (11:16 +0100)]
eap-dynamic: Publish the get_auth() method of the wrapped EAP method
Fixes #2238.
Tobias Brunner [Mon, 5 Dec 2016 14:34:48 +0000 (15:34 +0100)]
pkcs11: Fix documentation of load_certs option
This option is actually module-specific.
Tobias Brunner [Mon, 14 Nov 2016 14:39:17 +0000 (15:39 +0100)]
ike-auth: Don't send INITIAL_CONTACT if remote ID contains wildcards
Such an identity won't equal an actual peer's identity resulting in
sending an INITIAL_CONTACT notify even if there might be an existing
IKE_SA.
Tobias Brunner [Thu, 15 Dec 2016 17:22:11 +0000 (18:22 +0100)]
proposal: Copy SPI and proposal number from correct proposal in select()
If charon.prefer_configured_proposals is disabled select() is called on
the received proposal. This incorrectly set the SPI to 0 as the
configured proposal has no SPI set.
Fixes #2190.
Tobias Brunner [Tue, 13 Dec 2016 16:27:26 +0000 (17:27 +0100)]
kernel-netlink: Set NODAD flag for virtual IPv6 addresses
The Optimistic Duplicate Address Detection (DAD) seems to fail in some
cases (`dadfailed` in `ip addr`) rendering the virtual IP address unusable.
Fixes #2183.
Tobias Brunner [Mon, 10 Oct 2016 08:00:19 +0000 (10:00 +0200)]
kernel-netlink: Prefer matching label when selecting IPv6 source addresses
This implements rule 6 of RFC 6724 using the default priority table,
so that e.g. global addresses are preferred over ULAs (which also have
global scope) when the destination is a global address.
Fixes #2138.
Tobias Brunner [Fri, 4 Nov 2016 09:14:30 +0000 (10:14 +0100)]
kernel-netlink: Use correct 4 byte alignment for AH with IPv4
By default, the kernel incorrectly uses an 8 byte alignment, which is
mandatory for IPv6 but prohibited for IPv4. For many algorithms this
doesn't matter but that's not the case for HMAC_SHA2_256_128.
Since 2.6.39 the kernel can be explicitly configured to use a 4 byte
alignment.
Thomas Egerer [Thu, 17 Nov 2016 16:00:37 +0000 (17:00 +0100)]
kernel-netlink: Allow change of Netlink socket receive buffer size
Signed-off-by: Thomas Egerer <thomas.egerer@secunet.com>
Tobias Brunner [Mon, 16 Jan 2017 16:01:33 +0000 (17:01 +0100)]
kernel-pfkey: Set state to SADB_SASTATE_MATURE when adding/updating SAs
Picky kernels might otherwise reject our messages as RFC 2367 explicitly
mandates this.
Fixes #2212.
Tobias Brunner [Fri, 7 Oct 2016 10:12:15 +0000 (12:12 +0200)]
kernel-pfroute: Don't set a gateway if it is of a different address family than the destination
Tobias Brunner [Wed, 16 Nov 2016 14:11:41 +0000 (15:11 +0100)]
libipsec: Add support for AES and Camellia in CCM mode
Fixes #2172.
Tobias Brunner [Fri, 23 Sep 2016 06:52:17 +0000 (08:52 +0200)]
libipsec: Fix Windows build via MinGW
Fixes #2118.
Tobias Brunner [Wed, 18 Jan 2017 13:51:57 +0000 (14:51 +0100)]
stroke: Default to %dynamic if no valid TS are specified in left|rightsubnet
Otherwise, we'd end up with an empty TS list, which is not valid.
Because end->tohost is set to !end->subnets in starter the removed branch was
never used.
Tobias Brunner [Wed, 18 Jan 2017 12:54:56 +0000 (13:54 +0100)]
init: Let systemd restart daemons if they get terminated unexpectedly
Fixes #2205.
Tobias Brunner [Wed, 18 Jan 2017 12:52:59 +0000 (13:52 +0100)]
init: Depend on network-online.target instead of network.target in systemd units
This makes sure the network is "up" before connections are
loaded/initiated.
Fixes #2205.
Tobias Brunner [Wed, 25 Jan 2017 13:58:24 +0000 (14:58 +0100)]
Merge branch 'charon-systemd-reload-loggers'
Allows reloading strongswan.conf, the loggers, and the plugins in
charon-systemd by sending a SIGHUP (as already supported by charon).
Loggers are now also reloaded by VICI's `reload-settings` command (works
with both daemons).
Fixes #2222.
Tobias Brunner [Mon, 23 Jan 2017 16:25:28 +0000 (17:25 +0100)]
vici: Reload loggers after reloading strongswan.conf via reload-setting command
Tobias Brunner [Mon, 23 Jan 2017 16:14:01 +0000 (17:14 +0100)]
daemon: Use separate method to set default loggers
This way it is not necessary to pass the same values to reload the
loggers.
Tobias Brunner [Mon, 16 Jan 2017 16:20:10 +0000 (17:20 +0100)]
charon-systemd: Handle SIGHUP the same way charon does
That is, reload strongswan.conf, the loggers and the plugins.
Tobias Brunner [Thu, 13 Oct 2016 16:39:09 +0000 (18:39 +0200)]
ha: Fix assignment of IP addresses if multiple pools are defined
Fixes #2146.
Tobias Brunner [Tue, 30 Aug 2016 12:30:19 +0000 (14:30 +0200)]
ha: Delete passive IKE_SA on other node after half-open timeout
Fixes #1192.
Thomas Egerer [Mon, 23 Jan 2017 15:04:38 +0000 (16:04 +0100)]
kernel-netlink: Return const pointer from lookup_algorithm()
Signed-off-by: Thomas Egerer <thomas.egerer@secunet.com>
Tobias Brunner [Fri, 20 Jan 2017 10:55:48 +0000 (11:55 +0100)]
Merge branch 'android-import'
Adds a VPN profile import feature.
Tobias Brunner [Fri, 20 Jan 2017 10:53:43 +0000 (11:53 +0100)]
android: New release after adding profile import functionality
Tobias Brunner [Tue, 17 Jan 2017 13:43:57 +0000 (14:43 +0100)]
android: Handle profile file names with dots in them
Tobias Brunner [Tue, 17 Jan 2017 10:14:33 +0000 (11:14 +0100)]
android: Handle errors when fetching profile in more detail
Tobias Brunner [Thu, 29 Dec 2016 16:35:57 +0000 (17:35 +0100)]
android: Add activity to import VPN profiles from JSON-encoded files
The file format is documented on the wiki.
URLs to .sswan files may be intercepted and downloaded files with a media
type of application/vnd.strongswan.profile may also be opened (the file
extension doesn't matter in that case). Whether downloaded files for which
the media type is not correct but the extension is .sswan can be opened
depends on the app that issues the Intent. For instance, from the default
Downloads app it won't work due to the content:// URLs that do not contain
the file name but when opening the downloaded file from within Chrome's
Downloads view it works as these Intents use file:// URLs, which contain
the complete file name (the latter requires a new permission).
Tobias Brunner [Thu, 29 Dec 2016 16:02:22 +0000 (17:02 +0100)]
android: Use a local broadcast to notify about profile changes
This allows other components to modify the profiles and notify about
changes.
Tobias Brunner [Tue, 27 Dec 2016 14:17:49 +0000 (15:17 +0100)]
android: Add a UUID property to the VPN profiles
All new or edited profiles get a random UUID. We currently don't
enforce one, though. Later we might change that and use the UUID as
primary key.
Tobias Brunner [Thu, 19 Jan 2017 17:40:00 +0000 (18:40 +0100)]
Merge branch 'ipsec-commands'
Fixes an issue with the ipsec script when used with sudo.
I'd usually rebase this but the commit ID was already referenced
elsewhere.
Tobias Brunner [Wed, 18 Jan 2017 14:44:06 +0000 (15:44 +0100)]
ipsec: Only allow specific commands to be executed via ipsec script
The previous fallback allowed running any executable as root if executing
ipsec via sudo was allowed, by using e.g. `sudo ipsec ../../../bin/sh`.
Tobias Brunner [Mon, 16 Jan 2017 10:28:10 +0000 (11:28 +0100)]
bliss: Increase timeout for sampler unit test
Fixes #2204.
Tobias Brunner [Tue, 27 Dec 2016 13:43:44 +0000 (14:43 +0100)]
android: Include ref10 subdirectory for curve25519 plugin
Fixes #2201.
Andreas Steffen [Mon, 2 Jan 2017 14:46:27 +0000 (15:46 +0100)]
Version bump to 5.5.2dr4
Andreas Steffen [Mon, 2 Jan 2017 13:35:39 +0000 (14:35 +0100)]
Merge branch 'disable_ocsp'
Andreas Steffen [Mon, 2 Jan 2017 13:32:46 +0000 (14:32 +0100)]
testing: Added swanctl/ocsp-disabled scenario
Andreas Steffen [Mon, 2 Jan 2017 13:08:21 +0000 (14:08 +0100)]
testing: Added swanctl/ocsp-signer-cert scenario
Andreas Steffen [Fri, 30 Dec 2016 17:12:53 +0000 (18:12 +0100)]
revocation: OCSP and/or CRL fetching can be disabled
Andreas Steffen [Thu, 29 Dec 2016 10:48:42 +0000 (11:48 +0100)]
testing: Convert swanctl scenarios to curve-25519
Andreas Steffen [Sat, 17 Dec 2016 17:10:13 +0000 (18:10 +0100)]
Version bump to 5.5.2dr3 and Linux kernel 4.9
Andreas Steffen [Sat, 17 Dec 2016 17:09:20 +0000 (18:09 +0100)]
testing: strongTNC does not come with django.db any more
Andreas Steffen [Sat, 17 Dec 2016 17:07:29 +0000 (18:07 +0100)]
testing: Added ikev2/net2net-
ed25519 scenario
Andreas Steffen [Sat, 17 Dec 2016 17:06:11 +0000 (18:06 +0100)]
stroke: Load general PKCS#8 private keys
Andreas Steffen [Fri, 16 Dec 2016 11:24:54 +0000 (12:24 +0100)]
Andreas Steffen [Tue, 13 Dec 2016 21:47:36 +0000 (22:47 +0100)]
Moved
Ed25519 tests to libstrongswan
Weilu Jia [Tue, 13 Dec 2016 02:17:10 +0000 (18:17 -0800)]
vici: Check for closed connection in Python bindings
The Python VICI library does not check if the socket is closed.
If the daemon closes the connection, _recvall() spins forever.
Closes strongswan/strongswan#56.
Andreas Steffen [Fri, 9 Dec 2016 11:56:15 +0000 (12:56 +0100)]
unit-tests: Completed coverage of hasher, crypter and libnttfft
Andreas Steffen [Fri, 9 Dec 2016 09:14:42 +0000 (10:14 +0100)]
Added swanctl/net2net-ed2559 scenario and needed
Ed25519 certificates
Andreas Steffen [Fri, 9 Dec 2016 08:38:15 +0000 (09:38 +0100)]
Implemented EdDSA for IKEv2 using a pro forma Identity hash function
Andreas Steffen [Fri, 2 Dec 2016 12:00:24 +0000 (13:00 +0100)]
Added
Ed25519 ref10 implementation from libsodium
Andreas Steffen [Mon, 14 Nov 2016 11:37:23 +0000 (12:37 +0100)]
Added support of EdDSA signatures
Tobias Brunner [Mon, 5 Dec 2016 14:07:59 +0000 (15:07 +0100)]
kernel-netlink: Add support for AES-CMAC-96 (RFC 4494)
The kernel apparently supports this since 3.10.
Tobias Brunner [Sat, 10 Dec 2016 11:28:09 +0000 (12:28 +0100)]
android: New release after re-adding support for ECC Brainpool curves
Tobias Brunner [Sat, 10 Dec 2016 11:26:31 +0000 (12:26 +0100)]
openssl: BoringSSL doesn't provide curve data for ECC Brainpool curves
Tobias Brunner [Fri, 9 Dec 2016 10:18:17 +0000 (11:18 +0100)]
android: New release after fixing libtpmtss issue
Tobias Brunner [Fri, 9 Dec 2016 10:16:42 +0000 (11:16 +0100)]
android: Make sure libtpmtss is loaded on older systems
On newer Android systems this seems to happen automatically (or does at
least not cause crashes if the library is not loaded).
Tobias Brunner [Thu, 8 Dec 2016 16:37:21 +0000 (17:37 +0100)]
android: New release after adding notification
Tobias Brunner [Thu, 8 Dec 2016 16:33:11 +0000 (17:33 +0100)]
Merge branch 'android-updates'
Adds a permanent notification while connected (or connecting), which
allows running as a foreground service, which in turn should prevent
Android from terminating the service when low on memory.
Also adds support for ChaCha20/Poly1305 AEAD and Curve25519 DH.
Tobias Brunner [Wed, 7 Dec 2016 16:52:33 +0000 (17:52 +0100)]
android: Ensure that the certificates are loaded when accessing them via JNI
Tobias Brunner [Wed, 7 Dec 2016 16:51:42 +0000 (17:51 +0100)]
android: Add a public notification
Tobias Brunner [Wed, 2 Nov 2016 17:26:43 +0000 (18:26 +0100)]
android: Display a permanent notification while connected
This forces the service to run in the foreground, meaning the system
won't kill it when low on memory.
Tobias Brunner [Wed, 2 Nov 2016 15:40:36 +0000 (16:40 +0100)]
android: Log any installed DNS servers
Tobias Brunner [Wed, 2 Nov 2016 15:35:50 +0000 (16:35 +0100)]
android: Unregister listener in case of error alerts
This avoids triggering additional errors via e.g. ike_updown() that
might cause the error message displayed in the GUI to change if the
status fragment is recreated.
References #2134.
Tobias Brunner [Wed, 2 Nov 2016 15:33:29 +0000 (16:33 +0100)]
android: Report an error for invalid integer values
Previously we'd just ignore the invalid values without notifying the
user.
Tobias Brunner [Tue, 6 Dec 2016 10:51:33 +0000 (11:51 +0100)]
android: Propose curve25519 in the ESP proposals
Tobias Brunner [Tue, 6 Dec 2016 10:51:19 +0000 (11:51 +0100)]
android: Enable curve25519 plugin in the app
Tobias Brunner [Tue, 6 Dec 2016 10:50:25 +0000 (11:50 +0100)]
android: Optionally build the curve25519 plugin
Tobias Brunner [Wed, 18 Nov 2015 10:31:14 +0000 (11:31 +0100)]
android: Propose ChaCha20/Poly1305 in the ESP AEAD proposals
Tobias Brunner [Wed, 18 Nov 2015 10:31:03 +0000 (11:31 +0100)]
android: Enable chapoly plugin in the app
Tobias Brunner [Wed, 18 Nov 2015 10:25:29 +0000 (11:25 +0100)]
android: Optionally build the chapoly plugin
Tobias Brunner [Tue, 20 Sep 2016 17:20:22 +0000 (19:20 +0200)]
android: Update Gradle plugin and wrapper
Thomas Egerer [Tue, 6 Dec 2016 12:24:59 +0000 (13:24 +0100)]
ikev1: Minor code optimization in task manager
Signed-off-by: Thomas Egerer <thomas.egerer@secunet.com>
Tobias Brunner [Fri, 2 Dec 2016 10:06:08 +0000 (11:06 +0100)]
travis: The xcode7.3 image is now the default
Tobias Brunner [Fri, 2 Dec 2016 10:05:30 +0000 (11:05 +0100)]
travis: Output config.log on failure
Tobias Brunner [Fri, 2 Dec 2016 09:55:13 +0000 (10:55 +0100)]
configure: Check for actual functions in libraries with AC_CHECK_LIB
Checking for `main` produces code like this in the test program:
int
main ()
{
return main ();
;
return 0;
}
This recursive call results in a warning message with some compilers (e.g.
Clang in newer Xcode versions: "all paths through this function will call
itself [-Winfinite-recursion]"), which lets the tests fail when compiling
with -Werror.
Tobias Brunner [Fri, 18 Nov 2016 11:16:34 +0000 (12:16 +0100)]
plugin-loader: Strip '!' from critical plugin names when setting paths
Thomas Egerer [Tue, 15 Nov 2016 17:27:55 +0000 (18:27 +0100)]
child-sa: Use single return statement in update_usebytes()
Signed-off-by: Thomas Egerer <thomas.egerer@secunet.com>
Martin Willi [Thu, 20 Oct 2016 05:12:32 +0000 (07:12 +0200)]
proposal: Remove RFC 5114 MODP DH groups from default proposal
Recent research demonstrates that at least for 1024-bit DH groups, it is
possible to create specially crafted primes having a backdoor. From the
prime itself this is not detectable, creating a perfect NOBUS attack.
http://eprint.iacr.org/2016/961
For the primes defined in RFC 5114 no information is provided on how these
have been selected. In the default proposal we included one of the 2048-bit
primes only, where it is questionable if constructing a backdoored prime is
feasible. Nevertheless, this patch removes the group from the set of default
proposals as well.
Andreas Steffen [Mon, 14 Nov 2016 15:20:10 +0000 (16:20 +0100)]
Version bump to 5.5.2dr2
Andreas Steffen [Tue, 8 Nov 2016 12:50:14 +0000 (13:50 +0100)]
testing: make curve25519 the default DH group
Tobias Brunner [Fri, 30 Sep 2016 12:40:48 +0000 (14:40 +0200)]
proposal: Add curve25519 and curve448 to default proposal
Tobias Brunner [Fri, 30 Sep 2016 12:39:18 +0000 (14:39 +0200)]
configure: Enable curve25519 plugin by default
Martin Willi [Tue, 7 Apr 2015 16:12:52 +0000 (18:12 +0200)]
curve22519: Add a portable backend implemented in plain C
Martin Willi [Fri, 8 Aug 2014 14:22:56 +0000 (16:22 +0200)]
curve25519: Add a plugin providing Curve25519 DH using backend drivers
Martin Willi [Tue, 7 Apr 2015 16:11:41 +0000 (18:11 +0200)]
dh-speed: Compare the shared secrets for equality after test
Martin Willi [Fri, 8 Aug 2014 14:26:27 +0000 (16:26 +0200)]
dh-speed: Include the get_my_public_value() call in public exponent timing
This fixes results where a DH backend does not generate the public value
in the constructor internally.
Martin Willi [Fri, 8 Aug 2014 14:26:03 +0000 (16:26 +0200)]
dh-speed: Add an identifier to test curve25519 performance
Martin Willi [Thu, 9 Apr 2015 13:19:42 +0000 (15:19 +0200)]
test-vectors: Add a Curve25519 DH test vector
Martin Willi [Fri, 8 Aug 2014 14:20:59 +0000 (16:20 +0200)]
proposal: Add a curve25519 proposal keyword
Martin Willi [Fri, 8 Aug 2014 14:20:31 +0000 (16:20 +0200)]
diffie-hellman: Add DH group identifiers for Curve25519 and Curve448
Tobias Brunner [Mon, 14 Nov 2016 14:15:11 +0000 (15:15 +0100)]
bus: Re-add ampersand that got lost in refactoring
Fixes: 4af02c6c61cf ("bus: Fix maximum log level for different groups
after removal of a logger")
Tobias Brunner [Fri, 11 Nov 2016 14:30:54 +0000 (15:30 +0100)]
peer-cfg: Fix memory leak when replacing child configs
Fixes: 622c2b2c3386 ("peer-cfg: Add method to atomically replace child
configs")
Tobias Brunner [Wed, 9 Nov 2016 17:29:46 +0000 (18:29 +0100)]
bus: Fix maximum log level for different groups after removal of a logger
The log level was incorrectly set to the same value for all groups.
Fixes: dac15e03c828 ("bus: Fix maximum log levels when mixing log/vlog
implementing loggers")