FIPS Product: YES FIPS Kernel: NO FIPS Mode: NO NSS DB directory: sql:/etc/ipsec.d Initializing NSS Opening NSS database "sql:/etc/ipsec.d" read-only NSS initialized NSS crypto library initialized FIPS HMAC integrity support [enabled] FIPS mode disabled for pluto daemon FIPS HMAC integrity verification self-test FAILED libcap-ng support [enabled] Linux audit support [enabled] Linux audit activated Starting Pluto (Libreswan Version v3.28-685-gbfd5aef521-master-s2 XFRM(netkey) esp-hw-offload FORK PTHREAD_SETSCHEDPRIO NSS (IPsec profile) DNSSEC FIPS_CHECK LABELED_IPSEC SECCOMP LIBCAP_NG LINUX_AUDIT XAUTH_PAM NETWORKMANAGER CURL(non-NSS)) pid:17247 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: new ptr-libevent@0x559ecd554428 size 40 | libevent_malloc: new ptr-libevent@0x559ecd52ecd8 size 40 | libevent_malloc: new ptr-libevent@0x559ecd52edd8 size 40 | creating event base | libevent_malloc: new ptr-libevent@0x559ecd5b3528 size 56 | libevent_malloc: new ptr-libevent@0x559ecd553e88 size 664 | libevent_malloc: new ptr-libevent@0x559ecd5b3598 size 24 | libevent_malloc: new ptr-libevent@0x559ecd5b35e8 size 384 | libevent_malloc: new ptr-libevent@0x559ecd5b34e8 size 16 | libevent_malloc: new ptr-libevent@0x559ecd52e908 size 40 | libevent_malloc: new ptr-libevent@0x559ecd52ed38 size 48 | libevent_realloc: new ptr-libevent@0x559ecd553b18 size 256 | libevent_malloc: new ptr-libevent@0x559ecd5b3798 size 16 | libevent_free: release ptr-libevent@0x559ecd5b3528 | libevent initialized | libevent_realloc: new ptr-libevent@0x559ecd5b3528 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 | 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 IKEv1: ESP IKEv2: ESP FIPS {256,192,*128} aes_ccm, aes_ccm_c AES_CCM_12 IKEv1: ESP IKEv2: ESP FIPS {256,192,*128} aes_ccm_b AES_CCM_8 IKEv1: ESP IKEv2: ESP FIPS {256,192,*128} aes_ccm_a 3DES_CBC IKEv1: IKE ESP IKEv2: IKE ESP FIPS [*192] 3des CAMELLIA_CTR IKEv1: ESP IKEv2: ESP {256,192,*128} CAMELLIA_CBC IKEv1: IKE ESP IKEv2: IKE ESP {256,192,*128} camellia AES_GCM_16 IKEv1: ESP IKEv2: IKE ESP FIPS {256,192,*128} aes_gcm, aes_gcm_c AES_GCM_12 IKEv1: ESP IKEv2: IKE ESP FIPS {256,192,*128} aes_gcm_b AES_GCM_8 IKEv1: ESP IKEv2: IKE ESP FIPS {256,192,*128} aes_gcm_a AES_CTR IKEv1: IKE ESP IKEv2: IKE ESP FIPS {256,192,*128} aesctr AES_CBC IKEv1: IKE ESP IKEv2: IKE ESP FIPS {256,192,*128} aes SERPENT_CBC IKEv1: IKE ESP IKEv2: IKE ESP {256,192,*128} serpent TWOFISH_CBC IKEv1: IKE ESP IKEv2: IKE ESP {256,192,*128} twofish TWOFISH_SSH IKEv1: IKE IKEv2: IKE ESP {256,192,*128} twofish_cbc_ssh NULL_AUTH_AES_GMAC IKEv1: ESP IKEv2: ESP FIPS {256,192,*128} aes_gmac NULL IKEv1: ESP IKEv2: ESP [] CHACHA20_POLY1305 IKEv1: IKEv2: IKE ESP [*256] chacha20poly1305 Hash algorithms: MD5 IKEv1: IKE IKEv2: SHA1 IKEv1: IKE IKEv2: FIPS sha SHA2_256 IKEv1: IKE IKEv2: FIPS sha2, sha256 SHA2_384 IKEv1: IKE IKEv2: FIPS sha384 SHA2_512 IKEv1: IKE IKEv2: FIPS sha512 PRF algorithms: HMAC_MD5 IKEv1: IKE IKEv2: IKE md5 HMAC_SHA1 IKEv1: IKE IKEv2: IKE FIPS sha, sha1 HMAC_SHA2_256 IKEv1: IKE IKEv2: IKE FIPS sha2, sha256, sha2_256 HMAC_SHA2_384 IKEv1: IKE IKEv2: IKE FIPS sha384, sha2_384 HMAC_SHA2_512 IKEv1: IKE IKEv2: IKE FIPS sha512, sha2_512 AES_XCBC IKEv1: IKEv2: IKE aes128_xcbc Integrity algorithms: HMAC_MD5_96 IKEv1: IKE ESP AH IKEv2: IKE ESP AH md5, hmac_md5 HMAC_SHA1_96 IKEv1: IKE ESP AH IKEv2: IKE ESP AH FIPS sha, sha1, sha1_96, hmac_sha1 HMAC_SHA2_512_256 IKEv1: IKE ESP AH IKEv2: IKE ESP AH FIPS sha512, sha2_512, sha2_512_256, hmac_sha2_512 HMAC_SHA2_384_192 IKEv1: IKE ESP AH IKEv2: IKE ESP AH FIPS sha384, sha2_384, sha2_384_192, hmac_sha2_384 HMAC_SHA2_256_128 IKEv1: IKE ESP AH IKEv2: IKE ESP AH FIPS 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 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 null, dh0 MODP1536 IKEv1: IKE ESP AH IKEv2: IKE ESP AH dh5 MODP2048 IKEv1: IKE ESP AH IKEv2: IKE ESP AH FIPS dh14 MODP3072 IKEv1: IKE ESP AH IKEv2: IKE ESP AH FIPS dh15 MODP4096 IKEv1: IKE ESP AH IKEv2: IKE ESP AH FIPS dh16 MODP6144 IKEv1: IKE ESP AH IKEv2: IKE ESP AH FIPS dh17 MODP8192 IKEv1: IKE ESP AH IKEv2: IKE ESP AH FIPS dh18 DH19 IKEv1: IKE IKEv2: IKE ESP AH FIPS ecp_256, ecp256 DH20 IKEv1: IKE IKEv2: IKE ESP AH FIPS ecp_384, ecp384 DH21 IKEv1: IKE IKEv2: IKE ESP AH FIPS ecp_521, ecp521 DH31 IKEv1: IKE IKEv2: IKE ESP AH 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 crypto helpers started thread for crypto helper 0 | starting up helper thread 0 | starting up helper thread 1 | status value returned by setting the priority of this thread (crypto helper 0) 22 | crypto helper 0 waiting (nothing to do) started thread for crypto helper 1 | status value returned by setting the priority of this thread (crypto helper 1) 22 | crypto helper 1 waiting (nothing to do) started thread for crypto helper 2 | starting up helper thread 2 | status value returned by setting the priority of this thread (crypto helper 2) 22 | crypto helper 2 waiting (nothing to do) started thread for crypto helper 3 | starting up helper thread 3 | status value returned by setting the priority of this thread (crypto helper 3) 22 | crypto helper 3 waiting (nothing to do) started thread for crypto helper 4 | starting up helper thread 4 | status value returned by setting the priority of this thread (crypto helper 4) 22 | crypto helper 4 waiting (nothing to do) started thread for crypto helper 5 | starting up helper thread 5 | status value returned by setting the priority of this thread (crypto helper 5) 22 | crypto helper 5 waiting (nothing to do) started thread for crypto helper 6 | starting up helper thread 6 | checking IKEv1 state table | status value returned by setting the priority of this thread (crypto helper 6) 22 | crypto helper 6 waiting (nothing to do) | MAIN_R0: category: half-open IKE SA flags: 0: | -> MAIN_R1 EVENT_SO_DISCARD | MAIN_I1: category: half-open IKE SA flags: 0: | -> MAIN_I2 EVENT_RETRANSMIT | MAIN_R1: category: open IKE SA flags: 200: | -> MAIN_R2 EVENT_RETRANSMIT | -> UNDEFINED EVENT_RETRANSMIT | -> UNDEFINED EVENT_RETRANSMIT | MAIN_I2: category: open IKE SA flags: 0: | -> MAIN_I3 EVENT_RETRANSMIT | -> UNDEFINED EVENT_RETRANSMIT | -> UNDEFINED EVENT_RETRANSMIT | MAIN_R2: category: open IKE SA flags: 0: | -> MAIN_R3 EVENT_SA_REPLACE | -> MAIN_R3 EVENT_SA_REPLACE | -> UNDEFINED EVENT_SA_REPLACE | MAIN_I3: category: open IKE SA flags: 0: | -> MAIN_I4 EVENT_SA_REPLACE | -> MAIN_I4 EVENT_SA_REPLACE | -> UNDEFINED EVENT_SA_REPLACE | MAIN_R3: category: established IKE SA flags: 200: | -> UNDEFINED EVENT_NULL | MAIN_I4: category: established IKE SA flags: 0: | -> UNDEFINED EVENT_NULL | AGGR_R0: category: half-open IKE SA flags: 0: | -> AGGR_R1 EVENT_SO_DISCARD | AGGR_I1: category: half-open IKE SA flags: 0: | -> AGGR_I2 EVENT_SA_REPLACE | -> AGGR_I2 EVENT_SA_REPLACE | AGGR_R1: category: open IKE SA flags: 200: | -> AGGR_R2 EVENT_SA_REPLACE | -> AGGR_R2 EVENT_SA_REPLACE | AGGR_I2: category: established IKE SA flags: 200: | -> UNDEFINED EVENT_NULL | AGGR_R2: category: established IKE SA flags: 0: | -> UNDEFINED EVENT_NULL | QUICK_R0: category: established CHILD SA flags: 0: | -> QUICK_R1 EVENT_RETRANSMIT | QUICK_I1: category: established CHILD SA flags: 0: | -> QUICK_I2 EVENT_SA_REPLACE | QUICK_R1: category: established CHILD SA flags: 0: | -> QUICK_R2 EVENT_SA_REPLACE | QUICK_I2: category: established CHILD SA flags: 200: | -> UNDEFINED EVENT_NULL | QUICK_R2: category: established CHILD SA flags: 0: | -> UNDEFINED EVENT_NULL | INFO: category: informational flags: 0: | -> UNDEFINED EVENT_NULL | INFO_PROTECTED: category: informational flags: 0: | -> UNDEFINED EVENT_NULL | XAUTH_R0: category: established IKE SA flags: 0: | -> XAUTH_R1 EVENT_NULL | XAUTH_R1: category: established IKE SA flags: 0: | -> MAIN_R3 EVENT_SA_REPLACE | MODE_CFG_R0: category: informational flags: 0: | -> MODE_CFG_R1 EVENT_SA_REPLACE | MODE_CFG_R1: category: established IKE SA flags: 0: | -> MODE_CFG_R2 EVENT_SA_REPLACE | MODE_CFG_R2: category: established IKE SA flags: 0: | -> UNDEFINED EVENT_NULL | MODE_CFG_I1: category: established IKE SA flags: 0: | -> MAIN_I4 EVENT_SA_REPLACE | XAUTH_I0: category: established IKE SA flags: 0: | -> XAUTH_I1 EVENT_RETRANSMIT | XAUTH_I1: category: established IKE SA flags: 0: | -> MAIN_I4 EVENT_RETRANSMIT | checking IKEv2 state table | 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_I1 EVENT_RETAIN send-request (Initiator: process SA_INIT reply notification) | -> PARENT_I2 EVENT_RETRANSMIT send-request (Initiator: process IKE_SA_INIT reply, initiate IKE_AUTH) | PARENT_I2: category: open IKE SA flags: 0: | -> 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) | -> V2_IPSEC_I EVENT_SA_REPLACE (Initiator: process IKE_AUTH response) | -> PARENT_I2 EVENT_NULL (IKE SA: process IKE_AUTH response containing unknown notification) | PARENT_I3: category: established IKE SA flags: 0: | -> PARENT_I3 EVENT_RETAIN (I3: Informational Request) | -> PARENT_I3 EVENT_RETAIN (I3: Informational Response) | -> PARENT_I3 EVENT_RETAIN (I3: INFORMATIONAL Request) | -> PARENT_I3 EVENT_RETAIN (I3: INFORMATIONAL Response) | PARENT_R0: category: half-open IKE SA flags: 0: | -> PARENT_R1 EVENT_SO_DISCARD send-request (Respond to IKE_SA_INIT) | PARENT_R1: category: half-open IKE SA flags: 0: | -> PARENT_R1 EVENT_SA_REPLACE send-request (Responder: process IKE_AUTH request (no SKEYSEED)) | -> V2_IPSEC_R EVENT_SA_REPLACE send-request (Responder: process IKE_AUTH request) | PARENT_R2: category: established IKE SA flags: 0: | -> PARENT_R2 EVENT_RETAIN (R2: process Informational Request) | -> PARENT_R2 EVENT_RETAIN (R2: process Informational Response) | -> PARENT_R2 EVENT_RETAIN (R2: process INFORMATIONAL Request) | -> PARENT_R2 EVENT_RETAIN (R2: process INFORMATIONAL Response) | V2_CREATE_I0: category: established IKE SA flags: 0: | -> V2_CREATE_I EVENT_RETRANSMIT send-request (Initiate CREATE_CHILD_SA IPsec SA) | V2_CREATE_I: category: established IKE SA flags: 0: | -> V2_IPSEC_I EVENT_SA_REPLACE (Process CREATE_CHILD_SA IPsec SA Response) | V2_REKEY_IKE_I0: category: established IKE SA flags: 0: | -> V2_REKEY_IKE_I EVENT_RETRANSMIT send-request (Initiate CREATE_CHILD_SA IKE Rekey) | V2_REKEY_IKE_I: category: established IKE SA flags: 0: | -> PARENT_I3 EVENT_SA_REPLACE (Process CREATE_CHILD_SA IKE Rekey Response) | V2_REKEY_CHILD_I0: category: established IKE SA flags: 0: | -> V2_REKEY_CHILD_I EVENT_RETRANSMIT send-request (Initiate CREATE_CHILD_SA IPsec Rekey SA) | V2_REKEY_CHILD_I: category: established IKE SA flags: 0: | V2_CREATE_R: category: established IKE SA flags: 0: | -> V2_IPSEC_R EVENT_SA_REPLACE send-request (Respond to CREATE_CHILD_SA IPsec SA Request) | V2_REKEY_IKE_R: category: established IKE SA flags: 0: | -> PARENT_R2 EVENT_SA_REPLACE send-request (Respond to CREATE_CHILD_SA IKE Rekey) | V2_REKEY_CHILD_R: category: established IKE SA flags: 0: | V2_IPSEC_I: category: established CHILD SA flags: 0: | V2_IPSEC_R: category: established CHILD SA flags: 0: | IKESA_DEL: category: established IKE SA flags: 0: | -> IKESA_DEL EVENT_RETAIN (IKE_SA_DEL: process INFORMATIONAL) | CHILDSA_DEL: category: informational flags: 0: Using Linux XFRM/NETKEY IPsec interface code on 5.1.18-200.fc29.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 SERPENT_CBC to kernel algorithm db | adding TWOFISH_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: new KERNEL_XRM_FD-pe@0x559ecd5b8168 | libevent_malloc: new ptr-libevent@0x559ecd59c6f8 size 128 | libevent_malloc: new ptr-libevent@0x559ecd5b8278 size 16 | add_fd_read_event_handler: new KERNEL_ROUTE_FD-pe@0x559ecd5b8ca8 | libevent_malloc: new ptr-libevent@0x559ecd556b78 size 128 | libevent_malloc: new ptr-libevent@0x559ecd5b8c68 size 16 | global one-shot timer EVENT_CHECK_CRLS initialized selinux support is enabled. | 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: new PLUTO_CTL_FD-pe@0x559ecd5b8d18 | libevent_malloc: new ptr-libevent@0x559ecd5c4f28 size 128 | libevent_malloc: new ptr-libevent@0x559ecd5d01f8 size 16 | libevent_realloc: new ptr-libevent@0x559ecd5d0238 size 256 | libevent_malloc: new ptr-libevent@0x559ecd5d0368 size 8 | libevent_realloc: new ptr-libevent@0x559ecd52a918 size 144 | libevent_malloc: new ptr-libevent@0x559ecd563548 size 152 | libevent_malloc: new ptr-libevent@0x559ecd5d03a8 size 16 | signal event handler PLUTO_SIGCHLD installed | libevent_malloc: new ptr-libevent@0x559ecd5d03e8 size 8 | libevent_malloc: new ptr-libevent@0x559ecd55b378 size 152 | signal event handler PLUTO_SIGTERM installed | libevent_malloc: new ptr-libevent@0x559ecd5d0428 size 8 | libevent_malloc: new ptr-libevent@0x559ecd5d0468 size 152 | signal event handler PLUTO_SIGHUP installed | libevent_malloc: new ptr-libevent@0x559ecd5d0538 size 8 | libevent_realloc: release ptr-libevent@0x559ecd52a918 | libevent_realloc: new ptr-libevent@0x559ecd5d0578 size 256 | libevent_malloc: new ptr-libevent@0x559ecd5d06a8 size 152 | signal event handler PLUTO_SIGSYS installed | created addconn helper (pid:17479) using fork+execve | forked child 17479 | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:722) listening for IKE messages | Inspecting interface lo | found lo with address 127.0.0.1 | Inspecting interface eth0 | found eth0 with address 192.0.2.254 | Inspecting interface eth1 | found eth1 with address 192.1.2.23 Kernel supports NIC esp-hw-offload adding interface eth1/eth1 (esp-hw-offload not supported by kernel) 192.1.2.23:500 | NAT-Traversal: Trying sockopt style NAT-T | NAT-Traversal: ESPINUDP(2) setup succeeded for sockopt style NAT-T family IPv4 adding interface eth1/eth1 192.1.2.23:4500 adding interface eth0/eth0 (esp-hw-offload not supported by kernel) 192.0.2.254:500 | NAT-Traversal: Trying sockopt style NAT-T | NAT-Traversal: ESPINUDP(2) setup succeeded for sockopt style NAT-T family IPv4 adding interface eth0/eth0 192.0.2.254:4500 adding interface lo/lo (esp-hw-offload not supported by kernel) 127.0.0.1:500 | NAT-Traversal: Trying sockopt style NAT-T | NAT-Traversal: ESPINUDP(2) setup succeeded for sockopt style NAT-T family IPv4 adding interface lo/lo 127.0.0.1:4500 | no interfaces to sort | FOR_EACH_UNORIENTED_CONNECTION_... in check_orientations | add_fd_read_event_handler: new ethX-pe@0x559ecd5d0b78 | libevent_malloc: new ptr-libevent@0x559ecd5c4e78 size 128 | libevent_malloc: new ptr-libevent@0x559ecd5d0be8 size 16 | setup callback for interface lo 127.0.0.1:4500 fd 22 | add_fd_read_event_handler: new ethX-pe@0x559ecd5d0c28 | libevent_malloc: new ptr-libevent@0x559ecd554278 size 128 | libevent_malloc: new ptr-libevent@0x559ecd5d0c98 size 16 | setup callback for interface lo 127.0.0.1:500 fd 21 | add_fd_read_event_handler: new ethX-pe@0x559ecd5d0cd8 | libevent_malloc: new ptr-libevent@0x559ecd5572e8 size 128 | libevent_malloc: new ptr-libevent@0x559ecd5d0d48 size 16 | setup callback for interface eth0 192.0.2.254:4500 fd 20 | add_fd_read_event_handler: new ethX-pe@0x559ecd5d0d88 | libevent_malloc: new ptr-libevent@0x559ecd55b2a8 size 128 | libevent_malloc: new ptr-libevent@0x559ecd5d0df8 size 16 | setup callback for interface eth0 192.0.2.254:500 fd 19 | add_fd_read_event_handler: new ethX-pe@0x559ecd5d0e38 | libevent_malloc: new ptr-libevent@0x559ecd52f4e8 size 128 | libevent_malloc: new ptr-libevent@0x559ecd5d0ea8 size 16 | setup callback for interface eth1 192.1.2.23:4500 fd 18 | add_fd_read_event_handler: new ethX-pe@0x559ecd5d0ee8 | libevent_malloc: new ptr-libevent@0x559ecd52f1d8 size 128 | libevent_malloc: new ptr-libevent@0x559ecd5d0f58 size 16 | setup callback for interface eth1 192.1.2.23:500 fd 17 | certs and keys locked by 'free_preshared_secrets' | certs and keys unlocked by 'free_preshared_secrets' loading secrets from "/etc/ipsec.secrets" | saving Modulus | saving PublicExponent | ignoring PrivateExponent | ignoring Prime1 | ignoring Prime2 | ignoring Exponent1 | ignoring Exponent2 | ignoring Coefficient | ignoring CKAIDNSS | computed rsa CKAID 61 55 99 73 d3 ac ef 7d 3a 37 0e 3e 82 ad 92 c1 | computed rsa CKAID 8a 82 25 f1 loaded private key for keyid: PKK_RSA:AQO9bJbr3 | certs and keys locked by 'process_secret' | certs and keys unlocked by 'process_secret' | close_any(fd@16) (in whack_process() at rcv_whack.c:700) | spent 1.09 milliseconds in whack | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:722) listening for IKE messages | Inspecting interface lo | found lo with address 127.0.0.1 | Inspecting interface eth0 | found eth0 with address 192.0.2.254 | Inspecting interface eth1 | found eth1 with address 192.1.2.23 | no interfaces to sort | libevent_free: release ptr-libevent@0x559ecd5c4e78 | free_event_entry: release EVENT_NULL-pe@0x559ecd5d0b78 | add_fd_read_event_handler: new ethX-pe@0x559ecd5d0b78 | libevent_malloc: new ptr-libevent@0x559ecd5c4e78 size 128 | setup callback for interface lo 127.0.0.1:4500 fd 22 | libevent_free: release ptr-libevent@0x559ecd554278 | free_event_entry: release EVENT_NULL-pe@0x559ecd5d0c28 | add_fd_read_event_handler: new ethX-pe@0x559ecd5d0c28 | libevent_malloc: new ptr-libevent@0x559ecd554278 size 128 | setup callback for interface lo 127.0.0.1:500 fd 21 | libevent_free: release ptr-libevent@0x559ecd5572e8 | free_event_entry: release EVENT_NULL-pe@0x559ecd5d0cd8 | add_fd_read_event_handler: new ethX-pe@0x559ecd5d0cd8 | libevent_malloc: new ptr-libevent@0x559ecd5572e8 size 128 | setup callback for interface eth0 192.0.2.254:4500 fd 20 | libevent_free: release ptr-libevent@0x559ecd55b2a8 | free_event_entry: release EVENT_NULL-pe@0x559ecd5d0d88 | add_fd_read_event_handler: new ethX-pe@0x559ecd5d0d88 | libevent_malloc: new ptr-libevent@0x559ecd55b2a8 size 128 | setup callback for interface eth0 192.0.2.254:500 fd 19 | libevent_free: release ptr-libevent@0x559ecd52f4e8 | free_event_entry: release EVENT_NULL-pe@0x559ecd5d0e38 | add_fd_read_event_handler: new ethX-pe@0x559ecd5d0e38 | libevent_malloc: new ptr-libevent@0x559ecd52f4e8 size 128 | setup callback for interface eth1 192.1.2.23:4500 fd 18 | libevent_free: release ptr-libevent@0x559ecd52f1d8 | free_event_entry: release EVENT_NULL-pe@0x559ecd5d0ee8 | add_fd_read_event_handler: new ethX-pe@0x559ecd5d0ee8 | libevent_malloc: new ptr-libevent@0x559ecd52f1d8 size 128 | setup callback for interface eth1 192.1.2.23:500 fd 17 | certs and keys locked by 'free_preshared_secrets' forgetting secrets | certs and keys unlocked by 'free_preshared_secrets' loading secrets from "/etc/ipsec.secrets" | saving Modulus | saving PublicExponent | ignoring PrivateExponent | ignoring Prime1 | ignoring Prime2 | ignoring Exponent1 | ignoring Exponent2 | ignoring Coefficient | ignoring CKAIDNSS | computed rsa CKAID 61 55 99 73 d3 ac ef 7d 3a 37 0e 3e 82 ad 92 c1 | computed rsa CKAID 8a 82 25 f1 loaded private key for keyid: PKK_RSA:AQO9bJbr3 | certs and keys locked by 'process_secret' | certs and keys unlocked by 'process_secret' | close_any(fd@16) (in whack_process() at rcv_whack.c:700) | spent 0.446 milliseconds in whack | processing signal PLUTO_SIGCHLD | waitpid returned pid 17479 (exited with status 0) | reaped addconn helper child (status 0) | waitpid returned ECHILD (no child processes left) | spent 0.0145 milliseconds in signal handler PLUTO_SIGCHLD | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:722) | 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 | FOR_EACH_CONNECTION_... in conn_by_name | Added new connection westnet-eastnet-ikev2 with policy ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO | No AUTH policy was set - defaulting to RSASIG | ike (phase1) algorithm values: AES_GCM_16_256-HMAC_SHA2_512+HMAC_SHA2_256-MODP2048+MODP3072+MODP4096+MODP8192+DH19+DH20+DH21+DH31, AES_GCM_16_128-HMAC_SHA2_512+HMAC_SHA2_256-MODP2048+MODP3072+MODP4096+MODP8192+DH19+DH20+DH21+DH31, AES_CBC_256-HMAC_SHA2_512+HMAC_SHA2_256-MODP2048+MODP3072+MODP4096+MODP8192+DH19+DH20+DH21+DH31, AES_CBC_128-HMAC_SHA2_512+HMAC_SHA2_256-MODP2048+MODP3072+MODP4096+MODP8192+DH19+DH20+DH21+DH31 | from whack: got --esp= | ESP/AH string values: AES_GCM_16_256-NONE, AES_GCM_16_128-NONE, AES_CBC_256-HMAC_SHA2_512_256+HMAC_SHA2_256_128, AES_CBC_128-HMAC_SHA2_512_256+HMAC_SHA2_256_128 | counting wild cards for @west is 0 | counting wild cards for @east is 0 | connect_to_host_pair: 192.1.2.23:500 192.1.2.45:500 -> hp@(nil): none | new hp@0x559ecd5d3648 added connection description "westnet-eastnet-ikev2" | ike_life: 3600s; ipsec_life: 28800s; rekey_margin: 540s; rekey_fuzz: 100%; keyingtries: 0; replay_window: 32; policy: RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO | 192.0.2.0/24===192.1.2.23<192.1.2.23>[@east]...192.1.2.45<192.1.2.45>[@west]===192.0.1.0/24 | close_any(fd@16) (in whack_process() at rcv_whack.c:700) | spent 0.208 milliseconds in whack | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:722) add keyid @west | add pubkey 01 03 a6 f5 d6 3f e3 8f 6c 01 6a fc 7b 7c 6d 57 | add pubkey 8b 49 39 0d 77 f7 ac e2 85 f1 98 1e 4b 6d a5 3e | add pubkey b3 96 9a d1 99 5a bc 10 f2 97 de f2 28 f9 5f 92 | add pubkey 09 f0 c8 d4 12 e4 60 6e 9c 60 98 10 01 7d 26 b7 | add pubkey 8f 95 62 2d 87 dd cd de f6 d3 8f 35 b0 50 d0 18 | add pubkey f5 99 f8 04 f1 ff 61 5b bc 7f 1f c0 04 d8 e4 8c | add pubkey ac 34 ad 7a c1 da 3c 2d 8c 30 ae d6 3c 59 b1 3a | add pubkey 94 d3 d5 2a 73 91 bd 59 5f 3e 72 bf 4a 1b 9d c5 | add pubkey b2 2b 4d e7 0d 24 3e 77 f9 7f 2d d6 9d 29 ef 70 | add pubkey 7d 7a 6d a2 b8 61 0c 4b 09 4a 06 71 84 70 85 9a | add pubkey 8f 52 a1 80 06 fd c6 fc 3e 27 fa 16 fa 32 83 a9 | add pubkey ca 80 db 0f 4a bf f7 e9 55 8e bd 29 4d 23 a6 dc | add pubkey 2a b3 5d 62 a9 21 1e be 83 d8 69 3c 03 0a 48 8e | add pubkey d3 3a 11 f2 86 5a d1 30 65 bd c8 f4 83 87 ff 04 | add pubkey 87 33 05 4f e0 d8 8c fe b3 19 4c dd 85 40 f3 4d | add pubkey 6e e8 49 14 06 2c 1f 59 59 05 8f 20 b0 ca 46 3f | add pubkey c9 20 7e 04 30 7d 9a 80 6c 3f 0a 89 f7 d3 af d8 | add pubkey 15 04 37 f9 | computed rsa CKAID b4 9f 1a ac 9e 45 6e 79 29 c8 81 97 3a 0c 6a d3 | computed rsa CKAID 7f 0f 03 50 | close_any(fd@16) (in whack_process() at rcv_whack.c:700) | spent 0.111 milliseconds in whack | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:722) add keyid @east | add pubkey 01 03 bd 6c 96 eb df 78 89 b3 ed 77 0d a1 7f 7b | add pubkey e5 16 c2 c9 e4 7d 92 0a 90 9d 55 43 b4 62 13 03 | add pubkey 85 7a e0 26 7b 54 1f ca 09 93 cf ff 25 c9 02 4c | add pubkey 78 ca 94 e5 3e ac d1 f9 a8 e5 bb 7f cc 20 84 e0 | add pubkey 21 c9 f0 0d c5 44 ba f3 48 64 61 58 f6 0f 63 0d | add pubkey d2 67 1e 59 8b ec f3 50 39 71 fb 39 da 11 64 b6 | add pubkey 62 cd 5f d3 8d 2e c1 50 ed 9c 6e 22 0c 39 a7 ce | add pubkey 62 b5 af 8a 80 0f 2e 4c 05 5c 82 c7 8d 29 02 2e | add pubkey bb 23 5f db f2 9e b5 7d e2 20 70 1a 63 f3 8e 5d | add pubkey ac 47 f0 5c 26 4e b1 d0 42 60 52 4a b0 77 25 ce | add pubkey e0 98 2b 43 f4 c7 59 1a 64 01 83 ea 4e e3 1a 2a | add pubkey 92 b8 55 ab 63 dd 4b 70 47 29 dc e9 b4 60 bf 43 | add pubkey 4d 58 8f 64 73 95 70 ac 35 89 b2 c2 9c d4 62 c0 | add pubkey 5f 56 5f ad 1b e5 dd 49 93 6a f5 23 82 ed d4 e7 | add pubkey d5 f1 55 f2 2d a2 26 a6 36 53 2f 94 fb 99 22 5c | add pubkey 47 cc 6d 80 30 88 96 38 0c f5 f2 ed 37 d0 09 d5 | add pubkey 07 8f 69 ef a9 99 ce 4d 1a 77 9e 39 c4 38 f3 c5 | add pubkey 51 51 48 ef | computed rsa CKAID 61 55 99 73 d3 ac ef 7d 3a 37 0e 3e 82 ad 92 c1 | computed rsa CKAID 8a 82 25 f1 | close_any(fd@16) (in whack_process() at rcv_whack.c:700) | spent 0.0566 milliseconds in whack | spent 0.00299 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 452 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 53 c0 5f 4d d3 72 53 d0 00 00 00 00 00 00 00 00 | 21 20 22 08 00 00 00 00 00 00 01 c4 22 00 00 3c | 00 00 00 38 01 01 00 05 03 00 00 0c 01 00 00 0c | 80 0e 01 00 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 | da 57 21 79 8e b5 0f bc 27 a8 a1 ab b0 ee 9e 5b | ee bb fb 05 56 b5 ec f4 28 76 da ac e1 9a 46 21 | 45 37 96 3d 5b 30 58 5d c0 52 33 df 00 94 be 89 | 4e 9a 31 d7 a1 e5 34 a8 90 f0 8c 79 81 5f 77 a2 | f9 1c 78 1e 3c 29 3e d5 46 11 26 cd 96 f5 8e d6 | 10 75 db 94 54 e7 db bb 4a c6 d0 51 2d f9 d6 8d | 7c 1b 68 29 28 85 fa b0 27 20 ba 20 05 33 a3 db | e9 c8 ec 9a ce b4 6b ae b6 af 56 0b 16 34 48 07 | 6c 31 47 f6 de ef 87 24 0f 3f ab 37 53 8e 7a b6 | 59 c9 fc d8 be cb e9 f7 3a 3c e6 f1 d5 58 a5 35 | e7 3d 95 36 25 43 7a 3c 4b ae 18 97 57 5e 82 f7 | a9 b5 a7 d3 1a 4a 02 cc a4 74 d0 45 69 d6 d2 a6 | 9c bc 19 8b 0f a3 de c2 3e 30 36 a4 43 84 c6 00 | 57 71 fa 47 1a 0b 5d b8 fd 37 75 9e a4 08 75 9e | 0f 54 c1 13 2a a2 b2 21 d0 fc cc 95 d2 ac 23 6a | 66 4c a0 d8 8c 6a 2b 30 60 b2 d7 9e b1 63 3f b7 | 29 00 00 24 22 09 be e3 2b f6 79 be ac 82 e1 f3 | 0a 01 88 77 c0 15 d6 b7 2b cc 93 b6 66 33 5d 3b | d6 1b 96 60 29 00 00 08 00 00 40 2e 29 00 00 1c | 00 00 40 04 27 29 c7 b1 7a 8d e5 da 66 ba 5d 99 | 54 5b 2d 5c 91 29 e4 f6 00 00 00 1c 00 00 40 05 | 6c 52 ef e7 29 07 70 48 47 a8 49 ff f1 44 35 2b | 36 5c 0e 5f | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 53 c0 5f 4d d3 72 53 d0 | responder cookie: | 00 00 00 00 00 00 00 00 | next payload type: ISAKMP_NEXT_v2SA (0x21) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_IKE_SA_INIT (0x22) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 0 (0x0) | length: 452 (0x1c4) | processing version=2.0 packet with exchange type=ISAKMP_v2_IKE_SA_INIT (34) | I am the IKE SA Original Responder receiving an IKEv2 IKE_SA_INIT request | State DB: IKEv2 state not found (find_v2_ike_sa_by_initiator_spi) | Now let's proceed with payload (ISAKMP_NEXT_v2SA) | ***parse IKEv2 Security Association Payload: | next payload type: ISAKMP_NEXT_v2KE (0x22) | flags: none (0x0) | length: 60 (0x3c) | processing payload: ISAKMP_NEXT_v2SA (len=56) | 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 (0x108) | 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 (0x24) | 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 (0x8) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | 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 (0x1c) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | 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 (0x1c) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | Notify Message Type: v2N_NAT_DETECTION_DESTINATION_IP (0x4005) | processing payload: ISAKMP_NEXT_v2N (len=20) | DDOS disabled and no cookie sent, continuing | find_host_connection local=192.1.2.23:500 remote=192.1.2.45:500 policy=ECDSA+IKEV2_ALLOW but ignoring ports | find_host_pair: comparing 192.1.2.23:500 to 192.1.2.45:500 but ignoring ports | find_next_host_connection policy=ECDSA+IKEV2_ALLOW | found policy = RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO (westnet-eastnet-ikev2) | find_next_host_connection returns empty | find_host_connection local=192.1.2.23:500 remote= policy=ECDSA+IKEV2_ALLOW but ignoring ports | find_next_host_connection policy=ECDSA+IKEV2_ALLOW | find_next_host_connection returns empty | initial parent SA message received on 192.1.2.23:500 but no connection has been authorized with policy ECDSA+IKEV2_ALLOW | find_host_connection local=192.1.2.23:500 remote=192.1.2.45:500 policy=RSASIG+IKEV2_ALLOW but ignoring ports | find_host_pair: comparing 192.1.2.23:500 to 192.1.2.45:500 but ignoring ports | find_next_host_connection policy=RSASIG+IKEV2_ALLOW | found policy = RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO (westnet-eastnet-ikev2) | find_next_host_connection returns westnet-eastnet-ikev2 | find_next_host_connection policy=RSASIG+IKEV2_ALLOW | find_next_host_connection returns empty | found connection: westnet-eastnet-ikev2 with policy RSASIG+IKEV2_ALLOW | creating state object #1 at 0x559ecd5d5578 | State DB: adding IKEv2 state #1 in UNDEFINED | pstats #1 ikev2.ike started | Message ID: init #1: msgid=0 lastack=4294967295 nextuse=0 lastrecv=4294967295 lastreplied=0 | parent state #1: UNDEFINED(ignore) => PARENT_R0(half-open IKE SA) | Message ID: init_ike #1; ike: initiator.sent=0->-1 initiator.recv=0->-1 responder.sent=0->-1 responder.recv=0->-1 wip.initiator=0->-1 wip.responder=0->-1 | start processing: state #1 connection "westnet-eastnet-ikev2" from 192.1.2.45 (in ikev2_process_packet() at ikev2.c:2016) | State DB: IKEv2 state not found (find_v2_sa_by_responder_wip) | [RE]START processing: state #1 connection "westnet-eastnet-ikev2" from 192.1.2.45 (in ike_process_packet() at ikev2.c:2064) | #1 st.st_msgid_lastrecv -1 md.hdr.isa_msgid 00000000 | Message ID: #1 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=-1 responder.recv=-1 | Message ID: start-responder #1 request 0; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=-1 responder.recv=-1 wip.initiator=-1 wip.responder=-1->0 | #1 in state PARENT_R0: processing SA_INIT request | selected state microcode Respond to IKE_SA_INIT | Now let's proceed with state specific processing | calling processor Respond to IKE_SA_INIT | #1 updating local interface from 192.1.2.23:500 to 192.1.2.23:500 using md->iface (in update_ike_endpoints() at state.c:2669) | constructing local IKE proposals for westnet-eastnet-ikev2 (IKE SA responder matching remote proposals) | converting ike_info AES_GCM_16_256-HMAC_SHA2_512+HMAC_SHA2_256-MODP2048+MODP3072+MODP4096+MODP8192+DH19+DH20+DH21+DH31 to ikev2 ... | ... ikev2_proposal: 1:IKE:ENCR=AES_GCM_C_256;PRF=HMAC_SHA2_512,HMAC_SHA2_256;INTEG=NONE;DH=MODP2048,MODP3072,MODP4096,MODP8192,ECP_256,ECP_384,ECP_521,CURVE25519 | converting ike_info AES_GCM_16_128-HMAC_SHA2_512+HMAC_SHA2_256-MODP2048+MODP3072+MODP4096+MODP8192+DH19+DH20+DH21+DH31 to ikev2 ... | ... ikev2_proposal: 2:IKE:ENCR=AES_GCM_C_128;PRF=HMAC_SHA2_512,HMAC_SHA2_256;INTEG=NONE;DH=MODP2048,MODP3072,MODP4096,MODP8192,ECP_256,ECP_384,ECP_521,CURVE25519 | converting ike_info AES_CBC_256-HMAC_SHA2_512+HMAC_SHA2_256-MODP2048+MODP3072+MODP4096+MODP8192+DH19+DH20+DH21+DH31 to ikev2 ... | ... ikev2_proposal: 3:IKE:ENCR=AES_CBC_256;PRF=HMAC_SHA2_512,HMAC_SHA2_256;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=MODP2048,MODP3072,MODP4096,MODP8192,ECP_256,ECP_384,ECP_521,CURVE25519 | converting ike_info AES_CBC_128-HMAC_SHA2_512+HMAC_SHA2_256-MODP2048+MODP3072+MODP4096+MODP8192+DH19+DH20+DH21+DH31 to ikev2 ... | ... ikev2_proposal: 4:IKE:ENCR=AES_CBC_128;PRF=HMAC_SHA2_512,HMAC_SHA2_256;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=MODP2048,MODP3072,MODP4096,MODP8192,ECP_256,ECP_384,ECP_521,CURVE25519 "westnet-eastnet-ikev2": constructed local IKE proposals for westnet-eastnet-ikev2 (IKE SA responder matching remote proposals): 1:IKE:ENCR=AES_GCM_C_256;PRF=HMAC_SHA2_512,HMAC_SHA2_256;INTEG=NONE;DH=MODP2048,MODP3072,MODP4096,MODP8192,ECP_256,ECP_384,ECP_521,CURVE25519 2:IKE:ENCR=AES_GCM_C_128;PRF=HMAC_SHA2_512,HMAC_SHA2_256;INTEG=NONE;DH=MODP2048,MODP3072,MODP4096,MODP8192,ECP_256,ECP_384,ECP_521,CURVE25519 3:IKE:ENCR=AES_CBC_256;PRF=HMAC_SHA2_512,HMAC_SHA2_256;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=MODP2048,MODP3072,MODP4096,MODP8192,ECP_256,ECP_384,ECP_521,CURVE25519 4:IKE:ENCR=AES_CBC_128;PRF=HMAC_SHA2_512,HMAC_SHA2_256;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=MODP2048,MODP3072,MODP4096,MODP8192,ECP_256,ECP_384,ECP_521,CURVE25519 | Comparing remote proposals against IKE responder 4 local proposals | local proposal 1 type ENCR has 1 transforms | local proposal 1 type PRF has 2 transforms | local proposal 1 type INTEG has 1 transforms | local proposal 1 type DH has 8 transforms | local proposal 1 type ESN has 0 transforms | local proposal 1 transforms: required: ENCR+PRF+DH; optional: INTEG | local proposal 2 type ENCR has 1 transforms | local proposal 2 type PRF has 2 transforms | local proposal 2 type INTEG has 1 transforms | local proposal 2 type DH has 8 transforms | local proposal 2 type ESN has 0 transforms | local proposal 2 transforms: required: ENCR+PRF+DH; optional: INTEG | local proposal 3 type ENCR has 1 transforms | local proposal 3 type PRF has 2 transforms | local proposal 3 type INTEG has 2 transforms | local proposal 3 type DH has 8 transforms | local proposal 3 type ESN has 0 transforms | local proposal 3 transforms: required: ENCR+PRF+INTEG+DH; optional: none | local proposal 4 type ENCR has 1 transforms | local proposal 4 type PRF has 2 transforms | local proposal 4 type INTEG has 2 transforms | local proposal 4 type DH has 8 transforms | local proposal 4 type ESN has 0 transforms | local proposal 4 transforms: required: ENCR+PRF+INTEG+DH; optional: none | ****parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | length: 56 (0x38) | prop #: 1 (0x1) | proto ID: IKEv2_SEC_PROTO_IKE (0x1) | spi size: 0 (0x0) | # transforms: 5 (0x5) | Comparing remote proposal 1 containing 5 transforms against local proposal [1..4] of 4 local proposals | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 12 (0xc) | IKEv2 transform type: TRANS_TYPE_ENCR (0x1) | IKEv2 transform ID: AES_CBC (0xc) | ******parse IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 256 (0x100) | remote proposal 1 transform 0 (ENCR=AES_CBC_256) matches local proposal 3 type 1 (ENCR) transform 0 | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 12 (0xc) | 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 (0x80) | remote proposal 1 transform 1 (ENCR=AES_CBC_128) matches local proposal 4 type 1 (ENCR) transform 0 | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_PRF (0x2) | IKEv2 transform ID: PRF_HMAC_SHA2_256 (0x5) | remote proposal 1 transform 2 (PRF=HMAC_SHA2_256) matches local proposal 1 type 2 (PRF) transform 1 | remote proposal 1 transform 2 (PRF=HMAC_SHA2_256) matches local proposal 2 type 2 (PRF) transform 1 | remote proposal 1 transform 2 (PRF=HMAC_SHA2_256) matches local proposal 3 type 2 (PRF) transform 1 | remote proposal 1 transform 2 (PRF=HMAC_SHA2_256) matches local proposal 4 type 2 (PRF) transform 1 | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_INTEG (0x3) | IKEv2 transform ID: AUTH_HMAC_SHA2_256_128 (0xc) | remote proposal 1 transform 3 (INTEG=HMAC_SHA2_256_128) matches local proposal 3 type 3 (INTEG) transform 1 | remote proposal 1 transform 3 (INTEG=HMAC_SHA2_256_128) matches local proposal 4 type 3 (INTEG) transform 1 | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_LAST (0x0) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP2048 (0xe) | remote proposal 1 transform 4 (DH=MODP2048) matches local proposal 1 type 4 (DH) transform 0 | remote proposal 1 transform 4 (DH=MODP2048) matches local proposal 2 type 4 (DH) transform 0 | remote proposal 1 transform 4 (DH=MODP2048) matches local proposal 3 type 4 (DH) transform 0 | remote proposal 1 transform 4 (DH=MODP2048) matches local proposal 4 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+DH; optional: INTEG; matched: PRF+DH | remote proposal 1 does not match local proposal 1; unmatched transforms: ENCR+INTEG; missing transforms: ENCR | comparing remote proposal 1 containing ENCR+PRF+INTEG+DH transforms to local proposal 2; required: ENCR+PRF+DH; optional: INTEG; matched: PRF+DH | remote proposal 1 does not match local proposal 2; unmatched transforms: ENCR+INTEG; missing transforms: ENCR | comparing remote proposal 1 containing ENCR+PRF+INTEG+DH transforms to local proposal 3; required: ENCR+PRF+INTEG+DH; optional: none; matched: ENCR+PRF+INTEG+DH | remote proposal 1 matches local proposal 3 "westnet-eastnet-ikev2" #1: proposal 1:IKE:ENCR=AES_CBC_256;PRF=HMAC_SHA2_256;INTEG=HMAC_SHA2_256_128;DH=MODP2048 chosen from remote proposals 1:IKE:ENCR=AES_CBC_256;ENCR=AES_CBC_128;PRF=HMAC_SHA2_256;INTEG=HMAC_SHA2_256_128;DH=MODP2048[first-match] | accepted IKE proposal ikev2_proposal: 1:IKE:ENCR=AES_CBC_256;PRF=HMAC_SHA2_256;INTEG=HMAC_SHA2_256_128;DH=MODP2048 | converting proposal to internal trans attrs | natd_hash: rcookie is zero | natd_hash: hasher=0x559ecc52c800(20) | natd_hash: icookie= 53 c0 5f 4d d3 72 53 d0 | natd_hash: rcookie= 00 00 00 00 00 00 00 00 | natd_hash: ip= c0 01 02 17 | natd_hash: port=500 | natd_hash: hash= 6c 52 ef e7 29 07 70 48 47 a8 49 ff f1 44 35 2b | natd_hash: hash= 36 5c 0e 5f | natd_hash: rcookie is zero | natd_hash: hasher=0x559ecc52c800(20) | natd_hash: icookie= 53 c0 5f 4d d3 72 53 d0 | natd_hash: rcookie= 00 00 00 00 00 00 00 00 | natd_hash: ip= c0 01 02 2d | natd_hash: port=500 | natd_hash: hash= 27 29 c7 b1 7a 8d e5 da 66 ba 5d 99 54 5b 2d 5c | natd_hash: hash= 91 29 e4 f6 | NAT_TRAVERSAL encaps using auto-detect | NAT_TRAVERSAL this end is NOT behind NAT | NAT_TRAVERSAL that end is NOT behind NAT | NAT_TRAVERSAL nat-keepalive enabled 192.1.2.45 | adding ikev2_inI1outR1 KE work-order 1 for state #1 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x559ecd5d3728 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #1 | libevent_malloc: new ptr-libevent@0x559ecd5d3aa8 size 128 | #1 spent 0.302 milliseconds in processing: Respond to IKE_SA_INIT in ikev2_process_state_packet() | [RE]START processing: state #1 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #1 complete_v2_state_transition() PARENT_R0->PARENT_R1 with status STF_SUSPEND | suspending state #1 and saving MD | #1 is busy; has a suspended MD | crypto helper 0 resuming | crypto helper 0 starting work-order 1 for state #1 | [RE]START processing: state #1 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in log_stf_suspend() at ikev2.c:3269) | crypto helper 0 doing build KE and nonce (ikev2_inI1outR1 KE); request ID 1 | "westnet-eastnet-ikev2" #1 complete v2 state STATE_PARENT_R0 transition with STF_SUSPEND suspended from complete_v2_state_transition:3451 | stop processing: state #1 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2018) | #1 spent 0.679 milliseconds in ikev2_process_packet() | stop processing: from 192.1.2.45:500 (in process_md() at demux.c:380) | processing: STOP state #0 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.692 milliseconds in comm_handle_cb() reading and processing packet | crypto helper 0 finished build KE and nonce (ikev2_inI1outR1 KE); request ID 1 time elapsed 0.000824 seconds | (#1) spent 0.83 milliseconds in crypto helper computing work-order 1: ikev2_inI1outR1 KE (pcr) | crypto helper 0 sending results from work-order 1 for state #1 to event queue | scheduling resume sending helper answer for #1 | libevent_malloc: new ptr-libevent@0x7f1aa4002888 size 128 | crypto helper 0 waiting (nothing to do) | processing resume sending helper answer for #1 | start processing: state #1 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in resume_handler() at server.c:797) | crypto helper 0 replies to request ID 1 | calling continuation function 0x559ecc457b50 | ikev2_parent_inI1outR1_continue for #1: calculated ke+nonce, sending R1 | **emit ISAKMP Message: | initiator cookie: | 53 c0 5f 4d d3 72 53 d0 | responder cookie: | bc f1 22 c3 21 3e b3 97 | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_IKE_SA_INIT (0x22) | flags: ISAKMP_FLAG_v2_MSG_RESPONSE (0x20) | Message ID: 0 (0x0) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | Emitting ikev2_proposal ... | ***emit IKEv2 Security Association Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'ISAKMP Message'.'next payload type' to current IKEv2 Security Association Payload (33:ISAKMP_NEXT_v2SA) | next payload chain: saving location 'IKEv2 Security Association Payload'.'next payload type' in 'reply packet' | ****emit IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | prop #: 1 (0x1) | proto ID: IKEv2_SEC_PROTO_IKE (0x1) | spi size: 0 (0x0) | # transforms: 4 (0x4) | 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: 256 (0x100) | 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' 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' 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' 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 15 84 6e f4 05 4f f2 d8 3b 09 51 11 54 38 16 52 | ikev2 g^x 3a e3 e9 5d d4 8a 17 3d 50 ba b0 c3 2a 5d 79 25 | ikev2 g^x 11 96 a5 d8 ac f0 68 0e e4 ca 8f 32 94 db bb 4b | ikev2 g^x 66 29 80 c1 68 27 d9 bf 97 18 14 d6 b3 02 4d 68 | ikev2 g^x 81 2f 01 86 7c f6 58 ad 57 34 00 c5 07 e9 d0 27 | ikev2 g^x 2c dc 85 ef 6e 53 b8 29 1a aa 58 5d c5 f9 c0 e7 | ikev2 g^x 8f f7 0b eb d7 e0 10 ef 46 78 49 70 95 70 00 4f | ikev2 g^x 00 77 d6 05 b3 06 f7 4f 2e 56 dd 76 36 cd 22 4a | ikev2 g^x e2 e0 5c f3 13 03 8e 8b d9 98 bb 6e 97 02 03 de | ikev2 g^x a9 08 e8 db 6b e8 d7 55 67 ce 34 b5 7d ff 87 c3 | ikev2 g^x b1 01 5d 87 64 ec db 1e 39 c1 3d 29 f5 41 8b 98 | ikev2 g^x 60 74 f4 82 9a 9f 9c f8 c4 eb 13 0a c5 09 35 31 | ikev2 g^x f5 33 02 3d f9 db 9f 5a 04 6f c9 5b f3 78 95 6a | ikev2 g^x dd fe e4 1c 51 d2 60 2b 4a fe 1e 00 66 a3 db 56 | ikev2 g^x 79 c7 ac 20 bd 63 5f 74 79 7e 68 78 f8 af c4 49 | ikev2 g^x ad b4 18 79 52 e7 38 0d 1c 82 e3 f9 8d fc 38 1b | emitting length of IKEv2 Key Exchange Payload: 264 | ***emit IKEv2 Nonce Payload: | next payload type: ISAKMP_NEXT_v2N (0x29) | flags: none (0x0) | next payload chain: ignoring supplied 'IKEv2 Nonce Payload'.'next payload type' value 41:ISAKMP_NEXT_v2N | 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 f3 c1 13 82 ee 17 4c 41 8e 82 af 6b 81 c1 2e 34 | IKEv2 nonce d9 87 c7 6a 01 b4 c4 81 bb d3 5d 04 28 db fe 85 | 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: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | Notify Message Type: v2N_IKEV2_FRAGMENTATION_SUPPORTED (0x402e) | next payload chain: setting previous 'IKEv2 Nonce Payload'.'next payload type' to current IKEv2 Notify Payload (41:ISAKMP_NEXT_v2N) | next payload chain: saving location 'IKEv2 Notify Payload'.'next payload type' in 'reply packet' | emitting length of IKEv2 Notify Payload: 8 | NAT-Traversal support [enabled] add v2N payloads. | natd_hash: hasher=0x559ecc52c800(20) | natd_hash: icookie= 53 c0 5f 4d d3 72 53 d0 | natd_hash: rcookie= bc f1 22 c3 21 3e b3 97 | natd_hash: ip= c0 01 02 17 | natd_hash: port=500 | natd_hash: hash= eb 57 40 6a fa 18 33 7e 1b 7d 6c 94 aa e9 0b 82 | natd_hash: hash= 55 26 2d fa | Adding a v2N Payload | ***emit IKEv2 Notify Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | 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 eb 57 40 6a fa 18 33 7e 1b 7d 6c 94 aa e9 0b 82 | Notify data 55 26 2d fa | emitting length of IKEv2 Notify Payload: 28 | natd_hash: hasher=0x559ecc52c800(20) | natd_hash: icookie= 53 c0 5f 4d d3 72 53 d0 | natd_hash: rcookie= bc f1 22 c3 21 3e b3 97 | natd_hash: ip= c0 01 02 2d | natd_hash: port=500 | natd_hash: hash= d7 eb d6 b8 22 4b af 7e 65 56 6a d0 16 00 6d 29 | natd_hash: hash= 84 3e 89 3d | Adding a v2N Payload | ***emit IKEv2 Notify Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | 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 d7 eb d6 b8 22 4b af 7e 65 56 6a d0 16 00 6d 29 | Notify data 84 3e 89 3d | 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.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #1 complete_v2_state_transition() PARENT_R0->PARENT_R1 with status STF_OK | IKEv2: transition from state STATE_PARENT_R0 to state STATE_PARENT_R1 | parent state #1: PARENT_R0(half-open IKE SA) => PARENT_R1(half-open IKE SA) | Message ID: updating counters for #1 to 0 after switching state | Message ID: recv #1 request 0; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=-1 responder.recv=-1->0 wip.initiator=-1 wip.responder=0->-1 | Message ID: sent #1 response 0; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=-1->0 responder.recv=0 wip.initiator=-1 wip.responder=-1 "westnet-eastnet-ikev2" #1: STATE_PARENT_R1: received v2I1, sent v2R1 {auth=IKEv2 cipher=AES_CBC_256 integ=HMAC_SHA2_256_128 prf=HMAC_SHA2_256 group=MODP2048} | sending V2 new request packet to 192.1.2.45:500 (from 192.1.2.23:500) | sending 440 bytes for STATE_PARENT_R0 through eth1 from 192.1.2.23:500 to 192.1.2.45:500 (using #1) | 53 c0 5f 4d d3 72 53 d0 bc f1 22 c3 21 3e b3 97 | 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 01 00 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 15 84 6e f4 05 4f f2 d8 3b 09 51 11 | 54 38 16 52 3a e3 e9 5d d4 8a 17 3d 50 ba b0 c3 | 2a 5d 79 25 11 96 a5 d8 ac f0 68 0e e4 ca 8f 32 | 94 db bb 4b 66 29 80 c1 68 27 d9 bf 97 18 14 d6 | b3 02 4d 68 81 2f 01 86 7c f6 58 ad 57 34 00 c5 | 07 e9 d0 27 2c dc 85 ef 6e 53 b8 29 1a aa 58 5d | c5 f9 c0 e7 8f f7 0b eb d7 e0 10 ef 46 78 49 70 | 95 70 00 4f 00 77 d6 05 b3 06 f7 4f 2e 56 dd 76 | 36 cd 22 4a e2 e0 5c f3 13 03 8e 8b d9 98 bb 6e | 97 02 03 de a9 08 e8 db 6b e8 d7 55 67 ce 34 b5 | 7d ff 87 c3 b1 01 5d 87 64 ec db 1e 39 c1 3d 29 | f5 41 8b 98 60 74 f4 82 9a 9f 9c f8 c4 eb 13 0a | c5 09 35 31 f5 33 02 3d f9 db 9f 5a 04 6f c9 5b | f3 78 95 6a dd fe e4 1c 51 d2 60 2b 4a fe 1e 00 | 66 a3 db 56 79 c7 ac 20 bd 63 5f 74 79 7e 68 78 | f8 af c4 49 ad b4 18 79 52 e7 38 0d 1c 82 e3 f9 | 8d fc 38 1b 29 00 00 24 f3 c1 13 82 ee 17 4c 41 | 8e 82 af 6b 81 c1 2e 34 d9 87 c7 6a 01 b4 c4 81 | bb d3 5d 04 28 db fe 85 29 00 00 08 00 00 40 2e | 29 00 00 1c 00 00 40 04 eb 57 40 6a fa 18 33 7e | 1b 7d 6c 94 aa e9 0b 82 55 26 2d fa 00 00 00 1c | 00 00 40 05 d7 eb d6 b8 22 4b af 7e 65 56 6a d0 | 16 00 6d 29 84 3e 89 3d | state #1 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x559ecd5d3aa8 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x559ecd5d3728 | event_schedule: new EVENT_SO_DISCARD-pe@0x559ecd5d3728 | inserting event EVENT_SO_DISCARD, timeout in 200 seconds for #1 | libevent_malloc: new ptr-libevent@0x559ecd5d5348 size 128 | resume sending helper answer for #1 suppresed complete_v2_state_transition() | #1 spent 0.33 milliseconds in resume sending helper answer | stop processing: state #1 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in resume_handler() at server.c:833) | libevent_free: release ptr-libevent@0x7f1aa4002888 | spent 0.0029 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 480 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 53 c0 5f 4d d3 72 53 d0 bc f1 22 c3 21 3e b3 97 | 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | 89 12 ee 4a 2b b5 a2 c1 3f 55 e9 b4 a1 88 9f 7b | 62 d6 94 c8 75 3a c1 f7 1c 28 89 bd 66 3e a2 84 | 2c 60 e7 9f 58 01 7f 90 cd 6b 1a 42 a4 76 bd 87 | d4 b3 df e6 5e d1 db a6 86 f9 4b db 6e f0 57 cd | 83 d7 20 fe 03 51 94 24 f7 04 67 8f ce e8 b4 ca | 69 e0 28 61 ac 95 10 50 51 3d be 91 c6 dd fe 53 | 38 6d 63 74 4e 1d 4b 89 41 c2 4b 84 70 8e e1 0a | 85 04 2e 70 da 5b 99 51 f7 20 d9 ab 82 42 b3 5d | 5e 84 56 a3 a2 2a 4a e7 80 87 49 9b a0 a1 98 5d | f7 d1 b9 27 c1 10 73 ab 9c ec f3 c6 07 7b 4d dc | d2 7a 98 d7 eb 44 f2 34 ba 8b dc 14 1e fe 5b d9 | e9 4a ac 88 31 18 05 bc fc 0d fa 36 94 76 8f 4f | 8d c4 65 48 3f b4 19 b6 81 ce e2 ab 74 91 a6 04 | 9b e6 7a b1 1c 35 3a 9d 44 b2 c8 04 81 57 e1 3b | bd 09 a5 6e 90 41 30 ea fb 8a a4 ed 44 33 b4 5b | 34 a4 b8 ee 02 70 a6 20 7c a0 00 11 5b c7 d9 5f | 43 97 87 b8 76 aa 45 20 14 f2 85 8e 1e c9 9b 5b | a8 cf 42 ce 1b dc bc 36 9f 73 55 02 39 3a fd 25 | 72 ae 89 28 49 b3 5d f5 b8 bb 41 f2 18 5a 6d 55 | 7b db 0e 0c a6 17 b4 ac 65 32 ea b4 b7 35 02 76 | a0 a6 b4 7b 0c 81 e9 11 48 6b 36 52 27 b4 6e 14 | e3 38 0b 1c 9c 00 96 56 e4 6c 2a 9d 19 2c 9b f7 | 0a 58 66 77 7a 06 b0 0d 59 c4 4d 19 15 00 5e 9b | 7a 61 67 2c cb f4 76 8e 6c e9 17 e1 87 ea 3c d9 | 9d f6 3e 8f c1 5f 2e f6 b7 0a f0 f1 89 c4 96 ac | e8 57 ae 3e 09 ac d3 f1 54 aa 4f d2 ce 2e 36 97 | 6e c4 ed f5 2a fd c6 3f e1 8b 6e 72 62 75 ae a8 | 64 de c2 e5 d6 6c eb 79 a4 7a cd 8d 0d 20 f3 e1 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 53 c0 5f 4d d3 72 53 d0 | responder cookie: | bc f1 22 c3 21 3e b3 97 | next payload type: ISAKMP_NEXT_v2SK (0x2e) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_IKE_AUTH (0x23) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 1 (0x1) | length: 480 (0x1e0) | processing version=2.0 packet with exchange type=ISAKMP_v2_IKE_AUTH (35) | I am the IKE SA Original Responder receiving an IKEv2 IKE_AUTH request | State DB: found IKEv2 state #1 in PARENT_R1 (find_v2_ike_sa) | start processing: state #1 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2016) | State DB: IKEv2 state not found (find_v2_sa_by_responder_wip) | [RE]START processing: state #1 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ike_process_packet() at ikev2.c:2064) | #1 st.st_msgid_lastrecv 0 md.hdr.isa_msgid 00000001 | Message ID: #1 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0 | unpacking clear payload | Now let's proceed with payload (ISAKMP_NEXT_v2SK) | ***parse IKEv2 Encryption Payload: | next payload type: ISAKMP_NEXT_v2IDi (0x23) | flags: none (0x0) | length: 452 (0x1c4) | processing payload: ISAKMP_NEXT_v2SK (len=448) | Message ID: start-responder #1 request 1; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0 wip.initiator=-1 wip.responder=-1->1 | #1 in state PARENT_R1: received v2I1, sent v2R1 | selected state microcode Responder: process IKE_AUTH request (no SKEYSEED) | Now let's proceed with state specific processing | calling processor Responder: process IKE_AUTH request (no SKEYSEED) | ikev2 parent inI2outR2: calculating g^{xy} in order to decrypt I2 | offloading IKEv2 SKEYSEED using prf=HMAC_SHA2_256 integ=HMAC_SHA2_256_128 cipherkey=AES_CBC | adding ikev2_inI2outR2 KE work-order 2 for state #1 | state #1 requesting EVENT_SO_DISCARD to be deleted | libevent_free: release ptr-libevent@0x559ecd5d5348 | free_event_entry: release EVENT_SO_DISCARD-pe@0x559ecd5d3728 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x559ecd5d3728 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #1 | libevent_malloc: new ptr-libevent@0x7f1aa4002888 size 128 | #1 spent 0.0281 milliseconds in processing: Responder: process IKE_AUTH request (no SKEYSEED) in ikev2_process_state_packet() | [RE]START processing: state #1 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | crypto helper 1 resuming | crypto helper 1 starting work-order 2 for state #1 | #1 complete_v2_state_transition() PARENT_R1->PARENT_R1 with status STF_SUSPEND | suspending state #1 and saving MD | crypto helper 1 doing compute dh (V2) (ikev2_inI2outR2 KE); request ID 2 | #1 is busy; has a suspended MD | [RE]START processing: state #1 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in log_stf_suspend() at ikev2.c:3269) | "westnet-eastnet-ikev2" #1 complete v2 state STATE_PARENT_R1 transition with STF_SUSPEND suspended from complete_v2_state_transition:3451 | stop processing: state #1 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2018) | #1 spent 0.208 milliseconds in ikev2_process_packet() | stop processing: from 192.1.2.45:500 (in process_md() at demux.c:380) | processing: STOP state #0 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.219 milliseconds in comm_handle_cb() reading and processing packet | calculating skeyseed using prf=sha2_256 integ=sha2_256 cipherkey-size=32 salt-size=0 | crypto helper 1 finished compute dh (V2) (ikev2_inI2outR2 KE); request ID 2 time elapsed 0.001129 seconds | (#1) spent 1.12 milliseconds in crypto helper computing work-order 2: ikev2_inI2outR2 KE (pcr) | crypto helper 1 sending results from work-order 2 for state #1 to event queue | scheduling resume sending helper answer for #1 | libevent_malloc: new ptr-libevent@0x7f1a9c00a868 size 128 | crypto helper 1 waiting (nothing to do) | processing resume sending helper answer for #1 | start processing: state #1 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in resume_handler() at server.c:797) | crypto helper 1 replies to request ID 2 | calling continuation function 0x559ecc457b50 | ikev2_parent_inI2outR2_continue for #1: calculating g^{xy}, sending R2 | #1 in state PARENT_R1: received v2I1, sent v2R1 | data for hmac: 53 c0 5f 4d d3 72 53 d0 bc f1 22 c3 21 3e b3 97 | data for hmac: 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | data for hmac: 89 12 ee 4a 2b b5 a2 c1 3f 55 e9 b4 a1 88 9f 7b | data for hmac: 62 d6 94 c8 75 3a c1 f7 1c 28 89 bd 66 3e a2 84 | data for hmac: 2c 60 e7 9f 58 01 7f 90 cd 6b 1a 42 a4 76 bd 87 | data for hmac: d4 b3 df e6 5e d1 db a6 86 f9 4b db 6e f0 57 cd | data for hmac: 83 d7 20 fe 03 51 94 24 f7 04 67 8f ce e8 b4 ca | data for hmac: 69 e0 28 61 ac 95 10 50 51 3d be 91 c6 dd fe 53 | data for hmac: 38 6d 63 74 4e 1d 4b 89 41 c2 4b 84 70 8e e1 0a | data for hmac: 85 04 2e 70 da 5b 99 51 f7 20 d9 ab 82 42 b3 5d | data for hmac: 5e 84 56 a3 a2 2a 4a e7 80 87 49 9b a0 a1 98 5d | data for hmac: f7 d1 b9 27 c1 10 73 ab 9c ec f3 c6 07 7b 4d dc | data for hmac: d2 7a 98 d7 eb 44 f2 34 ba 8b dc 14 1e fe 5b d9 | data for hmac: e9 4a ac 88 31 18 05 bc fc 0d fa 36 94 76 8f 4f | data for hmac: 8d c4 65 48 3f b4 19 b6 81 ce e2 ab 74 91 a6 04 | data for hmac: 9b e6 7a b1 1c 35 3a 9d 44 b2 c8 04 81 57 e1 3b | data for hmac: bd 09 a5 6e 90 41 30 ea fb 8a a4 ed 44 33 b4 5b | data for hmac: 34 a4 b8 ee 02 70 a6 20 7c a0 00 11 5b c7 d9 5f | data for hmac: 43 97 87 b8 76 aa 45 20 14 f2 85 8e 1e c9 9b 5b | data for hmac: a8 cf 42 ce 1b dc bc 36 9f 73 55 02 39 3a fd 25 | data for hmac: 72 ae 89 28 49 b3 5d f5 b8 bb 41 f2 18 5a 6d 55 | data for hmac: 7b db 0e 0c a6 17 b4 ac 65 32 ea b4 b7 35 02 76 | data for hmac: a0 a6 b4 7b 0c 81 e9 11 48 6b 36 52 27 b4 6e 14 | data for hmac: e3 38 0b 1c 9c 00 96 56 e4 6c 2a 9d 19 2c 9b f7 | data for hmac: 0a 58 66 77 7a 06 b0 0d 59 c4 4d 19 15 00 5e 9b | data for hmac: 7a 61 67 2c cb f4 76 8e 6c e9 17 e1 87 ea 3c d9 | data for hmac: 9d f6 3e 8f c1 5f 2e f6 b7 0a f0 f1 89 c4 96 ac | data for hmac: e8 57 ae 3e 09 ac d3 f1 54 aa 4f d2 ce 2e 36 97 | data for hmac: 6e c4 ed f5 2a fd c6 3f e1 8b 6e 72 62 75 ae a8 | calculated auth: 64 de c2 e5 d6 6c eb 79 a4 7a cd 8d 0d 20 f3 e1 | provided auth: 64 de c2 e5 d6 6c eb 79 a4 7a cd 8d 0d 20 f3 e1 | authenticator matched | #1 ikev2 ISAKMP_v2_IKE_AUTH decrypt success | Now let's proceed with payload (ISAKMP_NEXT_v2IDi) | **parse IKEv2 Identification - Initiator - Payload: | next payload type: ISAKMP_NEXT_v2IDr (0x24) | flags: none (0x0) | length: 12 (0xc) | ID type: ID_FQDN (0x2) | processing payload: ISAKMP_NEXT_v2IDi (len=4) | Now let's proceed with payload (ISAKMP_NEXT_v2IDr) | **parse IKEv2 Identification - Responder - Payload: | next payload type: ISAKMP_NEXT_v2AUTH (0x27) | flags: none (0x0) | length: 12 (0xc) | ID type: ID_FQDN (0x2) | 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: 282 (0x11a) | auth method: IKEv2_AUTH_RSA (0x1) | processing payload: ISAKMP_NEXT_v2AUTH (len=274) | 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: 56 (0x38) | processing payload: ISAKMP_NEXT_v2SA (len=52) | 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 (0x18) | number of TS: 1 (0x1) | 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 (0x18) | number of TS: 1 (0x1) | processing payload: ISAKMP_NEXT_v2TSr (len=16) | selected state microcode Responder: process IKE_AUTH request | Now let's proceed with state specific processing | calling processor Responder: process IKE_AUTH request "westnet-eastnet-ikev2" #1: processing decrypted IKE_AUTH request: SK{IDi,IDr,AUTH,SA,TSi,TSr} | #1 updating local interface from 192.1.2.23:500 to 192.1.2.23:500 using md->iface (in update_ike_endpoints() at state.c:2669) | received IDr payload - extracting our alleged ID | refine_host_connection for IKEv2: starting with "westnet-eastnet-ikev2" | match_id a=@west | b=@west | results matched | refine_host_connection: checking "westnet-eastnet-ikev2" against "westnet-eastnet-ikev2", best=(none) with match=1(id=1(0)/ca=1(0)/reqca=1(0)) | Warning: not switching back to template of current instance | Peer expects us to be @east (ID_FQDN) according to its IDr payload | This connection's local id is @east (ID_FQDN) | refine_host_connection: checked westnet-eastnet-ikev2 against westnet-eastnet-ikev2, now for see if best | started looking for secret for @east->@west of kind PKK_RSA | actually looking for secret for @east->@west of kind PKK_RSA | line 1: key type PKK_RSA(@east) to type PKK_RSA | 1: compared key (none) to @east / @west -> 002 | 2: compared key (none) to @east / @west -> 002 | line 1: match=002 | match 002 beats previous best_match 000 match=0x559ecd52ab58 (line=1) | concluding with best_match=002 best=0x559ecd52ab58 (lineno=1) | returning because exact peer id match | offered CA: '%none' "westnet-eastnet-ikev2" #1: IKEv2 mode peer ID is ID_FQDN: '@west' | verifying AUTH payload | required RSA CA is '%any' | checking RSA keyid '@east' for match with '@west' | checking RSA keyid '@west' for match with '@west' | key issuer CA is '%any' | an RSA Sig check passed with *AQOm9dY/4 [preloaded key] | #1 spent 0.069 milliseconds in try_all_RSA_keys() trying a pubkey "westnet-eastnet-ikev2" #1: Authenticated using RSA | #1 spent 0.104 milliseconds in ikev2_verify_rsa_hash() | parent state #1: PARENT_R1(half-open IKE SA) => PARENT_R2(established IKE SA) | #1 will start re-keying in 3330 seconds with margin of 270 seconds (attempting re-key) | state #1 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x7f1aa4002888 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x559ecd5d3728 | event_schedule: new EVENT_SA_REKEY-pe@0x559ecd5d3728 | inserting event EVENT_SA_REKEY, timeout in 3330 seconds for #1 | libevent_malloc: new ptr-libevent@0x559ecd5d3aa8 size 128 | pstats #1 ikev2.ike established | **emit ISAKMP Message: | initiator cookie: | 53 c0 5f 4d d3 72 53 d0 | responder cookie: | bc f1 22 c3 21 3e b3 97 | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_IKE_AUTH (0x23) | flags: ISAKMP_FLAG_v2_MSG_RESPONSE (0x20) | Message ID: 1 (0x1) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | IKEv2 CERT: send a certificate? | IKEv2 CERT: no certificate to send | ***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 | Initiator child policy is compress=no, NOT sending v2N_IPCOMP_SUPPORTED | ****emit IKEv2 Identification - Responder - Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | ID type: ID_FQDN (0x2) | next payload chain: setting previous 'IKEv2 Encryption Payload'.'next payload type' to current IKEv2 Identification - Responder - Payload (36:ISAKMP_NEXT_v2IDr) | next payload chain: saving location 'IKEv2 Identification - Responder - Payload'.'next payload type' in 'reply packet' | emitting 4 raw bytes of my identity into IKEv2 Identification - Responder - Payload | my identity 65 61 73 74 | emitting length of IKEv2 Identification - Responder - Payload: 12 | assembled IDr payload | CHILD SA proposals received | going to assemble AUTH payload | ****emit IKEv2 Authentication Payload: | next payload type: ISAKMP_NEXT_v2SA (0x21) | flags: none (0x0) | auth method: IKEv2_AUTH_RSA (0x1) | next payload chain: ignoring supplied 'IKEv2 Authentication Payload'.'next payload type' value 33:ISAKMP_NEXT_v2SA | 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' | started looking for secret for @east->@west of kind PKK_RSA | actually looking for secret for @east->@west of kind PKK_RSA | line 1: key type PKK_RSA(@east) to type PKK_RSA | 1: compared key (none) to @east / @west -> 002 | 2: compared key (none) to @east / @west -> 002 | line 1: match=002 | match 002 beats previous best_match 000 match=0x559ecd52ab58 (line=1) | concluding with best_match=002 best=0x559ecd52ab58 (lineno=1) | #1 spent 4.48 milliseconds in ikev2_calculate_rsa_hash() calling sign_hash_RSA() | emitting 274 raw bytes of rsa signature into IKEv2 Authentication Payload | rsa signature 96 02 85 20 10 75 8a 2d 0f 4c 8d f4 24 83 4b 77 | rsa signature 67 47 16 cc 0b f8 99 6e 84 43 c7 d5 31 c7 a0 79 | rsa signature c2 4e fc a5 50 cf 93 b3 a6 e5 bf ff 95 05 a4 cd | rsa signature 2d f0 ba 80 c1 be c2 43 16 c9 25 61 ce c0 41 5b | rsa signature 4a 48 3c d6 d1 03 8e 65 99 2f 13 23 42 01 72 46 | rsa signature 55 bb 55 40 ab 0c c3 48 44 e8 ea 52 ae de 62 da | rsa signature 14 ab d5 a6 35 b0 87 c9 fd 3a d8 12 be b0 26 12 | rsa signature 1e 76 28 e6 da e9 50 68 07 84 61 41 34 fa a7 a9 | rsa signature e1 db 48 e0 36 82 23 a6 31 36 f7 86 14 79 bf fe | rsa signature 98 fb 19 8a 35 69 7f 12 f5 d4 de 1c e2 28 dd 86 | rsa signature ed 97 b3 b9 45 8f ef 28 6b 70 99 7f 93 2f 30 6f | rsa signature 07 f6 9d e2 61 50 5c 9b d0 bc 52 82 e1 6b a1 9a | rsa signature 24 09 b9 dc e1 4d b2 6b 8b 51 5a c0 d5 47 76 38 | rsa signature c2 8c 1d 84 fb 92 c7 94 2f f9 03 5e 5b c2 d0 f8 | rsa signature a1 9f f3 a8 f7 a5 9b d2 f6 68 9b d3 53 2f 8e 58 | rsa signature 9a 85 7b 44 eb 16 dd 74 64 9d cf 79 ac 5e 63 c0 | rsa signature b0 c5 b2 74 4c 5e 95 5b 56 4c e7 22 04 97 80 2c | rsa signature 95 88 | #1 spent 4.56 milliseconds in ikev2_calculate_rsa_hash() | emitting length of IKEv2 Authentication Payload: 282 | creating state object #2 at 0x559ecd5dff38 | 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.23:500 from #1.st_localport (in duplicate_state() at state.c:1484) | Message ID: init_child #1.#2; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0; child: wip.initiator=0->-1 wip.responder=0->-1 | Message ID: switch-from #1 request 1; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0 wip.initiator=-1 wip.responder=1->-1 | Message ID: switch-to #1.#2 request 1; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0; child: wip.initiator=-1 wip.responder=-1->1 | Child SA TS Request has ike->sa == md->st; so using parent connection | TSi: parsing 1 traffic selectors | ***parse IKEv2 Traffic Selector: | TS type: IKEv2_TS_IPV4_ADDR_RANGE (0x7) | IP Protocol ID: 0 (0x0) | length: 16 (0x10) | start port: 0 (0x0) | end port: 65535 (0xffff) | 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: 0 (0x0) | length: 16 (0x10) | start port: 0 (0x0) | end port: 65535 (0xffff) | parsing 4 raw bytes of IKEv2 Traffic Selector into TS low | TS low c0 00 02 00 | parsing 4 raw bytes of IKEv2 Traffic Selector into TS high | TS high c0 00 02 ff | TSr: parsed 1 traffic selectors | looking for best SPD in current connection | evaluating our conn="westnet-eastnet-ikev2" I=192.0.1.0/24:0/0 R=192.0.2.0/24:0/0 to their: | TSi[0] .net=192.0.1.0-192.0.1.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.1.0/24 == TSi[0]net=192.0.1.0-192.0.1.255: YES fitness 32 | narrow port end=0..65535 == TSi[0]=0..65535: 0 | TSi[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSi[0]=*0: 0 | match end->protocol=*0 == TSi[0].ipprotoid=*0: YES fitness 255 | TSr[0] .net=192.0.2.0-192.0.2.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.2.0/24 == TSr[0]net=192.0.2.0-192.0.2.255: YES fitness 32 | narrow port end=0..65535 == TSr[0]=0..65535: 0 | TSr[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSr[0]=*0: 0 | match end->protocol=*0 == TSr[0].ipprotoid=*0: YES fitness 255 | best fit so far: TSi[0] TSr[0] | found better spd route for TSi[0],TSr[0] | looking for better host pair | find_host_pair: comparing 192.1.2.23:500 to 192.1.2.45:500 but ignoring ports | checking hostpair 192.0.2.0/24 -> 192.0.1.0/24 is found | investigating connection "westnet-eastnet-ikev2" as a better match | match_id a=@west | b=@west | results matched | evaluating our conn="westnet-eastnet-ikev2" I=192.0.1.0/24:0/0 R=192.0.2.0/24:0/0 to their: | TSi[0] .net=192.0.1.0-192.0.1.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.1.0/24 == TSi[0]net=192.0.1.0-192.0.1.255: YES fitness 32 | narrow port end=0..65535 == TSi[0]=0..65535: 0 | TSi[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSi[0]=*0: 0 | match end->protocol=*0 == TSi[0].ipprotoid=*0: YES fitness 255 | TSr[0] .net=192.0.2.0-192.0.2.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.2.0/24 == TSr[0]net=192.0.2.0-192.0.2.255: YES fitness 32 | narrow port end=0..65535 == TSr[0]=0..65535: 0 | TSr[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSr[0]=*0: 0 | match end->protocol=*0 == TSr[0].ipprotoid=*0: YES fitness 255 | best fit so far: TSi[0] TSr[0] | did not find a better connection using host pair | printing contents struct traffic_selector | ts_type: IKEv2_TS_IPV4_ADDR_RANGE | ipprotoid: 0 | port range: 0-65535 | ip range: 192.0.2.0-192.0.2.255 | printing contents struct traffic_selector | ts_type: IKEv2_TS_IPV4_ADDR_RANGE | ipprotoid: 0 | port range: 0-65535 | ip range: 192.0.1.0-192.0.1.255 | constructing ESP/AH proposals with all DH removed for westnet-eastnet-ikev2 (IKE_AUTH responder matching remote ESP/AH proposals) | converting proposal AES_GCM_16_256-NONE to ikev2 ... | ... ikev2_proposal: 1:ESP:ENCR=AES_GCM_C_256;INTEG=NONE;DH=NONE;ESN=DISABLED | converting proposal AES_GCM_16_128-NONE to ikev2 ... | ... ikev2_proposal: 2:ESP:ENCR=AES_GCM_C_128;INTEG=NONE;DH=NONE;ESN=DISABLED | converting proposal AES_CBC_256-HMAC_SHA2_512_256+HMAC_SHA2_256_128 to ikev2 ... | ... ikev2_proposal: 3:ESP:ENCR=AES_CBC_256;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=NONE;ESN=DISABLED | converting proposal AES_CBC_128-HMAC_SHA2_512_256+HMAC_SHA2_256_128 to ikev2 ... | ... ikev2_proposal: 4:ESP:ENCR=AES_CBC_128;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=NONE;ESN=DISABLED "westnet-eastnet-ikev2": constructed local ESP/AH proposals for westnet-eastnet-ikev2 (IKE_AUTH responder matching remote ESP/AH proposals): 1:ESP:ENCR=AES_GCM_C_256;INTEG=NONE;DH=NONE;ESN=DISABLED 2:ESP:ENCR=AES_GCM_C_128;INTEG=NONE;DH=NONE;ESN=DISABLED 3:ESP:ENCR=AES_CBC_256;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=NONE;ESN=DISABLED 4:ESP:ENCR=AES_CBC_128;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=NONE;ESN=DISABLED | Comparing remote proposals against IKE_AUTH responder matching remote ESP/AH proposals 4 local proposals | local proposal 1 type ENCR has 1 transforms | local proposal 1 type PRF has 0 transforms | local proposal 1 type INTEG has 1 transforms | local proposal 1 type DH has 1 transforms | local proposal 1 type ESN has 1 transforms | local proposal 1 transforms: required: ENCR+ESN; optional: INTEG+DH | local proposal 2 type ENCR has 1 transforms | local proposal 2 type PRF has 0 transforms | local proposal 2 type INTEG has 1 transforms | local proposal 2 type DH has 1 transforms | local proposal 2 type ESN has 1 transforms | local proposal 2 transforms: required: ENCR+ESN; optional: INTEG+DH | local proposal 3 type ENCR has 1 transforms | local proposal 3 type PRF has 0 transforms | local proposal 3 type INTEG has 2 transforms | local proposal 3 type DH has 1 transforms | local proposal 3 type ESN has 1 transforms | local proposal 3 transforms: required: ENCR+INTEG+ESN; optional: DH | local proposal 4 type ENCR has 1 transforms | local proposal 4 type PRF has 0 transforms | local proposal 4 type INTEG has 2 transforms | local proposal 4 type DH has 1 transforms | local proposal 4 type ESN has 1 transforms | local proposal 4 transforms: required: ENCR+INTEG+ESN; optional: DH | ***parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | length: 52 (0x34) | prop #: 1 (0x1) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (0x4) | # transforms: 4 (0x4) | parsing 4 raw bytes of IKEv2 Proposal Substructure Payload into remote SPI | remote SPI 22 fc 22 82 | Comparing remote proposal 1 containing 4 transforms against local proposal [1..4] of 4 local proposals | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 12 (0xc) | 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 (0x80) | remote proposal 1 transform 0 (ENCR=AES_CBC_128) matches local proposal 4 type 1 (ENCR) transform 0 | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 12 (0xc) | IKEv2 transform type: TRANS_TYPE_ENCR (0x1) | IKEv2 transform ID: AES_CBC (0xc) | *****parse IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 256 (0x100) | remote proposal 1 transform 1 (ENCR=AES_CBC_256) matches local proposal 3 type 1 (ENCR) transform 0 | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | 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 3 type 3 (INTEG) transform 1 | remote proposal 1 transform 2 (INTEG=HMAC_SHA2_256_128) matches local proposal 4 type 3 (INTEG) transform 1 | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_LAST (0x0) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_ESN (0x5) | IKEv2 transform ID: ESN_DISABLED (0x0) | remote proposal 1 transform 3 (ESN=DISABLED) matches local proposal 1 type 5 (ESN) transform 0 | remote proposal 1 transform 3 (ESN=DISABLED) matches local proposal 2 type 5 (ESN) transform 0 | remote proposal 1 transform 3 (ESN=DISABLED) matches local proposal 3 type 5 (ESN) transform 0 | remote proposal 1 transform 3 (ESN=DISABLED) matches local proposal 4 type 5 (ESN) transform 0 | remote proposal 1 proposed transforms: ENCR+INTEG+ESN; matched: ENCR+INTEG+ESN; unmatched: none | comparing remote proposal 1 containing ENCR+INTEG+ESN transforms to local proposal 1; required: ENCR+ESN; optional: INTEG+DH; matched: ESN | remote proposal 1 does not match local proposal 1; unmatched transforms: ENCR+INTEG; missing transforms: ENCR | comparing remote proposal 1 containing ENCR+INTEG+ESN transforms to local proposal 2; required: ENCR+ESN; optional: INTEG+DH; matched: ESN | remote proposal 1 does not match local proposal 2; unmatched transforms: ENCR+INTEG; missing transforms: ENCR | comparing remote proposal 1 containing ENCR+INTEG+ESN transforms to local proposal 3; required: ENCR+INTEG+ESN; optional: DH; matched: ENCR+INTEG+ESN | remote proposal 1 matches local proposal 3 "westnet-eastnet-ikev2" #1: proposal 1:ESP:SPI=22fc2282;ENCR=AES_CBC_256;INTEG=HMAC_SHA2_256_128;ESN=DISABLED chosen from remote proposals 1:ESP:ENCR=AES_CBC_128;ENCR=AES_CBC_256;INTEG=HMAC_SHA2_256_128;ESN=DISABLED[first-match] | IKE_AUTH responder matching remote ESP/AH proposals ikev2_proposal: 1:ESP:SPI=22fc2282;ENCR=AES_CBC_256;INTEG=HMAC_SHA2_256_128;ESN=DISABLED | converting proposal to internal trans attrs | netlink_get_spi: allocated 0xb0c0405e for esp.0@192.1.2.23 | Emitting ikev2_proposal ... | ****emit IKEv2 Security Association Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'IKEv2 Authentication Payload'.'next payload type' to current IKEv2 Security Association Payload (33:ISAKMP_NEXT_v2SA) | next payload chain: saving location 'IKEv2 Security Association Payload'.'next payload type' in 'reply packet' | *****emit IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | prop #: 1 (0x1) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (0x4) | # transforms: 3 (0x3) | 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 b0 c0 40 5e | ******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 (0x100) | 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_256_128 (0xc) | last substructure: checking 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' 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' 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 | emitting length of IKEv2 Security Association Payload: 44 | 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 (0x1) | 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: 0 (0x0) | start port: 0 (0x0) | end port: 65535 (0xffff) | emitting 4 raw bytes of ipv4 start into IKEv2 Traffic Selector | ipv4 start c0 00 01 00 | emitting 4 raw bytes of ipv4 end into IKEv2 Traffic Selector | ipv4 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 (0x1) | 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: 0 (0x0) | start port: 0 (0x0) | end port: 65535 (0xffff) | emitting 4 raw bytes of ipv4 start into IKEv2 Traffic Selector | ipv4 start c0 00 02 00 | emitting 4 raw bytes of ipv4 end into IKEv2 Traffic Selector | ipv4 end c0 00 02 ff | emitting length of IKEv2 Traffic Selector: 16 | emitting length of IKEv2 Traffic Selector - Responder - Payload: 24 | Initiator child policy is compress=no, NOT sending v2N_IPCOMP_SUPPORTED | integ=sha2_256: .key_size=32 encrypt=aes: .key_size=32 .salt_size=0 keymat_len=64 | FOR_EACH_CONNECTION_... in ISAKMP_SA_established | install_ipsec_sa() for #2: inbound and outbound | could_route called for westnet-eastnet-ikev2 (kind=CK_PERMANENT) | 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_CBC keylen: 256 integ: HMAC_SHA2_256_128 | encrypt AES_CBC keylen=256 transid=12, key_size=32, encryptalg=12 | st->st_esp.keymat_len=64 is encrypt_keymat_size=32 + integ_keymat_size=32 | 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 | 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.22fc2282@192.1.2.45 included non-error error | set up outgoing SA, ref=0/0 | looking for alg with encrypt: AES_CBC keylen: 256 integ: HMAC_SHA2_256_128 | encrypt AES_CBC keylen=256 transid=12, key_size=32, encryptalg=12 | st->st_esp.keymat_len=64 is encrypt_keymat_size=32 + integ_keymat_size=32 | 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 | 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.b0c0405e@192.1.2.23 included non-error error | priority calculation of connection "westnet-eastnet-ikev2" is 0xfe7e7 | add inbound eroute 192.0.1.0/24:0 --0-> 192.0.2.0/24:0 => tun.10000@192.1.2.23 (raw_eroute) | IPsec Sa SPD priority set to 1042407 | 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 0xfe7e7 | eroute_connection add eroute 192.0.2.0/24:0 --0-> 192.0.1.0/24:0 => tun.0@192.1.2.45 (raw_eroute) | IPsec Sa SPD priority set to 1042407 | raw_eroute result=success | running updown command "ipsec _updown" for verb up | command executing up-client | executing up-client: PLUTO_VERB='up-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet-ikev2' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLUTO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@west' PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+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='' VTI_ROUTING='no' VTI_SHARED='no' SPI_IN=0x22 | popen cmd is 1040 chars long | cmd( 0):PLUTO_VERB='up-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet-ike: | cmd( 80):v2' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLU: | cmd( 160):TO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' : | cmd( 240):PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLU: | cmd( 320):TO_SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@: | cmd( 400):west' PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_P: | cmd( 480):EER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUT: | cmd( 560):O_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='RSASIG+EN: | cmd( 640):CRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND=: | cmd( 720):'CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISCO=': | cmd( 800):0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_C: | cmd( 880):FG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' VTI_ROUT: | cmd( 960):ING='no' VTI_SHARED='no' SPI_IN=0x22fc2282 SPI_OUT=0xb0c0405e ipsec _updown 2>&1: | route_and_eroute: firewall_notified: true | running updown command "ipsec _updown" for verb prepare | command executing prepare-client | executing prepare-client: PLUTO_VERB='prepare-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet-ikev2' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLUTO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@west' PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+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='' VTI_ROUTING='no' VTI_SHARED='no' S | popen cmd is 1045 chars long | cmd( 0):PLUTO_VERB='prepare-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastne: | cmd( 80):t-ikev2' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23: | cmd( 160):' PLUTO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.: | cmd( 240):2.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0: | cmd( 320):' PLUTO_SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_: | cmd( 400):ID='@west' PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PL: | cmd( 480):UTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0': | cmd( 560): PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='RSAS: | cmd( 640):IG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_: | cmd( 720):KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CI: | cmd( 800):SCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PL: | cmd( 880):UTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' VTI: | cmd( 960):_ROUTING='no' VTI_SHARED='no' SPI_IN=0x22fc2282 SPI_OUT=0xb0c0405e ipsec _updown: | cmd(1040): 2>&1: | running updown command "ipsec _updown" for verb route | command executing route-client | executing route-client: PLUTO_VERB='route-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet-ikev2' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLUTO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@west' PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+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='' VTI_ROUTING='no' VTI_SHARED='no' SPI_I | popen cmd is 1043 chars long | cmd( 0):PLUTO_VERB='route-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet-: | cmd( 80):ikev2' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' : | cmd( 160):PLUTO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.: | cmd( 240):0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' : | cmd( 320):PLUTO_SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID: | cmd( 400):='@west' PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUT: | cmd( 480):O_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' P: | cmd( 560):LUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='RSASIG: | cmd( 640):+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KI: | cmd( 720):ND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISC: | cmd( 800):O='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUT: | cmd( 880):O_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' VTI_R: | cmd( 960):OUTING='no' VTI_SHARED='no' SPI_IN=0x22fc2282 SPI_OUT=0xb0c0405e ipsec _updown 2: | cmd(1040):>&1: | route_and_eroute: instance "westnet-eastnet-ikev2", setting eroute_owner {spd=0x559ecd5d17e8,sr=0x559ecd5d17e8} to #2 (was #0) (newest_ipsec_sa=#0) | #1 spent 1.68 milliseconds in install_ipsec_sa() | ISAKMP_v2_IKE_AUTH: instance westnet-eastnet-ikev2[0], setting IKEv2 newest_ipsec_sa to #2 (was #0) (spd.eroute=#2) cloned from #1 | adding 14 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 16 zero bytes of length of truncated HMAC/KEY into IKEv2 Encryption Payload | emitting length of IKEv2 Encryption Payload: 436 | emitting length of ISAKMP Message: 464 | data being hmac: 53 c0 5f 4d d3 72 53 d0 bc f1 22 c3 21 3e b3 97 | data being hmac: 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | data being hmac: 90 d9 2d c2 14 75 ab 34 6e 1c 4d fb d2 c0 bb 6d | data being hmac: e0 e0 14 f5 de f2 3c 26 5d 9e 09 d1 e4 9e b4 16 | data being hmac: 2a a5 a1 64 d2 70 d7 5c 3c 27 be dc 64 2f 5b 5f | data being hmac: 82 a7 26 dc 38 b1 9b ab 44 85 0a 1a cc 0d 3d 82 | data being hmac: 9b 5b 66 7c a4 12 28 fb ba f8 fd a9 fa 67 3b f3 | data being hmac: 25 b6 f0 d8 97 f0 26 bf c3 88 78 ed 5e 74 ae d0 | data being hmac: 8d dd e8 e3 f2 1a 9e f6 b9 2e a7 a8 58 f3 c4 75 | data being hmac: 1f e1 d7 b6 96 78 30 d3 82 41 af 9f 23 2b 05 ee | data being hmac: 02 aa 5d 75 a2 24 a8 da fa 71 68 76 71 63 13 5d | data being hmac: ae 33 26 3a 77 9f 36 35 60 eb f8 68 8d ed 93 92 | data being hmac: 3c ae 9f dd 34 b7 09 82 7a 24 81 dd 04 d6 d3 a4 | data being hmac: 02 ef 4f 5b 98 10 bc 5b 87 16 98 88 fa 54 5b 2d | data being hmac: 09 1a d4 63 f7 4d a7 07 d5 db ec d6 f5 72 ba 5a | data being hmac: 09 c5 42 60 30 ba 49 37 0c 3a 5c dd eb 53 7d fd | data being hmac: 3c f1 86 a8 8f de d4 9d 6f 49 18 5e 79 d8 a9 ae | data being hmac: 27 2b a9 6e 11 16 e3 14 af 9e 8f 89 9f 38 8e c8 | data being hmac: fd 49 d1 df 99 79 3a 62 2c 88 64 51 e6 71 e8 97 | data being hmac: 79 5e 0c ea 3d d9 9f 08 e7 71 22 79 d9 6f 6b b7 | data being hmac: c4 df a3 4f 77 05 ad 47 85 23 5e b9 69 3c 0c 6f | data being hmac: c5 77 a8 a8 5e 7f 96 dc 16 65 1e c7 36 41 13 96 | data being hmac: 6d 13 45 de 02 a1 13 55 b5 0c 8b 98 4d 80 2f 3f | data being hmac: de 4f 1b f2 67 12 3b 4a 38 5e d6 6f d6 81 3f 1c | data being hmac: d6 a3 2d 24 b9 27 26 01 1e 5c 52 05 00 d3 13 5e | data being hmac: 49 94 cd bb a3 d4 23 5b df ce f2 d9 5f 00 83 de | data being hmac: de 5f c9 7c a5 40 90 e6 c7 20 4f ba 15 f2 e8 56 | data being hmac: f2 60 d0 79 84 de ca 3f 1c 16 c2 02 56 07 01 57 | out calculated auth: | 0d 40 36 d7 aa 0a 1d 0f 49 3f 12 72 14 1c a5 ff | ikev2_parent_inI2outR2_continue_tail returned STF_OK | #1 spent 7.72 milliseconds in processing: Responder: process IKE_AUTH request in ikev2_process_state_packet() | suspend processing: state #1 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | start processing: state #2 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #2 complete_v2_state_transition() md.from_state=PARENT_R1 md.svm.state[from]=PARENT_R1 UNDEFINED->V2_IPSEC_R with status STF_OK | IKEv2: transition from state STATE_PARENT_R1 to state STATE_V2_IPSEC_R | child state #2: UNDEFINED(ignore) => V2_IPSEC_R(established CHILD SA) | Message ID: updating counters for #2 to 1 after switching state | Message ID: recv #1.#2 request 1; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0->1; child: wip.initiator=-1 wip.responder=1->-1 | Message ID: sent #1.#2 response 1; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0->1 responder.recv=1; child: wip.initiator=-1 wip.responder=-1 | pstats #2 ikev2.child established "westnet-eastnet-ikev2" #2: negotiated connection [192.0.2.0-192.0.2.255:0-65535 0] -> [192.0.1.0-192.0.1.255:0-65535 0] | NAT-T: encaps is 'auto' "westnet-eastnet-ikev2" #2: STATE_V2_IPSEC_R: IPsec SA established tunnel mode {ESP=>0x22fc2282 <0xb0c0405e xfrm=AES_CBC_256-HMAC_SHA2_256_128 NATOA=none NATD=none DPD=passive} | sending V2 new request packet to 192.1.2.45:500 (from 192.1.2.23:500) | sending 464 bytes for STATE_PARENT_R1 through eth1 from 192.1.2.23:500 to 192.1.2.45:500 (using #1) | 53 c0 5f 4d d3 72 53 d0 bc f1 22 c3 21 3e b3 97 | 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | 90 d9 2d c2 14 75 ab 34 6e 1c 4d fb d2 c0 bb 6d | e0 e0 14 f5 de f2 3c 26 5d 9e 09 d1 e4 9e b4 16 | 2a a5 a1 64 d2 70 d7 5c 3c 27 be dc 64 2f 5b 5f | 82 a7 26 dc 38 b1 9b ab 44 85 0a 1a cc 0d 3d 82 | 9b 5b 66 7c a4 12 28 fb ba f8 fd a9 fa 67 3b f3 | 25 b6 f0 d8 97 f0 26 bf c3 88 78 ed 5e 74 ae d0 | 8d dd e8 e3 f2 1a 9e f6 b9 2e a7 a8 58 f3 c4 75 | 1f e1 d7 b6 96 78 30 d3 82 41 af 9f 23 2b 05 ee | 02 aa 5d 75 a2 24 a8 da fa 71 68 76 71 63 13 5d | ae 33 26 3a 77 9f 36 35 60 eb f8 68 8d ed 93 92 | 3c ae 9f dd 34 b7 09 82 7a 24 81 dd 04 d6 d3 a4 | 02 ef 4f 5b 98 10 bc 5b 87 16 98 88 fa 54 5b 2d | 09 1a d4 63 f7 4d a7 07 d5 db ec d6 f5 72 ba 5a | 09 c5 42 60 30 ba 49 37 0c 3a 5c dd eb 53 7d fd | 3c f1 86 a8 8f de d4 9d 6f 49 18 5e 79 d8 a9 ae | 27 2b a9 6e 11 16 e3 14 af 9e 8f 89 9f 38 8e c8 | fd 49 d1 df 99 79 3a 62 2c 88 64 51 e6 71 e8 97 | 79 5e 0c ea 3d d9 9f 08 e7 71 22 79 d9 6f 6b b7 | c4 df a3 4f 77 05 ad 47 85 23 5e b9 69 3c 0c 6f | c5 77 a8 a8 5e 7f 96 dc 16 65 1e c7 36 41 13 96 | 6d 13 45 de 02 a1 13 55 b5 0c 8b 98 4d 80 2f 3f | de 4f 1b f2 67 12 3b 4a 38 5e d6 6f d6 81 3f 1c | d6 a3 2d 24 b9 27 26 01 1e 5c 52 05 00 d3 13 5e | 49 94 cd bb a3 d4 23 5b df ce f2 d9 5f 00 83 de | de 5f c9 7c a5 40 90 e6 c7 20 4f ba 15 f2 e8 56 | f2 60 d0 79 84 de ca 3f 1c 16 c2 02 56 07 01 57 | 0d 40 36 d7 aa 0a 1d 0f 49 3f 12 72 14 1c a5 ff | releasing whack for #2 (sock=fd@-1) | releasing whack and unpending for parent #1 | unpending state #1 connection "westnet-eastnet-ikev2" | #2 will start re-keying in 28530 seconds with margin of 270 seconds (attempting re-key) | event_schedule: new EVENT_SA_REKEY-pe@0x7f1aa4002b78 | inserting event EVENT_SA_REKEY, timeout in 28530 seconds for #2 | libevent_malloc: new ptr-libevent@0x559ecd5d8978 size 128 | resume sending helper answer for #1 suppresed complete_v2_state_transition() | #1 spent 8.47 milliseconds in resume sending helper answer | stop processing: state #2 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in resume_handler() at server.c:833) | libevent_free: release ptr-libevent@0x7f1a9c00a868 | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00422 milliseconds in signal handler PLUTO_SIGCHLD | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00267 milliseconds in signal handler PLUTO_SIGCHLD | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00262 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00286 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 80 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 53 c0 5f 4d d3 72 53 d0 bc f1 22 c3 21 3e b3 97 | 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | d6 3a 2d d6 9c 88 45 d4 48 6f d7 44 e4 b0 d8 04 | 32 7f fa 90 ea d9 34 ad 92 9d 97 13 7f 50 77 7f | 6e dc df 72 80 5d 1e 43 90 72 21 65 be 69 e9 85 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 53 c0 5f 4d d3 72 53 d0 | responder cookie: | bc f1 22 c3 21 3e b3 97 | next payload type: ISAKMP_NEXT_v2SK (0x2e) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_INFORMATIONAL (0x25) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 2 (0x2) | length: 80 (0x50) | processing version=2.0 packet with exchange type=ISAKMP_v2_INFORMATIONAL (37) | I am the IKE SA Original Responder receiving an IKEv2 INFORMATIONAL request | State DB: found IKEv2 state #1 in PARENT_R2 (find_v2_ike_sa) | start processing: state #1 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2016) | State DB: IKEv2 state not found (find_v2_sa_by_responder_wip) | [RE]START processing: state #1 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ike_process_packet() at ikev2.c:2064) | #1 st.st_msgid_lastrecv 1 md.hdr.isa_msgid 00000002 | Message ID: #1 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=1 responder.recv=1 | 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 (0x34) | processing payload: ISAKMP_NEXT_v2SK (len=48) | Message ID: start-responder #1 request 2; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=1 responder.recv=1 wip.initiator=-1 wip.responder=-1->2 | #1 in state PARENT_R2: received v2I2, PARENT SA established | data for hmac: 53 c0 5f 4d d3 72 53 d0 bc f1 22 c3 21 3e b3 97 | data for hmac: 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | data for hmac: d6 3a 2d d6 9c 88 45 d4 48 6f d7 44 e4 b0 d8 04 | data for hmac: 32 7f fa 90 ea d9 34 ad 92 9d 97 13 7f 50 77 7f | calculated auth: 6e dc df 72 80 5d 1e 43 90 72 21 65 be 69 e9 85 | provided auth: 6e dc df 72 80 5d 1e 43 90 72 21 65 be 69 e9 85 | 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 (0xc) | protocol ID: PROTO_v2_ESP (0x3) | SPI size: 4 (0x4) | number of SPIs: 1 (0x1) | processing payload: ISAKMP_NEXT_v2D (len=4) | selected state microcode R2: process INFORMATIONAL Request | Now let's proceed with state specific processing | calling processor R2: process INFORMATIONAL Request | an informational request should send a response | Received an INFORMATIONAL response, updating st_last_liveness, no pending_liveness | **emit ISAKMP Message: | initiator cookie: | 53 c0 5f 4d d3 72 53 d0 | responder cookie: | bc f1 22 c3 21 3e b3 97 | 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_MSG_RESPONSE (0x20) | Message ID: 2 (0x2) | 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 22 fc 22 82 | delete PROTO_v2_ESP SA(0x22fc2282) | v2 CHILD SA #2 found using their inbound (our outbound) SPI, in STATE_V2_IPSEC_R | State DB: found IKEv2 state #2 in V2_IPSEC_R (find_v2_child_sa_by_outbound_spi) | our side SPI that needs to be deleted: PROTO_v2_ESP SA(0x22fc2282) "westnet-eastnet-ikev2" #1: received Delete SA payload: delete IPsec State #2 now | pstats #2 ikev2.child deleted completed | suspend processing: state #1 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in delete_state() at state.c:879) | start processing: state #2 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in delete_state() at state.c:879) "westnet-eastnet-ikev2" #2: deleting other state #2 (STATE_V2_IPSEC_R) aged 0.128s and NOT sending notification | child state #2: V2_IPSEC_R(established CHILD SA) => delete | get_sa_info esp.22fc2282@192.1.2.45 | get_sa_info esp.b0c0405e@192.1.2.23 "westnet-eastnet-ikev2" #2: ESP traffic information: in=0B out=0B | child state #2: V2_IPSEC_R(established CHILD SA) => CHILDSA_DEL(informational) | state #2 requesting EVENT_SA_REKEY to be deleted | libevent_free: release ptr-libevent@0x559ecd5d8978 | free_event_entry: release EVENT_SA_REKEY-pe@0x7f1aa4002b78 | running updown command "ipsec _updown" for verb down | command executing down-client | executing down-client: PLUTO_VERB='down-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet-ikev2' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLUTO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@west' PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='1566825096' PLUTO_CONN_POLICY='RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+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='' VTI_ROUTING='no' VTI_SHARED='no | popen cmd is 1051 chars long | cmd( 0):PLUTO_VERB='down-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet-i: | cmd( 80):kev2' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' P: | cmd( 160):LUTO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0: | cmd( 240):' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' P: | cmd( 320):LUTO_SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID=: | cmd( 400):'@west' PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO: | cmd( 480):_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PL: | cmd( 560):UTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='1566825096' PLUTO_CONN_POLICY: | cmd( 640):='RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO: | cmd( 720):_CONN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_P: | cmd( 800):EER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER: | cmd( 880):='' PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE=: | cmd( 960):'' VTI_ROUTING='no' VTI_SHARED='no' SPI_IN=0x22fc2282 SPI_OUT=0xb0c0405e ipsec _: | cmd(1040):updown 2>&1: | shunt_eroute() called for connection 'westnet-eastnet-ikev2' to 'replace with shunt' for rt_kind 'prospective erouted' using protoports 0--0->-0 | netlink_shunt_eroute for proto 0, and source port 0 dest port 0 | priority calculation of connection "westnet-eastnet-ikev2" is 0xfe7e7 | IPsec Sa SPD priority set to 1042407 | delete esp.22fc2282@192.1.2.45 | netlink response for Del SA esp.22fc2282@192.1.2.45 included non-error error | priority calculation of connection "westnet-eastnet-ikev2" is 0xfe7e7 | delete inbound eroute 192.0.1.0/24:0 --0-> 192.0.2.0/24:0 => unk255.10000@192.1.2.23 (raw_eroute) | raw_eroute result=success | delete esp.b0c0405e@192.1.2.23 | netlink response for Del SA esp.b0c0405e@192.1.2.23 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) | stop processing: state #2 from 192.1.2.45:500 (in delete_state() at state.c:1143) | resume processing: state #1 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in delete_state() at state.c:1143) | ****emit IKEv2 Delete Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | protocol ID: PROTO_v2_ESP (0x3) | SPI size: 4 (0x4) | number of SPIs: 1 (0x1) | 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 b0 c0 40 5e | 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 | data being hmac: 53 c0 5f 4d d3 72 53 d0 bc f1 22 c3 21 3e b3 97 | data being hmac: 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | data being hmac: 6e ed 0b dc bf 04 de 63 00 48 b9 02 5f 9d 5e ad | data being hmac: 4e ff 47 dc 12 34 4d 83 fe bc e0 22 51 a1 a8 bc | out calculated auth: | 91 17 db 27 8c 09 5f 89 9d 04 3f 30 fa 6d 9d e1 | sending 80 bytes for reply packet for process_encrypted_informational_ikev2 through eth1 from 192.1.2.23:500 to 192.1.2.45:500 (using #1) | 53 c0 5f 4d d3 72 53 d0 bc f1 22 c3 21 3e b3 97 | 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | 6e ed 0b dc bf 04 de 63 00 48 b9 02 5f 9d 5e ad | 4e ff 47 dc 12 34 4d 83 fe bc e0 22 51 a1 a8 bc | 91 17 db 27 8c 09 5f 89 9d 04 3f 30 fa 6d 9d e1 | Message ID: #1 XXX: in process_encrypted_informational_ikev2() hacking around record'n'send bypassing send queue hacking around delete_my_family(); initiator.sent=-1 initiator.recv=-1 responder.sent=1 responder.recv=1 wip.initiator=-1 wip.responder=2 | Message ID: sent #1 response 2; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=1->2 responder.recv=1 wip.initiator=-1 wip.responder=2 | #1 spent 1.01 milliseconds in processing: R2: process INFORMATIONAL Request in ikev2_process_state_packet() | [RE]START processing: state #1 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #1 complete_v2_state_transition() PARENT_R2->PARENT_R2 with status STF_OK | Message ID: updating counters for #1 to 2 after switching state | Message ID: recv #1 request 2; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=1->2 wip.initiator=-1 wip.responder=2->-1 | Message ID: #1 skipping update_send as nothing to send; initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=2 wip.initiator=-1 wip.responder=-1 "westnet-eastnet-ikev2" #1: STATE_PARENT_R2: received v2I2, PARENT SA established | stop processing: state #1 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2018) | #1 spent 1.21 milliseconds in ikev2_process_packet() | stop processing: from 192.1.2.45:500 (in process_md() at demux.c:380) | processing: STOP state #0 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 1.23 milliseconds in comm_handle_cb() reading and processing packet | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00459 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00228 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 80 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 53 c0 5f 4d d3 72 53 d0 bc f1 22 c3 21 3e b3 97 | 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | e4 e2 a2 cb 8a 56 40 ef 52 a5 4a 82 20 1e a6 b5 | 32 e5 8b 8b dc 8d f1 f6 4c 99 fd bd 34 d1 9e ce | 52 28 32 43 ec e9 6d b4 42 91 40 85 c3 0b c7 d3 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 53 c0 5f 4d d3 72 53 d0 | responder cookie: | bc f1 22 c3 21 3e b3 97 | next payload type: ISAKMP_NEXT_v2SK (0x2e) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_INFORMATIONAL (0x25) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 3 (0x3) | length: 80 (0x50) | processing version=2.0 packet with exchange type=ISAKMP_v2_INFORMATIONAL (37) | I am the IKE SA Original Responder receiving an IKEv2 INFORMATIONAL request | State DB: found IKEv2 state #1 in PARENT_R2 (find_v2_ike_sa) | start processing: state #1 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2016) | State DB: IKEv2 state not found (find_v2_sa_by_responder_wip) | [RE]START processing: state #1 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ike_process_packet() at ikev2.c:2064) | #1 st.st_msgid_lastrecv 2 md.hdr.isa_msgid 00000003 | Message ID: #1 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=2 | 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 (0x34) | processing payload: ISAKMP_NEXT_v2SK (len=48) | Message ID: start-responder #1 request 3; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=2 wip.initiator=-1 wip.responder=-1->3 | #1 in state PARENT_R2: received v2I2, PARENT SA established | data for hmac: 53 c0 5f 4d d3 72 53 d0 bc f1 22 c3 21 3e b3 97 | data for hmac: 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | data for hmac: e4 e2 a2 cb 8a 56 40 ef 52 a5 4a 82 20 1e a6 b5 | data for hmac: 32 e5 8b 8b dc 8d f1 f6 4c 99 fd bd 34 d1 9e ce | calculated auth: 52 28 32 43 ec e9 6d b4 42 91 40 85 c3 0b c7 d3 | provided auth: 52 28 32 43 ec e9 6d b4 42 91 40 85 c3 0b c7 d3 | 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 (0x8) | protocol ID: PROTO_v2_IKE (0x1) | SPI size: 0 (0x0) | number of SPIs: 0 (0x0) | processing payload: ISAKMP_NEXT_v2D (len=0) | selected state microcode R2: process INFORMATIONAL Request | Now let's proceed with state specific processing | calling processor R2: process INFORMATIONAL Request | an informational request should send a response | Received an INFORMATIONAL response, updating st_last_liveness, no pending_liveness | **emit ISAKMP Message: | initiator cookie: | 53 c0 5f 4d d3 72 53 d0 | responder cookie: | bc f1 22 c3 21 3e b3 97 | 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_MSG_RESPONSE (0x20) | Message ID: 3 (0x3) | 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 | data being hmac: 53 c0 5f 4d d3 72 53 d0 bc f1 22 c3 21 3e b3 97 | data being hmac: 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | data being hmac: 6e 74 12 9d fe c0 71 12 4b df e4 b6 67 ae ac f3 | data being hmac: cf b5 35 ed a4 cf 61 1d 8c d8 8f 09 4d a3 ca b2 | out calculated auth: | a7 26 eb 7f 5d de ae 35 b5 18 e0 0c 4d 60 71 24 | sending 80 bytes for reply packet for process_encrypted_informational_ikev2 through eth1 from 192.1.2.23:500 to 192.1.2.45:500 (using #1) | 53 c0 5f 4d d3 72 53 d0 bc f1 22 c3 21 3e b3 97 | 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | 6e 74 12 9d fe c0 71 12 4b df e4 b6 67 ae ac f3 | cf b5 35 ed a4 cf 61 1d 8c d8 8f 09 4d a3 ca b2 | a7 26 eb 7f 5d de ae 35 b5 18 e0 0c 4d 60 71 24 | Message ID: #1 XXX: in process_encrypted_informational_ikev2() hacking around record'n'send bypassing send queue hacking around delete_my_family(); initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=2 wip.initiator=-1 wip.responder=3 | Message ID: sent #1 response 3; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=2->3 responder.recv=2 wip.initiator=-1 wip.responder=3 | State DB: IKEv2 state not found (delete_my_family) | parent state #1: PARENT_R2(established IKE SA) => IKESA_DEL(established IKE SA) | pstats #1 ikev2.ike deleted completed | #1 spent 12.9 milliseconds in total | [RE]START processing: state #1 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in delete_state() at state.c:879) "westnet-eastnet-ikev2" #1: deleting state (STATE_IKESA_DEL) aged 0.156s and NOT sending notification | parent state #1: IKESA_DEL(established IKE SA) => delete | state #1 requesting EVENT_SA_REKEY to be deleted | libevent_free: release ptr-libevent@0x559ecd5d3aa8 | free_event_entry: release EVENT_SA_REKEY-pe@0x559ecd5d3728 | State DB: IKEv2 state not found (flush_incomplete_children) | in connection_discard for connection westnet-eastnet-ikev2 | State DB: deleting IKEv2 state #1 in IKESA_DEL | parent state #1: IKESA_DEL(established IKE SA) => UNDEFINED(ignore) | unreference key: 0x559ecd52ac48 @west cnt 2-- | stop processing: state #1 from 192.1.2.45:500 (in delete_state() at state.c:1143) | in statetime_stop() and could not find #1 | skip start processing: state #0 (in complete_v2_state_transition() at ikev2.c:3379) | #0 complete_v2_state_transition() md.from_state=PARENT_R2 md.svm.state[from]=PARENT_R2 UNDEFINED->PARENT_R2 with status STF_OK | STF_OK but no state object remains | processing: STOP state #0 (in ikev2_process_packet() at ikev2.c:2018) | in statetime_stop() and could not find #1 | stop processing: from 192.1.2.45:500 (in process_md() at demux.c:380) | processing: STOP state #0 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.407 milliseconds in comm_handle_cb() reading and processing packet | spent 0.00326 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 580 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 0f 32 6a 80 c0 1b 0f 69 00 00 00 00 00 00 00 00 | 21 20 22 08 00 00 00 00 00 00 02 44 22 00 00 3c | 00 00 00 38 01 01 00 05 03 00 00 0c 01 00 00 0c | 80 0e 01 00 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 0f 28 00 01 88 00 0f 00 00 | 7e 41 ea 14 a2 2d 10 67 d3 d9 f9 b0 28 37 2c 0f | f7 b4 ae 3a c9 4c c9 98 6a 82 4e 5e 8a 30 f4 ce | fa 69 73 f5 12 17 45 bb f3 3b 2a 38 36 80 1c cc | 35 7f 58 96 cc 8a e4 fc ce 07 97 39 16 40 c3 5f | fc d9 04 8e cc 9b 0f e4 89 2f 94 93 02 97 4a a9 | 2a 96 b4 ba 6c ff a0 33 5c 25 cc a4 dc 5f ff 7f | fd 5a a3 50 d6 a4 0e 11 38 b0 c5 ff 32 a3 9d 76 | 83 3a 79 ba 5b 7c 05 09 0d 7a 47 1a 05 0c 19 08 | ad ef 89 a2 04 71 ad 96 11 a4 55 fa 6a 3e 0f 52 | d4 ad 50 1b 3c be 43 bf f7 cd a8 fc f6 2d 33 d4 | 54 7b e2 fe 8d ef ce 27 a5 49 0c 64 d4 3a 99 a7 | d2 ea d7 f4 f8 20 e2 de ae e6 13 8f 8c a8 0f 1c | f6 88 12 38 b9 52 83 04 49 9a a5 2e be c8 86 cd | cd 73 94 67 b4 e9 92 e1 cd df d2 14 97 b1 eb fe | ad 82 95 a6 88 51 8a 6d 4a ff 80 76 a1 7d 66 6f | d7 56 3b 22 7f f0 f5 e4 31 67 70 ac 14 16 48 86 | 45 d6 63 c2 10 22 ce a7 eb 0d c1 6d 61 ae 93 28 | 9c 75 cb 55 52 33 66 e3 c1 fc c8 f9 83 55 6a de | 16 29 26 95 f4 1a c1 00 2e 68 65 11 36 d3 24 00 | 06 b7 74 e2 e5 86 8f bd 04 00 e0 d7 4f 9c 0f d7 | ff 29 1a 62 c6 f1 fe 9e 81 28 27 81 4f dd 7f 98 | ae 8a fd c8 94 0e 02 a4 55 f4 5a a3 19 b0 e0 59 | 48 ef 82 97 a2 b1 16 8a 0a bb 90 ba 6e d5 7c f5 | 0b 05 43 7d ac 17 0d 0b 08 98 ad c8 c8 bf be 6c | 29 00 00 24 00 25 67 07 1e f0 b2 36 c2 62 59 45 | dc 43 6f 40 07 bb 68 0d 8b e3 80 43 2e 67 ba 3d | 52 36 43 e4 29 00 00 08 00 00 40 2e 29 00 00 1c | 00 00 40 04 68 a5 01 84 ea e1 24 02 fb c6 a0 75 | 68 0e 0a f3 f1 85 89 cd 00 00 00 1c 00 00 40 05 | e0 0b d2 da fd ec 1e 35 19 61 a4 97 34 2a 84 33 | 6e 14 e4 51 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 0f 32 6a 80 c0 1b 0f 69 | responder cookie: | 00 00 00 00 00 00 00 00 | next payload type: ISAKMP_NEXT_v2SA (0x21) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_IKE_SA_INIT (0x22) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 0 (0x0) | length: 580 (0x244) | processing version=2.0 packet with exchange type=ISAKMP_v2_IKE_SA_INIT (34) | I am the IKE SA Original Responder receiving an IKEv2 IKE_SA_INIT request | State DB: IKEv2 state not found (find_v2_ike_sa_by_initiator_spi) | Now let's proceed with payload (ISAKMP_NEXT_v2SA) | ***parse IKEv2 Security Association Payload: | next payload type: ISAKMP_NEXT_v2KE (0x22) | flags: none (0x0) | length: 60 (0x3c) | processing payload: ISAKMP_NEXT_v2SA (len=56) | 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: 392 (0x188) | DH group: OAKLEY_GROUP_MODP3072 (0xf) | processing payload: ISAKMP_NEXT_v2KE (len=384) | 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 (0x24) | 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 (0x8) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | 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 (0x1c) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | 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 (0x1c) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | Notify Message Type: v2N_NAT_DETECTION_DESTINATION_IP (0x4005) | processing payload: ISAKMP_NEXT_v2N (len=20) | DDOS disabled and no cookie sent, continuing | find_host_connection local=192.1.2.23:500 remote=192.1.2.45:500 policy=ECDSA+IKEV2_ALLOW but ignoring ports | find_host_pair: comparing 192.1.2.23:500 to 192.1.2.45:500 but ignoring ports | find_next_host_connection policy=ECDSA+IKEV2_ALLOW | found policy = RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO (westnet-eastnet-ikev2) | find_next_host_connection returns empty | find_host_connection local=192.1.2.23:500 remote= policy=ECDSA+IKEV2_ALLOW but ignoring ports | find_next_host_connection policy=ECDSA+IKEV2_ALLOW | find_next_host_connection returns empty | initial parent SA message received on 192.1.2.23:500 but no connection has been authorized with policy ECDSA+IKEV2_ALLOW | find_host_connection local=192.1.2.23:500 remote=192.1.2.45:500 policy=RSASIG+IKEV2_ALLOW but ignoring ports | find_host_pair: comparing 192.1.2.23:500 to 192.1.2.45:500 but ignoring ports | find_next_host_connection policy=RSASIG+IKEV2_ALLOW | found policy = RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO (westnet-eastnet-ikev2) | find_next_host_connection returns westnet-eastnet-ikev2 | find_next_host_connection policy=RSASIG+IKEV2_ALLOW | find_next_host_connection returns empty | found connection: westnet-eastnet-ikev2 with policy RSASIG+IKEV2_ALLOW | creating state object #3 at 0x559ecd5d5578 | State DB: adding IKEv2 state #3 in UNDEFINED | pstats #3 ikev2.ike started | Message ID: init #3: msgid=0 lastack=4294967295 nextuse=0 lastrecv=4294967295 lastreplied=0 | parent state #3: UNDEFINED(ignore) => PARENT_R0(half-open IKE SA) | Message ID: init_ike #3; ike: initiator.sent=0->-1 initiator.recv=0->-1 responder.sent=0->-1 responder.recv=0->-1 wip.initiator=0->-1 wip.responder=0->-1 | start processing: state #3 connection "westnet-eastnet-ikev2" from 192.1.2.45 (in ikev2_process_packet() at ikev2.c:2016) | State DB: IKEv2 state not found (find_v2_sa_by_responder_wip) | [RE]START processing: state #3 connection "westnet-eastnet-ikev2" from 192.1.2.45 (in ike_process_packet() at ikev2.c:2064) | #3 st.st_msgid_lastrecv -1 md.hdr.isa_msgid 00000000 | Message ID: #3 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=-1 responder.recv=-1 | Message ID: start-responder #3 request 0; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=-1 responder.recv=-1 wip.initiator=-1 wip.responder=-1->0 | #3 in state PARENT_R0: processing SA_INIT request | selected state microcode Respond to IKE_SA_INIT | Now let's proceed with state specific processing | calling processor Respond to IKE_SA_INIT | #3 updating local interface from 192.1.2.23:500 to 192.1.2.23:500 using md->iface (in update_ike_endpoints() at state.c:2669) | using existing local IKE proposals for connection westnet-eastnet-ikev2 (IKE SA responder matching remote proposals): 1:IKE:ENCR=AES_GCM_C_256;PRF=HMAC_SHA2_512,HMAC_SHA2_256;INTEG=NONE;DH=MODP2048,MODP3072,MODP4096,MODP8192,ECP_256,ECP_384,ECP_521,CURVE25519 2:IKE:ENCR=AES_GCM_C_128;PRF=HMAC_SHA2_512,HMAC_SHA2_256;INTEG=NONE;DH=MODP2048,MODP3072,MODP4096,MODP8192,ECP_256,ECP_384,ECP_521,CURVE25519 3:IKE:ENCR=AES_CBC_256;PRF=HMAC_SHA2_512,HMAC_SHA2_256;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=MODP2048,MODP3072,MODP4096,MODP8192,ECP_256,ECP_384,ECP_521,CURVE25519 4:IKE:ENCR=AES_CBC_128;PRF=HMAC_SHA2_512,HMAC_SHA2_256;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=MODP2048,MODP3072,MODP4096,MODP8192,ECP_256,ECP_384,ECP_521,CURVE25519 | Comparing remote proposals against IKE responder 4 local proposals | local proposal 1 type ENCR has 1 transforms | local proposal 1 type PRF has 2 transforms | local proposal 1 type INTEG has 1 transforms | local proposal 1 type DH has 8 transforms | local proposal 1 type ESN has 0 transforms | local proposal 1 transforms: required: ENCR+PRF+DH; optional: INTEG | local proposal 2 type ENCR has 1 transforms | local proposal 2 type PRF has 2 transforms | local proposal 2 type INTEG has 1 transforms | local proposal 2 type DH has 8 transforms | local proposal 2 type ESN has 0 transforms | local proposal 2 transforms: required: ENCR+PRF+DH; optional: INTEG | local proposal 3 type ENCR has 1 transforms | local proposal 3 type PRF has 2 transforms | local proposal 3 type INTEG has 2 transforms | local proposal 3 type DH has 8 transforms | local proposal 3 type ESN has 0 transforms | local proposal 3 transforms: required: ENCR+PRF+INTEG+DH; optional: none | local proposal 4 type ENCR has 1 transforms | local proposal 4 type PRF has 2 transforms | local proposal 4 type INTEG has 2 transforms | local proposal 4 type DH has 8 transforms | local proposal 4 type ESN has 0 transforms | local proposal 4 transforms: required: ENCR+PRF+INTEG+DH; optional: none | ****parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | length: 56 (0x38) | prop #: 1 (0x1) | proto ID: IKEv2_SEC_PROTO_IKE (0x1) | spi size: 0 (0x0) | # transforms: 5 (0x5) | Comparing remote proposal 1 containing 5 transforms against local proposal [1..4] of 4 local proposals | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 12 (0xc) | IKEv2 transform type: TRANS_TYPE_ENCR (0x1) | IKEv2 transform ID: AES_CBC (0xc) | ******parse IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 256 (0x100) | remote proposal 1 transform 0 (ENCR=AES_CBC_256) matches local proposal 3 type 1 (ENCR) transform 0 | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 12 (0xc) | 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 (0x80) | remote proposal 1 transform 1 (ENCR=AES_CBC_128) matches local proposal 4 type 1 (ENCR) transform 0 | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_PRF (0x2) | IKEv2 transform ID: PRF_HMAC_SHA2_256 (0x5) | remote proposal 1 transform 2 (PRF=HMAC_SHA2_256) matches local proposal 1 type 2 (PRF) transform 1 | remote proposal 1 transform 2 (PRF=HMAC_SHA2_256) matches local proposal 2 type 2 (PRF) transform 1 | remote proposal 1 transform 2 (PRF=HMAC_SHA2_256) matches local proposal 3 type 2 (PRF) transform 1 | remote proposal 1 transform 2 (PRF=HMAC_SHA2_256) matches local proposal 4 type 2 (PRF) transform 1 | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_INTEG (0x3) | IKEv2 transform ID: AUTH_HMAC_SHA2_256_128 (0xc) | remote proposal 1 transform 3 (INTEG=HMAC_SHA2_256_128) matches local proposal 3 type 3 (INTEG) transform 1 | remote proposal 1 transform 3 (INTEG=HMAC_SHA2_256_128) matches local proposal 4 type 3 (INTEG) transform 1 | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_LAST (0x0) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP3072 (0xf) | remote proposal 1 transform 4 (DH=MODP3072) matches local proposal 1 type 4 (DH) transform 1 | remote proposal 1 transform 4 (DH=MODP3072) matches local proposal 2 type 4 (DH) transform 1 | remote proposal 1 transform 4 (DH=MODP3072) matches local proposal 3 type 4 (DH) transform 1 | remote proposal 1 transform 4 (DH=MODP3072) matches local proposal 4 type 4 (DH) transform 1 | 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+DH; optional: INTEG; matched: PRF+DH | remote proposal 1 does not match local proposal 1; unmatched transforms: ENCR+INTEG; missing transforms: ENCR | comparing remote proposal 1 containing ENCR+PRF+INTEG+DH transforms to local proposal 2; required: ENCR+PRF+DH; optional: INTEG; matched: PRF+DH | remote proposal 1 does not match local proposal 2; unmatched transforms: ENCR+INTEG; missing transforms: ENCR | comparing remote proposal 1 containing ENCR+PRF+INTEG+DH transforms to local proposal 3; required: ENCR+PRF+INTEG+DH; optional: none; matched: ENCR+PRF+INTEG+DH | remote proposal 1 matches local proposal 3 "westnet-eastnet-ikev2" #3: proposal 1:IKE:ENCR=AES_CBC_256;PRF=HMAC_SHA2_256;INTEG=HMAC_SHA2_256_128;DH=MODP3072 chosen from remote proposals 1:IKE:ENCR=AES_CBC_256;ENCR=AES_CBC_128;PRF=HMAC_SHA2_256;INTEG=HMAC_SHA2_256_128;DH=MODP3072[first-match] | accepted IKE proposal ikev2_proposal: 1:IKE:ENCR=AES_CBC_256;PRF=HMAC_SHA2_256;INTEG=HMAC_SHA2_256_128;DH=MODP3072 | converting proposal to internal trans attrs | natd_hash: rcookie is zero | natd_hash: hasher=0x559ecc52c800(20) | natd_hash: icookie= 0f 32 6a 80 c0 1b 0f 69 | natd_hash: rcookie= 00 00 00 00 00 00 00 00 | natd_hash: ip= c0 01 02 17 | natd_hash: port=500 | natd_hash: hash= e0 0b d2 da fd ec 1e 35 19 61 a4 97 34 2a 84 33 | natd_hash: hash= 6e 14 e4 51 | natd_hash: rcookie is zero | natd_hash: hasher=0x559ecc52c800(20) | natd_hash: icookie= 0f 32 6a 80 c0 1b 0f 69 | natd_hash: rcookie= 00 00 00 00 00 00 00 00 | natd_hash: ip= c0 01 02 2d | natd_hash: port=500 | natd_hash: hash= 68 a5 01 84 ea e1 24 02 fb c6 a0 75 68 0e 0a f3 | natd_hash: hash= f1 85 89 cd | NAT_TRAVERSAL encaps using auto-detect | NAT_TRAVERSAL this end is NOT behind NAT | NAT_TRAVERSAL that end is NOT behind NAT | NAT_TRAVERSAL nat-keepalive enabled 192.1.2.45 | adding ikev2_inI1outR1 KE work-order 3 for state #3 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x559ecd5d3728 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #3 | libevent_malloc: new ptr-libevent@0x7f1a9c00a868 size 128 | #3 spent 0.283 milliseconds in processing: Respond to IKE_SA_INIT in ikev2_process_state_packet() | [RE]START processing: state #3 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #3 complete_v2_state_transition() PARENT_R0->PARENT_R1 with status STF_SUSPEND | suspending state #3 and saving MD | crypto helper 2 resuming | crypto helper 2 starting work-order 3 for state #3 | #3 is busy; has a suspended MD | crypto helper 2 doing build KE and nonce (ikev2_inI1outR1 KE); request ID 3 | [RE]START processing: state #3 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in log_stf_suspend() at ikev2.c:3269) | "westnet-eastnet-ikev2" #3 complete v2 state STATE_PARENT_R0 transition with STF_SUSPEND suspended from complete_v2_state_transition:3451 | stop processing: state #3 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2018) | #3 spent 0.653 milliseconds in ikev2_process_packet() | stop processing: from 192.1.2.45:500 (in process_md() at demux.c:380) | processing: STOP state #0 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.665 milliseconds in comm_handle_cb() reading and processing packet | crypto helper 2 finished build KE and nonce (ikev2_inI1outR1 KE); request ID 3 time elapsed 0.002471 seconds | (#3) spent 2.47 milliseconds in crypto helper computing work-order 3: ikev2_inI1outR1 KE (pcr) | crypto helper 2 sending results from work-order 3 for state #3 to event queue | scheduling resume sending helper answer for #3 | libevent_malloc: new ptr-libevent@0x7f1aa0001b78 size 128 | crypto helper 2 waiting (nothing to do) | processing resume sending helper answer for #3 | start processing: state #3 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in resume_handler() at server.c:797) | crypto helper 2 replies to request ID 3 | calling continuation function 0x559ecc457b50 | ikev2_parent_inI1outR1_continue for #3: calculated ke+nonce, sending R1 | **emit ISAKMP Message: | initiator cookie: | 0f 32 6a 80 c0 1b 0f 69 | responder cookie: | 03 ba d9 80 88 bd 80 9a | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_IKE_SA_INIT (0x22) | flags: ISAKMP_FLAG_v2_MSG_RESPONSE (0x20) | Message ID: 0 (0x0) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | Emitting ikev2_proposal ... | ***emit IKEv2 Security Association Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'ISAKMP Message'.'next payload type' to current IKEv2 Security Association Payload (33:ISAKMP_NEXT_v2SA) | next payload chain: saving location 'IKEv2 Security Association Payload'.'next payload type' in 'reply packet' | ****emit IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | prop #: 1 (0x1) | proto ID: IKEv2_SEC_PROTO_IKE (0x1) | spi size: 0 (0x0) | # transforms: 4 (0x4) | 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: 256 (0x100) | 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' 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' 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_MODP3072 (0xf) | last substructure: checking 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' 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_MODP3072 (0xf) | 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 384 raw bytes of ikev2 g^x into IKEv2 Key Exchange Payload | ikev2 g^x 74 69 3c 77 92 25 fd f6 12 1c 07 28 b2 cd 2e 53 | ikev2 g^x d8 e0 3c 0b 49 e0 6c 5a c0 d8 53 9b 60 c9 fb 0d | ikev2 g^x ea ea 0a d0 ce af 58 8b 92 ef 01 2b 7a 67 e8 88 | ikev2 g^x bb cd 5b 4c ec ab 82 36 22 5a f8 73 52 a1 2f f4 | ikev2 g^x a8 85 de 50 26 61 43 94 b5 0a 65 f9 0e aa a6 e1 | ikev2 g^x 66 f2 96 13 23 f0 db 0f 3b 7c a4 ab a9 e8 37 80 | ikev2 g^x 79 2a 6f 6d 75 b4 32 c7 58 de aa 2d ea b7 75 43 | ikev2 g^x 83 2a 08 fa 87 7d 27 6a 81 10 7d 89 d9 7b 1a 61 | ikev2 g^x d9 69 7c a3 10 e1 a6 c0 12 c0 cf 63 30 c6 d0 11 | ikev2 g^x e2 69 bc b8 b4 3f 2e 5a 6a 24 09 4e 33 49 dd 69 | ikev2 g^x c4 33 14 f8 b8 6d b0 16 0d ae 6a 6b 11 de 37 ca | ikev2 g^x 57 9d 9d 4c 5d d8 17 6f e6 c0 6e 5c 43 da 53 37 | ikev2 g^x 74 c0 36 c5 e9 a6 19 45 03 0d 7f af 26 44 ef e7 | ikev2 g^x 7e fd c7 38 97 b2 5a 67 a4 ba f3 d1 ab 0d 93 a4 | ikev2 g^x aa be f4 7c 76 d4 c5 59 d3 6d db e7 2a 7f 44 20 | ikev2 g^x 23 42 0f 31 5b ec d7 1f 42 83 2e 2f 5a 04 c1 bf | ikev2 g^x ec 41 76 ce 3a 3a b6 25 0f 93 01 f8 00 cd d5 ad | ikev2 g^x 37 80 e9 97 71 1f 1c 73 12 00 a3 8e 5a 9e 92 90 | ikev2 g^x f9 e5 8a be 11 92 71 fc e9 6a 27 a1 c7 21 ba 07 | ikev2 g^x ee d4 07 85 a6 d0 3a 51 fc cd 31 8b 8c 63 0d 67 | ikev2 g^x 58 3c 10 46 3e 78 35 ff a4 55 84 e9 e7 bc 8a 8b | ikev2 g^x 36 b8 fb dd 3a d3 bf 2a 98 ae 1b e5 60 34 ea 34 | ikev2 g^x 73 e6 0f c7 f1 8d 2d d8 8b 54 3d c4 7d d0 09 15 | ikev2 g^x 8a 80 36 ae 49 7e cb dd ec b9 a9 37 13 73 0b b9 | emitting length of IKEv2 Key Exchange Payload: 392 | ***emit IKEv2 Nonce Payload: | next payload type: ISAKMP_NEXT_v2N (0x29) | flags: none (0x0) | next payload chain: ignoring supplied 'IKEv2 Nonce Payload'.'next payload type' value 41:ISAKMP_NEXT_v2N | 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 b3 37 cb 04 79 58 fc 09 85 2d ca 1e fe e7 e8 45 | IKEv2 nonce 95 4a e4 3a aa b6 34 36 2f c7 cc 9d 53 00 68 53 | 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: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | Notify Message Type: v2N_IKEV2_FRAGMENTATION_SUPPORTED (0x402e) | next payload chain: setting previous 'IKEv2 Nonce Payload'.'next payload type' to current IKEv2 Notify Payload (41:ISAKMP_NEXT_v2N) | next payload chain: saving location 'IKEv2 Notify Payload'.'next payload type' in 'reply packet' | emitting length of IKEv2 Notify Payload: 8 | NAT-Traversal support [enabled] add v2N payloads. | natd_hash: hasher=0x559ecc52c800(20) | natd_hash: icookie= 0f 32 6a 80 c0 1b 0f 69 | natd_hash: rcookie= 03 ba d9 80 88 bd 80 9a | natd_hash: ip= c0 01 02 17 | natd_hash: port=500 | natd_hash: hash= e2 05 bb e1 db c4 a6 e3 d4 13 17 5c 32 e8 05 be | natd_hash: hash= a4 e0 b8 6b | Adding a v2N Payload | ***emit IKEv2 Notify Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | 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 e2 05 bb e1 db c4 a6 e3 d4 13 17 5c 32 e8 05 be | Notify data a4 e0 b8 6b | emitting length of IKEv2 Notify Payload: 28 | natd_hash: hasher=0x559ecc52c800(20) | natd_hash: icookie= 0f 32 6a 80 c0 1b 0f 69 | natd_hash: rcookie= 03 ba d9 80 88 bd 80 9a | natd_hash: ip= c0 01 02 2d | natd_hash: port=500 | natd_hash: hash= 1d 40 5e 4e ba 48 75 13 30 f5 66 2d 54 61 68 53 | natd_hash: hash= fe 73 ce 3e | Adding a v2N Payload | ***emit IKEv2 Notify Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | 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 1d 40 5e 4e ba 48 75 13 30 f5 66 2d 54 61 68 53 | Notify data fe 73 ce 3e | emitting length of IKEv2 Notify Payload: 28 | emitting length of ISAKMP Message: 568 | [RE]START processing: state #3 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #3 complete_v2_state_transition() PARENT_R0->PARENT_R1 with status STF_OK | IKEv2: transition from state STATE_PARENT_R0 to state STATE_PARENT_R1 | parent state #3: PARENT_R0(half-open IKE SA) => PARENT_R1(half-open IKE SA) | Message ID: updating counters for #3 to 0 after switching state | Message ID: recv #3 request 0; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=-1 responder.recv=-1->0 wip.initiator=-1 wip.responder=0->-1 | Message ID: sent #3 response 0; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=-1->0 responder.recv=0 wip.initiator=-1 wip.responder=-1 "westnet-eastnet-ikev2" #3: STATE_PARENT_R1: received v2I1, sent v2R1 {auth=IKEv2 cipher=AES_CBC_256 integ=HMAC_SHA2_256_128 prf=HMAC_SHA2_256 group=MODP3072} | sending V2 new request packet to 192.1.2.45:500 (from 192.1.2.23:500) | sending 568 bytes for STATE_PARENT_R0 through eth1 from 192.1.2.23:500 to 192.1.2.45:500 (using #3) | 0f 32 6a 80 c0 1b 0f 69 03 ba d9 80 88 bd 80 9a | 21 20 22 20 00 00 00 00 00 00 02 38 22 00 00 30 | 00 00 00 2c 01 01 00 04 03 00 00 0c 01 00 00 0c | 80 0e 01 00 03 00 00 08 02 00 00 05 03 00 00 08 | 03 00 00 0c 00 00 00 08 04 00 00 0f 28 00 01 88 | 00 0f 00 00 74 69 3c 77 92 25 fd f6 12 1c 07 28 | b2 cd 2e 53 d8 e0 3c 0b 49 e0 6c 5a c0 d8 53 9b | 60 c9 fb 0d ea ea 0a d0 ce af 58 8b 92 ef 01 2b | 7a 67 e8 88 bb cd 5b 4c ec ab 82 36 22 5a f8 73 | 52 a1 2f f4 a8 85 de 50 26 61 43 94 b5 0a 65 f9 | 0e aa a6 e1 66 f2 96 13 23 f0 db 0f 3b 7c a4 ab | a9 e8 37 80 79 2a 6f 6d 75 b4 32 c7 58 de aa 2d | ea b7 75 43 83 2a 08 fa 87 7d 27 6a 81 10 7d 89 | d9 7b 1a 61 d9 69 7c a3 10 e1 a6 c0 12 c0 cf 63 | 30 c6 d0 11 e2 69 bc b8 b4 3f 2e 5a 6a 24 09 4e | 33 49 dd 69 c4 33 14 f8 b8 6d b0 16 0d ae 6a 6b | 11 de 37 ca 57 9d 9d 4c 5d d8 17 6f e6 c0 6e 5c | 43 da 53 37 74 c0 36 c5 e9 a6 19 45 03 0d 7f af | 26 44 ef e7 7e fd c7 38 97 b2 5a 67 a4 ba f3 d1 | ab 0d 93 a4 aa be f4 7c 76 d4 c5 59 d3 6d db e7 | 2a 7f 44 20 23 42 0f 31 5b ec d7 1f 42 83 2e 2f | 5a 04 c1 bf ec 41 76 ce 3a 3a b6 25 0f 93 01 f8 | 00 cd d5 ad 37 80 e9 97 71 1f 1c 73 12 00 a3 8e | 5a 9e 92 90 f9 e5 8a be 11 92 71 fc e9 6a 27 a1 | c7 21 ba 07 ee d4 07 85 a6 d0 3a 51 fc cd 31 8b | 8c 63 0d 67 58 3c 10 46 3e 78 35 ff a4 55 84 e9 | e7 bc 8a 8b 36 b8 fb dd 3a d3 bf 2a 98 ae 1b e5 | 60 34 ea 34 73 e6 0f c7 f1 8d 2d d8 8b 54 3d c4 | 7d d0 09 15 8a 80 36 ae 49 7e cb dd ec b9 a9 37 | 13 73 0b b9 29 00 00 24 b3 37 cb 04 79 58 fc 09 | 85 2d ca 1e fe e7 e8 45 95 4a e4 3a aa b6 34 36 | 2f c7 cc 9d 53 00 68 53 29 00 00 08 00 00 40 2e | 29 00 00 1c 00 00 40 04 e2 05 bb e1 db c4 a6 e3 | d4 13 17 5c 32 e8 05 be a4 e0 b8 6b 00 00 00 1c | 00 00 40 05 1d 40 5e 4e ba 48 75 13 30 f5 66 2d | 54 61 68 53 fe 73 ce 3e | state #3 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x7f1a9c00a868 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x559ecd5d3728 | event_schedule: new EVENT_SO_DISCARD-pe@0x559ecd5d3728 | inserting event EVENT_SO_DISCARD, timeout in 200 seconds for #3 | libevent_malloc: new ptr-libevent@0x559ecd5d3aa8 size 128 | resume sending helper answer for #3 suppresed complete_v2_state_transition() | #3 spent 0.415 milliseconds in resume sending helper answer | stop processing: state #3 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in resume_handler() at server.c:833) | libevent_free: release ptr-libevent@0x7f1aa0001b78 | spent 0.00277 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 480 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 0f 32 6a 80 c0 1b 0f 69 03 ba d9 80 88 bd 80 9a | 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | 01 f8 11 60 0a f4 f2 aa 03 15 be 80 d0 b4 9f a2 | e7 e4 60 de 33 c8 41 49 08 21 56 74 87 a1 88 25 | 5a 15 5a fa ae d4 94 00 4a ad b9 5d 86 14 73 41 | b3 29 44 4f a7 60 92 31 02 35 c5 93 b5 03 22 a6 | f9 27 e2 2c d7 5b 58 eb c5 e9 97 7d 3a e4 8e ca | 07 da 48 c3 5a 1a f0 72 85 ae e8 ac 45 5f 2b 47 | 6d 0d ec ee c4 37 46 c5 9e ae aa 52 a5 7d 8d 70 | 7c 88 b6 5a 40 e4 dd ce 0f ac a0 64 d7 8d fd 4e | fe 8c b2 93 67 d4 7d ea 43 60 02 ce b6 4c f0 82 | ef 33 40 92 11 d5 e6 a8 84 01 fd 1a 57 00 fb af | c6 22 6c d5 e7 2c 6b 25 c8 2f ef 64 87 75 b3 b4 | 9f 97 db 01 d2 5b b7 89 f6 c5 a6 49 44 50 31 38 | 95 9c 80 c7 41 f1 a8 ae 49 cc 06 a0 59 23 6f 1d | 2f 9f 78 d9 35 1a e3 33 df ac 24 fd 33 23 c1 51 | 22 47 cc 9f fc 0d 6d 80 21 b1 2e 52 d1 a2 86 03 | ab 5a fd 07 7c 87 b2 6d 1e 4a 8a 24 40 10 9a 63 | b7 e7 17 8c 1a 77 a6 99 e4 ee 64 d6 79 9b f8 bd | 32 e0 bc dd e3 64 03 3c 28 45 ac 32 6d 79 83 67 | 02 67 a8 e8 6e d5 db 23 74 75 ca de 5c 42 ea cb | 6b bf 91 ef c6 3f f4 0c 63 2e 54 9a 10 9e 58 3a | 30 a8 2b 0b 4a 9b 53 c6 c9 dd f1 e8 84 67 ed dc | 22 80 dc 77 64 e2 ec 40 5a a6 f8 8a 90 31 62 bb | 3e 28 5b 2f 87 e0 99 2d f3 34 7b 38 cf ae 0e 4e | 2f c4 ee 33 c0 44 47 98 ca 8a e4 52 45 7d dd 4e | 6c 3c 9b b5 60 e4 97 1f 7f d6 b4 87 35 ed 77 9a | 09 2e df 0a 3d 3f 77 7a 1e 4d 57 b8 10 8f 24 c0 | f1 e6 49 9e 98 c3 eb 6c 7c d0 f5 83 48 b5 18 9c | b6 95 77 16 f3 02 55 52 32 6c 54 69 a3 e7 c2 e1 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 0f 32 6a 80 c0 1b 0f 69 | responder cookie: | 03 ba d9 80 88 bd 80 9a | next payload type: ISAKMP_NEXT_v2SK (0x2e) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_IKE_AUTH (0x23) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 1 (0x1) | length: 480 (0x1e0) | processing version=2.0 packet with exchange type=ISAKMP_v2_IKE_AUTH (35) | I am the IKE SA Original Responder receiving an IKEv2 IKE_AUTH request | State DB: found IKEv2 state #3 in PARENT_R1 (find_v2_ike_sa) | start processing: state #3 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2016) | State DB: IKEv2 state not found (find_v2_sa_by_responder_wip) | [RE]START processing: state #3 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ike_process_packet() at ikev2.c:2064) | #3 st.st_msgid_lastrecv 0 md.hdr.isa_msgid 00000001 | Message ID: #3 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0 | unpacking clear payload | Now let's proceed with payload (ISAKMP_NEXT_v2SK) | ***parse IKEv2 Encryption Payload: | next payload type: ISAKMP_NEXT_v2IDi (0x23) | flags: none (0x0) | length: 452 (0x1c4) | processing payload: ISAKMP_NEXT_v2SK (len=448) | Message ID: start-responder #3 request 1; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0 wip.initiator=-1 wip.responder=-1->1 | #3 in state PARENT_R1: received v2I1, sent v2R1 | selected state microcode Responder: process IKE_AUTH request (no SKEYSEED) | Now let's proceed with state specific processing | calling processor Responder: process IKE_AUTH request (no SKEYSEED) | ikev2 parent inI2outR2: calculating g^{xy} in order to decrypt I2 | offloading IKEv2 SKEYSEED using prf=HMAC_SHA2_256 integ=HMAC_SHA2_256_128 cipherkey=AES_CBC | adding ikev2_inI2outR2 KE work-order 4 for state #3 | state #3 requesting EVENT_SO_DISCARD to be deleted | libevent_free: release ptr-libevent@0x559ecd5d3aa8 | free_event_entry: release EVENT_SO_DISCARD-pe@0x559ecd5d3728 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x559ecd5d3728 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #3 | libevent_malloc: new ptr-libevent@0x7f1aa0001b78 size 128 | #3 spent 0.0223 milliseconds in processing: Responder: process IKE_AUTH request (no SKEYSEED) in ikev2_process_state_packet() | [RE]START processing: state #3 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #3 complete_v2_state_transition() PARENT_R1->PARENT_R1 with status STF_SUSPEND | suspending state #3 and saving MD | #3 is busy; has a suspended MD | crypto helper 3 resuming | crypto helper 3 starting work-order 4 for state #3 | [RE]START processing: state #3 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in log_stf_suspend() at ikev2.c:3269) | crypto helper 3 doing compute dh (V2) (ikev2_inI2outR2 KE); request ID 4 | "westnet-eastnet-ikev2" #3 complete v2 state STATE_PARENT_R1 transition with STF_SUSPEND suspended from complete_v2_state_transition:3451 | stop processing: state #3 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2018) | #3 spent 0.157 milliseconds in ikev2_process_packet() | stop processing: from 192.1.2.45:500 (in process_md() at demux.c:380) | processing: STOP state #0 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.166 milliseconds in comm_handle_cb() reading and processing packet | calculating skeyseed using prf=sha2_256 integ=sha2_256 cipherkey-size=32 salt-size=0 | crypto helper 3 finished compute dh (V2) (ikev2_inI2outR2 KE); request ID 4 time elapsed 0.001696 seconds | (#3) spent 1.68 milliseconds in crypto helper computing work-order 4: ikev2_inI2outR2 KE (pcr) | crypto helper 3 sending results from work-order 4 for state #3 to event queue | scheduling resume sending helper answer for #3 | libevent_malloc: new ptr-libevent@0x7f1a94005a48 size 128 | crypto helper 3 waiting (nothing to do) | processing resume sending helper answer for #3 | start processing: state #3 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in resume_handler() at server.c:797) | crypto helper 3 replies to request ID 4 | calling continuation function 0x559ecc457b50 | ikev2_parent_inI2outR2_continue for #3: calculating g^{xy}, sending R2 | #3 in state PARENT_R1: received v2I1, sent v2R1 | data for hmac: 0f 32 6a 80 c0 1b 0f 69 03 ba d9 80 88 bd 80 9a | data for hmac: 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | data for hmac: 01 f8 11 60 0a f4 f2 aa 03 15 be 80 d0 b4 9f a2 | data for hmac: e7 e4 60 de 33 c8 41 49 08 21 56 74 87 a1 88 25 | data for hmac: 5a 15 5a fa ae d4 94 00 4a ad b9 5d 86 14 73 41 | data for hmac: b3 29 44 4f a7 60 92 31 02 35 c5 93 b5 03 22 a6 | data for hmac: f9 27 e2 2c d7 5b 58 eb c5 e9 97 7d 3a e4 8e ca | data for hmac: 07 da 48 c3 5a 1a f0 72 85 ae e8 ac 45 5f 2b 47 | data for hmac: 6d 0d ec ee c4 37 46 c5 9e ae aa 52 a5 7d 8d 70 | data for hmac: 7c 88 b6 5a 40 e4 dd ce 0f ac a0 64 d7 8d fd 4e | data for hmac: fe 8c b2 93 67 d4 7d ea 43 60 02 ce b6 4c f0 82 | data for hmac: ef 33 40 92 11 d5 e6 a8 84 01 fd 1a 57 00 fb af | data for hmac: c6 22 6c d5 e7 2c 6b 25 c8 2f ef 64 87 75 b3 b4 | data for hmac: 9f 97 db 01 d2 5b b7 89 f6 c5 a6 49 44 50 31 38 | data for hmac: 95 9c 80 c7 41 f1 a8 ae 49 cc 06 a0 59 23 6f 1d | data for hmac: 2f 9f 78 d9 35 1a e3 33 df ac 24 fd 33 23 c1 51 | data for hmac: 22 47 cc 9f fc 0d 6d 80 21 b1 2e 52 d1 a2 86 03 | data for hmac: ab 5a fd 07 7c 87 b2 6d 1e 4a 8a 24 40 10 9a 63 | data for hmac: b7 e7 17 8c 1a 77 a6 99 e4 ee 64 d6 79 9b f8 bd | data for hmac: 32 e0 bc dd e3 64 03 3c 28 45 ac 32 6d 79 83 67 | data for hmac: 02 67 a8 e8 6e d5 db 23 74 75 ca de 5c 42 ea cb | data for hmac: 6b bf 91 ef c6 3f f4 0c 63 2e 54 9a 10 9e 58 3a | data for hmac: 30 a8 2b 0b 4a 9b 53 c6 c9 dd f1 e8 84 67 ed dc | data for hmac: 22 80 dc 77 64 e2 ec 40 5a a6 f8 8a 90 31 62 bb | data for hmac: 3e 28 5b 2f 87 e0 99 2d f3 34 7b 38 cf ae 0e 4e | data for hmac: 2f c4 ee 33 c0 44 47 98 ca 8a e4 52 45 7d dd 4e | data for hmac: 6c 3c 9b b5 60 e4 97 1f 7f d6 b4 87 35 ed 77 9a | data for hmac: 09 2e df 0a 3d 3f 77 7a 1e 4d 57 b8 10 8f 24 c0 | data for hmac: f1 e6 49 9e 98 c3 eb 6c 7c d0 f5 83 48 b5 18 9c | calculated auth: b6 95 77 16 f3 02 55 52 32 6c 54 69 a3 e7 c2 e1 | provided auth: b6 95 77 16 f3 02 55 52 32 6c 54 69 a3 e7 c2 e1 | authenticator matched | #3 ikev2 ISAKMP_v2_IKE_AUTH decrypt success | Now let's proceed with payload (ISAKMP_NEXT_v2IDi) | **parse IKEv2 Identification - Initiator - Payload: | next payload type: ISAKMP_NEXT_v2IDr (0x24) | flags: none (0x0) | length: 12 (0xc) | ID type: ID_FQDN (0x2) | processing payload: ISAKMP_NEXT_v2IDi (len=4) | Now let's proceed with payload (ISAKMP_NEXT_v2IDr) | **parse IKEv2 Identification - Responder - Payload: | next payload type: ISAKMP_NEXT_v2AUTH (0x27) | flags: none (0x0) | length: 12 (0xc) | ID type: ID_FQDN (0x2) | 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: 282 (0x11a) | auth method: IKEv2_AUTH_RSA (0x1) | processing payload: ISAKMP_NEXT_v2AUTH (len=274) | 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: 56 (0x38) | processing payload: ISAKMP_NEXT_v2SA (len=52) | 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 (0x18) | number of TS: 1 (0x1) | 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 (0x18) | number of TS: 1 (0x1) | processing payload: ISAKMP_NEXT_v2TSr (len=16) | selected state microcode Responder: process IKE_AUTH request | Now let's proceed with state specific processing | calling processor Responder: process IKE_AUTH request "westnet-eastnet-ikev2" #3: processing decrypted IKE_AUTH request: SK{IDi,IDr,AUTH,SA,TSi,TSr} | #3 updating local interface from 192.1.2.23:500 to 192.1.2.23:500 using md->iface (in update_ike_endpoints() at state.c:2669) | received IDr payload - extracting our alleged ID | refine_host_connection for IKEv2: starting with "westnet-eastnet-ikev2" | match_id a=@west | b=@west | results matched | refine_host_connection: checking "westnet-eastnet-ikev2" against "westnet-eastnet-ikev2", best=(none) with match=1(id=1(0)/ca=1(0)/reqca=1(0)) | Warning: not switching back to template of current instance | Peer expects us to be @east (ID_FQDN) according to its IDr payload | This connection's local id is @east (ID_FQDN) | refine_host_connection: checked westnet-eastnet-ikev2 against westnet-eastnet-ikev2, now for see if best | started looking for secret for @east->@west of kind PKK_RSA | actually looking for secret for @east->@west of kind PKK_RSA | line 1: key type PKK_RSA(@east) to type PKK_RSA | 1: compared key (none) to @east / @west -> 002 | 2: compared key (none) to @east / @west -> 002 | line 1: match=002 | match 002 beats previous best_match 000 match=0x559ecd52ab58 (line=1) | concluding with best_match=002 best=0x559ecd52ab58 (lineno=1) | returning because exact peer id match | offered CA: '%none' "westnet-eastnet-ikev2" #3: IKEv2 mode peer ID is ID_FQDN: '@west' | verifying AUTH payload | required RSA CA is '%any' | checking RSA keyid '@east' for match with '@west' | checking RSA keyid '@west' for match with '@west' | key issuer CA is '%any' | an RSA Sig check passed with *AQOm9dY/4 [preloaded key] | #3 spent 0.0372 milliseconds in try_all_RSA_keys() trying a pubkey "westnet-eastnet-ikev2" #3: Authenticated using RSA | #3 spent 0.0549 milliseconds in ikev2_verify_rsa_hash() | parent state #3: PARENT_R1(half-open IKE SA) => PARENT_R2(established IKE SA) | #3 will start re-keying in 3330 seconds with margin of 270 seconds (attempting re-key) | state #3 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x7f1aa0001b78 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x559ecd5d3728 | event_schedule: new EVENT_SA_REKEY-pe@0x559ecd5d3728 | inserting event EVENT_SA_REKEY, timeout in 3330 seconds for #3 | libevent_malloc: new ptr-libevent@0x559ecd5dfd68 size 128 | pstats #3 ikev2.ike established | **emit ISAKMP Message: | initiator cookie: | 0f 32 6a 80 c0 1b 0f 69 | responder cookie: | 03 ba d9 80 88 bd 80 9a | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_IKE_AUTH (0x23) | flags: ISAKMP_FLAG_v2_MSG_RESPONSE (0x20) | Message ID: 1 (0x1) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | IKEv2 CERT: send a certificate? | IKEv2 CERT: no certificate to send | ***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 | Initiator child policy is compress=no, NOT sending v2N_IPCOMP_SUPPORTED | ****emit IKEv2 Identification - Responder - Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | ID type: ID_FQDN (0x2) | next payload chain: setting previous 'IKEv2 Encryption Payload'.'next payload type' to current IKEv2 Identification - Responder - Payload (36:ISAKMP_NEXT_v2IDr) | next payload chain: saving location 'IKEv2 Identification - Responder - Payload'.'next payload type' in 'reply packet' | emitting 4 raw bytes of my identity into IKEv2 Identification - Responder - Payload | my identity 65 61 73 74 | emitting length of IKEv2 Identification - Responder - Payload: 12 | assembled IDr payload | CHILD SA proposals received | going to assemble AUTH payload | ****emit IKEv2 Authentication Payload: | next payload type: ISAKMP_NEXT_v2SA (0x21) | flags: none (0x0) | auth method: IKEv2_AUTH_RSA (0x1) | next payload chain: ignoring supplied 'IKEv2 Authentication Payload'.'next payload type' value 33:ISAKMP_NEXT_v2SA | 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' | started looking for secret for @east->@west of kind PKK_RSA | actually looking for secret for @east->@west of kind PKK_RSA | line 1: key type PKK_RSA(@east) to type PKK_RSA | 1: compared key (none) to @east / @west -> 002 | 2: compared key (none) to @east / @west -> 002 | line 1: match=002 | match 002 beats previous best_match 000 match=0x559ecd52ab58 (line=1) | concluding with best_match=002 best=0x559ecd52ab58 (lineno=1) | #3 spent 2.78 milliseconds in ikev2_calculate_rsa_hash() calling sign_hash_RSA() | emitting 274 raw bytes of rsa signature into IKEv2 Authentication Payload | rsa signature 4a 48 ab 88 15 f8 82 7e 0e de dd 4e bc b3 e9 fe | rsa signature 89 cc 77 5a 31 c6 4b ac 96 a7 3a 43 c2 78 87 c4 | rsa signature ba 2d c5 90 7d 50 b8 e6 2a 96 74 25 d2 77 07 e3 | rsa signature 91 e2 64 87 1f ad aa 70 d2 43 04 42 b6 ab 88 b2 | rsa signature 38 21 f2 35 4a 60 96 2f a1 0b 9d 42 d5 ca e8 9b | rsa signature 2d fc 8f 19 4f a4 99 51 4a 08 58 55 c4 ba 4f 13 | rsa signature ec e5 05 ea aa 35 7d fc c6 10 2d 86 28 b8 68 e6 | rsa signature ab 18 1d ff 4f 5f 13 d8 48 75 90 84 38 48 74 a0 | rsa signature 18 6d 35 95 84 fa 8b 33 33 ca ed df d0 ba 0a fd | rsa signature a1 be c1 6e 14 21 ab ac 5a 45 75 68 fc 70 71 b9 | rsa signature dc 8d 47 fc bd 9b 2a 27 79 cb 24 57 1f 46 d1 d5 | rsa signature d3 eb 7f d6 04 c2 c8 73 e2 9c 94 4a ee 5a 8e e2 | rsa signature 5b 51 83 82 8c e8 63 8b 50 56 e6 8c 54 d2 63 72 | rsa signature 5b 5e 51 f0 c3 2d 0b f6 3e 09 89 1b 27 5d 71 63 | rsa signature 07 0e f1 58 cd 04 71 b9 f9 42 7f 5f 39 45 5c 8e | rsa signature 1f 9e 7e 99 d5 11 bd fe a1 8e 0a 70 23 c7 ba 73 | rsa signature f1 7e f8 ef 10 fd ee f0 be c6 65 c0 19 52 f9 8a | rsa signature fc f8 | #3 spent 2.84 milliseconds in ikev2_calculate_rsa_hash() | emitting length of IKEv2 Authentication Payload: 282 | creating state object #4 at 0x559ecd5e6a58 | State DB: adding IKEv2 state #4 in UNDEFINED | pstats #4 ikev2.child started | duplicating state object #3 "westnet-eastnet-ikev2" as #4 for IPSEC SA | #4 setting local endpoint to 192.1.2.23:500 from #3.st_localport (in duplicate_state() at state.c:1484) | Message ID: init_child #3.#4; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0; child: wip.initiator=0->-1 wip.responder=0->-1 | Message ID: switch-from #3 request 1; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0 wip.initiator=-1 wip.responder=1->-1 | Message ID: switch-to #3.#4 request 1; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0; child: wip.initiator=-1 wip.responder=-1->1 | Child SA TS Request has ike->sa == md->st; so using parent connection | TSi: parsing 1 traffic selectors | ***parse IKEv2 Traffic Selector: | TS type: IKEv2_TS_IPV4_ADDR_RANGE (0x7) | IP Protocol ID: 0 (0x0) | length: 16 (0x10) | start port: 0 (0x0) | end port: 65535 (0xffff) | 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: 0 (0x0) | length: 16 (0x10) | start port: 0 (0x0) | end port: 65535 (0xffff) | parsing 4 raw bytes of IKEv2 Traffic Selector into TS low | TS low c0 00 02 00 | parsing 4 raw bytes of IKEv2 Traffic Selector into TS high | TS high c0 00 02 ff | TSr: parsed 1 traffic selectors | looking for best SPD in current connection | evaluating our conn="westnet-eastnet-ikev2" I=192.0.1.0/24:0/0 R=192.0.2.0/24:0/0 to their: | TSi[0] .net=192.0.1.0-192.0.1.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.1.0/24 == TSi[0]net=192.0.1.0-192.0.1.255: YES fitness 32 | narrow port end=0..65535 == TSi[0]=0..65535: 0 | TSi[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSi[0]=*0: 0 | match end->protocol=*0 == TSi[0].ipprotoid=*0: YES fitness 255 | TSr[0] .net=192.0.2.0-192.0.2.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.2.0/24 == TSr[0]net=192.0.2.0-192.0.2.255: YES fitness 32 | narrow port end=0..65535 == TSr[0]=0..65535: 0 | TSr[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSr[0]=*0: 0 | match end->protocol=*0 == TSr[0].ipprotoid=*0: YES fitness 255 | best fit so far: TSi[0] TSr[0] | found better spd route for TSi[0],TSr[0] | looking for better host pair | find_host_pair: comparing 192.1.2.23:500 to 192.1.2.45:500 but ignoring ports | checking hostpair 192.0.2.0/24 -> 192.0.1.0/24 is found | investigating connection "westnet-eastnet-ikev2" as a better match | match_id a=@west | b=@west | results matched | evaluating our conn="westnet-eastnet-ikev2" I=192.0.1.0/24:0/0 R=192.0.2.0/24:0/0 to their: | TSi[0] .net=192.0.1.0-192.0.1.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.1.0/24 == TSi[0]net=192.0.1.0-192.0.1.255: YES fitness 32 | narrow port end=0..65535 == TSi[0]=0..65535: 0 | TSi[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSi[0]=*0: 0 | match end->protocol=*0 == TSi[0].ipprotoid=*0: YES fitness 255 | TSr[0] .net=192.0.2.0-192.0.2.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.2.0/24 == TSr[0]net=192.0.2.0-192.0.2.255: YES fitness 32 | narrow port end=0..65535 == TSr[0]=0..65535: 0 | TSr[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSr[0]=*0: 0 | match end->protocol=*0 == TSr[0].ipprotoid=*0: YES fitness 255 | best fit so far: TSi[0] TSr[0] | did not find a better connection using host pair | printing contents struct traffic_selector | ts_type: IKEv2_TS_IPV4_ADDR_RANGE | ipprotoid: 0 | port range: 0-65535 | ip range: 192.0.2.0-192.0.2.255 | printing contents struct traffic_selector | ts_type: IKEv2_TS_IPV4_ADDR_RANGE | ipprotoid: 0 | port range: 0-65535 | ip range: 192.0.1.0-192.0.1.255 | using existing local ESP/AH proposals for westnet-eastnet-ikev2 (IKE_AUTH responder matching remote ESP/AH proposals): 1:ESP:ENCR=AES_GCM_C_256;INTEG=NONE;DH=NONE;ESN=DISABLED 2:ESP:ENCR=AES_GCM_C_128;INTEG=NONE;DH=NONE;ESN=DISABLED 3:ESP:ENCR=AES_CBC_256;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=NONE;ESN=DISABLED 4:ESP:ENCR=AES_CBC_128;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=NONE;ESN=DISABLED | Comparing remote proposals against IKE_AUTH responder matching remote ESP/AH proposals 4 local proposals | local proposal 1 type ENCR has 1 transforms | local proposal 1 type PRF has 0 transforms | local proposal 1 type INTEG has 1 transforms | local proposal 1 type DH has 1 transforms | local proposal 1 type ESN has 1 transforms | local proposal 1 transforms: required: ENCR+ESN; optional: INTEG+DH | local proposal 2 type ENCR has 1 transforms | local proposal 2 type PRF has 0 transforms | local proposal 2 type INTEG has 1 transforms | local proposal 2 type DH has 1 transforms | local proposal 2 type ESN has 1 transforms | local proposal 2 transforms: required: ENCR+ESN; optional: INTEG+DH | local proposal 3 type ENCR has 1 transforms | local proposal 3 type PRF has 0 transforms | local proposal 3 type INTEG has 2 transforms | local proposal 3 type DH has 1 transforms | local proposal 3 type ESN has 1 transforms | local proposal 3 transforms: required: ENCR+INTEG+ESN; optional: DH | local proposal 4 type ENCR has 1 transforms | local proposal 4 type PRF has 0 transforms | local proposal 4 type INTEG has 2 transforms | local proposal 4 type DH has 1 transforms | local proposal 4 type ESN has 1 transforms | local proposal 4 transforms: required: ENCR+INTEG+ESN; optional: DH | ***parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | length: 52 (0x34) | prop #: 1 (0x1) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (0x4) | # transforms: 4 (0x4) | parsing 4 raw bytes of IKEv2 Proposal Substructure Payload into remote SPI | remote SPI d4 a3 d5 1e | Comparing remote proposal 1 containing 4 transforms against local proposal [1..4] of 4 local proposals | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 12 (0xc) | 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 (0x80) | remote proposal 1 transform 0 (ENCR=AES_CBC_128) matches local proposal 4 type 1 (ENCR) transform 0 | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 12 (0xc) | IKEv2 transform type: TRANS_TYPE_ENCR (0x1) | IKEv2 transform ID: AES_CBC (0xc) | *****parse IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 256 (0x100) | remote proposal 1 transform 1 (ENCR=AES_CBC_256) matches local proposal 3 type 1 (ENCR) transform 0 | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | 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 3 type 3 (INTEG) transform 1 | remote proposal 1 transform 2 (INTEG=HMAC_SHA2_256_128) matches local proposal 4 type 3 (INTEG) transform 1 | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_LAST (0x0) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_ESN (0x5) | IKEv2 transform ID: ESN_DISABLED (0x0) | remote proposal 1 transform 3 (ESN=DISABLED) matches local proposal 1 type 5 (ESN) transform 0 | remote proposal 1 transform 3 (ESN=DISABLED) matches local proposal 2 type 5 (ESN) transform 0 | remote proposal 1 transform 3 (ESN=DISABLED) matches local proposal 3 type 5 (ESN) transform 0 | remote proposal 1 transform 3 (ESN=DISABLED) matches local proposal 4 type 5 (ESN) transform 0 | remote proposal 1 proposed transforms: ENCR+INTEG+ESN; matched: ENCR+INTEG+ESN; unmatched: none | comparing remote proposal 1 containing ENCR+INTEG+ESN transforms to local proposal 1; required: ENCR+ESN; optional: INTEG+DH; matched: ESN | remote proposal 1 does not match local proposal 1; unmatched transforms: ENCR+INTEG; missing transforms: ENCR | comparing remote proposal 1 containing ENCR+INTEG+ESN transforms to local proposal 2; required: ENCR+ESN; optional: INTEG+DH; matched: ESN | remote proposal 1 does not match local proposal 2; unmatched transforms: ENCR+INTEG; missing transforms: ENCR | comparing remote proposal 1 containing ENCR+INTEG+ESN transforms to local proposal 3; required: ENCR+INTEG+ESN; optional: DH; matched: ENCR+INTEG+ESN | remote proposal 1 matches local proposal 3 "westnet-eastnet-ikev2" #3: proposal 1:ESP:SPI=d4a3d51e;ENCR=AES_CBC_256;INTEG=HMAC_SHA2_256_128;ESN=DISABLED chosen from remote proposals 1:ESP:ENCR=AES_CBC_128;ENCR=AES_CBC_256;INTEG=HMAC_SHA2_256_128;ESN=DISABLED[first-match] | IKE_AUTH responder matching remote ESP/AH proposals ikev2_proposal: 1:ESP:SPI=d4a3d51e;ENCR=AES_CBC_256;INTEG=HMAC_SHA2_256_128;ESN=DISABLED | converting proposal to internal trans attrs | netlink_get_spi: allocated 0xe09c013c for esp.0@192.1.2.23 | Emitting ikev2_proposal ... | ****emit IKEv2 Security Association Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'IKEv2 Authentication Payload'.'next payload type' to current IKEv2 Security Association Payload (33:ISAKMP_NEXT_v2SA) | next payload chain: saving location 'IKEv2 Security Association Payload'.'next payload type' in 'reply packet' | *****emit IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | prop #: 1 (0x1) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (0x4) | # transforms: 3 (0x3) | 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 e0 9c 01 3c | ******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 (0x100) | 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_256_128 (0xc) | last substructure: checking 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' 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' 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 | emitting length of IKEv2 Security Association Payload: 44 | 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 (0x1) | 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: 0 (0x0) | start port: 0 (0x0) | end port: 65535 (0xffff) | emitting 4 raw bytes of ipv4 start into IKEv2 Traffic Selector | ipv4 start c0 00 01 00 | emitting 4 raw bytes of ipv4 end into IKEv2 Traffic Selector | ipv4 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 (0x1) | 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: 0 (0x0) | start port: 0 (0x0) | end port: 65535 (0xffff) | emitting 4 raw bytes of ipv4 start into IKEv2 Traffic Selector | ipv4 start c0 00 02 00 | emitting 4 raw bytes of ipv4 end into IKEv2 Traffic Selector | ipv4 end c0 00 02 ff | emitting length of IKEv2 Traffic Selector: 16 | emitting length of IKEv2 Traffic Selector - Responder - Payload: 24 | Initiator child policy is compress=no, NOT sending v2N_IPCOMP_SUPPORTED | integ=sha2_256: .key_size=32 encrypt=aes: .key_size=32 .salt_size=0 keymat_len=64 | FOR_EACH_CONNECTION_... in ISAKMP_SA_established | install_ipsec_sa() for #4: inbound and outbound | could_route called for westnet-eastnet-ikev2 (kind=CK_PERMANENT) | 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" prospective erouted: self; eroute owner: self | looking for alg with encrypt: AES_CBC keylen: 256 integ: HMAC_SHA2_256_128 | encrypt AES_CBC keylen=256 transid=12, key_size=32, encryptalg=12 | st->st_esp.keymat_len=64 is encrypt_keymat_size=32 + integ_keymat_size=32 | 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 | 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.d4a3d51e@192.1.2.45 included non-error error | set up outgoing SA, ref=0/0 | looking for alg with encrypt: AES_CBC keylen: 256 integ: HMAC_SHA2_256_128 | encrypt AES_CBC keylen=256 transid=12, key_size=32, encryptalg=12 | st->st_esp.keymat_len=64 is encrypt_keymat_size=32 + integ_keymat_size=32 | 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 | 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.e09c013c@192.1.2.23 included non-error error | priority calculation of connection "westnet-eastnet-ikev2" is 0xfe7e7 | add inbound eroute 192.0.1.0/24:0 --0-> 192.0.2.0/24:0 => tun.10000@192.1.2.23 (raw_eroute) | IPsec Sa SPD priority set to 1042407 | raw_eroute result=success | set up incoming SA, ref=0/0 | sr for #4: prospective erouted | 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" prospective erouted: self; eroute owner: self | route_and_eroute with c: westnet-eastnet-ikev2 (next: none) ero:westnet-eastnet-ikev2 esr:{(nil)} ro:westnet-eastnet-ikev2 rosr:{(nil)} and state: #4 | priority calculation of connection "westnet-eastnet-ikev2" is 0xfe7e7 | eroute_connection replace eroute 192.0.2.0/24:0 --0-> 192.0.1.0/24:0 => tun.0@192.1.2.45>tun.0@192.1.2.45 (raw_eroute) | IPsec Sa SPD priority set to 1042407 | raw_eroute result=success | running updown command "ipsec _updown" for verb up | command executing up-client | executing up-client: PLUTO_VERB='up-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet-ikev2' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLUTO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@west' PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+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='' VTI_ROUTING='no' VTI_SHARED='no' SPI_IN=0xd4 | popen cmd is 1040 chars long | cmd( 0):PLUTO_VERB='up-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet-ike: | cmd( 80):v2' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLU: | cmd( 160):TO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' : | cmd( 240):PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLU: | cmd( 320):TO_SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@: | cmd( 400):west' PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_P: | cmd( 480):EER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUT: | cmd( 560):O_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='RSASIG+EN: | cmd( 640):CRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND=: | cmd( 720):'CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISCO=': | cmd( 800):0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_C: | cmd( 880):FG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' VTI_ROUT: | cmd( 960):ING='no' VTI_SHARED='no' SPI_IN=0xd4a3d51e SPI_OUT=0xe09c013c ipsec _updown 2>&1: | route_and_eroute: firewall_notified: true | route_and_eroute: instance "westnet-eastnet-ikev2", setting eroute_owner {spd=0x559ecd5d17e8,sr=0x559ecd5d17e8} to #4 (was #0) (newest_ipsec_sa=#0) | #3 spent 0.697 milliseconds in install_ipsec_sa() | ISAKMP_v2_IKE_AUTH: instance westnet-eastnet-ikev2[0], setting IKEv2 newest_ipsec_sa to #4 (was #0) (spd.eroute=#4) cloned from #3 | adding 14 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 16 zero bytes of length of truncated HMAC/KEY into IKEv2 Encryption Payload | emitting length of IKEv2 Encryption Payload: 436 | emitting length of ISAKMP Message: 464 | data being hmac: 0f 32 6a 80 c0 1b 0f 69 03 ba d9 80 88 bd 80 9a | data being hmac: 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | data being hmac: f8 cb 2b ca b8 87 15 b2 29 d0 e5 26 0e a4 ff e3 | data being hmac: 6c 4a 2a ac 65 f0 09 b3 70 1b 5a 19 a5 17 aa 57 | data being hmac: ba 78 40 c2 78 3b bf ac 93 12 f8 28 6b de 22 65 | data being hmac: a6 7f 79 9f dd 3e 5e d5 ee e8 c6 2f 48 38 c5 6e | data being hmac: e1 63 55 9b 3f 62 dc e4 24 51 2c d8 50 31 88 ef | data being hmac: a5 d5 78 d5 3c 22 35 73 d8 b4 96 03 ac 5c 72 2c | data being hmac: fb 3f e7 be 2f c0 ce bc 9d 7d 01 3e 11 a7 55 1c | data being hmac: fb fc 45 df 55 5a ed 03 38 04 36 ed 0a ee 3d f0 | data being hmac: c8 26 0c 98 60 e3 04 6f a5 bb da 18 52 3a 49 73 | data being hmac: ca d0 c5 91 b2 de 71 18 f4 4e c1 33 74 a3 3b 64 | data being hmac: 21 d8 9c 35 bd 3e 5d 65 d9 7a a2 4a fc cf 2d 42 | data being hmac: ef a2 6f e6 0d b5 f0 c1 c8 ad ad 90 93 98 a9 4f | data being hmac: 71 78 f8 59 72 ed 68 c3 4a 1e 8f ac 30 18 5a ef | data being hmac: ae ac e6 b3 0d f9 65 a4 b2 22 9d 3e f1 44 2b b0 | data being hmac: 61 f2 e1 a3 46 0f ac 6f a4 a0 50 de bb 2f f5 29 | data being hmac: 40 6f 32 af 45 f3 88 aa c4 99 33 e1 74 e0 c9 a0 | data being hmac: cf d7 61 da 52 6b 7f 53 99 76 ef 98 bb 7b 42 07 | data being hmac: 47 b6 11 bc 1a f0 d6 50 04 ea 5c c8 a2 e0 64 ab | data being hmac: c2 b1 8f aa 45 83 23 43 1a c0 c9 c5 3a f0 9b e8 | data being hmac: 2a d9 bc af 06 db 13 71 bc d1 fa c1 1a 73 9c 78 | data being hmac: f6 aa cc 9b 3a e1 c5 10 64 36 95 98 8c 88 76 ca | data being hmac: 8b 37 23 f1 af e2 4d 5a 74 f3 43 15 41 29 cc f7 | data being hmac: 5d 89 e3 0b c9 12 3a 02 ed 13 fd a8 5f 80 0a b6 | data being hmac: 7f 86 3c 57 72 a4 53 3e ec ac 4c 9c 9c 2c c1 05 | data being hmac: b4 04 e1 cc 7c a8 c7 05 ee 46 bc c7 3a 90 48 f5 | data being hmac: 97 08 d3 73 28 5f ff af f3 ae c0 14 fa 79 0f 40 | out calculated auth: | b0 5b ac 76 1d 23 ac 71 40 86 2b 70 d1 4e d9 a4 | ikev2_parent_inI2outR2_continue_tail returned STF_OK | #3 spent 4.53 milliseconds in processing: Responder: process IKE_AUTH request in ikev2_process_state_packet() | suspend processing: state #3 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | start processing: state #4 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #4 complete_v2_state_transition() md.from_state=PARENT_R1 md.svm.state[from]=PARENT_R1 UNDEFINED->V2_IPSEC_R with status STF_OK | IKEv2: transition from state STATE_PARENT_R1 to state STATE_V2_IPSEC_R | child state #4: UNDEFINED(ignore) => V2_IPSEC_R(established CHILD SA) | Message ID: updating counters for #4 to 1 after switching state | Message ID: recv #3.#4 request 1; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0->1; child: wip.initiator=-1 wip.responder=1->-1 | Message ID: sent #3.#4 response 1; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0->1 responder.recv=1; child: wip.initiator=-1 wip.responder=-1 | pstats #4 ikev2.child established "westnet-eastnet-ikev2" #4: negotiated connection [192.0.2.0-192.0.2.255:0-65535 0] -> [192.0.1.0-192.0.1.255:0-65535 0] | NAT-T: encaps is 'auto' "westnet-eastnet-ikev2" #4: STATE_V2_IPSEC_R: IPsec SA established tunnel mode {ESP=>0xd4a3d51e <0xe09c013c xfrm=AES_CBC_256-HMAC_SHA2_256_128 NATOA=none NATD=none DPD=passive} | sending V2 new request packet to 192.1.2.45:500 (from 192.1.2.23:500) | sending 464 bytes for STATE_PARENT_R1 through eth1 from 192.1.2.23:500 to 192.1.2.45:500 (using #3) | 0f 32 6a 80 c0 1b 0f 69 03 ba d9 80 88 bd 80 9a | 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | f8 cb 2b ca b8 87 15 b2 29 d0 e5 26 0e a4 ff e3 | 6c 4a 2a ac 65 f0 09 b3 70 1b 5a 19 a5 17 aa 57 | ba 78 40 c2 78 3b bf ac 93 12 f8 28 6b de 22 65 | a6 7f 79 9f dd 3e 5e d5 ee e8 c6 2f 48 38 c5 6e | e1 63 55 9b 3f 62 dc e4 24 51 2c d8 50 31 88 ef | a5 d5 78 d5 3c 22 35 73 d8 b4 96 03 ac 5c 72 2c | fb 3f e7 be 2f c0 ce bc 9d 7d 01 3e 11 a7 55 1c | fb fc 45 df 55 5a ed 03 38 04 36 ed 0a ee 3d f0 | c8 26 0c 98 60 e3 04 6f a5 bb da 18 52 3a 49 73 | ca d0 c5 91 b2 de 71 18 f4 4e c1 33 74 a3 3b 64 | 21 d8 9c 35 bd 3e 5d 65 d9 7a a2 4a fc cf 2d 42 | ef a2 6f e6 0d b5 f0 c1 c8 ad ad 90 93 98 a9 4f | 71 78 f8 59 72 ed 68 c3 4a 1e 8f ac 30 18 5a ef | ae ac e6 b3 0d f9 65 a4 b2 22 9d 3e f1 44 2b b0 | 61 f2 e1 a3 46 0f ac 6f a4 a0 50 de bb 2f f5 29 | 40 6f 32 af 45 f3 88 aa c4 99 33 e1 74 e0 c9 a0 | cf d7 61 da 52 6b 7f 53 99 76 ef 98 bb 7b 42 07 | 47 b6 11 bc 1a f0 d6 50 04 ea 5c c8 a2 e0 64 ab | c2 b1 8f aa 45 83 23 43 1a c0 c9 c5 3a f0 9b e8 | 2a d9 bc af 06 db 13 71 bc d1 fa c1 1a 73 9c 78 | f6 aa cc 9b 3a e1 c5 10 64 36 95 98 8c 88 76 ca | 8b 37 23 f1 af e2 4d 5a 74 f3 43 15 41 29 cc f7 | 5d 89 e3 0b c9 12 3a 02 ed 13 fd a8 5f 80 0a b6 | 7f 86 3c 57 72 a4 53 3e ec ac 4c 9c 9c 2c c1 05 | b4 04 e1 cc 7c a8 c7 05 ee 46 bc c7 3a 90 48 f5 | 97 08 d3 73 28 5f ff af f3 ae c0 14 fa 79 0f 40 | b0 5b ac 76 1d 23 ac 71 40 86 2b 70 d1 4e d9 a4 | releasing whack for #4 (sock=fd@-1) | releasing whack and unpending for parent #3 | unpending state #3 connection "westnet-eastnet-ikev2" | #4 will start re-keying in 28530 seconds with margin of 270 seconds (attempting re-key) | event_schedule: new EVENT_SA_REKEY-pe@0x559ecd5d52d8 | inserting event EVENT_SA_REKEY, timeout in 28530 seconds for #4 | libevent_malloc: new ptr-libevent@0x559ecd5d3aa8 size 128 | resume sending helper answer for #3 suppresed complete_v2_state_transition() | #3 spent 4.78 milliseconds in resume sending helper answer | stop processing: state #4 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in resume_handler() at server.c:833) | libevent_free: release ptr-libevent@0x7f1a94005a48 | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00339 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00286 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 80 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 0f 32 6a 80 c0 1b 0f 69 03 ba d9 80 88 bd 80 9a | 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | 12 6e 29 75 d1 45 a4 29 0b 94 43 3b 34 81 d0 eb | 3f c1 d7 9c b7 62 03 06 8d 50 33 de 9f bb 76 7e | 75 2d ba 69 a1 50 a4 72 81 a8 47 67 1a 10 76 c2 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 0f 32 6a 80 c0 1b 0f 69 | responder cookie: | 03 ba d9 80 88 bd 80 9a | next payload type: ISAKMP_NEXT_v2SK (0x2e) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_INFORMATIONAL (0x25) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 2 (0x2) | length: 80 (0x50) | processing version=2.0 packet with exchange type=ISAKMP_v2_INFORMATIONAL (37) | I am the IKE SA Original Responder receiving an IKEv2 INFORMATIONAL request | State DB: found IKEv2 state #3 in PARENT_R2 (find_v2_ike_sa) | start processing: state #3 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2016) | State DB: IKEv2 state not found (find_v2_sa_by_responder_wip) | [RE]START processing: state #3 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ike_process_packet() at ikev2.c:2064) | #3 st.st_msgid_lastrecv 1 md.hdr.isa_msgid 00000002 | Message ID: #3 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=1 responder.recv=1 | 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 (0x34) | processing payload: ISAKMP_NEXT_v2SK (len=48) | Message ID: start-responder #3 request 2; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=1 responder.recv=1 wip.initiator=-1 wip.responder=-1->2 | #3 in state PARENT_R2: received v2I2, PARENT SA established | data for hmac: 0f 32 6a 80 c0 1b 0f 69 03 ba d9 80 88 bd 80 9a | data for hmac: 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | data for hmac: 12 6e 29 75 d1 45 a4 29 0b 94 43 3b 34 81 d0 eb | data for hmac: 3f c1 d7 9c b7 62 03 06 8d 50 33 de 9f bb 76 7e | calculated auth: 75 2d ba 69 a1 50 a4 72 81 a8 47 67 1a 10 76 c2 | provided auth: 75 2d ba 69 a1 50 a4 72 81 a8 47 67 1a 10 76 c2 | authenticator matched | #3 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 (0xc) | protocol ID: PROTO_v2_ESP (0x3) | SPI size: 4 (0x4) | number of SPIs: 1 (0x1) | processing payload: ISAKMP_NEXT_v2D (len=4) | selected state microcode R2: process INFORMATIONAL Request | Now let's proceed with state specific processing | calling processor R2: process INFORMATIONAL Request | an informational request should send a response | Received an INFORMATIONAL response, updating st_last_liveness, no pending_liveness | **emit ISAKMP Message: | initiator cookie: | 0f 32 6a 80 c0 1b 0f 69 | responder cookie: | 03 ba d9 80 88 bd 80 9a | 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_MSG_RESPONSE (0x20) | Message ID: 2 (0x2) | 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 d4 a3 d5 1e | delete PROTO_v2_ESP SA(0xd4a3d51e) | v2 CHILD SA #4 found using their inbound (our outbound) SPI, in STATE_V2_IPSEC_R | State DB: found IKEv2 state #4 in V2_IPSEC_R (find_v2_child_sa_by_outbound_spi) | our side SPI that needs to be deleted: PROTO_v2_ESP SA(0xd4a3d51e) "westnet-eastnet-ikev2" #3: received Delete SA payload: delete IPsec State #4 now | pstats #4 ikev2.child deleted completed | suspend processing: state #3 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in delete_state() at state.c:879) | start processing: state #4 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in delete_state() at state.c:879) "westnet-eastnet-ikev2" #4: deleting other state #4 (STATE_V2_IPSEC_R) aged 0.103s and NOT sending notification | child state #4: V2_IPSEC_R(established CHILD SA) => delete | get_sa_info esp.d4a3d51e@192.1.2.45 | get_sa_info esp.e09c013c@192.1.2.23 "westnet-eastnet-ikev2" #4: ESP traffic information: in=0B out=0B | child state #4: V2_IPSEC_R(established CHILD SA) => CHILDSA_DEL(informational) | state #4 requesting EVENT_SA_REKEY to be deleted | libevent_free: release ptr-libevent@0x559ecd5d3aa8 | free_event_entry: release EVENT_SA_REKEY-pe@0x559ecd5d52d8 | running updown command "ipsec _updown" for verb down | command executing down-client | executing down-client: PLUTO_VERB='down-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet-ikev2' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLUTO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@west' PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='1566825096' PLUTO_CONN_POLICY='RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+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='' VTI_ROUTING='no' VTI_SHARED='no | popen cmd is 1051 chars long | cmd( 0):PLUTO_VERB='down-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet-i: | cmd( 80):kev2' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' P: | cmd( 160):LUTO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0: | cmd( 240):' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' P: | cmd( 320):LUTO_SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID=: | cmd( 400):'@west' PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO: | cmd( 480):_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PL: | cmd( 560):UTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='1566825096' PLUTO_CONN_POLICY: | cmd( 640):='RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO: | cmd( 720):_CONN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_P: | cmd( 800):EER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER: | cmd( 880):='' PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE=: | cmd( 960):'' VTI_ROUTING='no' VTI_SHARED='no' SPI_IN=0xd4a3d51e SPI_OUT=0xe09c013c ipsec _: | cmd(1040):updown 2>&1: | shunt_eroute() called for connection 'westnet-eastnet-ikev2' to 'replace with shunt' for rt_kind 'prospective erouted' using protoports 0--0->-0 | netlink_shunt_eroute for proto 0, and source port 0 dest port 0 | priority calculation of connection "westnet-eastnet-ikev2" is 0xfe7e7 | IPsec Sa SPD priority set to 1042407 | delete esp.d4a3d51e@192.1.2.45 | netlink response for Del SA esp.d4a3d51e@192.1.2.45 included non-error error | priority calculation of connection "westnet-eastnet-ikev2" is 0xfe7e7 | delete inbound eroute 192.0.1.0/24:0 --0-> 192.0.2.0/24:0 => unk255.10000@192.1.2.23 (raw_eroute) | raw_eroute result=success | delete esp.e09c013c@192.1.2.23 | netlink response for Del SA esp.e09c013c@192.1.2.23 included non-error error | in connection_discard for connection westnet-eastnet-ikev2 | State DB: deleting IKEv2 state #4 in CHILDSA_DEL | child state #4: CHILDSA_DEL(informational) => UNDEFINED(ignore) | stop processing: state #4 from 192.1.2.45:500 (in delete_state() at state.c:1143) | resume processing: state #3 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in delete_state() at state.c:1143) | ****emit IKEv2 Delete Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | protocol ID: PROTO_v2_ESP (0x3) | SPI size: 4 (0x4) | number of SPIs: 1 (0x1) | 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 e0 9c 01 3c | 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 | data being hmac: 0f 32 6a 80 c0 1b 0f 69 03 ba d9 80 88 bd 80 9a | data being hmac: 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | data being hmac: 4c 8c 13 41 b7 e2 39 9e 95 29 f7 b6 84 21 42 a0 | data being hmac: 4d cc 18 0f 7e e7 7a f8 15 07 7a 2a 55 d9 23 6f | out calculated auth: | c9 91 2c 3d da 5b ec 80 5b c0 87 42 0d b9 66 51 | sending 80 bytes for reply packet for process_encrypted_informational_ikev2 through eth1 from 192.1.2.23:500 to 192.1.2.45:500 (using #3) | 0f 32 6a 80 c0 1b 0f 69 03 ba d9 80 88 bd 80 9a | 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | 4c 8c 13 41 b7 e2 39 9e 95 29 f7 b6 84 21 42 a0 | 4d cc 18 0f 7e e7 7a f8 15 07 7a 2a 55 d9 23 6f | c9 91 2c 3d da 5b ec 80 5b c0 87 42 0d b9 66 51 | Message ID: #3 XXX: in process_encrypted_informational_ikev2() hacking around record'n'send bypassing send queue hacking around delete_my_family(); initiator.sent=-1 initiator.recv=-1 responder.sent=1 responder.recv=1 wip.initiator=-1 wip.responder=2 | Message ID: sent #3 response 2; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=1->2 responder.recv=1 wip.initiator=-1 wip.responder=2 | #3 spent 1.01 milliseconds in processing: R2: process INFORMATIONAL Request in ikev2_process_state_packet() | [RE]START processing: state #3 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #3 complete_v2_state_transition() PARENT_R2->PARENT_R2 with status STF_OK | Message ID: updating counters for #3 to 2 after switching state | Message ID: recv #3 request 2; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=1->2 wip.initiator=-1 wip.responder=2->-1 | Message ID: #3 skipping update_send as nothing to send; initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=2 wip.initiator=-1 wip.responder=-1 "westnet-eastnet-ikev2" #3: STATE_PARENT_R2: received v2I2, PARENT SA established | stop processing: state #3 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2018) | #3 spent 1.23 milliseconds in ikev2_process_packet() | stop processing: from 192.1.2.45:500 (in process_md() at demux.c:380) | processing: STOP state #0 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 1.25 milliseconds in comm_handle_cb() reading and processing packet | spent 0.0021 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 80 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 0f 32 6a 80 c0 1b 0f 69 03 ba d9 80 88 bd 80 9a | 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | 91 ae 76 20 ef b6 a9 2f 26 5f 29 cb 63 82 4c 6f | 4b 07 48 89 55 15 48 73 ac 66 21 5d 2a 9e fe cf | 9f b7 3b d4 be ef 3e e2 4f b6 3a 27 97 d3 bf cd | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 0f 32 6a 80 c0 1b 0f 69 | responder cookie: | 03 ba d9 80 88 bd 80 9a | next payload type: ISAKMP_NEXT_v2SK (0x2e) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_INFORMATIONAL (0x25) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 3 (0x3) | length: 80 (0x50) | processing version=2.0 packet with exchange type=ISAKMP_v2_INFORMATIONAL (37) | I am the IKE SA Original Responder receiving an IKEv2 INFORMATIONAL request | State DB: found IKEv2 state #3 in PARENT_R2 (find_v2_ike_sa) | start processing: state #3 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2016) | State DB: IKEv2 state not found (find_v2_sa_by_responder_wip) | [RE]START processing: state #3 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ike_process_packet() at ikev2.c:2064) | #3 st.st_msgid_lastrecv 2 md.hdr.isa_msgid 00000003 | Message ID: #3 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=2 | 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 (0x34) | processing payload: ISAKMP_NEXT_v2SK (len=48) | Message ID: start-responder #3 request 3; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=2 wip.initiator=-1 wip.responder=-1->3 | #3 in state PARENT_R2: received v2I2, PARENT SA established | data for hmac: 0f 32 6a 80 c0 1b 0f 69 03 ba d9 80 88 bd 80 9a | data for hmac: 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | data for hmac: 91 ae 76 20 ef b6 a9 2f 26 5f 29 cb 63 82 4c 6f | data for hmac: 4b 07 48 89 55 15 48 73 ac 66 21 5d 2a 9e fe cf | calculated auth: 9f b7 3b d4 be ef 3e e2 4f b6 3a 27 97 d3 bf cd | provided auth: 9f b7 3b d4 be ef 3e e2 4f b6 3a 27 97 d3 bf cd | authenticator matched | #3 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 (0x8) | protocol ID: PROTO_v2_IKE (0x1) | SPI size: 0 (0x0) | number of SPIs: 0 (0x0) | processing payload: ISAKMP_NEXT_v2D (len=0) | selected state microcode R2: process INFORMATIONAL Request | Now let's proceed with state specific processing | calling processor R2: process INFORMATIONAL Request | an informational request should send a response | Received an INFORMATIONAL response, updating st_last_liveness, no pending_liveness | **emit ISAKMP Message: | initiator cookie: | 0f 32 6a 80 c0 1b 0f 69 | responder cookie: | 03 ba d9 80 88 bd 80 9a | 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_MSG_RESPONSE (0x20) | Message ID: 3 (0x3) | 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 | data being hmac: 0f 32 6a 80 c0 1b 0f 69 03 ba d9 80 88 bd 80 9a | data being hmac: 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | data being hmac: fc 3e ea 1e de dd c3 03 c0 21 ab 72 9c 0f 57 05 | data being hmac: 84 e9 22 42 8f 6b 37 a0 56 f3 85 54 ec 3f 77 94 | out calculated auth: | c5 3f e4 4a 4c 23 69 e0 a0 69 83 c2 6c 26 88 4a | sending 80 bytes for reply packet for process_encrypted_informational_ikev2 through eth1 from 192.1.2.23:500 to 192.1.2.45:500 (using #3) | 0f 32 6a 80 c0 1b 0f 69 03 ba d9 80 88 bd 80 9a | 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | fc 3e ea 1e de dd c3 03 c0 21 ab 72 9c 0f 57 05 | 84 e9 22 42 8f 6b 37 a0 56 f3 85 54 ec 3f 77 94 | c5 3f e4 4a 4c 23 69 e0 a0 69 83 c2 6c 26 88 4a | Message ID: #3 XXX: in process_encrypted_informational_ikev2() hacking around record'n'send bypassing send queue hacking around delete_my_family(); initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=2 wip.initiator=-1 wip.responder=3 | Message ID: sent #3 response 3; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=2->3 responder.recv=2 wip.initiator=-1 wip.responder=3 | State DB: IKEv2 state not found (delete_my_family) | parent state #3: PARENT_R2(established IKE SA) => IKESA_DEL(established IKE SA) | pstats #3 ikev2.ike deleted completed | #3 spent 11.4 milliseconds in total | [RE]START processing: state #3 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in delete_state() at state.c:879) "westnet-eastnet-ikev2" #3: deleting state (STATE_IKESA_DEL) aged 0.132s and NOT sending notification | parent state #3: IKESA_DEL(established IKE SA) => delete | state #3 requesting EVENT_SA_REKEY to be deleted | libevent_free: release ptr-libevent@0x559ecd5dfd68 | free_event_entry: release EVENT_SA_REKEY-pe@0x559ecd5d3728 | State DB: IKEv2 state not found (flush_incomplete_children) | in connection_discard for connection westnet-eastnet-ikev2 | State DB: deleting IKEv2 state #3 in IKESA_DEL | parent state #3: IKESA_DEL(established IKE SA) => UNDEFINED(ignore) | unreference key: 0x559ecd52ac48 @west cnt 2-- | stop processing: state #3 from 192.1.2.45:500 (in delete_state() at state.c:1143) | in statetime_stop() and could not find #3 | skip start processing: state #0 (in complete_v2_state_transition() at ikev2.c:3379) | #0 complete_v2_state_transition() md.from_state=PARENT_R2 md.svm.state[from]=PARENT_R2 UNDEFINED->PARENT_R2 with status STF_OK | STF_OK but no state object remains | processing: STOP state #0 (in ikev2_process_packet() at ikev2.c:2018) | in statetime_stop() and could not find #3 | stop processing: from 192.1.2.45:500 (in process_md() at demux.c:380) | processing: STOP state #0 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.57 milliseconds in comm_handle_cb() reading and processing packet | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00428 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00287 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 708 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 9b bc 80 d8 98 39 99 b4 00 00 00 00 00 00 00 00 | 21 20 22 08 00 00 00 00 00 00 02 c4 22 00 00 3c | 00 00 00 38 01 01 00 05 03 00 00 0c 01 00 00 0c | 80 0e 01 00 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 10 28 00 02 08 00 10 00 00 | 4f e2 a8 f1 f4 cd d8 5b 80 21 eb 60 c0 7f 12 c9 | 6e d9 e6 41 ca b6 1b 8e 3d 9e 02 e3 53 f9 73 8a | 7d 17 06 bd 97 c5 14 7e 6e fb e4 3a 45 8b 09 0f | 44 68 bc 07 ca 8d 26 89 1d 64 c5 07 e9 bd 00 e0 | 4d d3 20 59 ae 3c f4 ca 94 05 c2 4e 9c 80 c4 80 | 04 23 f5 4b c0 a3 db 31 67 86 9e c0 bf 0a 1f ba | 87 4e da e9 bf 83 2a 42 51 69 ff 4f 4a 4a d9 f1 | f5 30 00 9b 99 30 3a 91 6f 36 b2 91 cd 23 18 82 | 78 c6 77 29 2a 23 80 85 13 49 e5 28 89 fd ff 08 | 29 d3 4a 46 ec 4a 22 e8 2f 31 a2 5e 71 43 b2 57 | 63 9e 79 d1 0a 74 18 d6 16 8e aa 49 81 15 03 47 | 73 67 6f 59 7d a7 4d 5e d0 73 5a 0e 18 07 61 08 | bb 0a a8 18 6b b5 b7 c1 70 63 0e 23 5d b5 6c 87 | b8 0a 2d e7 a1 d4 cb 11 8b d3 4b 62 45 43 cf 92 | 27 0a 9d 1c 51 de b0 45 88 14 7a 3d 51 14 ef 17 | 95 f4 a0 9b 39 45 51 e4 8a 6d ae 95 cb 9e 05 69 | 81 b3 62 8a 87 78 6a 28 67 71 75 b3 c4 d3 3f d7 | e0 5e 45 98 e3 70 c1 b4 51 22 18 58 d0 4d 77 c8 | 83 20 bd 52 3a a6 d0 6a 75 de b5 d7 67 c8 0d f9 | ed 64 e8 a9 83 4c 79 ad ff ae 48 04 8e 58 8c 44 | 16 39 5a a6 10 5e 03 45 28 cc cf 19 f5 ad 7a b6 | d2 b0 d7 0a d6 0b 1c d3 5c 20 94 8e 80 06 a1 ba | 46 bf 80 28 20 ef da 10 f1 8c 01 21 57 8e 6f ca | b4 59 68 e4 c3 74 ba 7d b5 10 7a 96 89 ce 70 ba | fc 9a f8 6c cf 06 df 67 e6 df db 1d 45 45 4e 93 | 4e 2f 7a 18 2c 3a 00 2f 6e d1 6d 3e c0 4f 79 68 | c7 fa cd 94 42 5e 32 81 08 d9 ec fd 15 fe 1e 2b | fc 9e f2 ac 11 f2 c7 66 15 3b d0 99 3e 29 50 9f | 15 a4 eb f1 83 e1 e9 f3 00 0c 6b 4f 15 a3 ce 56 | a2 ad 51 ba d0 0c 7d d4 09 5f 93 27 87 cf 3a 7a | 58 71 4b 7d c5 72 a6 10 93 bb cc 2f 14 c6 39 c2 | 07 f0 1d 57 28 15 8a 22 f8 b0 1a af 36 be ed c7 | 29 00 00 24 c3 ba fe 7e 0b 66 f8 dd b5 29 d7 5c | b2 0d 38 0c 28 ad 16 cc 88 61 db 84 91 66 7a 8d | 1b 98 35 b5 29 00 00 08 00 00 40 2e 29 00 00 1c | 00 00 40 04 64 f5 f3 41 43 74 3b 1f f3 e8 51 41 | 78 5f a5 53 ac 23 91 e5 00 00 00 1c 00 00 40 05 | 7d 64 1f 0b e6 5b b9 12 8b 06 1c 8a 4b a6 1e 89 | 23 c5 7d 2f | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 9b bc 80 d8 98 39 99 b4 | responder cookie: | 00 00 00 00 00 00 00 00 | next payload type: ISAKMP_NEXT_v2SA (0x21) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_IKE_SA_INIT (0x22) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 0 (0x0) | length: 708 (0x2c4) | processing version=2.0 packet with exchange type=ISAKMP_v2_IKE_SA_INIT (34) | I am the IKE SA Original Responder receiving an IKEv2 IKE_SA_INIT request | State DB: IKEv2 state not found (find_v2_ike_sa_by_initiator_spi) | Now let's proceed with payload (ISAKMP_NEXT_v2SA) | ***parse IKEv2 Security Association Payload: | next payload type: ISAKMP_NEXT_v2KE (0x22) | flags: none (0x0) | length: 60 (0x3c) | processing payload: ISAKMP_NEXT_v2SA (len=56) | 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: 520 (0x208) | DH group: OAKLEY_GROUP_MODP4096 (0x10) | processing payload: ISAKMP_NEXT_v2KE (len=512) | 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 (0x24) | 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 (0x8) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | 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 (0x1c) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | 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 (0x1c) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | Notify Message Type: v2N_NAT_DETECTION_DESTINATION_IP (0x4005) | processing payload: ISAKMP_NEXT_v2N (len=20) | DDOS disabled and no cookie sent, continuing | find_host_connection local=192.1.2.23:500 remote=192.1.2.45:500 policy=ECDSA+IKEV2_ALLOW but ignoring ports | find_host_pair: comparing 192.1.2.23:500 to 192.1.2.45:500 but ignoring ports | find_next_host_connection policy=ECDSA+IKEV2_ALLOW | found policy = RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO (westnet-eastnet-ikev2) | find_next_host_connection returns empty | find_host_connection local=192.1.2.23:500 remote= policy=ECDSA+IKEV2_ALLOW but ignoring ports | find_next_host_connection policy=ECDSA+IKEV2_ALLOW | find_next_host_connection returns empty | initial parent SA message received on 192.1.2.23:500 but no connection has been authorized with policy ECDSA+IKEV2_ALLOW | find_host_connection local=192.1.2.23:500 remote=192.1.2.45:500 policy=RSASIG+IKEV2_ALLOW but ignoring ports | find_host_pair: comparing 192.1.2.23:500 to 192.1.2.45:500 but ignoring ports | find_next_host_connection policy=RSASIG+IKEV2_ALLOW | found policy = RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO (westnet-eastnet-ikev2) | find_next_host_connection returns westnet-eastnet-ikev2 | find_next_host_connection policy=RSASIG+IKEV2_ALLOW | find_next_host_connection returns empty | found connection: westnet-eastnet-ikev2 with policy RSASIG+IKEV2_ALLOW | creating state object #5 at 0x559ecd5d5578 | State DB: adding IKEv2 state #5 in UNDEFINED | pstats #5 ikev2.ike started | Message ID: init #5: msgid=0 lastack=4294967295 nextuse=0 lastrecv=4294967295 lastreplied=0 | parent state #5: UNDEFINED(ignore) => PARENT_R0(half-open IKE SA) | Message ID: init_ike #5; ike: initiator.sent=0->-1 initiator.recv=0->-1 responder.sent=0->-1 responder.recv=0->-1 wip.initiator=0->-1 wip.responder=0->-1 | start processing: state #5 connection "westnet-eastnet-ikev2" from 192.1.2.45 (in ikev2_process_packet() at ikev2.c:2016) | State DB: IKEv2 state not found (find_v2_sa_by_responder_wip) | [RE]START processing: state #5 connection "westnet-eastnet-ikev2" from 192.1.2.45 (in ike_process_packet() at ikev2.c:2064) | #5 st.st_msgid_lastrecv -1 md.hdr.isa_msgid 00000000 | Message ID: #5 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=-1 responder.recv=-1 | Message ID: start-responder #5 request 0; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=-1 responder.recv=-1 wip.initiator=-1 wip.responder=-1->0 | #5 in state PARENT_R0: processing SA_INIT request | selected state microcode Respond to IKE_SA_INIT | Now let's proceed with state specific processing | calling processor Respond to IKE_SA_INIT | #5 updating local interface from 192.1.2.23:500 to 192.1.2.23:500 using md->iface (in update_ike_endpoints() at state.c:2669) | using existing local IKE proposals for connection westnet-eastnet-ikev2 (IKE SA responder matching remote proposals): 1:IKE:ENCR=AES_GCM_C_256;PRF=HMAC_SHA2_512,HMAC_SHA2_256;INTEG=NONE;DH=MODP2048,MODP3072,MODP4096,MODP8192,ECP_256,ECP_384,ECP_521,CURVE25519 2:IKE:ENCR=AES_GCM_C_128;PRF=HMAC_SHA2_512,HMAC_SHA2_256;INTEG=NONE;DH=MODP2048,MODP3072,MODP4096,MODP8192,ECP_256,ECP_384,ECP_521,CURVE25519 3:IKE:ENCR=AES_CBC_256;PRF=HMAC_SHA2_512,HMAC_SHA2_256;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=MODP2048,MODP3072,MODP4096,MODP8192,ECP_256,ECP_384,ECP_521,CURVE25519 4:IKE:ENCR=AES_CBC_128;PRF=HMAC_SHA2_512,HMAC_SHA2_256;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=MODP2048,MODP3072,MODP4096,MODP8192,ECP_256,ECP_384,ECP_521,CURVE25519 | Comparing remote proposals against IKE responder 4 local proposals | local proposal 1 type ENCR has 1 transforms | local proposal 1 type PRF has 2 transforms | local proposal 1 type INTEG has 1 transforms | local proposal 1 type DH has 8 transforms | local proposal 1 type ESN has 0 transforms | local proposal 1 transforms: required: ENCR+PRF+DH; optional: INTEG | local proposal 2 type ENCR has 1 transforms | local proposal 2 type PRF has 2 transforms | local proposal 2 type INTEG has 1 transforms | local proposal 2 type DH has 8 transforms | local proposal 2 type ESN has 0 transforms | local proposal 2 transforms: required: ENCR+PRF+DH; optional: INTEG | local proposal 3 type ENCR has 1 transforms | local proposal 3 type PRF has 2 transforms | local proposal 3 type INTEG has 2 transforms | local proposal 3 type DH has 8 transforms | local proposal 3 type ESN has 0 transforms | local proposal 3 transforms: required: ENCR+PRF+INTEG+DH; optional: none | local proposal 4 type ENCR has 1 transforms | local proposal 4 type PRF has 2 transforms | local proposal 4 type INTEG has 2 transforms | local proposal 4 type DH has 8 transforms | local proposal 4 type ESN has 0 transforms | local proposal 4 transforms: required: ENCR+PRF+INTEG+DH; optional: none | ****parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | length: 56 (0x38) | prop #: 1 (0x1) | proto ID: IKEv2_SEC_PROTO_IKE (0x1) | spi size: 0 (0x0) | # transforms: 5 (0x5) | Comparing remote proposal 1 containing 5 transforms against local proposal [1..4] of 4 local proposals | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 12 (0xc) | IKEv2 transform type: TRANS_TYPE_ENCR (0x1) | IKEv2 transform ID: AES_CBC (0xc) | ******parse IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 256 (0x100) | remote proposal 1 transform 0 (ENCR=AES_CBC_256) matches local proposal 3 type 1 (ENCR) transform 0 | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 12 (0xc) | 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 (0x80) | remote proposal 1 transform 1 (ENCR=AES_CBC_128) matches local proposal 4 type 1 (ENCR) transform 0 | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_PRF (0x2) | IKEv2 transform ID: PRF_HMAC_SHA2_256 (0x5) | remote proposal 1 transform 2 (PRF=HMAC_SHA2_256) matches local proposal 1 type 2 (PRF) transform 1 | remote proposal 1 transform 2 (PRF=HMAC_SHA2_256) matches local proposal 2 type 2 (PRF) transform 1 | remote proposal 1 transform 2 (PRF=HMAC_SHA2_256) matches local proposal 3 type 2 (PRF) transform 1 | remote proposal 1 transform 2 (PRF=HMAC_SHA2_256) matches local proposal 4 type 2 (PRF) transform 1 | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_INTEG (0x3) | IKEv2 transform ID: AUTH_HMAC_SHA2_256_128 (0xc) | remote proposal 1 transform 3 (INTEG=HMAC_SHA2_256_128) matches local proposal 3 type 3 (INTEG) transform 1 | remote proposal 1 transform 3 (INTEG=HMAC_SHA2_256_128) matches local proposal 4 type 3 (INTEG) transform 1 | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_LAST (0x0) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP4096 (0x10) | remote proposal 1 transform 4 (DH=MODP4096) matches local proposal 1 type 4 (DH) transform 2 | remote proposal 1 transform 4 (DH=MODP4096) matches local proposal 2 type 4 (DH) transform 2 | remote proposal 1 transform 4 (DH=MODP4096) matches local proposal 3 type 4 (DH) transform 2 | remote proposal 1 transform 4 (DH=MODP4096) matches local proposal 4 type 4 (DH) transform 2 | 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+DH; optional: INTEG; matched: PRF+DH | remote proposal 1 does not match local proposal 1; unmatched transforms: ENCR+INTEG; missing transforms: ENCR | comparing remote proposal 1 containing ENCR+PRF+INTEG+DH transforms to local proposal 2; required: ENCR+PRF+DH; optional: INTEG; matched: PRF+DH | remote proposal 1 does not match local proposal 2; unmatched transforms: ENCR+INTEG; missing transforms: ENCR | comparing remote proposal 1 containing ENCR+PRF+INTEG+DH transforms to local proposal 3; required: ENCR+PRF+INTEG+DH; optional: none; matched: ENCR+PRF+INTEG+DH | remote proposal 1 matches local proposal 3 "westnet-eastnet-ikev2" #5: proposal 1:IKE:ENCR=AES_CBC_256;PRF=HMAC_SHA2_256;INTEG=HMAC_SHA2_256_128;DH=MODP4096 chosen from remote proposals 1:IKE:ENCR=AES_CBC_256;ENCR=AES_CBC_128;PRF=HMAC_SHA2_256;INTEG=HMAC_SHA2_256_128;DH=MODP4096[first-match] | accepted IKE proposal ikev2_proposal: 1:IKE:ENCR=AES_CBC_256;PRF=HMAC_SHA2_256;INTEG=HMAC_SHA2_256_128;DH=MODP4096 | converting proposal to internal trans attrs | natd_hash: rcookie is zero | natd_hash: hasher=0x559ecc52c800(20) | natd_hash: icookie= 9b bc 80 d8 98 39 99 b4 | natd_hash: rcookie= 00 00 00 00 00 00 00 00 | natd_hash: ip= c0 01 02 17 | natd_hash: port=500 | natd_hash: hash= 7d 64 1f 0b e6 5b b9 12 8b 06 1c 8a 4b a6 1e 89 | natd_hash: hash= 23 c5 7d 2f | natd_hash: rcookie is zero | natd_hash: hasher=0x559ecc52c800(20) | natd_hash: icookie= 9b bc 80 d8 98 39 99 b4 | natd_hash: rcookie= 00 00 00 00 00 00 00 00 | natd_hash: ip= c0 01 02 2d | natd_hash: port=500 | natd_hash: hash= 64 f5 f3 41 43 74 3b 1f f3 e8 51 41 78 5f a5 53 | natd_hash: hash= ac 23 91 e5 | NAT_TRAVERSAL encaps using auto-detect | NAT_TRAVERSAL this end is NOT behind NAT | NAT_TRAVERSAL that end is NOT behind NAT | NAT_TRAVERSAL nat-keepalive enabled 192.1.2.45 | adding ikev2_inI1outR1 KE work-order 5 for state #5 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x559ecd5d3728 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #5 | libevent_malloc: new ptr-libevent@0x7f1a94005a48 size 128 | #5 spent 0.205 milliseconds in processing: Respond to IKE_SA_INIT in ikev2_process_state_packet() | [RE]START processing: state #5 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | crypto helper 4 resuming | #5 complete_v2_state_transition() PARENT_R0->PARENT_R1 with status STF_SUSPEND | suspending state #5 and saving MD | #5 is busy; has a suspended MD | crypto helper 4 starting work-order 5 for state #5 | [RE]START processing: state #5 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in log_stf_suspend() at ikev2.c:3269) | "westnet-eastnet-ikev2" #5 complete v2 state STATE_PARENT_R0 transition with STF_SUSPEND suspended from complete_v2_state_transition:3451 | crypto helper 4 doing build KE and nonce (ikev2_inI1outR1 KE); request ID 5 | stop processing: state #5 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2018) | #5 spent 0.534 milliseconds in ikev2_process_packet() | stop processing: from 192.1.2.45:500 (in process_md() at demux.c:380) | processing: STOP state #0 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.546 milliseconds in comm_handle_cb() reading and processing packet | crypto helper 4 finished build KE and nonce (ikev2_inI1outR1 KE); request ID 5 time elapsed 0.002248 seconds | (#5) spent 2.22 milliseconds in crypto helper computing work-order 5: ikev2_inI1outR1 KE (pcr) | crypto helper 4 sending results from work-order 5 for state #5 to event queue | scheduling resume sending helper answer for #5 | libevent_malloc: new ptr-libevent@0x7f1a98001e58 size 128 | crypto helper 4 waiting (nothing to do) | processing resume sending helper answer for #5 | start processing: state #5 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in resume_handler() at server.c:797) | crypto helper 4 replies to request ID 5 | calling continuation function 0x559ecc457b50 | ikev2_parent_inI1outR1_continue for #5: calculated ke+nonce, sending R1 | **emit ISAKMP Message: | initiator cookie: | 9b bc 80 d8 98 39 99 b4 | responder cookie: | e6 e2 87 f3 31 58 78 fb | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_IKE_SA_INIT (0x22) | flags: ISAKMP_FLAG_v2_MSG_RESPONSE (0x20) | Message ID: 0 (0x0) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | Emitting ikev2_proposal ... | ***emit IKEv2 Security Association Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'ISAKMP Message'.'next payload type' to current IKEv2 Security Association Payload (33:ISAKMP_NEXT_v2SA) | next payload chain: saving location 'IKEv2 Security Association Payload'.'next payload type' in 'reply packet' | ****emit IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | prop #: 1 (0x1) | proto ID: IKEv2_SEC_PROTO_IKE (0x1) | spi size: 0 (0x0) | # transforms: 4 (0x4) | 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: 256 (0x100) | 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' 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' 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_MODP4096 (0x10) | last substructure: checking 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' 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_MODP4096 (0x10) | 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 512 raw bytes of ikev2 g^x into IKEv2 Key Exchange Payload | ikev2 g^x d6 ec c8 a8 8f 89 40 90 7f a0 3c 94 92 6b 8c 53 | ikev2 g^x 5f ee 08 e3 58 c0 99 42 24 9b ba 67 5e 38 82 1c | ikev2 g^x c1 29 1a 35 24 61 2d 66 24 e0 c6 04 82 4d 34 d1 | ikev2 g^x 53 54 21 55 00 76 7a 03 00 62 a1 51 1f 4a ee b1 | ikev2 g^x cd 6b e9 d9 72 f0 22 ad d6 6d f3 94 1c 72 4d 02 | ikev2 g^x f2 41 d9 e5 5c 91 f4 de e4 93 a7 85 43 73 2e fa | ikev2 g^x 0c 2c db ad f2 55 65 c9 70 7c 4b 98 e3 d2 d3 25 | ikev2 g^x c9 82 e8 3d ff d8 c1 0e de 77 2a 84 1e 4d 0c 47 | ikev2 g^x 2f 02 ea f1 16 f1 53 2e 66 ea ca 2a 1a cb 07 c7 | ikev2 g^x 88 cd 27 5e 50 06 0d f4 6a dc 99 34 05 d2 de ee | ikev2 g^x d7 b7 11 e1 86 ad 2e e8 62 d5 49 c6 a3 a0 80 6f | ikev2 g^x 82 12 94 21 54 cc a3 ad 92 35 f5 3a b7 1a 4b f2 | ikev2 g^x 0d 33 cd 2c cf 55 00 eb 19 b6 f9 d9 0a 2c c7 3a | ikev2 g^x bf 44 38 8f 0f 8c 7f bf db 41 b2 59 37 56 b2 ec | ikev2 g^x 1e 61 3c 9a 7b 61 d3 71 0a 29 bc 41 ed 6f 6c 5c | ikev2 g^x f5 65 51 38 6c 99 e4 a6 ad 2f 77 0f a1 a5 21 a2 | ikev2 g^x 36 87 b1 61 10 b1 f8 c0 db 8c 6b e4 36 b3 fb a1 | ikev2 g^x 3d 84 ce 4e cf d6 d0 47 18 ef 9e 8b 91 04 48 19 | ikev2 g^x fc e2 6d a4 7b 11 3d 37 24 85 e5 f8 23 e2 f6 04 | ikev2 g^x 9d 41 01 79 30 4b e3 b2 b8 c3 16 9d 93 98 c7 03 | ikev2 g^x f1 de 84 c2 72 02 4b 96 56 2c 5e dc 4b 47 3b b2 | ikev2 g^x aa 6c 56 66 e1 73 ed 33 26 e5 ed 74 3a ec 8e 62 | ikev2 g^x 2c ea c2 2f 1d 21 0f 20 87 a1 47 af 84 1b 04 14 | ikev2 g^x 23 96 56 e8 b6 6b 6f 13 67 fa b5 2b 47 65 6c 2d | ikev2 g^x b7 d7 d2 1d 07 21 db 63 c5 b9 f6 23 ef 3f 59 8c | ikev2 g^x c2 48 a3 fa 79 ef a8 20 04 84 89 a9 79 29 2c eb | ikev2 g^x 20 a8 be 54 63 d5 d8 09 f1 b7 cc 30 19 67 e7 27 | ikev2 g^x c3 5f 3c a2 b3 7b 8c e1 84 36 97 6a 21 c5 ba 41 | ikev2 g^x 2e 9c 67 39 e0 2a 24 cc 3e de 81 dd b7 6b 6f fe | ikev2 g^x 91 e4 e0 35 98 4d 33 0c 04 0b b0 af e5 75 2e 33 | ikev2 g^x 4b 62 c9 76 75 b3 f0 a4 f4 88 0a 40 51 4d 4b e7 | ikev2 g^x f5 7f 85 c3 fb 5f cb c8 30 52 b4 83 64 11 5a 2b | emitting length of IKEv2 Key Exchange Payload: 520 | ***emit IKEv2 Nonce Payload: | next payload type: ISAKMP_NEXT_v2N (0x29) | flags: none (0x0) | next payload chain: ignoring supplied 'IKEv2 Nonce Payload'.'next payload type' value 41:ISAKMP_NEXT_v2N | 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 e8 db 6a 89 7a 83 3e 92 63 db 7b de b4 e2 d8 a5 | IKEv2 nonce 17 c9 05 20 c7 7f e2 7f 68 a6 41 ce 4d fc 7b 4a | 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: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | Notify Message Type: v2N_IKEV2_FRAGMENTATION_SUPPORTED (0x402e) | next payload chain: setting previous 'IKEv2 Nonce Payload'.'next payload type' to current IKEv2 Notify Payload (41:ISAKMP_NEXT_v2N) | next payload chain: saving location 'IKEv2 Notify Payload'.'next payload type' in 'reply packet' | emitting length of IKEv2 Notify Payload: 8 | NAT-Traversal support [enabled] add v2N payloads. | natd_hash: hasher=0x559ecc52c800(20) | natd_hash: icookie= 9b bc 80 d8 98 39 99 b4 | natd_hash: rcookie= e6 e2 87 f3 31 58 78 fb | natd_hash: ip= c0 01 02 17 | natd_hash: port=500 | natd_hash: hash= af a1 4c de 88 cc 29 4a 4b bb c0 e6 14 bb 34 80 | natd_hash: hash= dc e0 af 7a | Adding a v2N Payload | ***emit IKEv2 Notify Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | 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 af a1 4c de 88 cc 29 4a 4b bb c0 e6 14 bb 34 80 | Notify data dc e0 af 7a | emitting length of IKEv2 Notify Payload: 28 | natd_hash: hasher=0x559ecc52c800(20) | natd_hash: icookie= 9b bc 80 d8 98 39 99 b4 | natd_hash: rcookie= e6 e2 87 f3 31 58 78 fb | natd_hash: ip= c0 01 02 2d | natd_hash: port=500 | natd_hash: hash= e0 92 9b 78 76 cd 0f 8f 0a 20 6b 54 54 e5 ec 15 | natd_hash: hash= 4e 1c 03 46 | Adding a v2N Payload | ***emit IKEv2 Notify Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | 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 e0 92 9b 78 76 cd 0f 8f 0a 20 6b 54 54 e5 ec 15 | Notify data 4e 1c 03 46 | emitting length of IKEv2 Notify Payload: 28 | emitting length of ISAKMP Message: 696 | [RE]START processing: state #5 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #5 complete_v2_state_transition() PARENT_R0->PARENT_R1 with status STF_OK | IKEv2: transition from state STATE_PARENT_R0 to state STATE_PARENT_R1 | parent state #5: PARENT_R0(half-open IKE SA) => PARENT_R1(half-open IKE SA) | Message ID: updating counters for #5 to 0 after switching state | Message ID: recv #5 request 0; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=-1 responder.recv=-1->0 wip.initiator=-1 wip.responder=0->-1 | Message ID: sent #5 response 0; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=-1->0 responder.recv=0 wip.initiator=-1 wip.responder=-1 "westnet-eastnet-ikev2" #5: STATE_PARENT_R1: received v2I1, sent v2R1 {auth=IKEv2 cipher=AES_CBC_256 integ=HMAC_SHA2_256_128 prf=HMAC_SHA2_256 group=MODP4096} | sending V2 new request packet to 192.1.2.45:500 (from 192.1.2.23:500) | sending 696 bytes for STATE_PARENT_R0 through eth1 from 192.1.2.23:500 to 192.1.2.45:500 (using #5) | 9b bc 80 d8 98 39 99 b4 e6 e2 87 f3 31 58 78 fb | 21 20 22 20 00 00 00 00 00 00 02 b8 22 00 00 30 | 00 00 00 2c 01 01 00 04 03 00 00 0c 01 00 00 0c | 80 0e 01 00 03 00 00 08 02 00 00 05 03 00 00 08 | 03 00 00 0c 00 00 00 08 04 00 00 10 28 00 02 08 | 00 10 00 00 d6 ec c8 a8 8f 89 40 90 7f a0 3c 94 | 92 6b 8c 53 5f ee 08 e3 58 c0 99 42 24 9b ba 67 | 5e 38 82 1c c1 29 1a 35 24 61 2d 66 24 e0 c6 04 | 82 4d 34 d1 53 54 21 55 00 76 7a 03 00 62 a1 51 | 1f 4a ee b1 cd 6b e9 d9 72 f0 22 ad d6 6d f3 94 | 1c 72 4d 02 f2 41 d9 e5 5c 91 f4 de e4 93 a7 85 | 43 73 2e fa 0c 2c db ad f2 55 65 c9 70 7c 4b 98 | e3 d2 d3 25 c9 82 e8 3d ff d8 c1 0e de 77 2a 84 | 1e 4d 0c 47 2f 02 ea f1 16 f1 53 2e 66 ea ca 2a | 1a cb 07 c7 88 cd 27 5e 50 06 0d f4 6a dc 99 34 | 05 d2 de ee d7 b7 11 e1 86 ad 2e e8 62 d5 49 c6 | a3 a0 80 6f 82 12 94 21 54 cc a3 ad 92 35 f5 3a | b7 1a 4b f2 0d 33 cd 2c cf 55 00 eb 19 b6 f9 d9 | 0a 2c c7 3a bf 44 38 8f 0f 8c 7f bf db 41 b2 59 | 37 56 b2 ec 1e 61 3c 9a 7b 61 d3 71 0a 29 bc 41 | ed 6f 6c 5c f5 65 51 38 6c 99 e4 a6 ad 2f 77 0f | a1 a5 21 a2 36 87 b1 61 10 b1 f8 c0 db 8c 6b e4 | 36 b3 fb a1 3d 84 ce 4e cf d6 d0 47 18 ef 9e 8b | 91 04 48 19 fc e2 6d a4 7b 11 3d 37 24 85 e5 f8 | 23 e2 f6 04 9d 41 01 79 30 4b e3 b2 b8 c3 16 9d | 93 98 c7 03 f1 de 84 c2 72 02 4b 96 56 2c 5e dc | 4b 47 3b b2 aa 6c 56 66 e1 73 ed 33 26 e5 ed 74 | 3a ec 8e 62 2c ea c2 2f 1d 21 0f 20 87 a1 47 af | 84 1b 04 14 23 96 56 e8 b6 6b 6f 13 67 fa b5 2b | 47 65 6c 2d b7 d7 d2 1d 07 21 db 63 c5 b9 f6 23 | ef 3f 59 8c c2 48 a3 fa 79 ef a8 20 04 84 89 a9 | 79 29 2c eb 20 a8 be 54 63 d5 d8 09 f1 b7 cc 30 | 19 67 e7 27 c3 5f 3c a2 b3 7b 8c e1 84 36 97 6a | 21 c5 ba 41 2e 9c 67 39 e0 2a 24 cc 3e de 81 dd | b7 6b 6f fe 91 e4 e0 35 98 4d 33 0c 04 0b b0 af | e5 75 2e 33 4b 62 c9 76 75 b3 f0 a4 f4 88 0a 40 | 51 4d 4b e7 f5 7f 85 c3 fb 5f cb c8 30 52 b4 83 | 64 11 5a 2b 29 00 00 24 e8 db 6a 89 7a 83 3e 92 | 63 db 7b de b4 e2 d8 a5 17 c9 05 20 c7 7f e2 7f | 68 a6 41 ce 4d fc 7b 4a 29 00 00 08 00 00 40 2e | 29 00 00 1c 00 00 40 04 af a1 4c de 88 cc 29 4a | 4b bb c0 e6 14 bb 34 80 dc e0 af 7a 00 00 00 1c | 00 00 40 05 e0 92 9b 78 76 cd 0f 8f 0a 20 6b 54 | 54 e5 ec 15 4e 1c 03 46 | state #5 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x7f1a94005a48 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x559ecd5d3728 | event_schedule: new EVENT_SO_DISCARD-pe@0x559ecd5d3728 | inserting event EVENT_SO_DISCARD, timeout in 200 seconds for #5 | libevent_malloc: new ptr-libevent@0x559ecd5dfd68 size 128 | resume sending helper answer for #5 suppresed complete_v2_state_transition() | #5 spent 0.47 milliseconds in resume sending helper answer | stop processing: state #5 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in resume_handler() at server.c:833) | libevent_free: release ptr-libevent@0x7f1a98001e58 | spent 0.00306 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 480 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 9b bc 80 d8 98 39 99 b4 e6 e2 87 f3 31 58 78 fb | 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | 72 b6 d7 5d eb 0a b6 a9 42 f2 ea 1d 18 6f a8 29 | 1c 07 c4 38 45 1b fc 76 ef 2b e2 06 fe 29 a9 1f | e4 5d ae d8 b5 1d 74 c2 53 a7 bb b8 4e 4d a0 fa | 75 22 0e 03 22 6f 25 6f e3 68 9c d6 ea 2c d1 8f | 73 72 6a ed 88 88 7b 34 2c ee 03 2a 4c da f9 4f | 3c 8e e1 d8 c0 f1 e0 3f f9 36 08 d4 56 33 76 30 | 76 5f 04 64 e0 4c 06 64 c6 cb 82 7f 2e 39 62 95 | 13 d6 c0 68 31 8b aa d2 b9 fb be b5 b1 44 7b 1f | b8 0c 32 f9 5e 2f 5a 67 21 e1 51 68 45 00 5c 50 | 34 97 59 4c 5a 86 54 16 e9 89 26 41 ab 5e 10 33 | 21 d7 de d6 ab 0e 30 0f a8 22 32 86 01 9e d5 ce | 08 4c 46 f5 6d 62 4c ab b9 05 06 f6 49 9c 5d 59 | 04 6e 1a 79 c4 45 5a ee ce 05 ce b0 c0 5c 3c e8 | 5b f0 7f 65 f7 bf f5 4a 2e a5 d2 b1 5a 9a 4c 04 | 28 ff 2a 1d fb c0 04 b6 53 bd 6f 14 d2 ea a5 d4 | 52 3c 5e b7 e6 1e c5 29 46 93 08 7a 13 45 e7 76 | eb c6 3b c5 9e a2 34 54 8e fb 5e e7 6e d3 53 94 | 6e 99 78 bc d4 dc 36 fa 68 b5 52 2c f6 11 dd 0f | fd c0 8c ba 4e 5f e5 20 46 27 71 e9 b5 61 e2 dc | 7c 00 30 83 d6 45 ff 7c 5f 9e 44 c8 88 5b 62 89 | 7b 43 97 c1 1d 08 03 54 f3 40 4e c0 98 34 85 13 | 81 61 e3 d5 ec 4b 3b 8d 9c 72 25 83 c7 e0 f5 ac | 4a 6e ae ff c2 f1 ce 9c 69 1b 9f 7d d0 13 c0 3f | 53 78 0d f5 e6 40 be 6a 6b db cb 21 b0 3c be 21 | af 9c 1c 0a 3d 8a 67 58 d0 57 59 91 b6 0f cb 95 | 04 b4 3e 80 65 8f 76 c6 04 28 59 8b 2f df b0 ff | 65 62 98 f3 76 a2 9c 1e f1 e4 fd be c4 71 5b 20 | 74 8e 74 a6 1a d7 39 f2 b3 0b 89 70 58 69 ad 0b | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 9b bc 80 d8 98 39 99 b4 | responder cookie: | e6 e2 87 f3 31 58 78 fb | next payload type: ISAKMP_NEXT_v2SK (0x2e) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_IKE_AUTH (0x23) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 1 (0x1) | length: 480 (0x1e0) | processing version=2.0 packet with exchange type=ISAKMP_v2_IKE_AUTH (35) | I am the IKE SA Original Responder receiving an IKEv2 IKE_AUTH request | State DB: found IKEv2 state #5 in PARENT_R1 (find_v2_ike_sa) | start processing: state #5 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2016) | State DB: IKEv2 state not found (find_v2_sa_by_responder_wip) | [RE]START processing: state #5 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ike_process_packet() at ikev2.c:2064) | #5 st.st_msgid_lastrecv 0 md.hdr.isa_msgid 00000001 | Message ID: #5 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0 | unpacking clear payload | Now let's proceed with payload (ISAKMP_NEXT_v2SK) | ***parse IKEv2 Encryption Payload: | next payload type: ISAKMP_NEXT_v2IDi (0x23) | flags: none (0x0) | length: 452 (0x1c4) | processing payload: ISAKMP_NEXT_v2SK (len=448) | Message ID: start-responder #5 request 1; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0 wip.initiator=-1 wip.responder=-1->1 | #5 in state PARENT_R1: received v2I1, sent v2R1 | selected state microcode Responder: process IKE_AUTH request (no SKEYSEED) | Now let's proceed with state specific processing | calling processor Responder: process IKE_AUTH request (no SKEYSEED) | ikev2 parent inI2outR2: calculating g^{xy} in order to decrypt I2 | offloading IKEv2 SKEYSEED using prf=HMAC_SHA2_256 integ=HMAC_SHA2_256_128 cipherkey=AES_CBC | adding ikev2_inI2outR2 KE work-order 6 for state #5 | state #5 requesting EVENT_SO_DISCARD to be deleted | libevent_free: release ptr-libevent@0x559ecd5dfd68 | free_event_entry: release EVENT_SO_DISCARD-pe@0x559ecd5d3728 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x559ecd5d3728 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #5 | libevent_malloc: new ptr-libevent@0x7f1a98001e58 size 128 | #5 spent 0.0222 milliseconds in processing: Responder: process IKE_AUTH request (no SKEYSEED) in ikev2_process_state_packet() | [RE]START processing: state #5 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | crypto helper 5 resuming | #5 complete_v2_state_transition() PARENT_R1->PARENT_R1 with status STF_SUSPEND | crypto helper 5 starting work-order 6 for state #5 | suspending state #5 and saving MD | crypto helper 5 doing compute dh (V2) (ikev2_inI2outR2 KE); request ID 6 | #5 is busy; has a suspended MD | [RE]START processing: state #5 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in log_stf_suspend() at ikev2.c:3269) | "westnet-eastnet-ikev2" #5 complete v2 state STATE_PARENT_R1 transition with STF_SUSPEND suspended from complete_v2_state_transition:3451 | stop processing: state #5 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2018) | #5 spent 0.161 milliseconds in ikev2_process_packet() | stop processing: from 192.1.2.45:500 (in process_md() at demux.c:380) | processing: STOP state #0 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.172 milliseconds in comm_handle_cb() reading and processing packet | calculating skeyseed using prf=sha2_256 integ=sha2_256 cipherkey-size=32 salt-size=0 | crypto helper 5 finished compute dh (V2) (ikev2_inI2outR2 KE); request ID 6 time elapsed 0.002631 seconds | (#5) spent 2.61 milliseconds in crypto helper computing work-order 6: ikev2_inI2outR2 KE (pcr) | crypto helper 5 sending results from work-order 6 for state #5 to event queue | scheduling resume sending helper answer for #5 | libevent_malloc: new ptr-libevent@0x7f1a8c004c28 size 128 | crypto helper 5 waiting (nothing to do) | processing resume sending helper answer for #5 | start processing: state #5 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in resume_handler() at server.c:797) | crypto helper 5 replies to request ID 6 | calling continuation function 0x559ecc457b50 | ikev2_parent_inI2outR2_continue for #5: calculating g^{xy}, sending R2 | #5 in state PARENT_R1: received v2I1, sent v2R1 | data for hmac: 9b bc 80 d8 98 39 99 b4 e6 e2 87 f3 31 58 78 fb | data for hmac: 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | data for hmac: 72 b6 d7 5d eb 0a b6 a9 42 f2 ea 1d 18 6f a8 29 | data for hmac: 1c 07 c4 38 45 1b fc 76 ef 2b e2 06 fe 29 a9 1f | data for hmac: e4 5d ae d8 b5 1d 74 c2 53 a7 bb b8 4e 4d a0 fa | data for hmac: 75 22 0e 03 22 6f 25 6f e3 68 9c d6 ea 2c d1 8f | data for hmac: 73 72 6a ed 88 88 7b 34 2c ee 03 2a 4c da f9 4f | data for hmac: 3c 8e e1 d8 c0 f1 e0 3f f9 36 08 d4 56 33 76 30 | data for hmac: 76 5f 04 64 e0 4c 06 64 c6 cb 82 7f 2e 39 62 95 | data for hmac: 13 d6 c0 68 31 8b aa d2 b9 fb be b5 b1 44 7b 1f | data for hmac: b8 0c 32 f9 5e 2f 5a 67 21 e1 51 68 45 00 5c 50 | data for hmac: 34 97 59 4c 5a 86 54 16 e9 89 26 41 ab 5e 10 33 | data for hmac: 21 d7 de d6 ab 0e 30 0f a8 22 32 86 01 9e d5 ce | data for hmac: 08 4c 46 f5 6d 62 4c ab b9 05 06 f6 49 9c 5d 59 | data for hmac: 04 6e 1a 79 c4 45 5a ee ce 05 ce b0 c0 5c 3c e8 | data for hmac: 5b f0 7f 65 f7 bf f5 4a 2e a5 d2 b1 5a 9a 4c 04 | data for hmac: 28 ff 2a 1d fb c0 04 b6 53 bd 6f 14 d2 ea a5 d4 | data for hmac: 52 3c 5e b7 e6 1e c5 29 46 93 08 7a 13 45 e7 76 | data for hmac: eb c6 3b c5 9e a2 34 54 8e fb 5e e7 6e d3 53 94 | data for hmac: 6e 99 78 bc d4 dc 36 fa 68 b5 52 2c f6 11 dd 0f | data for hmac: fd c0 8c ba 4e 5f e5 20 46 27 71 e9 b5 61 e2 dc | data for hmac: 7c 00 30 83 d6 45 ff 7c 5f 9e 44 c8 88 5b 62 89 | data for hmac: 7b 43 97 c1 1d 08 03 54 f3 40 4e c0 98 34 85 13 | data for hmac: 81 61 e3 d5 ec 4b 3b 8d 9c 72 25 83 c7 e0 f5 ac | data for hmac: 4a 6e ae ff c2 f1 ce 9c 69 1b 9f 7d d0 13 c0 3f | data for hmac: 53 78 0d f5 e6 40 be 6a 6b db cb 21 b0 3c be 21 | data for hmac: af 9c 1c 0a 3d 8a 67 58 d0 57 59 91 b6 0f cb 95 | data for hmac: 04 b4 3e 80 65 8f 76 c6 04 28 59 8b 2f df b0 ff | data for hmac: 65 62 98 f3 76 a2 9c 1e f1 e4 fd be c4 71 5b 20 | calculated auth: 74 8e 74 a6 1a d7 39 f2 b3 0b 89 70 58 69 ad 0b | provided auth: 74 8e 74 a6 1a d7 39 f2 b3 0b 89 70 58 69 ad 0b | authenticator matched | #5 ikev2 ISAKMP_v2_IKE_AUTH decrypt success | Now let's proceed with payload (ISAKMP_NEXT_v2IDi) | **parse IKEv2 Identification - Initiator - Payload: | next payload type: ISAKMP_NEXT_v2IDr (0x24) | flags: none (0x0) | length: 12 (0xc) | ID type: ID_FQDN (0x2) | processing payload: ISAKMP_NEXT_v2IDi (len=4) | Now let's proceed with payload (ISAKMP_NEXT_v2IDr) | **parse IKEv2 Identification - Responder - Payload: | next payload type: ISAKMP_NEXT_v2AUTH (0x27) | flags: none (0x0) | length: 12 (0xc) | ID type: ID_FQDN (0x2) | 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: 282 (0x11a) | auth method: IKEv2_AUTH_RSA (0x1) | processing payload: ISAKMP_NEXT_v2AUTH (len=274) | 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: 56 (0x38) | processing payload: ISAKMP_NEXT_v2SA (len=52) | 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 (0x18) | number of TS: 1 (0x1) | 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 (0x18) | number of TS: 1 (0x1) | processing payload: ISAKMP_NEXT_v2TSr (len=16) | selected state microcode Responder: process IKE_AUTH request | Now let's proceed with state specific processing | calling processor Responder: process IKE_AUTH request "westnet-eastnet-ikev2" #5: processing decrypted IKE_AUTH request: SK{IDi,IDr,AUTH,SA,TSi,TSr} | #5 updating local interface from 192.1.2.23:500 to 192.1.2.23:500 using md->iface (in update_ike_endpoints() at state.c:2669) | received IDr payload - extracting our alleged ID | refine_host_connection for IKEv2: starting with "westnet-eastnet-ikev2" | match_id a=@west | b=@west | results matched | refine_host_connection: checking "westnet-eastnet-ikev2" against "westnet-eastnet-ikev2", best=(none) with match=1(id=1(0)/ca=1(0)/reqca=1(0)) | Warning: not switching back to template of current instance | Peer expects us to be @east (ID_FQDN) according to its IDr payload | This connection's local id is @east (ID_FQDN) | refine_host_connection: checked westnet-eastnet-ikev2 against westnet-eastnet-ikev2, now for see if best | started looking for secret for @east->@west of kind PKK_RSA | actually looking for secret for @east->@west of kind PKK_RSA | line 1: key type PKK_RSA(@east) to type PKK_RSA | 1: compared key (none) to @east / @west -> 002 | 2: compared key (none) to @east / @west -> 002 | line 1: match=002 | match 002 beats previous best_match 000 match=0x559ecd52ab58 (line=1) | concluding with best_match=002 best=0x559ecd52ab58 (lineno=1) | returning because exact peer id match | offered CA: '%none' "westnet-eastnet-ikev2" #5: IKEv2 mode peer ID is ID_FQDN: '@west' | verifying AUTH payload | required RSA CA is '%any' | checking RSA keyid '@east' for match with '@west' | checking RSA keyid '@west' for match with '@west' | key issuer CA is '%any' | an RSA Sig check passed with *AQOm9dY/4 [preloaded key] | #5 spent 0.0557 milliseconds in try_all_RSA_keys() trying a pubkey "westnet-eastnet-ikev2" #5: Authenticated using RSA | #5 spent 0.0845 milliseconds in ikev2_verify_rsa_hash() | parent state #5: PARENT_R1(half-open IKE SA) => PARENT_R2(established IKE SA) | #5 will start re-keying in 3330 seconds with margin of 270 seconds (attempting re-key) | state #5 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x7f1a98001e58 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x559ecd5d3728 | event_schedule: new EVENT_SA_REKEY-pe@0x559ecd5d3728 | inserting event EVENT_SA_REKEY, timeout in 3330 seconds for #5 | libevent_malloc: new ptr-libevent@0x559ecd5b1fb8 size 128 | pstats #5 ikev2.ike established | **emit ISAKMP Message: | initiator cookie: | 9b bc 80 d8 98 39 99 b4 | responder cookie: | e6 e2 87 f3 31 58 78 fb | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_IKE_AUTH (0x23) | flags: ISAKMP_FLAG_v2_MSG_RESPONSE (0x20) | Message ID: 1 (0x1) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | IKEv2 CERT: send a certificate? | IKEv2 CERT: no certificate to send | ***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 | Initiator child policy is compress=no, NOT sending v2N_IPCOMP_SUPPORTED | ****emit IKEv2 Identification - Responder - Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | ID type: ID_FQDN (0x2) | next payload chain: setting previous 'IKEv2 Encryption Payload'.'next payload type' to current IKEv2 Identification - Responder - Payload (36:ISAKMP_NEXT_v2IDr) | next payload chain: saving location 'IKEv2 Identification - Responder - Payload'.'next payload type' in 'reply packet' | emitting 4 raw bytes of my identity into IKEv2 Identification - Responder - Payload | my identity 65 61 73 74 | emitting length of IKEv2 Identification - Responder - Payload: 12 | assembled IDr payload | CHILD SA proposals received | going to assemble AUTH payload | ****emit IKEv2 Authentication Payload: | next payload type: ISAKMP_NEXT_v2SA (0x21) | flags: none (0x0) | auth method: IKEv2_AUTH_RSA (0x1) | next payload chain: ignoring supplied 'IKEv2 Authentication Payload'.'next payload type' value 33:ISAKMP_NEXT_v2SA | 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' | started looking for secret for @east->@west of kind PKK_RSA | actually looking for secret for @east->@west of kind PKK_RSA | line 1: key type PKK_RSA(@east) to type PKK_RSA | 1: compared key (none) to @east / @west -> 002 | 2: compared key (none) to @east / @west -> 002 | line 1: match=002 | match 002 beats previous best_match 000 match=0x559ecd52ab58 (line=1) | concluding with best_match=002 best=0x559ecd52ab58 (lineno=1) | #5 spent 4.56 milliseconds in ikev2_calculate_rsa_hash() calling sign_hash_RSA() | emitting 274 raw bytes of rsa signature into IKEv2 Authentication Payload | rsa signature 4f b2 c6 68 83 82 62 c9 db 0d 56 84 01 10 cf b1 | rsa signature 62 e5 d8 52 6a c2 fa d7 e0 c8 46 e2 ac ef 4c e4 | rsa signature da a1 24 29 be e1 16 84 73 80 8e 35 bf 6e 33 9a | rsa signature 70 fb ba 8a 18 1b 97 24 6d 11 31 ca 08 42 98 d4 | rsa signature 92 9b 80 f7 a6 8c a5 5e 86 2f ea f7 72 a2 f7 a3 | rsa signature b6 bd af a2 fa 25 56 65 95 24 67 94 94 a0 d4 5e | rsa signature 1c 89 50 ba ea 92 ba 4b 0f 19 fa 52 bd 42 60 5a | rsa signature 35 ef 33 87 5a 47 e0 9f cf 73 0f 19 bb eb 4a 92 | rsa signature f6 64 3d 61 72 6a 75 3b c0 5a f4 d4 2f 36 5c e6 | rsa signature 51 af 79 0f 72 24 88 48 01 b0 5a 71 38 e8 b8 02 | rsa signature b4 7e 10 60 3d 6f 3d 3f 81 92 f6 3d e4 f9 90 27 | rsa signature 26 31 3b 8d 4f 75 08 aa 08 b9 f2 28 f4 0c a7 86 | rsa signature 79 c3 d7 52 ad b2 b0 dd 5a 67 c6 80 e1 70 de 2c | rsa signature 40 d6 cc 9a 85 b2 87 46 33 f4 59 bd 8e fb d4 d1 | rsa signature 9f aa 27 94 76 d6 78 f5 2b c2 a2 36 34 aa 00 65 | rsa signature f7 02 16 d0 7c 55 1f bd 65 a7 70 bb 32 72 46 0b | rsa signature ed ac a7 51 ab ec 9f de a0 47 31 75 52 12 00 85 | rsa signature 17 1c | #5 spent 4.63 milliseconds in ikev2_calculate_rsa_hash() | emitting length of IKEv2 Authentication Payload: 282 | creating state object #6 at 0x559ecd5e6a58 | State DB: adding IKEv2 state #6 in UNDEFINED | pstats #6 ikev2.child started | duplicating state object #5 "westnet-eastnet-ikev2" as #6 for IPSEC SA | #6 setting local endpoint to 192.1.2.23:500 from #5.st_localport (in duplicate_state() at state.c:1484) | Message ID: init_child #5.#6; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0; child: wip.initiator=0->-1 wip.responder=0->-1 | Message ID: switch-from #5 request 1; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0 wip.initiator=-1 wip.responder=1->-1 | Message ID: switch-to #5.#6 request 1; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0; child: wip.initiator=-1 wip.responder=-1->1 | Child SA TS Request has ike->sa == md->st; so using parent connection | TSi: parsing 1 traffic selectors | ***parse IKEv2 Traffic Selector: | TS type: IKEv2_TS_IPV4_ADDR_RANGE (0x7) | IP Protocol ID: 0 (0x0) | length: 16 (0x10) | start port: 0 (0x0) | end port: 65535 (0xffff) | 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: 0 (0x0) | length: 16 (0x10) | start port: 0 (0x0) | end port: 65535 (0xffff) | parsing 4 raw bytes of IKEv2 Traffic Selector into TS low | TS low c0 00 02 00 | parsing 4 raw bytes of IKEv2 Traffic Selector into TS high | TS high c0 00 02 ff | TSr: parsed 1 traffic selectors | looking for best SPD in current connection | evaluating our conn="westnet-eastnet-ikev2" I=192.0.1.0/24:0/0 R=192.0.2.0/24:0/0 to their: | TSi[0] .net=192.0.1.0-192.0.1.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.1.0/24 == TSi[0]net=192.0.1.0-192.0.1.255: YES fitness 32 | narrow port end=0..65535 == TSi[0]=0..65535: 0 | TSi[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSi[0]=*0: 0 | match end->protocol=*0 == TSi[0].ipprotoid=*0: YES fitness 255 | TSr[0] .net=192.0.2.0-192.0.2.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.2.0/24 == TSr[0]net=192.0.2.0-192.0.2.255: YES fitness 32 | narrow port end=0..65535 == TSr[0]=0..65535: 0 | TSr[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSr[0]=*0: 0 | match end->protocol=*0 == TSr[0].ipprotoid=*0: YES fitness 255 | best fit so far: TSi[0] TSr[0] | found better spd route for TSi[0],TSr[0] | looking for better host pair | find_host_pair: comparing 192.1.2.23:500 to 192.1.2.45:500 but ignoring ports | checking hostpair 192.0.2.0/24 -> 192.0.1.0/24 is found | investigating connection "westnet-eastnet-ikev2" as a better match | match_id a=@west | b=@west | results matched | evaluating our conn="westnet-eastnet-ikev2" I=192.0.1.0/24:0/0 R=192.0.2.0/24:0/0 to their: | TSi[0] .net=192.0.1.0-192.0.1.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.1.0/24 == TSi[0]net=192.0.1.0-192.0.1.255: YES fitness 32 | narrow port end=0..65535 == TSi[0]=0..65535: 0 | TSi[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSi[0]=*0: 0 | match end->protocol=*0 == TSi[0].ipprotoid=*0: YES fitness 255 | TSr[0] .net=192.0.2.0-192.0.2.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.2.0/24 == TSr[0]net=192.0.2.0-192.0.2.255: YES fitness 32 | narrow port end=0..65535 == TSr[0]=0..65535: 0 | TSr[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSr[0]=*0: 0 | match end->protocol=*0 == TSr[0].ipprotoid=*0: YES fitness 255 | best fit so far: TSi[0] TSr[0] | did not find a better connection using host pair | printing contents struct traffic_selector | ts_type: IKEv2_TS_IPV4_ADDR_RANGE | ipprotoid: 0 | port range: 0-65535 | ip range: 192.0.2.0-192.0.2.255 | printing contents struct traffic_selector | ts_type: IKEv2_TS_IPV4_ADDR_RANGE | ipprotoid: 0 | port range: 0-65535 | ip range: 192.0.1.0-192.0.1.255 | using existing local ESP/AH proposals for westnet-eastnet-ikev2 (IKE_AUTH responder matching remote ESP/AH proposals): 1:ESP:ENCR=AES_GCM_C_256;INTEG=NONE;DH=NONE;ESN=DISABLED 2:ESP:ENCR=AES_GCM_C_128;INTEG=NONE;DH=NONE;ESN=DISABLED 3:ESP:ENCR=AES_CBC_256;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=NONE;ESN=DISABLED 4:ESP:ENCR=AES_CBC_128;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=NONE;ESN=DISABLED | Comparing remote proposals against IKE_AUTH responder matching remote ESP/AH proposals 4 local proposals | local proposal 1 type ENCR has 1 transforms | local proposal 1 type PRF has 0 transforms | local proposal 1 type INTEG has 1 transforms | local proposal 1 type DH has 1 transforms | local proposal 1 type ESN has 1 transforms | local proposal 1 transforms: required: ENCR+ESN; optional: INTEG+DH | local proposal 2 type ENCR has 1 transforms | local proposal 2 type PRF has 0 transforms | local proposal 2 type INTEG has 1 transforms | local proposal 2 type DH has 1 transforms | local proposal 2 type ESN has 1 transforms | local proposal 2 transforms: required: ENCR+ESN; optional: INTEG+DH | local proposal 3 type ENCR has 1 transforms | local proposal 3 type PRF has 0 transforms | local proposal 3 type INTEG has 2 transforms | local proposal 3 type DH has 1 transforms | local proposal 3 type ESN has 1 transforms | local proposal 3 transforms: required: ENCR+INTEG+ESN; optional: DH | local proposal 4 type ENCR has 1 transforms | local proposal 4 type PRF has 0 transforms | local proposal 4 type INTEG has 2 transforms | local proposal 4 type DH has 1 transforms | local proposal 4 type ESN has 1 transforms | local proposal 4 transforms: required: ENCR+INTEG+ESN; optional: DH | ***parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | length: 52 (0x34) | prop #: 1 (0x1) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (0x4) | # transforms: 4 (0x4) | parsing 4 raw bytes of IKEv2 Proposal Substructure Payload into remote SPI | remote SPI 64 31 32 33 | Comparing remote proposal 1 containing 4 transforms against local proposal [1..4] of 4 local proposals | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 12 (0xc) | 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 (0x80) | remote proposal 1 transform 0 (ENCR=AES_CBC_128) matches local proposal 4 type 1 (ENCR) transform 0 | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 12 (0xc) | IKEv2 transform type: TRANS_TYPE_ENCR (0x1) | IKEv2 transform ID: AES_CBC (0xc) | *****parse IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 256 (0x100) | remote proposal 1 transform 1 (ENCR=AES_CBC_256) matches local proposal 3 type 1 (ENCR) transform 0 | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | 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 3 type 3 (INTEG) transform 1 | remote proposal 1 transform 2 (INTEG=HMAC_SHA2_256_128) matches local proposal 4 type 3 (INTEG) transform 1 | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_LAST (0x0) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_ESN (0x5) | IKEv2 transform ID: ESN_DISABLED (0x0) | remote proposal 1 transform 3 (ESN=DISABLED) matches local proposal 1 type 5 (ESN) transform 0 | remote proposal 1 transform 3 (ESN=DISABLED) matches local proposal 2 type 5 (ESN) transform 0 | remote proposal 1 transform 3 (ESN=DISABLED) matches local proposal 3 type 5 (ESN) transform 0 | remote proposal 1 transform 3 (ESN=DISABLED) matches local proposal 4 type 5 (ESN) transform 0 | remote proposal 1 proposed transforms: ENCR+INTEG+ESN; matched: ENCR+INTEG+ESN; unmatched: none | comparing remote proposal 1 containing ENCR+INTEG+ESN transforms to local proposal 1; required: ENCR+ESN; optional: INTEG+DH; matched: ESN | remote proposal 1 does not match local proposal 1; unmatched transforms: ENCR+INTEG; missing transforms: ENCR | comparing remote proposal 1 containing ENCR+INTEG+ESN transforms to local proposal 2; required: ENCR+ESN; optional: INTEG+DH; matched: ESN | remote proposal 1 does not match local proposal 2; unmatched transforms: ENCR+INTEG; missing transforms: ENCR | comparing remote proposal 1 containing ENCR+INTEG+ESN transforms to local proposal 3; required: ENCR+INTEG+ESN; optional: DH; matched: ENCR+INTEG+ESN | remote proposal 1 matches local proposal 3 "westnet-eastnet-ikev2" #5: proposal 1:ESP:SPI=64313233;ENCR=AES_CBC_256;INTEG=HMAC_SHA2_256_128;ESN=DISABLED chosen from remote proposals 1:ESP:ENCR=AES_CBC_128;ENCR=AES_CBC_256;INTEG=HMAC_SHA2_256_128;ESN=DISABLED[first-match] | IKE_AUTH responder matching remote ESP/AH proposals ikev2_proposal: 1:ESP:SPI=64313233;ENCR=AES_CBC_256;INTEG=HMAC_SHA2_256_128;ESN=DISABLED | converting proposal to internal trans attrs | netlink_get_spi: allocated 0x2c9edd52 for esp.0@192.1.2.23 | Emitting ikev2_proposal ... | ****emit IKEv2 Security Association Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'IKEv2 Authentication Payload'.'next payload type' to current IKEv2 Security Association Payload (33:ISAKMP_NEXT_v2SA) | next payload chain: saving location 'IKEv2 Security Association Payload'.'next payload type' in 'reply packet' | *****emit IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | prop #: 1 (0x1) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (0x4) | # transforms: 3 (0x3) | 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 2c 9e dd 52 | ******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 (0x100) | 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_256_128 (0xc) | last substructure: checking 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' 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' 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 | emitting length of IKEv2 Security Association Payload: 44 | 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 (0x1) | 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: 0 (0x0) | start port: 0 (0x0) | end port: 65535 (0xffff) | emitting 4 raw bytes of ipv4 start into IKEv2 Traffic Selector | ipv4 start c0 00 01 00 | emitting 4 raw bytes of ipv4 end into IKEv2 Traffic Selector | ipv4 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 (0x1) | 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: 0 (0x0) | start port: 0 (0x0) | end port: 65535 (0xffff) | emitting 4 raw bytes of ipv4 start into IKEv2 Traffic Selector | ipv4 start c0 00 02 00 | emitting 4 raw bytes of ipv4 end into IKEv2 Traffic Selector | ipv4 end c0 00 02 ff | emitting length of IKEv2 Traffic Selector: 16 | emitting length of IKEv2 Traffic Selector - Responder - Payload: 24 | Initiator child policy is compress=no, NOT sending v2N_IPCOMP_SUPPORTED | integ=sha2_256: .key_size=32 encrypt=aes: .key_size=32 .salt_size=0 keymat_len=64 | FOR_EACH_CONNECTION_... in ISAKMP_SA_established | install_ipsec_sa() for #6: inbound and outbound | could_route called for westnet-eastnet-ikev2 (kind=CK_PERMANENT) | 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" prospective erouted: self; eroute owner: self | looking for alg with encrypt: AES_CBC keylen: 256 integ: HMAC_SHA2_256_128 | encrypt AES_CBC keylen=256 transid=12, key_size=32, encryptalg=12 | st->st_esp.keymat_len=64 is encrypt_keymat_size=32 + integ_keymat_size=32 | 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 | 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.64313233@192.1.2.45 included non-error error | set up outgoing SA, ref=0/0 | looking for alg with encrypt: AES_CBC keylen: 256 integ: HMAC_SHA2_256_128 | encrypt AES_CBC keylen=256 transid=12, key_size=32, encryptalg=12 | st->st_esp.keymat_len=64 is encrypt_keymat_size=32 + integ_keymat_size=32 | 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 | 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.2c9edd52@192.1.2.23 included non-error error | priority calculation of connection "westnet-eastnet-ikev2" is 0xfe7e7 | add inbound eroute 192.0.1.0/24:0 --0-> 192.0.2.0/24:0 => tun.10000@192.1.2.23 (raw_eroute) | IPsec Sa SPD priority set to 1042407 | raw_eroute result=success | set up incoming SA, ref=0/0 | sr for #6: prospective erouted | 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" prospective erouted: self; eroute owner: self | route_and_eroute with c: westnet-eastnet-ikev2 (next: none) ero:westnet-eastnet-ikev2 esr:{(nil)} ro:westnet-eastnet-ikev2 rosr:{(nil)} and state: #6 | priority calculation of connection "westnet-eastnet-ikev2" is 0xfe7e7 | eroute_connection replace eroute 192.0.2.0/24:0 --0-> 192.0.1.0/24:0 => tun.0@192.1.2.45>tun.0@192.1.2.45 (raw_eroute) | IPsec Sa SPD priority set to 1042407 | raw_eroute result=success | running updown command "ipsec _updown" for verb up | command executing up-client | executing up-client: PLUTO_VERB='up-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet-ikev2' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLUTO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@west' PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+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='' VTI_ROUTING='no' VTI_SHARED='no' SPI_IN=0x64 | popen cmd is 1040 chars long | cmd( 0):PLUTO_VERB='up-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet-ike: | cmd( 80):v2' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLU: | cmd( 160):TO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' : | cmd( 240):PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLU: | cmd( 320):TO_SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@: | cmd( 400):west' PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_P: | cmd( 480):EER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUT: | cmd( 560):O_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='RSASIG+EN: | cmd( 640):CRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND=: | cmd( 720):'CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISCO=': | cmd( 800):0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_C: | cmd( 880):FG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' VTI_ROUT: | cmd( 960):ING='no' VTI_SHARED='no' SPI_IN=0x64313233 SPI_OUT=0x2c9edd52 ipsec _updown 2>&1: | route_and_eroute: firewall_notified: true | route_and_eroute: instance "westnet-eastnet-ikev2", setting eroute_owner {spd=0x559ecd5d17e8,sr=0x559ecd5d17e8} to #6 (was #0) (newest_ipsec_sa=#0) | #5 spent 0.805 milliseconds in install_ipsec_sa() | ISAKMP_v2_IKE_AUTH: instance westnet-eastnet-ikev2[0], setting IKEv2 newest_ipsec_sa to #6 (was #0) (spd.eroute=#6) cloned from #5 | adding 14 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 16 zero bytes of length of truncated HMAC/KEY into IKEv2 Encryption Payload | emitting length of IKEv2 Encryption Payload: 436 | emitting length of ISAKMP Message: 464 | data being hmac: 9b bc 80 d8 98 39 99 b4 e6 e2 87 f3 31 58 78 fb | data being hmac: 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | data being hmac: 8d 37 f8 a2 79 84 72 24 63 46 9f f8 b5 5a 87 cc | data being hmac: a4 5e bb 81 1b b8 71 6d 39 03 e7 f2 16 37 e6 27 | data being hmac: ec 0d b9 ca 04 b7 07 68 85 ae 90 01 dd 4c 42 6c | data being hmac: 34 69 f7 94 3c 33 10 58 9c 6f fa 41 fa 5e 74 ce | data being hmac: 0c 43 83 f8 ed 99 18 94 ba a2 0a e5 51 e6 6c 09 | data being hmac: bf db 09 62 54 a3 62 8e 94 79 e2 c3 cd 0d f9 9e | data being hmac: 23 d7 b6 d5 a2 aa 84 9a 8b 8a 85 ee 37 02 cc 2b | data being hmac: ac 4f 1f 1d d5 f0 02 9f b4 6f 82 18 f1 df 76 6b | data being hmac: 97 55 54 cd e9 9b 64 75 6a de d9 df df a3 cd 72 | data being hmac: 82 84 c9 34 ce f3 53 7c 43 ef 77 76 d1 06 db 52 | data being hmac: 0f 35 4f 20 41 a1 3e f7 f1 10 03 dd 0b 10 58 b4 | data being hmac: e4 cc ff 5b 7a 89 f1 58 8e 6f a2 c9 a3 25 81 dd | data being hmac: 28 aa 61 bb fd db 03 0e 3d 27 e8 d5 c4 f8 b2 b3 | data being hmac: 66 a0 97 b5 55 56 78 26 3a b0 e2 0a 62 cb 21 cb | data being hmac: 2f b0 ae 58 16 f3 2b c1 02 d1 11 6d 15 b1 72 d2 | data being hmac: c8 b9 a9 ad 12 0d b9 f3 0b e1 50 ab 4b 93 f7 46 | data being hmac: c3 78 98 47 d1 1e 8e 73 5a 76 97 92 37 60 88 76 | data being hmac: be 24 d4 21 45 22 6e e9 fa 00 3f d0 0b 88 e1 07 | data being hmac: e4 5a ac ce cc e3 1c ed 00 fd 76 48 6f 92 a3 2b | data being hmac: 3e a8 2c 47 a6 5f 68 22 6e 0b fd 12 93 15 a7 f4 | data being hmac: 1f 98 99 ad 78 7b 48 4b 78 a4 bd 86 c6 07 cd c5 | data being hmac: a9 cc 1d 1d 1f d7 be 0e d2 ef e9 3d 2a 2c 14 f1 | data being hmac: 3c fa 05 27 4a 58 be 00 0c ee 2c 1e eb 7c 47 bd | data being hmac: 2b d0 83 cf d2 9b 43 21 3d d3 67 4e f3 b2 5e 20 | data being hmac: 4e 81 75 70 27 12 54 a4 73 85 22 45 e2 61 1c b7 | data being hmac: f3 45 98 a9 6c 70 61 e8 2d e6 65 f9 50 b4 dc 90 | out calculated auth: | 39 f6 ca 35 7d d0 f7 ea 7c 29 16 de c4 ea 91 1e | ikev2_parent_inI2outR2_continue_tail returned STF_OK | #5 spent 7.27 milliseconds in processing: Responder: process IKE_AUTH request in ikev2_process_state_packet() | suspend processing: state #5 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | start processing: state #6 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #6 complete_v2_state_transition() md.from_state=PARENT_R1 md.svm.state[from]=PARENT_R1 UNDEFINED->V2_IPSEC_R with status STF_OK | IKEv2: transition from state STATE_PARENT_R1 to state STATE_V2_IPSEC_R | child state #6: UNDEFINED(ignore) => V2_IPSEC_R(established CHILD SA) | Message ID: updating counters for #6 to 1 after switching state | Message ID: recv #5.#6 request 1; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0->1; child: wip.initiator=-1 wip.responder=1->-1 | Message ID: sent #5.#6 response 1; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0->1 responder.recv=1; child: wip.initiator=-1 wip.responder=-1 | pstats #6 ikev2.child established "westnet-eastnet-ikev2" #6: negotiated connection [192.0.2.0-192.0.2.255:0-65535 0] -> [192.0.1.0-192.0.1.255:0-65535 0] | NAT-T: encaps is 'auto' "westnet-eastnet-ikev2" #6: STATE_V2_IPSEC_R: IPsec SA established tunnel mode {ESP=>0x64313233 <0x2c9edd52 xfrm=AES_CBC_256-HMAC_SHA2_256_128 NATOA=none NATD=none DPD=passive} | sending V2 new request packet to 192.1.2.45:500 (from 192.1.2.23:500) | sending 464 bytes for STATE_PARENT_R1 through eth1 from 192.1.2.23:500 to 192.1.2.45:500 (using #5) | 9b bc 80 d8 98 39 99 b4 e6 e2 87 f3 31 58 78 fb | 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | 8d 37 f8 a2 79 84 72 24 63 46 9f f8 b5 5a 87 cc | a4 5e bb 81 1b b8 71 6d 39 03 e7 f2 16 37 e6 27 | ec 0d b9 ca 04 b7 07 68 85 ae 90 01 dd 4c 42 6c | 34 69 f7 94 3c 33 10 58 9c 6f fa 41 fa 5e 74 ce | 0c 43 83 f8 ed 99 18 94 ba a2 0a e5 51 e6 6c 09 | bf db 09 62 54 a3 62 8e 94 79 e2 c3 cd 0d f9 9e | 23 d7 b6 d5 a2 aa 84 9a 8b 8a 85 ee 37 02 cc 2b | ac 4f 1f 1d d5 f0 02 9f b4 6f 82 18 f1 df 76 6b | 97 55 54 cd e9 9b 64 75 6a de d9 df df a3 cd 72 | 82 84 c9 34 ce f3 53 7c 43 ef 77 76 d1 06 db 52 | 0f 35 4f 20 41 a1 3e f7 f1 10 03 dd 0b 10 58 b4 | e4 cc ff 5b 7a 89 f1 58 8e 6f a2 c9 a3 25 81 dd | 28 aa 61 bb fd db 03 0e 3d 27 e8 d5 c4 f8 b2 b3 | 66 a0 97 b5 55 56 78 26 3a b0 e2 0a 62 cb 21 cb | 2f b0 ae 58 16 f3 2b c1 02 d1 11 6d 15 b1 72 d2 | c8 b9 a9 ad 12 0d b9 f3 0b e1 50 ab 4b 93 f7 46 | c3 78 98 47 d1 1e 8e 73 5a 76 97 92 37 60 88 76 | be 24 d4 21 45 22 6e e9 fa 00 3f d0 0b 88 e1 07 | e4 5a ac ce cc e3 1c ed 00 fd 76 48 6f 92 a3 2b | 3e a8 2c 47 a6 5f 68 22 6e 0b fd 12 93 15 a7 f4 | 1f 98 99 ad 78 7b 48 4b 78 a4 bd 86 c6 07 cd c5 | a9 cc 1d 1d 1f d7 be 0e d2 ef e9 3d 2a 2c 14 f1 | 3c fa 05 27 4a 58 be 00 0c ee 2c 1e eb 7c 47 bd | 2b d0 83 cf d2 9b 43 21 3d d3 67 4e f3 b2 5e 20 | 4e 81 75 70 27 12 54 a4 73 85 22 45 e2 61 1c b7 | f3 45 98 a9 6c 70 61 e8 2d e6 65 f9 50 b4 dc 90 | 39 f6 ca 35 7d d0 f7 ea 7c 29 16 de c4 ea 91 1e | releasing whack for #6 (sock=fd@-1) | releasing whack and unpending for parent #5 | unpending state #5 connection "westnet-eastnet-ikev2" | #6 will start re-keying in 28530 seconds with margin of 270 seconds (attempting re-key) | event_schedule: new EVENT_SA_REKEY-pe@0x559ecd5dc988 | inserting event EVENT_SA_REKEY, timeout in 28530 seconds for #6 | libevent_malloc: new ptr-libevent@0x559ecd5d3aa8 size 128 | resume sending helper answer for #5 suppresed complete_v2_state_transition() | #5 spent 7.61 milliseconds in resume sending helper answer | stop processing: state #6 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in resume_handler() at server.c:833) | libevent_free: release ptr-libevent@0x7f1a8c004c28 | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00452 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00326 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 80 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 9b bc 80 d8 98 39 99 b4 e6 e2 87 f3 31 58 78 fb | 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | a5 de 66 27 4f b4 93 1b fb f7 c7 1f c5 10 c6 36 | 7a ca e5 6e 23 c6 92 21 9d 9f 3b be a4 b1 38 26 | 96 6a ac a2 be fe 42 e6 df aa 72 0d 2b bd 65 89 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 9b bc 80 d8 98 39 99 b4 | responder cookie: | e6 e2 87 f3 31 58 78 fb | next payload type: ISAKMP_NEXT_v2SK (0x2e) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_INFORMATIONAL (0x25) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 2 (0x2) | length: 80 (0x50) | processing version=2.0 packet with exchange type=ISAKMP_v2_INFORMATIONAL (37) | I am the IKE SA Original Responder receiving an IKEv2 INFORMATIONAL request | State DB: found IKEv2 state #5 in PARENT_R2 (find_v2_ike_sa) | start processing: state #5 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2016) | State DB: IKEv2 state not found (find_v2_sa_by_responder_wip) | [RE]START processing: state #5 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ike_process_packet() at ikev2.c:2064) | #5 st.st_msgid_lastrecv 1 md.hdr.isa_msgid 00000002 | Message ID: #5 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=1 responder.recv=1 | 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 (0x34) | processing payload: ISAKMP_NEXT_v2SK (len=48) | Message ID: start-responder #5 request 2; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=1 responder.recv=1 wip.initiator=-1 wip.responder=-1->2 | #5 in state PARENT_R2: received v2I2, PARENT SA established | data for hmac: 9b bc 80 d8 98 39 99 b4 e6 e2 87 f3 31 58 78 fb | data for hmac: 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | data for hmac: a5 de 66 27 4f b4 93 1b fb f7 c7 1f c5 10 c6 36 | data for hmac: 7a ca e5 6e 23 c6 92 21 9d 9f 3b be a4 b1 38 26 | calculated auth: 96 6a ac a2 be fe 42 e6 df aa 72 0d 2b bd 65 89 | provided auth: 96 6a ac a2 be fe 42 e6 df aa 72 0d 2b bd 65 89 | authenticator matched | #5 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 (0xc) | protocol ID: PROTO_v2_ESP (0x3) | SPI size: 4 (0x4) | number of SPIs: 1 (0x1) | processing payload: ISAKMP_NEXT_v2D (len=4) | selected state microcode R2: process INFORMATIONAL Request | Now let's proceed with state specific processing | calling processor R2: process INFORMATIONAL Request | an informational request should send a response | Received an INFORMATIONAL response, updating st_last_liveness, no pending_liveness | **emit ISAKMP Message: | initiator cookie: | 9b bc 80 d8 98 39 99 b4 | responder cookie: | e6 e2 87 f3 31 58 78 fb | 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_MSG_RESPONSE (0x20) | Message ID: 2 (0x2) | 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 64 31 32 33 | delete PROTO_v2_ESP SA(0x64313233) | v2 CHILD SA #6 found using their inbound (our outbound) SPI, in STATE_V2_IPSEC_R | State DB: found IKEv2 state #6 in V2_IPSEC_R (find_v2_child_sa_by_outbound_spi) | our side SPI that needs to be deleted: PROTO_v2_ESP SA(0x64313233) "westnet-eastnet-ikev2" #5: received Delete SA payload: delete IPsec State #6 now | pstats #6 ikev2.child deleted completed | suspend processing: state #5 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in delete_state() at state.c:879) | start processing: state #6 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in delete_state() at state.c:879) "westnet-eastnet-ikev2" #6: deleting other state #6 (STATE_V2_IPSEC_R) aged 0.106s and NOT sending notification | child state #6: V2_IPSEC_R(established CHILD SA) => delete | get_sa_info esp.64313233@192.1.2.45 | get_sa_info esp.2c9edd52@192.1.2.23 "westnet-eastnet-ikev2" #6: ESP traffic information: in=0B out=0B | child state #6: V2_IPSEC_R(established CHILD SA) => CHILDSA_DEL(informational) | state #6 requesting EVENT_SA_REKEY to be deleted | libevent_free: release ptr-libevent@0x559ecd5d3aa8 | free_event_entry: release EVENT_SA_REKEY-pe@0x559ecd5dc988 | running updown command "ipsec _updown" for verb down | command executing down-client | executing down-client: PLUTO_VERB='down-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet-ikev2' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLUTO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@west' PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='1566825096' PLUTO_CONN_POLICY='RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+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='' VTI_ROUTING='no' VTI_SHARED='no | popen cmd is 1051 chars long | cmd( 0):PLUTO_VERB='down-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet-i: | cmd( 80):kev2' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' P: | cmd( 160):LUTO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0: | cmd( 240):' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' P: | cmd( 320):LUTO_SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID=: | cmd( 400):'@west' PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO: | cmd( 480):_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PL: | cmd( 560):UTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='1566825096' PLUTO_CONN_POLICY: | cmd( 640):='RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO: | cmd( 720):_CONN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_P: | cmd( 800):EER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER: | cmd( 880):='' PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE=: | cmd( 960):'' VTI_ROUTING='no' VTI_SHARED='no' SPI_IN=0x64313233 SPI_OUT=0x2c9edd52 ipsec _: | cmd(1040):updown 2>&1: | shunt_eroute() called for connection 'westnet-eastnet-ikev2' to 'replace with shunt' for rt_kind 'prospective erouted' using protoports 0--0->-0 | netlink_shunt_eroute for proto 0, and source port 0 dest port 0 | priority calculation of connection "westnet-eastnet-ikev2" is 0xfe7e7 | IPsec Sa SPD priority set to 1042407 | delete esp.64313233@192.1.2.45 | netlink response for Del SA esp.64313233@192.1.2.45 included non-error error | priority calculation of connection "westnet-eastnet-ikev2" is 0xfe7e7 | delete inbound eroute 192.0.1.0/24:0 --0-> 192.0.2.0/24:0 => unk255.10000@192.1.2.23 (raw_eroute) | raw_eroute result=success | delete esp.2c9edd52@192.1.2.23 | netlink response for Del SA esp.2c9edd52@192.1.2.23 included non-error error | in connection_discard for connection westnet-eastnet-ikev2 | State DB: deleting IKEv2 state #6 in CHILDSA_DEL | child state #6: CHILDSA_DEL(informational) => UNDEFINED(ignore) | stop processing: state #6 from 192.1.2.45:500 (in delete_state() at state.c:1143) | resume processing: state #5 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in delete_state() at state.c:1143) | ****emit IKEv2 Delete Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | protocol ID: PROTO_v2_ESP (0x3) | SPI size: 4 (0x4) | number of SPIs: 1 (0x1) | 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 2c 9e dd 52 | 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 | data being hmac: 9b bc 80 d8 98 39 99 b4 e6 e2 87 f3 31 58 78 fb | data being hmac: 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | data being hmac: 0e 37 bd 9a 3a f7 2c 01 69 17 73 48 9f 2f 55 fb | data being hmac: ab 85 fc 57 df 51 ee e1 f9 6a c4 78 75 b3 41 c5 | out calculated auth: | 92 48 77 73 e1 1a 26 ef ab 2f c6 b1 ce e2 00 d7 | sending 80 bytes for reply packet for process_encrypted_informational_ikev2 through eth1 from 192.1.2.23:500 to 192.1.2.45:500 (using #5) | 9b bc 80 d8 98 39 99 b4 e6 e2 87 f3 31 58 78 fb | 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | 0e 37 bd 9a 3a f7 2c 01 69 17 73 48 9f 2f 55 fb | ab 85 fc 57 df 51 ee e1 f9 6a c4 78 75 b3 41 c5 | 92 48 77 73 e1 1a 26 ef ab 2f c6 b1 ce e2 00 d7 | Message ID: #5 XXX: in process_encrypted_informational_ikev2() hacking around record'n'send bypassing send queue hacking around delete_my_family(); initiator.sent=-1 initiator.recv=-1 responder.sent=1 responder.recv=1 wip.initiator=-1 wip.responder=2 | Message ID: sent #5 response 2; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=1->2 responder.recv=1 wip.initiator=-1 wip.responder=2 | #5 spent 1.04 milliseconds in processing: R2: process INFORMATIONAL Request in ikev2_process_state_packet() | [RE]START processing: state #5 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #5 complete_v2_state_transition() PARENT_R2->PARENT_R2 with status STF_OK | Message ID: updating counters for #5 to 2 after switching state | Message ID: recv #5 request 2; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=1->2 wip.initiator=-1 wip.responder=2->-1 | Message ID: #5 skipping update_send as nothing to send; initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=2 wip.initiator=-1 wip.responder=-1 "westnet-eastnet-ikev2" #5: STATE_PARENT_R2: received v2I2, PARENT SA established | stop processing: state #5 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2018) | #5 spent 1.23 milliseconds in ikev2_process_packet() | stop processing: from 192.1.2.45:500 (in process_md() at demux.c:380) | processing: STOP state #0 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 1.24 milliseconds in comm_handle_cb() reading and processing packet | spent 0.00179 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 80 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 9b bc 80 d8 98 39 99 b4 e6 e2 87 f3 31 58 78 fb | 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | 36 65 f7 ce 9b 27 be 67 dd c3 8b 0c 37 2d 34 22 | c5 4f 9f 14 8f 93 0f 6a 76 25 f6 de c1 e0 48 9c | 67 97 9d c9 b8 27 07 17 d5 26 5b 14 9c 56 63 3e | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 9b bc 80 d8 98 39 99 b4 | responder cookie: | e6 e2 87 f3 31 58 78 fb | next payload type: ISAKMP_NEXT_v2SK (0x2e) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_INFORMATIONAL (0x25) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 3 (0x3) | length: 80 (0x50) | processing version=2.0 packet with exchange type=ISAKMP_v2_INFORMATIONAL (37) | I am the IKE SA Original Responder receiving an IKEv2 INFORMATIONAL request | State DB: found IKEv2 state #5 in PARENT_R2 (find_v2_ike_sa) | start processing: state #5 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2016) | State DB: IKEv2 state not found (find_v2_sa_by_responder_wip) | [RE]START processing: state #5 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ike_process_packet() at ikev2.c:2064) | #5 st.st_msgid_lastrecv 2 md.hdr.isa_msgid 00000003 | Message ID: #5 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=2 | 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 (0x34) | processing payload: ISAKMP_NEXT_v2SK (len=48) | Message ID: start-responder #5 request 3; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=2 wip.initiator=-1 wip.responder=-1->3 | #5 in state PARENT_R2: received v2I2, PARENT SA established | data for hmac: 9b bc 80 d8 98 39 99 b4 e6 e2 87 f3 31 58 78 fb | data for hmac: 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | data for hmac: 36 65 f7 ce 9b 27 be 67 dd c3 8b 0c 37 2d 34 22 | data for hmac: c5 4f 9f 14 8f 93 0f 6a 76 25 f6 de c1 e0 48 9c | calculated auth: 67 97 9d c9 b8 27 07 17 d5 26 5b 14 9c 56 63 3e | provided auth: 67 97 9d c9 b8 27 07 17 d5 26 5b 14 9c 56 63 3e | authenticator matched | #5 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 (0x8) | protocol ID: PROTO_v2_IKE (0x1) | SPI size: 0 (0x0) | number of SPIs: 0 (0x0) | processing payload: ISAKMP_NEXT_v2D (len=0) | selected state microcode R2: process INFORMATIONAL Request | Now let's proceed with state specific processing | calling processor R2: process INFORMATIONAL Request | an informational request should send a response | Received an INFORMATIONAL response, updating st_last_liveness, no pending_liveness | **emit ISAKMP Message: | initiator cookie: | 9b bc 80 d8 98 39 99 b4 | responder cookie: | e6 e2 87 f3 31 58 78 fb | 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_MSG_RESPONSE (0x20) | Message ID: 3 (0x3) | 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 | data being hmac: 9b bc 80 d8 98 39 99 b4 e6 e2 87 f3 31 58 78 fb | data being hmac: 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | data being hmac: 77 2a e2 ef c6 43 6a f0 1a 5d 91 0d 0f 31 d2 39 | data being hmac: 9f fd c3 a1 51 6a 66 67 6e 19 33 43 57 0c b3 84 | out calculated auth: | a2 75 4d 77 26 42 2e 98 80 e9 c2 21 6a fa 62 f3 | sending 80 bytes for reply packet for process_encrypted_informational_ikev2 through eth1 from 192.1.2.23:500 to 192.1.2.45:500 (using #5) | 9b bc 80 d8 98 39 99 b4 e6 e2 87 f3 31 58 78 fb | 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | 77 2a e2 ef c6 43 6a f0 1a 5d 91 0d 0f 31 d2 39 | 9f fd c3 a1 51 6a 66 67 6e 19 33 43 57 0c b3 84 | a2 75 4d 77 26 42 2e 98 80 e9 c2 21 6a fa 62 f3 | Message ID: #5 XXX: in process_encrypted_informational_ikev2() hacking around record'n'send bypassing send queue hacking around delete_my_family(); initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=2 wip.initiator=-1 wip.responder=3 | Message ID: sent #5 response 3; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=2->3 responder.recv=2 wip.initiator=-1 wip.responder=3 | State DB: IKEv2 state not found (delete_my_family) | parent state #5: PARENT_R2(established IKE SA) => IKESA_DEL(established IKE SA) | pstats #5 ikev2.ike deleted completed | #5 spent 14.8 milliseconds in total | [RE]START processing: state #5 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in delete_state() at state.c:879) "westnet-eastnet-ikev2" #5: deleting state (STATE_IKESA_DEL) aged 0.136s and NOT sending notification | parent state #5: IKESA_DEL(established IKE SA) => delete | state #5 requesting EVENT_SA_REKEY to be deleted | libevent_free: release ptr-libevent@0x559ecd5b1fb8 | free_event_entry: release EVENT_SA_REKEY-pe@0x559ecd5d3728 | State DB: IKEv2 state not found (flush_incomplete_children) | in connection_discard for connection westnet-eastnet-ikev2 | State DB: deleting IKEv2 state #5 in IKESA_DEL | parent state #5: IKESA_DEL(established IKE SA) => UNDEFINED(ignore) | unreference key: 0x559ecd52ac48 @west cnt 2-- | stop processing: state #5 from 192.1.2.45:500 (in delete_state() at state.c:1143) | in statetime_stop() and could not find #5 | skip start processing: state #0 (in complete_v2_state_transition() at ikev2.c:3379) | #0 complete_v2_state_transition() md.from_state=PARENT_R2 md.svm.state[from]=PARENT_R2 UNDEFINED->PARENT_R2 with status STF_OK | STF_OK but no state object remains | processing: STOP state #0 (in ikev2_process_packet() at ikev2.c:2018) | in statetime_stop() and could not find #5 | stop processing: from 192.1.2.45:500 (in process_md() at demux.c:380) | processing: STOP state #0 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.501 milliseconds in comm_handle_cb() reading and processing packet | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00409 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00267 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 1220 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 07 1a 4b 25 a4 a9 65 d1 00 00 00 00 00 00 00 00 | 21 20 22 08 00 00 00 00 00 00 04 c4 22 00 00 3c | 00 00 00 38 01 01 00 05 03 00 00 0c 01 00 00 0c | 80 0e 01 00 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 12 28 00 04 08 00 12 00 00 | da ef a7 39 fd c4 07 65 61 05 16 a1 f1 73 82 74 | 8e 4d 20 ef 19 d3 d7 91 9a 47 fc c6 a4 36 82 0d | 0c e7 bd 95 11 2a cd 25 4c 1f 39 d8 15 57 d1 79 | 54 16 90 10 45 eb d7 42 ac 9c af 5c b9 a8 8c 7e | 08 f0 b7 80 6e 4b 20 a0 1c 36 31 46 ea 5a 30 46 | e0 e9 c4 c5 d0 33 2a ad 9a a9 6f ec 77 b6 f1 df | 5c 82 2e 01 64 c2 33 1e d4 10 5b 2b 22 be 2d 32 | e4 e4 96 9a ff 4c 18 84 8d b2 12 90 6b 26 36 af | 42 90 d2 6a ab 3a 48 ab b9 95 47 86 c5 26 07 98 | c6 58 5a eb d4 84 52 ab a5 ad 61 79 35 40 6a a1 | 65 69 87 3d 1c 1d be 07 2a d5 26 3c 10 fa d4 b1 | 4f 17 fa bb 80 7d 35 f1 e2 de f9 e3 42 14 d2 19 | 27 ca 8b 2e 93 b2 43 07 7e 95 14 6c bb f7 ca d0 | b7 b3 75 e2 41 8e f1 1e 79 51 aa 71 98 52 26 6e | ac cd 4a d8 0b 7b 91 6b 72 ad a0 24 c0 3a 83 b1 | ae e9 89 c9 ff 4f f8 c2 77 fe 8b ff 58 f8 a1 49 | e5 f7 c7 64 ec a5 33 89 11 28 c3 05 cb f5 ed 81 | db 6b 9c 1b d6 6c a8 db f2 85 1e 21 9f ba c8 92 | bd 2d e0 33 32 4d a2 f3 ac 9d 36 0e bc 1c 74 85 | 4f 08 e3 25 73 fc 29 60 95 7d 31 eb db 04 81 04 | 34 0d 77 b7 9f 87 34 67 a1 d2 da e8 e0 b2 5f eb | ff c3 0f 07 80 b2 df a1 b6 56 c4 94 92 12 35 3d | 05 45 45 a8 0e 8c 66 65 4a 0b b8 6c 25 b8 df 52 | 59 fb ef 48 14 59 e6 10 db 20 9c f3 49 94 e0 70 | fd 17 02 86 21 51 9a 19 59 e5 c2 97 fd 80 40 72 | 90 ec 2b eb c8 e8 2e f9 66 6b b8 95 df bd 0f 4a | 4a 83 aa 6a 51 36 86 64 57 54 e7 ce 28 17 b3 ef | 74 0d 58 3f 24 cd 09 49 2f dc 6c 84 ea 24 e1 3a | 8a ba 5f b1 8a c8 3c 11 83 e4 0e 88 42 6f fd d2 | f8 b1 bb ff 2c 3c 72 48 72 20 cf cc 89 8f 4e 54 | 41 b0 83 df 18 05 f3 a6 57 b0 88 9c 4b 8e f2 25 | e7 53 26 15 c6 2a 6a 91 f1 5b 1d 61 7e 67 4a b6 | c4 91 ba 42 7d b6 fe 3a 03 6c 98 cd b7 3f f1 73 | f2 69 07 d5 bd a1 20 0a 0e 89 85 c5 43 5c e2 b2 | 8c c9 5c 73 e1 78 cc 96 1e 54 50 b7 98 4c 98 4d | 03 87 72 84 28 7c f7 45 b1 f3 96 e3 e2 59 2b 1e | 7d b1 52 7e 67 ee 6c 7f e8 6b a7 fe 12 e8 9f b3 | e0 59 8c 00 c4 21 4c 96 b3 2e ec fc f5 c5 d1 be | e3 43 d8 dc e4 cc ec b1 76 f0 2b dd 28 2c 63 a8 | 4e 26 94 a0 f4 d4 7c 3e 08 42 39 6e 72 3d 59 91 | df 74 28 94 78 14 d9 3a 41 5e 16 b7 3a cf 35 e6 | ec be b4 84 8a c7 46 08 7e 25 06 2f 61 57 56 bb | e6 96 0a ba 4c d3 6f 1b 6d bb 99 56 fd 75 73 8f | 41 d3 76 76 33 5d ca 1c 92 10 45 85 71 58 9f c5 | eb bb c5 db c3 70 a8 5a 67 61 09 45 3f ae ab 96 | 73 42 bb e9 11 dc da df 90 d1 e1 9a b4 3d 7e 0a | d3 16 35 ca 30 cb 89 eb ea 10 a5 53 67 f8 12 3c | ca 46 ef 82 92 1f b6 07 54 b4 d0 fe 7f 73 4e 73 | f7 41 07 9a c4 08 41 a9 87 63 ab bb 93 01 7a 45 | b8 14 bf 80 a8 19 b3 bf e5 eb f4 68 8b c2 14 db | 27 be 9d eb c2 58 90 59 4f df ad 2e 81 d0 79 ba | e6 99 99 78 09 3d 37 4a 7d 51 a0 25 17 01 94 37 | 0e 76 f7 e3 d7 bf 45 26 59 2a bd f2 7f 1e 3c d8 | 9e 59 9d 54 19 c0 a3 c9 88 cd 66 a4 74 a7 1c 65 | f6 8a 8e 7c f3 64 15 cf ec 09 34 ba 85 97 9c 4a | dd 6a c8 5b 45 cf dd 05 b9 fd 53 f5 77 a3 04 81 | 15 f5 97 a5 be 5a 0e 98 5c 50 1e ad 8b 25 ad 50 | 8e 93 ef 41 fc 1c 40 f0 2c 38 95 ca 2a a0 a8 45 | d1 ff 99 41 27 a2 13 45 51 e9 1c 72 46 ed 23 1c | 7e e9 82 2a d7 62 5e d1 c6 6a 34 71 df 52 47 31 | 68 70 35 83 09 9f f4 e2 7d cb 68 94 a4 f1 3b b8 | bc 0d 8b c1 d8 d8 21 ec 06 db 75 b1 17 46 50 f5 | c0 60 f8 49 82 90 8a 2f 06 8c c9 a1 0b e5 6f 68 | b8 2c d5 29 bf 1f cd 2b 07 da 87 93 2c a3 b5 46 | 29 00 00 24 b1 37 42 ea b9 bb fc 27 0a e1 5c 1e | 33 9d fe b4 28 8e 61 04 3c a3 d2 0f e2 4c ee d1 | 28 a8 72 da 29 00 00 08 00 00 40 2e 29 00 00 1c | 00 00 40 04 ed bb 4c 81 04 48 f6 d9 aa 9d 05 01 | aa 71 11 be 35 5d 6d 3d 00 00 00 1c 00 00 40 05 | 7b 28 12 f6 d2 b4 bc cc 81 85 db 92 71 d8 e7 76 | 48 85 73 c4 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 07 1a 4b 25 a4 a9 65 d1 | responder cookie: | 00 00 00 00 00 00 00 00 | next payload type: ISAKMP_NEXT_v2SA (0x21) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_IKE_SA_INIT (0x22) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 0 (0x0) | length: 1220 (0x4c4) | processing version=2.0 packet with exchange type=ISAKMP_v2_IKE_SA_INIT (34) | I am the IKE SA Original Responder receiving an IKEv2 IKE_SA_INIT request | State DB: IKEv2 state not found (find_v2_ike_sa_by_initiator_spi) | Now let's proceed with payload (ISAKMP_NEXT_v2SA) | ***parse IKEv2 Security Association Payload: | next payload type: ISAKMP_NEXT_v2KE (0x22) | flags: none (0x0) | length: 60 (0x3c) | processing payload: ISAKMP_NEXT_v2SA (len=56) | 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: 1032 (0x408) | DH group: OAKLEY_GROUP_MODP8192 (0x12) | processing payload: ISAKMP_NEXT_v2KE (len=1024) | 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 (0x24) | 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 (0x8) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | 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 (0x1c) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | 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 (0x1c) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | Notify Message Type: v2N_NAT_DETECTION_DESTINATION_IP (0x4005) | processing payload: ISAKMP_NEXT_v2N (len=20) | DDOS disabled and no cookie sent, continuing | find_host_connection local=192.1.2.23:500 remote=192.1.2.45:500 policy=ECDSA+IKEV2_ALLOW but ignoring ports | find_host_pair: comparing 192.1.2.23:500 to 192.1.2.45:500 but ignoring ports | find_next_host_connection policy=ECDSA+IKEV2_ALLOW | found policy = RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO (westnet-eastnet-ikev2) | find_next_host_connection returns empty | find_host_connection local=192.1.2.23:500 remote= policy=ECDSA+IKEV2_ALLOW but ignoring ports | find_next_host_connection policy=ECDSA+IKEV2_ALLOW | find_next_host_connection returns empty | initial parent SA message received on 192.1.2.23:500 but no connection has been authorized with policy ECDSA+IKEV2_ALLOW | find_host_connection local=192.1.2.23:500 remote=192.1.2.45:500 policy=RSASIG+IKEV2_ALLOW but ignoring ports | find_host_pair: comparing 192.1.2.23:500 to 192.1.2.45:500 but ignoring ports | find_next_host_connection policy=RSASIG+IKEV2_ALLOW | found policy = RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO (westnet-eastnet-ikev2) | find_next_host_connection returns westnet-eastnet-ikev2 | find_next_host_connection policy=RSASIG+IKEV2_ALLOW | find_next_host_connection returns empty | found connection: westnet-eastnet-ikev2 with policy RSASIG+IKEV2_ALLOW | creating state object #7 at 0x559ecd5d5578 | State DB: adding IKEv2 state #7 in UNDEFINED | pstats #7 ikev2.ike started | Message ID: init #7: msgid=0 lastack=4294967295 nextuse=0 lastrecv=4294967295 lastreplied=0 | parent state #7: UNDEFINED(ignore) => PARENT_R0(half-open IKE SA) | Message ID: init_ike #7; ike: initiator.sent=0->-1 initiator.recv=0->-1 responder.sent=0->-1 responder.recv=0->-1 wip.initiator=0->-1 wip.responder=0->-1 | start processing: state #7 connection "westnet-eastnet-ikev2" from 192.1.2.45 (in ikev2_process_packet() at ikev2.c:2016) | State DB: IKEv2 state not found (find_v2_sa_by_responder_wip) | [RE]START processing: state #7 connection "westnet-eastnet-ikev2" from 192.1.2.45 (in ike_process_packet() at ikev2.c:2064) | #7 st.st_msgid_lastrecv -1 md.hdr.isa_msgid 00000000 | Message ID: #7 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=-1 responder.recv=-1 | Message ID: start-responder #7 request 0; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=-1 responder.recv=-1 wip.initiator=-1 wip.responder=-1->0 | #7 in state PARENT_R0: processing SA_INIT request | selected state microcode Respond to IKE_SA_INIT | Now let's proceed with state specific processing | calling processor Respond to IKE_SA_INIT | #7 updating local interface from 192.1.2.23:500 to 192.1.2.23:500 using md->iface (in update_ike_endpoints() at state.c:2669) | using existing local IKE proposals for connection westnet-eastnet-ikev2 (IKE SA responder matching remote proposals): 1:IKE:ENCR=AES_GCM_C_256;PRF=HMAC_SHA2_512,HMAC_SHA2_256;INTEG=NONE;DH=MODP2048,MODP3072,MODP4096,MODP8192,ECP_256,ECP_384,ECP_521,CURVE25519 2:IKE:ENCR=AES_GCM_C_128;PRF=HMAC_SHA2_512,HMAC_SHA2_256;INTEG=NONE;DH=MODP2048,MODP3072,MODP4096,MODP8192,ECP_256,ECP_384,ECP_521,CURVE25519 3:IKE:ENCR=AES_CBC_256;PRF=HMAC_SHA2_512,HMAC_SHA2_256;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=MODP2048,MODP3072,MODP4096,MODP8192,ECP_256,ECP_384,ECP_521,CURVE25519 4:IKE:ENCR=AES_CBC_128;PRF=HMAC_SHA2_512,HMAC_SHA2_256;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=MODP2048,MODP3072,MODP4096,MODP8192,ECP_256,ECP_384,ECP_521,CURVE25519 | Comparing remote proposals against IKE responder 4 local proposals | local proposal 1 type ENCR has 1 transforms | local proposal 1 type PRF has 2 transforms | local proposal 1 type INTEG has 1 transforms | local proposal 1 type DH has 8 transforms | local proposal 1 type ESN has 0 transforms | local proposal 1 transforms: required: ENCR+PRF+DH; optional: INTEG | local proposal 2 type ENCR has 1 transforms | local proposal 2 type PRF has 2 transforms | local proposal 2 type INTEG has 1 transforms | local proposal 2 type DH has 8 transforms | local proposal 2 type ESN has 0 transforms | local proposal 2 transforms: required: ENCR+PRF+DH; optional: INTEG | local proposal 3 type ENCR has 1 transforms | local proposal 3 type PRF has 2 transforms | local proposal 3 type INTEG has 2 transforms | local proposal 3 type DH has 8 transforms | local proposal 3 type ESN has 0 transforms | local proposal 3 transforms: required: ENCR+PRF+INTEG+DH; optional: none | local proposal 4 type ENCR has 1 transforms | local proposal 4 type PRF has 2 transforms | local proposal 4 type INTEG has 2 transforms | local proposal 4 type DH has 8 transforms | local proposal 4 type ESN has 0 transforms | local proposal 4 transforms: required: ENCR+PRF+INTEG+DH; optional: none | ****parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | length: 56 (0x38) | prop #: 1 (0x1) | proto ID: IKEv2_SEC_PROTO_IKE (0x1) | spi size: 0 (0x0) | # transforms: 5 (0x5) | Comparing remote proposal 1 containing 5 transforms against local proposal [1..4] of 4 local proposals | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 12 (0xc) | IKEv2 transform type: TRANS_TYPE_ENCR (0x1) | IKEv2 transform ID: AES_CBC (0xc) | ******parse IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 256 (0x100) | remote proposal 1 transform 0 (ENCR=AES_CBC_256) matches local proposal 3 type 1 (ENCR) transform 0 | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 12 (0xc) | 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 (0x80) | remote proposal 1 transform 1 (ENCR=AES_CBC_128) matches local proposal 4 type 1 (ENCR) transform 0 | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_PRF (0x2) | IKEv2 transform ID: PRF_HMAC_SHA2_256 (0x5) | remote proposal 1 transform 2 (PRF=HMAC_SHA2_256) matches local proposal 1 type 2 (PRF) transform 1 | remote proposal 1 transform 2 (PRF=HMAC_SHA2_256) matches local proposal 2 type 2 (PRF) transform 1 | remote proposal 1 transform 2 (PRF=HMAC_SHA2_256) matches local proposal 3 type 2 (PRF) transform 1 | remote proposal 1 transform 2 (PRF=HMAC_SHA2_256) matches local proposal 4 type 2 (PRF) transform 1 | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_INTEG (0x3) | IKEv2 transform ID: AUTH_HMAC_SHA2_256_128 (0xc) | remote proposal 1 transform 3 (INTEG=HMAC_SHA2_256_128) matches local proposal 3 type 3 (INTEG) transform 1 | remote proposal 1 transform 3 (INTEG=HMAC_SHA2_256_128) matches local proposal 4 type 3 (INTEG) transform 1 | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_LAST (0x0) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP8192 (0x12) | remote proposal 1 transform 4 (DH=MODP8192) matches local proposal 1 type 4 (DH) transform 3 | remote proposal 1 transform 4 (DH=MODP8192) matches local proposal 2 type 4 (DH) transform 3 | remote proposal 1 transform 4 (DH=MODP8192) matches local proposal 3 type 4 (DH) transform 3 | remote proposal 1 transform 4 (DH=MODP8192) matches local proposal 4 type 4 (DH) transform 3 | 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+DH; optional: INTEG; matched: PRF+DH | remote proposal 1 does not match local proposal 1; unmatched transforms: ENCR+INTEG; missing transforms: ENCR | comparing remote proposal 1 containing ENCR+PRF+INTEG+DH transforms to local proposal 2; required: ENCR+PRF+DH; optional: INTEG; matched: PRF+DH | remote proposal 1 does not match local proposal 2; unmatched transforms: ENCR+INTEG; missing transforms: ENCR | comparing remote proposal 1 containing ENCR+PRF+INTEG+DH transforms to local proposal 3; required: ENCR+PRF+INTEG+DH; optional: none; matched: ENCR+PRF+INTEG+DH | remote proposal 1 matches local proposal 3 "westnet-eastnet-ikev2" #7: proposal 1:IKE:ENCR=AES_CBC_256;PRF=HMAC_SHA2_256;INTEG=HMAC_SHA2_256_128;DH=MODP8192 chosen from remote proposals 1:IKE:ENCR=AES_CBC_256;ENCR=AES_CBC_128;PRF=HMAC_SHA2_256;INTEG=HMAC_SHA2_256_128;DH=MODP8192[first-match] | accepted IKE proposal ikev2_proposal: 1:IKE:ENCR=AES_CBC_256;PRF=HMAC_SHA2_256;INTEG=HMAC_SHA2_256_128;DH=MODP8192 | converting proposal to internal trans attrs | natd_hash: rcookie is zero | natd_hash: hasher=0x559ecc52c800(20) | natd_hash: icookie= 07 1a 4b 25 a4 a9 65 d1 | natd_hash: rcookie= 00 00 00 00 00 00 00 00 | natd_hash: ip= c0 01 02 17 | natd_hash: port=500 | natd_hash: hash= 7b 28 12 f6 d2 b4 bc cc 81 85 db 92 71 d8 e7 76 | natd_hash: hash= 48 85 73 c4 | natd_hash: rcookie is zero | natd_hash: hasher=0x559ecc52c800(20) | natd_hash: icookie= 07 1a 4b 25 a4 a9 65 d1 | natd_hash: rcookie= 00 00 00 00 00 00 00 00 | natd_hash: ip= c0 01 02 2d | natd_hash: port=500 | natd_hash: hash= ed bb 4c 81 04 48 f6 d9 aa 9d 05 01 aa 71 11 be | natd_hash: hash= 35 5d 6d 3d | NAT_TRAVERSAL encaps using auto-detect | NAT_TRAVERSAL this end is NOT behind NAT | NAT_TRAVERSAL that end is NOT behind NAT | NAT_TRAVERSAL nat-keepalive enabled 192.1.2.45 | adding ikev2_inI1outR1 KE work-order 7 for state #7 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x559ecd5d3728 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #7 | libevent_malloc: new ptr-libevent@0x7f1a8c004c28 size 128 | #7 spent 0.186 milliseconds in processing: Respond to IKE_SA_INIT in ikev2_process_state_packet() | [RE]START processing: state #7 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #7 complete_v2_state_transition() PARENT_R0->PARENT_R1 with status STF_SUSPEND | suspending state #7 and saving MD | #7 is busy; has a suspended MD | crypto helper 6 resuming | crypto helper 6 starting work-order 7 for state #7 | [RE]START processing: state #7 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in log_stf_suspend() at ikev2.c:3269) | crypto helper 6 doing build KE and nonce (ikev2_inI1outR1 KE); request ID 7 | "westnet-eastnet-ikev2" #7 complete v2 state STATE_PARENT_R0 transition with STF_SUSPEND suspended from complete_v2_state_transition:3451 | stop processing: state #7 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2018) | #7 spent 0.491 milliseconds in ikev2_process_packet() | stop processing: from 192.1.2.45:500 (in process_md() at demux.c:380) | processing: STOP state #0 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.499 milliseconds in comm_handle_cb() reading and processing packet | crypto helper 6 finished build KE and nonce (ikev2_inI1outR1 KE); request ID 7 time elapsed 0.022307 seconds | (#7) spent 22.2 milliseconds in crypto helper computing work-order 7: ikev2_inI1outR1 KE (pcr) | crypto helper 6 sending results from work-order 7 for state #7 to event queue | scheduling resume sending helper answer for #7 | libevent_malloc: new ptr-libevent@0x7f1a90004f18 size 128 | crypto helper 6 waiting (nothing to do) | processing resume sending helper answer for #7 | start processing: state #7 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in resume_handler() at server.c:797) | crypto helper 6 replies to request ID 7 | calling continuation function 0x559ecc457b50 | ikev2_parent_inI1outR1_continue for #7: calculated ke+nonce, sending R1 | **emit ISAKMP Message: | initiator cookie: | 07 1a 4b 25 a4 a9 65 d1 | responder cookie: | 6f 27 00 1e df d7 19 46 | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_IKE_SA_INIT (0x22) | flags: ISAKMP_FLAG_v2_MSG_RESPONSE (0x20) | Message ID: 0 (0x0) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | Emitting ikev2_proposal ... | ***emit IKEv2 Security Association Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'ISAKMP Message'.'next payload type' to current IKEv2 Security Association Payload (33:ISAKMP_NEXT_v2SA) | next payload chain: saving location 'IKEv2 Security Association Payload'.'next payload type' in 'reply packet' | ****emit IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | prop #: 1 (0x1) | proto ID: IKEv2_SEC_PROTO_IKE (0x1) | spi size: 0 (0x0) | # transforms: 4 (0x4) | 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: 256 (0x100) | 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' 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' 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_MODP8192 (0x12) | last substructure: checking 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' 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_MODP8192 (0x12) | 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 1024 raw bytes of ikev2 g^x into IKEv2 Key Exchange Payload | ikev2 g^x dc 33 e4 3a 1e 5f e4 05 12 65 96 34 01 36 ad 43 | ikev2 g^x 21 f4 62 af ce 93 8c 2a d3 e9 c3 be ae 45 2f 1d | ikev2 g^x a0 db ea b6 ac be 1f ee 48 b3 cf c7 43 60 2f 6f | ikev2 g^x 6f f3 db 38 43 fe f8 b9 bb fe 15 1f cb 64 de 7c | ikev2 g^x 96 04 53 9d f5 47 31 9f 08 06 7e e3 b9 72 4b b6 | ikev2 g^x a8 33 ec 65 ab 95 fd f5 b6 31 2a a4 ad 05 d5 5e | ikev2 g^x 7e 66 ab f5 83 0b 33 3a e9 75 a6 00 f7 0c 66 33 | ikev2 g^x 21 ec 97 c0 8e c8 56 ca 05 a9 fa e2 d6 3c ff 82 | ikev2 g^x b2 9f bc a2 a0 f3 77 3e e3 1c e3 ea f3 ee 97 3f | ikev2 g^x 07 38 f1 46 48 00 6d ff b2 16 b2 31 05 97 03 3e | ikev2 g^x e8 6a 49 e4 7a 6c 8c 92 7c e7 7c d8 ad 84 06 2a | ikev2 g^x 23 ea 81 e9 ee df 78 b4 03 65 cb e9 4e 01 ef c9 | ikev2 g^x ae 43 62 02 37 98 aa 53 a1 11 d8 bc 97 d1 c0 cf | ikev2 g^x 6d f2 2c 8e 84 b1 cc c2 cd c2 a2 89 53 1a f7 e1 | ikev2 g^x 62 c4 87 67 c8 30 f8 fb f3 3c 18 f7 e4 df 30 67 | ikev2 g^x 9a e8 fc f3 d4 16 2d dd f6 ae d5 3b ed ec 20 da | ikev2 g^x fa c4 81 ae 13 3c 68 43 4e 11 c5 f5 ec 60 da 9a | ikev2 g^x 8c cb 2a 2d a2 64 f1 6e cc c7 98 30 f4 ec f6 40 | ikev2 g^x b0 67 ca c4 a3 7a c7 e3 f5 7f 36 e7 cd fa fd 50 | ikev2 g^x 5e bf 9b 42 7c 10 ff c7 af ee ce a8 89 2f 6c a9 | ikev2 g^x fb a4 04 e4 f2 21 e4 d7 07 60 ca ee 6b e7 d8 4f | ikev2 g^x ba 63 23 cc 51 45 60 dc 06 77 49 fd 48 45 5d 66 | ikev2 g^x 2e f0 ff 85 1a 28 4c 09 e7 41 5b b9 e9 3a ad 2b | ikev2 g^x 28 7b 5b 3d d8 8c 65 18 3d 21 1b 6c 30 d2 68 01 | ikev2 g^x 93 86 7e 64 5c a7 b1 53 1c 50 56 62 6f d9 e1 e3 | ikev2 g^x 13 5c a4 03 60 b6 02 b9 a8 3a 4a 6f 0c bb 46 3f | ikev2 g^x c3 09 c1 99 93 b6 26 2b a1 c3 51 d7 c9 9a 9a 2f | ikev2 g^x 96 67 c4 68 15 96 d3 a4 df 50 6f 32 ca e7 4a ff | ikev2 g^x d2 af 5c 8d 9f 71 1b 45 aa cb f1 3c cb fb af 4c | ikev2 g^x b6 5b fc c4 32 dc 21 9a 16 bc 81 35 ad 08 02 67 | ikev2 g^x c0 f9 d3 22 67 c1 75 ba 93 49 5b dd 3a df ca 18 | ikev2 g^x 3d d0 cc 76 b0 1f 77 62 09 b2 9b 7f f6 ac 10 a9 | ikev2 g^x 1c 28 84 84 5b 96 26 ae 31 70 ee 40 a5 66 4c f4 | ikev2 g^x 6d b1 3d f3 66 16 2b 9d da df 44 6c 1f fe 7c 6b | ikev2 g^x 1f 48 8c 72 9a fb ae 5e 95 85 c0 84 55 4f 4a 90 | ikev2 g^x 2b 09 c2 33 7f 2b 8b d4 e9 d6 c0 01 68 44 69 f9 | ikev2 g^x b4 df e1 f6 7c 48 15 4a 4c a0 c6 a2 42 0e 4a 9f | ikev2 g^x 49 50 2a ac 38 3c f7 27 53 49 af 5e 93 7f b9 93 | ikev2 g^x 8f 72 df 96 b2 01 ff cd 6c 9e 68 f0 62 35 ba e4 | ikev2 g^x 93 e0 c8 a5 9d 47 0f 29 8e 9c 5a 84 6f 1b e4 16 | ikev2 g^x f2 0b 10 31 8d 60 04 69 56 b6 62 c3 69 e1 d0 58 | ikev2 g^x a2 26 02 e0 d3 fc 38 d3 6e b9 34 93 82 f2 75 a1 | ikev2 g^x dc 07 3c c7 42 3f bb e7 37 5a 02 a5 b5 24 de 06 | ikev2 g^x 4d b8 06 e8 a8 aa 93 ff 0f c3 30 95 16 06 fa ed | ikev2 g^x 23 f8 fb ca af 01 f0 92 83 f2 e4 b7 eb 20 51 f3 | ikev2 g^x 47 c7 4d b2 e8 36 9f e2 01 d8 2c 73 fd 95 43 fd | ikev2 g^x ea 07 29 54 b4 87 e6 c8 40 c6 b2 08 38 70 e3 b9 | ikev2 g^x ce fa 40 5a 62 4b 89 d8 98 24 90 ca a2 9e d2 91 | ikev2 g^x a5 27 01 35 70 87 56 96 62 a0 d6 4e 44 37 ff 87 | ikev2 g^x b9 d3 48 54 4f b1 0f 20 33 27 11 31 c5 31 75 69 | ikev2 g^x fe ff 32 85 19 d0 24 2a 6f 7a b6 e3 b5 d4 e5 58 | ikev2 g^x 65 15 dc 31 c5 ca 2c b2 89 f1 81 4a 85 f1 85 b9 | ikev2 g^x 40 21 a9 c1 cc 90 f3 17 95 7d b1 26 5b dd 6b ff | ikev2 g^x 1e 5d 36 b5 d6 59 ab 7c 8c 1b ac 24 c7 8d f1 96 | ikev2 g^x 97 7d 63 67 69 ee 93 f9 27 3d 49 9f e7 70 c0 b9 | ikev2 g^x a4 16 4d 97 9a 2a 6e 8d 18 16 ee 91 35 fd 56 b1 | ikev2 g^x 68 43 1f 37 69 50 30 06 c5 59 44 fd 89 03 56 64 | ikev2 g^x 98 bf 02 2e 49 03 55 f2 e7 77 bd fe fc b7 40 4b | ikev2 g^x a2 05 13 fc f6 d4 a9 e1 d7 2e fc 55 82 11 c0 a7 | ikev2 g^x 24 50 75 da dd fb f3 60 7f f4 71 8a 54 c7 ba a6 | ikev2 g^x 4c c6 02 97 65 a9 4a b4 6f be 15 ee b5 22 ba 68 | ikev2 g^x 02 4e 5d 1b c3 6b dd 68 0b dd 36 90 7a ed 13 05 | ikev2 g^x 9f b0 53 f9 8a 9f 7e 57 06 13 25 21 d2 7b 4f 32 | ikev2 g^x 70 c3 46 d9 a0 f6 61 09 71 7e 5f 9b be 22 12 3d | emitting length of IKEv2 Key Exchange Payload: 1032 | ***emit IKEv2 Nonce Payload: | next payload type: ISAKMP_NEXT_v2N (0x29) | flags: none (0x0) | next payload chain: ignoring supplied 'IKEv2 Nonce Payload'.'next payload type' value 41:ISAKMP_NEXT_v2N | 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 d7 3a 4f f7 20 07 30 09 3b a8 36 fc 83 76 29 e8 | IKEv2 nonce c2 2a 7c 59 05 ab c8 59 ee 2c f4 a3 da b2 66 fb | 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: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | Notify Message Type: v2N_IKEV2_FRAGMENTATION_SUPPORTED (0x402e) | next payload chain: setting previous 'IKEv2 Nonce Payload'.'next payload type' to current IKEv2 Notify Payload (41:ISAKMP_NEXT_v2N) | next payload chain: saving location 'IKEv2 Notify Payload'.'next payload type' in 'reply packet' | emitting length of IKEv2 Notify Payload: 8 | NAT-Traversal support [enabled] add v2N payloads. | natd_hash: hasher=0x559ecc52c800(20) | natd_hash: icookie= 07 1a 4b 25 a4 a9 65 d1 | natd_hash: rcookie= 6f 27 00 1e df d7 19 46 | natd_hash: ip= c0 01 02 17 | natd_hash: port=500 | natd_hash: hash= ee 67 c2 a9 c8 3f 1b 50 b7 ab 6c e1 85 ef 1d 6b | natd_hash: hash= ab 90 ac d4 | Adding a v2N Payload | ***emit IKEv2 Notify Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | 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 67 c2 a9 c8 3f 1b 50 b7 ab 6c e1 85 ef 1d 6b | Notify data ab 90 ac d4 | emitting length of IKEv2 Notify Payload: 28 | natd_hash: hasher=0x559ecc52c800(20) | natd_hash: icookie= 07 1a 4b 25 a4 a9 65 d1 | natd_hash: rcookie= 6f 27 00 1e df d7 19 46 | natd_hash: ip= c0 01 02 2d | natd_hash: port=500 | natd_hash: hash= 95 f3 47 c6 5b 0c 17 4e 58 b5 7c 8d e6 64 5d c0 | natd_hash: hash= 81 49 ea 50 | Adding a v2N Payload | ***emit IKEv2 Notify Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | 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 95 f3 47 c6 5b 0c 17 4e 58 b5 7c 8d e6 64 5d c0 | Notify data 81 49 ea 50 | emitting length of IKEv2 Notify Payload: 28 | emitting length of ISAKMP Message: 1208 | [RE]START processing: state #7 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #7 complete_v2_state_transition() PARENT_R0->PARENT_R1 with status STF_OK | IKEv2: transition from state STATE_PARENT_R0 to state STATE_PARENT_R1 | parent state #7: PARENT_R0(half-open IKE SA) => PARENT_R1(half-open IKE SA) | Message ID: updating counters for #7 to 0 after switching state | Message ID: recv #7 request 0; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=-1 responder.recv=-1->0 wip.initiator=-1 wip.responder=0->-1 | Message ID: sent #7 response 0; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=-1->0 responder.recv=0 wip.initiator=-1 wip.responder=-1 "westnet-eastnet-ikev2" #7: STATE_PARENT_R1: received v2I1, sent v2R1 {auth=IKEv2 cipher=AES_CBC_256 integ=HMAC_SHA2_256_128 prf=HMAC_SHA2_256 group=MODP8192} | sending V2 new request packet to 192.1.2.45:500 (from 192.1.2.23:500) | sending 1208 bytes for STATE_PARENT_R0 through eth1 from 192.1.2.23:500 to 192.1.2.45:500 (using #7) | 07 1a 4b 25 a4 a9 65 d1 6f 27 00 1e df d7 19 46 | 21 20 22 20 00 00 00 00 00 00 04 b8 22 00 00 30 | 00 00 00 2c 01 01 00 04 03 00 00 0c 01 00 00 0c | 80 0e 01 00 03 00 00 08 02 00 00 05 03 00 00 08 | 03 00 00 0c 00 00 00 08 04 00 00 12 28 00 04 08 | 00 12 00 00 dc 33 e4 3a 1e 5f e4 05 12 65 96 34 | 01 36 ad 43 21 f4 62 af ce 93 8c 2a d3 e9 c3 be | ae 45 2f 1d a0 db ea b6 ac be 1f ee 48 b3 cf c7 | 43 60 2f 6f 6f f3 db 38 43 fe f8 b9 bb fe 15 1f | cb 64 de 7c 96 04 53 9d f5 47 31 9f 08 06 7e e3 | b9 72 4b b6 a8 33 ec 65 ab 95 fd f5 b6 31 2a a4 | ad 05 d5 5e 7e 66 ab f5 83 0b 33 3a e9 75 a6 00 | f7 0c 66 33 21 ec 97 c0 8e c8 56 ca 05 a9 fa e2 | d6 3c ff 82 b2 9f bc a2 a0 f3 77 3e e3 1c e3 ea | f3 ee 97 3f 07 38 f1 46 48 00 6d ff b2 16 b2 31 | 05 97 03 3e e8 6a 49 e4 7a 6c 8c 92 7c e7 7c d8 | ad 84 06 2a 23 ea 81 e9 ee df 78 b4 03 65 cb e9 | 4e 01 ef c9 ae 43 62 02 37 98 aa 53 a1 11 d8 bc | 97 d1 c0 cf 6d f2 2c 8e 84 b1 cc c2 cd c2 a2 89 | 53 1a f7 e1 62 c4 87 67 c8 30 f8 fb f3 3c 18 f7 | e4 df 30 67 9a e8 fc f3 d4 16 2d dd f6 ae d5 3b | ed ec 20 da fa c4 81 ae 13 3c 68 43 4e 11 c5 f5 | ec 60 da 9a 8c cb 2a 2d a2 64 f1 6e cc c7 98 30 | f4 ec f6 40 b0 67 ca c4 a3 7a c7 e3 f5 7f 36 e7 | cd fa fd 50 5e bf 9b 42 7c 10 ff c7 af ee ce a8 | 89 2f 6c a9 fb a4 04 e4 f2 21 e4 d7 07 60 ca ee | 6b e7 d8 4f ba 63 23 cc 51 45 60 dc 06 77 49 fd | 48 45 5d 66 2e f0 ff 85 1a 28 4c 09 e7 41 5b b9 | e9 3a ad 2b 28 7b 5b 3d d8 8c 65 18 3d 21 1b 6c | 30 d2 68 01 93 86 7e 64 5c a7 b1 53 1c 50 56 62 | 6f d9 e1 e3 13 5c a4 03 60 b6 02 b9 a8 3a 4a 6f | 0c bb 46 3f c3 09 c1 99 93 b6 26 2b a1 c3 51 d7 | c9 9a 9a 2f 96 67 c4 68 15 96 d3 a4 df 50 6f 32 | ca e7 4a ff d2 af 5c 8d 9f 71 1b 45 aa cb f1 3c | cb fb af 4c b6 5b fc c4 32 dc 21 9a 16 bc 81 35 | ad 08 02 67 c0 f9 d3 22 67 c1 75 ba 93 49 5b dd | 3a df ca 18 3d d0 cc 76 b0 1f 77 62 09 b2 9b 7f | f6 ac 10 a9 1c 28 84 84 5b 96 26 ae 31 70 ee 40 | a5 66 4c f4 6d b1 3d f3 66 16 2b 9d da df 44 6c | 1f fe 7c 6b 1f 48 8c 72 9a fb ae 5e 95 85 c0 84 | 55 4f 4a 90 2b 09 c2 33 7f 2b 8b d4 e9 d6 c0 01 | 68 44 69 f9 b4 df e1 f6 7c 48 15 4a 4c a0 c6 a2 | 42 0e 4a 9f 49 50 2a ac 38 3c f7 27 53 49 af 5e | 93 7f b9 93 8f 72 df 96 b2 01 ff cd 6c 9e 68 f0 | 62 35 ba e4 93 e0 c8 a5 9d 47 0f 29 8e 9c 5a 84 | 6f 1b e4 16 f2 0b 10 31 8d 60 04 69 56 b6 62 c3 | 69 e1 d0 58 a2 26 02 e0 d3 fc 38 d3 6e b9 34 93 | 82 f2 75 a1 dc 07 3c c7 42 3f bb e7 37 5a 02 a5 | b5 24 de 06 4d b8 06 e8 a8 aa 93 ff 0f c3 30 95 | 16 06 fa ed 23 f8 fb ca af 01 f0 92 83 f2 e4 b7 | eb 20 51 f3 47 c7 4d b2 e8 36 9f e2 01 d8 2c 73 | fd 95 43 fd ea 07 29 54 b4 87 e6 c8 40 c6 b2 08 | 38 70 e3 b9 ce fa 40 5a 62 4b 89 d8 98 24 90 ca | a2 9e d2 91 a5 27 01 35 70 87 56 96 62 a0 d6 4e | 44 37 ff 87 b9 d3 48 54 4f b1 0f 20 33 27 11 31 | c5 31 75 69 fe ff 32 85 19 d0 24 2a 6f 7a b6 e3 | b5 d4 e5 58 65 15 dc 31 c5 ca 2c b2 89 f1 81 4a | 85 f1 85 b9 40 21 a9 c1 cc 90 f3 17 95 7d b1 26 | 5b dd 6b ff 1e 5d 36 b5 d6 59 ab 7c 8c 1b ac 24 | c7 8d f1 96 97 7d 63 67 69 ee 93 f9 27 3d 49 9f | e7 70 c0 b9 a4 16 4d 97 9a 2a 6e 8d 18 16 ee 91 | 35 fd 56 b1 68 43 1f 37 69 50 30 06 c5 59 44 fd | 89 03 56 64 98 bf 02 2e 49 03 55 f2 e7 77 bd fe | fc b7 40 4b a2 05 13 fc f6 d4 a9 e1 d7 2e fc 55 | 82 11 c0 a7 24 50 75 da dd fb f3 60 7f f4 71 8a | 54 c7 ba a6 4c c6 02 97 65 a9 4a b4 6f be 15 ee | b5 22 ba 68 02 4e 5d 1b c3 6b dd 68 0b dd 36 90 | 7a ed 13 05 9f b0 53 f9 8a 9f 7e 57 06 13 25 21 | d2 7b 4f 32 70 c3 46 d9 a0 f6 61 09 71 7e 5f 9b | be 22 12 3d 29 00 00 24 d7 3a 4f f7 20 07 30 09 | 3b a8 36 fc 83 76 29 e8 c2 2a 7c 59 05 ab c8 59 | ee 2c f4 a3 da b2 66 fb 29 00 00 08 00 00 40 2e | 29 00 00 1c 00 00 40 04 ee 67 c2 a9 c8 3f 1b 50 | b7 ab 6c e1 85 ef 1d 6b ab 90 ac d4 00 00 00 1c | 00 00 40 05 95 f3 47 c6 5b 0c 17 4e 58 b5 7c 8d | e6 64 5d c0 81 49 ea 50 | state #7 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x7f1a8c004c28 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x559ecd5d3728 | event_schedule: new EVENT_SO_DISCARD-pe@0x559ecd5d3728 | inserting event EVENT_SO_DISCARD, timeout in 200 seconds for #7 | libevent_malloc: new ptr-libevent@0x559ecd5d8978 size 128 | resume sending helper answer for #7 suppresed complete_v2_state_transition() | #7 spent 0.577 milliseconds in resume sending helper answer | stop processing: state #7 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in resume_handler() at server.c:833) | libevent_free: release ptr-libevent@0x7f1a90004f18 | spent 0.00266 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 480 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 07 1a 4b 25 a4 a9 65 d1 6f 27 00 1e df d7 19 46 | 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | 9b 10 7d 54 4c eb 2d 1b 40 a2 49 70 38 97 72 03 | 30 77 d6 ac f6 4f 6b ce df 46 70 78 f1 40 6d 80 | d7 d5 1f 7d a2 f1 26 2e 3c 80 b7 66 ca 52 3b b1 | af 35 33 1b 53 be 93 35 35 74 27 00 a0 00 e1 ee | 56 78 34 f7 02 b7 d9 72 50 40 38 1d ae 91 15 11 | a7 72 5f 1f 6e de b8 72 22 08 06 b2 c0 e0 0c 79 | 15 c6 44 bb 24 90 b5 c3 78 22 a0 16 6a 77 22 10 | bd 5c d6 da ea 97 cf 32 a2 fa 65 3d 27 1b 0d 2f | 86 8d 11 99 12 af 54 51 50 f3 59 c7 db 5e 7e f7 | 66 6c 2c f8 2c 3c f0 5a 19 7a 40 af 0e 9d 27 0e | ae b8 17 dd 35 09 7d 02 dc 2f 7c 5b 11 5d 6d c9 | 10 fc f1 5e 6c 69 1c 01 5d 61 f9 49 a7 ba 6d 57 | 45 f8 8b aa bd 6b 27 cf 44 53 16 75 6b a3 35 ba | 97 0c 67 e4 a6 3e af ae d6 5c d2 6f 23 ed 49 02 | 90 0a 3d 66 c4 6c 61 b0 76 11 34 9a 63 8f 06 23 | ef b8 d1 e9 f9 32 c7 a8 8c 1b 35 67 3a 8f 5f 21 | 27 86 67 a2 ca 39 97 3c f9 54 e6 b5 0a 20 99 50 | 50 79 a5 0d e7 aa 25 62 2e 66 d7 47 10 0f 11 f5 | ea de e0 88 dc 19 5f d7 48 18 17 eb e1 1d 38 d7 | 91 86 c9 52 22 e1 6a e5 a2 9d 13 2d a3 21 41 26 | 3a a7 d5 bf c0 cf 30 93 20 07 bf ad 3d f3 e2 28 | 0c 24 83 00 8d 50 c6 2b 95 46 1b c9 3e 0f aa 33 | bf 88 6f 6f 03 58 37 3f 7f 5f fa b0 02 2b d5 43 | b7 7c 6a 94 98 f2 56 b6 45 c3 be e4 ac b8 dc b8 | af 08 26 f2 dd eb 94 9b e6 95 40 7d ef 2d 5d 19 | 08 e4 ab 38 2c 46 5f 04 a8 a3 7a a1 4f f1 34 ad | 44 71 1a 5e 6c fa 33 16 cc f2 ef 29 fa f2 6a 8b | d5 51 f3 ae 8c ef 7f 32 4a 14 01 dc c1 dc cd 2e | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 07 1a 4b 25 a4 a9 65 d1 | responder cookie: | 6f 27 00 1e df d7 19 46 | next payload type: ISAKMP_NEXT_v2SK (0x2e) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_IKE_AUTH (0x23) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 1 (0x1) | length: 480 (0x1e0) | processing version=2.0 packet with exchange type=ISAKMP_v2_IKE_AUTH (35) | I am the IKE SA Original Responder receiving an IKEv2 IKE_AUTH request | State DB: found IKEv2 state #7 in PARENT_R1 (find_v2_ike_sa) | start processing: state #7 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2016) | State DB: IKEv2 state not found (find_v2_sa_by_responder_wip) | [RE]START processing: state #7 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ike_process_packet() at ikev2.c:2064) | #7 st.st_msgid_lastrecv 0 md.hdr.isa_msgid 00000001 | Message ID: #7 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0 | unpacking clear payload | Now let's proceed with payload (ISAKMP_NEXT_v2SK) | ***parse IKEv2 Encryption Payload: | next payload type: ISAKMP_NEXT_v2IDi (0x23) | flags: none (0x0) | length: 452 (0x1c4) | processing payload: ISAKMP_NEXT_v2SK (len=448) | Message ID: start-responder #7 request 1; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0 wip.initiator=-1 wip.responder=-1->1 | #7 in state PARENT_R1: received v2I1, sent v2R1 | selected state microcode Responder: process IKE_AUTH request (no SKEYSEED) | Now let's proceed with state specific processing | calling processor Responder: process IKE_AUTH request (no SKEYSEED) | ikev2 parent inI2outR2: calculating g^{xy} in order to decrypt I2 | offloading IKEv2 SKEYSEED using prf=HMAC_SHA2_256 integ=HMAC_SHA2_256_128 cipherkey=AES_CBC | adding ikev2_inI2outR2 KE work-order 8 for state #7 | state #7 requesting EVENT_SO_DISCARD to be deleted | libevent_free: release ptr-libevent@0x559ecd5d8978 | free_event_entry: release EVENT_SO_DISCARD-pe@0x559ecd5d3728 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x559ecd5d3728 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #7 | libevent_malloc: new ptr-libevent@0x7f1a90004f18 size 128 | #7 spent 0.0214 milliseconds in processing: Responder: process IKE_AUTH request (no SKEYSEED) in ikev2_process_state_packet() | [RE]START processing: state #7 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #7 complete_v2_state_transition() PARENT_R1->PARENT_R1 with status STF_SUSPEND | suspending state #7 and saving MD | crypto helper 0 resuming | crypto helper 0 starting work-order 8 for state #7 | crypto helper 0 doing compute dh (V2) (ikev2_inI2outR2 KE); request ID 8 | #7 is busy; has a suspended MD | [RE]START processing: state #7 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in log_stf_suspend() at ikev2.c:3269) | "westnet-eastnet-ikev2" #7 complete v2 state STATE_PARENT_R1 transition with STF_SUSPEND suspended from complete_v2_state_transition:3451 | stop processing: state #7 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2018) | #7 spent 0.155 milliseconds in ikev2_process_packet() | stop processing: from 192.1.2.45:500 (in process_md() at demux.c:380) | processing: STOP state #0 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.163 milliseconds in comm_handle_cb() reading and processing packet | calculating skeyseed using prf=sha2_256 integ=sha2_256 cipherkey-size=32 salt-size=0 | crypto helper 0 finished compute dh (V2) (ikev2_inI2outR2 KE); request ID 8 time elapsed 0.020418 seconds | (#7) spent 19.7 milliseconds in crypto helper computing work-order 8: ikev2_inI2outR2 KE (pcr) | crypto helper 0 sending results from work-order 8 for state #7 to event queue | scheduling resume sending helper answer for #7 | libevent_malloc: new ptr-libevent@0x7f1aa4006748 size 128 | crypto helper 0 waiting (nothing to do) | processing resume sending helper answer for #7 | start processing: state #7 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in resume_handler() at server.c:797) | crypto helper 0 replies to request ID 8 | calling continuation function 0x559ecc457b50 | ikev2_parent_inI2outR2_continue for #7: calculating g^{xy}, sending R2 | #7 in state PARENT_R1: received v2I1, sent v2R1 | data for hmac: 07 1a 4b 25 a4 a9 65 d1 6f 27 00 1e df d7 19 46 | data for hmac: 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | data for hmac: 9b 10 7d 54 4c eb 2d 1b 40 a2 49 70 38 97 72 03 | data for hmac: 30 77 d6 ac f6 4f 6b ce df 46 70 78 f1 40 6d 80 | data for hmac: d7 d5 1f 7d a2 f1 26 2e 3c 80 b7 66 ca 52 3b b1 | data for hmac: af 35 33 1b 53 be 93 35 35 74 27 00 a0 00 e1 ee | data for hmac: 56 78 34 f7 02 b7 d9 72 50 40 38 1d ae 91 15 11 | data for hmac: a7 72 5f 1f 6e de b8 72 22 08 06 b2 c0 e0 0c 79 | data for hmac: 15 c6 44 bb 24 90 b5 c3 78 22 a0 16 6a 77 22 10 | data for hmac: bd 5c d6 da ea 97 cf 32 a2 fa 65 3d 27 1b 0d 2f | data for hmac: 86 8d 11 99 12 af 54 51 50 f3 59 c7 db 5e 7e f7 | data for hmac: 66 6c 2c f8 2c 3c f0 5a 19 7a 40 af 0e 9d 27 0e | data for hmac: ae b8 17 dd 35 09 7d 02 dc 2f 7c 5b 11 5d 6d c9 | data for hmac: 10 fc f1 5e 6c 69 1c 01 5d 61 f9 49 a7 ba 6d 57 | data for hmac: 45 f8 8b aa bd 6b 27 cf 44 53 16 75 6b a3 35 ba | data for hmac: 97 0c 67 e4 a6 3e af ae d6 5c d2 6f 23 ed 49 02 | data for hmac: 90 0a 3d 66 c4 6c 61 b0 76 11 34 9a 63 8f 06 23 | data for hmac: ef b8 d1 e9 f9 32 c7 a8 8c 1b 35 67 3a 8f 5f 21 | data for hmac: 27 86 67 a2 ca 39 97 3c f9 54 e6 b5 0a 20 99 50 | data for hmac: 50 79 a5 0d e7 aa 25 62 2e 66 d7 47 10 0f 11 f5 | data for hmac: ea de e0 88 dc 19 5f d7 48 18 17 eb e1 1d 38 d7 | data for hmac: 91 86 c9 52 22 e1 6a e5 a2 9d 13 2d a3 21 41 26 | data for hmac: 3a a7 d5 bf c0 cf 30 93 20 07 bf ad 3d f3 e2 28 | data for hmac: 0c 24 83 00 8d 50 c6 2b 95 46 1b c9 3e 0f aa 33 | data for hmac: bf 88 6f 6f 03 58 37 3f 7f 5f fa b0 02 2b d5 43 | data for hmac: b7 7c 6a 94 98 f2 56 b6 45 c3 be e4 ac b8 dc b8 | data for hmac: af 08 26 f2 dd eb 94 9b e6 95 40 7d ef 2d 5d 19 | data for hmac: 08 e4 ab 38 2c 46 5f 04 a8 a3 7a a1 4f f1 34 ad | data for hmac: 44 71 1a 5e 6c fa 33 16 cc f2 ef 29 fa f2 6a 8b | calculated auth: d5 51 f3 ae 8c ef 7f 32 4a 14 01 dc c1 dc cd 2e | provided auth: d5 51 f3 ae 8c ef 7f 32 4a 14 01 dc c1 dc cd 2e | authenticator matched | #7 ikev2 ISAKMP_v2_IKE_AUTH decrypt success | Now let's proceed with payload (ISAKMP_NEXT_v2IDi) | **parse IKEv2 Identification - Initiator - Payload: | next payload type: ISAKMP_NEXT_v2IDr (0x24) | flags: none (0x0) | length: 12 (0xc) | ID type: ID_FQDN (0x2) | processing payload: ISAKMP_NEXT_v2IDi (len=4) | Now let's proceed with payload (ISAKMP_NEXT_v2IDr) | **parse IKEv2 Identification - Responder - Payload: | next payload type: ISAKMP_NEXT_v2AUTH (0x27) | flags: none (0x0) | length: 12 (0xc) | ID type: ID_FQDN (0x2) | 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: 282 (0x11a) | auth method: IKEv2_AUTH_RSA (0x1) | processing payload: ISAKMP_NEXT_v2AUTH (len=274) | 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: 56 (0x38) | processing payload: ISAKMP_NEXT_v2SA (len=52) | 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 (0x18) | number of TS: 1 (0x1) | 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 (0x18) | number of TS: 1 (0x1) | processing payload: ISAKMP_NEXT_v2TSr (len=16) | selected state microcode Responder: process IKE_AUTH request | Now let's proceed with state specific processing | calling processor Responder: process IKE_AUTH request "westnet-eastnet-ikev2" #7: processing decrypted IKE_AUTH request: SK{IDi,IDr,AUTH,SA,TSi,TSr} | #7 updating local interface from 192.1.2.23:500 to 192.1.2.23:500 using md->iface (in update_ike_endpoints() at state.c:2669) | received IDr payload - extracting our alleged ID | refine_host_connection for IKEv2: starting with "westnet-eastnet-ikev2" | match_id a=@west | b=@west | results matched | refine_host_connection: checking "westnet-eastnet-ikev2" against "westnet-eastnet-ikev2", best=(none) with match=1(id=1(0)/ca=1(0)/reqca=1(0)) | Warning: not switching back to template of current instance | Peer expects us to be @east (ID_FQDN) according to its IDr payload | This connection's local id is @east (ID_FQDN) | refine_host_connection: checked westnet-eastnet-ikev2 against westnet-eastnet-ikev2, now for see if best | started looking for secret for @east->@west of kind PKK_RSA | actually looking for secret for @east->@west of kind PKK_RSA | line 1: key type PKK_RSA(@east) to type PKK_RSA | 1: compared key (none) to @east / @west -> 002 | 2: compared key (none) to @east / @west -> 002 | line 1: match=002 | match 002 beats previous best_match 000 match=0x559ecd52ab58 (line=1) | concluding with best_match=002 best=0x559ecd52ab58 (lineno=1) | returning because exact peer id match | offered CA: '%none' "westnet-eastnet-ikev2" #7: IKEv2 mode peer ID is ID_FQDN: '@west' | verifying AUTH payload | required RSA CA is '%any' | checking RSA keyid '@east' for match with '@west' | checking RSA keyid '@west' for match with '@west' | key issuer CA is '%any' | an RSA Sig check passed with *AQOm9dY/4 [preloaded key] | #7 spent 0.0556 milliseconds in try_all_RSA_keys() trying a pubkey "westnet-eastnet-ikev2" #7: Authenticated using RSA | #7 spent 0.0836 milliseconds in ikev2_verify_rsa_hash() | parent state #7: PARENT_R1(half-open IKE SA) => PARENT_R2(established IKE SA) | #7 will start re-keying in 3330 seconds with margin of 270 seconds (attempting re-key) | state #7 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x7f1a90004f18 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x559ecd5d3728 | event_schedule: new EVENT_SA_REKEY-pe@0x559ecd5d3728 | inserting event EVENT_SA_REKEY, timeout in 3330 seconds for #7 | libevent_malloc: new ptr-libevent@0x559ecd5d3aa8 size 128 | pstats #7 ikev2.ike established | **emit ISAKMP Message: | initiator cookie: | 07 1a 4b 25 a4 a9 65 d1 | responder cookie: | 6f 27 00 1e df d7 19 46 | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_IKE_AUTH (0x23) | flags: ISAKMP_FLAG_v2_MSG_RESPONSE (0x20) | Message ID: 1 (0x1) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | IKEv2 CERT: send a certificate? | IKEv2 CERT: no certificate to send | ***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 | Initiator child policy is compress=no, NOT sending v2N_IPCOMP_SUPPORTED | ****emit IKEv2 Identification - Responder - Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | ID type: ID_FQDN (0x2) | next payload chain: setting previous 'IKEv2 Encryption Payload'.'next payload type' to current IKEv2 Identification - Responder - Payload (36:ISAKMP_NEXT_v2IDr) | next payload chain: saving location 'IKEv2 Identification - Responder - Payload'.'next payload type' in 'reply packet' | emitting 4 raw bytes of my identity into IKEv2 Identification - Responder - Payload | my identity 65 61 73 74 | emitting length of IKEv2 Identification - Responder - Payload: 12 | assembled IDr payload | CHILD SA proposals received | going to assemble AUTH payload | ****emit IKEv2 Authentication Payload: | next payload type: ISAKMP_NEXT_v2SA (0x21) | flags: none (0x0) | auth method: IKEv2_AUTH_RSA (0x1) | next payload chain: ignoring supplied 'IKEv2 Authentication Payload'.'next payload type' value 33:ISAKMP_NEXT_v2SA | 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' | started looking for secret for @east->@west of kind PKK_RSA | actually looking for secret for @east->@west of kind PKK_RSA | line 1: key type PKK_RSA(@east) to type PKK_RSA | 1: compared key (none) to @east / @west -> 002 | 2: compared key (none) to @east / @west -> 002 | line 1: match=002 | match 002 beats previous best_match 000 match=0x559ecd52ab58 (line=1) | concluding with best_match=002 best=0x559ecd52ab58 (lineno=1) | #7 spent 2.91 milliseconds in ikev2_calculate_rsa_hash() calling sign_hash_RSA() | emitting 274 raw bytes of rsa signature into IKEv2 Authentication Payload | rsa signature 99 a3 49 8f 52 c3 61 77 b3 b2 e5 ca 6e 9d e5 ae | rsa signature e1 08 69 5e 0b 92 a1 ee 61 a4 7c e9 fd 12 b9 c9 | rsa signature 26 21 57 c5 de 13 17 2f 1c 0f 8b 23 a0 07 e6 6a | rsa signature db 56 3f c6 f6 1a 52 25 ce ba e7 77 1c 90 a5 86 | rsa signature 3c 99 f2 a5 b9 b0 64 fc 46 48 7d d5 22 ec 9f f8 | rsa signature bb 11 e7 78 82 2d c9 f3 d0 d9 21 52 d1 2b a6 4d | rsa signature a9 10 48 0f 0b 3b 95 bc 5f 39 7a 36 a8 94 cc 38 | rsa signature db 3b 72 d9 0f df 81 12 39 0c 45 95 d9 86 e0 f0 | rsa signature 2d ae d0 ae 80 7f 16 38 7b 4a 7b 4f b9 df 18 24 | rsa signature ab 47 26 a6 b2 6e ca b0 47 f5 b7 a8 b1 cd 5a b6 | rsa signature 27 dd 6e d2 0e 51 97 50 55 76 ba 98 35 0c 30 99 | rsa signature 12 95 86 88 47 8b 01 36 44 9e 5d 78 04 d2 22 64 | rsa signature 95 47 5b 80 03 d3 6c a8 02 e2 85 d1 09 24 1b 7b | rsa signature d0 37 b1 43 28 a8 5f 8a 39 de 02 ca a8 13 93 aa | rsa signature 5d dc ae 56 ef 25 e8 2a ba dc e3 f6 33 0a cc b9 | rsa signature b9 8b b7 60 b2 05 b2 6a 1c 1d 59 6f 2b ab 58 c2 | rsa signature ed 97 72 3e 50 7e 3e 85 f1 4d 2a 20 58 d8 ff df | rsa signature 66 ff | #7 spent 3.01 milliseconds in ikev2_calculate_rsa_hash() | emitting length of IKEv2 Authentication Payload: 282 | creating state object #8 at 0x559ecd5e7d58 | State DB: adding IKEv2 state #8 in UNDEFINED | pstats #8 ikev2.child started | duplicating state object #7 "westnet-eastnet-ikev2" as #8 for IPSEC SA | #8 setting local endpoint to 192.1.2.23:500 from #7.st_localport (in duplicate_state() at state.c:1484) | Message ID: init_child #7.#8; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0; child: wip.initiator=0->-1 wip.responder=0->-1 | Message ID: switch-from #7 request 1; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0 wip.initiator=-1 wip.responder=1->-1 | Message ID: switch-to #7.#8 request 1; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0; child: wip.initiator=-1 wip.responder=-1->1 | Child SA TS Request has ike->sa == md->st; so using parent connection | TSi: parsing 1 traffic selectors | ***parse IKEv2 Traffic Selector: | TS type: IKEv2_TS_IPV4_ADDR_RANGE (0x7) | IP Protocol ID: 0 (0x0) | length: 16 (0x10) | start port: 0 (0x0) | end port: 65535 (0xffff) | 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: 0 (0x0) | length: 16 (0x10) | start port: 0 (0x0) | end port: 65535 (0xffff) | parsing 4 raw bytes of IKEv2 Traffic Selector into TS low | TS low c0 00 02 00 | parsing 4 raw bytes of IKEv2 Traffic Selector into TS high | TS high c0 00 02 ff | TSr: parsed 1 traffic selectors | looking for best SPD in current connection | evaluating our conn="westnet-eastnet-ikev2" I=192.0.1.0/24:0/0 R=192.0.2.0/24:0/0 to their: | TSi[0] .net=192.0.1.0-192.0.1.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.1.0/24 == TSi[0]net=192.0.1.0-192.0.1.255: YES fitness 32 | narrow port end=0..65535 == TSi[0]=0..65535: 0 | TSi[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSi[0]=*0: 0 | match end->protocol=*0 == TSi[0].ipprotoid=*0: YES fitness 255 | TSr[0] .net=192.0.2.0-192.0.2.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.2.0/24 == TSr[0]net=192.0.2.0-192.0.2.255: YES fitness 32 | narrow port end=0..65535 == TSr[0]=0..65535: 0 | TSr[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSr[0]=*0: 0 | match end->protocol=*0 == TSr[0].ipprotoid=*0: YES fitness 255 | best fit so far: TSi[0] TSr[0] | found better spd route for TSi[0],TSr[0] | looking for better host pair | find_host_pair: comparing 192.1.2.23:500 to 192.1.2.45:500 but ignoring ports | checking hostpair 192.0.2.0/24 -> 192.0.1.0/24 is found | investigating connection "westnet-eastnet-ikev2" as a better match | match_id a=@west | b=@west | results matched | evaluating our conn="westnet-eastnet-ikev2" I=192.0.1.0/24:0/0 R=192.0.2.0/24:0/0 to their: | TSi[0] .net=192.0.1.0-192.0.1.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.1.0/24 == TSi[0]net=192.0.1.0-192.0.1.255: YES fitness 32 | narrow port end=0..65535 == TSi[0]=0..65535: 0 | TSi[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSi[0]=*0: 0 | match end->protocol=*0 == TSi[0].ipprotoid=*0: YES fitness 255 | TSr[0] .net=192.0.2.0-192.0.2.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.2.0/24 == TSr[0]net=192.0.2.0-192.0.2.255: YES fitness 32 | narrow port end=0..65535 == TSr[0]=0..65535: 0 | TSr[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSr[0]=*0: 0 | match end->protocol=*0 == TSr[0].ipprotoid=*0: YES fitness 255 | best fit so far: TSi[0] TSr[0] | did not find a better connection using host pair | printing contents struct traffic_selector | ts_type: IKEv2_TS_IPV4_ADDR_RANGE | ipprotoid: 0 | port range: 0-65535 | ip range: 192.0.2.0-192.0.2.255 | printing contents struct traffic_selector | ts_type: IKEv2_TS_IPV4_ADDR_RANGE | ipprotoid: 0 | port range: 0-65535 | ip range: 192.0.1.0-192.0.1.255 | using existing local ESP/AH proposals for westnet-eastnet-ikev2 (IKE_AUTH responder matching remote ESP/AH proposals): 1:ESP:ENCR=AES_GCM_C_256;INTEG=NONE;DH=NONE;ESN=DISABLED 2:ESP:ENCR=AES_GCM_C_128;INTEG=NONE;DH=NONE;ESN=DISABLED 3:ESP:ENCR=AES_CBC_256;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=NONE;ESN=DISABLED 4:ESP:ENCR=AES_CBC_128;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=NONE;ESN=DISABLED | Comparing remote proposals against IKE_AUTH responder matching remote ESP/AH proposals 4 local proposals | local proposal 1 type ENCR has 1 transforms | local proposal 1 type PRF has 0 transforms | local proposal 1 type INTEG has 1 transforms | local proposal 1 type DH has 1 transforms | local proposal 1 type ESN has 1 transforms | local proposal 1 transforms: required: ENCR+ESN; optional: INTEG+DH | local proposal 2 type ENCR has 1 transforms | local proposal 2 type PRF has 0 transforms | local proposal 2 type INTEG has 1 transforms | local proposal 2 type DH has 1 transforms | local proposal 2 type ESN has 1 transforms | local proposal 2 transforms: required: ENCR+ESN; optional: INTEG+DH | local proposal 3 type ENCR has 1 transforms | local proposal 3 type PRF has 0 transforms | local proposal 3 type INTEG has 2 transforms | local proposal 3 type DH has 1 transforms | local proposal 3 type ESN has 1 transforms | local proposal 3 transforms: required: ENCR+INTEG+ESN; optional: DH | local proposal 4 type ENCR has 1 transforms | local proposal 4 type PRF has 0 transforms | local proposal 4 type INTEG has 2 transforms | local proposal 4 type DH has 1 transforms | local proposal 4 type ESN has 1 transforms | local proposal 4 transforms: required: ENCR+INTEG+ESN; optional: DH | ***parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | length: 52 (0x34) | prop #: 1 (0x1) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (0x4) | # transforms: 4 (0x4) | parsing 4 raw bytes of IKEv2 Proposal Substructure Payload into remote SPI | remote SPI 58 cb 0b da | Comparing remote proposal 1 containing 4 transforms against local proposal [1..4] of 4 local proposals | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 12 (0xc) | 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 (0x80) | remote proposal 1 transform 0 (ENCR=AES_CBC_128) matches local proposal 4 type 1 (ENCR) transform 0 | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 12 (0xc) | IKEv2 transform type: TRANS_TYPE_ENCR (0x1) | IKEv2 transform ID: AES_CBC (0xc) | *****parse IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 256 (0x100) | remote proposal 1 transform 1 (ENCR=AES_CBC_256) matches local proposal 3 type 1 (ENCR) transform 0 | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | 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 3 type 3 (INTEG) transform 1 | remote proposal 1 transform 2 (INTEG=HMAC_SHA2_256_128) matches local proposal 4 type 3 (INTEG) transform 1 | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_LAST (0x0) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_ESN (0x5) | IKEv2 transform ID: ESN_DISABLED (0x0) | remote proposal 1 transform 3 (ESN=DISABLED) matches local proposal 1 type 5 (ESN) transform 0 | remote proposal 1 transform 3 (ESN=DISABLED) matches local proposal 2 type 5 (ESN) transform 0 | remote proposal 1 transform 3 (ESN=DISABLED) matches local proposal 3 type 5 (ESN) transform 0 | remote proposal 1 transform 3 (ESN=DISABLED) matches local proposal 4 type 5 (ESN) transform 0 | remote proposal 1 proposed transforms: ENCR+INTEG+ESN; matched: ENCR+INTEG+ESN; unmatched: none | comparing remote proposal 1 containing ENCR+INTEG+ESN transforms to local proposal 1; required: ENCR+ESN; optional: INTEG+DH; matched: ESN | remote proposal 1 does not match local proposal 1; unmatched transforms: ENCR+INTEG; missing transforms: ENCR | comparing remote proposal 1 containing ENCR+INTEG+ESN transforms to local proposal 2; required: ENCR+ESN; optional: INTEG+DH; matched: ESN | remote proposal 1 does not match local proposal 2; unmatched transforms: ENCR+INTEG; missing transforms: ENCR | comparing remote proposal 1 containing ENCR+INTEG+ESN transforms to local proposal 3; required: ENCR+INTEG+ESN; optional: DH; matched: ENCR+INTEG+ESN | remote proposal 1 matches local proposal 3 "westnet-eastnet-ikev2" #7: proposal 1:ESP:SPI=58cb0bda;ENCR=AES_CBC_256;INTEG=HMAC_SHA2_256_128;ESN=DISABLED chosen from remote proposals 1:ESP:ENCR=AES_CBC_128;ENCR=AES_CBC_256;INTEG=HMAC_SHA2_256_128;ESN=DISABLED[first-match] | IKE_AUTH responder matching remote ESP/AH proposals ikev2_proposal: 1:ESP:SPI=58cb0bda;ENCR=AES_CBC_256;INTEG=HMAC_SHA2_256_128;ESN=DISABLED | converting proposal to internal trans attrs | netlink_get_spi: allocated 0x869675c5 for esp.0@192.1.2.23 | Emitting ikev2_proposal ... | ****emit IKEv2 Security Association Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'IKEv2 Authentication Payload'.'next payload type' to current IKEv2 Security Association Payload (33:ISAKMP_NEXT_v2SA) | next payload chain: saving location 'IKEv2 Security Association Payload'.'next payload type' in 'reply packet' | *****emit IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | prop #: 1 (0x1) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (0x4) | # transforms: 3 (0x3) | 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 86 96 75 c5 | ******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 (0x100) | 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_256_128 (0xc) | last substructure: checking 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' 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' 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 | emitting length of IKEv2 Security Association Payload: 44 | 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 (0x1) | 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: 0 (0x0) | start port: 0 (0x0) | end port: 65535 (0xffff) | emitting 4 raw bytes of ipv4 start into IKEv2 Traffic Selector | ipv4 start c0 00 01 00 | emitting 4 raw bytes of ipv4 end into IKEv2 Traffic Selector | ipv4 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 (0x1) | 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: 0 (0x0) | start port: 0 (0x0) | end port: 65535 (0xffff) | emitting 4 raw bytes of ipv4 start into IKEv2 Traffic Selector | ipv4 start c0 00 02 00 | emitting 4 raw bytes of ipv4 end into IKEv2 Traffic Selector | ipv4 end c0 00 02 ff | emitting length of IKEv2 Traffic Selector: 16 | emitting length of IKEv2 Traffic Selector - Responder - Payload: 24 | Initiator child policy is compress=no, NOT sending v2N_IPCOMP_SUPPORTED | integ=sha2_256: .key_size=32 encrypt=aes: .key_size=32 .salt_size=0 keymat_len=64 | FOR_EACH_CONNECTION_... in ISAKMP_SA_established | install_ipsec_sa() for #8: inbound and outbound | could_route called for westnet-eastnet-ikev2 (kind=CK_PERMANENT) | 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" prospective erouted: self; eroute owner: self | looking for alg with encrypt: AES_CBC keylen: 256 integ: HMAC_SHA2_256_128 | encrypt AES_CBC keylen=256 transid=12, key_size=32, encryptalg=12 | st->st_esp.keymat_len=64 is encrypt_keymat_size=32 + integ_keymat_size=32 | 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 | 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.58cb0bda@192.1.2.45 included non-error error | set up outgoing SA, ref=0/0 | looking for alg with encrypt: AES_CBC keylen: 256 integ: HMAC_SHA2_256_128 | encrypt AES_CBC keylen=256 transid=12, key_size=32, encryptalg=12 | st->st_esp.keymat_len=64 is encrypt_keymat_size=32 + integ_keymat_size=32 | 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 | 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.869675c5@192.1.2.23 included non-error error | priority calculation of connection "westnet-eastnet-ikev2" is 0xfe7e7 | add inbound eroute 192.0.1.0/24:0 --0-> 192.0.2.0/24:0 => tun.10000@192.1.2.23 (raw_eroute) | IPsec Sa SPD priority set to 1042407 | raw_eroute result=success | set up incoming SA, ref=0/0 | sr for #8: prospective erouted | 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" prospective erouted: self; eroute owner: self | route_and_eroute with c: westnet-eastnet-ikev2 (next: none) ero:westnet-eastnet-ikev2 esr:{(nil)} ro:westnet-eastnet-ikev2 rosr:{(nil)} and state: #8 | priority calculation of connection "westnet-eastnet-ikev2" is 0xfe7e7 | eroute_connection replace eroute 192.0.2.0/24:0 --0-> 192.0.1.0/24:0 => tun.0@192.1.2.45>tun.0@192.1.2.45 (raw_eroute) | IPsec Sa SPD priority set to 1042407 | raw_eroute result=success | running updown command "ipsec _updown" for verb up | command executing up-client | executing up-client: PLUTO_VERB='up-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet-ikev2' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLUTO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@west' PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+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='' VTI_ROUTING='no' VTI_SHARED='no' SPI_IN=0x58 | popen cmd is 1040 chars long | cmd( 0):PLUTO_VERB='up-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet-ike: | cmd( 80):v2' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLU: | cmd( 160):TO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' : | cmd( 240):PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLU: | cmd( 320):TO_SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@: | cmd( 400):west' PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_P: | cmd( 480):EER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUT: | cmd( 560):O_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='RSASIG+EN: | cmd( 640):CRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND=: | cmd( 720):'CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISCO=': | cmd( 800):0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_C: | cmd( 880):FG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' VTI_ROUT: | cmd( 960):ING='no' VTI_SHARED='no' SPI_IN=0x58cb0bda SPI_OUT=0x869675c5 ipsec _updown 2>&1: | route_and_eroute: firewall_notified: true | route_and_eroute: instance "westnet-eastnet-ikev2", setting eroute_owner {spd=0x559ecd5d17e8,sr=0x559ecd5d17e8} to #8 (was #0) (newest_ipsec_sa=#0) | #7 spent 0.83 milliseconds in install_ipsec_sa() | ISAKMP_v2_IKE_AUTH: instance westnet-eastnet-ikev2[0], setting IKEv2 newest_ipsec_sa to #8 (was #0) (spd.eroute=#8) cloned from #7 | adding 14 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 16 zero bytes of length of truncated HMAC/KEY into IKEv2 Encryption Payload | emitting length of IKEv2 Encryption Payload: 436 | emitting length of ISAKMP Message: 464 | data being hmac: 07 1a 4b 25 a4 a9 65 d1 6f 27 00 1e df d7 19 46 | data being hmac: 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | data being hmac: 5e 77 65 09 2f e5 ab 9a 97 6c 66 4c 1b ed 93 24 | data being hmac: 73 e1 3f 3d 6a 4a 67 e3 34 72 21 46 c0 87 8c 6a | data being hmac: 4a 3a 27 01 b2 7b a9 2f 0f 94 b4 27 67 23 1a 36 | data being hmac: ae 85 14 17 7b 86 73 73 d1 23 a1 49 66 5a 13 f3 | data being hmac: b4 d1 5b 14 e4 6f 4a 17 55 eb bb 92 92 ed b3 05 | data being hmac: b0 b4 a8 09 c2 ee 08 1f e2 1d 38 e6 69 d7 a5 b1 | data being hmac: d5 cf 68 51 dc a4 e1 99 9c f7 28 84 d7 92 55 ea | data being hmac: fb 0e 43 8a 9a d7 2b dc 65 39 cb b9 44 c4 fa b0 | data being hmac: a6 c3 62 1e d6 23 8b 43 50 fc 3a d0 a6 5f 77 31 | data being hmac: 27 f1 87 f9 3f 46 9c 76 35 ca 44 ad bb 17 4a 68 | data being hmac: f7 c3 17 ac c4 0c bc 53 67 e7 03 dc 67 30 1f 03 | data being hmac: 1b e7 f4 69 2a f9 65 10 1f 00 d3 9e 5c b6 c7 0f | data being hmac: 06 7e 81 13 00 8c 4f 25 96 2d ff 2e e3 b1 14 22 | data being hmac: 4a e9 90 35 40 09 cc a5 32 87 f2 41 4a d2 23 68 | data being hmac: 3c 06 a3 1b 5c 01 a1 8c 3c 04 2d 6c 85 b8 94 aa | data being hmac: 0d 33 7a f7 5a 9a 48 21 26 3d 65 7d 45 66 fc 87 | data being hmac: 0d 08 7b db ec 6f d7 73 69 7a 2f b5 b5 e6 af 3f | data being hmac: 7b 07 9e 6e 37 3c 0f 16 9a c8 f6 de 43 ec a6 3d | data being hmac: 4e 79 ee 4f f6 77 81 49 c1 9f be 13 bd 22 7d ca | data being hmac: 30 7b 39 fb 61 7b 4d 93 78 c4 39 5a d7 5f 7a fd | data being hmac: 12 5e 86 2f fe c3 9f f8 cb 9b b6 92 e8 3c 3f 03 | data being hmac: 0d ff 05 0f 8a 9f 35 97 c4 80 7d 3f 49 a1 6a b4 | data being hmac: 76 db 90 4c fd 12 3f a0 2c fd 75 f3 a6 9f 1d 1f | data being hmac: ce 56 50 56 0a f1 d2 d3 a8 ce 32 9d ad df f9 33 | data being hmac: 53 00 e5 20 58 94 5d d0 6f cf f3 f7 a7 d3 ef 33 | data being hmac: 21 8e 34 13 0a 8e 4f 63 65 eb 8c 5d cd af 68 9b | out calculated auth: | 1d 04 3a 1f a5 2c d3 9e a4 61 41 3a f1 99 15 ce | ikev2_parent_inI2outR2_continue_tail returned STF_OK | #7 spent 5.28 milliseconds in processing: Responder: process IKE_AUTH request in ikev2_process_state_packet() | suspend processing: state #7 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | start processing: state #8 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #8 complete_v2_state_transition() md.from_state=PARENT_R1 md.svm.state[from]=PARENT_R1 UNDEFINED->V2_IPSEC_R with status STF_OK | IKEv2: transition from state STATE_PARENT_R1 to state STATE_V2_IPSEC_R | child state #8: UNDEFINED(ignore) => V2_IPSEC_R(established CHILD SA) | Message ID: updating counters for #8 to 1 after switching state | Message ID: recv #7.#8 request 1; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0->1; child: wip.initiator=-1 wip.responder=1->-1 | Message ID: sent #7.#8 response 1; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0->1 responder.recv=1; child: wip.initiator=-1 wip.responder=-1 | pstats #8 ikev2.child established "westnet-eastnet-ikev2" #8: negotiated connection [192.0.2.0-192.0.2.255:0-65535 0] -> [192.0.1.0-192.0.1.255:0-65535 0] | NAT-T: encaps is 'auto' "westnet-eastnet-ikev2" #8: STATE_V2_IPSEC_R: IPsec SA established tunnel mode {ESP=>0x58cb0bda <0x869675c5 xfrm=AES_CBC_256-HMAC_SHA2_256_128 NATOA=none NATD=none DPD=passive} | sending V2 new request packet to 192.1.2.45:500 (from 192.1.2.23:500) | sending 464 bytes for STATE_PARENT_R1 through eth1 from 192.1.2.23:500 to 192.1.2.45:500 (using #7) | 07 1a 4b 25 a4 a9 65 d1 6f 27 00 1e df d7 19 46 | 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | 5e 77 65 09 2f e5 ab 9a 97 6c 66 4c 1b ed 93 24 | 73 e1 3f 3d 6a 4a 67 e3 34 72 21 46 c0 87 8c 6a | 4a 3a 27 01 b2 7b a9 2f 0f 94 b4 27 67 23 1a 36 | ae 85 14 17 7b 86 73 73 d1 23 a1 49 66 5a 13 f3 | b4 d1 5b 14 e4 6f 4a 17 55 eb bb 92 92 ed b3 05 | b0 b4 a8 09 c2 ee 08 1f e2 1d 38 e6 69 d7 a5 b1 | d5 cf 68 51 dc a4 e1 99 9c f7 28 84 d7 92 55 ea | fb 0e 43 8a 9a d7 2b dc 65 39 cb b9 44 c4 fa b0 | a6 c3 62 1e d6 23 8b 43 50 fc 3a d0 a6 5f 77 31 | 27 f1 87 f9 3f 46 9c 76 35 ca 44 ad bb 17 4a 68 | f7 c3 17 ac c4 0c bc 53 67 e7 03 dc 67 30 1f 03 | 1b e7 f4 69 2a f9 65 10 1f 00 d3 9e 5c b6 c7 0f | 06 7e 81 13 00 8c 4f 25 96 2d ff 2e e3 b1 14 22 | 4a e9 90 35 40 09 cc a5 32 87 f2 41 4a d2 23 68 | 3c 06 a3 1b 5c 01 a1 8c 3c 04 2d 6c 85 b8 94 aa | 0d 33 7a f7 5a 9a 48 21 26 3d 65 7d 45 66 fc 87 | 0d 08 7b db ec 6f d7 73 69 7a 2f b5 b5 e6 af 3f | 7b 07 9e 6e 37 3c 0f 16 9a c8 f6 de 43 ec a6 3d | 4e 79 ee 4f f6 77 81 49 c1 9f be 13 bd 22 7d ca | 30 7b 39 fb 61 7b 4d 93 78 c4 39 5a d7 5f 7a fd | 12 5e 86 2f fe c3 9f f8 cb 9b b6 92 e8 3c 3f 03 | 0d ff 05 0f 8a 9f 35 97 c4 80 7d 3f 49 a1 6a b4 | 76 db 90 4c fd 12 3f a0 2c fd 75 f3 a6 9f 1d 1f | ce 56 50 56 0a f1 d2 d3 a8 ce 32 9d ad df f9 33 | 53 00 e5 20 58 94 5d d0 6f cf f3 f7 a7 d3 ef 33 | 21 8e 34 13 0a 8e 4f 63 65 eb 8c 5d cd af 68 9b | 1d 04 3a 1f a5 2c d3 9e a4 61 41 3a f1 99 15 ce | releasing whack for #8 (sock=fd@-1) | releasing whack and unpending for parent #7 | unpending state #7 connection "westnet-eastnet-ikev2" | #8 will start re-keying in 28530 seconds with margin of 270 seconds (attempting re-key) | event_schedule: new EVENT_SA_REKEY-pe@0x7f1aa4002b78 | inserting event EVENT_SA_REKEY, timeout in 28530 seconds for #8 | libevent_malloc: new ptr-libevent@0x559ecd5d8978 size 128 | resume sending helper answer for #7 suppresed complete_v2_state_transition() | #7 spent 5.55 milliseconds in resume sending helper answer | stop processing: state #8 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in resume_handler() at server.c:833) | libevent_free: release ptr-libevent@0x7f1aa4006748 | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00447 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00283 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 80 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 07 1a 4b 25 a4 a9 65 d1 6f 27 00 1e df d7 19 46 | 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | ea ff cd e2 2c 30 fb de 8c 9a d6 a1 4b 8e 4e 26 | df 12 c0 0d b3 4e 88 ba 62 a4 de 04 85 d8 2c f0 | 8c 32 b2 45 7c f0 28 25 e0 95 cf eb 1d a0 11 10 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 07 1a 4b 25 a4 a9 65 d1 | responder cookie: | 6f 27 00 1e df d7 19 46 | next payload type: ISAKMP_NEXT_v2SK (0x2e) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_INFORMATIONAL (0x25) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 2 (0x2) | length: 80 (0x50) | processing version=2.0 packet with exchange type=ISAKMP_v2_INFORMATIONAL (37) | I am the IKE SA Original Responder receiving an IKEv2 INFORMATIONAL request | State DB: found IKEv2 state #7 in PARENT_R2 (find_v2_ike_sa) | start processing: state #7 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2016) | State DB: IKEv2 state not found (find_v2_sa_by_responder_wip) | [RE]START processing: state #7 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ike_process_packet() at ikev2.c:2064) | #7 st.st_msgid_lastrecv 1 md.hdr.isa_msgid 00000002 | Message ID: #7 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=1 responder.recv=1 | 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 (0x34) | processing payload: ISAKMP_NEXT_v2SK (len=48) | Message ID: start-responder #7 request 2; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=1 responder.recv=1 wip.initiator=-1 wip.responder=-1->2 | #7 in state PARENT_R2: received v2I2, PARENT SA established | data for hmac: 07 1a 4b 25 a4 a9 65 d1 6f 27 00 1e df d7 19 46 | data for hmac: 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | data for hmac: ea ff cd e2 2c 30 fb de 8c 9a d6 a1 4b 8e 4e 26 | data for hmac: df 12 c0 0d b3 4e 88 ba 62 a4 de 04 85 d8 2c f0 | calculated auth: 8c 32 b2 45 7c f0 28 25 e0 95 cf eb 1d a0 11 10 | provided auth: 8c 32 b2 45 7c f0 28 25 e0 95 cf eb 1d a0 11 10 | authenticator matched | #7 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 (0xc) | protocol ID: PROTO_v2_ESP (0x3) | SPI size: 4 (0x4) | number of SPIs: 1 (0x1) | processing payload: ISAKMP_NEXT_v2D (len=4) | selected state microcode R2: process INFORMATIONAL Request | Now let's proceed with state specific processing | calling processor R2: process INFORMATIONAL Request | an informational request should send a response | Received an INFORMATIONAL response, updating st_last_liveness, no pending_liveness | **emit ISAKMP Message: | initiator cookie: | 07 1a 4b 25 a4 a9 65 d1 | responder cookie: | 6f 27 00 1e df d7 19 46 | 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_MSG_RESPONSE (0x20) | Message ID: 2 (0x2) | 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 58 cb 0b da | delete PROTO_v2_ESP SA(0x58cb0bda) | v2 CHILD SA #8 found using their inbound (our outbound) SPI, in STATE_V2_IPSEC_R | State DB: found IKEv2 state #8 in V2_IPSEC_R (find_v2_child_sa_by_outbound_spi) | our side SPI that needs to be deleted: PROTO_v2_ESP SA(0x58cb0bda) "westnet-eastnet-ikev2" #7: received Delete SA payload: delete IPsec State #8 now | pstats #8 ikev2.child deleted completed | suspend processing: state #7 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in delete_state() at state.c:879) | start processing: state #8 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in delete_state() at state.c:879) "westnet-eastnet-ikev2" #8: deleting other state #8 (STATE_V2_IPSEC_R) aged 0.104s and NOT sending notification | child state #8: V2_IPSEC_R(established CHILD SA) => delete | get_sa_info esp.58cb0bda@192.1.2.45 | get_sa_info esp.869675c5@192.1.2.23 "westnet-eastnet-ikev2" #8: ESP traffic information: in=0B out=0B | child state #8: V2_IPSEC_R(established CHILD SA) => CHILDSA_DEL(informational) | state #8 requesting EVENT_SA_REKEY to be deleted | libevent_free: release ptr-libevent@0x559ecd5d8978 | free_event_entry: release EVENT_SA_REKEY-pe@0x7f1aa4002b78 | running updown command "ipsec _updown" for verb down | command executing down-client | executing down-client: PLUTO_VERB='down-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet-ikev2' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLUTO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@west' PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='1566825096' PLUTO_CONN_POLICY='RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+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='' VTI_ROUTING='no' VTI_SHARED='no | popen cmd is 1051 chars long | cmd( 0):PLUTO_VERB='down-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet-i: | cmd( 80):kev2' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' P: | cmd( 160):LUTO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0: | cmd( 240):' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' P: | cmd( 320):LUTO_SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID=: | cmd( 400):'@west' PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO: | cmd( 480):_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PL: | cmd( 560):UTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='1566825096' PLUTO_CONN_POLICY: | cmd( 640):='RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO: | cmd( 720):_CONN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_P: | cmd( 800):EER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER: | cmd( 880):='' PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE=: | cmd( 960):'' VTI_ROUTING='no' VTI_SHARED='no' SPI_IN=0x58cb0bda SPI_OUT=0x869675c5 ipsec _: | cmd(1040):updown 2>&1: | shunt_eroute() called for connection 'westnet-eastnet-ikev2' to 'replace with shunt' for rt_kind 'prospective erouted' using protoports 0--0->-0 | netlink_shunt_eroute for proto 0, and source port 0 dest port 0 | priority calculation of connection "westnet-eastnet-ikev2" is 0xfe7e7 | IPsec Sa SPD priority set to 1042407 | delete esp.58cb0bda@192.1.2.45 | netlink response for Del SA esp.58cb0bda@192.1.2.45 included non-error error | priority calculation of connection "westnet-eastnet-ikev2" is 0xfe7e7 | delete inbound eroute 192.0.1.0/24:0 --0-> 192.0.2.0/24:0 => unk255.10000@192.1.2.23 (raw_eroute) | raw_eroute result=success | delete esp.869675c5@192.1.2.23 | netlink response for Del SA esp.869675c5@192.1.2.23 included non-error error | in connection_discard for connection westnet-eastnet-ikev2 | State DB: deleting IKEv2 state #8 in CHILDSA_DEL | child state #8: CHILDSA_DEL(informational) => UNDEFINED(ignore) | stop processing: state #8 from 192.1.2.45:500 (in delete_state() at state.c:1143) | resume processing: state #7 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in delete_state() at state.c:1143) | ****emit IKEv2 Delete Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | protocol ID: PROTO_v2_ESP (0x3) | SPI size: 4 (0x4) | number of SPIs: 1 (0x1) | 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 86 96 75 c5 | 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 | data being hmac: 07 1a 4b 25 a4 a9 65 d1 6f 27 00 1e df d7 19 46 | data being hmac: 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | data being hmac: 80 e1 79 31 ec ea 4e d7 14 6f 71 b3 16 a1 1a 3b | data being hmac: 57 63 bb db 96 5f 2a d4 6f 68 6f 2e 71 33 be 63 | out calculated auth: | 5d cb 1c d2 c2 78 a3 e6 5e a6 d0 83 24 d4 44 d3 | sending 80 bytes for reply packet for process_encrypted_informational_ikev2 through eth1 from 192.1.2.23:500 to 192.1.2.45:500 (using #7) | 07 1a 4b 25 a4 a9 65 d1 6f 27 00 1e df d7 19 46 | 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | 80 e1 79 31 ec ea 4e d7 14 6f 71 b3 16 a1 1a 3b | 57 63 bb db 96 5f 2a d4 6f 68 6f 2e 71 33 be 63 | 5d cb 1c d2 c2 78 a3 e6 5e a6 d0 83 24 d4 44 d3 | Message ID: #7 XXX: in process_encrypted_informational_ikev2() hacking around record'n'send bypassing send queue hacking around delete_my_family(); initiator.sent=-1 initiator.recv=-1 responder.sent=1 responder.recv=1 wip.initiator=-1 wip.responder=2 | Message ID: sent #7 response 2; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=1->2 responder.recv=1 wip.initiator=-1 wip.responder=2 | #7 spent 1.12 milliseconds in processing: R2: process INFORMATIONAL Request in ikev2_process_state_packet() | [RE]START processing: state #7 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #7 complete_v2_state_transition() PARENT_R2->PARENT_R2 with status STF_OK | Message ID: updating counters for #7 to 2 after switching state | Message ID: recv #7 request 2; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=1->2 wip.initiator=-1 wip.responder=2->-1 | Message ID: #7 skipping update_send as nothing to send; initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=2 wip.initiator=-1 wip.responder=-1 "westnet-eastnet-ikev2" #7: STATE_PARENT_R2: received v2I2, PARENT SA established | stop processing: state #7 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2018) | #7 spent 1.34 milliseconds in ikev2_process_packet() | stop processing: from 192.1.2.45:500 (in process_md() at demux.c:380) | processing: STOP state #0 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 1.36 milliseconds in comm_handle_cb() reading and processing packet | spent 0.00159 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 80 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 07 1a 4b 25 a4 a9 65 d1 6f 27 00 1e df d7 19 46 | 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | a9 29 e5 93 2d 31 f0 9f da a2 f2 c7 28 2d 7e de | 75 3a 7c a8 b5 39 ab c1 03 35 28 aa e5 1b 72 59 | 28 69 8d 81 9a 32 0c 94 43 ca 1e 6b a8 cf 9f a7 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 07 1a 4b 25 a4 a9 65 d1 | responder cookie: | 6f 27 00 1e df d7 19 46 | next payload type: ISAKMP_NEXT_v2SK (0x2e) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_INFORMATIONAL (0x25) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 3 (0x3) | length: 80 (0x50) | processing version=2.0 packet with exchange type=ISAKMP_v2_INFORMATIONAL (37) | I am the IKE SA Original Responder receiving an IKEv2 INFORMATIONAL request | State DB: found IKEv2 state #7 in PARENT_R2 (find_v2_ike_sa) | start processing: state #7 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2016) | State DB: IKEv2 state not found (find_v2_sa_by_responder_wip) | [RE]START processing: state #7 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ike_process_packet() at ikev2.c:2064) | #7 st.st_msgid_lastrecv 2 md.hdr.isa_msgid 00000003 | Message ID: #7 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=2 | 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 (0x34) | processing payload: ISAKMP_NEXT_v2SK (len=48) | Message ID: start-responder #7 request 3; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=2 wip.initiator=-1 wip.responder=-1->3 | #7 in state PARENT_R2: received v2I2, PARENT SA established | data for hmac: 07 1a 4b 25 a4 a9 65 d1 6f 27 00 1e df d7 19 46 | data for hmac: 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | data for hmac: a9 29 e5 93 2d 31 f0 9f da a2 f2 c7 28 2d 7e de | data for hmac: 75 3a 7c a8 b5 39 ab c1 03 35 28 aa e5 1b 72 59 | calculated auth: 28 69 8d 81 9a 32 0c 94 43 ca 1e 6b a8 cf 9f a7 | provided auth: 28 69 8d 81 9a 32 0c 94 43 ca 1e 6b a8 cf 9f a7 | authenticator matched | #7 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 (0x8) | protocol ID: PROTO_v2_IKE (0x1) | SPI size: 0 (0x0) | number of SPIs: 0 (0x0) | processing payload: ISAKMP_NEXT_v2D (len=0) | selected state microcode R2: process INFORMATIONAL Request | Now let's proceed with state specific processing | calling processor R2: process INFORMATIONAL Request | an informational request should send a response | Received an INFORMATIONAL response, updating st_last_liveness, no pending_liveness | **emit ISAKMP Message: | initiator cookie: | 07 1a 4b 25 a4 a9 65 d1 | responder cookie: | 6f 27 00 1e df d7 19 46 | 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_MSG_RESPONSE (0x20) | Message ID: 3 (0x3) | 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 | data being hmac: 07 1a 4b 25 a4 a9 65 d1 6f 27 00 1e df d7 19 46 | data being hmac: 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | data being hmac: cd 6f 9d 4f 05 66 fd dd ca a6 0f 7c 75 e3 03 d9 | data being hmac: 17 9a d1 32 4b f0 bd 19 00 ce 04 b7 cb 02 e7 68 | out calculated auth: | 67 f0 61 06 e8 d7 50 0c 84 8f fa fd f5 a2 d1 69 | sending 80 bytes for reply packet for process_encrypted_informational_ikev2 through eth1 from 192.1.2.23:500 to 192.1.2.45:500 (using #7) | 07 1a 4b 25 a4 a9 65 d1 6f 27 00 1e df d7 19 46 | 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | cd 6f 9d 4f 05 66 fd dd ca a6 0f 7c 75 e3 03 d9 | 17 9a d1 32 4b f0 bd 19 00 ce 04 b7 cb 02 e7 68 | 67 f0 61 06 e8 d7 50 0c 84 8f fa fd f5 a2 d1 69 | Message ID: #7 XXX: in process_encrypted_informational_ikev2() hacking around record'n'send bypassing send queue hacking around delete_my_family(); initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=2 wip.initiator=-1 wip.responder=3 | Message ID: sent #7 response 3; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=2->3 responder.recv=2 wip.initiator=-1 wip.responder=3 | State DB: IKEv2 state not found (delete_my_family) | parent state #7: PARENT_R2(established IKE SA) => IKESA_DEL(established IKE SA) | pstats #7 ikev2.ike deleted completed | #7 spent 50.1 milliseconds in total | [RE]START processing: state #7 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in delete_state() at state.c:879) "westnet-eastnet-ikev2" #7: deleting state (STATE_IKESA_DEL) aged 0.185s and NOT sending notification | parent state #7: IKESA_DEL(established IKE SA) => delete | state #7 requesting EVENT_SA_REKEY to be deleted | libevent_free: release ptr-libevent@0x559ecd5d3aa8 | free_event_entry: release EVENT_SA_REKEY-pe@0x559ecd5d3728 | State DB: IKEv2 state not found (flush_incomplete_children) | in connection_discard for connection westnet-eastnet-ikev2 | State DB: deleting IKEv2 state #7 in IKESA_DEL | parent state #7: IKESA_DEL(established IKE SA) => UNDEFINED(ignore) | unreference key: 0x559ecd52ac48 @west cnt 2-- | stop processing: state #7 from 192.1.2.45:500 (in delete_state() at state.c:1143) | in statetime_stop() and could not find #7 | skip start processing: state #0 (in complete_v2_state_transition() at ikev2.c:3379) | #0 complete_v2_state_transition() md.from_state=PARENT_R2 md.svm.state[from]=PARENT_R2 UNDEFINED->PARENT_R2 with status STF_OK | STF_OK but no state object remains | processing: STOP state #0 (in ikev2_process_packet() at ikev2.c:2018) | in statetime_stop() and could not find #7 | stop processing: from 192.1.2.45:500 (in process_md() at demux.c:380) | processing: STOP state #0 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.543 milliseconds in comm_handle_cb() reading and processing packet | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00481 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00322 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 260 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 6b c9 e7 65 87 02 c7 23 00 00 00 00 00 00 00 00 | 21 20 22 08 00 00 00 00 00 00 01 04 22 00 00 3c | 00 00 00 38 01 01 00 05 03 00 00 0c 01 00 00 0c | 80 0e 01 00 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 13 28 00 00 48 00 13 00 00 | 2a 4c 62 72 db c5 88 09 52 35 a3 c4 20 c1 9b 25 | bb 65 e4 d9 d0 7d b7 cc 1e f2 e4 65 ad 7f 7c 93 | f3 b1 af cc d7 45 b3 53 fb 37 13 e6 54 6d e0 8a | df a9 7e d1 77 60 3d 22 ad 1c df 25 f6 d0 03 44 | 29 00 00 24 46 3b ad 6b 11 ce 42 07 ce 9d 38 55 | f2 03 5c 7c 53 7b 73 22 30 6e 65 40 f4 27 b2 94 | be c8 71 d4 29 00 00 08 00 00 40 2e 29 00 00 1c | 00 00 40 04 11 90 5b 9c d9 99 c1 34 00 a8 01 e3 | 2c a7 83 a4 31 c0 5f 75 00 00 00 1c 00 00 40 05 | 40 5b f0 6f 0a 14 09 e9 fb 9e 87 37 98 72 4e d3 | d6 14 2e 0a | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 6b c9 e7 65 87 02 c7 23 | responder cookie: | 00 00 00 00 00 00 00 00 | next payload type: ISAKMP_NEXT_v2SA (0x21) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_IKE_SA_INIT (0x22) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 0 (0x0) | length: 260 (0x104) | processing version=2.0 packet with exchange type=ISAKMP_v2_IKE_SA_INIT (34) | I am the IKE SA Original Responder receiving an IKEv2 IKE_SA_INIT request | State DB: IKEv2 state not found (find_v2_ike_sa_by_initiator_spi) | Now let's proceed with payload (ISAKMP_NEXT_v2SA) | ***parse IKEv2 Security Association Payload: | next payload type: ISAKMP_NEXT_v2KE (0x22) | flags: none (0x0) | length: 60 (0x3c) | processing payload: ISAKMP_NEXT_v2SA (len=56) | 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: 72 (0x48) | DH group: OAKLEY_GROUP_ECP_256 (0x13) | processing payload: ISAKMP_NEXT_v2KE (len=64) | 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 (0x24) | 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 (0x8) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | 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 (0x1c) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | 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 (0x1c) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | Notify Message Type: v2N_NAT_DETECTION_DESTINATION_IP (0x4005) | processing payload: ISAKMP_NEXT_v2N (len=20) | DDOS disabled and no cookie sent, continuing | find_host_connection local=192.1.2.23:500 remote=192.1.2.45:500 policy=ECDSA+IKEV2_ALLOW but ignoring ports | find_host_pair: comparing 192.1.2.23:500 to 192.1.2.45:500 but ignoring ports | find_next_host_connection policy=ECDSA+IKEV2_ALLOW | found policy = RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO (westnet-eastnet-ikev2) | find_next_host_connection returns empty | find_host_connection local=192.1.2.23:500 remote= policy=ECDSA+IKEV2_ALLOW but ignoring ports | find_next_host_connection policy=ECDSA+IKEV2_ALLOW | find_next_host_connection returns empty | initial parent SA message received on 192.1.2.23:500 but no connection has been authorized with policy ECDSA+IKEV2_ALLOW | find_host_connection local=192.1.2.23:500 remote=192.1.2.45:500 policy=RSASIG+IKEV2_ALLOW but ignoring ports | find_host_pair: comparing 192.1.2.23:500 to 192.1.2.45:500 but ignoring ports | find_next_host_connection policy=RSASIG+IKEV2_ALLOW | found policy = RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO (westnet-eastnet-ikev2) | find_next_host_connection returns westnet-eastnet-ikev2 | find_next_host_connection policy=RSASIG+IKEV2_ALLOW | find_next_host_connection returns empty | found connection: westnet-eastnet-ikev2 with policy RSASIG+IKEV2_ALLOW | creating state object #9 at 0x559ecd5d5578 | State DB: adding IKEv2 state #9 in UNDEFINED | pstats #9 ikev2.ike started | Message ID: init #9: msgid=0 lastack=4294967295 nextuse=0 lastrecv=4294967295 lastreplied=0 | parent state #9: UNDEFINED(ignore) => PARENT_R0(half-open IKE SA) | Message ID: init_ike #9; ike: initiator.sent=0->-1 initiator.recv=0->-1 responder.sent=0->-1 responder.recv=0->-1 wip.initiator=0->-1 wip.responder=0->-1 | start processing: state #9 connection "westnet-eastnet-ikev2" from 192.1.2.45 (in ikev2_process_packet() at ikev2.c:2016) | State DB: IKEv2 state not found (find_v2_sa_by_responder_wip) | [RE]START processing: state #9 connection "westnet-eastnet-ikev2" from 192.1.2.45 (in ike_process_packet() at ikev2.c:2064) | #9 st.st_msgid_lastrecv -1 md.hdr.isa_msgid 00000000 | Message ID: #9 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=-1 responder.recv=-1 | Message ID: start-responder #9 request 0; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=-1 responder.recv=-1 wip.initiator=-1 wip.responder=-1->0 | #9 in state PARENT_R0: processing SA_INIT request | selected state microcode Respond to IKE_SA_INIT | Now let's proceed with state specific processing | calling processor Respond to IKE_SA_INIT | #9 updating local interface from 192.1.2.23:500 to 192.1.2.23:500 using md->iface (in update_ike_endpoints() at state.c:2669) | using existing local IKE proposals for connection westnet-eastnet-ikev2 (IKE SA responder matching remote proposals): 1:IKE:ENCR=AES_GCM_C_256;PRF=HMAC_SHA2_512,HMAC_SHA2_256;INTEG=NONE;DH=MODP2048,MODP3072,MODP4096,MODP8192,ECP_256,ECP_384,ECP_521,CURVE25519 2:IKE:ENCR=AES_GCM_C_128;PRF=HMAC_SHA2_512,HMAC_SHA2_256;INTEG=NONE;DH=MODP2048,MODP3072,MODP4096,MODP8192,ECP_256,ECP_384,ECP_521,CURVE25519 3:IKE:ENCR=AES_CBC_256;PRF=HMAC_SHA2_512,HMAC_SHA2_256;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=MODP2048,MODP3072,MODP4096,MODP8192,ECP_256,ECP_384,ECP_521,CURVE25519 4:IKE:ENCR=AES_CBC_128;PRF=HMAC_SHA2_512,HMAC_SHA2_256;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=MODP2048,MODP3072,MODP4096,MODP8192,ECP_256,ECP_384,ECP_521,CURVE25519 | Comparing remote proposals against IKE responder 4 local proposals | local proposal 1 type ENCR has 1 transforms | local proposal 1 type PRF has 2 transforms | local proposal 1 type INTEG has 1 transforms | local proposal 1 type DH has 8 transforms | local proposal 1 type ESN has 0 transforms | local proposal 1 transforms: required: ENCR+PRF+DH; optional: INTEG | local proposal 2 type ENCR has 1 transforms | local proposal 2 type PRF has 2 transforms | local proposal 2 type INTEG has 1 transforms | local proposal 2 type DH has 8 transforms | local proposal 2 type ESN has 0 transforms | local proposal 2 transforms: required: ENCR+PRF+DH; optional: INTEG | local proposal 3 type ENCR has 1 transforms | local proposal 3 type PRF has 2 transforms | local proposal 3 type INTEG has 2 transforms | local proposal 3 type DH has 8 transforms | local proposal 3 type ESN has 0 transforms | local proposal 3 transforms: required: ENCR+PRF+INTEG+DH; optional: none | local proposal 4 type ENCR has 1 transforms | local proposal 4 type PRF has 2 transforms | local proposal 4 type INTEG has 2 transforms | local proposal 4 type DH has 8 transforms | local proposal 4 type ESN has 0 transforms | local proposal 4 transforms: required: ENCR+PRF+INTEG+DH; optional: none | ****parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | length: 56 (0x38) | prop #: 1 (0x1) | proto ID: IKEv2_SEC_PROTO_IKE (0x1) | spi size: 0 (0x0) | # transforms: 5 (0x5) | Comparing remote proposal 1 containing 5 transforms against local proposal [1..4] of 4 local proposals | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 12 (0xc) | IKEv2 transform type: TRANS_TYPE_ENCR (0x1) | IKEv2 transform ID: AES_CBC (0xc) | ******parse IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 256 (0x100) | remote proposal 1 transform 0 (ENCR=AES_CBC_256) matches local proposal 3 type 1 (ENCR) transform 0 | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 12 (0xc) | 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 (0x80) | remote proposal 1 transform 1 (ENCR=AES_CBC_128) matches local proposal 4 type 1 (ENCR) transform 0 | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_PRF (0x2) | IKEv2 transform ID: PRF_HMAC_SHA2_256 (0x5) | remote proposal 1 transform 2 (PRF=HMAC_SHA2_256) matches local proposal 1 type 2 (PRF) transform 1 | remote proposal 1 transform 2 (PRF=HMAC_SHA2_256) matches local proposal 2 type 2 (PRF) transform 1 | remote proposal 1 transform 2 (PRF=HMAC_SHA2_256) matches local proposal 3 type 2 (PRF) transform 1 | remote proposal 1 transform 2 (PRF=HMAC_SHA2_256) matches local proposal 4 type 2 (PRF) transform 1 | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_INTEG (0x3) | IKEv2 transform ID: AUTH_HMAC_SHA2_256_128 (0xc) | remote proposal 1 transform 3 (INTEG=HMAC_SHA2_256_128) matches local proposal 3 type 3 (INTEG) transform 1 | remote proposal 1 transform 3 (INTEG=HMAC_SHA2_256_128) matches local proposal 4 type 3 (INTEG) transform 1 | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_LAST (0x0) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_ECP_256 (0x13) | remote proposal 1 transform 4 (DH=ECP_256) matches local proposal 1 type 4 (DH) transform 4 | remote proposal 1 transform 4 (DH=ECP_256) matches local proposal 2 type 4 (DH) transform 4 | remote proposal 1 transform 4 (DH=ECP_256) matches local proposal 3 type 4 (DH) transform 4 | remote proposal 1 transform 4 (DH=ECP_256) matches local proposal 4 type 4 (DH) transform 4 | 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+DH; optional: INTEG; matched: PRF+DH | remote proposal 1 does not match local proposal 1; unmatched transforms: ENCR+INTEG; missing transforms: ENCR | comparing remote proposal 1 containing ENCR+PRF+INTEG+DH transforms to local proposal 2; required: ENCR+PRF+DH; optional: INTEG; matched: PRF+DH | remote proposal 1 does not match local proposal 2; unmatched transforms: ENCR+INTEG; missing transforms: ENCR | comparing remote proposal 1 containing ENCR+PRF+INTEG+DH transforms to local proposal 3; required: ENCR+PRF+INTEG+DH; optional: none; matched: ENCR+PRF+INTEG+DH | remote proposal 1 matches local proposal 3 "westnet-eastnet-ikev2" #9: proposal 1:IKE:ENCR=AES_CBC_256;PRF=HMAC_SHA2_256;INTEG=HMAC_SHA2_256_128;DH=ECP_256 chosen from remote proposals 1:IKE:ENCR=AES_CBC_256;ENCR=AES_CBC_128;PRF=HMAC_SHA2_256;INTEG=HMAC_SHA2_256_128;DH=ECP_256[first-match] | accepted IKE proposal ikev2_proposal: 1:IKE:ENCR=AES_CBC_256;PRF=HMAC_SHA2_256;INTEG=HMAC_SHA2_256_128;DH=ECP_256 | converting proposal to internal trans attrs | natd_hash: rcookie is zero | natd_hash: hasher=0x559ecc52c800(20) | natd_hash: icookie= 6b c9 e7 65 87 02 c7 23 | natd_hash: rcookie= 00 00 00 00 00 00 00 00 | natd_hash: ip= c0 01 02 17 | natd_hash: port=500 | natd_hash: hash= 40 5b f0 6f 0a 14 09 e9 fb 9e 87 37 98 72 4e d3 | natd_hash: hash= d6 14 2e 0a | natd_hash: rcookie is zero | natd_hash: hasher=0x559ecc52c800(20) | natd_hash: icookie= 6b c9 e7 65 87 02 c7 23 | natd_hash: rcookie= 00 00 00 00 00 00 00 00 | natd_hash: ip= c0 01 02 2d | natd_hash: port=500 | natd_hash: hash= 11 90 5b 9c d9 99 c1 34 00 a8 01 e3 2c a7 83 a4 | natd_hash: hash= 31 c0 5f 75 | NAT_TRAVERSAL encaps using auto-detect | NAT_TRAVERSAL this end is NOT behind NAT | NAT_TRAVERSAL that end is NOT behind NAT | NAT_TRAVERSAL nat-keepalive enabled 192.1.2.45 | adding ikev2_inI1outR1 KE work-order 9 for state #9 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x559ecd5d52d8 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #9 | libevent_malloc: new ptr-libevent@0x7f1aa4006748 size 128 | #9 spent 0.276 milliseconds in processing: Respond to IKE_SA_INIT in ikev2_process_state_packet() | [RE]START processing: state #9 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | crypto helper 1 resuming | #9 complete_v2_state_transition() PARENT_R0->PARENT_R1 with status STF_SUSPEND | crypto helper 1 starting work-order 9 for state #9 | suspending state #9 and saving MD | crypto helper 1 doing build KE and nonce (ikev2_inI1outR1 KE); request ID 9 | #9 is busy; has a suspended MD | [RE]START processing: state #9 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in log_stf_suspend() at ikev2.c:3269) | "westnet-eastnet-ikev2" #9 complete v2 state STATE_PARENT_R0 transition with STF_SUSPEND suspended from complete_v2_state_transition:3451 | stop processing: state #9 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2018) | #9 spent 0.531 milliseconds in ikev2_process_packet() | stop processing: from 192.1.2.45:500 (in process_md() at demux.c:380) | processing: STOP state #0 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.543 milliseconds in comm_handle_cb() reading and processing packet | crypto helper 1 finished build KE and nonce (ikev2_inI1outR1 KE); request ID 9 time elapsed 0.000992 seconds | (#9) spent 1 milliseconds in crypto helper computing work-order 9: ikev2_inI1outR1 KE (pcr) | crypto helper 1 sending results from work-order 9 for state #9 to event queue | scheduling resume sending helper answer for #9 | libevent_malloc: new ptr-libevent@0x7f1a9c00a868 size 128 | crypto helper 1 waiting (nothing to do) | processing resume sending helper answer for #9 | start processing: state #9 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in resume_handler() at server.c:797) | crypto helper 1 replies to request ID 9 | calling continuation function 0x559ecc457b50 | ikev2_parent_inI1outR1_continue for #9: calculated ke+nonce, sending R1 | **emit ISAKMP Message: | initiator cookie: | 6b c9 e7 65 87 02 c7 23 | responder cookie: | 7f fa 20 2e ee c2 86 a7 | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_IKE_SA_INIT (0x22) | flags: ISAKMP_FLAG_v2_MSG_RESPONSE (0x20) | Message ID: 0 (0x0) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | Emitting ikev2_proposal ... | ***emit IKEv2 Security Association Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'ISAKMP Message'.'next payload type' to current IKEv2 Security Association Payload (33:ISAKMP_NEXT_v2SA) | next payload chain: saving location 'IKEv2 Security Association Payload'.'next payload type' in 'reply packet' | ****emit IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | prop #: 1 (0x1) | proto ID: IKEv2_SEC_PROTO_IKE (0x1) | spi size: 0 (0x0) | # transforms: 4 (0x4) | 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: 256 (0x100) | 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' 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' 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_ECP_256 (0x13) | last substructure: checking 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' 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_ECP_256 (0x13) | 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 64 raw bytes of ikev2 g^x into IKEv2 Key Exchange Payload | ikev2 g^x 32 01 5c e4 06 14 8c 47 55 8e 52 91 ab 05 e5 df | ikev2 g^x c9 a1 c4 e3 ef 87 5f 9a c9 fb bd 8c 7c 14 19 6b | ikev2 g^x d4 ef 44 92 a9 11 e6 dc ac de f5 9a 2a 61 ec b1 | ikev2 g^x 76 b9 10 f1 46 e2 22 7a 75 b9 42 80 95 a0 79 7e | emitting length of IKEv2 Key Exchange Payload: 72 | ***emit IKEv2 Nonce Payload: | next payload type: ISAKMP_NEXT_v2N (0x29) | flags: none (0x0) | next payload chain: ignoring supplied 'IKEv2 Nonce Payload'.'next payload type' value 41:ISAKMP_NEXT_v2N | 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 ff 3c 8d 29 f9 17 42 60 84 76 4f f6 40 cc d6 39 | IKEv2 nonce 72 3c e3 55 a2 b6 ab 50 39 ab 9b f9 df 76 1f a0 | 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: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | Notify Message Type: v2N_IKEV2_FRAGMENTATION_SUPPORTED (0x402e) | next payload chain: setting previous 'IKEv2 Nonce Payload'.'next payload type' to current IKEv2 Notify Payload (41:ISAKMP_NEXT_v2N) | next payload chain: saving location 'IKEv2 Notify Payload'.'next payload type' in 'reply packet' | emitting length of IKEv2 Notify Payload: 8 | NAT-Traversal support [enabled] add v2N payloads. | natd_hash: hasher=0x559ecc52c800(20) | natd_hash: icookie= 6b c9 e7 65 87 02 c7 23 | natd_hash: rcookie= 7f fa 20 2e ee c2 86 a7 | natd_hash: ip= c0 01 02 17 | natd_hash: port=500 | natd_hash: hash= 16 18 dc 2c a8 fa 78 ec 90 70 77 f5 11 47 95 85 | natd_hash: hash= ea 81 28 9a | Adding a v2N Payload | ***emit IKEv2 Notify Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | 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 16 18 dc 2c a8 fa 78 ec 90 70 77 f5 11 47 95 85 | Notify data ea 81 28 9a | emitting length of IKEv2 Notify Payload: 28 | natd_hash: hasher=0x559ecc52c800(20) | natd_hash: icookie= 6b c9 e7 65 87 02 c7 23 | natd_hash: rcookie= 7f fa 20 2e ee c2 86 a7 | natd_hash: ip= c0 01 02 2d | natd_hash: port=500 | natd_hash: hash= e9 03 47 6f ef fc 1f 7f 61 ba 56 7c 60 6c 46 eb | natd_hash: hash= f7 e2 97 c8 | Adding a v2N Payload | ***emit IKEv2 Notify Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | 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 e9 03 47 6f ef fc 1f 7f 61 ba 56 7c 60 6c 46 eb | Notify data f7 e2 97 c8 | emitting length of IKEv2 Notify Payload: 28 | emitting length of ISAKMP Message: 248 | [RE]START processing: state #9 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #9 complete_v2_state_transition() PARENT_R0->PARENT_R1 with status STF_OK | IKEv2: transition from state STATE_PARENT_R0 to state STATE_PARENT_R1 | parent state #9: PARENT_R0(half-open IKE SA) => PARENT_R1(half-open IKE SA) | Message ID: updating counters for #9 to 0 after switching state | Message ID: recv #9 request 0; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=-1 responder.recv=-1->0 wip.initiator=-1 wip.responder=0->-1 | Message ID: sent #9 response 0; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=-1->0 responder.recv=0 wip.initiator=-1 wip.responder=-1 "westnet-eastnet-ikev2" #9: STATE_PARENT_R1: received v2I1, sent v2R1 {auth=IKEv2 cipher=AES_CBC_256 integ=HMAC_SHA2_256_128 prf=HMAC_SHA2_256 group=DH19} | sending V2 new request packet to 192.1.2.45:500 (from 192.1.2.23:500) | sending 248 bytes for STATE_PARENT_R0 through eth1 from 192.1.2.23:500 to 192.1.2.45:500 (using #9) | 6b c9 e7 65 87 02 c7 23 7f fa 20 2e ee c2 86 a7 | 21 20 22 20 00 00 00 00 00 00 00 f8 22 00 00 30 | 00 00 00 2c 01 01 00 04 03 00 00 0c 01 00 00 0c | 80 0e 01 00 03 00 00 08 02 00 00 05 03 00 00 08 | 03 00 00 0c 00 00 00 08 04 00 00 13 28 00 00 48 | 00 13 00 00 32 01 5c e4 06 14 8c 47 55 8e 52 91 | ab 05 e5 df c9 a1 c4 e3 ef 87 5f 9a c9 fb bd 8c | 7c 14 19 6b d4 ef 44 92 a9 11 e6 dc ac de f5 9a | 2a 61 ec b1 76 b9 10 f1 46 e2 22 7a 75 b9 42 80 | 95 a0 79 7e 29 00 00 24 ff 3c 8d 29 f9 17 42 60 | 84 76 4f f6 40 cc d6 39 72 3c e3 55 a2 b6 ab 50 | 39 ab 9b f9 df 76 1f a0 29 00 00 08 00 00 40 2e | 29 00 00 1c 00 00 40 04 16 18 dc 2c a8 fa 78 ec | 90 70 77 f5 11 47 95 85 ea 81 28 9a 00 00 00 1c | 00 00 40 05 e9 03 47 6f ef fc 1f 7f 61 ba 56 7c | 60 6c 46 eb f7 e2 97 c8 | state #9 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x7f1aa4006748 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x559ecd5d52d8 | event_schedule: new EVENT_SO_DISCARD-pe@0x559ecd5d52d8 | inserting event EVENT_SO_DISCARD, timeout in 200 seconds for #9 | libevent_malloc: new ptr-libevent@0x559ecd5d3aa8 size 128 | resume sending helper answer for #9 suppresed complete_v2_state_transition() | #9 spent 0.27 milliseconds in resume sending helper answer | stop processing: state #9 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in resume_handler() at server.c:833) | libevent_free: release ptr-libevent@0x7f1a9c00a868 | spent 0.00283 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 480 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 6b c9 e7 65 87 02 c7 23 7f fa 20 2e ee c2 86 a7 | 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | b1 5a 0f b5 f6 46 5b 2f 36 82 0f 4f c0 1f 91 7a | 97 87 78 e0 12 53 e0 78 e3 47 df be 45 dd 02 9d | 7b 8c e3 3e 61 04 e2 fa 09 17 1c 57 25 55 07 bc | 96 fc 64 f3 c9 6d e0 74 b5 10 6b 1e 1d 98 7c 5b | 2c 22 22 e6 52 91 b0 eb f0 54 46 a7 d9 9c a9 41 | c4 ab 98 14 98 ab b8 60 15 5a 30 6e 89 ab 6e 8b | 2e aa 0a 52 7e 2c c4 39 ff 48 e9 40 1b a4 0c f5 | a1 72 2a 57 47 5a 25 cf 97 bc 05 0e ab 3c 9a ef | 32 4c d9 b1 04 5b 91 59 69 76 47 2a 83 18 a2 3b | 7a 53 12 f1 55 68 80 0b 3b 37 06 34 82 fd 65 cc | 74 90 62 f7 74 b7 53 2f 5f d5 1b fa 22 ee 12 20 | ef e5 e1 d9 c1 33 c7 07 54 49 bd 94 ba c0 8e a3 | 9f b7 86 7e ac fd 39 11 15 ca 48 cc c2 8e 29 d0 | 06 eb ab 0e 33 34 1c 15 15 c3 bf 1b 7b 2d 6b af | 78 78 66 17 f7 e5 31 b1 64 ce 50 41 83 5e 5a 49 | 57 97 f8 0f 36 94 d6 5e 12 49 dd af e6 57 ae 32 | be de e8 7f 49 36 86 a4 6d a6 3a a5 41 88 db 00 | ed 6a 5c e6 8e 90 51 73 84 59 ce 89 b3 12 71 a2 | fa 5e 49 37 7d d5 5e f9 a5 9f 89 0d 91 ef 19 d8 | ab 17 bf 88 a4 e1 0a 28 99 25 0c fe 6d 3d 36 cf | ac a5 91 a7 f1 a3 aa 23 06 3e a0 7e 55 b7 07 28 | 51 ee cc 07 0f 47 7a 6c 0a dc ee 8c 3c 5d 23 06 | 54 2d 84 0d bc 52 52 e4 9f 18 42 4d 47 44 99 80 | a4 f5 75 06 fc db 63 0f 3e c9 c1 6f de 1d b1 af | 14 fe 9c 0f 6b 7f 0a 20 5d b2 32 33 53 9d 28 c4 | ee d2 9d 83 0f 1c 8c 58 4d af bb 06 62 30 35 d1 | fa 14 c9 3f e4 63 04 f7 fc 12 04 d8 25 cd a6 5e | 46 67 17 ca 6c a5 51 c5 7e 2c 83 8f e5 bc 4d 3b | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 6b c9 e7 65 87 02 c7 23 | responder cookie: | 7f fa 20 2e ee c2 86 a7 | next payload type: ISAKMP_NEXT_v2SK (0x2e) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_IKE_AUTH (0x23) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 1 (0x1) | length: 480 (0x1e0) | processing version=2.0 packet with exchange type=ISAKMP_v2_IKE_AUTH (35) | I am the IKE SA Original Responder receiving an IKEv2 IKE_AUTH request | State DB: found IKEv2 state #9 in PARENT_R1 (find_v2_ike_sa) | start processing: state #9 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2016) | State DB: IKEv2 state not found (find_v2_sa_by_responder_wip) | [RE]START processing: state #9 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ike_process_packet() at ikev2.c:2064) | #9 st.st_msgid_lastrecv 0 md.hdr.isa_msgid 00000001 | Message ID: #9 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0 | unpacking clear payload | Now let's proceed with payload (ISAKMP_NEXT_v2SK) | ***parse IKEv2 Encryption Payload: | next payload type: ISAKMP_NEXT_v2IDi (0x23) | flags: none (0x0) | length: 452 (0x1c4) | processing payload: ISAKMP_NEXT_v2SK (len=448) | Message ID: start-responder #9 request 1; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0 wip.initiator=-1 wip.responder=-1->1 | #9 in state PARENT_R1: received v2I1, sent v2R1 | selected state microcode Responder: process IKE_AUTH request (no SKEYSEED) | Now let's proceed with state specific processing | calling processor Responder: process IKE_AUTH request (no SKEYSEED) | ikev2 parent inI2outR2: calculating g^{xy} in order to decrypt I2 | offloading IKEv2 SKEYSEED using prf=HMAC_SHA2_256 integ=HMAC_SHA2_256_128 cipherkey=AES_CBC | adding ikev2_inI2outR2 KE work-order 10 for state #9 | state #9 requesting EVENT_SO_DISCARD to be deleted | libevent_free: release ptr-libevent@0x559ecd5d3aa8 | free_event_entry: release EVENT_SO_DISCARD-pe@0x559ecd5d52d8 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x559ecd5d52d8 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #9 | libevent_malloc: new ptr-libevent@0x7f1a9c00a868 size 128 | #9 spent 0.022 milliseconds in processing: Responder: process IKE_AUTH request (no SKEYSEED) in ikev2_process_state_packet() | [RE]START processing: state #9 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #9 complete_v2_state_transition() PARENT_R1->PARENT_R1 with status STF_SUSPEND | suspending state #9 and saving MD | #9 is busy; has a suspended MD | crypto helper 2 resuming | [RE]START processing: state #9 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in log_stf_suspend() at ikev2.c:3269) | crypto helper 2 starting work-order 10 for state #9 | "westnet-eastnet-ikev2" #9 complete v2 state STATE_PARENT_R1 transition with STF_SUSPEND suspended from complete_v2_state_transition:3451 | crypto helper 2 doing compute dh (V2) (ikev2_inI2outR2 KE); request ID 10 | stop processing: state #9 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2018) | #9 spent 0.16 milliseconds in ikev2_process_packet() | stop processing: from 192.1.2.45:500 (in process_md() at demux.c:380) | processing: STOP state #0 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.172 milliseconds in comm_handle_cb() reading and processing packet | calculating skeyseed using prf=sha2_256 integ=sha2_256 cipherkey-size=32 salt-size=0 | crypto helper 2 finished compute dh (V2) (ikev2_inI2outR2 KE); request ID 10 time elapsed 0.001116 seconds | (#9) spent 1.11 milliseconds in crypto helper computing work-order 10: ikev2_inI2outR2 KE (pcr) | crypto helper 2 sending results from work-order 10 for state #9 to event queue | scheduling resume sending helper answer for #9 | libevent_malloc: new ptr-libevent@0x7f1aa0004218 size 128 | crypto helper 2 waiting (nothing to do) | processing resume sending helper answer for #9 | start processing: state #9 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in resume_handler() at server.c:797) | crypto helper 2 replies to request ID 10 | calling continuation function 0x559ecc457b50 | ikev2_parent_inI2outR2_continue for #9: calculating g^{xy}, sending R2 | #9 in state PARENT_R1: received v2I1, sent v2R1 | data for hmac: 6b c9 e7 65 87 02 c7 23 7f fa 20 2e ee c2 86 a7 | data for hmac: 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | data for hmac: b1 5a 0f b5 f6 46 5b 2f 36 82 0f 4f c0 1f 91 7a | data for hmac: 97 87 78 e0 12 53 e0 78 e3 47 df be 45 dd 02 9d | data for hmac: 7b 8c e3 3e 61 04 e2 fa 09 17 1c 57 25 55 07 bc | data for hmac: 96 fc 64 f3 c9 6d e0 74 b5 10 6b 1e 1d 98 7c 5b | data for hmac: 2c 22 22 e6 52 91 b0 eb f0 54 46 a7 d9 9c a9 41 | data for hmac: c4 ab 98 14 98 ab b8 60 15 5a 30 6e 89 ab 6e 8b | data for hmac: 2e aa 0a 52 7e 2c c4 39 ff 48 e9 40 1b a4 0c f5 | data for hmac: a1 72 2a 57 47 5a 25 cf 97 bc 05 0e ab 3c 9a ef | data for hmac: 32 4c d9 b1 04 5b 91 59 69 76 47 2a 83 18 a2 3b | data for hmac: 7a 53 12 f1 55 68 80 0b 3b 37 06 34 82 fd 65 cc | data for hmac: 74 90 62 f7 74 b7 53 2f 5f d5 1b fa 22 ee 12 20 | data for hmac: ef e5 e1 d9 c1 33 c7 07 54 49 bd 94 ba c0 8e a3 | data for hmac: 9f b7 86 7e ac fd 39 11 15 ca 48 cc c2 8e 29 d0 | data for hmac: 06 eb ab 0e 33 34 1c 15 15 c3 bf 1b 7b 2d 6b af | data for hmac: 78 78 66 17 f7 e5 31 b1 64 ce 50 41 83 5e 5a 49 | data for hmac: 57 97 f8 0f 36 94 d6 5e 12 49 dd af e6 57 ae 32 | data for hmac: be de e8 7f 49 36 86 a4 6d a6 3a a5 41 88 db 00 | data for hmac: ed 6a 5c e6 8e 90 51 73 84 59 ce 89 b3 12 71 a2 | data for hmac: fa 5e 49 37 7d d5 5e f9 a5 9f 89 0d 91 ef 19 d8 | data for hmac: ab 17 bf 88 a4 e1 0a 28 99 25 0c fe 6d 3d 36 cf | data for hmac: ac a5 91 a7 f1 a3 aa 23 06 3e a0 7e 55 b7 07 28 | data for hmac: 51 ee cc 07 0f 47 7a 6c 0a dc ee 8c 3c 5d 23 06 | data for hmac: 54 2d 84 0d bc 52 52 e4 9f 18 42 4d 47 44 99 80 | data for hmac: a4 f5 75 06 fc db 63 0f 3e c9 c1 6f de 1d b1 af | data for hmac: 14 fe 9c 0f 6b 7f 0a 20 5d b2 32 33 53 9d 28 c4 | data for hmac: ee d2 9d 83 0f 1c 8c 58 4d af bb 06 62 30 35 d1 | data for hmac: fa 14 c9 3f e4 63 04 f7 fc 12 04 d8 25 cd a6 5e | calculated auth: 46 67 17 ca 6c a5 51 c5 7e 2c 83 8f e5 bc 4d 3b | provided auth: 46 67 17 ca 6c a5 51 c5 7e 2c 83 8f e5 bc 4d 3b | authenticator matched | #9 ikev2 ISAKMP_v2_IKE_AUTH decrypt success | Now let's proceed with payload (ISAKMP_NEXT_v2IDi) | **parse IKEv2 Identification - Initiator - Payload: | next payload type: ISAKMP_NEXT_v2IDr (0x24) | flags: none (0x0) | length: 12 (0xc) | ID type: ID_FQDN (0x2) | processing payload: ISAKMP_NEXT_v2IDi (len=4) | Now let's proceed with payload (ISAKMP_NEXT_v2IDr) | **parse IKEv2 Identification - Responder - Payload: | next payload type: ISAKMP_NEXT_v2AUTH (0x27) | flags: none (0x0) | length: 12 (0xc) | ID type: ID_FQDN (0x2) | 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: 282 (0x11a) | auth method: IKEv2_AUTH_RSA (0x1) | processing payload: ISAKMP_NEXT_v2AUTH (len=274) | 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: 56 (0x38) | processing payload: ISAKMP_NEXT_v2SA (len=52) | 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 (0x18) | number of TS: 1 (0x1) | 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 (0x18) | number of TS: 1 (0x1) | processing payload: ISAKMP_NEXT_v2TSr (len=16) | selected state microcode Responder: process IKE_AUTH request | Now let's proceed with state specific processing | calling processor Responder: process IKE_AUTH request "westnet-eastnet-ikev2" #9: processing decrypted IKE_AUTH request: SK{IDi,IDr,AUTH,SA,TSi,TSr} | #9 updating local interface from 192.1.2.23:500 to 192.1.2.23:500 using md->iface (in update_ike_endpoints() at state.c:2669) | received IDr payload - extracting our alleged ID | refine_host_connection for IKEv2: starting with "westnet-eastnet-ikev2" | match_id a=@west | b=@west | results matched | refine_host_connection: checking "westnet-eastnet-ikev2" against "westnet-eastnet-ikev2", best=(none) with match=1(id=1(0)/ca=1(0)/reqca=1(0)) | Warning: not switching back to template of current instance | Peer expects us to be @east (ID_FQDN) according to its IDr payload | This connection's local id is @east (ID_FQDN) | refine_host_connection: checked westnet-eastnet-ikev2 against westnet-eastnet-ikev2, now for see if best | started looking for secret for @east->@west of kind PKK_RSA | actually looking for secret for @east->@west of kind PKK_RSA | line 1: key type PKK_RSA(@east) to type PKK_RSA | 1: compared key (none) to @east / @west -> 002 | 2: compared key (none) to @east / @west -> 002 | line 1: match=002 | match 002 beats previous best_match 000 match=0x559ecd52ab58 (line=1) | concluding with best_match=002 best=0x559ecd52ab58 (lineno=1) | returning because exact peer id match | offered CA: '%none' "westnet-eastnet-ikev2" #9: IKEv2 mode peer ID is ID_FQDN: '@west' | verifying AUTH payload | required RSA CA is '%any' | checking RSA keyid '@east' for match with '@west' | checking RSA keyid '@west' for match with '@west' | key issuer CA is '%any' | an RSA Sig check passed with *AQOm9dY/4 [preloaded key] | #9 spent 0.0373 milliseconds in try_all_RSA_keys() trying a pubkey "westnet-eastnet-ikev2" #9: Authenticated using RSA | #9 spent 0.0543 milliseconds in ikev2_verify_rsa_hash() | parent state #9: PARENT_R1(half-open IKE SA) => PARENT_R2(established IKE SA) | #9 will start re-keying in 3330 seconds with margin of 270 seconds (attempting re-key) | state #9 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x7f1a9c00a868 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x559ecd5d52d8 | event_schedule: new EVENT_SA_REKEY-pe@0x559ecd5d52d8 | inserting event EVENT_SA_REKEY, timeout in 3330 seconds for #9 | libevent_malloc: new ptr-libevent@0x559ecd5dfe88 size 128 | pstats #9 ikev2.ike established | **emit ISAKMP Message: | initiator cookie: | 6b c9 e7 65 87 02 c7 23 | responder cookie: | 7f fa 20 2e ee c2 86 a7 | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_IKE_AUTH (0x23) | flags: ISAKMP_FLAG_v2_MSG_RESPONSE (0x20) | Message ID: 1 (0x1) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | IKEv2 CERT: send a certificate? | IKEv2 CERT: no certificate to send | ***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 | Initiator child policy is compress=no, NOT sending v2N_IPCOMP_SUPPORTED | ****emit IKEv2 Identification - Responder - Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | ID type: ID_FQDN (0x2) | next payload chain: setting previous 'IKEv2 Encryption Payload'.'next payload type' to current IKEv2 Identification - Responder - Payload (36:ISAKMP_NEXT_v2IDr) | next payload chain: saving location 'IKEv2 Identification - Responder - Payload'.'next payload type' in 'reply packet' | emitting 4 raw bytes of my identity into IKEv2 Identification - Responder - Payload | my identity 65 61 73 74 | emitting length of IKEv2 Identification - Responder - Payload: 12 | assembled IDr payload | CHILD SA proposals received | going to assemble AUTH payload | ****emit IKEv2 Authentication Payload: | next payload type: ISAKMP_NEXT_v2SA (0x21) | flags: none (0x0) | auth method: IKEv2_AUTH_RSA (0x1) | next payload chain: ignoring supplied 'IKEv2 Authentication Payload'.'next payload type' value 33:ISAKMP_NEXT_v2SA | 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' | started looking for secret for @east->@west of kind PKK_RSA | actually looking for secret for @east->@west of kind PKK_RSA | line 1: key type PKK_RSA(@east) to type PKK_RSA | 1: compared key (none) to @east / @west -> 002 | 2: compared key (none) to @east / @west -> 002 | line 1: match=002 | match 002 beats previous best_match 000 match=0x559ecd52ab58 (line=1) | concluding with best_match=002 best=0x559ecd52ab58 (lineno=1) | #9 spent 2.58 milliseconds in ikev2_calculate_rsa_hash() calling sign_hash_RSA() | emitting 274 raw bytes of rsa signature into IKEv2 Authentication Payload | rsa signature 93 9b 98 06 d8 9c 18 fd 13 fe b3 e8 d8 7b b6 79 | rsa signature c2 13 f4 89 c3 38 28 3e f3 db c1 61 86 6f 8f 1f | rsa signature 1e 4f 2d 2d 12 61 fb 7a 13 d7 d2 42 52 ff 53 75 | rsa signature c1 bf 99 04 16 53 6a 7e f6 eb 0e 1b af 1a 53 4c | rsa signature 10 48 a1 33 d8 ba 46 d5 97 22 be a4 b4 f3 f2 87 | rsa signature a2 f9 d5 88 fd 18 e0 ac b5 78 24 4f 31 48 d0 eb | rsa signature 60 0e cd bc 4f a8 86 76 e0 75 00 f2 b6 33 c0 d6 | rsa signature ab af 80 93 e5 35 b1 c9 e2 18 78 b3 69 30 0e 65 | rsa signature 4b 35 7d 5f 9a b0 57 a5 41 12 c9 f4 e5 6d 39 d6 | rsa signature 21 15 8f 68 f0 99 c8 5f bf a7 31 ba 79 07 8e 9b | rsa signature e2 07 e3 15 d5 5b fa 67 f1 73 90 10 2a 74 df 02 | rsa signature c3 75 53 79 12 4e 18 11 fe d2 a3 c0 fe ba ef 79 | rsa signature 59 2e dd 53 a6 47 89 65 41 cc 91 f2 f4 b0 c3 40 | rsa signature 85 b3 a3 6f 39 d5 81 10 7a 19 f5 42 7e e8 0b 06 | rsa signature 0c c3 f5 f2 a2 ce 81 3f fe 94 09 ad d0 11 f0 10 | rsa signature 73 67 15 e8 53 33 4e 98 5f 84 73 ca c6 43 c1 15 | rsa signature d1 70 3b 77 15 a6 8c cb c2 23 f0 ca d8 47 da 3a | rsa signature 41 9a | #9 spent 2.64 milliseconds in ikev2_calculate_rsa_hash() | emitting length of IKEv2 Authentication Payload: 282 | creating state object #10 at 0x559ecd5e8128 | State DB: adding IKEv2 state #10 in UNDEFINED | pstats #10 ikev2.child started | duplicating state object #9 "westnet-eastnet-ikev2" as #10 for IPSEC SA | #10 setting local endpoint to 192.1.2.23:500 from #9.st_localport (in duplicate_state() at state.c:1484) | Message ID: init_child #9.#10; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0; child: wip.initiator=0->-1 wip.responder=0->-1 | Message ID: switch-from #9 request 1; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0 wip.initiator=-1 wip.responder=1->-1 | Message ID: switch-to #9.#10 request 1; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0; child: wip.initiator=-1 wip.responder=-1->1 | Child SA TS Request has ike->sa == md->st; so using parent connection | TSi: parsing 1 traffic selectors | ***parse IKEv2 Traffic Selector: | TS type: IKEv2_TS_IPV4_ADDR_RANGE (0x7) | IP Protocol ID: 0 (0x0) | length: 16 (0x10) | start port: 0 (0x0) | end port: 65535 (0xffff) | 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: 0 (0x0) | length: 16 (0x10) | start port: 0 (0x0) | end port: 65535 (0xffff) | parsing 4 raw bytes of IKEv2 Traffic Selector into TS low | TS low c0 00 02 00 | parsing 4 raw bytes of IKEv2 Traffic Selector into TS high | TS high c0 00 02 ff | TSr: parsed 1 traffic selectors | looking for best SPD in current connection | evaluating our conn="westnet-eastnet-ikev2" I=192.0.1.0/24:0/0 R=192.0.2.0/24:0/0 to their: | TSi[0] .net=192.0.1.0-192.0.1.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.1.0/24 == TSi[0]net=192.0.1.0-192.0.1.255: YES fitness 32 | narrow port end=0..65535 == TSi[0]=0..65535: 0 | TSi[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSi[0]=*0: 0 | match end->protocol=*0 == TSi[0].ipprotoid=*0: YES fitness 255 | TSr[0] .net=192.0.2.0-192.0.2.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.2.0/24 == TSr[0]net=192.0.2.0-192.0.2.255: YES fitness 32 | narrow port end=0..65535 == TSr[0]=0..65535: 0 | TSr[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSr[0]=*0: 0 | match end->protocol=*0 == TSr[0].ipprotoid=*0: YES fitness 255 | best fit so far: TSi[0] TSr[0] | found better spd route for TSi[0],TSr[0] | looking for better host pair | find_host_pair: comparing 192.1.2.23:500 to 192.1.2.45:500 but ignoring ports | checking hostpair 192.0.2.0/24 -> 192.0.1.0/24 is found | investigating connection "westnet-eastnet-ikev2" as a better match | match_id a=@west | b=@west | results matched | evaluating our conn="westnet-eastnet-ikev2" I=192.0.1.0/24:0/0 R=192.0.2.0/24:0/0 to their: | TSi[0] .net=192.0.1.0-192.0.1.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.1.0/24 == TSi[0]net=192.0.1.0-192.0.1.255: YES fitness 32 | narrow port end=0..65535 == TSi[0]=0..65535: 0 | TSi[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSi[0]=*0: 0 | match end->protocol=*0 == TSi[0].ipprotoid=*0: YES fitness 255 | TSr[0] .net=192.0.2.0-192.0.2.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.2.0/24 == TSr[0]net=192.0.2.0-192.0.2.255: YES fitness 32 | narrow port end=0..65535 == TSr[0]=0..65535: 0 | TSr[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSr[0]=*0: 0 | match end->protocol=*0 == TSr[0].ipprotoid=*0: YES fitness 255 | best fit so far: TSi[0] TSr[0] | did not find a better connection using host pair | printing contents struct traffic_selector | ts_type: IKEv2_TS_IPV4_ADDR_RANGE | ipprotoid: 0 | port range: 0-65535 | ip range: 192.0.2.0-192.0.2.255 | printing contents struct traffic_selector | ts_type: IKEv2_TS_IPV4_ADDR_RANGE | ipprotoid: 0 | port range: 0-65535 | ip range: 192.0.1.0-192.0.1.255 | using existing local ESP/AH proposals for westnet-eastnet-ikev2 (IKE_AUTH responder matching remote ESP/AH proposals): 1:ESP:ENCR=AES_GCM_C_256;INTEG=NONE;DH=NONE;ESN=DISABLED 2:ESP:ENCR=AES_GCM_C_128;INTEG=NONE;DH=NONE;ESN=DISABLED 3:ESP:ENCR=AES_CBC_256;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=NONE;ESN=DISABLED 4:ESP:ENCR=AES_CBC_128;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=NONE;ESN=DISABLED | Comparing remote proposals against IKE_AUTH responder matching remote ESP/AH proposals 4 local proposals | local proposal 1 type ENCR has 1 transforms | local proposal 1 type PRF has 0 transforms | local proposal 1 type INTEG has 1 transforms | local proposal 1 type DH has 1 transforms | local proposal 1 type ESN has 1 transforms | local proposal 1 transforms: required: ENCR+ESN; optional: INTEG+DH | local proposal 2 type ENCR has 1 transforms | local proposal 2 type PRF has 0 transforms | local proposal 2 type INTEG has 1 transforms | local proposal 2 type DH has 1 transforms | local proposal 2 type ESN has 1 transforms | local proposal 2 transforms: required: ENCR+ESN; optional: INTEG+DH | local proposal 3 type ENCR has 1 transforms | local proposal 3 type PRF has 0 transforms | local proposal 3 type INTEG has 2 transforms | local proposal 3 type DH has 1 transforms | local proposal 3 type ESN has 1 transforms | local proposal 3 transforms: required: ENCR+INTEG+ESN; optional: DH | local proposal 4 type ENCR has 1 transforms | local proposal 4 type PRF has 0 transforms | local proposal 4 type INTEG has 2 transforms | local proposal 4 type DH has 1 transforms | local proposal 4 type ESN has 1 transforms | local proposal 4 transforms: required: ENCR+INTEG+ESN; optional: DH | ***parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | length: 52 (0x34) | prop #: 1 (0x1) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (0x4) | # transforms: 4 (0x4) | parsing 4 raw bytes of IKEv2 Proposal Substructure Payload into remote SPI | remote SPI 3d e0 12 9f | Comparing remote proposal 1 containing 4 transforms against local proposal [1..4] of 4 local proposals | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 12 (0xc) | 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 (0x80) | remote proposal 1 transform 0 (ENCR=AES_CBC_128) matches local proposal 4 type 1 (ENCR) transform 0 | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 12 (0xc) | IKEv2 transform type: TRANS_TYPE_ENCR (0x1) | IKEv2 transform ID: AES_CBC (0xc) | *****parse IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 256 (0x100) | remote proposal 1 transform 1 (ENCR=AES_CBC_256) matches local proposal 3 type 1 (ENCR) transform 0 | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | 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 3 type 3 (INTEG) transform 1 | remote proposal 1 transform 2 (INTEG=HMAC_SHA2_256_128) matches local proposal 4 type 3 (INTEG) transform 1 | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_LAST (0x0) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_ESN (0x5) | IKEv2 transform ID: ESN_DISABLED (0x0) | remote proposal 1 transform 3 (ESN=DISABLED) matches local proposal 1 type 5 (ESN) transform 0 | remote proposal 1 transform 3 (ESN=DISABLED) matches local proposal 2 type 5 (ESN) transform 0 | remote proposal 1 transform 3 (ESN=DISABLED) matches local proposal 3 type 5 (ESN) transform 0 | remote proposal 1 transform 3 (ESN=DISABLED) matches local proposal 4 type 5 (ESN) transform 0 | remote proposal 1 proposed transforms: ENCR+INTEG+ESN; matched: ENCR+INTEG+ESN; unmatched: none | comparing remote proposal 1 containing ENCR+INTEG+ESN transforms to local proposal 1; required: ENCR+ESN; optional: INTEG+DH; matched: ESN | remote proposal 1 does not match local proposal 1; unmatched transforms: ENCR+INTEG; missing transforms: ENCR | comparing remote proposal 1 containing ENCR+INTEG+ESN transforms to local proposal 2; required: ENCR+ESN; optional: INTEG+DH; matched: ESN | remote proposal 1 does not match local proposal 2; unmatched transforms: ENCR+INTEG; missing transforms: ENCR | comparing remote proposal 1 containing ENCR+INTEG+ESN transforms to local proposal 3; required: ENCR+INTEG+ESN; optional: DH; matched: ENCR+INTEG+ESN | remote proposal 1 matches local proposal 3 "westnet-eastnet-ikev2" #9: proposal 1:ESP:SPI=3de0129f;ENCR=AES_CBC_256;INTEG=HMAC_SHA2_256_128;ESN=DISABLED chosen from remote proposals 1:ESP:ENCR=AES_CBC_128;ENCR=AES_CBC_256;INTEG=HMAC_SHA2_256_128;ESN=DISABLED[first-match] | IKE_AUTH responder matching remote ESP/AH proposals ikev2_proposal: 1:ESP:SPI=3de0129f;ENCR=AES_CBC_256;INTEG=HMAC_SHA2_256_128;ESN=DISABLED | converting proposal to internal trans attrs | netlink_get_spi: allocated 0xe9ef8718 for esp.0@192.1.2.23 | Emitting ikev2_proposal ... | ****emit IKEv2 Security Association Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'IKEv2 Authentication Payload'.'next payload type' to current IKEv2 Security Association Payload (33:ISAKMP_NEXT_v2SA) | next payload chain: saving location 'IKEv2 Security Association Payload'.'next payload type' in 'reply packet' | *****emit IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | prop #: 1 (0x1) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (0x4) | # transforms: 3 (0x3) | 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 e9 ef 87 18 | ******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 (0x100) | 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_256_128 (0xc) | last substructure: checking 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' 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' 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 | emitting length of IKEv2 Security Association Payload: 44 | 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 (0x1) | 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: 0 (0x0) | start port: 0 (0x0) | end port: 65535 (0xffff) | emitting 4 raw bytes of ipv4 start into IKEv2 Traffic Selector | ipv4 start c0 00 01 00 | emitting 4 raw bytes of ipv4 end into IKEv2 Traffic Selector | ipv4 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 (0x1) | 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: 0 (0x0) | start port: 0 (0x0) | end port: 65535 (0xffff) | emitting 4 raw bytes of ipv4 start into IKEv2 Traffic Selector | ipv4 start c0 00 02 00 | emitting 4 raw bytes of ipv4 end into IKEv2 Traffic Selector | ipv4 end c0 00 02 ff | emitting length of IKEv2 Traffic Selector: 16 | emitting length of IKEv2 Traffic Selector - Responder - Payload: 24 | Initiator child policy is compress=no, NOT sending v2N_IPCOMP_SUPPORTED | integ=sha2_256: .key_size=32 encrypt=aes: .key_size=32 .salt_size=0 keymat_len=64 | FOR_EACH_CONNECTION_... in ISAKMP_SA_established | install_ipsec_sa() for #10: inbound and outbound | could_route called for westnet-eastnet-ikev2 (kind=CK_PERMANENT) | 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" prospective erouted: self; eroute owner: self | looking for alg with encrypt: AES_CBC keylen: 256 integ: HMAC_SHA2_256_128 | encrypt AES_CBC keylen=256 transid=12, key_size=32, encryptalg=12 | st->st_esp.keymat_len=64 is encrypt_keymat_size=32 + integ_keymat_size=32 | 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 | 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.3de0129f@192.1.2.45 included non-error error | set up outgoing SA, ref=0/0 | looking for alg with encrypt: AES_CBC keylen: 256 integ: HMAC_SHA2_256_128 | encrypt AES_CBC keylen=256 transid=12, key_size=32, encryptalg=12 | st->st_esp.keymat_len=64 is encrypt_keymat_size=32 + integ_keymat_size=32 | 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 | 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.e9ef8718@192.1.2.23 included non-error error | priority calculation of connection "westnet-eastnet-ikev2" is 0xfe7e7 | add inbound eroute 192.0.1.0/24:0 --0-> 192.0.2.0/24:0 => tun.10000@192.1.2.23 (raw_eroute) | IPsec Sa SPD priority set to 1042407 | raw_eroute result=success | set up incoming SA, ref=0/0 | sr for #10: prospective erouted | 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" prospective erouted: self; eroute owner: self | route_and_eroute with c: westnet-eastnet-ikev2 (next: none) ero:westnet-eastnet-ikev2 esr:{(nil)} ro:westnet-eastnet-ikev2 rosr:{(nil)} and state: #10 | priority calculation of connection "westnet-eastnet-ikev2" is 0xfe7e7 | eroute_connection replace eroute 192.0.2.0/24:0 --0-> 192.0.1.0/24:0 => tun.0@192.1.2.45>tun.0@192.1.2.45 (raw_eroute) | IPsec Sa SPD priority set to 1042407 | raw_eroute result=success | running updown command "ipsec _updown" for verb up | command executing up-client | executing up-client: PLUTO_VERB='up-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet-ikev2' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLUTO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@west' PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+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='' VTI_ROUTING='no' VTI_SHARED='no' SPI_IN=0x3d | popen cmd is 1040 chars long | cmd( 0):PLUTO_VERB='up-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet-ike: | cmd( 80):v2' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLU: | cmd( 160):TO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' : | cmd( 240):PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLU: | cmd( 320):TO_SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@: | cmd( 400):west' PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_P: | cmd( 480):EER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUT: | cmd( 560):O_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='RSASIG+EN: | cmd( 640):CRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND=: | cmd( 720):'CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISCO=': | cmd( 800):0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_C: | cmd( 880):FG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' VTI_ROUT: | cmd( 960):ING='no' VTI_SHARED='no' SPI_IN=0x3de0129f SPI_OUT=0xe9ef8718 ipsec _updown 2>&1: | route_and_eroute: firewall_notified: true | route_and_eroute: instance "westnet-eastnet-ikev2", setting eroute_owner {spd=0x559ecd5d17e8,sr=0x559ecd5d17e8} to #10 (was #0) (newest_ipsec_sa=#0) | #9 spent 0.845 milliseconds in install_ipsec_sa() | ISAKMP_v2_IKE_AUTH: instance westnet-eastnet-ikev2[0], setting IKEv2 newest_ipsec_sa to #10 (was #0) (spd.eroute=#10) cloned from #9 | adding 14 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 16 zero bytes of length of truncated HMAC/KEY into IKEv2 Encryption Payload | emitting length of IKEv2 Encryption Payload: 436 | emitting length of ISAKMP Message: 464 | data being hmac: 6b c9 e7 65 87 02 c7 23 7f fa 20 2e ee c2 86 a7 | data being hmac: 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | data being hmac: c6 bb 95 93 55 1a 21 d1 72 67 d7 c3 e1 3f 2c c8 | data being hmac: 83 76 89 48 72 fb ce 96 0e 37 9b 7a 16 23 f9 a5 | data being hmac: 6d 10 89 d4 b3 cd 16 46 56 b6 fd b9 f7 ea e0 8b | data being hmac: 10 f0 bd 34 11 1f 17 6e 6d 29 21 56 b3 bb 1c ea | data being hmac: 6f 04 f2 72 59 4d 8e db e6 2e 93 fe f9 62 59 ca | data being hmac: 89 4c 54 10 83 65 c2 3d 98 93 1e 69 d0 85 85 84 | data being hmac: 7e 1c 8f dd 44 a6 dc e3 cf 0d 0d 1e 02 e8 cb 75 | data being hmac: 0a 2c 4e ff a6 75 63 50 8d fa 2a 5e 78 8b 28 fd | data being hmac: 6a 34 c4 e8 e5 04 e0 5f 50 81 9c 1b de 44 9e 70 | data being hmac: 51 08 25 2d 6f 7b c8 3b 40 72 04 00 5b 42 4d 13 | data being hmac: 18 f3 4b eb 76 63 4a db 38 9c 19 cc 17 3c 77 da | data being hmac: 57 11 49 3d 1f a3 5e 0c f0 ed 28 bd 4e 2d 14 e8 | data being hmac: d0 e1 81 55 9c 40 fb c3 ea d7 5d aa 82 a8 07 17 | data being hmac: 47 e3 d5 a3 68 21 b0 fc 3b 91 d7 5c 26 21 86 fd | data being hmac: 19 1c ee 35 29 9a b3 3e d2 3e 0a 5b 19 3e ab 57 | data being hmac: 30 81 34 10 23 b8 22 f5 1b 45 7b 34 b1 93 a7 dc | data being hmac: 97 ee f7 f2 ce e6 5b 73 47 7f 50 26 10 b8 5c 90 | data being hmac: 26 8a 61 57 1a 97 8c a7 da e2 3e 71 c6 5b 5c 9c | data being hmac: 83 5a 4c bf b3 9e a7 74 88 7a a6 ce 52 ce 15 1f | data being hmac: 73 24 c0 9d 68 95 78 5f 39 37 b8 6f 1f f3 41 fc | data being hmac: 14 86 3a 9f 57 cf 15 2a b6 b0 7a f0 6b 1f 4b 2a | data being hmac: f8 20 d0 a8 c0 fa 8f 72 07 8b bf 52 83 b6 4f 58 | data being hmac: 6e 9e ca 47 d4 2d c1 5a 26 65 2f 36 82 45 54 72 | data being hmac: 03 c1 41 9b 53 f9 89 5f a4 af 61 3d c0 02 50 8e | data being hmac: d1 5f d4 66 30 ab 61 80 2a 28 2c 13 e2 73 f0 a9 | data being hmac: 7a b5 48 e0 6a 58 4b 23 b6 62 43 ed 0f b6 e3 70 | out calculated auth: | 7f c0 4d f0 89 27 7a 7e 7e 07 a5 2f a5 74 7e 62 | ikev2_parent_inI2outR2_continue_tail returned STF_OK | #9 spent 4.52 milliseconds in processing: Responder: process IKE_AUTH request in ikev2_process_state_packet() | suspend processing: state #9 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | start processing: state #10 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #10 complete_v2_state_transition() md.from_state=PARENT_R1 md.svm.state[from]=PARENT_R1 UNDEFINED->V2_IPSEC_R with status STF_OK | IKEv2: transition from state STATE_PARENT_R1 to state STATE_V2_IPSEC_R | child state #10: UNDEFINED(ignore) => V2_IPSEC_R(established CHILD SA) | Message ID: updating counters for #10 to 1 after switching state | Message ID: recv #9.#10 request 1; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0->1; child: wip.initiator=-1 wip.responder=1->-1 | Message ID: sent #9.#10 response 1; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0->1 responder.recv=1; child: wip.initiator=-1 wip.responder=-1 | pstats #10 ikev2.child established "westnet-eastnet-ikev2" #10: negotiated connection [192.0.2.0-192.0.2.255:0-65535 0] -> [192.0.1.0-192.0.1.255:0-65535 0] | NAT-T: encaps is 'auto' "westnet-eastnet-ikev2" #10: STATE_V2_IPSEC_R: IPsec SA established tunnel mode {ESP=>0x3de0129f <0xe9ef8718 xfrm=AES_CBC_256-HMAC_SHA2_256_128 NATOA=none NATD=none DPD=passive} | sending V2 new request packet to 192.1.2.45:500 (from 192.1.2.23:500) | sending 464 bytes for STATE_PARENT_R1 through eth1 from 192.1.2.23:500 to 192.1.2.45:500 (using #9) | 6b c9 e7 65 87 02 c7 23 7f fa 20 2e ee c2 86 a7 | 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | c6 bb 95 93 55 1a 21 d1 72 67 d7 c3 e1 3f 2c c8 | 83 76 89 48 72 fb ce 96 0e 37 9b 7a 16 23 f9 a5 | 6d 10 89 d4 b3 cd 16 46 56 b6 fd b9 f7 ea e0 8b | 10 f0 bd 34 11 1f 17 6e 6d 29 21 56 b3 bb 1c ea | 6f 04 f2 72 59 4d 8e db e6 2e 93 fe f9 62 59 ca | 89 4c 54 10 83 65 c2 3d 98 93 1e 69 d0 85 85 84 | 7e 1c 8f dd 44 a6 dc e3 cf 0d 0d 1e 02 e8 cb 75 | 0a 2c 4e ff a6 75 63 50 8d fa 2a 5e 78 8b 28 fd | 6a 34 c4 e8 e5 04 e0 5f 50 81 9c 1b de 44 9e 70 | 51 08 25 2d 6f 7b c8 3b 40 72 04 00 5b 42 4d 13 | 18 f3 4b eb 76 63 4a db 38 9c 19 cc 17 3c 77 da | 57 11 49 3d 1f a3 5e 0c f0 ed 28 bd 4e 2d 14 e8 | d0 e1 81 55 9c 40 fb c3 ea d7 5d aa 82 a8 07 17 | 47 e3 d5 a3 68 21 b0 fc 3b 91 d7 5c 26 21 86 fd | 19 1c ee 35 29 9a b3 3e d2 3e 0a 5b 19 3e ab 57 | 30 81 34 10 23 b8 22 f5 1b 45 7b 34 b1 93 a7 dc | 97 ee f7 f2 ce e6 5b 73 47 7f 50 26 10 b8 5c 90 | 26 8a 61 57 1a 97 8c a7 da e2 3e 71 c6 5b 5c 9c | 83 5a 4c bf b3 9e a7 74 88 7a a6 ce 52 ce 15 1f | 73 24 c0 9d 68 95 78 5f 39 37 b8 6f 1f f3 41 fc | 14 86 3a 9f 57 cf 15 2a b6 b0 7a f0 6b 1f 4b 2a | f8 20 d0 a8 c0 fa 8f 72 07 8b bf 52 83 b6 4f 58 | 6e 9e ca 47 d4 2d c1 5a 26 65 2f 36 82 45 54 72 | 03 c1 41 9b 53 f9 89 5f a4 af 61 3d c0 02 50 8e | d1 5f d4 66 30 ab 61 80 2a 28 2c 13 e2 73 f0 a9 | 7a b5 48 e0 6a 58 4b 23 b6 62 43 ed 0f b6 e3 70 | 7f c0 4d f0 89 27 7a 7e 7e 07 a5 2f a5 74 7e 62 | releasing whack for #10 (sock=fd@-1) | releasing whack and unpending for parent #9 | unpending state #9 connection "westnet-eastnet-ikev2" | #10 will start re-keying in 28530 seconds with margin of 270 seconds (attempting re-key) | event_schedule: new EVENT_SA_REKEY-pe@0x559ecd5dc988 | inserting event EVENT_SA_REKEY, timeout in 28530 seconds for #10 | libevent_malloc: new ptr-libevent@0x559ecd5d8978 size 128 | resume sending helper answer for #9 suppresed complete_v2_state_transition() | #9 spent 4.77 milliseconds in resume sending helper answer | stop processing: state #10 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in resume_handler() at server.c:833) | libevent_free: release ptr-libevent@0x7f1aa0004218 | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00328 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00257 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 80 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 6b c9 e7 65 87 02 c7 23 7f fa 20 2e ee c2 86 a7 | 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | 38 35 46 8c 1d e3 03 f7 c1 4c 4c de 83 11 d5 da | 63 e1 5e 49 00 4a 62 6a c7 0b 55 77 15 37 2b 1e | ca 67 d2 c9 bc b2 b1 1b dc 9f 83 27 d8 52 fb 55 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 6b c9 e7 65 87 02 c7 23 | responder cookie: | 7f fa 20 2e ee c2 86 a7 | next payload type: ISAKMP_NEXT_v2SK (0x2e) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_INFORMATIONAL (0x25) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 2 (0x2) | length: 80 (0x50) | processing version=2.0 packet with exchange type=ISAKMP_v2_INFORMATIONAL (37) | I am the IKE SA Original Responder receiving an IKEv2 INFORMATIONAL request | State DB: found IKEv2 state #9 in PARENT_R2 (find_v2_ike_sa) | start processing: state #9 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2016) | State DB: IKEv2 state not found (find_v2_sa_by_responder_wip) | [RE]START processing: state #9 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ike_process_packet() at ikev2.c:2064) | #9 st.st_msgid_lastrecv 1 md.hdr.isa_msgid 00000002 | Message ID: #9 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=1 responder.recv=1 | 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 (0x34) | processing payload: ISAKMP_NEXT_v2SK (len=48) | Message ID: start-responder #9 request 2; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=1 responder.recv=1 wip.initiator=-1 wip.responder=-1->2 | #9 in state PARENT_R2: received v2I2, PARENT SA established | data for hmac: 6b c9 e7 65 87 02 c7 23 7f fa 20 2e ee c2 86 a7 | data for hmac: 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | data for hmac: 38 35 46 8c 1d e3 03 f7 c1 4c 4c de 83 11 d5 da | data for hmac: 63 e1 5e 49 00 4a 62 6a c7 0b 55 77 15 37 2b 1e | calculated auth: ca 67 d2 c9 bc b2 b1 1b dc 9f 83 27 d8 52 fb 55 | provided auth: ca 67 d2 c9 bc b2 b1 1b dc 9f 83 27 d8 52 fb 55 | authenticator matched | #9 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 (0xc) | protocol ID: PROTO_v2_ESP (0x3) | SPI size: 4 (0x4) | number of SPIs: 1 (0x1) | processing payload: ISAKMP_NEXT_v2D (len=4) | selected state microcode R2: process INFORMATIONAL Request | Now let's proceed with state specific processing | calling processor R2: process INFORMATIONAL Request | an informational request should send a response | Received an INFORMATIONAL response, updating st_last_liveness, no pending_liveness | **emit ISAKMP Message: | initiator cookie: | 6b c9 e7 65 87 02 c7 23 | responder cookie: | 7f fa 20 2e ee c2 86 a7 | 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_MSG_RESPONSE (0x20) | Message ID: 2 (0x2) | 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 3d e0 12 9f | delete PROTO_v2_ESP SA(0x3de0129f) | v2 CHILD SA #10 found using their inbound (our outbound) SPI, in STATE_V2_IPSEC_R | State DB: found IKEv2 state #10 in V2_IPSEC_R (find_v2_child_sa_by_outbound_spi) | our side SPI that needs to be deleted: PROTO_v2_ESP SA(0x3de0129f) "westnet-eastnet-ikev2" #9: received Delete SA payload: delete IPsec State #10 now | pstats #10 ikev2.child deleted completed | suspend processing: state #9 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in delete_state() at state.c:879) | start processing: state #10 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in delete_state() at state.c:879) "westnet-eastnet-ikev2" #10: deleting other state #10 (STATE_V2_IPSEC_R) aged 0.116s and NOT sending notification | child state #10: V2_IPSEC_R(established CHILD SA) => delete | get_sa_info esp.3de0129f@192.1.2.45 | get_sa_info esp.e9ef8718@192.1.2.23 "westnet-eastnet-ikev2" #10: ESP traffic information: in=0B out=0B | child state #10: V2_IPSEC_R(established CHILD SA) => CHILDSA_DEL(informational) | state #10 requesting EVENT_SA_REKEY to be deleted | libevent_free: release ptr-libevent@0x559ecd5d8978 | free_event_entry: release EVENT_SA_REKEY-pe@0x559ecd5dc988 | running updown command "ipsec _updown" for verb down | command executing down-client | executing down-client: PLUTO_VERB='down-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet-ikev2' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLUTO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@west' PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='1566825097' PLUTO_CONN_POLICY='RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+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='' VTI_ROUTING='no' VTI_SHARED='no | popen cmd is 1051 chars long | cmd( 0):PLUTO_VERB='down-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet-i: | cmd( 80):kev2' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' P: | cmd( 160):LUTO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0: | cmd( 240):' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' P: | cmd( 320):LUTO_SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID=: | cmd( 400):'@west' PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO: | cmd( 480):_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PL: | cmd( 560):UTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='1566825097' PLUTO_CONN_POLICY: | cmd( 640):='RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO: | cmd( 720):_CONN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_P: | cmd( 800):EER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER: | cmd( 880):='' PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE=: | cmd( 960):'' VTI_ROUTING='no' VTI_SHARED='no' SPI_IN=0x3de0129f SPI_OUT=0xe9ef8718 ipsec _: | cmd(1040):updown 2>&1: | shunt_eroute() called for connection 'westnet-eastnet-ikev2' to 'replace with shunt' for rt_kind 'prospective erouted' using protoports 0--0->-0 | netlink_shunt_eroute for proto 0, and source port 0 dest port 0 | priority calculation of connection "westnet-eastnet-ikev2" is 0xfe7e7 | IPsec Sa SPD priority set to 1042407 | delete esp.3de0129f@192.1.2.45 | netlink response for Del SA esp.3de0129f@192.1.2.45 included non-error error | priority calculation of connection "westnet-eastnet-ikev2" is 0xfe7e7 | delete inbound eroute 192.0.1.0/24:0 --0-> 192.0.2.0/24:0 => unk255.10000@192.1.2.23 (raw_eroute) | raw_eroute result=success | delete esp.e9ef8718@192.1.2.23 | netlink response for Del SA esp.e9ef8718@192.1.2.23 included non-error error | in connection_discard for connection westnet-eastnet-ikev2 | State DB: deleting IKEv2 state #10 in CHILDSA_DEL | child state #10: CHILDSA_DEL(informational) => UNDEFINED(ignore) | stop processing: state #10 from 192.1.2.45:500 (in delete_state() at state.c:1143) | resume processing: state #9 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in delete_state() at state.c:1143) | ****emit IKEv2 Delete Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | protocol ID: PROTO_v2_ESP (0x3) | SPI size: 4 (0x4) | number of SPIs: 1 (0x1) | 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 e9 ef 87 18 | 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 | data being hmac: 6b c9 e7 65 87 02 c7 23 7f fa 20 2e ee c2 86 a7 | data being hmac: 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | data being hmac: 33 82 f1 09 7b 9a 32 26 5d 00 b1 bf 5d e2 e6 cb | data being hmac: c7 fa 7e c2 a9 0f 0f 0a 83 1d 54 e3 27 9f 93 8e | out calculated auth: | 66 87 4d ac 83 98 c9 83 1a 46 08 1d 6b 43 32 f4 | sending 80 bytes for reply packet for process_encrypted_informational_ikev2 through eth1 from 192.1.2.23:500 to 192.1.2.45:500 (using #9) | 6b c9 e7 65 87 02 c7 23 7f fa 20 2e ee c2 86 a7 | 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | 33 82 f1 09 7b 9a 32 26 5d 00 b1 bf 5d e2 e6 cb | c7 fa 7e c2 a9 0f 0f 0a 83 1d 54 e3 27 9f 93 8e | 66 87 4d ac 83 98 c9 83 1a 46 08 1d 6b 43 32 f4 | Message ID: #9 XXX: in process_encrypted_informational_ikev2() hacking around record'n'send bypassing send queue hacking around delete_my_family(); initiator.sent=-1 initiator.recv=-1 responder.sent=1 responder.recv=1 wip.initiator=-1 wip.responder=2 | Message ID: sent #9 response 2; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=1->2 responder.recv=1 wip.initiator=-1 wip.responder=2 | #9 spent 0.952 milliseconds in processing: R2: process INFORMATIONAL Request in ikev2_process_state_packet() | [RE]START processing: state #9 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #9 complete_v2_state_transition() PARENT_R2->PARENT_R2 with status STF_OK | Message ID: updating counters for #9 to 2 after switching state | Message ID: recv #9 request 2; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=1->2 wip.initiator=-1 wip.responder=2->-1 | Message ID: #9 skipping update_send as nothing to send; initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=2 wip.initiator=-1 wip.responder=-1 "westnet-eastnet-ikev2" #9: STATE_PARENT_R2: received v2I2, PARENT SA established | stop processing: state #9 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2018) | #9 spent 1.18 milliseconds in ikev2_process_packet() | stop processing: from 192.1.2.45:500 (in process_md() at demux.c:380) | processing: STOP state #0 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 1.2 milliseconds in comm_handle_cb() reading and processing packet | spent 0.0015 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 80 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 6b c9 e7 65 87 02 c7 23 7f fa 20 2e ee c2 86 a7 | 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | 72 a3 11 94 48 00 09 a0 a7 c3 32 b4 23 b4 c0 dc | 1b 09 0f 60 c1 c6 8d 82 8d 0b 2c d0 35 6c a7 42 | 04 fe 1d 05 a7 78 35 05 4c 87 55 3d 88 d9 34 51 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 6b c9 e7 65 87 02 c7 23 | responder cookie: | 7f fa 20 2e ee c2 86 a7 | next payload type: ISAKMP_NEXT_v2SK (0x2e) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_INFORMATIONAL (0x25) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 3 (0x3) | length: 80 (0x50) | processing version=2.0 packet with exchange type=ISAKMP_v2_INFORMATIONAL (37) | I am the IKE SA Original Responder receiving an IKEv2 INFORMATIONAL request | State DB: found IKEv2 state #9 in PARENT_R2 (find_v2_ike_sa) | start processing: state #9 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2016) | State DB: IKEv2 state not found (find_v2_sa_by_responder_wip) | [RE]START processing: state #9 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ike_process_packet() at ikev2.c:2064) | #9 st.st_msgid_lastrecv 2 md.hdr.isa_msgid 00000003 | Message ID: #9 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=2 | 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 (0x34) | processing payload: ISAKMP_NEXT_v2SK (len=48) | Message ID: start-responder #9 request 3; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=2 wip.initiator=-1 wip.responder=-1->3 | #9 in state PARENT_R2: received v2I2, PARENT SA established | data for hmac: 6b c9 e7 65 87 02 c7 23 7f fa 20 2e ee c2 86 a7 | data for hmac: 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | data for hmac: 72 a3 11 94 48 00 09 a0 a7 c3 32 b4 23 b4 c0 dc | data for hmac: 1b 09 0f 60 c1 c6 8d 82 8d 0b 2c d0 35 6c a7 42 | calculated auth: 04 fe 1d 05 a7 78 35 05 4c 87 55 3d 88 d9 34 51 | provided auth: 04 fe 1d 05 a7 78 35 05 4c 87 55 3d 88 d9 34 51 | authenticator matched | #9 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 (0x8) | protocol ID: PROTO_v2_IKE (0x1) | SPI size: 0 (0x0) | number of SPIs: 0 (0x0) | processing payload: ISAKMP_NEXT_v2D (len=0) | selected state microcode R2: process INFORMATIONAL Request | Now let's proceed with state specific processing | calling processor R2: process INFORMATIONAL Request | an informational request should send a response | Received an INFORMATIONAL response, updating st_last_liveness, no pending_liveness | **emit ISAKMP Message: | initiator cookie: | 6b c9 e7 65 87 02 c7 23 | responder cookie: | 7f fa 20 2e ee c2 86 a7 | 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_MSG_RESPONSE (0x20) | Message ID: 3 (0x3) | 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 | data being hmac: 6b c9 e7 65 87 02 c7 23 7f fa 20 2e ee c2 86 a7 | data being hmac: 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | data being hmac: 97 eb cf 07 da e4 14 97 f8 d8 26 fd 84 a0 c1 91 | data being hmac: bf 67 b6 7c 3f 7b 6f 67 a2 81 86 02 5d 87 86 24 | out calculated auth: | d8 e8 5e 7b 72 77 16 8c 17 d7 be 4f 27 fd df 69 | sending 80 bytes for reply packet for process_encrypted_informational_ikev2 through eth1 from 192.1.2.23:500 to 192.1.2.45:500 (using #9) | 6b c9 e7 65 87 02 c7 23 7f fa 20 2e ee c2 86 a7 | 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | 97 eb cf 07 da e4 14 97 f8 d8 26 fd 84 a0 c1 91 | bf 67 b6 7c 3f 7b 6f 67 a2 81 86 02 5d 87 86 24 | d8 e8 5e 7b 72 77 16 8c 17 d7 be 4f 27 fd df 69 | Message ID: #9 XXX: in process_encrypted_informational_ikev2() hacking around record'n'send bypassing send queue hacking around delete_my_family(); initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=2 wip.initiator=-1 wip.responder=3 | Message ID: sent #9 response 3; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=2->3 responder.recv=2 wip.initiator=-1 wip.responder=3 | State DB: IKEv2 state not found (delete_my_family) | parent state #9: PARENT_R2(established IKE SA) => IKESA_DEL(established IKE SA) | pstats #9 ikev2.ike deleted completed | #9 spent 9.03 milliseconds in total | [RE]START processing: state #9 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in delete_state() at state.c:879) "westnet-eastnet-ikev2" #9: deleting state (STATE_IKESA_DEL) aged 0.142s and NOT sending notification | parent state #9: IKESA_DEL(established IKE SA) => delete | state #9 requesting EVENT_SA_REKEY to be deleted | libevent_free: release ptr-libevent@0x559ecd5dfe88 | free_event_entry: release EVENT_SA_REKEY-pe@0x559ecd5d52d8 | State DB: IKEv2 state not found (flush_incomplete_children) | in connection_discard for connection westnet-eastnet-ikev2 | State DB: deleting IKEv2 state #9 in IKESA_DEL | parent state #9: IKESA_DEL(established IKE SA) => UNDEFINED(ignore) | unreference key: 0x559ecd52ac48 @west cnt 2-- | stop processing: state #9 from 192.1.2.45:500 (in delete_state() at state.c:1143) | in statetime_stop() and could not find #9 | skip start processing: state #0 (in complete_v2_state_transition() at ikev2.c:3379) | #0 complete_v2_state_transition() md.from_state=PARENT_R2 md.svm.state[from]=PARENT_R2 UNDEFINED->PARENT_R2 with status STF_OK | STF_OK but no state object remains | processing: STOP state #0 (in ikev2_process_packet() at ikev2.c:2018) | in statetime_stop() and could not find #9 | stop processing: from 192.1.2.45:500 (in process_md() at demux.c:380) | processing: STOP state #0 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.547 milliseconds in comm_handle_cb() reading and processing packet | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00464 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.003 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 292 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | a3 60 23 03 61 9e 32 bf 00 00 00 00 00 00 00 00 | 21 20 22 08 00 00 00 00 00 00 01 24 22 00 00 3c | 00 00 00 38 01 01 00 05 03 00 00 0c 01 00 00 0c | 80 0e 01 00 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 14 28 00 00 68 00 14 00 00 | e5 f4 3c 59 e5 94 a2 35 49 92 1d 89 38 8a 5a ed | 1f 58 d2 bc 3b d5 f8 06 51 78 17 62 11 6c 3f 76 | 88 2e 44 65 01 ae 79 50 cf f8 dd 79 b0 2c 20 c6 | 75 7e 9d aa 7c ec 4e a7 57 9a 1a 1f 07 bc 3f d6 | 19 54 ad 9e 47 fe 6f 78 3e d2 06 b8 d3 a0 20 46 | 6e c7 45 63 b4 24 9d d9 51 56 1c 04 c2 52 58 99 | 29 00 00 24 cb 4b 11 3e 44 af fa 2f 49 a7 d5 28 | 43 c2 77 d5 ed c0 2d 63 02 b2 b7 d5 50 85 78 c5 | 23 be dd 93 29 00 00 08 00 00 40 2e 29 00 00 1c | 00 00 40 04 b0 d8 91 52 18 a2 25 a8 3e 70 07 fe | 34 73 16 b3 32 00 70 3b 00 00 00 1c 00 00 40 05 | 00 9d f2 fb f6 7f a6 eb a1 b9 0a bc 1e 29 59 51 | 17 2c 6e 6e | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | a3 60 23 03 61 9e 32 bf | responder cookie: | 00 00 00 00 00 00 00 00 | next payload type: ISAKMP_NEXT_v2SA (0x21) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_IKE_SA_INIT (0x22) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 0 (0x0) | length: 292 (0x124) | processing version=2.0 packet with exchange type=ISAKMP_v2_IKE_SA_INIT (34) | I am the IKE SA Original Responder receiving an IKEv2 IKE_SA_INIT request | State DB: IKEv2 state not found (find_v2_ike_sa_by_initiator_spi) | Now let's proceed with payload (ISAKMP_NEXT_v2SA) | ***parse IKEv2 Security Association Payload: | next payload type: ISAKMP_NEXT_v2KE (0x22) | flags: none (0x0) | length: 60 (0x3c) | processing payload: ISAKMP_NEXT_v2SA (len=56) | 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: 104 (0x68) | DH group: OAKLEY_GROUP_ECP_384 (0x14) | processing payload: ISAKMP_NEXT_v2KE (len=96) | 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 (0x24) | 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 (0x8) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | 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 (0x1c) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | 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 (0x1c) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | Notify Message Type: v2N_NAT_DETECTION_DESTINATION_IP (0x4005) | processing payload: ISAKMP_NEXT_v2N (len=20) | DDOS disabled and no cookie sent, continuing | find_host_connection local=192.1.2.23:500 remote=192.1.2.45:500 policy=ECDSA+IKEV2_ALLOW but ignoring ports | find_host_pair: comparing 192.1.2.23:500 to 192.1.2.45:500 but ignoring ports | find_next_host_connection policy=ECDSA+IKEV2_ALLOW | found policy = RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO (westnet-eastnet-ikev2) | find_next_host_connection returns empty | find_host_connection local=192.1.2.23:500 remote= policy=ECDSA+IKEV2_ALLOW but ignoring ports | find_next_host_connection policy=ECDSA+IKEV2_ALLOW | find_next_host_connection returns empty | initial parent SA message received on 192.1.2.23:500 but no connection has been authorized with policy ECDSA+IKEV2_ALLOW | find_host_connection local=192.1.2.23:500 remote=192.1.2.45:500 policy=RSASIG+IKEV2_ALLOW but ignoring ports | find_host_pair: comparing 192.1.2.23:500 to 192.1.2.45:500 but ignoring ports | find_next_host_connection policy=RSASIG+IKEV2_ALLOW | found policy = RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO (westnet-eastnet-ikev2) | find_next_host_connection returns westnet-eastnet-ikev2 | find_next_host_connection policy=RSASIG+IKEV2_ALLOW | find_next_host_connection returns empty | found connection: westnet-eastnet-ikev2 with policy RSASIG+IKEV2_ALLOW | creating state object #11 at 0x559ecd5d5578 | State DB: adding IKEv2 state #11 in UNDEFINED | pstats #11 ikev2.ike started | Message ID: init #11: msgid=0 lastack=4294967295 nextuse=0 lastrecv=4294967295 lastreplied=0 | parent state #11: UNDEFINED(ignore) => PARENT_R0(half-open IKE SA) | Message ID: init_ike #11; ike: initiator.sent=0->-1 initiator.recv=0->-1 responder.sent=0->-1 responder.recv=0->-1 wip.initiator=0->-1 wip.responder=0->-1 | start processing: state #11 connection "westnet-eastnet-ikev2" from 192.1.2.45 (in ikev2_process_packet() at ikev2.c:2016) | State DB: IKEv2 state not found (find_v2_sa_by_responder_wip) | [RE]START processing: state #11 connection "westnet-eastnet-ikev2" from 192.1.2.45 (in ike_process_packet() at ikev2.c:2064) | #11 st.st_msgid_lastrecv -1 md.hdr.isa_msgid 00000000 | Message ID: #11 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=-1 responder.recv=-1 | Message ID: start-responder #11 request 0; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=-1 responder.recv=-1 wip.initiator=-1 wip.responder=-1->0 | #11 in state PARENT_R0: processing SA_INIT request | selected state microcode Respond to IKE_SA_INIT | Now let's proceed with state specific processing | calling processor Respond to IKE_SA_INIT | #11 updating local interface from 192.1.2.23:500 to 192.1.2.23:500 using md->iface (in update_ike_endpoints() at state.c:2669) | using existing local IKE proposals for connection westnet-eastnet-ikev2 (IKE SA responder matching remote proposals): 1:IKE:ENCR=AES_GCM_C_256;PRF=HMAC_SHA2_512,HMAC_SHA2_256;INTEG=NONE;DH=MODP2048,MODP3072,MODP4096,MODP8192,ECP_256,ECP_384,ECP_521,CURVE25519 2:IKE:ENCR=AES_GCM_C_128;PRF=HMAC_SHA2_512,HMAC_SHA2_256;INTEG=NONE;DH=MODP2048,MODP3072,MODP4096,MODP8192,ECP_256,ECP_384,ECP_521,CURVE25519 3:IKE:ENCR=AES_CBC_256;PRF=HMAC_SHA2_512,HMAC_SHA2_256;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=MODP2048,MODP3072,MODP4096,MODP8192,ECP_256,ECP_384,ECP_521,CURVE25519 4:IKE:ENCR=AES_CBC_128;PRF=HMAC_SHA2_512,HMAC_SHA2_256;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=MODP2048,MODP3072,MODP4096,MODP8192,ECP_256,ECP_384,ECP_521,CURVE25519 | Comparing remote proposals against IKE responder 4 local proposals | local proposal 1 type ENCR has 1 transforms | local proposal 1 type PRF has 2 transforms | local proposal 1 type INTEG has 1 transforms | local proposal 1 type DH has 8 transforms | local proposal 1 type ESN has 0 transforms | local proposal 1 transforms: required: ENCR+PRF+DH; optional: INTEG | local proposal 2 type ENCR has 1 transforms | local proposal 2 type PRF has 2 transforms | local proposal 2 type INTEG has 1 transforms | local proposal 2 type DH has 8 transforms | local proposal 2 type ESN has 0 transforms | local proposal 2 transforms: required: ENCR+PRF+DH; optional: INTEG | local proposal 3 type ENCR has 1 transforms | local proposal 3 type PRF has 2 transforms | local proposal 3 type INTEG has 2 transforms | local proposal 3 type DH has 8 transforms | local proposal 3 type ESN has 0 transforms | local proposal 3 transforms: required: ENCR+PRF+INTEG+DH; optional: none | local proposal 4 type ENCR has 1 transforms | local proposal 4 type PRF has 2 transforms | local proposal 4 type INTEG has 2 transforms | local proposal 4 type DH has 8 transforms | local proposal 4 type ESN has 0 transforms | local proposal 4 transforms: required: ENCR+PRF+INTEG+DH; optional: none | ****parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | length: 56 (0x38) | prop #: 1 (0x1) | proto ID: IKEv2_SEC_PROTO_IKE (0x1) | spi size: 0 (0x0) | # transforms: 5 (0x5) | Comparing remote proposal 1 containing 5 transforms against local proposal [1..4] of 4 local proposals | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 12 (0xc) | IKEv2 transform type: TRANS_TYPE_ENCR (0x1) | IKEv2 transform ID: AES_CBC (0xc) | ******parse IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 256 (0x100) | remote proposal 1 transform 0 (ENCR=AES_CBC_256) matches local proposal 3 type 1 (ENCR) transform 0 | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 12 (0xc) | 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 (0x80) | remote proposal 1 transform 1 (ENCR=AES_CBC_128) matches local proposal 4 type 1 (ENCR) transform 0 | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_PRF (0x2) | IKEv2 transform ID: PRF_HMAC_SHA2_256 (0x5) | remote proposal 1 transform 2 (PRF=HMAC_SHA2_256) matches local proposal 1 type 2 (PRF) transform 1 | remote proposal 1 transform 2 (PRF=HMAC_SHA2_256) matches local proposal 2 type 2 (PRF) transform 1 | remote proposal 1 transform 2 (PRF=HMAC_SHA2_256) matches local proposal 3 type 2 (PRF) transform 1 | remote proposal 1 transform 2 (PRF=HMAC_SHA2_256) matches local proposal 4 type 2 (PRF) transform 1 | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_INTEG (0x3) | IKEv2 transform ID: AUTH_HMAC_SHA2_256_128 (0xc) | remote proposal 1 transform 3 (INTEG=HMAC_SHA2_256_128) matches local proposal 3 type 3 (INTEG) transform 1 | remote proposal 1 transform 3 (INTEG=HMAC_SHA2_256_128) matches local proposal 4 type 3 (INTEG) transform 1 | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_LAST (0x0) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_ECP_384 (0x14) | remote proposal 1 transform 4 (DH=ECP_384) matches local proposal 1 type 4 (DH) transform 5 | remote proposal 1 transform 4 (DH=ECP_384) matches local proposal 2 type 4 (DH) transform 5 | remote proposal 1 transform 4 (DH=ECP_384) matches local proposal 3 type 4 (DH) transform 5 | remote proposal 1 transform 4 (DH=ECP_384) matches local proposal 4 type 4 (DH) transform 5 | 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+DH; optional: INTEG; matched: PRF+DH | remote proposal 1 does not match local proposal 1; unmatched transforms: ENCR+INTEG; missing transforms: ENCR | comparing remote proposal 1 containing ENCR+PRF+INTEG+DH transforms to local proposal 2; required: ENCR+PRF+DH; optional: INTEG; matched: PRF+DH | remote proposal 1 does not match local proposal 2; unmatched transforms: ENCR+INTEG; missing transforms: ENCR | comparing remote proposal 1 containing ENCR+PRF+INTEG+DH transforms to local proposal 3; required: ENCR+PRF+INTEG+DH; optional: none; matched: ENCR+PRF+INTEG+DH | remote proposal 1 matches local proposal 3 "westnet-eastnet-ikev2" #11: proposal 1:IKE:ENCR=AES_CBC_256;PRF=HMAC_SHA2_256;INTEG=HMAC_SHA2_256_128;DH=ECP_384 chosen from remote proposals 1:IKE:ENCR=AES_CBC_256;ENCR=AES_CBC_128;PRF=HMAC_SHA2_256;INTEG=HMAC_SHA2_256_128;DH=ECP_384[first-match] | accepted IKE proposal ikev2_proposal: 1:IKE:ENCR=AES_CBC_256;PRF=HMAC_SHA2_256;INTEG=HMAC_SHA2_256_128;DH=ECP_384 | converting proposal to internal trans attrs | natd_hash: rcookie is zero | natd_hash: hasher=0x559ecc52c800(20) | natd_hash: icookie= a3 60 23 03 61 9e 32 bf | natd_hash: rcookie= 00 00 00 00 00 00 00 00 | natd_hash: ip= c0 01 02 17 | natd_hash: port=500 | natd_hash: hash= 00 9d f2 fb f6 7f a6 eb a1 b9 0a bc 1e 29 59 51 | natd_hash: hash= 17 2c 6e 6e | natd_hash: rcookie is zero | natd_hash: hasher=0x559ecc52c800(20) | natd_hash: icookie= a3 60 23 03 61 9e 32 bf | natd_hash: rcookie= 00 00 00 00 00 00 00 00 | natd_hash: ip= c0 01 02 2d | natd_hash: port=500 | natd_hash: hash= b0 d8 91 52 18 a2 25 a8 3e 70 07 fe 34 73 16 b3 | natd_hash: hash= 32 00 70 3b | NAT_TRAVERSAL encaps using auto-detect | NAT_TRAVERSAL this end is NOT behind NAT | NAT_TRAVERSAL that end is NOT behind NAT | NAT_TRAVERSAL nat-keepalive enabled 192.1.2.45 | adding ikev2_inI1outR1 KE work-order 11 for state #11 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x559ecd5d3728 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #11 | libevent_malloc: new ptr-libevent@0x7f1aa0004218 size 128 | #11 spent 0.282 milliseconds in processing: Respond to IKE_SA_INIT in ikev2_process_state_packet() | [RE]START processing: state #11 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | crypto helper 3 resuming | #11 complete_v2_state_transition() PARENT_R0->PARENT_R1 with status STF_SUSPEND | suspending state #11 and saving MD | #11 is busy; has a suspended MD | crypto helper 3 starting work-order 11 for state #11 | [RE]START processing: state #11 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in log_stf_suspend() at ikev2.c:3269) | "westnet-eastnet-ikev2" #11 complete v2 state STATE_PARENT_R0 transition with STF_SUSPEND suspended from complete_v2_state_transition:3451 | crypto helper 3 doing build KE and nonce (ikev2_inI1outR1 KE); request ID 11 | stop processing: state #11 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2018) | #11 spent 0.601 milliseconds in ikev2_process_packet() | stop processing: from 192.1.2.45:500 (in process_md() at demux.c:380) | processing: STOP state #0 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.613 milliseconds in comm_handle_cb() reading and processing packet | crypto helper 3 finished build KE and nonce (ikev2_inI1outR1 KE); request ID 11 time elapsed 0.003316 seconds | (#11) spent 3.3 milliseconds in crypto helper computing work-order 11: ikev2_inI1outR1 KE (pcr) | crypto helper 3 sending results from work-order 11 for state #11 to event queue | scheduling resume sending helper answer for #11 | libevent_malloc: new ptr-libevent@0x7f1a94005a48 size 128 | crypto helper 3 waiting (nothing to do) | processing resume sending helper answer for #11 | start processing: state #11 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in resume_handler() at server.c:797) | crypto helper 3 replies to request ID 11 | calling continuation function 0x559ecc457b50 | ikev2_parent_inI1outR1_continue for #11: calculated ke+nonce, sending R1 | **emit ISAKMP Message: | initiator cookie: | a3 60 23 03 61 9e 32 bf | responder cookie: | 4f cb f2 cb 29 79 a7 5a | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_IKE_SA_INIT (0x22) | flags: ISAKMP_FLAG_v2_MSG_RESPONSE (0x20) | Message ID: 0 (0x0) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | Emitting ikev2_proposal ... | ***emit IKEv2 Security Association Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'ISAKMP Message'.'next payload type' to current IKEv2 Security Association Payload (33:ISAKMP_NEXT_v2SA) | next payload chain: saving location 'IKEv2 Security Association Payload'.'next payload type' in 'reply packet' | ****emit IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | prop #: 1 (0x1) | proto ID: IKEv2_SEC_PROTO_IKE (0x1) | spi size: 0 (0x0) | # transforms: 4 (0x4) | 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: 256 (0x100) | 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' 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' 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_ECP_384 (0x14) | last substructure: checking 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' 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_ECP_384 (0x14) | 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 96 raw bytes of ikev2 g^x into IKEv2 Key Exchange Payload | ikev2 g^x c4 e7 31 6f 41 01 cd fe 85 d8 7f 9c 2c 75 06 b1 | ikev2 g^x 10 82 bc 56 09 9a af 0c e3 d1 ee 36 c0 4a 5d 31 | ikev2 g^x 09 9e f4 ac 26 7e ca fe 05 05 6c d0 3d fe 33 d0 | ikev2 g^x fe f6 39 a6 6e c3 f0 c5 fd 0b fa 4d 20 35 3d c9 | ikev2 g^x 0a f7 38 15 a8 46 9a 68 60 f6 b0 44 ed 86 18 f0 | ikev2 g^x 92 7c 41 72 db 99 3b c9 9f e5 cc 29 ac fb 8e bb | emitting length of IKEv2 Key Exchange Payload: 104 | ***emit IKEv2 Nonce Payload: | next payload type: ISAKMP_NEXT_v2N (0x29) | flags: none (0x0) | next payload chain: ignoring supplied 'IKEv2 Nonce Payload'.'next payload type' value 41:ISAKMP_NEXT_v2N | 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 60 2d 02 37 ef 6a d9 7f 8e 45 52 78 44 8a 1f ae | IKEv2 nonce 1f 85 41 72 30 20 66 d7 be bd d0 2f 0e 90 4d 9c | 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: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | Notify Message Type: v2N_IKEV2_FRAGMENTATION_SUPPORTED (0x402e) | next payload chain: setting previous 'IKEv2 Nonce Payload'.'next payload type' to current IKEv2 Notify Payload (41:ISAKMP_NEXT_v2N) | next payload chain: saving location 'IKEv2 Notify Payload'.'next payload type' in 'reply packet' | emitting length of IKEv2 Notify Payload: 8 | NAT-Traversal support [enabled] add v2N payloads. | natd_hash: hasher=0x559ecc52c800(20) | natd_hash: icookie= a3 60 23 03 61 9e 32 bf | natd_hash: rcookie= 4f cb f2 cb 29 79 a7 5a | natd_hash: ip= c0 01 02 17 | natd_hash: port=500 | natd_hash: hash= 0f fb db 2d 90 9a 18 ba ad 4c 15 b7 38 9c 34 bf | natd_hash: hash= 21 b1 df 7a | Adding a v2N Payload | ***emit IKEv2 Notify Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | 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 0f fb db 2d 90 9a 18 ba ad 4c 15 b7 38 9c 34 bf | Notify data 21 b1 df 7a | emitting length of IKEv2 Notify Payload: 28 | natd_hash: hasher=0x559ecc52c800(20) | natd_hash: icookie= a3 60 23 03 61 9e 32 bf | natd_hash: rcookie= 4f cb f2 cb 29 79 a7 5a | natd_hash: ip= c0 01 02 2d | natd_hash: port=500 | natd_hash: hash= 8d 3c 4a 81 ab 43 f0 a1 e3 7b 0f 2f 14 12 97 1c | natd_hash: hash= 6d 6a 1f b8 | Adding a v2N Payload | ***emit IKEv2 Notify Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | 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 8d 3c 4a 81 ab 43 f0 a1 e3 7b 0f 2f 14 12 97 1c | Notify data 6d 6a 1f b8 | emitting length of IKEv2 Notify Payload: 28 | emitting length of ISAKMP Message: 280 | [RE]START processing: state #11 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #11 complete_v2_state_transition() PARENT_R0->PARENT_R1 with status STF_OK | IKEv2: transition from state STATE_PARENT_R0 to state STATE_PARENT_R1 | parent state #11: PARENT_R0(half-open IKE SA) => PARENT_R1(half-open IKE SA) | Message ID: updating counters for #11 to 0 after switching state | Message ID: recv #11 request 0; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=-1 responder.recv=-1->0 wip.initiator=-1 wip.responder=0->-1 | Message ID: sent #11 response 0; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=-1->0 responder.recv=0 wip.initiator=-1 wip.responder=-1 "westnet-eastnet-ikev2" #11: STATE_PARENT_R1: received v2I1, sent v2R1 {auth=IKEv2 cipher=AES_CBC_256 integ=HMAC_SHA2_256_128 prf=HMAC_SHA2_256 group=DH20} | sending V2 new request packet to 192.1.2.45:500 (from 192.1.2.23:500) | sending 280 bytes for STATE_PARENT_R0 through eth1 from 192.1.2.23:500 to 192.1.2.45:500 (using #11) | a3 60 23 03 61 9e 32 bf 4f cb f2 cb 29 79 a7 5a | 21 20 22 20 00 00 00 00 00 00 01 18 22 00 00 30 | 00 00 00 2c 01 01 00 04 03 00 00 0c 01 00 00 0c | 80 0e 01 00 03 00 00 08 02 00 00 05 03 00 00 08 | 03 00 00 0c 00 00 00 08 04 00 00 14 28 00 00 68 | 00 14 00 00 c4 e7 31 6f 41 01 cd fe 85 d8 7f 9c | 2c 75 06 b1 10 82 bc 56 09 9a af 0c e3 d1 ee 36 | c0 4a 5d 31 09 9e f4 ac 26 7e ca fe 05 05 6c d0 | 3d fe 33 d0 fe f6 39 a6 6e c3 f0 c5 fd 0b fa 4d | 20 35 3d c9 0a f7 38 15 a8 46 9a 68 60 f6 b0 44 | ed 86 18 f0 92 7c 41 72 db 99 3b c9 9f e5 cc 29 | ac fb 8e bb 29 00 00 24 60 2d 02 37 ef 6a d9 7f | 8e 45 52 78 44 8a 1f ae 1f 85 41 72 30 20 66 d7 | be bd d0 2f 0e 90 4d 9c 29 00 00 08 00 00 40 2e | 29 00 00 1c 00 00 40 04 0f fb db 2d 90 9a 18 ba | ad 4c 15 b7 38 9c 34 bf 21 b1 df 7a 00 00 00 1c | 00 00 40 05 8d 3c 4a 81 ab 43 f0 a1 e3 7b 0f 2f | 14 12 97 1c 6d 6a 1f b8 | state #11 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x7f1aa0004218 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x559ecd5d3728 | event_schedule: new EVENT_SO_DISCARD-pe@0x559ecd5d3728 | inserting event EVENT_SO_DISCARD, timeout in 200 seconds for #11 | libevent_malloc: new ptr-libevent@0x559ecd5d8978 size 128 | resume sending helper answer for #11 suppresed complete_v2_state_transition() | #11 spent 0.408 milliseconds in resume sending helper answer | stop processing: state #11 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in resume_handler() at server.c:833) | libevent_free: release ptr-libevent@0x7f1a94005a48 | spent 0.00303 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 480 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | a3 60 23 03 61 9e 32 bf 4f cb f2 cb 29 79 a7 5a | 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | ca 7a 0c 0a ba 37 64 b7 94 ee f2 21 9e 12 c7 03 | 7e e3 9e 36 72 c8 89 1f b0 c1 b7 de f4 f5 ad 6a | 30 26 8e 8b 10 67 35 fa 0c e1 99 a2 64 a7 94 68 | b0 79 d5 b5 e8 f6 73 0c f2 f4 9b 97 24 53 81 55 | b0 81 89 16 90 2d c6 c6 a7 0b 04 aa c3 70 fa 14 | 6c f5 29 6b b1 a3 1a 97 e0 6a 1e c1 b5 90 15 bd | 9b 2b e7 f7 96 92 ef 0a b2 c0 0b 50 d9 c9 93 4c | 16 6e a7 25 43 14 b5 b4 a5 a7 86 29 e8 3e 6f a3 | 35 5f 08 ef 48 41 4a 36 65 40 e3 2b 42 34 84 1c | 4b a4 76 97 6b db ff 25 9f e6 c6 72 23 b0 b9 d7 | 54 d6 8f a8 de 82 18 0b 22 34 98 2f 73 09 8a 08 | c1 ed a4 26 8c 56 e5 0a 94 fd 08 24 a4 ba ff 17 | d9 8a 0a 5c b8 4d 3b ef 97 e4 9a e7 bb b8 2d 18 | b8 a3 f6 6d 54 c0 72 73 c7 aa ac f8 78 9a 87 f0 | 8b 32 be 3a 34 df 5b 68 f4 fe 3c 24 64 9d 5f 1f | d5 e2 a0 ac cb 30 f4 57 7b 4f 48 82 63 54 e8 bd | 41 3d 52 ac e3 d5 27 cb cb ea c2 ec a7 65 50 7c | 68 88 bd d2 f4 70 a8 1b 45 4f 3c 6a 65 0c 27 6f | a6 c5 12 f1 05 2b 36 ec 02 a4 82 60 e9 49 06 cb | 1a 6a cc e2 34 12 cc f4 de cc 25 9c 40 ff db cc | c0 78 4e 2a 7b 15 d1 dc 72 fd f5 dd d2 67 ce e3 | 0b 0a e7 ac 56 af 19 fe 45 69 89 18 ba 68 5e 16 | 36 c6 5f f4 4f 83 ad 11 3b 6d fc b1 c2 05 df 85 | ee 79 ba 52 22 64 df 0a 3b 62 9c ea 3d 39 0a b3 | 3b cb 6d 6d ae 40 64 fb d0 cd 8c de a7 d5 b1 9f | f5 2f 2c 8a 55 ab 67 01 6c 76 7c ba ff c8 24 1a | 13 d5 f2 e2 0b 1e 9f c0 11 88 96 1b cd 3f e1 ab | ef 90 f1 61 ce 66 2f f5 fd 0b 10 d2 9a 71 c5 aa | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | a3 60 23 03 61 9e 32 bf | responder cookie: | 4f cb f2 cb 29 79 a7 5a | next payload type: ISAKMP_NEXT_v2SK (0x2e) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_IKE_AUTH (0x23) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 1 (0x1) | length: 480 (0x1e0) | processing version=2.0 packet with exchange type=ISAKMP_v2_IKE_AUTH (35) | I am the IKE SA Original Responder receiving an IKEv2 IKE_AUTH request | State DB: found IKEv2 state #11 in PARENT_R1 (find_v2_ike_sa) | start processing: state #11 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2016) | State DB: IKEv2 state not found (find_v2_sa_by_responder_wip) | [RE]START processing: state #11 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ike_process_packet() at ikev2.c:2064) | #11 st.st_msgid_lastrecv 0 md.hdr.isa_msgid 00000001 | Message ID: #11 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0 | unpacking clear payload | Now let's proceed with payload (ISAKMP_NEXT_v2SK) | ***parse IKEv2 Encryption Payload: | next payload type: ISAKMP_NEXT_v2IDi (0x23) | flags: none (0x0) | length: 452 (0x1c4) | processing payload: ISAKMP_NEXT_v2SK (len=448) | Message ID: start-responder #11 request 1; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0 wip.initiator=-1 wip.responder=-1->1 | #11 in state PARENT_R1: received v2I1, sent v2R1 | selected state microcode Responder: process IKE_AUTH request (no SKEYSEED) | Now let's proceed with state specific processing | calling processor Responder: process IKE_AUTH request (no SKEYSEED) | ikev2 parent inI2outR2: calculating g^{xy} in order to decrypt I2 | offloading IKEv2 SKEYSEED using prf=HMAC_SHA2_256 integ=HMAC_SHA2_256_128 cipherkey=AES_CBC | adding ikev2_inI2outR2 KE work-order 12 for state #11 | state #11 requesting EVENT_SO_DISCARD to be deleted | libevent_free: release ptr-libevent@0x559ecd5d8978 | free_event_entry: release EVENT_SO_DISCARD-pe@0x559ecd5d3728 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x559ecd5d3728 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #11 | libevent_malloc: new ptr-libevent@0x7f1a94005a48 size 128 | #11 spent 0.0228 milliseconds in processing: Responder: process IKE_AUTH request (no SKEYSEED) in ikev2_process_state_packet() | crypto helper 4 resuming | crypto helper 4 starting work-order 12 for state #11 | [RE]START processing: state #11 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | crypto helper 4 doing compute dh (V2) (ikev2_inI2outR2 KE); request ID 12 | #11 complete_v2_state_transition() PARENT_R1->PARENT_R1 with status STF_SUSPEND | suspending state #11 and saving MD | #11 is busy; has a suspended MD | [RE]START processing: state #11 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in log_stf_suspend() at ikev2.c:3269) | "westnet-eastnet-ikev2" #11 complete v2 state STATE_PARENT_R1 transition with STF_SUSPEND suspended from complete_v2_state_transition:3451 | stop processing: state #11 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2018) | #11 spent 0.169 milliseconds in ikev2_process_packet() | stop processing: from 192.1.2.45:500 (in process_md() at demux.c:380) | processing: STOP state #0 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.18 milliseconds in comm_handle_cb() reading and processing packet | calculating skeyseed using prf=sha2_256 integ=sha2_256 cipherkey-size=32 salt-size=0 | crypto helper 4 finished compute dh (V2) (ikev2_inI2outR2 KE); request ID 12 time elapsed 0.003679 seconds | (#11) spent 3.64 milliseconds in crypto helper computing work-order 12: ikev2_inI2outR2 KE (pcr) | crypto helper 4 sending results from work-order 12 for state #11 to event queue | scheduling resume sending helper answer for #11 | libevent_malloc: new ptr-libevent@0x7f1a980033f8 size 128 | crypto helper 4 waiting (nothing to do) | processing resume sending helper answer for #11 | start processing: state #11 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in resume_handler() at server.c:797) | crypto helper 4 replies to request ID 12 | calling continuation function 0x559ecc457b50 | ikev2_parent_inI2outR2_continue for #11: calculating g^{xy}, sending R2 | #11 in state PARENT_R1: received v2I1, sent v2R1 | data for hmac: a3 60 23 03 61 9e 32 bf 4f cb f2 cb 29 79 a7 5a | data for hmac: 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | data for hmac: ca 7a 0c 0a ba 37 64 b7 94 ee f2 21 9e 12 c7 03 | data for hmac: 7e e3 9e 36 72 c8 89 1f b0 c1 b7 de f4 f5 ad 6a | data for hmac: 30 26 8e 8b 10 67 35 fa 0c e1 99 a2 64 a7 94 68 | data for hmac: b0 79 d5 b5 e8 f6 73 0c f2 f4 9b 97 24 53 81 55 | data for hmac: b0 81 89 16 90 2d c6 c6 a7 0b 04 aa c3 70 fa 14 | data for hmac: 6c f5 29 6b b1 a3 1a 97 e0 6a 1e c1 b5 90 15 bd | data for hmac: 9b 2b e7 f7 96 92 ef 0a b2 c0 0b 50 d9 c9 93 4c | data for hmac: 16 6e a7 25 43 14 b5 b4 a5 a7 86 29 e8 3e 6f a3 | data for hmac: 35 5f 08 ef 48 41 4a 36 65 40 e3 2b 42 34 84 1c | data for hmac: 4b a4 76 97 6b db ff 25 9f e6 c6 72 23 b0 b9 d7 | data for hmac: 54 d6 8f a8 de 82 18 0b 22 34 98 2f 73 09 8a 08 | data for hmac: c1 ed a4 26 8c 56 e5 0a 94 fd 08 24 a4 ba ff 17 | data for hmac: d9 8a 0a 5c b8 4d 3b ef 97 e4 9a e7 bb b8 2d 18 | data for hmac: b8 a3 f6 6d 54 c0 72 73 c7 aa ac f8 78 9a 87 f0 | data for hmac: 8b 32 be 3a 34 df 5b 68 f4 fe 3c 24 64 9d 5f 1f | data for hmac: d5 e2 a0 ac cb 30 f4 57 7b 4f 48 82 63 54 e8 bd | data for hmac: 41 3d 52 ac e3 d5 27 cb cb ea c2 ec a7 65 50 7c | data for hmac: 68 88 bd d2 f4 70 a8 1b 45 4f 3c 6a 65 0c 27 6f | data for hmac: a6 c5 12 f1 05 2b 36 ec 02 a4 82 60 e9 49 06 cb | data for hmac: 1a 6a cc e2 34 12 cc f4 de cc 25 9c 40 ff db cc | data for hmac: c0 78 4e 2a 7b 15 d1 dc 72 fd f5 dd d2 67 ce e3 | data for hmac: 0b 0a e7 ac 56 af 19 fe 45 69 89 18 ba 68 5e 16 | data for hmac: 36 c6 5f f4 4f 83 ad 11 3b 6d fc b1 c2 05 df 85 | data for hmac: ee 79 ba 52 22 64 df 0a 3b 62 9c ea 3d 39 0a b3 | data for hmac: 3b cb 6d 6d ae 40 64 fb d0 cd 8c de a7 d5 b1 9f | data for hmac: f5 2f 2c 8a 55 ab 67 01 6c 76 7c ba ff c8 24 1a | data for hmac: 13 d5 f2 e2 0b 1e 9f c0 11 88 96 1b cd 3f e1 ab | calculated auth: ef 90 f1 61 ce 66 2f f5 fd 0b 10 d2 9a 71 c5 aa | provided auth: ef 90 f1 61 ce 66 2f f5 fd 0b 10 d2 9a 71 c5 aa | authenticator matched | #11 ikev2 ISAKMP_v2_IKE_AUTH decrypt success | Now let's proceed with payload (ISAKMP_NEXT_v2IDi) | **parse IKEv2 Identification - Initiator - Payload: | next payload type: ISAKMP_NEXT_v2IDr (0x24) | flags: none (0x0) | length: 12 (0xc) | ID type: ID_FQDN (0x2) | processing payload: ISAKMP_NEXT_v2IDi (len=4) | Now let's proceed with payload (ISAKMP_NEXT_v2IDr) | **parse IKEv2 Identification - Responder - Payload: | next payload type: ISAKMP_NEXT_v2AUTH (0x27) | flags: none (0x0) | length: 12 (0xc) | ID type: ID_FQDN (0x2) | 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: 282 (0x11a) | auth method: IKEv2_AUTH_RSA (0x1) | processing payload: ISAKMP_NEXT_v2AUTH (len=274) | 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: 56 (0x38) | processing payload: ISAKMP_NEXT_v2SA (len=52) | 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 (0x18) | number of TS: 1 (0x1) | 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 (0x18) | number of TS: 1 (0x1) | processing payload: ISAKMP_NEXT_v2TSr (len=16) | selected state microcode Responder: process IKE_AUTH request | Now let's proceed with state specific processing | calling processor Responder: process IKE_AUTH request "westnet-eastnet-ikev2" #11: processing decrypted IKE_AUTH request: SK{IDi,IDr,AUTH,SA,TSi,TSr} | #11 updating local interface from 192.1.2.23:500 to 192.1.2.23:500 using md->iface (in update_ike_endpoints() at state.c:2669) | received IDr payload - extracting our alleged ID | refine_host_connection for IKEv2: starting with "westnet-eastnet-ikev2" | match_id a=@west | b=@west | results matched | refine_host_connection: checking "westnet-eastnet-ikev2" against "westnet-eastnet-ikev2", best=(none) with match=1(id=1(0)/ca=1(0)/reqca=1(0)) | Warning: not switching back to template of current instance | Peer expects us to be @east (ID_FQDN) according to its IDr payload | This connection's local id is @east (ID_FQDN) | refine_host_connection: checked westnet-eastnet-ikev2 against westnet-eastnet-ikev2, now for see if best | started looking for secret for @east->@west of kind PKK_RSA | actually looking for secret for @east->@west of kind PKK_RSA | line 1: key type PKK_RSA(@east) to type PKK_RSA | 1: compared key (none) to @east / @west -> 002 | 2: compared key (none) to @east / @west -> 002 | line 1: match=002 | match 002 beats previous best_match 000 match=0x559ecd52ab58 (line=1) | concluding with best_match=002 best=0x559ecd52ab58 (lineno=1) | returning because exact peer id match | offered CA: '%none' "westnet-eastnet-ikev2" #11: IKEv2 mode peer ID is ID_FQDN: '@west' | verifying AUTH payload | required RSA CA is '%any' | checking RSA keyid '@east' for match with '@west' | checking RSA keyid '@west' for match with '@west' | key issuer CA is '%any' | an RSA Sig check passed with *AQOm9dY/4 [preloaded key] | #11 spent 0.0579 milliseconds in try_all_RSA_keys() trying a pubkey "westnet-eastnet-ikev2" #11: Authenticated using RSA | #11 spent 0.0831 milliseconds in ikev2_verify_rsa_hash() | parent state #11: PARENT_R1(half-open IKE SA) => PARENT_R2(established IKE SA) | #11 will start re-keying in 3330 seconds with margin of 270 seconds (attempting re-key) | state #11 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x7f1a94005a48 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x559ecd5d3728 | event_schedule: new EVENT_SA_REKEY-pe@0x559ecd5d3728 | inserting event EVENT_SA_REKEY, timeout in 3330 seconds for #11 | libevent_malloc: new ptr-libevent@0x559ecd5d3aa8 size 128 | pstats #11 ikev2.ike established | **emit ISAKMP Message: | initiator cookie: | a3 60 23 03 61 9e 32 bf | responder cookie: | 4f cb f2 cb 29 79 a7 5a | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_IKE_AUTH (0x23) | flags: ISAKMP_FLAG_v2_MSG_RESPONSE (0x20) | Message ID: 1 (0x1) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | IKEv2 CERT: send a certificate? | IKEv2 CERT: no certificate to send | ***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 | Initiator child policy is compress=no, NOT sending v2N_IPCOMP_SUPPORTED | ****emit IKEv2 Identification - Responder - Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | ID type: ID_FQDN (0x2) | next payload chain: setting previous 'IKEv2 Encryption Payload'.'next payload type' to current IKEv2 Identification - Responder - Payload (36:ISAKMP_NEXT_v2IDr) | next payload chain: saving location 'IKEv2 Identification - Responder - Payload'.'next payload type' in 'reply packet' | emitting 4 raw bytes of my identity into IKEv2 Identification - Responder - Payload | my identity 65 61 73 74 | emitting length of IKEv2 Identification - Responder - Payload: 12 | assembled IDr payload | CHILD SA proposals received | going to assemble AUTH payload | ****emit IKEv2 Authentication Payload: | next payload type: ISAKMP_NEXT_v2SA (0x21) | flags: none (0x0) | auth method: IKEv2_AUTH_RSA (0x1) | next payload chain: ignoring supplied 'IKEv2 Authentication Payload'.'next payload type' value 33:ISAKMP_NEXT_v2SA | 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' | started looking for secret for @east->@west of kind PKK_RSA | actually looking for secret for @east->@west of kind PKK_RSA | line 1: key type PKK_RSA(@east) to type PKK_RSA | 1: compared key (none) to @east / @west -> 002 | 2: compared key (none) to @east / @west -> 002 | line 1: match=002 | match 002 beats previous best_match 000 match=0x559ecd52ab58 (line=1) | concluding with best_match=002 best=0x559ecd52ab58 (lineno=1) | #11 spent 4.66 milliseconds in ikev2_calculate_rsa_hash() calling sign_hash_RSA() | emitting 274 raw bytes of rsa signature into IKEv2 Authentication Payload | rsa signature 09 8a 03 ca fb d1 5a ae 00 b8 29 1d f5 70 6b 08 | rsa signature 9c 2a 76 af b8 04 e6 e4 75 77 fd 6d 16 d6 3e c3 | rsa signature f1 dc dc 56 00 f5 75 14 e3 76 28 15 95 69 67 74 | rsa signature 88 9d 37 e9 25 03 c0 7e bb d9 05 78 7f 27 7b 02 | rsa signature 48 8e c9 e6 b0 46 3b 42 a9 c0 7d 13 e1 45 98 ee | rsa signature 87 1f 9b 58 b0 5d 14 52 4f 59 bc 91 6a 43 57 b7 | rsa signature 90 07 97 ed b3 3b e9 a6 10 2e b4 4a a8 91 f9 98 | rsa signature 44 4e 17 cc dc ca e2 6b a7 d1 58 8b 1b dd e6 6e | rsa signature ba 03 52 2a b3 d8 c1 0d 1b 2a 20 9f c1 85 bb 36 | rsa signature 18 bc 2f da 39 f8 37 94 a0 60 bd fa 05 ea d9 25 | rsa signature 3f ca c0 24 a4 83 b7 08 89 7a 15 e7 38 68 19 94 | rsa signature 41 3d 4e d5 6d 3e 1d 2c a1 b3 3c 80 7b b8 c6 36 | rsa signature d9 0e a2 87 7f 53 75 f1 4b f1 ed ce 2f 93 da 5d | rsa signature 26 77 f1 da ed 8d f0 f6 df 78 f7 14 4a c5 d7 93 | rsa signature be 17 9e eb e5 72 48 01 bf 67 91 62 c7 76 11 9b | rsa signature 3f cb 39 06 4f e4 d3 cd 1c cd 63 82 17 8d 6c b9 | rsa signature 6f 7a ed c6 76 06 bf 1d 36 5b 1d 2f c9 52 a0 17 | rsa signature 42 0d | #11 spent 4.73 milliseconds in ikev2_calculate_rsa_hash() | emitting length of IKEv2 Authentication Payload: 282 | creating state object #12 at 0x559ecd5e71c8 | State DB: adding IKEv2 state #12 in UNDEFINED | pstats #12 ikev2.child started | duplicating state object #11 "westnet-eastnet-ikev2" as #12 for IPSEC SA | #12 setting local endpoint to 192.1.2.23:500 from #11.st_localport (in duplicate_state() at state.c:1484) | Message ID: init_child #11.#12; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0; child: wip.initiator=0->-1 wip.responder=0->-1 | Message ID: switch-from #11 request 1; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0 wip.initiator=-1 wip.responder=1->-1 | Message ID: switch-to #11.#12 request 1; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0; child: wip.initiator=-1 wip.responder=-1->1 | Child SA TS Request has ike->sa == md->st; so using parent connection | TSi: parsing 1 traffic selectors | ***parse IKEv2 Traffic Selector: | TS type: IKEv2_TS_IPV4_ADDR_RANGE (0x7) | IP Protocol ID: 0 (0x0) | length: 16 (0x10) | start port: 0 (0x0) | end port: 65535 (0xffff) | 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: 0 (0x0) | length: 16 (0x10) | start port: 0 (0x0) | end port: 65535 (0xffff) | parsing 4 raw bytes of IKEv2 Traffic Selector into TS low | TS low c0 00 02 00 | parsing 4 raw bytes of IKEv2 Traffic Selector into TS high | TS high c0 00 02 ff | TSr: parsed 1 traffic selectors | looking for best SPD in current connection | evaluating our conn="westnet-eastnet-ikev2" I=192.0.1.0/24:0/0 R=192.0.2.0/24:0/0 to their: | TSi[0] .net=192.0.1.0-192.0.1.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.1.0/24 == TSi[0]net=192.0.1.0-192.0.1.255: YES fitness 32 | narrow port end=0..65535 == TSi[0]=0..65535: 0 | TSi[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSi[0]=*0: 0 | match end->protocol=*0 == TSi[0].ipprotoid=*0: YES fitness 255 | TSr[0] .net=192.0.2.0-192.0.2.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.2.0/24 == TSr[0]net=192.0.2.0-192.0.2.255: YES fitness 32 | narrow port end=0..65535 == TSr[0]=0..65535: 0 | TSr[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSr[0]=*0: 0 | match end->protocol=*0 == TSr[0].ipprotoid=*0: YES fitness 255 | best fit so far: TSi[0] TSr[0] | found better spd route for TSi[0],TSr[0] | looking for better host pair | find_host_pair: comparing 192.1.2.23:500 to 192.1.2.45:500 but ignoring ports | checking hostpair 192.0.2.0/24 -> 192.0.1.0/24 is found | investigating connection "westnet-eastnet-ikev2" as a better match | match_id a=@west | b=@west | results matched | evaluating our conn="westnet-eastnet-ikev2" I=192.0.1.0/24:0/0 R=192.0.2.0/24:0/0 to their: | TSi[0] .net=192.0.1.0-192.0.1.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.1.0/24 == TSi[0]net=192.0.1.0-192.0.1.255: YES fitness 32 | narrow port end=0..65535 == TSi[0]=0..65535: 0 | TSi[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSi[0]=*0: 0 | match end->protocol=*0 == TSi[0].ipprotoid=*0: YES fitness 255 | TSr[0] .net=192.0.2.0-192.0.2.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.2.0/24 == TSr[0]net=192.0.2.0-192.0.2.255: YES fitness 32 | narrow port end=0..65535 == TSr[0]=0..65535: 0 | TSr[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSr[0]=*0: 0 | match end->protocol=*0 == TSr[0].ipprotoid=*0: YES fitness 255 | best fit so far: TSi[0] TSr[0] | did not find a better connection using host pair | printing contents struct traffic_selector | ts_type: IKEv2_TS_IPV4_ADDR_RANGE | ipprotoid: 0 | port range: 0-65535 | ip range: 192.0.2.0-192.0.2.255 | printing contents struct traffic_selector | ts_type: IKEv2_TS_IPV4_ADDR_RANGE | ipprotoid: 0 | port range: 0-65535 | ip range: 192.0.1.0-192.0.1.255 | using existing local ESP/AH proposals for westnet-eastnet-ikev2 (IKE_AUTH responder matching remote ESP/AH proposals): 1:ESP:ENCR=AES_GCM_C_256;INTEG=NONE;DH=NONE;ESN=DISABLED 2:ESP:ENCR=AES_GCM_C_128;INTEG=NONE;DH=NONE;ESN=DISABLED 3:ESP:ENCR=AES_CBC_256;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=NONE;ESN=DISABLED 4:ESP:ENCR=AES_CBC_128;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=NONE;ESN=DISABLED | Comparing remote proposals against IKE_AUTH responder matching remote ESP/AH proposals 4 local proposals | local proposal 1 type ENCR has 1 transforms | local proposal 1 type PRF has 0 transforms | local proposal 1 type INTEG has 1 transforms | local proposal 1 type DH has 1 transforms | local proposal 1 type ESN has 1 transforms | local proposal 1 transforms: required: ENCR+ESN; optional: INTEG+DH | local proposal 2 type ENCR has 1 transforms | local proposal 2 type PRF has 0 transforms | local proposal 2 type INTEG has 1 transforms | local proposal 2 type DH has 1 transforms | local proposal 2 type ESN has 1 transforms | local proposal 2 transforms: required: ENCR+ESN; optional: INTEG+DH | local proposal 3 type ENCR has 1 transforms | local proposal 3 type PRF has 0 transforms | local proposal 3 type INTEG has 2 transforms | local proposal 3 type DH has 1 transforms | local proposal 3 type ESN has 1 transforms | local proposal 3 transforms: required: ENCR+INTEG+ESN; optional: DH | local proposal 4 type ENCR has 1 transforms | local proposal 4 type PRF has 0 transforms | local proposal 4 type INTEG has 2 transforms | local proposal 4 type DH has 1 transforms | local proposal 4 type ESN has 1 transforms | local proposal 4 transforms: required: ENCR+INTEG+ESN; optional: DH | ***parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | length: 52 (0x34) | prop #: 1 (0x1) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (0x4) | # transforms: 4 (0x4) | parsing 4 raw bytes of IKEv2 Proposal Substructure Payload into remote SPI | remote SPI 5f 5f 58 21 | Comparing remote proposal 1 containing 4 transforms against local proposal [1..4] of 4 local proposals | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 12 (0xc) | 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 (0x80) | remote proposal 1 transform 0 (ENCR=AES_CBC_128) matches local proposal 4 type 1 (ENCR) transform 0 | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 12 (0xc) | IKEv2 transform type: TRANS_TYPE_ENCR (0x1) | IKEv2 transform ID: AES_CBC (0xc) | *****parse IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 256 (0x100) | remote proposal 1 transform 1 (ENCR=AES_CBC_256) matches local proposal 3 type 1 (ENCR) transform 0 | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | 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 3 type 3 (INTEG) transform 1 | remote proposal 1 transform 2 (INTEG=HMAC_SHA2_256_128) matches local proposal 4 type 3 (INTEG) transform 1 | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_LAST (0x0) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_ESN (0x5) | IKEv2 transform ID: ESN_DISABLED (0x0) | remote proposal 1 transform 3 (ESN=DISABLED) matches local proposal 1 type 5 (ESN) transform 0 | remote proposal 1 transform 3 (ESN=DISABLED) matches local proposal 2 type 5 (ESN) transform 0 | remote proposal 1 transform 3 (ESN=DISABLED) matches local proposal 3 type 5 (ESN) transform 0 | remote proposal 1 transform 3 (ESN=DISABLED) matches local proposal 4 type 5 (ESN) transform 0 | remote proposal 1 proposed transforms: ENCR+INTEG+ESN; matched: ENCR+INTEG+ESN; unmatched: none | comparing remote proposal 1 containing ENCR+INTEG+ESN transforms to local proposal 1; required: ENCR+ESN; optional: INTEG+DH; matched: ESN | remote proposal 1 does not match local proposal 1; unmatched transforms: ENCR+INTEG; missing transforms: ENCR | comparing remote proposal 1 containing ENCR+INTEG+ESN transforms to local proposal 2; required: ENCR+ESN; optional: INTEG+DH; matched: ESN | remote proposal 1 does not match local proposal 2; unmatched transforms: ENCR+INTEG; missing transforms: ENCR | comparing remote proposal 1 containing ENCR+INTEG+ESN transforms to local proposal 3; required: ENCR+INTEG+ESN; optional: DH; matched: ENCR+INTEG+ESN | remote proposal 1 matches local proposal 3 "westnet-eastnet-ikev2" #11: proposal 1:ESP:SPI=5f5f5821;ENCR=AES_CBC_256;INTEG=HMAC_SHA2_256_128;ESN=DISABLED chosen from remote proposals 1:ESP:ENCR=AES_CBC_128;ENCR=AES_CBC_256;INTEG=HMAC_SHA2_256_128;ESN=DISABLED[first-match] | IKE_AUTH responder matching remote ESP/AH proposals ikev2_proposal: 1:ESP:SPI=5f5f5821;ENCR=AES_CBC_256;INTEG=HMAC_SHA2_256_128;ESN=DISABLED | converting proposal to internal trans attrs | netlink_get_spi: allocated 0xb2afdb02 for esp.0@192.1.2.23 | Emitting ikev2_proposal ... | ****emit IKEv2 Security Association Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'IKEv2 Authentication Payload'.'next payload type' to current IKEv2 Security Association Payload (33:ISAKMP_NEXT_v2SA) | next payload chain: saving location 'IKEv2 Security Association Payload'.'next payload type' in 'reply packet' | *****emit IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | prop #: 1 (0x1) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (0x4) | # transforms: 3 (0x3) | 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 b2 af db 02 | ******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 (0x100) | 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_256_128 (0xc) | last substructure: checking 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' 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' 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 | emitting length of IKEv2 Security Association Payload: 44 | 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 (0x1) | 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: 0 (0x0) | start port: 0 (0x0) | end port: 65535 (0xffff) | emitting 4 raw bytes of ipv4 start into IKEv2 Traffic Selector | ipv4 start c0 00 01 00 | emitting 4 raw bytes of ipv4 end into IKEv2 Traffic Selector | ipv4 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 (0x1) | 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: 0 (0x0) | start port: 0 (0x0) | end port: 65535 (0xffff) | emitting 4 raw bytes of ipv4 start into IKEv2 Traffic Selector | ipv4 start c0 00 02 00 | emitting 4 raw bytes of ipv4 end into IKEv2 Traffic Selector | ipv4 end c0 00 02 ff | emitting length of IKEv2 Traffic Selector: 16 | emitting length of IKEv2 Traffic Selector - Responder - Payload: 24 | Initiator child policy is compress=no, NOT sending v2N_IPCOMP_SUPPORTED | integ=sha2_256: .key_size=32 encrypt=aes: .key_size=32 .salt_size=0 keymat_len=64 | FOR_EACH_CONNECTION_... in ISAKMP_SA_established | install_ipsec_sa() for #12: inbound and outbound | could_route called for westnet-eastnet-ikev2 (kind=CK_PERMANENT) | 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" prospective erouted: self; eroute owner: self | looking for alg with encrypt: AES_CBC keylen: 256 integ: HMAC_SHA2_256_128 | encrypt AES_CBC keylen=256 transid=12, key_size=32, encryptalg=12 | st->st_esp.keymat_len=64 is encrypt_keymat_size=32 + integ_keymat_size=32 | 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 | 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.5f5f5821@192.1.2.45 included non-error error | set up outgoing SA, ref=0/0 | looking for alg with encrypt: AES_CBC keylen: 256 integ: HMAC_SHA2_256_128 | encrypt AES_CBC keylen=256 transid=12, key_size=32, encryptalg=12 | st->st_esp.keymat_len=64 is encrypt_keymat_size=32 + integ_keymat_size=32 | 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 | 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.b2afdb02@192.1.2.23 included non-error error | priority calculation of connection "westnet-eastnet-ikev2" is 0xfe7e7 | add inbound eroute 192.0.1.0/24:0 --0-> 192.0.2.0/24:0 => tun.10000@192.1.2.23 (raw_eroute) | IPsec Sa SPD priority set to 1042407 | raw_eroute result=success | set up incoming SA, ref=0/0 | sr for #12: prospective erouted | 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" prospective erouted: self; eroute owner: self | route_and_eroute with c: westnet-eastnet-ikev2 (next: none) ero:westnet-eastnet-ikev2 esr:{(nil)} ro:westnet-eastnet-ikev2 rosr:{(nil)} and state: #12 | priority calculation of connection "westnet-eastnet-ikev2" is 0xfe7e7 | eroute_connection replace eroute 192.0.2.0/24:0 --0-> 192.0.1.0/24:0 => tun.0@192.1.2.45>tun.0@192.1.2.45 (raw_eroute) | IPsec Sa SPD priority set to 1042407 | raw_eroute result=success | running updown command "ipsec _updown" for verb up | command executing up-client | executing up-client: PLUTO_VERB='up-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet-ikev2' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLUTO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@west' PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+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='' VTI_ROUTING='no' VTI_SHARED='no' SPI_IN=0x5f | popen cmd is 1040 chars long | cmd( 0):PLUTO_VERB='up-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet-ike: | cmd( 80):v2' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLU: | cmd( 160):TO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' : | cmd( 240):PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLU: | cmd( 320):TO_SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@: | cmd( 400):west' PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_P: | cmd( 480):EER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUT: | cmd( 560):O_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='RSASIG+EN: | cmd( 640):CRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND=: | cmd( 720):'CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISCO=': | cmd( 800):0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_C: | cmd( 880):FG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' VTI_ROUT: | cmd( 960):ING='no' VTI_SHARED='no' SPI_IN=0x5f5f5821 SPI_OUT=0xb2afdb02 ipsec _updown 2>&1: | route_and_eroute: firewall_notified: true | route_and_eroute: instance "westnet-eastnet-ikev2", setting eroute_owner {spd=0x559ecd5d17e8,sr=0x559ecd5d17e8} to #12 (was #0) (newest_ipsec_sa=#0) | #11 spent 0.867 milliseconds in install_ipsec_sa() | ISAKMP_v2_IKE_AUTH: instance westnet-eastnet-ikev2[0], setting IKEv2 newest_ipsec_sa to #12 (was #0) (spd.eroute=#12) cloned from #11 | adding 14 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 16 zero bytes of length of truncated HMAC/KEY into IKEv2 Encryption Payload | emitting length of IKEv2 Encryption Payload: 436 | emitting length of ISAKMP Message: 464 | data being hmac: a3 60 23 03 61 9e 32 bf 4f cb f2 cb 29 79 a7 5a | data being hmac: 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | data being hmac: 04 a5 a3 46 28 0a 7a 9c 3c 6b 5a 45 23 70 71 c5 | data being hmac: 98 32 93 b9 3f 72 28 4a 35 b2 b5 61 ba 3c 65 9a | data being hmac: 20 19 29 d6 96 ff ae 68 a7 a1 b4 ba d9 2e de ab | data being hmac: 12 92 6c a8 d7 90 95 70 fb 06 1d 19 46 7b 46 5c | data being hmac: a8 b2 50 15 3e 57 88 96 d6 de 86 18 54 04 c2 72 | data being hmac: 07 37 11 59 1c d9 e7 50 f3 52 f4 51 da 56 55 66 | data being hmac: df d3 3c 25 34 8f 30 43 83 8f a7 c0 3e 51 bf ed | data being hmac: 7d 00 f2 0c df 6c d8 a9 b6 54 52 5a b6 e7 bd dc | data being hmac: ab 9d e9 ad 04 fa d0 3b 43 36 a8 bd 9b e6 69 2e | data being hmac: 5e 66 f1 b1 83 92 1e b5 bb 83 6d 7f 88 35 b5 2f | data being hmac: 18 95 54 1e 49 52 3e c9 85 45 59 2e df 69 ab 4b | data being hmac: e8 f3 35 e0 22 d0 cf bd 33 7a 94 a3 eb ad 4e a3 | data being hmac: 21 f2 68 3c 5d 30 4e 12 c2 d2 7e 9e 56 88 c4 2a | data being hmac: 56 2a 36 28 05 5b ee 94 4c ed e9 d4 02 b1 e0 9f | data being hmac: c4 9a 24 fc 62 c1 a8 d4 b1 69 41 14 9f 22 e4 45 | data being hmac: d2 5c ab 0b cc fa d3 77 22 90 dd 8b 65 ac 25 88 | data being hmac: c1 62 ed 1a 67 75 8a 15 b8 1d e8 f5 32 e8 eb 35 | data being hmac: 3a c1 5b c2 27 71 85 22 85 ac 4a 46 64 91 c7 c4 | data being hmac: bc 99 d8 15 a9 32 da 72 db e8 96 a5 f3 6b 7e f4 | data being hmac: 3d 13 c9 b5 6b 67 e4 7b a8 82 57 ef c5 0c 95 30 | data being hmac: 41 32 c9 4a 4d e1 f6 b3 f4 86 50 c7 ee 06 0a bd | data being hmac: f8 c1 3e 0a ed 5d 4d 4d 43 ac 27 36 da 82 2f 09 | data being hmac: b7 a3 9d f4 41 d8 c0 5a 6b 38 e4 93 83 39 c1 00 | data being hmac: 21 d1 4c 8e 01 cf e9 ab ab 08 0a 42 5e 7f f7 53 | data being hmac: c3 07 9c 62 d8 73 23 cb 6b 36 61 9f 05 e7 69 ba | data being hmac: 35 71 1e 1e 61 11 af e5 ef 52 66 b2 96 ea 63 25 | out calculated auth: | 11 f0 70 79 de 3a 42 02 41 13 71 99 16 e5 5f 29 | ikev2_parent_inI2outR2_continue_tail returned STF_OK | #11 spent 6.99 milliseconds in processing: Responder: process IKE_AUTH request in ikev2_process_state_packet() | suspend processing: state #11 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | start processing: state #12 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #12 complete_v2_state_transition() md.from_state=PARENT_R1 md.svm.state[from]=PARENT_R1 UNDEFINED->V2_IPSEC_R with status STF_OK | IKEv2: transition from state STATE_PARENT_R1 to state STATE_V2_IPSEC_R | child state #12: UNDEFINED(ignore) => V2_IPSEC_R(established CHILD SA) | Message ID: updating counters for #12 to 1 after switching state | Message ID: recv #11.#12 request 1; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0->1; child: wip.initiator=-1 wip.responder=1->-1 | Message ID: sent #11.#12 response 1; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0->1 responder.recv=1; child: wip.initiator=-1 wip.responder=-1 | pstats #12 ikev2.child established "westnet-eastnet-ikev2" #12: negotiated connection [192.0.2.0-192.0.2.255:0-65535 0] -> [192.0.1.0-192.0.1.255:0-65535 0] | NAT-T: encaps is 'auto' "westnet-eastnet-ikev2" #12: STATE_V2_IPSEC_R: IPsec SA established tunnel mode {ESP=>0x5f5f5821 <0xb2afdb02 xfrm=AES_CBC_256-HMAC_SHA2_256_128 NATOA=none NATD=none DPD=passive} | sending V2 new request packet to 192.1.2.45:500 (from 192.1.2.23:500) | sending 464 bytes for STATE_PARENT_R1 through eth1 from 192.1.2.23:500 to 192.1.2.45:500 (using #11) | a3 60 23 03 61 9e 32 bf 4f cb f2 cb 29 79 a7 5a | 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | 04 a5 a3 46 28 0a 7a 9c 3c 6b 5a 45 23 70 71 c5 | 98 32 93 b9 3f 72 28 4a 35 b2 b5 61 ba 3c 65 9a | 20 19 29 d6 96 ff ae 68 a7 a1 b4 ba d9 2e de ab | 12 92 6c a8 d7 90 95 70 fb 06 1d 19 46 7b 46 5c | a8 b2 50 15 3e 57 88 96 d6 de 86 18 54 04 c2 72 | 07 37 11 59 1c d9 e7 50 f3 52 f4 51 da 56 55 66 | df d3 3c 25 34 8f 30 43 83 8f a7 c0 3e 51 bf ed | 7d 00 f2 0c df 6c d8 a9 b6 54 52 5a b6 e7 bd dc | ab 9d e9 ad 04 fa d0 3b 43 36 a8 bd 9b e6 69 2e | 5e 66 f1 b1 83 92 1e b5 bb 83 6d 7f 88 35 b5 2f | 18 95 54 1e 49 52 3e c9 85 45 59 2e df 69 ab 4b | e8 f3 35 e0 22 d0 cf bd 33 7a 94 a3 eb ad 4e a3 | 21 f2 68 3c 5d 30 4e 12 c2 d2 7e 9e 56 88 c4 2a | 56 2a 36 28 05 5b ee 94 4c ed e9 d4 02 b1 e0 9f | c4 9a 24 fc 62 c1 a8 d4 b1 69 41 14 9f 22 e4 45 | d2 5c ab 0b cc fa d3 77 22 90 dd 8b 65 ac 25 88 | c1 62 ed 1a 67 75 8a 15 b8 1d e8 f5 32 e8 eb 35 | 3a c1 5b c2 27 71 85 22 85 ac 4a 46 64 91 c7 c4 | bc 99 d8 15 a9 32 da 72 db e8 96 a5 f3 6b 7e f4 | 3d 13 c9 b5 6b 67 e4 7b a8 82 57 ef c5 0c 95 30 | 41 32 c9 4a 4d e1 f6 b3 f4 86 50 c7 ee 06 0a bd | f8 c1 3e 0a ed 5d 4d 4d 43 ac 27 36 da 82 2f 09 | b7 a3 9d f4 41 d8 c0 5a 6b 38 e4 93 83 39 c1 00 | 21 d1 4c 8e 01 cf e9 ab ab 08 0a 42 5e 7f f7 53 | c3 07 9c 62 d8 73 23 cb 6b 36 61 9f 05 e7 69 ba | 35 71 1e 1e 61 11 af e5 ef 52 66 b2 96 ea 63 25 | 11 f0 70 79 de 3a 42 02 41 13 71 99 16 e5 5f 29 | releasing whack for #12 (sock=fd@-1) | releasing whack and unpending for parent #11 | unpending state #11 connection "westnet-eastnet-ikev2" | #12 will start re-keying in 28530 seconds with margin of 270 seconds (attempting re-key) | event_schedule: new EVENT_SA_REKEY-pe@0x559ecd5d52d8 | inserting event EVENT_SA_REKEY, timeout in 28530 seconds for #12 | libevent_malloc: new ptr-libevent@0x559ecd5e0688 size 128 | resume sending helper answer for #11 suppresed complete_v2_state_transition() | #11 spent 7.33 milliseconds in resume sending helper answer | stop processing: state #12 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in resume_handler() at server.c:833) | libevent_free: release ptr-libevent@0x7f1a980033f8 | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00454 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00255 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 80 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | a3 60 23 03 61 9e 32 bf 4f cb f2 cb 29 79 a7 5a | 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | ab 94 86 3a c0 f2 19 76 eb 14 db d7 d9 0f ec 26 | 66 58 0e 42 f0 c5 74 16 84 be 84 dd 65 fd e4 5f | 42 d8 41 a3 f8 57 50 da b4 36 84 bf 21 89 52 c9 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | a3 60 23 03 61 9e 32 bf | responder cookie: | 4f cb f2 cb 29 79 a7 5a | next payload type: ISAKMP_NEXT_v2SK (0x2e) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_INFORMATIONAL (0x25) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 2 (0x2) | length: 80 (0x50) | processing version=2.0 packet with exchange type=ISAKMP_v2_INFORMATIONAL (37) | I am the IKE SA Original Responder receiving an IKEv2 INFORMATIONAL request | State DB: found IKEv2 state #11 in PARENT_R2 (find_v2_ike_sa) | start processing: state #11 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2016) | State DB: IKEv2 state not found (find_v2_sa_by_responder_wip) | [RE]START processing: state #11 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ike_process_packet() at ikev2.c:2064) | #11 st.st_msgid_lastrecv 1 md.hdr.isa_msgid 00000002 | Message ID: #11 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=1 responder.recv=1 | 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 (0x34) | processing payload: ISAKMP_NEXT_v2SK (len=48) | Message ID: start-responder #11 request 2; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=1 responder.recv=1 wip.initiator=-1 wip.responder=-1->2 | #11 in state PARENT_R2: received v2I2, PARENT SA established | data for hmac: a3 60 23 03 61 9e 32 bf 4f cb f2 cb 29 79 a7 5a | data for hmac: 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | data for hmac: ab 94 86 3a c0 f2 19 76 eb 14 db d7 d9 0f ec 26 | data for hmac: 66 58 0e 42 f0 c5 74 16 84 be 84 dd 65 fd e4 5f | calculated auth: 42 d8 41 a3 f8 57 50 da b4 36 84 bf 21 89 52 c9 | provided auth: 42 d8 41 a3 f8 57 50 da b4 36 84 bf 21 89 52 c9 | authenticator matched | #11 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 (0xc) | protocol ID: PROTO_v2_ESP (0x3) | SPI size: 4 (0x4) | number of SPIs: 1 (0x1) | processing payload: ISAKMP_NEXT_v2D (len=4) | selected state microcode R2: process INFORMATIONAL Request | Now let's proceed with state specific processing | calling processor R2: process INFORMATIONAL Request | an informational request should send a response | Received an INFORMATIONAL response, updating st_last_liveness, no pending_liveness | **emit ISAKMP Message: | initiator cookie: | a3 60 23 03 61 9e 32 bf | responder cookie: | 4f cb f2 cb 29 79 a7 5a | 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_MSG_RESPONSE (0x20) | Message ID: 2 (0x2) | 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 5f 5f 58 21 | delete PROTO_v2_ESP SA(0x5f5f5821) | v2 CHILD SA #12 found using their inbound (our outbound) SPI, in STATE_V2_IPSEC_R | State DB: found IKEv2 state #12 in V2_IPSEC_R (find_v2_child_sa_by_outbound_spi) | our side SPI that needs to be deleted: PROTO_v2_ESP SA(0x5f5f5821) "westnet-eastnet-ikev2" #11: received Delete SA payload: delete IPsec State #12 now | pstats #12 ikev2.child deleted completed | suspend processing: state #11 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in delete_state() at state.c:879) | start processing: state #12 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in delete_state() at state.c:879) "westnet-eastnet-ikev2" #12: deleting other state #12 (STATE_V2_IPSEC_R) aged 0.103s and NOT sending notification | child state #12: V2_IPSEC_R(established CHILD SA) => delete | get_sa_info esp.5f5f5821@192.1.2.45 | get_sa_info esp.b2afdb02@192.1.2.23 "westnet-eastnet-ikev2" #12: ESP traffic information: in=0B out=0B | child state #12: V2_IPSEC_R(established CHILD SA) => CHILDSA_DEL(informational) | state #12 requesting EVENT_SA_REKEY to be deleted | libevent_free: release ptr-libevent@0x559ecd5e0688 | free_event_entry: release EVENT_SA_REKEY-pe@0x559ecd5d52d8 | running updown command "ipsec _updown" for verb down | command executing down-client | executing down-client: PLUTO_VERB='down-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet-ikev2' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLUTO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@west' PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='1566825097' PLUTO_CONN_POLICY='RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+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='' VTI_ROUTING='no' VTI_SHARED='no | popen cmd is 1051 chars long | cmd( 0):PLUTO_VERB='down-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet-i: | cmd( 80):kev2' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' P: | cmd( 160):LUTO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0: | cmd( 240):' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' P: | cmd( 320):LUTO_SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID=: | cmd( 400):'@west' PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO: | cmd( 480):_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PL: | cmd( 560):UTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='1566825097' PLUTO_CONN_POLICY: | cmd( 640):='RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO: | cmd( 720):_CONN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_P: | cmd( 800):EER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER: | cmd( 880):='' PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE=: | cmd( 960):'' VTI_ROUTING='no' VTI_SHARED='no' SPI_IN=0x5f5f5821 SPI_OUT=0xb2afdb02 ipsec _: | cmd(1040):updown 2>&1: | shunt_eroute() called for connection 'westnet-eastnet-ikev2' to 'replace with shunt' for rt_kind 'prospective erouted' using protoports 0--0->-0 | netlink_shunt_eroute for proto 0, and source port 0 dest port 0 | priority calculation of connection "westnet-eastnet-ikev2" is 0xfe7e7 | IPsec Sa SPD priority set to 1042407 | delete esp.5f5f5821@192.1.2.45 | netlink response for Del SA esp.5f5f5821@192.1.2.45 included non-error error | priority calculation of connection "westnet-eastnet-ikev2" is 0xfe7e7 | delete inbound eroute 192.0.1.0/24:0 --0-> 192.0.2.0/24:0 => unk255.10000@192.1.2.23 (raw_eroute) | raw_eroute result=success | delete esp.b2afdb02@192.1.2.23 | netlink response for Del SA esp.b2afdb02@192.1.2.23 included non-error error | in connection_discard for connection westnet-eastnet-ikev2 | State DB: deleting IKEv2 state #12 in CHILDSA_DEL | child state #12: CHILDSA_DEL(informational) => UNDEFINED(ignore) | stop processing: state #12 from 192.1.2.45:500 (in delete_state() at state.c:1143) | resume processing: state #11 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in delete_state() at state.c:1143) | ****emit IKEv2 Delete Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | protocol ID: PROTO_v2_ESP (0x3) | SPI size: 4 (0x4) | number of SPIs: 1 (0x1) | 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 b2 af db 02 | 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 | data being hmac: a3 60 23 03 61 9e 32 bf 4f cb f2 cb 29 79 a7 5a | data being hmac: 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | data being hmac: 5e 04 3b 52 d2 fd c8 55 c7 eb 78 0d bd 5b 7e fd | data being hmac: cd 45 85 9f 3f 41 83 05 93 99 dd 5b 79 95 be 16 | out calculated auth: | e0 06 03 e2 c0 13 75 55 bb 64 28 f8 ab f4 41 0b | sending 80 bytes for reply packet for process_encrypted_informational_ikev2 through eth1 from 192.1.2.23:500 to 192.1.2.45:500 (using #11) | a3 60 23 03 61 9e 32 bf 4f cb f2 cb 29 79 a7 5a | 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | 5e 04 3b 52 d2 fd c8 55 c7 eb 78 0d bd 5b 7e fd | cd 45 85 9f 3f 41 83 05 93 99 dd 5b 79 95 be 16 | e0 06 03 e2 c0 13 75 55 bb 64 28 f8 ab f4 41 0b | Message ID: #11 XXX: in process_encrypted_informational_ikev2() hacking around record'n'send bypassing send queue hacking around delete_my_family(); initiator.sent=-1 initiator.recv=-1 responder.sent=1 responder.recv=1 wip.initiator=-1 wip.responder=2 | Message ID: sent #11 response 2; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=1->2 responder.recv=1 wip.initiator=-1 wip.responder=2 | #11 spent 1.13 milliseconds in processing: R2: process INFORMATIONAL Request in ikev2_process_state_packet() | [RE]START processing: state #11 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #11 complete_v2_state_transition() PARENT_R2->PARENT_R2 with status STF_OK | Message ID: updating counters for #11 to 2 after switching state | Message ID: recv #11 request 2; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=1->2 wip.initiator=-1 wip.responder=2->-1 | Message ID: #11 skipping update_send as nothing to send; initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=2 wip.initiator=-1 wip.responder=-1 "westnet-eastnet-ikev2" #11: STATE_PARENT_R2: received v2I2, PARENT SA established | stop processing: state #11 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2018) | #11 spent 1.33 milliseconds in ikev2_process_packet() | stop processing: from 192.1.2.45:500 (in process_md() at demux.c:380) | processing: STOP state #0 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 1.34 milliseconds in comm_handle_cb() reading and processing packet | spent 0.0012 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 80 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | a3 60 23 03 61 9e 32 bf 4f cb f2 cb 29 79 a7 5a | 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | 4e 39 8b b6 8c 4f 21 1c bc d5 7a 39 7a 63 96 75 | 20 5b 44 45 25 d7 5f 6f a6 2e 72 e0 81 27 a8 2b | f9 8e 0e 8a 97 d6 05 3e 6b c7 6c d5 85 00 f4 85 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | a3 60 23 03 61 9e 32 bf | responder cookie: | 4f cb f2 cb 29 79 a7 5a | next payload type: ISAKMP_NEXT_v2SK (0x2e) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_INFORMATIONAL (0x25) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 3 (0x3) | length: 80 (0x50) | processing version=2.0 packet with exchange type=ISAKMP_v2_INFORMATIONAL (37) | I am the IKE SA Original Responder receiving an IKEv2 INFORMATIONAL request | State DB: found IKEv2 state #11 in PARENT_R2 (find_v2_ike_sa) | start processing: state #11 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2016) | State DB: IKEv2 state not found (find_v2_sa_by_responder_wip) | [RE]START processing: state #11 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ike_process_packet() at ikev2.c:2064) | #11 st.st_msgid_lastrecv 2 md.hdr.isa_msgid 00000003 | Message ID: #11 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=2 | 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 (0x34) | processing payload: ISAKMP_NEXT_v2SK (len=48) | Message ID: start-responder #11 request 3; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=2 wip.initiator=-1 wip.responder=-1->3 | #11 in state PARENT_R2: received v2I2, PARENT SA established | data for hmac: a3 60 23 03 61 9e 32 bf 4f cb f2 cb 29 79 a7 5a | data for hmac: 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | data for hmac: 4e 39 8b b6 8c 4f 21 1c bc d5 7a 39 7a 63 96 75 | data for hmac: 20 5b 44 45 25 d7 5f 6f a6 2e 72 e0 81 27 a8 2b | calculated auth: f9 8e 0e 8a 97 d6 05 3e 6b c7 6c d5 85 00 f4 85 | provided auth: f9 8e 0e 8a 97 d6 05 3e 6b c7 6c d5 85 00 f4 85 | authenticator matched | #11 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 (0x8) | protocol ID: PROTO_v2_IKE (0x1) | SPI size: 0 (0x0) | number of SPIs: 0 (0x0) | processing payload: ISAKMP_NEXT_v2D (len=0) | selected state microcode R2: process INFORMATIONAL Request | Now let's proceed with state specific processing | calling processor R2: process INFORMATIONAL Request | an informational request should send a response | Received an INFORMATIONAL response, updating st_last_liveness, no pending_liveness | **emit ISAKMP Message: | initiator cookie: | a3 60 23 03 61 9e 32 bf | responder cookie: | 4f cb f2 cb 29 79 a7 5a | 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_MSG_RESPONSE (0x20) | Message ID: 3 (0x3) | 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 | data being hmac: a3 60 23 03 61 9e 32 bf 4f cb f2 cb 29 79 a7 5a | data being hmac: 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | data being hmac: 5a d4 07 f8 99 54 b2 28 74 98 e4 8d aa 61 0a 19 | data being hmac: 26 8d 70 70 a9 9e 5a 9d c9 95 99 8c fb c4 e6 7f | out calculated auth: | 62 98 05 d8 22 39 55 c4 8a fc 2d 63 7e 98 71 42 | sending 80 bytes for reply packet for process_encrypted_informational_ikev2 through eth1 from 192.1.2.23:500 to 192.1.2.45:500 (using #11) | a3 60 23 03 61 9e 32 bf 4f cb f2 cb 29 79 a7 5a | 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | 5a d4 07 f8 99 54 b2 28 74 98 e4 8d aa 61 0a 19 | 26 8d 70 70 a9 9e 5a 9d c9 95 99 8c fb c4 e6 7f | 62 98 05 d8 22 39 55 c4 8a fc 2d 63 7e 98 71 42 | Message ID: #11 XXX: in process_encrypted_informational_ikev2() hacking around record'n'send bypassing send queue hacking around delete_my_family(); initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=2 wip.initiator=-1 wip.responder=3 | Message ID: sent #11 response 3; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=2->3 responder.recv=2 wip.initiator=-1 wip.responder=3 | State DB: IKEv2 state not found (delete_my_family) | parent state #11: PARENT_R2(established IKE SA) => IKESA_DEL(established IKE SA) | pstats #11 ikev2.ike deleted completed | #11 spent 16.8 milliseconds in total | [RE]START processing: state #11 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in delete_state() at state.c:879) "westnet-eastnet-ikev2" #11: deleting state (STATE_IKESA_DEL) aged 0.133s and NOT sending notification | parent state #11: IKESA_DEL(established IKE SA) => delete | state #11 requesting EVENT_SA_REKEY to be deleted | libevent_free: release ptr-libevent@0x559ecd5d3aa8 | free_event_entry: release EVENT_SA_REKEY-pe@0x559ecd5d3728 | State DB: IKEv2 state not found (flush_incomplete_children) | in connection_discard for connection westnet-eastnet-ikev2 | State DB: deleting IKEv2 state #11 in IKESA_DEL | parent state #11: IKESA_DEL(established IKE SA) => UNDEFINED(ignore) | unreference key: 0x559ecd52ac48 @west cnt 2-- | stop processing: state #11 from 192.1.2.45:500 (in delete_state() at state.c:1143) | in statetime_stop() and could not find #11 | skip start processing: state #0 (in complete_v2_state_transition() at ikev2.c:3379) | #0 complete_v2_state_transition() md.from_state=PARENT_R2 md.svm.state[from]=PARENT_R2 UNDEFINED->PARENT_R2 with status STF_OK | STF_OK but no state object remains | processing: STOP state #0 (in ikev2_process_packet() at ikev2.c:2018) | in statetime_stop() and could not find #11 | stop processing: from 192.1.2.45:500 (in process_md() at demux.c:380) | processing: STOP state #0 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.363 milliseconds in comm_handle_cb() reading and processing packet | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00339 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00307 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 328 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 1e 28 f5 c2 9c 74 1c 2d 00 00 00 00 00 00 00 00 | 21 20 22 08 00 00 00 00 00 00 01 48 22 00 00 3c | 00 00 00 38 01 01 00 05 03 00 00 0c 01 00 00 0c | 80 0e 01 00 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 15 28 00 00 8c 00 15 00 00 | 00 db 5a f7 9d 07 9e 34 37 ce d3 7f 55 4b ee d2 | 7a a4 e3 f2 c9 c4 c5 74 56 fb f0 b8 46 5a 1b f4 | 99 a9 14 07 48 67 f2 d3 56 2f c4 91 09 e3 d1 6f | 0e 84 01 43 72 f6 41 54 60 ba 36 31 49 21 33 3e | 84 82 01 56 2d ea 59 0b bf de b8 ad 56 e1 a1 da | 53 b1 79 cd e9 8e 9b 16 9f 29 4c c6 a3 df 30 ae | 9a 0f 9f b7 5d 8c 50 63 39 a4 cd 0f 15 0d 50 20 | ff e9 2a 1a 5a 52 26 b0 ff 0f 3f 3d 91 c2 71 27 | ed 63 4a 9b 29 00 00 24 61 8c 4e 67 e0 02 41 29 | bb 75 a1 7a df 88 95 67 53 91 b7 e5 bf 5c e0 10 | a0 92 fd 97 8f 9a ea 8f 29 00 00 08 00 00 40 2e | 29 00 00 1c 00 00 40 04 b7 e3 5b ff bf 14 9a 17 | 4d 96 75 90 ad c7 71 51 20 77 f6 0a 00 00 00 1c | 00 00 40 05 b9 63 0a 00 36 44 55 64 6b ee d5 dc | b5 2e 64 55 03 9d bb 2c | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 1e 28 f5 c2 9c 74 1c 2d | responder cookie: | 00 00 00 00 00 00 00 00 | next payload type: ISAKMP_NEXT_v2SA (0x21) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_IKE_SA_INIT (0x22) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 0 (0x0) | length: 328 (0x148) | processing version=2.0 packet with exchange type=ISAKMP_v2_IKE_SA_INIT (34) | I am the IKE SA Original Responder receiving an IKEv2 IKE_SA_INIT request | State DB: IKEv2 state not found (find_v2_ike_sa_by_initiator_spi) | Now let's proceed with payload (ISAKMP_NEXT_v2SA) | ***parse IKEv2 Security Association Payload: | next payload type: ISAKMP_NEXT_v2KE (0x22) | flags: none (0x0) | length: 60 (0x3c) | processing payload: ISAKMP_NEXT_v2SA (len=56) | 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: 140 (0x8c) | DH group: OAKLEY_GROUP_ECP_521 (0x15) | processing payload: ISAKMP_NEXT_v2KE (len=132) | 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 (0x24) | 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 (0x8) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | 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 (0x1c) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | 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 (0x1c) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | Notify Message Type: v2N_NAT_DETECTION_DESTINATION_IP (0x4005) | processing payload: ISAKMP_NEXT_v2N (len=20) | DDOS disabled and no cookie sent, continuing | find_host_connection local=192.1.2.23:500 remote=192.1.2.45:500 policy=ECDSA+IKEV2_ALLOW but ignoring ports | find_host_pair: comparing 192.1.2.23:500 to 192.1.2.45:500 but ignoring ports | find_next_host_connection policy=ECDSA+IKEV2_ALLOW | found policy = RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO (westnet-eastnet-ikev2) | find_next_host_connection returns empty | find_host_connection local=192.1.2.23:500 remote= policy=ECDSA+IKEV2_ALLOW but ignoring ports | find_next_host_connection policy=ECDSA+IKEV2_ALLOW | find_next_host_connection returns empty | initial parent SA message received on 192.1.2.23:500 but no connection has been authorized with policy ECDSA+IKEV2_ALLOW | find_host_connection local=192.1.2.23:500 remote=192.1.2.45:500 policy=RSASIG+IKEV2_ALLOW but ignoring ports | find_host_pair: comparing 192.1.2.23:500 to 192.1.2.45:500 but ignoring ports | find_next_host_connection policy=RSASIG+IKEV2_ALLOW | found policy = RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO (westnet-eastnet-ikev2) | find_next_host_connection returns westnet-eastnet-ikev2 | find_next_host_connection policy=RSASIG+IKEV2_ALLOW | find_next_host_connection returns empty | found connection: westnet-eastnet-ikev2 with policy RSASIG+IKEV2_ALLOW | creating state object #13 at 0x559ecd5d5578 | State DB: adding IKEv2 state #13 in UNDEFINED | pstats #13 ikev2.ike started | Message ID: init #13: msgid=0 lastack=4294967295 nextuse=0 lastrecv=4294967295 lastreplied=0 | parent state #13: UNDEFINED(ignore) => PARENT_R0(half-open IKE SA) | Message ID: init_ike #13; ike: initiator.sent=0->-1 initiator.recv=0->-1 responder.sent=0->-1 responder.recv=0->-1 wip.initiator=0->-1 wip.responder=0->-1 | start processing: state #13 connection "westnet-eastnet-ikev2" from 192.1.2.45 (in ikev2_process_packet() at ikev2.c:2016) | State DB: IKEv2 state not found (find_v2_sa_by_responder_wip) | [RE]START processing: state #13 connection "westnet-eastnet-ikev2" from 192.1.2.45 (in ike_process_packet() at ikev2.c:2064) | #13 st.st_msgid_lastrecv -1 md.hdr.isa_msgid 00000000 | Message ID: #13 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=-1 responder.recv=-1 | Message ID: start-responder #13 request 0; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=-1 responder.recv=-1 wip.initiator=-1 wip.responder=-1->0 | #13 in state PARENT_R0: processing SA_INIT request | selected state microcode Respond to IKE_SA_INIT | Now let's proceed with state specific processing | calling processor Respond to IKE_SA_INIT | #13 updating local interface from 192.1.2.23:500 to 192.1.2.23:500 using md->iface (in update_ike_endpoints() at state.c:2669) | using existing local IKE proposals for connection westnet-eastnet-ikev2 (IKE SA responder matching remote proposals): 1:IKE:ENCR=AES_GCM_C_256;PRF=HMAC_SHA2_512,HMAC_SHA2_256;INTEG=NONE;DH=MODP2048,MODP3072,MODP4096,MODP8192,ECP_256,ECP_384,ECP_521,CURVE25519 2:IKE:ENCR=AES_GCM_C_128;PRF=HMAC_SHA2_512,HMAC_SHA2_256;INTEG=NONE;DH=MODP2048,MODP3072,MODP4096,MODP8192,ECP_256,ECP_384,ECP_521,CURVE25519 3:IKE:ENCR=AES_CBC_256;PRF=HMAC_SHA2_512,HMAC_SHA2_256;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=MODP2048,MODP3072,MODP4096,MODP8192,ECP_256,ECP_384,ECP_521,CURVE25519 4:IKE:ENCR=AES_CBC_128;PRF=HMAC_SHA2_512,HMAC_SHA2_256;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=MODP2048,MODP3072,MODP4096,MODP8192,ECP_256,ECP_384,ECP_521,CURVE25519 | Comparing remote proposals against IKE responder 4 local proposals | local proposal 1 type ENCR has 1 transforms | local proposal 1 type PRF has 2 transforms | local proposal 1 type INTEG has 1 transforms | local proposal 1 type DH has 8 transforms | local proposal 1 type ESN has 0 transforms | local proposal 1 transforms: required: ENCR+PRF+DH; optional: INTEG | local proposal 2 type ENCR has 1 transforms | local proposal 2 type PRF has 2 transforms | local proposal 2 type INTEG has 1 transforms | local proposal 2 type DH has 8 transforms | local proposal 2 type ESN has 0 transforms | local proposal 2 transforms: required: ENCR+PRF+DH; optional: INTEG | local proposal 3 type ENCR has 1 transforms | local proposal 3 type PRF has 2 transforms | local proposal 3 type INTEG has 2 transforms | local proposal 3 type DH has 8 transforms | local proposal 3 type ESN has 0 transforms | local proposal 3 transforms: required: ENCR+PRF+INTEG+DH; optional: none | local proposal 4 type ENCR has 1 transforms | local proposal 4 type PRF has 2 transforms | local proposal 4 type INTEG has 2 transforms | local proposal 4 type DH has 8 transforms | local proposal 4 type ESN has 0 transforms | local proposal 4 transforms: required: ENCR+PRF+INTEG+DH; optional: none | ****parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | length: 56 (0x38) | prop #: 1 (0x1) | proto ID: IKEv2_SEC_PROTO_IKE (0x1) | spi size: 0 (0x0) | # transforms: 5 (0x5) | Comparing remote proposal 1 containing 5 transforms against local proposal [1..4] of 4 local proposals | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 12 (0xc) | IKEv2 transform type: TRANS_TYPE_ENCR (0x1) | IKEv2 transform ID: AES_CBC (0xc) | ******parse IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 256 (0x100) | remote proposal 1 transform 0 (ENCR=AES_CBC_256) matches local proposal 3 type 1 (ENCR) transform 0 | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 12 (0xc) | 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 (0x80) | remote proposal 1 transform 1 (ENCR=AES_CBC_128) matches local proposal 4 type 1 (ENCR) transform 0 | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_PRF (0x2) | IKEv2 transform ID: PRF_HMAC_SHA2_256 (0x5) | remote proposal 1 transform 2 (PRF=HMAC_SHA2_256) matches local proposal 1 type 2 (PRF) transform 1 | remote proposal 1 transform 2 (PRF=HMAC_SHA2_256) matches local proposal 2 type 2 (PRF) transform 1 | remote proposal 1 transform 2 (PRF=HMAC_SHA2_256) matches local proposal 3 type 2 (PRF) transform 1 | remote proposal 1 transform 2 (PRF=HMAC_SHA2_256) matches local proposal 4 type 2 (PRF) transform 1 | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_INTEG (0x3) | IKEv2 transform ID: AUTH_HMAC_SHA2_256_128 (0xc) | remote proposal 1 transform 3 (INTEG=HMAC_SHA2_256_128) matches local proposal 3 type 3 (INTEG) transform 1 | remote proposal 1 transform 3 (INTEG=HMAC_SHA2_256_128) matches local proposal 4 type 3 (INTEG) transform 1 | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_LAST (0x0) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_ECP_521 (0x15) | remote proposal 1 transform 4 (DH=ECP_521) matches local proposal 1 type 4 (DH) transform 6 | remote proposal 1 transform 4 (DH=ECP_521) matches local proposal 2 type 4 (DH) transform 6 | remote proposal 1 transform 4 (DH=ECP_521) matches local proposal 3 type 4 (DH) transform 6 | remote proposal 1 transform 4 (DH=ECP_521) matches local proposal 4 type 4 (DH) transform 6 | 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+DH; optional: INTEG; matched: PRF+DH | remote proposal 1 does not match local proposal 1; unmatched transforms: ENCR+INTEG; missing transforms: ENCR | comparing remote proposal 1 containing ENCR+PRF+INTEG+DH transforms to local proposal 2; required: ENCR+PRF+DH; optional: INTEG; matched: PRF+DH | remote proposal 1 does not match local proposal 2; unmatched transforms: ENCR+INTEG; missing transforms: ENCR | comparing remote proposal 1 containing ENCR+PRF+INTEG+DH transforms to local proposal 3; required: ENCR+PRF+INTEG+DH; optional: none; matched: ENCR+PRF+INTEG+DH | remote proposal 1 matches local proposal 3 "westnet-eastnet-ikev2" #13: proposal 1:IKE:ENCR=AES_CBC_256;PRF=HMAC_SHA2_256;INTEG=HMAC_SHA2_256_128;DH=ECP_521 chosen from remote proposals 1:IKE:ENCR=AES_CBC_256;ENCR=AES_CBC_128;PRF=HMAC_SHA2_256;INTEG=HMAC_SHA2_256_128;DH=ECP_521[first-match] | accepted IKE proposal ikev2_proposal: 1:IKE:ENCR=AES_CBC_256;PRF=HMAC_SHA2_256;INTEG=HMAC_SHA2_256_128;DH=ECP_521 | converting proposal to internal trans attrs | natd_hash: rcookie is zero | natd_hash: hasher=0x559ecc52c800(20) | natd_hash: icookie= 1e 28 f5 c2 9c 74 1c 2d | natd_hash: rcookie= 00 00 00 00 00 00 00 00 | natd_hash: ip= c0 01 02 17 | natd_hash: port=500 | natd_hash: hash= b9 63 0a 00 36 44 55 64 6b ee d5 dc b5 2e 64 55 | natd_hash: hash= 03 9d bb 2c | natd_hash: rcookie is zero | natd_hash: hasher=0x559ecc52c800(20) | natd_hash: icookie= 1e 28 f5 c2 9c 74 1c 2d | natd_hash: rcookie= 00 00 00 00 00 00 00 00 | natd_hash: ip= c0 01 02 2d | natd_hash: port=500 | natd_hash: hash= b7 e3 5b ff bf 14 9a 17 4d 96 75 90 ad c7 71 51 | natd_hash: hash= 20 77 f6 0a | NAT_TRAVERSAL encaps using auto-detect | NAT_TRAVERSAL this end is NOT behind NAT | NAT_TRAVERSAL that end is NOT behind NAT | NAT_TRAVERSAL nat-keepalive enabled 192.1.2.45 | adding ikev2_inI1outR1 KE work-order 13 for state #13 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x559ecd5d3728 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #13 | libevent_malloc: new ptr-libevent@0x7f1a980033f8 size 128 | #13 spent 0.281 milliseconds in processing: Respond to IKE_SA_INIT in ikev2_process_state_packet() | [RE]START processing: state #13 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #13 complete_v2_state_transition() PARENT_R0->PARENT_R1 with status STF_SUSPEND | suspending state #13 and saving MD | #13 is busy; has a suspended MD | [RE]START processing: state #13 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in log_stf_suspend() at ikev2.c:3269) | "westnet-eastnet-ikev2" #13 complete v2 state STATE_PARENT_R0 transition with STF_SUSPEND suspended from complete_v2_state_transition:3451 | stop processing: state #13 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2018) | #13 spent 0.591 milliseconds in ikev2_process_packet() | stop processing: from 192.1.2.45:500 (in process_md() at demux.c:380) | processing: STOP state #0 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | crypto helper 5 resuming | spent 0.603 milliseconds in comm_handle_cb() reading and processing packet | crypto helper 5 starting work-order 13 for state #13 | crypto helper 5 doing build KE and nonce (ikev2_inI1outR1 KE); request ID 13 | crypto helper 5 finished build KE and nonce (ikev2_inI1outR1 KE); request ID 13 time elapsed 0.002758 seconds | (#13) spent 2.76 milliseconds in crypto helper computing work-order 13: ikev2_inI1outR1 KE (pcr) | crypto helper 5 sending results from work-order 13 for state #13 to event queue | scheduling resume sending helper answer for #13 | libevent_malloc: new ptr-libevent@0x7f1a8c004c28 size 128 | crypto helper 5 waiting (nothing to do) | processing resume sending helper answer for #13 | start processing: state #13 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in resume_handler() at server.c:797) | crypto helper 5 replies to request ID 13 | calling continuation function 0x559ecc457b50 | ikev2_parent_inI1outR1_continue for #13: calculated ke+nonce, sending R1 | **emit ISAKMP Message: | initiator cookie: | 1e 28 f5 c2 9c 74 1c 2d | responder cookie: | 47 43 d0 eb 87 39 69 db | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_IKE_SA_INIT (0x22) | flags: ISAKMP_FLAG_v2_MSG_RESPONSE (0x20) | Message ID: 0 (0x0) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | Emitting ikev2_proposal ... | ***emit IKEv2 Security Association Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'ISAKMP Message'.'next payload type' to current IKEv2 Security Association Payload (33:ISAKMP_NEXT_v2SA) | next payload chain: saving location 'IKEv2 Security Association Payload'.'next payload type' in 'reply packet' | ****emit IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | prop #: 1 (0x1) | proto ID: IKEv2_SEC_PROTO_IKE (0x1) | spi size: 0 (0x0) | # transforms: 4 (0x4) | 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: 256 (0x100) | 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' 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' 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_ECP_521 (0x15) | last substructure: checking 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' 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_ECP_521 (0x15) | 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 132 raw bytes of ikev2 g^x into IKEv2 Key Exchange Payload | ikev2 g^x 01 6d aa 8c 07 4c 8b 60 1a d9 fe 55 9e 60 8d 3d | ikev2 g^x 10 e3 20 b4 bc bd b3 29 b2 cc 30 19 62 92 83 1c | ikev2 g^x 26 ef ab ec 96 e2 47 f9 7f 58 00 ef d4 b0 bb a4 | ikev2 g^x 1f f4 5d 90 1b ea ce 7c 05 b5 f7 bd 98 97 bb 2e | ikev2 g^x 0c 82 00 35 18 44 55 12 75 9c 28 f2 56 a7 40 1c | ikev2 g^x 5f b6 49 7a c3 87 49 66 b0 a5 a3 cd b4 0d 0f a3 | ikev2 g^x c7 9f e3 1b 7c 9f 60 a0 b1 b4 21 28 30 3a 21 72 | ikev2 g^x 72 3c 27 35 c0 e7 02 bd 9b 4c 14 a3 97 94 d2 ee | ikev2 g^x 76 1c bb a6 | emitting length of IKEv2 Key Exchange Payload: 140 | ***emit IKEv2 Nonce Payload: | next payload type: ISAKMP_NEXT_v2N (0x29) | flags: none (0x0) | next payload chain: ignoring supplied 'IKEv2 Nonce Payload'.'next payload type' value 41:ISAKMP_NEXT_v2N | 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 46 56 1c 8f e2 23 20 9f 66 ee dd dc 92 6a 86 75 | IKEv2 nonce 20 6a 3b de 76 ee 79 7a ba 93 cf f3 73 6a 88 b1 | 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: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | Notify Message Type: v2N_IKEV2_FRAGMENTATION_SUPPORTED (0x402e) | next payload chain: setting previous 'IKEv2 Nonce Payload'.'next payload type' to current IKEv2 Notify Payload (41:ISAKMP_NEXT_v2N) | next payload chain: saving location 'IKEv2 Notify Payload'.'next payload type' in 'reply packet' | emitting length of IKEv2 Notify Payload: 8 | NAT-Traversal support [enabled] add v2N payloads. | natd_hash: hasher=0x559ecc52c800(20) | natd_hash: icookie= 1e 28 f5 c2 9c 74 1c 2d | natd_hash: rcookie= 47 43 d0 eb 87 39 69 db | natd_hash: ip= c0 01 02 17 | natd_hash: port=500 | natd_hash: hash= 42 a0 3d 38 f7 05 fa a5 b6 6f 4f 69 49 c2 89 f3 | natd_hash: hash= 65 6c 00 8e | Adding a v2N Payload | ***emit IKEv2 Notify Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | 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 42 a0 3d 38 f7 05 fa a5 b6 6f 4f 69 49 c2 89 f3 | Notify data 65 6c 00 8e | emitting length of IKEv2 Notify Payload: 28 | natd_hash: hasher=0x559ecc52c800(20) | natd_hash: icookie= 1e 28 f5 c2 9c 74 1c 2d | natd_hash: rcookie= 47 43 d0 eb 87 39 69 db | natd_hash: ip= c0 01 02 2d | natd_hash: port=500 | natd_hash: hash= 60 92 a5 c4 37 a3 61 6b 9a e3 bc 80 1a 51 03 42 | natd_hash: hash= 07 bf d9 da | Adding a v2N Payload | ***emit IKEv2 Notify Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | 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 60 92 a5 c4 37 a3 61 6b 9a e3 bc 80 1a 51 03 42 | Notify data 07 bf d9 da | emitting length of IKEv2 Notify Payload: 28 | emitting length of ISAKMP Message: 316 | [RE]START processing: state #13 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #13 complete_v2_state_transition() PARENT_R0->PARENT_R1 with status STF_OK | IKEv2: transition from state STATE_PARENT_R0 to state STATE_PARENT_R1 | parent state #13: PARENT_R0(half-open IKE SA) => PARENT_R1(half-open IKE SA) | Message ID: updating counters for #13 to 0 after switching state | Message ID: recv #13 request 0; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=-1 responder.recv=-1->0 wip.initiator=-1 wip.responder=0->-1 | Message ID: sent #13 response 0; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=-1->0 responder.recv=0 wip.initiator=-1 wip.responder=-1 "westnet-eastnet-ikev2" #13: STATE_PARENT_R1: received v2I1, sent v2R1 {auth=IKEv2 cipher=AES_CBC_256 integ=HMAC_SHA2_256_128 prf=HMAC_SHA2_256 group=DH21} | sending V2 new request packet to 192.1.2.45:500 (from 192.1.2.23:500) | sending 316 bytes for STATE_PARENT_R0 through eth1 from 192.1.2.23:500 to 192.1.2.45:500 (using #13) | 1e 28 f5 c2 9c 74 1c 2d 47 43 d0 eb 87 39 69 db | 21 20 22 20 00 00 00 00 00 00 01 3c 22 00 00 30 | 00 00 00 2c 01 01 00 04 03 00 00 0c 01 00 00 0c | 80 0e 01 00 03 00 00 08 02 00 00 05 03 00 00 08 | 03 00 00 0c 00 00 00 08 04 00 00 15 28 00 00 8c | 00 15 00 00 01 6d aa 8c 07 4c 8b 60 1a d9 fe 55 | 9e 60 8d 3d 10 e3 20 b4 bc bd b3 29 b2 cc 30 19 | 62 92 83 1c 26 ef ab ec 96 e2 47 f9 7f 58 00 ef | d4 b0 bb a4 1f f4 5d 90 1b ea ce 7c 05 b5 f7 bd | 98 97 bb 2e 0c 82 00 35 18 44 55 12 75 9c 28 f2 | 56 a7 40 1c 5f b6 49 7a c3 87 49 66 b0 a5 a3 cd | b4 0d 0f a3 c7 9f e3 1b 7c 9f 60 a0 b1 b4 21 28 | 30 3a 21 72 72 3c 27 35 c0 e7 02 bd 9b 4c 14 a3 | 97 94 d2 ee 76 1c bb a6 29 00 00 24 46 56 1c 8f | e2 23 20 9f 66 ee dd dc 92 6a 86 75 20 6a 3b de | 76 ee 79 7a ba 93 cf f3 73 6a 88 b1 29 00 00 08 | 00 00 40 2e 29 00 00 1c 00 00 40 04 42 a0 3d 38 | f7 05 fa a5 b6 6f 4f 69 49 c2 89 f3 65 6c 00 8e | 00 00 00 1c 00 00 40 05 60 92 a5 c4 37 a3 61 6b | 9a e3 bc 80 1a 51 03 42 07 bf d9 da | state #13 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x7f1a980033f8 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x559ecd5d3728 | event_schedule: new EVENT_SO_DISCARD-pe@0x559ecd5d3728 | inserting event EVENT_SO_DISCARD, timeout in 200 seconds for #13 | libevent_malloc: new ptr-libevent@0x559ecd5d3aa8 size 128 | resume sending helper answer for #13 suppresed complete_v2_state_transition() | #13 spent 0.38 milliseconds in resume sending helper answer | stop processing: state #13 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in resume_handler() at server.c:833) | libevent_free: release ptr-libevent@0x7f1a8c004c28 | spent 0.0022 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 480 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 1e 28 f5 c2 9c 74 1c 2d 47 43 d0 eb 87 39 69 db | 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | 72 ec 37 c0 50 9d ab dd 06 80 8d ab 25 7c 05 5b | 4a 14 62 d4 98 78 12 d1 7c a8 e4 54 ce 67 49 e3 | 8b 5f 75 00 ae eb 58 8b 83 69 e8 35 c6 59 f4 90 | 17 18 86 a0 71 d5 08 0d 50 45 71 e8 88 79 22 0b | 16 66 b2 c0 e3 1c 0c 4d ce d1 f3 26 41 11 d5 52 | 07 dc fb 63 4c c4 12 8f 7e 50 0c b2 06 17 06 11 | 89 05 95 d8 e2 2c c9 c5 8b 62 d8 f8 21 28 b0 e5 | 22 fa 08 f9 f7 35 8f de 04 4a 25 09 01 20 cd 6b | f3 64 3b 6e 30 d7 36 60 88 db e6 2a 82 fc 1d eb | af 59 3a 08 0c ca 5d 6e 91 cf eb aa f7 23 f3 5d | fc 28 06 87 1b 91 0c 0e 83 b3 9b 8e 7c 48 55 bf | b7 ab cf 01 71 69 a7 55 c3 42 11 00 33 25 11 29 | 00 ce c5 c1 f3 5d 94 42 6e 1f 71 0a 9d 5c a2 24 | 18 91 f4 7a 88 e8 46 21 3f 06 6e 17 85 62 12 10 | 96 fa 88 a2 4a 19 82 1a 2d 62 40 6c b4 73 c0 6d | 0e 1c 06 2e 2a d3 3a e1 5d 37 01 94 09 78 bc c0 | cc f5 1e 9a 1b 3e 10 14 37 81 26 ca cf 16 0a 61 | e1 41 ae df 17 8a 54 5a 06 f3 15 bd 89 fd 2b 72 | e7 46 8a b9 04 62 66 51 97 3a c5 93 6c 95 9f ae | ae 4d c5 90 b2 7e e5 8c b4 99 3c 47 c1 b1 2a 27 | db 3d 39 b3 dc aa cc 13 1f f7 8c 96 ad 27 5b 15 | 16 22 2e b6 78 74 4a 6f d5 7d cc 11 64 bb 53 41 | 3c 61 9e c8 25 e3 95 3b a1 98 82 80 59 99 c7 4f | b1 c7 76 48 42 b2 78 c6 5a 22 75 96 36 a8 b4 86 | 05 e7 4d 33 fe ce da 3d ea b1 c8 9d a1 41 77 aa | 42 d2 e8 e3 a0 e0 dd 1d fe ba a4 31 cb c7 03 9d | 37 4a 28 5f af 1c 3f 23 a0 c2 f1 79 81 0d ad 25 | c8 46 3e 18 36 09 49 2f 46 c4 6f 6c 26 b1 88 64 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 1e 28 f5 c2 9c 74 1c 2d | responder cookie: | 47 43 d0 eb 87 39 69 db | next payload type: ISAKMP_NEXT_v2SK (0x2e) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_IKE_AUTH (0x23) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 1 (0x1) | length: 480 (0x1e0) | processing version=2.0 packet with exchange type=ISAKMP_v2_IKE_AUTH (35) | I am the IKE SA Original Responder receiving an IKEv2 IKE_AUTH request | State DB: found IKEv2 state #13 in PARENT_R1 (find_v2_ike_sa) | start processing: state #13 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2016) | State DB: IKEv2 state not found (find_v2_sa_by_responder_wip) | [RE]START processing: state #13 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ike_process_packet() at ikev2.c:2064) | #13 st.st_msgid_lastrecv 0 md.hdr.isa_msgid 00000001 | Message ID: #13 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0 | unpacking clear payload | Now let's proceed with payload (ISAKMP_NEXT_v2SK) | ***parse IKEv2 Encryption Payload: | next payload type: ISAKMP_NEXT_v2IDi (0x23) | flags: none (0x0) | length: 452 (0x1c4) | processing payload: ISAKMP_NEXT_v2SK (len=448) | Message ID: start-responder #13 request 1; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0 wip.initiator=-1 wip.responder=-1->1 | #13 in state PARENT_R1: received v2I1, sent v2R1 | selected state microcode Responder: process IKE_AUTH request (no SKEYSEED) | Now let's proceed with state specific processing | calling processor Responder: process IKE_AUTH request (no SKEYSEED) | ikev2 parent inI2outR2: calculating g^{xy} in order to decrypt I2 | offloading IKEv2 SKEYSEED using prf=HMAC_SHA2_256 integ=HMAC_SHA2_256_128 cipherkey=AES_CBC | adding ikev2_inI2outR2 KE work-order 14 for state #13 | state #13 requesting EVENT_SO_DISCARD to be deleted | libevent_free: release ptr-libevent@0x559ecd5d3aa8 | free_event_entry: release EVENT_SO_DISCARD-pe@0x559ecd5d3728 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x559ecd5d3728 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #13 | libevent_malloc: new ptr-libevent@0x7f1a8c004c28 size 128 | #13 spent 0.0272 milliseconds in processing: Responder: process IKE_AUTH request (no SKEYSEED) in ikev2_process_state_packet() | [RE]START processing: state #13 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #13 complete_v2_state_transition() PARENT_R1->PARENT_R1 with status STF_SUSPEND | suspending state #13 and saving MD | #13 is busy; has a suspended MD | crypto helper 6 resuming | crypto helper 6 starting work-order 14 for state #13 | [RE]START processing: state #13 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in log_stf_suspend() at ikev2.c:3269) | crypto helper 6 doing compute dh (V2) (ikev2_inI2outR2 KE); request ID 14 | "westnet-eastnet-ikev2" #13 complete v2 state STATE_PARENT_R1 transition with STF_SUSPEND suspended from complete_v2_state_transition:3451 | stop processing: state #13 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2018) | #13 spent 0.205 milliseconds in ikev2_process_packet() | stop processing: from 192.1.2.45:500 (in process_md() at demux.c:380) | processing: STOP state #0 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.216 milliseconds in comm_handle_cb() reading and processing packet | calculating skeyseed using prf=sha2_256 integ=sha2_256 cipherkey-size=32 salt-size=0 | crypto helper 6 finished compute dh (V2) (ikev2_inI2outR2 KE); request ID 14 time elapsed 0.004289 seconds | (#13) spent 3.34 milliseconds in crypto helper computing work-order 14: ikev2_inI2outR2 KE (pcr) | crypto helper 6 sending results from work-order 14 for state #13 to event queue | scheduling resume sending helper answer for #13 | libevent_malloc: new ptr-libevent@0x7f1a90004148 size 128 | crypto helper 6 waiting (nothing to do) | processing resume sending helper answer for #13 | start processing: state #13 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in resume_handler() at server.c:797) | crypto helper 6 replies to request ID 14 | calling continuation function 0x559ecc457b50 | ikev2_parent_inI2outR2_continue for #13: calculating g^{xy}, sending R2 | #13 in state PARENT_R1: received v2I1, sent v2R1 | data for hmac: 1e 28 f5 c2 9c 74 1c 2d 47 43 d0 eb 87 39 69 db | data for hmac: 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | data for hmac: 72 ec 37 c0 50 9d ab dd 06 80 8d ab 25 7c 05 5b | data for hmac: 4a 14 62 d4 98 78 12 d1 7c a8 e4 54 ce 67 49 e3 | data for hmac: 8b 5f 75 00 ae eb 58 8b 83 69 e8 35 c6 59 f4 90 | data for hmac: 17 18 86 a0 71 d5 08 0d 50 45 71 e8 88 79 22 0b | data for hmac: 16 66 b2 c0 e3 1c 0c 4d ce d1 f3 26 41 11 d5 52 | data for hmac: 07 dc fb 63 4c c4 12 8f 7e 50 0c b2 06 17 06 11 | data for hmac: 89 05 95 d8 e2 2c c9 c5 8b 62 d8 f8 21 28 b0 e5 | data for hmac: 22 fa 08 f9 f7 35 8f de 04 4a 25 09 01 20 cd 6b | data for hmac: f3 64 3b 6e 30 d7 36 60 88 db e6 2a 82 fc 1d eb | data for hmac: af 59 3a 08 0c ca 5d 6e 91 cf eb aa f7 23 f3 5d | data for hmac: fc 28 06 87 1b 91 0c 0e 83 b3 9b 8e 7c 48 55 bf | data for hmac: b7 ab cf 01 71 69 a7 55 c3 42 11 00 33 25 11 29 | data for hmac: 00 ce c5 c1 f3 5d 94 42 6e 1f 71 0a 9d 5c a2 24 | data for hmac: 18 91 f4 7a 88 e8 46 21 3f 06 6e 17 85 62 12 10 | data for hmac: 96 fa 88 a2 4a 19 82 1a 2d 62 40 6c b4 73 c0 6d | data for hmac: 0e 1c 06 2e 2a d3 3a e1 5d 37 01 94 09 78 bc c0 | data for hmac: cc f5 1e 9a 1b 3e 10 14 37 81 26 ca cf 16 0a 61 | data for hmac: e1 41 ae df 17 8a 54 5a 06 f3 15 bd 89 fd 2b 72 | data for hmac: e7 46 8a b9 04 62 66 51 97 3a c5 93 6c 95 9f ae | data for hmac: ae 4d c5 90 b2 7e e5 8c b4 99 3c 47 c1 b1 2a 27 | data for hmac: db 3d 39 b3 dc aa cc 13 1f f7 8c 96 ad 27 5b 15 | data for hmac: 16 22 2e b6 78 74 4a 6f d5 7d cc 11 64 bb 53 41 | data for hmac: 3c 61 9e c8 25 e3 95 3b a1 98 82 80 59 99 c7 4f | data for hmac: b1 c7 76 48 42 b2 78 c6 5a 22 75 96 36 a8 b4 86 | data for hmac: 05 e7 4d 33 fe ce da 3d ea b1 c8 9d a1 41 77 aa | data for hmac: 42 d2 e8 e3 a0 e0 dd 1d fe ba a4 31 cb c7 03 9d | data for hmac: 37 4a 28 5f af 1c 3f 23 a0 c2 f1 79 81 0d ad 25 | calculated auth: c8 46 3e 18 36 09 49 2f 46 c4 6f 6c 26 b1 88 64 | provided auth: c8 46 3e 18 36 09 49 2f 46 c4 6f 6c 26 b1 88 64 | authenticator matched | #13 ikev2 ISAKMP_v2_IKE_AUTH decrypt success | Now let's proceed with payload (ISAKMP_NEXT_v2IDi) | **parse IKEv2 Identification - Initiator - Payload: | next payload type: ISAKMP_NEXT_v2IDr (0x24) | flags: none (0x0) | length: 12 (0xc) | ID type: ID_FQDN (0x2) | processing payload: ISAKMP_NEXT_v2IDi (len=4) | Now let's proceed with payload (ISAKMP_NEXT_v2IDr) | **parse IKEv2 Identification - Responder - Payload: | next payload type: ISAKMP_NEXT_v2AUTH (0x27) | flags: none (0x0) | length: 12 (0xc) | ID type: ID_FQDN (0x2) | 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: 282 (0x11a) | auth method: IKEv2_AUTH_RSA (0x1) | processing payload: ISAKMP_NEXT_v2AUTH (len=274) | 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: 56 (0x38) | processing payload: ISAKMP_NEXT_v2SA (len=52) | 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 (0x18) | number of TS: 1 (0x1) | 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 (0x18) | number of TS: 1 (0x1) | processing payload: ISAKMP_NEXT_v2TSr (len=16) | selected state microcode Responder: process IKE_AUTH request | Now let's proceed with state specific processing | calling processor Responder: process IKE_AUTH request "westnet-eastnet-ikev2" #13: processing decrypted IKE_AUTH request: SK{IDi,IDr,AUTH,SA,TSi,TSr} | #13 updating local interface from 192.1.2.23:500 to 192.1.2.23:500 using md->iface (in update_ike_endpoints() at state.c:2669) | received IDr payload - extracting our alleged ID | refine_host_connection for IKEv2: starting with "westnet-eastnet-ikev2" | match_id a=@west | b=@west | results matched | refine_host_connection: checking "westnet-eastnet-ikev2" against "westnet-eastnet-ikev2", best=(none) with match=1(id=1(0)/ca=1(0)/reqca=1(0)) | Warning: not switching back to template of current instance | Peer expects us to be @east (ID_FQDN) according to its IDr payload | This connection's local id is @east (ID_FQDN) | refine_host_connection: checked westnet-eastnet-ikev2 against westnet-eastnet-ikev2, now for see if best | started looking for secret for @east->@west of kind PKK_RSA | actually looking for secret for @east->@west of kind PKK_RSA | line 1: key type PKK_RSA(@east) to type PKK_RSA | 1: compared key (none) to @east / @west -> 002 | 2: compared key (none) to @east / @west -> 002 | line 1: match=002 | match 002 beats previous best_match 000 match=0x559ecd52ab58 (line=1) | concluding with best_match=002 best=0x559ecd52ab58 (lineno=1) | returning because exact peer id match | offered CA: '%none' "westnet-eastnet-ikev2" #13: IKEv2 mode peer ID is ID_FQDN: '@west' | verifying AUTH payload | required RSA CA is '%any' | checking RSA keyid '@east' for match with '@west' | checking RSA keyid '@west' for match with '@west' | key issuer CA is '%any' | an RSA Sig check passed with *AQOm9dY/4 [preloaded key] | #13 spent 0.0463 milliseconds in try_all_RSA_keys() trying a pubkey "westnet-eastnet-ikev2" #13: Authenticated using RSA | #13 spent 0.0708 milliseconds in ikev2_verify_rsa_hash() | parent state #13: PARENT_R1(half-open IKE SA) => PARENT_R2(established IKE SA) | #13 will start re-keying in 3330 seconds with margin of 270 seconds (attempting re-key) | state #13 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x7f1a8c004c28 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x559ecd5d3728 | event_schedule: new EVENT_SA_REKEY-pe@0x559ecd5d3728 | inserting event EVENT_SA_REKEY, timeout in 3330 seconds for #13 | libevent_malloc: new ptr-libevent@0x559ecd5e0518 size 128 | pstats #13 ikev2.ike established | **emit ISAKMP Message: | initiator cookie: | 1e 28 f5 c2 9c 74 1c 2d | responder cookie: | 47 43 d0 eb 87 39 69 db | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_IKE_AUTH (0x23) | flags: ISAKMP_FLAG_v2_MSG_RESPONSE (0x20) | Message ID: 1 (0x1) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | IKEv2 CERT: send a certificate? | IKEv2 CERT: no certificate to send | ***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 | Initiator child policy is compress=no, NOT sending v2N_IPCOMP_SUPPORTED | ****emit IKEv2 Identification - Responder - Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | ID type: ID_FQDN (0x2) | next payload chain: setting previous 'IKEv2 Encryption Payload'.'next payload type' to current IKEv2 Identification - Responder - Payload (36:ISAKMP_NEXT_v2IDr) | next payload chain: saving location 'IKEv2 Identification - Responder - Payload'.'next payload type' in 'reply packet' | emitting 4 raw bytes of my identity into IKEv2 Identification - Responder - Payload | my identity 65 61 73 74 | emitting length of IKEv2 Identification - Responder - Payload: 12 | assembled IDr payload | CHILD SA proposals received | going to assemble AUTH payload | ****emit IKEv2 Authentication Payload: | next payload type: ISAKMP_NEXT_v2SA (0x21) | flags: none (0x0) | auth method: IKEv2_AUTH_RSA (0x1) | next payload chain: ignoring supplied 'IKEv2 Authentication Payload'.'next payload type' value 33:ISAKMP_NEXT_v2SA | 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' | started looking for secret for @east->@west of kind PKK_RSA | actually looking for secret for @east->@west of kind PKK_RSA | line 1: key type PKK_RSA(@east) to type PKK_RSA | 1: compared key (none) to @east / @west -> 002 | 2: compared key (none) to @east / @west -> 002 | line 1: match=002 | match 002 beats previous best_match 000 match=0x559ecd52ab58 (line=1) | concluding with best_match=002 best=0x559ecd52ab58 (lineno=1) | #13 spent 3.81 milliseconds in ikev2_calculate_rsa_hash() calling sign_hash_RSA() | emitting 274 raw bytes of rsa signature into IKEv2 Authentication Payload | rsa signature 26 39 3a cb 5e dd f3 ce 9f b2 a2 16 89 be 83 8a | rsa signature b6 54 66 c2 21 54 59 00 31 42 c5 29 16 c0 62 81 | rsa signature a6 c0 16 9b fc 9e 0f b5 8d 2e a3 f5 01 7d df ea | rsa signature 27 9b e2 9a a2 d3 07 78 83 00 d5 df 40 62 ab 1d | rsa signature 83 d3 21 60 c7 42 7e 2d 90 52 58 24 65 e2 77 35 | rsa signature 6d d4 8d a5 bf aa 17 58 8a 72 20 03 9f d4 b8 c8 | rsa signature 62 42 a3 35 4b 4e 30 69 f3 16 bd 1b 6b 5a b7 52 | rsa signature c0 9e 2f 50 97 6e dc 1b 22 7c ef 35 57 10 b3 c0 | rsa signature 20 af aa 70 60 bf 0e 86 04 64 62 10 77 8e 9c 62 | rsa signature 3a 45 8d 7e cd e0 64 1e 16 96 75 37 d2 3e f0 32 | rsa signature 8e f9 32 d7 59 d5 01 23 21 7a 57 fc d4 1f 1c f0 | rsa signature 29 fa fb 2a ed 8a 8f 51 ed 74 11 33 b6 79 9c c0 | rsa signature 7c 53 5c 13 a5 63 03 cb d8 e2 bc 72 80 6f 5b 9c | rsa signature 0e 51 a2 71 cb f1 a6 3a 43 bc 98 4d d8 9b 05 b7 | rsa signature e6 ef a3 3e 98 64 b4 21 1a 3d 1d 27 4e 41 e0 c3 | rsa signature e6 90 ad 4c 6b 16 d9 7d c2 72 55 d2 d1 2b 2c d6 | rsa signature 3d ca 23 dc 06 0d 28 e8 40 65 de 77 d4 29 08 48 | rsa signature 7f 52 | #13 spent 3.87 milliseconds in ikev2_calculate_rsa_hash() | emitting length of IKEv2 Authentication Payload: 282 | creating state object #14 at 0x559ecd5e6388 | State DB: adding IKEv2 state #14 in UNDEFINED | pstats #14 ikev2.child started | duplicating state object #13 "westnet-eastnet-ikev2" as #14 for IPSEC SA | #14 setting local endpoint to 192.1.2.23:500 from #13.st_localport (in duplicate_state() at state.c:1484) | Message ID: init_child #13.#14; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0; child: wip.initiator=0->-1 wip.responder=0->-1 | Message ID: switch-from #13 request 1; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0 wip.initiator=-1 wip.responder=1->-1 | Message ID: switch-to #13.#14 request 1; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0; child: wip.initiator=-1 wip.responder=-1->1 | Child SA TS Request has ike->sa == md->st; so using parent connection | TSi: parsing 1 traffic selectors | ***parse IKEv2 Traffic Selector: | TS type: IKEv2_TS_IPV4_ADDR_RANGE (0x7) | IP Protocol ID: 0 (0x0) | length: 16 (0x10) | start port: 0 (0x0) | end port: 65535 (0xffff) | 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: 0 (0x0) | length: 16 (0x10) | start port: 0 (0x0) | end port: 65535 (0xffff) | parsing 4 raw bytes of IKEv2 Traffic Selector into TS low | TS low c0 00 02 00 | parsing 4 raw bytes of IKEv2 Traffic Selector into TS high | TS high c0 00 02 ff | TSr: parsed 1 traffic selectors | looking for best SPD in current connection | evaluating our conn="westnet-eastnet-ikev2" I=192.0.1.0/24:0/0 R=192.0.2.0/24:0/0 to their: | TSi[0] .net=192.0.1.0-192.0.1.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.1.0/24 == TSi[0]net=192.0.1.0-192.0.1.255: YES fitness 32 | narrow port end=0..65535 == TSi[0]=0..65535: 0 | TSi[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSi[0]=*0: 0 | match end->protocol=*0 == TSi[0].ipprotoid=*0: YES fitness 255 | TSr[0] .net=192.0.2.0-192.0.2.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.2.0/24 == TSr[0]net=192.0.2.0-192.0.2.255: YES fitness 32 | narrow port end=0..65535 == TSr[0]=0..65535: 0 | TSr[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSr[0]=*0: 0 | match end->protocol=*0 == TSr[0].ipprotoid=*0: YES fitness 255 | best fit so far: TSi[0] TSr[0] | found better spd route for TSi[0],TSr[0] | looking for better host pair | find_host_pair: comparing 192.1.2.23:500 to 192.1.2.45:500 but ignoring ports | checking hostpair 192.0.2.0/24 -> 192.0.1.0/24 is found | investigating connection "westnet-eastnet-ikev2" as a better match | match_id a=@west | b=@west | results matched | evaluating our conn="westnet-eastnet-ikev2" I=192.0.1.0/24:0/0 R=192.0.2.0/24:0/0 to their: | TSi[0] .net=192.0.1.0-192.0.1.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.1.0/24 == TSi[0]net=192.0.1.0-192.0.1.255: YES fitness 32 | narrow port end=0..65535 == TSi[0]=0..65535: 0 | TSi[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSi[0]=*0: 0 | match end->protocol=*0 == TSi[0].ipprotoid=*0: YES fitness 255 | TSr[0] .net=192.0.2.0-192.0.2.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.2.0/24 == TSr[0]net=192.0.2.0-192.0.2.255: YES fitness 32 | narrow port end=0..65535 == TSr[0]=0..65535: 0 | TSr[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSr[0]=*0: 0 | match end->protocol=*0 == TSr[0].ipprotoid=*0: YES fitness 255 | best fit so far: TSi[0] TSr[0] | did not find a better connection using host pair | printing contents struct traffic_selector | ts_type: IKEv2_TS_IPV4_ADDR_RANGE | ipprotoid: 0 | port range: 0-65535 | ip range: 192.0.2.0-192.0.2.255 | printing contents struct traffic_selector | ts_type: IKEv2_TS_IPV4_ADDR_RANGE | ipprotoid: 0 | port range: 0-65535 | ip range: 192.0.1.0-192.0.1.255 | using existing local ESP/AH proposals for westnet-eastnet-ikev2 (IKE_AUTH responder matching remote ESP/AH proposals): 1:ESP:ENCR=AES_GCM_C_256;INTEG=NONE;DH=NONE;ESN=DISABLED 2:ESP:ENCR=AES_GCM_C_128;INTEG=NONE;DH=NONE;ESN=DISABLED 3:ESP:ENCR=AES_CBC_256;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=NONE;ESN=DISABLED 4:ESP:ENCR=AES_CBC_128;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=NONE;ESN=DISABLED | Comparing remote proposals against IKE_AUTH responder matching remote ESP/AH proposals 4 local proposals | local proposal 1 type ENCR has 1 transforms | local proposal 1 type PRF has 0 transforms | local proposal 1 type INTEG has 1 transforms | local proposal 1 type DH has 1 transforms | local proposal 1 type ESN has 1 transforms | local proposal 1 transforms: required: ENCR+ESN; optional: INTEG+DH | local proposal 2 type ENCR has 1 transforms | local proposal 2 type PRF has 0 transforms | local proposal 2 type INTEG has 1 transforms | local proposal 2 type DH has 1 transforms | local proposal 2 type ESN has 1 transforms | local proposal 2 transforms: required: ENCR+ESN; optional: INTEG+DH | local proposal 3 type ENCR has 1 transforms | local proposal 3 type PRF has 0 transforms | local proposal 3 type INTEG has 2 transforms | local proposal 3 type DH has 1 transforms | local proposal 3 type ESN has 1 transforms | local proposal 3 transforms: required: ENCR+INTEG+ESN; optional: DH | local proposal 4 type ENCR has 1 transforms | local proposal 4 type PRF has 0 transforms | local proposal 4 type INTEG has 2 transforms | local proposal 4 type DH has 1 transforms | local proposal 4 type ESN has 1 transforms | local proposal 4 transforms: required: ENCR+INTEG+ESN; optional: DH | ***parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | length: 52 (0x34) | prop #: 1 (0x1) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (0x4) | # transforms: 4 (0x4) | parsing 4 raw bytes of IKEv2 Proposal Substructure Payload into remote SPI | remote SPI 8d 2a 3a 4e | Comparing remote proposal 1 containing 4 transforms against local proposal [1..4] of 4 local proposals | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 12 (0xc) | 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 (0x80) | remote proposal 1 transform 0 (ENCR=AES_CBC_128) matches local proposal 4 type 1 (ENCR) transform 0 | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 12 (0xc) | IKEv2 transform type: TRANS_TYPE_ENCR (0x1) | IKEv2 transform ID: AES_CBC (0xc) | *****parse IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 256 (0x100) | remote proposal 1 transform 1 (ENCR=AES_CBC_256) matches local proposal 3 type 1 (ENCR) transform 0 | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | 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 3 type 3 (INTEG) transform 1 | remote proposal 1 transform 2 (INTEG=HMAC_SHA2_256_128) matches local proposal 4 type 3 (INTEG) transform 1 | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_LAST (0x0) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_ESN (0x5) | IKEv2 transform ID: ESN_DISABLED (0x0) | remote proposal 1 transform 3 (ESN=DISABLED) matches local proposal 1 type 5 (ESN) transform 0 | remote proposal 1 transform 3 (ESN=DISABLED) matches local proposal 2 type 5 (ESN) transform 0 | remote proposal 1 transform 3 (ESN=DISABLED) matches local proposal 3 type 5 (ESN) transform 0 | remote proposal 1 transform 3 (ESN=DISABLED) matches local proposal 4 type 5 (ESN) transform 0 | remote proposal 1 proposed transforms: ENCR+INTEG+ESN; matched: ENCR+INTEG+ESN; unmatched: none | comparing remote proposal 1 containing ENCR+INTEG+ESN transforms to local proposal 1; required: ENCR+ESN; optional: INTEG+DH; matched: ESN | remote proposal 1 does not match local proposal 1; unmatched transforms: ENCR+INTEG; missing transforms: ENCR | comparing remote proposal 1 containing ENCR+INTEG+ESN transforms to local proposal 2; required: ENCR+ESN; optional: INTEG+DH; matched: ESN | remote proposal 1 does not match local proposal 2; unmatched transforms: ENCR+INTEG; missing transforms: ENCR | comparing remote proposal 1 containing ENCR+INTEG+ESN transforms to local proposal 3; required: ENCR+INTEG+ESN; optional: DH; matched: ENCR+INTEG+ESN | remote proposal 1 matches local proposal 3 "westnet-eastnet-ikev2" #13: proposal 1:ESP:SPI=8d2a3a4e;ENCR=AES_CBC_256;INTEG=HMAC_SHA2_256_128;ESN=DISABLED chosen from remote proposals 1:ESP:ENCR=AES_CBC_128;ENCR=AES_CBC_256;INTEG=HMAC_SHA2_256_128;ESN=DISABLED[first-match] | IKE_AUTH responder matching remote ESP/AH proposals ikev2_proposal: 1:ESP:SPI=8d2a3a4e;ENCR=AES_CBC_256;INTEG=HMAC_SHA2_256_128;ESN=DISABLED | converting proposal to internal trans attrs | netlink_get_spi: allocated 0x10110dc5 for esp.0@192.1.2.23 | Emitting ikev2_proposal ... | ****emit IKEv2 Security Association Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'IKEv2 Authentication Payload'.'next payload type' to current IKEv2 Security Association Payload (33:ISAKMP_NEXT_v2SA) | next payload chain: saving location 'IKEv2 Security Association Payload'.'next payload type' in 'reply packet' | *****emit IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | prop #: 1 (0x1) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (0x4) | # transforms: 3 (0x3) | 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 10 11 0d c5 | ******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 (0x100) | 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_256_128 (0xc) | last substructure: checking 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' 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' 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 | emitting length of IKEv2 Security Association Payload: 44 | 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 (0x1) | 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: 0 (0x0) | start port: 0 (0x0) | end port: 65535 (0xffff) | emitting 4 raw bytes of ipv4 start into IKEv2 Traffic Selector | ipv4 start c0 00 01 00 | emitting 4 raw bytes of ipv4 end into IKEv2 Traffic Selector | ipv4 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 (0x1) | 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: 0 (0x0) | start port: 0 (0x0) | end port: 65535 (0xffff) | emitting 4 raw bytes of ipv4 start into IKEv2 Traffic Selector | ipv4 start c0 00 02 00 | emitting 4 raw bytes of ipv4 end into IKEv2 Traffic Selector | ipv4 end c0 00 02 ff | emitting length of IKEv2 Traffic Selector: 16 | emitting length of IKEv2 Traffic Selector - Responder - Payload: 24 | Initiator child policy is compress=no, NOT sending v2N_IPCOMP_SUPPORTED | integ=sha2_256: .key_size=32 encrypt=aes: .key_size=32 .salt_size=0 keymat_len=64 | FOR_EACH_CONNECTION_... in ISAKMP_SA_established | install_ipsec_sa() for #14: inbound and outbound | could_route called for westnet-eastnet-ikev2 (kind=CK_PERMANENT) | 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" prospective erouted: self; eroute owner: self | looking for alg with encrypt: AES_CBC keylen: 256 integ: HMAC_SHA2_256_128 | encrypt AES_CBC keylen=256 transid=12, key_size=32, encryptalg=12 | st->st_esp.keymat_len=64 is encrypt_keymat_size=32 + integ_keymat_size=32 | 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 | 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.8d2a3a4e@192.1.2.45 included non-error error | set up outgoing SA, ref=0/0 | looking for alg with encrypt: AES_CBC keylen: 256 integ: HMAC_SHA2_256_128 | encrypt AES_CBC keylen=256 transid=12, key_size=32, encryptalg=12 | st->st_esp.keymat_len=64 is encrypt_keymat_size=32 + integ_keymat_size=32 | 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 | 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.10110dc5@192.1.2.23 included non-error error | priority calculation of connection "westnet-eastnet-ikev2" is 0xfe7e7 | add inbound eroute 192.0.1.0/24:0 --0-> 192.0.2.0/24:0 => tun.10000@192.1.2.23 (raw_eroute) | IPsec Sa SPD priority set to 1042407 | raw_eroute result=success | set up incoming SA, ref=0/0 | sr for #14: prospective erouted | 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" prospective erouted: self; eroute owner: self | route_and_eroute with c: westnet-eastnet-ikev2 (next: none) ero:westnet-eastnet-ikev2 esr:{(nil)} ro:westnet-eastnet-ikev2 rosr:{(nil)} and state: #14 | priority calculation of connection "westnet-eastnet-ikev2" is 0xfe7e7 | eroute_connection replace eroute 192.0.2.0/24:0 --0-> 192.0.1.0/24:0 => tun.0@192.1.2.45>tun.0@192.1.2.45 (raw_eroute) | IPsec Sa SPD priority set to 1042407 | raw_eroute result=success | running updown command "ipsec _updown" for verb up | command executing up-client | executing up-client: PLUTO_VERB='up-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet-ikev2' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLUTO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@west' PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+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='' VTI_ROUTING='no' VTI_SHARED='no' SPI_IN=0x8d | popen cmd is 1040 chars long | cmd( 0):PLUTO_VERB='up-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet-ike: | cmd( 80):v2' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLU: | cmd( 160):TO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' : | cmd( 240):PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLU: | cmd( 320):TO_SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@: | cmd( 400):west' PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_P: | cmd( 480):EER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUT: | cmd( 560):O_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='RSASIG+EN: | cmd( 640):CRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND=: | cmd( 720):'CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISCO=': | cmd( 800):0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_C: | cmd( 880):FG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' VTI_ROUT: | cmd( 960):ING='no' VTI_SHARED='no' SPI_IN=0x8d2a3a4e SPI_OUT=0x10110dc5 ipsec _updown 2>&1: | route_and_eroute: firewall_notified: true | route_and_eroute: instance "westnet-eastnet-ikev2", setting eroute_owner {spd=0x559ecd5d17e8,sr=0x559ecd5d17e8} to #14 (was #0) (newest_ipsec_sa=#0) | #13 spent 0.861 milliseconds in install_ipsec_sa() | ISAKMP_v2_IKE_AUTH: instance westnet-eastnet-ikev2[0], setting IKEv2 newest_ipsec_sa to #14 (was #0) (spd.eroute=#14) cloned from #13 | adding 14 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 16 zero bytes of length of truncated HMAC/KEY into IKEv2 Encryption Payload | emitting length of IKEv2 Encryption Payload: 436 | emitting length of ISAKMP Message: 464 | data being hmac: 1e 28 f5 c2 9c 74 1c 2d 47 43 d0 eb 87 39 69 db | data being hmac: 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | data being hmac: b8 71 9e 44 a8 58 b7 cb eb 0f e3 44 c9 a8 ea a9 | data being hmac: 9c f3 40 44 42 d6 43 f4 df e9 cd be cf 8f 34 cf | data being hmac: 66 6a 9a 1e 0b fb cf d6 3f a4 a3 b3 81 ca 53 f6 | data being hmac: 69 54 3f f1 16 87 68 30 22 4f 07 8a b8 35 35 a5 | data being hmac: 52 0b c4 51 3d 59 c6 cd da ed ec ba f9 73 8d b4 | data being hmac: 60 6c 85 71 66 5c 3c 4b a1 56 a6 de 67 aa ec a0 | data being hmac: 90 f2 ac 6a 5a 27 17 4b 95 97 ed f4 7d 89 04 a6 | data being hmac: 57 ee 48 a9 27 8d 55 6e 12 32 09 40 78 b7 ea 22 | data being hmac: 8c e9 42 f5 9f 9c e1 cf 02 f3 37 28 2e ec 3f aa | data being hmac: 72 03 e1 bd 03 57 cb 72 cc 15 c3 a6 c2 a3 5d c8 | data being hmac: 7c 55 6b 08 40 79 fb 37 2d d8 82 b7 9b 52 bb c9 | data being hmac: 60 43 d4 54 a7 5d bf 25 c9 9f a0 a7 7f a8 2b c1 | data being hmac: 44 bc 2a 18 30 0a 46 19 ab 83 1f e5 64 41 18 1e | data being hmac: 59 5e 69 5d 6b f1 dd b3 19 a8 50 37 ee 80 9b c9 | data being hmac: 43 ca 70 ed d8 13 db c1 77 48 d8 7e 6e 76 74 f0 | data being hmac: 46 bd f2 2d 53 c7 de 43 ac 33 cf 0c 38 bb 11 36 | data being hmac: 91 c7 7e ff 9f 28 1c 52 3a 5c ce 0d 0f 38 02 c6 | data being hmac: 1f 43 73 41 b0 a6 10 3e d6 53 3e a5 1c 15 26 df | data being hmac: 94 cb 9e c7 71 5c 2d 2b f5 95 66 e5 de 47 12 bf | data being hmac: 22 34 da c3 13 06 a6 e6 85 ce 7b a7 d6 d6 2c 76 | data being hmac: b7 e8 a3 bf 09 54 69 bc 4a e5 27 dd e9 af ba 21 | data being hmac: 3d 90 37 10 07 0d c3 f4 78 7b cf d4 e6 f9 9e 2c | data being hmac: ec a8 a4 1f d6 48 c7 c9 4e 75 65 8d c4 30 2e 41 | data being hmac: 20 af 79 ba 2b 6d 87 89 36 74 b8 f3 0c 77 45 cc | data being hmac: 1a b1 16 d8 bb c3 2c 4b 26 4a b2 34 a1 0c 80 3e | data being hmac: 99 fd f4 ea 7f 55 1c e9 d7 28 83 7d cd ad e4 6b | out calculated auth: | f8 75 9d f3 fa 40 cc 99 10 32 c6 1b a7 c3 b0 55 | ikev2_parent_inI2outR2_continue_tail returned STF_OK | #13 spent 6.09 milliseconds in processing: Responder: process IKE_AUTH request in ikev2_process_state_packet() | suspend processing: state #13 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | start processing: state #14 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #14 complete_v2_state_transition() md.from_state=PARENT_R1 md.svm.state[from]=PARENT_R1 UNDEFINED->V2_IPSEC_R with status STF_OK | IKEv2: transition from state STATE_PARENT_R1 to state STATE_V2_IPSEC_R | child state #14: UNDEFINED(ignore) => V2_IPSEC_R(established CHILD SA) | Message ID: updating counters for #14 to 1 after switching state | Message ID: recv #13.#14 request 1; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0->1; child: wip.initiator=-1 wip.responder=1->-1 | Message ID: sent #13.#14 response 1; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0->1 responder.recv=1; child: wip.initiator=-1 wip.responder=-1 | pstats #14 ikev2.child established "westnet-eastnet-ikev2" #14: negotiated connection [192.0.2.0-192.0.2.255:0-65535 0] -> [192.0.1.0-192.0.1.255:0-65535 0] | NAT-T: encaps is 'auto' "westnet-eastnet-ikev2" #14: STATE_V2_IPSEC_R: IPsec SA established tunnel mode {ESP=>0x8d2a3a4e <0x10110dc5 xfrm=AES_CBC_256-HMAC_SHA2_256_128 NATOA=none NATD=none DPD=passive} | sending V2 new request packet to 192.1.2.45:500 (from 192.1.2.23:500) | sending 464 bytes for STATE_PARENT_R1 through eth1 from 192.1.2.23:500 to 192.1.2.45:500 (using #13) | 1e 28 f5 c2 9c 74 1c 2d 47 43 d0 eb 87 39 69 db | 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | b8 71 9e 44 a8 58 b7 cb eb 0f e3 44 c9 a8 ea a9 | 9c f3 40 44 42 d6 43 f4 df e9 cd be cf 8f 34 cf | 66 6a 9a 1e 0b fb cf d6 3f a4 a3 b3 81 ca 53 f6 | 69 54 3f f1 16 87 68 30 22 4f 07 8a b8 35 35 a5 | 52 0b c4 51 3d 59 c6 cd da ed ec ba f9 73 8d b4 | 60 6c 85 71 66 5c 3c 4b a1 56 a6 de 67 aa ec a0 | 90 f2 ac 6a 5a 27 17 4b 95 97 ed f4 7d 89 04 a6 | 57 ee 48 a9 27 8d 55 6e 12 32 09 40 78 b7 ea 22 | 8c e9 42 f5 9f 9c e1 cf 02 f3 37 28 2e ec 3f aa | 72 03 e1 bd 03 57 cb 72 cc 15 c3 a6 c2 a3 5d c8 | 7c 55 6b 08 40 79 fb 37 2d d8 82 b7 9b 52 bb c9 | 60 43 d4 54 a7 5d bf 25 c9 9f a0 a7 7f a8 2b c1 | 44 bc 2a 18 30 0a 46 19 ab 83 1f e5 64 41 18 1e | 59 5e 69 5d 6b f1 dd b3 19 a8 50 37 ee 80 9b c9 | 43 ca 70 ed d8 13 db c1 77 48 d8 7e 6e 76 74 f0 | 46 bd f2 2d 53 c7 de 43 ac 33 cf 0c 38 bb 11 36 | 91 c7 7e ff 9f 28 1c 52 3a 5c ce 0d 0f 38 02 c6 | 1f 43 73 41 b0 a6 10 3e d6 53 3e a5 1c 15 26 df | 94 cb 9e c7 71 5c 2d 2b f5 95 66 e5 de 47 12 bf | 22 34 da c3 13 06 a6 e6 85 ce 7b a7 d6 d6 2c 76 | b7 e8 a3 bf 09 54 69 bc 4a e5 27 dd e9 af ba 21 | 3d 90 37 10 07 0d c3 f4 78 7b cf d4 e6 f9 9e 2c | ec a8 a4 1f d6 48 c7 c9 4e 75 65 8d c4 30 2e 41 | 20 af 79 ba 2b 6d 87 89 36 74 b8 f3 0c 77 45 cc | 1a b1 16 d8 bb c3 2c 4b 26 4a b2 34 a1 0c 80 3e | 99 fd f4 ea 7f 55 1c e9 d7 28 83 7d cd ad e4 6b | f8 75 9d f3 fa 40 cc 99 10 32 c6 1b a7 c3 b0 55 | releasing whack for #14 (sock=fd@-1) | releasing whack and unpending for parent #13 | unpending state #13 connection "westnet-eastnet-ikev2" | #14 will start re-keying in 28530 seconds with margin of 270 seconds (attempting re-key) | event_schedule: new EVENT_SA_REKEY-pe@0x7f1aa4002b78 | inserting event EVENT_SA_REKEY, timeout in 28530 seconds for #14 | libevent_malloc: new ptr-libevent@0x559ecd5d3aa8 size 128 | resume sending helper answer for #13 suppresed complete_v2_state_transition() | #13 spent 6.41 milliseconds in resume sending helper answer | stop processing: state #14 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in resume_handler() at server.c:833) | libevent_free: release ptr-libevent@0x7f1a90004148 | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00344 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00277 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 80 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 1e 28 f5 c2 9c 74 1c 2d 47 43 d0 eb 87 39 69 db | 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | c9 fe a7 6b d6 5c d6 87 73 cd d3 8f 5a b3 9b 9d | 11 da 93 80 a1 5b ab 2b 3b bb f4 06 dd cb 6f 4a | 88 23 01 56 28 86 b8 e3 ae 0d 73 77 56 88 a6 09 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 1e 28 f5 c2 9c 74 1c 2d | responder cookie: | 47 43 d0 eb 87 39 69 db | next payload type: ISAKMP_NEXT_v2SK (0x2e) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_INFORMATIONAL (0x25) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 2 (0x2) | length: 80 (0x50) | processing version=2.0 packet with exchange type=ISAKMP_v2_INFORMATIONAL (37) | I am the IKE SA Original Responder receiving an IKEv2 INFORMATIONAL request | State DB: found IKEv2 state #13 in PARENT_R2 (find_v2_ike_sa) | start processing: state #13 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2016) | State DB: IKEv2 state not found (find_v2_sa_by_responder_wip) | [RE]START processing: state #13 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ike_process_packet() at ikev2.c:2064) | #13 st.st_msgid_lastrecv 1 md.hdr.isa_msgid 00000002 | Message ID: #13 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=1 responder.recv=1 | 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 (0x34) | processing payload: ISAKMP_NEXT_v2SK (len=48) | Message ID: start-responder #13 request 2; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=1 responder.recv=1 wip.initiator=-1 wip.responder=-1->2 | #13 in state PARENT_R2: received v2I2, PARENT SA established | data for hmac: 1e 28 f5 c2 9c 74 1c 2d 47 43 d0 eb 87 39 69 db | data for hmac: 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | data for hmac: c9 fe a7 6b d6 5c d6 87 73 cd d3 8f 5a b3 9b 9d | data for hmac: 11 da 93 80 a1 5b ab 2b 3b bb f4 06 dd cb 6f 4a | calculated auth: 88 23 01 56 28 86 b8 e3 ae 0d 73 77 56 88 a6 09 | provided auth: 88 23 01 56 28 86 b8 e3 ae 0d 73 77 56 88 a6 09 | authenticator matched | #13 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 (0xc) | protocol ID: PROTO_v2_ESP (0x3) | SPI size: 4 (0x4) | number of SPIs: 1 (0x1) | processing payload: ISAKMP_NEXT_v2D (len=4) | selected state microcode R2: process INFORMATIONAL Request | Now let's proceed with state specific processing | calling processor R2: process INFORMATIONAL Request | an informational request should send a response | Received an INFORMATIONAL response, updating st_last_liveness, no pending_liveness | **emit ISAKMP Message: | initiator cookie: | 1e 28 f5 c2 9c 74 1c 2d | responder cookie: | 47 43 d0 eb 87 39 69 db | 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_MSG_RESPONSE (0x20) | Message ID: 2 (0x2) | 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 8d 2a 3a 4e | delete PROTO_v2_ESP SA(0x8d2a3a4e) | v2 CHILD SA #14 found using their inbound (our outbound) SPI, in STATE_V2_IPSEC_R | State DB: found IKEv2 state #14 in V2_IPSEC_R (find_v2_child_sa_by_outbound_spi) | our side SPI that needs to be deleted: PROTO_v2_ESP SA(0x8d2a3a4e) "westnet-eastnet-ikev2" #13: received Delete SA payload: delete IPsec State #14 now | pstats #14 ikev2.child deleted completed | suspend processing: state #13 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in delete_state() at state.c:879) | start processing: state #14 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in delete_state() at state.c:879) "westnet-eastnet-ikev2" #14: deleting other state #14 (STATE_V2_IPSEC_R) aged 0.100s and NOT sending notification | child state #14: V2_IPSEC_R(established CHILD SA) => delete | get_sa_info esp.8d2a3a4e@192.1.2.45 | get_sa_info esp.10110dc5@192.1.2.23 "westnet-eastnet-ikev2" #14: ESP traffic information: in=0B out=0B | child state #14: V2_IPSEC_R(established CHILD SA) => CHILDSA_DEL(informational) | state #14 requesting EVENT_SA_REKEY to be deleted | libevent_free: release ptr-libevent@0x559ecd5d3aa8 | free_event_entry: release EVENT_SA_REKEY-pe@0x7f1aa4002b78 | running updown command "ipsec _updown" for verb down | command executing down-client | executing down-client: PLUTO_VERB='down-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet-ikev2' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLUTO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@west' PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='1566825097' PLUTO_CONN_POLICY='RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+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='' VTI_ROUTING='no' VTI_SHARED='no | popen cmd is 1051 chars long | cmd( 0):PLUTO_VERB='down-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet-i: | cmd( 80):kev2' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' P: | cmd( 160):LUTO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0: | cmd( 240):' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' P: | cmd( 320):LUTO_SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID=: | cmd( 400):'@west' PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO: | cmd( 480):_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PL: | cmd( 560):UTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='1566825097' PLUTO_CONN_POLICY: | cmd( 640):='RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO: | cmd( 720):_CONN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_P: | cmd( 800):EER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER: | cmd( 880):='' PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE=: | cmd( 960):'' VTI_ROUTING='no' VTI_SHARED='no' SPI_IN=0x8d2a3a4e SPI_OUT=0x10110dc5 ipsec _: | cmd(1040):updown 2>&1: | shunt_eroute() called for connection 'westnet-eastnet-ikev2' to 'replace with shunt' for rt_kind 'prospective erouted' using protoports 0--0->-0 | netlink_shunt_eroute for proto 0, and source port 0 dest port 0 | priority calculation of connection "westnet-eastnet-ikev2" is 0xfe7e7 | IPsec Sa SPD priority set to 1042407 | delete esp.8d2a3a4e@192.1.2.45 | netlink response for Del SA esp.8d2a3a4e@192.1.2.45 included non-error error | priority calculation of connection "westnet-eastnet-ikev2" is 0xfe7e7 | delete inbound eroute 192.0.1.0/24:0 --0-> 192.0.2.0/24:0 => unk255.10000@192.1.2.23 (raw_eroute) | raw_eroute result=success | delete esp.10110dc5@192.1.2.23 | netlink response for Del SA esp.10110dc5@192.1.2.23 included non-error error | in connection_discard for connection westnet-eastnet-ikev2 | State DB: deleting IKEv2 state #14 in CHILDSA_DEL | child state #14: CHILDSA_DEL(informational) => UNDEFINED(ignore) | stop processing: state #14 from 192.1.2.45:500 (in delete_state() at state.c:1143) | resume processing: state #13 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in delete_state() at state.c:1143) | ****emit IKEv2 Delete Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | protocol ID: PROTO_v2_ESP (0x3) | SPI size: 4 (0x4) | number of SPIs: 1 (0x1) | 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 10 11 0d c5 | 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 | data being hmac: 1e 28 f5 c2 9c 74 1c 2d 47 43 d0 eb 87 39 69 db | data being hmac: 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | data being hmac: 4e fa d2 9c 11 b7 cd f0 47 70 36 a3 9b a9 ce 59 | data being hmac: 92 6b 92 23 60 a8 7a b5 35 b8 83 17 1d fe d8 dd | out calculated auth: | cf ed e1 56 f4 da b9 ae 9f 65 18 d7 2b 21 29 73 | sending 80 bytes for reply packet for process_encrypted_informational_ikev2 through eth1 from 192.1.2.23:500 to 192.1.2.45:500 (using #13) | 1e 28 f5 c2 9c 74 1c 2d 47 43 d0 eb 87 39 69 db | 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | 4e fa d2 9c 11 b7 cd f0 47 70 36 a3 9b a9 ce 59 | 92 6b 92 23 60 a8 7a b5 35 b8 83 17 1d fe d8 dd | cf ed e1 56 f4 da b9 ae 9f 65 18 d7 2b 21 29 73 | Message ID: #13 XXX: in process_encrypted_informational_ikev2() hacking around record'n'send bypassing send queue hacking around delete_my_family(); initiator.sent=-1 initiator.recv=-1 responder.sent=1 responder.recv=1 wip.initiator=-1 wip.responder=2 | Message ID: sent #13 response 2; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=1->2 responder.recv=1 wip.initiator=-1 wip.responder=2 | #13 spent 0.816 milliseconds in processing: R2: process INFORMATIONAL Request in ikev2_process_state_packet() | [RE]START processing: state #13 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #13 complete_v2_state_transition() PARENT_R2->PARENT_R2 with status STF_OK | Message ID: updating counters for #13 to 2 after switching state | Message ID: recv #13 request 2; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=1->2 wip.initiator=-1 wip.responder=2->-1 | Message ID: #13 skipping update_send as nothing to send; initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=2 wip.initiator=-1 wip.responder=-1 "westnet-eastnet-ikev2" #13: STATE_PARENT_R2: received v2I2, PARENT SA established | stop processing: state #13 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2018) | #13 spent 0.978 milliseconds in ikev2_process_packet() | stop processing: from 192.1.2.45:500 (in process_md() at demux.c:380) | processing: STOP state #0 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.994 milliseconds in comm_handle_cb() reading and processing packet | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00443 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00185 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 80 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 1e 28 f5 c2 9c 74 1c 2d 47 43 d0 eb 87 39 69 db | 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | 3e 0e ce a0 0f a9 b0 0f 50 d0 ff b3 d2 c3 53 93 | c0 1e 29 3b 3b be 64 77 a2 bf cf 2f 25 71 df 58 | 7a f1 21 15 5a e2 53 45 79 6a a4 2e 56 40 51 cc | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 1e 28 f5 c2 9c 74 1c 2d | responder cookie: | 47 43 d0 eb 87 39 69 db | next payload type: ISAKMP_NEXT_v2SK (0x2e) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_INFORMATIONAL (0x25) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 3 (0x3) | length: 80 (0x50) | processing version=2.0 packet with exchange type=ISAKMP_v2_INFORMATIONAL (37) | I am the IKE SA Original Responder receiving an IKEv2 INFORMATIONAL request | State DB: found IKEv2 state #13 in PARENT_R2 (find_v2_ike_sa) | start processing: state #13 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2016) | State DB: IKEv2 state not found (find_v2_sa_by_responder_wip) | [RE]START processing: state #13 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ike_process_packet() at ikev2.c:2064) | #13 st.st_msgid_lastrecv 2 md.hdr.isa_msgid 00000003 | Message ID: #13 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=2 | 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 (0x34) | processing payload: ISAKMP_NEXT_v2SK (len=48) | Message ID: start-responder #13 request 3; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=2 wip.initiator=-1 wip.responder=-1->3 | #13 in state PARENT_R2: received v2I2, PARENT SA established | data for hmac: 1e 28 f5 c2 9c 74 1c 2d 47 43 d0 eb 87 39 69 db | data for hmac: 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | data for hmac: 3e 0e ce a0 0f a9 b0 0f 50 d0 ff b3 d2 c3 53 93 | data for hmac: c0 1e 29 3b 3b be 64 77 a2 bf cf 2f 25 71 df 58 | calculated auth: 7a f1 21 15 5a e2 53 45 79 6a a4 2e 56 40 51 cc | provided auth: 7a f1 21 15 5a e2 53 45 79 6a a4 2e 56 40 51 cc | authenticator matched | #13 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 (0x8) | protocol ID: PROTO_v2_IKE (0x1) | SPI size: 0 (0x0) | number of SPIs: 0 (0x0) | processing payload: ISAKMP_NEXT_v2D (len=0) | selected state microcode R2: process INFORMATIONAL Request | Now let's proceed with state specific processing | calling processor R2: process INFORMATIONAL Request | an informational request should send a response | Received an INFORMATIONAL response, updating st_last_liveness, no pending_liveness | **emit ISAKMP Message: | initiator cookie: | 1e 28 f5 c2 9c 74 1c 2d | responder cookie: | 47 43 d0 eb 87 39 69 db | 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_MSG_RESPONSE (0x20) | Message ID: 3 (0x3) | 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 | data being hmac: 1e 28 f5 c2 9c 74 1c 2d 47 43 d0 eb 87 39 69 db | data being hmac: 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | data being hmac: b3 dc 21 dd 22 3b a4 2e 58 20 44 f0 c7 14 ea 9a | data being hmac: 33 a0 7c 18 be f4 96 cf fc 8b 79 d3 36 03 d9 d4 | out calculated auth: | 99 b7 0b 3e e1 68 3e cd 07 ff 1a 2b 87 c0 68 3d | sending 80 bytes for reply packet for process_encrypted_informational_ikev2 through eth1 from 192.1.2.23:500 to 192.1.2.45:500 (using #13) | 1e 28 f5 c2 9c 74 1c 2d 47 43 d0 eb 87 39 69 db | 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | b3 dc 21 dd 22 3b a4 2e 58 20 44 f0 c7 14 ea 9a | 33 a0 7c 18 be f4 96 cf fc 8b 79 d3 36 03 d9 d4 | 99 b7 0b 3e e1 68 3e cd 07 ff 1a 2b 87 c0 68 3d | Message ID: #13 XXX: in process_encrypted_informational_ikev2() hacking around record'n'send bypassing send queue hacking around delete_my_family(); initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=2 wip.initiator=-1 wip.responder=3 | Message ID: sent #13 response 3; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=2->3 responder.recv=2 wip.initiator=-1 wip.responder=3 | State DB: IKEv2 state not found (delete_my_family) | parent state #13: PARENT_R2(established IKE SA) => IKESA_DEL(established IKE SA) | pstats #13 ikev2.ike deleted completed | #13 spent 14.7 milliseconds in total | [RE]START processing: state #13 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in delete_state() at state.c:879) "westnet-eastnet-ikev2" #13: deleting state (STATE_IKESA_DEL) aged 0.132s and NOT sending notification | parent state #13: IKESA_DEL(established IKE SA) => delete | state #13 requesting EVENT_SA_REKEY to be deleted | libevent_free: release ptr-libevent@0x559ecd5e0518 | free_event_entry: release EVENT_SA_REKEY-pe@0x559ecd5d3728 | State DB: IKEv2 state not found (flush_incomplete_children) | in connection_discard for connection westnet-eastnet-ikev2 | State DB: deleting IKEv2 state #13 in IKESA_DEL | parent state #13: IKESA_DEL(established IKE SA) => UNDEFINED(ignore) | unreference key: 0x559ecd52ac48 @west cnt 2-- | stop processing: state #13 from 192.1.2.45:500 (in delete_state() at state.c:1143) | in statetime_stop() and could not find #13 | skip start processing: state #0 (in complete_v2_state_transition() at ikev2.c:3379) | #0 complete_v2_state_transition() md.from_state=PARENT_R2 md.svm.state[from]=PARENT_R2 UNDEFINED->PARENT_R2 with status STF_OK | STF_OK but no state object remains | processing: STOP state #0 (in ikev2_process_packet() at ikev2.c:2018) | in statetime_stop() and could not find #13 | stop processing: from 192.1.2.45:500 (in process_md() at demux.c:380) | processing: STOP state #0 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.483 milliseconds in comm_handle_cb() reading and processing packet | spent 0.00316 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 228 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 4a 65 7b 18 63 b1 6d 2c 00 00 00 00 00 00 00 00 | 21 20 22 08 00 00 00 00 00 00 00 e4 22 00 00 3c | 00 00 00 38 01 01 00 05 03 00 00 0c 01 00 00 0c | 80 0e 01 00 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 1f 28 00 00 28 00 1f 00 00 | 9a c0 3b 3c 0b c7 f7 bf e6 98 94 f8 50 64 2a cc | 48 de ce bb e3 1e 7b 81 1b 22 b5 6c fa fe 02 7c | 29 00 00 24 5c 1e 51 e3 de 6a 73 f8 6a 18 f1 e9 | d9 53 19 3b 01 2e 6a ff 36 0f 2d 68 e5 58 55 c3 | de 27 f0 b2 29 00 00 08 00 00 40 2e 29 00 00 1c | 00 00 40 04 90 ef a0 b9 91 c1 b1 e9 f4 c2 6d b1 | 0c 40 85 e0 81 1a a6 95 00 00 00 1c 00 00 40 05 | 53 57 9a 8c d2 73 95 ab fd 78 82 2a ab 50 c1 56 | 68 10 57 87 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 4a 65 7b 18 63 b1 6d 2c | responder cookie: | 00 00 00 00 00 00 00 00 | next payload type: ISAKMP_NEXT_v2SA (0x21) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_IKE_SA_INIT (0x22) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 0 (0x0) | length: 228 (0xe4) | processing version=2.0 packet with exchange type=ISAKMP_v2_IKE_SA_INIT (34) | I am the IKE SA Original Responder receiving an IKEv2 IKE_SA_INIT request | State DB: IKEv2 state not found (find_v2_ike_sa_by_initiator_spi) | Now let's proceed with payload (ISAKMP_NEXT_v2SA) | ***parse IKEv2 Security Association Payload: | next payload type: ISAKMP_NEXT_v2KE (0x22) | flags: none (0x0) | length: 60 (0x3c) | processing payload: ISAKMP_NEXT_v2SA (len=56) | 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: 40 (0x28) | DH group: OAKLEY_GROUP_CURVE25519 (0x1f) | processing payload: ISAKMP_NEXT_v2KE (len=32) | 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 (0x24) | 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 (0x8) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | 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 (0x1c) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | 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 (0x1c) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | Notify Message Type: v2N_NAT_DETECTION_DESTINATION_IP (0x4005) | processing payload: ISAKMP_NEXT_v2N (len=20) | DDOS disabled and no cookie sent, continuing | find_host_connection local=192.1.2.23:500 remote=192.1.2.45:500 policy=ECDSA+IKEV2_ALLOW but ignoring ports | find_host_pair: comparing 192.1.2.23:500 to 192.1.2.45:500 but ignoring ports | find_next_host_connection policy=ECDSA+IKEV2_ALLOW | found policy = RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO (westnet-eastnet-ikev2) | find_next_host_connection returns empty | find_host_connection local=192.1.2.23:500 remote= policy=ECDSA+IKEV2_ALLOW but ignoring ports | find_next_host_connection policy=ECDSA+IKEV2_ALLOW | find_next_host_connection returns empty | initial parent SA message received on 192.1.2.23:500 but no connection has been authorized with policy ECDSA+IKEV2_ALLOW | find_host_connection local=192.1.2.23:500 remote=192.1.2.45:500 policy=RSASIG+IKEV2_ALLOW but ignoring ports | find_host_pair: comparing 192.1.2.23:500 to 192.1.2.45:500 but ignoring ports | find_next_host_connection policy=RSASIG+IKEV2_ALLOW | found policy = RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO (westnet-eastnet-ikev2) | find_next_host_connection returns westnet-eastnet-ikev2 | find_next_host_connection policy=RSASIG+IKEV2_ALLOW | find_next_host_connection returns empty | found connection: westnet-eastnet-ikev2 with policy RSASIG+IKEV2_ALLOW | creating state object #15 at 0x559ecd5d5578 | State DB: adding IKEv2 state #15 in UNDEFINED | pstats #15 ikev2.ike started | Message ID: init #15: msgid=0 lastack=4294967295 nextuse=0 lastrecv=4294967295 lastreplied=0 | parent state #15: UNDEFINED(ignore) => PARENT_R0(half-open IKE SA) | Message ID: init_ike #15; ike: initiator.sent=0->-1 initiator.recv=0->-1 responder.sent=0->-1 responder.recv=0->-1 wip.initiator=0->-1 wip.responder=0->-1 | start processing: state #15 connection "westnet-eastnet-ikev2" from 192.1.2.45 (in ikev2_process_packet() at ikev2.c:2016) | State DB: IKEv2 state not found (find_v2_sa_by_responder_wip) | [RE]START processing: state #15 connection "westnet-eastnet-ikev2" from 192.1.2.45 (in ike_process_packet() at ikev2.c:2064) | #15 st.st_msgid_lastrecv -1 md.hdr.isa_msgid 00000000 | Message ID: #15 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=-1 responder.recv=-1 | Message ID: start-responder #15 request 0; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=-1 responder.recv=-1 wip.initiator=-1 wip.responder=-1->0 | #15 in state PARENT_R0: processing SA_INIT request | selected state microcode Respond to IKE_SA_INIT | Now let's proceed with state specific processing | calling processor Respond to IKE_SA_INIT | #15 updating local interface from 192.1.2.23:500 to 192.1.2.23:500 using md->iface (in update_ike_endpoints() at state.c:2669) | using existing local IKE proposals for connection westnet-eastnet-ikev2 (IKE SA responder matching remote proposals): 1:IKE:ENCR=AES_GCM_C_256;PRF=HMAC_SHA2_512,HMAC_SHA2_256;INTEG=NONE;DH=MODP2048,MODP3072,MODP4096,MODP8192,ECP_256,ECP_384,ECP_521,CURVE25519 2:IKE:ENCR=AES_GCM_C_128;PRF=HMAC_SHA2_512,HMAC_SHA2_256;INTEG=NONE;DH=MODP2048,MODP3072,MODP4096,MODP8192,ECP_256,ECP_384,ECP_521,CURVE25519 3:IKE:ENCR=AES_CBC_256;PRF=HMAC_SHA2_512,HMAC_SHA2_256;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=MODP2048,MODP3072,MODP4096,MODP8192,ECP_256,ECP_384,ECP_521,CURVE25519 4:IKE:ENCR=AES_CBC_128;PRF=HMAC_SHA2_512,HMAC_SHA2_256;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=MODP2048,MODP3072,MODP4096,MODP8192,ECP_256,ECP_384,ECP_521,CURVE25519 | Comparing remote proposals against IKE responder 4 local proposals | local proposal 1 type ENCR has 1 transforms | local proposal 1 type PRF has 2 transforms | local proposal 1 type INTEG has 1 transforms | local proposal 1 type DH has 8 transforms | local proposal 1 type ESN has 0 transforms | local proposal 1 transforms: required: ENCR+PRF+DH; optional: INTEG | local proposal 2 type ENCR has 1 transforms | local proposal 2 type PRF has 2 transforms | local proposal 2 type INTEG has 1 transforms | local proposal 2 type DH has 8 transforms | local proposal 2 type ESN has 0 transforms | local proposal 2 transforms: required: ENCR+PRF+DH; optional: INTEG | local proposal 3 type ENCR has 1 transforms | local proposal 3 type PRF has 2 transforms | local proposal 3 type INTEG has 2 transforms | local proposal 3 type DH has 8 transforms | local proposal 3 type ESN has 0 transforms | local proposal 3 transforms: required: ENCR+PRF+INTEG+DH; optional: none | local proposal 4 type ENCR has 1 transforms | local proposal 4 type PRF has 2 transforms | local proposal 4 type INTEG has 2 transforms | local proposal 4 type DH has 8 transforms | local proposal 4 type ESN has 0 transforms | local proposal 4 transforms: required: ENCR+PRF+INTEG+DH; optional: none | ****parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | length: 56 (0x38) | prop #: 1 (0x1) | proto ID: IKEv2_SEC_PROTO_IKE (0x1) | spi size: 0 (0x0) | # transforms: 5 (0x5) | Comparing remote proposal 1 containing 5 transforms against local proposal [1..4] of 4 local proposals | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 12 (0xc) | IKEv2 transform type: TRANS_TYPE_ENCR (0x1) | IKEv2 transform ID: AES_CBC (0xc) | ******parse IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 256 (0x100) | remote proposal 1 transform 0 (ENCR=AES_CBC_256) matches local proposal 3 type 1 (ENCR) transform 0 | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 12 (0xc) | 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 (0x80) | remote proposal 1 transform 1 (ENCR=AES_CBC_128) matches local proposal 4 type 1 (ENCR) transform 0 | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_PRF (0x2) | IKEv2 transform ID: PRF_HMAC_SHA2_256 (0x5) | remote proposal 1 transform 2 (PRF=HMAC_SHA2_256) matches local proposal 1 type 2 (PRF) transform 1 | remote proposal 1 transform 2 (PRF=HMAC_SHA2_256) matches local proposal 2 type 2 (PRF) transform 1 | remote proposal 1 transform 2 (PRF=HMAC_SHA2_256) matches local proposal 3 type 2 (PRF) transform 1 | remote proposal 1 transform 2 (PRF=HMAC_SHA2_256) matches local proposal 4 type 2 (PRF) transform 1 | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_INTEG (0x3) | IKEv2 transform ID: AUTH_HMAC_SHA2_256_128 (0xc) | remote proposal 1 transform 3 (INTEG=HMAC_SHA2_256_128) matches local proposal 3 type 3 (INTEG) transform 1 | remote proposal 1 transform 3 (INTEG=HMAC_SHA2_256_128) matches local proposal 4 type 3 (INTEG) transform 1 | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_LAST (0x0) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_CURVE25519 (0x1f) | remote proposal 1 transform 4 (DH=CURVE25519) matches local proposal 1 type 4 (DH) transform 7 | remote proposal 1 transform 4 (DH=CURVE25519) matches local proposal 2 type 4 (DH) transform 7 | remote proposal 1 transform 4 (DH=CURVE25519) matches local proposal 3 type 4 (DH) transform 7 | remote proposal 1 transform 4 (DH=CURVE25519) matches local proposal 4 type 4 (DH) transform 7 | 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+DH; optional: INTEG; matched: PRF+DH | remote proposal 1 does not match local proposal 1; unmatched transforms: ENCR+INTEG; missing transforms: ENCR | comparing remote proposal 1 containing ENCR+PRF+INTEG+DH transforms to local proposal 2; required: ENCR+PRF+DH; optional: INTEG; matched: PRF+DH | remote proposal 1 does not match local proposal 2; unmatched transforms: ENCR+INTEG; missing transforms: ENCR | comparing remote proposal 1 containing ENCR+PRF+INTEG+DH transforms to local proposal 3; required: ENCR+PRF+INTEG+DH; optional: none; matched: ENCR+PRF+INTEG+DH | remote proposal 1 matches local proposal 3 "westnet-eastnet-ikev2" #15: proposal 1:IKE:ENCR=AES_CBC_256;PRF=HMAC_SHA2_256;INTEG=HMAC_SHA2_256_128;DH=CURVE25519 chosen from remote proposals 1:IKE:ENCR=AES_CBC_256;ENCR=AES_CBC_128;PRF=HMAC_SHA2_256;INTEG=HMAC_SHA2_256_128;DH=CURVE25519[first-match] | accepted IKE proposal ikev2_proposal: 1:IKE:ENCR=AES_CBC_256;PRF=HMAC_SHA2_256;INTEG=HMAC_SHA2_256_128;DH=CURVE25519 | converting proposal to internal trans attrs | natd_hash: rcookie is zero | natd_hash: hasher=0x559ecc52c800(20) | natd_hash: icookie= 4a 65 7b 18 63 b1 6d 2c | natd_hash: rcookie= 00 00 00 00 00 00 00 00 | natd_hash: ip= c0 01 02 17 | natd_hash: port=500 | natd_hash: hash= 53 57 9a 8c d2 73 95 ab fd 78 82 2a ab 50 c1 56 | natd_hash: hash= 68 10 57 87 | natd_hash: rcookie is zero | natd_hash: hasher=0x559ecc52c800(20) | natd_hash: icookie= 4a 65 7b 18 63 b1 6d 2c | natd_hash: rcookie= 00 00 00 00 00 00 00 00 | natd_hash: ip= c0 01 02 2d | natd_hash: port=500 | natd_hash: hash= 90 ef a0 b9 91 c1 b1 e9 f4 c2 6d b1 0c 40 85 e0 | natd_hash: hash= 81 1a a6 95 | NAT_TRAVERSAL encaps using auto-detect | NAT_TRAVERSAL this end is NOT behind NAT | NAT_TRAVERSAL that end is NOT behind NAT | NAT_TRAVERSAL nat-keepalive enabled 192.1.2.45 | adding ikev2_inI1outR1 KE work-order 15 for state #15 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x559ecd5d3728 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #15 | libevent_malloc: new ptr-libevent@0x7f1a90004148 size 128 | #15 spent 0.276 milliseconds in processing: Respond to IKE_SA_INIT in ikev2_process_state_packet() | [RE]START processing: state #15 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #15 complete_v2_state_transition() PARENT_R0->PARENT_R1 with status STF_SUSPEND | suspending state #15 and saving MD | #15 is busy; has a suspended MD | crypto helper 0 resuming | crypto helper 0 starting work-order 15 for state #15 | [RE]START processing: state #15 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in log_stf_suspend() at ikev2.c:3269) | crypto helper 0 doing build KE and nonce (ikev2_inI1outR1 KE); request ID 15 | "westnet-eastnet-ikev2" #15 complete v2 state STATE_PARENT_R0 transition with STF_SUSPEND suspended from complete_v2_state_transition:3451 | stop processing: state #15 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2018) | #15 spent 0.6 milliseconds in ikev2_process_packet() | stop processing: from 192.1.2.45:500 (in process_md() at demux.c:380) | processing: STOP state #0 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.608 milliseconds in comm_handle_cb() reading and processing packet | putting NSS raw CURVE25519 public key blob on wire | crypto helper 0 finished build KE and nonce (ikev2_inI1outR1 KE); request ID 15 time elapsed 0.000129 seconds | (#15) spent 0.132 milliseconds in crypto helper computing work-order 15: ikev2_inI1outR1 KE (pcr) | crypto helper 0 sending results from work-order 15 for state #15 to event queue | scheduling resume sending helper answer for #15 | libevent_malloc: new ptr-libevent@0x7f1aa4006748 size 128 | crypto helper 0 waiting (nothing to do) | processing resume sending helper answer for #15 | start processing: state #15 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in resume_handler() at server.c:797) | crypto helper 0 replies to request ID 15 | calling continuation function 0x559ecc457b50 | ikev2_parent_inI1outR1_continue for #15: calculated ke+nonce, sending R1 | **emit ISAKMP Message: | initiator cookie: | 4a 65 7b 18 63 b1 6d 2c | responder cookie: | 39 88 b2 b2 72 c6 b0 fd | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_IKE_SA_INIT (0x22) | flags: ISAKMP_FLAG_v2_MSG_RESPONSE (0x20) | Message ID: 0 (0x0) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | Emitting ikev2_proposal ... | ***emit IKEv2 Security Association Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'ISAKMP Message'.'next payload type' to current IKEv2 Security Association Payload (33:ISAKMP_NEXT_v2SA) | next payload chain: saving location 'IKEv2 Security Association Payload'.'next payload type' in 'reply packet' | ****emit IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | prop #: 1 (0x1) | proto ID: IKEv2_SEC_PROTO_IKE (0x1) | spi size: 0 (0x0) | # transforms: 4 (0x4) | 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: 256 (0x100) | 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' 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' 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_CURVE25519 (0x1f) | last substructure: checking 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' 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_CURVE25519 (0x1f) | 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 32 raw bytes of ikev2 g^x into IKEv2 Key Exchange Payload | ikev2 g^x 9e bd 1c 39 44 91 0e 9e 05 a3 28 55 e2 95 70 61 | ikev2 g^x 84 47 96 1f 57 75 0b 45 41 39 41 97 69 68 f2 65 | emitting length of IKEv2 Key Exchange Payload: 40 | ***emit IKEv2 Nonce Payload: | next payload type: ISAKMP_NEXT_v2N (0x29) | flags: none (0x0) | next payload chain: ignoring supplied 'IKEv2 Nonce Payload'.'next payload type' value 41:ISAKMP_NEXT_v2N | 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 b4 26 9a 6b 7a 3e b4 78 43 14 4b c2 a7 e0 4b 35 | IKEv2 nonce c0 bc f5 0c 4e 4d 50 e7 03 c6 20 d6 00 c9 bf ae | 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: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | Notify Message Type: v2N_IKEV2_FRAGMENTATION_SUPPORTED (0x402e) | next payload chain: setting previous 'IKEv2 Nonce Payload'.'next payload type' to current IKEv2 Notify Payload (41:ISAKMP_NEXT_v2N) | next payload chain: saving location 'IKEv2 Notify Payload'.'next payload type' in 'reply packet' | emitting length of IKEv2 Notify Payload: 8 | NAT-Traversal support [enabled] add v2N payloads. | natd_hash: hasher=0x559ecc52c800(20) | natd_hash: icookie= 4a 65 7b 18 63 b1 6d 2c | natd_hash: rcookie= 39 88 b2 b2 72 c6 b0 fd | natd_hash: ip= c0 01 02 17 | natd_hash: port=500 | natd_hash: hash= b6 3d dc 93 73 2c f3 08 77 a7 28 a2 3c 98 e7 8b | natd_hash: hash= 1c 8c c8 be | Adding a v2N Payload | ***emit IKEv2 Notify Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | 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 b6 3d dc 93 73 2c f3 08 77 a7 28 a2 3c 98 e7 8b | Notify data 1c 8c c8 be | emitting length of IKEv2 Notify Payload: 28 | natd_hash: hasher=0x559ecc52c800(20) | natd_hash: icookie= 4a 65 7b 18 63 b1 6d 2c | natd_hash: rcookie= 39 88 b2 b2 72 c6 b0 fd | natd_hash: ip= c0 01 02 2d | natd_hash: port=500 | natd_hash: hash= 1f 24 24 87 25 54 78 7c 1e 69 4e 71 3c 1f d9 71 | natd_hash: hash= c7 70 18 4a | Adding a v2N Payload | ***emit IKEv2 Notify Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | 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 1f 24 24 87 25 54 78 7c 1e 69 4e 71 3c 1f d9 71 | Notify data c7 70 18 4a | emitting length of IKEv2 Notify Payload: 28 | emitting length of ISAKMP Message: 216 | [RE]START processing: state #15 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #15 complete_v2_state_transition() PARENT_R0->PARENT_R1 with status STF_OK | IKEv2: transition from state STATE_PARENT_R0 to state STATE_PARENT_R1 | parent state #15: PARENT_R0(half-open IKE SA) => PARENT_R1(half-open IKE SA) | Message ID: updating counters for #15 to 0 after switching state | Message ID: recv #15 request 0; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=-1 responder.recv=-1->0 wip.initiator=-1 wip.responder=0->-1 | Message ID: sent #15 response 0; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=-1->0 responder.recv=0 wip.initiator=-1 wip.responder=-1 "westnet-eastnet-ikev2" #15: STATE_PARENT_R1: received v2I1, sent v2R1 {auth=IKEv2 cipher=AES_CBC_256 integ=HMAC_SHA2_256_128 prf=HMAC_SHA2_256 group=DH31} | sending V2 new request packet to 192.1.2.45:500 (from 192.1.2.23:500) | sending 216 bytes for STATE_PARENT_R0 through eth1 from 192.1.2.23:500 to 192.1.2.45:500 (using #15) | 4a 65 7b 18 63 b1 6d 2c 39 88 b2 b2 72 c6 b0 fd | 21 20 22 20 00 00 00 00 00 00 00 d8 22 00 00 30 | 00 00 00 2c 01 01 00 04 03 00 00 0c 01 00 00 0c | 80 0e 01 00 03 00 00 08 02 00 00 05 03 00 00 08 | 03 00 00 0c 00 00 00 08 04 00 00 1f 28 00 00 28 | 00 1f 00 00 9e bd 1c 39 44 91 0e 9e 05 a3 28 55 | e2 95 70 61 84 47 96 1f 57 75 0b 45 41 39 41 97 | 69 68 f2 65 29 00 00 24 b4 26 9a 6b 7a 3e b4 78 | 43 14 4b c2 a7 e0 4b 35 c0 bc f5 0c 4e 4d 50 e7 | 03 c6 20 d6 00 c9 bf ae 29 00 00 08 00 00 40 2e | 29 00 00 1c 00 00 40 04 b6 3d dc 93 73 2c f3 08 | 77 a7 28 a2 3c 98 e7 8b 1c 8c c8 be 00 00 00 1c | 00 00 40 05 1f 24 24 87 25 54 78 7c 1e 69 4e 71 | 3c 1f d9 71 c7 70 18 4a | state #15 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x7f1a90004148 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x559ecd5d3728 | event_schedule: new EVENT_SO_DISCARD-pe@0x559ecd5d3728 | inserting event EVENT_SO_DISCARD, timeout in 200 seconds for #15 | libevent_malloc: new ptr-libevent@0x559ecd5e0518 size 128 | resume sending helper answer for #15 suppresed complete_v2_state_transition() | #15 spent 0.315 milliseconds in resume sending helper answer | stop processing: state #15 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in resume_handler() at server.c:833) | libevent_free: release ptr-libevent@0x7f1aa4006748 | spent 0.00319 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 480 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 4a 65 7b 18 63 b1 6d 2c 39 88 b2 b2 72 c6 b0 fd | 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | be e4 54 40 e2 c9 76 fe 35 0a 49 da 20 a4 6a c9 | 64 0d 24 04 06 83 ad 4f 92 94 22 16 14 5e 38 aa | 98 26 aa 5b 87 12 05 08 89 7f 78 d4 4f 40 f9 93 | 3d 1d b1 17 ce cf 95 b6 81 b9 94 6d 27 42 2e ee | 40 25 39 e1 cd 7c bb f3 cd 7c 2f b8 a0 b5 fc 35 | ff 73 5c 08 74 73 ee 66 2c b1 12 bd 29 89 37 b9 | a6 6b 40 d4 36 a6 c8 f0 9c ca d0 39 85 a1 2c 6b | 1d 3e 15 5d e7 84 3d da c5 2a 37 e6 0d 2a 6f 43 | ca 89 ec 68 57 36 60 59 77 78 7e 65 37 82 23 9e | 61 3b 6f a9 3c a9 5e 13 e6 82 91 96 f0 fb 5c e6 | b2 19 89 1a 7a 1b c8 f1 17 88 8c 1c 2d 2c 04 89 | 92 15 77 75 26 7c f6 f3 70 96 8c 93 0a 6d 28 25 | 3c 36 22 d7 7e f5 46 a5 b5 02 f9 cb 12 e8 ba 47 | f2 2a c4 4c 58 ff 01 13 3a 5b 5d cb 68 6c e8 60 | e0 3d e2 81 d5 cf e8 34 59 3c 52 97 19 d6 aa f7 | a8 31 1e 1d c1 f9 10 4b 1a d9 14 9a 25 a3 af 96 | f0 3b c1 47 42 fd 24 77 e1 d6 05 87 6c ef 56 a6 | d1 df 71 be 02 8e d3 a3 42 b5 48 56 c8 bc 86 70 | 0a 67 c8 40 a0 59 70 92 60 6e d0 15 40 94 6a fc | a9 97 52 e3 e7 30 01 61 dd 57 97 1a b7 bb 86 61 | 7b 8a 86 c7 87 d7 00 dc b0 df 67 2e 73 f4 02 f9 | 51 97 17 37 f3 a2 28 41 40 05 68 57 c1 fb e3 6e | d8 2d 9b bd 34 4a e4 ae 67 31 19 ca df 45 a9 a0 | 23 50 70 96 ea ed 3d 20 9c 6f d0 88 61 b6 95 fb | d0 7d 50 01 5f c4 c9 c8 1b 98 10 0c 97 be 06 36 | 9c c1 3a a3 1d e2 4d b8 d0 c3 ae ef e1 5c 22 42 | 7e 94 ed 04 bf 3e e6 74 96 ae 84 e7 c2 99 a1 61 | 23 0b 45 dc 4f 4f ed 7c 93 34 43 9c a9 fc 0a da | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 4a 65 7b 18 63 b1 6d 2c | responder cookie: | 39 88 b2 b2 72 c6 b0 fd | next payload type: ISAKMP_NEXT_v2SK (0x2e) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_IKE_AUTH (0x23) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 1 (0x1) | length: 480 (0x1e0) | processing version=2.0 packet with exchange type=ISAKMP_v2_IKE_AUTH (35) | I am the IKE SA Original Responder receiving an IKEv2 IKE_AUTH request | State DB: found IKEv2 state #15 in PARENT_R1 (find_v2_ike_sa) | start processing: state #15 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2016) | State DB: IKEv2 state not found (find_v2_sa_by_responder_wip) | [RE]START processing: state #15 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ike_process_packet() at ikev2.c:2064) | #15 st.st_msgid_lastrecv 0 md.hdr.isa_msgid 00000001 | Message ID: #15 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0 | unpacking clear payload | Now let's proceed with payload (ISAKMP_NEXT_v2SK) | ***parse IKEv2 Encryption Payload: | next payload type: ISAKMP_NEXT_v2IDi (0x23) | flags: none (0x0) | length: 452 (0x1c4) | processing payload: ISAKMP_NEXT_v2SK (len=448) | Message ID: start-responder #15 request 1; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0 wip.initiator=-1 wip.responder=-1->1 | #15 in state PARENT_R1: received v2I1, sent v2R1 | selected state microcode Responder: process IKE_AUTH request (no SKEYSEED) | Now let's proceed with state specific processing | calling processor Responder: process IKE_AUTH request (no SKEYSEED) | ikev2 parent inI2outR2: calculating g^{xy} in order to decrypt I2 | offloading IKEv2 SKEYSEED using prf=HMAC_SHA2_256 integ=HMAC_SHA2_256_128 cipherkey=AES_CBC | adding ikev2_inI2outR2 KE work-order 16 for state #15 | state #15 requesting EVENT_SO_DISCARD to be deleted | libevent_free: release ptr-libevent@0x559ecd5e0518 | free_event_entry: release EVENT_SO_DISCARD-pe@0x559ecd5d3728 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x559ecd5d3728 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #15 | libevent_malloc: new ptr-libevent@0x7f1aa4006748 size 128 | #15 spent 0.0211 milliseconds in processing: Responder: process IKE_AUTH request (no SKEYSEED) in ikev2_process_state_packet() | [RE]START processing: state #15 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #15 complete_v2_state_transition() PARENT_R1->PARENT_R1 with status STF_SUSPEND | suspending state #15 and saving MD | #15 is busy; has a suspended MD | crypto helper 1 resuming | crypto helper 1 starting work-order 16 for state #15 | [RE]START processing: state #15 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in log_stf_suspend() at ikev2.c:3269) | "westnet-eastnet-ikev2" #15 complete v2 state STATE_PARENT_R1 transition with STF_SUSPEND suspended from complete_v2_state_transition:3451 | stop processing: state #15 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2018) | crypto helper 1 doing compute dh (V2) (ikev2_inI2outR2 KE); request ID 16 | #15 spent 0.148 milliseconds in ikev2_process_packet() | stop processing: from 192.1.2.45:500 (in process_md() at demux.c:380) | processing: STOP state #0 (in process_md() at demux.c:382) | passing raw CURVE25519 public key blob to NSS | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.167 milliseconds in comm_handle_cb() reading and processing packet | calculating skeyseed using prf=sha2_256 integ=sha2_256 cipherkey-size=32 salt-size=0 | crypto helper 1 finished compute dh (V2) (ikev2_inI2outR2 KE); request ID 16 time elapsed 0.000464 seconds | (#15) spent 0.465 milliseconds in crypto helper computing work-order 16: ikev2_inI2outR2 KE (pcr) | crypto helper 1 sending results from work-order 16 for state #15 to event queue | scheduling resume sending helper answer for #15 | libevent_malloc: new ptr-libevent@0x7f1a9c010998 size 128 | crypto helper 1 waiting (nothing to do) | processing resume sending helper answer for #15 | start processing: state #15 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in resume_handler() at server.c:797) | crypto helper 1 replies to request ID 16 | calling continuation function 0x559ecc457b50 | ikev2_parent_inI2outR2_continue for #15: calculating g^{xy}, sending R2 | #15 in state PARENT_R1: received v2I1, sent v2R1 | data for hmac: 4a 65 7b 18 63 b1 6d 2c 39 88 b2 b2 72 c6 b0 fd | data for hmac: 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | data for hmac: be e4 54 40 e2 c9 76 fe 35 0a 49 da 20 a4 6a c9 | data for hmac: 64 0d 24 04 06 83 ad 4f 92 94 22 16 14 5e 38 aa | data for hmac: 98 26 aa 5b 87 12 05 08 89 7f 78 d4 4f 40 f9 93 | data for hmac: 3d 1d b1 17 ce cf 95 b6 81 b9 94 6d 27 42 2e ee | data for hmac: 40 25 39 e1 cd 7c bb f3 cd 7c 2f b8 a0 b5 fc 35 | data for hmac: ff 73 5c 08 74 73 ee 66 2c b1 12 bd 29 89 37 b9 | data for hmac: a6 6b 40 d4 36 a6 c8 f0 9c ca d0 39 85 a1 2c 6b | data for hmac: 1d 3e 15 5d e7 84 3d da c5 2a 37 e6 0d 2a 6f 43 | data for hmac: ca 89 ec 68 57 36 60 59 77 78 7e 65 37 82 23 9e | data for hmac: 61 3b 6f a9 3c a9 5e 13 e6 82 91 96 f0 fb 5c e6 | data for hmac: b2 19 89 1a 7a 1b c8 f1 17 88 8c 1c 2d 2c 04 89 | data for hmac: 92 15 77 75 26 7c f6 f3 70 96 8c 93 0a 6d 28 25 | data for hmac: 3c 36 22 d7 7e f5 46 a5 b5 02 f9 cb 12 e8 ba 47 | data for hmac: f2 2a c4 4c 58 ff 01 13 3a 5b 5d cb 68 6c e8 60 | data for hmac: e0 3d e2 81 d5 cf e8 34 59 3c 52 97 19 d6 aa f7 | data for hmac: a8 31 1e 1d c1 f9 10 4b 1a d9 14 9a 25 a3 af 96 | data for hmac: f0 3b c1 47 42 fd 24 77 e1 d6 05 87 6c ef 56 a6 | data for hmac: d1 df 71 be 02 8e d3 a3 42 b5 48 56 c8 bc 86 70 | data for hmac: 0a 67 c8 40 a0 59 70 92 60 6e d0 15 40 94 6a fc | data for hmac: a9 97 52 e3 e7 30 01 61 dd 57 97 1a b7 bb 86 61 | data for hmac: 7b 8a 86 c7 87 d7 00 dc b0 df 67 2e 73 f4 02 f9 | data for hmac: 51 97 17 37 f3 a2 28 41 40 05 68 57 c1 fb e3 6e | data for hmac: d8 2d 9b bd 34 4a e4 ae 67 31 19 ca df 45 a9 a0 | data for hmac: 23 50 70 96 ea ed 3d 20 9c 6f d0 88 61 b6 95 fb | data for hmac: d0 7d 50 01 5f c4 c9 c8 1b 98 10 0c 97 be 06 36 | data for hmac: 9c c1 3a a3 1d e2 4d b8 d0 c3 ae ef e1 5c 22 42 | data for hmac: 7e 94 ed 04 bf 3e e6 74 96 ae 84 e7 c2 99 a1 61 | calculated auth: 23 0b 45 dc 4f 4f ed 7c 93 34 43 9c a9 fc 0a da | provided auth: 23 0b 45 dc 4f 4f ed 7c 93 34 43 9c a9 fc 0a da | authenticator matched | #15 ikev2 ISAKMP_v2_IKE_AUTH decrypt success | Now let's proceed with payload (ISAKMP_NEXT_v2IDi) | **parse IKEv2 Identification - Initiator - Payload: | next payload type: ISAKMP_NEXT_v2IDr (0x24) | flags: none (0x0) | length: 12 (0xc) | ID type: ID_FQDN (0x2) | processing payload: ISAKMP_NEXT_v2IDi (len=4) | Now let's proceed with payload (ISAKMP_NEXT_v2IDr) | **parse IKEv2 Identification - Responder - Payload: | next payload type: ISAKMP_NEXT_v2AUTH (0x27) | flags: none (0x0) | length: 12 (0xc) | ID type: ID_FQDN (0x2) | 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: 282 (0x11a) | auth method: IKEv2_AUTH_RSA (0x1) | processing payload: ISAKMP_NEXT_v2AUTH (len=274) | 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: 56 (0x38) | processing payload: ISAKMP_NEXT_v2SA (len=52) | 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 (0x18) | number of TS: 1 (0x1) | 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 (0x18) | number of TS: 1 (0x1) | processing payload: ISAKMP_NEXT_v2TSr (len=16) | selected state microcode Responder: process IKE_AUTH request | Now let's proceed with state specific processing | calling processor Responder: process IKE_AUTH request "westnet-eastnet-ikev2" #15: processing decrypted IKE_AUTH request: SK{IDi,IDr,AUTH,SA,TSi,TSr} | #15 updating local interface from 192.1.2.23:500 to 192.1.2.23:500 using md->iface (in update_ike_endpoints() at state.c:2669) | received IDr payload - extracting our alleged ID | refine_host_connection for IKEv2: starting with "westnet-eastnet-ikev2" | match_id a=@west | b=@west | results matched | refine_host_connection: checking "westnet-eastnet-ikev2" against "westnet-eastnet-ikev2", best=(none) with match=1(id=1(0)/ca=1(0)/reqca=1(0)) | Warning: not switching back to template of current instance | Peer expects us to be @east (ID_FQDN) according to its IDr payload | This connection's local id is @east (ID_FQDN) | refine_host_connection: checked westnet-eastnet-ikev2 against westnet-eastnet-ikev2, now for see if best | started looking for secret for @east->@west of kind PKK_RSA | actually looking for secret for @east->@west of kind PKK_RSA | line 1: key type PKK_RSA(@east) to type PKK_RSA | 1: compared key (none) to @east / @west -> 002 | 2: compared key (none) to @east / @west -> 002 | line 1: match=002 | match 002 beats previous best_match 000 match=0x559ecd52ab58 (line=1) | concluding with best_match=002 best=0x559ecd52ab58 (lineno=1) | returning because exact peer id match | offered CA: '%none' "westnet-eastnet-ikev2" #15: IKEv2 mode peer ID is ID_FQDN: '@west' | verifying AUTH payload | required RSA CA is '%any' | checking RSA keyid '@east' for match with '@west' | checking RSA keyid '@west' for match with '@west' | key issuer CA is '%any' | an RSA Sig check passed with *AQOm9dY/4 [preloaded key] | #15 spent 0.0379 milliseconds in try_all_RSA_keys() trying a pubkey "westnet-eastnet-ikev2" #15: Authenticated using RSA | #15 spent 0.0532 milliseconds in ikev2_verify_rsa_hash() | parent state #15: PARENT_R1(half-open IKE SA) => PARENT_R2(established IKE SA) | #15 will start re-keying in 3330 seconds with margin of 270 seconds (attempting re-key) | state #15 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x7f1aa4006748 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x559ecd5d3728 | event_schedule: new EVENT_SA_REKEY-pe@0x559ecd5d3728 | inserting event EVENT_SA_REKEY, timeout in 3330 seconds for #15 | libevent_malloc: new ptr-libevent@0x559ecd5d3aa8 size 128 | pstats #15 ikev2.ike established | **emit ISAKMP Message: | initiator cookie: | 4a 65 7b 18 63 b1 6d 2c | responder cookie: | 39 88 b2 b2 72 c6 b0 fd | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_IKE_AUTH (0x23) | flags: ISAKMP_FLAG_v2_MSG_RESPONSE (0x20) | Message ID: 1 (0x1) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | IKEv2 CERT: send a certificate? | IKEv2 CERT: no certificate to send | ***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 | Initiator child policy is compress=no, NOT sending v2N_IPCOMP_SUPPORTED | ****emit IKEv2 Identification - Responder - Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | ID type: ID_FQDN (0x2) | next payload chain: setting previous 'IKEv2 Encryption Payload'.'next payload type' to current IKEv2 Identification - Responder - Payload (36:ISAKMP_NEXT_v2IDr) | next payload chain: saving location 'IKEv2 Identification - Responder - Payload'.'next payload type' in 'reply packet' | emitting 4 raw bytes of my identity into IKEv2 Identification - Responder - Payload | my identity 65 61 73 74 | emitting length of IKEv2 Identification - Responder - Payload: 12 | assembled IDr payload | CHILD SA proposals received | going to assemble AUTH payload | ****emit IKEv2 Authentication Payload: | next payload type: ISAKMP_NEXT_v2SA (0x21) | flags: none (0x0) | auth method: IKEv2_AUTH_RSA (0x1) | next payload chain: ignoring supplied 'IKEv2 Authentication Payload'.'next payload type' value 33:ISAKMP_NEXT_v2SA | 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' | started looking for secret for @east->@west of kind PKK_RSA | actually looking for secret for @east->@west of kind PKK_RSA | line 1: key type PKK_RSA(@east) to type PKK_RSA | 1: compared key (none) to @east / @west -> 002 | 2: compared key (none) to @east / @west -> 002 | line 1: match=002 | match 002 beats previous best_match 000 match=0x559ecd52ab58 (line=1) | concluding with best_match=002 best=0x559ecd52ab58 (lineno=1) | #15 spent 2.56 milliseconds in ikev2_calculate_rsa_hash() calling sign_hash_RSA() | emitting 274 raw bytes of rsa signature into IKEv2 Authentication Payload | rsa signature 80 4d bb 30 bf 54 6b f8 9a 62 5a e9 1f c5 48 83 | rsa signature ae d9 07 62 d1 af e8 30 77 43 e2 d6 fc 48 5b 88 | rsa signature 5c 08 38 21 c4 55 98 af e6 99 92 f3 7b 0b 63 c4 | rsa signature fb f8 e1 94 5d 14 55 e9 32 79 95 21 30 7f 61 96 | rsa signature af f2 ee 2f ab 90 d2 35 de 99 14 47 d8 e1 7a 26 | rsa signature a3 dd 6b 70 e8 71 d2 34 b1 c6 35 5c c3 7f 35 fc | rsa signature 32 1b 03 62 e6 15 b6 82 60 b2 f5 4f 7b 77 78 88 | rsa signature 68 df e4 3c 82 eb 8b fd 77 1e ac 31 6b 11 2a 0a | rsa signature 9d 9e ab 38 f7 c2 a7 23 1e 88 be 7c ce 8f 57 63 | rsa signature b3 f1 45 d4 a8 4d 71 d3 ad 94 3c cf c2 0c 7b a9 | rsa signature 70 5c c9 8f f5 77 13 de c9 09 33 54 90 44 16 f1 | rsa signature 7b 29 d5 3b 80 6f c1 d6 44 86 b2 19 7d 38 f7 99 | rsa signature 7d a6 a8 75 95 85 73 46 76 e0 5f 8f 38 7c cf 9b | rsa signature 77 51 1f 30 4e df 62 be 08 22 06 42 18 2e 31 21 | rsa signature c0 8e 5b 9c 7a f4 ee 88 24 ab 09 46 9d 6b 26 d0 | rsa signature 24 25 b7 4c 13 f0 a0 38 16 99 c7 65 d1 43 5c 31 | rsa signature 18 05 5a 46 19 2f f5 64 43 a3 73 0c 74 9a cf cb | rsa signature ed 30 | #15 spent 2.62 milliseconds in ikev2_calculate_rsa_hash() | emitting length of IKEv2 Authentication Payload: 282 | creating state object #16 at 0x559ecd5e64e8 | State DB: adding IKEv2 state #16 in UNDEFINED | pstats #16 ikev2.child started | duplicating state object #15 "westnet-eastnet-ikev2" as #16 for IPSEC SA | #16 setting local endpoint to 192.1.2.23:500 from #15.st_localport (in duplicate_state() at state.c:1484) | Message ID: init_child #15.#16; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0; child: wip.initiator=0->-1 wip.responder=0->-1 | Message ID: switch-from #15 request 1; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0 wip.initiator=-1 wip.responder=1->-1 | Message ID: switch-to #15.#16 request 1; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0; child: wip.initiator=-1 wip.responder=-1->1 | Child SA TS Request has ike->sa == md->st; so using parent connection | TSi: parsing 1 traffic selectors | ***parse IKEv2 Traffic Selector: | TS type: IKEv2_TS_IPV4_ADDR_RANGE (0x7) | IP Protocol ID: 0 (0x0) | length: 16 (0x10) | start port: 0 (0x0) | end port: 65535 (0xffff) | 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: 0 (0x0) | length: 16 (0x10) | start port: 0 (0x0) | end port: 65535 (0xffff) | parsing 4 raw bytes of IKEv2 Traffic Selector into TS low | TS low c0 00 02 00 | parsing 4 raw bytes of IKEv2 Traffic Selector into TS high | TS high c0 00 02 ff | TSr: parsed 1 traffic selectors | looking for best SPD in current connection | evaluating our conn="westnet-eastnet-ikev2" I=192.0.1.0/24:0/0 R=192.0.2.0/24:0/0 to their: | TSi[0] .net=192.0.1.0-192.0.1.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.1.0/24 == TSi[0]net=192.0.1.0-192.0.1.255: YES fitness 32 | narrow port end=0..65535 == TSi[0]=0..65535: 0 | TSi[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSi[0]=*0: 0 | match end->protocol=*0 == TSi[0].ipprotoid=*0: YES fitness 255 | TSr[0] .net=192.0.2.0-192.0.2.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.2.0/24 == TSr[0]net=192.0.2.0-192.0.2.255: YES fitness 32 | narrow port end=0..65535 == TSr[0]=0..65535: 0 | TSr[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSr[0]=*0: 0 | match end->protocol=*0 == TSr[0].ipprotoid=*0: YES fitness 255 | best fit so far: TSi[0] TSr[0] | found better spd route for TSi[0],TSr[0] | looking for better host pair | find_host_pair: comparing 192.1.2.23:500 to 192.1.2.45:500 but ignoring ports | checking hostpair 192.0.2.0/24 -> 192.0.1.0/24 is found | investigating connection "westnet-eastnet-ikev2" as a better match | match_id a=@west | b=@west | results matched | evaluating our conn="westnet-eastnet-ikev2" I=192.0.1.0/24:0/0 R=192.0.2.0/24:0/0 to their: | TSi[0] .net=192.0.1.0-192.0.1.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.1.0/24 == TSi[0]net=192.0.1.0-192.0.1.255: YES fitness 32 | narrow port end=0..65535 == TSi[0]=0..65535: 0 | TSi[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSi[0]=*0: 0 | match end->protocol=*0 == TSi[0].ipprotoid=*0: YES fitness 255 | TSr[0] .net=192.0.2.0-192.0.2.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.2.0/24 == TSr[0]net=192.0.2.0-192.0.2.255: YES fitness 32 | narrow port end=0..65535 == TSr[0]=0..65535: 0 | TSr[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSr[0]=*0: 0 | match end->protocol=*0 == TSr[0].ipprotoid=*0: YES fitness 255 | best fit so far: TSi[0] TSr[0] | did not find a better connection using host pair | printing contents struct traffic_selector | ts_type: IKEv2_TS_IPV4_ADDR_RANGE | ipprotoid: 0 | port range: 0-65535 | ip range: 192.0.2.0-192.0.2.255 | printing contents struct traffic_selector | ts_type: IKEv2_TS_IPV4_ADDR_RANGE | ipprotoid: 0 | port range: 0-65535 | ip range: 192.0.1.0-192.0.1.255 | using existing local ESP/AH proposals for westnet-eastnet-ikev2 (IKE_AUTH responder matching remote ESP/AH proposals): 1:ESP:ENCR=AES_GCM_C_256;INTEG=NONE;DH=NONE;ESN=DISABLED 2:ESP:ENCR=AES_GCM_C_128;INTEG=NONE;DH=NONE;ESN=DISABLED 3:ESP:ENCR=AES_CBC_256;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=NONE;ESN=DISABLED 4:ESP:ENCR=AES_CBC_128;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=NONE;ESN=DISABLED | Comparing remote proposals against IKE_AUTH responder matching remote ESP/AH proposals 4 local proposals | local proposal 1 type ENCR has 1 transforms | local proposal 1 type PRF has 0 transforms | local proposal 1 type INTEG has 1 transforms | local proposal 1 type DH has 1 transforms | local proposal 1 type ESN has 1 transforms | local proposal 1 transforms: required: ENCR+ESN; optional: INTEG+DH | local proposal 2 type ENCR has 1 transforms | local proposal 2 type PRF has 0 transforms | local proposal 2 type INTEG has 1 transforms | local proposal 2 type DH has 1 transforms | local proposal 2 type ESN has 1 transforms | local proposal 2 transforms: required: ENCR+ESN; optional: INTEG+DH | local proposal 3 type ENCR has 1 transforms | local proposal 3 type PRF has 0 transforms | local proposal 3 type INTEG has 2 transforms | local proposal 3 type DH has 1 transforms | local proposal 3 type ESN has 1 transforms | local proposal 3 transforms: required: ENCR+INTEG+ESN; optional: DH | local proposal 4 type ENCR has 1 transforms | local proposal 4 type PRF has 0 transforms | local proposal 4 type INTEG has 2 transforms | local proposal 4 type DH has 1 transforms | local proposal 4 type ESN has 1 transforms | local proposal 4 transforms: required: ENCR+INTEG+ESN; optional: DH | ***parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | length: 52 (0x34) | prop #: 1 (0x1) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (0x4) | # transforms: 4 (0x4) | parsing 4 raw bytes of IKEv2 Proposal Substructure Payload into remote SPI | remote SPI 78 4f 3c 65 | Comparing remote proposal 1 containing 4 transforms against local proposal [1..4] of 4 local proposals | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 12 (0xc) | 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 (0x80) | remote proposal 1 transform 0 (ENCR=AES_CBC_128) matches local proposal 4 type 1 (ENCR) transform 0 | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 12 (0xc) | IKEv2 transform type: TRANS_TYPE_ENCR (0x1) | IKEv2 transform ID: AES_CBC (0xc) | *****parse IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 256 (0x100) | remote proposal 1 transform 1 (ENCR=AES_CBC_256) matches local proposal 3 type 1 (ENCR) transform 0 | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | 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 3 type 3 (INTEG) transform 1 | remote proposal 1 transform 2 (INTEG=HMAC_SHA2_256_128) matches local proposal 4 type 3 (INTEG) transform 1 | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_LAST (0x0) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_ESN (0x5) | IKEv2 transform ID: ESN_DISABLED (0x0) | remote proposal 1 transform 3 (ESN=DISABLED) matches local proposal 1 type 5 (ESN) transform 0 | remote proposal 1 transform 3 (ESN=DISABLED) matches local proposal 2 type 5 (ESN) transform 0 | remote proposal 1 transform 3 (ESN=DISABLED) matches local proposal 3 type 5 (ESN) transform 0 | remote proposal 1 transform 3 (ESN=DISABLED) matches local proposal 4 type 5 (ESN) transform 0 | remote proposal 1 proposed transforms: ENCR+INTEG+ESN; matched: ENCR+INTEG+ESN; unmatched: none | comparing remote proposal 1 containing ENCR+INTEG+ESN transforms to local proposal 1; required: ENCR+ESN; optional: INTEG+DH; matched: ESN | remote proposal 1 does not match local proposal 1; unmatched transforms: ENCR+INTEG; missing transforms: ENCR | comparing remote proposal 1 containing ENCR+INTEG+ESN transforms to local proposal 2; required: ENCR+ESN; optional: INTEG+DH; matched: ESN | remote proposal 1 does not match local proposal 2; unmatched transforms: ENCR+INTEG; missing transforms: ENCR | comparing remote proposal 1 containing ENCR+INTEG+ESN transforms to local proposal 3; required: ENCR+INTEG+ESN; optional: DH; matched: ENCR+INTEG+ESN | remote proposal 1 matches local proposal 3 "westnet-eastnet-ikev2" #15: proposal 1:ESP:SPI=784f3c65;ENCR=AES_CBC_256;INTEG=HMAC_SHA2_256_128;ESN=DISABLED chosen from remote proposals 1:ESP:ENCR=AES_CBC_128;ENCR=AES_CBC_256;INTEG=HMAC_SHA2_256_128;ESN=DISABLED[first-match] | IKE_AUTH responder matching remote ESP/AH proposals ikev2_proposal: 1:ESP:SPI=784f3c65;ENCR=AES_CBC_256;INTEG=HMAC_SHA2_256_128;ESN=DISABLED | converting proposal to internal trans attrs | netlink_get_spi: allocated 0x8876b723 for esp.0@192.1.2.23 | Emitting ikev2_proposal ... | ****emit IKEv2 Security Association Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'IKEv2 Authentication Payload'.'next payload type' to current IKEv2 Security Association Payload (33:ISAKMP_NEXT_v2SA) | next payload chain: saving location 'IKEv2 Security Association Payload'.'next payload type' in 'reply packet' | *****emit IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | prop #: 1 (0x1) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (0x4) | # transforms: 3 (0x3) | 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 88 76 b7 23 | ******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 (0x100) | 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_256_128 (0xc) | last substructure: checking 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' 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' 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 | emitting length of IKEv2 Security Association Payload: 44 | 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 (0x1) | 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: 0 (0x0) | start port: 0 (0x0) | end port: 65535 (0xffff) | emitting 4 raw bytes of ipv4 start into IKEv2 Traffic Selector | ipv4 start c0 00 01 00 | emitting 4 raw bytes of ipv4 end into IKEv2 Traffic Selector | ipv4 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 (0x1) | 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: 0 (0x0) | start port: 0 (0x0) | end port: 65535 (0xffff) | emitting 4 raw bytes of ipv4 start into IKEv2 Traffic Selector | ipv4 start c0 00 02 00 | emitting 4 raw bytes of ipv4 end into IKEv2 Traffic Selector | ipv4 end c0 00 02 ff | emitting length of IKEv2 Traffic Selector: 16 | emitting length of IKEv2 Traffic Selector - Responder - Payload: 24 | Initiator child policy is compress=no, NOT sending v2N_IPCOMP_SUPPORTED | integ=sha2_256: .key_size=32 encrypt=aes: .key_size=32 .salt_size=0 keymat_len=64 | FOR_EACH_CONNECTION_... in ISAKMP_SA_established | install_ipsec_sa() for #16: inbound and outbound | could_route called for westnet-eastnet-ikev2 (kind=CK_PERMANENT) | 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" prospective erouted: self; eroute owner: self | looking for alg with encrypt: AES_CBC keylen: 256 integ: HMAC_SHA2_256_128 | encrypt AES_CBC keylen=256 transid=12, key_size=32, encryptalg=12 | st->st_esp.keymat_len=64 is encrypt_keymat_size=32 + integ_keymat_size=32 | 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 | 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.784f3c65@192.1.2.45 included non-error error | set up outgoing SA, ref=0/0 | looking for alg with encrypt: AES_CBC keylen: 256 integ: HMAC_SHA2_256_128 | encrypt AES_CBC keylen=256 transid=12, key_size=32, encryptalg=12 | st->st_esp.keymat_len=64 is encrypt_keymat_size=32 + integ_keymat_size=32 | 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 | 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.8876b723@192.1.2.23 included non-error error | priority calculation of connection "westnet-eastnet-ikev2" is 0xfe7e7 | add inbound eroute 192.0.1.0/24:0 --0-> 192.0.2.0/24:0 => tun.10000@192.1.2.23 (raw_eroute) | IPsec Sa SPD priority set to 1042407 | raw_eroute result=success | set up incoming SA, ref=0/0 | sr for #16: prospective erouted | 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" prospective erouted: self; eroute owner: self | route_and_eroute with c: westnet-eastnet-ikev2 (next: none) ero:westnet-eastnet-ikev2 esr:{(nil)} ro:westnet-eastnet-ikev2 rosr:{(nil)} and state: #16 | priority calculation of connection "westnet-eastnet-ikev2" is 0xfe7e7 | eroute_connection replace eroute 192.0.2.0/24:0 --0-> 192.0.1.0/24:0 => tun.0@192.1.2.45>tun.0@192.1.2.45 (raw_eroute) | IPsec Sa SPD priority set to 1042407 | raw_eroute result=success | running updown command "ipsec _updown" for verb up | command executing up-client | executing up-client: PLUTO_VERB='up-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet-ikev2' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLUTO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@west' PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+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='' VTI_ROUTING='no' VTI_SHARED='no' SPI_IN=0x78 | popen cmd is 1040 chars long | cmd( 0):PLUTO_VERB='up-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet-ike: | cmd( 80):v2' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLU: | cmd( 160):TO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' : | cmd( 240):PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLU: | cmd( 320):TO_SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@: | cmd( 400):west' PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_P: | cmd( 480):EER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUT: | cmd( 560):O_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='RSASIG+EN: | cmd( 640):CRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND=: | cmd( 720):'CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISCO=': | cmd( 800):0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_C: | cmd( 880):FG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' VTI_ROUT: | cmd( 960):ING='no' VTI_SHARED='no' SPI_IN=0x784f3c65 SPI_OUT=0x8876b723 ipsec _updown 2>&1: | route_and_eroute: firewall_notified: true | route_and_eroute: instance "westnet-eastnet-ikev2", setting eroute_owner {spd=0x559ecd5d17e8,sr=0x559ecd5d17e8} to #16 (was #0) (newest_ipsec_sa=#0) | #15 spent 0.926 milliseconds in install_ipsec_sa() | ISAKMP_v2_IKE_AUTH: instance westnet-eastnet-ikev2[0], setting IKEv2 newest_ipsec_sa to #16 (was #0) (spd.eroute=#16) cloned from #15 | adding 14 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 16 zero bytes of length of truncated HMAC/KEY into IKEv2 Encryption Payload | emitting length of IKEv2 Encryption Payload: 436 | emitting length of ISAKMP Message: 464 | data being hmac: 4a 65 7b 18 63 b1 6d 2c 39 88 b2 b2 72 c6 b0 fd | data being hmac: 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | data being hmac: d9 8b 4e f5 8a 4d b9 b7 72 17 94 35 c3 49 09 96 | data being hmac: 9a 70 5a 1c 13 3c ff 2e ac b0 69 a9 bc 51 ec ef | data being hmac: 92 9c cf f7 a6 2a 88 f4 18 34 75 01 ab 21 d6 50 | data being hmac: 42 e9 db 22 eb 2f 19 ee e6 1f 8a 40 ff da 7c 72 | data being hmac: ed a8 52 c2 52 bb b0 18 e3 dd 29 ed 4d 01 61 70 | data being hmac: 91 85 be 80 c8 f5 73 cd 81 f5 a8 5f 84 96 1b 61 | data being hmac: 92 74 dd bc 4f e7 c5 98 52 78 68 ff ea 36 9d 09 | data being hmac: 26 3d 3d 37 8f d0 f3 b3 69 74 f2 e6 10 cc b7 11 | data being hmac: 67 f0 6e 76 65 58 f6 c5 2a 8f e6 bc 20 73 ae 8a | data being hmac: ea 7f e0 74 87 39 5d b7 5b 23 9a e8 88 08 26 66 | data being hmac: 93 72 57 a2 02 ac 53 bb db d2 49 cc f2 37 e0 a0 | data being hmac: 81 a3 36 52 b8 d2 7e ee 2b a8 e6 a5 17 e0 31 38 | data being hmac: af 43 a4 1f 47 14 ae e3 aa 08 01 71 c1 6b f7 b5 | data being hmac: 67 88 92 e2 db 5e 4d 29 05 09 52 c3 9d 07 55 27 | data being hmac: 05 6a c2 21 13 85 30 8e 51 32 7d 3e b9 c9 7a 77 | data being hmac: 39 1b fe be 94 5b da 8f 21 0f b0 9d 23 db 3e 01 | data being hmac: de 21 a8 1d f6 78 02 fc 39 58 98 5b c1 ff ab 75 | data being hmac: c4 b5 41 54 97 5d 4a 6c b5 04 24 2a 9c 83 5c 46 | data being hmac: da 98 50 3f 1b 25 26 1a 0f 25 bc ce 88 a6 af ab | data being hmac: c9 aa 0c 16 c5 cf 6e 6e 49 6f 2d fd 18 a8 58 a9 | data being hmac: 89 39 15 c0 ce e8 37 87 2b 21 a1 9b 41 2b 4c af | data being hmac: f6 bc 4d a0 f8 c8 fd f1 44 7b 41 36 17 97 07 eb | data being hmac: 64 1b f0 5f fa f2 64 12 2e c0 71 0d 8a 38 4b 4d | data being hmac: 85 27 79 74 07 24 10 54 3e d6 6e 46 94 42 e7 c9 | data being hmac: b7 14 b3 33 13 61 df f4 3e 81 4c a4 a7 f2 e8 bc | data being hmac: 1d d3 ef 6c 8a a7 6f 78 ad 21 ee 40 c8 d0 37 a4 | out calculated auth: | 08 ac 9d 75 df ef 66 22 ed 8d aa a8 a0 76 b3 d7 | ikev2_parent_inI2outR2_continue_tail returned STF_OK | #15 spent 4.81 milliseconds in processing: Responder: process IKE_AUTH request in ikev2_process_state_packet() | suspend processing: state #15 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | start processing: state #16 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #16 complete_v2_state_transition() md.from_state=PARENT_R1 md.svm.state[from]=PARENT_R1 UNDEFINED->V2_IPSEC_R with status STF_OK | IKEv2: transition from state STATE_PARENT_R1 to state STATE_V2_IPSEC_R | child state #16: UNDEFINED(ignore) => V2_IPSEC_R(established CHILD SA) | Message ID: updating counters for #16 to 1 after switching state | Message ID: recv #15.#16 request 1; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0->1; child: wip.initiator=-1 wip.responder=1->-1 | Message ID: sent #15.#16 response 1; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0->1 responder.recv=1; child: wip.initiator=-1 wip.responder=-1 | pstats #16 ikev2.child established "westnet-eastnet-ikev2" #16: negotiated connection [192.0.2.0-192.0.2.255:0-65535 0] -> [192.0.1.0-192.0.1.255:0-65535 0] | NAT-T: encaps is 'auto' "westnet-eastnet-ikev2" #16: STATE_V2_IPSEC_R: IPsec SA established tunnel mode {ESP=>0x784f3c65 <0x8876b723 xfrm=AES_CBC_256-HMAC_SHA2_256_128 NATOA=none NATD=none DPD=passive} | sending V2 new request packet to 192.1.2.45:500 (from 192.1.2.23:500) | sending 464 bytes for STATE_PARENT_R1 through eth1 from 192.1.2.23:500 to 192.1.2.45:500 (using #15) | 4a 65 7b 18 63 b1 6d 2c 39 88 b2 b2 72 c6 b0 fd | 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | d9 8b 4e f5 8a 4d b9 b7 72 17 94 35 c3 49 09 96 | 9a 70 5a 1c 13 3c ff 2e ac b0 69 a9 bc 51 ec ef | 92 9c cf f7 a6 2a 88 f4 18 34 75 01 ab 21 d6 50 | 42 e9 db 22 eb 2f 19 ee e6 1f 8a 40 ff da 7c 72 | ed a8 52 c2 52 bb b0 18 e3 dd 29 ed 4d 01 61 70 | 91 85 be 80 c8 f5 73 cd 81 f5 a8 5f 84 96 1b 61 | 92 74 dd bc 4f e7 c5 98 52 78 68 ff ea 36 9d 09 | 26 3d 3d 37 8f d0 f3 b3 69 74 f2 e6 10 cc b7 11 | 67 f0 6e 76 65 58 f6 c5 2a 8f e6 bc 20 73 ae 8a | ea 7f e0 74 87 39 5d b7 5b 23 9a e8 88 08 26 66 | 93 72 57 a2 02 ac 53 bb db d2 49 cc f2 37 e0 a0 | 81 a3 36 52 b8 d2 7e ee 2b a8 e6 a5 17 e0 31 38 | af 43 a4 1f 47 14 ae e3 aa 08 01 71 c1 6b f7 b5 | 67 88 92 e2 db 5e 4d 29 05 09 52 c3 9d 07 55 27 | 05 6a c2 21 13 85 30 8e 51 32 7d 3e b9 c9 7a 77 | 39 1b fe be 94 5b da 8f 21 0f b0 9d 23 db 3e 01 | de 21 a8 1d f6 78 02 fc 39 58 98 5b c1 ff ab 75 | c4 b5 41 54 97 5d 4a 6c b5 04 24 2a 9c 83 5c 46 | da 98 50 3f 1b 25 26 1a 0f 25 bc ce 88 a6 af ab | c9 aa 0c 16 c5 cf 6e 6e 49 6f 2d fd 18 a8 58 a9 | 89 39 15 c0 ce e8 37 87 2b 21 a1 9b 41 2b 4c af | f6 bc 4d a0 f8 c8 fd f1 44 7b 41 36 17 97 07 eb | 64 1b f0 5f fa f2 64 12 2e c0 71 0d 8a 38 4b 4d | 85 27 79 74 07 24 10 54 3e d6 6e 46 94 42 e7 c9 | b7 14 b3 33 13 61 df f4 3e 81 4c a4 a7 f2 e8 bc | 1d d3 ef 6c 8a a7 6f 78 ad 21 ee 40 c8 d0 37 a4 | 08 ac 9d 75 df ef 66 22 ed 8d aa a8 a0 76 b3 d7 | releasing whack for #16 (sock=fd@-1) | releasing whack and unpending for parent #15 | unpending state #15 connection "westnet-eastnet-ikev2" | #16 will start re-keying in 28530 seconds with margin of 270 seconds (attempting re-key) | event_schedule: new EVENT_SA_REKEY-pe@0x559ecd5d5248 | inserting event EVENT_SA_REKEY, timeout in 28530 seconds for #16 | libevent_malloc: new ptr-libevent@0x559ecd5e0518 size 128 | resume sending helper answer for #15 suppresed complete_v2_state_transition() | #15 spent 5.05 milliseconds in resume sending helper answer | stop processing: state #16 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in resume_handler() at server.c:833) | libevent_free: release ptr-libevent@0x7f1a9c010998 | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00485 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.0024 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 80 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 4a 65 7b 18 63 b1 6d 2c 39 88 b2 b2 72 c6 b0 fd | 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | d5 79 25 4d e0 68 f4 9e 33 9a e0 ec ab 76 d9 1a | bd 2d ba 02 e5 c1 a8 dc de 34 22 cc 9a ad 43 97 | 61 c0 70 f2 25 1a d4 e5 35 e6 14 07 b1 83 d1 aa | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 4a 65 7b 18 63 b1 6d 2c | responder cookie: | 39 88 b2 b2 72 c6 b0 fd | next payload type: ISAKMP_NEXT_v2SK (0x2e) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_INFORMATIONAL (0x25) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 2 (0x2) | length: 80 (0x50) | processing version=2.0 packet with exchange type=ISAKMP_v2_INFORMATIONAL (37) | I am the IKE SA Original Responder receiving an IKEv2 INFORMATIONAL request | State DB: found IKEv2 state #15 in PARENT_R2 (find_v2_ike_sa) | start processing: state #15 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2016) | State DB: IKEv2 state not found (find_v2_sa_by_responder_wip) | [RE]START processing: state #15 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ike_process_packet() at ikev2.c:2064) | #15 st.st_msgid_lastrecv 1 md.hdr.isa_msgid 00000002 | Message ID: #15 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=1 responder.recv=1 | 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 (0x34) | processing payload: ISAKMP_NEXT_v2SK (len=48) | Message ID: start-responder #15 request 2; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=1 responder.recv=1 wip.initiator=-1 wip.responder=-1->2 | #15 in state PARENT_R2: received v2I2, PARENT SA established | data for hmac: 4a 65 7b 18 63 b1 6d 2c 39 88 b2 b2 72 c6 b0 fd | data for hmac: 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | data for hmac: d5 79 25 4d e0 68 f4 9e 33 9a e0 ec ab 76 d9 1a | data for hmac: bd 2d ba 02 e5 c1 a8 dc de 34 22 cc 9a ad 43 97 | calculated auth: 61 c0 70 f2 25 1a d4 e5 35 e6 14 07 b1 83 d1 aa | provided auth: 61 c0 70 f2 25 1a d4 e5 35 e6 14 07 b1 83 d1 aa | authenticator matched | #15 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 (0xc) | protocol ID: PROTO_v2_ESP (0x3) | SPI size: 4 (0x4) | number of SPIs: 1 (0x1) | processing payload: ISAKMP_NEXT_v2D (len=4) | selected state microcode R2: process INFORMATIONAL Request | Now let's proceed with state specific processing | calling processor R2: process INFORMATIONAL Request | an informational request should send a response | Received an INFORMATIONAL response, updating st_last_liveness, no pending_liveness | **emit ISAKMP Message: | initiator cookie: | 4a 65 7b 18 63 b1 6d 2c | responder cookie: | 39 88 b2 b2 72 c6 b0 fd | 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_MSG_RESPONSE (0x20) | Message ID: 2 (0x2) | 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 78 4f 3c 65 | delete PROTO_v2_ESP SA(0x784f3c65) | v2 CHILD SA #16 found using their inbound (our outbound) SPI, in STATE_V2_IPSEC_R | State DB: found IKEv2 state #16 in V2_IPSEC_R (find_v2_child_sa_by_outbound_spi) | our side SPI that needs to be deleted: PROTO_v2_ESP SA(0x784f3c65) "westnet-eastnet-ikev2" #15: received Delete SA payload: delete IPsec State #16 now | pstats #16 ikev2.child deleted completed | suspend processing: state #15 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in delete_state() at state.c:879) | start processing: state #16 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in delete_state() at state.c:879) "westnet-eastnet-ikev2" #16: deleting other state #16 (STATE_V2_IPSEC_R) aged 0.103s and NOT sending notification | child state #16: V2_IPSEC_R(established CHILD SA) => delete | get_sa_info esp.784f3c65@192.1.2.45 | get_sa_info esp.8876b723@192.1.2.23 "westnet-eastnet-ikev2" #16: ESP traffic information: in=0B out=0B | child state #16: V2_IPSEC_R(established CHILD SA) => CHILDSA_DEL(informational) | state #16 requesting EVENT_SA_REKEY to be deleted | libevent_free: release ptr-libevent@0x559ecd5e0518 | free_event_entry: release EVENT_SA_REKEY-pe@0x559ecd5d5248 | running updown command "ipsec _updown" for verb down | command executing down-client | executing down-client: PLUTO_VERB='down-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet-ikev2' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLUTO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@west' PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='1566825097' PLUTO_CONN_POLICY='RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+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='' VTI_ROUTING='no' VTI_SHARED='no | popen cmd is 1051 chars long | cmd( 0):PLUTO_VERB='down-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet-i: | cmd( 80):kev2' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' P: | cmd( 160):LUTO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0: | cmd( 240):' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' P: | cmd( 320):LUTO_SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID=: | cmd( 400):'@west' PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO: | cmd( 480):_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PL: | cmd( 560):UTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='1566825097' PLUTO_CONN_POLICY: | cmd( 640):='RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO: | cmd( 720):_CONN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_P: | cmd( 800):EER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER: | cmd( 880):='' PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE=: | cmd( 960):'' VTI_ROUTING='no' VTI_SHARED='no' SPI_IN=0x784f3c65 SPI_OUT=0x8876b723 ipsec _: | cmd(1040):updown 2>&1: | shunt_eroute() called for connection 'westnet-eastnet-ikev2' to 'replace with shunt' for rt_kind 'prospective erouted' using protoports 0--0->-0 | netlink_shunt_eroute for proto 0, and source port 0 dest port 0 | priority calculation of connection "westnet-eastnet-ikev2" is 0xfe7e7 | IPsec Sa SPD priority set to 1042407 | delete esp.784f3c65@192.1.2.45 | netlink response for Del SA esp.784f3c65@192.1.2.45 included non-error error | priority calculation of connection "westnet-eastnet-ikev2" is 0xfe7e7 | delete inbound eroute 192.0.1.0/24:0 --0-> 192.0.2.0/24:0 => unk255.10000@192.1.2.23 (raw_eroute) | raw_eroute result=success | delete esp.8876b723@192.1.2.23 | netlink response for Del SA esp.8876b723@192.1.2.23 included non-error error | in connection_discard for connection westnet-eastnet-ikev2 | State DB: deleting IKEv2 state #16 in CHILDSA_DEL | child state #16: CHILDSA_DEL(informational) => UNDEFINED(ignore) | stop processing: state #16 from 192.1.2.45:500 (in delete_state() at state.c:1143) | resume processing: state #15 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in delete_state() at state.c:1143) | ****emit IKEv2 Delete Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | protocol ID: PROTO_v2_ESP (0x3) | SPI size: 4 (0x4) | number of SPIs: 1 (0x1) | 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 88 76 b7 23 | 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 | data being hmac: 4a 65 7b 18 63 b1 6d 2c 39 88 b2 b2 72 c6 b0 fd | data being hmac: 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | data being hmac: f4 ef d3 e1 bb 27 2d 16 4a 28 5a d8 4f 0a a4 b3 | data being hmac: 2d be fa 66 2c d2 4d df c1 6c c0 8d a1 e1 37 39 | out calculated auth: | 21 fa 14 71 f8 7c 60 78 a2 40 51 17 69 3c cc 02 | sending 80 bytes for reply packet for process_encrypted_informational_ikev2 through eth1 from 192.1.2.23:500 to 192.1.2.45:500 (using #15) | 4a 65 7b 18 63 b1 6d 2c 39 88 b2 b2 72 c6 b0 fd | 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | f4 ef d3 e1 bb 27 2d 16 4a 28 5a d8 4f 0a a4 b3 | 2d be fa 66 2c d2 4d df c1 6c c0 8d a1 e1 37 39 | 21 fa 14 71 f8 7c 60 78 a2 40 51 17 69 3c cc 02 | Message ID: #15 XXX: in process_encrypted_informational_ikev2() hacking around record'n'send bypassing send queue hacking around delete_my_family(); initiator.sent=-1 initiator.recv=-1 responder.sent=1 responder.recv=1 wip.initiator=-1 wip.responder=2 | Message ID: sent #15 response 2; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=1->2 responder.recv=1 wip.initiator=-1 wip.responder=2 | #15 spent 0.892 milliseconds in processing: R2: process INFORMATIONAL Request in ikev2_process_state_packet() | [RE]START processing: state #15 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #15 complete_v2_state_transition() PARENT_R2->PARENT_R2 with status STF_OK | Message ID: updating counters for #15 to 2 after switching state | Message ID: recv #15 request 2; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=1->2 wip.initiator=-1 wip.responder=2->-1 | Message ID: #15 skipping update_send as nothing to send; initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=2 wip.initiator=-1 wip.responder=-1 "westnet-eastnet-ikev2" #15: STATE_PARENT_R2: received v2I2, PARENT SA established | stop processing: state #15 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2018) | #15 spent 1.09 milliseconds in ikev2_process_packet() | stop processing: from 192.1.2.45:500 (in process_md() at demux.c:380) | processing: STOP state #0 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 1.1 milliseconds in comm_handle_cb() reading and processing packet | spent 0.00147 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 80 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 4a 65 7b 18 63 b1 6d 2c 39 88 b2 b2 72 c6 b0 fd | 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | ed ad da 0e 86 34 0a 2e 93 2f e2 0a 64 c9 a7 07 | 41 5b 13 6c b5 36 09 9d 86 6e 09 28 fd 05 a5 e7 | 40 8d 8b 54 ef 10 85 8e 02 1d d0 4c 81 c5 8a fc | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 4a 65 7b 18 63 b1 6d 2c | responder cookie: | 39 88 b2 b2 72 c6 b0 fd | next payload type: ISAKMP_NEXT_v2SK (0x2e) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_INFORMATIONAL (0x25) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 3 (0x3) | length: 80 (0x50) | processing version=2.0 packet with exchange type=ISAKMP_v2_INFORMATIONAL (37) | I am the IKE SA Original Responder receiving an IKEv2 INFORMATIONAL request | State DB: found IKEv2 state #15 in PARENT_R2 (find_v2_ike_sa) | start processing: state #15 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2016) | State DB: IKEv2 state not found (find_v2_sa_by_responder_wip) | [RE]START processing: state #15 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ike_process_packet() at ikev2.c:2064) | #15 st.st_msgid_lastrecv 2 md.hdr.isa_msgid 00000003 | Message ID: #15 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=2 | 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 (0x34) | processing payload: ISAKMP_NEXT_v2SK (len=48) | Message ID: start-responder #15 request 3; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=2 wip.initiator=-1 wip.responder=-1->3 | #15 in state PARENT_R2: received v2I2, PARENT SA established | data for hmac: 4a 65 7b 18 63 b1 6d 2c 39 88 b2 b2 72 c6 b0 fd | data for hmac: 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | data for hmac: ed ad da 0e 86 34 0a 2e 93 2f e2 0a 64 c9 a7 07 | data for hmac: 41 5b 13 6c b5 36 09 9d 86 6e 09 28 fd 05 a5 e7 | calculated auth: 40 8d 8b 54 ef 10 85 8e 02 1d d0 4c 81 c5 8a fc | provided auth: 40 8d 8b 54 ef 10 85 8e 02 1d d0 4c 81 c5 8a fc | authenticator matched | #15 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 (0x8) | protocol ID: PROTO_v2_IKE (0x1) | SPI size: 0 (0x0) | number of SPIs: 0 (0x0) | processing payload: ISAKMP_NEXT_v2D (len=0) | selected state microcode R2: process INFORMATIONAL Request | Now let's proceed with state specific processing | calling processor R2: process INFORMATIONAL Request | an informational request should send a response | Received an INFORMATIONAL response, updating st_last_liveness, no pending_liveness | **emit ISAKMP Message: | initiator cookie: | 4a 65 7b 18 63 b1 6d 2c | responder cookie: | 39 88 b2 b2 72 c6 b0 fd | 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_MSG_RESPONSE (0x20) | Message ID: 3 (0x3) | 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 | data being hmac: 4a 65 7b 18 63 b1 6d 2c 39 88 b2 b2 72 c6 b0 fd | data being hmac: 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | data being hmac: c3 e9 53 be de 47 5f 16 de b2 41 31 34 04 0a 1f | data being hmac: a0 05 2e a2 e2 4b b6 e3 7d f0 47 f9 ac e2 f7 b7 | out calculated auth: | de 26 c1 95 64 c6 aa 09 60 1b db 9e be a7 62 ec | sending 80 bytes for reply packet for process_encrypted_informational_ikev2 through eth1 from 192.1.2.23:500 to 192.1.2.45:500 (using #15) | 4a 65 7b 18 63 b1 6d 2c 39 88 b2 b2 72 c6 b0 fd | 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | c3 e9 53 be de 47 5f 16 de b2 41 31 34 04 0a 1f | a0 05 2e a2 e2 4b b6 e3 7d f0 47 f9 ac e2 f7 b7 | de 26 c1 95 64 c6 aa 09 60 1b db 9e be a7 62 ec | Message ID: #15 XXX: in process_encrypted_informational_ikev2() hacking around record'n'send bypassing send queue hacking around delete_my_family(); initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=2 wip.initiator=-1 wip.responder=3 | Message ID: sent #15 response 3; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=2->3 responder.recv=2 wip.initiator=-1 wip.responder=3 | State DB: IKEv2 state not found (delete_my_family) | parent state #15: PARENT_R2(established IKE SA) => IKESA_DEL(established IKE SA) | pstats #15 ikev2.ike deleted completed | #15 spent 7.8 milliseconds in total | [RE]START processing: state #15 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in delete_state() at state.c:879) "westnet-eastnet-ikev2" #15: deleting state (STATE_IKESA_DEL) aged 0.125s and NOT sending notification | parent state #15: IKESA_DEL(established IKE SA) => delete | state #15 requesting EVENT_SA_REKEY to be deleted | libevent_free: release ptr-libevent@0x559ecd5d3aa8 | free_event_entry: release EVENT_SA_REKEY-pe@0x559ecd5d3728 | State DB: IKEv2 state not found (flush_incomplete_children) | in connection_discard for connection westnet-eastnet-ikev2 | State DB: deleting IKEv2 state #15 in IKESA_DEL | parent state #15: IKESA_DEL(established IKE SA) => UNDEFINED(ignore) | unreference key: 0x559ecd52ac48 @west cnt 2-- | stop processing: state #15 from 192.1.2.45:500 (in delete_state() at state.c:1143) | in statetime_stop() and could not find #15 | skip start processing: state #0 (in complete_v2_state_transition() at ikev2.c:3379) | #0 complete_v2_state_transition() md.from_state=PARENT_R2 md.svm.state[from]=PARENT_R2 UNDEFINED->PARENT_R2 with status STF_OK | STF_OK but no state object remains | processing: STOP state #0 (in ikev2_process_packet() at ikev2.c:2018) | in statetime_stop() and could not find #15 | stop processing: from 192.1.2.45:500 (in process_md() at demux.c:380) | processing: STOP state #0 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.496 milliseconds in comm_handle_cb() reading and processing packet | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00412 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00282 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 388 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 49 12 9c 8b 1b 46 5b 32 00 00 00 00 00 00 00 00 | 21 20 22 08 00 00 00 00 00 00 01 84 22 00 00 3c | 00 00 00 38 01 01 00 05 03 00 00 0c 01 00 00 0c | 80 0e 01 00 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 05 28 00 00 c8 00 05 00 00 | 49 f7 e4 cb 2a 5f 03 98 1d d6 1a 29 55 f7 76 03 | 72 81 38 c8 b5 95 d4 6d b2 1c 7a f3 32 41 7e ec | 20 5f 57 66 6c d3 fd 1c 54 28 1d 9c 55 cc c9 09 | 78 b7 d4 c9 df 70 1d 5b e8 7a cf 1b 83 6c 6f 3d | c6 7c 82 bd 61 8a 5f 86 75 12 9b f7 8e 15 8f cd | b0 5b 30 e9 6a 29 05 9a 55 11 3c 40 18 3f 78 75 | 1e 44 7a c2 86 04 4b 73 b8 17 8d 16 f6 f0 47 2c | 2b ae 0f 6e 7e 80 19 40 76 d3 cf 6b fd 5a 1b bf | 28 a2 eb 4a 50 85 aa c8 bd 3d 96 01 40 aa 0b 3b | 95 1c 9b 28 35 d3 e4 6f 70 30 b5 f9 24 0d bd 22 | 1e ab 69 55 73 48 8f 29 a8 67 8c d4 01 cd 56 53 | c3 52 c0 3e 97 ef e9 2e 40 44 40 2d 73 4a 45 ad | 29 00 00 24 e5 84 11 ba 2e 9c 11 a8 f5 f4 b4 21 | 68 d7 f0 7d 67 a1 7b 70 26 ae fe ee 88 42 8e ca | aa 25 c4 cb 29 00 00 08 00 00 40 2e 29 00 00 1c | 00 00 40 04 94 23 e4 d3 f7 e5 22 3b 8b 72 43 14 | 12 ca 53 2b 35 a0 d1 b5 00 00 00 1c 00 00 40 05 | cd 51 ef 54 4b 3a 92 bd 1a df 33 de 1b e2 67 f2 | 2b 84 bf b2 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 49 12 9c 8b 1b 46 5b 32 | responder cookie: | 00 00 00 00 00 00 00 00 | next payload type: ISAKMP_NEXT_v2SA (0x21) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_IKE_SA_INIT (0x22) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 0 (0x0) | length: 388 (0x184) | processing version=2.0 packet with exchange type=ISAKMP_v2_IKE_SA_INIT (34) | I am the IKE SA Original Responder receiving an IKEv2 IKE_SA_INIT request | State DB: IKEv2 state not found (find_v2_ike_sa_by_initiator_spi) | Now let's proceed with payload (ISAKMP_NEXT_v2SA) | ***parse IKEv2 Security Association Payload: | next payload type: ISAKMP_NEXT_v2KE (0x22) | flags: none (0x0) | length: 60 (0x3c) | processing payload: ISAKMP_NEXT_v2SA (len=56) | 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: 200 (0xc8) | DH group: OAKLEY_GROUP_MODP1536 (0x5) | processing payload: ISAKMP_NEXT_v2KE (len=192) | 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 (0x24) | 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 (0x8) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | 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 (0x1c) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | 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 (0x1c) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | Notify Message Type: v2N_NAT_DETECTION_DESTINATION_IP (0x4005) | processing payload: ISAKMP_NEXT_v2N (len=20) | DDOS disabled and no cookie sent, continuing | find_host_connection local=192.1.2.23:500 remote=192.1.2.45:500 policy=ECDSA+IKEV2_ALLOW but ignoring ports | find_host_pair: comparing 192.1.2.23:500 to 192.1.2.45:500 but ignoring ports | find_next_host_connection policy=ECDSA+IKEV2_ALLOW | found policy = RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO (westnet-eastnet-ikev2) | find_next_host_connection returns empty | find_host_connection local=192.1.2.23:500 remote= policy=ECDSA+IKEV2_ALLOW but ignoring ports | find_next_host_connection policy=ECDSA+IKEV2_ALLOW | find_next_host_connection returns empty | initial parent SA message received on 192.1.2.23:500 but no connection has been authorized with policy ECDSA+IKEV2_ALLOW | find_host_connection local=192.1.2.23:500 remote=192.1.2.45:500 policy=RSASIG+IKEV2_ALLOW but ignoring ports | find_host_pair: comparing 192.1.2.23:500 to 192.1.2.45:500 but ignoring ports | find_next_host_connection policy=RSASIG+IKEV2_ALLOW | found policy = RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO (westnet-eastnet-ikev2) | find_next_host_connection returns westnet-eastnet-ikev2 | find_next_host_connection policy=RSASIG+IKEV2_ALLOW | find_next_host_connection returns empty | found connection: westnet-eastnet-ikev2 with policy RSASIG+IKEV2_ALLOW | creating state object #17 at 0x559ecd5d5578 | State DB: adding IKEv2 state #17 in UNDEFINED | pstats #17 ikev2.ike started | Message ID: init #17: msgid=0 lastack=4294967295 nextuse=0 lastrecv=4294967295 lastreplied=0 | parent state #17: UNDEFINED(ignore) => PARENT_R0(half-open IKE SA) | Message ID: init_ike #17; ike: initiator.sent=0->-1 initiator.recv=0->-1 responder.sent=0->-1 responder.recv=0->-1 wip.initiator=0->-1 wip.responder=0->-1 | start processing: state #17 connection "westnet-eastnet-ikev2" from 192.1.2.45 (in ikev2_process_packet() at ikev2.c:2016) | State DB: IKEv2 state not found (find_v2_sa_by_responder_wip) | [RE]START processing: state #17 connection "westnet-eastnet-ikev2" from 192.1.2.45 (in ike_process_packet() at ikev2.c:2064) | #17 st.st_msgid_lastrecv -1 md.hdr.isa_msgid 00000000 | Message ID: #17 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=-1 responder.recv=-1 | Message ID: start-responder #17 request 0; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=-1 responder.recv=-1 wip.initiator=-1 wip.responder=-1->0 | #17 in state PARENT_R0: processing SA_INIT request | selected state microcode Respond to IKE_SA_INIT | Now let's proceed with state specific processing | calling processor Respond to IKE_SA_INIT | #17 updating local interface from 192.1.2.23:500 to 192.1.2.23:500 using md->iface (in update_ike_endpoints() at state.c:2669) | using existing local IKE proposals for connection westnet-eastnet-ikev2 (IKE SA responder matching remote proposals): 1:IKE:ENCR=AES_GCM_C_256;PRF=HMAC_SHA2_512,HMAC_SHA2_256;INTEG=NONE;DH=MODP2048,MODP3072,MODP4096,MODP8192,ECP_256,ECP_384,ECP_521,CURVE25519 2:IKE:ENCR=AES_GCM_C_128;PRF=HMAC_SHA2_512,HMAC_SHA2_256;INTEG=NONE;DH=MODP2048,MODP3072,MODP4096,MODP8192,ECP_256,ECP_384,ECP_521,CURVE25519 3:IKE:ENCR=AES_CBC_256;PRF=HMAC_SHA2_512,HMAC_SHA2_256;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=MODP2048,MODP3072,MODP4096,MODP8192,ECP_256,ECP_384,ECP_521,CURVE25519 4:IKE:ENCR=AES_CBC_128;PRF=HMAC_SHA2_512,HMAC_SHA2_256;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=MODP2048,MODP3072,MODP4096,MODP8192,ECP_256,ECP_384,ECP_521,CURVE25519 | Comparing remote proposals against IKE responder 4 local proposals | local proposal 1 type ENCR has 1 transforms | local proposal 1 type PRF has 2 transforms | local proposal 1 type INTEG has 1 transforms | local proposal 1 type DH has 8 transforms | local proposal 1 type ESN has 0 transforms | local proposal 1 transforms: required: ENCR+PRF+DH; optional: INTEG | local proposal 2 type ENCR has 1 transforms | local proposal 2 type PRF has 2 transforms | local proposal 2 type INTEG has 1 transforms | local proposal 2 type DH has 8 transforms | local proposal 2 type ESN has 0 transforms | local proposal 2 transforms: required: ENCR+PRF+DH; optional: INTEG | local proposal 3 type ENCR has 1 transforms | local proposal 3 type PRF has 2 transforms | local proposal 3 type INTEG has 2 transforms | local proposal 3 type DH has 8 transforms | local proposal 3 type ESN has 0 transforms | local proposal 3 transforms: required: ENCR+PRF+INTEG+DH; optional: none | local proposal 4 type ENCR has 1 transforms | local proposal 4 type PRF has 2 transforms | local proposal 4 type INTEG has 2 transforms | local proposal 4 type DH has 8 transforms | local proposal 4 type ESN has 0 transforms | local proposal 4 transforms: required: ENCR+PRF+INTEG+DH; optional: none | ****parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | length: 56 (0x38) | prop #: 1 (0x1) | proto ID: IKEv2_SEC_PROTO_IKE (0x1) | spi size: 0 (0x0) | # transforms: 5 (0x5) | Comparing remote proposal 1 containing 5 transforms against local proposal [1..4] of 4 local proposals | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 12 (0xc) | IKEv2 transform type: TRANS_TYPE_ENCR (0x1) | IKEv2 transform ID: AES_CBC (0xc) | ******parse IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 256 (0x100) | remote proposal 1 transform 0 (ENCR=AES_CBC_256) matches local proposal 3 type 1 (ENCR) transform 0 | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 12 (0xc) | 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 (0x80) | remote proposal 1 transform 1 (ENCR=AES_CBC_128) matches local proposal 4 type 1 (ENCR) transform 0 | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_PRF (0x2) | IKEv2 transform ID: PRF_HMAC_SHA2_256 (0x5) | remote proposal 1 transform 2 (PRF=HMAC_SHA2_256) matches local proposal 1 type 2 (PRF) transform 1 | remote proposal 1 transform 2 (PRF=HMAC_SHA2_256) matches local proposal 2 type 2 (PRF) transform 1 | remote proposal 1 transform 2 (PRF=HMAC_SHA2_256) matches local proposal 3 type 2 (PRF) transform 1 | remote proposal 1 transform 2 (PRF=HMAC_SHA2_256) matches local proposal 4 type 2 (PRF) transform 1 | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_INTEG (0x3) | IKEv2 transform ID: AUTH_HMAC_SHA2_256_128 (0xc) | remote proposal 1 transform 3 (INTEG=HMAC_SHA2_256_128) matches local proposal 3 type 3 (INTEG) transform 1 | remote proposal 1 transform 3 (INTEG=HMAC_SHA2_256_128) matches local proposal 4 type 3 (INTEG) transform 1 | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_LAST (0x0) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP1536 (0x5) | remote proposal 1 proposed transforms: ENCR+PRF+INTEG+DH; matched: ENCR+PRF+INTEG; unmatched: DH | remote proposal 1 does not match; unmatched remote transforms: DH "westnet-eastnet-ikev2" #17: no local proposal matches remote proposals 1:IKE:ENCR=AES_CBC_256;ENCR=AES_CBC_128;PRF=HMAC_SHA2_256;INTEG=HMAC_SHA2_256_128;DH=MODP1536 "westnet-eastnet-ikev2" #17: responding to IKE_SA_INIT (34) message (Message ID 0) from 192.1.2.45:500 with unencrypted notification NO_PROPOSAL_CHOSEN | Opening output PBS unencrypted notification | **emit ISAKMP Message: | initiator cookie: | 49 12 9c 8b 1b 46 5b 32 | responder cookie: | 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_MSG_RESPONSE (0x20) | Message ID: 0 (0x0) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | Adding a v2N Payload | ***emit IKEv2 Notify Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | Notify Message Type: v2N_NO_PROPOSAL_CHOSEN (0xe) | next payload chain: setting previous 'ISAKMP Message'.'next payload type' to current IKEv2 Notify Payload (41:ISAKMP_NEXT_v2N) | next payload chain: saving location 'IKEv2 Notify Payload'.'next payload type' in 'unencrypted notification' | emitting length of IKEv2 Notify Payload: 8 | emitting length of ISAKMP Message: 36 | sending 36 bytes for v2 notify through eth1 from 192.1.2.23:500 to 192.1.2.45:500 (using #0) | 49 12 9c 8b 1b 46 5b 32 00 00 00 00 00 00 00 00 | 29 20 22 20 00 00 00 00 00 00 00 24 00 00 00 08 | 00 00 00 0e | #17 spent 0.272 milliseconds in processing: Respond to IKE_SA_INIT in ikev2_process_state_packet() | [RE]START processing: state #17 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #17 complete_v2_state_transition() PARENT_R0->PARENT_R1 with status STF_FATAL | release_pending_whacks: state #17 has no whack fd | pstats #17 ikev2.ike deleted other | [RE]START processing: state #17 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in delete_state() at state.c:879) "westnet-eastnet-ikev2" #17: deleting state (STATE_PARENT_R0) aged 0.000s and NOT sending notification | parent state #17: PARENT_R0(half-open IKE SA) => delete | State DB: IKEv2 state not found (flush_incomplete_children) | in connection_discard for connection westnet-eastnet-ikev2 | State DB: deleting IKEv2 state #17 in PARENT_R0 | parent state #17: PARENT_R0(half-open IKE SA) => UNDEFINED(ignore) | stop processing: state #17 from 192.1.2.45:500 (in delete_state() at state.c:1143) | processing: STOP state #0 (in ikev2_process_packet() at ikev2.c:2018) | in statetime_stop() and could not find #17 | stop processing: from 192.1.2.45:500 (in process_md() at demux.c:380) | processing: STOP state #0 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.762 milliseconds in comm_handle_cb() reading and processing packet | processing global timer EVENT_SHUNT_SCAN | expiring aged bare shunts from shunt table | spent 0.00455 milliseconds in global timer EVENT_SHUNT_SCAN | processing global timer EVENT_SHUNT_SCAN | expiring aged bare shunts from shunt table | spent 0.00421 milliseconds in global timer EVENT_SHUNT_SCAN | processing global timer EVENT_PENDING_DDNS | FOR_EACH_CONNECTION_... in connection_check_ddns | FOR_EACH_UNORIENTED_CONNECTION_... in check_orientations | elapsed time in connection_check_ddns for hostname lookup 0.000005 | spent 0.01 milliseconds in global timer EVENT_PENDING_DDNS | processing global timer EVENT_SHUNT_SCAN | expiring aged bare shunts from shunt table | spent 0.0032 milliseconds in global timer EVENT_SHUNT_SCAN | spent 0.00458 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 388 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | c7 19 31 af ce 78 5f b6 00 00 00 00 00 00 00 00 | 21 20 22 08 00 00 00 00 00 00 01 84 22 00 00 3c | 00 00 00 38 01 01 00 05 03 00 00 0c 01 00 00 0c | 80 0e 01 00 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 05 28 00 00 c8 00 05 00 00 | b6 66 46 f3 4d 41 3b 8a f7 ca 55 51 9c 24 98 69 | 27 59 44 b7 91 ba 3a 12 0e fe da 4a bc 49 5f 27 | 74 09 1a 9d d1 86 14 09 0b 9c 0e da 13 af 5f 48 | d3 d4 d4 8f 27 62 94 ad 59 97 c2 2b 4a 2b d6 34 | ee be 62 55 ad 27 3a ef c5 bc 44 74 23 f3 d5 88 | b1 36 17 62 8a 44 4f 92 06 f5 f3 2a 6a c5 28 21 | 46 2c 89 3c bf 6d 43 a7 13 9a e7 17 2c 1f 30 4c | 2a d3 3f 91 9a ac 39 74 09 63 e4 d6 f2 06 ac 95 | 83 80 5b b9 23 d7 57 4c b2 56 34 2b 16 c7 54 2d | fb 10 bc ba ef b5 ce 41 31 7a eb e5 04 9c b4 57 | 74 37 cf ac b4 32 2b e7 2f e4 c6 f8 68 b5 03 cf | 87 fa 94 61 d3 5f c4 df 89 12 1e 59 62 26 8d 78 | 29 00 00 24 2a d9 87 a1 b4 e6 71 6f 57 4d 17 34 | da 9a 65 c3 d3 77 2d 60 06 c5 1d f0 10 bb e7 99 | 0c 35 28 0c 29 00 00 08 00 00 40 2e 29 00 00 1c | 00 00 40 04 3c 17 44 2b 2b 06 f9 34 aa 63 df fb | b7 fa 5a f9 a7 a7 a5 f3 00 00 00 1c 00 00 40 05 | 7c ce 65 3e e1 3c 9a 18 0b fe af fe 73 15 14 ef | d3 51 9d 69 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | c7 19 31 af ce 78 5f b6 | responder cookie: | 00 00 00 00 00 00 00 00 | next payload type: ISAKMP_NEXT_v2SA (0x21) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_IKE_SA_INIT (0x22) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 0 (0x0) | length: 388 (0x184) | processing version=2.0 packet with exchange type=ISAKMP_v2_IKE_SA_INIT (34) | I am the IKE SA Original Responder receiving an IKEv2 IKE_SA_INIT request | State DB: IKEv2 state not found (find_v2_ike_sa_by_initiator_spi) | Now let's proceed with payload (ISAKMP_NEXT_v2SA) | ***parse IKEv2 Security Association Payload: | next payload type: ISAKMP_NEXT_v2KE (0x22) | flags: none (0x0) | length: 60 (0x3c) | processing payload: ISAKMP_NEXT_v2SA (len=56) | 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: 200 (0xc8) | DH group: OAKLEY_GROUP_MODP1536 (0x5) | processing payload: ISAKMP_NEXT_v2KE (len=192) | 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 (0x24) | 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 (0x8) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | 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 (0x1c) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | 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 (0x1c) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | Notify Message Type: v2N_NAT_DETECTION_DESTINATION_IP (0x4005) | processing payload: ISAKMP_NEXT_v2N (len=20) | DDOS disabled and no cookie sent, continuing | find_host_connection local=192.1.2.23:500 remote=192.1.2.45:500 policy=ECDSA+IKEV2_ALLOW but ignoring ports | find_host_pair: comparing 192.1.2.23:500 to 192.1.2.45:500 but ignoring ports | find_next_host_connection policy=ECDSA+IKEV2_ALLOW | found policy = RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO (westnet-eastnet-ikev2) | find_next_host_connection returns empty | find_host_connection local=192.1.2.23:500 remote= policy=ECDSA+IKEV2_ALLOW but ignoring ports | find_next_host_connection policy=ECDSA+IKEV2_ALLOW | find_next_host_connection returns empty | initial parent SA message received on 192.1.2.23:500 but no connection has been authorized with policy ECDSA+IKEV2_ALLOW | find_host_connection local=192.1.2.23:500 remote=192.1.2.45:500 policy=RSASIG+IKEV2_ALLOW but ignoring ports | find_host_pair: comparing 192.1.2.23:500 to 192.1.2.45:500 but ignoring ports | find_next_host_connection policy=RSASIG+IKEV2_ALLOW | found policy = RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO (westnet-eastnet-ikev2) | find_next_host_connection returns westnet-eastnet-ikev2 | find_next_host_connection policy=RSASIG+IKEV2_ALLOW | find_next_host_connection returns empty | found connection: westnet-eastnet-ikev2 with policy RSASIG+IKEV2_ALLOW | creating state object #18 at 0x559ecd5d5578 | State DB: adding IKEv2 state #18 in UNDEFINED | pstats #18 ikev2.ike started | Message ID: init #18: msgid=0 lastack=4294967295 nextuse=0 lastrecv=4294967295 lastreplied=0 | parent state #18: UNDEFINED(ignore) => PARENT_R0(half-open IKE SA) | Message ID: init_ike #18; ike: initiator.sent=0->-1 initiator.recv=0->-1 responder.sent=0->-1 responder.recv=0->-1 wip.initiator=0->-1 wip.responder=0->-1 | start processing: state #18 connection "westnet-eastnet-ikev2" from 192.1.2.45 (in ikev2_process_packet() at ikev2.c:2016) | State DB: IKEv2 state not found (find_v2_sa_by_responder_wip) | [RE]START processing: state #18 connection "westnet-eastnet-ikev2" from 192.1.2.45 (in ike_process_packet() at ikev2.c:2064) | #18 st.st_msgid_lastrecv -1 md.hdr.isa_msgid 00000000 | Message ID: #18 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=-1 responder.recv=-1 | Message ID: start-responder #18 request 0; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=-1 responder.recv=-1 wip.initiator=-1 wip.responder=-1->0 | #18 in state PARENT_R0: processing SA_INIT request | selected state microcode Respond to IKE_SA_INIT | Now let's proceed with state specific processing | calling processor Respond to IKE_SA_INIT | #18 updating local interface from 192.1.2.23:500 to 192.1.2.23:500 using md->iface (in update_ike_endpoints() at state.c:2669) | using existing local IKE proposals for connection westnet-eastnet-ikev2 (IKE SA responder matching remote proposals): 1:IKE:ENCR=AES_GCM_C_256;PRF=HMAC_SHA2_512,HMAC_SHA2_256;INTEG=NONE;DH=MODP2048,MODP3072,MODP4096,MODP8192,ECP_256,ECP_384,ECP_521,CURVE25519 2:IKE:ENCR=AES_GCM_C_128;PRF=HMAC_SHA2_512,HMAC_SHA2_256;INTEG=NONE;DH=MODP2048,MODP3072,MODP4096,MODP8192,ECP_256,ECP_384,ECP_521,CURVE25519 3:IKE:ENCR=AES_CBC_256;PRF=HMAC_SHA2_512,HMAC_SHA2_256;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=MODP2048,MODP3072,MODP4096,MODP8192,ECP_256,ECP_384,ECP_521,CURVE25519 4:IKE:ENCR=AES_CBC_128;PRF=HMAC_SHA2_512,HMAC_SHA2_256;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=MODP2048,MODP3072,MODP4096,MODP8192,ECP_256,ECP_384,ECP_521,CURVE25519 | Comparing remote proposals against IKE responder 4 local proposals | local proposal 1 type ENCR has 1 transforms | local proposal 1 type PRF has 2 transforms | local proposal 1 type INTEG has 1 transforms | local proposal 1 type DH has 8 transforms | local proposal 1 type ESN has 0 transforms | local proposal 1 transforms: required: ENCR+PRF+DH; optional: INTEG | local proposal 2 type ENCR has 1 transforms | local proposal 2 type PRF has 2 transforms | local proposal 2 type INTEG has 1 transforms | local proposal 2 type DH has 8 transforms | local proposal 2 type ESN has 0 transforms | local proposal 2 transforms: required: ENCR+PRF+DH; optional: INTEG | local proposal 3 type ENCR has 1 transforms | local proposal 3 type PRF has 2 transforms | local proposal 3 type INTEG has 2 transforms | local proposal 3 type DH has 8 transforms | local proposal 3 type ESN has 0 transforms | local proposal 3 transforms: required: ENCR+PRF+INTEG+DH; optional: none | local proposal 4 type ENCR has 1 transforms | local proposal 4 type PRF has 2 transforms | local proposal 4 type INTEG has 2 transforms | local proposal 4 type DH has 8 transforms | local proposal 4 type ESN has 0 transforms | local proposal 4 transforms: required: ENCR+PRF+INTEG+DH; optional: none | ****parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | length: 56 (0x38) | prop #: 1 (0x1) | proto ID: IKEv2_SEC_PROTO_IKE (0x1) | spi size: 0 (0x0) | # transforms: 5 (0x5) | Comparing remote proposal 1 containing 5 transforms against local proposal [1..4] of 4 local proposals | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 12 (0xc) | IKEv2 transform type: TRANS_TYPE_ENCR (0x1) | IKEv2 transform ID: AES_CBC (0xc) | ******parse IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 256 (0x100) | remote proposal 1 transform 0 (ENCR=AES_CBC_256) matches local proposal 3 type 1 (ENCR) transform 0 | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 12 (0xc) | 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 (0x80) | remote proposal 1 transform 1 (ENCR=AES_CBC_128) matches local proposal 4 type 1 (ENCR) transform 0 | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_PRF (0x2) | IKEv2 transform ID: PRF_HMAC_SHA2_256 (0x5) | remote proposal 1 transform 2 (PRF=HMAC_SHA2_256) matches local proposal 1 type 2 (PRF) transform 1 | remote proposal 1 transform 2 (PRF=HMAC_SHA2_256) matches local proposal 2 type 2 (PRF) transform 1 | remote proposal 1 transform 2 (PRF=HMAC_SHA2_256) matches local proposal 3 type 2 (PRF) transform 1 | remote proposal 1 transform 2 (PRF=HMAC_SHA2_256) matches local proposal 4 type 2 (PRF) transform 1 | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_INTEG (0x3) | IKEv2 transform ID: AUTH_HMAC_SHA2_256_128 (0xc) | remote proposal 1 transform 3 (INTEG=HMAC_SHA2_256_128) matches local proposal 3 type 3 (INTEG) transform 1 | remote proposal 1 transform 3 (INTEG=HMAC_SHA2_256_128) matches local proposal 4 type 3 (INTEG) transform 1 | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_LAST (0x0) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP1536 (0x5) | remote proposal 1 proposed transforms: ENCR+PRF+INTEG+DH; matched: ENCR+PRF+INTEG; unmatched: DH | remote proposal 1 does not match; unmatched remote transforms: DH "westnet-eastnet-ikev2" #18: no local proposal matches remote proposals 1:IKE:ENCR=AES_CBC_256;ENCR=AES_CBC_128;PRF=HMAC_SHA2_256;INTEG=HMAC_SHA2_256_128;DH=MODP1536 "westnet-eastnet-ikev2" #18: responding to IKE_SA_INIT (34) message (Message ID 0) from 192.1.2.45:500 with unencrypted notification NO_PROPOSAL_CHOSEN | Opening output PBS unencrypted notification | **emit ISAKMP Message: | initiator cookie: | c7 19 31 af ce 78 5f b6 | responder cookie: | 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_MSG_RESPONSE (0x20) | Message ID: 0 (0x0) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | Adding a v2N Payload | ***emit IKEv2 Notify Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | Notify Message Type: v2N_NO_PROPOSAL_CHOSEN (0xe) | next payload chain: setting previous 'ISAKMP Message'.'next payload type' to current IKEv2 Notify Payload (41:ISAKMP_NEXT_v2N) | next payload chain: saving location 'IKEv2 Notify Payload'.'next payload type' in 'unencrypted notification' | emitting length of IKEv2 Notify Payload: 8 | emitting length of ISAKMP Message: 36 | sending 36 bytes for v2 notify through eth1 from 192.1.2.23:500 to 192.1.2.45:500 (using #0) | c7 19 31 af ce 78 5f b6 00 00 00 00 00 00 00 00 | 29 20 22 20 00 00 00 00 00 00 00 24 00 00 00 08 | 00 00 00 0e | #18 spent 0.394 milliseconds in processing: Respond to IKE_SA_INIT in ikev2_process_state_packet() | [RE]START processing: state #18 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #18 complete_v2_state_transition() PARENT_R0->PARENT_R1 with status STF_FATAL | release_pending_whacks: state #18 has no whack fd | pstats #18 ikev2.ike deleted other | [RE]START processing: state #18 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in delete_state() at state.c:879) "westnet-eastnet-ikev2" #18: deleting state (STATE_PARENT_R0) aged 0.001s and NOT sending notification | parent state #18: PARENT_R0(half-open IKE SA) => delete | State DB: IKEv2 state not found (flush_incomplete_children) | in connection_discard for connection westnet-eastnet-ikev2 | State DB: deleting IKEv2 state #18 in PARENT_R0 | parent state #18: PARENT_R0(half-open IKE SA) => UNDEFINED(ignore) | stop processing: state #18 from 192.1.2.45:500 (in delete_state() at state.c:1143) | processing: STOP state #0 (in ikev2_process_packet() at ikev2.c:2018) | in statetime_stop() and could not find #18 | stop processing: from 192.1.2.45:500 (in process_md() at demux.c:380) | processing: STOP state #0 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 1.6 milliseconds in comm_handle_cb() reading and processing packet | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:722) | FOR_EACH_CONNECTION_... in show_connections_status | FOR_EACH_CONNECTION_... in show_connections_status | FOR_EACH_STATE_... in show_states_status (sort_states) | close_any(fd@16) (in whack_process() at rcv_whack.c:700) | spent 0.269 milliseconds in whack | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:722) shutting down | processing: RESET whack log_fd (was fd@16) (in exit_pluto() at plutomain.c:1825) | certs and keys locked by 'free_preshared_secrets' forgetting secrets | certs and keys unlocked by 'free_preshared_secrets' | unreference key: 0x559ecd5d39b8 @east cnt 1-- | unreference key: 0x559ecd52ac48 @west cnt 1-- | start processing: connection "westnet-eastnet-ikev2" (in delete_connection() at connections.c:189) | 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 | 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 0--0->-0 | netlink_shunt_eroute for proto 0, and source port 0 dest port 0 | priority calculation of connection "westnet-eastnet-ikev2" is 0xfe7e7 | priority calculation of connection "westnet-eastnet-ikev2" is 0xfe7e7 | 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_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLUTO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16388' PLUTO_SA_TYPE='none' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@west' PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+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='' VTI_ROUTING='no' VTI_SHARED='no' | popen cmd is 1032 chars long | cmd( 0):PLUTO_VERB='unroute-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastne: | cmd( 80):t-ikev2' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23: | cmd( 160):' PLUTO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.: | cmd( 240):2.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0: | cmd( 320):' PLUTO_SA_REQID='16388' PLUTO_SA_TYPE='none' PLUTO_PEER='192.1.2.45' PLUTO_PEER: | cmd( 400):_ID='@west' PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' P: | cmd( 480):LUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0: | cmd( 560):' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='RSA: | cmd( 640):SIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN: | cmd( 720):_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_C: | cmd( 800):ISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' P: | cmd( 880):LUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' VT: | cmd( 960):I_ROUTING='no' VTI_SHARED='no' SPI_IN=0x0 SPI_OUT=0x0 ipsec _updown 2>&1: "westnet-eastnet-ikev2": unroute-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ikev2": unroute-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ikev2": unroute-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ikev2": unroute-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ikev2": unroute-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ikev2": unroute-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ikev2": unroute-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ikev2": unroute-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ikev2": unroute-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ikev2": unroute-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ikev2": unroute-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ikev2": unroute-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ikev2": unroute-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ikev2": unroute-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ikev2": unroute-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ikev2": unroute-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ikev2": unroute-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ikev2": unroute-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ikev2": unroute-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ikev2": unroute-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ikev2": unroute-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ikev2": unroute-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ikev2": unroute-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ikev2": unroute-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ikev2": unroute-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ikev2": unroute-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ikev2": unroute-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ikev2": unroute-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ikev2": unroute-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ikev2": unroute-client output: Error: Peer netns reference is invalid. "westnet-eastnet-ikev2": unroute-client output: Error: Peer netns reference is invalid. | free hp@0x559ecd5d3648 | flush revival: connection 'westnet-eastnet-ikev2' wasn't on the list | stop processing: connection "westnet-eastnet-ikev2" (in discard_connection() at connections.c:249) | crl fetch request list locked by 'free_crl_fetch' | crl fetch request list unlocked by 'free_crl_fetch' shutting down interface lo/lo 127.0.0.1:4500 shutting down interface lo/lo 127.0.0.1:500 shutting down interface eth0/eth0 192.0.2.254:4500 shutting down interface eth0/eth0 192.0.2.254:500 shutting down interface eth1/eth1 192.1.2.23:4500 shutting down interface eth1/eth1 192.1.2.23:500 | FOR_EACH_STATE_... in delete_states_dead_interfaces | libevent_free: release ptr-libevent@0x559ecd5c4e78 | free_event_entry: release EVENT_NULL-pe@0x559ecd5d0b78 | libevent_free: release ptr-libevent@0x559ecd554278 | free_event_entry: release EVENT_NULL-pe@0x559ecd5d0c28 | libevent_free: release ptr-libevent@0x559ecd5572e8 | free_event_entry: release EVENT_NULL-pe@0x559ecd5d0cd8 | libevent_free: release ptr-libevent@0x559ecd55b2a8 | free_event_entry: release EVENT_NULL-pe@0x559ecd5d0d88 | libevent_free: release ptr-libevent@0x559ecd52f4e8 | free_event_entry: release EVENT_NULL-pe@0x559ecd5d0e38 | libevent_free: release ptr-libevent@0x559ecd52f1d8 | free_event_entry: release EVENT_NULL-pe@0x559ecd5d0ee8 | FOR_EACH_UNORIENTED_CONNECTION_... in check_orientations | libevent_free: release ptr-libevent@0x559ecd5c4f28 | free_event_entry: release EVENT_NULL-pe@0x559ecd5b8d18 | libevent_free: release ptr-libevent@0x559ecd556b78 | free_event_entry: release EVENT_NULL-pe@0x559ecd5b8ca8 | libevent_free: release ptr-libevent@0x559ecd59c6f8 | free_event_entry: release EVENT_NULL-pe@0x559ecd5b8168 | 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: release ptr-libevent@0x559ecd563548 | signal event handler PLUTO_SIGCHLD uninstalled | libevent_free: release ptr-libevent@0x559ecd55b378 | signal event handler PLUTO_SIGTERM uninstalled | libevent_free: release ptr-libevent@0x559ecd5d0468 | signal event handler PLUTO_SIGHUP uninstalled | libevent_free: release ptr-libevent@0x559ecd5d06a8 | signal event handler PLUTO_SIGSYS uninstalled | releasing event base | libevent_free: release ptr-libevent@0x559ecd5d0578 | libevent_free: release ptr-libevent@0x559ecd5b35e8 | libevent_free: release ptr-libevent@0x559ecd5b3598 | libevent_free: release ptr-libevent@0x559ecd5b3528 | libevent_free: release ptr-libevent@0x559ecd5b34e8 | libevent_free: release ptr-libevent@0x559ecd5d01f8 | libevent_free: release ptr-libevent@0x559ecd5d03a8 | libevent_free: release ptr-libevent@0x559ecd5b3798 | libevent_free: release ptr-libevent@0x559ecd5b8278 | libevent_free: release ptr-libevent@0x559ecd5b8c68 | libevent_free: release ptr-libevent@0x559ecd5d0f58 | libevent_free: release ptr-libevent@0x559ecd5d0ea8 | libevent_free: release ptr-libevent@0x559ecd5d0df8 | libevent_free: release ptr-libevent@0x559ecd5d0d48 | libevent_free: release ptr-libevent@0x559ecd5d0c98 | libevent_free: release ptr-libevent@0x559ecd5d0be8 | libevent_free: release ptr-libevent@0x559ecd553b18 | libevent_free: release ptr-libevent@0x559ecd5d0428 | libevent_free: release ptr-libevent@0x559ecd5d03e8 | libevent_free: release ptr-libevent@0x559ecd5d0368 | libevent_free: release ptr-libevent@0x559ecd5d0538 | libevent_free: release ptr-libevent@0x559ecd5d0238 | libevent_free: release ptr-libevent@0x559ecd52e908 | libevent_free: release ptr-libevent@0x559ecd52ed38 | libevent_free: release ptr-libevent@0x559ecd553e88 | releasing global libevent data | libevent_free: release ptr-libevent@0x559ecd554428 | libevent_free: release ptr-libevent@0x559ecd52ecd8 | libevent_free: release ptr-libevent@0x559ecd52edd8 leak detective found no leaks