Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | vici: Extract CHILD_SA config lookup method | Martin Willi | 2014-05-07 | 1 | -14/+26 | |
| | ||||||
* | vici: Refactor socket to clean up locking | Martin Willi | 2014-05-07 | 1 | -87/+233 | |
| | | | | | | | Uses separate locks for socket read and write operations. While holding the socket reader lock, a different thread can still claim the socket write lock. This allows to asynchronously send event messages while holding the read lock. | |||||
* | vici: Fix dispatcher leak when handling unknown request | Martin Willi | 2014-05-07 | 1 | -10/+11 | |
| | ||||||
* | vici: Add a test case raising events during request, checks in-order delivery | Martin Willi | 2014-05-07 | 1 | -0/+76 | |
| | ||||||
* | vici: Avoid recursive control log invocations | Martin Willi | 2014-05-07 | 1 | -18/+24 | |
| | ||||||
* | vici: Add a callback based recursive parser function | Martin Willi | 2014-05-07 | 2 | -0/+136 | |
| | ||||||
* | vici: Add a version command to print daemon and OS version info | Martin Willi | 2014-05-07 | 1 | -0/+23 | |
| | ||||||
* | vici: Implement a terminate command to close IKE or CHILD_SAs | Martin Willi | 2014-05-07 | 1 | -0/+118 | |
| | ||||||
* | vici: Add a control backend, currently to initiate connections by name | Martin Willi | 2014-05-07 | 4 | -0/+275 | |
| | ||||||
* | vici: Support thread cancellation in command callbacks | Martin Willi | 2014-05-07 | 2 | -19/+53 | |
| | ||||||
* | vici: Move dumping to core message class, use it in libvici | Martin Willi | 2014-05-07 | 4 | -56/+81 | |
| | ||||||
* | vici: Add convenience value/string/integer getter to libvici | Martin Willi | 2014-05-07 | 2 | -0/+76 | |
| | ||||||
* | vici: Add some convenience getters on message | Martin Willi | 2014-05-07 | 3 | -1/+337 | |
| | ||||||
* | vici: Raise events with an optional identifier for specific connections | Martin Willi | 2014-05-07 | 4 | -9/+14 | |
| | ||||||
* | vici: Invoke dispatcher outside of connection log, allowing events from commands | Martin Willi | 2014-05-07 | 1 | -4/+13 | |
| | ||||||
* | vici: Add a query class, currently implementing a list-sas command | Martin Willi | 2014-05-07 | 4 | -1/+440 | |
| | ||||||
* | vici: Add a libvici low-level client library | Martin Willi | 2014-05-07 | 6 | -0/+1413 | |
| | ||||||
* | vici: Provide a command dispatcher handling request and event registration | Martin Willi | 2014-05-07 | 9 | -128/+1105 | |
| | ||||||
* | vici: Add a fully asynchronous IPC socket segmenting messages on/from stream | Martin Willi | 2014-05-07 | 8 | -0/+1538 | |
| | ||||||
* | vici: Add a test runner for plugin | Martin Willi | 2014-05-07 | 4 | -0/+87 | |
| | ||||||
* | vici: Add a plugin stub for the "Versatile IKE Control Interface" plugin | Martin Willi | 2014-05-07 | 3 | -0/+145 | |
| | ||||||
* | load-tester: Fix race condition issuing same SPI | Christophe Gouault | 2014-04-24 | 1 | -2/+2 | |
| | | | | | | | | | | Due to an unprotected incrementation, two load-tester initiators occasionally use the same SPI under high load, and hence generate 2 IPsec SAs with the same identifier. The responder IPsec stack will refuse to configure the second SA. Use an atomic incrementation to avoid this race condition. Signed-off-by: Christophe Gouault <christophe.gouault@6wind.com> | |||||
* | load-tester: Fix race condition issuing same identity | Christophe Gouault | 2014-04-24 | 1 | -2/+2 | |
| | | | | | | | | | | Due to an unprotected incrementation, two load-tester initiators occasionally use the same identifier under high load. The responder typically drops one of the connections. Use an atomic incrementation to avoid this race condition. Signed-off-by: Christophe Gouault <christophe.gouault@6wind.com> | |||||
* | ikev2: Add inherit_pre() to apply config and hosts before IKE_SA rekeying | Martin Willi | 2014-04-17 | 1 | -8/+2 | |
| | ||||||
* | eap-mschapv2: Fix potential leaks in case of invalid messages from servers | Tobias Brunner | 2014-04-09 | 1 | -0/+4 | |
| | ||||||
* | stroke: Fix memory leak when printing unknown AC group OIDs | Tobias Brunner | 2014-04-09 | 1 | -0/+1 | |
| | ||||||
* | tls: Support a maximum TLS version to negotiate using TLS socket abstraction | Martin Willi | 2014-04-01 | 1 | -1/+1 | |
| | ||||||
* | tls: Support a null encryption flag on TLS socket abstraction | Martin Willi | 2014-04-01 | 1 | -2/+2 | |
| | ||||||
* | Properly hash pointers for hash tables where appropriate | Tobias Brunner | 2014-03-31 | 3 | -54/+5 | |
| | | | | | Simply using the pointer is not optimal for our hash table implementation, which simply masks the key to determine the bucket. | |||||
* | eap-radius: Add option to not close IKE_SAs on timeouts during interim ↵ | Tobias Brunner | 2014-03-31 | 1 | -1/+6 | |
| | | | | | | accouting updates Fixes #528. | |||||
* | x509: Replace fixed acert group string getter by a more dynamic group enumerator | Martin Willi | 2014-03-31 | 1 | -16/+68 | |
| | ||||||
* | tnc-pdp: Fix monolithic build | Tobias Brunner | 2014-03-20 | 1 | -1/+2 | |
| | ||||||
* | tnc-ifmap: Get a reference to the client cert as it is also used in an auth ↵ | Tobias Brunner | 2014-03-10 | 1 | -1/+1 | |
| | | | | config | |||||
* | stroke: Use thread-safe dirname(3) | Tobias Brunner | 2014-02-24 | 1 | -6/+4 | |
| | ||||||
* | stroke: Use dirname(3) correctly | Tobias Brunner | 2014-02-24 | 1 | -5/+5 | |
| | ||||||
* | stroke: Use proper modifiers to print size_t arguments | Tobias Brunner | 2014-02-18 | 1 | -1/+1 | |
| | ||||||
* | lookip: Properly return from disconnect callback job | Tobias Brunner | 2014-02-18 | 1 | -1/+3 | |
| | | | | References #518. | |||||
* | lookip: Disconnect asynchronously to avoid dead-locking watcher unregistration | Martin Willi | 2014-02-17 | 1 | -3/+30 | |
| | | | | | | | | | While it really would be desirable to allow stream destruction during on_read() callbacks, this does not work anymore since e49b2998. Until we have a proper solution for this issue, use asynchronous disconnects for the only user doing so. Fixes #518. | |||||
* | libcharon: Use lib->ns instead of charon->name | Tobias Brunner | 2014-02-12 | 58 | -205/+201 | |
| | ||||||
* | libhydra: Use lib->ns instead of hydra->daemon | Tobias Brunner | 2014-02-12 | 1 | -1/+1 | |
| | ||||||
* | pool: Install SQL schemas from src/pool | Tobias Brunner | 2014-02-12 | 3 | -567/+0 | |
| | | | | | This allows us to install the schemas if either the attr-sql or sql plugin is enabled, since both use the same schema (at least in parts). | |||||
* | sql: Set default values for some fields in addresses table | Tobias Brunner | 2014-02-12 | 2 | -6/+6 | |
| | ||||||
* | sql: Install SQL schemas in /usr/share/strongswan/templates/database | Tobias Brunner | 2014-02-12 | 1 | -0/+3 | |
| | ||||||
* | sql: Remove unused cred.sql snippet | Tobias Brunner | 2014-02-12 | 1 | -24/+0 | |
| | ||||||
* | updown: Return an empty DNS server enumerator if no IKE_SA available | Martin Willi | 2014-02-06 | 1 | -1/+1 | |
| | | | | | The one existing caller does not handle a NULL return and always expects an enumerator; and returning FALSE does not make sense anyway. | |||||
* | xauth-pam: Open/close a PAM session for each connected client | Andrea Bonomi | 2014-01-23 | 4 | -9/+265 | |
| | | | | Signed-off-by: Andrea Bonomi <a.bonomi@endian.com> | |||||
* | xauth-pam: Sanitize XAuth attributes before passing them to PAM | Martin Willi | 2014-01-23 | 1 | -1/+5 | |
| | ||||||
* | stroke: Use chunk_map() instead of non-portable mmap() | Martin Willi | 2014-01-23 | 1 | -30/+6 | |
| | ||||||
* | radattr: Use chunk_map() instead of non-portable mmap() | Martin Willi | 2014-01-23 | 1 | -40/+8 | |
| | ||||||
* | chunk: Externalize error reporting in chunk_write() | Martin Willi | 2014-01-23 | 1 | -1/+10 | |
| | | | | | This avoids passing that arbitrary label just for error messages, and gives greater flexibility in handling errors. |