testing: Add per-CPU SA test scenario

This commit is contained in:
Tobias Brunner committed 2025-05-28 16:35:27 +02:00
1 parent e24edb2991
commit bf34484d24
9 files changed
+227

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
sun::iptables-restore < /etc/iptables.rules
moon::iptables-restore < /etc/iptables.rules
sun::systemctl start strongswan
moon::systemctl start strongswan
sun::expect-connection gw-gw
moon::expect-connection gw-gw
# triggering packet apparently goes via lo
moon::iptables -A OUTPUT -o lo -d 10.2.0.0/16 -j ACCEPT
# trigger the creation of the fallback SA, use -I so no UDP socket is used to
# determine the source address and trigger the acqurie (this packet is lost)
moon::ping -c 1 -W 1 -I PH_IP_MOON1 PH_IP_BOB