../../guestbin/prep.sh
ipsec.conf -> PATH/etc/ipsec.conf
ipsec.secrets -> PATH/etc/ipsec.secrets
west #
 ipsec start
Redirecting to: [initsystem]
Initializing NSS database
Starting pluto.
west #
 ../../guestbin/wait-until-pluto-started
west #
 ipsec whack --impair suppress_retransmits
west #
 ipsec auto --up westnet-eastnet-default
"westnet-eastnet-default" #1: initiating IKEv2 connection to 192.1.2.23 using UDP
"westnet-eastnet-default" #1: sent IKE_SA_INIT request to 192.1.2.23:UDP/500
"westnet-eastnet-default" #1: processed IKE_SA_INIT response from 192.1.2.23:UDP/500 {cipher=AES_GCM_16_256 integ=n/a prf=HMAC_SHA2_512 group=DH19}, initiating IKE_AUTH
"westnet-eastnet-default" #1: sent IKE_AUTH request to 192.1.2.23:UDP/500 with shared-key-mac and FQDN '@west'; Child SA #2 {ESP <0xESPESP}
"westnet-eastnet-default" #1: initiator established IKE SA; authenticated peer using authby=secret and FQDN '@east'
"westnet-eastnet-default" #2: initiator established Child SA using #1; IPsec tunnel [192.0.1.0/24===192.0.2.0/24] {ESP/ESN=>0xESPESP <0xESPESP xfrm=AES_GCM_16_256-NONE DPD=passive}
west #
 ipsec _kernel state | grep 'replay[-_=]'
	seq=0x00000000 replay=16 flags=0x00000400 state=mature 
	seq=0x00000000 replay=16 flags=0x00000400 state=mature 
west #
 ipsec stop
Redirecting to: [initsystem]
Stopping pluto.
Waiting for PIDS: PID.
west #
 ipsec start
Redirecting to: [initsystem]
Starting pluto.
west #
 ../../guestbin/wait-until-pluto-started
west #
 ipsec whack --impair suppress_retransmits
west #
 ipsec auto --up westnet-eastnet-0
"westnet-eastnet-0" #1: initiating IKEv2 connection to 192.1.2.23 using UDP
"westnet-eastnet-0" #1: sent IKE_SA_INIT request to 192.1.2.23:UDP/500
"westnet-eastnet-0" #1: processed IKE_SA_INIT response from 192.1.2.23:UDP/500 {cipher=AES_GCM_16_256 integ=n/a prf=HMAC_SHA2_512 group=DH19}, initiating IKE_AUTH
"westnet-eastnet-0" #1: sent IKE_AUTH request to 192.1.2.23:UDP/500 with shared-key-mac and FQDN '@west'; Child SA #2 {ESP <0xESPESP}
"westnet-eastnet-0" #1: initiator established IKE SA; authenticated peer using authby=secret and FQDN '@east'
"westnet-eastnet-0" #2: initiator established Child SA using #1; IPsec tunnel [192.0.1.0/24===192.0.2.0/24] {ESP=>0xESPESP <0xESPESP xfrm=AES_GCM_16_256-NONE DPD=passive}
west #
 ipsec _kernel state | grep 'replay[-_=]'
	seq=0x00000000 replay=0 flags=0x00000000 state=mature 
	seq=0x00000000 replay=0 flags=0x00000000 state=mature 
west #
 ipsec stop
Redirecting to: [initsystem]
Stopping pluto.
Waiting for PIDS: PID.
west #
 ipsec start
Redirecting to: [initsystem]
Starting pluto.
west #
 ../../guestbin/wait-until-pluto-started
west #
 ipsec whack --impair suppress_retransmits
west #
 ipsec auto --up westnet-eastnet-64
"westnet-eastnet-64" #1: initiating IKEv2 connection to 192.1.2.23 using UDP
"westnet-eastnet-64" #1: sent IKE_SA_INIT request to 192.1.2.23:UDP/500
"westnet-eastnet-64" #1: processed IKE_SA_INIT response from 192.1.2.23:UDP/500 {cipher=AES_GCM_16_256 integ=n/a prf=HMAC_SHA2_512 group=DH19}, initiating IKE_AUTH
"westnet-eastnet-64" #1: sent IKE_AUTH request to 192.1.2.23:UDP/500 with shared-key-mac and FQDN '@west'; Child SA #2 {ESP <0xESPESP}
"westnet-eastnet-64" #1: initiator established IKE SA; authenticated peer using authby=secret and FQDN '@east'
"westnet-eastnet-64" #2: initiator established Child SA using #1; IPsec tunnel [192.0.1.0/24===192.0.2.0/24] {ESP/ESN=>0xESPESP <0xESPESP xfrm=AES_GCM_16_256-NONE DPD=passive}
west #
 ipsec _kernel state | grep 'replay[-_=]'
	seq=0x00000000 replay=8 flags=0x00000400 state=mature 
	seq=0x00000000 replay=8 flags=0x00000400 state=mature 
west #
 ipsec stop
Redirecting to: [initsystem]
Stopping pluto.
Waiting for PIDS: PID.
west #
 ipsec start
Redirecting to: [initsystem]
Starting pluto.
west #
 ../../guestbin/wait-until-pluto-started
west #
 ipsec whack --impair suppress_retransmits
west #
 ipsec auto --up westnet-eastnet-256
"westnet-eastnet-256" #1: initiating IKEv2 connection to 192.1.2.23 using UDP
"westnet-eastnet-256" #1: sent IKE_SA_INIT request to 192.1.2.23:UDP/500
"westnet-eastnet-256" #1: processed IKE_SA_INIT response from 192.1.2.23:UDP/500 {cipher=AES_GCM_16_256 integ=n/a prf=HMAC_SHA2_512 group=DH19}, initiating IKE_AUTH
"westnet-eastnet-256" #1: sent IKE_AUTH request to 192.1.2.23:UDP/500 with shared-key-mac and FQDN '@west'; Child SA #2 {ESP <0xESPESP}
"westnet-eastnet-256" #1: initiator established IKE SA; authenticated peer using authby=secret and FQDN '@east'
"westnet-eastnet-256" #2: initiator established Child SA using #1; IPsec tunnel [192.0.1.0/24===192.0.2.0/24] {ESP/ESN=>0xESPESP <0xESPESP xfrm=AES_GCM_16_256-NONE DPD=passive}
west #
 ipsec _kernel state | grep 'replay[-_=]'
	seq=0x00000000 replay=32 flags=0x00000400 state=mature 
	seq=0x00000000 replay=32 flags=0x00000400 state=mature 
west #
 ipsec stop
Redirecting to: [initsystem]
Stopping pluto.
Waiting for PIDS: PID.
west #
 echo done
done
west #
