aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/sa
Commit message (Collapse)AuthorAgeFilesLines
...
| | * Map auth_class to auth method and IKEv1 proposal attributeMartin Willi2012-03-202-0/+15
| | |
| | * Exchange IKEv1 ESP SA proposal informationMartin Willi2012-03-201-2/+66
| | |
| | * Exchange IKEv1 SA specific proposal data with SA payloadMartin Willi2012-03-201-13/+69
| | |
| | * Added not-yet used sa_payload parameters used in IKEv1Martin Willi2012-03-205-16/+18
| | |
| | * Added a get_rekey/reauth_time() jitter parameter to get time without ↵Martin Willi2012-03-201-2/+2
| | | | | | | | | | | | randomization
| | * IKEv1 XAuth: Changed the xauth_request task to use the new MIGRATE status.Clavister OpenSource2012-03-202-1/+4
| | |
| | * IKEv1 XAuth: Added new MIGRATE status type to status_t.Clavister OpenSource2012-03-201-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 OpenSource2012-03-202-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 OpenSource2012-03-201-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 OpenSource2012-03-201-1/+5
| | | | | | | | | | | | default not to initiate XAuth.
| | * IKEv1 XAuth: Added ike_vendor task to the ID_PROT exchange type processing. ↵Clavister OpenSource2012-03-201-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 OpenSource2012-03-202-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 OpenSource2012-03-202-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 parameterMartin Willi2012-03-201-12/+10
| | |
| | * Add quick mode ID payloads only if establishing a non-host2host tunnelMartin Willi2012-03-201-7/+30
| | |
| | * Refactored traffic selector handling in quick modeMartin Willi2012-03-201-122/+143
| | |
| | * Refactored NONCE payload handling in quick modeMartin Willi2012-03-201-47/+48
| | |
| | * No need to build a HASH payload in XAUTH task.Tobias Brunner2012-03-201-30/+0
| | | | | | | | | | | | It gets added automatically when the message is generated.
| | * Create host-to-host traffic selectors if quick mode identities missingMartin Willi2012-03-201-3/+26
| | |
| | * Fixed task_manager_v1 compiler warningsMartin Willi2012-03-201-3/+4
| | |
| | * Generate a new mid only after we start a new task (and exchange)Martin Willi2012-03-201-3/+7
| | |
| | * Derive IKEv1 CHILD_SA keymat twice, once for each IPsec SAMartin Willi2012-03-203-24/+31
| | |
| | * Fix seed construction for IKEv1 key derivationMartin Willi2012-03-201-1/+1
| | |
| | * Use a dedicated message hash to detect IKEv1 retransmissionsMartin Willi2012-03-201-7/+13
| | |
| | * Authenticate and verify Phase 2 IKEv1 messages with appropriate hashes.Tobias Brunner2012-03-202-0/+221
| | |
| | * Fixed a config reference leak in IKEv2 initiateMartin Willi2012-03-201-1/+0
| | |
| | * XAUTH is initiated based on configuration, no need to call externallyMartin Willi2012-03-203-21/+0
| | |
| | * Merged IKEv1 attribute payload/data into configuration payload/attributeMartin Willi2012-03-202-25/+24
| | |
| | * Temp fix for compile error with XAUTH code.Clavister OpenSource2012-03-201-1/+1
| | |
| | * IKEv1 XAUTH: Added ability to configure XAUTH+PSK. Added task to handle ↵Clavister OpenSource2012-03-207-6/+327
| | | | | | | | | | | | 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 OpenSource2012-03-201-5/+5
| | | | | | | | | | | | updated cert_payload class.
| | * Install negotiated IKEv1 CHILD_SA negotiated in quick modeMartin Willi2012-03-201-0/+163
| | |
| | * Implemented IKEv1 keymat CHILD_SA key derivation functionMartin Willi2012-03-202-0/+131
| | |
| | * Moved keymat key length lookup functions to keymat.cMartin Willi2012-03-203-55/+75
| | |
| | * Extended PRF+ by a non-counting variant as used by IKEv1Martin Willi2012-03-201-3/+3
| | |
| | * Refactored main mode NONCE/KE payload processingMartin Willi2012-03-201-76/+63
| | |
| | * Refactored main mode HASH payload processingMartin Willi2012-03-201-60/+56
| | |
| | * Skip any payloads in front of SA to extract initiators SA bytesMartin Willi2012-03-201-10/+24
| | |
| | * Implemented quick mode protocol handling, no CHILD_SA or HASH payloads yetMartin Willi2012-03-202-7/+294
| | |
| | * Add missing keymat cast to avoid compiler warningMartin Willi2012-03-201-1/+1
| | |
| | * Don't compare initiator flag in IKE_SA manager, pass initiator parameter to ↵Martin Willi2012-03-204-19/+11
| | | | | | | | | | | | IKE_SA constructor
| | * Create and verify PSK HASH payloads in IKEv1 main modeMartin Willi2012-03-201-9/+117
| | |
| | * Added keymat_v1_t.get_hash() to calculate authentication hashesMartin Willi2012-03-202-0/+53
| | |
| | * Derive IKE keys as IKEv1 initiator, tooMartin Willi2012-03-201-0/+6
| | |
| | * Added IV generation to keymat_v1_t.Tobias Brunner2012-03-202-0/+229
| | |
| | * Use key derivation in IKEv1 main mode (PSK authentication).Tobias Brunner2012-03-201-1/+80
| | |
| | * Added a simple AEAD wrapper for IKEv1 encryption/decryption.Tobias Brunner2012-03-201-1/+155
| | |
| | * Added IKEv1 key derivation with support for AUTH_CLASS_PSK.Tobias Brunner2012-03-202-16/+190
| | |
| | * Update cached hosts on ike_sa_t when processing IKEv1 messages.Tobias Brunner2012-03-201-1/+7
| | |
| | * Provide keymat_t to message_t to encrypt/decrypt data.Tobias Brunner2012-03-201-4/+2
| | |