Martin Willi
|
e174e0d445
|
Added not-yet used sa_payload parameters used in IKEv1
|
2012-03-20 17:30:52 +01:00 |
|
Clavister OpenSource
|
b03c700d08
|
IKEv1 XAuth: Changed the xauth_request task to use the new MIGRATE status.
|
2012-03-20 17:30:52 +01:00 |
|
Clavister OpenSource
|
46897273d7
|
IKEv1 XAuth: Added new "swap_initiator" method to the standard task_t 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.
|
2012-03-20 17:30:52 +01:00 |
|
Clavister OpenSource
|
cc50df9e6c
|
IKEv1 XAuth: XAuthInitPreShared working for XAuth initiator (Main Mode responder). Creates USER/PASS request, retrieves the result and sends status.
|
2012-03-20 17:30:52 +01:00 |
|
Clavister OpenSource
|
2d97ec0d35
|
IKEv1 XAuth: Added ability to initiate the XAuth transactions under a flag, default not to initiate XAuth.
|
2012-03-20 17:30:52 +01:00 |
|
Martin Willi
|
9cc38c8efb
|
Use quick mode task initiator flag instead of passing it as parameter
|
2012-03-20 17:30:51 +01:00 |
|
Martin Willi
|
4e0bc9af22
|
Add quick mode ID payloads only if establishing a non-host2host tunnel
|
2012-03-20 17:30:51 +01:00 |
|
Martin Willi
|
c4b8539f93
|
Refactored traffic selector handling in quick mode
|
2012-03-20 17:30:51 +01:00 |
|
Martin Willi
|
818330aafe
|
Refactored NONCE payload handling in quick mode
|
2012-03-20 17:30:51 +01:00 |
|
Tobias Brunner
|
78f7728c30
|
No need to build a HASH payload in XAUTH task.
It gets added automatically when the message is generated.
|
2012-03-20 17:30:51 +01:00 |
|
Martin Willi
|
c4c5950458
|
Create host-to-host traffic selectors if quick mode identities missing
|
2012-03-20 17:30:51 +01:00 |
|
Martin Willi
|
a7910b1c6e
|
Derive IKEv1 CHILD_SA keymat twice, once for each IPsec SA
|
2012-03-20 17:30:50 +01:00 |
|
Martin Willi
|
b6016fcab3
|
Fixed a config reference leak in IKEv2 initiate
|
2012-03-20 17:30:49 +01:00 |
|
Martin Willi
|
017d98bf39
|
Merged IKEv1 attribute payload/data into configuration payload/attribute
|
2012-03-20 17:30:49 +01:00 |
|
Clavister OpenSource
|
23f4e4b42d
|
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.
|
2012-03-20 17:30:49 +01:00 |
|
Clavister OpenSource
|
79e9f776dc
|
Updates ike_cert_post task with modifications needed for dealing with updated cert_payload class.
|
2012-03-20 17:30:49 +01:00 |
|
Martin Willi
|
5351d63c79
|
Install negotiated IKEv1 CHILD_SA negotiated in quick mode
|
2012-03-20 17:30:48 +01:00 |
|
Martin Willi
|
a0b52db079
|
Refactored main mode NONCE/KE payload processing
|
2012-03-20 17:30:47 +01:00 |
|
Martin Willi
|
a0f851cfe0
|
Refactored main mode HASH payload processing
|
2012-03-20 17:30:47 +01:00 |
|
Martin Willi
|
73380c8685
|
Skip any payloads in front of SA to extract initiators SA bytes
|
2012-03-20 17:30:47 +01:00 |
|
Martin Willi
|
21b7db99c6
|
Implemented quick mode protocol handling, no CHILD_SA or HASH payloads yet
|
2012-03-20 17:30:47 +01:00 |
|
Martin Willi
|
12b6a68a5f
|
Add missing keymat cast to avoid compiler warning
|
2012-03-20 17:30:47 +01:00 |
|
Martin Willi
|
1b99befac3
|
Create and verify PSK HASH payloads in IKEv1 main mode
|
2012-03-20 17:30:47 +01:00 |
|
Martin Willi
|
059d694a6b
|
Derive IKE keys as IKEv1 initiator, too
|
2012-03-20 17:30:46 +01:00 |
|
Tobias Brunner
|
0463674971
|
Use key derivation in IKEv1 main mode (PSK authentication).
|
2012-03-20 17:30:46 +01:00 |
|
Tobias Brunner
|
a0563846b0
|
Moved version specific keymat functions to specific interfaces.
|
2012-03-20 17:30:45 +01:00 |
|
Martin Willi
|
a09972df2b
|
Added a generic TASK_ prefix to all task types
|
2012-03-20 17:30:45 +01:00 |
|
Martin Willi
|
9124e3425b
|
Fixed reference counting bugs in main mode
|
2012-03-20 17:30:44 +01:00 |
|
Martin Willi
|
2b04aa46ea
|
Added a quick mode task stub
|
2012-03-20 17:30:44 +01:00 |
|
Martin Willi
|
31fc14e394
|
Verify IKEv1 nonce size, send 32 byte nonces
|
2012-03-20 17:30:44 +01:00 |
|
Martin Willi
|
6c2b7d4ed9
|
Partially implemented third main mode exchange (identities)
|
2012-03-20 17:30:44 +01:00 |
|
Martin Willi
|
26b55dc6c8
|
Implemented first two exchanges of Main Mode as initiator
|
2012-03-20 17:30:43 +01:00 |
|
Martin Willi
|
9cc63d2cf0
|
Added enum name for MAIN_MODE task
|
2012-03-20 17:30:43 +01:00 |
|
Martin Willi
|
cf6cd5aa4b
|
Added IKEv1 support to delete payload
|
2012-03-20 17:30:43 +01:00 |
|
Martin Willi
|
04ee2b7fed
|
Added IKEv1 support to notify payload
|
2012-03-20 17:30:43 +01:00 |
|
Tobias Brunner
|
043ed1b346
|
Memory leak fixed.
|
2012-03-20 17:30:43 +01:00 |
|
Tobias Brunner
|
0b611540ef
|
Store IKE version of an SA on ike_sa_t.
|
2012-03-20 17:30:43 +01:00 |
|
Martin Willi
|
f34b452d56
|
Implement second exchange in IKEv1 main mode
|
2012-03-20 17:30:42 +01:00 |
|
Martin Willi
|
683d83ed3e
|
Extended KE payload for IKEv1 support
|
2012-03-20 17:30:42 +01:00 |
|
Martin Willi
|
bcfb0f4096
|
Extended nonce payload for IKEv1 support
|
2012-03-20 17:30:42 +01:00 |
|
Martin Willi
|
2e897fe30a
|
Handle first exchange in IKEv1 main mode as responder
|
2012-03-20 17:30:41 +01:00 |
|
Martin Willi
|
c73c832c5a
|
Added an IKEv1 main mode task stub
|
2012-03-20 17:30:41 +01:00 |
|
Martin Willi
|
b0b9d18593
|
Extend sa_payload for IKEv1 support
|
2012-03-20 17:30:40 +01:00 |
|
Martin Willi
|
837298c590
|
Use vendor id payload for IKEv1 payloads, too
|
2012-03-20 17:30:39 +01:00 |
|
Tobias Brunner
|
5d549cd4e1
|
Log if charon failed to establish a CHILD_SA but keeps the IKE_SA up.
|
2011-10-21 18:09:02 +02:00 |
|
Tobias Brunner
|
d7c552a25e
|
Fixed compilation of ike_me_t.
|
2011-10-04 10:19:10 +02:00 |
|
Andreas Steffen
|
4fb6b7a12c
|
Migrated child_delete to INIT/METHOD macros
|
2011-10-04 08:05:27 +02:00 |
|
Andreas Steffen
|
0fc9dd1194
|
Migrated child_rekey to INIT/METHOD macros
|
2011-10-04 07:10:46 +02:00 |
|
Andreas Steffen
|
ad8f42e898
|
Migrated ike_auth_lifetime to INIT/METHOD macros
|
2011-10-04 06:47:35 +02:00 |
|
Andreas Steffen
|
27d7641641
|
Migrated ike_cert_post to INIT/METHOD macros
|
2011-10-04 05:59:09 +02:00 |
|