aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/encoding/payloads/proposal_substructure.c
Commit message (Collapse)AuthorAgeFilesLines
* ikev1: Determine transform ID before mapping integrity algorithm IDTobias Brunner2017-07-051-1/+1
| | | | | | | | | Due to the lookup based on the mapped algorithm ID the resulting AH proposals were invalid. Fixes #2347. Fixes: 8456d6f5a8e9 ("ikev1: Don't require AH mapping for integrity algorithm when generating proposal")
* ikev1: Don't require AH mapping for integrity algorithm when generating proposalThomas Egerer2016-08-251-6/+9
| | | | Signed-off-by: Thomas Egerer <thomas.egerer@secunet.com>
* ikev1: Add support for extended sequence numbersThomas Egerer2016-06-291-3/+17
| | | | Signed-off-by: Thomas Egerer <thomas.egerer@secunet.com>
* Use standard unsigned integer typesAndreas Steffen2016-03-241-50/+50
|
* ikev1: Assume a default key length of 128-bit for AES-CBCTobias Brunner2015-08-171-0/+11
| | | | | | | | | | Some implementations don't send a Key Length attribute for AES-128. This was allowed for IKE in early drafts of RFC 3602, however, some implementations also seem to do it for ESP, where it never was allowed. And the final version of RFC 3602 demands a Key Length attribute for both phases so they shouldn't do it anymore anyway. Fixes #1064.
* ikev1: Use same map for AH and ESP authentication algorithmsTobias Brunner2014-12-091-152/+120
| | | | | | The transform identifier used in AH transforms is not the same as the authentication algorithm identifier used in the transform attributes in AH (and ESP) transforms.
* ikev1: Accept IPComp proposals with 4 octet long CPI valuesTobias Brunner2014-12-051-2/+2
| | | | | While they SHOULD be sent as 16-bit values according to RFC 3173 a responder MUST be able to accept CPI values encoded in four bytes.
* payload: Use common prefixes for all payload type identifiersMartin Willi2014-06-041-41/+41
| | | | | The old identifiers did not use a proper namespace and often clashed with other defines.
* ikev1: Accept SPI size of any length <= 16 in ISAKMP proposalTobias Brunner2014-03-311-4/+12
| | | | Fixes #533.
* ikev1: Support en-/decoding of SA payloads with AH algorithmsMartin Willi2013-10-111-31/+99
|
* proposals: try next if IKEv2 algorithm could not be mapped to IKEv1Martin Willi2013-05-061-2/+4
|
* Add support for draft-ietf-ipsec-nat-t-ike-03 and earlierVolker Rümelin2012-12-191-7/+27
| | | | | This adds support for early versions of the draft that eventually resulted in RFC 3947.
* Moved data structures to new collections subfolderTobias Brunner2012-10-241-1/+1
|
* Map XAuth responder authentication methods between IKEv1 and IKEv2Martin Willi2012-06-271-1/+13
|
* Added encapsulation mode transform attribute to IPComp proposal.Tobias Brunner2012-05-251-1/+4
|
* Added support for IKEv1 IPComp proposals in proposal substructure.Tobias Brunner2012-05-241-1/+97
|
* fixed mapping of IKEv1 algorithmsAndreas Steffen2012-05-051-29/+184
|
* Fixed transform numbering in IKEv1 proposal.Tobias Brunner2012-03-201-0/+1
|
* Fix mapping of IKEv1 encapsulation modeMartin Willi2012-03-201-1/+1
|
* Support encoding of IKEv1 ECDSA proposalsMartin Willi2012-03-201-6/+16
|
* Support IKEv1 proposal encodings having both lifebytes and a lifetimeMartin Willi2012-03-201-67/+58
|
* Always use a transform number of 1 when encoding a single transformMartin Willi2012-03-201-3/+3
|
* Remove executable flag from source code filesMartin Willi2012-03-201-0/+0
|
* Support encoding of Hybrid initiator authentication methodMartin Willi2012-03-201-0/+9
|
* En- and decode DH group attribute in quick mode SA payloadsMartin Willi2012-03-201-0/+13
|
* Setting transform number in esp proposal.Clavister OpenSource2012-03-201-1/+1
| | | | iPhone (racoon) fails quick mode when transform number is 0
* Use proper enum types in proposal_substructure.Tobias Brunner2012-03-201-2/+2
|
* Map auth_class to auth method and IKEv1 proposal attributeMartin Willi2012-03-201-2/+10
|
* Implemented IKEv1 attribute encoding in SA payloadMartin Willi2012-03-201-0/+155
|
* Implemented encoding of additional IKEv1 proposal attributesMartin Willi2012-03-201-50/+113
|
* IKEv1 XAuth: Add XAUTH authentication types to the enum. Added the ability ↵Clavister OpenSource2012-03-201-0/+17
| | | | to switch between hardcoded PSK and XAUTH_INIT_PSK authentications using a flag, default to PSK.
* Include hardcoded tunnel mode attribute in porposal, remove ESN attributeMartin Willi2012-03-201-2/+2
|
* Parse proposal substructure with multiple IKEv1 transforms to multiple proposalsMartin Willi2012-03-201-23/+24
|
* Encode multiple IKEv1 proposals in a single transform substructureMartin Willi2012-03-201-6/+46
|
* Only add the first algorithm of a kind to IKEv1 transformsMartin Willi2012-03-201-4/+4
|
* Hardcode some SA lifetimes until we can configure them dynamicallyMartin Willi2012-03-201-0/+12
|
* Partially implemented IKEv1 ESP proposal en-/decodingMartin Willi2012-03-201-2/+73
|
* Re-enable static inclusion of PSK auth method into IKEv1 proposalMartin Willi2012-03-201-2/+2
|
* Added IKEv1 support to notify payloadMartin Willi2012-03-201-2/+2
|
* Use a generic list encoding rule we can use to specify the wrapped payload typeMartin Willi2012-03-201-6/+6
|
* Add a payload.get_header_length() method, remove header length definitionsMartin Willi2012-03-201-2/+9
|
* Simplify signature of get_encoding_rules(), make all rules staticMartin Willi2012-03-201-9/+5
|
* Add fixed PSK authentication method to IKEv1 proposal for nowMartin Willi2012-03-201-1/+15
|
* Added limiting encoding of IKEv1 SA payloadsMartin Willi2012-03-201-65/+209
|
* Implemented limited payload parsing for IKEv1 SA payloadsMartin Willi2012-03-201-39/+315
|
* Fixed common misspellings.Tobias Brunner2011-07-201-1/+1
| | | | Mostly found by 'codespell'.
* Added substructure enumerators to sa_payload, proposal_substructureMartin Willi2011-01-051-0/+7
|
* Added member fields for reserved bits and bytes in all payloadsMartin Willi2011-01-051-2/+7
|
* Use enumerator instead of deprecated iteratorMartin Willi2011-01-051-13/+9
|
* Removed obsolete clone mehtod from proposal_substructureMartin Willi2011-01-051-30/+0
|