Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | vici: Add 'get|reset-counters' commands | Tobias Brunner | 2017-11-08 | 4 | -1/+191 |
| | |||||
* | vici: Make setting mark on inbound SA configurable | Tobias Brunner | 2017-11-02 | 1 | -7/+19 |
| | |||||
* | Fixed some typos, courtesy of codespell | Tobias Brunner | 2017-08-07 | 1 | -1/+1 |
| | |||||
* | Change interface for enumerator_create_filter() callback | Tobias Brunner | 2017-05-26 | 2 | -17/+30 |
| | | | | | This avoids the unportable 5 pointer hack, but requires enumerating in the callback. | ||||
* | Migrate all enumerators to venumerate() interface change | Tobias Brunner | 2017-05-26 | 2 | -5/+17 |
| | |||||
* | vici: Make 96-bit truncation for SHA-256 configurable | Tobias Brunner | 2017-05-26 | 1 | -0/+11 |
| | |||||
* | vici: Make hardware offload configurable | Tobias Brunner | 2017-05-23 | 1 | -0/+11 |
| | |||||
* | child-cfg: Use flags for boolean options | Tobias Brunner | 2017-05-23 | 2 | -12/+59 |
| | | | | Makes it potentially easier to add new flags. | ||||
* | Add an option to announce support for IKE fragmentation but not sending ↵ | Tobias Brunner | 2017-05-23 | 1 | -0/+1 |
| | | | | fragments | ||||
* | vici: Return key ID from load-key command | Tobias Brunner | 2017-05-23 | 2 | -4/+13 |
| | | | | | We already do this for load-token and this should simplify client implementations. | ||||
* | vici: Fix type error exception in Python bindings | odi79 | 2017-04-19 | 1 | -1/+1 |
| | | | | | | | | | | Line 66 yields "TypeError: can't concat bytes to str" using Python 3.4. "requestdata" was introduced in 22f08609f1b6 but is not actually used. Since the original "request" is not used anywhere else this can be changed to be similar to the other UTF-8 encoding changes in that commit. Fixes: 22f08609f1b6 ("vici: Explicitly set the Python encoding type"). Closes strongswan/strongswan#66. | ||||
* | vici: Don't fall back to uninstalling traps if a matching shunt was found | Tobias Brunner | 2017-03-23 | 1 | -3/+7 |
| | | | | | | | This is different if `ike` and `child` are provided and uninstall() fails as we call that without knowing whether a matching shunt exists. But if `ike` is not provided we explicitly search for a matching shunt and if found don't need to look for a trap policy. | ||||
* | Fixed some typos, courtesy of codespell | Tobias Brunner | 2017-03-23 | 2 | -2/+2 |
| | |||||
* | 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 |
| |