Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | testing: Disable leak detective when generating CRLs | Tobias Brunner | 2016-04-06 | 1 | -0/+4 | |
| | | | | | | | | | GnuTLS, which can get loaded by the curl plugin, does not properly cleanup some allocated memory when deinitializing. This causes invalid frees if leak detective is active. Other invalid frees are related to time conversions (tzset). References #1382. | |||||
* | 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. | |||||
* | vici: Fix documentation of some dictionary keys of two request messages | Cameron McCord | 2016-03-31 | 1 | -3/+3 | |
| | | | | Closes strongswan/strongswan#40. | |||||
* | 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 | 584 | -3430/+3430 | |
| | ||||||
* | updown: Get value for PLUTO_MARK_{IN,OUT} from CHILD_SA | Shota Fukumori | 2016-03-23 | 1 | -2/+2 | |
| | | | | | | | Or the invoked script will get a broken value when `mark=%unique` is used in a configuration. Closes strongswan/strongswan#37. | |||||
* | connmark: Explicitly include xt_mark.h for older kernels | Tobias Brunner | 2016-03-23 | 1 | -0/+1 | |
| | | | | Fixes #1365. | |||||
* | android: Enable 64-bit ABIs | Tobias Brunner | 2016-03-23 | 1 | -1/+1 | |
| | ||||||
* | android: Enable build against API level 21 | Tobias Brunner | 2016-03-23 | 3 | -2/+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. | |||||
* | libcharon: Add missing header file to Android.mk | Tobias Brunner | 2016-03-23 | 1 | -0/+1 | |
| | | | | Not really relevant, just to make sure both file lists are the same. | |||||
* | testing: Updated updown scripts in libipsec scenarios to latest version | Tobias Brunner | 2016-03-23 | 11 | -0/+341 | |
| | ||||||
* | ike-sa-manager: Avoid memory leak if IKE_SAs get checked in after flush() ↵ | Tobias Brunner | 2016-03-23 | 1 | -23/+38 | |
| | | | | | | | | | | | | | was called A thread might check out a new IKE_SA via checkout_new() or checkout_by_config() and start initiating it while the daemon is terminating and the IKE_SA manager is flushed by the main thread. That SA is not tracked yet so the main thread is not waiting for it and the other thread is able to check it in and creating an entry after flush() already terminated causing a memory leak. Fixes #1348. | |||||
* | ha: Delete cache entry inside the locked mutex | Thomas Egerer | 2016-03-23 | 1 | -0/+2 | |
| | | | | Signed-off-by: Thomas Egerer <thomas.egerer@secunet.com> | |||||
* | swanctl: Fix documented directory name for remote pubkeys | Tobias Brunner | 2016-03-22 | 1 | -1/+1 | |
| | ||||||
* | Version bump to 5.4.05.4.0 | Andreas Steffen | 2016-03-22 | 1 | -1/+1 | |
| | ||||||
* | kernel-netlink: Fix lookup of next hops for destinations with prefix | Tobias Brunner | 2016-03-21 | 1 | -1/+2 | |
| | | | | References #1347. | |||||
* | imc-os: Terminate buffer after fread(3) call to make Coverity happy | Tobias Brunner | 2016-03-11 | 1 | -1/+1 | |
| | ||||||
* | imc-os: Correctly check return value of ftell(2) | Tobias Brunner | 2016-03-11 | 1 | -1/+9 | |
| | ||||||
* | Fix some Doxygen issues | Tobias Brunner | 2016-03-11 | 3 | -9/+9 | |
| | ||||||
* | Updated NEWS5.4.0rc1 | Andreas Steffen | 2016-03-11 | 1 | -0/+8 | |
| | ||||||
* | man: Updated default proposals in ipsec.conf(5) | Tobias Brunner | 2016-03-11 | 1 | -4/+4 | |
| | ||||||
* | identification: Make `written` signed to fix error checking when printing ranges | Tobias Brunner | 2016-03-11 | 1 | -3/+3 | |
| | ||||||
* | vici: Don't hold write lock while running or undoing start actions | Tobias Brunner | 2016-03-11 | 1 | -27/+63 | |
| | | | | | | | | | | | | | | Running or undoing start actions might require enumerating IKE_SAs, which in turn might have to enumerate peer configs concurrently, which requires acquiring a read lock. So if we keep holding the write lock while enumerating the SAs we provoke a deadlock. By preventing other threads from acquiring the write lock while handling actions, and thus preventing the modification of the configs, we largely maintain the current synchronous behavior. This way we also don't need to acquire additional refs for config objects as they won't get modified/removed. Fixes #1185. | |||||
* | Initialize ts variable | Andreas Steffen | 2016-03-11 | 1 | -1/+1 | |
| | ||||||
* | forecast: Compare the complete rules when deleting them | Tobias Brunner | 2016-03-10 | 1 | -1/+4 | |
| | | | | | | Same as the change in the connmark plugin. References #1229. | |||||
* | connmark: Don't restore CONNMARK for packets that already have a mark set | Tobias Brunner | 2016-03-10 | 1 | -2/+17 | |
| | | | | | | | | | This allows e.g. modified versions of xl2tpd to set the mark in situations where two clients are using the same source port behind the same NAT, which CONNMARK can't restore properly as only one conntrack entry will exist with the mark set to that of the client that sent the last packet. Fixes #1230. | |||||
* | connmark: Compare the complete rules when deleting them | Tobias Brunner | 2016-03-10 | 1 | -1/+4 | |
| | | | | | | | | | | | | By settings a matchmask that covers the complete rule we ensure that the correct rule is deleted (i.e. matches and targets with potentially different marks are also compared). Since data after the passed pointer is actually dereferenced when comparing we definitely have to pass an array that is at least as long as the ipt_entry. Fixes #1229. | |||||
* | Merge branch 'subnet-identities' | Andreas Steffen | 2016-03-10 | 9 | -114/+626 | |
|\ | | | | | | | | | | | | | | | Implemented IKEv1 IPv4/IPv6 address subnet and range identities to be used as owners for shared secrets. swanctl supports configuration of traffic selectors with IPv4/IPv6 address ranges. | |||||
| * | Support of IP address ranges in traffic selectors | Andreas Steffen | 2016-03-10 | 2 | -7/+27 | |
| | | ||||||
| * | Updated swanctl/rw-psk-ikev1 scenario | Andreas Steffen | 2016-03-10 | 5 | -28/+36 | |
| | | ||||||
| * | 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). | |||||
* | Merge branch 'p-cscf' | Tobias Brunner | 2016-03-10 | 14 | -24/+474 | |
|\ | | | | | | | | | | | | | This adds the p-cscf plugin that can request P-CSCF server addresses from an ePDG via IKEv2 (RFC 7651). Addresses of the same families as requested virtual IPs are requested if enabled in strongswan.conf for a particular connection. The plugin currently writes received addresses to the log. | |||||
| * | attr: Only enumerate attributes matching the IKE version of the current IKE_SA | Tobias Brunner | 2016-03-10 | 1 | -19/+49 | |
| | | | | | | | | Numerically configured attributes are currently sent for both versions. | |||||
| * | attr: Add p-cscf keyword for P-CSCF server addresses | Tobias Brunner | 2016-03-10 | 1 | -0/+1 | |
| | | ||||||
| * | p-cscf: Make sending requests configurable and disable it by default | Tobias Brunner | 2016-03-10 | 3 | -2/+18 | |
| | | ||||||
| * | p-cscf: Only send requests if virtual IPs of the same family are requested | Tobias Brunner | 2016-03-10 | 1 | -2/+18 | |
| | | ||||||
| * | p-cscf: Add attribute handler for P-CSCF server addresses | Tobias Brunner | 2016-03-10 | 4 | -1/+243 | |
| | | ||||||
| * | p-cscf: Add plugin stub | Tobias Brunner | 2016-03-10 | 6 | -0/+136 | |
| | | ||||||
| * | payloads: Verify P-CSCF configuration attributes like others carrying IP ↵ | Tobias Brunner | 2016-03-10 | 1 | -0/+2 | |
| | | | | | | | | addresses | |||||
| * | attributes: Define P-CSCF address attributes described in RFC 7651 | Tobias Brunner | 2016-03-10 | 2 | -6/+13 | |
|/ | ||||||
* | Merge branch 'mbb-reauth-online-revocation' | Tobias Brunner | 2016-03-10 | 28 | -14/+477 | |
|\ | | | | | | | | | | | | | With these changes initiators of make-before-break reauthentications suspend online revocation checks until after the new IKE_SA and all CHILD_SAs are established. See f1cbacc5d1be for details why that's necessary. | |||||
| * | NEWS: Added note on online revocation checks during make-before-break ↵ | Tobias Brunner | 2016-03-10 | 1 | -0/+9 | |
| | | | | | | | | reauthentication | |||||
| * | testing: Add ikev2/reauth-mbb-revoked scenario | Tobias Brunner | 2016-03-10 | 9 | -0/+105 | |
| | | ||||||
| * | testing: Generate a CRL that has moon's actual certificate revoked | Tobias Brunner | 2016-03-10 | 1 | -0/+3 | |
| | | ||||||
| * | ike-sa: Improve interaction between flush_auth_cfg and delayed revocation checks | Tobias Brunner | 2016-03-10 | 1 | -26/+37 | |
| | |