Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | 1 | -0/+10 | |
| | | | | 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. | |||||
* | 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 | |
| | ||||||
* | 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. | |||||
* | 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 | |
| | ||||||
* | Support of multiple directed segmentation contracts | Andreas Steffen | 2014-10-11 | 6 | -22/+133 | |
| | ||||||
* | unit-tests: Updated Makefile | Andreas Steffen | 2014-10-11 | 1 | -0/+1 | |
| | ||||||
* | unit-tests: Added test for seg_contract_manager | Andreas Steffen | 2014-10-11 | 1 | -0/+74 | |
| | ||||||
* | Updated build-database.sh script to 3.13.0-37 kernel | Andreas Steffen | 2014-10-11 | 1 | -1/+1 | |
| | ||||||
* | swanctl: Fix exit codes based on errno | Martin Willi | 2014-10-10 | 13 | -20/+45 | |
| | | | | | As fprintf() most likely sets errno, we should save it before printing the error message. | |||||
* | vici: Cancel processor before calling library_deinit() | Martin Willi | 2014-10-10 | 1 | -0/+1 | |
| | | | | | For non-direct libstrongswan users, the deinitialization segfaults because of the missing worker thread cancellation. | |||||
* | vici: Reduce debug level during thread spawning | Martin Willi | 2014-10-10 | 1 | -0/+2 | |
| | | | | We want to avoid libvici users to get a cluttered stderr for no real error. | |||||
* | vici: Don't include-depend on libstrongswan for boolean types | Martin Willi | 2014-10-10 | 2 | -4/+2 | |
| | | | | | | | | As we want to avoid the libstrongswan include dependencies for libvici, avoid the use of the bool type. Unfortunately this change may break the ABI for vici_dump(). As this function is mostly for debugging purposes, we do it nonetheless; my apologies if somebody already relies on the ABI stability of that function. | |||||
* | vici: Document the ruby gem and add some simple examples | Martin Willi | 2014-10-10 | 1 | -0/+58 | |
| | ||||||
* | vici: Add some simple libvici examples to the README | Martin Willi | 2014-10-10 | 1 | -2/+116 | |
| | ||||||
* | vici: Document the available vici command and event messages | Martin Willi | 2014-10-10 | 1 | -1/+509 | |
| | ||||||
* | vici: Use "gem"-assisted vici ruby gem building and installation | Martin Willi | 2014-10-10 | 4 | -1/+29 | |
| | ||||||
* | vici: Add a ruby gem providing a native vici interface | Martin Willi | 2014-10-10 | 3 | -0/+586 | |
| | ||||||
* | vici: Return a success result for the clear-creds command | Martin Willi | 2014-10-10 | 1 | -4/+1 | |
| | | | | | Even if the command actually can't fail, this looks more aligned to similar commands. | |||||
* | vici: Fix message encoding type values in documentation | Martin Willi | 2014-10-10 | 1 | -6/+6 | |
| | ||||||
* | ikev1: Add fragmentation support for Windows peers | Volker RĂ¼melin | 2014-10-10 | 3 | -13/+58 | |
| | | | | | | | | I still think ipsec/l2tp with fragmentation support is a useful fallback option in case the Windows IKEv2 connection fails because of fragmentation problems. Tested with Windows XP, 7 and 8.1. | |||||
* | eap-radius: Add option to set interval for interim accounting updates | Tobias Brunner | 2014-10-10 | 1 | -0/+10 | |
| | | | | | | Any interval returned by the RADIUS server in the Access-Accept message overrides the configured interval. But it might be useful if RADIUS is only used for accounting. | |||||
* | message: Limit maximum number of IKEv2 fragments | Tobias Brunner | 2014-10-10 | 1 | -1/+11 | |
| | | | | | | | | The maximum for IKEv1 is already 255 due to the 8-bit fragment number. With an overhead of 17 bytes (x64) per fragment and a default maximum of 10000 bytes per packet the maximum memory required is 14 kB for a fragmented message. | |||||
* | packet: Define a global default maximum size for IKE packets | Tobias Brunner | 2014-10-10 | 5 | -18/+9 | |
| | ||||||
* | message: Ensure a minimum fragment length | Tobias Brunner | 2014-10-10 | 1 | -8/+18 | |
| | ||||||
* | ikev2: Send retransmits using the latest known addresses | Tobias Brunner | 2014-10-10 | 1 | -1/+3 | |
| | | | | | | | For instance, if a DPD exchange is initiated by the gateway when a mobile client is roaming and it then gets a new IP address and sends an address update via MOBIKE, the DPD retransmits would still be sent to the old address and the SA would eventually get closed. | |||||
* | ikev2: Send and receive fragmented IKE messages | Tobias Brunner | 2014-10-10 | 1 | -44/+169 | |
| | | | | | If a fragmented message is retransmitted only the first packet is passed to the alert() hook. | |||||
* | ike: IKE_SA may fragment IKEv2 messages | Tobias Brunner | 2014-10-10 | 1 | -1/+1 | |
| | ||||||
* | ike: Do not cache MID of IKEv2 fragments | Tobias Brunner | 2014-10-10 | 1 | -2/+3 | |
| | | | | | This fails if there are unencrypted payloads before an encrypted fragment payload in the first fragment. | |||||
* | message: Fragment and reassemble IKEv2 messages | Tobias Brunner | 2014-10-10 | 2 | -133/+366 | |
| | ||||||
* | message: Handle encrypted fragment payload similar to the encrypted payload | Tobias Brunner | 2014-10-10 | 1 | -16/+91 | |
| | ||||||
* | ikev2: Add encrypted fragment payload | Tobias Brunner | 2014-10-10 | 5 | -12/+455 | |
| | ||||||
* | encrypted_payload: Encrypted payload can be constructed from plaintext | Tobias Brunner | 2014-10-10 | 2 | -0/+38 | |
| | ||||||
* | encrypted_payload: Expose generate() to generate the plaintext | Tobias Brunner | 2014-10-10 | 2 | -1/+17 | |
| | ||||||
* | encrypted_payload: Extract some utility functions | Tobias Brunner | 2014-10-10 | 1 | -74/+110 | |
| |