Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use standard unsigned integer types | Andreas Steffen | 2016-03-24 | 1 | -16/+16 |
| | |||||
* | ikev1: Skip unusable IPComp proposals | Tobias Brunner | 2014-09-12 | 1 | -1/+1 |
| | | | | Fixes #661. | ||||
* | ikev1: Properly handle different proposal numbering schemes | Tobias Brunner | 2014-09-12 | 1 | -5/+10 |
| | | | | | | | | | | | | | | | | | | While the examples in RFC 2408 show proposal numbers starting at 1 and increasing by one for each subsequent proposal this is not mandatory. Actually, IKEv1 proposals may start at any number, the only requirement is that the proposal numbers increase monotonically they don't have to do so consecutively. Most implementations follow the examples and start numbering at 1 (charon, racoon, Shrew, Cisco, Windows XP, FRITZ!Box) but pluto was one of the implementations that started with 0 and there might be others out there. The previous assumption that implementations always start numbering proposals at 0 caused problems with clients that start numbering with 1 and whose first proposal consists of multiple protocols (e.g. ESP+IPComp). Fixes #661. | ||||
* | payload: Use common prefixes for all payload type identifiers | Martin Willi | 2014-06-04 | 1 | -10/+10 |
| | | | | | The old identifiers did not use a proper namespace and often clashed with other defines. | ||||
* | ikev1: Support parsing of AH+IPComp proposals | Martin Willi | 2013-10-11 | 1 | -9/+11 |
| | |||||
* | Fix crash if the initiator has no suitable proposal available | Tobias Brunner | 2013-06-21 | 1 | -0/+5 |
| | | | | Could be triggered with a typo in the ike or esp options when ! is used. | ||||
* | Add support for draft-ietf-ipsec-nat-t-ike-03 and earlier | Volker Rümelin | 2012-12-19 | 1 | -4/+4 |
| | | | | | This adds support for early versions of the draft that eventually resulted in RFC 3947. | ||||
* | Moved data structures to new collections subfolder | Tobias Brunner | 2012-10-24 | 1 | -1/+1 |
| | |||||
* | Added encapsulation mode transform attribute to IPComp proposal. | Tobias Brunner | 2012-05-25 | 1 | -1/+1 |
| | |||||
* | Add an additional proposal without IPComp to SA payload. | Tobias Brunner | 2012-05-24 | 1 | -17/+15 |
| | |||||
* | Added support for IKEv1 IPComp proposals in SA payload. | Tobias Brunner | 2012-05-24 | 1 | -5/+76 |
| | |||||
* | Properly filter IKEv1 proposals consisting of multiple proposal payloads. | Tobias Brunner | 2012-05-24 | 1 | -9/+15 |
| | | | | | | | Since a proposal_t object is created for each transform contained in the proposal payload, it does not work to simply remove the last proposal_t object added to the list (there may be several other extracted from the previous proposal payload). | ||||
* | Implemented IKEv1 attribute encoding in SA payload | Martin Willi | 2012-03-20 | 1 | -5/+48 |
| | |||||
* | Implemented encoding of additional IKEv1 proposal attributes | Martin Willi | 2012-03-20 | 1 | -60/+9 |
| | |||||
* | Added not-yet used sa_payload parameters used in IKEv1 | Martin Willi | 2012-03-20 | 1 | -0/+106 |
| | |||||
* | Parse proposal substructure with multiple IKEv1 transforms to multiple proposals | Martin Willi | 2012-03-20 | 1 | -8/+6 |
| | |||||
* | Encode multiple IKEv1 proposals in a single transform substructure | Martin Willi | 2012-03-20 | 1 | -5/+17 |
| | |||||
* | Remove public sa_payload.add_proposal() method | Martin Willi | 2012-03-20 | 1 | -11/+12 |
| | |||||
* | Fixed proposal numbering check in sa_payload | Martin Willi | 2012-03-20 | 1 | -10/+0 |
| | |||||
* | Use a generic list encoding rule we can use to specify the wrapped payload type | Martin Willi | 2012-03-20 | 1 | -6/+6 |
| | |||||
* | Add a payload.get_header_length() method, remove header length definitions | Martin Willi | 2012-03-20 | 1 | -8/+13 |
| | |||||
* | Simplify signature of get_encoding_rules(), make all rules static | Martin Willi | 2012-03-20 | 1 | -8/+5 |
| | |||||
* | Added limiting encoding of IKEv1 SA payloads | Martin Willi | 2012-03-20 | 1 | -1/+1 |
| | |||||
* | Implemented limited payload parsing for IKEv1 SA payloads | Martin Willi | 2012-03-20 | 1 | -2/+17 |
| | |||||
* | Extend sa_payload for IKEv1 support | Martin Willi | 2012-03-20 | 1 | -24/+101 |
| | |||||
* | Fix some warnings triggered by gcc 4.6 -Wunused-but-set-variable | Martin Willi | 2011-05-19 | 1 | -2/+0 |
| | |||||
* | Added substructure enumerators to sa_payload, proposal_substructure | Martin Willi | 2011-01-05 | 1 | -0/+7 |
| | |||||
* | Added member fields for reserved bits and bytes in all payloads | Martin Willi | 2011-01-05 | 1 | -7/+12 |
| | |||||
* | Do not update payload length during generation, allows hooks override ↵ | Martin Willi | 2011-01-05 | 1 | -1/+0 |
| | | | | payload length | ||||
* | Store proposal number in proposal_t to reuse it in the selected proposal | Martin Willi | 2010-10-28 | 1 | -2/+9 |
| | | | | | According to RFC 5996 3.3.1, we MUST reuse the proposal number of the selected proposal in the SA payload reply. | ||||
* | Migrated sa_payload to INIT/METHOD macros, removed unused methods | Martin Willi | 2010-10-28 | 1 | -158/+112 |
| | |||||
* | Moving charon to libcharon. | Tobias Brunner | 2010-03-19 | 1 | -0/+368 |