Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| | * | Added a get_rekey/reauth_time() jitter parameter to get time without ↵ | Martin Willi | 2012-03-20 | 3 | -10/+12 | |
| | | | | | | | | | | | | randomization | |||||
| | * | IKEv1 XAuth: Changed the xauth_request task to use the new MIGRATE status. | Clavister OpenSource | 2012-03-20 | 2 | -1/+4 | |
| | | | ||||||
| | * | IKEv1 XAuth: Added new MIGRATE status type to status_t. | Clavister OpenSource | 2012-03-20 | 1 | -0/+48 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When a task returns this status from a build or process method, it is a signal to the task manager that it should treat it as if the task returned SUCCESS. Additionally it will migrate all remaining tasks from the current queue to a different one, calling swap_initiator for each applicable task. Finally, the task manager will call "initiate", if applicable, to kick off tasks in the "queued_tasks" queue. Task queue relocation mapping: passive_tasks moves to queued_tasks (which is then fed to active by the initiate call). active_tasks moves to passive_tasks | |||||
| | * | IKEv1 XAuth: Added new "swap_initiator" method to the standard task_t ↵ | Clavister OpenSource | 2012-03-20 | 2 | -0/+23 | |
| | | | | | | | | | | | | interface. This is needed for when we move a task from the passive queue to the active one. I'm not a huge fan of this method of doing things. Perhaps we should change task_t to have build_i, build_r, process_i, and process_r methods, and call the appropriate one from the task manager, since we have these methods for most tasks anyways. | |||||
| | * | IKEv1 XAuth: XAuthInitPreShared working for XAuth initiator (Main Mode ↵ | Clavister OpenSource | 2012-03-20 | 1 | -15/+123 | |
| | | | | | | | | | | | | responder). Creates USER/PASS request, retrieves the result and sends status. | |||||
| | * | IKEv1 XAuth: Added ability to initiate the XAuth transactions under a flag, ↵ | Clavister OpenSource | 2012-03-20 | 1 | -1/+5 | |
| | | | | | | | | | | | | default not to initiate XAuth. | |||||
| | * | IKEv1 XAuth: Add XAUTH authentication types to the enum. Added the ability ↵ | Clavister OpenSource | 2012-03-20 | 1 | -0/+17 | |
| | | | | | | | | | | | | to switch between hardcoded PSK and XAUTH_INIT_PSK authentications using a flag, default to PSK. | |||||
| | * | IKEv1 ConfigMode: Fix configuration_attribute encoding rules for IKEv1 to ↵ | Clavister OpenSource | 2012-03-20 | 1 | -1/+1 | |
| | | | | | | | | | | | | use the attribute type instead of the internal only payload type. | |||||
| | * | IKEv1 ConfigMode: Fixed cp_payload to use CONFIGURATION_ATTRIBUTE_V1 in all ↵ | Clavister OpenSource | 2012-03-20 | 3 | -1/+3 | |
| | | | | | | | | | | | | appropriate places, so the parsing is done correctly. | |||||
| | * | IKEv1 XAuth: Added ike_vendor task to the ID_PROT exchange type processing. ↵ | Clavister OpenSource | 2012-03-20 | 1 | -0/+3 | |
| | | | | | | | | | | | | We need to process vendor payloads to check to see if our peer understands XAuth before using any of these payload types. | |||||
| | * | IKEv1 XAuth: Added temporary "initiate_xauth" public method to ike_sa_t. ↵ | Clavister OpenSource | 2012-03-20 | 2 | -0/+18 | |
| | | | | | | | | | | | | This allows us to initiate an XAuth password authentication exchange after responding to the final message of Main Mode. This change should be reverted once we have a better method to initiate this exchange. | |||||
| | * | IKEv1 XAuth: Temporarilty add an "initiate_later" flag to the task manager. ↵ | Clavister OpenSource | 2012-03-20 | 2 | -1/+31 | |
| | | | | | | | | | | | | When set to TRUE it will cause "initiate" to be called when the current process_response call is finished. This change should be reverted once we have a better method in place. | |||||
| | * | Use quick mode task initiator flag instead of passing it as parameter | Martin Willi | 2012-03-20 | 1 | -12/+10 | |
| | | | ||||||
| | * | Add quick mode ID payloads only if establishing a non-host2host tunnel | Martin Willi | 2012-03-20 | 1 | -7/+30 | |
| | | | ||||||
| | * | Refactored traffic selector handling in quick mode | Martin Willi | 2012-03-20 | 1 | -122/+143 | |
| | | | ||||||
| | * | Refactored NONCE payload handling in quick mode | Martin Willi | 2012-03-20 | 1 | -47/+48 | |
| | | | ||||||
| | * | No need to build a HASH payload in XAUTH task. | Tobias Brunner | 2012-03-20 | 1 | -30/+0 | |
| | | | | | | | | | | | | It gets added automatically when the message is generated. | |||||
| | * | Create host-to-host traffic selectors if quick mode identities missing | Martin Willi | 2012-03-20 | 1 | -3/+26 | |
| | | | ||||||
| | * | Removed redundant '=>' when logging binary data in parser and generator. | Tobias Brunner | 2012-03-20 | 2 | -6/+6 | |
| | | | ||||||
| | * | Fixed encryption of IKEv2 messages. | Tobias Brunner | 2012-03-20 | 1 | -2/+2 | |
| | | | ||||||
| | * | Print message payload names after prepending IKEv1 HASH payload | Martin Willi | 2012-03-20 | 1 | -2/+2 | |
| | | | ||||||
| | * | Fixed task_manager_v1 compiler warnings | Martin Willi | 2012-03-20 | 1 | -3/+4 | |
| | | | ||||||
| | * | Generate a new mid only after we start a new task (and exchange) | Martin Willi | 2012-03-20 | 1 | -3/+7 | |
| | | | ||||||
| | * | Derive IKEv1 CHILD_SA keymat twice, once for each IPsec SA | Martin Willi | 2012-03-20 | 3 | -24/+31 | |
| | | | ||||||
| | * | Fix seed construction for IKEv1 key derivation | Martin Willi | 2012-03-20 | 1 | -1/+1 | |
| | | | ||||||
| | * | Use a dedicated message hash to detect IKEv1 retransmissions | Martin Willi | 2012-03-20 | 1 | -7/+13 | |
| | | | ||||||
| | * | Include hardcoded tunnel mode attribute in porposal, remove ESN attribute | Martin Willi | 2012-03-20 | 1 | -2/+2 | |
| | | | ||||||
| | * | Authenticate and verify Phase 2 IKEv1 messages with appropriate hashes. | Tobias Brunner | 2012-03-20 | 3 | -2/+265 | |
| | | | ||||||
| | * | Fixed verification of DELETE_V1 payloads. | Tobias Brunner | 2012-03-20 | 1 | -4/+13 | |
| | | | ||||||
| | * | Fixed header length calculation of DELETE payload. | Tobias Brunner | 2012-03-20 | 1 | -6/+6 | |
| | | | ||||||
| | * | Fixed conftests after extending CERT payload. | Tobias Brunner | 2012-03-20 | 1 | -2/+4 | |
| | | | ||||||
| | * | Fixed a config reference leak in IKEv2 initiate | Martin Willi | 2012-03-20 | 1 | -1/+0 | |
| | | | ||||||
| | * | XAUTH is initiated based on configuration, no need to call externally | Martin Willi | 2012-03-20 | 3 | -21/+0 | |
| | | | ||||||
| | * | Merged IKEv1 attribute payload/data into configuration payload/attribute | Martin Willi | 2012-03-20 | 14 | -814/+273 | |
| | | | ||||||
| | * | Temp fix for compile error with XAUTH code. | Clavister OpenSource | 2012-03-20 | 1 | -1/+1 | |
| | | | ||||||
| | * | IKEv1 XAUTH: Added ability to configure XAUTH+PSK. Added task to handle ↵ | Clavister OpenSource | 2012-03-20 | 9 | -7/+333 | |
| | | | | | | | | | | | | XAUTH requests. Modified task_manager_v1 to enable it to initiate new tasks immediately after finishing a response. | |||||
| | * | Updates ike_cert_post task with modifications needed for dealing with ↵ | Clavister OpenSource | 2012-03-20 | 1 | -5/+5 | |
| | | | | | | | | | | | | updated cert_payload class. | |||||
| | * | IKEv1 ConfigMode: Added the payload handlers for attribute_payload and ↵ | Clavister OpenSource | 2012-03-20 | 4 | -0/+672 | |
| | | | | | | | | | | | | data_attribute payload types. | |||||
| | * | IKEv1 ConfigMode: Added TRANSACTION exchange type. Added attribute_payload ↵ | Clavister OpenSource | 2012-03-20 | 6 | -20/+78 | |
| | | | | | | | | | | | | (IKEv2 equiv cp_payload) and data_attribute (IKEv2 equiv configuration_attribute) payload types. Did not combine with IKEv2 because it wasn't trivial to do so. This might be a task worth investigating in the future, because there is a decent amount of shared code here. | |||||
| | * | Updated the CERT payload to work for both IKEv1 and IKEv2. | Clavister OpenSource | 2012-03-20 | 2 | -14/+25 | |
| | | | ||||||
| | * | Parse proposal substructure with multiple IKEv1 transforms to multiple proposals | Martin Willi | 2012-03-20 | 3 | -34/+33 | |
| | | | ||||||
| | * | Encode multiple IKEv1 proposals in a single transform substructure | Martin Willi | 2012-03-20 | 3 | -13/+74 | |
| | | | ||||||
| | * | Remove public sa_payload.add_proposal() method | Martin Willi | 2012-03-20 | 2 | -18/+12 | |
| | | | ||||||
| | * | Only add the first algorithm of a kind to IKEv1 transforms | Martin Willi | 2012-03-20 | 1 | -4/+4 | |
| | | | ||||||
| | * | Install negotiated IKEv1 CHILD_SA negotiated in quick mode | Martin Willi | 2012-03-20 | 1 | -0/+163 | |
| | | | ||||||
| | * | Implemented IKEv1 keymat CHILD_SA key derivation function | Martin Willi | 2012-03-20 | 2 | -0/+131 | |
| | | | ||||||
| | * | Moved keymat key length lookup functions to keymat.c | Martin Willi | 2012-03-20 | 3 | -55/+75 | |
| | | | ||||||
| | * | Extended PRF+ by a non-counting variant as used by IKEv1 | Martin Willi | 2012-03-20 | 1 | -3/+3 | |
| | | | ||||||
| | * | Hardcode some SA lifetimes until we can configure them dynamically | Martin Willi | 2012-03-20 | 1 | -0/+12 | |
| | | | ||||||
| | * | Added missing comma after ME_CONNECT declaration. | Tobias Brunner | 2012-03-20 | 1 | -13/+14 | |
| | | |