Martin Willi
|
9cc8bd4fd2
|
Use a dedicated message hash to detect IKEv1 retransmissions
|
2012-03-20 17:30:50 +01:00 |
|
Martin Willi
|
7a7f486df6
|
Include hardcoded tunnel mode attribute in porposal, remove ESN attribute
|
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
|
384c1a32a2
|
XAUTH is initiated based on configuration, no need to call externally
|
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 |
|
Martin Willi
|
d50152a70b
|
Parse proposal substructure with multiple IKEv1 transforms to multiple proposals
|
2012-03-20 17:30:49 +01:00 |
|
Martin Willi
|
62a27ba347
|
Encode multiple IKEv1 proposals in a single transform substructure
|
2012-03-20 17:30:48 +01:00 |
|
Martin Willi
|
f9450fc9f7
|
Remove public sa_payload.add_proposal() method
|
2012-03-20 17:30:48 +01:00 |
|
Martin Willi
|
cd89f1a074
|
Only add the first algorithm of a kind to IKEv1 transforms
|
2012-03-20 17:30:48 +01:00 |
|
Martin Willi
|
5351d63c79
|
Install negotiated IKEv1 CHILD_SA negotiated in quick mode
|
2012-03-20 17:30:48 +01:00 |
|
Martin Willi
|
ff2a2ad33a
|
Implemented IKEv1 keymat CHILD_SA key derivation function
|
2012-03-20 17:30:48 +01:00 |
|
Martin Willi
|
6cd72730bf
|
Moved keymat key length lookup functions to keymat.c
|
2012-03-20 17:30:48 +01:00 |
|
Martin Willi
|
d4f6686c69
|
Extended PRF+ by a non-counting variant as used by IKEv1
|
2012-03-20 17:30:48 +01:00 |
|
Martin Willi
|
f5c0096086
|
Hardcode some SA lifetimes until we can configure them dynamically
|
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
|
cc9629d87c
|
Partially implemented IKEv1 ESP proposal en-/decoding
|
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
|
17ec1c74de
|
Don't compare initiator flag in IKE_SA manager, pass initiator parameter to IKE_SA constructor
|
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
|
4eee34ac49
|
Added keymat_v1_t.get_hash() to calculate authentication hashes
|
2012-03-20 17:30:46 +01:00 |
|
Martin Willi
|
e1f9d6476e
|
Register HASH_V1 in payload factory
|
2012-03-20 17:30:46 +01:00 |
|
Martin Willi
|
059d694a6b
|
Derive IKE keys as IKEv1 initiator, too
|
2012-03-20 17:30:46 +01:00 |
|
Martin Willi
|
7fcd26f4fc
|
Fix payload length of id_payload created from a traffic selector
|
2012-03-20 17:30:46 +01:00 |
|
Martin Willi
|
a09972df2b
|
Added a generic TASK_ prefix to all task types
|
2012-03-20 17:30:45 +01:00 |
|
Martin Willi
|
744c080153
|
Initiate and respond to quick mode task (stub)
|
2012-03-20 17:30:45 +01:00 |
|
Martin Willi
|
3bd5fcc832
|
Print message ID as unsigned integer
|
2012-03-20 17:30:45 +01:00 |
|
Martin Willi
|
9e40e3e9fa
|
Added message encoding rules for quick mode
|
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
|
73aaf76be3
|
Implemented basic message id handling for IKEv1
|
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
|
cbb6d765bc
|
Fixed length calculation of delete payload
|
2012-03-20 17:30:44 +01:00 |
|
Martin Willi
|
4ea258538e
|
Update header length after each parsed rule, as it might change when parsing SPI size
|
2012-03-20 17:30:44 +01:00 |
|
Martin Willi
|
5789320f5c
|
Fix rule selection in transform substructure
|
2012-03-20 17:30:44 +01:00 |
|
Martin Willi
|
5f1aef65ce
|
Fixed proposal numbering check in sa_payload
|
2012-03-20 17:30:44 +01:00 |
|
Martin Willi
|
c311d22d0f
|
Don't clone chunk in message.get_packet_data
|
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
|
e4a8fd72cb
|
Added IKEv1 ID payload <-> traffic selector conversion functions
|
2012-03-20 17:30:44 +01:00 |
|
Martin Willi
|
764ee21d83
|
ts.get_subnet() returns TRUE if the selector actually is a subnet
|
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
|
cf1772f685
|
Do not ignore configs for IKEv1 in charon anymore
|
2012-03-20 17:30:43 +01:00 |
|
Martin Willi
|
558f79f76d
|
Added missing task manager factory declaration
|
2012-03-20 17:30:43 +01:00 |
|
Martin Willi
|
72b3146092
|
Re-enable static inclusion of PSK auth method into IKEv1 proposal
|
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 |
|
Martin Willi
|
f62a7c7c71
|
Use a generic list encoding rule we can use to specify the wrapped payload type
|
2012-03-20 17:30:42 +01:00 |
|
Martin Willi
|
95a26523af
|
Use a generic encoding type for all variable length chunks
|
2012-03-20 17:30:42 +01:00 |
|
Martin Willi
|
ee50a29385
|
Implemented IKEv1 hash payload
|
2012-03-20 17:30:42 +01:00 |
|
Martin Willi
|
2a36037ec7
|
Extended ID payload for (non-TS) IKEv1 use
|
2012-03-20 17:30:42 +01:00 |
|
Martin Willi
|
f34b452d56
|
Implement second exchange in IKEv1 main mode
|
2012-03-20 17:30:42 +01:00 |
|
Martin Willi
|
38fb67fbf1
|
Add a payload.get_header_length() method, remove header length definitions
|
2012-03-20 17:30:42 +01:00 |
|
Martin Willi
|
e9b55b8325
|
Simplify signature of get_encoding_rules(), make all rules static
|
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
|
717333da98
|
Add fixed PSK authentication method to IKEv1 proposal for now
|
2012-03-20 17:30:41 +01:00 |
|
Martin Willi
|
2e897fe30a
|
Handle first exchange in IKEv1 main mode as responder
|
2012-03-20 17:30:41 +01:00 |
|
Martin Willi
|
3a470f3035
|
Added limiting encoding of IKEv1 SA payloads
|
2012-03-20 17:30:41 +01:00 |
|
Martin Willi
|
2bcd51b389
|
Added SA payload IKEv1 encoding types to generator
|
2012-03-20 17:30:41 +01:00 |
|
Martin Willi
|
bce8d3be11
|
Don't set IKEv2 only header flags when using IKEv1
|
2012-03-20 17:30:41 +01:00 |
|
Martin Willi
|
da8cadbd93
|
Set default IKE header initiator flag in IKEv2 only
|
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
|
4a09d9ee7f
|
Added a stub for a IKEv1 task manager
|
2012-03-20 17:30:41 +01:00 |
|
Martin Willi
|
e69f7dcddf
|
Use task manager as generic interface, renamed implementation to _v2.
|
2012-03-20 17:30:41 +01:00 |
|
Martin Willi
|
4ac22be0ec
|
Fix unaligned aliasing warning in raw socket
|
2012-03-20 17:30:41 +01:00 |
|
Martin Willi
|
1bf2971ff2
|
Implemented limited payload parsing for IKEv1 SA payloads
|
2012-03-20 17:30:40 +01:00 |
|
Martin Willi
|
3f6d1b13a7
|
Added additional IKEv1 payload and encoding identifiers
|
2012-03-20 17:30:40 +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 |
|
Martin Willi
|
ecf854a00b
|
Added IKEv1 payload identifiers to "known" payload list
|
2012-03-20 17:30:39 +01:00 |
|
Martin Willi
|
2fc986182f
|
Handle IKEv1 messages in managers checkout_by_message
|
2012-03-20 17:30:39 +01:00 |
|
Martin Willi
|
e33b41e7b0
|
Added IKEv1 payload identifiers
|
2012-03-20 17:30:39 +01:00 |
|
Martin Willi
|
867701bc6d
|
Accept and process IKEv1 messages in receiver
|
2012-03-20 17:30:39 +01:00 |
|
Martin Willi
|
526b5afb45
|
Extended IKE header for IKEv1 support
|
2012-03-20 17:30:39 +01:00 |
|
Martin Willi
|
37276728f3
|
Added some NEWS for 4.6.0
|
2011-10-14 10:29:01 +02:00 |
|
Martin Willi
|
58fcdc4f06
|
Don't enforce features with soft dependencies before all plugins are loaded
|
2011-10-14 10:05:49 +02:00 |
|
Martin Willi
|
67c1d36554
|
Add features support tp eap-simaka-reauth plugin
|
2011-10-14 10:05:49 +02:00 |
|
Martin Willi
|
e9655e7417
|
Add features support to eap-simaka-pseudonym plugin
|
2011-10-14 10:05:49 +02:00 |
|
Martin Willi
|
f91cba1874
|
Add features support to eap-simaka-sql plugin
|
2011-10-14 10:05:49 +02:00 |
|
Martin Willi
|
a07f2a4b9b
|
Don't try to load a feature again after failure
|
2011-10-14 10:05:49 +02:00 |
|
Martin Willi
|
9894b91ca9
|
Don't load eap-sim-file plugin if no valid triplet file found
|
2011-10-14 10:05:49 +02:00 |
|
Martin Willi
|
59c4e88b16
|
Reset registration function for each plugin during feature loading
|
2011-10-14 10:05:49 +02:00 |
|
Martin Willi
|
9099e4fd3c
|
Add features support to eap-sim-pcsc plugin
|
2011-10-14 10:05:49 +02:00 |
|
Martin Willi
|
5f17a09323
|
Add features support to eap-sim-file plugin
|
2011-10-14 10:05:48 +02:00 |
|
Martin Willi
|
49458758f6
|
Add features support to eap-sim plugin
|
2011-10-14 10:05:48 +02:00 |
|
Martin Willi
|
1cb9a6d8ba
|
Add features support to eap-aka-3gpp2 plugin
|
2011-10-14 10:05:48 +02:00 |
|
Martin Willi
|
c12c334925
|
Add a plugin feature registration callback for SIM/AKA backends
|
2011-10-14 10:05:48 +02:00 |
|
Martin Willi
|
4ae99247b5
|
Add features support to eap-aka plugin
|
2011-10-14 10:05:48 +02:00 |
|
Martin Willi
|
e64d1141ff
|
Add features support to fips-prf plugin
|
2011-10-14 10:05:48 +02:00 |
|
Martin Willi
|
756b504e40
|
Add features support to socket-raw plugin
|
2011-10-14 10:05:48 +02:00 |
|
Martin Willi
|
85d11ce9bd
|
Add features support to socket-dynamic plugin
|
2011-10-14 10:05:48 +02:00 |
|
Martin Willi
|
8c5aacc270
|
Add features support to socket-default plugin
|
2011-10-14 10:05:48 +02:00 |
|
Martin Willi
|
8b6881cfc5
|
Added socket plugin feature loading callback
|
2011-10-14 10:05:48 +02:00 |
|
Martin Willi
|
3b62d5bad8
|
Add features support to kernel-klips plugin
|
2011-10-14 10:05:48 +02:00 |
|
Martin Willi
|
8da1f9f25d
|
Add features support to kernel-pfroute plugin
|
2011-10-14 10:05:48 +02:00 |
|
Martin Willi
|
e99cb0673d
|
Add features support to kernel-pfkey plugin
|
2011-10-14 10:05:47 +02:00 |
|
Martin Willi
|
278e5f3d7a
|
Add features support to kernel-netlink plugin
|
2011-10-14 10:05:47 +02:00 |
|