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-827-gc9aa82b8a6-master-s2 XFRM(netkey) esp-hw-offload FORK PTHREAD_SETSCHEDPRIO NSS (IPsec profile) DNSSEC SYSTEMD_WATCHDOG FIPS_CHECK LABELED_IPSEC SECCOMP LIBCAP_NG LINUX_AUDIT XAUTH_PAM NETWORKMANAGER CURL(non-NSS)) pid:14024 core dump dir: /tmp secrets file: /etc/ipsec.secrets leak-detective disabled 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@0x5586d65d2eb0 size 40 | libevent_malloc: new ptr-libevent@0x5586d65d2ee0 size 40 | libevent_malloc: new ptr-libevent@0x5586d65d41d0 size 40 | creating event base | libevent_malloc: new ptr-libevent@0x5586d65d4190 size 56 | libevent_malloc: new ptr-libevent@0x5586d65d4200 size 664 | libevent_malloc: new ptr-libevent@0x5586d65d44a0 size 24 | libevent_malloc: new ptr-libevent@0x5586d65c5c80 size 384 | libevent_malloc: new ptr-libevent@0x5586d65d44c0 size 16 | libevent_malloc: new ptr-libevent@0x5586d65d44e0 size 40 | libevent_malloc: new ptr-libevent@0x5586d65d4510 size 48 | libevent_realloc: new ptr-libevent@0x5586d6556370 size 256 | libevent_malloc: new ptr-libevent@0x5586d65d4550 size 16 | libevent_free: release ptr-libevent@0x5586d65d4190 | libevent initialized | libevent_realloc: new ptr-libevent@0x5586d65d4570 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 1 started thread for crypto helper 2 | starting up helper thread 0 | status value returned by setting the priority of this thread (crypto helper 0) 22 | crypto helper 0 waiting (nothing to do) | status value returned by setting the priority of this thread (crypto helper 1) 22 | starting up helper thread 2 started thread for crypto helper 3 | status value returned by setting the priority of this thread (crypto helper 2) 22 | crypto helper 1 waiting (nothing to do) | starting up helper thread 3 started thread for crypto helper 4 | starting up helper thread 4 | crypto helper 2 waiting (nothing to do) | status value returned by setting the priority of this thread (crypto helper 3) 22 | crypto helper 3 waiting (nothing to do) started thread for crypto helper 5 | status value returned by setting the priority of this thread (crypto helper 4) 22 | crypto helper 4 waiting (nothing to do) | 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 | checking IKEv1 state table | starting up helper thread 6 | MAIN_R0: category: half-open IKE SA flags: 0: | -> MAIN_R1 EVENT_SO_DISCARD | status value returned by setting the priority of this thread (crypto helper 6) 22 | crypto helper 6 waiting (nothing to do) | 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.2.11+ | 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@0x5586d65d9b80 | libevent_malloc: new ptr-libevent@0x5586d65e5ca0 size 128 | libevent_malloc: new ptr-libevent@0x5586d65d8e60 size 16 | add_fd_read_event_handler: new KERNEL_ROUTE_FD-pe@0x5586d65d9b40 | libevent_malloc: new ptr-libevent@0x5586d65e5d30 size 128 | libevent_malloc: new ptr-libevent@0x5586d65d8e80 size 16 | global one-shot timer EVENT_CHECK_CRLS initialized selinux support is enabled. systemd watchdog not enabled - not sending watchdog keepalives | 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@0x5586d65d4190 | libevent_malloc: new ptr-libevent@0x5586d65f02a0 size 128 | libevent_malloc: new ptr-libevent@0x5586d65f0330 size 16 | libevent_realloc: new ptr-libevent@0x5586d65546c0 size 256 | libevent_malloc: new ptr-libevent@0x5586d65f0350 size 8 | libevent_realloc: new ptr-libevent@0x5586d65e50a0 size 144 | libevent_malloc: new ptr-libevent@0x5586d65f0370 size 152 | libevent_malloc: new ptr-libevent@0x5586d65f0410 size 16 | signal event handler PLUTO_SIGCHLD installed | libevent_malloc: new ptr-libevent@0x5586d65f0430 size 8 | libevent_malloc: new ptr-libevent@0x5586d65f0450 size 152 | signal event handler PLUTO_SIGTERM installed | libevent_malloc: new ptr-libevent@0x5586d65f04f0 size 8 | libevent_malloc: new ptr-libevent@0x5586d65f0510 size 152 | signal event handler PLUTO_SIGHUP installed | libevent_malloc: new ptr-libevent@0x5586d65f05b0 size 8 | libevent_realloc: release ptr-libevent@0x5586d65e50a0 | libevent_realloc: new ptr-libevent@0x5586d65f05d0 size 256 | libevent_malloc: new ptr-libevent@0x5586d65e50a0 size 152 | signal event handler PLUTO_SIGSYS installed | created addconn helper (pid:14126) using fork+execve | forked child 14126 | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:721) | pluto_sd: executing action action: reloading(4), status 0 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@0x5586d65f0940 | libevent_malloc: new ptr-libevent@0x5586d65f0980 size 128 | libevent_malloc: new ptr-libevent@0x5586d65f0a10 size 16 | setup callback for interface lo 127.0.0.1:4500 fd 22 | add_fd_read_event_handler: new ethX-pe@0x5586d65f0a30 | libevent_malloc: new ptr-libevent@0x5586d65f0a70 size 128 | libevent_malloc: new ptr-libevent@0x5586d65f0b00 size 16 | setup callback for interface lo 127.0.0.1:500 fd 21 | add_fd_read_event_handler: new ethX-pe@0x5586d65f0b20 | libevent_malloc: new ptr-libevent@0x5586d65f0b60 size 128 | libevent_malloc: new ptr-libevent@0x5586d65f0bf0 size 16 | setup callback for interface eth0 192.0.2.254:4500 fd 20 | add_fd_read_event_handler: new ethX-pe@0x5586d65f0c10 | libevent_malloc: new ptr-libevent@0x5586d65f0c50 size 128 | libevent_malloc: new ptr-libevent@0x5586d65f0ce0 size 16 | setup callback for interface eth0 192.0.2.254:500 fd 19 | add_fd_read_event_handler: new ethX-pe@0x5586d65f0d00 | libevent_malloc: new ptr-libevent@0x5586d65f0d40 size 128 | libevent_malloc: new ptr-libevent@0x5586d65f0dd0 size 16 | setup callback for interface eth1 192.1.2.23:4500 fd 18 | add_fd_read_event_handler: new ethX-pe@0x5586d65f0df0 | libevent_malloc: new ptr-libevent@0x5586d65f0e30 size 128 | libevent_malloc: new ptr-libevent@0x5586d65f0ec0 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' | pluto_sd: executing action action: ready(5), status 0 | close_any(fd@16) (in whack_process() at rcv_whack.c:700) | spent 0.584 milliseconds in whack | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:721) | pluto_sd: executing action action: reloading(4), status 0 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@0x5586d65f0980 | free_event_entry: release EVENT_NULL-pe@0x5586d65f0940 | add_fd_read_event_handler: new ethX-pe@0x5586d65f0940 | libevent_malloc: new ptr-libevent@0x5586d65f0980 size 128 | setup callback for interface lo 127.0.0.1:4500 fd 22 | libevent_free: release ptr-libevent@0x5586d65f0a70 | free_event_entry: release EVENT_NULL-pe@0x5586d65f0a30 | add_fd_read_event_handler: new ethX-pe@0x5586d65f0a30 | libevent_malloc: new ptr-libevent@0x5586d65f0a70 size 128 | setup callback for interface lo 127.0.0.1:500 fd 21 | libevent_free: release ptr-libevent@0x5586d65f0b60 | free_event_entry: release EVENT_NULL-pe@0x5586d65f0b20 | add_fd_read_event_handler: new ethX-pe@0x5586d65f0b20 | libevent_malloc: new ptr-libevent@0x5586d65f0b60 size 128 | setup callback for interface eth0 192.0.2.254:4500 fd 20 | libevent_free: release ptr-libevent@0x5586d65f0c50 | free_event_entry: release EVENT_NULL-pe@0x5586d65f0c10 | add_fd_read_event_handler: new ethX-pe@0x5586d65f0c10 | libevent_malloc: new ptr-libevent@0x5586d65f0c50 size 128 | setup callback for interface eth0 192.0.2.254:500 fd 19 | libevent_free: release ptr-libevent@0x5586d65f0d40 | free_event_entry: release EVENT_NULL-pe@0x5586d65f0d00 | add_fd_read_event_handler: new ethX-pe@0x5586d65f0d00 | libevent_malloc: new ptr-libevent@0x5586d65f0d40 size 128 | setup callback for interface eth1 192.1.2.23:4500 fd 18 | libevent_free: release ptr-libevent@0x5586d65f0e30 | free_event_entry: release EVENT_NULL-pe@0x5586d65f0df0 | add_fd_read_event_handler: new ethX-pe@0x5586d65f0df0 | libevent_malloc: new ptr-libevent@0x5586d65f0e30 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' | pluto_sd: executing action action: ready(5), status 0 | close_any(fd@16) (in whack_process() at rcv_whack.c:700) | spent 0.723 milliseconds in whack | processing signal PLUTO_SIGCHLD | waitpid returned pid 14126 (exited with status 0) | reaped addconn helper child (status 0) | waitpid returned ECHILD (no child processes left) | spent 0.0139 milliseconds in signal handler PLUTO_SIGCHLD | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:721) | 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@0x5586d65bd4c0 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.199 milliseconds in whack | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:721) 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 | keyid: *AQOm9dY/4 | n a6 f5 d6 3f e3 8f 6c 01 6a fc 7b 7c 6d 57 8b 49 | n 39 0d 77 f7 ac e2 85 f1 98 1e 4b 6d a5 3e b3 96 | n 9a d1 99 5a bc 10 f2 97 de f2 28 f9 5f 92 09 f0 | n c8 d4 12 e4 60 6e 9c 60 98 10 01 7d 26 b7 8f 95 | n 62 2d 87 dd cd de f6 d3 8f 35 b0 50 d0 18 f5 99 | n f8 04 f1 ff 61 5b bc 7f 1f c0 04 d8 e4 8c ac 34 | n ad 7a c1 da 3c 2d 8c 30 ae d6 3c 59 b1 3a 94 d3 | n d5 2a 73 91 bd 59 5f 3e 72 bf 4a 1b 9d c5 b2 2b | n 4d e7 0d 24 3e 77 f9 7f 2d d6 9d 29 ef 70 7d 7a | n 6d a2 b8 61 0c 4b 09 4a 06 71 84 70 85 9a 8f 52 | n a1 80 06 fd c6 fc 3e 27 fa 16 fa 32 83 a9 ca 80 | n db 0f 4a bf f7 e9 55 8e bd 29 4d 23 a6 dc 2a b3 | n 5d 62 a9 21 1e be 83 d8 69 3c 03 0a 48 8e d3 3a | n 11 f2 86 5a d1 30 65 bd c8 f4 83 87 ff 04 87 33 | n 05 4f e0 d8 8c fe b3 19 4c dd 85 40 f3 4d 6e e8 | n 49 14 06 2c 1f 59 59 05 8f 20 b0 ca 46 3f c9 20 | n 7e 04 30 7d 9a 80 6c 3f 0a 89 f7 d3 af d8 15 04 | n 37 f9 | e 03 | CKAID b4 9f 1a ac 9e 45 6e 79 29 c8 81 97 3a 0c 6a d3 | CKAID 7f 0f 03 50 | close_any(fd@16) (in whack_process() at rcv_whack.c:700) | spent 0.139 milliseconds in whack | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:721) 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 | keyid: *AQO9bJbr3 | n bd 6c 96 eb df 78 89 b3 ed 77 0d a1 7f 7b e5 16 | n c2 c9 e4 7d 92 0a 90 9d 55 43 b4 62 13 03 85 7a | n e0 26 7b 54 1f ca 09 93 cf ff 25 c9 02 4c 78 ca | n 94 e5 3e ac d1 f9 a8 e5 bb 7f cc 20 84 e0 21 c9 | n f0 0d c5 44 ba f3 48 64 61 58 f6 0f 63 0d d2 67 | n 1e 59 8b ec f3 50 39 71 fb 39 da 11 64 b6 62 cd | n 5f d3 8d 2e c1 50 ed 9c 6e 22 0c 39 a7 ce 62 b5 | n af 8a 80 0f 2e 4c 05 5c 82 c7 8d 29 02 2e bb 23 | n 5f db f2 9e b5 7d e2 20 70 1a 63 f3 8e 5d ac 47 | n f0 5c 26 4e b1 d0 42 60 52 4a b0 77 25 ce e0 98 | n 2b 43 f4 c7 59 1a 64 01 83 ea 4e e3 1a 2a 92 b8 | n 55 ab 63 dd 4b 70 47 29 dc e9 b4 60 bf 43 4d 58 | n 8f 64 73 95 70 ac 35 89 b2 c2 9c d4 62 c0 5f 56 | n 5f ad 1b e5 dd 49 93 6a f5 23 82 ed d4 e7 d5 f1 | n 55 f2 2d a2 26 a6 36 53 2f 94 fb 99 22 5c 47 cc | n 6d 80 30 88 96 38 0c f5 f2 ed 37 d0 09 d5 07 8f | n 69 ef a9 99 ce 4d 1a 77 9e 39 c4 38 f3 c5 51 51 | n 48 ef | e 03 | CKAID 61 55 99 73 d3 ac ef 7d 3a 37 0e 3e 82 ad 92 c1 | CKAID 8a 82 25 f1 | close_any(fd@16) (in whack_process() at rcv_whack.c:700) | spent 0.111 milliseconds in whack | spent 0.00287 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) | ec 86 f9 5a 61 ff 97 10 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 | f4 b8 47 5f 85 3f 82 42 57 dc bb fc 26 91 3b 8f | 53 6b 11 e0 21 e7 3d ab 0d 6e 54 87 97 f7 17 5e | c2 b9 fa 98 64 20 fa 79 3d 1c 1a 47 aa f2 4f 9c | 18 69 2a 76 a9 bb 94 38 0d 2e 04 fc a8 70 37 01 | 1f 29 88 84 96 6d 10 24 ff d3 a5 cd 7b ca a6 df | 5d 34 01 7d a8 ff 2c e8 2d e1 6b 16 e8 4d 60 24 | 1f c4 3b 4d f0 51 17 ef 2d e4 f2 5c 7e b8 a7 0d | 60 72 26 19 24 d0 ca 55 1f 29 6b fa 45 39 bc 33 | bb 01 49 cf 82 d8 d2 b5 21 fd 54 df d9 48 83 f8 | 84 13 4e 5c b3 58 f7 85 e8 86 37 40 b0 f9 6d e5 | e3 f1 67 1e b2 e0 9a 0b 00 4f b3 0c e3 6a ea 7e | 7f 03 c8 de 52 5f 9b 57 c2 c2 2c fb 59 d6 b4 f5 | 49 98 23 92 25 22 02 c3 3d e6 98 97 6a ba 74 1f | 3a 92 6e 4c 1a e1 84 00 85 9a 95 24 e0 d3 7b 1a | 75 07 bc 58 a8 c2 0b c1 55 84 be 30 10 81 bd 12 | 33 dc 2b 4f bc 82 89 8f 6d 9c 71 8a b8 a4 81 e0 | 29 00 00 24 5e 3a 5b c2 66 08 22 06 54 9d 99 f6 | b3 52 81 2f 0d b2 6c 32 5c 07 2c ca f2 be b9 b0 | c4 36 70 ad 29 00 00 08 00 00 40 2e 29 00 00 1c | 00 00 40 04 49 f6 59 4c 6c ea 85 88 43 2c ab dd | 27 8a ae 15 7e 88 6a 64 00 00 00 1c 00 00 40 05 | d4 14 07 be 63 da 45 62 d7 cf a1 1d e8 0d c9 2e | a0 c2 27 f4 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | ec 86 f9 5a 61 ff 97 10 | 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 0x5586d65f3f70 | 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: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 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:2668) | 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=0x5586d5e8c7a0(20) | natd_hash: icookie= ec 86 f9 5a 61 ff 97 10 | natd_hash: rcookie= 00 00 00 00 00 00 00 00 | natd_hash: ip= c0 01 02 17 | natd_hash: port= 01 f4 | natd_hash: hash= d4 14 07 be 63 da 45 62 d7 cf a1 1d e8 0d c9 2e | natd_hash: hash= a0 c2 27 f4 | natd_hash: rcookie is zero | natd_hash: hasher=0x5586d5e8c7a0(20) | natd_hash: icookie= ec 86 f9 5a 61 ff 97 10 | natd_hash: rcookie= 00 00 00 00 00 00 00 00 | natd_hash: ip= c0 01 02 2d | natd_hash: port= 01 f4 | natd_hash: hash= 49 f6 59 4c 6c ea 85 88 43 2c ab dd 27 8a ae 15 | natd_hash: hash= 7e 88 6a 64 | 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@0x5586d65f28e0 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #1 | libevent_malloc: new ptr-libevent@0x5586d65f6c90 size 128 | #1 spent 0.218 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:3376) | #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:3266) | "westnet-eastnet-ikev2" #1 complete v2 state STATE_PARENT_R0 transition with STF_SUSPEND suspended from complete_v2_state_transition:3448 | 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 | 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.506 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.514 milliseconds in comm_handle_cb() reading and processing packet | crypto helper 0 finished build KE and nonce (ikev2_inI1outR1 KE); request ID 1 time elapsed 0.000563 seconds | (#1) spent 0.567 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@0x7fbff8006900 size 128 | crypto helper 0 waiting (nothing to do) | processing resume sending helper answer for #1 | start processing: state #1 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in resume_handler() at server.c:797) | crypto helper 0 replies to request ID 1 | calling continuation function 0x5586d5db6630 | ikev2_parent_inI1outR1_continue for #1: calculated ke+nonce, sending R1 | **emit ISAKMP Message: | initiator cookie: | ec 86 f9 5a 61 ff 97 10 | responder cookie: | 37 2b 58 6f f7 6a 9b b6 | 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 51 51 1e 8e ae d5 3b e3 dd 03 4b a3 61 32 6a 3e | ikev2 g^x e5 81 78 5c 7a 44 5f c0 e8 52 3a bf 2a 77 43 df | ikev2 g^x 50 57 15 ee 48 d0 07 51 db 2f 30 36 41 a8 f4 53 | ikev2 g^x fe cf 89 1f d4 11 ff 85 e9 fd 94 97 31 7b 1a 97 | ikev2 g^x ed e3 ae 30 69 06 5f c2 66 61 85 b8 8b 57 dd 8f | ikev2 g^x aa 1a f2 eb 57 34 d9 5b f1 cf e3 df 5f 2e 65 0c | ikev2 g^x 9d fa ad 3b 86 bb 91 c2 f1 5c 35 a9 d5 76 c8 f2 | ikev2 g^x 6b 21 96 68 8b fd 28 bd 0a 8f ce 0f 5d 8a 94 65 | ikev2 g^x c3 c0 ba 89 ca 96 93 55 c2 24 7a 28 83 10 51 20 | ikev2 g^x 06 31 38 4e f1 3e ef a0 30 d7 a8 e1 61 ca 6e 48 | ikev2 g^x b4 a7 1c d6 44 77 55 2f 23 5a d7 c7 61 13 1e 56 | ikev2 g^x df 21 9e 98 69 57 0b 2a ee 91 01 b7 31 39 53 94 | ikev2 g^x 5a af 89 76 57 09 a8 6e 58 71 a8 dc dc a3 2b e0 | ikev2 g^x 5a 6f cb 7e 74 f2 18 88 33 55 c8 f1 bd f9 fc 7c | ikev2 g^x 2d 6e 19 8e b8 e8 71 cd d4 ae ee 0b 8b 3e 11 98 | ikev2 g^x 39 42 22 cd 44 ae 3e f3 35 ab 70 7a ca 2f e2 b9 | 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 15 ce 38 dd 4d 57 01 0c 46 ae 70 cb f6 ce 05 95 | IKEv2 nonce 76 f2 12 9b 73 03 75 15 14 78 d7 89 ec a5 d2 db | 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=0x5586d5e8c7a0(20) | natd_hash: icookie= ec 86 f9 5a 61 ff 97 10 | natd_hash: rcookie= 37 2b 58 6f f7 6a 9b b6 | natd_hash: ip= c0 01 02 17 | natd_hash: port= 01 f4 | natd_hash: hash= 95 c3 dc 18 e7 bf 95 0b 05 b5 81 ff df 1a 60 be | natd_hash: hash= 25 a0 0c 03 | 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 95 c3 dc 18 e7 bf 95 0b 05 b5 81 ff df 1a 60 be | Notify data 25 a0 0c 03 | emitting length of IKEv2 Notify Payload: 28 | natd_hash: hasher=0x5586d5e8c7a0(20) | natd_hash: icookie= ec 86 f9 5a 61 ff 97 10 | natd_hash: rcookie= 37 2b 58 6f f7 6a 9b b6 | natd_hash: ip= c0 01 02 2d | natd_hash: port= 01 f4 | natd_hash: hash= 63 64 29 df cb 28 f4 f0 a9 eb 0d fa 3a 54 49 e2 | natd_hash: hash= 09 b2 14 b2 | 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 63 64 29 df cb 28 f4 f0 a9 eb 0d fa 3a 54 49 e2 | Notify data 09 b2 14 b2 | 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:3376) | #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) | ec 86 f9 5a 61 ff 97 10 37 2b 58 6f f7 6a 9b b6 | 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 51 51 1e 8e ae d5 3b e3 dd 03 4b a3 | 61 32 6a 3e e5 81 78 5c 7a 44 5f c0 e8 52 3a bf | 2a 77 43 df 50 57 15 ee 48 d0 07 51 db 2f 30 36 | 41 a8 f4 53 fe cf 89 1f d4 11 ff 85 e9 fd 94 97 | 31 7b 1a 97 ed e3 ae 30 69 06 5f c2 66 61 85 b8 | 8b 57 dd 8f aa 1a f2 eb 57 34 d9 5b f1 cf e3 df | 5f 2e 65 0c 9d fa ad 3b 86 bb 91 c2 f1 5c 35 a9 | d5 76 c8 f2 6b 21 96 68 8b fd 28 bd 0a 8f ce 0f | 5d 8a 94 65 c3 c0 ba 89 ca 96 93 55 c2 24 7a 28 | 83 10 51 20 06 31 38 4e f1 3e ef a0 30 d7 a8 e1 | 61 ca 6e 48 b4 a7 1c d6 44 77 55 2f 23 5a d7 c7 | 61 13 1e 56 df 21 9e 98 69 57 0b 2a ee 91 01 b7 | 31 39 53 94 5a af 89 76 57 09 a8 6e 58 71 a8 dc | dc a3 2b e0 5a 6f cb 7e 74 f2 18 88 33 55 c8 f1 | bd f9 fc 7c 2d 6e 19 8e b8 e8 71 cd d4 ae ee 0b | 8b 3e 11 98 39 42 22 cd 44 ae 3e f3 35 ab 70 7a | ca 2f e2 b9 29 00 00 24 15 ce 38 dd 4d 57 01 0c | 46 ae 70 cb f6 ce 05 95 76 f2 12 9b 73 03 75 15 | 14 78 d7 89 ec a5 d2 db 29 00 00 08 00 00 40 2e | 29 00 00 1c 00 00 40 04 95 c3 dc 18 e7 bf 95 0b | 05 b5 81 ff df 1a 60 be 25 a0 0c 03 00 00 00 1c | 00 00 40 05 63 64 29 df cb 28 f4 f0 a9 eb 0d fa | 3a 54 49 e2 09 b2 14 b2 | state #1 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x5586d65f6c90 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x5586d65f28e0 | event_schedule: new EVENT_SO_DISCARD-pe@0x5586d65f28e0 | inserting event EVENT_SO_DISCARD, timeout in 200 seconds for #1 | libevent_malloc: new ptr-libevent@0x5586d65f6c90 size 128 | resume sending helper answer for #1 suppresed complete_v2_state_transition() | #1 spent 0.336 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@0x7fbff8006900 | spent 0.00245 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) | ec 86 f9 5a 61 ff 97 10 37 2b 58 6f f7 6a 9b b6 | 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | 09 19 fe 3a 07 78 3f c8 e0 0e 8d 77 72 67 0f ff | 38 57 1f b1 d8 f2 19 c0 dd b6 b3 a2 0a cb 4b e2 | b2 2f 65 c0 69 2c c9 6d 7a 0e 53 ab d5 da e0 6c | e8 99 73 68 aa b2 62 23 f7 08 cc ff e6 af 2d 79 | 46 86 74 69 dd 79 e0 51 9a ef 1e b5 ad 41 99 fe | ed e2 8e ff 90 9a 3c 7f 5f da 9e 14 ed 72 39 1e | a7 c3 db 8f a8 e8 23 40 2a 9e 85 1f 75 84 d6 e7 | 14 1b da 5f fb b6 f0 83 a5 9a 02 2c a8 68 1b 5d | b9 9d 05 ae e2 4c a9 ca c3 d0 e6 63 de dd 03 82 | 36 dc f7 42 6f 34 6b 14 6a 41 72 da f3 96 b1 dc | c9 88 a5 c5 1f 4c 20 d8 4d 6a 69 fd 7f c4 29 9a | c4 cf d5 c5 c9 b8 ad 07 92 0c c3 73 ca 54 e7 dc | 97 76 fb 0b 21 71 60 a6 11 ca 32 96 e2 09 2d e5 | 06 9e 9b e3 83 83 b5 f6 7d 1a 0f b3 8e c5 67 f2 | 68 bb 0a 31 d8 01 fe a0 4f a2 53 6f 43 5d 31 b6 | 28 dc 16 ca 47 0b b7 5c d0 9c b1 3a bc 30 69 79 | f5 7a 8e a4 be 7c 2e 52 33 d1 bc 75 cc eb 48 33 | a2 82 fe d7 c4 0e fd 1e 59 06 74 1e bd e2 5a aa | 03 39 c9 8c e3 59 1b 5e 9b 49 f8 d5 e1 60 72 f1 | cc 2f d3 44 29 54 bf 94 e8 ba 95 6e 60 66 44 23 | 91 3b c0 ad e6 a2 20 ae bf 6c d6 49 7d 8f ee aa | 5d cb db bb 02 69 bc cd 3e eb 2a a7 ee bc 1e 44 | 0a 28 23 cc ee 47 7a 69 d6 51 b1 e3 7c b8 df e0 | 8a 58 aa 41 cb df e6 c5 f8 d0 05 18 8e 1d 01 60 | 94 37 d9 20 19 ca 33 ac 01 87 d3 2b 90 70 78 bb | e3 6c 1c be 03 44 45 b6 3f cd 86 db e7 0d 83 b8 | 74 d4 69 10 e6 cc eb ff 60 42 8e d2 7c a7 e0 6a | 4c ea b5 34 f0 15 23 a5 19 f3 d9 84 a3 73 7b db | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | ec 86 f9 5a 61 ff 97 10 | responder cookie: | 37 2b 58 6f f7 6a 9b b6 | 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@0x5586d65f6c90 | free_event_entry: release EVENT_SO_DISCARD-pe@0x5586d65f28e0 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x5586d65f28e0 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #1 | libevent_malloc: new ptr-libevent@0x5586d65f6c90 size 128 | #1 spent 0.0204 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:3376) | #1 complete_v2_state_transition() PARENT_R1->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:3266) | "westnet-eastnet-ikev2" #1 complete v2 state STATE_PARENT_R1 transition with STF_SUSPEND suspended from complete_v2_state_transition:3448 | crypto helper 1 resuming | crypto helper 1 starting work-order 2 for state #1 | crypto helper 1 doing compute dh (V2) (ikev2_inI2outR2 KE); request ID 2 | 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.237 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.248 milliseconds in comm_handle_cb() reading and processing packet | calculating skeyseed using prf=sha2_256 integ=sha2_256 cipherkey-size=32 salt-size=0 | crypto helper 1 finished compute dh (V2) (ikev2_inI2outR2 KE); request ID 2 time elapsed 0.000942 seconds | (#1) spent 0.957 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@0x7fbff0003060 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 0x5586d5db6630 | ikev2_parent_inI2outR2_continue for #1: calculating g^{xy}, sending R2 | #1 in state PARENT_R1: received v2I1, sent v2R1 | data for hmac: ec 86 f9 5a 61 ff 97 10 37 2b 58 6f f7 6a 9b b6 | data for hmac: 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | data for hmac: 09 19 fe 3a 07 78 3f c8 e0 0e 8d 77 72 67 0f ff | data for hmac: 38 57 1f b1 d8 f2 19 c0 dd b6 b3 a2 0a cb 4b e2 | data for hmac: b2 2f 65 c0 69 2c c9 6d 7a 0e 53 ab d5 da e0 6c | data for hmac: e8 99 73 68 aa b2 62 23 f7 08 cc ff e6 af 2d 79 | data for hmac: 46 86 74 69 dd 79 e0 51 9a ef 1e b5 ad 41 99 fe | data for hmac: ed e2 8e ff 90 9a 3c 7f 5f da 9e 14 ed 72 39 1e | data for hmac: a7 c3 db 8f a8 e8 23 40 2a 9e 85 1f 75 84 d6 e7 | data for hmac: 14 1b da 5f fb b6 f0 83 a5 9a 02 2c a8 68 1b 5d | data for hmac: b9 9d 05 ae e2 4c a9 ca c3 d0 e6 63 de dd 03 82 | data for hmac: 36 dc f7 42 6f 34 6b 14 6a 41 72 da f3 96 b1 dc | data for hmac: c9 88 a5 c5 1f 4c 20 d8 4d 6a 69 fd 7f c4 29 9a | data for hmac: c4 cf d5 c5 c9 b8 ad 07 92 0c c3 73 ca 54 e7 dc | data for hmac: 97 76 fb 0b 21 71 60 a6 11 ca 32 96 e2 09 2d e5 | data for hmac: 06 9e 9b e3 83 83 b5 f6 7d 1a 0f b3 8e c5 67 f2 | data for hmac: 68 bb 0a 31 d8 01 fe a0 4f a2 53 6f 43 5d 31 b6 | data for hmac: 28 dc 16 ca 47 0b b7 5c d0 9c b1 3a bc 30 69 79 | data for hmac: f5 7a 8e a4 be 7c 2e 52 33 d1 bc 75 cc eb 48 33 | data for hmac: a2 82 fe d7 c4 0e fd 1e 59 06 74 1e bd e2 5a aa | data for hmac: 03 39 c9 8c e3 59 1b 5e 9b 49 f8 d5 e1 60 72 f1 | data for hmac: cc 2f d3 44 29 54 bf 94 e8 ba 95 6e 60 66 44 23 | data for hmac: 91 3b c0 ad e6 a2 20 ae bf 6c d6 49 7d 8f ee aa | data for hmac: 5d cb db bb 02 69 bc cd 3e eb 2a a7 ee bc 1e 44 | data for hmac: 0a 28 23 cc ee 47 7a 69 d6 51 b1 e3 7c b8 df e0 | data for hmac: 8a 58 aa 41 cb df e6 c5 f8 d0 05 18 8e 1d 01 60 | data for hmac: 94 37 d9 20 19 ca 33 ac 01 87 d3 2b 90 70 78 bb | data for hmac: e3 6c 1c be 03 44 45 b6 3f cd 86 db e7 0d 83 b8 | data for hmac: 74 d4 69 10 e6 cc eb ff 60 42 8e d2 7c a7 e0 6a | calculated auth: 4c ea b5 34 f0 15 23 a5 19 f3 d9 84 a3 73 7b db | provided auth: 4c ea b5 34 f0 15 23 a5 19 f3 d9 84 a3 73 7b db | 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:2668) | 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=0x5586d65e5e80 (line=1) | concluding with best_match=002 best=0x5586d65e5e80 (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' | RSA key issuer CA is '%any' | an RSA Sig check passed with *AQOm9dY/4 [preloaded keys] | #1 spent 0.0453 milliseconds in try_all_keys() trying a pubkey "westnet-eastnet-ikev2" #1: Authenticated using RSA | #1 spent 0.0625 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@0x5586d65f6c90 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x5586d65f28e0 | event_schedule: new EVENT_SA_REKEY-pe@0x5586d65f28e0 | inserting event EVENT_SA_REKEY, timeout in 3330 seconds for #1 | libevent_malloc: new ptr-libevent@0x5586d65f6c90 size 128 | pstats #1 ikev2.ike established | **emit ISAKMP Message: | initiator cookie: | ec 86 f9 5a 61 ff 97 10 | responder cookie: | 37 2b 58 6f f7 6a 9b b6 | 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=0x5586d65e5e80 (line=1) | concluding with best_match=002 best=0x5586d65e5e80 (lineno=1) | #1 spent 2.98 milliseconds in ikev2_calculate_rsa_hash() calling sign_hash_RSA() | emitting 274 raw bytes of rsa signature into IKEv2 Authentication Payload | rsa signature 7e e3 ba 94 94 70 94 ea 3e f1 ea 33 7f 6b dd 0c | rsa signature 28 68 c4 f9 88 ba 4f 43 6d fd 9e d5 15 a9 0e eb | rsa signature 9a 54 7a 30 6f b6 52 80 5d 42 b5 55 73 f6 8c 31 | rsa signature 35 64 e0 b6 1c 8d 92 ae 34 55 5c 7d a0 d7 a1 10 | rsa signature e9 d9 30 46 c9 32 07 9e 1e ca 56 ff 38 79 6f 42 | rsa signature 37 60 5e 4e 20 f7 68 94 f8 76 f0 87 6a a9 df e0 | rsa signature 9e b1 5c b0 d6 41 fc a3 00 ea 79 c8 8f fa 03 21 | rsa signature 60 74 93 e9 b8 e6 99 46 aa 94 00 bd 3a b4 9e 70 | rsa signature 8d 31 cf 86 2b a6 67 c4 e9 a4 b6 e6 3d 2c 50 0a | rsa signature f7 12 d0 1a 44 d1 ae 75 35 0a ee e6 1f 13 6f dc | rsa signature 00 0e 8f 2c a4 8e 2c 9e bc dd 61 0c d6 6e 39 c6 | rsa signature f2 12 e7 a0 4e 7a 76 49 c0 74 c1 b9 b3 1e 4a eb | rsa signature 7b c7 4b bf ba 8f 37 b8 95 ca 27 ce 17 55 35 8b | rsa signature 9d f5 6b 1f 2a 88 ba 24 a0 cc 39 32 74 8c bb f6 | rsa signature 90 42 9f ba 08 5c cd 2c fd 6b cb 65 fd 79 b9 2a | rsa signature da 02 2f cb 4e 92 cb 25 5e ce d3 1b 12 12 ff 25 | rsa signature 42 d2 d5 4e f0 84 74 0e 29 1f 21 f4 a5 1b 80 40 | rsa signature 81 fe | #1 spent 3.03 milliseconds in ikev2_calculate_rsa_hash() | emitting length of IKEv2 Authentication Payload: 282 | creating state object #2 at 0x5586d65fe840 | 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:1481) | 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/0 R=192.0.2.0/24:0:0/0 to their: | TSi[0] .net=192.0.1.0-192.0.1.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.1.0/24 == TSi[0]net=192.0.1.0-192.0.1.255: YES fitness 32 | narrow port end=0..65535 == TSi[0]=0..65535: 0 | TSi[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSi[0]=*0: 0 | match end->protocol=*0 == TSi[0].ipprotoid=*0: YES fitness 255 | TSr[0] .net=192.0.2.0-192.0.2.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.2.0/24 == TSr[0]net=192.0.2.0-192.0.2.255: YES fitness 32 | narrow port end=0..65535 == TSr[0]=0..65535: 0 | TSr[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSr[0]=*0: 0 | match end->protocol=*0 == TSr[0].ipprotoid=*0: YES fitness 255 | best fit so far: TSi[0] TSr[0] | found better spd route for TSi[0],TSr[0] | looking for better host pair | find_host_pair: comparing 192.1.2.23:500 to 192.1.2.45:500 but ignoring ports | checking hostpair 192.0.2.0/24:0 -> 192.0.1.0/24:0 is found | investigating connection "westnet-eastnet-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/0 R=192.0.2.0/24:0:0/0 to their: | TSi[0] .net=192.0.1.0-192.0.1.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.1.0/24 == TSi[0]net=192.0.1.0-192.0.1.255: YES fitness 32 | narrow port end=0..65535 == TSi[0]=0..65535: 0 | TSi[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSi[0]=*0: 0 | match end->protocol=*0 == TSi[0].ipprotoid=*0: YES fitness 255 | TSr[0] .net=192.0.2.0-192.0.2.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.2.0/24 == TSr[0]net=192.0.2.0-192.0.2.255: YES fitness 32 | narrow port end=0..65535 == TSr[0]=0..65535: 0 | TSr[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSr[0]=*0: 0 | match end->protocol=*0 == TSr[0].ipprotoid=*0: YES fitness 255 | best fit so far: TSi[0] TSr[0] | did not find a better connection using host pair | printing contents struct traffic_selector | ts_type: IKEv2_TS_IPV4_ADDR_RANGE | ipprotoid: 0 | port range: 0-65535 | ip range: 192.0.2.0-192.0.2.255 | printing contents struct traffic_selector | ts_type: IKEv2_TS_IPV4_ADDR_RANGE | ipprotoid: 0 | port range: 0-65535 | ip range: 192.0.1.0-192.0.1.255 | constructing ESP/AH proposals with all DH removed for westnet-eastnet-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 78 d7 81 8c | 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=78d7818c;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=78d7818c;ENCR=AES_CBC_256;INTEG=HMAC_SHA2_256_128;ESN=DISABLED | converting proposal to internal trans attrs | netlink_get_spi: allocated 0x4e3cc012 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 4e 3c c0 12 | ******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 IP start into IKEv2 Traffic Selector | IP start c0 00 01 00 | emitting 4 raw bytes of IP end into IKEv2 Traffic Selector | IP end c0 00 01 ff | emitting length of IKEv2 Traffic Selector: 16 | emitting length of IKEv2 Traffic Selector - Initiator - Payload: 24 | ****emit IKEv2 Traffic Selector - Responder - Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | number of TS: 1 (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 IP start into IKEv2 Traffic Selector | IP start c0 00 02 00 | emitting 4 raw bytes of IP end into IKEv2 Traffic Selector | IP end c0 00 02 ff | emitting length of IKEv2 Traffic Selector: 16 | emitting length of IKEv2 Traffic Selector - Responder - Payload: 24 | Initiator child policy is compress=no, NOT sending v2N_IPCOMP_SUPPORTED | integ=sha2_256: .key_size=32 encrypt=aes: .key_size=32 .salt_size=0 keymat_len=64 | FOR_EACH_CONNECTION_... in ISAKMP_SA_established | install_ipsec_sa() for #2: inbound and outbound | could_route called for westnet-eastnet-ikev2 (kind=CK_PERMANENT) | FOR_EACH_CONNECTION_... in route_owner | conn westnet-eastnet-ikev2 mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ikev2 mark 0/00000000, 0/00000000 | route owner of "westnet-eastnet-ikev2" unrouted: NULL; eroute owner: NULL | looking for alg with encrypt: AES_CBC keylen: 256 integ: HMAC_SHA2_256_128 | encrypt AES_CBC keylen=256 transid=12, key_size=32, encryptalg=12 | st->st_esp.keymat_len=64 is encrypt_keymat_size=32 + integ_keymat_size=32 | setting IPsec SA replay-window to 32 | NIC esp-hw-offload not for connection 'westnet-eastnet-ikev2' not available on interface eth1 | netlink: enabling tunnel mode | netlink: setting IPsec SA replay-window to 32 using old-style req | netlink: esp-hw-offload not set for IPsec SA | netlink response for Add SA esp.78d7818c@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.4e3cc012@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=0x78 | popen cmd is 1040 chars long | cmd( 0):PLUTO_VERB='up-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet-ike: | cmd( 80):v2' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLU: | cmd( 160):TO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' : | cmd( 240):PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLU: | cmd( 320):TO_SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@: | cmd( 400):west' PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_P: | cmd( 480):EER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUT: | cmd( 560):O_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='RSASIG+EN: | cmd( 640):CRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND=: | cmd( 720):'CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISCO=': | cmd( 800):0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_C: | cmd( 880):FG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' VTI_ROUT: | cmd( 960):ING='no' VTI_SHARED='no' SPI_IN=0x78d7818c SPI_OUT=0x4e3cc012 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=0x78d7818c SPI_OUT=0x4e3cc012 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=0x78d7818c SPI_OUT=0x4e3cc012 ipsec _updown 2: | cmd(1040):>&1: | route_and_eroute: instance "westnet-eastnet-ikev2", setting eroute_owner {spd=0x5586d65f1810,sr=0x5586d65f1810} to #2 (was #0) (newest_ipsec_sa=#0) | #1 spent 0.738 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: ec 86 f9 5a 61 ff 97 10 37 2b 58 6f f7 6a 9b b6 | data being hmac: 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | data being hmac: a0 ba 8a c0 7a 32 7b e4 87 28 96 83 52 ee a1 f5 | data being hmac: d4 5c e7 40 3e 94 f9 96 4a 4d 95 7c 50 7c cf ea | data being hmac: c9 6c 6f 31 79 5f e6 ab 4b bd 8d 99 bd 01 d2 33 | data being hmac: ba bf 8d 15 3a 0c 06 3c 9c d4 87 a2 ca 63 e5 a6 | data being hmac: 38 4f 88 6b 68 8f 14 22 2b 46 d2 b4 e5 f6 b7 e5 | data being hmac: a5 7f 44 4a 6d 6f 61 e4 80 e9 91 85 73 75 d4 1c | data being hmac: cf 07 30 45 ff 8a 2e 0c 96 87 fa 6c f2 f2 60 ea | data being hmac: 3d 07 e5 4b 7f bd d0 52 39 07 a8 a4 53 f6 8a a5 | data being hmac: 7f e8 48 94 ef 42 a7 f7 ab 74 c8 9c 69 38 d5 b1 | data being hmac: df 4e da 0d e8 b9 fe fb 93 be ce 52 f1 5d 02 28 | data being hmac: fe a3 da 91 19 3f 66 dc e3 50 41 8e e8 36 ed 4d | data being hmac: 5f e4 2d 14 89 00 15 97 a2 f4 75 42 11 bd 81 33 | data being hmac: 07 26 c5 5c 2f f5 7f de e8 aa f2 f0 f6 1f d9 79 | data being hmac: 64 29 da 6d 3d b7 0f eb b0 b2 d3 0a e6 81 ff fb | data being hmac: c6 71 4a 1b 9e 93 64 3a 95 16 c4 b4 c7 e5 fe 51 | data being hmac: 48 ec 3a ae f0 41 44 89 52 2b 90 d7 84 69 b9 0a | data being hmac: 2d b2 a1 a1 58 d9 16 db 6d e9 90 bc 9d 28 bb c9 | data being hmac: 15 7d db d0 62 4e ff 48 40 b6 01 51 4e 47 36 92 | data being hmac: bc df d0 c2 5a f5 88 0a d6 96 bd 2f a4 fb 11 d7 | data being hmac: 5b c3 84 51 3d cf c4 54 f4 92 e5 d2 71 54 05 7f | data being hmac: 07 ca c6 f8 3d 1a 0b bc 76 63 af b8 80 86 50 2d | data being hmac: 53 1c 95 a7 94 9d d8 7c 2a fb 02 58 1b b2 64 4a | data being hmac: 89 49 1d 82 30 2d ab e1 f3 5e 0e be d9 24 bd 4e | data being hmac: d1 dc 83 b0 ab 04 4e 4d 0c 14 c4 77 5c c0 2c a8 | data being hmac: 0d 83 15 31 df 08 2f 6a 3e 7b 52 0b a7 85 c2 56 | data being hmac: 37 cb 3e ea 85 44 12 24 1c 86 ec 5e b2 16 bb 54 | out calculated auth: | 2c 1f 74 0e 04 73 ed 16 3e 47 64 22 dc 90 26 e3 | ikev2_parent_inI2outR2_continue_tail returned STF_OK | #1 spent 4.82 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:3376) | start processing: state #2 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3376) | #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=>0x78d7818c <0x4e3cc012 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) | ec 86 f9 5a 61 ff 97 10 37 2b 58 6f f7 6a 9b b6 | 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | a0 ba 8a c0 7a 32 7b e4 87 28 96 83 52 ee a1 f5 | d4 5c e7 40 3e 94 f9 96 4a 4d 95 7c 50 7c cf ea | c9 6c 6f 31 79 5f e6 ab 4b bd 8d 99 bd 01 d2 33 | ba bf 8d 15 3a 0c 06 3c 9c d4 87 a2 ca 63 e5 a6 | 38 4f 88 6b 68 8f 14 22 2b 46 d2 b4 e5 f6 b7 e5 | a5 7f 44 4a 6d 6f 61 e4 80 e9 91 85 73 75 d4 1c | cf 07 30 45 ff 8a 2e 0c 96 87 fa 6c f2 f2 60 ea | 3d 07 e5 4b 7f bd d0 52 39 07 a8 a4 53 f6 8a a5 | 7f e8 48 94 ef 42 a7 f7 ab 74 c8 9c 69 38 d5 b1 | df 4e da 0d e8 b9 fe fb 93 be ce 52 f1 5d 02 28 | fe a3 da 91 19 3f 66 dc e3 50 41 8e e8 36 ed 4d | 5f e4 2d 14 89 00 15 97 a2 f4 75 42 11 bd 81 33 | 07 26 c5 5c 2f f5 7f de e8 aa f2 f0 f6 1f d9 79 | 64 29 da 6d 3d b7 0f eb b0 b2 d3 0a e6 81 ff fb | c6 71 4a 1b 9e 93 64 3a 95 16 c4 b4 c7 e5 fe 51 | 48 ec 3a ae f0 41 44 89 52 2b 90 d7 84 69 b9 0a | 2d b2 a1 a1 58 d9 16 db 6d e9 90 bc 9d 28 bb c9 | 15 7d db d0 62 4e ff 48 40 b6 01 51 4e 47 36 92 | bc df d0 c2 5a f5 88 0a d6 96 bd 2f a4 fb 11 d7 | 5b c3 84 51 3d cf c4 54 f4 92 e5 d2 71 54 05 7f | 07 ca c6 f8 3d 1a 0b bc 76 63 af b8 80 86 50 2d | 53 1c 95 a7 94 9d d8 7c 2a fb 02 58 1b b2 64 4a | 89 49 1d 82 30 2d ab e1 f3 5e 0e be d9 24 bd 4e | d1 dc 83 b0 ab 04 4e 4d 0c 14 c4 77 5c c0 2c a8 | 0d 83 15 31 df 08 2f 6a 3e 7b 52 0b a7 85 c2 56 | 37 cb 3e ea 85 44 12 24 1c 86 ec 5e b2 16 bb 54 | 2c 1f 74 0e 04 73 ed 16 3e 47 64 22 dc 90 26 e3 | 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@0x5586d65fcef0 | inserting event EVENT_SA_REKEY, timeout in 28530 seconds for #2 | libevent_malloc: new ptr-libevent@0x5586d65faa30 size 128 | resume sending helper answer for #1 suppresed complete_v2_state_transition() | #1 spent 5.13 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@0x7fbff0003060 | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00644 milliseconds in signal handler PLUTO_SIGCHLD | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00341 milliseconds in signal handler PLUTO_SIGCHLD | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00278 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00333 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) | ec 86 f9 5a 61 ff 97 10 37 2b 58 6f f7 6a 9b b6 | 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | 64 92 f3 45 75 b2 8a 79 70 4a a7 03 9b 38 43 ce | dd 85 9a 59 ab ec ea a9 fb b0 48 9c 54 cb 6f cf | 62 9d 17 6b 85 b7 1c 1c 29 2a 04 8c 62 7e 25 99 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | ec 86 f9 5a 61 ff 97 10 | responder cookie: | 37 2b 58 6f f7 6a 9b b6 | 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: ec 86 f9 5a 61 ff 97 10 37 2b 58 6f f7 6a 9b b6 | data for hmac: 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | data for hmac: 64 92 f3 45 75 b2 8a 79 70 4a a7 03 9b 38 43 ce | data for hmac: dd 85 9a 59 ab ec ea a9 fb b0 48 9c 54 cb 6f cf | calculated auth: 62 9d 17 6b 85 b7 1c 1c 29 2a 04 8c 62 7e 25 99 | provided auth: 62 9d 17 6b 85 b7 1c 1c 29 2a 04 8c 62 7e 25 99 | 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: | ec 86 f9 5a 61 ff 97 10 | responder cookie: | 37 2b 58 6f f7 6a 9b b6 | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_INFORMATIONAL (0x25) | flags: ISAKMP_FLAG_v2_MSG_RESPONSE (0x20) | Message ID: 2 (0x2) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | ***emit IKEv2 Encryption Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'ISAKMP Message'.'next payload type' to current IKEv2 Encryption Payload (46:ISAKMP_NEXT_v2SK) | next payload chain: saving location 'IKEv2 Encryption Payload'.'next payload type' in 'information exchange reply packet' | emitting 16 zero bytes of IV into IKEv2 Encryption Payload | parsing 4 raw bytes of IKEv2 Delete Payload into SPI | SPI 78 d7 81 8c | delete PROTO_v2_ESP SA(0x78d7818c) | 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(0x78d7818c) "westnet-eastnet-ikev2" #1: received Delete SA payload: delete IPsec State #2 now | pstats #2 ikev2.child deleted completed | suspend processing: state #1 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in delete_state() at state.c:879) | start processing: state #2 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in delete_state() at state.c:879) "westnet-eastnet-ikev2" #2: deleting other state #2 (STATE_V2_IPSEC_R) aged 0.128s and NOT sending notification | child state #2: V2_IPSEC_R(established CHILD SA) => delete | get_sa_info esp.78d7818c@192.1.2.45 | get_sa_info esp.4e3cc012@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@0x5586d65faa30 | free_event_entry: release EVENT_SA_REKEY-pe@0x5586d65fcef0 | 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='1569050781' 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='1569050781' 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=0x78d7818c SPI_OUT=0x4e3cc012 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 192.0.2.0/24:0 --0->- 192.0.1.0/24:0 | netlink_shunt_eroute for proto 0, and source 192.0.2.0/24:0 dest 192.0.1.0/24:0 | priority calculation of connection "westnet-eastnet-ikev2" is 0xfe7e7 | IPsec Sa SPD priority set to 1042407 | delete esp.78d7818c@192.1.2.45 | netlink response for Del SA esp.78d7818c@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.4e3cc012@192.1.2.23 | netlink response for Del SA esp.4e3cc012@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 4e 3c c0 12 | 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: ec 86 f9 5a 61 ff 97 10 37 2b 58 6f f7 6a 9b b6 | data being hmac: 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | data being hmac: 6e e1 d1 22 5f 34 cb 99 04 26 90 23 26 71 39 34 | data being hmac: 54 17 76 17 64 00 c7 0a a5 bb 01 0c 99 a8 4b 4d | out calculated auth: | f3 27 ed 26 7d 5f 4e 42 6d c1 6c 2e 03 35 33 19 | 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) | ec 86 f9 5a 61 ff 97 10 37 2b 58 6f f7 6a 9b b6 | 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | 6e e1 d1 22 5f 34 cb 99 04 26 90 23 26 71 39 34 | 54 17 76 17 64 00 c7 0a a5 bb 01 0c 99 a8 4b 4d | f3 27 ed 26 7d 5f 4e 42 6d c1 6c 2e 03 35 33 19 | 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 0.664 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:3376) | #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 0.862 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.871 milliseconds in comm_handle_cb() reading and processing packet | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00343 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00263 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) | ec 86 f9 5a 61 ff 97 10 37 2b 58 6f f7 6a 9b b6 | 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | b0 f6 20 c1 e3 ef b9 b9 e4 ba 6a d1 8c 46 3b d2 | 1b 7b 05 5f e2 c8 0f 37 1a 3b 09 6f ac 51 26 f3 | f0 ed 44 b2 05 06 86 0d 43 76 95 e7 8f 2b 55 86 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | ec 86 f9 5a 61 ff 97 10 | responder cookie: | 37 2b 58 6f f7 6a 9b b6 | 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: ec 86 f9 5a 61 ff 97 10 37 2b 58 6f f7 6a 9b b6 | data for hmac: 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | data for hmac: b0 f6 20 c1 e3 ef b9 b9 e4 ba 6a d1 8c 46 3b d2 | data for hmac: 1b 7b 05 5f e2 c8 0f 37 1a 3b 09 6f ac 51 26 f3 | calculated auth: f0 ed 44 b2 05 06 86 0d 43 76 95 e7 8f 2b 55 86 | provided auth: f0 ed 44 b2 05 06 86 0d 43 76 95 e7 8f 2b 55 86 | 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: | ec 86 f9 5a 61 ff 97 10 | responder cookie: | 37 2b 58 6f f7 6a 9b b6 | 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: ec 86 f9 5a 61 ff 97 10 37 2b 58 6f f7 6a 9b b6 | data being hmac: 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | data being hmac: 16 35 7e 09 45 a5 0f f0 06 5d 5e 84 49 9c 4b a6 | data being hmac: b4 c6 df 26 a3 b5 35 8b 67 85 97 04 ef 42 2e aa | out calculated auth: | b2 ae 96 2c 25 83 fe b1 89 a3 bd 8b 57 89 8b f4 | sending 80 bytes for reply packet for process_encrypted_informational_ikev2 through eth1 from 192.1.2.23:500 to 192.1.2.45:500 (using #1) | ec 86 f9 5a 61 ff 97 10 37 2b 58 6f f7 6a 9b b6 | 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | 16 35 7e 09 45 a5 0f f0 06 5d 5e 84 49 9c 4b a6 | b4 c6 df 26 a3 b5 35 8b 67 85 97 04 ef 42 2e aa | b2 ae 96 2c 25 83 fe b1 89 a3 bd 8b 57 89 8b f4 | 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 8.6 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.153s 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@0x5586d65f6c90 | free_event_entry: release EVENT_SA_REKEY-pe@0x5586d65f28e0 | 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: 0x5586d654b8f0 @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:3376) | #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.439 milliseconds in comm_handle_cb() reading and processing packet | spent 0.00251 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) | b9 f7 b1 46 2e 51 4c 86 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 | 27 16 6a 5f 3b 38 da 2a 5b 20 87 b3 a2 6b e1 31 | 22 c9 6b 86 16 1b 89 52 87 32 a9 b2 2e 8d ba 5c | 81 20 5e d4 aa 93 f1 64 76 e3 76 c2 95 90 1a ec | 89 d2 e5 44 28 3a bc ed 86 d9 38 5c 9e 0e 72 d2 | c9 2a 18 ba 15 99 93 a9 27 b6 8f 6e 7b 9e ec 2c | 05 87 74 0d f8 ef b1 25 f4 ab ba ed 6e 60 02 fd | 16 3f c8 d9 c2 3d 87 73 77 9f bd 29 a6 9d ae 6d | 10 05 6f 83 24 39 9c c7 ad e4 12 f3 5d ca 5a 6e | b5 e6 36 09 c5 60 4d 9d bf c5 68 d0 3a b7 76 3c | fa ba 58 97 93 53 ee 88 db 5c 3d 87 70 fc 2d b1 | f3 6f ab 53 05 59 04 3a 19 f4 39 22 f1 5a 31 57 | 22 fa b6 94 bb d1 08 68 3a 0f 45 9a f2 30 7e 20 | 89 19 c0 35 b8 b4 91 6b 06 11 d6 f2 d4 e7 0a 44 | a5 cf b2 53 b8 e3 02 d4 4f 9f 94 87 8f 99 cb fc | 5f c8 19 b8 de 2e 8e fa fd 5b 3d ab 2c d1 55 28 | 4b 6f ef 2d cf 51 5f 1c f6 30 6c c9 fd b8 51 0f | a9 40 a1 06 d1 49 0d f0 cf ad 45 03 35 00 43 e3 | 3a 7a a0 44 c6 e7 d8 f6 d3 75 0a 14 0f 69 f9 40 | 43 b1 83 5b b9 2f 02 63 07 4e 5c de 7f b7 4f e9 | 1f 4c 27 e4 02 ff 1e e8 51 40 45 45 bd 85 63 65 | 9d 8d e8 0f 62 e5 ac d3 c7 e1 37 df 90 43 86 4d | 15 8a d3 35 91 80 3c 1c d5 dd 6c 6d ff f6 cf d3 | 42 19 d8 37 a4 ae 4b e6 b9 aa 45 ed 57 ae 3f 1a | 4a 15 ee e4 e5 81 a3 07 99 72 1f d4 2d 64 e7 72 | 29 00 00 24 f0 4e f4 99 69 1a b0 02 7c 64 5e fe | e4 a4 ee c6 c2 cb 2f 18 c8 b2 dc 00 56 13 a5 b0 | 41 10 0b ce 29 00 00 08 00 00 40 2e 29 00 00 1c | 00 00 40 04 98 18 c9 98 df 99 10 51 4d 03 6c b3 | 5b ca d8 d6 84 88 e2 58 00 00 00 1c 00 00 40 05 | 99 81 6e 95 3b cd 48 ca 85 0b 0d 9f de e8 ff 8d | 11 63 2c b3 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | b9 f7 b1 46 2e 51 4c 86 | 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 0x5586d65f3f70 | 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: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 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:2668) | 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=0x5586d5e8c7a0(20) | natd_hash: icookie= b9 f7 b1 46 2e 51 4c 86 | natd_hash: rcookie= 00 00 00 00 00 00 00 00 | natd_hash: ip= c0 01 02 17 | natd_hash: port= 01 f4 | natd_hash: hash= 99 81 6e 95 3b cd 48 ca 85 0b 0d 9f de e8 ff 8d | natd_hash: hash= 11 63 2c b3 | natd_hash: rcookie is zero | natd_hash: hasher=0x5586d5e8c7a0(20) | natd_hash: icookie= b9 f7 b1 46 2e 51 4c 86 | natd_hash: rcookie= 00 00 00 00 00 00 00 00 | natd_hash: ip= c0 01 02 2d | natd_hash: port= 01 f4 | natd_hash: hash= 98 18 c9 98 df 99 10 51 4d 03 6c b3 5b ca d8 d6 | natd_hash: hash= 84 88 e2 58 | 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@0x5586d65fcef0 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #3 | libevent_malloc: new ptr-libevent@0x5586d65f6c90 size 128 | #3 spent 0.267 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:3376) | crypto helper 2 resuming | #3 complete_v2_state_transition() PARENT_R0->PARENT_R1 with status STF_SUSPEND | crypto helper 2 starting work-order 3 for state #3 | suspending state #3 and saving MD | crypto helper 2 doing build KE and nonce (ikev2_inI1outR1 KE); request ID 3 | #3 is busy; has a suspended MD | [RE]START processing: state #3 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in log_stf_suspend() at ikev2.c:3266) | "westnet-eastnet-ikev2" #3 complete v2 state STATE_PARENT_R0 transition with STF_SUSPEND suspended from complete_v2_state_transition:3448 | 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.627 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.639 milliseconds in comm_handle_cb() reading and processing packet | crypto helper 2 finished build KE and nonce (ikev2_inI1outR1 KE); request ID 3 time elapsed 0.001558 seconds | (#3) spent 1.56 milliseconds in crypto helper computing work-order 3: ikev2_inI1outR1 KE (pcr) | crypto helper 2 sending results from work-order 3 for state #3 to event queue | scheduling resume sending helper answer for #3 | libevent_malloc: new ptr-libevent@0x7fbff4005780 size 128 | crypto helper 2 waiting (nothing to do) | processing resume sending helper answer for #3 | start processing: state #3 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in resume_handler() at server.c:797) | crypto helper 2 replies to request ID 3 | calling continuation function 0x5586d5db6630 | ikev2_parent_inI1outR1_continue for #3: calculated ke+nonce, sending R1 | **emit ISAKMP Message: | initiator cookie: | b9 f7 b1 46 2e 51 4c 86 | responder cookie: | 14 f8 fc 14 d1 21 83 b7 | 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 56 ad 71 70 7e ad 81 49 15 6d 93 51 87 5a c3 dd | ikev2 g^x f5 84 93 31 a8 b4 b1 9b 16 bb 2b 0f 88 ab f5 a3 | ikev2 g^x a1 2a 06 5c 4b 34 8b 7d 48 35 2f cc da cc df 87 | ikev2 g^x 66 d4 79 da bd 06 33 60 51 dc 5b c1 64 35 41 ef | ikev2 g^x 1a ff cc 75 f2 35 98 88 16 22 09 28 d5 b0 2f db | ikev2 g^x 52 15 6c 95 ec bb 03 f2 5f 09 68 7a 35 15 5b da | ikev2 g^x 2e 1c 0a 23 6a 9b 72 8a bf 71 e9 a4 04 7f 14 52 | ikev2 g^x 28 10 18 d1 f6 f5 53 80 6b bf e4 09 a1 eb 93 29 | ikev2 g^x ff 0a 65 1a e3 ed d3 6f 99 55 59 11 1a 14 cc 52 | ikev2 g^x 4a f9 6a bf 3c e9 66 6c fd ee 3f 39 dd 86 8e 82 | ikev2 g^x 31 b1 cb 8f 05 c0 63 4e 9b 38 f9 65 8d ef 82 e9 | ikev2 g^x 3d 18 ca f3 3e 30 e0 13 d7 0e 28 4f 51 f5 c4 d0 | ikev2 g^x 9b 2b d5 59 88 4d 8e 3f ce 34 f6 06 e3 e3 b7 c7 | ikev2 g^x 5c 33 2f 5e 24 64 89 58 02 a3 6d ee bf 6b 31 85 | ikev2 g^x 92 88 f1 2c a3 68 8b 4a 39 d0 87 41 60 78 f3 dd | ikev2 g^x 23 d2 2c 5a f4 2f 3c 1a 15 93 6d 70 7e 24 78 da | ikev2 g^x 51 61 27 32 d3 16 b5 cf 67 07 21 ac 55 4c af a1 | ikev2 g^x 4e 5f 84 b3 d5 c3 a2 12 5c 7b f0 e1 87 69 5b a8 | ikev2 g^x 7f 85 9d 87 6e 96 8e 42 60 c3 be 75 72 be 59 cc | ikev2 g^x 25 4f c4 8b 8e d0 13 70 e2 f8 00 45 d4 01 86 51 | ikev2 g^x df 18 9a 5a eb a9 48 38 21 14 c7 80 0f cf ee 15 | ikev2 g^x fd ad f1 ae 03 1b c4 11 51 37 2d cd c3 4d 32 d3 | ikev2 g^x 39 65 32 d9 e9 71 96 e7 02 38 2d 34 fc 14 13 fc | ikev2 g^x a3 ed 03 c4 5c 3c 3e 49 5e d7 90 76 93 62 10 bb | 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 cf dc d8 15 d2 cc 33 91 16 63 1e 4b 38 7e 46 87 | IKEv2 nonce 14 29 84 0f 83 4f d6 60 9d de 04 93 4a e1 50 f9 | 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=0x5586d5e8c7a0(20) | natd_hash: icookie= b9 f7 b1 46 2e 51 4c 86 | natd_hash: rcookie= 14 f8 fc 14 d1 21 83 b7 | natd_hash: ip= c0 01 02 17 | natd_hash: port= 01 f4 | natd_hash: hash= f0 a7 02 4c 2d d1 a8 1d b9 a5 01 2d d3 57 67 03 | natd_hash: hash= f4 1d fc 58 | 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 f0 a7 02 4c 2d d1 a8 1d b9 a5 01 2d d3 57 67 03 | Notify data f4 1d fc 58 | emitting length of IKEv2 Notify Payload: 28 | natd_hash: hasher=0x5586d5e8c7a0(20) | natd_hash: icookie= b9 f7 b1 46 2e 51 4c 86 | natd_hash: rcookie= 14 f8 fc 14 d1 21 83 b7 | natd_hash: ip= c0 01 02 2d | natd_hash: port= 01 f4 | natd_hash: hash= 15 b1 bf 72 d2 db 7a 27 42 de 5e 50 7f 56 d2 a7 | natd_hash: hash= f8 05 eb 67 | 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 15 b1 bf 72 d2 db 7a 27 42 de 5e 50 7f 56 d2 a7 | Notify data f8 05 eb 67 | 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:3376) | #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) | b9 f7 b1 46 2e 51 4c 86 14 f8 fc 14 d1 21 83 b7 | 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 56 ad 71 70 7e ad 81 49 15 6d 93 51 | 87 5a c3 dd f5 84 93 31 a8 b4 b1 9b 16 bb 2b 0f | 88 ab f5 a3 a1 2a 06 5c 4b 34 8b 7d 48 35 2f cc | da cc df 87 66 d4 79 da bd 06 33 60 51 dc 5b c1 | 64 35 41 ef 1a ff cc 75 f2 35 98 88 16 22 09 28 | d5 b0 2f db 52 15 6c 95 ec bb 03 f2 5f 09 68 7a | 35 15 5b da 2e 1c 0a 23 6a 9b 72 8a bf 71 e9 a4 | 04 7f 14 52 28 10 18 d1 f6 f5 53 80 6b bf e4 09 | a1 eb 93 29 ff 0a 65 1a e3 ed d3 6f 99 55 59 11 | 1a 14 cc 52 4a f9 6a bf 3c e9 66 6c fd ee 3f 39 | dd 86 8e 82 31 b1 cb 8f 05 c0 63 4e 9b 38 f9 65 | 8d ef 82 e9 3d 18 ca f3 3e 30 e0 13 d7 0e 28 4f | 51 f5 c4 d0 9b 2b d5 59 88 4d 8e 3f ce 34 f6 06 | e3 e3 b7 c7 5c 33 2f 5e 24 64 89 58 02 a3 6d ee | bf 6b 31 85 92 88 f1 2c a3 68 8b 4a 39 d0 87 41 | 60 78 f3 dd 23 d2 2c 5a f4 2f 3c 1a 15 93 6d 70 | 7e 24 78 da 51 61 27 32 d3 16 b5 cf 67 07 21 ac | 55 4c af a1 4e 5f 84 b3 d5 c3 a2 12 5c 7b f0 e1 | 87 69 5b a8 7f 85 9d 87 6e 96 8e 42 60 c3 be 75 | 72 be 59 cc 25 4f c4 8b 8e d0 13 70 e2 f8 00 45 | d4 01 86 51 df 18 9a 5a eb a9 48 38 21 14 c7 80 | 0f cf ee 15 fd ad f1 ae 03 1b c4 11 51 37 2d cd | c3 4d 32 d3 39 65 32 d9 e9 71 96 e7 02 38 2d 34 | fc 14 13 fc a3 ed 03 c4 5c 3c 3e 49 5e d7 90 76 | 93 62 10 bb 29 00 00 24 cf dc d8 15 d2 cc 33 91 | 16 63 1e 4b 38 7e 46 87 14 29 84 0f 83 4f d6 60 | 9d de 04 93 4a e1 50 f9 29 00 00 08 00 00 40 2e | 29 00 00 1c 00 00 40 04 f0 a7 02 4c 2d d1 a8 1d | b9 a5 01 2d d3 57 67 03 f4 1d fc 58 00 00 00 1c | 00 00 40 05 15 b1 bf 72 d2 db 7a 27 42 de 5e 50 | 7f 56 d2 a7 f8 05 eb 67 | state #3 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x5586d65f6c90 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x5586d65fcef0 | event_schedule: new EVENT_SO_DISCARD-pe@0x5586d65fcef0 | inserting event EVENT_SO_DISCARD, timeout in 200 seconds for #3 | libevent_malloc: new ptr-libevent@0x5586d65f6c90 size 128 | resume sending helper answer for #3 suppresed complete_v2_state_transition() | #3 spent 0.321 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@0x7fbff4005780 | spent 0.00295 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) | b9 f7 b1 46 2e 51 4c 86 14 f8 fc 14 d1 21 83 b7 | 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | 71 0a 62 9b 0f 67 b2 62 6a f0 6c ea 03 df 48 f3 | 4d 93 98 e7 2f d3 35 f7 8e cf ea f1 f8 af 35 43 | 63 22 9c b4 0e 03 db ad 73 7e 07 98 6c 72 fe 6e | 8f 6c 9c 76 e7 d8 21 4e 74 32 95 14 1f e5 80 aa | 83 37 76 a8 2d 01 d4 e5 97 e0 2c c2 c5 6a 72 ff | 55 88 25 38 0d ac b2 40 92 a9 9e 73 33 1d 09 5f | 91 4c b3 c8 d8 32 6c 84 ae 79 bc 4f cb 3f 32 bc | 53 cf a2 d7 b0 0f d3 6f ca 8b ea db ae 31 b2 e9 | 28 45 94 10 4d 3e 20 01 57 05 fb 27 83 65 be 4d | 8c f3 e7 4b ed 47 87 e6 2c b7 c3 c4 3e 90 37 a0 | 79 5b 8b 87 16 e2 0e 5c dc dd cd 70 2d c7 c5 26 | ec 2d 65 11 a0 03 26 20 17 cf 43 a4 04 66 9e bd | 7b b2 fd 0c c8 9a 55 57 06 5b 2d 81 cf 40 71 ed | d8 61 61 ac 63 f0 db a5 09 8e 47 6f c0 0e c3 a5 | c5 d7 67 19 1d 04 82 da 66 62 e5 83 71 1a 79 fb | 63 0d 1f 40 65 77 87 0d 73 3d 52 56 a3 c8 f6 95 | 41 3d fa 9a a2 62 b6 3e 73 eb 4a 9a 40 3a 9f 6c | 1b c7 ed ed 3b 6a 54 96 42 80 6b 76 ee 63 50 89 | 83 68 d8 46 a4 6e 10 6a cb da 5f 0f ef 04 05 67 | df 8d b8 e0 7f d7 26 67 5d 6e f3 f7 ca 85 f6 80 | 7b c8 38 96 6f 63 28 7d 41 29 73 78 a0 05 e4 29 | 91 01 57 ad e1 cd a6 5f 6c b6 88 f7 43 0d 4f 38 | 72 30 7b da 04 3d 0d f5 9f 4f 6d 5f 3e 8c 30 8c | e6 fa 6f 40 f1 2d fd bf 49 e3 64 76 28 1c 97 6a | 42 3b a9 8c 34 a3 59 aa b2 74 64 e7 95 e0 27 5a | 08 fd 29 f4 21 29 e3 39 0f e0 5e dc b9 22 be 77 | 54 bb b9 3a ac 29 9d cf 50 53 0a 06 f2 39 f9 bb | b6 5e 68 cf ae eb 08 df 62 24 fb 3c fa f2 51 6c | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | b9 f7 b1 46 2e 51 4c 86 | responder cookie: | 14 f8 fc 14 d1 21 83 b7 | 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@0x5586d65f6c90 | free_event_entry: release EVENT_SO_DISCARD-pe@0x5586d65fcef0 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x5586d65fcef0 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #3 | libevent_malloc: new ptr-libevent@0x5586d65f6c90 size 128 | #3 spent 0.0227 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:3376) | #3 complete_v2_state_transition() PARENT_R1->PARENT_R1 with status STF_SUSPEND | crypto helper 3 resuming | suspending state #3 and saving MD | crypto helper 3 starting work-order 4 for state #3 | #3 is busy; has a suspended MD | crypto helper 3 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:3266) | "westnet-eastnet-ikev2" #3 complete v2 state STATE_PARENT_R1 transition with STF_SUSPEND suspended from complete_v2_state_transition:3448 | 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.178 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.19 milliseconds in comm_handle_cb() reading and processing packet | calculating skeyseed using prf=sha2_256 integ=sha2_256 cipherkey-size=32 salt-size=0 | crypto helper 3 finished compute dh (V2) (ikev2_inI2outR2 KE); request ID 4 time elapsed 0.002956 seconds | (#3) spent 2.94 milliseconds in crypto helper computing work-order 4: ikev2_inI2outR2 KE (pcr) | crypto helper 3 sending results from work-order 4 for state #3 to event queue | scheduling resume sending helper answer for #3 | libevent_malloc: new ptr-libevent@0x7fbfe8004e30 size 128 | crypto helper 3 waiting (nothing to do) | processing resume sending helper answer for #3 | start processing: state #3 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in resume_handler() at server.c:797) | crypto helper 3 replies to request ID 4 | calling continuation function 0x5586d5db6630 | ikev2_parent_inI2outR2_continue for #3: calculating g^{xy}, sending R2 | #3 in state PARENT_R1: received v2I1, sent v2R1 | data for hmac: b9 f7 b1 46 2e 51 4c 86 14 f8 fc 14 d1 21 83 b7 | data for hmac: 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | data for hmac: 71 0a 62 9b 0f 67 b2 62 6a f0 6c ea 03 df 48 f3 | data for hmac: 4d 93 98 e7 2f d3 35 f7 8e cf ea f1 f8 af 35 43 | data for hmac: 63 22 9c b4 0e 03 db ad 73 7e 07 98 6c 72 fe 6e | data for hmac: 8f 6c 9c 76 e7 d8 21 4e 74 32 95 14 1f e5 80 aa | data for hmac: 83 37 76 a8 2d 01 d4 e5 97 e0 2c c2 c5 6a 72 ff | data for hmac: 55 88 25 38 0d ac b2 40 92 a9 9e 73 33 1d 09 5f | data for hmac: 91 4c b3 c8 d8 32 6c 84 ae 79 bc 4f cb 3f 32 bc | data for hmac: 53 cf a2 d7 b0 0f d3 6f ca 8b ea db ae 31 b2 e9 | data for hmac: 28 45 94 10 4d 3e 20 01 57 05 fb 27 83 65 be 4d | data for hmac: 8c f3 e7 4b ed 47 87 e6 2c b7 c3 c4 3e 90 37 a0 | data for hmac: 79 5b 8b 87 16 e2 0e 5c dc dd cd 70 2d c7 c5 26 | data for hmac: ec 2d 65 11 a0 03 26 20 17 cf 43 a4 04 66 9e bd | data for hmac: 7b b2 fd 0c c8 9a 55 57 06 5b 2d 81 cf 40 71 ed | data for hmac: d8 61 61 ac 63 f0 db a5 09 8e 47 6f c0 0e c3 a5 | data for hmac: c5 d7 67 19 1d 04 82 da 66 62 e5 83 71 1a 79 fb | data for hmac: 63 0d 1f 40 65 77 87 0d 73 3d 52 56 a3 c8 f6 95 | data for hmac: 41 3d fa 9a a2 62 b6 3e 73 eb 4a 9a 40 3a 9f 6c | data for hmac: 1b c7 ed ed 3b 6a 54 96 42 80 6b 76 ee 63 50 89 | data for hmac: 83 68 d8 46 a4 6e 10 6a cb da 5f 0f ef 04 05 67 | data for hmac: df 8d b8 e0 7f d7 26 67 5d 6e f3 f7 ca 85 f6 80 | data for hmac: 7b c8 38 96 6f 63 28 7d 41 29 73 78 a0 05 e4 29 | data for hmac: 91 01 57 ad e1 cd a6 5f 6c b6 88 f7 43 0d 4f 38 | data for hmac: 72 30 7b da 04 3d 0d f5 9f 4f 6d 5f 3e 8c 30 8c | data for hmac: e6 fa 6f 40 f1 2d fd bf 49 e3 64 76 28 1c 97 6a | data for hmac: 42 3b a9 8c 34 a3 59 aa b2 74 64 e7 95 e0 27 5a | data for hmac: 08 fd 29 f4 21 29 e3 39 0f e0 5e dc b9 22 be 77 | data for hmac: 54 bb b9 3a ac 29 9d cf 50 53 0a 06 f2 39 f9 bb | calculated auth: b6 5e 68 cf ae eb 08 df 62 24 fb 3c fa f2 51 6c | provided auth: b6 5e 68 cf ae eb 08 df 62 24 fb 3c fa f2 51 6c | 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:2668) | 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=0x5586d65e5e80 (line=1) | concluding with best_match=002 best=0x5586d65e5e80 (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' | RSA key issuer CA is '%any' | an RSA Sig check passed with *AQOm9dY/4 [preloaded keys] | #3 spent 0.0523 milliseconds in try_all_keys() trying a pubkey "westnet-eastnet-ikev2" #3: Authenticated using RSA | #3 spent 0.0789 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@0x5586d65f6c90 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x5586d65fcef0 | event_schedule: new EVENT_SA_REKEY-pe@0x5586d65fcef0 | inserting event EVENT_SA_REKEY, timeout in 3330 seconds for #3 | libevent_malloc: new ptr-libevent@0x5586d65f6c90 size 128 | pstats #3 ikev2.ike established | **emit ISAKMP Message: | initiator cookie: | b9 f7 b1 46 2e 51 4c 86 | responder cookie: | 14 f8 fc 14 d1 21 83 b7 | 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=0x5586d65e5e80 (line=1) | concluding with best_match=002 best=0x5586d65e5e80 (lineno=1) | #3 spent 4.53 milliseconds in ikev2_calculate_rsa_hash() calling sign_hash_RSA() | emitting 274 raw bytes of rsa signature into IKEv2 Authentication Payload | rsa signature 05 5e 58 7a 1f f0 4c 36 c9 ed 4b 26 23 15 a6 ce | rsa signature 17 33 bf c0 b7 69 59 07 9e 19 5e e0 9f f0 60 60 | rsa signature 5e 23 9d a9 02 4d a9 62 99 ad f4 22 cf 67 89 5d | rsa signature 39 47 f8 27 8f 09 26 94 b3 86 b5 dc ed 31 03 a7 | rsa signature 59 cf ee b0 0f 7f 84 d5 e0 53 cb e3 c2 90 18 5a | rsa signature ce e7 f0 57 a0 c8 25 7a b6 a0 58 6d 1f 4d bd 7c | rsa signature 6f 4d 8c 91 1a 6e d9 8d a6 7d 83 c8 0c d2 99 03 | rsa signature f4 e0 94 da 00 12 e2 54 49 8f af 9f 0e 38 4a 18 | rsa signature 37 65 77 09 ce 90 ce 14 10 a3 46 26 7c 2a 54 4a | rsa signature 1c 9d ff ad 4f 86 a4 36 e9 8f f5 b9 9f b9 cc 1f | rsa signature a3 ba 1e fe 15 11 14 fd a5 f3 32 c7 62 44 7f 37 | rsa signature 44 15 e3 c5 2e c8 91 73 65 c2 57 5e 77 53 a2 c5 | rsa signature bd 86 4a 86 82 9a 86 ff d8 19 be 53 3f c7 30 6a | rsa signature 0f 22 e8 fa 56 c2 60 b2 ae 1a 6d 7b 7f 13 d6 e0 | rsa signature fd 90 4b a3 6d fa 67 ef 87 d9 33 91 62 34 9d 80 | rsa signature a4 07 28 d4 4b a4 1b 5f 44 90 69 41 34 ff 99 72 | rsa signature df 9c a7 76 d6 72 3c e9 f3 05 4e e8 cb ba e9 4e | rsa signature 39 44 | #3 spent 4.6 milliseconds in ikev2_calculate_rsa_hash() | emitting length of IKEv2 Authentication Payload: 282 | creating state object #4 at 0x5586d65fe840 | 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:1481) | 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/0 R=192.0.2.0/24:0:0/0 to their: | TSi[0] .net=192.0.1.0-192.0.1.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.1.0/24 == TSi[0]net=192.0.1.0-192.0.1.255: YES fitness 32 | narrow port end=0..65535 == TSi[0]=0..65535: 0 | TSi[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSi[0]=*0: 0 | match end->protocol=*0 == TSi[0].ipprotoid=*0: YES fitness 255 | TSr[0] .net=192.0.2.0-192.0.2.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.2.0/24 == TSr[0]net=192.0.2.0-192.0.2.255: YES fitness 32 | narrow port end=0..65535 == TSr[0]=0..65535: 0 | TSr[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSr[0]=*0: 0 | match end->protocol=*0 == TSr[0].ipprotoid=*0: YES fitness 255 | best fit so far: TSi[0] TSr[0] | found better spd route for TSi[0],TSr[0] | looking for better host pair | find_host_pair: comparing 192.1.2.23:500 to 192.1.2.45:500 but ignoring ports | checking hostpair 192.0.2.0/24:0 -> 192.0.1.0/24:0 is found | investigating connection "westnet-eastnet-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/0 R=192.0.2.0/24:0:0/0 to their: | TSi[0] .net=192.0.1.0-192.0.1.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.1.0/24 == TSi[0]net=192.0.1.0-192.0.1.255: YES fitness 32 | narrow port end=0..65535 == TSi[0]=0..65535: 0 | TSi[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSi[0]=*0: 0 | match end->protocol=*0 == TSi[0].ipprotoid=*0: YES fitness 255 | TSr[0] .net=192.0.2.0-192.0.2.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.2.0/24 == TSr[0]net=192.0.2.0-192.0.2.255: YES fitness 32 | narrow port end=0..65535 == TSr[0]=0..65535: 0 | TSr[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSr[0]=*0: 0 | match end->protocol=*0 == TSr[0].ipprotoid=*0: YES fitness 255 | best fit so far: TSi[0] TSr[0] | did not find a better connection using host pair | printing contents struct traffic_selector | ts_type: IKEv2_TS_IPV4_ADDR_RANGE | ipprotoid: 0 | port range: 0-65535 | ip range: 192.0.2.0-192.0.2.255 | printing contents struct traffic_selector | ts_type: IKEv2_TS_IPV4_ADDR_RANGE | ipprotoid: 0 | port range: 0-65535 | ip range: 192.0.1.0-192.0.1.255 | 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 ec 3d 8c cd | 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=ec3d8ccd;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=ec3d8ccd;ENCR=AES_CBC_256;INTEG=HMAC_SHA2_256_128;ESN=DISABLED | converting proposal to internal trans attrs | netlink_get_spi: allocated 0xa28be952 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 a2 8b e9 52 | ******emit IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | IKEv2 transform type: TRANS_TYPE_ENCR (0x1) | IKEv2 transform ID: AES_CBC (0xc) | last substructure: saving location 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' | *******emit IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 256 (0x100) | emitting length of IKEv2 Transform Substructure Payload: 12 | ******emit IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | IKEv2 transform type: TRANS_TYPE_INTEG (0x3) | IKEv2 transform ID: AUTH_HMAC_SHA2_256_128 (0xc) | last substructure: checking 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' is v2_TRANSFORM_NON_LAST (0x3) | last substructure: saving location 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' | emitting length of IKEv2 Transform Substructure Payload: 8 | ******emit IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_LAST (0x0) | IKEv2 transform type: TRANS_TYPE_ESN (0x5) | IKEv2 transform ID: ESN_DISABLED (0x0) | last substructure: checking 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' is v2_TRANSFORM_NON_LAST (0x3) | last substructure: saving location 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' | emitting length of IKEv2 Transform Substructure Payload: 8 | emitting length of IKEv2 Proposal Substructure Payload: 40 | last substructure: checking 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' is 0 | emitting length of IKEv2 Security Association Payload: 44 | last substructure: checking 'IKEv2 Security Association Payload'.'IKEv2 Proposal Substructure Payload'.'last proposal' is 0 | ****emit IKEv2 Traffic Selector - Initiator - Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | number of TS: 1 (0x1) | next payload chain: setting previous 'IKEv2 Security Association Payload'.'next payload type' to current IKEv2 Traffic Selector - Initiator - Payload (44:ISAKMP_NEXT_v2TSi) | next payload chain: saving location 'IKEv2 Traffic Selector - Initiator - Payload'.'next payload type' in 'reply packet' | *****emit IKEv2 Traffic Selector: | TS type: IKEv2_TS_IPV4_ADDR_RANGE (0x7) | IP Protocol ID: 0 (0x0) | start port: 0 (0x0) | end port: 65535 (0xffff) | emitting 4 raw bytes of IP start into IKEv2 Traffic Selector | IP start c0 00 01 00 | emitting 4 raw bytes of IP end into IKEv2 Traffic Selector | IP end c0 00 01 ff | emitting length of IKEv2 Traffic Selector: 16 | emitting length of IKEv2 Traffic Selector - Initiator - Payload: 24 | ****emit IKEv2 Traffic Selector - Responder - Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | number of TS: 1 (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 IP start into IKEv2 Traffic Selector | IP start c0 00 02 00 | emitting 4 raw bytes of IP end into IKEv2 Traffic Selector | IP end c0 00 02 ff | emitting length of IKEv2 Traffic Selector: 16 | emitting length of IKEv2 Traffic Selector - Responder - Payload: 24 | Initiator child policy is compress=no, NOT sending v2N_IPCOMP_SUPPORTED | integ=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.ec3d8ccd@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.a28be952@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=0xec | 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=0xec3d8ccd SPI_OUT=0xa28be952 ipsec _updown 2>&1: | route_and_eroute: firewall_notified: true | route_and_eroute: instance "westnet-eastnet-ikev2", setting eroute_owner {spd=0x5586d65f1810,sr=0x5586d65f1810} to #4 (was #0) (newest_ipsec_sa=#0) | #3 spent 0.521 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: b9 f7 b1 46 2e 51 4c 86 14 f8 fc 14 d1 21 83 b7 | data being hmac: 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | data being hmac: b1 10 bf f6 c9 75 ac 64 e5 d8 ae 28 93 a4 3b fe | data being hmac: 12 cf 0a fb c8 98 c0 d1 c5 93 1f 10 c1 f2 de 2c | data being hmac: b1 09 5c 4e 1f 26 0f a8 1f 4c f0 ba e7 76 64 71 | data being hmac: 7f 3c 5c eb 43 d3 6d 01 0d a5 60 f4 96 55 76 0e | data being hmac: 7d 59 2f 76 39 44 59 e0 c8 0c 83 0a f6 49 8a e7 | data being hmac: 13 cd 33 d9 d4 03 2e 94 ca 7b 6f 9e 62 94 18 20 | data being hmac: eb 46 5f 79 b0 f2 e1 55 40 ec aa 45 ca 92 e5 14 | data being hmac: 0b 9f fe 73 28 69 1b 54 29 65 4e d5 42 6e 6a 18 | data being hmac: cb c6 de 90 f9 f7 c7 e6 0c e9 c9 9b 3c b7 68 cd | data being hmac: 5b 0a 1b 64 f9 c1 96 6b a6 63 47 e3 2d fa f0 8b | data being hmac: 71 e2 69 46 60 c5 9a 8f 28 70 91 79 3b e6 44 e6 | data being hmac: a9 bf 96 4a 9d b8 26 07 40 88 84 85 39 31 38 29 | data being hmac: 39 c5 92 72 8c 5c 61 f6 99 b6 12 b6 d2 75 fd a9 | data being hmac: e4 ac 50 62 75 1d bf 58 73 a6 fb e6 61 b5 c0 19 | data being hmac: 48 b9 79 1b 23 51 8d 8e 28 ca 52 7f 73 59 8d 4e | data being hmac: ce 6f 56 01 e8 83 70 13 80 9f ec d2 b6 0b bd d1 | data being hmac: 38 c7 06 33 d1 d3 59 bf 62 a5 b4 af 1e 3e 65 d5 | data being hmac: b7 f8 36 c7 d4 cf 23 05 63 60 87 cd e8 aa 91 db | data being hmac: b6 90 f3 75 2c aa a2 8d a3 62 ad b7 55 6d 4d da | data being hmac: e9 6d 98 22 16 f5 d1 98 06 68 08 3b 42 46 00 62 | data being hmac: 44 b3 6a 5c b6 d6 80 e2 f0 bf cf e9 fd 1d 6a 71 | data being hmac: 74 56 75 6e a0 6c 60 2e eb 5e 22 d6 0f 1b 37 5d | data being hmac: fa 43 d3 e3 1a 15 91 e2 04 f7 d2 f2 91 b4 50 1c | data being hmac: 97 8c 98 31 fc e9 4e 00 e3 fa 90 bf 21 15 73 90 | data being hmac: 55 c7 2b 2e 88 93 62 2f ef 5e 48 94 62 c8 80 dc | data being hmac: 40 6d 0d e7 dc db 9a f7 66 57 08 a6 b2 ce f1 f9 | out calculated auth: | 94 93 86 ca 94 8d e3 8b 0c cb 69 be 26 33 5c a5 | ikev2_parent_inI2outR2_continue_tail returned STF_OK | #3 spent 6.38 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:3376) | start processing: state #4 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3376) | #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=>0xec3d8ccd <0xa28be952 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) | b9 f7 b1 46 2e 51 4c 86 14 f8 fc 14 d1 21 83 b7 | 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | b1 10 bf f6 c9 75 ac 64 e5 d8 ae 28 93 a4 3b fe | 12 cf 0a fb c8 98 c0 d1 c5 93 1f 10 c1 f2 de 2c | b1 09 5c 4e 1f 26 0f a8 1f 4c f0 ba e7 76 64 71 | 7f 3c 5c eb 43 d3 6d 01 0d a5 60 f4 96 55 76 0e | 7d 59 2f 76 39 44 59 e0 c8 0c 83 0a f6 49 8a e7 | 13 cd 33 d9 d4 03 2e 94 ca 7b 6f 9e 62 94 18 20 | eb 46 5f 79 b0 f2 e1 55 40 ec aa 45 ca 92 e5 14 | 0b 9f fe 73 28 69 1b 54 29 65 4e d5 42 6e 6a 18 | cb c6 de 90 f9 f7 c7 e6 0c e9 c9 9b 3c b7 68 cd | 5b 0a 1b 64 f9 c1 96 6b a6 63 47 e3 2d fa f0 8b | 71 e2 69 46 60 c5 9a 8f 28 70 91 79 3b e6 44 e6 | a9 bf 96 4a 9d b8 26 07 40 88 84 85 39 31 38 29 | 39 c5 92 72 8c 5c 61 f6 99 b6 12 b6 d2 75 fd a9 | e4 ac 50 62 75 1d bf 58 73 a6 fb e6 61 b5 c0 19 | 48 b9 79 1b 23 51 8d 8e 28 ca 52 7f 73 59 8d 4e | ce 6f 56 01 e8 83 70 13 80 9f ec d2 b6 0b bd d1 | 38 c7 06 33 d1 d3 59 bf 62 a5 b4 af 1e 3e 65 d5 | b7 f8 36 c7 d4 cf 23 05 63 60 87 cd e8 aa 91 db | b6 90 f3 75 2c aa a2 8d a3 62 ad b7 55 6d 4d da | e9 6d 98 22 16 f5 d1 98 06 68 08 3b 42 46 00 62 | 44 b3 6a 5c b6 d6 80 e2 f0 bf cf e9 fd 1d 6a 71 | 74 56 75 6e a0 6c 60 2e eb 5e 22 d6 0f 1b 37 5d | fa 43 d3 e3 1a 15 91 e2 04 f7 d2 f2 91 b4 50 1c | 97 8c 98 31 fc e9 4e 00 e3 fa 90 bf 21 15 73 90 | 55 c7 2b 2e 88 93 62 2f ef 5e 48 94 62 c8 80 dc | 40 6d 0d e7 dc db 9a f7 66 57 08 a6 b2 ce f1 f9 | 94 93 86 ca 94 8d e3 8b 0c cb 69 be 26 33 5c a5 | 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@0x5586d65fcab0 | inserting event EVENT_SA_REKEY, timeout in 28530 seconds for #4 | libevent_malloc: new ptr-libevent@0x7fbff4005780 size 128 | resume sending helper answer for #3 suppresed complete_v2_state_transition() | #3 spent 6.68 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@0x7fbfe8004e30 | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00359 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00269 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) | b9 f7 b1 46 2e 51 4c 86 14 f8 fc 14 d1 21 83 b7 | 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | 14 d0 ab b9 53 5f 23 28 95 e0 80 fe 5a 70 a3 77 | 26 bd 02 da a8 f8 90 2d dc 6c 4f 46 8b 94 41 f2 | 76 5b b9 67 56 88 2d 22 e6 a7 00 d4 2a 90 c1 ea | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | b9 f7 b1 46 2e 51 4c 86 | responder cookie: | 14 f8 fc 14 d1 21 83 b7 | 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: b9 f7 b1 46 2e 51 4c 86 14 f8 fc 14 d1 21 83 b7 | data for hmac: 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | data for hmac: 14 d0 ab b9 53 5f 23 28 95 e0 80 fe 5a 70 a3 77 | data for hmac: 26 bd 02 da a8 f8 90 2d dc 6c 4f 46 8b 94 41 f2 | calculated auth: 76 5b b9 67 56 88 2d 22 e6 a7 00 d4 2a 90 c1 ea | provided auth: 76 5b b9 67 56 88 2d 22 e6 a7 00 d4 2a 90 c1 ea | 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: | b9 f7 b1 46 2e 51 4c 86 | responder cookie: | 14 f8 fc 14 d1 21 83 b7 | 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 ec 3d 8c cd | delete PROTO_v2_ESP SA(0xec3d8ccd) | 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(0xec3d8ccd) "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.117s and NOT sending notification | child state #4: V2_IPSEC_R(established CHILD SA) => delete | get_sa_info esp.ec3d8ccd@192.1.2.45 | get_sa_info esp.a28be952@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@0x7fbff4005780 | free_event_entry: release EVENT_SA_REKEY-pe@0x5586d65fcab0 | 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='1569050781' 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='1569050781' 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=0xec3d8ccd SPI_OUT=0xa28be952 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 192.0.2.0/24:0 --0->- 192.0.1.0/24:0 | netlink_shunt_eroute for proto 0, and source 192.0.2.0/24:0 dest 192.0.1.0/24:0 | priority calculation of connection "westnet-eastnet-ikev2" is 0xfe7e7 | IPsec Sa SPD priority set to 1042407 | delete esp.ec3d8ccd@192.1.2.45 | netlink response for Del SA esp.ec3d8ccd@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.a28be952@192.1.2.23 | netlink response for Del SA esp.a28be952@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 a2 8b e9 52 | emitting length of IKEv2 Delete Payload: 12 | adding 4 bytes of padding (including 1 byte padding-length) | emitting 1 0x00 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x01 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x02 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x03 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 16 zero bytes of length of truncated HMAC/KEY into IKEv2 Encryption Payload | emitting length of IKEv2 Encryption Payload: 52 | emitting length of ISAKMP Message: 80 | data being hmac: b9 f7 b1 46 2e 51 4c 86 14 f8 fc 14 d1 21 83 b7 | data being hmac: 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | data being hmac: 0c bf 3f 5a e5 1e bb 42 9b d3 cd 28 b0 5f 6b 08 | data being hmac: c3 48 b2 1a fd f3 be df 85 78 d6 af a1 07 69 87 | out calculated auth: | ca c3 3c 30 d9 05 b7 18 41 c1 5c 86 64 32 8a 50 | 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) | b9 f7 b1 46 2e 51 4c 86 14 f8 fc 14 d1 21 83 b7 | 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | 0c bf 3f 5a e5 1e bb 42 9b d3 cd 28 b0 5f 6b 08 | c3 48 b2 1a fd f3 be df 85 78 d6 af a1 07 69 87 | ca c3 3c 30 d9 05 b7 18 41 c1 5c 86 64 32 8a 50 | 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 0.748 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:3376) | #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 0.937 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.945 milliseconds in comm_handle_cb() reading and processing packet | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00348 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00219 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) | b9 f7 b1 46 2e 51 4c 86 14 f8 fc 14 d1 21 83 b7 | 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | 84 e0 e0 06 86 f6 8e 45 b7 89 c2 32 a2 ba d4 38 | 23 62 d0 43 02 1f ba 74 45 37 b5 39 b3 65 b7 10 | 87 4e 69 4d 4d 39 a8 8a bd e2 8f e8 85 d5 a6 cd | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | b9 f7 b1 46 2e 51 4c 86 | responder cookie: | 14 f8 fc 14 d1 21 83 b7 | 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: b9 f7 b1 46 2e 51 4c 86 14 f8 fc 14 d1 21 83 b7 | data for hmac: 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | data for hmac: 84 e0 e0 06 86 f6 8e 45 b7 89 c2 32 a2 ba d4 38 | data for hmac: 23 62 d0 43 02 1f ba 74 45 37 b5 39 b3 65 b7 10 | calculated auth: 87 4e 69 4d 4d 39 a8 8a bd e2 8f e8 85 d5 a6 cd | provided auth: 87 4e 69 4d 4d 39 a8 8a bd e2 8f e8 85 d5 a6 cd | authenticator matched | #3 ikev2 ISAKMP_v2_INFORMATIONAL decrypt success | Now let's proceed with payload (ISAKMP_NEXT_v2D) | **parse IKEv2 Delete Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | length: 8 (0x8) | protocol ID: PROTO_v2_IKE (0x1) | SPI size: 0 (0x0) | number of SPIs: 0 (0x0) | processing payload: ISAKMP_NEXT_v2D (len=0) | selected state microcode R2: process INFORMATIONAL Request | Now let's proceed with state specific processing | calling processor R2: process INFORMATIONAL Request | an informational request should send a response | Received an INFORMATIONAL response, updating st_last_liveness, no pending_liveness | **emit ISAKMP Message: | initiator cookie: | b9 f7 b1 46 2e 51 4c 86 | responder cookie: | 14 f8 fc 14 d1 21 83 b7 | 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: b9 f7 b1 46 2e 51 4c 86 14 f8 fc 14 d1 21 83 b7 | data being hmac: 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | data being hmac: b7 76 76 db 07 27 ca 27 0e 5f 46 19 b7 ca a9 af | data being hmac: 9a 98 92 27 b1 9b 82 37 3b aa bc 46 a9 6d 69 87 | out calculated auth: | 15 21 a8 31 94 0c 7b 74 81 95 92 55 b3 12 f8 17 | 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) | b9 f7 b1 46 2e 51 4c 86 14 f8 fc 14 d1 21 83 b7 | 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | b7 76 76 db 07 27 ca 27 0e 5f 46 19 b7 ca a9 af | 9a 98 92 27 b1 9b 82 37 3b aa bc 46 a9 6d 69 87 | 15 21 a8 31 94 0c 7b 74 81 95 92 55 b3 12 f8 17 | 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.2 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.147s 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@0x5586d65f6c90 | free_event_entry: release EVENT_SA_REKEY-pe@0x5586d65fcef0 | 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: 0x5586d654b8f0 @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:3376) | #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.355 milliseconds in comm_handle_cb() reading and processing packet | spent 0.00323 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) | bb 71 40 e3 ab 37 36 03 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 | 49 ae 42 c7 a5 b7 49 4c 62 9d 11 ba 82 b2 40 f4 | e6 ca fb c3 65 8a 3e fe 1a 4e f1 f5 f5 22 7b 5e | 0e e5 5a 92 c8 88 9e 7c 6d 2e 10 54 8c 0f 24 e2 | ba 2a 88 a9 9c 45 33 93 47 d6 46 9b 4d d3 f6 45 | d1 d5 62 b5 75 de 17 9f 21 8e 72 fe 67 f4 9c 78 | 15 72 a9 f2 6f 8e 24 ab b8 37 e6 f6 05 ae 8c 9f | 6d f8 8f 6c 71 e4 0a 09 06 68 0a 77 49 21 10 4e | 2b 91 ad 30 1b ed 07 ca 82 11 7f af 6d f9 03 53 | 25 bd 83 3b 21 ba 36 03 e5 59 0d d8 9f c3 59 d9 | 8a 81 b6 aa 4b 9c 64 dc 42 5d 15 86 a4 d6 4b 69 | 9e e7 c4 38 d4 e0 a6 6e 39 61 a5 ad ac fb c9 e4 | 88 5c e4 cf 97 b7 0e 39 3d 9a 57 85 33 48 84 00 | ce 2a 4a df 66 0b 32 6c ad 51 da e4 49 5b 05 22 | 87 f9 88 ab 28 eb 97 69 8a 02 d6 75 be a2 0f ab | 99 fd 37 44 9e b0 71 d0 fd 7f 4c 59 ee 1d 42 b2 | 78 bf 92 4e c7 4e cb 1d 8a 4e c1 64 06 7c 01 17 | 01 0e 16 de 6d 0f 53 f6 5b a8 7d 1e 57 b6 1a e9 | c4 a0 6a 14 f0 00 ce cd ba 2f f9 1c 65 09 a2 e1 | b0 42 54 3a 08 76 6f cb 69 86 57 96 ea 92 d8 2b | ee 6d f1 89 de a0 e4 01 5f 60 d1 9a 1d 0a b0 67 | 35 3c 1f ba 81 74 8f 11 fa 2b 3f 6a d6 0c ed 73 | a1 e9 8b 4e 0d c8 b3 30 70 d5 e4 c8 93 fe 9d 3c | 35 bc 15 7e ae bc 02 dc 0a bd 46 a1 f5 37 90 60 | 79 50 4c 6c 95 76 b8 7c f3 13 9e 87 5e de bb 75 | c4 46 36 43 2b 78 c3 8c 48 ae cc 75 5a ff 5c fc | 17 fe ee 3c 0d c4 f6 6d 3b bc ad 2d 20 7f ed be | ca 97 10 5d 64 4b dc 59 d7 e1 7b 63 6d 3e 0a 1e | 55 bd 19 3e 20 05 ea 77 41 53 b7 7f b4 05 fc 19 | 3b 7b 7e 81 65 b5 cd d6 99 cf c5 a6 f9 51 93 41 | fb c7 9b fe fb 87 c2 e9 1c d2 7e 99 44 fb ba c7 | fe f4 70 23 96 6c 1e a2 ce 68 a4 c7 c6 b1 8a 2d | 30 68 06 0a 2f 09 35 ff 26 c8 36 7f a2 ad e5 36 | 29 00 00 24 39 bf 52 a6 fd db 2b fb ac b6 48 30 | c9 a3 1b 62 22 57 f5 ef 4b 63 8b 6b 98 e9 63 12 | 5f 4c c0 1f 29 00 00 08 00 00 40 2e 29 00 00 1c | 00 00 40 04 31 24 b5 bd 93 5a 0b d4 85 c2 a1 56 | f7 1c 2f e1 25 88 c8 85 00 00 00 1c 00 00 40 05 | b1 9e ab 52 e0 e0 41 9b c1 92 1f a8 a5 c9 72 d8 | 22 32 6e b4 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | bb 71 40 e3 ab 37 36 03 | 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 0x5586d65f3f70 | 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: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 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:2668) | 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=0x5586d5e8c7a0(20) | natd_hash: icookie= bb 71 40 e3 ab 37 36 03 | natd_hash: rcookie= 00 00 00 00 00 00 00 00 | natd_hash: ip= c0 01 02 17 | natd_hash: port= 01 f4 | natd_hash: hash= b1 9e ab 52 e0 e0 41 9b c1 92 1f a8 a5 c9 72 d8 | natd_hash: hash= 22 32 6e b4 | natd_hash: rcookie is zero | natd_hash: hasher=0x5586d5e8c7a0(20) | natd_hash: icookie= bb 71 40 e3 ab 37 36 03 | natd_hash: rcookie= 00 00 00 00 00 00 00 00 | natd_hash: ip= c0 01 02 2d | natd_hash: port= 01 f4 | natd_hash: hash= 31 24 b5 bd 93 5a 0b d4 85 c2 a1 56 f7 1c 2f e1 | natd_hash: hash= 25 88 c8 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 5 for state #5 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x5586d65fcab0 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #5 | libevent_malloc: new ptr-libevent@0x5586d65f6c90 size 128 | #5 spent 0.282 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:3376) | #5 complete_v2_state_transition() PARENT_R0->PARENT_R1 with status STF_SUSPEND | suspending state #5 and saving MD | crypto helper 4 starting work-order 5 for state #5 | #5 is busy; has a suspended MD | crypto helper 4 doing build KE and nonce (ikev2_inI1outR1 KE); request ID 5 | [RE]START processing: state #5 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in log_stf_suspend() at ikev2.c:3266) | "westnet-eastnet-ikev2" #5 complete v2 state STATE_PARENT_R0 transition with STF_SUSPEND suspended from complete_v2_state_transition:3448 | 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.678 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.688 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.00391 seconds | (#5) spent 3.9 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@0x7fbfec0054e0 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 0x5586d5db6630 | ikev2_parent_inI1outR1_continue for #5: calculated ke+nonce, sending R1 | **emit ISAKMP Message: | initiator cookie: | bb 71 40 e3 ab 37 36 03 | responder cookie: | 45 64 d9 90 02 b5 f9 05 | 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 3e 06 80 ef 6b bb 13 ff 2a db df e0 e8 8a 36 36 | ikev2 g^x bc 0a af 42 19 b8 21 83 fc c1 21 24 34 98 b9 0e | ikev2 g^x 38 0c ef 90 2f 72 ee b5 94 83 61 93 10 51 02 aa | ikev2 g^x 1d db 81 c8 c4 2d 8a d0 0a 4d 19 0b 59 98 53 40 | ikev2 g^x 74 30 cc 1a da 24 95 d3 9c 05 bf fd c3 a5 b4 85 | ikev2 g^x 64 2b 21 ad 48 88 33 f0 2c 76 eb 9b a0 30 d6 e7 | ikev2 g^x dd e2 17 b3 ff 68 c0 15 96 21 69 1e 99 e2 5b 62 | ikev2 g^x b9 6a e3 b3 43 fa d0 5c 30 4c e1 33 1c e4 58 ba | ikev2 g^x 45 ca 7c b2 e9 a7 97 13 06 08 02 26 86 b9 6f d0 | ikev2 g^x 77 07 99 d4 80 d8 b8 ec 3f d8 9b ec 27 ae a7 9d | ikev2 g^x b8 ed 21 e2 bb e6 1c 17 bc b3 c5 c1 b9 0c 54 43 | ikev2 g^x eb f0 7a 7e 5a d3 b1 4c 6d 72 36 2a 7d e6 d0 fb | ikev2 g^x 2f 74 ad 18 3f 23 74 f3 19 2f a5 25 89 97 a6 57 | ikev2 g^x 91 fc ef 75 82 2c 69 66 f8 b5 3f 25 b9 85 5d f4 | ikev2 g^x 1b 72 d4 24 4a 1d f0 c5 68 12 17 07 88 93 87 f3 | ikev2 g^x e8 34 cb 82 81 9b 93 55 5f 91 3c 82 2e 28 dd dc | ikev2 g^x 5e bf 8a 94 5d 73 84 ce 91 e1 97 3d 40 e7 bb 6b | ikev2 g^x 36 b0 0e 27 8c 76 1e e7 67 8b 26 b7 a6 c6 d6 d8 | ikev2 g^x 6a 18 68 e3 5d c7 b0 e5 67 10 85 89 24 a2 a7 a8 | ikev2 g^x b9 dd ab 0e a6 eb c2 e8 ca 10 2a 17 37 4b e3 ce | ikev2 g^x 26 6d 70 d4 39 07 63 2b 6d 65 9c 51 ec 7a d4 7c | ikev2 g^x ed 27 a3 80 84 0b 3b 23 91 44 ed 64 86 a3 88 af | ikev2 g^x d7 4b aa 93 dd 9f 0c 48 85 f6 c9 67 42 48 32 9c | ikev2 g^x 7a cb e9 14 1a a5 f3 35 da 0e a9 dc db fb 89 e0 | ikev2 g^x 53 a4 44 95 92 47 b7 ef 85 a7 79 db 0a e0 b2 67 | ikev2 g^x 88 92 b6 53 29 44 90 97 58 c5 2b 8e f8 56 f7 f6 | ikev2 g^x 1a 25 8e 64 be 43 b8 26 e8 32 b7 dc cb 61 a6 7c | ikev2 g^x 7b b6 54 05 5c 6d 84 e7 ac 4b 74 95 e0 a7 38 eb | ikev2 g^x cc 4f 48 4f c9 69 2f 4a cd 37 8c ec 2b e7 b8 0b | ikev2 g^x 94 ca 35 f5 b4 d3 8c fc 8e 93 f8 08 6b 80 8c 7d | ikev2 g^x ed ca ac 4e a1 29 4f b4 f3 9a 3d 6c 4d e6 df 76 | ikev2 g^x 2e 58 62 f9 75 6e fc d1 5a 27 9c 58 5b 8f 88 0f | 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 03 27 b8 81 67 29 99 df ee 81 80 f8 be cf a8 be | IKEv2 nonce 4e 78 12 1a 85 73 9f e7 ae 83 e1 b0 81 f4 29 45 | 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=0x5586d5e8c7a0(20) | natd_hash: icookie= bb 71 40 e3 ab 37 36 03 | natd_hash: rcookie= 45 64 d9 90 02 b5 f9 05 | natd_hash: ip= c0 01 02 17 | natd_hash: port= 01 f4 | natd_hash: hash= f0 00 ab 8d f3 57 81 16 f5 59 7b e6 05 c3 b6 39 | natd_hash: hash= 4c fc 73 70 | 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 f0 00 ab 8d f3 57 81 16 f5 59 7b e6 05 c3 b6 39 | Notify data 4c fc 73 70 | emitting length of IKEv2 Notify Payload: 28 | natd_hash: hasher=0x5586d5e8c7a0(20) | natd_hash: icookie= bb 71 40 e3 ab 37 36 03 | natd_hash: rcookie= 45 64 d9 90 02 b5 f9 05 | natd_hash: ip= c0 01 02 2d | natd_hash: port= 01 f4 | natd_hash: hash= 25 cb c3 b0 db ef f2 ed 5e 8f 93 55 28 cd da 9c | natd_hash: hash= 04 78 d6 51 | 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 25 cb c3 b0 db ef f2 ed 5e 8f 93 55 28 cd da 9c | Notify data 04 78 d6 51 | 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:3376) | #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) | bb 71 40 e3 ab 37 36 03 45 64 d9 90 02 b5 f9 05 | 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 3e 06 80 ef 6b bb 13 ff 2a db df e0 | e8 8a 36 36 bc 0a af 42 19 b8 21 83 fc c1 21 24 | 34 98 b9 0e 38 0c ef 90 2f 72 ee b5 94 83 61 93 | 10 51 02 aa 1d db 81 c8 c4 2d 8a d0 0a 4d 19 0b | 59 98 53 40 74 30 cc 1a da 24 95 d3 9c 05 bf fd | c3 a5 b4 85 64 2b 21 ad 48 88 33 f0 2c 76 eb 9b | a0 30 d6 e7 dd e2 17 b3 ff 68 c0 15 96 21 69 1e | 99 e2 5b 62 b9 6a e3 b3 43 fa d0 5c 30 4c e1 33 | 1c e4 58 ba 45 ca 7c b2 e9 a7 97 13 06 08 02 26 | 86 b9 6f d0 77 07 99 d4 80 d8 b8 ec 3f d8 9b ec | 27 ae a7 9d b8 ed 21 e2 bb e6 1c 17 bc b3 c5 c1 | b9 0c 54 43 eb f0 7a 7e 5a d3 b1 4c 6d 72 36 2a | 7d e6 d0 fb 2f 74 ad 18 3f 23 74 f3 19 2f a5 25 | 89 97 a6 57 91 fc ef 75 82 2c 69 66 f8 b5 3f 25 | b9 85 5d f4 1b 72 d4 24 4a 1d f0 c5 68 12 17 07 | 88 93 87 f3 e8 34 cb 82 81 9b 93 55 5f 91 3c 82 | 2e 28 dd dc 5e bf 8a 94 5d 73 84 ce 91 e1 97 3d | 40 e7 bb 6b 36 b0 0e 27 8c 76 1e e7 67 8b 26 b7 | a6 c6 d6 d8 6a 18 68 e3 5d c7 b0 e5 67 10 85 89 | 24 a2 a7 a8 b9 dd ab 0e a6 eb c2 e8 ca 10 2a 17 | 37 4b e3 ce 26 6d 70 d4 39 07 63 2b 6d 65 9c 51 | ec 7a d4 7c ed 27 a3 80 84 0b 3b 23 91 44 ed 64 | 86 a3 88 af d7 4b aa 93 dd 9f 0c 48 85 f6 c9 67 | 42 48 32 9c 7a cb e9 14 1a a5 f3 35 da 0e a9 dc | db fb 89 e0 53 a4 44 95 92 47 b7 ef 85 a7 79 db | 0a e0 b2 67 88 92 b6 53 29 44 90 97 58 c5 2b 8e | f8 56 f7 f6 1a 25 8e 64 be 43 b8 26 e8 32 b7 dc | cb 61 a6 7c 7b b6 54 05 5c 6d 84 e7 ac 4b 74 95 | e0 a7 38 eb cc 4f 48 4f c9 69 2f 4a cd 37 8c ec | 2b e7 b8 0b 94 ca 35 f5 b4 d3 8c fc 8e 93 f8 08 | 6b 80 8c 7d ed ca ac 4e a1 29 4f b4 f3 9a 3d 6c | 4d e6 df 76 2e 58 62 f9 75 6e fc d1 5a 27 9c 58 | 5b 8f 88 0f 29 00 00 24 03 27 b8 81 67 29 99 df | ee 81 80 f8 be cf a8 be 4e 78 12 1a 85 73 9f e7 | ae 83 e1 b0 81 f4 29 45 29 00 00 08 00 00 40 2e | 29 00 00 1c 00 00 40 04 f0 00 ab 8d f3 57 81 16 | f5 59 7b e6 05 c3 b6 39 4c fc 73 70 00 00 00 1c | 00 00 40 05 25 cb c3 b0 db ef f2 ed 5e 8f 93 55 | 28 cd da 9c 04 78 d6 51 | state #5 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x5586d65f6c90 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x5586d65fcab0 | event_schedule: new EVENT_SO_DISCARD-pe@0x5586d65fcab0 | inserting event EVENT_SO_DISCARD, timeout in 200 seconds for #5 | libevent_malloc: new ptr-libevent@0x5586d65f6c90 size 128 | resume sending helper answer for #5 suppresed complete_v2_state_transition() | #5 spent 0.489 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@0x7fbfec0054e0 | spent 0.0028 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) | bb 71 40 e3 ab 37 36 03 45 64 d9 90 02 b5 f9 05 | 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | c5 28 ae 37 0d 4f 66 1f 04 e3 15 f7 54 61 d2 c4 | 19 f1 92 42 5f 3c 5a 07 ec f2 de 87 c0 6d 2e 70 | db 03 c1 53 c5 9d 33 a6 49 82 9d a9 59 bc d8 c9 | 08 a3 db 23 3a 42 96 87 72 40 fb f2 de 8f c8 f5 | a6 a2 a0 0e 9a d7 3e 8b 71 f6 60 05 e0 f3 c7 07 | b1 2c 36 13 1b 2a d3 20 fa 48 d9 bb 10 e8 c4 4d | b6 b6 c9 05 c3 9b c6 a3 8e 8a 1f cc 29 e9 7a 49 | 81 c8 48 91 fb 52 f0 69 17 46 65 a0 c7 09 bd 6d | 66 fd eb 65 33 ac ae a0 d6 c1 ad 11 30 c9 f7 3e | 1e 1c 12 bb 22 90 ed 18 0a 43 d6 e4 4e 64 85 99 | 59 a6 49 fa 79 14 46 39 7c 67 a8 db 73 e6 ea 6b | 48 b4 1a f7 bc 0c 47 73 06 e9 48 70 d9 a6 43 98 | 17 63 0a 80 35 51 97 81 17 e9 6c f6 2e ba fd 03 | 3c ea 99 08 42 76 a9 e2 3f 59 4e 2b 87 eb 90 13 | 70 b2 ab 89 4a f8 5d 2a aa d7 55 12 d0 3a 4f 50 | af ab 39 4f 31 95 57 35 4d c9 9e bc 89 a8 c0 d9 | c4 b6 a9 3b 50 d8 25 8f 5e 4c ed 1b e6 21 62 40 | 64 fb 69 35 f8 44 f4 be 80 ff e8 36 d4 d8 bd ec | 60 0f b1 82 49 09 41 1e 0c d0 37 c3 c4 fa 9e 32 | 25 eb 70 21 e8 f3 d3 53 f7 3f c4 03 db d3 07 48 | bf 80 01 47 6e cf 33 8d 62 c6 3b 53 3e a6 d8 a3 | 79 d4 d9 31 c9 4f e3 b2 10 4a ce f2 98 a8 8c 13 | eb e0 58 17 b4 ae 74 0a a9 f8 ce 91 08 06 c7 03 | 5c 89 05 bc 0e 26 9a 96 68 c5 3a 72 9a 53 cf af | a2 b3 8b 32 8e 83 32 17 71 7c 80 cf 74 9d ff 5a | 6a 6f b1 15 ce 4f 49 8b b6 92 74 61 27 70 29 91 | b0 21 6e cc a9 02 f6 ef f2 83 b7 d3 b6 ed 10 d0 | 5a 1d ea 70 69 e9 7b 8c 83 1c 91 25 fa a0 58 72 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | bb 71 40 e3 ab 37 36 03 | responder cookie: | 45 64 d9 90 02 b5 f9 05 | 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@0x5586d65f6c90 | free_event_entry: release EVENT_SO_DISCARD-pe@0x5586d65fcab0 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x5586d65fcab0 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #5 | libevent_malloc: new ptr-libevent@0x5586d65f6c90 size 128 | #5 spent 0.0318 milliseconds in processing: Responder: process IKE_AUTH request (no SKEYSEED) in ikev2_process_state_packet() | [RE]START processing: state #5 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3376) | crypto helper 5 resuming | #5 complete_v2_state_transition() PARENT_R1->PARENT_R1 with status STF_SUSPEND | suspending state #5 and saving MD | #5 is busy; has a suspended MD | crypto helper 5 starting work-order 6 for state #5 | [RE]START processing: state #5 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in log_stf_suspend() at ikev2.c:3266) | crypto helper 5 doing compute dh (V2) (ikev2_inI2outR2 KE); request ID 6 | "westnet-eastnet-ikev2" #5 complete v2 state STATE_PARENT_R1 transition with STF_SUSPEND suspended from complete_v2_state_transition:3448 | 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.232 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.244 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.003588 seconds | (#5) spent 3.58 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@0x7fbfe0004110 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 0x5586d5db6630 | ikev2_parent_inI2outR2_continue for #5: calculating g^{xy}, sending R2 | #5 in state PARENT_R1: received v2I1, sent v2R1 | data for hmac: bb 71 40 e3 ab 37 36 03 45 64 d9 90 02 b5 f9 05 | data for hmac: 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | data for hmac: c5 28 ae 37 0d 4f 66 1f 04 e3 15 f7 54 61 d2 c4 | data for hmac: 19 f1 92 42 5f 3c 5a 07 ec f2 de 87 c0 6d 2e 70 | data for hmac: db 03 c1 53 c5 9d 33 a6 49 82 9d a9 59 bc d8 c9 | data for hmac: 08 a3 db 23 3a 42 96 87 72 40 fb f2 de 8f c8 f5 | data for hmac: a6 a2 a0 0e 9a d7 3e 8b 71 f6 60 05 e0 f3 c7 07 | data for hmac: b1 2c 36 13 1b 2a d3 20 fa 48 d9 bb 10 e8 c4 4d | data for hmac: b6 b6 c9 05 c3 9b c6 a3 8e 8a 1f cc 29 e9 7a 49 | data for hmac: 81 c8 48 91 fb 52 f0 69 17 46 65 a0 c7 09 bd 6d | data for hmac: 66 fd eb 65 33 ac ae a0 d6 c1 ad 11 30 c9 f7 3e | data for hmac: 1e 1c 12 bb 22 90 ed 18 0a 43 d6 e4 4e 64 85 99 | data for hmac: 59 a6 49 fa 79 14 46 39 7c 67 a8 db 73 e6 ea 6b | data for hmac: 48 b4 1a f7 bc 0c 47 73 06 e9 48 70 d9 a6 43 98 | data for hmac: 17 63 0a 80 35 51 97 81 17 e9 6c f6 2e ba fd 03 | data for hmac: 3c ea 99 08 42 76 a9 e2 3f 59 4e 2b 87 eb 90 13 | data for hmac: 70 b2 ab 89 4a f8 5d 2a aa d7 55 12 d0 3a 4f 50 | data for hmac: af ab 39 4f 31 95 57 35 4d c9 9e bc 89 a8 c0 d9 | data for hmac: c4 b6 a9 3b 50 d8 25 8f 5e 4c ed 1b e6 21 62 40 | data for hmac: 64 fb 69 35 f8 44 f4 be 80 ff e8 36 d4 d8 bd ec | data for hmac: 60 0f b1 82 49 09 41 1e 0c d0 37 c3 c4 fa 9e 32 | data for hmac: 25 eb 70 21 e8 f3 d3 53 f7 3f c4 03 db d3 07 48 | data for hmac: bf 80 01 47 6e cf 33 8d 62 c6 3b 53 3e a6 d8 a3 | data for hmac: 79 d4 d9 31 c9 4f e3 b2 10 4a ce f2 98 a8 8c 13 | data for hmac: eb e0 58 17 b4 ae 74 0a a9 f8 ce 91 08 06 c7 03 | data for hmac: 5c 89 05 bc 0e 26 9a 96 68 c5 3a 72 9a 53 cf af | data for hmac: a2 b3 8b 32 8e 83 32 17 71 7c 80 cf 74 9d ff 5a | data for hmac: 6a 6f b1 15 ce 4f 49 8b b6 92 74 61 27 70 29 91 | data for hmac: b0 21 6e cc a9 02 f6 ef f2 83 b7 d3 b6 ed 10 d0 | calculated auth: 5a 1d ea 70 69 e9 7b 8c 83 1c 91 25 fa a0 58 72 | provided auth: 5a 1d ea 70 69 e9 7b 8c 83 1c 91 25 fa a0 58 72 | 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:2668) | 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=0x5586d65e5e80 (line=1) | concluding with best_match=002 best=0x5586d65e5e80 (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' | RSA key issuer CA is '%any' | an RSA Sig check passed with *AQOm9dY/4 [preloaded keys] | #5 spent 0.0488 milliseconds in try_all_keys() trying a pubkey "westnet-eastnet-ikev2" #5: Authenticated using RSA | #5 spent 0.0753 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@0x5586d65f6c90 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x5586d65fcab0 | event_schedule: new EVENT_SA_REKEY-pe@0x5586d65fcab0 | inserting event EVENT_SA_REKEY, timeout in 3330 seconds for #5 | libevent_malloc: new ptr-libevent@0x5586d65f6c90 size 128 | pstats #5 ikev2.ike established | **emit ISAKMP Message: | initiator cookie: | bb 71 40 e3 ab 37 36 03 | responder cookie: | 45 64 d9 90 02 b5 f9 05 | 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=0x5586d65e5e80 (line=1) | concluding with best_match=002 best=0x5586d65e5e80 (lineno=1) | #5 spent 4.61 milliseconds in ikev2_calculate_rsa_hash() calling sign_hash_RSA() | emitting 274 raw bytes of rsa signature into IKEv2 Authentication Payload | rsa signature 69 64 e8 f8 0b 63 e1 a5 28 d1 b3 90 f1 7c 21 02 | rsa signature 03 4f 4c 8e 7b ce d6 29 b5 ee f0 8e 97 d8 ce 24 | rsa signature ae 70 e9 7e ea 47 86 98 28 9c e1 86 5b db 74 19 | rsa signature 1d 8f 94 10 1e 26 b2 1d 03 1f 6c 16 a8 8b a1 c6 | rsa signature 20 41 33 8f 53 92 dc 33 6f c6 7c bf c4 12 24 44 | rsa signature 11 b2 f0 58 73 4e 66 ee 1b 03 16 c7 41 b7 0d 81 | rsa signature 28 d0 1c 0c 79 93 02 8c b9 bf f1 53 d8 85 8e db | rsa signature 63 3c b6 78 89 91 8d 6f e0 9a 84 f7 c5 2d bd b0 | rsa signature 76 94 2a 0d f5 ba 95 da 9d f4 b9 f0 2d fc 4e 09 | rsa signature be 60 d9 14 37 24 a2 a3 cb c2 04 36 16 e3 67 48 | rsa signature ce 31 84 e6 54 50 07 f6 1c f7 28 84 11 f6 17 6b | rsa signature 9e e9 be 89 db fb 0b 6b ee 96 a7 36 01 66 f8 b7 | rsa signature fc 3c 38 5b 1d 7c 5e 9a e9 65 c4 c0 69 81 07 08 | rsa signature dd c2 ff 03 4a 46 be 0f d3 5f fd be f0 ef 9f 5a | rsa signature 8d a3 09 e7 01 50 91 44 77 5e 95 79 a2 92 94 c9 | rsa signature 49 a5 ec 47 a9 fc ac 6a 44 98 0d a9 20 ff 89 30 | rsa signature 98 35 2c 84 ff 66 bc a0 c9 6a 73 42 b8 32 de fa | rsa signature 5c 5c | #5 spent 4.68 milliseconds in ikev2_calculate_rsa_hash() | emitting length of IKEv2 Authentication Payload: 282 | creating state object #6 at 0x5586d66042c0 | 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:1481) | 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/0 R=192.0.2.0/24:0:0/0 to their: | TSi[0] .net=192.0.1.0-192.0.1.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.1.0/24 == TSi[0]net=192.0.1.0-192.0.1.255: YES fitness 32 | narrow port end=0..65535 == TSi[0]=0..65535: 0 | TSi[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSi[0]=*0: 0 | match end->protocol=*0 == TSi[0].ipprotoid=*0: YES fitness 255 | TSr[0] .net=192.0.2.0-192.0.2.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.2.0/24 == TSr[0]net=192.0.2.0-192.0.2.255: YES fitness 32 | narrow port end=0..65535 == TSr[0]=0..65535: 0 | TSr[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSr[0]=*0: 0 | match end->protocol=*0 == TSr[0].ipprotoid=*0: YES fitness 255 | best fit so far: TSi[0] TSr[0] | found better spd route for TSi[0],TSr[0] | looking for better host pair | find_host_pair: comparing 192.1.2.23:500 to 192.1.2.45:500 but ignoring ports | checking hostpair 192.0.2.0/24:0 -> 192.0.1.0/24:0 is found | investigating connection "westnet-eastnet-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/0 R=192.0.2.0/24:0:0/0 to their: | TSi[0] .net=192.0.1.0-192.0.1.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.1.0/24 == TSi[0]net=192.0.1.0-192.0.1.255: YES fitness 32 | narrow port end=0..65535 == TSi[0]=0..65535: 0 | TSi[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSi[0]=*0: 0 | match end->protocol=*0 == TSi[0].ipprotoid=*0: YES fitness 255 | TSr[0] .net=192.0.2.0-192.0.2.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.2.0/24 == TSr[0]net=192.0.2.0-192.0.2.255: YES fitness 32 | narrow port end=0..65535 == TSr[0]=0..65535: 0 | TSr[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSr[0]=*0: 0 | match end->protocol=*0 == TSr[0].ipprotoid=*0: YES fitness 255 | best fit so far: TSi[0] TSr[0] | did not find a better connection using host pair | printing contents struct traffic_selector | ts_type: IKEv2_TS_IPV4_ADDR_RANGE | ipprotoid: 0 | port range: 0-65535 | ip range: 192.0.2.0-192.0.2.255 | printing contents struct traffic_selector | ts_type: IKEv2_TS_IPV4_ADDR_RANGE | ipprotoid: 0 | port range: 0-65535 | ip range: 192.0.1.0-192.0.1.255 | 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 88 d7 b4 aa | 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=88d7b4aa;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=88d7b4aa;ENCR=AES_CBC_256;INTEG=HMAC_SHA2_256_128;ESN=DISABLED | converting proposal to internal trans attrs | netlink_get_spi: allocated 0x6ef9eb25 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 6e f9 eb 25 | ******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 IP start into IKEv2 Traffic Selector | IP start c0 00 01 00 | emitting 4 raw bytes of IP end into IKEv2 Traffic Selector | IP end c0 00 01 ff | emitting length of IKEv2 Traffic Selector: 16 | emitting length of IKEv2 Traffic Selector - Initiator - Payload: 24 | ****emit IKEv2 Traffic Selector - Responder - Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | number of TS: 1 (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 IP start into IKEv2 Traffic Selector | IP start c0 00 02 00 | emitting 4 raw bytes of IP end into IKEv2 Traffic Selector | IP end c0 00 02 ff | emitting length of IKEv2 Traffic Selector: 16 | emitting length of IKEv2 Traffic Selector - Responder - Payload: 24 | Initiator child policy is compress=no, NOT sending v2N_IPCOMP_SUPPORTED | integ=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.88d7b4aa@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.6ef9eb25@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=0x88 | 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=0x88d7b4aa SPI_OUT=0x6ef9eb25 ipsec _updown 2>&1: | route_and_eroute: firewall_notified: true | route_and_eroute: instance "westnet-eastnet-ikev2", setting eroute_owner {spd=0x5586d65f1810,sr=0x5586d65f1810} to #6 (was #0) (newest_ipsec_sa=#0) | #5 spent 0.491 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: bb 71 40 e3 ab 37 36 03 45 64 d9 90 02 b5 f9 05 | data being hmac: 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | data being hmac: ab b6 a0 95 d2 ca 1f dd dd df c4 ed 89 c6 89 7a | data being hmac: 75 a1 ad f2 cb 30 7a 66 4d 60 e8 fe 1b df 16 09 | data being hmac: a2 19 5a 40 a5 21 4e bc 73 bd fe 0f a4 60 82 46 | data being hmac: df 48 47 8b eb 23 e6 6b d5 4e 25 52 7e 35 40 ef | data being hmac: ae 38 f1 f2 c4 55 0e 9b bc a2 10 c8 b4 37 4d 0e | data being hmac: a3 6f 6e b7 85 41 1f c5 b2 a3 0a e7 71 b9 97 b8 | data being hmac: ec a2 5d a3 c2 10 f1 d1 4d 31 5e 29 9c d0 f5 91 | data being hmac: 68 23 b7 73 80 05 08 86 ad 90 88 99 33 8d bc 95 | data being hmac: e6 09 93 94 2c dd 8c 50 a8 f5 1e dc ee cf 64 52 | data being hmac: 29 fd 61 3f 1c 03 98 d6 f2 a8 7e 69 75 83 41 ce | data being hmac: 87 e3 a7 d7 e0 0f 3c 9f ab 2b 4f 55 e7 0c aa 83 | data being hmac: a8 60 e6 bb 07 03 d8 f2 49 d0 54 f5 a2 cb 9a 3c | data being hmac: cb 91 5d 9d af d3 88 e3 a8 70 6f fb e4 a5 35 1d | data being hmac: 18 bb 8d ab 8c bc 03 ce 98 63 3b a8 26 85 7f 66 | data being hmac: 73 de 19 9c 72 92 e1 6e 15 29 aa 97 01 a0 14 16 | data being hmac: cf 11 5c 6d 86 d2 c8 f7 45 34 81 bc 06 a4 aa a4 | data being hmac: 70 01 36 20 f6 00 7e 1e f4 cf ae 36 35 5d f0 42 | data being hmac: 87 13 99 0b f0 2b 31 e2 33 82 df a3 2d 81 03 79 | data being hmac: a7 5c c6 32 8b d8 6f f4 d6 1d a7 0d c3 e4 35 60 | data being hmac: 0c 3b 9b 14 be f8 df d0 ad 91 09 e9 4f 55 0d 7d | data being hmac: c4 e4 20 47 a3 48 a2 a8 0a ce 20 28 1e 2d 8f 89 | data being hmac: c2 14 5f d7 65 79 6f b9 20 e7 13 5f 04 c6 c5 50 | data being hmac: 36 49 47 a0 b2 56 d7 41 d4 11 b7 0f a5 e2 a6 78 | data being hmac: 59 33 ae 79 7c dc 04 68 bb be e6 12 6a 56 24 e0 | data being hmac: 8c 9a 63 3c dc ab 25 e3 eb ce 99 d9 5d f6 e0 de | data being hmac: 22 ae 66 81 33 d1 0f f1 a9 e0 84 26 37 bc d7 6d | out calculated auth: | 74 34 67 1d 85 b7 a7 9b a5 b3 26 72 1d 26 6a fe | ikev2_parent_inI2outR2_continue_tail returned STF_OK | #5 spent 6.52 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:3376) | start processing: state #6 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3376) | #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=>0x88d7b4aa <0x6ef9eb25 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) | bb 71 40 e3 ab 37 36 03 45 64 d9 90 02 b5 f9 05 | 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | ab b6 a0 95 d2 ca 1f dd dd df c4 ed 89 c6 89 7a | 75 a1 ad f2 cb 30 7a 66 4d 60 e8 fe 1b df 16 09 | a2 19 5a 40 a5 21 4e bc 73 bd fe 0f a4 60 82 46 | df 48 47 8b eb 23 e6 6b d5 4e 25 52 7e 35 40 ef | ae 38 f1 f2 c4 55 0e 9b bc a2 10 c8 b4 37 4d 0e | a3 6f 6e b7 85 41 1f c5 b2 a3 0a e7 71 b9 97 b8 | ec a2 5d a3 c2 10 f1 d1 4d 31 5e 29 9c d0 f5 91 | 68 23 b7 73 80 05 08 86 ad 90 88 99 33 8d bc 95 | e6 09 93 94 2c dd 8c 50 a8 f5 1e dc ee cf 64 52 | 29 fd 61 3f 1c 03 98 d6 f2 a8 7e 69 75 83 41 ce | 87 e3 a7 d7 e0 0f 3c 9f ab 2b 4f 55 e7 0c aa 83 | a8 60 e6 bb 07 03 d8 f2 49 d0 54 f5 a2 cb 9a 3c | cb 91 5d 9d af d3 88 e3 a8 70 6f fb e4 a5 35 1d | 18 bb 8d ab 8c bc 03 ce 98 63 3b a8 26 85 7f 66 | 73 de 19 9c 72 92 e1 6e 15 29 aa 97 01 a0 14 16 | cf 11 5c 6d 86 d2 c8 f7 45 34 81 bc 06 a4 aa a4 | 70 01 36 20 f6 00 7e 1e f4 cf ae 36 35 5d f0 42 | 87 13 99 0b f0 2b 31 e2 33 82 df a3 2d 81 03 79 | a7 5c c6 32 8b d8 6f f4 d6 1d a7 0d c3 e4 35 60 | 0c 3b 9b 14 be f8 df d0 ad 91 09 e9 4f 55 0d 7d | c4 e4 20 47 a3 48 a2 a8 0a ce 20 28 1e 2d 8f 89 | c2 14 5f d7 65 79 6f b9 20 e7 13 5f 04 c6 c5 50 | 36 49 47 a0 b2 56 d7 41 d4 11 b7 0f a5 e2 a6 78 | 59 33 ae 79 7c dc 04 68 bb be e6 12 6a 56 24 e0 | 8c 9a 63 3c dc ab 25 e3 eb ce 99 d9 5d f6 e0 de | 22 ae 66 81 33 d1 0f f1 a9 e0 84 26 37 bc d7 6d | 74 34 67 1d 85 b7 a7 9b a5 b3 26 72 1d 26 6a fe | 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@0x5586d65f9ff0 | inserting event EVENT_SA_REKEY, timeout in 28530 seconds for #6 | libevent_malloc: new ptr-libevent@0x7fbfec0054e0 size 128 | resume sending helper answer for #5 suppresed complete_v2_state_transition() | #5 spent 6.86 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@0x7fbfe0004110 | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00425 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00254 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) | bb 71 40 e3 ab 37 36 03 45 64 d9 90 02 b5 f9 05 | 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | 96 99 c6 2a 9b 6f 0a fe bd 37 b0 60 2e 46 79 24 | 00 20 db 7d 7d 25 07 9e 96 41 b5 d2 6c 3f 4a 1a | a7 3a 2a 6c fa f2 9a 1d 4e a2 10 b8 a1 54 8d 0d | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | bb 71 40 e3 ab 37 36 03 | responder cookie: | 45 64 d9 90 02 b5 f9 05 | 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: bb 71 40 e3 ab 37 36 03 45 64 d9 90 02 b5 f9 05 | data for hmac: 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | data for hmac: 96 99 c6 2a 9b 6f 0a fe bd 37 b0 60 2e 46 79 24 | data for hmac: 00 20 db 7d 7d 25 07 9e 96 41 b5 d2 6c 3f 4a 1a | calculated auth: a7 3a 2a 6c fa f2 9a 1d 4e a2 10 b8 a1 54 8d 0d | provided auth: a7 3a 2a 6c fa f2 9a 1d 4e a2 10 b8 a1 54 8d 0d | 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: | bb 71 40 e3 ab 37 36 03 | responder cookie: | 45 64 d9 90 02 b5 f9 05 | 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 88 d7 b4 aa | delete PROTO_v2_ESP SA(0x88d7b4aa) | 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(0x88d7b4aa) "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.100s and NOT sending notification | child state #6: V2_IPSEC_R(established CHILD SA) => delete | get_sa_info esp.88d7b4aa@192.1.2.45 | get_sa_info esp.6ef9eb25@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@0x7fbfec0054e0 | free_event_entry: release EVENT_SA_REKEY-pe@0x5586d65f9ff0 | 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='1569050782' 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='1569050782' 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=0x88d7b4aa SPI_OUT=0x6ef9eb25 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 192.0.2.0/24:0 --0->- 192.0.1.0/24:0 | netlink_shunt_eroute for proto 0, and source 192.0.2.0/24:0 dest 192.0.1.0/24:0 | priority calculation of connection "westnet-eastnet-ikev2" is 0xfe7e7 | IPsec Sa SPD priority set to 1042407 | delete esp.88d7b4aa@192.1.2.45 | netlink response for Del SA esp.88d7b4aa@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.6ef9eb25@192.1.2.23 | netlink response for Del SA esp.6ef9eb25@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 6e f9 eb 25 | 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: bb 71 40 e3 ab 37 36 03 45 64 d9 90 02 b5 f9 05 | data being hmac: 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | data being hmac: cd a3 0d 7a 63 aa 52 fb ef 47 e7 38 a1 5f f5 4e | data being hmac: 04 11 b0 10 0f 81 66 55 85 fc 29 41 bc 94 04 9c | out calculated auth: | 31 85 f7 b2 11 78 af 03 6a f6 f4 07 d3 a3 9f 61 | 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) | bb 71 40 e3 ab 37 36 03 45 64 d9 90 02 b5 f9 05 | 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | cd a3 0d 7a 63 aa 52 fb ef 47 e7 38 a1 5f f5 4e | 04 11 b0 10 0f 81 66 55 85 fc 29 41 bc 94 04 9c | 31 85 f7 b2 11 78 af 03 6a f6 f4 07 d3 a3 9f 61 | 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.652 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:3376) | #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 0.823 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.832 milliseconds in comm_handle_cb() reading and processing packet | spent 0.00126 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) | bb 71 40 e3 ab 37 36 03 45 64 d9 90 02 b5 f9 05 | 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | c1 75 75 5d 8a 09 8a 4c 6d 83 d4 9b 7d 4f 1c 94 | 22 66 94 c2 62 01 f7 2f 9c 23 fc 39 9a 70 36 8d | 92 e7 74 cb bf 7e 17 f5 9e b0 c4 0f c3 40 2e e1 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | bb 71 40 e3 ab 37 36 03 | responder cookie: | 45 64 d9 90 02 b5 f9 05 | 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: bb 71 40 e3 ab 37 36 03 45 64 d9 90 02 b5 f9 05 | data for hmac: 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | data for hmac: c1 75 75 5d 8a 09 8a 4c 6d 83 d4 9b 7d 4f 1c 94 | data for hmac: 22 66 94 c2 62 01 f7 2f 9c 23 fc 39 9a 70 36 8d | calculated auth: 92 e7 74 cb bf 7e 17 f5 9e b0 c4 0f c3 40 2e e1 | provided auth: 92 e7 74 cb bf 7e 17 f5 9e b0 c4 0f c3 40 2e e1 | 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: | bb 71 40 e3 ab 37 36 03 | responder cookie: | 45 64 d9 90 02 b5 f9 05 | 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: bb 71 40 e3 ab 37 36 03 45 64 d9 90 02 b5 f9 05 | data being hmac: 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | data being hmac: b6 00 c2 c5 9a 4f 12 58 e7 48 9f 81 de 88 8c 22 | data being hmac: 25 4f 5d bb 22 e9 3b ae 43 0c 55 ca 22 f3 f3 75 | out calculated auth: | 6f 2d 9d e0 4c 78 bf 50 60 bf 53 b4 3d d8 28 b4 | 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) | bb 71 40 e3 ab 37 36 03 45 64 d9 90 02 b5 f9 05 | 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | b6 00 c2 c5 9a 4f 12 58 e7 48 9f 81 de 88 8c 22 | 25 4f 5d bb 22 e9 3b ae 43 0c 55 ca 22 f3 f3 75 | 6f 2d 9d e0 4c 78 bf 50 60 bf 53 b4 3d d8 28 b4 | 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.6 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.132s 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@0x5586d65f6c90 | free_event_entry: release EVENT_SA_REKEY-pe@0x5586d65fcab0 | 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: 0x5586d654b8f0 @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:3376) | #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.352 milliseconds in comm_handle_cb() reading and processing packet | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00356 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00277 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) | bb 84 95 7d 53 1e d5 91 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 | ac 68 14 60 11 41 33 bf 7d 1a d4 67 f4 29 90 76 | d5 1d 44 da ca 08 3e 90 7c 9f a9 af af da 47 78 | 1c ff 0d 64 ea a3 fc 89 9b 6d 61 28 2e e0 eb 9d | 30 01 39 a7 b1 1b 43 c4 d9 ff c8 07 ad b2 ff 58 | 38 c7 5f 32 22 91 cc 3a cb 55 ce 03 9b 3e 2d d3 | 57 b0 9f 0e 49 c6 0e 3e d3 68 b0 97 e8 06 c6 c9 | 4d 7a 87 15 4d 58 d1 10 82 0b 1b 89 8c da 79 f6 | dc 8f 85 6d b1 b5 5e f6 fd 64 c6 2b 0e 40 cd 02 | 88 72 82 40 8c 4f 07 21 20 dd e7 1e 6e c0 bc 9b | 60 39 61 5f 6d e0 b7 e3 04 a4 10 78 06 9e a2 e5 | 79 3c 9b 49 ac f4 a3 5d c2 57 a3 2f 34 18 3b 7d | 76 3d 9f e4 51 6a 71 3f 97 f1 b3 81 09 9a aa 82 | 2b 75 cc 51 53 16 4b ba ec 34 e4 f8 1f 6a 3f 87 | 93 f7 46 23 f5 df d4 ed db bc e9 61 f5 42 a6 f3 | f1 a2 16 1b 5d e8 74 24 5a 38 b8 ea 5b a1 47 33 | 51 b4 60 76 48 72 35 4e ee 98 6b d0 8e 99 26 fb | c5 57 c2 7b d9 de 87 1a db a1 f7 05 cd 09 ad 85 | 0e dd 9b 6d eb 7c 69 9d 3d 6c 9a 0c c1 2f 72 d5 | 9a 29 f9 7d 35 e3 be 38 26 68 be 17 05 f2 14 35 | fe 37 49 4c f8 12 c6 e3 26 4f 0c b9 a5 ad b6 f3 | ca 96 ec d6 c1 bc f8 a0 9c e3 66 ca cf dd 2e 66 | 04 00 07 15 74 91 27 63 95 a9 ee ca 76 4a 8a d2 | 1b 77 cb 8c 8e c6 49 80 c2 be a9 2c fe 21 ff f4 | 74 7d 84 9e ca 25 2d 70 4e 4e 4b 49 1d 39 11 50 | 74 60 8f b9 91 26 d9 8b 55 e2 57 b8 6a 42 6a 18 | 18 eb 7c bb 66 dd 27 59 88 65 1e 90 d8 29 9e bb | 83 4c 98 42 58 ae 06 9a 84 d2 a3 bd ea 04 fb a4 | 22 ed d6 eb 7b 2a 52 09 de 03 12 20 55 d7 e8 5f | 66 7f e0 fa bf 25 b5 73 d1 e8 9b 25 92 50 1c b0 | 50 c3 89 17 0d 78 44 c8 13 8f 48 fd 03 e0 b1 56 | 23 8b f0 5c b0 76 1e 1d e0 50 79 5e 04 48 30 e0 | 4d 34 1a e9 8c 84 bd c3 1f 73 5a e3 9c 66 ba 3d | 1e 5b 1b db e8 e0 83 d2 5d e7 7b 7a 2f 61 ea c1 | f2 35 52 45 d7 82 06 62 06 8a ef dc 71 c3 55 99 | 02 de f6 4d 9e 63 ec 5f 87 a9 4b 5f 36 2c ae 46 | 08 b1 62 a4 41 5f 37 48 f4 3d 2b 5f 99 db f6 8e | c2 81 eb 3e 30 bc 80 9e 33 e6 5c bd cc 9b 4c 53 | 80 93 e0 4b ff 0c a0 a7 d2 c2 6c d1 55 0a 22 f8 | 1e a9 d9 cf 66 a6 2f c6 0d 39 45 4c d6 dc 8d 37 | 98 9a 1d 44 59 b7 ba a8 a0 5a 17 d0 1b 68 82 95 | 82 b0 e7 18 85 06 a0 a4 0d e3 a2 96 a1 f5 54 51 | ca c1 2c 75 17 1b 82 76 4b 3e fd 3e f0 6e b7 a7 | e5 c2 1b c2 d6 3a 9d 3d e1 14 d7 85 90 34 9d 81 | c8 da b2 4c 5d a3 e2 8b 98 00 9f c8 86 32 bc 1b | e2 dd 60 fc 01 15 88 66 e1 e4 e9 c8 e7 ac 62 b5 | 3e 9a 18 79 27 5b a6 54 be a2 c1 9d 7f 3b 98 1e | 38 f5 5b 9b 30 30 33 bc 4b 8f 47 7c 7f 48 7f ce | b3 07 62 01 4c cc 8f 52 25 75 b3 0c 1e 99 ce d7 | e6 73 67 d4 3d 72 73 9a b6 93 da c5 fe aa 1c 4f | 72 90 10 ba 4c 8a 6f e5 30 74 1a fe 6b 11 be 99 | e7 31 21 20 13 43 b9 08 42 67 d3 e8 b9 e3 31 9a | d8 b0 e7 8f c4 45 99 23 54 42 d9 fa e0 a4 e6 91 | 90 a8 ef 3a b0 3c 05 6e 97 07 fc 6d 1e bf 63 67 | fe 7a 6c 39 03 53 b8 29 62 bf e1 5a 50 26 ab 3f | 83 d1 83 37 39 5f 8d 8e c9 49 e8 cf de c0 b6 e5 | e0 1a d5 e6 e0 d4 7c cc 6e 35 7b d9 20 8b 45 c8 | 69 c3 ff 4e 53 68 a5 c2 81 57 f9 2e 5c 68 72 5e | 5c 63 30 b3 ca a9 ed a0 08 b1 85 ef cc 34 74 ad | c8 36 3a 35 26 43 e1 0b 54 86 d0 3b 5a 2b dc 70 | 3f 1f 6d a7 06 b6 0f 40 c8 1d b6 bc 9c 4b 31 c2 | 4d 86 ba 18 06 4e 70 bc 80 ec b4 83 c2 e7 39 b1 | 9c a0 ae 1c 60 f9 8e 06 0b 1a ff 93 15 d9 45 fc | 0c b5 29 32 4b eb 49 17 42 32 ab 6f 93 18 40 95 | 1c e7 25 05 4d fe fa b7 d6 4f 35 2e 75 8e fc 2c | 29 00 00 24 6a 79 85 80 b9 41 66 a4 53 50 ec b2 | 55 2c de a6 18 cb 0a 29 48 74 c3 2a b1 36 d9 16 | ea 7c da 08 29 00 00 08 00 00 40 2e 29 00 00 1c | 00 00 40 04 7c 6a 16 85 84 8f c3 d2 3c c7 0e fe | ad b4 df e5 18 37 95 63 00 00 00 1c 00 00 40 05 | 1f 47 45 5b 5d 53 1b 1f 02 21 b2 5d 5c 97 6d 85 | a4 a8 d0 68 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | bb 84 95 7d 53 1e d5 91 | 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 0x5586d65f3f70 | 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: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 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:2668) | 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=0x5586d5e8c7a0(20) | natd_hash: icookie= bb 84 95 7d 53 1e d5 91 | natd_hash: rcookie= 00 00 00 00 00 00 00 00 | natd_hash: ip= c0 01 02 17 | natd_hash: port= 01 f4 | natd_hash: hash= 1f 47 45 5b 5d 53 1b 1f 02 21 b2 5d 5c 97 6d 85 | natd_hash: hash= a4 a8 d0 68 | natd_hash: rcookie is zero | natd_hash: hasher=0x5586d5e8c7a0(20) | natd_hash: icookie= bb 84 95 7d 53 1e d5 91 | natd_hash: rcookie= 00 00 00 00 00 00 00 00 | natd_hash: ip= c0 01 02 2d | natd_hash: port= 01 f4 | natd_hash: hash= 7c 6a 16 85 84 8f c3 d2 3c c7 0e fe ad b4 df e5 | natd_hash: hash= 18 37 95 63 | 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@0x5586d65f9ff0 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #7 | libevent_malloc: new ptr-libevent@0x7fbfec0054e0 size 128 | #7 spent 0.216 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:3376) | #7 complete_v2_state_transition() PARENT_R0->PARENT_R1 with status STF_SUSPEND | crypto helper 6 resuming | suspending state #7 and saving MD | #7 is busy; has a suspended MD | crypto helper 6 starting work-order 7 for state #7 | [RE]START processing: state #7 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in log_stf_suspend() at ikev2.c:3266) | crypto helper 6 doing build KE and nonce (ikev2_inI1outR1 KE); request ID 7 | "westnet-eastnet-ikev2" #7 complete v2 state STATE_PARENT_R0 transition with STF_SUSPEND suspended from complete_v2_state_transition:3448 | 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.658 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.666 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.016644 seconds | (#7) spent 16.6 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@0x7fbfe4002660 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 0x5586d5db6630 | ikev2_parent_inI1outR1_continue for #7: calculated ke+nonce, sending R1 | **emit ISAKMP Message: | initiator cookie: | bb 84 95 7d 53 1e d5 91 | responder cookie: | 71 97 1e 9c a6 52 dd 61 | 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 8c 27 06 87 9d 1d b9 77 09 03 e9 aa 68 c7 4a 83 | ikev2 g^x af 03 76 b1 87 a9 a8 4b fe 4c 76 94 a9 a3 be 4a | ikev2 g^x 21 8e 52 bc 8a b6 bc 2a 58 7c ce 03 f8 e6 aa dc | ikev2 g^x 0b 88 ab 30 bb 9d 67 43 e0 91 ed 8b d1 f0 45 04 | ikev2 g^x 86 97 01 e5 f4 2b 0e cc 00 fa 78 42 cc 07 36 d4 | ikev2 g^x 4c a7 7a 34 9d 6b ff 09 87 bb 0e 58 da 39 f5 a1 | ikev2 g^x 39 d4 c5 b1 7b a6 3b e9 4b 19 3e 95 a3 bf 99 5c | ikev2 g^x e2 5d 53 4f d9 41 94 46 60 2a 6a 04 47 e4 40 86 | ikev2 g^x e4 87 17 63 a5 38 fc b4 22 65 18 d0 28 2f 63 c3 | ikev2 g^x 8d 40 f9 24 c4 1c dd 58 2f d5 0e a4 80 70 d2 3e | ikev2 g^x b2 43 d2 3f 9b 44 a7 dc f1 c3 8e 40 25 31 c3 6f | ikev2 g^x 17 8d 32 e3 36 f5 a0 bb 4e 83 b6 16 76 ef 9f 80 | ikev2 g^x b2 05 2b c3 f1 6f fb 59 76 0d cc 62 66 0d 46 32 | ikev2 g^x 4b 9f ac b0 23 41 55 c9 b7 4d d1 45 32 4b 81 22 | ikev2 g^x d4 33 40 a5 fe d9 c0 7e b8 68 af 50 9a 7e 97 d3 | ikev2 g^x 31 16 49 31 d3 12 ce 95 ea d3 46 b5 64 77 32 f1 | ikev2 g^x 29 41 da 60 27 8b 9e c9 cd 81 e4 be 6c ac 57 00 | ikev2 g^x 8d 92 5e 15 a4 54 12 78 55 5a 59 cf ad d1 6e 03 | ikev2 g^x 91 02 14 72 9d 4e 7b dc bc 02 f7 8b da 64 3c 47 | ikev2 g^x d8 e1 3e c2 56 cc dc 06 87 cd 73 06 73 c5 75 19 | ikev2 g^x 18 06 5b 0f 9d 54 9a 54 70 62 89 ef 63 cb 4d c8 | ikev2 g^x eb a0 8e 42 13 5d ae 92 5b 1e c6 43 a5 25 15 20 | ikev2 g^x 1c 3f 51 6e 1e 8a 12 2d 34 08 a9 61 c3 c0 9c 82 | ikev2 g^x c6 db d2 a8 dc 6b 34 c6 52 88 26 96 63 cd 31 aa | ikev2 g^x 6e e0 1b 18 c0 a0 a6 8c 49 97 fd c9 78 7d ff df | ikev2 g^x bb f4 41 b3 69 c9 b7 5a a1 4c 85 2d 26 1d c0 30 | ikev2 g^x e7 f4 5e d3 e1 c5 7f 53 0a ea 13 93 7e 1f 93 4c | ikev2 g^x fa 2d 23 16 5a b9 16 b4 fe 34 66 15 b1 07 70 21 | ikev2 g^x 18 ec ff 8b ce 4d d6 91 7c 92 9e 36 52 b0 ef b4 | ikev2 g^x 42 c9 f0 cc 26 77 1b ff 7a 7e 54 1e 1d e0 40 76 | ikev2 g^x ef cc e1 0d 79 2c e6 31 86 a3 c1 71 3c 9d a8 2a | ikev2 g^x a0 20 fc a1 b0 da ec 69 28 28 75 12 ae 48 22 2d | ikev2 g^x d3 fa 49 85 01 81 90 0f fc 86 e0 33 a1 18 0f 95 | ikev2 g^x 1a a7 4f 78 bd a5 c1 55 66 eb 95 89 99 06 c3 42 | ikev2 g^x f4 76 08 b6 69 7b a6 0e 78 ae 9d cc 29 17 8d 76 | ikev2 g^x 25 54 ee 42 af 03 f6 da 57 cc d9 59 b4 cc f1 f7 | ikev2 g^x 7b eb 3f 07 d2 0d 1f 6b 32 83 9f 01 79 c4 6d 6c | ikev2 g^x c2 b7 80 c0 e9 5e d8 28 af 28 1c 48 f2 b8 d1 20 | ikev2 g^x a2 99 4a 82 00 2c cb 51 15 89 74 19 c4 5e 49 cd | ikev2 g^x 59 9f 44 e7 7d 56 a6 fa 9d 9d e6 1c 70 e3 88 3e | ikev2 g^x 8a 98 81 cf 4d 9e 5f 61 33 98 5b a1 7e 8e a1 40 | ikev2 g^x 1a c0 ae 32 67 e5 e1 50 39 ea f2 8b e4 2a 5a 28 | ikev2 g^x 88 32 1b 67 e8 87 15 be c2 4c 60 a8 9a 8e f4 68 | ikev2 g^x ed 93 d5 e9 7b 82 ed a3 5c 3f ae ef 7d bc e1 4b | ikev2 g^x 9c 31 df a8 cc 9b 59 d6 72 50 84 fa 11 a0 92 7a | ikev2 g^x 38 05 d8 04 1f e8 3f d0 28 e2 89 14 fe 56 85 6c | ikev2 g^x 11 07 8d 0f 1e 86 26 96 f5 ff ac d0 83 fc 5a 32 | ikev2 g^x 9d f8 e4 7e 9c 53 48 73 20 e5 5f 77 df 3d 7e 60 | ikev2 g^x ff 2b a5 45 06 df f5 c0 60 b8 ab 8b 40 18 75 4c | ikev2 g^x 96 c2 0d 17 8a fa 16 05 12 06 2c d7 3d 0d d1 03 | ikev2 g^x 52 49 36 7b 67 f0 9d d6 da 70 6b 1a 51 e5 87 69 | ikev2 g^x ad d2 c2 93 ac b7 03 34 90 21 6b 5d 37 48 41 8f | ikev2 g^x 3f 72 62 83 0b 75 ca a3 55 3a 45 96 b9 7d ef 43 | ikev2 g^x 32 48 ea 4c d6 de c0 67 7c 76 f4 84 7d cb af ca | ikev2 g^x 6b 9d 6b 21 69 9a b5 5d d5 15 04 bf 6e 1d 81 94 | ikev2 g^x f9 87 a2 f8 be 59 04 e8 a1 e5 8c 2e 45 3b 38 47 | ikev2 g^x b2 61 af c6 b0 fd 69 0f ef 94 68 0b a3 76 e0 c0 | ikev2 g^x 47 ec a9 62 4f 84 b1 72 04 76 5c 93 84 68 5b 74 | ikev2 g^x 46 ac a2 42 1f 57 71 39 c2 5d d2 f6 4e dc d2 dc | ikev2 g^x be 84 66 2b 4c 4b 9e 03 59 2e 52 c8 f5 96 dc 89 | ikev2 g^x c1 99 3c 05 33 38 0e f5 b7 70 97 cb ec 75 c9 6c | ikev2 g^x ef 2d 2e db e4 6e c6 0e ed 12 38 8f e4 b4 b7 89 | ikev2 g^x 9e df c3 c3 eb b7 18 54 d5 90 8e cb b4 57 ed 7a | ikev2 g^x ed 25 96 e6 14 aa 03 cc 83 76 e6 3d 6e f9 61 b7 | 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 bb 60 67 4b 77 92 ce 61 80 99 ba ac fc 00 7b b3 | IKEv2 nonce a3 15 03 cd 14 b1 f8 82 1f 9c ca 56 8c f9 4b b2 | 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=0x5586d5e8c7a0(20) | natd_hash: icookie= bb 84 95 7d 53 1e d5 91 | natd_hash: rcookie= 71 97 1e 9c a6 52 dd 61 | natd_hash: ip= c0 01 02 17 | natd_hash: port= 01 f4 | natd_hash: hash= f7 e8 86 67 ac 3b 34 93 e0 f7 1f 06 fc 2b 8a da | natd_hash: hash= 5c 13 30 08 | 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 f7 e8 86 67 ac 3b 34 93 e0 f7 1f 06 fc 2b 8a da | Notify data 5c 13 30 08 | emitting length of IKEv2 Notify Payload: 28 | natd_hash: hasher=0x5586d5e8c7a0(20) | natd_hash: icookie= bb 84 95 7d 53 1e d5 91 | natd_hash: rcookie= 71 97 1e 9c a6 52 dd 61 | natd_hash: ip= c0 01 02 2d | natd_hash: port= 01 f4 | natd_hash: hash= ba 3c fa 32 a9 3f b8 a7 4d 80 22 f2 92 cc 8e 74 | natd_hash: hash= 83 93 53 33 | 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 3c fa 32 a9 3f b8 a7 4d 80 22 f2 92 cc 8e 74 | Notify data 83 93 53 33 | 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:3376) | #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) | bb 84 95 7d 53 1e d5 91 71 97 1e 9c a6 52 dd 61 | 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 8c 27 06 87 9d 1d b9 77 09 03 e9 aa | 68 c7 4a 83 af 03 76 b1 87 a9 a8 4b fe 4c 76 94 | a9 a3 be 4a 21 8e 52 bc 8a b6 bc 2a 58 7c ce 03 | f8 e6 aa dc 0b 88 ab 30 bb 9d 67 43 e0 91 ed 8b | d1 f0 45 04 86 97 01 e5 f4 2b 0e cc 00 fa 78 42 | cc 07 36 d4 4c a7 7a 34 9d 6b ff 09 87 bb 0e 58 | da 39 f5 a1 39 d4 c5 b1 7b a6 3b e9 4b 19 3e 95 | a3 bf 99 5c e2 5d 53 4f d9 41 94 46 60 2a 6a 04 | 47 e4 40 86 e4 87 17 63 a5 38 fc b4 22 65 18 d0 | 28 2f 63 c3 8d 40 f9 24 c4 1c dd 58 2f d5 0e a4 | 80 70 d2 3e b2 43 d2 3f 9b 44 a7 dc f1 c3 8e 40 | 25 31 c3 6f 17 8d 32 e3 36 f5 a0 bb 4e 83 b6 16 | 76 ef 9f 80 b2 05 2b c3 f1 6f fb 59 76 0d cc 62 | 66 0d 46 32 4b 9f ac b0 23 41 55 c9 b7 4d d1 45 | 32 4b 81 22 d4 33 40 a5 fe d9 c0 7e b8 68 af 50 | 9a 7e 97 d3 31 16 49 31 d3 12 ce 95 ea d3 46 b5 | 64 77 32 f1 29 41 da 60 27 8b 9e c9 cd 81 e4 be | 6c ac 57 00 8d 92 5e 15 a4 54 12 78 55 5a 59 cf | ad d1 6e 03 91 02 14 72 9d 4e 7b dc bc 02 f7 8b | da 64 3c 47 d8 e1 3e c2 56 cc dc 06 87 cd 73 06 | 73 c5 75 19 18 06 5b 0f 9d 54 9a 54 70 62 89 ef | 63 cb 4d c8 eb a0 8e 42 13 5d ae 92 5b 1e c6 43 | a5 25 15 20 1c 3f 51 6e 1e 8a 12 2d 34 08 a9 61 | c3 c0 9c 82 c6 db d2 a8 dc 6b 34 c6 52 88 26 96 | 63 cd 31 aa 6e e0 1b 18 c0 a0 a6 8c 49 97 fd c9 | 78 7d ff df bb f4 41 b3 69 c9 b7 5a a1 4c 85 2d | 26 1d c0 30 e7 f4 5e d3 e1 c5 7f 53 0a ea 13 93 | 7e 1f 93 4c fa 2d 23 16 5a b9 16 b4 fe 34 66 15 | b1 07 70 21 18 ec ff 8b ce 4d d6 91 7c 92 9e 36 | 52 b0 ef b4 42 c9 f0 cc 26 77 1b ff 7a 7e 54 1e | 1d e0 40 76 ef cc e1 0d 79 2c e6 31 86 a3 c1 71 | 3c 9d a8 2a a0 20 fc a1 b0 da ec 69 28 28 75 12 | ae 48 22 2d d3 fa 49 85 01 81 90 0f fc 86 e0 33 | a1 18 0f 95 1a a7 4f 78 bd a5 c1 55 66 eb 95 89 | 99 06 c3 42 f4 76 08 b6 69 7b a6 0e 78 ae 9d cc | 29 17 8d 76 25 54 ee 42 af 03 f6 da 57 cc d9 59 | b4 cc f1 f7 7b eb 3f 07 d2 0d 1f 6b 32 83 9f 01 | 79 c4 6d 6c c2 b7 80 c0 e9 5e d8 28 af 28 1c 48 | f2 b8 d1 20 a2 99 4a 82 00 2c cb 51 15 89 74 19 | c4 5e 49 cd 59 9f 44 e7 7d 56 a6 fa 9d 9d e6 1c | 70 e3 88 3e 8a 98 81 cf 4d 9e 5f 61 33 98 5b a1 | 7e 8e a1 40 1a c0 ae 32 67 e5 e1 50 39 ea f2 8b | e4 2a 5a 28 88 32 1b 67 e8 87 15 be c2 4c 60 a8 | 9a 8e f4 68 ed 93 d5 e9 7b 82 ed a3 5c 3f ae ef | 7d bc e1 4b 9c 31 df a8 cc 9b 59 d6 72 50 84 fa | 11 a0 92 7a 38 05 d8 04 1f e8 3f d0 28 e2 89 14 | fe 56 85 6c 11 07 8d 0f 1e 86 26 96 f5 ff ac d0 | 83 fc 5a 32 9d f8 e4 7e 9c 53 48 73 20 e5 5f 77 | df 3d 7e 60 ff 2b a5 45 06 df f5 c0 60 b8 ab 8b | 40 18 75 4c 96 c2 0d 17 8a fa 16 05 12 06 2c d7 | 3d 0d d1 03 52 49 36 7b 67 f0 9d d6 da 70 6b 1a | 51 e5 87 69 ad d2 c2 93 ac b7 03 34 90 21 6b 5d | 37 48 41 8f 3f 72 62 83 0b 75 ca a3 55 3a 45 96 | b9 7d ef 43 32 48 ea 4c d6 de c0 67 7c 76 f4 84 | 7d cb af ca 6b 9d 6b 21 69 9a b5 5d d5 15 04 bf | 6e 1d 81 94 f9 87 a2 f8 be 59 04 e8 a1 e5 8c 2e | 45 3b 38 47 b2 61 af c6 b0 fd 69 0f ef 94 68 0b | a3 76 e0 c0 47 ec a9 62 4f 84 b1 72 04 76 5c 93 | 84 68 5b 74 46 ac a2 42 1f 57 71 39 c2 5d d2 f6 | 4e dc d2 dc be 84 66 2b 4c 4b 9e 03 59 2e 52 c8 | f5 96 dc 89 c1 99 3c 05 33 38 0e f5 b7 70 97 cb | ec 75 c9 6c ef 2d 2e db e4 6e c6 0e ed 12 38 8f | e4 b4 b7 89 9e df c3 c3 eb b7 18 54 d5 90 8e cb | b4 57 ed 7a ed 25 96 e6 14 aa 03 cc 83 76 e6 3d | 6e f9 61 b7 29 00 00 24 bb 60 67 4b 77 92 ce 61 | 80 99 ba ac fc 00 7b b3 a3 15 03 cd 14 b1 f8 82 | 1f 9c ca 56 8c f9 4b b2 29 00 00 08 00 00 40 2e | 29 00 00 1c 00 00 40 04 f7 e8 86 67 ac 3b 34 93 | e0 f7 1f 06 fc 2b 8a da 5c 13 30 08 00 00 00 1c | 00 00 40 05 ba 3c fa 32 a9 3f b8 a7 4d 80 22 f2 | 92 cc 8e 74 83 93 53 33 | state #7 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x7fbfec0054e0 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x5586d65f9ff0 | event_schedule: new EVENT_SO_DISCARD-pe@0x5586d65f9ff0 | inserting event EVENT_SO_DISCARD, timeout in 200 seconds for #7 | libevent_malloc: new ptr-libevent@0x7fbfec0054e0 size 128 | resume sending helper answer for #7 suppresed complete_v2_state_transition() | #7 spent 0.884 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@0x7fbfe4002660 | spent 0 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) | bb 84 95 7d 53 1e d5 91 71 97 1e 9c a6 52 dd 61 | 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | 80 b2 52 db 98 6b e1 ee ab 56 43 6f 22 a0 1d f1 | 8c ab 1d 49 42 c5 9e bd 58 ea 25 cc 97 f4 e5 eb | 47 6a 5f 9c 5c bc 76 e6 8d 58 c1 3e 36 a2 7c c2 | 81 87 2e 7f 3c fc b6 6c 25 31 c4 f0 1e ee 37 ac | 93 fc 24 91 18 ab 1b 64 46 10 a4 33 24 4b 90 7c | 1b ce 08 55 01 70 7c 2a ae 8e 5a e7 cf 4f 38 8a | f8 4b 68 93 66 1b e6 49 df 50 a2 d5 d0 d9 47 ee | 1f 84 41 34 87 00 31 0b 5e 7a 9e 5b c9 b3 a5 98 | 3c 47 98 69 36 bb 43 16 d2 e8 d6 0e 37 bc 31 db | 7a d1 37 e4 17 8d 97 c4 aa 8d 64 63 87 4d d5 0b | 08 d9 dc b5 3b 31 df 8d 2c 5d 3b 85 aa 52 18 3f | 0a 97 ca 4a be d2 65 63 5f f6 61 0a b9 3b 40 2f | 87 f2 f8 d9 ed 0c 84 89 b2 71 1b 4b 3f b6 37 7c | f7 ad 91 5b cc 5d c5 31 3a 6b d4 69 f2 20 95 92 | 63 02 3f 29 0f c0 db 38 1d 7a 8b c6 07 0e 8c 9c | 38 3b 39 b8 66 4c 7f 2c 88 32 24 71 9e 61 12 9a | d0 4b 10 90 c9 19 d1 78 a8 fb 25 9b 21 bd 58 42 | 70 1a 95 a9 3c 7a 48 4e 80 ad 22 66 aa b6 09 d8 | c7 a1 78 91 a7 ba 64 8a 1a 2f 74 3b d5 f6 af 76 | 1c 35 bd 8a bf e1 48 3c 8a 48 c9 6a 53 c8 6c 06 | 51 40 2b 7e 43 65 63 aa b8 e7 a6 c5 96 0e 95 f0 | 3f 14 2a e5 35 d8 d1 28 26 13 6a c3 c3 68 50 77 | db 47 5a fa de 87 e6 08 89 92 7b 65 4a 58 c8 07 | e6 f8 72 0f cc 24 9b d1 ea d9 9e a2 a8 42 ee 37 | 8f 32 51 13 11 c0 15 cf e5 d9 86 2d 63 0a 68 fd | d2 2a 5d 8d 6c 2c cd e6 96 28 f6 5e f9 3e ce 76 | 3d b0 3e a4 64 65 35 d6 58 72 12 ce 77 12 d9 e6 | 85 a9 ef c6 f6 b6 aa 22 66 88 64 e2 15 94 f4 c1 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | bb 84 95 7d 53 1e d5 91 | responder cookie: | 71 97 1e 9c a6 52 dd 61 | 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@0x7fbfec0054e0 | free_event_entry: release EVENT_SO_DISCARD-pe@0x5586d65f9ff0 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x5586d65f9ff0 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #7 | libevent_malloc: new ptr-libevent@0x7fbfe4002660 size 128 | #7 spent 0.0351 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:3376) | #7 complete_v2_state_transition() PARENT_R1->PARENT_R1 with status STF_SUSPEND | suspending state #7 and saving MD | #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:3266) | "westnet-eastnet-ikev2" #7 complete v2 state STATE_PARENT_R1 transition with STF_SUSPEND suspended from complete_v2_state_transition:3448 | 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.213 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.224 milliseconds in comm_handle_cb() reading and processing packet | crypto helper 0 resuming | crypto helper 0 starting work-order 8 for state #7 | crypto helper 0 doing compute dh (V2) (ikev2_inI2outR2 KE); request ID 8 | 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.022251 seconds | (#7) spent 21.3 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@0x7fbff8004380 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 0x5586d5db6630 | ikev2_parent_inI2outR2_continue for #7: calculating g^{xy}, sending R2 | #7 in state PARENT_R1: received v2I1, sent v2R1 | data for hmac: bb 84 95 7d 53 1e d5 91 71 97 1e 9c a6 52 dd 61 | data for hmac: 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | data for hmac: 80 b2 52 db 98 6b e1 ee ab 56 43 6f 22 a0 1d f1 | data for hmac: 8c ab 1d 49 42 c5 9e bd 58 ea 25 cc 97 f4 e5 eb | data for hmac: 47 6a 5f 9c 5c bc 76 e6 8d 58 c1 3e 36 a2 7c c2 | data for hmac: 81 87 2e 7f 3c fc b6 6c 25 31 c4 f0 1e ee 37 ac | data for hmac: 93 fc 24 91 18 ab 1b 64 46 10 a4 33 24 4b 90 7c | data for hmac: 1b ce 08 55 01 70 7c 2a ae 8e 5a e7 cf 4f 38 8a | data for hmac: f8 4b 68 93 66 1b e6 49 df 50 a2 d5 d0 d9 47 ee | data for hmac: 1f 84 41 34 87 00 31 0b 5e 7a 9e 5b c9 b3 a5 98 | data for hmac: 3c 47 98 69 36 bb 43 16 d2 e8 d6 0e 37 bc 31 db | data for hmac: 7a d1 37 e4 17 8d 97 c4 aa 8d 64 63 87 4d d5 0b | data for hmac: 08 d9 dc b5 3b 31 df 8d 2c 5d 3b 85 aa 52 18 3f | data for hmac: 0a 97 ca 4a be d2 65 63 5f f6 61 0a b9 3b 40 2f | data for hmac: 87 f2 f8 d9 ed 0c 84 89 b2 71 1b 4b 3f b6 37 7c | data for hmac: f7 ad 91 5b cc 5d c5 31 3a 6b d4 69 f2 20 95 92 | data for hmac: 63 02 3f 29 0f c0 db 38 1d 7a 8b c6 07 0e 8c 9c | data for hmac: 38 3b 39 b8 66 4c 7f 2c 88 32 24 71 9e 61 12 9a | data for hmac: d0 4b 10 90 c9 19 d1 78 a8 fb 25 9b 21 bd 58 42 | data for hmac: 70 1a 95 a9 3c 7a 48 4e 80 ad 22 66 aa b6 09 d8 | data for hmac: c7 a1 78 91 a7 ba 64 8a 1a 2f 74 3b d5 f6 af 76 | data for hmac: 1c 35 bd 8a bf e1 48 3c 8a 48 c9 6a 53 c8 6c 06 | data for hmac: 51 40 2b 7e 43 65 63 aa b8 e7 a6 c5 96 0e 95 f0 | data for hmac: 3f 14 2a e5 35 d8 d1 28 26 13 6a c3 c3 68 50 77 | data for hmac: db 47 5a fa de 87 e6 08 89 92 7b 65 4a 58 c8 07 | data for hmac: e6 f8 72 0f cc 24 9b d1 ea d9 9e a2 a8 42 ee 37 | data for hmac: 8f 32 51 13 11 c0 15 cf e5 d9 86 2d 63 0a 68 fd | data for hmac: d2 2a 5d 8d 6c 2c cd e6 96 28 f6 5e f9 3e ce 76 | data for hmac: 3d b0 3e a4 64 65 35 d6 58 72 12 ce 77 12 d9 e6 | calculated auth: 85 a9 ef c6 f6 b6 aa 22 66 88 64 e2 15 94 f4 c1 | provided auth: 85 a9 ef c6 f6 b6 aa 22 66 88 64 e2 15 94 f4 c1 | 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:2668) | 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=0x5586d65e5e80 (line=1) | concluding with best_match=002 best=0x5586d65e5e80 (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' | RSA key issuer CA is '%any' | an RSA Sig check passed with *AQOm9dY/4 [preloaded keys] | #7 spent 0.0551 milliseconds in try_all_keys() trying a pubkey "westnet-eastnet-ikev2" #7: Authenticated using RSA | #7 spent 0.0851 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@0x7fbfe4002660 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x5586d65f9ff0 | event_schedule: new EVENT_SA_REKEY-pe@0x5586d65f9ff0 | inserting event EVENT_SA_REKEY, timeout in 3330 seconds for #7 | libevent_malloc: new ptr-libevent@0x7fbfe4002660 size 128 | pstats #7 ikev2.ike established | **emit ISAKMP Message: | initiator cookie: | bb 84 95 7d 53 1e d5 91 | responder cookie: | 71 97 1e 9c a6 52 dd 61 | 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=0x5586d65e5e80 (line=1) | concluding with best_match=002 best=0x5586d65e5e80 (lineno=1) | #7 spent 4.52 milliseconds in ikev2_calculate_rsa_hash() calling sign_hash_RSA() | emitting 274 raw bytes of rsa signature into IKEv2 Authentication Payload | rsa signature 20 b0 9a 6d c2 10 79 1b 6a 51 a9 1a 72 39 0d 44 | rsa signature a2 3d 9f d9 bd 41 dd 0b 47 bb 9a 28 a6 84 a6 9b | rsa signature 26 c7 8c 3f 7c d4 5c 46 37 29 72 1c 90 9e 54 69 | rsa signature a0 4a bb 16 72 db b6 93 70 bc 60 da 6a 3e 44 db | rsa signature 3f e8 76 b3 a1 c2 c7 92 99 bc 5e 69 e4 cb 50 c3 | rsa signature 3c e4 b3 a4 14 16 b0 a3 8d 03 ea fa ad 9a 6a 3e | rsa signature 36 19 bf 69 92 b3 ee a5 8a 27 14 44 e6 bf fd 65 | rsa signature 73 9a 24 43 74 1c ae 27 58 44 47 fd 52 a6 0f 61 | rsa signature 80 b8 0a 2f e0 b5 af 6b 12 02 f2 22 b3 91 fd 2d | rsa signature c9 ca 7f cc 05 e2 e3 f3 c5 2f 2f bb 30 2b 54 2f | rsa signature 77 6b 47 b0 bc 56 8b 5c d5 c5 33 22 c7 b6 1b b8 | rsa signature 29 70 8d 67 c1 43 11 a2 11 b7 4e ce f2 5e e9 d4 | rsa signature 11 d7 69 26 2f 0c fc 8b 2a 6a 4e ef 6b 92 63 4b | rsa signature 69 7d cd 90 dc 62 76 86 61 5d 3e d2 c0 14 2d 7e | rsa signature a4 24 0d 2b 61 4f 8f ef 94 de 37 a0 ac 8a 38 7f | rsa signature c9 d4 dc e7 ba 05 74 1e 73 4c b1 e4 64 e8 84 f6 | rsa signature a5 36 8b e3 52 35 6f 68 eb 35 1f e7 c8 a8 9b ef | rsa signature 79 e0 | #7 spent 4.6 milliseconds in ikev2_calculate_rsa_hash() | emitting length of IKEv2 Authentication Payload: 282 | creating state object #8 at 0x5586d6605f40 | 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:1481) | 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/0 R=192.0.2.0/24:0:0/0 to their: | TSi[0] .net=192.0.1.0-192.0.1.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.1.0/24 == TSi[0]net=192.0.1.0-192.0.1.255: YES fitness 32 | narrow port end=0..65535 == TSi[0]=0..65535: 0 | TSi[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSi[0]=*0: 0 | match end->protocol=*0 == TSi[0].ipprotoid=*0: YES fitness 255 | TSr[0] .net=192.0.2.0-192.0.2.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.2.0/24 == TSr[0]net=192.0.2.0-192.0.2.255: YES fitness 32 | narrow port end=0..65535 == TSr[0]=0..65535: 0 | TSr[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSr[0]=*0: 0 | match end->protocol=*0 == TSr[0].ipprotoid=*0: YES fitness 255 | best fit so far: TSi[0] TSr[0] | found better spd route for TSi[0],TSr[0] | looking for better host pair | find_host_pair: comparing 192.1.2.23:500 to 192.1.2.45:500 but ignoring ports | checking hostpair 192.0.2.0/24:0 -> 192.0.1.0/24:0 is found | investigating connection "westnet-eastnet-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/0 R=192.0.2.0/24:0:0/0 to their: | TSi[0] .net=192.0.1.0-192.0.1.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.1.0/24 == TSi[0]net=192.0.1.0-192.0.1.255: YES fitness 32 | narrow port end=0..65535 == TSi[0]=0..65535: 0 | TSi[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSi[0]=*0: 0 | match end->protocol=*0 == TSi[0].ipprotoid=*0: YES fitness 255 | TSr[0] .net=192.0.2.0-192.0.2.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.2.0/24 == TSr[0]net=192.0.2.0-192.0.2.255: YES fitness 32 | narrow port end=0..65535 == TSr[0]=0..65535: 0 | TSr[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSr[0]=*0: 0 | match end->protocol=*0 == TSr[0].ipprotoid=*0: YES fitness 255 | best fit so far: TSi[0] TSr[0] | did not find a better connection using host pair | printing contents struct traffic_selector | ts_type: IKEv2_TS_IPV4_ADDR_RANGE | ipprotoid: 0 | port range: 0-65535 | ip range: 192.0.2.0-192.0.2.255 | printing contents struct traffic_selector | ts_type: IKEv2_TS_IPV4_ADDR_RANGE | ipprotoid: 0 | port range: 0-65535 | ip range: 192.0.1.0-192.0.1.255 | using existing local ESP/AH proposals for westnet-eastnet-ikev2 (IKE_AUTH responder matching remote ESP/AH proposals): 1:ESP:ENCR=AES_GCM_C_256;INTEG=NONE;DH=NONE;ESN=DISABLED 2:ESP:ENCR=AES_GCM_C_128;INTEG=NONE;DH=NONE;ESN=DISABLED 3:ESP:ENCR=AES_CBC_256;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=NONE;ESN=DISABLED 4:ESP:ENCR=AES_CBC_128;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=NONE;ESN=DISABLED | Comparing remote proposals against IKE_AUTH responder matching remote ESP/AH proposals 4 local proposals | local proposal 1 type ENCR has 1 transforms | local proposal 1 type PRF has 0 transforms | local proposal 1 type INTEG has 1 transforms | local proposal 1 type DH has 1 transforms | local proposal 1 type ESN has 1 transforms | local proposal 1 transforms: required: ENCR+ESN; optional: INTEG+DH | local proposal 2 type ENCR has 1 transforms | local proposal 2 type PRF has 0 transforms | local proposal 2 type INTEG has 1 transforms | local proposal 2 type DH has 1 transforms | local proposal 2 type ESN has 1 transforms | local proposal 2 transforms: required: ENCR+ESN; optional: INTEG+DH | local proposal 3 type ENCR has 1 transforms | local proposal 3 type PRF has 0 transforms | local proposal 3 type INTEG has 2 transforms | local proposal 3 type DH has 1 transforms | local proposal 3 type ESN has 1 transforms | local proposal 3 transforms: required: ENCR+INTEG+ESN; optional: DH | local proposal 4 type ENCR has 1 transforms | local proposal 4 type PRF has 0 transforms | local proposal 4 type INTEG has 2 transforms | local proposal 4 type DH has 1 transforms | local proposal 4 type ESN has 1 transforms | local proposal 4 transforms: required: ENCR+INTEG+ESN; optional: DH | ***parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | length: 52 (0x34) | prop #: 1 (0x1) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (0x4) | # transforms: 4 (0x4) | parsing 4 raw bytes of IKEv2 Proposal Substructure Payload into remote SPI | remote SPI 3d 30 f7 8b | 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=3d30f78b;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=3d30f78b;ENCR=AES_CBC_256;INTEG=HMAC_SHA2_256_128;ESN=DISABLED | converting proposal to internal trans attrs | netlink_get_spi: allocated 0x7085e109 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 70 85 e1 09 | ******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 IP start into IKEv2 Traffic Selector | IP start c0 00 01 00 | emitting 4 raw bytes of IP end into IKEv2 Traffic Selector | IP end c0 00 01 ff | emitting length of IKEv2 Traffic Selector: 16 | emitting length of IKEv2 Traffic Selector - Initiator - Payload: 24 | ****emit IKEv2 Traffic Selector - Responder - Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | number of TS: 1 (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 IP start into IKEv2 Traffic Selector | IP start c0 00 02 00 | emitting 4 raw bytes of IP end into IKEv2 Traffic Selector | IP end c0 00 02 ff | emitting length of IKEv2 Traffic Selector: 16 | emitting length of IKEv2 Traffic Selector - Responder - Payload: 24 | Initiator child policy is compress=no, NOT sending v2N_IPCOMP_SUPPORTED | integ=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.3d30f78b@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.7085e109@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=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=0x3d30f78b SPI_OUT=0x7085e109 ipsec _updown 2>&1: | route_and_eroute: firewall_notified: true | route_and_eroute: instance "westnet-eastnet-ikev2", setting eroute_owner {spd=0x5586d65f1810,sr=0x5586d65f1810} to #8 (was #0) (newest_ipsec_sa=#0) | #7 spent 0.537 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: bb 84 95 7d 53 1e d5 91 71 97 1e 9c a6 52 dd 61 | data being hmac: 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | data being hmac: d6 2d 75 d7 f8 ce e9 86 15 5e 27 ad b3 b0 0e dc | data being hmac: 17 59 72 6e 18 d0 ba c2 df 79 5c c4 2a 94 67 34 | data being hmac: 02 12 84 0b e2 eb ca 59 1a de 13 65 14 c4 ee f1 | data being hmac: e9 4b 43 63 98 46 aa db 90 ff 2f 8a 54 55 e2 db | data being hmac: 1b e6 76 6a 68 88 a3 52 bd 6c 61 d9 e1 fa 30 bd | data being hmac: d6 be 1a d3 8d 2b ee b0 2f 0f ec 66 75 7e b8 1c | data being hmac: f6 25 18 24 31 ed 7d c9 47 5b 0c a1 39 72 ea 9d | data being hmac: f6 4c dc 56 b4 e8 a3 ab 75 65 2a 74 30 0b 19 c3 | data being hmac: 9a 15 27 c0 d7 33 77 ee 13 e7 c1 5d 94 0a 27 2a | data being hmac: dc bf ea d7 36 41 1e b8 15 d2 28 ad 0b d8 c3 54 | data being hmac: b7 e3 28 12 b5 36 63 88 4c 78 20 5f de e5 ae 28 | data being hmac: 4f 19 d1 88 11 2a c3 77 2f 31 3e 53 a4 e7 74 56 | data being hmac: 83 cf 7f b1 42 0f 0a 75 2a ac 5d 7e 4b 93 76 25 | data being hmac: ad b1 ae e0 c6 4b 6c 82 ee f9 7c 9e 84 76 62 47 | data being hmac: dd 5d 9b 3a 04 c5 c8 b5 54 0b f0 d6 5d 37 8b 00 | data being hmac: 51 33 aa 22 c3 0f dc 04 eb 2f 0c 94 4e c4 51 bd | data being hmac: 1d 3d 54 56 0a 83 1e 5c 57 03 9c 31 84 d4 dc 81 | data being hmac: 89 84 88 28 a7 50 b6 ec e3 95 df 11 e5 30 c9 ca | data being hmac: cf 14 a9 a5 b6 72 8d 46 af 2f 5b 38 07 82 d4 02 | data being hmac: dc f0 85 05 aa c6 7b bb 0b bc 98 93 25 94 de b4 | data being hmac: 1d 9c 82 7e 0b 50 2a 96 f8 98 53 33 5f 5e 36 8b | data being hmac: 49 4a 81 e5 02 77 9f e0 5b 97 d9 e8 4f 00 93 b4 | data being hmac: 4e 91 47 17 78 44 a6 7a 49 74 45 43 9d f8 f5 5a | data being hmac: 30 55 e2 b6 93 88 f4 7a 2e b5 d8 0d a9 7a 20 66 | data being hmac: f2 cf b2 bb 0b bb 5d ab 34 11 3d 04 a6 f3 5a fe | data being hmac: d6 6a 51 c6 cd 07 0d c7 ee c4 2a 07 39 9d 7b d7 | out calculated auth: | 67 2f 4e 1b 90 c4 d5 1b 0e 4f ef 2a 61 58 ff d0 | ikev2_parent_inI2outR2_continue_tail returned STF_OK | #7 spent 6.5 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:3376) | start processing: state #8 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3376) | #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=>0x3d30f78b <0x7085e109 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) | bb 84 95 7d 53 1e d5 91 71 97 1e 9c a6 52 dd 61 | 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | d6 2d 75 d7 f8 ce e9 86 15 5e 27 ad b3 b0 0e dc | 17 59 72 6e 18 d0 ba c2 df 79 5c c4 2a 94 67 34 | 02 12 84 0b e2 eb ca 59 1a de 13 65 14 c4 ee f1 | e9 4b 43 63 98 46 aa db 90 ff 2f 8a 54 55 e2 db | 1b e6 76 6a 68 88 a3 52 bd 6c 61 d9 e1 fa 30 bd | d6 be 1a d3 8d 2b ee b0 2f 0f ec 66 75 7e b8 1c | f6 25 18 24 31 ed 7d c9 47 5b 0c a1 39 72 ea 9d | f6 4c dc 56 b4 e8 a3 ab 75 65 2a 74 30 0b 19 c3 | 9a 15 27 c0 d7 33 77 ee 13 e7 c1 5d 94 0a 27 2a | dc bf ea d7 36 41 1e b8 15 d2 28 ad 0b d8 c3 54 | b7 e3 28 12 b5 36 63 88 4c 78 20 5f de e5 ae 28 | 4f 19 d1 88 11 2a c3 77 2f 31 3e 53 a4 e7 74 56 | 83 cf 7f b1 42 0f 0a 75 2a ac 5d 7e 4b 93 76 25 | ad b1 ae e0 c6 4b 6c 82 ee f9 7c 9e 84 76 62 47 | dd 5d 9b 3a 04 c5 c8 b5 54 0b f0 d6 5d 37 8b 00 | 51 33 aa 22 c3 0f dc 04 eb 2f 0c 94 4e c4 51 bd | 1d 3d 54 56 0a 83 1e 5c 57 03 9c 31 84 d4 dc 81 | 89 84 88 28 a7 50 b6 ec e3 95 df 11 e5 30 c9 ca | cf 14 a9 a5 b6 72 8d 46 af 2f 5b 38 07 82 d4 02 | dc f0 85 05 aa c6 7b bb 0b bc 98 93 25 94 de b4 | 1d 9c 82 7e 0b 50 2a 96 f8 98 53 33 5f 5e 36 8b | 49 4a 81 e5 02 77 9f e0 5b 97 d9 e8 4f 00 93 b4 | 4e 91 47 17 78 44 a6 7a 49 74 45 43 9d f8 f5 5a | 30 55 e2 b6 93 88 f4 7a 2e b5 d8 0d a9 7a 20 66 | f2 cf b2 bb 0b bb 5d ab 34 11 3d 04 a6 f3 5a fe | d6 6a 51 c6 cd 07 0d c7 ee c4 2a 07 39 9d 7b d7 | 67 2f 4e 1b 90 c4 d5 1b 0e 4f ef 2a 61 58 ff d0 | 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@0x5586d65fcab0 | inserting event EVENT_SA_REKEY, timeout in 28530 seconds for #8 | libevent_malloc: new ptr-libevent@0x7fbfe0004110 size 128 | resume sending helper answer for #7 suppresed complete_v2_state_transition() | #7 spent 6.83 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@0x7fbff8004380 | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00424 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00296 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) | bb 84 95 7d 53 1e d5 91 71 97 1e 9c a6 52 dd 61 | 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | a2 43 ad b2 d5 dd ea af 66 5c 4b b5 04 f3 c7 b1 | a2 a9 ab b0 27 08 79 67 b7 02 01 b8 59 d5 82 78 | 08 15 6e c9 fb f1 64 71 fc 81 2a 51 7f 35 74 ed | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | bb 84 95 7d 53 1e d5 91 | responder cookie: | 71 97 1e 9c a6 52 dd 61 | 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: bb 84 95 7d 53 1e d5 91 71 97 1e 9c a6 52 dd 61 | data for hmac: 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | data for hmac: a2 43 ad b2 d5 dd ea af 66 5c 4b b5 04 f3 c7 b1 | data for hmac: a2 a9 ab b0 27 08 79 67 b7 02 01 b8 59 d5 82 78 | calculated auth: 08 15 6e c9 fb f1 64 71 fc 81 2a 51 7f 35 74 ed | provided auth: 08 15 6e c9 fb f1 64 71 fc 81 2a 51 7f 35 74 ed | 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: | bb 84 95 7d 53 1e d5 91 | responder cookie: | 71 97 1e 9c a6 52 dd 61 | 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 30 f7 8b | delete PROTO_v2_ESP SA(0x3d30f78b) | 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(0x3d30f78b) "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.245s and NOT sending notification | child state #8: V2_IPSEC_R(established CHILD SA) => delete | get_sa_info esp.3d30f78b@192.1.2.45 | get_sa_info esp.7085e109@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@0x7fbfe0004110 | free_event_entry: release EVENT_SA_REKEY-pe@0x5586d65fcab0 | 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='1569050782' 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='1569050782' 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=0x3d30f78b SPI_OUT=0x7085e109 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 192.0.2.0/24:0 --0->- 192.0.1.0/24:0 | netlink_shunt_eroute for proto 0, and source 192.0.2.0/24:0 dest 192.0.1.0/24:0 | priority calculation of connection "westnet-eastnet-ikev2" is 0xfe7e7 | IPsec Sa SPD priority set to 1042407 | delete esp.3d30f78b@192.1.2.45 | netlink response for Del SA esp.3d30f78b@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.7085e109@192.1.2.23 | netlink response for Del SA esp.7085e109@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 70 85 e1 09 | 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: bb 84 95 7d 53 1e d5 91 71 97 1e 9c a6 52 dd 61 | data being hmac: 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | data being hmac: 96 dd dc 59 da ea 8f ec 6f 69 1a 47 4e 94 87 e5 | data being hmac: 69 48 b1 e9 0d 50 cc 0d 43 d1 db 77 f7 11 e2 1c | out calculated auth: | 38 ac a9 f2 51 ac 60 3d 85 46 4f 26 94 8d 36 7f | 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) | bb 84 95 7d 53 1e d5 91 71 97 1e 9c a6 52 dd 61 | 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | 96 dd dc 59 da ea 8f ec 6f 69 1a 47 4e 94 87 e5 | 69 48 b1 e9 0d 50 cc 0d 43 d1 db 77 f7 11 e2 1c | 38 ac a9 f2 51 ac 60 3d 85 46 4f 26 94 8d 36 7f | 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 0.698 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:3376) | #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 0.92 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.934 milliseconds in comm_handle_cb() reading and processing packet | spent 0.00158 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) | bb 84 95 7d 53 1e d5 91 71 97 1e 9c a6 52 dd 61 | 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | 57 0a e9 07 7d 55 26 9e 20 62 b8 3a 10 85 fb 2a | a3 14 d6 7b df 38 1d 7f 61 18 d5 e9 d7 eb 37 b7 | b9 1a f1 2c 63 fb 02 37 7e 3d 17 c2 4a 7f 8b e8 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | bb 84 95 7d 53 1e d5 91 | responder cookie: | 71 97 1e 9c a6 52 dd 61 | 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: bb 84 95 7d 53 1e d5 91 71 97 1e 9c a6 52 dd 61 | data for hmac: 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | data for hmac: 57 0a e9 07 7d 55 26 9e 20 62 b8 3a 10 85 fb 2a | data for hmac: a3 14 d6 7b df 38 1d 7f 61 18 d5 e9 d7 eb 37 b7 | calculated auth: b9 1a f1 2c 63 fb 02 37 7e 3d 17 c2 4a 7f 8b e8 | provided auth: b9 1a f1 2c 63 fb 02 37 7e 3d 17 c2 4a 7f 8b e8 | 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: | bb 84 95 7d 53 1e d5 91 | responder cookie: | 71 97 1e 9c a6 52 dd 61 | 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: bb 84 95 7d 53 1e d5 91 71 97 1e 9c a6 52 dd 61 | data being hmac: 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | data being hmac: 5b 73 c7 04 a9 53 25 b4 a7 37 3f 66 42 85 39 9d | data being hmac: 2c 59 fd e5 2b 33 d0 7d 3f 6b 08 ac 14 9f bc 1d | out calculated auth: | 4e bd 04 4b 72 c1 58 98 68 82 db ef 54 67 b1 e6 | 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) | bb 84 95 7d 53 1e d5 91 71 97 1e 9c a6 52 dd 61 | 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | 5b 73 c7 04 a9 53 25 b4 a7 37 3f 66 42 85 39 9d | 2c 59 fd e5 2b 33 d0 7d 3f 6b 08 ac 14 9f bc 1d | 4e bd 04 4b 72 c1 58 98 68 82 db ef 54 67 b1 e6 | 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 47.4 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.334s 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@0x7fbfe4002660 | free_event_entry: release EVENT_SA_REKEY-pe@0x5586d65f9ff0 | 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: 0x5586d654b8f0 @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:3376) | #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.469 milliseconds in comm_handle_cb() reading and processing packet | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00411 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.003 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) | 61 2c 24 1e c3 7d 3d b9 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 | d9 ac c7 86 5c 70 e2 eb 43 6d 55 fa 9d 0b 93 f5 | 62 e3 e4 db 78 0c c2 52 a4 4e 08 c4 f8 a9 43 1b | e1 80 a7 d8 0a 0e 79 21 2d 85 be c7 b1 74 92 0d | 87 c1 93 11 22 20 1a b0 6b c6 7b 8f 02 8b eb a0 | 29 00 00 24 17 69 81 76 e1 a5 8a 35 66 84 45 51 | c8 9c 97 42 84 55 78 78 65 c7 74 18 47 d4 94 26 | 74 30 1a bb 29 00 00 08 00 00 40 2e 29 00 00 1c | 00 00 40 04 14 d9 e4 e2 c4 1f 96 9a 7f 1f 41 07 | 84 d1 8f 22 97 fd 42 e0 00 00 00 1c 00 00 40 05 | 9c ea 8a af 14 38 8a c2 8f 95 37 84 3b 37 1a c3 | d6 3b 5d ac | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 61 2c 24 1e c3 7d 3d 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: 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 0x5586d65f3f70 | 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: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 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:2668) | 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=0x5586d5e8c7a0(20) | natd_hash: icookie= 61 2c 24 1e c3 7d 3d b9 | natd_hash: rcookie= 00 00 00 00 00 00 00 00 | natd_hash: ip= c0 01 02 17 | natd_hash: port= 01 f4 | natd_hash: hash= 9c ea 8a af 14 38 8a c2 8f 95 37 84 3b 37 1a c3 | natd_hash: hash= d6 3b 5d ac | natd_hash: rcookie is zero | natd_hash: hasher=0x5586d5e8c7a0(20) | natd_hash: icookie= 61 2c 24 1e c3 7d 3d b9 | natd_hash: rcookie= 00 00 00 00 00 00 00 00 | natd_hash: ip= c0 01 02 2d | natd_hash: port= 01 f4 | natd_hash: hash= 14 d9 e4 e2 c4 1f 96 9a 7f 1f 41 07 84 d1 8f 22 | natd_hash: hash= 97 fd 42 e0 | 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@0x5586d65fcab0 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #9 | libevent_malloc: new ptr-libevent@0x7fbfe0004110 size 128 | #9 spent 0.276 milliseconds in processing: Respond to IKE_SA_INIT in ikev2_process_state_packet() | crypto helper 1 resuming | [RE]START processing: state #9 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3376) | #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 | crypto helper 1 starting work-order 9 for state #9 | [RE]START processing: state #9 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in log_stf_suspend() at ikev2.c:3266) | crypto helper 1 doing build KE and nonce (ikev2_inI1outR1 KE); request ID 9 | "westnet-eastnet-ikev2" #9 complete v2 state STATE_PARENT_R0 transition with STF_SUSPEND suspended from complete_v2_state_transition:3448 | stop processing: state #9 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2018) | #9 spent 0.591 milliseconds in ikev2_process_packet() | stop processing: from 192.1.2.45:500 (in process_md() at demux.c:380) | processing: STOP state #0 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.603 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.000542 seconds | (#9) spent 0.547 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@0x7fbff00114b0 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 0x5586d5db6630 | ikev2_parent_inI1outR1_continue for #9: calculated ke+nonce, sending R1 | **emit ISAKMP Message: | initiator cookie: | 61 2c 24 1e c3 7d 3d b9 | responder cookie: | 88 30 e7 6d 2e 83 75 be | 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 9c b4 91 ed 68 37 27 94 93 a1 b7 0c 59 3b a6 e8 | ikev2 g^x 8e fc 95 2e f4 75 57 e8 b8 06 f0 99 a5 cc 1b 29 | ikev2 g^x 96 cd 6f 77 22 7a e0 8a 9f 58 7d 87 12 24 73 af | ikev2 g^x 03 a5 73 2e 92 1b f7 5b 7c 52 b9 cc d2 06 fa 66 | 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 1e 04 8a 5e d5 09 4d 01 26 e7 e1 09 b8 71 cd df | IKEv2 nonce 2b 42 cf 2f 8e 12 7d d6 b3 48 7d 7e 5f 5e 41 94 | 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=0x5586d5e8c7a0(20) | natd_hash: icookie= 61 2c 24 1e c3 7d 3d b9 | natd_hash: rcookie= 88 30 e7 6d 2e 83 75 be | natd_hash: ip= c0 01 02 17 | natd_hash: port= 01 f4 | natd_hash: hash= cd 5d 0a 19 9e ac 4a 84 91 85 1a a1 89 cf 30 cf | natd_hash: hash= 61 b7 f5 88 | 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 cd 5d 0a 19 9e ac 4a 84 91 85 1a a1 89 cf 30 cf | Notify data 61 b7 f5 88 | emitting length of IKEv2 Notify Payload: 28 | natd_hash: hasher=0x5586d5e8c7a0(20) | natd_hash: icookie= 61 2c 24 1e c3 7d 3d b9 | natd_hash: rcookie= 88 30 e7 6d 2e 83 75 be | natd_hash: ip= c0 01 02 2d | natd_hash: port= 01 f4 | natd_hash: hash= b8 df 8d 53 e1 ef 4d 44 da 3a 59 92 97 25 d0 cb | natd_hash: hash= 3a 0f 8a 89 | 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 b8 df 8d 53 e1 ef 4d 44 da 3a 59 92 97 25 d0 cb | Notify data 3a 0f 8a 89 | 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:3376) | #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) | 61 2c 24 1e c3 7d 3d b9 88 30 e7 6d 2e 83 75 be | 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 9c b4 91 ed 68 37 27 94 93 a1 b7 0c | 59 3b a6 e8 8e fc 95 2e f4 75 57 e8 b8 06 f0 99 | a5 cc 1b 29 96 cd 6f 77 22 7a e0 8a 9f 58 7d 87 | 12 24 73 af 03 a5 73 2e 92 1b f7 5b 7c 52 b9 cc | d2 06 fa 66 29 00 00 24 1e 04 8a 5e d5 09 4d 01 | 26 e7 e1 09 b8 71 cd df 2b 42 cf 2f 8e 12 7d d6 | b3 48 7d 7e 5f 5e 41 94 29 00 00 08 00 00 40 2e | 29 00 00 1c 00 00 40 04 cd 5d 0a 19 9e ac 4a 84 | 91 85 1a a1 89 cf 30 cf 61 b7 f5 88 00 00 00 1c | 00 00 40 05 b8 df 8d 53 e1 ef 4d 44 da 3a 59 92 | 97 25 d0 cb 3a 0f 8a 89 | state #9 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x7fbfe0004110 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x5586d65fcab0 | event_schedule: new EVENT_SO_DISCARD-pe@0x5586d65fcab0 | inserting event EVENT_SO_DISCARD, timeout in 200 seconds for #9 | libevent_malloc: new ptr-libevent@0x7fbfe0004110 size 128 | resume sending helper answer for #9 suppresed complete_v2_state_transition() | #9 spent 0.381 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@0x7fbff00114b0 | spent 0.00243 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) | 61 2c 24 1e c3 7d 3d b9 88 30 e7 6d 2e 83 75 be | 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | 71 f6 27 5d 55 79 2c c0 bd 31 5a 1d 08 b5 eb da | b2 eb 6a 44 92 48 f3 dc 78 d1 17 48 ce c1 b6 9d | 6a a2 db 1b c9 92 35 8c 97 0f a7 86 af 1c 2f e9 | 26 d6 4b bf 5b ba f2 d0 c8 ac 54 55 7e 4f 0d 45 | 12 f3 21 f8 c6 13 00 b7 a6 af e5 c7 de 95 a7 e5 | 0b 21 3a 79 90 cb 3e a1 a7 ae 1e e7 ca a1 0a c6 | 66 2e 9b bf 4f 9f f4 11 35 73 9c 35 a8 7d 43 90 | 09 2b 3d e9 9a df 9e 26 5c 66 24 8e 6f 44 2d 27 | 7d 24 34 c0 d5 57 c4 49 5e 28 30 1f 8d fd 9b ac | 4b 7e 3b 76 03 cc d4 cb fa 03 a5 1f de 1e 3d 95 | 56 42 af ab 60 91 e1 e1 a1 cd 4e 9a 7f c9 42 3e | d5 73 93 bb fe 3e fc 57 cb 1a 94 7f a6 02 0b 13 | f9 8e cf 83 42 ae 8b ca d4 72 d7 34 7d 77 01 8f | ad e8 18 03 d0 cf 24 f0 0e 1d ff a5 f7 6c fc 19 | cc 41 05 c5 04 75 46 f6 6a d1 57 22 ea 37 18 c4 | e3 92 f7 64 b9 b0 de 40 9b ae 07 bf a3 59 e4 25 | 68 fb b8 71 97 c4 3a 10 be 83 56 f8 32 6e 8d 16 | 34 f7 b5 09 12 d5 c2 91 ca 68 bd ce b4 a9 6b 08 | 57 67 d5 49 90 56 85 f1 c4 e0 67 0f e6 c1 63 a2 | 1a e8 5c a7 4a 23 48 37 d3 7f 53 3b 18 f6 4b f0 | 16 71 ec 97 4c 78 59 b8 9c aa fd b3 a3 ea 7f 9a | 2f 5e 2b d0 3c 1a 27 b7 13 f9 cf ce 87 05 9c 9a | 4c 3f 5e f7 b3 41 1a bf d7 e2 ab cc df 1e c8 63 | cd 07 55 1a ee 9f 1b 83 f1 06 6c c4 96 78 30 78 | 08 e2 a0 7e ad 56 96 05 ec 43 a3 65 39 87 91 e0 | 50 49 9f 62 ae ad 37 1b ff bd d9 73 d4 33 3f 2e | 36 2a 9d 56 d3 7f bd db f2 88 fd f6 3f 54 1a 57 | bb 39 9c c9 47 fc a5 69 bf 8b cc db da cf 0d 11 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 61 2c 24 1e c3 7d 3d b9 | responder cookie: | 88 30 e7 6d 2e 83 75 be | 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@0x7fbfe0004110 | free_event_entry: release EVENT_SO_DISCARD-pe@0x5586d65fcab0 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x5586d65fcab0 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #9 | libevent_malloc: new ptr-libevent@0x7fbff00114b0 size 128 | #9 spent 0.029 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:3376) | #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:3266) | crypto helper 2 resuming | crypto helper 2 starting work-order 10 for state #9 | "westnet-eastnet-ikev2" #9 complete v2 state STATE_PARENT_R1 transition with STF_SUSPEND suspended from complete_v2_state_transition:3448 | crypto helper 2 doing compute dh (V2) (ikev2_inI2outR2 KE); request ID 10 | stop processing: state #9 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2018) | #9 spent 0.384 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.396 milliseconds in comm_handle_cb() reading and processing packet | calculating skeyseed using prf=sha2_256 integ=sha2_256 cipherkey-size=32 salt-size=0 | crypto helper 2 finished compute dh (V2) (ikev2_inI2outR2 KE); request ID 10 time elapsed 0.001287 seconds | (#9) spent 1.28 milliseconds in crypto helper computing work-order 10: ikev2_inI2outR2 KE (pcr) | crypto helper 2 sending results from work-order 10 for state #9 to event queue | scheduling resume sending helper answer for #9 | libevent_malloc: new ptr-libevent@0x7fbff4003a90 size 128 | crypto helper 2 waiting (nothing to do) | processing resume sending helper answer for #9 | start processing: state #9 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in resume_handler() at server.c:797) | crypto helper 2 replies to request ID 10 | calling continuation function 0x5586d5db6630 | ikev2_parent_inI2outR2_continue for #9: calculating g^{xy}, sending R2 | #9 in state PARENT_R1: received v2I1, sent v2R1 | data for hmac: 61 2c 24 1e c3 7d 3d b9 88 30 e7 6d 2e 83 75 be | data for hmac: 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | data for hmac: 71 f6 27 5d 55 79 2c c0 bd 31 5a 1d 08 b5 eb da | data for hmac: b2 eb 6a 44 92 48 f3 dc 78 d1 17 48 ce c1 b6 9d | data for hmac: 6a a2 db 1b c9 92 35 8c 97 0f a7 86 af 1c 2f e9 | data for hmac: 26 d6 4b bf 5b ba f2 d0 c8 ac 54 55 7e 4f 0d 45 | data for hmac: 12 f3 21 f8 c6 13 00 b7 a6 af e5 c7 de 95 a7 e5 | data for hmac: 0b 21 3a 79 90 cb 3e a1 a7 ae 1e e7 ca a1 0a c6 | data for hmac: 66 2e 9b bf 4f 9f f4 11 35 73 9c 35 a8 7d 43 90 | data for hmac: 09 2b 3d e9 9a df 9e 26 5c 66 24 8e 6f 44 2d 27 | data for hmac: 7d 24 34 c0 d5 57 c4 49 5e 28 30 1f 8d fd 9b ac | data for hmac: 4b 7e 3b 76 03 cc d4 cb fa 03 a5 1f de 1e 3d 95 | data for hmac: 56 42 af ab 60 91 e1 e1 a1 cd 4e 9a 7f c9 42 3e | data for hmac: d5 73 93 bb fe 3e fc 57 cb 1a 94 7f a6 02 0b 13 | data for hmac: f9 8e cf 83 42 ae 8b ca d4 72 d7 34 7d 77 01 8f | data for hmac: ad e8 18 03 d0 cf 24 f0 0e 1d ff a5 f7 6c fc 19 | data for hmac: cc 41 05 c5 04 75 46 f6 6a d1 57 22 ea 37 18 c4 | data for hmac: e3 92 f7 64 b9 b0 de 40 9b ae 07 bf a3 59 e4 25 | data for hmac: 68 fb b8 71 97 c4 3a 10 be 83 56 f8 32 6e 8d 16 | data for hmac: 34 f7 b5 09 12 d5 c2 91 ca 68 bd ce b4 a9 6b 08 | data for hmac: 57 67 d5 49 90 56 85 f1 c4 e0 67 0f e6 c1 63 a2 | data for hmac: 1a e8 5c a7 4a 23 48 37 d3 7f 53 3b 18 f6 4b f0 | data for hmac: 16 71 ec 97 4c 78 59 b8 9c aa fd b3 a3 ea 7f 9a | data for hmac: 2f 5e 2b d0 3c 1a 27 b7 13 f9 cf ce 87 05 9c 9a | data for hmac: 4c 3f 5e f7 b3 41 1a bf d7 e2 ab cc df 1e c8 63 | data for hmac: cd 07 55 1a ee 9f 1b 83 f1 06 6c c4 96 78 30 78 | data for hmac: 08 e2 a0 7e ad 56 96 05 ec 43 a3 65 39 87 91 e0 | data for hmac: 50 49 9f 62 ae ad 37 1b ff bd d9 73 d4 33 3f 2e | data for hmac: 36 2a 9d 56 d3 7f bd db f2 88 fd f6 3f 54 1a 57 | calculated auth: bb 39 9c c9 47 fc a5 69 bf 8b cc db da cf 0d 11 | provided auth: bb 39 9c c9 47 fc a5 69 bf 8b cc db da cf 0d 11 | 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:2668) | 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=0x5586d65e5e80 (line=1) | concluding with best_match=002 best=0x5586d65e5e80 (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' | RSA key issuer CA is '%any' | an RSA Sig check passed with *AQOm9dY/4 [preloaded keys] | #9 spent 0.0511 milliseconds in try_all_keys() trying a pubkey "westnet-eastnet-ikev2" #9: Authenticated using RSA | #9 spent 0.075 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@0x7fbff00114b0 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x5586d65fcab0 | event_schedule: new EVENT_SA_REKEY-pe@0x5586d65fcab0 | inserting event EVENT_SA_REKEY, timeout in 3330 seconds for #9 | libevent_malloc: new ptr-libevent@0x7fbff00114b0 size 128 | pstats #9 ikev2.ike established | **emit ISAKMP Message: | initiator cookie: | 61 2c 24 1e c3 7d 3d b9 | responder cookie: | 88 30 e7 6d 2e 83 75 be | 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=0x5586d65e5e80 (line=1) | concluding with best_match=002 best=0x5586d65e5e80 (lineno=1) | #9 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 ab d9 64 46 ce 88 54 54 92 81 2e 75 ad 3f 11 a5 | rsa signature e0 aa ca d6 5c 94 be a5 2e c9 dc 77 4d 47 41 a2 | rsa signature 6b 81 a9 e0 bb 86 0c 65 35 61 12 b1 00 7d 46 ed | rsa signature 9b fc 1c 60 77 cf de 83 65 15 5c 17 ce 3e a6 03 | rsa signature 9e ac 07 e5 0b 58 66 49 21 6a cc 8f 9a 3b 15 87 | rsa signature fb 38 98 32 d5 ad c8 7e da c8 2c 39 b0 80 70 3e | rsa signature ad d2 b5 96 03 c8 95 b3 20 b3 17 dd 1a d6 39 77 | rsa signature 4b 70 b5 e2 07 a6 05 4f 76 7d c9 3c 71 cc 2b 17 | rsa signature ff 31 8c 17 e8 09 e8 85 97 eb 7a 27 47 77 42 48 | rsa signature 83 07 cc 4a b1 b6 b4 e6 70 d6 67 26 df 09 21 f4 | rsa signature e9 19 b5 e8 19 ae 2e 96 03 b3 f6 16 8b df 3e fb | rsa signature 50 84 79 cc 01 0e 49 90 1e ed 4d 47 6a fc 01 63 | rsa signature f5 6a 86 b3 e8 5e 01 0a cf f3 c0 71 bf b8 be 21 | rsa signature 61 a6 f2 2b fa 64 0d dd cf c5 e5 94 8d a1 c8 c2 | rsa signature 72 76 0d 84 6b ce dd af cb 09 d7 4f 8f fa bc a2 | rsa signature 1c ba 4e b1 a9 32 58 3d 18 cc 8e 51 fe 1b 3a 3e | rsa signature 26 87 f2 27 b9 2d 10 9b fd 19 50 94 4f d8 78 79 | rsa signature ee 19 | #9 spent 4.66 milliseconds in ikev2_calculate_rsa_hash() | emitting length of IKEv2 Authentication Payload: 282 | creating state object #10 at 0x5586d65fe630 | 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:1481) | 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/0 R=192.0.2.0/24:0:0/0 to their: | TSi[0] .net=192.0.1.0-192.0.1.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.1.0/24 == TSi[0]net=192.0.1.0-192.0.1.255: YES fitness 32 | narrow port end=0..65535 == TSi[0]=0..65535: 0 | TSi[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSi[0]=*0: 0 | match end->protocol=*0 == TSi[0].ipprotoid=*0: YES fitness 255 | TSr[0] .net=192.0.2.0-192.0.2.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.2.0/24 == TSr[0]net=192.0.2.0-192.0.2.255: YES fitness 32 | narrow port end=0..65535 == TSr[0]=0..65535: 0 | TSr[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSr[0]=*0: 0 | match end->protocol=*0 == TSr[0].ipprotoid=*0: YES fitness 255 | best fit so far: TSi[0] TSr[0] | found better spd route for TSi[0],TSr[0] | looking for better host pair | find_host_pair: comparing 192.1.2.23:500 to 192.1.2.45:500 but ignoring ports | checking hostpair 192.0.2.0/24:0 -> 192.0.1.0/24:0 is found | investigating connection "westnet-eastnet-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/0 R=192.0.2.0/24:0:0/0 to their: | TSi[0] .net=192.0.1.0-192.0.1.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.1.0/24 == TSi[0]net=192.0.1.0-192.0.1.255: YES fitness 32 | narrow port end=0..65535 == TSi[0]=0..65535: 0 | TSi[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSi[0]=*0: 0 | match end->protocol=*0 == TSi[0].ipprotoid=*0: YES fitness 255 | TSr[0] .net=192.0.2.0-192.0.2.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.2.0/24 == TSr[0]net=192.0.2.0-192.0.2.255: YES fitness 32 | narrow port end=0..65535 == TSr[0]=0..65535: 0 | TSr[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSr[0]=*0: 0 | match end->protocol=*0 == TSr[0].ipprotoid=*0: YES fitness 255 | best fit so far: TSi[0] TSr[0] | did not find a better connection using host pair | printing contents struct traffic_selector | ts_type: IKEv2_TS_IPV4_ADDR_RANGE | ipprotoid: 0 | port range: 0-65535 | ip range: 192.0.2.0-192.0.2.255 | printing contents struct traffic_selector | ts_type: IKEv2_TS_IPV4_ADDR_RANGE | ipprotoid: 0 | port range: 0-65535 | ip range: 192.0.1.0-192.0.1.255 | 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 57 54 3f 41 | 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=57543f41;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=57543f41;ENCR=AES_CBC_256;INTEG=HMAC_SHA2_256_128;ESN=DISABLED | converting proposal to internal trans attrs | netlink_get_spi: allocated 0x237b4e2b 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 23 7b 4e 2b | ******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 IP start into IKEv2 Traffic Selector | IP start c0 00 01 00 | emitting 4 raw bytes of IP end into IKEv2 Traffic Selector | IP end c0 00 01 ff | emitting length of IKEv2 Traffic Selector: 16 | emitting length of IKEv2 Traffic Selector - Initiator - Payload: 24 | ****emit IKEv2 Traffic Selector - Responder - Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | number of TS: 1 (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 IP start into IKEv2 Traffic Selector | IP start c0 00 02 00 | emitting 4 raw bytes of IP end into IKEv2 Traffic Selector | IP end c0 00 02 ff | emitting length of IKEv2 Traffic Selector: 16 | emitting length of IKEv2 Traffic Selector - Responder - Payload: 24 | Initiator child policy is compress=no, NOT sending v2N_IPCOMP_SUPPORTED | integ=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.57543f41@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.237b4e2b@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=0x57 | 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=0x57543f41 SPI_OUT=0x237b4e2b ipsec _updown 2>&1: | route_and_eroute: firewall_notified: true | route_and_eroute: instance "westnet-eastnet-ikev2", setting eroute_owner {spd=0x5586d65f1810,sr=0x5586d65f1810} to #10 (was #0) (newest_ipsec_sa=#0) | #9 spent 0.487 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: 61 2c 24 1e c3 7d 3d b9 88 30 e7 6d 2e 83 75 be | data being hmac: 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | data being hmac: a9 dc 41 80 da 1d f6 5c da 26 a8 eb 43 c6 44 7a | data being hmac: 87 03 56 0a 2a cf 7c 33 0f ba 9b 4d de 3a d5 bd | data being hmac: 2c f5 f9 99 16 d2 7b 97 92 c9 77 3d 6b 97 fe 5b | data being hmac: fb 62 88 25 7d 39 a3 80 70 ae 7b e3 44 6e 96 8d | data being hmac: 42 1e 56 d2 f6 63 18 cc 91 73 e0 e3 0a 9d 39 79 | data being hmac: 2c 8a cf 0c 28 84 83 9d 93 41 94 11 67 3c b3 11 | data being hmac: ba 60 0a 75 e0 ab 38 10 0e ef c6 72 62 f4 6f 2d | data being hmac: be 32 ec 90 ff e5 e2 ce d5 bf 15 ba 51 9a 21 53 | data being hmac: c3 f1 33 48 66 57 49 bc bf 8d d7 49 f9 66 d6 99 | data being hmac: 24 50 f7 c4 12 4d b4 8c 70 ca be 13 92 90 46 2e | data being hmac: 1a de dd 9c 09 85 d1 52 2d e6 d6 f3 eb 3c 8e 0c | data being hmac: 5a b6 5e 15 78 b4 a8 b8 99 82 b3 8f c6 d4 93 ee | data being hmac: 31 17 0c 60 4e f6 84 b7 4c 67 5e e1 e5 23 f9 7c | data being hmac: 11 a3 15 9c b8 21 97 20 7c 7b be cb e3 77 40 fe | data being hmac: 24 83 18 14 42 53 36 1a fb 57 65 0f 60 dc 66 2f | data being hmac: e7 94 8b a8 e3 ce 11 10 03 52 09 d0 fc d8 96 2c | data being hmac: 0b 04 dc 5f 14 85 f1 30 6e ce a6 52 fc b9 9c 72 | data being hmac: c8 03 04 2e 66 56 24 ce f6 d6 56 cd 96 4d 0f 0b | data being hmac: c9 98 cc b1 9c fd 9a 8a e0 16 ac 91 3e c8 fb 65 | data being hmac: bf eb d5 28 5a 48 ec 36 bf f6 0b c4 21 76 26 70 | data being hmac: eb c4 c3 59 ed 78 82 83 31 e9 b2 e4 72 0d c1 4e | data being hmac: 09 57 9b 7c 36 5c 6d 0a 2c cf 02 96 2a d1 3d 39 | data being hmac: e8 85 15 cb 72 25 e2 66 1c c4 00 5f 26 3b ba 32 | data being hmac: 5a 7f fc ba 61 78 e5 22 a7 00 32 16 ee 6b 4f 63 | data being hmac: 23 29 8a ad 44 18 4b 71 88 6c 27 13 0c b0 82 44 | data being hmac: 94 6e b4 e9 36 dc fa 7e 0f 2c 18 ff 89 77 e9 6f | out calculated auth: | 6f 0c d5 8c 28 a1 fe 27 fe 8d 24 3d 51 61 64 89 | ikev2_parent_inI2outR2_continue_tail returned STF_OK | #9 spent 6.5 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:3376) | start processing: state #10 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3376) | #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=>0x57543f41 <0x237b4e2b 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) | 61 2c 24 1e c3 7d 3d b9 88 30 e7 6d 2e 83 75 be | 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | a9 dc 41 80 da 1d f6 5c da 26 a8 eb 43 c6 44 7a | 87 03 56 0a 2a cf 7c 33 0f ba 9b 4d de 3a d5 bd | 2c f5 f9 99 16 d2 7b 97 92 c9 77 3d 6b 97 fe 5b | fb 62 88 25 7d 39 a3 80 70 ae 7b e3 44 6e 96 8d | 42 1e 56 d2 f6 63 18 cc 91 73 e0 e3 0a 9d 39 79 | 2c 8a cf 0c 28 84 83 9d 93 41 94 11 67 3c b3 11 | ba 60 0a 75 e0 ab 38 10 0e ef c6 72 62 f4 6f 2d | be 32 ec 90 ff e5 e2 ce d5 bf 15 ba 51 9a 21 53 | c3 f1 33 48 66 57 49 bc bf 8d d7 49 f9 66 d6 99 | 24 50 f7 c4 12 4d b4 8c 70 ca be 13 92 90 46 2e | 1a de dd 9c 09 85 d1 52 2d e6 d6 f3 eb 3c 8e 0c | 5a b6 5e 15 78 b4 a8 b8 99 82 b3 8f c6 d4 93 ee | 31 17 0c 60 4e f6 84 b7 4c 67 5e e1 e5 23 f9 7c | 11 a3 15 9c b8 21 97 20 7c 7b be cb e3 77 40 fe | 24 83 18 14 42 53 36 1a fb 57 65 0f 60 dc 66 2f | e7 94 8b a8 e3 ce 11 10 03 52 09 d0 fc d8 96 2c | 0b 04 dc 5f 14 85 f1 30 6e ce a6 52 fc b9 9c 72 | c8 03 04 2e 66 56 24 ce f6 d6 56 cd 96 4d 0f 0b | c9 98 cc b1 9c fd 9a 8a e0 16 ac 91 3e c8 fb 65 | bf eb d5 28 5a 48 ec 36 bf f6 0b c4 21 76 26 70 | eb c4 c3 59 ed 78 82 83 31 e9 b2 e4 72 0d c1 4e | 09 57 9b 7c 36 5c 6d 0a 2c cf 02 96 2a d1 3d 39 | e8 85 15 cb 72 25 e2 66 1c c4 00 5f 26 3b ba 32 | 5a 7f fc ba 61 78 e5 22 a7 00 32 16 ee 6b 4f 63 | 23 29 8a ad 44 18 4b 71 88 6c 27 13 0c b0 82 44 | 94 6e b4 e9 36 dc fa 7e 0f 2c 18 ff 89 77 e9 6f | 6f 0c d5 8c 28 a1 fe 27 fe 8d 24 3d 51 61 64 89 | 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@0x5586d65731c0 | inserting event EVENT_SA_REKEY, timeout in 28530 seconds for #10 | libevent_malloc: new ptr-libevent@0x7fbff8004380 size 128 | resume sending helper answer for #9 suppresed complete_v2_state_transition() | #9 spent 6.84 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@0x7fbff4003a90 | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00427 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00266 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) | 61 2c 24 1e c3 7d 3d b9 88 30 e7 6d 2e 83 75 be | 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | bf 2f 6f 5d e2 18 52 fe 50 17 9e 06 90 c4 fe 07 | c6 ae 8a 4a 1d 9f 93 b2 61 2a 9b e0 6b 29 78 a3 | 0a 94 21 4c 6e 0d 0d 4e 68 f4 e0 43 bc b5 59 5b | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 61 2c 24 1e c3 7d 3d b9 | responder cookie: | 88 30 e7 6d 2e 83 75 be | 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: 61 2c 24 1e c3 7d 3d b9 88 30 e7 6d 2e 83 75 be | data for hmac: 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | data for hmac: bf 2f 6f 5d e2 18 52 fe 50 17 9e 06 90 c4 fe 07 | data for hmac: c6 ae 8a 4a 1d 9f 93 b2 61 2a 9b e0 6b 29 78 a3 | calculated auth: 0a 94 21 4c 6e 0d 0d 4e 68 f4 e0 43 bc b5 59 5b | provided auth: 0a 94 21 4c 6e 0d 0d 4e 68 f4 e0 43 bc b5 59 5b | 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: | 61 2c 24 1e c3 7d 3d b9 | responder cookie: | 88 30 e7 6d 2e 83 75 be | 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 57 54 3f 41 | delete PROTO_v2_ESP SA(0x57543f41) | 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(0x57543f41) "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.110s and NOT sending notification | child state #10: V2_IPSEC_R(established CHILD SA) => delete | get_sa_info esp.57543f41@192.1.2.45 | get_sa_info esp.237b4e2b@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@0x7fbff8004380 | free_event_entry: release EVENT_SA_REKEY-pe@0x5586d65731c0 | 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='1569050782' 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='1569050782' 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=0x57543f41 SPI_OUT=0x237b4e2b 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 192.0.2.0/24:0 --0->- 192.0.1.0/24:0 | netlink_shunt_eroute for proto 0, and source 192.0.2.0/24:0 dest 192.0.1.0/24:0 | priority calculation of connection "westnet-eastnet-ikev2" is 0xfe7e7 | IPsec Sa SPD priority set to 1042407 | delete esp.57543f41@192.1.2.45 | netlink response for Del SA esp.57543f41@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.237b4e2b@192.1.2.23 | netlink response for Del SA esp.237b4e2b@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 23 7b 4e 2b | 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: 61 2c 24 1e c3 7d 3d b9 88 30 e7 6d 2e 83 75 be | data being hmac: 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | data being hmac: e5 e8 b9 1d c9 1e 3a 85 35 65 6b ac 04 c8 ca eb | data being hmac: 32 da d7 89 62 67 1c 1c 11 04 f7 aa 3a 96 ec 69 | out calculated auth: | 69 87 20 59 d0 92 f7 fa 5e fc 31 68 64 c8 9e 99 | 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) | 61 2c 24 1e c3 7d 3d b9 88 30 e7 6d 2e 83 75 be | 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | e5 e8 b9 1d c9 1e 3a 85 35 65 6b ac 04 c8 ca eb | 32 da d7 89 62 67 1c 1c 11 04 f7 aa 3a 96 ec 69 | 69 87 20 59 d0 92 f7 fa 5e fc 31 68 64 c8 9e 99 | Message ID: #9 XXX: in process_encrypted_informational_ikev2() hacking around record'n'send bypassing send queue hacking around delete_my_family(); initiator.sent=-1 initiator.recv=-1 responder.sent=1 responder.recv=1 wip.initiator=-1 wip.responder=2 | Message ID: sent #9 response 2; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=1->2 responder.recv=1 wip.initiator=-1 wip.responder=2 | #9 spent 0.652 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:3376) | #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 0.88 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.894 milliseconds in comm_handle_cb() reading and processing packet | spent 0.00189 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) | 61 2c 24 1e c3 7d 3d b9 88 30 e7 6d 2e 83 75 be | 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | 9c 60 2a cd 5f 28 ba 80 54 ca b7 2c 8e c3 50 0d | 82 71 5d a3 c7 4b 67 46 30 4f 0d 04 ec 8b 80 2a | 68 34 fe e9 10 38 f8 67 6d fc f1 81 1c 60 da 69 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 61 2c 24 1e c3 7d 3d b9 | responder cookie: | 88 30 e7 6d 2e 83 75 be | 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: 61 2c 24 1e c3 7d 3d b9 88 30 e7 6d 2e 83 75 be | data for hmac: 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | data for hmac: 9c 60 2a cd 5f 28 ba 80 54 ca b7 2c 8e c3 50 0d | data for hmac: 82 71 5d a3 c7 4b 67 46 30 4f 0d 04 ec 8b 80 2a | calculated auth: 68 34 fe e9 10 38 f8 67 6d fc f1 81 1c 60 da 69 | provided auth: 68 34 fe e9 10 38 f8 67 6d fc f1 81 1c 60 da 69 | 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: | 61 2c 24 1e c3 7d 3d b9 | responder cookie: | 88 30 e7 6d 2e 83 75 be | 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: 61 2c 24 1e c3 7d 3d b9 88 30 e7 6d 2e 83 75 be | data being hmac: 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | data being hmac: a9 4a e8 f5 ab 17 b8 ef 67 d2 91 9f a0 cf dd 99 | data being hmac: 84 db 5d 14 0b 67 60 ea 52 e2 43 e4 25 75 39 8a | out calculated auth: | 15 42 ff 2d 63 86 fe 13 d6 14 e4 13 bd 96 63 fd | 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) | 61 2c 24 1e c3 7d 3d b9 88 30 e7 6d 2e 83 75 be | 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | a9 4a e8 f5 ab 17 b8 ef 67 d2 91 9f a0 cf dd 99 | 84 db 5d 14 0b 67 60 ea 52 e2 43 e4 25 75 39 8a | 15 42 ff 2d 63 86 fe 13 d6 14 e4 13 bd 96 63 fd | 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 10.9 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.139s 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@0x7fbff00114b0 | free_event_entry: release EVENT_SA_REKEY-pe@0x5586d65fcab0 | 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: 0x5586d654b8f0 @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:3376) | #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.465 milliseconds in comm_handle_cb() reading and processing packet | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00504 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00317 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) | 0b ba 91 a4 72 13 0d 20 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 | d4 fd 20 20 46 f3 40 20 5f 10 23 77 03 2d 4e e3 | ac 2c d2 fe 40 67 31 16 33 dc 4e 23 c0 51 81 58 | 76 96 68 d3 d7 b4 b0 04 a9 8f 6f 80 74 84 c1 2b | 48 bf c2 98 1c e1 d7 43 45 38 31 0f c1 24 f4 af | 72 8e 71 ad 8f c6 e3 fb 02 a6 87 5c 31 ba a9 2e | 47 c5 df 1d 75 db a5 19 4b 36 40 00 1d 1b 77 45 | 29 00 00 24 a5 36 88 e7 d4 19 9a 7f 87 f0 a4 4f | 26 2e 60 99 02 5c 90 48 34 25 3e 13 16 cf 61 8e | 4b 2f b7 32 29 00 00 08 00 00 40 2e 29 00 00 1c | 00 00 40 04 4e c2 a7 1f f3 64 6f dc a2 66 30 3f | 9e 0d c8 dc 08 74 3c b5 00 00 00 1c 00 00 40 05 | bb 7e 53 3d 09 e2 4c 15 ae 71 04 bb 58 03 9d e6 | 45 75 9a e9 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 0b ba 91 a4 72 13 0d 20 | 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 0x5586d65f3f70 | 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: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 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:2668) | 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=0x5586d5e8c7a0(20) | natd_hash: icookie= 0b ba 91 a4 72 13 0d 20 | natd_hash: rcookie= 00 00 00 00 00 00 00 00 | natd_hash: ip= c0 01 02 17 | natd_hash: port= 01 f4 | natd_hash: hash= bb 7e 53 3d 09 e2 4c 15 ae 71 04 bb 58 03 9d e6 | natd_hash: hash= 45 75 9a e9 | natd_hash: rcookie is zero | natd_hash: hasher=0x5586d5e8c7a0(20) | natd_hash: icookie= 0b ba 91 a4 72 13 0d 20 | natd_hash: rcookie= 00 00 00 00 00 00 00 00 | natd_hash: ip= c0 01 02 2d | natd_hash: port= 01 f4 | natd_hash: hash= 4e c2 a7 1f f3 64 6f dc a2 66 30 3f 9e 0d c8 dc | natd_hash: hash= 08 74 3c b5 | 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@0x5586d65731c0 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #11 | libevent_malloc: new ptr-libevent@0x7fbff8004380 size 128 | #11 spent 0.278 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:3376) | #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:3266) | "westnet-eastnet-ikev2" #11 complete v2 state STATE_PARENT_R0 transition with STF_SUSPEND suspended from complete_v2_state_transition:3448 | 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.542 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.551 milliseconds in comm_handle_cb() reading and processing packet | crypto helper 3 resuming | crypto helper 3 starting work-order 11 for state #11 | crypto helper 3 doing build KE and nonce (ikev2_inI1outR1 KE); request ID 11 | crypto helper 3 finished build KE and nonce (ikev2_inI1outR1 KE); request ID 11 time elapsed 0.002565 seconds | (#11) spent 2.54 milliseconds in crypto helper computing work-order 11: ikev2_inI1outR1 KE (pcr) | crypto helper 3 sending results from work-order 11 for state #11 to event queue | scheduling resume sending helper answer for #11 | libevent_malloc: new ptr-libevent@0x7fbfe80045d0 size 128 | crypto helper 3 waiting (nothing to do) | processing resume sending helper answer for #11 | start processing: state #11 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in resume_handler() at server.c:797) | crypto helper 3 replies to request ID 11 | calling continuation function 0x5586d5db6630 | ikev2_parent_inI1outR1_continue for #11: calculated ke+nonce, sending R1 | **emit ISAKMP Message: | initiator cookie: | 0b ba 91 a4 72 13 0d 20 | responder cookie: | cb 43 65 5b b3 c3 fa b2 | 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 e5 00 a9 1c 43 11 cc 4b 1f 91 cb a6 88 ff 5f b8 | ikev2 g^x 1c cb b6 0b 5a 07 c9 5c d1 76 14 fb 29 a6 0e 72 | ikev2 g^x 20 ca 30 67 89 58 b0 50 9d d9 ae 3d b1 ca 9b af | ikev2 g^x 7f c2 22 bf 8a 84 12 b9 52 04 79 45 77 cc ba 16 | ikev2 g^x 1b 9e 46 85 3f 70 63 f5 2b e3 ec 55 85 d3 91 14 | ikev2 g^x 4b 80 13 49 40 da 1c 87 ea 16 19 0a e6 99 4e 4e | 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 b5 d1 48 7f 60 1e fd ec 51 1a 14 40 09 e3 46 6b | IKEv2 nonce 44 28 64 c7 e8 17 15 49 bc c5 da f1 44 a1 df 94 | 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=0x5586d5e8c7a0(20) | natd_hash: icookie= 0b ba 91 a4 72 13 0d 20 | natd_hash: rcookie= cb 43 65 5b b3 c3 fa b2 | natd_hash: ip= c0 01 02 17 | natd_hash: port= 01 f4 | natd_hash: hash= 30 a4 86 a4 d9 3f 50 24 6d 64 5f cb b0 fc b2 3a | natd_hash: hash= c6 8f c7 ad | 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 30 a4 86 a4 d9 3f 50 24 6d 64 5f cb b0 fc b2 3a | Notify data c6 8f c7 ad | emitting length of IKEv2 Notify Payload: 28 | natd_hash: hasher=0x5586d5e8c7a0(20) | natd_hash: icookie= 0b ba 91 a4 72 13 0d 20 | natd_hash: rcookie= cb 43 65 5b b3 c3 fa b2 | natd_hash: ip= c0 01 02 2d | natd_hash: port= 01 f4 | natd_hash: hash= e7 39 60 56 60 56 f0 b5 5c ed a8 f8 ed f5 12 04 | natd_hash: hash= 88 53 b2 fe | 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 e7 39 60 56 60 56 f0 b5 5c ed a8 f8 ed f5 12 04 | Notify data 88 53 b2 fe | 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:3376) | #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) | 0b ba 91 a4 72 13 0d 20 cb 43 65 5b b3 c3 fa b2 | 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 e5 00 a9 1c 43 11 cc 4b 1f 91 cb a6 | 88 ff 5f b8 1c cb b6 0b 5a 07 c9 5c d1 76 14 fb | 29 a6 0e 72 20 ca 30 67 89 58 b0 50 9d d9 ae 3d | b1 ca 9b af 7f c2 22 bf 8a 84 12 b9 52 04 79 45 | 77 cc ba 16 1b 9e 46 85 3f 70 63 f5 2b e3 ec 55 | 85 d3 91 14 4b 80 13 49 40 da 1c 87 ea 16 19 0a | e6 99 4e 4e 29 00 00 24 b5 d1 48 7f 60 1e fd ec | 51 1a 14 40 09 e3 46 6b 44 28 64 c7 e8 17 15 49 | bc c5 da f1 44 a1 df 94 29 00 00 08 00 00 40 2e | 29 00 00 1c 00 00 40 04 30 a4 86 a4 d9 3f 50 24 | 6d 64 5f cb b0 fc b2 3a c6 8f c7 ad 00 00 00 1c | 00 00 40 05 e7 39 60 56 60 56 f0 b5 5c ed a8 f8 | ed f5 12 04 88 53 b2 fe | state #11 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x7fbff8004380 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x5586d65731c0 | event_schedule: new EVENT_SO_DISCARD-pe@0x5586d65731c0 | inserting event EVENT_SO_DISCARD, timeout in 200 seconds for #11 | libevent_malloc: new ptr-libevent@0x7fbff8004380 size 128 | resume sending helper answer for #11 suppresed complete_v2_state_transition() | #11 spent 0.374 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@0x7fbfe80045d0 | spent 0.00297 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) | 0b ba 91 a4 72 13 0d 20 cb 43 65 5b b3 c3 fa b2 | 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | 74 b2 58 79 10 88 ee 35 db de 8b 2d 69 17 ec ad | 18 05 f1 45 b3 2e 56 22 a3 7a c6 09 c2 8c ed 57 | be f7 0d cb c8 aa 47 32 48 52 ec be a9 2d d8 9b | 11 0d da c0 0a 16 bf fd f8 e1 e2 58 9a 01 ee c0 | 91 7e 97 ac ec fc ad 63 86 07 30 4d 05 5e 0b 21 | e9 a3 9e 61 40 51 33 e9 da f2 63 15 0a 31 1d de | 10 be aa 67 4d 6d 83 58 b8 d5 57 b9 7f 6c 00 12 | f1 b8 f2 a7 4f 48 fa ae 1d 91 f5 bf 94 dd 89 4c | 35 a8 58 8d f5 ed cd e6 b4 b8 f2 b8 c4 88 c4 9a | fb 54 8c 4b 3c fe 0b 57 cc 4e 79 96 2f 27 9f f5 | 82 27 97 73 7e 99 1c 0b 60 d6 f8 f6 a9 5e fa c9 | 77 8d 05 3f 2f 59 d3 ef 88 07 aa ae d2 f6 64 24 | 2a 5e 85 7c 1a 8d 2f 6b 2b 07 80 b9 73 89 b7 4c | 3c 18 12 64 57 79 da 78 db 1f bf 6b 1e 8b c8 b4 | f5 04 7b de 2f 43 33 69 29 d6 7b 3b 73 6c 82 c8 | 0f a6 55 cc 14 ce bf 83 51 53 00 0e 51 1e b5 e5 | 6a 8e fb 34 b8 02 84 35 4a ea 9c d1 c2 14 53 01 | 91 9a 68 64 d6 23 37 29 b9 f5 75 1b ed 5c b4 0c | 8b db 0f 69 b0 3a 34 f9 99 17 dc 8c 0c 8c bb 0b | b5 26 03 8a c1 d7 9a e3 1d 3a a6 39 1f 92 3a a1 | 42 4b d0 1d 8a be c8 42 b4 f0 f0 5a 32 a5 0f 06 | 75 10 3d f9 e5 59 98 99 a1 fa a3 eb 54 7d b9 ac | 72 4f 43 71 bc 2f de 9c 9a 29 94 2c d4 7b 3e a4 | 9e df ac e8 ba ff a5 33 42 1c bc 53 db 5d a8 b7 | 09 f7 ae 62 e6 ae 46 fd 41 4b b5 9d 0a 39 c1 b9 | 52 c9 1f 76 f0 72 e0 8f 82 30 27 00 3c 54 2c a1 | b5 07 ad 79 a4 2d 2d b1 41 1a 34 0e d1 f0 47 f4 | e9 e0 ee 0b 1f a1 22 aa 15 19 d9 83 b5 1c b1 2f | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 0b ba 91 a4 72 13 0d 20 | responder cookie: | cb 43 65 5b b3 c3 fa b2 | 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@0x7fbff8004380 | free_event_entry: release EVENT_SO_DISCARD-pe@0x5586d65731c0 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x5586d65731c0 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #11 | libevent_malloc: new ptr-libevent@0x7fbfe80045d0 size 128 | #11 spent 0.0359 milliseconds in processing: Responder: process IKE_AUTH request (no SKEYSEED) in ikev2_process_state_packet() | crypto helper 4 resuming | [RE]START processing: state #11 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3376) | crypto helper 4 starting work-order 12 for state #11 | #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 doing compute dh (V2) (ikev2_inI2outR2 KE); request ID 12 | [RE]START processing: state #11 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in log_stf_suspend() at ikev2.c:3266) | "westnet-eastnet-ikev2" #11 complete v2 state STATE_PARENT_R1 transition with STF_SUSPEND suspended from complete_v2_state_transition:3448 | 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.233 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.246 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.003586 seconds | (#11) spent 3.57 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@0x7fbfec0010b0 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 0x5586d5db6630 | ikev2_parent_inI2outR2_continue for #11: calculating g^{xy}, sending R2 | #11 in state PARENT_R1: received v2I1, sent v2R1 | data for hmac: 0b ba 91 a4 72 13 0d 20 cb 43 65 5b b3 c3 fa b2 | data for hmac: 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | data for hmac: 74 b2 58 79 10 88 ee 35 db de 8b 2d 69 17 ec ad | data for hmac: 18 05 f1 45 b3 2e 56 22 a3 7a c6 09 c2 8c ed 57 | data for hmac: be f7 0d cb c8 aa 47 32 48 52 ec be a9 2d d8 9b | data for hmac: 11 0d da c0 0a 16 bf fd f8 e1 e2 58 9a 01 ee c0 | data for hmac: 91 7e 97 ac ec fc ad 63 86 07 30 4d 05 5e 0b 21 | data for hmac: e9 a3 9e 61 40 51 33 e9 da f2 63 15 0a 31 1d de | data for hmac: 10 be aa 67 4d 6d 83 58 b8 d5 57 b9 7f 6c 00 12 | data for hmac: f1 b8 f2 a7 4f 48 fa ae 1d 91 f5 bf 94 dd 89 4c | data for hmac: 35 a8 58 8d f5 ed cd e6 b4 b8 f2 b8 c4 88 c4 9a | data for hmac: fb 54 8c 4b 3c fe 0b 57 cc 4e 79 96 2f 27 9f f5 | data for hmac: 82 27 97 73 7e 99 1c 0b 60 d6 f8 f6 a9 5e fa c9 | data for hmac: 77 8d 05 3f 2f 59 d3 ef 88 07 aa ae d2 f6 64 24 | data for hmac: 2a 5e 85 7c 1a 8d 2f 6b 2b 07 80 b9 73 89 b7 4c | data for hmac: 3c 18 12 64 57 79 da 78 db 1f bf 6b 1e 8b c8 b4 | data for hmac: f5 04 7b de 2f 43 33 69 29 d6 7b 3b 73 6c 82 c8 | data for hmac: 0f a6 55 cc 14 ce bf 83 51 53 00 0e 51 1e b5 e5 | data for hmac: 6a 8e fb 34 b8 02 84 35 4a ea 9c d1 c2 14 53 01 | data for hmac: 91 9a 68 64 d6 23 37 29 b9 f5 75 1b ed 5c b4 0c | data for hmac: 8b db 0f 69 b0 3a 34 f9 99 17 dc 8c 0c 8c bb 0b | data for hmac: b5 26 03 8a c1 d7 9a e3 1d 3a a6 39 1f 92 3a a1 | data for hmac: 42 4b d0 1d 8a be c8 42 b4 f0 f0 5a 32 a5 0f 06 | data for hmac: 75 10 3d f9 e5 59 98 99 a1 fa a3 eb 54 7d b9 ac | data for hmac: 72 4f 43 71 bc 2f de 9c 9a 29 94 2c d4 7b 3e a4 | data for hmac: 9e df ac e8 ba ff a5 33 42 1c bc 53 db 5d a8 b7 | data for hmac: 09 f7 ae 62 e6 ae 46 fd 41 4b b5 9d 0a 39 c1 b9 | data for hmac: 52 c9 1f 76 f0 72 e0 8f 82 30 27 00 3c 54 2c a1 | data for hmac: b5 07 ad 79 a4 2d 2d b1 41 1a 34 0e d1 f0 47 f4 | calculated auth: e9 e0 ee 0b 1f a1 22 aa 15 19 d9 83 b5 1c b1 2f | provided auth: e9 e0 ee 0b 1f a1 22 aa 15 19 d9 83 b5 1c b1 2f | 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:2668) | 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=0x5586d65e5e80 (line=1) | concluding with best_match=002 best=0x5586d65e5e80 (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' | RSA key issuer CA is '%any' | an RSA Sig check passed with *AQOm9dY/4 [preloaded keys] | #11 spent 0.0464 milliseconds in try_all_keys() trying a pubkey "westnet-eastnet-ikev2" #11: Authenticated using RSA | #11 spent 0.0743 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@0x7fbfe80045d0 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x5586d65731c0 | event_schedule: new EVENT_SA_REKEY-pe@0x5586d65731c0 | inserting event EVENT_SA_REKEY, timeout in 3330 seconds for #11 | libevent_malloc: new ptr-libevent@0x7fbfe80045d0 size 128 | pstats #11 ikev2.ike established | **emit ISAKMP Message: | initiator cookie: | 0b ba 91 a4 72 13 0d 20 | responder cookie: | cb 43 65 5b b3 c3 fa b2 | 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=0x5586d65e5e80 (line=1) | concluding with best_match=002 best=0x5586d65e5e80 (lineno=1) | #11 spent 4.54 milliseconds in ikev2_calculate_rsa_hash() calling sign_hash_RSA() | emitting 274 raw bytes of rsa signature into IKEv2 Authentication Payload | rsa signature b8 74 14 f4 76 17 66 63 0c 3c 97 d2 c7 80 56 e7 | rsa signature 5e ff 45 93 68 b1 4b 0a 28 db ca ae 48 5d 06 a5 | rsa signature da 9e b5 a8 7d 9c ee 74 79 65 70 4d 48 09 ad e6 | rsa signature 66 bd c9 43 ae 0a 22 de de 11 4e 5e b2 fe d5 3c | rsa signature 3a dc 3f 2e 7b 23 c4 f1 d0 78 5f ef f0 b5 d1 29 | rsa signature f9 44 cc 7b 48 e3 56 6f 4f ae 8c d8 57 84 7a 7f | rsa signature 49 60 bc fa 86 7b 1f 59 0b 6f d2 f5 91 a7 f7 a1 | rsa signature ad 5f 95 cb c9 b7 66 66 2f 61 fc ee 1c a7 1c 48 | rsa signature ad bc 32 69 ea 17 48 c6 55 f6 2b 39 bd 00 f8 4b | rsa signature a1 1c 54 53 bc c6 ba e9 05 fd ac db 1e 89 dd 60 | rsa signature 61 45 00 1a b0 47 ce e4 7e 1c a9 49 9c b6 2e e6 | rsa signature ea 84 bb a9 1f bf 66 65 7f 64 f7 b4 2d b1 9f 1e | rsa signature 33 7c 2c 69 b3 6e 28 cf c0 28 96 6f be 23 aa 7b | rsa signature 61 c3 cf ce f8 b2 0d 3e 9f 8e 57 b2 ec b5 dd 6a | rsa signature 19 90 db be 7a 5d 0b e2 b5 da a7 f3 6d f3 e0 91 | rsa signature 82 cb 86 ad 74 9a 72 66 f2 6e bf 61 5a 3a 27 5a | rsa signature 4e 20 3e 9b 98 7a d8 9f 81 57 50 3a e5 b5 07 36 | rsa signature c5 29 | #11 spent 4.62 milliseconds in ikev2_calculate_rsa_hash() | emitting length of IKEv2 Authentication Payload: 282 | creating state object #12 at 0x5586d6605f40 | 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:1481) | 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/0 R=192.0.2.0/24:0:0/0 to their: | TSi[0] .net=192.0.1.0-192.0.1.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.1.0/24 == TSi[0]net=192.0.1.0-192.0.1.255: YES fitness 32 | narrow port end=0..65535 == TSi[0]=0..65535: 0 | TSi[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSi[0]=*0: 0 | match end->protocol=*0 == TSi[0].ipprotoid=*0: YES fitness 255 | TSr[0] .net=192.0.2.0-192.0.2.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.2.0/24 == TSr[0]net=192.0.2.0-192.0.2.255: YES fitness 32 | narrow port end=0..65535 == TSr[0]=0..65535: 0 | TSr[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSr[0]=*0: 0 | match end->protocol=*0 == TSr[0].ipprotoid=*0: YES fitness 255 | best fit so far: TSi[0] TSr[0] | found better spd route for TSi[0],TSr[0] | looking for better host pair | find_host_pair: comparing 192.1.2.23:500 to 192.1.2.45:500 but ignoring ports | checking hostpair 192.0.2.0/24:0 -> 192.0.1.0/24:0 is found | investigating connection "westnet-eastnet-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/0 R=192.0.2.0/24:0:0/0 to their: | TSi[0] .net=192.0.1.0-192.0.1.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.1.0/24 == TSi[0]net=192.0.1.0-192.0.1.255: YES fitness 32 | narrow port end=0..65535 == TSi[0]=0..65535: 0 | TSi[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSi[0]=*0: 0 | match end->protocol=*0 == TSi[0].ipprotoid=*0: YES fitness 255 | TSr[0] .net=192.0.2.0-192.0.2.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.2.0/24 == TSr[0]net=192.0.2.0-192.0.2.255: YES fitness 32 | narrow port end=0..65535 == TSr[0]=0..65535: 0 | TSr[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSr[0]=*0: 0 | match end->protocol=*0 == TSr[0].ipprotoid=*0: YES fitness 255 | best fit so far: TSi[0] TSr[0] | did not find a better connection using host pair | printing contents struct traffic_selector | ts_type: IKEv2_TS_IPV4_ADDR_RANGE | ipprotoid: 0 | port range: 0-65535 | ip range: 192.0.2.0-192.0.2.255 | printing contents struct traffic_selector | ts_type: IKEv2_TS_IPV4_ADDR_RANGE | ipprotoid: 0 | port range: 0-65535 | ip range: 192.0.1.0-192.0.1.255 | 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 a5 ac 93 3f | 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=a5ac933f;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=a5ac933f;ENCR=AES_CBC_256;INTEG=HMAC_SHA2_256_128;ESN=DISABLED | converting proposal to internal trans attrs | netlink_get_spi: allocated 0x7e0a6626 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 7e 0a 66 26 | ******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 IP start into IKEv2 Traffic Selector | IP start c0 00 01 00 | emitting 4 raw bytes of IP end into IKEv2 Traffic Selector | IP end c0 00 01 ff | emitting length of IKEv2 Traffic Selector: 16 | emitting length of IKEv2 Traffic Selector - Initiator - Payload: 24 | ****emit IKEv2 Traffic Selector - Responder - Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | number of TS: 1 (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 IP start into IKEv2 Traffic Selector | IP start c0 00 02 00 | emitting 4 raw bytes of IP end into IKEv2 Traffic Selector | IP end c0 00 02 ff | emitting length of IKEv2 Traffic Selector: 16 | emitting length of IKEv2 Traffic Selector - Responder - Payload: 24 | Initiator child policy is compress=no, NOT sending v2N_IPCOMP_SUPPORTED | integ=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.a5ac933f@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.7e0a6626@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=0xa5 | 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=0xa5ac933f SPI_OUT=0x7e0a6626 ipsec _updown 2>&1: | route_and_eroute: firewall_notified: true | route_and_eroute: instance "westnet-eastnet-ikev2", setting eroute_owner {spd=0x5586d65f1810,sr=0x5586d65f1810} to #12 (was #0) (newest_ipsec_sa=#0) | #11 spent 0.582 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: 0b ba 91 a4 72 13 0d 20 cb 43 65 5b b3 c3 fa b2 | data being hmac: 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | data being hmac: e9 04 4b a4 7f 78 2a 10 bc 52 24 1d 98 c9 d7 10 | data being hmac: a2 fa 87 90 93 82 40 60 7f ce 24 6f a9 7c 52 bc | data being hmac: d5 ba 59 98 5f 29 42 58 50 db 5f 21 23 53 74 bd | data being hmac: ad b0 8d 19 3d 20 29 fa b7 e2 8a 4a 97 8d d1 a0 | data being hmac: 77 9b aa 4a fa 6a a3 cd 24 09 8a fb 62 ec 8c e7 | data being hmac: a1 f6 ad b1 a1 08 c0 5c 89 80 5e 76 5b 28 db 0f | data being hmac: 2e 97 52 67 f9 69 48 cc 81 42 f2 a0 0a 41 d9 06 | data being hmac: c8 45 29 8b 2d 84 33 1f a0 7f 38 96 d8 d4 75 31 | data being hmac: 2e fe 78 7f 20 5d 99 1e 95 a4 85 4f 6f 93 ad 2d | data being hmac: a6 90 10 b9 9a 18 12 7f 3f d8 e9 37 9c 88 7a d5 | data being hmac: b0 17 ee 70 67 81 04 6e e2 9b b2 f6 e3 23 fc c8 | data being hmac: 09 94 d1 1e 3c 31 0e c6 4d e3 41 1c a1 c1 45 01 | data being hmac: ee f0 e4 69 d0 ea 93 da 1f 73 82 ee fb 9b c9 31 | data being hmac: 10 34 96 4b 24 6e ce ed 95 5d b2 c0 b5 6a a2 93 | data being hmac: 28 5e 05 45 92 f3 81 a7 1a 2f 36 45 76 bd 26 dc | data being hmac: 61 22 33 14 0e 18 c1 c4 d7 79 a4 90 54 ec 21 24 | data being hmac: 1b d2 78 cf 4c d3 3e 6b 5e a7 9a 26 80 10 de 51 | data being hmac: f2 91 e5 49 48 f4 47 66 ce 86 cd 32 41 80 11 2c | data being hmac: ba 09 de 11 9e 60 e8 3d fc 17 6d 42 c7 38 c6 78 | data being hmac: 82 e5 54 3e dd ec 0d 22 92 b8 2e 1f c0 95 2a 63 | data being hmac: c2 a7 fd f7 1a 58 a8 ed da 0c ba 27 fc 1c 04 4e | data being hmac: d1 1c e1 39 fe aa a6 7e 4c 6a d9 d2 b8 d0 7e fc | data being hmac: 7b f7 87 5b fa b3 f4 0b 95 17 b8 48 38 f5 f8 97 | data being hmac: 40 34 bc 5a ef a2 10 71 38 98 0e 78 42 a2 96 6d | data being hmac: 80 15 a0 59 1a e7 75 fa 51 20 cc 19 59 ae 42 fc | data being hmac: 87 75 2f df 7c 28 91 dd 09 f6 9c 49 89 4c c5 76 | out calculated auth: | bd ea 7d 45 c2 7a b9 88 3d a3 70 04 ef a2 ef a1 | ikev2_parent_inI2outR2_continue_tail returned STF_OK | #11 spent 6.63 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:3376) | start processing: state #12 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3376) | #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=>0xa5ac933f <0x7e0a6626 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) | 0b ba 91 a4 72 13 0d 20 cb 43 65 5b b3 c3 fa b2 | 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | e9 04 4b a4 7f 78 2a 10 bc 52 24 1d 98 c9 d7 10 | a2 fa 87 90 93 82 40 60 7f ce 24 6f a9 7c 52 bc | d5 ba 59 98 5f 29 42 58 50 db 5f 21 23 53 74 bd | ad b0 8d 19 3d 20 29 fa b7 e2 8a 4a 97 8d d1 a0 | 77 9b aa 4a fa 6a a3 cd 24 09 8a fb 62 ec 8c e7 | a1 f6 ad b1 a1 08 c0 5c 89 80 5e 76 5b 28 db 0f | 2e 97 52 67 f9 69 48 cc 81 42 f2 a0 0a 41 d9 06 | c8 45 29 8b 2d 84 33 1f a0 7f 38 96 d8 d4 75 31 | 2e fe 78 7f 20 5d 99 1e 95 a4 85 4f 6f 93 ad 2d | a6 90 10 b9 9a 18 12 7f 3f d8 e9 37 9c 88 7a d5 | b0 17 ee 70 67 81 04 6e e2 9b b2 f6 e3 23 fc c8 | 09 94 d1 1e 3c 31 0e c6 4d e3 41 1c a1 c1 45 01 | ee f0 e4 69 d0 ea 93 da 1f 73 82 ee fb 9b c9 31 | 10 34 96 4b 24 6e ce ed 95 5d b2 c0 b5 6a a2 93 | 28 5e 05 45 92 f3 81 a7 1a 2f 36 45 76 bd 26 dc | 61 22 33 14 0e 18 c1 c4 d7 79 a4 90 54 ec 21 24 | 1b d2 78 cf 4c d3 3e 6b 5e a7 9a 26 80 10 de 51 | f2 91 e5 49 48 f4 47 66 ce 86 cd 32 41 80 11 2c | ba 09 de 11 9e 60 e8 3d fc 17 6d 42 c7 38 c6 78 | 82 e5 54 3e dd ec 0d 22 92 b8 2e 1f c0 95 2a 63 | c2 a7 fd f7 1a 58 a8 ed da 0c ba 27 fc 1c 04 4e | d1 1c e1 39 fe aa a6 7e 4c 6a d9 d2 b8 d0 7e fc | 7b f7 87 5b fa b3 f4 0b 95 17 b8 48 38 f5 f8 97 | 40 34 bc 5a ef a2 10 71 38 98 0e 78 42 a2 96 6d | 80 15 a0 59 1a e7 75 fa 51 20 cc 19 59 ae 42 fc | 87 75 2f df 7c 28 91 dd 09 f6 9c 49 89 4c c5 76 | bd ea 7d 45 c2 7a b9 88 3d a3 70 04 ef a2 ef a1 | 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@0x5586d65fcab0 | inserting event EVENT_SA_REKEY, timeout in 28530 seconds for #12 | libevent_malloc: new ptr-libevent@0x7fbff4003a90 size 128 | resume sending helper answer for #11 suppresed complete_v2_state_transition() | #11 spent 6.99 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@0x7fbfec0010b0 | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.0045 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00276 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) | 0b ba 91 a4 72 13 0d 20 cb 43 65 5b b3 c3 fa b2 | 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | c0 b5 0f 23 31 94 c2 48 ae fd e2 1a 90 be 1e 44 | e1 8e 31 00 df 42 8c 8f 28 25 fa 45 8c 7d a7 3d | d1 3d 6d 5c 3e 3c d0 83 ee 9e 22 78 e2 e2 28 09 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 0b ba 91 a4 72 13 0d 20 | responder cookie: | cb 43 65 5b b3 c3 fa b2 | 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: 0b ba 91 a4 72 13 0d 20 cb 43 65 5b b3 c3 fa b2 | data for hmac: 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | data for hmac: c0 b5 0f 23 31 94 c2 48 ae fd e2 1a 90 be 1e 44 | data for hmac: e1 8e 31 00 df 42 8c 8f 28 25 fa 45 8c 7d a7 3d | calculated auth: d1 3d 6d 5c 3e 3c d0 83 ee 9e 22 78 e2 e2 28 09 | provided auth: d1 3d 6d 5c 3e 3c d0 83 ee 9e 22 78 e2 e2 28 09 | 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: | 0b ba 91 a4 72 13 0d 20 | responder cookie: | cb 43 65 5b b3 c3 fa b2 | 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 a5 ac 93 3f | delete PROTO_v2_ESP SA(0xa5ac933f) | 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(0xa5ac933f) "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.110s and NOT sending notification | child state #12: V2_IPSEC_R(established CHILD SA) => delete | get_sa_info esp.a5ac933f@192.1.2.45 | get_sa_info esp.7e0a6626@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@0x7fbff4003a90 | free_event_entry: release EVENT_SA_REKEY-pe@0x5586d65fcab0 | 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='1569050783' 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='1569050783' 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=0xa5ac933f SPI_OUT=0x7e0a6626 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 192.0.2.0/24:0 --0->- 192.0.1.0/24:0 | netlink_shunt_eroute for proto 0, and source 192.0.2.0/24:0 dest 192.0.1.0/24:0 | priority calculation of connection "westnet-eastnet-ikev2" is 0xfe7e7 | IPsec Sa SPD priority set to 1042407 | delete esp.a5ac933f@192.1.2.45 | netlink response for Del SA esp.a5ac933f@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.7e0a6626@192.1.2.23 | netlink response for Del SA esp.7e0a6626@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 7e 0a 66 26 | 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: 0b ba 91 a4 72 13 0d 20 cb 43 65 5b b3 c3 fa b2 | data being hmac: 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | data being hmac: da 7a 59 8b 93 c8 c1 93 52 09 89 b8 f0 13 ce ec | data being hmac: ee 46 20 b5 cb b7 bd 0e 43 0e ee 53 06 17 9e f9 | out calculated auth: | 4d 4c 43 d1 65 f1 e6 7c 07 d5 27 06 01 93 5b 02 | sending 80 bytes for reply packet for process_encrypted_informational_ikev2 through eth1 from 192.1.2.23:500 to 192.1.2.45:500 (using #11) | 0b ba 91 a4 72 13 0d 20 cb 43 65 5b b3 c3 fa b2 | 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | da 7a 59 8b 93 c8 c1 93 52 09 89 b8 f0 13 ce ec | ee 46 20 b5 cb b7 bd 0e 43 0e ee 53 06 17 9e f9 | 4d 4c 43 d1 65 f1 e6 7c 07 d5 27 06 01 93 5b 02 | 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 0.68 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:3376) | #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 0.895 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.907 milliseconds in comm_handle_cb() reading and processing packet | spent 0.00132 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) | 0b ba 91 a4 72 13 0d 20 cb 43 65 5b b3 c3 fa b2 | 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | 44 89 8a 34 08 82 ac 21 b7 46 01 e5 82 d2 f0 05 | 2b 36 96 3c 98 3b 13 59 7f 34 a7 85 6d 3c 9e 26 | a5 bd 10 6f 3b 86 1e 5e 9d fc fa 93 c0 59 e1 79 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 0b ba 91 a4 72 13 0d 20 | responder cookie: | cb 43 65 5b b3 c3 fa b2 | 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: 0b ba 91 a4 72 13 0d 20 cb 43 65 5b b3 c3 fa b2 | data for hmac: 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | data for hmac: 44 89 8a 34 08 82 ac 21 b7 46 01 e5 82 d2 f0 05 | data for hmac: 2b 36 96 3c 98 3b 13 59 7f 34 a7 85 6d 3c 9e 26 | calculated auth: a5 bd 10 6f 3b 86 1e 5e 9d fc fa 93 c0 59 e1 79 | provided auth: a5 bd 10 6f 3b 86 1e 5e 9d fc fa 93 c0 59 e1 79 | 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: | 0b ba 91 a4 72 13 0d 20 | responder cookie: | cb 43 65 5b b3 c3 fa b2 | 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: 0b ba 91 a4 72 13 0d 20 cb 43 65 5b b3 c3 fa b2 | data being hmac: 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | data being hmac: d8 f2 bd 2b 11 cf 24 0b fd 96 5a 6a 5c f2 36 fe | data being hmac: e1 b8 bb 83 15 9e 5c 4f e2 4b b1 ff e9 58 6f ae | out calculated auth: | 79 88 4b 64 f0 65 44 9f 24 54 1e 49 dc 86 98 f0 | 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) | 0b ba 91 a4 72 13 0d 20 cb 43 65 5b b3 c3 fa b2 | 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | d8 f2 bd 2b 11 cf 24 0b fd 96 5a 6a 5c f2 36 fe | e1 b8 bb 83 15 9e 5c 4f e2 4b b1 ff e9 58 6f ae | 79 88 4b 64 f0 65 44 9f 24 54 1e 49 dc 86 98 f0 | 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.1 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.144s 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@0x7fbfe80045d0 | free_event_entry: release EVENT_SA_REKEY-pe@0x5586d65731c0 | 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: 0x5586d654b8f0 @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:3376) | #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.347 milliseconds in comm_handle_cb() reading and processing packet | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00384 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00297 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) | 04 19 98 f5 03 c4 ad 8a 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 | 01 ca b3 bd 34 a6 ea 94 d1 08 95 5b 33 14 07 9e | b2 c5 15 e8 f8 b3 27 22 8f 22 40 ad 8f f5 74 00 | 83 9f fd 52 a9 63 32 8b ee 92 d3 16 99 92 95 df | 2c 9f ee b5 d0 62 4b 55 2e 20 f8 65 89 df 99 eb | 78 a4 01 46 14 d5 66 2d 2d c2 04 4f e4 1a 03 29 | d5 fd 14 b9 ea b0 b8 0d 96 1e 53 a6 1f 6f 7a fc | 99 d3 03 df 1f 12 5f 07 39 ce fc 3a 4d 55 60 2a | 8e 8a 83 46 51 a9 15 dd 29 5b 24 db e5 dc fa d4 | 3e 15 44 2d 29 00 00 24 d5 dd 3f f3 d3 7b 8c 5f | db 67 6f 5f d6 92 58 de e2 fe bb d3 80 a3 9f 6d | d7 27 b9 2b 8e cf 9f 0f 29 00 00 08 00 00 40 2e | 29 00 00 1c 00 00 40 04 2a f3 cc 0f 48 3f 44 f5 | d2 e1 55 d2 80 e5 ca 0f d1 94 6c a8 00 00 00 1c | 00 00 40 05 9a 40 8f 13 4b 9a 2f 99 9b 3d fe 7b | 74 12 dd 8c c6 c5 70 a6 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 04 19 98 f5 03 c4 ad 8a | 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 0x5586d65f3f70 | 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: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 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:2668) | 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=0x5586d5e8c7a0(20) | natd_hash: icookie= 04 19 98 f5 03 c4 ad 8a | natd_hash: rcookie= 00 00 00 00 00 00 00 00 | natd_hash: ip= c0 01 02 17 | natd_hash: port= 01 f4 | natd_hash: hash= 9a 40 8f 13 4b 9a 2f 99 9b 3d fe 7b 74 12 dd 8c | natd_hash: hash= c6 c5 70 a6 | natd_hash: rcookie is zero | natd_hash: hasher=0x5586d5e8c7a0(20) | natd_hash: icookie= 04 19 98 f5 03 c4 ad 8a | natd_hash: rcookie= 00 00 00 00 00 00 00 00 | natd_hash: ip= c0 01 02 2d | natd_hash: port= 01 f4 | natd_hash: hash= 2a f3 cc 0f 48 3f 44 f5 d2 e1 55 d2 80 e5 ca 0f | natd_hash: hash= d1 94 6c a8 | 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@0x5586d65fcab0 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #13 | libevent_malloc: new ptr-libevent@0x7fbfec0010b0 size 128 | #13 spent 0.214 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 | [RE]START processing: state #13 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3376) | #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 | 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 log_stf_suspend() at ikev2.c:3266) | "westnet-eastnet-ikev2" #13 complete v2 state STATE_PARENT_R0 transition with STF_SUSPEND suspended from complete_v2_state_transition:3448 | 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.552 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.564 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.005124 seconds | (#13) spent 5.12 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@0x7fbfe00070c0 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 0x5586d5db6630 | ikev2_parent_inI1outR1_continue for #13: calculated ke+nonce, sending R1 | **emit ISAKMP Message: | initiator cookie: | 04 19 98 f5 03 c4 ad 8a | responder cookie: | 26 a1 95 00 21 50 2b 31 | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_IKE_SA_INIT (0x22) | flags: ISAKMP_FLAG_v2_MSG_RESPONSE (0x20) | Message ID: 0 (0x0) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | Emitting ikev2_proposal ... | ***emit IKEv2 Security Association Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'ISAKMP Message'.'next payload type' to current IKEv2 Security Association Payload (33:ISAKMP_NEXT_v2SA) | next payload chain: saving location 'IKEv2 Security Association Payload'.'next payload type' in 'reply packet' | ****emit IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | prop #: 1 (0x1) | proto ID: IKEv2_SEC_PROTO_IKE (0x1) | spi size: 0 (0x0) | # transforms: 4 (0x4) | last substructure: saving location 'IKEv2 Security Association Payload'.'IKEv2 Proposal Substructure Payload'.'last proposal' | *****emit IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | IKEv2 transform type: TRANS_TYPE_ENCR (0x1) | IKEv2 transform ID: AES_CBC (0xc) | last substructure: saving location 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' | ******emit IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 256 (0x100) | emitting length of IKEv2 Transform Substructure Payload: 12 | *****emit IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | IKEv2 transform type: TRANS_TYPE_PRF (0x2) | IKEv2 transform ID: PRF_HMAC_SHA2_256 (0x5) | last substructure: checking 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' is v2_TRANSFORM_NON_LAST (0x3) | last substructure: saving location 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' | emitting length of IKEv2 Transform Substructure Payload: 8 | *****emit IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | IKEv2 transform type: TRANS_TYPE_INTEG (0x3) | IKEv2 transform ID: AUTH_HMAC_SHA2_256_128 (0xc) | last substructure: checking 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' is v2_TRANSFORM_NON_LAST (0x3) | last substructure: saving location 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' | emitting length of IKEv2 Transform Substructure Payload: 8 | *****emit IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_LAST (0x0) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_ECP_521 (0x15) | last substructure: checking 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' is v2_TRANSFORM_NON_LAST (0x3) | last substructure: saving location 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' | emitting length of IKEv2 Transform Substructure Payload: 8 | emitting length of IKEv2 Proposal Substructure Payload: 44 | last substructure: checking 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' is 0 | emitting length of IKEv2 Security Association Payload: 48 | last substructure: checking 'IKEv2 Security Association Payload'.'IKEv2 Proposal Substructure Payload'.'last proposal' is 0 | ***emit IKEv2 Key Exchange Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | DH group: OAKLEY_GROUP_ECP_521 (0x15) | next payload chain: setting previous 'IKEv2 Security Association Payload'.'next payload type' to current IKEv2 Key Exchange Payload (34:ISAKMP_NEXT_v2KE) | next payload chain: saving location 'IKEv2 Key Exchange Payload'.'next payload type' in 'reply packet' | emitting 132 raw bytes of ikev2 g^x into IKEv2 Key Exchange Payload | ikev2 g^x 01 58 51 d0 c9 1f 72 b6 f4 64 02 3b cb 9c f4 d6 | ikev2 g^x b8 2a 32 da 94 bc 16 cf e0 e8 09 62 b8 6c b1 e7 | ikev2 g^x 05 c6 e9 fd 90 9d 18 5c c2 e0 72 3e c1 51 72 11 | ikev2 g^x 84 7b cc 71 2d ad 49 16 aa 24 9b 4b 60 09 c2 65 | ikev2 g^x 77 0a 00 0d 88 fc 7e 0d 25 e0 52 77 50 a3 3f 2e | ikev2 g^x b6 10 ae d5 01 47 83 24 f5 5c a6 3f 6c 23 7b 72 | ikev2 g^x 1b 46 31 87 89 72 9c 31 2e 07 09 d4 db e9 57 c3 | ikev2 g^x d3 48 35 84 48 8f 05 db 0a a0 c1 19 d3 14 0c fa | ikev2 g^x 83 8b b6 b4 | 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 dc 8f 53 77 ad 9d e8 a1 d2 58 2b fc 27 83 ac fa | IKEv2 nonce 1c 7a ac 19 74 9f cd 3b 42 dc 63 f5 9c 30 32 20 | 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=0x5586d5e8c7a0(20) | natd_hash: icookie= 04 19 98 f5 03 c4 ad 8a | natd_hash: rcookie= 26 a1 95 00 21 50 2b 31 | natd_hash: ip= c0 01 02 17 | natd_hash: port= 01 f4 | natd_hash: hash= 58 22 f4 01 56 d3 c4 0d 71 40 ca c6 cc a6 b2 07 | natd_hash: hash= d5 b4 b5 b8 | Adding a v2N Payload | ***emit IKEv2 Notify Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | Notify Message Type: v2N_NAT_DETECTION_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 58 22 f4 01 56 d3 c4 0d 71 40 ca c6 cc a6 b2 07 | Notify data d5 b4 b5 b8 | emitting length of IKEv2 Notify Payload: 28 | natd_hash: hasher=0x5586d5e8c7a0(20) | natd_hash: icookie= 04 19 98 f5 03 c4 ad 8a | natd_hash: rcookie= 26 a1 95 00 21 50 2b 31 | natd_hash: ip= c0 01 02 2d | natd_hash: port= 01 f4 | natd_hash: hash= 5d 9a 9e e1 8f af 4c 2c 8d cc 24 9d be 56 34 7c | natd_hash: hash= 00 7c a9 40 | 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 5d 9a 9e e1 8f af 4c 2c 8d cc 24 9d be 56 34 7c | Notify data 00 7c a9 40 | 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:3376) | #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) | 04 19 98 f5 03 c4 ad 8a 26 a1 95 00 21 50 2b 31 | 21 20 22 20 00 00 00 00 00 00 01 3c 22 00 00 30 | 00 00 00 2c 01 01 00 04 03 00 00 0c 01 00 00 0c | 80 0e 01 00 03 00 00 08 02 00 00 05 03 00 00 08 | 03 00 00 0c 00 00 00 08 04 00 00 15 28 00 00 8c | 00 15 00 00 01 58 51 d0 c9 1f 72 b6 f4 64 02 3b | cb 9c f4 d6 b8 2a 32 da 94 bc 16 cf e0 e8 09 62 | b8 6c b1 e7 05 c6 e9 fd 90 9d 18 5c c2 e0 72 3e | c1 51 72 11 84 7b cc 71 2d ad 49 16 aa 24 9b 4b | 60 09 c2 65 77 0a 00 0d 88 fc 7e 0d 25 e0 52 77 | 50 a3 3f 2e b6 10 ae d5 01 47 83 24 f5 5c a6 3f | 6c 23 7b 72 1b 46 31 87 89 72 9c 31 2e 07 09 d4 | db e9 57 c3 d3 48 35 84 48 8f 05 db 0a a0 c1 19 | d3 14 0c fa 83 8b b6 b4 29 00 00 24 dc 8f 53 77 | ad 9d e8 a1 d2 58 2b fc 27 83 ac fa 1c 7a ac 19 | 74 9f cd 3b 42 dc 63 f5 9c 30 32 20 29 00 00 08 | 00 00 40 2e 29 00 00 1c 00 00 40 04 58 22 f4 01 | 56 d3 c4 0d 71 40 ca c6 cc a6 b2 07 d5 b4 b5 b8 | 00 00 00 1c 00 00 40 05 5d 9a 9e e1 8f af 4c 2c | 8d cc 24 9d be 56 34 7c 00 7c a9 40 | state #13 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x7fbfec0010b0 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x5586d65fcab0 | event_schedule: new EVENT_SO_DISCARD-pe@0x5586d65fcab0 | inserting event EVENT_SO_DISCARD, timeout in 200 seconds for #13 | libevent_malloc: new ptr-libevent@0x7fbfec0010b0 size 128 | resume sending helper answer for #13 suppresed complete_v2_state_transition() | #13 spent 0.287 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@0x7fbfe00070c0 | 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) | 04 19 98 f5 03 c4 ad 8a 26 a1 95 00 21 50 2b 31 | 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | 17 8c cc 1c ec 09 1e fa 08 d4 67 ed 99 39 5e 15 | 15 ec bb 3a de 46 39 81 d9 83 3d 27 91 49 39 61 | 65 e6 84 43 e7 b3 bc dd 08 87 91 72 ed 00 ac ce | 7f af 8a aa 6a 62 5e e0 73 1a 35 61 1b 22 b3 4b | 9c 48 dc 5f a6 75 ea 4b 4a 65 5d d8 b4 1f b7 84 | cc 2a a6 ed 6e 86 24 28 30 46 30 23 f0 dc 34 95 | ab 00 7e 25 df f5 f3 e8 d2 d6 fb b3 ae 98 63 55 | 04 2a 50 a9 e3 af c8 c2 c5 e8 24 2f 97 10 5d 4f | 01 25 21 0d f9 fb ef 53 31 ea f7 20 67 eb 7e 88 | d0 e4 a6 1a 69 f9 54 d7 f5 9b 51 dc c0 77 f9 5c | e0 c2 47 f2 ba 1e 35 2f a0 86 70 fe 6b 87 29 a4 | b3 0a bb 03 bc b8 78 d4 ab c9 54 ef a6 58 6c 60 | 0a be 11 a5 eb cc 91 86 64 80 87 bf fc 70 1b 93 | bf bc 6b dc 93 f9 2c 97 a3 f1 f0 c8 77 38 e4 7e | 45 f2 05 f0 f2 47 21 1a 88 25 a7 e1 34 d2 07 e2 | ff 19 40 cf 82 a6 a1 36 30 67 cb 3b d1 e6 67 40 | 21 46 6d 7a 50 bd 30 e0 f0 b3 46 49 a0 d2 e6 7e | f7 09 e2 e1 3c 34 31 0e 2b 76 49 fd 1c cf 00 a4 | 16 fc 6b cb aa d6 4f 32 ca 5a ad 16 d7 bc 46 19 | 31 e0 9b dd 51 2f b4 67 b5 44 07 09 48 2f da c8 | 00 be 80 a8 5f e9 c7 b1 32 42 09 24 d5 f4 9e e8 | 28 cd e6 c1 1f 62 83 a1 7c ed 30 45 94 f4 b7 03 | 7a 72 0b ba 2d 10 eb 4b ed 3a d7 6a ec 82 f0 35 | f7 ef 4c 41 65 c4 1a 24 53 e9 6a 41 97 60 4d 8c | 12 26 72 26 ec 79 02 c9 f8 88 1e bd 23 f1 cb d0 | 43 39 65 77 90 9d d0 e5 42 c9 59 9b c4 d0 0b 39 | 33 67 13 67 80 c4 f6 ca d1 d1 8f 8d 5c c2 32 fe | 6d c0 6b 37 06 0c 3f 90 7a 74 7b 07 d1 09 1b 62 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 04 19 98 f5 03 c4 ad 8a | responder cookie: | 26 a1 95 00 21 50 2b 31 | 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@0x7fbfec0010b0 | free_event_entry: release EVENT_SO_DISCARD-pe@0x5586d65fcab0 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x5586d65fcab0 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #13 | libevent_malloc: new ptr-libevent@0x7fbfec0010b0 size 128 | #13 spent 0.0226 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:3376) | #13 complete_v2_state_transition() PARENT_R1->PARENT_R1 with status STF_SUSPEND | crypto helper 6 resuming | crypto helper 6 starting work-order 14 for state #13 | crypto helper 6 doing compute dh (V2) (ikev2_inI2outR2 KE); request ID 14 | 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:3266) | "westnet-eastnet-ikev2" #13 complete v2 state STATE_PARENT_R1 transition with STF_SUSPEND suspended from complete_v2_state_transition:3448 | 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.203 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.212 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.005562 seconds | (#13) spent 5.54 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@0x7fbfe4002240 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 0x5586d5db6630 | ikev2_parent_inI2outR2_continue for #13: calculating g^{xy}, sending R2 | #13 in state PARENT_R1: received v2I1, sent v2R1 | data for hmac: 04 19 98 f5 03 c4 ad 8a 26 a1 95 00 21 50 2b 31 | data for hmac: 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | data for hmac: 17 8c cc 1c ec 09 1e fa 08 d4 67 ed 99 39 5e 15 | data for hmac: 15 ec bb 3a de 46 39 81 d9 83 3d 27 91 49 39 61 | data for hmac: 65 e6 84 43 e7 b3 bc dd 08 87 91 72 ed 00 ac ce | data for hmac: 7f af 8a aa 6a 62 5e e0 73 1a 35 61 1b 22 b3 4b | data for hmac: 9c 48 dc 5f a6 75 ea 4b 4a 65 5d d8 b4 1f b7 84 | data for hmac: cc 2a a6 ed 6e 86 24 28 30 46 30 23 f0 dc 34 95 | data for hmac: ab 00 7e 25 df f5 f3 e8 d2 d6 fb b3 ae 98 63 55 | data for hmac: 04 2a 50 a9 e3 af c8 c2 c5 e8 24 2f 97 10 5d 4f | data for hmac: 01 25 21 0d f9 fb ef 53 31 ea f7 20 67 eb 7e 88 | data for hmac: d0 e4 a6 1a 69 f9 54 d7 f5 9b 51 dc c0 77 f9 5c | data for hmac: e0 c2 47 f2 ba 1e 35 2f a0 86 70 fe 6b 87 29 a4 | data for hmac: b3 0a bb 03 bc b8 78 d4 ab c9 54 ef a6 58 6c 60 | data for hmac: 0a be 11 a5 eb cc 91 86 64 80 87 bf fc 70 1b 93 | data for hmac: bf bc 6b dc 93 f9 2c 97 a3 f1 f0 c8 77 38 e4 7e | data for hmac: 45 f2 05 f0 f2 47 21 1a 88 25 a7 e1 34 d2 07 e2 | data for hmac: ff 19 40 cf 82 a6 a1 36 30 67 cb 3b d1 e6 67 40 | data for hmac: 21 46 6d 7a 50 bd 30 e0 f0 b3 46 49 a0 d2 e6 7e | data for hmac: f7 09 e2 e1 3c 34 31 0e 2b 76 49 fd 1c cf 00 a4 | data for hmac: 16 fc 6b cb aa d6 4f 32 ca 5a ad 16 d7 bc 46 19 | data for hmac: 31 e0 9b dd 51 2f b4 67 b5 44 07 09 48 2f da c8 | data for hmac: 00 be 80 a8 5f e9 c7 b1 32 42 09 24 d5 f4 9e e8 | data for hmac: 28 cd e6 c1 1f 62 83 a1 7c ed 30 45 94 f4 b7 03 | data for hmac: 7a 72 0b ba 2d 10 eb 4b ed 3a d7 6a ec 82 f0 35 | data for hmac: f7 ef 4c 41 65 c4 1a 24 53 e9 6a 41 97 60 4d 8c | data for hmac: 12 26 72 26 ec 79 02 c9 f8 88 1e bd 23 f1 cb d0 | data for hmac: 43 39 65 77 90 9d d0 e5 42 c9 59 9b c4 d0 0b 39 | data for hmac: 33 67 13 67 80 c4 f6 ca d1 d1 8f 8d 5c c2 32 fe | calculated auth: 6d c0 6b 37 06 0c 3f 90 7a 74 7b 07 d1 09 1b 62 | provided auth: 6d c0 6b 37 06 0c 3f 90 7a 74 7b 07 d1 09 1b 62 | 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:2668) | 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=0x5586d65e5e80 (line=1) | concluding with best_match=002 best=0x5586d65e5e80 (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' | RSA key issuer CA is '%any' | an RSA Sig check passed with *AQOm9dY/4 [preloaded keys] | #13 spent 0.0417 milliseconds in try_all_keys() trying a pubkey "westnet-eastnet-ikev2" #13: Authenticated using RSA | #13 spent 0.0598 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@0x7fbfec0010b0 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x5586d65fcab0 | event_schedule: new EVENT_SA_REKEY-pe@0x5586d65fcab0 | inserting event EVENT_SA_REKEY, timeout in 3330 seconds for #13 | libevent_malloc: new ptr-libevent@0x7fbfec0010b0 size 128 | pstats #13 ikev2.ike established | **emit ISAKMP Message: | initiator cookie: | 04 19 98 f5 03 c4 ad 8a | responder cookie: | 26 a1 95 00 21 50 2b 31 | 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=0x5586d65e5e80 (line=1) | concluding with best_match=002 best=0x5586d65e5e80 (lineno=1) | #13 spent 4.77 milliseconds in ikev2_calculate_rsa_hash() calling sign_hash_RSA() | emitting 274 raw bytes of rsa signature into IKEv2 Authentication Payload | rsa signature b0 c4 9c b6 2f 58 f0 74 6d 44 2d 45 04 d2 35 59 | rsa signature 90 ad b5 e5 37 67 be 4f fe 43 e8 48 d7 33 43 77 | rsa signature 90 51 2c ef 8f fe 4a 70 b7 e7 91 4b 52 1d ad 70 | rsa signature bd 60 af ff 5e 26 fe 42 2d 71 11 f4 6e 18 99 68 | rsa signature 7f 83 90 de 21 80 b0 6a be 5e 7b 4c fb 39 b8 38 | rsa signature 1d 96 1d f7 ed 7d ed 59 3f be 70 ca b6 15 54 1f | rsa signature 9d 27 54 15 db 43 04 13 c6 ae 44 c2 7e bc ce 86 | rsa signature a5 6b 3c 3f b3 7c bc ec de 7e 3a b0 ca 0a 11 f0 | rsa signature f4 b4 69 94 04 db e5 db 20 aa 9e d6 7d 55 1e fd | rsa signature de 38 f8 09 43 28 ad 63 b4 37 83 6c 62 e8 74 0e | rsa signature 2d 31 48 df 3f d6 64 9e 73 5a 6b a1 17 8a 88 24 | rsa signature 0f 76 02 e9 21 3f fd 4f 45 0a 02 63 b2 c0 89 9f | rsa signature 8d c3 79 ea 24 27 eb a3 79 71 24 9c 40 59 27 3c | rsa signature 58 bc af 91 dc 5f cb b4 89 ca f4 ab 8e c4 f3 70 | rsa signature 83 eb 5b 5d 50 99 89 24 8e d8 d2 3d f0 cd 6d 5c | rsa signature 49 0b 70 2b 87 61 2c 22 7b 4b 3a db 23 3a 2d 6a | rsa signature 6b ff a8 27 9d de 9b ad dd ff 3e 0e c7 ca 63 01 | rsa signature 88 64 | #13 spent 4.86 milliseconds in ikev2_calculate_rsa_hash() | emitting length of IKEv2 Authentication Payload: 282 | creating state object #14 at 0x5586d65fe630 | 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:1481) | 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/0 R=192.0.2.0/24:0:0/0 to their: | TSi[0] .net=192.0.1.0-192.0.1.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.1.0/24 == TSi[0]net=192.0.1.0-192.0.1.255: YES fitness 32 | narrow port end=0..65535 == TSi[0]=0..65535: 0 | TSi[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSi[0]=*0: 0 | match end->protocol=*0 == TSi[0].ipprotoid=*0: YES fitness 255 | TSr[0] .net=192.0.2.0-192.0.2.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.2.0/24 == TSr[0]net=192.0.2.0-192.0.2.255: YES fitness 32 | narrow port end=0..65535 == TSr[0]=0..65535: 0 | TSr[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSr[0]=*0: 0 | match end->protocol=*0 == TSr[0].ipprotoid=*0: YES fitness 255 | best fit so far: TSi[0] TSr[0] | found better spd route for TSi[0],TSr[0] | looking for better host pair | find_host_pair: comparing 192.1.2.23:500 to 192.1.2.45:500 but ignoring ports | checking hostpair 192.0.2.0/24:0 -> 192.0.1.0/24:0 is found | investigating connection "westnet-eastnet-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/0 R=192.0.2.0/24:0:0/0 to their: | TSi[0] .net=192.0.1.0-192.0.1.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.1.0/24 == TSi[0]net=192.0.1.0-192.0.1.255: YES fitness 32 | narrow port end=0..65535 == TSi[0]=0..65535: 0 | TSi[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSi[0]=*0: 0 | match end->protocol=*0 == TSi[0].ipprotoid=*0: YES fitness 255 | TSr[0] .net=192.0.2.0-192.0.2.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.2.0/24 == TSr[0]net=192.0.2.0-192.0.2.255: YES fitness 32 | narrow port end=0..65535 == TSr[0]=0..65535: 0 | TSr[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSr[0]=*0: 0 | match end->protocol=*0 == TSr[0].ipprotoid=*0: YES fitness 255 | best fit so far: TSi[0] TSr[0] | did not find a better connection using host pair | printing contents struct traffic_selector | ts_type: IKEv2_TS_IPV4_ADDR_RANGE | ipprotoid: 0 | port range: 0-65535 | ip range: 192.0.2.0-192.0.2.255 | printing contents struct traffic_selector | ts_type: IKEv2_TS_IPV4_ADDR_RANGE | ipprotoid: 0 | port range: 0-65535 | ip range: 192.0.1.0-192.0.1.255 | 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 6b 27 1e 5a | 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=6b271e5a;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=6b271e5a;ENCR=AES_CBC_256;INTEG=HMAC_SHA2_256_128;ESN=DISABLED | converting proposal to internal trans attrs | netlink_get_spi: allocated 0xeae10cdd 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 ea e1 0c dd | ******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 IP start into IKEv2 Traffic Selector | IP start c0 00 01 00 | emitting 4 raw bytes of IP end into IKEv2 Traffic Selector | IP end c0 00 01 ff | emitting length of IKEv2 Traffic Selector: 16 | emitting length of IKEv2 Traffic Selector - Initiator - Payload: 24 | ****emit IKEv2 Traffic Selector - Responder - Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | number of TS: 1 (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 IP start into IKEv2 Traffic Selector | IP start c0 00 02 00 | emitting 4 raw bytes of IP end into IKEv2 Traffic Selector | IP end c0 00 02 ff | emitting length of IKEv2 Traffic Selector: 16 | emitting length of IKEv2 Traffic Selector - Responder - Payload: 24 | Initiator child policy is compress=no, NOT sending v2N_IPCOMP_SUPPORTED | integ=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.6b271e5a@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.eae10cdd@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=0x6b | 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=0x6b271e5a SPI_OUT=0xeae10cdd ipsec _updown 2>&1: | route_and_eroute: firewall_notified: true | route_and_eroute: instance "westnet-eastnet-ikev2", setting eroute_owner {spd=0x5586d65f1810,sr=0x5586d65f1810} to #14 (was #0) (newest_ipsec_sa=#0) | #13 spent 0.591 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: 04 19 98 f5 03 c4 ad 8a 26 a1 95 00 21 50 2b 31 | data being hmac: 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | data being hmac: ae 45 d9 ed e7 13 dd d8 d4 6b 10 c4 fc 87 00 e8 | data being hmac: 5c 6f 73 3b a7 2c 49 a3 0a 16 4c 38 01 2e 46 bb | data being hmac: 3c 02 37 e9 09 50 3c 1a f8 7c a0 d5 27 25 45 91 | data being hmac: be 80 90 d2 23 d2 fa cf e3 96 32 2e be 67 d5 f5 | data being hmac: 80 5d 0d 2f 8d 80 24 da 78 1d 58 8a 1d c1 6d ac | data being hmac: a4 fb 61 c2 75 8f d7 f1 8e c7 5f 4b 89 13 bd ca | data being hmac: 79 80 99 4f 4f 3a ce ec 99 ae 6e 29 70 f6 e6 7a | data being hmac: ca e2 8f 19 37 64 b2 4e df d9 1c aa bc 3a 4e 2b | data being hmac: 15 c9 7a a6 1d f2 04 31 19 1f 03 77 9e 1b 0d 1b | data being hmac: a5 89 3e 6f 6a c6 ed 20 77 87 df 7c 4a 96 b8 5b | data being hmac: 6a d7 0a 4b 71 58 ab 27 5d d0 bc fa e8 98 d3 f0 | data being hmac: 82 7d a7 f4 f5 18 95 51 6c 68 11 cf 73 52 b1 2a | data being hmac: 3b b7 ce a8 c9 2a 90 bf 02 86 f0 f0 b0 27 9f 0b | data being hmac: 8e 2d 95 8b 10 62 eb d0 6d d0 4b af 71 59 e3 1d | data being hmac: 12 58 b3 6a e7 8a d2 a0 fd 09 54 82 0e e4 9a a9 | data being hmac: c5 a6 94 a5 b5 28 1f 50 1f a1 f3 93 00 c3 a5 10 | data being hmac: 41 ac 40 d4 f2 13 61 e8 86 3e 72 78 ee cf ce 17 | data being hmac: 0c 63 78 54 51 b2 5d 5a 95 1b 7b 70 d6 2b c7 e7 | data being hmac: c3 88 b5 c0 31 54 d4 a4 7c 73 99 2b 52 67 69 b5 | data being hmac: 51 3e 50 65 f5 3a ae c2 df aa 69 4d 5f b0 bd 9c | data being hmac: 28 e2 02 3c 97 f1 d2 07 21 a8 0b b0 b8 25 80 20 | data being hmac: 4d 37 31 9b 8c 2d 8c f4 57 07 66 5d 1a c3 a7 1a | data being hmac: ce e6 ac c2 06 28 48 47 7d 95 cc 4d b9 94 e1 e2 | data being hmac: b1 b3 4f 21 4e 06 b9 3d 7e 74 7e bb 74 cd 28 8f | data being hmac: 6c 61 16 77 5e 0f 87 39 d8 a8 a4 90 f8 f3 aa cd | data being hmac: c7 c1 6e b4 31 15 c9 ea 88 b9 c6 eb 07 ab ed cf | out calculated auth: | ff 68 19 b9 83 a0 33 d0 ca 1f 6c c4 95 5e 74 4b | ikev2_parent_inI2outR2_continue_tail returned STF_OK | #13 spent 6.96 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:3376) | start processing: state #14 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3376) | #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=>0x6b271e5a <0xeae10cdd 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) | 04 19 98 f5 03 c4 ad 8a 26 a1 95 00 21 50 2b 31 | 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | ae 45 d9 ed e7 13 dd d8 d4 6b 10 c4 fc 87 00 e8 | 5c 6f 73 3b a7 2c 49 a3 0a 16 4c 38 01 2e 46 bb | 3c 02 37 e9 09 50 3c 1a f8 7c a0 d5 27 25 45 91 | be 80 90 d2 23 d2 fa cf e3 96 32 2e be 67 d5 f5 | 80 5d 0d 2f 8d 80 24 da 78 1d 58 8a 1d c1 6d ac | a4 fb 61 c2 75 8f d7 f1 8e c7 5f 4b 89 13 bd ca | 79 80 99 4f 4f 3a ce ec 99 ae 6e 29 70 f6 e6 7a | ca e2 8f 19 37 64 b2 4e df d9 1c aa bc 3a 4e 2b | 15 c9 7a a6 1d f2 04 31 19 1f 03 77 9e 1b 0d 1b | a5 89 3e 6f 6a c6 ed 20 77 87 df 7c 4a 96 b8 5b | 6a d7 0a 4b 71 58 ab 27 5d d0 bc fa e8 98 d3 f0 | 82 7d a7 f4 f5 18 95 51 6c 68 11 cf 73 52 b1 2a | 3b b7 ce a8 c9 2a 90 bf 02 86 f0 f0 b0 27 9f 0b | 8e 2d 95 8b 10 62 eb d0 6d d0 4b af 71 59 e3 1d | 12 58 b3 6a e7 8a d2 a0 fd 09 54 82 0e e4 9a a9 | c5 a6 94 a5 b5 28 1f 50 1f a1 f3 93 00 c3 a5 10 | 41 ac 40 d4 f2 13 61 e8 86 3e 72 78 ee cf ce 17 | 0c 63 78 54 51 b2 5d 5a 95 1b 7b 70 d6 2b c7 e7 | c3 88 b5 c0 31 54 d4 a4 7c 73 99 2b 52 67 69 b5 | 51 3e 50 65 f5 3a ae c2 df aa 69 4d 5f b0 bd 9c | 28 e2 02 3c 97 f1 d2 07 21 a8 0b b0 b8 25 80 20 | 4d 37 31 9b 8c 2d 8c f4 57 07 66 5d 1a c3 a7 1a | ce e6 ac c2 06 28 48 47 7d 95 cc 4d b9 94 e1 e2 | b1 b3 4f 21 4e 06 b9 3d 7e 74 7e bb 74 cd 28 8f | 6c 61 16 77 5e 0f 87 39 d8 a8 a4 90 f8 f3 aa cd | c7 c1 6e b4 31 15 c9 ea 88 b9 c6 eb 07 ab ed cf | ff 68 19 b9 83 a0 33 d0 ca 1f 6c c4 95 5e 74 4b | 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@0x5586d65f9430 | inserting event EVENT_SA_REKEY, timeout in 28530 seconds for #14 | libevent_malloc: new ptr-libevent@0x7fbfe00070c0 size 128 | resume sending helper answer for #13 suppresed complete_v2_state_transition() | #13 spent 7.2 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@0x7fbfe4002240 | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00343 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00273 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) | 04 19 98 f5 03 c4 ad 8a 26 a1 95 00 21 50 2b 31 | 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | c7 b8 0a d1 14 f6 e9 71 ee 2a 6c 41 b2 07 be a8 | 9d 03 2c 93 96 b8 0b 37 19 b2 57 19 7f 28 c4 46 | cf e8 41 22 ea 7e 7c 37 aa 5c e9 a2 a1 e2 22 9d | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 04 19 98 f5 03 c4 ad 8a | responder cookie: | 26 a1 95 00 21 50 2b 31 | 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: 04 19 98 f5 03 c4 ad 8a 26 a1 95 00 21 50 2b 31 | data for hmac: 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | data for hmac: c7 b8 0a d1 14 f6 e9 71 ee 2a 6c 41 b2 07 be a8 | data for hmac: 9d 03 2c 93 96 b8 0b 37 19 b2 57 19 7f 28 c4 46 | calculated auth: cf e8 41 22 ea 7e 7c 37 aa 5c e9 a2 a1 e2 22 9d | provided auth: cf e8 41 22 ea 7e 7c 37 aa 5c e9 a2 a1 e2 22 9d | 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: | 04 19 98 f5 03 c4 ad 8a | responder cookie: | 26 a1 95 00 21 50 2b 31 | 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 6b 27 1e 5a | delete PROTO_v2_ESP SA(0x6b271e5a) | 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(0x6b271e5a) "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.107s and NOT sending notification | child state #14: V2_IPSEC_R(established CHILD SA) => delete | get_sa_info esp.6b271e5a@192.1.2.45 | get_sa_info esp.eae10cdd@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@0x7fbfe00070c0 | free_event_entry: release EVENT_SA_REKEY-pe@0x5586d65f9430 | 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='1569050783' 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='1569050783' 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=0x6b271e5a SPI_OUT=0xeae10cdd 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 192.0.2.0/24:0 --0->- 192.0.1.0/24:0 | netlink_shunt_eroute for proto 0, and source 192.0.2.0/24:0 dest 192.0.1.0/24:0 | priority calculation of connection "westnet-eastnet-ikev2" is 0xfe7e7 | IPsec Sa SPD priority set to 1042407 | delete esp.6b271e5a@192.1.2.45 | netlink response for Del SA esp.6b271e5a@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.eae10cdd@192.1.2.23 | netlink response for Del SA esp.eae10cdd@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 ea e1 0c dd | 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: 04 19 98 f5 03 c4 ad 8a 26 a1 95 00 21 50 2b 31 | data being hmac: 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | data being hmac: 4b 1e 6b be 7e 49 7a 9f 8d 8c e0 72 ef 0c eb 1a | data being hmac: a3 da 36 b5 7a a7 b1 9a 0d 61 e7 32 3e ac 6d 12 | out calculated auth: | 2d 63 9a 59 f9 be 86 a4 92 3f be df 3a e2 c0 77 | 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) | 04 19 98 f5 03 c4 ad 8a 26 a1 95 00 21 50 2b 31 | 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | 4b 1e 6b be 7e 49 7a 9f 8d 8c e0 72 ef 0c eb 1a | a3 da 36 b5 7a a7 b1 9a 0d 61 e7 32 3e ac 6d 12 | 2d 63 9a 59 f9 be 86 a4 92 3f be df 3a e2 c0 77 | Message ID: #13 XXX: in process_encrypted_informational_ikev2() hacking around record'n'send bypassing send queue hacking around delete_my_family(); initiator.sent=-1 initiator.recv=-1 responder.sent=1 responder.recv=1 wip.initiator=-1 wip.responder=2 | Message ID: sent #13 response 2; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=1->2 responder.recv=1 wip.initiator=-1 wip.responder=2 | #13 spent 0.679 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:3376) | #13 complete_v2_state_transition() PARENT_R2->PARENT_R2 with status STF_OK | Message ID: updating counters for #13 to 2 after switching state | Message ID: recv #13 request 2; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=1->2 wip.initiator=-1 wip.responder=2->-1 | Message ID: #13 skipping update_send as nothing to send; initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=2 wip.initiator=-1 wip.responder=-1 "westnet-eastnet-ikev2" #13: STATE_PARENT_R2: received v2I2, PARENT SA established | stop processing: state #13 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2018) | #13 spent 0.883 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.897 milliseconds in comm_handle_cb() reading and processing packet | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00434 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00238 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) | 04 19 98 f5 03 c4 ad 8a 26 a1 95 00 21 50 2b 31 | 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | dd 43 73 cb bb a0 20 7e d1 53 70 4d 2d 27 4d bc | 47 67 79 3d 7a 9b 6e 3f 9c c2 96 a9 eb 69 14 60 | f5 9a 68 20 9f 23 1c 88 5d 61 72 5d 64 64 46 d9 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 04 19 98 f5 03 c4 ad 8a | responder cookie: | 26 a1 95 00 21 50 2b 31 | 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: 04 19 98 f5 03 c4 ad 8a 26 a1 95 00 21 50 2b 31 | data for hmac: 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | data for hmac: dd 43 73 cb bb a0 20 7e d1 53 70 4d 2d 27 4d bc | data for hmac: 47 67 79 3d 7a 9b 6e 3f 9c c2 96 a9 eb 69 14 60 | calculated auth: f5 9a 68 20 9f 23 1c 88 5d 61 72 5d 64 64 46 d9 | provided auth: f5 9a 68 20 9f 23 1c 88 5d 61 72 5d 64 64 46 d9 | 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: | 04 19 98 f5 03 c4 ad 8a | responder cookie: | 26 a1 95 00 21 50 2b 31 | 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: 04 19 98 f5 03 c4 ad 8a 26 a1 95 00 21 50 2b 31 | data being hmac: 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | data being hmac: 2b 75 61 a5 c9 8a 1a 9f 85 b0 66 72 be f2 97 41 | data being hmac: 65 8a 37 70 2b 3a e7 94 28 db b7 cc 76 27 09 1d | out calculated auth: | 7e aa 05 a7 e9 f6 c8 f9 21 cb ca 98 ea 53 14 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 #13) | 04 19 98 f5 03 c4 ad 8a 26 a1 95 00 21 50 2b 31 | 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | 2b 75 61 a5 c9 8a 1a 9f 85 b0 66 72 be f2 97 41 | 65 8a 37 70 2b 3a e7 94 28 db b7 cc 76 27 09 1d | 7e aa 05 a7 e9 f6 c8 f9 21 cb ca 98 ea 53 14 8b | 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.8 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.146s 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@0x7fbfec0010b0 | free_event_entry: release EVENT_SA_REKEY-pe@0x5586d65fcab0 | 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: 0x5586d654b8f0 @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:3376) | #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.494 milliseconds in comm_handle_cb() reading and processing packet | spent 0.00298 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) | c1 16 ab d2 01 ff 9a ef 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 | 58 43 73 d7 d0 6c e2 82 53 dc 88 75 63 2c 35 64 | 78 79 3b cf 66 8e 21 f5 d3 d6 29 fa f1 ad dd 09 | 29 00 00 24 a0 76 fb bf 35 86 05 71 d6 51 02 cd | 81 e5 a1 bd 06 de 0a 46 e2 43 e7 b5 a2 c3 39 1d | 59 67 85 7b 29 00 00 08 00 00 40 2e 29 00 00 1c | 00 00 40 04 87 5d b5 c4 76 e3 9c 20 6d 29 f4 de | 16 e1 e9 f3 47 58 41 d0 00 00 00 1c 00 00 40 05 | a8 6c 3d db ef 9e 87 dd 45 54 37 ba 34 c7 c6 1c | 51 45 75 e2 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | c1 16 ab d2 01 ff 9a ef | 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 0x5586d65f3f70 | 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: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 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:2668) | 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=0x5586d5e8c7a0(20) | natd_hash: icookie= c1 16 ab d2 01 ff 9a ef | natd_hash: rcookie= 00 00 00 00 00 00 00 00 | natd_hash: ip= c0 01 02 17 | natd_hash: port= 01 f4 | natd_hash: hash= a8 6c 3d db ef 9e 87 dd 45 54 37 ba 34 c7 c6 1c | natd_hash: hash= 51 45 75 e2 | natd_hash: rcookie is zero | natd_hash: hasher=0x5586d5e8c7a0(20) | natd_hash: icookie= c1 16 ab d2 01 ff 9a ef | natd_hash: rcookie= 00 00 00 00 00 00 00 00 | natd_hash: ip= c0 01 02 2d | natd_hash: port= 01 f4 | natd_hash: hash= 87 5d b5 c4 76 e3 9c 20 6d 29 f4 de 16 e1 e9 f3 | natd_hash: hash= 47 58 41 d0 | 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@0x5586d65f9430 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #15 | libevent_malloc: new ptr-libevent@0x7fbfe00070c0 size 128 | #15 spent 0.294 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:3376) | #15 complete_v2_state_transition() PARENT_R0->PARENT_R1 with status STF_SUSPEND | suspending state #15 and saving MD | #15 is busy; has a suspended MD | [RE]START processing: state #15 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in log_stf_suspend() at ikev2.c:3266) | "westnet-eastnet-ikev2" #15 complete v2 state STATE_PARENT_R0 transition with STF_SUSPEND suspended from complete_v2_state_transition:3448 | crypto helper 0 resuming | crypto helper 0 starting work-order 15 for state #15 | crypto helper 0 doing build KE and nonce (ikev2_inI1outR1 KE); request ID 15 | 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.000132 seconds | (#15) spent 0.137 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@0x7fbff80012f0 size 128 | crypto helper 0 waiting (nothing to do) | 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.633 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.649 milliseconds in comm_handle_cb() reading and processing packet | 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 0x5586d5db6630 | ikev2_parent_inI1outR1_continue for #15: calculated ke+nonce, sending R1 | **emit ISAKMP Message: | initiator cookie: | c1 16 ab d2 01 ff 9a ef | responder cookie: | af bc f9 c6 71 ea 2c da | 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 87 5b c7 0f 34 7a 95 3c 11 d3 e2 4f ab c4 7f dc | ikev2 g^x 81 2e b6 e4 f6 8e 55 28 88 ba bd bf af 71 f7 17 | 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 08 13 00 26 06 e9 06 8c 9b 07 f5 46 aa 1e 92 e9 | IKEv2 nonce 5c 93 51 f1 a8 3e ad 9f 8f a8 ba 71 94 99 76 61 | 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=0x5586d5e8c7a0(20) | natd_hash: icookie= c1 16 ab d2 01 ff 9a ef | natd_hash: rcookie= af bc f9 c6 71 ea 2c da | natd_hash: ip= c0 01 02 17 | natd_hash: port= 01 f4 | natd_hash: hash= e2 0a a6 c9 2d 38 71 a6 c8 3b f2 b8 0a 71 58 2c | natd_hash: hash= 8e dc d2 88 | Adding a v2N Payload | ***emit IKEv2 Notify Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | Notify Message Type: v2N_NAT_DETECTION_SOURCE_IP (0x4004) | next payload chain: setting previous 'IKEv2 Notify Payload'.'next payload type' to current IKEv2 Notify Payload (41:ISAKMP_NEXT_v2N) | next payload chain: saving location 'IKEv2 Notify Payload'.'next payload type' in 'reply packet' | emitting 20 raw bytes of Notify data into IKEv2 Notify Payload | Notify data e2 0a a6 c9 2d 38 71 a6 c8 3b f2 b8 0a 71 58 2c | Notify data 8e dc d2 88 | emitting length of IKEv2 Notify Payload: 28 | natd_hash: hasher=0x5586d5e8c7a0(20) | natd_hash: icookie= c1 16 ab d2 01 ff 9a ef | natd_hash: rcookie= af bc f9 c6 71 ea 2c da | natd_hash: ip= c0 01 02 2d | natd_hash: port= 01 f4 | natd_hash: hash= 7c 3c c1 31 1b 6e 9a ae ab 3d cd f8 f6 41 16 e6 | natd_hash: hash= 8d db 53 23 | 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 7c 3c c1 31 1b 6e 9a ae ab 3d cd f8 f6 41 16 e6 | Notify data 8d db 53 23 | 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:3376) | #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) | c1 16 ab d2 01 ff 9a ef af bc f9 c6 71 ea 2c da | 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 87 5b c7 0f 34 7a 95 3c 11 d3 e2 4f | ab c4 7f dc 81 2e b6 e4 f6 8e 55 28 88 ba bd bf | af 71 f7 17 29 00 00 24 08 13 00 26 06 e9 06 8c | 9b 07 f5 46 aa 1e 92 e9 5c 93 51 f1 a8 3e ad 9f | 8f a8 ba 71 94 99 76 61 29 00 00 08 00 00 40 2e | 29 00 00 1c 00 00 40 04 e2 0a a6 c9 2d 38 71 a6 | c8 3b f2 b8 0a 71 58 2c 8e dc d2 88 00 00 00 1c | 00 00 40 05 7c 3c c1 31 1b 6e 9a ae ab 3d cd f8 | f6 41 16 e6 8d db 53 23 | state #15 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x7fbfe00070c0 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x5586d65f9430 | event_schedule: new EVENT_SO_DISCARD-pe@0x5586d65f9430 | inserting event EVENT_SO_DISCARD, timeout in 200 seconds for #15 | libevent_malloc: new ptr-libevent@0x7fbfe00070c0 size 128 | resume sending helper answer for #15 suppresed complete_v2_state_transition() | #15 spent 0.409 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@0x7fbff80012f0 | spent 0 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) | c1 16 ab d2 01 ff 9a ef af bc f9 c6 71 ea 2c da | 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | 04 ec f1 7b 2e 84 3e 92 c0 02 5a 96 ef 02 4d 31 | f2 c6 67 45 57 f7 03 cc 99 91 70 fe 8b 01 d0 65 | 7f 62 c4 ce 2e 54 54 91 aa 36 aa cc d2 19 89 80 | 1f 33 2c 2e 3d 50 53 81 1f 4e a1 25 86 69 ad 6c | 34 70 b8 5e 3a 1f 43 d2 ca 09 8b 4d 30 e7 82 d0 | 02 d9 6d 1f 55 97 e0 42 2a 05 43 3d 3d 60 68 cd | 58 3f 24 00 ee ac 9b f5 47 79 b5 e0 c3 61 97 cb | f4 9d ee 67 60 1e bd 50 32 fc f2 ba e3 d6 d7 24 | 71 7c 32 d8 5d 66 7a 70 a0 13 ac 9c ad 89 1e 86 | 7b 8d d7 2a 2c 4f a4 ad 96 3e c8 8a 1f a5 e0 37 | f2 d5 c0 53 b6 2d 72 ff e9 2f 86 7e 44 b5 e5 68 | 9c 05 92 da 9e f2 c0 b0 18 e1 ce db 0a c1 b5 68 | 43 ef 21 3f be 0d c4 29 57 7b bf 7d 43 32 e3 ec | a7 85 9d 2a 60 7d 5a 87 09 d6 c6 16 89 6c 01 36 | 45 f3 c0 92 95 b8 1b a5 6f 8a 5c 2a 95 03 b3 a0 | e4 0e ca 22 89 ff e8 43 df 9b 5f 82 7e 5e 08 26 | 45 16 d3 73 e4 96 4d 4e 1d 46 58 56 6e 3f 29 dd | 13 60 aa b3 18 16 30 b1 c1 2f dc b5 66 49 09 31 | d4 96 3c 8d 39 19 1f 1b ca 29 17 bf 88 19 80 1c | d9 a9 8b 55 aa fe 85 8d 14 82 03 36 88 22 a3 9e | 2f 4f b6 6d 89 8b 58 9b 94 ca f7 29 2d 37 50 c1 | a9 1d 23 cc 79 cb 0a b9 be 37 67 1a 8f 1c 9c 1f | 02 88 45 13 39 27 0b 91 8f 8a 77 e6 d1 9a 03 11 | b4 9b 49 f4 04 ac 02 97 7c fe d1 90 ce 92 45 07 | b7 ad 48 86 0b 53 86 53 a6 b0 ec 49 aa 46 a9 3d | 71 31 b4 be c5 94 0b 28 34 f1 df 8c de 7e a2 eb | 8d c8 91 87 eb 30 29 2f 15 32 7c 66 69 32 fc 35 | b7 b7 7c ab e3 c4 64 f8 47 7c 03 8c e9 46 75 a7 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | c1 16 ab d2 01 ff 9a ef | responder cookie: | af bc f9 c6 71 ea 2c da | 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@0x7fbfe00070c0 | free_event_entry: release EVENT_SO_DISCARD-pe@0x5586d65f9430 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x5586d65f9430 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #15 | libevent_malloc: new ptr-libevent@0x7fbff80012f0 size 128 | #15 spent 0.033 milliseconds in processing: Responder: process IKE_AUTH request (no SKEYSEED) in ikev2_process_state_packet() | crypto helper 1 resuming | [RE]START processing: state #15 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3376) | crypto helper 1 starting work-order 16 for state #15 | crypto helper 1 doing compute dh (V2) (ikev2_inI2outR2 KE); request ID 16 | passing raw CURVE25519 public key blob to NSS | #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:3266) | calculating skeyseed using prf=sha2_256 integ=sha2_256 cipherkey-size=32 salt-size=0 | "westnet-eastnet-ikev2" #15 complete v2 state STATE_PARENT_R1 transition with STF_SUSPEND suspended from complete_v2_state_transition:3448 | 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.237 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.25 milliseconds in comm_handle_cb() reading and processing packet | crypto helper 1 finished compute dh (V2) (ikev2_inI2outR2 KE); request ID 16 time elapsed 0.000619 seconds | (#15) spent 0.616 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@0x7fbff0001de0 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 0x5586d5db6630 | ikev2_parent_inI2outR2_continue for #15: calculating g^{xy}, sending R2 | #15 in state PARENT_R1: received v2I1, sent v2R1 | data for hmac: c1 16 ab d2 01 ff 9a ef af bc f9 c6 71 ea 2c da | data for hmac: 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | data for hmac: 04 ec f1 7b 2e 84 3e 92 c0 02 5a 96 ef 02 4d 31 | data for hmac: f2 c6 67 45 57 f7 03 cc 99 91 70 fe 8b 01 d0 65 | data for hmac: 7f 62 c4 ce 2e 54 54 91 aa 36 aa cc d2 19 89 80 | data for hmac: 1f 33 2c 2e 3d 50 53 81 1f 4e a1 25 86 69 ad 6c | data for hmac: 34 70 b8 5e 3a 1f 43 d2 ca 09 8b 4d 30 e7 82 d0 | data for hmac: 02 d9 6d 1f 55 97 e0 42 2a 05 43 3d 3d 60 68 cd | data for hmac: 58 3f 24 00 ee ac 9b f5 47 79 b5 e0 c3 61 97 cb | data for hmac: f4 9d ee 67 60 1e bd 50 32 fc f2 ba e3 d6 d7 24 | data for hmac: 71 7c 32 d8 5d 66 7a 70 a0 13 ac 9c ad 89 1e 86 | data for hmac: 7b 8d d7 2a 2c 4f a4 ad 96 3e c8 8a 1f a5 e0 37 | data for hmac: f2 d5 c0 53 b6 2d 72 ff e9 2f 86 7e 44 b5 e5 68 | data for hmac: 9c 05 92 da 9e f2 c0 b0 18 e1 ce db 0a c1 b5 68 | data for hmac: 43 ef 21 3f be 0d c4 29 57 7b bf 7d 43 32 e3 ec | data for hmac: a7 85 9d 2a 60 7d 5a 87 09 d6 c6 16 89 6c 01 36 | data for hmac: 45 f3 c0 92 95 b8 1b a5 6f 8a 5c 2a 95 03 b3 a0 | data for hmac: e4 0e ca 22 89 ff e8 43 df 9b 5f 82 7e 5e 08 26 | data for hmac: 45 16 d3 73 e4 96 4d 4e 1d 46 58 56 6e 3f 29 dd | data for hmac: 13 60 aa b3 18 16 30 b1 c1 2f dc b5 66 49 09 31 | data for hmac: d4 96 3c 8d 39 19 1f 1b ca 29 17 bf 88 19 80 1c | data for hmac: d9 a9 8b 55 aa fe 85 8d 14 82 03 36 88 22 a3 9e | data for hmac: 2f 4f b6 6d 89 8b 58 9b 94 ca f7 29 2d 37 50 c1 | data for hmac: a9 1d 23 cc 79 cb 0a b9 be 37 67 1a 8f 1c 9c 1f | data for hmac: 02 88 45 13 39 27 0b 91 8f 8a 77 e6 d1 9a 03 11 | data for hmac: b4 9b 49 f4 04 ac 02 97 7c fe d1 90 ce 92 45 07 | data for hmac: b7 ad 48 86 0b 53 86 53 a6 b0 ec 49 aa 46 a9 3d | data for hmac: 71 31 b4 be c5 94 0b 28 34 f1 df 8c de 7e a2 eb | data for hmac: 8d c8 91 87 eb 30 29 2f 15 32 7c 66 69 32 fc 35 | calculated auth: b7 b7 7c ab e3 c4 64 f8 47 7c 03 8c e9 46 75 a7 | provided auth: b7 b7 7c ab e3 c4 64 f8 47 7c 03 8c e9 46 75 a7 | 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:2668) | 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=0x5586d65e5e80 (line=1) | concluding with best_match=002 best=0x5586d65e5e80 (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' | RSA key issuer CA is '%any' | an RSA Sig check passed with *AQOm9dY/4 [preloaded keys] | #15 spent 0.0591 milliseconds in try_all_keys() trying a pubkey "westnet-eastnet-ikev2" #15: Authenticated using RSA | #15 spent 0.086 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@0x7fbff80012f0 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x5586d65f9430 | event_schedule: new EVENT_SA_REKEY-pe@0x5586d65f9430 | inserting event EVENT_SA_REKEY, timeout in 3330 seconds for #15 | libevent_malloc: new ptr-libevent@0x7fbff80012f0 size 128 | pstats #15 ikev2.ike established | **emit ISAKMP Message: | initiator cookie: | c1 16 ab d2 01 ff 9a ef | responder cookie: | af bc f9 c6 71 ea 2c da | 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=0x5586d65e5e80 (line=1) | concluding with best_match=002 best=0x5586d65e5e80 (lineno=1) | #15 spent 4.3 milliseconds in ikev2_calculate_rsa_hash() calling sign_hash_RSA() | emitting 274 raw bytes of rsa signature into IKEv2 Authentication Payload | rsa signature 20 28 13 36 de a3 57 f8 c9 66 45 eb 56 a1 3a 8e | rsa signature 65 8b dd 49 59 94 cd 32 d3 1c 44 12 e8 c4 6d 36 | rsa signature 8d 04 09 2a c0 ab 69 24 cb 2d 68 a0 2b d8 fd 2c | rsa signature 77 eb 55 f5 d3 db 39 dd 72 31 db 29 57 87 99 e9 | rsa signature 1e aa 6a e7 8a de 30 02 4d 05 da 15 77 d3 cb e0 | rsa signature 75 60 bf 5a ad 45 27 50 36 a2 09 fd b0 70 5e d5 | rsa signature d6 7d d2 8a fb f7 7a bc 89 ff ab 3b f4 ff 24 08 | rsa signature d3 e5 28 a4 51 62 3b ba 7d e8 a6 a9 83 b8 a3 1b | rsa signature b2 df 37 db a8 d6 33 cd da 3e c0 30 3c 17 4c e0 | rsa signature ef c3 fb 71 a4 dd 91 87 25 92 84 16 4c b3 a3 fe | rsa signature 44 5e c3 ec a1 06 d4 14 98 e9 5c 58 9b 49 f0 b3 | rsa signature 4d 7e 3f 81 74 b2 54 7f 9c 33 72 25 db 3e 98 4b | rsa signature 52 4c 21 cd 1c b8 28 e5 36 e6 03 50 7a b2 62 91 | rsa signature ac c3 0e 36 72 69 92 46 66 67 be 31 66 a9 89 1a | rsa signature 76 6a 31 1d c2 a2 7f 50 d3 a2 28 3c dd 51 5b 95 | rsa signature 62 28 cd 9b e7 bf 9a 25 90 6e 18 34 dd f2 f4 21 | rsa signature d9 21 38 eb c5 cc 3f b5 43 ed a1 2c ec 4c e0 67 | rsa signature 65 f6 | #15 spent 4.39 milliseconds in ikev2_calculate_rsa_hash() | emitting length of IKEv2 Authentication Payload: 282 | creating state object #16 at 0x5586d6605f40 | 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:1481) | 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/0 R=192.0.2.0/24:0:0/0 to their: | TSi[0] .net=192.0.1.0-192.0.1.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.1.0/24 == TSi[0]net=192.0.1.0-192.0.1.255: YES fitness 32 | narrow port end=0..65535 == TSi[0]=0..65535: 0 | TSi[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSi[0]=*0: 0 | match end->protocol=*0 == TSi[0].ipprotoid=*0: YES fitness 255 | TSr[0] .net=192.0.2.0-192.0.2.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.2.0/24 == TSr[0]net=192.0.2.0-192.0.2.255: YES fitness 32 | narrow port end=0..65535 == TSr[0]=0..65535: 0 | TSr[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSr[0]=*0: 0 | match end->protocol=*0 == TSr[0].ipprotoid=*0: YES fitness 255 | best fit so far: TSi[0] TSr[0] | found better spd route for TSi[0],TSr[0] | looking for better host pair | find_host_pair: comparing 192.1.2.23:500 to 192.1.2.45:500 but ignoring ports | checking hostpair 192.0.2.0/24:0 -> 192.0.1.0/24:0 is found | investigating connection "westnet-eastnet-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/0 R=192.0.2.0/24:0:0/0 to their: | TSi[0] .net=192.0.1.0-192.0.1.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.1.0/24 == TSi[0]net=192.0.1.0-192.0.1.255: YES fitness 32 | narrow port end=0..65535 == TSi[0]=0..65535: 0 | TSi[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSi[0]=*0: 0 | match end->protocol=*0 == TSi[0].ipprotoid=*0: YES fitness 255 | TSr[0] .net=192.0.2.0-192.0.2.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.2.0/24 == TSr[0]net=192.0.2.0-192.0.2.255: YES fitness 32 | narrow port end=0..65535 == TSr[0]=0..65535: 0 | TSr[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSr[0]=*0: 0 | match end->protocol=*0 == TSr[0].ipprotoid=*0: YES fitness 255 | best fit so far: TSi[0] TSr[0] | did not find a better connection using host pair | printing contents struct traffic_selector | ts_type: IKEv2_TS_IPV4_ADDR_RANGE | ipprotoid: 0 | port range: 0-65535 | ip range: 192.0.2.0-192.0.2.255 | printing contents struct traffic_selector | ts_type: IKEv2_TS_IPV4_ADDR_RANGE | ipprotoid: 0 | port range: 0-65535 | ip range: 192.0.1.0-192.0.1.255 | 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 f3 99 2e 1a | 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=f3992e1a;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=f3992e1a;ENCR=AES_CBC_256;INTEG=HMAC_SHA2_256_128;ESN=DISABLED | converting proposal to internal trans attrs | netlink_get_spi: allocated 0x895e2845 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 89 5e 28 45 | ******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 IP start into IKEv2 Traffic Selector | IP start c0 00 01 00 | emitting 4 raw bytes of IP end into IKEv2 Traffic Selector | IP end c0 00 01 ff | emitting length of IKEv2 Traffic Selector: 16 | emitting length of IKEv2 Traffic Selector - Initiator - Payload: 24 | ****emit IKEv2 Traffic Selector - Responder - Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | number of TS: 1 (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 IP start into IKEv2 Traffic Selector | IP start c0 00 02 00 | emitting 4 raw bytes of IP end into IKEv2 Traffic Selector | IP end c0 00 02 ff | emitting length of IKEv2 Traffic Selector: 16 | emitting length of IKEv2 Traffic Selector - Responder - Payload: 24 | Initiator child policy is compress=no, NOT sending v2N_IPCOMP_SUPPORTED | integ=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.f3992e1a@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.895e2845@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=0xf3 | 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=0xf3992e1a SPI_OUT=0x895e2845 ipsec _updown 2>&1: | route_and_eroute: firewall_notified: true | route_and_eroute: instance "westnet-eastnet-ikev2", setting eroute_owner {spd=0x5586d65f1810,sr=0x5586d65f1810} to #16 (was #0) (newest_ipsec_sa=#0) | #15 spent 0.537 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: c1 16 ab d2 01 ff 9a ef af bc f9 c6 71 ea 2c da | data being hmac: 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | data being hmac: d8 19 b2 49 cd 19 05 0e 95 e3 4a 2b de 3a d5 49 | data being hmac: 7a 5c f7 d7 a6 b8 9b 5c 47 92 1f d4 17 6e 3e 9c | data being hmac: db b6 c4 ba e5 a0 56 20 03 0a 13 30 20 5e ec 47 | data being hmac: d6 1d a0 bc af 3c 8c 58 06 65 12 e7 ef 0c 51 c5 | data being hmac: cf 36 dd 5b d2 6d 76 9c 1c 6d e6 d9 80 fe c9 5e | data being hmac: bc a8 3d 39 bd ac 0f a7 b2 fd 9b b5 33 55 b9 c8 | data being hmac: e0 8e 4a 36 d5 38 b0 df 1f 87 1b 6a 4d 7c b7 d8 | data being hmac: 8f c2 d6 d9 65 13 3e 47 92 18 e6 60 93 44 0e 00 | data being hmac: fa dd 84 8b 6c 19 f8 23 5c e3 3a 05 fa 82 94 13 | data being hmac: bd d0 a9 e7 68 34 fa 5f 5b 0d f7 47 5e 6e 27 aa | data being hmac: 7c 7d cf a3 d3 7c ff b5 58 ab 04 83 95 cf fa 2c | data being hmac: 58 a6 98 60 9c ac 0b c5 df c1 da 5e 26 52 1c 37 | data being hmac: ad 46 3b 8f 5b 48 c7 57 dc 5e 29 1f 1c f4 21 a4 | data being hmac: 93 48 ac e6 1f 37 cb 73 83 00 f2 80 f9 f7 85 0d | data being hmac: ea 60 e4 a3 3b 85 b1 3c 46 49 5b c7 16 6c 36 c7 | data being hmac: 5a 88 59 7a 43 a9 6c 65 49 b8 80 33 09 68 63 99 | data being hmac: 22 6d 3c 96 fa 01 08 ad cd d8 13 96 96 4a c1 fa | data being hmac: 83 dd ed 97 9e 06 aa 34 f0 52 74 90 bf 1c 61 96 | data being hmac: a7 93 c1 f1 02 ea 37 aa ed 98 1b b5 2c c5 01 cf | data being hmac: b0 fe 29 ab a9 74 ec cd 20 07 00 9f 49 1e a6 fc | data being hmac: 02 3b 5c 49 12 01 f9 21 22 5f d8 d0 2e bd d1 50 | data being hmac: cd 54 43 f4 39 9e 88 01 7b 34 5b cf fd 76 11 0e | data being hmac: 29 c7 41 46 ed 8a bf 24 d7 ee a3 35 39 52 46 e2 | data being hmac: 9d 13 b5 78 73 b1 2b a4 ff 94 61 77 20 4a c6 04 | data being hmac: ea 4f 7a a9 a3 db 9e 1a 11 69 1d 7e e6 b8 05 69 | data being hmac: 9c d4 e1 38 51 07 70 6a 25 18 46 f3 8b a7 fc 64 | out calculated auth: | da 2d 39 8b 38 ca 1d b9 10 12 a4 15 6d 2d 8a 67 | ikev2_parent_inI2outR2_continue_tail returned STF_OK | #15 spent 6.37 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:3376) | start processing: state #16 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3376) | #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=>0xf3992e1a <0x895e2845 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) | c1 16 ab d2 01 ff 9a ef af bc f9 c6 71 ea 2c da | 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | d8 19 b2 49 cd 19 05 0e 95 e3 4a 2b de 3a d5 49 | 7a 5c f7 d7 a6 b8 9b 5c 47 92 1f d4 17 6e 3e 9c | db b6 c4 ba e5 a0 56 20 03 0a 13 30 20 5e ec 47 | d6 1d a0 bc af 3c 8c 58 06 65 12 e7 ef 0c 51 c5 | cf 36 dd 5b d2 6d 76 9c 1c 6d e6 d9 80 fe c9 5e | bc a8 3d 39 bd ac 0f a7 b2 fd 9b b5 33 55 b9 c8 | e0 8e 4a 36 d5 38 b0 df 1f 87 1b 6a 4d 7c b7 d8 | 8f c2 d6 d9 65 13 3e 47 92 18 e6 60 93 44 0e 00 | fa dd 84 8b 6c 19 f8 23 5c e3 3a 05 fa 82 94 13 | bd d0 a9 e7 68 34 fa 5f 5b 0d f7 47 5e 6e 27 aa | 7c 7d cf a3 d3 7c ff b5 58 ab 04 83 95 cf fa 2c | 58 a6 98 60 9c ac 0b c5 df c1 da 5e 26 52 1c 37 | ad 46 3b 8f 5b 48 c7 57 dc 5e 29 1f 1c f4 21 a4 | 93 48 ac e6 1f 37 cb 73 83 00 f2 80 f9 f7 85 0d | ea 60 e4 a3 3b 85 b1 3c 46 49 5b c7 16 6c 36 c7 | 5a 88 59 7a 43 a9 6c 65 49 b8 80 33 09 68 63 99 | 22 6d 3c 96 fa 01 08 ad cd d8 13 96 96 4a c1 fa | 83 dd ed 97 9e 06 aa 34 f0 52 74 90 bf 1c 61 96 | a7 93 c1 f1 02 ea 37 aa ed 98 1b b5 2c c5 01 cf | b0 fe 29 ab a9 74 ec cd 20 07 00 9f 49 1e a6 fc | 02 3b 5c 49 12 01 f9 21 22 5f d8 d0 2e bd d1 50 | cd 54 43 f4 39 9e 88 01 7b 34 5b cf fd 76 11 0e | 29 c7 41 46 ed 8a bf 24 d7 ee a3 35 39 52 46 e2 | 9d 13 b5 78 73 b1 2b a4 ff 94 61 77 20 4a c6 04 | ea 4f 7a a9 a3 db 9e 1a 11 69 1d 7e e6 b8 05 69 | 9c d4 e1 38 51 07 70 6a 25 18 46 f3 8b a7 fc 64 | da 2d 39 8b 38 ca 1d b9 10 12 a4 15 6d 2d 8a 67 | 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@0x5586d65f28a0 | inserting event EVENT_SA_REKEY, timeout in 28530 seconds for #16 | libevent_malloc: new ptr-libevent@0x7fbfe4002240 size 128 | resume sending helper answer for #15 suppresed complete_v2_state_transition() | #15 spent 6.72 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@0x7fbff0001de0 | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00476 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00304 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) | c1 16 ab d2 01 ff 9a ef af bc f9 c6 71 ea 2c da | 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | 4b 6a 27 43 8e 0a e4 60 5c 0f 8f 57 02 8e 9b bd | 2d 0a f1 2e 54 7e 64 d9 e4 4b e2 23 68 01 dc 19 | 45 8d d4 8d b3 25 76 35 ac e3 3d ea c7 15 a5 4e | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | c1 16 ab d2 01 ff 9a ef | responder cookie: | af bc f9 c6 71 ea 2c da | 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: c1 16 ab d2 01 ff 9a ef af bc f9 c6 71 ea 2c da | data for hmac: 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | data for hmac: 4b 6a 27 43 8e 0a e4 60 5c 0f 8f 57 02 8e 9b bd | data for hmac: 2d 0a f1 2e 54 7e 64 d9 e4 4b e2 23 68 01 dc 19 | calculated auth: 45 8d d4 8d b3 25 76 35 ac e3 3d ea c7 15 a5 4e | provided auth: 45 8d d4 8d b3 25 76 35 ac e3 3d ea c7 15 a5 4e | 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: | c1 16 ab d2 01 ff 9a ef | responder cookie: | af bc f9 c6 71 ea 2c da | 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 f3 99 2e 1a | delete PROTO_v2_ESP SA(0xf3992e1a) | 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(0xf3992e1a) "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.200s and NOT sending notification | child state #16: V2_IPSEC_R(established CHILD SA) => delete | get_sa_info esp.f3992e1a@192.1.2.45 | get_sa_info esp.895e2845@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@0x7fbfe4002240 | free_event_entry: release EVENT_SA_REKEY-pe@0x5586d65f28a0 | 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='1569050783' 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='1569050783' 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=0xf3992e1a SPI_OUT=0x895e2845 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 192.0.2.0/24:0 --0->- 192.0.1.0/24:0 | netlink_shunt_eroute for proto 0, and source 192.0.2.0/24:0 dest 192.0.1.0/24:0 | priority calculation of connection "westnet-eastnet-ikev2" is 0xfe7e7 | IPsec Sa SPD priority set to 1042407 | delete esp.f3992e1a@192.1.2.45 | netlink response for Del SA esp.f3992e1a@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.895e2845@192.1.2.23 | netlink response for Del SA esp.895e2845@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 89 5e 28 45 | 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: c1 16 ab d2 01 ff 9a ef af bc f9 c6 71 ea 2c da | data being hmac: 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | data being hmac: 32 72 b2 ae 7f d3 08 97 86 62 df 11 61 62 b2 62 | data being hmac: ec 45 a4 bf 97 7b a4 cd eb 81 b5 22 2e 36 68 ba | out calculated auth: | 9a a5 9a d5 34 cc f3 6f df 55 db 82 b7 ba 21 76 | 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) | c1 16 ab d2 01 ff 9a ef af bc f9 c6 71 ea 2c da | 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | 32 72 b2 ae 7f d3 08 97 86 62 df 11 61 62 b2 62 | ec 45 a4 bf 97 7b a4 cd eb 81 b5 22 2e 36 68 ba | 9a a5 9a d5 34 cc f3 6f df 55 db 82 b7 ba 21 76 | Message ID: #15 XXX: in process_encrypted_informational_ikev2() hacking around record'n'send bypassing send queue hacking around delete_my_family(); initiator.sent=-1 initiator.recv=-1 responder.sent=1 responder.recv=1 wip.initiator=-1 wip.responder=2 | Message ID: sent #15 response 2; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=1->2 responder.recv=1 wip.initiator=-1 wip.responder=2 | #15 spent 0.706 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:3376) | #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 0.929 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.941 milliseconds in comm_handle_cb() reading and processing packet | spent 0.00194 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) | c1 16 ab d2 01 ff 9a ef af bc f9 c6 71 ea 2c da | 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | c0 9a bb 7b ae 76 d2 26 ba b1 00 fb b0 f2 57 cb | 16 13 38 98 b5 5d 03 70 e1 67 03 9d 1c 17 3b e1 | 8f b2 96 04 bd 0d 91 9d a2 8f d1 81 68 a9 7e 6d | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | c1 16 ab d2 01 ff 9a ef | responder cookie: | af bc f9 c6 71 ea 2c da | 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: c1 16 ab d2 01 ff 9a ef af bc f9 c6 71 ea 2c da | data for hmac: 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | data for hmac: c0 9a bb 7b ae 76 d2 26 ba b1 00 fb b0 f2 57 cb | data for hmac: 16 13 38 98 b5 5d 03 70 e1 67 03 9d 1c 17 3b e1 | calculated auth: 8f b2 96 04 bd 0d 91 9d a2 8f d1 81 68 a9 7e 6d | provided auth: 8f b2 96 04 bd 0d 91 9d a2 8f d1 81 68 a9 7e 6d | 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: | c1 16 ab d2 01 ff 9a ef | responder cookie: | af bc f9 c6 71 ea 2c da | 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: c1 16 ab d2 01 ff 9a ef af bc f9 c6 71 ea 2c da | data being hmac: 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | data being hmac: 6f 7b 1b 22 11 6e 0a 93 28 72 58 52 20 78 80 68 | data being hmac: b0 11 75 c6 12 0a 90 f0 d5 6e 56 06 ba cc 4d 98 | out calculated auth: | 17 01 d3 70 d6 0d 85 07 ce 1a cb d7 55 3a 15 ff | 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) | c1 16 ab d2 01 ff 9a ef af bc f9 c6 71 ea 2c da | 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | 6f 7b 1b 22 11 6e 0a 93 28 72 58 52 20 78 80 68 | b0 11 75 c6 12 0a 90 f0 d5 6e 56 06 ba cc 4d 98 | 17 01 d3 70 d6 0d 85 07 ce 1a cb d7 55 3a 15 ff | 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 9.68 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.237s 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@0x7fbff80012f0 | free_event_entry: release EVENT_SA_REKEY-pe@0x5586d65f9430 | 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: 0x5586d654b8f0 @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:3376) | #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.478 milliseconds in comm_handle_cb() reading and processing packet | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00457 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.0029 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) | 86 48 d5 a0 a9 40 ff fc 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 | fd d9 96 3b e2 72 ac 25 5a 5e 3e 54 c0 cb f0 9c | 0c 23 25 de 34 dd b4 01 39 b6 54 bd a8 51 a3 82 | 9b b6 e1 95 a4 b8 59 71 fe 8e 59 a8 8c de 7b d4 | bf e1 82 c9 07 bc 6b f8 dc 8c 63 78 64 f5 b6 e5 | 3c 7d bb f4 44 f5 77 35 1a cc 1d 8a 04 e0 a4 9c | 1f 4a 6a 32 f3 fe fe 58 14 e1 0a a3 e3 ae b7 cd | be d3 f4 f7 f6 00 2c 9c 9e eb be 3e 61 89 f5 cf | d8 39 7b d5 4f 2e d4 61 5a b7 8d 7b 69 3e 27 d7 | 62 9a f8 f1 9b 41 ba 12 7e 34 e9 08 67 5f 47 6e | ea e4 b6 a0 00 b3 0d a7 4d f0 fc ac 41 89 23 68 | 69 b7 2a 56 36 61 a6 9e ed d3 e4 eb 0a 27 52 29 | 78 1d f8 7a 6e f6 19 7d 51 76 6d 3d 93 f0 4e f3 | 29 00 00 24 37 8a b4 84 fe 4b c1 26 a4 c1 6c 3e | fc 84 3a be fb 72 fe a0 b7 4e 44 66 2c 9a 71 55 | 95 b2 0a b8 29 00 00 08 00 00 40 2e 29 00 00 1c | 00 00 40 04 f9 1b 3f 0d d6 e7 3e b4 2c 83 25 97 | 9e a2 ad 4e 10 30 c1 04 00 00 00 1c 00 00 40 05 | 46 3d 5c ba 3b 25 68 e7 d2 81 26 2b 4b a8 94 69 | d5 70 e6 ae | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 86 48 d5 a0 a9 40 ff fc | 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 0x5586d65f3f70 | 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: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 #17 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (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:2668) | 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: | 86 48 d5 a0 a9 40 ff fc | 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) | 86 48 d5 a0 a9 40 ff fc 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.169 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:3376) | #17 complete_v2_state_transition() PARENT_R0->PARENT_R1 with status STF_FATAL | release_pending_whacks: state #17 has no whack fd | pstats #17 ikev2.ike deleted other | [RE]START processing: state #17 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in delete_state() at state.c:879) "westnet-eastnet-ikev2" #17: deleting state (STATE_PARENT_R0) aged 0.000s and NOT sending notification | parent state #17: PARENT_R0(half-open IKE SA) => delete | State DB: IKEv2 state not found (flush_incomplete_children) | in connection_discard for connection westnet-eastnet-ikev2 | State DB: deleting IKEv2 state #17 in PARENT_R0 | parent state #17: PARENT_R0(half-open IKE SA) => UNDEFINED(ignore) | stop processing: state #17 from 192.1.2.45:500 (in delete_state() at state.c:1143) | processing: STOP state #0 (in ikev2_process_packet() at ikev2.c:2018) | in statetime_stop() and could not find #17 | stop processing: from 192.1.2.45:500 (in process_md() at demux.c:380) | processing: STOP state #0 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.507 milliseconds in comm_handle_cb() reading and processing packet | processing global timer EVENT_SHUNT_SCAN | expiring aged bare shunts from shunt table | spent 0.00423 milliseconds in global timer EVENT_SHUNT_SCAN | processing global timer EVENT_SHUNT_SCAN | expiring aged bare shunts from shunt table | spent 0.00331 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.0113 milliseconds in global timer EVENT_PENDING_DDNS | processing global timer EVENT_SHUNT_SCAN | expiring aged bare shunts from shunt table | spent 0.00374 milliseconds in global timer EVENT_SHUNT_SCAN | spent 0.0026 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) | 67 0f ce 28 7f 49 00 7d 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 | af 13 37 c9 e5 65 f1 fe 1f 6b bf 70 a8 9a f8 f2 | f4 43 32 e0 14 19 09 61 15 26 bd 2b 3c 03 5f cd | 7f 89 d6 16 d0 71 1b 89 4c 08 1c 1a 15 6f 81 9f | 68 eb 54 66 8e a1 ee 65 aa 34 3b 46 4d 75 a9 e8 | 9e aa 28 16 9c 86 12 e5 21 a1 32 df f0 84 10 6b | e3 65 7e d9 84 fb 8b 91 ec e3 e1 a9 33 3d e4 6b | 6d ff 68 e1 48 ce 2d 88 c1 ab ec 89 fc 56 b0 7b | 81 49 e2 18 74 15 28 69 fd 9f 30 b0 19 58 f9 0d | 95 e0 28 9c 60 51 73 31 5e c0 28 f6 87 ab 0b af | 77 62 70 3e b1 19 40 17 a5 90 38 64 b7 25 88 91 | e4 82 40 f5 1c bd 6b 4c 64 21 e9 44 1b 5f 64 5b | 25 93 9b da 77 dc cf b2 58 90 61 a8 63 44 82 6e | 29 00 00 24 e4 b7 59 60 34 eb 2d 41 9f 36 eb 39 | e0 a0 67 41 21 23 f1 75 7f 1d 2b ae 61 85 5e d2 | db 06 59 85 29 00 00 08 00 00 40 2e 29 00 00 1c | 00 00 40 04 d9 5a 9e 6d 37 29 55 c4 7f 5b e8 4e | ba 1d 8c a6 5c 3d 9d 67 00 00 00 1c 00 00 40 05 | 6d d8 fb a2 f7 b3 f9 3a 4e 77 2d ec eb 48 49 90 | aa 67 1c 14 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 67 0f ce 28 7f 49 00 7d | 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 0x5586d65f3f70 | 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: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 #18 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (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:2668) | 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: | 67 0f ce 28 7f 49 00 7d | 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) | 67 0f ce 28 7f 49 00 7d 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.259 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:3376) | #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 0.683 milliseconds in comm_handle_cb() reading and processing packet | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:721) | 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.433 milliseconds in whack | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:721) shutting down | processing: RESET whack log_fd (was fd@16) (in exit_pluto() at plutomain.c:1825) | pluto_sd: executing action action: stopping(6), status 0 | certs and keys locked by 'free_preshared_secrets' forgetting secrets | certs and keys unlocked by 'free_preshared_secrets' | unreference key: 0x5586d654f940 @east cnt 1-- | unreference key: 0x5586d654b8f0 @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 192.0.2.0/24:0 --0->- 192.0.1.0/24:0 | netlink_shunt_eroute for proto 0, and source 192.0.2.0/24:0 dest 192.0.1.0/24:0 | priority calculation of connection "westnet-eastnet-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. "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. "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@0x5586d65bd4c0 | 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@0x5586d65f0980 | free_event_entry: release EVENT_NULL-pe@0x5586d65f0940 | libevent_free: release ptr-libevent@0x5586d65f0a70 | free_event_entry: release EVENT_NULL-pe@0x5586d65f0a30 | libevent_free: release ptr-libevent@0x5586d65f0b60 | free_event_entry: release EVENT_NULL-pe@0x5586d65f0b20 | libevent_free: release ptr-libevent@0x5586d65f0c50 | free_event_entry: release EVENT_NULL-pe@0x5586d65f0c10 | libevent_free: release ptr-libevent@0x5586d65f0d40 | free_event_entry: release EVENT_NULL-pe@0x5586d65f0d00 | libevent_free: release ptr-libevent@0x5586d65f0e30 | free_event_entry: release EVENT_NULL-pe@0x5586d65f0df0 | FOR_EACH_UNORIENTED_CONNECTION_... in check_orientations | libevent_free: release ptr-libevent@0x5586d65f02a0 | free_event_entry: release EVENT_NULL-pe@0x5586d65d4190 | libevent_free: release ptr-libevent@0x5586d65e5d30 | free_event_entry: release EVENT_NULL-pe@0x5586d65d9b40 | libevent_free: release ptr-libevent@0x5586d65e5ca0 | free_event_entry: release EVENT_NULL-pe@0x5586d65d9b80 | 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@0x5586d65f0370 | signal event handler PLUTO_SIGCHLD uninstalled | libevent_free: release ptr-libevent@0x5586d65f0450 | signal event handler PLUTO_SIGTERM uninstalled | libevent_free: release ptr-libevent@0x5586d65f0510 | signal event handler PLUTO_SIGHUP uninstalled | libevent_free: release ptr-libevent@0x5586d65e50a0 | signal event handler PLUTO_SIGSYS uninstalled | releasing event base | libevent_free: release ptr-libevent@0x5586d65f05d0 | libevent_free: release ptr-libevent@0x5586d65c5c80 | libevent_free: release ptr-libevent@0x5586d65d44a0 | libevent_free: release ptr-libevent@0x5586d65d4570 | libevent_free: release ptr-libevent@0x5586d65d44c0 | libevent_free: release ptr-libevent@0x5586d65f0330 | libevent_free: release ptr-libevent@0x5586d65f0410 | libevent_free: release ptr-libevent@0x5586d65d4550 | libevent_free: release ptr-libevent@0x5586d65d8e60 | libevent_free: release ptr-libevent@0x5586d65d8e80 | libevent_free: release ptr-libevent@0x5586d65f0ec0 | libevent_free: release ptr-libevent@0x5586d65f0dd0 | libevent_free: release ptr-libevent@0x5586d65f0ce0 | libevent_free: release ptr-libevent@0x5586d65f0bf0 | libevent_free: release ptr-libevent@0x5586d65f0b00 | libevent_free: release ptr-libevent@0x5586d65f0a10 | libevent_free: release ptr-libevent@0x5586d6556370 | libevent_free: release ptr-libevent@0x5586d65f04f0 | libevent_free: release ptr-libevent@0x5586d65f0430 | libevent_free: release ptr-libevent@0x5586d65f0350 | libevent_free: release ptr-libevent@0x5586d65f05b0 | libevent_free: release ptr-libevent@0x5586d65546c0 | libevent_free: release ptr-libevent@0x5586d65d44e0 | libevent_free: release ptr-libevent@0x5586d65d4510 | libevent_free: release ptr-libevent@0x5586d65d4200 | releasing global libevent data | libevent_free: release ptr-libevent@0x5586d65d2eb0 | libevent_free: release ptr-libevent@0x5586d65d2ee0 | libevent_free: release ptr-libevent@0x5586d65d41d0