File: roadrun.sh

package info (click to toggle)
libreswan 5.2-2.3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 81,644 kB
  • sloc: ansic: 129,988; sh: 32,018; xml: 20,646; python: 10,303; makefile: 3,022; javascript: 1,506; sed: 574; yacc: 511; perl: 264; awk: 52
file content (12 lines) | stat: -rwxr-xr-x 490 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
# Should succeed if it can check all pubkeys received via DNS
ipsec whack --oppohere 192.1.3.209 --oppothere 192.1.2.66
grep "DNS QUESTION" /tmp/pluto.log
# should show large set of keys in pluto cache from IPSECKEY records
ipsec whack --listpubkeys
# should show established tunnel and no bare shunts
# ping should succeed through tunnel
../../guestbin/ping-once.sh --up -I 192.1.3.209 192.1.2.66
ipsec whack --trafficstatus
ipsec whack --shuntstatus
ipsec whack --trafficstatus
echo done