Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |
| | ||||||
* | stroke: List DH groups for CHILD_SA proposals | Tobias Brunner | 2015-12-21 | 1 | -23/+19 | |
| | | | | Closes strongswan/strongswan#23. | |||||
* | 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 | 2 | -115/+7 | |
| | ||||||
* | 128 bit default security strength for IKE and ESP algorithms | Andreas Steffen | 2015-12-17 | 1 | -40/+140 | |
| | | | | | | | | | | | | | | | | | The default ESP cipher suite is now AES_CBC-128/HMAC_SHA2_256_128 and requires SHA-2 HMAC support in the Linux kernel (correctly implemented since 2.6.33). The default IKE cipher suite is now AES_CBC-128/HMAC_SHA2_256_128/PRF_HMAC_SHA2_256/ECP_256 if the openssl plugin is loaded or AES_CBC-128/HMAC_SHA2_256_128/PRF_HMAC_SHA2_256/MODP_3072 if ECC is not available. The use of the SHA-1 hash algorithm and the MODP_2048 DH group has been deprecated and ENCR_CHACHA20_POLY1305 has been added to the default IKE AEAD algorithms. | |||||
* | Refactored certificate management for the vici and stroke interfaces5.4.0dr1 | Andreas Steffen | 2015-12-12 | 6 | -216/+93 | |
| | ||||||
* | 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. | |||||
* | Standardized printing of certificate information | Andreas Steffen | 2015-12-11 | 1 | -445/+68 | |
| | | | | | | | The certificate_printer class allows the printing of certificate information to a text file (usually stdout). This class is used by the pki --print and swanctl --list-certs commands as well as by the stroke plugin. | |||||
* | 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. | |||||
* | vici: Limit start action undoing to IKE_SAs using the base peer config name | Martin Willi | 2015-12-07 | 1 | -3/+7 | |
| | | | | | If two peer configs use the same child config names, potentailly delete the wrong CHILD_SA. Check the peer config name as well to avoid that. | |||||
* | vici: Close empty IKE_SAs after undoing CHILD_SA start actions | Martin Willi | 2015-12-07 | 1 | -6/+44 | |
| | ||||||
* | vici: Use value based array to store CHILD_SA ids during restart | Martin Willi | 2015-12-07 | 1 | -5/+6 | |
| | | | | | The previous approach stored a pointer to a volatile stack variable, which works for a single ID, but not for multiple. | |||||
* | vici: Undo start actions when unloading configs | Martin Willi | 2015-12-07 | 1 | -0/+1 | |
| | ||||||
* | vici: Fix clean-local target for Perl bindings if they were not built | Tobias Brunner | 2015-12-04 | 1 | -1/+1 | |
| | | | | | This is called when running `make distclean` (or indirectly via `make distcheck`). | |||||
* | Extended and refactored vici perl implementation | Andreas Steffen | 2015-12-01 | 3 | -80/+121 | |
| | ||||||
* | Built the CPAN file structure for the Vici::Session perl module | Andreas Steffen | 2015-12-01 | 15 | -72/+1038 | |
| | ||||||
* | Implement vici Perl binding | Andreas Steffen | 2015-12-01 | 8 | -0/+559 | |
| | ||||||
* | vici: Add get-algorithms command to query loaded algorithms and implementations | Tobias Brunner | 2015-11-30 | 2 | -0/+116 | |
| | ||||||
* | eap-radius: Add ability to configure RADIUS retransmission behavior | Thom Troy | 2015-11-17 | 1 | -2/+58 | |
| | | | | Closes strongswan/strongswan#19. | |||||
* | eap-mschapv2: Keep internal state to prevent authentication from succeeding ↵ | Tobias Brunner | 2015-11-16 | 1 | -24/+67 | |
| | | | | | | | | | prematurely We can't allow a client to send us MSCHAPV2_SUCCESS messages before it was authenticated successfully. Fixes CVE-2015-8023. | |||||
* | vici: Attribute certificates are not trusted | Tobias Brunner | 2015-11-12 | 1 | -1/+3 | |
| | ||||||
* | vici: Properly add CRLs to the credential set | Tobias Brunner | 2015-11-12 | 1 | -2/+8 | |
| | | | | add_crl() ensures that old CLRs are not stored in the credential set. | |||||
* | mode-config: Reassign migrated virtual IP if client requests %any | Tobias Brunner | 2015-11-12 | 1 | -1/+3 | |
| | | | | | | | | | If we mistakenly detect a new IKE_SA as a reauthentication the client won't request the previous virtual IP, but since we already migrated it we already triggered the assign_vips() hook, so we should reassign the migrated virtual IP. Fixes #1152. | |||||
* | eap-radius: Compare address family when handing out virtual IPs | Tobias Brunner | 2015-11-12 | 1 | -6/+26 | |
| | | | | | | | This also ensures that the actually released virtual IP is removed from the list of claimed IPs. Fixes #1199. | |||||
* | eap-mschapv2: Report username if different from EAP-Identity (or IKE identity) | Tobias Brunner | 2015-11-12 | 1 | -1/+4 | |
| | ||||||
* | eap-mschapv2: Provide EAP-MSCHAPv2 username as EAP-Identity | Tobias Brunner | 2015-11-12 | 1 | -2/+17 | |
| | ||||||
* | android: Fix build after updating Linux headers | Tobias Brunner | 2015-11-12 | 1 | -1/+0 | |
| | | | | | | | | Since we don't use the kernel-netlink plugin anymore and the headers in the NDK are reasonably recent, we don't need this anymore (at least when building the app). Fixes #1172. | |||||
* | ike-sa-manager: Allow plugins to provide IKE SPIs via a callback | Tobias Brunner | 2015-11-11 | 2 | -11/+54 | |
| | | | | | Plugins must depend on `libcharon-sa-managers` to ensure the manager exists. | |||||
* | libcharon: Publish IKE_SA/CHILD_SA managers as custom plugin feature | Tobias Brunner | 2015-11-11 | 1 | -11/+29 | |
| | ||||||
* | ikev1: Also use message hashes for Quick Mode for the early retransmission check | Tobias Brunner | 2015-11-11 | 1 | -4/+8 | |
| | | | | | | | | | | We already did so during Phase 1 but because all three Quick Mode message have the same message ID we occasionally dropped the third message as retransmit, so we do it there too. For INFORMATIONAL and TRANSACTION exchanges we don't expect more than one inbound message with the same message ID so we still use them there. Fixes #1198. | |||||
* | kernel-interface: Pass the same data to del_policy() that was passed to ↵ | Tobias Brunner | 2015-11-10 | 5 | -107/+119 | |
| | | | | | | | add_policy() The additional data can be helpful to identify the exact policy to delete. | |||||
* | trap-manager: Also clean up remote address in error cases | Tobias Brunner | 2015-11-10 | 1 | -0/+2 | |
| | | | | Fixes #1201. | |||||
* | traffic-selector: Don't end printf'ed list of traffic selectors with a space | Tobias Brunner | 2015-11-10 | 9 | -14/+14 | |
| | ||||||
* | vici: Add option to query leases of pools | Tobias Brunner | 2015-11-10 | 2 | -3/+36 | |
| | | | | | We could later perhaps add filter parameters similar to those of the `ipsec leases` command (pool name/virtual IP). |