Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | swanctl: Add a --stats command to print daemon infos and statistics | Martin Willi | 2014-06-17 | 3 | -1/+120 | |
| | ||||||
* | vici: Add a stats command returning various daemon infos and statistics | Martin Willi | 2014-06-17 | 1 | -0/+104 | |
| | ||||||
* | swanctl: Support private key decryption passhprases in swanctl.conf | Martin Willi | 2014-06-17 | 2 | -23/+145 | |
| | | | | | | | While there is no real security benefit of storing private keys encrypted if the passphrase is stored along with it, there still seems to be demand for this functionality. We add it for compatibility with ipsec.secrets, even if it is not really recommended. | |||||
* | swanctl: Document replay_window option | Martin Willi | 2014-06-17 | 1 | -0/+7 | |
| | ||||||
* | vici: Support a replay_window CHILD_SA option | Martin Willi | 2014-06-17 | 1 | -0/+16 | |
| | ||||||
* | starter: Add a replay_window connection option | Martin Willi | 2014-06-17 | 8 | -0/+12 | |
| | ||||||
* | kernel-pfkey: Support connection specific replay window sizes up to 32 packets | Martin Willi | 2014-06-17 | 1 | -1/+1 | |
| | ||||||
* | kernel-netlink: Support connection specific replay window sizes | Martin Willi | 2014-06-17 | 1 | -39/+16 | |
| | ||||||
* | kernel-interface: Add a replay_window parameter to add_sa() | Martin Willi | 2014-06-17 | 12 | -25/+43 | |
| | ||||||
* | child-cfg: Store connection specific replay window on CHILD_SA config | Martin Willi | 2014-06-17 | 2 | -0/+38 | |
| | ||||||
* | windows: Declare strerror_s() | Martin Willi | 2014-06-17 | 1 | -0/+5 | |
| | | | | | Older MinGW versions seem to miss this function declaration. Fixes build on Travis using Ubuntu 12.04. | |||||
* | windows: Extend strerror_r/s by extended POSIX errno strings | Martin Willi | 2014-06-17 | 2 | -0/+66 | |
| | ||||||
* | windows: Implement strerror_r using strerror_s | Martin Willi | 2014-06-17 | 1 | -0/+9 | |
| | ||||||
* | windows: Wrap most Winsock2 Posix functions to set errno | Martin Willi | 2014-06-17 | 2 | -65/+198 | |
| | | | | | | While Winsock provides many Posix compatibility functions, they do not set errno, but use WSAGetLastError() for error reporting. The wrapped functions derive an errno from WSAGetLastError() on failure. | |||||
* | watcher: Prevent race condition spawning multiple watcher threads | Martin Willi | 2014-06-17 | 1 | -1/+3 | |
| | | | | | | | | If file descriptors get added and removed in rapid succession, the active watcher thread might not take notice of it and continues running. However, add() spawns a watcher thread whenever a file descriptor is added to an empty set. This could result in multiple watcher threads, which is fixed by a proper check for running watchers. | |||||
* | thread-value: Defer cleanup handling to thread termination on Windows | Martin Willi | 2014-06-17 | 3 | -40/+51 | |
| | | | | | | | | | | | Instead of cleaning up all thread-values during destruction, cleanup handler is invoked when a thread detaches. Thread detaching is cough using the Windows DllMain() entry point, and allows us to basically revert 204098a7. Using this mechanism, we make sure that the cleanup handler is invoked by the the correct thread. Further, this mechanism works for externally-spawned threads which run outside of our thread_cb() routine, and works more efficiently with short-running threads. | |||||
* | socket-win: Use non-overlapped I/O and socket event selection | Martin Willi | 2014-06-17 | 1 | -31/+13 | |
| | | | | | | | | The use of overlapped I/O was incorrect, as we passed stack based buffers, but did not cancel/wait for pending completion on all sockets. Our receive-from-all socket interface is actually tricky to implement using overlapped I/O. Switch to WSAEventSelect() event management, which can be canceled properly while working in a select()-like way. | |||||
* | bus: Add a handle_vips() hook invoked after handling configuration attributes | Martin Willi | 2014-06-17 | 6 | -0/+53 | |
| | | | | | | | | | Similar to assign_vips() used by a peer assigning virtual IPs to the other peer, the handle_vips() hook gets invoked on a peers after receiving attributes. On release of the same attributes the hook gets invoked again. This is useful to inspect handled attributes, as the ike_updown() hook is invoked after authentication, when attributes have not been handled yet. | |||||
* | ikev1: Invoke the assign_vips() bus hook for IKEv1 as well | Martin Willi | 2014-06-16 | 2 | -3/+7 | |
| | ||||||
* | ike: Create an enumerator for (un-)handled configuration attributes on IKE_SA | Martin Willi | 2014-06-16 | 2 | -0/+32 | |
| | ||||||
* | ike: Store unhandled attributes on IKE_SA as well | Martin Willi | 2014-06-16 | 4 | -12/+12 | |
| | ||||||
* | Split swanctl --raw mode into single-line and --pretty mode | Andreas Steffen | 2014-06-14 | 18 | -185/+310 | |
| | ||||||
* | Allow multiple hash values in the file reference database | Andreas Steffen | 2014-06-10 | 2 | -32/+60 | |
| | ||||||
* | Added Android 4.3 and 4.4.3 to imv database | Andreas Steffen | 2014-06-10 | 1 | -0/+24 | |
| | ||||||
* | Added missing units (s = seconds) | Andreas Steffen | 2014-06-10 | 1 | -1/+1 | |
| | ||||||
* | Fixes in SWID entity support | Andreas Steffen | 2014-06-08 | 2 | -19/+7 | |
| | ||||||
* | windows: Link against psapi32 | Martin Willi | 2014-06-06 | 1 | -1/+1 | |
| | | | | | On some version GetModuleFileNameEx/GetModuleInformation is in psapi32 instead of kernel32. We link to both libraries to make sure we have it. | |||||
* | backtrace: Use GetModuleInformation/GetModuleFileNameEx directly on Win32 | Martin Willi | 2014-06-06 | 1 | -2/+10 | |
| | | | | The K32 variants are actually needed on 64-bit only. | |||||
* | windows: Use WINAPI call convention for Windows API callbacks | Martin Willi | 2014-06-06 | 8 | -23/+28 | |
| | | | | | For x86_64 it does not actually matter, but for i686 builds the call convention is different with WINAPI. | |||||
* | Ubuntu 14.04 updated to 3.13.0-29 kernel | Andreas Steffen | 2014-06-06 | 1 | -1/+1 | |
| | ||||||
* | Extended pt-tls-client PLUGINS list | Andreas Steffen | 2014-06-06 | 1 | -1/+1 | |
| | ||||||
* | Updated REST API | Andreas Steffen | 2014-06-06 | 2 | -7/+17 | |
| | ||||||
* | android: Add all Android.mk files to the tarball | Tobias Brunner | 2014-06-06 | 3 | -1/+4 | |
| | ||||||
* | pki: Support complex trustchain and revocation checking in --verify | Martin Willi | 2014-06-04 | 1 | -48/+86 | |
| | ||||||
* | unit-tests: Zero-initialize chunk to avoid free on non-successful fetch | Martin Willi | 2014-06-04 | 1 | -1/+1 | |
| | | | | | If the fetch fails, the fetcher is not required to return an empty chunk. Avoid the resulting invalid free() by initializing data.ptr to NULL. | |||||
* | winhttp: Support basic authentication for URLs having credentials | Martin Willi | 2014-06-04 | 1 | -3/+23 | |
| | ||||||
* | winhttp: Support new response code fetcher option | Martin Willi | 2014-06-04 | 1 | -0/+34 | |
| | ||||||
* | winhttp: Implement a http(s) fetcher based on Microsofts WinHTTP API | Martin Willi | 2014-06-04 | 6 | -0/+529 | |
| | ||||||
* | kernel-wfp: Include Windows header patch for MinGW 4.8.1 | Martin Willi | 2014-06-04 | 2 | -0/+29 | |
| | ||||||
* | kernel-wfp: Clone acquire traffic selectors only if they exist | Martin Willi | 2014-06-04 | 1 | -1/+3 | |
| | ||||||
* | kernel-wfp: Install routes for trap policies | Martin Willi | 2014-06-04 | 1 | -3/+21 | |
| | ||||||
* | kernel-wfp: Refactor route management to separate function | Martin Willi | 2014-06-04 | 1 | -39/+47 | |
| | ||||||
* | kernel-wfp: Install tunnel mode policies to appropriate sub-layers | Martin Willi | 2014-06-04 | 2 | -6/+22 | |
| | | | | | While it is unclear if this has any effect at all, we prefer specific sublayers to install policies as suggested. | |||||
* | kernel-wfp: Declare GUIDs and auth/cipher configs missing in some MinGW builds | Martin Willi | 2014-06-04 | 1 | -0/+89 | |
| | ||||||
* | kernel-wfp: Support multiple traffic selectors on tunnel mode SAs | Martin Willi | 2014-06-04 | 1 | -36/+80 | |
| | ||||||
* | child-sa: Pass the number of total policies tied to an SA to the kernel | Martin Willi | 2014-06-04 | 2 | -0/+10 | |
| | | | | | This will be useful if the kernel backend has to know how many policies follow an SA install, for example if it must install all policies concurrently. | |||||
* | kernel-iph: Implicitly enable IP forwarding when installing routes | Martin Willi | 2014-06-04 | 1 | -0/+26 | |
| | ||||||
* | kernel-wfp: Show a warning for packets the kernel drops in its IPsec layers | Martin Willi | 2014-06-04 | 1 | -0/+6 | |
| | ||||||
* | kernel-wfp: Set flag to get UDP encapsulation with tunnel mode working | Martin Willi | 2014-06-04 | 2 | -0/+22 | |
| | | | | | | Having this flag set fixes connections initiated by the Windows host, but unfortunately does not yet fix incoming connections. Connection state issue? We still see 0xc00000e2 error events, translating to INTERNAL_ERROR. | |||||
* | kernel-wfp: Install tunnel and trap forward policies | Martin Willi | 2014-06-04 | 3 | -136/+275 | |
| |