Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | 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 | |
| | ||||||
* | testing: Delete accidentally committed test cases | Tobias Brunner | 2014-06-18 | 57 | -920/+0 | |
| | ||||||
* | ikev1: Allow late connection switching based on XAuth username | Tobias Brunner | 2014-06-18 | 1 | -6/+0 | |
| | ||||||
* | identification: Only use either , or / to separate RDNs | Tobias Brunner | 2014-06-18 | 2 | -7/+17 | |
| | | | | | If a DN starts with a slash (or whitespace and a slash) slashes will be used, otherwise commas. | |||||
* | sshkey: Fix loading of ECDSA keys from files | Tobias Brunner | 2014-06-18 | 2 | -3/+3 | |
| | ||||||
* | sshkey: Add support to parse SSH public keys from files with left|rightsigkey | Tobias Brunner | 2014-06-18 | 3 | -3/+59 | |
| | ||||||
* | Merge branch 'vici-stats' | Martin Willi | 2014-06-17 | 4 | -1/+277 | |
|\ | | | | | | | | | Add a vici/swanctl "stats" command to print daemon info, similar to the header shown in "ipsec statusall". | |||||
| * | vici: Support memory stats without leak-detective on Windows | Martin Willi | 2014-06-17 | 1 | -0/+53 | |
| | | ||||||
| * | 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. | |||||
* | Merge branch 'conn-specific-replay' | Martin Willi | 2014-06-17 | 25 | -65/+137 | |
|\ | | | | | | | | | | | Introduces a connection specific replay_window option, overriding the global charon.replay_window strongswan.conf option. Original patch courtesy of Zheng Zhong and Christophe Gouault from 6Wind. | |||||
| * | NEWS: Mention replay_window ipsec.conf option | Martin Willi | 2014-06-17 | 1 | -0/+4 | |
| | | ||||||
| * | 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 | |
|/ | ||||||
* | Merge branch 'win-errno' | Martin Willi | 2014-06-17 | 2 | -65/+278 | |
|\ | | | | | | | Improves errno handling for Winsock2 compatibility functions. | |||||
| * | 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. |