Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | proposal: Parse modpnone as MODP_NONE(0) | Tobias Brunner | 2016-06-17 | 1 | -0/+1 |
| | |||||
* | crypto-factory: Stop after successfully creating one nonce generator | Tobias Brunner | 2016-06-17 | 1 | -0/+4 |
| | | | | Fixes: e2fc09c186c3 ("Add nonce generator interface") | ||||
* | unit-tests: Defining TESTS_RUNNERS allows to only run specific test runners | Tobias Brunner | 2016-06-17 | 2 | -1/+33 |
| | |||||
* | leak-detective: Make sure to actually call malloc() from calloc() hook | Tobias Brunner | 2016-06-15 | 1 | -3/+4 |
| | | | | | | | | Newer versions of GCC are too "smart" and replace a call to malloc(X) followed by a call to memset(0,X) with a call co calloc(), which obviously results in an infinite loop when it does that in our own calloc() implementation. Using `volatile` for the variable storing the total size prevents the optimization and we actually call malloc(). | ||||
* | leak-detective: Whitelist __fprintf_chk as seen on newer systems | Tobias Brunner | 2016-06-15 | 1 | -0/+1 |
| | |||||
* | configure: Check for and explicitly link against -latomic | Martin Willi | 2016-06-14 | 2 | -2/+4 |
| | | | | | Some C libraries, such as uClibc, require an explicit link for some atomic functions. Check for any libatomic, and explcily link it. | ||||
* | android: Use non-aliased cipher identifiers | Tobias Brunner | 2016-06-13 | 1 | -12/+12 |
| | | | | | | Some of these are also understood by BoringSSL. Fixes #1510. | ||||
* | ipsec: Add function to compare two ipsec_sa_cfg_t instances | Tobias Brunner | 2016-06-08 | 2 | -0/+25 |
| | | | | | | memeq() is currently used to compare these but if there is padding that is not initialized the same for two instances the comparison fails. Using this function ensures the objects are compared correctly. | ||||
* | identification: Compare identity types when comparing ID_FQDN/ID_RFC822_ADDR ↵ | Tobias Brunner | 2016-06-06 | 1 | -3/+4 |
| | | | | | | identities References #1380. | ||||
* | x509: Properly wrap keyid in authorityKeyIdentifier in attribute certificates | Tobias Brunner | 2016-06-06 | 1 | -1/+2 |
| | | | | | | | The correct encoding got lost in bdec2e4f5291 ("refactored openac and its attribute certificate factory"). Fixes #1370. | ||||
* | af-alg: Silently skip probing algorithms if AF_ALG is not supported | Martin Willi | 2016-05-19 | 1 | -0/+19 |
| | | | | | | If the af-alg plugin is enabled, but kernel support is missing, we get an error line during startup for each probed algorithm. This is way too verbose, so just skip probing if AF_ALG is unsupported. | ||||
* | mem-cred: Fix memory leak when replacing existing CRLs | Tobias Brunner | 2016-05-11 | 1 | -0/+1 |
| | | | | Fixes #1442. | ||||
* | identification: Add support for dmdName RDN (2.5.4.54) | Yannick Cann | 2016-04-25 | 3 | -0/+5 |
| | | | | | | | It's listed in RFC 2256 but was later removed with RFC 4519, but there are still some certs that use it. Closes strongswan/strongswan#43. | ||||
* | leak-detective: added _IO_file_doallocate to whitelist | Andreas Steffen | 2016-04-24 | 1 | -0/+1 |
| | |||||
* | curl: Add TLS support if libcurl is built against BoringSSL | Tobias Brunner | 2016-04-15 | 1 | -1/+2 |
| | | | | | We don't have to rely on the openssl plugin and its threading initialization as BoringSSL is thread-safe out of the box. | ||||
* | openssl: BoringSSL does not support configuration | Tobias Brunner | 2016-04-15 | 1 | -0/+4 |
| | | | | | The other initialization functions are still defined but many are apparently no-ops (this is also true for the threading initialization). | ||||
* | openssl: The member storing the DH exponent length has been renamed in BoringSSL | Tobias Brunner | 2016-04-15 | 1 | -0/+4 |
| | |||||
* | openssl: Use proper EVP macro to determine size of a hash | Tobias Brunner | 2016-04-15 | 2 | -2/+2 |
| | |||||
* | curl: Handle LibreSSL like OpenSSL in regards to multi-threading | Tobias Brunner | 2016-04-15 | 1 | -1/+1 |
| | | | | | LibreSSL is API compatible so our openssl plugin does not need any changes and it works fine with the curl plugin. | ||||
* | thread: Don't hold mutex when calling cleanup handlers while terminating | Tobias Brunner | 2016-04-13 | 1 | -12/+14 |
| | | | | | | | | | | This could interfere with cleanup handlers that try to acquire mutexes while other threads holding these try to e.g. cancel the threads. As cleanup handlers are only queued by the threads themselves we don't need any synchronization to access the list. Fixes #1401. | ||||
* | pkcs11: Skip zero-padding of r and s when preparing EC signature | Tobias Brunner | 2016-04-05 | 1 | -3/+9 |
| | | | | | | They are zero padded to fill the buffer. Fixes #1377. | ||||
* | chunk: Skip all leading zero bytes in chunk_skip_zero() not just the first | Tobias Brunner | 2016-04-04 | 2 | -14/+18 |
| | |||||
* | string: Gracefully handle NULL in str*eq() macros | Tobias Brunner | 2016-04-04 | 2 | -4/+82 |
| | |||||
* | byteorder: Explicitly check for htoXeXX macros | Tobias Brunner | 2016-03-31 | 1 | -3/+18 |
| | | | | | Some platforms have XetohXX macros instead of XeXXtoh macros, in which case we'd redefine the htoXeXX macros. | ||||
* | proposal: Use standard integer types for static keywords | Tobias Brunner | 2016-03-31 | 1 | -2/+2 |
| | |||||
* | utils: Remove nonsensical typedefs for standard uint types | Tobias Brunner | 2016-03-31 | 1 | -13/+0 |
| | |||||
* | Use u_int32_t legacy type in blowfish header file | Andreas Steffen | 2016-03-24 | 1 | -1/+1 |
| | |||||
* | Use standard unsigned integer types | Andreas Steffen | 2016-03-24 | 131 | -789/+789 |
| | |||||
* | android: Enable build against API level 21 | Tobias Brunner | 2016-03-23 | 1 | -0/+17 |
| | | | | | | | While building against this level in general would break our app on older systems, the NDK will automatically use this level for 64-bit ABI builds (which are not supported in older levels). So to build against 64-bit ABIs we have to support this API level. | ||||
* | Fix some Doxygen issues | Tobias Brunner | 2016-03-11 | 2 | -8/+8 |
| | |||||
* | identification: Make `written` signed to fix error checking when printing ranges | Tobias Brunner | 2016-03-11 | 1 | -3/+3 |
| | |||||
* | Implemented IPv4/IPv6 subnet and range identities | Andreas Steffen | 2016-03-10 | 2 | -79/+563 |
| | | | | | | The IKEv1 IPV4_ADDR_SUBNET, IPV6_ADDR_SUBNET, IPV4_ADDR_RANGE and IPV6_ADDR_RANGE identities have been fully implemented and can be used as owners of shared secrets (PSKs). | ||||
* | auth-cfg: Add a rule to suspend certificate validation constraints | Tobias Brunner | 2016-03-10 | 2 | -0/+18 |
| | |||||
* | credential-manager: Check cache queue when destroying trusted certificate ↵ | Tobias Brunner | 2016-03-10 | 1 | -1/+2 |
| | | | | | | | | | | enumerator We already do this in the trusted public key enumerator (which internally uses the trusted certificate enumerator) but should do so also when this enumerator is used directly (since the public key enumerator has the read lock the additional call will just be skipped there). | ||||
* | credential-manager: Make online revocation checks optional for public key ↵ | Tobias Brunner | 2016-03-10 | 2 | -3/+9 |
| | | | | enumerator | ||||
* | library: Add option to register additional namespaces before calling ↵ | Tobias Brunner | 2016-03-08 | 2 | -2/+43 |
| | | | | | | | | | | library_init() Because settings are already accessed in library_init(), calling add_fallback() externally after calling library_init() is not ideal. This way namespaces already serve as fallback while library_init() is executed and they are also in the correct order so that libstrongswan is always the last root section. | ||||
* | linked-list: Add method to compare two lists of objects for equality | Tobias Brunner | 2016-03-08 | 3 | -2/+166 |
| | |||||
* | byteorder: Simplify htoun64/untoh64 functions | Tobias Brunner | 2016-03-04 | 1 | -27/+0 |
| | |||||
* | byteorder: Always define be64toh/htobe64 macros | Tobias Brunner | 2016-03-04 | 1 | -20/+30 |
| | |||||
* | auth-cfg: Make IKE signature schemes configurable | Tobias Brunner | 2016-03-04 | 5 | -37/+187 |
| | | | | | | This also restores the charon.signature_authentication_constraints functionality, that is, if no explicit IKE signature schemes are configured we apply all regular signature constraints as IKE constraints. | ||||
* | ikev2: Diversify signature scheme rule | Thomas Egerer | 2016-03-04 | 2 | -30/+68 |
| | | | | | | | This allows for different signature schemes for IKE authentication and trustchain verification. Signed-off-by: Thomas Egerer <thomas.egerer@secunet.com> | ||||
* | thread: Allow thread ID to be value returned by gettid() | Thomas Egerer | 2016-03-04 | 3 | -14/+32 |
| | | | | Signed-off-by: Thomas Egerer <thomas.egerer@secunet.com> | ||||
* | libhydra: Remove empty unused library | Tobias Brunner | 2016-03-03 | 1 | -1/+0 |
| | |||||
* | utils: Add enum name for pseudo log group 'any' | Tobias Brunner | 2016-02-05 | 1 | -2/+4 |
| | |||||
* | unit-tests: The pseudonym RDN is now recognized, so use something more exotic | Tobias Brunner | 2016-01-28 | 1 | -3/+3 |
| | |||||
* | Support pseudonym RDN | Andreas Steffen | 2016-01-27 | 3 | -0/+5 |
| | |||||
* | vici: list-cert sends subject, not-before and not-after attributes for pubkeys | Andreas Steffen | 2016-01-09 | 1 | -0/+1 |
| | |||||
* | vici: Support of raw public keys | Andreas Steffen | 2016-01-09 | 2 | -0/+15 |
| | |||||
* | Apply pubkey and signature constraints in vici plugin | Andreas Steffen | 2015-12-17 | 2 | -0/+117 |
| | |||||
* | 128 bit default security strength for IKE and ESP algorithms | Andreas Steffen | 2015-12-17 | 1 | -19/+19 |
| | | | | | | | | | | | | | | | | | The default ESP cipher suite is now AES_CBC-128/HMAC_SHA2_256_128 and requires SHA-2 HMAC support in the Linux kernel (correctly implemented since 2.6.33). The default IKE cipher suite is now AES_CBC-128/HMAC_SHA2_256_128/PRF_HMAC_SHA2_256/ECP_256 if the openssl plugin is loaded or AES_CBC-128/HMAC_SHA2_256_128/PRF_HMAC_SHA2_256/MODP_3072 if ECC is not available. The use of the SHA-1 hash algorithm and the MODP_2048 DH group has been deprecated and ENCR_CHACHA20_POLY1305 has been added to the default IKE AEAD algorithms. |