]> git.ipfire.org Git - thirdparty/strongswan.git/log
thirdparty/strongswan.git
13 years agoActivate DELETE tasks when queued
Martin Willi [Tue, 13 Dec 2011 09:36:02 +0000 (10:36 +0100)] 
Activate DELETE tasks when queued

13 years agoFix IKEv1 DELETE subtask creation and processing
Martin Willi [Tue, 13 Dec 2011 09:35:18 +0000 (10:35 +0100)] 
Fix IKEv1 DELETE subtask creation and processing

13 years agoHandle DELETE as responder as INFORMATIONAL subtask
Martin Willi [Tue, 13 Dec 2011 09:22:49 +0000 (10:22 +0100)] 
Handle DELETE as responder as INFORMATIONAL subtask

13 years agoClose SA immediately after sending an INFORMATIONAL error
Martin Willi [Tue, 13 Dec 2011 08:55:37 +0000 (09:55 +0100)] 
Close SA immediately after sending an INFORMATIONAL error

13 years agoMoved responder informational handling to task
Martin Willi [Tue, 13 Dec 2011 08:50:31 +0000 (09:50 +0100)] 
Moved responder informational handling to task

13 years agoRemove unused status type
Martin Willi [Tue, 13 Dec 2011 08:42:16 +0000 (09:42 +0100)] 
Remove unused status type

13 years agoCheck if IKEv1 exchange type matches before handling it as response
Martin Willi [Tue, 13 Dec 2011 08:40:26 +0000 (09:40 +0100)] 
Check if IKEv1 exchange type matches before handling it as response

13 years agoUse informational task in quick mode to send notifies
Martin Willi [Mon, 12 Dec 2011 17:13:10 +0000 (18:13 +0100)] 
Use informational task in quick mode to send notifies

13 years agoCleaned up notification sending in IKEv1 task manager
Martin Willi [Mon, 12 Dec 2011 14:45:45 +0000 (15:45 +0100)] 
Cleaned up notification sending in IKEv1 task manager

13 years agoUse informational taks to send notify errors
Martin Willi [Mon, 12 Dec 2011 14:44:58 +0000 (15:44 +0100)] 
Use informational taks to send notify errors

13 years agoAdded a task stub to create and process IKEv1 informational exchanges
Martin Willi [Mon, 12 Dec 2011 14:38:20 +0000 (15:38 +0100)] 
Added a task stub to create and process IKEv1 informational exchanges

13 years agoAllow IKEv1 tasks to return ALREADY_DONE to flush all active or passive tasks
Martin Willi [Mon, 12 Dec 2011 14:16:15 +0000 (15:16 +0100)] 
Allow IKEv1 tasks to return ALREADY_DONE to flush all active or passive tasks

13 years agoSupport flushing of single tasks queues in IKEv1 task manager
Martin Willi [Mon, 12 Dec 2011 17:01:21 +0000 (18:01 +0100)] 
Support flushing of single tasks queues in IKEv1 task manager

13 years agoDouble check if we have a packet before retransmitting it
Martin Willi [Mon, 12 Dec 2011 14:43:12 +0000 (15:43 +0100)] 
Double check if we have a packet before retransmitting it

13 years agoFixed memory leak when handling IKEv1 error notifications.
Tobias Brunner [Mon, 12 Dec 2011 17:37:49 +0000 (18:37 +0100)] 
Fixed memory leak when handling IKEv1 error notifications.

13 years agoDestroy IKE_SA after failed XAuth authentication.
Tobias Brunner [Mon, 12 Dec 2011 17:38:32 +0000 (18:38 +0100)] 
Destroy IKE_SA after failed XAuth authentication.

13 years agoAdded generic XAuth backend, using secrets provided by credential sets.
Tobias Brunner [Mon, 12 Dec 2011 17:26:26 +0000 (18:26 +0100)] 
Added generic XAuth backend, using secrets provided by credential sets.

13 years agoRemoved xauth-null dummy plugin.
Tobias Brunner [Mon, 12 Dec 2011 13:25:15 +0000 (14:25 +0100)] 
Removed xauth-null dummy plugin.

13 years agoAdded possibility to send notifications from the Quick Mode task
Clavister OpenSource [Mon, 12 Dec 2011 14:54:27 +0000 (15:54 +0100)] 
Added possibility to send notifications from the Quick Mode task

13 years agoSetting Protocol ID of notifys sent from task manager to ISAKMP
Clavister OpenSource [Mon, 12 Dec 2011 13:35:34 +0000 (14:35 +0100)] 
Setting Protocol ID of notifys sent from task manager to ISAKMP

13 years agoIf no IKEv1 shared key found for hosts, try to find one based on config identities
Martin Willi [Mon, 12 Dec 2011 11:33:31 +0000 (12:33 +0100)] 
If no IKEv1 shared key found for hosts, try to find one based on config identities

13 years agoLog peer cfg enumeration externally for flexibility
Martin Willi [Mon, 12 Dec 2011 11:30:47 +0000 (12:30 +0100)] 
Log peer cfg enumeration externally for flexibility

13 years agoAccept NULL identities passed to peer config enumeration
Martin Willi [Mon, 12 Dec 2011 11:17:13 +0000 (12:17 +0100)] 
Accept NULL identities passed to peer config enumeration

13 years agoFixed authentication method selection for main mode PSK authentication
Martin Willi [Mon, 12 Dec 2011 10:28:24 +0000 (11:28 +0100)] 
Fixed authentication method selection for main mode PSK authentication

13 years agoUse virtual IP to substitute dynamic traffic selectors in quick mode
Martin Willi [Fri, 9 Dec 2011 15:19:54 +0000 (16:19 +0100)] 
Use virtual IP to substitute dynamic traffic selectors in quick mode

13 years agoQueue Mode Config tasks when required
Martin Willi [Fri, 9 Dec 2011 15:19:37 +0000 (16:19 +0100)] 
Queue Mode Config tasks when required

13 years agoAdded IKEv1 Mode Config task based on IKEv2 ike_config
Martin Willi [Fri, 9 Dec 2011 15:18:22 +0000 (16:18 +0100)] 
Added IKEv1 Mode Config task based on IKEv2 ike_config

13 years agoAdded missing XAuth auth_class enum name
Martin Willi [Fri, 9 Dec 2011 14:22:30 +0000 (15:22 +0100)] 
Added missing XAuth auth_class enum name

13 years agoReject quick modes if IKE_SA not yet established
Martin Willi [Fri, 9 Dec 2011 14:18:23 +0000 (15:18 +0100)] 
Reject quick modes if IKE_SA not yet established

13 years agoUse a common function to set IKE_SA to established
Martin Willi [Fri, 9 Dec 2011 14:10:38 +0000 (15:10 +0100)] 
Use a common function to set IKE_SA to established

13 years agoBe less verbose if plugin dependecy not satisfied
Martin Willi [Wed, 7 Dec 2011 12:40:38 +0000 (13:40 +0100)] 
Be less verbose if plugin dependecy not satisfied

13 years agoDon't complain when receiving XAuth or Unity configuration attributes
Martin Willi [Fri, 9 Dec 2011 13:57:51 +0000 (14:57 +0100)] 
Don't complain when receiving XAuth or Unity configuration attributes

13 years agoInterpret attribute format correctly in IKEv1 configuration format
Martin Willi [Fri, 9 Dec 2011 13:54:23 +0000 (14:54 +0100)] 
Interpret attribute format correctly in IKEv1 configuration format

13 years agoImplemented responder part of XAUTH task
Martin Willi [Thu, 8 Dec 2011 17:30:47 +0000 (18:30 +0100)] 
Implemented responder part of XAUTH task

13 years agoImplemented initiator part of xauth task
Martin Willi [Thu, 8 Dec 2011 17:08:54 +0000 (18:08 +0100)] 
Implemented initiator part of xauth task

13 years agoAsk for a username/password in xauth-null as XAUTH initiator
Martin Willi [Thu, 8 Dec 2011 17:08:13 +0000 (18:08 +0100)] 
Ask for a username/password in xauth-null as XAUTH initiator

13 years agoGet first XAuth backend if none configured
Martin Willi [Thu, 8 Dec 2011 16:19:10 +0000 (17:19 +0100)] 
Get first XAuth backend if none configured

13 years agoAccept a xauth backend name appended to left/rightauth
Martin Willi [Thu, 8 Dec 2011 15:57:38 +0000 (16:57 +0100)] 
Accept a xauth backend name appended to left/rightauth

13 years agoAdded auth_cfg option to select XAUTH backend to use
Martin Willi [Thu, 8 Dec 2011 15:53:27 +0000 (16:53 +0100)] 
Added auth_cfg option to select XAUTH backend to use

13 years agoRemove unused task swap_initiator method
Martin Willi [Thu, 8 Dec 2011 15:53:01 +0000 (16:53 +0100)] 
Remove unused task swap_initiator method

13 years agoUse a string to identify xauth backends, no need for integer types
Martin Willi [Thu, 8 Dec 2011 15:42:11 +0000 (16:42 +0100)] 
Use a string to identify xauth backends, no need for integer types

13 years agoRemove xauth_authenticator, we handle it in the task
Martin Willi [Thu, 8 Dec 2011 15:38:28 +0000 (15:38 +0000)] 
Remove xauth_authenticator, we handle it in the task

13 years agoUse a second authentication config to configure XAUTH authentication
Martin Willi [Thu, 8 Dec 2011 15:20:46 +0000 (16:20 +0100)] 
Use a second authentication config to configure XAUTH authentication

13 years agoReplace xauth_request task with a new stub where we reimplement it
Martin Willi [Thu, 8 Dec 2011 15:19:54 +0000 (16:19 +0100)] 
Replace xauth_request task with a new stub where we reimplement it

13 years agoAdded missing auth_method_t enum names
Martin Willi [Thu, 8 Dec 2011 14:56:01 +0000 (15:56 +0100)] 
Added missing auth_method_t enum names

13 years agoDefined hybrid IKEv1 authentication methods
Martin Willi [Thu, 8 Dec 2011 14:55:43 +0000 (15:55 +0100)] 
Defined hybrid IKEv1 authentication methods

13 years agoSome notification errors added to main_mode process_r
Clavister OpenSource [Fri, 9 Dec 2011 15:05:17 +0000 (16:05 +0100)] 
Some notification errors added to main_mode process_r

13 years agoEncrypt INFORMATIONAL exchange if needed
Clavister OpenSource [Fri, 9 Dec 2011 15:04:12 +0000 (16:04 +0100)] 
Encrypt INFORMATIONAL exchange if needed

13 years agoAdded possibility to send notification if task_manager->process fails
Clavister OpenSource [Fri, 9 Dec 2011 15:03:37 +0000 (16:03 +0100)] 
Added possibility to send notification if task_manager->process fails

13 years agoAdded status code to status_t
Clavister OpenSource [Fri, 9 Dec 2011 14:49:07 +0000 (15:49 +0100)] 
Added status code to status_t

New status_t enum to allow packets to be sent to peer in task_manager->process

13 years agoadded functions for getting/setting ISAKMP SPI to notify payload
Clavister OpenSource [Fri, 9 Dec 2011 14:43:36 +0000 (15:43 +0100)] 
added functions for getting/setting ISAKMP SPI to notify payload

13 years agoHandling of initial contact
Clavister OpenSource [Fri, 9 Dec 2011 10:41:26 +0000 (11:41 +0100)] 
Handling of initial contact

13 years agoAdded retransmissions for initiator.
Clavister OpenSource [Thu, 8 Dec 2011 12:47:16 +0000 (13:47 +0100)] 
Added retransmissions for initiator.

13 years agoCleaned up quick mode notify processing
Martin Willi [Wed, 7 Dec 2011 16:51:35 +0000 (17:51 +0100)] 
Cleaned up quick mode notify processing

13 years agoAdd support for KE payloads in IKEv1 quick mode (PFS)
Martin Willi [Wed, 7 Dec 2011 16:43:58 +0000 (17:43 +0100)] 
Add support for KE payloads in IKEv1 quick mode (PFS)

13 years agoEn- and decode DH group attribute in quick mode SA payloads
Martin Willi [Wed, 7 Dec 2011 16:41:16 +0000 (17:41 +0100)] 
En- and decode DH group attribute in quick mode SA payloads

13 years agoUse authenticators in IKEv1 main mode
Martin Willi [Wed, 7 Dec 2011 14:10:05 +0000 (14:10 +0000)] 
Use authenticators in IKEv1 main mode

13 years agoAdded a factory function for IKEv1 authenticators
Martin Willi [Wed, 7 Dec 2011 14:09:34 +0000 (14:09 +0000)] 
Added a factory function for IKEv1 authenticators

13 years agoImplemented IKEv1 pubkey SIG payload processing in an authenticator
Martin Willi [Wed, 7 Dec 2011 14:08:06 +0000 (14:08 +0000)] 
Implemented IKEv1 pubkey SIG payload processing in an authenticator

13 years agoImplemented IKEv1 PSK HASH payload processing in separated authenticator
Martin Willi [Wed, 7 Dec 2011 13:52:02 +0000 (14:52 +0100)] 
Implemented IKEv1 PSK HASH payload processing in separated authenticator

13 years agoHandle incoming delete messages
Clavister OpenSource [Wed, 7 Dec 2011 12:30:53 +0000 (13:30 +0100)] 
Handle incoming delete messages

13 years agouse untoh64 instead of non-portable be64toh
Andreas Steffen [Tue, 6 Dec 2011 14:15:40 +0000 (15:15 +0100)] 
use untoh64 instead of non-portable be64toh

13 years agoImplemented post-authentication certificate handling for IKEv1
Martin Willi [Tue, 6 Dec 2011 12:38:27 +0000 (13:38 +0100)] 
Implemented post-authentication certificate handling for IKEv1

13 years agoCleanup CERT payload constructors
Martin Willi [Tue, 6 Dec 2011 12:37:57 +0000 (13:37 +0100)] 
Cleanup CERT payload constructors

13 years agoImplemented pre-authentication certificate handling for IKEv1
Martin Willi [Tue, 6 Dec 2011 11:14:48 +0000 (12:14 +0100)] 
Implemented pre-authentication certificate handling for IKEv1

13 years agoAdded task types for IKEv1 certificate handling
Martin Willi [Tue, 6 Dec 2011 10:44:17 +0000 (11:44 +0100)] 
Added task types for IKEv1 certificate handling

13 years agoCleaned up certreq payload for IKEv2/IKEv1 use
Martin Willi [Tue, 6 Dec 2011 09:56:39 +0000 (10:56 +0100)] 
Cleaned up certreq payload for IKEv2/IKEv1 use

13 years agoReverted ike_cert tasks to IKEv2 only, we use dedicated IKEv1 tasks
Martin Willi [Tue, 6 Dec 2011 09:55:15 +0000 (10:55 +0100)] 
Reverted ike_cert tasks to IKEv2 only, we use dedicated IKEv1 tasks

13 years agoInstall SAs with UDP encapsulation during Quick Mode.
Tobias Brunner [Tue, 6 Dec 2011 09:33:10 +0000 (10:33 +0100)] 
Install SAs with UDP encapsulation during Quick Mode.

13 years agoFix support for plain RSA authentication in IKEv1, both as initiator and responder
Martin Willi [Mon, 5 Dec 2011 16:24:17 +0000 (17:24 +0100)] 
Fix support for plain RSA authentication in IKEv1, both as initiator and responder

13 years agoFix referencing of multiple CERTREQ payload with IKEv1, other cleanups
Martin Willi [Mon, 5 Dec 2011 16:07:48 +0000 (17:07 +0100)] 
Fix referencing of multiple CERTREQ payload with IKEv1, other cleanups

13 years agoEncode a single IP traffic selector as ID_IPV?_ADDRESS identity
Martin Willi [Mon, 5 Dec 2011 15:20:56 +0000 (16:20 +0100)] 
Encode a single IP traffic selector as ID_IPV?_ADDRESS identity

13 years agoAdded missing break;s when converting ID_IP_ADDRESS types to ts, extracted function
Martin Willi [Mon, 5 Dec 2011 15:14:52 +0000 (16:14 +0100)] 
Added missing break;s when converting ID_IP_ADDRESS types to ts, extracted function

13 years agoDon't use unportable htobe64 macro directly
Martin Willi [Mon, 5 Dec 2011 14:45:01 +0000 (15:45 +0100)] 
Don't use unportable htobe64 macro directly

13 years agoImplement htoun/untoh64 with potentially faster htobe64/be64toh macros, if available
Martin Willi [Mon, 5 Dec 2011 14:44:51 +0000 (15:44 +0100)] 
Implement htoun/untoh64 with potentially faster htobe64/be64toh macros, if available

13 years agofixed copy-and-paste error
Andreas Steffen [Sun, 4 Dec 2011 11:53:47 +0000 (12:53 +0100)] 
fixed copy-and-paste error

13 years agoextended bio_reader and bio_writer to handle u_int64_t
Andreas Steffen [Wed, 26 Oct 2011 22:37:24 +0000 (00:37 +0200)] 
extended bio_reader and bio_writer to handle u_int64_t

13 years agoXAUTH additions for certificates.
Clavister OpenSource [Mon, 5 Dec 2011 13:27:53 +0000 (14:27 +0100)] 
XAUTH additions for certificates.

13 years agosignature payload handling.
Clavister OpenSource [Mon, 5 Dec 2011 13:22:11 +0000 (14:22 +0100)] 
signature payload handling.

13 years agocertificate tasks added to passive list for responder
Clavister OpenSource [Mon, 5 Dec 2011 13:17:17 +0000 (14:17 +0100)] 
certificate tasks added to passive list for responder

13 years agocertificate handling for XAuth responder.
Clavister OpenSource [Mon, 5 Dec 2011 13:11:48 +0000 (14:11 +0100)] 
certificate handling for XAuth responder.

13 years agokeymat: derive_ike_keys updated with XAUTH RSA:s
Clavister OpenSource [Mon, 5 Dec 2011 12:54:54 +0000 (13:54 +0100)] 
keymat: derive_ike_keys updated with XAUTH RSA:s

13 years agoSetting transform number in esp proposal.
Clavister OpenSource [Mon, 5 Dec 2011 12:44:22 +0000 (13:44 +0100)] 
Setting transform number in esp proposal.

iPhone (racoon) fails quick mode when transform number is 0

13 years agoID_IPV4_ADDR and ID_IPV6_ADDR cases added to get_ts
Clavister OpenSource [Mon, 5 Dec 2011 11:48:14 +0000 (12:48 +0100)] 
ID_IPV4_ADDR and ID_IPV6_ADDR cases added to get_ts

13 years agoversion bump to 5.0.0dr1
Andreas Steffen [Sat, 3 Dec 2011 14:12:14 +0000 (15:12 +0100)] 
version bump to 5.0.0dr1

13 years agoIKEv1: Added basic support for INFORMATIONAL exchange types, and for NOTIFY_V1 messag...
Clavister OpenSource [Fri, 2 Dec 2011 15:22:42 +0000 (16:22 +0100)] 
IKEv1: Added basic support for INFORMATIONAL exchange types, and for NOTIFY_V1 messages in the 3rd message in quick_mode.

13 years agoIKEv1 XAuth: Added changes to Makefile.am to compile the xauth_null plugin.
Clavister OpenSource [Fri, 2 Dec 2011 14:39:09 +0000 (15:39 +0100)] 
IKEv1 XAuth: Added changes to Makefile.am to compile the xauth_null plugin.

13 years agoDon't stop processing tasks if one returns SUCCESS.
Tobias Brunner [Fri, 2 Dec 2011 07:38:43 +0000 (08:38 +0100)] 
Don't stop processing tasks if one returns SUCCESS.

Only send a response if at least one of the tasks requires it.

13 years agoIKEv1 XAuth: Added a "NULL" XAuth plugin which sends a hardcoded user/pass, and blind...
Clavister OpenSource [Thu, 1 Dec 2011 15:34:30 +0000 (16:34 +0100)] 
IKEv1 XAuth: Added a "NULL" XAuth plugin which sends a hardcoded user/pass, and blindly accepts whatever user/pass is sent it.  Changed the xauth_request task to use this new plugin.  Add --enable-xauth-null to your configure line to build with the new plugin.

13 years agoIKEv1 XAuth: Added plugin support for XAuth, which allows us to have plugins to talk...
Clavister OpenSource [Thu, 1 Dec 2011 13:08:24 +0000 (14:08 +0100)] 
IKEv1 XAuth: Added plugin support for XAuth, which allows us to have plugins to talk to servers with different quirks for XAuth authentication.

13 years agoIKEv1 XAuth: Add XAuth defines for plugin types.
Clavister OpenSource [Thu, 1 Dec 2011 12:11:36 +0000 (13:11 +0100)] 
IKEv1 XAuth: Add XAuth defines for plugin types.

13 years agoAdd NAT-OA payloads during Quick Mode if transport mode is used.
Tobias Brunner [Wed, 30 Nov 2011 17:03:06 +0000 (18:03 +0100)] 
Add NAT-OA payloads during Quick Mode if transport mode is used.

We don't parse them currently, as the Linux kernel does not need them to fix
the IP header checksum.

13 years agoNegotiate UDP encapsulation during Quick Mode if NAT is detected.
Tobias Brunner [Wed, 30 Nov 2011 16:52:14 +0000 (17:52 +0100)] 
Negotiate UDP encapsulation during Quick Mode if NAT is detected.

13 years agoTask added for IKEv1 NAT detection.
Tobias Brunner [Wed, 30 Nov 2011 16:09:42 +0000 (17:09 +0100)] 
Task added for IKEv1 NAT detection.

There is already support for both Main and Aggressive Mode.

13 years agoCreate negotiated hasher earlier during Main Mode so it is available for building...
Tobias Brunner [Wed, 30 Nov 2011 16:04:21 +0000 (17:04 +0100)] 
Create negotiated hasher earlier during Main Mode so it is available for building NAT-D payloads.

13 years agoAdded a function to keymat_v1 to create the hasher earlier than during key derivation.
Tobias Brunner [Wed, 30 Nov 2011 16:03:01 +0000 (17:03 +0100)] 
Added a function to keymat_v1 to create the hasher earlier than during key derivation.

The negotiated hasher is also used to generate NAT-D payloads.

13 years agoMessage rules for IKEv1 NAT-T payloads added.
Tobias Brunner [Wed, 30 Nov 2011 15:55:24 +0000 (16:55 +0100)] 
Message rules for IKEv1 NAT-T payloads added.

13 years agoIKEv1 XAuth: Moving the state change to IKE_CONNECTED until after XAuth exchanges...
Clavister OpenSource [Wed, 30 Nov 2011 09:43:38 +0000 (10:43 +0100)] 
IKEv1 XAuth: Moving the state change to IKE_CONNECTED until after XAuth exchanges are complete.

13 years agoIKEv1 XAuth: Adding "initiate" flag parameter to the initiate_xauth method, signallin...
Clavister OpenSource [Wed, 30 Nov 2011 09:39:29 +0000 (10:39 +0100)] 
IKEv1 XAuth: Adding "initiate" flag parameter to the initiate_xauth method, signalling whether or not to call the task_manager->initiate method after queueing the task.

13 years agoHandle IKEv1 NAT-T vendor ID payload (only RFC 3947 for now).
Tobias Brunner [Tue, 29 Nov 2011 13:26:52 +0000 (14:26 +0100)] 
Handle IKEv1 NAT-T vendor ID payload (only RFC 3947 for now).