#!/bin/sh kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-aggr-sendcert-01\[root@nic ikev1-aggr-sendcert-01]# iptables -t nat -F kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-aggr-sendcert-01\[root@nic ikev1-aggr-sendcert-01]# # Display the table, so we know it is correct. kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-aggr-sendcert-01\[root@nic ikev1-aggr-sendcert-01]# 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 kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-aggr-sendcert-01\[root@nic ikev1-aggr-sendcert-01]# 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 kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-aggr-sendcert-01\[root@nic ikev1-aggr-sendcert-01]# echo done. done. kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-aggr-sendcert-01\[root@nic ikev1-aggr-sendcert-01]# : ==== end ==== kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-aggr-sendcert-01\[root@nic ikev1-aggr-sendcert-01]# # should not match anything kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-aggr-sendcert-01\[root@nic ikev1-aggr-sendcert-01]# grep "already in use" /tmp/pluto.log kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-aggr-sendcert-01\[root@nic ikev1-aggr-sendcert-01 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' <<<<<<<<<