Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | vici: Document how we pronounce the vici protocol and plugin | Martin Willi | 2017-03-20 | 1 | -3/+3 |
| | |||||
* | vici: Only log messages if there actually is a listener | Tobias Brunner | 2017-02-16 | 1 | -0/+7 |
| | |||||
* | vici: Let has_event_listeners() actually check if clients are registered | Tobias Brunner | 2017-02-16 | 1 | -2/+4 |
| | | | | | Fixes: 8d96f90a7983 ("vici: Add function to test if an event should be generated") | ||||
* | vici: Add support for mediation extension | Tobias Brunner | 2017-02-16 | 1 | -1/+85 |
| | |||||
* | vici: Include uniqueness policy in list-conns | Tobias Brunner | 2017-02-16 | 1 | -0/+2 |
| | |||||
* | vici: Add command to initiate SA rekeying | Tobias Brunner | 2017-02-16 | 2 | -2/+118 |
| | |||||
* | vici: Use unique names for CHILD_SAs in the list-sas command | Tobias Brunner | 2017-02-16 | 2 | -2/+7 |
| | | | | | | | | | The original name is returned in the new "name" attribute. This fixes an issue with bindings that map VICI messages to dictionaries. For instance, in roadwarrior scenarios where every CHILD_SA has the same name only the information of the last CHILD_SA would end up in the dictionary for that name. | ||||
* | vici: Add support to load CA certificates from tokens and paths in authority ↵ | Tobias Brunner | 2017-02-16 | 1 | -10/+97 |
| | | | | sections | ||||
* | vici: Add support to load certificates from file paths | Tobias Brunner | 2017-02-16 | 1 | -13/+32 |
| | | | | Probably not that useful via swanctl.conf but could be when used via VICI. | ||||
* | vici: Add support to load certificates from tokens | Tobias Brunner | 2017-02-16 | 1 | -12/+115 |
| | |||||
* | vici: Add command to load a private key from a token | Tobias Brunner | 2017-02-16 | 2 | -3/+117 |
| | | | | | | | PINs are stored in a "hidden" credential set, so that its shared secrets are not exposed via VICI. Since they are not explicitly loaded as shared secrets via VICI a client might consider them as removed secrets and remove them. | ||||
* | vici: List namespace/peer-cfg name with policies and allow filtering | Tobias Brunner | 2017-02-16 | 2 | -13/+33 |
| | | | | The two names are also transmitted in separate keys. | ||||
* | vici: Explicitly use peer name when uninstalling trap and shunt policies | Tobias Brunner | 2017-02-16 | 3 | -10/+40 |
| | | | | Also adds an `ike` parameter to the `uninstall` command. | ||||
* | shunt-manager: Add an optional namespace for each shunt | Tobias Brunner | 2017-02-16 | 3 | -5/+5 |
| | | | | | This will allow us to reuse the names of child configs e.g. when they are defined in different connections. | ||||
* | vici: Add support for NT Hash secrets | Tobias Brunner | 2017-02-16 | 1 | -0/+4 |
| | | | | Fixes #1002. | ||||
* | vici: Add support for IPv6 Transport Proxy Mode | Tobias Brunner | 2017-02-16 | 2 | -14/+39 |
| | |||||
* | vici: Add support for certificate policies | Tobias Brunner | 2017-02-16 | 1 | -0/+17 |
| | |||||
* | vici: Add missing dscp setting for IKE_SAs | Tobias Brunner | 2017-02-16 | 1 | -5/+39 |
| | | | | Fixes #2170. | ||||
* | vici: Add possibility to remove shared keys by a unique identifier | Tobias Brunner | 2017-02-16 | 2 | -5/+76 |
| | | | | | This identifier can be set when adding/replacing a secret. The unique identifiers of all secrets may be enumerated. | ||||
* | vici: Add commands to enumerate and remove private keys | Tobias Brunner | 2017-02-16 | 2 | -2/+75 |
| | | | | They are identified by their SHA-1 key identifier. | ||||
* | vici: Update get_pools() in Python and Ruby bindings | Tobias Brunner | 2017-02-16 | 2 | -4/+6 |
| | |||||
* | vici: Add option to query a specific pool | Tobias Brunner | 2017-02-16 | 2 | -3/+10 |
| | |||||
* | vici: Include the Netfilter marks in listed CHILD_SAs | Martin Willi | 2017-02-13 | 2 | -0/+19 |
| | |||||
* | vici: Explicitly set the Python encoding type | Martin Willi | 2017-02-13 | 1 | -4/+4 |
| | | | | | | | | | | When using vici over RPyC and its (awesome) splitbrain, encoding and decoding strings fails in vici, most likely because of the Monkey-Patch magic splitbrain uses. When specifying the implicit UTF-8 as encoding scheme explicitly, Python uses the correct method to encode/decode the string, making vici useable in splitbrain contexts. | ||||
* | vici: Reload loggers after reloading strongswan.conf via reload-setting command | Tobias Brunner | 2017-01-25 | 1 | -0/+1 |
| | |||||
* | vici: Check for closed connection in Python bindings | Weilu Jia | 2016-12-14 | 1 | -1/+4 |
| | | | | | | | The Python VICI library does not check if the socket is closed. If the daemon closes the connection, _recvall() spins forever. Closes strongswan/strongswan#56. | ||||
* | Save both base and delta CRLs to disk | Andreas Steffen | 2016-10-11 | 1 | -1/+4 |
| | |||||
* | vici: strongswan.conf cache_crls = yes saves fetched CRLs to disk | Andreas Steffen | 2016-10-11 | 4 | -2/+77 |
| | |||||
* | vici: Enable IKE fragmentation by default | Tobias Brunner | 2016-10-04 | 1 | -1/+1 |
| | |||||
* | vici: Make installation of outbound FWD policies configurable | Tobias Brunner | 2016-09-28 | 1 | -25/+29 |
| | |||||
* | vici: Fix indention of flush_certs() method in Python bindings | Tobias Brunner | 2016-09-20 | 1 | -1/+1 |
| | |||||
* | vici: flush-certs command flushes certificate cache | Andreas Steffen | 2016-09-13 | 6 | -0/+68 |
| | | | | | | | | | | When fresh CRLs are released with a high update frequency (e.g. every 24 hours) or OCSP is used then the certificate cache gets quickly filled with stale CRLs or OCSP responses. The new VICI flush-certs command allows to flush e.g. cached CRLs or OCSP responses only. Without the type argument all kind of certificates (e.g. also received end entity and intermediate CA certificates) are purged. | ||||
* | xof: Defined Extended Output Functions | Andreas Steffen | 2016-07-29 | 1 | -0/+10 |
| | |||||
* | vici: Increased various string buffers to BUF_LEN (512 bytes) | Andreas Steffen | 2016-07-29 | 1 | -4/+4 |
| | |||||
* | vici: Put source distribution in the dist dir in the build directory | Tobias Brunner | 2016-05-11 | 1 | -1/+3 |
| | | | | This fixes the out-of-tree build. | ||||
* | vici: Add target to build a source package and universal wheel of the Python ↵ | Tobias Brunner | 2016-05-11 | 1 | -0/+6 |
| | | | | package | ||||
* | vici: Add README.rst to be used as description on PyPI | Tobias Brunner | 2016-05-11 | 4 | -8/+28 |
| | |||||
* | vici: Replace dr with dev in version numbers for the Python egg | Tobias Brunner | 2016-05-10 | 1 | -5/+5 |
| | | | | | | The versioning scheme used by Python (PEP 440) supports the rcN suffix but development releases have to be named devN, not drN, which are not supported and considered legacy versions. | ||||
* | vici: Update setup.py | Tobias Brunner | 2016-05-10 | 1 | -4/+5 |
| | |||||
* | vici: Ensure we read exactly the specified amount of bytes from the socket ↵ | Tobias Brunner | 2016-05-10 | 1 | -2/+9 |
| | | | | | | | in Python recv() will return less bytes than specified (as that's the buffer size) if not as many are ready to be read from the socket. | ||||
* | vici list-conns sends reauthentication and rekeying time information | Andreas Steffen | 2016-05-04 | 3 | -15/+32 |
| | |||||
* | Include manual policy priorities and restriction to interfaces in vici ↵ | Andreas Steffen | 2016-04-09 | 1 | -1/+14 |
| | | | | list-conn command | ||||
* | Implemented IPsec policies restricted to given network interface | Andreas Steffen | 2016-04-09 | 1 | -0/+3 |
| | |||||
* | Support manually-set IPsec policy priorities | Andreas Steffen | 2016-04-09 | 1 | -0/+2 |
| | |||||
* | peer-cfg: Use struct to pass data to constructor | Tobias Brunner | 2016-04-09 | 1 | -6/+17 |
| | |||||
* | child-cfg: Use struct to pass data to constructor | Tobias Brunner | 2016-04-09 | 1 | -125/+117 |
| | |||||
* | vici: Fix documentation of some dictionary keys of two request messages | Cameron McCord | 2016-03-31 | 1 | -3/+3 |
| | | | | Closes strongswan/strongswan#40. | ||||
* | Use standard unsigned integer types | Andreas Steffen | 2016-03-24 | 9 | -59/+59 |
| | |||||
* | vici: Don't hold write lock while running or undoing start actions | Tobias Brunner | 2016-03-11 | 1 | -27/+63 |
| | | | | | | | | | | | | | | Running or undoing start actions might require enumerating IKE_SAs, which in turn might have to enumerate peer configs concurrently, which requires acquiring a read lock. So if we keep holding the write lock while enumerating the SAs we provoke a deadlock. By preventing other threads from acquiring the write lock while handling actions, and thus preventing the modification of the configs, we largely maintain the current synchronous behavior. This way we also don't need to acquire additional refs for config objects as they won't get modified/removed. Fixes #1185. | ||||
* | Initialize ts variable | Andreas Steffen | 2016-03-11 | 1 | -1/+1 |
| |