]> git.ipfire.org Git - thirdparty/strongswan.git/log
thirdparty/strongswan.git
12 years agoeap-radius: Add an option to exclude ports from Called/Calling-Station-Id
Martin Willi [Thu, 4 Apr 2013 14:05:05 +0000 (16:05 +0200)] 
eap-radius: Add an option to exclude ports from Called/Calling-Station-Id

12 years agoversion bump to 5.0.4dr1
Andreas Steffen [Tue, 9 Apr 2013 13:20:49 +0000 (15:20 +0200)] 
version bump to 5.0.4dr1

12 years agofixed another printf statement
Andreas Steffen [Tue, 9 Apr 2013 13:16:49 +0000 (15:16 +0200)] 
fixed another printf statement

12 years agofixed printf statements
Andreas Steffen [Mon, 8 Apr 2013 20:21:14 +0000 (22:21 +0200)] 
fixed printf statements

12 years agoemit a single assig_vips bus message for all VIPs
Andreas Steffen [Sat, 6 Apr 2013 12:16:30 +0000 (14:16 +0200)] 
emit a single assig_vips bus message for all VIPs

12 years agoifmap plugin subscribes to assing_vip bus signal
Andreas Steffen [Thu, 4 Apr 2013 11:40:57 +0000 (13:40 +0200)] 
ifmap plugin subscribes to assing_vip bus signal

12 years agoAdded missing sasl Doxygen group
Tobias Brunner [Fri, 5 Apr 2013 12:54:29 +0000 (14:54 +0200)] 
Added missing sasl Doxygen group

12 years agounity: Check IKE_SA in only after enumerating virtual IPs
Tobias Brunner [Fri, 5 Apr 2013 11:45:04 +0000 (13:45 +0200)] 
unity: Check IKE_SA in only after enumerating virtual IPs

12 years agofixed configure options 5.0.3
Andreas Steffen [Thu, 4 Apr 2013 19:09:07 +0000 (21:09 +0200)] 
fixed configure options

12 years agocleaned up XML code in tnccs-11 plugin
Andreas Steffen [Thu, 4 Apr 2013 15:12:00 +0000 (17:12 +0200)] 
cleaned up XML code in tnccs-11 plugin

12 years agoduplicheck: track multiple IKE_SAs in checking state to avoid any races
Martin Willi [Thu, 4 Apr 2013 13:43:37 +0000 (15:43 +0200)] 
duplicheck: track multiple IKE_SAs in checking state to avoid any races

When two consequent duplicates have been detected, track state of each checking
IKE_SA separately, avoiding potential race conditions between the active SA
and the different SAs in checking state.

12 years agofixed memory leak
Andreas Steffen [Wed, 3 Apr 2013 19:29:04 +0000 (21:29 +0200)] 
fixed memory leak

12 years agoproperly handle orphaned renewSession jobs
Andreas Steffen [Wed, 3 Apr 2013 14:44:44 +0000 (16:44 +0200)] 
properly handle orphaned renewSession jobs

12 years agosupport chunked HTTP responses
Andreas Steffen [Wed, 3 Apr 2013 10:08:52 +0000 (12:08 +0200)] 
support chunked HTTP responses

12 years agoimplemented periodic IF-MAP RenewSession request
Andreas Steffen [Tue, 2 Apr 2013 14:49:53 +0000 (16:49 +0200)] 
implemented periodic IF-MAP RenewSession request

12 years agoRefactor check_for_rekeyed_child() in quick_mode task
Martin Willi [Wed, 3 Apr 2013 15:08:00 +0000 (17:08 +0200)] 
Refactor check_for_rekeyed_child() in quick_mode task

12 years agoReuse reqid of an existing Quick Mode, even if it has been rekeyed
Martin Willi [Wed, 3 Apr 2013 13:56:26 +0000 (15:56 +0200)] 
Reuse reqid of an existing Quick Mode, even if it has been rekeyed

If two peers rekey Quick Modes at the same time, the original Quick Mode is
in REKEYING state and hence the requid is not reused. This is required though,
as two identical policies won't work if they have different requids.

12 years agoList all stroke counters when "all" is given, and report if connection not known
Martin Willi [Wed, 3 Apr 2013 12:58:08 +0000 (14:58 +0200)] 
List all stroke counters when "all" is given, and report if connection not known

12 years agoDefer CHILD_SA rekeying if allocating an SPI fails
Martin Willi [Wed, 3 Apr 2013 10:16:27 +0000 (12:16 +0200)] 
Defer CHILD_SA rekeying if allocating an SPI fails

12 years agoAccept a certificate/key pair to use client authentication in tls_test
Martin Willi [Tue, 2 Apr 2013 14:09:17 +0000 (16:09 +0200)] 
Accept a certificate/key pair to use client authentication in tls_test

12 years agoversion bump to 5.0.3
Andreas Steffen [Tue, 2 Apr 2013 06:55:33 +0000 (08:55 +0200)] 
version bump to 5.0.3

12 years agoallow retrieval of private keys from other credential sets
Andreas Steffen [Mon, 1 Apr 2013 20:32:20 +0000 (22:32 +0200)] 
allow retrieval of private keys from other credential sets

12 years agoimprove checking of sent and received http messages
Andreas Steffen [Mon, 1 Apr 2013 20:31:44 +0000 (22:31 +0200)] 
improve checking of sent and received http messages

12 years agoUpdated strongswan.conf(5) man page
Tobias Brunner [Mon, 1 Apr 2013 12:35:39 +0000 (14:35 +0200)] 
Updated strongswan.conf(5) man page

12 years agoLoad raw keys before possibly destroying the identity
Tobias Brunner [Mon, 1 Apr 2013 11:46:23 +0000 (13:46 +0200)] 
Load raw keys before possibly destroying the identity

If no identity (or %any) is configured the identification_t object is
destroyed and an invalid object was associated with the created pubkey
certificate.
Actually using %any does not work as the certificate would not match
when the client later provides an identity.

12 years agoipseckey: Use proper daemon name for enable option
Tobias Brunner [Mon, 1 Apr 2013 11:45:11 +0000 (13:45 +0200)] 
ipseckey: Use proper daemon name for enable option

12 years agoProperly handle situation if no resolver plugins are loaded
Tobias Brunner [Mon, 1 Apr 2013 11:44:04 +0000 (13:44 +0200)] 
Properly handle situation if no resolver plugins are loaded

12 years agofixed capability metadata
Andreas Steffen [Sun, 31 Mar 2013 20:15:42 +0000 (22:15 +0200)] 
fixed capability metadata

12 years agofix start of wpa_supplicant
Andreas Steffen [Sun, 31 Mar 2013 17:48:00 +0000 (19:48 +0200)] 
fix start of wpa_supplicant

12 years agoupdated strongswan.conf man page for tn_ifmap plugin
Andreas Steffen [Sun, 31 Mar 2013 17:05:53 +0000 (19:05 +0200)] 
updated strongswan.conf man page for tn_ifmap plugin

12 years agorenamed tnc_ifmap2 plugin to tnc_ifmap
Andreas Steffen [Sun, 31 Mar 2013 14:37:30 +0000 (16:37 +0200)] 
renamed tnc_ifmap2 plugin to tnc_ifmap

12 years agoremoved obsoleted tnc_ifmap plugin
Andreas Steffen [Sun, 31 Mar 2013 14:07:08 +0000 (16:07 +0200)] 
removed obsoleted tnc_ifmap plugin

12 years agoimplemented http basic authentication
Andreas Steffen [Sun, 31 Mar 2013 13:59:32 +0000 (15:59 +0200)] 
implemented http basic authentication

12 years agoparse IF-MAP server URI
Andreas Steffen [Sun, 31 Mar 2013 09:39:06 +0000 (11:39 +0200)] 
parse IF-MAP server URI

12 years agoimplemented publish_enforcement_report and endSession methods
Andreas Steffen [Sat, 30 Mar 2013 12:19:27 +0000 (13:19 +0100)] 
implemented publish_enforcement_report and endSession methods

12 years agoimplemented publish_ike_sa method
Andreas Steffen [Sat, 30 Mar 2013 08:15:16 +0000 (09:15 +0100)] 
implemented publish_ike_sa method

12 years agoifmap message type is known
Andreas Steffen [Sat, 30 Mar 2013 07:22:33 +0000 (08:22 +0100)] 
ifmap message type is known

12 years agoimplemented publish_device_ip method
Andreas Steffen [Sat, 30 Mar 2013 07:11:10 +0000 (08:11 +0100)] 
implemented publish_device_ip method

12 years agoadded IF-MAP SOAP error handling
Andreas Steffen [Sat, 30 Mar 2013 07:10:39 +0000 (08:10 +0100)] 
added IF-MAP SOAP error handling

12 years agocreated tnc_ifmap2_soap_msg class
Andreas Steffen [Fri, 29 Mar 2013 22:09:11 +0000 (23:09 +0100)] 
created tnc_ifmap2_soap_msg class

12 years agoimplement NewSession and PurgePublisher messages using the libxml2 library
Andreas Steffen [Fri, 29 Mar 2013 21:29:12 +0000 (22:29 +0100)] 
implement NewSession and PurgePublisher messages using the libxml2 library

12 years agoset up a new IF-MAP session
Andreas Steffen [Fri, 29 Mar 2013 08:42:06 +0000 (09:42 +0100)] 
set up a new IF-MAP session

12 years agofixed typo
Andreas Steffen [Wed, 27 Mar 2013 21:56:37 +0000 (22:56 +0100)] 
fixed typo

12 years agoFixed Doxygen comment in eap_radius plugin
Tobias Brunner [Wed, 27 Mar 2013 10:07:06 +0000 (11:07 +0100)] 
Fixed Doxygen comment in eap_radius plugin

12 years agoFix detection and use of netinet/ip6.h on FreeBSD
Tobias Brunner [Wed, 27 Mar 2013 08:56:48 +0000 (09:56 +0100)] 
Fix detection and use of netinet/ip6.h on FreeBSD

12 years agoDon't set USE_ATTR_SQL when the sql plugin is enabled only
Tobias Brunner [Wed, 27 Mar 2013 06:47:53 +0000 (07:47 +0100)] 
Don't set USE_ATTR_SQL when the sql plugin is enabled only

12 years agoMake some private functions in plugins static
Tobias Brunner [Wed, 27 Mar 2013 06:31:57 +0000 (07:31 +0100)] 
Make some private functions in plugins static

Fixes monolithic build.

12 years agoUse new strongSwan HA kernel patchset keeping iptables ABI
Martin Willi [Fri, 22 Mar 2013 10:33:51 +0000 (11:33 +0100)] 
Use new strongSwan HA kernel patchset keeping iptables ABI

Allows us to install stock debian iptables without the need for patching and
compiling our own.

12 years agoDefine SSHCONF from strongswan testing directory, not TESTDIR
Martin Willi [Fri, 22 Mar 2013 10:30:59 +0000 (11:30 +0100)] 
Define SSHCONF from strongswan testing directory, not TESTDIR

This fixes the use of SSHCONF in the ssh wrapper script before ./do-tests
had a chance to create the required symlinks.

12 years agoLazy unmount guest filesystem after building image, as it still might be busy
Martin Willi [Fri, 22 Mar 2013 10:27:37 +0000 (11:27 +0100)] 
Lazy unmount guest filesystem after building image, as it still might be busy

12 years agocrypt_burn: Proper cleanup
Tobias Brunner [Mon, 25 Mar 2013 17:04:38 +0000 (18:04 +0100)] 
crypt_burn: Proper cleanup

12 years agocrypt_burn: Fix loop condition for regular crypters
Tobias Brunner [Mon, 25 Mar 2013 17:02:07 +0000 (18:02 +0100)] 
crypt_burn: Fix loop condition for regular crypters

12 years agolibpts: Cast first argument for %.*s to int
Tobias Brunner [Mon, 25 Mar 2013 16:37:52 +0000 (17:37 +0100)] 
libpts: Cast first argument for %.*s to int

12 years agoerror-notify: Close file descriptors in case clients are still connected
Tobias Brunner [Mon, 25 Mar 2013 16:33:45 +0000 (17:33 +0100)] 
error-notify: Close file descriptors in case clients are still connected

12 years agolibpttls: Destroy reader when handling errors during SASL
Tobias Brunner [Mon, 25 Mar 2013 16:19:51 +0000 (17:19 +0100)] 
libpttls: Destroy reader when handling errors during SASL

12 years agopacman: Define gen_time out of the loop
Tobias Brunner [Mon, 25 Mar 2013 16:13:49 +0000 (17:13 +0100)] 
pacman: Define gen_time out of the loop

It gets assigned if count==3 but only used later when count >= 7.

12 years agoipseckey: NULL pointer dereference fixed in error case
Tobias Brunner [Mon, 25 Mar 2013 16:02:45 +0000 (17:02 +0100)] 
ipseckey: NULL pointer dereference fixed in error case

12 years agoRecipes: Disable Anet unit tests
Reto Buerki [Mon, 25 Mar 2013 15:24:29 +0000 (16:24 +0100)] 
Recipes: Disable Anet unit tests

Some Anet unit tests may fail because of the network configuration on
the testing host. These failures do not indicate a problem in Anet but
are a result of unpredictable events.

12 years agoFixed some typos, courtesy of codespell
Tobias Brunner [Mon, 25 Mar 2013 09:59:37 +0000 (10:59 +0100)] 
Fixed some typos, courtesy of codespell

12 years agoAdded hostapd package to base image
Andreas Steffen [Fri, 22 Mar 2013 22:53:39 +0000 (23:53 +0100)] 
Added hostapd package to base image

12 years agoAdded Framed-IP-Address information to RADIUS accounting records
Andreas Steffen [Fri, 22 Mar 2013 22:52:01 +0000 (23:52 +0100)] 
Added Framed-IP-Address information to RADIUS accounting records

12 years agoenforce singular of packets
Andreas Steffen [Fri, 22 Mar 2013 20:13:59 +0000 (21:13 +0100)] 
enforce singular of packets

12 years agoasprintf(3) requires _GNU_SOURCE to be defined 5.0.3rc1
Tobias Brunner [Fri, 22 Mar 2013 18:41:01 +0000 (19:41 +0100)] 
asprintf(3) requires _GNU_SOURCE to be defined

12 years agoAdded ikev2/rw-eap-framed-ip-radius scenario
Andreas Steffen [Fri, 22 Mar 2013 18:08:42 +0000 (19:08 +0100)] 
Added ikev2/rw-eap-framed-ip-radius scenario

12 years agoStore debug output from standalone IMC/IMVs
Andreas Steffen [Fri, 22 Mar 2013 15:45:24 +0000 (16:45 +0100)] 
Store debug output from standalone IMC/IMVs

12 years agoAdded ikev2/ip-two-pools-v4v6-db scenario
Andreas Steffen [Fri, 22 Mar 2013 11:18:43 +0000 (12:18 +0100)] 
Added ikev2/ip-two-pools-v4v6-db scenario

12 years agoUse proper integer types when handling TLS exchanges
Tobias Brunner [Fri, 22 Mar 2013 10:36:48 +0000 (11:36 +0100)] 
Use proper integer types when handling TLS exchanges

tls_t.build takes a size_t argument not a ssize_t.

12 years agoCheck return value of asprintf(3) when converting AR identity
Tobias Brunner [Fri, 22 Mar 2013 10:34:16 +0000 (11:34 +0100)] 
Check return value of asprintf(3) when converting AR identity

Using chunk_t.ptr as target was also not optimal as it resulted in
a compiler warning.

12 years agoversion bump to 5.0.3rc1
Andreas Steffen [Fri, 22 Mar 2013 09:38:25 +0000 (10:38 +0100)] 
version bump to 5.0.3rc1

12 years agoSwitch encoding of AR Identity Value from binary to UTF-8
Andreas Steffen [Fri, 22 Mar 2013 09:37:49 +0000 (10:37 +0100)] 
Switch encoding of AR Identity Value from binary to UTF-8

12 years agoFixed TKM build
Reto Buerki [Fri, 22 Mar 2013 09:35:48 +0000 (10:35 +0100)] 
Fixed TKM build

12 years agoBuild TNC-enabled wpa_supplicant
Andreas Steffen [Fri, 22 Mar 2013 09:33:39 +0000 (10:33 +0100)] 
Build TNC-enabled wpa_supplicant

12 years agoactivate logging before loading plugins
Andreas Steffen [Thu, 21 Mar 2013 17:04:24 +0000 (18:04 +0100)] 
activate logging before loading plugins

12 years agoAdd a load-tester option to keep allocated external address until shutdown
Martin Willi [Thu, 21 Mar 2013 09:29:23 +0000 (10:29 +0100)] 
Add a load-tester option to keep allocated external address until shutdown

12 years agoandroid: No need to disable CMS explicitly
Tobias Brunner [Wed, 20 Mar 2013 15:59:45 +0000 (16:59 +0100)] 
android: No need to disable CMS explicitly

The version check introduced with 0d237763 should take care of it.

12 years agoAllow up to 10 NAT-D payloads in IKEv1 messages
Tobias Brunner [Wed, 20 Mar 2013 15:20:39 +0000 (16:20 +0100)] 
Allow up to 10 NAT-D payloads in IKEv1 messages

12 years agoAvoid a race condition when reloading secrets from ipsec.secrets
Tobias Brunner [Fri, 1 Mar 2013 13:36:02 +0000 (14:36 +0100)] 
Avoid a race condition when reloading secrets from ipsec.secrets

With the previous implementation that cleared the secrets in the active
credential set and then loaded the secrets, IKE SA establishment would
fail (as initiator or responder) if secrets are concurrently reloaded
and the required secret was not yet loaded.

12 years agoAdd a method to replace all secrets in a mem_cred_t object
Tobias Brunner [Fri, 1 Mar 2013 13:34:31 +0000 (14:34 +0100)] 
Add a method to replace all secrets in a mem_cred_t object

12 years agoandroid: Build native libraries also for x86
Tobias Brunner [Wed, 20 Mar 2013 13:50:41 +0000 (14:50 +0100)] 
android: Build native libraries also for x86

Requires an updated build script for Vstr.

12 years agoandroid: libtnccs requires headers from libtls
Tobias Brunner [Fri, 8 Mar 2013 16:26:04 +0000 (17:26 +0100)] 
android: libtnccs requires headers from libtls

12 years agoandroid: Fix Android.mk for ipsec script
Tobias Brunner [Fri, 8 Mar 2013 16:05:55 +0000 (17:05 +0100)] 
android: Fix Android.mk for ipsec script

12 years agoandroid: Remove/filter header files from LOCAL_SRC_FILES
Tobias Brunner [Fri, 8 Mar 2013 15:48:11 +0000 (16:48 +0100)] 
android: Remove/filter header files from LOCAL_SRC_FILES

This avoids huge warnings when building the native code.

12 years agoandroid: Request and install an IPv6 DNS server
Tobias Brunner [Thu, 7 Mar 2013 17:20:10 +0000 (18:20 +0100)] 
android: Request and install an IPv6 DNS server

12 years agoandroid: Also request a virtual IPv6 address and propose IPv6 TS
Tobias Brunner [Thu, 7 Mar 2013 17:16:56 +0000 (18:16 +0100)] 
android: Also request a virtual IPv6 address and propose IPv6 TS

This allows IPv6 over IPv4 but falls back nicely if we don't get a
virtual IPv6 (or IPv4) address.

12 years agoipsec: Increased log level for message in case no outbound policy is found
Tobias Brunner [Thu, 7 Mar 2013 15:21:11 +0000 (16:21 +0100)] 
ipsec: Increased log level for message in case no outbound policy is found

This might happen on Android if sockets are bound to the physical IP
address but packets are still routed via TUN device.  Since it seems to
happen quite often (or for stuff that requires regular traffic) this
hides these messages from the default log.

12 years agoAdd an option to autobalance a HA cluster automatically
Martin Willi [Tue, 19 Mar 2013 15:49:07 +0000 (16:49 +0100)] 
Add an option to autobalance a HA cluster automatically

12 years agoCheck if for some reason we handle a HA segment on both nodes
Martin Willi [Tue, 19 Mar 2013 15:48:53 +0000 (16:48 +0100)] 
Check if for some reason we handle a HA segment on both nodes

12 years agoAcquire HA segment lock while sending heartbeat
Martin Willi [Tue, 19 Mar 2013 15:46:43 +0000 (16:46 +0100)] 
Acquire HA segment lock while sending heartbeat

12 years agoRemoved unused variable 'id'
Tobias Brunner [Tue, 19 Mar 2013 15:37:40 +0000 (16:37 +0100)] 
Removed unused variable 'id'

12 years agoProperly cleanup libmysql
Tobias Brunner [Mon, 18 Mar 2013 18:17:19 +0000 (19:17 +0100)] 
Properly cleanup libmysql

Seems to work correctly with recent MySQL versions.

12 years agoUse proper address family when adding multiple addresses to SQL pool
Tobias Brunner [Mon, 18 Mar 2013 18:11:10 +0000 (19:11 +0100)] 
Use proper address family when adding multiple addresses to SQL pool

12 years agoIgnore SQL-based IP address pools if their address family does not match
Tobias Brunner [Mon, 18 Mar 2013 17:45:29 +0000 (18:45 +0100)] 
Ignore SQL-based IP address pools if their address family does not match

12 years agocharon-nm: Add dependencies to CERT_DECODE and PRIVKEY plugin features
Tobias Brunner [Tue, 26 Feb 2013 14:43:30 +0000 (15:43 +0100)] 
charon-nm: Add dependencies to CERT_DECODE and PRIVKEY plugin features

This ensures the NM-specific credential set is unloaded before any
implementation of certificate/key objects, which causes a segmentation
fault during shutdown.

12 years agocharon-nm: Prevent NM from changing the default route
Tobias Brunner [Fri, 22 Feb 2013 17:52:17 +0000 (18:52 +0100)] 
charon-nm: Prevent NM from changing the default route

This is not required as we install our own (narrow) route(s) in our own
routing table. This should allow split tunneling if configured on the
gateway.

12 years agocharon-nm: Use VIP (if any) as local address
Tobias Brunner [Fri, 22 Feb 2013 17:49:55 +0000 (18:49 +0100)] 
charon-nm: Use VIP (if any) as local address

NM will install this address on the provided device.

12 years agocharon-nm: Pass a dummy TUN device to NetworkManager
Tobias Brunner [Fri, 22 Feb 2013 15:51:52 +0000 (16:51 +0100)] 
charon-nm: Pass a dummy TUN device to NetworkManager

NetworkManager modifies the addresses etc. on this interface so using
"lo" is not optimal. With the dummy interface NM is free to do its
thing.

12 years agocharon-nm: Fix NM plugin utility macros
Tobias Brunner [Mon, 25 Feb 2013 17:46:15 +0000 (18:46 +0100)] 
charon-nm: Fix NM plugin utility macros

12 years agoIgnore 'compile' script which is generated by AM_PROG_CC_C_O
Tobias Brunner [Tue, 19 Mar 2013 15:18:35 +0000 (16:18 +0100)] 
Ignore 'compile' script which is generated by AM_PROG_CC_C_O

12 years agoAvoid returning COOKIEs right after system boot
Tobias Brunner [Thu, 31 Jan 2013 17:42:26 +0000 (18:42 +0100)] 
Avoid returning COOKIEs right after system boot

When the monotonic timer is initialized to 0 right after the system is
booted the daemon responded with COOKIES for COOKIE_CALMDOWN_DELAY (10s).

Since the COOKIE verification code actually produces an overflow for
COOKIE_LIFETIME (10s) it wouldn't even accept properly returned COOKIEs.

Checking for last_cookie makes sense anyway as that condition must only
apply if we actually sent a COOKIE before.

12 years agoFix scheduling of heartbeat sending in HA plugin
Martin Willi [Tue, 19 Mar 2013 14:17:41 +0000 (15:17 +0100)] 
Fix scheduling of heartbeat sending in HA plugin

e0efd7c1 switches to automated job rescheduling for HA heartbeat. However,
send_status() is initially called directly, which will not reschedule the job
as required.