Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | bliss: Make sure sampler exists after checking for it earlier | Tobias Brunner | 2014-12-23 | 1 | -2/+2 | |
| | ||||||
* | pts: Do not override status with SUCCESS if length is invalid | Tobias Brunner | 2014-12-23 | 1 | -1/+2 | |
| | ||||||
* | NEWS: Added info about CVE-2014-9221 | Tobias Brunner | 2014-12-23 | 1 | -0/+8 | |
| | ||||||
* | ikev2: Only touch the DH object if we have a matching proposal | Tobias Brunner | 2014-12-23 | 1 | -11/+17 | |
| | ||||||
* | crypto: Define MODP_CUSTOM outside of IKE DH range | Tobias Brunner | 2014-12-23 | 9 | -14/+17 | |
| | | | | | | | | | Before this fix it was possible to crash charon with an IKE_SA_INIT message containing a KE payload with DH group MODP_CUSTOM(1025). Defining MODP_CUSTOM outside of the two byte IKE DH identifier range prevents it from getting negotiated. Fixes CVE-2014-9221. | |||||
* | pki: Document correct output formats for --pkcs12 --export | Tobias Brunner | 2014-12-19 | 1 | -2/+2 | |
| | ||||||
* | pki: Properly clean up if output format for --pkcs12 is wrong | Tobias Brunner | 2014-12-19 | 1 | -0/+2 | |
| | ||||||
* | kernel-netlink: Add missing documentation for two options | Tobias Brunner | 2014-12-19 | 1 | -0/+6 | |
| | ||||||
* | Merge branch 'osx-app' | Martin Willi | 2014-12-18 | 34 | -21/+4742 | |
|\ | | | | | | | | | Mainline the OS X App providing the graphical user interface for the charon-xpc privileged helper. | |||||
| * | osx: Update the README with App related bits | Martin Willi | 2014-12-17 | 1 | -9/+15 | |
| | | ||||||
| * | osx: Initial import of the Objective-C App graphical user interface | Martin Willi | 2014-12-17 | 27 | -9/+4681 | |
| | | ||||||
| * | apple: Redefine some additional clashing Mach types | Martin Willi | 2014-12-16 | 4 | -3/+13 | |
| | | | | | | | | | | | | While they usually are not included in a normal strongSwan build, the XPC header indirectly defines these Mach types. To build charon-xpc, which uses both XPC and strongSwan includes, we have to redefine these types. | |||||
| * | kernel-pfroute: If a new interface appears, slightly delay address enumeration | Martin Willi | 2014-12-16 | 1 | -0/+9 | |
| | | | | | | | | | | | | | | On OS X 10.10, when installing a virtual IP on a tun device, there is a chance that a RTM_IFANNOUNCE is sent before the IP is ready on that link when calling getifaddrs(). As we don't get an RTM_NEWADDR event either, that race lets us miss the virtual IP install event, failing the add_ip() call. | |||||
| * | charon-xpc: Add a work-around to trigger IP address add events after boot | Martin Willi | 2014-12-16 | 1 | -0/+24 | |
|/ | ||||||
* | mgf1: Use correct Doxygen groups | Tobias Brunner | 2014-12-15 | 2 | -4/+4 | |
| | ||||||
* | bliss: Fix Doxygen comments | Tobias Brunner | 2014-12-15 | 2 | -6/+6 | |
| | ||||||
* | Fixed some typos, courtesy of codespell | Tobias Brunner | 2014-12-15 | 3 | -4/+4 | |
| | ||||||
* | kernel-pfkey: Fix replay window size on FreeBSD and Mac OS X | Tobias Brunner | 2014-12-15 | 1 | -0/+6 | |
| | | | | | | | | | The FreeBSD and Mac OS X kernels interpret sadb_sa_replay as the size of the replay window in bytes. Linux on the other hand does the same for PF_KEY it does for XFRM so sadb_sa_replay denotes the number of packets/bits in the window. Similarly, the window size on Linux is limited to 32 by the four byte default bitmap used for IPsec SAs (may only be changed with XFRMA_REPLAY_ESN_VAL), which is not the case on the other platforms. | |||||
* | Updated BLISS CA certificate in ikev2/rw-ntru-bliss scenario5.2.2rc1 | Andreas Steffen | 2014-12-12 | 3 | -0/+0 | |
| | ||||||
* | Also initialize s_sign | Andreas Steffen | 2014-12-12 | 1 | -1/+1 | |
| | ||||||
* | pem: Handle BER indefinite length encoding as binary ASN.1 | Martin Willi | 2014-12-12 | 1 | -1/+24 | |
| | | | | | | While our ASN.1 parser can't handle BER indefinite length encoding, the OpenSSL backend can. Some PKCS#12 containers get encoded this way, so we should support loading such files in the pem plugin. | |||||
* | pki: Add command to export certificates and keys from PKCS#12 containers | Tobias Brunner | 2014-12-12 | 2 | -9/+112 | |
| | ||||||
* | pki: Reformat PKCS#12 output and add an index for each certificate/key | Tobias Brunner | 2014-12-12 | 2 | -14/+17 | |
| | ||||||
* | pki: Add simple PKCS#12 display command | Tobias Brunner | 2014-12-12 | 5 | -1/+204 | |
| | ||||||
* | pki: Load hmac plugin which is required to decrypt PKCS#12 containers | Tobias Brunner | 2014-12-12 | 1 | -1/+1 | |
| | ||||||
* | pki: Cache entered secrets in case they are needed more than once | Tobias Brunner | 2014-12-12 | 1 | -2/+23 | |
| | ||||||
* | ike: Allow creation of internally used payloads | Tobias Brunner | 2014-12-12 | 1 | -1/+1 | |
| | | | | | | | Since 42e0a317c64b ("ike: Only parse payloads valid for the current IKE version") payload types are checked before creating objects. This check failed for internally used payload types (e.g. proposal substructures), which have a type >= 256, i.e. outside the IKE payload type range. | |||||
* | Cache only support fingerprint types | Andreas Steffen | 2014-12-12 | 1 | -2/+4 | |
| | ||||||
* | Fix ambiguities and gcc compiler warning | Andreas Steffen | 2014-12-12 | 1 | -3/+3 | |
| | ||||||
* | apple: Use precancelable poll() to wrap accept/recvmsg calls | Martin Willi | 2014-12-12 | 1 | -1/+5 | |
| | | | | | | To make accept/recvmsg cancelable, we wrap them with poll. As poll itself does not honor pending cancellations when entering the function, we use our variant that checks for pending cancellation requests before entering poll(). | |||||
* | Version bump to 5.2.2rc1 | Andreas Steffen | 2014-12-12 | 1 | -1/+1 | |
| | ||||||
* | Updated BLISS scenario keys and certificates to new format | Andreas Steffen | 2014-12-12 | 8 | -0/+0 | |
| | ||||||
* | Use bitspender->get_bytes() method in ntru_trits | Andreas Steffen | 2014-12-12 | 1 | -26/+14 | |
| | ||||||
* | Use Huffman code in BLISS signature | Andreas Steffen | 2014-12-12 | 7 | -38/+296 | |
| | ||||||
* | Include design parameters in generated Huffman code files | Andreas Steffen | 2014-12-12 | 1 | -20/+31 | |
| | ||||||
* | bliss: Fix monolithic build | Tobias Brunner | 2014-12-12 | 13 | -100/+123 | |
| | | | | | | | | | | | This requires moving test files so that the Makefile for the tests can be included after building libstrongswan, which requires the plugin when building monolithically. Due to this a static helper library is required as directly referring to object files (or source files) is not possible. It's also necessary to avoid any link-time dependency on libstrongswan in bliss_huffman, to avoid circular dependencies (bliss_huffman -> libstrongswan -> bliss -> bliss_huffman). | |||||
* | bliss: Fix compilation warning with certain GCC versions | Tobias Brunner | 2014-12-12 | 1 | -1/+2 | |
| | | | | | | Theoretically, n could be zero and these variables are then used uninitialized. Older GCC versions warn about this and on Travis where we compile with -Werror this causes the tests to fail. | |||||
* | swanctl: Fail loading a connection if loading a cacert constraint fails | Martin Willi | 2014-12-12 | 1 | -10/+37 | |
| | ||||||
* | vici: Use silent builder destroy function in vici_free_req() | Martin Willi | 2014-12-12 | 1 | -7/+1 | |
| | ||||||
* | vici: Add a destroy method to builder, allowing cancellation without error | Martin Willi | 2014-12-12 | 2 | -4/+18 | |
| | | | | | When cancelling a builder, finalize throws an error which we might prefer to avoid. | |||||
* | eap-radius: Use the single-server legacy server options as fallback | Martin Willi | 2014-12-12 | 1 | -3/+10 | |
| | ||||||
* | Pack private key arrays | Andreas Steffen | 2014-12-10 | 1 | -17/+75 | |
| | ||||||
* | dumm: Fix -Wformat warning in ruby extension | Martin Willi | 2014-12-10 | 1 | -2/+2 | |
| | | | | | | | In recent ruby versions, extensions get built with -Wformat. As we use custom printf specifiers, that does not work for us. As there does not seem to be a reliable way to override -Wformat, we use a variable for the format string, which prevents gcc from doing the -Wformat check in that particular situation. | |||||
* | Automatic generation of optimized Huffman codes | Andreas Steffen | 2014-12-09 | 7 | -0/+559 | |
| | ||||||
* | unit-tests: added bliss_sampler test | Andreas Steffen | 2014-12-09 | 3 | -0/+99 | |
| | ||||||
* | Expanded bliss_bitpacker to 32 bits | Andreas Steffen | 2014-12-09 | 5 | -41/+39 | |
| | ||||||
* | NEWS: Add note about AH algorithm mapping | Tobias Brunner | 2014-12-09 | 1 | -1/+4 | |
| | ||||||
* | ikev1: Use same map for AH and ESP authentication algorithms | Tobias Brunner | 2014-12-09 | 1 | -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 values | Tobias Brunner | 2014-12-05 | 1 | -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. | |||||
* | ike: Only parse payloads valid for the current IKE version | Tobias Brunner | 2014-12-05 | 4 | -3/+33 | |
| |