/testing/guestbin/swan-prep
east #
 ipsec start
Redirecting to: [initsystem]
east #
 ../../guestbin/wait-until-pluto-started
east #
 ipsec whack --impair replay-duplicates
east #
 ipsec auto --add westnet-eastnet
002 "westnet-eastnet": added IKEv1 connection
east #
 echo "initdone"
initdone
east #
 ../../guestbin/ipsec-look.sh
east NOW
XFRM state:
XFRM policy:
src 192.0.2.0/24 dst 192.0.1.0/24
	dir out priority PRIORITY ptype main
	tmpl src 0.0.0.0 dst 0.0.0.0
		proto esp reqid 0 mode transport
XFRM done
IPSEC mangle TABLES
iptables filter TABLE
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         
ROUTING TABLES
default via 192.1.2.254 dev eth1
192.0.1.0/24 via 192.1.2.45 dev eth1
192.0.2.0/24 dev eth0 proto kernel scope link src 192.0.2.254
192.1.2.0/24 dev eth1 proto kernel scope link src 192.1.2.23
NSS_CERTIFICATES
Certificate Nickname                                         Trust Attributes
                                                             SSL,S/MIME,JAR/XPI
east #
 sed -n -e '/IMPAIR: start processing duplicate packet/,/IMPAIR: stop processing duplicate packet/ { /^[^|]/ p }' /tmp/pluto.log
packet from 192.1.2.45:500: IMPAIR: start processing duplicate packet (xxx bytes)
"westnet-eastnet" #1: retransmitting in response to duplicate packet; already STATE_MAIN_R1
packet from 192.1.2.45:500: IMPAIR: stop processing duplicate packet
packet from 192.1.2.45:500: IMPAIR: start processing duplicate packet (xxx bytes)
"westnet-eastnet" #1: discarding packet received during asynchronous work (DNS or crypto) in STATE_MAIN_R1
packet from 192.1.2.45:500: IMPAIR: stop processing duplicate packet
packet from 192.1.2.45:500: IMPAIR: start processing duplicate packet (xxx bytes)
"westnet-eastnet" #1: retransmitting in response to duplicate packet; already STATE_MAIN_R3
packet from 192.1.2.45:500: IMPAIR: stop processing duplicate packet
packet from 192.1.2.45:500: IMPAIR: start processing duplicate packet (xxx bytes)
"westnet-eastnet" #2: discarding packet received during asynchronous work (DNS or crypto) in STATE_QUICK_R0
packet from 192.1.2.45:500: IMPAIR: stop processing duplicate packet
packet from 192.1.2.45:500: IMPAIR: start processing duplicate packet (xxx bytes)
packet from 192.1.2.45:500: IMPAIR: stop processing duplicate packet
packet from 192.1.2.45:500: IMPAIR: start processing duplicate packet (xxx bytes)
packet from 192.1.2.45:500: IMPAIR: stop processing duplicate packet
packet from 192.1.2.45:500: IMPAIR: start processing duplicate packet (xxx bytes)
packet from 192.1.2.45:500: IMPAIR: stop processing duplicate packet
east #
 
