/testing/guestbin/swan-prep --nokeys
Creating empty NSS database
east #
 cp policies/* /etc/ipsec.d/policies/
east #
 echo "10.0.0.0/8"  >> /etc/ipsec.d/policies/clear-or-private
east #
 echo "192.168.0.0/16"  >> /etc/ipsec.d/policies/clear-or-private
east #
 echo "0.0.0.0/0"  >> /etc/ipsec.d/policies/clear
east #
 ipsec start
Redirecting to: [initsystem]
east #
 ../../guestbin/wait-until-pluto-started
east #
 # give OE policies time to load
east #
 ../../guestbin/wait-for.sh --match 'loaded 12' -- ipsec auto --status
Total IPsec connections: loaded 12, active 0
east #
 echo "initdone"
initdone
east #
 ../../guestbin/ipsec-kernel-state.sh
east #
 ../../guestbin/ipsec-kernel-policy.sh
src 192.1.2.23/32 dst 192.1.2.253/32
	dir out priority PRIORITY ptype main
src 192.1.2.23/32 dst 192.1.2.254/32
	dir out priority PRIORITY ptype main
src 192.1.2.23/32 dst 192.1.3.253/32
	dir out priority PRIORITY ptype main
src 192.1.2.23/32 dst 192.1.3.254/32
	dir out priority PRIORITY ptype main
src 192.1.2.253/32 dst 192.1.2.23/32
	dir fwd priority PRIORITY ptype main
src 192.1.2.253/32 dst 192.1.2.23/32
	dir in priority PRIORITY ptype main
src 192.1.2.254/32 dst 192.1.2.23/32
	dir fwd priority PRIORITY ptype main
src 192.1.2.254/32 dst 192.1.2.23/32
	dir in priority PRIORITY ptype main
src 192.1.3.253/32 dst 192.1.2.23/32
	dir fwd priority PRIORITY ptype main
src 192.1.3.253/32 dst 192.1.2.23/32
	dir in priority PRIORITY ptype main
src 192.1.3.254/32 dst 192.1.2.23/32
	dir fwd priority PRIORITY ptype main
src 192.1.3.254/32 dst 192.1.2.23/32
	dir in priority PRIORITY ptype main
src 0.0.0.0/0 dst 192.1.2.23/32
	dir fwd priority PRIORITY ptype main
src 0.0.0.0/0 dst 192.1.2.23/32
	dir in priority PRIORITY ptype main
src 192.1.2.23/32 dst 0.0.0.0/0
	dir out priority PRIORITY ptype main
east #
 # should not show any hits
east #
 grep "^[^|].* established Child SA" /tmp/pluto.log
east #
 
