| newref logger@0x563547077bb8(0->1) (in main() at plutomain.c:1591) | delref logger@0x563547077bb8(1->0) (in main() at plutomain.c:1592) | delref fd@NULL (in free_logger() at log.c:853) | delref fd@NULL (in free_logger() at log.c:854) NSS DB directory: sql:/var/lib/ipsec/nss Initializing NSS Opening NSS database "sql:/var/lib/ipsec/nss" read-only FIPS Mode: NO NSS crypto library initialized FIPS mode disabled for pluto daemon FIPS HMAC integrity support [disabled] libcap-ng support [enabled] Linux audit support [enabled] Linux audit activated Starting Pluto (Libreswan Version v4.1-88-gf1d1933837ef-main IKEv2 IKEv1 XFRM(netkey) XFRMI esp-hw-offload FORK PTHREAD_SETSCHEDPRIO NSS (IPsec profile) (NSS-PRF) DNSSEC LABELED_IPSEC (SELINUX) SECCOMP LIBCAP_NG LINUX_AUDIT AUTH_PAM NETWORKMANAGER CURL(non-NSS)) pid:2186222 core dump dir: /tmp secrets file: /etc/ipsec.secrets leak-detective enabled NSS crypto [enabled] XAUTH PAM support [enabled] | libevent is using pluto's memory allocator Initializing libevent in pthreads mode: headers: 2.1.8-stable (2010800); library: 2.1.8-stable (2010800) | libevent_malloc: newref ptr-libevent@0x5635470fd028 size 40 | libevent_malloc: newref ptr-libevent@0x56354708d6a8 size 40 | libevent_malloc: newref ptr-libevent@0x5635470fd528 size 40 | creating event base | libevent_malloc: newref ptr-libevent@0x5635470fd088 size 56 | libevent_malloc: newref ptr-libevent@0x5635470f3c48 size 664 | libevent_malloc: newref ptr-libevent@0x56354712a578 size 24 | libevent_malloc: newref ptr-libevent@0x56354712a5c8 size 384 | libevent_malloc: newref ptr-libevent@0x56354712a778 size 16 | libevent_malloc: newref ptr-libevent@0x5635470fcd68 size 40 | libevent_malloc: newref ptr-libevent@0x5635470fcce8 size 48 | libevent_realloc: newref ptr-libevent@0x56354712a7b8 size 256 | libevent_malloc: newref ptr-libevent@0x56354712a8e8 size 16 | libevent_free: delref ptr-libevent@0x5635470fd088 | libevent initialized | libevent_realloc: newref ptr-libevent@0x5635470fd088 size 64 | global periodic timer EVENT_RESET_LOG_RATE_LIMIT enabled with interval of 3600 seconds | init_nat_traversal() initialized with keep_alive=0s NAT-Traversal support [enabled] | global one-shot timer EVENT_NAT_T_KEEPALIVE initialized | global one-shot timer EVENT_FREE_ROOT_CERTS initialized | global periodic timer EVENT_REINIT_SECRET enabled with interval of 3600 seconds | checking IKEv1 state table | MAIN_R0: category: half-open IKE SA; flags: 0: | -> MAIN_R1 EVENT_SO_DISCARD (main_inI1_outR1) | MAIN_I1: category: half-open IKE SA; flags: 0: | -> MAIN_I2 EVENT_RETRANSMIT (main_inR1_outI2) | MAIN_R1: category: open IKE SA; flags: 0: | -> MAIN_R2 EVENT_RETRANSMIT (main_inI2_outR2) | -> MAIN_R1 EVENT_RETRANSMIT (unexpected) | -> MAIN_R1 EVENT_RETRANSMIT (unexpected) | MAIN_I2: category: open IKE SA; flags: 0: | -> MAIN_I3 EVENT_RETRANSMIT (main_inR2_outI3) | -> MAIN_I2 EVENT_RETRANSMIT (unexpected) | -> MAIN_I2 EVENT_RETRANSMIT (unexpected) | MAIN_R2: category: open IKE SA; flags: 0: | -> MAIN_R3 EVENT_SA_REPLACE (main_inI3_outR3) | -> MAIN_R3 EVENT_SA_REPLACE (main_inI3_outR3) | -> MAIN_R2 EVENT_SA_REPLACE (unexpected) | MAIN_I3: category: open IKE SA; flags: 0: | -> MAIN_I4 EVENT_SA_REPLACE (main_inR3) | -> MAIN_I4 EVENT_SA_REPLACE (main_inR3) | -> MAIN_I3 EVENT_SA_REPLACE (unexpected) | MAIN_R3: category: established IKE SA; flags: 0: | -> MAIN_R3 EVENT_NULL (unexpected) | MAIN_I4: category: established IKE SA; flags: 0: | -> MAIN_I4 EVENT_NULL (unexpected) | AGGR_R0: category: half-open IKE SA; flags: 0: | -> AGGR_R1 EVENT_SO_DISCARD (aggr_inI1_outR1) | AGGR_I1: category: half-open IKE SA; flags: 0: | -> AGGR_I2 EVENT_SA_REPLACE (aggr_inR1_outI2) | -> AGGR_I2 EVENT_SA_REPLACE (aggr_inR1_outI2) | AGGR_R1: category: open IKE SA; flags: 0: | -> AGGR_R2 EVENT_SA_REPLACE (aggr_inI2) | -> AGGR_R2 EVENT_SA_REPLACE (aggr_inI2) | AGGR_I2: category: established IKE SA; flags: 0: | -> AGGR_I2 EVENT_NULL (unexpected) | AGGR_R2: category: established IKE SA; flags: 0: | -> AGGR_R2 EVENT_NULL (unexpected) | QUICK_R0: category: established CHILD SA; flags: 0: | -> QUICK_R1 EVENT_RETRANSMIT (quick_inI1_outR1) | QUICK_I1: category: established CHILD SA; flags: 0: | -> QUICK_I2 EVENT_SA_REPLACE (quick_inR1_outI2) | QUICK_R1: category: established CHILD SA; flags: 0: | -> QUICK_R2 EVENT_SA_REPLACE (quick_inI2) | QUICK_I2: category: established CHILD SA; flags: 0: | -> QUICK_I2 EVENT_NULL (unexpected) | QUICK_R2: category: established CHILD SA; flags: 0: | -> QUICK_R2 EVENT_NULL (unexpected) | INFO: category: informational; flags: 0: | -> INFO EVENT_NULL (informational) | INFO_PROTECTED: category: informational; flags: 0: | -> INFO_PROTECTED EVENT_NULL (informational) | XAUTH_R0: category: established IKE SA; flags: 0: | -> XAUTH_R1 EVENT_NULL (xauth_inR0) | XAUTH_R1: category: established IKE SA; flags: 0: | -> MAIN_R3 EVENT_SA_REPLACE (xauth_inR1) | MODE_CFG_R0: category: informational; flags: 0: | -> MODE_CFG_R1 EVENT_SA_REPLACE (modecfg_inR0) | MODE_CFG_R1: category: established IKE SA; flags: 0: | -> MODE_CFG_R2 EVENT_SA_REPLACE (modecfg_inR1) | MODE_CFG_R2: category: established IKE SA; flags: 0: | -> MODE_CFG_R2 EVENT_NULL (unexpected) | MODE_CFG_I1: category: established IKE SA; flags: 0: | -> MAIN_I4 EVENT_SA_REPLACE (modecfg_inR1) | XAUTH_I0: category: established IKE SA; flags: 0: | -> XAUTH_I1 EVENT_RETRANSMIT (xauth_inI0) | XAUTH_I1: category: established IKE SA; flags: 0: | -> MAIN_I4 EVENT_RETRANSMIT (xauth_inI1) | checking IKEv2 state table | V2_REKEY_IKE_I0: category: established IKE SA; flags: 0: | -> V2_REKEY_IKE_I1 EVENT_RETRANSMIT send-request (Initiate CREATE_CHILD_SA IKE Rekey) | V2_REKEY_CHILD_I0: category: established IKE SA; flags: 0: | -> V2_REKEY_CHILD_I1 EVENT_RETRANSMIT send-request (Initiate CREATE_CHILD_SA IPsec Rekey SA) | V2_NEW_CHILD_I0: category: established IKE SA; flags: 0: | -> V2_NEW_CHILD_I1 EVENT_RETRANSMIT send-request (Initiate CREATE_CHILD_SA IPsec SA) | PARENT_I0: category: ignore; flags: 0: | -> PARENT_I1 EVENT_RETRANSMIT send-request (initiate IKE_SA_INIT) | PARENT_I1: category: half-open IKE SA; flags: 0: | -> PARENT_I0 EVENT_SO_DISCARD (received anti-DDOS COOKIE notify response; resending IKE_SA_INIT request with cookie payload added) | -> PARENT_I0 EVENT_SO_DISCARD (received IKE_SA_INIT INVALID_KE_PAYLOAD notify response; resending IKE_SA_INIT with new KE payload) | -> IKESA_DEL EVENT_v2_REDIRECT (received REDIRECT notify response; resending IKE_SA_INIT request to new destination) | -> PARENT_I2 EVENT_RETRANSMIT send-request (Initiator: process IKE_SA_INIT reply, initiate IKE_AUTH or IKE_INTERMEDIATE) | PARENT_I2: category: open IKE SA; flags: 0: | -> PARENT_I2 EVENT_RETRANSMIT send-request (Initiator: process IKE_INTERMEDIATE reply, initiate IKE_AUTH or IKE_INTERMEDIATE) | -> PARENT_I2 EVENT_NULL (Initiator: process INVALID_SYNTAX AUTH notification) | -> PARENT_I2 EVENT_NULL (Initiator: process AUTHENTICATION_FAILED AUTH notification) | -> PARENT_I2 EVENT_NULL (Initiator: process UNSUPPORTED_CRITICAL_PAYLOAD AUTH notification) | -> ESTABLISHED_CHILD_SA EVENT_SA_REPLACE (Initiator: process IKE_AUTH response) | -> PARENT_I2 EVENT_NULL (IKE SA: process IKE_AUTH response containing unknown notification) | PARENT_R0: category: half-open IKE SA; flags: 0: | -> PARENT_R1 EVENT_SO_DISCARD send-response (Respond to IKE_SA_INIT) | PARENT_R1: category: half-open IKE SA; flags: 0: | -> PARENT_R1 EVENT_SA_REPLACE send-response (Responder: process IKE_AUTH request (no SKEYSEED)) | -> PARENT_R1 EVENT_SA_REPLACE send-response (Responder: process IKE_INTERMEDIATE request (no SKEYSEED)) | -> PARENT_R1 EVENT_SA_REPLACE send-response (Responder: process IKE_INTERMEDIATE request (with SKEYSEED)) | -> ESTABLISHED_CHILD_SA EVENT_SA_REPLACE send-response (Responder: process IKE_AUTH request) | V2_REKEY_IKE_R0: category: established IKE SA; flags: 0: | -> ESTABLISHED_IKE_SA EVENT_SA_REPLACE send-response (Respond to CREATE_CHILD_SA IKE Rekey) | V2_REKEY_IKE_I1: category: established IKE SA; flags: 0: | -> ESTABLISHED_IKE_SA EVENT_SA_REPLACE (Process CREATE_CHILD_SA IKE Rekey Response) | V2_NEW_CHILD_I1: category: established IKE SA; flags: 0: | -> ESTABLISHED_CHILD_SA EVENT_SA_REPLACE (Process CREATE_CHILD_SA IPsec SA Response) | V2_REKEY_CHILD_R0: category: established IKE SA; flags: 0: | -> ESTABLISHED_CHILD_SA EVENT_SA_REPLACE send-response (Respond to CREATE_CHILD_SA rekey CHILD SA request) | V2_NEW_CHILD_R0: category: established IKE SA; flags: 0: | -> ESTABLISHED_CHILD_SA EVENT_SA_REPLACE send-response (Respond to CREATE_CHILD_SA IPsec SA Request) | ESTABLISHED_IKE_SA: category: established IKE SA; flags: 0: | -> ESTABLISHED_IKE_SA EVENT_RETAIN send-response (Informational Request (liveness probe)) | -> ESTABLISHED_IKE_SA EVENT_RETAIN (Informational Response (liveness probe)) | -> ESTABLISHED_IKE_SA EVENT_RETAIN send-response (Informational Request) | -> ESTABLISHED_IKE_SA EVENT_RETAIN (Informational Response) | IKESA_DEL: category: established IKE SA; flags: 0: | -> IKESA_DEL EVENT_RETAIN (IKE_SA_DEL: process INFORMATIONAL) | CHILDSA_DEL: category: informational; flags: 0: | -> CHILDSA_DEL EVENT_RETAIN (IKE_SA_DEL: process INFORMATIONAL) | global one-shot timer EVENT_REVIVE_CONNS initialized | global periodic timer EVENT_PENDING_DDNS enabled with interval of 60 seconds | global periodic timer EVENT_PENDING_PHASE2 enabled with interval of 120 seconds Encryption algorithms: AES_CCM_16 {256,192,*128} IKEv1: ESP IKEv2: ESP FIPS aes_ccm, aes_ccm_c AES_CCM_12 {256,192,*128} IKEv1: ESP IKEv2: ESP FIPS aes_ccm_b AES_CCM_8 {256,192,*128} IKEv1: ESP IKEv2: ESP FIPS aes_ccm_a 3DES_CBC [*192] IKEv1: IKE ESP IKEv2: IKE ESP FIPS NSS(CBC) 3des CAMELLIA_CTR {256,192,*128} IKEv1: ESP IKEv2: ESP CAMELLIA_CBC {256,192,*128} IKEv1: IKE ESP IKEv2: IKE ESP NSS(CBC) camellia AES_GCM_16 {256,192,*128} IKEv1: ESP IKEv2: IKE ESP FIPS NSS(GCM) aes_gcm, aes_gcm_c AES_GCM_12 {256,192,*128} IKEv1: ESP IKEv2: IKE ESP FIPS NSS(GCM) aes_gcm_b AES_GCM_8 {256,192,*128} IKEv1: ESP IKEv2: IKE ESP FIPS NSS(GCM) aes_gcm_a AES_CTR {256,192,*128} IKEv1: IKE ESP IKEv2: IKE ESP FIPS NSS(CTR) aesctr AES_CBC {256,192,*128} IKEv1: IKE ESP IKEv2: IKE ESP FIPS NSS(CBC) aes NULL_AUTH_AES_GMAC {256,192,*128} IKEv1: ESP IKEv2: ESP FIPS aes_gmac NULL [] IKEv1: ESP IKEv2: ESP CHACHA20_POLY1305 [*256] IKEv1: IKEv2: IKE ESP NSS(AEAD) chacha20poly1305 Hash algorithms: MD5 IKEv1: IKE IKEv2: NSS SHA1 IKEv1: IKE IKEv2: IKE FIPS NSS sha SHA2_256 IKEv1: IKE IKEv2: IKE FIPS NSS sha2, sha256 SHA2_384 IKEv1: IKE IKEv2: IKE FIPS NSS sha384 SHA2_512 IKEv1: IKE IKEv2: IKE FIPS NSS sha512 PRF algorithms: HMAC_MD5 IKEv1: IKE IKEv2: IKE native(HMAC) md5 HMAC_SHA1 IKEv1: IKE IKEv2: IKE FIPS NSS sha, sha1 HMAC_SHA2_256 IKEv1: IKE IKEv2: IKE FIPS NSS sha2, sha256, sha2_256 HMAC_SHA2_384 IKEv1: IKE IKEv2: IKE FIPS NSS sha384, sha2_384 HMAC_SHA2_512 IKEv1: IKE IKEv2: IKE FIPS NSS sha512, sha2_512 AES_XCBC IKEv1: IKEv2: IKE native(XCBC) aes128_xcbc Integrity algorithms: HMAC_MD5_96 IKEv1: IKE ESP AH IKEv2: IKE ESP AH native(HMAC) md5, hmac_md5 HMAC_SHA1_96 IKEv1: IKE ESP AH IKEv2: IKE ESP AH FIPS NSS sha, sha1, sha1_96, hmac_sha1 HMAC_SHA2_512_256 IKEv1: IKE ESP AH IKEv2: IKE ESP AH FIPS NSS sha512, sha2_512, sha2_512_256, hmac_sha2_512 HMAC_SHA2_384_192 IKEv1: IKE ESP AH IKEv2: IKE ESP AH FIPS NSS sha384, sha2_384, sha2_384_192, hmac_sha2_384 HMAC_SHA2_256_128 IKEv1: IKE ESP AH IKEv2: IKE ESP AH FIPS NSS sha2, sha256, sha2_256, sha2_256_128, hmac_sha2_256 HMAC_SHA2_256_TRUNCBUG IKEv1: ESP AH IKEv2: AH AES_XCBC_96 IKEv1: ESP AH IKEv2: IKE ESP AH native(XCBC) aes_xcbc, aes128_xcbc, aes128_xcbc_96 AES_CMAC_96 IKEv1: ESP AH IKEv2: ESP AH FIPS aes_cmac NONE IKEv1: ESP IKEv2: IKE ESP FIPS null DH algorithms: NONE IKEv1: IKEv2: IKE ESP AH FIPS NSS(MODP) null, dh0 MODP1536 IKEv1: IKE ESP AH IKEv2: IKE ESP AH NSS(MODP) dh5 MODP2048 IKEv1: IKE ESP AH IKEv2: IKE ESP AH FIPS NSS(MODP) dh14 MODP3072 IKEv1: IKE ESP AH IKEv2: IKE ESP AH FIPS NSS(MODP) dh15 MODP4096 IKEv1: IKE ESP AH IKEv2: IKE ESP AH FIPS NSS(MODP) dh16 MODP6144 IKEv1: IKE ESP AH IKEv2: IKE ESP AH FIPS NSS(MODP) dh17 MODP8192 IKEv1: IKE ESP AH IKEv2: IKE ESP AH FIPS NSS(MODP) dh18 DH19 IKEv1: IKE IKEv2: IKE ESP AH FIPS NSS(ECP) ecp_256, ecp256 DH20 IKEv1: IKE IKEv2: IKE ESP AH FIPS NSS(ECP) ecp_384, ecp384 DH21 IKEv1: IKE IKEv2: IKE ESP AH FIPS NSS(ECP) ecp_521, ecp521 DH31 IKEv1: IKE IKEv2: IKE ESP AH NSS(ECP) curve25519 testing CAMELLIA_CBC: Camellia: 16 bytes with 128-bit key Camellia: 16 bytes with 128-bit key Camellia: 16 bytes with 256-bit key Camellia: 16 bytes with 256-bit key testing AES_GCM_16: empty string one block two blocks two blocks with associated data testing AES_CTR: Encrypting 16 octets using AES-CTR with 128-bit key Encrypting 32 octets using AES-CTR with 128-bit key Encrypting 36 octets using AES-CTR with 128-bit key Encrypting 16 octets using AES-CTR with 192-bit key Encrypting 32 octets using AES-CTR with 192-bit key Encrypting 36 octets using AES-CTR with 192-bit key Encrypting 16 octets using AES-CTR with 256-bit key Encrypting 32 octets using AES-CTR with 256-bit key Encrypting 36 octets using AES-CTR with 256-bit key testing AES_CBC: Encrypting 16 bytes (1 block) using AES-CBC with 128-bit key Encrypting 32 bytes (2 blocks) using AES-CBC with 128-bit key Encrypting 48 bytes (3 blocks) using AES-CBC with 128-bit key Encrypting 64 bytes (4 blocks) using AES-CBC with 128-bit key testing AES_XCBC: RFC 3566 Test Case 1: AES-XCBC-MAC-96 with 0-byte input RFC 3566 Test Case 2: AES-XCBC-MAC-96 with 3-byte input RFC 3566 Test Case 3: AES-XCBC-MAC-96 with 16-byte input RFC 3566 Test Case 4: AES-XCBC-MAC-96 with 20-byte input RFC 3566 Test Case 5: AES-XCBC-MAC-96 with 32-byte input RFC 3566 Test Case 6: AES-XCBC-MAC-96 with 34-byte input RFC 3566 Test Case 7: AES-XCBC-MAC-96 with 1000-byte input RFC 4434 Test Case AES-XCBC-PRF-128 with 20-byte input (key length 16) RFC 4434 Test Case AES-XCBC-PRF-128 with 20-byte input (key length 10) RFC 4434 Test Case AES-XCBC-PRF-128 with 20-byte input (key length 18) testing HMAC_MD5: RFC 2104: MD5_HMAC test 1 RFC 2104: MD5_HMAC test 2 RFC 2104: MD5_HMAC test 3 no helpers will be started; all cryptographic operations will be done inline Using Linux XFRM/NETKEY IPsec kernel support code on 5.8.15-201.fc32.x86_64 | Hard-wiring algorithms | adding AES_CCM_16 to kernel algorithm db | adding AES_CCM_12 to kernel algorithm db | adding AES_CCM_8 to kernel algorithm db | adding 3DES_CBC to kernel algorithm db | adding CAMELLIA_CBC to kernel algorithm db | adding AES_GCM_16 to kernel algorithm db | adding AES_GCM_12 to kernel algorithm db | adding AES_GCM_8 to kernel algorithm db | adding AES_CTR to kernel algorithm db | adding AES_CBC to kernel algorithm db | adding NULL_AUTH_AES_GMAC to kernel algorithm db | adding NULL to kernel algorithm db | adding CHACHA20_POLY1305 to kernel algorithm db | adding HMAC_MD5_96 to kernel algorithm db | adding HMAC_SHA1_96 to kernel algorithm db | adding HMAC_SHA2_512_256 to kernel algorithm db | adding HMAC_SHA2_384_192 to kernel algorithm db | adding HMAC_SHA2_256_128 to kernel algorithm db | adding HMAC_SHA2_256_TRUNCBUG to kernel algorithm db | adding AES_XCBC_96 to kernel algorithm db | adding AES_CMAC_96 to kernel algorithm db | adding NONE to kernel algorithm db | net.ipv6.conf.all.disable_ipv6=1 ignore ipv6 holes | global periodic timer EVENT_SHUNT_SCAN enabled with interval of 20 seconds | setup kernel fd callback | add_fd_read_event_handler: newref KERNEL_XRM_FD-pe@0x5635471355e8 | libevent_malloc: newref ptr-libevent@0x5635470fb038 size 128 | libevent_malloc: newref ptr-libevent@0x56354712e838 size 16 | add_fd_read_event_handler: newref KERNEL_ROUTE_FD-pe@0x563547135658 | libevent_malloc: newref ptr-libevent@0x5635470fb298 size 128 | libevent_malloc: newref ptr-libevent@0x56354712e1f8 size 16 | global one-shot timer EVENT_CHECK_CRLS initialized SELinux support is enabled in PERMISSIVE mode. | unbound context created - setting debug level to 5 | /etc/hosts lookups activated | /etc/resolv.conf usage activated | outgoing-port-avoid set 0-65535 | outgoing-port-permit set 32768-60999 | loading dnssec root key from:/var/lib/unbound/root.key | no additional dnssec trust anchors defined via dnssec-trusted= option | Setting up events, loop start | add_fd_read_event_handler: newref PLUTO_CTL_FD-pe@0x56354713a668 | libevent_malloc: newref ptr-libevent@0x563547135778 size 128 | libevent_malloc: newref ptr-libevent@0x56354712ec18 size 16 | libevent_realloc: newref ptr-libevent@0x56354713a6d8 size 256 | libevent_malloc: newref ptr-libevent@0x56354712e878 size 8 | libevent_realloc: newref ptr-libevent@0x563547135b58 size 144 | libevent_malloc: newref ptr-libevent@0x56354708de58 size 152 | libevent_malloc: newref ptr-libevent@0x56354712ea28 size 16 | signal event handler PLUTO_SIGCHLD installed | libevent_malloc: newref ptr-libevent@0x56354713a808 size 8 | libevent_malloc: newref ptr-libevent@0x56354708dbb8 size 152 | signal event handler PLUTO_SIGTERM installed | libevent_malloc: newref ptr-libevent@0x56354713a848 size 8 | libevent_malloc: newref ptr-libevent@0x56354713a888 size 152 | signal event handler PLUTO_SIGHUP installed | libevent_malloc: newref ptr-libevent@0x56354713a958 size 8 | libevent_realloc: delref ptr-libevent@0x563547135b58 | libevent_realloc: newref ptr-libevent@0x56354713a998 size 256 | libevent_malloc: newref ptr-libevent@0x56354713aac8 size 152 | signal event handler PLUTO_SIGSYS installed | created addconn helper (pid:2186253) using fork+execve | forked child 2186253 seccomp security disabled | newref struct fd@0x56354713ac28(0->1) (in whack_handle_cb() at rcv_whack.c:869) | fd_accept: new fd-fd@0x56354713ac28 (in whack_handle_cb() at rcv_whack.c:869) | whack: listen listening for IKE messages | Inspecting interface lo | found lo with address 127.0.0.1 | Inspecting interface eth0 | found eth0 with address 192.0.2.254 | Inspecting interface eth1 | found eth1 with address 192.1.2.23 | newref struct iface_dev@0x56354713b0c8(0->1) (in add_iface_dev() at iface.c:67) Kernel supports NIC esp-hw-offload | iface: marking eth1 add | newref struct iface_dev@0x56354713b1f8(0->1) (in add_iface_dev() at iface.c:67) | iface: marking eth0 add | newref struct iface_dev@0x56354713b2c8(0->1) (in add_iface_dev() at iface.c:67) | iface: marking lo add | no interfaces to sort | MSG_ERRQUEUE enabled on fd 16 | addref ifd@0x56354713b0c8(1->2) (in bind_iface_port() at iface.c:237) adding UDP interface eth1 192.1.2.23:500 | MSG_ERRQUEUE enabled on fd 17 | NAT-Traversal: Trying sockopt style NAT-T | NAT-Traversal: ESPINUDP(2) setup succeeded for sockopt style NAT-T family IPv4 | addref ifd@0x56354713b0c8(2->3) (in bind_iface_port() at iface.c:237) adding UDP interface eth1 192.1.2.23:4500 | MSG_ERRQUEUE enabled on fd 18 | addref ifd@0x56354713b1f8(1->2) (in bind_iface_port() at iface.c:237) adding UDP interface eth0 192.0.2.254:500 | MSG_ERRQUEUE enabled on fd 19 | NAT-Traversal: Trying sockopt style NAT-T | NAT-Traversal: ESPINUDP(2) setup succeeded for sockopt style NAT-T family IPv4 | addref ifd@0x56354713b1f8(2->3) (in bind_iface_port() at iface.c:237) adding UDP interface eth0 192.0.2.254:4500 | MSG_ERRQUEUE enabled on fd 20 | addref ifd@0x56354713b2c8(1->2) (in bind_iface_port() at iface.c:237) adding UDP interface lo 127.0.0.1:500 | MSG_ERRQUEUE enabled on fd 21 | NAT-Traversal: Trying sockopt style NAT-T | NAT-Traversal: ESPINUDP(2) setup succeeded for sockopt style NAT-T family IPv4 | addref ifd@0x56354713b2c8(2->3) (in bind_iface_port() at iface.c:237) adding UDP interface lo 127.0.0.1:4500 | updating interfaces - listing interfaces that are going down | updating interfaces - checking orientation | FOR_EACH_UNORIENTED_CONNECTION_... in check_orientations | libevent_malloc: newref ptr-libevent@0x5635471356c8 size 128 | libevent_malloc: newref ptr-libevent@0x56354713bc38 size 16 | setup callback for interface lo 127.0.0.1:4500 fd 21 on UDP | libevent_malloc: newref ptr-libevent@0x5635470f7c98 size 128 | libevent_malloc: newref ptr-libevent@0x56354713bc78 size 16 | setup callback for interface lo 127.0.0.1:500 fd 20 on UDP | libevent_malloc: newref ptr-libevent@0x5635470f0448 size 128 | libevent_malloc: newref ptr-libevent@0x56354713bcb8 size 16 | setup callback for interface eth0 192.0.2.254:4500 fd 19 on UDP | libevent_malloc: newref ptr-libevent@0x5635470f7d98 size 128 | libevent_malloc: newref ptr-libevent@0x56354713bcf8 size 16 | setup callback for interface eth0 192.0.2.254:500 fd 18 on UDP | libevent_malloc: newref ptr-libevent@0x5635470fb198 size 128 | libevent_malloc: newref ptr-libevent@0x56354713bd38 size 16 | setup callback for interface eth1 192.1.2.23:4500 fd 17 on UDP | libevent_malloc: newref ptr-libevent@0x5635470fb0e8 size 128 | libevent_malloc: newref ptr-libevent@0x56354713bd78 size 16 | setup callback for interface eth1 192.1.2.23:500 fd 16 on UDP | no stale xfrmi interface 'ipsec1' found | certs and keys locked by 'free_preshared_secrets' | certs and keys unlocked by 'free_preshared_secrets' loading secrets from "/etc/ipsec.secrets" | id type added to secret(0x56354713d688) PKK_PSK: @east | id type added to secret(0x56354713d688) PKK_PSK: @west | processing PSK at line 1: passed | certs and keys locked by 'process_secret' | certs and keys unlocked by 'process_secret' | old food groups: | new food groups: | delref fd@0x56354713ac28(1->0) (in whack_handle_cb() at rcv_whack.c:903) | freeref fd-fd@0x56354713ac28 (in whack_handle_cb() at rcv_whack.c:903) | spent 0.654 (2.16) milliseconds in whack | processing signal PLUTO_SIGCHLD | waitpid returned pid 2186253 (exited with status 0) | reaped addconn helper child (status 0) | waitpid returned ECHILD (no child processes left) | spent 0.0142 (0.0141) milliseconds in signal handler PLUTO_SIGCHLD | newref struct fd@0x56354713ac68(0->1) (in whack_handle_cb() at rcv_whack.c:869) | fd_accept: new fd-fd@0x56354713ac68 (in whack_handle_cb() at rcv_whack.c:869) | whack: options (impair|debug) | old debugging base+cpu-usage + none | new debugging = base+cpu-usage | delref fd@0x56354713ac68(1->0) (in whack_handle_cb() at rcv_whack.c:903) | freeref fd-fd@0x56354713ac68 (in whack_handle_cb() at rcv_whack.c:903) | spent 0.0657 (0.077) milliseconds in whack | newref struct fd@0x56354713aca8(0->1) (in whack_handle_cb() at rcv_whack.c:869) | fd_accept: new fd-fd@0x56354713aca8 (in whack_handle_cb() at rcv_whack.c:869) | whack: delete 'westnet-eastnet-ipv4-psk-ikev2' | FOR_EACH_CONNECTION_... in conn_by_name | FOR_EACH_CONNECTION_... in foreach_connection_by_alias | FOR_EACH_CONNECTION_... in conn_by_name | FOR_EACH_CONNECTION_... in foreach_connection_by_alias | whack: connection 'westnet-eastnet-ipv4-psk-ikev2' | addref fd@0x56354713aca8(1->2) (in string_logger() at log.c:838) | newref string logger@0x56354712f1d8(0->1) (in add_connection() at connections.c:1998) | Connection DB: adding connection "westnet-eastnet-ipv4-psk-ikev2" $1 | FOR_EACH_CONNECTION_... in conn_by_name | added new connection westnet-eastnet-ipv4-psk-ikev2 with policy PSK+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+IKE_FRAG_ALLOW+ESN_NO | ike (phase1) algorithm values: AES_GCM_16_256-HMAC_SHA2_512+HMAC_SHA2_256-MODP2048+MODP3072+MODP4096+MODP8192+DH19+DH20+DH21+DH31, AES_GCM_16_128-HMAC_SHA2_512+HMAC_SHA2_256-MODP2048+MODP3072+MODP4096+MODP8192+DH19+DH20+DH21+DH31, AES_CBC_256-HMAC_SHA2_512+HMAC_SHA2_256-MODP2048+MODP3072+MODP4096+MODP8192+DH19+DH20+DH21+DH31, AES_CBC_128-HMAC_SHA2_512+HMAC_SHA2_256-MODP2048+MODP3072+MODP4096+MODP8192+DH19+DH20+DH21+DH31 | from whack: got --esp= | ESP/AH string values: AES_GCM_16_256-NONE, AES_GCM_16_128-NONE, AES_CBC_256-HMAC_SHA2_512_256+HMAC_SHA2_256_128, AES_CBC_128-HMAC_SHA2_512_256+HMAC_SHA2_256_128 | counting wild cards for @west is 0 | counting wild cards for @east is 0 | updating connection from left.host_addr | left host_port 500 | updating connection from right.host_addr | right host_port 500 | orienting westnet-eastnet-ipv4-psk-ikev2 | westnet-eastnet-ipv4-psk-ikev2 doesn't match 127.0.0.1:4500 at all | westnet-eastnet-ipv4-psk-ikev2 doesn't match 127.0.0.1:500 at all | westnet-eastnet-ipv4-psk-ikev2 doesn't match 192.0.2.254:4500 at all | westnet-eastnet-ipv4-psk-ikev2 doesn't match 192.0.2.254:500 at all | westnet-eastnet-ipv4-psk-ikev2 doesn't match 192.1.2.23:4500 at all | oriented westnet-eastnet-ipv4-psk-ikev2's that | swapping ends so that that is this | connect_to_host_pair: 192.1.2.23:500 192.1.2.45:500 -> hp@(nil): none | newref hp@0x56354713def8(0->1) (in connect_to_host_pair() at hostpair.c:290) added IKEv2 connection "westnet-eastnet-ipv4-psk-ikev2" | ike_life: 3600; ipsec_life: 28800s; rekey_margin: 540s; rekey_fuzz: 100%; keyingtries: 0; replay_window: 32; policy: PSK+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+IKE_FRAG_ALLOW+ESN_NO | 192.0.2.0/24===192.1.2.23<192.1.2.23>[@east]...192.1.2.45<192.1.2.45>[@west]===192.0.1.0/24 | delref logger@0x56354712f1d8(1->0) (in add_connection() at connections.c:2026) | delref fd@0x56354713aca8(2->1) (in free_logger() at log.c:853) | delref fd@NULL (in free_logger() at log.c:854) | delref fd@0x56354713aca8(1->0) (in whack_handle_cb() at rcv_whack.c:903) | freeref fd-fd@0x56354713aca8 (in whack_handle_cb() at rcv_whack.c:903) | spent 0.273 (0.274) milliseconds in whack | spent 0.00408 (0.00398) milliseconds in udp_read_packet() calling check_incoming_msg_errqueue() | newref struct msg_digest@0x56354713dfa8(0->1) (in read_message() at demux.c:103) | newref alloc logger@0x56354713add8(0->1) (in read_message() at demux.c:103) | *received 828 bytes from 192.1.2.45:500 on eth1 192.1.2.23:500 using UDP | 6e fb c7 cf d0 9d 6c eb 00 00 00 00 00 00 00 00 | 21 20 22 08 00 00 00 00 00 00 03 3c 22 00 01 b4 | 02 00 00 64 01 01 00 0b 03 00 00 0c 01 00 00 14 | 80 0e 01 00 03 00 00 08 02 00 00 07 03 00 00 08 | 02 00 00 05 03 00 00 08 04 00 00 0e 03 00 00 08 | 04 00 00 0f 03 00 00 08 04 00 00 10 03 00 00 08 | 04 00 00 12 03 00 00 08 04 00 00 13 03 00 00 08 | 04 00 00 14 03 00 00 08 04 00 00 15 00 00 00 08 | 04 00 00 1f 02 00 00 64 02 01 00 0b 03 00 00 0c | 01 00 00 14 80 0e 00 80 03 00 00 08 02 00 00 07 | 03 00 00 08 02 00 00 05 03 00 00 08 04 00 00 0e | 03 00 00 08 04 00 00 0f 03 00 00 08 04 00 00 10 | 03 00 00 08 04 00 00 12 03 00 00 08 04 00 00 13 | 03 00 00 08 04 00 00 14 03 00 00 08 04 00 00 15 | 00 00 00 08 04 00 00 1f 02 00 00 74 03 01 00 0d | 03 00 00 0c 01 00 00 0c 80 0e 01 00 03 00 00 08 | 02 00 00 07 03 00 00 08 02 00 00 05 03 00 00 08 | 03 00 00 0e 03 00 00 08 03 00 00 0c 03 00 00 08 | 04 00 00 0e 03 00 00 08 04 00 00 0f 03 00 00 08 | 04 00 00 10 03 00 00 08 04 00 00 12 03 00 00 08 | 04 00 00 13 03 00 00 08 04 00 00 14 03 00 00 08 | 04 00 00 15 00 00 00 08 04 00 00 1f 00 00 00 74 | 04 01 00 0d 03 00 00 0c 01 00 00 0c 80 0e 00 80 | 03 00 00 08 02 00 00 07 03 00 00 08 02 00 00 05 | 03 00 00 08 03 00 00 0e 03 00 00 08 03 00 00 0c | 03 00 00 08 04 00 00 0e 03 00 00 08 04 00 00 0f | 03 00 00 08 04 00 00 10 03 00 00 08 04 00 00 12 | 03 00 00 08 04 00 00 13 03 00 00 08 04 00 00 14 | 03 00 00 08 04 00 00 15 00 00 00 08 04 00 00 1f | 28 00 01 08 00 0e 00 00 51 f3 2a ca 1a 74 0f 7e | 7c 24 b3 ee 04 44 17 a9 31 12 e3 06 84 ec f4 a6 | 7d cf d6 41 3b ff 93 93 f4 46 23 ad 90 14 95 a0 | bc 31 75 a1 2a 8c f3 a1 7d b1 48 85 cb f1 f8 89 | 64 1b 3f 04 09 cb e2 99 06 bd d8 a1 d2 a4 1b 1f | 1a 80 63 1d 02 3a 04 8d 88 40 fb e6 ab e1 33 eb | 6f f3 2e 22 14 e1 f6 2a 0a 69 eb 17 71 e3 f2 ab | ff 8a d1 28 a5 d6 5f 51 65 29 4a 32 c1 95 d9 e3 | c1 f2 d8 93 ca 24 c7 57 fd a3 cf 96 54 17 3b 4e | eb 6d f7 ad 22 fd 10 17 07 4d a4 ba 0d 41 e8 49 | 9f c5 fd 85 db c9 3a e9 1c 00 01 a1 b9 58 bf 93 | d1 d6 9b c7 e1 7e 52 7b a9 c8 a1 ce a0 da 65 a5 | 2a 37 18 4b 80 bf bd ff 9f ed 75 08 1a 8e 80 91 | 65 83 bd 48 6c d8 19 a3 15 24 66 ba 12 03 3c 89 | 28 db 92 76 41 0a 80 f8 7e 66 27 62 88 7d f5 50 | f6 94 5e eb 2d c7 dc 66 48 8b a4 bc a5 38 ad f6 | c6 cd 40 75 ca f7 45 ce 29 00 00 24 70 f4 b7 6b | 05 52 b8 2c 2a f9 9b 60 99 9a d8 d5 86 3a 61 c2 | f2 92 3c bc bb 79 82 ab 3d 2c c0 f4 29 00 00 08 | 00 00 40 2e 29 00 00 1c 00 00 40 04 90 07 49 f3 | 19 32 12 ac 79 83 2c f9 52 d4 18 85 30 1e 70 e1 | 00 00 00 1c 00 00 40 05 f8 d1 b8 fc 93 08 6d 2f | c7 51 ac 0c 9f 45 ff 96 41 21 ef 3d | **parse ISAKMP Message: | initiator SPI: 6e fb c7 cf d0 9d 6c eb | responder SPI: 00 00 00 00 00 00 00 00 | next payload type: ISAKMP_NEXT_v2SA (0x21) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_IKE_SA_INIT (0x22) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 0 (00 00 00 00) | length: 828 (00 00 03 3c) | processing version=2.0 packet with exchange type=ISAKMP_v2_IKE_SA_INIT (34) | I am the IKE SA Original Responder receiving an IKEv2 IKE_SA_INIT request | State DB: IKEv2 state not found (find_v2_ike_sa_by_initiator_spi) | Now let's proceed with payload (ISAKMP_NEXT_v2SA) | ***parse IKEv2 Security Association Payload: | next payload type: ISAKMP_NEXT_v2KE (0x22) | flags: none (0x0) | length: 436 (01 b4) | processing payload: ISAKMP_NEXT_v2SA (len=432) | Now let's proceed with payload (ISAKMP_NEXT_v2KE) | ***parse IKEv2 Key Exchange Payload: | next payload type: ISAKMP_NEXT_v2Ni (0x28) | flags: none (0x0) | length: 264 (01 08) | DH group: OAKLEY_GROUP_MODP2048 (0xe) | processing payload: ISAKMP_NEXT_v2KE (len=256) | Now let's proceed with payload (ISAKMP_NEXT_v2Ni) | ***parse IKEv2 Nonce Payload: | next payload type: ISAKMP_NEXT_v2N (0x29) | flags: none (0x0) | length: 36 (00 24) | processing payload: ISAKMP_NEXT_v2Ni (len=32) | Now let's proceed with payload (ISAKMP_NEXT_v2N) | ***parse IKEv2 Notify Payload: | next payload type: ISAKMP_NEXT_v2N (0x29) | flags: none (0x0) | length: 8 (00 08) | Protocol ID: IKEv2_SEC_PROTO_NONE (0x0) | SPI size: 0 (00) | Notify Message Type: v2N_IKEV2_FRAGMENTATION_SUPPORTED (0x402e) | processing payload: ISAKMP_NEXT_v2N (len=0) | Now let's proceed with payload (ISAKMP_NEXT_v2N) | ***parse IKEv2 Notify Payload: | next payload type: ISAKMP_NEXT_v2N (0x29) | flags: none (0x0) | length: 28 (00 1c) | Protocol ID: IKEv2_SEC_PROTO_NONE (0x0) | SPI size: 0 (00) | Notify Message Type: v2N_NAT_DETECTION_SOURCE_IP (0x4004) | processing payload: ISAKMP_NEXT_v2N (len=20) | Now let's proceed with payload (ISAKMP_NEXT_v2N) | ***parse IKEv2 Notify Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | length: 28 (00 1c) | Protocol ID: IKEv2_SEC_PROTO_NONE (0x0) | SPI size: 0 (00) | Notify Message Type: v2N_NAT_DETECTION_DESTINATION_IP (0x4005) | processing payload: ISAKMP_NEXT_v2N (len=20) | DDOS disabled and no cookie sent, continuing | looking for message matching transition from STATE_PARENT_R0 | trying Respond to IKE_SA_INIT | matched unencrypted message | find_host_connection local=192.1.2.23:500 remote=192.1.2.45:500 policy=ECDSA+IKEV2_ALLOW but ignoring ports | find_host_pair: comparing 192.1.2.23:500 to 192.1.2.45:500 but ignoring ports | find_next_host_connection policy=ECDSA+IKEV2_ALLOW | found policy = PSK+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+IKE_FRAG_ALLOW+ESN_NO (westnet-eastnet-ipv4-psk-ikev2) | find_next_host_connection returns | find_host_connection local=192.1.2.23:500 remote= policy=ECDSA+IKEV2_ALLOW but ignoring ports | find_next_host_connection policy=ECDSA+IKEV2_ALLOW | find_next_host_connection returns | ISAKMP_v2_IKE_SA_INIT message received on 192.1.2.23:500 but no connection has been authorized with policy ECDSA+IKEV2_ALLOW | find_host_connection local=192.1.2.23:500 remote=192.1.2.45:500 policy=RSASIG+IKEV2_ALLOW but ignoring ports | find_host_pair: comparing 192.1.2.23:500 to 192.1.2.45:500 but ignoring ports | find_next_host_connection policy=RSASIG+IKEV2_ALLOW | found policy = PSK+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+IKE_FRAG_ALLOW+ESN_NO (westnet-eastnet-ipv4-psk-ikev2) | find_next_host_connection returns | find_host_connection local=192.1.2.23:500 remote= policy=RSASIG+IKEV2_ALLOW but ignoring ports | find_next_host_connection policy=RSASIG+IKEV2_ALLOW | find_next_host_connection returns | ISAKMP_v2_IKE_SA_INIT message received on 192.1.2.23:500 but no connection has been authorized with policy RSASIG+IKEV2_ALLOW | find_host_connection local=192.1.2.23:500 remote=192.1.2.45:500 policy=PSK+IKEV2_ALLOW but ignoring ports | find_host_pair: comparing 192.1.2.23:500 to 192.1.2.45:500 but ignoring ports | find_next_host_connection policy=PSK+IKEV2_ALLOW | found policy = PSK+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+IKE_FRAG_ALLOW+ESN_NO (westnet-eastnet-ipv4-psk-ikev2) | find_next_host_connection returns "westnet-eastnet-ipv4-psk-ikev2" | find_next_host_connection policy=PSK+IKEV2_ALLOW | find_next_host_connection returns | found connection: "westnet-eastnet-ipv4-psk-ikev2" with policy PSK+IKEV2_ALLOW | newref alloc logger@0x56354712f168(0->1) (in new_state() at state.c:576) | addref fd@NULL (in new_state() at state.c:577) | creating state object #1 at 0x56354713f918 | State DB: adding IKEv2 state #1 in UNDEFINED | pstats #1 ikev2.ike started | parent state #1: UNDEFINED(ignore) => PARENT_R0(half-open IKE SA) | #1.st_v2_transition NULL -> PARENT_R0->PARENT_R1 (in new_v2_ike_state() at state.c:620) | Message ID: IKE #1 initializing (IKE SA): ike.initiator.sent=0->-1 ike.initiator.recv=0->-1 ike.initiator.last_contact=0->744604.140302 ike.responder.sent=0->-1 ike.responder.recv=0->-1 ike.responder.last_contact=0->744604.140302 ike.wip.initiator=0->-1 ike.wip.responder=0->-1 | orienting westnet-eastnet-ipv4-psk-ikev2 | westnet-eastnet-ipv4-psk-ikev2 doesn't match 127.0.0.1:4500 at all | westnet-eastnet-ipv4-psk-ikev2 doesn't match 127.0.0.1:500 at all | westnet-eastnet-ipv4-psk-ikev2 doesn't match 192.0.2.254:4500 at all | westnet-eastnet-ipv4-psk-ikev2 doesn't match 192.0.2.254:500 at all | westnet-eastnet-ipv4-psk-ikev2 doesn't match 192.1.2.23:4500 at all | oriented westnet-eastnet-ipv4-psk-ikev2's this | start processing: state #1 connection "westnet-eastnet-ipv4-psk-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:1758) | Message ID: IKE #1 responder starting message request 0: ike.initiator.sent=-1 ike.initiator.recv=-1 ike.initiator.last_contact=744604.140302 ike.responder.sent=-1 ike.responder.recv=-1 ike.responder.last_contact=744604.140302 ike.wip.initiator=-1 ike.wip.responder=-1->0 | calling processor Respond to IKE_SA_INIT | #1 updating local interface from 192.1.2.23:500 to 192.1.2.23:500 using md->iface (in update_ike_endpoints() at state.c:2631) | constructing local IKE proposals for westnet-eastnet-ipv4-psk-ikev2 (IKE SA responder matching remote proposals) | converting ike_info AES_GCM_16_256-HMAC_SHA2_512+HMAC_SHA2_256-MODP2048+MODP3072+MODP4096+MODP8192+DH19+DH20+DH21+DH31 to ikev2 ... | ... ikev2_proposal: 1:IKE=AES_GCM_C_256-HMAC_SHA2_512+HMAC_SHA2_256-NONE-MODP2048+MODP3072+MODP4096+MODP8192+ECP_256+ECP_384+ECP_521+CURVE25519 | converting ike_info AES_GCM_16_128-HMAC_SHA2_512+HMAC_SHA2_256-MODP2048+MODP3072+MODP4096+MODP8192+DH19+DH20+DH21+DH31 to ikev2 ... | ... ikev2_proposal: 2:IKE=AES_GCM_C_128-HMAC_SHA2_512+HMAC_SHA2_256-NONE-MODP2048+MODP3072+MODP4096+MODP8192+ECP_256+ECP_384+ECP_521+CURVE25519 | converting ike_info AES_CBC_256-HMAC_SHA2_512+HMAC_SHA2_256-MODP2048+MODP3072+MODP4096+MODP8192+DH19+DH20+DH21+DH31 to ikev2 ... | ... ikev2_proposal: 3:IKE=AES_CBC_256-HMAC_SHA2_512+HMAC_SHA2_256-HMAC_SHA2_512_256+HMAC_SHA2_256_128-MODP2048+MODP3072+MODP4096+MODP8192+ECP_256+ECP_384+ECP_521+CURVE25519 | converting ike_info AES_CBC_128-HMAC_SHA2_512+HMAC_SHA2_256-MODP2048+MODP3072+MODP4096+MODP8192+DH19+DH20+DH21+DH31 to ikev2 ... | ... ikev2_proposal: 4:IKE=AES_CBC_128-HMAC_SHA2_512+HMAC_SHA2_256-HMAC_SHA2_512_256+HMAC_SHA2_256_128-MODP2048+MODP3072+MODP4096+MODP8192+ECP_256+ECP_384+ECP_521+CURVE25519 "westnet-eastnet-ipv4-psk-ikev2": local IKE proposals (IKE SA responder matching remote proposals): "westnet-eastnet-ipv4-psk-ikev2": 1:IKE=AES_GCM_C_256-HMAC_SHA2_512+HMAC_SHA2_256-NONE-MODP2048+MODP3072+MODP4096+MODP8192+ECP_256+ECP_384+ECP_521+CURVE25519 "westnet-eastnet-ipv4-psk-ikev2": 2:IKE=AES_GCM_C_128-HMAC_SHA2_512+HMAC_SHA2_256-NONE-MODP2048+MODP3072+MODP4096+MODP8192+ECP_256+ECP_384+ECP_521+CURVE25519 "westnet-eastnet-ipv4-psk-ikev2": 3:IKE=AES_CBC_256-HMAC_SHA2_512+HMAC_SHA2_256-HMAC_SHA2_512_256+HMAC_SHA2_256_128-MODP2048+MODP3072+MODP4096+MODP8192+ECP_256+ECP_384+ECP_521+CURVE25519 "westnet-eastnet-ipv4-psk-ikev2": 4:IKE=AES_CBC_128-HMAC_SHA2_512+HMAC_SHA2_256-HMAC_SHA2_512_256+HMAC_SHA2_256_128-MODP2048+MODP3072+MODP4096+MODP8192+ECP_256+ECP_384+ECP_521+CURVE25519 | comparing remote proposals against IKE responder 4 local proposals | local proposal 1 type ENCR has 1 transforms | local proposal 1 type PRF has 2 transforms | local proposal 1 type INTEG has 1 transforms | local proposal 1 type DH has 8 transforms | local proposal 1 type ESN has 0 transforms | local proposal 1 transforms: required: ENCR+PRF+DH; optional: INTEG | local proposal 2 type ENCR has 1 transforms | local proposal 2 type PRF has 2 transforms | local proposal 2 type INTEG has 1 transforms | local proposal 2 type DH has 8 transforms | local proposal 2 type ESN has 0 transforms | local proposal 2 transforms: required: ENCR+PRF+DH; optional: INTEG | local proposal 3 type ENCR has 1 transforms | local proposal 3 type PRF has 2 transforms | local proposal 3 type INTEG has 2 transforms | local proposal 3 type DH has 8 transforms | local proposal 3 type ESN has 0 transforms | local proposal 3 transforms: required: ENCR+PRF+INTEG+DH; optional: none | local proposal 4 type ENCR has 1 transforms | local proposal 4 type PRF has 2 transforms | local proposal 4 type INTEG has 2 transforms | local proposal 4 type DH has 8 transforms | local proposal 4 type ESN has 0 transforms | local proposal 4 transforms: required: ENCR+PRF+INTEG+DH; optional: none | ****parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_NON_LAST (0x2) | length: 100 (00 64) | prop #: 1 (01) | proto ID: IKEv2_SEC_PROTO_IKE (0x1) | spi size: 0 (00) | # transforms: 11 (0b) | Comparing remote proposal 1 containing 11 transforms against local proposal [1..4] of 4 local proposals | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 12 (00 0c) | IKEv2 transform type: TRANS_TYPE_ENCR (0x1) | IKEv2 transform ID: AES_GCM_C (0x14) | ******parse IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 256 (01 00) | remote proposal 1 transform 0 (ENCR=AES_GCM_C_256) matches local proposal 1 type 1 (ENCR) transform 0 | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (00 08) | IKEv2 transform type: TRANS_TYPE_PRF (0x2) | IKEv2 transform ID: PRF_HMAC_SHA2_512 (0x7) | remote proposal 1 transform 1 (PRF=HMAC_SHA2_512) matches local proposal 1 type 2 (PRF) transform 0 | remote proposal 1 transform 1 (PRF=HMAC_SHA2_512) matches local proposal 2 type 2 (PRF) transform 0 | remote proposal 1 transform 1 (PRF=HMAC_SHA2_512) matches local proposal 3 type 2 (PRF) transform 0 | remote proposal 1 transform 1 (PRF=HMAC_SHA2_512) matches local proposal 4 type 2 (PRF) transform 0 | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (00 08) | IKEv2 transform type: TRANS_TYPE_PRF (0x2) | IKEv2 transform ID: PRF_HMAC_SHA2_256 (0x5) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (00 08) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP2048 (0xe) | remote proposal 1 transform 3 (DH=MODP2048) matches local proposal 1 type 4 (DH) transform 0 | remote proposal 1 transform 3 (DH=MODP2048) matches local proposal 2 type 4 (DH) transform 0 | remote proposal 1 transform 3 (DH=MODP2048) matches local proposal 3 type 4 (DH) transform 0 | remote proposal 1 transform 3 (DH=MODP2048) matches local proposal 4 type 4 (DH) transform 0 | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (00 08) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP3072 (0xf) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (00 08) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP4096 (0x10) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (00 08) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP8192 (0x12) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (00 08) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_ECP_256 (0x13) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (00 08) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_ECP_384 (0x14) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (00 08) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_ECP_521 (0x15) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_LAST (0x0) | length: 8 (00 08) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_CURVE25519 (0x1f) | remote proposal 1 proposed transforms: ENCR+PRF+DH; matched: ENCR+PRF+DH; unmatched: none | comparing remote proposal 1 containing ENCR+PRF+DH transforms to local proposal 1; required: ENCR+PRF+DH; optional: INTEG; matched: ENCR+PRF+DH | remote proposal 1 matches local proposal 1 | ****parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_NON_LAST (0x2) | length: 100 (00 64) | prop #: 2 (02) | proto ID: IKEv2_SEC_PROTO_IKE (0x1) | spi size: 0 (00) | # transforms: 11 (0b) | Comparing remote proposal 2 containing 11 transforms against local proposal [1..0] of 4 local proposals | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 12 (00 0c) | IKEv2 transform type: TRANS_TYPE_ENCR (0x1) | IKEv2 transform ID: AES_GCM_C (0x14) | ******parse IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 128 (00 80) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (00 08) | IKEv2 transform type: TRANS_TYPE_PRF (0x2) | IKEv2 transform ID: PRF_HMAC_SHA2_512 (0x7) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (00 08) | IKEv2 transform type: TRANS_TYPE_PRF (0x2) | IKEv2 transform ID: PRF_HMAC_SHA2_256 (0x5) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (00 08) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP2048 (0xe) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (00 08) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP3072 (0xf) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (00 08) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP4096 (0x10) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (00 08) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP8192 (0x12) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (00 08) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_ECP_256 (0x13) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (00 08) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_ECP_384 (0x14) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (00 08) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_ECP_521 (0x15) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_LAST (0x0) | length: 8 (00 08) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_CURVE25519 (0x1f) | remote proposal 2 proposed transforms: ENCR+PRF+DH; matched: none; unmatched: ENCR+PRF+DH | remote proposal 2 does not match; unmatched remote transforms: ENCR+PRF+DH | ****parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_NON_LAST (0x2) | length: 116 (00 74) | prop #: 3 (03) | proto ID: IKEv2_SEC_PROTO_IKE (0x1) | spi size: 0 (00) | # transforms: 13 (0d) | Comparing remote proposal 3 containing 13 transforms against local proposal [1..0] of 4 local proposals | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 12 (00 0c) | IKEv2 transform type: TRANS_TYPE_ENCR (0x1) | IKEv2 transform ID: AES_CBC (0xc) | ******parse IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 256 (01 00) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (00 08) | IKEv2 transform type: TRANS_TYPE_PRF (0x2) | IKEv2 transform ID: PRF_HMAC_SHA2_512 (0x7) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (00 08) | IKEv2 transform type: TRANS_TYPE_PRF (0x2) | IKEv2 transform ID: PRF_HMAC_SHA2_256 (0x5) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (00 08) | IKEv2 transform type: TRANS_TYPE_INTEG (0x3) | IKEv2 transform ID: AUTH_HMAC_SHA2_512_256 (0xe) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (00 08) | IKEv2 transform type: TRANS_TYPE_INTEG (0x3) | IKEv2 transform ID: AUTH_HMAC_SHA2_256_128 (0xc) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (00 08) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP2048 (0xe) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (00 08) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP3072 (0xf) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (00 08) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP4096 (0x10) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (00 08) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP8192 (0x12) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (00 08) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_ECP_256 (0x13) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (00 08) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_ECP_384 (0x14) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (00 08) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_ECP_521 (0x15) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_LAST (0x0) | length: 8 (00 08) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_CURVE25519 (0x1f) | remote proposal 3 proposed transforms: ENCR+PRF+INTEG+DH; matched: none; unmatched: ENCR+PRF+INTEG+DH | remote proposal 3 does not match; unmatched remote transforms: ENCR+PRF+INTEG+DH | ****parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | length: 116 (00 74) | prop #: 4 (04) | proto ID: IKEv2_SEC_PROTO_IKE (0x1) | spi size: 0 (00) | # transforms: 13 (0d) | Comparing remote proposal 4 containing 13 transforms against local proposal [1..0] of 4 local proposals | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 12 (00 0c) | IKEv2 transform type: TRANS_TYPE_ENCR (0x1) | IKEv2 transform ID: AES_CBC (0xc) | ******parse IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 128 (00 80) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (00 08) | IKEv2 transform type: TRANS_TYPE_PRF (0x2) | IKEv2 transform ID: PRF_HMAC_SHA2_512 (0x7) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (00 08) | IKEv2 transform type: TRANS_TYPE_PRF (0x2) | IKEv2 transform ID: PRF_HMAC_SHA2_256 (0x5) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (00 08) | IKEv2 transform type: TRANS_TYPE_INTEG (0x3) | IKEv2 transform ID: AUTH_HMAC_SHA2_512_256 (0xe) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (00 08) | IKEv2 transform type: TRANS_TYPE_INTEG (0x3) | IKEv2 transform ID: AUTH_HMAC_SHA2_256_128 (0xc) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (00 08) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP2048 (0xe) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (00 08) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP3072 (0xf) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (00 08) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP4096 (0x10) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (00 08) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP8192 (0x12) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (00 08) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_ECP_256 (0x13) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (00 08) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_ECP_384 (0x14) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (00 08) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_ECP_521 (0x15) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_LAST (0x0) | length: 8 (00 08) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_CURVE25519 (0x1f) | remote proposal 4 proposed transforms: ENCR+PRF+INTEG+DH; matched: none; unmatched: ENCR+PRF+INTEG+DH | remote proposal 4 does not match; unmatched remote transforms: ENCR+PRF+INTEG+DH "westnet-eastnet-ipv4-psk-ikev2" #1: proposal 1:IKE=AES_GCM_C_256-HMAC_SHA2_512-MODP2048 chosen from remote proposals 1:IKE:ENCR=AES_GCM_C_256;PRF=HMAC_SHA2_512;PRF=HMAC_SHA2_256;DH=MODP2048;DH=MODP3072;DH=MODP4096;DH=MODP8192;DH=ECP_256;DH=ECP_384;DH=ECP_521;DH=CURVE25519[first-match] 2:IKE:ENCR=AES_GCM_C_128;PRF=HMAC_SHA2_512;PRF=HMAC_SHA2_256;DH=MODP2048;DH=MODP3072;DH=MODP4096;DH=MODP8192;DH=ECP_256;DH=ECP_384;DH=ECP_521;DH=CURVE25519 3:IKE:ENCR=AES_CBC_256;PRF=HMAC_SHA2_512;PRF=HMAC_SHA2_256;INTEG=HMAC_SHA2_512_256;INTEG=HMAC_SHA2_256_128;DH=MODP2048;DH=MODP3072;DH=MODP4096;DH=MODP8192;DH=ECP_256;DH=ECP_384;DH=ECP_521;DH=CURVE25519 4:IKE:ENCR=AES_CBC_128;PRF=HMAC_SHA2_512;PRF=HMAC_SHA2_256;INTEG=HMAC_SHA2_512_256;INTEG=HMAC_SHA2_256_128;DH=MODP2048;DH=MODP3072;DH=MODP4096;DH=MODP8192;DH=ECP_256;DH=ECP_384;DH=ECP_521;DH=CURVE25519 | accepted IKE proposal ikev2_proposal: 1:IKE=AES_GCM_C_256-HMAC_SHA2_512-MODP2048 | converting proposal to internal trans attrs | nat: IKE.SPIr is zero | natd_hash: hasher=0x563546d6ef80(20) | natd_hash: icookie= | 6e fb c7 cf d0 9d 6c eb | natd_hash: rcookie= | 00 00 00 00 00 00 00 00 | natd_hash: ip= | c0 01 02 17 | natd_hash: port= | 01 f4 | natd_hash: hash= | f8 d1 b8 fc 93 08 6d 2f c7 51 ac 0c 9f 45 ff 96 | 41 21 ef 3d | nat: IKE.SPIr is zero | natd_hash: hasher=0x563546d6ef80(20) | natd_hash: icookie= | 6e fb c7 cf d0 9d 6c eb | natd_hash: rcookie= | 00 00 00 00 00 00 00 00 | natd_hash: ip= | c0 01 02 2d | natd_hash: port= | 01 f4 | natd_hash: hash= | 90 07 49 f3 19 32 12 ac 79 83 2c f9 52 d4 18 85 | 30 1e 70 e1 | NAT_TRAVERSAL encaps using auto-detect | NAT_TRAVERSAL this end is NOT behind NAT | NAT_TRAVERSAL that end is NOT behind NAT | NAT_TRAVERSAL nat-keepalive enabled 192.1.2.45 | addref fd@NULL (in clone_logger() at log.c:809) | addref fd@NULL (in clone_logger() at log.c:810) | newref clone logger@0x56354712f0f8(0->1) (in clone_logger() at log.c:817) | job 1 for #1: ikev2_inI1outR1 KE (build KE and nonce): adding job to queue | scheduling callback inline crypto (#0) | libevent_malloc: newref ptr-libevent@0x563547142018 size 128 | #1 spent 0.911 (0.914) milliseconds in processing: Respond to IKE_SA_INIT in v2_dispatch() | [RE]START processing: state #1 connection "westnet-eastnet-ipv4-psk-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3364) | #1 complete_v2_state_transition() PARENT_R0->PARENT_R1 with status STF_SUSPEND | suspending state #1 and saving MD 0x56354713dfa8 | addref md@0x56354713dfa8(1->2) (in complete_v2_state_transition() at ikev2.c:3485) | #1 is busy; has suspended MD 0x56354713dfa8 | stop processing: state #1 connection "westnet-eastnet-ipv4-psk-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:1760) | #1 spent 1.4 (1.41) milliseconds in ikev2_process_packet() | processing: STOP state #0 (in process_md() at demux.c:287) | delref mdp@0x56354713dfa8(2->1) (in handle_packet_cb() at demux.c:318) | spent 1.41 (1.42) milliseconds in handle_packet_cb() reading and processing packet | libevent_free: delref ptr-libevent@0x563547142018 | processing callback inline crypto | job 1 for #1: ikev2_inI1outR1 KE (build KE and nonce): helper -1 starting job | "westnet-eastnet-ipv4-psk-ikev2" #1: spent 1.73 (1.73) milliseconds in helper -1 processing job 1 for state #1: ikev2_inI1outR1 KE (pcr) | scheduling resume inline worker sending helper answer for #1 | libevent_malloc: newref ptr-libevent@0x5635471431f8 size 128 | spent 1.75 (1.76) milliseconds in callback inline crypto | processing resume inline worker sending helper answer for #1 | start processing: state #1 connection "westnet-eastnet-ipv4-psk-ikev2" from 192.1.2.45:500 (in resume_handler() at server.c:641) | unsuspending #1 MD 0x56354713dfa8 | job 1 for #1: ikev2_inI1outR1 KE (build KE and nonce): processing response from helper 0 | job 1 for #1: ikev2_inI1outR1 KE (build KE and nonce): calling continuation function 0x563546c7cfe7 | ikev2_parent_inI1outR1_continue() for #1 STATE_PARENT_R0: calculated ke+nonce, sending R1 | opening output PBS reply packet | **emit ISAKMP Message: | initiator SPI: 6e fb c7 cf d0 9d 6c eb | responder SPI: 97 eb 47 96 ae 81 55 3b | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_IKE_SA_INIT (0x22) | flags: ISAKMP_FLAG_v2_MSG_RESPONSE (0x20) | Message ID: 0 (00 00 00 00) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | emitting ikev2_proposal ... | ***emit IKEv2 Security Association Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'ISAKMP Message'.'next payload type' to current IKEv2 Security Association Payload (33:ISAKMP_NEXT_v2SA) | next payload chain: saving location 'IKEv2 Security Association Payload'.'next payload type' in 'reply packet' | ****emit IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | prop #: 1 (01) | proto ID: IKEv2_SEC_PROTO_IKE (0x1) | spi size: 0 (00) | # transforms: 3 (03) | last substructure: saving location 'IKEv2 Security Association Payload'.'IKEv2 Proposal Substructure Payload'.'last proposal' | *****emit IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | IKEv2 transform type: TRANS_TYPE_ENCR (0x1) | IKEv2 transform ID: AES_GCM_C (0x14) | last substructure: saving location 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' | ******emit IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 256 (01 00) | emitting length of IKEv2 Transform Substructure Payload: 12 | *****emit IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | IKEv2 transform type: TRANS_TYPE_PRF (0x2) | IKEv2 transform ID: PRF_HMAC_SHA2_512 (0x7) | last substructure: checking 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' containing v2_TRANSFORM_NON_LAST (0x3) is v2_TRANSFORM_NON_LAST (0x3) | last substructure: saving location 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' | emitting length of IKEv2 Transform Substructure Payload: 8 | *****emit IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_LAST (0x0) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP2048 (0xe) | last substructure: checking 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' containing v2_TRANSFORM_NON_LAST (0x3) is v2_TRANSFORM_NON_LAST (0x3) | last substructure: saving location 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' | emitting length of IKEv2 Transform Substructure Payload: 8 | emitting length of IKEv2 Proposal Substructure Payload: 36 | last substructure: checking 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' is 0 | emitting length of IKEv2 Security Association Payload: 40 | last substructure: checking 'IKEv2 Security Association Payload'.'IKEv2 Proposal Substructure Payload'.'last proposal' is 0 | DH secret MODP2048@0x563547145818: transferring ownership from helper KE to state #1 | ***emit IKEv2 Key Exchange Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | DH group: OAKLEY_GROUP_MODP2048 (0xe) | next payload chain: setting previous 'IKEv2 Security Association Payload'.'next payload type' to current IKEv2 Key Exchange Payload (34:ISAKMP_NEXT_v2KE) | next payload chain: saving location 'IKEv2 Key Exchange Payload'.'next payload type' in 'reply packet' | emitting 256 raw bytes of ikev2 g^x into IKEv2 Key Exchange Payload | ikev2 g^x: | 6e bd 75 91 ad 3a b2 59 00 09 bf 57 4b e7 49 2a | 58 96 f5 66 b4 6a d3 05 c1 b9 ab 00 8d fa 4b ff | 5f 08 3f 0b 4e 7c 18 73 4e 8e 4e c5 e9 28 fe e0 | 0e a1 93 90 bc 49 c7 40 b6 14 9d da 5c fc cb de | 31 e3 85 7f ce c3 7d eb 45 11 07 92 ae 1d 1d f5 | 02 f1 59 05 75 b8 29 da e9 1d ca 06 bd 37 0d fd | 52 03 f6 5d 10 cf 34 30 08 af dc fd 09 97 df 6a | 7b 0a 8b d1 aa d3 27 76 fb 56 95 c1 03 5d 83 03 | 04 67 69 2c 32 e0 51 37 c0 df 3e 63 56 a3 0a a3 | 90 6b 45 e8 cc 07 bf 9c e4 77 f9 23 ea 00 a7 b6 | bf 42 82 e9 5c 56 26 5c 39 fc 0e 10 25 fd 3a b9 | 29 de b1 ad 05 20 b8 0f 92 fa dd a6 57 02 06 ed | 07 75 7d 64 11 5b 0d 78 91 ca 75 4c b2 1d 85 b3 | 55 47 11 b8 3d f0 d3 bd 9a 0d a9 34 e7 e1 5a a6 | 08 d2 7a 40 31 c5 cc ca 24 1c bd 16 a1 1a 67 5b | 9b cb de 42 81 54 91 7d d1 8d a2 af 5b d7 0b 61 | emitting length of IKEv2 Key Exchange Payload: 264 | ***emit IKEv2 Nonce Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'IKEv2 Key Exchange Payload'.'next payload type' to current IKEv2 Nonce Payload (40:ISAKMP_NEXT_v2Ni) | next payload chain: saving location 'IKEv2 Nonce Payload'.'next payload type' in 'reply packet' | emitting 32 raw bytes of IKEv2 nonce into IKEv2 Nonce Payload | IKEv2 nonce: | b9 70 eb 35 ff a3 8a 92 44 02 57 e1 1b 37 c6 61 | 7e 6d 53 7e 23 2f 55 d9 3b 71 f4 4f 9a 2a cf 40 | emitting length of IKEv2 Nonce Payload: 36 | adding a v2N Payload | ***emit IKEv2 Notify Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | Protocol ID: IKEv2_SEC_PROTO_NONE (0x0) | SPI size: 0 (00) | Notify Message Type: v2N_IKEV2_FRAGMENTATION_SUPPORTED (0x402e) | next payload chain: setting previous 'IKEv2 Nonce Payload'.'next payload type' to current IKEv2 Notify Payload (41:ISAKMP_NEXT_v2N) | next payload chain: saving location 'IKEv2 Notify Payload'.'next payload type' in 'reply packet' | emitting length of IKEv2 Notify Payload: 8 | NAT-Traversal support [enabled] add v2N payloads. | natd_hash: hasher=0x563546d6ef80(20) | natd_hash: icookie= | 6e fb c7 cf d0 9d 6c eb | natd_hash: rcookie= | 97 eb 47 96 ae 81 55 3b | natd_hash: ip= | c0 01 02 17 | natd_hash: port= | 01 f4 | natd_hash: hash= | 43 41 79 7a bb d6 e6 15 e9 52 81 7f 4e 18 5e ab | c7 bd e2 eb | adding a v2N Payload | ***emit IKEv2 Notify Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | Protocol ID: IKEv2_SEC_PROTO_NONE (0x0) | SPI size: 0 (00) | Notify Message Type: v2N_NAT_DETECTION_SOURCE_IP (0x4004) | next payload chain: setting previous 'IKEv2 Notify Payload'.'next payload type' to current IKEv2 Notify Payload (41:ISAKMP_NEXT_v2N) | next payload chain: saving location 'IKEv2 Notify Payload'.'next payload type' in 'reply packet' | emitting 20 raw bytes of Notify data into IKEv2 Notify Payload | Notify data: | 43 41 79 7a bb d6 e6 15 e9 52 81 7f 4e 18 5e ab | c7 bd e2 eb | emitting length of IKEv2 Notify Payload: 28 | natd_hash: hasher=0x563546d6ef80(20) | natd_hash: icookie= | 6e fb c7 cf d0 9d 6c eb | natd_hash: rcookie= | 97 eb 47 96 ae 81 55 3b | natd_hash: ip= | c0 01 02 2d | natd_hash: port= | 01 f4 | natd_hash: hash= | 45 7c 98 03 3e e2 07 cd 06 ea 92 25 f7 dc 92 72 | e0 e3 e0 6d | adding a v2N Payload | ***emit IKEv2 Notify Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | Protocol ID: IKEv2_SEC_PROTO_NONE (0x0) | SPI size: 0 (00) | Notify Message Type: v2N_NAT_DETECTION_DESTINATION_IP (0x4005) | next payload chain: setting previous 'IKEv2 Notify Payload'.'next payload type' to current IKEv2 Notify Payload (41:ISAKMP_NEXT_v2N) | next payload chain: saving location 'IKEv2 Notify Payload'.'next payload type' in 'reply packet' | emitting 20 raw bytes of Notify data into IKEv2 Notify Payload | Notify data: | 45 7c 98 03 3e e2 07 cd 06 ea 92 25 f7 dc 92 72 | e0 e3 e0 6d | emitting length of IKEv2 Notify Payload: 28 | emitting length of ISAKMP Message: 432 | [RE]START processing: state #1 connection "westnet-eastnet-ipv4-psk-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3364) | #1 complete_v2_state_transition() PARENT_R0->PARENT_R1 with status STF_OK | transitioning from state STATE_PARENT_R0 to state STATE_PARENT_R1 | Message ID: updating counters for #1 | Message ID: IKE #1 updating responder received message request 0: ike.initiator.sent=-1 ike.initiator.recv=-1 ike.initiator.last_contact=744604.140302 ike.responder.sent=-1 ike.responder.recv=-1->0 ike.responder.last_contact=744604.140302->744604.143471 ike.wip.initiator=-1 ike.wip.responder=0->-1 | Message ID: IKE #1 updating responder sent message response 0: ike.initiator.sent=-1 ike.initiator.recv=-1 ike.initiator.last_contact=744604.140302 ike.responder.sent=-1->0 ike.responder.recv=0 ike.responder.last_contact=744604.143471 ike.wip.initiator=-1 ike.wip.responder=-1 | Message ID: IKE #1 no pending message initiators to schedule: ike.initiator.sent=-1 ike.initiator.recv=-1 ike.initiator.last_contact=744604.140302 ike.responder.sent=0 ike.responder.recv=0 ike.responder.last_contact=744604.143471 ike.wip.initiator=-1 ike.wip.responder=-1 | parent state #1: PARENT_R0(half-open IKE SA) => PARENT_R1(half-open IKE SA) | announcing the state transition "westnet-eastnet-ipv4-psk-ikev2" #1: sent IKE_SA_INIT reply {auth=IKEv2 cipher=AES_GCM_16_256 integ=n/a prf=HMAC_SHA2_512 group=MODP2048} | sending 432 bytes for STATE_PARENT_R0 through eth1 from 192.1.2.23:500 to 192.1.2.45:500 using UDP (for #1) | 6e fb c7 cf d0 9d 6c eb 97 eb 47 96 ae 81 55 3b | 21 20 22 20 00 00 00 00 00 00 01 b0 22 00 00 28 | 00 00 00 24 01 01 00 03 03 00 00 0c 01 00 00 14 | 80 0e 01 00 03 00 00 08 02 00 00 07 00 00 00 08 | 04 00 00 0e 28 00 01 08 00 0e 00 00 6e bd 75 91 | ad 3a b2 59 00 09 bf 57 4b e7 49 2a 58 96 f5 66 | b4 6a d3 05 c1 b9 ab 00 8d fa 4b ff 5f 08 3f 0b | 4e 7c 18 73 4e 8e 4e c5 e9 28 fe e0 0e a1 93 90 | bc 49 c7 40 b6 14 9d da 5c fc cb de 31 e3 85 7f | ce c3 7d eb 45 11 07 92 ae 1d 1d f5 02 f1 59 05 | 75 b8 29 da e9 1d ca 06 bd 37 0d fd 52 03 f6 5d | 10 cf 34 30 08 af dc fd 09 97 df 6a 7b 0a 8b d1 | aa d3 27 76 fb 56 95 c1 03 5d 83 03 04 67 69 2c | 32 e0 51 37 c0 df 3e 63 56 a3 0a a3 90 6b 45 e8 | cc 07 bf 9c e4 77 f9 23 ea 00 a7 b6 bf 42 82 e9 | 5c 56 26 5c 39 fc 0e 10 25 fd 3a b9 29 de b1 ad | 05 20 b8 0f 92 fa dd a6 57 02 06 ed 07 75 7d 64 | 11 5b 0d 78 91 ca 75 4c b2 1d 85 b3 55 47 11 b8 | 3d f0 d3 bd 9a 0d a9 34 e7 e1 5a a6 08 d2 7a 40 | 31 c5 cc ca 24 1c bd 16 a1 1a 67 5b 9b cb de 42 | 81 54 91 7d d1 8d a2 af 5b d7 0b 61 29 00 00 24 | b9 70 eb 35 ff a3 8a 92 44 02 57 e1 1b 37 c6 61 | 7e 6d 53 7e 23 2f 55 d9 3b 71 f4 4f 9a 2a cf 40 | 29 00 00 08 00 00 40 2e 29 00 00 1c 00 00 40 04 | 43 41 79 7a bb d6 e6 15 e9 52 81 7f 4e 18 5e ab | c7 bd e2 eb 00 00 00 1c 00 00 40 05 45 7c 98 03 | 3e e2 07 cd 06 ea 92 25 f7 dc 92 72 e0 e3 e0 6d | sent 1 messages | state #1 has no .st_event to delete | event_schedule: newref EVENT_SO_DISCARD-pe@0x5635471462d8 | inserting event EVENT_SO_DISCARD, timeout in 200 seconds for #1 | libevent_malloc: newref ptr-libevent@0x5635471453f8 size 128 | delref logger@0x56354712f0f8(1->0) (in handle_helper_answer() at pluto_crypt.c:658) | delref fd@NULL (in free_logger() at log.c:853) | delref fd@NULL (in free_logger() at log.c:854) | resume inline worker sending helper answer for #1 suppresed complete_v2_state_transition() | delref mdp@0x56354713dfa8(1->0) (in resume_handler() at server.c:743) | delref logger@0x56354713add8(1->0) (in resume_handler() at server.c:743) | delref fd@NULL (in free_logger() at log.c:853) | delref fd@NULL (in free_logger() at log.c:854) | #1 spent 0.533 (0.55) milliseconds in resume inline worker sending helper answer | stop processing: state #1 connection "westnet-eastnet-ipv4-psk-ikev2" from 192.1.2.45:500 (in resume_handler() at server.c:745) | libevent_free: delref ptr-libevent@0x5635471431f8 | spent 0.00249 (0.00249) milliseconds in udp_read_packet() calling check_incoming_msg_errqueue() | newref struct msg_digest@0x56354713dfa8(0->1) (in read_message() at demux.c:103) | newref alloc logger@0x56354713add8(0->1) (in read_message() at demux.c:103) | *received 365 bytes from 192.1.2.45:500 on eth1 192.1.2.23:500 using UDP | 6e fb c7 cf d0 9d 6c eb 97 eb 47 96 ae 81 55 3b | 2e 20 23 08 00 00 00 01 00 00 01 6d 23 00 01 51 | 27 33 5b f5 c6 ce 95 12 ff e2 f5 fe 54 b9 6e d0 | 05 94 f7 de 6a ab fb 44 d0 80 a9 99 db fc 95 44 | 4b 45 3d 5f 54 bb dc 8a 76 ec e7 09 24 a2 0f 84 | 63 e1 ab 91 e5 7a 5c 94 24 49 b1 7b a8 16 59 c7 | dd a3 6f b9 4d 44 33 71 ed 6c e8 80 0d 47 02 8f | cf 06 1f f9 a8 1d 39 50 0f b4 92 f2 e5 a3 42 30 | 90 e3 c1 80 ad 85 80 4d 45 a0 e8 0c ad dc 69 62 | 3f 43 b9 9e a9 8f 8d 1e 9c a1 6a be 16 28 6d c9 | 0d a2 ca cd 30 5d f2 a7 d7 ca 67 0b ce c2 2b 00 | a2 c7 c5 52 f2 2c 8c f4 d5 bc 7c c1 96 a4 5f bf | 10 4b d5 e1 0b 01 49 a4 78 cb b6 e0 5f 30 e6 74 | 9d 8b 5b a1 fb e6 8f 39 19 8a 2e 04 27 75 96 c6 | f3 ef 28 af a3 fb b4 9c 1f 4a 5a 57 ed 62 1e 18 | dd e4 d3 2f 01 68 91 3c 48 18 7a 51 13 dc 9b b6 | b8 92 5c 44 ef 63 4e 42 f5 bc 41 53 3e 9a dc a4 | 30 88 79 de 21 50 a4 d4 ee 6e 63 da 4f 8d 75 4b | 1d 04 26 91 62 96 96 b5 32 d1 06 40 fa fa 78 f9 | a0 cd 4b dc 80 5c ab 9b 1d ea dd 30 6d 5e 97 25 | 94 64 62 33 99 b7 53 ab 96 1b c5 54 05 69 67 a4 | 89 c8 c4 25 8d 36 27 e7 ec 5a ea 54 4e f8 c5 1e | a1 4b 5f 8c cf a5 ed f1 b7 59 8a 28 27 | **parse ISAKMP Message: | initiator SPI: 6e fb c7 cf d0 9d 6c eb | responder SPI: 97 eb 47 96 ae 81 55 3b | next payload type: ISAKMP_NEXT_v2SK (0x2e) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_IKE_AUTH (0x23) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 1 (00 00 00 01) | length: 365 (00 00 01 6d) | processing version=2.0 packet with exchange type=ISAKMP_v2_IKE_AUTH (35) | I am the IKE SA Original Responder receiving an IKEv2 IKE_AUTH request | State DB: found IKEv2 state #1 in PARENT_R1 (find_v2_ike_sa) | start processing: state #1 connection "westnet-eastnet-ipv4-psk-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:1902) | #1 st.st_msgid_lastrecv 0 md.hdr.isa_msgid 00000001 | State DB: IKEv2 state not found (find_v2_sa_by_responder_wip) | #1 is idle | Message ID: IKE #1 not a duplicate - message request 1 is new: ike.initiator.sent=-1 ike.initiator.recv=-1 ike.initiator.last_contact=744604.140302 ike.responder.sent=0 ike.responder.recv=0 ike.responder.last_contact=744604.143471 ike.wip.initiator=-1 ike.wip.responder=-1 | [RE]START processing: state #1 connection "westnet-eastnet-ipv4-psk-ikev2" from 192.1.2.45:500 (in ike_process_packet() at ikev2.c:1983) | unpacking clear payload | Now let's proceed with payload (ISAKMP_NEXT_v2SK) | ***parse IKEv2 Encryption Payload: | next payload type: ISAKMP_NEXT_v2IDi (0x23) | flags: none (0x0) | length: 337 (01 51) | processing payload: ISAKMP_NEXT_v2SK (len=333) | #1 in state PARENT_R1: sent IKE_SA_INIT reply | selected state microcode Responder: process IKE_AUTH request (no SKEYSEED) | calling processor Responder: process IKE_AUTH request (no SKEYSEED) | ikev2 parent ikev2_ike_sa_process_auth_request_no_skeyid(): calculating g^{xy} in order to decrypt I2 | offloading IKEv2 SKEYSEED using prf=HMAC_SHA2_512 integ=NONE cipherkey=AES_GCM_16 | DH secret MODP2048@0x563547145818: transferring ownership from state #1 to helper IKEv2 DH | addref fd@NULL (in clone_logger() at log.c:809) | addref fd@NULL (in clone_logger() at log.c:810) | newref clone logger@0x56354712f0f8(0->1) (in clone_logger() at log.c:817) | job 2 for #1: ikev2_inI2outR2 KE (compute dh (V2)): adding job to queue | scheduling callback inline crypto (#0) | libevent_malloc: newref ptr-libevent@0x5635471431f8 size 128 | #1 spent 0.0286 (0.0285) milliseconds in processing: Responder: process IKE_AUTH request (no SKEYSEED) in v2_dispatch() | [RE]START processing: state #1 connection "westnet-eastnet-ipv4-psk-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3364) | #1 complete_v2_state_transition() PARENT_R1->PARENT_R1 with status STF_SUSPEND; .st_v2_transition=PARENT_R0->PARENT_R1 | suspending state #1 and saving MD 0x56354713dfa8 | addref md@0x56354713dfa8(1->2) (in complete_v2_state_transition() at ikev2.c:3485) | #1 is busy; has suspended MD 0x56354713dfa8 | stop processing: state #1 connection "westnet-eastnet-ipv4-psk-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:1904) | #1 spent 0.228 (0.228) milliseconds in ikev2_process_packet() | processing: STOP state #0 (in process_md() at demux.c:287) | delref mdp@0x56354713dfa8(2->1) (in handle_packet_cb() at demux.c:318) | spent 0.237 (0.237) milliseconds in handle_packet_cb() reading and processing packet | libevent_free: delref ptr-libevent@0x5635471431f8 | processing callback inline crypto | job 2 for #1: ikev2_inI2outR2 KE (compute dh (V2)): helper -1 starting job | calculating skeyseed using prf=HMAC_SHA2_512 integ=NONE cipherkey-size=32 salt-size=4 | "westnet-eastnet-ipv4-psk-ikev2" #1: spent 1.06 (1.09) milliseconds in helper -1 processing job 2 for state #1: ikev2_inI2outR2 KE (pcr) | scheduling resume inline worker sending helper answer for #1 | libevent_malloc: newref ptr-libevent@0x5635471431f8 size 128 | spent 1.07 (1.1) milliseconds in callback inline crypto | processing resume inline worker sending helper answer for #1 | start processing: state #1 connection "westnet-eastnet-ipv4-psk-ikev2" from 192.1.2.45:500 (in resume_handler() at server.c:641) | unsuspending #1 MD 0x56354713dfa8 | job 2 for #1: ikev2_inI2outR2 KE (compute dh (V2)): processing response from helper 0 | job 2 for #1: ikev2_inI2outR2 KE (compute dh (V2)): calling continuation function 0x563546c7cfe7 | ikev2_ike_sa_process_auth_request_no_skeyid_continue() for #1 STATE_PARENT_R1: calculating g^{xy}, sending R2 | DH secret MODP2048@0x563547145818: transferring ownership from helper IKEv2 DH to state #1 | #1 in state PARENT_R1: sent IKE_SA_INIT reply | #1 ikev2 ISAKMP_v2_IKE_AUTH decrypt success | Now let's proceed with payload (ISAKMP_NEXT_v2IDi) | **parse IKEv2 Identification - Initiator - Payload: | next payload type: ISAKMP_NEXT_v2IDr (0x24) | flags: none (0x0) | length: 12 (00 0c) | ID type: ID_FQDN (0x2) | reserved: 00 00 00 | processing payload: ISAKMP_NEXT_v2IDi (len=4) | Now let's proceed with payload (ISAKMP_NEXT_v2IDr) | **parse IKEv2 Identification - Responder - Payload: | next payload type: ISAKMP_NEXT_v2AUTH (0x27) | flags: none (0x0) | length: 12 (00 0c) | ID type: ID_FQDN (0x2) | reserved: 00 00 00 | processing payload: ISAKMP_NEXT_v2IDr (len=4) | Now let's proceed with payload (ISAKMP_NEXT_v2AUTH) | **parse IKEv2 Authentication Payload: | next payload type: ISAKMP_NEXT_v2SA (0x21) | flags: none (0x0) | length: 72 (00 48) | auth method: IKEv2_AUTH_SHARED (0x2) | processing payload: ISAKMP_NEXT_v2AUTH (len=64) | Now let's proceed with payload (ISAKMP_NEXT_v2SA) | **parse IKEv2 Security Association Payload: | next payload type: ISAKMP_NEXT_v2TSi (0x2c) | flags: none (0x0) | length: 164 (00 a4) | processing payload: ISAKMP_NEXT_v2SA (len=160) | Now let's proceed with payload (ISAKMP_NEXT_v2TSi) | **parse IKEv2 Traffic Selector - Initiator - Payload: | next payload type: ISAKMP_NEXT_v2TSr (0x2d) | flags: none (0x0) | length: 24 (00 18) | number of TS: 1 (01) | processing payload: ISAKMP_NEXT_v2TSi (len=16) | Now let's proceed with payload (ISAKMP_NEXT_v2TSr) | **parse IKEv2 Traffic Selector - Responder - Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | length: 24 (00 18) | number of TS: 1 (01) | processing payload: ISAKMP_NEXT_v2TSr (len=16) | selected state microcode Responder: process IKE_AUTH request | Message ID: IKE #1 responder starting message request 1: ike.initiator.sent=-1 ike.initiator.recv=-1 ike.initiator.last_contact=744604.140302 ike.responder.sent=0 ike.responder.recv=0 ike.responder.last_contact=744604.143471 ike.wip.initiator=-1 ike.wip.responder=-1->1 | calling processor Responder: process IKE_AUTH request "westnet-eastnet-ipv4-psk-ikev2" #1: processing decrypted IKE_AUTH request: SK{IDi,IDr,AUTH,SA,TSi,TSr} | no certs to decode | #1 updating local interface from 192.1.2.23:500 to 192.1.2.23:500 using md->iface (in update_ike_endpoints() at state.c:2631) | received IDr payload - extracting our alleged ID | refine_host_connection for IKEv2: starting with "westnet-eastnet-ipv4-psk-ikev2" | match_id a=@west | b=@west | results matched | refine_host_connection: checking "westnet-eastnet-ipv4-psk-ikev2" against "westnet-eastnet-ipv4-psk-ikev2", best=(none) with match=1(id=1(0)/ca=1(0)/reqca=1(0)) | warning: not switching back to template of current instance | peer expects us to be @east (ID_FQDN) according to its IDr payload | this connection's local id is @east (ID_FQDN) | refine_host_connection: checked "westnet-eastnet-ipv4-psk-ikev2" against "westnet-eastnet-ipv4-psk-ikev2", now for see if best | lsw_get_secret() using IDs for @east->@west of kind PKK_PSK | line 1: key type PKK_PSK(@east) to type PKK_PSK | 1: compared key @west to @east / @west -> 004 | 2: compared key @east to @east / @west -> 014 | line 1: match=014 | match 014 beats previous best_match 000 match=0x56354713d688 (line=1) | concluding with best_match=014 best=0x56354713d688 (lineno=1) | returning because exact peer id match | offered CA: '%none' "westnet-eastnet-ipv4-psk-ikev2" #1: IKEv2 mode peer ID is ID_FQDN: '@west' | verifying AUTH payload | ikev2_calculate_psk_sighash() called from STATE_PARENT_R1 to verify PSK with authby=secret | lsw_get_secret() using IDs for @east->@west of kind PKK_PSK | line 1: key type PKK_PSK(@east) to type PKK_PSK | 1: compared key @west to @east / @west -> 004 | 2: compared key @east to @east / @west -> 014 | line 1: match=014 | match 014 beats previous best_match 000 match=0x56354713d688 (line=1) | concluding with best_match=014 best=0x56354713d688 (lineno=1) "westnet-eastnet-ipv4-psk-ikev2" #1: authenticated using authby=secret | parent state #1: PARENT_R1(half-open IKE SA) => ESTABLISHED_IKE_SA(established IKE SA) | #1 will start re-keying in 3330 seconds with margin of 270 seconds (attempting re-key) | state #1 deleting .st_event EVENT_SO_DISCARD | libevent_free: delref ptr-libevent@0x5635471453f8 | free_event_entry: delref EVENT_SO_DISCARD-pe@0x5635471462d8 | event_schedule: newref EVENT_SA_REKEY-pe@0x5635471462d8 | inserting event EVENT_SA_REKEY, timeout in 3330 seconds for #1 | libevent_malloc: newref ptr-libevent@0x56354714d0f8 size 128 | pstats #1 ikev2.ike established | opening output PBS reply packet | **emit ISAKMP Message: | initiator SPI: 6e fb c7 cf d0 9d 6c eb | responder SPI: 97 eb 47 96 ae 81 55 3b | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_IKE_AUTH (0x23) | flags: ISAKMP_FLAG_v2_MSG_RESPONSE (0x20) | Message ID: 1 (00 00 00 01) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | IKEv2 CERT: send a certificate? | IKEv2 CERT: policy does not have RSASIG or ECDSA: PSK | ***emit IKEv2 Encryption Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'ISAKMP Message'.'next payload type' to current IKEv2 Encryption Payload (46:ISAKMP_NEXT_v2SK) | next payload chain: saving location 'IKEv2 Encryption Payload'.'next payload type' in 'reply packet' | emitting 8 zero bytes of IV into IKEv2 Encryption Payload | initiator child policy is compress=no, NOT sending v2N_IPCOMP_SUPPORTED | ****emit IKEv2 Identification - Responder - Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | ID type: ID_FQDN (0x2) | reserved: 00 00 00 | next payload chain: setting previous 'IKEv2 Encryption Payload'.'next payload type' to current IKEv2 Identification - Responder - Payload (36:ISAKMP_NEXT_v2IDr) | next payload chain: saving location 'IKEv2 Identification - Responder - Payload'.'next payload type' in 'reply packet' | emitting 4 raw bytes of my identity into IKEv2 Identification - Responder - Payload | my identity: 65 61 73 74 | emitting length of IKEv2 Identification - Responder - Payload: 12 | added IDr payload to packet | CHILD SA proposals received | going to assemble AUTH payload | ****emit IKEv2 Authentication Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | auth method: IKEv2_AUTH_SHARED (0x2) | next payload chain: setting previous 'IKEv2 Identification - Responder - Payload'.'next payload type' to current IKEv2 Authentication Payload (39:ISAKMP_NEXT_v2AUTH) | next payload chain: saving location 'IKEv2 Authentication Payload'.'next payload type' in 'reply packet' | ikev2_calculate_psk_sighash() called from STATE_V2_ESTABLISHED_IKE_SA to create PSK with authby=secret | lsw_get_secret() using IDs for @east->@west of kind PKK_PSK | line 1: key type PKK_PSK(@east) to type PKK_PSK | 1: compared key @west to @east / @west -> 004 | 2: compared key @east to @east / @west -> 014 | line 1: match=014 | match 014 beats previous best_match 000 match=0x56354713d688 (line=1) | concluding with best_match=014 best=0x56354713d688 (lineno=1) | emitting 64 raw bytes of PSK auth into IKEv2 Authentication Payload | PSK auth: | a0 ca 43 2e cb e0 97 30 01 7f 80 05 ad 1c 3e 0e | a8 77 bc 87 46 f4 e3 8e 49 e0 c2 ae 92 6f a4 ee | 44 c7 9f 79 d3 be 2d d2 e9 1f ab e2 c5 7a 27 0f | 36 53 d8 d9 7b 23 ff ff 08 14 e6 34 b1 c1 91 56 | emitting length of IKEv2 Authentication Payload: 72 | newref alloc logger@0x56354714cf88(0->1) (in new_state() at state.c:576) | addref fd@NULL (in new_state() at state.c:577) | creating state object #2 at 0x56354714d798 | State DB: adding IKEv2 state #2 in UNDEFINED | pstats #2 ikev2.child started | duplicating state object #1 "westnet-eastnet-ipv4-psk-ikev2" as #2 for IPSEC SA | #2 setting local endpoint to 192.1.2.23:500 from #1.st_localport (in duplicate_state() at state.c:1581) | Message ID: CHILD #1.#2 initializing (CHILD SA): ike.initiator.sent=-1 ike.initiator.recv=-1 ike.initiator.last_contact=744604.140302 ike.responder.sent=0 ike.responder.recv=0 ike.responder.last_contact=744604.143471 child.wip.initiator=0->-1 child.wip.responder=0->-1 | child state #2: UNDEFINED(ignore) => V2_IKE_AUTH_CHILD_R0(ignore) | #2.st_v2_transition NULL -> NULL (in new_v2_child_state() at state.c:1666) | Message ID: IKE #1 switching from IKE SA responder message request 1: ike.initiator.sent=-1 ike.initiator.recv=-1 ike.initiator.last_contact=744604.140302 ike.responder.sent=0 ike.responder.recv=0 ike.responder.last_contact=744604.143471 ike.wip.initiator=-1 ike.wip.responder=1->-1 | Message ID: CHILD #1.#2 switching to CHILD SA responder message request 1: ike.initiator.sent=-1 ike.initiator.recv=-1 ike.initiator.last_contact=744604.140302 ike.responder.sent=0 ike.responder.recv=0 ike.responder.last_contact=744604.143471 child.wip.initiator=-1 child.wip.responder=-1->1 | switching IKEv2 MD.ST from IKE #1 ESTABLISHED_IKE_SA to CHILD #2 V2_IKE_AUTH_CHILD_R0 (in ike_auth_child_responder() at ikev2_parent.c:3282) | Child SA TS Request has child->sa == md->st; so using child connection | TSi: parsing 1 traffic selectors | ***parse IKEv2 Traffic Selector: | TS type: IKEv2_TS_IPV4_ADDR_RANGE (0x7) | IP Protocol ID: ALL (0x0) | length: 16 (00 10) | start port: 0 (00 00) | end port: 65535 (ff ff) | parsing 4 raw bytes of IKEv2 Traffic Selector into TS low | TS low | c0 00 01 00 | parsing 4 raw bytes of IKEv2 Traffic Selector into TS high | TS high | c0 00 01 ff | TSi: parsed 1 traffic selectors | TSr: parsing 1 traffic selectors | ***parse IKEv2 Traffic Selector: | TS type: IKEv2_TS_IPV4_ADDR_RANGE (0x7) | IP Protocol ID: ALL (0x0) | length: 16 (00 10) | start port: 0 (00 00) | end port: 65535 (ff ff) | parsing 4 raw bytes of IKEv2 Traffic Selector into TS low | TS low | c0 00 02 00 | parsing 4 raw bytes of IKEv2 Traffic Selector into TS high | TS high | c0 00 02 ff | TSr: parsed 1 traffic selectors | looking for best SPD in current connection | evaluating our conn="westnet-eastnet-ipv4-psk-ikev2" I=192.0.1.0/24:0:0/0 R=192.0.2.0/24:0:0/0 to their: | TSi[0] .net=192.0.1.0-192.0.1.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.1.0/24 == TSi[0]net=192.0.1.0-192.0.1.255: YES fitness 32 | narrow port end=0..65535 == TSi[0]=0..65535: 0 | TSi[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSi[0]=*0: 0 | match end->protocol=*0 == TSi[0].ipprotoid=*0: YES fitness 255 | TSr[0] .net=192.0.2.0-192.0.2.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.2.0/24 == TSr[0]net=192.0.2.0-192.0.2.255: YES fitness 32 | narrow port end=0..65535 == TSr[0]=0..65535: 0 | TSr[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSr[0]=*0: 0 | match end->protocol=*0 == TSr[0].ipprotoid=*0: YES fitness 255 | best fit so far: TSi[0] TSr[0] | found better spd route for TSi[0],TSr[0] | looking for better host pair | find_host_pair: comparing 192.1.2.23:500 to 192.1.2.45:500 but ignoring ports | checking hostpair 192.0.2.0/24:0 -> 192.0.1.0/24:0 is found | investigating connection "westnet-eastnet-ipv4-psk-ikev2" as a better match | match_id a=@west | b=@west | results matched | evaluating our conn="westnet-eastnet-ipv4-psk-ikev2" I=192.0.1.0/24:0:0/0 R=192.0.2.0/24:0:0/0 to their: | TSi[0] .net=192.0.1.0-192.0.1.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.1.0/24 == TSi[0]net=192.0.1.0-192.0.1.255: YES fitness 32 | narrow port end=0..65535 == TSi[0]=0..65535: 0 | TSi[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSi[0]=*0: 0 | match end->protocol=*0 == TSi[0].ipprotoid=*0: YES fitness 255 | TSr[0] .net=192.0.2.0-192.0.2.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.2.0/24 == TSr[0]net=192.0.2.0-192.0.2.255: YES fitness 32 | narrow port end=0..65535 == TSr[0]=0..65535: 0 | TSr[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSr[0]=*0: 0 | match end->protocol=*0 == TSr[0].ipprotoid=*0: YES fitness 255 | best fit so far: TSi[0] TSr[0] | did not find a better connection using host pair | printing contents struct traffic_selector | ts_type: IKEv2_TS_IPV4_ADDR_RANGE | ipprotoid: 0 | port range: 0-65535 | ip range: 192.0.2.0-192.0.2.255 | printing contents struct traffic_selector | ts_type: IKEv2_TS_IPV4_ADDR_RANGE | ipprotoid: 0 | port range: 0-65535 | ip range: 192.0.1.0-192.0.1.255 | constructing ESP/AH proposals with all DH removed for westnet-eastnet-ipv4-psk-ikev2 (IKE_AUTH responder matching remote ESP/AH proposals) | converting proposal AES_GCM_16_256-NONE to ikev2 ... | ... ikev2_proposal: 1:ESP=AES_GCM_C_256-NONE-NONE-DISABLED | converting proposal AES_GCM_16_128-NONE to ikev2 ... | ... ikev2_proposal: 2:ESP=AES_GCM_C_128-NONE-NONE-DISABLED | converting proposal AES_CBC_256-HMAC_SHA2_512_256+HMAC_SHA2_256_128 to ikev2 ... | ... ikev2_proposal: 3:ESP=AES_CBC_256-HMAC_SHA2_512_256+HMAC_SHA2_256_128-NONE-DISABLED | converting proposal AES_CBC_128-HMAC_SHA2_512_256+HMAC_SHA2_256_128 to ikev2 ... | ... ikev2_proposal: 4:ESP=AES_CBC_128-HMAC_SHA2_512_256+HMAC_SHA2_256_128-NONE-DISABLED "westnet-eastnet-ipv4-psk-ikev2": local ESP/AH proposals (IKE_AUTH responder matching remote ESP/AH proposals): "westnet-eastnet-ipv4-psk-ikev2": 1:ESP=AES_GCM_C_256-NONE-NONE-DISABLED "westnet-eastnet-ipv4-psk-ikev2": 2:ESP=AES_GCM_C_128-NONE-NONE-DISABLED "westnet-eastnet-ipv4-psk-ikev2": 3:ESP=AES_CBC_256-HMAC_SHA2_512_256+HMAC_SHA2_256_128-NONE-DISABLED "westnet-eastnet-ipv4-psk-ikev2": 4:ESP=AES_CBC_128-HMAC_SHA2_512_256+HMAC_SHA2_256_128-NONE-DISABLED | comparing remote proposals against IKE_AUTH responder matching remote ESP/AH proposals 4 local proposals | local proposal 1 type ENCR has 1 transforms | local proposal 1 type PRF has 0 transforms | local proposal 1 type INTEG has 1 transforms | local proposal 1 type DH has 1 transforms | local proposal 1 type ESN has 1 transforms | local proposal 1 transforms: required: ENCR+ESN; optional: INTEG+DH | local proposal 2 type ENCR has 1 transforms | local proposal 2 type PRF has 0 transforms | local proposal 2 type INTEG has 1 transforms | local proposal 2 type DH has 1 transforms | local proposal 2 type ESN has 1 transforms | local proposal 2 transforms: required: ENCR+ESN; optional: INTEG+DH | local proposal 3 type ENCR has 1 transforms | local proposal 3 type PRF has 0 transforms | local proposal 3 type INTEG has 2 transforms | local proposal 3 type DH has 1 transforms | local proposal 3 type ESN has 1 transforms | local proposal 3 transforms: required: ENCR+INTEG+ESN; optional: DH | local proposal 4 type ENCR has 1 transforms | local proposal 4 type PRF has 0 transforms | local proposal 4 type INTEG has 2 transforms | local proposal 4 type DH has 1 transforms | local proposal 4 type ESN has 1 transforms | local proposal 4 transforms: required: ENCR+INTEG+ESN; optional: DH | ***parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_NON_LAST (0x2) | length: 32 (00 20) | prop #: 1 (01) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (04) | # transforms: 2 (02) | parsing 4 raw bytes of IKEv2 Proposal Substructure Payload into remote SPI | remote SPI | ea 22 fe 5e | Comparing remote proposal 1 containing 2 transforms against local proposal [1..4] of 4 local proposals | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 12 (00 0c) | IKEv2 transform type: TRANS_TYPE_ENCR (0x1) | IKEv2 transform ID: AES_GCM_C (0x14) | *****parse IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 256 (01 00) | remote proposal 1 transform 0 (ENCR=AES_GCM_C_256) matches local proposal 1 type 1 (ENCR) transform 0 | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_LAST (0x0) | length: 8 (00 08) | IKEv2 transform type: TRANS_TYPE_ESN (0x5) | IKEv2 transform ID: ESN_DISABLED (0x0) | remote proposal 1 transform 1 (ESN=DISABLED) matches local proposal 1 type 5 (ESN) transform 0 | remote proposal 1 transform 1 (ESN=DISABLED) matches local proposal 2 type 5 (ESN) transform 0 | remote proposal 1 transform 1 (ESN=DISABLED) matches local proposal 3 type 5 (ESN) transform 0 | remote proposal 1 transform 1 (ESN=DISABLED) matches local proposal 4 type 5 (ESN) transform 0 | remote proposal 1 proposed transforms: ENCR+ESN; matched: ENCR+ESN; unmatched: none | comparing remote proposal 1 containing ENCR+ESN transforms to local proposal 1; required: ENCR+ESN; optional: INTEG+DH; matched: ENCR+ESN | remote proposal 1 matches local proposal 1 | ***parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_NON_LAST (0x2) | length: 32 (00 20) | prop #: 2 (02) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (04) | # transforms: 2 (02) | parsing 4 raw bytes of IKEv2 Proposal Substructure Payload into remote SPI | remote SPI | ea 22 fe 5e | Comparing remote proposal 2 containing 2 transforms against local proposal [1..0] of 4 local proposals | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 12 (00 0c) | IKEv2 transform type: TRANS_TYPE_ENCR (0x1) | IKEv2 transform ID: AES_GCM_C (0x14) | *****parse IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 128 (00 80) | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_LAST (0x0) | length: 8 (00 08) | IKEv2 transform type: TRANS_TYPE_ESN (0x5) | IKEv2 transform ID: ESN_DISABLED (0x0) | remote proposal 2 proposed transforms: ENCR+ESN; matched: none; unmatched: ENCR+ESN | remote proposal 2 does not match; unmatched remote transforms: ENCR+ESN | ***parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_NON_LAST (0x2) | length: 48 (00 30) | prop #: 3 (03) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (04) | # transforms: 4 (04) | parsing 4 raw bytes of IKEv2 Proposal Substructure Payload into remote SPI | remote SPI | ea 22 fe 5e | Comparing remote proposal 3 containing 4 transforms against local proposal [1..0] of 4 local proposals | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 12 (00 0c) | IKEv2 transform type: TRANS_TYPE_ENCR (0x1) | IKEv2 transform ID: AES_CBC (0xc) | *****parse IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 256 (01 00) | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (00 08) | IKEv2 transform type: TRANS_TYPE_INTEG (0x3) | IKEv2 transform ID: AUTH_HMAC_SHA2_512_256 (0xe) | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (00 08) | IKEv2 transform type: TRANS_TYPE_INTEG (0x3) | IKEv2 transform ID: AUTH_HMAC_SHA2_256_128 (0xc) | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_LAST (0x0) | length: 8 (00 08) | IKEv2 transform type: TRANS_TYPE_ESN (0x5) | IKEv2 transform ID: ESN_DISABLED (0x0) | remote proposal 3 proposed transforms: ENCR+INTEG+ESN; matched: none; unmatched: ENCR+INTEG+ESN | remote proposal 3 does not match; unmatched remote transforms: ENCR+INTEG+ESN | ***parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | length: 48 (00 30) | prop #: 4 (04) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (04) | # transforms: 4 (04) | parsing 4 raw bytes of IKEv2 Proposal Substructure Payload into remote SPI | remote SPI | ea 22 fe 5e | Comparing remote proposal 4 containing 4 transforms against local proposal [1..0] of 4 local proposals | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 12 (00 0c) | IKEv2 transform type: TRANS_TYPE_ENCR (0x1) | IKEv2 transform ID: AES_CBC (0xc) | *****parse IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 128 (00 80) | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (00 08) | IKEv2 transform type: TRANS_TYPE_INTEG (0x3) | IKEv2 transform ID: AUTH_HMAC_SHA2_512_256 (0xe) | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (00 08) | IKEv2 transform type: TRANS_TYPE_INTEG (0x3) | IKEv2 transform ID: AUTH_HMAC_SHA2_256_128 (0xc) | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_LAST (0x0) | length: 8 (00 08) | IKEv2 transform type: TRANS_TYPE_ESN (0x5) | IKEv2 transform ID: ESN_DISABLED (0x0) | remote proposal 4 proposed transforms: ENCR+INTEG+ESN; matched: none; unmatched: ENCR+INTEG+ESN | remote proposal 4 does not match; unmatched remote transforms: ENCR+INTEG+ESN "westnet-eastnet-ipv4-psk-ikev2" #2: proposal 1:ESP=AES_GCM_C_256-DISABLED SPI=ea22fe5e chosen from remote proposals 1:ESP:ENCR=AES_GCM_C_256;ESN=DISABLED[first-match] 2:ESP:ENCR=AES_GCM_C_128;ESN=DISABLED 3:ESP:ENCR=AES_CBC_256;INTEG=HMAC_SHA2_512_256;INTEG=HMAC_SHA2_256_128;ESN=DISABLED 4:ESP:ENCR=AES_CBC_128;INTEG=HMAC_SHA2_512_256;INTEG=HMAC_SHA2_256_128;ESN=DISABLED | IKE_AUTH responder matching remote ESP/AH proposals ikev2_proposal: 1:ESP=AES_GCM_C_256-DISABLED SPI=ea22fe5e | converting proposal to internal trans attrs | netlink_get_spi: allocated 0x8a336bbd for esp.0@192.1.2.23 | emitting ikev2_proposal ... | ****emit IKEv2 Security Association Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'IKEv2 Authentication Payload'.'next payload type' to current IKEv2 Security Association Payload (33:ISAKMP_NEXT_v2SA) | next payload chain: saving location 'IKEv2 Security Association Payload'.'next payload type' in 'reply packet' | *****emit IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | prop #: 1 (01) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (04) | # transforms: 2 (02) | last substructure: saving location 'IKEv2 Security Association Payload'.'IKEv2 Proposal Substructure Payload'.'last proposal' | emitting 4 raw bytes of our spi into IKEv2 Proposal Substructure Payload | our spi: 8a 33 6b bd | ******emit IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | IKEv2 transform type: TRANS_TYPE_ENCR (0x1) | IKEv2 transform ID: AES_GCM_C (0x14) | last substructure: saving location 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' | *******emit IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 256 (01 00) | emitting length of IKEv2 Transform Substructure Payload: 12 | ******emit IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_LAST (0x0) | IKEv2 transform type: TRANS_TYPE_ESN (0x5) | IKEv2 transform ID: ESN_DISABLED (0x0) | last substructure: checking 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' containing v2_TRANSFORM_NON_LAST (0x3) is v2_TRANSFORM_NON_LAST (0x3) | last substructure: saving location 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' | emitting length of IKEv2 Transform Substructure Payload: 8 | emitting length of IKEv2 Proposal Substructure Payload: 32 | last substructure: checking 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' is 0 | emitting length of IKEv2 Security Association Payload: 36 | last substructure: checking 'IKEv2 Security Association Payload'.'IKEv2 Proposal Substructure Payload'.'last proposal' is 0 | ****emit IKEv2 Traffic Selector - Initiator - Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | number of TS: 1 (01) | next payload chain: setting previous 'IKEv2 Security Association Payload'.'next payload type' to current IKEv2 Traffic Selector - Initiator - Payload (44:ISAKMP_NEXT_v2TSi) | next payload chain: saving location 'IKEv2 Traffic Selector - Initiator - Payload'.'next payload type' in 'reply packet' | *****emit IKEv2 Traffic Selector: | TS type: IKEv2_TS_IPV4_ADDR_RANGE (0x7) | IP Protocol ID: ALL (0x0) | start port: 0 (00 00) | end port: 65535 (ff ff) | emitting 4 raw bytes of IP start into IKEv2 Traffic Selector | IP start: c0 00 01 00 | emitting 4 raw bytes of IP end into IKEv2 Traffic Selector | IP end: c0 00 01 ff | emitting length of IKEv2 Traffic Selector: 16 | emitting length of IKEv2 Traffic Selector - Initiator - Payload: 24 | ****emit IKEv2 Traffic Selector - Responder - Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | number of TS: 1 (01) | next payload chain: setting previous 'IKEv2 Traffic Selector - Initiator - Payload'.'next payload type' to current IKEv2 Traffic Selector - Responder - Payload (45:ISAKMP_NEXT_v2TSr) | next payload chain: saving location 'IKEv2 Traffic Selector - Responder - Payload'.'next payload type' in 'reply packet' | *****emit IKEv2 Traffic Selector: | TS type: IKEv2_TS_IPV4_ADDR_RANGE (0x7) | IP Protocol ID: ALL (0x0) | start port: 0 (00 00) | end port: 65535 (ff ff) | emitting 4 raw bytes of IP start into IKEv2 Traffic Selector | IP start: c0 00 02 00 | emitting 4 raw bytes of IP end into IKEv2 Traffic Selector | IP end: c0 00 02 ff | emitting length of IKEv2 Traffic Selector: 16 | emitting length of IKEv2 Traffic Selector - Responder - Payload: 24 | initiator child policy is compress=no, NOT sending v2N_IPCOMP_SUPPORTED | integ=NONE: .key_size=0 encrypt=AES_GCM_16: .key_size=32 .salt_size=4 keymat_len=36 | FOR_EACH_CONNECTION_... in IKE_SA_established | install_ipsec_sa() for #2: inbound and outbound | could_route called for westnet-eastnet-ipv4-psk-ikev2; kind=CK_PERMANENT that.has_client=yes oppo=no this.host_port=500 | FOR_EACH_CONNECTION_... in route_owner | conn westnet-eastnet-ipv4-psk-ikev2 mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ipv4-psk-ikev2 mark 0/00000000, 0/00000000 | route owner of "westnet-eastnet-ipv4-psk-ikev2" unrouted: NULL; eroute owner: NULL | looking for alg with encrypt: AES_GCM_16 keylen: 256 integ: NONE | encrypt AES_GCM_16 keylen=256 transid=20, key_size=32, encryptalg=20 | AES_GCM_16 requires 4 salt bytes | st->st_esp.keymat_len=36 is encrypt_keymat_size=36 + integ_keymat_size=0 | setting IPsec SA replay-window to 32 | NIC esp-hw-offload not for connection 'westnet-eastnet-ipv4-psk-ikev2' not available on interface eth1 | netlink: enabling tunnel mode | XFRM: adding IPsec SA with reqid 16389 | netlink: setting IPsec SA replay-window to 32 using old-style req | netlink: esp-hw-offload not set for IPsec SA | netlink response for Add SA esp.ea22fe5e@192.1.2.45 included non-error error | setup_half_ipsec_sa() is installing inbound eroute? inbound=0 owner=#0 mode=1 | set up outgoing SA, ref=0/0 | looking for alg with encrypt: AES_GCM_16 keylen: 256 integ: NONE | encrypt AES_GCM_16 keylen=256 transid=20, key_size=32, encryptalg=20 | AES_GCM_16 requires 4 salt bytes | st->st_esp.keymat_len=36 is encrypt_keymat_size=36 + integ_keymat_size=0 | setting IPsec SA replay-window to 32 | NIC esp-hw-offload not for connection 'westnet-eastnet-ipv4-psk-ikev2' not available on interface eth1 | netlink: enabling tunnel mode | XFRM: adding IPsec SA with reqid 16389 | netlink: setting IPsec SA replay-window to 32 using old-style req | netlink: esp-hw-offload not set for IPsec SA | netlink response for Add SA esp.8a336bbd@192.1.2.23 included non-error error | setup_half_ipsec_sa() is installing inbound eroute? inbound=1 owner=#0 mode=1 | setup_half_ipsec_sa() is installing inbound eroute | setup_half_ipsec_sa() before proto 50 | setup_half_ipsec_sa() after proto 50 | setup_half_ipsec_sa() calling raw_eroute backwards (i.e., inbound) | priority calculation of connection "westnet-eastnet-ipv4-psk-ikev2" is 2084814 (0x1fcfce) | add inbound eroute 192.0.1.0/24:0 --0-> 192.0.2.0/24:0 => tun.10000@192.1.2.23 using reqid 16389 (raw_eroute) proto=50 | IPsec SA SPD priority set to 2084814 | raw_eroute result=success | set up incoming SA, ref=0/0 | sr for #2: unrouted | route_and_eroute() for proto 0, and source port 0 dest port 0 | FOR_EACH_CONNECTION_... in route_owner | conn westnet-eastnet-ipv4-psk-ikev2 mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ipv4-psk-ikev2 mark 0/00000000, 0/00000000 | route owner of "westnet-eastnet-ipv4-psk-ikev2" unrouted: NULL; eroute owner: NULL | route_and_eroute with c: westnet-eastnet-ipv4-psk-ikev2 (next: none) ero:null esr:{(nil)} ro:null rosr:{(nil)} and state: #2 | priority calculation of connection "westnet-eastnet-ipv4-psk-ikev2" is 2084814 (0x1fcfce) | eroute_connection add eroute 192.0.2.0/24:0 --0-> 192.0.1.0/24:0 => tun.0@192.1.2.45 using reqid 16389 (raw_eroute) proto=50 | IPsec SA SPD priority set to 2084814 | raw_eroute result=success | running updown command "ipsec _updown" for verb up | command executing up-client | get_sa_info esp.ea22fe5e@192.1.2.45 | get_sa_info esp.8a336bbd@192.1.2.23 | executing up-client: PLUTO_VERB='up-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet-ipv4-psk-ikev2' PLUTO_VIRT_INTERFACE='NULL' PLUTO_INTERFACE='eth1' PLUTO_XFRMI_ROUTE='' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLUTO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@west' PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='xfrm' PLUTO_ADDTIME='1604157929' PLUTO_CONN_POLICY='PSK+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' PLUTO_INB... | popen cmd is 1127 chars long | cmd( 0):PLUTO_VERB='up-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet-ipv: | cmd( 80):4-psk-ikev2' PLUTO_VIRT_INTERFACE='NULL' PLUTO_INTERFACE='eth1' PLUTO_XFRMI_ROUT: | cmd( 160):E='' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLUTO_MY_ID='@east' PLUTO: | cmd( 240):_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' PLUTO_MY_CLIENT_MASK=': | cmd( 320):255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16388' PL: | cmd( 400):UTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@west' PLUTO_PEER_CLIEN: | cmd( 480):T='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_PEER_CLIENT_MASK='255.2: | cmd( 560):55.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STA: | cmd( 640):CK='xfrm' PLUTO_ADDTIME='1604157929' PLUTO_CONN_POLICY='PSK+ENCRYPT+TUNNEL+PFS+I: | cmd( 720):KEV2_ALLOW+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND='CK_PERMANENT' PLUTO_CONN_ADDR: | cmd( 800):FAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUT: | cmd( 880):O_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT: | cmd( 960):='0' PLUTO_NM_CONFIGURED='0' PLUTO_INBYTES='0' PLUTO_OUTBYTES='0' VTI_IFACE='' V: | cmd(1040):TI_ROUTING='no' VTI_SHARED='no' SPI_IN=0xea22fe5e SPI_OUT=0x8a336bbd ipsec _updo: | cmd(1120):wn 2>&1: | route_and_eroute: firewall_notified: true | running updown command "ipsec _updown" for verb prepare | command executing prepare-client | get_sa_info esp.ea22fe5e@192.1.2.45 | get_sa_info esp.8a336bbd@192.1.2.23 | executing prepare-client: PLUTO_VERB='prepare-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet-ipv4-psk-ikev2' PLUTO_VIRT_INTERFACE='NULL' PLUTO_INTERFACE='eth1' PLUTO_XFRMI_ROUTE='' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLUTO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@west' PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='xfrm' PLUTO_ADDTIME='1604157929' PLUTO_CONN_POLICY='PSK+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0'... | popen cmd is 1132 chars long | cmd( 0):PLUTO_VERB='prepare-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastne: | cmd( 80):t-ipv4-psk-ikev2' PLUTO_VIRT_INTERFACE='NULL' PLUTO_INTERFACE='eth1' PLUTO_XFRMI: | cmd( 160):_ROUTE='' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLUTO_MY_ID='@east' : | cmd( 240):PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' PLUTO_MY_CLIENT_M: | cmd( 320):ASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='1638: | cmd( 400):8' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@west' PLUTO_PEER_: | cmd( 480):CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_PEER_CLIENT_MASK=': | cmd( 560):255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUT: | cmd( 640):O_STACK='xfrm' PLUTO_ADDTIME='1604157929' PLUTO_CONN_POLICY='PSK+ENCRYPT+TUNNEL+: | cmd( 720):PFS+IKEV2_ALLOW+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND='CK_PERMANENT' PLUTO_CONN: | cmd( 800):_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISCO='0' PLUTO_PEER_DNS_INFO='': | cmd( 880): PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_CFG_SERVER='0' PLUTO_CFG_C: | cmd( 960):LIENT='0' PLUTO_NM_CONFIGURED='0' PLUTO_INBYTES='0' PLUTO_OUTBYTES='0' VTI_IFACE: | cmd(1040):='' VTI_ROUTING='no' VTI_SHARED='no' SPI_IN=0xea22fe5e SPI_OUT=0x8a336bbd ipsec : | cmd(1120):_updown 2>&1: | running updown command "ipsec _updown" for verb route | command executing route-client | get_sa_info esp.ea22fe5e@192.1.2.45 | get_sa_info esp.8a336bbd@192.1.2.23 | executing route-client: PLUTO_VERB='route-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet-ipv4-psk-ikev2' PLUTO_VIRT_INTERFACE='NULL' PLUTO_INTERFACE='eth1' PLUTO_XFRMI_ROUTE='' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLUTO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@west' PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='xfrm' PLUTO_ADDTIME='1604157929' PLUTO_CONN_POLICY='PSK+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' PLU... | popen cmd is 1130 chars long | cmd( 0):PLUTO_VERB='route-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet-: | cmd( 80):ipv4-psk-ikev2' PLUTO_VIRT_INTERFACE='NULL' PLUTO_INTERFACE='eth1' PLUTO_XFRMI_R: | cmd( 160):OUTE='' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLUTO_MY_ID='@east' PL: | cmd( 240):UTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' PLUTO_MY_CLIENT_MAS: | cmd( 320):K='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16388': | cmd( 400): PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@west' PLUTO_PEER_CL: | cmd( 480):IENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_PEER_CLIENT_MASK='25: | cmd( 560):5.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_: | cmd( 640):STACK='xfrm' PLUTO_ADDTIME='1604157929' PLUTO_CONN_POLICY='PSK+ENCRYPT+TUNNEL+PF: | cmd( 720):S+IKEV2_ALLOW+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND='CK_PERMANENT' PLUTO_CONN_A: | cmd( 800):DDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISCO='0' PLUTO_PEER_DNS_INFO='' P: | cmd( 880):LUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_CFG_SERVER='0' PLUTO_CFG_CLI: | cmd( 960):ENT='0' PLUTO_NM_CONFIGURED='0' PLUTO_INBYTES='0' PLUTO_OUTBYTES='0' VTI_IFACE=': | cmd(1040):' VTI_ROUTING='no' VTI_SHARED='no' SPI_IN=0xea22fe5e SPI_OUT=0x8a336bbd ipsec _u: | cmd(1120):pdown 2>&1: "westnet-eastnet-ipv4-psk-ikev2" #1: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ipv4-psk-ikev2" #1: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ipv4-psk-ikev2" #1: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ipv4-psk-ikev2" #1: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ipv4-psk-ikev2" #1: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ipv4-psk-ikev2" #1: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ipv4-psk-ikev2" #1: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ipv4-psk-ikev2" #1: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ipv4-psk-ikev2" #1: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ipv4-psk-ikev2" #1: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ipv4-psk-ikev2" #1: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ipv4-psk-ikev2" #1: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ipv4-psk-ikev2" #1: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ipv4-psk-ikev2" #1: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ipv4-psk-ikev2" #1: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ipv4-psk-ikev2" #1: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ipv4-psk-ikev2" #1: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ipv4-psk-ikev2" #1: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ipv4-psk-ikev2" #1: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ipv4-psk-ikev2" #1: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ipv4-psk-ikev2" #1: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ipv4-psk-ikev2" #1: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ipv4-psk-ikev2" #1: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ipv4-psk-ikev2" #1: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ipv4-psk-ikev2" #1: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ipv4-psk-ikev2" #1: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ipv4-psk-ikev2" #1: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ipv4-psk-ikev2" #1: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ipv4-psk-ikev2" #1: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ipv4-psk-ikev2" #1: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ipv4-psk-ikev2" #1: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ipv4-psk-ikev2" #1: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ipv4-psk-ikev2" #1: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ipv4-psk-ikev2" #1: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ipv4-psk-ikev2" #1: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ipv4-psk-ikev2" #1: route-client output: Error: Peer netns reference is invalid. | route_and_eroute: instance "westnet-eastnet-ipv4-psk-ikev2", setting eroute_owner {spd=0x56354713c3c8,sr=0x56354713c3c8} to #2 (was #0) (newest_ipsec_sa=#0) | ISAKMP_v2_IKE_AUTH: instance westnet-eastnet-ipv4-psk-ikev2[0], setting IKEv2 newest_ipsec_sa to #2 (was #0) (spd.eroute=#2) cloned from #1 | adding 1 bytes of padding (including 1 byte padding-length) | emitting 1 0x00 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 16 zero bytes of length of truncated HMAC/KEY into IKEv2 Encryption Payload | emitting length of IKEv2 Encryption Payload: 197 | emitting length of ISAKMP Message: 225 | recording outgoing fragment failed | ikev2_parent_inI2outR2_continue_tail returned STF_OK | #1 spent 2.73 (37.3) milliseconds in processing: Responder: process IKE_AUTH request in v2_dispatch() | XXX: processor 'Responder: process IKE_AUTH request' for #1 switched state to #2 | suspend processing: state #1 connection "westnet-eastnet-ipv4-psk-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3364) | start processing: state #2 connection "westnet-eastnet-ipv4-psk-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3364) | #2 complete_v2_state_transition() in state V2_IKE_AUTH_CHILD_R0 PARENT_R1->ESTABLISHED_CHILD_SA with status STF_OK; .st_v2_transition=NULL | transitioning from state STATE_PARENT_R1 to state STATE_V2_ESTABLISHED_CHILD_SA | Message ID: updating counters for #2 | Message ID: CHILD #1.#2 updating responder received message request 1: ike.initiator.sent=-1 ike.initiator.recv=-1 ike.initiator.last_contact=744604.140302 ike.responder.sent=0 ike.responder.recv=0->1 ike.responder.last_contact=744604.143471->744604.185285 child.wip.initiator=-1 child.wip.responder=1->-1 | Message ID: CHILD #1.#2 updating responder sent message response 1: ike.initiator.sent=-1 ike.initiator.recv=-1 ike.initiator.last_contact=744604.140302 ike.responder.sent=0->1 ike.responder.recv=1 ike.responder.last_contact=744604.185285 child.wip.initiator=-1 child.wip.responder=-1 | Message ID: IKE #1 no pending message initiators to schedule: ike.initiator.sent=-1 ike.initiator.recv=-1 ike.initiator.last_contact=744604.140302 ike.responder.sent=1 ike.responder.recv=1 ike.responder.last_contact=744604.185285 ike.wip.initiator=-1 ike.wip.responder=-1 | child state #2: V2_IKE_AUTH_CHILD_R0(ignore) => ESTABLISHED_CHILD_SA(established CHILD SA) | pstats #2 ikev2.child established | announcing the state transition "westnet-eastnet-ipv4-psk-ikev2" #2: negotiated connection [192.0.2.0-192.0.2.255:0-65535 0] -> [192.0.1.0-192.0.1.255:0-65535 0] | NAT-T: encaps is 'auto' "westnet-eastnet-ipv4-psk-ikev2" #2: IPsec SA established tunnel mode {ESP=>0xea22fe5e <0x8a336bbd xfrm=AES_GCM_16_256-NONE NATOA=none NATD=none DPD=passive} | sending 225 bytes for STATE_PARENT_R1 through eth1 from 192.1.2.23:500 to 192.1.2.45:500 using UDP (for #1) | 6e fb c7 cf d0 9d 6c eb 97 eb 47 96 ae 81 55 3b | 2e 20 23 20 00 00 00 01 00 00 00 e1 24 00 00 c5 | 59 45 a2 3a d0 38 0f 7b 51 c4 c1 ad 57 fa be 4a | fb 02 18 f6 ed 45 cc 72 01 c8 56 d9 90 1a 6a a8 | 60 d1 69 c9 61 e6 dd 84 87 b1 d5 b1 f8 88 c2 27 | dc 81 3a da dc 96 4b c7 c6 c6 24 5e d0 d2 5a e4 | f4 51 2b 93 da 42 b8 1b 2d ee 73 ed 83 6e 53 4a | e9 db 0d 61 e7 b6 2f d0 89 d0 41 57 04 dc 5f 67 | 2c 7d 89 a7 31 d8 d3 79 06 c2 c7 09 45 8b 3c b2 | 03 14 44 87 32 d2 f6 b8 4b af 2e b0 32 1f 2e b1 | 34 19 a0 76 e6 13 dc 3e f5 f5 7b 0d d0 89 83 1e | 40 bc ed bb 7e 4d ba 4a ff 04 e8 f9 a6 68 f4 bd | b0 9f 15 16 e9 d7 ac b3 8f 28 c1 19 d4 77 2d a6 | 3d e0 25 7c ab bb 30 5d 7c af 73 e0 25 8b 22 2d | 98 | sent 1 messages | releasing #2's fd-fd@(nil) because IKEv2 transitions finished | delref fd@NULL (in success_v2_state_transition() at ikev2.c:3189) | delref fd@NULL (in success_v2_state_transition() at ikev2.c:3189) | unpending #2's IKE SA #1 | unpending state #1 connection "westnet-eastnet-ipv4-psk-ikev2" | releasing #1's fd-fd@(nil) because IKEv2 transitions finished so releaseing IKE SA | delref fd@NULL (in success_v2_state_transition() at ikev2.c:3222) | delref fd@NULL (in success_v2_state_transition() at ikev2.c:3222) | #2 will start re-keying in 28530 seconds with margin of 270 seconds (attempting re-key) | state #2 has no .st_event to delete | event_schedule: newref EVENT_SA_REKEY-pe@0x563547151048 | inserting event EVENT_SA_REKEY, timeout in 28530 seconds for #2 | libevent_malloc: newref ptr-libevent@0x56354714d528 size 128 | delref logger@0x56354712f0f8(1->0) (in handle_helper_answer() at pluto_crypt.c:658) | delref fd@NULL (in free_logger() at log.c:853) | delref fd@NULL (in free_logger() at log.c:854) | resume inline worker sending helper answer for #1 suppresed complete_v2_state_transition(); MD.ST was switched | delref mdp@0x56354713dfa8(1->0) (in resume_handler() at server.c:743) | delref logger@0x56354713add8(1->0) (in resume_handler() at server.c:743) | delref fd@NULL (in free_logger() at log.c:853) | delref fd@NULL (in free_logger() at log.c:854) | #1 spent 3.03 (37.7) milliseconds in resume inline worker sending helper answer | stop processing: state #2 connection "westnet-eastnet-ipv4-psk-ikev2" from 192.1.2.45:500 (in resume_handler() at server.c:745) | libevent_free: delref ptr-libevent@0x5635471431f8 | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00326 (0.00865) milliseconds in signal handler PLUTO_SIGCHLD | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00321 (0.00315) milliseconds in signal handler PLUTO_SIGCHLD | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00344 (0.00327) milliseconds in signal handler PLUTO_SIGCHLD | newref struct fd@0x5635471510b8(0->1) (in whack_handle_cb() at rcv_whack.c:869) | fd_accept: new fd-fd@0x5635471510b8 (in whack_handle_cb() at rcv_whack.c:869) | whack: status | FOR_EACH_CONNECTION_... in show_connections_status | FOR_EACH_CONNECTION_... in show_connections_status | FOR_EACH_STATE_... in show_states (sort_states) | FOR_EACH_STATE_... in sort_states | get_sa_info esp.8a336bbd@192.1.2.23 | get_sa_info esp.ea22fe5e@192.1.2.45 | delref fd@0x5635471510b8(1->0) (in whack_handle_cb() at rcv_whack.c:903) | freeref fd-fd@0x5635471510b8 (in whack_handle_cb() at rcv_whack.c:903) | spent 0.451 (0.454) milliseconds in whack | newref struct fd@0x56354712f0f8(0->1) (in whack_handle_cb() at rcv_whack.c:869) | fd_accept: new fd-fd@0x56354712f0f8 (in whack_handle_cb() at rcv_whack.c:869) shutting down | leaking fd-fd@0x56354712f0f8's FD; will be closed when pluto exits (in whack_handle_cb() at rcv_whack.c:889) | delref fd@0x56354712f0f8(1->0) (in whack_handle_cb() at rcv_whack.c:895) | freeref fd-fd@0x56354712f0f8 (in whack_handle_cb() at rcv_whack.c:895) | no helper threads to shutdown | delref root_certs@NULL (in free_root_certs() at root_certs.c:127) | certs and keys locked by 'free_preshared_secrets' forgetting secrets | certs and keys unlocked by 'free_preshared_secrets' | deleting states for connection - including all other IPsec SA's of this IKE SA | pass 0 | FOR_EACH_STATE_... in foreach_state_by_connection_func_delete | state #2 | start processing: state #2 connection "westnet-eastnet-ipv4-psk-ikev2" from 192.1.2.45:500 (in foreach_state_by_connection_func_delete() at state.c:1406) | delref fd@NULL (in foreach_state_by_connection_func_delete() at state.c:1408) | addref fd@NULL (in foreach_state_by_connection_func_delete() at state.c:1409) | pstats #2 ikev2.child deleted completed | #2 main thread spent 0 (0) milliseconds helper thread spent 0 (0) milliseconds in total | [RE]START processing: state #2 connection "westnet-eastnet-ipv4-psk-ikev2" from 192.1.2.45:500 (in delete_state() at state.c:935) | should_send_delete: yes "westnet-eastnet-ipv4-psk-ikev2" #2: deleting state (STATE_V2_ESTABLISHED_CHILD_SA) aged 4.335853s and sending notification | child state #2: ESTABLISHED_CHILD_SA(established CHILD SA) => delete | get_sa_info esp.ea22fe5e@192.1.2.45 | get_sa_info esp.8a336bbd@192.1.2.23 "westnet-eastnet-ipv4-psk-ikev2" #2: ESP traffic information: in=336B out=336B | unsuspending #2 MD (nil) | should_send_delete: yes | #2 send IKEv2 delete notification for STATE_V2_ESTABLISHED_CHILD_SA | opening output PBS informational exchange delete request | **emit ISAKMP Message: | initiator SPI: 6e fb c7 cf d0 9d 6c eb | responder SPI: 97 eb 47 96 ae 81 55 3b | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_INFORMATIONAL (0x25) | flags: none (0x0) | Message ID: 0 (00 00 00 00) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | ***emit IKEv2 Encryption Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'ISAKMP Message'.'next payload type' to current IKEv2 Encryption Payload (46:ISAKMP_NEXT_v2SK) | next payload chain: saving location 'IKEv2 Encryption Payload'.'next payload type' in 'informational exchange delete request' | emitting 8 zero bytes of IV into IKEv2 Encryption Payload | ****emit IKEv2 Delete Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | protocol ID: IKEv2_SEC_PROTO_ESP (0x3) | SPI size: 4 (04) | number of SPIs: 1 (00 01) | next payload chain: setting previous 'IKEv2 Encryption Payload'.'next payload type' to current IKEv2 Delete Payload (42:ISAKMP_NEXT_v2D) | next payload chain: saving location 'IKEv2 Delete Payload'.'next payload type' in 'informational exchange delete request' | emitting 4 raw bytes of local spis into IKEv2 Delete Payload | local spis: 8a 33 6b bd | emitting length of IKEv2 Delete Payload: 12 | adding 1 bytes of padding (including 1 byte padding-length) | emitting 1 0x00 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 16 zero bytes of length of truncated HMAC/KEY into IKEv2 Encryption Payload | emitting length of IKEv2 Encryption Payload: 41 | emitting length of ISAKMP Message: 69 | sending 69 bytes for delete notification through eth1 from 192.1.2.23:500 to 192.1.2.45:500 using UDP (for #1) | 6e fb c7 cf d0 9d 6c eb 97 eb 47 96 ae 81 55 3b | 2e 20 25 00 00 00 00 00 00 00 00 45 2a 00 00 29 | af d6 d1 64 d6 5a 3d e2 63 76 61 a4 c8 a5 c4 38 | e0 11 03 aa 93 d3 fb 07 c6 1f 69 1d 3f df 70 56 | 26 e7 ec 93 ce | sent 1 messages | Message ID: IKE #1 sender #2 in send_delete hacking around record 'n' send | Message ID: IKE #1 scheduling EVENT_RETRANSMIT: ike.initiator.sent=0 ike.initiator.recv=-1 ike.initiator.last_contact=744604.140302 ike.responder.sent=1 ike.responder.recv=1 ike.responder.last_contact=744604.185285 ike.wip.initiator=0 ike.wip.responder=-1 | event_schedule: newref EVENT_RETRANSMIT-pe@0x56354713d798 | inserting event EVENT_RETRANSMIT, timeout in 0.5 seconds for #1 | libevent_malloc: newref ptr-libevent@0x5635471431f8 size 128 | #1 STATE_V2_ESTABLISHED_IKE_SA: retransmits: first event in 0.5 seconds; timeout in 60 seconds; limit of 12 retransmits; current time is 744608.484949 | Message ID: IKE #1 updating initiator sent message request 0: ike.initiator.sent=-1->0 ike.initiator.recv=-1 ike.initiator.last_contact=744604.140302 ike.responder.sent=1 ike.responder.recv=1 ike.responder.last_contact=744604.185285 ike.wip.initiator=-1->0 ike.wip.responder=-1 | state #2 deleting .st_event EVENT_SA_REKEY | libevent_free: delref ptr-libevent@0x56354714d528 | free_event_entry: delref EVENT_SA_REKEY-pe@0x563547151048 | #2 STATE_V2_ESTABLISHED_CHILD_SA: retransmits: cleared | running updown command "ipsec _updown" for verb down | command executing down-client | get_sa_info esp.ea22fe5e@192.1.2.45 | get_sa_info esp.8a336bbd@192.1.2.23 | executing down-client: PLUTO_VERB='down-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet-ipv4-psk-ikev2' PLUTO_VIRT_INTERFACE='NULL' PLUTO_INTERFACE='eth1' PLUTO_XFRMI_ROUTE='' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLUTO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@west' PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='xfrm' PLUTO_ADDTIME='1604157929' PLUTO_CONN_POLICY='PSK+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' PLUTO... | popen cmd is 1133 chars long | cmd( 0):PLUTO_VERB='down-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet-i: | cmd( 80):pv4-psk-ikev2' PLUTO_VIRT_INTERFACE='NULL' PLUTO_INTERFACE='eth1' PLUTO_XFRMI_RO: | cmd( 160):UTE='' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLUTO_MY_ID='@east' PLU: | cmd( 240):TO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' PLUTO_MY_CLIENT_MASK: | cmd( 320):='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16388' : | cmd( 400):PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@west' PLUTO_PEER_CLI: | cmd( 480):ENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_PEER_CLIENT_MASK='255: | cmd( 560):.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_S: | cmd( 640):TACK='xfrm' PLUTO_ADDTIME='1604157929' PLUTO_CONN_POLICY='PSK+ENCRYPT+TUNNEL+PFS: | cmd( 720):+IKEV2_ALLOW+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND='CK_PERMANENT' PLUTO_CONN_AD: | cmd( 800):DRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISCO='0' PLUTO_PEER_DNS_INFO='' PL: | cmd( 880):UTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIE: | cmd( 960):NT='0' PLUTO_NM_CONFIGURED='0' PLUTO_INBYTES='336' PLUTO_OUTBYTES='336' VTI_IFAC: | cmd(1040):E='' VTI_ROUTING='no' VTI_SHARED='no' SPI_IN=0xea22fe5e SPI_OUT=0x8a336bbd ipsec: | cmd(1120): _updown 2>&1: | shunt_eroute() called for connection 'westnet-eastnet-ipv4-psk-ikev2' to 'replace with shunt' for rt_kind 'prospective erouted' using protoports 192.0.2.0/24:0 --0->- 192.0.1.0/24:0 | netlink_shunt_eroute for proto 0, and source 192.0.2.0/24:0 dest 192.0.1.0/24:0 | priority calculation of connection "westnet-eastnet-ipv4-psk-ikev2" is 2084814 (0x1fcfce) | IPsec SA SPD priority set to 2084814 | delete esp.ea22fe5e@192.1.2.45 | XFRM: deleting IPsec SA with reqid 0 | netlink response for Del SA esp.ea22fe5e@192.1.2.45 included non-error error | priority calculation of connection "westnet-eastnet-ipv4-psk-ikev2" is 2084814 (0x1fcfce) | delete inbound eroute 192.0.1.0/24:0 --0-> 192.0.2.0/24:0 => unk.10000@192.1.2.23 using reqid 0 (raw_eroute) proto=50 | raw_eroute result=success | delete esp.8a336bbd@192.1.2.23 | XFRM: deleting IPsec SA with reqid 0 | netlink response for Del SA esp.8a336bbd@192.1.2.23 included non-error error | in connection_discard for connection westnet-eastnet-ipv4-psk-ikev2 | State DB: deleting IKEv2 state #2 in ESTABLISHED_CHILD_SA | child state #2: ESTABLISHED_CHILD_SA(established CHILD SA) => UNDEFINED(ignore) | releasing #2's fd-fd@(nil) because deleting state | delref fd@NULL (in delete_state() at state.c:1195) | delref fd@NULL (in delete_state() at state.c:1195) | delref pkp@NULL (in delete_state() at state.c:1202) | stop processing: state #2 from 192.1.2.45:500 (in delete_state() at state.c:1239) | delref logger@0x56354714cf88(1->0) (in delete_state() at state.c:1306) | delref fd@NULL (in free_logger() at log.c:853) | delref fd@NULL (in free_logger() at log.c:854) | processing: STOP state #0 (in foreach_state_by_connection_func_delete() at state.c:1411) | state #1 | pass 1 | FOR_EACH_STATE_... in foreach_state_by_connection_func_delete | state #1 | start processing: state #1 connection "westnet-eastnet-ipv4-psk-ikev2" from 192.1.2.45:500 (in foreach_state_by_connection_func_delete() at state.c:1406) | delref fd@NULL (in foreach_state_by_connection_func_delete() at state.c:1408) | addref fd@NULL (in foreach_state_by_connection_func_delete() at state.c:1409) | pstats #1 ikev2.ike deleted completed | #1 main thread spent 5.2 (39.8) milliseconds helper thread spent 2.78 (2.82) milliseconds in total | [RE]START processing: state #1 connection "westnet-eastnet-ipv4-psk-ikev2" from 192.1.2.45:500 (in delete_state() at state.c:935) | should_send_delete: yes "westnet-eastnet-ipv4-psk-ikev2" #1: deleting state (STATE_V2_ESTABLISHED_IKE_SA) aged 4.355298s and sending notification | parent state #1: ESTABLISHED_IKE_SA(established IKE SA) => delete | unsuspending #1 MD (nil) | should_send_delete: yes | #1 send IKEv2 delete notification for STATE_V2_ESTABLISHED_IKE_SA | opening output PBS informational exchange delete request | **emit ISAKMP Message: | initiator SPI: 6e fb c7 cf d0 9d 6c eb | responder SPI: 97 eb 47 96 ae 81 55 3b | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_INFORMATIONAL (0x25) | flags: none (0x0) | Message ID: 1 (00 00 00 01) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | ***emit IKEv2 Encryption Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'ISAKMP Message'.'next payload type' to current IKEv2 Encryption Payload (46:ISAKMP_NEXT_v2SK) | next payload chain: saving location 'IKEv2 Encryption Payload'.'next payload type' in 'informational exchange delete request' | emitting 8 zero bytes of IV into IKEv2 Encryption Payload | ****emit IKEv2 Delete Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | protocol ID: IKEv2_SEC_PROTO_IKE (0x1) | SPI size: 0 (00) | number of SPIs: 0 (00 00) | next payload chain: setting previous 'IKEv2 Encryption Payload'.'next payload type' to current IKEv2 Delete Payload (42:ISAKMP_NEXT_v2D) | next payload chain: saving location 'IKEv2 Delete Payload'.'next payload type' in 'informational exchange delete request' | emitting length of IKEv2 Delete Payload: 8 | adding 1 bytes of padding (including 1 byte padding-length) | emitting 1 0x00 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 16 zero bytes of length of truncated HMAC/KEY into IKEv2 Encryption Payload | emitting length of IKEv2 Encryption Payload: 37 | emitting length of ISAKMP Message: 65 | sending 65 bytes for delete notification through eth1 from 192.1.2.23:500 to 192.1.2.45:500 using UDP (for #1) | 6e fb c7 cf d0 9d 6c eb 97 eb 47 96 ae 81 55 3b | 2e 20 25 00 00 00 00 01 00 00 00 41 2a 00 00 25 | ab bc fa eb 3e 8b 41 c8 01 0b e0 e5 09 ee 2c 43 | 14 1f 9b d1 00 9e 06 39 45 43 67 0c ac 56 3d bd | 41 | sent 1 messages | Message ID: IKE #1 sender #1 in send_delete hacking around record 'n' send | Message ID: IKE #1 XXX: expecting sender.wip.initiator 0 == -1 - suspect record'n'send out-of-order?): ike.initiator.sent=1 ike.initiator.recv=-1 ike.initiator.last_contact=744604.140302 ike.responder.sent=1 ike.responder.recv=1 ike.responder.last_contact=744604.185285 ike.wip.initiator=1 ike.wip.responder=-1 | Message ID: IKE #1 XXX: EVENT_RETRANSMIT already scheduled -- suspect record'n'send: ike.initiator.sent=1 ike.initiator.recv=-1 ike.initiator.last_contact=744604.140302 ike.responder.sent=1 ike.responder.recv=1 ike.responder.last_contact=744604.185285 ike.wip.initiator=1 ike.wip.responder=-1 | Message ID: IKE #1 updating initiator sent message request 1: ike.initiator.sent=0->1 ike.initiator.recv=-1 ike.initiator.last_contact=744604.140302 ike.responder.sent=1 ike.responder.recv=1 ike.responder.last_contact=744604.185285 ike.wip.initiator=0->1 ike.wip.responder=-1 | state #1 deleting .st_event EVENT_SA_REKEY | libevent_free: delref ptr-libevent@0x56354714d0f8 | free_event_entry: delref EVENT_SA_REKEY-pe@0x5635471462d8 | #1 requesting EVENT_RETRANSMIT-pe@0x56354713d798 be deleted | libevent_free: delref ptr-libevent@0x5635471431f8 | free_event_entry: delref EVENT_RETRANSMIT-pe@0x56354713d798 | #1 STATE_V2_ESTABLISHED_IKE_SA: retransmits: cleared | State DB: IKEv2 state not found (flush_incomplete_children) | in connection_discard for connection westnet-eastnet-ipv4-psk-ikev2 | State DB: deleting IKEv2 state #1 in ESTABLISHED_IKE_SA | parent state #1: ESTABLISHED_IKE_SA(established IKE SA) => UNDEFINED(ignore) | releasing #1's fd-fd@(nil) because deleting state | delref fd@NULL (in delete_state() at state.c:1195) | delref fd@NULL (in delete_state() at state.c:1195) | delref pkp@NULL (in delete_state() at state.c:1202) | stop processing: state #1 from 192.1.2.45:500 (in delete_state() at state.c:1239) | delref logger@0x56354712f168(1->0) (in delete_state() at state.c:1306) | delref fd@NULL (in free_logger() at log.c:853) | delref fd@NULL (in free_logger() at log.c:854) | processing: STOP state #0 (in foreach_state_by_connection_func_delete() at state.c:1411) | shunt_eroute() called for connection 'westnet-eastnet-ipv4-psk-ikev2' to 'delete' for rt_kind 'unrouted' using protoports 192.0.2.0/24:0 --0->- 192.0.1.0/24:0 | netlink_shunt_eroute for proto 0, and source 192.0.2.0/24:0 dest 192.0.1.0/24:0 | priority calculation of connection "westnet-eastnet-ipv4-psk-ikev2" is 2084814 (0x1fcfce) | priority calculation of connection "westnet-eastnet-ipv4-psk-ikev2" is 2084814 (0x1fcfce) | FOR_EACH_CONNECTION_... in route_owner | conn westnet-eastnet-ipv4-psk-ikev2 mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ipv4-psk-ikev2 mark 0/00000000, 0/00000000 | route owner of "westnet-eastnet-ipv4-psk-ikev2" unrouted: NULL | running updown command "ipsec _updown" for verb unroute | command executing unroute-client | executing unroute-client: PLUTO_VERB='unroute-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet-ipv4-psk-ikev2' PLUTO_VIRT_INTERFACE='NULL' PLUTO_INTERFACE='eth1' PLUTO_XFRMI_ROUTE='' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLUTO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16388' PLUTO_SA_TYPE='none' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@west' PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='xfrm' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='PSK+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFA... | popen cmd is 1073 chars long | cmd( 0):PLUTO_VERB='unroute-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastne: | cmd( 80):t-ipv4-psk-ikev2' PLUTO_VIRT_INTERFACE='NULL' PLUTO_INTERFACE='eth1' PLUTO_XFRMI: | cmd( 160):_ROUTE='' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLUTO_MY_ID='@east' : | cmd( 240):PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' PLUTO_MY_CLIENT_M: | cmd( 320):ASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='1638: | cmd( 400):8' PLUTO_SA_TYPE='none' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@west' PLUTO_PEER: | cmd( 480):_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_PEER_CLIENT_MASK=: | cmd( 560):'255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLU: | cmd( 640):TO_STACK='xfrm' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='PSK+ENCRYPT+TUNNEL+PFS+IKEV: | cmd( 720):2_ALLOW+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAM: | cmd( 800):ILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_P: | cmd( 880):EER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0: | cmd( 960):' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' VTI_ROUTING='no' VTI_SHARED='no' SPI_IN=0: | cmd(1040):x0 SPI_OUT=0x0 ipsec _updown 2>&1: unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. | addref fd@NULL (in clone_logger() at log.c:809) | addref fd@NULL (in clone_logger() at log.c:810) | newref clone logger@0x56354714d4b8(0->1) (in clone_logger() at log.c:817) | delref hp@0x56354713def8(1->0) (in delete_oriented_hp() at hostpair.c:360) | flush revival: connection 'westnet-eastnet-ipv4-psk-ikev2' wasn't on the list | delref vip@NULL (in discard_connection() at connections.c:262) | delref vip@NULL (in discard_connection() at connections.c:263) | Connection DB: deleting connection $1 | delref logger@0x56354714d4b8(1->0) (in delete_connection() at connections.c:214) | delref fd@NULL (in free_logger() at log.c:853) | delref fd@NULL (in free_logger() at log.c:854) | crl fetch request list locked by 'free_crl_fetch' | crl fetch request list unlocked by 'free_crl_fetch' | iface: marking eth1 dead | iface: marking eth0 dead | iface: marking lo dead | updating interfaces - listing interfaces that are going down shutting down interface lo 127.0.0.1:4500 shutting down interface lo 127.0.0.1:500 shutting down interface eth0 192.0.2.254:4500 shutting down interface eth0 192.0.2.254:500 shutting down interface eth1 192.1.2.23:4500 shutting down interface eth1 192.1.2.23:500 | updating interfaces - deleting the dead | FOR_EACH_STATE_... in delete_states_dead_interfaces | libevent_free: delref ptr-libevent@0x5635471356c8 | delref id@0x56354713b2c8(3->2) (in release_iface_dev() at iface.c:125) | libevent_free: delref ptr-libevent@0x5635470f7c98 | delref id@0x56354713b2c8(2->1) (in release_iface_dev() at iface.c:125) | libevent_free: delref ptr-libevent@0x5635470f0448 | delref id@0x56354713b1f8(3->2) (in release_iface_dev() at iface.c:125) | libevent_free: delref ptr-libevent@0x5635470f7d98 | delref id@0x56354713b1f8(2->1) (in release_iface_dev() at iface.c:125) | libevent_free: delref ptr-libevent@0x5635470fb198 | delref id@0x56354713b0c8(3->2) (in release_iface_dev() at iface.c:125) | libevent_free: delref ptr-libevent@0x5635470fb0e8 | delref id@0x56354713b0c8(2->1) (in release_iface_dev() at iface.c:125) | delref id@0x56354713b0c8(1->0) (in release_iface_dev() at iface.c:125) | delref id@0x56354713b1f8(1->0) (in release_iface_dev() at iface.c:125) | delref id@0x56354713b2c8(1->0) (in release_iface_dev() at iface.c:125) | updating interfaces - checking orientation | FOR_EACH_UNORIENTED_CONNECTION_... in check_orientations | libevent_free: delref ptr-libevent@0x563547135778 | free_event_entry: delref EVENT_NULL-pe@0x56354713a668 | libevent_free: delref ptr-libevent@0x5635470fb298 | free_event_entry: delref EVENT_NULL-pe@0x563547135658 | libevent_free: delref ptr-libevent@0x5635470fb038 | free_event_entry: delref EVENT_NULL-pe@0x5635471355e8 | global timer EVENT_REINIT_SECRET uninitialized | global timer EVENT_SHUNT_SCAN uninitialized | global timer EVENT_PENDING_DDNS uninitialized | global timer EVENT_PENDING_PHASE2 uninitialized | global timer EVENT_CHECK_CRLS uninitialized | global timer EVENT_REVIVE_CONNS uninitialized | global timer EVENT_FREE_ROOT_CERTS uninitialized | global timer EVENT_RESET_LOG_RATE_LIMIT uninitialized | global timer EVENT_NAT_T_KEEPALIVE uninitialized | libevent_free: delref ptr-libevent@0x56354708de58 | signal event handler PLUTO_SIGCHLD uninstalled | libevent_free: delref ptr-libevent@0x56354708dbb8 | signal event handler PLUTO_SIGTERM uninstalled | libevent_free: delref ptr-libevent@0x56354713a888 | signal event handler PLUTO_SIGHUP uninstalled | libevent_free: delref ptr-libevent@0x56354713aac8 | signal event handler PLUTO_SIGSYS uninstalled | releasing event base | libevent_free: delref ptr-libevent@0x56354713a998 | libevent_free: delref ptr-libevent@0x56354712a5c8 | libevent_free: delref ptr-libevent@0x56354712a578 | libevent_free: delref ptr-libevent@0x5635470fd088 | libevent_free: delref ptr-libevent@0x56354712a778 | libevent_free: delref ptr-libevent@0x56354712ec18 | libevent_free: delref ptr-libevent@0x56354712ea28 | libevent_free: delref ptr-libevent@0x56354712a8e8 | libevent_free: delref ptr-libevent@0x56354712e838 | libevent_free: delref ptr-libevent@0x56354712e1f8 | libevent_free: delref ptr-libevent@0x56354713bd78 | libevent_free: delref ptr-libevent@0x56354713bd38 | libevent_free: delref ptr-libevent@0x56354713bcf8 | libevent_free: delref ptr-libevent@0x56354713bcb8 | libevent_free: delref ptr-libevent@0x56354713bc78 | libevent_free: delref ptr-libevent@0x56354713bc38 | libevent_free: delref ptr-libevent@0x56354712a7b8 | libevent_free: delref ptr-libevent@0x56354713a848 | libevent_free: delref ptr-libevent@0x56354713a808 | libevent_free: delref ptr-libevent@0x56354712e878 | libevent_free: delref ptr-libevent@0x56354713a958 | libevent_free: delref ptr-libevent@0x56354713a6d8 | libevent_free: delref ptr-libevent@0x5635470fcd68 | libevent_free: delref ptr-libevent@0x5635470fcce8 | libevent_free: delref ptr-libevent@0x5635470f3c48 | releasing global libevent data | libevent_free: delref ptr-libevent@0x5635470fd028 | libevent_free: delref ptr-libevent@0x56354708d6a8 | libevent_free: delref ptr-libevent@0x5635470fd528 leak detective found no leaks