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:23700 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@0x55a1069fa508 size 40 | libevent_malloc: new ptr-libevent@0x55a1069f9cd8 size 40 | libevent_malloc: new ptr-libevent@0x55a1069f9dd8 size 40 | creating event base | libevent_malloc: new ptr-libevent@0x55a106a7e5e8 size 56 | libevent_malloc: new ptr-libevent@0x55a106a1eee8 size 664 | libevent_malloc: new ptr-libevent@0x55a106a7e658 size 24 | libevent_malloc: new ptr-libevent@0x55a106a7e6a8 size 384 | libevent_malloc: new ptr-libevent@0x55a106a7e5a8 size 16 | libevent_malloc: new ptr-libevent@0x55a1069f9908 size 40 | libevent_malloc: new ptr-libevent@0x55a1069f9d38 size 48 | libevent_realloc: new ptr-libevent@0x55a106a1eb78 size 256 | libevent_malloc: new ptr-libevent@0x55a106a7e858 size 16 | libevent_free: release ptr-libevent@0x55a106a7e5e8 | libevent initialized | libevent_realloc: new ptr-libevent@0x55a106a7e5e8 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 started thread for crypto helper 1 | starting up helper thread 0 | starting up helper thread 1 started thread for crypto helper 2 | status value returned by setting the priority of this thread (crypto helper 0) 22 | crypto helper 0 waiting (nothing to do) | starting up helper thread 2 | starting up helper thread 3 | status value returned by setting the priority of this thread (crypto helper 1) 22 | status value returned by setting the priority of this thread (crypto helper 3) 22 | crypto helper 1 waiting (nothing to do) started thread for crypto helper 3 | crypto helper 3 waiting (nothing to do) | 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 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 | status value returned by setting the priority of this thread (crypto helper 6) 22 | crypto helper 6 waiting (nothing to do) | checking IKEv1 state table | 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@0x55a106a832b8 | libevent_malloc: new ptr-libevent@0x55a106a67678 size 128 | libevent_malloc: new ptr-libevent@0x55a106a833c8 size 16 | add_fd_read_event_handler: new KERNEL_ROUTE_FD-pe@0x55a106a83df8 | libevent_malloc: new ptr-libevent@0x55a106a21c28 size 128 | libevent_malloc: new ptr-libevent@0x55a106a83db8 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@0x55a106a83e68 | libevent_malloc: new ptr-libevent@0x55a106a8fff8 size 128 | libevent_malloc: new ptr-libevent@0x55a106a9b248 size 16 | libevent_realloc: new ptr-libevent@0x55a106a9b288 size 256 | libevent_malloc: new ptr-libevent@0x55a106a9b3b8 size 8 | libevent_realloc: new ptr-libevent@0x55a1069f5918 size 144 | libevent_malloc: new ptr-libevent@0x55a106a2e638 size 152 | libevent_malloc: new ptr-libevent@0x55a106a9b3f8 size 16 | signal event handler PLUTO_SIGCHLD installed | libevent_malloc: new ptr-libevent@0x55a106a9b438 size 8 | libevent_malloc: new ptr-libevent@0x55a106a26498 size 152 | signal event handler PLUTO_SIGTERM installed | libevent_malloc: new ptr-libevent@0x55a106a9b478 size 8 | libevent_malloc: new ptr-libevent@0x55a106a9b4b8 size 152 | signal event handler PLUTO_SIGHUP installed | libevent_malloc: new ptr-libevent@0x55a106a9b588 size 8 | libevent_realloc: release ptr-libevent@0x55a1069f5918 | libevent_realloc: new ptr-libevent@0x55a106a9b5c8 size 256 | libevent_malloc: new ptr-libevent@0x55a106a9b6f8 size 152 | signal event handler PLUTO_SIGSYS installed | created addconn helper (pid:23867) using fork+execve | forked child 23867 | 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@0x55a106a9bc58 | libevent_malloc: new ptr-libevent@0x55a106a8ff48 size 128 | libevent_malloc: new ptr-libevent@0x55a106a9bcc8 size 16 | setup callback for interface lo 127.0.0.1:4500 fd 22 | add_fd_read_event_handler: new ethX-pe@0x55a106a9bd08 | libevent_malloc: new ptr-libevent@0x55a106a1f2d8 size 128 | libevent_malloc: new ptr-libevent@0x55a106a9bd78 size 16 | setup callback for interface lo 127.0.0.1:500 fd 21 | add_fd_read_event_handler: new ethX-pe@0x55a106a9bdb8 | libevent_malloc: new ptr-libevent@0x55a106a22348 size 128 | libevent_malloc: new ptr-libevent@0x55a106a9be28 size 16 | setup callback for interface eth0 192.0.2.254:4500 fd 20 | add_fd_read_event_handler: new ethX-pe@0x55a106a9be68 | libevent_malloc: new ptr-libevent@0x55a106a263c8 size 128 | libevent_malloc: new ptr-libevent@0x55a106a9bed8 size 16 | setup callback for interface eth0 192.0.2.254:500 fd 19 | add_fd_read_event_handler: new ethX-pe@0x55a106a9bf18 | libevent_malloc: new ptr-libevent@0x55a1069ffba8 size 128 | libevent_malloc: new ptr-libevent@0x55a106a9bf88 size 16 | setup callback for interface eth1 192.1.2.23:4500 fd 18 | add_fd_read_event_handler: new ethX-pe@0x55a106a9bfc8 | libevent_malloc: new ptr-libevent@0x55a1069fa1d8 size 128 | libevent_malloc: new ptr-libevent@0x55a106a9c038 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 0.985 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@0x55a106a8ff48 | free_event_entry: release EVENT_NULL-pe@0x55a106a9bc58 | add_fd_read_event_handler: new ethX-pe@0x55a106a9bc58 | libevent_malloc: new ptr-libevent@0x55a106a8ff48 size 128 | setup callback for interface lo 127.0.0.1:4500 fd 22 | libevent_free: release ptr-libevent@0x55a106a1f2d8 | free_event_entry: release EVENT_NULL-pe@0x55a106a9bd08 | add_fd_read_event_handler: new ethX-pe@0x55a106a9bd08 | libevent_malloc: new ptr-libevent@0x55a106a1f2d8 size 128 | setup callback for interface lo 127.0.0.1:500 fd 21 | libevent_free: release ptr-libevent@0x55a106a22348 | free_event_entry: release EVENT_NULL-pe@0x55a106a9bdb8 | add_fd_read_event_handler: new ethX-pe@0x55a106a9bdb8 | libevent_malloc: new ptr-libevent@0x55a106a22348 size 128 | setup callback for interface eth0 192.0.2.254:4500 fd 20 | libevent_free: release ptr-libevent@0x55a106a263c8 | free_event_entry: release EVENT_NULL-pe@0x55a106a9be68 | add_fd_read_event_handler: new ethX-pe@0x55a106a9be68 | libevent_malloc: new ptr-libevent@0x55a106a263c8 size 128 | setup callback for interface eth0 192.0.2.254:500 fd 19 | libevent_free: release ptr-libevent@0x55a1069ffba8 | free_event_entry: release EVENT_NULL-pe@0x55a106a9bf18 | add_fd_read_event_handler: new ethX-pe@0x55a106a9bf18 | libevent_malloc: new ptr-libevent@0x55a1069ffba8 size 128 | setup callback for interface eth1 192.1.2.23:4500 fd 18 | libevent_free: release ptr-libevent@0x55a1069fa1d8 | free_event_entry: release EVENT_NULL-pe@0x55a106a9bfc8 | add_fd_read_event_handler: new ethX-pe@0x55a106a9bfc8 | libevent_malloc: new ptr-libevent@0x55a1069fa1d8 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.378 milliseconds in whack | processing signal PLUTO_SIGCHLD | waitpid returned pid 23867 (exited with status 0) | reaped addconn helper child (status 0) | waitpid returned ECHILD (no child processes left) | spent 0.0172 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@0x55a106a9e6c8 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.2 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.11 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.085 milliseconds in whack | spent 0.00262 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) | 87 63 1c aa 45 ac 67 6f 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 | 73 39 68 d6 ec 58 55 2d 2f 4d 2f 00 ee 72 33 ba | 0a b8 d1 ab 3f 45 3c 22 b5 d0 38 35 7c 4f d8 cb | 6d 10 2d 29 1c a5 6b d1 e2 8a 6b 11 cc c8 a1 8a | 2c 1c 44 cf 41 42 be 90 62 c7 82 ea d6 61 d1 98 | ff 57 1e 3f 72 c8 bd c3 f0 7e 03 ce 60 19 23 5e | 06 82 4e d6 4f 25 6f e0 9a 9e 68 04 19 c2 1a 5a | e1 2b 0f e5 a2 e5 1d 05 f0 98 f6 88 7d 65 89 14 | aa ba 47 82 09 3d 08 0b 9b 05 c8 eb 5a 95 39 e7 | ca 76 c3 8b eb e0 29 ea 79 5a a5 26 4b d5 d6 17 | 70 11 78 eb 1c b5 8c ae 49 ca bd dc 3d 4e ba 38 | a4 7a 54 b0 42 eb 27 e7 90 41 d8 9b 8a 13 ba c3 | 82 06 ff 99 69 34 2b ef c2 ce e6 68 bb d1 6e f6 | 0b 33 6f 2d 78 16 a7 4c 80 16 d2 d2 13 7e 66 03 | 71 00 a2 93 64 f5 39 99 2f 93 db 7d ad 4d c7 bb | 0a 5b 72 ad a3 f1 f4 a6 04 58 db f9 47 d1 8d cb | b9 77 27 26 07 a7 c5 a6 a3 46 10 06 84 cf 59 6a | 29 00 00 24 fa 2b d1 67 61 30 e7 f9 18 f9 ee e1 | b0 75 7a b0 91 7c 5b 05 13 2d 77 4f e2 8f c2 58 | 88 58 6f e5 29 00 00 08 00 00 40 2e 29 00 00 1c | 00 00 40 04 1f e8 40 d3 0b 61 69 8c 8b 6d 8d 97 | 3c 70 19 f4 97 c3 c0 00 00 00 00 1c 00 00 40 05 | 7c ff b0 3b 4c 0c b6 90 db 2d 29 3e 86 b9 9e 42 | 92 cb c6 18 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 87 63 1c aa 45 ac 67 6f | 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 0x55a106aa05d8 | 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=0x55a106847800(20) | natd_hash: icookie= 87 63 1c aa 45 ac 67 6f | 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= 7c ff b0 3b 4c 0c b6 90 db 2d 29 3e 86 b9 9e 42 | natd_hash: hash= 92 cb c6 18 | natd_hash: rcookie is zero | natd_hash: hasher=0x55a106847800(20) | natd_hash: icookie= 87 63 1c aa 45 ac 67 6f | 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= 1f e8 40 d3 0b 61 69 8c 8b 6d 8d 97 3c 70 19 f4 | natd_hash: hash= 97 c3 c0 00 | 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@0x55a106a9e7a8 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #1 | libevent_malloc: new ptr-libevent@0x55a106a9eb28 size 128 | crypto helper 0 resuming | crypto helper 0 starting work-order 1 for state #1 | crypto helper 0 doing build KE and nonce (ikev2_inI1outR1 KE); request ID 1 | crypto helper 0 finished build KE and nonce (ikev2_inI1outR1 KE); request ID 1 time elapsed 0.000735 seconds | (#1) spent 0.747 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@0x7f9840002888 size 128 | crypto helper 0 waiting (nothing to do) | #1 spent 0.239 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 | [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_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.493 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.501 milliseconds in comm_handle_cb() reading and processing packet | 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 0x55a106772b50 | ikev2_parent_inI1outR1_continue for #1: calculated ke+nonce, sending R1 | **emit ISAKMP Message: | initiator cookie: | 87 63 1c aa 45 ac 67 6f | responder cookie: | fa fc 29 1d ea 30 a2 55 | 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 49 b8 d5 92 bb fe 50 bf 97 7a b6 44 98 53 03 c9 | ikev2 g^x 1c 72 f5 57 ef f0 33 00 13 e6 79 d0 d6 42 05 6e | ikev2 g^x 19 dd 2d fd 80 61 2e 18 a6 8b 67 a6 e6 f8 97 e0 | ikev2 g^x cb 1e 9c 06 66 f6 71 28 16 72 15 c9 59 5a e6 63 | ikev2 g^x d1 6e 79 38 dd 42 87 83 75 c5 1a 50 16 cb e0 9a | ikev2 g^x 46 8f 48 06 eb 22 6c e6 ad 25 20 33 56 f1 bb 8a | ikev2 g^x 6b e6 4a 95 10 ee 43 15 dc f6 a3 86 65 13 59 52 | ikev2 g^x b7 8d cc 9d ee 0e 67 9d e4 dc 47 1d 10 35 22 ed | ikev2 g^x 3b a2 55 de 85 e6 f3 be 9c be 84 2f 1e 7a a4 71 | ikev2 g^x 61 80 91 f3 6c 9e 6c 5f f8 b7 08 78 92 31 94 52 | ikev2 g^x 56 63 c1 b7 34 e6 7c b8 12 c0 94 10 bd 8f ad d0 | ikev2 g^x ed 51 c9 eb 58 cc fe 35 c5 41 de 85 6f 80 f9 18 | ikev2 g^x 0f 3a 60 2d c1 28 c0 a2 f2 26 70 bf d8 3c 5a 71 | ikev2 g^x 01 09 65 4c 76 05 71 2f 6b af 56 89 39 0f 1b 2b | ikev2 g^x 6f f5 b0 46 0a b8 0b 5c 75 93 73 06 5b 29 24 54 | ikev2 g^x 09 a7 d8 9a e5 cf cd 6a 62 7c 1b bc 9f a5 3d 7b | 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 66 75 e9 09 c2 78 4a ae 79 95 55 2f 02 a0 3d c4 | IKEv2 nonce 2e 54 43 d8 b4 fa b9 36 a8 7e f0 9b 19 2c 85 b5 | 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=0x55a106847800(20) | natd_hash: icookie= 87 63 1c aa 45 ac 67 6f | natd_hash: rcookie= fa fc 29 1d ea 30 a2 55 | natd_hash: ip= c0 01 02 17 | natd_hash: port=500 | natd_hash: hash= fa d4 8f d0 2a 01 57 18 2f 24 f1 37 00 67 9e 24 | natd_hash: hash= bc a6 18 b3 | 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 fa d4 8f d0 2a 01 57 18 2f 24 f1 37 00 67 9e 24 | Notify data bc a6 18 b3 | emitting length of IKEv2 Notify Payload: 28 | natd_hash: hasher=0x55a106847800(20) | natd_hash: icookie= 87 63 1c aa 45 ac 67 6f | natd_hash: rcookie= fa fc 29 1d ea 30 a2 55 | natd_hash: ip= c0 01 02 2d | natd_hash: port=500 | natd_hash: hash= 01 1b 99 ce 96 f1 29 5e 90 3f c0 ed 82 b8 75 b9 | natd_hash: hash= 43 15 49 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_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 01 1b 99 ce 96 f1 29 5e 90 3f c0 ed 82 b8 75 b9 | Notify data 43 15 49 be | 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) | 87 63 1c aa 45 ac 67 6f fa fc 29 1d ea 30 a2 55 | 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 49 b8 d5 92 bb fe 50 bf 97 7a b6 44 | 98 53 03 c9 1c 72 f5 57 ef f0 33 00 13 e6 79 d0 | d6 42 05 6e 19 dd 2d fd 80 61 2e 18 a6 8b 67 a6 | e6 f8 97 e0 cb 1e 9c 06 66 f6 71 28 16 72 15 c9 | 59 5a e6 63 d1 6e 79 38 dd 42 87 83 75 c5 1a 50 | 16 cb e0 9a 46 8f 48 06 eb 22 6c e6 ad 25 20 33 | 56 f1 bb 8a 6b e6 4a 95 10 ee 43 15 dc f6 a3 86 | 65 13 59 52 b7 8d cc 9d ee 0e 67 9d e4 dc 47 1d | 10 35 22 ed 3b a2 55 de 85 e6 f3 be 9c be 84 2f | 1e 7a a4 71 61 80 91 f3 6c 9e 6c 5f f8 b7 08 78 | 92 31 94 52 56 63 c1 b7 34 e6 7c b8 12 c0 94 10 | bd 8f ad d0 ed 51 c9 eb 58 cc fe 35 c5 41 de 85 | 6f 80 f9 18 0f 3a 60 2d c1 28 c0 a2 f2 26 70 bf | d8 3c 5a 71 01 09 65 4c 76 05 71 2f 6b af 56 89 | 39 0f 1b 2b 6f f5 b0 46 0a b8 0b 5c 75 93 73 06 | 5b 29 24 54 09 a7 d8 9a e5 cf cd 6a 62 7c 1b bc | 9f a5 3d 7b 29 00 00 24 66 75 e9 09 c2 78 4a ae | 79 95 55 2f 02 a0 3d c4 2e 54 43 d8 b4 fa b9 36 | a8 7e f0 9b 19 2c 85 b5 29 00 00 08 00 00 40 2e | 29 00 00 1c 00 00 40 04 fa d4 8f d0 2a 01 57 18 | 2f 24 f1 37 00 67 9e 24 bc a6 18 b3 00 00 00 1c | 00 00 40 05 01 1b 99 ce 96 f1 29 5e 90 3f c0 ed | 82 b8 75 b9 43 15 49 be | state #1 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x55a106a9eb28 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x55a106a9e7a8 | event_schedule: new EVENT_SO_DISCARD-pe@0x55a106a9e7a8 | inserting event EVENT_SO_DISCARD, timeout in 200 seconds for #1 | libevent_malloc: new ptr-libevent@0x55a106aa03a8 size 128 | resume sending helper answer for #1 suppresed complete_v2_state_transition() | #1 spent 0.393 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@0x7f9840002888 | spent 0.00301 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) | 87 63 1c aa 45 ac 67 6f fa fc 29 1d ea 30 a2 55 | 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | b3 e3 de 50 35 a9 e1 5f a3 7c 6b 4d 42 e7 35 46 | c6 64 54 ec 44 0e 7f 58 13 07 1b 6b b6 60 97 e7 | d7 c7 19 a2 d5 cd ab 09 25 a9 4c fd f1 6e cb 21 | 14 17 6c f5 4d fb 96 fa af fc 3a 8d 97 3f b4 41 | 19 eb ae 7d fe 1b 43 3a 5d 54 d5 c5 0d 58 c4 ec | 2b 20 b7 ce 5d 16 47 7d 79 17 eb 14 7d ee db 97 | ea de f5 46 48 fe 95 89 10 fe 7e dc ca 67 58 38 | 17 6a 48 1a 00 80 cb 1d 93 e7 70 84 ea b7 ba 68 | 54 40 cb 38 ce 06 cc 3b da 7e bd 2d 88 83 bf f3 | 30 06 ed ae 62 26 60 10 37 c9 fa 11 bc a9 6b a7 | 17 b6 c2 aa 8c 8f 34 44 77 1d 40 52 c8 22 f9 59 | d9 10 14 6f c2 e2 18 2d 4f 9c 49 41 4b 3a 6f e9 | af fb 2d dd dc e6 b8 50 cd 9d 0c c0 1e d9 a3 7c | 65 d3 36 65 92 40 a4 94 ec d0 c9 15 75 b1 b0 9f | 95 5e b6 9d da 05 a6 92 73 4a ac 8a e8 88 90 69 | 94 6e ae 06 8b 69 8f 06 d6 be 7f 73 00 5c 2e d2 | 25 e9 07 39 83 af 14 07 6a da 6a 8c cb 30 91 d4 | 58 c3 42 02 17 ac e1 5e 13 f4 b7 f3 bf 64 40 49 | 32 36 d0 83 6d 89 36 fb ac 82 1b ce b7 28 02 d1 | 85 74 cf 9a 95 b6 f8 66 03 e5 46 1a ff 52 39 a4 | 0a 63 a0 3f 0a 98 b6 39 a7 ee b8 73 41 00 8a 91 | 96 a4 a6 e8 59 c5 ad 83 e6 f3 f0 8d 86 dc d6 5b | 6f 8d df 64 6c 1c c2 95 b4 75 4e 91 a6 d7 9d 65 | 65 5e e2 e5 d6 ae a4 ff 15 5d 0c 81 37 0f ba f9 | 38 d6 46 5e bf d6 d2 94 ea 8f 19 14 ae 28 eb 87 | 39 1c 92 2c e8 d0 f8 09 b3 0d e9 ea 5b 05 00 cc | c6 7e 24 e8 57 f5 8f cc 4c e7 46 82 08 a3 68 ed | 7f ee e4 c5 e1 e5 e8 0c ee 2a cb 4a 89 1b f0 e5 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 87 63 1c aa 45 ac 67 6f | responder cookie: | fa fc 29 1d ea 30 a2 55 | 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@0x55a106aa03a8 | free_event_entry: release EVENT_SO_DISCARD-pe@0x55a106a9e7a8 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x55a106a9e7a8 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #1 | libevent_malloc: new ptr-libevent@0x7f9840002888 size 128 | #1 spent 0.0377 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) | #1 complete_v2_state_transition() PARENT_R1->PARENT_R1 with status STF_SUSPEND | crypto helper 1 resuming | suspending state #1 and saving MD | crypto helper 1 starting work-order 2 for state #1 | crypto helper 1 doing compute dh (V2) (ikev2_inI2outR2 KE); request ID 2 | calculating skeyseed using prf=sha2_256 integ=sha2_256 cipherkey-size=32 salt-size=0 | #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.217 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.23 milliseconds in comm_handle_cb() reading and processing packet | crypto helper 1 finished compute dh (V2) (ikev2_inI2outR2 KE); request ID 2 time elapsed 0.001228 seconds | (#1) spent 1.22 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@0x7f983800a868 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 0x55a106772b50 | ikev2_parent_inI2outR2_continue for #1: calculating g^{xy}, sending R2 | #1 in state PARENT_R1: received v2I1, sent v2R1 | data for hmac: 87 63 1c aa 45 ac 67 6f fa fc 29 1d ea 30 a2 55 | data for hmac: 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | data for hmac: b3 e3 de 50 35 a9 e1 5f a3 7c 6b 4d 42 e7 35 46 | data for hmac: c6 64 54 ec 44 0e 7f 58 13 07 1b 6b b6 60 97 e7 | data for hmac: d7 c7 19 a2 d5 cd ab 09 25 a9 4c fd f1 6e cb 21 | data for hmac: 14 17 6c f5 4d fb 96 fa af fc 3a 8d 97 3f b4 41 | data for hmac: 19 eb ae 7d fe 1b 43 3a 5d 54 d5 c5 0d 58 c4 ec | data for hmac: 2b 20 b7 ce 5d 16 47 7d 79 17 eb 14 7d ee db 97 | data for hmac: ea de f5 46 48 fe 95 89 10 fe 7e dc ca 67 58 38 | data for hmac: 17 6a 48 1a 00 80 cb 1d 93 e7 70 84 ea b7 ba 68 | data for hmac: 54 40 cb 38 ce 06 cc 3b da 7e bd 2d 88 83 bf f3 | data for hmac: 30 06 ed ae 62 26 60 10 37 c9 fa 11 bc a9 6b a7 | data for hmac: 17 b6 c2 aa 8c 8f 34 44 77 1d 40 52 c8 22 f9 59 | data for hmac: d9 10 14 6f c2 e2 18 2d 4f 9c 49 41 4b 3a 6f e9 | data for hmac: af fb 2d dd dc e6 b8 50 cd 9d 0c c0 1e d9 a3 7c | data for hmac: 65 d3 36 65 92 40 a4 94 ec d0 c9 15 75 b1 b0 9f | data for hmac: 95 5e b6 9d da 05 a6 92 73 4a ac 8a e8 88 90 69 | data for hmac: 94 6e ae 06 8b 69 8f 06 d6 be 7f 73 00 5c 2e d2 | data for hmac: 25 e9 07 39 83 af 14 07 6a da 6a 8c cb 30 91 d4 | data for hmac: 58 c3 42 02 17 ac e1 5e 13 f4 b7 f3 bf 64 40 49 | data for hmac: 32 36 d0 83 6d 89 36 fb ac 82 1b ce b7 28 02 d1 | data for hmac: 85 74 cf 9a 95 b6 f8 66 03 e5 46 1a ff 52 39 a4 | data for hmac: 0a 63 a0 3f 0a 98 b6 39 a7 ee b8 73 41 00 8a 91 | data for hmac: 96 a4 a6 e8 59 c5 ad 83 e6 f3 f0 8d 86 dc d6 5b | data for hmac: 6f 8d df 64 6c 1c c2 95 b4 75 4e 91 a6 d7 9d 65 | data for hmac: 65 5e e2 e5 d6 ae a4 ff 15 5d 0c 81 37 0f ba f9 | data for hmac: 38 d6 46 5e bf d6 d2 94 ea 8f 19 14 ae 28 eb 87 | data for hmac: 39 1c 92 2c e8 d0 f8 09 b3 0d e9 ea 5b 05 00 cc | data for hmac: c6 7e 24 e8 57 f5 8f cc 4c e7 46 82 08 a3 68 ed | calculated auth: 7f ee e4 c5 e1 e5 e8 0c ee 2a cb 4a 89 1b f0 e5 | provided auth: 7f ee e4 c5 e1 e5 e8 0c ee 2a cb 4a 89 1b f0 e5 | 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=0x55a1069f5b58 (line=1) | concluding with best_match=002 best=0x55a1069f5b58 (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.0657 milliseconds in try_all_RSA_keys() trying a pubkey "westnet-eastnet-ikev2" #1: Authenticated using RSA | #1 spent 0.0914 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@0x7f9840002888 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x55a106a9e7a8 | event_schedule: new EVENT_SA_REKEY-pe@0x55a106a9e7a8 | inserting event EVENT_SA_REKEY, timeout in 3330 seconds for #1 | libevent_malloc: new ptr-libevent@0x55a106a9eb28 size 128 | pstats #1 ikev2.ike established | **emit ISAKMP Message: | initiator cookie: | 87 63 1c aa 45 ac 67 6f | responder cookie: | fa fc 29 1d ea 30 a2 55 | 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' | #1 spent 1.19 milliseconds | 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=0x55a1069f5b58 (line=1) | concluding with best_match=002 best=0x55a1069f5b58 (lineno=1) | #1 spent 3.68 milliseconds in ikev2_calculate_rsa_hash() calling sign_hash_RSA() | emitting 274 raw bytes of rsa signature into IKEv2 Authentication Payload | rsa signature 27 d3 6c 17 41 95 1f 42 2b 1a 21 1b 3e dd cb 24 | rsa signature c6 37 95 64 d5 a5 22 53 bc 70 43 fa db e5 be 53 | rsa signature 9e 0f b6 30 20 f1 42 cb f1 9c 8f 04 07 d0 f7 50 | rsa signature 64 9e 8f 25 51 a0 85 55 c4 d2 58 b0 6b 07 06 53 | rsa signature 3a 46 84 71 f9 f0 3c c2 e1 0e f5 85 ea 44 2f f4 | rsa signature 46 f6 d4 75 7e 56 8d 04 fb b7 b8 f3 c3 70 ef 49 | rsa signature 9c 29 cf 5d 3a 93 64 16 0f 24 41 6a 70 98 7c 67 | rsa signature ba e7 b8 30 02 b5 8b d8 52 08 48 33 ae cb ec ac | rsa signature 86 8c 19 a5 df 78 be 87 a4 34 c3 bd de cf 4a df | rsa signature e6 bd 42 d0 c3 24 09 dd 07 c6 7a d2 aa 3c 9f 49 | rsa signature ce e3 d7 88 23 07 b0 4c 13 0d 50 96 01 51 5a 91 | rsa signature 32 27 9b 88 3e 88 9b 9a 3d c1 a9 68 2a 54 bf ac | rsa signature 27 71 d9 09 26 7a de 6d 8b 48 aa 7f 66 75 95 3d | rsa signature f9 32 03 68 5b 6f 2d 0b 6e a5 59 bb f9 58 73 00 | rsa signature 7b 6b 6f 74 71 39 5c ac 18 85 53 d3 9c da c2 c9 | rsa signature d1 d9 68 76 4b 20 29 a0 6a ce ef b5 72 33 ee 4c | rsa signature e0 87 37 cb 1e d7 a4 b2 0a d0 15 74 ee 7d 63 ad | rsa signature f0 83 | #1 spent 3.76 milliseconds in ikev2_calculate_rsa_hash() | emitting length of IKEv2 Authentication Payload: 282 | creating state object #2 at 0x55a106aaaf98 | 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 3d 65 a5 67 | 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=3d65a567;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=3d65a567;ENCR=AES_CBC_256;INTEG=HMAC_SHA2_256_128;ESN=DISABLED | converting proposal to internal trans attrs | netlink_get_spi: allocated 0xa5a48236 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 a5 a4 82 36 | ******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 | #1 spent 1.2 milliseconds | 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.3d65a567@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.a5a48236@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=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=0x3d65a567 SPI_OUT=0xa5a48236 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=0x3d65a567 SPI_OUT=0xa5a48236 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=0x3d65a567 SPI_OUT=0xa5a48236 ipsec _updown 2: | cmd(1040):>&1: | route_and_eroute: instance "westnet-eastnet-ikev2", setting eroute_owner {spd=0x55a106a9c7b8,sr=0x55a106a9c7b8} to #2 (was #0) (newest_ipsec_sa=#0) | #1 spent 2.14 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: 87 63 1c aa 45 ac 67 6f fa fc 29 1d ea 30 a2 55 | data being hmac: 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | data being hmac: a4 bf 38 58 37 eb c0 54 e8 0e b4 8a f4 e5 54 36 | data being hmac: 68 a3 9c 02 7a c6 96 e7 f6 c6 e8 b0 ec 2f ba a8 | data being hmac: 3c 1f 56 95 f4 2f 32 7f 1a f4 16 f7 6d 1e ce 8d | data being hmac: a3 b4 40 05 0f 90 24 cf 39 bc 99 ef 90 12 5b ae | data being hmac: a3 b8 2d 42 66 e2 07 21 3e 79 15 5c 6a 1f 66 1a | data being hmac: a6 5e 0e 2e 27 d7 ce e7 1e 5d 46 f8 4d 1a 35 2d | data being hmac: 10 16 d3 a8 d1 09 9a 68 39 8e 0d 42 e6 53 f8 4e | data being hmac: 84 72 d6 e1 cf cc e2 0e 39 fc 13 43 75 66 16 b1 | data being hmac: f7 fa 2c ef 00 8d 39 ba cd 79 cc 5c d6 9d 46 00 | data being hmac: df c3 98 a7 7b 7e 6a 67 30 6d 83 60 6b 10 6d 02 | data being hmac: 50 23 7b 93 d8 ff aa ba 4a d7 f1 d0 59 2c 32 4d | data being hmac: e8 1b 57 c5 78 07 9d b9 7e 0d 92 02 62 c9 01 cc | data being hmac: 28 66 82 02 07 5d 30 de 54 d2 9c ac 33 e6 c6 ad | data being hmac: 70 be 5a f0 73 62 2c 59 ca 44 4c 04 a7 d1 4f ac | data being hmac: 2d 2a 45 b2 73 9f 0e dc 85 8e f6 34 fc bc 0a 3f | data being hmac: 38 33 53 4c d3 57 54 3a ba c5 49 36 e0 06 80 6e | data being hmac: bc 79 5e 42 4c 54 b2 3e 3a 5d d0 30 23 9e d1 b3 | data being hmac: ba 55 14 8c d3 ed b1 9a cd 8d ac 84 53 d5 e9 4f | data being hmac: 2d 01 66 20 fc 0a af 74 0e e1 df 03 c2 22 a4 10 | data being hmac: 35 12 d8 bc 54 d7 1c 21 0a b8 4a 02 cc 3a 5c 1b | data being hmac: 5b 16 0e b6 7e 19 5b 36 2e 2f 72 c3 79 9e 8d 85 | data being hmac: f0 7e 11 07 0e 9b 63 63 99 5d ab cd bf 48 2c 71 | data being hmac: 5d c0 53 de ae 91 12 c9 c5 62 f6 dd 2a 6c 8a 45 | data being hmac: cd 70 98 12 7d 28 1a 06 15 57 1a 9c 9e 0a b3 73 | data being hmac: 4d 9c da 61 b3 09 a3 c3 e2 be 38 17 58 b9 7c 12 | data being hmac: 03 0d 3e d3 23 1d b9 bf b8 ba ea 79 17 8a fd 53 | out calculated auth: | df db a1 88 f6 6f 71 70 49 00 6f 0a 49 86 9a fd | ikev2_parent_inI2outR2_continue_tail returned STF_OK | #1 spent 8.66 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=>0x3d65a567 <0xa5a48236 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) | 87 63 1c aa 45 ac 67 6f fa fc 29 1d ea 30 a2 55 | 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | a4 bf 38 58 37 eb c0 54 e8 0e b4 8a f4 e5 54 36 | 68 a3 9c 02 7a c6 96 e7 f6 c6 e8 b0 ec 2f ba a8 | 3c 1f 56 95 f4 2f 32 7f 1a f4 16 f7 6d 1e ce 8d | a3 b4 40 05 0f 90 24 cf 39 bc 99 ef 90 12 5b ae | a3 b8 2d 42 66 e2 07 21 3e 79 15 5c 6a 1f 66 1a | a6 5e 0e 2e 27 d7 ce e7 1e 5d 46 f8 4d 1a 35 2d | 10 16 d3 a8 d1 09 9a 68 39 8e 0d 42 e6 53 f8 4e | 84 72 d6 e1 cf cc e2 0e 39 fc 13 43 75 66 16 b1 | f7 fa 2c ef 00 8d 39 ba cd 79 cc 5c d6 9d 46 00 | df c3 98 a7 7b 7e 6a 67 30 6d 83 60 6b 10 6d 02 | 50 23 7b 93 d8 ff aa ba 4a d7 f1 d0 59 2c 32 4d | e8 1b 57 c5 78 07 9d b9 7e 0d 92 02 62 c9 01 cc | 28 66 82 02 07 5d 30 de 54 d2 9c ac 33 e6 c6 ad | 70 be 5a f0 73 62 2c 59 ca 44 4c 04 a7 d1 4f ac | 2d 2a 45 b2 73 9f 0e dc 85 8e f6 34 fc bc 0a 3f | 38 33 53 4c d3 57 54 3a ba c5 49 36 e0 06 80 6e | bc 79 5e 42 4c 54 b2 3e 3a 5d d0 30 23 9e d1 b3 | ba 55 14 8c d3 ed b1 9a cd 8d ac 84 53 d5 e9 4f | 2d 01 66 20 fc 0a af 74 0e e1 df 03 c2 22 a4 10 | 35 12 d8 bc 54 d7 1c 21 0a b8 4a 02 cc 3a 5c 1b | 5b 16 0e b6 7e 19 5b 36 2e 2f 72 c3 79 9e 8d 85 | f0 7e 11 07 0e 9b 63 63 99 5d ab cd bf 48 2c 71 | 5d c0 53 de ae 91 12 c9 c5 62 f6 dd 2a 6c 8a 45 | cd 70 98 12 7d 28 1a 06 15 57 1a 9c 9e 0a b3 73 | 4d 9c da 61 b3 09 a3 c3 e2 be 38 17 58 b9 7c 12 | 03 0d 3e d3 23 1d b9 bf b8 ba ea 79 17 8a fd 53 | df db a1 88 f6 6f 71 70 49 00 6f 0a 49 86 9a fd | 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@0x7f9840002b78 | inserting event EVENT_SA_REKEY, timeout in 28530 seconds for #2 | libevent_malloc: new ptr-libevent@0x55a106aa39d8 size 128 | resume sending helper answer for #1 suppresed complete_v2_state_transition() | #1 spent 9 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@0x7f983800a868 | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00427 milliseconds in signal handler PLUTO_SIGCHLD | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00269 milliseconds in signal handler PLUTO_SIGCHLD | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00261 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00259 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) | 87 63 1c aa 45 ac 67 6f fa fc 29 1d ea 30 a2 55 | 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | 96 14 fd fb e6 96 ad b3 e3 03 9a 77 84 20 d2 3e | b6 0c 60 94 40 be 04 8a c5 6f e2 51 52 c0 0f 8a | 64 eb ec 62 42 fa f9 d2 a4 24 2b c6 76 71 40 cd | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 87 63 1c aa 45 ac 67 6f | responder cookie: | fa fc 29 1d ea 30 a2 55 | 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: 87 63 1c aa 45 ac 67 6f fa fc 29 1d ea 30 a2 55 | data for hmac: 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | data for hmac: 96 14 fd fb e6 96 ad b3 e3 03 9a 77 84 20 d2 3e | data for hmac: b6 0c 60 94 40 be 04 8a c5 6f e2 51 52 c0 0f 8a | calculated auth: 64 eb ec 62 42 fa f9 d2 a4 24 2b c6 76 71 40 cd | provided auth: 64 eb ec 62 42 fa f9 d2 a4 24 2b c6 76 71 40 cd | 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: | 87 63 1c aa 45 ac 67 6f | responder cookie: | fa fc 29 1d ea 30 a2 55 | 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 65 a5 67 | delete PROTO_v2_ESP SA(0x3d65a567) | 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(0x3d65a567) "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.136s and NOT sending notification | child state #2: V2_IPSEC_R(established CHILD SA) => delete | get_sa_info esp.3d65a567@192.1.2.45 | get_sa_info esp.a5a48236@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@0x55a106aa39d8 | free_event_entry: release EVENT_SA_REKEY-pe@0x7f9840002b78 | 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='1566843954' 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='1566843954' 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=0x3d65a567 SPI_OUT=0xa5a48236 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.3d65a567@192.1.2.45 | netlink response for Del SA esp.3d65a567@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.a5a48236@192.1.2.23 | netlink response for Del SA esp.a5a48236@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 a5 a4 82 36 | 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: 87 63 1c aa 45 ac 67 6f fa fc 29 1d ea 30 a2 55 | data being hmac: 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | data being hmac: 57 0e da e9 d2 9e 51 3e 43 56 29 60 d1 b4 59 f0 | data being hmac: 5d 81 95 05 7c cd 3d dc df 49 d6 08 50 18 3f 14 | out calculated auth: | 28 9f 44 73 1c f8 ce 75 c7 34 c0 48 bc b1 64 83 | 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) | 87 63 1c aa 45 ac 67 6f fa fc 29 1d ea 30 a2 55 | 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | 57 0e da e9 d2 9e 51 3e 43 56 29 60 d1 b4 59 f0 | 5d 81 95 05 7c cd 3d dc df 49 d6 08 50 18 3f 14 | 28 9f 44 73 1c f8 ce 75 c7 34 c0 48 bc b1 64 83 | 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.03 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.24 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.26 milliseconds in comm_handle_cb() reading and processing packet | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00438 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00213 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) | 87 63 1c aa 45 ac 67 6f fa fc 29 1d ea 30 a2 55 | 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | eb cb 2c 64 49 c4 25 a5 2c 26 1f 46 9e 71 04 d9 | fe 67 36 2b 11 e0 d2 3d 7f 5d 25 ee 6c 62 0c 37 | 7d cf 9e e8 5b 23 a7 b5 7b 6e ab 4e 94 3d 94 89 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 87 63 1c aa 45 ac 67 6f | responder cookie: | fa fc 29 1d ea 30 a2 55 | 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: 87 63 1c aa 45 ac 67 6f fa fc 29 1d ea 30 a2 55 | data for hmac: 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | data for hmac: eb cb 2c 64 49 c4 25 a5 2c 26 1f 46 9e 71 04 d9 | data for hmac: fe 67 36 2b 11 e0 d2 3d 7f 5d 25 ee 6c 62 0c 37 | calculated auth: 7d cf 9e e8 5b 23 a7 b5 7b 6e ab 4e 94 3d 94 89 | provided auth: 7d cf 9e e8 5b 23 a7 b5 7b 6e ab 4e 94 3d 94 89 | 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: | 87 63 1c aa 45 ac 67 6f | responder cookie: | fa fc 29 1d ea 30 a2 55 | 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: 87 63 1c aa 45 ac 67 6f fa fc 29 1d ea 30 a2 55 | data being hmac: 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | data being hmac: 01 18 c1 8e ec 9e 30 75 e6 af 42 36 ff 21 ae db | data being hmac: 26 2a c0 70 8f e2 f6 5b dd 53 14 d8 96 10 e1 a1 | out calculated auth: | 92 f5 35 42 30 24 d0 a5 ed d0 77 11 d3 00 4b 2b | 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) | 87 63 1c aa 45 ac 67 6f fa fc 29 1d ea 30 a2 55 | 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | 01 18 c1 8e ec 9e 30 75 e6 af 42 36 ff 21 ae db | 26 2a c0 70 8f e2 f6 5b dd 53 14 d8 96 10 e1 a1 | 92 f5 35 42 30 24 d0 a5 ed d0 77 11 d3 00 4b 2b | 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 13.3 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.163s 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@0x55a106a9eb28 | free_event_entry: release EVENT_SA_REKEY-pe@0x55a106a9e7a8 | 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: 0x55a1069f5c48 @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.515 milliseconds in comm_handle_cb() reading and processing packet | spent 0.00284 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) | 00 60 10 13 fa bc 26 b9 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 | b3 b3 5a 1b 97 fa af fd 03 b2 82 58 df 03 8f 4a | 48 e6 9d 1e 01 93 3f bb de 86 e0 dc 1b 93 c4 16 | b4 3a f6 7e 83 e4 09 fc 01 5f 01 f8 2f a0 b8 c0 | 93 b1 a6 25 04 58 b5 2b 68 49 b6 98 e5 85 a0 85 | de cf 4a ac 84 5b 92 da bc e7 46 4f 1a a6 55 90 | 95 15 06 2d 98 96 6b 95 50 41 28 91 dc 10 d6 9d | 97 68 87 3b 9b ac a0 b4 bc 7a 18 6a 36 70 ad a9 | 86 12 0c 2a c7 9e 75 95 d7 e7 2f d0 9b dd 08 3d | ce 71 de 99 91 52 92 be 70 ea 12 9d e4 15 50 24 | ec a8 f2 24 e3 14 24 39 ad 6c 74 7e e6 a5 7e 0a | e0 27 02 f4 c2 89 1e ce 0b 7f 97 ba 44 39 ce 6b | 18 a3 ae bf 07 f8 dc e2 5a c8 d2 f7 f7 5b 86 7e | b5 7c 2a fd f0 58 90 c0 09 6a c5 f1 93 d3 0c 96 | bc 0c bd eb cd 34 21 47 f2 c2 21 04 70 3d d4 a0 | 1c 6e 34 d6 88 16 db 13 e2 85 e7 f2 8b 7e 3d 31 | 8e 7c d8 c5 7e e1 d7 8f 7e f0 c7 cf c8 81 b9 9c | d6 aa 31 8e 56 7f c2 23 dd 6f c4 3f 39 de 83 5f | 3f e5 b7 65 09 df 07 cf 98 1b 44 34 71 c0 72 77 | d1 a5 65 97 8e 38 d8 0a 62 ff bb 11 89 b8 8d 1d | 08 80 78 71 9f a6 b4 de e0 1f 11 60 19 9e 5e aa | 37 3c 40 89 d8 d1 de ba 97 b2 f2 90 18 fc 88 16 | 09 55 c0 42 2f a4 42 a6 07 06 88 63 08 44 47 5a | ef 36 2a 00 5b 3c 4e bf 72 b2 a1 89 19 78 74 71 | d1 ff 8c e2 2e a4 61 1c 8d f8 a2 0e c3 ec 79 77 | 29 00 00 24 f7 5c b2 25 1b 65 12 0e 53 97 1b 27 | 8c ed c7 0d 6d 66 cd d2 3d cd ea 1d 84 d6 21 86 | 8c 12 8f 23 29 00 00 08 00 00 40 2e 29 00 00 1c | 00 00 40 04 a3 5f b3 4d f0 fe c5 55 33 7d b5 9a | 84 a8 6e cb 53 fa 99 34 00 00 00 1c 00 00 40 05 | b1 7d 4d 06 21 5e eb ea 03 be 27 46 16 76 a6 1f | 78 78 60 87 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 00 60 10 13 fa bc 26 b9 | 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 0x55a106aa05d8 | 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=0x55a106847800(20) | natd_hash: icookie= 00 60 10 13 fa bc 26 b9 | 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= b1 7d 4d 06 21 5e eb ea 03 be 27 46 16 76 a6 1f | natd_hash: hash= 78 78 60 87 | natd_hash: rcookie is zero | natd_hash: hasher=0x55a106847800(20) | natd_hash: icookie= 00 60 10 13 fa bc 26 b9 | 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= a3 5f b3 4d f0 fe c5 55 33 7d b5 9a 84 a8 6e cb | natd_hash: hash= 53 fa 99 34 | 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@0x55a106a9e7a8 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #3 | libevent_malloc: new ptr-libevent@0x7f983800a868 size 128 | #3 spent 0.286 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) | crypto helper 3 resuming | #3 complete_v2_state_transition() PARENT_R0->PARENT_R1 with status STF_SUSPEND | crypto helper 3 starting work-order 3 for state #3 | suspending state #3 and saving MD | #3 is busy; has a suspended MD | crypto helper 3 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.647 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.659 milliseconds in comm_handle_cb() reading and processing packet | crypto helper 3 finished build KE and nonce (ikev2_inI1outR1 KE); request ID 3 time elapsed 0.001459 seconds | (#3) spent 1.45 milliseconds in crypto helper computing work-order 3: ikev2_inI1outR1 KE (pcr) | crypto helper 3 sending results from work-order 3 for state #3 to event queue | scheduling resume sending helper answer for #3 | libevent_malloc: new ptr-libevent@0x7f983c001b78 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 3 | calling continuation function 0x55a106772b50 | ikev2_parent_inI1outR1_continue for #3: calculated ke+nonce, sending R1 | **emit ISAKMP Message: | initiator cookie: | 00 60 10 13 fa bc 26 b9 | responder cookie: | 5e 11 a2 11 9b 76 6d 1c | 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 28 8c 57 07 2f ed a1 9d 67 05 98 1c 5e c4 71 44 | ikev2 g^x e2 9b 0d 75 59 9e 23 27 5c 8c df dc e0 40 63 b7 | ikev2 g^x f8 55 79 77 41 6e 11 25 00 08 42 54 2f 61 7e 9f | ikev2 g^x 10 32 8a d2 bb e7 40 9d 80 61 c7 c2 d3 68 ec 6a | ikev2 g^x 58 31 1a e4 28 ce 0c d0 36 4a f1 e3 dc c8 21 a2 | ikev2 g^x 73 62 1c 0b 81 fd a9 69 32 63 ee 1c 9e 04 4c a9 | ikev2 g^x 9c e3 bd 4a ca 1d 6d 42 8e 5b 6a 37 7f f2 32 a5 | ikev2 g^x 06 3f 5c 31 ce 54 dd ef 30 d7 da 18 1a ef 7b 08 | ikev2 g^x ac 08 21 66 9d 65 04 dc 06 45 24 4d ce 9f ff d8 | ikev2 g^x 58 1e cb 84 df fd df aa 56 d7 20 ca 6d 93 02 9a | ikev2 g^x 88 8b 72 66 c3 34 90 e8 74 58 f2 de fb 20 d5 f7 | ikev2 g^x 8d f2 b9 62 c1 bc 36 0e dd 66 6c 61 43 aa d0 eb | ikev2 g^x 50 98 ba 07 88 b3 70 58 67 61 60 26 5e 4c 51 05 | ikev2 g^x b8 dc 75 8a 15 72 2c 88 39 c0 9d c6 0d 6d 7a 29 | ikev2 g^x 1a e2 87 d0 97 c3 e2 be 5e d8 c2 48 ae 1f 77 57 | ikev2 g^x 12 3a 05 d6 a8 f6 24 ee 49 65 fb bc e0 61 f7 9c | ikev2 g^x 09 40 18 00 6d fd e1 ba 30 24 51 8d fd f7 8b 28 | ikev2 g^x 14 9b 1c 06 03 29 75 b3 66 ef 8c 7d 25 1d f6 b1 | ikev2 g^x 5c 7d 73 d9 63 b3 be c6 4d 9e 13 86 6a 0b d1 2e | ikev2 g^x 5e e1 4b e5 1c 90 02 df e1 12 c1 a8 76 36 e6 5a | ikev2 g^x 01 36 79 0d 38 a7 40 be 07 72 b4 d2 99 0a 45 1f | ikev2 g^x 2a 06 36 0a dd dc 5a 70 d4 b2 a0 cc b8 89 23 de | ikev2 g^x 30 6a 09 fe cb 72 c9 b5 b4 f3 1f 29 4b 19 d6 de | ikev2 g^x f2 7b ac c2 70 81 78 12 b9 d0 f1 9c f7 87 93 d8 | 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 a5 75 fe 50 b4 66 60 64 94 5f 23 91 75 e7 90 6a | IKEv2 nonce 60 eb 5f 81 3f c9 29 70 8d e6 26 d9 80 98 5c 76 | 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=0x55a106847800(20) | natd_hash: icookie= 00 60 10 13 fa bc 26 b9 | natd_hash: rcookie= 5e 11 a2 11 9b 76 6d 1c | natd_hash: ip= c0 01 02 17 | natd_hash: port=500 | natd_hash: hash= 20 5e 6d 59 a4 72 ac e0 da e1 e2 c5 f2 47 47 3e | natd_hash: hash= 8d ef 2b a8 | 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 20 5e 6d 59 a4 72 ac e0 da e1 e2 c5 f2 47 47 3e | Notify data 8d ef 2b a8 | emitting length of IKEv2 Notify Payload: 28 | natd_hash: hasher=0x55a106847800(20) | natd_hash: icookie= 00 60 10 13 fa bc 26 b9 | natd_hash: rcookie= 5e 11 a2 11 9b 76 6d 1c | natd_hash: ip= c0 01 02 2d | natd_hash: port=500 | natd_hash: hash= f9 a6 81 e3 a3 fc 61 31 d7 7e a3 96 40 95 9a 20 | natd_hash: hash= 5b 38 21 bf | 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 f9 a6 81 e3 a3 fc 61 31 d7 7e a3 96 40 95 9a 20 | Notify data 5b 38 21 bf | 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) | 00 60 10 13 fa bc 26 b9 5e 11 a2 11 9b 76 6d 1c | 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 28 8c 57 07 2f ed a1 9d 67 05 98 1c | 5e c4 71 44 e2 9b 0d 75 59 9e 23 27 5c 8c df dc | e0 40 63 b7 f8 55 79 77 41 6e 11 25 00 08 42 54 | 2f 61 7e 9f 10 32 8a d2 bb e7 40 9d 80 61 c7 c2 | d3 68 ec 6a 58 31 1a e4 28 ce 0c d0 36 4a f1 e3 | dc c8 21 a2 73 62 1c 0b 81 fd a9 69 32 63 ee 1c | 9e 04 4c a9 9c e3 bd 4a ca 1d 6d 42 8e 5b 6a 37 | 7f f2 32 a5 06 3f 5c 31 ce 54 dd ef 30 d7 da 18 | 1a ef 7b 08 ac 08 21 66 9d 65 04 dc 06 45 24 4d | ce 9f ff d8 58 1e cb 84 df fd df aa 56 d7 20 ca | 6d 93 02 9a 88 8b 72 66 c3 34 90 e8 74 58 f2 de | fb 20 d5 f7 8d f2 b9 62 c1 bc 36 0e dd 66 6c 61 | 43 aa d0 eb 50 98 ba 07 88 b3 70 58 67 61 60 26 | 5e 4c 51 05 b8 dc 75 8a 15 72 2c 88 39 c0 9d c6 | 0d 6d 7a 29 1a e2 87 d0 97 c3 e2 be 5e d8 c2 48 | ae 1f 77 57 12 3a 05 d6 a8 f6 24 ee 49 65 fb bc | e0 61 f7 9c 09 40 18 00 6d fd e1 ba 30 24 51 8d | fd f7 8b 28 14 9b 1c 06 03 29 75 b3 66 ef 8c 7d | 25 1d f6 b1 5c 7d 73 d9 63 b3 be c6 4d 9e 13 86 | 6a 0b d1 2e 5e e1 4b e5 1c 90 02 df e1 12 c1 a8 | 76 36 e6 5a 01 36 79 0d 38 a7 40 be 07 72 b4 d2 | 99 0a 45 1f 2a 06 36 0a dd dc 5a 70 d4 b2 a0 cc | b8 89 23 de 30 6a 09 fe cb 72 c9 b5 b4 f3 1f 29 | 4b 19 d6 de f2 7b ac c2 70 81 78 12 b9 d0 f1 9c | f7 87 93 d8 29 00 00 24 a5 75 fe 50 b4 66 60 64 | 94 5f 23 91 75 e7 90 6a 60 eb 5f 81 3f c9 29 70 | 8d e6 26 d9 80 98 5c 76 29 00 00 08 00 00 40 2e | 29 00 00 1c 00 00 40 04 20 5e 6d 59 a4 72 ac e0 | da e1 e2 c5 f2 47 47 3e 8d ef 2b a8 00 00 00 1c | 00 00 40 05 f9 a6 81 e3 a3 fc 61 31 d7 7e a3 96 | 40 95 9a 20 5b 38 21 bf | state #3 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x7f983800a868 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x55a106a9e7a8 | event_schedule: new EVENT_SO_DISCARD-pe@0x55a106a9e7a8 | inserting event EVENT_SO_DISCARD, timeout in 200 seconds for #3 | libevent_malloc: new ptr-libevent@0x55a106a9eb28 size 128 | resume sending helper answer for #3 suppresed complete_v2_state_transition() | #3 spent 0.444 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@0x7f983c001b78 | spent 0.00309 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) | 00 60 10 13 fa bc 26 b9 5e 11 a2 11 9b 76 6d 1c | 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | b4 5a 39 0c 3e 30 81 25 b1 b0 a5 17 e6 5b fc bc | d1 fc 4f 74 dc e2 19 a3 ef b9 30 71 41 18 67 bf | ef 22 d9 95 9c 23 f3 a4 75 44 d8 0a a0 ee 57 f0 | 21 0c c9 85 e0 42 05 99 db ab c4 75 cb aa 12 0a | a0 43 80 40 cc 8b c4 35 9a 28 71 0c 9c c0 69 cf | b7 42 61 fd db dc 15 62 81 d8 cb be 27 98 92 9a | d7 c3 d8 a9 54 76 53 99 7c 5d 06 96 1f 2c b2 cc | 8b 8a e7 a8 6a 33 2d 58 fd b5 41 fa fb ff 53 6a | 34 03 0a 6f 63 f3 7b 43 db 2c 29 7b 87 d2 ef f2 | 6e 02 e5 79 96 1f 11 d8 b7 7b d0 ec b0 ca 67 7c | fa 47 2d a1 28 50 6d a8 fd b1 35 a3 30 c3 cf 4a | d8 1f fd 42 1c 37 52 c9 66 4a 9a 41 2f 5f 40 78 | 25 59 c0 94 f1 ca 99 4e b8 eb 7d 8d e6 83 ed 7b | fb 9e 22 e8 1d 1c c2 d7 45 b0 d1 f3 62 98 93 fb | 88 48 8d 92 b9 63 02 d0 f1 25 53 99 fd 72 73 a1 | 22 99 ba f0 7b 55 e6 c6 41 cf 42 45 e2 3a 06 dd | 25 67 21 d4 08 cb 6c ff 8a 17 d4 fe bc 50 10 f4 | 3d 8f 7a 3c 13 e4 cc 3a dd 22 2f 86 9a 04 3b 74 | c8 81 3e e6 22 cf 54 d5 13 fb 47 0c 1f 46 a8 4b | bf 18 04 a4 9a be 44 a3 ce 3d 42 57 18 f1 7a c9 | 89 b7 44 87 27 64 99 d4 cd ce 54 b1 75 18 dd 66 | 79 59 0d 3a 41 29 46 42 46 a2 54 15 af fc 95 1a | a9 2c b2 4f d5 18 98 0c 7c c8 fa 73 e0 8f ba ed | f8 44 e9 0b 85 a0 06 f3 d7 c1 89 40 e0 4e f7 8f | 33 12 ca b9 69 a9 6f 22 90 b5 c4 4b d8 bc 5d 99 | 6e 62 60 16 1e df a9 3e 07 bf 7c 10 23 53 77 94 | ec e4 8e dc 50 63 75 ec 78 e9 fd 97 09 b8 3f 72 | 83 dc cd d5 23 e6 96 f5 9d 41 88 70 be 43 43 58 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 00 60 10 13 fa bc 26 b9 | responder cookie: | 5e 11 a2 11 9b 76 6d 1c | 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@0x55a106a9eb28 | free_event_entry: release EVENT_SO_DISCARD-pe@0x55a106a9e7a8 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x55a106a9e7a8 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #3 | libevent_malloc: new ptr-libevent@0x7f983c001b78 size 128 | #3 spent 0.0232 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 | crypto helper 2 resuming | crypto helper 2 starting work-order 4 for state #3 | #3 is busy; has a suspended MD | crypto helper 2 doing compute dh (V2) (ikev2_inI2outR2 KE); request ID 4 | [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_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.17 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.178 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 4 time elapsed 0.002036 seconds | (#3) spent 2.02 milliseconds in crypto helper computing work-order 4: ikev2_inI2outR2 KE (pcr) | crypto helper 2 sending results from work-order 4 for state #3 to event queue | scheduling resume sending helper answer for #3 | libevent_malloc: new ptr-libevent@0x7f9830005a48 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 4 | calling continuation function 0x55a106772b50 | ikev2_parent_inI2outR2_continue for #3: calculating g^{xy}, sending R2 | #3 in state PARENT_R1: received v2I1, sent v2R1 | data for hmac: 00 60 10 13 fa bc 26 b9 5e 11 a2 11 9b 76 6d 1c | data for hmac: 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | data for hmac: b4 5a 39 0c 3e 30 81 25 b1 b0 a5 17 e6 5b fc bc | data for hmac: d1 fc 4f 74 dc e2 19 a3 ef b9 30 71 41 18 67 bf | data for hmac: ef 22 d9 95 9c 23 f3 a4 75 44 d8 0a a0 ee 57 f0 | data for hmac: 21 0c c9 85 e0 42 05 99 db ab c4 75 cb aa 12 0a | data for hmac: a0 43 80 40 cc 8b c4 35 9a 28 71 0c 9c c0 69 cf | data for hmac: b7 42 61 fd db dc 15 62 81 d8 cb be 27 98 92 9a | data for hmac: d7 c3 d8 a9 54 76 53 99 7c 5d 06 96 1f 2c b2 cc | data for hmac: 8b 8a e7 a8 6a 33 2d 58 fd b5 41 fa fb ff 53 6a | data for hmac: 34 03 0a 6f 63 f3 7b 43 db 2c 29 7b 87 d2 ef f2 | data for hmac: 6e 02 e5 79 96 1f 11 d8 b7 7b d0 ec b0 ca 67 7c | data for hmac: fa 47 2d a1 28 50 6d a8 fd b1 35 a3 30 c3 cf 4a | data for hmac: d8 1f fd 42 1c 37 52 c9 66 4a 9a 41 2f 5f 40 78 | data for hmac: 25 59 c0 94 f1 ca 99 4e b8 eb 7d 8d e6 83 ed 7b | data for hmac: fb 9e 22 e8 1d 1c c2 d7 45 b0 d1 f3 62 98 93 fb | data for hmac: 88 48 8d 92 b9 63 02 d0 f1 25 53 99 fd 72 73 a1 | data for hmac: 22 99 ba f0 7b 55 e6 c6 41 cf 42 45 e2 3a 06 dd | data for hmac: 25 67 21 d4 08 cb 6c ff 8a 17 d4 fe bc 50 10 f4 | data for hmac: 3d 8f 7a 3c 13 e4 cc 3a dd 22 2f 86 9a 04 3b 74 | data for hmac: c8 81 3e e6 22 cf 54 d5 13 fb 47 0c 1f 46 a8 4b | data for hmac: bf 18 04 a4 9a be 44 a3 ce 3d 42 57 18 f1 7a c9 | data for hmac: 89 b7 44 87 27 64 99 d4 cd ce 54 b1 75 18 dd 66 | data for hmac: 79 59 0d 3a 41 29 46 42 46 a2 54 15 af fc 95 1a | data for hmac: a9 2c b2 4f d5 18 98 0c 7c c8 fa 73 e0 8f ba ed | data for hmac: f8 44 e9 0b 85 a0 06 f3 d7 c1 89 40 e0 4e f7 8f | data for hmac: 33 12 ca b9 69 a9 6f 22 90 b5 c4 4b d8 bc 5d 99 | data for hmac: 6e 62 60 16 1e df a9 3e 07 bf 7c 10 23 53 77 94 | data for hmac: ec e4 8e dc 50 63 75 ec 78 e9 fd 97 09 b8 3f 72 | calculated auth: 83 dc cd d5 23 e6 96 f5 9d 41 88 70 be 43 43 58 | provided auth: 83 dc cd d5 23 e6 96 f5 9d 41 88 70 be 43 43 58 | 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=0x55a1069f5b58 (line=1) | concluding with best_match=002 best=0x55a1069f5b58 (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.0576 milliseconds in try_all_RSA_keys() trying a pubkey "westnet-eastnet-ikev2" #3: Authenticated using RSA | #3 spent 0.0831 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@0x7f983c001b78 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x55a106a9e7a8 | event_schedule: new EVENT_SA_REKEY-pe@0x55a106a9e7a8 | inserting event EVENT_SA_REKEY, timeout in 3330 seconds for #3 | libevent_malloc: new ptr-libevent@0x55a106aa39d8 size 128 | pstats #3 ikev2.ike established | **emit ISAKMP Message: | initiator cookie: | 00 60 10 13 fa bc 26 b9 | responder cookie: | 5e 11 a2 11 9b 76 6d 1c | 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=0x55a1069f5b58 (line=1) | concluding with best_match=002 best=0x55a1069f5b58 (lineno=1) | #3 spent 4.64 milliseconds in ikev2_calculate_rsa_hash() calling sign_hash_RSA() | emitting 274 raw bytes of rsa signature into IKEv2 Authentication Payload | rsa signature 77 68 6e 1b a1 ba 06 d7 18 f3 9e 66 cb 11 58 8b | rsa signature 13 bc 20 6e af f9 f1 d1 bc 79 0c 82 0b 00 98 60 | rsa signature c3 25 41 2c e3 b9 c9 dd 4b 0a df 1d 05 61 82 0e | rsa signature 75 5f f5 8e a7 3d 41 5b 18 9b 1f 9b 8f 7a a7 82 | rsa signature dc 43 9a b4 da c6 d8 66 6a 30 43 4d 25 90 16 74 | rsa signature 6c 12 ee 60 e7 d4 4c 7c 8b 5f d9 de 69 d7 c3 16 | rsa signature a7 8d b3 9f 52 79 51 2e 5e 5b 08 1a 68 09 41 d2 | rsa signature b5 e7 12 db 59 c8 02 f4 c5 10 2e 64 8f 8c 0c 26 | rsa signature 2d de d5 22 c0 2a 04 75 40 8f 11 06 18 7b 82 ee | rsa signature 14 a3 54 9f b8 bb d0 4b 7e 84 e7 8f 57 69 8b f9 | rsa signature 07 b7 3f 99 c0 28 f1 74 8e 81 1b e4 42 c2 de 39 | rsa signature d8 0f 9c 22 db 9d 9f e8 8f f4 20 17 b8 d3 e5 93 | rsa signature 2e 7c 56 38 5e ef 0a bd 2d 3f e0 7c 94 4c d7 0f | rsa signature 36 45 7b ef 49 da 68 43 20 4b f6 af 73 4c 61 4d | rsa signature 26 63 c6 e0 5c 03 46 d4 23 b3 e0 a5 8f 7f 2c 6f | rsa signature 1d dd 76 c4 23 29 80 23 3c 8e 2c 24 8d 70 e7 f2 | rsa signature 81 45 0d a4 36 97 5b 28 f6 e5 cf 75 0b 84 e2 42 | rsa signature e0 68 | #3 spent 4.72 milliseconds in ikev2_calculate_rsa_hash() | emitting length of IKEv2 Authentication Payload: 282 | creating state object #4 at 0x55a106ab0bc8 | 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 d8 82 e9 bc | 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=d882e9bc;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=d882e9bc;ENCR=AES_CBC_256;INTEG=HMAC_SHA2_256_128;ESN=DISABLED | converting proposal to internal trans attrs | netlink_get_spi: allocated 0x7b4df28 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 07 b4 df 28 | ******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.d882e9bc@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.7b4df28@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=0xd8 | popen cmd is 1039 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=0xd882e9bc SPI_OUT=0x7b4df28 ipsec _updown 2>&1: | route_and_eroute: firewall_notified: true | route_and_eroute: instance "westnet-eastnet-ikev2", setting eroute_owner {spd=0x55a106a9c7b8,sr=0x55a106a9c7b8} to #4 (was #0) (newest_ipsec_sa=#0) | #3 spent 0.843 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: 00 60 10 13 fa bc 26 b9 5e 11 a2 11 9b 76 6d 1c | data being hmac: 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | data being hmac: 21 96 51 d4 cc 6f 35 4c 29 27 5b 8d 20 6e 05 d2 | data being hmac: 0a a6 28 a4 db d9 cd c4 c0 61 11 2e d7 f6 b1 64 | data being hmac: 2f 66 33 b5 d3 33 a1 d2 05 77 cf 52 0a 99 5b d2 | data being hmac: 86 01 42 67 68 be 3c 9c f6 ea b5 58 7e e2 ca 19 | data being hmac: 63 34 c0 5d 46 aa e6 d4 89 03 65 ba 17 2c 9d b9 | data being hmac: 1b 21 8a d0 1a 87 26 3b 66 07 ac 47 a3 99 d1 16 | data being hmac: 0e 4b b6 9a d0 79 69 d3 6d b4 ef f7 8f 37 eb c6 | data being hmac: ca c9 1d b1 a2 ae 9a cd 54 14 35 e2 4f 09 96 b5 | data being hmac: a1 4c 25 6b 8f d6 32 4a 89 57 f1 44 0f 32 91 98 | data being hmac: 84 01 e5 8c 17 09 13 06 0b e1 dc 8a d6 ef bd e1 | data being hmac: 7c 90 8f fe 79 f5 62 fe 30 f8 d9 11 7e 82 27 dd | data being hmac: d4 d0 12 5d b7 f8 25 0e 7d ca 31 71 9f 67 b6 2f | data being hmac: 9d 86 b9 80 ea 20 f3 e7 c4 23 57 79 2d 30 52 6b | data being hmac: a4 f4 d1 d7 c6 10 2f c9 47 d2 26 85 5e 10 d7 06 | data being hmac: 0a 43 f0 81 1b 05 91 b7 fb e5 2d 5c 3c f5 3e fd | data being hmac: 46 aa 1c 60 2a d9 a9 c0 89 19 76 5c 27 ea ce d1 | data being hmac: a0 65 32 81 02 5d d6 a3 b8 c2 4d e2 d9 98 20 28 | data being hmac: 2e 1a 4c 63 6d 58 32 9c 64 0c de da 09 c6 73 85 | data being hmac: cf df 94 2f 23 5b 7b 60 18 2f 64 42 6d 07 61 b0 | data being hmac: b4 e3 a4 84 c3 33 e6 52 26 50 70 7b 56 30 c7 ab | data being hmac: 33 ec 43 14 b0 a2 23 63 f4 38 2d 5a 00 3e 49 87 | data being hmac: dc 06 9b 3a e5 31 9c 48 90 1a 71 e4 6f 4c 2c 7a | data being hmac: b4 c5 36 2b 36 18 ce c5 38 6a 38 01 71 b5 3d 9a | data being hmac: cf 04 71 66 6d 3e 12 64 07 dc dc 58 b5 ad 7a bd | data being hmac: d7 a0 32 f3 ca 87 e3 b9 7f ca 75 4f 38 8e 7e 2c | data being hmac: 5a 27 01 88 d4 be 73 c5 b5 93 99 d1 94 5f 09 33 | out calculated auth: | 26 6a 78 4f f0 e8 7a 21 4e 5a 7b e0 7a 26 a1 05 | ikev2_parent_inI2outR2_continue_tail returned STF_OK | #3 spent 7 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=>0xd882e9bc <0x07b4df28 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) | 00 60 10 13 fa bc 26 b9 5e 11 a2 11 9b 76 6d 1c | 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | 21 96 51 d4 cc 6f 35 4c 29 27 5b 8d 20 6e 05 d2 | 0a a6 28 a4 db d9 cd c4 c0 61 11 2e d7 f6 b1 64 | 2f 66 33 b5 d3 33 a1 d2 05 77 cf 52 0a 99 5b d2 | 86 01 42 67 68 be 3c 9c f6 ea b5 58 7e e2 ca 19 | 63 34 c0 5d 46 aa e6 d4 89 03 65 ba 17 2c 9d b9 | 1b 21 8a d0 1a 87 26 3b 66 07 ac 47 a3 99 d1 16 | 0e 4b b6 9a d0 79 69 d3 6d b4 ef f7 8f 37 eb c6 | ca c9 1d b1 a2 ae 9a cd 54 14 35 e2 4f 09 96 b5 | a1 4c 25 6b 8f d6 32 4a 89 57 f1 44 0f 32 91 98 | 84 01 e5 8c 17 09 13 06 0b e1 dc 8a d6 ef bd e1 | 7c 90 8f fe 79 f5 62 fe 30 f8 d9 11 7e 82 27 dd | d4 d0 12 5d b7 f8 25 0e 7d ca 31 71 9f 67 b6 2f | 9d 86 b9 80 ea 20 f3 e7 c4 23 57 79 2d 30 52 6b | a4 f4 d1 d7 c6 10 2f c9 47 d2 26 85 5e 10 d7 06 | 0a 43 f0 81 1b 05 91 b7 fb e5 2d 5c 3c f5 3e fd | 46 aa 1c 60 2a d9 a9 c0 89 19 76 5c 27 ea ce d1 | a0 65 32 81 02 5d d6 a3 b8 c2 4d e2 d9 98 20 28 | 2e 1a 4c 63 6d 58 32 9c 64 0c de da 09 c6 73 85 | cf df 94 2f 23 5b 7b 60 18 2f 64 42 6d 07 61 b0 | b4 e3 a4 84 c3 33 e6 52 26 50 70 7b 56 30 c7 ab | 33 ec 43 14 b0 a2 23 63 f4 38 2d 5a 00 3e 49 87 | dc 06 9b 3a e5 31 9c 48 90 1a 71 e4 6f 4c 2c 7a | b4 c5 36 2b 36 18 ce c5 38 6a 38 01 71 b5 3d 9a | cf 04 71 66 6d 3e 12 64 07 dc dc 58 b5 ad 7a bd | d7 a0 32 f3 ca 87 e3 b9 7f ca 75 4f 38 8e 7e 2c | 5a 27 01 88 d4 be 73 c5 b5 93 99 d1 94 5f 09 33 | 26 6a 78 4f f0 e8 7a 21 4e 5a 7b e0 7a 26 a1 05 | 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@0x55a106aa0338 | inserting event EVENT_SA_REKEY, timeout in 28530 seconds for #4 | libevent_malloc: new ptr-libevent@0x55a106a9eb28 size 128 | resume sending helper answer for #3 suppresed complete_v2_state_transition() | #3 spent 7.36 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@0x7f9830005a48 | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00414 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.0026 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) | 00 60 10 13 fa bc 26 b9 5e 11 a2 11 9b 76 6d 1c | 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | 61 73 50 e7 75 8c 2b 05 72 60 a1 23 e7 0c fa 51 | 16 a8 8a d4 1b 9e 77 a6 08 30 de b6 f0 ac 88 a6 | 52 c0 4f 7d 58 d3 f4 7f d9 96 96 13 10 6d 8c 64 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 00 60 10 13 fa bc 26 b9 | responder cookie: | 5e 11 a2 11 9b 76 6d 1c | 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: 00 60 10 13 fa bc 26 b9 5e 11 a2 11 9b 76 6d 1c | data for hmac: 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | data for hmac: 61 73 50 e7 75 8c 2b 05 72 60 a1 23 e7 0c fa 51 | data for hmac: 16 a8 8a d4 1b 9e 77 a6 08 30 de b6 f0 ac 88 a6 | calculated auth: 52 c0 4f 7d 58 d3 f4 7f d9 96 96 13 10 6d 8c 64 | provided auth: 52 c0 4f 7d 58 d3 f4 7f d9 96 96 13 10 6d 8c 64 | 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: | 00 60 10 13 fa bc 26 b9 | responder cookie: | 5e 11 a2 11 9b 76 6d 1c | 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 d8 82 e9 bc | delete PROTO_v2_ESP SA(0xd882e9bc) | 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(0xd882e9bc) "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.109s and NOT sending notification | child state #4: V2_IPSEC_R(established CHILD SA) => delete | get_sa_info esp.d882e9bc@192.1.2.45 | get_sa_info esp.7b4df28@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@0x55a106a9eb28 | free_event_entry: release EVENT_SA_REKEY-pe@0x55a106aa0338 | 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='1566843954' 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 1050 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='1566843954' 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=0xd882e9bc SPI_OUT=0x7b4df28 ipsec _u: | cmd(1040):pdown 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.d882e9bc@192.1.2.45 | netlink response for Del SA esp.d882e9bc@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.7b4df28@192.1.2.23 | netlink response for Del SA esp.7b4df28@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 07 b4 df 28 | 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: 00 60 10 13 fa bc 26 b9 5e 11 a2 11 9b 76 6d 1c | data being hmac: 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | data being hmac: c3 30 47 fd 39 62 45 5d cd 6d 43 3b 90 32 af 27 | data being hmac: 14 b1 5f 89 08 cf 89 1e c5 ae 9e 37 65 37 1f 84 | out calculated auth: | 79 ae 6d 4e fe 2e 82 fc 1f 21 31 73 86 4a c1 5e | 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) | 00 60 10 13 fa bc 26 b9 5e 11 a2 11 9b 76 6d 1c | 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | c3 30 47 fd 39 62 45 5d cd 6d 43 3b 90 32 af 27 | 14 b1 5f 89 08 cf 89 1e c5 ae 9e 37 65 37 1f 84 | 79 ae 6d 4e fe 2e 82 fc 1f 21 31 73 86 4a c1 5e | 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.07 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.27 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.28 milliseconds in comm_handle_cb() reading and processing packet | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00354 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00214 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) | 00 60 10 13 fa bc 26 b9 5e 11 a2 11 9b 76 6d 1c | 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | dd a8 63 1a fc d7 ca fd 95 69 03 3b 3c 44 09 43 | 08 6d 05 f9 73 ab 1a 5e 5a f0 ef f2 17 12 28 e7 | 7f cb 2a ed ae 11 a0 3d da b8 04 55 4b 20 fe 7c | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 00 60 10 13 fa bc 26 b9 | responder cookie: | 5e 11 a2 11 9b 76 6d 1c | 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: 00 60 10 13 fa bc 26 b9 5e 11 a2 11 9b 76 6d 1c | data for hmac: 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | data for hmac: dd a8 63 1a fc d7 ca fd 95 69 03 3b 3c 44 09 43 | data for hmac: 08 6d 05 f9 73 ab 1a 5e 5a f0 ef f2 17 12 28 e7 | calculated auth: 7f cb 2a ed ae 11 a0 3d da b8 04 55 4b 20 fe 7c | provided auth: 7f cb 2a ed ae 11 a0 3d da b8 04 55 4b 20 fe 7c | 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: | 00 60 10 13 fa bc 26 b9 | responder cookie: | 5e 11 a2 11 9b 76 6d 1c | 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: 00 60 10 13 fa bc 26 b9 5e 11 a2 11 9b 76 6d 1c | data being hmac: 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | data being hmac: e1 f1 2f ee 2e 05 40 a5 71 a2 54 84 2c 1c b6 77 | data being hmac: 0e fa a1 29 9c de 83 f2 89 65 e2 b3 fc 61 11 10 | out calculated auth: | 91 df 7f 09 d7 8a 60 fc 2a 2a 71 fe ac 60 3f 8b | 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) | 00 60 10 13 fa bc 26 b9 5e 11 a2 11 9b 76 6d 1c | 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | e1 f1 2f ee 2e 05 40 a5 71 a2 54 84 2c 1c b6 77 | 0e fa a1 29 9c de 83 f2 89 65 e2 b3 fc 61 11 10 | 91 df 7f 09 d7 8a 60 fc 2a 2a 71 fe ac 60 3f 8b | 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 13.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.139s 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@0x55a106aa39d8 | free_event_entry: release EVENT_SA_REKEY-pe@0x55a106a9e7a8 | 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: 0x55a1069f5c48 @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.459 milliseconds in comm_handle_cb() reading and processing packet | spent 0.00227 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) | 5e 5f c7 31 2d b1 ed 01 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 | 01 b3 47 ff f0 e3 ba 28 2a 44 20 e8 b3 c4 c1 66 | 4d 9e db bc 83 0e fd cb 24 e0 cd 5c 0e 93 b2 6e | f8 76 5f 7f d0 e5 0f ce b0 a5 f5 dd 1e f0 f9 bc | aa ef b8 ff be d7 00 21 98 33 33 1f 42 c1 ee 49 | 3a aa eb 49 e8 25 5e ef 09 70 39 37 e6 23 6b 8b | d7 5e 30 a3 c0 55 b2 e4 a9 e9 71 e5 9d f3 2d 3d | 5e 15 02 3c 38 4f 06 5a e6 26 a3 8a 67 f6 31 9a | b3 1a 4a 79 1a 89 1c af 50 eb d1 4e 86 5d 16 19 | 81 5f 3a 51 67 77 68 c5 19 4c 2f e3 67 05 9a 70 | ac 39 53 52 b1 fd c8 80 41 a5 77 00 03 ee 82 e4 | 5d 5e 27 d8 a1 d2 f2 e6 41 20 05 26 a6 c0 42 e2 | 73 78 46 32 49 28 cb f2 74 68 f8 cd 71 71 01 c0 | 96 b1 9b f1 b3 d5 22 42 5c fb be b7 43 01 25 04 | 6a 7a c9 43 11 9b e0 06 51 0b 34 d2 20 82 b6 e0 | ff d2 a7 17 bd 1b 34 21 ad 73 3b 3e f4 e7 bc b4 | e3 5a 18 89 9b e7 1a 7c fe de 11 dd 72 0b 1e db | 5d 1c af c7 22 e8 fd cc 82 38 98 97 67 f1 5c 2d | c1 77 dc fb 17 ce 3a c4 5c 1e 38 a3 7c bd f7 f2 | 9c 76 5c bc 76 11 03 83 57 4d 98 da 12 38 9f 27 | 82 17 74 6b ef ff 87 42 b2 4a 7d d2 9a c5 c5 db | 01 b5 7c c5 86 ef 2f e3 de 8b b4 cd be cb d6 ad | a2 a3 8b 13 7d 2b 18 92 0f 2d 8a 09 f7 12 1d 94 | a6 4c a8 19 3e 51 ec 8b 4a 85 85 cc 91 93 54 3d | ce 9b b2 ff c6 36 58 61 3f 3d d4 1b f0 1f 42 03 | 1a be b2 02 ef 1d 1b e7 43 56 97 75 fa 93 d1 e2 | f3 fb f4 bc e8 54 60 2e 68 55 0c 0c f7 9e 69 d6 | f6 0c 77 c0 be 29 11 63 c0 c2 fe bb fe 96 2b 16 | 64 8e 60 02 f5 51 6f 78 11 f9 2d 63 7d 2c e4 fa | 19 2c 80 9e d2 e8 2c 58 16 8d 23 bd 1b fd fc 2e | 7b ca be d9 e7 8d 30 29 1d 4b 7a e6 2e e2 de ac | f4 99 72 6b a5 ce 5b f2 90 5e be 6a 49 80 c7 23 | f7 35 f4 2e 94 2e 4a e4 41 5a c4 fe 20 e3 f4 74 | 29 00 00 24 af 20 1a 5e 2f 51 02 a0 ce 33 4f 95 | db 2f 79 46 0c b9 55 26 eb 73 24 87 b5 cc d3 70 | b5 fe 82 89 29 00 00 08 00 00 40 2e 29 00 00 1c | 00 00 40 04 24 d7 1f e4 11 71 d9 46 c4 09 35 3a | 98 d8 c5 ff 4f fd 79 99 00 00 00 1c 00 00 40 05 | 7e 4d 21 62 ca 49 86 d5 4a 63 4a bf e6 9e 62 6d | 9e a1 6f f0 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 5e 5f c7 31 2d b1 ed 01 | 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 0x55a106aa05d8 | 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=0x55a106847800(20) | natd_hash: icookie= 5e 5f c7 31 2d b1 ed 01 | 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= 7e 4d 21 62 ca 49 86 d5 4a 63 4a bf e6 9e 62 6d | natd_hash: hash= 9e a1 6f f0 | natd_hash: rcookie is zero | natd_hash: hasher=0x55a106847800(20) | natd_hash: icookie= 5e 5f c7 31 2d b1 ed 01 | 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= 24 d7 1f e4 11 71 d9 46 c4 09 35 3a 98 d8 c5 ff | natd_hash: hash= 4f fd 79 99 | 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@0x55a106a9e7a8 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #5 | libevent_malloc: new ptr-libevent@0x7f9830005a48 size 128 | #5 spent 0.197 milliseconds in processing: Respond to IKE_SA_INIT in ikev2_process_state_packet() | crypto helper 4 resuming | [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 starting work-order 5 for state #5 | #5 complete_v2_state_transition() PARENT_R0->PARENT_R1 with status STF_SUSPEND | suspending state #5 and saving MD | crypto helper 4 doing build KE and nonce (ikev2_inI1outR1 KE); request ID 5 | #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_R0 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.492 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.503 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.002955 seconds | (#5) spent 2.93 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@0x7f9834001e58 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 0x55a106772b50 | ikev2_parent_inI1outR1_continue for #5: calculated ke+nonce, sending R1 | **emit ISAKMP Message: | initiator cookie: | 5e 5f c7 31 2d b1 ed 01 | responder cookie: | fe 3a 2f 79 43 1b 50 70 | 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 08 17 d3 90 34 c9 10 57 41 47 88 82 1e c0 8b 80 | ikev2 g^x fc ca 0d 82 38 88 fa f5 4a 88 76 70 cb 20 42 ba | ikev2 g^x ad 9d e5 b5 93 e6 e6 15 77 c6 06 66 ea ca 55 5f | ikev2 g^x 28 69 c0 0d 06 f2 d9 f2 ee 3c bf e7 23 5d ee e8 | ikev2 g^x 0d af ec 7d 7d ba ad da 69 58 f4 c5 16 c8 ce e8 | ikev2 g^x 4d 0a ad f4 26 84 36 fe a3 01 91 02 65 4d 6e d0 | ikev2 g^x 8c 11 ec 21 74 99 b7 b2 b4 8a 30 e0 de b7 14 b8 | ikev2 g^x 8b b6 e8 80 10 ce 74 a4 46 04 d5 df 48 f2 5c a6 | ikev2 g^x be 2f 6c d1 bc 8b 7f c6 f3 43 92 a8 9a ed a7 77 | ikev2 g^x c8 25 7e 49 03 18 3c 16 85 31 61 56 0c 01 6d c7 | ikev2 g^x 02 5c 05 ad e9 83 2e ee c9 5e 66 46 9b cf a7 af | ikev2 g^x ee 39 63 fd b1 32 e6 59 8e 8f 1e 4c 98 c4 03 ac | ikev2 g^x 2c ea 50 4f c2 3b c7 d8 fb 1c 3b 49 21 c4 61 4e | ikev2 g^x e9 63 6d 4e a6 6e fb 46 f4 5a a1 6d 86 89 d5 80 | ikev2 g^x ff 3d 7a 7a 9f f5 50 c6 b3 a6 87 d3 07 93 70 4a | ikev2 g^x 8e eb b3 8c 5b c1 68 45 52 af 7b bb 7f 53 58 cf | ikev2 g^x 58 64 dd 1a 6d 1e 94 a4 ff d6 c4 7b b6 d3 60 8b | ikev2 g^x 1e 9e 4e db 26 62 6b 3e 33 b9 6e 06 d1 98 4a 49 | ikev2 g^x ec 6c cf 17 bd 87 27 47 0e b0 56 5b 42 b2 61 d4 | ikev2 g^x e9 77 93 0b 74 ee d1 6a b7 54 ac ba 64 e5 a1 d4 | ikev2 g^x 19 c0 d9 9c f7 32 ff 72 95 8c 8e e8 31 78 f8 29 | ikev2 g^x 92 45 d7 07 60 77 5a c8 1e 46 08 85 7d 8f a3 12 | ikev2 g^x 0c 03 da 08 c6 35 15 b8 0f 8a de 05 8a d8 3c dd | ikev2 g^x 20 15 e9 e9 d0 a9 8d 2c 08 eb 50 93 d8 02 72 4f | ikev2 g^x d4 55 b9 c2 3a 58 fe 2a 71 a0 7b 31 a7 17 0b de | ikev2 g^x 02 f0 6b 94 50 00 1e 27 71 b7 60 b1 31 4e b2 0f | ikev2 g^x 59 ca ab 50 de 4e 1b 5c 14 ef 83 e2 89 d2 eb 18 | ikev2 g^x 3e b4 25 56 09 9d 05 02 e6 6a 68 78 d0 b9 9c 88 | ikev2 g^x 6b 30 d0 ad 16 61 d0 f8 4c 91 a2 61 e3 a7 56 7b | ikev2 g^x 99 9c 34 0a 09 1f 35 4c 7f a6 86 14 76 a2 98 6b | ikev2 g^x 2b 03 0c 90 fa 2d 67 46 6c 85 de eb 20 32 64 74 | ikev2 g^x c3 38 fa 2e 00 29 ab 24 05 4c be 70 42 a6 40 17 | 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 2a 1e 96 64 9f 15 5d 28 6e b2 ea 79 de ea e7 3a | IKEv2 nonce 66 21 96 aa f8 3a d8 1e 43 3b 46 6f 33 0e a1 9d | 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=0x55a106847800(20) | natd_hash: icookie= 5e 5f c7 31 2d b1 ed 01 | natd_hash: rcookie= fe 3a 2f 79 43 1b 50 70 | natd_hash: ip= c0 01 02 17 | natd_hash: port=500 | natd_hash: hash= 4d 21 3a 50 9f 8c 6b 69 5a 80 cb c4 57 1a e2 53 | natd_hash: hash= c5 f5 be df | 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 4d 21 3a 50 9f 8c 6b 69 5a 80 cb c4 57 1a e2 53 | Notify data c5 f5 be df | emitting length of IKEv2 Notify Payload: 28 | natd_hash: hasher=0x55a106847800(20) | natd_hash: icookie= 5e 5f c7 31 2d b1 ed 01 | natd_hash: rcookie= fe 3a 2f 79 43 1b 50 70 | natd_hash: ip= c0 01 02 2d | natd_hash: port=500 | natd_hash: hash= e0 a9 bf b3 60 d1 f5 93 d8 dc 00 7f 4a be 59 ac | natd_hash: hash= 4f c6 20 07 | 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 a9 bf b3 60 d1 f5 93 d8 dc 00 7f 4a be 59 ac | Notify data 4f c6 20 07 | 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) | 5e 5f c7 31 2d b1 ed 01 fe 3a 2f 79 43 1b 50 70 | 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 08 17 d3 90 34 c9 10 57 41 47 88 82 | 1e c0 8b 80 fc ca 0d 82 38 88 fa f5 4a 88 76 70 | cb 20 42 ba ad 9d e5 b5 93 e6 e6 15 77 c6 06 66 | ea ca 55 5f 28 69 c0 0d 06 f2 d9 f2 ee 3c bf e7 | 23 5d ee e8 0d af ec 7d 7d ba ad da 69 58 f4 c5 | 16 c8 ce e8 4d 0a ad f4 26 84 36 fe a3 01 91 02 | 65 4d 6e d0 8c 11 ec 21 74 99 b7 b2 b4 8a 30 e0 | de b7 14 b8 8b b6 e8 80 10 ce 74 a4 46 04 d5 df | 48 f2 5c a6 be 2f 6c d1 bc 8b 7f c6 f3 43 92 a8 | 9a ed a7 77 c8 25 7e 49 03 18 3c 16 85 31 61 56 | 0c 01 6d c7 02 5c 05 ad e9 83 2e ee c9 5e 66 46 | 9b cf a7 af ee 39 63 fd b1 32 e6 59 8e 8f 1e 4c | 98 c4 03 ac 2c ea 50 4f c2 3b c7 d8 fb 1c 3b 49 | 21 c4 61 4e e9 63 6d 4e a6 6e fb 46 f4 5a a1 6d | 86 89 d5 80 ff 3d 7a 7a 9f f5 50 c6 b3 a6 87 d3 | 07 93 70 4a 8e eb b3 8c 5b c1 68 45 52 af 7b bb | 7f 53 58 cf 58 64 dd 1a 6d 1e 94 a4 ff d6 c4 7b | b6 d3 60 8b 1e 9e 4e db 26 62 6b 3e 33 b9 6e 06 | d1 98 4a 49 ec 6c cf 17 bd 87 27 47 0e b0 56 5b | 42 b2 61 d4 e9 77 93 0b 74 ee d1 6a b7 54 ac ba | 64 e5 a1 d4 19 c0 d9 9c f7 32 ff 72 95 8c 8e e8 | 31 78 f8 29 92 45 d7 07 60 77 5a c8 1e 46 08 85 | 7d 8f a3 12 0c 03 da 08 c6 35 15 b8 0f 8a de 05 | 8a d8 3c dd 20 15 e9 e9 d0 a9 8d 2c 08 eb 50 93 | d8 02 72 4f d4 55 b9 c2 3a 58 fe 2a 71 a0 7b 31 | a7 17 0b de 02 f0 6b 94 50 00 1e 27 71 b7 60 b1 | 31 4e b2 0f 59 ca ab 50 de 4e 1b 5c 14 ef 83 e2 | 89 d2 eb 18 3e b4 25 56 09 9d 05 02 e6 6a 68 78 | d0 b9 9c 88 6b 30 d0 ad 16 61 d0 f8 4c 91 a2 61 | e3 a7 56 7b 99 9c 34 0a 09 1f 35 4c 7f a6 86 14 | 76 a2 98 6b 2b 03 0c 90 fa 2d 67 46 6c 85 de eb | 20 32 64 74 c3 38 fa 2e 00 29 ab 24 05 4c be 70 | 42 a6 40 17 29 00 00 24 2a 1e 96 64 9f 15 5d 28 | 6e b2 ea 79 de ea e7 3a 66 21 96 aa f8 3a d8 1e | 43 3b 46 6f 33 0e a1 9d 29 00 00 08 00 00 40 2e | 29 00 00 1c 00 00 40 04 4d 21 3a 50 9f 8c 6b 69 | 5a 80 cb c4 57 1a e2 53 c5 f5 be df 00 00 00 1c | 00 00 40 05 e0 a9 bf b3 60 d1 f5 93 d8 dc 00 7f | 4a be 59 ac 4f c6 20 07 | state #5 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x7f9830005a48 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x55a106a9e7a8 | event_schedule: new EVENT_SO_DISCARD-pe@0x55a106a9e7a8 | inserting event EVENT_SO_DISCARD, timeout in 200 seconds for #5 | libevent_malloc: new ptr-libevent@0x55a106aa39d8 size 128 | resume sending helper answer for #5 suppresed complete_v2_state_transition() | #5 spent 0.601 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@0x7f9834001e58 | spent 0.00254 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) | 5e 5f c7 31 2d b1 ed 01 fe 3a 2f 79 43 1b 50 70 | 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | ee ba e4 53 18 72 13 f7 db 3d 2b 29 a6 91 72 f5 | 14 11 a3 80 1a b2 e9 e1 4e c9 5b c0 f5 f3 25 98 | 90 a6 a7 44 b7 e3 95 3c 53 6d f4 45 f4 0e d6 76 | 52 ce 49 c6 2f f3 d8 3b b4 ae 29 e7 bf aa 7f a1 | 56 b2 ea cc eb a3 3a 6e 20 3b c1 78 76 bc 1e 09 | 42 3a 58 98 8e a9 aa bb c0 7c 82 84 e9 c5 38 85 | 2e c9 ba ee f2 89 97 43 22 b8 de be 37 6a 2c 29 | c1 05 02 fb f9 eb ed f6 4c 40 8b 12 d2 47 99 cc | d1 e8 be 4b 90 6a 24 e6 5d 01 74 fe 5c b8 07 8e | 80 7a 57 73 34 93 dd ac 80 ca 8f d3 49 56 71 07 | 88 0a 0f 37 4c ed 5c 69 97 68 a3 26 45 98 f8 f0 | 65 6f 75 1c f0 fb 97 a5 8c 7f f9 7f 57 49 42 87 | b9 07 94 53 4a b2 5d fe 90 ff 4e f5 e8 2f b8 3d | 3f 51 b8 cd 09 35 db 5a 85 8c 65 b7 83 4a 79 33 | c7 31 29 17 c4 e0 6a 6c 6c f2 75 3b b5 d6 d7 a3 | cc ee 43 61 8a ee bc b4 be 03 98 89 f4 85 b5 5e | 9c 27 15 84 c2 73 c5 bb b3 53 d2 4f 4c 2a 94 eb | f0 18 7d e3 e3 10 d1 04 6a 0c ba 65 86 e9 b1 b7 | 91 03 07 56 17 8b f5 19 db cf bf 5c 9b 70 f5 eb | b2 b1 bf b4 f1 78 86 34 31 f8 0b f7 57 30 bb 71 | 1c 40 db 74 bb 05 7a 7a 65 0b 62 47 1b b7 63 aa | b0 b0 e9 83 d3 9d 46 65 f0 12 ee 26 d0 04 72 47 | f8 67 61 e8 04 1e b8 83 f7 b8 53 be 25 31 73 36 | aa 81 02 97 69 79 c3 88 29 43 1a 8f d8 36 ca 64 | c9 af cd 8b a6 ba e2 b4 e7 9a a5 b6 92 b0 01 fb | 2e 4d 66 90 9e b0 75 18 97 9a b0 26 33 8c 03 48 | 24 95 69 f0 f2 99 42 7a c7 84 3f 82 1b 14 e4 07 | d5 86 02 28 60 3a 0d 45 96 3e 69 d4 2e 6b bf 36 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 5e 5f c7 31 2d b1 ed 01 | responder cookie: | fe 3a 2f 79 43 1b 50 70 | 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@0x55a106aa39d8 | free_event_entry: release EVENT_SO_DISCARD-pe@0x55a106a9e7a8 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x55a106a9e7a8 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #5 | libevent_malloc: new ptr-libevent@0x7f9834001e58 size 128 | #5 spent 0.0343 milliseconds in processing: Responder: process IKE_AUTH request (no SKEYSEED) in ikev2_process_state_packet() | crypto helper 5 resuming | [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 starting work-order 6 for state #5 | #5 complete_v2_state_transition() PARENT_R1->PARENT_R1 with status STF_SUSPEND | 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.254 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.27 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.003984 seconds | (#5) spent 3.97 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@0x7f9828004c28 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 0x55a106772b50 | ikev2_parent_inI2outR2_continue for #5: calculating g^{xy}, sending R2 | #5 in state PARENT_R1: received v2I1, sent v2R1 | data for hmac: 5e 5f c7 31 2d b1 ed 01 fe 3a 2f 79 43 1b 50 70 | data for hmac: 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | data for hmac: ee ba e4 53 18 72 13 f7 db 3d 2b 29 a6 91 72 f5 | data for hmac: 14 11 a3 80 1a b2 e9 e1 4e c9 5b c0 f5 f3 25 98 | data for hmac: 90 a6 a7 44 b7 e3 95 3c 53 6d f4 45 f4 0e d6 76 | data for hmac: 52 ce 49 c6 2f f3 d8 3b b4 ae 29 e7 bf aa 7f a1 | data for hmac: 56 b2 ea cc eb a3 3a 6e 20 3b c1 78 76 bc 1e 09 | data for hmac: 42 3a 58 98 8e a9 aa bb c0 7c 82 84 e9 c5 38 85 | data for hmac: 2e c9 ba ee f2 89 97 43 22 b8 de be 37 6a 2c 29 | data for hmac: c1 05 02 fb f9 eb ed f6 4c 40 8b 12 d2 47 99 cc | data for hmac: d1 e8 be 4b 90 6a 24 e6 5d 01 74 fe 5c b8 07 8e | data for hmac: 80 7a 57 73 34 93 dd ac 80 ca 8f d3 49 56 71 07 | data for hmac: 88 0a 0f 37 4c ed 5c 69 97 68 a3 26 45 98 f8 f0 | data for hmac: 65 6f 75 1c f0 fb 97 a5 8c 7f f9 7f 57 49 42 87 | data for hmac: b9 07 94 53 4a b2 5d fe 90 ff 4e f5 e8 2f b8 3d | data for hmac: 3f 51 b8 cd 09 35 db 5a 85 8c 65 b7 83 4a 79 33 | data for hmac: c7 31 29 17 c4 e0 6a 6c 6c f2 75 3b b5 d6 d7 a3 | data for hmac: cc ee 43 61 8a ee bc b4 be 03 98 89 f4 85 b5 5e | data for hmac: 9c 27 15 84 c2 73 c5 bb b3 53 d2 4f 4c 2a 94 eb | data for hmac: f0 18 7d e3 e3 10 d1 04 6a 0c ba 65 86 e9 b1 b7 | data for hmac: 91 03 07 56 17 8b f5 19 db cf bf 5c 9b 70 f5 eb | data for hmac: b2 b1 bf b4 f1 78 86 34 31 f8 0b f7 57 30 bb 71 | data for hmac: 1c 40 db 74 bb 05 7a 7a 65 0b 62 47 1b b7 63 aa | data for hmac: b0 b0 e9 83 d3 9d 46 65 f0 12 ee 26 d0 04 72 47 | data for hmac: f8 67 61 e8 04 1e b8 83 f7 b8 53 be 25 31 73 36 | data for hmac: aa 81 02 97 69 79 c3 88 29 43 1a 8f d8 36 ca 64 | data for hmac: c9 af cd 8b a6 ba e2 b4 e7 9a a5 b6 92 b0 01 fb | data for hmac: 2e 4d 66 90 9e b0 75 18 97 9a b0 26 33 8c 03 48 | data for hmac: 24 95 69 f0 f2 99 42 7a c7 84 3f 82 1b 14 e4 07 | calculated auth: d5 86 02 28 60 3a 0d 45 96 3e 69 d4 2e 6b bf 36 | provided auth: d5 86 02 28 60 3a 0d 45 96 3e 69 d4 2e 6b bf 36 | 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=0x55a1069f5b58 (line=1) | concluding with best_match=002 best=0x55a1069f5b58 (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.0523 milliseconds in try_all_RSA_keys() trying a pubkey "westnet-eastnet-ikev2" #5: Authenticated using RSA | #5 spent 0.0829 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@0x7f9834001e58 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x55a106a9e7a8 | event_schedule: new EVENT_SA_REKEY-pe@0x55a106a9e7a8 | inserting event EVENT_SA_REKEY, timeout in 3330 seconds for #5 | libevent_malloc: new ptr-libevent@0x55a106aaae78 size 128 | pstats #5 ikev2.ike established | **emit ISAKMP Message: | initiator cookie: | 5e 5f c7 31 2d b1 ed 01 | responder cookie: | fe 3a 2f 79 43 1b 50 70 | 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=0x55a1069f5b58 (line=1) | concluding with best_match=002 best=0x55a1069f5b58 (lineno=1) | #5 spent 4.6 milliseconds in ikev2_calculate_rsa_hash() calling sign_hash_RSA() | emitting 274 raw bytes of rsa signature into IKEv2 Authentication Payload | rsa signature 41 97 01 7a d7 19 10 d2 c0 47 0d cb 86 f4 cc f1 | rsa signature 47 99 22 fe 9a 3b 3a 6b 81 b4 f4 67 f5 48 39 a0 | rsa signature b2 03 78 f5 58 f3 bd df 9c e9 5b 8f 39 17 45 99 | rsa signature 3b 71 75 d2 1d a5 f2 95 e4 8b f8 cd f4 cb 43 61 | rsa signature 3b a8 af 42 16 77 b5 a3 ac 0d c2 b0 77 ec bf 0b | rsa signature 82 09 16 66 fe f4 0e 5d fe 46 3e b2 e3 00 41 33 | rsa signature 4f 7f 8e c8 aa c6 ec dc fa ed f0 19 a6 a4 63 06 | rsa signature 2a d1 0d c5 ff 42 98 1f 5e 0e 0a 4b f7 a1 c3 4b | rsa signature f0 4a 66 0c 04 fb da 8a 74 e8 b4 2b c0 c5 ee 1c | rsa signature a0 d2 7d c1 cc a6 4b 82 87 39 2d c8 b3 d0 40 fc | rsa signature 05 1b da 2f 0b 07 b9 f3 45 4d a0 26 58 4a 48 2e | rsa signature 03 5f d5 43 0f 43 cf 47 44 25 69 f1 b2 19 48 31 | rsa signature 87 c0 da 4c 26 e4 c8 47 0e 1b 3c 6d 94 e3 52 1d | rsa signature 11 51 d0 e0 bd fb b7 30 62 f8 4c 34 9d c6 0f f8 | rsa signature f1 62 50 a3 4c 1c 41 01 69 c9 24 a4 30 51 e8 8f | rsa signature 5c f1 dd be f1 03 5f c3 1c 51 e8 d8 7b ec c2 0d | rsa signature df 6b 63 6a dd b3 f8 28 2c 47 1f dc 74 82 31 06 | rsa signature b5 d5 | #5 spent 4.68 milliseconds in ikev2_calculate_rsa_hash() | emitting length of IKEv2 Authentication Payload: 282 | creating state object #6 at 0x55a106ab2438 | 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 0f 99 d9 f1 | 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=0f99d9f1;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=0f99d9f1;ENCR=AES_CBC_256;INTEG=HMAC_SHA2_256_128;ESN=DISABLED | converting proposal to internal trans attrs | netlink_get_spi: allocated 0x71c1b9ec 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 71 c1 b9 ec | ******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.f99d9f1@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.71c1b9ec@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=0xf9 | popen cmd is 1039 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=0xf99d9f1 SPI_OUT=0x71c1b9ec ipsec _updown 2>&1: | route_and_eroute: firewall_notified: true | route_and_eroute: instance "westnet-eastnet-ikev2", setting eroute_owner {spd=0x55a106a9c7b8,sr=0x55a106a9c7b8} to #6 (was #0) (newest_ipsec_sa=#0) | #5 spent 0.843 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: 5e 5f c7 31 2d b1 ed 01 fe 3a 2f 79 43 1b 50 70 | data being hmac: 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | data being hmac: eb 51 83 d9 2e b9 1e 65 50 27 ac 49 ed e9 47 9e | data being hmac: 08 55 44 5e c8 27 e1 3d 92 80 96 e3 09 c8 5a 9d | data being hmac: 24 b2 34 f0 60 38 e3 ba 3d fb 56 7b 57 02 e0 cb | data being hmac: 55 1b 67 f2 3c 5f 41 89 8b ea 9c 2a 8c 6d 59 34 | data being hmac: c9 59 c1 a9 f7 ff fe 24 be d6 fb 3b 4a 9a 4c 25 | data being hmac: 43 16 18 81 4d f4 7a 62 42 2a 19 cf 9f 8d 39 7f | data being hmac: 41 ff a0 78 4e 2a ea 1f 98 e1 7f 64 b4 15 4f 00 | data being hmac: 1c 69 f3 08 2e 2b ea a8 d9 a3 e3 c8 23 04 d1 b7 | data being hmac: 87 af c9 1b 41 49 69 03 d5 ea 97 67 e4 f9 26 81 | data being hmac: 37 0f a0 f9 3b 20 cd 79 97 9b ac f5 1b d6 c0 22 | data being hmac: 61 05 11 4f 26 87 85 bc c8 f7 63 98 c5 61 fd 1b | data being hmac: c6 f8 9e 1b ea ce 55 66 8c bf 68 2a bf 42 c8 4e | data being hmac: 8f ae 2c 56 93 2c 39 81 1b 02 36 a1 da 1a aa 58 | data being hmac: 25 ed 82 37 9c f7 33 21 bd ae 21 50 73 69 63 fe | data being hmac: f5 77 13 e4 c8 6c b5 c6 01 16 3c 92 aa f8 e2 24 | data being hmac: 75 2f c0 e5 55 23 79 c5 c7 78 74 80 17 0a 4d 7b | data being hmac: 47 d7 cb e0 a2 71 9c a4 d2 c3 37 c3 1f 6b cb e2 | data being hmac: c5 98 b4 34 ce a4 ff 0c 84 53 54 8e 12 d1 7b c1 | data being hmac: 3c 10 e8 da 53 5b b4 d4 6c 75 c9 80 04 24 cb 13 | data being hmac: 21 b9 35 ea bf 41 38 27 0d 46 a1 44 60 2a fa 75 | data being hmac: 7f d2 8f fb b4 82 e9 86 6f fe f7 e0 97 75 99 89 | data being hmac: 9b ea 23 ac df 9c 1d f6 10 d7 3a c2 c7 9a 1b 73 | data being hmac: 7a fa cd 71 bf 71 ae f3 c5 6b 50 f6 68 e2 dd c6 | data being hmac: 79 82 52 09 ac d9 5f 33 23 23 3f 69 85 4e 51 59 | data being hmac: 87 86 e7 90 6a 85 7a 08 d9 1b 3f 00 d3 cf 09 f0 | data being hmac: d0 9c f7 ef db f9 22 a1 d7 d3 a9 db a7 2d 04 aa | out calculated auth: | d6 60 c0 48 d7 75 bc 89 bf 61 b6 99 4e c2 5a 94 | ikev2_parent_inI2outR2_continue_tail returned STF_OK | #5 spent 6.96 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=>0x0f99d9f1 <0x71c1b9ec 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) | 5e 5f c7 31 2d b1 ed 01 fe 3a 2f 79 43 1b 50 70 | 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | eb 51 83 d9 2e b9 1e 65 50 27 ac 49 ed e9 47 9e | 08 55 44 5e c8 27 e1 3d 92 80 96 e3 09 c8 5a 9d | 24 b2 34 f0 60 38 e3 ba 3d fb 56 7b 57 02 e0 cb | 55 1b 67 f2 3c 5f 41 89 8b ea 9c 2a 8c 6d 59 34 | c9 59 c1 a9 f7 ff fe 24 be d6 fb 3b 4a 9a 4c 25 | 43 16 18 81 4d f4 7a 62 42 2a 19 cf 9f 8d 39 7f | 41 ff a0 78 4e 2a ea 1f 98 e1 7f 64 b4 15 4f 00 | 1c 69 f3 08 2e 2b ea a8 d9 a3 e3 c8 23 04 d1 b7 | 87 af c9 1b 41 49 69 03 d5 ea 97 67 e4 f9 26 81 | 37 0f a0 f9 3b 20 cd 79 97 9b ac f5 1b d6 c0 22 | 61 05 11 4f 26 87 85 bc c8 f7 63 98 c5 61 fd 1b | c6 f8 9e 1b ea ce 55 66 8c bf 68 2a bf 42 c8 4e | 8f ae 2c 56 93 2c 39 81 1b 02 36 a1 da 1a aa 58 | 25 ed 82 37 9c f7 33 21 bd ae 21 50 73 69 63 fe | f5 77 13 e4 c8 6c b5 c6 01 16 3c 92 aa f8 e2 24 | 75 2f c0 e5 55 23 79 c5 c7 78 74 80 17 0a 4d 7b | 47 d7 cb e0 a2 71 9c a4 d2 c3 37 c3 1f 6b cb e2 | c5 98 b4 34 ce a4 ff 0c 84 53 54 8e 12 d1 7b c1 | 3c 10 e8 da 53 5b b4 d4 6c 75 c9 80 04 24 cb 13 | 21 b9 35 ea bf 41 38 27 0d 46 a1 44 60 2a fa 75 | 7f d2 8f fb b4 82 e9 86 6f fe f7 e0 97 75 99 89 | 9b ea 23 ac df 9c 1d f6 10 d7 3a c2 c7 9a 1b 73 | 7a fa cd 71 bf 71 ae f3 c5 6b 50 f6 68 e2 dd c6 | 79 82 52 09 ac d9 5f 33 23 23 3f 69 85 4e 51 59 | 87 86 e7 90 6a 85 7a 08 d9 1b 3f 00 d3 cf 09 f0 | d0 9c f7 ef db f9 22 a1 d7 d3 a9 db a7 2d 04 aa | d6 60 c0 48 d7 75 bc 89 bf 61 b6 99 4e c2 5a 94 | 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@0x55a106aa79e8 | inserting event EVENT_SA_REKEY, timeout in 28530 seconds for #6 | libevent_malloc: new ptr-libevent@0x55a106a9eb28 size 128 | resume sending helper answer for #5 suppresed complete_v2_state_transition() | #5 spent 7.31 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@0x7f9828004c28 | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.0046 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00264 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) | 5e 5f c7 31 2d b1 ed 01 fe 3a 2f 79 43 1b 50 70 | 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | 0d 8a ce df 7b 77 e2 ac 86 a1 c8 a6 d7 9c 22 82 | b4 01 14 db da f2 3d 67 d2 30 04 4e ca 6f 20 c9 | f0 5a be 00 52 38 6c 9a c3 fe 9a ec b3 77 78 9d | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 5e 5f c7 31 2d b1 ed 01 | responder cookie: | fe 3a 2f 79 43 1b 50 70 | 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: 5e 5f c7 31 2d b1 ed 01 fe 3a 2f 79 43 1b 50 70 | data for hmac: 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | data for hmac: 0d 8a ce df 7b 77 e2 ac 86 a1 c8 a6 d7 9c 22 82 | data for hmac: b4 01 14 db da f2 3d 67 d2 30 04 4e ca 6f 20 c9 | calculated auth: f0 5a be 00 52 38 6c 9a c3 fe 9a ec b3 77 78 9d | provided auth: f0 5a be 00 52 38 6c 9a c3 fe 9a ec b3 77 78 9d | 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: | 5e 5f c7 31 2d b1 ed 01 | responder cookie: | fe 3a 2f 79 43 1b 50 70 | 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 0f 99 d9 f1 | delete PROTO_v2_ESP SA(0x0f99d9f1) | 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(0x0f99d9f1) "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.103s and NOT sending notification | child state #6: V2_IPSEC_R(established CHILD SA) => delete | get_sa_info esp.f99d9f1@192.1.2.45 | get_sa_info esp.71c1b9ec@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@0x55a106a9eb28 | free_event_entry: release EVENT_SA_REKEY-pe@0x55a106aa79e8 | 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='1566843954' 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 1050 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='1566843954' 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=0xf99d9f1 SPI_OUT=0x71c1b9ec ipsec _u: | cmd(1040):pdown 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.f99d9f1@192.1.2.45 | netlink response for Del SA esp.f99d9f1@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.71c1b9ec@192.1.2.23 | netlink response for Del SA esp.71c1b9ec@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 71 c1 b9 ec | 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: 5e 5f c7 31 2d b1 ed 01 fe 3a 2f 79 43 1b 50 70 | data being hmac: 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | data being hmac: 86 6e 3c 33 26 7b 55 f6 92 ff 43 05 ab 58 48 64 | data being hmac: 5c 76 a4 1c 5b 83 f7 7c 0a e3 43 fd 7c 30 81 c2 | out calculated auth: | 19 83 6a 5c 28 3c 42 df 98 57 90 63 46 0a 4f cd | 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) | 5e 5f c7 31 2d b1 ed 01 fe 3a 2f 79 43 1b 50 70 | 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | 86 6e 3c 33 26 7b 55 f6 92 ff 43 05 ab 58 48 64 | 5c 76 a4 1c 5b 83 f7 7c 0a e3 43 fd 7c 30 81 c2 | 19 83 6a 5c 28 3c 42 df 98 57 90 63 46 0a 4f cd | 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 0.93 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.15 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.17 milliseconds in comm_handle_cb() reading and processing packet | spent 0.00166 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) | 5e 5f c7 31 2d b1 ed 01 fe 3a 2f 79 43 1b 50 70 | 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | 19 cd 43 27 b8 b1 be f5 44 3f 4e 38 bd f1 c4 ff | e1 56 aa 46 83 eb e4 e6 48 34 71 85 fb 9f d3 92 | 35 6f cb a1 c7 08 3b 41 78 25 ec 2d 1a a1 24 53 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 5e 5f c7 31 2d b1 ed 01 | responder cookie: | fe 3a 2f 79 43 1b 50 70 | 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: 5e 5f c7 31 2d b1 ed 01 fe 3a 2f 79 43 1b 50 70 | data for hmac: 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | data for hmac: 19 cd 43 27 b8 b1 be f5 44 3f 4e 38 bd f1 c4 ff | data for hmac: e1 56 aa 46 83 eb e4 e6 48 34 71 85 fb 9f d3 92 | calculated auth: 35 6f cb a1 c7 08 3b 41 78 25 ec 2d 1a a1 24 53 | provided auth: 35 6f cb a1 c7 08 3b 41 78 25 ec 2d 1a a1 24 53 | 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: | 5e 5f c7 31 2d b1 ed 01 | responder cookie: | fe 3a 2f 79 43 1b 50 70 | 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: 5e 5f c7 31 2d b1 ed 01 fe 3a 2f 79 43 1b 50 70 | data being hmac: 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | data being hmac: 6c 17 28 4c b3 4f 46 89 70 02 0e 8a 7b 29 9a d0 | data being hmac: 93 21 ea a9 83 c8 c9 99 c2 76 64 98 c5 ac fb 53 | out calculated auth: | 1b 5e 02 66 c1 44 c3 94 17 40 55 3e 14 af 93 2d | 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) | 5e 5f c7 31 2d b1 ed 01 fe 3a 2f 79 43 1b 50 70 | 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | 6c 17 28 4c b3 4f 46 89 70 02 0e 8a 7b 29 9a d0 | 93 21 ea a9 83 c8 c9 99 c2 76 64 98 c5 ac fb 53 | 1b 5e 02 66 c1 44 c3 94 17 40 55 3e 14 af 93 2d | 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 16.7 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.134s 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@0x55a106aaae78 | free_event_entry: release EVENT_SA_REKEY-pe@0x55a106a9e7a8 | 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: 0x55a1069f5c48 @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.469 milliseconds in comm_handle_cb() reading and processing packet | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00437 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00262 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) | cf 65 a7 1f f7 2c 0d 2b 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 | d8 85 e6 12 9f b1 28 95 ba 0c 44 25 1a 5a 71 21 | f5 62 d9 ef 3d 82 21 56 b4 9c 36 07 b5 49 62 c5 | cf 36 16 96 10 62 67 6e 87 3e db a6 ad e6 05 86 | 04 69 ed 70 73 1e a7 f7 e3 5b 64 f6 84 06 5a ab | 16 4c 1c 33 96 3f 57 2c 64 ea 56 cc 1f 36 b5 1e | 0d 12 94 71 3d 1b 91 52 53 6e ee 1d 40 b2 74 57 | 3b ad bb 8e 46 0e 17 cf 87 35 f4 7b ab e5 46 41 | 20 5e 3b f1 ff dc 12 7d b2 aa a3 3c 7a ec 89 6e | 2b f5 e3 4d 48 53 96 50 64 b6 dd bd 8c a2 f5 5f | 3d 83 6d 0b 0c 7b 78 fe e6 1e f5 ec 88 91 cb a2 | 95 27 d0 e1 54 98 5d f2 61 54 b2 3e 7a 4c fc 29 | 90 fb 68 c4 5e 42 2f 9e 54 13 ee a8 41 2c 51 92 | 59 df 33 dc 83 c1 79 46 ad ce 9b f1 88 09 b6 80 | 9a 3c d5 7d 1e ae 74 0a 6e 33 be 8a 4c 2c df 39 | 63 85 48 e2 3b bc 78 df 4f 30 47 d0 98 ab 24 d6 | 2e e7 53 f2 1d 64 a4 52 ca 2e d7 0c 97 a8 66 90 | 9f 2d 63 ab 6c 37 55 1c ed b0 08 10 02 36 36 10 | b2 cc 6f c3 dc 91 68 07 11 37 f4 a5 e8 70 e7 ff | e8 17 a6 29 79 02 22 6b 16 01 aa 22 67 e4 9c 67 | 2e 68 45 e2 7c 9b 72 d0 e9 6e 6b 4a 33 9d ed dc | 9e c8 ff a1 0b 8b c0 a0 fb cd 80 85 a5 c2 84 9f | f7 d2 84 1c 4e b4 a0 dd 8e 0d fe 40 06 f4 d0 eb | 37 18 45 cf 47 da 7d 72 94 f1 41 52 34 7d a1 5b | a4 75 9c fe e4 8e 4f e8 06 c7 3e 5d 2b 41 e3 83 | 84 0e 50 e2 f0 d7 17 4e 0d 0d 83 25 31 33 57 54 | e2 7c 2c 17 01 5d dd 2a 87 a9 10 46 46 82 24 4c | ab 13 c1 7d 3e 92 08 d4 13 c6 1c f7 5a 60 4d 39 | 38 4e b9 7a fc d3 a2 f9 a2 2b 5c 94 ba 41 93 8e | 1a bb 87 4f d5 1c b1 4b be a7 69 5e 47 8c 9e ae | 82 3d 72 11 bb 80 88 cc 33 0b 86 cd c7 89 12 d6 | 71 93 93 95 3b bc 0c 33 09 ce 88 68 76 2f b8 4c | ba 9a ea ce 7e 09 31 cd 5e 9c a2 77 89 5f 3d 42 | 2d 7d 85 7d 6d 4d c7 93 fb d5 53 10 ef 28 24 b3 | 04 5d 23 2b 57 db de 1a 5d 9e 07 fb 9e cc a4 ec | d9 61 26 2f 0d ac a5 12 2b ec 8e 57 a0 b7 7f 34 | 46 4e 9c 70 f1 4a d8 0c 12 87 c8 4b 5d c0 22 bb | 8b 2a 2f ff c5 29 93 04 76 a0 07 c6 cc 2b 58 f9 | 48 37 f6 3b c9 58 90 08 46 55 a5 cb 81 5c d8 56 | ce 81 10 f1 6a f4 2f 5d 76 24 85 49 7e da 7d c9 | 1c c9 ab 42 e3 86 c3 d9 d9 c7 16 7d 7a 79 01 64 | 67 b3 a1 d3 df de b5 b1 e2 33 ad e9 a7 8d 3b e3 | 6f 73 35 a8 0d d3 3d 31 bb 28 ff bc 68 5f 67 e3 | 26 c4 4f a9 a4 99 b2 cd 58 00 f6 8b 74 81 00 6b | fc d3 db af 8d fa ba 00 da dd d2 31 d2 e5 b7 51 | eb be 4f 98 ef 37 31 b8 07 30 b0 2b 1d a6 a8 6c | 67 79 54 c1 40 56 bf 4c 46 2d ad 5b de b6 32 dc | ca fe a5 69 66 5c 16 24 95 45 0a f5 6e ae 10 1b | ab 51 23 1e be 89 c2 35 09 ad 2b 2c 49 81 09 64 | ab 06 10 ea 4d 48 f3 d7 57 aa 37 c5 c6 8b a2 df | 8e 6b 9f 48 fe a8 13 31 2f c8 1e 26 52 e8 00 92 | 52 89 01 6f 6f 5b 53 4f bc 2a 7b 0f 0b 20 13 9b | 8b 3b 56 f5 ec ac df a6 44 07 60 5f 92 c0 1b 7b | 15 65 d2 09 89 e5 14 1d e1 36 16 32 13 5d fe f5 | 65 2c 6d 14 2d e1 9c e6 69 99 f7 eb e1 31 f7 56 | df 38 21 d9 0f 64 f3 a7 9c ce 5d 3c b7 ab 25 20 | 50 f4 73 cd 05 ac 41 64 5b 75 dc f1 13 c4 af f6 | b1 87 81 f5 21 d1 45 2d 1b e8 ce c2 ab be ce 2b | 30 e2 43 a4 2d 74 55 6f da 3d af c2 68 17 24 2f | c0 22 3a c9 4e b1 05 04 08 1e fe 45 47 46 86 99 | c0 bd 8f de 82 5e ac 9a 28 f8 d0 4a b7 08 c8 c5 | 46 42 85 13 eb f7 1c 38 22 f5 fc 25 cb 2a 45 35 | 4d 65 35 76 c9 ec 99 db ad 40 24 22 2d e0 ed 7a | 8f ac 48 65 04 f6 82 cc 23 88 12 7c 1d df 38 5c | 01 dc b0 db ab 55 71 05 e4 3c ce 34 ff 36 66 e7 | 29 00 00 24 ca ee 53 0b 63 91 17 68 9b 41 ff 46 | 69 21 84 94 44 36 00 6d 0e 1c a1 f1 98 f2 50 34 | dd 4c 2c 42 29 00 00 08 00 00 40 2e 29 00 00 1c | 00 00 40 04 cf 78 79 d7 55 c4 fc 59 84 a1 c0 81 | 0c 98 d1 cb 59 f6 c5 85 00 00 00 1c 00 00 40 05 | 28 8c ff 84 23 b8 bc c2 1e ec 7b 98 ac 5c af ed | 0b 0d 6b ed | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | cf 65 a7 1f f7 2c 0d 2b | 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 0x55a106aa05d8 | 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=0x55a106847800(20) | natd_hash: icookie= cf 65 a7 1f f7 2c 0d 2b | 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= 28 8c ff 84 23 b8 bc c2 1e ec 7b 98 ac 5c af ed | natd_hash: hash= 0b 0d 6b ed | natd_hash: rcookie is zero | natd_hash: hasher=0x55a106847800(20) | natd_hash: icookie= cf 65 a7 1f f7 2c 0d 2b | 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= cf 78 79 d7 55 c4 fc 59 84 a1 c0 81 0c 98 d1 cb | natd_hash: hash= 59 f6 c5 85 | 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@0x55a106a9e7a8 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #7 | libevent_malloc: new ptr-libevent@0x7f9828004c28 size 128 | #7 spent 0.179 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 | crypto helper 6 doing build KE and nonce (ikev2_inI1outR1 KE); request ID 7 | [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_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.502 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.51 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.015644 seconds | (#7) spent 15 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@0x7f982c004f18 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 0x55a106772b50 | ikev2_parent_inI1outR1_continue for #7: calculated ke+nonce, sending R1 | **emit ISAKMP Message: | initiator cookie: | cf 65 a7 1f f7 2c 0d 2b | responder cookie: | 52 61 47 46 4b 9a 81 81 | 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 72 c3 c4 ee 11 7b ff 03 c4 42 7b ec d7 24 55 da | ikev2 g^x 21 44 1b f3 74 fb 4f e5 c7 2b 5e 1c fa 0b 6f 30 | ikev2 g^x 59 b8 5f 86 9a 86 0c 7a f2 76 7d 12 ec 2d d3 76 | ikev2 g^x a3 9a b3 65 99 d1 d3 b6 21 26 0e e0 08 7c 41 be | ikev2 g^x 5b 80 6a 61 3c f7 38 fa 1d 05 f6 8c 90 ee 45 62 | ikev2 g^x c9 d7 63 97 f8 2d e1 f5 d1 07 97 d8 c1 be d9 d2 | ikev2 g^x 55 00 a4 9f e9 c4 67 66 e6 54 78 c7 a4 f2 d8 f5 | ikev2 g^x 7c 3e 5a ad 62 5a d7 b5 34 e1 d1 d5 48 d5 c0 06 | ikev2 g^x ca 1a fd 2e 08 49 43 ef 92 ac 42 b7 11 8c 15 6b | ikev2 g^x 93 8f d6 6d 35 18 e2 99 bd bf e7 c1 6d 2b 8f e0 | ikev2 g^x d0 be 29 6e 51 a6 1a 7c e9 c3 7a 63 c0 65 e9 10 | ikev2 g^x 3d 38 f4 08 df 9e ff 3e cd 92 34 fe 8f b5 d2 9b | ikev2 g^x 53 54 7c ca 5f 4e 86 a4 60 b0 2b 40 75 33 4f 18 | ikev2 g^x 3b 0b ae b8 6e 6e 82 1d ca 2a ee 63 07 03 b8 b4 | ikev2 g^x 3b 48 80 79 11 89 01 e7 12 f1 2a 48 6a 53 10 27 | ikev2 g^x 1c 60 af a8 b0 44 7f 14 0a 2b fb f6 8b 5d bb 25 | ikev2 g^x 8a c6 97 a0 65 23 f9 8f 92 b5 ed 23 da c7 ab 6d | ikev2 g^x e8 63 c1 f4 fb d8 fe 5f 24 6a 5e dc 28 d2 9e 51 | ikev2 g^x 7c 36 d2 af f4 de a7 4d 04 1d 3a f2 17 1b 54 3d | ikev2 g^x 9d af 04 ec aa 5e c2 79 72 cf 7c 8a ca 4d 86 00 | ikev2 g^x c4 c5 62 1f 95 0d 11 b2 a0 c9 35 7f 3a 58 a6 38 | ikev2 g^x 87 5d 0d 2b 67 84 e5 2e 9d 24 e7 44 66 87 55 3b | ikev2 g^x 81 f2 08 f2 83 3e a2 25 d0 f1 e3 4a 58 88 64 47 | ikev2 g^x 4f 0e 79 ef 02 48 14 0b 2f 93 b0 7f 8a 62 74 4d | ikev2 g^x 37 87 51 e4 14 4f d0 ee 4a 51 bf 24 40 16 d3 2e | ikev2 g^x 06 cd ea 05 8a e8 37 24 8f 8b 6a fc d6 76 0c 70 | ikev2 g^x 76 79 7a 3c 6c cd 6a 01 a6 e1 e8 12 0f 5d 9c 44 | ikev2 g^x e4 9a ab 39 26 27 79 1f 1e 09 bb 19 ba 08 6f 4c | ikev2 g^x e9 36 4d e1 5c 0f 85 d6 df a4 8a 40 8d ea 4d b1 | ikev2 g^x 15 ec f6 0f e5 0f 21 a1 11 8b d6 86 29 34 e1 5c | ikev2 g^x 1e db 35 ac 1e 3b a1 c4 86 30 2a 7d 47 39 68 67 | ikev2 g^x fe 46 b7 a0 31 e6 1d 15 95 fe 00 08 fa b8 88 7e | ikev2 g^x 05 5f 1b 9d 9c 08 31 8f 97 5a 6b ec f4 2a 7d 00 | ikev2 g^x 40 76 81 fd 69 cf 98 d7 d4 cf ae f0 23 4f 9d 31 | ikev2 g^x 78 79 80 9f 6d 10 54 48 a4 e0 11 20 46 6a e6 ec | ikev2 g^x b4 56 8a 7d 7f 78 06 85 a7 b7 7a 4b 11 0e 8c ef | ikev2 g^x 14 28 57 b2 ab e9 9a 5b 4a 48 fd c9 1a cc 8a da | ikev2 g^x 1a 41 ed ef 18 8a e8 71 d6 aa 4b 45 3d 98 45 c4 | ikev2 g^x aa 65 08 c4 06 a4 da c2 d8 15 5c 3c 7c cb ac 8c | ikev2 g^x 7d 74 b2 de a4 65 ab 34 68 14 8e bf a2 90 ac a3 | ikev2 g^x 99 19 86 a9 7a a8 61 82 68 d3 0a f7 81 92 50 9c | ikev2 g^x 91 54 4c 0f a4 ff 7e 6a d0 76 32 25 fd 6f 01 0f | ikev2 g^x 9a 2f 41 18 cc cb f7 02 8e 9b f3 f6 10 86 17 26 | ikev2 g^x ef 29 70 a1 bd 28 f9 12 80 fd 52 03 2c 77 fc 8c | ikev2 g^x 1a c6 4f 12 db 5e 6d e8 97 a3 bb 53 26 ea 95 66 | ikev2 g^x 58 e3 27 f4 e1 b4 e9 9f b0 31 65 a6 e0 3f 8c b5 | ikev2 g^x 98 09 0b c2 64 be e9 f0 ff 8c c7 c0 fa 0c a9 26 | ikev2 g^x a9 5a a1 38 f8 6c d3 23 61 d2 75 b5 f9 6d e2 d2 | ikev2 g^x 6f b0 27 80 64 8e 58 39 e5 eb 14 1e 6e b5 cc 6f | ikev2 g^x 51 e1 0e 08 d1 a8 7c b8 10 91 7e f6 fe 31 38 db | ikev2 g^x c3 7f 2f ed 34 f8 c0 d7 27 16 42 da 6d 93 fc 72 | ikev2 g^x 42 07 5a 22 22 df 9e 15 94 82 8a 9f 9e e4 51 13 | ikev2 g^x fe 55 0a 39 de 7e 75 81 58 a7 48 16 f9 93 34 e1 | ikev2 g^x 03 aa a3 4e ed e6 f2 2c 0d 7a 7c 07 27 b2 16 10 | ikev2 g^x f8 ac e1 ff fa 83 fa c0 b6 f1 47 92 cb a7 e1 c9 | ikev2 g^x 79 b1 6a f9 2a d1 74 72 4e cb 4a e9 9f 67 aa ea | ikev2 g^x dd da b4 e2 ee 91 75 36 43 20 bf 51 f8 3a de 02 | ikev2 g^x 94 f6 87 c0 98 17 36 32 59 c4 29 68 3a 9a f0 5c | ikev2 g^x fd a0 be be 23 0d 29 6f 3b 9e 15 e6 70 90 ca c9 | ikev2 g^x 54 f3 17 06 8e 71 73 00 aa be ea ab 3c 0a 47 e1 | ikev2 g^x 43 1d 34 53 7f 6e 74 4f b3 11 0f 81 11 3b 81 39 | ikev2 g^x 4f 92 6a 1b e4 b3 84 50 01 d0 71 db a7 87 75 7c | ikev2 g^x 3b 01 e7 28 17 0a 2f d9 64 b3 b3 4c 89 36 0e eb | ikev2 g^x 92 de f7 35 fb 2c 39 98 96 20 51 df 3b 00 d6 0b | 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 40 97 44 48 94 4e 05 e2 d3 fd 9f 49 e6 fa 21 f8 | IKEv2 nonce 49 8b 00 28 64 66 23 c8 90 1a b7 66 48 27 5a d0 | 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=0x55a106847800(20) | natd_hash: icookie= cf 65 a7 1f f7 2c 0d 2b | natd_hash: rcookie= 52 61 47 46 4b 9a 81 81 | natd_hash: ip= c0 01 02 17 | natd_hash: port=500 | natd_hash: hash= 53 fd 9c 0b 47 10 90 3a c3 05 22 ef 20 e0 eb 15 | natd_hash: hash= c4 bb c2 7f | 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 53 fd 9c 0b 47 10 90 3a c3 05 22 ef 20 e0 eb 15 | Notify data c4 bb c2 7f | emitting length of IKEv2 Notify Payload: 28 | natd_hash: hasher=0x55a106847800(20) | natd_hash: icookie= cf 65 a7 1f f7 2c 0d 2b | natd_hash: rcookie= 52 61 47 46 4b 9a 81 81 | natd_hash: ip= c0 01 02 2d | natd_hash: port=500 | natd_hash: hash= f6 b7 8d f5 1f 9f 19 f3 5f 28 4a d5 d7 e2 a5 ee | natd_hash: hash= ee 0d b2 c1 | 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 f6 b7 8d f5 1f 9f 19 f3 5f 28 4a d5 d7 e2 a5 ee | Notify data ee 0d b2 c1 | 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) | cf 65 a7 1f f7 2c 0d 2b 52 61 47 46 4b 9a 81 81 | 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 72 c3 c4 ee 11 7b ff 03 c4 42 7b ec | d7 24 55 da 21 44 1b f3 74 fb 4f e5 c7 2b 5e 1c | fa 0b 6f 30 59 b8 5f 86 9a 86 0c 7a f2 76 7d 12 | ec 2d d3 76 a3 9a b3 65 99 d1 d3 b6 21 26 0e e0 | 08 7c 41 be 5b 80 6a 61 3c f7 38 fa 1d 05 f6 8c | 90 ee 45 62 c9 d7 63 97 f8 2d e1 f5 d1 07 97 d8 | c1 be d9 d2 55 00 a4 9f e9 c4 67 66 e6 54 78 c7 | a4 f2 d8 f5 7c 3e 5a ad 62 5a d7 b5 34 e1 d1 d5 | 48 d5 c0 06 ca 1a fd 2e 08 49 43 ef 92 ac 42 b7 | 11 8c 15 6b 93 8f d6 6d 35 18 e2 99 bd bf e7 c1 | 6d 2b 8f e0 d0 be 29 6e 51 a6 1a 7c e9 c3 7a 63 | c0 65 e9 10 3d 38 f4 08 df 9e ff 3e cd 92 34 fe | 8f b5 d2 9b 53 54 7c ca 5f 4e 86 a4 60 b0 2b 40 | 75 33 4f 18 3b 0b ae b8 6e 6e 82 1d ca 2a ee 63 | 07 03 b8 b4 3b 48 80 79 11 89 01 e7 12 f1 2a 48 | 6a 53 10 27 1c 60 af a8 b0 44 7f 14 0a 2b fb f6 | 8b 5d bb 25 8a c6 97 a0 65 23 f9 8f 92 b5 ed 23 | da c7 ab 6d e8 63 c1 f4 fb d8 fe 5f 24 6a 5e dc | 28 d2 9e 51 7c 36 d2 af f4 de a7 4d 04 1d 3a f2 | 17 1b 54 3d 9d af 04 ec aa 5e c2 79 72 cf 7c 8a | ca 4d 86 00 c4 c5 62 1f 95 0d 11 b2 a0 c9 35 7f | 3a 58 a6 38 87 5d 0d 2b 67 84 e5 2e 9d 24 e7 44 | 66 87 55 3b 81 f2 08 f2 83 3e a2 25 d0 f1 e3 4a | 58 88 64 47 4f 0e 79 ef 02 48 14 0b 2f 93 b0 7f | 8a 62 74 4d 37 87 51 e4 14 4f d0 ee 4a 51 bf 24 | 40 16 d3 2e 06 cd ea 05 8a e8 37 24 8f 8b 6a fc | d6 76 0c 70 76 79 7a 3c 6c cd 6a 01 a6 e1 e8 12 | 0f 5d 9c 44 e4 9a ab 39 26 27 79 1f 1e 09 bb 19 | ba 08 6f 4c e9 36 4d e1 5c 0f 85 d6 df a4 8a 40 | 8d ea 4d b1 15 ec f6 0f e5 0f 21 a1 11 8b d6 86 | 29 34 e1 5c 1e db 35 ac 1e 3b a1 c4 86 30 2a 7d | 47 39 68 67 fe 46 b7 a0 31 e6 1d 15 95 fe 00 08 | fa b8 88 7e 05 5f 1b 9d 9c 08 31 8f 97 5a 6b ec | f4 2a 7d 00 40 76 81 fd 69 cf 98 d7 d4 cf ae f0 | 23 4f 9d 31 78 79 80 9f 6d 10 54 48 a4 e0 11 20 | 46 6a e6 ec b4 56 8a 7d 7f 78 06 85 a7 b7 7a 4b | 11 0e 8c ef 14 28 57 b2 ab e9 9a 5b 4a 48 fd c9 | 1a cc 8a da 1a 41 ed ef 18 8a e8 71 d6 aa 4b 45 | 3d 98 45 c4 aa 65 08 c4 06 a4 da c2 d8 15 5c 3c | 7c cb ac 8c 7d 74 b2 de a4 65 ab 34 68 14 8e bf | a2 90 ac a3 99 19 86 a9 7a a8 61 82 68 d3 0a f7 | 81 92 50 9c 91 54 4c 0f a4 ff 7e 6a d0 76 32 25 | fd 6f 01 0f 9a 2f 41 18 cc cb f7 02 8e 9b f3 f6 | 10 86 17 26 ef 29 70 a1 bd 28 f9 12 80 fd 52 03 | 2c 77 fc 8c 1a c6 4f 12 db 5e 6d e8 97 a3 bb 53 | 26 ea 95 66 58 e3 27 f4 e1 b4 e9 9f b0 31 65 a6 | e0 3f 8c b5 98 09 0b c2 64 be e9 f0 ff 8c c7 c0 | fa 0c a9 26 a9 5a a1 38 f8 6c d3 23 61 d2 75 b5 | f9 6d e2 d2 6f b0 27 80 64 8e 58 39 e5 eb 14 1e | 6e b5 cc 6f 51 e1 0e 08 d1 a8 7c b8 10 91 7e f6 | fe 31 38 db c3 7f 2f ed 34 f8 c0 d7 27 16 42 da | 6d 93 fc 72 42 07 5a 22 22 df 9e 15 94 82 8a 9f | 9e e4 51 13 fe 55 0a 39 de 7e 75 81 58 a7 48 16 | f9 93 34 e1 03 aa a3 4e ed e6 f2 2c 0d 7a 7c 07 | 27 b2 16 10 f8 ac e1 ff fa 83 fa c0 b6 f1 47 92 | cb a7 e1 c9 79 b1 6a f9 2a d1 74 72 4e cb 4a e9 | 9f 67 aa ea dd da b4 e2 ee 91 75 36 43 20 bf 51 | f8 3a de 02 94 f6 87 c0 98 17 36 32 59 c4 29 68 | 3a 9a f0 5c fd a0 be be 23 0d 29 6f 3b 9e 15 e6 | 70 90 ca c9 54 f3 17 06 8e 71 73 00 aa be ea ab | 3c 0a 47 e1 43 1d 34 53 7f 6e 74 4f b3 11 0f 81 | 11 3b 81 39 4f 92 6a 1b e4 b3 84 50 01 d0 71 db | a7 87 75 7c 3b 01 e7 28 17 0a 2f d9 64 b3 b3 4c | 89 36 0e eb 92 de f7 35 fb 2c 39 98 96 20 51 df | 3b 00 d6 0b 29 00 00 24 40 97 44 48 94 4e 05 e2 | d3 fd 9f 49 e6 fa 21 f8 49 8b 00 28 64 66 23 c8 | 90 1a b7 66 48 27 5a d0 29 00 00 08 00 00 40 2e | 29 00 00 1c 00 00 40 04 53 fd 9c 0b 47 10 90 3a | c3 05 22 ef 20 e0 eb 15 c4 bb c2 7f 00 00 00 1c | 00 00 40 05 f6 b7 8d f5 1f 9f 19 f3 5f 28 4a d5 | d7 e2 a5 ee ee 0d b2 c1 | state #7 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x7f9828004c28 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x55a106a9e7a8 | event_schedule: new EVENT_SO_DISCARD-pe@0x55a106a9e7a8 | inserting event EVENT_SO_DISCARD, timeout in 200 seconds for #7 | libevent_malloc: new ptr-libevent@0x55a106aaa2e8 size 128 | resume sending helper answer for #7 suppresed complete_v2_state_transition() | #7 spent 0.478 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@0x7f982c004f18 | spent 0.00326 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) | cf 65 a7 1f f7 2c 0d 2b 52 61 47 46 4b 9a 81 81 | 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | 5b 0f e8 d8 20 f4 d7 cf 21 96 5b c1 6a f7 9b a7 | 44 fa 25 26 04 8a 48 ae 48 21 30 6a 31 27 7a 63 | 81 2a ce 94 71 4e 6d f1 8d ec fc 31 b9 3e 49 ca | 49 e9 51 6f 54 80 a3 7a 43 0c 28 4c 6b 93 62 0f | 85 36 03 6c a7 c5 92 b2 48 a5 81 e6 9d 73 1e 8e | 5b 4f d0 5d 95 32 15 56 2e 65 84 3a 27 37 d6 4b | 6d 87 69 05 98 17 74 f3 85 ad 99 c1 31 f3 e8 ef | c1 b3 78 73 a7 af 6a dc 13 b3 7c 80 16 a5 dc e6 | eb a5 16 b9 ea 0c 90 36 a9 8e 99 be ae be 43 0a | 12 0f 7a 31 a2 7a 6f 3b c1 36 8f a3 8d a6 df 01 | f6 93 8a 5f 76 f7 d7 ef fb c6 7f 46 3b e7 55 29 | ac 22 a6 1f e8 9e 7e 66 23 c1 22 1a 4f 98 a3 8a | bc c7 a7 b9 7e 7d 64 03 18 d8 6e f7 28 3c cd 9e | 83 0c 02 d3 e3 f2 73 a3 3e 8e 7f 2d ea 11 30 d9 | 5e a7 e3 e3 0f f2 8a 73 cd 71 71 0a 5f d2 f9 de | 32 83 96 39 93 d8 2d e2 b6 28 55 98 cb 44 b0 ae | e5 c5 b5 de 6b 31 f2 6f d3 3c f8 0b d9 48 60 6d | 61 63 0e c0 46 02 98 1e f0 bd 82 87 9e 14 8c 6c | 56 80 a6 c9 3f 20 93 4a da a9 bf 0a 4f c5 b7 ce | 67 e0 8d 6d 27 02 85 3e fe 39 87 30 26 3c f2 44 | 97 70 43 3c 88 61 5f fe 12 d0 48 07 5a f4 8d ed | c3 63 06 56 d2 d0 ae 23 c3 4b cd c1 eb 60 a1 01 | 96 7f 27 13 fb 82 73 a2 c9 19 4a 50 ff 3f 2f bb | 0d c9 a5 37 81 40 14 50 4c a5 fc d5 e0 1c c4 9a | a5 f9 79 dc 3d 6a 5c bf 42 fc 0a 03 74 4e 12 95 | af 23 1a a1 ba e4 68 f8 11 64 9d be 55 a6 b5 0f | bf 68 71 e0 73 66 cf ad 82 b6 b3 f0 6e ad 43 8e | 4d c9 28 6b 00 75 ca bb 2b 85 46 23 01 e8 89 f8 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | cf 65 a7 1f f7 2c 0d 2b | responder cookie: | 52 61 47 46 4b 9a 81 81 | 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@0x55a106aaa2e8 | free_event_entry: release EVENT_SO_DISCARD-pe@0x55a106a9e7a8 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x55a106a9e7a8 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #7 | libevent_malloc: new ptr-libevent@0x7f982c004f18 size 128 | #7 spent 0.0222 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 | crypto helper 0 resuming | crypto helper 0 starting work-order 8 for state #7 | suspending state #7 and saving MD | 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.166 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.174 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.012594 seconds | (#7) spent 12.5 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@0x7f9840006748 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 0x55a106772b50 | ikev2_parent_inI2outR2_continue for #7: calculating g^{xy}, sending R2 | #7 in state PARENT_R1: received v2I1, sent v2R1 | data for hmac: cf 65 a7 1f f7 2c 0d 2b 52 61 47 46 4b 9a 81 81 | data for hmac: 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | data for hmac: 5b 0f e8 d8 20 f4 d7 cf 21 96 5b c1 6a f7 9b a7 | data for hmac: 44 fa 25 26 04 8a 48 ae 48 21 30 6a 31 27 7a 63 | data for hmac: 81 2a ce 94 71 4e 6d f1 8d ec fc 31 b9 3e 49 ca | data for hmac: 49 e9 51 6f 54 80 a3 7a 43 0c 28 4c 6b 93 62 0f | data for hmac: 85 36 03 6c a7 c5 92 b2 48 a5 81 e6 9d 73 1e 8e | data for hmac: 5b 4f d0 5d 95 32 15 56 2e 65 84 3a 27 37 d6 4b | data for hmac: 6d 87 69 05 98 17 74 f3 85 ad 99 c1 31 f3 e8 ef | data for hmac: c1 b3 78 73 a7 af 6a dc 13 b3 7c 80 16 a5 dc e6 | data for hmac: eb a5 16 b9 ea 0c 90 36 a9 8e 99 be ae be 43 0a | data for hmac: 12 0f 7a 31 a2 7a 6f 3b c1 36 8f a3 8d a6 df 01 | data for hmac: f6 93 8a 5f 76 f7 d7 ef fb c6 7f 46 3b e7 55 29 | data for hmac: ac 22 a6 1f e8 9e 7e 66 23 c1 22 1a 4f 98 a3 8a | data for hmac: bc c7 a7 b9 7e 7d 64 03 18 d8 6e f7 28 3c cd 9e | data for hmac: 83 0c 02 d3 e3 f2 73 a3 3e 8e 7f 2d ea 11 30 d9 | data for hmac: 5e a7 e3 e3 0f f2 8a 73 cd 71 71 0a 5f d2 f9 de | data for hmac: 32 83 96 39 93 d8 2d e2 b6 28 55 98 cb 44 b0 ae | data for hmac: e5 c5 b5 de 6b 31 f2 6f d3 3c f8 0b d9 48 60 6d | data for hmac: 61 63 0e c0 46 02 98 1e f0 bd 82 87 9e 14 8c 6c | data for hmac: 56 80 a6 c9 3f 20 93 4a da a9 bf 0a 4f c5 b7 ce | data for hmac: 67 e0 8d 6d 27 02 85 3e fe 39 87 30 26 3c f2 44 | data for hmac: 97 70 43 3c 88 61 5f fe 12 d0 48 07 5a f4 8d ed | data for hmac: c3 63 06 56 d2 d0 ae 23 c3 4b cd c1 eb 60 a1 01 | data for hmac: 96 7f 27 13 fb 82 73 a2 c9 19 4a 50 ff 3f 2f bb | data for hmac: 0d c9 a5 37 81 40 14 50 4c a5 fc d5 e0 1c c4 9a | data for hmac: a5 f9 79 dc 3d 6a 5c bf 42 fc 0a 03 74 4e 12 95 | data for hmac: af 23 1a a1 ba e4 68 f8 11 64 9d be 55 a6 b5 0f | data for hmac: bf 68 71 e0 73 66 cf ad 82 b6 b3 f0 6e ad 43 8e | calculated auth: 4d c9 28 6b 00 75 ca bb 2b 85 46 23 01 e8 89 f8 | provided auth: 4d c9 28 6b 00 75 ca bb 2b 85 46 23 01 e8 89 f8 | 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=0x55a1069f5b58 (line=1) | concluding with best_match=002 best=0x55a1069f5b58 (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.0392 milliseconds in try_all_RSA_keys() trying a pubkey "westnet-eastnet-ikev2" #7: Authenticated using RSA | #7 spent 0.059 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@0x7f982c004f18 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x55a106a9e7a8 | event_schedule: new EVENT_SA_REKEY-pe@0x55a106a9e7a8 | inserting event EVENT_SA_REKEY, timeout in 3330 seconds for #7 | libevent_malloc: new ptr-libevent@0x55a106a9eb28 size 128 | pstats #7 ikev2.ike established | **emit ISAKMP Message: | initiator cookie: | cf 65 a7 1f f7 2c 0d 2b | responder cookie: | 52 61 47 46 4b 9a 81 81 | 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=0x55a1069f5b58 (line=1) | concluding with best_match=002 best=0x55a1069f5b58 (lineno=1) | #7 spent 3.46 milliseconds in ikev2_calculate_rsa_hash() calling sign_hash_RSA() | emitting 274 raw bytes of rsa signature into IKEv2 Authentication Payload | rsa signature b4 7c ca 71 7a 7a ef 36 bd a8 cb 7b cb 40 1a 16 | rsa signature a0 4d f3 19 09 7c ed 55 4d 85 90 85 1c 57 3a ac | rsa signature 43 e8 1c bf c1 03 0b 4a 0e 75 db f3 2b 83 5f dc | rsa signature 47 5f 71 19 41 b9 d6 80 67 f4 24 91 5a 19 12 f0 | rsa signature 96 30 b8 39 7c db 30 6a 2a 2e 52 45 20 6a 80 c7 | rsa signature 59 c4 ea c4 2c 26 af 89 8d 1d 05 2d 86 4a 1b db | rsa signature a4 bb d3 29 51 0b 9a 8a 24 95 4e 94 b9 bc 8d 95 | rsa signature d1 46 ea a4 91 4e 97 cb 11 28 43 53 61 ec cb 4e | rsa signature fe 5e d1 73 ab e1 1e cf 07 ed b7 eb 20 3d 92 3d | rsa signature 5f cd e6 64 72 b6 c1 36 38 ac b8 01 4c a6 8f 89 | rsa signature 33 11 9b ca 8a 58 fe d3 a0 54 25 96 6d 64 44 28 | rsa signature 3c b1 3c 92 30 62 c6 7b 61 42 7d 1a 0b d9 b6 df | rsa signature 3b 27 c9 73 52 1b 11 34 24 3e e2 fb 2d 15 cb 0b | rsa signature e0 76 3b e6 95 59 bb 3f 40 55 6f 28 35 3a 8e a2 | rsa signature 5f 37 16 b9 b6 03 9b ad 9c dc 12 b1 4d 5e 64 52 | rsa signature 3a 40 e1 b3 bf be 67 58 f2 84 d2 7a 47 ab 62 a2 | rsa signature ad 8e 4b de 93 54 f6 31 31 ee 6e ad 3d ed 0e a2 | rsa signature 01 50 | #7 spent 3.54 milliseconds in ikev2_calculate_rsa_hash() | emitting length of IKEv2 Authentication Payload: 282 | creating state object #8 at 0x55a106ab2928 | 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 c3 dd c2 27 | 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=c3ddc227;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=c3ddc227;ENCR=AES_CBC_256;INTEG=HMAC_SHA2_256_128;ESN=DISABLED | converting proposal to internal trans attrs | netlink_get_spi: allocated 0x2dbe6cb3 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 2d be 6c b3 | ******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.c3ddc227@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.2dbe6cb3@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=0xc3 | 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=0xc3ddc227 SPI_OUT=0x2dbe6cb3 ipsec _updown 2>&1: | route_and_eroute: firewall_notified: true | route_and_eroute: instance "westnet-eastnet-ikev2", setting eroute_owner {spd=0x55a106a9c7b8,sr=0x55a106a9c7b8} to #8 (was #0) (newest_ipsec_sa=#0) | #7 spent 0.636 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: cf 65 a7 1f f7 2c 0d 2b 52 61 47 46 4b 9a 81 81 | data being hmac: 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | data being hmac: ce a7 37 9a ee 9e 62 8a b8 fa 4c c2 22 3a 30 2b | data being hmac: b0 d4 9d f1 49 71 65 f6 50 7a 73 54 2f 00 cb 79 | data being hmac: 7e 1f 3b 5c 57 e0 5f 30 c1 f9 d6 9d f9 9a 0c c6 | data being hmac: 45 f0 eb a9 48 f7 b4 a8 87 f7 54 c3 9b b1 e5 f0 | data being hmac: ea 3f 48 07 80 73 cc ce 84 ac ad 94 01 b4 62 0f | data being hmac: 89 c8 4b 1f b4 da 50 2c 1d 03 85 f8 a4 d9 ea d0 | data being hmac: 63 98 a0 7a d1 8a 7f 90 c3 27 43 c0 9d 8a aa ff | data being hmac: 58 1d bf 75 4f 44 e2 7f 97 b1 63 06 ba aa 8d 29 | data being hmac: ce db c9 bf 64 52 77 ef 65 fc 4d 77 80 d7 d1 8c | data being hmac: 82 3f c4 96 85 2c 37 c8 5d 56 42 5c 76 d1 b2 b3 | data being hmac: b7 d7 5b fd 18 9d b8 e8 25 3f ce 7e 5f 18 8d 64 | data being hmac: 3e 9d 6c 2f ba 06 d4 7f b3 e2 99 85 b9 5a 6d 1a | data being hmac: 96 5d 44 94 0b 3c 8e 77 79 25 fb 5a 6a 3e e3 08 | data being hmac: fa ec dc 28 c1 a1 43 f3 fe c4 c7 bc ba d0 1d 5b | data being hmac: 11 5a 8f f6 33 5c d1 ed c0 ae 07 d8 a1 3e 65 b8 | data being hmac: fb 3c 46 d3 21 25 aa fa 56 2d 23 92 d4 de 0e 87 | data being hmac: 87 9e 6e 5f b1 95 34 c0 15 1f db 5c 24 ed 67 75 | data being hmac: 08 d2 2b 96 66 e1 ef 8b 04 03 3c 13 13 64 20 1c | data being hmac: 50 ec f7 69 84 12 30 5c a6 47 2d fe 8a 61 b4 74 | data being hmac: 8e ac 31 60 7b 06 22 1e 5f dd a8 5d 88 bf 03 32 | data being hmac: bb 9b d6 1f 5c e4 d9 e9 b1 a6 87 d1 61 85 30 b8 | data being hmac: 68 3b fa f7 63 2d 31 b6 9b b0 f5 f2 c6 e5 e1 f9 | data being hmac: f2 10 64 e6 60 ba 8b 1e 4d 81 90 3f d0 23 0d 9b | data being hmac: 08 d0 c1 6b 52 f4 f7 42 08 19 32 b4 7e 46 8d bc | data being hmac: 3b 56 25 4b 4f d3 66 20 d7 f7 f5 2b 9a 36 89 5d | data being hmac: 4e 38 d9 06 c4 b2 f5 76 c1 9d d1 cd 06 b1 50 24 | out calculated auth: | e4 74 20 ce dc cd 32 84 43 ba 42 21 75 1d 36 7d | ikev2_parent_inI2outR2_continue_tail returned STF_OK | #7 spent 5.23 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=>0xc3ddc227 <0x2dbe6cb3 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) | cf 65 a7 1f f7 2c 0d 2b 52 61 47 46 4b 9a 81 81 | 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | ce a7 37 9a ee 9e 62 8a b8 fa 4c c2 22 3a 30 2b | b0 d4 9d f1 49 71 65 f6 50 7a 73 54 2f 00 cb 79 | 7e 1f 3b 5c 57 e0 5f 30 c1 f9 d6 9d f9 9a 0c c6 | 45 f0 eb a9 48 f7 b4 a8 87 f7 54 c3 9b b1 e5 f0 | ea 3f 48 07 80 73 cc ce 84 ac ad 94 01 b4 62 0f | 89 c8 4b 1f b4 da 50 2c 1d 03 85 f8 a4 d9 ea d0 | 63 98 a0 7a d1 8a 7f 90 c3 27 43 c0 9d 8a aa ff | 58 1d bf 75 4f 44 e2 7f 97 b1 63 06 ba aa 8d 29 | ce db c9 bf 64 52 77 ef 65 fc 4d 77 80 d7 d1 8c | 82 3f c4 96 85 2c 37 c8 5d 56 42 5c 76 d1 b2 b3 | b7 d7 5b fd 18 9d b8 e8 25 3f ce 7e 5f 18 8d 64 | 3e 9d 6c 2f ba 06 d4 7f b3 e2 99 85 b9 5a 6d 1a | 96 5d 44 94 0b 3c 8e 77 79 25 fb 5a 6a 3e e3 08 | fa ec dc 28 c1 a1 43 f3 fe c4 c7 bc ba d0 1d 5b | 11 5a 8f f6 33 5c d1 ed c0 ae 07 d8 a1 3e 65 b8 | fb 3c 46 d3 21 25 aa fa 56 2d 23 92 d4 de 0e 87 | 87 9e 6e 5f b1 95 34 c0 15 1f db 5c 24 ed 67 75 | 08 d2 2b 96 66 e1 ef 8b 04 03 3c 13 13 64 20 1c | 50 ec f7 69 84 12 30 5c a6 47 2d fe 8a 61 b4 74 | 8e ac 31 60 7b 06 22 1e 5f dd a8 5d 88 bf 03 32 | bb 9b d6 1f 5c e4 d9 e9 b1 a6 87 d1 61 85 30 b8 | 68 3b fa f7 63 2d 31 b6 9b b0 f5 f2 c6 e5 e1 f9 | f2 10 64 e6 60 ba 8b 1e 4d 81 90 3f d0 23 0d 9b | 08 d0 c1 6b 52 f4 f7 42 08 19 32 b4 7e 46 8d bc | 3b 56 25 4b 4f d3 66 20 d7 f7 f5 2b 9a 36 89 5d | 4e 38 d9 06 c4 b2 f5 76 c1 9d d1 cd 06 b1 50 24 | e4 74 20 ce dc cd 32 84 43 ba 42 21 75 1d 36 7d | 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@0x7f9840002b78 | inserting event EVENT_SA_REKEY, timeout in 28530 seconds for #8 | libevent_malloc: new ptr-libevent@0x55a106aaa2e8 size 128 | resume sending helper answer for #7 suppresed complete_v2_state_transition() | #7 spent 5.5 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@0x7f9840006748 | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00332 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00278 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) | cf 65 a7 1f f7 2c 0d 2b 52 61 47 46 4b 9a 81 81 | 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | fa 86 c7 57 02 4b d8 e0 87 e0 45 9d d6 7a 5d ae | 32 b3 ab a7 da d4 ed d9 0a 4d ef e3 f7 b4 f3 17 | 0a 54 88 36 49 8e 9a 5d ea 65 b4 7e b9 77 49 c1 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | cf 65 a7 1f f7 2c 0d 2b | responder cookie: | 52 61 47 46 4b 9a 81 81 | 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: cf 65 a7 1f f7 2c 0d 2b 52 61 47 46 4b 9a 81 81 | data for hmac: 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | data for hmac: fa 86 c7 57 02 4b d8 e0 87 e0 45 9d d6 7a 5d ae | data for hmac: 32 b3 ab a7 da d4 ed d9 0a 4d ef e3 f7 b4 f3 17 | calculated auth: 0a 54 88 36 49 8e 9a 5d ea 65 b4 7e b9 77 49 c1 | provided auth: 0a 54 88 36 49 8e 9a 5d ea 65 b4 7e b9 77 49 c1 | 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: | cf 65 a7 1f f7 2c 0d 2b | responder cookie: | 52 61 47 46 4b 9a 81 81 | 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 c3 dd c2 27 | delete PROTO_v2_ESP SA(0xc3ddc227) | 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(0xc3ddc227) "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.100s and NOT sending notification | child state #8: V2_IPSEC_R(established CHILD SA) => delete | get_sa_info esp.c3ddc227@192.1.2.45 | get_sa_info esp.2dbe6cb3@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@0x55a106aaa2e8 | free_event_entry: release EVENT_SA_REKEY-pe@0x7f9840002b78 | 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='1566843954' 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='1566843954' 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=0xc3ddc227 SPI_OUT=0x2dbe6cb3 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.c3ddc227@192.1.2.45 | netlink response for Del SA esp.c3ddc227@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.2dbe6cb3@192.1.2.23 | netlink response for Del SA esp.2dbe6cb3@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 2d be 6c b3 | 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: cf 65 a7 1f f7 2c 0d 2b 52 61 47 46 4b 9a 81 81 | data being hmac: 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | data being hmac: d2 b0 95 59 b2 27 69 f9 9f f5 df aa 8a 8f 3a 0f | data being hmac: 75 bd 90 46 60 e7 ec 2a f9 89 17 83 a2 26 03 6f | out calculated auth: | 62 b3 f4 8e 63 26 c6 ca d8 f8 a0 92 c0 75 62 43 | 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) | cf 65 a7 1f f7 2c 0d 2b 52 61 47 46 4b 9a 81 81 | 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | d2 b0 95 59 b2 27 69 f9 9f f5 df aa 8a 8f 3a 0f | 75 bd 90 46 60 e7 ec 2a f9 89 17 83 a2 26 03 6f | 62 b3 f4 8e 63 26 c6 ca d8 f8 a0 92 c0 75 62 43 | 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.06 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.3 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.31 milliseconds in comm_handle_cb() reading and processing packet | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00427 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00224 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) | cf 65 a7 1f f7 2c 0d 2b 52 61 47 46 4b 9a 81 81 | 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | 44 10 1d ab 2c 3a 30 0c 53 16 18 e9 b1 92 6a 93 | cd e3 3a d0 72 b3 37 93 2b 8b 30 8f 15 2a 22 13 | 46 ee fd 10 45 e2 23 b8 9c 4c ac ee 89 4a 1e 64 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | cf 65 a7 1f f7 2c 0d 2b | responder cookie: | 52 61 47 46 4b 9a 81 81 | 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: cf 65 a7 1f f7 2c 0d 2b 52 61 47 46 4b 9a 81 81 | data for hmac: 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | data for hmac: 44 10 1d ab 2c 3a 30 0c 53 16 18 e9 b1 92 6a 93 | data for hmac: cd e3 3a d0 72 b3 37 93 2b 8b 30 8f 15 2a 22 13 | calculated auth: 46 ee fd 10 45 e2 23 b8 9c 4c ac ee 89 4a 1e 64 | provided auth: 46 ee fd 10 45 e2 23 b8 9c 4c ac ee 89 4a 1e 64 | 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: | cf 65 a7 1f f7 2c 0d 2b | responder cookie: | 52 61 47 46 4b 9a 81 81 | 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: cf 65 a7 1f f7 2c 0d 2b 52 61 47 46 4b 9a 81 81 | data being hmac: 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | data being hmac: 19 45 9c 10 f1 93 1e 6c 17 23 e1 1a 90 4b a1 ff | data being hmac: c2 ca d0 b6 10 62 61 a1 dc 63 cf e6 8f 2a 6f f9 | out calculated auth: | 12 ec cf 62 e9 de 51 ac 99 b8 29 76 2a 71 18 c9 | 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) | cf 65 a7 1f f7 2c 0d 2b 52 61 47 46 4b 9a 81 81 | 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | 19 45 9c 10 f1 93 1e 6c 17 23 e1 1a 90 4b a1 ff | c2 ca d0 b6 10 62 61 a1 dc 63 cf e6 8f 2a 6f f9 | 12 ec cf 62 e9 de 51 ac 99 b8 29 76 2a 71 18 c9 | 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 35.5 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.166s 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@0x55a106a9eb28 | free_event_entry: release EVENT_SA_REKEY-pe@0x55a106a9e7a8 | 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: 0x55a1069f5c48 @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.526 milliseconds in comm_handle_cb() reading and processing packet | spent 0.00287 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) | a5 36 79 53 df f7 37 00 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 | 45 ea 6b 12 94 ff bd 07 2b 3f a4 3a f6 e4 a5 8e | 97 ed 83 e9 91 a0 31 44 77 42 0e 95 c9 3f d1 d6 | bb 7f 20 33 d6 e4 f3 0a ee 08 28 b7 8a d9 c8 d8 | e5 cf a5 a0 78 f7 50 9d 47 05 b4 56 01 27 66 f3 | 29 00 00 24 11 52 e8 b8 21 4b 44 39 57 22 83 b0 | fb 2f 4f 58 dc 4f 3d ea 10 67 49 e5 2c 01 50 f2 | 2a 05 cd bb 29 00 00 08 00 00 40 2e 29 00 00 1c | 00 00 40 04 ed 6a be 1b fe cf 23 35 6f fe 01 c1 | b7 33 42 b7 93 54 60 20 00 00 00 1c 00 00 40 05 | fa cf 3d d4 b3 55 6b 56 ea b3 7f 66 fa 76 77 10 | 6a e0 e3 ee | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | a5 36 79 53 df f7 37 00 | 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 0x55a106aa05d8 | 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=0x55a106847800(20) | natd_hash: icookie= a5 36 79 53 df f7 37 00 | 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= fa cf 3d d4 b3 55 6b 56 ea b3 7f 66 fa 76 77 10 | natd_hash: hash= 6a e0 e3 ee | natd_hash: rcookie is zero | natd_hash: hasher=0x55a106847800(20) | natd_hash: icookie= a5 36 79 53 df f7 37 00 | 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 6a be 1b fe cf 23 35 6f fe 01 c1 b7 33 42 b7 | natd_hash: hash= 93 54 60 20 | 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@0x55a106aa0338 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #9 | libevent_malloc: new ptr-libevent@0x7f9840006748 size 128 | #9 spent 0.195 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) | #9 complete_v2_state_transition() PARENT_R0->PARENT_R1 with status STF_SUSPEND | suspending state #9 and saving MD | #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 | crypto helper 1 resuming | stop processing: state #9 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2018) | crypto helper 1 starting work-order 9 for state #9 | #9 spent 0.468 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 1 doing build KE and nonce (ikev2_inI1outR1 KE); request ID 9 | spent 0.479 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.000558 seconds | (#9) spent 0.56 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@0x7f983800a868 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 0x55a106772b50 | ikev2_parent_inI1outR1_continue for #9: calculated ke+nonce, sending R1 | **emit ISAKMP Message: | initiator cookie: | a5 36 79 53 df f7 37 00 | responder cookie: | 9f 84 2f 70 c6 e2 91 b8 | 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 fa 14 65 ef 64 4d d5 1b 7d 4f 8b 16 11 b9 b5 5b | ikev2 g^x f9 9b 6e 03 ea 24 c0 5b d8 61 a1 c4 0c b2 b3 b8 | ikev2 g^x 0e d1 2e 9c 4e 8e 6d ff f7 c4 79 32 49 49 fa 91 | ikev2 g^x 59 b4 27 41 f7 0e 70 b6 dd b4 6c e3 00 f8 30 0c | 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 d6 1b b5 ba 53 82 39 af a0 df 96 5f 81 35 a8 01 | IKEv2 nonce 17 d8 4e 73 1c 47 9a b4 8c cd 3a 6a 5f 4c 1a a5 | 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=0x55a106847800(20) | natd_hash: icookie= a5 36 79 53 df f7 37 00 | natd_hash: rcookie= 9f 84 2f 70 c6 e2 91 b8 | natd_hash: ip= c0 01 02 17 | natd_hash: port=500 | natd_hash: hash= 2f 79 80 0a bd 38 6a fb fc 85 a3 69 56 32 74 7f | natd_hash: hash= 2e 6d a1 93 | 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 2f 79 80 0a bd 38 6a fb fc 85 a3 69 56 32 74 7f | Notify data 2e 6d a1 93 | emitting length of IKEv2 Notify Payload: 28 | natd_hash: hasher=0x55a106847800(20) | natd_hash: icookie= a5 36 79 53 df f7 37 00 | natd_hash: rcookie= 9f 84 2f 70 c6 e2 91 b8 | natd_hash: ip= c0 01 02 2d | natd_hash: port=500 | natd_hash: hash= da 1e 7f ee e0 67 20 5a a1 e1 a9 7f 9b da bc 5e | natd_hash: hash= bc 12 7d 20 | 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 da 1e 7f ee e0 67 20 5a a1 e1 a9 7f 9b da bc 5e | Notify data bc 12 7d 20 | 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) | a5 36 79 53 df f7 37 00 9f 84 2f 70 c6 e2 91 b8 | 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 fa 14 65 ef 64 4d d5 1b 7d 4f 8b 16 | 11 b9 b5 5b f9 9b 6e 03 ea 24 c0 5b d8 61 a1 c4 | 0c b2 b3 b8 0e d1 2e 9c 4e 8e 6d ff f7 c4 79 32 | 49 49 fa 91 59 b4 27 41 f7 0e 70 b6 dd b4 6c e3 | 00 f8 30 0c 29 00 00 24 d6 1b b5 ba 53 82 39 af | a0 df 96 5f 81 35 a8 01 17 d8 4e 73 1c 47 9a b4 | 8c cd 3a 6a 5f 4c 1a a5 29 00 00 08 00 00 40 2e | 29 00 00 1c 00 00 40 04 2f 79 80 0a bd 38 6a fb | fc 85 a3 69 56 32 74 7f 2e 6d a1 93 00 00 00 1c | 00 00 40 05 da 1e 7f ee e0 67 20 5a a1 e1 a9 7f | 9b da bc 5e bc 12 7d 20 | state #9 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x7f9840006748 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x55a106aa0338 | event_schedule: new EVENT_SO_DISCARD-pe@0x55a106aa0338 | inserting event EVENT_SO_DISCARD, timeout in 200 seconds for #9 | libevent_malloc: new ptr-libevent@0x55a106aaa2e8 size 128 | resume sending helper answer for #9 suppresed complete_v2_state_transition() | #9 spent 0.247 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@0x7f983800a868 | spent 0.00203 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) | a5 36 79 53 df f7 37 00 9f 84 2f 70 c6 e2 91 b8 | 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | 75 15 6b 3e d6 52 ef 46 56 24 8e 01 c2 01 4d 48 | a6 60 c0 fc 08 01 fa 5d 2b 19 9b 82 76 07 65 4a | ea 93 78 5f 50 cd dc 9b a0 74 f9 aa 3c 53 87 83 | 7e 14 d0 67 a2 a1 7d c8 56 aa 98 e7 4d 5e c9 2e | 2b a4 86 7b 26 6e a1 9f f2 d6 33 4c b7 4a a1 86 | ef 9f 01 b0 87 60 ae ec c9 87 3e 7f 7f 42 f7 7f | b9 a1 30 56 a9 2e 5b ef 81 ba 10 bf 08 8e 1d a9 | ee b7 e0 4f 0c c2 48 5f 7d bf 98 dd 2f 75 b3 df | 8b 82 d8 26 3a fb 73 9e cd ec 70 ba 9d 72 7c 56 | c9 85 22 27 07 9c b5 a5 e9 4f de 2d d7 25 7d 07 | 1a b7 d2 29 da d7 60 a7 dd 03 d0 ad ea 6f a7 e6 | 9b de 62 7d 2f 68 f2 bf 2c 29 aa 07 99 99 31 b7 | 4c b5 56 eb 32 f2 39 cf 5b cf e6 49 ae 47 a9 8f | c2 ea 0b 96 39 9e 4a 98 a6 71 d7 b2 6a ff 03 3f | 68 80 b3 10 47 b3 c6 ea ab 2a d1 8d c2 fc ae 91 | 88 6c 53 c1 c7 fd 5f 90 98 97 e5 67 9b 88 17 72 | 4f b9 b0 cc 92 11 67 0f ca 1c 70 a6 26 88 78 33 | 66 3e dd cc 53 90 f4 86 1c 70 e1 a9 e7 8e e4 12 | 2b ee 7b 0c e2 6e f2 0c 61 d9 3f 11 dc d4 9c 61 | be 63 0b 1f 2a 26 5c 34 0a 9b cf 81 df 38 2d a5 | e4 97 75 fe 25 6d 76 d1 d7 e9 92 fd 23 d9 67 11 | 6d a1 f8 01 cf ff 38 de b0 9a 20 6d 7d 7e b4 71 | 42 3a 32 26 5c fd 96 87 4f d8 0d fe 79 0a 71 8c | 89 0f 25 bd 00 fa 5f 06 c6 a2 0f 5f db 7b e2 a9 | 78 26 86 29 7b f8 65 fd 46 8d 15 2b da 2b 43 32 | 25 50 99 84 20 bf 6a eb e0 8f 09 9a e8 ef 0d 8c | 71 76 e9 62 cc 5c bb 4f b8 75 9f 27 87 c3 6c 3f | f2 bd cf 23 d2 58 98 93 cc 5b 38 56 bf 3b b9 d9 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | a5 36 79 53 df f7 37 00 | responder cookie: | 9f 84 2f 70 c6 e2 91 b8 | 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@0x55a106aaa2e8 | free_event_entry: release EVENT_SO_DISCARD-pe@0x55a106aa0338 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x55a106aa0338 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #9 | libevent_malloc: new ptr-libevent@0x7f983800a868 size 128 | #9 spent 0.0201 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 | [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 3 resuming | "westnet-eastnet-ikev2" #9 complete v2 state STATE_PARENT_R1 transition with STF_SUSPEND suspended from complete_v2_state_transition:3451 | crypto helper 3 starting work-order 10 for state #9 | stop processing: state #9 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2018) | crypto helper 3 doing compute dh (V2) (ikev2_inI2outR2 KE); request ID 10 | #9 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 3 finished compute dh (V2) (ikev2_inI2outR2 KE); request ID 10 time elapsed 0.001098 seconds | (#9) spent 1.08 milliseconds in crypto helper computing work-order 10: ikev2_inI2outR2 KE (pcr) | crypto helper 3 sending results from work-order 10 for state #9 to event queue | scheduling resume sending helper answer for #9 | libevent_malloc: new ptr-libevent@0x7f983c004218 size 128 | crypto helper 3 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 3 replies to request ID 10 | calling continuation function 0x55a106772b50 | ikev2_parent_inI2outR2_continue for #9: calculating g^{xy}, sending R2 | #9 in state PARENT_R1: received v2I1, sent v2R1 | data for hmac: a5 36 79 53 df f7 37 00 9f 84 2f 70 c6 e2 91 b8 | data for hmac: 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | data for hmac: 75 15 6b 3e d6 52 ef 46 56 24 8e 01 c2 01 4d 48 | data for hmac: a6 60 c0 fc 08 01 fa 5d 2b 19 9b 82 76 07 65 4a | data for hmac: ea 93 78 5f 50 cd dc 9b a0 74 f9 aa 3c 53 87 83 | data for hmac: 7e 14 d0 67 a2 a1 7d c8 56 aa 98 e7 4d 5e c9 2e | data for hmac: 2b a4 86 7b 26 6e a1 9f f2 d6 33 4c b7 4a a1 86 | data for hmac: ef 9f 01 b0 87 60 ae ec c9 87 3e 7f 7f 42 f7 7f | data for hmac: b9 a1 30 56 a9 2e 5b ef 81 ba 10 bf 08 8e 1d a9 | data for hmac: ee b7 e0 4f 0c c2 48 5f 7d bf 98 dd 2f 75 b3 df | data for hmac: 8b 82 d8 26 3a fb 73 9e cd ec 70 ba 9d 72 7c 56 | data for hmac: c9 85 22 27 07 9c b5 a5 e9 4f de 2d d7 25 7d 07 | data for hmac: 1a b7 d2 29 da d7 60 a7 dd 03 d0 ad ea 6f a7 e6 | data for hmac: 9b de 62 7d 2f 68 f2 bf 2c 29 aa 07 99 99 31 b7 | data for hmac: 4c b5 56 eb 32 f2 39 cf 5b cf e6 49 ae 47 a9 8f | data for hmac: c2 ea 0b 96 39 9e 4a 98 a6 71 d7 b2 6a ff 03 3f | data for hmac: 68 80 b3 10 47 b3 c6 ea ab 2a d1 8d c2 fc ae 91 | data for hmac: 88 6c 53 c1 c7 fd 5f 90 98 97 e5 67 9b 88 17 72 | data for hmac: 4f b9 b0 cc 92 11 67 0f ca 1c 70 a6 26 88 78 33 | data for hmac: 66 3e dd cc 53 90 f4 86 1c 70 e1 a9 e7 8e e4 12 | data for hmac: 2b ee 7b 0c e2 6e f2 0c 61 d9 3f 11 dc d4 9c 61 | data for hmac: be 63 0b 1f 2a 26 5c 34 0a 9b cf 81 df 38 2d a5 | data for hmac: e4 97 75 fe 25 6d 76 d1 d7 e9 92 fd 23 d9 67 11 | data for hmac: 6d a1 f8 01 cf ff 38 de b0 9a 20 6d 7d 7e b4 71 | data for hmac: 42 3a 32 26 5c fd 96 87 4f d8 0d fe 79 0a 71 8c | data for hmac: 89 0f 25 bd 00 fa 5f 06 c6 a2 0f 5f db 7b e2 a9 | data for hmac: 78 26 86 29 7b f8 65 fd 46 8d 15 2b da 2b 43 32 | data for hmac: 25 50 99 84 20 bf 6a eb e0 8f 09 9a e8 ef 0d 8c | data for hmac: 71 76 e9 62 cc 5c bb 4f b8 75 9f 27 87 c3 6c 3f | calculated auth: f2 bd cf 23 d2 58 98 93 cc 5b 38 56 bf 3b b9 d9 | provided auth: f2 bd cf 23 d2 58 98 93 cc 5b 38 56 bf 3b b9 d9 | 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=0x55a1069f5b58 (line=1) | concluding with best_match=002 best=0x55a1069f5b58 (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.0329 milliseconds in try_all_RSA_keys() trying a pubkey "westnet-eastnet-ikev2" #9: Authenticated using RSA | #9 spent 0.0487 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@0x7f983800a868 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x55a106aa0338 | event_schedule: new EVENT_SA_REKEY-pe@0x55a106aa0338 | inserting event EVENT_SA_REKEY, timeout in 3330 seconds for #9 | libevent_malloc: new ptr-libevent@0x55a106a9eb28 size 128 | pstats #9 ikev2.ike established | **emit ISAKMP Message: | initiator cookie: | a5 36 79 53 df f7 37 00 | responder cookie: | 9f 84 2f 70 c6 e2 91 b8 | 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=0x55a1069f5b58 (line=1) | concluding with best_match=002 best=0x55a1069f5b58 (lineno=1) | #9 spent 3.35 milliseconds in ikev2_calculate_rsa_hash() calling sign_hash_RSA() | emitting 274 raw bytes of rsa signature into IKEv2 Authentication Payload | rsa signature 3c ea a7 54 0e af 1c 68 24 28 fd b9 04 9c 35 74 | rsa signature a6 e5 3b c7 50 15 82 43 16 da 96 6d 6f b0 5b d2 | rsa signature 92 2b d7 18 c9 ab c2 43 b5 33 8c f2 32 7e 08 b5 | rsa signature 26 03 cd 87 b9 96 8d 0d 32 73 7a 82 64 67 c2 e8 | rsa signature e7 da 89 18 cc 2c 06 a7 c7 6d 5b bf d7 13 d9 4a | rsa signature 55 8f 8d 67 22 21 8f ee 97 dc b1 41 2a 18 ab c6 | rsa signature d5 95 64 3e f1 c6 8a 13 7f 11 d3 04 30 73 19 fe | rsa signature 5b 3a 81 fc 27 c2 7a 86 d0 7b ed 17 28 22 b1 b7 | rsa signature 84 52 9f c8 0b 03 d8 17 cf dc b1 48 6c 99 9f 2d | rsa signature af c7 f1 c3 07 57 c8 82 ef e8 ac 04 0f 3b 1d 16 | rsa signature e4 5d 61 d8 94 b8 76 14 e2 42 5e b6 66 bc 5b 1c | rsa signature cd af 19 b2 24 cf 67 45 2b 9d 3b 0a fe b8 41 31 | rsa signature b1 36 fc 84 d8 1e 0a da 00 cf bc 15 85 da b2 69 | rsa signature a4 8a 11 14 31 06 77 99 55 01 46 89 36 03 2e b1 | rsa signature bb c8 36 26 51 a2 82 6b 3a 64 10 66 f8 5c 95 4b | rsa signature 12 a6 34 c8 5c 17 36 5c 8b fc ba a3 c6 6c 6f 89 | rsa signature 7f 13 79 a0 6b c0 0e 48 c4 3c 54 51 40 40 af 63 | rsa signature be ec | #9 spent 3.41 milliseconds in ikev2_calculate_rsa_hash() | emitting length of IKEv2 Authentication Payload: 282 | creating state object #10 at 0x55a106ab0a68 | 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 b2 be 17 16 | 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=b2be1716;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=b2be1716;ENCR=AES_CBC_256;INTEG=HMAC_SHA2_256_128;ESN=DISABLED | converting proposal to internal trans attrs | netlink_get_spi: allocated 0x8d49e913 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 8d 49 e9 13 | ******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.b2be1716@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.8d49e913@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=0xb2 | 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=0xb2be1716 SPI_OUT=0x8d49e913 ipsec _updown 2>&1: | route_and_eroute: firewall_notified: true | route_and_eroute: instance "westnet-eastnet-ikev2", setting eroute_owner {spd=0x55a106a9c7b8,sr=0x55a106a9c7b8} to #10 (was #0) (newest_ipsec_sa=#0) | #9 spent 0.959 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: a5 36 79 53 df f7 37 00 9f 84 2f 70 c6 e2 91 b8 | data being hmac: 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | data being hmac: 1e b0 2d 7c 80 29 73 34 85 92 cf b2 42 05 8c 06 | data being hmac: 91 cc 2a 35 0f 47 ae b8 83 2d 99 82 19 cf de 8a | data being hmac: fa d5 f9 0b 42 d3 73 ed 8b 4a 41 36 20 4f 85 dc | data being hmac: 7b db 21 98 cb e7 ea 3c 65 b8 45 65 99 f0 b4 6b | data being hmac: 2d 53 46 9b 93 1c da dc f0 1d 46 25 b9 33 fa 2c | data being hmac: 84 40 d5 8a a9 5b 1c ee e7 ad 7a b3 15 fa e0 20 | data being hmac: 26 de 6b 28 dd 01 4a 79 bc 93 06 e2 7f 44 15 ac | data being hmac: 4e 83 25 ae 45 3e e1 ca 12 e2 c7 35 23 87 b5 66 | data being hmac: 37 2d 5a 3e bd 84 62 41 6b 92 9f 4c 88 3a c9 df | data being hmac: f9 51 7c 36 76 b3 d2 5a 1f 96 b8 21 46 41 55 ea | data being hmac: 5a 59 9b 48 7e 70 bf 2d 29 3c cf 82 f0 73 98 b1 | data being hmac: d4 57 d2 f6 19 e4 25 a5 78 36 45 f4 c5 7c c3 b8 | data being hmac: 9a d4 fa 32 b0 a0 6b 9c 9b b8 8b 54 78 6e 9f 24 | data being hmac: c9 93 01 e0 a4 ab a3 7a 16 8a 16 2a 61 6a 5f 83 | data being hmac: 6e 56 05 12 1e a5 79 f6 ed d7 78 66 96 de 74 59 | data being hmac: 9b 5e 05 0f 0e d8 7a 59 15 48 72 7f 1f 6c 7f 29 | data being hmac: c4 3a 65 ce 81 52 fe 17 47 18 00 da 3a 89 79 a4 | data being hmac: 95 6b f2 9c 7b d3 10 39 95 11 af 29 d9 9e fc 48 | data being hmac: ac 41 45 41 0a 60 de 6f 7a fc a0 8b 2e fe 36 0f | data being hmac: b1 fd 0d 65 9f 14 ee cf e7 6f a3 64 31 08 6a dd | data being hmac: 02 92 94 d5 9f e3 43 11 3c 52 33 b8 9f 5c 56 7d | data being hmac: d8 32 3a 7a 06 f7 cd 0d 90 dd a3 44 7e 6d b3 57 | data being hmac: 4e 8a 6f 00 1c 28 53 fa 2e 52 2a 33 3d 2b 41 e7 | data being hmac: f4 73 68 1e f9 ea d2 9a 4e 0d f6 cb a7 6a 24 8a | data being hmac: 20 e0 eb 71 99 1d 94 de 9b 2f 01 94 3e b9 b5 79 | data being hmac: 8f 88 36 c7 87 99 54 98 51 22 ae 41 18 cb 0d cc | out calculated auth: | 93 a1 8b f7 e8 ef 96 fe 42 97 d9 a5 8b 4d 01 77 | ikev2_parent_inI2outR2_continue_tail returned STF_OK | #9 spent 5.62 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=>0xb2be1716 <0x8d49e913 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) | a5 36 79 53 df f7 37 00 9f 84 2f 70 c6 e2 91 b8 | 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | 1e b0 2d 7c 80 29 73 34 85 92 cf b2 42 05 8c 06 | 91 cc 2a 35 0f 47 ae b8 83 2d 99 82 19 cf de 8a | fa d5 f9 0b 42 d3 73 ed 8b 4a 41 36 20 4f 85 dc | 7b db 21 98 cb e7 ea 3c 65 b8 45 65 99 f0 b4 6b | 2d 53 46 9b 93 1c da dc f0 1d 46 25 b9 33 fa 2c | 84 40 d5 8a a9 5b 1c ee e7 ad 7a b3 15 fa e0 20 | 26 de 6b 28 dd 01 4a 79 bc 93 06 e2 7f 44 15 ac | 4e 83 25 ae 45 3e e1 ca 12 e2 c7 35 23 87 b5 66 | 37 2d 5a 3e bd 84 62 41 6b 92 9f 4c 88 3a c9 df | f9 51 7c 36 76 b3 d2 5a 1f 96 b8 21 46 41 55 ea | 5a 59 9b 48 7e 70 bf 2d 29 3c cf 82 f0 73 98 b1 | d4 57 d2 f6 19 e4 25 a5 78 36 45 f4 c5 7c c3 b8 | 9a d4 fa 32 b0 a0 6b 9c 9b b8 8b 54 78 6e 9f 24 | c9 93 01 e0 a4 ab a3 7a 16 8a 16 2a 61 6a 5f 83 | 6e 56 05 12 1e a5 79 f6 ed d7 78 66 96 de 74 59 | 9b 5e 05 0f 0e d8 7a 59 15 48 72 7f 1f 6c 7f 29 | c4 3a 65 ce 81 52 fe 17 47 18 00 da 3a 89 79 a4 | 95 6b f2 9c 7b d3 10 39 95 11 af 29 d9 9e fc 48 | ac 41 45 41 0a 60 de 6f 7a fc a0 8b 2e fe 36 0f | b1 fd 0d 65 9f 14 ee cf e7 6f a3 64 31 08 6a dd | 02 92 94 d5 9f e3 43 11 3c 52 33 b8 9f 5c 56 7d | d8 32 3a 7a 06 f7 cd 0d 90 dd a3 44 7e 6d b3 57 | 4e 8a 6f 00 1c 28 53 fa 2e 52 2a 33 3d 2b 41 e7 | f4 73 68 1e f9 ea d2 9a 4e 0d f6 cb a7 6a 24 8a | 20 e0 eb 71 99 1d 94 de 9b 2f 01 94 3e b9 b5 79 | 8f 88 36 c7 87 99 54 98 51 22 ae 41 18 cb 0d cc | 93 a1 8b f7 e8 ef 96 fe 42 97 d9 a5 8b 4d 01 77 | 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@0x55a106aa79e8 | inserting event EVENT_SA_REKEY, timeout in 28530 seconds for #10 | libevent_malloc: new ptr-libevent@0x55a106aaa2e8 size 128 | resume sending helper answer for #9 suppresed complete_v2_state_transition() | #9 spent 5.98 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@0x7f983c004218 | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00426 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) | a5 36 79 53 df f7 37 00 9f 84 2f 70 c6 e2 91 b8 | 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | 36 e4 b6 23 a8 5c 00 7c 8d eb 79 99 a0 33 e1 73 | e0 d1 db 43 59 13 79 18 82 24 90 52 29 11 6c 2e | 3d 42 6d 59 2f 95 3e 27 20 ec f4 a6 99 4d 9c d1 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | a5 36 79 53 df f7 37 00 | responder cookie: | 9f 84 2f 70 c6 e2 91 b8 | 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: a5 36 79 53 df f7 37 00 9f 84 2f 70 c6 e2 91 b8 | data for hmac: 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | data for hmac: 36 e4 b6 23 a8 5c 00 7c 8d eb 79 99 a0 33 e1 73 | data for hmac: e0 d1 db 43 59 13 79 18 82 24 90 52 29 11 6c 2e | calculated auth: 3d 42 6d 59 2f 95 3e 27 20 ec f4 a6 99 4d 9c d1 | provided auth: 3d 42 6d 59 2f 95 3e 27 20 ec f4 a6 99 4d 9c d1 | 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: | a5 36 79 53 df f7 37 00 | responder cookie: | 9f 84 2f 70 c6 e2 91 b8 | 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 b2 be 17 16 | delete PROTO_v2_ESP SA(0xb2be1716) | 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(0xb2be1716) "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.104s and NOT sending notification | child state #10: V2_IPSEC_R(established CHILD SA) => delete | get_sa_info esp.b2be1716@192.1.2.45 | get_sa_info esp.8d49e913@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@0x55a106aaa2e8 | free_event_entry: release EVENT_SA_REKEY-pe@0x55a106aa79e8 | 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='1566843954' 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='1566843954' 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=0xb2be1716 SPI_OUT=0x8d49e913 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.b2be1716@192.1.2.45 | netlink response for Del SA esp.b2be1716@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.8d49e913@192.1.2.23 | netlink response for Del SA esp.8d49e913@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 8d 49 e9 13 | 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: a5 36 79 53 df f7 37 00 9f 84 2f 70 c6 e2 91 b8 | data being hmac: 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | data being hmac: 20 3d 1a 2d 0d cd 08 2b c2 ac 0c 8a c5 6e 0c c3 | data being hmac: 0c d4 f5 bb 58 9d 8a c5 a3 8f af 68 1c 4c 23 4e | out calculated auth: | e6 2f 02 b6 80 d3 62 c5 0f 6e 47 ea f3 b3 91 26 | 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) | a5 36 79 53 df f7 37 00 9f 84 2f 70 c6 e2 91 b8 | 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | 20 3d 1a 2d 0d cd 08 2b c2 ac 0c 8a c5 6e 0c c3 | 0c d4 f5 bb 58 9d 8a c5 a3 8f af 68 1c 4c 23 4e | e6 2f 02 b6 80 d3 62 c5 0f 6e 47 ea f3 b3 91 26 | 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 1.22 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.38 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.4 milliseconds in comm_handle_cb() reading and processing packet | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00445 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00294 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) | a5 36 79 53 df f7 37 00 9f 84 2f 70 c6 e2 91 b8 | 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | 3c 88 df 5d 97 24 0d ff 61 1e 87 23 ff 77 c5 f4 | f9 e3 5c 27 7d ec 1c b0 8d 2e d1 86 dc 84 2e 66 | 28 9a 4a 73 43 21 6b bd 8f a4 8f 72 62 5b da f9 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | a5 36 79 53 df f7 37 00 | responder cookie: | 9f 84 2f 70 c6 e2 91 b8 | 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: a5 36 79 53 df f7 37 00 9f 84 2f 70 c6 e2 91 b8 | data for hmac: 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | data for hmac: 3c 88 df 5d 97 24 0d ff 61 1e 87 23 ff 77 c5 f4 | data for hmac: f9 e3 5c 27 7d ec 1c b0 8d 2e d1 86 dc 84 2e 66 | calculated auth: 28 9a 4a 73 43 21 6b bd 8f a4 8f 72 62 5b da f9 | provided auth: 28 9a 4a 73 43 21 6b bd 8f a4 8f 72 62 5b da f9 | 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: | a5 36 79 53 df f7 37 00 | responder cookie: | 9f 84 2f 70 c6 e2 91 b8 | 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: a5 36 79 53 df f7 37 00 9f 84 2f 70 c6 e2 91 b8 | data being hmac: 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | data being hmac: d6 3f 1e 1b 58 30 5d 0c dc b0 e4 97 32 35 ca 5e | data being hmac: c4 9e 69 20 b4 10 65 31 37 e8 7e f9 14 57 cf a0 | out calculated auth: | 8c ca 06 26 13 5a 3e 17 3e 9a de 2c 88 63 70 53 | 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) | a5 36 79 53 df f7 37 00 9f 84 2f 70 c6 e2 91 b8 | 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | d6 3f 1e 1b 58 30 5d 0c dc b0 e4 97 32 35 ca 5e | c4 9e 69 20 b4 10 65 31 37 e8 7e f9 14 57 cf a0 | 8c ca 06 26 13 5a 3e 17 3e 9a de 2c 88 63 70 53 | 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.88 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.128s 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@0x55a106a9eb28 | free_event_entry: release EVENT_SA_REKEY-pe@0x55a106aa0338 | 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: 0x55a1069f5c48 @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.455 milliseconds in comm_handle_cb() reading and processing packet | spent 0.00256 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) | 44 43 b9 c6 e8 1d a3 cf 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 | da f6 2b e1 d5 0c a5 5a d7 16 70 f8 2e f2 5c 66 | a1 d4 92 f7 65 b6 f0 1b c8 b9 af 89 ae 98 b1 64 | 00 b1 08 3d 1d 5f 47 4b f1 28 e8 12 7f 70 59 96 | f4 aa 6b 2d 53 89 c6 04 a1 d5 39 22 75 a7 37 0d | 1f e6 19 1a 87 14 f2 05 a6 bb 2d 5c 71 67 2c cd | 67 9d f4 6e d5 e0 66 df 35 01 24 39 3c 67 bc fb | 29 00 00 24 46 cb df 3f 7c 17 d0 bc ac 90 e5 dc | 70 c0 bb d8 c3 d4 f1 41 7c 14 a9 2f 7a 9d 46 24 | 33 40 cc 5c 29 00 00 08 00 00 40 2e 29 00 00 1c | 00 00 40 04 b6 07 11 78 f3 8d f2 50 b2 a3 60 2d | 63 5e 39 16 f2 6f 47 ce 00 00 00 1c 00 00 40 05 | 54 c6 c2 fd 4e 2d d1 8a dc fc 30 81 eb 28 3c 91 | f2 b9 4e 52 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 44 43 b9 c6 e8 1d a3 cf | 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 0x55a106aa05d8 | 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=0x55a106847800(20) | natd_hash: icookie= 44 43 b9 c6 e8 1d a3 cf | 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= 54 c6 c2 fd 4e 2d d1 8a dc fc 30 81 eb 28 3c 91 | natd_hash: hash= f2 b9 4e 52 | natd_hash: rcookie is zero | natd_hash: hasher=0x55a106847800(20) | natd_hash: icookie= 44 43 b9 c6 e8 1d a3 cf | 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= b6 07 11 78 f3 8d f2 50 b2 a3 60 2d 63 5e 39 16 | natd_hash: hash= f2 6f 47 ce | 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@0x55a106a9e7a8 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #11 | libevent_malloc: new ptr-libevent@0x7f983c004218 size 128 | #11 spent 0.295 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 2 resuming | crypto helper 2 starting work-order 11 for state #11 | crypto helper 2 doing build KE and nonce (ikev2_inI1outR1 KE); request ID 11 | #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 | [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 | 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.632 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.641 milliseconds in comm_handle_cb() reading and processing packet | crypto helper 2 finished build KE and nonce (ikev2_inI1outR1 KE); request ID 11 time elapsed 0.002274 seconds | (#11) spent 2.25 milliseconds in crypto helper computing work-order 11: ikev2_inI1outR1 KE (pcr) | crypto helper 2 sending results from work-order 11 for state #11 to event queue | scheduling resume sending helper answer for #11 | libevent_malloc: new ptr-libevent@0x7f9830005a48 size 128 | crypto helper 2 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 2 replies to request ID 11 | calling continuation function 0x55a106772b50 | ikev2_parent_inI1outR1_continue for #11: calculated ke+nonce, sending R1 | **emit ISAKMP Message: | initiator cookie: | 44 43 b9 c6 e8 1d a3 cf | responder cookie: | 81 4f 92 a6 13 ff 4a 92 | 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 47 32 d3 b6 d2 b3 fa d7 b3 05 4c eb 43 aa d9 a7 | ikev2 g^x 15 7e 8d a6 77 a2 86 1b 22 b8 7c 93 f3 f2 a5 80 | ikev2 g^x b9 67 30 a9 74 d4 c8 7a 9d 1a a5 46 ae dc 45 72 | ikev2 g^x d0 ae eb 7a 3b ce 5b 90 c9 d0 55 a2 87 d9 59 98 | ikev2 g^x 27 98 e5 b1 cf 52 fc ba 14 59 e9 29 14 5b b0 62 | ikev2 g^x e0 84 a1 11 25 2a c5 d6 82 f6 db 64 4c 29 e7 a4 | 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 69 f1 2e 4e 89 d9 6f 41 99 d0 40 28 85 ef 57 cb | IKEv2 nonce 8d 8a 6e 11 d6 ad 72 c3 35 b5 c8 eb 34 5d 25 6f | 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=0x55a106847800(20) | natd_hash: icookie= 44 43 b9 c6 e8 1d a3 cf | natd_hash: rcookie= 81 4f 92 a6 13 ff 4a 92 | natd_hash: ip= c0 01 02 17 | natd_hash: port=500 | natd_hash: hash= e0 6e a1 d5 8b 51 50 5e b0 f1 94 4b 0d 1c 1b 24 | natd_hash: hash= 62 b4 d4 07 | 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 e0 6e a1 d5 8b 51 50 5e b0 f1 94 4b 0d 1c 1b 24 | Notify data 62 b4 d4 07 | emitting length of IKEv2 Notify Payload: 28 | natd_hash: hasher=0x55a106847800(20) | natd_hash: icookie= 44 43 b9 c6 e8 1d a3 cf | natd_hash: rcookie= 81 4f 92 a6 13 ff 4a 92 | natd_hash: ip= c0 01 02 2d | natd_hash: port=500 | natd_hash: hash= cb 0c 8d 39 1b a2 f6 b0 a2 c4 45 e0 83 8a 57 39 | natd_hash: hash= 47 b8 67 82 | 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 cb 0c 8d 39 1b a2 f6 b0 a2 c4 45 e0 83 8a 57 39 | Notify data 47 b8 67 82 | 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) | 44 43 b9 c6 e8 1d a3 cf 81 4f 92 a6 13 ff 4a 92 | 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 47 32 d3 b6 d2 b3 fa d7 b3 05 4c eb | 43 aa d9 a7 15 7e 8d a6 77 a2 86 1b 22 b8 7c 93 | f3 f2 a5 80 b9 67 30 a9 74 d4 c8 7a 9d 1a a5 46 | ae dc 45 72 d0 ae eb 7a 3b ce 5b 90 c9 d0 55 a2 | 87 d9 59 98 27 98 e5 b1 cf 52 fc ba 14 59 e9 29 | 14 5b b0 62 e0 84 a1 11 25 2a c5 d6 82 f6 db 64 | 4c 29 e7 a4 29 00 00 24 69 f1 2e 4e 89 d9 6f 41 | 99 d0 40 28 85 ef 57 cb 8d 8a 6e 11 d6 ad 72 c3 | 35 b5 c8 eb 34 5d 25 6f 29 00 00 08 00 00 40 2e | 29 00 00 1c 00 00 40 04 e0 6e a1 d5 8b 51 50 5e | b0 f1 94 4b 0d 1c 1b 24 62 b4 d4 07 00 00 00 1c | 00 00 40 05 cb 0c 8d 39 1b a2 f6 b0 a2 c4 45 e0 | 83 8a 57 39 47 b8 67 82 | state #11 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x7f983c004218 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x55a106a9e7a8 | event_schedule: new EVENT_SO_DISCARD-pe@0x55a106a9e7a8 | inserting event EVENT_SO_DISCARD, timeout in 200 seconds for #11 | libevent_malloc: new ptr-libevent@0x55a106a9eb28 size 128 | resume sending helper answer for #11 suppresed complete_v2_state_transition() | #11 spent 0.367 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@0x7f9830005a48 | spent 0.00339 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) | 44 43 b9 c6 e8 1d a3 cf 81 4f 92 a6 13 ff 4a 92 | 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | b9 85 f6 1b 5f 3d 07 3c 74 13 4c f1 9a 9a e3 f8 | 58 f2 36 d0 7a b6 89 bd 1e 73 a5 8f ca 16 c0 5c | d3 76 7e f3 fd 4f 5e 0b 80 fe 67 8b 4f f8 50 75 | 3f b5 15 44 0b 9a 87 45 76 c9 0a 8f 74 dc b4 9d | a6 fd 75 e2 e7 2f 56 7a d7 1a 82 39 d1 2f 43 c7 | ca 6f 08 e2 21 26 9e ee 4a 5d d1 e6 7f e0 6e 54 | 09 a3 ff 1b 0c c1 e9 22 18 28 ab c0 9c 85 cc d6 | b2 6f 87 f0 7e cc 85 92 6a 9b f4 7a 34 bd 13 1c | ec e7 e5 af 62 99 85 41 f0 7d 0f 41 0b 7a 58 67 | 0e a1 5f 74 5a 25 c3 18 fb 21 23 b5 51 10 ad fe | 8a a4 54 b2 f0 28 f3 eb f6 07 65 45 b5 2f 34 b9 | 74 54 7a 66 7a 4e 9a 4c 2a 72 da d3 40 6f 22 82 | 2b be f9 3f 79 66 91 55 92 fe 45 95 0d 2b 68 0b | f5 24 28 fd 67 13 e2 9d fb 0c c6 73 9a f7 77 0b | 0c ee 0a e9 07 db 36 68 71 3c 5d 4c a4 5c c1 c3 | 0a 6b 03 b7 e8 ff 18 4d 10 50 fe 93 2b 7b 15 51 | 84 6f 41 bc 33 66 64 f5 ad 3f 55 55 83 b3 a3 8e | 2e 4b fc b1 d6 2a a7 56 09 68 4b b9 a0 c9 69 aa | b0 4d 48 d0 73 c4 2d 60 b6 da 83 b3 2c 6c e1 5c | 15 5d f4 99 e9 d9 a2 4d f8 27 f1 47 5b 51 15 96 | c6 ed 8d b7 1b 06 37 b6 c9 3e 23 09 23 bc ba 7a | 07 f2 88 fc 11 29 fa 92 41 b4 53 35 bd b5 78 99 | 3b 2c a6 4d 09 e1 b6 8c 3f 12 91 11 46 10 bb e0 | 54 44 1b 54 25 f8 db 69 34 1d 4a bf f7 b2 5b d8 | ab eb d0 16 7b c3 20 c6 e1 b6 62 99 2b 28 98 75 | 02 b6 4c a4 31 14 aa 8a 3b 1a fc d4 a2 cd 5d fe | 57 9f 45 d3 ac c9 9f 9f 42 ea 88 69 9c f8 3f ab | 4f 35 75 f2 b4 5b 3e 89 fb 92 df 6f cd d0 44 32 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 44 43 b9 c6 e8 1d a3 cf | responder cookie: | 81 4f 92 a6 13 ff 4a 92 | 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@0x55a106a9eb28 | free_event_entry: release EVENT_SO_DISCARD-pe@0x55a106a9e7a8 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x55a106a9e7a8 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #11 | libevent_malloc: new ptr-libevent@0x7f9830005a48 size 128 | #11 spent 0.032 milliseconds in processing: Responder: process IKE_AUTH request (no SKEYSEED) 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 4 resuming | #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 | 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 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 | crypto helper 4 doing compute dh (V2) (ikev2_inI2outR2 KE); request ID 12 | 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.226 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.238 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.003806 seconds | (#11) spent 3.79 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@0x7f98340033f8 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 0x55a106772b50 | ikev2_parent_inI2outR2_continue for #11: calculating g^{xy}, sending R2 | #11 in state PARENT_R1: received v2I1, sent v2R1 | data for hmac: 44 43 b9 c6 e8 1d a3 cf 81 4f 92 a6 13 ff 4a 92 | data for hmac: 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | data for hmac: b9 85 f6 1b 5f 3d 07 3c 74 13 4c f1 9a 9a e3 f8 | data for hmac: 58 f2 36 d0 7a b6 89 bd 1e 73 a5 8f ca 16 c0 5c | data for hmac: d3 76 7e f3 fd 4f 5e 0b 80 fe 67 8b 4f f8 50 75 | data for hmac: 3f b5 15 44 0b 9a 87 45 76 c9 0a 8f 74 dc b4 9d | data for hmac: a6 fd 75 e2 e7 2f 56 7a d7 1a 82 39 d1 2f 43 c7 | data for hmac: ca 6f 08 e2 21 26 9e ee 4a 5d d1 e6 7f e0 6e 54 | data for hmac: 09 a3 ff 1b 0c c1 e9 22 18 28 ab c0 9c 85 cc d6 | data for hmac: b2 6f 87 f0 7e cc 85 92 6a 9b f4 7a 34 bd 13 1c | data for hmac: ec e7 e5 af 62 99 85 41 f0 7d 0f 41 0b 7a 58 67 | data for hmac: 0e a1 5f 74 5a 25 c3 18 fb 21 23 b5 51 10 ad fe | data for hmac: 8a a4 54 b2 f0 28 f3 eb f6 07 65 45 b5 2f 34 b9 | data for hmac: 74 54 7a 66 7a 4e 9a 4c 2a 72 da d3 40 6f 22 82 | data for hmac: 2b be f9 3f 79 66 91 55 92 fe 45 95 0d 2b 68 0b | data for hmac: f5 24 28 fd 67 13 e2 9d fb 0c c6 73 9a f7 77 0b | data for hmac: 0c ee 0a e9 07 db 36 68 71 3c 5d 4c a4 5c c1 c3 | data for hmac: 0a 6b 03 b7 e8 ff 18 4d 10 50 fe 93 2b 7b 15 51 | data for hmac: 84 6f 41 bc 33 66 64 f5 ad 3f 55 55 83 b3 a3 8e | data for hmac: 2e 4b fc b1 d6 2a a7 56 09 68 4b b9 a0 c9 69 aa | data for hmac: b0 4d 48 d0 73 c4 2d 60 b6 da 83 b3 2c 6c e1 5c | data for hmac: 15 5d f4 99 e9 d9 a2 4d f8 27 f1 47 5b 51 15 96 | data for hmac: c6 ed 8d b7 1b 06 37 b6 c9 3e 23 09 23 bc ba 7a | data for hmac: 07 f2 88 fc 11 29 fa 92 41 b4 53 35 bd b5 78 99 | data for hmac: 3b 2c a6 4d 09 e1 b6 8c 3f 12 91 11 46 10 bb e0 | data for hmac: 54 44 1b 54 25 f8 db 69 34 1d 4a bf f7 b2 5b d8 | data for hmac: ab eb d0 16 7b c3 20 c6 e1 b6 62 99 2b 28 98 75 | data for hmac: 02 b6 4c a4 31 14 aa 8a 3b 1a fc d4 a2 cd 5d fe | data for hmac: 57 9f 45 d3 ac c9 9f 9f 42 ea 88 69 9c f8 3f ab | calculated auth: 4f 35 75 f2 b4 5b 3e 89 fb 92 df 6f cd d0 44 32 | provided auth: 4f 35 75 f2 b4 5b 3e 89 fb 92 df 6f cd d0 44 32 | 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=0x55a1069f5b58 (line=1) | concluding with best_match=002 best=0x55a1069f5b58 (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.0561 milliseconds in try_all_RSA_keys() trying a pubkey "westnet-eastnet-ikev2" #11: Authenticated using RSA | #11 spent 0.0813 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@0x7f9830005a48 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x55a106a9e7a8 | event_schedule: new EVENT_SA_REKEY-pe@0x55a106a9e7a8 | inserting event EVENT_SA_REKEY, timeout in 3330 seconds for #11 | libevent_malloc: new ptr-libevent@0x55a106aa71c8 size 128 | pstats #11 ikev2.ike established | **emit ISAKMP Message: | initiator cookie: | 44 43 b9 c6 e8 1d a3 cf | responder cookie: | 81 4f 92 a6 13 ff 4a 92 | 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=0x55a1069f5b58 (line=1) | concluding with best_match=002 best=0x55a1069f5b58 (lineno=1) | #11 spent 4.59 milliseconds in ikev2_calculate_rsa_hash() calling sign_hash_RSA() | emitting 274 raw bytes of rsa signature into IKEv2 Authentication Payload | rsa signature 2a a3 e5 a0 bb 6d dd 35 cc aa 60 c6 5d fe e6 b6 | rsa signature 96 14 00 9b 92 76 49 2a c3 23 17 78 1d 7f e4 ab | rsa signature 70 28 35 7e ce 3b 66 00 de 83 6a 38 23 89 61 d0 | rsa signature 8c cb ad 77 2d 50 7e b4 cb 42 aa eb 1e 79 b0 d6 | rsa signature 4e 30 56 c4 1c a5 c8 21 4d 36 f1 18 fc f4 d4 4a | rsa signature 27 39 be 49 d9 dc 84 76 0a 8a 91 45 d2 9f 0d 8a | rsa signature bb ab d1 ec d7 63 3d 89 09 70 c9 3c 2c 75 bb c9 | rsa signature 80 a9 a5 c5 54 a2 d6 5e 6f 82 55 46 61 3c b4 01 | rsa signature 8e d2 a3 99 f3 16 16 08 37 49 27 c9 0d 94 4c 4e | rsa signature 2d c0 d1 ec 9c 2a 5a 47 85 74 3b 93 48 0a b7 88 | rsa signature ac d7 0d 4b 8c 31 a6 c2 83 88 67 48 f9 df 33 72 | rsa signature c0 17 cc eb 2e 1a 21 82 d9 de 5a 2a 36 21 e1 c2 | rsa signature d1 d6 4e 4d 30 d5 88 71 f6 e1 04 6d 59 08 83 c0 | rsa signature 60 dc 3f 76 6c a8 ca 6d 0a 21 33 5c 10 2e 38 af | rsa signature 59 dd 1b 26 5c 34 bf c8 8f 60 42 a0 88 fb dc 55 | rsa signature b7 5e 06 ca 43 85 fb c3 1c a4 4c b9 ec dc d9 b3 | rsa signature f4 0c 3f 80 7b 5f eb 18 19 67 e3 ad 41 14 73 e1 | rsa signature d5 c2 | #11 spent 4.66 milliseconds in ikev2_calculate_rsa_hash() | emitting length of IKEv2 Authentication Payload: 282 | creating state object #12 at 0x55a106ab0a68 | 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 17 a7 5a f1 | 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=17a75af1;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=17a75af1;ENCR=AES_CBC_256;INTEG=HMAC_SHA2_256_128;ESN=DISABLED | converting proposal to internal trans attrs | netlink_get_spi: allocated 0x95baba 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 00 95 ba ba | ******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.17a75af1@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.95baba@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=0x17 | popen cmd is 1038 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=0x17a75af1 SPI_OUT=0x95baba ipsec _updown 2>&1: | route_and_eroute: firewall_notified: true | route_and_eroute: instance "westnet-eastnet-ikev2", setting eroute_owner {spd=0x55a106a9c7b8,sr=0x55a106a9c7b8} to #12 (was #0) (newest_ipsec_sa=#0) | #11 spent 0.873 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: 44 43 b9 c6 e8 1d a3 cf 81 4f 92 a6 13 ff 4a 92 | data being hmac: 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | data being hmac: 11 8a dd 98 e9 25 23 8d 7d dc 9c 48 2c 63 46 db | data being hmac: d0 db f5 b9 6f 41 7d 96 46 c6 6f 83 ba c4 78 c2 | data being hmac: 57 c5 c5 a4 9a e4 bc ef 99 1b ad ab 5c c4 e2 b5 | data being hmac: ab fe 07 04 14 86 dc c9 01 16 74 25 da c7 93 2a | data being hmac: 04 13 69 8a 71 6c ba 76 10 a3 0b b8 7e 46 3e 49 | data being hmac: 3e a6 5f a2 94 19 30 be 14 32 34 62 c7 e1 35 f7 | data being hmac: d2 34 3b 41 97 f8 62 e0 e5 0f cf df c6 ab 40 24 | data being hmac: 74 df 65 c5 c7 64 4a c9 97 a7 4b f3 f2 14 bd f8 | data being hmac: 3a 4c fa 18 61 5a 98 1d ed 10 38 a9 c6 c3 ac 80 | data being hmac: 3b 41 d9 9d 8b 51 d7 66 5c 80 57 e9 87 76 23 af | data being hmac: de e8 b4 d0 54 95 4e a6 32 c9 50 77 20 27 c7 19 | data being hmac: d8 91 6e bd 8e 25 66 38 68 db a2 f1 92 23 c0 be | data being hmac: 89 9c bf 19 08 d1 21 f9 06 7a c4 03 2b 82 79 da | data being hmac: d0 7b 4f aa 9c 0e 11 c9 f1 35 88 9a 12 8e af cf | data being hmac: 1f 49 83 24 29 15 5c d8 8c ea 4a 9d 74 2a b8 d3 | data being hmac: a7 15 16 cf 2a 09 b2 16 5e b9 f9 87 37 c2 4c d6 | data being hmac: 87 16 64 ce 53 bb 9a 3f 06 24 e3 a4 cf 7e 20 32 | data being hmac: bf a9 fb e5 4e de ea 20 05 9a 37 4a 76 c6 a3 4d | data being hmac: 48 5e e9 d9 28 f2 f1 1f 3f 90 30 0b 86 7f 7f 71 | data being hmac: 7b 68 78 43 af 9d b2 52 cc 1a a1 47 2f cc f6 d7 | data being hmac: b8 cf 79 34 ab 28 99 3f 87 90 27 09 e9 cb cb 2b | data being hmac: b5 70 f3 3b 7c e0 e1 7c 3e ee f2 9e af 52 32 79 | data being hmac: 77 5d 87 9f 6f d7 17 11 f8 13 a1 5f 5f 69 6f b5 | data being hmac: d2 a1 8f 77 34 41 34 f7 99 cf 70 51 47 fd 96 55 | data being hmac: c3 9f 3c 47 cd 42 8a 93 aa 26 9d e0 91 54 b9 4e | data being hmac: c5 06 5c 81 56 c9 be 3d 91 d8 a3 55 06 38 e0 32 | out calculated auth: | 93 6b 9c 3f 69 86 8f b7 72 a6 6f 60 ad 45 88 11 | ikev2_parent_inI2outR2_continue_tail returned STF_OK | #11 spent 6.94 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=>0x17a75af1 <0x0095baba 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) | 44 43 b9 c6 e8 1d a3 cf 81 4f 92 a6 13 ff 4a 92 | 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | 11 8a dd 98 e9 25 23 8d 7d dc 9c 48 2c 63 46 db | d0 db f5 b9 6f 41 7d 96 46 c6 6f 83 ba c4 78 c2 | 57 c5 c5 a4 9a e4 bc ef 99 1b ad ab 5c c4 e2 b5 | ab fe 07 04 14 86 dc c9 01 16 74 25 da c7 93 2a | 04 13 69 8a 71 6c ba 76 10 a3 0b b8 7e 46 3e 49 | 3e a6 5f a2 94 19 30 be 14 32 34 62 c7 e1 35 f7 | d2 34 3b 41 97 f8 62 e0 e5 0f cf df c6 ab 40 24 | 74 df 65 c5 c7 64 4a c9 97 a7 4b f3 f2 14 bd f8 | 3a 4c fa 18 61 5a 98 1d ed 10 38 a9 c6 c3 ac 80 | 3b 41 d9 9d 8b 51 d7 66 5c 80 57 e9 87 76 23 af | de e8 b4 d0 54 95 4e a6 32 c9 50 77 20 27 c7 19 | d8 91 6e bd 8e 25 66 38 68 db a2 f1 92 23 c0 be | 89 9c bf 19 08 d1 21 f9 06 7a c4 03 2b 82 79 da | d0 7b 4f aa 9c 0e 11 c9 f1 35 88 9a 12 8e af cf | 1f 49 83 24 29 15 5c d8 8c ea 4a 9d 74 2a b8 d3 | a7 15 16 cf 2a 09 b2 16 5e b9 f9 87 37 c2 4c d6 | 87 16 64 ce 53 bb 9a 3f 06 24 e3 a4 cf 7e 20 32 | bf a9 fb e5 4e de ea 20 05 9a 37 4a 76 c6 a3 4d | 48 5e e9 d9 28 f2 f1 1f 3f 90 30 0b 86 7f 7f 71 | 7b 68 78 43 af 9d b2 52 cc 1a a1 47 2f cc f6 d7 | b8 cf 79 34 ab 28 99 3f 87 90 27 09 e9 cb cb 2b | b5 70 f3 3b 7c e0 e1 7c 3e ee f2 9e af 52 32 79 | 77 5d 87 9f 6f d7 17 11 f8 13 a1 5f 5f 69 6f b5 | d2 a1 8f 77 34 41 34 f7 99 cf 70 51 47 fd 96 55 | c3 9f 3c 47 cd 42 8a 93 aa 26 9d e0 91 54 b9 4e | c5 06 5c 81 56 c9 be 3d 91 d8 a3 55 06 38 e0 32 | 93 6b 9c 3f 69 86 8f b7 72 a6 6f 60 ad 45 88 11 | 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@0x55a106aa0338 | inserting event EVENT_SA_REKEY, timeout in 28530 seconds for #12 | libevent_malloc: new ptr-libevent@0x55a106aaa2e8 size 128 | resume sending helper answer for #11 suppresed complete_v2_state_transition() | #11 spent 7.3 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@0x7f98340033f8 | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00405 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00267 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) | 44 43 b9 c6 e8 1d a3 cf 81 4f 92 a6 13 ff 4a 92 | 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | d2 4c df cb 87 cb dc f9 52 4e a0 11 68 3c b6 98 | 0a 66 32 b7 cc 02 a4 d4 42 fc d1 d3 17 d4 14 36 | f0 b5 16 c3 0a 25 b5 aa 76 68 bb 13 58 5b 6f a7 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 44 43 b9 c6 e8 1d a3 cf | responder cookie: | 81 4f 92 a6 13 ff 4a 92 | 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: 44 43 b9 c6 e8 1d a3 cf 81 4f 92 a6 13 ff 4a 92 | data for hmac: 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | data for hmac: d2 4c df cb 87 cb dc f9 52 4e a0 11 68 3c b6 98 | data for hmac: 0a 66 32 b7 cc 02 a4 d4 42 fc d1 d3 17 d4 14 36 | calculated auth: f0 b5 16 c3 0a 25 b5 aa 76 68 bb 13 58 5b 6f a7 | provided auth: f0 b5 16 c3 0a 25 b5 aa 76 68 bb 13 58 5b 6f a7 | 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: | 44 43 b9 c6 e8 1d a3 cf | responder cookie: | 81 4f 92 a6 13 ff 4a 92 | 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 17 a7 5a f1 | delete PROTO_v2_ESP SA(0x17a75af1) | 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(0x17a75af1) "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.112s and NOT sending notification | child state #12: V2_IPSEC_R(established CHILD SA) => delete | get_sa_info esp.17a75af1@192.1.2.45 | get_sa_info esp.95baba@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@0x55a106aaa2e8 | free_event_entry: release EVENT_SA_REKEY-pe@0x55a106aa0338 | 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='1566843955' 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 1049 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='1566843955' 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=0x17a75af1 SPI_OUT=0x95baba ipsec _up: | cmd(1040):down 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.17a75af1@192.1.2.45 | netlink response for Del SA esp.17a75af1@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.95baba@192.1.2.23 | netlink response for Del SA esp.95baba@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 00 95 ba ba | 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: 44 43 b9 c6 e8 1d a3 cf 81 4f 92 a6 13 ff 4a 92 | data being hmac: 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | data being hmac: 7b b2 89 94 d8 e7 db 9d 39 16 10 f5 34 bf c6 05 | data being hmac: ee e0 c4 f0 30 45 35 fe b3 f5 a3 cc 6c 65 48 3e | out calculated auth: | 56 ae d9 e2 7b 73 a8 ab 16 9c 7d 48 f8 71 27 ef | 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) | 44 43 b9 c6 e8 1d a3 cf 81 4f 92 a6 13 ff 4a 92 | 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | 7b b2 89 94 d8 e7 db 9d 39 16 10 f5 34 bf c6 05 | ee e0 c4 f0 30 45 35 fe b3 f5 a3 cc 6c 65 48 3e | 56 ae d9 e2 7b 73 a8 ab 16 9c 7d 48 f8 71 27 ef | 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.01 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.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 | spent 0.00151 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) | 44 43 b9 c6 e8 1d a3 cf 81 4f 92 a6 13 ff 4a 92 | 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | 25 2a 5b 8c 45 06 1a 02 52 ae 00 5e 09 0b cb c5 | cb 47 4c c5 88 12 38 62 ab 75 bb 1b 45 3b b6 e8 | 3c e8 cb 8e 42 0c 37 9a a6 85 05 2c e8 64 8d 8a | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 44 43 b9 c6 e8 1d a3 cf | responder cookie: | 81 4f 92 a6 13 ff 4a 92 | 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: 44 43 b9 c6 e8 1d a3 cf 81 4f 92 a6 13 ff 4a 92 | data for hmac: 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | data for hmac: 25 2a 5b 8c 45 06 1a 02 52 ae 00 5e 09 0b cb c5 | data for hmac: cb 47 4c c5 88 12 38 62 ab 75 bb 1b 45 3b b6 e8 | calculated auth: 3c e8 cb 8e 42 0c 37 9a a6 85 05 2c e8 64 8d 8a | provided auth: 3c e8 cb 8e 42 0c 37 9a a6 85 05 2c e8 64 8d 8a | 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: | 44 43 b9 c6 e8 1d a3 cf | responder cookie: | 81 4f 92 a6 13 ff 4a 92 | 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: 44 43 b9 c6 e8 1d a3 cf 81 4f 92 a6 13 ff 4a 92 | data being hmac: 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | data being hmac: ef 68 cb 28 2a f1 ba 58 7d ad ce ec 94 23 fb 18 | data being hmac: 01 75 38 de 05 e2 5b f1 fe 20 b1 8e 10 f8 fc 86 | out calculated auth: | 6c e3 5c 99 b5 b4 70 59 a7 cb a1 4d 7c 56 c8 cb | 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) | 44 43 b9 c6 e8 1d a3 cf 81 4f 92 a6 13 ff 4a 92 | 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | ef 68 cb 28 2a f1 ba 58 7d ad ce ec 94 23 fb 18 | 01 75 38 de 05 e2 5b f1 fe 20 b1 8e 10 f8 fc 86 | 6c e3 5c 99 b5 b4 70 59 a7 cb a1 4d 7c 56 c8 cb | 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 15.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.146s 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@0x55a106aa71c8 | free_event_entry: release EVENT_SA_REKEY-pe@0x55a106a9e7a8 | 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: 0x55a1069f5c48 @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.482 milliseconds in comm_handle_cb() reading and processing packet | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00429 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00269 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) | 23 6a cc 4a 7d 0f 72 d6 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 66 a5 de 3c 9e d4 37 e3 55 4e 2c dd f1 11 f8 | 92 a3 28 03 5d b3 4a a2 9f c6 45 72 6a 20 09 49 | b8 a7 58 73 66 92 3a 63 8b b3 db b5 fd a4 6b d4 | 7c ff 77 a0 da 47 67 e2 cf 97 61 e8 65 bc 5c b9 | de 59 01 b2 fb 7b 0a bd cf fc 23 39 5c 0d 14 2f | 23 d0 07 4c f9 95 b9 9f 6f d7 b8 53 4e 5e aa a6 | 53 4d 57 2e 39 f0 d4 74 47 86 4b bd 80 0d 6c 1a | 0d 62 68 29 5f 1f dc 4a 68 c1 88 39 e5 47 ba d8 | e8 a4 03 e9 29 00 00 24 d3 ef 6a d3 e9 36 53 ae | 0f 7a 19 3c 45 56 24 20 08 b5 04 89 0b ea cd 11 | a9 cf 27 ee 53 9f 4b 95 29 00 00 08 00 00 40 2e | 29 00 00 1c 00 00 40 04 c1 c1 38 56 53 a9 e0 b3 | 47 99 94 18 60 e2 c6 10 60 22 b4 00 00 00 00 1c | 00 00 40 05 0d 96 b3 b3 42 80 e2 9a 3b 42 95 c3 | b6 2a be 9c da 52 7f 14 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 23 6a cc 4a 7d 0f 72 d6 | 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 0x55a106aa05d8 | 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=0x55a106847800(20) | natd_hash: icookie= 23 6a cc 4a 7d 0f 72 d6 | 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= 0d 96 b3 b3 42 80 e2 9a 3b 42 95 c3 b6 2a be 9c | natd_hash: hash= da 52 7f 14 | natd_hash: rcookie is zero | natd_hash: hasher=0x55a106847800(20) | natd_hash: icookie= 23 6a cc 4a 7d 0f 72 d6 | 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= c1 c1 38 56 53 a9 e0 b3 47 99 94 18 60 e2 c6 10 | natd_hash: hash= 60 22 b4 00 | 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@0x55a106a9e7a8 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #13 | libevent_malloc: new ptr-libevent@0x7f98340033f8 size 128 | #13 spent 0.336 milliseconds in processing: Respond to IKE_SA_INIT in ikev2_process_state_packet() | crypto helper 5 resuming | crypto helper 5 starting work-order 13 for state #13 | crypto helper 5 doing build KE and nonce (ikev2_inI1outR1 KE); request ID 13 | [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.704 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.723 milliseconds in comm_handle_cb() reading and processing packet | crypto helper 5 finished build KE and nonce (ikev2_inI1outR1 KE); request ID 13 time elapsed 0.00376 seconds | (#13) spent 3.73 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@0x7f9828004c28 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 0x55a106772b50 | ikev2_parent_inI1outR1_continue for #13: calculated ke+nonce, sending R1 | **emit ISAKMP Message: | initiator cookie: | 23 6a cc 4a 7d 0f 72 d6 | responder cookie: | 4b bf 54 99 44 5c a2 83 | 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 00 36 7a 37 c0 52 2b ed 8c 27 d5 f9 68 6b 91 b8 | ikev2 g^x 9e 03 f4 db da 8f c8 e6 a9 20 72 90 d3 24 0b 57 | ikev2 g^x 4f 87 be 72 84 4c bb 1c 1b 6a 9e 43 c3 8c 5b 25 | ikev2 g^x e8 fa 5d 1a c7 70 50 85 c2 f6 dd c6 30 b3 28 ac | ikev2 g^x aa 74 00 32 4b ee 47 b8 88 13 d4 59 5d ba 6d 34 | ikev2 g^x 62 94 2a 5c a7 dc 21 e1 15 4e b2 89 89 d9 f7 07 | ikev2 g^x 7b 30 8b c8 3b 9a 91 a2 5e cc 9e 50 2b a2 ec cd | ikev2 g^x e9 01 b2 4a 51 ed ed c6 eb 40 35 4c 0d c3 99 0c | ikev2 g^x 93 4d 5f 33 | 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 63 fb 64 0c d7 03 a1 d3 ae 73 21 e5 7e e8 a6 16 | IKEv2 nonce 2d a4 f8 a3 26 c0 90 1a 40 64 2d 32 39 37 d3 df | 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=0x55a106847800(20) | natd_hash: icookie= 23 6a cc 4a 7d 0f 72 d6 | natd_hash: rcookie= 4b bf 54 99 44 5c a2 83 | natd_hash: ip= c0 01 02 17 | natd_hash: port=500 | natd_hash: hash= 88 3f a0 dc aa dc ba df e8 f9 13 08 44 16 33 4c | natd_hash: hash= 50 6d b0 31 | 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 88 3f a0 dc aa dc ba df e8 f9 13 08 44 16 33 4c | Notify data 50 6d b0 31 | emitting length of IKEv2 Notify Payload: 28 | natd_hash: hasher=0x55a106847800(20) | natd_hash: icookie= 23 6a cc 4a 7d 0f 72 d6 | natd_hash: rcookie= 4b bf 54 99 44 5c a2 83 | natd_hash: ip= c0 01 02 2d | natd_hash: port=500 | natd_hash: hash= ba 5b 92 0a 9c f0 1f cd 85 01 73 b4 69 9d ef e8 | natd_hash: hash= 2f 31 55 2d | 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 ba 5b 92 0a 9c f0 1f cd 85 01 73 b4 69 9d ef e8 | Notify data 2f 31 55 2d | 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) | 23 6a cc 4a 7d 0f 72 d6 4b bf 54 99 44 5c a2 83 | 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 00 36 7a 37 c0 52 2b ed 8c 27 d5 f9 | 68 6b 91 b8 9e 03 f4 db da 8f c8 e6 a9 20 72 90 | d3 24 0b 57 4f 87 be 72 84 4c bb 1c 1b 6a 9e 43 | c3 8c 5b 25 e8 fa 5d 1a c7 70 50 85 c2 f6 dd c6 | 30 b3 28 ac aa 74 00 32 4b ee 47 b8 88 13 d4 59 | 5d ba 6d 34 62 94 2a 5c a7 dc 21 e1 15 4e b2 89 | 89 d9 f7 07 7b 30 8b c8 3b 9a 91 a2 5e cc 9e 50 | 2b a2 ec cd e9 01 b2 4a 51 ed ed c6 eb 40 35 4c | 0d c3 99 0c 93 4d 5f 33 29 00 00 24 63 fb 64 0c | d7 03 a1 d3 ae 73 21 e5 7e e8 a6 16 2d a4 f8 a3 | 26 c0 90 1a 40 64 2d 32 39 37 d3 df 29 00 00 08 | 00 00 40 2e 29 00 00 1c 00 00 40 04 88 3f a0 dc | aa dc ba df e8 f9 13 08 44 16 33 4c 50 6d b0 31 | 00 00 00 1c 00 00 40 05 ba 5b 92 0a 9c f0 1f cd | 85 01 73 b4 69 9d ef e8 2f 31 55 2d | state #13 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x7f98340033f8 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x55a106a9e7a8 | event_schedule: new EVENT_SO_DISCARD-pe@0x55a106a9e7a8 | inserting event EVENT_SO_DISCARD, timeout in 200 seconds for #13 | libevent_malloc: new ptr-libevent@0x55a106aa71c8 size 128 | resume sending helper answer for #13 suppresed complete_v2_state_transition() | #13 spent 0.367 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@0x7f9828004c28 | spent 0.00271 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) | 23 6a cc 4a 7d 0f 72 d6 4b bf 54 99 44 5c a2 83 | 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | 63 69 28 d7 a7 06 ad cf 6b 57 eb c1 59 d8 b3 28 | 94 62 a4 73 03 f9 5d 6d 5b 17 04 62 41 e5 53 9f | 39 72 57 e1 c4 95 95 90 9e 6c 50 1b 8d dc 8d 65 | af a5 26 fa 49 47 87 2a d4 69 6b f2 55 42 f0 22 | 65 93 8c bb c8 bc 36 12 ab f0 37 e7 cd 33 28 0c | 5a 5b 0f d5 64 af b1 3d 68 88 42 3f 85 bc 5b 22 | 9e c3 83 20 41 67 ad 89 1a b4 8a 71 37 e3 58 1c | 7c 83 64 be 8b 61 ce 34 ad bd 30 74 26 53 24 a5 | 9d 32 06 c2 d7 98 3d b1 da 01 36 14 07 60 bc 5c | 6b a4 7b ab f7 fe a3 37 34 b3 fd ec 4a 60 18 c3 | f3 6b ce d8 f4 95 55 2d 5b 4c 77 1c 72 a2 de 83 | ae ce f8 c6 5d 15 36 b8 01 f6 69 39 0a a5 21 67 | 9a 5e 04 db 5d c8 d6 11 e1 e4 93 12 93 34 c1 42 | 41 24 ff 81 ee 12 db e5 5d a6 f2 b7 68 0b 16 87 | a0 a9 a6 e7 14 c4 29 6d ea 13 45 4b ab a9 fc 15 | cd d1 97 b0 dd 3f 96 24 f4 ed 17 3b c3 58 ee ed | 3f 05 a1 e0 ff bd 46 9c 18 eb 5e 69 73 76 f5 48 | 03 ea bc 52 35 77 6d 0f 39 47 5f fd 8d 4c 61 86 | 84 72 6a 46 1f 3e ba f0 3d 6e 86 13 59 8b 43 10 | 8f a5 00 77 81 e6 84 8b 67 0e 7a a8 85 d1 44 63 | 1f bc a1 a9 44 33 c3 70 80 7b 66 27 36 47 36 5b | c6 ce 03 f5 78 c6 61 74 9c 33 3f 0e c9 3e 52 94 | 11 c8 c1 32 a7 b8 c7 66 33 3e 6b c2 a1 80 cb b9 | e7 b5 9b e9 88 70 07 46 7d 46 ff ac 11 ec 3a 97 | 37 d9 65 dc 04 fc 91 4f e2 39 a9 63 81 25 66 3c | 19 b9 cf 17 09 d1 b3 17 fe 01 df 34 94 1c 74 a7 | 74 44 da 5d af ba 1c aa 06 18 03 6d c5 82 b9 39 | 57 3b 98 46 d4 66 23 ce 39 4d 55 bb d9 ff fa 6b | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 23 6a cc 4a 7d 0f 72 d6 | responder cookie: | 4b bf 54 99 44 5c a2 83 | 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@0x55a106aa71c8 | free_event_entry: release EVENT_SO_DISCARD-pe@0x55a106a9e7a8 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x55a106a9e7a8 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #13 | libevent_malloc: new ptr-libevent@0x7f9828004c28 size 128 | #13 spent 0.0312 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 | [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 starting work-order 14 for state #13 | "westnet-eastnet-ikev2" #13 complete v2 state STATE_PARENT_R1 transition with STF_SUSPEND suspended from complete_v2_state_transition:3451 | crypto helper 6 doing compute dh (V2) (ikev2_inI2outR2 KE); request ID 14 | 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.224 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.235 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.005704 seconds | (#13) spent 5.67 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@0x7f982c004148 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 0x55a106772b50 | ikev2_parent_inI2outR2_continue for #13: calculating g^{xy}, sending R2 | #13 in state PARENT_R1: received v2I1, sent v2R1 | data for hmac: 23 6a cc 4a 7d 0f 72 d6 4b bf 54 99 44 5c a2 83 | data for hmac: 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | data for hmac: 63 69 28 d7 a7 06 ad cf 6b 57 eb c1 59 d8 b3 28 | data for hmac: 94 62 a4 73 03 f9 5d 6d 5b 17 04 62 41 e5 53 9f | data for hmac: 39 72 57 e1 c4 95 95 90 9e 6c 50 1b 8d dc 8d 65 | data for hmac: af a5 26 fa 49 47 87 2a d4 69 6b f2 55 42 f0 22 | data for hmac: 65 93 8c bb c8 bc 36 12 ab f0 37 e7 cd 33 28 0c | data for hmac: 5a 5b 0f d5 64 af b1 3d 68 88 42 3f 85 bc 5b 22 | data for hmac: 9e c3 83 20 41 67 ad 89 1a b4 8a 71 37 e3 58 1c | data for hmac: 7c 83 64 be 8b 61 ce 34 ad bd 30 74 26 53 24 a5 | data for hmac: 9d 32 06 c2 d7 98 3d b1 da 01 36 14 07 60 bc 5c | data for hmac: 6b a4 7b ab f7 fe a3 37 34 b3 fd ec 4a 60 18 c3 | data for hmac: f3 6b ce d8 f4 95 55 2d 5b 4c 77 1c 72 a2 de 83 | data for hmac: ae ce f8 c6 5d 15 36 b8 01 f6 69 39 0a a5 21 67 | data for hmac: 9a 5e 04 db 5d c8 d6 11 e1 e4 93 12 93 34 c1 42 | data for hmac: 41 24 ff 81 ee 12 db e5 5d a6 f2 b7 68 0b 16 87 | data for hmac: a0 a9 a6 e7 14 c4 29 6d ea 13 45 4b ab a9 fc 15 | data for hmac: cd d1 97 b0 dd 3f 96 24 f4 ed 17 3b c3 58 ee ed | data for hmac: 3f 05 a1 e0 ff bd 46 9c 18 eb 5e 69 73 76 f5 48 | data for hmac: 03 ea bc 52 35 77 6d 0f 39 47 5f fd 8d 4c 61 86 | data for hmac: 84 72 6a 46 1f 3e ba f0 3d 6e 86 13 59 8b 43 10 | data for hmac: 8f a5 00 77 81 e6 84 8b 67 0e 7a a8 85 d1 44 63 | data for hmac: 1f bc a1 a9 44 33 c3 70 80 7b 66 27 36 47 36 5b | data for hmac: c6 ce 03 f5 78 c6 61 74 9c 33 3f 0e c9 3e 52 94 | data for hmac: 11 c8 c1 32 a7 b8 c7 66 33 3e 6b c2 a1 80 cb b9 | data for hmac: e7 b5 9b e9 88 70 07 46 7d 46 ff ac 11 ec 3a 97 | data for hmac: 37 d9 65 dc 04 fc 91 4f e2 39 a9 63 81 25 66 3c | data for hmac: 19 b9 cf 17 09 d1 b3 17 fe 01 df 34 94 1c 74 a7 | data for hmac: 74 44 da 5d af ba 1c aa 06 18 03 6d c5 82 b9 39 | calculated auth: 57 3b 98 46 d4 66 23 ce 39 4d 55 bb d9 ff fa 6b | provided auth: 57 3b 98 46 d4 66 23 ce 39 4d 55 bb d9 ff fa 6b | 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=0x55a1069f5b58 (line=1) | concluding with best_match=002 best=0x55a1069f5b58 (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.0346 milliseconds in try_all_RSA_keys() trying a pubkey "westnet-eastnet-ikev2" #13: Authenticated using RSA | #13 spent 0.0527 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@0x7f9828004c28 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x55a106a9e7a8 | event_schedule: new EVENT_SA_REKEY-pe@0x55a106a9e7a8 | inserting event EVENT_SA_REKEY, timeout in 3330 seconds for #13 | libevent_malloc: new ptr-libevent@0x55a106aa39d8 size 128 | pstats #13 ikev2.ike established | **emit ISAKMP Message: | initiator cookie: | 23 6a cc 4a 7d 0f 72 d6 | responder cookie: | 4b bf 54 99 44 5c a2 83 | 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=0x55a1069f5b58 (line=1) | concluding with best_match=002 best=0x55a1069f5b58 (lineno=1) | #13 spent 4.68 milliseconds in ikev2_calculate_rsa_hash() calling sign_hash_RSA() | emitting 274 raw bytes of rsa signature into IKEv2 Authentication Payload | rsa signature 09 fb 30 29 a8 a2 01 e1 6a 23 a6 42 fb 49 73 13 | rsa signature 65 eb e7 af 64 db 68 8b 70 e9 b8 cd 0a d8 64 ff | rsa signature 50 33 5d 2e 5d 68 f7 e7 89 b1 a1 ae 81 c3 6d b9 | rsa signature f9 35 c2 1f 73 83 d9 ac eb c5 54 73 e4 be f4 9d | rsa signature 4c ef d5 02 d9 4f b4 40 f0 b4 3e 74 2d 6e df 35 | rsa signature 3f 7b 8d 61 e6 05 f5 35 9b 6e 93 3e 4a ce d1 84 | rsa signature e2 b4 5e cd a2 86 d6 03 e2 1e 7d 50 75 c7 fd fb | rsa signature 2e 54 e6 24 69 72 7c a4 a7 f3 56 02 8a 4c 3b 8b | rsa signature ab 8a 8c 29 bd 5a 9b a0 d6 72 f8 72 4a fe 76 b2 | rsa signature cc e9 2d cd ea d0 6e 73 86 9e 64 6f d0 fd ce b2 | rsa signature f9 1a c8 cf 57 5d b6 97 3a 2d f9 fa 89 7f fa d4 | rsa signature 63 e8 97 7e 7f c2 1f 01 8c 25 3f 01 f4 90 32 8d | rsa signature 75 e3 0b 71 35 9c 29 d0 da d1 1b 70 87 98 c8 a6 | rsa signature 5b f2 c6 5d e6 9d 2f 30 ba 33 c4 f2 9c 52 7a 86 | rsa signature 92 1f 8a 02 30 5f c0 de 87 a8 76 d6 4c ac d6 eb | rsa signature 29 b2 81 91 ff f3 e2 cc 43 4a e9 10 b3 e4 8c ef | rsa signature 90 9d e4 77 68 42 12 3d 26 97 8d b7 26 36 22 47 | rsa signature ed 6c | #13 spent 4.77 milliseconds in ikev2_calculate_rsa_hash() | emitting length of IKEv2 Authentication Payload: 282 | creating state object #14 at 0x55a106ab22c8 | 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 3e 94 db 77 | 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=3e94db77;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=3e94db77;ENCR=AES_CBC_256;INTEG=HMAC_SHA2_256_128;ESN=DISABLED | converting proposal to internal trans attrs | netlink_get_spi: allocated 0xb0545878 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 54 58 78 | ******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.3e94db77@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.b0545878@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=0x3e | 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=0x3e94db77 SPI_OUT=0xb0545878 ipsec _updown 2>&1: | route_and_eroute: firewall_notified: true | route_and_eroute: instance "westnet-eastnet-ikev2", setting eroute_owner {spd=0x55a106a9c7b8,sr=0x55a106a9c7b8} to #14 (was #0) (newest_ipsec_sa=#0) | #13 spent 0.816 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: 23 6a cc 4a 7d 0f 72 d6 4b bf 54 99 44 5c a2 83 | data being hmac: 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | data being hmac: fb 98 17 cd 90 d9 1b ea b8 4b 96 3b 25 df 40 f4 | data being hmac: 8e 54 31 8f c5 7a 5f ce e0 d6 60 4e 48 47 d8 5d | data being hmac: 33 5c a4 5f d8 7c ac 0b 55 65 ea 17 9f 09 29 b4 | data being hmac: c4 76 79 7e 5b 1b 51 cc 4d be dd 73 b9 95 4a 9b | data being hmac: f5 49 0f 36 e1 81 c5 ac b6 75 28 a9 5c e0 3c 1a | data being hmac: 08 b3 b4 4e 2b ba 5c fc 92 1b 72 7d 10 b9 e4 91 | data being hmac: 7f ea f8 e5 96 92 a7 0f f2 e2 08 37 49 af 1d a8 | data being hmac: 67 b3 94 ba 47 ba a1 cb e4 1f 31 f5 90 bd 9f f5 | data being hmac: ea b2 19 0b 38 eb ee 36 bd f5 fe 8b a0 5e 3a b1 | data being hmac: 5e 8a f7 35 f3 66 d2 ac 17 e8 cb 41 f7 5c ba 12 | data being hmac: dd 3d 2b dc 82 b2 17 4e c8 29 56 b0 f6 80 d7 ff | data being hmac: ae 25 a6 2b c6 88 6a 54 be ca f6 f7 55 69 dd 98 | data being hmac: e6 c6 47 6a 5c c8 01 88 56 c9 e2 9b ef 6c 6b 1c | data being hmac: 35 f1 a4 a8 ef 7d 7d fa f0 3c e1 f9 72 91 98 15 | data being hmac: 89 38 6f 84 f2 c0 d8 b6 55 be f0 b3 61 be a9 e3 | data being hmac: 44 b9 4f df f7 fb 20 53 d1 62 bf e5 6e 0d 9d cf | data being hmac: 89 87 ae a4 46 35 71 a2 16 44 c7 c7 b5 28 c8 94 | data being hmac: 8a ee be a3 e6 29 6b c9 67 3f 13 12 48 4c cc b3 | data being hmac: b3 2c 63 a0 81 fb 33 55 ac f2 81 73 5f c6 cf c0 | data being hmac: b1 02 df b0 9a 66 d1 fd 56 0b 1b 92 ee aa 96 41 | data being hmac: 66 5d 8b e8 8c a7 b0 21 7d d6 cc a2 ac a6 03 23 | data being hmac: 3a 6b f9 e4 3f 0c bc d1 e8 93 0c b1 1e 74 ce 12 | data being hmac: 62 9e 08 10 13 76 c8 21 34 55 c6 6f cf ce 3a 79 | data being hmac: 6e 4e c5 ec 88 eb b4 15 d7 6d cd 47 8e 79 d5 91 | data being hmac: 2a d9 34 02 79 65 61 e6 3f ef 73 8c 63 06 86 6d | data being hmac: 10 ca 47 a7 fa fb 23 72 a4 76 18 70 ff a7 b6 65 | out calculated auth: | b9 7c 75 68 9a 3a 96 fb 5a 58 cc 17 3f 33 93 bb | ikev2_parent_inI2outR2_continue_tail returned STF_OK | #13 spent 7.21 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=>0x3e94db77 <0xb0545878 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) | 23 6a cc 4a 7d 0f 72 d6 4b bf 54 99 44 5c a2 83 | 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | fb 98 17 cd 90 d9 1b ea b8 4b 96 3b 25 df 40 f4 | 8e 54 31 8f c5 7a 5f ce e0 d6 60 4e 48 47 d8 5d | 33 5c a4 5f d8 7c ac 0b 55 65 ea 17 9f 09 29 b4 | c4 76 79 7e 5b 1b 51 cc 4d be dd 73 b9 95 4a 9b | f5 49 0f 36 e1 81 c5 ac b6 75 28 a9 5c e0 3c 1a | 08 b3 b4 4e 2b ba 5c fc 92 1b 72 7d 10 b9 e4 91 | 7f ea f8 e5 96 92 a7 0f f2 e2 08 37 49 af 1d a8 | 67 b3 94 ba 47 ba a1 cb e4 1f 31 f5 90 bd 9f f5 | ea b2 19 0b 38 eb ee 36 bd f5 fe 8b a0 5e 3a b1 | 5e 8a f7 35 f3 66 d2 ac 17 e8 cb 41 f7 5c ba 12 | dd 3d 2b dc 82 b2 17 4e c8 29 56 b0 f6 80 d7 ff | ae 25 a6 2b c6 88 6a 54 be ca f6 f7 55 69 dd 98 | e6 c6 47 6a 5c c8 01 88 56 c9 e2 9b ef 6c 6b 1c | 35 f1 a4 a8 ef 7d 7d fa f0 3c e1 f9 72 91 98 15 | 89 38 6f 84 f2 c0 d8 b6 55 be f0 b3 61 be a9 e3 | 44 b9 4f df f7 fb 20 53 d1 62 bf e5 6e 0d 9d cf | 89 87 ae a4 46 35 71 a2 16 44 c7 c7 b5 28 c8 94 | 8a ee be a3 e6 29 6b c9 67 3f 13 12 48 4c cc b3 | b3 2c 63 a0 81 fb 33 55 ac f2 81 73 5f c6 cf c0 | b1 02 df b0 9a 66 d1 fd 56 0b 1b 92 ee aa 96 41 | 66 5d 8b e8 8c a7 b0 21 7d d6 cc a2 ac a6 03 23 | 3a 6b f9 e4 3f 0c bc d1 e8 93 0c b1 1e 74 ce 12 | 62 9e 08 10 13 76 c8 21 34 55 c6 6f cf ce 3a 79 | 6e 4e c5 ec 88 eb b4 15 d7 6d cd 47 8e 79 d5 91 | 2a d9 34 02 79 65 61 e6 3f ef 73 8c 63 06 86 6d | 10 ca 47 a7 fa fb 23 72 a4 76 18 70 ff a7 b6 65 | b9 7c 75 68 9a 3a 96 fb 5a 58 cc 17 3f 33 93 bb | 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@0x7f9840002b78 | inserting event EVENT_SA_REKEY, timeout in 28530 seconds for #14 | libevent_malloc: new ptr-libevent@0x55a106aaa2e8 size 128 | resume sending helper answer for #13 suppresed complete_v2_state_transition() | #13 spent 7.53 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@0x7f982c004148 | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00438 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00261 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) | 23 6a cc 4a 7d 0f 72 d6 4b bf 54 99 44 5c a2 83 | 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | d3 b3 09 f3 a3 3b 92 29 c2 70 7e 15 b9 90 e4 98 | c7 35 e1 5b c5 d0 3b 5b 3e 8b 7c dc 3f 19 f4 c9 | d6 d1 85 96 bb 85 87 2a 73 55 15 a3 b8 9c 8a 6a | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 23 6a cc 4a 7d 0f 72 d6 | responder cookie: | 4b bf 54 99 44 5c a2 83 | 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: 23 6a cc 4a 7d 0f 72 d6 4b bf 54 99 44 5c a2 83 | data for hmac: 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | data for hmac: d3 b3 09 f3 a3 3b 92 29 c2 70 7e 15 b9 90 e4 98 | data for hmac: c7 35 e1 5b c5 d0 3b 5b 3e 8b 7c dc 3f 19 f4 c9 | calculated auth: d6 d1 85 96 bb 85 87 2a 73 55 15 a3 b8 9c 8a 6a | provided auth: d6 d1 85 96 bb 85 87 2a 73 55 15 a3 b8 9c 8a 6a | 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: | 23 6a cc 4a 7d 0f 72 d6 | responder cookie: | 4b bf 54 99 44 5c a2 83 | 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 3e 94 db 77 | delete PROTO_v2_ESP SA(0x3e94db77) | 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(0x3e94db77) "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.114s and NOT sending notification | child state #14: V2_IPSEC_R(established CHILD SA) => delete | get_sa_info esp.3e94db77@192.1.2.45 | get_sa_info esp.b0545878@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@0x55a106aaa2e8 | free_event_entry: release EVENT_SA_REKEY-pe@0x7f9840002b78 | 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='1566843955' 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='1566843955' 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=0x3e94db77 SPI_OUT=0xb0545878 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.3e94db77@192.1.2.45 | netlink response for Del SA esp.3e94db77@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.b0545878@192.1.2.23 | netlink response for Del SA esp.b0545878@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 b0 54 58 78 | 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: 23 6a cc 4a 7d 0f 72 d6 4b bf 54 99 44 5c a2 83 | data being hmac: 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | data being hmac: 9c 7a 85 41 0c b9 ba 15 15 42 95 cd 48 9d 1e b5 | data being hmac: 58 06 be 39 1b cb 85 4e ab ee 93 09 6a f9 be fd | out calculated auth: | 4e 84 8f c5 e6 ec 10 bf e7 d9 de 53 f2 0f b9 bd | 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) | 23 6a cc 4a 7d 0f 72 d6 4b bf 54 99 44 5c a2 83 | 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | 9c 7a 85 41 0c b9 ba 15 15 42 95 cd 48 9d 1e b5 | 58 06 be 39 1b cb 85 4e ab ee 93 09 6a f9 be fd | 4e 84 8f c5 e6 ec 10 bf e7 d9 de 53 f2 0f b9 bd | 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 1 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 1.2 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.22 milliseconds in comm_handle_cb() reading and processing packet | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00413 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00241 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) | 23 6a cc 4a 7d 0f 72 d6 4b bf 54 99 44 5c a2 83 | 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | 3f 6f 72 74 84 50 93 37 24 ce 8e 32 76 9f 11 42 | 1b 41 6c 69 c0 f6 40 ab c2 13 64 89 08 12 c3 83 | 37 5d 37 3b 1c cc 96 89 ae 85 2b 95 57 ab 53 71 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 23 6a cc 4a 7d 0f 72 d6 | responder cookie: | 4b bf 54 99 44 5c a2 83 | 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: 23 6a cc 4a 7d 0f 72 d6 4b bf 54 99 44 5c a2 83 | data for hmac: 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | data for hmac: 3f 6f 72 74 84 50 93 37 24 ce 8e 32 76 9f 11 42 | data for hmac: 1b 41 6c 69 c0 f6 40 ab c2 13 64 89 08 12 c3 83 | calculated auth: 37 5d 37 3b 1c cc 96 89 ae 85 2b 95 57 ab 53 71 | provided auth: 37 5d 37 3b 1c cc 96 89 ae 85 2b 95 57 ab 53 71 | 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: | 23 6a cc 4a 7d 0f 72 d6 | responder cookie: | 4b bf 54 99 44 5c a2 83 | 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: 23 6a cc 4a 7d 0f 72 d6 4b bf 54 99 44 5c a2 83 | data being hmac: 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | data being hmac: ad 37 16 3e d7 91 cd 86 d1 d4 41 1e 0e 4b 42 53 | data being hmac: e1 b6 03 0c be a0 6a 94 78 d2 d7 91 68 19 de a7 | out calculated auth: | f5 6b fe ba d7 56 dc d9 de e7 96 26 df 1e c2 ae | 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) | 23 6a cc 4a 7d 0f 72 d6 4b bf 54 99 44 5c a2 83 | 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | ad 37 16 3e d7 91 cd 86 d1 d4 41 1e 0e 4b 42 53 | e1 b6 03 0c be a0 6a 94 78 d2 d7 91 68 19 de a7 | f5 6b fe ba d7 56 dc d9 de e7 96 26 df 1e c2 ae | 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 19.4 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.152s 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@0x55a106aa39d8 | free_event_entry: release EVENT_SA_REKEY-pe@0x55a106a9e7a8 | 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: 0x55a1069f5c48 @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.401 milliseconds in comm_handle_cb() reading and processing packet | spent 0.00289 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) | 11 e5 9f 1f 94 b1 46 e2 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 | 14 c7 aa 57 76 ea 4b f7 20 cd e9 66 cd 8b c6 16 | d2 95 29 d7 ba 1d 6d 42 2a 1b 08 08 75 96 d9 4f | 29 00 00 24 3f c9 85 d8 99 de 1f 15 40 fc 2e 11 | e1 51 74 6b 0f 2a 3e 1c 35 19 32 41 cd 64 69 6a | 16 4f 6c 36 29 00 00 08 00 00 40 2e 29 00 00 1c | 00 00 40 04 00 b5 45 a6 66 ea ba aa 2b 5a bd a4 | 2f 2f 34 04 b6 c8 a5 f0 00 00 00 1c 00 00 40 05 | eb 0c 7c 84 bf 02 2a c3 a9 7e f6 e6 5a b7 35 35 | 79 aa 63 7c | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 11 e5 9f 1f 94 b1 46 e2 | 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 0x55a106aa05d8 | 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=0x55a106847800(20) | natd_hash: icookie= 11 e5 9f 1f 94 b1 46 e2 | 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= eb 0c 7c 84 bf 02 2a c3 a9 7e f6 e6 5a b7 35 35 | natd_hash: hash= 79 aa 63 7c | natd_hash: rcookie is zero | natd_hash: hasher=0x55a106847800(20) | natd_hash: icookie= 11 e5 9f 1f 94 b1 46 e2 | 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= 00 b5 45 a6 66 ea ba aa 2b 5a bd a4 2f 2f 34 04 | natd_hash: hash= b6 c8 a5 f0 | 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@0x55a106a9e7a8 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #15 | libevent_malloc: new ptr-libevent@0x7f982c004148 size 128 | #15 spent 0.186 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) | crypto helper 0 resuming | #15 complete_v2_state_transition() PARENT_R0->PARENT_R1 with status STF_SUSPEND | crypto helper 0 starting work-order 15 for state #15 | suspending state #15 and saving MD | crypto helper 0 doing build KE and nonce (ikev2_inI1outR1 KE); request ID 15 | #15 is busy; has a suspended MD | [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_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.411 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.422 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.000115 seconds | (#15) spent 0.117 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@0x7f9840006748 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 0x55a106772b50 | ikev2_parent_inI1outR1_continue for #15: calculated ke+nonce, sending R1 | **emit ISAKMP Message: | initiator cookie: | 11 e5 9f 1f 94 b1 46 e2 | responder cookie: | a0 18 6b a9 6c 05 f6 ae | 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 5b 18 cf 7c 8b da dd 8b b9 2f e1 13 63 55 18 37 | ikev2 g^x e9 ca 40 26 85 12 19 33 04 b4 6a 02 50 ca 8b 6b | 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 41 0f 0e 58 34 f1 af 2e f9 ef f3 3b 99 fa ac 40 | IKEv2 nonce 17 c5 81 dc f9 2b 98 3b a2 b2 1c 5d 6f 57 f9 a9 | 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=0x55a106847800(20) | natd_hash: icookie= 11 e5 9f 1f 94 b1 46 e2 | natd_hash: rcookie= a0 18 6b a9 6c 05 f6 ae | natd_hash: ip= c0 01 02 17 | natd_hash: port=500 | natd_hash: hash= 23 6b 8a 14 1c e5 1a f5 5b 7d e1 cf 3d d0 ad 42 | natd_hash: hash= 0b 35 af 85 | 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 23 6b 8a 14 1c e5 1a f5 5b 7d e1 cf 3d d0 ad 42 | Notify data 0b 35 af 85 | emitting length of IKEv2 Notify Payload: 28 | natd_hash: hasher=0x55a106847800(20) | natd_hash: icookie= 11 e5 9f 1f 94 b1 46 e2 | natd_hash: rcookie= a0 18 6b a9 6c 05 f6 ae | natd_hash: ip= c0 01 02 2d | natd_hash: port=500 | natd_hash: hash= a1 aa 26 52 45 31 db cf 8f d6 cc de 7a e5 29 20 | natd_hash: hash= 24 85 d3 96 | 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 a1 aa 26 52 45 31 db cf 8f d6 cc de 7a e5 29 20 | Notify data 24 85 d3 96 | 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) | 11 e5 9f 1f 94 b1 46 e2 a0 18 6b a9 6c 05 f6 ae | 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 5b 18 cf 7c 8b da dd 8b b9 2f e1 13 | 63 55 18 37 e9 ca 40 26 85 12 19 33 04 b4 6a 02 | 50 ca 8b 6b 29 00 00 24 41 0f 0e 58 34 f1 af 2e | f9 ef f3 3b 99 fa ac 40 17 c5 81 dc f9 2b 98 3b | a2 b2 1c 5d 6f 57 f9 a9 29 00 00 08 00 00 40 2e | 29 00 00 1c 00 00 40 04 23 6b 8a 14 1c e5 1a f5 | 5b 7d e1 cf 3d d0 ad 42 0b 35 af 85 00 00 00 1c | 00 00 40 05 a1 aa 26 52 45 31 db cf 8f d6 cc de | 7a e5 29 20 24 85 d3 96 | state #15 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x7f982c004148 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x55a106a9e7a8 | event_schedule: new EVENT_SO_DISCARD-pe@0x55a106a9e7a8 | inserting event EVENT_SO_DISCARD, timeout in 200 seconds for #15 | libevent_malloc: new ptr-libevent@0x55a106aaa2e8 size 128 | resume sending helper answer for #15 suppresed complete_v2_state_transition() | #15 spent 0.251 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@0x7f9840006748 | spent 0.00359 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) | 11 e5 9f 1f 94 b1 46 e2 a0 18 6b a9 6c 05 f6 ae | 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | f1 30 28 eb 02 47 32 e1 b4 43 b2 65 72 04 30 37 | 37 19 9a 14 1d 53 be 23 d0 13 e8 92 bd 1b 2c 9d | 14 e9 d9 22 b1 4b a4 d0 23 ca 6a 53 8c 8d ca 98 | 43 c2 c0 47 09 7c 97 82 a4 f9 c9 8e 04 7b 13 66 | b8 95 9f ea 63 1c 5d 59 dd c5 d6 16 2b 43 d5 df | 83 91 01 36 4c 08 bc 84 32 0d 38 d3 9b a9 01 0a | 4d 68 6a 75 03 77 3c 60 2c b6 b5 b2 8e dd 5e b6 | a5 a3 00 58 75 aa ac f7 61 02 eb 0c 42 c3 23 a9 | 64 9c bd 7c 2b 7e eb 18 fb 07 7b c7 f9 b9 fb 9f | 0d 3e 89 1f 3d 3a 0e 70 bb c2 fa 27 4b cd ba 9a | 10 b3 2a a8 9f b9 85 35 ca 36 9e c4 f5 73 88 b2 | 3b 64 1f 86 23 06 6a 2b cd 31 6a 49 c4 ae aa 13 | a0 a1 db 8e ff 4c ef 1c 28 30 f1 ab cf 32 cc 55 | bb e9 61 bf 6c 87 6f a1 5e b2 a8 44 82 17 da 4e | c1 09 6f 48 09 75 16 a7 a8 b0 51 d7 63 44 50 6a | 6e 69 2c 90 9f ad 64 b4 38 32 23 b3 2b 71 81 7b | 1a bb 4d 2f e0 e2 78 8f 2a 9a 26 ae 58 88 27 f9 | e6 d3 02 cd a8 81 72 6a 56 41 01 37 8c 42 d7 44 | a4 6e 32 16 77 39 34 ce de 64 1d 5c f6 27 c3 df | f9 a7 83 2a 57 f0 7c bc e5 df b1 13 fb 27 43 b6 | a0 7b 48 09 5e b9 b4 ad 59 ff 80 4a d4 e9 f7 0a | ab ae 7c 88 a6 e4 de da e1 dd 20 70 ec 80 02 f7 | 93 34 b3 e8 60 02 54 38 20 27 d1 e3 1c b4 33 16 | 7f dd f2 43 c1 f6 87 19 63 0c 89 7b 48 fe 01 bf | 89 fb 66 8b 22 3e 20 b1 8a b2 3b 04 58 00 28 f3 | 1e e8 41 ed d0 bc d0 39 44 a6 4a df e9 97 e4 7f | 76 46 41 54 db bb bc 05 05 9d 92 93 0d c9 ae 91 | e8 35 64 d3 84 43 8f 57 b7 a2 57 27 a8 23 bc 73 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 11 e5 9f 1f 94 b1 46 e2 | responder cookie: | a0 18 6b a9 6c 05 f6 ae | 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@0x55a106aaa2e8 | free_event_entry: release EVENT_SO_DISCARD-pe@0x55a106a9e7a8 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x55a106a9e7a8 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #15 | libevent_malloc: new ptr-libevent@0x7f9840006748 size 128 | #15 spent 0.0216 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 | [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 | crypto helper 1 resuming | 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 starting work-order 16 for state #15 | #15 spent 0.177 milliseconds in ikev2_process_packet() | crypto helper 1 doing compute dh (V2) (ikev2_inI2outR2 KE); request ID 16 | 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.193 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.00046 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@0x7f9838010998 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 0x55a106772b50 | ikev2_parent_inI2outR2_continue for #15: calculating g^{xy}, sending R2 | #15 in state PARENT_R1: received v2I1, sent v2R1 | data for hmac: 11 e5 9f 1f 94 b1 46 e2 a0 18 6b a9 6c 05 f6 ae | data for hmac: 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | data for hmac: f1 30 28 eb 02 47 32 e1 b4 43 b2 65 72 04 30 37 | data for hmac: 37 19 9a 14 1d 53 be 23 d0 13 e8 92 bd 1b 2c 9d | data for hmac: 14 e9 d9 22 b1 4b a4 d0 23 ca 6a 53 8c 8d ca 98 | data for hmac: 43 c2 c0 47 09 7c 97 82 a4 f9 c9 8e 04 7b 13 66 | data for hmac: b8 95 9f ea 63 1c 5d 59 dd c5 d6 16 2b 43 d5 df | data for hmac: 83 91 01 36 4c 08 bc 84 32 0d 38 d3 9b a9 01 0a | data for hmac: 4d 68 6a 75 03 77 3c 60 2c b6 b5 b2 8e dd 5e b6 | data for hmac: a5 a3 00 58 75 aa ac f7 61 02 eb 0c 42 c3 23 a9 | data for hmac: 64 9c bd 7c 2b 7e eb 18 fb 07 7b c7 f9 b9 fb 9f | data for hmac: 0d 3e 89 1f 3d 3a 0e 70 bb c2 fa 27 4b cd ba 9a | data for hmac: 10 b3 2a a8 9f b9 85 35 ca 36 9e c4 f5 73 88 b2 | data for hmac: 3b 64 1f 86 23 06 6a 2b cd 31 6a 49 c4 ae aa 13 | data for hmac: a0 a1 db 8e ff 4c ef 1c 28 30 f1 ab cf 32 cc 55 | data for hmac: bb e9 61 bf 6c 87 6f a1 5e b2 a8 44 82 17 da 4e | data for hmac: c1 09 6f 48 09 75 16 a7 a8 b0 51 d7 63 44 50 6a | data for hmac: 6e 69 2c 90 9f ad 64 b4 38 32 23 b3 2b 71 81 7b | data for hmac: 1a bb 4d 2f e0 e2 78 8f 2a 9a 26 ae 58 88 27 f9 | data for hmac: e6 d3 02 cd a8 81 72 6a 56 41 01 37 8c 42 d7 44 | data for hmac: a4 6e 32 16 77 39 34 ce de 64 1d 5c f6 27 c3 df | data for hmac: f9 a7 83 2a 57 f0 7c bc e5 df b1 13 fb 27 43 b6 | data for hmac: a0 7b 48 09 5e b9 b4 ad 59 ff 80 4a d4 e9 f7 0a | data for hmac: ab ae 7c 88 a6 e4 de da e1 dd 20 70 ec 80 02 f7 | data for hmac: 93 34 b3 e8 60 02 54 38 20 27 d1 e3 1c b4 33 16 | data for hmac: 7f dd f2 43 c1 f6 87 19 63 0c 89 7b 48 fe 01 bf | data for hmac: 89 fb 66 8b 22 3e 20 b1 8a b2 3b 04 58 00 28 f3 | data for hmac: 1e e8 41 ed d0 bc d0 39 44 a6 4a df e9 97 e4 7f | data for hmac: 76 46 41 54 db bb bc 05 05 9d 92 93 0d c9 ae 91 | calculated auth: e8 35 64 d3 84 43 8f 57 b7 a2 57 27 a8 23 bc 73 | provided auth: e8 35 64 d3 84 43 8f 57 b7 a2 57 27 a8 23 bc 73 | 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=0x55a1069f5b58 (line=1) | concluding with best_match=002 best=0x55a1069f5b58 (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.0515 milliseconds in try_all_RSA_keys() trying a pubkey "westnet-eastnet-ikev2" #15: Authenticated using RSA | #15 spent 0.0761 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@0x7f9840006748 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x55a106a9e7a8 | event_schedule: new EVENT_SA_REKEY-pe@0x55a106a9e7a8 | inserting event EVENT_SA_REKEY, timeout in 3330 seconds for #15 | libevent_malloc: new ptr-libevent@0x55a106aa39d8 size 128 | pstats #15 ikev2.ike established | **emit ISAKMP Message: | initiator cookie: | 11 e5 9f 1f 94 b1 46 e2 | responder cookie: | a0 18 6b a9 6c 05 f6 ae | 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=0x55a1069f5b58 (line=1) | concluding with best_match=002 best=0x55a1069f5b58 (lineno=1) | #15 spent 2.55 milliseconds in ikev2_calculate_rsa_hash() calling sign_hash_RSA() | emitting 274 raw bytes of rsa signature into IKEv2 Authentication Payload | rsa signature 42 71 df c1 99 7c 51 f6 54 00 65 4a e5 b2 62 4c | rsa signature 6c 0e f9 81 3e e6 b1 c4 ec 02 19 17 94 17 06 5f | rsa signature b1 10 7c 3a 59 7f 78 9d a0 89 3b 30 0f 19 d2 09 | rsa signature 54 31 b3 6d 1e da 59 15 89 b0 6d 41 63 9f 42 4a | rsa signature 47 69 9f bb 58 6d 31 42 50 32 ab fb cb ea 99 35 | rsa signature 65 84 7a 70 38 c1 07 5e f0 02 b5 b0 3b 66 ed 36 | rsa signature 65 ac e8 e9 88 a4 b3 e2 5c 15 e7 c6 81 03 de 5b | rsa signature 14 2b c8 31 58 da eb 59 cc 90 2f d7 ba 82 a4 8b | rsa signature d2 57 f4 56 b3 a0 71 f6 4c b0 ee 4f 97 39 ba da | rsa signature c7 5e ae ec c3 e0 e2 d3 2a f7 44 69 dd 5e ee 42 | rsa signature 42 76 95 7e fa c2 f3 3d fc c1 2f 33 61 6a 0d 38 | rsa signature ac d6 b3 7e 86 fd 2f e6 9b 20 28 c6 99 31 f0 cb | rsa signature 4b 70 0e 5d ad 46 01 c7 59 8c 9a d3 e6 5b fc 44 | rsa signature 0e b6 65 5e ae 7e 04 2d 3c db e6 5e 0e 0f ed da | rsa signature b7 6f b8 f0 77 27 58 d0 61 5b d0 8f 4a 54 3c 1e | rsa signature 13 21 57 55 ed 02 78 05 38 27 37 03 ce 28 8d 5f | rsa signature 71 d7 4b 0f f7 dd 66 b2 66 52 fe 12 4b 7b fd 86 | rsa signature a4 63 | #15 spent 2.6 milliseconds in ikev2_calculate_rsa_hash() | emitting length of IKEv2 Authentication Payload: 282 | creating state object #16 at 0x55a106ab0a68 | 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 13 d1 1a 2d | 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=13d11a2d;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=13d11a2d;ENCR=AES_CBC_256;INTEG=HMAC_SHA2_256_128;ESN=DISABLED | converting proposal to internal trans attrs | netlink_get_spi: allocated 0x3954bd35 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 39 54 bd 35 | ******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.13d11a2d@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.3954bd35@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=0x13 | 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=0x13d11a2d SPI_OUT=0x3954bd35 ipsec _updown 2>&1: | route_and_eroute: firewall_notified: true | route_and_eroute: instance "westnet-eastnet-ikev2", setting eroute_owner {spd=0x55a106a9c7b8,sr=0x55a106a9c7b8} to #16 (was #0) (newest_ipsec_sa=#0) | #15 spent 0.934 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: 11 e5 9f 1f 94 b1 46 e2 a0 18 6b a9 6c 05 f6 ae | data being hmac: 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | data being hmac: d9 4e d1 0d a9 3c 0d 9f 48 9f 52 26 a6 4f d5 cd | data being hmac: 4b b8 35 a5 85 50 b0 8f 57 a6 7d 06 91 e6 cd 93 | data being hmac: 1b ba 66 73 a9 78 0d c2 7e f5 0d 53 6c ae b4 a9 | data being hmac: b0 70 d9 45 c0 b6 72 20 2f 56 b5 78 81 d4 2d 36 | data being hmac: 02 1f ad 89 55 e9 1b 47 0e b0 06 88 71 09 2c 77 | data being hmac: 1a 9e e4 9d 59 66 64 1f 0f 3e da 1c f3 2e 6c 7c | data being hmac: b2 d5 fd 54 2c c4 e4 d6 92 c1 e3 63 6c 32 a0 ce | data being hmac: e9 19 8a 4c 67 51 d9 4c 04 d2 68 66 78 8b 5f 52 | data being hmac: a1 9b ff 82 24 1f aa a0 4a d4 74 22 51 df d7 9b | data being hmac: 2e 7d b6 e0 fd 57 4a cc c2 e1 61 54 64 e7 86 82 | data being hmac: a0 7c 6d 00 4f 65 31 f2 4c b4 83 31 5b 75 b6 47 | data being hmac: 0f 13 06 79 a0 08 07 7c 30 84 7d 4e 87 2e 2e 16 | data being hmac: 57 a4 de e5 ff 94 9b 71 a5 29 d5 e2 c6 57 e8 a6 | data being hmac: 5e 35 dd d1 d6 0d 39 f6 ff e0 a7 96 a6 a7 58 2f | data being hmac: bf c6 f3 3b c7 48 8d 80 fc 06 e1 b2 ac 19 0a be | data being hmac: 7f 83 d1 ba 85 3e dd 18 6e 0d 1a 43 fc 06 49 39 | data being hmac: fd 14 1c 97 2b 6d 15 ef 97 d9 52 e7 63 a6 2f 74 | data being hmac: bf 2d 11 d5 6c 67 01 46 13 ed 04 06 33 11 b8 a7 | data being hmac: 9b f4 2f d6 2a 83 b7 6a 1f 75 95 86 83 14 ab f8 | data being hmac: 8a 1d 13 a9 c4 96 b4 75 7e d7 0c 1b 12 eb bc 30 | data being hmac: c3 36 ec c0 0b e3 21 1d 0b 4f 44 b0 af 67 c0 d9 | data being hmac: 31 b9 c3 8d 84 c6 16 a9 51 36 10 d5 96 30 03 e1 | data being hmac: 79 76 92 e8 78 0b 50 aa c4 47 fd 86 8c b8 56 e5 | data being hmac: fa bf 18 07 c2 0e d2 f8 78 88 27 f7 0e 2e fb 7e | data being hmac: 28 6b 95 38 9e e2 a9 77 a6 c1 98 1f 3d ed 78 17 | data being hmac: 0f 74 f7 7a 31 01 73 09 aa 6e 05 19 4a b6 d1 e7 | out calculated auth: | a9 15 35 12 91 3e 60 b6 a2 b2 97 5c db 19 97 de | ikev2_parent_inI2outR2_continue_tail returned STF_OK | #15 spent 4.78 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=>0x13d11a2d <0x3954bd35 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) | 11 e5 9f 1f 94 b1 46 e2 a0 18 6b a9 6c 05 f6 ae | 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | d9 4e d1 0d a9 3c 0d 9f 48 9f 52 26 a6 4f d5 cd | 4b b8 35 a5 85 50 b0 8f 57 a6 7d 06 91 e6 cd 93 | 1b ba 66 73 a9 78 0d c2 7e f5 0d 53 6c ae b4 a9 | b0 70 d9 45 c0 b6 72 20 2f 56 b5 78 81 d4 2d 36 | 02 1f ad 89 55 e9 1b 47 0e b0 06 88 71 09 2c 77 | 1a 9e e4 9d 59 66 64 1f 0f 3e da 1c f3 2e 6c 7c | b2 d5 fd 54 2c c4 e4 d6 92 c1 e3 63 6c 32 a0 ce | e9 19 8a 4c 67 51 d9 4c 04 d2 68 66 78 8b 5f 52 | a1 9b ff 82 24 1f aa a0 4a d4 74 22 51 df d7 9b | 2e 7d b6 e0 fd 57 4a cc c2 e1 61 54 64 e7 86 82 | a0 7c 6d 00 4f 65 31 f2 4c b4 83 31 5b 75 b6 47 | 0f 13 06 79 a0 08 07 7c 30 84 7d 4e 87 2e 2e 16 | 57 a4 de e5 ff 94 9b 71 a5 29 d5 e2 c6 57 e8 a6 | 5e 35 dd d1 d6 0d 39 f6 ff e0 a7 96 a6 a7 58 2f | bf c6 f3 3b c7 48 8d 80 fc 06 e1 b2 ac 19 0a be | 7f 83 d1 ba 85 3e dd 18 6e 0d 1a 43 fc 06 49 39 | fd 14 1c 97 2b 6d 15 ef 97 d9 52 e7 63 a6 2f 74 | bf 2d 11 d5 6c 67 01 46 13 ed 04 06 33 11 b8 a7 | 9b f4 2f d6 2a 83 b7 6a 1f 75 95 86 83 14 ab f8 | 8a 1d 13 a9 c4 96 b4 75 7e d7 0c 1b 12 eb bc 30 | c3 36 ec c0 0b e3 21 1d 0b 4f 44 b0 af 67 c0 d9 | 31 b9 c3 8d 84 c6 16 a9 51 36 10 d5 96 30 03 e1 | 79 76 92 e8 78 0b 50 aa c4 47 fd 86 8c b8 56 e5 | fa bf 18 07 c2 0e d2 f8 78 88 27 f7 0e 2e fb 7e | 28 6b 95 38 9e e2 a9 77 a6 c1 98 1f 3d ed 78 17 | 0f 74 f7 7a 31 01 73 09 aa 6e 05 19 4a b6 d1 e7 | a9 15 35 12 91 3e 60 b6 a2 b2 97 5c db 19 97 de | 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@0x55a106aaa718 | inserting event EVENT_SA_REKEY, timeout in 28530 seconds for #16 | libevent_malloc: new ptr-libevent@0x55a106aaa2e8 size 128 | resume sending helper answer for #15 suppresed complete_v2_state_transition() | #15 spent 5.07 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@0x7f9838010998 | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.0033 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00297 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) | 11 e5 9f 1f 94 b1 46 e2 a0 18 6b a9 6c 05 f6 ae | 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | 20 4c c3 e9 58 a2 a3 d1 61 b4 5f 46 94 70 47 9a | 09 0d 0d 59 c5 11 21 67 51 e9 d1 b0 2e 5c ea b8 | d0 e2 3b 81 40 ec 5c 42 2d 90 9c af 9f 52 e7 c2 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 11 e5 9f 1f 94 b1 46 e2 | responder cookie: | a0 18 6b a9 6c 05 f6 ae | 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: 11 e5 9f 1f 94 b1 46 e2 a0 18 6b a9 6c 05 f6 ae | data for hmac: 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | data for hmac: 20 4c c3 e9 58 a2 a3 d1 61 b4 5f 46 94 70 47 9a | data for hmac: 09 0d 0d 59 c5 11 21 67 51 e9 d1 b0 2e 5c ea b8 | calculated auth: d0 e2 3b 81 40 ec 5c 42 2d 90 9c af 9f 52 e7 c2 | provided auth: d0 e2 3b 81 40 ec 5c 42 2d 90 9c af 9f 52 e7 c2 | 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: | 11 e5 9f 1f 94 b1 46 e2 | responder cookie: | a0 18 6b a9 6c 05 f6 ae | 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 13 d1 1a 2d | delete PROTO_v2_ESP SA(0x13d11a2d) | 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(0x13d11a2d) "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.102s and NOT sending notification | child state #16: V2_IPSEC_R(established CHILD SA) => delete | get_sa_info esp.13d11a2d@192.1.2.45 | get_sa_info esp.3954bd35@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@0x55a106aaa2e8 | free_event_entry: release EVENT_SA_REKEY-pe@0x55a106aaa718 | 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='1566843955' 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='1566843955' 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=0x13d11a2d SPI_OUT=0x3954bd35 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.13d11a2d@192.1.2.45 | netlink response for Del SA esp.13d11a2d@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.3954bd35@192.1.2.23 | netlink response for Del SA esp.3954bd35@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 39 54 bd 35 | 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: 11 e5 9f 1f 94 b1 46 e2 a0 18 6b a9 6c 05 f6 ae | data being hmac: 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | data being hmac: ba 9f 62 8c ff 97 a3 8a da 6e 15 42 66 a5 6b 21 | data being hmac: e3 54 a4 7a 40 49 47 f8 1b 1f 25 aa 37 d7 31 36 | out calculated auth: | 19 b3 5a 37 2a 45 67 ad e5 77 f3 f9 d8 3e 2d ce | 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) | 11 e5 9f 1f 94 b1 46 e2 a0 18 6b a9 6c 05 f6 ae | 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | ba 9f 62 8c ff 97 a3 8a da 6e 15 42 66 a5 6b 21 | e3 54 a4 7a 40 49 47 f8 1b 1f 25 aa 37 d7 31 36 | 19 b3 5a 37 2a 45 67 ad e5 77 f3 f9 d8 3e 2d ce | 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 1 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.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.24 milliseconds in comm_handle_cb() reading and processing packet | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00401 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00204 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) | 11 e5 9f 1f 94 b1 46 e2 a0 18 6b a9 6c 05 f6 ae | 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | f0 3c c1 07 5e 6f d4 c5 9f 9c fe 1a ef 9a f3 72 | 11 88 1d d3 77 d3 e7 fc cd f6 ea 14 19 7b be 43 | e4 27 0c b9 ba 94 9e 1b b1 0d 3c 6a 3a 5c 69 bf | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 11 e5 9f 1f 94 b1 46 e2 | responder cookie: | a0 18 6b a9 6c 05 f6 ae | 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: 11 e5 9f 1f 94 b1 46 e2 a0 18 6b a9 6c 05 f6 ae | data for hmac: 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | data for hmac: f0 3c c1 07 5e 6f d4 c5 9f 9c fe 1a ef 9a f3 72 | data for hmac: 11 88 1d d3 77 d3 e7 fc cd f6 ea 14 19 7b be 43 | calculated auth: e4 27 0c b9 ba 94 9e 1b b1 0d 3c 6a 3a 5c 69 bf | provided auth: e4 27 0c b9 ba 94 9e 1b b1 0d 3c 6a 3a 5c 69 bf | 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: | 11 e5 9f 1f 94 b1 46 e2 | responder cookie: | a0 18 6b a9 6c 05 f6 ae | 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: 11 e5 9f 1f 94 b1 46 e2 a0 18 6b a9 6c 05 f6 ae | data being hmac: 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | data being hmac: 59 ff fa 67 4b 0e ba 5b c0 2a 90 cc 83 fc 00 2c | data being hmac: 54 89 6d bb b3 bd 4a 22 04 e4 35 f4 7e d7 cf 25 | out calculated auth: | 41 4f e7 0c 25 ac 73 05 df 18 20 31 0d bd bc 03 | 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) | 11 e5 9f 1f 94 b1 46 e2 a0 18 6b a9 6c 05 f6 ae | 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | 59 ff fa 67 4b 0e ba 5b c0 2a 90 cc 83 fc 00 2c | 54 89 6d bb b3 bd 4a 22 04 e4 35 f4 7e d7 cf 25 | 41 4f e7 0c 25 ac 73 05 df 18 20 31 0d bd bc 03 | 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.7 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.123s 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@0x55a106aa39d8 | free_event_entry: release EVENT_SA_REKEY-pe@0x55a106a9e7a8 | 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: 0x55a1069f5c48 @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.432 milliseconds in comm_handle_cb() reading and processing packet | spent 0.00327 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) | 7d 4b 28 7d 88 0a 45 dc 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 | f2 3d 7d 9e ac 91 1b e8 38 1c b9 29 65 2c 38 cc | c0 84 43 13 19 ce a6 23 14 fe 73 1d 0d d8 d4 9f | 79 e2 e3 ed 35 9e 39 f2 86 f3 20 50 23 af e4 be | 52 6c 24 84 4b 26 30 cd 11 3e 57 49 b7 15 0b 05 | 80 94 70 51 68 67 c8 6b 40 87 f5 8e c2 c9 41 51 | a4 1b 17 7e 6b 65 d0 4b 90 6e dc 56 6d 5f cf b7 | 7e 9d 7e 73 10 f4 6e e7 3e 66 40 c6 a4 dc b5 77 | df 28 48 c1 57 85 3f 17 a6 23 23 a0 19 68 88 4a | 3e 37 b1 30 17 15 9d 5f 78 0a c0 65 a2 a7 af 58 | c1 33 32 55 51 a0 3a 1e f2 eb 3c 0f 11 ce c8 61 | 6c ae 64 8a 69 df 21 35 f9 3b 94 1e 05 92 90 52 | d2 f9 2e 71 67 69 62 ee d5 19 78 cc 13 28 df 99 | 29 00 00 24 a9 ac 7a bc a9 b7 85 62 9d 59 04 b6 | 95 be e4 54 f9 18 55 a4 eb 51 6c 40 7d b5 66 1c | 83 63 53 52 29 00 00 08 00 00 40 2e 29 00 00 1c | 00 00 40 04 26 b8 f2 ef 3d 7a a4 71 fa 84 8a a8 | 35 57 9a 6d 91 93 83 bb 00 00 00 1c 00 00 40 05 | 0d 4d bb 3c a4 e3 95 dd 34 92 28 aa 67 77 20 80 | 7e c0 5c 9c | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 7d 4b 28 7d 88 0a 45 dc | 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 0x55a106aa05d8 | 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: | 7d 4b 28 7d 88 0a 45 dc | 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) | 7d 4b 28 7d 88 0a 45 dc 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.175 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.001s 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.594 milliseconds in comm_handle_cb() reading and processing packet | processing global timer EVENT_SHUNT_SCAN | expiring aged bare shunts from shunt table | spent 0.00401 milliseconds in global timer EVENT_SHUNT_SCAN | processing global timer EVENT_SHUNT_SCAN | expiring aged bare shunts from shunt table | spent 0.00427 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.000006 | spent 0.0112 milliseconds in global timer EVENT_PENDING_DDNS | processing global timer EVENT_SHUNT_SCAN | expiring aged bare shunts from shunt table | spent 0.00353 milliseconds in global timer EVENT_SHUNT_SCAN | spent 0.00306 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) | bd 63 8d b1 71 c8 bd 68 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 | a3 56 a0 49 03 d1 a1 2f 85 f1 c5 52 78 23 45 fc | c9 93 de 14 c4 ab 18 ee 97 d2 37 d0 7f 03 57 3c | e4 ee 44 66 c6 ca 17 c2 d1 b2 49 cb d8 8c c4 8f | ca d3 dc aa b5 23 cf 9f f9 3c a5 e7 f9 c5 74 b8 | 81 a5 03 f0 27 4e ab d7 e4 a1 9c 62 d6 e4 e6 3d | 7b 1a d5 c2 e1 df 96 01 2a 9c 8c d0 33 14 4a 34 | d9 4b ff 68 70 f8 13 f8 ac 4f a1 6d 60 06 23 06 | 22 7a 67 be 70 6a 6b 83 42 0c 3a 2d 30 3c 34 10 | 9f fe e6 db b4 35 e4 ac 60 b0 7b 9f 00 11 35 fc | 9a eb a8 8d f7 ce 56 b8 96 55 f4 68 ab 59 bd e1 | 08 db dc 9b c2 f4 23 4f fb 45 8d bc 04 89 a6 63 | 4c d7 86 cf 52 a7 ac d1 e5 40 b1 8e 90 c5 5c 3e | 29 00 00 24 fc 5c d6 40 b2 19 20 8b 63 13 ee 2f | 2e 07 f9 d7 d0 34 ed 9d 6b 08 e9 40 0c a6 c4 d1 | 5f 48 4f 74 29 00 00 08 00 00 40 2e 29 00 00 1c | 00 00 40 04 59 ef c1 31 91 9f 25 32 89 96 aa 09 | aa ec 82 47 d8 c5 89 2d 00 00 00 1c 00 00 40 05 | b9 75 8b 1e 0f 8f f4 04 27 09 33 1e b0 58 c2 82 | dd 56 82 77 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | bd 63 8d b1 71 c8 bd 68 | 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 0x55a106aa05d8 | 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: | bd 63 8d b1 71 c8 bd 68 | 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) | bd 63 8d b1 71 c8 bd 68 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.269 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.000s 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.08 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.402 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: 0x55a106a9ea38 @east cnt 1-- | unreference key: 0x55a1069f5c48 @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. "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@0x55a106a9e6c8 | 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@0x55a106a8ff48 | free_event_entry: release EVENT_NULL-pe@0x55a106a9bc58 | libevent_free: release ptr-libevent@0x55a106a1f2d8 | free_event_entry: release EVENT_NULL-pe@0x55a106a9bd08 | libevent_free: release ptr-libevent@0x55a106a22348 | free_event_entry: release EVENT_NULL-pe@0x55a106a9bdb8 | libevent_free: release ptr-libevent@0x55a106a263c8 | free_event_entry: release EVENT_NULL-pe@0x55a106a9be68 | libevent_free: release ptr-libevent@0x55a1069ffba8 | free_event_entry: release EVENT_NULL-pe@0x55a106a9bf18 | libevent_free: release ptr-libevent@0x55a1069fa1d8 | free_event_entry: release EVENT_NULL-pe@0x55a106a9bfc8 | FOR_EACH_UNORIENTED_CONNECTION_... in check_orientations | libevent_free: release ptr-libevent@0x55a106a8fff8 | free_event_entry: release EVENT_NULL-pe@0x55a106a83e68 | libevent_free: release ptr-libevent@0x55a106a21c28 | free_event_entry: release EVENT_NULL-pe@0x55a106a83df8 | libevent_free: release ptr-libevent@0x55a106a67678 | free_event_entry: release EVENT_NULL-pe@0x55a106a832b8 | 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@0x55a106a2e638 | signal event handler PLUTO_SIGCHLD uninstalled | libevent_free: release ptr-libevent@0x55a106a26498 | signal event handler PLUTO_SIGTERM uninstalled | libevent_free: release ptr-libevent@0x55a106a9b4b8 | signal event handler PLUTO_SIGHUP uninstalled | libevent_free: release ptr-libevent@0x55a106a9b6f8 | signal event handler PLUTO_SIGSYS uninstalled | releasing event base | libevent_free: release ptr-libevent@0x55a106a9b5c8 | libevent_free: release ptr-libevent@0x55a106a7e6a8 | libevent_free: release ptr-libevent@0x55a106a7e658 | libevent_free: release ptr-libevent@0x55a106a7e5e8 | libevent_free: release ptr-libevent@0x55a106a7e5a8 | libevent_free: release ptr-libevent@0x55a106a9b248 | libevent_free: release ptr-libevent@0x55a106a9b3f8 | libevent_free: release ptr-libevent@0x55a106a7e858 | libevent_free: release ptr-libevent@0x55a106a833c8 | libevent_free: release ptr-libevent@0x55a106a83db8 | libevent_free: release ptr-libevent@0x55a106a9c038 | libevent_free: release ptr-libevent@0x55a106a9bf88 | libevent_free: release ptr-libevent@0x55a106a9bed8 | libevent_free: release ptr-libevent@0x55a106a9be28 | libevent_free: release ptr-libevent@0x55a106a9bd78 | libevent_free: release ptr-libevent@0x55a106a9bcc8 | libevent_free: release ptr-libevent@0x55a106a1eb78 | libevent_free: release ptr-libevent@0x55a106a9b478 | libevent_free: release ptr-libevent@0x55a106a9b438 | libevent_free: release ptr-libevent@0x55a106a9b3b8 | libevent_free: release ptr-libevent@0x55a106a9b588 | libevent_free: release ptr-libevent@0x55a106a9b288 | libevent_free: release ptr-libevent@0x55a1069f9908 | libevent_free: release ptr-libevent@0x55a1069f9d38 | libevent_free: release ptr-libevent@0x55a106a1eee8 | releasing global libevent data | libevent_free: release ptr-libevent@0x55a1069fa508 | libevent_free: release ptr-libevent@0x55a1069f9cd8 | libevent_free: release ptr-libevent@0x55a1069f9dd8 leak detective found no leaks