Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | unit-tests: Additionally do reverse match checking with empty identities | Martin Willi | 2013-10-31 | 1 | -0/+55 | |
| | ||||||
* | unit-tests: Test matching against some empty data identities | Martin Willi | 2013-10-31 | 1 | -0/+44 | |
| | ||||||
* | unit-tests: Test for equality against some empty data identities | Martin Willi | 2013-10-31 | 1 | -0/+43 | |
| | ||||||
* | unit-tests: Let identity equality test fail if a->equals(b) != b->equals(a) | Martin Willi | 2013-10-31 | 1 | -1/+1 | |
| | ||||||
* | PB-TNC PDP_REFERRAL message doesn't have to be in RESULT batch | Andreas Steffen | 2013-10-31 | 1 | -1/+1 | |
| | ||||||
* | updown: fix segfault when interface name can't be resolved | Ansis Atteka | 2013-10-30 | 1 | -0/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The child_updown() function sets up environment variables to the updown script. Sometimes call to hydra->kernel_interface->get_interface() could fail and iface variable could be left uninitialized. This patch fixes this issue by passing "unknown" as interface name. Here is the stacktrace: 0 0x00007fa90791f445 in raise () from /lib/x86_64-linux-gnu/libc.so.6 1 0x00007fa907922bab in abort () from /lib/x86_64-linux-gnu/libc.so.6 2 0x0000000000401ed7 in segv_handler (signal=11) at charon.c:183 3 <signal handler called> 4 0x00007fa90793221f in vfprintf () from /lib/x86_64-linux-gnu/libc.so.6 5 0x00007fa9079f0580 in __vsnprintf_chk () from /lib/x86_64-linux-gnu/libc.so.6 6 0x00007fa9079f04c8 in __snprintf_chk () from /lib/x86_64-linux-gnu/libc.so.6 7 0x00007fa8f9b95b86 in snprintf ( __fmt=0x7fa8f9b961b8 "2>&1 PLUTO_VERSION='1.1' PLUTO_VERB='%s%s%s' PLUTO_CONNECTION='%s' PLUTO_INTERFACE='%s' PLUTO_REQID='%u' PLUTO_ME='%H' PLUTO_MY_ID='%Y' PLUTO_MY_CLIENT='%H/%u' PLUTO_MY_PORT='%u' PLUTO_MY_PROTOCOL='%u"..., __n=1024, __s=0x7fa8f7923440 "2>&1 PLUTO_VERSION='1.1' PLUTO_VERB='up-host' PLUTO_CONNECTION='remote-40.0.0.40' PLUTO_INTERFACE='\367\250\177") at /usr/include/x86_64-linux-gnu/bits/stdio2.h:65 8 child_updown (this=0x8486b0, ike_sa=0x7fa8e4005f80, child_sa=0x7fa8d4008290, up=true) at updown_listener.c:308 9 0x00007fa907ecc11c in ?? () from /usr/lib/strongswan/libcharon.so.0 10 0x00007fa907ef89bf in ?? () from /usr/lib/strongswan/libcharon.so.0 11 0x00007fa907ef2fc8 in ?? () from /usr/lib/strongswan/libcharon.so.0 12 0x00007fa907ee84ff in ?? () from /usr/lib/strongswan/libcharon.so.0 13 0x00007fa907ee3067 in ?? () from /usr/lib/strongswan/libcharon.so.0 14 0x00007fa90835e8fb in ?? () from /usr/lib/strongswan/libstrongswan.so.0 15 0x00007fa908360d30 in ?? () from /usr/lib/strongswan/libstrongswan.so.0 16 0x00007fa907cade9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 17 0x00007fa9079db4bd in clone () from /lib/x86_64-linux-gnu/libc.so.6 18 0x0000000000000000 in ?? () Signed-Off-By: Ansis Atteka <aatteka@nicira.com> | |||||
* | ipsec: Updated ipsec(8) | Tobias Brunner | 2013-10-29 | 2 | -97/+126 | |
| | ||||||
* | ipsec: Remove unused distro.txt | Tobias Brunner | 2013-10-29 | 1 | -2/+0 | |
| | ||||||
* | utils: Include stdio.h for fmemopen() replacement | Tobias Brunner | 2013-10-29 | 1 | -0/+1 | |
| | | | | | This might now be required because Vstr is not necessarily required anymore, which means stdio.h might not be pulled in by prinf_hook.h. | |||||
* | Use exact mask when calling umask(2) | Tobias Brunner | 2013-10-29 | 3 | -3/+3 | |
| | | | | | | Due to the previous negation the high bits of the mask were set, which at least some versions of the Android build system prevent with a compile-time check. | |||||
* | whitelist: Read multiple commands until client closes connection | Martin Willi | 2013-10-29 | 1 | -30/+28 | |
| | | | | | This restores the same behavior we had before e11c02c8, and fixes the whitelist add/remove-from command. | |||||
* | libtnccs: Add dummy entry to pb_tnc_tcg_msg_infos | Tobias Brunner | 2013-10-29 | 1 | -1/+2 | |
| | | | | | That's required because the first message type in pb_tnc_tcg_msg_type_t is 1 not 0. | |||||
* | swid: Properly clean up after reading SWID tag | Tobias Brunner | 2013-10-29 | 1 | -2/+3 | |
| | ||||||
* | Fixed some typos | Tobias Brunner | 2013-10-29 | 4 | -4/+4 | |
| | ||||||
* | charon-xpc: Load missing eap-md5 plugin after enabling it | Martin Willi | 2013-10-28 | 1 | -1/+1 | |
| | ||||||
* | charon-xpc: Disable warnings about deprecated functions | Martin Willi | 2013-10-28 | 1 | -1/+1 | |
| | | | | This avoids all the deprecated warnings when using OpenSSL functins. | |||||
* | charon-xpc: Avoid -all_load linker flag | Martin Willi | 2013-10-28 | 1 | -1/+0 | |
| | | | | This seems to be not required anymore with the LLVM 5 toolchain. | |||||
* | charon-xpc: Properly xpc_retain() connections we xpc_release() | Martin Willi | 2013-10-28 | 2 | -0/+2 | |
| | ||||||
* | charon-xpc: Properly cast SA identifier to uintptr representation | Martin Willi | 2013-10-28 | 1 | -1/+1 | |
| | ||||||
* | charon-xpc: Don’t build against libvstr anymore | Martin Willi | 2013-10-28 | 2 | -14/+4 | |
| | | | | We now have our own printf backend and use it instead of Vstr. | |||||
* | charon-xpc: Build with EAP-MD5 support | Martin Willi | 2013-10-28 | 1 | -2/+2 | |
| | ||||||
* | utils: Fix check for fmemopen() fallback implementation | Martin Willi | 2013-10-24 | 2 | -2/+3 | |
| | ||||||
* | unit-tests: Set sa_len in sockaddr template data, if required | Martin Willi | 2013-10-24 | 1 | -0/+6 | |
| | ||||||
* | printf-hook-builtin: Don't rely on isinf() return value signedness | Martin Willi | 2013-10-24 | 1 | -8/+9 | |
| | | | | | Many systems don't return a negative value for negative infinities; so do a separate check. | |||||
* | watcher: Rebuild fdset when select() fails | Martin Willi | 2013-10-24 | 1 | -1/+12 | |
| | | | | | | This should make sure we refresh the fdset if a user closes an FD it just removed. Some selects() seem to complain about the bad FD before signaling the notification pipe. | |||||
* | rwlock: Disable thread cancelability while waiting in (fallback) rwlock | Martin Willi | 2013-10-24 | 1 | -0/+7 | |
| | | | | | | An rwlock wait is not a thread cancellation point. As a canceled thread would not have released the mutex, the rwlock would have been left in unusable state. | |||||
* | rwlock: Don't use buggy pthread_rwlock on OS X | Martin Willi | 2013-10-24 | 1 | -0/+7 | |
| | | | | Recursive read locks don't seem to work properly, at least on 10.9. | |||||
* | utils: Provide a fmemopen(3) fallback using BSD funopen() | Martin Willi | 2013-10-24 | 2 | -0/+61 | |
| | ||||||
* | Added some example Debian SWID tags | Andreas Steffen | 2013-10-23 | 8 | -1/+211 | |
| | ||||||
* | pki: Replace BUILD_FROM_FD with passing a chunk via BUILD_BLOB | Tobias Brunner | 2013-10-23 | 11 | -74/+54 | |
| | | | | This allows more than one builder to try parsing the data read from STDIN. | |||||
* | chunk: Add helper function to create a chunk from data read from a file ↵ | Tobias Brunner | 2013-10-23 | 2 | -0/+40 | |
| | | | | descriptor | |||||
* | semaphore: Support cancellation in wait functions of semaphore fallback | Martin Willi | 2013-10-23 | 1 | -4/+6 | |
| | | | | | Semaphore wait functions should be a thread cancellation point, but did not properly release the mutex in the fallback implementation. | |||||
* | rwlock: Re-acquire rwlock even if condvar wait times out | Martin Willi | 2013-10-23 | 1 | -1/+1 | |
| | | | | | A caller expects that the associated rwlock is held, whether the condvar gets signaled or the wait times out. | |||||
* | Updated and split data.sql | Andreas Steffen | 2013-10-23 | 1 | -37/+97 | |
| | ||||||
* | Support Ubuntu 13.10 measurements | Andreas Steffen | 2013-10-21 | 2 | -1/+46 | |
| | ||||||
* | check it specified IF-TNCCS protocol is enabled | Andreas Steffen | 2013-10-21 | 1 | -0/+6 | |
| | ||||||
* | kernel-netlink: Check existence of linux/fib_rules.h, don't include it in ↵ | Tobias Brunner | 2013-10-18 | 3 | -76/+11 | |
| | | | | | | distribution This reverts commit b0761f1f0a5abd225edc291c8285f99a538e6a66. | |||||
* | updown: Properly configure ICMP[v6] message type and code in firewall rules | Tobias Brunner | 2013-10-17 | 1 | -4/+29 | |
| | ||||||
* | updown: Pass ICMP[v6] message type and code to updown script | Tobias Brunner | 2013-10-17 | 2 | -4/+27 | |
| | | | | The type is passed in $PLUTO_MY_PORT and the code in $PLUTO_PEER_PORT. | |||||
* | kernel-pfkey: Install ICMP[v6] type/code as expected by the Linux kernel | Tobias Brunner | 2013-10-17 | 1 | -19/+52 | |
| | ||||||
* | kernel-netlink: Convert ports in acquires to ICMP[v6] type and code | Tobias Brunner | 2013-10-17 | 1 | -3/+8 | |
| | ||||||
* | kernel-netlink: Properly install policies with ICMP[v6] types and codes | Tobias Brunner | 2013-10-17 | 1 | -1/+12 | |
| | ||||||
* | traffic-selector: Print ICMP[v6] message type and code in a more readable way | Tobias Brunner | 2013-10-17 | 1 | -4/+35 | |
| | ||||||
* | traffic-selector: Store ICMP[v6] message type and code properly | Tobias Brunner | 2013-10-17 | 2 | -8/+70 | |
| | | | | We now store them as defined in RFC 4301, section 4.4.1.1. | |||||
* | traffic-selector: Move class to its own Doxygen group | Tobias Brunner | 2013-10-17 | 2 | -1/+4 | |
| | ||||||
* | proposal: Add ECC Brainpool DH groups to the default proposal | Tobias Brunner | 2013-10-17 | 1 | -0/+4 | |
| | ||||||
* | openssl: Add workaround if ECC Brainpool curves are not defined | Tobias Brunner | 2013-10-17 | 1 | -11/+247 | |
| | ||||||
* | openssl: Add support for ECC Brainpool curves for DH, if defined by OpenSSL | Tobias Brunner | 2013-10-17 | 2 | -6/+51 | |
| | | | | OpenSSL does not include them in releases before 1.0.2. | |||||
* | ecc: Added ECC Brainpool ECDH groups as registered with IANA | Andreas Steffen | 2013-10-17 | 3 | -3/+20 | |
| | ||||||
* | unit-tests: Make test for bio_writer_t more portable | Tobias Brunner | 2013-10-17 | 1 | -2/+8 | |
| |