| newref logger@0x55c845f7dbb8(0->1) (in main() at plutomain.c:1591) | delref logger@0x55c845f7dbb8(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:2189343 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@0x55c8460030a8 size 40 | libevent_malloc: newref ptr-libevent@0x55c845f93658 size 40 | libevent_malloc: newref ptr-libevent@0x55c846003588 size 40 | creating event base | libevent_malloc: newref ptr-libevent@0x55c846003888 size 56 | libevent_malloc: newref ptr-libevent@0x55c845ff9d48 size 664 | libevent_malloc: newref ptr-libevent@0x55c8460306d8 size 24 | libevent_malloc: newref ptr-libevent@0x55c846030728 size 384 | libevent_malloc: newref ptr-libevent@0x55c8460308d8 size 16 | libevent_malloc: newref ptr-libevent@0x55c846003508 size 40 | libevent_malloc: newref ptr-libevent@0x55c846002d68 size 48 | libevent_realloc: newref ptr-libevent@0x55c846026ea8 size 256 | libevent_malloc: newref ptr-libevent@0x55c846030918 size 16 | libevent_free: delref ptr-libevent@0x55c846003888 | libevent initialized | libevent_realloc: newref ptr-libevent@0x55c846003888 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 8 CPU cores online starting up 7 helper threads started thread for helper 0 | starting helper thread 1 seccomp security disabled for crypto helper 1 | status value returned by setting the priority of this helper thread 1: 22 | helper thread 1 has nothing to do started thread for helper 1 | starting helper thread 2 seccomp security disabled for crypto helper 2 started thread for helper 2 | starting helper thread 3 seccomp security disabled for crypto helper 3 | status value returned by setting the priority of this helper thread 2: 22 | helper thread 2 has nothing to do started thread for helper 3 | status value returned by setting the priority of this helper thread 3: 22 | starting helper thread 4 seccomp security disabled for crypto helper 4 | status value returned by setting the priority of this helper thread 4: 22 | helper thread 3 has nothing to do started thread for helper 4 | starting helper thread 5 | helper thread 4 has nothing to do seccomp security disabled for crypto helper 5 | status value returned by setting the priority of this helper thread 5: 22 | starting helper thread 6 started thread for helper 5 | helper thread 5 has nothing to do seccomp security disabled for crypto helper 6 | status value returned by setting the priority of this helper thread 6: 22 | helper thread 6 has nothing to do started thread for helper 6 | starting helper thread 7 seccomp security disabled for crypto helper 7 | status value returned by setting the priority of this helper thread 7: 22 | helper thread 7 has nothing to do 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@0x55c846035278 | libevent_malloc: newref ptr-libevent@0x55c846001018 size 128 | libevent_malloc: newref ptr-libevent@0x55c846034718 size 16 | add_fd_read_event_handler: newref KERNEL_ROUTE_FD-pe@0x55c84603bb08 | libevent_malloc: newref ptr-libevent@0x55c8460010c8 size 128 | libevent_malloc: newref ptr-libevent@0x55c8460340d8 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@0x55c846041178 | libevent_malloc: newref ptr-libevent@0x55c84603ddb8 size 128 | libevent_malloc: newref ptr-libevent@0x55c846034af8 size 16 | libevent_realloc: newref ptr-libevent@0x55c8460411e8 size 256 | libevent_malloc: newref ptr-libevent@0x55c846034758 size 8 | libevent_realloc: newref ptr-libevent@0x55c846034f88 size 144 | libevent_malloc: newref ptr-libevent@0x55c845f93f48 size 152 | libevent_malloc: newref ptr-libevent@0x55c846034908 size 16 | signal event handler PLUTO_SIGCHLD installed | libevent_malloc: newref ptr-libevent@0x55c846041318 size 8 | libevent_malloc: newref ptr-libevent@0x55c845f936b8 size 152 | signal event handler PLUTO_SIGTERM installed | libevent_malloc: newref ptr-libevent@0x55c846041358 size 8 | libevent_malloc: newref ptr-libevent@0x55c846041398 size 152 | signal event handler PLUTO_SIGHUP installed | libevent_malloc: newref ptr-libevent@0x55c846041468 size 8 | libevent_realloc: delref ptr-libevent@0x55c846034f88 | libevent_realloc: newref ptr-libevent@0x55c8460414a8 size 256 | libevent_malloc: newref ptr-libevent@0x55c8460415d8 size 152 | signal event handler PLUTO_SIGSYS installed | created addconn helper (pid:2189361) using fork+execve | forked child 2189361 seccomp security disabled | newref struct fd@0x55c846041738(0->1) (in whack_handle_cb() at rcv_whack.c:869) | fd_accept: new fd-fd@0x55c846041738 (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.1.254 | Inspecting interface eth1 | found eth1 with address 192.1.2.45 | newref struct iface_dev@0x55c846041bd8(0->1) (in add_iface_dev() at iface.c:67) Kernel supports NIC esp-hw-offload | iface: marking eth1 add | newref struct iface_dev@0x55c846041d08(0->1) (in add_iface_dev() at iface.c:67) | iface: marking eth0 add | newref struct iface_dev@0x55c846041dd8(0->1) (in add_iface_dev() at iface.c:67) | iface: marking lo add | no interfaces to sort | MSG_ERRQUEUE enabled on fd 18 | addref ifd@0x55c846041bd8(1->2) (in bind_iface_port() at iface.c:237) adding UDP interface eth1 192.1.2.45: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@0x55c846041bd8(2->3) (in bind_iface_port() at iface.c:237) adding UDP interface eth1 192.1.2.45:4500 | MSG_ERRQUEUE enabled on fd 20 | addref ifd@0x55c846041d08(1->2) (in bind_iface_port() at iface.c:237) adding UDP interface eth0 192.0.1.254: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@0x55c846041d08(2->3) (in bind_iface_port() at iface.c:237) adding UDP interface eth0 192.0.1.254:4500 | MSG_ERRQUEUE enabled on fd 22 | addref ifd@0x55c846041dd8(1->2) (in bind_iface_port() at iface.c:237) adding UDP interface lo 127.0.0.1:500 | MSG_ERRQUEUE enabled on fd 23 | NAT-Traversal: Trying sockopt style NAT-T | NAT-Traversal: ESPINUDP(2) setup succeeded for sockopt style NAT-T family IPv4 | addref ifd@0x55c846041dd8(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@0x55c84603dd08 size 128 | libevent_malloc: newref ptr-libevent@0x55c846042788 size 16 | setup callback for interface lo 127.0.0.1:4500 fd 23 on UDP | libevent_malloc: newref ptr-libevent@0x55c8460011c8 size 128 | libevent_malloc: newref ptr-libevent@0x55c8460427c8 size 16 | setup callback for interface lo 127.0.0.1:500 fd 22 on UDP | libevent_malloc: newref ptr-libevent@0x55c845ff6488 size 128 | libevent_malloc: newref ptr-libevent@0x55c846042808 size 16 | setup callback for interface eth0 192.0.1.254:4500 fd 21 on UDP | libevent_malloc: newref ptr-libevent@0x55c8460012c8 size 128 | libevent_malloc: newref ptr-libevent@0x55c846042848 size 16 | setup callback for interface eth0 192.0.1.254:500 fd 20 on UDP | libevent_malloc: newref ptr-libevent@0x55c845ffdce8 size 128 | libevent_malloc: newref ptr-libevent@0x55c846042888 size 16 | setup callback for interface eth1 192.1.2.45:4500 fd 19 on UDP | libevent_malloc: newref ptr-libevent@0x55c845ffdc38 size 128 | libevent_malloc: newref ptr-libevent@0x55c8460428c8 size 16 | setup callback for interface eth1 192.1.2.45:500 fd 18 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(0x55c8460441d8) PKK_PSK: @west | id type added to secret(0x55c8460441d8) PKK_PSK: @east | 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@0x55c846041738(1->0) (in whack_handle_cb() at rcv_whack.c:903) | freeref fd-fd@0x55c846041738 (in whack_handle_cb() at rcv_whack.c:903) | spent 1 (2.28) milliseconds in whack | processing signal PLUTO_SIGCHLD | waitpid returned pid 2189361 (exited with status 0) | reaped addconn helper child (status 0) | waitpid returned ECHILD (no child processes left) | spent 0.0245 (0.0276) milliseconds in signal handler PLUTO_SIGCHLD | newref struct fd@0x55c846041778(0->1) (in whack_handle_cb() at rcv_whack.c:869) | fd_accept: new fd-fd@0x55c846041778 (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@0x55c846041778(1->0) (in whack_handle_cb() at rcv_whack.c:903) | freeref fd-fd@0x55c846041778 (in whack_handle_cb() at rcv_whack.c:903) | spent 0.0589 (0.0587) milliseconds in whack | newref struct fd@0x55c8460417b8(0->1) (in whack_handle_cb() at rcv_whack.c:869) | fd_accept: new fd-fd@0x55c8460417b8 (in whack_handle_cb() at rcv_whack.c:869) | whack: delete 'westnet-eastnet-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-ikev2' | addref fd@0x55c8460417b8(1->2) (in string_logger() at log.c:838) | newref string logger@0x55c846035048(0->1) (in add_connection() at connections.c:1998) | Connection DB: adding connection "westnet-eastnet-ikev2" $1 | FOR_EACH_CONNECTION_... in conn_by_name | added new connection westnet-eastnet-ikev2 with policy PSK+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+IKE_FRAG_ALLOW+ESN_NO | ike (phase1) algorithm values: AES_CBC_128-HMAC_SHA2_256-MODP2048 | 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 | computed rsa CKAID | b4 9f 1a ac 9e 45 6e 79 29 c8 81 97 3a 0c 6a d3 | 7f 0f 03 50 | keyid: *AQOm9dY/4 | size: 274 | n | a6 f5 d6 3f e3 8f 6c 01 6a fc 7b 7c 6d 57 8b 49 | 39 0d 77 f7 ac e2 85 f1 98 1e 4b 6d a5 3e b3 96 | 9a d1 99 5a bc 10 f2 97 de f2 28 f9 5f 92 09 f0 | c8 d4 12 e4 60 6e 9c 60 98 10 01 7d 26 b7 8f 95 | 62 2d 87 dd cd de f6 d3 8f 35 b0 50 d0 18 f5 99 | f8 04 f1 ff 61 5b bc 7f 1f c0 04 d8 e4 8c ac 34 | ad 7a c1 da 3c 2d 8c 30 ae d6 3c 59 b1 3a 94 d3 | d5 2a 73 91 bd 59 5f 3e 72 bf 4a 1b 9d c5 b2 2b | 4d e7 0d 24 3e 77 f9 7f 2d d6 9d 29 ef 70 7d 7a | 6d a2 b8 61 0c 4b 09 4a 06 71 84 70 85 9a 8f 52 | a1 80 06 fd c6 fc 3e 27 fa 16 fa 32 83 a9 ca 80 | db 0f 4a bf f7 e9 55 8e bd 29 4d 23 a6 dc 2a b3 | 5d 62 a9 21 1e be 83 d8 69 3c 03 0a 48 8e d3 3a | 11 f2 86 5a d1 30 65 bd c8 f4 83 87 ff 04 87 33 | 05 4f e0 d8 8c fe b3 19 4c dd 85 40 f3 4d 6e e8 | 49 14 06 2c 1f 59 59 05 8f 20 b0 ca 46 3f c9 20 | 7e 04 30 7d 9a 80 6c 3f 0a 89 f7 d3 af d8 15 04 | 37 f9 | e | 03 | CKAID | b4 9f 1a ac 9e 45 6e 79 29 c8 81 97 3a 0c 6a d3 | 7f 0f 03 50 | saving left CKAID b49f1aac9e456e7929c881973a0c6ad37f0f0350 extracted from raw RSA public key | trying secret PKK_PSK: | loaded private key matching CKAID b49f1aac9e456e7929c881973a0c6ad37f0f0350 | copying key using reference slot | certs and keys locked by 'lsw_add_rsa_secret' | certs and keys unlocked by 'lsw_add_rsa_secret' | spent 2.75 (2.76) milliseconds in preload_private_key_by_ckaid() loading private key using CKAID connection "westnet-eastnet-ikev2": loaded private key matching left CKAID b49f1aac9e456e7929c881973a0c6ad37f0f0350 | counting wild cards for @west is 0 | computed rsa CKAID | 61 55 99 73 d3 ac ef 7d 3a 37 0e 3e 82 ad 92 c1 | 8a 82 25 f1 | keyid: *AQO9bJbr3 | size: 274 | n | bd 6c 96 eb df 78 89 b3 ed 77 0d a1 7f 7b e5 16 | c2 c9 e4 7d 92 0a 90 9d 55 43 b4 62 13 03 85 7a | e0 26 7b 54 1f ca 09 93 cf ff 25 c9 02 4c 78 ca | 94 e5 3e ac d1 f9 a8 e5 bb 7f cc 20 84 e0 21 c9 | f0 0d c5 44 ba f3 48 64 61 58 f6 0f 63 0d d2 67 | 1e 59 8b ec f3 50 39 71 fb 39 da 11 64 b6 62 cd | 5f d3 8d 2e c1 50 ed 9c 6e 22 0c 39 a7 ce 62 b5 | af 8a 80 0f 2e 4c 05 5c 82 c7 8d 29 02 2e bb 23 | 5f db f2 9e b5 7d e2 20 70 1a 63 f3 8e 5d ac 47 | f0 5c 26 4e b1 d0 42 60 52 4a b0 77 25 ce e0 98 | 2b 43 f4 c7 59 1a 64 01 83 ea 4e e3 1a 2a 92 b8 | 55 ab 63 dd 4b 70 47 29 dc e9 b4 60 bf 43 4d 58 | 8f 64 73 95 70 ac 35 89 b2 c2 9c d4 62 c0 5f 56 | 5f ad 1b e5 dd 49 93 6a f5 23 82 ed d4 e7 d5 f1 | 55 f2 2d a2 26 a6 36 53 2f 94 fb 99 22 5c 47 cc | 6d 80 30 88 96 38 0c f5 f2 ed 37 d0 09 d5 07 8f | 69 ef a9 99 ce 4d 1a 77 9e 39 c4 38 f3 c5 51 51 | 48 ef | e | 03 | CKAID | 61 55 99 73 d3 ac ef 7d 3a 37 0e 3e 82 ad 92 c1 | 8a 82 25 f1 | saving right CKAID 61559973d3acef7d3a370e3e82ad92c18a8225f1 extracted from raw RSA public key | trying secret PKK_RSA:AQOm9dY/4 | trying secret PKK_PSK: | spent 0.0476 (0.0475) milliseconds in preload_private_key_by_ckaid() loading private key using CKAID | no private key matching right CKAID 61559973d3acef7d3a370e3e82ad92c18a8225f1: can't find the private key matching the NSS CKAID | 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-ikev2 | westnet-eastnet-ikev2 doesn't match 127.0.0.1:4500 at all | westnet-eastnet-ikev2 doesn't match 127.0.0.1:500 at all | westnet-eastnet-ikev2 doesn't match 192.0.1.254:4500 at all | westnet-eastnet-ikev2 doesn't match 192.0.1.254:500 at all | westnet-eastnet-ikev2 doesn't match 192.1.2.45:4500 at all | oriented westnet-eastnet-ikev2's this | connect_to_host_pair: 192.1.2.45:500 192.1.2.23:500 -> hp@(nil): none | newref hp@0x55c846043a98(0->1) (in connect_to_host_pair() at hostpair.c:290) added IKEv2 connection "westnet-eastnet-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.1.0/24===192.1.2.45<192.1.2.45>[@west]...192.1.2.23<192.1.2.23>[@east]===192.0.2.0/24 | delref logger@0x55c846035048(1->0) (in add_connection() at connections.c:2026) | delref fd@0x55c8460417b8(2->1) (in free_logger() at log.c:853) | delref fd@NULL (in free_logger() at log.c:854) | delref fd@0x55c8460417b8(1->0) (in whack_handle_cb() at rcv_whack.c:903) | freeref fd-fd@0x55c8460417b8 (in whack_handle_cb() at rcv_whack.c:903) | spent 3.39 (3.42) milliseconds in whack | newref struct fd@0x55c846045d18(0->1) (in whack_handle_cb() at rcv_whack.c:869) | fd_accept: new fd-fd@0x55c846045d18 (in whack_handle_cb() at rcv_whack.c:869) | whack: key add keyid @west | 01 03 a6 f5 d6 3f e3 8f 6c 01 6a fc 7b 7c 6d 57 | 8b 49 39 0d 77 f7 ac e2 85 f1 98 1e 4b 6d a5 3e | b3 96 9a d1 99 5a bc 10 f2 97 de f2 28 f9 5f 92 | 09 f0 c8 d4 12 e4 60 6e 9c 60 98 10 01 7d 26 b7 | 8f 95 62 2d 87 dd cd de f6 d3 8f 35 b0 50 d0 18 | f5 99 f8 04 f1 ff 61 5b bc 7f 1f c0 04 d8 e4 8c | ac 34 ad 7a c1 da 3c 2d 8c 30 ae d6 3c 59 b1 3a | 94 d3 d5 2a 73 91 bd 59 5f 3e 72 bf 4a 1b 9d c5 | b2 2b 4d e7 0d 24 3e 77 f9 7f 2d d6 9d 29 ef 70 | 7d 7a 6d a2 b8 61 0c 4b 09 4a 06 71 84 70 85 9a | 8f 52 a1 80 06 fd c6 fc 3e 27 fa 16 fa 32 83 a9 | ca 80 db 0f 4a bf f7 e9 55 8e bd 29 4d 23 a6 dc | 2a b3 5d 62 a9 21 1e be 83 d8 69 3c 03 0a 48 8e | d3 3a 11 f2 86 5a d1 30 65 bd c8 f4 83 87 ff 04 | 87 33 05 4f e0 d8 8c fe b3 19 4c dd 85 40 f3 4d | 6e e8 49 14 06 2c 1f 59 59 05 8f 20 b0 ca 46 3f | c9 20 7e 04 30 7d 9a 80 6c 3f 0a 89 f7 d3 af d8 | 15 04 37 f9 | computed rsa CKAID | b4 9f 1a ac 9e 45 6e 79 29 c8 81 97 3a 0c 6a d3 | 7f 0f 03 50 | keyid: *AQOm9dY/4 | size: 274 | n | a6 f5 d6 3f e3 8f 6c 01 6a fc 7b 7c 6d 57 8b 49 | 39 0d 77 f7 ac e2 85 f1 98 1e 4b 6d a5 3e b3 96 | 9a d1 99 5a bc 10 f2 97 de f2 28 f9 5f 92 09 f0 | c8 d4 12 e4 60 6e 9c 60 98 10 01 7d 26 b7 8f 95 | 62 2d 87 dd cd de f6 d3 8f 35 b0 50 d0 18 f5 99 | f8 04 f1 ff 61 5b bc 7f 1f c0 04 d8 e4 8c ac 34 | ad 7a c1 da 3c 2d 8c 30 ae d6 3c 59 b1 3a 94 d3 | d5 2a 73 91 bd 59 5f 3e 72 bf 4a 1b 9d c5 b2 2b | 4d e7 0d 24 3e 77 f9 7f 2d d6 9d 29 ef 70 7d 7a | 6d a2 b8 61 0c 4b 09 4a 06 71 84 70 85 9a 8f 52 | a1 80 06 fd c6 fc 3e 27 fa 16 fa 32 83 a9 ca 80 | db 0f 4a bf f7 e9 55 8e bd 29 4d 23 a6 dc 2a b3 | 5d 62 a9 21 1e be 83 d8 69 3c 03 0a 48 8e d3 3a | 11 f2 86 5a d1 30 65 bd c8 f4 83 87 ff 04 87 33 | 05 4f e0 d8 8c fe b3 19 4c dd 85 40 f3 4d 6e e8 | 49 14 06 2c 1f 59 59 05 8f 20 b0 ca 46 3f c9 20 | 7e 04 30 7d 9a 80 6c 3f 0a 89 f7 d3 af d8 15 04 | 37 f9 | e | 03 | CKAID | b4 9f 1a ac 9e 45 6e 79 29 c8 81 97 3a 0c 6a d3 | 7f 0f 03 50 | newref struct pubkey@0x55c8460489d8(0->1) (in add_public_key() at secrets.c:1716) | addref pk@0x55c8460489d8(1->2) (in add_public_key() at secrets.c:1718) | delref pkp@0x55c8460489d8(2->1) (in key_add_request() at rcv_whack.c:341) | trying secret PKK_RSA:AQOm9dY/4 | matched | secrets entry for ckaid already exists | spent 0.00485 (0.00461) milliseconds in preload_private_key_by_ckaid() loading private key using CKAID | delref fd@0x55c846045d18(1->0) (in whack_handle_cb() at rcv_whack.c:903) | freeref fd-fd@0x55c846045d18 (in whack_handle_cb() at rcv_whack.c:903) | spent 0.16 (0.165) milliseconds in whack | newref struct fd@0x55c846035048(0->1) (in whack_handle_cb() at rcv_whack.c:869) | fd_accept: new fd-fd@0x55c846035048 (in whack_handle_cb() at rcv_whack.c:869) | whack: key add keyid @east | 01 03 bd 6c 96 eb df 78 89 b3 ed 77 0d a1 7f 7b | e5 16 c2 c9 e4 7d 92 0a 90 9d 55 43 b4 62 13 03 | 85 7a e0 26 7b 54 1f ca 09 93 cf ff 25 c9 02 4c | 78 ca 94 e5 3e ac d1 f9 a8 e5 bb 7f cc 20 84 e0 | 21 c9 f0 0d c5 44 ba f3 48 64 61 58 f6 0f 63 0d | d2 67 1e 59 8b ec f3 50 39 71 fb 39 da 11 64 b6 | 62 cd 5f d3 8d 2e c1 50 ed 9c 6e 22 0c 39 a7 ce | 62 b5 af 8a 80 0f 2e 4c 05 5c 82 c7 8d 29 02 2e | bb 23 5f db f2 9e b5 7d e2 20 70 1a 63 f3 8e 5d | ac 47 f0 5c 26 4e b1 d0 42 60 52 4a b0 77 25 ce | e0 98 2b 43 f4 c7 59 1a 64 01 83 ea 4e e3 1a 2a | 92 b8 55 ab 63 dd 4b 70 47 29 dc e9 b4 60 bf 43 | 4d 58 8f 64 73 95 70 ac 35 89 b2 c2 9c d4 62 c0 | 5f 56 5f ad 1b e5 dd 49 93 6a f5 23 82 ed d4 e7 | d5 f1 55 f2 2d a2 26 a6 36 53 2f 94 fb 99 22 5c | 47 cc 6d 80 30 88 96 38 0c f5 f2 ed 37 d0 09 d5 | 07 8f 69 ef a9 99 ce 4d 1a 77 9e 39 c4 38 f3 c5 | 51 51 48 ef | computed rsa CKAID | 61 55 99 73 d3 ac ef 7d 3a 37 0e 3e 82 ad 92 c1 | 8a 82 25 f1 | keyid: *AQO9bJbr3 | size: 274 | n | bd 6c 96 eb df 78 89 b3 ed 77 0d a1 7f 7b e5 16 | c2 c9 e4 7d 92 0a 90 9d 55 43 b4 62 13 03 85 7a | e0 26 7b 54 1f ca 09 93 cf ff 25 c9 02 4c 78 ca | 94 e5 3e ac d1 f9 a8 e5 bb 7f cc 20 84 e0 21 c9 | f0 0d c5 44 ba f3 48 64 61 58 f6 0f 63 0d d2 67 | 1e 59 8b ec f3 50 39 71 fb 39 da 11 64 b6 62 cd | 5f d3 8d 2e c1 50 ed 9c 6e 22 0c 39 a7 ce 62 b5 | af 8a 80 0f 2e 4c 05 5c 82 c7 8d 29 02 2e bb 23 | 5f db f2 9e b5 7d e2 20 70 1a 63 f3 8e 5d ac 47 | f0 5c 26 4e b1 d0 42 60 52 4a b0 77 25 ce e0 98 | 2b 43 f4 c7 59 1a 64 01 83 ea 4e e3 1a 2a 92 b8 | 55 ab 63 dd 4b 70 47 29 dc e9 b4 60 bf 43 4d 58 | 8f 64 73 95 70 ac 35 89 b2 c2 9c d4 62 c0 5f 56 | 5f ad 1b e5 dd 49 93 6a f5 23 82 ed d4 e7 d5 f1 | 55 f2 2d a2 26 a6 36 53 2f 94 fb 99 22 5c 47 cc | 6d 80 30 88 96 38 0c f5 f2 ed 37 d0 09 d5 07 8f | 69 ef a9 99 ce 4d 1a 77 9e 39 c4 38 f3 c5 51 51 | 48 ef | e | 03 | CKAID | 61 55 99 73 d3 ac ef 7d 3a 37 0e 3e 82 ad 92 c1 | 8a 82 25 f1 | newref struct pubkey@0x55c846048cb8(0->1) (in add_public_key() at secrets.c:1716) | addref pk@0x55c846048cb8(1->2) (in add_public_key() at secrets.c:1718) | delref pkp@0x55c846048cb8(2->1) (in key_add_request() at rcv_whack.c:341) | trying secret PKK_RSA:AQOm9dY/4 | trying secret PKK_PSK: | spent 0.0419 (0.0419) milliseconds in preload_private_key_by_ckaid() loading private key using CKAID | no private key: can't find the private key matching the NSS CKAID | delref fd@0x55c846035048(1->0) (in whack_handle_cb() at rcv_whack.c:903) | freeref fd-fd@0x55c846035048 (in whack_handle_cb() at rcv_whack.c:903) | spent 0.145 (0.145) milliseconds in whack | newref struct fd@0x55c846042948(0->1) (in whack_handle_cb() at rcv_whack.c:869) | fd_accept: new fd-fd@0x55c846042948 (in whack_handle_cb() at rcv_whack.c:869) | whack: options (impair|debug) | old debugging base+cpu-usage + none | new debugging = base+cpu-usage | suppress-retransmits:yes | delref fd@0x55c846042948(1->0) (in whack_handle_cb() at rcv_whack.c:903) | freeref fd-fd@0x55c846042948 (in whack_handle_cb() at rcv_whack.c:903) | spent 0.0775 (0.0772) milliseconds in whack | newref struct fd@0x55c846042988(0->1) (in whack_handle_cb() at rcv_whack.c:869) | fd_accept: new fd-fd@0x55c846042988 (in whack_handle_cb() at rcv_whack.c:869) | whack: initiate | FOR_EACH_CONNECTION_... in conn_by_name | connection 'westnet-eastnet-ikev2' +POLICY_UP | FOR_EACH_STATE_... in find_phase1_state | newref alloc logger@0x55c8460418e8(0->1) (in new_state() at state.c:576) | addref fd@0x55c846042988(1->2) (in new_state() at state.c:577) | creating state object #1 at 0x55c846044408 | State DB: adding IKEv2 state #1 in UNDEFINED | pstats #1 ikev2.ike started | parent state #1: UNDEFINED(ignore) => PARENT_I0(ignore) | #1.st_v2_transition NULL -> PARENT_I0->PARENT_I1 (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->744606.445751 ike.responder.sent=0->-1 ike.responder.recv=0->-1 ike.responder.last_contact=0->744606.445751 ike.wip.initiator=0->-1 ike.wip.responder=0->-1 | orienting westnet-eastnet-ikev2 | westnet-eastnet-ikev2 doesn't match 127.0.0.1:4500 at all | westnet-eastnet-ikev2 doesn't match 127.0.0.1:500 at all | westnet-eastnet-ikev2 doesn't match 192.0.1.254:4500 at all | westnet-eastnet-ikev2 doesn't match 192.0.1.254:500 at all | westnet-eastnet-ikev2 doesn't match 192.1.2.45:4500 at all | oriented westnet-eastnet-ikev2's this | start processing: state #1 connection "westnet-eastnet-ikev2" from 192.1.2.23:500 (in ikev2_parent_outI1() at ikev2_parent.c:544) | addref fd@0x55c846042988(2->3) (in add_pending() at pending.c:86) | queuing pending IPsec SA negotiating with 192.1.2.23 IKE SA #1 "westnet-eastnet-ikev2" "westnet-eastnet-ikev2" #1: initiating IKEv2 connection | constructing local IKE proposals for westnet-eastnet-ikev2 (IKE SA initiator selecting KE) | converting ike_info AES_CBC_128-HMAC_SHA2_256-MODP2048 to ikev2 ... | ... ikev2_proposal: 1:IKE=AES_CBC_128-HMAC_SHA2_256-HMAC_SHA2_256_128-MODP2048 "westnet-eastnet-ikev2": local IKE proposals (IKE SA initiator selecting KE): "westnet-eastnet-ikev2": 1:IKE=AES_CBC_128-HMAC_SHA2_256-HMAC_SHA2_256_128-MODP2048 | addref fd@NULL (in clone_logger() at log.c:809) | addref fd@0x55c846042988(3->4) (in clone_logger() at log.c:810) | newref clone logger@0x55c846034f18(0->1) (in clone_logger() at log.c:817) | job 1 for #1: ikev2_outI1 KE (build KE and nonce): adding job to queue | state #1 has no .st_event to delete | #1 STATE_PARENT_I0: retransmits: cleared | event_schedule: newref EVENT_CRYPTO_TIMEOUT-pe@0x55c8460480c8 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #1 | libevent_malloc: newref ptr-libevent@0x55c846045de8 size 128 | #1 spent 0.139 (0.139) milliseconds in ikev2_parent_outI1() | RESET processing: state #1 connection "westnet-eastnet-ikev2" from 192.1.2.23:500 (in ikev2_parent_outI1() at ikev2_parent.c:640) | delref fd@0x55c846042988(4->3) (in whack_handle_cb() at rcv_whack.c:903) | spent 0.199 (0.199) milliseconds in whack | job 1 for #1: ikev2_outI1 KE (build KE and nonce): helper 1 starting job | "westnet-eastnet-ikev2" #1: spent 1.17 (1.19) milliseconds in helper 1 processing job 1 for state #1: ikev2_outI1 KE (pcr) | job 1 for #1: ikev2_outI1 KE (build KE and nonce): helper thread 1 sending result back to state | scheduling resume sending helper answer back to state for #1 | libevent_malloc: newref ptr-libevent@0x7f2d08006108 size 128 | helper thread 1 has nothing to do | processing resume sending helper answer back to state for #1 | start processing: state #1 connection "westnet-eastnet-ikev2" from 192.1.2.23:500 (in resume_handler() at server.c:641) | unsuspending #1 MD (nil) | job 1 for #1: ikev2_outI1 KE (build KE and nonce): processing response from helper 1 | job 1 for #1: ikev2_outI1 KE (build KE and nonce): calling continuation function 0x55c8446d6fe7 | ikev2_parent_outI1_continue() for #1 STATE_PARENT_I0 | DH secret MODP2048@0x7f2d08006ba8: transferring ownership from helper KE to state #1 | opening output PBS reply packet | **emit ISAKMP Message: | initiator SPI: 2d 8d 58 47 63 4a 3b 2d | responder SPI: 00 00 00 00 00 00 00 00 | 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_IKE_INIT (0x8) | Message ID: 0 (00 00 00 00) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | using existing local IKE proposals for connection westnet-eastnet-ikev2 (IKE SA initiator emitting local proposals): 1:IKE=AES_CBC_128-HMAC_SHA2_256-HMAC_SHA2_256_128-MODP2048 | Emitting ikev2_proposals ... | ***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: 4 (04) | 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_CBC (0xc) | 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: 128 (00 80) | 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_256 (0x5) | 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_NON_LAST (0x3) | IKEv2 transform type: TRANS_TYPE_INTEG (0x3) | IKEv2 transform ID: AUTH_HMAC_SHA2_256_128 (0xc) | 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: 44 | last substructure: checking 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' is 0 | emitting length of IKEv2 Security Association Payload: 48 | last substructure: checking 'IKEv2 Security Association Payload'.'IKEv2 Proposal Substructure Payload'.'last proposal' is 0 | ***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: | eb 8f fa 48 af e4 b4 70 fa 78 f4 63 71 bd b7 84 | f7 ce 64 cc 8b 6f 52 fe 58 2b 77 76 47 48 f7 e5 | 81 11 97 b6 49 44 76 32 46 e4 38 ce 55 c8 44 fa | 5c bf 53 9e bc e1 3a 37 50 c3 87 12 d1 57 03 5d | 33 32 dc 71 4d 79 f3 62 64 ab 57 dd e8 ae ec d7 | 2d 02 ac c6 bc a6 fd 15 a5 61 ea 54 47 83 6c cd | bf 86 0c 12 27 e1 a4 3f cc ec 41 59 df 1e b7 00 | ff 86 7a 4e d0 5c 8e 54 c7 8e 2d a1 77 e7 45 3c | ff 04 4c bb 8d e4 87 de d8 42 ef 79 2e 1f a6 63 | 99 58 01 1e 01 2f 8c 45 10 5a f0 62 7f dc 8b 6d | 42 82 06 d1 86 83 11 f9 0d 68 62 b4 4f f5 9f 01 | ad 5d 25 93 d6 3e 02 01 aa 1d df f3 40 8f 55 b8 | 59 12 a5 06 33 19 29 a1 9b 41 86 10 e1 06 0b 47 | 0b 1d 58 88 58 29 9f 84 7d 1d 0d 20 e8 66 2e 7a | 90 ea d3 07 61 65 d5 42 3a 75 d9 60 8f 69 3d 5e | fd c7 8f bd 46 99 fc cd 17 f8 3e 04 da f8 f2 32 | 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: | 79 7e 82 7c a5 d4 6c c9 31 be 71 3b 55 e6 c1 c5 | 8a 00 91 98 1e d7 e8 e8 21 10 a2 9d 6b 13 f4 bb | 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. | nat: IKE.SPIr is zero | natd_hash: hasher=0x55c8447c8f80(20) | natd_hash: icookie= | 2d 8d 58 47 63 4a 3b 2d | 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= | f0 b5 6a 5b 1d 75 6c 38 fd 3b f1 45 be 1e 3e 67 | b3 92 30 8b | 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: | f0 b5 6a 5b 1d 75 6c 38 fd 3b f1 45 be 1e 3e 67 | b3 92 30 8b | emitting length of IKEv2 Notify Payload: 28 | nat: IKE.SPIr is zero | natd_hash: hasher=0x55c8447c8f80(20) | natd_hash: icookie= | 2d 8d 58 47 63 4a 3b 2d | 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= | 2f 69 17 67 52 74 67 82 f1 5a 01 71 84 be 0e 11 | ba 7f de b7 | 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: | 2f 69 17 67 52 74 67 82 f1 5a 01 71 84 be 0e 11 | ba 7f de b7 | emitting length of IKEv2 Notify Payload: 28 | emitting length of ISAKMP Message: 440 | [RE]START processing: state #1 connection "westnet-eastnet-ikev2" from 192.1.2.23:500 (in complete_v2_state_transition() at ikev2.c:3364) | #1 complete_v2_state_transition() PARENT_I0->PARENT_I1 with status STF_OK | transitioning from state STATE_PARENT_I0 to state STATE_PARENT_I1 | Message ID: updating counters for #1 | Message ID: IKE #1 skipping update_recv as MD is fake | Message ID: IKE #1 scheduling EVENT_RETRANSMIT: ike.initiator.sent=0 ike.initiator.recv=-1 ike.initiator.last_contact=744606.445751 ike.responder.sent=-1 ike.responder.recv=-1 ike.responder.last_contact=744606.445751 ike.wip.initiator=0 ike.wip.responder=-1 "westnet-eastnet-ikev2" #1: IMPAIR: suppressing retransmits; scheduling timeout in 60 seconds | event_schedule: newref EVENT_RETRANSMIT-pe@0x55c846042bc8 | inserting event EVENT_RETRANSMIT, timeout in 60 seconds for #1 | libevent_malloc: newref ptr-libevent@0x55c8460450f8 size 128 | #1 STATE_PARENT_I0: retransmits: first event in 60 seconds; timeout in 60 seconds; limit of 12 retransmits; current time is 744606.447434 | Message ID: IKE #1 updating initiator sent message request 0: ike.initiator.sent=-1->0 ike.initiator.recv=-1 ike.initiator.last_contact=744606.445751 ike.responder.sent=-1 ike.responder.recv=-1 ike.responder.last_contact=744606.445751 ike.wip.initiator=-1->0 ike.wip.responder=-1 | Message ID: IKE #1 no pending message initiators to schedule: ike.initiator.sent=0 ike.initiator.recv=-1 ike.initiator.last_contact=744606.445751 ike.responder.sent=-1 ike.responder.recv=-1 ike.responder.last_contact=744606.445751 ike.wip.initiator=0 ike.wip.responder=-1 | parent state #1: PARENT_I0(ignore) => PARENT_I1(half-open IKE SA) | announcing the state transition "westnet-eastnet-ikev2" #1: sent IKE_SA_INIT request | sending 440 bytes for STATE_PARENT_I0 through eth1 from 192.1.2.45:500 to 192.1.2.23:500 using UDP (for #1) | 2d 8d 58 47 63 4a 3b 2d 00 00 00 00 00 00 00 00 | 21 20 22 08 00 00 00 00 00 00 01 b8 22 00 00 30 | 00 00 00 2c 01 01 00 04 03 00 00 0c 01 00 00 0c | 80 0e 00 80 03 00 00 08 02 00 00 05 03 00 00 08 | 03 00 00 0c 00 00 00 08 04 00 00 0e 28 00 01 08 | 00 0e 00 00 eb 8f fa 48 af e4 b4 70 fa 78 f4 63 | 71 bd b7 84 f7 ce 64 cc 8b 6f 52 fe 58 2b 77 76 | 47 48 f7 e5 81 11 97 b6 49 44 76 32 46 e4 38 ce | 55 c8 44 fa 5c bf 53 9e bc e1 3a 37 50 c3 87 12 | d1 57 03 5d 33 32 dc 71 4d 79 f3 62 64 ab 57 dd | e8 ae ec d7 2d 02 ac c6 bc a6 fd 15 a5 61 ea 54 | 47 83 6c cd bf 86 0c 12 27 e1 a4 3f cc ec 41 59 | df 1e b7 00 ff 86 7a 4e d0 5c 8e 54 c7 8e 2d a1 | 77 e7 45 3c ff 04 4c bb 8d e4 87 de d8 42 ef 79 | 2e 1f a6 63 99 58 01 1e 01 2f 8c 45 10 5a f0 62 | 7f dc 8b 6d 42 82 06 d1 86 83 11 f9 0d 68 62 b4 | 4f f5 9f 01 ad 5d 25 93 d6 3e 02 01 aa 1d df f3 | 40 8f 55 b8 59 12 a5 06 33 19 29 a1 9b 41 86 10 | e1 06 0b 47 0b 1d 58 88 58 29 9f 84 7d 1d 0d 20 | e8 66 2e 7a 90 ea d3 07 61 65 d5 42 3a 75 d9 60 | 8f 69 3d 5e fd c7 8f bd 46 99 fc cd 17 f8 3e 04 | da f8 f2 32 29 00 00 24 79 7e 82 7c a5 d4 6c c9 | 31 be 71 3b 55 e6 c1 c5 8a 00 91 98 1e d7 e8 e8 | 21 10 a2 9d 6b 13 f4 bb 29 00 00 08 00 00 40 2e | 29 00 00 1c 00 00 40 04 f0 b5 6a 5b 1d 75 6c 38 | fd 3b f1 45 be 1e 3e 67 b3 92 30 8b 00 00 00 1c | 00 00 40 05 2f 69 17 67 52 74 67 82 f1 5a 01 71 | 84 be 0e 11 ba 7f de b7 | sent 1 messages | checking that a retransmit timeout_event was already | state #1 deleting .st_event EVENT_CRYPTO_TIMEOUT | libevent_free: delref ptr-libevent@0x55c846045de8 | free_event_entry: delref EVENT_CRYPTO_TIMEOUT-pe@0x55c8460480c8 | delref logger@0x55c846034f18(1->0) (in handle_helper_answer() at pluto_crypt.c:658) | delref fd@NULL (in free_logger() at log.c:853) | delref fd@0x55c846042988(3->2) (in free_logger() at log.c:854) | resume sending helper answer back to state for #1 suppresed complete_v2_state_transition() | delref mdp@NULL (in resume_handler() at server.c:743) | #1 spent 0.446 (0.468) milliseconds in resume sending helper answer back to state | stop processing: state #1 connection "westnet-eastnet-ikev2" from 192.1.2.23:500 (in resume_handler() at server.c:745) | libevent_free: delref ptr-libevent@0x7f2d08006108 | spent 0.00183 (0.00179) milliseconds in udp_read_packet() calling check_incoming_msg_errqueue() | newref struct msg_digest@0x55c846049678(0->1) (in read_message() at demux.c:103) | newref alloc logger@0x55c846034f18(0->1) (in read_message() at demux.c:103) | *received 440 bytes from 192.1.2.23:500 on eth1 192.1.2.45:500 using UDP | 2d 8d 58 47 63 4a 3b 2d ca 42 4d 8b aa 25 af cd | 21 20 22 20 00 00 00 00 00 00 01 b8 22 00 00 30 | 00 00 00 2c 01 01 00 04 03 00 00 0c 01 00 00 0c | 80 0e 00 80 03 00 00 08 02 00 00 05 03 00 00 08 | 03 00 00 0c 00 00 00 08 04 00 00 0e 28 00 01 08 | 00 0e 00 00 50 01 02 ef b5 f3 53 d8 66 0a bf 59 | a8 49 e5 32 4a 7b 26 49 c7 98 f1 fa ee 76 57 ae | 74 ef 7e 0f ff 94 11 c7 5b 8b 30 24 d0 81 b7 14 | fd d0 0d a5 ac 3a b1 43 d2 ae 0f c0 fe 4c 95 95 | d1 fd 75 ed 62 fb ad b2 44 c1 2c 7c 40 46 62 17 | 04 98 50 8c 6d 0e 0e 10 02 fc 63 a5 4b 15 eb e0 | b7 49 83 15 56 89 07 bc eb e6 a8 7d c9 67 6b 7d | 40 4f 1e fa 6d 90 3f 1c d6 e1 51 99 b0 fb 04 2a | 09 52 62 6f 8b c1 cd 2f a4 ab 7e 37 0c ce 0a a3 | 2b c5 1a 5f fe 89 85 20 a1 65 7a 28 cc 59 46 65 | 81 a6 35 90 7b bc 48 2f ec 9c 9a 50 5b 53 f6 0f | 3b 11 79 ea 7e 89 5d d0 78 13 b5 32 0b 54 ab f6 | fe 11 ab 13 08 c8 1e 36 2e cf 6b 90 d3 d5 6f a7 | fe 47 cb 4d 0d 63 bf 32 fe 13 cd f3 1b c4 21 15 | 66 a1 54 3b 18 a2 ef 04 28 04 52 81 45 9d 24 51 | 69 78 3d 97 d6 ab ac 7f a3 1c 14 2b 72 ec e6 22 | ba 6e 76 41 29 00 00 24 69 48 1b be cf 27 a7 7e | 08 73 02 ea b7 55 36 6a 07 d9 10 0e 77 d7 b2 e4 | 98 4c 1c c7 3d 1a c1 45 29 00 00 08 00 00 40 2e | 29 00 00 1c 00 00 40 04 62 e3 72 0a fe 41 24 86 | 77 9e f9 77 b5 f4 e7 0f 19 bf 22 8b 00 00 00 1c | 00 00 40 05 69 f2 a4 a6 25 de ae 36 30 9c c2 f1 | be 7a 8f b7 75 7e 92 a3 | **parse ISAKMP Message: | initiator SPI: 2d 8d 58 47 63 4a 3b 2d | responder SPI: ca 42 4d 8b aa 25 af cd | 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_MSG_RESPONSE (0x20) | Message ID: 0 (00 00 00 00) | length: 440 (00 00 01 b8) | processing version=2.0 packet with exchange type=ISAKMP_v2_IKE_SA_INIT (34) | I am the IKE SA Original Initiator receiving an IKEv2 IKE_SA_INIT response | State DB: found IKEv2 state #1 in PARENT_I1 (find_v2_ike_sa_by_initiator_spi) | #1 is idle | #1 idle | unpacking clear payloads | 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: 48 (00 30) | processing payload: ISAKMP_NEXT_v2SA (len=44) | 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) | looking for message matching transition from STATE_PARENT_I1 | trying received anti-DDOS COOKIE notify response; resending IKE_SA_INIT request with cookie payload added | message has errors | trying received IKE_SA_INIT INVALID_KE_PAYLOAD notify response; resending IKE_SA_INIT with new KE payload | message has errors | trying received REDIRECT notify response; resending IKE_SA_INIT request to new destination | message has errors | trying Initiator: process IKE_SA_INIT reply, initiate IKE_AUTH or IKE_INTERMEDIATE | matched unencrypted message | start processing: state #1 connection "westnet-eastnet-ikev2" from 192.1.2.23:500 (in ikev2_process_packet() at ikev2.c:1848) | calling processor Initiator: process IKE_SA_INIT reply, initiate IKE_AUTH or IKE_INTERMEDIATE | ikev2 parent inR1: calculating g^{xy} in order to send I2 | using existing local IKE proposals for connection westnet-eastnet-ikev2 (IKE SA initiator accepting remote proposal): 1:IKE=AES_CBC_128-HMAC_SHA2_256-HMAC_SHA2_256_128-MODP2048 | comparing remote proposals against IKE initiator (accepting) 1 local proposals | local proposal 1 type ENCR has 1 transforms | local proposal 1 type PRF has 1 transforms | local proposal 1 type INTEG has 1 transforms | local proposal 1 type DH has 1 transforms | local proposal 1 type ESN has 0 transforms | local proposal 1 transforms: required: ENCR+PRF+INTEG+DH; optional: none | ****parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | length: 44 (00 2c) | prop #: 1 (01) | proto ID: IKEv2_SEC_PROTO_IKE (0x1) | spi size: 0 (00) | # transforms: 4 (04) | Comparing remote proposal 1 containing 4 transforms against local proposal [1..1] of 1 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) | remote proposal 1 transform 0 (ENCR=AES_CBC_128) 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_256 (0x5) | remote proposal 1 transform 1 (PRF=HMAC_SHA2_256) matches local proposal 1 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_INTEG (0x3) | IKEv2 transform ID: AUTH_HMAC_SHA2_256_128 (0xc) | remote proposal 1 transform 2 (INTEG=HMAC_SHA2_256_128) matches local proposal 1 type 3 (INTEG) transform 0 | *****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_MODP2048 (0xe) | remote proposal 1 transform 3 (DH=MODP2048) matches local proposal 1 type 4 (DH) transform 0 | remote proposal 1 proposed transforms: ENCR+PRF+INTEG+DH; matched: ENCR+PRF+INTEG+DH; unmatched: none | comparing remote proposal 1 containing ENCR+PRF+INTEG+DH transforms to local proposal 1; required: ENCR+PRF+INTEG+DH; optional: none; matched: ENCR+PRF+INTEG+DH | remote proposal 1 matches local proposal 1 | remote accepted the proposal 1:IKE:ENCR=AES_CBC_128;PRF=HMAC_SHA2_256;INTEG=HMAC_SHA2_256_128;DH=MODP2048[first-match] | converting proposal to internal trans attrs | natd_hash: hasher=0x55c8447c8f80(20) | natd_hash: icookie= | 2d 8d 58 47 63 4a 3b 2d | natd_hash: rcookie= | ca 42 4d 8b aa 25 af cd | natd_hash: ip= | c0 01 02 2d | natd_hash: port= | 01 f4 | natd_hash: hash= | 69 f2 a4 a6 25 de ae 36 30 9c c2 f1 be 7a 8f b7 | 75 7e 92 a3 | natd_hash: hasher=0x55c8447c8f80(20) | natd_hash: icookie= | 2d 8d 58 47 63 4a 3b 2d | natd_hash: rcookie= | ca 42 4d 8b aa 25 af cd | natd_hash: ip= | c0 01 02 17 | natd_hash: port= | 01 f4 | natd_hash: hash= | 62 e3 72 0a fe 41 24 86 77 9e f9 77 b5 f4 e7 0f | 19 bf 22 8b | 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.23 | offloading IKEv2 SKEYSEED using prf=HMAC_SHA2_256 integ=HMAC_SHA2_256_128 cipherkey=AES_CBC | DH secret MODP2048@0x7f2d08006ba8: transferring ownership from state #1 to helper IKEv2 DH | addref fd@NULL (in clone_logger() at log.c:809) | addref fd@0x55c846042988(2->3) (in clone_logger() at log.c:810) | newref clone logger@0x55c8460480c8(0->1) (in clone_logger() at log.c:817) | job 2 for #1: ikev2_inR1outI2 KE (compute dh (V2)): adding job to queue | state #1 has no .st_event to delete | #1 requesting EVENT_RETRANSMIT-pe@0x55c846042bc8 be deleted | libevent_free: delref ptr-libevent@0x55c8460450f8 | free_event_entry: delref EVENT_RETRANSMIT-pe@0x55c846042bc8 | #1 STATE_PARENT_I1: retransmits: cleared | event_schedule: newref EVENT_CRYPTO_TIMEOUT-pe@0x55c8460450f8 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #1 | libevent_malloc: newref ptr-libevent@0x55c846045de8 size 128 | #1 spent 0.169 (0.169) milliseconds in processing: Initiator: process IKE_SA_INIT reply, initiate IKE_AUTH or IKE_INTERMEDIATE in v2_dispatch() | [RE]START processing: state #1 connection "westnet-eastnet-ikev2" from 192.1.2.23:500 (in complete_v2_state_transition() at ikev2.c:3364) | #1 complete_v2_state_transition() PARENT_I1->PARENT_I2 with status STF_SUSPEND; .st_v2_transition=PARENT_I0->PARENT_I1 | suspending state #1 and saving MD 0x55c846049678 | addref md@0x55c846049678(1->2) (in complete_v2_state_transition() at ikev2.c:3485) | #1 is busy; has suspended MD 0x55c846049678 | stop processing: state #1 connection "westnet-eastnet-ikev2" from 192.1.2.23:500 (in ikev2_process_packet() at ikev2.c:1850) | job 2 for #1: ikev2_inR1outI2 KE (compute dh (V2)): helper 2 starting job | #1 spent 0.384 (0.388) milliseconds in ikev2_process_packet() | processing: STOP state #0 (in process_md() at demux.c:287) | delref mdp@0x55c846049678(2->1) (in handle_packet_cb() at demux.c:318) | spent 0.401 (0.407) milliseconds in handle_packet_cb() reading and processing packet | calculating skeyseed using prf=HMAC_SHA2_256 integ=HMAC_SHA2_256_128 cipherkey-size=16 salt-size=0 | "westnet-eastnet-ikev2" #1: spent 1.13 (1.18) milliseconds in helper 2 processing job 2 for state #1: ikev2_inR1outI2 KE (pcr) | job 2 for #1: ikev2_inR1outI2 KE (compute dh (V2)): helper thread 2 sending result back to state | scheduling resume sending helper answer back to state for #1 | libevent_malloc: newref ptr-libevent@0x7f2d0000f3d8 size 128 | helper thread 2 has nothing to do | processing resume sending helper answer back to state for #1 | start processing: state #1 connection "westnet-eastnet-ikev2" from 192.1.2.23:500 (in resume_handler() at server.c:641) | unsuspending #1 MD 0x55c846049678 | job 2 for #1: ikev2_inR1outI2 KE (compute dh (V2)): processing response from helper 2 | job 2 for #1: ikev2_inR1outI2 KE (compute dh (V2)): calling continuation function 0x55c8446d6fe7 | ikev2_parent_inR1outI2_continue() for #1 STATE_PARENT_I1: g^{xy} calculated, sending I2 | DH secret MODP2048@0x7f2d08006ba8: transferring ownership from helper IKEv2 DH to state #1 | State DB: re-hashing IKEv2 state #1 IKE SPIi and SPI[ir] | newref alloc logger@0x55c846042bc8(0->1) (in new_state() at state.c:576) | addref fd@0x55c846042988(3->4) (in new_state() at state.c:577) | creating state object #2 at 0x55c84604c088 | State DB: adding IKEv2 state #2 in UNDEFINED | pstats #2 ikev2.child started | duplicating state object #1 "westnet-eastnet-ikev2" as #2 for IPSEC SA | #2 setting local endpoint to 192.1.2.45:500 from #1.st_localport (in duplicate_state() at state.c:1581) | Message ID: CHILD #1.#2 initializing (CHILD SA): ike.initiator.sent=0 ike.initiator.recv=-1 ike.initiator.last_contact=744606.445751 ike.responder.sent=-1 ike.responder.recv=-1 ike.responder.last_contact=744606.445751 child.wip.initiator=0->-1 child.wip.responder=0->-1 | child state #2: UNDEFINED(ignore) => V2_IKE_AUTH_CHILD_I0(ignore) | #2.st_v2_transition NULL -> NULL (in new_v2_child_state() at state.c:1666) | Message ID: IKE #1 switching from IKE SA initiator message response 0: ike.initiator.sent=0 ike.initiator.recv=-1 ike.initiator.last_contact=744606.445751 ike.responder.sent=-1 ike.responder.recv=-1 ike.responder.last_contact=744606.445751 ike.wip.initiator=0->-1 ike.wip.responder=-1 | Message ID: CHILD #1.#2 switching to CHILD SA initiator message response 0: ike.initiator.sent=0 ike.initiator.recv=-1 ike.initiator.last_contact=744606.445751 ike.responder.sent=-1 ike.responder.recv=-1 ike.responder.last_contact=744606.445751 child.wip.initiator=-1->0 child.wip.responder=-1 | switching IKEv2 MD.ST from IKE #1 PARENT_I1 to CHILD #2 V2_IKE_AUTH_CHILD_I0 (in ikev2_parent_inR1outI2_auth_signature_continue() at ikev2_parent.c:2155) | state #1 deleting .st_event EVENT_CRYPTO_TIMEOUT | libevent_free: delref ptr-libevent@0x55c846045de8 | free_event_entry: delref EVENT_CRYPTO_TIMEOUT-pe@0x55c8460450f8 | #1 STATE_PARENT_I1: retransmits: cleared | event_schedule: newref EVENT_SA_REPLACE-pe@0x55c846045168 | inserting event EVENT_SA_REPLACE, timeout in 120 seconds for #1 | libevent_malloc: newref ptr-libevent@0x55c84604bfd8 size 128 | parent state #1: PARENT_I1(half-open IKE SA) => PARENT_I2(open IKE SA) | opening output PBS reply packet | **emit ISAKMP Message: | initiator SPI: 2d 8d 58 47 63 4a 3b 2d | responder SPI: ca 42 4d 8b aa 25 af cd | 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_IKE_INIT (0x8) | 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 'reply packet' | emitting 16 zero bytes of IV into IKEv2 Encryption Payload | IKEv2 CERT: send a certificate? | IKEv2 CERT: policy does not have RSASIG or ECDSA: PSK | IDr payload will be sent | ****emit IKEv2 Identification - Initiator - 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 - Initiator - Payload (35:ISAKMP_NEXT_v2IDi) | next payload chain: saving location 'IKEv2 Identification - Initiator - Payload'.'next payload type' in 'reply packet' | emitting 4 raw bytes of my identity into IKEv2 Identification - Initiator - Payload | my identity: 77 65 73 74 | emitting length of IKEv2 Identification - Initiator - Payload: 12 | ****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 Identification - Initiator - 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 their IDr into IKEv2 Identification - Responder - Payload | their IDr: 65 61 73 74 | emitting length of IKEv2 Identification - Responder - Payload: 12 | not sending INITIAL_CONTACT | ****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_PARENT_I2 to create PSK with authby=secret | lsw_get_secret() using IDs for @west->@east of kind PKK_PSK | line 0: key type PKK_PSK(@west) to type PKK_RSA | line 1: key type PKK_PSK(@west) to type PKK_PSK | 1: compared key @east to @west / @east -> 004 | 2: compared key @west to @west / @east -> 014 | line 1: match=014 | match 014 beats previous best_match 000 match=0x55c8460441d8 (line=1) | concluding with best_match=014 best=0x55c8460441d8 (lineno=1) | emitting 32 raw bytes of PSK auth into IKEv2 Authentication Payload | PSK auth: | d6 e4 11 90 7b 09 09 15 bf ee 9f 74 8b 3b 68 74 | 3a 4a 6b 8f 11 8c ed 66 0a f0 be aa 3d 06 4a a1 | emitting length of IKEv2 Authentication Payload: 40 | getting first pending from state #1 | delref fd@0x55c846042988(4->3) (in first_pending() at pending.c:318) | addref fd@0x55c846042988(3->4) (in first_pending() at pending.c:319) | netlink_get_spi: allocated 0x23565039 for esp.0@192.1.2.45 | constructing ESP/AH proposals with all DH removed for westnet-eastnet-ikev2 (IKE SA initiator emitting 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-ikev2": local ESP/AH proposals (IKE SA initiator emitting ESP/AH proposals): "westnet-eastnet-ikev2": 1:ESP=AES_GCM_C_256-NONE-NONE-DISABLED "westnet-eastnet-ikev2": 2:ESP=AES_GCM_C_128-NONE-NONE-DISABLED "westnet-eastnet-ikev2": 3:ESP=AES_CBC_256-HMAC_SHA2_512_256+HMAC_SHA2_256_128-NONE-DISABLED "westnet-eastnet-ikev2": 4:ESP=AES_CBC_128-HMAC_SHA2_512_256+HMAC_SHA2_256_128-NONE-DISABLED | Emitting ikev2_proposals ... | ****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' | discard INTEG=NONE when counting transforms (multiple 0; allow single 0) | discard DH=NONE when counting transforms (multiple 0; allow single 0) | *****emit IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_NON_LAST (0x2) | 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: 23 56 50 39 | ******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 | discard INTEG=NONE when emitting proposal (multiple 0; allow single 0) | discard DH=NONE when emitting proposal (multiple 0; allow single 0) | ******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 | discard INTEG=NONE when counting transforms (multiple 0; allow single 0) | discard DH=NONE when counting transforms (multiple 0; allow single 0) | *****emit IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_NON_LAST (0x2) | prop #: 2 (02) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (04) | # transforms: 2 (02) | last substructure: checking 'IKEv2 Security Association Payload'.'IKEv2 Proposal Substructure Payload'.'last proposal' containing v2_PROPOSAL_NON_LAST (0x2) is v2_PROPOSAL_NON_LAST (0x2) | 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: 23 56 50 39 | ******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: 128 (00 80) | emitting length of IKEv2 Transform Substructure Payload: 12 | discard INTEG=NONE when emitting proposal (multiple 0; allow single 0) | discard DH=NONE when emitting proposal (multiple 0; allow single 0) | ******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 | discard DH=NONE when counting transforms (multiple 0; allow single 0) | *****emit IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_NON_LAST (0x2) | prop #: 3 (03) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (04) | # transforms: 4 (04) | last substructure: checking 'IKEv2 Security Association Payload'.'IKEv2 Proposal Substructure Payload'.'last proposal' containing v2_PROPOSAL_NON_LAST (0x2) is v2_PROPOSAL_NON_LAST (0x2) | 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: 23 56 50 39 | ******emit IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | IKEv2 transform type: TRANS_TYPE_ENCR (0x1) | IKEv2 transform ID: AES_CBC (0xc) | 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_INTEG (0x3) | IKEv2 transform ID: AUTH_HMAC_SHA2_512_256 (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 | ******emit IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | IKEv2 transform type: TRANS_TYPE_INTEG (0x3) | IKEv2 transform ID: AUTH_HMAC_SHA2_256_128 (0xc) | 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 | discard DH=NONE when emitting proposal (multiple 0; allow single 0) | ******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: 48 | last substructure: checking 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' is 0 | discard DH=NONE when counting transforms (multiple 0; allow single 0) | *****emit IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | prop #: 4 (04) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (04) | # transforms: 4 (04) | last substructure: checking 'IKEv2 Security Association Payload'.'IKEv2 Proposal Substructure Payload'.'last proposal' containing v2_PROPOSAL_NON_LAST (0x2) is v2_PROPOSAL_NON_LAST (0x2) | 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: 23 56 50 39 | ******emit IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | IKEv2 transform type: TRANS_TYPE_ENCR (0x1) | IKEv2 transform ID: AES_CBC (0xc) | 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: 128 (00 80) | 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_INTEG (0x3) | IKEv2 transform ID: AUTH_HMAC_SHA2_512_256 (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 | ******emit IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | IKEv2 transform type: TRANS_TYPE_INTEG (0x3) | IKEv2 transform ID: AUTH_HMAC_SHA2_256_128 (0xc) | 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 | discard DH=NONE when emitting proposal (multiple 0; allow single 0) | ******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: 48 | last substructure: checking 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' is 0 | emitting length of IKEv2 Security Association Payload: 164 | 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 tunnel mode, NOT sending v2N_USE_TRANSPORT_MODE | initiator child policy is compress=no, NOT sending v2N_IPCOMP_SUPPORTED | adding 12 bytes of padding (including 1 byte padding-length) | emitting 1 0x00 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x01 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x02 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x03 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x04 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x05 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x06 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x07 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x08 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x09 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x0a repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x0b 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: 324 | emitting length of ISAKMP Message: 352 | recording outgoing fragment failed | suspend processing: state #1 connection "westnet-eastnet-ikev2" from 192.1.2.23:500 (in complete_v2_state_transition() at ikev2.c:3364) | start processing: state #2 connection "westnet-eastnet-ikev2" from 192.1.2.23:500 (in complete_v2_state_transition() at ikev2.c:3364) | #2 complete_v2_state_transition() in state V2_IKE_AUTH_CHILD_I0 PARENT_I1->PARENT_I2 with status STF_OK; .st_v2_transition=NULL | transitioning from state STATE_PARENT_I1 to state STATE_PARENT_I2 | Message ID: updating counters for #2 | Message ID: CHILD #1.#2 XXX: no EVENT_RETRANSMIT to clear; suspect IKE->CHILD switch: ike.initiator.sent=0 ike.initiator.recv=-1 ike.initiator.last_contact=744606.445751 ike.responder.sent=-1 ike.responder.recv=-1 ike.responder.last_contact=744606.445751 child.wip.initiator=-1 child.wip.responder=-1 | Message ID: CHILD #1.#2 updating initiator received message response 0: ike.initiator.sent=0 ike.initiator.recv=-1->0 ike.initiator.last_contact=744606.445751->744606.452838 ike.responder.sent=-1 ike.responder.recv=-1 ike.responder.last_contact=744606.445751 child.wip.initiator=0->-1 child.wip.responder=-1 | Message ID: CHILD #1.#2 scheduling EVENT_RETRANSMIT: ike.initiator.sent=1 ike.initiator.recv=0 ike.initiator.last_contact=744606.452838 ike.responder.sent=-1 ike.responder.recv=-1 ike.responder.last_contact=744606.445751 child.wip.initiator=1 child.wip.responder=-1 "westnet-eastnet-ikev2" #2: IMPAIR: suppressing retransmits; scheduling timeout in 60 seconds | event_schedule: newref EVENT_RETRANSMIT-pe@0x55c84604e098 | inserting event EVENT_RETRANSMIT, timeout in 60 seconds for #2 | libevent_malloc: newref ptr-libevent@0x55c84604cdd8 size 128 | #2 STATE_V2_IKE_AUTH_CHILD_I0: retransmits: first event in 60 seconds; timeout in 60 seconds; limit of 12 retransmits; current time is 744606.452869 | Message ID: CHILD #1.#2 updating initiator sent message request 1: ike.initiator.sent=0->1 ike.initiator.recv=0 ike.initiator.last_contact=744606.452838 ike.responder.sent=-1 ike.responder.recv=-1 ike.responder.last_contact=744606.445751 child.wip.initiator=-1->1 child.wip.responder=-1 | Message ID: IKE #1 no pending message initiators to schedule: ike.initiator.sent=1 ike.initiator.recv=0 ike.initiator.last_contact=744606.452838 ike.responder.sent=-1 ike.responder.recv=-1 ike.responder.last_contact=744606.445751 ike.wip.initiator=-1 ike.wip.responder=-1 | child state #2: V2_IKE_AUTH_CHILD_I0(ignore) => PARENT_I2(open IKE SA) | announcing the state transition "westnet-eastnet-ikev2" #1: sent IKE_AUTH request {auth=IKEv2 cipher=AES_CBC_128 integ=HMAC_SHA2_256_128 prf=HMAC_SHA2_256 group=MODP2048} | sending 352 bytes for STATE_PARENT_I1 through eth1 from 192.1.2.45:500 to 192.1.2.23:500 using UDP (for #1) | 2d 8d 58 47 63 4a 3b 2d ca 42 4d 8b aa 25 af cd | 2e 20 23 08 00 00 00 01 00 00 01 60 23 00 01 44 | 62 b0 16 99 df c6 be 66 96 15 14 90 b5 31 a4 25 | 0e 29 43 42 a7 6c e7 dc 82 c4 57 17 34 f6 73 44 | e3 c9 78 ac 43 56 f6 a8 8f 96 a5 71 af 5f 69 21 | c2 7e 84 3f 93 aa 4b 70 e0 0b dd 39 5c 2c fa c6 | 31 6e 15 c3 58 24 5c ca 08 d9 03 0b c8 6b c8 10 | 45 08 82 85 39 4e ac fe 1a 49 c2 b1 37 02 0d 65 | 34 45 99 b6 d1 a4 58 3a ef c4 da 33 f6 ba ef 4a | 31 3f f1 92 55 84 b0 66 61 57 47 f4 ea cb 07 cb | c1 05 c9 68 c1 9c 33 95 a9 99 49 fc 55 52 fd 64 | 37 29 33 7d 0a b4 8c b0 e7 c2 15 8c 3f 54 8d f6 | 1c 6d 84 44 57 f8 f0 86 04 3d 98 f5 94 21 9e 26 | bb cb cf ca b4 b7 0d df 03 c7 bc 35 7b 3e 8c d0 | e4 61 ce 76 17 ee 88 4a 73 ea b1 b3 f5 e5 be f8 | 02 ea ea 70 a3 eb 05 c0 e7 54 d9 d7 3e 63 b4 dc | e2 de b1 12 f9 b1 c3 c8 9e ce e5 44 97 ba ca 5b | 46 c1 5a 83 31 6a af 96 cd ee 91 ad cc c6 4b 7f | 0b 26 64 d5 9d 75 bb 59 ee 9e 64 92 0f 93 3a 3a | e1 1c 3d e3 14 29 02 b5 da e5 00 34 3e c8 cf a6 | a3 3a 78 0a 49 44 dc f7 8f ca fa 7b a7 7e 37 ce | b4 22 85 68 67 27 36 d6 f5 68 e7 7c f6 1a 93 b7 | sent 1 messages | checking that a retransmit timeout_event was already | state #2 has no .st_event to delete | delref logger@0x55c8460480c8(1->0) (in handle_helper_answer() at pluto_crypt.c:658) | delref fd@NULL (in free_logger() at log.c:853) | delref fd@0x55c846042988(4->3) (in free_logger() at log.c:854) | resume sending helper answer back to state for #1 suppresed complete_v2_state_transition(); MD.ST was switched | delref mdp@0x55c846049678(1->0) (in resume_handler() at server.c:743) | delref logger@0x55c846034f18(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 1.14 (1.18) milliseconds in resume sending helper answer back to state | stop processing: state #2 connection "westnet-eastnet-ikev2" from 192.1.2.23:500 (in resume_handler() at server.c:745) | libevent_free: delref ptr-libevent@0x7f2d0000f3d8 | spent 0.00234 (0.00231) milliseconds in udp_read_packet() calling check_incoming_msg_errqueue() | newref struct msg_digest@0x55c846049678(0->1) (in read_message() at demux.c:103) | newref alloc logger@0x55c8460480c8(0->1) (in read_message() at demux.c:103) | *received 208 bytes from 192.1.2.23:500 on eth1 192.1.2.45:500 using UDP | 2d 8d 58 47 63 4a 3b 2d ca 42 4d 8b aa 25 af cd | 2e 20 23 20 00 00 00 01 00 00 00 d0 24 00 00 b4 | ba f0 d9 fd a3 86 cf 3a 4d f3 91 37 5a 5e 86 4f | 6c a2 0f f1 aa bb 63 00 2b 50 8b 99 7a 45 0e cf | 27 ce 5e 3a 1b 5f 43 20 d1 e6 ff 3b b9 a3 d0 a4 | 24 87 78 92 b8 46 92 59 f9 9b a7 70 43 9b 60 e0 | de b3 61 3d dd 63 ed 87 73 5e b8 eb eb 25 23 75 | 91 98 68 03 e5 4d 34 38 14 3e bc 8b 3a b5 6f 18 | 9d 11 07 9a 57 5f 64 9b de 9b 58 7b 27 2d d2 70 | 18 cd e6 19 cc 96 02 54 9d 3e 1e 1f 70 5c 25 23 | ef 0d 7a ff d5 7e 19 a8 aa 14 48 6b 71 18 75 2d | 48 9c cc 28 9f bf 3d 7e ae 8c 5e 58 bb 36 26 7f | 58 a0 d9 33 63 f6 8b fd a3 9a ca 72 a1 74 e1 a4 | **parse ISAKMP Message: | initiator SPI: 2d 8d 58 47 63 4a 3b 2d | responder SPI: ca 42 4d 8b aa 25 af cd | 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_MSG_RESPONSE (0x20) | Message ID: 1 (00 00 00 01) | length: 208 (00 00 00 d0) | processing version=2.0 packet with exchange type=ISAKMP_v2_IKE_AUTH (35) | I am the IKE SA Original Initiator receiving an IKEv2 IKE_AUTH response | State DB: found IKEv2 state #1 in PARENT_I2 (find_v2_ike_sa) | start processing: state #1 connection "westnet-eastnet-ikev2" from 192.1.2.23:500 (in ikev2_process_packet() at ikev2.c:1902) | State DB: found IKEv2 state #2 in PARENT_I2 (find_v2_sa_by_initiator_wip) | #2 is idle | #2 idle | suspend processing: state #1 connection "westnet-eastnet-ikev2" from 192.1.2.23:500 (in ike_process_packet() at ikev2.c:1983) | start processing: state #2 connection "westnet-eastnet-ikev2" from 192.1.2.23: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_v2IDr (0x24) | flags: none (0x0) | length: 180 (00 b4) | processing payload: ISAKMP_NEXT_v2SK (len=176) | #2 in state PARENT_I2: sent IKE_AUTH request | authenticator matched | #1 ikev2 ISAKMP_v2_IKE_AUTH decrypt success | 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: 40 (00 28) | auth method: IKEv2_AUTH_SHARED (0x2) | processing payload: ISAKMP_NEXT_v2AUTH (len=32) | 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: 36 (00 24) | processing payload: ISAKMP_NEXT_v2SA (len=32) | 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 Initiator: process IKE_AUTH response | calling processor Initiator: process IKE_AUTH response | no certs to decode | offered CA: '%none' "westnet-eastnet-ikev2" #2: IKEv2 mode peer ID is ID_FQDN: '@east' | verifying AUTH payload | ikev2_calculate_psk_sighash() called from STATE_PARENT_I2 to verify PSK with authby=secret | lsw_get_secret() using IDs for @west->@east of kind PKK_PSK | line 0: key type PKK_PSK(@west) to type PKK_RSA | line 1: key type PKK_PSK(@west) to type PKK_PSK | 1: compared key @east to @west / @east -> 004 | 2: compared key @west to @west / @east -> 014 | line 1: match=014 | match 014 beats previous best_match 000 match=0x55c8460441d8 (line=1) | concluding with best_match=014 best=0x55c8460441d8 (lineno=1) "westnet-eastnet-ikev2" #1: authenticated using authby=secret | parent state #1: PARENT_I2(open IKE SA) => ESTABLISHED_IKE_SA(established IKE SA) | #1 will start re-keying in 2607 seconds with margin of 993 seconds (attempting re-key) | state #1 deleting .st_event EVENT_SA_REPLACE | libevent_free: delref ptr-libevent@0x55c84604bfd8 | free_event_entry: delref EVENT_SA_REPLACE-pe@0x55c846045168 | event_schedule: newref EVENT_SA_REKEY-pe@0x55c84604b3d8 | inserting event EVENT_SA_REKEY, timeout in 2607 seconds for #1 | libevent_malloc: newref ptr-libevent@0x7f2d0000f3d8 size 128 | pstats #1 ikev2.ike established | 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 | evaluating our conn="westnet-eastnet-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 an acceptable TSi/TSr Traffic Selector | 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 | 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 | using existing local ESP/AH proposals for westnet-eastnet-ikev2 (IKE_AUTH initiator accepting remote ESP/AH proposal): 1:ESP=AES_GCM_C_256-NONE-NONE-DISABLED 2:ESP=AES_GCM_C_128-NONE-NONE-DISABLED 3:ESP=AES_CBC_256-HMAC_SHA2_512_256+HMAC_SHA2_256_128-NONE-DISABLED 4:ESP=AES_CBC_128-HMAC_SHA2_512_256+HMAC_SHA2_256_128-NONE-DISABLED | comparing remote proposals against IKE_AUTH initiator accepting remote ESP/AH proposal 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_LAST (0x0) | 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 df f6 2c | Comparing remote proposal 1 containing 2 transforms against local proposal [1..1] 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 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 | remote accepted the proposal 1:ESP:ENCR=AES_GCM_C_256;ESN=DISABLED[first-match] | IKE_AUTH initiator accepting remote ESP/AH proposal ikev2_proposal: 1:ESP=AES_GCM_C_256-DISABLED SPI=eadff62c | converting proposal to internal trans attrs | integ=NONE: .key_size=0 encrypt=AES_GCM_16: .key_size=32 .salt_size=4 keymat_len=36 | install_ipsec_sa() for #2: inbound and outbound | could_route called for westnet-eastnet-ikev2; kind=CK_PERMANENT that.has_client=yes oppo=no this.host_port=500 | FOR_EACH_CONNECTION_... in route_owner | conn westnet-eastnet-ikev2 mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ikev2 mark 0/00000000, 0/00000000 | route owner of "westnet-eastnet-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-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.eadff62c@192.1.2.23 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-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.23565039@192.1.2.45 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-ikev2" is 2084814 (0x1fcfce) | add inbound eroute 192.0.2.0/24:0 --0-> 192.0.1.0/24:0 => tun.10000@192.1.2.45 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-ikev2 mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ikev2 mark 0/00000000, 0/00000000 | route owner of "westnet-eastnet-ikev2" unrouted: NULL; eroute owner: NULL | route_and_eroute with c: westnet-eastnet-ikev2 (next: none) ero:null esr:{(nil)} ro:null rosr:{(nil)} and state: #2 | priority calculation of connection "westnet-eastnet-ikev2" is 2084814 (0x1fcfce) | eroute_connection add eroute 192.0.1.0/24:0 --0-> 192.0.2.0/24:0 => tun.0@192.1.2.23 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.eadff62c@192.1.2.23 | get_sa_info esp.23565039@192.1.2.45 | executing up-client: PLUTO_VERB='up-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet-ikev2' PLUTO_VIRT_INTERFACE='NULL' PLUTO_INTERFACE='eth1' PLUTO_XFRMI_ROUTE='' PLUTO_NEXT_HOP='192.1.2.23' PLUTO_ME='192.1.2.45' PLUTO_MY_ID='@west' PLUTO_MY_CLIENT='192.0.1.0/24' PLUTO_MY_CLIENT_NET='192.0.1.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.23' PLUTO_PEER_ID='@east' PLUTO_PEER_CLIENT='192.0.2.0/24' PLUTO_PEER_CLIENT_NET='192.0.2.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='1604157932' PLUTO_CONN_POLICY='PSK+ENCRYPT+TUNNEL+PFS+UP+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_INBYTES='... | popen cmd is 1121 chars long | cmd( 0):PLUTO_VERB='up-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet-ike: | cmd( 80):v2' PLUTO_VIRT_INTERFACE='NULL' PLUTO_INTERFACE='eth1' PLUTO_XFRMI_ROUTE='' PLUT: | cmd( 160):O_NEXT_HOP='192.1.2.23' PLUTO_ME='192.1.2.45' PLUTO_MY_ID='@west' PLUTO_MY_CLIEN: | cmd( 240):T='192.0.1.0/24' PLUTO_MY_CLIENT_NET='192.0.1.0' PLUTO_MY_CLIENT_MASK='255.255.2: | cmd( 320):55.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16388' PLUTO_SA_TY: | cmd( 400):PE='ESP' PLUTO_PEER='192.1.2.23' PLUTO_PEER_ID='@east' PLUTO_PEER_CLIENT='192.0.: | cmd( 480):2.0/24' PLUTO_PEER_CLIENT_NET='192.0.2.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0': | cmd( 560): PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='xfrm': | cmd( 640): PLUTO_ADDTIME='1604157932' PLUTO_CONN_POLICY='PSK+ENCRYPT+TUNNEL+PFS+UP+IKEV2_A: | cmd( 720):LLOW+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY: | cmd( 800):='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER: | cmd( 880):_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' P: | cmd( 960):LUTO_NM_CONFIGURED='0' PLUTO_INBYTES='0' PLUTO_OUTBYTES='0' VTI_IFACE='' VTI_ROU: | cmd(1040):TING='no' VTI_SHARED='no' SPI_IN=0xeadff62c SPI_OUT=0x23565039 ipsec _updown 2>&: | cmd(1120):1: | route_and_eroute: firewall_notified: true | running updown command "ipsec _updown" for verb prepare | command executing prepare-client | get_sa_info esp.eadff62c@192.1.2.23 | get_sa_info esp.23565039@192.1.2.45 | executing prepare-client: PLUTO_VERB='prepare-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet-ikev2' PLUTO_VIRT_INTERFACE='NULL' PLUTO_INTERFACE='eth1' PLUTO_XFRMI_ROUTE='' PLUTO_NEXT_HOP='192.1.2.23' PLUTO_ME='192.1.2.45' PLUTO_MY_ID='@west' PLUTO_MY_CLIENT='192.0.1.0/24' PLUTO_MY_CLIENT_NET='192.0.1.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.23' PLUTO_PEER_ID='@east' PLUTO_PEER_CLIENT='192.0.2.0/24' PLUTO_PEER_CLIENT_NET='192.0.2.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='1604157932' PLUTO_CONN_POLICY='PSK+ENCRYPT+TUNNEL+PFS+UP+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 1126 chars long | cmd( 0):PLUTO_VERB='prepare-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastne: | cmd( 80):t-ikev2' PLUTO_VIRT_INTERFACE='NULL' PLUTO_INTERFACE='eth1' PLUTO_XFRMI_ROUTE='': | cmd( 160): PLUTO_NEXT_HOP='192.1.2.23' PLUTO_ME='192.1.2.45' PLUTO_MY_ID='@west' PLUTO_MY_: | cmd( 240):CLIENT='192.0.1.0/24' PLUTO_MY_CLIENT_NET='192.0.1.0' PLUTO_MY_CLIENT_MASK='255.: | cmd( 320):255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16388' PLUTO_: | cmd( 400):SA_TYPE='ESP' PLUTO_PEER='192.1.2.23' PLUTO_PEER_ID='@east' PLUTO_PEER_CLIENT='1: | cmd( 480):92.0.2.0/24' PLUTO_PEER_CLIENT_NET='192.0.2.0' PLUTO_PEER_CLIENT_MASK='255.255.2: | cmd( 560):55.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK=': | cmd( 640):xfrm' PLUTO_ADDTIME='1604157932' PLUTO_CONN_POLICY='PSK+ENCRYPT+TUNNEL+PFS+UP+IK: | cmd( 720):EV2_ALLOW+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRF: | cmd( 800):AMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO: | cmd( 880):_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='' VT: | cmd(1040):I_ROUTING='no' VTI_SHARED='no' SPI_IN=0xeadff62c SPI_OUT=0x23565039 ipsec _updow: | cmd(1120):n 2>&1: | running updown command "ipsec _updown" for verb route | command executing route-client | get_sa_info esp.eadff62c@192.1.2.23 | get_sa_info esp.23565039@192.1.2.45 | executing route-client: PLUTO_VERB='route-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet-ikev2' PLUTO_VIRT_INTERFACE='NULL' PLUTO_INTERFACE='eth1' PLUTO_XFRMI_ROUTE='' PLUTO_NEXT_HOP='192.1.2.23' PLUTO_ME='192.1.2.45' PLUTO_MY_ID='@west' PLUTO_MY_CLIENT='192.0.1.0/24' PLUTO_MY_CLIENT_NET='192.0.1.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.23' PLUTO_PEER_ID='@east' PLUTO_PEER_CLIENT='192.0.2.0/24' PLUTO_PEER_CLIENT_NET='192.0.2.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='1604157932' PLUTO_CONN_POLICY='PSK+ENCRYPT+TUNNEL+PFS+UP+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 1124 chars long | cmd( 0):PLUTO_VERB='route-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet-: | cmd( 80):ikev2' PLUTO_VIRT_INTERFACE='NULL' PLUTO_INTERFACE='eth1' PLUTO_XFRMI_ROUTE='' P: | cmd( 160):LUTO_NEXT_HOP='192.1.2.23' PLUTO_ME='192.1.2.45' PLUTO_MY_ID='@west' PLUTO_MY_CL: | cmd( 240):IENT='192.0.1.0/24' PLUTO_MY_CLIENT_NET='192.0.1.0' PLUTO_MY_CLIENT_MASK='255.25: | cmd( 320):5.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16388' PLUTO_SA: | cmd( 400):_TYPE='ESP' PLUTO_PEER='192.1.2.23' PLUTO_PEER_ID='@east' PLUTO_PEER_CLIENT='192: | cmd( 480):.0.2.0/24' PLUTO_PEER_CLIENT_NET='192.0.2.0' PLUTO_PEER_CLIENT_MASK='255.255.255: | cmd( 560):.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='xf: | cmd( 640):rm' PLUTO_ADDTIME='1604157932' PLUTO_CONN_POLICY='PSK+ENCRYPT+TUNNEL+PFS+UP+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' PLUTO_INBYTES='0' PLUTO_OUTBYTES='0' VTI_IFACE='' VTI_: | cmd(1040):ROUTING='no' VTI_SHARED='no' SPI_IN=0xeadff62c SPI_OUT=0x23565039 ipsec _updown : | cmd(1120):2>&1: "westnet-eastnet-ikev2" #2: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ikev2" #2: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ikev2" #2: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ikev2" #2: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ikev2" #2: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ikev2" #2: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ikev2" #2: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ikev2" #2: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ikev2" #2: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ikev2" #2: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ikev2" #2: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ikev2" #2: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ikev2" #2: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ikev2" #2: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ikev2" #2: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ikev2" #2: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ikev2" #2: route-client output: Error: Peer netns reference is invalid. | route_and_eroute: instance "westnet-eastnet-ikev2", setting eroute_owner {spd=0x55c846042f18,sr=0x55c846042f18} to #2 (was #0) (newest_ipsec_sa=#0) | inR2: instance westnet-eastnet-ikev2[0], setting IKEv2 newest_ipsec_sa to #2 (was #0) (spd.eroute=#2) cloned from #1 | #2 spent 1.4 (33.6) milliseconds in processing: Initiator: process IKE_AUTH response in v2_dispatch() | [RE]START processing: state #2 connection "westnet-eastnet-ikev2" from 192.1.2.23:500 (in complete_v2_state_transition() at ikev2.c:3364) | #2 complete_v2_state_transition() PARENT_I2->ESTABLISHED_CHILD_SA with status STF_OK; .st_v2_transition=NULL | transitioning from state STATE_PARENT_I2 to state STATE_V2_ESTABLISHED_CHILD_SA | Message ID: updating counters for #2 | Message ID: CHILD #1.#2 clearing EVENT_RETRANSMIT as response received: ike.initiator.sent=1 ike.initiator.recv=0 ike.initiator.last_contact=744606.452838 ike.responder.sent=-1 ike.responder.recv=-1 ike.responder.last_contact=744606.445751 child.wip.initiator=-1 child.wip.responder=-1 | #2 requesting EVENT_RETRANSMIT-pe@0x55c84604e098 be deleted | libevent_free: delref ptr-libevent@0x55c84604cdd8 | free_event_entry: delref EVENT_RETRANSMIT-pe@0x55c84604e098 | #2 STATE_PARENT_I2: retransmits: cleared | Message ID: CHILD #1.#2 updating initiator received message response 1: ike.initiator.sent=1 ike.initiator.recv=0->1 ike.initiator.last_contact=744606.452838->744606.522292 ike.responder.sent=-1 ike.responder.recv=-1 ike.responder.last_contact=744606.445751 child.wip.initiator=1->-1 child.wip.responder=-1 | Message ID: CHILD #1.#2 skipping update_send as nothing to send: ike.initiator.sent=1 ike.initiator.recv=1 ike.initiator.last_contact=744606.522292 ike.responder.sent=-1 ike.responder.recv=-1 ike.responder.last_contact=744606.445751 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=744606.522292 ike.responder.sent=-1 ike.responder.recv=-1 ike.responder.last_contact=744606.445751 ike.wip.initiator=-1 ike.wip.responder=-1 | child state #2: PARENT_I2(open IKE SA) => ESTABLISHED_CHILD_SA(established CHILD SA) | pstats #2 ikev2.child established | announcing the state transition "westnet-eastnet-ikev2" #2: negotiated connection [192.0.1.0-192.0.1.255:0-65535 0] -> [192.0.2.0-192.0.2.255:0-65535 0] | NAT-T: encaps is 'auto' "westnet-eastnet-ikev2" #2: IPsec SA established tunnel mode {ESP=>0xeadff62c <0x23565039 xfrm=AES_GCM_16_256-NONE NATOA=none NATD=none DPD=passive} | releasing #2's fd-fd@0x55c846042988 because IKEv2 transitions finished | delref fd@0x55c846042988(3->2) (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-ikev2" | delete from pending Child SA with 192.1.2.23 "westnet-eastnet-ikev2" | delref fd@0x55c846042988(2->1) (in delete_pending() at pending.c:218) | removing pending policy for no connection {0x55c846047fb8} | releasing #1's fd-fd@0x55c846042988 because IKEv2 transitions finished so releaseing IKE SA | delref fd@0x55c846042988(1->0) (in success_v2_state_transition() at ikev2.c:3222) | freeref fd-fd@0x55c846042988 (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 28048 seconds with margin of 752 seconds (attempting re-key) | state #2 has no .st_event to delete | event_schedule: newref EVENT_SA_REKEY-pe@0x55c84604e098 | inserting event EVENT_SA_REKEY, timeout in 28048 seconds for #2 | libevent_malloc: newref ptr-libevent@0x55c84604b5a8 size 128 | stop processing: state #2 connection "westnet-eastnet-ikev2" from 192.1.2.23:500 (in ikev2_process_packet() at ikev2.c:1904) | #1 spent 1.72 (34) milliseconds in ikev2_process_packet() | processing: STOP state #0 (in process_md() at demux.c:287) | delref mdp@0x55c846049678(1->0) (in handle_packet_cb() at demux.c:318) | delref logger@0x55c8460480c8(1->0) (in handle_packet_cb() at demux.c:318) | delref fd@NULL (in free_logger() at log.c:853) | delref fd@NULL (in free_logger() at log.c:854) | spent 1.74 (34) milliseconds in handle_packet_cb() reading and processing packet | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00409 (0.004) milliseconds in signal handler PLUTO_SIGCHLD | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00281 (0.00282) milliseconds in signal handler PLUTO_SIGCHLD | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00279 (0.00274) milliseconds in signal handler PLUTO_SIGCHLD | newref struct fd@0x55c846042988(0->1) (in whack_handle_cb() at rcv_whack.c:869) | fd_accept: new fd-fd@0x55c846042988 (in whack_handle_cb() at rcv_whack.c:869) | whack: traffic_status | FOR_EACH_STATE_... in show_traffic_status (sort_states) | FOR_EACH_STATE_... in sort_states | get_sa_info esp.23565039@192.1.2.45 | get_sa_info esp.eadff62c@192.1.2.23 | delref fd@0x55c846042988(1->0) (in whack_handle_cb() at rcv_whack.c:903) | freeref fd-fd@0x55c846042988 (in whack_handle_cb() at rcv_whack.c:903) | spent 0.114 (0.247) milliseconds in whack | newref struct fd@0x55c846042988(0->1) (in whack_handle_cb() at rcv_whack.c:869) | fd_accept: new fd-fd@0x55c846042988 (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.23565039@192.1.2.45 | get_sa_info esp.eadff62c@192.1.2.23 | delref fd@0x55c846042988(1->0) (in whack_handle_cb() at rcv_whack.c:903) | freeref fd-fd@0x55c846042988 (in whack_handle_cb() at rcv_whack.c:903) | spent 0.432 (0.484) milliseconds in whack | spent 0.00253 (0.00235) milliseconds in udp_read_packet() calling check_incoming_msg_errqueue() | newref struct msg_digest@0x55c846049678(0->1) (in read_message() at demux.c:103) | newref alloc logger@0x55c846045168(0->1) (in read_message() at demux.c:103) | *received 80 bytes from 192.1.2.23:500 on eth1 192.1.2.45:500 using UDP | 2d 8d 58 47 63 4a 3b 2d ca 42 4d 8b aa 25 af cd | 2e 20 25 00 00 00 00 00 00 00 00 50 2a 00 00 34 | 9c cf e3 4b 5d 55 96 0f 4e ff 06 59 a9 88 05 cf | a5 98 b2 f5 4d 7b a3 12 75 80 78 70 30 36 2c 24 | 19 15 62 05 70 ec 98 ee 28 de b1 bf 54 1c dd 3f | **parse ISAKMP Message: | initiator SPI: 2d 8d 58 47 63 4a 3b 2d | responder SPI: ca 42 4d 8b aa 25 af cd | next payload type: ISAKMP_NEXT_v2SK (0x2e) | 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) | length: 80 (00 00 00 50) | processing version=2.0 packet with exchange type=ISAKMP_v2_INFORMATIONAL (37) | I am the IKE SA Original Initiator receiving an IKEv2 INFORMATIONAL request | State DB: found IKEv2 state #1 in ESTABLISHED_IKE_SA (find_v2_ike_sa) | start processing: state #1 connection "westnet-eastnet-ikev2" from 192.1.2.23:500 (in ikev2_process_packet() at ikev2.c:1902) | #1 st.st_msgid_lastrecv -1 md.hdr.isa_msgid 00000000 | State DB: IKEv2 state not found (find_v2_sa_by_responder_wip) | #1 is idle | Message ID: IKE #1 not a duplicate - message request 0 is new: ike.initiator.sent=1 ike.initiator.recv=1 ike.initiator.last_contact=744606.522292 ike.responder.sent=-1 ike.responder.recv=-1 ike.responder.last_contact=744606.445751 ike.wip.initiator=-1 ike.wip.responder=-1 | [RE]START processing: state #1 connection "westnet-eastnet-ikev2" from 192.1.2.23: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_v2D (0x2a) | flags: none (0x0) | length: 52 (00 34) | processing payload: ISAKMP_NEXT_v2SK (len=48) | #1 in state ESTABLISHED_IKE_SA: established IKE SA | authenticator matched | #1 ikev2 ISAKMP_v2_INFORMATIONAL decrypt success | Now let's proceed with payload (ISAKMP_NEXT_v2D) | **parse IKEv2 Delete Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | length: 12 (00 0c) | protocol ID: IKEv2_SEC_PROTO_ESP (0x3) | SPI size: 4 (04) | number of SPIs: 1 (00 01) | processing payload: ISAKMP_NEXT_v2D (len=4) | selected state microcode Informational Request | Message ID: IKE #1 responder starting message request 0: ike.initiator.sent=1 ike.initiator.recv=1 ike.initiator.last_contact=744606.522292 ike.responder.sent=-1 ike.responder.recv=-1 ike.responder.last_contact=744606.445751 ike.wip.initiator=-1 ike.wip.responder=-1->0 | calling processor Informational Request | an informational request should send a response | opening output PBS information exchange reply packet | Received an INFORMATIONAL response, updating st_last_liveness, no pending_liveness | **emit ISAKMP Message: | initiator SPI: 2d 8d 58 47 63 4a 3b 2d | responder SPI: ca 42 4d 8b aa 25 af cd | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_INFORMATIONAL (0x25) | flags: ISAKMP_FLAG_v2_IKE_INIT+ISAKMP_FLAG_v2_MSG_RESPONSE (0x28) | 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 'information exchange reply packet' | emitting 16 zero bytes of IV into IKEv2 Encryption Payload | parsing 4 raw bytes of IKEv2 Delete Payload into SPI | SPI | ea df f6 2c | delete IKEv2_SEC_PROTO_ESP SA(0xeadff62c) | v2 CHILD SA #2 found using their inbound (our outbound) SPI, in STATE_V2_ESTABLISHED_CHILD_SA | State DB: found IKEv2 state #2 in ESTABLISHED_CHILD_SA (find_v2_child_sa_by_outbound_spi) | our side SPI that needs to be deleted: IKEv2_SEC_PROTO_ESP SA(0xeadff62c) "westnet-eastnet-ikev2" #1: received Delete SA payload: replace IPsec State #2 now | #2 requesting EVENT_SA_REKEY-pe@0x55c84604e098 be deleted | libevent_free: delref ptr-libevent@0x55c84604b5a8 | free_event_entry: delref EVENT_SA_REKEY-pe@0x55c84604e098 | event_schedule: newref EVENT_SA_REPLACE-pe@0x55c8460480c8 | inserting event EVENT_SA_REPLACE, timeout in 0 seconds for #2 | libevent_malloc: newref ptr-libevent@0x55c84604cdd8 size 128 | ****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 'information exchange reply packet' | emitting 4 raw bytes of local SPIs into IKEv2 Delete Payload | local SPIs: 23 56 50 39 | emitting length of IKEv2 Delete Payload: 12 | adding 4 bytes of padding (including 1 byte padding-length) | emitting 1 0x00 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x01 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x02 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x03 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: 52 | emitting length of ISAKMP Message: 80 | sending 80 bytes for reply packet for process_encrypted_informational_ikev2 through eth1 from 192.1.2.45:500 to 192.1.2.23:500 using UDP (for #1) | 2d 8d 58 47 63 4a 3b 2d ca 42 4d 8b aa 25 af cd | 2e 20 25 28 00 00 00 00 00 00 00 50 2a 00 00 34 | 4c 90 99 fd 4e 07 20 86 70 40 08 59 0a ad 34 d2 | 1b ef ab 27 5b 12 ce f3 ed 39 8d d8 21 e8 36 07 | 14 5b 8b eb ed 40 04 a8 94 29 91 c1 23 b5 78 70 | sent 1 messages | Message ID: IKE #1 XXX: in process_encrypted_informational_ikev2() hacking around record 'n' send bypassing send queue hacking around delete_ike_family(): ike.initiator.sent=1 ike.initiator.recv=1 ike.initiator.last_contact=744606.522292 ike.responder.sent=-1 ike.responder.recv=-1 ike.responder.last_contact=744606.445751 ike.wip.initiator=-1 ike.wip.responder=0 | Message ID: IKE #1 updating responder sent message response 0: ike.initiator.sent=1 ike.initiator.recv=1 ike.initiator.last_contact=744606.522292 ike.responder.sent=-1->0 ike.responder.recv=-1 ike.responder.last_contact=744606.445751 ike.wip.initiator=-1 ike.wip.responder=0 | #1 spent 0.222 (0.23) milliseconds in processing: Informational Request in v2_dispatch() | [RE]START processing: state #1 connection "westnet-eastnet-ikev2" from 192.1.2.23:500 (in complete_v2_state_transition() at ikev2.c:3364) | #1 complete_v2_state_transition() ESTABLISHED_IKE_SA->ESTABLISHED_IKE_SA with status STF_OK; .st_v2_transition=PARENT_I0->PARENT_I1 | 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=744606.522292 ike.responder.sent=0 ike.responder.recv=-1->0 ike.responder.last_contact=744606.445751->744610.931399 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=744606.522292 ike.responder.sent=0 ike.responder.recv=0 ike.responder.last_contact=744610.931399 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=744606.522292 ike.responder.sent=0 ike.responder.recv=0 ike.responder.last_contact=744610.931399 ike.wip.initiator=-1 ike.wip.responder=-1 | announcing the state transition "westnet-eastnet-ikev2" #1: established IKE SA | sending 80 bytes for STATE_V2_ESTABLISHED_IKE_SA through eth1 from 192.1.2.45:500 to 192.1.2.23:500 using UDP (for #1) | 2d 8d 58 47 63 4a 3b 2d ca 42 4d 8b aa 25 af cd | 2e 20 25 28 00 00 00 00 00 00 00 50 2a 00 00 34 | 4c 90 99 fd 4e 07 20 86 70 40 08 59 0a ad 34 d2 | 1b ef ab 27 5b 12 ce f3 ed 39 8d d8 21 e8 36 07 | 14 5b 8b eb ed 40 04 a8 94 29 91 c1 23 b5 78 70 | sent 1 messages | #1 is retaining EVENT_SA_REKEY with is previously set timeout | stop processing: state #1 connection "westnet-eastnet-ikev2" from 192.1.2.23:500 (in ikev2_process_packet() at ikev2.c:1904) | #1 spent 0.479 (0.492) milliseconds in ikev2_process_packet() | processing: STOP state #0 (in process_md() at demux.c:287) | delref mdp@0x55c846049678(1->0) (in handle_packet_cb() at demux.c:318) | delref logger@0x55c846045168(1->0) (in handle_packet_cb() at demux.c:318) | delref fd@NULL (in free_logger() at log.c:853) | delref fd@NULL (in free_logger() at log.c:854) | spent 0.498 (0.512) milliseconds in handle_packet_cb() reading and processing packet | timer_event_cb: processing event@0x55c8460480c8 | handling event EVENT_SA_REPLACE for child state #2 | libevent_free: delref ptr-libevent@0x55c84604cdd8 | free_event_entry: delref EVENT_SA_REPLACE-pe@0x55c8460480c8 | start processing: state #2 connection "westnet-eastnet-ikev2" from 192.1.2.23:500 (in timer_event_cb() at timer.c:188) | picked newest_ipsec_sa #2 for #2 | replacing stale CHILD SA | FOR_EACH_STATE_... in find_phase1_state | FOR_EACH_STATE_... in find_pending_phase2 | newref alloc logger@0x55c84604e098(0->1) (in new_state() at state.c:576) | addref fd@NULL (in new_state() at state.c:577) | creating state object #3 at 0x55c846049678 | State DB: adding IKEv2 state #3 in UNDEFINED | pstats #3 ikev2.child started | duplicating state object #1 "westnet-eastnet-ikev2" as #3 for IPSEC SA | #3 setting local endpoint to 192.1.2.45:500 from #1.st_localport (in duplicate_state() at state.c:1581) | Message ID: CHILD #1.#3 initializing (CHILD SA): ike.initiator.sent=1 ike.initiator.recv=1 ike.initiator.last_contact=744606.522292 ike.responder.sent=0 ike.responder.recv=0 ike.responder.last_contact=744610.931399 child.wip.initiator=0->-1 child.wip.responder=0->-1 | child state #3: UNDEFINED(ignore) => V2_REKEY_CHILD_I0(established IKE SA) | #3.st_v2_transition NULL -> V2_REKEY_CHILD_I0->V2_REKEY_CHILD_I1 (in new_v2_child_state() at state.c:1666) | suspend processing: state #2 connection "westnet-eastnet-ikev2" from 192.1.2.23:500 (in ikev2_initiate_child_sa() at ikev2_parent.c:5960) | start processing: state #3 connection "westnet-eastnet-ikev2" from 192.1.2.23:500 (in ikev2_initiate_child_sa() at ikev2_parent.c:5960) | create child proposal's DH changed from no-PFS to MODP2048, flushing | constructing ESP/AH proposals with default DH MODP2048 for westnet-eastnet-ikev2 (ESP/AH initiator emitting proposals) | converting proposal AES_GCM_16_256-NONE to ikev2 ... | ... ikev2_proposal: 1:ESP=AES_GCM_C_256-NONE-MODP2048-DISABLED | converting proposal AES_GCM_16_128-NONE to ikev2 ... | ... ikev2_proposal: 2:ESP=AES_GCM_C_128-NONE-MODP2048-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-MODP2048-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-MODP2048-DISABLED "westnet-eastnet-ikev2": local ESP/AH proposals (ESP/AH initiator emitting proposals): "westnet-eastnet-ikev2": 1:ESP=AES_GCM_C_256-NONE-MODP2048-DISABLED "westnet-eastnet-ikev2": 2:ESP=AES_GCM_C_128-NONE-MODP2048-DISABLED "westnet-eastnet-ikev2": 3:ESP=AES_CBC_256-HMAC_SHA2_512_256+HMAC_SHA2_256_128-MODP2048-DISABLED "westnet-eastnet-ikev2": 4:ESP=AES_CBC_128-HMAC_SHA2_512_256+HMAC_SHA2_256_128-MODP2048-DISABLED | #3 schedule rekey initiate IPsec SA PSK+ENCRYPT+TUNNEL+PFS+UP+IKEV2_ALLOW+IKE_FRAG_ALLOW+ESN_NO to replace #2 using IKE# 1 pfs=MODP2048 | event_schedule: newref EVENT_v2_INITIATE_CHILD-pe@0x55c846034f18 | inserting event EVENT_v2_INITIATE_CHILD, timeout in 0 seconds for #3 | libevent_malloc: newref ptr-libevent@0x55c84604bcf8 size 128 | RESET processing: state #3 connection "westnet-eastnet-ikev2" from 192.1.2.23:500 (in ikev2_initiate_child_sa() at ikev2_parent.c:6035) | event_schedule: newref EVENT_SA_EXPIRE-pe@0x55c84604bf48 | inserting event EVENT_SA_EXPIRE, timeout in 0 seconds for #2 | libevent_malloc: newref ptr-libevent@0x55c846043ce8 size 128 | #2 spent 0.144 (0.15) milliseconds in timer_event_cb() EVENT_SA_REPLACE | processing: STOP state #0 (in timer_event_cb() at timer.c:447) | timer_event_cb: processing event@0x55c846034f18 | handling event EVENT_v2_INITIATE_CHILD for child state #3 | libevent_free: delref ptr-libevent@0x55c84604bcf8 | free_event_entry: delref EVENT_v2_INITIATE_CHILD-pe@0x55c846034f18 | start processing: state #3 connection "westnet-eastnet-ikev2" from 192.1.2.23:500 (in timer_event_cb() at timer.c:188) | addref fd@NULL (in clone_logger() at log.c:809) | addref fd@NULL (in clone_logger() at log.c:810) | newref clone logger@0x55c8460480c8(0->1) (in clone_logger() at log.c:817) | job 3 for #3: Child Rekey Initiator KE and nonce ni (build KE and nonce): adding job to queue | state #3 has no .st_event to delete | #3 STATE_V2_REKEY_CHILD_I0: retransmits: cleared | event_schedule: newref EVENT_CRYPTO_TIMEOUT-pe@0x55c846034f18 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #3 | libevent_malloc: newref ptr-libevent@0x55c84604bcf8 size 128 | #3 spent 0.0431 (0.0433) milliseconds in timer_event_cb() EVENT_v2_INITIATE_CHILD | stop processing: state #3 connection "westnet-eastnet-ikev2" from 192.1.2.23:500 (in timer_event_cb() at timer.c:447) | timer_event_cb: processing event@0x55c84604bf48 | handling event EVENT_SA_EXPIRE for child state #2 | libevent_free: delref ptr-libevent@0x55c846043ce8 | free_event_entry: delref EVENT_SA_EXPIRE-pe@0x55c84604bf48 | start processing: state #2 connection "westnet-eastnet-ikev2" from 192.1.2.23:500 (in timer_event_cb() at timer.c:188) | picked newest_ipsec_sa #2 for #2 | un-established partial CHILD SA timeout (SA expired) | pstats #2 ikev2.child re-failed exchange-timeout | should_send_delete: no, just because | pstats #2 ikev2.child deleted completed | #2 main thread spent 1.54 (33.8) milliseconds helper thread spent 0 (0) milliseconds in total | [RE]START processing: state #2 connection "westnet-eastnet-ikev2" from 192.1.2.23:500 (in delete_state() at state.c:935) | should_send_delete: no, just because "westnet-eastnet-ikev2" #2: deleting state (STATE_V2_ESTABLISHED_CHILD_SA) aged 4.479826s and NOT sending notification | child state #2: ESTABLISHED_CHILD_SA(established CHILD SA) => delete | get_sa_info esp.eadff62c@192.1.2.23 | get_sa_info esp.23565039@192.1.2.45 "westnet-eastnet-ikev2" #2: ESP traffic information: in=336B out=336B | unsuspending #2 MD (nil) | should_send_delete: no, just because | child state #2: ESTABLISHED_CHILD_SA(established CHILD SA) => CHILDSA_DEL(informational) | state #2 has no .st_event to delete | #2 STATE_CHILDSA_DEL: retransmits: cleared | job 3 for #3: Child Rekey Initiator KE and nonce ni (build KE and nonce): helper 3 starting job | "westnet-eastnet-ikev2" #3: spent 1.76 (1.8) milliseconds in helper 3 processing job 3 for state #3: Child Rekey Initiator KE and nonce ni (pcr) | job 3 for #3: Child Rekey Initiator KE and nonce ni (build KE and nonce): helper thread 3 sending result back to state | scheduling resume sending helper answer back to state for #3 | libevent_malloc: newref ptr-libevent@0x7f2d04006108 size 128 | helper thread 3 has nothing to do | running updown command "ipsec _updown" for verb down | command executing down-client | get_sa_info esp.eadff62c@192.1.2.23 | get_sa_info esp.23565039@192.1.2.45 | executing down-client: PLUTO_VERB='down-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet-ikev2' PLUTO_VIRT_INTERFACE='NULL' PLUTO_INTERFACE='eth1' PLUTO_XFRMI_ROUTE='' PLUTO_NEXT_HOP='192.1.2.23' PLUTO_ME='192.1.2.45' PLUTO_MY_ID='@west' PLUTO_MY_CLIENT='192.0.1.0/24' PLUTO_MY_CLIENT_NET='192.0.1.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.23' PLUTO_PEER_ID='@east' PLUTO_PEER_CLIENT='192.0.2.0/24' PLUTO_PEER_CLIENT_NET='192.0.2.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='1604157932' PLUTO_CONN_POLICY='PSK+ENCRYPT+TUNNEL+PFS+UP+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_INBYT... | popen cmd is 1127 chars long | cmd( 0):PLUTO_VERB='down-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet-i: | cmd( 80):kev2' PLUTO_VIRT_INTERFACE='NULL' PLUTO_INTERFACE='eth1' PLUTO_XFRMI_ROUTE='' PL: | cmd( 160):UTO_NEXT_HOP='192.1.2.23' PLUTO_ME='192.1.2.45' PLUTO_MY_ID='@west' PLUTO_MY_CLI: | cmd( 240):ENT='192.0.1.0/24' PLUTO_MY_CLIENT_NET='192.0.1.0' PLUTO_MY_CLIENT_MASK='255.255: | cmd( 320):.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16388' PLUTO_SA_: | cmd( 400):TYPE='ESP' PLUTO_PEER='192.1.2.23' PLUTO_PEER_ID='@east' PLUTO_PEER_CLIENT='192.: | cmd( 480):0.2.0/24' PLUTO_PEER_CLIENT_NET='192.0.2.0' PLUTO_PEER_CLIENT_MASK='255.255.255.: | cmd( 560):0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='xfr: | cmd( 640):m' PLUTO_ADDTIME='1604157932' PLUTO_CONN_POLICY='PSK+ENCRYPT+TUNNEL+PFS+UP+IKEV2: | cmd( 720):_ALLOW+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMI: | cmd( 800):LY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PE: | cmd( 880):ER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0': | cmd( 960): PLUTO_NM_CONFIGURED='0' PLUTO_INBYTES='336' PLUTO_OUTBYTES='336' VTI_IFACE='' V: | cmd(1040):TI_ROUTING='no' VTI_SHARED='no' SPI_IN=0xeadff62c SPI_OUT=0x23565039 ipsec _updo: | cmd(1120):wn 2>&1: | shunt_eroute() called for connection 'westnet-eastnet-ikev2' to 'replace with shunt' for rt_kind 'prospective erouted' using protoports 192.0.1.0/24:0 --0->- 192.0.2.0/24:0 | netlink_shunt_eroute for proto 0, and source 192.0.1.0/24:0 dest 192.0.2.0/24:0 | priority calculation of connection "westnet-eastnet-ikev2" is 2084814 (0x1fcfce) | IPsec SA SPD priority set to 2084814 | delete esp.eadff62c@192.1.2.23 | XFRM: deleting IPsec SA with reqid 0 | netlink response for Del SA esp.eadff62c@192.1.2.23 included non-error error | priority calculation of connection "westnet-eastnet-ikev2" is 2084814 (0x1fcfce) | delete inbound eroute 192.0.2.0/24:0 --0-> 192.0.1.0/24:0 => unk.10000@192.1.2.45 using reqid 0 (raw_eroute) proto=50 | raw_eroute result=success | delete esp.23565039@192.1.2.45 | XFRM: deleting IPsec SA with reqid 0 | netlink response for Del SA esp.23565039@192.1.2.45 included non-error error | in connection_discard for connection westnet-eastnet-ikev2 | State DB: deleting IKEv2 state #2 in CHILDSA_DEL | child state #2: CHILDSA_DEL(informational) => 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.23:500 (in delete_state() at state.c:1239) | delref logger@0x55c846042bc8(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) | State DB: found IKEv2 state #3 in V2_REKEY_CHILD_I0 (v2_expire_unused_ike_sa) | can't expire unused IKE SA #1; it has the child #3 | in statetime_stop() and could not find #2 | processing: STOP state #0 (in timer_event_cb() at timer.c:447) | processing resume sending helper answer back to state for #3 | start processing: state #3 connection "westnet-eastnet-ikev2" from 192.1.2.23:500 (in resume_handler() at server.c:641) | unsuspending #3 MD (nil) | job 3 for #3: Child Rekey Initiator KE and nonce ni (build KE and nonce): processing response from helper 3 | job 3 for #3: Child Rekey Initiator KE and nonce ni (build KE and nonce): calling continuation function 0x55c8446d6fe7 | ikev2_child_outI_continue() for #3 STATE_V2_REKEY_CHILD_I0 | DH secret MODP2048@0x7f2d04006ba8: transferring ownership from helper KE to state #3 | adding CHILD SA #3 to IKE SA #1 message initiator queue | Message ID: CHILD #1.#3 wakeing IKE SA for next initiator (unack 0): ike.initiator.sent=1 ike.initiator.recv=1 ike.initiator.last_contact=744606.522292 ike.responder.sent=0 ike.responder.recv=0 ike.responder.last_contact=744610.931399 child.wip.initiator=-1 child.wip.responder=-1 | scheduling callback v2_msgid_schedule_next_initiator (#1) | libevent_malloc: newref ptr-libevent@0x55c846043ce8 size 128 | [RE]START processing: state #3 connection "westnet-eastnet-ikev2" from 192.1.2.23:500 (in complete_v2_state_transition() at ikev2.c:3364) | #3 complete_v2_state_transition() V2_REKEY_CHILD_I0->V2_REKEY_CHILD_I1 with status STF_SUSPEND | no MD to suspend | delref logger@0x55c8460480c8(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 sending helper answer back to state for #3 suppresed complete_v2_state_transition() | delref mdp@NULL (in resume_handler() at server.c:743) | #3 spent 0.0625 (0.0674) milliseconds in resume sending helper answer back to state | stop processing: state #3 connection "westnet-eastnet-ikev2" from 192.1.2.23:500 (in resume_handler() at server.c:745) | libevent_free: delref ptr-libevent@0x7f2d04006108 | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00484 (0.00476) milliseconds in signal handler PLUTO_SIGCHLD | libevent_free: delref ptr-libevent@0x55c846043ce8 | processing callback v2_msgid_schedule_next_initiator for #1 | start processing: state #1 connection "westnet-eastnet-ikev2" from 192.1.2.23:500 (in callback_handler() at server.c:828) | Message ID: CHILD #1.#3 resuming SA using IKE SA (unack 0): ike.initiator.sent=1 ike.initiator.recv=1 ike.initiator.last_contact=744606.522292 ike.responder.sent=0 ike.responder.recv=0 ike.responder.last_contact=744610.931399 child.wip.initiator=-1 child.wip.responder=-1 | suspend processing: state #1 connection "westnet-eastnet-ikev2" from 192.1.2.23:500 (in initiate_next() at ikev2_msgid.c:675) | start processing: state #3 connection "westnet-eastnet-ikev2" from 192.1.2.23:500 (in initiate_next() at ikev2_msgid.c:675) | unsuspending #3 MD (nil) | opening output PBS reply packet | **emit ISAKMP Message: | initiator SPI: 2d 8d 58 47 63 4a 3b 2d | responder SPI: ca 42 4d 8b aa 25 af cd | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_CREATE_CHILD_SA (0x24) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 2 (00 00 00 02) | 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 'reply packet' | emitting 16 zero bytes of IV into IKEv2 Encryption Payload | netlink_get_spi: allocated 0x8bb74965 for esp.0@192.1.2.45 | Emitting ikev2_proposals ... | ****emit IKEv2 Security Association Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'IKEv2 Encryption 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' | discard INTEG=NONE when counting transforms (multiple 0; allow single 0) | *****emit IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_NON_LAST (0x2) | prop #: 1 (01) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (04) | # transforms: 3 (03) | 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: 8b b7 49 65 | ******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 | discard INTEG=NONE when emitting proposal (multiple 0; allow single 0) | ******emit IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | 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 | ******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: 40 | last substructure: checking 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' is 0 | discard INTEG=NONE when counting transforms (multiple 0; allow single 0) | *****emit IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_NON_LAST (0x2) | prop #: 2 (02) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (04) | # transforms: 3 (03) | last substructure: checking 'IKEv2 Security Association Payload'.'IKEv2 Proposal Substructure Payload'.'last proposal' containing v2_PROPOSAL_NON_LAST (0x2) is v2_PROPOSAL_NON_LAST (0x2) | 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: 8b b7 49 65 | ******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: 128 (00 80) | emitting length of IKEv2 Transform Substructure Payload: 12 | discard INTEG=NONE when emitting proposal (multiple 0; allow single 0) | ******emit IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | 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 | ******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: 40 | last substructure: checking 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' is 0 | *****emit IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_NON_LAST (0x2) | prop #: 3 (03) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (04) | # transforms: 5 (05) | last substructure: checking 'IKEv2 Security Association Payload'.'IKEv2 Proposal Substructure Payload'.'last proposal' containing v2_PROPOSAL_NON_LAST (0x2) is v2_PROPOSAL_NON_LAST (0x2) | 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: 8b b7 49 65 | ******emit IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | IKEv2 transform type: TRANS_TYPE_ENCR (0x1) | IKEv2 transform ID: AES_CBC (0xc) | 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_INTEG (0x3) | IKEv2 transform ID: AUTH_HMAC_SHA2_512_256 (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 | ******emit IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | IKEv2 transform type: TRANS_TYPE_INTEG (0x3) | IKEv2 transform ID: AUTH_HMAC_SHA2_256_128 (0xc) | 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_NON_LAST (0x3) | 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 | ******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: 56 | last substructure: checking 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' is 0 | *****emit IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | prop #: 4 (04) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (04) | # transforms: 5 (05) | last substructure: checking 'IKEv2 Security Association Payload'.'IKEv2 Proposal Substructure Payload'.'last proposal' containing v2_PROPOSAL_NON_LAST (0x2) is v2_PROPOSAL_NON_LAST (0x2) | 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: 8b b7 49 65 | ******emit IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | IKEv2 transform type: TRANS_TYPE_ENCR (0x1) | IKEv2 transform ID: AES_CBC (0xc) | 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: 128 (00 80) | 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_INTEG (0x3) | IKEv2 transform ID: AUTH_HMAC_SHA2_512_256 (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 | ******emit IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | IKEv2 transform type: TRANS_TYPE_INTEG (0x3) | IKEv2 transform ID: AUTH_HMAC_SHA2_256_128 (0xc) | 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_NON_LAST (0x3) | 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 | ******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: 56 | last substructure: checking 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' is 0 | emitting length of IKEv2 Security Association Payload: 196 | last substructure: checking 'IKEv2 Security Association Payload'.'IKEv2 Proposal Substructure Payload'.'last proposal' is 0 "westnet-eastnet-ikev2" #3: CHILD SA to rekey #2 vanished abort this exchange | ikev2_child_sa_respond returned STF_INTERNAL_ERROR | [RE]START processing: state #3 connection "westnet-eastnet-ikev2" from 192.1.2.23:500 (in complete_v2_state_transition() at ikev2.c:3364) | #3 complete_v2_state_transition() V2_REKEY_CHILD_I0->V2_REKEY_CHILD_I1 with status STF_INTERNAL_ERROR "westnet-eastnet-ikev2" #3: state transition function for STATE_V2_REKEY_CHILD_I0 had internal error | release_pending_whacks: state #3 has no whack fd | delref mdp@NULL (in initiate_next() at ikev2_msgid.c:705) | stop processing: state #3 connection "westnet-eastnet-ikev2" from 192.1.2.23:500 (in initiate_next() at ikev2_msgid.c:707) | resume processing: state #1 connection "westnet-eastnet-ikev2" from 192.1.2.23:500 (in initiate_next() at ikev2_msgid.c:707) | stop processing: state #1 connection "westnet-eastnet-ikev2" from 192.1.2.23:500 (in callback_handler() at server.c:832) | spent 0.573 (0.585) milliseconds in callback v2_msgid_schedule_next_initiator | spent 0.00261 (0.00255) milliseconds in udp_read_packet() calling check_incoming_msg_errqueue() | newref struct msg_digest@0x55c846050838(0->1) (in read_message() at demux.c:103) | newref alloc logger@0x55c84604bf48(0->1) (in read_message() at demux.c:103) | *received 80 bytes from 192.1.2.23:500 on eth1 192.1.2.45:500 using UDP | 2d 8d 58 47 63 4a 3b 2d ca 42 4d 8b aa 25 af cd | 2e 20 25 00 00 00 00 01 00 00 00 50 2a 00 00 34 | f9 94 39 6b 84 87 5e ea 95 37 15 7d 81 4b 85 bc | 46 43 ca 2c 6d 81 9d a7 f5 f7 10 3e 90 34 52 38 | 60 2e b5 8c 14 3f 70 e1 a8 51 65 12 3f db 55 f6 | **parse ISAKMP Message: | initiator SPI: 2d 8d 58 47 63 4a 3b 2d | responder SPI: ca 42 4d 8b aa 25 af cd | next payload type: ISAKMP_NEXT_v2SK (0x2e) | 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) | length: 80 (00 00 00 50) | processing version=2.0 packet with exchange type=ISAKMP_v2_INFORMATIONAL (37) | I am the IKE SA Original Initiator receiving an IKEv2 INFORMATIONAL request | State DB: found IKEv2 state #1 in ESTABLISHED_IKE_SA (find_v2_ike_sa) | start processing: state #1 connection "westnet-eastnet-ikev2" from 192.1.2.23: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=744606.522292 ike.responder.sent=0 ike.responder.recv=0 ike.responder.last_contact=744610.931399 ike.wip.initiator=-1 ike.wip.responder=-1 | [RE]START processing: state #1 connection "westnet-eastnet-ikev2" from 192.1.2.23: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_v2D (0x2a) | flags: none (0x0) | length: 52 (00 34) | processing payload: ISAKMP_NEXT_v2SK (len=48) | #1 in state ESTABLISHED_IKE_SA: established IKE SA | authenticator matched | #1 ikev2 ISAKMP_v2_INFORMATIONAL decrypt success | Now let's proceed with payload (ISAKMP_NEXT_v2D) | **parse IKEv2 Delete Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | length: 8 (00 08) | protocol ID: IKEv2_SEC_PROTO_IKE (0x1) | SPI size: 0 (00) | number of SPIs: 0 (00 00) | processing payload: ISAKMP_NEXT_v2D (len=0) | selected state microcode Informational Request | Message ID: IKE #1 responder starting message request 1: ike.initiator.sent=1 ike.initiator.recv=1 ike.initiator.last_contact=744606.522292 ike.responder.sent=0 ike.responder.recv=0 ike.responder.last_contact=744610.931399 ike.wip.initiator=-1 ike.wip.responder=-1->1 | calling processor Informational Request | an informational request should send a response | opening output PBS information exchange reply packet | Received an INFORMATIONAL response, updating st_last_liveness, no pending_liveness | **emit ISAKMP Message: | initiator SPI: 2d 8d 58 47 63 4a 3b 2d | responder SPI: ca 42 4d 8b aa 25 af cd | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_INFORMATIONAL (0x25) | flags: ISAKMP_FLAG_v2_IKE_INIT+ISAKMP_FLAG_v2_MSG_RESPONSE (0x28) | 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 'information exchange reply packet' | emitting 16 zero bytes of IV into IKEv2 Encryption Payload | adding 16 bytes of padding (including 1 byte padding-length) | emitting 1 0x00 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x01 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x02 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x03 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x04 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x05 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x06 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x07 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x08 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x09 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x0a repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x0b repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x0c repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x0d repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x0e repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x0f 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: 52 | emitting length of ISAKMP Message: 80 | sending 80 bytes for reply packet for process_encrypted_informational_ikev2 through eth1 from 192.1.2.45:500 to 192.1.2.23:500 using UDP (for #1) | 2d 8d 58 47 63 4a 3b 2d ca 42 4d 8b aa 25 af cd | 2e 20 25 28 00 00 00 01 00 00 00 50 00 00 00 34 | cc 3c 01 11 62 c9 27 ec 63 14 2c 53 36 09 b8 a1 | 4b de 84 43 ab f1 52 c5 34 a2 d9 cb a1 03 55 1b | 35 26 14 bc 94 23 a2 d9 17 f1 80 c6 10 76 5e 14 | sent 1 messages | Message ID: IKE #1 XXX: in process_encrypted_informational_ikev2() hacking around record 'n' send bypassing send queue hacking around delete_ike_family(): ike.initiator.sent=1 ike.initiator.recv=1 ike.initiator.last_contact=744606.522292 ike.responder.sent=0 ike.responder.recv=0 ike.responder.last_contact=744610.931399 ike.wip.initiator=-1 ike.wip.responder=1 | Message ID: IKE #1 updating responder sent message response 1: ike.initiator.sent=1 ike.initiator.recv=1 ike.initiator.last_contact=744606.522292 ike.responder.sent=0->1 ike.responder.recv=0 ike.responder.last_contact=744610.931399 ike.wip.initiator=-1 ike.wip.responder=1 | pstats #3 ikev2.child deleted other | #3 main thread spent 0.106 (0.111) milliseconds helper thread spent 1.76 (1.8) milliseconds in total | suspend processing: state #1 connection "westnet-eastnet-ikev2" from 192.1.2.23:500 (in delete_state() at state.c:935) | start processing: state #3 connection "westnet-eastnet-ikev2" from 192.1.2.23:500 (in delete_state() at state.c:935) | should_send_delete: no, just because "westnet-eastnet-ikev2" #3: deleting other state #3 (STATE_V2_REKEY_CHILD_I0) aged 0.021194s and NOT sending notification | child state #3: V2_REKEY_CHILD_I0(established IKE SA) => delete | unsuspending #3 MD (nil) | should_send_delete: no, just because | child state #3: V2_REKEY_CHILD_I0(established IKE SA) => CHILDSA_DEL(informational) | state #3 deleting .st_event EVENT_CRYPTO_TIMEOUT | libevent_free: delref ptr-libevent@0x55c84604bcf8 | free_event_entry: delref EVENT_CRYPTO_TIMEOUT-pe@0x55c846034f18 | #3 STATE_CHILDSA_DEL: retransmits: cleared | priority calculation of connection "westnet-eastnet-ikev2" is 2084814 (0x1fcfce) | delete inbound eroute 192.0.2.0/24:0 --0-> 192.0.1.0/24:0 => unk.10000@192.1.2.45 using reqid 0 (raw_eroute) proto=50 | raw_eroute result=success | in connection_discard for connection westnet-eastnet-ikev2 | State DB: deleting IKEv2 state #3 in CHILDSA_DEL | child state #3: CHILDSA_DEL(informational) => UNDEFINED(ignore) | releasing #3'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 #3 from 192.1.2.23:500 (in delete_state() at state.c:1239) | resume processing: state #1 connection "westnet-eastnet-ikev2" from 192.1.2.23:500 (in delete_state() at state.c:1239) | delref logger@0x55c84604e098(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) | State DB: IKEv2 state not found (delete_ike_family) | pstats #1 ikev2.ike deleted completed | #1 main thread spent 4.31 (36.6) milliseconds helper thread spent 2.3 (2.36) milliseconds in total | [RE]START processing: state #1 connection "westnet-eastnet-ikev2" from 192.1.2.23:500 (in delete_state() at state.c:935) | should_send_delete: no, just because "westnet-eastnet-ikev2" #1: deleting state (STATE_V2_ESTABLISHED_IKE_SA) aged 4.507096s and NOT sending notification | parent state #1: ESTABLISHED_IKE_SA(established IKE SA) => delete | unsuspending #1 MD (nil) | should_send_delete: no, just because | state #1 deleting .st_event EVENT_SA_REKEY | libevent_free: delref ptr-libevent@0x7f2d0000f3d8 | free_event_entry: delref EVENT_SA_REKEY-pe@0x55c84604b3d8 | #1 STATE_V2_ESTABLISHED_IKE_SA: retransmits: cleared | State DB: IKEv2 state not found (flush_incomplete_children) | picked newest_isakmp_sa #0 for #1 "westnet-eastnet-ikev2" #1: deleting IKE SA but connection is supposed to remain up; schedule EVENT_REVIVE_CONNS | add revival: connection 'westnet-eastnet-ikev2' added to the list and scheduled for 0 seconds | global one-shot timer EVENT_REVIVE_CONNS scheduled in 0 seconds | in connection_discard for connection westnet-eastnet-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.23:500 (in delete_state() at state.c:1239) | delref logger@0x55c8460418e8(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) | in statetime_stop() and could not find #1 | XXX: processor 'Informational Request' for #1 deleted state MD.ST | processing: STOP state #0 (in ikev2_process_packet() at ikev2.c:1904) | in statetime_stop() and could not find #1 | processing: STOP state #0 (in process_md() at demux.c:287) | delref mdp@0x55c846050838(1->0) (in handle_packet_cb() at demux.c:318) | delref logger@0x55c84604bf48(1->0) (in handle_packet_cb() at demux.c:318) | delref fd@NULL (in free_logger() at log.c:853) | delref fd@NULL (in free_logger() at log.c:854) | spent 0.726 (0.942) milliseconds in handle_packet_cb() reading and processing packet | processing global timer EVENT_REVIVE_CONNS | FOR_EACH_CONNECTION_... in conn_by_name "westnet-eastnet-ikev2": initiating connection which received a Delete/Notify but must remain up per local policy | connection 'westnet-eastnet-ikev2' +POLICY_UP | FOR_EACH_STATE_... in find_phase1_state | newref alloc logger@0x55c846034f18(0->1) (in new_state() at state.c:576) | addref fd@NULL (in new_state() at state.c:577) | creating state object #4 at 0x55c846044408 | State DB: adding IKEv2 state #4 in UNDEFINED | pstats #4 ikev2.ike started | parent state #4: UNDEFINED(ignore) => PARENT_I0(ignore) | #4.st_v2_transition NULL -> PARENT_I0->PARENT_I1 (in new_v2_ike_state() at state.c:620) | Message ID: IKE #4 initializing (IKE SA): ike.initiator.sent=0->-1 ike.initiator.recv=0->-1 ike.initiator.last_contact=0->744610.953193 ike.responder.sent=0->-1 ike.responder.recv=0->-1 ike.responder.last_contact=0->744610.953193 ike.wip.initiator=0->-1 ike.wip.responder=0->-1 | orienting westnet-eastnet-ikev2 | westnet-eastnet-ikev2 doesn't match 127.0.0.1:4500 at all | westnet-eastnet-ikev2 doesn't match 127.0.0.1:500 at all | westnet-eastnet-ikev2 doesn't match 192.0.1.254:4500 at all | westnet-eastnet-ikev2 doesn't match 192.0.1.254:500 at all | westnet-eastnet-ikev2 doesn't match 192.1.2.45:4500 at all | oriented westnet-eastnet-ikev2's this | start processing: state #4 connection "westnet-eastnet-ikev2" from 192.1.2.23:500 (in ikev2_parent_outI1() at ikev2_parent.c:544) | addref fd@NULL (in add_pending() at pending.c:86) | queuing pending IPsec SA negotiating with 192.1.2.23 IKE SA #4 "westnet-eastnet-ikev2" "westnet-eastnet-ikev2" #4: initiating IKEv2 connection | using existing local IKE proposals for connection westnet-eastnet-ikev2 (IKE SA initiator selecting KE): 1:IKE=AES_CBC_128-HMAC_SHA2_256-HMAC_SHA2_256_128-MODP2048 | addref fd@NULL (in clone_logger() at log.c:809) | addref fd@NULL (in clone_logger() at log.c:810) | newref clone logger@0x55c8460450f8(0->1) (in clone_logger() at log.c:817) | job 4 for #4: ikev2_outI1 KE (build KE and nonce): adding job to queue | state #4 has no .st_event to delete | #4 STATE_PARENT_I0: retransmits: cleared | event_schedule: newref EVENT_CRYPTO_TIMEOUT-pe@0x55c8460480c8 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #4 | libevent_malloc: newref ptr-libevent@0x55c846043ce8 size 128 | #4 spent 0.122 (0.122) milliseconds in ikev2_parent_outI1() | RESET processing: state #4 connection "westnet-eastnet-ikev2" from 192.1.2.23:500 (in ikev2_parent_outI1() at ikev2_parent.c:640) | spent 0.141 (0.141) milliseconds in global timer EVENT_REVIVE_CONNS | job 4 for #4: ikev2_outI1 KE (build KE and nonce): helper 4 starting job | "westnet-eastnet-ikev2" #4: spent 1.6 (1.62) milliseconds in helper 4 processing job 4 for state #4: ikev2_outI1 KE (pcr) | job 4 for #4: ikev2_outI1 KE (build KE and nonce): helper thread 4 sending result back to state | scheduling resume sending helper answer back to state for #4 | libevent_malloc: newref ptr-libevent@0x7f2cf8006108 size 128 | helper thread 4 has nothing to do | processing resume sending helper answer back to state for #4 | start processing: state #4 connection "westnet-eastnet-ikev2" from 192.1.2.23:500 (in resume_handler() at server.c:641) | unsuspending #4 MD (nil) | job 4 for #4: ikev2_outI1 KE (build KE and nonce): processing response from helper 4 | job 4 for #4: ikev2_outI1 KE (build KE and nonce): calling continuation function 0x55c8446d6fe7 | ikev2_parent_outI1_continue() for #4 STATE_PARENT_I0 | DH secret MODP2048@0x7f2cf8006ba8: transferring ownership from helper KE to state #4 | opening output PBS reply packet | **emit ISAKMP Message: | initiator SPI: 21 1b 61 43 31 42 32 76 | responder SPI: 00 00 00 00 00 00 00 00 | 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_IKE_INIT (0x8) | Message ID: 0 (00 00 00 00) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | using existing local IKE proposals for connection westnet-eastnet-ikev2 (IKE SA initiator emitting local proposals): 1:IKE=AES_CBC_128-HMAC_SHA2_256-HMAC_SHA2_256_128-MODP2048 | Emitting ikev2_proposals ... | ***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: 4 (04) | 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_CBC (0xc) | 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: 128 (00 80) | 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_256 (0x5) | 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_NON_LAST (0x3) | IKEv2 transform type: TRANS_TYPE_INTEG (0x3) | IKEv2 transform ID: AUTH_HMAC_SHA2_256_128 (0xc) | 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: 44 | last substructure: checking 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' is 0 | emitting length of IKEv2 Security Association Payload: 48 | last substructure: checking 'IKEv2 Security Association Payload'.'IKEv2 Proposal Substructure Payload'.'last proposal' is 0 | ***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: | 03 6c 09 1d 6c 57 60 ad 21 71 29 8f c5 cb 24 a0 | 81 9a 21 15 ad 36 29 25 a7 26 15 b4 75 0b d5 19 | 75 60 27 c0 3d e4 e5 d3 ef 72 34 c1 cc ee d8 fb | 24 02 50 6b a9 9f bc 53 73 3e 85 ca 6e 75 7b 45 | ba a8 8b 7d 89 e3 79 0e c0 13 6c 58 cc 1d ad dd | ee e8 21 ca 4c 99 be 89 99 b0 1c f9 b7 3d f1 87 | ae 12 9d 19 47 b6 0f 18 7a 55 43 e0 ed ef 53 85 | c3 b3 f0 f6 37 f2 62 b8 a9 77 53 1f e4 f9 fb 3f | 52 68 16 8f 6c 38 80 41 dc 08 62 3e cb e5 5f ad | 8a 5f e3 97 d7 96 b2 67 a5 64 71 14 b9 d0 fd 06 | ea 46 05 25 2b c5 3c e4 ec 66 4a 22 22 bd ac 7f | 99 a2 d1 5c 31 b3 a7 ee af d7 f8 bc ce 5a a6 6c | 64 81 6f d0 ea 19 5d cc c2 9c 00 4d ca 00 d1 c4 | ff 45 43 b4 ae 03 ab 42 f7 84 16 1b 5f a1 9f 8f | a5 a5 e8 a4 2f 4a 62 48 04 67 9d 50 5c dd d2 4b | c9 d1 28 ef b8 9b 85 48 2f bb 71 2b 71 9a cb 2a | 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: | 61 3f c4 f3 9b 12 b5 b2 d1 f9 a1 df 65 b2 2a 63 | 2d 1b 2a 64 30 6f 02 97 ce dc 85 3d 09 d4 51 89 | 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. | nat: IKE.SPIr is zero | natd_hash: hasher=0x55c8447c8f80(20) | natd_hash: icookie= | 21 1b 61 43 31 42 32 76 | 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= | ee 01 a2 fc dc 72 64 8f af b2 d0 dc 8b ed bf af | f3 6d c4 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_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: | ee 01 a2 fc dc 72 64 8f af b2 d0 dc 8b ed bf af | f3 6d c4 36 | emitting length of IKEv2 Notify Payload: 28 | nat: IKE.SPIr is zero | natd_hash: hasher=0x55c8447c8f80(20) | natd_hash: icookie= | 21 1b 61 43 31 42 32 76 | 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= | 57 72 6c 34 ba ef ce aa cb 35 35 6e df 8b 44 14 | f5 fc 15 c0 | 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: | 57 72 6c 34 ba ef ce aa cb 35 35 6e df 8b 44 14 | f5 fc 15 c0 | emitting length of IKEv2 Notify Payload: 28 | emitting length of ISAKMP Message: 440 | [RE]START processing: state #4 connection "westnet-eastnet-ikev2" from 192.1.2.23:500 (in complete_v2_state_transition() at ikev2.c:3364) | #4 complete_v2_state_transition() PARENT_I0->PARENT_I1 with status STF_OK | transitioning from state STATE_PARENT_I0 to state STATE_PARENT_I1 | Message ID: updating counters for #4 | Message ID: IKE #4 skipping update_recv as MD is fake | Message ID: IKE #4 scheduling EVENT_RETRANSMIT: ike.initiator.sent=0 ike.initiator.recv=-1 ike.initiator.last_contact=744610.953193 ike.responder.sent=-1 ike.responder.recv=-1 ike.responder.last_contact=744610.953193 ike.wip.initiator=0 ike.wip.responder=-1 "westnet-eastnet-ikev2" #4: IMPAIR: suppressing retransmits; scheduling timeout in 60 seconds | event_schedule: newref EVENT_RETRANSMIT-pe@0x55c84604b3d8 | inserting event EVENT_RETRANSMIT, timeout in 60 seconds for #4 | libevent_malloc: newref ptr-libevent@0x55c84604cdd8 size 128 | #4 STATE_PARENT_I0: retransmits: first event in 60 seconds; timeout in 60 seconds; limit of 12 retransmits; current time is 744610.956668 | Message ID: IKE #4 updating initiator sent message request 0: ike.initiator.sent=-1->0 ike.initiator.recv=-1 ike.initiator.last_contact=744610.953193 ike.responder.sent=-1 ike.responder.recv=-1 ike.responder.last_contact=744610.953193 ike.wip.initiator=-1->0 ike.wip.responder=-1 | Message ID: IKE #4 no pending message initiators to schedule: ike.initiator.sent=0 ike.initiator.recv=-1 ike.initiator.last_contact=744610.953193 ike.responder.sent=-1 ike.responder.recv=-1 ike.responder.last_contact=744610.953193 ike.wip.initiator=0 ike.wip.responder=-1 | parent state #4: PARENT_I0(ignore) => PARENT_I1(half-open IKE SA) | announcing the state transition "westnet-eastnet-ikev2" #4: sent IKE_SA_INIT request | sending 440 bytes for STATE_PARENT_I0 through eth1 from 192.1.2.45:500 to 192.1.2.23:500 using UDP (for #4) | 21 1b 61 43 31 42 32 76 00 00 00 00 00 00 00 00 | 21 20 22 08 00 00 00 00 00 00 01 b8 22 00 00 30 | 00 00 00 2c 01 01 00 04 03 00 00 0c 01 00 00 0c | 80 0e 00 80 03 00 00 08 02 00 00 05 03 00 00 08 | 03 00 00 0c 00 00 00 08 04 00 00 0e 28 00 01 08 | 00 0e 00 00 03 6c 09 1d 6c 57 60 ad 21 71 29 8f | c5 cb 24 a0 81 9a 21 15 ad 36 29 25 a7 26 15 b4 | 75 0b d5 19 75 60 27 c0 3d e4 e5 d3 ef 72 34 c1 | cc ee d8 fb 24 02 50 6b a9 9f bc 53 73 3e 85 ca | 6e 75 7b 45 ba a8 8b 7d 89 e3 79 0e c0 13 6c 58 | cc 1d ad dd ee e8 21 ca 4c 99 be 89 99 b0 1c f9 | b7 3d f1 87 ae 12 9d 19 47 b6 0f 18 7a 55 43 e0 | ed ef 53 85 c3 b3 f0 f6 37 f2 62 b8 a9 77 53 1f | e4 f9 fb 3f 52 68 16 8f 6c 38 80 41 dc 08 62 3e | cb e5 5f ad 8a 5f e3 97 d7 96 b2 67 a5 64 71 14 | b9 d0 fd 06 ea 46 05 25 2b c5 3c e4 ec 66 4a 22 | 22 bd ac 7f 99 a2 d1 5c 31 b3 a7 ee af d7 f8 bc | ce 5a a6 6c 64 81 6f d0 ea 19 5d cc c2 9c 00 4d | ca 00 d1 c4 ff 45 43 b4 ae 03 ab 42 f7 84 16 1b | 5f a1 9f 8f a5 a5 e8 a4 2f 4a 62 48 04 67 9d 50 | 5c dd d2 4b c9 d1 28 ef b8 9b 85 48 2f bb 71 2b | 71 9a cb 2a 29 00 00 24 61 3f c4 f3 9b 12 b5 b2 | d1 f9 a1 df 65 b2 2a 63 2d 1b 2a 64 30 6f 02 97 | ce dc 85 3d 09 d4 51 89 29 00 00 08 00 00 40 2e | 29 00 00 1c 00 00 40 04 ee 01 a2 fc dc 72 64 8f | af b2 d0 dc 8b ed bf af f3 6d c4 36 00 00 00 1c | 00 00 40 05 57 72 6c 34 ba ef ce aa cb 35 35 6e | df 8b 44 14 f5 fc 15 c0 | sent 1 messages | checking that a retransmit timeout_event was already | state #4 deleting .st_event EVENT_CRYPTO_TIMEOUT | libevent_free: delref ptr-libevent@0x55c846043ce8 | free_event_entry: delref EVENT_CRYPTO_TIMEOUT-pe@0x55c8460480c8 | delref logger@0x55c8460450f8(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 sending helper answer back to state for #4 suppresed complete_v2_state_transition() | delref mdp@NULL (in resume_handler() at server.c:743) | #4 spent 0.59 (1.86) milliseconds in resume sending helper answer back to state | stop processing: state #4 connection "westnet-eastnet-ikev2" from 192.1.2.23:500 (in resume_handler() at server.c:745) | libevent_free: delref ptr-libevent@0x7f2cf8006108 | newref struct fd@0x55c8460453e8(0->1) (in whack_handle_cb() at rcv_whack.c:869) | fd_accept: new fd-fd@0x55c8460453e8 (in whack_handle_cb() at rcv_whack.c:869) shutting down | leaking fd-fd@0x55c8460453e8's FD; will be closed when pluto exits (in whack_handle_cb() at rcv_whack.c:889) | delref fd@0x55c8460453e8(1->0) (in whack_handle_cb() at rcv_whack.c:895) | freeref fd-fd@0x55c8460453e8 (in whack_handle_cb() at rcv_whack.c:895) | shutting down helper thread 5 | helper thread 5 exited | shutting down helper thread 6 | helper thread 6 exited | shutting down helper thread 7 | helper thread 7 exited | shutting down helper thread 1 | helper thread 1 exited | shutting down helper thread 2 | helper thread 2 exited | shutting down helper thread 3 | helper thread 3 exited | shutting down helper thread 4 | helper thread 4 exited 7 helper threads 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' | delref pkp@0x55c846048cb8(1->0) (in free_public_keyentry() at secrets.c:1591) | delref pkp@0x55c8460489d8(1->0) (in free_public_keyentry() at secrets.c:1591) | delref fd@NULL (in delete_pending() at pending.c:218) | removing pending policy for no connection {0x55c846045168} | 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 #4 | start processing: state #4 connection "westnet-eastnet-ikev2" from 192.1.2.23: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 #4 ikev2.ike deleted other | #4 main thread spent 0.712 (1.99) milliseconds helper thread spent 1.6 (1.62) milliseconds in total | [RE]START processing: state #4 connection "westnet-eastnet-ikev2" from 192.1.2.23:500 (in delete_state() at state.c:935) | should_send_delete: no, not established "westnet-eastnet-ikev2" #4: deleting state (STATE_PARENT_I1) aged 0.891913s and NOT sending notification | parent state #4: PARENT_I1(half-open IKE SA) => delete | unsuspending #4 MD (nil) | should_send_delete: no, not established | state #4 has no .st_event to delete | #4 requesting EVENT_RETRANSMIT-pe@0x55c84604b3d8 be deleted | libevent_free: delref ptr-libevent@0x55c84604cdd8 | free_event_entry: delref EVENT_RETRANSMIT-pe@0x55c84604b3d8 | #4 STATE_PARENT_I1: retransmits: cleared | State DB: IKEv2 state not found (flush_incomplete_children) | picked newest_isakmp_sa #0 for #4 "westnet-eastnet-ikev2" #4: deleting IKE SA but connection is supposed to remain up; schedule EVENT_REVIVE_CONNS | add revival: connection 'westnet-eastnet-ikev2' added to the list and scheduled for 5 seconds | global one-shot timer EVENT_REVIVE_CONNS scheduled in 5 seconds | in connection_discard for connection westnet-eastnet-ikev2 | State DB: deleting IKEv2 state #4 in PARENT_I1 | parent state #4: PARENT_I1(half-open IKE SA) => UNDEFINED(ignore) | releasing #4'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 #4 from 192.1.2.23:500 (in delete_state() at state.c:1239) | delref logger@0x55c846034f18(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) | pass 1 | FOR_EACH_STATE_... in foreach_state_by_connection_func_delete | shunt_eroute() called for connection 'westnet-eastnet-ikev2' to 'delete' for rt_kind 'unrouted' using protoports 192.0.1.0/24:0 --0->- 192.0.2.0/24:0 | netlink_shunt_eroute for proto 0, and source 192.0.1.0/24:0 dest 192.0.2.0/24:0 | priority calculation of connection "westnet-eastnet-ikev2" is 2084814 (0x1fcfce) | priority calculation of connection "westnet-eastnet-ikev2" is 2084814 (0x1fcfce) | FOR_EACH_CONNECTION_... in route_owner | conn westnet-eastnet-ikev2 mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ikev2 mark 0/00000000, 0/00000000 | route owner of "westnet-eastnet-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-ikev2' PLUTO_VIRT_INTERFACE='NULL' PLUTO_INTERFACE='eth1' PLUTO_XFRMI_ROUTE='' PLUTO_NEXT_HOP='192.1.2.23' PLUTO_ME='192.1.2.45' PLUTO_MY_ID='@west' PLUTO_MY_CLIENT='192.0.1.0/24' PLUTO_MY_CLIENT_NET='192.0.1.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.23' PLUTO_PEER_ID='@east' PLUTO_PEER_CLIENT='192.0.2.0/24' PLUTO_PEER_CLIENT_NET='192.0.2.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+UP+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_IFACE='' ... | popen cmd is 1067 chars long | cmd( 0):PLUTO_VERB='unroute-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastne: | cmd( 80):t-ikev2' PLUTO_VIRT_INTERFACE='NULL' PLUTO_INTERFACE='eth1' PLUTO_XFRMI_ROUTE='': | cmd( 160): PLUTO_NEXT_HOP='192.1.2.23' PLUTO_ME='192.1.2.45' PLUTO_MY_ID='@west' PLUTO_MY_: | cmd( 240):CLIENT='192.0.1.0/24' PLUTO_MY_CLIENT_NET='192.0.1.0' PLUTO_MY_CLIENT_MASK='255.: | cmd( 320):255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16388' PLUTO_: | cmd( 400):SA_TYPE='none' PLUTO_PEER='192.1.2.23' PLUTO_PEER_ID='@east' PLUTO_PEER_CLIENT=': | cmd( 480):192.0.2.0/24' PLUTO_PEER_CLIENT_NET='192.0.2.0' PLUTO_PEER_CLIENT_MASK='255.255.: | cmd( 560):255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK=: | cmd( 640):'xfrm' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='PSK+ENCRYPT+TUNNEL+PFS+UP+IKEV2_ALLO: | cmd( 720):W+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='i: | cmd( 800):pv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DO: | cmd( 880):MAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUT: | cmd( 960):O_NM_CONFIGURED='0' VTI_IFACE='' VTI_ROUTING='no' VTI_SHARED='no' SPI_IN=0x0 SPI: | cmd(1040):_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. | addref fd@NULL (in clone_logger() at log.c:809) | addref fd@NULL (in clone_logger() at log.c:810) | newref clone logger@0x55c8460418e8(0->1) (in clone_logger() at log.c:817) | delref hp@0x55c846043a98(1->0) (in delete_oriented_hp() at hostpair.c:360) | flush revival: connection 'westnet-eastnet-ikev2' revival flushed | 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@0x55c8460418e8(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.1.254:4500 shutting down interface eth0 192.0.1.254:500 shutting down interface eth1 192.1.2.45:4500 shutting down interface eth1 192.1.2.45:500 | updating interfaces - deleting the dead | FOR_EACH_STATE_... in delete_states_dead_interfaces | libevent_free: delref ptr-libevent@0x55c84603dd08 | delref id@0x55c846041dd8(3->2) (in release_iface_dev() at iface.c:125) | libevent_free: delref ptr-libevent@0x55c8460011c8 | delref id@0x55c846041dd8(2->1) (in release_iface_dev() at iface.c:125) | libevent_free: delref ptr-libevent@0x55c845ff6488 | delref id@0x55c846041d08(3->2) (in release_iface_dev() at iface.c:125) | libevent_free: delref ptr-libevent@0x55c8460012c8 | delref id@0x55c846041d08(2->1) (in release_iface_dev() at iface.c:125) | libevent_free: delref ptr-libevent@0x55c845ffdce8 | delref id@0x55c846041bd8(3->2) (in release_iface_dev() at iface.c:125) | libevent_free: delref ptr-libevent@0x55c845ffdc38 | delref id@0x55c846041bd8(2->1) (in release_iface_dev() at iface.c:125) | delref id@0x55c846041bd8(1->0) (in release_iface_dev() at iface.c:125) | delref id@0x55c846041d08(1->0) (in release_iface_dev() at iface.c:125) | delref id@0x55c846041dd8(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@0x55c84603ddb8 | free_event_entry: delref EVENT_NULL-pe@0x55c846041178 | libevent_free: delref ptr-libevent@0x55c8460010c8 | free_event_entry: delref EVENT_NULL-pe@0x55c84603bb08 | libevent_free: delref ptr-libevent@0x55c846001018 | free_event_entry: delref EVENT_NULL-pe@0x55c846035278 | 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@0x55c845f93f48 | signal event handler PLUTO_SIGCHLD uninstalled | libevent_free: delref ptr-libevent@0x55c845f936b8 | signal event handler PLUTO_SIGTERM uninstalled | libevent_free: delref ptr-libevent@0x55c846041398 | signal event handler PLUTO_SIGHUP uninstalled | libevent_free: delref ptr-libevent@0x55c8460415d8 | signal event handler PLUTO_SIGSYS uninstalled | releasing event base | libevent_free: delref ptr-libevent@0x55c8460414a8 | libevent_free: delref ptr-libevent@0x55c846030728 | libevent_free: delref ptr-libevent@0x55c8460306d8 | libevent_free: delref ptr-libevent@0x55c846003888 | libevent_free: delref ptr-libevent@0x55c8460308d8 | libevent_free: delref ptr-libevent@0x55c846034af8 | libevent_free: delref ptr-libevent@0x55c846034908 | libevent_free: delref ptr-libevent@0x55c846030918 | libevent_free: delref ptr-libevent@0x55c846034718 | libevent_free: delref ptr-libevent@0x55c8460340d8 | libevent_free: delref ptr-libevent@0x55c8460428c8 | libevent_free: delref ptr-libevent@0x55c846042888 | libevent_free: delref ptr-libevent@0x55c846042848 | libevent_free: delref ptr-libevent@0x55c846042808 | libevent_free: delref ptr-libevent@0x55c8460427c8 | libevent_free: delref ptr-libevent@0x55c846042788 | libevent_free: delref ptr-libevent@0x55c846026ea8 | libevent_free: delref ptr-libevent@0x55c846041358 | libevent_free: delref ptr-libevent@0x55c846041318 | libevent_free: delref ptr-libevent@0x55c846034758 | libevent_free: delref ptr-libevent@0x55c846041468 | libevent_free: delref ptr-libevent@0x55c8460411e8 | libevent_free: delref ptr-libevent@0x55c846003508 | libevent_free: delref ptr-libevent@0x55c846002d68 | libevent_free: delref ptr-libevent@0x55c845ff9d48 | releasing global libevent data | libevent_free: delref ptr-libevent@0x55c8460030a8 | libevent_free: delref ptr-libevent@0x55c845f93658 | libevent_free: delref ptr-libevent@0x55c846003588 leak detective found no leaks