IKEv1 XAUTH: Added ability to configure XAUTH+PSK. Added task to handle XAUTH requests. Modified task_manager_v1 to enable it to initiate new tasks immediately after finishing a response.

This commit is contained in:
Clavister OpenSource
2012-03-20 17:30:49 +01:00
parent 79e9f776dc
commit 23f4e4b42d
10 changed files with 335 additions and 7 deletions
+10
View File
@@ -102,6 +102,11 @@ enum ike_extension_t {
* peer is probably a Windows 7 RAS client
*/
EXT_MS_WINDOWS = (1<<6),
/**
* peer supports XAuth authentication, draft-ietf-ipsec-isakmp-xauth-06
*/
EXT_XAUTH = (1<<7),
};
/**
@@ -953,6 +958,11 @@ struct ike_sa_t {
* Destroys a ike_sa_t object.
*/
void (*destroy) (ike_sa_t *this);
/**
* Initiate XAUTH authentication
*/
status_t (*initiate_xauth)(ike_sa_t *this);
};
/**