Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | counters: Move IKE event counter collection from stroke to a separate plugin | Tobias Brunner | 2017-11-08 | 5 | -387/+47 |
| | |||||
* | stroke: Don't load configs with invalid proposals | Tobias Brunner | 2017-07-05 | 1 | -7/+20 |
| | | | | References #2347. | ||||
* | linked-list: Change return value of find_first() and signature of its callback | Tobias Brunner | 2017-05-26 | 2 | -10/+8 |
| | | | | This avoids the unportable five pointer hack. | ||||
* | Change interface for enumerator_create_filter() callback | Tobias Brunner | 2017-05-26 | 4 | -82/+105 |
| | | | | | This avoids the unportable 5 pointer hack, but requires enumerating in the callback. | ||||
* | stroke: Make 96-bit truncation for SHA-256 configurable | Tobias Brunner | 2017-05-26 | 2 | -1/+3 |
| | |||||
* | child-cfg: Use flags for boolean options | Tobias Brunner | 2017-05-23 | 2 | -5/+5 |
| | | | | Makes it potentially easier to add new flags. | ||||
* | peer-cfg: Store mediated_by as name and not peer-cfg reference | Tobias Brunner | 2017-02-16 | 1 | -21/+2 |
| | | | | | | | | | This way updates to the mediation config are respected and the order in which configs are configured/loaded does not matter. The SQL plugin currently maintains the strong relationship between mediated and mediation connection (we could theoretically change that to a string too). | ||||
* | stroke: Use peer name as namespace for shunt policies | Tobias Brunner | 2017-02-16 | 1 | -2/+18 |
| | | | | | The same goes for the start-action-job. When unrouting, we search for the first policy with a matching child-cfg. | ||||
* | shunt-manager: Add an optional namespace for each shunt | Tobias Brunner | 2017-02-16 | 2 | -3/+3 |
| | | | | | This will allow us to reuse the names of child configs e.g. when they are defined in different connections. | ||||
* | stroke: Default to %dynamic if no valid TS are specified in left|rightsubnet | Tobias Brunner | 2017-01-25 | 1 | -57/+44 |
| | | | | | | | Otherwise, we'd end up with an empty TS list, which is not valid. Because end->tohost is set to !end->subnets in starter the removed branch was never used. | ||||
* | stroke: Load general PKCS#8 private keys | Andreas Steffen | 2016-12-17 | 2 | -3/+9 |
| | |||||
* | Save both base and delta CRLs to disk | Andreas Steffen | 2016-10-11 | 1 | -1/+5 |
| | |||||
* | vici: strongswan.conf cache_crls = yes saves fetched CRLs to disk | Andreas Steffen | 2016-10-11 | 2 | -2/+6 |
| | |||||
* | xof: Defined Extended Output Functions | Andreas Steffen | 2016-07-29 | 1 | -0/+9 |
| | |||||
* | stroke: Permanently store PINs in credential set | Tobias Brunner | 2016-06-06 | 1 | -12/+35 |
| | | | | | | | This fixes authentication with tokens that require the PIN for every signature. Fixes #1369. | ||||
* | peer-cfg: Use struct to pass data to constructor | Tobias Brunner | 2016-04-09 | 1 | -24/+29 |
| | |||||
* | child-cfg: Use struct to pass data to constructor | Tobias Brunner | 2016-04-09 | 1 | -31/+36 |
| | |||||
* | Use standard unsigned integer types | Andreas Steffen | 2016-03-24 | 5 | -27/+27 |
| | |||||
* | stroke: Correctly print IKE SPIs stored in network order | Tobias Brunner | 2016-03-04 | 1 | -2/+4 |
| | |||||
* | auth-cfg: Make IKE signature schemes configurable | Tobias Brunner | 2016-03-04 | 1 | -3/+4 |
| | | | | | | 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. | ||||
* | libhydra: Remove empty unused library | Tobias Brunner | 2016-03-03 | 1 | -1/+0 |
| | |||||
* | libhydra: Move kernel interface to libcharon | Tobias Brunner | 2016-03-03 | 3 | -7/+3 |
| | | | | This moves hydra->kernel_interface to charon->kernel. | ||||
* | utils: Add enum name for pseudo log group 'any' | Tobias Brunner | 2016-02-05 | 1 | -10/+3 |
| | |||||
* | stroke: List DH groups for CHILD_SA proposals | Tobias Brunner | 2015-12-21 | 1 | -23/+19 |
| | | | | Closes strongswan/strongswan#23. | ||||
* | Apply pubkey and signature constraints in vici plugin | Andreas Steffen | 2015-12-17 | 1 | -114/+2 |
| | |||||
* | Refactored certificate management for the vici and stroke interfaces5.4.0dr1 | Andreas Steffen | 2015-12-12 | 1 | -128/+29 |
| | |||||
* | 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. | ||||
* | traffic-selector: Don't end printf'ed list of traffic selectors with a space | Tobias Brunner | 2015-11-10 | 1 | -3/+3 |
| | |||||
* | stroke: Make down-nb actually non-blocking | Tobias Brunner | 2015-11-09 | 1 | -31/+40 |
| | | | | Fixes #1191. | ||||
* | Explicitly mention SHA2 algorithm in BLISS OIDs and signature schemes | Andreas Steffen | 2015-11-06 | 1 | -3/+3 |
| | |||||
* | ike: Only consider number of half-open SAs as responder when deciding ↵ | Tobias Brunner | 2015-08-27 | 1 | -1/+1 |
| | | | | whether COOKIEs are sent | ||||
* | controller: Optionally adhere to init limits also when initiating IKE_SAs | Tobias Brunner | 2015-08-21 | 1 | -2/+2 |
| | |||||
* | stroke: Allow %any as local address | Tobias Brunner | 2015-08-21 | 1 | -3/+7 |
| | | | | | Actually, resolving addresses in `left` might be overkill as we'll assume left=local anyway (the only difference is the log message). | ||||
* | stroke: Add an option to disable side-swapping of configuration options | Tobias Brunner | 2015-08-21 | 1 | -33/+46 |
| | | | | | In some scenarios it might be preferred to ensure left is always local and no unintended swaps occur. | ||||
* | stroke: Change how CA certificates are stored | Tobias Brunner | 2015-08-20 | 5 | -58/+285 |
| | | | | | | | | | | | Since 11c14bd2f5 CA certificates referenced in ca sections were enumerated by two credential sets if they were also stored in ipsec.d/cacerts. This caused duplicate certificate requests to get sent. All CA certificates, whether loaded automatically or via a ca section, are now stored in stroke_ca_t. Certificates referenced in ca sections are now also reloaded when `ipsec rereadcacerts` is used. | ||||
* | stroke: Combine CA certificate load methods | Tobias Brunner | 2015-08-20 | 1 | -82/+74 |
| | | | | | Also use the right credential set for CA cert references loaded from stroke_ca_t. | ||||
* | stroke: Atomically replace CA and AA certificates when reloading them | Tobias Brunner | 2015-08-20 | 1 | -34/+45 |
| | | | | | Previously it was possible that certificates were not found between the time the credential sets were cleared and the certificates got readded. | ||||
* | stroke: Properly parse bliss key strength in public key constraint | Tobias Brunner | 2015-03-25 | 1 | -1/+1 |
| | |||||
* | child-sa: Add a new state to track rekeyed IKEv1 CHILD_SAs | Tobias Brunner | 2015-03-25 | 1 | -1/+2 |
| | | | | | | This is needed to handle DELETEs properly, which was previously done via CHILD_REKEYING, which we don't use anymore since 5c6a62ceb6 as it prevents reauthentication. | ||||
* | stroke: Use %u to print stats returned by mallinfo(3) | Tobias Brunner | 2015-03-13 | 1 | -1/+1 |
| | | | | References #886. | ||||
* | stroke: Enable BLISS-based public key constraints | Tobias Brunner | 2015-03-04 | 1 | -4/+19 |
| | |||||
* | stroke: Support public key constraints for EAP methods | Martin Willi | 2015-03-03 | 1 | -1/+8 |
| | |||||
* | stroke: Serve ca section CA certificates directly, not over central CA set | Martin Willi | 2015-03-03 | 3 | -5/+85 |
| | | | | | | | This makes these CA certificates independent from the purge issued by reread commands. Certificates loaded by CA sections can be removed through ipsec.conf update/reread, while CA certificates loaded implicitly from ipsec.d/cacerts can individually be reread using ipsec rereadcacerts. | ||||
* | stroke: Purge existing CA/AA certificates during reread | Martin Willi | 2015-03-03 | 1 | -0/+4 |
| | |||||
* | stroke: Use separate credential sets for CA/AA certificates | Martin Willi | 2015-03-03 | 1 | -3/+21 |
| | |||||
* | stroke: Refactor load_certdir function | Martin Willi | 2015-03-03 | 1 | -108/+158 |
| | |||||
* | mem-pool: Pass the remote IKE address, to re-acquire() an address during reauth | Martin Willi | 2015-02-20 | 1 | -6/+7 |
| | | | | | | | | | | | With make-before-break IKEv2 re-authentication, virtual IP addresses must be assigned overlapping to the same peer. With the remote IKE address, the backend can detect re-authentication attempts by comparing the remote host address and port. This allows proper reassignment of the virtual IP if it is re-requested. This change removes the mem-pool.reassign_online option, as it is obsolete now. IPs get automatically reassigned if a peer re-requests the same address, and additionally connects from the same address and port. | ||||
* | attribute-handler: Pass full IKE_SA to handler backends | Martin Willi | 2015-02-20 | 1 | -2/+1 |
| | |||||
* | attribute-provider: Pass full IKE_SA to provider backends | Martin Willi | 2015-02-20 | 1 | -5/+9 |
| | |||||
* | attributes: Move the configuration attributes framework to libcharon | Martin Willi | 2015-02-20 | 1 | -5/+8 |
| |