testing/pluto/newoe-18-poc-cop-port-7-transport/03-road-run.sh
raw| 1 | # use a static source port just to prevent false positive on larval state port |
| 2 | echo TRIGGER-OE | socat - TCP:192.1.2.23:7,bind=192.1.3.209,sourceport=42599 |
| 3 | # should show tunnel and no shunts, and non-zero traffic count |
| 4 | # workaround for diff err msg between fedora versions resulting in diff byte count |
| 5 | ipsec whack --trafficstatus | grep -v "inBytes=0" | sed "s/type=ESP.*$/[...]/" |
| 6 | ipsec whack --shuntstatus |
| 7 | echo done |