Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | utils: Add wrappers for memcpy(3), memmove(3) and memset(3) | Tobias Brunner | 2014-06-24 | 1 | -1/+33 | |
| | | | | | | | | These wrappers guarantee that calls to these functions are noops if the number of bytes is 0, as calling them with NULL pointers is undefined according to the C standard, even if the number of bytes is 0 (most implementations probably ignore the pointers anyway in this case, but lets make sure). | |||||
* | pki: Also check for MAX_COMMANDS when building getopt_long arguments | Tobias Brunner | 2014-06-24 | 1 | -1/+1 | |
| | | | | Completes 87e53819a6 and 0a8c399a21. | |||||
* | Auxiliary swid_tagstats table boosts performance | Andreas Steffen | 2014-06-23 | 1 | -0/+14 | |
| | ||||||
* | Merge branch 'algorithm-order' | Tobias Brunner | 2014-06-20 | 4 | -5/+327 | |
|\ | | | | | | | | | | | | | | | Restores the behavior we had before 2e22333fb (except for RNGs), that is, algorithms are stored in the registration order again. Which is not optimal as we must rely on plugins to register them in a sensible order, but ordering them by identifier definitely caused weaker algorithms to be proposed first in the default proposal, which was even worse. | |||||
| * | unit-tests: Add tests for DH factory | Tobias Brunner | 2014-06-20 | 1 | -0/+157 | |
| | | ||||||
| * | crypto-factory: Only sort RNGs by algorithm identifier | Tobias Brunner | 2014-06-20 | 1 | -5/+13 | |
| | | | | | | | | | | Others remain in the order in which they were added, grouped by algorithm identifier and sorted by benchmarking speed, if provided. | |||||
| * | unit-tests: Add test for crypto_factory_t's rng_create method | Tobias Brunner | 2014-06-20 | 3 | -0/+157 | |
|/ | ||||||
* | kernel-netlink: Install virtual IPv6 addresses as deprecated | Tobias Brunner | 2014-06-20 | 1 | -0/+11 | |
| | | | | | | | | This should prevent the kernel's IPv6 source address selection algorithm from using this address unless it is forced to by our source route. This is helpful if split tunneling is used. Fixes #598. | |||||
* | vici: Install libvici in ipseclibdir like we do with other libraries | Tobias Brunner | 2014-06-19 | 1 | -1/+1 | |
| | ||||||
* | Merge branch 'shunt-policies-routes' | Tobias Brunner | 2014-06-19 | 10 | -34/+65 | |
|\ | | | | | | | Fixes #599. | |||||
| * | kernel-netlink: Pass prefix when looking up next hop for shunt policies | Tobias Brunner | 2014-06-19 | 1 | -1/+12 | |
| | | ||||||
| * | kernel-netlink: Add support for destination prefix when determining next hop | Tobias Brunner | 2014-06-19 | 1 | -20/+35 | |
| | | ||||||
| * | kernel-interface: Add destination prefix to get_nexthop() | Tobias Brunner | 2014-06-19 | 10 | -13/+18 | |
|/ | | | | | This allows to determine the next hop to reach a subnet, for instance, when installing routes for shunt policies. | |||||
* | Merge branch 'passthrough-policies-priority' | Tobias Brunner | 2014-06-19 | 32 | -3298/+165 | |
|\ | | | | | | | | | | | | | Introduces a new priority class for policies, which allows us to install passthrough policies with a strictly higher priority than IPsec policies, which was not the case previously depending on the traffic selectors. | |||||
| * | testing: Add ikev2/shunt-policies-nat-rw scenario | Tobias Brunner | 2014-06-19 | 12 | -0/+171 | |
| | | ||||||
| * | testing: Remove ikev2/shunt-policies scenario | Tobias Brunner | 2014-06-19 | 10 | -166/+0 | |
| | | | | | | | | | | This scenario doesn't really apply anymore (especially its use of drop policies). | |||||
| * | shunt-manager: Install passthrough policies with highest priority | Tobias Brunner | 2014-06-19 | 1 | -9/+34 | |
| | | | | | | | | | | | | This avoids conflicts with regular IPsec policies. Similarly, use the lowest priority for drop policies. | |||||
| * | libipsec: Add support for new policy priority class | Tobias Brunner | 2014-06-19 | 1 | -1/+4 | |
| | | ||||||
| * | kernel-pfkey: Add support for new policy priority class | Tobias Brunner | 2014-06-19 | 1 | -2/+5 | |
| | | ||||||
| * | kernel-netlink: Add support for new policy priority class | Tobias Brunner | 2014-06-19 | 1 | -2/+5 | |
| | | ||||||
| * | ipsec: Add a fourth priority class for bypass policies | Tobias Brunner | 2014-06-19 | 1 | -1/+3 | |
| | | ||||||
| * | Remove kernel-klips plugin | Tobias Brunner | 2014-06-19 | 10 | -3174/+0 | |
|/ | ||||||
* | kernel-netlink: Follow RFC 6724 when selecting IPv6 source addresses | Tobias Brunner | 2014-06-19 | 2 | -26/+174 | |
| | | | | | | | | Instead of using the first address we find on an interface we should consider properties like an address' scope or whether it is temporary or public. Fixes #543. | |||||
* | Merge branch 'ipsec.conf-parser' | Tobias Brunner | 2014-06-19 | 28 | -1591/+2505 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | Replaces the ipsec.conf parser in starter. The new parser is also based on flex/bison but it simply returns key/value collections of all sections. It already resolves also= and allows overriding options in all included sections (not only %default), options set in included section can also be cleared again (key=). It provides other improvements too, like quoted strings (with escape sequences), unlimited includes and better whitespace/comment handling. Fixes #423. Fixes #560. | |||||
| * | starter: Don't directly refer to source files in Makefile for unit tests | Tobias Brunner | 2014-06-19 | 2 | -5/+8 | |
| | | | | | | | | | | Older versions of automake have trouble recursively cleaning such constructs properly. | |||||
| * | starter: Explicitly allow @# at the beginning of strings | Tobias Brunner | 2014-06-19 | 2 | -1/+4 | |
| | | | | | | | | | | Since we treat everything after # as comment identities of type ID_KEY_ID couldn't be parsed otherwise, unless quoted. | |||||
| * | starter: Add --conftest option to test ipsec.conf syntax | Tobias Brunner | 2014-06-19 | 1 | -0/+27 | |
| | | ||||||
| * | starter: Remove old parser | Tobias Brunner | 2014-06-19 | 6 | -545/+4 | |
| | | ||||||
| * | starter: Use new parser to read config file | Tobias Brunner | 2014-06-19 | 4 | -769/+493 | |
| | | ||||||
| * | starter: Move kw_entry_t definition | Tobias Brunner | 2014-06-19 | 2 | -9/+10 | |
| | | ||||||
| * | starter: Remove unused ARG_LST argument type | Tobias Brunner | 2014-06-19 | 2 | -147/+5 | |
| | | ||||||
| * | starter: Add tests for ipsec.conf parser | Tobias Brunner | 2014-06-19 | 7 | -0/+608 | |
| | | ||||||
| * | unit-tests: Make fixture functions optional | Tobias Brunner | 2014-06-19 | 1 | -2/+8 | |
| | | ||||||
| * | starter: Add new bison/flex based parser for ipsec.conf | Tobias Brunner | 2014-06-19 | 7 | -12/+1257 | |
| | | | | | | | | | | | | | | | | | | The parser simply returns key/value pairs of all sections, it already resolves also= and allows overriding options in all included sections (not only %default), options set in included section can also be cleared again (key=). It provides other improvements too, like quoted strings (with escape sequences), unlimited includes and better whitespace/comment handling. | |||||
| * | starter: Remove out of date README | Tobias Brunner | 2014-06-19 | 1 | -101/+0 | |
| | | ||||||
| * | collections: Add interface for read-only dictionaries | Tobias Brunner | 2014-06-19 | 2 | -1/+56 | |
| | | ||||||
| * | hashtable: Add destroy_function method | Tobias Brunner | 2014-06-19 | 2 | -11/+37 | |
|/ | ||||||
* | stroke: Add --daemon option | Tobias Brunner | 2014-06-19 | 1 | -124/+154 | |
| | ||||||
* | starter: Use stream abstraction to communicate with stroke plugin | Tobias Brunner | 2014-06-19 | 1 | -33/+16 | |
| | ||||||
* | stroke: Use stream abstraction to communicate with stroke plugin | Tobias Brunner | 2014-06-19 | 1 | -43/+23 | |
| | | | | | Without this changing charon.plugins.stroke.socket would not really work. | |||||
* | winhttp: Fix a typo to properly release connection handle | Martin Willi | 2014-06-19 | 1 | -1/+1 | |
| | | | | Fixes a rather large memory leak in HTTP fetches. | |||||
* | load-tester: Add a crl option to include a CRL uri in generated certificates | Martin Willi | 2014-06-19 | 1 | -1/+21 | |
| | ||||||
* | bus: Properly va_copy() argument list before passing it to printf() functions | Martin Willi | 2014-06-19 | 1 | -1/+3 | |
| | | | | | | | | As we later potentially use args again, we can't consume it with printf functions without copying it first. Clone list before passing it to any consuming function. Fixes #621. | |||||
* | child-sa: Set replay window on both inbound and outbound SA | Martin Willi | 2014-06-18 | 1 | -6/+2 | |
| | | | | | | | | While the outbound SA actually does not need a replay window, the kernel rejects zero replay windows on SAs using ESN. The ESN flag is required to use the full sequence number in ICV calculation, hence we set the replay window. This restores the behavior we had before 30c009c2. | |||||
* | kernel-netlink: Never use XFRMA_REPLAY_ESN_VAL to configure zero replay windows | Martin Willi | 2014-06-18 | 1 | -1/+1 | |
| | | | | | | Trying to disable replay windows using the ESN attribute fails with EINVAL. Use non-ESN legacy format to disable replay windows, even if ESN has been negotiated over IKE. | |||||
* | Added swanctl/net2net-route scenario | Andreas Steffen | 2014-06-18 | 9 | -0/+145 | |
| | ||||||
* | Added swanctl/net2net-start scenario | Andreas Steffen | 2014-06-18 | 9 | -0/+140 | |
| | ||||||
* | Minor changes in swanctl scenarios | Andreas Steffen | 2014-06-18 | 7 | -5/+8 | |
| | ||||||
* | The policy_started check is not needed any more | Andreas Steffen | 2014-06-18 | 1 | -4/+0 | |
| | ||||||
* | Added swanctl --list-pols and swanctl --stats do scenario log | Andreas Steffen | 2014-06-18 | 1 | -3/+12 | |
| |