Andreas Steffen [Tue, 19 Jun 2012 04:18:05 +0000 (06:18 +0200)]
sleep one second more
Andreas Steffen [Tue, 19 Jun 2012 04:17:37 +0000 (06:17 +0200)]
use socket-default in scenario
Andreas Steffen [Mon, 18 Jun 2012 20:51:50 +0000 (22:51 +0200)]
added ikev1/xauth-id-rsa-hybrid scenario
Andreas Steffen [Mon, 18 Jun 2012 20:30:26 +0000 (22:30 +0200)]
added ikev1/xauth-id-rsa-aggressive scenario
Andreas Steffen [Mon, 18 Jun 2012 20:11:18 +0000 (22:11 +0200)]
added secret as valid authby argument
Andreas Steffen [Mon, 18 Jun 2012 20:03:36 +0000 (22:03 +0200)]
rsasig is not recognized as authentication method
Andreas Steffen [Mon, 18 Jun 2012 19:34:48 +0000 (21:34 +0200)]
enable potentially unsafe aggressive mode
Andreas Steffen [Mon, 18 Jun 2012 19:22:01 +0000 (21:22 +0200)]
change ikev1/xauth scenarios to modern notation
Tobias Brunner [Fri, 15 Jun 2012 13:19:23 +0000 (15:19 +0200)]
testing: List IPv6 routing table in IPv6 test cases.
Tobias Brunner [Fri, 15 Jun 2012 10:50:30 +0000 (12:50 +0200)]
NLM_F_DUMP includes NLM_F_ROOT.
Tobias Brunner [Fri, 15 Jun 2012 10:27:26 +0000 (12:27 +0200)]
Don't create roam jobs based on cached/cloned routes.
Tobias Brunner [Fri, 15 Jun 2012 09:43:21 +0000 (11:43 +0200)]
Don't compare ports when comparing cached routes.
At least src_ip has a port set sometimes.
Tobias Brunner [Fri, 15 Jun 2012 08:32:15 +0000 (10:32 +0200)]
starter: Fixed parsing of %defaultroute.
Martin Willi [Thu, 14 Jun 2012 12:46:48 +0000 (14:46 +0200)]
Adopt children as XAuth initiator (which is IKE responder)
Martin Willi [Thu, 14 Jun 2012 08:57:29 +0000 (10:57 +0200)]
Added 5.0 NEWS about IKEv1 in charon
Martin Willi [Wed, 13 Jun 2012 10:18:25 +0000 (12:18 +0200)]
Print the kind of *Swan during starter startup
Martin Willi [Wed, 13 Jun 2012 10:11:55 +0000 (12:11 +0200)]
Show what kind of *Swan we run in "ipsec status"
Martin Willi [Wed, 13 Jun 2012 07:32:28 +0000 (09:32 +0200)]
Require a scary option to respond to Aggressive Mode PSK requests
While Aggressive Mode PSK is widely used, it is known to be subject
to dictionary attacks by passive attackers. We don't complain as
initiator to be compatible with existing (insecure) setups, but
require a scary strongswan.conf option if someone wants to use it
as responder.
Andreas Steffen [Thu, 14 Jun 2012 05:55:12 +0000 (07:55 +0200)]
thanks to narrowing treat right|leftsubnetwithin as synonyms for right|leftsubnet
Andreas Steffen [Wed, 13 Jun 2012 19:19:05 +0000 (21:19 +0200)]
removed plutostart parameter
Tobias Brunner [Wed, 13 Jun 2012 13:08:14 +0000 (15:08 +0200)]
scepclient: Fixed Makefile after removing enable-smartcard configure option.
Tobias Brunner [Wed, 13 Jun 2012 13:02:10 +0000 (15:02 +0200)]
Use proper defines for IPV6_PKTINFO on Mac OS X Lion and newer.
Tobias Brunner [Wed, 13 Jun 2012 10:24:23 +0000 (12:24 +0200)]
Some updates to the INSTALL document.
Tobias Brunner [Wed, 13 Jun 2012 09:33:32 +0000 (11:33 +0200)]
Removed remaining pluto related configure options.
Tobias Brunner [Tue, 12 Jun 2012 11:59:05 +0000 (13:59 +0200)]
starter: Print additional help texts for selected deprecated keywords.
Tobias Brunner [Tue, 12 Jun 2012 11:57:47 +0000 (13:57 +0200)]
starter: Improved how deprecated keywords are handled.
We only throw a warning now instead of rejecting the config.
Tobias Brunner [Tue, 12 Jun 2012 09:42:00 +0000 (11:42 +0200)]
Revert "starter: Don't treat unsupported keywords as fatal errors just report them."
This reverts commit
e55876a657ae9d4bbf14320e5a14f86cc5c31c7f.
Martin Willi [Tue, 12 Jun 2012 12:43:55 +0000 (14:43 +0200)]
NEWS about specifying trustchain HASH algorithm requirements
Martin Willi [Mon, 11 Jun 2012 13:48:03 +0000 (15:48 +0200)]
Add documentation for signature hash algorithm enforcing to man ipsec.conf
Martin Willi [Fri, 8 Jun 2012 15:04:14 +0000 (17:04 +0200)]
Added signature scheme options left/rightauth
Martin Willi [Tue, 12 Jun 2012 12:19:11 +0000 (14:19 +0200)]
Support multiple different public key strength types in constraints
Martin Willi [Mon, 11 Jun 2012 12:52:37 +0000 (14:52 +0200)]
Add signature schemes to auth_cfg during trustchain validation
Martin Willi [Mon, 11 Jun 2012 12:33:34 +0000 (14:33 +0200)]
certificate_t->issued_by takes an argument to receive signature scheme
Martin Willi [Fri, 8 Jun 2012 14:47:08 +0000 (16:47 +0200)]
Define auth_cfg rules for signature schemes
Tobias Brunner [Tue, 12 Jun 2012 08:12:53 +0000 (10:12 +0200)]
starter: Fixed parsing of left|right=%any.
Andreas Steffen [Tue, 12 Jun 2012 08:00:21 +0000 (10:00 +0200)]
deleted IKEv1 charon-pluto interoperability scenarios
Tobias Brunner [Wed, 16 May 2012 15:18:27 +0000 (17:18 +0200)]
starter: Fix comparison of connections.
Tobias Brunner [Wed, 16 May 2012 14:56:49 +0000 (16:56 +0200)]
starter: Removed all unsupported keywords.
Tobias Brunner [Wed, 16 May 2012 14:25:32 +0000 (16:25 +0200)]
starter: Don't treat unsupported keywords as fatal errors just report them.
Tobias Brunner [Tue, 15 May 2012 14:59:00 +0000 (16:59 +0200)]
Bye bye Pluto!
Charon will take over IKEv1 duties from here. This also removes
libfreeswan and whack.
Tobias Brunner [Tue, 15 May 2012 15:12:59 +0000 (17:12 +0200)]
_copyright: Replicate copyright text here instead of calling libfreeswan.
Tobias Brunner [Tue, 15 May 2012 14:37:02 +0000 (16:37 +0200)]
starter: Remove all ties to pluto/libfreeswan.
Moved some types/constants in the process.
Tobias Brunner [Tue, 15 May 2012 14:31:46 +0000 (16:31 +0200)]
starter: Use custom type for SA specific options (flags).
Tobias Brunner [Tue, 15 May 2012 14:20:15 +0000 (16:20 +0200)]
starter: Parse left|rightprotoport directly in confread.c.
Tobias Brunner [Tue, 15 May 2012 13:10:23 +0000 (15:10 +0200)]
starter: No special handling for left|rightsubnet, just pass it on as string.
Tobias Brunner [Tue, 15 May 2012 13:04:11 +0000 (15:04 +0200)]
starter: Use host_t to parse left|rightsourceip.
Also for the yet unused natip option.
Tobias Brunner [Tue, 15 May 2012 13:00:15 +0000 (15:00 +0200)]
starter: Remove left|rightsubnetwithin option (charon narrows left|rightsubnet down accordingly).
Tobias Brunner [Tue, 15 May 2012 11:51:59 +0000 (13:51 +0200)]
starter: Don't resolve any addresses in starter.
Also removed remains of some unknown iface option.
Tobias Brunner [Tue, 15 May 2012 11:26:49 +0000 (13:26 +0200)]
starter: Removed pfs and pfsgroup options (handled via esp option).
Tobias Brunner [Tue, 15 May 2012 11:12:45 +0000 (13:12 +0200)]
starter: Store mode of the IPsec SA/policy in a separate member.
Tobias Brunner [Tue, 15 May 2012 08:41:08 +0000 (10:41 +0200)]
starter: Use custom type to mark seen keywords.
Tobias Brunner [Mon, 14 May 2012 16:27:53 +0000 (18:27 +0200)]
starter: Remove left|rightnexthop option.
Charon does this lookup dynamically.
Tobias Brunner [Mon, 14 May 2012 16:04:09 +0000 (18:04 +0200)]
Implement strdupnull() macro as static inline function.
This avoids compiler warnings if the argument is a const char*.
Tobias Brunner [Mon, 14 May 2012 15:50:34 +0000 (17:50 +0200)]
starter: Replaced all usages of clone_str() with strdupnull().
Tobias Brunner [Mon, 14 May 2012 15:36:46 +0000 (17:36 +0200)]
starter: Parse authby as string.
Tobias Brunner [Mon, 14 May 2012 15:33:03 +0000 (17:33 +0200)]
starter: Remove main parts of pluto support (invoke, whack).
Tobias Brunner [Mon, 14 May 2012 10:17:50 +0000 (12:17 +0200)]
starter: Drop support for %defaultroute.
Tobias Brunner [Mon, 14 May 2012 09:22:57 +0000 (11:22 +0200)]
starter: Migrated logging to libstrongswan.
Tobias Brunner [Mon, 14 May 2012 09:01:35 +0000 (11:01 +0200)]
starter: Remove unneeded starter_exec function.
Tobias Brunner [Fri, 1 Jun 2012 13:25:59 +0000 (15:25 +0200)]
scepclient: Option added to read PKCS#10 certificate request from a file.
Tobias Brunner [Fri, 1 Jun 2012 12:43:12 +0000 (14:43 +0200)]
scepclient: Option added to read self-signed certificate from a file.
Tobias Brunner [Wed, 30 May 2012 13:04:31 +0000 (15:04 +0200)]
scepclient: Generate uppercase transaction ID.
Tobias Brunner [Wed, 30 May 2012 13:02:32 +0000 (15:02 +0200)]
scepclient: Use HTTP 1.0 for all requests.
Tobias Brunner [Wed, 30 May 2012 12:54:51 +0000 (14:54 +0200)]
scepclient: Options added to specify digest/signature algorithms.
Also changed the defaults to DES/MD5 as that's what should be used
if GetCACaps is not used to learn the issuers capabilities.
Tobias Brunner [Wed, 30 May 2012 12:46:24 +0000 (14:46 +0200)]
Added function to convert integrity algorithms to hash algorithms (if based on one).
Tobias Brunner [Sat, 12 May 2012 16:21:32 +0000 (18:21 +0200)]
Properly encode 0 in ASN.1.
According to X.690 an INTEGER object always has at least one content
octet.
Tobias Brunner [Fri, 11 May 2012 14:05:55 +0000 (16:05 +0200)]
Don't use chunk_skip() in asn1_length().
chunk_skip() returns chunk_empty if the length of the chunk is equal to
the number of bytes to skip, this is problematic as asn1_length() modifies
the original chunk. asn1_parser_t for instance uses the modified chunk to
later calculate the length of the resulting ASN.1 object which produces
incorrect results if it is based on chunk_empty.
Tobias Brunner [Sat, 12 May 2012 16:15:50 +0000 (18:15 +0200)]
Changed memory management and call logic in PKCS#7 parser/generator.
Tobias Brunner [Fri, 11 May 2012 15:28:03 +0000 (17:28 +0200)]
Changed memory management and attribute handling in PKCS#9 wrapper.
Tobias Brunner [Fri, 11 May 2012 07:47:56 +0000 (09:47 +0200)]
scepclient: Also number CA certificates in case there is more than one.
Also, only number them if there are multiple certificates.
Tobias Brunner [Thu, 10 May 2012 16:16:08 +0000 (18:16 +0200)]
scepclient: Store received RA certificates, using CA cert name as base.
Tobias Brunner [Fri, 11 May 2012 18:31:19 +0000 (20:31 +0200)]
scepclient: Use pkcs7_t and pkcs9_t, remove all dependencies to pluto/libfreeswan.
Tobias Brunner [Fri, 4 May 2012 17:29:59 +0000 (19:29 +0200)]
Added get_attributes() method to pkcs7_t.
Tobias Brunner [Fri, 4 May 2012 17:29:07 +0000 (19:29 +0200)]
scepclient: Local generation of file names.
Tobias Brunner [Fri, 4 May 2012 17:26:31 +0000 (19:26 +0200)]
scepclient: Replaced usages of datatot().
Tobias Brunner [Fri, 4 May 2012 13:27:06 +0000 (15:27 +0200)]
scepclient: Migrated logging to libstrongswan.
Tobias Brunner [Fri, 4 May 2012 13:22:43 +0000 (15:22 +0200)]
Log group added for applications other than daemons.
Tobias Brunner [Fri, 4 May 2012 12:17:59 +0000 (14:17 +0200)]
scepclient: Some code cleanup.
Tobias Brunner [Fri, 4 May 2012 10:50:21 +0000 (12:50 +0200)]
Updated PKCS#7 parser/generator in libstrongswan.
Added some functionality from pluto's version, updated usage of asn1
and crypto primitives. It does compile but is not really tested yet.
Andreas Steffen [Sat, 9 Jun 2012 12:06:45 +0000 (14:06 +0200)]
added missing parameter in get_my_addr() and get_other_addr() calls
Andreas Steffen [Sat, 9 Jun 2012 12:05:08 +0000 (14:05 +0200)]
version bump to 5.0.0rc1
Andreas Steffen [Fri, 8 Jun 2012 20:54:12 +0000 (22:54 +0200)]
added ikev1/dynamic scenarios using allow-any
Andreas Steffen [Fri, 8 Jun 2012 20:34:49 +0000 (22:34 +0200)]
removed whitespace
Andreas Steffen [Fri, 8 Jun 2012 19:52:20 +0000 (21:52 +0200)]
added ikev2/dynamic-two-peers scenario
Andreas Steffen [Fri, 8 Jun 2012 19:21:28 +0000 (21:21 +0200)]
added ikev2/dynamic-responder scenario
Andreas Steffen [Fri, 8 Jun 2012 14:12:15 +0000 (16:12 +0200)]
added ikev2/dynamic-initiator scenario
Andreas Steffen [Fri, 8 Jun 2012 11:01:08 +0000 (13:01 +0200)]
implemented the right|leftallowany feature
Martin Willi [Fri, 8 Jun 2012 14:15:22 +0000 (16:15 +0200)]
Enforce uniqueness policy in IKEv1 main and aggressive modes
Tobias Brunner [Thu, 7 Jun 2012 10:02:14 +0000 (12:02 +0200)]
starter: Go back to single threaded mode.
Mixing multiple threads and fork(2) wasn't a very good idea it seems.
At least in some environments this caused strange side-effects.
Tobias Brunner [Thu, 7 Jun 2012 10:00:37 +0000 (12:00 +0200)]
Disabled listening for kernel events in starter.
Martin Willi [Fri, 8 Jun 2012 08:35:02 +0000 (10:35 +0200)]
Try to rekey without KE exchange if peer returns INVALID_KE_PAYLOAD(NONE)
According to RFC5996, implementations should just ignore the KE payload
if they select a non-PFS proposals. Some implementations don't, but
return MODP_NONE in INVALID_KE_PAYLOAD, hence we accept that, too.
Martin Willi [Fri, 8 Jun 2012 08:18:52 +0000 (10:18 +0200)]
While checking for redundant quick modes, compare traffic selectors
If a configuration is instanced more than once using narrowing,
we should keep all unique quick modes up during rekeying.
Martin Willi [Tue, 5 Jun 2012 14:16:07 +0000 (16:16 +0200)]
Store shorter soft lifetime of in- and outbound SAs only
Martin Willi [Tue, 5 Jun 2012 13:32:28 +0000 (15:32 +0200)]
Initiate quick mode rekeying with narrowed traffic selectors
Martin Willi [Tue, 5 Jun 2012 13:27:34 +0000 (15:27 +0200)]
Use traffic selectors passed to quick mode constructor as initiator
Martin Willi [Tue, 5 Jun 2012 13:03:10 +0000 (15:03 +0200)]
Instead of rekeying, delete a quick mode if we have a fresher instance
If both peers initiate quick mode rekeying simultaneously, we end up
with duplicate SAs for a configuration. This can't be avoided, nor do
the standards provide an appropriate solution. Instead of closing one
SA immediately, we keep both. But once rekeying triggers, we don't
refresh the SA with the shorter soft lifetime, but delete it.
Tobias Brunner [Thu, 7 Jun 2012 14:50:11 +0000 (16:50 +0200)]
Properly handle empty RDN values in DN strings.
Tobias Brunner [Thu, 7 Jun 2012 12:36:17 +0000 (14:36 +0200)]
Properly install policies with ports in PF_KEY kernel interface.
Martin Willi [Wed, 6 Jun 2012 14:00:58 +0000 (16:00 +0200)]
As responder, enforce the same configuration while rekeying CHILD_SAs
Tobias Brunner [Wed, 6 Jun 2012 12:23:25 +0000 (14:23 +0200)]
starter: Only handle SIGCHLD asynchronously and the rest in pselect(2).