Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |
| | ||||||
* | Support of IP address ranges in traffic selectors | Andreas Steffen | 2016-03-10 | 1 | -1/+17 | |
| | ||||||
* | vici: Replace child configs atomically | Tobias Brunner | 2016-03-08 | 1 | -14/+11 | |
| | | | | This also leaves unmodified configs as they are. | |||||
* | vici: Order auth rounds by optional `round` parameter instead of by position ↵ | Tobias Brunner | 2016-03-08 | 1 | -40/+64 | |
| | | | | in the request | |||||
* | vici: Correctly return IKE SPIs stored in network order | Tobias Brunner | 2016-03-04 | 1 | -2/+4 | |
| | ||||||
* | vici: Add support for pubkey constraints with EAP-TLS | Tobias Brunner | 2016-03-04 | 1 | -0/+8 | |
| | | | | This is a feature currently supported by stroke. | |||||
* | auth-cfg: Make IKE signature schemes configurable | Tobias Brunner | 2016-03-04 | 1 | -2/+3 | |
| | | | | | | This also restores the charon.signature_authentication_constraints functionality, that is, if no explicit IKE signature schemes are configured we apply all regular signature constraints as IKE constraints. | |||||
* | vici: Don't redirect all SAs if no selectors are given | Tobias Brunner | 2016-03-04 | 1 | -1/+1 | |
| | | | | | This avoid confusion and redirecting all SAs can now easily be done explicitly (e.g. peer_ip=0.0.0.0/0). | |||||
* | vici: Match subnets and ranges against peer IP in redirect command | Tobias Brunner | 2016-03-04 | 2 | -12/+42 | |
| | ||||||
* | vici: Match identity with wildcards against remote ID in redirect command | Tobias Brunner | 2016-03-04 | 2 | -5/+9 | |
| | ||||||
* | vici: Add redirect command | Tobias Brunner | 2016-03-04 | 5 | -0/+150 | |
| | | | | | This allows redirecting IKE_SAs by multiple different selectors, if none are given all SAs are redirected. | |||||
* | libhydra: Remove empty unused library | Tobias Brunner | 2016-03-03 | 1 | -1/+0 | |
| | ||||||
* | libhydra: Move kernel interface to libcharon | Tobias Brunner | 2016-03-03 | 1 | -1/+0 | |
| | | | | This moves hydra->kernel_interface to charon->kernel. | |||||
* | vici: Provide ports of local and remote IKE endpoints | Tobias Brunner | 2016-03-03 | 2 | -2/+9 | |
| | ||||||
* | vici: Correctly document 'up' key for updown events | Tobias Brunner | 2016-03-01 | 1 | -4/+4 | |
| | | | | Instead of sending 'no' it is omitted when an SA goes down. | |||||
* | vici: Support multiple named raw ublic keys | Andreas Steffen | 2016-01-10 | 1 | -15/+19 | |
| | ||||||
* | swanctl: Load pubkeys with load-creds | Andreas Steffen | 2016-01-09 | 1 | -6/+7 | |
| | ||||||
* | vici: list-cert sends subject, not-before and not-after attributes for pubkeys | Andreas Steffen | 2016-01-09 | 2 | -1/+28 | |
| | ||||||
* | vici: Support of raw public keys | Andreas Steffen | 2016-01-09 | 5 | -9/+60 | |
| | ||||||
* | vici: Enable transport encoding of CERT_TRUSTED_PUBKEY objects | Andreas Steffen | 2016-01-03 | 1 | -5/+8 | |
| | ||||||
* | vici: Use correct constant when checking for integrity algorithm | Tobias Brunner | 2015-12-21 | 1 | -1/+1 | |
| | | | | Currently both have the value 1024 so no real harm done. | |||||
* | vici: CHILD_SA proposals never contain a PRF | Tobias Brunner | 2015-12-21 | 1 | -5/+0 | |
| | ||||||
* | vici: allow legacy shortcuts in cert queries | Andreas Steffen | 2015-12-19 | 1 | -10/+14 | |
| | ||||||
* | Use 128 bit security in README.pod examples | Andreas Steffen | 2015-12-18 | 1 | -4/+4 | |
| | ||||||
* | Improvements to the VICI Perl bindings by Andreas Hofmeister | Andreas Hofmeister | 2015-12-18 | 4 | -189/+127 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Switch.pm, which was implemented as a source filter, has been deprecated in Perl 5.10 and was later removed from the core modules in Perl 5.14 or so. Unfortunately, its replacement, the given/when/default construct, has since been downgraded to "experimental" status because of problems with the underlying "smart-match" operator. Thus, as of Perl 5.22, Perl still has no actually usable "switch"-like construct. So just use boring, old and ugly "if/elsif/else" constructs instead, which are compatible with almost any Perl version. - None of the Perl modules here does anything that would require "AutoLoader". - "Exporter" can be used to export plain functions into another modules name space. But the things that were exported here are meant to be called as methods. In this case, it is neither necessary nor advisable to export those symbols. Just export nothing (the POD documentation already said so). - It is usually the calling script that enables (or does not enable) warnings globally. When a module says "use warnings;" however, the caller looses control over what warnings should be enabled in that module. | |||||
* | Apply pubkey and signature constraints in vici plugin | Andreas Steffen | 2015-12-17 | 1 | -1/+5 | |
| | ||||||
* | Refactored certificate management for the vici and stroke interfaces5.4.0dr1 | Andreas Steffen | 2015-12-12 | 5 | -88/+64 | |
| | ||||||
* | Modified vici_cert_info class for use with load_creds and vici_cred | Andreas Steffen | 2015-12-11 | 2 | -59/+31 | |
| | ||||||
* | Removed VICI protocol versioning | Andreas Steffen | 2015-12-11 | 5 | -88/+0 | |
| | ||||||
* | Share vici_cert_info.c with vici_cred.c | Andreas Steffen | 2015-12-11 | 3 | -37/+35 | |
| | ||||||
* | Use VICI 2.0 protocol version for certificate queries | Andreas Steffen | 2015-12-11 | 4 | -52/+159 | |
| | ||||||
* | Sort certificate types during enumeration | Andreas Steffen | 2015-12-11 | 1 | -39/+205 | |
| | ||||||
* | Define VICI protocol versions | Andreas Steffen | 2015-12-11 | 5 | -0/+88 | |
| | ||||||
* | vici: Don't report memory usage via leak-detective | Tobias Brunner | 2015-12-11 | 1 | -17/+0 | |
| | | | | | This slowed down the `swanctl --stats` calls in the test scenarios significantly, with not much added value. | |||||
* | vici: Fix documentation about the initiate/terminate timeout | Martin Willi | 2015-12-07 | 1 | -2/+2 | |
| | ||||||
* | vici: Honor an optionally passed IKE configuration name in initiate/install | Martin Willi | 2015-12-07 | 2 | -5/+13 | |
| | | | | | | | If two IKE configurations have CHILD configurations with the same name, we have no control about the CHILD_SA that actually gets controlled. The new "ike" parameter specifies the peer config name to find the "child" config under. | |||||
* | vici: Support completely asynchronous initiating and termination | Martin Willi | 2015-12-07 | 2 | -5/+23 | |
| | | | | | | In some situations the vici client is not interested in waiting for a timeout at all, so don't register a logging callback if the timeout argument is negative. | |||||
* | vici: Use an empty local auth round if none given | Martin Willi | 2015-12-07 | 1 | -3/+2 | |
| | | | | | While it hardly makes sense to use none for negotiated SAs, it actually does when installing shunt policies. |