#!/bin/sh kroot@swantest:/home/build/libreswan/testing/pluto/netkey-algo-null-01\[root@nic netkey-algo-null-01]# kroot@swantest:/home/build/libreswan/testing/pluto/netkey-algo-null-01\[root@nic netkey-algo-null-01]# # Display the table, so we know it is correct. kroot@swantest:/home/build/libreswan/testing/pluto/netkey-algo-null-01\[root@nic netkey-algo-null-01]# iptables -t nat -L 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/netkey-algo-null-01\[root@nic netkey-algo-null-01]# kroot@swantest:/home/build/libreswan/testing/pluto/netkey-algo-null-01\[root@nic netkey-algo-null-01]# echo done. done. kroot@swantest:/home/build/libreswan/testing/pluto/netkey-algo-null-01\[root@nic netkey-algo-null-01]# : ==== end ==== kroot@swantest:/home/build/libreswan/testing/pluto/netkey-algo-null-01\[root@nic netkey-algo-null-01]# ../../pluto/bin/ipsec-look.sh kroot@swantest:/home/build/libreswan/testing/pluto/netkey-algo-null-01\[root@nic netkey-algo-null-01]# : ==== cut ==== kroot@swantest:/home/build/libreswan/testing/pluto/netkey-algo-null-01\[root@nic netkey-algo-null-01]# ipsec auto --status whack: Pluto is not running (no "/run/pluto/pluto.ctl") kroot@swantest:/home/build/libreswan/testing/pluto/netkey-algo-null-01\[root@nic netkey-algo-null-01 33]# >>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 final.sh 'ipsec auto --status' <<<<<<<<<