/testing/guestbin/swan-prep west # ipsec start Redirecting to: [initsystem] west # /testing/pluto/bin/wait-until-pluto-started west # ipsec auto --add ipv4-psk-ikev2-transport 002 added IKEv2 connection "ipv4-psk-ikev2-transport" west # ipsec whack --impair suppress-retransmits west # echo "initdone" initdone west # ipsec auto --up ipv4-psk-ikev2-transport 1v2 "ipv4-psk-ikev2-transport" #1: initiating IKEv2 connection 1v2 "ipv4-psk-ikev2-transport" #1: sent IKE_SA_INIT request 1v2 "ipv4-psk-ikev2-transport" #1: sent IKE_AUTH request {auth=IKEv2 cipher=AES_GCM_16_256 integ=n/a prf=HMAC_SHA2_512 group=MODP2048} 002 "ipv4-psk-ikev2-transport" #2: IKEv2 mode peer ID is ID_FQDN: '@east' 003 "ipv4-psk-ikev2-transport" #1: authenticated using authby=secret 002 "ipv4-psk-ikev2-transport" #2: negotiated connection [192.1.2.45-192.1.2.45:1701-1701 17] -> [192.1.2.23-192.1.2.23:1702-1702 17] 004 "ipv4-psk-ikev2-transport" #2: IPsec SA established transport mode {ESP=>0xESPESP <0xESPESP xfrm=AES_GCM_16_256-NONE NATOA=none NATD=none DPD=passive} west # echo done done west # # verify protoport selectors are there west # ../../pluto/bin/ipsec-look.sh west NOW XFRM state: src 192.1.2.23 dst 192.1.2.45 proto esp spi 0xSPISPI reqid REQID mode transport replay-window 32 aead rfc4106(gcm(aes)) 0xENCAUTHKEY 128 sel src 192.1.2.23/32 dst 192.1.2.45/32 proto udp sport 1702 dport 1701 src 192.1.2.45 dst 192.1.2.23 proto esp spi 0xSPISPI reqid REQID mode transport replay-window 32 aead rfc4106(gcm(aes)) 0xENCAUTHKEY 128 sel src 192.1.2.45/32 dst 192.1.2.23/32 proto udp sport 1701 dport 1702 XFRM policy: src 192.1.2.23/32 dst 192.1.2.45/32 proto udp sport 1702 dport 1701 dir in priority 1425342 ptype main tmpl src 0.0.0.0 dst 0.0.0.0 proto esp reqid REQID mode transport src 192.1.2.45/32 dst 192.1.2.23/32 proto udp sport 1701 dport 1702 dir out priority 1425342 ptype main tmpl src 0.0.0.0 dst 0.0.0.0 proto esp reqid REQID 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 dev eth0 proto kernel scope link src 192.0.1.254 192.0.2.0/24 via 192.1.2.23 dev eth1 192.1.2.0/24 dev eth1 proto kernel scope link src 192.1.2.45 NSS_CERTIFICATES Certificate Nickname Trust Attributes SSL,S/MIME,JAR/XPI west # ../bin/check-for-core.sh west # if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi west #