Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | identification: Support custom types in string constructor prefixes | Martin Willi | 2014-10-30 | 3 | -0/+48 | |
| | | ||||||
| * | identification: Support prefixes in string constructors for an explicit type | Martin Willi | 2014-10-30 | 3 | -0/+58 | |
| | | ||||||
| * | unit-tests: Re-align identification_create_from_string() unit test table data | Martin Willi | 2014-10-30 | 1 | -52/+52 | |
|/ | ||||||
* | threading: Support rwlock try_write_lock() on Windows | Martin Willi | 2014-10-30 | 1 | -2/+0 | |
| | | | | | | | | | | | We explicitly avoided TryAcquireSRWLockExclusive() because of crashes. This issue was caused by a MinGW-w64 bug (mingw-w64 fix 46f77afc). Using a newer toolchain works fine. While try_write_lock() obviously can fail, not supporting it is not really an option, as some algorithms depend on occasionally successful calls. Certificate caching in the certificate manager and the cred_set cache rely on successful try_write_lock()ing. | |||||
* | threading: Add a more explicit rwlock try_write_lock() testing | Martin Willi | 2014-10-30 | 1 | -0/+44 | |
| | ||||||
* | message: Include encrypted fragment payload in payload (order) rules | Tobias Brunner | 2014-10-29 | 1 | -0/+12 | |
| | | | | | | | | | Otherwise fragmented CREATE_CHILD_SA exchanges won't get accepted because they don't contain an SA payload. It also prevents a warning when ordering payloads. Fixes #752. | |||||
* | cert-cache: Prevent that a cached issuer is freed too early | Tobias Brunner | 2014-10-24 | 1 | -7/+10 | |
| | | | | | | | | Previously we got no reference to the cached issuer certificate before releasing the lock of the cache line, this allowed other threads, or even the same thread if it replaces a cache line, to destroy that issuer certificate in cache() (or flush()) before get_ref() for the issuer certificate is finally called. | |||||
* | unit-tests: Fix internet checksum tests on big-endian systems | Tobias Brunner | 2014-10-23 | 1 | -4/+9 | |
| | | | | | | | We actually need to do a byte-swap, which ntohs() only does on little-endian systems. Fixes #747. | |||||
* | chunk: Fix internet checksum calculation on big-endian systems | Tobias Brunner | 2014-10-23 | 1 | -1/+1 | |
| | | | | | | | ntohs() might be defined as noop (#define ntohs(x) (x)) so we have to manually shorten the negated value (gets promoted to an int). Fixes #747. | |||||
* | updown: Explicitly pass caller PATH to updown script | Martin Willi | 2014-10-22 | 1 | -0/+1 | |
| | | | | | | | | | When invoking /bin/sh, its default PATH is used. On some systems, that does not include the PATH where the ipsec script is installed, as charon is invoked with a custom PATH. Explicitly setting the PATH of charon should fix this case, properly invoking the (default) updown script. Fixes #745. | |||||
* | ip-packet: Fix length in IPv6 header of generated packets | Tobias Brunner | 2014-10-20 | 1 | -1/+1 | |
| | ||||||
* | Increased fragment size to 1400 in ipv6/net2net-ikev1 scenario5.2.1 | Andreas Steffen | 2014-10-18 | 2 | -2/+2 | |
| | ||||||
* | Enabled IKEv2 fragmentation in ipv6/net2net-ikev2 scenario | Andreas Steffen | 2014-10-18 | 4 | -2/+6 | |
| | ||||||
* | Version bump to 5.2.1 | Andreas Steffen | 2014-10-18 | 1 | -3/+3 | |
| | ||||||
* | Remove unneeded get_count() method | Andreas Steffen | 2014-10-17 | 1 | -1/+0 | |
| | ||||||
* | Process TCG/PTS File Measurement attribute incrementally | Andreas Steffen | 2014-10-17 | 1 | -37/+77 | |
| | ||||||
* | Exempt TCG/SEG attributes from unsupported case statement | Andreas Steffen | 2014-10-16 | 2 | -4/+11 | |
| | ||||||
* | Request IF-M segmentation contract for TCG/PTS subtype | Andreas Steffen | 2014-10-16 | 1 | -0/+27 | |
| | ||||||
* | tls: Fix an invalid free on CBC encryption failure | Martin Willi | 2014-10-15 | 1 | -1/+0 | |
| | ||||||
* | tls: Fix a memory leak if AEAD encryption fails | Martin Willi | 2014-10-15 | 1 | -0/+1 | |
| | ||||||
* | tls: Check all bytes of the padding if they equal the padding length | Martin Willi | 2014-10-15 | 2 | -0/+16 | |
| | ||||||
* | android: Fix PA-TNC construction based on data passed via JNI | Tobias Brunner | 2014-10-15 | 1 | -3/+2 | |
| | ||||||
* | libimcv: Add generic constructor for PA-TNC attributes | Tobias Brunner | 2014-10-15 | 2 | -0/+51 | |
| | ||||||
* | backtrace: Fix symbol lookup in dynamic symtab via libbfd | Tobias Brunner | 2014-10-14 | 1 | -0/+1 | |
| | ||||||
* | swid-inventory: Remove unused variable end_of_tag | Tobias Brunner | 2014-10-14 | 1 | -6/+2 | |
| | ||||||
* | swanctl: Fix man page build on FreeBSD | Tobias Brunner | 2014-10-14 | 1 | -1/+1 | |
| | | | | | BSD make seems to only evaluate $< for certain rules (like the suffix rule used to generate the config template). | |||||
* | thread: Test for pending cancellation requests before select()ing on OS X | Martin Willi | 2014-10-14 | 1 | -0/+28 | |
| | | | | | | This fixes some vici test cases on OS X, where the test thread tries to cancel the watcher thread during cleanup, but fails as select() does not honor the pre-issued cancellation request. | |||||
* | vici: Return default value for get_int() if message value is empty string | Martin Willi | 2014-10-14 | 2 | -1/+5 | |
| | | | | | This is the behavior of some strtol() implementations, and it makes sense, so force it. | |||||
* | process: Don't use the shells built-in echo in tests | Martin Willi | 2014-10-14 | 1 | -1/+1 | |
| | | | | On OS X, the /bin/sh built-in echo does not support -n. | |||||
* | process: Don't use absolute path names for true/false/cat in unit tests | Martin Willi | 2014-10-14 | 1 | -4/+10 | |
| | | | | | But use the (builtin) shell commands instead, as on OS X true/false are under /usr/bin. | |||||
* | kernel-pfroute: Check for RTM_IFANNOUNCE availability | Martin Willi | 2014-10-14 | 2 | -0/+22 | |
| | | | | This message is not available on OS X. | |||||
* | process: Include missing <signal.h> for raise(3) | Martin Willi | 2014-10-14 | 1 | -0/+1 | |
| | | | | Fixes OS X build. | |||||
* | ike: Add IKEv2 in description of fragment_size option in strongswan.conf | Tobias Brunner | 2014-10-14 | 1 | -3/+4 | |
| | ||||||
* | ip-packet: Fix removal of TFC padding for IPv6 | Tobias Brunner | 2014-10-14 | 1 | -1/+1 | |
| | | | | | | The IPv6 length field denotes the payload length after the 40 bytes header. Fixes: 293515f95cf5 ("libipsec: remove extra RFC4303 TFC padding appended to inner payload") | |||||
* | vici: Add vici.gemspec.in and vici.rb to distribution | Tobias Brunner | 2014-10-14 | 1 | -0/+2 | |
| | ||||||
* | travis: Build-test updown and ext-auth plugins for Windows | Martin Willi | 2014-10-14 | 1 | -0/+1 | |
| | ||||||
* | android: Implement get_contracts() method in IMC state object | Tobias Brunner | 2014-10-14 | 1 | -0/+14 | |
| | ||||||
* | android: libpts does not exist anymore, don't attempt to load it | Tobias Brunner | 2014-10-14 | 1 | -1/+0 | |
| | ||||||
* | android: Update receive_message() to new imc_msg_t.receive() signature | Tobias Brunner | 2014-10-13 | 1 | -2/+4 | |
| | ||||||
* | libimcv: Add fallback if IPSEC_SCRIPT is not defined | Tobias Brunner | 2014-10-13 | 1 | -0/+4 | |
| | | | | This is the case on Android. | |||||
* | libimcv: Updated Android.mk to latest Makefile.am | Tobias Brunner | 2014-10-13 | 2 | -0/+4 | |
| | ||||||
* | android: Remove references to libpts | Tobias Brunner | 2014-10-13 | 3 | -8/+2 | |
| | ||||||
* | libimcv: Remove reference to libpts | Tobias Brunner | 2014-10-13 | 1 | -1/+0 | |
| | ||||||
* | libimcv: Fix Doxygen comments after merging libpts into libimcv | Tobias Brunner | 2014-10-13 | 13 | -14/+20 | |
| | ||||||
* | watcher: Doxygen comment fixed | Tobias Brunner | 2014-10-13 | 1 | -1/+1 | |
| | ||||||
* | charon-systemd: Typo in log message fixed | Tobias Brunner | 2014-10-13 | 1 | -1/+1 | |
| | ||||||
* | libimcv: Fix harcoded IMCV_DEFAULT_POLICY_SCRIPT name | Avesh Agarwal | 2014-10-13 | 2 | -2/+3 | |
| | | | | | | | | I came across an issue with src/libimcv/imcv.c where IMCV_DEFAULT_POLICY_SCRIPT is hardcoded. It fails where ipsec_script is renamed to, for example, strongswan from default ipsec. | |||||
* | testing: Enable nat table for iptables on 3.17 kernels | Tobias Brunner | 2014-10-13 | 1 | -2/+5 | |
| | ||||||
* | ike: Do remote address updates also when behind static NATs | Tobias Brunner | 2014-10-13 | 1 | -4/+7 | |
| | | | | | | | | We assume that a responder is behind a static NAT (e.g. port forwarding) and allow remote address updates in such situations. The problem described in RFC 5996 is only an issue if the NAT mapping can expire. | |||||
* | ike: Remove redundant check for local NAT when handling changed NAT mappings | Tobias Brunner | 2014-10-13 | 1 | -6/+1 | |
| |