]>
git.ipfire.org Git - thirdparty/strongswan.git/log
Tobias Brunner [Fri, 21 Sep 2012 05:58:37 +0000 (07:58 +0200)]
Properly handle thread cancelation in rwlock_condvar_t
Tobias Brunner [Fri, 21 Sep 2012 06:06:40 +0000 (08:06 +0200)]
Use an rwlock in kernel-pfroute too
Tobias Brunner [Thu, 20 Sep 2012 16:21:42 +0000 (18:21 +0200)]
Use rwlock and rwlock_condvar to increase concurrency in kernel-netlink plugin
Tobias Brunner [Thu, 20 Sep 2012 16:06:01 +0000 (18:06 +0200)]
Use a separate mutex for cached routes in kernel-netlink plugin
Tobias Brunner [Thu, 20 Sep 2012 15:56:20 +0000 (17:56 +0200)]
Added a condvar implementation that works with rwlock_t
Tobias Brunner [Thu, 20 Sep 2012 09:58:52 +0000 (11:58 +0200)]
Use a lock to safely check and update the time for the next roam event
Tobias Brunner [Thu, 20 Sep 2012 09:07:15 +0000 (11:07 +0200)]
Added an option to configure the interface on which virtual IP addresses are installed
Tobias Brunner [Wed, 19 Sep 2012 17:10:23 +0000 (19:10 +0200)]
Changed how kernel-netlink handles virtual IP addresses
Also tried to avoid the use of enumerators.
Tobias Brunner [Mon, 17 Sep 2012 17:04:51 +0000 (19:04 +0200)]
Made IP address enumeration more flexible
Also added an option to enumerate addresses on ignored interfaces.
Tobias Brunner [Fri, 21 Sep 2012 06:49:59 +0000 (08:49 +0200)]
Avoid calculating the hash if hashtable is empty
Tobias Brunner [Mon, 17 Sep 2012 16:09:51 +0000 (18:09 +0200)]
Use a hashtable to quickly check for usable IP addresses/interfaces
Tobias Brunner [Fri, 14 Sep 2012 14:43:54 +0000 (16:43 +0200)]
Drop packets received on ignored interfaces
Tobias Brunner [Fri, 14 Sep 2012 14:43:08 +0000 (16:43 +0200)]
Filter ignored interfaces in kernel interfaces (for events, address enumeration, etc.)
Tobias Brunner [Fri, 14 Sep 2012 14:30:06 +0000 (16:30 +0200)]
%any is never on a local interface
Tobias Brunner [Fri, 14 Sep 2012 14:14:57 +0000 (16:14 +0200)]
Avoid memset in is_anyaddr()
Tobias Brunner [Fri, 14 Sep 2012 14:27:33 +0000 (16:27 +0200)]
Make it easy to check if an address is locally usable via changed get_interface() method
Tobias Brunner [Fri, 14 Sep 2012 13:03:09 +0000 (15:03 +0200)]
Don't ignore loopback devices and allow addresses on them being enumerated
Tobias Brunner [Fri, 14 Sep 2012 12:43:17 +0000 (14:43 +0200)]
Added options and a lookup function that will allow filtering of network interfaces
Tobias Brunner [Fri, 14 Sep 2012 10:06:02 +0000 (12:06 +0200)]
Make streq() and strcaseeq() static inline functions so they can be used as callbacks
Tobias Brunner [Tue, 18 Sep 2012 15:55:38 +0000 (17:55 +0200)]
Use source address in get_nexthop() call
Otherwise the nexthop returned might belong to a different route than
the one actually used with the current source address.
Tobias Brunner [Wed, 12 Oct 2011 13:52:18 +0000 (15:52 +0200)]
Source address lookup refactored
Routes matching the destination are now first parsed and sorted by network
prefix length. This list is then used to search for the best route with
a matching preferred source address (if one is specified). This makes sure
we really check all routes for that address.
Tobias Brunner [Fri, 30 Sep 2011 15:41:01 +0000 (17:41 +0200)]
Check routes with equal prefix if preferred source is specified
Tobias Brunner [Fri, 9 Sep 2011 14:07:40 +0000 (16:07 +0200)]
Try to find preferred source on interface if returned source does not match
Tobias Brunner [Thu, 1 Sep 2011 09:33:13 +0000 (11:33 +0200)]
Try to keep the given source address when looking up routes
This allows to pin the local end of an IKE_SA to an address that is not the
physical address of an interface. Without this patch the local address would
change to the physical address when roam events occur.
Tobias Brunner [Fri, 21 Sep 2012 16:13:42 +0000 (18:13 +0200)]
Make sure we propose a dynamic TS if we don't have hosts to derive a TS from
7ee37114 removed this behavior.
Tobias Brunner [Fri, 21 Sep 2012 07:34:10 +0000 (09:34 +0200)]
Move rw-eap-dynamic scenario to its proper location
Martin Willi [Thu, 20 Sep 2012 09:04:55 +0000 (11:04 +0200)]
In mem_pool, check for an existing ID entry before creating a new one
Martin Willi [Tue, 18 Sep 2012 15:22:30 +0000 (17:22 +0200)]
Merge branch 'unity'
Add Cisco Unity extension support implemented in a dedicated plugin.
Martin Willi [Mon, 17 Sep 2012 14:23:10 +0000 (16:23 +0200)]
Add a simple test case for the unity plugin, featuring both includes and excludes
Martin Willi [Mon, 17 Sep 2012 13:39:29 +0000 (15:39 +0200)]
Build unity plugin in strongSwan test suite
Martin Willi [Mon, 17 Sep 2012 09:48:31 +0000 (11:48 +0200)]
Add unity plugin NEWS
Martin Willi [Mon, 17 Sep 2012 09:43:11 +0000 (11:43 +0200)]
Update ipsec.conf.5, leftsubnet can handle multiple subnets in IKEv1 with Unity
Martin Willi [Mon, 17 Sep 2012 12:30:35 +0000 (14:30 +0200)]
As Unity responder, don't change the proposed TS at all, racoon doesn't like that
Martin Willi [Thu, 13 Sep 2012 13:57:39 +0000 (15:57 +0200)]
Don't complain about multiple TS in IKEv1, as it supported with Unity
Martin Willi [Thu, 13 Sep 2012 13:57:06 +0000 (15:57 +0200)]
As initiator, narrow received Unity attributes to configured TS
Martin Willi [Thu, 13 Sep 2012 13:38:04 +0000 (15:38 +0200)]
When using Unity, bump up remote TS as initiator to 0.0.0.0/0, too
Martin Willi [Thu, 13 Sep 2012 13:09:21 +0000 (15:09 +0200)]
Enable Cisco Unity only if Unity vendor id received
Martin Willi [Tue, 24 Jul 2012 11:23:48 +0000 (13:23 +0200)]
Exchange 0.0.0.0/0 traffic selectors with Unity, narrowing after exchange
Martin Willi [Tue, 24 Jul 2012 10:21:25 +0000 (12:21 +0200)]
Add a Unity attribute provider that adds Split-Includes for TS
Martin Willi [Tue, 24 Jul 2012 10:20:32 +0000 (12:20 +0200)]
Check if subset calculation actually yields a TS in Unity narrowing
Martin Willi [Tue, 24 Jul 2012 08:55:46 +0000 (10:55 +0200)]
Request Unity configuration attributes for IKEv1 only
Martin Willi [Mon, 23 Jul 2012 15:14:47 +0000 (17:14 +0200)]
Add Cisco Unity client support for Split-Include and Local-LAN
Martin Willi [Tue, 18 Sep 2012 14:31:15 +0000 (16:31 +0200)]
Add a road-warrior test case requesting both an IPv4 and an IPv6 virtual address
Martin Willi [Tue, 18 Sep 2012 10:46:36 +0000 (12:46 +0200)]
Derive a dynamic TS to multiple virtual IPs
Martin Willi [Tue, 18 Sep 2012 10:44:59 +0000 (12:44 +0200)]
Use the vararg list constructor in quick mode task
Martin Willi [Tue, 18 Sep 2012 10:43:31 +0000 (12:43 +0200)]
Add a linked list constructor taking items from a vararg list
Tobias Brunner [Tue, 18 Sep 2012 14:56:17 +0000 (16:56 +0200)]
Make stroke user-creds work with XAuth configs
Tobias Brunner [Tue, 18 Sep 2012 14:11:53 +0000 (16:11 +0200)]
Fix Doxygen comment for proposal_keywords_t
Two dots seem to mark the end of a list.
Tobias Brunner [Tue, 18 Sep 2012 13:29:29 +0000 (15:29 +0200)]
New Android release after fixing IDr problems
Tobias Brunner [Tue, 18 Sep 2012 12:57:05 +0000 (14:57 +0200)]
Use random ports in NetworkManager backend
Tobias Brunner [Tue, 18 Sep 2012 10:47:17 +0000 (12:47 +0200)]
Fix equality comparison of auth_cfg_t
We previously only confirmed that rules contained in the first config are also
contained in the second, but since the number of rules does not have to
be equal, it might be that the second config contains rules that the
first one doesn't.
Tobias Brunner [Tue, 18 Sep 2012 09:45:12 +0000 (11:45 +0200)]
Set AUTH_RULE_IDENTITY_LOOSE for rightid=%<identity>
Tobias Brunner [Tue, 18 Sep 2012 12:39:45 +0000 (14:39 +0200)]
Use AUTH_RULE_IDENTITY_LOOSE in NetworkManager backend
Tobias Brunner [Tue, 18 Sep 2012 09:21:49 +0000 (11:21 +0200)]
android: Use AUTH_RULE_IDENTITY_LOOSE
Tobias Brunner [Tue, 18 Sep 2012 09:16:10 +0000 (11:16 +0200)]
Add AUTH_RULE_IDENTITY_LOOSE which allows to use IDr loosely as initiator
If it is set on an auth config IDr will not be sent, and later the configured
identity will not only be checked against the returned IDr, but also
against other identities contained in the responder's certificate.
Tobias Brunner [Mon, 17 Sep 2012 08:55:10 +0000 (10:55 +0200)]
New Android release after fixing Unicode conversion bug
Tobias Brunner [Mon, 17 Sep 2012 08:30:39 +0000 (10:30 +0200)]
android: Fix conversion of actual Unicode strings (i.e. bytes!=chars)
Tobias Brunner [Fri, 14 Sep 2012 12:10:14 +0000 (14:10 +0200)]
Removed the unneeded socket-raw plugin
Tobias Brunner [Fri, 14 Sep 2012 07:07:21 +0000 (09:07 +0200)]
Change traffic selectors during Quick Mode in case of a NAT in transport mode
Windows 7 sends its internal address as TSi. While we don't support the
NAT-T drafts as used by Windows XP it is interesting to note that the
client there omits the TSi payload which then would automatically get set
to the public IP address of the client.
Fixes #220.
Tobias Brunner [Thu, 13 Sep 2012 13:50:52 +0000 (15:50 +0200)]
Merge branch 'custom-crypto'
This provides plugins with an interface to register keywords for
proposals (e.g. when parsing the esp and ike options from ipsec.conf)
and the possibility to register identifiers for kernel algorithms.
It is based on patches contributed by Nanoteq Pty Ltd.
Tobias Brunner [Thu, 13 Sep 2012 13:22:37 +0000 (15:22 +0200)]
Added algorithm lookup via kernel_interface_t to the various kernel interfaces
Tobias Brunner [Thu, 13 Sep 2012 12:36:04 +0000 (14:36 +0200)]
Added possibility to register custom kernel algorithms to kernel interface
Tobias Brunner [Thu, 13 Sep 2012 12:22:08 +0000 (14:22 +0200)]
Added possibility to register custom proposal keywords
Keyword lookup and registration are handled via the new lib->proposal object.
Tobias Brunner [Thu, 13 Sep 2012 11:39:33 +0000 (13:39 +0200)]
Removed len argument from proposal_get_token()
Also use enumerators instead of lexparser.h to parse proposal strings.
Tobias Brunner [Thu, 13 Sep 2012 10:30:22 +0000 (12:30 +0200)]
Make arguments for enumerator_create_token|directory const
Francois ten Krooden [Fri, 24 Aug 2012 12:56:42 +0000 (14:56 +0200)]
Moved proposal_keywords to proposal_keywords_static
Added new proposal keywords with function to reference the static keywords.
Tobias Brunner [Thu, 5 Jul 2012 17:06:44 +0000 (19:06 +0200)]
Option added to enforce a configured destination address for DHCP packets
Andreas Steffen [Wed, 12 Sep 2012 21:56:12 +0000 (23:56 +0200)]
version bump to 5.0.1rc1
Tobias Brunner [Wed, 12 Sep 2012 16:10:04 +0000 (18:10 +0200)]
Allow calls to set_address() for any host-sized TS, not only dynamic ones
This fixes CHILD_SA updates (e.g. due to MOBIKE), which were broken
since
4cb0783 .
Tobias Brunner [Wed, 12 Sep 2012 16:07:41 +0000 (18:07 +0200)]
Ensure traffic selectors are dynamic before calling set_address() when deriving them
Tobias Brunner [Wed, 12 Sep 2012 15:40:36 +0000 (17:40 +0200)]
Consistently log XFRM mark masks with 0 prefix in kernel-netlink plugin
Tobias Brunner [Wed, 12 Sep 2012 15:11:54 +0000 (17:11 +0200)]
starter: Added --nolog option to suppress logging in starter itself
Fixes #224.
Tobias Brunner [Wed, 12 Sep 2012 14:52:56 +0000 (16:52 +0200)]
Updates to strongswan.conf(5) man page (added several missing options)
Tobias Brunner [Wed, 12 Sep 2012 13:44:00 +0000 (15:44 +0200)]
Some updates to ipsec.conf(5) man page
Tobias Brunner [Wed, 12 Sep 2012 13:31:02 +0000 (15:31 +0200)]
starter: Allow %any also for protocol in left|rightprotoport
Martin Willi [Thu, 30 Aug 2012 09:13:02 +0000 (11:13 +0200)]
Don't allow NULL encryption with PEAP
Martin Willi [Thu, 30 Aug 2012 09:46:14 +0000 (11:46 +0200)]
Use memmove on overlapping regions, and operate with correct sizeof()
Martin Willi [Thu, 30 Aug 2012 09:14:01 +0000 (11:14 +0200)]
Whitespace cleanups in tls_eap
Martin Willi [Wed, 12 Sep 2012 10:02:11 +0000 (12:02 +0200)]
Use uintptr_t in mem pool to avoid compiler warning if sizeof(void*) != sizeof(int)
Andreas Steffen [Wed, 12 Sep 2012 10:42:24 +0000 (12:42 +0200)]
ikev1 hybrid authentication does not need client certificates
Andreas Steffen [Wed, 12 Sep 2012 10:26:39 +0000 (12:26 +0200)]
corrected topology in ikev2/rw-radius-accounting scenario
Andreas Steffen [Wed, 12 Sep 2012 10:15:17 +0000 (12:15 +0200)]
added ikev2/rw-eap-dynamic scenario
Martin Willi [Tue, 11 Sep 2012 15:20:17 +0000 (17:20 +0200)]
Always send a configuration payload in IKEv1 TRANSACTIONs, even if it is empty
Martin Willi [Tue, 11 Sep 2012 10:56:29 +0000 (12:56 +0200)]
Don't use host address for dynamic TS in IKEv1 if a virtual IP was expected
Martin Willi [Tue, 11 Sep 2012 10:38:45 +0000 (12:38 +0200)]
Don't use host address for dynamic TS in IKEv2 if a virtual IP was expected
Martin Willi [Tue, 11 Sep 2012 10:46:31 +0000 (12:46 +0200)]
Don't return a subset for a dynamic TS unless set_address has been called
Martin Willi [Tue, 11 Sep 2012 10:20:37 +0000 (12:20 +0200)]
Send FAILED_CP_REQUIRED if a configuration payload was expected, but not received
Martin Willi [Tue, 11 Sep 2012 09:33:42 +0000 (11:33 +0200)]
Check for an existing lease in all stroke pools before creating a new one
Martin Willi [Tue, 11 Sep 2012 09:19:56 +0000 (11:19 +0200)]
Pass full pool list to release_address
Martin Willi [Tue, 11 Sep 2012 08:41:11 +0000 (10:41 +0200)]
Pass the full list of pools to acquire_address, enumerate in providers
If the provider has access to the full pool list, it can enumerate
them twice, for example to search for existing leases first, and
only search for new leases in a second step.
Fixes lease enumeration in attr-sql using multiple pools.
Martin Willi [Tue, 11 Sep 2012 08:40:10 +0000 (10:40 +0200)]
Add a linked list constructor initializing from an enumerator
Martin Willi [Tue, 24 Jul 2012 10:40:45 +0000 (12:40 +0200)]
Add a responder narrow() hook to change TS in the kernel, but not on the wire
Martin Willi [Tue, 11 Sep 2012 13:21:25 +0000 (15:21 +0200)]
Support RADIUS accounting when using IKEv1 with xauth-eap and eap-radius
Martin Willi [Tue, 11 Sep 2012 13:20:33 +0000 (15:20 +0200)]
Fix leak while enumerating RADIUS Framed-IPs from IKE_SA
Tobias Brunner [Mon, 10 Sep 2012 15:24:21 +0000 (17:24 +0200)]
Add uniqueids=never to ignore INITIAL_CONTACT notifies
With uniqueids=no the daemon still deletes any existing IKE_SA with the
same peer if an INITIAL_CONTACT notify is received. With this new option
it also ignores these notifies.
Martin Willi [Mon, 10 Sep 2012 15:07:28 +0000 (17:07 +0200)]
Add random plugin options to strongswan.conf.5
Martin Willi [Mon, 10 Sep 2012 14:47:36 +0000 (16:47 +0200)]
Add strongswan.conf runtime options for /dev/[u]random files
Fixes #221.
Andreas Steffen [Mon, 10 Sep 2012 13:53:03 +0000 (15:53 +0200)]
this is the correct evaltest
Andreas Steffen [Mon, 10 Sep 2012 13:46:50 +0000 (15:46 +0200)]
recovered ikev2/ip-two-pools-mixed evaltest
Andreas Steffen [Mon, 10 Sep 2012 13:41:19 +0000 (15:41 +0200)]
adapted ip-pool evaltests