Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | ikev2: Apply extensions and conditions before starting rekeying | Martin Willi | 2014-04-17 | 1 | -0/+6 | |
| | | | | | | The extensions and conditions apply to the rekeyed IKE_SA as well, so we should migrate them. Especially when using algorithms from private space, we need EXT_STRONGSWAN to properly select these algorithms during IKE rekeying. | |||||
* | ikev2: Add inherit_pre() to apply config and hosts before IKE_SA rekeying | Martin Willi | 2014-04-17 | 4 | -22/+30 | |
| | ||||||
* | ikev1: Add an option to accept unencrypted ID/HASH payloads | Martin Willi | 2014-04-17 | 1 | -1/+20 | |
| | | | | | | | | | Even in Main Mode, some Sonicwall boxes seem to send ID/HASH payloads in unencrypted form, probably to allow PSK lookup based on the ID payloads. We by default reject that, but accept it if the charon.accept_unencrypted_mainmode_messages option is set in strongswan.conf. Initial patch courtesy of Paul Stewart. | |||||
* | ikev2: Fix reauthentication if peer assigns a different virtual IP | Tobias Brunner | 2014-04-15 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | Before this change a reqid set on the create_child_t task was used as indicator of the CHILD_SA being rekeyed. Only if that was not the case would the local traffic selector be changed to 0.0.0.0/0|::/0 (as we don't know which virtual IP the gateway will eventually assign). On the other hand, in case of a rekeying the VIP is expected to remain the same, so the local TS would simply equal the VIP. Since c949a4d5016e33c5 reauthenticated CHILD_SAs also have the reqid set. Which meant that the local TS would contain the previously assigned VIP, basically rendering the gateway unable to assign a different VIP to the client as the resulting TS would not match the client's proposal anymore. Fixes #553. | |||||
* | Handle tag separators | Andreas Steffen | 2014-04-15 | 1 | -12/+15 | |
| | ||||||
* | swid_generator software-id does not generate empty lines any more | Andreas Steffen | 2014-04-15 | 1 | -5/+0 | |
| | ||||||
* | Added result information to TPMRA workitems | Andreas Steffen | 2014-04-15 | 8 | -62/+94 | |
| | | | | On the occasion got rid of complicated functional component stuff | |||||
* | Indicate IMV in assessment log statement | Andreas Steffen | 2014-04-15 | 1 | -4/+14 | |
| | ||||||
* | Implemented segmented SWID tag attributes on IMV side | Andreas Steffen | 2014-04-15 | 4 | -35/+77 | |
| | ||||||
* | Use python-based swidGenerator to generated SWID tags | Andreas Steffen | 2014-04-15 | 21 | -211/+662 | |
| | ||||||
* | Updated imv database templates | Andreas Steffen | 2014-04-15 | 2 | -14/+15 | |
| | ||||||
* | Optimized PTS measurements | Andreas Steffen | 2014-04-15 | 12 | -294/+132 | |
| | ||||||
* | Use cached pid for product-based package access | Andreas Steffen | 2014-04-15 | 2 | -40/+17 | |
| | ||||||
* | Make Attestation IMV independent of OS IMV | Andreas Steffen | 2014-04-15 | 6 | -41/+136 | |
| | ||||||
* | Separated IMV session management from IMV policy database | Andreas Steffen | 2014-04-15 | 38 | -1343/+1786 | |
| | ||||||
* | Renamed the AIK public key parameter to imc-attestation.aik_pubkey | Andreas Steffen | 2014-04-15 | 1 | -1/+1 | |
| | ||||||
* | Implemented configurable Device ID in OS IMC | Andreas Steffen | 2014-04-15 | 1 | -11/+85 | |
| | ||||||
* | ikev2: Reject CREATE_CHILD_SA exchange on unestablished IKE_SAs | Martin Willi | 2014-04-14 | 1 | -0/+9 | |
| | | | | | | | Prevents a responder peer to trick us into established state by starting IKE_SA rekeying before the IKE_SA has been authenticated during IKE_AUTH. Fixes CVE-2014-2338. | |||||
* | eap-mschapv2: Fix potential leaks in case of invalid messages from servers | Tobias Brunner | 2014-04-09 | 1 | -0/+4 | |
| | ||||||
* | pts: Make sure the complete AIK blob has been read | Tobias Brunner | 2014-04-09 | 1 | -1/+2 | |
| | ||||||
* | attr: Don't shift the 32-bit netmask by 32 | Tobias Brunner | 2014-04-09 | 1 | -3/+6 | |
| | | | | | | | | | | This is undefined behavior as per the C99 standard (sentence 1185): "If the value of the right operand is negative or is greater or equal to the width of the promoted left operand, the behavior is undefined." Apparently shifts may be done modulo the width on some platforms so a shift by 32 would not shift at all. | |||||
* | nm: Fix NULL-pointer dereference when handling TUN device failure | Tobias Brunner | 2014-04-09 | 1 | -1/+0 | |
| | ||||||
* | x509: Don't include authKeyIdentifier in self-signed certificates | Tobias Brunner | 2014-04-09 | 1 | -1/+1 | |
| | | | | | As the comment indicates this was the intention in d7be2906433a7dcfefc1fd732587865688dbfe1b all along. | |||||
* | x509: Initialize certs when building optionalSignature for OCSP requests | Tobias Brunner | 2014-04-09 | 1 | -1/+1 | |
| | ||||||
* | stroke: Fix memory leak when printing unknown AC group OIDs | Tobias Brunner | 2014-04-09 | 1 | -0/+1 | |
| | ||||||
* | pki: Fix memory leak when printing unknown AC group OIDs | Tobias Brunner | 2014-04-09 | 1 | -0/+1 | |
| | ||||||
* | pki: Removed extra continue statement | Tobias Brunner | 2014-04-09 | 1 | -1/+0 | |
| | ||||||
* | Added support for msSmartcardLogon EKU | Andreas Steffen | 2014-04-08 | 6 | -16/+37 | |
| | ||||||
* | Added some more OIDs | Andreas Steffen | 2014-04-08 | 1 | -1/+20 | |
| | ||||||
* | Initialize m1 to suppress compiler warning | Andreas Steffen | 2014-04-07 | 1 | -1/+1 | |
| | ||||||
* | Fixed another dirname/basename refactoring bug. | Andreas Steffen | 2014-04-07 | 1 | -1/+3 | |
| | | | | file was freed before use. | |||||
* | Fixed dirname/basename refactoring bug. | Andreas Steffen | 2014-04-07 | 1 | -11/+10 | |
| | | | | Variables used in a database query have to be kept until the end of the enumeration | |||||
* | Added SHA3 OIDs | Andreas Steffen | 2014-04-04 | 1 | -6/+12 | |
| | ||||||
* | ike-cfg: Properly compare IKE proposals for equality5.1.3rc1 | Tobias Brunner | 2014-04-03 | 1 | -1/+1 | |
| | ||||||
* | leak-detective: LEAK_DETECTIVE_DISABLE completely disables LD | Tobias Brunner | 2014-04-03 | 3 | -17/+23 | |
| | | | | | If lib->leak_detective is non-null some code parts (e.g. the plugin loader) assume LD is actually used. | |||||
* | unit-tests: Verify two bytes at once when testing chunk_clear() | Tobias Brunner | 2014-04-02 | 1 | -3/+6 | |
| | | | | | This reduces the chances of arbitrary test failures if the memory area already got overwritten. | |||||
* | tls: Add a test case to check correct enum name mapping of cipher suites | Martin Willi | 2014-04-01 | 3 | -0/+250 | |
| | ||||||
* | tls: Add socket based tests testing all supported suites with TLS 1.2/1.1/1.0 | Martin Willi | 2014-04-01 | 3 | -0/+527 | |
| | ||||||
* | tls: Remove superfluous initializers in TLS AEAD implementations | Martin Willi | 2014-04-01 | 4 | -4/+0 | |
| | ||||||
* | tls: Support a maximum TLS version to negotiate using TLS socket abstraction | Martin Willi | 2014-04-01 | 5 | -5/+7 | |
| | ||||||
* | tls: Support a null encryption flag on TLS socket abstraction | Martin Willi | 2014-04-01 | 5 | -7/+21 | |
| | ||||||
* | tls: Introduce a generic TLS purpose that accepts NULL encryption ciphers | Martin Willi | 2014-04-01 | 3 | -0/+6 | |
| | ||||||
* | tls: Export a function to list supported TLS cipher suites | Martin Willi | 2014-04-01 | 2 | -18/+66 | |
| | ||||||
* | tls: Create a unit-test runner | Martin Willi | 2014-04-01 | 5 | -0/+93 | |
| | ||||||
* | unit-tests: Catch timeouts during test runner deinit function | Martin Willi | 2014-04-01 | 1 | -6/+18 | |
| | | | | | | The test runner deinit function often cancels all threads from the pool. This operation might hang on error conditions, hence we should include that hook in the test timeout to fail properly. | |||||
* | unit-tests: Prevent a failing worker thread to go wild after it fails | Martin Willi | 2014-04-01 | 1 | -1/+2 | |
| | | | | | | A worker raises SIGUSR1 to inform the main thread that the test fails. The main thread then starts cancelling workers, but the offending thread should be terminated immediately to prevent it from test continuation. | |||||
* | Added Ubuntu 14.04 to IMV database | Andreas Steffen | 2014-03-31 | 1 | -0/+24 | |
| | ||||||
* | unit-tests: Always load address of testable functions | Tobias Brunner | 2014-03-31 | 1 | -1/+1 | |
| | | | | | | | The addresses can actually change as plugins are loaded/unloaded for each test case. Fixes #551. | |||||
* | settings: Reduce log verbosity if strongswan.conf does not exist | Tobias Brunner | 2014-03-31 | 1 | -1/+10 | |
| | | | | | In some situations we expect strongswan.conf to not exist, for instance, when running the unit tests before installation. | |||||
* | test-vectors: Renumber AES-GCM test vectors according to original source | Tobias Brunner | 2014-03-31 | 2 | -16/+100 | |
| | | | | Also adds several missing ones. |