#!/bin/sh ]0;root@swantest:/home/build/libreswan/testing/pluto/ikev2-27-uniqueid[root@nic ikev2-27-uniqueid]# iptables -t nat -F ]0;root@swantest:/home/build/libreswan/testing/pluto/ikev2-27-uniqueid[root@nic ikev2-27-uniqueid]# # Display the table, so we know it is correct. ]0;root@swantest:/home/build/libreswan/testing/pluto/ikev2-27-uniqueid[root@nic ikev2-27-uniqueid]# iptables -t nat -L -n Chain PREROUTING (policy ACCEPT) target prot opt source destination Chain INPUT (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination Chain POSTROUTING (policy ACCEPT) target prot opt source destination ]0;root@swantest:/home/build/libreswan/testing/pluto/ikev2-27-uniqueid[root@nic ikev2-27-uniqueid]# iptables -L -n Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination ]0;root@swantest:/home/build/libreswan/testing/pluto/ikev2-27-uniqueid[root@nic ikev2-27-uniqueid]# echo done. done. ]0;root@swantest:/home/build/libreswan/testing/pluto/ikev2-27-uniqueid[root@nic ikev2-27-uniqueid]# : ==== end ==== ]0;root@swantest:/home/build/libreswan/testing/pluto/ikev2-27-uniqueid[root@nic ikev2-27-uniqueid]# # should not match anything ]0;root@swantest:/home/build/libreswan/testing/pluto/ikev2-27-uniqueid[root@nic ikev2-27-uniqueid]# grep "already in use" /tmp/pluto.log ]0;root@swantest:/home/build/libreswan/testing/pluto/ikev2-27-uniqueid[root@nic ikev2-27-uniqueid 1]# >>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 1 final.sh 'grep "already in use" /tmp/pluto.log' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 1 final.sh '# should only show 1 connection' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 final.sh 'ipsec whack --trafficstatus' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 final.sh 'ipsec auto --status' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 1 final.sh 'if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi' <<<<<<<<<>>>>>>>>>cut>>>>>>>>>> done <<<<<<<<<