testing: Add libipsec scenarios that exchange raw ESP packets

This commit is contained in:
Tobias Brunner
2023-05-23 13:19:47 +02:00
parent e306fa5f73
commit 5db9b26e32
44 changed files with 825 additions and 2 deletions
@@ -0,0 +1,11 @@
moon::iptables-restore < /etc/iptables.rules
sun::iptables-restore < /etc/iptables.rules
alice::"ip route add fec2:\:/16 via fec1:\:1"
moon::"ip route add fec2:\:/16 via fec0:\:2"
sun::"ip route add fec1:\:/16 via fec0:\:1"
bob::"ip route add fec1:\:/16 via fec2:\:1"
moon::systemctl start strongswan
sun::systemctl start strongswan
moon::expect-connection gw-gw
sun::expect-connection gw-gw
moon::swanctl --initiate --child net-net 2> /dev/null