strongswan.git
6 years agoprintf-hook: Write to output stream instead of the FD directly when using Vstr
Tobias Brunner [Mon, 23 Sep 2013 15:01:53 +0000 (17:01 +0200)]
printf-hook: Write to output stream instead of the FD directly when using Vstr

This avoids problems when other stdio functions are used (fputs,
fwrite) as writes via Vstr/FD were always unbuffered.

6 years agoandroid: New release after improving recovery after connectivity changes
Tobias Brunner [Mon, 23 Sep 2013 12:33:29 +0000 (14:33 +0200)]
android: New release after improving recovery after connectivity changes

6 years agoandroid: Change state handling to display errors occurring while the app is hidden
Tobias Brunner [Fri, 20 Sep 2013 13:07:41 +0000 (15:07 +0200)]
android: Change state handling to display errors occurring while the app is hidden

A new connection ID allows listeners to track which errors they have
already shown to the user or were already dismissed by the user.

This was necessary because the state fragment is now unregistered from
state changes when it is not shown.

6 years agoandroid: Don't update state fragments when they are not displayed
Tobias Brunner [Fri, 20 Sep 2013 12:07:40 +0000 (14:07 +0200)]
android: Don't update state fragments when they are not displayed

Besides that updates don't make much sense when the fragments are not
displayed this fixes the following exception:
java.lang.IllegalStateException: Can not perform this action after
onSaveInstanceState

6 years agoikev2: Force an update of the host addresses on the first response
Tobias Brunner [Fri, 20 Sep 2013 12:05:53 +0000 (14:05 +0200)]
ikev2: Force an update of the host addresses on the first response

This is especially useful on Android where we are able to send messages
even if we don't know the correct local address (this is possible
because we don't set source addresses in outbound messages).  This way
we may learn the correct local address if it e.g. changed right before
reestablishing an SA.

Updating the local address later is tricky without MOBIKE as the
responder might not update the associated IPsec SAs properly.

6 years agoike-sa: Resolve hosts before reestablishing an IKE_SA
Tobias Brunner [Fri, 20 Sep 2013 12:03:23 +0000 (14:03 +0200)]
ike-sa: Resolve hosts before reestablishing an IKE_SA

6 years agoandroid: Several plugins were moved from libcharon to libtnccs
Tobias Brunner [Fri, 20 Sep 2013 09:16:21 +0000 (11:16 +0200)]
android: Several plugins were moved from libcharon to libtnccs

These were moved in commits e8f65c5cde and 12b3db5006.

6 years agoandroid: Properly handle failures while initializing charon
Tobias Brunner [Fri, 20 Sep 2013 08:30:02 +0000 (10:30 +0200)]
android: Properly handle failures while initializing charon

6 years agokernel-netlink: Allow to override xfrm_acq_expires value
Ansis Atteka [Mon, 23 Sep 2013 04:21:39 +0000 (21:21 -0700)]
kernel-netlink: Allow to override xfrm_acq_expires value

When using auto=route, current xfrm_acq_expires default value
implies that tunnel can be down for up to 165 seconds, if
other peer rejected first IKE request with an AUTH_FAILED or
NO_PROPOSAL_CHOSEN error message. These error messages are
completely normal in setups where another application
pushes configuration to both strongSwans without waiting
for acknowledgment that they have updated their configurations.

This patch allows strongswan to override xfrm_acq_expires default
value by setting charon.plugins.kernel-netlink.xfrm_acq_expires in
strongswan.conf.

Signed-off-by: Ansis Atteka <aatteka@nicira.com>
6 years agoImplemented TCG/PB-PDP_Referral message
Andreas Steffen [Tue, 17 Sep 2013 19:57:08 +0000 (21:57 +0200)]
Implemented TCG/PB-PDP_Referral message

6 years agoAllow vendor-specific PB-TNC messages
Andreas Steffen [Tue, 17 Sep 2013 09:19:11 +0000 (11:19 +0200)]
Allow vendor-specific PB-TNC messages

6 years agoignore *.1 manpage files
Andreas Steffen [Tue, 17 Sep 2013 08:58:53 +0000 (10:58 +0200)]
ignore *.1 manpage files

6 years agoVersion bump to 5.1.1dr4
Andreas Steffen [Tue, 17 Sep 2013 08:57:46 +0000 (10:57 +0200)]
Version bump to 5.1.1dr4

6 years agoMerge branch 'pubkeys'
Tobias Brunner [Fri, 13 Sep 2013 13:30:40 +0000 (15:30 +0200)]
Merge branch 'pubkeys'

Adds support to pki --pub to convert public keys to other formats
including SSH keys and DNSKEYs.  SSH public keys can also be read
from files in the format used by OpenSSH.

6 years agosshkey: Add support for parsing keys from files
Tobias Brunner [Mon, 19 Aug 2013 11:15:28 +0000 (13:15 +0200)]
sshkey: Add support for parsing keys from files

6 years agosshkey: Add encoding for ECDSA keys
Tobias Brunner [Fri, 16 Aug 2013 11:13:49 +0000 (13:13 +0200)]
sshkey: Add encoding for ECDSA keys

6 years agoopenssl: Add support for generic encoding of EC public keys
Tobias Brunner [Fri, 16 Aug 2013 11:12:47 +0000 (13:12 +0200)]
openssl: Add support for generic encoding of EC public keys

6 years agopki: --pub also accepts public keys (i.e. to convert them to a different format)
Tobias Brunner [Thu, 15 Aug 2013 10:43:30 +0000 (12:43 +0200)]
pki: --pub also accepts public keys (i.e. to convert them to a different format)

6 years agopki: Add support to encode public keys in SSH key format
Tobias Brunner [Thu, 15 Aug 2013 10:43:01 +0000 (12:43 +0200)]
pki: Add support to encode public keys in SSH key format

6 years agosshkey: Add encoder for RSA keys
Tobias Brunner [Thu, 15 Aug 2013 10:42:09 +0000 (12:42 +0200)]
sshkey: Add encoder for RSA keys

6 years agoopenssl: Add generic RSA public key encoding
Tobias Brunner [Wed, 14 Aug 2013 16:23:00 +0000 (18:23 +0200)]
openssl: Add generic RSA public key encoding

6 years agoopenssl: Add helper function to convert BIGNUMs to chunks
Tobias Brunner [Thu, 15 Aug 2013 10:29:06 +0000 (12:29 +0200)]
openssl: Add helper function to convert BIGNUMs to chunks

6 years agopki: Load dnskey plugin to encode public keys in RFC 3110 format
Tobias Brunner [Wed, 14 Aug 2013 16:22:13 +0000 (18:22 +0200)]
pki: Load dnskey plugin to encode public keys in RFC 3110 format

6 years agoMerge branch 'man-pki'
Tobias Brunner [Fri, 13 Sep 2013 13:15:40 +0000 (15:15 +0200)]
Merge branch 'man-pki'

This adds man pages for all pki sub-commands and promotes pki to a
regular program installed in $prefix/bin.

The usage output of several commands was fixed too.

6 years agopki: Don't print an error if no arguments are given
Tobias Brunner [Fri, 13 Sep 2013 13:14:00 +0000 (15:14 +0200)]
pki: Don't print an error if no arguments are given

6 years agopki: Install pki(1) as utility directly in $prefix/bin
Tobias Brunner [Fri, 13 Sep 2013 12:52:14 +0000 (14:52 +0200)]
pki: Install pki(1) as utility directly in $prefix/bin

ipsec pki is maintained as alias.

6 years agopki: Add example commands to setup a simple CA
Tobias Brunner [Wed, 14 Aug 2013 14:00:28 +0000 (16:00 +0200)]
pki: Add example commands to setup a simple CA

6 years agopki: Add pki --verify man page
Tobias Brunner [Mon, 12 Aug 2013 15:52:28 +0000 (17:52 +0200)]
pki: Add pki --verify man page

6 years agopki: Add pki --pub man page
Tobias Brunner [Mon, 12 Aug 2013 15:46:40 +0000 (17:46 +0200)]
pki: Add pki --pub man page

6 years agopki: Add pki --print man page
Tobias Brunner [Mon, 12 Aug 2013 15:21:49 +0000 (17:21 +0200)]
pki: Add pki --print man page

6 years agopki: Add pki --keyid man page
Tobias Brunner [Mon, 12 Aug 2013 15:14:17 +0000 (17:14 +0200)]
pki: Add pki --keyid man page

6 years agopki: Add pki --pkcs7 man page
Tobias Brunner [Mon, 12 Aug 2013 15:04:28 +0000 (17:04 +0200)]
pki: Add pki --pkcs7 man page

6 years agopki: Add pki --req man page
Tobias Brunner [Mon, 12 Aug 2013 14:49:13 +0000 (16:49 +0200)]
pki: Add pki --req man page

6 years agopki: Add pki --signcrl man page
Tobias Brunner [Mon, 12 Aug 2013 14:39:21 +0000 (16:39 +0200)]
pki: Add pki --signcrl man page

6 years agopki: Add pki --issue man page
Tobias Brunner [Mon, 12 Aug 2013 14:06:42 +0000 (16:06 +0200)]
pki: Add pki --issue man page

6 years agopki: Add pki --self man page
Tobias Brunner [Wed, 31 Jul 2013 17:48:45 +0000 (19:48 +0200)]
pki: Add pki --self man page

Can be opened with "man pki --self".

6 years agopki: Add pki --gen man page
Tobias Brunner [Wed, 31 Jul 2013 17:19:08 +0000 (19:19 +0200)]
pki: Add pki --gen man page

Can be opened with "man pki --gen".

6 years agopki: Add ipsec-pki(8) man page
Tobias Brunner [Wed, 31 Jul 2013 16:05:10 +0000 (18:05 +0200)]
pki: Add ipsec-pki(8) man page

Can be opened either with "man ipsec pki" or "man ipsec-pki".

Since man(1) only supports one level of subpages, the forthcoming man
pages for each command will have to be opened with "man pki --<command>".

6 years agostrongswan.conf: Use configured piddir for UNIX sockets
Tobias Brunner [Mon, 12 Aug 2013 13:13:20 +0000 (15:13 +0200)]
strongswan.conf: Use configured piddir for UNIX sockets

6 years agoBuild generated man pages via configure script
Tobias Brunner [Wed, 31 Jul 2013 15:30:40 +0000 (17:30 +0200)]
Build generated man pages via configure script

6 years agoresolve: Remove comment when using resolvconf(8)
Tobias Brunner [Fri, 13 Sep 2013 08:34:03 +0000 (10:34 +0200)]
resolve: Remove comment when using resolvconf(8)

Since comments in resolv.conf are only valid at the beginning of a line
resolvconf(8) seems to have started treating any text after
'nameserver <ip>' as additional IP addresses for name servers.

Since it ignores comments, and we can easily remove the added servers
again, there is no point to add any.

Fixes #410.

6 years ago.gitignore: Add .dirstamp files touched by automake
Martin Willi [Fri, 13 Sep 2013 12:11:30 +0000 (14:11 +0200)]
.gitignore: Add .dirstamp files touched by automake

6 years agolibipsec: fix memory management when cloning ip_packet
Martin Willi [Fri, 6 Sep 2013 12:16:14 +0000 (14:16 +0200)]
libipsec: fix memory management when cloning ip_packet

6 years agolibipsec: check for a policy with the reqid of the SA on decapsulation
Martin Willi [Wed, 4 Sep 2013 15:12:23 +0000 (17:12 +0200)]
libipsec: check for a policy with the reqid of the SA on decapsulation

To prevent a client from sending a packet with a source address of a different
client, we require a policy bound via reqid to the decapsulating SA.

6 years agostroke: don't remove a matching peer config if used by other child configs
Martin Willi [Mon, 9 Sep 2013 08:43:44 +0000 (10:43 +0200)]
stroke: don't remove a matching peer config if used by other child configs

When configurations get merged during add, we should not remove peer configs
if other connection entries use the same peer config.

6 years agoconftest: Don't load plugins incrementally
Tobias Brunner [Tue, 3 Sep 2013 17:02:40 +0000 (19:02 +0200)]
conftest: Don't load plugins incrementally

This is not supported by the plugin loader, so we simply combine the
plugin lists and load them all at once.

6 years agoikev1: Fix double free when searching for redundant CHILD_SAs
Tobias Brunner [Fri, 13 Sep 2013 08:14:45 +0000 (10:14 +0200)]
ikev1: Fix double free when searching for redundant CHILD_SAs

Fixes #411.

6 years agoBuild all IMC/IMVs with -no-undefined
Tobias Brunner [Wed, 4 Sep 2013 14:26:27 +0000 (16:26 +0200)]
Build all IMC/IMVs with -no-undefined

6 years agopt-tls-client: Report loaded plugins
Tobias Brunner [Wed, 4 Sep 2013 12:34:02 +0000 (14:34 +0200)]
pt-tls-client: Report loaded plugins

6 years agopt-tls-client: Abort if no tnccs-manager is available
Tobias Brunner [Wed, 4 Sep 2013 12:31:46 +0000 (14:31 +0200)]
pt-tls-client: Abort if no tnccs-manager is available

6 years agoBuild all shared libraries with -no-undefined and link them properly
Tobias Brunner [Wed, 4 Sep 2013 12:25:22 +0000 (14:25 +0200)]
Build all shared libraries with -no-undefined and link them properly

The flag is required to convince libtool on Cygwin to build DLLs. But on
Windows these shared libraries can not have undefined symbols, so we have to
link them explicitly to the libraries they reference.

For plugins this is currently not done, so only the monolithic build is
supported.  The plugin loader wouldn't be able to load DLLs anyway, as
it tries to load files that don't exist on Cygwin.

6 years agoconfigure: libtls and libtnccs etc. all require libstrongswan
Tobias Brunner [Wed, 4 Sep 2013 11:51:37 +0000 (13:51 +0200)]
configure: libtls and libtnccs etc. all require libstrongswan

6 years agotun_device: Add warning if TUN devices are not supported by platform
Tobias Brunner [Wed, 4 Sep 2013 11:40:35 +0000 (13:40 +0200)]
tun_device: Add warning if TUN devices are not supported by platform

6 years agoMake sure libstrongswan is initialized first in IMCs and IMVs
Andreas Steffen [Wed, 11 Sep 2013 18:58:18 +0000 (20:58 +0200)]
Make sure libstrongswan is initialized first in IMCs and IMVs

6 years agosockets: Initialize the whole ancillary data buffer not only the actual struct
Tobias Brunner [Tue, 10 Sep 2013 11:40:16 +0000 (13:40 +0200)]
sockets: Initialize the whole ancillary data buffer not only the actual struct

This avoids uninitialized bytes that Valgrind seems to notice otherwise.

Fixes #395.

6 years agoikev1: For PFS prefer DH group from IKE_SA over first configured
Thomas Egerer [Fri, 23 Aug 2013 12:15:44 +0000 (14:15 +0200)]
ikev1: For PFS prefer DH group from IKE_SA over first configured

If PFS is configured for a CHILD_SA first try to create a list of
proposals with using DH group negotiated during phase 1. If the
resulting list is empty (i.e. the DH group(s) configured for PFS differ
from the one(s) configured for the IKE_SA), fall back to the first
configured DH group from the CHILD_SA.
This modificiation is due to the fact that it is likely that the peer
supports the same DH group for PFS it did already for the IKE_SA.

6 years agokernel-netlink: increase buffer size for RT netlink messages
Ansis Atteka [Mon, 9 Sep 2013 22:42:55 +0000 (15:42 -0700)]
kernel-netlink: increase buffer size for RT netlink messages

Commit 940e1b0f66dc04b0853414c1f4c45fa3f6e33bdd "Filter ignored
interfaces in kernel interfaces (for events, address enumeration,
etc.)" made charon to ignore routes with unusable interfaces.
Unusable interface is one where charon has not seen RTM_NEWLINK
message from the kernel.

Sometime RTM_NEWLINK message can be 1048 bytes large. This is
24 bytes more than currently allocated buffer of 1024 bytes.
If kernel sends such a large message, then it would be silently
ignored by charon and corresponding interface would never become
usable. Hence strongSwan might resolve invalid source IP address
in get_route() function. This would prevent IPsec tunnel to be
established.

To reproduce create a VLAN interface with following command:

vconfig add eth1 12

6 years agoFixed double free causing swapped ends to crash 5.1.1dr3
Andreas Steffen [Sat, 7 Sep 2013 06:25:10 +0000 (08:25 +0200)]
Fixed double free causing swapped ends to crash

6 years agoAdded ikev1/config-payload-push scenario
Andreas Steffen [Sat, 7 Sep 2013 06:23:58 +0000 (08:23 +0200)]
Added ikev1/config-payload-push scenario

6 years agoMinor performance tuning
Andreas Steffen [Sat, 7 Sep 2013 05:39:03 +0000 (07:39 +0200)]
Minor performance tuning

6 years agoCompleted NEWS for 5.1.1dr3
Andreas Steffen [Fri, 6 Sep 2013 20:11:33 +0000 (22:11 +0200)]
Completed NEWS for 5.1.1dr3

6 years agoImplemented targeted SWID request
Andreas Steffen [Fri, 6 Sep 2013 20:06:39 +0000 (22:06 +0200)]
Implemented targeted SWID request

6 years agoStore object files in the same directory as the source files
Tobias Brunner [Thu, 5 Sep 2013 12:19:14 +0000 (14:19 +0200)]
Store object files in the same directory as the source files

Future automake releases will apparently do that implicitly, but current
releases spit out nasty warning messages.

6 years agoMake SWID directory where tags are stored configurable
Andreas Steffen [Thu, 5 Sep 2013 10:25:02 +0000 (12:25 +0200)]
Make SWID directory where tags are stored configurable

6 years agoAdded tags table and some tag samples
Andreas Steffen [Thu, 5 Sep 2013 09:29:23 +0000 (11:29 +0200)]
Added tags table and some tag samples

6 years agoswid_inventory object has a get_count method
Andreas Steffen [Wed, 4 Sep 2013 19:56:25 +0000 (21:56 +0200)]
swid_inventory object has a get_count method

6 years agoCount collected SWID tags or tag IDs
Andreas Steffen [Wed, 4 Sep 2013 19:30:28 +0000 (21:30 +0200)]
Count collected SWID tags or tag IDs

6 years agoProceed with attestation only if Attestation IMC returns a discovery response
Andreas Steffen [Wed, 4 Sep 2013 19:00:54 +0000 (21:00 +0200)]
Proceed with attestation only if Attestation IMC returns a discovery response

6 years agolibipsec: Properly initialize variables when creating AEAD wrapper
Tobias Brunner [Wed, 4 Sep 2013 14:17:17 +0000 (16:17 +0200)]
libipsec: Properly initialize variables when creating AEAD wrapper

6 years agoandroid: Fix compilation after PTS header files were moved
Tobias Brunner [Wed, 4 Sep 2013 14:13:52 +0000 (16:13 +0200)]
android: Fix compilation after PTS header files were moved

6 years agolibpts: Android.mk updated
Tobias Brunner [Wed, 4 Sep 2013 14:13:12 +0000 (16:13 +0200)]
libpts: Android.mk updated

6 years agoVersion bump to 5.1.1dr3
Andreas Steffen [Wed, 4 Sep 2013 14:15:52 +0000 (16:15 +0200)]
Version bump to 5.1.1dr3

6 years agoNEWS: 5.1.1 update for merged branches
Martin Willi [Wed, 4 Sep 2013 09:06:58 +0000 (11:06 +0200)]
NEWS: 5.1.1 update for merged branches

6 years agoload-tester: support extended traffic selector syntax, as in leftsubnet
Martin Willi [Wed, 7 Aug 2013 15:06:36 +0000 (17:06 +0200)]
load-tester: support extended traffic selector syntax, as in leftsubnet

In addition the initiator may use %unique as port, using a distinct port for
each connection, starting from 1025.

6 years agoload-tester: add an option to test transport/beet connections
Martin Willi [Wed, 7 Aug 2013 14:32:21 +0000 (16:32 +0200)]
load-tester: add an option to test transport/beet connections

6 years agoMerge branch 'ike-address-ranges'
Martin Willi [Wed, 4 Sep 2013 08:43:35 +0000 (10:43 +0200)]
Merge branch 'ike-address-ranges'

Adds support for multiple subnets and address ranges in left/right ipsec.conf
options. As responder the connection is acceptable if the address is in one of
the ranges/subnets. To initiate connections, at least one single IP or hostname
is required for the peer address.

6 years agoman: add support for multiple addresses/ranges/subnets in ipsec.conf left=
Martin Willi [Thu, 25 Jul 2013 14:43:19 +0000 (16:43 +0200)]
man: add support for multiple addresses/ranges/subnets in ipsec.conf left=

6 years agoike: support multiple addresses, ranges and subnets in IKE address config
Martin Willi [Thu, 25 Jul 2013 13:37:13 +0000 (15:37 +0200)]
ike: support multiple addresses, ranges and subnets in IKE address config

Replace the allowany semantic by a more powerful subnet and IP range matching.
Multiple addresses, DNS names, subnets and ranges can be specified in a comma
separated list. Initiators ignore the ranges/subnets, responders match
configurations against all addresses, ranges and subnets.

6 years agoike-cfg: remove the to be obsoleted allow any parameter in get_my/other_addr
Martin Willi [Thu, 25 Jul 2013 12:07:40 +0000 (14:07 +0200)]
ike-cfg: remove the to be obsoleted allow any parameter in get_my/other_addr

6 years agobackends: use ike_cfg host matching functions
Martin Willi [Thu, 25 Jul 2013 11:42:11 +0000 (13:42 +0200)]
backends: use ike_cfg host matching functions

6 years agoike-cfg: add methods to match a host against configured local/remote addresses
Martin Willi [Thu, 25 Jul 2013 11:41:33 +0000 (13:41 +0200)]
ike-cfg: add methods to match a host against configured local/remote addresses

6 years agotrap-manager: use ike_cfg resolver functions
Martin Willi [Thu, 25 Jul 2013 11:40:53 +0000 (13:40 +0200)]
trap-manager: use ike_cfg resolver functions

6 years agoike-sa: use ike_cfg resolver functions
Martin Willi [Thu, 25 Jul 2013 11:40:26 +0000 (13:40 +0200)]
ike-sa: use ike_cfg resolver functions

6 years agoike-cfg: add a method to resolve local/remote hosts with port
Martin Willi [Thu, 25 Jul 2013 11:39:15 +0000 (13:39 +0200)]
ike-cfg: add a method to resolve local/remote hosts with port

6 years agoMerge branch 'ikev1-pushmode'
Martin Willi [Wed, 4 Sep 2013 08:35:26 +0000 (10:35 +0200)]
Merge branch 'ikev1-pushmode'

Implements Mode Config Push mode in IKEv1 using the existing modeconfig=push
ipsec.conf option.

6 years agostroke: ignore a leftsourceip if a rightsourceip is given as well
Martin Willi [Tue, 3 Sep 2013 13:44:43 +0000 (15:44 +0200)]
stroke: ignore a leftsourceip if a rightsourceip is given as well

As we always negotiate virtual IPs in charon, having both left- and
rightsourceip is not allowed. Both in IKEv1 and IKEv2 we support a single
configuration payload exchange only.

6 years agoman: update ipsec.conf modeconfig keyword
Martin Willi [Fri, 19 Jul 2013 14:01:36 +0000 (16:01 +0200)]
man: update ipsec.conf modeconfig keyword

6 years agoikev1: implement mode config push mode
Martin Willi [Fri, 19 Jul 2013 13:58:15 +0000 (15:58 +0200)]
ikev1: implement mode config push mode

6 years agostroke: re-enable modeconfig keyword
Martin Willi [Fri, 19 Jul 2013 13:47:33 +0000 (15:47 +0200)]
stroke: re-enable modeconfig keyword

6 years agopeer-cfg: add a pull/push mode option to use with mode config
Martin Willi [Fri, 19 Jul 2013 12:24:04 +0000 (14:24 +0200)]
peer-cfg: add a pull/push mode option to use with mode config

6 years agopubkey_speed: Add missing plugins
Tobias Brunner [Wed, 4 Sep 2013 07:47:23 +0000 (09:47 +0200)]
pubkey_speed: Add missing plugins

The pkcs1 plugin is required to test the gmp/gcrypt plugins. Likewise,
the pem plugin is required when testing the openssl plugin.

Fixes #401.

6 years agopubkey_speed: sudo is not required
Tobias Brunner [Wed, 4 Sep 2013 07:28:49 +0000 (09:28 +0200)]
pubkey_speed: sudo is not required

Also, refer to pubkey_speed properly when not being called from the same
directory.

6 years agopubkey_speed: Add header and fix usage
Tobias Brunner [Wed, 4 Sep 2013 07:08:46 +0000 (09:08 +0200)]
pubkey_speed: Add header and fix usage

6 years agoMerge branch 'xauth-radius-multi'
Martin Willi [Tue, 3 Sep 2013 14:32:27 +0000 (16:32 +0200)]
Merge branch 'xauth-radius-multi'

Introduces multiple rounds in the eap-radius XAuth backend, concatenating
answers to a single password to verify using a RADIUS User-Password attribute.
This is known to work fine with iOS and OS X clients, allowing two-factor
authentication with proper dialogs.

Different XAuth "profiles" for each backend can be selected using a generic
colon sperated suffix for the XAuth string.

6 years agocharon-cmd: support prompting for a PIN
Martin Willi [Wed, 24 Jul 2013 11:19:57 +0000 (13:19 +0200)]
charon-cmd: support prompting for a PIN

To support a Password and PIN XAuth combo, additionally support multiple
prompts for different credential types.

6 years agoxauth-generic: honor requested XAuth credential types as a client
Martin Willi [Wed, 24 Jul 2013 11:18:26 +0000 (13:18 +0200)]
xauth-generic: honor requested XAuth credential types as a client

Support requesting of XAuth PINs and print XAuth messages.

6 years agoattributes: shorten some Unity and XAuth attribute short names
Martin Willi [Wed, 24 Jul 2013 11:44:22 +0000 (13:44 +0200)]
attributes: shorten some Unity and XAuth attribute short names

6 years agomessage: print type of configuration payload
Martin Willi [Fri, 19 Jul 2013 13:57:53 +0000 (15:57 +0200)]
message: print type of configuration payload

6 years agomessage: print attributes for IKEv1 configuration payloads as well
Martin Willi [Fri, 19 Jul 2013 13:48:06 +0000 (15:48 +0200)]
message: print attributes for IKEv1 configuration payloads as well

6 years agoeap-radius: support XAuth configuration profiles, defining multiple XAuth rounds
Martin Willi [Tue, 23 Jul 2013 12:46:51 +0000 (14:46 +0200)]
eap-radius: support XAuth configuration profiles, defining multiple XAuth rounds