Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | kernel-interface: Raise expires with a proto/SPI/dst tuple instead of reqid | Martin Willi | 2015-02-20 | 1 | -3/+3 |
| | |||||
* | controller: Use the CHILD_SA unique_id to terminate CHILD_SAs | Martin Willi | 2015-02-20 | 1 | -1/+1 |
| | |||||
* | stroke: List CHILD_SA unique ID as the primary identifier, but print reqid, too | Martin Willi | 2015-02-20 | 1 | -5/+6 |
| | |||||
* | Implemented full BLISS support for IKEv2 public key authentication and the ↵ | Andreas Steffen | 2014-11-29 | 2 | -5/+19 |
| | | | | pki tool | ||||
* | stroke: Add support for address range definitions of in-memory pools | Tobias Brunner | 2014-10-30 | 1 | -7/+33 |
| | |||||
* | stroke: Allow specifying the ipsec.secrets location in strongswan.conf | Shea Levy | 2014-10-02 | 1 | -2/+10 |
| | |||||
* | stroke: Don't log unspecified options of conn and ca sections | Tobias Brunner | 2014-06-30 | 1 | -37/+50 |
| | |||||
* | starter: Add a replay_window connection option | Martin Willi | 2014-06-17 | 1 | -0/+4 |
| | |||||
* | plugins: Don't link with -rdynamic on Windows | Martin Willi | 2014-06-04 | 1 | -1/+1 |
| | |||||
* | ike: Add an additional but separate AEAD proposal to CHILD config | Martin Willi | 2014-05-16 | 1 | -0/+1 |
| | | | | | | | This currently has no effect: We don't include AEAD algorithms in the default ESP proposal, as we don't know if it is supported by the backend. But as we hopefully get an algorithm query mechanism on kernel interfaces some day, we add the appropriate functionality nonetheless. | ||||
* | ike: Add an additional but separate AEAD proposal to IKE config, if supported | Martin Willi | 2014-05-16 | 1 | -0/+1 |
| | |||||
* | enum: Return boolean result for enum_from_name() lookup | Martin Willi | 2014-05-16 | 1 | -2/+1 |
| | | | | | | | | | | | Handling the result for enum_from_name() is difficult, as checking for negative return values requires a cast if the enum type is unsigned. The new signature clearly differentiates lookup result from lookup value. Further, this actually allows to convert real -1 enum values, which could not be distinguished from "not-found" and the -1 return value. This also fixes several clang warnings where enums are unsigned. | ||||
* | stroke: Fix memory leak when printing unknown AC group OIDs | Tobias Brunner | 2014-04-09 | 1 | -0/+1 |
| | |||||
* | x509: Replace fixed acert group string getter by a more dynamic group enumerator | Martin Willi | 2014-03-31 | 1 | -16/+68 |
| | |||||
* | stroke: Use thread-safe dirname(3) | Tobias Brunner | 2014-02-24 | 1 | -6/+4 |
| | |||||
* | stroke: Use dirname(3) correctly | Tobias Brunner | 2014-02-24 | 1 | -5/+5 |
| | |||||
* | stroke: Use proper modifiers to print size_t arguments | Tobias Brunner | 2014-02-18 | 1 | -1/+1 |
| | |||||
* | libcharon: Use lib->ns instead of charon->name | Tobias Brunner | 2014-02-12 | 3 | -6/+6 |
| | |||||
* | stroke: Use chunk_map() instead of non-portable mmap() | Martin Willi | 2014-01-23 | 1 | -30/+6 |
| | |||||
* | chunk: Externalize error reporting in chunk_write() | Martin Willi | 2014-01-23 | 1 | -1/+10 |
| | | | | | This avoids passing that arbitrary label just for error messages, and gives greater flexibility in handling errors. | ||||
* | stroke: Ensure the buffer of strings in a stroke_msg_t is null-terminated | Tobias Brunner | 2014-01-23 | 1 | -2/+5 |
| | | | | | Otherwise a malicious user could send an unterminated string to cause unterminated reads. | ||||
* | stroke: Add an option to prevent log level changes via stroke socket | Tobias Brunner | 2014-01-23 | 1 | -2/+15 |
| | |||||
* | stroke: Fix error message if parsing leftsourceip fails | Tobias Brunner | 2014-01-06 | 1 | -1/+1 |
| | |||||
* | leak-detective: Use callback functions to report leaks and usage information | Martin Willi | 2013-11-06 | 1 | -1/+22 |
| | | | | This is more flexible than printing reports to a FILE. | ||||
* | stroke: Reuse reqids of established CHILD_SAs when routing connections | Tobias Brunner | 2013-10-17 | 1 | -1/+45 |
| | |||||
* | stroke: List proposals in statusall without leading '/' in AH SAs | Martin Willi | 2013-10-11 | 1 | -1/+7 |
| | |||||
* | stroke: Configure proposal with AH protocol if 'ah' option set | Martin Willi | 2013-10-11 | 2 | -11/+16 |
| | |||||
* | stroke: don't remove a matching peer config if used by other child configs | Martin Willi | 2013-09-13 | 1 | -4/+3 |
| | | | | | When configurations get merged during add, we should not remove peer configs if other connection entries use the same peer config. |