Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | testing: Record strongSwan version when building from source tree | Tobias Brunner | 2015-11-09 | 1 | -0/+11 | |
| | ||||||
* | testing: Report time required for all scenarios on test overview page | Tobias Brunner | 2015-11-09 | 1 | -4/+13 | |
| | ||||||
* | testing: Remove old SWID tags when building from repository | Tobias Brunner | 2015-11-09 | 1 | -0/+3 | |
| | | | | This fixes the TNC-PDP scenarios. | |||||
* | testing: Don't log anything to the console if auth.log or daemon.log do not ↵ | Tobias Brunner | 2015-11-09 | 1 | -2/+2 | |
| | | | | exist | |||||
* | testing: Simplify fetching of swanctl --list-* output | Tobias Brunner | 2015-11-09 | 1 | -20/+8 | |
| | ||||||
* | testing: Don't run redundant crypto tests in sql/rw-cert scenario | Tobias Brunner | 2015-11-09 | 1 | -4/+1 | |
| | | | | | They run in all other rw-cert scenarios but in the SQL version there is no change in the loaded crypto plugins. | |||||
* | testing: Fix CRL URIs in ipv6/net2net-ip4-in-ip6-ikev* scenarios | Tobias Brunner | 2015-11-09 | 2 | -2/+2 | |
| | ||||||
* | testing: Speed up OCSP scenarios | Tobias Brunner | 2015-11-09 | 3 | -4/+4 | |
| | | | | | Don't make clients wait for the TCP connections to timeout by dropping packets. By rejecting them the OCSP requests fail immediately. | |||||
* | testing: Speed up ifdown calls in ikev2/mobike scenarios | Tobias Brunner | 2015-11-09 | 3 | -1/+13 | |
| | | | | | | ifdown calls bind's rndc, which tries to access TCP port 953 on lo. If these packets are dropped by the firewall we have to wait for the TCP connections to time out, which takes quite a while. | |||||
* | testing: Avoid delays with ping by using -W and -i options | Tobias Brunner | 2015-11-09 | 33 | -55/+55 | |
| | | | | | | With -W we reduce timeouts when we don't expect a response. With -i the interval between pings is reduced (mostly in case of auto=route where the first ping yields no reply). | |||||
* | testing: Remove nearly all sleep calls from pretest and posttest scripts | Tobias Brunner | 2015-11-09 | 303 | -452/+500 | |
| | | | | | By consistently using the `expect-connection` helper we can avoid pretty much all previously needed calls to sleep. | |||||
* | testing: Adapt tests to retransmission settings and reduce DPD delay/timeout | Tobias Brunner | 2015-11-09 | 26 | -43/+43 | |
| | ||||||
* | testing: Only send two retransmits after 1 second each to fail negative ↵ | Tobias Brunner | 2015-11-09 | 1 | -0/+6 | |
| | | | | tests earlier | |||||
* | testing: Add a base strongswan.conf file used by all hosts in all scenarios | Tobias Brunner | 2015-11-09 | 2 | -0/+2 | |
| | | | | | | We will use this to set some defaults (e.g. timeouts to make testing negative tests quicker). We don't want these settings to show up in the configs of the actual scenarios though. | |||||
* | testing: Add libipsec/net2net-null scenario | Tobias Brunner | 2015-11-09 | 11 | -0/+1245 | |
| | ||||||
* | testing: BLISS CA uses SHA-3 in its CRL | Andreas Steffen | 2015-11-03 | 8 | -5/+9 | |
| | ||||||
* | testing: Update tkm to version 0.1.3 | Tobias Brunner | 2015-10-30 | 1 | -1/+1 | |
| | | | | | | Adds XFRM state/policy flush when terminating which caused tests to fail due to the check added with 9086f060d35a ("testing: Let test scenarios fail if IPsec SAs or policies are not removed"). | |||||
* | testing: Actually send an uncompressed packet in the ipv6/rw-compress-ikev2 ↵ | Tobias Brunner | 2015-10-06 | 1 | -1/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | scenario The default of 56 bytes already exceeds the threshold of 90 bytes (8 bytes ICMP + 40 bytes IPv6 = 104 bytes). By reducing the size we make sure the packet is not compressed (40 + 8 + 40 = 88). This also fixes a strange failure of this scenario due to the recently added post-test `ip xfrm state` check. The kernel stores a reference to the used SAs on the inbound skbuffs and since these are garbage collected it could take a while until all references to an SA disappear and the SA is finally destroyed. But while SAs might not get destroyed immediately when we delete them, they are actually marked as dead and therefore won't show up in `ip xfrm state`. However, that's not the case for the tunnel SAs the kernel attaches to IPComp SAs, which we don't explicitly delete, and which aren't modified by the kernel until the IPComp SA is destroyed. So what happened when the last ping unintentionally got compressed is that the skbuff had a reference to the IPComp SA and therefore the tunnel SA. This skbuff often was destroyed after the `ip xfrm state` check ran and because the tunnel SA would still get reported the test case failed. | |||||
* | testing: added ikev2/alg-chacha20poly1305 scenario | Andreas Steffen | 2015-09-01 | 9 | -0/+106 | |
| | ||||||
* | testing: update to Linux 4.2 kernel | Andreas Steffen | 2015-09-01 | 3 | -4/+4471 | |
| | ||||||
* | testing: Updated environment variable documentation in updown scripts | Tobias Brunner | 2015-08-31 | 14 | -14/+126 | |
| | ||||||
* | Added some spaces in swanctl.conf | Andreas Steffen | 2015-08-25 | 2 | -8/+8 | |
| | ||||||
* | testing: Let test scenarios fail if IPsec SAs or policies are not removed | Tobias Brunner | 2015-08-21 | 1 | -0/+18 | |
| | | | | | The IKE daemon should delete all installed SAs and policies when everything works properly, so we fail the test if that's not the case. | |||||
* | testing: Flush state and policies before every scenario | Tobias Brunner | 2015-08-21 | 1 | -0/+8 | |
| | | | | Similar to conntrack we make sure we are working on a clean slate. | |||||
* | testing: Fix typo in p2pnat/behind-same-nat scenario | Tobias Brunner | 2015-08-21 | 1 | -2/+2 | |
| | ||||||
* | testing: Add missing sim_files file to ikev2/rw-eap-sim-radius scenario | Tobias Brunner | 2015-08-21 | 1 | -0/+3 | |
| | ||||||
* | testing: alice is RADIUS server in the ikev2/rw-eap-sim-radius scenario | Tobias Brunner | 2015-08-21 | 1 | -0/+4 | |
| | ||||||
* | testing: Print triplets.dat files of clients in EAP-SIM scenarios | Tobias Brunner | 2015-08-21 | 4 | -0/+7 | |
| | | | | References #1078. | |||||
* | testing: Add ikev2/trap-any scenario | Tobias Brunner | 2015-08-19 | 17 | -0/+181 | |
| | ||||||
* | Extend HCD attribute data for tnc/tnccs-20-hcd-eap scenario | Andreas Steffen | 2015-08-18 | 2 | -16/+45 | |
| | ||||||
* | Added reason string support to HCD IMV | Andreas Steffen | 2015-08-18 | 1 | -7/+10 | |
| | ||||||
* | Fixed patches format delimited by CR/LF | Andreas Steffen | 2015-08-18 | 4 | -50/+50 | |
| | ||||||
* | testing: Added tnc/tnccs-20-hcd-eap scenario | Andreas Steffen | 2015-08-18 | 24 | -0/+674 | |
| | ||||||
* | testing: enable HCD IMC and IMV | Andreas Steffen | 2015-08-18 | 1 | -0/+2 | |
| | ||||||
* | testing: Update AAA certificate on Freeradius as well | Andreas Steffen | 2015-08-05 | 2 | -42/+42 | |
| | ||||||
* | testing: Updated expired AAA server certificate | Andreas Steffen | 2015-08-04 | 9 | -88/+115 | |
| | ||||||
* | testing: Don't run do-tests when hosts are not running | Tobias Brunner | 2015-08-03 | 1 | -0/+1 | |
| | | | | | | running_any is satisfied if at least one host is running. We could easily add a running_all() helper to check if all hosts are running if it turns out that's not strong enough. | |||||
* | testing: Suppress errors when checking for running hosts | Tobias Brunner | 2015-08-03 | 1 | -1/+1 | |
| | | | | | If libvirt is not running virsh can't connect to it and will complain that the socket does not exist. | |||||
* | testing: Adapted ha/both-active scenario to new jhash values | Andreas Steffen | 2015-07-31 | 6 | -8/+11 | |
| | ||||||
* | testing: Fix initial kernel build | Tobias Brunner | 2015-07-31 | 1 | -2/+2 | |
| | | | | | | The directory does not exist yet if the kernel was never built. Fixes: a4a13d0be29b ("testing: Extract and patch each kernel version only once") | |||||
* | testing: Regenerated BLISS certificates due to oracle changes | Andreas Steffen | 2015-07-27 | 7 | -0/+0 | |
| | ||||||
* | testing: Updated loop ca certificates | Andreas Steffen | 2015-07-22 | 12 | -25/+77 | |
| | ||||||
* | testing: Added swanctl --list-authorities output to do-tests | Andreas Steffen | 2015-07-22 | 1 | -1/+5 | |
| | ||||||
* | testing: Updated all swanctl scenarios and added some new ones | Andreas Steffen | 2015-07-22 | 102 | -104/+1744 | |
| | ||||||
* | tests: Introduced IPV6 flag in tests.conf | Andreas Steffen | 2015-07-21 | 20 | -1/+77 | |
| | ||||||
* | tests: Introduced SWANCTL flag in test.conf | Andreas Steffen | 2015-07-21 | 9 | -23/+57 | |
| | ||||||
* | tests: fixed evaltest of swanctl/rw-cert scenario | Andreas Steffen | 2015-07-21 | 1 | -2/+2 | |
| | ||||||
* | tests: fixed description of swanctl ip-pool scenarios | Andreas Steffen | 2015-07-21 | 2 | -9/+8 | |
| | ||||||
* | testing: Do not attempt to start the test environment if hosts are still running | Tobias Brunner | 2015-07-15 | 1 | -0/+1 | |
| | ||||||
* | testing: Enable AESNI/PCLMULQD in moon/sun guests, if supported | Martin Willi | 2015-07-12 | 2 | -0/+10 | |
| |