/testing/guestbin/swan-prep --nokeys
Creating empty NSS database
east #
 cp policies/* /etc/ipsec.d/policies/
east #
 echo "0.0.0.0/0"  >> /etc/ipsec.d/policies/block
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 10,' -- ipsec auto --status
Total IPsec connections: loaded 10, routed 5, active 0
east #
 echo "initdone"
initdone
east #
 ipsec _kernel state
east #
 ipsec _kernel policy
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 action block priority PRIORITY ptype main
	tmpl src 0.0.0.0 dst 0.0.0.0
		proto esp reqid 0 mode transport
src 0.0.0.0/0 dst 192.1.2.23/32
	dir in action block priority PRIORITY ptype main
	tmpl src 0.0.0.0 dst 0.0.0.0
		proto esp reqid 0 mode transport
src 192.1.2.23/32 dst 0.0.0.0/0
	dir out action block priority PRIORITY ptype main
	tmpl src 0.0.0.0 dst 0.0.0.0
		proto esp reqid 0 mode transport
east #
 # should not show any hits
east #
 grep "^[^|].* established Child SA" /tmp/pluto.log
east #
