/testing/guestbin/swan-prep --x509
Preparing X.509 files
east #
 ipsec start
Redirecting to: [initsystem]
east #
 ../../guestbin/wait-until-pluto-started
east #
 ipsec auto --add westnet-eastnet-ikev2
002 "westnet-eastnet-ikev2": added IKEv2 connection
east #
 ipsec whack --impair replay-forward
east #
 echo "initdone"
initdone
east #
 # On east this shows the duplicates on west there is nothing.
east #
 grep "fragment .* duplicate Message ID" /tmp/pluto.log | sed "s/last_contact=XX.XXX[^ ]* /last_contact=XXX /g"
"westnet-eastnet-ikev2" #1: IKE_AUTH request fragment 1 of 5 has duplicate Message ID 1; retransmitting response
| Message ID: IKE #1 IKE_AUTH request fragment 2 of 5 has duplicate Message ID 1 but is not fragment 1; message dropped: ike.initiator .sent=-1 .recv=-1 .recv_frags=0 .last_contact=XXX ike.responder .sent=1 .recv=1 .recv_frags=5 .last_contact=XXX ike.wip.initiator=-1
| Message ID: IKE #1 IKE_AUTH request fragment 3 of 5 has duplicate Message ID 1 but is not fragment 1; message dropped: ike.initiator .sent=-1 .recv=-1 .recv_frags=0 .last_contact=XXX ike.responder .sent=1 .recv=1 .recv_frags=5 .last_contact=XXX ike.wip.initiator=-1
| Message ID: IKE #1 IKE_AUTH request fragment 4 of 5 has duplicate Message ID 1 but is not fragment 1; message dropped: ike.initiator .sent=-1 .recv=-1 .recv_frags=0 .last_contact=XXX ike.responder .sent=1 .recv=1 .recv_frags=5 .last_contact=XXX ike.wip.initiator=-1
| Message ID: IKE #1 IKE_AUTH request fragment 5 of 5 has duplicate Message ID 1 but is not fragment 1; message dropped: ike.initiator .sent=-1 .recv=-1 .recv_frags=0 .last_contact=XXX ike.responder .sent=1 .recv=1 .recv_frags=5 .last_contact=XXX ike.wip.initiator=-1
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
NEW_IPSEC_CONN mangle TABLES
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
Libreswan test CA for mainca - Libreswan                     CT,, 
east                                                         u,u,u
hashsha1                                                     P,,  
nic                                                          P,,  
north                                                        P,,  
road                                                         P,,  
west                                                         P,,  
west-ec                                                      P,,  
east #
 
