Commit Graph

117 Commits

Author SHA1 Message Date
Martin Willi 80d3a187c5 double check that parsing a list consumes all bytes 2009-06-17 13:38:05 +02:00
Martin Willi df2565a2d5 use signed lengths in parser and generator 2009-06-17 13:22:07 +02:00
Martin Willi 8ae89883e1 fixed copy/paste error in attribute type parsing 2009-06-17 11:42:53 +02:00
Andreas Steffen f64d8240b2 resolve clone naming conflict with uclibc 2009-05-25 08:38:36 +02:00
Martin Willi 8affd7ac65 fixed dumping of integers in generator 2009-05-20 09:04:10 +02:00
Martin Willi 3f7611c59d cleanup of generator code 2009-05-18 14:06:48 +02:00
Martin Willi 79a2afedd5 removed unused 64-bit integer parsing rule 2009-05-18 13:36:56 +02:00
Martin Willi 4274885855 do not access unaligned words/half-words directly 2009-05-18 13:34:09 +02:00
Martin Willi 57ae766af8 cleaned up parser code 2009-05-18 13:13:12 +02:00
Martin Willi 12806574b8 removed trailing spaces/tabs 2009-05-18 13:13:12 +02:00
Tobias Brunner 8c5d72cd0b removing svn keyword $Id$ from all files 2009-04-30 13:19:35 +00:00
Martin Willi d5d199ff6b add keylength transform attribute for all algorithms with a keylength != 0 2009-04-17 08:46:02 +00:00
Martin Willi a44bb9345f merged multi-auth branch back into trunk 2009-04-14 10:34:24 +00:00
Martin Willi 1490ff4d9b updated Doxyfile
properly close all doxygen groups
fixed remaining doxygen warnings
2009-03-24 17:43:01 +00:00
Tobias Brunner abe1dafaa4 typo 2009-02-17 17:14:15 +00:00
Andreas Steffen 7d13e08dc4 added two Microsoft proprietary configuration attribute types 2009-01-20 22:55:13 +00:00
Andreas Steffen c369a5999b added notify message types used by RFC 4739 2009-01-19 12:32:42 +00:00
Martin Willi d34030a810 increase nonce size to 32 bytes, required when using SHA384/512 PRFs 2008-12-31 08:58:49 +00:00
Martin Willi 09f407a14f removed private parser function pointers, allows compiler to inline 2008-11-26 10:54:08 +00:00
Martin Willi 98bcdfe2c9 removed private generator function pointers, allows compiler to inline 2008-11-26 10:42:54 +00:00
Martin Willi b8cbb6451c ported some hard-to-merge cherries back to trunk :-/
shame, svn, shame: this was ways to complicated
	we should consider a switch to git...
2008-11-12 15:09:24 +00:00
Tobias Brunner ea625fabf9 merging kernel_klips plugin back into trunk 2008-11-11 09:22:00 +00:00
Martin Willi 346bb576a2 allow multiple DELETE payloads in an informational message 2008-09-11 11:14:09 +00:00
Martin Willi f7c17aa15c refactored credential builder
allow enumeration of matching builders
	try a second builder if the first one fails
	builder clones resources internally on demand
	caller frees added resources on failure and success
	stricter handling of non-supported build parts
2008-09-02 11:00:13 +00:00
Andreas Steffen dc04f16e26 corrected vendor_id_payload diagram 2008-06-27 15:22:27 +00:00
Tobias Brunner ea0823dffd ECDSA with OpenSSL 2008-06-10 09:08:27 +00:00
Martin Willi 7624dbf068 process payload length more strictly 2008-05-23 18:23:17 +00:00
Martin Willi e1d2435dbf fixed parsing of UNKNOWN_PAYLOADs 2008-05-21 21:53:38 +00:00
Martin Willi 85a119bc0b replying to COOKIE2 mobike notify properly
including COOKIE2 ourself after path probing
2008-05-21 17:56:21 +00:00
Tobias Brunner 3f730ec1cd Added support for AES-CCM and AES-GCM (authenticated encryption algorithms) in charon. 2008-05-16 13:27:21 +00:00
Tobias Brunner d4aad55434 IPComp for IKEv2 2008-05-08 16:19:11 +00:00
Martin Willi 4d18175997 removed status result from crypter interface to be consistent with other crypto interfaces 2008-04-22 07:14:24 +00:00
Andreas Steffen 1d5d6f9667 Hash and URL cosmetics 2008-04-18 21:27:08 +00:00
Tobias Brunner 6439267a8c support for hash and URL encoded certificate payloads in charon 2008-04-18 11:24:45 +00:00
Martin Willi 6a365f0740 added API for random number generators, served through credential factory
ported randomizer_t to a rng_t on top of /dev/(u)random (plugin random)
2008-04-15 05:56:35 +00:00
Tobias Brunner c3f803c4c6 fixing some memory leaks 2008-04-02 18:21:03 +00:00
Tobias Brunner f98736aee6 changed order of server and peer reflexive endpoints (and also the priorities) 2008-03-31 10:56:49 +00:00
Tobias Brunner b42421a04c corrected ME_ENDPOINT length check 2008-03-27 12:29:51 +00:00
Tobias Brunner 54150b3f13 checking the size of ME_* notify payloads 2008-03-27 10:17:29 +00:00
Tobias Brunner b0dee635d2 replaced the COOKIE notify payload in connectivity checks with a ME_CONNECTAUTH notify payload 2008-03-27 09:54:09 +00:00
Tobias Brunner dc04b7c743 mediation extension adapted to the naming convention of the current version of the draft. note: the external interface (config, autotools) has not yet been changed 2008-03-26 18:40:19 +00:00
Martin Willi 3c7e72f5b0 added equals() method to peer_cfg, ike_cfg, proposals, auth_info
allows easier merging of ipsec.conf connections
replaced some iterators through enumerators
made proposals algorithm_t private using enumerator
2008-03-26 10:06:45 +00:00
Martin Willi bed94c8aeb added generic payload order rules for notifies 2008-03-18 12:45:23 +00:00
Martin Willi 552cc11b1f merged the modularization branch (credentials) back to trunk 2008-03-13 14:14:44 +00:00
Martin Willi 3b1692c058 use identifiers in EAP_SUCCESS/EAP_FAILURE payloads 2008-02-04 11:43:10 +00:00
Andreas Steffen 071e037124 next_payload must be of type u_int8_t 2008-02-01 00:07:56 +00:00
Martin Willi 0f806802ae implemented Expanded EAP types to support vendor specific methods 2007-12-13 17:31:21 +00:00
Martin Willi f9d80d53c3 accept unknown attributes in config payloads 2007-12-09 19:43:41 +00:00
Martin Willi 3895125275 removed c++ style comments
fixed compiler warnings
2007-12-04 10:48:27 +00:00
Andreas Steffen 3af513753a improved P2P_ENDPOINT debugging 2007-12-03 23:06:17 +00:00