Tobias Brunner
36c1cb4f8c
Use Botan 3.7.1 for tests
2025-02-05 14:14:40 +01:00
Tobias Brunner
b0fcae3ea1
testing: Ignore errors when dumping our routing table
...
Some scenarios disable route installation and if they are executed before
any scenarios that don't, there won't be a rule for table 220 and we get
"FIB table does not exist" errors.
2024-12-11 15:18:09 +01:00
Tobias Brunner
3babf1f710
vici: Update Python build
...
Directly calling setup.py is deprecated (apparently has been for a while,
but now we get large warnings). Direct installation is also discouraged.
So this removes that option. The built wheel (the old egg format is not
used/built anymore) can be installed manually in a venv or the like.
2024-12-11 15:18:09 +01:00
Andreas Steffen
24a9c32a43
testing: Include ML-KEM crypto tests rw-cert scenario
2024-12-06 14:39:20 +01:00
Tobias Brunner
832c811598
testing: Use a single scp command to restore defaults
...
This is a bit faster than two sequential calls.
2024-12-03 08:43:45 +01:00
Tobias Brunner
3615e907f5
testing: Improve replacing IP addresses in test files
...
There are a lot of files without patterns and running them all through
sed is quite slow. Using grep first makes this quicker (about 0.5s per
test). Ignoring PEM files is also helpful.
2024-12-03 08:43:45 +01:00
Tobias Brunner
1c053bc3f0
testing: Log timestamps relative to the start of the test
...
Makes it easier to compare multiple runs against each other.
2024-12-03 08:43:45 +01:00
Tobias Brunner
9e88c3f32e
testing: Collect test results with an on-guest script in parallel
...
In particular the swanctl calls all take a while and this allows doing
them in parallel if multiple hosts are involved. This reduces the runtime
of each test by 1-3 seconds.
2024-12-03 08:43:45 +01:00
Tobias Brunner
b3a72c7994
testing: Use an on-guest script to cleanup/initialize and run them in parallel
...
This is a bit quicker than doing this with separate SSH calls for each
host sequentially (up to half a second per test).
2024-12-03 08:43:45 +01:00
Tobias Brunner
c8cfeeff54
testing: Always use immediate mode for tcpdump
...
We don't use versions that don't support this anymore and sometimes the
detection didn't work properly and a run without it would get started.
2024-12-03 08:43:45 +01:00
Andreas Steffen
c86f709b4b
Version bump to 6.0.0
2024-12-02 14:21:53 +01:00
Andreas Steffen
4de6bb3feb
Version bump to 6.0.0rc2
2024-11-26 08:21:20 +01:00
Tobias Brunner
17bc5166d4
Fixed some typos, courtesy of codespell
2024-11-25 12:06:54 +01:00
Tobias Brunner
7e310e3425
testing: Make timing for TKM rekey scenarios a bit more stable
...
In particular for the first one randomization could trigger an additional
rekeying, which let the "Adding ESA ..." check fail. But even without
randomization (could be seen in the second scenario that already uses
`rand_time=0`) 4 seconds can apparently be too low some time.
2024-11-25 11:44:04 +01:00
Andreas Steffen
af28aac85f
Version bump to 6.0.0rc1
2024-11-25 11:11:17 +01:00
Andreas Steffen
2c18e87b25
testing: Added ML-KEM test cases
2024-11-23 16:53:02 +01:00
Andreas Steffen
def312d200
testing: Fixed typos
2024-11-23 15:06:37 +01:00
Andreas Steffen
6735c3d7ca
Define new default plugins
2024-11-22 14:14:53 +01:00
Andreas Steffen
558529afe2
testing: Migrated wolfssl scenarios
2024-11-22 14:14:53 +01:00
Andreas Steffen
2e4c062512
testing: Migrated tnc scenarios to new default plugins
2024-11-22 14:14:53 +01:00
Andreas Steffen
11bb0a73b8
testing: Migrated tkm scenarios to new default plugins
2024-11-22 14:14:53 +01:00
Andreas Steffen
89acb24bd7
testing: Migrated sql scenarios to new default plugins
2024-11-22 14:14:53 +01:00
Andreas Steffen
b891da52b4
testing: Migrated route-based scenarios to new default plugins
2024-11-22 14:14:53 +01:00
Andreas Steffen
8fc6340c05
testing: Migrated pfkey scenarios to new default plugins
2024-11-22 14:14:53 +01:00
Andreas Steffen
93b6162d74
testing: Migrated p2pnat scenarios to new default plugins
2024-11-22 14:14:53 +01:00
Andreas Steffen
bd93dfb09b
testing: Migrated libipsec scenarios to new default plugins
2024-11-22 14:14:53 +01:00
Andreas Steffen
0cf08b45dd
testing: Migrated ha scenarios to new default plugins
2024-11-22 14:14:53 +01:00
Andreas Steffen
dc69cf2f65
testing: Migrated gcrypt-ikev2 scenarios
2024-11-22 14:14:53 +01:00
Andreas Steffen
b9e5764b75
testing: Migrated botan scenarios
2024-11-22 14:14:53 +01:00
Andreas Steffen
17e0f20f57
testing: Migrated af-alg scenarios
2024-11-22 14:14:53 +01:00
Andreas Steffen
fdc9e69523
testing: Migrated ike scenarios to new default plugins
2024-11-22 14:14:53 +01:00
Andreas Steffen
6ae40ac581
testing: Migrated ikev1-stroke to new default plugins
2024-11-22 14:14:53 +01:00
Andreas Steffen
950d4fe7a0
testing: Migrated ikev2-stroke scenarios to new default plugins
2024-11-22 14:14:53 +01:00
Andreas Steffen
2dbcb15338
testing: Migrated ipv6-stroke scenarios to new default plugins
2024-11-22 14:14:53 +01:00
Andreas Steffen
38bacea63b
testing: Migrated ipv6 scenarios to new default plugins
2024-11-22 14:14:52 +01:00
Andreas Steffen
e7166c342b
testing: Distributed openssl-ikev1 scenarios
2024-11-22 14:14:52 +01:00
Andreas Steffen
c9883d612b
testing: Migrated ikev1-algs scenarios to new default plugins
2024-11-22 14:14:52 +01:00
Andreas Steffen
8060541f53
testing: Migrated ikev1 scenarios to new default plugins
2024-11-22 14:14:52 +01:00
Andreas Steffen
4df94b56c0
testing: Distributed openssl-ikev2 scenarios
2024-11-22 14:14:52 +01:00
Andreas Steffen
f766a7ed49
testing: Migrated ikev2-algs scenarios to new default plugins
2024-11-22 14:14:52 +01:00
Andreas Steffen
2099a52618
testing: Migrated ikev2 scenarios to new default plugins
2024-11-22 14:14:52 +01:00
Andreas Steffen
1265d78cac
ntru: Remove legacy NTRU key exchange method
2024-11-22 14:05:36 +01:00
Andreas Steffen
8e3a373e18
newhope: Remove legacy Newhope key exchange method
2024-11-22 14:05:36 +01:00
Andreas Steffen
4833f29b15
bliss: Remove legacy BLISS signatures
2024-11-22 14:05:36 +01:00
Tobias Brunner
d14bb3881b
botan: Add support for ML-KEM
2024-11-22 14:03:17 +01:00
Tobias Brunner
974f9c37df
Use Botan 3.6.1 for tests
...
With 3.6.0 support for ML-KEM was added.
2024-11-22 14:03:17 +01:00
Tobias Brunner
1bb6f1dd73
wolfssl: Add support for ML-KEM
2024-11-22 14:03:17 +01:00
Tobias Brunner
307dea6b5f
Use wolfSSL 5.7.4 for tests
...
This adds support for ML-KEM etc.
2024-11-22 14:03:17 +01:00
Tobias Brunner
2b1885b892
testing: Add TKM scenarios with multiple key exchanges
2024-09-19 14:39:13 +02:00
Stefan Berghofer
7975a0cfa4
charon-tkm: Adapt to interface changes to support multiple key exchanges
...
Also includes ESA flags.
Co-authored-by: Tobias Brunner <tobias@strongswan.org>
2024-09-19 14:39:13 +02:00