/testing/guestbin/swan-prep --nokeys
Creating empty NSS database
east #
 ipsec start
Redirecting to: [initsystem]
east #
 ../../guestbin/wait-until-pluto-started
east #
 # dh has auto=add
east #
 ipsec stop
Redirecting to: [initsystem]
east #
 # east shows what was sent across the wire; expect two lines for each
east #
 # of the three connections: default (missing); integ=none included;
east #
 # integ=none excluded
east #
 grep 'chosen from remote proposal' /tmp/pluto.log | sed -e 's/SPI=[0-9a-z]*/SPI=X/'
"dh" #1: proposal 1:IKE=AES_GCM_16_128-HMAC_SHA1-MODP2048 chosen from remote proposals 1:IKE:ENCR=AES_GCM_16_128;PRF=HMAC_SHA1;DH=MODP2048[first-match]
"dh" #2: proposal 1:ESP=AES_GCM_16_128-ESN:YES SPI=X chosen from remote proposals 1:ESP:ENCR=AES_GCM_16_128;ESN=YES;ESN=NO[first-match]
"dh" #3: proposal 1:IKE=AES_GCM_16_128-HMAC_SHA1-MODP2048 SPI=X chosen from remote proposals 1:IKE:ENCR=AES_GCM_16_128;PRF=HMAC_SHA1;DH=MODP2048[first-match]
"dh" #4: proposal 1:ESP=AES_GCM_16_128-NONE-ESN:YES SPI=X chosen from remote proposals 1:ESP:ENCR=AES_GCM_16_128;DH=NONE;ESN=YES;ESN=NO[first-match]
"dh" #5: proposal 1:IKE=AES_GCM_16_128-HMAC_SHA1-MODP2048 SPI=X chosen from remote proposals 1:IKE:ENCR=AES_GCM_16_128;PRF=HMAC_SHA1;DH=MODP2048[first-match]
"dh" #6: proposal 1:ESP=AES_GCM_16_128-ESN:YES SPI=X chosen from remote proposals 1:ESP:ENCR=AES_GCM_16_128;ESN=YES;ESN=NO[first-match]
"dh" #7: proposal 1:IKE=AES_GCM_16_128-HMAC_SHA1-MODP2048 chosen from remote proposals 1:IKE:ENCR=AES_GCM_16_128;PRF=HMAC_SHA1;DH=MODP2048[first-match]
"dh" #8: proposal 1:ESP=AES_GCM_16_128-NONE-ESN:YES SPI=X chosen from remote proposals 1:ESP:ENCR=AES_GCM_16_128;DH=NONE;ESN=YES;ESN=NO[first-match]
"dh" #9: proposal 1:IKE=AES_GCM_16_128-HMAC_SHA1-MODP2048 SPI=X chosen from remote proposals 1:IKE:ENCR=AES_GCM_16_128;PRF=HMAC_SHA1;DH=MODP2048[first-match]
"dh" #10: proposal 1:ESP=AES_GCM_16_128-ESN:YES SPI=X chosen from remote proposals 1:ESP:ENCR=AES_GCM_16_128;ESN=YES;ESN=NO[first-match]
"dh" #11: proposal 1:IKE=AES_GCM_16_128-HMAC_SHA1-MODP2048 SPI=X chosen from remote proposals 1:IKE:ENCR=AES_GCM_16_128;PRF=HMAC_SHA1;DH=MODP2048[first-match]
"dh" #12: proposal 1:ESP=AES_GCM_16_128-NONE-ESN:YES SPI=X chosen from remote proposals 1:ESP:ENCR=AES_GCM_16_128;DH=NONE;ESN=YES;ESN=NO[first-match]
east #
 # west shows what came back, expect two lines for each of the three
east #
 # connections: default (missing); integ=none included; integ=none
east #
 # excluded
east #
 grep 'remote accepted' /tmp/pluto.log
east #
 
