- configuration_manager replaced by configuration_t interface
- current configuration_manager is now static_configuration (testing) - first draft of starter_configuration, which should once interact with ipsec starter (via whack?) - some cleanups - socket_t uses RAW socket, which allows parallel service of pluto/charon
This commit is contained in:
@@ -44,19 +44,19 @@ typedef enum auth_method_t auth_method_t;
|
||||
*/
|
||||
enum auth_method_t {
|
||||
/**
|
||||
* Computed as specified in section 2.15 of draft using
|
||||
* Computed as specified in section 2.15 of RFC using
|
||||
* an RSA private key over a PKCS#1 padded hash.
|
||||
*/
|
||||
RSA_DIGITAL_SIGNATURE = 1,
|
||||
|
||||
/* Computed as specified in
|
||||
* section 2.15 of draft using the shared key associated with the identity
|
||||
* section 2.15 of RFC using the shared key associated with the identity
|
||||
* in the ID payload and the negotiated prf function
|
||||
*/
|
||||
SHARED_KEY_MESSAGE_INTEGRITY_CODE = 2,
|
||||
|
||||
/* Computed as specified in section
|
||||
* 2.15 of draft using a DSS private key over a SHA-1 hash.
|
||||
* 2.15 of RFC using a DSS private key over a SHA-1 hash.
|
||||
*/
|
||||
DSS_DIGITAL_SIGNATURE = 3,
|
||||
};
|
||||
@@ -74,7 +74,7 @@ typedef struct auth_payload_t auth_payload_t;
|
||||
/**
|
||||
* @brief Class representing an IKEv2 AUTH payload.
|
||||
*
|
||||
* The AUTH payload format is described in draft section 3.8.
|
||||
* The AUTH payload format is described in RFC section 3.8.
|
||||
*
|
||||
* @b Constructors:
|
||||
* - auth_payload_create()
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
typedef enum cert_encoding_t cert_encoding_t;
|
||||
|
||||
/**
|
||||
* @brief Certificate encoding, as described in IKEv2 draft section 3.6
|
||||
* @brief Certificate encoding, as described in IKEv2 RFC section 3.6
|
||||
*
|
||||
* @ingroup payloads
|
||||
*/
|
||||
@@ -69,7 +69,7 @@ typedef struct cert_payload_t cert_payload_t;
|
||||
/**
|
||||
* @brief Class representing an IKEv2 CERT payload.
|
||||
*
|
||||
* The CERT payload format is described in draft section 3.6.
|
||||
* The CERT payload format is described in RFC section 3.6.
|
||||
* This is just a dummy implementation to fullfill the standards
|
||||
* requirements. A full implementation would offer setters/getters
|
||||
* for the different encoding types.
|
||||
|
||||
@@ -40,7 +40,7 @@ typedef struct certreq_payload_t certreq_payload_t;
|
||||
/**
|
||||
* @brief Class representing an IKEv2 CERTREQ payload.
|
||||
*
|
||||
* The CERTREQ payload format is described in draft section 3.7.
|
||||
* The CERTREQ payload format is described in RFC section 3.7.
|
||||
* This is just a dummy implementation to fullfill the standards
|
||||
* requirements. A full implementation would offer setters/getters
|
||||
* for the different encoding types.
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
typedef enum configuration_attribute_type_t configuration_attribute_type_t;
|
||||
|
||||
/**
|
||||
* Type of the attribute, as in IKEv2 draft 3.15.1.
|
||||
* Type of the attribute, as in IKEv2 RFC 3.15.1.
|
||||
*
|
||||
* @ingroup payloads
|
||||
*/
|
||||
|
||||
@@ -41,7 +41,7 @@ typedef struct delete_payload_t delete_payload_t;
|
||||
/**
|
||||
* @brief Class representing an IKEv2 DELETE payload.
|
||||
*
|
||||
* The DELETE payload format is described in draft section 3.11.
|
||||
* The DELETE payload format is described in RFC section 3.11.
|
||||
*
|
||||
* @b Constructors:
|
||||
* - delete_payload_create()
|
||||
|
||||
@@ -39,7 +39,7 @@ typedef struct eap_payload_t eap_payload_t;
|
||||
/**
|
||||
* @brief Class representing an IKEv2 EAP payload.
|
||||
*
|
||||
* The EAP payload format is described in draft section 3.16.
|
||||
* The EAP payload format is described in RFC section 3.16.
|
||||
*
|
||||
* @b Constructors:
|
||||
* - eap_payload_create()
|
||||
|
||||
@@ -41,7 +41,7 @@ typedef struct id_payload_t id_payload_t;
|
||||
/**
|
||||
* Object representing an IKEv2 ID payload.
|
||||
*
|
||||
* The ID payload format is described in draft section 3.5.
|
||||
* The ID payload format is described in RFC section 3.5.
|
||||
*
|
||||
* @b Constructors:
|
||||
* - id_payload_create_from_identification()
|
||||
|
||||
@@ -38,7 +38,7 @@ typedef struct nonce_payload_t nonce_payload_t;
|
||||
/**
|
||||
* Object representing an IKEv2 Nonce payload.
|
||||
*
|
||||
* The Nonce payload format is described in draft section 3.3.
|
||||
* The Nonce payload format is described in RFC section 3.3.
|
||||
*
|
||||
* @b Constructors:
|
||||
* - nonce_payload_create()
|
||||
|
||||
@@ -49,7 +49,7 @@ typedef enum notify_message_type_t notify_message_type_t;
|
||||
/**
|
||||
* @brief Notify message types.
|
||||
*
|
||||
* See IKEv2 draft 3.10.1.
|
||||
* See IKEv2 RFC 3.10.1.
|
||||
*
|
||||
* @ingroup payloads
|
||||
*/
|
||||
|
||||
@@ -41,7 +41,7 @@ typedef struct traffic_selector_substructure_t traffic_selector_substructure_t;
|
||||
/**
|
||||
* @brief Class representing an IKEv2 TRAFFIC SELECTOR.
|
||||
*
|
||||
* The TRAFFIC SELECTOR format is described in draft section 3.13.1.
|
||||
* The TRAFFIC SELECTOR format is described in RFC section 3.13.1.
|
||||
*
|
||||
* @b Constructors:
|
||||
* - traffic_selector_substructure_create()
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
typedef enum transform_attribute_type_t transform_attribute_type_t;
|
||||
|
||||
/**
|
||||
* Type of the attribute, as in IKEv2 draft 3.3.5.
|
||||
* Type of the attribute, as in IKEv2 RFC 3.3.5.
|
||||
*
|
||||
* @ingroup payloads
|
||||
*/
|
||||
|
||||
@@ -43,7 +43,7 @@ typedef struct ts_payload_t ts_payload_t;
|
||||
/**
|
||||
* @brief Class representing an IKEv2 TS payload.
|
||||
*
|
||||
* The TS payload format is described in draft section 3.13.
|
||||
* The TS payload format is described in RFC section 3.13.
|
||||
*
|
||||
* @b Constructors:
|
||||
* - ts_payload_create()
|
||||
|
||||
@@ -39,7 +39,7 @@ typedef struct vendor_id_payload_t vendor_id_payload_t;
|
||||
/**
|
||||
* @brief Class representing an IKEv2 VENDOR ID payload.
|
||||
*
|
||||
* The VENDOR ID payload format is described in draft section 3.12.
|
||||
* The VENDOR ID payload format is described in RFC section 3.12.
|
||||
*
|
||||
* @b Constructors:
|
||||
* - vendor_id_payload_create()
|
||||
|
||||
Reference in New Issue
Block a user