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:14956 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@0x55dc31199060 size 40 | libevent_malloc: new ptr-libevent@0x55dc3119a310 size 40 | libevent_malloc: new ptr-libevent@0x55dc3119a340 size 40 | creating event base | libevent_malloc: new ptr-libevent@0x55dc3119a2d0 size 56 | libevent_malloc: new ptr-libevent@0x55dc3119a370 size 664 | libevent_malloc: new ptr-libevent@0x55dc3119a610 size 24 | libevent_malloc: new ptr-libevent@0x55dc3118bdc0 size 384 | libevent_malloc: new ptr-libevent@0x55dc3119a630 size 16 | libevent_malloc: new ptr-libevent@0x55dc3119a650 size 40 | libevent_malloc: new ptr-libevent@0x55dc3119a680 size 48 | libevent_realloc: new ptr-libevent@0x55dc3111c370 size 256 | libevent_malloc: new ptr-libevent@0x55dc3119a6c0 size 16 | libevent_free: release ptr-libevent@0x55dc3119a2d0 | libevent initialized | libevent_realloc: new ptr-libevent@0x55dc3119a6e0 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 started thread for crypto helper 2 | 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 2 waiting (nothing to do) started thread for crypto helper 4 | starting up helper thread 4 | status value returned by setting the priority of this thread (crypto helper 4) 22 | crypto helper 4 waiting (nothing to do) started thread for crypto helper 5 | starting up helper thread 5 | status value returned by setting the priority of this thread (crypto helper 5) 22 | crypto helper 5 waiting (nothing to do) started thread for crypto helper 6 | checking IKEv1 state table | MAIN_R0: category: half-open IKE SA flags: 0: | -> MAIN_R1 EVENT_SO_DISCARD | MAIN_I1: category: half-open IKE SA flags: 0: | -> MAIN_I2 EVENT_RETRANSMIT | MAIN_R1: category: open IKE SA flags: 200: | -> MAIN_R2 EVENT_RETRANSMIT | -> UNDEFINED EVENT_RETRANSMIT | -> UNDEFINED EVENT_RETRANSMIT | MAIN_I2: category: open IKE SA flags: 0: | -> MAIN_I3 EVENT_RETRANSMIT | -> UNDEFINED EVENT_RETRANSMIT | -> UNDEFINED EVENT_RETRANSMIT | MAIN_R2: category: open IKE SA flags: 0: | -> MAIN_R3 EVENT_SA_REPLACE | -> MAIN_R3 EVENT_SA_REPLACE | -> UNDEFINED EVENT_SA_REPLACE | MAIN_I3: category: open IKE SA flags: 0: | -> MAIN_I4 EVENT_SA_REPLACE | -> MAIN_I4 EVENT_SA_REPLACE | -> UNDEFINED EVENT_SA_REPLACE | MAIN_R3: category: established IKE SA flags: 200: | -> UNDEFINED EVENT_NULL | MAIN_I4: category: established IKE SA flags: 0: | -> UNDEFINED EVENT_NULL | AGGR_R0: category: half-open IKE SA flags: 0: | -> AGGR_R1 EVENT_SO_DISCARD | AGGR_I1: category: half-open IKE SA flags: 0: | -> AGGR_I2 EVENT_SA_REPLACE | -> AGGR_I2 EVENT_SA_REPLACE | AGGR_R1: category: open IKE SA flags: 200: | -> AGGR_R2 EVENT_SA_REPLACE | -> AGGR_R2 EVENT_SA_REPLACE | AGGR_I2: category: established IKE SA flags: 200: | -> UNDEFINED EVENT_NULL | AGGR_R2: category: established IKE SA flags: 0: | -> UNDEFINED EVENT_NULL | QUICK_R0: category: established CHILD SA flags: 0: | -> QUICK_R1 EVENT_RETRANSMIT | QUICK_I1: category: established CHILD SA flags: 0: | -> QUICK_I2 EVENT_SA_REPLACE | QUICK_R1: category: established CHILD SA flags: 0: | -> QUICK_R2 EVENT_SA_REPLACE | QUICK_I2: category: established CHILD SA flags: 200: | -> UNDEFINED EVENT_NULL | QUICK_R2: category: established CHILD SA flags: 0: | -> UNDEFINED EVENT_NULL | INFO: category: informational flags: 0: | -> UNDEFINED EVENT_NULL | INFO_PROTECTED: category: informational flags: 0: | -> UNDEFINED EVENT_NULL | XAUTH_R0: category: established IKE SA flags: 0: | -> XAUTH_R1 EVENT_NULL | XAUTH_R1: category: established IKE SA flags: 0: | -> MAIN_R3 EVENT_SA_REPLACE | MODE_CFG_R0: category: informational flags: 0: | -> MODE_CFG_R1 EVENT_SA_REPLACE | MODE_CFG_R1: category: established IKE SA flags: 0: | -> MODE_CFG_R2 EVENT_SA_REPLACE | MODE_CFG_R2: category: established IKE SA flags: 0: | -> UNDEFINED EVENT_NULL | MODE_CFG_I1: category: established IKE SA flags: 0: | -> MAIN_I4 EVENT_SA_REPLACE | XAUTH_I0: category: established IKE SA flags: 0: | -> XAUTH_I1 EVENT_RETRANSMIT | XAUTH_I1: category: established IKE SA flags: 0: | -> MAIN_I4 EVENT_RETRANSMIT | checking IKEv2 state table | PARENT_I0: category: ignore flags: 0: | -> PARENT_I1 EVENT_RETRANSMIT send-request (initiate IKE_SA_INIT) | PARENT_I1: category: half-open IKE SA flags: 0: | -> PARENT_I1 EVENT_RETAIN send-request (Initiator: process SA_INIT reply notification) | -> PARENT_I2 EVENT_RETRANSMIT send-request (Initiator: process IKE_SA_INIT reply, initiate IKE_AUTH) | PARENT_I2: category: open IKE SA flags: 0: | -> PARENT_I2 EVENT_NULL (Initiator: process INVALID_SYNTAX AUTH notification) | -> PARENT_I2 EVENT_NULL (Initiator: process AUTHENTICATION_FAILED AUTH notification) | -> PARENT_I2 EVENT_NULL (Initiator: process UNSUPPORTED_CRITICAL_PAYLOAD AUTH notification) | -> V2_IPSEC_I EVENT_SA_REPLACE (Initiator: process IKE_AUTH response) | -> PARENT_I2 EVENT_NULL (IKE SA: process IKE_AUTH response containing unknown notification) | PARENT_I3: category: established IKE SA flags: 0: | -> PARENT_I3 EVENT_RETAIN (I3: Informational Request) | -> PARENT_I3 EVENT_RETAIN (I3: Informational Response) | -> PARENT_I3 EVENT_RETAIN (I3: INFORMATIONAL Request) | -> PARENT_I3 EVENT_RETAIN (I3: INFORMATIONAL Response) | PARENT_R0: category: half-open IKE SA flags: 0: | -> PARENT_R1 EVENT_SO_DISCARD send-request (Respond to IKE_SA_INIT) | PARENT_R1: category: half-open IKE SA flags: 0: | -> PARENT_R1 EVENT_SA_REPLACE send-request (Responder: process IKE_AUTH request (no SKEYSEED)) | -> V2_IPSEC_R EVENT_SA_REPLACE send-request (Responder: process IKE_AUTH request) | PARENT_R2: category: established IKE SA flags: 0: | -> PARENT_R2 EVENT_RETAIN (R2: process Informational Request) | -> PARENT_R2 EVENT_RETAIN (R2: process Informational Response) | -> PARENT_R2 EVENT_RETAIN (R2: process INFORMATIONAL Request) | -> PARENT_R2 EVENT_RETAIN (R2: process INFORMATIONAL Response) | V2_CREATE_I0: category: established IKE SA flags: 0: | -> V2_CREATE_I EVENT_RETRANSMIT send-request (Initiate CREATE_CHILD_SA IPsec SA) | V2_CREATE_I: category: established IKE SA flags: 0: | -> V2_IPSEC_I EVENT_SA_REPLACE (Process CREATE_CHILD_SA IPsec SA Response) | V2_REKEY_IKE_I0: category: established IKE SA flags: 0: | -> V2_REKEY_IKE_I EVENT_RETRANSMIT send-request (Initiate CREATE_CHILD_SA IKE Rekey) | V2_REKEY_IKE_I: category: established IKE SA flags: 0: | -> PARENT_I3 EVENT_SA_REPLACE (Process CREATE_CHILD_SA IKE Rekey Response) | V2_REKEY_CHILD_I0: category: established IKE SA flags: 0: | -> V2_REKEY_CHILD_I EVENT_RETRANSMIT send-request (Initiate CREATE_CHILD_SA IPsec Rekey SA) | V2_REKEY_CHILD_I: category: established IKE SA flags: 0: | V2_CREATE_R: category: established IKE SA flags: 0: | -> V2_IPSEC_R EVENT_SA_REPLACE send-request (Respond to CREATE_CHILD_SA IPsec SA Request) | V2_REKEY_IKE_R: category: established IKE SA flags: 0: | -> PARENT_R2 EVENT_SA_REPLACE send-request (Respond to CREATE_CHILD_SA IKE Rekey) | V2_REKEY_CHILD_R: category: established IKE SA flags: 0: | V2_IPSEC_I: category: established CHILD SA flags: 0: | V2_IPSEC_R: category: established CHILD SA flags: 0: | IKESA_DEL: category: established IKE SA flags: 0: | -> IKESA_DEL EVENT_RETAIN (IKE_SA_DEL: process INFORMATIONAL) | CHILDSA_DEL: category: informational flags: 0: Using Linux XFRM/NETKEY IPsec interface code on 5.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@0x55dc3119fcf0 | libevent_malloc: new ptr-libevent@0x55dc311abe10 size 128 | libevent_malloc: new ptr-libevent@0x55dc3119efd0 size 16 | add_fd_read_event_handler: new KERNEL_ROUTE_FD-pe@0x55dc3119fcb0 | libevent_malloc: new ptr-libevent@0x55dc311abea0 size 128 | libevent_malloc: new ptr-libevent@0x55dc3119eff0 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 | starting up helper thread 3 | starting up helper thread 0 | No additional dnssec trust anchors defined via dnssec-trusted= option | starting up helper thread 1 | Setting up events, loop start | status value returned by setting the priority of this thread (crypto helper 1) 22 | crypto helper 1 waiting (nothing to do) | add_fd_read_event_handler: new PLUTO_CTL_FD-pe@0x55dc3119a2d0 | status value returned by setting the priority of this thread (crypto helper 0) 22 | crypto helper 0 waiting (nothing to do) | libevent_malloc: new ptr-libevent@0x55dc311b6410 size 128 | libevent_malloc: new ptr-libevent@0x55dc311b64a0 size 16 | libevent_realloc: new ptr-libevent@0x55dc3111a5b0 size 256 | libevent_malloc: new ptr-libevent@0x55dc311b64c0 size 8 | libevent_realloc: new ptr-libevent@0x55dc311ab210 size 144 | libevent_malloc: new ptr-libevent@0x55dc311b64e0 size 152 | libevent_malloc: new ptr-libevent@0x55dc311b6580 size 16 | signal event handler PLUTO_SIGCHLD installed | libevent_malloc: new ptr-libevent@0x55dc311b65a0 size 8 | libevent_malloc: new ptr-libevent@0x55dc311b65c0 size 152 | signal event handler PLUTO_SIGTERM installed | libevent_malloc: new ptr-libevent@0x55dc311b6660 size 8 | libevent_malloc: new ptr-libevent@0x55dc311b6680 size 152 | signal event handler PLUTO_SIGHUP installed | libevent_malloc: new ptr-libevent@0x55dc311b6720 size 8 | libevent_realloc: release ptr-libevent@0x55dc311ab210 | libevent_realloc: new ptr-libevent@0x55dc311b6740 size 256 | libevent_malloc: new ptr-libevent@0x55dc311ab210 size 152 | signal event handler PLUTO_SIGSYS installed | created addconn helper (pid:15034) using fork+execve | forked child 15034 | 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 | status value returned by setting the priority of this thread (crypto helper 3) 22 | crypto helper 3 waiting (nothing to do) | 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@0x55dc311b6ab0 | libevent_malloc: new ptr-libevent@0x55dc311b6af0 size 128 | libevent_malloc: new ptr-libevent@0x55dc311b6b80 size 16 | setup callback for interface lo 127.0.0.1:4500 fd 22 | add_fd_read_event_handler: new ethX-pe@0x55dc311b6ba0 | libevent_malloc: new ptr-libevent@0x55dc311b6be0 size 128 | libevent_malloc: new ptr-libevent@0x55dc311b6c70 size 16 | setup callback for interface lo 127.0.0.1:500 fd 21 | add_fd_read_event_handler: new ethX-pe@0x55dc311b6c90 | libevent_malloc: new ptr-libevent@0x55dc311b6cd0 size 128 | libevent_malloc: new ptr-libevent@0x55dc311b6d60 size 16 | setup callback for interface eth0 192.0.2.254:4500 fd 20 | add_fd_read_event_handler: new ethX-pe@0x55dc311b6d80 | libevent_malloc: new ptr-libevent@0x55dc311b6dc0 size 128 | libevent_malloc: new ptr-libevent@0x55dc311b6e50 size 16 | setup callback for interface eth0 192.0.2.254:500 fd 19 | add_fd_read_event_handler: new ethX-pe@0x55dc311b6e70 | libevent_malloc: new ptr-libevent@0x55dc311b6eb0 size 128 | libevent_malloc: new ptr-libevent@0x55dc311b6f40 size 16 | setup callback for interface eth1 192.1.2.23:4500 fd 18 | add_fd_read_event_handler: new ethX-pe@0x55dc311b6f60 | libevent_malloc: new ptr-libevent@0x55dc311b6fa0 size 128 | libevent_malloc: new ptr-libevent@0x55dc311b7030 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.921 milliseconds in whack | starting up helper thread 6 | status value returned by setting the priority of this thread (crypto helper 6) 22 | crypto helper 6 waiting (nothing to do) | 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@0x55dc311b6af0 | free_event_entry: release EVENT_NULL-pe@0x55dc311b6ab0 | add_fd_read_event_handler: new ethX-pe@0x55dc311b6ab0 | libevent_malloc: new ptr-libevent@0x55dc311b6af0 size 128 | setup callback for interface lo 127.0.0.1:4500 fd 22 | libevent_free: release ptr-libevent@0x55dc311b6be0 | free_event_entry: release EVENT_NULL-pe@0x55dc311b6ba0 | add_fd_read_event_handler: new ethX-pe@0x55dc311b6ba0 | libevent_malloc: new ptr-libevent@0x55dc311b6be0 size 128 | setup callback for interface lo 127.0.0.1:500 fd 21 | libevent_free: release ptr-libevent@0x55dc311b6cd0 | free_event_entry: release EVENT_NULL-pe@0x55dc311b6c90 | add_fd_read_event_handler: new ethX-pe@0x55dc311b6c90 | libevent_malloc: new ptr-libevent@0x55dc311b6cd0 size 128 | setup callback for interface eth0 192.0.2.254:4500 fd 20 | libevent_free: release ptr-libevent@0x55dc311b6dc0 | free_event_entry: release EVENT_NULL-pe@0x55dc311b6d80 | add_fd_read_event_handler: new ethX-pe@0x55dc311b6d80 | libevent_malloc: new ptr-libevent@0x55dc311b6dc0 size 128 | setup callback for interface eth0 192.0.2.254:500 fd 19 | libevent_free: release ptr-libevent@0x55dc311b6eb0 | free_event_entry: release EVENT_NULL-pe@0x55dc311b6e70 | add_fd_read_event_handler: new ethX-pe@0x55dc311b6e70 | libevent_malloc: new ptr-libevent@0x55dc311b6eb0 size 128 | setup callback for interface eth1 192.1.2.23:4500 fd 18 | libevent_free: release ptr-libevent@0x55dc311b6fa0 | free_event_entry: release EVENT_NULL-pe@0x55dc311b6f60 | add_fd_read_event_handler: new ethX-pe@0x55dc311b6f60 | libevent_malloc: new ptr-libevent@0x55dc311b6fa0 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.307 milliseconds in whack | processing signal PLUTO_SIGCHLD | waitpid returned pid 15034 (exited with status 0) | reaped addconn helper child (status 0) | waitpid returned ECHILD (no child processes left) | spent 0.0113 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@0x55dc31183420 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.233 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.133 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.144 milliseconds in whack | spent 0.00257 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) | 78 71 6f 81 0a b2 90 ef 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 | 29 10 a6 63 a0 c9 83 2a bd d7 8a 39 77 05 d5 56 | e0 4f 67 23 b6 c0 0b 4b f1 94 c2 b2 2d 1a 04 09 | 0e 79 93 79 9c 66 c5 38 10 a3 a0 fa c2 41 cb ce | 5d 83 bf b9 30 46 82 02 2b e7 db 33 53 4e e9 1f | 89 1e 0c 8c d2 17 d1 0c 87 1c 38 d4 a7 06 38 92 | d7 ee 1c 83 16 c1 94 e9 31 0f 1e d8 b1 7a ff 95 | a1 b2 52 14 5f 97 24 02 19 f3 fe a8 62 47 82 fc | 01 ca 13 9a 7f 31 51 f9 55 ca 75 1b cf 01 da 1d | d9 15 0d 09 fb dc d7 33 b9 bd ea ae 45 fd c2 55 | d0 ce 66 d2 58 b2 4d fd 56 1c a2 f0 79 60 49 8c | 34 71 cc a8 21 a5 f4 c3 54 d7 60 10 28 a8 be ad | 50 b2 1c e2 11 d5 bf c4 c8 c7 c9 7f 09 89 b1 15 | 30 87 64 98 a8 71 6c ee 69 16 38 e0 a6 a6 2b d0 | f4 a6 73 27 0a 7f be ea 8b 98 99 b1 66 80 1d ed | d9 e3 eb 89 cc 9c b9 1d cd 7e c6 85 3e 59 73 84 | d7 f8 f3 07 8d 08 b8 6c 07 94 9d a7 a6 0e 0d bd | 29 00 00 24 15 92 fe 2c a7 99 84 a5 22 19 b2 bb | 27 47 86 37 6d 2d 76 ec 0d 8a 37 2d bd 8b 9d 90 | 72 6b 0e c7 29 00 00 08 00 00 40 2e 29 00 00 1c | 00 00 40 04 2e b6 d9 a2 e8 a7 46 48 2d 32 e2 d4 | 29 eb 4d e5 eb da f2 25 00 00 00 1c 00 00 40 05 | a2 d4 bd 29 8e 97 17 77 86 4a 34 f7 ac 5c 9b 5e | b2 7e aa 7d | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 78 71 6f 81 0a b2 90 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: 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 0x55dc311ba0e0 | 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=0x55dc304957a0(20) | natd_hash: icookie= 78 71 6f 81 0a b2 90 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= a2 d4 bd 29 8e 97 17 77 86 4a 34 f7 ac 5c 9b 5e | natd_hash: hash= b2 7e aa 7d | natd_hash: rcookie is zero | natd_hash: hasher=0x55dc304957a0(20) | natd_hash: icookie= 78 71 6f 81 0a b2 90 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= 2e b6 d9 a2 e8 a7 46 48 2d 32 e2 d4 29 eb 4d e5 | natd_hash: hash= eb da f2 25 | 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@0x55dc311b8a50 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #1 | libevent_malloc: new ptr-libevent@0x55dc311bce00 size 128 | #1 spent 0.333 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 | 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.67 milliseconds in ikev2_process_packet() | stop processing: from 192.1.2.45:500 (in process_md() at demux.c:380) | processing: STOP state #0 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | crypto helper 2 resuming | spent 0.701 milliseconds in comm_handle_cb() reading and processing packet | crypto helper 2 starting work-order 1 for state #1 | crypto helper 2 doing build KE and nonce (ikev2_inI1outR1 KE); request ID 1 | crypto helper 2 finished build KE and nonce (ikev2_inI1outR1 KE); request ID 1 time elapsed 0.000591 seconds | (#1) spent 0.595 milliseconds in crypto helper computing work-order 1: ikev2_inI1outR1 KE (pcr) | crypto helper 2 sending results from work-order 1 for state #1 to event queue | scheduling resume sending helper answer for #1 | libevent_malloc: new ptr-libevent@0x7fac74006900 size 128 | crypto helper 2 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 2 replies to request ID 1 | calling continuation function 0x55dc303bf630 | ikev2_parent_inI1outR1_continue for #1: calculated ke+nonce, sending R1 | **emit ISAKMP Message: | initiator cookie: | 78 71 6f 81 0a b2 90 ef | responder cookie: | c9 34 9c 42 4f d7 17 fb | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_IKE_SA_INIT (0x22) | flags: ISAKMP_FLAG_v2_MSG_RESPONSE (0x20) | Message ID: 0 (0x0) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | Emitting ikev2_proposal ... | ***emit IKEv2 Security Association Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'ISAKMP Message'.'next payload type' to current IKEv2 Security Association Payload (33:ISAKMP_NEXT_v2SA) | next payload chain: saving location 'IKEv2 Security Association Payload'.'next payload type' in 'reply packet' | ****emit IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | prop #: 1 (0x1) | proto ID: IKEv2_SEC_PROTO_IKE (0x1) | spi size: 0 (0x0) | # transforms: 4 (0x4) | last substructure: saving location 'IKEv2 Security Association Payload'.'IKEv2 Proposal Substructure Payload'.'last proposal' | *****emit IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | IKEv2 transform type: TRANS_TYPE_ENCR (0x1) | IKEv2 transform ID: AES_CBC (0xc) | last substructure: saving location 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' | ******emit IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 256 (0x100) | emitting length of IKEv2 Transform Substructure Payload: 12 | *****emit IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | IKEv2 transform type: TRANS_TYPE_PRF (0x2) | IKEv2 transform ID: PRF_HMAC_SHA2_256 (0x5) | last substructure: checking 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' is v2_TRANSFORM_NON_LAST (0x3) | last substructure: saving location 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' | emitting length of IKEv2 Transform Substructure Payload: 8 | *****emit IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | IKEv2 transform type: TRANS_TYPE_INTEG (0x3) | IKEv2 transform ID: AUTH_HMAC_SHA2_256_128 (0xc) | last substructure: checking 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' is v2_TRANSFORM_NON_LAST (0x3) | last substructure: saving location 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' | emitting length of IKEv2 Transform Substructure Payload: 8 | *****emit IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_LAST (0x0) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_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 54 e5 f2 df 7f b9 f2 3e 8b 97 be 58 8f 5d 99 12 | ikev2 g^x 63 54 d0 be ab 33 14 a2 0c 73 d9 ac bc 42 60 6b | ikev2 g^x 17 75 89 ad 3b a4 db 07 a8 0f 4e e6 db e0 6b 7d | ikev2 g^x 6e e0 29 62 cb 83 bc 64 f4 3b 17 9c 89 bd ed 3c | ikev2 g^x 2e 36 4d 02 1a 85 2e d4 02 0e 63 c3 fc 9e e9 02 | ikev2 g^x 8c 5a f1 f5 6e c9 c5 84 7d 7f c0 14 b5 ff 6b 73 | ikev2 g^x f9 43 88 84 07 96 6e 4f ed 71 71 be 20 a6 ed 51 | ikev2 g^x 9e b1 23 04 84 c9 87 18 d1 31 6d 2f 9a cf 54 10 | ikev2 g^x 76 56 07 d9 bd f7 26 b8 e1 40 11 10 79 b8 b2 e6 | ikev2 g^x 17 45 d6 71 d1 4a 8c 04 4c 0f 2f c7 1e d9 b0 53 | ikev2 g^x 78 9a f5 77 eb e3 a0 a7 9f 7d fd 33 dd a8 82 3e | ikev2 g^x ca 20 22 84 c8 76 e5 10 ac 3c 37 4e 79 56 46 d8 | ikev2 g^x 14 e9 5b cf 29 5b 5e cf 38 a8 b9 97 6b 7a 7c 8e | ikev2 g^x ad 12 27 98 b8 e3 34 3e 35 26 1c 9f 41 78 84 eb | ikev2 g^x ad 87 04 90 e3 5d a9 ef 19 97 c7 6b 40 49 bd 90 | ikev2 g^x 2b 13 2f 91 3e 79 ee 42 a8 ca f2 e7 63 93 ee bf | 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 e1 8f 8e 31 fa 46 ab e3 55 02 fd 3b 8a d0 77 f5 | IKEv2 nonce d1 4e 9f d3 14 66 89 69 40 c5 81 dc 92 2c 59 25 | 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=0x55dc304957a0(20) | natd_hash: icookie= 78 71 6f 81 0a b2 90 ef | natd_hash: rcookie= c9 34 9c 42 4f d7 17 fb | natd_hash: ip= c0 01 02 17 | natd_hash: port= 01 f4 | natd_hash: hash= db 3e 6d 73 4b 82 cb f9 56 6a 8a 7a 86 5d b6 5c | natd_hash: hash= 9b ec c9 bf | Adding a v2N Payload | ***emit IKEv2 Notify Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | Notify Message Type: v2N_NAT_DETECTION_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 db 3e 6d 73 4b 82 cb f9 56 6a 8a 7a 86 5d b6 5c | Notify data 9b ec c9 bf | emitting length of IKEv2 Notify Payload: 28 | natd_hash: hasher=0x55dc304957a0(20) | natd_hash: icookie= 78 71 6f 81 0a b2 90 ef | natd_hash: rcookie= c9 34 9c 42 4f d7 17 fb | natd_hash: ip= c0 01 02 2d | natd_hash: port= 01 f4 | natd_hash: hash= 28 a4 a8 f4 49 73 ef d5 99 51 ed d9 23 2b 45 0c | natd_hash: hash= df 87 09 0a | 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 28 a4 a8 f4 49 73 ef d5 99 51 ed d9 23 2b 45 0c | Notify data df 87 09 0a | 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) | 78 71 6f 81 0a b2 90 ef c9 34 9c 42 4f d7 17 fb | 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 54 e5 f2 df 7f b9 f2 3e 8b 97 be 58 | 8f 5d 99 12 63 54 d0 be ab 33 14 a2 0c 73 d9 ac | bc 42 60 6b 17 75 89 ad 3b a4 db 07 a8 0f 4e e6 | db e0 6b 7d 6e e0 29 62 cb 83 bc 64 f4 3b 17 9c | 89 bd ed 3c 2e 36 4d 02 1a 85 2e d4 02 0e 63 c3 | fc 9e e9 02 8c 5a f1 f5 6e c9 c5 84 7d 7f c0 14 | b5 ff 6b 73 f9 43 88 84 07 96 6e 4f ed 71 71 be | 20 a6 ed 51 9e b1 23 04 84 c9 87 18 d1 31 6d 2f | 9a cf 54 10 76 56 07 d9 bd f7 26 b8 e1 40 11 10 | 79 b8 b2 e6 17 45 d6 71 d1 4a 8c 04 4c 0f 2f c7 | 1e d9 b0 53 78 9a f5 77 eb e3 a0 a7 9f 7d fd 33 | dd a8 82 3e ca 20 22 84 c8 76 e5 10 ac 3c 37 4e | 79 56 46 d8 14 e9 5b cf 29 5b 5e cf 38 a8 b9 97 | 6b 7a 7c 8e ad 12 27 98 b8 e3 34 3e 35 26 1c 9f | 41 78 84 eb ad 87 04 90 e3 5d a9 ef 19 97 c7 6b | 40 49 bd 90 2b 13 2f 91 3e 79 ee 42 a8 ca f2 e7 | 63 93 ee bf 29 00 00 24 e1 8f 8e 31 fa 46 ab e3 | 55 02 fd 3b 8a d0 77 f5 d1 4e 9f d3 14 66 89 69 | 40 c5 81 dc 92 2c 59 25 29 00 00 08 00 00 40 2e | 29 00 00 1c 00 00 40 04 db 3e 6d 73 4b 82 cb f9 | 56 6a 8a 7a 86 5d b6 5c 9b ec c9 bf 00 00 00 1c | 00 00 40 05 28 a4 a8 f4 49 73 ef d5 99 51 ed d9 | 23 2b 45 0c df 87 09 0a | state #1 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x55dc311bce00 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x55dc311b8a50 | event_schedule: new EVENT_SO_DISCARD-pe@0x55dc311b8a50 | inserting event EVENT_SO_DISCARD, timeout in 200 seconds for #1 | libevent_malloc: new ptr-libevent@0x55dc311bce00 size 128 | resume sending helper answer for #1 suppresed complete_v2_state_transition() | #1 spent 0.465 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@0x7fac74006900 | spent 0.00274 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) | 78 71 6f 81 0a b2 90 ef c9 34 9c 42 4f d7 17 fb | 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | bb 0e 66 1e 1e ff 1d 78 c5 fe 57 8a 67 c9 5d 89 | 2a 8a e2 cd 57 4f 32 82 92 87 40 86 6c 49 59 ee | b6 6d d8 2c c8 ba 66 e0 ee 00 c7 bb 13 98 a8 0d | c8 bc 90 d0 22 40 34 d6 83 29 11 16 2f 68 b4 2f | e3 c4 a9 43 cb a3 d2 ce 92 ea ef ab 20 f5 8e 0c | 87 a6 13 5b eb 07 2a 7e a5 61 d5 f2 2c a2 6b 4e | 13 33 ab 8c 49 d6 15 e1 c8 63 ad 51 82 4e b1 1b | 73 48 c4 b9 e1 5c 1e a6 8e 09 5b 49 82 36 b9 57 | e5 84 5f 60 63 87 cc 13 ca 39 58 5a 6d 50 f5 33 | 52 cc 4e 06 a4 01 88 8c de d4 e2 4a f7 e5 22 23 | 1f 36 a4 95 87 86 e1 cc 8d 16 d5 1e 80 6a 1b 1c | 0f 79 be 96 f1 3e 0f 13 19 2d 16 15 ef 02 a9 83 | 8c 22 56 8b 6d 8c 75 da 66 52 55 39 21 2f c2 c8 | 79 33 74 dd ac 46 0e 17 22 36 f7 bb 18 48 ee 03 | 40 d4 05 7d 54 c4 c1 e2 17 c0 db f1 54 11 a4 cb | bf 18 41 9f 11 90 7f d5 5c 18 e3 e2 18 91 6d 94 | 64 b4 d3 bc 15 9d 73 06 80 92 96 ef f3 25 08 bc | 6d 1d 8e 05 d9 73 b7 4f 19 ce be 50 4a b4 bf 9b | b9 fe 29 02 d2 a0 f3 1a 9c 26 1f 4b a1 d6 ae ff | ed ed 85 0f a6 b4 27 74 9b 2c 40 b8 2c 28 93 05 | 2c 2a d2 9b c8 2f c4 34 08 cb d4 cf 01 77 4c 30 | e7 49 55 51 df e5 68 bf bf b8 a6 b8 a6 35 50 57 | 64 e5 58 33 c4 66 9c bf 9b 8d 6e 09 33 e3 60 3f | ec f2 40 75 d3 58 28 c0 54 7e 38 43 de 6b ec 27 | 2d 92 3f 4b 7b f3 01 97 1e 93 fd 4e 35 15 32 5c | 35 75 b6 5c fb 28 39 52 be 92 eb 85 07 e0 94 89 | 3c d0 92 ce ea c9 b8 af 4f f7 14 44 c9 5e f8 34 | 7c 0f 4c 91 47 8a ab dd 2e 9c 8d b7 05 14 da 05 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 78 71 6f 81 0a b2 90 ef | responder cookie: | c9 34 9c 42 4f d7 17 fb | next payload type: ISAKMP_NEXT_v2SK (0x2e) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_IKE_AUTH (0x23) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 1 (0x1) | length: 480 (0x1e0) | processing version=2.0 packet with exchange type=ISAKMP_v2_IKE_AUTH (35) | I am the IKE SA Original Responder receiving an IKEv2 IKE_AUTH request | State DB: found IKEv2 state #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@0x55dc311bce00 | free_event_entry: release EVENT_SO_DISCARD-pe@0x55dc311b8a50 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x55dc311b8a50 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #1 | libevent_malloc: new ptr-libevent@0x55dc311bce00 size 128 | #1 spent 0.0295 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 | 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.225 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) | crypto helper 4 resuming | crypto helper 4 starting work-order 2 for state #1 | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.248 milliseconds in comm_handle_cb() reading and processing packet | crypto helper 4 doing compute dh (V2) (ikev2_inI2outR2 KE); request ID 2 | calculating skeyseed using prf=sha2_256 integ=sha2_256 cipherkey-size=32 salt-size=0 | crypto helper 4 finished compute dh (V2) (ikev2_inI2outR2 KE); request ID 2 time elapsed 0.000875 seconds | (#1) spent 0.875 milliseconds in crypto helper computing work-order 2: ikev2_inI2outR2 KE (pcr) | crypto helper 4 sending results from work-order 2 for state #1 to event queue | scheduling resume sending helper answer for #1 | libevent_malloc: new ptr-libevent@0x7fac6c003060 size 128 | crypto helper 4 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 4 replies to request ID 2 | calling continuation function 0x55dc303bf630 | ikev2_parent_inI2outR2_continue for #1: calculating g^{xy}, sending R2 | #1 in state PARENT_R1: received v2I1, sent v2R1 | data for hmac: 78 71 6f 81 0a b2 90 ef c9 34 9c 42 4f d7 17 fb | data for hmac: 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | data for hmac: bb 0e 66 1e 1e ff 1d 78 c5 fe 57 8a 67 c9 5d 89 | data for hmac: 2a 8a e2 cd 57 4f 32 82 92 87 40 86 6c 49 59 ee | data for hmac: b6 6d d8 2c c8 ba 66 e0 ee 00 c7 bb 13 98 a8 0d | data for hmac: c8 bc 90 d0 22 40 34 d6 83 29 11 16 2f 68 b4 2f | data for hmac: e3 c4 a9 43 cb a3 d2 ce 92 ea ef ab 20 f5 8e 0c | data for hmac: 87 a6 13 5b eb 07 2a 7e a5 61 d5 f2 2c a2 6b 4e | data for hmac: 13 33 ab 8c 49 d6 15 e1 c8 63 ad 51 82 4e b1 1b | data for hmac: 73 48 c4 b9 e1 5c 1e a6 8e 09 5b 49 82 36 b9 57 | data for hmac: e5 84 5f 60 63 87 cc 13 ca 39 58 5a 6d 50 f5 33 | data for hmac: 52 cc 4e 06 a4 01 88 8c de d4 e2 4a f7 e5 22 23 | data for hmac: 1f 36 a4 95 87 86 e1 cc 8d 16 d5 1e 80 6a 1b 1c | data for hmac: 0f 79 be 96 f1 3e 0f 13 19 2d 16 15 ef 02 a9 83 | data for hmac: 8c 22 56 8b 6d 8c 75 da 66 52 55 39 21 2f c2 c8 | data for hmac: 79 33 74 dd ac 46 0e 17 22 36 f7 bb 18 48 ee 03 | data for hmac: 40 d4 05 7d 54 c4 c1 e2 17 c0 db f1 54 11 a4 cb | data for hmac: bf 18 41 9f 11 90 7f d5 5c 18 e3 e2 18 91 6d 94 | data for hmac: 64 b4 d3 bc 15 9d 73 06 80 92 96 ef f3 25 08 bc | data for hmac: 6d 1d 8e 05 d9 73 b7 4f 19 ce be 50 4a b4 bf 9b | data for hmac: b9 fe 29 02 d2 a0 f3 1a 9c 26 1f 4b a1 d6 ae ff | data for hmac: ed ed 85 0f a6 b4 27 74 9b 2c 40 b8 2c 28 93 05 | data for hmac: 2c 2a d2 9b c8 2f c4 34 08 cb d4 cf 01 77 4c 30 | data for hmac: e7 49 55 51 df e5 68 bf bf b8 a6 b8 a6 35 50 57 | data for hmac: 64 e5 58 33 c4 66 9c bf 9b 8d 6e 09 33 e3 60 3f | data for hmac: ec f2 40 75 d3 58 28 c0 54 7e 38 43 de 6b ec 27 | data for hmac: 2d 92 3f 4b 7b f3 01 97 1e 93 fd 4e 35 15 32 5c | data for hmac: 35 75 b6 5c fb 28 39 52 be 92 eb 85 07 e0 94 89 | data for hmac: 3c d0 92 ce ea c9 b8 af 4f f7 14 44 c9 5e f8 34 | calculated auth: 7c 0f 4c 91 47 8a ab dd 2e 9c 8d b7 05 14 da 05 | provided auth: 7c 0f 4c 91 47 8a ab dd 2e 9c 8d b7 05 14 da 05 | 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=0x55dc311abff0 (line=1) | concluding with best_match=002 best=0x55dc311abff0 (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.0414 milliseconds in try_all_keys() trying a pubkey "westnet-eastnet-ikev2" #1: Authenticated using RSA | #1 spent 0.058 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@0x55dc311bce00 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x55dc311b8a50 | event_schedule: new EVENT_SA_REKEY-pe@0x55dc311b8a50 | inserting event EVENT_SA_REKEY, timeout in 3330 seconds for #1 | libevent_malloc: new ptr-libevent@0x55dc311bce00 size 128 | pstats #1 ikev2.ike established | **emit ISAKMP Message: | initiator cookie: | 78 71 6f 81 0a b2 90 ef | responder cookie: | c9 34 9c 42 4f d7 17 fb | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_IKE_AUTH (0x23) | flags: ISAKMP_FLAG_v2_MSG_RESPONSE (0x20) | Message ID: 1 (0x1) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | IKEv2 CERT: send a certificate? | IKEv2 CERT: no certificate to send | ***emit IKEv2 Encryption Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'ISAKMP Message'.'next payload type' to current IKEv2 Encryption Payload (46:ISAKMP_NEXT_v2SK) | next payload chain: saving location 'IKEv2 Encryption Payload'.'next payload type' in 'reply packet' | emitting 16 zero bytes of IV into IKEv2 Encryption Payload | Initiator child policy is compress=no, NOT sending v2N_IPCOMP_SUPPORTED | ****emit IKEv2 Identification - Responder - Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | ID type: ID_FQDN (0x2) | next payload chain: setting previous 'IKEv2 Encryption Payload'.'next payload type' to current IKEv2 Identification - Responder - Payload (36:ISAKMP_NEXT_v2IDr) | next payload chain: saving location 'IKEv2 Identification - Responder - Payload'.'next payload type' in 'reply packet' | emitting 4 raw bytes of my identity into IKEv2 Identification - Responder - Payload | my identity 65 61 73 74 | emitting length of IKEv2 Identification - Responder - Payload: 12 | assembled IDr payload | CHILD SA proposals received | going to assemble AUTH payload | ****emit IKEv2 Authentication Payload: | next payload type: ISAKMP_NEXT_v2SA (0x21) | flags: none (0x0) | auth method: IKEv2_AUTH_RSA (0x1) | next payload chain: ignoring supplied 'IKEv2 Authentication Payload'.'next payload type' value 33:ISAKMP_NEXT_v2SA | next payload chain: setting previous 'IKEv2 Identification - Responder - Payload'.'next payload type' to current IKEv2 Authentication Payload (39:ISAKMP_NEXT_v2AUTH) | next payload chain: saving location 'IKEv2 Authentication Payload'.'next payload type' in 'reply packet' | started looking for secret for @east->@west of kind PKK_RSA | actually looking for secret for @east->@west of kind PKK_RSA | line 1: key type PKK_RSA(@east) to type PKK_RSA | 1: compared key (none) to @east / @west -> 002 | 2: compared key (none) to @east / @west -> 002 | line 1: match=002 | match 002 beats previous best_match 000 match=0x55dc311abff0 (line=1) | concluding with best_match=002 best=0x55dc311abff0 (lineno=1) | #1 spent 2.88 milliseconds in ikev2_calculate_rsa_hash() calling sign_hash_RSA() | emitting 274 raw bytes of rsa signature into IKEv2 Authentication Payload | rsa signature 11 4c 41 99 1b 29 0c 67 07 f8 f3 d8 0b db 90 46 | rsa signature 85 04 01 97 07 69 2f 63 92 8c 9d 24 c5 a9 8a 48 | rsa signature 57 4f c6 b4 20 a4 8d 1f a1 29 b5 3d 4c f3 c8 72 | rsa signature 89 2c f5 b8 6e 9d 80 22 6c 44 e2 83 68 ed 8e 0a | rsa signature c0 cc 06 00 bc 47 53 76 0b 89 2a 24 a1 d1 fa 8f | rsa signature 05 81 c3 c6 3f 17 cb b6 1c 74 e3 be c9 93 cf b2 | rsa signature 8a 20 55 3f 0a 7f b7 df 57 dc f6 e5 e0 01 c7 f1 | rsa signature ba 49 d9 c9 82 1d 2b e3 40 21 fa 3a 89 0d 52 4d | rsa signature 0a 88 42 56 bf 11 d7 1f 8f 97 06 42 2b 56 80 e7 | rsa signature dc b2 08 6e ff e0 a0 33 0f 2c 56 fb c8 69 82 c9 | rsa signature 4e 2f 9c 24 92 ef a5 66 49 69 3f 65 ee b9 3c e8 | rsa signature a8 f9 1c 83 2e 75 e7 7c 68 c9 ce 95 c1 9a 70 9d | rsa signature e8 f7 67 05 b4 70 22 d8 57 9c d3 d1 1c d6 bb 39 | rsa signature 0f 99 75 26 36 d3 16 63 cf 57 47 e6 a2 91 ac a0 | rsa signature 0a 3a e5 0a aa d6 63 4a 46 f6 da 3a 6a c4 34 2d | rsa signature ea 7d d0 13 5f be 71 12 bf 10 96 17 c7 45 f5 b6 | rsa signature 61 f7 4b 28 c1 d2 b3 74 f0 b1 84 a0 a9 b5 ba 0f | rsa signature f4 87 | #1 spent 2.93 milliseconds in ikev2_calculate_rsa_hash() | emitting length of IKEv2 Authentication Payload: 282 | creating state object #2 at 0x55dc311c3ca0 | 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 ce 29 de de | 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=ce29dede;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=ce29dede;ENCR=AES_CBC_256;INTEG=HMAC_SHA2_256_128;ESN=DISABLED | converting proposal to internal trans attrs | netlink_get_spi: allocated 0x36f73955 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 36 f7 39 55 | ******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.ce29dede@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.36f73955@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=0xce | 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=0xce29dede SPI_OUT=0x36f73955 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=0xce29dede SPI_OUT=0x36f73955 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=0xce29dede SPI_OUT=0x36f73955 ipsec _updown 2: | cmd(1040):>&1: | route_and_eroute: instance "westnet-eastnet-ikev2", setting eroute_owner {spd=0x55dc311b7980,sr=0x55dc311b7980} to #2 (was #0) (newest_ipsec_sa=#0) | #1 spent 0.894 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: 78 71 6f 81 0a b2 90 ef c9 34 9c 42 4f d7 17 fb | data being hmac: 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | data being hmac: ed a9 3f 4a 6c b3 44 76 f7 e5 6f 95 ab e7 56 9a | data being hmac: 76 78 32 de d4 53 fc e6 09 ed c2 00 dc f4 d8 6d | data being hmac: 48 f0 98 2a b7 84 78 03 6d 35 cc 0a 4e 32 f5 42 | data being hmac: d7 c0 81 89 12 91 89 15 0a ff 32 96 45 74 b5 49 | data being hmac: a2 be a3 4d 13 14 c7 0f 49 17 53 1d 0a 46 8d 5d | data being hmac: 83 d9 cf 51 8b 1b ca 72 f7 c7 3b f3 47 7c df f9 | data being hmac: dd 94 b2 3b 2b c2 7e e3 2c aa cb 72 70 f1 ac 7e | data being hmac: e9 c1 ea c8 3f 29 97 92 6a 6a d4 9e 86 66 fa 66 | data being hmac: 88 45 92 f7 e9 43 24 02 97 fd 64 b9 b9 73 f1 54 | data being hmac: a3 8c 31 21 39 83 bd 89 53 d5 68 5f e0 46 0a 73 | data being hmac: e4 c0 59 25 91 f2 47 41 cd 78 72 ee 5d a1 21 84 | data being hmac: 09 c1 f9 d6 27 83 07 6f 2b a9 24 bf 7b 50 43 26 | data being hmac: 12 12 d0 b4 a1 20 31 5c 0b be e7 ba 98 fe 34 c7 | data being hmac: 4f 6a ac bc 20 f5 0d 47 6a ef b5 ca f7 9c cf 9f | data being hmac: 64 08 20 4a 9c 97 2f c4 a7 0c 46 b2 f8 91 e4 9c | data being hmac: 2c f3 e4 28 27 64 16 44 fa 51 2c e0 52 62 3c 5a | data being hmac: 8a d2 a3 4d c5 f8 50 7f 14 fb 0e bd 1d 8e f9 1c | data being hmac: 80 0b 4b a5 9b 75 a4 df 3c 68 c7 08 07 ae 37 06 | data being hmac: 7b 8b 3f f2 a1 77 db 88 cd f9 32 00 38 9b 08 fc | data being hmac: 33 de 96 c3 61 51 68 dc a5 49 17 6f 75 65 ae 99 | data being hmac: 55 98 c3 3f b7 71 af ec fd 0b 68 9e f8 86 a8 70 | data being hmac: 3b 36 67 4a fe 07 da ae 4a 0b 4d 0b ac 76 05 c8 | data being hmac: 2d b9 99 c3 a5 4e ea c7 e0 bc dc 2c 2d ad d2 76 | data being hmac: 06 51 43 a7 f1 f7 99 d8 cf 56 be 28 7f b9 5c 79 | data being hmac: 64 fa 03 6b 38 37 2b b3 62 df ba cb 85 c4 b0 38 | data being hmac: 19 b8 4e d5 d4 0f 24 b4 3c 0b ad fd 86 00 ae 44 | out calculated auth: | 7c 7d 40 8f f3 10 ae a1 6b 19 dd f4 7e 17 88 09 | ikev2_parent_inI2outR2_continue_tail returned STF_OK | #1 spent 4.78 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=>0xce29dede <0x36f73955 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) | 78 71 6f 81 0a b2 90 ef c9 34 9c 42 4f d7 17 fb | 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | ed a9 3f 4a 6c b3 44 76 f7 e5 6f 95 ab e7 56 9a | 76 78 32 de d4 53 fc e6 09 ed c2 00 dc f4 d8 6d | 48 f0 98 2a b7 84 78 03 6d 35 cc 0a 4e 32 f5 42 | d7 c0 81 89 12 91 89 15 0a ff 32 96 45 74 b5 49 | a2 be a3 4d 13 14 c7 0f 49 17 53 1d 0a 46 8d 5d | 83 d9 cf 51 8b 1b ca 72 f7 c7 3b f3 47 7c df f9 | dd 94 b2 3b 2b c2 7e e3 2c aa cb 72 70 f1 ac 7e | e9 c1 ea c8 3f 29 97 92 6a 6a d4 9e 86 66 fa 66 | 88 45 92 f7 e9 43 24 02 97 fd 64 b9 b9 73 f1 54 | a3 8c 31 21 39 83 bd 89 53 d5 68 5f e0 46 0a 73 | e4 c0 59 25 91 f2 47 41 cd 78 72 ee 5d a1 21 84 | 09 c1 f9 d6 27 83 07 6f 2b a9 24 bf 7b 50 43 26 | 12 12 d0 b4 a1 20 31 5c 0b be e7 ba 98 fe 34 c7 | 4f 6a ac bc 20 f5 0d 47 6a ef b5 ca f7 9c cf 9f | 64 08 20 4a 9c 97 2f c4 a7 0c 46 b2 f8 91 e4 9c | 2c f3 e4 28 27 64 16 44 fa 51 2c e0 52 62 3c 5a | 8a d2 a3 4d c5 f8 50 7f 14 fb 0e bd 1d 8e f9 1c | 80 0b 4b a5 9b 75 a4 df 3c 68 c7 08 07 ae 37 06 | 7b 8b 3f f2 a1 77 db 88 cd f9 32 00 38 9b 08 fc | 33 de 96 c3 61 51 68 dc a5 49 17 6f 75 65 ae 99 | 55 98 c3 3f b7 71 af ec fd 0b 68 9e f8 86 a8 70 | 3b 36 67 4a fe 07 da ae 4a 0b 4d 0b ac 76 05 c8 | 2d b9 99 c3 a5 4e ea c7 e0 bc dc 2c 2d ad d2 76 | 06 51 43 a7 f1 f7 99 d8 cf 56 be 28 7f b9 5c 79 | 64 fa 03 6b 38 37 2b b3 62 df ba cb 85 c4 b0 38 | 19 b8 4e d5 d4 0f 24 b4 3c 0b ad fd 86 00 ae 44 | 7c 7d 40 8f f3 10 ae a1 6b 19 dd f4 7e 17 88 09 | 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@0x55dc311c3060 | inserting event EVENT_SA_REKEY, timeout in 28530 seconds for #2 | libevent_malloc: new ptr-libevent@0x55dc311c37e0 size 128 | resume sending helper answer for #1 suppresed complete_v2_state_transition() | #1 spent 5 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@0x7fac6c003060 | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00329 milliseconds in signal handler PLUTO_SIGCHLD | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00194 milliseconds in signal handler PLUTO_SIGCHLD | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00194 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00283 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 80 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 78 71 6f 81 0a b2 90 ef c9 34 9c 42 4f d7 17 fb | 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | 6f b7 63 89 17 c5 7d 15 75 46 d6 ae 38 28 dc 62 | 8d 80 c9 57 12 a8 8b 6c be 04 f4 71 96 01 5c 21 | 3d 50 73 e0 81 ce 3b 0a 79 e9 48 17 00 c2 3a aa | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 78 71 6f 81 0a b2 90 ef | responder cookie: | c9 34 9c 42 4f d7 17 fb | next payload type: ISAKMP_NEXT_v2SK (0x2e) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_INFORMATIONAL (0x25) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 2 (0x2) | length: 80 (0x50) | processing version=2.0 packet with exchange type=ISAKMP_v2_INFORMATIONAL (37) | I am the IKE SA Original Responder receiving an IKEv2 INFORMATIONAL request | State DB: found IKEv2 state #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: 78 71 6f 81 0a b2 90 ef c9 34 9c 42 4f d7 17 fb | data for hmac: 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | data for hmac: 6f b7 63 89 17 c5 7d 15 75 46 d6 ae 38 28 dc 62 | data for hmac: 8d 80 c9 57 12 a8 8b 6c be 04 f4 71 96 01 5c 21 | calculated auth: 3d 50 73 e0 81 ce 3b 0a 79 e9 48 17 00 c2 3a aa | provided auth: 3d 50 73 e0 81 ce 3b 0a 79 e9 48 17 00 c2 3a aa | 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: | 78 71 6f 81 0a b2 90 ef | responder cookie: | c9 34 9c 42 4f d7 17 fb | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_INFORMATIONAL (0x25) | flags: ISAKMP_FLAG_v2_MSG_RESPONSE (0x20) | Message ID: 2 (0x2) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | ***emit IKEv2 Encryption Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'ISAKMP Message'.'next payload type' to current IKEv2 Encryption Payload (46:ISAKMP_NEXT_v2SK) | next payload chain: saving location 'IKEv2 Encryption Payload'.'next payload type' in 'information exchange reply packet' | emitting 16 zero bytes of IV into IKEv2 Encryption Payload | parsing 4 raw bytes of IKEv2 Delete Payload into SPI | SPI ce 29 de de | delete PROTO_v2_ESP SA(0xce29dede) | 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(0xce29dede) "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.232s and NOT sending notification | child state #2: V2_IPSEC_R(established CHILD SA) => delete | get_sa_info esp.ce29dede@192.1.2.45 | get_sa_info esp.36f73955@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@0x55dc311c37e0 | free_event_entry: release EVENT_SA_REKEY-pe@0x55dc311c3060 | 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='1569050240' 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='1569050240' 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=0xce29dede SPI_OUT=0x36f73955 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.ce29dede@192.1.2.45 | netlink response for Del SA esp.ce29dede@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.36f73955@192.1.2.23 | netlink response for Del SA esp.36f73955@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 36 f7 39 55 | 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: 78 71 6f 81 0a b2 90 ef c9 34 9c 42 4f d7 17 fb | data being hmac: 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | data being hmac: 34 33 ad b9 c1 c4 d4 ae cd 72 5e 3c 27 76 78 fa | data being hmac: 1e f9 ed 6a 9b 9a 3b 12 56 cf 44 76 91 7f f6 ec | out calculated auth: | ba 83 4c f6 5a ef e1 20 6d be b7 30 e4 ed 2e 91 | 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) | 78 71 6f 81 0a b2 90 ef c9 34 9c 42 4f d7 17 fb | 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | 34 33 ad b9 c1 c4 d4 ae cd 72 5e 3c 27 76 78 fa | 1e f9 ed 6a 9b 9a 3b 12 56 cf 44 76 91 7f f6 ec | ba 83 4c f6 5a ef e1 20 6d be b7 30 e4 ed 2e 91 | 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.669 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.871 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.886 milliseconds in comm_handle_cb() reading and processing packet | spent 0.0018 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) | 78 71 6f 81 0a b2 90 ef c9 34 9c 42 4f d7 17 fb | 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | 7b 05 54 3a 8a 5d 5f cc 78 5a 55 d0 84 49 3a f3 | e1 bd 2f eb 70 ed 86 f1 77 d1 89 c0 ae c1 29 1a | 2c e8 c6 1a 8b a0 33 2d 74 7c a9 2c 97 1a 06 31 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 78 71 6f 81 0a b2 90 ef | responder cookie: | c9 34 9c 42 4f d7 17 fb | next payload type: ISAKMP_NEXT_v2SK (0x2e) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_INFORMATIONAL (0x25) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 3 (0x3) | length: 80 (0x50) | processing version=2.0 packet with exchange type=ISAKMP_v2_INFORMATIONAL (37) | I am the IKE SA Original Responder receiving an IKEv2 INFORMATIONAL request | State DB: found IKEv2 state #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: 78 71 6f 81 0a b2 90 ef c9 34 9c 42 4f d7 17 fb | data for hmac: 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | data for hmac: 7b 05 54 3a 8a 5d 5f cc 78 5a 55 d0 84 49 3a f3 | data for hmac: e1 bd 2f eb 70 ed 86 f1 77 d1 89 c0 ae c1 29 1a | calculated auth: 2c e8 c6 1a 8b a0 33 2d 74 7c a9 2c 97 1a 06 31 | provided auth: 2c e8 c6 1a 8b a0 33 2d 74 7c a9 2c 97 1a 06 31 | 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: | 78 71 6f 81 0a b2 90 ef | responder cookie: | c9 34 9c 42 4f d7 17 fb | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_INFORMATIONAL (0x25) | flags: ISAKMP_FLAG_v2_MSG_RESPONSE (0x20) | Message ID: 3 (0x3) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | ***emit IKEv2 Encryption Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'ISAKMP Message'.'next payload type' to current IKEv2 Encryption Payload (46:ISAKMP_NEXT_v2SK) | next payload chain: saving location 'IKEv2 Encryption Payload'.'next payload type' in 'information exchange reply packet' | emitting 16 zero bytes of IV into IKEv2 Encryption Payload | adding 16 bytes of padding (including 1 byte padding-length) | emitting 1 0x00 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x01 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x02 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x03 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x04 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x05 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x06 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x07 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x08 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x09 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x0a repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x0b repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x0c repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x0d repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x0e repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x0f repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 16 zero bytes of length of truncated HMAC/KEY into IKEv2 Encryption Payload | emitting length of IKEv2 Encryption Payload: 52 | emitting length of ISAKMP Message: 80 | data being hmac: 78 71 6f 81 0a b2 90 ef c9 34 9c 42 4f d7 17 fb | data being hmac: 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | data being hmac: 92 58 cd 39 8e 03 a0 d6 e6 80 2d eb 55 48 75 76 | data being hmac: e7 3f ce 74 8f 34 d5 cb ae a9 55 f5 3c 99 d6 49 | out calculated auth: | 6e 74 70 84 ea 07 f9 af 8a 49 fe 55 b9 8f 64 5e | sending 80 bytes for reply packet for process_encrypted_informational_ikev2 through eth1 from 192.1.2.23:500 to 192.1.2.45:500 (using #1) | 78 71 6f 81 0a b2 90 ef c9 34 9c 42 4f d7 17 fb | 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | 92 58 cd 39 8e 03 a0 d6 e6 80 2d eb 55 48 75 76 | e7 3f ce 74 8f 34 d5 cb ae a9 55 f5 3c 99 d6 49 | 6e 74 70 84 ea 07 f9 af 8a 49 fe 55 b9 8f 64 5e | 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.71 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.252s 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@0x55dc311bce00 | free_event_entry: release EVENT_SA_REKEY-pe@0x55dc311b8a50 | 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: 0x55dc3113a220 @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.367 milliseconds in comm_handle_cb() reading and processing packet | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00324 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.0025 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) | 48 b9 87 f1 f6 05 dc a6 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 | 4d 56 b2 29 52 73 49 6e 53 06 81 83 00 00 26 7b | 44 8b 41 e6 f2 e1 7c 52 26 21 12 9d b5 6d 2f 68 | a4 c8 2f a2 c5 45 e2 d1 34 db bf 0b b9 f4 0d 6a | 62 3c e5 5b a9 ba a6 4d 15 a7 5f 73 d9 09 b8 9f | ff 11 32 62 fe 41 fb 77 0b 50 be 9f 21 a6 5d 2f | ee 21 0a 6f 40 0c 41 1c 2c fe a3 fb 65 f8 92 37 | 7e 90 da ae 03 02 de 0f 94 68 8f e5 33 30 94 6b | be bc 8c 74 c7 5b 29 f0 db f3 69 b4 0c 21 e0 2b | 57 69 ff f9 ad 09 0f 85 89 b7 cb b6 6e 29 44 a8 | cc 55 24 08 92 bd 4d fd 57 1f 65 8e e0 08 be 49 | c6 9c 83 1b 1d 5c 28 ae e2 f0 74 e1 e5 2a 08 86 | b4 db 29 15 5d c2 05 d4 81 e8 38 d5 e0 6d ed fe | 5e 22 3c 90 6a 86 8c 83 c1 a9 dd c7 ad 1d 09 b3 | 75 96 d1 66 f5 16 6e 02 de 6b 4a a4 88 ee dc 37 | fe b6 cd b9 ed 46 17 3d a0 cd 37 36 21 a6 f0 7c | 89 3e 40 25 fd 53 d8 47 e1 42 d5 9d a4 dd a8 2e | 19 f7 c3 a8 a9 16 0e d1 4a 53 fd 22 c5 57 bc bc | 3f ed 74 6a 80 8e 90 0c 72 aa 05 6d 26 5a 2e 86 | 05 ca e8 3a 5f c1 67 93 98 eb 41 53 3f 6c f5 e2 | c6 26 99 33 80 28 38 f2 34 90 a6 00 33 0f 57 00 | 81 f0 24 06 3d bf d8 3b 29 ca b6 d0 a0 d7 0f 89 | e9 5d 77 03 cb bb ac fd bc 7f fc 15 d9 d9 b1 9f | c5 8e d5 86 6f 23 58 73 12 c4 bb d7 b5 88 c3 20 | 16 f6 ab 87 fa 59 fa 64 53 d1 44 15 87 a2 50 47 | 29 00 00 24 fb 6d c2 50 96 de bb 79 ac 17 f4 5b | 47 c4 66 ac da 2f fc 85 6b 07 c8 6f 4d 39 19 dc | ae 39 e9 e3 29 00 00 08 00 00 40 2e 29 00 00 1c | 00 00 40 04 a0 70 33 e9 86 37 1c 64 ee f2 23 60 | 1c 40 63 8b 94 d7 8b 28 00 00 00 1c 00 00 40 05 | dd 81 d9 73 8a 72 a2 3a 4b 50 fc f7 b0 9e e7 17 | 8e ed 1d d8 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 48 b9 87 f1 f6 05 dc a6 | 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 0x55dc311c3ca0 | 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=0x55dc304957a0(20) | natd_hash: icookie= 48 b9 87 f1 f6 05 dc a6 | 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= dd 81 d9 73 8a 72 a2 3a 4b 50 fc f7 b0 9e e7 17 | natd_hash: hash= 8e ed 1d d8 | natd_hash: rcookie is zero | natd_hash: hasher=0x55dc304957a0(20) | natd_hash: icookie= 48 b9 87 f1 f6 05 dc a6 | 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= a0 70 33 e9 86 37 1c 64 ee f2 23 60 1c 40 63 8b | natd_hash: hash= 94 d7 8b 28 | 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@0x55dc311c3060 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #3 | libevent_malloc: new ptr-libevent@0x55dc311bce00 size 128 | #3 spent 0.341 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) | #3 complete_v2_state_transition() PARENT_R0->PARENT_R1 with status STF_SUSPEND | suspending state #3 and saving MD | #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.745 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.757 milliseconds in comm_handle_cb() reading and processing packet | crypto helper 5 resuming | crypto helper 5 starting work-order 3 for state #3 | crypto helper 5 doing build KE and nonce (ikev2_inI1outR1 KE); request ID 3 | crypto helper 5 finished build KE and nonce (ikev2_inI1outR1 KE); request ID 3 time elapsed 0.0024 seconds | (#3) spent 2.4 milliseconds in crypto helper computing work-order 3: ikev2_inI1outR1 KE (pcr) | crypto helper 5 sending results from work-order 3 for state #3 to event queue | scheduling resume sending helper answer for #3 | libevent_malloc: new ptr-libevent@0x7fac70005780 size 128 | crypto helper 5 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 5 replies to request ID 3 | calling continuation function 0x55dc303bf630 | ikev2_parent_inI1outR1_continue for #3: calculated ke+nonce, sending R1 | **emit ISAKMP Message: | initiator cookie: | 48 b9 87 f1 f6 05 dc a6 | responder cookie: | 6b f7 a0 34 9c e4 79 28 | 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 23 d2 27 80 cb 9e 15 ff 84 f4 3e 5b 24 eb e9 6f | ikev2 g^x 10 dd d4 59 c6 77 ea b7 11 52 9a b5 25 7c 80 28 | ikev2 g^x e0 f2 1c 92 bf 04 e9 b7 23 e4 2d b6 78 ee 39 a4 | ikev2 g^x a2 c5 af b3 87 0e 41 67 80 e0 ef 07 94 2f 9b d1 | ikev2 g^x c0 49 9b 07 29 fe fd d1 de 1f 4c dd 0c a1 c2 d4 | ikev2 g^x 4c b4 01 d8 85 b4 f6 5b fe 11 81 b3 12 af 12 24 | ikev2 g^x f1 7c e4 12 98 b9 36 14 92 75 0e 90 ab 0d 9d 6a | ikev2 g^x c0 82 77 de 6a 90 b2 ef 73 c6 d7 a5 a2 d7 32 11 | ikev2 g^x d9 1a c8 85 70 b2 7c 84 e8 70 1e 67 61 70 a3 63 | ikev2 g^x 3b e8 d0 a3 09 80 a9 65 c7 37 a0 b8 40 17 6b 64 | ikev2 g^x e2 0a 18 1a 16 8b bf e8 be db e4 1d b4 ab 84 67 | ikev2 g^x 60 dc 75 ca e1 89 02 e6 67 b7 41 56 fd 41 99 ef | ikev2 g^x 59 bf 6a 6a e0 18 af 17 aa 01 9c 96 78 30 7c c8 | ikev2 g^x f4 19 52 82 d1 e1 ae 8a 88 f0 09 8a 9a 1f 92 60 | ikev2 g^x e8 a1 d0 42 22 7c 60 0b fd f5 69 ed 96 45 32 7a | ikev2 g^x 60 4a 7f 72 9f 46 a8 5c 5b 66 1c c1 68 b8 df 11 | ikev2 g^x 01 31 7d 4a 5f 0b e8 3c 2e 0d 40 37 de c5 d3 e1 | ikev2 g^x 5b b8 6a 0c 7b df 02 a8 d4 c6 bd e4 eb 00 60 b2 | ikev2 g^x a4 6e 3c 94 bc 8d 19 e9 3a 98 90 d8 e4 21 4d d6 | ikev2 g^x 36 d1 69 1f ac 8b 3c 1d 19 f2 3f 7a ea b1 45 a6 | ikev2 g^x 28 13 52 f7 32 a8 80 43 5f ae 6a 5c a7 29 21 a3 | ikev2 g^x 75 1c dc ca 9f 1a 95 f3 ca c0 64 d9 9f e0 61 bd | ikev2 g^x 9e cb 08 bb ce a8 5e 4e ca fa 51 e2 22 3b 85 fe | ikev2 g^x 2d 1d f4 31 4d ce cd ca 5d b5 55 58 57 5f 42 27 | 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 d1 cd 66 8d e4 d2 5f fc 02 bb d5 1c 5a 70 9f e6 | IKEv2 nonce 1b d6 06 97 a8 c2 d9 0a 7a 08 70 4b b3 d2 92 9e | 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=0x55dc304957a0(20) | natd_hash: icookie= 48 b9 87 f1 f6 05 dc a6 | natd_hash: rcookie= 6b f7 a0 34 9c e4 79 28 | natd_hash: ip= c0 01 02 17 | natd_hash: port= 01 f4 | natd_hash: hash= 44 5c e4 20 c8 18 f6 da 72 3b 7a fb bc a8 2c d7 | natd_hash: hash= 02 83 64 13 | 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 44 5c e4 20 c8 18 f6 da 72 3b 7a fb bc a8 2c d7 | Notify data 02 83 64 13 | emitting length of IKEv2 Notify Payload: 28 | natd_hash: hasher=0x55dc304957a0(20) | natd_hash: icookie= 48 b9 87 f1 f6 05 dc a6 | natd_hash: rcookie= 6b f7 a0 34 9c e4 79 28 | natd_hash: ip= c0 01 02 2d | natd_hash: port= 01 f4 | natd_hash: hash= 2e ee 5b 5c 8c 00 45 26 c9 58 18 92 24 b1 f6 de | natd_hash: hash= fd 16 6a 22 | 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 2e ee 5b 5c 8c 00 45 26 c9 58 18 92 24 b1 f6 de | Notify data fd 16 6a 22 | 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) | 48 b9 87 f1 f6 05 dc a6 6b f7 a0 34 9c e4 79 28 | 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 23 d2 27 80 cb 9e 15 ff 84 f4 3e 5b | 24 eb e9 6f 10 dd d4 59 c6 77 ea b7 11 52 9a b5 | 25 7c 80 28 e0 f2 1c 92 bf 04 e9 b7 23 e4 2d b6 | 78 ee 39 a4 a2 c5 af b3 87 0e 41 67 80 e0 ef 07 | 94 2f 9b d1 c0 49 9b 07 29 fe fd d1 de 1f 4c dd | 0c a1 c2 d4 4c b4 01 d8 85 b4 f6 5b fe 11 81 b3 | 12 af 12 24 f1 7c e4 12 98 b9 36 14 92 75 0e 90 | ab 0d 9d 6a c0 82 77 de 6a 90 b2 ef 73 c6 d7 a5 | a2 d7 32 11 d9 1a c8 85 70 b2 7c 84 e8 70 1e 67 | 61 70 a3 63 3b e8 d0 a3 09 80 a9 65 c7 37 a0 b8 | 40 17 6b 64 e2 0a 18 1a 16 8b bf e8 be db e4 1d | b4 ab 84 67 60 dc 75 ca e1 89 02 e6 67 b7 41 56 | fd 41 99 ef 59 bf 6a 6a e0 18 af 17 aa 01 9c 96 | 78 30 7c c8 f4 19 52 82 d1 e1 ae 8a 88 f0 09 8a | 9a 1f 92 60 e8 a1 d0 42 22 7c 60 0b fd f5 69 ed | 96 45 32 7a 60 4a 7f 72 9f 46 a8 5c 5b 66 1c c1 | 68 b8 df 11 01 31 7d 4a 5f 0b e8 3c 2e 0d 40 37 | de c5 d3 e1 5b b8 6a 0c 7b df 02 a8 d4 c6 bd e4 | eb 00 60 b2 a4 6e 3c 94 bc 8d 19 e9 3a 98 90 d8 | e4 21 4d d6 36 d1 69 1f ac 8b 3c 1d 19 f2 3f 7a | ea b1 45 a6 28 13 52 f7 32 a8 80 43 5f ae 6a 5c | a7 29 21 a3 75 1c dc ca 9f 1a 95 f3 ca c0 64 d9 | 9f e0 61 bd 9e cb 08 bb ce a8 5e 4e ca fa 51 e2 | 22 3b 85 fe 2d 1d f4 31 4d ce cd ca 5d b5 55 58 | 57 5f 42 27 29 00 00 24 d1 cd 66 8d e4 d2 5f fc | 02 bb d5 1c 5a 70 9f e6 1b d6 06 97 a8 c2 d9 0a | 7a 08 70 4b b3 d2 92 9e 29 00 00 08 00 00 40 2e | 29 00 00 1c 00 00 40 04 44 5c e4 20 c8 18 f6 da | 72 3b 7a fb bc a8 2c d7 02 83 64 13 00 00 00 1c | 00 00 40 05 2e ee 5b 5c 8c 00 45 26 c9 58 18 92 | 24 b1 f6 de fd 16 6a 22 | state #3 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x55dc311bce00 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x55dc311c3060 | event_schedule: new EVENT_SO_DISCARD-pe@0x55dc311c3060 | inserting event EVENT_SO_DISCARD, timeout in 200 seconds for #3 | libevent_malloc: new ptr-libevent@0x55dc311bce00 size 128 | resume sending helper answer for #3 suppresed complete_v2_state_transition() | #3 spent 0.546 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@0x7fac70005780 | 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) | 48 b9 87 f1 f6 05 dc a6 6b f7 a0 34 9c e4 79 28 | 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | 49 a8 f3 5f f4 f9 10 98 4f 41 4d d0 79 91 97 e0 | 63 61 6e 95 f0 e8 ba ea 2a 73 1f 79 38 8c 3f 4e | bf 17 bb 79 05 57 06 a8 91 d7 2f 41 d6 94 5b 27 | 8a ce 46 74 ae 9a d9 3f 35 38 2a 24 a2 a3 73 92 | e8 1e 05 01 32 80 9a ca b2 0b b2 5e 0c 38 a8 ed | 6b df b8 b9 d9 ea f8 89 fd 6d 79 05 0d 49 5b 51 | 2f 61 79 65 d4 5e ed a4 1d 06 a7 b8 22 b5 20 c4 | 5d 07 94 5d 8e 0f ed d8 fb 56 3e 22 30 f7 b5 cd | 46 42 de b6 e5 d0 a6 ee 83 e8 ed ef 25 57 5d b8 | 0d b2 e3 7c a6 94 ff fc ab 91 e1 72 92 c7 37 9d | db 8a c4 17 f6 70 1c e1 2d 40 d2 68 21 66 ea 03 | c4 05 e2 6e 03 1c e9 a6 9d db 33 98 95 55 6a 1a | 14 c4 19 47 85 b7 62 54 df 45 77 c3 22 e6 cb 63 | 4e 03 28 35 8c b8 4d ab 1e f6 37 d4 42 8c 2c 01 | 1e 5c ab cd 78 c7 e5 fe d7 65 ff c8 c4 92 3a ca | c7 9b 44 fd 88 17 4a 15 59 3c d0 c1 f8 c3 a9 a5 | 93 06 5c 98 54 db 8d db be 1f 38 35 f9 b8 ca 6f | 26 03 de b2 13 1c 13 64 98 09 67 95 48 b7 24 ba | 55 78 9c 7a 68 eb 8d 8d 55 68 4f 49 85 42 3e 6b | 98 13 ea 91 0d 48 14 2b b9 58 a3 f1 30 ab 0c 6d | fe 47 37 ae b0 44 6c 5a f4 f7 be 57 a1 9d 95 71 | b2 35 06 3a 5f 5c cc 9c 84 85 a3 d0 fe 8a 2e 5e | 7d 87 71 15 64 3f 3f 93 8d 9d 36 2d df 31 6b 13 | 9c e2 df 19 27 df b3 01 10 f4 a4 89 3e 72 39 bd | d3 e4 ad b0 c9 06 34 49 9c 62 bb c6 56 50 00 22 | 15 fd 08 41 43 85 dc 07 68 77 3f ae 44 ea 79 6c | a0 40 e2 d5 19 77 d0 fc 0a 41 31 29 13 14 12 96 | ae e0 9e 4c b6 a6 7a 10 df 56 0c e6 4f c1 b1 90 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 48 b9 87 f1 f6 05 dc a6 | responder cookie: | 6b f7 a0 34 9c e4 79 28 | 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@0x55dc311bce00 | free_event_entry: release EVENT_SO_DISCARD-pe@0x55dc311c3060 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x55dc311c3060 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #3 | libevent_malloc: new ptr-libevent@0x55dc311bce00 size 128 | #3 spent 0.0358 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 | suspending state #3 and saving MD | #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_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.243 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.257 milliseconds in comm_handle_cb() reading and processing packet | crypto helper 1 resuming | crypto helper 1 starting work-order 4 for state #3 | crypto helper 1 doing compute dh (V2) (ikev2_inI2outR2 KE); request ID 4 | 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 4 time elapsed 0.00437 seconds | (#3) spent 2.99 milliseconds in crypto helper computing work-order 4: ikev2_inI2outR2 KE (pcr) | crypto helper 1 sending results from work-order 4 for state #3 to event queue | scheduling resume sending helper answer for #3 | libevent_malloc: new ptr-libevent@0x7fac64004e30 size 128 | crypto helper 1 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 1 replies to request ID 4 | calling continuation function 0x55dc303bf630 | ikev2_parent_inI2outR2_continue for #3: calculating g^{xy}, sending R2 | #3 in state PARENT_R1: received v2I1, sent v2R1 | data for hmac: 48 b9 87 f1 f6 05 dc a6 6b f7 a0 34 9c e4 79 28 | data for hmac: 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | data for hmac: 49 a8 f3 5f f4 f9 10 98 4f 41 4d d0 79 91 97 e0 | data for hmac: 63 61 6e 95 f0 e8 ba ea 2a 73 1f 79 38 8c 3f 4e | data for hmac: bf 17 bb 79 05 57 06 a8 91 d7 2f 41 d6 94 5b 27 | data for hmac: 8a ce 46 74 ae 9a d9 3f 35 38 2a 24 a2 a3 73 92 | data for hmac: e8 1e 05 01 32 80 9a ca b2 0b b2 5e 0c 38 a8 ed | data for hmac: 6b df b8 b9 d9 ea f8 89 fd 6d 79 05 0d 49 5b 51 | data for hmac: 2f 61 79 65 d4 5e ed a4 1d 06 a7 b8 22 b5 20 c4 | data for hmac: 5d 07 94 5d 8e 0f ed d8 fb 56 3e 22 30 f7 b5 cd | data for hmac: 46 42 de b6 e5 d0 a6 ee 83 e8 ed ef 25 57 5d b8 | data for hmac: 0d b2 e3 7c a6 94 ff fc ab 91 e1 72 92 c7 37 9d | data for hmac: db 8a c4 17 f6 70 1c e1 2d 40 d2 68 21 66 ea 03 | data for hmac: c4 05 e2 6e 03 1c e9 a6 9d db 33 98 95 55 6a 1a | data for hmac: 14 c4 19 47 85 b7 62 54 df 45 77 c3 22 e6 cb 63 | data for hmac: 4e 03 28 35 8c b8 4d ab 1e f6 37 d4 42 8c 2c 01 | data for hmac: 1e 5c ab cd 78 c7 e5 fe d7 65 ff c8 c4 92 3a ca | data for hmac: c7 9b 44 fd 88 17 4a 15 59 3c d0 c1 f8 c3 a9 a5 | data for hmac: 93 06 5c 98 54 db 8d db be 1f 38 35 f9 b8 ca 6f | data for hmac: 26 03 de b2 13 1c 13 64 98 09 67 95 48 b7 24 ba | data for hmac: 55 78 9c 7a 68 eb 8d 8d 55 68 4f 49 85 42 3e 6b | data for hmac: 98 13 ea 91 0d 48 14 2b b9 58 a3 f1 30 ab 0c 6d | data for hmac: fe 47 37 ae b0 44 6c 5a f4 f7 be 57 a1 9d 95 71 | data for hmac: b2 35 06 3a 5f 5c cc 9c 84 85 a3 d0 fe 8a 2e 5e | data for hmac: 7d 87 71 15 64 3f 3f 93 8d 9d 36 2d df 31 6b 13 | data for hmac: 9c e2 df 19 27 df b3 01 10 f4 a4 89 3e 72 39 bd | data for hmac: d3 e4 ad b0 c9 06 34 49 9c 62 bb c6 56 50 00 22 | data for hmac: 15 fd 08 41 43 85 dc 07 68 77 3f ae 44 ea 79 6c | data for hmac: a0 40 e2 d5 19 77 d0 fc 0a 41 31 29 13 14 12 96 | calculated auth: ae e0 9e 4c b6 a6 7a 10 df 56 0c e6 4f c1 b1 90 | provided auth: ae e0 9e 4c b6 a6 7a 10 df 56 0c e6 4f c1 b1 90 | 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=0x55dc311abff0 (line=1) | concluding with best_match=002 best=0x55dc311abff0 (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.0544 milliseconds in try_all_keys() trying a pubkey "westnet-eastnet-ikev2" #3: Authenticated using RSA | #3 spent 0.0829 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@0x55dc311bce00 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x55dc311c3060 | event_schedule: new EVENT_SA_REKEY-pe@0x55dc311c3060 | inserting event EVENT_SA_REKEY, timeout in 3330 seconds for #3 | libevent_malloc: new ptr-libevent@0x55dc311bce00 size 128 | pstats #3 ikev2.ike established | **emit ISAKMP Message: | initiator cookie: | 48 b9 87 f1 f6 05 dc a6 | responder cookie: | 6b f7 a0 34 9c e4 79 28 | 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=0x55dc311abff0 (line=1) | concluding with best_match=002 best=0x55dc311abff0 (lineno=1) | #3 spent 4.65 milliseconds in ikev2_calculate_rsa_hash() calling sign_hash_RSA() | emitting 274 raw bytes of rsa signature into IKEv2 Authentication Payload | rsa signature 41 04 77 77 01 c6 b2 a1 99 22 60 52 26 24 82 26 | rsa signature 1a 3f 4d 4b 0f 13 55 48 ea 8b 96 ba 91 7e 5d 45 | rsa signature ae 8d 27 da 93 dd bf 41 f5 ed a7 14 5a 3c cc f7 | rsa signature 5d 94 2c 2f 86 cb a5 74 9e c7 ca b5 00 ee 41 97 | rsa signature 44 cf fe 0d ef 95 6d de 44 60 e7 6e fa b1 9b 36 | rsa signature 07 56 83 bf 7a 1b b2 4b 9b 70 95 2b e5 9d 74 85 | rsa signature 98 68 17 fa bd 7e 33 9a 26 4a 29 e5 08 14 75 13 | rsa signature 71 ac ef b8 39 7f cb d3 d3 77 23 bc 8f 32 cd 79 | rsa signature 1f 9b 36 0c c5 17 dd fd 53 cd 81 78 41 d6 98 3a | rsa signature bc 31 18 17 f9 de 5a 58 fe c5 4f 0c 70 99 eb 24 | rsa signature 8e 50 8a 50 df 88 b2 89 22 06 39 f5 be 4c fc a8 | rsa signature b4 ce 48 19 b0 ad 46 ad 55 ac 38 1a d3 14 3b 1c | rsa signature 0a 49 2e eb 8a 3b b6 62 08 cb 30 9c b2 bd c3 62 | rsa signature ea b2 be 77 67 9c 4a 37 c1 d3 71 08 7c 10 df 89 | rsa signature d4 af 01 32 09 55 16 df 54 9b 1d a7 6a c8 be 86 | rsa signature 5b 2c 48 f3 f7 45 2e cd e1 c4 53 0a 3d 8b 1c 38 | rsa signature 98 62 97 cc 99 24 de 61 64 90 dd ed a3 69 da e1 | rsa signature ef 05 | #3 spent 4.75 milliseconds in ikev2_calculate_rsa_hash() | emitting length of IKEv2 Authentication Payload: 282 | creating state object #4 at 0x55dc311c9720 | 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 79 83 5e 62 | 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=79835e62;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=79835e62;ENCR=AES_CBC_256;INTEG=HMAC_SHA2_256_128;ESN=DISABLED | converting proposal to internal trans attrs | netlink_get_spi: allocated 0xc34f51f7 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 c3 4f 51 f7 | ******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 | #3 spent 1.09 milliseconds | 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.79835e62@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.c34f51f7@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=0x79 | 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=0x79835e62 SPI_OUT=0xc34f51f7 ipsec _updown 2>&1: | route_and_eroute: firewall_notified: true | route_and_eroute: instance "westnet-eastnet-ikev2", setting eroute_owner {spd=0x55dc311b7980,sr=0x55dc311b7980} to #4 (was #0) (newest_ipsec_sa=#0) | #3 spent 0.657 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: 48 b9 87 f1 f6 05 dc a6 6b f7 a0 34 9c e4 79 28 | data being hmac: 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | data being hmac: 7e 12 73 f9 b3 3b c5 c6 69 ad f9 72 0a 94 24 2f | data being hmac: 61 75 ad 91 9a 6e c0 8a 2f ff ae 10 7c 81 16 a1 | data being hmac: 9f c9 e6 ea 4c 07 3e ee 26 3e 6b 21 50 d2 fa aa | data being hmac: 94 6e 9a af fc 42 29 01 52 d4 62 d2 61 6f 6e 04 | data being hmac: ae b0 1f c5 60 44 d3 d7 09 64 df f7 3a f0 55 2c | data being hmac: 28 c8 45 fc 96 86 2a 59 30 be cf c1 c2 24 a2 02 | data being hmac: 7e 91 6d 13 19 ba 14 69 a7 e6 a7 fd ec 91 a1 dc | data being hmac: aa 4e bc 06 38 08 b1 27 d3 16 fd 3c aa 23 19 03 | data being hmac: 78 52 10 ed bc 6f 0a e6 be a6 ca 59 20 be ee 26 | data being hmac: 02 17 8e a5 0c 29 e6 31 37 e5 a4 0e b9 82 48 bb | data being hmac: 14 e2 c7 17 d4 e1 17 43 db 44 b7 10 be 14 13 e5 | data being hmac: 86 c9 91 8b a8 5d b3 15 b1 46 e1 54 ad 3b c6 f1 | data being hmac: 23 c3 41 1a a4 5d 17 7e 9d 34 30 ba 4e 10 39 48 | data being hmac: db 72 f1 f2 a1 86 75 d9 73 97 57 e0 17 2d 47 b3 | data being hmac: e9 c3 d3 48 c9 97 1e db 53 47 1b ed 0b 93 e0 4a | data being hmac: 78 d4 f2 99 d6 d7 10 ed cd 7d cb fd 25 08 7a 4a | data being hmac: b4 5f 0b 3e 2a d9 45 a7 2f 8c 78 18 29 2a 1a ba | data being hmac: b9 fd fe 53 b2 9a 7f 9e fa d8 3a 2e 29 0c 0e 2f | data being hmac: 3d 8d ba 2e ed d5 14 59 35 ef 0d d5 f4 c8 28 91 | data being hmac: e8 88 99 4f c1 1d 3c 8b 57 eb b0 01 a5 d2 fe bd | data being hmac: ee dc ed 17 d1 10 9c 63 c8 4d 45 e7 02 6b 8f 3d | data being hmac: 2b f1 ad 5f 05 1d 0e be 2e d2 a4 ac 8f 82 4b 25 | data being hmac: 60 47 5f 90 80 cf ab bf e3 91 87 6d 0e 33 5f 4a | data being hmac: d5 2f 3e 8c 5c 15 38 3d e1 20 a5 d9 72 b7 5c 63 | data being hmac: a3 24 e8 64 7d 83 f0 f0 10 75 bd 6c 77 70 ae f9 | data being hmac: 8f b6 5c 9a e4 a5 5c 0e 1b cc 6e 93 c1 f4 7b 05 | out calculated auth: | e2 ba be a3 1d 20 2e af 10 c9 0f 1f c4 cb c4 95 | ikev2_parent_inI2outR2_continue_tail returned STF_OK | #3 spent 7.05 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=>0x79835e62 <0xc34f51f7 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) | 48 b9 87 f1 f6 05 dc a6 6b f7 a0 34 9c e4 79 28 | 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | 7e 12 73 f9 b3 3b c5 c6 69 ad f9 72 0a 94 24 2f | 61 75 ad 91 9a 6e c0 8a 2f ff ae 10 7c 81 16 a1 | 9f c9 e6 ea 4c 07 3e ee 26 3e 6b 21 50 d2 fa aa | 94 6e 9a af fc 42 29 01 52 d4 62 d2 61 6f 6e 04 | ae b0 1f c5 60 44 d3 d7 09 64 df f7 3a f0 55 2c | 28 c8 45 fc 96 86 2a 59 30 be cf c1 c2 24 a2 02 | 7e 91 6d 13 19 ba 14 69 a7 e6 a7 fd ec 91 a1 dc | aa 4e bc 06 38 08 b1 27 d3 16 fd 3c aa 23 19 03 | 78 52 10 ed bc 6f 0a e6 be a6 ca 59 20 be ee 26 | 02 17 8e a5 0c 29 e6 31 37 e5 a4 0e b9 82 48 bb | 14 e2 c7 17 d4 e1 17 43 db 44 b7 10 be 14 13 e5 | 86 c9 91 8b a8 5d b3 15 b1 46 e1 54 ad 3b c6 f1 | 23 c3 41 1a a4 5d 17 7e 9d 34 30 ba 4e 10 39 48 | db 72 f1 f2 a1 86 75 d9 73 97 57 e0 17 2d 47 b3 | e9 c3 d3 48 c9 97 1e db 53 47 1b ed 0b 93 e0 4a | 78 d4 f2 99 d6 d7 10 ed cd 7d cb fd 25 08 7a 4a | b4 5f 0b 3e 2a d9 45 a7 2f 8c 78 18 29 2a 1a ba | b9 fd fe 53 b2 9a 7f 9e fa d8 3a 2e 29 0c 0e 2f | 3d 8d ba 2e ed d5 14 59 35 ef 0d d5 f4 c8 28 91 | e8 88 99 4f c1 1d 3c 8b 57 eb b0 01 a5 d2 fe bd | ee dc ed 17 d1 10 9c 63 c8 4d 45 e7 02 6b 8f 3d | 2b f1 ad 5f 05 1d 0e be 2e d2 a4 ac 8f 82 4b 25 | 60 47 5f 90 80 cf ab bf e3 91 87 6d 0e 33 5f 4a | d5 2f 3e 8c 5c 15 38 3d e1 20 a5 d9 72 b7 5c 63 | a3 24 e8 64 7d 83 f0 f0 10 75 bd 6c 77 70 ae f9 | 8f b6 5c 9a e4 a5 5c 0e 1b cc 6e 93 c1 f4 7b 05 | e2 ba be a3 1d 20 2e af 10 c9 0f 1f c4 cb c4 95 | 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@0x55dc311c2c20 | inserting event EVENT_SA_REKEY, timeout in 28530 seconds for #4 | libevent_malloc: new ptr-libevent@0x7fac70005780 size 128 | resume sending helper answer for #3 suppresed complete_v2_state_transition() | #3 spent 7.36 milliseconds in resume sending helper answer | stop processing: state #4 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in resume_handler() at server.c:833) | libevent_free: release ptr-libevent@0x7fac64004e30 | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00357 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00279 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) | 48 b9 87 f1 f6 05 dc a6 6b f7 a0 34 9c e4 79 28 | 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | 3b de e8 02 f8 e3 f4 24 23 db 75 3c 9d 4c 88 28 | 32 40 71 c3 a1 7e ca ec 8a c3 96 d2 ab fa bb 80 | 01 e3 ad 2f ff 9e f1 87 5c b8 36 18 97 a1 cb df | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 48 b9 87 f1 f6 05 dc a6 | responder cookie: | 6b f7 a0 34 9c e4 79 28 | 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: 48 b9 87 f1 f6 05 dc a6 6b f7 a0 34 9c e4 79 28 | data for hmac: 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | data for hmac: 3b de e8 02 f8 e3 f4 24 23 db 75 3c 9d 4c 88 28 | data for hmac: 32 40 71 c3 a1 7e ca ec 8a c3 96 d2 ab fa bb 80 | calculated auth: 01 e3 ad 2f ff 9e f1 87 5c b8 36 18 97 a1 cb df | provided auth: 01 e3 ad 2f ff 9e f1 87 5c b8 36 18 97 a1 cb df | 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: | 48 b9 87 f1 f6 05 dc a6 | responder cookie: | 6b f7 a0 34 9c e4 79 28 | 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 79 83 5e 62 | delete PROTO_v2_ESP SA(0x79835e62) | 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(0x79835e62) "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.118s and NOT sending notification | child state #4: V2_IPSEC_R(established CHILD SA) => delete | get_sa_info esp.79835e62@192.1.2.45 | get_sa_info esp.c34f51f7@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@0x7fac70005780 | free_event_entry: release EVENT_SA_REKEY-pe@0x55dc311c2c20 | 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='1569050240' 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='1569050240' 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=0x79835e62 SPI_OUT=0xc34f51f7 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.79835e62@192.1.2.45 | netlink response for Del SA esp.79835e62@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.c34f51f7@192.1.2.23 | netlink response for Del SA esp.c34f51f7@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 c3 4f 51 f7 | 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: 48 b9 87 f1 f6 05 dc a6 6b f7 a0 34 9c e4 79 28 | data being hmac: 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | data being hmac: 49 49 c9 4b fa 3a 50 f0 6c dd b5 0e 36 60 e6 c1 | data being hmac: 33 d9 35 74 06 4a 1f d8 05 59 29 31 72 67 7e 0d | out calculated auth: | 7a 9e a1 cd 75 90 28 71 cc f8 74 28 31 5f f8 e4 | 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) | 48 b9 87 f1 f6 05 dc a6 6b f7 a0 34 9c e4 79 28 | 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | 49 49 c9 4b fa 3a 50 f0 6c dd b5 0e 36 60 e6 c1 | 33 d9 35 74 06 4a 1f d8 05 59 29 31 72 67 7e 0d | 7a 9e a1 cd 75 90 28 71 cc f8 74 28 31 5f f8 e4 | 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.682 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.892 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.904 milliseconds in comm_handle_cb() reading and processing packet | spent 0.00187 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) | 48 b9 87 f1 f6 05 dc a6 6b f7 a0 34 9c e4 79 28 | 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | 20 3c ca 64 58 5b f9 f3 a3 44 f6 42 7d c5 37 d8 | 00 f8 cc a1 a8 64 e2 28 8a aa b8 74 91 8a 42 f1 | 8c 6d 43 29 94 76 c2 2d b8 3a 65 92 64 d9 bb cf | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 48 b9 87 f1 f6 05 dc a6 | responder cookie: | 6b f7 a0 34 9c e4 79 28 | 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: 48 b9 87 f1 f6 05 dc a6 6b f7 a0 34 9c e4 79 28 | data for hmac: 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | data for hmac: 20 3c ca 64 58 5b f9 f3 a3 44 f6 42 7d c5 37 d8 | data for hmac: 00 f8 cc a1 a8 64 e2 28 8a aa b8 74 91 8a 42 f1 | calculated auth: 8c 6d 43 29 94 76 c2 2d b8 3a 65 92 64 d9 bb cf | provided auth: 8c 6d 43 29 94 76 c2 2d b8 3a 65 92 64 d9 bb cf | 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: | 48 b9 87 f1 f6 05 dc a6 | responder cookie: | 6b f7 a0 34 9c e4 79 28 | 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: 48 b9 87 f1 f6 05 dc a6 6b f7 a0 34 9c e4 79 28 | data being hmac: 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | data being hmac: bd 67 cc 2a a7 c6 22 fb e5 14 7d e3 7e 71 6b d9 | data being hmac: bb 60 38 fb df 2d ad 0c 44 c3 98 62 c9 0f dc 3a | out calculated auth: | d1 ee cf 35 79 5f 8e cb 7e 2c 64 fc 9b 92 6b 23 | 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) | 48 b9 87 f1 f6 05 dc a6 6b f7 a0 34 9c e4 79 28 | 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | bd 67 cc 2a a7 c6 22 fb e5 14 7d e3 7e 71 6b d9 | bb 60 38 fb df 2d ad 0c 44 c3 98 62 c9 0f dc 3a | d1 ee cf 35 79 5f 8e cb 7e 2c 64 fc 9b 92 6b 23 | 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 15.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.155s 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@0x55dc311bce00 | free_event_entry: release EVENT_SA_REKEY-pe@0x55dc311c3060 | 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: 0x55dc3113a220 @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.48 milliseconds in comm_handle_cb() reading and processing packet | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00413 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00282 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) | 11 82 81 f3 1e ab 4e 60 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 | 86 d3 e1 86 b7 06 a1 1f d3 44 5d 50 5d 39 23 cf | cb f8 9d 59 32 ad 3a 1c 74 ba 60 be 36 01 32 b9 | c3 ea e5 6e 26 d3 02 c7 7e d2 98 de f4 17 19 d9 | b3 df 72 47 cf a2 25 a6 0e 82 de b2 bf b2 02 12 | 3b f4 e4 b3 fe e9 1d 22 a9 4f 94 09 95 28 20 cf | e1 65 a4 88 2b e9 f2 1e be 87 b6 32 15 7a a8 ff | 9b aa 8b 57 ee 72 b3 2e 5d d3 c4 ae d8 cb 75 36 | ce ee 57 b2 a7 7c 6c 30 3d ab e3 6a cd 24 e8 36 | cc 08 81 a6 89 09 67 62 c4 d5 0e dc b2 aa 3e 1b | b1 50 c7 d5 a1 dc da c5 4c 86 70 59 82 3e fa 86 | c9 51 cc 16 17 78 19 cc d0 cd 3c 4e fd ce 61 ec | 46 c1 66 26 f8 b7 55 72 f6 e2 2b 7a 50 1b 17 cc | 93 41 af f6 ac 6d 7c ec 03 13 0e 4b 79 4d 0e 4f | ea f4 d6 ea 89 4f 0d fe 81 e5 06 f5 ac 9e 57 b8 | 4a 05 bb 14 b3 cb e7 09 d6 bb 18 54 ac aa 5d 11 | 26 15 0d fd f0 c4 25 25 3a c5 de 2e b7 8f ff 44 | 2c b5 75 2f 4c 3c e4 ce 0c 8f d0 ba be f6 e3 c8 | 18 39 75 ee 03 ee 68 1d c8 c3 91 92 5e 0c f1 92 | 53 94 13 dd bf ac 61 1f ac 91 b5 ec 98 ab ba 2d | e8 e6 1f 7d e1 86 81 44 cd 9a 25 1a 8a 7d cb c1 | 04 4e fa 0b 4e 38 d6 f4 0e 2d f8 38 68 c8 13 84 | 31 68 bc fc 26 79 30 6e 1b 24 91 40 b8 ea 7f cd | c3 43 17 88 12 44 85 12 cc f3 5d 2f 66 ea c1 ba | e6 35 81 24 39 54 f5 3d 5d dd 1f 69 51 f1 96 c6 | 91 d6 c2 3d 1c f2 e1 a1 e6 23 98 e3 1d 47 fb d7 | f5 cd f7 d2 7f 93 72 e9 3c e8 43 83 7c 04 09 e6 | 3e 2b 2e 65 00 10 88 c7 ad 38 8f a1 3e cf 31 60 | 4d ef b9 2a d7 0a d3 cf fc 73 92 f7 1d a2 b5 2d | 4d ef d7 ae 5e 7f 8f fc 0d 89 32 a0 5a 2a d3 fa | 53 49 82 2b 29 4e af 86 a9 98 57 90 e6 2a 94 cc | b6 59 a9 d7 c1 e3 8c 0a a9 f4 e6 4e 3c 4b a9 50 | b7 a7 5e be 4e c3 59 0c ab 2d ed 3c 78 4a d9 eb | 29 00 00 24 53 82 65 f9 18 be 87 f7 6f 95 ed 3c | ce 7b 34 b2 fb e3 54 64 4e ca 00 b2 8c d7 5a a4 | 47 db 1e 8c 29 00 00 08 00 00 40 2e 29 00 00 1c | 00 00 40 04 f4 26 f3 83 8b 7d 4b 6b e9 6e 2a 87 | f1 29 96 02 78 61 4f 9f 00 00 00 1c 00 00 40 05 | aa be 83 f2 a3 ff 63 a7 b4 bf 7d 3f 18 76 0e 24 | 0b 38 82 22 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 11 82 81 f3 1e ab 4e 60 | 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 0x55dc311c3ca0 | 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=0x55dc304957a0(20) | natd_hash: icookie= 11 82 81 f3 1e ab 4e 60 | 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= aa be 83 f2 a3 ff 63 a7 b4 bf 7d 3f 18 76 0e 24 | natd_hash: hash= 0b 38 82 22 | natd_hash: rcookie is zero | natd_hash: hasher=0x55dc304957a0(20) | natd_hash: icookie= 11 82 81 f3 1e ab 4e 60 | 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= f4 26 f3 83 8b 7d 4b 6b e9 6e 2a 87 f1 29 96 02 | natd_hash: hash= 78 61 4f 9f | 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@0x55dc311c2c20 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #5 | libevent_malloc: new ptr-libevent@0x55dc311bce00 size 128 | #5 spent 0.261 milliseconds in processing: Respond to IKE_SA_INIT in ikev2_process_state_packet() | [RE]START processing: state #5 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3376) | #5 complete_v2_state_transition() PARENT_R0->PARENT_R1 with status STF_SUSPEND | suspending state #5 and saving MD | #5 is busy; has a suspended MD | [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.638 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.648 milliseconds in comm_handle_cb() reading and processing packet | crypto helper 0 resuming | crypto helper 0 starting work-order 5 for state #5 | crypto helper 0 doing build KE and nonce (ikev2_inI1outR1 KE); request ID 5 | crypto helper 0 finished build KE and nonce (ikev2_inI1outR1 KE); request ID 5 time elapsed 0.002296 seconds | (#5) spent 2.29 milliseconds in crypto helper computing work-order 5: ikev2_inI1outR1 KE (pcr) | crypto helper 0 sending results from work-order 5 for state #5 to event queue | scheduling resume sending helper answer for #5 | libevent_malloc: new ptr-libevent@0x7fac680054e0 size 128 | crypto helper 0 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 0 replies to request ID 5 | calling continuation function 0x55dc303bf630 | ikev2_parent_inI1outR1_continue for #5: calculated ke+nonce, sending R1 | **emit ISAKMP Message: | initiator cookie: | 11 82 81 f3 1e ab 4e 60 | responder cookie: | 1a a6 a3 31 70 16 f0 6a | 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 60 a1 f9 b2 81 49 82 5f ad 3f 0b 07 12 31 51 d3 | ikev2 g^x 6b 76 ef 68 c6 41 3d 22 e0 ef 9e 86 4b bb 0e 7c | ikev2 g^x 53 38 b9 98 5a b6 eb 1e 45 1f 61 a1 39 12 02 d8 | ikev2 g^x b3 7b f2 ff 89 e8 4d b0 f5 1b 5b 45 cd 87 a8 9f | ikev2 g^x 27 3d f0 f6 28 ea c4 6f 17 0e b3 82 8f 7d a1 ef | ikev2 g^x 0d c2 ad 19 f2 d3 33 ff d7 25 87 2a f1 19 44 98 | ikev2 g^x 5d 3a 86 ca 70 18 bd 8e 84 94 ec de 42 84 51 db | ikev2 g^x ff cb 1e 71 33 be 8b 75 e3 89 97 3d 66 0a f7 03 | ikev2 g^x 0a fb 94 58 a5 98 cc 8e 7c 1a 55 b8 00 98 a8 61 | ikev2 g^x b8 b5 00 b1 55 d9 6b 10 f0 aa 6a ff 69 c0 18 23 | ikev2 g^x da 79 fe b1 c0 d8 5a b1 a1 0f 9c db d1 10 2f 57 | ikev2 g^x f2 0a a3 e0 4a 92 6c f0 e8 ea fb a4 65 7b b1 24 | ikev2 g^x 97 69 17 ab 7c 76 87 22 a4 c4 0b 46 dd 44 f7 25 | ikev2 g^x 68 fc 18 aa d8 13 6b f6 3e 64 17 72 5a 27 18 3e | ikev2 g^x 66 c9 a1 24 b3 25 22 04 74 e0 27 7b 0a 36 b1 ed | ikev2 g^x ec 13 1a 9e 0e d5 97 0e 97 74 fd 6c 55 5b 76 3f | ikev2 g^x c7 d4 12 11 9a 5b 2e 30 e5 3c 6b 1b 18 48 21 54 | ikev2 g^x 9b cb 56 b3 60 ae 30 0f 86 1a 7c 62 a3 fb ea 20 | ikev2 g^x 1c de 6f 13 8e c9 c1 2f 35 21 ee 0d 57 87 7e a6 | ikev2 g^x 16 35 e4 d5 fc 7f f5 cf 8d 95 0b 95 ca 0a ea 9e | ikev2 g^x 25 15 0f 8d 11 76 9f 3e 16 75 3e 98 69 87 55 e1 | ikev2 g^x 3b ba ef 42 ff 36 9c f0 2e e1 58 c7 0f f0 2a dc | ikev2 g^x 09 bf 6a 8a e6 78 c7 f5 9e 6d ad 5f 34 63 a3 43 | ikev2 g^x 0c fe 02 13 5f ea 31 14 c8 ac 8b aa 50 04 f0 ad | ikev2 g^x 67 ee d9 08 77 ac dd ac e2 c4 b7 64 7a f3 30 7b | ikev2 g^x 98 21 81 f8 05 a1 d5 5a 6e 08 d3 b2 b5 6d 94 99 | ikev2 g^x 57 41 0d 4e c5 fb c8 66 78 08 c3 78 3a 1b cd d0 | ikev2 g^x df ed c6 9a aa 27 fc fb ce 14 ad f3 1b 86 d3 e0 | ikev2 g^x 8a 11 8f 2a 32 ba 6b b0 94 f8 94 57 38 44 a3 c1 | ikev2 g^x d8 a9 dd f9 41 25 54 0b 99 34 2a 79 56 d1 e7 99 | ikev2 g^x 31 7a ef 18 29 a0 6b 94 3d f2 7e cb d6 25 e9 ac | ikev2 g^x f3 06 9d e4 49 68 09 db 0a 15 72 cb d5 da a9 c0 | 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 73 04 25 20 39 bf a7 94 b8 87 07 1e 91 f4 c1 b3 | IKEv2 nonce 39 8b dc 7a f5 bc 23 b0 70 04 45 09 1f eb 53 1a | 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=0x55dc304957a0(20) | natd_hash: icookie= 11 82 81 f3 1e ab 4e 60 | natd_hash: rcookie= 1a a6 a3 31 70 16 f0 6a | natd_hash: ip= c0 01 02 17 | natd_hash: port= 01 f4 | natd_hash: hash= 40 f3 9f 9c a4 39 00 7c 54 ad 15 a0 57 6c a3 82 | natd_hash: hash= bc c5 b6 cd | 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 40 f3 9f 9c a4 39 00 7c 54 ad 15 a0 57 6c a3 82 | Notify data bc c5 b6 cd | emitting length of IKEv2 Notify Payload: 28 | natd_hash: hasher=0x55dc304957a0(20) | natd_hash: icookie= 11 82 81 f3 1e ab 4e 60 | natd_hash: rcookie= 1a a6 a3 31 70 16 f0 6a | natd_hash: ip= c0 01 02 2d | natd_hash: port= 01 f4 | natd_hash: hash= 03 55 be 49 e6 af 24 e6 88 87 b2 b4 51 dd fc 15 | natd_hash: hash= 1a 83 c9 79 | 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 03 55 be 49 e6 af 24 e6 88 87 b2 b4 51 dd fc 15 | Notify data 1a 83 c9 79 | 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) | 11 82 81 f3 1e ab 4e 60 1a a6 a3 31 70 16 f0 6a | 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 60 a1 f9 b2 81 49 82 5f ad 3f 0b 07 | 12 31 51 d3 6b 76 ef 68 c6 41 3d 22 e0 ef 9e 86 | 4b bb 0e 7c 53 38 b9 98 5a b6 eb 1e 45 1f 61 a1 | 39 12 02 d8 b3 7b f2 ff 89 e8 4d b0 f5 1b 5b 45 | cd 87 a8 9f 27 3d f0 f6 28 ea c4 6f 17 0e b3 82 | 8f 7d a1 ef 0d c2 ad 19 f2 d3 33 ff d7 25 87 2a | f1 19 44 98 5d 3a 86 ca 70 18 bd 8e 84 94 ec de | 42 84 51 db ff cb 1e 71 33 be 8b 75 e3 89 97 3d | 66 0a f7 03 0a fb 94 58 a5 98 cc 8e 7c 1a 55 b8 | 00 98 a8 61 b8 b5 00 b1 55 d9 6b 10 f0 aa 6a ff | 69 c0 18 23 da 79 fe b1 c0 d8 5a b1 a1 0f 9c db | d1 10 2f 57 f2 0a a3 e0 4a 92 6c f0 e8 ea fb a4 | 65 7b b1 24 97 69 17 ab 7c 76 87 22 a4 c4 0b 46 | dd 44 f7 25 68 fc 18 aa d8 13 6b f6 3e 64 17 72 | 5a 27 18 3e 66 c9 a1 24 b3 25 22 04 74 e0 27 7b | 0a 36 b1 ed ec 13 1a 9e 0e d5 97 0e 97 74 fd 6c | 55 5b 76 3f c7 d4 12 11 9a 5b 2e 30 e5 3c 6b 1b | 18 48 21 54 9b cb 56 b3 60 ae 30 0f 86 1a 7c 62 | a3 fb ea 20 1c de 6f 13 8e c9 c1 2f 35 21 ee 0d | 57 87 7e a6 16 35 e4 d5 fc 7f f5 cf 8d 95 0b 95 | ca 0a ea 9e 25 15 0f 8d 11 76 9f 3e 16 75 3e 98 | 69 87 55 e1 3b ba ef 42 ff 36 9c f0 2e e1 58 c7 | 0f f0 2a dc 09 bf 6a 8a e6 78 c7 f5 9e 6d ad 5f | 34 63 a3 43 0c fe 02 13 5f ea 31 14 c8 ac 8b aa | 50 04 f0 ad 67 ee d9 08 77 ac dd ac e2 c4 b7 64 | 7a f3 30 7b 98 21 81 f8 05 a1 d5 5a 6e 08 d3 b2 | b5 6d 94 99 57 41 0d 4e c5 fb c8 66 78 08 c3 78 | 3a 1b cd d0 df ed c6 9a aa 27 fc fb ce 14 ad f3 | 1b 86 d3 e0 8a 11 8f 2a 32 ba 6b b0 94 f8 94 57 | 38 44 a3 c1 d8 a9 dd f9 41 25 54 0b 99 34 2a 79 | 56 d1 e7 99 31 7a ef 18 29 a0 6b 94 3d f2 7e cb | d6 25 e9 ac f3 06 9d e4 49 68 09 db 0a 15 72 cb | d5 da a9 c0 29 00 00 24 73 04 25 20 39 bf a7 94 | b8 87 07 1e 91 f4 c1 b3 39 8b dc 7a f5 bc 23 b0 | 70 04 45 09 1f eb 53 1a 29 00 00 08 00 00 40 2e | 29 00 00 1c 00 00 40 04 40 f3 9f 9c a4 39 00 7c | 54 ad 15 a0 57 6c a3 82 bc c5 b6 cd 00 00 00 1c | 00 00 40 05 03 55 be 49 e6 af 24 e6 88 87 b2 b4 | 51 dd fc 15 1a 83 c9 79 | state #5 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x55dc311bce00 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x55dc311c2c20 | event_schedule: new EVENT_SO_DISCARD-pe@0x55dc311c2c20 | inserting event EVENT_SO_DISCARD, timeout in 200 seconds for #5 | libevent_malloc: new ptr-libevent@0x55dc311bce00 size 128 | resume sending helper answer for #5 suppresed complete_v2_state_transition() | #5 spent 0.313 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@0x7fac680054e0 | spent 0.00216 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 480 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 11 82 81 f3 1e ab 4e 60 1a a6 a3 31 70 16 f0 6a | 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | 0c 80 e7 0b 5f b4 4e aa f6 70 3a 09 29 2b 51 6f | b0 ea 15 0c 44 e3 fa 0e 4a 54 88 41 6b a1 a5 e7 | c1 66 32 a1 02 db 17 7d db e5 f3 5f 1a 6a 58 78 | ac 41 df 4b ed f1 fe 0f f4 e2 1b ae 3b b8 e8 f7 | 6a 8a d5 1d 7d 70 22 dd 7d 80 dd 8e 40 ce f0 7d | b4 c5 80 df 91 de c0 d7 e4 78 3c 8f c2 9f 77 d6 | 12 de e9 e6 7f 68 da 4b ae fd 64 1d e2 97 12 da | fe 2c 70 cd 0c 86 da e3 94 9d 8c 9e 98 27 bc 8a | e2 86 46 c7 cc a1 b5 31 18 bf cd d4 af 56 db bb | 7f 9e 0a 4d 8e b9 d9 9c 23 ea d3 da 93 86 82 36 | df ce 6c e2 f8 76 14 4e 78 68 2a ed ab bf f8 2a | 00 f0 bf a6 c9 21 2f 91 0b 26 00 be 02 06 56 fb | 80 ad 38 13 29 09 4e d0 2a a1 8c a8 c8 ae 3e 4d | 95 97 fd 19 93 a3 51 cf ca 4f cd 01 39 20 88 34 | 1f d6 0a 27 55 70 1c c2 8f ed 7e 69 ab 58 6c 8f | a2 9e 9e d3 e8 7f 9f 6b a0 d7 e0 d1 e9 ed de 36 | 6e ca 2f 08 7b 18 e7 3d c8 21 20 a1 2a df ad c5 | 96 ab ec fd 5a 55 df 83 78 2a e1 3c 40 d8 37 ee | ad e7 d6 55 3e 60 60 58 25 f5 06 33 4d 70 c7 1f | a6 d5 37 b5 0e 87 3f 70 de 27 18 a7 79 f9 4c e9 | d0 b8 d9 59 05 48 38 d1 0e f2 0a a0 ca 67 a7 79 | 1c aa 2f f8 e2 dc ee d1 d0 19 2c be 9c 20 ab e1 | fd eb 46 18 47 8c 3c f0 1c c5 57 fc 13 9e 50 ee | d7 8b 46 10 0b c1 8f 91 df dd 04 45 31 81 fd 97 | 28 7f b6 45 e8 2a 62 c4 67 47 00 fa 3e 18 81 bd | 39 58 f4 5e 82 43 b2 4b 50 ba 15 9d 3a 76 aa 45 | df de 17 ac d6 30 19 cb 20 fe a1 88 2e 9a 1a 7c | 9c 62 2b c4 d3 4c 9c 94 d3 df 89 f0 3d 2a 98 b2 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 11 82 81 f3 1e ab 4e 60 | responder cookie: | 1a a6 a3 31 70 16 f0 6a | 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@0x55dc311bce00 | free_event_entry: release EVENT_SO_DISCARD-pe@0x55dc311c2c20 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x55dc311c2c20 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #5 | libevent_malloc: new ptr-libevent@0x55dc311bce00 size 128 | #5 spent 0.0193 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) | #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 3 resuming | crypto helper 3 starting work-order 6 for state #5 | crypto helper 3 doing compute dh (V2) (ikev2_inI2outR2 KE); request ID 6 | [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_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.219 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.227 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 6 time elapsed 0.002493 seconds | (#5) spent 2.49 milliseconds in crypto helper computing work-order 6: ikev2_inI2outR2 KE (pcr) | crypto helper 3 sending results from work-order 6 for state #5 to event queue | scheduling resume sending helper answer for #5 | libevent_malloc: new ptr-libevent@0x7fac5c004110 size 128 | crypto helper 3 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 3 replies to request ID 6 | calling continuation function 0x55dc303bf630 | ikev2_parent_inI2outR2_continue for #5: calculating g^{xy}, sending R2 | #5 in state PARENT_R1: received v2I1, sent v2R1 | data for hmac: 11 82 81 f3 1e ab 4e 60 1a a6 a3 31 70 16 f0 6a | data for hmac: 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | data for hmac: 0c 80 e7 0b 5f b4 4e aa f6 70 3a 09 29 2b 51 6f | data for hmac: b0 ea 15 0c 44 e3 fa 0e 4a 54 88 41 6b a1 a5 e7 | data for hmac: c1 66 32 a1 02 db 17 7d db e5 f3 5f 1a 6a 58 78 | data for hmac: ac 41 df 4b ed f1 fe 0f f4 e2 1b ae 3b b8 e8 f7 | data for hmac: 6a 8a d5 1d 7d 70 22 dd 7d 80 dd 8e 40 ce f0 7d | data for hmac: b4 c5 80 df 91 de c0 d7 e4 78 3c 8f c2 9f 77 d6 | data for hmac: 12 de e9 e6 7f 68 da 4b ae fd 64 1d e2 97 12 da | data for hmac: fe 2c 70 cd 0c 86 da e3 94 9d 8c 9e 98 27 bc 8a | data for hmac: e2 86 46 c7 cc a1 b5 31 18 bf cd d4 af 56 db bb | data for hmac: 7f 9e 0a 4d 8e b9 d9 9c 23 ea d3 da 93 86 82 36 | data for hmac: df ce 6c e2 f8 76 14 4e 78 68 2a ed ab bf f8 2a | data for hmac: 00 f0 bf a6 c9 21 2f 91 0b 26 00 be 02 06 56 fb | data for hmac: 80 ad 38 13 29 09 4e d0 2a a1 8c a8 c8 ae 3e 4d | data for hmac: 95 97 fd 19 93 a3 51 cf ca 4f cd 01 39 20 88 34 | data for hmac: 1f d6 0a 27 55 70 1c c2 8f ed 7e 69 ab 58 6c 8f | data for hmac: a2 9e 9e d3 e8 7f 9f 6b a0 d7 e0 d1 e9 ed de 36 | data for hmac: 6e ca 2f 08 7b 18 e7 3d c8 21 20 a1 2a df ad c5 | data for hmac: 96 ab ec fd 5a 55 df 83 78 2a e1 3c 40 d8 37 ee | data for hmac: ad e7 d6 55 3e 60 60 58 25 f5 06 33 4d 70 c7 1f | data for hmac: a6 d5 37 b5 0e 87 3f 70 de 27 18 a7 79 f9 4c e9 | data for hmac: d0 b8 d9 59 05 48 38 d1 0e f2 0a a0 ca 67 a7 79 | data for hmac: 1c aa 2f f8 e2 dc ee d1 d0 19 2c be 9c 20 ab e1 | data for hmac: fd eb 46 18 47 8c 3c f0 1c c5 57 fc 13 9e 50 ee | data for hmac: d7 8b 46 10 0b c1 8f 91 df dd 04 45 31 81 fd 97 | data for hmac: 28 7f b6 45 e8 2a 62 c4 67 47 00 fa 3e 18 81 bd | data for hmac: 39 58 f4 5e 82 43 b2 4b 50 ba 15 9d 3a 76 aa 45 | data for hmac: df de 17 ac d6 30 19 cb 20 fe a1 88 2e 9a 1a 7c | calculated auth: 9c 62 2b c4 d3 4c 9c 94 d3 df 89 f0 3d 2a 98 b2 | provided auth: 9c 62 2b c4 d3 4c 9c 94 d3 df 89 f0 3d 2a 98 b2 | 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=0x55dc311abff0 (line=1) | concluding with best_match=002 best=0x55dc311abff0 (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.0329 milliseconds in try_all_keys() trying a pubkey "westnet-eastnet-ikev2" #5: Authenticated using RSA | #5 spent 0.0491 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@0x55dc311bce00 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x55dc311c2c20 | event_schedule: new EVENT_SA_REKEY-pe@0x55dc311c2c20 | inserting event EVENT_SA_REKEY, timeout in 3330 seconds for #5 | libevent_malloc: new ptr-libevent@0x55dc311bce00 size 128 | pstats #5 ikev2.ike established | **emit ISAKMP Message: | initiator cookie: | 11 82 81 f3 1e ab 4e 60 | responder cookie: | 1a a6 a3 31 70 16 f0 6a | 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=0x55dc311abff0 (line=1) | concluding with best_match=002 best=0x55dc311abff0 (lineno=1) | #5 spent 2.89 milliseconds in ikev2_calculate_rsa_hash() calling sign_hash_RSA() | emitting 274 raw bytes of rsa signature into IKEv2 Authentication Payload | rsa signature 63 b8 f8 fe ab 09 21 96 c5 71 e2 55 90 60 19 81 | rsa signature a7 52 4f 2c a1 e1 15 1e bc bb 97 2a 3e 56 b3 38 | rsa signature f1 41 12 17 5e f2 f2 2b 3b 8b d1 15 8a 5d 28 90 | rsa signature 9b 4a 75 46 04 48 1b e4 1a 31 fb 87 6b ad d8 93 | rsa signature b5 8d 26 2d 22 7d 06 be 5d 5a d0 77 59 52 ac 39 | rsa signature c6 39 bf 69 89 2a d6 1d 65 ef 1c ce 10 07 25 6c | rsa signature 35 66 84 eb eb 8f b5 9d 99 9b 2f c9 7a 4e ef 39 | rsa signature 40 98 f9 2a 70 8d 45 52 87 65 1e 68 e6 14 2a 91 | rsa signature 00 d3 8b 57 f2 5e 35 9f 26 7e ff 0e eb fb b6 78 | rsa signature a0 d0 7d 85 9b 07 a8 95 49 82 d9 fd d9 13 bc 82 | rsa signature 46 9c f2 83 7e 0c 07 c7 12 1e 74 4b f3 52 e3 c2 | rsa signature 91 94 3f 8d 56 21 2e aa 03 38 ae db fe 82 2e 6c | rsa signature af 18 ad c0 df 1e ca 50 29 7a d2 34 0a 34 be 6c | rsa signature c6 c6 c8 76 eb bd af 7d 9f 07 83 58 ad 99 aa 29 | rsa signature f1 ae c3 03 fa b4 0e 51 97 c0 fe 28 d2 4c c4 63 | rsa signature 9d dc 88 3e 90 fc e1 c9 91 51 8a ec 6a c0 2a 8b | rsa signature 6c 06 ec ab 71 d2 9b ae 1f 78 15 e2 aa e7 c4 d0 | rsa signature 78 7f | #5 spent 2.95 milliseconds in ikev2_calculate_rsa_hash() | emitting length of IKEv2 Authentication Payload: 282 | creating state object #6 at 0x55dc311c9720 | 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 ae 73 2e 87 | 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=ae732e87;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=ae732e87;ENCR=AES_CBC_256;INTEG=HMAC_SHA2_256_128;ESN=DISABLED | converting proposal to internal trans attrs | netlink_get_spi: allocated 0x4e1585f9 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 15 85 f9 | ******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.ae732e87@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.4e1585f9@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=0xae | 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=0xae732e87 SPI_OUT=0x4e1585f9 ipsec _updown 2>&1: | route_and_eroute: firewall_notified: true | route_and_eroute: instance "westnet-eastnet-ikev2", setting eroute_owner {spd=0x55dc311b7980,sr=0x55dc311b7980} to #6 (was #0) (newest_ipsec_sa=#0) | #5 spent 0.512 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: 11 82 81 f3 1e ab 4e 60 1a a6 a3 31 70 16 f0 6a | data being hmac: 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | data being hmac: 1b 2c 6e a6 87 6a 4d 2b b3 ce 41 66 53 ee 36 6f | data being hmac: 98 c3 6d c7 c4 65 9d da 14 d5 f2 71 0a 68 0a e5 | data being hmac: da 8c 52 05 81 0c ef fa 72 4e f5 39 3d 71 34 53 | data being hmac: 39 a5 23 cf 0a 14 e0 88 8d 45 c4 1c 41 11 f1 38 | data being hmac: 7a d9 1f 1e 0f cf 7c f2 f8 7b 0f cb fb bf 21 d1 | data being hmac: 6b 8f fd 25 c3 cd 8f bf 19 3f 67 06 82 47 10 be | data being hmac: 85 33 eb e4 b4 90 4b 17 11 43 55 cb ea b4 d5 6e | data being hmac: 42 91 25 54 0b f0 39 b2 20 a7 bb cd 06 85 55 61 | data being hmac: 4e 19 ce 04 df b1 14 12 6f 58 85 64 2c c6 f3 45 | data being hmac: 78 41 99 6d b7 c4 1d c4 53 bd ca 71 12 cb 59 13 | data being hmac: 80 7e 5e ef 1e 70 d0 7e 78 21 02 bf ef e5 a6 62 | data being hmac: ec f7 e0 a1 b0 0a 56 6d 67 be e2 36 a3 14 c6 8b | data being hmac: 61 f9 9c 26 67 ad 1c 62 39 83 d0 e4 a3 d5 24 1a | data being hmac: 29 dd f9 7c 9f c6 43 07 f4 b3 ef ae dd 3c 4c 06 | data being hmac: 06 0c bf f3 d2 3f 4d ee bb a2 85 b5 ca 56 f1 b0 | data being hmac: c5 25 fb 08 6a b0 85 0c 5c 3a 14 ec 4e d6 6e 80 | data being hmac: 76 26 07 e8 32 9a de b2 63 10 e0 c8 06 15 de e8 | data being hmac: fe 4b bc 77 53 09 63 39 ab 27 73 ad e2 6c a7 c3 | data being hmac: 42 df 00 00 71 6f a5 27 79 c2 5b b2 64 e3 85 f4 | data being hmac: 6f db ee d7 4b cb 0a 7a c2 c8 de d9 7f 04 a9 fa | data being hmac: 55 3b 76 30 86 5c 55 0e 6f f2 ab e3 bc 94 ac 14 | data being hmac: 5b db 39 70 6d 05 7f 75 31 6f fa da a0 7d 2c 05 | data being hmac: fb ab fd f6 2c 55 52 3f 19 09 d1 36 e5 7c 48 f1 | data being hmac: 65 37 47 ac 57 3d 81 04 8d a4 56 e4 e1 dc dd 0a | data being hmac: 33 99 5b d9 93 83 fd 77 6d 22 fb bf 78 ab bf 09 | data being hmac: b2 7b 28 60 d9 70 18 92 c4 84 ee ed d0 29 18 3b | out calculated auth: | 65 3f 50 f7 35 a8 0a 10 c6 38 97 33 07 71 94 6b | ikev2_parent_inI2outR2_continue_tail returned STF_OK | #5 spent 4.58 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=>0xae732e87 <0x4e1585f9 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) | 11 82 81 f3 1e ab 4e 60 1a a6 a3 31 70 16 f0 6a | 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | 1b 2c 6e a6 87 6a 4d 2b b3 ce 41 66 53 ee 36 6f | 98 c3 6d c7 c4 65 9d da 14 d5 f2 71 0a 68 0a e5 | da 8c 52 05 81 0c ef fa 72 4e f5 39 3d 71 34 53 | 39 a5 23 cf 0a 14 e0 88 8d 45 c4 1c 41 11 f1 38 | 7a d9 1f 1e 0f cf 7c f2 f8 7b 0f cb fb bf 21 d1 | 6b 8f fd 25 c3 cd 8f bf 19 3f 67 06 82 47 10 be | 85 33 eb e4 b4 90 4b 17 11 43 55 cb ea b4 d5 6e | 42 91 25 54 0b f0 39 b2 20 a7 bb cd 06 85 55 61 | 4e 19 ce 04 df b1 14 12 6f 58 85 64 2c c6 f3 45 | 78 41 99 6d b7 c4 1d c4 53 bd ca 71 12 cb 59 13 | 80 7e 5e ef 1e 70 d0 7e 78 21 02 bf ef e5 a6 62 | ec f7 e0 a1 b0 0a 56 6d 67 be e2 36 a3 14 c6 8b | 61 f9 9c 26 67 ad 1c 62 39 83 d0 e4 a3 d5 24 1a | 29 dd f9 7c 9f c6 43 07 f4 b3 ef ae dd 3c 4c 06 | 06 0c bf f3 d2 3f 4d ee bb a2 85 b5 ca 56 f1 b0 | c5 25 fb 08 6a b0 85 0c 5c 3a 14 ec 4e d6 6e 80 | 76 26 07 e8 32 9a de b2 63 10 e0 c8 06 15 de e8 | fe 4b bc 77 53 09 63 39 ab 27 73 ad e2 6c a7 c3 | 42 df 00 00 71 6f a5 27 79 c2 5b b2 64 e3 85 f4 | 6f db ee d7 4b cb 0a 7a c2 c8 de d9 7f 04 a9 fa | 55 3b 76 30 86 5c 55 0e 6f f2 ab e3 bc 94 ac 14 | 5b db 39 70 6d 05 7f 75 31 6f fa da a0 7d 2c 05 | fb ab fd f6 2c 55 52 3f 19 09 d1 36 e5 7c 48 f1 | 65 37 47 ac 57 3d 81 04 8d a4 56 e4 e1 dc dd 0a | 33 99 5b d9 93 83 fd 77 6d 22 fb bf 78 ab bf 09 | b2 7b 28 60 d9 70 18 92 c4 84 ee ed d0 29 18 3b | 65 3f 50 f7 35 a8 0a 10 c6 38 97 33 07 71 94 6b | 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@0x55dc311c3060 | inserting event EVENT_SA_REKEY, timeout in 28530 seconds for #6 | libevent_malloc: new ptr-libevent@0x7fac680054e0 size 128 | resume sending helper answer for #5 suppresed complete_v2_state_transition() | #5 spent 4.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@0x7fac5c004110 | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00319 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00278 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 80 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 11 82 81 f3 1e ab 4e 60 1a a6 a3 31 70 16 f0 6a | 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | 3d 80 41 29 eb 00 00 9b 00 ae 1e 9c 38 72 41 1a | 17 ef 24 0e 83 5a be 21 10 7e 56 6d 13 3f 32 7f | c6 16 bf a6 ac 7d cf be 40 37 74 af 67 21 6a 61 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 11 82 81 f3 1e ab 4e 60 | responder cookie: | 1a a6 a3 31 70 16 f0 6a | 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: 11 82 81 f3 1e ab 4e 60 1a a6 a3 31 70 16 f0 6a | data for hmac: 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | data for hmac: 3d 80 41 29 eb 00 00 9b 00 ae 1e 9c 38 72 41 1a | data for hmac: 17 ef 24 0e 83 5a be 21 10 7e 56 6d 13 3f 32 7f | calculated auth: c6 16 bf a6 ac 7d cf be 40 37 74 af 67 21 6a 61 | provided auth: c6 16 bf a6 ac 7d cf be 40 37 74 af 67 21 6a 61 | 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: | 11 82 81 f3 1e ab 4e 60 | responder cookie: | 1a a6 a3 31 70 16 f0 6a | 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 ae 73 2e 87 | delete PROTO_v2_ESP SA(0xae732e87) | 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(0xae732e87) "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.097s and NOT sending notification | child state #6: V2_IPSEC_R(established CHILD SA) => delete | get_sa_info esp.ae732e87@192.1.2.45 | get_sa_info esp.4e1585f9@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@0x7fac680054e0 | free_event_entry: release EVENT_SA_REKEY-pe@0x55dc311c3060 | 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='1569050240' 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='1569050240' 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=0xae732e87 SPI_OUT=0x4e1585f9 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.ae732e87@192.1.2.45 | netlink response for Del SA esp.ae732e87@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.4e1585f9@192.1.2.23 | netlink response for Del SA esp.4e1585f9@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 4e 15 85 f9 | emitting length of IKEv2 Delete Payload: 12 | adding 4 bytes of padding (including 1 byte padding-length) | emitting 1 0x00 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x01 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x02 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x03 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 16 zero bytes of length of truncated HMAC/KEY into IKEv2 Encryption Payload | emitting length of IKEv2 Encryption Payload: 52 | emitting length of ISAKMP Message: 80 | data being hmac: 11 82 81 f3 1e ab 4e 60 1a a6 a3 31 70 16 f0 6a | data being hmac: 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | data being hmac: 0f 18 58 36 02 f8 24 dc 9a 57 37 74 ae ab 4f 5b | data being hmac: d0 0d 6e f3 90 6c ac 63 4d 18 92 43 4e c1 f2 5a | out calculated auth: | 09 2c 2d 7b 88 85 50 cc 83 3f f5 7e c6 f9 6a d7 | sending 80 bytes for reply packet for process_encrypted_informational_ikev2 through eth1 from 192.1.2.23:500 to 192.1.2.45:500 (using #5) | 11 82 81 f3 1e ab 4e 60 1a a6 a3 31 70 16 f0 6a | 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | 0f 18 58 36 02 f8 24 dc 9a 57 37 74 ae ab 4f 5b | d0 0d 6e f3 90 6c ac 63 4d 18 92 43 4e c1 f2 5a | 09 2c 2d 7b 88 85 50 cc 83 3f f5 7e c6 f9 6a d7 | Message ID: #5 XXX: in process_encrypted_informational_ikev2() hacking around record'n'send bypassing send queue hacking around delete_my_family(); initiator.sent=-1 initiator.recv=-1 responder.sent=1 responder.recv=1 wip.initiator=-1 wip.responder=2 | Message ID: sent #5 response 2; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=1->2 responder.recv=1 wip.initiator=-1 wip.responder=2 | #5 spent 0.593 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.74 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.749 milliseconds in comm_handle_cb() reading and processing packet | spent 0.00142 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 80 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 11 82 81 f3 1e ab 4e 60 1a a6 a3 31 70 16 f0 6a | 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | 07 38 13 00 a0 4b 38 59 43 87 f4 34 26 b3 96 ad | 53 9e 9d fa 64 61 ee d4 09 1f da 09 e2 89 f4 66 | ff ec a3 6f f2 3c bc 4d 68 e1 13 51 e2 5a 96 d3 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 11 82 81 f3 1e ab 4e 60 | responder cookie: | 1a a6 a3 31 70 16 f0 6a | 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: 11 82 81 f3 1e ab 4e 60 1a a6 a3 31 70 16 f0 6a | data for hmac: 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | data for hmac: 07 38 13 00 a0 4b 38 59 43 87 f4 34 26 b3 96 ad | data for hmac: 53 9e 9d fa 64 61 ee d4 09 1f da 09 e2 89 f4 66 | calculated auth: ff ec a3 6f f2 3c bc 4d 68 e1 13 51 e2 5a 96 d3 | provided auth: ff ec a3 6f f2 3c bc 4d 68 e1 13 51 e2 5a 96 d3 | 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: | 11 82 81 f3 1e ab 4e 60 | responder cookie: | 1a a6 a3 31 70 16 f0 6a | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_INFORMATIONAL (0x25) | flags: ISAKMP_FLAG_v2_MSG_RESPONSE (0x20) | Message ID: 3 (0x3) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | ***emit IKEv2 Encryption Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'ISAKMP Message'.'next payload type' to current IKEv2 Encryption Payload (46:ISAKMP_NEXT_v2SK) | next payload chain: saving location 'IKEv2 Encryption Payload'.'next payload type' in 'information exchange reply packet' | emitting 16 zero bytes of IV into IKEv2 Encryption Payload | adding 16 bytes of padding (including 1 byte padding-length) | emitting 1 0x00 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x01 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x02 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x03 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x04 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x05 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x06 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x07 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x08 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x09 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x0a repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x0b repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x0c repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x0d repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x0e repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x0f repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 16 zero bytes of length of truncated HMAC/KEY into IKEv2 Encryption Payload | emitting length of IKEv2 Encryption Payload: 52 | emitting length of ISAKMP Message: 80 | data being hmac: 11 82 81 f3 1e ab 4e 60 1a a6 a3 31 70 16 f0 6a | data being hmac: 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | data being hmac: af fa 41 cb ad 6a 6b fe da 8e a6 b2 28 70 f9 26 | data being hmac: 09 9b ac 53 1a ed 47 3f 54 84 2b 38 63 70 1b e8 | out calculated auth: | d6 60 be 9b 6e cf 5c 5d b0 90 5f 69 d8 45 06 90 | 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) | 11 82 81 f3 1e ab 4e 60 1a a6 a3 31 70 16 f0 6a | 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | af fa 41 cb ad 6a 6b fe da 8e a6 b2 28 70 f9 26 | 09 9b ac 53 1a ed 47 3f 54 84 2b 38 63 70 1b e8 | d6 60 be 9b 6e cf 5c 5d b0 90 5f 69 d8 45 06 90 | 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 11.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.123s 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@0x55dc311bce00 | free_event_entry: release EVENT_SA_REKEY-pe@0x55dc311c2c20 | 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: 0x55dc3113a220 @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.336 milliseconds in comm_handle_cb() reading and processing packet | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00357 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.0026 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) | 38 2d 06 8f c1 b6 9e d9 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 | 5a cf 59 5b 66 93 42 61 2b 91 89 af c9 fa 4b 24 | 2c ff 77 e6 81 77 b9 f2 a6 11 9f a5 5c 88 96 f8 | aa 9f ec 0f 08 ef 46 6a 5f 2a 71 1d 6a 63 c5 47 | bc 8a 31 5f 3a 33 67 cf 29 bc 20 63 b0 0f ae e3 | 0c ac d1 0e a5 28 33 44 bc fd 25 7a 45 0c 5c af | fc 14 0b 39 a3 8a b0 c1 81 08 8b b4 e6 4f d1 1c | ba 7f 76 a0 5e c3 82 04 eb ec f2 a2 66 b4 04 89 | cd 67 c1 03 5a 3f 9a ff 60 2b 2b f0 92 ee 09 b5 | 66 0f 26 98 14 0d 4b d0 d5 9b 13 8e 84 64 94 f1 | 43 c5 5b 8a 3d de b6 07 1d 86 8c a9 8b d0 98 a5 | b5 9e 18 90 40 db 3a 9f 7b 60 16 bb 9d 8e e0 75 | 20 bb 3d a5 b9 9d da eb b3 64 a5 84 82 e5 7f e5 | 74 6f 6e f6 1b fe b7 25 94 b1 d9 71 e0 f3 38 89 | 35 a6 b9 93 b6 6e ad 78 67 67 fc 30 55 76 cc bc | dc c9 b6 d0 10 62 fe f8 03 e4 61 55 f5 4f 1f 9c | f3 1b cf ab 73 38 d7 a7 36 c6 b0 8c 44 89 04 66 | 0e fc cc 04 03 3e 4f 0a 38 33 55 38 c5 e0 1f 38 | b3 ae 64 a4 ec ee c3 b5 3b dd dc 54 8d 2b 8c 77 | da cf 9a 47 98 1b d1 45 5e 78 a8 de 50 3d f7 fc | 77 1f 2f cd 2c 53 ca 33 e7 2a 80 69 fc d9 e3 56 | 1c f8 af f6 84 08 69 b9 81 53 12 f9 1d 2c 7d f4 | 4b 90 89 ed 05 ce 03 9c 5f b9 13 be f3 d5 cc f6 | a3 51 b7 0a 08 11 c7 1a d9 ea 66 e3 73 61 44 cd | 04 09 17 cb 6f 49 88 2a 81 c8 b1 f3 d3 0b 08 16 | 53 4e da 93 3c 54 24 3c b8 98 db 88 1d 1a 54 fa | 15 36 75 02 ff d2 b3 68 e1 f1 92 c0 f8 8f 2b 36 | 69 86 9c e7 d8 70 68 71 29 2c 4b 6f 84 70 f3 d0 | 4c e6 45 f5 68 f1 40 e1 3a f7 06 7c e9 66 b4 27 | b6 c1 7d bf 13 1d a2 15 c7 17 4a 49 81 94 6f 89 | f0 ba 09 84 83 e0 ab f5 81 79 30 c5 42 c1 73 a8 | 7a 45 5b b8 80 9e 31 f0 f3 d2 d5 54 25 16 24 fb | 98 70 b0 d5 af 4a fe a3 ba 11 17 86 d0 f0 78 0d | 67 c6 dc 50 82 42 7e 7b fb 9d 92 5c 9f c7 27 6b | 44 d0 3a ec cc 38 61 55 8c cd 3a 6f e8 ab 97 a4 | f8 29 2c 18 ae 69 13 60 19 4a 9c e0 61 28 ac 87 | 91 2a f9 cc 61 4e 1d ac 0b d6 da c5 05 80 c3 c9 | ae a2 58 f3 d1 0c ed 3a 82 43 0d a9 ca c5 b7 af | 81 24 46 7e 0e 64 81 7f c3 d2 c4 ed 61 b5 36 4b | 9a 5f 12 c9 71 c5 57 ac d5 a2 fa 89 c4 89 ae 41 | 3e 2c 82 7f b9 78 b0 a1 24 fe 39 db dc c7 9f 9b | 49 16 ca 69 be 89 0c a1 0f 6b 9d 0a 6e f6 b9 4c | f6 5e 55 92 89 cf 4a de a7 13 2f e4 86 83 fd d8 | 55 f9 f3 7b ee 89 19 89 21 c7 34 6b 2b 67 a8 c7 | 0d 58 f5 e1 48 ff f4 da 10 f0 7a c3 39 38 80 5d | e9 56 b6 51 03 21 79 4d 1c 0d b1 2d 9c e1 39 26 | 9d 15 f7 5c 50 3b 55 34 35 3f 94 7e e8 dc 8a 49 | 06 ee 3e b0 58 cc fd 03 da ef 14 ba 4b 6f 2d 6e | 0b d8 d6 11 cd 0b d2 c0 3f 2f c4 f0 ae 1d c8 81 | 84 b2 7e 23 86 c2 10 9d 37 3c d1 f3 6a ab 9c 8b | b8 32 84 74 2f e8 0d c8 94 a9 00 40 91 a4 31 79 | af ca 08 98 1d 10 69 02 36 a2 96 97 07 08 9e 6a | f3 2e 22 50 0a f4 c7 9c 95 ef 60 b2 a2 eb 83 13 | 27 91 e8 22 cc 98 81 aa f7 45 36 1c a4 b8 68 26 | a8 d9 2d e4 49 d3 6e 42 e3 ba a3 31 21 2d 0a bd | a0 29 a1 50 23 bd a6 3a 27 6f cb 45 9d 1b 5b e4 | 2e 2a a5 6d 9c 84 2c cb 82 46 df 3e a1 53 fb 8e | c4 4b 74 bf 26 22 16 1a 5e b8 41 e7 14 18 f6 47 | 33 3a f1 0a c8 73 90 b1 be 37 51 f9 77 4e c2 5c | a3 1f e5 ca 87 2b 62 a4 d5 9d 41 3e a7 80 2a 04 | 87 4b 16 9b 27 ed 89 4f d6 e5 c9 7a e0 94 81 aa | 69 3d 5b 3c 4b 13 5b d5 b7 3e ba bb 00 ad 44 7c | 28 dd ef 2a be b2 43 35 0c cd 2d de 87 d0 64 96 | 88 5d 49 0c b3 e5 55 09 b4 37 28 ef ec d6 fc 87 | c0 40 37 41 58 7d 81 ae 54 c3 30 83 f9 71 b8 f9 | 29 00 00 24 be 90 cf 3d 79 f3 37 1d 4c 40 4a c5 | 31 ad 87 63 33 0f cf e7 a6 dc fc e5 83 a7 0b d5 | 4f 01 b4 4d 29 00 00 08 00 00 40 2e 29 00 00 1c | 00 00 40 04 7c ce 37 f9 57 8d d0 b9 bb b5 06 d5 | 83 cd 2d bc d5 90 97 e5 00 00 00 1c 00 00 40 05 | 62 3f 36 d9 ea 3b 42 08 e2 16 1c cd 43 54 e6 25 | 66 fb 1c 29 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 38 2d 06 8f c1 b6 9e d9 | 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 0x55dc311bd3a0 | 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=0x55dc304957a0(20) | natd_hash: icookie= 38 2d 06 8f c1 b6 9e d9 | 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= 62 3f 36 d9 ea 3b 42 08 e2 16 1c cd 43 54 e6 25 | natd_hash: hash= 66 fb 1c 29 | natd_hash: rcookie is zero | natd_hash: hasher=0x55dc304957a0(20) | natd_hash: icookie= 38 2d 06 8f c1 b6 9e d9 | 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 ce 37 f9 57 8d d0 b9 bb b5 06 d5 83 cd 2d bc | natd_hash: hash= d5 90 97 e5 | NAT_TRAVERSAL encaps using auto-detect | NAT_TRAVERSAL this end is NOT behind NAT | NAT_TRAVERSAL that end is NOT behind NAT | NAT_TRAVERSAL nat-keepalive enabled 192.1.2.45 | adding ikev2_inI1outR1 KE work-order 7 for state #7 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x55dc311c3060 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #7 | libevent_malloc: new ptr-libevent@0x7fac680054e0 size 128 | #7 spent 0.194 milliseconds in processing: Respond to IKE_SA_INIT in ikev2_process_state_packet() | crypto helper 6 resuming | [RE]START processing: state #7 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3376) | crypto helper 6 starting work-order 7 for state #7 | #7 complete_v2_state_transition() PARENT_R0->PARENT_R1 with status STF_SUSPEND | suspending state #7 and saving MD | #7 is busy; has a suspended MD | crypto helper 6 doing build KE and nonce (ikev2_inI1outR1 KE); request ID 7 | [RE]START processing: state #7 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in log_stf_suspend() at ikev2.c:3266) | "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.485 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.496 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.018055 seconds | (#7) spent 18 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@0x7fac60002660 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 0x55dc303bf630 | ikev2_parent_inI1outR1_continue for #7: calculated ke+nonce, sending R1 | **emit ISAKMP Message: | initiator cookie: | 38 2d 06 8f c1 b6 9e d9 | responder cookie: | 81 b9 e2 22 df 7a 98 3c | 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 08 e5 2c 64 8a d9 71 ba d7 bb 8b 20 3a 06 3a d2 | ikev2 g^x 86 c0 38 9a 8c 81 5d 4c a3 de 92 4b 9f 52 2b c2 | ikev2 g^x 83 82 8b 52 d8 8a d3 5b 97 3d 5d 25 76 46 4c 84 | ikev2 g^x 27 d0 2a 3e 7d 39 98 c6 9a 03 29 0b 8d e8 15 21 | ikev2 g^x ac 96 61 67 48 37 a6 72 fa 4f 97 11 22 df eb 7c | ikev2 g^x e9 4c d1 4a 33 f9 74 b1 11 2a 9b 62 18 c8 25 5d | ikev2 g^x 2b d4 87 6a 43 0b e2 73 d7 24 7e 74 ee 86 6d 25 | ikev2 g^x 0b 06 79 9b a2 d6 63 46 e8 64 e4 bc 7d 4b 4a 34 | ikev2 g^x 93 ae e2 f5 b7 c1 c9 bd 0a 9f 64 7e e9 fc 46 02 | ikev2 g^x 49 a1 33 ef 56 43 66 da 34 c8 2e 66 98 53 86 58 | ikev2 g^x 01 0d 68 ba ac df ed 20 0e f5 75 1c 73 6b 3f 1a | ikev2 g^x d5 ae 2f 84 ff 5f e8 42 92 17 13 9f 32 0f 8a 3e | ikev2 g^x 43 33 21 f3 bd c0 0c 60 63 d5 84 12 0e 32 f5 d4 | ikev2 g^x 75 1b 9f f3 95 e2 ca b0 b7 cd 7b 62 55 06 a2 ae | ikev2 g^x 06 d9 a9 dd f3 fe b8 ad cc a2 48 13 83 9d c2 00 | ikev2 g^x f8 00 cc 64 ef 4f 7d 34 d3 45 86 29 19 bd 80 68 | ikev2 g^x b6 a5 0e 85 97 f5 1d be 6f aa a6 11 35 07 38 73 | ikev2 g^x 76 c9 0b 4e 19 0b 77 0a e2 37 d6 f4 00 79 0a 38 | ikev2 g^x 23 1f d3 43 07 83 21 51 c4 f9 92 21 47 b7 8e c3 | ikev2 g^x 67 b0 aa c3 c3 5a d3 99 ff 30 1d 41 fc 1b 28 07 | ikev2 g^x 7f 2c 40 4f 5b cf 46 e7 bf f6 d7 b1 64 da 88 50 | ikev2 g^x 60 0a b7 f2 db 2c eb 0d 3a 12 24 83 de 3b 6d 54 | ikev2 g^x 8e 7e a2 92 bb 80 5d 20 63 69 70 7d 4f 66 b0 ce | ikev2 g^x 56 8e 94 3b f2 fe 19 e6 7b 31 70 f3 14 63 4a 43 | ikev2 g^x 9e 24 46 92 9d 2f 80 0b 5d 52 25 90 d5 a5 aa dd | ikev2 g^x d2 1a 2c 2f 89 6c c9 4c 63 20 d0 91 2f d9 90 70 | ikev2 g^x 0d 3f a8 a7 91 0f 8b ae 36 5b 91 c4 9c 2a 7d 8f | ikev2 g^x bc b1 3a c7 d6 0a 24 62 89 15 fc 3c 00 4e f6 0a | ikev2 g^x 33 63 f3 4d d8 b5 24 e7 3b da 35 36 e0 db 49 ab | ikev2 g^x 1b 9a 70 a7 3b 1c 5d 8f ac 7c b2 b6 c0 67 1b 35 | ikev2 g^x eb 16 2b 8f ef fc 75 7a 6f 7a 65 24 ab 8d 11 f7 | ikev2 g^x fd 09 76 f2 7f 62 12 a2 a1 cd d5 62 d2 91 54 fb | ikev2 g^x 4a 77 5e ea 69 14 86 4b 7e 35 0f 3d 9d 6d 88 d8 | ikev2 g^x 87 44 6b d2 8d 81 a9 f6 9a 1a 60 f5 e0 19 c7 d6 | ikev2 g^x a1 d5 9f 55 68 a4 1f ec b1 81 b0 e8 cc b9 c5 6b | ikev2 g^x a0 99 aa 85 b4 29 14 11 1e f2 21 b9 4a ee 77 5b | ikev2 g^x 0e a4 e0 24 43 86 5b d8 da 9c 26 b4 2f 04 e2 9c | ikev2 g^x ab 20 a8 12 39 b8 47 e4 ef 55 d2 9d 94 78 89 08 | ikev2 g^x 3e a6 a1 9e ba d3 2f 27 50 19 2a 41 4a 62 eb 37 | ikev2 g^x 33 bb 47 f7 2a a5 0c 5f f0 c8 03 22 32 18 ec 5f | ikev2 g^x cc 51 f2 8d d7 d3 61 e1 a0 68 06 4e 89 ab 92 49 | ikev2 g^x cb 10 fc 34 45 ad b9 9c f8 0e 30 a3 4c 3c b9 d2 | ikev2 g^x f2 dd 04 29 2f e1 86 0d d5 97 20 80 d4 59 1c fd | ikev2 g^x e9 6e 15 ce 06 a5 8d 00 8f 48 d2 24 e8 93 d1 3e | ikev2 g^x bc 93 ca 6c 9b b2 76 ab 99 6f 22 67 b7 e6 7c a7 | ikev2 g^x 08 66 eb 14 b4 97 5e 46 02 75 17 6b 0d 21 d2 a8 | ikev2 g^x 1c 22 3e bd cd fc 36 9a b1 c1 98 97 22 71 92 54 | ikev2 g^x 68 76 72 c7 63 64 04 46 5a 1b 05 04 71 f6 12 08 | ikev2 g^x 8f 24 cc 0f 5c 8e 39 3f 4a 05 2f a5 82 04 99 be | ikev2 g^x b5 01 7e f7 4d 0c 67 ab 67 17 85 91 a3 33 a5 f0 | ikev2 g^x 80 bd 1d 96 e5 c5 33 4d f2 bf 8d ac cc 0b cf f7 | ikev2 g^x 45 a8 58 41 23 03 ce 9b 6f 78 98 0c 4f d1 cf 1a | ikev2 g^x 8d 7c 18 36 35 69 ad 4e fa 89 b4 10 91 a5 df 62 | ikev2 g^x 4a e4 1b 49 4b 02 05 71 ba 8c e8 4e d9 82 7a 48 | ikev2 g^x 16 b7 8e 74 b6 af 2b 94 fe 82 f0 20 64 b8 74 70 | ikev2 g^x 77 f5 c7 28 c5 14 fd 0f 7d 76 db 25 5d 85 c0 09 | ikev2 g^x 63 a6 12 5b 2d 06 ce 49 34 ad ba c8 7d c8 47 3a | ikev2 g^x 1d d4 15 e0 99 eb 7a 38 44 ab 98 40 4a 58 44 60 | ikev2 g^x 33 e0 a7 b5 7a 38 35 6b 26 1f be 9d 58 c6 c8 51 | ikev2 g^x 08 2e 94 d5 64 ce ce 71 da 47 7a 7b 8b 53 cc 8d | ikev2 g^x 3e f8 8d 7a 60 85 7b 71 4e 1e 95 26 f6 7d ad 5d | ikev2 g^x 41 d7 92 f3 10 34 f8 bb 62 29 db b7 b8 71 7e da | ikev2 g^x b8 c1 a2 16 62 9c 24 13 d8 6e 4a 0b d5 48 a4 f9 | ikev2 g^x d3 b0 bd dc fe 64 a9 2e 1b 8b 25 07 51 48 13 05 | 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 d8 6d 0b 9c 4a 82 c9 44 b0 92 37 09 bb 0a e6 72 | IKEv2 nonce 8f 12 49 08 b8 3d 35 db 0f c3 ac c5 46 e5 1b 7c | 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=0x55dc304957a0(20) | natd_hash: icookie= 38 2d 06 8f c1 b6 9e d9 | natd_hash: rcookie= 81 b9 e2 22 df 7a 98 3c | natd_hash: ip= c0 01 02 17 | natd_hash: port= 01 f4 | natd_hash: hash= 4c 3c 5b 6c 48 70 51 cf 61 82 aa 7a 4a 22 a1 1e | natd_hash: hash= 72 1c 03 cc | 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 4c 3c 5b 6c 48 70 51 cf 61 82 aa 7a 4a 22 a1 1e | Notify data 72 1c 03 cc | emitting length of IKEv2 Notify Payload: 28 | natd_hash: hasher=0x55dc304957a0(20) | natd_hash: icookie= 38 2d 06 8f c1 b6 9e d9 | natd_hash: rcookie= 81 b9 e2 22 df 7a 98 3c | natd_hash: ip= c0 01 02 2d | natd_hash: port= 01 f4 | natd_hash: hash= 76 fd c4 fd db a8 1b a2 89 a4 e4 93 06 ad f4 4b | natd_hash: hash= e8 f1 b4 4a | Adding a v2N Payload | ***emit IKEv2 Notify Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | Notify Message Type: v2N_NAT_DETECTION_DESTINATION_IP (0x4005) | next payload chain: setting previous 'IKEv2 Notify Payload'.'next payload type' to current IKEv2 Notify Payload (41:ISAKMP_NEXT_v2N) | next payload chain: saving location 'IKEv2 Notify Payload'.'next payload type' in 'reply packet' | emitting 20 raw bytes of Notify data into IKEv2 Notify Payload | Notify data 76 fd c4 fd db a8 1b a2 89 a4 e4 93 06 ad f4 4b | Notify data e8 f1 b4 4a | 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) | 38 2d 06 8f c1 b6 9e d9 81 b9 e2 22 df 7a 98 3c | 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 08 e5 2c 64 8a d9 71 ba d7 bb 8b 20 | 3a 06 3a d2 86 c0 38 9a 8c 81 5d 4c a3 de 92 4b | 9f 52 2b c2 83 82 8b 52 d8 8a d3 5b 97 3d 5d 25 | 76 46 4c 84 27 d0 2a 3e 7d 39 98 c6 9a 03 29 0b | 8d e8 15 21 ac 96 61 67 48 37 a6 72 fa 4f 97 11 | 22 df eb 7c e9 4c d1 4a 33 f9 74 b1 11 2a 9b 62 | 18 c8 25 5d 2b d4 87 6a 43 0b e2 73 d7 24 7e 74 | ee 86 6d 25 0b 06 79 9b a2 d6 63 46 e8 64 e4 bc | 7d 4b 4a 34 93 ae e2 f5 b7 c1 c9 bd 0a 9f 64 7e | e9 fc 46 02 49 a1 33 ef 56 43 66 da 34 c8 2e 66 | 98 53 86 58 01 0d 68 ba ac df ed 20 0e f5 75 1c | 73 6b 3f 1a d5 ae 2f 84 ff 5f e8 42 92 17 13 9f | 32 0f 8a 3e 43 33 21 f3 bd c0 0c 60 63 d5 84 12 | 0e 32 f5 d4 75 1b 9f f3 95 e2 ca b0 b7 cd 7b 62 | 55 06 a2 ae 06 d9 a9 dd f3 fe b8 ad cc a2 48 13 | 83 9d c2 00 f8 00 cc 64 ef 4f 7d 34 d3 45 86 29 | 19 bd 80 68 b6 a5 0e 85 97 f5 1d be 6f aa a6 11 | 35 07 38 73 76 c9 0b 4e 19 0b 77 0a e2 37 d6 f4 | 00 79 0a 38 23 1f d3 43 07 83 21 51 c4 f9 92 21 | 47 b7 8e c3 67 b0 aa c3 c3 5a d3 99 ff 30 1d 41 | fc 1b 28 07 7f 2c 40 4f 5b cf 46 e7 bf f6 d7 b1 | 64 da 88 50 60 0a b7 f2 db 2c eb 0d 3a 12 24 83 | de 3b 6d 54 8e 7e a2 92 bb 80 5d 20 63 69 70 7d | 4f 66 b0 ce 56 8e 94 3b f2 fe 19 e6 7b 31 70 f3 | 14 63 4a 43 9e 24 46 92 9d 2f 80 0b 5d 52 25 90 | d5 a5 aa dd d2 1a 2c 2f 89 6c c9 4c 63 20 d0 91 | 2f d9 90 70 0d 3f a8 a7 91 0f 8b ae 36 5b 91 c4 | 9c 2a 7d 8f bc b1 3a c7 d6 0a 24 62 89 15 fc 3c | 00 4e f6 0a 33 63 f3 4d d8 b5 24 e7 3b da 35 36 | e0 db 49 ab 1b 9a 70 a7 3b 1c 5d 8f ac 7c b2 b6 | c0 67 1b 35 eb 16 2b 8f ef fc 75 7a 6f 7a 65 24 | ab 8d 11 f7 fd 09 76 f2 7f 62 12 a2 a1 cd d5 62 | d2 91 54 fb 4a 77 5e ea 69 14 86 4b 7e 35 0f 3d | 9d 6d 88 d8 87 44 6b d2 8d 81 a9 f6 9a 1a 60 f5 | e0 19 c7 d6 a1 d5 9f 55 68 a4 1f ec b1 81 b0 e8 | cc b9 c5 6b a0 99 aa 85 b4 29 14 11 1e f2 21 b9 | 4a ee 77 5b 0e a4 e0 24 43 86 5b d8 da 9c 26 b4 | 2f 04 e2 9c ab 20 a8 12 39 b8 47 e4 ef 55 d2 9d | 94 78 89 08 3e a6 a1 9e ba d3 2f 27 50 19 2a 41 | 4a 62 eb 37 33 bb 47 f7 2a a5 0c 5f f0 c8 03 22 | 32 18 ec 5f cc 51 f2 8d d7 d3 61 e1 a0 68 06 4e | 89 ab 92 49 cb 10 fc 34 45 ad b9 9c f8 0e 30 a3 | 4c 3c b9 d2 f2 dd 04 29 2f e1 86 0d d5 97 20 80 | d4 59 1c fd e9 6e 15 ce 06 a5 8d 00 8f 48 d2 24 | e8 93 d1 3e bc 93 ca 6c 9b b2 76 ab 99 6f 22 67 | b7 e6 7c a7 08 66 eb 14 b4 97 5e 46 02 75 17 6b | 0d 21 d2 a8 1c 22 3e bd cd fc 36 9a b1 c1 98 97 | 22 71 92 54 68 76 72 c7 63 64 04 46 5a 1b 05 04 | 71 f6 12 08 8f 24 cc 0f 5c 8e 39 3f 4a 05 2f a5 | 82 04 99 be b5 01 7e f7 4d 0c 67 ab 67 17 85 91 | a3 33 a5 f0 80 bd 1d 96 e5 c5 33 4d f2 bf 8d ac | cc 0b cf f7 45 a8 58 41 23 03 ce 9b 6f 78 98 0c | 4f d1 cf 1a 8d 7c 18 36 35 69 ad 4e fa 89 b4 10 | 91 a5 df 62 4a e4 1b 49 4b 02 05 71 ba 8c e8 4e | d9 82 7a 48 16 b7 8e 74 b6 af 2b 94 fe 82 f0 20 | 64 b8 74 70 77 f5 c7 28 c5 14 fd 0f 7d 76 db 25 | 5d 85 c0 09 63 a6 12 5b 2d 06 ce 49 34 ad ba c8 | 7d c8 47 3a 1d d4 15 e0 99 eb 7a 38 44 ab 98 40 | 4a 58 44 60 33 e0 a7 b5 7a 38 35 6b 26 1f be 9d | 58 c6 c8 51 08 2e 94 d5 64 ce ce 71 da 47 7a 7b | 8b 53 cc 8d 3e f8 8d 7a 60 85 7b 71 4e 1e 95 26 | f6 7d ad 5d 41 d7 92 f3 10 34 f8 bb 62 29 db b7 | b8 71 7e da b8 c1 a2 16 62 9c 24 13 d8 6e 4a 0b | d5 48 a4 f9 d3 b0 bd dc fe 64 a9 2e 1b 8b 25 07 | 51 48 13 05 29 00 00 24 d8 6d 0b 9c 4a 82 c9 44 | b0 92 37 09 bb 0a e6 72 8f 12 49 08 b8 3d 35 db | 0f c3 ac c5 46 e5 1b 7c 29 00 00 08 00 00 40 2e | 29 00 00 1c 00 00 40 04 4c 3c 5b 6c 48 70 51 cf | 61 82 aa 7a 4a 22 a1 1e 72 1c 03 cc 00 00 00 1c | 00 00 40 05 76 fd c4 fd db a8 1b a2 89 a4 e4 93 | 06 ad f4 4b e8 f1 b4 4a | state #7 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x7fac680054e0 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x55dc311c3060 | event_schedule: new EVENT_SO_DISCARD-pe@0x55dc311c3060 | inserting event EVENT_SO_DISCARD, timeout in 200 seconds for #7 | libevent_malloc: new ptr-libevent@0x7fac680054e0 size 128 | resume sending helper answer for #7 suppresed complete_v2_state_transition() | #7 spent 0.55 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@0x7fac60002660 | spent 0.00269 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) | 38 2d 06 8f c1 b6 9e d9 81 b9 e2 22 df 7a 98 3c | 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | a4 ff e8 e7 11 c0 8c 89 d4 3c fb b1 64 f9 f9 c9 | e3 03 72 e3 af 5e 84 ce ab 5e 97 b0 d6 5a 18 3a | 0b 00 99 41 0f 89 c8 5f a7 32 81 5f 16 1e f9 8c | bc 6e b2 14 ef 9e b9 47 0c 84 aa 16 d8 95 b2 19 | b5 0d 9e ce 9d b5 9f e3 0a c4 5c f5 9f b3 d6 31 | 75 57 f7 e4 ce 22 05 8b 25 99 97 56 7f dc 3a 2f | 26 02 c7 41 52 09 f1 cf 95 c0 0f 3f 0b 11 5e 22 | bb 40 3e a6 02 bc aa 04 74 12 42 71 3d 56 17 00 | 8d d0 0b 93 03 dc 4c c2 2d fb 9d 16 cd bb ad 51 | a5 35 4c 17 e2 40 79 c4 1a 35 09 72 d7 45 f6 86 | d6 d9 b0 c9 cc 24 19 60 2f 8a e5 60 bc 1f 86 af | 5f 1a 6c aa dd 2c 9a 74 f7 0c 3f f7 ea 9f db ea | 3d 9b 82 05 81 ed cc 62 03 1b 1f 47 3a ac 46 05 | 2f 8f 19 ce 7f 5a cd 98 e3 40 2c 86 26 f1 92 52 | e5 fb 99 c7 78 8b c5 fa e1 2b f0 f9 39 3e 5b 28 | 68 46 b2 9b d5 79 09 e1 ee 53 81 73 c4 6c 2a ec | 1f 4f 05 62 da 7e a5 66 3e 91 c6 a6 52 0e 65 b6 | 9c 99 dd cb 24 c7 a6 39 b4 78 ab 65 d6 7e 9f ae | 0a 91 68 9f 3f 7f 2c 21 9b 12 58 6b 03 f0 3f 6b | e2 1e d4 2f 0d d6 6e 10 8c fa 93 14 79 c1 f5 c0 | 8e 6c 20 57 4b a8 29 ac 33 bc de 99 e7 e3 92 d1 | 38 1d be ad 41 31 7f 7f 57 4e 2e e8 6e f8 f7 03 | cd fa 40 9c d3 90 15 e0 72 f9 f7 3a 3d d8 02 5b | ac ee 8f 7a 4e ce 0f 2d 52 04 3e c2 c0 64 dd db | ca a2 9b e3 e5 23 c2 27 78 d1 c9 ab d0 59 06 ac | e8 45 b4 6a 54 d6 f8 2a 58 ff 6b 9a 50 1d e6 78 | e5 37 77 0a ab 36 7f e1 66 2a 9d 27 67 47 a6 16 | af ac e0 90 7f 48 b1 76 5e da f8 be 23 74 83 18 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 38 2d 06 8f c1 b6 9e d9 | responder cookie: | 81 b9 e2 22 df 7a 98 3c | 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@0x7fac680054e0 | free_event_entry: release EVENT_SO_DISCARD-pe@0x55dc311c3060 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x55dc311c3060 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #7 | libevent_malloc: new ptr-libevent@0x7fac60002660 size 128 | #7 spent 0.0301 milliseconds in processing: Responder: process IKE_AUTH request (no SKEYSEED) in ikev2_process_state_packet() | crypto helper 2 resuming | [RE]START processing: state #7 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3376) | crypto helper 2 starting work-order 8 for state #7 | #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 | crypto helper 2 doing compute dh (V2) (ikev2_inI2outR2 KE); request ID 8 | [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.176 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.188 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 8 time elapsed 0.023631 seconds | (#7) spent 23.6 milliseconds in crypto helper computing work-order 8: ikev2_inI2outR2 KE (pcr) | crypto helper 2 sending results from work-order 8 for state #7 to event queue | scheduling resume sending helper answer for #7 | libevent_malloc: new ptr-libevent@0x7fac74004380 size 128 | crypto helper 2 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 2 replies to request ID 8 | calling continuation function 0x55dc303bf630 | ikev2_parent_inI2outR2_continue for #7: calculating g^{xy}, sending R2 | #7 in state PARENT_R1: received v2I1, sent v2R1 | data for hmac: 38 2d 06 8f c1 b6 9e d9 81 b9 e2 22 df 7a 98 3c | data for hmac: 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | data for hmac: a4 ff e8 e7 11 c0 8c 89 d4 3c fb b1 64 f9 f9 c9 | data for hmac: e3 03 72 e3 af 5e 84 ce ab 5e 97 b0 d6 5a 18 3a | data for hmac: 0b 00 99 41 0f 89 c8 5f a7 32 81 5f 16 1e f9 8c | data for hmac: bc 6e b2 14 ef 9e b9 47 0c 84 aa 16 d8 95 b2 19 | data for hmac: b5 0d 9e ce 9d b5 9f e3 0a c4 5c f5 9f b3 d6 31 | data for hmac: 75 57 f7 e4 ce 22 05 8b 25 99 97 56 7f dc 3a 2f | data for hmac: 26 02 c7 41 52 09 f1 cf 95 c0 0f 3f 0b 11 5e 22 | data for hmac: bb 40 3e a6 02 bc aa 04 74 12 42 71 3d 56 17 00 | data for hmac: 8d d0 0b 93 03 dc 4c c2 2d fb 9d 16 cd bb ad 51 | data for hmac: a5 35 4c 17 e2 40 79 c4 1a 35 09 72 d7 45 f6 86 | data for hmac: d6 d9 b0 c9 cc 24 19 60 2f 8a e5 60 bc 1f 86 af | data for hmac: 5f 1a 6c aa dd 2c 9a 74 f7 0c 3f f7 ea 9f db ea | data for hmac: 3d 9b 82 05 81 ed cc 62 03 1b 1f 47 3a ac 46 05 | data for hmac: 2f 8f 19 ce 7f 5a cd 98 e3 40 2c 86 26 f1 92 52 | data for hmac: e5 fb 99 c7 78 8b c5 fa e1 2b f0 f9 39 3e 5b 28 | data for hmac: 68 46 b2 9b d5 79 09 e1 ee 53 81 73 c4 6c 2a ec | data for hmac: 1f 4f 05 62 da 7e a5 66 3e 91 c6 a6 52 0e 65 b6 | data for hmac: 9c 99 dd cb 24 c7 a6 39 b4 78 ab 65 d6 7e 9f ae | data for hmac: 0a 91 68 9f 3f 7f 2c 21 9b 12 58 6b 03 f0 3f 6b | data for hmac: e2 1e d4 2f 0d d6 6e 10 8c fa 93 14 79 c1 f5 c0 | data for hmac: 8e 6c 20 57 4b a8 29 ac 33 bc de 99 e7 e3 92 d1 | data for hmac: 38 1d be ad 41 31 7f 7f 57 4e 2e e8 6e f8 f7 03 | data for hmac: cd fa 40 9c d3 90 15 e0 72 f9 f7 3a 3d d8 02 5b | data for hmac: ac ee 8f 7a 4e ce 0f 2d 52 04 3e c2 c0 64 dd db | data for hmac: ca a2 9b e3 e5 23 c2 27 78 d1 c9 ab d0 59 06 ac | data for hmac: e8 45 b4 6a 54 d6 f8 2a 58 ff 6b 9a 50 1d e6 78 | data for hmac: e5 37 77 0a ab 36 7f e1 66 2a 9d 27 67 47 a6 16 | calculated auth: af ac e0 90 7f 48 b1 76 5e da f8 be 23 74 83 18 | provided auth: af ac e0 90 7f 48 b1 76 5e da f8 be 23 74 83 18 | 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=0x55dc311abff0 (line=1) | concluding with best_match=002 best=0x55dc311abff0 (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.0358 milliseconds in try_all_keys() trying a pubkey "westnet-eastnet-ikev2" #7: Authenticated using RSA | #7 spent 0.0548 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@0x7fac60002660 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x55dc311c3060 | event_schedule: new EVENT_SA_REKEY-pe@0x55dc311c3060 | inserting event EVENT_SA_REKEY, timeout in 3330 seconds for #7 | libevent_malloc: new ptr-libevent@0x7fac60002660 size 128 | pstats #7 ikev2.ike established | **emit ISAKMP Message: | initiator cookie: | 38 2d 06 8f c1 b6 9e d9 | responder cookie: | 81 b9 e2 22 df 7a 98 3c | 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=0x55dc311abff0 (line=1) | concluding with best_match=002 best=0x55dc311abff0 (lineno=1) | #7 spent 3.11 milliseconds in ikev2_calculate_rsa_hash() calling sign_hash_RSA() | emitting 274 raw bytes of rsa signature into IKEv2 Authentication Payload | rsa signature 58 a8 4b 3e 0d 8d 67 4a 54 01 8b e6 4f c7 cd 26 | rsa signature a3 92 e1 ac 5d 8f 34 2d 98 cc 00 c4 fd 7b 1d d9 | rsa signature 85 88 df e0 07 cc 81 82 ae 9b 23 ad 9b 7b 60 11 | rsa signature 19 cc 99 3d db 26 88 95 97 90 15 37 2e b5 38 03 | rsa signature 3f bb 5b 33 42 dc 22 51 28 d8 1e b7 70 5f 23 2a | rsa signature f2 eb 38 33 24 f1 2f e8 46 1c 61 9b 40 c8 7d 74 | rsa signature 77 9d 4b 6e 34 2b 27 5e 3b 52 9c 60 c9 e9 ce c8 | rsa signature 98 79 c1 f9 a7 ce 15 74 25 68 a5 cb 82 8f b8 df | rsa signature a1 83 53 2d 3b 90 bd 1f 77 90 88 20 ee b7 78 ac | rsa signature 73 8c f4 d2 bf e2 9e ec 54 f9 02 b7 d9 48 1e 03 | rsa signature a9 86 c5 e7 84 47 61 a1 51 d7 2b e6 1c 1f 42 e8 | rsa signature ea 76 63 fa 9f e5 c2 99 7e d4 01 7f 6a 9d 75 08 | rsa signature ad 55 9a 60 da c2 72 13 09 ac a9 5b 61 40 ad 5c | rsa signature 50 e0 9c fe 60 84 7e 38 96 c4 2f 3c cb 18 2f df | rsa signature 47 4b 86 90 02 b9 6c 2f 5e e3 38 bd 3b 9e 99 0d | rsa signature 0c 72 d6 a3 76 37 d8 1a bb b7 2e a2 66 09 95 75 | rsa signature ec 1d ed 89 82 a3 5b 04 80 ce 99 d5 60 96 0b 71 | rsa signature 75 e3 | #7 spent 3.18 milliseconds in ikev2_calculate_rsa_hash() | emitting length of IKEv2 Authentication Payload: 282 | creating state object #8 at 0x55dc311cbf50 | 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 b0 8c 2c b0 | 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=b08c2cb0;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=b08c2cb0;ENCR=AES_CBC_256;INTEG=HMAC_SHA2_256_128;ESN=DISABLED | converting proposal to internal trans attrs | netlink_get_spi: allocated 0xcac4627e 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 ca c4 62 7e | ******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.b08c2cb0@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.cac4627e@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=0xb0 | 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=0xb08c2cb0 SPI_OUT=0xcac4627e ipsec _updown 2>&1: | route_and_eroute: firewall_notified: true | route_and_eroute: instance "westnet-eastnet-ikev2", setting eroute_owner {spd=0x55dc311b7980,sr=0x55dc311b7980} to #8 (was #0) (newest_ipsec_sa=#0) | #7 spent 0.566 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: 38 2d 06 8f c1 b6 9e d9 81 b9 e2 22 df 7a 98 3c | data being hmac: 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | data being hmac: 90 3d e2 46 9a 93 c6 a6 40 d7 3f a5 ad 98 bb 80 | data being hmac: f9 36 11 ac dd d6 9c 98 7f ea 43 8b 1b 44 1c c2 | data being hmac: 30 9c f1 41 ef 56 10 27 e9 7d 1d a7 9c 23 13 ec | data being hmac: 01 ad 8b ff a7 68 76 45 9e 73 c1 48 3f 8e 0e 17 | data being hmac: 09 58 15 ce 2b 27 3d 73 fd 10 33 3d 78 1e 37 9b | data being hmac: 22 01 ce 5e d1 26 bb 0b 58 c1 1a 47 77 2d 27 c2 | data being hmac: de 8a 7b 2f 35 e5 0e fa 50 b5 9c 42 36 d8 9b 10 | data being hmac: 29 12 1f a1 1f c5 b5 77 e8 0a 81 8c 1a 69 27 4e | data being hmac: 73 47 4c d4 ad f3 af aa 36 ba c1 f0 12 ab e2 f8 | data being hmac: 4c d7 20 e7 bf 26 ba ac 56 a4 10 c1 ba 8c c7 d8 | data being hmac: 08 77 5d 19 7a 5b cb d7 d4 53 bd 33 c2 74 c8 80 | data being hmac: 09 98 bc 78 26 71 d5 79 ed fe 2a c4 4b d1 d3 af | data being hmac: f7 54 3b 44 bb 52 6b 71 6b 84 2e ff 03 83 ec c5 | data being hmac: 67 33 3b 8e b8 4c c5 f1 f3 34 f9 fe 76 22 62 ca | data being hmac: 26 47 66 01 41 4f cc 50 bd 4a ca 46 2f b6 c2 c4 | data being hmac: c5 2b fc 16 05 dd 8c 30 9c 2f d9 8f 35 82 74 85 | data being hmac: 51 d8 ac 88 5e 50 97 c2 8c 35 0c fd 1f b3 28 49 | data being hmac: fc 41 bd 1e b1 f7 7c 15 4e 8a d1 f8 89 d5 81 29 | data being hmac: f3 7b f8 95 8a c1 f8 20 a4 d1 b8 00 5e 3a 06 5c | data being hmac: 38 95 11 6e 10 ac d8 c8 60 ff c6 cd c7 83 75 54 | data being hmac: 42 4e c0 9c 22 cd 16 9b da 06 de 1a 94 70 a3 c3 | data being hmac: 02 25 3c a8 6e 13 1e 32 dc 40 cd ab ea 18 b3 e2 | data being hmac: 16 7c 2b 6a ac 20 30 8c 14 35 77 6e 34 ba 9a 90 | data being hmac: a0 73 98 87 84 9b ba cd 56 18 e7 3b 44 5b 43 3c | data being hmac: dc b7 46 5f 03 ed 47 e0 e2 db 9c ae ba f7 b4 bb | data being hmac: 14 c0 5d 41 98 6c 3a 16 c0 22 1b d8 4d 80 3e 54 | out calculated auth: | d4 f8 0e 81 69 16 37 4e 9f ef 9f ec e9 6a 58 43 | ikev2_parent_inI2outR2_continue_tail returned STF_OK | #7 spent 4.74 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=>0xb08c2cb0 <0xcac4627e 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) | 38 2d 06 8f c1 b6 9e d9 81 b9 e2 22 df 7a 98 3c | 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | 90 3d e2 46 9a 93 c6 a6 40 d7 3f a5 ad 98 bb 80 | f9 36 11 ac dd d6 9c 98 7f ea 43 8b 1b 44 1c c2 | 30 9c f1 41 ef 56 10 27 e9 7d 1d a7 9c 23 13 ec | 01 ad 8b ff a7 68 76 45 9e 73 c1 48 3f 8e 0e 17 | 09 58 15 ce 2b 27 3d 73 fd 10 33 3d 78 1e 37 9b | 22 01 ce 5e d1 26 bb 0b 58 c1 1a 47 77 2d 27 c2 | de 8a 7b 2f 35 e5 0e fa 50 b5 9c 42 36 d8 9b 10 | 29 12 1f a1 1f c5 b5 77 e8 0a 81 8c 1a 69 27 4e | 73 47 4c d4 ad f3 af aa 36 ba c1 f0 12 ab e2 f8 | 4c d7 20 e7 bf 26 ba ac 56 a4 10 c1 ba 8c c7 d8 | 08 77 5d 19 7a 5b cb d7 d4 53 bd 33 c2 74 c8 80 | 09 98 bc 78 26 71 d5 79 ed fe 2a c4 4b d1 d3 af | f7 54 3b 44 bb 52 6b 71 6b 84 2e ff 03 83 ec c5 | 67 33 3b 8e b8 4c c5 f1 f3 34 f9 fe 76 22 62 ca | 26 47 66 01 41 4f cc 50 bd 4a ca 46 2f b6 c2 c4 | c5 2b fc 16 05 dd 8c 30 9c 2f d9 8f 35 82 74 85 | 51 d8 ac 88 5e 50 97 c2 8c 35 0c fd 1f b3 28 49 | fc 41 bd 1e b1 f7 7c 15 4e 8a d1 f8 89 d5 81 29 | f3 7b f8 95 8a c1 f8 20 a4 d1 b8 00 5e 3a 06 5c | 38 95 11 6e 10 ac d8 c8 60 ff c6 cd c7 83 75 54 | 42 4e c0 9c 22 cd 16 9b da 06 de 1a 94 70 a3 c3 | 02 25 3c a8 6e 13 1e 32 dc 40 cd ab ea 18 b3 e2 | 16 7c 2b 6a ac 20 30 8c 14 35 77 6e 34 ba 9a 90 | a0 73 98 87 84 9b ba cd 56 18 e7 3b 44 5b 43 3c | dc b7 46 5f 03 ed 47 e0 e2 db 9c ae ba f7 b4 bb | 14 c0 5d 41 98 6c 3a 16 c0 22 1b d8 4d 80 3e 54 | d4 f8 0e 81 69 16 37 4e 9f ef 9f ec e9 6a 58 43 | 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@0x55dc311cba50 | inserting event EVENT_SA_REKEY, timeout in 28530 seconds for #8 | libevent_malloc: new ptr-libevent@0x7fac5c004110 size 128 | resume sending helper answer for #7 suppresed complete_v2_state_transition() | #7 spent 5.04 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@0x7fac74004380 | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00315 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.0028 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) | 38 2d 06 8f c1 b6 9e d9 81 b9 e2 22 df 7a 98 3c | 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | 54 a4 0e ef 80 95 8d 19 81 c2 0a 5a fb 5f 26 e7 | c1 c3 81 b8 65 11 c8 eb b2 74 49 30 9a 2d 73 f4 | ca 51 62 67 96 57 3d 63 cb 43 f4 6d 13 0a 62 12 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 38 2d 06 8f c1 b6 9e d9 | responder cookie: | 81 b9 e2 22 df 7a 98 3c | 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: 38 2d 06 8f c1 b6 9e d9 81 b9 e2 22 df 7a 98 3c | data for hmac: 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | data for hmac: 54 a4 0e ef 80 95 8d 19 81 c2 0a 5a fb 5f 26 e7 | data for hmac: c1 c3 81 b8 65 11 c8 eb b2 74 49 30 9a 2d 73 f4 | calculated auth: ca 51 62 67 96 57 3d 63 cb 43 f4 6d 13 0a 62 12 | provided auth: ca 51 62 67 96 57 3d 63 cb 43 f4 6d 13 0a 62 12 | 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: | 38 2d 06 8f c1 b6 9e d9 | responder cookie: | 81 b9 e2 22 df 7a 98 3c | 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 b0 8c 2c b0 | delete PROTO_v2_ESP SA(0xb08c2cb0) | 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(0xb08c2cb0) "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.101s and NOT sending notification | child state #8: V2_IPSEC_R(established CHILD SA) => delete | get_sa_info esp.b08c2cb0@192.1.2.45 | get_sa_info esp.cac4627e@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@0x7fac5c004110 | free_event_entry: release EVENT_SA_REKEY-pe@0x55dc311cba50 | 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='1569050240' 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='1569050240' 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=0xb08c2cb0 SPI_OUT=0xcac4627e 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.b08c2cb0@192.1.2.45 | netlink response for Del SA esp.b08c2cb0@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.cac4627e@192.1.2.23 | netlink response for Del SA esp.cac4627e@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 ca c4 62 7e | 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: 38 2d 06 8f c1 b6 9e d9 81 b9 e2 22 df 7a 98 3c | data being hmac: 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | data being hmac: ef ef aa 9c c9 18 d5 43 db 41 67 3e 0e fb d9 9d | data being hmac: ec 50 84 b3 06 45 fe 0a a3 ea e0 5e 45 6c d5 02 | out calculated auth: | 5a bb eb 88 f5 e9 5e 5c de 40 6a 52 47 4c 7f b6 | 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) | 38 2d 06 8f c1 b6 9e d9 81 b9 e2 22 df 7a 98 3c | 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | ef ef aa 9c c9 18 d5 43 db 41 67 3e 0e fb d9 9d | ec 50 84 b3 06 45 fe 0a a3 ea e0 5e 45 6c d5 02 | 5a bb eb 88 f5 e9 5e 5c de 40 6a 52 47 4c 7f b6 | 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.639 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.848 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.864 milliseconds in comm_handle_cb() reading and processing packet | spent 0.00184 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) | 38 2d 06 8f c1 b6 9e d9 81 b9 e2 22 df 7a 98 3c | 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | 24 7b 46 8d 54 97 fe 6c 92 f2 b6 4a 13 ba d1 12 | 16 9e 2a c3 9f e2 a6 b4 2d e6 7b 2c 40 38 63 39 | 66 41 6b b6 ec e2 60 15 fc f8 7b cc 34 c6 46 4b | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 38 2d 06 8f c1 b6 9e d9 | responder cookie: | 81 b9 e2 22 df 7a 98 3c | 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: 38 2d 06 8f c1 b6 9e d9 81 b9 e2 22 df 7a 98 3c | data for hmac: 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | data for hmac: 24 7b 46 8d 54 97 fe 6c 92 f2 b6 4a 13 ba d1 12 | data for hmac: 16 9e 2a c3 9f e2 a6 b4 2d e6 7b 2c 40 38 63 39 | calculated auth: 66 41 6b b6 ec e2 60 15 fc f8 7b cc 34 c6 46 4b | provided auth: 66 41 6b b6 ec e2 60 15 fc f8 7b cc 34 c6 46 4b | 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: | 38 2d 06 8f c1 b6 9e d9 | responder cookie: | 81 b9 e2 22 df 7a 98 3c | 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: 38 2d 06 8f c1 b6 9e d9 81 b9 e2 22 df 7a 98 3c | data being hmac: 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | data being hmac: 12 e1 d5 b6 fc 70 9e 68 f9 3c ec 40 f2 ce dd b5 | data being hmac: 63 e2 64 bc 10 35 87 1f fa a6 61 a2 e3 47 fe 32 | out calculated auth: | c4 77 ed 73 4e b5 7e 0d f7 dc 8b 4e 13 db f1 d4 | 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) | 38 2d 06 8f c1 b6 9e d9 81 b9 e2 22 df 7a 98 3c | 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | 12 e1 d5 b6 fc 70 9e 68 f9 3c ec 40 f2 ce dd b5 | 63 e2 64 bc 10 35 87 1f fa a6 61 a2 e3 47 fe 32 | c4 77 ed 73 4e b5 7e 0d f7 dc 8b 4e 13 db f1 d4 | 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 48.7 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.187s 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@0x7fac60002660 | free_event_entry: release EVENT_SA_REKEY-pe@0x55dc311c3060 | 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: 0x55dc3113a220 @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.493 milliseconds in comm_handle_cb() reading and processing packet | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00417 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00315 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) | 5f 0a ff 29 b2 ab 29 bf 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 | 94 fe 12 0c 96 2f 30 59 3e ea 2d 7d 7a 62 66 57 | ca 88 f2 97 bc 6b 39 0e b8 11 55 37 39 b1 35 c2 | 57 ac 95 de 1b b6 67 cb 5d 6f d6 ed 94 97 94 30 | 71 9c b5 99 53 cf 13 d2 31 9c 1b 6e 46 af 50 92 | 29 00 00 24 f3 de 8a 9b a3 fd 85 1f 0d 4f 0c 68 | c4 93 19 05 4e b6 cc ca 69 4d 16 96 3c 91 fd c3 | 4b c8 4f fb 29 00 00 08 00 00 40 2e 29 00 00 1c | 00 00 40 04 07 04 8e dc 75 fa f1 cd 3e 87 9d 16 | e6 2f 2e c2 d6 f4 94 4d 00 00 00 1c 00 00 40 05 | ba 73 b4 3d 22 26 43 fd ae 4f 90 05 10 ca 59 23 | 28 5d a6 bd | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 5f 0a ff 29 b2 ab 29 bf | responder cookie: | 00 00 00 00 00 00 00 00 | next payload type: ISAKMP_NEXT_v2SA (0x21) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_IKE_SA_INIT (0x22) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 0 (0x0) | length: 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 0x55dc311bd3a0 | 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=0x55dc304957a0(20) | natd_hash: icookie= 5f 0a ff 29 b2 ab 29 bf | 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= ba 73 b4 3d 22 26 43 fd ae 4f 90 05 10 ca 59 23 | natd_hash: hash= 28 5d a6 bd | natd_hash: rcookie is zero | natd_hash: hasher=0x55dc304957a0(20) | natd_hash: icookie= 5f 0a ff 29 b2 ab 29 bf | 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= 07 04 8e dc 75 fa f1 cd 3e 87 9d 16 e6 2f 2e c2 | natd_hash: hash= d6 f4 94 4d | 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@0x55dc311cba50 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #9 | libevent_malloc: new ptr-libevent@0x7fac5c004110 size 128 | #9 spent 0.274 milliseconds in processing: Respond to IKE_SA_INIT in ikev2_process_state_packet() | crypto helper 4 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) | crypto helper 4 starting work-order 9 for state #9 | #9 complete_v2_state_transition() PARENT_R0->PARENT_R1 with status STF_SUSPEND | crypto helper 4 doing build KE and nonce (ikev2_inI1outR1 KE); request ID 9 | 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) | "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.582 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.593 milliseconds in comm_handle_cb() reading and processing packet | crypto helper 4 finished build KE and nonce (ikev2_inI1outR1 KE); request ID 9 time elapsed 0.000994 seconds | (#9) spent 1 milliseconds in crypto helper computing work-order 9: ikev2_inI1outR1 KE (pcr) | crypto helper 4 sending results from work-order 9 for state #9 to event queue | scheduling resume sending helper answer for #9 | libevent_malloc: new ptr-libevent@0x7fac6c0114b0 size 128 | crypto helper 4 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 4 replies to request ID 9 | calling continuation function 0x55dc303bf630 | ikev2_parent_inI1outR1_continue for #9: calculated ke+nonce, sending R1 | **emit ISAKMP Message: | initiator cookie: | 5f 0a ff 29 b2 ab 29 bf | responder cookie: | f2 47 51 7e 8a f1 2f 26 | 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 90 2a 09 40 60 35 3d 69 a1 01 14 4b 22 1c 9e ae | ikev2 g^x 54 3e de ac d7 84 77 67 49 75 7d bc 73 8d 20 c7 | ikev2 g^x b9 a1 c6 2c 89 77 7c a6 e3 be 7e 66 e9 e0 5f c4 | ikev2 g^x f7 bf 6a 35 e0 3b 4d 0e 45 21 a6 a0 dd 14 16 68 | 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 d0 02 60 e6 f0 e0 6c c3 08 d9 09 72 6e 87 a6 84 | IKEv2 nonce 94 b5 dc 17 68 a8 86 85 28 f1 ce b9 d8 be f5 13 | 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=0x55dc304957a0(20) | natd_hash: icookie= 5f 0a ff 29 b2 ab 29 bf | natd_hash: rcookie= f2 47 51 7e 8a f1 2f 26 | natd_hash: ip= c0 01 02 17 | natd_hash: port= 01 f4 | natd_hash: hash= b3 81 95 26 66 bd cb 20 28 4b 97 6e e5 2f 82 5f | natd_hash: hash= f9 af 15 06 | 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 b3 81 95 26 66 bd cb 20 28 4b 97 6e e5 2f 82 5f | Notify data f9 af 15 06 | emitting length of IKEv2 Notify Payload: 28 | natd_hash: hasher=0x55dc304957a0(20) | natd_hash: icookie= 5f 0a ff 29 b2 ab 29 bf | natd_hash: rcookie= f2 47 51 7e 8a f1 2f 26 | natd_hash: ip= c0 01 02 2d | natd_hash: port= 01 f4 | natd_hash: hash= be 59 9f cc cf 97 11 55 c6 02 a0 b3 0b f6 b1 42 | natd_hash: hash= ff 45 7a fb | 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 be 59 9f cc cf 97 11 55 c6 02 a0 b3 0b f6 b1 42 | Notify data ff 45 7a fb | 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) | 5f 0a ff 29 b2 ab 29 bf f2 47 51 7e 8a f1 2f 26 | 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 90 2a 09 40 60 35 3d 69 a1 01 14 4b | 22 1c 9e ae 54 3e de ac d7 84 77 67 49 75 7d bc | 73 8d 20 c7 b9 a1 c6 2c 89 77 7c a6 e3 be 7e 66 | e9 e0 5f c4 f7 bf 6a 35 e0 3b 4d 0e 45 21 a6 a0 | dd 14 16 68 29 00 00 24 d0 02 60 e6 f0 e0 6c c3 | 08 d9 09 72 6e 87 a6 84 94 b5 dc 17 68 a8 86 85 | 28 f1 ce b9 d8 be f5 13 29 00 00 08 00 00 40 2e | 29 00 00 1c 00 00 40 04 b3 81 95 26 66 bd cb 20 | 28 4b 97 6e e5 2f 82 5f f9 af 15 06 00 00 00 1c | 00 00 40 05 be 59 9f cc cf 97 11 55 c6 02 a0 b3 | 0b f6 b1 42 ff 45 7a fb | state #9 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x7fac5c004110 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x55dc311cba50 | event_schedule: new EVENT_SO_DISCARD-pe@0x55dc311cba50 | inserting event EVENT_SO_DISCARD, timeout in 200 seconds for #9 | libevent_malloc: new ptr-libevent@0x7fac5c004110 size 128 | resume sending helper answer for #9 suppresed complete_v2_state_transition() | #9 spent 0.367 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@0x7fac6c0114b0 | spent 0.00222 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) | 5f 0a ff 29 b2 ab 29 bf f2 47 51 7e 8a f1 2f 26 | 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | ca 57 80 fe 79 92 a2 ae 5f d9 18 43 bd 6c 67 ce | 12 f7 97 fb c8 93 34 1e 2d 15 e0 e9 fd 02 57 5f | ab ac b9 80 ad c8 48 55 68 e8 3d 57 cf 42 ab dc | 7a 5d 9a 6d 3a 1d 15 30 f4 02 57 54 06 2d ec 1d | 42 73 ad 53 83 92 ed a4 7d a0 99 b4 6d 83 e0 42 | 7b 30 ec 29 f6 64 9b c8 3f c4 41 a7 d5 55 ac 6f | ca 2c 84 bc 0e 26 38 72 c8 bf fd ef 8e 00 4c 8a | da 88 3b 5c 3e 7d 84 1e a8 96 c6 ed a6 2c 2c 3d | 89 a0 55 2d 22 8c 95 08 bb 38 7b 26 d0 4a 27 ad | 8d 4d 80 02 7b ab 8b 97 39 53 59 30 85 b9 51 9c | 70 bb 7b 6a 17 ad 88 e0 cf f7 d6 e6 4e 19 59 74 | 63 04 5c 88 00 02 ef 33 89 1e 31 23 54 47 8a 8e | a3 27 10 b2 ed fa 24 74 f2 08 96 dc bb bd 2a 97 | 6e 77 64 9b d0 3d be e3 13 35 62 cb fb a4 f3 f7 | dd 66 58 e3 e2 df 39 5f 6d ba 0a 06 bc 01 5e d5 | 93 3e 28 0e 9c f9 1f 51 1d dc 77 e9 5a aa fa 41 | a1 7a 49 8e c4 a2 e2 a4 aa 34 b7 ea 28 2e be 97 | 13 33 34 3a 7c c1 d8 47 e7 63 dd 13 22 46 a1 02 | c2 7a 44 ca 04 72 0a 15 6e 9a 25 26 39 bd f7 65 | 2a 8f ce 7b 36 57 1e d9 5f b2 29 cb 40 cd 57 eb | 0d 5e db 4f 98 ef 05 f8 61 53 f9 5a 68 9b c9 1f | ba 8b 8a 1e 58 35 cb 5c a7 3d 47 e3 09 e5 71 4c | ed 58 f0 38 a0 f9 b5 55 55 80 5d 4d 7d e4 4f 3b | db 0a ff 6f da b3 38 29 86 cb 4f 95 85 5d bb 39 | 82 cb 7d f4 6a ea c6 ce f1 f1 fe f2 4f 6f d3 68 | 92 d5 7c b4 7c 4c 6d df 58 ef b6 8b ff b3 d4 56 | 5f d0 17 e8 a0 b3 d4 bf bf dd f1 35 b4 16 4e b7 | 5d 4e cd 7f eb 5d 3b 00 31 2c db 57 81 82 43 00 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 5f 0a ff 29 b2 ab 29 bf | responder cookie: | f2 47 51 7e 8a f1 2f 26 | 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@0x7fac5c004110 | free_event_entry: release EVENT_SO_DISCARD-pe@0x55dc311cba50 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x55dc311cba50 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #9 | libevent_malloc: new ptr-libevent@0x7fac6c0114b0 size 128 | #9 spent 0.0291 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) | "westnet-eastnet-ikev2" #9 complete v2 state STATE_PARENT_R1 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.199 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.21 milliseconds in comm_handle_cb() reading and processing packet | crypto helper 5 resuming | crypto helper 5 starting work-order 10 for state #9 | crypto helper 5 doing compute dh (V2) (ikev2_inI2outR2 KE); request ID 10 | 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 10 time elapsed 0.0019 seconds | (#9) spent 1.87 milliseconds in crypto helper computing work-order 10: ikev2_inI2outR2 KE (pcr) | crypto helper 5 sending results from work-order 10 for state #9 to event queue | scheduling resume sending helper answer for #9 | libevent_malloc: new ptr-libevent@0x7fac70003a90 size 128 | crypto helper 5 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 5 replies to request ID 10 | calling continuation function 0x55dc303bf630 | ikev2_parent_inI2outR2_continue for #9: calculating g^{xy}, sending R2 | #9 in state PARENT_R1: received v2I1, sent v2R1 | data for hmac: 5f 0a ff 29 b2 ab 29 bf f2 47 51 7e 8a f1 2f 26 | data for hmac: 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | data for hmac: ca 57 80 fe 79 92 a2 ae 5f d9 18 43 bd 6c 67 ce | data for hmac: 12 f7 97 fb c8 93 34 1e 2d 15 e0 e9 fd 02 57 5f | data for hmac: ab ac b9 80 ad c8 48 55 68 e8 3d 57 cf 42 ab dc | data for hmac: 7a 5d 9a 6d 3a 1d 15 30 f4 02 57 54 06 2d ec 1d | data for hmac: 42 73 ad 53 83 92 ed a4 7d a0 99 b4 6d 83 e0 42 | data for hmac: 7b 30 ec 29 f6 64 9b c8 3f c4 41 a7 d5 55 ac 6f | data for hmac: ca 2c 84 bc 0e 26 38 72 c8 bf fd ef 8e 00 4c 8a | data for hmac: da 88 3b 5c 3e 7d 84 1e a8 96 c6 ed a6 2c 2c 3d | data for hmac: 89 a0 55 2d 22 8c 95 08 bb 38 7b 26 d0 4a 27 ad | data for hmac: 8d 4d 80 02 7b ab 8b 97 39 53 59 30 85 b9 51 9c | data for hmac: 70 bb 7b 6a 17 ad 88 e0 cf f7 d6 e6 4e 19 59 74 | data for hmac: 63 04 5c 88 00 02 ef 33 89 1e 31 23 54 47 8a 8e | data for hmac: a3 27 10 b2 ed fa 24 74 f2 08 96 dc bb bd 2a 97 | data for hmac: 6e 77 64 9b d0 3d be e3 13 35 62 cb fb a4 f3 f7 | data for hmac: dd 66 58 e3 e2 df 39 5f 6d ba 0a 06 bc 01 5e d5 | data for hmac: 93 3e 28 0e 9c f9 1f 51 1d dc 77 e9 5a aa fa 41 | data for hmac: a1 7a 49 8e c4 a2 e2 a4 aa 34 b7 ea 28 2e be 97 | data for hmac: 13 33 34 3a 7c c1 d8 47 e7 63 dd 13 22 46 a1 02 | data for hmac: c2 7a 44 ca 04 72 0a 15 6e 9a 25 26 39 bd f7 65 | data for hmac: 2a 8f ce 7b 36 57 1e d9 5f b2 29 cb 40 cd 57 eb | data for hmac: 0d 5e db 4f 98 ef 05 f8 61 53 f9 5a 68 9b c9 1f | data for hmac: ba 8b 8a 1e 58 35 cb 5c a7 3d 47 e3 09 e5 71 4c | data for hmac: ed 58 f0 38 a0 f9 b5 55 55 80 5d 4d 7d e4 4f 3b | data for hmac: db 0a ff 6f da b3 38 29 86 cb 4f 95 85 5d bb 39 | data for hmac: 82 cb 7d f4 6a ea c6 ce f1 f1 fe f2 4f 6f d3 68 | data for hmac: 92 d5 7c b4 7c 4c 6d df 58 ef b6 8b ff b3 d4 56 | data for hmac: 5f d0 17 e8 a0 b3 d4 bf bf dd f1 35 b4 16 4e b7 | calculated auth: 5d 4e cd 7f eb 5d 3b 00 31 2c db 57 81 82 43 00 | provided auth: 5d 4e cd 7f eb 5d 3b 00 31 2c db 57 81 82 43 00 | 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=0x55dc311abff0 (line=1) | concluding with best_match=002 best=0x55dc311abff0 (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.0532 milliseconds in try_all_keys() trying a pubkey "westnet-eastnet-ikev2" #9: Authenticated using RSA | #9 spent 0.0799 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@0x7fac6c0114b0 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x55dc311cba50 | event_schedule: new EVENT_SA_REKEY-pe@0x55dc311cba50 | inserting event EVENT_SA_REKEY, timeout in 3330 seconds for #9 | libevent_malloc: new ptr-libevent@0x7fac6c0114b0 size 128 | pstats #9 ikev2.ike established | **emit ISAKMP Message: | initiator cookie: | 5f 0a ff 29 b2 ab 29 bf | responder cookie: | f2 47 51 7e 8a f1 2f 26 | 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=0x55dc311abff0 (line=1) | concluding with best_match=002 best=0x55dc311abff0 (lineno=1) | #9 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 9f ad 8a d5 06 79 97 16 8b 90 7f 18 05 d6 90 93 | rsa signature 32 f3 47 b6 f0 aa 3c 45 88 04 69 de df d8 96 e4 | rsa signature db 98 48 9a 76 18 e4 07 e5 bb fe 79 ae 18 b0 5f | rsa signature a8 1f 95 51 71 08 e1 51 1f 7c 3a 15 2a f4 7e 2e | rsa signature ac c2 0b 9a 8d 79 66 db a5 5b 72 89 1d 60 e6 f1 | rsa signature 08 25 bf 7a 28 52 37 b0 ff 77 72 1c 64 f6 c6 03 | rsa signature 5f 23 90 4d d2 37 f6 01 37 d0 b7 47 22 00 b9 c6 | rsa signature 5a 73 aa 92 de 2d 20 51 eb 1f dd 7d 40 f5 f4 d7 | rsa signature 77 eb 86 d1 57 42 69 ac 5d 4c 66 aa 80 0f a0 88 | rsa signature 56 d2 ce 41 b0 53 3c ff b3 42 f9 16 db 5b 7d f3 | rsa signature 36 17 1d 9b af 04 d7 e7 5a 63 ab 95 49 d5 20 6f | rsa signature df 51 e2 7a 11 be d9 4b 64 36 e5 f9 79 28 d0 9e | rsa signature ba 2a 0e bc 69 3e a4 be 5e 35 34 ed 48 a0 42 7b | rsa signature 25 38 3b 8b 16 45 db 47 92 42 56 50 41 cc da b7 | rsa signature 69 15 85 66 bc 26 c7 0e 96 fe 3b 58 3f 22 1d 59 | rsa signature ac 52 d7 b8 b5 cd ac cf eb ca 1a 0c 29 23 44 d5 | rsa signature 2f 70 5e b2 76 00 79 f3 f7 92 08 1d b1 2f 16 86 | rsa signature d9 4a | #9 spent 4.68 milliseconds in ikev2_calculate_rsa_hash() | emitting length of IKEv2 Authentication Payload: 282 | creating state object #10 at 0x55dc311cbf50 | 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 59 48 c5 fc | 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=5948c5fc;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=5948c5fc;ENCR=AES_CBC_256;INTEG=HMAC_SHA2_256_128;ESN=DISABLED | converting proposal to internal trans attrs | netlink_get_spi: allocated 0xfca8df1a 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 fc a8 df 1a | ******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.5948c5fc@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.fca8df1a@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=0x59 | 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=0x5948c5fc SPI_OUT=0xfca8df1a ipsec _updown 2>&1: | route_and_eroute: firewall_notified: true | route_and_eroute: instance "westnet-eastnet-ikev2", setting eroute_owner {spd=0x55dc311b7980,sr=0x55dc311b7980} to #10 (was #0) (newest_ipsec_sa=#0) | #9 spent 0.499 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: 5f 0a ff 29 b2 ab 29 bf f2 47 51 7e 8a f1 2f 26 | data being hmac: 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | data being hmac: 17 43 ac 68 74 ce fb 09 dc 4e 59 19 1c 55 a1 06 | data being hmac: 6f 6c 03 65 1e 67 dc ca 46 fe 8f d3 61 e9 3c be | data being hmac: cb 58 a7 26 49 64 9d e6 e6 b7 8b 35 8b 24 99 7c | data being hmac: 1c cd 4d cf 96 04 85 28 83 61 d4 78 69 38 31 a3 | data being hmac: 89 86 a7 45 6b e1 b2 9f 07 0b 3f 03 06 3e 13 35 | data being hmac: 03 88 fd 44 8a 29 cd 7b f6 5c ce d8 94 9f cb 0a | data being hmac: e1 f9 a0 de fc 65 6e a2 52 d6 d0 e8 7b 0c 55 53 | data being hmac: cf 1d 5a 44 78 33 bc 4e dd 73 ba 34 93 77 8e 06 | data being hmac: 11 02 29 03 cb 5f 32 cb e1 f1 86 ca 22 26 8a f8 | data being hmac: 5a 4d 7c 2a 6a bc 8f 5f 34 52 c1 85 8e 18 fc 23 | data being hmac: ed 2a d3 e3 41 32 ab 3e 11 bc ad a7 e3 8b 36 70 | data being hmac: f2 23 f1 53 40 56 f8 17 f6 bd 19 f8 41 75 f5 27 | data being hmac: 0f 89 e4 f4 74 17 fd 42 70 7f 3f 93 35 a8 a4 c7 | data being hmac: eb c1 40 17 b1 86 a7 db 8c b6 bd b2 7c 07 e9 e9 | data being hmac: 13 06 da d5 78 0c 9e 23 ba 28 86 4e 71 bf e5 a4 | data being hmac: 0c 22 cd 55 e0 57 44 df 04 87 6d fd 31 80 f8 45 | data being hmac: f4 6f b6 e0 ea 96 c7 31 e6 23 31 ee 29 7b 40 03 | data being hmac: b7 6a 2f 6c b0 11 3a 4b 06 8c 8e 89 04 f1 0d 28 | data being hmac: 0b 7a 4d 6f e4 48 a3 63 5f cf de 14 96 8c df bc | data being hmac: d6 41 3d bf 21 38 c2 59 af e1 e9 71 a1 54 e0 7a | data being hmac: d6 c1 31 c7 c9 d6 0b c5 b2 14 7e 32 77 e2 65 5c | data being hmac: 47 84 b3 97 03 70 1c a4 3c 37 40 9a 9c 6d 2c 35 | data being hmac: 18 d8 3a a2 48 88 67 17 6a 1a 84 e6 d1 47 37 24 | data being hmac: 33 71 a5 80 8b 73 37 28 58 4a ca 52 6c 8e 47 51 | data being hmac: ef 6f 33 69 eb c6 57 36 5c 32 0d 55 5e c9 2a 47 | data being hmac: 8a b3 d8 51 d4 23 42 2b 3a 33 21 ca 0f 6a 66 00 | out calculated auth: | 2e 28 da ff 20 75 0b e1 8b 08 b8 78 24 9c 17 4e | ikev2_parent_inI2outR2_continue_tail returned STF_OK | #9 spent 6.53 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=>0x5948c5fc <0xfca8df1a 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) | 5f 0a ff 29 b2 ab 29 bf f2 47 51 7e 8a f1 2f 26 | 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | 17 43 ac 68 74 ce fb 09 dc 4e 59 19 1c 55 a1 06 | 6f 6c 03 65 1e 67 dc ca 46 fe 8f d3 61 e9 3c be | cb 58 a7 26 49 64 9d e6 e6 b7 8b 35 8b 24 99 7c | 1c cd 4d cf 96 04 85 28 83 61 d4 78 69 38 31 a3 | 89 86 a7 45 6b e1 b2 9f 07 0b 3f 03 06 3e 13 35 | 03 88 fd 44 8a 29 cd 7b f6 5c ce d8 94 9f cb 0a | e1 f9 a0 de fc 65 6e a2 52 d6 d0 e8 7b 0c 55 53 | cf 1d 5a 44 78 33 bc 4e dd 73 ba 34 93 77 8e 06 | 11 02 29 03 cb 5f 32 cb e1 f1 86 ca 22 26 8a f8 | 5a 4d 7c 2a 6a bc 8f 5f 34 52 c1 85 8e 18 fc 23 | ed 2a d3 e3 41 32 ab 3e 11 bc ad a7 e3 8b 36 70 | f2 23 f1 53 40 56 f8 17 f6 bd 19 f8 41 75 f5 27 | 0f 89 e4 f4 74 17 fd 42 70 7f 3f 93 35 a8 a4 c7 | eb c1 40 17 b1 86 a7 db 8c b6 bd b2 7c 07 e9 e9 | 13 06 da d5 78 0c 9e 23 ba 28 86 4e 71 bf e5 a4 | 0c 22 cd 55 e0 57 44 df 04 87 6d fd 31 80 f8 45 | f4 6f b6 e0 ea 96 c7 31 e6 23 31 ee 29 7b 40 03 | b7 6a 2f 6c b0 11 3a 4b 06 8c 8e 89 04 f1 0d 28 | 0b 7a 4d 6f e4 48 a3 63 5f cf de 14 96 8c df bc | d6 41 3d bf 21 38 c2 59 af e1 e9 71 a1 54 e0 7a | d6 c1 31 c7 c9 d6 0b c5 b2 14 7e 32 77 e2 65 5c | 47 84 b3 97 03 70 1c a4 3c 37 40 9a 9c 6d 2c 35 | 18 d8 3a a2 48 88 67 17 6a 1a 84 e6 d1 47 37 24 | 33 71 a5 80 8b 73 37 28 58 4a ca 52 6c 8e 47 51 | ef 6f 33 69 eb c6 57 36 5c 32 0d 55 5e c9 2a 47 | 8a b3 d8 51 d4 23 42 2b 3a 33 21 ca 0f 6a 66 00 | 2e 28 da ff 20 75 0b e1 8b 08 b8 78 24 9c 17 4e | 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@0x55dc311c2c20 | inserting event EVENT_SA_REKEY, timeout in 28530 seconds for #10 | libevent_malloc: new ptr-libevent@0x7fac74004380 size 128 | resume sending helper answer for #9 suppresed complete_v2_state_transition() | #9 spent 6.86 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@0x7fac70003a90 | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00398 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00283 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 80 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 5f 0a ff 29 b2 ab 29 bf f2 47 51 7e 8a f1 2f 26 | 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | 14 7f 81 3f 15 ea 7b 7f 9f 36 b6 14 f0 17 ba 3b | 15 da ca ec 0a 75 5d a3 77 4b a1 2c b3 3a 15 39 | 48 c3 c3 bb f7 d3 61 0e 87 8c 06 a1 27 cf f5 28 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 5f 0a ff 29 b2 ab 29 bf | responder cookie: | f2 47 51 7e 8a f1 2f 26 | 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: 5f 0a ff 29 b2 ab 29 bf f2 47 51 7e 8a f1 2f 26 | data for hmac: 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | data for hmac: 14 7f 81 3f 15 ea 7b 7f 9f 36 b6 14 f0 17 ba 3b | data for hmac: 15 da ca ec 0a 75 5d a3 77 4b a1 2c b3 3a 15 39 | calculated auth: 48 c3 c3 bb f7 d3 61 0e 87 8c 06 a1 27 cf f5 28 | provided auth: 48 c3 c3 bb f7 d3 61 0e 87 8c 06 a1 27 cf f5 28 | 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: | 5f 0a ff 29 b2 ab 29 bf | responder cookie: | f2 47 51 7e 8a f1 2f 26 | 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 59 48 c5 fc | delete PROTO_v2_ESP SA(0x5948c5fc) | 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(0x5948c5fc) "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.112s and NOT sending notification | child state #10: V2_IPSEC_R(established CHILD SA) => delete | get_sa_info esp.5948c5fc@192.1.2.45 | get_sa_info esp.fca8df1a@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@0x7fac74004380 | free_event_entry: release EVENT_SA_REKEY-pe@0x55dc311c2c20 | 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='1569050241' 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='1569050241' 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=0x5948c5fc SPI_OUT=0xfca8df1a 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.5948c5fc@192.1.2.45 | netlink response for Del SA esp.5948c5fc@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.fca8df1a@192.1.2.23 | netlink response for Del SA esp.fca8df1a@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 fc a8 df 1a | 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: 5f 0a ff 29 b2 ab 29 bf f2 47 51 7e 8a f1 2f 26 | data being hmac: 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | data being hmac: bd d3 8c 77 49 b5 e2 bd 76 4d 9a 2d 51 58 05 70 | data being hmac: ed ed a7 72 e1 fc 1b 85 d5 d4 ab 8f 61 96 6f 12 | out calculated auth: | 26 f8 62 82 08 be 2a 27 69 52 45 16 1e 90 0a 45 | 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) | 5f 0a ff 29 b2 ab 29 bf f2 47 51 7e 8a f1 2f 26 | 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | bd d3 8c 77 49 b5 e2 bd 76 4d 9a 2d 51 58 05 70 | ed ed a7 72 e1 fc 1b 85 d5 d4 ab 8f 61 96 6f 12 | 26 f8 62 82 08 be 2a 27 69 52 45 16 1e 90 0a 45 | 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.681 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.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.892 milliseconds in comm_handle_cb() reading and processing packet | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00337 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00264 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 80 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 5f 0a ff 29 b2 ab 29 bf f2 47 51 7e 8a f1 2f 26 | 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | 48 71 6e cc c4 fb fa 87 bf 36 c4 54 63 29 80 16 | 32 ab 52 9e 1d 77 78 90 1e 50 bd b3 c8 e6 ba cd | de 4a 69 32 66 29 b4 fa 00 71 9b 15 e9 1a 20 2b | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 5f 0a ff 29 b2 ab 29 bf | responder cookie: | f2 47 51 7e 8a f1 2f 26 | 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: 5f 0a ff 29 b2 ab 29 bf f2 47 51 7e 8a f1 2f 26 | data for hmac: 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | data for hmac: 48 71 6e cc c4 fb fa 87 bf 36 c4 54 63 29 80 16 | data for hmac: 32 ab 52 9e 1d 77 78 90 1e 50 bd b3 c8 e6 ba cd | calculated auth: de 4a 69 32 66 29 b4 fa 00 71 9b 15 e9 1a 20 2b | provided auth: de 4a 69 32 66 29 b4 fa 00 71 9b 15 e9 1a 20 2b | 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: | 5f 0a ff 29 b2 ab 29 bf | responder cookie: | f2 47 51 7e 8a f1 2f 26 | 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: 5f 0a ff 29 b2 ab 29 bf f2 47 51 7e 8a f1 2f 26 | data being hmac: 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | data being hmac: 44 42 2a 9c af 06 90 81 e0 fa b4 5f 4b 94 16 1e | data being hmac: 27 a4 48 0f a0 41 09 d4 92 88 7d 3d cd 9a a1 88 | out calculated auth: | c3 f4 c9 d9 c3 d2 e7 c0 23 e1 ea c9 1b 1e d1 4a | sending 80 bytes for reply packet for process_encrypted_informational_ikev2 through eth1 from 192.1.2.23:500 to 192.1.2.45:500 (using #9) | 5f 0a ff 29 b2 ab 29 bf f2 47 51 7e 8a f1 2f 26 | 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | 44 42 2a 9c af 06 90 81 e0 fa b4 5f 4b 94 16 1e | 27 a4 48 0f a0 41 09 d4 92 88 7d 3d cd 9a a1 88 | c3 f4 c9 d9 c3 d2 e7 c0 23 e1 ea c9 1b 1e d1 4a | 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 11.8 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.143s 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@0x7fac6c0114b0 | free_event_entry: release EVENT_SA_REKEY-pe@0x55dc311cba50 | 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: 0x55dc3113a220 @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.468 milliseconds in comm_handle_cb() reading and processing packet | spent 0.0032 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) | a9 c7 81 d4 f6 a7 8b 31 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 | 84 5a e4 f1 6e 61 4b 50 32 b7 03 6e 12 1f 71 62 | 15 7f 07 ac dd 5c 00 f7 4c ea 52 b3 87 c8 e1 fa | 36 27 46 63 8b bd 81 01 f8 9d 7b 51 61 0e 04 bd | 70 31 db 4f 2c 61 4e 90 f5 b9 48 01 b1 85 9d a6 | 4c 88 f9 be 47 a9 96 d2 24 6d 5e 6d e1 ef 9c c4 | 97 ea 65 c3 e2 00 58 35 0a 4c 3c 5b 9d 89 98 55 | 29 00 00 24 56 04 31 d7 a5 05 eb 6b 03 d8 df 6c | 21 e3 85 8a 53 67 7d c5 a4 f7 8b 43 cb 36 6d 2a | 37 49 41 2f 29 00 00 08 00 00 40 2e 29 00 00 1c | 00 00 40 04 07 49 e8 7c eb 1e 5a b3 7f af 3f 07 | fb 00 2e 01 1a dc 63 a9 00 00 00 1c 00 00 40 05 | 71 72 71 5e b6 31 f2 f3 f9 4b 7e e6 91 36 e7 58 | fe ce 45 d0 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | a9 c7 81 d4 f6 a7 8b 31 | 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 0x55dc311bd3a0 | 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=0x55dc304957a0(20) | natd_hash: icookie= a9 c7 81 d4 f6 a7 8b 31 | 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= 71 72 71 5e b6 31 f2 f3 f9 4b 7e e6 91 36 e7 58 | natd_hash: hash= fe ce 45 d0 | natd_hash: rcookie is zero | natd_hash: hasher=0x55dc304957a0(20) | natd_hash: icookie= a9 c7 81 d4 f6 a7 8b 31 | 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= 07 49 e8 7c eb 1e 5a b3 7f af 3f 07 fb 00 2e 01 | natd_hash: hash= 1a dc 63 a9 | 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@0x55dc311c2c20 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #11 | libevent_malloc: new ptr-libevent@0x7fac74004380 size 128 | #11 spent 0.219 milliseconds in processing: Respond to IKE_SA_INIT in ikev2_process_state_packet() | crypto helper 1 resuming | crypto helper 1 starting work-order 11 for state #11 | [RE]START processing: state #11 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3376) | crypto helper 1 doing build KE and nonce (ikev2_inI1outR1 KE); request ID 11 | #11 complete_v2_state_transition() PARENT_R0->PARENT_R1 with status STF_SUSPEND | suspending state #11 and saving MD | #11 is busy; has a suspended MD | [RE]START processing: state #11 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in log_stf_suspend() at ikev2.c: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.462 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.474 milliseconds in comm_handle_cb() reading and processing packet | crypto helper 1 finished build KE and nonce (ikev2_inI1outR1 KE); request ID 11 time elapsed 0.00298 seconds | (#11) spent 2.97 milliseconds in crypto helper computing work-order 11: ikev2_inI1outR1 KE (pcr) | crypto helper 1 sending results from work-order 11 for state #11 to event queue | scheduling resume sending helper answer for #11 | libevent_malloc: new ptr-libevent@0x7fac640045d0 size 128 | crypto helper 1 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 1 replies to request ID 11 | calling continuation function 0x55dc303bf630 | ikev2_parent_inI1outR1_continue for #11: calculated ke+nonce, sending R1 | **emit ISAKMP Message: | initiator cookie: | a9 c7 81 d4 f6 a7 8b 31 | responder cookie: | 60 ea e3 df 67 58 0c 1f | 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 44 cd 1e a7 f9 c5 0f 0b 2e 5a 9e 83 71 26 47 18 | ikev2 g^x 84 99 4d 1a f5 d1 d1 7f 9d 9e 39 e2 96 5c 0a 0c | ikev2 g^x 25 85 a7 55 c2 8d 1b 04 df bb ea 7d 1b d6 fd d9 | ikev2 g^x 54 60 c4 9d 0d ea ec 97 02 60 d9 f1 85 dc ba 1e | ikev2 g^x a4 79 15 a6 5a b3 7f d6 5d aa 9d fa 0c c6 c4 cf | ikev2 g^x a1 f4 af e7 f2 e7 b3 97 77 26 47 49 1d f0 42 0e | 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 e8 6c ed c1 09 63 eb e4 7f a1 a8 f8 b2 0e dc 19 | IKEv2 nonce 86 e8 4e 60 53 bc e4 df cc 9a 3d c3 c0 45 50 ae | emitting length of IKEv2 Nonce Payload: 36 | Adding a v2N Payload | ***emit IKEv2 Notify Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | Notify Message Type: v2N_IKEV2_FRAGMENTATION_SUPPORTED (0x402e) | next payload chain: setting previous 'IKEv2 Nonce Payload'.'next payload type' to current IKEv2 Notify Payload (41:ISAKMP_NEXT_v2N) | next payload chain: saving location 'IKEv2 Notify Payload'.'next payload type' in 'reply packet' | emitting length of IKEv2 Notify Payload: 8 | NAT-Traversal support [enabled] add v2N payloads. | natd_hash: hasher=0x55dc304957a0(20) | natd_hash: icookie= a9 c7 81 d4 f6 a7 8b 31 | natd_hash: rcookie= 60 ea e3 df 67 58 0c 1f | natd_hash: ip= c0 01 02 17 | natd_hash: port= 01 f4 | natd_hash: hash= 7c 3e 51 86 f8 c2 d8 3e 91 5e b5 b9 30 fb 78 c2 | natd_hash: hash= 1e ee 59 2a | 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 7c 3e 51 86 f8 c2 d8 3e 91 5e b5 b9 30 fb 78 c2 | Notify data 1e ee 59 2a | emitting length of IKEv2 Notify Payload: 28 | natd_hash: hasher=0x55dc304957a0(20) | natd_hash: icookie= a9 c7 81 d4 f6 a7 8b 31 | natd_hash: rcookie= 60 ea e3 df 67 58 0c 1f | natd_hash: ip= c0 01 02 2d | natd_hash: port= 01 f4 | natd_hash: hash= db 61 07 56 aa 83 e7 9e 60 03 d7 6c d1 3b e6 49 | natd_hash: hash= ab 27 fb 76 | 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 db 61 07 56 aa 83 e7 9e 60 03 d7 6c d1 3b e6 49 | Notify data ab 27 fb 76 | 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) | a9 c7 81 d4 f6 a7 8b 31 60 ea e3 df 67 58 0c 1f | 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 44 cd 1e a7 f9 c5 0f 0b 2e 5a 9e 83 | 71 26 47 18 84 99 4d 1a f5 d1 d1 7f 9d 9e 39 e2 | 96 5c 0a 0c 25 85 a7 55 c2 8d 1b 04 df bb ea 7d | 1b d6 fd d9 54 60 c4 9d 0d ea ec 97 02 60 d9 f1 | 85 dc ba 1e a4 79 15 a6 5a b3 7f d6 5d aa 9d fa | 0c c6 c4 cf a1 f4 af e7 f2 e7 b3 97 77 26 47 49 | 1d f0 42 0e 29 00 00 24 e8 6c ed c1 09 63 eb e4 | 7f a1 a8 f8 b2 0e dc 19 86 e8 4e 60 53 bc e4 df | cc 9a 3d c3 c0 45 50 ae 29 00 00 08 00 00 40 2e | 29 00 00 1c 00 00 40 04 7c 3e 51 86 f8 c2 d8 3e | 91 5e b5 b9 30 fb 78 c2 1e ee 59 2a 00 00 00 1c | 00 00 40 05 db 61 07 56 aa 83 e7 9e 60 03 d7 6c | d1 3b e6 49 ab 27 fb 76 | state #11 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x7fac74004380 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x55dc311c2c20 | event_schedule: new EVENT_SO_DISCARD-pe@0x55dc311c2c20 | inserting event EVENT_SO_DISCARD, timeout in 200 seconds for #11 | libevent_malloc: new ptr-libevent@0x7fac74004380 size 128 | resume sending helper answer for #11 suppresed complete_v2_state_transition() | #11 spent 0.324 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@0x7fac640045d0 | spent 0.0025 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) | a9 c7 81 d4 f6 a7 8b 31 60 ea e3 df 67 58 0c 1f | 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | 99 8a 06 61 1c 26 f7 3f 10 3d 8d 13 12 09 c2 7c | 0f f7 f6 9d c1 66 ff fa 2b 24 16 f2 c1 03 7e d6 | 8f 32 d1 82 5f 8c be b7 6c 14 b1 09 25 42 41 ca | be 49 16 2d 5f d2 6e 5b 0f 63 d0 7b e0 cb 2d 3e | 3b 62 5d ea 82 9c 72 8d fc 66 68 41 b1 f2 7b 62 | eb 5b b0 1c a8 03 8d da e2 9e a6 c1 a6 39 49 26 | a0 1e b4 b3 27 97 a5 e9 21 d0 25 f6 5e f2 58 f9 | 36 69 64 4f 69 d9 88 82 fb c7 86 20 3e b0 0e c1 | 69 66 a1 01 e3 1f c6 ed db 88 0c f6 03 43 2d 60 | e3 aa 4e 0e 9c 2a 41 96 b1 28 a3 53 26 fd ef 0a | f4 8c 0a b9 af ef 03 59 fc 03 27 5a 0b c4 f6 5f | cb cc 47 bc dc 75 00 e2 25 83 69 18 ad 93 fe 3b | 12 8a fe 07 b0 35 77 5e 3e 93 fa f7 91 36 4d db | 62 0a 04 64 fa 23 c2 08 fb 08 83 5d 53 2d c5 9f | 1c a4 f3 95 7a 98 c5 36 90 de e2 c5 65 37 4c 90 | 11 9b 71 6a 10 be 11 14 81 70 2f e7 d2 5d 1e ea | 89 ff 05 04 29 dc 13 d2 13 4d 17 36 a4 04 86 7a | 7c 35 72 c1 e2 e5 9e bb 4a 45 94 6f 7a 82 35 ca | 9d c1 0c 51 e7 40 0c dc f0 2c 81 43 16 a3 fd 5f | 0a f1 85 45 63 fd 9f 04 01 19 d4 b9 f1 42 16 09 | e6 47 7a 9f 82 8d 51 f0 a2 c2 39 4a 64 4c 2f 8e | 97 fb 7f b5 86 be a7 54 49 94 c5 0e 29 4b 6b 9a | e3 31 76 70 a9 81 42 ca dc fa ef f8 6b 30 15 a6 | 07 ac 91 1f ea c9 6b ab 2b 61 28 ec ff c7 a7 56 | 96 64 26 9c 21 4f d6 91 a4 6e 4a c5 56 4e 30 6e | 1a f8 74 03 9b 08 f0 02 3b 31 69 e5 1c f9 37 41 | d7 0d 74 77 1f 14 b3 fb dc 0e 8f 86 1c 36 bd 78 | 49 f7 8a b0 2c 09 cf 5e e9 f3 f0 2f 54 5f a4 28 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | a9 c7 81 d4 f6 a7 8b 31 | responder cookie: | 60 ea e3 df 67 58 0c 1f | 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@0x7fac74004380 | free_event_entry: release EVENT_SO_DISCARD-pe@0x55dc311c2c20 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x55dc311c2c20 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #11 | libevent_malloc: new ptr-libevent@0x7fac640045d0 size 128 | #11 spent 0.0285 milliseconds in processing: Responder: process IKE_AUTH request (no SKEYSEED) in ikev2_process_state_packet() | crypto helper 0 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 0 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 0 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.166 milliseconds in ikev2_process_packet() | stop processing: from 192.1.2.45:500 (in process_md() at demux.c:380) | processing: STOP state #0 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.177 milliseconds in comm_handle_cb() reading and processing packet | calculating skeyseed using prf=sha2_256 integ=sha2_256 cipherkey-size=32 salt-size=0 | crypto helper 0 finished compute dh (V2) (ikev2_inI2outR2 KE); request ID 12 time elapsed 0.003897 seconds | (#11) spent 3.79 milliseconds in crypto helper computing work-order 12: ikev2_inI2outR2 KE (pcr) | crypto helper 0 sending results from work-order 12 for state #11 to event queue | scheduling resume sending helper answer for #11 | libevent_malloc: new ptr-libevent@0x7fac680010b0 size 128 | crypto helper 0 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 0 replies to request ID 12 | calling continuation function 0x55dc303bf630 | ikev2_parent_inI2outR2_continue for #11: calculating g^{xy}, sending R2 | #11 in state PARENT_R1: received v2I1, sent v2R1 | data for hmac: a9 c7 81 d4 f6 a7 8b 31 60 ea e3 df 67 58 0c 1f | data for hmac: 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | data for hmac: 99 8a 06 61 1c 26 f7 3f 10 3d 8d 13 12 09 c2 7c | data for hmac: 0f f7 f6 9d c1 66 ff fa 2b 24 16 f2 c1 03 7e d6 | data for hmac: 8f 32 d1 82 5f 8c be b7 6c 14 b1 09 25 42 41 ca | data for hmac: be 49 16 2d 5f d2 6e 5b 0f 63 d0 7b e0 cb 2d 3e | data for hmac: 3b 62 5d ea 82 9c 72 8d fc 66 68 41 b1 f2 7b 62 | data for hmac: eb 5b b0 1c a8 03 8d da e2 9e a6 c1 a6 39 49 26 | data for hmac: a0 1e b4 b3 27 97 a5 e9 21 d0 25 f6 5e f2 58 f9 | data for hmac: 36 69 64 4f 69 d9 88 82 fb c7 86 20 3e b0 0e c1 | data for hmac: 69 66 a1 01 e3 1f c6 ed db 88 0c f6 03 43 2d 60 | data for hmac: e3 aa 4e 0e 9c 2a 41 96 b1 28 a3 53 26 fd ef 0a | data for hmac: f4 8c 0a b9 af ef 03 59 fc 03 27 5a 0b c4 f6 5f | data for hmac: cb cc 47 bc dc 75 00 e2 25 83 69 18 ad 93 fe 3b | data for hmac: 12 8a fe 07 b0 35 77 5e 3e 93 fa f7 91 36 4d db | data for hmac: 62 0a 04 64 fa 23 c2 08 fb 08 83 5d 53 2d c5 9f | data for hmac: 1c a4 f3 95 7a 98 c5 36 90 de e2 c5 65 37 4c 90 | data for hmac: 11 9b 71 6a 10 be 11 14 81 70 2f e7 d2 5d 1e ea | data for hmac: 89 ff 05 04 29 dc 13 d2 13 4d 17 36 a4 04 86 7a | data for hmac: 7c 35 72 c1 e2 e5 9e bb 4a 45 94 6f 7a 82 35 ca | data for hmac: 9d c1 0c 51 e7 40 0c dc f0 2c 81 43 16 a3 fd 5f | data for hmac: 0a f1 85 45 63 fd 9f 04 01 19 d4 b9 f1 42 16 09 | data for hmac: e6 47 7a 9f 82 8d 51 f0 a2 c2 39 4a 64 4c 2f 8e | data for hmac: 97 fb 7f b5 86 be a7 54 49 94 c5 0e 29 4b 6b 9a | data for hmac: e3 31 76 70 a9 81 42 ca dc fa ef f8 6b 30 15 a6 | data for hmac: 07 ac 91 1f ea c9 6b ab 2b 61 28 ec ff c7 a7 56 | data for hmac: 96 64 26 9c 21 4f d6 91 a4 6e 4a c5 56 4e 30 6e | data for hmac: 1a f8 74 03 9b 08 f0 02 3b 31 69 e5 1c f9 37 41 | data for hmac: d7 0d 74 77 1f 14 b3 fb dc 0e 8f 86 1c 36 bd 78 | calculated auth: 49 f7 8a b0 2c 09 cf 5e e9 f3 f0 2f 54 5f a4 28 | provided auth: 49 f7 8a b0 2c 09 cf 5e e9 f3 f0 2f 54 5f a4 28 | 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=0x55dc311abff0 (line=1) | concluding with best_match=002 best=0x55dc311abff0 (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.0394 milliseconds in try_all_keys() trying a pubkey "westnet-eastnet-ikev2" #11: Authenticated using RSA | #11 spent 0.0652 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@0x7fac640045d0 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x55dc311c2c20 | event_schedule: new EVENT_SA_REKEY-pe@0x55dc311c2c20 | inserting event EVENT_SA_REKEY, timeout in 3330 seconds for #11 | libevent_malloc: new ptr-libevent@0x7fac640045d0 size 128 | pstats #11 ikev2.ike established | **emit ISAKMP Message: | initiator cookie: | a9 c7 81 d4 f6 a7 8b 31 | responder cookie: | 60 ea e3 df 67 58 0c 1f | 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=0x55dc311abff0 (line=1) | concluding with best_match=002 best=0x55dc311abff0 (lineno=1) | #11 spent 2.58 milliseconds in ikev2_calculate_rsa_hash() calling sign_hash_RSA() | emitting 274 raw bytes of rsa signature into IKEv2 Authentication Payload | rsa signature b2 8b 13 31 af 04 49 c0 bd ef 4b 28 a5 3c b5 ed | rsa signature 2c fc cc b4 31 a5 f2 bb 35 02 7b 3e 4e 0e 98 e0 | rsa signature d6 5a 2e e8 ac 9e f7 ae 28 f6 13 9c 55 89 80 df | rsa signature 78 91 8b 82 51 e3 58 0c f0 48 d2 98 f2 d5 b4 b5 | rsa signature 2b 42 fa 2a d7 1c 80 fc ad af 84 7d 4f a2 72 85 | rsa signature 9a ee e4 0a 92 b0 0d bc 94 12 c9 c0 df ba c5 74 | rsa signature f0 54 6d 0d 30 00 11 21 79 ab b9 40 e6 94 10 36 | rsa signature 61 31 84 3f 73 e3 7e f1 05 67 e0 b8 91 cd 3f 05 | rsa signature a1 ef 19 5e e2 a5 9c 46 5e 39 57 13 80 f7 6b 21 | rsa signature e4 a1 c2 f6 24 f5 6a af f9 c0 1e a9 39 49 88 88 | rsa signature 70 5e 7b cb b4 a2 77 9a f4 8a d1 91 fd 09 9c 15 | rsa signature fc 57 d1 42 f6 0b 66 6c 13 2e 67 12 43 c5 cb d3 | rsa signature 3e 8b 59 8e 59 5a 25 5c 22 6c b0 45 9b 7a 81 77 | rsa signature a4 ee 0d ec c9 bb 8a 5e 44 c5 7f df 6c 62 15 bc | rsa signature f3 4b 6f 90 38 a4 4d ce af 6a 78 7f 5b 3f 5d 53 | rsa signature ae 45 7d 02 8b 3d 3b b2 ec e2 a9 34 4e d7 41 32 | rsa signature 53 de 0a c3 40 aa 26 c7 07 d2 f7 34 4b 0f f1 4f | rsa signature ce f0 | #11 spent 2.63 milliseconds in ikev2_calculate_rsa_hash() | emitting length of IKEv2 Authentication Payload: 282 | creating state object #12 at 0x55dc311cbf50 | 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 9b c0 a9 73 | 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=9bc0a973;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=9bc0a973;ENCR=AES_CBC_256;INTEG=HMAC_SHA2_256_128;ESN=DISABLED | converting proposal to internal trans attrs | netlink_get_spi: allocated 0xce6a033 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 0c e6 a0 33 | ******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.9bc0a973@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.ce6a033@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=0x9b | popen cmd is 1039 chars long | cmd( 0):PLUTO_VERB='up-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet-ike: | cmd( 80):v2' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLU: | cmd( 160):TO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' : | cmd( 240):PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLU: | cmd( 320):TO_SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@: | cmd( 400):west' PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_P: | cmd( 480):EER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUT: | cmd( 560):O_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='RSASIG+EN: | cmd( 640):CRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND=: | cmd( 720):'CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISCO=': | cmd( 800):0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_C: | cmd( 880):FG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' VTI_ROUT: | cmd( 960):ING='no' VTI_SHARED='no' SPI_IN=0x9bc0a973 SPI_OUT=0xce6a033 ipsec _updown 2>&1: | route_and_eroute: firewall_notified: true | route_and_eroute: instance "westnet-eastnet-ikev2", setting eroute_owner {spd=0x55dc311b7980,sr=0x55dc311b7980} to #12 (was #0) (newest_ipsec_sa=#0) | #11 spent 0.497 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: a9 c7 81 d4 f6 a7 8b 31 60 ea e3 df 67 58 0c 1f | data being hmac: 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | data being hmac: 53 cb 66 b8 0e 65 58 47 00 32 8a ef 56 d7 ab ba | data being hmac: 09 95 0f e8 35 2c fd 2f 67 04 2a 1e 71 a7 20 a7 | data being hmac: eb f9 8c b9 10 18 68 31 51 ac f3 65 ff bf 66 44 | data being hmac: 31 6e d3 6a f5 54 4d de 12 48 1f 44 42 91 f2 2d | data being hmac: 44 22 7d 1e 65 14 8e 34 0d 90 53 8b f2 ad 8a a5 | data being hmac: 5e 33 d0 77 25 5e 3e 34 d7 ac f7 4a be 75 ac 35 | data being hmac: c6 6a 25 1b 5d 9c 50 31 97 50 37 f8 4c 14 d2 a6 | data being hmac: 9f 89 ac 13 b5 b1 6d 46 1a 01 9d 89 5d 8d f2 fa | data being hmac: db 64 d3 e0 98 3a 72 74 cc 5c d7 54 c5 21 c1 dc | data being hmac: b4 85 84 67 d6 60 91 b8 4b 7b 7f db a8 04 04 6d | data being hmac: d5 92 c6 29 fc d2 e5 9d 2e 79 bb 7e e0 e3 ab c4 | data being hmac: f3 6a 88 08 8e c8 d2 8d 08 c5 80 3f 4c 12 06 f2 | data being hmac: d2 cc 90 2a f4 b5 2f 37 d2 d1 fa 42 21 82 48 1f | data being hmac: ca a3 5f dd 5f e3 1c e6 93 1c fb 16 9d e1 ee 5e | data being hmac: 6c e4 0f 8f 41 78 f5 d8 df 2a 84 47 b2 a0 60 06 | data being hmac: 03 53 63 86 b5 2f f3 fc 39 f5 b2 d7 32 32 b7 20 | data being hmac: 4f 22 88 44 77 f3 69 7b ef 9d fb 10 cd 84 07 c5 | data being hmac: 24 85 c1 5a 15 0b 70 a1 2c e5 89 17 9f 5d 90 f7 | data being hmac: 7c e1 04 e9 ba b5 0f ab 86 54 27 48 47 aa d6 ad | data being hmac: 4d 5f 65 c5 59 08 9e 3c d5 4b 02 f8 4f 81 a5 25 | data being hmac: 14 71 a8 8e 0f ab 69 0c 34 41 19 be 65 d0 18 8c | data being hmac: 6a 78 f0 34 12 4d 6e 90 5f bb cc 41 39 05 0b ef | data being hmac: 13 f7 90 42 62 d9 5f df f1 39 18 ba d8 0b d4 6c | data being hmac: 32 c2 bf a5 c2 1e 7f 05 c9 6f a4 6c 28 4c 90 d8 | data being hmac: f0 23 33 44 98 d1 43 8b 6c 51 26 b0 3e 9c e2 b7 | data being hmac: 07 d7 db d3 7b 76 83 60 82 2d a7 53 87 78 e8 48 | out calculated auth: | 31 61 ae 3e f9 bc d6 6d 23 bb ca bb 07 ad 27 92 | ikev2_parent_inI2outR2_continue_tail returned STF_OK | #11 spent 4.07 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=>0x9bc0a973 <0x0ce6a033 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) | a9 c7 81 d4 f6 a7 8b 31 60 ea e3 df 67 58 0c 1f | 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | 53 cb 66 b8 0e 65 58 47 00 32 8a ef 56 d7 ab ba | 09 95 0f e8 35 2c fd 2f 67 04 2a 1e 71 a7 20 a7 | eb f9 8c b9 10 18 68 31 51 ac f3 65 ff bf 66 44 | 31 6e d3 6a f5 54 4d de 12 48 1f 44 42 91 f2 2d | 44 22 7d 1e 65 14 8e 34 0d 90 53 8b f2 ad 8a a5 | 5e 33 d0 77 25 5e 3e 34 d7 ac f7 4a be 75 ac 35 | c6 6a 25 1b 5d 9c 50 31 97 50 37 f8 4c 14 d2 a6 | 9f 89 ac 13 b5 b1 6d 46 1a 01 9d 89 5d 8d f2 fa | db 64 d3 e0 98 3a 72 74 cc 5c d7 54 c5 21 c1 dc | b4 85 84 67 d6 60 91 b8 4b 7b 7f db a8 04 04 6d | d5 92 c6 29 fc d2 e5 9d 2e 79 bb 7e e0 e3 ab c4 | f3 6a 88 08 8e c8 d2 8d 08 c5 80 3f 4c 12 06 f2 | d2 cc 90 2a f4 b5 2f 37 d2 d1 fa 42 21 82 48 1f | ca a3 5f dd 5f e3 1c e6 93 1c fb 16 9d e1 ee 5e | 6c e4 0f 8f 41 78 f5 d8 df 2a 84 47 b2 a0 60 06 | 03 53 63 86 b5 2f f3 fc 39 f5 b2 d7 32 32 b7 20 | 4f 22 88 44 77 f3 69 7b ef 9d fb 10 cd 84 07 c5 | 24 85 c1 5a 15 0b 70 a1 2c e5 89 17 9f 5d 90 f7 | 7c e1 04 e9 ba b5 0f ab 86 54 27 48 47 aa d6 ad | 4d 5f 65 c5 59 08 9e 3c d5 4b 02 f8 4f 81 a5 25 | 14 71 a8 8e 0f ab 69 0c 34 41 19 be 65 d0 18 8c | 6a 78 f0 34 12 4d 6e 90 5f bb cc 41 39 05 0b ef | 13 f7 90 42 62 d9 5f df f1 39 18 ba d8 0b d4 6c | 32 c2 bf a5 c2 1e 7f 05 c9 6f a4 6c 28 4c 90 d8 | f0 23 33 44 98 d1 43 8b 6c 51 26 b0 3e 9c e2 b7 | 07 d7 db d3 7b 76 83 60 82 2d a7 53 87 78 e8 48 | 31 61 ae 3e f9 bc d6 6d 23 bb ca bb 07 ad 27 92 | 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@0x55dc311c0170 | inserting event EVENT_SA_REKEY, timeout in 28530 seconds for #12 | libevent_malloc: new ptr-libevent@0x7fac70003a90 size 128 | resume sending helper answer for #11 suppresed complete_v2_state_transition() | #11 spent 4.37 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@0x7fac680010b0 | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00333 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00293 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) | a9 c7 81 d4 f6 a7 8b 31 60 ea e3 df 67 58 0c 1f | 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | 94 d3 e6 4f d0 fa f7 ec ac 01 d4 85 4d 7c b4 23 | 13 86 26 6e f9 76 9f ef 01 80 f1 30 84 50 45 db | a6 e2 27 5b b1 62 34 5b c3 dc b1 65 70 42 7f c8 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | a9 c7 81 d4 f6 a7 8b 31 | responder cookie: | 60 ea e3 df 67 58 0c 1f | 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: a9 c7 81 d4 f6 a7 8b 31 60 ea e3 df 67 58 0c 1f | data for hmac: 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | data for hmac: 94 d3 e6 4f d0 fa f7 ec ac 01 d4 85 4d 7c b4 23 | data for hmac: 13 86 26 6e f9 76 9f ef 01 80 f1 30 84 50 45 db | calculated auth: a6 e2 27 5b b1 62 34 5b c3 dc b1 65 70 42 7f c8 | provided auth: a6 e2 27 5b b1 62 34 5b c3 dc b1 65 70 42 7f c8 | 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: | a9 c7 81 d4 f6 a7 8b 31 | responder cookie: | 60 ea e3 df 67 58 0c 1f | 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 9b c0 a9 73 | delete PROTO_v2_ESP SA(0x9bc0a973) | 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(0x9bc0a973) "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.100s and NOT sending notification | child state #12: V2_IPSEC_R(established CHILD SA) => delete | get_sa_info esp.9bc0a973@192.1.2.45 | get_sa_info esp.ce6a033@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@0x7fac70003a90 | free_event_entry: release EVENT_SA_REKEY-pe@0x55dc311c0170 | 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='1569050241' PLUTO_CONN_POLICY='RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' VTI_ROUTING='no' VTI_SHARED='no | popen cmd is 1050 chars long | cmd( 0):PLUTO_VERB='down-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet-i: | cmd( 80):kev2' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' P: | cmd( 160):LUTO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0: | cmd( 240):' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' P: | cmd( 320):LUTO_SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID=: | cmd( 400):'@west' PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO: | cmd( 480):_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PL: | cmd( 560):UTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='1569050241' 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=0x9bc0a973 SPI_OUT=0xce6a033 ipsec _u: | cmd(1040):pdown 2>&1: | shunt_eroute() called for connection 'westnet-eastnet-ikev2' to 'replace with shunt' for rt_kind 'prospective erouted' using protoports 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.9bc0a973@192.1.2.45 | netlink response for Del SA esp.9bc0a973@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.ce6a033@192.1.2.23 | netlink response for Del SA esp.ce6a033@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 0c e6 a0 33 | 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: a9 c7 81 d4 f6 a7 8b 31 60 ea e3 df 67 58 0c 1f | data being hmac: 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | data being hmac: a6 11 0b ff da 62 4a 18 e3 a1 22 50 98 b0 cb 42 | data being hmac: 56 55 75 a6 61 09 b5 e1 e7 ad 95 cb 52 55 34 87 | out calculated auth: | 86 8f 44 9a 5a c0 7f d5 f6 f6 f4 97 cb 96 5f 89 | 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) | a9 c7 81 d4 f6 a7 8b 31 60 ea e3 df 67 58 0c 1f | 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | a6 11 0b ff da 62 4a 18 e3 a1 22 50 98 b0 cb 42 | 56 55 75 a6 61 09 b5 e1 e7 ad 95 cb 52 55 34 87 | 86 8f 44 9a 5a c0 7f d5 f6 f6 f4 97 cb 96 5f 89 | 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.666 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.878 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.891 milliseconds in comm_handle_cb() reading and processing packet | spent 0.00156 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) | a9 c7 81 d4 f6 a7 8b 31 60 ea e3 df 67 58 0c 1f | 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | c0 bd 82 fe 50 7a 52 48 45 25 6a 07 66 ad cf d7 | 9f 1c 7c 94 ac 79 b3 07 ef 0e af d1 38 a8 d6 91 | 70 a6 09 76 97 45 4e f9 ba 14 d9 e4 b1 e0 cb 9b | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | a9 c7 81 d4 f6 a7 8b 31 | responder cookie: | 60 ea e3 df 67 58 0c 1f | 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: a9 c7 81 d4 f6 a7 8b 31 60 ea e3 df 67 58 0c 1f | data for hmac: 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | data for hmac: c0 bd 82 fe 50 7a 52 48 45 25 6a 07 66 ad cf d7 | data for hmac: 9f 1c 7c 94 ac 79 b3 07 ef 0e af d1 38 a8 d6 91 | calculated auth: 70 a6 09 76 97 45 4e f9 ba 14 d9 e4 b1 e0 cb 9b | provided auth: 70 a6 09 76 97 45 4e f9 ba 14 d9 e4 b1 e0 cb 9b | 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: | a9 c7 81 d4 f6 a7 8b 31 | responder cookie: | 60 ea e3 df 67 58 0c 1f | 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: a9 c7 81 d4 f6 a7 8b 31 60 ea e3 df 67 58 0c 1f | data being hmac: 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | data being hmac: 99 b9 63 47 58 3a f8 90 d7 1a 85 fb 03 2c 53 20 | data being hmac: 09 4e 24 75 23 8a 1e cc 09 ef d2 80 33 80 0e a5 | out calculated auth: | bc 56 d5 0b 8e 1d 29 3f 54 26 ad af 9e b6 9b 87 | 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) | a9 c7 81 d4 f6 a7 8b 31 60 ea e3 df 67 58 0c 1f | 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | 99 b9 63 47 58 3a f8 90 d7 1a 85 fb 03 2c 53 20 | 09 4e 24 75 23 8a 1e cc 09 ef d2 80 33 80 0e a5 | bc 56 d5 0b 8e 1d 29 3f 54 26 ad af 9e b6 9b 87 | 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 13 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.132s 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@0x7fac640045d0 | free_event_entry: release EVENT_SA_REKEY-pe@0x55dc311c2c20 | 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: 0x55dc3113a220 @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.487 milliseconds in comm_handle_cb() reading and processing packet | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00461 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00414 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) | 79 68 5e 6c 55 19 1a 56 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 84 c8 01 c0 fc 70 2c b7 51 40 07 1d 4f 48 be | 12 3b 63 97 44 1b 7c d5 a8 c4 7f 07 46 c6 09 22 | 6c de ac ed c3 38 5d 8a 47 1d fc 07 13 ff 0c 08 | 11 9d f0 6f 91 05 61 a1 14 87 50 cd 83 30 00 a1 | 65 e3 00 79 ee f5 19 eb ae db ab 80 f7 73 e9 4c | 88 8f 92 52 9d b7 23 f5 5c 8e 2f b1 9d 0c 75 0d | 09 0b a0 ec da 5c 78 f6 d6 65 53 26 3f 7f 6c 87 | 67 46 34 21 66 5e 29 a9 34 2b 97 35 33 e1 f0 14 | 1e 4c 4f 95 29 00 00 24 e1 40 af 0c 5d 35 61 50 | 96 33 17 1b 20 06 2f 75 df 27 2f da b0 b3 9c 25 | 75 12 ad 15 71 20 a1 10 29 00 00 08 00 00 40 2e | 29 00 00 1c 00 00 40 04 94 ca 2b d2 65 3c 4e 67 | d0 6d 3f 56 7b 0d d6 0a 18 e0 a4 70 00 00 00 1c | 00 00 40 05 1c a4 30 f9 32 4d 48 0a 9a b9 91 05 | 4b 5b 1b 0e 28 4d 68 e1 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 79 68 5e 6c 55 19 1a 56 | 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 0x55dc311bd3a0 | 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=0x55dc304957a0(20) | natd_hash: icookie= 79 68 5e 6c 55 19 1a 56 | 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= 1c a4 30 f9 32 4d 48 0a 9a b9 91 05 4b 5b 1b 0e | natd_hash: hash= 28 4d 68 e1 | natd_hash: rcookie is zero | natd_hash: hasher=0x55dc304957a0(20) | natd_hash: icookie= 79 68 5e 6c 55 19 1a 56 | 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= 94 ca 2b d2 65 3c 4e 67 d0 6d 3f 56 7b 0d d6 0a | natd_hash: hash= 18 e0 a4 70 | 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@0x55dc311c0170 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #13 | libevent_malloc: new ptr-libevent@0x7fac680010b0 size 128 | #13 spent 0.415 milliseconds in processing: Respond to IKE_SA_INIT in ikev2_process_state_packet() | crypto helper 3 resuming | [RE]START processing: state #13 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3376) | crypto helper 3 starting work-order 13 for state #13 | #13 complete_v2_state_transition() PARENT_R0->PARENT_R1 with status STF_SUSPEND | suspending state #13 and saving MD | crypto helper 3 doing build KE and nonce (ikev2_inI1outR1 KE); request ID 13 | #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_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.887 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.903 milliseconds in comm_handle_cb() reading and processing packet | crypto helper 3 finished build KE and nonce (ikev2_inI1outR1 KE); request ID 13 time elapsed 0.00448 seconds | (#13) spent 4.47 milliseconds in crypto helper computing work-order 13: ikev2_inI1outR1 KE (pcr) | crypto helper 3 sending results from work-order 13 for state #13 to event queue | scheduling resume sending helper answer for #13 | libevent_malloc: new ptr-libevent@0x7fac5c0070c0 size 128 | crypto helper 3 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 3 replies to request ID 13 | calling continuation function 0x55dc303bf630 | ikev2_parent_inI1outR1_continue for #13: calculated ke+nonce, sending R1 | **emit ISAKMP Message: | initiator cookie: | 79 68 5e 6c 55 19 1a 56 | responder cookie: | f7 12 cd ab e6 c4 fd db | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_IKE_SA_INIT (0x22) | flags: ISAKMP_FLAG_v2_MSG_RESPONSE (0x20) | Message ID: 0 (0x0) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | Emitting ikev2_proposal ... | ***emit IKEv2 Security Association Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'ISAKMP Message'.'next payload type' to current IKEv2 Security Association Payload (33:ISAKMP_NEXT_v2SA) | next payload chain: saving location 'IKEv2 Security Association Payload'.'next payload type' in 'reply packet' | ****emit IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | prop #: 1 (0x1) | proto ID: IKEv2_SEC_PROTO_IKE (0x1) | spi size: 0 (0x0) | # transforms: 4 (0x4) | last substructure: saving location 'IKEv2 Security Association Payload'.'IKEv2 Proposal Substructure Payload'.'last proposal' | *****emit IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | IKEv2 transform type: TRANS_TYPE_ENCR (0x1) | IKEv2 transform ID: AES_CBC (0xc) | last substructure: saving location 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' | ******emit IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 256 (0x100) | emitting length of IKEv2 Transform Substructure Payload: 12 | *****emit IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | IKEv2 transform type: TRANS_TYPE_PRF (0x2) | IKEv2 transform ID: PRF_HMAC_SHA2_256 (0x5) | last substructure: checking 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' is v2_TRANSFORM_NON_LAST (0x3) | last substructure: saving location 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' | emitting length of IKEv2 Transform Substructure Payload: 8 | *****emit IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | IKEv2 transform type: TRANS_TYPE_INTEG (0x3) | IKEv2 transform ID: AUTH_HMAC_SHA2_256_128 (0xc) | last substructure: checking 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' is v2_TRANSFORM_NON_LAST (0x3) | last substructure: saving location 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' | emitting length of IKEv2 Transform Substructure Payload: 8 | *****emit IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_LAST (0x0) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_ECP_521 (0x15) | last substructure: checking 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' is v2_TRANSFORM_NON_LAST (0x3) | last substructure: saving location 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' | emitting length of IKEv2 Transform Substructure Payload: 8 | emitting length of IKEv2 Proposal Substructure Payload: 44 | last substructure: checking 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' is 0 | emitting length of IKEv2 Security Association Payload: 48 | last substructure: checking 'IKEv2 Security Association Payload'.'IKEv2 Proposal Substructure Payload'.'last proposal' is 0 | ***emit IKEv2 Key Exchange Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | DH group: OAKLEY_GROUP_ECP_521 (0x15) | next payload chain: setting previous 'IKEv2 Security Association Payload'.'next payload type' to current IKEv2 Key Exchange Payload (34:ISAKMP_NEXT_v2KE) | next payload chain: saving location 'IKEv2 Key Exchange Payload'.'next payload type' in 'reply packet' | emitting 132 raw bytes of ikev2 g^x into IKEv2 Key Exchange Payload | ikev2 g^x 01 48 1a e5 fa bd ce ac 91 f0 27 70 87 08 7d 61 | ikev2 g^x ed 8a 2a 6e da 69 05 b0 88 7f 3b a4 38 60 eb aa | ikev2 g^x eb 47 93 e7 d4 f4 01 26 a8 0b d0 55 b5 5f f2 92 | ikev2 g^x 27 42 61 ef 28 6d 9e 3f 4b d6 c9 66 47 de f4 69 | ikev2 g^x 2f 7c 01 a7 45 a2 a5 c6 d9 25 96 ac 4b 92 c4 65 | ikev2 g^x 57 ee cc e0 8b bc 30 1a 8a fe 3a 5c 68 29 ae ad | ikev2 g^x 5f 11 08 fb f4 5d 51 7b 98 58 a7 d2 0b ff 93 2b | ikev2 g^x cd 3b eb 9c 1d f7 b2 34 10 86 fa a7 36 d2 3c 27 | ikev2 g^x 29 b7 d6 6f | 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 f7 01 20 08 41 4d 2c ba c6 e2 df 35 e2 77 90 0f | IKEv2 nonce ed a7 63 c6 1c 68 c4 01 f6 fc 7b f6 2b bc b4 2a | 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=0x55dc304957a0(20) | natd_hash: icookie= 79 68 5e 6c 55 19 1a 56 | natd_hash: rcookie= f7 12 cd ab e6 c4 fd db | natd_hash: ip= c0 01 02 17 | natd_hash: port= 01 f4 | natd_hash: hash= 03 53 40 45 3b 6e 85 ec fe 48 96 13 d6 44 62 08 | natd_hash: hash= e1 99 a3 ec | 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 03 53 40 45 3b 6e 85 ec fe 48 96 13 d6 44 62 08 | Notify data e1 99 a3 ec | emitting length of IKEv2 Notify Payload: 28 | natd_hash: hasher=0x55dc304957a0(20) | natd_hash: icookie= 79 68 5e 6c 55 19 1a 56 | natd_hash: rcookie= f7 12 cd ab e6 c4 fd db | natd_hash: ip= c0 01 02 2d | natd_hash: port= 01 f4 | natd_hash: hash= 61 a3 ff 00 05 1a 90 cd 41 5d a3 20 61 cb 96 c6 | natd_hash: hash= d8 73 74 df | Adding a v2N Payload | ***emit IKEv2 Notify Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | Notify Message Type: v2N_NAT_DETECTION_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 61 a3 ff 00 05 1a 90 cd 41 5d a3 20 61 cb 96 c6 | Notify data d8 73 74 df | 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) | 79 68 5e 6c 55 19 1a 56 f7 12 cd ab e6 c4 fd db | 21 20 22 20 00 00 00 00 00 00 01 3c 22 00 00 30 | 00 00 00 2c 01 01 00 04 03 00 00 0c 01 00 00 0c | 80 0e 01 00 03 00 00 08 02 00 00 05 03 00 00 08 | 03 00 00 0c 00 00 00 08 04 00 00 15 28 00 00 8c | 00 15 00 00 01 48 1a e5 fa bd ce ac 91 f0 27 70 | 87 08 7d 61 ed 8a 2a 6e da 69 05 b0 88 7f 3b a4 | 38 60 eb aa eb 47 93 e7 d4 f4 01 26 a8 0b d0 55 | b5 5f f2 92 27 42 61 ef 28 6d 9e 3f 4b d6 c9 66 | 47 de f4 69 2f 7c 01 a7 45 a2 a5 c6 d9 25 96 ac | 4b 92 c4 65 57 ee cc e0 8b bc 30 1a 8a fe 3a 5c | 68 29 ae ad 5f 11 08 fb f4 5d 51 7b 98 58 a7 d2 | 0b ff 93 2b cd 3b eb 9c 1d f7 b2 34 10 86 fa a7 | 36 d2 3c 27 29 b7 d6 6f 29 00 00 24 f7 01 20 08 | 41 4d 2c ba c6 e2 df 35 e2 77 90 0f ed a7 63 c6 | 1c 68 c4 01 f6 fc 7b f6 2b bc b4 2a 29 00 00 08 | 00 00 40 2e 29 00 00 1c 00 00 40 04 03 53 40 45 | 3b 6e 85 ec fe 48 96 13 d6 44 62 08 e1 99 a3 ec | 00 00 00 1c 00 00 40 05 61 a3 ff 00 05 1a 90 cd | 41 5d a3 20 61 cb 96 c6 d8 73 74 df | state #13 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x7fac680010b0 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x55dc311c0170 | event_schedule: new EVENT_SO_DISCARD-pe@0x55dc311c0170 | inserting event EVENT_SO_DISCARD, timeout in 200 seconds for #13 | libevent_malloc: new ptr-libevent@0x7fac680010b0 size 128 | resume sending helper answer for #13 suppresed complete_v2_state_transition() | #13 spent 0.595 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@0x7fac5c0070c0 | spent 0.00303 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 480 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 79 68 5e 6c 55 19 1a 56 f7 12 cd ab e6 c4 fd db | 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | 9c 58 7f ae 74 28 38 d1 8f af e5 01 23 de 8c e9 | 13 01 97 68 fb 40 f4 66 15 c8 d2 74 1e bb 29 3a | 6d c8 29 18 4c 6c 3c f7 4a 77 fe 9f f2 89 f2 6e | 4e 8b 72 ac d0 fd 65 c2 b9 49 f6 f2 a7 2c 12 db | 75 d0 c8 cc 83 b3 c8 4e 90 e4 66 34 38 41 37 72 | c8 ea 51 f3 e5 2b 1f 00 97 f7 5a dd 2d 18 31 94 | 6d 17 56 c7 33 d6 3e 11 a3 da c0 c7 51 da 79 52 | 93 4f 46 f8 cd c4 4f ea ec 26 d6 87 71 0d 55 5c | b8 5e be b3 e6 c4 93 fe 9e 25 35 8a 32 c3 eb 1d | fe 6f 53 39 e7 a2 82 51 79 a0 a4 0c cf 2b 00 bd | 9e 9e bc 6d ab 01 64 74 97 8d 2f 53 e4 21 3a c2 | cd 1e 6e f2 f6 c7 3c 2d c5 b6 75 7b d4 36 31 4b | 8a 92 1f 16 30 6d 46 e3 0e 77 e3 4a cd 5e ec d7 | 45 c7 d8 89 d5 df c9 e4 b5 f0 90 1d 67 5f 87 94 | 5f f4 4e 53 1c d3 d0 f6 9b 5f 9a 19 8b e6 14 38 | 70 76 4d 91 c2 68 86 08 82 4a 44 b9 f5 57 9b 4f | 78 b1 e5 77 6f cc 69 ae 66 bc 47 c2 c2 b8 b7 ea | 69 c3 10 e5 4b 30 60 ca f0 36 20 bd cd 44 49 87 | f4 ba 32 02 27 20 48 90 bc 73 e4 99 27 69 11 2e | 37 f0 8c b4 75 6d ff be 9e fc 0e ec c2 44 69 6e | 8d 65 08 65 e3 35 ba c7 be 20 d7 a9 ed 4e 66 1e | 80 6f 9f d9 b0 48 a1 79 5a 39 8b e5 ac 06 7d 74 | 4c 75 da 79 be b3 fb bf 71 fc 63 9c ca 2e e7 92 | 68 57 5c ac aa 91 c1 db 09 82 30 a6 cd 50 d2 ed | 92 ad 6b b3 21 b7 16 3b df 22 8f b8 5f a4 e1 cb | 04 13 51 e8 51 30 e0 09 3a 44 c9 71 8c a7 de 8d | ad 79 a0 cd 78 f1 10 7e 99 d3 b4 b6 c0 d7 fa a2 | 44 56 a4 10 d0 a3 a7 f6 4e 27 5e f7 51 99 a3 8f | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 79 68 5e 6c 55 19 1a 56 | responder cookie: | f7 12 cd ab e6 c4 fd db | next payload type: ISAKMP_NEXT_v2SK (0x2e) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_IKE_AUTH (0x23) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 1 (0x1) | length: 480 (0x1e0) | processing version=2.0 packet with exchange type=ISAKMP_v2_IKE_AUTH (35) | I am the IKE SA Original Responder receiving an IKEv2 IKE_AUTH request | State DB: found IKEv2 state #13 in PARENT_R1 (find_v2_ike_sa) | start processing: state #13 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2016) | State DB: IKEv2 state not found (find_v2_sa_by_responder_wip) | [RE]START processing: state #13 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ike_process_packet() at ikev2.c:2064) | #13 st.st_msgid_lastrecv 0 md.hdr.isa_msgid 00000001 | Message ID: #13 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0 | unpacking clear payload | Now let's proceed with payload (ISAKMP_NEXT_v2SK) | ***parse IKEv2 Encryption Payload: | next payload type: ISAKMP_NEXT_v2IDi (0x23) | flags: none (0x0) | length: 452 (0x1c4) | processing payload: ISAKMP_NEXT_v2SK (len=448) | Message ID: start-responder #13 request 1; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0 wip.initiator=-1 wip.responder=-1->1 | #13 in state PARENT_R1: received v2I1, sent v2R1 | selected state microcode Responder: process IKE_AUTH request (no SKEYSEED) | Now let's proceed with state specific processing | calling processor Responder: process IKE_AUTH request (no SKEYSEED) | ikev2 parent inI2outR2: calculating g^{xy} in order to decrypt I2 | offloading IKEv2 SKEYSEED using prf=HMAC_SHA2_256 integ=HMAC_SHA2_256_128 cipherkey=AES_CBC | adding ikev2_inI2outR2 KE work-order 14 for state #13 | state #13 requesting EVENT_SO_DISCARD to be deleted | libevent_free: release ptr-libevent@0x7fac680010b0 | free_event_entry: release EVENT_SO_DISCARD-pe@0x55dc311c0170 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x55dc311c0170 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #13 | libevent_malloc: new ptr-libevent@0x7fac680010b0 size 128 | #13 spent 0.0301 milliseconds in processing: Responder: process IKE_AUTH request (no SKEYSEED) in ikev2_process_state_packet() | crypto helper 6 resuming | [RE]START processing: state #13 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3376) | crypto helper 6 starting work-order 14 for state #13 | #13 complete_v2_state_transition() PARENT_R1->PARENT_R1 with status STF_SUSPEND | suspending state #13 and saving MD | #13 is busy; has a suspended MD | crypto helper 6 doing compute dh (V2) (ikev2_inI2outR2 KE); request ID 14 | [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.217 milliseconds in ikev2_process_packet() | stop processing: from 192.1.2.45:500 (in process_md() at demux.c:380) | processing: STOP state #0 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.228 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.003116 seconds | (#13) spent 3.08 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@0x7fac60002240 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 0x55dc303bf630 | ikev2_parent_inI2outR2_continue for #13: calculating g^{xy}, sending R2 | #13 in state PARENT_R1: received v2I1, sent v2R1 | data for hmac: 79 68 5e 6c 55 19 1a 56 f7 12 cd ab e6 c4 fd db | data for hmac: 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | data for hmac: 9c 58 7f ae 74 28 38 d1 8f af e5 01 23 de 8c e9 | data for hmac: 13 01 97 68 fb 40 f4 66 15 c8 d2 74 1e bb 29 3a | data for hmac: 6d c8 29 18 4c 6c 3c f7 4a 77 fe 9f f2 89 f2 6e | data for hmac: 4e 8b 72 ac d0 fd 65 c2 b9 49 f6 f2 a7 2c 12 db | data for hmac: 75 d0 c8 cc 83 b3 c8 4e 90 e4 66 34 38 41 37 72 | data for hmac: c8 ea 51 f3 e5 2b 1f 00 97 f7 5a dd 2d 18 31 94 | data for hmac: 6d 17 56 c7 33 d6 3e 11 a3 da c0 c7 51 da 79 52 | data for hmac: 93 4f 46 f8 cd c4 4f ea ec 26 d6 87 71 0d 55 5c | data for hmac: b8 5e be b3 e6 c4 93 fe 9e 25 35 8a 32 c3 eb 1d | data for hmac: fe 6f 53 39 e7 a2 82 51 79 a0 a4 0c cf 2b 00 bd | data for hmac: 9e 9e bc 6d ab 01 64 74 97 8d 2f 53 e4 21 3a c2 | data for hmac: cd 1e 6e f2 f6 c7 3c 2d c5 b6 75 7b d4 36 31 4b | data for hmac: 8a 92 1f 16 30 6d 46 e3 0e 77 e3 4a cd 5e ec d7 | data for hmac: 45 c7 d8 89 d5 df c9 e4 b5 f0 90 1d 67 5f 87 94 | data for hmac: 5f f4 4e 53 1c d3 d0 f6 9b 5f 9a 19 8b e6 14 38 | data for hmac: 70 76 4d 91 c2 68 86 08 82 4a 44 b9 f5 57 9b 4f | data for hmac: 78 b1 e5 77 6f cc 69 ae 66 bc 47 c2 c2 b8 b7 ea | data for hmac: 69 c3 10 e5 4b 30 60 ca f0 36 20 bd cd 44 49 87 | data for hmac: f4 ba 32 02 27 20 48 90 bc 73 e4 99 27 69 11 2e | data for hmac: 37 f0 8c b4 75 6d ff be 9e fc 0e ec c2 44 69 6e | data for hmac: 8d 65 08 65 e3 35 ba c7 be 20 d7 a9 ed 4e 66 1e | data for hmac: 80 6f 9f d9 b0 48 a1 79 5a 39 8b e5 ac 06 7d 74 | data for hmac: 4c 75 da 79 be b3 fb bf 71 fc 63 9c ca 2e e7 92 | data for hmac: 68 57 5c ac aa 91 c1 db 09 82 30 a6 cd 50 d2 ed | data for hmac: 92 ad 6b b3 21 b7 16 3b df 22 8f b8 5f a4 e1 cb | data for hmac: 04 13 51 e8 51 30 e0 09 3a 44 c9 71 8c a7 de 8d | data for hmac: ad 79 a0 cd 78 f1 10 7e 99 d3 b4 b6 c0 d7 fa a2 | calculated auth: 44 56 a4 10 d0 a3 a7 f6 4e 27 5e f7 51 99 a3 8f | provided auth: 44 56 a4 10 d0 a3 a7 f6 4e 27 5e f7 51 99 a3 8f | 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=0x55dc311abff0 (line=1) | concluding with best_match=002 best=0x55dc311abff0 (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.0519 milliseconds in try_all_keys() trying a pubkey "westnet-eastnet-ikev2" #13: Authenticated using RSA | #13 spent 0.0763 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@0x7fac680010b0 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x55dc311c0170 | event_schedule: new EVENT_SA_REKEY-pe@0x55dc311c0170 | inserting event EVENT_SA_REKEY, timeout in 3330 seconds for #13 | libevent_malloc: new ptr-libevent@0x7fac680010b0 size 128 | pstats #13 ikev2.ike established | **emit ISAKMP Message: | initiator cookie: | 79 68 5e 6c 55 19 1a 56 | responder cookie: | f7 12 cd ab e6 c4 fd db | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_IKE_AUTH (0x23) | flags: ISAKMP_FLAG_v2_MSG_RESPONSE (0x20) | Message ID: 1 (0x1) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | IKEv2 CERT: send a certificate? | IKEv2 CERT: no certificate to send | ***emit IKEv2 Encryption Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'ISAKMP Message'.'next payload type' to current IKEv2 Encryption Payload (46:ISAKMP_NEXT_v2SK) | next payload chain: saving location 'IKEv2 Encryption Payload'.'next payload type' in 'reply packet' | emitting 16 zero bytes of IV into IKEv2 Encryption Payload | Initiator child policy is compress=no, NOT sending v2N_IPCOMP_SUPPORTED | ****emit IKEv2 Identification - Responder - Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | ID type: ID_FQDN (0x2) | next payload chain: setting previous 'IKEv2 Encryption Payload'.'next payload type' to current IKEv2 Identification - Responder - Payload (36:ISAKMP_NEXT_v2IDr) | next payload chain: saving location 'IKEv2 Identification - Responder - Payload'.'next payload type' in 'reply packet' | emitting 4 raw bytes of my identity into IKEv2 Identification - Responder - Payload | my identity 65 61 73 74 | emitting length of IKEv2 Identification - Responder - Payload: 12 | assembled IDr payload | CHILD SA proposals received | going to assemble AUTH payload | ****emit IKEv2 Authentication Payload: | next payload type: ISAKMP_NEXT_v2SA (0x21) | flags: none (0x0) | auth method: IKEv2_AUTH_RSA (0x1) | next payload chain: ignoring supplied 'IKEv2 Authentication Payload'.'next payload type' value 33:ISAKMP_NEXT_v2SA | next payload chain: setting previous 'IKEv2 Identification - Responder - Payload'.'next payload type' to current IKEv2 Authentication Payload (39:ISAKMP_NEXT_v2AUTH) | next payload chain: saving location 'IKEv2 Authentication Payload'.'next payload type' in 'reply packet' | started looking for secret for @east->@west of kind PKK_RSA | actually looking for secret for @east->@west of kind PKK_RSA | line 1: key type PKK_RSA(@east) to type PKK_RSA | 1: compared key (none) to @east / @west -> 002 | 2: compared key (none) to @east / @west -> 002 | line 1: match=002 | match 002 beats previous best_match 000 match=0x55dc311abff0 (line=1) | concluding with best_match=002 best=0x55dc311abff0 (lineno=1) | #13 spent 4.58 milliseconds in ikev2_calculate_rsa_hash() calling sign_hash_RSA() | emitting 274 raw bytes of rsa signature into IKEv2 Authentication Payload | rsa signature bc d3 15 3c d9 36 31 ff 8f 9e 7b 5e 6d 4d c5 75 | rsa signature e4 21 be d4 8d c1 a7 9a b5 eb 96 31 8c 54 f0 df | rsa signature 75 26 74 8a af 00 6a 39 16 25 bd 1f 29 89 4b e3 | rsa signature ac f4 61 ab c5 95 91 8c 65 01 d5 c6 d6 8d a8 5b | rsa signature 5f 2d 6e 08 d9 22 ca 43 2b d9 a3 1c 93 4e 28 ab | rsa signature 9c dd 20 4d 90 df f1 24 6f b6 40 10 b5 12 73 0d | rsa signature 73 54 71 19 bb 3f 68 ab 6f c6 be de 57 c0 1b 8d | rsa signature 22 79 8d 45 29 30 09 46 b0 70 fa fc cd 47 8b 0b | rsa signature b6 e2 a4 d3 f1 c0 04 2e a5 9c ce 2e 6c 34 f0 7d | rsa signature 47 43 c3 48 7d 48 75 2f 2e 5a d0 62 37 cc 40 10 | rsa signature 0d 85 33 32 d0 06 b8 ee e3 65 aa 4e 71 8b 79 94 | rsa signature b2 9c 92 d2 7f ff 49 ef dd 50 62 c4 32 c4 d8 f3 | rsa signature 2d ad f3 2d c2 80 33 86 ab 68 4f e8 cb eb cc d3 | rsa signature 67 49 6b 7d a7 70 c3 06 71 3e 7d 43 c4 68 a5 85 | rsa signature e3 b0 da c1 2b 84 43 87 e5 70 f9 cd 28 69 84 48 | rsa signature ac 3a ca 93 a0 3b 4e f2 7c 69 9e 43 19 01 28 85 | rsa signature ba 85 ca 3d 66 05 b1 fb dc 21 6b 97 63 a8 29 78 | rsa signature 01 15 | #13 spent 4.67 milliseconds in ikev2_calculate_rsa_hash() | emitting length of IKEv2 Authentication Payload: 282 | creating state object #14 at 0x55dc311cbf50 | 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 6a 0d 16 94 | 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=6a0d1694;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=6a0d1694;ENCR=AES_CBC_256;INTEG=HMAC_SHA2_256_128;ESN=DISABLED | converting proposal to internal trans attrs | netlink_get_spi: allocated 0xfb1c654e 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 fb 1c 65 4e | ******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.6a0d1694@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.fb1c654e@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=0x6a | 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=0x6a0d1694 SPI_OUT=0xfb1c654e ipsec _updown 2>&1: | route_and_eroute: firewall_notified: true | route_and_eroute: instance "westnet-eastnet-ikev2", setting eroute_owner {spd=0x55dc311b7980,sr=0x55dc311b7980} to #14 (was #0) (newest_ipsec_sa=#0) | #13 spent 0.536 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: 79 68 5e 6c 55 19 1a 56 f7 12 cd ab e6 c4 fd db | data being hmac: 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | data being hmac: 06 90 f0 5a 66 e0 92 2b 13 55 93 77 55 c4 08 f1 | data being hmac: d4 1a db 45 0c ff 09 a7 4d 0c bb d6 8f 9f 8e c2 | data being hmac: 1b 77 54 b4 8c 33 aa bd d2 90 d8 5f 48 ba 32 b5 | data being hmac: 69 b8 a0 3f 06 e1 ea 05 75 6b 79 3a 6f 39 ae 46 | data being hmac: 1e f7 5e 29 7d c4 b4 d6 c6 b5 96 79 77 c8 c6 ca | data being hmac: f6 f5 34 bb 9f da 7e 08 bf c7 45 fa 66 26 c9 8a | data being hmac: 35 0e 00 ed 18 a5 22 5b f4 ff bc ae 83 22 78 49 | data being hmac: f1 92 14 7d 4a 4b 4d 62 a3 97 9f 4f 11 1f 14 c0 | data being hmac: d6 76 0c 55 a8 f5 9d ac 59 79 18 73 71 a4 8a 81 | data being hmac: 08 8c 21 68 ba 68 bd af af d6 80 d4 2a 76 38 66 | data being hmac: 9c 03 1d 40 2d 42 d7 53 af 11 21 77 e8 2f 16 9f | data being hmac: f8 ca 52 b0 6d 80 43 e0 79 01 c4 7f 78 20 a4 e2 | data being hmac: 4a e2 aa 80 c6 d7 18 1d 49 a7 f9 c5 7a 2c 0d 98 | data being hmac: ac e2 aa 4a 9b 9f 4f 09 c7 e7 29 43 59 f0 29 b7 | data being hmac: 15 6c 44 48 0f 28 a7 9b 9d 07 22 10 0a db 2c 23 | data being hmac: e3 62 f6 a4 84 7e e0 ae 23 a3 c5 88 ab 1e ec 37 | data being hmac: 92 5f cd 25 ff 54 40 c6 f8 5d f1 35 b6 66 08 de | data being hmac: aa 7c a6 7f ef db ea 44 8b cb 35 8f 8a 55 52 b0 | data being hmac: bc a8 ba cc 2e e6 49 7a 08 95 7c 1b 9e 35 d6 fe | data being hmac: 66 2e c5 bf f2 af d9 81 53 11 d2 02 d8 70 e8 74 | data being hmac: fb 81 b6 2b ca a7 5d 8f 63 56 58 f1 f2 a9 27 da | data being hmac: de 1e d3 d4 d8 3c ec c4 30 8a bd 33 81 65 81 36 | data being hmac: 29 c4 87 26 ff f1 11 de 09 32 7a aa 65 f7 b6 b3 | data being hmac: 2a b6 61 74 7f 70 1d c7 10 5b bb 14 9c b6 59 c9 | data being hmac: f9 9c 69 09 09 2c 88 cf 0f 3d 7c 27 69 8b 95 22 | data being hmac: 00 f0 3a 9e ff f7 e2 18 43 b3 bf 1c d3 a8 2a 43 | out calculated auth: | 0d 81 bd 01 71 9f 2d 41 9b 75 61 b7 fd 72 f8 ac | ikev2_parent_inI2outR2_continue_tail returned STF_OK | #13 spent 6.55 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=>0x6a0d1694 <0xfb1c654e 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) | 79 68 5e 6c 55 19 1a 56 f7 12 cd ab e6 c4 fd db | 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | 06 90 f0 5a 66 e0 92 2b 13 55 93 77 55 c4 08 f1 | d4 1a db 45 0c ff 09 a7 4d 0c bb d6 8f 9f 8e c2 | 1b 77 54 b4 8c 33 aa bd d2 90 d8 5f 48 ba 32 b5 | 69 b8 a0 3f 06 e1 ea 05 75 6b 79 3a 6f 39 ae 46 | 1e f7 5e 29 7d c4 b4 d6 c6 b5 96 79 77 c8 c6 ca | f6 f5 34 bb 9f da 7e 08 bf c7 45 fa 66 26 c9 8a | 35 0e 00 ed 18 a5 22 5b f4 ff bc ae 83 22 78 49 | f1 92 14 7d 4a 4b 4d 62 a3 97 9f 4f 11 1f 14 c0 | d6 76 0c 55 a8 f5 9d ac 59 79 18 73 71 a4 8a 81 | 08 8c 21 68 ba 68 bd af af d6 80 d4 2a 76 38 66 | 9c 03 1d 40 2d 42 d7 53 af 11 21 77 e8 2f 16 9f | f8 ca 52 b0 6d 80 43 e0 79 01 c4 7f 78 20 a4 e2 | 4a e2 aa 80 c6 d7 18 1d 49 a7 f9 c5 7a 2c 0d 98 | ac e2 aa 4a 9b 9f 4f 09 c7 e7 29 43 59 f0 29 b7 | 15 6c 44 48 0f 28 a7 9b 9d 07 22 10 0a db 2c 23 | e3 62 f6 a4 84 7e e0 ae 23 a3 c5 88 ab 1e ec 37 | 92 5f cd 25 ff 54 40 c6 f8 5d f1 35 b6 66 08 de | aa 7c a6 7f ef db ea 44 8b cb 35 8f 8a 55 52 b0 | bc a8 ba cc 2e e6 49 7a 08 95 7c 1b 9e 35 d6 fe | 66 2e c5 bf f2 af d9 81 53 11 d2 02 d8 70 e8 74 | fb 81 b6 2b ca a7 5d 8f 63 56 58 f1 f2 a9 27 da | de 1e d3 d4 d8 3c ec c4 30 8a bd 33 81 65 81 36 | 29 c4 87 26 ff f1 11 de 09 32 7a aa 65 f7 b6 b3 | 2a b6 61 74 7f 70 1d c7 10 5b bb 14 9c b6 59 c9 | f9 9c 69 09 09 2c 88 cf 0f 3d 7c 27 69 8b 95 22 | 00 f0 3a 9e ff f7 e2 18 43 b3 bf 1c d3 a8 2a 43 | 0d 81 bd 01 71 9f 2d 41 9b 75 61 b7 fd 72 f8 ac | 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@0x55dc311c2c20 | inserting event EVENT_SA_REKEY, timeout in 28530 seconds for #14 | libevent_malloc: new ptr-libevent@0x7fac5c0070c0 size 128 | resume sending helper answer for #13 suppresed complete_v2_state_transition() | #13 spent 6.9 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@0x7fac60002240 | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00403 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00274 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) | 79 68 5e 6c 55 19 1a 56 f7 12 cd ab e6 c4 fd db | 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | 98 cb 53 ce 4f 0e 3e 66 1e 52 21 96 83 94 a1 3c | 4b 4d ae 7e 8a fe 9d 71 0c 5c 08 2a 27 c9 2b 02 | 8b e6 4f 3b 8c 93 8b 56 97 4c a6 e3 5d 04 3e 34 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 79 68 5e 6c 55 19 1a 56 | responder cookie: | f7 12 cd ab e6 c4 fd db | next payload type: ISAKMP_NEXT_v2SK (0x2e) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_INFORMATIONAL (0x25) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 2 (0x2) | length: 80 (0x50) | processing version=2.0 packet with exchange type=ISAKMP_v2_INFORMATIONAL (37) | I am the IKE SA Original Responder receiving an IKEv2 INFORMATIONAL request | State DB: found IKEv2 state #13 in PARENT_R2 (find_v2_ike_sa) | start processing: state #13 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2016) | State DB: IKEv2 state not found (find_v2_sa_by_responder_wip) | [RE]START processing: state #13 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ike_process_packet() at ikev2.c:2064) | #13 st.st_msgid_lastrecv 1 md.hdr.isa_msgid 00000002 | Message ID: #13 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=1 responder.recv=1 | unpacking clear payload | Now let's proceed with payload (ISAKMP_NEXT_v2SK) | ***parse IKEv2 Encryption Payload: | next payload type: ISAKMP_NEXT_v2D (0x2a) | flags: none (0x0) | length: 52 (0x34) | processing payload: ISAKMP_NEXT_v2SK (len=48) | Message ID: start-responder #13 request 2; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=1 responder.recv=1 wip.initiator=-1 wip.responder=-1->2 | #13 in state PARENT_R2: received v2I2, PARENT SA established | data for hmac: 79 68 5e 6c 55 19 1a 56 f7 12 cd ab e6 c4 fd db | data for hmac: 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | data for hmac: 98 cb 53 ce 4f 0e 3e 66 1e 52 21 96 83 94 a1 3c | data for hmac: 4b 4d ae 7e 8a fe 9d 71 0c 5c 08 2a 27 c9 2b 02 | calculated auth: 8b e6 4f 3b 8c 93 8b 56 97 4c a6 e3 5d 04 3e 34 | provided auth: 8b e6 4f 3b 8c 93 8b 56 97 4c a6 e3 5d 04 3e 34 | 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: | 79 68 5e 6c 55 19 1a 56 | responder cookie: | f7 12 cd ab e6 c4 fd db | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_INFORMATIONAL (0x25) | flags: ISAKMP_FLAG_v2_MSG_RESPONSE (0x20) | Message ID: 2 (0x2) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | ***emit IKEv2 Encryption Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'ISAKMP Message'.'next payload type' to current IKEv2 Encryption Payload (46:ISAKMP_NEXT_v2SK) | next payload chain: saving location 'IKEv2 Encryption Payload'.'next payload type' in 'information exchange reply packet' | emitting 16 zero bytes of IV into IKEv2 Encryption Payload | parsing 4 raw bytes of IKEv2 Delete Payload into SPI | SPI 6a 0d 16 94 | delete PROTO_v2_ESP SA(0x6a0d1694) | 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(0x6a0d1694) "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.109s and NOT sending notification | child state #14: V2_IPSEC_R(established CHILD SA) => delete | get_sa_info esp.6a0d1694@192.1.2.45 | get_sa_info esp.fb1c654e@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@0x7fac5c0070c0 | free_event_entry: release EVENT_SA_REKEY-pe@0x55dc311c2c20 | 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='1569050241' 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='1569050241' 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=0x6a0d1694 SPI_OUT=0xfb1c654e 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.6a0d1694@192.1.2.45 | netlink response for Del SA esp.6a0d1694@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.fb1c654e@192.1.2.23 | netlink response for Del SA esp.fb1c654e@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 fb 1c 65 4e | 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: 79 68 5e 6c 55 19 1a 56 f7 12 cd ab e6 c4 fd db | data being hmac: 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | data being hmac: 56 25 9b 42 45 85 67 b3 1a a6 9e 94 0b 55 9a 23 | data being hmac: 9d 18 1d 11 c6 f1 44 61 0e 5b a8 2a 41 a5 68 9e | out calculated auth: | 1c 96 68 b1 22 aa e2 ae 03 9a ad 8b e1 e8 cf 33 | 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) | 79 68 5e 6c 55 19 1a 56 f7 12 cd ab e6 c4 fd db | 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | 56 25 9b 42 45 85 67 b3 1a a6 9e 94 0b 55 9a 23 | 9d 18 1d 11 c6 f1 44 61 0e 5b a8 2a 41 a5 68 9e | 1c 96 68 b1 22 aa e2 ae 03 9a ad 8b e1 e8 cf 33 | 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.645 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.849 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.861 milliseconds in comm_handle_cb() reading and processing packet | spent 0.00154 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) | 79 68 5e 6c 55 19 1a 56 f7 12 cd ab e6 c4 fd db | 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | 07 49 c6 f3 3b 81 5c 5a bd a4 15 fe 4d c5 60 6d | e5 c2 73 76 0b f8 bc ac 2e 4a f5 f8 94 3e e0 63 | 52 70 62 38 79 1b 91 3f b9 22 6f 31 95 a9 f7 ad | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 79 68 5e 6c 55 19 1a 56 | responder cookie: | f7 12 cd ab e6 c4 fd db | next payload type: ISAKMP_NEXT_v2SK (0x2e) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_INFORMATIONAL (0x25) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 3 (0x3) | length: 80 (0x50) | processing version=2.0 packet with exchange type=ISAKMP_v2_INFORMATIONAL (37) | I am the IKE SA Original Responder receiving an IKEv2 INFORMATIONAL request | State DB: found IKEv2 state #13 in PARENT_R2 (find_v2_ike_sa) | start processing: state #13 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2016) | State DB: IKEv2 state not found (find_v2_sa_by_responder_wip) | [RE]START processing: state #13 connection "westnet-eastnet-ikev2" from 192.1.2.45:500 (in ike_process_packet() at ikev2.c:2064) | #13 st.st_msgid_lastrecv 2 md.hdr.isa_msgid 00000003 | Message ID: #13 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=2 | unpacking clear payload | Now let's proceed with payload (ISAKMP_NEXT_v2SK) | ***parse IKEv2 Encryption Payload: | next payload type: ISAKMP_NEXT_v2D (0x2a) | flags: none (0x0) | length: 52 (0x34) | processing payload: ISAKMP_NEXT_v2SK (len=48) | Message ID: start-responder #13 request 3; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=2 wip.initiator=-1 wip.responder=-1->3 | #13 in state PARENT_R2: received v2I2, PARENT SA established | data for hmac: 79 68 5e 6c 55 19 1a 56 f7 12 cd ab e6 c4 fd db | data for hmac: 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | data for hmac: 07 49 c6 f3 3b 81 5c 5a bd a4 15 fe 4d c5 60 6d | data for hmac: e5 c2 73 76 0b f8 bc ac 2e 4a f5 f8 94 3e e0 63 | calculated auth: 52 70 62 38 79 1b 91 3f b9 22 6f 31 95 a9 f7 ad | provided auth: 52 70 62 38 79 1b 91 3f b9 22 6f 31 95 a9 f7 ad | 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: | 79 68 5e 6c 55 19 1a 56 | responder cookie: | f7 12 cd ab e6 c4 fd db | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_INFORMATIONAL (0x25) | flags: ISAKMP_FLAG_v2_MSG_RESPONSE (0x20) | Message ID: 3 (0x3) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | ***emit IKEv2 Encryption Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'ISAKMP Message'.'next payload type' to current IKEv2 Encryption Payload (46:ISAKMP_NEXT_v2SK) | next payload chain: saving location 'IKEv2 Encryption Payload'.'next payload type' in 'information exchange reply packet' | emitting 16 zero bytes of IV into IKEv2 Encryption Payload | adding 16 bytes of padding (including 1 byte padding-length) | emitting 1 0x00 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x01 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x02 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x03 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x04 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x05 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x06 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x07 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x08 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x09 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x0a repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x0b repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x0c repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x0d repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x0e repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x0f repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 16 zero bytes of length of truncated HMAC/KEY into IKEv2 Encryption Payload | emitting length of IKEv2 Encryption Payload: 52 | emitting length of ISAKMP Message: 80 | data being hmac: 79 68 5e 6c 55 19 1a 56 f7 12 cd ab e6 c4 fd db | data being hmac: 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | data being hmac: 9d 7c 56 22 f3 b0 ca 8f 4b a5 87 22 bd da 07 93 | data being hmac: 42 81 f4 1a a4 8f 7d a7 11 59 de c2 8b b2 96 8c | out calculated auth: | 91 c9 fa 64 9f 5a 9a c4 a0 a4 7d 91 0c d7 32 6c | 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) | 79 68 5e 6c 55 19 1a 56 f7 12 cd ab e6 c4 fd db | 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | 9d 7c 56 22 f3 b0 ca 8f 4b a5 87 22 bd da 07 93 | 42 81 f4 1a a4 8f 7d a7 11 59 de c2 8b b2 96 8c | 91 c9 fa 64 9f 5a 9a c4 a0 a4 7d 91 0c d7 32 6c | 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 17 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.147s 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@0x7fac680010b0 | free_event_entry: release EVENT_SA_REKEY-pe@0x55dc311c0170 | 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: 0x55dc3113a220 @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.472 milliseconds in comm_handle_cb() reading and processing packet | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00452 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00251 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) | 3d e1 96 17 02 b0 80 5e 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 | e4 a7 a7 49 64 ca af 8b 54 d1 c7 ea ba 57 64 dc | 18 97 1a 52 3f 70 16 45 bb 35 ad 41 a9 8b ec 49 | 29 00 00 24 c4 76 c3 cd 0f 10 ea 24 82 38 7e 91 | ce 3a ee f9 b3 1e 6a a3 79 3b 4e d3 a4 d9 d4 48 | e8 66 b7 17 29 00 00 08 00 00 40 2e 29 00 00 1c | 00 00 40 04 54 fb 3b 4d f0 a0 52 b7 1d 57 75 7a | 7a b3 5b 27 be a0 43 93 00 00 00 1c 00 00 40 05 | c2 3c 05 86 fd cd dc be ab ae e7 c5 b9 14 ac fe | 90 0f 98 05 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 3d e1 96 17 02 b0 80 5e | 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 0x55dc311bd3a0 | 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=0x55dc304957a0(20) | natd_hash: icookie= 3d e1 96 17 02 b0 80 5e | 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= c2 3c 05 86 fd cd dc be ab ae e7 c5 b9 14 ac fe | natd_hash: hash= 90 0f 98 05 | natd_hash: rcookie is zero | natd_hash: hasher=0x55dc304957a0(20) | natd_hash: icookie= 3d e1 96 17 02 b0 80 5e | 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= 54 fb 3b 4d f0 a0 52 b7 1d 57 75 7a 7a b3 5b 27 | natd_hash: hash= be a0 43 93 | 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@0x55dc311c2c20 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #15 | libevent_malloc: new ptr-libevent@0x7fac5c0070c0 size 128 | #15 spent 0.258 milliseconds in processing: Respond to IKE_SA_INIT in ikev2_process_state_packet() | crypto helper 2 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) | #15 complete_v2_state_transition() PARENT_R0->PARENT_R1 with status STF_SUSPEND | suspending state #15 and saving MD | crypto helper 2 starting work-order 15 for state #15 | #15 is busy; has a suspended MD | crypto helper 2 doing build KE and nonce (ikev2_inI1outR1 KE); request ID 15 | [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 | 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.548 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.556 milliseconds in comm_handle_cb() reading and processing packet | putting NSS raw CURVE25519 public key blob on wire | crypto helper 2 finished build KE and nonce (ikev2_inI1outR1 KE); request ID 15 time elapsed 0.00014 seconds | (#15) spent 0.143 milliseconds in crypto helper computing work-order 15: ikev2_inI1outR1 KE (pcr) | crypto helper 2 sending results from work-order 15 for state #15 to event queue | scheduling resume sending helper answer for #15 | libevent_malloc: new ptr-libevent@0x7fac740012f0 size 128 | crypto helper 2 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 2 replies to request ID 15 | calling continuation function 0x55dc303bf630 | ikev2_parent_inI1outR1_continue for #15: calculated ke+nonce, sending R1 | **emit ISAKMP Message: | initiator cookie: | 3d e1 96 17 02 b0 80 5e | responder cookie: | 43 a7 1e b2 82 1f 8a 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_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 ca 22 0a fe 39 a2 c9 cd 4e 6d 2d 60 4e 3c 5c 39 | ikev2 g^x 93 13 2b c9 6f fc 22 de 6f 23 0f d5 c9 50 05 56 | 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 7b 92 d4 ae 42 2b b7 3e 52 4f 57 6b c2 f0 9a e1 | IKEv2 nonce 16 20 52 fd 8a 5a 1d f9 bc d7 f5 00 13 60 d8 56 | 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=0x55dc304957a0(20) | natd_hash: icookie= 3d e1 96 17 02 b0 80 5e | natd_hash: rcookie= 43 a7 1e b2 82 1f 8a 31 | natd_hash: ip= c0 01 02 17 | natd_hash: port= 01 f4 | natd_hash: hash= 69 3d 96 bc 51 56 a3 88 3e f4 ef e5 51 61 32 c9 | natd_hash: hash= e2 ab 68 74 | 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 69 3d 96 bc 51 56 a3 88 3e f4 ef e5 51 61 32 c9 | Notify data e2 ab 68 74 | emitting length of IKEv2 Notify Payload: 28 | natd_hash: hasher=0x55dc304957a0(20) | natd_hash: icookie= 3d e1 96 17 02 b0 80 5e | natd_hash: rcookie= 43 a7 1e b2 82 1f 8a 31 | natd_hash: ip= c0 01 02 2d | natd_hash: port= 01 f4 | natd_hash: hash= 3a a5 dd cf 48 58 cd 7d 63 ae 61 47 49 6d c3 aa | natd_hash: hash= 69 8e be 20 | Adding a v2N Payload | ***emit IKEv2 Notify Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | Notify Message Type: v2N_NAT_DETECTION_DESTINATION_IP (0x4005) | next payload chain: setting previous 'IKEv2 Notify Payload'.'next payload type' to current IKEv2 Notify Payload (41:ISAKMP_NEXT_v2N) | next payload chain: saving location 'IKEv2 Notify Payload'.'next payload type' in 'reply packet' | emitting 20 raw bytes of Notify data into IKEv2 Notify Payload | Notify data 3a a5 dd cf 48 58 cd 7d 63 ae 61 47 49 6d c3 aa | Notify data 69 8e be 20 | 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) | 3d e1 96 17 02 b0 80 5e 43 a7 1e b2 82 1f 8a 31 | 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 ca 22 0a fe 39 a2 c9 cd 4e 6d 2d 60 | 4e 3c 5c 39 93 13 2b c9 6f fc 22 de 6f 23 0f d5 | c9 50 05 56 29 00 00 24 7b 92 d4 ae 42 2b b7 3e | 52 4f 57 6b c2 f0 9a e1 16 20 52 fd 8a 5a 1d f9 | bc d7 f5 00 13 60 d8 56 29 00 00 08 00 00 40 2e | 29 00 00 1c 00 00 40 04 69 3d 96 bc 51 56 a3 88 | 3e f4 ef e5 51 61 32 c9 e2 ab 68 74 00 00 00 1c | 00 00 40 05 3a a5 dd cf 48 58 cd 7d 63 ae 61 47 | 49 6d c3 aa 69 8e be 20 | state #15 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x7fac5c0070c0 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x55dc311c2c20 | event_schedule: new EVENT_SO_DISCARD-pe@0x55dc311c2c20 | inserting event EVENT_SO_DISCARD, timeout in 200 seconds for #15 | libevent_malloc: new ptr-libevent@0x7fac5c0070c0 size 128 | resume sending helper answer for #15 suppresed complete_v2_state_transition() | #15 spent 0.245 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@0x7fac740012f0 | spent 0.00253 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) | 3d e1 96 17 02 b0 80 5e 43 a7 1e b2 82 1f 8a 31 | 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | 83 b9 1f 38 06 c7 ae cd c1 ee f3 db b6 00 ca 74 | 2f b2 2d 39 38 87 38 9e 76 ce 05 10 4c b2 14 3c | a2 04 df b5 1b 09 a5 14 b8 71 0f 98 3c 32 b1 08 | 9a 9e c0 99 cb fa a8 05 44 cc b3 9e 06 18 d5 01 | 3d a1 fa ca 3e 0a da e3 0c 0d 56 f0 bd 5d 59 4c | 3f 39 ee 38 43 ee 36 83 db f0 dc 8f d5 0d 3b 5a | 2e 1a d9 c7 44 81 41 0a 01 76 68 74 9e db 1e e7 | 69 43 45 4f 9d 93 c4 57 3b 06 bf d8 e4 3b c6 c0 | 5d fe 28 3a 0e 11 55 72 ed d9 b0 c3 e0 97 e5 4f | eb ac 8a 28 46 82 7b c5 66 f6 39 3b 0a c3 0f bb | 95 15 72 37 3c 69 11 ad 17 3c 43 b2 a1 90 29 3b | 11 53 91 31 2d 93 fc ca d1 07 9d cd 3a d7 7e 5f | 00 1b 8a 24 a6 8a 13 38 c0 89 a0 d6 36 2d 23 1d | 0a e4 37 b6 3d b9 a2 7c 3d 66 6a f2 fe 18 8b 0b | 63 a3 45 ad 23 14 ea 25 49 ce 4a 15 68 86 d7 d1 | b3 22 6b 44 2e dd 88 ea f8 af b2 e1 61 df 7e ec | 11 a7 85 51 db 89 ac 94 be 6a a5 50 b5 89 7b 7d | c5 b4 f2 09 b2 24 d7 6b 46 cc 27 d3 c4 41 72 95 | 75 8a 16 8c fe f2 f4 ca 24 87 b0 2f 4a 22 82 aa | de 54 a9 72 ea 45 f2 e2 91 4d f2 8d 56 a8 00 79 | 5a 87 9c aa 56 33 43 46 15 57 79 80 b1 34 34 7c | b6 4e 84 84 8f 98 13 2e 30 66 a3 6b e6 51 16 fd | 2e c4 1d 1e fb b3 35 88 87 47 81 ee a8 73 cd be | a1 df a4 d6 d7 55 7c ca 8c f9 db 40 05 82 b5 81 | cf c4 d3 2c 1f 38 a7 ff f1 30 26 98 c9 b8 c4 3f | b4 91 9f 43 c8 32 11 4a d0 39 a2 c5 e8 34 20 82 | 7b db b9 55 56 42 0f 1e a5 92 6a 7a 8b 63 12 b3 | 82 bb 49 ba dd 58 56 b6 7e 0f 81 4f cc 93 12 b6 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 3d e1 96 17 02 b0 80 5e | responder cookie: | 43 a7 1e b2 82 1f 8a 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 #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@0x7fac5c0070c0 | free_event_entry: release EVENT_SO_DISCARD-pe@0x55dc311c2c20 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x55dc311c2c20 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #15 | libevent_malloc: new ptr-libevent@0x7fac740012f0 size 128 | #15 spent 0.0227 milliseconds in processing: Responder: process IKE_AUTH request (no SKEYSEED) in ikev2_process_state_packet() | crypto helper 4 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 4 starting work-order 16 for state #15 | crypto helper 4 doing compute dh (V2) (ikev2_inI2outR2 KE); request ID 16 | passing raw CURVE25519 public key blob to NSS | 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 16 time elapsed 0.000636 seconds | (#15) spent 0.612 milliseconds in crypto helper computing work-order 16: ikev2_inI2outR2 KE (pcr) | crypto helper 4 sending results from work-order 16 for state #15 to event queue | scheduling resume sending helper answer for #15 | libevent_malloc: new ptr-libevent@0x7fac6c001de0 size 128 | crypto helper 4 waiting (nothing to do) | #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) | "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.193 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.205 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 4 replies to request ID 16 | calling continuation function 0x55dc303bf630 | ikev2_parent_inI2outR2_continue for #15: calculating g^{xy}, sending R2 | #15 in state PARENT_R1: received v2I1, sent v2R1 | data for hmac: 3d e1 96 17 02 b0 80 5e 43 a7 1e b2 82 1f 8a 31 | data for hmac: 2e 20 23 08 00 00 00 01 00 00 01 e0 23 00 01 c4 | data for hmac: 83 b9 1f 38 06 c7 ae cd c1 ee f3 db b6 00 ca 74 | data for hmac: 2f b2 2d 39 38 87 38 9e 76 ce 05 10 4c b2 14 3c | data for hmac: a2 04 df b5 1b 09 a5 14 b8 71 0f 98 3c 32 b1 08 | data for hmac: 9a 9e c0 99 cb fa a8 05 44 cc b3 9e 06 18 d5 01 | data for hmac: 3d a1 fa ca 3e 0a da e3 0c 0d 56 f0 bd 5d 59 4c | data for hmac: 3f 39 ee 38 43 ee 36 83 db f0 dc 8f d5 0d 3b 5a | data for hmac: 2e 1a d9 c7 44 81 41 0a 01 76 68 74 9e db 1e e7 | data for hmac: 69 43 45 4f 9d 93 c4 57 3b 06 bf d8 e4 3b c6 c0 | data for hmac: 5d fe 28 3a 0e 11 55 72 ed d9 b0 c3 e0 97 e5 4f | data for hmac: eb ac 8a 28 46 82 7b c5 66 f6 39 3b 0a c3 0f bb | data for hmac: 95 15 72 37 3c 69 11 ad 17 3c 43 b2 a1 90 29 3b | data for hmac: 11 53 91 31 2d 93 fc ca d1 07 9d cd 3a d7 7e 5f | data for hmac: 00 1b 8a 24 a6 8a 13 38 c0 89 a0 d6 36 2d 23 1d | data for hmac: 0a e4 37 b6 3d b9 a2 7c 3d 66 6a f2 fe 18 8b 0b | data for hmac: 63 a3 45 ad 23 14 ea 25 49 ce 4a 15 68 86 d7 d1 | data for hmac: b3 22 6b 44 2e dd 88 ea f8 af b2 e1 61 df 7e ec | data for hmac: 11 a7 85 51 db 89 ac 94 be 6a a5 50 b5 89 7b 7d | data for hmac: c5 b4 f2 09 b2 24 d7 6b 46 cc 27 d3 c4 41 72 95 | data for hmac: 75 8a 16 8c fe f2 f4 ca 24 87 b0 2f 4a 22 82 aa | data for hmac: de 54 a9 72 ea 45 f2 e2 91 4d f2 8d 56 a8 00 79 | data for hmac: 5a 87 9c aa 56 33 43 46 15 57 79 80 b1 34 34 7c | data for hmac: b6 4e 84 84 8f 98 13 2e 30 66 a3 6b e6 51 16 fd | data for hmac: 2e c4 1d 1e fb b3 35 88 87 47 81 ee a8 73 cd be | data for hmac: a1 df a4 d6 d7 55 7c ca 8c f9 db 40 05 82 b5 81 | data for hmac: cf c4 d3 2c 1f 38 a7 ff f1 30 26 98 c9 b8 c4 3f | data for hmac: b4 91 9f 43 c8 32 11 4a d0 39 a2 c5 e8 34 20 82 | data for hmac: 7b db b9 55 56 42 0f 1e a5 92 6a 7a 8b 63 12 b3 | calculated auth: 82 bb 49 ba dd 58 56 b6 7e 0f 81 4f cc 93 12 b6 | provided auth: 82 bb 49 ba dd 58 56 b6 7e 0f 81 4f cc 93 12 b6 | 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=0x55dc311abff0 (line=1) | concluding with best_match=002 best=0x55dc311abff0 (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.0386 milliseconds in try_all_keys() trying a pubkey "westnet-eastnet-ikev2" #15: Authenticated using RSA | #15 spent 0.0556 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@0x7fac740012f0 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x55dc311c2c20 | event_schedule: new EVENT_SA_REKEY-pe@0x55dc311c2c20 | inserting event EVENT_SA_REKEY, timeout in 3330 seconds for #15 | libevent_malloc: new ptr-libevent@0x7fac740012f0 size 128 | pstats #15 ikev2.ike established | **emit ISAKMP Message: | initiator cookie: | 3d e1 96 17 02 b0 80 5e | responder cookie: | 43 a7 1e b2 82 1f 8a 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=0x55dc311abff0 (line=1) | concluding with best_match=002 best=0x55dc311abff0 (lineno=1) | #15 spent 2.58 milliseconds in ikev2_calculate_rsa_hash() calling sign_hash_RSA() | emitting 274 raw bytes of rsa signature into IKEv2 Authentication Payload | rsa signature 9f 92 73 d8 59 ef 82 d5 05 6b f6 72 fc ee a0 51 | rsa signature d9 fd 3d b7 0d c0 6f dc 95 ad c4 cb e6 63 79 a0 | rsa signature 64 0a c5 7c ea 16 4f 97 51 55 3d 8b 39 31 2b 82 | rsa signature ca 2d 14 61 39 d2 be 3f a3 4c 10 0b 6e d0 8c 4d | rsa signature 49 37 57 46 a7 f9 58 82 13 69 ea 8b 16 79 92 02 | rsa signature 9f 05 61 4d 25 eb 36 1d 06 d3 cb de b6 a6 be 2c | rsa signature 44 8e 6b e9 c7 98 21 68 a8 ac 73 11 1f d8 2b 01 | rsa signature a7 7a bc ef 58 db c1 b7 8e 92 ae 79 ca 24 ad b2 | rsa signature b2 0a 6c ba ee 30 ce 02 91 06 a0 2a 71 04 eb 27 | rsa signature 68 57 6c 16 52 e6 28 d4 22 f4 a8 43 1a e3 9a 91 | rsa signature 86 6b 69 83 aa 88 7a 0c ae 63 07 20 0b 1b 80 3a | rsa signature b0 86 84 fe e8 f4 87 f5 05 9b 77 fa ea 28 b5 04 | rsa signature e4 e0 a8 0a 78 90 52 65 17 d3 b3 95 ad ab bb 31 | rsa signature 35 43 49 af d0 4b 96 49 68 a8 35 3e de cf 46 13 | rsa signature 21 67 b6 2d b2 a3 23 83 fd 65 62 d1 14 a1 7b 66 | rsa signature 17 be 8a b4 97 3b 26 ac 6d 28 55 da 77 4c 75 22 | rsa signature ae af 8c 43 60 07 62 9f 57 31 93 69 7c 22 ea 61 | rsa signature 6f e5 | #15 spent 2.63 milliseconds in ikev2_calculate_rsa_hash() | emitting length of IKEv2 Authentication Payload: 282 | creating state object #16 at 0x55dc311c9720 | 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 e2 31 84 c5 | 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=e23184c5;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=e23184c5;ENCR=AES_CBC_256;INTEG=HMAC_SHA2_256_128;ESN=DISABLED | converting proposal to internal trans attrs | netlink_get_spi: allocated 0xa2b1c4a8 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 b1 c4 a8 | ******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.e23184c5@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.a2b1c4a8@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=0xe2 | 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=0xe23184c5 SPI_OUT=0xa2b1c4a8 ipsec _updown 2>&1: | route_and_eroute: firewall_notified: true | route_and_eroute: instance "westnet-eastnet-ikev2", setting eroute_owner {spd=0x55dc311b7980,sr=0x55dc311b7980} to #16 (was #0) (newest_ipsec_sa=#0) | #15 spent 0.424 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: 3d e1 96 17 02 b0 80 5e 43 a7 1e b2 82 1f 8a 31 | data being hmac: 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | data being hmac: 13 6f eb 74 3a 6a 97 77 06 95 6c 85 b0 7b cf 44 | data being hmac: 44 02 a7 fe ad 22 bd b7 cf 92 aa d6 f6 9e ac 2a | data being hmac: 73 1e 39 de a4 72 67 fa f6 9e 71 7e 05 de 7c 45 | data being hmac: 1f dc df 53 f8 24 1e a9 be 7b e9 48 27 29 23 8a | data being hmac: 47 98 ff 53 18 09 9c 71 40 08 34 29 c3 ea 44 68 | data being hmac: 33 ed 04 be bb 31 7f 84 4c 6a a0 50 0a 12 d0 a5 | data being hmac: 93 fd ec d1 dc 21 21 d1 10 80 e2 6e bd 4d a0 05 | data being hmac: 43 10 78 f8 e7 42 af 3a e4 82 b9 b1 f2 76 85 18 | data being hmac: 01 3d 7c 2d 58 35 30 cc fa 4a 86 f7 4c ef 39 be | data being hmac: 91 7e ea fd 3b 03 98 01 6d 67 ac 3f 9a 14 e5 9f | data being hmac: b1 f5 21 07 da d7 a7 08 4c 33 8b 22 1b 6f a0 16 | data being hmac: d2 ec b5 89 ea 36 f2 f1 20 07 00 c8 04 08 25 49 | data being hmac: cf 3c 5c f6 52 0c 2c f3 c8 bf 1a 23 7a 31 ce 6e | data being hmac: c0 a8 e2 ba ad be aa 4a 5c a2 6b aa b1 0e 1c 8d | data being hmac: 82 97 11 42 ab ae 25 92 2a 9e 27 25 12 10 4b cd | data being hmac: 4a 58 3f ac d1 88 5b 6d b4 cd 60 c3 d0 4b 06 a1 | data being hmac: 22 41 4a bd ef 8f d1 5e 60 ef 7b fd f7 36 0a 05 | data being hmac: 73 4c e1 4f b1 c9 f8 f8 72 34 65 90 48 18 ef fb | data being hmac: 8b 59 e6 00 b6 04 d9 62 8a 87 37 e9 18 51 3f c6 | data being hmac: be 2d b1 ef 09 61 2b 71 3d 78 2a f1 25 2b cc 5d | data being hmac: e8 12 4c f3 40 98 2c 66 6b 2b 6b e7 f5 66 ca 67 | data being hmac: 92 02 2b a5 2c db 35 53 31 56 2b cc 92 98 58 89 | data being hmac: d3 5e e7 27 28 e4 6a a0 79 39 ce e2 e3 f6 c4 ab | data being hmac: ae ae d9 17 8e f8 06 38 cb 28 b7 b9 ff 29 07 c8 | data being hmac: fc ee 41 73 ef 0b 32 2f 37 36 2a 19 a7 19 c0 3a | data being hmac: 52 ee b8 03 01 dd 66 e0 ec 87 b0 b2 30 64 7f 36 | out calculated auth: | 90 c9 39 fd 8b 03 92 b5 d1 46 ef 85 b2 16 fb f0 | ikev2_parent_inI2outR2_continue_tail returned STF_OK | #15 spent 4.09 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=>0xe23184c5 <0xa2b1c4a8 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) | 3d e1 96 17 02 b0 80 5e 43 a7 1e b2 82 1f 8a 31 | 2e 20 23 20 00 00 00 01 00 00 01 d0 24 00 01 b4 | 13 6f eb 74 3a 6a 97 77 06 95 6c 85 b0 7b cf 44 | 44 02 a7 fe ad 22 bd b7 cf 92 aa d6 f6 9e ac 2a | 73 1e 39 de a4 72 67 fa f6 9e 71 7e 05 de 7c 45 | 1f dc df 53 f8 24 1e a9 be 7b e9 48 27 29 23 8a | 47 98 ff 53 18 09 9c 71 40 08 34 29 c3 ea 44 68 | 33 ed 04 be bb 31 7f 84 4c 6a a0 50 0a 12 d0 a5 | 93 fd ec d1 dc 21 21 d1 10 80 e2 6e bd 4d a0 05 | 43 10 78 f8 e7 42 af 3a e4 82 b9 b1 f2 76 85 18 | 01 3d 7c 2d 58 35 30 cc fa 4a 86 f7 4c ef 39 be | 91 7e ea fd 3b 03 98 01 6d 67 ac 3f 9a 14 e5 9f | b1 f5 21 07 da d7 a7 08 4c 33 8b 22 1b 6f a0 16 | d2 ec b5 89 ea 36 f2 f1 20 07 00 c8 04 08 25 49 | cf 3c 5c f6 52 0c 2c f3 c8 bf 1a 23 7a 31 ce 6e | c0 a8 e2 ba ad be aa 4a 5c a2 6b aa b1 0e 1c 8d | 82 97 11 42 ab ae 25 92 2a 9e 27 25 12 10 4b cd | 4a 58 3f ac d1 88 5b 6d b4 cd 60 c3 d0 4b 06 a1 | 22 41 4a bd ef 8f d1 5e 60 ef 7b fd f7 36 0a 05 | 73 4c e1 4f b1 c9 f8 f8 72 34 65 90 48 18 ef fb | 8b 59 e6 00 b6 04 d9 62 8a 87 37 e9 18 51 3f c6 | be 2d b1 ef 09 61 2b 71 3d 78 2a f1 25 2b cc 5d | e8 12 4c f3 40 98 2c 66 6b 2b 6b e7 f5 66 ca 67 | 92 02 2b a5 2c db 35 53 31 56 2b cc 92 98 58 89 | d3 5e e7 27 28 e4 6a a0 79 39 ce e2 e3 f6 c4 ab | ae ae d9 17 8e f8 06 38 cb 28 b7 b9 ff 29 07 c8 | fc ee 41 73 ef 0b 32 2f 37 36 2a 19 a7 19 c0 3a | 52 ee b8 03 01 dd 66 e0 ec 87 b0 b2 30 64 7f 36 | 90 c9 39 fd 8b 03 92 b5 d1 46 ef 85 b2 16 fb f0 | 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@0x55dc311c29a0 | inserting event EVENT_SA_REKEY, timeout in 28530 seconds for #16 | libevent_malloc: new ptr-libevent@0x7fac60002240 size 128 | resume sending helper answer for #15 suppresed complete_v2_state_transition() | #15 spent 4.41 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@0x7fac6c001de0 | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00397 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00328 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) | 3d e1 96 17 02 b0 80 5e 43 a7 1e b2 82 1f 8a 31 | 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | 7a 94 7e ab d9 9e 7d 33 bd 91 d1 2f c5 56 0d 1e | f3 d5 dc b8 ae 08 6f d3 6b 46 75 4c 7b 84 fc 5f | 60 b2 40 ed 7c c3 21 09 2d c1 06 7b ad 5b 8a f3 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 3d e1 96 17 02 b0 80 5e | responder cookie: | 43 a7 1e b2 82 1f 8a 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 #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: 3d e1 96 17 02 b0 80 5e 43 a7 1e b2 82 1f 8a 31 | data for hmac: 2e 20 25 08 00 00 00 02 00 00 00 50 2a 00 00 34 | data for hmac: 7a 94 7e ab d9 9e 7d 33 bd 91 d1 2f c5 56 0d 1e | data for hmac: f3 d5 dc b8 ae 08 6f d3 6b 46 75 4c 7b 84 fc 5f | calculated auth: 60 b2 40 ed 7c c3 21 09 2d c1 06 7b ad 5b 8a f3 | provided auth: 60 b2 40 ed 7c c3 21 09 2d c1 06 7b ad 5b 8a f3 | 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: | 3d e1 96 17 02 b0 80 5e | responder cookie: | 43 a7 1e b2 82 1f 8a 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 e2 31 84 c5 | delete PROTO_v2_ESP SA(0xe23184c5) | 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(0xe23184c5) "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.112s and NOT sending notification | child state #16: V2_IPSEC_R(established CHILD SA) => delete | get_sa_info esp.e23184c5@192.1.2.45 | get_sa_info esp.a2b1c4a8@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@0x7fac60002240 | free_event_entry: release EVENT_SA_REKEY-pe@0x55dc311c29a0 | 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='1569050241' 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='1569050241' 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=0xe23184c5 SPI_OUT=0xa2b1c4a8 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.e23184c5@192.1.2.45 | netlink response for Del SA esp.e23184c5@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.a2b1c4a8@192.1.2.23 | netlink response for Del SA esp.a2b1c4a8@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 a2 b1 c4 a8 | 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: 3d e1 96 17 02 b0 80 5e 43 a7 1e b2 82 1f 8a 31 | data being hmac: 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | data being hmac: 7b a6 44 e0 08 06 f6 25 bb 35 f4 30 af e2 9e 59 | data being hmac: b3 d9 25 36 4e 1d ba c3 a2 ba a9 58 73 15 9b bb | out calculated auth: | 23 b0 58 f5 77 61 18 68 70 a4 bf d1 6a 3e 9b 8c | 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) | 3d e1 96 17 02 b0 80 5e 43 a7 1e b2 82 1f 8a 31 | 2e 20 25 20 00 00 00 02 00 00 00 50 2a 00 00 34 | 7b a6 44 e0 08 06 f6 25 bb 35 f4 30 af e2 9e 59 | b3 d9 25 36 4e 1d ba c3 a2 ba a9 58 73 15 9b bb | 23 b0 58 f5 77 61 18 68 70 a4 bf d1 6a 3e 9b 8c | 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.682 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.887 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.9 milliseconds in comm_handle_cb() reading and processing packet | spent 0.00176 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) | 3d e1 96 17 02 b0 80 5e 43 a7 1e b2 82 1f 8a 31 | 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | 97 e2 39 04 18 f1 ff 43 fa f3 71 99 49 f1 44 50 | 5f 98 be 0b 78 4f da 9e e3 82 90 45 02 59 33 a0 | 19 08 d3 02 1c da 9e 27 00 0f 5d 89 0d 7f a2 75 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 3d e1 96 17 02 b0 80 5e | responder cookie: | 43 a7 1e b2 82 1f 8a 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 #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: 3d e1 96 17 02 b0 80 5e 43 a7 1e b2 82 1f 8a 31 | data for hmac: 2e 20 25 08 00 00 00 03 00 00 00 50 2a 00 00 34 | data for hmac: 97 e2 39 04 18 f1 ff 43 fa f3 71 99 49 f1 44 50 | data for hmac: 5f 98 be 0b 78 4f da 9e e3 82 90 45 02 59 33 a0 | calculated auth: 19 08 d3 02 1c da 9e 27 00 0f 5d 89 0d 7f a2 75 | provided auth: 19 08 d3 02 1c da 9e 27 00 0f 5d 89 0d 7f a2 75 | 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: | 3d e1 96 17 02 b0 80 5e | responder cookie: | 43 a7 1e b2 82 1f 8a 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: 3d e1 96 17 02 b0 80 5e 43 a7 1e b2 82 1f 8a 31 | data being hmac: 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | data being hmac: d7 85 d0 d0 09 b4 08 d7 08 2c 01 9c 5c 30 d9 ad | data being hmac: 7a c0 d4 a9 9f 60 77 af 77 08 f7 00 69 3e 19 97 | out calculated auth: | cb 6a 76 bb e5 b9 a8 5e 24 a3 65 37 14 95 2e b1 | 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) | 3d e1 96 17 02 b0 80 5e 43 a7 1e b2 82 1f 8a 31 | 2e 20 25 20 00 00 00 03 00 00 00 50 00 00 00 34 | d7 85 d0 d0 09 b4 08 d7 08 2c 01 9c 5c 30 d9 ad | 7a c0 d4 a9 9f 60 77 af 77 08 f7 00 69 3e 19 97 | cb 6a 76 bb e5 b9 a8 5e 24 a3 65 37 14 95 2e b1 | Message ID: #15 XXX: in process_encrypted_informational_ikev2() hacking around record'n'send bypassing send queue hacking around delete_my_family(); initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=2 wip.initiator=-1 wip.responder=3 | Message ID: sent #15 response 3; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=2->3 responder.recv=2 wip.initiator=-1 wip.responder=3 | State DB: IKEv2 state not found (delete_my_family) | parent state #15: PARENT_R2(established IKE SA) => IKESA_DEL(established IKE SA) | pstats #15 ikev2.ike deleted completed | #15 spent 7.04 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.136s 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@0x7fac740012f0 | free_event_entry: release EVENT_SA_REKEY-pe@0x55dc311c2c20 | 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: 0x55dc3113a220 @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.461 milliseconds in comm_handle_cb() reading and processing packet | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00441 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00289 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) | 91 88 ec 6c 86 02 ce e1 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 | 41 a4 b6 ba 5d d7 57 f2 da ff 2f 75 ae d7 ef 2f | b1 64 36 a4 8e 12 d8 1c 68 61 29 90 cf 7d eb 26 | 54 e9 bd b5 02 a8 13 78 14 d3 78 5e be 58 c5 a0 | 91 fa 5d 9d da 6e c9 c9 65 c3 b9 c9 20 e3 86 34 | da 85 c4 82 8f c8 45 60 52 96 89 6f 48 da 88 aa | d1 dd 6b b1 3b 15 a4 2e 21 67 78 4c b8 5e 22 38 | 16 c1 93 8c 38 6a 02 3a c5 5a db c0 d0 5a 1f 2f | 8b a0 a0 29 59 bd 93 62 f5 9b c5 65 57 dd 35 2e | 88 96 95 f2 88 f3 8d 39 78 67 4b 32 0d 66 30 66 | 7d 63 d3 5e ce 9f 78 90 94 0d 4c ae e8 62 f5 40 | 74 41 1c 88 0d b0 7e 5f e9 61 b3 20 56 be 4f c4 | 39 a7 b2 d5 10 d0 4f 96 f2 2e ae 3d de 25 cd 71 | 29 00 00 24 73 cf 0c 15 87 53 91 ed 5f e0 8e c3 | 4c 03 b3 14 c9 8e 1a 74 e8 57 50 f7 4c f2 de 4a | b7 16 32 4a 29 00 00 08 00 00 40 2e 29 00 00 1c | 00 00 40 04 ca da 75 74 f6 36 cb 99 bb 81 f7 1a | 05 a6 8a ce 66 04 99 82 00 00 00 1c 00 00 40 05 | ac 54 1c df cd c4 6c 1a d9 85 e7 be 7d 0a 4b 30 | 8a 6a e7 39 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 91 88 ec 6c 86 02 ce e1 | 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 0x55dc311bd3a0 | 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: | 91 88 ec 6c 86 02 ce e1 | 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) | 91 88 ec 6c 86 02 ce e1 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.483 milliseconds in comm_handle_cb() reading and processing packet | processing global timer EVENT_SHUNT_SCAN | expiring aged bare shunts from shunt table | spent 0.00527 milliseconds in global timer EVENT_SHUNT_SCAN | processing global timer EVENT_SHUNT_SCAN | expiring aged bare shunts from shunt table | spent 0.00355 milliseconds in global timer EVENT_SHUNT_SCAN | processing global timer EVENT_PENDING_DDNS | FOR_EACH_CONNECTION_... in connection_check_ddns | FOR_EACH_UNORIENTED_CONNECTION_... in check_orientations | elapsed time in connection_check_ddns for hostname lookup 0.000005 | spent 0.0105 milliseconds in global timer EVENT_PENDING_DDNS | processing global timer EVENT_SHUNT_SCAN | expiring aged bare shunts from shunt table | spent 0.00321 milliseconds in global timer EVENT_SHUNT_SCAN | spent 0.00309 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) | 80 cb 3b 56 63 39 88 62 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 | 04 26 db 83 53 54 ba e6 c1 cf 71 23 39 55 72 03 | bb 45 b0 ef 83 38 f1 9f c4 68 2e 50 cc e3 af 6d | 9d fa 72 92 c9 d4 c0 c2 d7 d1 94 95 5f be 89 08 | c7 13 9b 60 c6 41 3d 1e 42 8d af 9e 96 2a 76 64 | 0b 27 5f e0 9b 95 f4 93 33 a8 c2 e7 2a d3 69 f0 | 54 bc e3 c7 5c 35 16 4e d3 64 48 31 18 89 51 cd | 08 65 18 c9 39 cf aa 60 b2 4c 5c 05 5b 6c 73 35 | 20 44 93 26 89 cb 56 0a 6f 9d 9f c8 e6 74 08 85 | 1a 4a b1 21 e9 e4 75 67 9c 17 40 c7 6f 74 55 27 | 81 6e e7 01 54 8b 28 f9 00 b1 c8 bb 06 7d 86 34 | dd c3 f8 6f 9b b9 a0 6f 85 f7 38 88 3d ba 5b 9d | b6 e4 fb aa 48 56 4f a4 46 b4 ca 96 db fe e0 c9 | 29 00 00 24 c6 87 e4 0a 7a c2 ee 94 af 28 6b a4 | 6d 4b a5 9f 1b bd 37 37 41 fc 70 16 5e 48 72 fb | 96 c9 90 d6 29 00 00 08 00 00 40 2e 29 00 00 1c | 00 00 40 04 be 62 e1 67 4a de 6a 9d 1c 49 2e b3 | 5d 28 97 df a8 c4 70 e4 00 00 00 1c 00 00 40 05 | e2 d5 ba ea f9 61 b8 c5 52 a3 5d fc a7 3a 9e a9 | a6 ee 82 a0 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 80 cb 3b 56 63 39 88 62 | 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 0x55dc311bd3a0 | 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: | 80 cb 3b 56 63 39 88 62 | 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) | 80 cb 3b 56 63 39 88 62 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.261 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.686 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.299 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: 0x55dc3113c890 @east cnt 1-- | unreference key: 0x55dc3113a220 @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. | free hp@0x55dc31183420 | 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@0x55dc311b6af0 | free_event_entry: release EVENT_NULL-pe@0x55dc311b6ab0 | libevent_free: release ptr-libevent@0x55dc311b6be0 | free_event_entry: release EVENT_NULL-pe@0x55dc311b6ba0 | libevent_free: release ptr-libevent@0x55dc311b6cd0 | free_event_entry: release EVENT_NULL-pe@0x55dc311b6c90 | libevent_free: release ptr-libevent@0x55dc311b6dc0 | free_event_entry: release EVENT_NULL-pe@0x55dc311b6d80 | libevent_free: release ptr-libevent@0x55dc311b6eb0 | free_event_entry: release EVENT_NULL-pe@0x55dc311b6e70 | libevent_free: release ptr-libevent@0x55dc311b6fa0 | free_event_entry: release EVENT_NULL-pe@0x55dc311b6f60 | FOR_EACH_UNORIENTED_CONNECTION_... in check_orientations | libevent_free: release ptr-libevent@0x55dc311b6410 | free_event_entry: release EVENT_NULL-pe@0x55dc3119a2d0 | libevent_free: release ptr-libevent@0x55dc311abea0 | free_event_entry: release EVENT_NULL-pe@0x55dc3119fcb0 | libevent_free: release ptr-libevent@0x55dc311abe10 | free_event_entry: release EVENT_NULL-pe@0x55dc3119fcf0 | 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@0x55dc311b64e0 | signal event handler PLUTO_SIGCHLD uninstalled | libevent_free: release ptr-libevent@0x55dc311b65c0 | signal event handler PLUTO_SIGTERM uninstalled | libevent_free: release ptr-libevent@0x55dc311b6680 | signal event handler PLUTO_SIGHUP uninstalled | libevent_free: release ptr-libevent@0x55dc311ab210 | signal event handler PLUTO_SIGSYS uninstalled | releasing event base | libevent_free: release ptr-libevent@0x55dc311b6740 | libevent_free: release ptr-libevent@0x55dc3118bdc0 | libevent_free: release ptr-libevent@0x55dc3119a610 | libevent_free: release ptr-libevent@0x55dc3119a6e0 | libevent_free: release ptr-libevent@0x55dc3119a630 | libevent_free: release ptr-libevent@0x55dc311b64a0 | libevent_free: release ptr-libevent@0x55dc311b6580 | libevent_free: release ptr-libevent@0x55dc3119a6c0 | libevent_free: release ptr-libevent@0x55dc3119efd0 | libevent_free: release ptr-libevent@0x55dc3119eff0 | libevent_free: release ptr-libevent@0x55dc311b7030 | libevent_free: release ptr-libevent@0x55dc311b6f40 | libevent_free: release ptr-libevent@0x55dc311b6e50 | libevent_free: release ptr-libevent@0x55dc311b6d60 | libevent_free: release ptr-libevent@0x55dc311b6c70 | libevent_free: release ptr-libevent@0x55dc311b6b80 | libevent_free: release ptr-libevent@0x55dc3111c370 | libevent_free: release ptr-libevent@0x55dc311b6660 | libevent_free: release ptr-libevent@0x55dc311b65a0 | libevent_free: release ptr-libevent@0x55dc311b64c0 | libevent_free: release ptr-libevent@0x55dc311b6720 | libevent_free: release ptr-libevent@0x55dc3111a5b0 | libevent_free: release ptr-libevent@0x55dc3119a650 | libevent_free: release ptr-libevent@0x55dc3119a680 | libevent_free: release ptr-libevent@0x55dc3119a370 | releasing global libevent data | libevent_free: release ptr-libevent@0x55dc31199060 | libevent_free: release ptr-libevent@0x55dc3119a310 | libevent_free: release ptr-libevent@0x55dc3119a340