FIPS Product: YES FIPS Kernel: NO FIPS Mode: NO NSS DB directory: sql:/etc/ipsec.d Initializing NSS Opening NSS database "sql:/etc/ipsec.d" read-only NSS initialized NSS crypto library initialized FIPS HMAC integrity support [enabled] FIPS mode disabled for pluto daemon FIPS HMAC integrity verification self-test FAILED libcap-ng support [enabled] Linux audit support [enabled] Linux audit activated Starting Pluto (Libreswan Version v3.28-685-gbfd5aef521-master-s2 XFRM(netkey) esp-hw-offload FORK PTHREAD_SETSCHEDPRIO NSS (IPsec profile) DNSSEC FIPS_CHECK LABELED_IPSEC SECCOMP LIBCAP_NG LINUX_AUDIT XAUTH_PAM NETWORKMANAGER CURL(non-NSS)) pid:25573 core dump dir: /tmp secrets file: /etc/ipsec.secrets leak-detective enabled NSS crypto [enabled] XAUTH PAM support [enabled] | libevent is using pluto's memory allocator Initializing libevent in pthreads mode: headers: 2.1.8-stable (2010800); library: 2.1.8-stable (2010800) | libevent_malloc: new ptr-libevent@0x55638b1c3118 size 40 | libevent_malloc: new ptr-libevent@0x55638b1c7cd8 size 40 | libevent_malloc: new ptr-libevent@0x55638b1c7dd8 size 40 | creating event base | libevent_malloc: new ptr-libevent@0x55638b24c2c8 size 56 | libevent_malloc: new ptr-libevent@0x55638b1f04a8 size 664 | libevent_malloc: new ptr-libevent@0x55638b24c338 size 24 | libevent_malloc: new ptr-libevent@0x55638b24c388 size 384 | libevent_malloc: new ptr-libevent@0x55638b24c288 size 16 | libevent_malloc: new ptr-libevent@0x55638b1c7908 size 40 | libevent_malloc: new ptr-libevent@0x55638b1c7d38 size 48 | libevent_realloc: new ptr-libevent@0x55638b1f0138 size 256 | libevent_malloc: new ptr-libevent@0x55638b24c538 size 16 | libevent_free: release ptr-libevent@0x55638b24c2c8 | libevent initialized | libevent_realloc: new ptr-libevent@0x55638b24c2c8 size 64 | global periodic timer EVENT_RESET_LOG_RATE_LIMIT enabled with interval of 3600 seconds | init_nat_traversal() initialized with keep_alive=0s NAT-Traversal support [enabled] | global one-shot timer EVENT_NAT_T_KEEPALIVE initialized | global one-shot timer EVENT_FREE_ROOT_CERTS initialized | global periodic timer EVENT_REINIT_SECRET enabled with interval of 3600 seconds | global one-shot timer EVENT_REVIVE_CONNS initialized | global periodic timer EVENT_PENDING_DDNS enabled with interval of 60 seconds | global periodic timer EVENT_PENDING_PHASE2 enabled with interval of 120 seconds Encryption algorithms: AES_CCM_16 IKEv1: ESP IKEv2: ESP FIPS {256,192,*128} aes_ccm, aes_ccm_c AES_CCM_12 IKEv1: ESP IKEv2: ESP FIPS {256,192,*128} aes_ccm_b AES_CCM_8 IKEv1: ESP IKEv2: ESP FIPS {256,192,*128} aes_ccm_a 3DES_CBC IKEv1: IKE ESP IKEv2: IKE ESP FIPS [*192] 3des CAMELLIA_CTR IKEv1: ESP IKEv2: ESP {256,192,*128} CAMELLIA_CBC IKEv1: IKE ESP IKEv2: IKE ESP {256,192,*128} camellia AES_GCM_16 IKEv1: ESP IKEv2: IKE ESP FIPS {256,192,*128} aes_gcm, aes_gcm_c AES_GCM_12 IKEv1: ESP IKEv2: IKE ESP FIPS {256,192,*128} aes_gcm_b AES_GCM_8 IKEv1: ESP IKEv2: IKE ESP FIPS {256,192,*128} aes_gcm_a AES_CTR IKEv1: IKE ESP IKEv2: IKE ESP FIPS {256,192,*128} aesctr AES_CBC IKEv1: IKE ESP IKEv2: IKE ESP FIPS {256,192,*128} aes SERPENT_CBC IKEv1: IKE ESP IKEv2: IKE ESP {256,192,*128} serpent TWOFISH_CBC IKEv1: IKE ESP IKEv2: IKE ESP {256,192,*128} twofish TWOFISH_SSH IKEv1: IKE IKEv2: IKE ESP {256,192,*128} twofish_cbc_ssh NULL_AUTH_AES_GMAC IKEv1: ESP IKEv2: ESP FIPS {256,192,*128} aes_gmac NULL IKEv1: ESP IKEv2: ESP [] CHACHA20_POLY1305 IKEv1: IKEv2: IKE ESP [*256] chacha20poly1305 Hash algorithms: MD5 IKEv1: IKE IKEv2: SHA1 IKEv1: IKE IKEv2: FIPS sha SHA2_256 IKEv1: IKE IKEv2: FIPS sha2, sha256 SHA2_384 IKEv1: IKE IKEv2: FIPS sha384 SHA2_512 IKEv1: IKE IKEv2: FIPS sha512 PRF algorithms: HMAC_MD5 IKEv1: IKE IKEv2: IKE md5 HMAC_SHA1 IKEv1: IKE IKEv2: IKE FIPS sha, sha1 HMAC_SHA2_256 IKEv1: IKE IKEv2: IKE FIPS sha2, sha256, sha2_256 HMAC_SHA2_384 IKEv1: IKE IKEv2: IKE FIPS sha384, sha2_384 HMAC_SHA2_512 IKEv1: IKE IKEv2: IKE FIPS sha512, sha2_512 AES_XCBC IKEv1: IKEv2: IKE aes128_xcbc Integrity algorithms: HMAC_MD5_96 IKEv1: IKE ESP AH IKEv2: IKE ESP AH md5, hmac_md5 HMAC_SHA1_96 IKEv1: IKE ESP AH IKEv2: IKE ESP AH FIPS sha, sha1, sha1_96, hmac_sha1 HMAC_SHA2_512_256 IKEv1: IKE ESP AH IKEv2: IKE ESP AH FIPS sha512, sha2_512, sha2_512_256, hmac_sha2_512 HMAC_SHA2_384_192 IKEv1: IKE ESP AH IKEv2: IKE ESP AH FIPS sha384, sha2_384, sha2_384_192, hmac_sha2_384 HMAC_SHA2_256_128 IKEv1: IKE ESP AH IKEv2: IKE ESP AH FIPS sha2, sha256, sha2_256, sha2_256_128, hmac_sha2_256 HMAC_SHA2_256_TRUNCBUG IKEv1: ESP AH IKEv2: AH AES_XCBC_96 IKEv1: ESP AH IKEv2: IKE ESP AH aes_xcbc, aes128_xcbc, aes128_xcbc_96 AES_CMAC_96 IKEv1: ESP AH IKEv2: ESP AH FIPS aes_cmac NONE IKEv1: ESP IKEv2: IKE ESP FIPS null DH algorithms: NONE IKEv1: IKEv2: IKE ESP AH FIPS null, dh0 MODP1536 IKEv1: IKE ESP AH IKEv2: IKE ESP AH dh5 MODP2048 IKEv1: IKE ESP AH IKEv2: IKE ESP AH FIPS dh14 MODP3072 IKEv1: IKE ESP AH IKEv2: IKE ESP AH FIPS dh15 MODP4096 IKEv1: IKE ESP AH IKEv2: IKE ESP AH FIPS dh16 MODP6144 IKEv1: IKE ESP AH IKEv2: IKE ESP AH FIPS dh17 MODP8192 IKEv1: IKE ESP AH IKEv2: IKE ESP AH FIPS dh18 DH19 IKEv1: IKE IKEv2: IKE ESP AH FIPS ecp_256, ecp256 DH20 IKEv1: IKE IKEv2: IKE ESP AH FIPS ecp_384, ecp384 DH21 IKEv1: IKE IKEv2: IKE ESP AH FIPS ecp_521, ecp521 DH31 IKEv1: IKE IKEv2: IKE ESP AH curve25519 testing CAMELLIA_CBC: Camellia: 16 bytes with 128-bit key Camellia: 16 bytes with 128-bit key Camellia: 16 bytes with 256-bit key Camellia: 16 bytes with 256-bit key testing AES_GCM_16: empty string one block two blocks two blocks with associated data testing AES_CTR: Encrypting 16 octets using AES-CTR with 128-bit key Encrypting 32 octets using AES-CTR with 128-bit key Encrypting 36 octets using AES-CTR with 128-bit key Encrypting 16 octets using AES-CTR with 192-bit key Encrypting 32 octets using AES-CTR with 192-bit key Encrypting 36 octets using AES-CTR with 192-bit key Encrypting 16 octets using AES-CTR with 256-bit key Encrypting 32 octets using AES-CTR with 256-bit key Encrypting 36 octets using AES-CTR with 256-bit key testing AES_CBC: Encrypting 16 bytes (1 block) using AES-CBC with 128-bit key Encrypting 32 bytes (2 blocks) using AES-CBC with 128-bit key Encrypting 48 bytes (3 blocks) using AES-CBC with 128-bit key Encrypting 64 bytes (4 blocks) using AES-CBC with 128-bit key testing AES_XCBC: RFC 3566 Test Case #1: AES-XCBC-MAC-96 with 0-byte input RFC 3566 Test Case #2: AES-XCBC-MAC-96 with 3-byte input RFC 3566 Test Case #3: AES-XCBC-MAC-96 with 16-byte input RFC 3566 Test Case #4: AES-XCBC-MAC-96 with 20-byte input RFC 3566 Test Case #5: AES-XCBC-MAC-96 with 32-byte input RFC 3566 Test Case #6: AES-XCBC-MAC-96 with 34-byte input RFC 3566 Test Case #7: AES-XCBC-MAC-96 with 1000-byte input RFC 4434 Test Case AES-XCBC-PRF-128 with 20-byte input (key length 16) RFC 4434 Test Case AES-XCBC-PRF-128 with 20-byte input (key length 10) RFC 4434 Test Case AES-XCBC-PRF-128 with 20-byte input (key length 18) testing HMAC_MD5: RFC 2104: MD5_HMAC test 1 RFC 2104: MD5_HMAC test 2 RFC 2104: MD5_HMAC test 3 8 CPU cores online starting up 7 crypto helpers started thread for crypto helper 0 started thread for crypto helper 1 | starting up helper thread 0 | starting up helper thread 1 started thread for crypto helper 2 | starting up helper thread 2 | status value returned by setting the priority of this thread (crypto helper 1) 22 | status value returned by setting the priority of this thread (crypto helper 0) 22 | status value returned by setting the priority of this thread (crypto helper 2) 22 started thread for crypto helper 3 | starting up helper thread 3 | status value returned by setting the priority of this thread (crypto helper 3) 22 | crypto helper 1 waiting (nothing to do) started thread for crypto helper 4 | starting up helper thread 4 | starting up helper thread 5 | crypto helper 0 waiting (nothing to do) started thread for crypto helper 5 | status value returned by setting the priority of this thread (crypto helper 5) 22 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 | status value returned by setting the priority of this thread (crypto helper 4) 22 | -> UNDEFINED EVENT_SA_REPLACE | starting up helper thread 6 | crypto helper 2 waiting (nothing to do) | status value returned by setting the priority of this thread (crypto helper 6) 22 | crypto helper 6 waiting (nothing to do) | 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: | crypto helper 3 waiting (nothing to do) | -> QUICK_R1 EVENT_RETRANSMIT | crypto helper 5 waiting (nothing to do) | QUICK_I1: category: established CHILD SA flags: 0: | -> QUICK_I2 EVENT_SA_REPLACE | crypto helper 4 waiting (nothing to do) | QUICK_R1: category: established CHILD SA flags: 0: | -> QUICK_R2 EVENT_SA_REPLACE | QUICK_I2: category: established CHILD SA flags: 200: | -> UNDEFINED EVENT_NULL | QUICK_R2: category: established CHILD SA flags: 0: | -> UNDEFINED EVENT_NULL | INFO: category: informational flags: 0: | -> UNDEFINED EVENT_NULL | INFO_PROTECTED: category: informational flags: 0: | -> UNDEFINED EVENT_NULL | XAUTH_R0: category: established IKE SA flags: 0: | -> XAUTH_R1 EVENT_NULL | XAUTH_R1: category: established IKE SA flags: 0: | -> MAIN_R3 EVENT_SA_REPLACE | MODE_CFG_R0: category: informational flags: 0: | -> MODE_CFG_R1 EVENT_SA_REPLACE | MODE_CFG_R1: category: established IKE SA flags: 0: | -> MODE_CFG_R2 EVENT_SA_REPLACE | MODE_CFG_R2: category: established IKE SA flags: 0: | -> UNDEFINED EVENT_NULL | MODE_CFG_I1: category: established IKE SA flags: 0: | -> MAIN_I4 EVENT_SA_REPLACE | XAUTH_I0: category: established IKE SA flags: 0: | -> XAUTH_I1 EVENT_RETRANSMIT | XAUTH_I1: category: established IKE SA flags: 0: | -> MAIN_I4 EVENT_RETRANSMIT | checking IKEv2 state table | PARENT_I0: category: ignore flags: 0: | -> PARENT_I1 EVENT_RETRANSMIT send-request (initiate IKE_SA_INIT) | PARENT_I1: category: half-open IKE SA flags: 0: | -> PARENT_I1 EVENT_RETAIN send-request (Initiator: process SA_INIT reply notification) | -> PARENT_I2 EVENT_RETRANSMIT send-request (Initiator: process IKE_SA_INIT reply, initiate IKE_AUTH) | PARENT_I2: category: open IKE SA flags: 0: | -> PARENT_I2 EVENT_NULL (Initiator: process INVALID_SYNTAX AUTH notification) | -> PARENT_I2 EVENT_NULL (Initiator: process AUTHENTICATION_FAILED AUTH notification) | -> PARENT_I2 EVENT_NULL (Initiator: process UNSUPPORTED_CRITICAL_PAYLOAD AUTH notification) | -> V2_IPSEC_I EVENT_SA_REPLACE (Initiator: process IKE_AUTH response) | -> PARENT_I2 EVENT_NULL (IKE SA: process IKE_AUTH response containing unknown notification) | PARENT_I3: category: established IKE SA flags: 0: | -> PARENT_I3 EVENT_RETAIN (I3: Informational Request) | -> PARENT_I3 EVENT_RETAIN (I3: Informational Response) | -> PARENT_I3 EVENT_RETAIN (I3: INFORMATIONAL Request) | -> PARENT_I3 EVENT_RETAIN (I3: INFORMATIONAL Response) | PARENT_R0: category: half-open IKE SA flags: 0: | -> PARENT_R1 EVENT_SO_DISCARD send-request (Respond to IKE_SA_INIT) | PARENT_R1: category: half-open IKE SA flags: 0: | -> PARENT_R1 EVENT_SA_REPLACE send-request (Responder: process IKE_AUTH request (no SKEYSEED)) | -> V2_IPSEC_R EVENT_SA_REPLACE send-request (Responder: process IKE_AUTH request) | PARENT_R2: category: established IKE SA flags: 0: | -> PARENT_R2 EVENT_RETAIN (R2: process Informational Request) | -> PARENT_R2 EVENT_RETAIN (R2: process Informational Response) | -> PARENT_R2 EVENT_RETAIN (R2: process INFORMATIONAL Request) | -> PARENT_R2 EVENT_RETAIN (R2: process INFORMATIONAL Response) | V2_CREATE_I0: category: established IKE SA flags: 0: | -> V2_CREATE_I EVENT_RETRANSMIT send-request (Initiate CREATE_CHILD_SA IPsec SA) | V2_CREATE_I: category: established IKE SA flags: 0: | -> V2_IPSEC_I EVENT_SA_REPLACE (Process CREATE_CHILD_SA IPsec SA Response) | V2_REKEY_IKE_I0: category: established IKE SA flags: 0: | -> V2_REKEY_IKE_I EVENT_RETRANSMIT send-request (Initiate CREATE_CHILD_SA IKE Rekey) | V2_REKEY_IKE_I: category: established IKE SA flags: 0: | -> PARENT_I3 EVENT_SA_REPLACE (Process CREATE_CHILD_SA IKE Rekey Response) | V2_REKEY_CHILD_I0: category: established IKE SA flags: 0: | -> V2_REKEY_CHILD_I EVENT_RETRANSMIT send-request (Initiate CREATE_CHILD_SA IPsec Rekey SA) | V2_REKEY_CHILD_I: category: established IKE SA flags: 0: | V2_CREATE_R: category: established IKE SA flags: 0: | -> V2_IPSEC_R EVENT_SA_REPLACE send-request (Respond to CREATE_CHILD_SA IPsec SA Request) | V2_REKEY_IKE_R: category: established IKE SA flags: 0: | -> PARENT_R2 EVENT_SA_REPLACE send-request (Respond to CREATE_CHILD_SA IKE Rekey) | V2_REKEY_CHILD_R: category: established IKE SA flags: 0: | V2_IPSEC_I: category: established CHILD SA flags: 0: | V2_IPSEC_R: category: established CHILD SA flags: 0: | IKESA_DEL: category: established IKE SA flags: 0: | -> IKESA_DEL EVENT_RETAIN (IKE_SA_DEL: process INFORMATIONAL) | CHILDSA_DEL: category: informational flags: 0: Using Linux XFRM/NETKEY IPsec interface code on 5.1.18-200.fc29.x86_64 | Hard-wiring algorithms | adding AES_CCM_16 to kernel algorithm db | adding AES_CCM_12 to kernel algorithm db | adding AES_CCM_8 to kernel algorithm db | adding 3DES_CBC to kernel algorithm db | adding CAMELLIA_CBC to kernel algorithm db | adding AES_GCM_16 to kernel algorithm db | adding AES_GCM_12 to kernel algorithm db | adding AES_GCM_8 to kernel algorithm db | adding AES_CTR to kernel algorithm db | adding AES_CBC to kernel algorithm db | adding SERPENT_CBC to kernel algorithm db | adding TWOFISH_CBC to kernel algorithm db | adding NULL_AUTH_AES_GMAC to kernel algorithm db | adding NULL to kernel algorithm db | adding CHACHA20_POLY1305 to kernel algorithm db | adding HMAC_MD5_96 to kernel algorithm db | adding HMAC_SHA1_96 to kernel algorithm db | adding HMAC_SHA2_512_256 to kernel algorithm db | adding HMAC_SHA2_384_192 to kernel algorithm db | adding HMAC_SHA2_256_128 to kernel algorithm db | adding HMAC_SHA2_256_TRUNCBUG to kernel algorithm db | adding AES_XCBC_96 to kernel algorithm db | adding AES_CMAC_96 to kernel algorithm db | adding NONE to kernel algorithm db | net.ipv6.conf.all.disable_ipv6=1 ignore ipv6 holes | global periodic timer EVENT_SHUNT_SCAN enabled with interval of 20 seconds | setup kernel fd callback | add_fd_read_event_handler: new KERNEL_XRM_FD-pe@0x55638b250f08 | libevent_malloc: new ptr-libevent@0x55638b2353b8 size 128 | libevent_malloc: new ptr-libevent@0x55638b251018 size 16 | add_fd_read_event_handler: new KERNEL_ROUTE_FD-pe@0x55638b251a48 | libevent_malloc: new ptr-libevent@0x55638b1f3558 size 128 | libevent_malloc: new ptr-libevent@0x55638b251a08 size 16 | global one-shot timer EVENT_CHECK_CRLS initialized selinux support is enabled. | unbound context created - setting debug level to 5 | /etc/hosts lookups activated | /etc/resolv.conf usage activated | outgoing-port-avoid set 0-65535 | outgoing-port-permit set 32768-60999 | Loading dnssec root key from:/var/lib/unbound/root.key | No additional dnssec trust anchors defined via dnssec-trusted= option | Setting up events, loop start | add_fd_read_event_handler: new PLUTO_CTL_FD-pe@0x55638b251ab8 | libevent_malloc: new ptr-libevent@0x55638b25dcc8 size 128 | libevent_malloc: new ptr-libevent@0x55638b268f98 size 16 | libevent_realloc: new ptr-libevent@0x55638b268fd8 size 256 | libevent_malloc: new ptr-libevent@0x55638b269108 size 8 | libevent_realloc: new ptr-libevent@0x55638b269148 size 144 | libevent_malloc: new ptr-libevent@0x55638b1f1008 size 152 | libevent_malloc: new ptr-libevent@0x55638b269208 size 16 | signal event handler PLUTO_SIGCHLD installed | libevent_malloc: new ptr-libevent@0x55638b269248 size 8 | libevent_malloc: new ptr-libevent@0x55638b1f4eb8 size 152 | signal event handler PLUTO_SIGTERM installed | libevent_malloc: new ptr-libevent@0x55638b269288 size 8 | libevent_malloc: new ptr-libevent@0x55638b2692c8 size 152 | signal event handler PLUTO_SIGHUP installed | libevent_malloc: new ptr-libevent@0x55638b269398 size 8 | libevent_realloc: release ptr-libevent@0x55638b269148 | libevent_realloc: new ptr-libevent@0x55638b2693d8 size 256 | libevent_malloc: new ptr-libevent@0x55638b269508 size 152 | signal event handler PLUTO_SIGSYS installed | created addconn helper (pid:25630) using fork+execve | forked child 25630 | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:722) listening for IKE messages | Inspecting interface lo | found lo with address 127.0.0.1 | Inspecting interface eth0 | found eth0 with address 192.0.2.254 | Inspecting interface eth0 | found eth0 with address 192.0.200.254 | Inspecting interface eth0 | found eth0 with address 192.0.201.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.201.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.201.254:4500 adding interface eth0/eth0 (esp-hw-offload not supported by kernel) 192.0.200.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.200.254: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@0x55638b269e18 | libevent_malloc: new ptr-libevent@0x55638b25dc18 size 128 | libevent_malloc: new ptr-libevent@0x55638b269e88 size 16 | setup callback for interface lo 127.0.0.1:4500 fd 26 | add_fd_read_event_handler: new ethX-pe@0x55638b269ec8 | libevent_malloc: new ptr-libevent@0x55638b1f3818 size 128 | libevent_malloc: new ptr-libevent@0x55638b26a3b8 size 16 | setup callback for interface lo 127.0.0.1:500 fd 25 | add_fd_read_event_handler: new ethX-pe@0x55638b26a3f8 | libevent_malloc: new ptr-libevent@0x55638b1f34a8 size 128 | libevent_malloc: new ptr-libevent@0x55638b26a468 size 16 | setup callback for interface eth0 192.0.2.254:4500 fd 24 | add_fd_read_event_handler: new ethX-pe@0x55638b26a4a8 | libevent_malloc: new ptr-libevent@0x55638b1f4a28 size 128 | libevent_malloc: new ptr-libevent@0x55638b26a518 size 16 | setup callback for interface eth0 192.0.2.254:500 fd 23 | add_fd_read_event_handler: new ethX-pe@0x55638b26a558 | libevent_malloc: new ptr-libevent@0x55638b1c84e8 size 128 | libevent_malloc: new ptr-libevent@0x55638b26a5c8 size 16 | setup callback for interface eth0 192.0.200.254:4500 fd 22 | add_fd_read_event_handler: new ethX-pe@0x55638b26a608 | libevent_malloc: new ptr-libevent@0x55638b1c81d8 size 128 | libevent_malloc: new ptr-libevent@0x55638b26a678 size 16 | setup callback for interface eth0 192.0.200.254:500 fd 21 | add_fd_read_event_handler: new ethX-pe@0x55638b26a6b8 | libevent_malloc: new ptr-libevent@0x55638b26a728 size 128 | libevent_malloc: new ptr-libevent@0x55638b26a7d8 size 16 | setup callback for interface eth0 192.0.201.254:4500 fd 20 | add_fd_read_event_handler: new ethX-pe@0x55638b26a818 | libevent_malloc: new ptr-libevent@0x55638b26a888 size 128 | libevent_malloc: new ptr-libevent@0x55638b26a938 size 16 | setup callback for interface eth0 192.0.201.254:500 fd 19 | add_fd_read_event_handler: new ethX-pe@0x55638b26a978 | libevent_malloc: new ptr-libevent@0x55638b26a9e8 size 128 | libevent_malloc: new ptr-libevent@0x55638b26aa98 size 16 | setup callback for interface eth1 192.1.2.23:4500 fd 18 | add_fd_read_event_handler: new ethX-pe@0x55638b26aad8 | libevent_malloc: new ptr-libevent@0x55638b26ab48 size 128 | libevent_malloc: new ptr-libevent@0x55638b26abf8 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" | id type added to secret(0x55638b1c3b58) PKK_PSK: @west | id type added to secret(0x55638b1c3b58) PKK_PSK: @east | Processing PSK at line 1: passed | certs and keys locked by 'process_secret' | certs and keys unlocked by 'process_secret' | close_any(fd@16) (in whack_process() at rcv_whack.c:700) | spent 0.886 milliseconds in whack | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:722) listening for IKE messages | Inspecting interface lo | found lo with address 127.0.0.1 | Inspecting interface eth0 | found eth0 with address 192.0.2.254 | Inspecting interface eth0 | found eth0 with address 192.0.200.254 | Inspecting interface eth0 | found eth0 with address 192.0.201.254 | Inspecting interface eth1 | found eth1 with address 192.1.2.23 | no interfaces to sort | libevent_free: release ptr-libevent@0x55638b25dc18 | free_event_entry: release EVENT_NULL-pe@0x55638b269e18 | add_fd_read_event_handler: new ethX-pe@0x55638b269e18 | libevent_malloc: new ptr-libevent@0x55638b25dc18 size 128 | setup callback for interface lo 127.0.0.1:4500 fd 26 | libevent_free: release ptr-libevent@0x55638b1f3818 | free_event_entry: release EVENT_NULL-pe@0x55638b269ec8 | add_fd_read_event_handler: new ethX-pe@0x55638b269ec8 | libevent_malloc: new ptr-libevent@0x55638b1f3818 size 128 | setup callback for interface lo 127.0.0.1:500 fd 25 | libevent_free: release ptr-libevent@0x55638b1f34a8 | free_event_entry: release EVENT_NULL-pe@0x55638b26a3f8 | add_fd_read_event_handler: new ethX-pe@0x55638b26a3f8 | libevent_malloc: new ptr-libevent@0x55638b1f34a8 size 128 | setup callback for interface eth0 192.0.2.254:4500 fd 24 | libevent_free: release ptr-libevent@0x55638b1f4a28 | free_event_entry: release EVENT_NULL-pe@0x55638b26a4a8 | add_fd_read_event_handler: new ethX-pe@0x55638b26a4a8 | libevent_malloc: new ptr-libevent@0x55638b1f4a28 size 128 | setup callback for interface eth0 192.0.2.254:500 fd 23 | libevent_free: release ptr-libevent@0x55638b1c84e8 | free_event_entry: release EVENT_NULL-pe@0x55638b26a558 | add_fd_read_event_handler: new ethX-pe@0x55638b26a558 | libevent_malloc: new ptr-libevent@0x55638b1c84e8 size 128 | setup callback for interface eth0 192.0.200.254:4500 fd 22 | libevent_free: release ptr-libevent@0x55638b1c81d8 | free_event_entry: release EVENT_NULL-pe@0x55638b26a608 | add_fd_read_event_handler: new ethX-pe@0x55638b26a608 | libevent_malloc: new ptr-libevent@0x55638b1c81d8 size 128 | setup callback for interface eth0 192.0.200.254:500 fd 21 | libevent_free: release ptr-libevent@0x55638b26a728 | free_event_entry: release EVENT_NULL-pe@0x55638b26a6b8 | add_fd_read_event_handler: new ethX-pe@0x55638b26a6b8 | libevent_malloc: new ptr-libevent@0x55638b26a728 size 128 | setup callback for interface eth0 192.0.201.254:4500 fd 20 | libevent_free: release ptr-libevent@0x55638b26a888 | free_event_entry: release EVENT_NULL-pe@0x55638b26a818 | add_fd_read_event_handler: new ethX-pe@0x55638b26a818 | libevent_malloc: new ptr-libevent@0x55638b26a888 size 128 | setup callback for interface eth0 192.0.201.254:500 fd 19 | libevent_free: release ptr-libevent@0x55638b26a9e8 | free_event_entry: release EVENT_NULL-pe@0x55638b26a978 | add_fd_read_event_handler: new ethX-pe@0x55638b26a978 | libevent_malloc: new ptr-libevent@0x55638b26a9e8 size 128 | setup callback for interface eth1 192.1.2.23:4500 fd 18 | libevent_free: release ptr-libevent@0x55638b26ab48 | free_event_entry: release EVENT_NULL-pe@0x55638b26aad8 | add_fd_read_event_handler: new ethX-pe@0x55638b26aad8 | libevent_malloc: new ptr-libevent@0x55638b26ab48 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" | id type added to secret(0x55638b1c3b58) PKK_PSK: @west | id type added to secret(0x55638b1c3b58) PKK_PSK: @east | Processing PSK at line 1: passed | certs and keys locked by 'process_secret' | certs and keys unlocked by 'process_secret' | close_any(fd@16) (in whack_process() at rcv_whack.c:700) | spent 0.266 milliseconds in whack | processing signal PLUTO_SIGCHLD | waitpid returned pid 25630 (exited with status 0) | reaped addconn helper child (status 0) | waitpid returned ECHILD (no child processes left) | spent 0.0121 milliseconds in signal handler PLUTO_SIGCHLD | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:722) | FOR_EACH_CONNECTION_... in conn_by_name | FOR_EACH_CONNECTION_... in foreach_connection_by_alias | FOR_EACH_CONNECTION_... in conn_by_name | FOR_EACH_CONNECTION_... in foreach_connection_by_alias | FOR_EACH_CONNECTION_... in conn_by_name | Added new connection westnet-eastnet-ikev2a with policy PSK+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO | 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@0x55638b26cb38 added connection description "westnet-eastnet-ikev2a" | ike_life: 3600s; ipsec_life: 28800s; rekey_margin: 540s; rekey_fuzz: 0%; keyingtries: 0; replay_window: 32; policy: PSK+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.14 milliseconds in whack | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:722) add keyid @west | add pubkey 01 03 a6 f5 d6 3f e3 8f 6c 01 6a fc 7b 7c 6d 57 | add pubkey 8b 49 39 0d 77 f7 ac e2 85 f1 98 1e 4b 6d a5 3e | add pubkey b3 96 9a d1 99 5a bc 10 f2 97 de f2 28 f9 5f 92 | add pubkey 09 f0 c8 d4 12 e4 60 6e 9c 60 98 10 01 7d 26 b7 | add pubkey 8f 95 62 2d 87 dd cd de f6 d3 8f 35 b0 50 d0 18 | add pubkey f5 99 f8 04 f1 ff 61 5b bc 7f 1f c0 04 d8 e4 8c | add pubkey ac 34 ad 7a c1 da 3c 2d 8c 30 ae d6 3c 59 b1 3a | add pubkey 94 d3 d5 2a 73 91 bd 59 5f 3e 72 bf 4a 1b 9d c5 | add pubkey b2 2b 4d e7 0d 24 3e 77 f9 7f 2d d6 9d 29 ef 70 | add pubkey 7d 7a 6d a2 b8 61 0c 4b 09 4a 06 71 84 70 85 9a | add pubkey 8f 52 a1 80 06 fd c6 fc 3e 27 fa 16 fa 32 83 a9 | add pubkey ca 80 db 0f 4a bf f7 e9 55 8e bd 29 4d 23 a6 dc | add pubkey 2a b3 5d 62 a9 21 1e be 83 d8 69 3c 03 0a 48 8e | add pubkey d3 3a 11 f2 86 5a d1 30 65 bd c8 f4 83 87 ff 04 | add pubkey 87 33 05 4f e0 d8 8c fe b3 19 4c dd 85 40 f3 4d | add pubkey 6e e8 49 14 06 2c 1f 59 59 05 8f 20 b0 ca 46 3f | add pubkey c9 20 7e 04 30 7d 9a 80 6c 3f 0a 89 f7 d3 af d8 | add pubkey 15 04 37 f9 | computed rsa CKAID b4 9f 1a ac 9e 45 6e 79 29 c8 81 97 3a 0c 6a d3 | computed rsa CKAID 7f 0f 03 50 | close_any(fd@16) (in whack_process() at rcv_whack.c:700) | spent 0.0803 milliseconds in whack | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:722) add keyid @east | add pubkey 01 03 bd 6c 96 eb df 78 89 b3 ed 77 0d a1 7f 7b | add pubkey e5 16 c2 c9 e4 7d 92 0a 90 9d 55 43 b4 62 13 03 | add pubkey 85 7a e0 26 7b 54 1f ca 09 93 cf ff 25 c9 02 4c | add pubkey 78 ca 94 e5 3e ac d1 f9 a8 e5 bb 7f cc 20 84 e0 | add pubkey 21 c9 f0 0d c5 44 ba f3 48 64 61 58 f6 0f 63 0d | add pubkey d2 67 1e 59 8b ec f3 50 39 71 fb 39 da 11 64 b6 | add pubkey 62 cd 5f d3 8d 2e c1 50 ed 9c 6e 22 0c 39 a7 ce | add pubkey 62 b5 af 8a 80 0f 2e 4c 05 5c 82 c7 8d 29 02 2e | add pubkey bb 23 5f db f2 9e b5 7d e2 20 70 1a 63 f3 8e 5d | add pubkey ac 47 f0 5c 26 4e b1 d0 42 60 52 4a b0 77 25 ce | add pubkey e0 98 2b 43 f4 c7 59 1a 64 01 83 ea 4e e3 1a 2a | add pubkey 92 b8 55 ab 63 dd 4b 70 47 29 dc e9 b4 60 bf 43 | add pubkey 4d 58 8f 64 73 95 70 ac 35 89 b2 c2 9c d4 62 c0 | add pubkey 5f 56 5f ad 1b e5 dd 49 93 6a f5 23 82 ed d4 e7 | add pubkey d5 f1 55 f2 2d a2 26 a6 36 53 2f 94 fb 99 22 5c | add pubkey 47 cc 6d 80 30 88 96 38 0c f5 f2 ed 37 d0 09 d5 | add pubkey 07 8f 69 ef a9 99 ce 4d 1a 77 9e 39 c4 38 f3 c5 | add pubkey 51 51 48 ef | computed rsa CKAID 61 55 99 73 d3 ac ef 7d 3a 37 0e 3e 82 ad 92 c1 | computed rsa CKAID 8a 82 25 f1 | close_any(fd@16) (in whack_process() at rcv_whack.c:700) | spent 0.0474 milliseconds in whack | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:722) | FOR_EACH_CONNECTION_... in conn_by_name | FOR_EACH_CONNECTION_... in foreach_connection_by_alias | FOR_EACH_CONNECTION_... in conn_by_name | FOR_EACH_CONNECTION_... in foreach_connection_by_alias | FOR_EACH_CONNECTION_... in conn_by_name | Added new connection westnet-eastnet-ikev2b with policy PSK+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO | 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 | find_host_pair: comparing 192.1.2.23:500 to 192.1.2.45:500 but ignoring ports | connect_to_host_pair: 192.1.2.23:500 192.1.2.45:500 -> hp@0x55638b26cb38: westnet-eastnet-ikev2a added connection description "westnet-eastnet-ikev2b" | ike_life: 3600s; ipsec_life: 28800s; rekey_margin: 540s; rekey_fuzz: 0%; keyingtries: 0; replay_window: 32; policy: PSK+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO | 192.0.200.0/24===192.1.2.23<192.1.2.23>[@east]...192.1.2.45<192.1.2.45>[@west]===192.0.100.0/24 | close_any(fd@16) (in whack_process() at rcv_whack.c:700) | spent 0.166 milliseconds in whack | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:722) add keyid @west | unreference key: 0x55638b1c3c48 @west cnt 1-- | add pubkey 01 03 a6 f5 d6 3f e3 8f 6c 01 6a fc 7b 7c 6d 57 | add pubkey 8b 49 39 0d 77 f7 ac e2 85 f1 98 1e 4b 6d a5 3e | add pubkey b3 96 9a d1 99 5a bc 10 f2 97 de f2 28 f9 5f 92 | add pubkey 09 f0 c8 d4 12 e4 60 6e 9c 60 98 10 01 7d 26 b7 | add pubkey 8f 95 62 2d 87 dd cd de f6 d3 8f 35 b0 50 d0 18 | add pubkey f5 99 f8 04 f1 ff 61 5b bc 7f 1f c0 04 d8 e4 8c | add pubkey ac 34 ad 7a c1 da 3c 2d 8c 30 ae d6 3c 59 b1 3a | add pubkey 94 d3 d5 2a 73 91 bd 59 5f 3e 72 bf 4a 1b 9d c5 | add pubkey b2 2b 4d e7 0d 24 3e 77 f9 7f 2d d6 9d 29 ef 70 | add pubkey 7d 7a 6d a2 b8 61 0c 4b 09 4a 06 71 84 70 85 9a | add pubkey 8f 52 a1 80 06 fd c6 fc 3e 27 fa 16 fa 32 83 a9 | add pubkey ca 80 db 0f 4a bf f7 e9 55 8e bd 29 4d 23 a6 dc | add pubkey 2a b3 5d 62 a9 21 1e be 83 d8 69 3c 03 0a 48 8e | add pubkey d3 3a 11 f2 86 5a d1 30 65 bd c8 f4 83 87 ff 04 | add pubkey 87 33 05 4f e0 d8 8c fe b3 19 4c dd 85 40 f3 4d | add pubkey 6e e8 49 14 06 2c 1f 59 59 05 8f 20 b0 ca 46 3f | add pubkey c9 20 7e 04 30 7d 9a 80 6c 3f 0a 89 f7 d3 af d8 | add pubkey 15 04 37 f9 | computed rsa CKAID b4 9f 1a ac 9e 45 6e 79 29 c8 81 97 3a 0c 6a d3 | computed rsa CKAID 7f 0f 03 50 | close_any(fd@16) (in whack_process() at rcv_whack.c:700) | spent 0.0708 milliseconds in whack | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:722) add keyid @east | unreference key: 0x55638b26cf98 @east cnt 1-- | add pubkey 01 03 bd 6c 96 eb df 78 89 b3 ed 77 0d a1 7f 7b | add pubkey e5 16 c2 c9 e4 7d 92 0a 90 9d 55 43 b4 62 13 03 | add pubkey 85 7a e0 26 7b 54 1f ca 09 93 cf ff 25 c9 02 4c | add pubkey 78 ca 94 e5 3e ac d1 f9 a8 e5 bb 7f cc 20 84 e0 | add pubkey 21 c9 f0 0d c5 44 ba f3 48 64 61 58 f6 0f 63 0d | add pubkey d2 67 1e 59 8b ec f3 50 39 71 fb 39 da 11 64 b6 | add pubkey 62 cd 5f d3 8d 2e c1 50 ed 9c 6e 22 0c 39 a7 ce | add pubkey 62 b5 af 8a 80 0f 2e 4c 05 5c 82 c7 8d 29 02 2e | add pubkey bb 23 5f db f2 9e b5 7d e2 20 70 1a 63 f3 8e 5d | add pubkey ac 47 f0 5c 26 4e b1 d0 42 60 52 4a b0 77 25 ce | add pubkey e0 98 2b 43 f4 c7 59 1a 64 01 83 ea 4e e3 1a 2a | add pubkey 92 b8 55 ab 63 dd 4b 70 47 29 dc e9 b4 60 bf 43 | add pubkey 4d 58 8f 64 73 95 70 ac 35 89 b2 c2 9c d4 62 c0 | add pubkey 5f 56 5f ad 1b e5 dd 49 93 6a f5 23 82 ed d4 e7 | add pubkey d5 f1 55 f2 2d a2 26 a6 36 53 2f 94 fb 99 22 5c | add pubkey 47 cc 6d 80 30 88 96 38 0c f5 f2 ed 37 d0 09 d5 | add pubkey 07 8f 69 ef a9 99 ce 4d 1a 77 9e 39 c4 38 f3 c5 | add pubkey 51 51 48 ef | computed rsa CKAID 61 55 99 73 d3 ac ef 7d 3a 37 0e 3e 82 ad 92 c1 | computed rsa CKAID 8a 82 25 f1 | close_any(fd@16) (in whack_process() at rcv_whack.c:700) | spent 0.077 milliseconds in whack | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:722) | FOR_EACH_CONNECTION_... in conn_by_name | FOR_EACH_CONNECTION_... in foreach_connection_by_alias | FOR_EACH_CONNECTION_... in conn_by_name | FOR_EACH_CONNECTION_... in foreach_connection_by_alias | FOR_EACH_CONNECTION_... in conn_by_name | Added new connection westnet-eastnet-ikev2c with policy PSK+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO | 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 | find_host_pair: comparing 192.1.2.23:500 to 192.1.2.45:500 but ignoring ports | connect_to_host_pair: 192.1.2.23:500 192.1.2.45:500 -> hp@0x55638b26cb38: westnet-eastnet-ikev2b added connection description "westnet-eastnet-ikev2c" | ike_life: 3600s; ipsec_life: 28800s; rekey_margin: 540s; rekey_fuzz: 0%; keyingtries: 0; replay_window: 32; policy: PSK+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO | 192.0.201.0/24===192.1.2.23<192.1.2.23>[@east]...192.1.2.45<192.1.2.45>[@west]===192.0.101.0/24 | close_any(fd@16) (in whack_process() at rcv_whack.c:700) | spent 0.183 milliseconds in whack | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:722) add keyid @west | unreference key: 0x55638b1c3c48 @west cnt 1-- | add pubkey 01 03 a6 f5 d6 3f e3 8f 6c 01 6a fc 7b 7c 6d 57 | add pubkey 8b 49 39 0d 77 f7 ac e2 85 f1 98 1e 4b 6d a5 3e | add pubkey b3 96 9a d1 99 5a bc 10 f2 97 de f2 28 f9 5f 92 | add pubkey 09 f0 c8 d4 12 e4 60 6e 9c 60 98 10 01 7d 26 b7 | add pubkey 8f 95 62 2d 87 dd cd de f6 d3 8f 35 b0 50 d0 18 | add pubkey f5 99 f8 04 f1 ff 61 5b bc 7f 1f c0 04 d8 e4 8c | add pubkey ac 34 ad 7a c1 da 3c 2d 8c 30 ae d6 3c 59 b1 3a | add pubkey 94 d3 d5 2a 73 91 bd 59 5f 3e 72 bf 4a 1b 9d c5 | add pubkey b2 2b 4d e7 0d 24 3e 77 f9 7f 2d d6 9d 29 ef 70 | add pubkey 7d 7a 6d a2 b8 61 0c 4b 09 4a 06 71 84 70 85 9a | add pubkey 8f 52 a1 80 06 fd c6 fc 3e 27 fa 16 fa 32 83 a9 | add pubkey ca 80 db 0f 4a bf f7 e9 55 8e bd 29 4d 23 a6 dc | add pubkey 2a b3 5d 62 a9 21 1e be 83 d8 69 3c 03 0a 48 8e | add pubkey d3 3a 11 f2 86 5a d1 30 65 bd c8 f4 83 87 ff 04 | add pubkey 87 33 05 4f e0 d8 8c fe b3 19 4c dd 85 40 f3 4d | add pubkey 6e e8 49 14 06 2c 1f 59 59 05 8f 20 b0 ca 46 3f | add pubkey c9 20 7e 04 30 7d 9a 80 6c 3f 0a 89 f7 d3 af d8 | add pubkey 15 04 37 f9 | computed rsa CKAID b4 9f 1a ac 9e 45 6e 79 29 c8 81 97 3a 0c 6a d3 | computed rsa CKAID 7f 0f 03 50 | close_any(fd@16) (in whack_process() at rcv_whack.c:700) | spent 0.0921 milliseconds in whack | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:722) add keyid @east | unreference key: 0x55638b26cf98 @east cnt 1-- | add pubkey 01 03 bd 6c 96 eb df 78 89 b3 ed 77 0d a1 7f 7b | add pubkey e5 16 c2 c9 e4 7d 92 0a 90 9d 55 43 b4 62 13 03 | add pubkey 85 7a e0 26 7b 54 1f ca 09 93 cf ff 25 c9 02 4c | add pubkey 78 ca 94 e5 3e ac d1 f9 a8 e5 bb 7f cc 20 84 e0 | add pubkey 21 c9 f0 0d c5 44 ba f3 48 64 61 58 f6 0f 63 0d | add pubkey d2 67 1e 59 8b ec f3 50 39 71 fb 39 da 11 64 b6 | add pubkey 62 cd 5f d3 8d 2e c1 50 ed 9c 6e 22 0c 39 a7 ce | add pubkey 62 b5 af 8a 80 0f 2e 4c 05 5c 82 c7 8d 29 02 2e | add pubkey bb 23 5f db f2 9e b5 7d e2 20 70 1a 63 f3 8e 5d | add pubkey ac 47 f0 5c 26 4e b1 d0 42 60 52 4a b0 77 25 ce | add pubkey e0 98 2b 43 f4 c7 59 1a 64 01 83 ea 4e e3 1a 2a | add pubkey 92 b8 55 ab 63 dd 4b 70 47 29 dc e9 b4 60 bf 43 | add pubkey 4d 58 8f 64 73 95 70 ac 35 89 b2 c2 9c d4 62 c0 | add pubkey 5f 56 5f ad 1b e5 dd 49 93 6a f5 23 82 ed d4 e7 | add pubkey d5 f1 55 f2 2d a2 26 a6 36 53 2f 94 fb 99 22 5c | add pubkey 47 cc 6d 80 30 88 96 38 0c f5 f2 ed 37 d0 09 d5 | add pubkey 07 8f 69 ef a9 99 ce 4d 1a 77 9e 39 c4 38 f3 c5 | add pubkey 51 51 48 ef | computed rsa CKAID 61 55 99 73 d3 ac ef 7d 3a 37 0e 3e 82 ad 92 c1 | computed rsa CKAID 8a 82 25 f1 | close_any(fd@16) (in whack_process() at rcv_whack.c:700) | spent 0.0684 milliseconds in whack | spent 0.0111 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 828 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 62 4c 8c 71 5d 06 ad 37 00 00 00 00 00 00 00 00 | 21 20 22 08 00 00 00 00 00 00 03 3c 22 00 01 b4 | 02 00 00 64 01 01 00 0b 03 00 00 0c 01 00 00 14 | 80 0e 01 00 03 00 00 08 02 00 00 07 03 00 00 08 | 02 00 00 05 03 00 00 08 04 00 00 0e 03 00 00 08 | 04 00 00 0f 03 00 00 08 04 00 00 10 03 00 00 08 | 04 00 00 12 03 00 00 08 04 00 00 13 03 00 00 08 | 04 00 00 14 03 00 00 08 04 00 00 15 00 00 00 08 | 04 00 00 1f 02 00 00 64 02 01 00 0b 03 00 00 0c | 01 00 00 14 80 0e 00 80 03 00 00 08 02 00 00 07 | 03 00 00 08 02 00 00 05 03 00 00 08 04 00 00 0e | 03 00 00 08 04 00 00 0f 03 00 00 08 04 00 00 10 | 03 00 00 08 04 00 00 12 03 00 00 08 04 00 00 13 | 03 00 00 08 04 00 00 14 03 00 00 08 04 00 00 15 | 00 00 00 08 04 00 00 1f 02 00 00 74 03 01 00 0d | 03 00 00 0c 01 00 00 0c 80 0e 01 00 03 00 00 08 | 02 00 00 07 03 00 00 08 02 00 00 05 03 00 00 08 | 03 00 00 0e 03 00 00 08 03 00 00 0c 03 00 00 08 | 04 00 00 0e 03 00 00 08 04 00 00 0f 03 00 00 08 | 04 00 00 10 03 00 00 08 04 00 00 12 03 00 00 08 | 04 00 00 13 03 00 00 08 04 00 00 14 03 00 00 08 | 04 00 00 15 00 00 00 08 04 00 00 1f 00 00 00 74 | 04 01 00 0d 03 00 00 0c 01 00 00 0c 80 0e 00 80 | 03 00 00 08 02 00 00 07 03 00 00 08 02 00 00 05 | 03 00 00 08 03 00 00 0e 03 00 00 08 03 00 00 0c | 03 00 00 08 04 00 00 0e 03 00 00 08 04 00 00 0f | 03 00 00 08 04 00 00 10 03 00 00 08 04 00 00 12 | 03 00 00 08 04 00 00 13 03 00 00 08 04 00 00 14 | 03 00 00 08 04 00 00 15 00 00 00 08 04 00 00 1f | 28 00 01 08 00 0e 00 00 9f 15 8e cf 13 1b 00 07 | fc bc 8f c9 41 25 92 87 d0 8f 14 86 b7 a1 a8 7e | 64 80 22 77 74 68 b4 b1 ee dd 5e 67 81 e8 ed 02 | ee 71 2f a0 c6 b9 5f 9b 06 4b 5f 4f 93 c7 de ed | d4 3a a4 ef 99 d9 59 6b 4f 82 c9 96 7a 41 46 40 | 0d 31 ad 87 42 7e 68 7a fc fd 5b f6 8e 4e cb cc | b3 32 e0 09 b1 a4 41 b7 32 9a 30 9e 97 d9 36 ea | 2b ee 57 58 04 e0 3f 9c 6c 27 11 f0 ab 32 6b 98 | 88 a7 88 23 05 b1 c0 2b d4 94 93 62 f2 5d fc 47 | eb a6 13 e1 c6 db 85 57 ff 56 d6 09 2c 87 d5 eb | f8 be 8e 19 89 0d d7 a4 bf 8d 87 02 58 8e 3e 74 | a7 6e 5b 7b b2 da 3f 0e 5c 94 e6 20 7b 8b a0 e9 | 3e 2a e1 8c ed 71 58 43 af 57 93 3c ad f5 dd 9e | cd 9f 11 88 47 46 99 98 dc a6 98 df 99 71 fc fb | 00 8f 81 7f 75 29 7a a3 ed 80 7b d2 ec 10 60 8e | 7f 91 1e 00 a8 44 71 81 a8 76 a7 53 47 c8 5e 08 | e3 bd 7a 7a 58 b2 b3 f0 29 00 00 24 78 4c ca e4 | d3 1b 52 9e a2 63 4c a6 9e 83 c4 03 6b 65 4c 68 | 71 6c 83 36 1e 95 a2 9f 52 50 98 65 29 00 00 08 | 00 00 40 2e 29 00 00 1c 00 00 40 04 41 8d 9e b9 | d2 65 b1 cd 7e 3b 2f 39 1a 17 b1 0d d7 51 46 42 | 00 00 00 1c 00 00 40 05 0a 4e a7 d7 8d 50 27 5c | c3 bc ff 93 cb 4a df d4 d5 5f f4 52 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 62 4c 8c 71 5d 06 ad 37 | 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: 828 (0x33c) | 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: 436 (0x1b4) | processing payload: ISAKMP_NEXT_v2SA (len=432) | 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 = PSK+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO (westnet-eastnet-ikev2c) | found policy = PSK+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO (westnet-eastnet-ikev2b) | found policy = PSK+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO (westnet-eastnet-ikev2a) | 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 = PSK+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO (westnet-eastnet-ikev2c) | found policy = PSK+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO (westnet-eastnet-ikev2b) | found policy = PSK+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO (westnet-eastnet-ikev2a) | find_next_host_connection returns empty | find_host_connection local=192.1.2.23:500 remote= policy=RSASIG+IKEV2_ALLOW but ignoring ports | find_next_host_connection policy=RSASIG+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 RSASIG+IKEV2_ALLOW | find_host_connection local=192.1.2.23:500 remote=192.1.2.45:500 policy=PSK+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=PSK+IKEV2_ALLOW | found policy = PSK+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO (westnet-eastnet-ikev2c) | find_next_host_connection returns westnet-eastnet-ikev2c | find_next_host_connection policy=PSK+IKEV2_ALLOW | found policy = PSK+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO (westnet-eastnet-ikev2b) | find_next_host_connection returns westnet-eastnet-ikev2b | find_next_host_connection policy=PSK+IKEV2_ALLOW | found policy = PSK+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO (westnet-eastnet-ikev2a) | find_next_host_connection returns westnet-eastnet-ikev2a | find_next_host_connection policy=PSK+IKEV2_ALLOW | find_next_host_connection returns empty | found connection: westnet-eastnet-ikev2c with policy PSK+IKEV2_ALLOW | creating state object #1 at 0x55638b272ba8 | 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 | #1 spent 1.23 milliseconds | start processing: state #1 connection "westnet-eastnet-ikev2c" from 192.1.2.45 (in ikev2_process_packet() at ikev2.c:2016) | State DB: IKEv2 state not found (find_v2_sa_by_responder_wip) | [RE]START processing: state #1 connection "westnet-eastnet-ikev2c" from 192.1.2.45 (in ike_process_packet() at ikev2.c:2064) | #1 st.st_msgid_lastrecv -1 md.hdr.isa_msgid 00000000 | Message ID: #1 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=-1 responder.recv=-1 | Message ID: start-responder #1 request 0; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=-1 responder.recv=-1 wip.initiator=-1 wip.responder=-1->0 | #1 in state PARENT_R0: processing SA_INIT request | selected state microcode Respond to IKE_SA_INIT | Now let's proceed with state specific processing | calling processor Respond to IKE_SA_INIT | #1 spent 1.33 milliseconds | #1 updating local interface from 192.1.2.23:500 to 192.1.2.23:500 using md->iface (in update_ike_endpoints() at state.c:2669) | constructing local IKE proposals for westnet-eastnet-ikev2c (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-ikev2c": constructed local IKE proposals for westnet-eastnet-ikev2c (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_NON_LAST (0x2) | length: 100 (0x64) | prop #: 1 (0x1) | proto ID: IKEv2_SEC_PROTO_IKE (0x1) | spi size: 0 (0x0) | # transforms: 11 (0xb) | Comparing remote proposal 1 containing 11 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_GCM_C (0x14) | ******parse IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 256 (0x100) | remote proposal 1 transform 0 (ENCR=AES_GCM_C_256) matches local proposal 1 type 1 (ENCR) transform 0 | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_PRF (0x2) | IKEv2 transform ID: PRF_HMAC_SHA2_512 (0x7) | remote proposal 1 transform 1 (PRF=HMAC_SHA2_512) matches local proposal 1 type 2 (PRF) transform 0 | remote proposal 1 transform 1 (PRF=HMAC_SHA2_512) matches local proposal 2 type 2 (PRF) transform 0 | remote proposal 1 transform 1 (PRF=HMAC_SHA2_512) matches local proposal 3 type 2 (PRF) transform 0 | remote proposal 1 transform 1 (PRF=HMAC_SHA2_512) matches local proposal 4 type 2 (PRF) 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) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP2048 (0xe) | remote proposal 1 transform 3 (DH=MODP2048) matches local proposal 1 type 4 (DH) transform 0 | remote proposal 1 transform 3 (DH=MODP2048) matches local proposal 2 type 4 (DH) transform 0 | remote proposal 1 transform 3 (DH=MODP2048) matches local proposal 3 type 4 (DH) transform 0 | remote proposal 1 transform 3 (DH=MODP2048) matches local proposal 4 type 4 (DH) transform 0 | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP3072 (0xf) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP4096 (0x10) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP8192 (0x12) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_ECP_256 (0x13) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_ECP_384 (0x14) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_ECP_521 (0x15) | *****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 proposed transforms: ENCR+PRF+DH; matched: ENCR+PRF+DH; unmatched: none | comparing remote proposal 1 containing ENCR+PRF+DH transforms to local proposal 1; required: ENCR+PRF+DH; optional: INTEG; matched: ENCR+PRF+DH | remote proposal 1 matches local proposal 1 | ****parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_NON_LAST (0x2) | length: 100 (0x64) | prop #: 2 (0x2) | proto ID: IKEv2_SEC_PROTO_IKE (0x1) | spi size: 0 (0x0) | # transforms: 11 (0xb) | Comparing remote proposal 2 containing 11 transforms against local proposal [1..0] 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_GCM_C (0x14) | ******parse IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 128 (0x80) | *****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_512 (0x7) | *****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) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP2048 (0xe) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP3072 (0xf) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP4096 (0x10) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP8192 (0x12) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_ECP_256 (0x13) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_ECP_384 (0x14) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_ECP_521 (0x15) | *****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 2 proposed transforms: ENCR+PRF+DH; matched: none; unmatched: ENCR+PRF+DH | remote proposal 2 does not match; unmatched remote transforms: ENCR+PRF+DH | ****parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_NON_LAST (0x2) | length: 116 (0x74) | prop #: 3 (0x3) | proto ID: IKEv2_SEC_PROTO_IKE (0x1) | spi size: 0 (0x0) | # transforms: 13 (0xd) | Comparing remote proposal 3 containing 13 transforms against local proposal [1..0] 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) | *****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_512 (0x7) | *****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) | *****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_512_256 (0xe) | *****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) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP2048 (0xe) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP3072 (0xf) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP4096 (0x10) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP8192 (0x12) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_ECP_256 (0x13) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_ECP_384 (0x14) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_ECP_521 (0x15) | *****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 3 proposed transforms: ENCR+PRF+INTEG+DH; matched: none; unmatched: ENCR+PRF+INTEG+DH | remote proposal 3 does not match; unmatched remote transforms: ENCR+PRF+INTEG+DH | ****parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | length: 116 (0x74) | prop #: 4 (0x4) | proto ID: IKEv2_SEC_PROTO_IKE (0x1) | spi size: 0 (0x0) | # transforms: 13 (0xd) | Comparing remote proposal 4 containing 13 transforms against local proposal [1..0] 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) | *****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_512 (0x7) | *****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) | *****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_512_256 (0xe) | *****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) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP2048 (0xe) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP3072 (0xf) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP4096 (0x10) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP8192 (0x12) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_ECP_256 (0x13) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_ECP_384 (0x14) | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_ECP_521 (0x15) | *****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 4 proposed transforms: ENCR+PRF+INTEG+DH; matched: none; unmatched: ENCR+PRF+INTEG+DH | remote proposal 4 does not match; unmatched remote transforms: ENCR+PRF+INTEG+DH "westnet-eastnet-ikev2c" #1: proposal 1:IKE:ENCR=AES_GCM_C_256;PRF=HMAC_SHA2_512;DH=MODP2048 chosen from remote proposals 1:IKE:ENCR=AES_GCM_C_256;PRF=HMAC_SHA2_512;PRF=HMAC_SHA2_256;DH=MODP2048;DH=MODP3072;DH=MODP4096;DH=MODP8192;DH=ECP_256;DH=ECP_384;DH=ECP_521;DH=CURVE25519[first-match] 2:IKE:ENCR=AES_GCM_C_128;PRF=HMAC_SHA2_512;PRF=HMAC_SHA2_256;DH=MODP2048;DH=MODP3072;DH=MODP4096;DH=MODP8192;DH=ECP_256;DH=ECP_384;DH=ECP_521;DH=CURVE25519 3:IKE:ENCR=AES_CBC_256;PRF=HMAC_SHA2_512;PRF=HMAC_SHA2_256;INTEG=HMAC_SHA2_512_256;INTEG=HMAC_SHA2_256_128;DH=MODP2048;DH=MODP3072;DH=MODP4096;DH=MODP8192;DH=ECP_256;DH=ECP_384;DH=ECP_521;DH=CURVE25519 4:IKE:ENCR=AES_CBC_128;PRF=HMAC_SHA2_512;PRF=HMAC_SHA2_256;INTEG=HMAC_SHA2_512_256;INTEG=HMAC_SHA2_256_128;DH=MODP2048;DH=MODP3072;DH=MODP4096;DH=MODP8192;DH=ECP_256;DH=ECP_384;DH=ECP_521;DH=CURVE25519 | accepted IKE proposal ikev2_proposal: 1:IKE:ENCR=AES_GCM_C_256;PRF=HMAC_SHA2_512;DH=MODP2048 | converting proposal to internal trans attrs | natd_hash: rcookie is zero | natd_hash: hasher=0x55638b07e800(20) | natd_hash: icookie= 62 4c 8c 71 5d 06 ad 37 | natd_hash: rcookie= 00 00 00 00 00 00 00 00 | natd_hash: ip= c0 01 02 17 | natd_hash: port=500 | natd_hash: hash= 0a 4e a7 d7 8d 50 27 5c c3 bc ff 93 cb 4a df d4 | natd_hash: hash= d5 5f f4 52 | natd_hash: rcookie is zero | natd_hash: hasher=0x55638b07e800(20) | natd_hash: icookie= 62 4c 8c 71 5d 06 ad 37 | natd_hash: rcookie= 00 00 00 00 00 00 00 00 | natd_hash: ip= c0 01 02 2d | natd_hash: port=500 | natd_hash: hash= 41 8d 9e b9 d2 65 b1 cd 7e 3b 2f 39 1a 17 b1 0d | natd_hash: hash= d7 51 46 42 | 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@0x55638b26cc18 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #1 | libevent_malloc: new ptr-libevent@0x55638b26f248 size 128 | #1 spent 2.4 milliseconds in processing: Respond to IKE_SA_INIT in ikev2_process_state_packet() | crypto helper 1 resuming | [RE]START processing: state #1 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | crypto helper 1 starting work-order 1 for state #1 | #1 complete_v2_state_transition() PARENT_R0->PARENT_R1 with status STF_SUSPEND | crypto helper 1 doing build KE and nonce (ikev2_inI1outR1 KE); request ID 1 | suspending state #1 and saving MD | #1 is busy; has a suspended MD | [RE]START processing: state #1 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in log_stf_suspend() at ikev2.c:3269) | "westnet-eastnet-ikev2c" #1 complete v2 state STATE_PARENT_R0 transition with STF_SUSPEND suspended from complete_v2_state_transition:3451 | stop processing: state #1 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2018) | #1 spent 3.89 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 3.95 milliseconds in comm_handle_cb() reading and processing packet | crypto helper 1 finished build KE and nonce (ikev2_inI1outR1 KE); request ID 1 time elapsed 0.002787 seconds | (#1) spent 2.78 milliseconds in crypto helper computing work-order 1: ikev2_inI1outR1 KE (pcr) | crypto helper 1 sending results from work-order 1 for state #1 to event queue | scheduling resume sending helper answer for #1 | libevent_malloc: new ptr-libevent@0x7efe0c002888 size 128 | crypto helper 1 waiting (nothing to do) | processing resume sending helper answer for #1 | start processing: state #1 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in resume_handler() at server.c:797) | crypto helper 1 replies to request ID 1 | calling continuation function 0x55638afa9b50 | ikev2_parent_inI1outR1_continue for #1: calculated ke+nonce, sending R1 | **emit ISAKMP Message: | initiator cookie: | 62 4c 8c 71 5d 06 ad 37 | responder cookie: | d1 b8 66 fe a6 e7 2c 71 | 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: 3 (0x3) | 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_GCM_C (0x14) | last substructure: saving location 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' | ******emit IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 256 (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_512 (0x7) | 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: 36 | last substructure: checking 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' is 0 | emitting length of IKEv2 Security Association Payload: 40 | 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 90 88 b2 f3 8e 72 94 a1 d9 52 01 9d 01 f2 eb 64 | ikev2 g^x 06 b0 ee 5c c4 7b 9e 1b 90 f8 09 03 2c 4a 2c 8e | ikev2 g^x cb 01 c4 2f 35 70 e6 97 5a 6e f0 db f0 a0 40 11 | ikev2 g^x ce 60 40 56 97 e9 c1 95 67 e2 2a cd 4f c8 ab 07 | ikev2 g^x 7f 4c 4c 37 95 d8 bd 1a 16 9c e3 6c 8f 33 2a c1 | ikev2 g^x 84 10 fe 24 1a 94 c3 de 8c 9e 98 ea 86 42 a5 4c | ikev2 g^x bb bf e9 10 60 23 07 c3 3d f6 23 e7 b8 f1 b2 08 | ikev2 g^x e3 0a 86 72 28 81 cb 83 91 74 5f 4c 0b e8 1b d0 | ikev2 g^x 38 90 e4 ec 86 d0 5d 06 78 af e8 c7 06 02 b0 dc | ikev2 g^x bd 61 a3 97 3b c1 ca 47 34 a4 d2 ff 7f 9f 11 c1 | ikev2 g^x c0 a0 85 e7 f3 4b 50 ec ef 69 56 16 be 77 e0 12 | ikev2 g^x 68 2e 60 fa fb 77 55 fc f4 c6 81 30 f0 90 dc 03 | ikev2 g^x 7e 37 ed f2 86 6f 74 e1 2b 38 2c 96 03 bb 8b f5 | ikev2 g^x 48 d2 9b 05 48 96 4d 99 d2 a1 7f b4 15 61 a0 f0 | ikev2 g^x a3 82 26 cb 98 30 df f3 15 04 5a c3 94 f5 8f da | ikev2 g^x 6f 3d 3a 75 63 5d ac 2a ac 60 8a 0e 31 ac c6 90 | 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 96 3c e3 07 fb 49 e1 72 e3 7a 95 81 48 c3 d9 30 | IKEv2 nonce 38 c1 98 35 f5 c3 2d 99 06 55 e3 d2 72 3b e5 57 | 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=0x55638b07e800(20) | natd_hash: icookie= 62 4c 8c 71 5d 06 ad 37 | natd_hash: rcookie= d1 b8 66 fe a6 e7 2c 71 | natd_hash: ip= c0 01 02 17 | natd_hash: port=500 | natd_hash: hash= 3f 36 f1 ef 88 4f 54 68 8d b0 de ee 78 eb fb b3 | natd_hash: hash= 52 0b 43 eb | 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 3f 36 f1 ef 88 4f 54 68 8d b0 de ee 78 eb fb b3 | Notify data 52 0b 43 eb | emitting length of IKEv2 Notify Payload: 28 | natd_hash: hasher=0x55638b07e800(20) | natd_hash: icookie= 62 4c 8c 71 5d 06 ad 37 | natd_hash: rcookie= d1 b8 66 fe a6 e7 2c 71 | natd_hash: ip= c0 01 02 2d | natd_hash: port=500 | natd_hash: hash= 9e 57 5a c2 17 55 bb 67 f3 ff 27 d8 b4 0c dc af | natd_hash: hash= b1 6b c3 c7 | 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 9e 57 5a c2 17 55 bb 67 f3 ff 27 d8 b4 0c dc af | Notify data b1 6b c3 c7 | emitting length of IKEv2 Notify Payload: 28 | emitting length of ISAKMP Message: 432 | [RE]START processing: state #1 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #1 complete_v2_state_transition() PARENT_R0->PARENT_R1 with status STF_OK | IKEv2: transition from state STATE_PARENT_R0 to state STATE_PARENT_R1 | parent state #1: PARENT_R0(half-open IKE SA) => PARENT_R1(half-open IKE SA) | Message ID: updating counters for #1 to 0 after switching state | Message ID: recv #1 request 0; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=-1 responder.recv=-1->0 wip.initiator=-1 wip.responder=0->-1 | Message ID: sent #1 response 0; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=-1->0 responder.recv=0 wip.initiator=-1 wip.responder=-1 "westnet-eastnet-ikev2c" #1: STATE_PARENT_R1: received v2I1, sent v2R1 {auth=IKEv2 cipher=AES_GCM_16_256 integ=n/a prf=HMAC_SHA2_512 group=MODP2048} | sending V2 new request packet to 192.1.2.45:500 (from 192.1.2.23:500) | sending 432 bytes for STATE_PARENT_R0 through eth1 from 192.1.2.23:500 to 192.1.2.45:500 (using #1) | 62 4c 8c 71 5d 06 ad 37 d1 b8 66 fe a6 e7 2c 71 | 21 20 22 20 00 00 00 00 00 00 01 b0 22 00 00 28 | 00 00 00 24 01 01 00 03 03 00 00 0c 01 00 00 14 | 80 0e 01 00 03 00 00 08 02 00 00 07 00 00 00 08 | 04 00 00 0e 28 00 01 08 00 0e 00 00 90 88 b2 f3 | 8e 72 94 a1 d9 52 01 9d 01 f2 eb 64 06 b0 ee 5c | c4 7b 9e 1b 90 f8 09 03 2c 4a 2c 8e cb 01 c4 2f | 35 70 e6 97 5a 6e f0 db f0 a0 40 11 ce 60 40 56 | 97 e9 c1 95 67 e2 2a cd 4f c8 ab 07 7f 4c 4c 37 | 95 d8 bd 1a 16 9c e3 6c 8f 33 2a c1 84 10 fe 24 | 1a 94 c3 de 8c 9e 98 ea 86 42 a5 4c bb bf e9 10 | 60 23 07 c3 3d f6 23 e7 b8 f1 b2 08 e3 0a 86 72 | 28 81 cb 83 91 74 5f 4c 0b e8 1b d0 38 90 e4 ec | 86 d0 5d 06 78 af e8 c7 06 02 b0 dc bd 61 a3 97 | 3b c1 ca 47 34 a4 d2 ff 7f 9f 11 c1 c0 a0 85 e7 | f3 4b 50 ec ef 69 56 16 be 77 e0 12 68 2e 60 fa | fb 77 55 fc f4 c6 81 30 f0 90 dc 03 7e 37 ed f2 | 86 6f 74 e1 2b 38 2c 96 03 bb 8b f5 48 d2 9b 05 | 48 96 4d 99 d2 a1 7f b4 15 61 a0 f0 a3 82 26 cb | 98 30 df f3 15 04 5a c3 94 f5 8f da 6f 3d 3a 75 | 63 5d ac 2a ac 60 8a 0e 31 ac c6 90 29 00 00 24 | 96 3c e3 07 fb 49 e1 72 e3 7a 95 81 48 c3 d9 30 | 38 c1 98 35 f5 c3 2d 99 06 55 e3 d2 72 3b e5 57 | 29 00 00 08 00 00 40 2e 29 00 00 1c 00 00 40 04 | 3f 36 f1 ef 88 4f 54 68 8d b0 de ee 78 eb fb b3 | 52 0b 43 eb 00 00 00 1c 00 00 40 05 9e 57 5a c2 | 17 55 bb 67 f3 ff 27 d8 b4 0c dc af b1 6b c3 c7 | state #1 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x55638b26f248 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x55638b26cc18 | event_schedule: new EVENT_SO_DISCARD-pe@0x55638b26cc18 | inserting event EVENT_SO_DISCARD, timeout in 200 seconds for #1 | libevent_malloc: new ptr-libevent@0x55638b272978 size 128 | resume sending helper answer for #1 suppresed complete_v2_state_transition() | #1 spent 1.44 milliseconds in resume sending helper answer | stop processing: state #1 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in resume_handler() at server.c:833) | libevent_free: release ptr-libevent@0x7efe0c002888 | spent 0.00982 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 365 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 62 4c 8c 71 5d 06 ad 37 d1 b8 66 fe a6 e7 2c 71 | 2e 20 23 08 00 00 00 01 00 00 01 6d 23 00 01 51 | 28 d5 21 88 4a 4e 8a 82 6a b4 f6 b3 2d 54 22 16 | a1 ac 1f a8 0c c8 36 2c b1 d6 28 1c 63 d0 03 d3 | f2 1f f9 2e a1 45 3a ee d8 7f 89 16 2d a0 60 4f | 18 43 8f 9e c5 76 62 fb 7a d4 fe de b9 88 89 3e | 19 f8 04 8f 85 6d 87 42 41 b4 cf 1b 0e bd 32 0d | 30 3f d1 bc 12 d2 7d d1 7c 3e bb 37 e5 93 7a db | 2d 8e e7 c6 51 1b af 3f 3f c5 2f 21 30 36 84 ab | ef 4f 1f 74 71 d1 05 17 28 9d 26 9e 46 84 5d f7 | 9b 8b 8c a0 3e 70 30 b7 b5 29 38 45 e4 63 fc 52 | cf 1b 65 bb 76 05 c6 c5 cd 49 be 51 83 49 d7 ad | bb 72 e4 44 66 8d 10 39 fa d8 91 5e f8 3c 2a 3a | 04 1f c9 61 ce 28 7c 40 50 a2 25 4c b9 83 6b 6a | 14 d4 ae e6 f1 48 d2 55 5d 9d ac 37 01 83 ca b7 | 40 6c 3d 33 c5 af a2 e9 c0 89 72 4e ad 81 3c 77 | 33 16 3a 94 da 04 d0 3e 36 6a 84 cf af 65 e0 a6 | 85 e2 be 51 08 ef 98 68 a0 2e a3 d8 bc ce 17 ef | 58 be 69 73 13 72 ae e5 51 f0 ed 4b f8 7f ef 1a | 13 bb 25 ec f6 b0 14 f6 e7 54 f9 92 56 d9 eb 61 | 6e 0a d6 a3 94 b2 f0 13 fe 38 66 5b e5 77 b1 af | cd 4e 2b 34 a1 fe a7 bd 6c 0d 03 25 ff 7c 76 1a | 5e 73 34 44 9c 96 71 4f 43 dc e4 6c bb | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 62 4c 8c 71 5d 06 ad 37 | responder cookie: | d1 b8 66 fe a6 e7 2c 71 | 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: 365 (0x16d) | 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-ikev2c" 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-ikev2c" 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: 337 (0x151) | processing payload: ISAKMP_NEXT_v2SK (len=333) | 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_512 integ=NONE cipherkey=AES_GCM_16 | adding ikev2_inI2outR2 KE work-order 2 for state #1 | state #1 requesting EVENT_SO_DISCARD to be deleted | libevent_free: release ptr-libevent@0x55638b272978 | free_event_entry: release EVENT_SO_DISCARD-pe@0x55638b26cc18 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x55638b26cc18 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #1 | libevent_malloc: new ptr-libevent@0x7efe0c002888 size 128 | #1 spent 0.0941 milliseconds in processing: Responder: process IKE_AUTH request (no SKEYSEED) in ikev2_process_state_packet() | [RE]START processing: state #1 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #1 complete_v2_state_transition() PARENT_R1->PARENT_R1 with status STF_SUSPEND | crypto helper 0 resuming | crypto helper 0 starting work-order 2 for state #1 | crypto helper 0 doing compute dh (V2) (ikev2_inI2outR2 KE); request ID 2 | suspending state #1 and saving MD | #1 is busy; has a suspended MD | [RE]START processing: state #1 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in log_stf_suspend() at ikev2.c:3269) | "westnet-eastnet-ikev2c" #1 complete v2 state STATE_PARENT_R1 transition with STF_SUSPEND suspended from complete_v2_state_transition:3451 | stop processing: state #1 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2018) | #1 spent 0.749 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.792 milliseconds in comm_handle_cb() reading and processing packet | calculating skeyseed using prf=sha2_512 integ=none cipherkey-size=32 salt-size=4 | crypto helper 0 finished compute dh (V2) (ikev2_inI2outR2 KE); request ID 2 time elapsed 0.004001 seconds | (#1) spent 3.98 milliseconds in crypto helper computing work-order 2: ikev2_inI2outR2 KE (pcr) | crypto helper 0 sending results from work-order 2 for state #1 to event queue | scheduling resume sending helper answer for #1 | libevent_malloc: new ptr-libevent@0x7efe04000f48 size 128 | crypto helper 0 waiting (nothing to do) | processing resume sending helper answer for #1 | start processing: state #1 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in resume_handler() at server.c:797) | crypto helper 0 replies to request ID 2 | calling continuation function 0x55638afa9b50 | ikev2_parent_inI2outR2_continue for #1: calculating g^{xy}, sending R2 | #1 in state PARENT_R1: received v2I1, sent v2R1 | #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: 72 (0x48) | auth method: IKEv2_AUTH_SHARED (0x2) | processing payload: ISAKMP_NEXT_v2AUTH (len=64) | 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: 164 (0xa4) | processing payload: ISAKMP_NEXT_v2SA (len=160) | 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-ikev2c" #1: processing decrypted IKE_AUTH request: SK{IDi,IDr,AUTH,SA,TSi,TSr} | #1 updating local interface from 192.1.2.23:500 to 192.1.2.23:500 using md->iface (in update_ike_endpoints() at state.c:2669) | received IDr payload - extracting our alleged ID | refine_host_connection for IKEv2: starting with "westnet-eastnet-ikev2c" | match_id a=@west | b=@west | results matched | refine_host_connection: checking "westnet-eastnet-ikev2c" against "westnet-eastnet-ikev2c", 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-ikev2c against westnet-eastnet-ikev2c, now for see if best | started looking for secret for @east->@west of kind PKK_PSK | actually looking for secret for @east->@west of kind PKK_PSK | line 1: key type PKK_PSK(@east) to type PKK_PSK | 1: compared key @east to @east / @west -> 010 | 2: compared key @west to @east / @west -> 014 | line 1: match=014 | match 014 beats previous best_match 000 match=0x55638b1c3b58 (line=1) | concluding with best_match=014 best=0x55638b1c3b58 (lineno=1) | returning because exact peer id match | offered CA: '%none' "westnet-eastnet-ikev2c" #1: IKEv2 mode peer ID is ID_FQDN: '@west' | verifying AUTH payload | ikev2_calculate_psk_sighash() called from STATE_PARENT_R1 to verify PSK with authby=secret | started looking for secret for @east->@west of kind PKK_PSK | actually looking for secret for @east->@west of kind PKK_PSK | line 1: key type PKK_PSK(@east) to type PKK_PSK | 1: compared key @east to @east / @west -> 010 | 2: compared key @west to @east / @west -> 014 | line 1: match=014 | match 014 beats previous best_match 000 match=0x55638b1c3b58 (line=1) | concluding with best_match=014 best=0x55638b1c3b58 (lineno=1) "westnet-eastnet-ikev2c" #1: Authenticated using authby=secret | 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@0x7efe0c002888 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x55638b26cc18 | event_schedule: new EVENT_SA_REKEY-pe@0x55638b26cc18 | inserting event EVENT_SA_REKEY, timeout in 3330 seconds for #1 | libevent_malloc: new ptr-libevent@0x55638b26f248 size 128 | pstats #1 ikev2.ike established | **emit ISAKMP Message: | initiator cookie: | 62 4c 8c 71 5d 06 ad 37 | responder cookie: | d1 b8 66 fe a6 e7 2c 71 | 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: policy does not have RSASIG or ECDSA: PSK | ***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 8 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_SHARED (0x2) | 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' | ikev2_calculate_psk_sighash() called from STATE_PARENT_R2 to create PSK with authby=secret | started looking for secret for @east->@west of kind PKK_PSK | actually looking for secret for @east->@west of kind PKK_PSK | line 1: key type PKK_PSK(@east) to type PKK_PSK | 1: compared key @east to @east / @west -> 010 | 2: compared key @west to @east / @west -> 014 | line 1: match=014 | match 014 beats previous best_match 000 match=0x55638b1c3b58 (line=1) | concluding with best_match=014 best=0x55638b1c3b58 (lineno=1) | emitting 64 raw bytes of PSK auth into IKEv2 Authentication Payload | PSK auth 0b 7a 14 b2 95 96 c3 e2 3c 1d 93 1b 4c f1 42 fb | PSK auth 3a f2 37 84 c0 cc fb cd d1 bb ea ce ed 4b cb 8d | PSK auth 39 2e b3 63 b7 b8 09 b3 c8 cc 28 e2 a0 8d 41 0f | PSK auth c8 db 27 81 99 6b 0f d3 0d 3e 45 32 46 34 9f 13 | emitting length of IKEv2 Authentication Payload: 72 | creating state object #2 at 0x55638b2768a8 | State DB: adding IKEv2 state #2 in UNDEFINED | pstats #2 ikev2.child started | duplicating state object #1 "westnet-eastnet-ikev2c" as #2 for IPSEC SA | #2 setting local endpoint to 192.1.2.23:500 from #1.st_localport (in duplicate_state() at state.c:1484) | Message ID: init_child #1.#2; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0; child: wip.initiator=0->-1 wip.responder=0->-1 | Message ID: switch-from #1 request 1; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0 wip.initiator=-1 wip.responder=1->-1 | Message ID: switch-to #1.#2 request 1; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0; child: wip.initiator=-1 wip.responder=-1->1 | Child SA TS Request has ike->sa == md->st; so using parent connection | TSi: parsing 1 traffic selectors | ***parse IKEv2 Traffic Selector: | TS type: IKEv2_TS_IPV4_ADDR_RANGE (0x7) | IP Protocol ID: 0 (0x0) | length: 16 (0x10) | start port: 0 (0x0) | end port: 65535 (0xffff) | parsing 4 raw bytes of IKEv2 Traffic Selector into TS low | TS low c0 00 01 00 | parsing 4 raw bytes of IKEv2 Traffic Selector into TS high | TS high c0 00 01 ff | TSi: parsed 1 traffic selectors | TSr: parsing 1 traffic selectors | ***parse IKEv2 Traffic Selector: | TS type: IKEv2_TS_IPV4_ADDR_RANGE (0x7) | IP Protocol ID: 0 (0x0) | length: 16 (0x10) | start port: 0 (0x0) | end port: 65535 (0xffff) | parsing 4 raw bytes of IKEv2 Traffic Selector into TS low | TS low c0 00 02 00 | parsing 4 raw bytes of IKEv2 Traffic Selector into TS high | TS high c0 00 02 ff | TSr: parsed 1 traffic selectors | looking for best SPD in current connection | evaluating our conn="westnet-eastnet-ikev2c" I=192.0.101.0/24:0/0 R=192.0.201.0/24:0/0 to their: | TSi[0] .net=192.0.1.0-192.0.1.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.101.0/24 == TSi[0]net=192.0.1.0-192.0.1.255: NO | 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.201.0/24 -> 192.0.101.0/24 is found | investigating connection "westnet-eastnet-ikev2c" as a better match | match_id a=@west | b=@west | results matched | evaluating our conn="westnet-eastnet-ikev2c" I=192.0.101.0/24:0/0 R=192.0.201.0/24:0/0 to their: | TSi[0] .net=192.0.1.0-192.0.1.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.101.0/24 == TSi[0]net=192.0.1.0-192.0.1.255: NO | investigating connection "westnet-eastnet-ikev2b" as a better match | match_id a=@west | b=@west | results matched | evaluating our conn="westnet-eastnet-ikev2b" I=192.0.100.0/24:0/0 R=192.0.200.0/24:0/0 to their: | TSi[0] .net=192.0.1.0-192.0.1.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.100.0/24 == TSi[0]net=192.0.1.0-192.0.1.255: NO | investigating connection "westnet-eastnet-ikev2a" as a better match | match_id a=@west | b=@west | results matched | evaluating our conn="westnet-eastnet-ikev2a" I=192.0.1.0/24:0/0 R=192.0.2.0/24:0/0 to their: | TSi[0] .net=192.0.1.0-192.0.1.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.1.0/24 == TSi[0]net=192.0.1.0-192.0.1.255: YES fitness 32 | narrow port end=0..65535 == TSi[0]=0..65535: 0 | TSi[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSi[0]=*0: 0 | match end->protocol=*0 == TSi[0].ipprotoid=*0: YES fitness 255 | TSr[0] .net=192.0.2.0-192.0.2.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.2.0/24 == TSr[0]net=192.0.2.0-192.0.2.255: YES fitness 32 | narrow port end=0..65535 == TSr[0]=0..65535: 0 | TSr[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSr[0]=*0: 0 | match end->protocol=*0 == TSr[0].ipprotoid=*0: YES fitness 255 | best fit so far: TSi[0] TSr[0] | protocol fitness found better match d westnet-eastnet-ikev2a, TSi[0],TSr[0] | in connection_discard for connection westnet-eastnet-ikev2c | 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-ikev2a (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-ikev2a": constructed local ESP/AH proposals for westnet-eastnet-ikev2a (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_NON_LAST (0x2) | length: 32 (0x20) | prop #: 1 (0x1) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (0x4) | # transforms: 2 (0x2) | parsing 4 raw bytes of IKEv2 Proposal Substructure Payload into remote SPI | remote SPI dc 79 96 83 | Comparing remote proposal 1 containing 2 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_GCM_C (0x14) | *****parse IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 256 (0x100) | remote proposal 1 transform 0 (ENCR=AES_GCM_C_256) matches local proposal 1 type 1 (ENCR) transform 0 | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_LAST (0x0) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_ESN (0x5) | IKEv2 transform ID: ESN_DISABLED (0x0) | remote proposal 1 transform 1 (ESN=DISABLED) matches local proposal 1 type 5 (ESN) transform 0 | remote proposal 1 transform 1 (ESN=DISABLED) matches local proposal 2 type 5 (ESN) transform 0 | remote proposal 1 transform 1 (ESN=DISABLED) matches local proposal 3 type 5 (ESN) transform 0 | remote proposal 1 transform 1 (ESN=DISABLED) matches local proposal 4 type 5 (ESN) transform 0 | remote proposal 1 proposed transforms: ENCR+ESN; matched: ENCR+ESN; unmatched: none | comparing remote proposal 1 containing ENCR+ESN transforms to local proposal 1; required: ENCR+ESN; optional: INTEG+DH; matched: ENCR+ESN | remote proposal 1 matches local proposal 1 | ***parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_NON_LAST (0x2) | length: 32 (0x20) | prop #: 2 (0x2) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (0x4) | # transforms: 2 (0x2) | parsing 4 raw bytes of IKEv2 Proposal Substructure Payload into remote SPI | remote SPI dc 79 96 83 | Comparing remote proposal 2 containing 2 transforms against local proposal [1..0] 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_GCM_C (0x14) | *****parse IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 128 (0x80) | ****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 2 proposed transforms: ENCR+ESN; matched: none; unmatched: ENCR+ESN | remote proposal 2 does not match; unmatched remote transforms: ENCR+ESN | ***parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_NON_LAST (0x2) | length: 48 (0x30) | prop #: 3 (0x3) | 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 dc 79 96 83 | Comparing remote proposal 3 containing 4 transforms against local proposal [1..0] 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) | ****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_512_256 (0xe) | ****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) | ****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 3 proposed transforms: ENCR+INTEG+ESN; matched: none; unmatched: ENCR+INTEG+ESN | remote proposal 3 does not match; unmatched remote transforms: ENCR+INTEG+ESN | ***parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | length: 48 (0x30) | prop #: 4 (0x4) | 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 dc 79 96 83 | Comparing remote proposal 4 containing 4 transforms against local proposal [1..0] 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) | ****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_512_256 (0xe) | ****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) | ****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 4 proposed transforms: ENCR+INTEG+ESN; matched: none; unmatched: ENCR+INTEG+ESN | remote proposal 4 does not match; unmatched remote transforms: ENCR+INTEG+ESN "westnet-eastnet-ikev2c" #1: proposal 1:ESP:SPI=dc799683;ENCR=AES_GCM_C_256;ESN=DISABLED chosen from remote proposals 1:ESP:ENCR=AES_GCM_C_256;ESN=DISABLED[first-match] 2:ESP:ENCR=AES_GCM_C_128;ESN=DISABLED 3:ESP:ENCR=AES_CBC_256;INTEG=HMAC_SHA2_512_256;INTEG=HMAC_SHA2_256_128;ESN=DISABLED 4:ESP:ENCR=AES_CBC_128;INTEG=HMAC_SHA2_512_256;INTEG=HMAC_SHA2_256_128;ESN=DISABLED | IKE_AUTH responder matching remote ESP/AH proposals ikev2_proposal: 1:ESP:SPI=dc799683;ENCR=AES_GCM_C_256;ESN=DISABLED | converting proposal to internal trans attrs | netlink_get_spi: allocated 0xdc069d82 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: 2 (0x2) | last substructure: saving location 'IKEv2 Security Association Payload'.'IKEv2 Proposal Substructure Payload'.'last proposal' | emitting 4 raw bytes of our spi into IKEv2 Proposal Substructure Payload | our spi dc 06 9d 82 | ******emit IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | IKEv2 transform type: TRANS_TYPE_ENCR (0x1) | IKEv2 transform ID: AES_GCM_C (0x14) | last substructure: saving location 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' | *******emit IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 256 (0x100) | emitting length of IKEv2 Transform Substructure Payload: 12 | ******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: 32 | last substructure: checking 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' is 0 | emitting length of IKEv2 Security Association Payload: 36 | last substructure: checking 'IKEv2 Security Association Payload'.'IKEv2 Proposal Substructure Payload'.'last proposal' is 0 | ****emit IKEv2 Traffic Selector - Initiator - Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | number of TS: 1 (0x1) | next payload chain: setting previous 'IKEv2 Security Association Payload'.'next payload type' to current IKEv2 Traffic Selector - Initiator - Payload (44:ISAKMP_NEXT_v2TSi) | next payload chain: saving location 'IKEv2 Traffic Selector - Initiator - Payload'.'next payload type' in 'reply packet' | *****emit IKEv2 Traffic Selector: | TS type: IKEv2_TS_IPV4_ADDR_RANGE (0x7) | IP Protocol ID: 0 (0x0) | start port: 0 (0x0) | end port: 65535 (0xffff) | emitting 4 raw bytes of ipv4 start into IKEv2 Traffic Selector | ipv4 start c0 00 01 00 | emitting 4 raw bytes of ipv4 end into IKEv2 Traffic Selector | ipv4 end c0 00 01 ff | emitting length of IKEv2 Traffic Selector: 16 | emitting length of IKEv2 Traffic Selector - Initiator - Payload: 24 | ****emit IKEv2 Traffic Selector - Responder - Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | number of TS: 1 (0x1) | next payload chain: setting previous 'IKEv2 Traffic Selector - Initiator - Payload'.'next payload type' to current IKEv2 Traffic Selector - Responder - Payload (45:ISAKMP_NEXT_v2TSr) | next payload chain: saving location 'IKEv2 Traffic Selector - Responder - Payload'.'next payload type' in 'reply packet' | *****emit IKEv2 Traffic Selector: | TS type: IKEv2_TS_IPV4_ADDR_RANGE (0x7) | IP Protocol ID: 0 (0x0) | start port: 0 (0x0) | end port: 65535 (0xffff) | emitting 4 raw bytes of ipv4 start into IKEv2 Traffic Selector | ipv4 start c0 00 02 00 | emitting 4 raw bytes of ipv4 end into IKEv2 Traffic Selector | ipv4 end c0 00 02 ff | emitting length of IKEv2 Traffic Selector: 16 | emitting length of IKEv2 Traffic Selector - Responder - Payload: 24 | Initiator child policy is compress=no, NOT sending v2N_IPCOMP_SUPPORTED | integ=none: .key_size=0 encrypt=aes_gcm_16: .key_size=32 .salt_size=4 keymat_len=36 | FOR_EACH_CONNECTION_... in ISAKMP_SA_established | #1 spent 4.49 milliseconds | install_ipsec_sa() for #2: inbound and outbound | could_route called for westnet-eastnet-ikev2a (kind=CK_PERMANENT) | FOR_EACH_CONNECTION_... in route_owner | conn westnet-eastnet-ikev2a mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ikev2c mark 0/00000000, 0/00000000 | conn westnet-eastnet-ikev2a mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ikev2b mark 0/00000000, 0/00000000 | conn westnet-eastnet-ikev2a mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ikev2a mark 0/00000000, 0/00000000 | route owner of "westnet-eastnet-ikev2a" unrouted: NULL; eroute owner: NULL | looking for alg with encrypt: AES_GCM_16 keylen: 256 integ: NONE | encrypt AES_GCM_16 keylen=256 transid=20, key_size=32, encryptalg=20 | AES_GCM_16 requires 4 salt bytes | st->st_esp.keymat_len=36 is encrypt_keymat_size=36 + integ_keymat_size=0 | setting IPsec SA replay-window to 32 | NIC esp-hw-offload not for connection 'westnet-eastnet-ikev2a' 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.dc799683@192.1.2.45 included non-error error | set up outgoing SA, ref=0/0 | looking for alg with encrypt: AES_GCM_16 keylen: 256 integ: NONE | encrypt AES_GCM_16 keylen=256 transid=20, key_size=32, encryptalg=20 | AES_GCM_16 requires 4 salt bytes | st->st_esp.keymat_len=36 is encrypt_keymat_size=36 + integ_keymat_size=0 | setting IPsec SA replay-window to 32 | NIC esp-hw-offload not for connection 'westnet-eastnet-ikev2a' 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.dc069d82@192.1.2.23 included non-error error | priority calculation of connection "westnet-eastnet-ikev2a" 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-ikev2a mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ikev2c mark 0/00000000, 0/00000000 | conn westnet-eastnet-ikev2a mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ikev2b mark 0/00000000, 0/00000000 | conn westnet-eastnet-ikev2a mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ikev2a mark 0/00000000, 0/00000000 | route owner of "westnet-eastnet-ikev2a" unrouted: NULL; eroute owner: NULL | route_and_eroute with c: westnet-eastnet-ikev2a (next: none) ero:null esr:{(nil)} ro:null rosr:{(nil)} and state: #2 | priority calculation of connection "westnet-eastnet-ikev2a" 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-ikev2a' 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='PSK+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=0xdc79 | popen cmd is 1038 chars long | cmd( 0):PLUTO_VERB='up-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet-ike: | cmd( 80):v2a' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PL: | cmd( 160):UTO_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' PL: | cmd( 320):UTO_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' PLU: | cmd( 560):TO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='PSK+ENCR: | cmd( 640):YPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND='C: | cmd( 720):K_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISCO='0': | cmd( 800): PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_CFG: | cmd( 880):_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' VTI_ROUTIN: | cmd( 960):G='no' VTI_SHARED='no' SPI_IN=0xdc799683 SPI_OUT=0xdc069d82 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-ikev2a' 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='PSK+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 | popen cmd is 1043 chars long | cmd( 0):PLUTO_VERB='prepare-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastne: | cmd( 80):t-ikev2a' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.2: | cmd( 160):3' 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=': | cmd( 320):0' 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' 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='PSK: | 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=0xdc799683 SPI_OUT=0xdc069d82 ipsec _updown 2: | cmd(1040):>&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-ikev2a' 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='PSK+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= | popen cmd is 1041 chars long | cmd( 0):PLUTO_VERB='route-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet-: | cmd( 80):ikev2a' 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_I: | cmd( 400):D='@west' PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLU: | cmd( 480):TO_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='PSK+E: | cmd( 640):NCRYPT+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_: | cmd( 880):CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' VTI_ROU: | cmd( 960):TING='no' VTI_SHARED='no' SPI_IN=0xdc799683 SPI_OUT=0xdc069d82 ipsec _updown 2>&: | cmd(1040):1: | route_and_eroute: instance "westnet-eastnet-ikev2a", setting eroute_owner {spd=0x55638b26adc8,sr=0x55638b26adc8} to #2 (was #0) (newest_ipsec_sa=#0) | #1 spent 3.67 milliseconds in install_ipsec_sa() | ISAKMP_v2_IKE_AUTH: instance westnet-eastnet-ikev2a[0], setting IKEv2 newest_ipsec_sa to #2 (was #0) (spd.eroute=#2) cloned from #1 | adding 1 bytes of padding (including 1 byte padding-length) | emitting 1 0x00 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: 197 | emitting length of ISAKMP Message: 225 | ikev2_parent_inI2outR2_continue_tail returned STF_OK | #1 spent 8.24 milliseconds in processing: Responder: process IKE_AUTH request in ikev2_process_state_packet() | suspend processing: state #1 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | start processing: state #2 connection "westnet-eastnet-ikev2a" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #2 complete_v2_state_transition() md.from_state=PARENT_R1 md.svm.state[from]=PARENT_R1 UNDEFINED->V2_IPSEC_R with status STF_OK | IKEv2: transition from state STATE_PARENT_R1 to state STATE_V2_IPSEC_R | child state #2: UNDEFINED(ignore) => V2_IPSEC_R(established CHILD SA) | Message ID: updating counters for #2 to 1 after switching state | Message ID: recv #1.#2 request 1; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0->1; child: wip.initiator=-1 wip.responder=1->-1 | Message ID: sent #1.#2 response 1; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0->1 responder.recv=1; child: wip.initiator=-1 wip.responder=-1 | pstats #2 ikev2.child established "westnet-eastnet-ikev2a" #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-ikev2a" #2: STATE_V2_IPSEC_R: IPsec SA established tunnel mode {ESP=>0xdc799683 <0xdc069d82 xfrm=AES_GCM_16_256-NONE NATOA=none NATD=none DPD=passive} | sending V2 new request packet to 192.1.2.45:500 (from 192.1.2.23:500) | sending 225 bytes for STATE_PARENT_R1 through eth1 from 192.1.2.23:500 to 192.1.2.45:500 (using #1) | 62 4c 8c 71 5d 06 ad 37 d1 b8 66 fe a6 e7 2c 71 | 2e 20 23 20 00 00 00 01 00 00 00 e1 24 00 00 c5 | fd bf 17 eb d7 e2 18 3b c1 d1 7d 0c 12 ff 0f 28 | 56 74 a1 44 24 bd c2 8c f4 58 42 ab fb c7 3a 94 | 66 28 74 85 75 8e 8f 18 83 2e e2 09 49 fd 10 f4 | 6a fc ce c2 84 f7 28 5e 3b 8c 87 55 62 c5 84 5e | b0 b6 49 5f 2e eb b2 b9 41 e1 54 96 8c 6f a3 a7 | 8e 0b 50 cf 48 a5 68 81 42 5d c4 5d 78 ba 1b 51 | e7 39 4f 6e b6 56 3c 4c 97 a0 43 80 ee c4 70 a8 | d5 ec 08 21 28 21 57 34 39 a2 35 02 c8 97 d4 38 | 89 d4 a6 06 82 67 68 20 6d 25 54 ca bf b4 29 78 | 77 72 06 47 5f 96 7c 29 21 df 3d 0c 98 05 de d1 | 5f a9 c4 82 79 36 05 dc 53 3e 0b 1c 25 fb 17 40 | 7a 2a 3c fb a7 a8 0c ce ca d8 54 69 27 b5 7f 6c | f1 | releasing whack for #2 (sock=fd@-1) | releasing whack and unpending for parent #1 | unpending state #1 connection "westnet-eastnet-ikev2a" | #2 will start re-keying in 28530 seconds with margin of 270 seconds (attempting re-key) | event_schedule: new EVENT_SA_REKEY-pe@0x7efe0c002b78 | inserting event EVENT_SA_REKEY, timeout in 28530 seconds for #2 | libevent_malloc: new ptr-libevent@0x55638b2767f8 size 128 | resume sending helper answer for #1 suppresed complete_v2_state_transition() | #1 spent 8.77 milliseconds in resume sending helper answer | stop processing: state #2 connection "westnet-eastnet-ikev2a" from 192.1.2.45:500 (in resume_handler() at server.c:833) | libevent_free: release ptr-libevent@0x7efe04000f48 | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00644 milliseconds in signal handler PLUTO_SIGCHLD | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00376 milliseconds in signal handler PLUTO_SIGCHLD | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00402 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00802 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 601 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 62 4c 8c 71 5d 06 ad 37 d1 b8 66 fe a6 e7 2c 71 | 2e 20 24 08 00 00 00 02 00 00 02 59 21 00 02 3d | 44 d7 e4 52 12 f6 8f 46 3c 69 65 64 0c a3 b8 c1 | 6a b9 26 fa f0 b5 ed ec 73 96 1f b5 1e 1b b9 fd | b9 8a 31 1a 7d 33 21 10 77 49 33 45 be 92 f4 ac | b7 cc 48 b1 e3 cc af 61 ce 11 0f 58 67 c1 de f7 | c8 b0 dd aa 9a aa e8 62 f3 2c df 38 52 f4 d3 4f | f7 cf 59 86 18 db 5d f1 06 f0 df b9 27 e3 c4 7c | 79 63 66 9a 38 67 ee 2f e1 4f bd 95 72 ec 07 ad | 86 11 94 97 77 b2 65 20 47 40 89 25 fd cc cd 63 | 4c 28 3b cf f8 60 2e e4 4e 8c 46 f9 ce 01 df d5 | 7d 8a aa 52 eb 80 c1 e6 09 47 60 10 49 2a a7 91 | ae e2 10 d4 36 47 4b 09 23 09 25 e6 04 48 85 a9 | 26 b4 9e 16 98 a4 39 99 f7 99 a4 fb d2 ca 8e 39 | 10 b1 b2 7f 97 61 2f 3a 55 2a fa 99 44 ec 9a 85 | 3e 69 1d 03 04 5b 20 72 4f fb 48 ec c7 dc 8a 76 | dc b5 57 a3 d1 d7 f1 7e ac c4 1f 4d 1f 61 34 9b | 67 95 e6 dc 6c 50 7b ff 8e 71 66 97 e8 b1 e1 fc | 3f fa 3c c0 3c ef 40 10 70 8b 78 ee 1a f3 5b b1 | fe 63 25 5d a2 a1 d5 23 ce 28 bc b0 2d 62 02 96 | 05 a0 55 bd 8d e2 1b 8d 2b db 97 1f a1 c3 fc 15 | 4d 1d 3b bc 35 2b a0 69 e0 62 ea 28 1d 51 73 50 | 8c bf 8b 9e 25 72 ed 1e 46 19 73 b4 61 d7 62 1e | ae 05 43 62 5c e6 ae 94 02 2a a7 12 ec be 14 47 | bf 71 4b a1 3d 4b 7d 41 fd f3 11 3b 31 76 ea 3b | ca 5c d4 49 06 d0 23 cd 59 d5 87 dd 89 a7 5c e7 | 80 11 32 e3 61 60 dc b5 4f ed 42 b9 c1 8b ae a0 | 28 4e 67 7c 06 ec a5 9a 0c e5 99 51 b9 97 b3 49 | f2 99 2b 6c 9a 70 13 59 bf cc 6f 0a f5 4c 70 06 | b8 4b 86 fe f9 59 be e7 14 d1 68 5a 86 af 1b 72 | 03 34 6a 84 1d 9a fa 03 d7 1f 73 de cd 1d 87 6a | 67 d4 25 ff 6f 6d db 39 a6 2e 33 b0 b6 17 69 86 | 72 3a 8f d9 e6 89 05 e9 36 3b 9d 9c e5 ce 35 85 | 8b 5e 5d 65 64 80 f6 51 13 4e 69 8e 47 ee 32 a2 | b8 43 1e fd 9b b2 d0 bb 02 5a 51 8b a1 8e a8 e2 | 79 25 6f 6d b4 a4 86 67 cf f3 04 41 1c 20 a2 9a | ca d6 b6 1b 69 df 79 c9 eb 66 29 82 53 1f b5 28 | f7 32 1e de 18 ef 8b 44 3a | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 62 4c 8c 71 5d 06 ad 37 | responder cookie: | d1 b8 66 fe a6 e7 2c 71 | next payload type: ISAKMP_NEXT_v2SK (0x2e) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_CREATE_CHILD_SA (0x24) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 2 (0x2) | length: 601 (0x259) | processing version=2.0 packet with exchange type=ISAKMP_v2_CREATE_CHILD_SA (36) | I am the IKE SA Original Responder receiving an IKEv2 CREATE_CHILD_SA request | State DB: found IKEv2 state #1 in PARENT_R2 (find_v2_ike_sa) | start processing: state #1 connection "westnet-eastnet-ikev2c" 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-ikev2c" 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_v2SA (0x21) | flags: none (0x0) | length: 573 (0x23d) | processing payload: ISAKMP_NEXT_v2SK (len=569) | 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 | #1 ikev2 ISAKMP_v2_CREATE_CHILD_SA decrypt success | Now let's proceed with payload (ISAKMP_NEXT_v2SA) | **parse IKEv2 Security Association Payload: | next payload type: ISAKMP_NEXT_v2Ni (0x28) | flags: none (0x0) | length: 196 (0xc4) | processing payload: ISAKMP_NEXT_v2SA (len=192) | Now let's proceed with payload (ISAKMP_NEXT_v2Ni) | **parse IKEv2 Nonce Payload: | next payload type: ISAKMP_NEXT_v2KE (0x22) | flags: none (0x0) | length: 36 (0x24) | processing payload: ISAKMP_NEXT_v2Ni (len=32) | Now let's proceed with payload (ISAKMP_NEXT_v2KE) | **parse IKEv2 Key Exchange Payload: | next payload type: ISAKMP_NEXT_v2TSi (0x2c) | 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_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) | state #1 forced to match CREATE_CHILD_SA from V2_CREATE_R->V2_IPSEC_R by ignoring from state | selected state microcode Respond to CREATE_CHILD_SA IPsec SA Request | #1 updating local interface from 192.1.2.23:500 to 192.1.2.23:500 using md->iface (in update_ike_endpoints() at state.c:2669) | creating state object #3 at 0x55638b27c198 | State DB: adding IKEv2 state #3 in UNDEFINED | pstats #3 ikev2.child started | duplicating state object #1 "westnet-eastnet-ikev2c" as #3 for IPSEC SA | #3 setting local endpoint to 192.1.2.23:500 from #1.st_localport (in duplicate_state() at state.c:1484) | Message ID: init_child #1.#3; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=1 responder.recv=1; child: wip.initiator=0->-1 wip.responder=0->-1 | child state #3: UNDEFINED(ignore) => V2_CREATE_R(established IKE SA) | "westnet-eastnet-ikev2c" #1 received Child SA Request CREATE_CHILD_SA from 192.1.2.45:500 Child "westnet-eastnet-ikev2c" #3 in STATE_V2_CREATE_R will process it further | Message ID: switch-from #1 request 2; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=1 responder.recv=1 wip.initiator=-1 wip.responder=2->-1 | Message ID: switch-to #1.#3 request 2; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=1 responder.recv=1; child: wip.initiator=-1 wip.responder=-1->2 | forcing ST #1 to CHILD #1.#3 in FSM processor | Now let's proceed with state specific processing | calling processor Respond to CREATE_CHILD_SA IPsec SA Request | create child proposal's DH changed from no-PFS to MODP2048, flushing | constructing ESP/AH proposals with default DH MODP2048 for westnet-eastnet-ikev2c (CREATE_CHILD_SA 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=MODP2048;ESN=DISABLED | converting proposal AES_GCM_16_128-NONE to ikev2 ... | ... ikev2_proposal: 2:ESP:ENCR=AES_GCM_C_128;INTEG=NONE;DH=MODP2048;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=MODP2048;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=MODP2048;ESN=DISABLED "westnet-eastnet-ikev2c": constructed local ESP/AH proposals for westnet-eastnet-ikev2c (CREATE_CHILD_SA responder matching remote ESP/AH proposals): 1:ESP:ENCR=AES_GCM_C_256;INTEG=NONE;DH=MODP2048;ESN=DISABLED 2:ESP:ENCR=AES_GCM_C_128;INTEG=NONE;DH=MODP2048;ESN=DISABLED 3:ESP:ENCR=AES_CBC_256;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=MODP2048;ESN=DISABLED 4:ESP:ENCR=AES_CBC_128;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=MODP2048;ESN=DISABLED | Comparing remote proposals against CREATE_CHILD_SA 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+DH+ESN; optional: INTEG | 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+DH+ESN; optional: INTEG | 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+DH+ESN; optional: none | 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+DH+ESN; optional: none | ***parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_NON_LAST (0x2) | length: 40 (0x28) | prop #: 1 (0x1) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (0x4) | # transforms: 3 (0x3) | parsing 4 raw bytes of IKEv2 Proposal Substructure Payload into remote SPI | remote SPI 72 cb 5d 08 | Comparing remote proposal 1 containing 3 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_GCM_C (0x14) | *****parse IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 256 (0x100) | remote proposal 1 transform 0 (ENCR=AES_GCM_C_256) matches local proposal 1 type 1 (ENCR) transform 0 | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP2048 (0xe) | remote proposal 1 transform 1 (DH=MODP2048) matches local proposal 1 type 4 (DH) transform 0 | remote proposal 1 transform 1 (DH=MODP2048) matches local proposal 2 type 4 (DH) transform 0 | remote proposal 1 transform 1 (DH=MODP2048) matches local proposal 3 type 4 (DH) transform 0 | remote proposal 1 transform 1 (DH=MODP2048) matches local proposal 4 type 4 (DH) transform 0 | ****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 2 (ESN=DISABLED) matches local proposal 1 type 5 (ESN) transform 0 | remote proposal 1 transform 2 (ESN=DISABLED) matches local proposal 2 type 5 (ESN) transform 0 | remote proposal 1 transform 2 (ESN=DISABLED) matches local proposal 3 type 5 (ESN) transform 0 | remote proposal 1 transform 2 (ESN=DISABLED) matches local proposal 4 type 5 (ESN) transform 0 | remote proposal 1 proposed transforms: ENCR+DH+ESN; matched: ENCR+DH+ESN; unmatched: none | comparing remote proposal 1 containing ENCR+DH+ESN transforms to local proposal 1; required: ENCR+DH+ESN; optional: INTEG; matched: ENCR+DH+ESN | remote proposal 1 matches local proposal 1 | ***parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_NON_LAST (0x2) | length: 40 (0x28) | prop #: 2 (0x2) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (0x4) | # transforms: 3 (0x3) | parsing 4 raw bytes of IKEv2 Proposal Substructure Payload into remote SPI | remote SPI 72 cb 5d 08 | Comparing remote proposal 2 containing 3 transforms against local proposal [1..0] 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_GCM_C (0x14) | *****parse IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 128 (0x80) | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP2048 (0xe) | ****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 2 proposed transforms: ENCR+DH+ESN; matched: none; unmatched: ENCR+DH+ESN | remote proposal 2 does not match; unmatched remote transforms: ENCR+DH+ESN | ***parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_NON_LAST (0x2) | length: 56 (0x38) | prop #: 3 (0x3) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (0x4) | # transforms: 5 (0x5) | parsing 4 raw bytes of IKEv2 Proposal Substructure Payload into remote SPI | remote SPI 72 cb 5d 08 | Comparing remote proposal 3 containing 5 transforms against local proposal [1..0] 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) | ****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_512_256 (0xe) | ****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) | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP2048 (0xe) | ****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 3 proposed transforms: ENCR+INTEG+DH+ESN; matched: none; unmatched: ENCR+INTEG+DH+ESN | remote proposal 3 does not match; unmatched remote transforms: ENCR+INTEG+DH+ESN | ***parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | length: 56 (0x38) | prop #: 4 (0x4) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (0x4) | # transforms: 5 (0x5) | parsing 4 raw bytes of IKEv2 Proposal Substructure Payload into remote SPI | remote SPI 72 cb 5d 08 | Comparing remote proposal 4 containing 5 transforms against local proposal [1..0] 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) | ****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_512_256 (0xe) | ****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) | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP2048 (0xe) | ****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 4 proposed transforms: ENCR+INTEG+DH+ESN; matched: none; unmatched: ENCR+INTEG+DH+ESN | remote proposal 4 does not match; unmatched remote transforms: ENCR+INTEG+DH+ESN "westnet-eastnet-ikev2c" #1: proposal 1:ESP:SPI=72cb5d08;ENCR=AES_GCM_C_256;DH=MODP2048;ESN=DISABLED chosen from remote proposals 1:ESP:ENCR=AES_GCM_C_256;DH=MODP2048;ESN=DISABLED[first-match] 2:ESP:ENCR=AES_GCM_C_128;DH=MODP2048;ESN=DISABLED 3:ESP:ENCR=AES_CBC_256;INTEG=HMAC_SHA2_512_256;INTEG=HMAC_SHA2_256_128;DH=MODP2048;ESN=DISABLED 4:ESP:ENCR=AES_CBC_128;INTEG=HMAC_SHA2_512_256;INTEG=HMAC_SHA2_256_128;DH=MODP2048;ESN=DISABLED | CREATE_CHILD_SA responder matching remote ESP/AH proposals ikev2_proposal: 1:ESP:SPI=72cb5d08;ENCR=AES_GCM_C_256;DH=MODP2048;ESN=DISABLED | converting proposal to internal trans attrs | updating #3's .st_oakley with preserved PRF, but why update? | Child SA TS Request has child->sa == md->st; so using child 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 64 00 | parsing 4 raw bytes of IKEv2 Traffic Selector into TS high | TS high c0 00 64 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 c8 00 | parsing 4 raw bytes of IKEv2 Traffic Selector into TS high | TS high c0 00 c8 ff | TSr: parsed 1 traffic selectors | looking for best SPD in current connection | evaluating our conn="westnet-eastnet-ikev2c" I=192.0.101.0/24:0/0 R=192.0.201.0/24:0/0 to their: | TSi[0] .net=192.0.100.0-192.0.100.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.101.0/24 == TSi[0]net=192.0.100.0-192.0.100.255: NO | 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.201.0/24 -> 192.0.101.0/24 is found | investigating connection "westnet-eastnet-ikev2c" as a better match | match_id a=@west | b=@west | results matched | evaluating our conn="westnet-eastnet-ikev2c" I=192.0.101.0/24:0/0 R=192.0.201.0/24:0/0 to their: | TSi[0] .net=192.0.100.0-192.0.100.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.101.0/24 == TSi[0]net=192.0.100.0-192.0.100.255: NO | investigating connection "westnet-eastnet-ikev2b" as a better match | match_id a=@west | b=@west | results matched | evaluating our conn="westnet-eastnet-ikev2b" I=192.0.100.0/24:0/0 R=192.0.200.0/24:0/0 to their: | TSi[0] .net=192.0.100.0-192.0.100.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.100.0/24 == TSi[0]net=192.0.100.0-192.0.100.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.200.0-192.0.200.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.200.0/24 == TSr[0]net=192.0.200.0-192.0.200.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] | protocol fitness found better match d westnet-eastnet-ikev2b, TSi[0],TSr[0] | investigating connection "westnet-eastnet-ikev2a" as a better match | match_id a=@west | b=@west | results matched | evaluating our conn="westnet-eastnet-ikev2a" I=192.0.1.0/24:0/0 R=192.0.2.0/24:0/0 to their: | TSi[0] .net=192.0.100.0-192.0.100.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.1.0/24 == TSi[0]net=192.0.100.0-192.0.100.255: NO | in connection_discard for connection westnet-eastnet-ikev2c | printing contents struct traffic_selector | ts_type: IKEv2_TS_IPV4_ADDR_RANGE | ipprotoid: 0 | port range: 0-65535 | ip range: 192.0.200.0-192.0.200.255 | printing contents struct traffic_selector | ts_type: IKEv2_TS_IPV4_ADDR_RANGE | ipprotoid: 0 | port range: 0-65535 | ip range: 192.0.100.0-192.0.100.255 | adding Child Responder KE and nonce nr work-order 3 for state #3 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x55638b27a2f8 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #3 | libevent_malloc: new ptr-libevent@0x7efe04000f48 size 128 | #3 spent 1.3 milliseconds in processing: Respond to CREATE_CHILD_SA IPsec SA Request in ikev2_process_state_packet() | suspend processing: state #1 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | start processing: state #3 connection "westnet-eastnet-ikev2b" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #3 complete_v2_state_transition() V2_CREATE_R->V2_IPSEC_R 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-ikev2b" from 192.1.2.45:500 (in log_stf_suspend() at ikev2.c:3269) | "westnet-eastnet-ikev2b" #3 complete v2 state STATE_V2_CREATE_R transition with STF_SUSPEND suspended from complete_v2_state_transition:3451 | stop processing: state #3 connection "westnet-eastnet-ikev2b" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2018) | crypto helper 2 resuming | crypto helper 2 starting work-order 3 for state #3 | #1 spent 2.04 milliseconds in ikev2_process_packet() | crypto helper 2 doing build KE and nonce (Child Responder KE and nonce nr); request ID 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 2.12 milliseconds in comm_handle_cb() reading and processing packet | crypto helper 2 finished build KE and nonce (Child Responder KE and nonce nr); request ID 3 time elapsed 0.001848 seconds | (#3) spent 1.84 milliseconds in crypto helper computing work-order 3: Child Responder KE and nonce nr (pcr) | crypto helper 2 sending results from work-order 3 for state #3 to event queue | scheduling resume sending helper answer for #3 | libevent_malloc: new ptr-libevent@0x7efe08002888 size 128 | libevent_realloc: release ptr-libevent@0x55638b24c2c8 | libevent_realloc: new ptr-libevent@0x7efe080027d8 size 128 | crypto helper 2 waiting (nothing to do) | processing resume sending helper answer for #3 | start processing: state #3 connection "westnet-eastnet-ikev2b" from 192.1.2.45:500 (in resume_handler() at server.c:797) | crypto helper 2 replies to request ID 3 | calling continuation function 0x55638afa9b50 | ikev2_child_inIoutR_continue for #3 STATE_V2_CREATE_R | adding DHv2 for child sa work-order 4 for state #3 | state #3 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x7efe04000f48 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x55638b27a2f8 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x55638b27a2f8 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #3 | libevent_malloc: new ptr-libevent@0x7efe04000f48 size 128 | [RE]START processing: state #3 connection "westnet-eastnet-ikev2b" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #3 complete_v2_state_transition() V2_CREATE_R->V2_IPSEC_R 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-ikev2b" from 192.1.2.45:500 (in log_stf_suspend() at ikev2.c:3269) | "westnet-eastnet-ikev2b" #3 complete v2 state STATE_V2_CREATE_R transition with STF_SUSPEND suspended from complete_v2_state_transition:3451 | resume sending helper answer for #3 suppresed complete_v2_state_transition() and stole MD | #3 spent 0.0978 milliseconds in resume sending helper answer | crypto helper 6 resuming | crypto helper 6 starting work-order 4 for state #3 | stop processing: state #3 connection "westnet-eastnet-ikev2b" from 192.1.2.45:500 (in resume_handler() at server.c:833) | crypto helper 6 doing crypto (DHv2 for child sa); request ID 4 | libevent_free: release ptr-libevent@0x7efe08002888 | crypto helper 6 finished crypto (DHv2 for child sa); request ID 4 time elapsed 0.001323 seconds | (#3) spent 1.32 milliseconds in crypto helper computing work-order 4: DHv2 for child sa (dh) | crypto helper 6 sending results from work-order 4 for state #3 to event queue | scheduling resume sending helper answer for #3 | libevent_malloc: new ptr-libevent@0x7efdfc001f78 size 128 | crypto helper 6 waiting (nothing to do) | processing resume sending helper answer for #3 | start processing: state #3 connection "westnet-eastnet-ikev2b" from 192.1.2.45:500 (in resume_handler() at server.c:797) | crypto helper 6 replies to request ID 4 | calling continuation function 0x55638afaa9d0 | ikev2_child_inIoutR_continue_continue for #3 STATE_V2_CREATE_R | **emit ISAKMP Message: | initiator cookie: | 62 4c 8c 71 5d 06 ad 37 | responder cookie: | d1 b8 66 fe a6 e7 2c 71 | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_CREATE_CHILD_SA (0x24) | flags: ISAKMP_FLAG_v2_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 'reply packet' | emitting 8 zero bytes of IV into IKEv2 Encryption Payload | netlink_get_spi: allocated 0xc663fbd 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 Encryption Payload'.'next payload type' to current IKEv2 Security Association Payload (33:ISAKMP_NEXT_v2SA) | next payload chain: saving location 'IKEv2 Security Association Payload'.'next payload type' in 'reply packet' | *****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 66 3f bd | ******emit IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | IKEv2 transform type: TRANS_TYPE_ENCR (0x1) | IKEv2 transform ID: AES_GCM_C (0x14) | last substructure: saving location 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' | *******emit IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 256 (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_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 | ******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 Nonce Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'IKEv2 Security Association 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 76 f8 e0 d9 a1 40 4a ba 93 aa a0 8e 53 8e 35 04 | IKEv2 nonce 1f 5d 29 d0 33 8f 51 fe 5f 9c 30 f0 8f 0d 15 29 | emitting length of IKEv2 Nonce Payload: 36 | ****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 Nonce 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 a0 fe 2b 55 d2 fb d4 45 7a 5e 41 01 21 e0 cb 72 | ikev2 g^x ee df 1a d6 85 73 80 67 9a a1 ee 5d 51 5f e1 5d | ikev2 g^x 64 c5 9d eb 93 f4 df a5 23 0f df 18 b1 b6 50 84 | ikev2 g^x f4 1e c5 98 fe cb 6b d1 e3 2b bb c3 1c 90 36 af | ikev2 g^x 96 16 c5 d4 a5 90 b5 e8 0d 49 7e f2 9c 53 f9 4f | ikev2 g^x f3 1d e0 11 70 3b eb a4 f4 85 6d d4 c2 68 9b 26 | ikev2 g^x a0 30 b7 f2 d5 42 55 47 03 00 d1 6d 34 30 c6 34 | ikev2 g^x cc a3 94 80 2c 04 37 29 69 2c a7 5d e7 65 42 9f | ikev2 g^x 1f 9b 49 36 37 53 7d 49 b6 35 f6 0b eb 1d ed c1 | ikev2 g^x ff d1 4c 43 19 91 a5 b1 dc 10 67 6c b4 8d c4 51 | ikev2 g^x f4 c9 d4 61 05 ef 45 80 d5 24 c6 1d 49 a3 42 8d | ikev2 g^x 24 89 4a cb 4a 74 8f fd 26 e7 e7 21 77 5e e6 52 | ikev2 g^x 38 5e 5a 5e d0 a5 db 12 92 0c e6 b6 62 9f 93 4b | ikev2 g^x ff d2 a9 6d dc d2 19 88 9e 09 68 3d 67 87 9d 44 | ikev2 g^x 06 32 a3 50 7e cd cc 5b e7 86 59 0c f1 7e b3 e2 | ikev2 g^x f1 23 e4 50 42 66 70 5d aa ae 86 ed 8c 57 45 a9 | emitting length of IKEv2 Key Exchange Payload: 264 | ****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 Key Exchange Payload'.'next payload type' to current IKEv2 Traffic Selector - Initiator - Payload (44:ISAKMP_NEXT_v2TSi) | next payload chain: saving location 'IKEv2 Traffic Selector - Initiator - Payload'.'next payload type' in 'reply packet' | *****emit IKEv2 Traffic Selector: | TS type: IKEv2_TS_IPV4_ADDR_RANGE (0x7) | IP Protocol ID: 0 (0x0) | start port: 0 (0x0) | end port: 65535 (0xffff) | emitting 4 raw bytes of ipv4 start into IKEv2 Traffic Selector | ipv4 start c0 00 64 00 | emitting 4 raw bytes of ipv4 end into IKEv2 Traffic Selector | ipv4 end c0 00 64 ff | emitting length of IKEv2 Traffic Selector: 16 | emitting length of IKEv2 Traffic Selector - Initiator - Payload: 24 | ****emit IKEv2 Traffic Selector - Responder - Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | number of TS: 1 (0x1) | next payload chain: setting previous 'IKEv2 Traffic Selector - Initiator - Payload'.'next payload type' to current IKEv2 Traffic Selector - Responder - Payload (45:ISAKMP_NEXT_v2TSr) | next payload chain: saving location 'IKEv2 Traffic Selector - Responder - Payload'.'next payload type' in 'reply packet' | *****emit IKEv2 Traffic Selector: | TS type: IKEv2_TS_IPV4_ADDR_RANGE (0x7) | IP Protocol ID: 0 (0x0) | start port: 0 (0x0) | end port: 65535 (0xffff) | emitting 4 raw bytes of ipv4 start into IKEv2 Traffic Selector | ipv4 start c0 00 c8 00 | emitting 4 raw bytes of ipv4 end into IKEv2 Traffic Selector | ipv4 end c0 00 c8 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=none: .key_size=0 encrypt=aes_gcm_16: .key_size=32 .salt_size=4 keymat_len=36 | install_ipsec_sa() for #3: inbound and outbound | could_route called for westnet-eastnet-ikev2b (kind=CK_PERMANENT) | FOR_EACH_CONNECTION_... in route_owner | conn westnet-eastnet-ikev2b mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ikev2c mark 0/00000000, 0/00000000 | conn westnet-eastnet-ikev2b mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ikev2b mark 0/00000000, 0/00000000 | conn westnet-eastnet-ikev2b mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ikev2a mark 0/00000000, 0/00000000 | route owner of "westnet-eastnet-ikev2b" unrouted: NULL; eroute owner: NULL | looking for alg with encrypt: AES_GCM_16 keylen: 256 integ: NONE | encrypt AES_GCM_16 keylen=256 transid=20, key_size=32, encryptalg=20 | AES_GCM_16 requires 4 salt bytes | st->st_esp.keymat_len=36 is encrypt_keymat_size=36 + integ_keymat_size=0 | setting IPsec SA replay-window to 32 | NIC esp-hw-offload not for connection 'westnet-eastnet-ikev2b' 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.72cb5d08@192.1.2.45 included non-error error | set up outgoing SA, ref=0/0 | looking for alg with encrypt: AES_GCM_16 keylen: 256 integ: NONE | encrypt AES_GCM_16 keylen=256 transid=20, key_size=32, encryptalg=20 | AES_GCM_16 requires 4 salt bytes | st->st_esp.keymat_len=36 is encrypt_keymat_size=36 + integ_keymat_size=0 | setting IPsec SA replay-window to 32 | NIC esp-hw-offload not for connection 'westnet-eastnet-ikev2b' 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.c663fbd@192.1.2.23 included non-error error | priority calculation of connection "westnet-eastnet-ikev2b" is 0xfe7e7 | add inbound eroute 192.0.100.0/24:0 --0-> 192.0.200.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 #3: unrouted | route_and_eroute() for proto 0, and source port 0 dest port 0 | FOR_EACH_CONNECTION_... in route_owner | conn westnet-eastnet-ikev2b mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ikev2c mark 0/00000000, 0/00000000 | conn westnet-eastnet-ikev2b mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ikev2b mark 0/00000000, 0/00000000 | conn westnet-eastnet-ikev2b mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ikev2a mark 0/00000000, 0/00000000 | route owner of "westnet-eastnet-ikev2b" unrouted: NULL; eroute owner: NULL | route_and_eroute with c: westnet-eastnet-ikev2b (next: none) ero:null esr:{(nil)} ro:null rosr:{(nil)} and state: #3 | priority calculation of connection "westnet-eastnet-ikev2b" is 0xfe7e7 | eroute_connection add eroute 192.0.200.0/24:0 --0-> 192.0.100.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-ikev2b' 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.200.0/24' PLUTO_MY_CLIENT_NET='192.0.200.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16392' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@west' PLUTO_PEER_CLIENT='192.0.100.0/24' PLUTO_PEER_CLIENT_NET='192.0.100.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='PSK+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 1045 chars long | cmd( 0):PLUTO_VERB='up-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet-ike: | cmd( 80):v2b' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PL: | cmd( 160):UTO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.200.0/24' PLUTO_MY_CLIENT_NET='192.0.20: | cmd( 240):0.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0: | cmd( 320):' PLUTO_SA_REQID='16392' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_: | cmd( 400):ID='@west' PLUTO_PEER_CLIENT='192.0.100.0/24' PLUTO_PEER_CLIENT_NET='192.0.100.0: | cmd( 480):' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL: | cmd( 560):='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY=': | cmd( 640):PSK+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=0x72cb5d08 SPI_OUT=0xc663fbd ipsec _updown: | cmd(1040): 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-ikev2b' 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.200.0/24' PLUTO_MY_CLIENT_NET='192.0.200.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16392' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@west' PLUTO_PEER_CLIENT='192.0.100.0/24' PLUTO_PEER_CLIENT_NET='192.0.100.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='PSK+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= | popen cmd is 1050 chars long | cmd( 0):PLUTO_VERB='prepare-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastne: | cmd( 80):t-ikev2b' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.2: | cmd( 160):3' PLUTO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.200.0/24' PLUTO_MY_CLIENT_NET='192: | cmd( 240):.0.200.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOC: | cmd( 320):OL='0' PLUTO_SA_REQID='16392' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_: | cmd( 400):PEER_ID='@west' PLUTO_PEER_CLIENT='192.0.100.0/24' PLUTO_PEER_CLIENT_NET='192.0.: | cmd( 480):100.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PRO: | cmd( 560):TOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POL: | cmd( 640):ICY='PSK+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=0x72cb5d08 SPI_OUT=0xc663fbd ipsec _u: | cmd(1040):pdown 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-ikev2b' 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.200.0/24' PLUTO_MY_CLIENT_NET='192.0.200.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16392' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@west' PLUTO_PEER_CLIENT='192.0.100.0/24' PLUTO_PEER_CLIENT_NET='192.0.100.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='PSK+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 1048 chars long | cmd( 0):PLUTO_VERB='route-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet-: | cmd( 80):ikev2b' 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.200.0/24' PLUTO_MY_CLIENT_NET='192.0: | cmd( 240):.200.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL: | cmd( 320):='0' PLUTO_SA_REQID='16392' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PE: | cmd( 400):ER_ID='@west' PLUTO_PEER_CLIENT='192.0.100.0/24' PLUTO_PEER_CLIENT_NET='192.0.10: | cmd( 480):0.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTO: | cmd( 560):COL='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLIC: | cmd( 640):Y='PSK+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_C: | cmd( 720):ONN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEE: | cmd( 800):R_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=0x72cb5d08 SPI_OUT=0xc663fbd ipsec _upd: | cmd(1040):own 2>&1: | route_and_eroute: instance "westnet-eastnet-ikev2b", setting eroute_owner {spd=0x55638b26d438,sr=0x55638b26d438} to #3 (was #0) (newest_ipsec_sa=#0) | #1 spent 2.78 milliseconds in install_ipsec_sa() | ISAKMP_v2_CREATE_CHILD_SA: instance westnet-eastnet-ikev2b[0], setting IKEv2 newest_ipsec_sa to #3 (was #0) (spd.eroute=#3) cloned from #1 | adding 1 bytes of padding (including 1 byte padding-length) | emitting 1 0x00 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: 421 | emitting length of ISAKMP Message: 449 "westnet-eastnet-ikev2b" #3: negotiated new IPsec SA [192.0.200.0-192.0.200.255:0-65535 0] -> [192.0.100.0-192.0.100.255:0-65535 0] | [RE]START processing: state #3 connection "westnet-eastnet-ikev2b" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #3 complete_v2_state_transition() V2_CREATE_R->V2_IPSEC_R with status STF_OK | IKEv2: transition from state STATE_V2_CREATE_R to state STATE_V2_IPSEC_R | child state #3: V2_CREATE_R(established IKE SA) => V2_IPSEC_R(established CHILD SA) | Message ID: updating counters for #3 to 2 after switching state | Message ID: recv #1.#3 request 2; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=1 responder.recv=1->2; child: wip.initiator=-1 wip.responder=2->-1 | Message ID: sent #1.#3 response 2; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=1->2 responder.recv=2; child: wip.initiator=-1 wip.responder=-1 | pstats #3 ikev2.child established "westnet-eastnet-ikev2b" #3: negotiated connection [192.0.200.0-192.0.200.255:0-65535 0] -> [192.0.100.0-192.0.100.255:0-65535 0] | NAT-T: encaps is 'auto' "westnet-eastnet-ikev2b" #3: STATE_V2_IPSEC_R: IPsec SA established tunnel mode {ESP=>0x72cb5d08 <0x0c663fbd xfrm=AES_GCM_16_256-NONE-MODP2048 NATOA=none NATD=none DPD=passive} | sending V2 new request packet to 192.1.2.45:500 (from 192.1.2.23:500) | sending 449 bytes for STATE_V2_CREATE_R through eth1 from 192.1.2.23:500 to 192.1.2.45:500 (using #1) | 62 4c 8c 71 5d 06 ad 37 d1 b8 66 fe a6 e7 2c 71 | 2e 20 24 20 00 00 00 02 00 00 01 c1 21 00 01 a5 | 7a bd e3 79 39 4d 80 49 5c a5 12 08 c6 d5 63 86 | 5c 51 f4 de 95 4c 01 1f 8a 1e 99 2a d8 bd ca 63 | 4a 3d 89 ec 9b a6 55 50 ac 3c f7 ae f7 76 46 0a | da cd 2d 1a b4 8f 04 08 2d d7 f0 3d 14 2d 25 ee | 9f de f8 c8 31 d1 7e 29 62 5b 45 c6 5a f5 8f 8f | 3e f3 c2 7d 09 7d a8 1d 91 67 38 15 37 71 5e 2e | 1d 30 34 8e 8a 13 f8 0a 08 79 90 2d 6a fa 30 21 | f5 10 f1 c5 be 99 03 f1 28 79 b6 72 09 b3 c3 7c | b1 5e 34 9a b6 6e 24 e8 3a b7 b8 a6 33 aa 08 d9 | fc 54 af 76 31 8e 15 a6 84 a7 cf d1 1e 09 96 21 | 08 0b 0f ef 66 80 d9 52 68 19 09 6e ae b4 7d b7 | 79 7b 54 69 f0 be 03 17 04 b9 9f 13 5e 1b 1f df | 5a e2 4e 52 ee b2 56 a6 62 83 1e 16 81 44 90 5f | 09 b0 f8 aa 53 ac 58 8a 73 2f 33 68 9b e4 e3 78 | 90 7d 3b 57 47 0d cc a3 a8 1b 64 d6 a9 77 9c 9e | ac e1 62 71 17 96 b7 a8 44 61 e6 72 82 31 01 88 | 64 e7 3e 4e be 0d 74 8d 74 5f 71 31 75 d5 d2 29 | b9 54 c7 a0 4b f3 0a fc 5a 9a 42 82 3b a2 24 e9 | 5e b6 b0 75 c9 25 f3 6f 5e 59 67 50 d1 1d 45 49 | 1b e8 43 f7 aa 0b 0d 17 2e 85 8f ba 99 9e 11 4e | 17 aa 2e a9 13 81 b0 bb 42 24 92 ea 53 da 66 ac | 97 4a 4a 5e 10 97 a6 fb 0b 5e 4d ea 31 88 61 76 | ed 21 2b 29 09 cb e3 cc 74 a6 da 90 0a b7 ff 25 | d5 00 a6 69 7e 51 e3 2b c3 d6 53 ac 1e 98 df 2c | 02 7d 13 09 92 75 f8 5d 88 d5 56 f2 cf df ff 8a | fa a5 77 68 08 e8 4f cb 73 5b 2d de 94 3c 77 a2 | ee | releasing whack for #3 (sock=fd@-1) | releasing whack and unpending for parent #1 | unpending state #1 connection "westnet-eastnet-ikev2b" | #3 will start re-keying in 28530 seconds with margin of 270 seconds (attempting re-key) | state #3 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x7efe04000f48 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x55638b27a2f8 | event_schedule: new EVENT_SA_REKEY-pe@0x55638b27a2f8 | inserting event EVENT_SA_REKEY, timeout in 28530 seconds for #3 | libevent_malloc: new ptr-libevent@0x7efe08002888 size 128 | #3 spent 4.32 milliseconds in resume sending helper answer | stop processing: state #3 connection "westnet-eastnet-ikev2b" from 192.1.2.45:500 (in resume_handler() at server.c:833) | libevent_free: release ptr-libevent@0x7efdfc001f78 | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00357 milliseconds in signal handler PLUTO_SIGCHLD | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00198 milliseconds in signal handler PLUTO_SIGCHLD | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00365 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00285 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 601 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 62 4c 8c 71 5d 06 ad 37 d1 b8 66 fe a6 e7 2c 71 | 2e 20 24 08 00 00 00 03 00 00 02 59 21 00 02 3d | e3 fb 14 30 e7 f4 27 84 67 df 6b ad 72 54 c0 bd | 55 7b ce a7 32 47 16 f3 65 10 35 10 f9 f5 04 57 | b7 5a 53 2c 42 8a 30 ce 71 28 b8 43 a1 14 12 c6 | 13 f9 65 a3 2e 0d 61 76 4b dc b2 ad 91 1a 6c 91 | 03 ea 03 61 b3 56 f6 21 19 e6 95 d1 7a 50 b8 d2 | e5 85 f8 e7 c8 de 84 92 e9 55 85 00 83 df 9a 81 | a1 93 fa c8 65 5f eb 4c da 42 84 8c 40 83 a6 08 | b8 a4 fc 62 cf 59 8f 67 cd ee e5 b2 2c 89 b3 d8 | f0 c8 54 05 8e 21 65 30 67 36 83 14 65 63 32 e0 | 68 49 d0 2f 94 e4 8c 7e 34 1c da 73 49 98 21 13 | 50 f3 9c de 0c fb d2 4b 92 ba e6 43 76 d1 7e cf | 46 a5 b1 20 56 d2 84 74 20 eb 90 83 b9 62 06 8e | 31 18 b2 84 94 9e 7f 38 6f da e4 37 01 c0 2d 2a | 07 00 f1 7a a7 1f 56 0f d2 b2 7d 7a 4d 1f cf c2 | 73 d2 2f a1 67 8f 31 d7 ac b4 f9 f8 70 7e 4e 7d | 10 59 40 b2 11 3a e4 64 c5 36 fb 77 db 82 1c 8e | fb 27 85 ce 9a ca 6b 74 05 9c aa 80 99 5c f6 9c | cf 12 d0 c4 f3 37 b6 64 4f b7 f4 45 9c 77 54 51 | f5 4e 39 48 65 1b e3 f1 f3 f7 7f 8e 62 b8 31 66 | 41 3c b7 c4 38 72 6e f2 98 f9 69 2d f7 53 b4 a7 | 75 c8 d9 a0 ed cf e9 69 46 0a 46 d1 9c 2e 04 37 | 29 69 06 d6 77 3e 48 97 df ef 50 ff 7d 29 99 a1 | a7 84 d9 99 33 98 0e 25 aa 10 f0 9e a2 e2 49 90 | 77 79 2e e7 39 ed 1b 0f f0 34 7d f2 46 76 d7 fc | 0f b5 03 3e bf a4 33 2a 3e a9 f1 50 fc a7 2f 1d | f8 68 d2 ef 14 66 5d 7d b6 3d 37 e7 b9 47 f9 e7 | dc 31 c2 e7 cd 20 a6 92 45 88 57 cc ca bd ec 1e | 84 0b a7 c5 21 32 26 3f 1b d3 55 fc fa d1 44 1b | 95 b7 fd 37 d9 5a 3d be e9 cc 00 cf fc 51 02 22 | fd 46 ad 94 00 bb 0f 8d 29 e3 ec a1 3a 1d 32 c8 | 45 37 c8 92 d9 e6 67 0e 05 a3 dd 90 ae a4 ac 0f | 21 06 25 8a d3 34 7b db a8 e4 b5 ce 00 f1 8b 8d | c4 53 b8 5d d4 d6 40 f4 d0 4c b9 67 78 87 bc 59 | 53 bd 21 50 a6 06 68 71 85 30 c6 12 58 a7 67 bf | 64 a1 82 9f d4 33 06 5d 07 bd db 99 b2 f9 e9 c0 | 64 99 4f fe 93 9f 94 db bf | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 62 4c 8c 71 5d 06 ad 37 | responder cookie: | d1 b8 66 fe a6 e7 2c 71 | next payload type: ISAKMP_NEXT_v2SK (0x2e) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_CREATE_CHILD_SA (0x24) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 3 (0x3) | length: 601 (0x259) | processing version=2.0 packet with exchange type=ISAKMP_v2_CREATE_CHILD_SA (36) | I am the IKE SA Original Responder receiving an IKEv2 CREATE_CHILD_SA request | State DB: found IKEv2 state #1 in PARENT_R2 (find_v2_ike_sa) | start processing: state #1 connection "westnet-eastnet-ikev2c" 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-ikev2c" 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_v2SA (0x21) | flags: none (0x0) | length: 573 (0x23d) | processing payload: ISAKMP_NEXT_v2SK (len=569) | 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 | #1 ikev2 ISAKMP_v2_CREATE_CHILD_SA decrypt success | Now let's proceed with payload (ISAKMP_NEXT_v2SA) | **parse IKEv2 Security Association Payload: | next payload type: ISAKMP_NEXT_v2Ni (0x28) | flags: none (0x0) | length: 196 (0xc4) | processing payload: ISAKMP_NEXT_v2SA (len=192) | Now let's proceed with payload (ISAKMP_NEXT_v2Ni) | **parse IKEv2 Nonce Payload: | next payload type: ISAKMP_NEXT_v2KE (0x22) | flags: none (0x0) | length: 36 (0x24) | processing payload: ISAKMP_NEXT_v2Ni (len=32) | Now let's proceed with payload (ISAKMP_NEXT_v2KE) | **parse IKEv2 Key Exchange Payload: | next payload type: ISAKMP_NEXT_v2TSi (0x2c) | 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_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) | state #1 forced to match CREATE_CHILD_SA from V2_CREATE_R->V2_IPSEC_R by ignoring from state | selected state microcode Respond to CREATE_CHILD_SA IPsec SA Request | #1 updating local interface from 192.1.2.23:500 to 192.1.2.23:500 using md->iface (in update_ike_endpoints() at state.c:2669) | creating state object #4 at 0x55638b27e878 | State DB: adding IKEv2 state #4 in UNDEFINED | pstats #4 ikev2.child started | duplicating state object #1 "westnet-eastnet-ikev2c" as #4 for IPSEC SA | #4 setting local endpoint to 192.1.2.23:500 from #1.st_localport (in duplicate_state() at state.c:1484) | Message ID: init_child #1.#4; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=2; child: wip.initiator=0->-1 wip.responder=0->-1 | child state #4: UNDEFINED(ignore) => V2_CREATE_R(established IKE SA) | "westnet-eastnet-ikev2c" #1 received Child SA Request CREATE_CHILD_SA from 192.1.2.45:500 Child "westnet-eastnet-ikev2c" #4 in STATE_V2_CREATE_R will process it further | Message ID: switch-from #1 request 3; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=2 wip.initiator=-1 wip.responder=3->-1 | Message ID: switch-to #1.#4 request 3; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=2; child: wip.initiator=-1 wip.responder=-1->3 | forcing ST #1 to CHILD #1.#4 in FSM processor | Now let's proceed with state specific processing | calling processor Respond to CREATE_CHILD_SA IPsec SA Request | using existing local ESP/AH proposals for westnet-eastnet-ikev2c (CREATE_CHILD_SA responder matching remote ESP/AH proposals): 1:ESP:ENCR=AES_GCM_C_256;INTEG=NONE;DH=MODP2048;ESN=DISABLED 2:ESP:ENCR=AES_GCM_C_128;INTEG=NONE;DH=MODP2048;ESN=DISABLED 3:ESP:ENCR=AES_CBC_256;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=MODP2048;ESN=DISABLED 4:ESP:ENCR=AES_CBC_128;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=MODP2048;ESN=DISABLED | Comparing remote proposals against CREATE_CHILD_SA 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+DH+ESN; optional: INTEG | 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+DH+ESN; optional: INTEG | 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+DH+ESN; optional: none | 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+DH+ESN; optional: none | ***parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_NON_LAST (0x2) | length: 40 (0x28) | prop #: 1 (0x1) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (0x4) | # transforms: 3 (0x3) | parsing 4 raw bytes of IKEv2 Proposal Substructure Payload into remote SPI | remote SPI bc ed 5c 72 | Comparing remote proposal 1 containing 3 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_GCM_C (0x14) | *****parse IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 256 (0x100) | remote proposal 1 transform 0 (ENCR=AES_GCM_C_256) matches local proposal 1 type 1 (ENCR) transform 0 | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP2048 (0xe) | remote proposal 1 transform 1 (DH=MODP2048) matches local proposal 1 type 4 (DH) transform 0 | remote proposal 1 transform 1 (DH=MODP2048) matches local proposal 2 type 4 (DH) transform 0 | remote proposal 1 transform 1 (DH=MODP2048) matches local proposal 3 type 4 (DH) transform 0 | remote proposal 1 transform 1 (DH=MODP2048) matches local proposal 4 type 4 (DH) transform 0 | ****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 2 (ESN=DISABLED) matches local proposal 1 type 5 (ESN) transform 0 | remote proposal 1 transform 2 (ESN=DISABLED) matches local proposal 2 type 5 (ESN) transform 0 | remote proposal 1 transform 2 (ESN=DISABLED) matches local proposal 3 type 5 (ESN) transform 0 | remote proposal 1 transform 2 (ESN=DISABLED) matches local proposal 4 type 5 (ESN) transform 0 | remote proposal 1 proposed transforms: ENCR+DH+ESN; matched: ENCR+DH+ESN; unmatched: none | comparing remote proposal 1 containing ENCR+DH+ESN transforms to local proposal 1; required: ENCR+DH+ESN; optional: INTEG; matched: ENCR+DH+ESN | remote proposal 1 matches local proposal 1 | ***parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_NON_LAST (0x2) | length: 40 (0x28) | prop #: 2 (0x2) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (0x4) | # transforms: 3 (0x3) | parsing 4 raw bytes of IKEv2 Proposal Substructure Payload into remote SPI | remote SPI bc ed 5c 72 | Comparing remote proposal 2 containing 3 transforms against local proposal [1..0] 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_GCM_C (0x14) | *****parse IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 128 (0x80) | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP2048 (0xe) | ****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 2 proposed transforms: ENCR+DH+ESN; matched: none; unmatched: ENCR+DH+ESN | remote proposal 2 does not match; unmatched remote transforms: ENCR+DH+ESN | ***parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_NON_LAST (0x2) | length: 56 (0x38) | prop #: 3 (0x3) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (0x4) | # transforms: 5 (0x5) | parsing 4 raw bytes of IKEv2 Proposal Substructure Payload into remote SPI | remote SPI bc ed 5c 72 | Comparing remote proposal 3 containing 5 transforms against local proposal [1..0] 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) | ****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_512_256 (0xe) | ****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) | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP2048 (0xe) | ****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 3 proposed transforms: ENCR+INTEG+DH+ESN; matched: none; unmatched: ENCR+INTEG+DH+ESN | remote proposal 3 does not match; unmatched remote transforms: ENCR+INTEG+DH+ESN | ***parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | length: 56 (0x38) | prop #: 4 (0x4) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (0x4) | # transforms: 5 (0x5) | parsing 4 raw bytes of IKEv2 Proposal Substructure Payload into remote SPI | remote SPI bc ed 5c 72 | Comparing remote proposal 4 containing 5 transforms against local proposal [1..0] 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) | ****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_512_256 (0xe) | ****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) | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP2048 (0xe) | ****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 4 proposed transforms: ENCR+INTEG+DH+ESN; matched: none; unmatched: ENCR+INTEG+DH+ESN | remote proposal 4 does not match; unmatched remote transforms: ENCR+INTEG+DH+ESN "westnet-eastnet-ikev2c" #1: proposal 1:ESP:SPI=bced5c72;ENCR=AES_GCM_C_256;DH=MODP2048;ESN=DISABLED chosen from remote proposals 1:ESP:ENCR=AES_GCM_C_256;DH=MODP2048;ESN=DISABLED[first-match] 2:ESP:ENCR=AES_GCM_C_128;DH=MODP2048;ESN=DISABLED 3:ESP:ENCR=AES_CBC_256;INTEG=HMAC_SHA2_512_256;INTEG=HMAC_SHA2_256_128;DH=MODP2048;ESN=DISABLED 4:ESP:ENCR=AES_CBC_128;INTEG=HMAC_SHA2_512_256;INTEG=HMAC_SHA2_256_128;DH=MODP2048;ESN=DISABLED | CREATE_CHILD_SA responder matching remote ESP/AH proposals ikev2_proposal: 1:ESP:SPI=bced5c72;ENCR=AES_GCM_C_256;DH=MODP2048;ESN=DISABLED | converting proposal to internal trans attrs | updating #4's .st_oakley with preserved PRF, but why update? | Child SA TS Request has child->sa == md->st; so using child 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 65 00 | parsing 4 raw bytes of IKEv2 Traffic Selector into TS high | TS high c0 00 65 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 c9 00 | parsing 4 raw bytes of IKEv2 Traffic Selector into TS high | TS high c0 00 c9 ff | TSr: parsed 1 traffic selectors | looking for best SPD in current connection | evaluating our conn="westnet-eastnet-ikev2c" I=192.0.101.0/24:0/0 R=192.0.201.0/24:0/0 to their: | TSi[0] .net=192.0.101.0-192.0.101.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.101.0/24 == TSi[0]net=192.0.101.0-192.0.101.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.201.0-192.0.201.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.201.0/24 == TSr[0]net=192.0.201.0-192.0.201.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.201.0/24 -> 192.0.101.0/24 is found | investigating connection "westnet-eastnet-ikev2c" as a better match | match_id a=@west | b=@west | results matched | evaluating our conn="westnet-eastnet-ikev2c" I=192.0.101.0/24:0/0 R=192.0.201.0/24:0/0 to their: | TSi[0] .net=192.0.101.0-192.0.101.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.101.0/24 == TSi[0]net=192.0.101.0-192.0.101.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.201.0-192.0.201.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.201.0/24 == TSr[0]net=192.0.201.0-192.0.201.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] | investigating connection "westnet-eastnet-ikev2b" as a better match | match_id a=@west | b=@west | results matched | evaluating our conn="westnet-eastnet-ikev2b" I=192.0.100.0/24:0/0 R=192.0.200.0/24:0/0 to their: | TSi[0] .net=192.0.101.0-192.0.101.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.100.0/24 == TSi[0]net=192.0.101.0-192.0.101.255: NO | investigating connection "westnet-eastnet-ikev2a" as a better match | match_id a=@west | b=@west | results matched | evaluating our conn="westnet-eastnet-ikev2a" I=192.0.1.0/24:0/0 R=192.0.2.0/24:0/0 to their: | TSi[0] .net=192.0.101.0-192.0.101.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.1.0/24 == TSi[0]net=192.0.101.0-192.0.101.255: NO | 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.201.0-192.0.201.255 | printing contents struct traffic_selector | ts_type: IKEv2_TS_IPV4_ADDR_RANGE | ipprotoid: 0 | port range: 0-65535 | ip range: 192.0.101.0-192.0.101.255 | adding Child Responder KE and nonce nr work-order 5 for state #4 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x7efe08002b78 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #4 | libevent_malloc: new ptr-libevent@0x7efdfc001f78 size 128 | #4 spent 0.382 milliseconds in processing: Respond to CREATE_CHILD_SA IPsec SA Request in ikev2_process_state_packet() | suspend processing: state #1 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | start processing: state #4 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #4 complete_v2_state_transition() V2_CREATE_R->V2_IPSEC_R with status STF_SUSPEND | suspending state #4 and saving MD | #4 is busy; has a suspended MD | [RE]START processing: state #4 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in log_stf_suspend() at ikev2.c:3269) | "westnet-eastnet-ikev2c" #4 complete v2 state STATE_V2_CREATE_R transition with STF_SUSPEND suspended from complete_v2_state_transition:3451 | stop processing: state #4 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2018) | #1 spent 0.642 milliseconds in ikev2_process_packet() | stop processing: from 192.1.2.45:500 (in process_md() at demux.c:380) | processing: STOP state #0 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.649 milliseconds in comm_handle_cb() reading and processing packet | crypto helper 3 resuming | crypto helper 3 starting work-order 5 for state #4 | crypto helper 3 doing build KE and nonce (Child Responder KE and nonce nr); request ID 5 | crypto helper 3 finished build KE and nonce (Child Responder KE and nonce nr); request ID 5 time elapsed 0.000576 seconds | (#4) spent 0.58 milliseconds in crypto helper computing work-order 5: Child Responder KE and nonce nr (pcr) | crypto helper 3 sending results from work-order 5 for state #4 to event queue | scheduling resume sending helper answer for #4 | libevent_malloc: new ptr-libevent@0x7efe00002888 size 128 | crypto helper 3 waiting (nothing to do) | processing resume sending helper answer for #4 | start processing: state #4 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in resume_handler() at server.c:797) | crypto helper 3 replies to request ID 5 | calling continuation function 0x55638afa9b50 | ikev2_child_inIoutR_continue for #4 STATE_V2_CREATE_R | adding DHv2 for child sa work-order 6 for state #4 | state #4 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x7efdfc001f78 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x7efe08002b78 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x7efe08002b78 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #4 | libevent_malloc: new ptr-libevent@0x7efdfc001f78 size 128 | [RE]START processing: state #4 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #4 complete_v2_state_transition() V2_CREATE_R->V2_IPSEC_R with status STF_SUSPEND | suspending state #4 and saving MD | #4 is busy; has a suspended MD | crypto helper 5 resuming | crypto helper 5 starting work-order 6 for state #4 | [RE]START processing: state #4 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in log_stf_suspend() at ikev2.c:3269) | "westnet-eastnet-ikev2c" #4 complete v2 state STATE_V2_CREATE_R transition with STF_SUSPEND suspended from complete_v2_state_transition:3451 | crypto helper 5 doing crypto (DHv2 for child sa); request ID 6 | resume sending helper answer for #4 suppresed complete_v2_state_transition() and stole MD | #4 spent 0.0656 milliseconds in resume sending helper answer | stop processing: state #4 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in resume_handler() at server.c:833) | libevent_free: release ptr-libevent@0x7efe00002888 | crypto helper 5 finished crypto (DHv2 for child sa); request ID 6 time elapsed 0.000573 seconds | (#4) spent 0.571 milliseconds in crypto helper computing work-order 6: DHv2 for child sa (dh) | crypto helper 5 sending results from work-order 6 for state #4 to event queue | scheduling resume sending helper answer for #4 | libevent_malloc: new ptr-libevent@0x7efdf4001f78 size 128 | crypto helper 5 waiting (nothing to do) | processing resume sending helper answer for #4 | start processing: state #4 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in resume_handler() at server.c:797) | crypto helper 5 replies to request ID 6 | calling continuation function 0x55638afaa9d0 | ikev2_child_inIoutR_continue_continue for #4 STATE_V2_CREATE_R | **emit ISAKMP Message: | initiator cookie: | 62 4c 8c 71 5d 06 ad 37 | responder cookie: | d1 b8 66 fe a6 e7 2c 71 | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_CREATE_CHILD_SA (0x24) | flags: ISAKMP_FLAG_v2_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 'reply packet' | emitting 8 zero bytes of IV into IKEv2 Encryption Payload | netlink_get_spi: allocated 0x4b0ec3a8 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 Encryption Payload'.'next payload type' to current IKEv2 Security Association Payload (33:ISAKMP_NEXT_v2SA) | next payload chain: saving location 'IKEv2 Security Association Payload'.'next payload type' in 'reply packet' | *****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 4b 0e c3 a8 | ******emit IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | IKEv2 transform type: TRANS_TYPE_ENCR (0x1) | IKEv2 transform ID: AES_GCM_C (0x14) | last substructure: saving location 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' | *******emit IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 256 (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_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 | ******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 Nonce Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'IKEv2 Security Association 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 7a 6f c2 7a c2 e4 bb 20 ca 33 96 03 a6 e0 9a 45 | IKEv2 nonce 06 4a 92 3e 06 44 06 29 c1 27 2d a4 15 ee f1 12 | emitting length of IKEv2 Nonce Payload: 36 | ****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 Nonce 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 4b 24 e5 e0 ac 70 99 6d fc c9 ec 83 9a 51 f6 cb | ikev2 g^x 69 3b 0e 35 2c c2 8e da 8e cd 11 aa 77 89 3c 38 | ikev2 g^x 0b b9 19 15 eb ff 85 9b 1a a2 ff 75 e6 70 39 a9 | ikev2 g^x b4 f9 0e e6 21 6d ac 82 5a 7f 02 d8 4e cb 8d d4 | ikev2 g^x 6a 78 93 de a1 00 b2 f0 f2 11 31 9b 31 79 bd 92 | ikev2 g^x 06 36 97 1c 67 79 f7 d6 65 54 18 39 85 4c 6c 31 | ikev2 g^x f1 bf 28 59 fd c2 3a aa 2f 01 93 40 dc 89 03 46 | ikev2 g^x cd b6 19 ba 40 da c8 0c 7e 6e 71 4f ee 3d 8f 0b | ikev2 g^x f5 b7 cb 5b 2e 22 e3 2d 37 e6 ed 9d 99 8e fd 8d | ikev2 g^x d5 70 75 62 29 52 a8 d3 3b d8 62 05 33 31 b0 48 | ikev2 g^x 5c cc c2 66 d6 ed 5f b4 01 54 bc b5 17 f6 09 a1 | ikev2 g^x 15 75 fd f6 33 5a 5e d7 09 3d 88 d6 13 d5 2a fa | ikev2 g^x 32 d8 e9 4a 25 07 25 4b f8 94 1c ae e7 02 e4 1c | ikev2 g^x 11 39 92 90 29 31 86 6f 26 dd 11 cb 3f 1b 09 98 | ikev2 g^x 8f ab 35 35 6d 5f 73 13 f7 82 60 cf 9f 93 5a 87 | ikev2 g^x 36 fb c0 67 bd 18 14 06 b3 5b ae ff 95 10 91 95 | emitting length of IKEv2 Key Exchange Payload: 264 | ****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 Key Exchange Payload'.'next payload type' to current IKEv2 Traffic Selector - Initiator - Payload (44:ISAKMP_NEXT_v2TSi) | next payload chain: saving location 'IKEv2 Traffic Selector - Initiator - Payload'.'next payload type' in 'reply packet' | *****emit IKEv2 Traffic Selector: | TS type: IKEv2_TS_IPV4_ADDR_RANGE (0x7) | IP Protocol ID: 0 (0x0) | start port: 0 (0x0) | end port: 65535 (0xffff) | emitting 4 raw bytes of ipv4 start into IKEv2 Traffic Selector | ipv4 start c0 00 65 00 | emitting 4 raw bytes of ipv4 end into IKEv2 Traffic Selector | ipv4 end c0 00 65 ff | emitting length of IKEv2 Traffic Selector: 16 | emitting length of IKEv2 Traffic Selector - Initiator - Payload: 24 | ****emit IKEv2 Traffic Selector - Responder - Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | number of TS: 1 (0x1) | next payload chain: setting previous 'IKEv2 Traffic Selector - Initiator - Payload'.'next payload type' to current IKEv2 Traffic Selector - Responder - Payload (45:ISAKMP_NEXT_v2TSr) | next payload chain: saving location 'IKEv2 Traffic Selector - Responder - Payload'.'next payload type' in 'reply packet' | *****emit IKEv2 Traffic Selector: | TS type: IKEv2_TS_IPV4_ADDR_RANGE (0x7) | IP Protocol ID: 0 (0x0) | start port: 0 (0x0) | end port: 65535 (0xffff) | emitting 4 raw bytes of ipv4 start into IKEv2 Traffic Selector | ipv4 start c0 00 c9 00 | emitting 4 raw bytes of ipv4 end into IKEv2 Traffic Selector | ipv4 end c0 00 c9 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=none: .key_size=0 encrypt=aes_gcm_16: .key_size=32 .salt_size=4 keymat_len=36 | install_ipsec_sa() for #4: inbound and outbound | could_route called for westnet-eastnet-ikev2c (kind=CK_PERMANENT) | FOR_EACH_CONNECTION_... in route_owner | conn westnet-eastnet-ikev2c mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ikev2c mark 0/00000000, 0/00000000 | conn westnet-eastnet-ikev2c mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ikev2b mark 0/00000000, 0/00000000 | conn westnet-eastnet-ikev2c mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ikev2a mark 0/00000000, 0/00000000 | route owner of "westnet-eastnet-ikev2c" unrouted: NULL; eroute owner: NULL | looking for alg with encrypt: AES_GCM_16 keylen: 256 integ: NONE | encrypt AES_GCM_16 keylen=256 transid=20, key_size=32, encryptalg=20 | AES_GCM_16 requires 4 salt bytes | st->st_esp.keymat_len=36 is encrypt_keymat_size=36 + integ_keymat_size=0 | setting IPsec SA replay-window to 32 | NIC esp-hw-offload not for connection 'westnet-eastnet-ikev2c' 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.bced5c72@192.1.2.45 included non-error error | set up outgoing SA, ref=0/0 | looking for alg with encrypt: AES_GCM_16 keylen: 256 integ: NONE | encrypt AES_GCM_16 keylen=256 transid=20, key_size=32, encryptalg=20 | AES_GCM_16 requires 4 salt bytes | st->st_esp.keymat_len=36 is encrypt_keymat_size=36 + integ_keymat_size=0 | setting IPsec SA replay-window to 32 | NIC esp-hw-offload not for connection 'westnet-eastnet-ikev2c' 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.4b0ec3a8@192.1.2.23 included non-error error | priority calculation of connection "westnet-eastnet-ikev2c" is 0xfe7e7 | add inbound eroute 192.0.101.0/24:0 --0-> 192.0.201.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: unrouted | route_and_eroute() for proto 0, and source port 0 dest port 0 | FOR_EACH_CONNECTION_... in route_owner | conn westnet-eastnet-ikev2c mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ikev2c mark 0/00000000, 0/00000000 | conn westnet-eastnet-ikev2c mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ikev2b mark 0/00000000, 0/00000000 | conn westnet-eastnet-ikev2c mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ikev2a mark 0/00000000, 0/00000000 | route owner of "westnet-eastnet-ikev2c" unrouted: NULL; eroute owner: NULL | route_and_eroute with c: westnet-eastnet-ikev2c (next: none) ero:null esr:{(nil)} ro:null rosr:{(nil)} and state: #4 | priority calculation of connection "westnet-eastnet-ikev2c" is 0xfe7e7 | eroute_connection add eroute 192.0.201.0/24:0 --0-> 192.0.101.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-ikev2c' 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.201.0/24' PLUTO_MY_CLIENT_NET='192.0.201.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16396' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@west' PLUTO_PEER_CLIENT='192.0.101.0/24' PLUTO_PEER_CLIENT_NET='192.0.101.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='PSK+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 1046 chars long | cmd( 0):PLUTO_VERB='up-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet-ike: | cmd( 80):v2c' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PL: | cmd( 160):UTO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.201.0/24' PLUTO_MY_CLIENT_NET='192.0.20: | cmd( 240):1.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0: | cmd( 320):' PLUTO_SA_REQID='16396' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_: | cmd( 400):ID='@west' PLUTO_PEER_CLIENT='192.0.101.0/24' PLUTO_PEER_CLIENT_NET='192.0.101.0: | cmd( 480):' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL: | cmd( 560):='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY=': | cmd( 640):PSK+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=0xbced5c72 SPI_OUT=0x4b0ec3a8 ipsec _updow: | cmd(1040):n 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-ikev2c' 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.201.0/24' PLUTO_MY_CLIENT_NET='192.0.201.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16396' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@west' PLUTO_PEER_CLIENT='192.0.101.0/24' PLUTO_PEER_CLIENT_NET='192.0.101.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='PSK+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= | popen cmd is 1051 chars long | cmd( 0):PLUTO_VERB='prepare-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastne: | cmd( 80):t-ikev2c' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.2: | cmd( 160):3' PLUTO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.201.0/24' PLUTO_MY_CLIENT_NET='192: | cmd( 240):.0.201.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOC: | cmd( 320):OL='0' PLUTO_SA_REQID='16396' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_: | cmd( 400):PEER_ID='@west' PLUTO_PEER_CLIENT='192.0.101.0/24' PLUTO_PEER_CLIENT_NET='192.0.: | cmd( 480):101.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PRO: | cmd( 560):TOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POL: | cmd( 640):ICY='PSK+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=0xbced5c72 SPI_OUT=0x4b0ec3a8 ipsec _: | cmd(1040):updown 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-ikev2c' 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.201.0/24' PLUTO_MY_CLIENT_NET='192.0.201.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16396' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@west' PLUTO_PEER_CLIENT='192.0.101.0/24' PLUTO_PEER_CLIENT_NET='192.0.101.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='PSK+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' VTI_ROUTING='no' VTI_SHARED='no' | popen cmd is 1049 chars long | cmd( 0):PLUTO_VERB='route-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet-: | cmd( 80):ikev2c' 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.201.0/24' PLUTO_MY_CLIENT_NET='192.0: | cmd( 240):.201.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL: | cmd( 320):='0' PLUTO_SA_REQID='16396' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PE: | cmd( 400):ER_ID='@west' PLUTO_PEER_CLIENT='192.0.101.0/24' PLUTO_PEER_CLIENT_NET='192.0.10: | cmd( 480):1.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTO: | cmd( 560):COL='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLIC: | cmd( 640):Y='PSK+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_C: | cmd( 720):ONN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEE: | cmd( 800):R_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=0xbced5c72 SPI_OUT=0x4b0ec3a8 ipsec _up: | cmd(1040):down 2>&1: | route_and_eroute: instance "westnet-eastnet-ikev2c", setting eroute_owner {spd=0x55638b26f448,sr=0x55638b26f448} to #4 (was #0) (newest_ipsec_sa=#0) | #1 spent 1.47 milliseconds in install_ipsec_sa() | ISAKMP_v2_CREATE_CHILD_SA: instance westnet-eastnet-ikev2c[0], setting IKEv2 newest_ipsec_sa to #4 (was #0) (spd.eroute=#4) cloned from #1 | adding 1 bytes of padding (including 1 byte padding-length) | emitting 1 0x00 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: 421 | emitting length of ISAKMP Message: 449 "westnet-eastnet-ikev2c" #4: negotiated new IPsec SA [192.0.201.0-192.0.201.255:0-65535 0] -> [192.0.101.0-192.0.101.255:0-65535 0] | [RE]START processing: state #4 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #4 complete_v2_state_transition() V2_CREATE_R->V2_IPSEC_R with status STF_OK | IKEv2: transition from state STATE_V2_CREATE_R to state STATE_V2_IPSEC_R | child state #4: V2_CREATE_R(established IKE SA) => V2_IPSEC_R(established CHILD SA) | Message ID: updating counters for #4 to 3 after switching state | Message ID: recv #1.#4 request 3; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=2->3; child: wip.initiator=-1 wip.responder=3->-1 | Message ID: sent #1.#4 response 3; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=2->3 responder.recv=3; child: wip.initiator=-1 wip.responder=-1 | pstats #4 ikev2.child established "westnet-eastnet-ikev2c" #4: negotiated connection [192.0.201.0-192.0.201.255:0-65535 0] -> [192.0.101.0-192.0.101.255:0-65535 0] | NAT-T: encaps is 'auto' "westnet-eastnet-ikev2c" #4: STATE_V2_IPSEC_R: IPsec SA established tunnel mode {ESP=>0xbced5c72 <0x4b0ec3a8 xfrm=AES_GCM_16_256-NONE-MODP2048 NATOA=none NATD=none DPD=passive} | sending V2 new request packet to 192.1.2.45:500 (from 192.1.2.23:500) | sending 449 bytes for STATE_V2_CREATE_R through eth1 from 192.1.2.23:500 to 192.1.2.45:500 (using #1) | 62 4c 8c 71 5d 06 ad 37 d1 b8 66 fe a6 e7 2c 71 | 2e 20 24 20 00 00 00 03 00 00 01 c1 21 00 01 a5 | d0 6f 2e 35 72 61 97 1a bb 15 69 86 9a 38 8a 71 | 8a 0c 0b ea 71 a3 47 c5 ed 80 2d 53 19 8b 3c 21 | 55 fe e6 11 92 58 f1 b9 95 04 f7 cb 88 0b 4e 5a | 01 c5 0c 4a 04 08 5a 9c 5e 47 36 15 af 35 eb 24 | a1 f5 c5 15 70 59 c7 ac 70 73 b4 9a 6a af 29 27 | 4a f6 58 ee 67 93 8c 47 35 b4 5a e1 d1 d3 20 40 | a7 87 ad 3a da 87 c1 fc 76 2b f5 15 fa 0b 0c cf | 31 85 98 3a 7a c8 cc 50 d5 d2 02 67 9e f9 2a 23 | 43 23 f8 92 db 62 f3 27 84 b3 08 a7 d5 21 fb 66 | f4 44 f8 40 8b 87 bb 81 88 55 38 a7 87 fc 1a 52 | 30 48 a3 ea 3d 8b 03 dc 0b 05 0c 85 31 dd 4a 16 | a5 41 da 71 c0 bc ce 5c 1e d2 d5 03 84 4a 65 a9 | 6c f9 40 de 59 61 80 f0 9f 80 9b 7d e8 88 4d ac | 86 54 bb 00 18 2b c6 7c 5f bc c4 6a 0a ac bf 42 | 9c 8f 0c 73 e0 1f 7e ff 97 50 a9 ec 3c 3c 1a 31 | f8 84 2c cc c6 89 cc ef c1 3f 08 2a d5 f8 74 f1 | ce 24 0e 83 1e 92 bb 67 b3 10 2a 34 09 cb 08 78 | 22 d3 c8 1f d7 d8 84 72 c6 49 59 0a 8a 62 18 e9 | 77 aa 11 3a b7 6e ff 10 26 2f 0f 68 36 83 12 69 | 2b 7c bd f5 52 1d 84 65 61 a7 6f fc bc 1c e8 51 | 9e 7c 85 af bd b1 9e 26 a0 9e b4 90 51 82 ff 8e | ea 17 fb 74 57 45 74 08 c1 f6 e4 01 2b 29 68 b6 | 52 06 8c 50 c0 ea 74 d8 9a e1 12 11 a1 f0 fe 20 | 84 3e 50 d3 73 2c 4b 93 5c 2d 5b 5a c3 3e 77 d2 | 9d 22 13 76 71 17 05 6d 44 7f 82 19 d5 3c fa 7e | 59 e5 c2 7b 1d 9d e5 be d2 a1 47 3a 2c fe 87 86 | fa | releasing whack for #4 (sock=fd@-1) | releasing whack and unpending for parent #1 | unpending state #1 connection "westnet-eastnet-ikev2c" | #4 will start re-keying in 28530 seconds with margin of 270 seconds (attempting re-key) | state #4 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x7efdfc001f78 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x7efe08002b78 | event_schedule: new EVENT_SA_REKEY-pe@0x7efe08002b78 | inserting event EVENT_SA_REKEY, timeout in 28530 seconds for #4 | libevent_malloc: new ptr-libevent@0x7efe00002888 size 128 | #4 spent 2.17 milliseconds in resume sending helper answer | stop processing: state #4 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in resume_handler() at server.c:833) | libevent_free: release ptr-libevent@0x7efdf4001f78 | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00343 milliseconds in signal handler PLUTO_SIGCHLD | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00189 milliseconds in signal handler PLUTO_SIGCHLD | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00189 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.0107 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 57 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 62 4c 8c 71 5d 06 ad 37 d1 b8 66 fe a6 e7 2c 71 | 2e 20 25 08 00 00 00 04 00 00 00 39 00 00 00 1d | 98 6b 80 ff 4a e4 f6 8a 0d fb ff cc e9 57 93 a8 | 25 6e d2 ff 8c 2b 7b f0 22 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 62 4c 8c 71 5d 06 ad 37 | responder cookie: | d1 b8 66 fe a6 e7 2c 71 | 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: 4 (0x4) | length: 57 (0x39) | 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-ikev2c" 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-ikev2c" from 192.1.2.45:500 (in ike_process_packet() at ikev2.c:2064) | #1 st.st_msgid_lastrecv 3 md.hdr.isa_msgid 00000004 | Message ID: #1 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=3 responder.recv=3 | unpacking clear payload | Now let's proceed with payload (ISAKMP_NEXT_v2SK) | ***parse IKEv2 Encryption Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | length: 29 (0x1d) | processing payload: ISAKMP_NEXT_v2SK (len=25) | Message ID: start-responder #1 request 4; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=3 responder.recv=3 wip.initiator=-1 wip.responder=-1->4 | #1 in state PARENT_R2: received v2I2, PARENT SA established | #1 ikev2 ISAKMP_v2_INFORMATIONAL decrypt success | 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 | MOBIKE request: not updating IPsec SA | Received an INFORMATIONAL response, updating st_last_liveness, no pending_liveness | **emit ISAKMP Message: | initiator cookie: | 62 4c 8c 71 5d 06 ad 37 | responder cookie: | d1 b8 66 fe a6 e7 2c 71 | 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: 4 (0x4) | 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 8 zero bytes of IV into IKEv2 Encryption Payload | adding 1 bytes of padding (including 1 byte padding-length) | emitting 1 0x00 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: 29 | emitting length of ISAKMP Message: 57 | sending 57 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) | 62 4c 8c 71 5d 06 ad 37 d1 b8 66 fe a6 e7 2c 71 | 2e 20 25 20 00 00 00 04 00 00 00 39 00 00 00 1d | 16 4e f0 5e c5 b1 59 c9 71 f1 91 7d 00 5e 3a ec | 76 8b 99 ce 78 4d 39 a4 8a | 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=3 responder.recv=3 wip.initiator=-1 wip.responder=4 | Message ID: sent #1 response 4; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=3->4 responder.recv=3 wip.initiator=-1 wip.responder=4 | #1 spent 0.408 milliseconds in processing: R2: process Informational Request in ikev2_process_state_packet() | [RE]START processing: state #1 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #1 complete_v2_state_transition() PARENT_R2->PARENT_R2 with status STF_OK | Message ID: updating counters for #1 to 4 after switching state | Message ID: recv #1 request 4; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=4 responder.recv=3->4 wip.initiator=-1 wip.responder=4->-1 | Message ID: #1 skipping update_send as nothing to send; initiator.sent=-1 initiator.recv=-1 responder.sent=4 responder.recv=4 wip.initiator=-1 wip.responder=-1 | STATE_PARENT_R2: received v2I2, PARENT SA established | stop processing: state #1 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2018) | #1 spent 0.988 milliseconds in ikev2_process_packet() | stop processing: from 192.1.2.45:500 (in process_md() at demux.c:380) | processing: STOP state #0 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 1.05 milliseconds in comm_handle_cb() reading and processing packet | spent 0.0032 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 57 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 62 4c 8c 71 5d 06 ad 37 d1 b8 66 fe a6 e7 2c 71 | 2e 20 25 08 00 00 00 05 00 00 00 39 00 00 00 1d | 80 ef a7 8a f5 bb 08 0c 2f 99 1a 46 63 ac 23 28 | 20 11 23 38 0a 57 48 8b 2f | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 62 4c 8c 71 5d 06 ad 37 | responder cookie: | d1 b8 66 fe a6 e7 2c 71 | 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: 5 (0x5) | length: 57 (0x39) | 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-ikev2c" 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-ikev2c" from 192.1.2.45:500 (in ike_process_packet() at ikev2.c:2064) | #1 st.st_msgid_lastrecv 4 md.hdr.isa_msgid 00000005 | Message ID: #1 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=4 responder.recv=4 | unpacking clear payload | Now let's proceed with payload (ISAKMP_NEXT_v2SK) | ***parse IKEv2 Encryption Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | length: 29 (0x1d) | processing payload: ISAKMP_NEXT_v2SK (len=25) | Message ID: start-responder #1 request 5; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=4 responder.recv=4 wip.initiator=-1 wip.responder=-1->5 | #1 in state PARENT_R2: received v2I2, PARENT SA established | #1 ikev2 ISAKMP_v2_INFORMATIONAL decrypt success | 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 | MOBIKE request: not updating IPsec SA | Received an INFORMATIONAL response, updating st_last_liveness, no pending_liveness | **emit ISAKMP Message: | initiator cookie: | 62 4c 8c 71 5d 06 ad 37 | responder cookie: | d1 b8 66 fe a6 e7 2c 71 | 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: 5 (0x5) | 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 8 zero bytes of IV into IKEv2 Encryption Payload | adding 1 bytes of padding (including 1 byte padding-length) | emitting 1 0x00 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: 29 | emitting length of ISAKMP Message: 57 | sending 57 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) | 62 4c 8c 71 5d 06 ad 37 d1 b8 66 fe a6 e7 2c 71 | 2e 20 25 20 00 00 00 05 00 00 00 39 00 00 00 1d | c9 cd 26 1b b4 e5 54 c1 b3 cc cd fc 49 57 8f 22 | 5d 70 21 78 08 cf 2e 00 2d | 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=4 responder.recv=4 wip.initiator=-1 wip.responder=5 | Message ID: sent #1 response 5; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=4->5 responder.recv=4 wip.initiator=-1 wip.responder=5 | #1 spent 0.0718 milliseconds in processing: R2: process Informational Request in ikev2_process_state_packet() | [RE]START processing: state #1 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #1 complete_v2_state_transition() PARENT_R2->PARENT_R2 with status STF_OK | Message ID: updating counters for #1 to 5 after switching state | Message ID: recv #1 request 5; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=5 responder.recv=4->5 wip.initiator=-1 wip.responder=5->-1 | Message ID: #1 skipping update_send as nothing to send; initiator.sent=-1 initiator.recv=-1 responder.sent=5 responder.recv=5 wip.initiator=-1 wip.responder=-1 | STATE_PARENT_R2: received v2I2, PARENT SA established | stop processing: state #1 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2018) | #1 spent 0.178 milliseconds in ikev2_process_packet() | stop processing: from 192.1.2.45:500 (in process_md() at demux.c:380) | processing: STOP state #0 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.19 milliseconds in comm_handle_cb() reading and processing packet | processing global timer EVENT_SHUNT_SCAN | expiring aged bare shunts from shunt table | spent 0.0045 milliseconds in global timer EVENT_SHUNT_SCAN | spent 0.0106 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 57 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 62 4c 8c 71 5d 06 ad 37 d1 b8 66 fe a6 e7 2c 71 | 2e 20 25 08 00 00 00 06 00 00 00 39 00 00 00 1d | 44 87 6a 0c c5 58 66 4f c8 52 56 6a 44 1c 38 c3 | c7 ce 28 c6 b1 ae 72 3f 88 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 62 4c 8c 71 5d 06 ad 37 | responder cookie: | d1 b8 66 fe a6 e7 2c 71 | 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: 6 (0x6) | length: 57 (0x39) | 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-ikev2c" 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-ikev2c" from 192.1.2.45:500 (in ike_process_packet() at ikev2.c:2064) | #1 st.st_msgid_lastrecv 5 md.hdr.isa_msgid 00000006 | Message ID: #1 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=5 responder.recv=5 | unpacking clear payload | Now let's proceed with payload (ISAKMP_NEXT_v2SK) | ***parse IKEv2 Encryption Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | length: 29 (0x1d) | processing payload: ISAKMP_NEXT_v2SK (len=25) | Message ID: start-responder #1 request 6; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=5 responder.recv=5 wip.initiator=-1 wip.responder=-1->6 | #1 in state PARENT_R2: received v2I2, PARENT SA established | #1 ikev2 ISAKMP_v2_INFORMATIONAL decrypt success | 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 | MOBIKE request: not updating IPsec SA | Received an INFORMATIONAL response, updating st_last_liveness, no pending_liveness | **emit ISAKMP Message: | initiator cookie: | 62 4c 8c 71 5d 06 ad 37 | responder cookie: | d1 b8 66 fe a6 e7 2c 71 | 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: 6 (0x6) | 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 8 zero bytes of IV into IKEv2 Encryption Payload | adding 1 bytes of padding (including 1 byte padding-length) | emitting 1 0x00 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: 29 | emitting length of ISAKMP Message: 57 | sending 57 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) | 62 4c 8c 71 5d 06 ad 37 d1 b8 66 fe a6 e7 2c 71 | 2e 20 25 20 00 00 00 06 00 00 00 39 00 00 00 1d | c6 f6 3b c9 b3 82 7b 10 b1 3b 6e 22 0e b5 8a f0 | 0b 3f c2 1c cf 77 4b e8 8f | 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=5 responder.recv=5 wip.initiator=-1 wip.responder=6 | Message ID: sent #1 response 6; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=5->6 responder.recv=5 wip.initiator=-1 wip.responder=6 | #1 spent 0.305 milliseconds in processing: R2: process Informational Request in ikev2_process_state_packet() | [RE]START processing: state #1 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #1 complete_v2_state_transition() PARENT_R2->PARENT_R2 with status STF_OK | Message ID: updating counters for #1 to 6 after switching state | Message ID: recv #1 request 6; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=6 responder.recv=5->6 wip.initiator=-1 wip.responder=6->-1 | Message ID: #1 skipping update_send as nothing to send; initiator.sent=-1 initiator.recv=-1 responder.sent=6 responder.recv=6 wip.initiator=-1 wip.responder=-1 | STATE_PARENT_R2: received v2I2, PARENT SA established | stop processing: state #1 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2018) | #1 spent 0.771 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.808 milliseconds in comm_handle_cb() reading and processing packet | spent 0.00367 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 57 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 62 4c 8c 71 5d 06 ad 37 d1 b8 66 fe a6 e7 2c 71 | 2e 20 25 08 00 00 00 07 00 00 00 39 00 00 00 1d | aa ed 7d f3 43 57 39 e9 56 65 d8 20 c1 18 1f 8d | 05 66 f2 db 50 4f 54 4e 8b | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 62 4c 8c 71 5d 06 ad 37 | responder cookie: | d1 b8 66 fe a6 e7 2c 71 | 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: 7 (0x7) | length: 57 (0x39) | 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-ikev2c" 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-ikev2c" from 192.1.2.45:500 (in ike_process_packet() at ikev2.c:2064) | #1 st.st_msgid_lastrecv 6 md.hdr.isa_msgid 00000007 | Message ID: #1 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=6 responder.recv=6 | unpacking clear payload | Now let's proceed with payload (ISAKMP_NEXT_v2SK) | ***parse IKEv2 Encryption Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | length: 29 (0x1d) | processing payload: ISAKMP_NEXT_v2SK (len=25) | Message ID: start-responder #1 request 7; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=6 responder.recv=6 wip.initiator=-1 wip.responder=-1->7 | #1 in state PARENT_R2: received v2I2, PARENT SA established | #1 ikev2 ISAKMP_v2_INFORMATIONAL decrypt success | 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 | MOBIKE request: not updating IPsec SA | Received an INFORMATIONAL response, updating st_last_liveness, no pending_liveness | **emit ISAKMP Message: | initiator cookie: | 62 4c 8c 71 5d 06 ad 37 | responder cookie: | d1 b8 66 fe a6 e7 2c 71 | 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: 7 (0x7) | 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 8 zero bytes of IV into IKEv2 Encryption Payload | adding 1 bytes of padding (including 1 byte padding-length) | emitting 1 0x00 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: 29 | emitting length of ISAKMP Message: 57 | sending 57 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) | 62 4c 8c 71 5d 06 ad 37 d1 b8 66 fe a6 e7 2c 71 | 2e 20 25 20 00 00 00 07 00 00 00 39 00 00 00 1d | 6c fc fa 82 1f ec 21 b1 e0 7c 8f b8 e0 7d 68 81 | b4 bc ec f2 58 36 07 05 c5 | 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=6 responder.recv=6 wip.initiator=-1 wip.responder=7 | Message ID: sent #1 response 7; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=6->7 responder.recv=6 wip.initiator=-1 wip.responder=7 | #1 spent 0.0918 milliseconds in processing: R2: process Informational Request in ikev2_process_state_packet() | [RE]START processing: state #1 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #1 complete_v2_state_transition() PARENT_R2->PARENT_R2 with status STF_OK | Message ID: updating counters for #1 to 7 after switching state | Message ID: recv #1 request 7; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=7 responder.recv=6->7 wip.initiator=-1 wip.responder=7->-1 | Message ID: #1 skipping update_send as nothing to send; initiator.sent=-1 initiator.recv=-1 responder.sent=7 responder.recv=7 wip.initiator=-1 wip.responder=-1 | STATE_PARENT_R2: received v2I2, PARENT SA established | stop processing: state #1 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2018) | #1 spent 0.214 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.223 milliseconds in comm_handle_cb() reading and processing packet | spent 0.00276 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 661 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 62 4c 8c 71 5d 06 ad 37 d1 b8 66 fe a6 e7 2c 71 | 2e 20 24 08 00 00 00 08 00 00 02 95 21 00 02 79 | c3 60 e2 d4 e6 b4 77 fa 9b 48 4d 05 67 f2 78 0e | 1b 5d 27 12 a7 e4 83 8b 1d 10 29 8a 26 1b 81 19 | 7e a8 f9 10 d3 37 6c 3e 3f de e2 0e de 4a 6e 19 | b1 af c7 84 f8 51 5a b3 de 6a fa e0 53 59 25 f7 | ca 2e b3 35 ef e6 f4 f9 9d 38 83 c2 d9 bb 4c 40 | b5 87 47 bf 64 73 be 01 08 8f d2 b9 f8 e5 1b 31 | 98 8e db d2 90 15 b2 40 19 4c 8c 6a ad 46 3e 2f | a5 8d 17 21 d4 9d 66 fe 5c 5d b0 d3 8f 1c 46 9b | 23 0d c6 ef 2b 9f f3 f8 c5 73 78 be 6f a9 8a e6 | 28 51 44 72 8f 13 b2 1f f4 a7 3c 4c 69 ac 52 b4 | 5c 3d e9 e2 5c a5 6d d8 34 48 c4 cd f3 cf b7 84 | 24 78 76 3b be c4 2d e9 23 50 de 16 3c 17 10 21 | 0a 43 7b aa 15 db 8e 5a bb d5 df 0a 7a fc f3 48 | 7b 00 d4 2b 9c b4 2a 35 67 d6 ce b2 1d 01 0d cc | 51 73 c8 24 5f f9 8b 82 f6 6d ca 37 27 d8 5a bf | 50 a5 4a 2b 0b b8 2c 11 e4 b5 f7 d1 97 33 a5 e5 | e8 79 ea 53 aa 26 66 1f d2 39 b5 74 bf c3 20 2a | 59 d4 41 12 a6 8f 23 cd 87 21 d7 95 45 fb 2e f1 | 44 96 b5 23 3b 59 88 e7 e6 93 8e 4a 87 25 35 b1 | 44 9e d4 ea a2 15 1d 52 d2 b8 17 a5 ab ba 10 b6 | ec 7f 05 57 b5 71 99 c0 80 85 92 53 f9 2b e9 66 | e9 94 4c c2 a2 78 6d 85 8f a0 8f b7 91 f9 9c 9d | 01 3f 9a 78 8f 07 d9 47 e0 8c 98 01 59 44 16 b7 | cb be 15 cb 7f 24 a6 0f 7c 65 66 3a a2 29 55 5c | 6d 58 db 83 22 9d 0b 40 a0 ef 96 a9 7c bd d7 c3 | 9f af 95 19 dc 05 db 0b 4d b2 41 a6 84 fc 6e 4b | da b8 51 f6 ec 75 aa 45 59 29 d4 14 ab c9 f4 42 | f4 79 31 67 26 b0 1e 2a 7d d2 20 47 3e 85 06 ef | e5 dd 99 74 6c 8a f0 80 45 5b 55 9d b9 33 80 99 | 1d 59 32 42 41 5e dd 96 d0 b2 17 b5 8d c5 01 c5 | 6e 5b a2 04 2d 44 56 49 77 41 38 cf 07 e3 c9 74 | 47 07 2f 3b d2 f4 df bb 94 d8 d3 5f 75 88 00 5e | 08 a0 7c 0a 85 52 6b 3a 65 88 41 da e4 9b c5 19 | 41 fe 29 6e 8e 04 06 81 47 48 53 f8 f1 f5 f4 7e | 8f 3e 3c 69 4a f0 05 d8 5e 78 21 8d 37 fb ac 54 | 9f 9b c1 ef 27 ff 17 72 44 2e 56 af e9 dc c8 e1 | 4a ee 07 8d 15 54 be 54 3c 20 88 e6 3d 90 1f 7d | cf 93 73 87 ab 2f 8f 6c 60 70 05 13 d1 70 e9 88 | 38 4e f6 d7 c4 43 4f fb c9 38 f8 8f c2 e1 d5 76 | aa eb 3c 06 24 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 62 4c 8c 71 5d 06 ad 37 | responder cookie: | d1 b8 66 fe a6 e7 2c 71 | next payload type: ISAKMP_NEXT_v2SK (0x2e) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_CREATE_CHILD_SA (0x24) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 8 (0x8) | length: 661 (0x295) | processing version=2.0 packet with exchange type=ISAKMP_v2_CREATE_CHILD_SA (36) | I am the IKE SA Original Responder receiving an IKEv2 CREATE_CHILD_SA request | State DB: found IKEv2 state #1 in PARENT_R2 (find_v2_ike_sa) | start processing: state #1 connection "westnet-eastnet-ikev2c" 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-ikev2c" from 192.1.2.45:500 (in ike_process_packet() at ikev2.c:2064) | #1 st.st_msgid_lastrecv 7 md.hdr.isa_msgid 00000008 | Message ID: #1 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=7 responder.recv=7 | unpacking clear payload | Now let's proceed with payload (ISAKMP_NEXT_v2SK) | ***parse IKEv2 Encryption Payload: | next payload type: ISAKMP_NEXT_v2SA (0x21) | flags: none (0x0) | length: 633 (0x279) | processing payload: ISAKMP_NEXT_v2SK (len=629) | Message ID: start-responder #1 request 8; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=7 responder.recv=7 wip.initiator=-1 wip.responder=-1->8 | #1 in state PARENT_R2: received v2I2, PARENT SA established | #1 ikev2 ISAKMP_v2_CREATE_CHILD_SA decrypt success | Now let's proceed with payload (ISAKMP_NEXT_v2SA) | **parse IKEv2 Security Association Payload: | next payload type: ISAKMP_NEXT_v2Ni (0x28) | flags: none (0x0) | length: 196 (0xc4) | processing payload: ISAKMP_NEXT_v2SA (len=192) | Now let's proceed with payload (ISAKMP_NEXT_v2Ni) | **parse IKEv2 Nonce Payload: | next payload type: ISAKMP_NEXT_v2KE (0x22) | flags: none (0x0) | length: 36 (0x24) | processing payload: ISAKMP_NEXT_v2Ni (len=32) | Now let's proceed with payload (ISAKMP_NEXT_v2KE) | **parse IKEv2 Key Exchange Payload: | next payload type: ISAKMP_NEXT_v2N (0x29) | 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_v2N) | **parse IKEv2 Notify Payload: | next payload type: ISAKMP_NEXT_v2TSi (0x2c) | flags: none (0x0) | length: 12 (0xc) | Protocol ID: PROTO_v2_ESP (0x3) | SPI size: 4 (0x4) | Notify Message Type: v2N_REKEY_SA (0x4009) | processing payload: ISAKMP_NEXT_v2N (len=4) | 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: 48 (0x30) | number of TS: 1 (0x1) | processing payload: ISAKMP_NEXT_v2TSi (len=40) | 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: 48 (0x30) | number of TS: 1 (0x1) | processing payload: ISAKMP_NEXT_v2TSr (len=40) | state #1 forced to match CREATE_CHILD_SA from V2_CREATE_R->V2_IPSEC_R by ignoring from state | selected state microcode Respond to CREATE_CHILD_SA IPsec SA Request | #1 updating local interface from 192.1.2.23:500 to 192.1.2.23:500 using md->iface (in update_ike_endpoints() at state.c:2669) | creating state object #5 at 0x55638b2847d8 | State DB: adding IKEv2 state #5 in UNDEFINED | pstats #5 ikev2.child started | duplicating state object #1 "westnet-eastnet-ikev2c" as #5 for IPSEC SA | #5 setting local endpoint to 192.1.2.23:500 from #1.st_localport (in duplicate_state() at state.c:1484) | Message ID: init_child #1.#5; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=7 responder.recv=7; child: wip.initiator=0->-1 wip.responder=0->-1 | child state #5: UNDEFINED(ignore) => V2_CREATE_R(established IKE SA) | "westnet-eastnet-ikev2c" #1 received Child SA Request CREATE_CHILD_SA from 192.1.2.45:500 Child "westnet-eastnet-ikev2c" #5 in STATE_V2_CREATE_R will process it further | Message ID: switch-from #1 request 8; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=7 responder.recv=7 wip.initiator=-1 wip.responder=8->-1 | Message ID: switch-to #1.#5 request 8; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=7 responder.recv=7; child: wip.initiator=-1 wip.responder=-1->8 | forcing ST #1 to CHILD #1.#5 in FSM processor | Now let's proceed with state specific processing | calling processor Respond to CREATE_CHILD_SA IPsec SA Request | using existing local ESP/AH proposals for westnet-eastnet-ikev2c (CREATE_CHILD_SA responder matching remote ESP/AH proposals): 1:ESP:ENCR=AES_GCM_C_256;INTEG=NONE;DH=MODP2048;ESN=DISABLED 2:ESP:ENCR=AES_GCM_C_128;INTEG=NONE;DH=MODP2048;ESN=DISABLED 3:ESP:ENCR=AES_CBC_256;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=MODP2048;ESN=DISABLED 4:ESP:ENCR=AES_CBC_128;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=MODP2048;ESN=DISABLED | Comparing remote proposals against CREATE_CHILD_SA 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+DH+ESN; optional: INTEG | 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+DH+ESN; optional: INTEG | 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+DH+ESN; optional: none | 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+DH+ESN; optional: none | ***parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_NON_LAST (0x2) | length: 40 (0x28) | prop #: 1 (0x1) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (0x4) | # transforms: 3 (0x3) | parsing 4 raw bytes of IKEv2 Proposal Substructure Payload into remote SPI | remote SPI c6 40 5f 82 | Comparing remote proposal 1 containing 3 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_GCM_C (0x14) | *****parse IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 256 (0x100) | remote proposal 1 transform 0 (ENCR=AES_GCM_C_256) matches local proposal 1 type 1 (ENCR) transform 0 | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP2048 (0xe) | remote proposal 1 transform 1 (DH=MODP2048) matches local proposal 1 type 4 (DH) transform 0 | remote proposal 1 transform 1 (DH=MODP2048) matches local proposal 2 type 4 (DH) transform 0 | remote proposal 1 transform 1 (DH=MODP2048) matches local proposal 3 type 4 (DH) transform 0 | remote proposal 1 transform 1 (DH=MODP2048) matches local proposal 4 type 4 (DH) transform 0 | ****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 2 (ESN=DISABLED) matches local proposal 1 type 5 (ESN) transform 0 | remote proposal 1 transform 2 (ESN=DISABLED) matches local proposal 2 type 5 (ESN) transform 0 | remote proposal 1 transform 2 (ESN=DISABLED) matches local proposal 3 type 5 (ESN) transform 0 | remote proposal 1 transform 2 (ESN=DISABLED) matches local proposal 4 type 5 (ESN) transform 0 | remote proposal 1 proposed transforms: ENCR+DH+ESN; matched: ENCR+DH+ESN; unmatched: none | comparing remote proposal 1 containing ENCR+DH+ESN transforms to local proposal 1; required: ENCR+DH+ESN; optional: INTEG; matched: ENCR+DH+ESN | remote proposal 1 matches local proposal 1 | ***parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_NON_LAST (0x2) | length: 40 (0x28) | prop #: 2 (0x2) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (0x4) | # transforms: 3 (0x3) | parsing 4 raw bytes of IKEv2 Proposal Substructure Payload into remote SPI | remote SPI c6 40 5f 82 | Comparing remote proposal 2 containing 3 transforms against local proposal [1..0] 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_GCM_C (0x14) | *****parse IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 128 (0x80) | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP2048 (0xe) | ****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 2 proposed transforms: ENCR+DH+ESN; matched: none; unmatched: ENCR+DH+ESN | remote proposal 2 does not match; unmatched remote transforms: ENCR+DH+ESN | ***parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_NON_LAST (0x2) | length: 56 (0x38) | prop #: 3 (0x3) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (0x4) | # transforms: 5 (0x5) | parsing 4 raw bytes of IKEv2 Proposal Substructure Payload into remote SPI | remote SPI c6 40 5f 82 | Comparing remote proposal 3 containing 5 transforms against local proposal [1..0] 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) | ****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_512_256 (0xe) | ****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) | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP2048 (0xe) | ****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 3 proposed transforms: ENCR+INTEG+DH+ESN; matched: none; unmatched: ENCR+INTEG+DH+ESN | remote proposal 3 does not match; unmatched remote transforms: ENCR+INTEG+DH+ESN | ***parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | length: 56 (0x38) | prop #: 4 (0x4) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (0x4) | # transforms: 5 (0x5) | parsing 4 raw bytes of IKEv2 Proposal Substructure Payload into remote SPI | remote SPI c6 40 5f 82 | Comparing remote proposal 4 containing 5 transforms against local proposal [1..0] 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) | ****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_512_256 (0xe) | ****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) | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP2048 (0xe) | ****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 4 proposed transforms: ENCR+INTEG+DH+ESN; matched: none; unmatched: ENCR+INTEG+DH+ESN | remote proposal 4 does not match; unmatched remote transforms: ENCR+INTEG+DH+ESN "westnet-eastnet-ikev2c" #1: proposal 1:ESP:SPI=c6405f82;ENCR=AES_GCM_C_256;DH=MODP2048;ESN=DISABLED chosen from remote proposals 1:ESP:ENCR=AES_GCM_C_256;DH=MODP2048;ESN=DISABLED[first-match] 2:ESP:ENCR=AES_GCM_C_128;DH=MODP2048;ESN=DISABLED 3:ESP:ENCR=AES_CBC_256;INTEG=HMAC_SHA2_512_256;INTEG=HMAC_SHA2_256_128;DH=MODP2048;ESN=DISABLED 4:ESP:ENCR=AES_CBC_128;INTEG=HMAC_SHA2_512_256;INTEG=HMAC_SHA2_256_128;DH=MODP2048;ESN=DISABLED | CREATE_CHILD_SA responder matching remote ESP/AH proposals ikev2_proposal: 1:ESP:SPI=c6405f82;ENCR=AES_GCM_C_256;DH=MODP2048;ESN=DISABLED | converting proposal to internal trans attrs | updating #5's .st_oakley with preserved PRF, but why update? | received v2N_REKEY_SA | child state #5: V2_CREATE_R(established IKE SA) => V2_REKEY_CHILD_R(established IKE SA) | CREATE_CHILD_SA IPsec SA rekey Protocol PROTO_v2_ESP | parsing 4 raw bytes of IKEv2 Notify Payload into SPI | SPI dc 79 96 83 | CREATE_CHILD_S to rekey IPsec SA(0xdc799683) Protocol PROTO_v2_ESP | 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) | #5 rekey request for "westnet-eastnet-ikev2a" #2 TSi TSr | 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 | in connection_discard for connection westnet-eastnet-ikev2c | adding Child Rekey Responder KE and nonce nr work-order 7 for state #5 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x55638b272908 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #5 | libevent_malloc: new ptr-libevent@0x7efdf4001f78 size 128 | #5 spent 0.355 milliseconds in processing: Respond to CREATE_CHILD_SA IPsec SA Request in ikev2_process_state_packet() | suspend processing: state #1 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | start processing: state #5 connection "westnet-eastnet-ikev2a" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #5 complete_v2_state_transition() md.from_state=V2_CREATE_R md.svm.state[from]=V2_CREATE_R V2_REKEY_CHILD_R->V2_IPSEC_R with status STF_SUSPEND | suspending state #5 and saving MD | #5 is busy; has a suspended MD | crypto helper 4 resuming | crypto helper 4 starting work-order 7 for state #5 | [RE]START processing: state #5 connection "westnet-eastnet-ikev2a" from 192.1.2.45:500 (in log_stf_suspend() at ikev2.c:3269) | crypto helper 4 doing build KE and nonce (Child Rekey Responder KE and nonce nr); request ID 7 | "westnet-eastnet-ikev2a" #5 complete v2 state STATE_V2_REKEY_CHILD_R transition with STF_SUSPEND suspended from complete_v2_state_transition:3451 | stop processing: state #5 connection "westnet-eastnet-ikev2a" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2018) | #1 spent 0.69 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.716 milliseconds in comm_handle_cb() reading and processing packet | crypto helper 4 finished build KE and nonce (Child Rekey Responder KE and nonce nr); request ID 7 time elapsed 0.000659 seconds | (#5) spent 0.658 milliseconds in crypto helper computing work-order 7: Child Rekey Responder KE and nonce nr (pcr) | crypto helper 4 sending results from work-order 7 for state #5 to event queue | scheduling resume sending helper answer for #5 | libevent_malloc: new ptr-libevent@0x7efdf8002888 size 128 | crypto helper 4 waiting (nothing to do) | processing resume sending helper answer for #5 | start processing: state #5 connection "westnet-eastnet-ikev2a" from 192.1.2.45:500 (in resume_handler() at server.c:797) | crypto helper 4 replies to request ID 7 | calling continuation function 0x55638afa9b50 | ikev2_child_inIoutR_continue for #5 STATE_V2_REKEY_CHILD_R | adding DHv2 for child sa work-order 8 for state #5 | state #5 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x7efdf4001f78 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x55638b272908 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x55638b272908 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #5 | libevent_malloc: new ptr-libevent@0x7efdf4001f78 size 128 | [RE]START processing: state #5 connection "westnet-eastnet-ikev2a" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | crypto helper 1 resuming | #5 complete_v2_state_transition() md.from_state=V2_CREATE_R md.svm.state[from]=V2_CREATE_R V2_REKEY_CHILD_R->V2_IPSEC_R with status STF_SUSPEND | suspending state #5 and saving MD | #5 is busy; has a suspended MD | crypto helper 1 starting work-order 8 for state #5 | [RE]START processing: state #5 connection "westnet-eastnet-ikev2a" from 192.1.2.45:500 (in log_stf_suspend() at ikev2.c:3269) | crypto helper 1 doing crypto (DHv2 for child sa); request ID 8 | "westnet-eastnet-ikev2a" #5 complete v2 state STATE_V2_REKEY_CHILD_R transition with STF_SUSPEND suspended from complete_v2_state_transition:3451 | resume sending helper answer for #5 suppresed complete_v2_state_transition() and stole MD | #5 spent 0.0687 milliseconds in resume sending helper answer | stop processing: state #5 connection "westnet-eastnet-ikev2a" from 192.1.2.45:500 (in resume_handler() at server.c:833) | libevent_free: release ptr-libevent@0x7efdf8002888 | crypto helper 1 finished crypto (DHv2 for child sa); request ID 8 time elapsed 0.00053 seconds | (#5) spent 0.528 milliseconds in crypto helper computing work-order 8: DHv2 for child sa (dh) | crypto helper 1 sending results from work-order 8 for state #5 to event queue | scheduling resume sending helper answer for #5 | libevent_malloc: new ptr-libevent@0x7efe0c0027d8 size 128 | crypto helper 1 waiting (nothing to do) | processing resume sending helper answer for #5 | start processing: state #5 connection "westnet-eastnet-ikev2a" from 192.1.2.45:500 (in resume_handler() at server.c:797) | crypto helper 1 replies to request ID 8 | calling continuation function 0x55638afaa9d0 | ikev2_child_inIoutR_continue_continue for #5 STATE_V2_REKEY_CHILD_R | **emit ISAKMP Message: | initiator cookie: | 62 4c 8c 71 5d 06 ad 37 | responder cookie: | d1 b8 66 fe a6 e7 2c 71 | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_CREATE_CHILD_SA (0x24) | flags: ISAKMP_FLAG_v2_MSG_RESPONSE (0x20) | Message ID: 8 (0x8) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | ***emit IKEv2 Encryption Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'ISAKMP Message'.'next payload type' to current IKEv2 Encryption Payload (46:ISAKMP_NEXT_v2SK) | next payload chain: saving location 'IKEv2 Encryption Payload'.'next payload type' in 'reply packet' | emitting 8 zero bytes of IV into IKEv2 Encryption Payload | #5 inherit spd, TSi TSr, from "westnet-eastnet-ikev2a" #2 | 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 | netlink_get_spi: allocated 0xf09f2263 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 Encryption Payload'.'next payload type' to current IKEv2 Security Association Payload (33:ISAKMP_NEXT_v2SA) | next payload chain: saving location 'IKEv2 Security Association Payload'.'next payload type' in 'reply packet' | *****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 f0 9f 22 63 | ******emit IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | IKEv2 transform type: TRANS_TYPE_ENCR (0x1) | IKEv2 transform ID: AES_GCM_C (0x14) | last substructure: saving location 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' | *******emit IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 256 (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_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 | ******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 Nonce Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'IKEv2 Security Association 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 a8 40 ad 21 4a 19 57 97 4a 5a d9 b2 62 5d d4 4c | IKEv2 nonce 66 2f e6 de 0c 38 45 ef 7c 76 23 56 ff 49 e7 3c | emitting length of IKEv2 Nonce Payload: 36 | ****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 Nonce 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 8b 4f b4 51 a9 38 68 d6 1e 18 c9 3b 93 9f 6c 68 | ikev2 g^x 4e 22 4c 6e f1 01 df 1a fb cf d2 12 f7 7b 98 7d | ikev2 g^x 08 2c 59 63 61 70 c1 d6 dd 58 a5 0a 89 20 9c f7 | ikev2 g^x bd 0b 2e 35 22 49 9c ef 41 a5 9f 15 60 4f e1 ec | ikev2 g^x cd c1 c4 41 95 10 5a ba f6 35 db 3f 58 65 52 09 | ikev2 g^x 7d 1e c1 0a ce c2 33 a3 a2 eb 40 0d da 1b d2 47 | ikev2 g^x 80 31 09 ec 11 a4 5a 7f c8 d8 a5 38 24 13 dc 9b | ikev2 g^x 6f 6a e6 34 c8 26 47 cc b4 c9 db 29 22 a1 e5 fc | ikev2 g^x aa ee 2d 00 da 50 df 10 14 8f 3e 94 9e c2 e4 c9 | ikev2 g^x 1c 3d cf 90 15 b8 7b 73 e9 7e ea ff 0b e7 af cc | ikev2 g^x 81 c0 af d5 29 51 19 bb db b6 5e e0 42 eb 3b 33 | ikev2 g^x b9 78 f5 8f 5f 00 1b 01 20 64 9c 3e 9f 63 20 07 | ikev2 g^x 1b 7a 00 e8 d2 e9 28 29 8d ba 12 bb 23 52 98 17 | ikev2 g^x ef 1a c2 de b4 11 4b 54 4c 8c 87 76 5f fb 8d b4 | ikev2 g^x eb 6d b4 c3 ef 2a c0 a9 1f ac d2 76 88 2a be 9d | ikev2 g^x dc 5b b2 37 d2 71 dd 1c 79 01 d6 2b 7a 8d 19 63 | emitting length of IKEv2 Key Exchange Payload: 264 | received REKEY_SA already proceesd | ****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 Key Exchange Payload'.'next payload type' to current IKEv2 Traffic Selector - Initiator - Payload (44:ISAKMP_NEXT_v2TSi) | next payload chain: saving location 'IKEv2 Traffic Selector - Initiator - Payload'.'next payload type' in 'reply packet' | *****emit IKEv2 Traffic Selector: | TS type: IKEv2_TS_IPV4_ADDR_RANGE (0x7) | IP Protocol ID: 0 (0x0) | start port: 0 (0x0) | end port: 65535 (0xffff) | emitting 4 raw bytes of ipv4 start into IKEv2 Traffic Selector | ipv4 start c0 00 01 00 | emitting 4 raw bytes of ipv4 end into IKEv2 Traffic Selector | ipv4 end c0 00 01 ff | emitting length of IKEv2 Traffic Selector: 16 | emitting length of IKEv2 Traffic Selector - Initiator - Payload: 24 | ****emit IKEv2 Traffic Selector - Responder - Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | number of TS: 1 (0x1) | next payload chain: setting previous 'IKEv2 Traffic Selector - Initiator - Payload'.'next payload type' to current IKEv2 Traffic Selector - Responder - Payload (45:ISAKMP_NEXT_v2TSr) | next payload chain: saving location 'IKEv2 Traffic Selector - Responder - Payload'.'next payload type' in 'reply packet' | *****emit IKEv2 Traffic Selector: | TS type: IKEv2_TS_IPV4_ADDR_RANGE (0x7) | IP Protocol ID: 0 (0x0) | start port: 0 (0x0) | end port: 65535 (0xffff) | emitting 4 raw bytes of ipv4 start into IKEv2 Traffic Selector | ipv4 start c0 00 02 00 | emitting 4 raw bytes of ipv4 end into IKEv2 Traffic Selector | ipv4 end c0 00 02 ff | emitting length of IKEv2 Traffic Selector: 16 | emitting length of IKEv2 Traffic Selector - Responder - Payload: 24 | Initiator child policy is compress=no, NOT sending v2N_IPCOMP_SUPPORTED | integ=none: .key_size=0 encrypt=aes_gcm_16: .key_size=32 .salt_size=4 keymat_len=36 | install_ipsec_sa() for #5: inbound and outbound | could_route called for westnet-eastnet-ikev2a (kind=CK_PERMANENT) | FOR_EACH_CONNECTION_... in route_owner | conn westnet-eastnet-ikev2a mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ikev2c mark 0/00000000, 0/00000000 | conn westnet-eastnet-ikev2a mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ikev2b mark 0/00000000, 0/00000000 | conn westnet-eastnet-ikev2a mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ikev2a mark 0/00000000, 0/00000000 | route owner of "westnet-eastnet-ikev2a" erouted: self; eroute owner: self | looking for alg with encrypt: AES_GCM_16 keylen: 256 integ: NONE | encrypt AES_GCM_16 keylen=256 transid=20, key_size=32, encryptalg=20 | AES_GCM_16 requires 4 salt bytes | st->st_esp.keymat_len=36 is encrypt_keymat_size=36 + integ_keymat_size=0 | setting IPsec SA replay-window to 32 | NIC esp-hw-offload not for connection 'westnet-eastnet-ikev2a' 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.c6405f82@192.1.2.45 included non-error error | set up outgoing SA, ref=0/0 | looking for alg with encrypt: AES_GCM_16 keylen: 256 integ: NONE | encrypt AES_GCM_16 keylen=256 transid=20, key_size=32, encryptalg=20 | AES_GCM_16 requires 4 salt bytes | st->st_esp.keymat_len=36 is encrypt_keymat_size=36 + integ_keymat_size=0 | setting IPsec SA replay-window to 32 | NIC esp-hw-offload not for connection 'westnet-eastnet-ikev2a' 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.f09f2263@192.1.2.23 included non-error error | set up incoming SA, ref=0/0 | sr for #5: erouted | route_and_eroute() for proto 0, and source port 0 dest port 0 | FOR_EACH_CONNECTION_... in route_owner | conn westnet-eastnet-ikev2a mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ikev2c mark 0/00000000, 0/00000000 | conn westnet-eastnet-ikev2a mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ikev2b mark 0/00000000, 0/00000000 | conn westnet-eastnet-ikev2a mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ikev2a mark 0/00000000, 0/00000000 | route owner of "westnet-eastnet-ikev2a" erouted: self; eroute owner: self | route_and_eroute with c: westnet-eastnet-ikev2a (next: none) ero:westnet-eastnet-ikev2a esr:{(nil)} ro:westnet-eastnet-ikev2a rosr:{(nil)} and state: #5 | priority calculation of connection "westnet-eastnet-ikev2a" 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 | route_and_eroute: firewall_notified: true | route_and_eroute: instance "westnet-eastnet-ikev2a", setting eroute_owner {spd=0x55638b26adc8,sr=0x55638b26adc8} to #5 (was #2) (newest_ipsec_sa=#2) | #1 spent 0.413 milliseconds in install_ipsec_sa() | ISAKMP_v2_CREATE_CHILD_SA: instance westnet-eastnet-ikev2a[0], setting IKEv2 newest_ipsec_sa to #5 (was #2) (spd.eroute=#5) cloned from #1 | adding 1 bytes of padding (including 1 byte padding-length) | emitting 1 0x00 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: 421 | emitting length of ISAKMP Message: 449 "westnet-eastnet-ikev2a" #5: negotiated new IPsec SA [192.0.2.0-192.0.2.255:0-65535 0] -> [192.0.1.0-192.0.1.255:0-65535 0] | [RE]START processing: state #5 connection "westnet-eastnet-ikev2a" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #5 complete_v2_state_transition() md.from_state=V2_CREATE_R md.svm.state[from]=V2_CREATE_R V2_REKEY_CHILD_R->V2_IPSEC_R with status STF_OK | IKEv2: transition from state STATE_V2_CREATE_R to state STATE_V2_IPSEC_R | child state #5: V2_REKEY_CHILD_R(established IKE SA) => V2_IPSEC_R(established CHILD SA) | Message ID: updating counters for #5 to 8 after switching state | Message ID: recv #1.#5 request 8; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=7 responder.recv=7->8; child: wip.initiator=-1 wip.responder=8->-1 | Message ID: sent #1.#5 response 8; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=7->8 responder.recv=8; child: wip.initiator=-1 wip.responder=-1 | pstats #5 ikev2.child established "westnet-eastnet-ikev2a" #5: 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-ikev2a" #5: STATE_V2_IPSEC_R: IPsec SA established tunnel mode {ESP=>0xc6405f82 <0xf09f2263 xfrm=AES_GCM_16_256-NONE-MODP2048 NATOA=none NATD=none DPD=passive} | sending V2 new request packet to 192.1.2.45:500 (from 192.1.2.23:500) | sending 449 bytes for STATE_V2_CREATE_R through eth1 from 192.1.2.23:500 to 192.1.2.45:500 (using #1) | 62 4c 8c 71 5d 06 ad 37 d1 b8 66 fe a6 e7 2c 71 | 2e 20 24 20 00 00 00 08 00 00 01 c1 21 00 01 a5 | 50 9a 55 cb b4 5b 6f 42 eb f1 91 af 10 7b ae e9 | 52 53 f3 b8 58 d4 6d cb 7a 3f 39 1a 9d 04 a6 7e | 6e f9 72 ac f3 b4 21 37 ff 48 ef 44 74 59 76 29 | 35 47 1c 03 8a bb c5 c5 4b 94 b9 ca 0c 83 40 ec | 36 f9 54 06 a9 3d 7b 2f 83 3b 69 b6 d4 f8 d3 40 | 12 ac 30 2d fc 97 4a 27 39 9c 65 c3 de 78 10 a8 | ab 62 87 e0 f6 72 fd 45 48 4d e7 db 90 79 bb 5f | 21 e3 7f 66 4d f0 fe f3 d2 9d a4 82 84 c3 bb 20 | 15 3d bc 87 49 dc 75 47 47 2c 7e 0c bd 76 3b 20 | 48 3e 24 93 5c 8c 39 d7 7c 6d 1d f5 95 be 53 9a | 52 5f 75 bc 2d 57 03 50 86 d4 2c 6f a8 61 36 3b | e0 29 4b 9e 19 58 b5 c5 37 8c 87 63 c4 2e e5 05 | 85 a9 fa 09 6b 10 b9 c4 8f 55 18 70 dc 1f 28 67 | 41 e4 c0 db b3 f0 0c 17 0f 91 40 3e 9a 43 5c 95 | fb cf 3e cf 20 9d 58 a5 3c 44 23 33 d7 79 75 f8 | 2a 6e 4b f1 f0 f0 1e 66 8f 37 3e 2d b6 67 54 1c | 63 8e b9 47 1f 12 d0 51 7d dd 8d cc 86 34 42 02 | a0 1d 3e 6e db d0 19 ee e1 e5 f4 7d ed fc e5 10 | 46 5b 8e c7 33 e1 8b 94 d6 ca 96 e5 99 cc 4e f4 | ae 4c 8c 12 4a 2e 0b a2 8e 53 25 3f 6f d4 95 2d | c8 af 24 1b c9 a6 a0 1c 5e ef c4 bd 99 db 24 6a | d8 e8 5e 98 f4 22 74 6c cf 30 c2 2f a7 8c 17 fe | b0 04 25 b3 43 fd f6 97 84 1b c2 a0 3e fd d7 d8 | c6 88 b6 b0 1a 84 89 eb bc 93 22 0b 74 12 35 09 | 1a 30 8e 93 3c d3 88 c8 89 1e 1b af 13 ee 0d fa | 38 66 ae 5e ec 0f 37 09 6c 80 80 b8 fb fd 7d 9f | e7 | releasing whack for #5 (sock=fd@-1) | releasing whack and unpending for parent #1 | unpending state #1 connection "westnet-eastnet-ikev2a" | #5 will start re-keying in 28530 seconds with margin of 270 seconds (attempting re-key) | state #5 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x7efdf4001f78 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x55638b272908 | event_schedule: new EVENT_SA_REKEY-pe@0x55638b272908 | inserting event EVENT_SA_REKEY, timeout in 28530 seconds for #5 | libevent_malloc: new ptr-libevent@0x7efdf8002888 size 128 | #5 spent 1.06 milliseconds in resume sending helper answer | stop processing: state #5 connection "westnet-eastnet-ikev2a" from 192.1.2.45:500 (in resume_handler() at server.c:833) | libevent_free: release ptr-libevent@0x7efe0c0027d8 | spent 0.00293 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 661 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 62 4c 8c 71 5d 06 ad 37 d1 b8 66 fe a6 e7 2c 71 | 2e 20 24 08 00 00 00 09 00 00 02 95 21 00 02 79 | d8 d5 db a3 74 b2 32 46 d7 18 a8 fd 7e 98 d6 05 | b0 2c 9a 46 3e 4b 10 43 b1 14 5e ee 30 fb 48 f2 | 3d 29 7b fc 40 21 29 7c 12 6c 96 65 eb 66 b7 5a | af 88 3b 41 b4 41 22 de 59 55 bf 7b 4b 28 64 b5 | 9f 5f 1a a7 ef 78 56 fb 7a ec 22 ae 83 f8 41 d0 | c1 ac a5 e1 4c 26 ac 17 d4 da 59 24 79 88 fe 77 | ce bd 3d f6 99 d3 23 06 17 6d 1d 4e 6e e6 b5 80 | 3c a9 2f 44 25 84 57 b7 2b bd 78 63 87 93 c2 26 | 87 15 18 96 ef 3a 95 fe 3f 78 bc 65 a5 28 31 f7 | 56 3a 03 e2 5c b7 28 91 38 17 50 8e c0 ca 85 72 | d9 21 db 82 f3 bc 02 a3 ff ca 53 28 c1 d3 45 27 | b1 7c b4 fd 37 d6 4c d3 db 8c b4 6c ec 3d d4 b8 | d9 5e f6 81 14 23 d8 cd cd 29 16 9f 7c f9 5b 69 | 40 d4 04 b3 b6 32 35 9a 4a ca af cb 56 a3 0c da | 2a f5 b5 07 2d 77 7b ce 8d b4 04 74 8a 0b ef b4 | 47 4b 3f 01 f5 5e 0c ff 7b 84 68 d8 47 fe cb 05 | 1c 1d 15 b8 7f 1f 47 a0 1b db f8 2e e3 47 be b7 | 11 f4 3f 3e 96 2e c8 67 f1 28 33 f8 81 43 43 df | 40 74 ed 8e 7a 1e d1 39 0c 7b 31 1b 92 f9 02 30 | a5 69 bd 3b 5c be fe 11 45 30 5d 98 62 f6 16 b0 | 1e 11 67 fe e4 19 d7 fe 41 cc f4 96 0c fb cb 48 | f2 6b 78 fa 9d 36 e7 bf 19 99 32 9c ce 81 9c 23 | 43 cf 43 c3 2e 81 58 3f 41 43 bf 45 48 e0 45 45 | 92 53 5a 20 4b 8a 39 b3 52 85 d5 c9 4d b0 8c 91 | 12 6a 50 f8 74 14 b6 b7 19 55 cc 90 38 59 02 f4 | 49 ef 9b 2f 57 7d 7a dc 53 c3 b8 34 06 97 c7 b9 | 04 43 10 59 12 29 a3 a0 7c b7 fd 49 27 a4 09 a0 | f7 19 01 06 a9 9f b8 f7 17 73 cb 0a d2 c0 28 90 | e6 80 ec f5 21 4a 5b 7b 26 37 7a cc ee 58 21 3b | 5f ee 78 b2 d8 6f 58 0d 7d 28 1b 2a 07 a9 f2 fd | 2f ab b6 ca da 2f 97 43 78 db 52 57 7c f3 36 1f | de bd 13 2e 09 16 b1 c8 f1 53 2a 09 7e 00 88 29 | c7 00 3e a3 fc 98 ec bf 75 ec db fe 5c 9a 5b d2 | f9 19 90 2e 29 76 3a 26 2e ab c1 12 84 09 00 0d | 4e 9b 16 c6 25 91 48 21 d1 ec ad d7 37 bd 2a ca | 0a f5 aa 67 8c e3 b8 67 2c c0 83 6c 1e 2a ea 53 | 5a f0 f8 7f b4 d9 a8 29 d0 41 3c fd 53 35 46 82 | 1f f4 8e ec 0b 57 17 8f 50 ea da 69 ca 46 77 9d | f2 d8 ab 50 25 09 93 ad 31 5e 9e ee 2e 6a 38 09 | 97 3c a0 71 c9 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 62 4c 8c 71 5d 06 ad 37 | responder cookie: | d1 b8 66 fe a6 e7 2c 71 | next payload type: ISAKMP_NEXT_v2SK (0x2e) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_CREATE_CHILD_SA (0x24) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 9 (0x9) | length: 661 (0x295) | processing version=2.0 packet with exchange type=ISAKMP_v2_CREATE_CHILD_SA (36) | I am the IKE SA Original Responder receiving an IKEv2 CREATE_CHILD_SA request | State DB: found IKEv2 state #1 in PARENT_R2 (find_v2_ike_sa) | start processing: state #1 connection "westnet-eastnet-ikev2c" 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-ikev2c" from 192.1.2.45:500 (in ike_process_packet() at ikev2.c:2064) | #1 st.st_msgid_lastrecv 8 md.hdr.isa_msgid 00000009 | Message ID: #1 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=8 responder.recv=8 | unpacking clear payload | Now let's proceed with payload (ISAKMP_NEXT_v2SK) | ***parse IKEv2 Encryption Payload: | next payload type: ISAKMP_NEXT_v2SA (0x21) | flags: none (0x0) | length: 633 (0x279) | processing payload: ISAKMP_NEXT_v2SK (len=629) | Message ID: start-responder #1 request 9; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=8 responder.recv=8 wip.initiator=-1 wip.responder=-1->9 | #1 in state PARENT_R2: received v2I2, PARENT SA established | #1 ikev2 ISAKMP_v2_CREATE_CHILD_SA decrypt success | Now let's proceed with payload (ISAKMP_NEXT_v2SA) | **parse IKEv2 Security Association Payload: | next payload type: ISAKMP_NEXT_v2Ni (0x28) | flags: none (0x0) | length: 196 (0xc4) | processing payload: ISAKMP_NEXT_v2SA (len=192) | Now let's proceed with payload (ISAKMP_NEXT_v2Ni) | **parse IKEv2 Nonce Payload: | next payload type: ISAKMP_NEXT_v2KE (0x22) | flags: none (0x0) | length: 36 (0x24) | processing payload: ISAKMP_NEXT_v2Ni (len=32) | Now let's proceed with payload (ISAKMP_NEXT_v2KE) | **parse IKEv2 Key Exchange Payload: | next payload type: ISAKMP_NEXT_v2N (0x29) | 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_v2N) | **parse IKEv2 Notify Payload: | next payload type: ISAKMP_NEXT_v2TSi (0x2c) | flags: none (0x0) | length: 12 (0xc) | Protocol ID: PROTO_v2_ESP (0x3) | SPI size: 4 (0x4) | Notify Message Type: v2N_REKEY_SA (0x4009) | processing payload: ISAKMP_NEXT_v2N (len=4) | 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: 48 (0x30) | number of TS: 1 (0x1) | processing payload: ISAKMP_NEXT_v2TSi (len=40) | 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: 48 (0x30) | number of TS: 1 (0x1) | processing payload: ISAKMP_NEXT_v2TSr (len=40) | state #1 forced to match CREATE_CHILD_SA from V2_CREATE_R->V2_IPSEC_R by ignoring from state | selected state microcode Respond to CREATE_CHILD_SA IPsec SA Request | #1 updating local interface from 192.1.2.23:500 to 192.1.2.23:500 using md->iface (in update_ike_endpoints() at state.c:2669) | creating state object #6 at 0x55638b28a038 | State DB: adding IKEv2 state #6 in UNDEFINED | pstats #6 ikev2.child started | duplicating state object #1 "westnet-eastnet-ikev2c" as #6 for IPSEC SA | #6 setting local endpoint to 192.1.2.23:500 from #1.st_localport (in duplicate_state() at state.c:1484) | Message ID: init_child #1.#6; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=8 responder.recv=8; child: wip.initiator=0->-1 wip.responder=0->-1 | child state #6: UNDEFINED(ignore) => V2_CREATE_R(established IKE SA) | "westnet-eastnet-ikev2c" #1 received Child SA Request CREATE_CHILD_SA from 192.1.2.45:500 Child "westnet-eastnet-ikev2c" #6 in STATE_V2_CREATE_R will process it further | Message ID: switch-from #1 request 9; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=8 responder.recv=8 wip.initiator=-1 wip.responder=9->-1 | Message ID: switch-to #1.#6 request 9; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=8 responder.recv=8; child: wip.initiator=-1 wip.responder=-1->9 | forcing ST #1 to CHILD #1.#6 in FSM processor | Now let's proceed with state specific processing | calling processor Respond to CREATE_CHILD_SA IPsec SA Request | using existing local ESP/AH proposals for westnet-eastnet-ikev2c (CREATE_CHILD_SA responder matching remote ESP/AH proposals): 1:ESP:ENCR=AES_GCM_C_256;INTEG=NONE;DH=MODP2048;ESN=DISABLED 2:ESP:ENCR=AES_GCM_C_128;INTEG=NONE;DH=MODP2048;ESN=DISABLED 3:ESP:ENCR=AES_CBC_256;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=MODP2048;ESN=DISABLED 4:ESP:ENCR=AES_CBC_128;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=MODP2048;ESN=DISABLED | Comparing remote proposals against CREATE_CHILD_SA 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+DH+ESN; optional: INTEG | 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+DH+ESN; optional: INTEG | 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+DH+ESN; optional: none | 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+DH+ESN; optional: none | ***parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_NON_LAST (0x2) | length: 40 (0x28) | prop #: 1 (0x1) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (0x4) | # transforms: 3 (0x3) | parsing 4 raw bytes of IKEv2 Proposal Substructure Payload into remote SPI | remote SPI b8 ab 34 ac | Comparing remote proposal 1 containing 3 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_GCM_C (0x14) | *****parse IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 256 (0x100) | remote proposal 1 transform 0 (ENCR=AES_GCM_C_256) matches local proposal 1 type 1 (ENCR) transform 0 | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP2048 (0xe) | remote proposal 1 transform 1 (DH=MODP2048) matches local proposal 1 type 4 (DH) transform 0 | remote proposal 1 transform 1 (DH=MODP2048) matches local proposal 2 type 4 (DH) transform 0 | remote proposal 1 transform 1 (DH=MODP2048) matches local proposal 3 type 4 (DH) transform 0 | remote proposal 1 transform 1 (DH=MODP2048) matches local proposal 4 type 4 (DH) transform 0 | ****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 2 (ESN=DISABLED) matches local proposal 1 type 5 (ESN) transform 0 | remote proposal 1 transform 2 (ESN=DISABLED) matches local proposal 2 type 5 (ESN) transform 0 | remote proposal 1 transform 2 (ESN=DISABLED) matches local proposal 3 type 5 (ESN) transform 0 | remote proposal 1 transform 2 (ESN=DISABLED) matches local proposal 4 type 5 (ESN) transform 0 | remote proposal 1 proposed transforms: ENCR+DH+ESN; matched: ENCR+DH+ESN; unmatched: none | comparing remote proposal 1 containing ENCR+DH+ESN transforms to local proposal 1; required: ENCR+DH+ESN; optional: INTEG; matched: ENCR+DH+ESN | remote proposal 1 matches local proposal 1 | ***parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_NON_LAST (0x2) | length: 40 (0x28) | prop #: 2 (0x2) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (0x4) | # transforms: 3 (0x3) | parsing 4 raw bytes of IKEv2 Proposal Substructure Payload into remote SPI | remote SPI b8 ab 34 ac | Comparing remote proposal 2 containing 3 transforms against local proposal [1..0] 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_GCM_C (0x14) | *****parse IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 128 (0x80) | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP2048 (0xe) | ****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 2 proposed transforms: ENCR+DH+ESN; matched: none; unmatched: ENCR+DH+ESN | remote proposal 2 does not match; unmatched remote transforms: ENCR+DH+ESN | ***parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_NON_LAST (0x2) | length: 56 (0x38) | prop #: 3 (0x3) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (0x4) | # transforms: 5 (0x5) | parsing 4 raw bytes of IKEv2 Proposal Substructure Payload into remote SPI | remote SPI b8 ab 34 ac | Comparing remote proposal 3 containing 5 transforms against local proposal [1..0] 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) | ****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_512_256 (0xe) | ****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) | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP2048 (0xe) | ****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 3 proposed transforms: ENCR+INTEG+DH+ESN; matched: none; unmatched: ENCR+INTEG+DH+ESN | remote proposal 3 does not match; unmatched remote transforms: ENCR+INTEG+DH+ESN | ***parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | length: 56 (0x38) | prop #: 4 (0x4) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (0x4) | # transforms: 5 (0x5) | parsing 4 raw bytes of IKEv2 Proposal Substructure Payload into remote SPI | remote SPI b8 ab 34 ac | Comparing remote proposal 4 containing 5 transforms against local proposal [1..0] 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) | ****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_512_256 (0xe) | ****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) | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP2048 (0xe) | ****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 4 proposed transforms: ENCR+INTEG+DH+ESN; matched: none; unmatched: ENCR+INTEG+DH+ESN | remote proposal 4 does not match; unmatched remote transforms: ENCR+INTEG+DH+ESN "westnet-eastnet-ikev2c" #1: proposal 1:ESP:SPI=b8ab34ac;ENCR=AES_GCM_C_256;DH=MODP2048;ESN=DISABLED chosen from remote proposals 1:ESP:ENCR=AES_GCM_C_256;DH=MODP2048;ESN=DISABLED[first-match] 2:ESP:ENCR=AES_GCM_C_128;DH=MODP2048;ESN=DISABLED 3:ESP:ENCR=AES_CBC_256;INTEG=HMAC_SHA2_512_256;INTEG=HMAC_SHA2_256_128;DH=MODP2048;ESN=DISABLED 4:ESP:ENCR=AES_CBC_128;INTEG=HMAC_SHA2_512_256;INTEG=HMAC_SHA2_256_128;DH=MODP2048;ESN=DISABLED | CREATE_CHILD_SA responder matching remote ESP/AH proposals ikev2_proposal: 1:ESP:SPI=b8ab34ac;ENCR=AES_GCM_C_256;DH=MODP2048;ESN=DISABLED | converting proposal to internal trans attrs | updating #6's .st_oakley with preserved PRF, but why update? | received v2N_REKEY_SA | child state #6: V2_CREATE_R(established IKE SA) => V2_REKEY_CHILD_R(established IKE SA) | CREATE_CHILD_SA IPsec SA rekey Protocol PROTO_v2_ESP | parsing 4 raw bytes of IKEv2 Notify Payload into SPI | SPI 72 cb 5d 08 | CREATE_CHILD_S to rekey IPsec SA(0x72cb5d08) Protocol PROTO_v2_ESP | v2 CHILD SA #3 found using their inbound (our outbound) SPI, in STATE_V2_IPSEC_R | State DB: found IKEv2 state #3 in V2_IPSEC_R (find_v2_child_sa_by_outbound_spi) | #6 rekey request for "westnet-eastnet-ikev2b" #3 TSi TSr | printing contents struct traffic_selector | ts_type: IKEv2_TS_IPV4_ADDR_RANGE | ipprotoid: 0 | port range: 0-65535 | ip range: 192.0.200.0-192.0.200.255 | printing contents struct traffic_selector | ts_type: IKEv2_TS_IPV4_ADDR_RANGE | ipprotoid: 0 | port range: 0-65535 | ip range: 192.0.100.0-192.0.100.255 | in connection_discard for connection westnet-eastnet-ikev2c | adding Child Rekey Responder KE and nonce nr work-order 9 for state #6 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x55638b27e808 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #6 | libevent_malloc: new ptr-libevent@0x7efe0c0027d8 size 128 | #6 spent 0.32 milliseconds in processing: Respond to CREATE_CHILD_SA IPsec SA Request in ikev2_process_state_packet() | suspend processing: state #1 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | start processing: state #6 connection "westnet-eastnet-ikev2b" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #6 complete_v2_state_transition() md.from_state=V2_CREATE_R md.svm.state[from]=V2_CREATE_R V2_REKEY_CHILD_R->V2_IPSEC_R with status STF_SUSPEND | suspending state #6 and saving MD | crypto helper 0 resuming | crypto helper 0 starting work-order 9 for state #6 | #6 is busy; has a suspended MD | crypto helper 0 doing build KE and nonce (Child Rekey Responder KE and nonce nr); request ID 9 | [RE]START processing: state #6 connection "westnet-eastnet-ikev2b" from 192.1.2.45:500 (in log_stf_suspend() at ikev2.c:3269) | "westnet-eastnet-ikev2b" #6 complete v2 state STATE_V2_REKEY_CHILD_R transition with STF_SUSPEND suspended from complete_v2_state_transition:3451 | stop processing: state #6 connection "westnet-eastnet-ikev2b" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2018) | #1 spent 0.565 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.573 milliseconds in comm_handle_cb() reading and processing packet | crypto helper 0 finished build KE and nonce (Child Rekey Responder KE and nonce nr); request ID 9 time elapsed 0.001005 seconds | (#6) spent 0.996 milliseconds in crypto helper computing work-order 9: Child Rekey Responder KE and nonce nr (pcr) | crypto helper 0 sending results from work-order 9 for state #6 to event queue | scheduling resume sending helper answer for #6 | libevent_malloc: new ptr-libevent@0x7efe04000f48 size 128 | crypto helper 0 waiting (nothing to do) | processing resume sending helper answer for #6 | start processing: state #6 connection "westnet-eastnet-ikev2b" from 192.1.2.45:500 (in resume_handler() at server.c:797) | crypto helper 0 replies to request ID 9 | calling continuation function 0x55638afa9b50 | ikev2_child_inIoutR_continue for #6 STATE_V2_REKEY_CHILD_R | adding DHv2 for child sa work-order 10 for state #6 | state #6 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x7efe0c0027d8 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x55638b27e808 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x55638b27e808 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #6 | libevent_malloc: new ptr-libevent@0x7efe0c0027d8 size 128 | [RE]START processing: state #6 connection "westnet-eastnet-ikev2b" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #6 complete_v2_state_transition() md.from_state=V2_CREATE_R md.svm.state[from]=V2_CREATE_R V2_REKEY_CHILD_R->V2_IPSEC_R with status STF_SUSPEND | suspending state #6 and saving MD | #6 is busy; has a suspended MD | [RE]START processing: state #6 connection "westnet-eastnet-ikev2b" from 192.1.2.45:500 (in log_stf_suspend() at ikev2.c:3269) | "westnet-eastnet-ikev2b" #6 complete v2 state STATE_V2_REKEY_CHILD_R transition with STF_SUSPEND suspended from complete_v2_state_transition:3451 | crypto helper 2 resuming | crypto helper 2 starting work-order 10 for state #6 | resume sending helper answer for #6 suppresed complete_v2_state_transition() and stole MD | crypto helper 2 doing crypto (DHv2 for child sa); request ID 10 | #6 spent 0.0899 milliseconds in resume sending helper answer | stop processing: state #6 connection "westnet-eastnet-ikev2b" from 192.1.2.45:500 (in resume_handler() at server.c:833) | libevent_free: release ptr-libevent@0x7efe04000f48 | crypto helper 2 finished crypto (DHv2 for child sa); request ID 10 time elapsed 0.000852 seconds | (#6) spent 0.846 milliseconds in crypto helper computing work-order 10: DHv2 for child sa (dh) | crypto helper 2 sending results from work-order 10 for state #6 to event queue | scheduling resume sending helper answer for #6 | libevent_malloc: new ptr-libevent@0x7efe08003a78 size 128 | crypto helper 2 waiting (nothing to do) | processing resume sending helper answer for #6 | start processing: state #6 connection "westnet-eastnet-ikev2b" from 192.1.2.45:500 (in resume_handler() at server.c:797) | crypto helper 2 replies to request ID 10 | calling continuation function 0x55638afaa9d0 | ikev2_child_inIoutR_continue_continue for #6 STATE_V2_REKEY_CHILD_R | **emit ISAKMP Message: | initiator cookie: | 62 4c 8c 71 5d 06 ad 37 | responder cookie: | d1 b8 66 fe a6 e7 2c 71 | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_CREATE_CHILD_SA (0x24) | flags: ISAKMP_FLAG_v2_MSG_RESPONSE (0x20) | Message ID: 9 (0x9) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | ***emit IKEv2 Encryption Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'ISAKMP Message'.'next payload type' to current IKEv2 Encryption Payload (46:ISAKMP_NEXT_v2SK) | next payload chain: saving location 'IKEv2 Encryption Payload'.'next payload type' in 'reply packet' | emitting 8 zero bytes of IV into IKEv2 Encryption Payload | #6 inherit spd, TSi TSr, from "westnet-eastnet-ikev2b" #3 | printing contents struct traffic_selector | ts_type: IKEv2_TS_IPV4_ADDR_RANGE | ipprotoid: 0 | port range: 0-65535 | ip range: 192.0.200.0-192.0.200.255 | printing contents struct traffic_selector | ts_type: IKEv2_TS_IPV4_ADDR_RANGE | ipprotoid: 0 | port range: 0-65535 | ip range: 192.0.100.0-192.0.100.255 | netlink_get_spi: allocated 0xfb10f65c 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 Encryption Payload'.'next payload type' to current IKEv2 Security Association Payload (33:ISAKMP_NEXT_v2SA) | next payload chain: saving location 'IKEv2 Security Association Payload'.'next payload type' in 'reply packet' | *****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 10 f6 5c | ******emit IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | IKEv2 transform type: TRANS_TYPE_ENCR (0x1) | IKEv2 transform ID: AES_GCM_C (0x14) | last substructure: saving location 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' | *******emit IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 256 (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_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 | ******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 Nonce Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'IKEv2 Security Association 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 a8 8c 6f 96 cb 50 de 3c 5d 7c a1 ac 9c de 26 79 | IKEv2 nonce e7 70 a3 e8 8d d7 3f bf dc 53 0e 8c 93 d2 0e 3c | emitting length of IKEv2 Nonce Payload: 36 | ****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 Nonce 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 a8 b4 6a 24 34 8b 0a ad 37 78 06 c7 3b 4d 4a a2 | ikev2 g^x 96 83 f1 2d 3c 2f bd 38 8a 34 d7 80 df f4 d1 81 | ikev2 g^x 5b 1b a7 8d ab da 8b c6 23 89 77 19 a2 fd 24 38 | ikev2 g^x d7 f2 47 38 95 1d 68 a8 f4 7d b6 02 4f 2f 44 d9 | ikev2 g^x d7 c4 52 2c d7 56 79 e3 92 1d 11 30 62 53 ca f0 | ikev2 g^x eb 92 7b da 2a dd ae 74 0b ce 4d ee 6e bc 7e 91 | ikev2 g^x e5 ad 8e 12 12 1f f8 da 6b 5f b9 5a 63 56 68 3f | ikev2 g^x f9 a8 9e 98 76 be 5c 49 08 f4 5a 84 6f 21 a3 e7 | ikev2 g^x 32 04 2d 80 7d 6a fe ff 10 21 3b 4c 8d 0c 01 ff | ikev2 g^x 84 0f 8b d9 49 dd db 8c aa 36 4d 60 48 7d 91 03 | ikev2 g^x 38 d5 cf 44 cf 8a ee f5 87 d1 49 7a ef 89 b1 66 | ikev2 g^x 0a 74 1b 7c af 0e 87 b2 9a 39 f0 1d 09 79 21 69 | ikev2 g^x df 8e 2e f5 98 30 a9 4d e9 b1 d9 4d 46 21 fe 4e | ikev2 g^x 24 7e ac 78 3b 1a 90 2d 3d 71 d1 94 8a 13 19 b8 | ikev2 g^x 60 5b 9f 04 53 6b 4f 5e 68 7e f1 59 87 ff ce ed | ikev2 g^x f1 65 f8 c8 27 78 11 6b d2 30 40 9d 1d 27 31 a6 | emitting length of IKEv2 Key Exchange Payload: 264 | received REKEY_SA already proceesd | ****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 Key Exchange Payload'.'next payload type' to current IKEv2 Traffic Selector - Initiator - Payload (44:ISAKMP_NEXT_v2TSi) | next payload chain: saving location 'IKEv2 Traffic Selector - Initiator - Payload'.'next payload type' in 'reply packet' | *****emit IKEv2 Traffic Selector: | TS type: IKEv2_TS_IPV4_ADDR_RANGE (0x7) | IP Protocol ID: 0 (0x0) | start port: 0 (0x0) | end port: 65535 (0xffff) | emitting 4 raw bytes of ipv4 start into IKEv2 Traffic Selector | ipv4 start c0 00 64 00 | emitting 4 raw bytes of ipv4 end into IKEv2 Traffic Selector | ipv4 end c0 00 64 ff | emitting length of IKEv2 Traffic Selector: 16 | emitting length of IKEv2 Traffic Selector - Initiator - Payload: 24 | ****emit IKEv2 Traffic Selector - Responder - Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | number of TS: 1 (0x1) | next payload chain: setting previous 'IKEv2 Traffic Selector - Initiator - Payload'.'next payload type' to current IKEv2 Traffic Selector - Responder - Payload (45:ISAKMP_NEXT_v2TSr) | next payload chain: saving location 'IKEv2 Traffic Selector - Responder - Payload'.'next payload type' in 'reply packet' | *****emit IKEv2 Traffic Selector: | TS type: IKEv2_TS_IPV4_ADDR_RANGE (0x7) | IP Protocol ID: 0 (0x0) | start port: 0 (0x0) | end port: 65535 (0xffff) | emitting 4 raw bytes of ipv4 start into IKEv2 Traffic Selector | ipv4 start c0 00 c8 00 | emitting 4 raw bytes of ipv4 end into IKEv2 Traffic Selector | ipv4 end c0 00 c8 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=none: .key_size=0 encrypt=aes_gcm_16: .key_size=32 .salt_size=4 keymat_len=36 | install_ipsec_sa() for #6: inbound and outbound | could_route called for westnet-eastnet-ikev2b (kind=CK_PERMANENT) | FOR_EACH_CONNECTION_... in route_owner | conn westnet-eastnet-ikev2b mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ikev2c mark 0/00000000, 0/00000000 | conn westnet-eastnet-ikev2b mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ikev2b mark 0/00000000, 0/00000000 | conn westnet-eastnet-ikev2b mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ikev2a mark 0/00000000, 0/00000000 | route owner of "westnet-eastnet-ikev2b" erouted: self; eroute owner: self | looking for alg with encrypt: AES_GCM_16 keylen: 256 integ: NONE | encrypt AES_GCM_16 keylen=256 transid=20, key_size=32, encryptalg=20 | AES_GCM_16 requires 4 salt bytes | st->st_esp.keymat_len=36 is encrypt_keymat_size=36 + integ_keymat_size=0 | setting IPsec SA replay-window to 32 | NIC esp-hw-offload not for connection 'westnet-eastnet-ikev2b' 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.b8ab34ac@192.1.2.45 included non-error error | set up outgoing SA, ref=0/0 | looking for alg with encrypt: AES_GCM_16 keylen: 256 integ: NONE | encrypt AES_GCM_16 keylen=256 transid=20, key_size=32, encryptalg=20 | AES_GCM_16 requires 4 salt bytes | st->st_esp.keymat_len=36 is encrypt_keymat_size=36 + integ_keymat_size=0 | setting IPsec SA replay-window to 32 | NIC esp-hw-offload not for connection 'westnet-eastnet-ikev2b' 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.fb10f65c@192.1.2.23 included non-error error | set up incoming SA, ref=0/0 | sr for #6: erouted | route_and_eroute() for proto 0, and source port 0 dest port 0 | FOR_EACH_CONNECTION_... in route_owner | conn westnet-eastnet-ikev2b mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ikev2c mark 0/00000000, 0/00000000 | conn westnet-eastnet-ikev2b mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ikev2b mark 0/00000000, 0/00000000 | conn westnet-eastnet-ikev2b mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ikev2a mark 0/00000000, 0/00000000 | route owner of "westnet-eastnet-ikev2b" erouted: self; eroute owner: self | route_and_eroute with c: westnet-eastnet-ikev2b (next: none) ero:westnet-eastnet-ikev2b esr:{(nil)} ro:westnet-eastnet-ikev2b rosr:{(nil)} and state: #6 | priority calculation of connection "westnet-eastnet-ikev2b" is 0xfe7e7 | eroute_connection replace eroute 192.0.200.0/24:0 --0-> 192.0.100.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 | route_and_eroute: firewall_notified: true | route_and_eroute: instance "westnet-eastnet-ikev2b", setting eroute_owner {spd=0x55638b26d438,sr=0x55638b26d438} to #6 (was #3) (newest_ipsec_sa=#3) | #1 spent 0.345 milliseconds in install_ipsec_sa() | ISAKMP_v2_CREATE_CHILD_SA: instance westnet-eastnet-ikev2b[0], setting IKEv2 newest_ipsec_sa to #6 (was #3) (spd.eroute=#6) cloned from #1 | adding 1 bytes of padding (including 1 byte padding-length) | emitting 1 0x00 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: 421 | emitting length of ISAKMP Message: 449 "westnet-eastnet-ikev2b" #6: negotiated new IPsec SA [192.0.200.0-192.0.200.255:0-65535 0] -> [192.0.100.0-192.0.100.255:0-65535 0] | [RE]START processing: state #6 connection "westnet-eastnet-ikev2b" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #6 complete_v2_state_transition() md.from_state=V2_CREATE_R md.svm.state[from]=V2_CREATE_R V2_REKEY_CHILD_R->V2_IPSEC_R with status STF_OK | IKEv2: transition from state STATE_V2_CREATE_R to state STATE_V2_IPSEC_R | child state #6: V2_REKEY_CHILD_R(established IKE SA) => V2_IPSEC_R(established CHILD SA) | Message ID: updating counters for #6 to 9 after switching state | Message ID: recv #1.#6 request 9; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=8 responder.recv=8->9; child: wip.initiator=-1 wip.responder=9->-1 | Message ID: sent #1.#6 response 9; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=8->9 responder.recv=9; child: wip.initiator=-1 wip.responder=-1 | pstats #6 ikev2.child established "westnet-eastnet-ikev2b" #6: negotiated connection [192.0.200.0-192.0.200.255:0-65535 0] -> [192.0.100.0-192.0.100.255:0-65535 0] | NAT-T: encaps is 'auto' "westnet-eastnet-ikev2b" #6: STATE_V2_IPSEC_R: IPsec SA established tunnel mode {ESP=>0xb8ab34ac <0xfb10f65c xfrm=AES_GCM_16_256-NONE-MODP2048 NATOA=none NATD=none DPD=passive} | sending V2 new request packet to 192.1.2.45:500 (from 192.1.2.23:500) | sending 449 bytes for STATE_V2_CREATE_R through eth1 from 192.1.2.23:500 to 192.1.2.45:500 (using #1) | 62 4c 8c 71 5d 06 ad 37 d1 b8 66 fe a6 e7 2c 71 | 2e 20 24 20 00 00 00 09 00 00 01 c1 21 00 01 a5 | 6b 3a 18 b2 50 2c bd b3 5f 3a f1 a3 15 fe 64 e0 | be 44 19 b3 8b 23 8f 79 d0 09 89 6e c8 a7 94 07 | 1a ec 58 90 89 00 36 5f 33 a6 b2 58 50 cc 7c d3 | 3f b8 be 48 d6 61 8a 6a c2 1a 42 06 7e 97 06 ef | 49 27 47 d7 9d 39 d7 58 5f f9 79 53 99 40 59 13 | db 81 52 78 11 bf 1e a0 d2 44 a8 96 79 e1 92 24 | 3c 41 61 23 0f 0d be ba dd 80 25 d9 52 86 64 b3 | ab 6c 4f 89 81 43 39 f2 7c dd 16 0b 6d 2d ce 25 | f2 79 2a 1d ee f3 92 36 e1 55 cd 61 2b b2 3b f3 | 8b ce a2 5d 14 c2 a3 d9 56 13 aa 72 0d 17 0e 4b | 7e fb 97 75 cb 37 5d 0e e1 e7 ca e1 fc fc 71 4f | dc 67 b0 31 e4 67 33 b2 b4 55 d5 a4 94 8a 4c b2 | a6 fa df e5 17 2c 28 4f 15 7e 9b c7 c4 2b 4b df | 47 ec 03 2b e4 c8 74 d4 b5 0c 8a 95 d8 23 9d 59 | ec e4 92 3c 8f 4a 42 1f 75 bc 67 70 e7 7e 4b bc | fb cd 9e 63 89 f2 e1 e9 30 b1 eb 5e d7 1f 2c 8e | 20 29 0d 84 20 9c b5 e8 41 48 30 fc ce ab b7 29 | 80 64 6a c1 6c 82 71 a8 c1 35 3b 3e 9c 06 62 80 | 12 30 76 a3 85 96 dc 43 35 cf 0c 2d aa 05 80 5c | 33 0c 91 e9 52 fb ff 64 d2 7c d8 02 d5 e1 18 d7 | 4c 91 6f 8f 5a 94 6e 79 0f ac 14 d5 cd 25 10 b8 | 0b 6b 9c a4 88 96 50 1d 84 ca f4 55 cb 0a d6 92 | 4c f0 0c 88 aa b8 ba d3 a0 0f 3c e7 c3 2e 2f 6b | f7 0b 36 02 63 09 da 11 5b 91 4a 5b 90 0f bd 4e | 71 ab 4c a9 df 5a c4 52 aa 14 0e 98 71 45 9d fa | 16 f9 b3 19 6b cd 89 a4 de 9d 8b c9 15 18 02 3f | 87 | releasing whack for #6 (sock=fd@-1) | releasing whack and unpending for parent #1 | unpending state #1 connection "westnet-eastnet-ikev2b" | #6 will start re-keying in 28530 seconds with margin of 270 seconds (attempting re-key) | state #6 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x7efe0c0027d8 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x55638b27e808 | event_schedule: new EVENT_SA_REKEY-pe@0x55638b27e808 | inserting event EVENT_SA_REKEY, timeout in 28530 seconds for #6 | libevent_malloc: new ptr-libevent@0x7efe04000f48 size 128 | #6 spent 1.07 milliseconds in resume sending helper answer | stop processing: state #6 connection "westnet-eastnet-ikev2b" from 192.1.2.45:500 (in resume_handler() at server.c:833) | libevent_free: release ptr-libevent@0x7efe08003a78 | spent 0.00283 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 661 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 62 4c 8c 71 5d 06 ad 37 d1 b8 66 fe a6 e7 2c 71 | 2e 20 24 08 00 00 00 0a 00 00 02 95 21 00 02 79 | e6 a0 54 fa ab 48 79 cd 1a 8a 28 e7 7a 6f 0c 6e | 26 e3 4f b3 46 c3 39 8a db 4d 6b f9 45 ee ed 9a | 5d b1 af 8e 06 ca e3 09 be bb ff a2 4a dd ac ae | 99 a6 52 ca 54 33 28 f1 4e 6b a1 b3 f7 60 09 59 | 94 45 06 6d 58 ec 13 13 69 da df ff 65 a6 87 f2 | 9b 37 47 29 90 ca 05 08 b1 09 14 4a 0d 2d dc 47 | d9 f2 f3 54 4e 52 4c 8b 3b 17 ed 84 68 7b 8e e3 | f4 e0 df 6c 14 43 6e f5 bd a1 d1 bb 7b 8e 37 d9 | 85 d1 51 36 24 68 ed 11 ae 59 af 6a 13 85 8d 6b | b0 4f e0 4d 09 bf be f4 5b dc ca b4 80 c2 d1 96 | 02 67 26 4b 94 f9 80 2b 83 c0 4b bd d4 88 11 8c | b4 c0 d9 a9 04 00 b1 87 7e f5 4e d4 fb c6 93 cb | dd 78 f2 b5 b4 97 3a 30 bc fe ea 28 fb 3e 23 0e | db b6 39 77 3b a0 b5 b6 d5 c7 c1 ec ec 66 b1 9c | 87 c0 96 f6 8c c2 84 82 c0 58 67 98 f4 84 c2 45 | 6b 1e a5 33 f3 7a 44 01 f7 ba b7 86 bd aa 5f 71 | 21 90 ba ff 11 1f f2 9c 00 ad 62 f9 23 9e 34 39 | 8d fb c2 c0 d9 fc c4 39 43 0e d0 ed 48 00 b5 8b | 9c bf 82 6d 41 4f de 94 8a d4 ac 60 9f f1 1b de | a6 35 38 47 7f 65 33 05 b7 08 0b 11 01 6b 6d 4e | 28 ea f6 d2 03 c1 32 52 fb b0 82 7e 81 21 24 5e | 78 2b 78 b1 c5 2e 18 fc 6e 59 2b 4a 47 f7 d5 50 | e8 ba ca 91 5c 1f e8 8b f5 a3 24 1c 7a 14 76 4f | d4 b1 d7 40 9f 1b 08 92 00 6c 79 16 43 78 b6 eb | 5c 6b b8 77 a8 bc cf 32 9a 68 ee 98 e3 59 e3 48 | 77 55 2a 75 e8 a3 46 f9 c0 0f 8f 85 eb 4d 17 8a | 45 6f a2 a8 b4 77 37 60 2a eb 5a f7 0b bc 2c 72 | 08 04 5d a1 5a 34 e1 78 55 28 d5 57 65 29 84 1a | c6 2c ed 5d 18 3b 7c 1d bc ce 66 f2 fa b9 02 a7 | 3b 1f aa 3f db 1e 91 d2 40 5f 7d 93 95 bc 25 8c | 26 58 6c 32 4f ab 67 f5 37 0d bb 61 20 06 71 5b | c0 86 b0 c3 37 56 1a c1 84 fe 57 ea d8 a2 f9 58 | c2 7a eb fa 93 5d 38 dc a9 f2 eb ff 2c dd 8a af | ca 71 01 ca a5 e9 34 bd ae 53 6a 00 8b bf 9d bb | f2 d1 af 6d aa 33 93 80 dc 46 aa dd 89 0c 1d 23 | b2 49 03 64 0b 1d 06 ba 42 b2 cb 12 9e 6b 46 11 | 4e 2d 94 41 a8 ef 00 0f 07 32 07 64 5f 38 c4 13 | c1 74 cb 39 02 85 66 68 7f f3 79 71 5b 44 ac e3 | c2 b6 a5 64 af fd 89 29 72 e5 f0 34 86 4a 58 d7 | be c1 9b db 55 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 62 4c 8c 71 5d 06 ad 37 | responder cookie: | d1 b8 66 fe a6 e7 2c 71 | next payload type: ISAKMP_NEXT_v2SK (0x2e) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_CREATE_CHILD_SA (0x24) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 10 (0xa) | length: 661 (0x295) | processing version=2.0 packet with exchange type=ISAKMP_v2_CREATE_CHILD_SA (36) | I am the IKE SA Original Responder receiving an IKEv2 CREATE_CHILD_SA request | State DB: found IKEv2 state #1 in PARENT_R2 (find_v2_ike_sa) | start processing: state #1 connection "westnet-eastnet-ikev2c" 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-ikev2c" from 192.1.2.45:500 (in ike_process_packet() at ikev2.c:2064) | #1 st.st_msgid_lastrecv 9 md.hdr.isa_msgid 0000000a | Message ID: #1 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=9 responder.recv=9 | unpacking clear payload | Now let's proceed with payload (ISAKMP_NEXT_v2SK) | ***parse IKEv2 Encryption Payload: | next payload type: ISAKMP_NEXT_v2SA (0x21) | flags: none (0x0) | length: 633 (0x279) | processing payload: ISAKMP_NEXT_v2SK (len=629) | Message ID: start-responder #1 request 10; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=9 responder.recv=9 wip.initiator=-1 wip.responder=-1->10 | #1 in state PARENT_R2: received v2I2, PARENT SA established | #1 ikev2 ISAKMP_v2_CREATE_CHILD_SA decrypt success | Now let's proceed with payload (ISAKMP_NEXT_v2SA) | **parse IKEv2 Security Association Payload: | next payload type: ISAKMP_NEXT_v2Ni (0x28) | flags: none (0x0) | length: 196 (0xc4) | processing payload: ISAKMP_NEXT_v2SA (len=192) | Now let's proceed with payload (ISAKMP_NEXT_v2Ni) | **parse IKEv2 Nonce Payload: | next payload type: ISAKMP_NEXT_v2KE (0x22) | flags: none (0x0) | length: 36 (0x24) | processing payload: ISAKMP_NEXT_v2Ni (len=32) | Now let's proceed with payload (ISAKMP_NEXT_v2KE) | **parse IKEv2 Key Exchange Payload: | next payload type: ISAKMP_NEXT_v2N (0x29) | 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_v2N) | **parse IKEv2 Notify Payload: | next payload type: ISAKMP_NEXT_v2TSi (0x2c) | flags: none (0x0) | length: 12 (0xc) | Protocol ID: PROTO_v2_ESP (0x3) | SPI size: 4 (0x4) | Notify Message Type: v2N_REKEY_SA (0x4009) | processing payload: ISAKMP_NEXT_v2N (len=4) | 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: 48 (0x30) | number of TS: 1 (0x1) | processing payload: ISAKMP_NEXT_v2TSi (len=40) | 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: 48 (0x30) | number of TS: 1 (0x1) | processing payload: ISAKMP_NEXT_v2TSr (len=40) | state #1 forced to match CREATE_CHILD_SA from V2_CREATE_R->V2_IPSEC_R by ignoring from state | selected state microcode Respond to CREATE_CHILD_SA IPsec SA Request | #1 updating local interface from 192.1.2.23:500 to 192.1.2.23:500 using md->iface (in update_ike_endpoints() at state.c:2669) | creating state object #7 at 0x55638b28fae8 | State DB: adding IKEv2 state #7 in UNDEFINED | pstats #7 ikev2.child started | duplicating state object #1 "westnet-eastnet-ikev2c" as #7 for IPSEC SA | #7 setting local endpoint to 192.1.2.23:500 from #1.st_localport (in duplicate_state() at state.c:1484) | Message ID: init_child #1.#7; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=9 responder.recv=9; child: wip.initiator=0->-1 wip.responder=0->-1 | child state #7: UNDEFINED(ignore) => V2_CREATE_R(established IKE SA) | "westnet-eastnet-ikev2c" #1 received Child SA Request CREATE_CHILD_SA from 192.1.2.45:500 Child "westnet-eastnet-ikev2c" #7 in STATE_V2_CREATE_R will process it further | Message ID: switch-from #1 request 10; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=9 responder.recv=9 wip.initiator=-1 wip.responder=10->-1 | Message ID: switch-to #1.#7 request 10; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=9 responder.recv=9; child: wip.initiator=-1 wip.responder=-1->10 | forcing ST #1 to CHILD #1.#7 in FSM processor | Now let's proceed with state specific processing | calling processor Respond to CREATE_CHILD_SA IPsec SA Request | using existing local ESP/AH proposals for westnet-eastnet-ikev2c (CREATE_CHILD_SA responder matching remote ESP/AH proposals): 1:ESP:ENCR=AES_GCM_C_256;INTEG=NONE;DH=MODP2048;ESN=DISABLED 2:ESP:ENCR=AES_GCM_C_128;INTEG=NONE;DH=MODP2048;ESN=DISABLED 3:ESP:ENCR=AES_CBC_256;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=MODP2048;ESN=DISABLED 4:ESP:ENCR=AES_CBC_128;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=MODP2048;ESN=DISABLED | Comparing remote proposals against CREATE_CHILD_SA 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+DH+ESN; optional: INTEG | 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+DH+ESN; optional: INTEG | 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+DH+ESN; optional: none | 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+DH+ESN; optional: none | ***parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_NON_LAST (0x2) | length: 40 (0x28) | prop #: 1 (0x1) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (0x4) | # transforms: 3 (0x3) | parsing 4 raw bytes of IKEv2 Proposal Substructure Payload into remote SPI | remote SPI 34 42 00 aa | Comparing remote proposal 1 containing 3 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_GCM_C (0x14) | *****parse IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 256 (0x100) | remote proposal 1 transform 0 (ENCR=AES_GCM_C_256) matches local proposal 1 type 1 (ENCR) transform 0 | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP2048 (0xe) | remote proposal 1 transform 1 (DH=MODP2048) matches local proposal 1 type 4 (DH) transform 0 | remote proposal 1 transform 1 (DH=MODP2048) matches local proposal 2 type 4 (DH) transform 0 | remote proposal 1 transform 1 (DH=MODP2048) matches local proposal 3 type 4 (DH) transform 0 | remote proposal 1 transform 1 (DH=MODP2048) matches local proposal 4 type 4 (DH) transform 0 | ****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 2 (ESN=DISABLED) matches local proposal 1 type 5 (ESN) transform 0 | remote proposal 1 transform 2 (ESN=DISABLED) matches local proposal 2 type 5 (ESN) transform 0 | remote proposal 1 transform 2 (ESN=DISABLED) matches local proposal 3 type 5 (ESN) transform 0 | remote proposal 1 transform 2 (ESN=DISABLED) matches local proposal 4 type 5 (ESN) transform 0 | remote proposal 1 proposed transforms: ENCR+DH+ESN; matched: ENCR+DH+ESN; unmatched: none | comparing remote proposal 1 containing ENCR+DH+ESN transforms to local proposal 1; required: ENCR+DH+ESN; optional: INTEG; matched: ENCR+DH+ESN | remote proposal 1 matches local proposal 1 | ***parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_NON_LAST (0x2) | length: 40 (0x28) | prop #: 2 (0x2) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (0x4) | # transforms: 3 (0x3) | parsing 4 raw bytes of IKEv2 Proposal Substructure Payload into remote SPI | remote SPI 34 42 00 aa | Comparing remote proposal 2 containing 3 transforms against local proposal [1..0] 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_GCM_C (0x14) | *****parse IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 128 (0x80) | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP2048 (0xe) | ****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 2 proposed transforms: ENCR+DH+ESN; matched: none; unmatched: ENCR+DH+ESN | remote proposal 2 does not match; unmatched remote transforms: ENCR+DH+ESN | ***parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_NON_LAST (0x2) | length: 56 (0x38) | prop #: 3 (0x3) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (0x4) | # transforms: 5 (0x5) | parsing 4 raw bytes of IKEv2 Proposal Substructure Payload into remote SPI | remote SPI 34 42 00 aa | Comparing remote proposal 3 containing 5 transforms against local proposal [1..0] 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) | ****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_512_256 (0xe) | ****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) | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP2048 (0xe) | ****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 3 proposed transforms: ENCR+INTEG+DH+ESN; matched: none; unmatched: ENCR+INTEG+DH+ESN | remote proposal 3 does not match; unmatched remote transforms: ENCR+INTEG+DH+ESN | ***parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | length: 56 (0x38) | prop #: 4 (0x4) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (0x4) | # transforms: 5 (0x5) | parsing 4 raw bytes of IKEv2 Proposal Substructure Payload into remote SPI | remote SPI 34 42 00 aa | Comparing remote proposal 4 containing 5 transforms against local proposal [1..0] 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) | ****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_512_256 (0xe) | ****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) | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP2048 (0xe) | ****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 4 proposed transforms: ENCR+INTEG+DH+ESN; matched: none; unmatched: ENCR+INTEG+DH+ESN | remote proposal 4 does not match; unmatched remote transforms: ENCR+INTEG+DH+ESN "westnet-eastnet-ikev2c" #1: proposal 1:ESP:SPI=344200aa;ENCR=AES_GCM_C_256;DH=MODP2048;ESN=DISABLED chosen from remote proposals 1:ESP:ENCR=AES_GCM_C_256;DH=MODP2048;ESN=DISABLED[first-match] 2:ESP:ENCR=AES_GCM_C_128;DH=MODP2048;ESN=DISABLED 3:ESP:ENCR=AES_CBC_256;INTEG=HMAC_SHA2_512_256;INTEG=HMAC_SHA2_256_128;DH=MODP2048;ESN=DISABLED 4:ESP:ENCR=AES_CBC_128;INTEG=HMAC_SHA2_512_256;INTEG=HMAC_SHA2_256_128;DH=MODP2048;ESN=DISABLED | CREATE_CHILD_SA responder matching remote ESP/AH proposals ikev2_proposal: 1:ESP:SPI=344200aa;ENCR=AES_GCM_C_256;DH=MODP2048;ESN=DISABLED | converting proposal to internal trans attrs | updating #7's .st_oakley with preserved PRF, but why update? | received v2N_REKEY_SA | child state #7: V2_CREATE_R(established IKE SA) => V2_REKEY_CHILD_R(established IKE SA) | CREATE_CHILD_SA IPsec SA rekey Protocol PROTO_v2_ESP | parsing 4 raw bytes of IKEv2 Notify Payload into SPI | SPI bc ed 5c 72 | CREATE_CHILD_S to rekey IPsec SA(0xbced5c72) Protocol PROTO_v2_ESP | 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) | #7 rekey request for "westnet-eastnet-ikev2c" #4 TSi TSr | printing contents struct traffic_selector | ts_type: IKEv2_TS_IPV4_ADDR_RANGE | ipprotoid: 0 | port range: 0-65535 | ip range: 192.0.201.0-192.0.201.255 | printing contents struct traffic_selector | ts_type: IKEv2_TS_IPV4_ADDR_RANGE | ipprotoid: 0 | port range: 0-65535 | ip range: 192.0.101.0-192.0.101.255 | adding Child Rekey Responder KE and nonce nr work-order 11 for state #7 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x7efdf8002b78 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #7 | libevent_malloc: new ptr-libevent@0x7efe08003a78 size 128 | #7 spent 0.278 milliseconds in processing: Respond to CREATE_CHILD_SA IPsec SA Request in ikev2_process_state_packet() | suspend processing: state #1 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | start processing: state #7 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | crypto helper 6 resuming | crypto helper 6 starting work-order 11 for state #7 | crypto helper 6 doing build KE and nonce (Child Rekey Responder KE and nonce nr); request ID 11 | #7 complete_v2_state_transition() md.from_state=V2_CREATE_R md.svm.state[from]=V2_CREATE_R V2_REKEY_CHILD_R->V2_IPSEC_R with status STF_SUSPEND | suspending state #7 and saving MD | #7 is busy; has a suspended MD | [RE]START processing: state #7 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in log_stf_suspend() at ikev2.c:3269) | "westnet-eastnet-ikev2c" #7 complete v2 state STATE_V2_REKEY_CHILD_R transition with STF_SUSPEND suspended from complete_v2_state_transition:3451 | stop processing: state #7 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2018) | #1 spent 0.55 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.559 milliseconds in comm_handle_cb() reading and processing packet | crypto helper 6 finished build KE and nonce (Child Rekey Responder KE and nonce nr); request ID 11 time elapsed 0.000971 seconds | (#7) spent 0.957 milliseconds in crypto helper computing work-order 11: Child Rekey Responder KE and nonce nr (pcr) | crypto helper 6 sending results from work-order 11 for state #7 to event queue | scheduling resume sending helper answer for #7 | libevent_malloc: new ptr-libevent@0x7efdfc005fb8 size 128 | crypto helper 6 waiting (nothing to do) | processing resume sending helper answer for #7 | start processing: state #7 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in resume_handler() at server.c:797) | crypto helper 6 replies to request ID 11 | calling continuation function 0x55638afa9b50 | ikev2_child_inIoutR_continue for #7 STATE_V2_REKEY_CHILD_R | adding DHv2 for child sa work-order 12 for state #7 | state #7 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x7efe08003a78 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x7efdf8002b78 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x7efdf8002b78 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #7 | libevent_malloc: new ptr-libevent@0x7efe08003a78 size 128 | [RE]START processing: state #7 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #7 complete_v2_state_transition() md.from_state=V2_CREATE_R md.svm.state[from]=V2_CREATE_R V2_REKEY_CHILD_R->V2_IPSEC_R with status STF_SUSPEND | suspending state #7 and saving MD | #7 is busy; has a suspended MD | crypto helper 3 resuming | crypto helper 3 starting work-order 12 for state #7 | crypto helper 3 doing crypto (DHv2 for child sa); request ID 12 | [RE]START processing: state #7 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in log_stf_suspend() at ikev2.c:3269) | "westnet-eastnet-ikev2c" #7 complete v2 state STATE_V2_REKEY_CHILD_R transition with STF_SUSPEND suspended from complete_v2_state_transition:3451 | resume sending helper answer for #7 suppresed complete_v2_state_transition() and stole MD | #7 spent 0.0977 milliseconds in resume sending helper answer | stop processing: state #7 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in resume_handler() at server.c:833) | libevent_free: release ptr-libevent@0x7efdfc005fb8 | crypto helper 3 finished crypto (DHv2 for child sa); request ID 12 time elapsed 0.000962 seconds | (#7) spent 0.963 milliseconds in crypto helper computing work-order 12: DHv2 for child sa (dh) | crypto helper 3 sending results from work-order 12 for state #7 to event queue | scheduling resume sending helper answer for #7 | libevent_malloc: new ptr-libevent@0x7efe000027d8 size 128 | crypto helper 3 waiting (nothing to do) | processing resume sending helper answer for #7 | start processing: state #7 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in resume_handler() at server.c:797) | crypto helper 3 replies to request ID 12 | calling continuation function 0x55638afaa9d0 | ikev2_child_inIoutR_continue_continue for #7 STATE_V2_REKEY_CHILD_R | **emit ISAKMP Message: | initiator cookie: | 62 4c 8c 71 5d 06 ad 37 | responder cookie: | d1 b8 66 fe a6 e7 2c 71 | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_CREATE_CHILD_SA (0x24) | flags: ISAKMP_FLAG_v2_MSG_RESPONSE (0x20) | Message ID: 10 (0xa) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | ***emit IKEv2 Encryption Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'ISAKMP Message'.'next payload type' to current IKEv2 Encryption Payload (46:ISAKMP_NEXT_v2SK) | next payload chain: saving location 'IKEv2 Encryption Payload'.'next payload type' in 'reply packet' | emitting 8 zero bytes of IV into IKEv2 Encryption Payload | #7 inherit spd, TSi TSr, from "westnet-eastnet-ikev2c" #4 | printing contents struct traffic_selector | ts_type: IKEv2_TS_IPV4_ADDR_RANGE | ipprotoid: 0 | port range: 0-65535 | ip range: 192.0.201.0-192.0.201.255 | printing contents struct traffic_selector | ts_type: IKEv2_TS_IPV4_ADDR_RANGE | ipprotoid: 0 | port range: 0-65535 | ip range: 192.0.101.0-192.0.101.255 | netlink_get_spi: allocated 0x5ea15145 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 Encryption Payload'.'next payload type' to current IKEv2 Security Association Payload (33:ISAKMP_NEXT_v2SA) | next payload chain: saving location 'IKEv2 Security Association Payload'.'next payload type' in 'reply packet' | *****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 5e a1 51 45 | ******emit IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | IKEv2 transform type: TRANS_TYPE_ENCR (0x1) | IKEv2 transform ID: AES_GCM_C (0x14) | last substructure: saving location 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' | *******emit IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 256 (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_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 | ******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 Nonce Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'IKEv2 Security Association 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 91 ca 9f 17 2d 3b e9 d0 35 92 6d f6 f7 71 7d 8b | IKEv2 nonce 99 7c 03 1e 7a d4 47 1e 61 52 f1 f3 49 c5 63 0a | emitting length of IKEv2 Nonce Payload: 36 | ****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 Nonce 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 aa 5a 82 7e 63 08 46 2d 1e 21 c7 2b 92 19 a5 67 | ikev2 g^x 18 f6 0d ab 78 37 f5 bb 83 8d 83 28 5d ce d0 5b | ikev2 g^x 71 c4 87 97 5d c8 f9 15 3a 5e a8 9c 3c 53 f4 30 | ikev2 g^x cb 8a 58 f5 e4 ba 73 eb dd a6 9c f6 e6 e5 87 4d | ikev2 g^x 8c 0f c9 49 89 b0 f9 2c 43 95 98 23 48 3a ab bd | ikev2 g^x 0b 7c e5 de d6 73 df 65 b8 71 bc ba fb d2 6c d1 | ikev2 g^x 66 5d 9c 02 d9 11 bc b2 e6 49 82 a0 36 4c e3 fe | ikev2 g^x 94 3c 43 f7 04 8c 7c de 46 b5 e4 7c fe 6e f1 d4 | ikev2 g^x d5 3d 09 92 87 c4 6e d3 ec 43 03 5c 52 f7 92 79 | ikev2 g^x e2 d3 94 e8 cf a7 f9 9f 41 85 09 fc c3 44 0c 04 | ikev2 g^x ad 85 2a 68 1b 7a 95 1a 64 3e d4 11 3d 7f 8d ed | ikev2 g^x 5d cd ff 25 c3 04 83 b1 13 13 82 97 1a a8 32 63 | ikev2 g^x f9 46 05 20 e9 b1 e4 b4 be f4 df bd 21 9e ac 6b | ikev2 g^x 50 9f 9b 0e be 99 3e 50 0e b1 dc d4 eb 70 43 ed | ikev2 g^x c9 09 00 5e 9a 92 10 44 a5 a5 2e f2 bb d0 93 e0 | ikev2 g^x 51 90 c0 4c 04 ee 7d a1 4e b0 5e bc 1b cb 8a 73 | emitting length of IKEv2 Key Exchange Payload: 264 | received REKEY_SA already proceesd | ****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 Key Exchange Payload'.'next payload type' to current IKEv2 Traffic Selector - Initiator - Payload (44:ISAKMP_NEXT_v2TSi) | next payload chain: saving location 'IKEv2 Traffic Selector - Initiator - Payload'.'next payload type' in 'reply packet' | *****emit IKEv2 Traffic Selector: | TS type: IKEv2_TS_IPV4_ADDR_RANGE (0x7) | IP Protocol ID: 0 (0x0) | start port: 0 (0x0) | end port: 65535 (0xffff) | emitting 4 raw bytes of ipv4 start into IKEv2 Traffic Selector | ipv4 start c0 00 65 00 | emitting 4 raw bytes of ipv4 end into IKEv2 Traffic Selector | ipv4 end c0 00 65 ff | emitting length of IKEv2 Traffic Selector: 16 | emitting length of IKEv2 Traffic Selector - Initiator - Payload: 24 | ****emit IKEv2 Traffic Selector - Responder - Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | number of TS: 1 (0x1) | next payload chain: setting previous 'IKEv2 Traffic Selector - Initiator - Payload'.'next payload type' to current IKEv2 Traffic Selector - Responder - Payload (45:ISAKMP_NEXT_v2TSr) | next payload chain: saving location 'IKEv2 Traffic Selector - Responder - Payload'.'next payload type' in 'reply packet' | *****emit IKEv2 Traffic Selector: | TS type: IKEv2_TS_IPV4_ADDR_RANGE (0x7) | IP Protocol ID: 0 (0x0) | start port: 0 (0x0) | end port: 65535 (0xffff) | emitting 4 raw bytes of ipv4 start into IKEv2 Traffic Selector | ipv4 start c0 00 c9 00 | emitting 4 raw bytes of ipv4 end into IKEv2 Traffic Selector | ipv4 end c0 00 c9 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=none: .key_size=0 encrypt=aes_gcm_16: .key_size=32 .salt_size=4 keymat_len=36 | install_ipsec_sa() for #7: inbound and outbound | could_route called for westnet-eastnet-ikev2c (kind=CK_PERMANENT) | FOR_EACH_CONNECTION_... in route_owner | conn westnet-eastnet-ikev2c mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ikev2c mark 0/00000000, 0/00000000 | conn westnet-eastnet-ikev2c mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ikev2b mark 0/00000000, 0/00000000 | conn westnet-eastnet-ikev2c mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ikev2a mark 0/00000000, 0/00000000 | route owner of "westnet-eastnet-ikev2c" erouted: self; eroute owner: self | looking for alg with encrypt: AES_GCM_16 keylen: 256 integ: NONE | encrypt AES_GCM_16 keylen=256 transid=20, key_size=32, encryptalg=20 | AES_GCM_16 requires 4 salt bytes | st->st_esp.keymat_len=36 is encrypt_keymat_size=36 + integ_keymat_size=0 | setting IPsec SA replay-window to 32 | NIC esp-hw-offload not for connection 'westnet-eastnet-ikev2c' 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.344200aa@192.1.2.45 included non-error error | set up outgoing SA, ref=0/0 | looking for alg with encrypt: AES_GCM_16 keylen: 256 integ: NONE | encrypt AES_GCM_16 keylen=256 transid=20, key_size=32, encryptalg=20 | AES_GCM_16 requires 4 salt bytes | st->st_esp.keymat_len=36 is encrypt_keymat_size=36 + integ_keymat_size=0 | setting IPsec SA replay-window to 32 | NIC esp-hw-offload not for connection 'westnet-eastnet-ikev2c' 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.5ea15145@192.1.2.23 included non-error error | set up incoming SA, ref=0/0 | sr for #7: erouted | route_and_eroute() for proto 0, and source port 0 dest port 0 | FOR_EACH_CONNECTION_... in route_owner | conn westnet-eastnet-ikev2c mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ikev2c mark 0/00000000, 0/00000000 | conn westnet-eastnet-ikev2c mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ikev2b mark 0/00000000, 0/00000000 | conn westnet-eastnet-ikev2c mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ikev2a mark 0/00000000, 0/00000000 | route owner of "westnet-eastnet-ikev2c" erouted: self; eroute owner: self | route_and_eroute with c: westnet-eastnet-ikev2c (next: none) ero:westnet-eastnet-ikev2c esr:{(nil)} ro:westnet-eastnet-ikev2c rosr:{(nil)} and state: #7 | priority calculation of connection "westnet-eastnet-ikev2c" is 0xfe7e7 | eroute_connection replace eroute 192.0.201.0/24:0 --0-> 192.0.101.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 | route_and_eroute: firewall_notified: true | route_and_eroute: instance "westnet-eastnet-ikev2c", setting eroute_owner {spd=0x55638b26f448,sr=0x55638b26f448} to #7 (was #4) (newest_ipsec_sa=#4) | #1 spent 0.21 milliseconds in install_ipsec_sa() | ISAKMP_v2_CREATE_CHILD_SA: instance westnet-eastnet-ikev2c[0], setting IKEv2 newest_ipsec_sa to #7 (was #4) (spd.eroute=#7) cloned from #1 | adding 1 bytes of padding (including 1 byte padding-length) | emitting 1 0x00 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: 421 | emitting length of ISAKMP Message: 449 "westnet-eastnet-ikev2c" #7: negotiated new IPsec SA [192.0.201.0-192.0.201.255:0-65535 0] -> [192.0.101.0-192.0.101.255:0-65535 0] | [RE]START processing: state #7 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #7 complete_v2_state_transition() md.from_state=V2_CREATE_R md.svm.state[from]=V2_CREATE_R V2_REKEY_CHILD_R->V2_IPSEC_R with status STF_OK | IKEv2: transition from state STATE_V2_CREATE_R to state STATE_V2_IPSEC_R | child state #7: V2_REKEY_CHILD_R(established IKE SA) => V2_IPSEC_R(established CHILD SA) | Message ID: updating counters for #7 to 10 after switching state | Message ID: recv #1.#7 request 10; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=9 responder.recv=9->10; child: wip.initiator=-1 wip.responder=10->-1 | Message ID: sent #1.#7 response 10; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=9->10 responder.recv=10; child: wip.initiator=-1 wip.responder=-1 | pstats #7 ikev2.child established "westnet-eastnet-ikev2c" #7: negotiated connection [192.0.201.0-192.0.201.255:0-65535 0] -> [192.0.101.0-192.0.101.255:0-65535 0] | NAT-T: encaps is 'auto' "westnet-eastnet-ikev2c" #7: STATE_V2_IPSEC_R: IPsec SA established tunnel mode {ESP=>0x344200aa <0x5ea15145 xfrm=AES_GCM_16_256-NONE-MODP2048 NATOA=none NATD=none DPD=passive} | sending V2 new request packet to 192.1.2.45:500 (from 192.1.2.23:500) | sending 449 bytes for STATE_V2_CREATE_R through eth1 from 192.1.2.23:500 to 192.1.2.45:500 (using #1) | 62 4c 8c 71 5d 06 ad 37 d1 b8 66 fe a6 e7 2c 71 | 2e 20 24 20 00 00 00 0a 00 00 01 c1 21 00 01 a5 | 73 2b 50 ea 2c 70 21 e3 d1 67 0a f4 83 1d 45 58 | 7b fa 45 b6 70 cc bd 22 dd 3f a2 f4 d1 da e1 68 | e9 f9 01 37 15 59 df e8 7f 0a ca 01 e8 50 f7 37 | c2 46 91 c8 ed 80 61 ce 3c 09 a8 26 08 00 13 00 | 8d 6c 04 42 ec 10 1f 5a 55 35 06 37 a4 cf 81 31 | 41 57 be 89 2d 56 5e 9f 54 e9 5f 92 f6 79 d4 ad | 77 89 51 b8 88 e5 6d 14 26 01 2c 26 07 8e 0c f5 | 5f f5 ac 82 ba 5c 39 ce d6 91 56 0a bc bd dd 4c | d7 94 d8 40 3b 5c b6 25 dd 91 87 3c 1b e6 06 ed | ae 46 7c fc ab 29 ae 43 bc 38 ec 7a 7f 68 57 2e | cd 1a 2e a8 84 12 a9 aa 6b c4 d4 76 d8 6a 13 11 | 3a b2 1b ff 9a f8 92 00 52 4a e7 db 17 97 b8 32 | 15 23 65 76 b3 a7 8c 4c 72 22 fc 01 0e f1 b6 16 | ec df 5b 30 28 8f 1c da 02 b7 a4 5d 53 52 16 fe | b7 93 da 8f cd 74 59 ae 93 6c 8e f5 de 4e 2c b8 | a6 ec 90 33 01 3c 16 60 32 b3 1d 87 13 33 03 57 | c8 88 ed 60 f6 0a 22 9c 53 c8 ef d0 d6 b2 f2 cf | 18 9b 5b 14 bb 98 87 51 40 b7 41 d6 8e 20 c7 b8 | ff a1 49 80 ae 78 1a 05 22 d3 96 f5 f3 0d 09 5b | 40 b5 5b 06 4e ed 34 13 cb 8f fa 72 5d e9 6e 3d | d2 f8 62 f9 9d 52 80 b6 18 f9 81 3a 35 e2 6e 9d | b8 16 ef 3b 5a 8b d6 63 58 fa df ca 06 3f 0e c0 | 41 c5 8d 69 3a 37 af 83 b9 1c 3d 1d 80 68 32 35 | 95 8d ed 2b a9 36 b6 9b 27 6c c2 fc c0 d6 d2 db | a0 08 10 32 2d 85 1e ac f0 bb f3 55 41 89 f3 38 | 9f fd 2f a2 48 73 f4 59 96 4d d6 bf 82 a6 84 29 | 5b | releasing whack for #7 (sock=fd@-1) | releasing whack and unpending for parent #1 | unpending state #1 connection "westnet-eastnet-ikev2c" | #7 will start re-keying in 28530 seconds with margin of 270 seconds (attempting re-key) | state #7 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x7efe08003a78 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x7efdf8002b78 | event_schedule: new EVENT_SA_REKEY-pe@0x7efdf8002b78 | inserting event EVENT_SA_REKEY, timeout in 28530 seconds for #7 | libevent_malloc: new ptr-libevent@0x7efdfc005fb8 size 128 | #7 spent 0.653 milliseconds in resume sending helper answer | stop processing: state #7 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in resume_handler() at server.c:833) | libevent_free: release ptr-libevent@0x7efe000027d8 | spent 0.0117 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 69 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 62 4c 8c 71 5d 06 ad 37 d1 b8 66 fe a6 e7 2c 71 | 2e 20 25 08 00 00 00 0b 00 00 00 45 2a 00 00 29 | 96 14 69 7e 34 9c dd 12 83 9f 19 15 f5 1b 6a 61 | d7 68 d8 d7 97 e3 7b a6 ca 02 5c 77 37 06 7b ef | 39 17 de 30 fe | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 62 4c 8c 71 5d 06 ad 37 | responder cookie: | d1 b8 66 fe a6 e7 2c 71 | 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: 11 (0xb) | length: 69 (0x45) | 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-ikev2c" 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-ikev2c" from 192.1.2.45:500 (in ike_process_packet() at ikev2.c:2064) | #1 st.st_msgid_lastrecv 10 md.hdr.isa_msgid 0000000b | Message ID: #1 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=10 responder.recv=10 | 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: 41 (0x29) | processing payload: ISAKMP_NEXT_v2SK (len=37) | Message ID: start-responder #1 request 11; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=10 responder.recv=10 wip.initiator=-1 wip.responder=-1->11 | #1 in state PARENT_R2: received v2I2, PARENT SA established | #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: | 62 4c 8c 71 5d 06 ad 37 | responder cookie: | d1 b8 66 fe a6 e7 2c 71 | 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: 11 (0xb) | 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 8 zero bytes of IV into IKEv2 Encryption Payload | parsing 4 raw bytes of IKEv2 Delete Payload into SPI | SPI dc 79 96 83 | delete PROTO_v2_ESP SA(0xdc799683) | 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(0xdc799683) "westnet-eastnet-ikev2c" #1: received Delete SA payload: delete IPsec State #2 now | pstats #2 ikev2.child deleted completed | suspend processing: state #1 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in delete_state() at state.c:879) | start processing: state #2 connection "westnet-eastnet-ikev2a" from 192.1.2.45:500 (in delete_state() at state.c:879) "westnet-eastnet-ikev2a" #2: deleting other state #2 connection (STATE_V2_IPSEC_R) "westnet-eastnet-ikev2a" aged 25.082s and NOT sending notification | child state #2: V2_IPSEC_R(established CHILD SA) => delete | get_sa_info esp.dc799683@192.1.2.45 | get_sa_info esp.dc069d82@192.1.2.23 "westnet-eastnet-ikev2a" #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@0x55638b2767f8 | free_event_entry: release EVENT_SA_REKEY-pe@0x7efe0c002b78 | delete esp.dc799683@192.1.2.45 | netlink response for Del SA esp.dc799683@192.1.2.45 included non-error error | delete esp.dc069d82@192.1.2.23 | netlink response for Del SA esp.dc069d82@192.1.2.23 included non-error error | in connection_discard for connection westnet-eastnet-ikev2a | 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-ikev2c" 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 dc 06 9d 82 | emitting length of IKEv2 Delete Payload: 12 | adding 1 bytes of padding (including 1 byte padding-length) | emitting 1 0x00 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: 41 | emitting length of ISAKMP Message: 69 | sending 69 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) | 62 4c 8c 71 5d 06 ad 37 d1 b8 66 fe a6 e7 2c 71 | 2e 20 25 20 00 00 00 0b 00 00 00 45 2a 00 00 29 | 3c fc 38 4f 6a 62 6f 51 ad 7d 9d 91 a2 ca d8 50 | 62 7c 60 7f af f0 db 25 85 cd c4 e9 b8 9c c1 7a | b1 e4 98 8c 36 | 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=10 responder.recv=10 wip.initiator=-1 wip.responder=11 | Message ID: sent #1 response 11; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=10->11 responder.recv=10 wip.initiator=-1 wip.responder=11 | #1 spent 0.946 milliseconds in processing: R2: process INFORMATIONAL Request in ikev2_process_state_packet() | [RE]START processing: state #1 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #1 complete_v2_state_transition() PARENT_R2->PARENT_R2 with status STF_OK | Message ID: updating counters for #1 to 11 after switching state | Message ID: recv #1 request 11; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=11 responder.recv=10->11 wip.initiator=-1 wip.responder=11->-1 | Message ID: #1 skipping update_send as nothing to send; initiator.sent=-1 initiator.recv=-1 responder.sent=11 responder.recv=11 wip.initiator=-1 wip.responder=-1 "westnet-eastnet-ikev2c" #1: STATE_PARENT_R2: received v2I2, PARENT SA established | stop processing: state #1 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2018) | #1 spent 1.47 milliseconds in ikev2_process_packet() | stop processing: from 192.1.2.45:500 (in process_md() at demux.c:380) | processing: STOP state #0 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 1.5 milliseconds in comm_handle_cb() reading and processing packet | spent 0.00353 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 69 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 62 4c 8c 71 5d 06 ad 37 d1 b8 66 fe a6 e7 2c 71 | 2e 20 25 08 00 00 00 0c 00 00 00 45 2a 00 00 29 | b0 e4 5f f0 77 48 ce 71 2c 6f 47 8f 1f 41 e6 ff | 90 8a e7 2c cf 23 24 36 c3 5b 8d b5 81 24 cd 11 | 12 9c 91 3c c0 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 62 4c 8c 71 5d 06 ad 37 | responder cookie: | d1 b8 66 fe a6 e7 2c 71 | 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: 12 (0xc) | length: 69 (0x45) | 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-ikev2c" 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-ikev2c" from 192.1.2.45:500 (in ike_process_packet() at ikev2.c:2064) | #1 st.st_msgid_lastrecv 11 md.hdr.isa_msgid 0000000c | Message ID: #1 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=11 responder.recv=11 | 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: 41 (0x29) | processing payload: ISAKMP_NEXT_v2SK (len=37) | Message ID: start-responder #1 request 12; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=11 responder.recv=11 wip.initiator=-1 wip.responder=-1->12 | #1 in state PARENT_R2: received v2I2, PARENT SA established | #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: | 62 4c 8c 71 5d 06 ad 37 | responder cookie: | d1 b8 66 fe a6 e7 2c 71 | 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: 12 (0xc) | 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 8 zero bytes of IV into IKEv2 Encryption Payload | parsing 4 raw bytes of IKEv2 Delete Payload into SPI | SPI 72 cb 5d 08 | delete PROTO_v2_ESP SA(0x72cb5d08) | v2 CHILD SA #3 found using their inbound (our outbound) SPI, in STATE_V2_IPSEC_R | State DB: found IKEv2 state #3 in V2_IPSEC_R (find_v2_child_sa_by_outbound_spi) | our side SPI that needs to be deleted: PROTO_v2_ESP SA(0x72cb5d08) "westnet-eastnet-ikev2c" #1: received Delete SA payload: delete IPsec State #3 now | pstats #3 ikev2.child deleted completed | #3 spent 8.89 milliseconds in total | suspend processing: state #1 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in delete_state() at state.c:879) | start processing: state #3 connection "westnet-eastnet-ikev2b" from 192.1.2.45:500 (in delete_state() at state.c:879) "westnet-eastnet-ikev2b" #3: deleting other state #3 connection (STATE_V2_IPSEC_R) "westnet-eastnet-ikev2b" aged 25.050s and NOT sending notification | child state #3: V2_IPSEC_R(established CHILD SA) => delete | get_sa_info esp.72cb5d08@192.1.2.45 | get_sa_info esp.c663fbd@192.1.2.23 "westnet-eastnet-ikev2b" #3: ESP traffic information: in=0B out=0B | child state #3: V2_IPSEC_R(established CHILD SA) => CHILDSA_DEL(informational) | state #3 requesting EVENT_SA_REKEY to be deleted | libevent_free: release ptr-libevent@0x7efe08002888 | free_event_entry: release EVENT_SA_REKEY-pe@0x55638b27a2f8 | delete esp.72cb5d08@192.1.2.45 | netlink response for Del SA esp.72cb5d08@192.1.2.45 included non-error error | delete esp.c663fbd@192.1.2.23 | netlink response for Del SA esp.c663fbd@192.1.2.23 included non-error error | in connection_discard for connection westnet-eastnet-ikev2b | State DB: deleting IKEv2 state #3 in CHILDSA_DEL | child state #3: CHILDSA_DEL(informational) => UNDEFINED(ignore) | stop processing: state #3 from 192.1.2.45:500 (in delete_state() at state.c:1143) | resume processing: state #1 connection "westnet-eastnet-ikev2c" 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 66 3f bd | emitting length of IKEv2 Delete Payload: 12 | adding 1 bytes of padding (including 1 byte padding-length) | emitting 1 0x00 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: 41 | emitting length of ISAKMP Message: 69 | sending 69 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) | 62 4c 8c 71 5d 06 ad 37 d1 b8 66 fe a6 e7 2c 71 | 2e 20 25 20 00 00 00 0c 00 00 00 45 2a 00 00 29 | d6 69 03 bc f7 6b 96 3b 14 82 d8 22 9a 91 f4 8c | 5e d0 2b f3 a4 84 a9 e7 23 ed 71 1e e1 27 1a 12 | 57 35 94 5e 2e | 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=11 responder.recv=11 wip.initiator=-1 wip.responder=12 | Message ID: sent #1 response 12; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=11->12 responder.recv=11 wip.initiator=-1 wip.responder=12 | #1 spent 0.329 milliseconds in processing: R2: process INFORMATIONAL Request in ikev2_process_state_packet() | [RE]START processing: state #1 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #1 complete_v2_state_transition() PARENT_R2->PARENT_R2 with status STF_OK | Message ID: updating counters for #1 to 12 after switching state | Message ID: recv #1 request 12; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=12 responder.recv=11->12 wip.initiator=-1 wip.responder=12->-1 | Message ID: #1 skipping update_send as nothing to send; initiator.sent=-1 initiator.recv=-1 responder.sent=12 responder.recv=12 wip.initiator=-1 wip.responder=-1 "westnet-eastnet-ikev2c" #1: STATE_PARENT_R2: received v2I2, PARENT SA established | stop processing: state #1 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2018) | #1 spent 0.502 milliseconds in ikev2_process_packet() | stop processing: from 192.1.2.45:500 (in process_md() at demux.c:380) | processing: STOP state #0 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.51 milliseconds in comm_handle_cb() reading and processing packet | spent 0.00341 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 69 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 62 4c 8c 71 5d 06 ad 37 d1 b8 66 fe a6 e7 2c 71 | 2e 20 25 08 00 00 00 0d 00 00 00 45 2a 00 00 29 | 1a 23 41 3c cf e3 8c 55 ba b1 9c e6 71 00 f9 6a | 1a ab 1e 5e 8d 90 f4 11 aa 35 52 3a 7e 0f 03 60 | 76 1b e4 4b b5 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 62 4c 8c 71 5d 06 ad 37 | responder cookie: | d1 b8 66 fe a6 e7 2c 71 | 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: 13 (0xd) | length: 69 (0x45) | 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-ikev2c" 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-ikev2c" from 192.1.2.45:500 (in ike_process_packet() at ikev2.c:2064) | #1 st.st_msgid_lastrecv 12 md.hdr.isa_msgid 0000000d | Message ID: #1 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=12 responder.recv=12 | 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: 41 (0x29) | processing payload: ISAKMP_NEXT_v2SK (len=37) | Message ID: start-responder #1 request 13; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=12 responder.recv=12 wip.initiator=-1 wip.responder=-1->13 | #1 in state PARENT_R2: received v2I2, PARENT SA established | #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: | 62 4c 8c 71 5d 06 ad 37 | responder cookie: | d1 b8 66 fe a6 e7 2c 71 | 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: 13 (0xd) | 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 8 zero bytes of IV into IKEv2 Encryption Payload | parsing 4 raw bytes of IKEv2 Delete Payload into SPI | SPI bc ed 5c 72 | delete PROTO_v2_ESP SA(0xbced5c72) | 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(0xbced5c72) "westnet-eastnet-ikev2c" #1: received Delete SA payload: delete IPsec State #4 now | pstats #4 ikev2.child deleted completed | #4 spent 3.76 milliseconds in total | suspend processing: state #1 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in delete_state() at state.c:879) | start processing: state #4 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in delete_state() at state.c:879) "westnet-eastnet-ikev2c" #4: deleting other state #4 (STATE_V2_IPSEC_R) aged 25.035s and NOT sending notification | child state #4: V2_IPSEC_R(established CHILD SA) => delete | get_sa_info esp.bced5c72@192.1.2.45 | get_sa_info esp.4b0ec3a8@192.1.2.23 "westnet-eastnet-ikev2c" #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@0x7efe00002888 | free_event_entry: release EVENT_SA_REKEY-pe@0x7efe08002b78 | delete esp.bced5c72@192.1.2.45 | netlink response for Del SA esp.bced5c72@192.1.2.45 included non-error error | delete esp.4b0ec3a8@192.1.2.23 | netlink response for Del SA esp.4b0ec3a8@192.1.2.23 included non-error error | in connection_discard for connection westnet-eastnet-ikev2c | 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 #1 connection "westnet-eastnet-ikev2c" 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 4b 0e c3 a8 | emitting length of IKEv2 Delete Payload: 12 | adding 1 bytes of padding (including 1 byte padding-length) | emitting 1 0x00 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: 41 | emitting length of ISAKMP Message: 69 | sending 69 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) | 62 4c 8c 71 5d 06 ad 37 d1 b8 66 fe a6 e7 2c 71 | 2e 20 25 20 00 00 00 0d 00 00 00 45 2a 00 00 29 | 84 05 b2 08 33 47 27 0d b3 9b 83 4a 26 ec 44 bb | ac 9b ab 2d 41 20 16 85 4d 8b 46 2f a0 bf 38 a0 | 08 f3 cb 47 fa | 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=12 responder.recv=12 wip.initiator=-1 wip.responder=13 | Message ID: sent #1 response 13; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=12->13 responder.recv=12 wip.initiator=-1 wip.responder=13 | #1 spent 0.388 milliseconds in processing: R2: process INFORMATIONAL Request in ikev2_process_state_packet() | [RE]START processing: state #1 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #1 complete_v2_state_transition() PARENT_R2->PARENT_R2 with status STF_OK | Message ID: updating counters for #1 to 13 after switching state | Message ID: recv #1 request 13; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=13 responder.recv=12->13 wip.initiator=-1 wip.responder=13->-1 | Message ID: #1 skipping update_send as nothing to send; initiator.sent=-1 initiator.recv=-1 responder.sent=13 responder.recv=13 wip.initiator=-1 wip.responder=-1 "westnet-eastnet-ikev2c" #1: STATE_PARENT_R2: received v2I2, PARENT SA established | stop processing: state #1 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2018) | #1 spent 0.564 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.572 milliseconds in comm_handle_cb() reading and processing packet | spent 0.00283 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 57 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 62 4c 8c 71 5d 06 ad 37 d1 b8 66 fe a6 e7 2c 71 | 2e 20 25 08 00 00 00 0e 00 00 00 39 00 00 00 1d | 60 20 e2 1e 8b 79 8b 4c c6 f8 19 ee 0c e9 ed 4f | 2a 24 b4 1e d4 17 f5 a2 e9 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 62 4c 8c 71 5d 06 ad 37 | responder cookie: | d1 b8 66 fe a6 e7 2c 71 | 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: 14 (0xe) | length: 57 (0x39) | 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-ikev2c" 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-ikev2c" from 192.1.2.45:500 (in ike_process_packet() at ikev2.c:2064) | #1 st.st_msgid_lastrecv 13 md.hdr.isa_msgid 0000000e | Message ID: #1 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=13 responder.recv=13 | unpacking clear payload | Now let's proceed with payload (ISAKMP_NEXT_v2SK) | ***parse IKEv2 Encryption Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | length: 29 (0x1d) | processing payload: ISAKMP_NEXT_v2SK (len=25) | Message ID: start-responder #1 request 14; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=13 responder.recv=13 wip.initiator=-1 wip.responder=-1->14 | #1 in state PARENT_R2: received v2I2, PARENT SA established | #1 ikev2 ISAKMP_v2_INFORMATIONAL decrypt success | 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 | MOBIKE request: not updating IPsec SA | Received an INFORMATIONAL response, updating st_last_liveness, no pending_liveness | **emit ISAKMP Message: | initiator cookie: | 62 4c 8c 71 5d 06 ad 37 | responder cookie: | d1 b8 66 fe a6 e7 2c 71 | 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: 14 (0xe) | 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 8 zero bytes of IV into IKEv2 Encryption Payload | adding 1 bytes of padding (including 1 byte padding-length) | emitting 1 0x00 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: 29 | emitting length of ISAKMP Message: 57 | sending 57 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) | 62 4c 8c 71 5d 06 ad 37 d1 b8 66 fe a6 e7 2c 71 | 2e 20 25 20 00 00 00 0e 00 00 00 39 00 00 00 1d | 95 28 17 dd 7a 70 13 6b ef 14 b5 0d aa a9 e7 d9 | 46 e6 b9 09 99 65 e0 b0 2e | 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=13 responder.recv=13 wip.initiator=-1 wip.responder=14 | Message ID: sent #1 response 14; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=13->14 responder.recv=13 wip.initiator=-1 wip.responder=14 | #1 spent 0.067 milliseconds in processing: R2: process Informational Request in ikev2_process_state_packet() | [RE]START processing: state #1 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #1 complete_v2_state_transition() PARENT_R2->PARENT_R2 with status STF_OK | Message ID: updating counters for #1 to 14 after switching state | Message ID: recv #1 request 14; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=14 responder.recv=13->14 wip.initiator=-1 wip.responder=14->-1 | Message ID: #1 skipping update_send as nothing to send; initiator.sent=-1 initiator.recv=-1 responder.sent=14 responder.recv=14 wip.initiator=-1 wip.responder=-1 | STATE_PARENT_R2: received v2I2, PARENT SA established | stop processing: state #1 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2018) | #1 spent 0.169 milliseconds in ikev2_process_packet() | stop processing: from 192.1.2.45:500 (in process_md() at demux.c:380) | processing: STOP state #0 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.177 milliseconds in comm_handle_cb() reading and processing packet | processing global timer EVENT_SHUNT_SCAN | expiring aged bare shunts from shunt table | spent 0.0131 milliseconds in global timer EVENT_SHUNT_SCAN | spent 0.00312 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 57 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 62 4c 8c 71 5d 06 ad 37 d1 b8 66 fe a6 e7 2c 71 | 2e 20 25 08 00 00 00 0f 00 00 00 39 00 00 00 1d | 9f f4 49 7e bc 7d df c6 32 17 39 9d d5 03 c7 6c | 9f 0b c8 0c 0d a9 ef 8d fd | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 62 4c 8c 71 5d 06 ad 37 | responder cookie: | d1 b8 66 fe a6 e7 2c 71 | 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: 15 (0xf) | length: 57 (0x39) | 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-ikev2c" 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-ikev2c" from 192.1.2.45:500 (in ike_process_packet() at ikev2.c:2064) | #1 st.st_msgid_lastrecv 14 md.hdr.isa_msgid 0000000f | Message ID: #1 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=14 responder.recv=14 | unpacking clear payload | Now let's proceed with payload (ISAKMP_NEXT_v2SK) | ***parse IKEv2 Encryption Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | length: 29 (0x1d) | processing payload: ISAKMP_NEXT_v2SK (len=25) | Message ID: start-responder #1 request 15; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=14 responder.recv=14 wip.initiator=-1 wip.responder=-1->15 | #1 in state PARENT_R2: received v2I2, PARENT SA established | #1 ikev2 ISAKMP_v2_INFORMATIONAL decrypt success | 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 | MOBIKE request: not updating IPsec SA | Received an INFORMATIONAL response, updating st_last_liveness, no pending_liveness | **emit ISAKMP Message: | initiator cookie: | 62 4c 8c 71 5d 06 ad 37 | responder cookie: | d1 b8 66 fe a6 e7 2c 71 | 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: 15 (0xf) | 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 8 zero bytes of IV into IKEv2 Encryption Payload | adding 1 bytes of padding (including 1 byte padding-length) | emitting 1 0x00 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: 29 | emitting length of ISAKMP Message: 57 | sending 57 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) | 62 4c 8c 71 5d 06 ad 37 d1 b8 66 fe a6 e7 2c 71 | 2e 20 25 20 00 00 00 0f 00 00 00 39 00 00 00 1d | 7c 31 37 a7 72 71 13 bb c0 f1 84 70 33 a5 03 76 | d0 7e aa 26 19 d7 40 12 8f | 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=14 responder.recv=14 wip.initiator=-1 wip.responder=15 | Message ID: sent #1 response 15; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=14->15 responder.recv=14 wip.initiator=-1 wip.responder=15 | #1 spent 0.0831 milliseconds in processing: R2: process Informational Request in ikev2_process_state_packet() | [RE]START processing: state #1 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #1 complete_v2_state_transition() PARENT_R2->PARENT_R2 with status STF_OK | Message ID: updating counters for #1 to 15 after switching state | Message ID: recv #1 request 15; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=15 responder.recv=14->15 wip.initiator=-1 wip.responder=15->-1 | Message ID: #1 skipping update_send as nothing to send; initiator.sent=-1 initiator.recv=-1 responder.sent=15 responder.recv=15 wip.initiator=-1 wip.responder=-1 | STATE_PARENT_R2: received v2I2, PARENT SA established | stop processing: state #1 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2018) | #1 spent 0.195 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.203 milliseconds in comm_handle_cb() reading and processing packet | spent 0.00302 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 57 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 62 4c 8c 71 5d 06 ad 37 d1 b8 66 fe a6 e7 2c 71 | 2e 20 25 08 00 00 00 10 00 00 00 39 00 00 00 1d | 81 3a 22 18 b7 ca 1b b8 62 c6 d1 22 f8 5e 5d 2c | 25 09 33 6d 2d 17 a6 2b 24 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 62 4c 8c 71 5d 06 ad 37 | responder cookie: | d1 b8 66 fe a6 e7 2c 71 | 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: 16 (0x10) | length: 57 (0x39) | 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-ikev2c" 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-ikev2c" from 192.1.2.45:500 (in ike_process_packet() at ikev2.c:2064) | #1 st.st_msgid_lastrecv 15 md.hdr.isa_msgid 00000010 | Message ID: #1 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=15 responder.recv=15 | unpacking clear payload | Now let's proceed with payload (ISAKMP_NEXT_v2SK) | ***parse IKEv2 Encryption Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | length: 29 (0x1d) | processing payload: ISAKMP_NEXT_v2SK (len=25) | Message ID: start-responder #1 request 16; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=15 responder.recv=15 wip.initiator=-1 wip.responder=-1->16 | #1 in state PARENT_R2: received v2I2, PARENT SA established | #1 ikev2 ISAKMP_v2_INFORMATIONAL decrypt success | 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 | MOBIKE request: not updating IPsec SA | Received an INFORMATIONAL response, updating st_last_liveness, no pending_liveness | **emit ISAKMP Message: | initiator cookie: | 62 4c 8c 71 5d 06 ad 37 | responder cookie: | d1 b8 66 fe a6 e7 2c 71 | 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: 16 (0x10) | 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 8 zero bytes of IV into IKEv2 Encryption Payload | adding 1 bytes of padding (including 1 byte padding-length) | emitting 1 0x00 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: 29 | emitting length of ISAKMP Message: 57 | sending 57 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) | 62 4c 8c 71 5d 06 ad 37 d1 b8 66 fe a6 e7 2c 71 | 2e 20 25 20 00 00 00 10 00 00 00 39 00 00 00 1d | 94 a9 46 3a 71 5a 07 40 0b ef 23 5b 16 46 2d 88 | 43 48 81 5d 86 d3 83 d2 c1 | 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=15 responder.recv=15 wip.initiator=-1 wip.responder=16 | Message ID: sent #1 response 16; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=15->16 responder.recv=15 wip.initiator=-1 wip.responder=16 | #1 spent 0.073 milliseconds in processing: R2: process Informational Request in ikev2_process_state_packet() | [RE]START processing: state #1 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #1 complete_v2_state_transition() PARENT_R2->PARENT_R2 with status STF_OK | Message ID: updating counters for #1 to 16 after switching state | Message ID: recv #1 request 16; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=16 responder.recv=15->16 wip.initiator=-1 wip.responder=16->-1 | Message ID: #1 skipping update_send as nothing to send; initiator.sent=-1 initiator.recv=-1 responder.sent=16 responder.recv=16 wip.initiator=-1 wip.responder=-1 | STATE_PARENT_R2: received v2I2, PARENT SA established | stop processing: state #1 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2018) | #1 spent 0.182 milliseconds in ikev2_process_packet() | stop processing: from 192.1.2.45:500 (in process_md() at demux.c:380) | processing: STOP state #0 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.19 milliseconds in comm_handle_cb() reading and processing packet | spent 0.00325 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 825 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 62 4c 8c 71 5d 06 ad 37 d1 b8 66 fe a6 e7 2c 71 | 2e 20 24 08 00 00 00 11 00 00 03 39 21 00 03 1d | ae a7 6a 28 1d 1f f7 04 2d cf d4 6b 74 21 e2 34 | aa f8 07 29 3e 62 d5 ce 77 36 54 21 9b 5e 9e c0 | 74 ef de a9 fe 27 cc e1 ae 37 58 79 bf 94 ec 1d | fa 26 da 93 0d b1 43 31 87 a3 cc b5 72 93 dd 9b | b4 a2 c4 5c c1 e8 76 10 de ec e5 20 ba d9 3f 79 | 92 e4 5a e1 7e 10 9e 78 d5 dc 96 fd eb 05 fe 1f | 17 2f 5d d9 5a a6 26 b3 1b 3d ed 03 eb 23 51 2e | b2 ed 16 2b 0c 77 b9 ce f3 8a 77 55 f0 48 e2 ef | bb d1 3c 25 53 28 fc 1e 65 3a aa e9 7a a5 84 44 | b6 9e f5 ad 58 40 1b 3b 1e e6 bf 1a 24 de 75 f0 | 1d d4 bf 47 aa 11 11 66 51 eb 07 b6 1d a1 52 11 | 34 e5 7b 6a 13 2b 69 40 59 8a 01 af a6 47 7d 8f | 46 b9 58 08 06 dc ba 45 ef ab 0d b2 a6 1d d4 4f | 55 5f 46 b8 60 97 b3 8a 13 ce cb 68 3f 75 9d a5 | 8d 02 1d a6 01 39 94 b7 8e 67 14 92 84 39 55 b0 | 3e 27 f6 4d e3 78 58 fe f1 c8 15 69 13 47 2f 7c | f6 59 eb 70 4a 4d 3c c1 ea ff d8 a2 cc fe ff 44 | 83 ce 80 c6 e1 fa db 50 40 72 02 23 da 9d ee ad | 2f ed 62 8a 51 98 34 3c 0d c6 5d 0a 13 ad 7e 9b | 10 bb d9 be ba 5c 7a d8 36 ee 8a 8b 93 73 37 e8 | 6f b4 f5 dc 89 82 e7 06 37 44 b5 f8 dd 49 37 1a | d8 9d e0 20 b1 f3 15 45 1f 14 be e7 89 37 02 5b | 91 e8 95 61 fe e9 4a 1e 76 01 44 f1 8b 73 eb 0e | f7 a6 d6 60 a4 66 eb 93 5c c1 6a 1f 3a 3d 50 e6 | 45 86 8c 5c 8c ec 50 60 7b 6d ae 56 0b 02 e2 0f | a3 18 03 25 1c df bc 54 86 27 58 3b 7a fc e8 7b | 13 8f b0 d4 84 f0 a0 0a ed cc 79 6f 28 9f 20 28 | 49 22 20 e4 22 54 06 f0 9b 35 23 62 c6 76 75 52 | 1e 85 08 8e 52 59 a2 89 e7 7f e8 94 c0 ff 11 bb | c8 81 55 1c 06 a6 8d a4 1e 14 81 0a 3e 35 a1 20 | d0 83 73 03 32 b0 19 d3 1b eb e6 93 b6 d9 7f 5f | 7a 0a c2 3c 8a db df ab 11 4b cf 06 22 86 3e bb | c6 69 cf f6 70 aa 4a 6e 71 61 5e ce 01 de 17 a4 | fd dd c6 51 30 4f b3 82 74 2c 4b b9 c0 38 41 5a | ea 94 bd 6b 0c a5 ec 9e 17 37 00 f5 ca 36 de 5d | 81 f3 8c 82 65 b0 cc 08 d0 f0 cd 43 51 b1 25 6c | 04 20 5c 0d 1e 9a 6b ec 3c 87 2f 59 9b 7d f1 8f | 20 53 a6 f1 0d 93 a3 28 4d 6c 12 1f fb fd c4 9d | 99 ee 02 ef eb 80 d7 64 9f 93 28 5f 9d 34 96 92 | a9 1b 49 d3 5d ca 34 cd 74 6a b4 bd 06 c3 af e5 | 7f 9d 1f 36 a5 dc 81 3c c2 61 14 2e de 2a 91 11 | 6c 60 02 3f 69 b2 f9 48 4d 2a 00 b2 66 68 58 b4 | 6d d1 29 93 49 4a 0c dd 92 ca c7 5e 7e 37 30 a9 | 39 1b 94 af 2f f8 da c1 1e a6 89 ee 66 ae ea fb | be db b2 74 5e 23 6d e6 52 00 92 70 bc fa 62 37 | 97 fe ef b4 be da 7f 38 ce 95 b2 b4 8f 3a 34 ba | ac b6 33 3e 1a 6e 58 ef 10 29 63 5a fe 57 a2 ee | 3f e5 46 4b 5f 67 f6 b8 04 e5 2f bc 98 0b c5 8a | 3f 72 6b c2 87 f3 ff 92 49 39 f2 0a 14 e9 82 80 | e5 95 1e f8 70 e9 67 b5 6b | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 62 4c 8c 71 5d 06 ad 37 | responder cookie: | d1 b8 66 fe a6 e7 2c 71 | next payload type: ISAKMP_NEXT_v2SK (0x2e) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_CREATE_CHILD_SA (0x24) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 17 (0x11) | length: 825 (0x339) | processing version=2.0 packet with exchange type=ISAKMP_v2_CREATE_CHILD_SA (36) | I am the IKE SA Original Responder receiving an IKEv2 CREATE_CHILD_SA request | State DB: found IKEv2 state #1 in PARENT_R2 (find_v2_ike_sa) | start processing: state #1 connection "westnet-eastnet-ikev2c" 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-ikev2c" from 192.1.2.45:500 (in ike_process_packet() at ikev2.c:2064) | #1 st.st_msgid_lastrecv 16 md.hdr.isa_msgid 00000011 | Message ID: #1 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=16 responder.recv=16 | unpacking clear payload | Now let's proceed with payload (ISAKMP_NEXT_v2SK) | ***parse IKEv2 Encryption Payload: | next payload type: ISAKMP_NEXT_v2SA (0x21) | flags: none (0x0) | length: 797 (0x31d) | processing payload: ISAKMP_NEXT_v2SK (len=793) | Message ID: start-responder #1 request 17; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=16 responder.recv=16 wip.initiator=-1 wip.responder=-1->17 | #1 in state PARENT_R2: received v2I2, PARENT SA established | #1 ikev2 ISAKMP_v2_CREATE_CHILD_SA decrypt success | Now let's proceed with payload (ISAKMP_NEXT_v2SA) | **parse IKEv2 Security Association Payload: | next payload type: ISAKMP_NEXT_v2Ni (0x28) | flags: none (0x0) | length: 468 (0x1d4) | processing payload: ISAKMP_NEXT_v2SA (len=464) | Now let's proceed with payload (ISAKMP_NEXT_v2Ni) | **parse IKEv2 Nonce Payload: | next payload type: ISAKMP_NEXT_v2KE (0x22) | flags: none (0x0) | length: 36 (0x24) | processing payload: ISAKMP_NEXT_v2Ni (len=32) | Now let's proceed with payload (ISAKMP_NEXT_v2KE) | **parse IKEv2 Key Exchange Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | length: 264 (0x108) | DH group: OAKLEY_GROUP_MODP2048 (0xe) | processing payload: ISAKMP_NEXT_v2KE (len=256) | state #1 forced to match CREATE_CHILD_SA from V2_REKEY_IKE_R->PARENT_R2 by ignoring from state | selected state microcode Respond to CREATE_CHILD_SA IKE Rekey | #1 updating local interface from 192.1.2.23:500 to 192.1.2.23:500 using md->iface (in update_ike_endpoints() at state.c:2669) | creating state object #8 at 0x55638b27c158 | State DB: adding IKEv2 state #8 in UNDEFINED | pstats #8 ikev2.ike started | duplicating state object #1 "westnet-eastnet-ikev2c" as #8 for IKE SA | #8 setting local endpoint to 192.1.2.23:500 from #1.st_localport (in duplicate_state() at state.c:1484) | Message ID: init_child #1.#8; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=16 responder.recv=16; child: wip.initiator=0->-1 wip.responder=0->-1 | child state #8: UNDEFINED(ignore) => V2_REKEY_IKE_R(established IKE SA) | "westnet-eastnet-ikev2c" #1 received IKE Rekey Request CREATE_CHILD_SA from 192.1.2.45:500 Child "westnet-eastnet-ikev2c" #8 in STATE_V2_REKEY_IKE_R will process it further | Message ID: switch-from #1 request 17; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=16 responder.recv=16 wip.initiator=-1 wip.responder=17->-1 | Message ID: switch-to #1.#8 request 17; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=16 responder.recv=16; child: wip.initiator=-1 wip.responder=-1->17 | forcing ST #1 to CHILD #1.#8 in FSM processor | Now let's proceed with state specific processing | calling processor Respond to CREATE_CHILD_SA IKE Rekey | using existing local IKE proposals for connection westnet-eastnet-ikev2c (IKE SA responding to rekey): 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 Rekey responder child 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_NON_LAST (0x2) | length: 108 (0x6c) | prop #: 1 (0x1) | proto ID: IKEv2_SEC_PROTO_IKE (0x1) | spi size: 8 (0x8) | # transforms: 11 (0xb) | parsing 8 raw bytes of IKEv2 Proposal Substructure Payload into remote SPI | remote SPI 9d a8 6e 2d 17 ea e4 1c | Comparing remote proposal 1 containing 11 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_GCM_C (0x14) | *****parse IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 256 (0x100) | remote proposal 1 transform 0 (ENCR=AES_GCM_C_256) matches local proposal 1 type 1 (ENCR) transform 0 | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_PRF (0x2) | IKEv2 transform ID: PRF_HMAC_SHA2_512 (0x7) | remote proposal 1 transform 1 (PRF=HMAC_SHA2_512) matches local proposal 1 type 2 (PRF) transform 0 | remote proposal 1 transform 1 (PRF=HMAC_SHA2_512) matches local proposal 2 type 2 (PRF) transform 0 | remote proposal 1 transform 1 (PRF=HMAC_SHA2_512) matches local proposal 3 type 2 (PRF) transform 0 | remote proposal 1 transform 1 (PRF=HMAC_SHA2_512) matches local proposal 4 type 2 (PRF) 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) | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP2048 (0xe) | remote proposal 1 transform 3 (DH=MODP2048) matches local proposal 1 type 4 (DH) transform 0 | remote proposal 1 transform 3 (DH=MODP2048) matches local proposal 2 type 4 (DH) transform 0 | remote proposal 1 transform 3 (DH=MODP2048) matches local proposal 3 type 4 (DH) transform 0 | remote proposal 1 transform 3 (DH=MODP2048) matches local proposal 4 type 4 (DH) transform 0 | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP3072 (0xf) | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP4096 (0x10) | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP8192 (0x12) | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_ECP_256 (0x13) | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_ECP_384 (0x14) | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_ECP_521 (0x15) | ****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 proposed transforms: ENCR+PRF+DH; matched: ENCR+PRF+DH; unmatched: none | comparing remote proposal 1 containing ENCR+PRF+DH transforms to local proposal 1; required: ENCR+PRF+DH; optional: INTEG; matched: ENCR+PRF+DH | remote proposal 1 matches local proposal 1 | ***parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_NON_LAST (0x2) | length: 108 (0x6c) | prop #: 2 (0x2) | proto ID: IKEv2_SEC_PROTO_IKE (0x1) | spi size: 8 (0x8) | # transforms: 11 (0xb) | parsing 8 raw bytes of IKEv2 Proposal Substructure Payload into remote SPI | remote SPI 9d a8 6e 2d 17 ea e4 1c | Comparing remote proposal 2 containing 11 transforms against local proposal [1..0] 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_GCM_C (0x14) | *****parse IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 128 (0x80) | ****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_512 (0x7) | ****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) | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP2048 (0xe) | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP3072 (0xf) | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP4096 (0x10) | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP8192 (0x12) | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_ECP_256 (0x13) | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_ECP_384 (0x14) | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_ECP_521 (0x15) | ****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 2 proposed transforms: ENCR+PRF+DH; matched: none; unmatched: ENCR+PRF+DH | remote proposal 2 does not match; unmatched remote transforms: ENCR+PRF+DH | ***parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_NON_LAST (0x2) | length: 124 (0x7c) | prop #: 3 (0x3) | proto ID: IKEv2_SEC_PROTO_IKE (0x1) | spi size: 8 (0x8) | # transforms: 13 (0xd) | parsing 8 raw bytes of IKEv2 Proposal Substructure Payload into remote SPI | remote SPI 9d a8 6e 2d 17 ea e4 1c | Comparing remote proposal 3 containing 13 transforms against local proposal [1..0] 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) | ****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_512 (0x7) | ****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) | ****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_512_256 (0xe) | ****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) | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP2048 (0xe) | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP3072 (0xf) | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP4096 (0x10) | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP8192 (0x12) | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_ECP_256 (0x13) | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_ECP_384 (0x14) | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_ECP_521 (0x15) | ****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 3 proposed transforms: ENCR+PRF+INTEG+DH; matched: none; unmatched: ENCR+PRF+INTEG+DH | remote proposal 3 does not match; unmatched remote transforms: ENCR+PRF+INTEG+DH | ***parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | length: 124 (0x7c) | prop #: 4 (0x4) | proto ID: IKEv2_SEC_PROTO_IKE (0x1) | spi size: 8 (0x8) | # transforms: 13 (0xd) | parsing 8 raw bytes of IKEv2 Proposal Substructure Payload into remote SPI | remote SPI 9d a8 6e 2d 17 ea e4 1c | Comparing remote proposal 4 containing 13 transforms against local proposal [1..0] 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) | ****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_512 (0x7) | ****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) | ****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_512_256 (0xe) | ****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) | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP2048 (0xe) | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP3072 (0xf) | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP4096 (0x10) | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP8192 (0x12) | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_ECP_256 (0x13) | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_ECP_384 (0x14) | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_ECP_521 (0x15) | ****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 4 proposed transforms: ENCR+PRF+INTEG+DH; matched: none; unmatched: ENCR+PRF+INTEG+DH | remote proposal 4 does not match; unmatched remote transforms: ENCR+PRF+INTEG+DH "westnet-eastnet-ikev2c" #1: proposal 1:IKE:SPI=9da86e2d17eae41c;ENCR=AES_GCM_C_256;PRF=HMAC_SHA2_512;DH=MODP2048 chosen from remote proposals 1:IKE:ENCR=AES_GCM_C_256;PRF=HMAC_SHA2_512;PRF=HMAC_SHA2_256;DH=MODP2048;DH=MODP3072;DH=MODP4096;DH=MODP8192;DH=ECP_256;DH=ECP_384;DH=ECP_521;DH=CURVE25519[first-match] 2:IKE:ENCR=AES_GCM_C_128;PRF=HMAC_SHA2_512;PRF=HMAC_SHA2_256;DH=MODP2048;DH=MODP3072;DH=MODP4096;DH=MODP8192;DH=ECP_256;DH=ECP_384;DH=ECP_521;DH=CURVE25519 3:IKE:ENCR=AES_CBC_256;PRF=HMAC_SHA2_512;PRF=HMAC_SHA2_256;INTEG=HMAC_SHA2_512_256;INTEG=HMAC_SHA2_256_128;DH=MODP2048;DH=MODP3072;DH=MODP4096;DH=MODP8192;DH=ECP_256;DH=ECP_384;DH=ECP_521;DH=CURVE25519 4:IKE:ENCR=AES_CBC_128;PRF=HMAC_SHA2_512;PRF=HMAC_SHA2_256;INTEG=HMAC_SHA2_512_256;INTEG=HMAC_SHA2_256_128;DH=MODP2048;DH=MODP3072;DH=MODP4096;DH=MODP8192;DH=ECP_256;DH=ECP_384;DH=ECP_521;DH=CURVE25519 | accepted IKE proposal ikev2_proposal: 1:IKE:SPI=9da86e2d17eae41c;ENCR=AES_GCM_C_256;PRF=HMAC_SHA2_512;DH=MODP2048 | converting proposal to internal trans attrs | adding IKE rekey KE response gir work-order 13 for state #8 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x55638b1ef278 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #8 | libevent_malloc: new ptr-libevent@0x7efe000027d8 size 128 | #8 spent 0.723 milliseconds in processing: Respond to CREATE_CHILD_SA IKE Rekey in ikev2_process_state_packet() | suspend processing: state #1 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | start processing: state #8 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #8 complete_v2_state_transition() V2_REKEY_IKE_R->PARENT_R2 with status STF_SUSPEND | suspending state #8 and saving MD | #8 is busy; has a suspended MD | [RE]START processing: state #8 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in log_stf_suspend() at ikev2.c:3269) | "westnet-eastnet-ikev2c" #8 complete v2 state STATE_V2_REKEY_IKE_R transition with STF_SUSPEND suspended from complete_v2_state_transition:3451 | stop processing: state #8 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2018) | #1 spent 1.03 milliseconds in ikev2_process_packet() | stop processing: from 192.1.2.45:500 (in process_md() at demux.c:380) | processing: STOP state #0 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | crypto helper 5 resuming | crypto helper 5 starting work-order 13 for state #8 | spent 1.05 milliseconds in comm_handle_cb() reading and processing packet | crypto helper 5 doing build KE and nonce (IKE rekey KE response gir); request ID 13 | crypto helper 5 finished build KE and nonce (IKE rekey KE response gir); request ID 13 time elapsed 0.000573 seconds | (#8) spent 0.573 milliseconds in crypto helper computing work-order 13: IKE rekey KE response gir (pcr) | crypto helper 5 sending results from work-order 13 for state #8 to event queue | scheduling resume sending helper answer for #8 | libevent_malloc: new ptr-libevent@0x7efdf4005ea8 size 128 | crypto helper 5 waiting (nothing to do) | processing resume sending helper answer for #8 | start processing: state #8 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in resume_handler() at server.c:797) | crypto helper 5 replies to request ID 13 | calling continuation function 0x55638afa9b50 | ikev2_child_ike_inIoutR_continue for #8 STATE_V2_REKEY_IKE_R | offloading IKEv2 SKEYSEED using prf=HMAC_SHA2_512 integ=NONE cipherkey=AES_GCM_16 | adding DHv2 for REKEY IKE SA work-order 14 for state #8 | state #8 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x7efe000027d8 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x55638b1ef278 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x55638b1ef278 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #8 | libevent_malloc: new ptr-libevent@0x55638b28f588 size 128 | [RE]START processing: state #8 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #8 complete_v2_state_transition() V2_REKEY_IKE_R->PARENT_R2 with status STF_SUSPEND | suspending state #8 and saving MD | #8 is busy; has a suspended MD | [RE]START processing: state #8 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in log_stf_suspend() at ikev2.c:3269) | "westnet-eastnet-ikev2c" #8 complete v2 state STATE_V2_REKEY_IKE_R transition with STF_SUSPEND suspended from complete_v2_state_transition:3451 | resume sending helper answer for #8 suppresed complete_v2_state_transition() and stole MD | #8 spent 0.0649 milliseconds in resume sending helper answer | stop processing: state #8 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in resume_handler() at server.c:833) | libevent_free: release ptr-libevent@0x7efdf4005ea8 | crypto helper 4 resuming | crypto helper 4 starting work-order 14 for state #8 | crypto helper 4 doing compute dh (V2) (DHv2 for REKEY IKE SA); request ID 14 | calculating skeyseed using prf=sha2_512 integ=none cipherkey-size=32 salt-size=4 | crypto helper 4 finished compute dh (V2) (DHv2 for REKEY IKE SA); request ID 14 time elapsed 0.000782 seconds | (#8) spent 0.782 milliseconds in crypto helper computing work-order 14: DHv2 for REKEY IKE SA (pcr) | crypto helper 4 sending results from work-order 14 for state #8 to event queue | scheduling resume sending helper answer for #8 | libevent_malloc: new ptr-libevent@0x7efdf8006c18 size 128 | crypto helper 4 waiting (nothing to do) | processing resume sending helper answer for #8 | start processing: state #8 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in resume_handler() at server.c:797) | crypto helper 4 replies to request ID 14 | calling continuation function 0x55638afa9b50 | ikev2_child_ike_inIoutR_continue_continue for #8 STATE_V2_REKEY_IKE_R | **emit ISAKMP Message: | initiator cookie: | 62 4c 8c 71 5d 06 ad 37 | responder cookie: | d1 b8 66 fe a6 e7 2c 71 | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_CREATE_CHILD_SA (0x24) | flags: ISAKMP_FLAG_v2_MSG_RESPONSE (0x20) | Message ID: 17 (0x11) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | ***emit IKEv2 Encryption Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'ISAKMP Message'.'next payload type' to current IKEv2 Encryption Payload (46:ISAKMP_NEXT_v2SK) | next payload chain: saving location 'IKEv2 Encryption Payload'.'next payload type' in 'reply packet' | emitting 8 zero bytes of IV into IKEv2 Encryption Payload | Emitting ikev2_proposal ... | ****emit IKEv2 Security Association Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'IKEv2 Encryption Payload'.'next payload type' to current IKEv2 Security Association Payload (33:ISAKMP_NEXT_v2SA) | next payload chain: saving location 'IKEv2 Security Association Payload'.'next payload type' in 'reply packet' | *****emit IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | prop #: 1 (0x1) | proto ID: IKEv2_SEC_PROTO_IKE (0x1) | spi size: 8 (0x8) | # transforms: 3 (0x3) | last substructure: saving location 'IKEv2 Security Association Payload'.'IKEv2 Proposal Substructure Payload'.'last proposal' | emitting 8 raw bytes of our spi into IKEv2 Proposal Substructure Payload | our spi d1 6a 50 2f 42 7e 21 90 | ******emit IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | IKEv2 transform type: TRANS_TYPE_ENCR (0x1) | IKEv2 transform ID: AES_GCM_C (0x14) | last substructure: saving location 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' | *******emit IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 256 (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_512 (0x7) | 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 Nonce Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'IKEv2 Security Association 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 47 a7 03 4a 5c 8a 10 53 47 37 98 2f 4b 18 6a cc | IKEv2 nonce 83 6f f6 9e 45 12 14 0a ce 0e ab 17 97 fa b9 5f | emitting length of IKEv2 Nonce Payload: 36 | ****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 Nonce Payload'.'next payload type' to current IKEv2 Key Exchange Payload (34:ISAKMP_NEXT_v2KE) | next payload chain: saving location 'IKEv2 Key Exchange Payload'.'next payload type' in 'reply packet' | emitting 256 raw bytes of ikev2 g^x into IKEv2 Key Exchange Payload | ikev2 g^x 15 3b 81 53 29 78 31 31 c7 9f 74 97 56 fb 28 66 | ikev2 g^x 76 a1 b5 51 1f b9 7e 6c 17 93 1d 5a f6 5f 88 7d | ikev2 g^x 60 db 1e 1d 24 ed de 64 67 7f 4f f6 78 52 c3 86 | ikev2 g^x 5e 7e e7 43 99 3a 63 5e f1 97 45 d8 ab a8 2b 8b | ikev2 g^x 3f a1 47 f5 53 c4 97 83 f4 b8 69 e0 55 98 b7 2d | ikev2 g^x 11 ca 70 1c 1c 87 58 89 5e b8 d4 29 08 ce f3 db | ikev2 g^x 46 dd c8 93 ae d5 f9 d6 40 8d d2 f1 96 08 6f 88 | ikev2 g^x 9c 21 b7 37 2f 31 aa 99 bb dc 8b cb f7 67 06 5f | ikev2 g^x e9 b1 bc 67 00 d9 78 cf c5 2a 14 92 3a dc 82 16 | ikev2 g^x 07 ec 58 68 ca f5 f0 41 e1 a5 eb 02 61 43 0d d3 | ikev2 g^x 21 32 e9 d4 c7 91 fb 6a a3 e1 75 94 3f 55 32 87 | ikev2 g^x 12 82 4a 87 7a 6b 75 65 48 1e bf b8 6b 2b a8 55 | ikev2 g^x 34 b1 db 3d 5a 3a 3c 31 52 d4 73 f0 e8 05 5c d9 | ikev2 g^x 82 48 48 db 3f bc c3 13 a5 34 82 ee 5c ea ee f5 | ikev2 g^x d3 aa 1f 2c ab 70 d5 70 f5 a1 0c b9 64 55 80 d2 | ikev2 g^x 70 27 f0 dc c9 61 f4 19 36 1c bd 60 1c 15 a1 8c | emitting length of IKEv2 Key Exchange Payload: 264 | adding 1 bytes of padding (including 1 byte padding-length) | emitting 1 0x00 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: 377 | emitting length of ISAKMP Message: 405 | [RE]START processing: state #8 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #8 complete_v2_state_transition() V2_REKEY_IKE_R->PARENT_R2 with status STF_OK | IKEv2: transition from state STATE_V2_REKEY_IKE_R to state STATE_PARENT_R2 | Message ID: updating counters for #8 to 17 before emancipating | Message ID: recv #1.#8 request 17; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=16 responder.recv=16->17; child: wip.initiator=-1 wip.responder=17->-1 | Message ID: sent #1.#8 response 17; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=16->17 responder.recv=17; child: wip.initiator=-1 wip.responder=-1 | Message ID: init_ike #8; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=-1 responder.recv=-1 wip.initiator=-1 wip.responder=-1 | State DB: re-hashing IKEv2 state #8 IKE SPIi and SPI[ir] | #7 migrated from IKE SA #1 to IKE SA #8 | State DB: re-hashing IKEv2 state #7 IKE SPIi and SPI[ir] | #6 migrated from IKE SA #1 to IKE SA #8 | State DB: re-hashing IKEv2 state #6 IKE SPIi and SPI[ir] | #5 migrated from IKE SA #1 to IKE SA #8 | State DB: re-hashing IKEv2 state #5 IKE SPIi and SPI[ir] | State DB: IKEv2 state not found (v2_migrate_children) | parent state #8: V2_REKEY_IKE_R(established IKE SA) => PARENT_R2(established IKE SA) | #8 will start re-keying in 3330 seconds with margin of 270 seconds (attempting re-key) | state #8 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x55638b28f588 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x55638b1ef278 | event_schedule: new EVENT_SA_REKEY-pe@0x55638b1ef278 | inserting event EVENT_SA_REKEY, timeout in 3330 seconds for #8 | libevent_malloc: new ptr-libevent@0x7efdf4005ea8 size 128 | pstats #8 ikev2.ike established "westnet-eastnet-ikev2c" #8: STATE_PARENT_R2: received v2I2, PARENT SA established | sending V2 new request packet to 192.1.2.45:500 (from 192.1.2.23:500) | sending 405 bytes for STATE_V2_REKEY_IKE_R through eth1 from 192.1.2.23:500 to 192.1.2.45:500 (using #1) | 62 4c 8c 71 5d 06 ad 37 d1 b8 66 fe a6 e7 2c 71 | 2e 20 24 20 00 00 00 11 00 00 01 95 21 00 01 79 | a5 52 dd f2 7f d9 94 12 69 f1 a9 6f 51 a8 d9 15 | 70 28 ce ab 50 ab 2c 3c 88 d9 a8 4a 0f 6a 46 db | a8 a4 69 03 2c 5d ae db 55 91 d3 6a f5 b7 6b f1 | b7 2b 26 4f 43 81 25 29 44 73 b6 a5 b7 06 21 ef | 72 18 a2 1d 53 72 c6 3f 1b e2 f7 00 28 01 28 cf | d3 c7 bd db 6d eb 9b 73 25 8a 35 d8 dc bb 53 f1 | cc 56 e7 ab 50 b0 d1 af 71 69 48 42 2d cd 27 22 | e7 29 a4 32 b2 7e ed 45 d4 a2 45 a7 d6 0c 11 a7 | 94 7a bb b9 08 4f 8a be 58 35 4b b3 4f 59 ca 55 | cd b5 ca 79 d4 2c 7e 35 15 25 da 89 d2 dd 64 56 | 18 77 92 b4 de ac 86 cd a1 04 ae 40 6a 34 02 3e | eb f8 cd 32 e2 dd cc 7a 36 11 38 22 21 cd 58 66 | 0f 0e 77 75 6b 4f ad 27 36 04 bc 85 17 a7 c7 a4 | be fb 7a 6f e1 1c 59 97 c4 09 76 0e 06 fe a1 c9 | 16 d4 dd de 7e ed a8 c7 c3 01 98 8f a8 df 81 9e | d4 a0 a3 9a b8 60 bf 86 36 bf 5d 73 29 b1 c4 ff | 4b 2e f9 9d 85 17 69 ca 7e af 7c 30 82 d5 f6 e5 | 7f da 7f 15 5b 4f f7 22 b4 64 c8 2e 60 b6 b2 cb | b9 fd 77 fd 22 04 db 85 ce 28 b2 11 1c e1 35 8b | 9a 2a 1c c6 bc e1 48 ec 6e 3f 8a 0c 33 94 8c d8 | 68 89 fc b9 32 25 23 46 69 56 e7 4a 89 cd 95 d7 | ed 58 4d 66 ad 45 4b 57 d5 a1 4c 6f 1b 12 f7 09 | 8a 7e 75 66 3e b5 d2 83 eb 98 06 e6 e1 24 2b 46 | ab 2d 24 72 28 | #8 will start re-keying in 3330 seconds with margin of 270 seconds (attempting re-key) | state #8 requesting EVENT_SA_REKEY to be deleted | libevent_free: release ptr-libevent@0x7efdf4005ea8 | free_event_entry: release EVENT_SA_REKEY-pe@0x55638b1ef278 | event_schedule: new EVENT_SA_REKEY-pe@0x55638b1ef278 | inserting event EVENT_SA_REKEY, timeout in 3330 seconds for #8 | libevent_malloc: new ptr-libevent@0x7efdf4005ea8 size 128 | resume sending helper answer for #8 suppresed complete_v2_state_transition() | #8 spent 0.447 milliseconds in resume sending helper answer | stop processing: state #8 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in resume_handler() at server.c:833) | libevent_free: release ptr-libevent@0x7efdf8006c18 | spent 0.00312 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 65 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 62 4c 8c 71 5d 06 ad 37 d1 b8 66 fe a6 e7 2c 71 | 2e 20 25 08 00 00 00 12 00 00 00 41 2a 00 00 25 | f8 3a 4a 1b f1 20 42 46 7f 02 56 12 86 d3 df 64 | ae 95 6c cb 51 fe 43 ea c8 1d 2c fe 2f a6 ba ab | 55 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 62 4c 8c 71 5d 06 ad 37 | responder cookie: | d1 b8 66 fe a6 e7 2c 71 | 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: 18 (0x12) | length: 65 (0x41) | 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-ikev2c" 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-ikev2c" from 192.1.2.45:500 (in ike_process_packet() at ikev2.c:2064) | #1 st.st_msgid_lastrecv 17 md.hdr.isa_msgid 00000012 | Message ID: #1 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=17 responder.recv=17 | 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: 37 (0x25) | processing payload: ISAKMP_NEXT_v2SK (len=33) | Message ID: start-responder #1 request 18; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=17 responder.recv=17 wip.initiator=-1 wip.responder=-1->18 | #1 in state PARENT_R2: received v2I2, PARENT SA established | #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: | 62 4c 8c 71 5d 06 ad 37 | responder cookie: | d1 b8 66 fe a6 e7 2c 71 | 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: 18 (0x12) | 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 8 zero bytes of IV into IKEv2 Encryption Payload | adding 1 bytes of padding (including 1 byte padding-length) | emitting 1 0x00 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: 29 | emitting length of ISAKMP Message: 57 | sending 57 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) | 62 4c 8c 71 5d 06 ad 37 d1 b8 66 fe a6 e7 2c 71 | 2e 20 25 20 00 00 00 12 00 00 00 39 00 00 00 1d | ab 16 9c 8a 60 89 a5 de 95 d0 0e 98 8b 64 e8 c2 | 4b 1c 24 ba 35 aa ad ca 07 | 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=17 responder.recv=17 wip.initiator=-1 wip.responder=18 | Message ID: sent #1 response 18; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=17->18 responder.recv=17 wip.initiator=-1 wip.responder=18 | 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 37.6 milliseconds in total | [RE]START processing: state #1 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in delete_state() at state.c:879) "westnet-eastnet-ikev2c" #1: deleting state (STATE_IKESA_DEL) aged 45.100s 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@0x55638b26f248 | free_event_entry: release EVENT_SA_REKEY-pe@0x55638b26cc18 | State DB: IKEv2 state not found (flush_incomplete_children) | in connection_discard for connection westnet-eastnet-ikev2c | State DB: deleting IKEv2 state #1 in IKESA_DEL | parent state #1: IKESA_DEL(established IKE SA) => UNDEFINED(ignore) | stop processing: state #1 from 192.1.2.45:500 (in delete_state() at state.c:1143) | in statetime_stop() and could not find #1 | skip start processing: state #0 (in complete_v2_state_transition() at ikev2.c:3379) | #0 complete_v2_state_transition() md.from_state=PARENT_R2 md.svm.state[from]=PARENT_R2 UNDEFINED->PARENT_R2 with status STF_OK | STF_OK but no state object remains | processing: STOP state #0 (in ikev2_process_packet() at ikev2.c:2018) | in statetime_stop() and could not find #1 | stop processing: from 192.1.2.45:500 (in process_md() at demux.c:380) | processing: STOP state #0 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.371 milliseconds in comm_handle_cb() reading and processing packet | spent 0.0028 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 57 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 9d a8 6e 2d 17 ea e4 1c d1 6a 50 2f 42 7e 21 90 | 2e 20 25 08 00 00 00 00 00 00 00 39 00 00 00 1d | 60 74 bf 18 b1 b2 37 24 f6 d3 a7 36 48 ed 05 83 | 1d 96 8c 6a c4 3e 40 2f 8c | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 9d a8 6e 2d 17 ea e4 1c | responder cookie: | d1 6a 50 2f 42 7e 21 90 | 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: 0 (0x0) | length: 57 (0x39) | 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 #8 in PARENT_R2 (find_v2_ike_sa) | start processing: state #8 connection "westnet-eastnet-ikev2c" 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 #8 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in ike_process_packet() at ikev2.c:2064) | #8 st.st_msgid_lastrecv -1 md.hdr.isa_msgid 00000000 | Message ID: #8 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_v2NONE (0x0) | flags: none (0x0) | length: 29 (0x1d) | processing payload: ISAKMP_NEXT_v2SK (len=25) | Message ID: start-responder #8 request 0; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=-1 responder.recv=-1 wip.initiator=-1 wip.responder=-1->0 | #8 in state PARENT_R2: received v2I2, PARENT SA established | #8 ikev2 ISAKMP_v2_INFORMATIONAL decrypt success | 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 | MOBIKE request: not updating IPsec SA | Received an INFORMATIONAL response, updating st_last_liveness, no pending_liveness | **emit ISAKMP Message: | initiator cookie: | 9d a8 6e 2d 17 ea e4 1c | responder cookie: | d1 6a 50 2f 42 7e 21 90 | 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: 0 (0x0) | 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 8 zero bytes of IV into IKEv2 Encryption Payload | adding 1 bytes of padding (including 1 byte padding-length) | emitting 1 0x00 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: 29 | emitting length of ISAKMP Message: 57 | sending 57 bytes for reply packet for process_encrypted_informational_ikev2 through eth1 from 192.1.2.23:500 to 192.1.2.45:500 (using #8) | 9d a8 6e 2d 17 ea e4 1c d1 6a 50 2f 42 7e 21 90 | 2e 20 25 20 00 00 00 00 00 00 00 39 00 00 00 1d | 67 bd 32 3c 6f a4 07 c8 73 8e 9e 7f fe e7 12 31 | 5d e5 67 e8 aa 1d 48 5b a6 | Message ID: #8 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=0 | Message ID: sent #8 response 0; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=-1->0 responder.recv=-1 wip.initiator=-1 wip.responder=0 | #8 spent 0.0694 milliseconds in processing: R2: process Informational Request in ikev2_process_state_packet() | [RE]START processing: state #8 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #8 complete_v2_state_transition() PARENT_R2->PARENT_R2 with status STF_OK | Message ID: updating counters for #8 to 0 after switching state | Message ID: recv #8 request 0; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=-1->0 wip.initiator=-1 wip.responder=0->-1 | Message ID: #8 skipping update_send as nothing to send; initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0 wip.initiator=-1 wip.responder=-1 | STATE_PARENT_R2: received v2I2, PARENT SA established | stop processing: state #8 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2018) | #8 spent 0.167 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.175 milliseconds in comm_handle_cb() reading and processing packet | spent 0.00301 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 661 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 9d a8 6e 2d 17 ea e4 1c d1 6a 50 2f 42 7e 21 90 | 2e 20 24 08 00 00 00 01 00 00 02 95 21 00 02 79 | a5 28 a0 ef f3 d2 c0 69 7c 5e d0 f2 44 d2 26 5b | 44 c4 09 76 d5 19 f0 c8 86 a8 57 2c c9 2e 32 23 | bf 47 66 11 6a 30 62 82 59 90 66 63 e5 c5 62 fb | 6e 13 b8 ba 8c 5d eb 3b 82 a2 bb 54 6c c2 5f b0 | ee 13 97 f7 77 55 93 e8 3c cd 5e a0 e2 b2 22 bc | dd b0 7f 3a 70 4b e6 d7 4f 1f 83 69 df 4f c3 c9 | eb 65 34 8c bd e8 10 cc 38 d6 d8 41 8c bf 68 08 | ff c4 ff 81 4a 95 d6 53 2f 3d c3 80 a5 f8 7e da | 11 af be d5 6c 6f 99 c2 8a dd 1e 79 f9 c5 34 f5 | 17 5d 06 9c 98 8b 9d b8 37 44 0e 20 db 55 06 b7 | 90 b4 9b f8 0f 51 3c 54 32 ed ae 42 72 fd 18 2a | 11 c1 6b d1 d0 6c c1 01 23 c6 5a 36 e0 95 c9 e2 | 5d b4 3a 52 a4 b8 76 c3 3b 8d d0 4d 21 f7 cd 53 | 65 69 dc 0f 84 4f 97 93 29 97 c1 81 04 b0 05 8b | 11 0f 73 1e 76 fc f0 c1 10 f0 13 9c 66 bd a0 e3 | c3 55 87 23 6e 7d 57 ac 50 60 8c 99 0a 37 2a 8c | 80 54 89 4f 42 d6 22 81 45 5f 20 58 11 56 41 8c | 52 6a af a9 6a 38 60 68 c4 d8 8c d3 d9 b6 60 95 | 88 17 94 dc 66 9e bf 68 fa b7 49 42 59 1d 69 88 | c7 07 b0 76 50 90 a2 cd 39 00 8a 80 89 c6 4d a1 | 43 28 67 ee df 89 fd 35 f0 12 34 77 a3 af 2c 50 | e8 fb a7 49 03 87 68 b9 79 52 59 52 34 c5 4b 67 | e9 15 bf d0 33 ac e8 01 0d f4 5f bd 04 46 f3 3e | 0a 78 62 3d 6c 80 05 a7 d7 dd c9 6d 72 d2 7b ec | 0c 3a de de 94 76 79 87 86 e9 9b 48 32 69 f9 b0 | b1 3c b5 0b fb d8 0c 43 7f 0a fa 62 30 18 c9 77 | 4d f6 ae 7e ca 18 42 ad 86 25 ec 2e 26 ca 0b 75 | 69 c0 37 e5 36 09 d3 cb 8f 63 73 7b 4f e4 9d fc | 25 b6 42 83 c1 b8 63 32 2b 3d 79 44 3e 7d 44 3e | ae e3 d2 5e 38 4e 94 9c 1a e7 07 0e 04 04 ba 73 | 82 a6 7d fb 76 2c fa 10 32 df 28 40 9b b7 07 d5 | 52 10 29 75 50 54 ad 11 d3 f8 44 4c ea 83 dc 8c | 21 a1 b4 41 e3 8d 89 f9 d0 d8 69 96 77 2e e9 5d | 0a ba 6d 52 1c e2 46 04 70 c6 9a 71 74 24 05 02 | d1 23 11 66 d6 97 24 d3 87 2c 0b e9 55 6b 29 73 | 7b 3f 94 2f 5b 69 a2 08 37 4a b6 9e 3e 5b c2 01 | e1 cc 10 79 97 a0 32 7e 2f 0c ee 7a 03 3c 03 85 | 5a 9a 67 a5 8a fc e2 9b 53 40 29 62 b6 6f 87 ff | a9 6f 2d ee 50 77 89 4e 17 2a 0f fd fe 81 78 99 | 49 0d 5f 57 2b | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 9d a8 6e 2d 17 ea e4 1c | responder cookie: | d1 6a 50 2f 42 7e 21 90 | next payload type: ISAKMP_NEXT_v2SK (0x2e) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_CREATE_CHILD_SA (0x24) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 1 (0x1) | length: 661 (0x295) | processing version=2.0 packet with exchange type=ISAKMP_v2_CREATE_CHILD_SA (36) | I am the IKE SA Original Responder receiving an IKEv2 CREATE_CHILD_SA request | State DB: found IKEv2 state #8 in PARENT_R2 (find_v2_ike_sa) | start processing: state #8 connection "westnet-eastnet-ikev2c" 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 #8 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in ike_process_packet() at ikev2.c:2064) | #8 st.st_msgid_lastrecv 0 md.hdr.isa_msgid 00000001 | Message ID: #8 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_v2SA (0x21) | flags: none (0x0) | length: 633 (0x279) | processing payload: ISAKMP_NEXT_v2SK (len=629) | Message ID: start-responder #8 request 1; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0 wip.initiator=-1 wip.responder=-1->1 | #8 in state PARENT_R2: received v2I2, PARENT SA established | #8 ikev2 ISAKMP_v2_CREATE_CHILD_SA decrypt success | Now let's proceed with payload (ISAKMP_NEXT_v2SA) | **parse IKEv2 Security Association Payload: | next payload type: ISAKMP_NEXT_v2Ni (0x28) | flags: none (0x0) | length: 196 (0xc4) | processing payload: ISAKMP_NEXT_v2SA (len=192) | Now let's proceed with payload (ISAKMP_NEXT_v2Ni) | **parse IKEv2 Nonce Payload: | next payload type: ISAKMP_NEXT_v2KE (0x22) | flags: none (0x0) | length: 36 (0x24) | processing payload: ISAKMP_NEXT_v2Ni (len=32) | Now let's proceed with payload (ISAKMP_NEXT_v2KE) | **parse IKEv2 Key Exchange Payload: | next payload type: ISAKMP_NEXT_v2N (0x29) | 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_v2N) | **parse IKEv2 Notify Payload: | next payload type: ISAKMP_NEXT_v2TSi (0x2c) | flags: none (0x0) | length: 12 (0xc) | Protocol ID: PROTO_v2_ESP (0x3) | SPI size: 4 (0x4) | Notify Message Type: v2N_REKEY_SA (0x4009) | processing payload: ISAKMP_NEXT_v2N (len=4) | 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: 48 (0x30) | number of TS: 1 (0x1) | processing payload: ISAKMP_NEXT_v2TSi (len=40) | 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: 48 (0x30) | number of TS: 1 (0x1) | processing payload: ISAKMP_NEXT_v2TSr (len=40) | state #8 forced to match CREATE_CHILD_SA from V2_CREATE_R->V2_IPSEC_R by ignoring from state | selected state microcode Respond to CREATE_CHILD_SA IPsec SA Request | #8 updating local interface from 192.1.2.23:500 to 192.1.2.23:500 using md->iface (in update_ike_endpoints() at state.c:2669) | creating state object #9 at 0x55638b272ba8 | State DB: adding IKEv2 state #9 in UNDEFINED | pstats #9 ikev2.child started | duplicating state object #8 "westnet-eastnet-ikev2c" as #9 for IPSEC SA | #9 setting local endpoint to 192.1.2.23:500 from #8.st_localport (in duplicate_state() at state.c:1484) | Message ID: init_child #8.#9; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0; child: wip.initiator=0->-1 wip.responder=0->-1 | child state #9: UNDEFINED(ignore) => V2_CREATE_R(established IKE SA) | "westnet-eastnet-ikev2c" #8 received Child SA Request CREATE_CHILD_SA from 192.1.2.45:500 Child "westnet-eastnet-ikev2c" #9 in STATE_V2_CREATE_R will process it further | Message ID: switch-from #8 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 #8.#9 request 1; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0; child: wip.initiator=-1 wip.responder=-1->1 | forcing ST #8 to CHILD #8.#9 in FSM processor | Now let's proceed with state specific processing | calling processor Respond to CREATE_CHILD_SA IPsec SA Request | using existing local ESP/AH proposals for westnet-eastnet-ikev2c (CREATE_CHILD_SA responder matching remote ESP/AH proposals): 1:ESP:ENCR=AES_GCM_C_256;INTEG=NONE;DH=MODP2048;ESN=DISABLED 2:ESP:ENCR=AES_GCM_C_128;INTEG=NONE;DH=MODP2048;ESN=DISABLED 3:ESP:ENCR=AES_CBC_256;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=MODP2048;ESN=DISABLED 4:ESP:ENCR=AES_CBC_128;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=MODP2048;ESN=DISABLED | Comparing remote proposals against CREATE_CHILD_SA 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+DH+ESN; optional: INTEG | 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+DH+ESN; optional: INTEG | 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+DH+ESN; optional: none | 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+DH+ESN; optional: none | ***parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_NON_LAST (0x2) | length: 40 (0x28) | prop #: 1 (0x1) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (0x4) | # transforms: 3 (0x3) | parsing 4 raw bytes of IKEv2 Proposal Substructure Payload into remote SPI | remote SPI fb e8 2b 3b | Comparing remote proposal 1 containing 3 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_GCM_C (0x14) | *****parse IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 256 (0x100) | remote proposal 1 transform 0 (ENCR=AES_GCM_C_256) matches local proposal 1 type 1 (ENCR) transform 0 | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP2048 (0xe) | remote proposal 1 transform 1 (DH=MODP2048) matches local proposal 1 type 4 (DH) transform 0 | remote proposal 1 transform 1 (DH=MODP2048) matches local proposal 2 type 4 (DH) transform 0 | remote proposal 1 transform 1 (DH=MODP2048) matches local proposal 3 type 4 (DH) transform 0 | remote proposal 1 transform 1 (DH=MODP2048) matches local proposal 4 type 4 (DH) transform 0 | ****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 2 (ESN=DISABLED) matches local proposal 1 type 5 (ESN) transform 0 | remote proposal 1 transform 2 (ESN=DISABLED) matches local proposal 2 type 5 (ESN) transform 0 | remote proposal 1 transform 2 (ESN=DISABLED) matches local proposal 3 type 5 (ESN) transform 0 | remote proposal 1 transform 2 (ESN=DISABLED) matches local proposal 4 type 5 (ESN) transform 0 | remote proposal 1 proposed transforms: ENCR+DH+ESN; matched: ENCR+DH+ESN; unmatched: none | comparing remote proposal 1 containing ENCR+DH+ESN transforms to local proposal 1; required: ENCR+DH+ESN; optional: INTEG; matched: ENCR+DH+ESN | remote proposal 1 matches local proposal 1 | ***parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_NON_LAST (0x2) | length: 40 (0x28) | prop #: 2 (0x2) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (0x4) | # transforms: 3 (0x3) | parsing 4 raw bytes of IKEv2 Proposal Substructure Payload into remote SPI | remote SPI fb e8 2b 3b | Comparing remote proposal 2 containing 3 transforms against local proposal [1..0] 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_GCM_C (0x14) | *****parse IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 128 (0x80) | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP2048 (0xe) | ****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 2 proposed transforms: ENCR+DH+ESN; matched: none; unmatched: ENCR+DH+ESN | remote proposal 2 does not match; unmatched remote transforms: ENCR+DH+ESN | ***parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_NON_LAST (0x2) | length: 56 (0x38) | prop #: 3 (0x3) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (0x4) | # transforms: 5 (0x5) | parsing 4 raw bytes of IKEv2 Proposal Substructure Payload into remote SPI | remote SPI fb e8 2b 3b | Comparing remote proposal 3 containing 5 transforms against local proposal [1..0] 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) | ****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_512_256 (0xe) | ****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) | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP2048 (0xe) | ****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 3 proposed transforms: ENCR+INTEG+DH+ESN; matched: none; unmatched: ENCR+INTEG+DH+ESN | remote proposal 3 does not match; unmatched remote transforms: ENCR+INTEG+DH+ESN | ***parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | length: 56 (0x38) | prop #: 4 (0x4) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (0x4) | # transforms: 5 (0x5) | parsing 4 raw bytes of IKEv2 Proposal Substructure Payload into remote SPI | remote SPI fb e8 2b 3b | Comparing remote proposal 4 containing 5 transforms against local proposal [1..0] 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) | ****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_512_256 (0xe) | ****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) | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP2048 (0xe) | ****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 4 proposed transforms: ENCR+INTEG+DH+ESN; matched: none; unmatched: ENCR+INTEG+DH+ESN | remote proposal 4 does not match; unmatched remote transforms: ENCR+INTEG+DH+ESN "westnet-eastnet-ikev2c" #8: proposal 1:ESP:SPI=fbe82b3b;ENCR=AES_GCM_C_256;DH=MODP2048;ESN=DISABLED chosen from remote proposals 1:ESP:ENCR=AES_GCM_C_256;DH=MODP2048;ESN=DISABLED[first-match] 2:ESP:ENCR=AES_GCM_C_128;DH=MODP2048;ESN=DISABLED 3:ESP:ENCR=AES_CBC_256;INTEG=HMAC_SHA2_512_256;INTEG=HMAC_SHA2_256_128;DH=MODP2048;ESN=DISABLED 4:ESP:ENCR=AES_CBC_128;INTEG=HMAC_SHA2_512_256;INTEG=HMAC_SHA2_256_128;DH=MODP2048;ESN=DISABLED | CREATE_CHILD_SA responder matching remote ESP/AH proposals ikev2_proposal: 1:ESP:SPI=fbe82b3b;ENCR=AES_GCM_C_256;DH=MODP2048;ESN=DISABLED | converting proposal to internal trans attrs | updating #9's .st_oakley with preserved PRF, but why update? | received v2N_REKEY_SA | child state #9: V2_CREATE_R(established IKE SA) => V2_REKEY_CHILD_R(established IKE SA) | CREATE_CHILD_SA IPsec SA rekey Protocol PROTO_v2_ESP | parsing 4 raw bytes of IKEv2 Notify Payload into SPI | SPI c6 40 5f 82 | CREATE_CHILD_S to rekey IPsec SA(0xc6405f82) Protocol PROTO_v2_ESP | v2 CHILD SA #5 found using their inbound (our outbound) SPI, in STATE_V2_IPSEC_R | State DB: found IKEv2 state #5 in V2_IPSEC_R (find_v2_child_sa_by_outbound_spi) | #9 rekey request for "westnet-eastnet-ikev2a" #5 TSi TSr | 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 | in connection_discard for connection westnet-eastnet-ikev2c | adding Child Rekey Responder KE and nonce nr work-order 15 for state #9 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x7efe08002b78 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #9 | libevent_malloc: new ptr-libevent@0x7efdf8006c18 size 128 | #9 spent 0.282 milliseconds in processing: Respond to CREATE_CHILD_SA IPsec SA Request in ikev2_process_state_packet() | crypto helper 1 resuming | crypto helper 1 starting work-order 15 for state #9 | crypto helper 1 doing build KE and nonce (Child Rekey Responder KE and nonce nr); request ID 15 | suspend processing: state #8 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | start processing: state #9 connection "westnet-eastnet-ikev2a" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #9 complete_v2_state_transition() md.from_state=V2_CREATE_R md.svm.state[from]=V2_CREATE_R V2_REKEY_CHILD_R->V2_IPSEC_R 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-ikev2a" from 192.1.2.45:500 (in log_stf_suspend() at ikev2.c:3269) | "westnet-eastnet-ikev2a" #9 complete v2 state STATE_V2_REKEY_CHILD_R transition with STF_SUSPEND suspended from complete_v2_state_transition:3451 | stop processing: state #9 connection "westnet-eastnet-ikev2a" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2018) | #8 spent 0.564 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.572 milliseconds in comm_handle_cb() reading and processing packet | crypto helper 1 finished build KE and nonce (Child Rekey Responder KE and nonce nr); request ID 15 time elapsed 0.001005 seconds | (#9) spent 1.02 milliseconds in crypto helper computing work-order 15: Child Rekey Responder KE and nonce nr (pcr) | crypto helper 1 sending results from work-order 15 for state #9 to event queue | scheduling resume sending helper answer for #9 | libevent_malloc: new ptr-libevent@0x7efe0c006cf8 size 128 | crypto helper 1 waiting (nothing to do) | processing resume sending helper answer for #9 | start processing: state #9 connection "westnet-eastnet-ikev2a" from 192.1.2.45:500 (in resume_handler() at server.c:797) | crypto helper 1 replies to request ID 15 | calling continuation function 0x55638afa9b50 | ikev2_child_inIoutR_continue for #9 STATE_V2_REKEY_CHILD_R | adding DHv2 for child sa work-order 16 for state #9 | state #9 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x7efdf8006c18 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x7efe08002b78 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x7efe08002b78 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #9 | libevent_malloc: new ptr-libevent@0x7efdf8006c18 size 128 | [RE]START processing: state #9 connection "westnet-eastnet-ikev2a" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | crypto helper 0 resuming | #9 complete_v2_state_transition() md.from_state=V2_CREATE_R md.svm.state[from]=V2_CREATE_R V2_REKEY_CHILD_R->V2_IPSEC_R with status STF_SUSPEND | suspending state #9 and saving MD | #9 is busy; has a suspended MD | crypto helper 0 starting work-order 16 for state #9 | [RE]START processing: state #9 connection "westnet-eastnet-ikev2a" from 192.1.2.45:500 (in log_stf_suspend() at ikev2.c:3269) | "westnet-eastnet-ikev2a" #9 complete v2 state STATE_V2_REKEY_CHILD_R transition with STF_SUSPEND suspended from complete_v2_state_transition:3451 | crypto helper 0 doing crypto (DHv2 for child sa); request ID 16 | resume sending helper answer for #9 suppresed complete_v2_state_transition() and stole MD | #9 spent 0.0619 milliseconds in resume sending helper answer | stop processing: state #9 connection "westnet-eastnet-ikev2a" from 192.1.2.45:500 (in resume_handler() at server.c:833) | libevent_free: release ptr-libevent@0x7efe0c006cf8 | crypto helper 0 finished crypto (DHv2 for child sa); request ID 16 time elapsed 0.000974 seconds | (#9) spent 0.959 milliseconds in crypto helper computing work-order 16: DHv2 for child sa (dh) | crypto helper 0 sending results from work-order 16 for state #9 to event queue | scheduling resume sending helper answer for #9 | libevent_malloc: new ptr-libevent@0x7efe04000e98 size 128 | crypto helper 0 waiting (nothing to do) | processing resume sending helper answer for #9 | start processing: state #9 connection "westnet-eastnet-ikev2a" from 192.1.2.45:500 (in resume_handler() at server.c:797) | crypto helper 0 replies to request ID 16 | calling continuation function 0x55638afaa9d0 | ikev2_child_inIoutR_continue_continue for #9 STATE_V2_REKEY_CHILD_R | **emit ISAKMP Message: | initiator cookie: | 9d a8 6e 2d 17 ea e4 1c | responder cookie: | d1 6a 50 2f 42 7e 21 90 | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_CREATE_CHILD_SA (0x24) | flags: ISAKMP_FLAG_v2_MSG_RESPONSE (0x20) | Message ID: 1 (0x1) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | ***emit IKEv2 Encryption Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'ISAKMP Message'.'next payload type' to current IKEv2 Encryption Payload (46:ISAKMP_NEXT_v2SK) | next payload chain: saving location 'IKEv2 Encryption Payload'.'next payload type' in 'reply packet' | emitting 8 zero bytes of IV into IKEv2 Encryption Payload | #9 inherit spd, TSi TSr, from "westnet-eastnet-ikev2a" #5 | 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 | netlink_get_spi: allocated 0x5f08f5a0 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 Encryption Payload'.'next payload type' to current IKEv2 Security Association Payload (33:ISAKMP_NEXT_v2SA) | next payload chain: saving location 'IKEv2 Security Association Payload'.'next payload type' in 'reply packet' | *****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 5f 08 f5 a0 | ******emit IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | IKEv2 transform type: TRANS_TYPE_ENCR (0x1) | IKEv2 transform ID: AES_GCM_C (0x14) | last substructure: saving location 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' | *******emit IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 256 (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_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 | ******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 Nonce Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'IKEv2 Security Association Payload'.'next payload type' to current IKEv2 Nonce Payload (40:ISAKMP_NEXT_v2Ni) | next payload chain: saving location 'IKEv2 Nonce Payload'.'next payload type' in 'reply packet' | emitting 32 raw bytes of IKEv2 nonce into IKEv2 Nonce Payload | IKEv2 nonce 2a a3 d4 fe 4c ab ab ae 3c d5 95 fc f7 33 2f 80 | IKEv2 nonce 6b 9e a0 c5 1d e8 fc e4 0a 78 94 28 02 d4 cd 94 | emitting length of IKEv2 Nonce Payload: 36 | ****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 Nonce 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 d8 d5 a4 e2 15 ca ef fa 2b 68 24 d8 e8 a4 ed d2 | ikev2 g^x d9 3e d2 65 63 9b c3 81 f6 96 55 f3 4b 75 69 bb | ikev2 g^x 51 19 c9 e0 88 6b a1 74 d7 15 ee 86 33 06 35 20 | ikev2 g^x ff b0 13 6a 42 2e 33 d9 6f 5b 68 13 42 6c 19 17 | ikev2 g^x 82 0a 41 ad 14 e7 b6 4e 40 9a 8e ee 89 81 29 41 | ikev2 g^x 35 51 40 94 5f 80 72 73 98 af 29 7b 68 9d 52 ff | ikev2 g^x a3 59 02 15 96 fe f5 98 b8 ea b7 b5 8b 04 2a ef | ikev2 g^x d1 ee ee f2 54 c7 8c 03 90 fe 30 73 e2 de f1 da | ikev2 g^x f6 4b 39 69 da 75 6e 5d 36 18 ac 44 c5 ee 9f 62 | ikev2 g^x 1a 5b f0 ab d6 96 0f b3 29 eb 2f fa 31 08 0e 38 | ikev2 g^x f3 d4 91 f2 78 6c dc 96 9d 4b 07 90 66 1d 2b 5f | ikev2 g^x 20 72 24 8d 20 32 0f d6 ad 35 9b 39 a4 0a 0a 61 | ikev2 g^x 42 be 29 cb 41 56 cf 04 65 0c 1c a6 9c 30 43 41 | ikev2 g^x cd 33 52 53 d1 22 d1 ca 4d dc ac c6 ee f0 bf c0 | ikev2 g^x 0f 18 7d 76 ae 9d 70 22 47 d3 60 71 90 4a 85 52 | ikev2 g^x 97 43 8d 58 3e 0b 6c 75 d8 9d f0 72 c0 84 6f df | emitting length of IKEv2 Key Exchange Payload: 264 | received REKEY_SA already proceesd | ****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 Key Exchange Payload'.'next payload type' to current IKEv2 Traffic Selector - Initiator - Payload (44:ISAKMP_NEXT_v2TSi) | next payload chain: saving location 'IKEv2 Traffic Selector - Initiator - Payload'.'next payload type' in 'reply packet' | *****emit IKEv2 Traffic Selector: | TS type: IKEv2_TS_IPV4_ADDR_RANGE (0x7) | IP Protocol ID: 0 (0x0) | start port: 0 (0x0) | end port: 65535 (0xffff) | emitting 4 raw bytes of ipv4 start into IKEv2 Traffic Selector | ipv4 start c0 00 01 00 | emitting 4 raw bytes of ipv4 end into IKEv2 Traffic Selector | ipv4 end c0 00 01 ff | emitting length of IKEv2 Traffic Selector: 16 | emitting length of IKEv2 Traffic Selector - Initiator - Payload: 24 | ****emit IKEv2 Traffic Selector - Responder - Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | number of TS: 1 (0x1) | next payload chain: setting previous 'IKEv2 Traffic Selector - Initiator - Payload'.'next payload type' to current IKEv2 Traffic Selector - Responder - Payload (45:ISAKMP_NEXT_v2TSr) | next payload chain: saving location 'IKEv2 Traffic Selector - Responder - Payload'.'next payload type' in 'reply packet' | *****emit IKEv2 Traffic Selector: | TS type: IKEv2_TS_IPV4_ADDR_RANGE (0x7) | IP Protocol ID: 0 (0x0) | start port: 0 (0x0) | end port: 65535 (0xffff) | emitting 4 raw bytes of ipv4 start into IKEv2 Traffic Selector | ipv4 start c0 00 02 00 | emitting 4 raw bytes of ipv4 end into IKEv2 Traffic Selector | ipv4 end c0 00 02 ff | emitting length of IKEv2 Traffic Selector: 16 | emitting length of IKEv2 Traffic Selector - Responder - Payload: 24 | Initiator child policy is compress=no, NOT sending v2N_IPCOMP_SUPPORTED | integ=none: .key_size=0 encrypt=aes_gcm_16: .key_size=32 .salt_size=4 keymat_len=36 | install_ipsec_sa() for #9: inbound and outbound | could_route called for westnet-eastnet-ikev2a (kind=CK_PERMANENT) | FOR_EACH_CONNECTION_... in route_owner | conn westnet-eastnet-ikev2a mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ikev2c mark 0/00000000, 0/00000000 | conn westnet-eastnet-ikev2a mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ikev2b mark 0/00000000, 0/00000000 | conn westnet-eastnet-ikev2a mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ikev2a mark 0/00000000, 0/00000000 | route owner of "westnet-eastnet-ikev2a" erouted: self; eroute owner: self | looking for alg with encrypt: AES_GCM_16 keylen: 256 integ: NONE | encrypt AES_GCM_16 keylen=256 transid=20, key_size=32, encryptalg=20 | AES_GCM_16 requires 4 salt bytes | st->st_esp.keymat_len=36 is encrypt_keymat_size=36 + integ_keymat_size=0 | setting IPsec SA replay-window to 32 | NIC esp-hw-offload not for connection 'westnet-eastnet-ikev2a' 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.fbe82b3b@192.1.2.45 included non-error error | set up outgoing SA, ref=0/0 | looking for alg with encrypt: AES_GCM_16 keylen: 256 integ: NONE | encrypt AES_GCM_16 keylen=256 transid=20, key_size=32, encryptalg=20 | AES_GCM_16 requires 4 salt bytes | st->st_esp.keymat_len=36 is encrypt_keymat_size=36 + integ_keymat_size=0 | setting IPsec SA replay-window to 32 | NIC esp-hw-offload not for connection 'westnet-eastnet-ikev2a' 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.5f08f5a0@192.1.2.23 included non-error error | set up incoming SA, ref=0/0 | sr for #9: erouted | route_and_eroute() for proto 0, and source port 0 dest port 0 | FOR_EACH_CONNECTION_... in route_owner | conn westnet-eastnet-ikev2a mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ikev2c mark 0/00000000, 0/00000000 | conn westnet-eastnet-ikev2a mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ikev2b mark 0/00000000, 0/00000000 | conn westnet-eastnet-ikev2a mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ikev2a mark 0/00000000, 0/00000000 | route owner of "westnet-eastnet-ikev2a" erouted: self; eroute owner: self | route_and_eroute with c: westnet-eastnet-ikev2a (next: none) ero:westnet-eastnet-ikev2a esr:{(nil)} ro:westnet-eastnet-ikev2a rosr:{(nil)} and state: #9 | priority calculation of connection "westnet-eastnet-ikev2a" 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 | route_and_eroute: firewall_notified: true | route_and_eroute: instance "westnet-eastnet-ikev2a", setting eroute_owner {spd=0x55638b26adc8,sr=0x55638b26adc8} to #9 (was #5) (newest_ipsec_sa=#5) | #8 spent 0.412 milliseconds in install_ipsec_sa() | ISAKMP_v2_CREATE_CHILD_SA: instance westnet-eastnet-ikev2a[0], setting IKEv2 newest_ipsec_sa to #9 (was #5) (spd.eroute=#9) cloned from #8 | adding 1 bytes of padding (including 1 byte padding-length) | emitting 1 0x00 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: 421 | emitting length of ISAKMP Message: 449 "westnet-eastnet-ikev2a" #9: negotiated new IPsec SA [192.0.2.0-192.0.2.255:0-65535 0] -> [192.0.1.0-192.0.1.255:0-65535 0] | [RE]START processing: state #9 connection "westnet-eastnet-ikev2a" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #9 complete_v2_state_transition() md.from_state=V2_CREATE_R md.svm.state[from]=V2_CREATE_R V2_REKEY_CHILD_R->V2_IPSEC_R with status STF_OK | IKEv2: transition from state STATE_V2_CREATE_R to state STATE_V2_IPSEC_R | child state #9: V2_REKEY_CHILD_R(established IKE SA) => V2_IPSEC_R(established CHILD SA) | Message ID: updating counters for #9 to 1 after switching state | Message ID: recv #8.#9 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 #8.#9 response 1; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0->1 responder.recv=1; child: wip.initiator=-1 wip.responder=-1 | pstats #9 ikev2.child established "westnet-eastnet-ikev2a" #9: 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-ikev2a" #9: STATE_V2_IPSEC_R: IPsec SA established tunnel mode {ESP=>0xfbe82b3b <0x5f08f5a0 xfrm=AES_GCM_16_256-NONE-MODP2048 NATOA=none NATD=none DPD=passive} | sending V2 new request packet to 192.1.2.45:500 (from 192.1.2.23:500) | sending 449 bytes for STATE_V2_CREATE_R through eth1 from 192.1.2.23:500 to 192.1.2.45:500 (using #8) | 9d a8 6e 2d 17 ea e4 1c d1 6a 50 2f 42 7e 21 90 | 2e 20 24 20 00 00 00 01 00 00 01 c1 21 00 01 a5 | 4e d7 53 e3 32 07 4a fe ab 73 64 42 30 26 e6 db | 0c 3b a6 c3 b6 3a 6f c3 96 82 1f ab 6c f3 42 9a | 78 78 8d 04 ea 1c c8 e7 6f db 43 d5 29 ff eb 00 | 09 4b 32 11 d6 61 a8 d4 08 da 41 70 60 0f fe 15 | 75 2f 74 32 a4 4e ff 8c 2c ff 03 12 58 26 5f 0d | 41 4a 44 3e cc a1 19 8c 6d 4b 58 89 55 95 6d 83 | 23 1e 48 b4 d7 fe 81 1f 19 c6 b8 78 54 07 4d 07 | 3a 3b 50 0e 34 71 e6 2d a9 b8 bf 26 57 54 ae 48 | 38 2a 5a 40 67 42 fe b7 c2 01 6d 21 40 75 78 28 | 61 8c ef 4c 94 60 95 8a bf e0 5a f6 fa cf 62 2a | ea 76 55 88 e7 8d 9e 13 62 e2 94 5f e1 5f 05 23 | a4 58 1f 64 22 81 c5 6d f6 fb 32 85 6f 0e 91 2d | a7 08 6e 2a 40 ad 90 df 94 9b 01 b5 37 bf ac 1d | 14 0d 46 08 3a 3d d3 e3 c6 3a 96 1c e6 99 9e 0e | 0d b1 93 e1 98 85 20 51 4f 6a c1 41 91 c9 9e 75 | 89 f7 d1 3b a1 ed 9c 74 96 d1 70 0d 16 e3 dd 3c | b9 b4 15 a8 80 d7 bd 3d 4f 58 fc 44 70 79 70 b6 | 00 70 2f 86 5c a7 53 b0 86 6f d8 10 bb 78 7e 40 | e6 ec c3 2a 89 82 04 53 1a 7a 47 3f be ec f6 ca | f9 5e 5f a8 0d 25 e5 37 cf d5 e1 25 2b c0 4c 89 | 49 40 03 cd 8c bf 1a 6b 14 76 83 67 29 ac e7 69 | 3c fb 76 14 2b b9 3b ad 29 2f 56 fe 16 57 b1 8c | 74 dc c0 90 07 cc f4 01 82 55 c6 2a 94 c9 c7 99 | c2 46 ef 73 a4 0c dd cc 72 24 dc 28 53 5d e0 6a | 9d 07 2c 56 09 0a 6e d5 a6 92 91 49 e1 8f 34 b0 | 95 b8 c8 d7 ed e7 14 8a 2e 46 82 8a 0a d5 d3 37 | ac | releasing whack for #9 (sock=fd@-1) | releasing whack and unpending for parent #8 | unpending state #8 connection "westnet-eastnet-ikev2a" | #9 will start re-keying in 28530 seconds with margin of 270 seconds (attempting re-key) | state #9 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x7efdf8006c18 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x7efe08002b78 | event_schedule: new EVENT_SA_REKEY-pe@0x7efe08002b78 | inserting event EVENT_SA_REKEY, timeout in 28530 seconds for #9 | libevent_malloc: new ptr-libevent@0x7efe0c006cf8 size 128 | #9 spent 0.929 milliseconds in resume sending helper answer | stop processing: state #9 connection "westnet-eastnet-ikev2a" from 192.1.2.45:500 (in resume_handler() at server.c:833) | libevent_free: release ptr-libevent@0x7efe04000e98 | spent 0.00331 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 661 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 9d a8 6e 2d 17 ea e4 1c d1 6a 50 2f 42 7e 21 90 | 2e 20 24 08 00 00 00 02 00 00 02 95 21 00 02 79 | 92 06 d4 44 24 11 1c f3 e5 2b a1 a1 91 19 27 5f | f1 e2 b8 34 7e d0 e7 10 d2 d9 80 ee ae b3 3c 7e | 17 46 ff d9 ed 60 b2 6f 05 d6 65 b1 c6 6a 33 1b | 79 a9 0c a4 58 d9 b5 ae 02 d9 7b 6f 0f b9 98 e5 | 41 ce 83 25 dc 1d 3f 93 66 64 d5 f3 fd 12 ed d6 | 16 0d b1 5a 33 97 9e cb fc 45 64 8a 55 26 93 df | da ef 41 ab 76 3b 9c ab ce cc 9c 54 cf 69 d9 60 | b0 e2 92 90 66 bf d9 19 d2 c3 76 43 4c d3 8e f3 | ab 80 bf 84 22 8f ce b1 ce a6 5b 11 a8 6d 58 88 | 80 8f 14 ac 8f ca 42 84 ac fb 4d 9d 52 f6 2b 4c | 83 63 d2 bf 5f 6f 41 b2 16 a9 79 68 59 34 7c b1 | 86 ea ac 2a ab bc 46 62 29 f8 04 8d ff 33 ac 25 | 97 bd 73 50 ff ae b5 0b 0b 96 45 bb 33 93 66 e3 | 84 ee 06 01 4c f6 07 15 2f 14 e9 9d cf 94 40 9f | bf cf 2d 92 ad f6 01 8b ae e3 08 bc f9 f3 af 9a | 55 12 02 a1 fb 6a 94 f6 1c 69 9a 84 3e 77 55 32 | 50 5b 1d 3a 94 3f 34 be 2f 73 0e 6e 91 05 c1 c5 | 09 75 e6 64 95 61 75 28 4c ff fc 1d 0c 14 f6 e5 | c5 c5 e0 b3 12 a9 75 2b 0c 4d d5 b8 6d 8d 0e 1d | 76 e8 e6 c9 be 23 fa 46 c0 ad 17 79 d5 eb 54 e2 | 42 c1 f1 57 69 c9 51 1c 65 02 4d 8e 25 d7 0d b2 | bd eb 1c b7 8d fc 75 23 2a a9 cc a6 86 0e a8 d2 | 41 25 1c 1c b4 13 4a 10 8e 31 0a 62 0d 28 91 12 | 8b 9c ac 4d 6f 19 f1 5e 61 64 35 6e 41 3e 8b e6 | e2 2e 7f 9a ea 43 27 d2 35 27 76 9c db ea 0c 82 | 74 c1 12 09 58 d7 2c 28 96 95 b3 49 f3 14 f7 84 | 42 48 86 4a cd 18 96 25 d6 3d e8 e1 99 b9 f7 67 | 4b 44 8a 39 97 13 cf 55 49 db 78 be 6b 3b cd 82 | d7 80 3a 97 81 ec 3b 0a 96 7d 47 25 ac 26 eb 38 | f7 83 df dc 70 9d 0c b1 6c df 54 fd 46 58 96 ad | 43 f4 fb 93 d4 bb da fb 4f c8 f1 7b 86 a8 cc 23 | d2 08 31 94 09 9a c3 dd 72 bb 8f 36 1b 1f b1 4b | 1f ac 86 b1 55 8a 0c 88 6b 77 51 dc 52 3a 47 40 | 6a 2b a3 84 53 75 ed 38 9e c2 4a 78 8d 11 50 ff | 0a 96 9a c2 3d 43 31 7a 19 e6 0a 79 7b f2 66 a4 | a9 89 0d f2 40 e4 d4 32 01 94 1f 53 23 66 ea 0a | a6 7b 39 8b 2d 38 b7 39 43 db ad 07 17 fc aa cf | b3 6c e2 57 72 d8 af 9e ea 76 a9 b7 4b 06 e8 e6 | 8e 4b 69 da 3a d6 30 24 cd b9 8d 66 1b ee 15 aa | 4d 75 99 d3 36 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 9d a8 6e 2d 17 ea e4 1c | responder cookie: | d1 6a 50 2f 42 7e 21 90 | next payload type: ISAKMP_NEXT_v2SK (0x2e) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_CREATE_CHILD_SA (0x24) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 2 (0x2) | length: 661 (0x295) | processing version=2.0 packet with exchange type=ISAKMP_v2_CREATE_CHILD_SA (36) | I am the IKE SA Original Responder receiving an IKEv2 CREATE_CHILD_SA request | State DB: found IKEv2 state #8 in PARENT_R2 (find_v2_ike_sa) | start processing: state #8 connection "westnet-eastnet-ikev2c" 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 #8 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in ike_process_packet() at ikev2.c:2064) | #8 st.st_msgid_lastrecv 1 md.hdr.isa_msgid 00000002 | Message ID: #8 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_v2SA (0x21) | flags: none (0x0) | length: 633 (0x279) | processing payload: ISAKMP_NEXT_v2SK (len=629) | Message ID: start-responder #8 request 2; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=1 responder.recv=1 wip.initiator=-1 wip.responder=-1->2 | #8 in state PARENT_R2: received v2I2, PARENT SA established | #8 ikev2 ISAKMP_v2_CREATE_CHILD_SA decrypt success | Now let's proceed with payload (ISAKMP_NEXT_v2SA) | **parse IKEv2 Security Association Payload: | next payload type: ISAKMP_NEXT_v2Ni (0x28) | flags: none (0x0) | length: 196 (0xc4) | processing payload: ISAKMP_NEXT_v2SA (len=192) | Now let's proceed with payload (ISAKMP_NEXT_v2Ni) | **parse IKEv2 Nonce Payload: | next payload type: ISAKMP_NEXT_v2KE (0x22) | flags: none (0x0) | length: 36 (0x24) | processing payload: ISAKMP_NEXT_v2Ni (len=32) | Now let's proceed with payload (ISAKMP_NEXT_v2KE) | **parse IKEv2 Key Exchange Payload: | next payload type: ISAKMP_NEXT_v2N (0x29) | 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_v2N) | **parse IKEv2 Notify Payload: | next payload type: ISAKMP_NEXT_v2TSi (0x2c) | flags: none (0x0) | length: 12 (0xc) | Protocol ID: PROTO_v2_ESP (0x3) | SPI size: 4 (0x4) | Notify Message Type: v2N_REKEY_SA (0x4009) | processing payload: ISAKMP_NEXT_v2N (len=4) | 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: 48 (0x30) | number of TS: 1 (0x1) | processing payload: ISAKMP_NEXT_v2TSi (len=40) | 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: 48 (0x30) | number of TS: 1 (0x1) | processing payload: ISAKMP_NEXT_v2TSr (len=40) | state #8 forced to match CREATE_CHILD_SA from V2_CREATE_R->V2_IPSEC_R by ignoring from state | selected state microcode Respond to CREATE_CHILD_SA IPsec SA Request | #8 updating local interface from 192.1.2.23:500 to 192.1.2.23:500 using md->iface (in update_ike_endpoints() at state.c:2669) | creating state object #10 at 0x55638b29a208 | State DB: adding IKEv2 state #10 in UNDEFINED | pstats #10 ikev2.child started | duplicating state object #8 "westnet-eastnet-ikev2c" as #10 for IPSEC SA | #10 setting local endpoint to 192.1.2.23:500 from #8.st_localport (in duplicate_state() at state.c:1484) | Message ID: init_child #8.#10; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=1 responder.recv=1; child: wip.initiator=0->-1 wip.responder=0->-1 | child state #10: UNDEFINED(ignore) => V2_CREATE_R(established IKE SA) | "westnet-eastnet-ikev2c" #8 received Child SA Request CREATE_CHILD_SA from 192.1.2.45:500 Child "westnet-eastnet-ikev2c" #10 in STATE_V2_CREATE_R will process it further | Message ID: switch-from #8 request 2; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=1 responder.recv=1 wip.initiator=-1 wip.responder=2->-1 | Message ID: switch-to #8.#10 request 2; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=1 responder.recv=1; child: wip.initiator=-1 wip.responder=-1->2 | forcing ST #8 to CHILD #8.#10 in FSM processor | Now let's proceed with state specific processing | calling processor Respond to CREATE_CHILD_SA IPsec SA Request | using existing local ESP/AH proposals for westnet-eastnet-ikev2c (CREATE_CHILD_SA responder matching remote ESP/AH proposals): 1:ESP:ENCR=AES_GCM_C_256;INTEG=NONE;DH=MODP2048;ESN=DISABLED 2:ESP:ENCR=AES_GCM_C_128;INTEG=NONE;DH=MODP2048;ESN=DISABLED 3:ESP:ENCR=AES_CBC_256;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=MODP2048;ESN=DISABLED 4:ESP:ENCR=AES_CBC_128;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=MODP2048;ESN=DISABLED | Comparing remote proposals against CREATE_CHILD_SA 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+DH+ESN; optional: INTEG | 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+DH+ESN; optional: INTEG | 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+DH+ESN; optional: none | 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+DH+ESN; optional: none | ***parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_NON_LAST (0x2) | length: 40 (0x28) | prop #: 1 (0x1) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (0x4) | # transforms: 3 (0x3) | parsing 4 raw bytes of IKEv2 Proposal Substructure Payload into remote SPI | remote SPI 1f c0 10 4c | Comparing remote proposal 1 containing 3 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_GCM_C (0x14) | *****parse IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 256 (0x100) | remote proposal 1 transform 0 (ENCR=AES_GCM_C_256) matches local proposal 1 type 1 (ENCR) transform 0 | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP2048 (0xe) | remote proposal 1 transform 1 (DH=MODP2048) matches local proposal 1 type 4 (DH) transform 0 | remote proposal 1 transform 1 (DH=MODP2048) matches local proposal 2 type 4 (DH) transform 0 | remote proposal 1 transform 1 (DH=MODP2048) matches local proposal 3 type 4 (DH) transform 0 | remote proposal 1 transform 1 (DH=MODP2048) matches local proposal 4 type 4 (DH) transform 0 | ****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 2 (ESN=DISABLED) matches local proposal 1 type 5 (ESN) transform 0 | remote proposal 1 transform 2 (ESN=DISABLED) matches local proposal 2 type 5 (ESN) transform 0 | remote proposal 1 transform 2 (ESN=DISABLED) matches local proposal 3 type 5 (ESN) transform 0 | remote proposal 1 transform 2 (ESN=DISABLED) matches local proposal 4 type 5 (ESN) transform 0 | remote proposal 1 proposed transforms: ENCR+DH+ESN; matched: ENCR+DH+ESN; unmatched: none | comparing remote proposal 1 containing ENCR+DH+ESN transforms to local proposal 1; required: ENCR+DH+ESN; optional: INTEG; matched: ENCR+DH+ESN | remote proposal 1 matches local proposal 1 | ***parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_NON_LAST (0x2) | length: 40 (0x28) | prop #: 2 (0x2) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (0x4) | # transforms: 3 (0x3) | parsing 4 raw bytes of IKEv2 Proposal Substructure Payload into remote SPI | remote SPI 1f c0 10 4c | Comparing remote proposal 2 containing 3 transforms against local proposal [1..0] 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_GCM_C (0x14) | *****parse IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 128 (0x80) | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP2048 (0xe) | ****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 2 proposed transforms: ENCR+DH+ESN; matched: none; unmatched: ENCR+DH+ESN | remote proposal 2 does not match; unmatched remote transforms: ENCR+DH+ESN | ***parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_NON_LAST (0x2) | length: 56 (0x38) | prop #: 3 (0x3) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (0x4) | # transforms: 5 (0x5) | parsing 4 raw bytes of IKEv2 Proposal Substructure Payload into remote SPI | remote SPI 1f c0 10 4c | Comparing remote proposal 3 containing 5 transforms against local proposal [1..0] 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) | ****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_512_256 (0xe) | ****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) | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP2048 (0xe) | ****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 3 proposed transforms: ENCR+INTEG+DH+ESN; matched: none; unmatched: ENCR+INTEG+DH+ESN | remote proposal 3 does not match; unmatched remote transforms: ENCR+INTEG+DH+ESN | ***parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | length: 56 (0x38) | prop #: 4 (0x4) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (0x4) | # transforms: 5 (0x5) | parsing 4 raw bytes of IKEv2 Proposal Substructure Payload into remote SPI | remote SPI 1f c0 10 4c | Comparing remote proposal 4 containing 5 transforms against local proposal [1..0] 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) | ****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_512_256 (0xe) | ****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) | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP2048 (0xe) | ****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 4 proposed transforms: ENCR+INTEG+DH+ESN; matched: none; unmatched: ENCR+INTEG+DH+ESN | remote proposal 4 does not match; unmatched remote transforms: ENCR+INTEG+DH+ESN "westnet-eastnet-ikev2c" #8: proposal 1:ESP:SPI=1fc0104c;ENCR=AES_GCM_C_256;DH=MODP2048;ESN=DISABLED chosen from remote proposals 1:ESP:ENCR=AES_GCM_C_256;DH=MODP2048;ESN=DISABLED[first-match] 2:ESP:ENCR=AES_GCM_C_128;DH=MODP2048;ESN=DISABLED 3:ESP:ENCR=AES_CBC_256;INTEG=HMAC_SHA2_512_256;INTEG=HMAC_SHA2_256_128;DH=MODP2048;ESN=DISABLED 4:ESP:ENCR=AES_CBC_128;INTEG=HMAC_SHA2_512_256;INTEG=HMAC_SHA2_256_128;DH=MODP2048;ESN=DISABLED | CREATE_CHILD_SA responder matching remote ESP/AH proposals ikev2_proposal: 1:ESP:SPI=1fc0104c;ENCR=AES_GCM_C_256;DH=MODP2048;ESN=DISABLED | converting proposal to internal trans attrs | updating #10's .st_oakley with preserved PRF, but why update? | received v2N_REKEY_SA | child state #10: V2_CREATE_R(established IKE SA) => V2_REKEY_CHILD_R(established IKE SA) | CREATE_CHILD_SA IPsec SA rekey Protocol PROTO_v2_ESP | parsing 4 raw bytes of IKEv2 Notify Payload into SPI | SPI b8 ab 34 ac | CREATE_CHILD_S to rekey IPsec SA(0xb8ab34ac) Protocol PROTO_v2_ESP | 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) | #10 rekey request for "westnet-eastnet-ikev2b" #6 TSi TSr | printing contents struct traffic_selector | ts_type: IKEv2_TS_IPV4_ADDR_RANGE | ipprotoid: 0 | port range: 0-65535 | ip range: 192.0.200.0-192.0.200.255 | printing contents struct traffic_selector | ts_type: IKEv2_TS_IPV4_ADDR_RANGE | ipprotoid: 0 | port range: 0-65535 | ip range: 192.0.100.0-192.0.100.255 | in connection_discard for connection westnet-eastnet-ikev2c | adding Child Rekey Responder KE and nonce nr work-order 17 for state #10 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x55638b26cc18 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #10 | libevent_malloc: new ptr-libevent@0x7efe04000e98 size 128 | #10 spent 0.284 milliseconds in processing: Respond to CREATE_CHILD_SA IPsec SA Request in ikev2_process_state_packet() | suspend processing: state #8 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | start processing: state #10 connection "westnet-eastnet-ikev2b" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #10 complete_v2_state_transition() md.from_state=V2_CREATE_R md.svm.state[from]=V2_CREATE_R V2_REKEY_CHILD_R->V2_IPSEC_R with status STF_SUSPEND | suspending state #10 and saving MD | #10 is busy; has a suspended MD | [RE]START processing: state #10 connection "westnet-eastnet-ikev2b" from 192.1.2.45:500 (in log_stf_suspend() at ikev2.c:3269) | "westnet-eastnet-ikev2b" #10 complete v2 state STATE_V2_REKEY_CHILD_R transition with STF_SUSPEND suspended from complete_v2_state_transition:3451 | stop processing: state #10 connection "westnet-eastnet-ikev2b" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2018) | #8 spent 0.535 milliseconds in ikev2_process_packet() | stop processing: from 192.1.2.45:500 (in process_md() at demux.c:380) | processing: STOP state #0 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.543 milliseconds in comm_handle_cb() reading and processing packet | crypto helper 2 resuming | crypto helper 2 starting work-order 17 for state #10 | crypto helper 2 doing build KE and nonce (Child Rekey Responder KE and nonce nr); request ID 17 | crypto helper 2 finished build KE and nonce (Child Rekey Responder KE and nonce nr); request ID 17 time elapsed 0.000571 seconds | (#10) spent 0.566 milliseconds in crypto helper computing work-order 17: Child Rekey Responder KE and nonce nr (pcr) | crypto helper 2 sending results from work-order 17 for state #10 to event queue | scheduling resume sending helper answer for #10 | libevent_malloc: new ptr-libevent@0x7efe080059b8 size 128 | crypto helper 2 waiting (nothing to do) | processing resume sending helper answer for #10 | start processing: state #10 connection "westnet-eastnet-ikev2b" from 192.1.2.45:500 (in resume_handler() at server.c:797) | crypto helper 2 replies to request ID 17 | calling continuation function 0x55638afa9b50 | ikev2_child_inIoutR_continue for #10 STATE_V2_REKEY_CHILD_R | adding DHv2 for child sa work-order 18 for state #10 | state #10 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x7efe04000e98 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x55638b26cc18 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x55638b26cc18 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #10 | libevent_malloc: new ptr-libevent@0x7efe04000e98 size 128 | [RE]START processing: state #10 connection "westnet-eastnet-ikev2b" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | crypto helper 6 resuming | crypto helper 6 starting work-order 18 for state #10 | #10 complete_v2_state_transition() md.from_state=V2_CREATE_R md.svm.state[from]=V2_CREATE_R V2_REKEY_CHILD_R->V2_IPSEC_R with status STF_SUSPEND | suspending state #10 and saving MD | #10 is busy; has a suspended MD | crypto helper 6 doing crypto (DHv2 for child sa); request ID 18 | [RE]START processing: state #10 connection "westnet-eastnet-ikev2b" from 192.1.2.45:500 (in log_stf_suspend() at ikev2.c:3269) | "westnet-eastnet-ikev2b" #10 complete v2 state STATE_V2_REKEY_CHILD_R transition with STF_SUSPEND suspended from complete_v2_state_transition:3451 | resume sending helper answer for #10 suppresed complete_v2_state_transition() and stole MD | #10 spent 0.0652 milliseconds in resume sending helper answer | stop processing: state #10 connection "westnet-eastnet-ikev2b" from 192.1.2.45:500 (in resume_handler() at server.c:833) | libevent_free: release ptr-libevent@0x7efe080059b8 | crypto helper 6 finished crypto (DHv2 for child sa); request ID 18 time elapsed 0.000832 seconds | (#10) spent 0.82 milliseconds in crypto helper computing work-order 18: DHv2 for child sa (dh) | crypto helper 6 sending results from work-order 18 for state #10 to event queue | scheduling resume sending helper answer for #10 | libevent_malloc: new ptr-libevent@0x7efdfc005f08 size 128 | crypto helper 6 waiting (nothing to do) | processing resume sending helper answer for #10 | start processing: state #10 connection "westnet-eastnet-ikev2b" from 192.1.2.45:500 (in resume_handler() at server.c:797) | crypto helper 6 replies to request ID 18 | calling continuation function 0x55638afaa9d0 | ikev2_child_inIoutR_continue_continue for #10 STATE_V2_REKEY_CHILD_R | **emit ISAKMP Message: | initiator cookie: | 9d a8 6e 2d 17 ea e4 1c | responder cookie: | d1 6a 50 2f 42 7e 21 90 | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_CREATE_CHILD_SA (0x24) | flags: ISAKMP_FLAG_v2_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 'reply packet' | emitting 8 zero bytes of IV into IKEv2 Encryption Payload | #10 inherit spd, TSi TSr, from "westnet-eastnet-ikev2b" #6 | printing contents struct traffic_selector | ts_type: IKEv2_TS_IPV4_ADDR_RANGE | ipprotoid: 0 | port range: 0-65535 | ip range: 192.0.200.0-192.0.200.255 | printing contents struct traffic_selector | ts_type: IKEv2_TS_IPV4_ADDR_RANGE | ipprotoid: 0 | port range: 0-65535 | ip range: 192.0.100.0-192.0.100.255 | netlink_get_spi: allocated 0xd509a325 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 Encryption Payload'.'next payload type' to current IKEv2 Security Association Payload (33:ISAKMP_NEXT_v2SA) | next payload chain: saving location 'IKEv2 Security Association Payload'.'next payload type' in 'reply packet' | *****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 d5 09 a3 25 | ******emit IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | IKEv2 transform type: TRANS_TYPE_ENCR (0x1) | IKEv2 transform ID: AES_GCM_C (0x14) | last substructure: saving location 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' | *******emit IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 256 (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_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 | ******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 Nonce Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'IKEv2 Security Association 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 4d 24 3e 6f 7c d4 24 df 11 a3 59 a5 9e 0c 3e ae | IKEv2 nonce 69 3e 9b 94 80 3e 66 36 3e f5 f4 3a be ad fc f4 | emitting length of IKEv2 Nonce Payload: 36 | ****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 Nonce 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 71 48 da a0 90 54 9a 74 72 f1 ce ec 4b 1a 6a 89 | ikev2 g^x 92 6b bf 30 fa 17 d6 e5 65 49 f5 55 28 d9 53 64 | ikev2 g^x df bc 2b 8d 88 4d 51 05 71 3e 4e 86 05 f3 c6 7d | ikev2 g^x 71 f1 27 9a e7 1e fe 40 64 c5 47 11 35 17 7c b1 | ikev2 g^x 41 01 2e 77 08 1d ea 55 53 01 27 53 93 7e 48 2d | ikev2 g^x 97 55 1e 68 96 62 8b d1 d0 33 b5 d3 8e 1b c2 8b | ikev2 g^x 28 57 df 00 f5 45 21 9f 07 1f eb 16 59 11 1e 9a | ikev2 g^x 9d 5d 24 55 10 be be 08 c8 0a 91 e6 eb 5d cb 70 | ikev2 g^x a7 a8 34 45 2a 4a 9a bd 6f 11 ba ff 4c 17 b4 4c | ikev2 g^x 91 e8 cc dd 8f e5 10 a1 3d 39 a9 f5 4d e0 37 65 | ikev2 g^x fc e7 67 cb ef 71 20 16 0d c3 66 e1 f9 3e 43 54 | ikev2 g^x 4a 4c 64 0e 22 e4 f7 15 eb dc 33 96 c2 57 09 34 | ikev2 g^x 9e 6d f0 bb 2a 7b 80 34 9b f9 18 c0 86 37 6c e1 | ikev2 g^x 34 44 31 78 e1 d5 c1 86 c5 04 e4 f4 d2 a4 a4 4d | ikev2 g^x fc ac 05 e5 30 b0 8d ec 99 6d a6 69 35 7f f2 24 | ikev2 g^x 6b 48 4a e8 82 c5 45 26 a7 88 e7 6c 77 7a f4 b4 | emitting length of IKEv2 Key Exchange Payload: 264 | received REKEY_SA already proceesd | ****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 Key Exchange Payload'.'next payload type' to current IKEv2 Traffic Selector - Initiator - Payload (44:ISAKMP_NEXT_v2TSi) | next payload chain: saving location 'IKEv2 Traffic Selector - Initiator - Payload'.'next payload type' in 'reply packet' | *****emit IKEv2 Traffic Selector: | TS type: IKEv2_TS_IPV4_ADDR_RANGE (0x7) | IP Protocol ID: 0 (0x0) | start port: 0 (0x0) | end port: 65535 (0xffff) | emitting 4 raw bytes of ipv4 start into IKEv2 Traffic Selector | ipv4 start c0 00 64 00 | emitting 4 raw bytes of ipv4 end into IKEv2 Traffic Selector | ipv4 end c0 00 64 ff | emitting length of IKEv2 Traffic Selector: 16 | emitting length of IKEv2 Traffic Selector - Initiator - Payload: 24 | ****emit IKEv2 Traffic Selector - Responder - Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | number of TS: 1 (0x1) | next payload chain: setting previous 'IKEv2 Traffic Selector - Initiator - Payload'.'next payload type' to current IKEv2 Traffic Selector - Responder - Payload (45:ISAKMP_NEXT_v2TSr) | next payload chain: saving location 'IKEv2 Traffic Selector - Responder - Payload'.'next payload type' in 'reply packet' | *****emit IKEv2 Traffic Selector: | TS type: IKEv2_TS_IPV4_ADDR_RANGE (0x7) | IP Protocol ID: 0 (0x0) | start port: 0 (0x0) | end port: 65535 (0xffff) | emitting 4 raw bytes of ipv4 start into IKEv2 Traffic Selector | ipv4 start c0 00 c8 00 | emitting 4 raw bytes of ipv4 end into IKEv2 Traffic Selector | ipv4 end c0 00 c8 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=none: .key_size=0 encrypt=aes_gcm_16: .key_size=32 .salt_size=4 keymat_len=36 | install_ipsec_sa() for #10: inbound and outbound | could_route called for westnet-eastnet-ikev2b (kind=CK_PERMANENT) | FOR_EACH_CONNECTION_... in route_owner | conn westnet-eastnet-ikev2b mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ikev2c mark 0/00000000, 0/00000000 | conn westnet-eastnet-ikev2b mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ikev2b mark 0/00000000, 0/00000000 | conn westnet-eastnet-ikev2b mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ikev2a mark 0/00000000, 0/00000000 | route owner of "westnet-eastnet-ikev2b" erouted: self; eroute owner: self | looking for alg with encrypt: AES_GCM_16 keylen: 256 integ: NONE | encrypt AES_GCM_16 keylen=256 transid=20, key_size=32, encryptalg=20 | AES_GCM_16 requires 4 salt bytes | st->st_esp.keymat_len=36 is encrypt_keymat_size=36 + integ_keymat_size=0 | setting IPsec SA replay-window to 32 | NIC esp-hw-offload not for connection 'westnet-eastnet-ikev2b' 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.1fc0104c@192.1.2.45 included non-error error | set up outgoing SA, ref=0/0 | looking for alg with encrypt: AES_GCM_16 keylen: 256 integ: NONE | encrypt AES_GCM_16 keylen=256 transid=20, key_size=32, encryptalg=20 | AES_GCM_16 requires 4 salt bytes | st->st_esp.keymat_len=36 is encrypt_keymat_size=36 + integ_keymat_size=0 | setting IPsec SA replay-window to 32 | NIC esp-hw-offload not for connection 'westnet-eastnet-ikev2b' 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.d509a325@192.1.2.23 included non-error error | set up incoming SA, ref=0/0 | sr for #10: erouted | route_and_eroute() for proto 0, and source port 0 dest port 0 | FOR_EACH_CONNECTION_... in route_owner | conn westnet-eastnet-ikev2b mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ikev2c mark 0/00000000, 0/00000000 | conn westnet-eastnet-ikev2b mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ikev2b mark 0/00000000, 0/00000000 | conn westnet-eastnet-ikev2b mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ikev2a mark 0/00000000, 0/00000000 | route owner of "westnet-eastnet-ikev2b" erouted: self; eroute owner: self | route_and_eroute with c: westnet-eastnet-ikev2b (next: none) ero:westnet-eastnet-ikev2b esr:{(nil)} ro:westnet-eastnet-ikev2b rosr:{(nil)} and state: #10 | priority calculation of connection "westnet-eastnet-ikev2b" is 0xfe7e7 | eroute_connection replace eroute 192.0.200.0/24:0 --0-> 192.0.100.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 | route_and_eroute: firewall_notified: true | route_and_eroute: instance "westnet-eastnet-ikev2b", setting eroute_owner {spd=0x55638b26d438,sr=0x55638b26d438} to #10 (was #6) (newest_ipsec_sa=#6) | #8 spent 0.215 milliseconds in install_ipsec_sa() | ISAKMP_v2_CREATE_CHILD_SA: instance westnet-eastnet-ikev2b[0], setting IKEv2 newest_ipsec_sa to #10 (was #6) (spd.eroute=#10) cloned from #8 | adding 1 bytes of padding (including 1 byte padding-length) | emitting 1 0x00 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: 421 | emitting length of ISAKMP Message: 449 "westnet-eastnet-ikev2b" #10: negotiated new IPsec SA [192.0.200.0-192.0.200.255:0-65535 0] -> [192.0.100.0-192.0.100.255:0-65535 0] | [RE]START processing: state #10 connection "westnet-eastnet-ikev2b" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #10 complete_v2_state_transition() md.from_state=V2_CREATE_R md.svm.state[from]=V2_CREATE_R V2_REKEY_CHILD_R->V2_IPSEC_R with status STF_OK | IKEv2: transition from state STATE_V2_CREATE_R to state STATE_V2_IPSEC_R | child state #10: V2_REKEY_CHILD_R(established IKE SA) => V2_IPSEC_R(established CHILD SA) | Message ID: updating counters for #10 to 2 after switching state | Message ID: recv #8.#10 request 2; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=1 responder.recv=1->2; child: wip.initiator=-1 wip.responder=2->-1 | Message ID: sent #8.#10 response 2; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=1->2 responder.recv=2; child: wip.initiator=-1 wip.responder=-1 | pstats #10 ikev2.child established "westnet-eastnet-ikev2b" #10: negotiated connection [192.0.200.0-192.0.200.255:0-65535 0] -> [192.0.100.0-192.0.100.255:0-65535 0] | NAT-T: encaps is 'auto' "westnet-eastnet-ikev2b" #10: STATE_V2_IPSEC_R: IPsec SA established tunnel mode {ESP=>0x1fc0104c <0xd509a325 xfrm=AES_GCM_16_256-NONE-MODP2048 NATOA=none NATD=none DPD=passive} | sending V2 new request packet to 192.1.2.45:500 (from 192.1.2.23:500) | sending 449 bytes for STATE_V2_CREATE_R through eth1 from 192.1.2.23:500 to 192.1.2.45:500 (using #8) | 9d a8 6e 2d 17 ea e4 1c d1 6a 50 2f 42 7e 21 90 | 2e 20 24 20 00 00 00 02 00 00 01 c1 21 00 01 a5 | 6a 8b b7 75 9d e8 ee e7 f9 43 f8 bd 09 ec eb d5 | 2b 7c a7 8b 8b b3 62 ed e2 71 b3 64 14 75 d8 d0 | 0d 2c 3e ca 66 48 0e 7e 26 b4 89 fa 3b 54 3c fb | 4b b8 4b 17 21 33 84 aa a8 58 c0 f6 74 18 2f ed | 4d 34 53 68 9c 0b 83 5e 48 50 6e df 8f 35 d1 63 | fa 4b 7d 48 b5 a4 53 87 59 aa 76 81 0e da 6e c8 | d1 a0 fe 1a ef 62 cb 47 be 56 4b 97 28 da 74 72 | 13 6d 2f 98 c4 db 09 e5 d6 e9 62 42 64 f7 4d 63 | cd f2 96 48 e5 0f e2 43 4c c7 92 b0 7f ca 31 60 | 2a ce f0 a7 73 ab 28 43 94 bd 87 1c 48 da ed f3 | d4 42 6d f7 fc e3 c7 fa 88 5c a9 da 3f 51 e5 16 | e6 54 5b d7 c5 e2 14 09 21 88 92 80 4b 72 38 e2 | 78 f1 59 e6 c8 2d 23 6f 13 df 89 cc ab 43 7b e2 | bd 07 2d a3 80 32 1f 7a d2 38 83 bc f3 a6 2f e2 | 1a 78 fb 00 6a aa a1 90 4b 1d 58 21 fa aa 05 36 | 6e 64 a2 17 4d 4f 0a 68 61 84 68 e9 42 2c 31 e3 | cf 4e ee 1b d6 b4 a0 75 1f 39 99 c9 61 ff c7 0d | 86 96 23 a1 63 56 41 30 59 d4 c1 00 95 75 f5 94 | 7c 6f b5 6e 14 b6 0c 45 c9 5d 27 c6 bf 96 d6 0c | f8 ea 7d 60 6e 88 38 27 5c 00 63 53 58 9d f0 f6 | 62 89 78 29 d8 31 c8 03 eb 4a 05 9c 51 67 80 d2 | 6e 64 0f b9 d7 0b 5a 5f 08 86 50 6e b6 bd 86 d2 | ea bd 7f 5c 71 1f 17 42 bf ef a4 91 5f 4e eb 23 | c2 72 03 6b 29 06 08 84 7a c8 a3 49 81 17 f6 45 | 26 01 aa dc 0c 30 db 26 32 25 c1 30 fb fb 73 0a | 37 a2 be 0f 42 94 db 1c 3b 25 e2 40 99 78 ed df | 63 | releasing whack for #10 (sock=fd@-1) | releasing whack and unpending for parent #8 | unpending state #8 connection "westnet-eastnet-ikev2b" | #10 will start re-keying in 28530 seconds with margin of 270 seconds (attempting re-key) | state #10 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x7efe04000e98 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x55638b26cc18 | event_schedule: new EVENT_SA_REKEY-pe@0x55638b26cc18 | inserting event EVENT_SA_REKEY, timeout in 28530 seconds for #10 | libevent_malloc: new ptr-libevent@0x7efe080059b8 size 128 | #10 spent 0.71 milliseconds in resume sending helper answer | stop processing: state #10 connection "westnet-eastnet-ikev2b" from 192.1.2.45:500 (in resume_handler() at server.c:833) | libevent_free: release ptr-libevent@0x7efdfc005f08 | spent 0.0036 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 661 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 9d a8 6e 2d 17 ea e4 1c d1 6a 50 2f 42 7e 21 90 | 2e 20 24 08 00 00 00 03 00 00 02 95 21 00 02 79 | 2d 5c 7b 81 21 52 a1 ef 24 54 d1 90 5e 28 c2 9d | 68 3b 02 6d cf af a4 74 80 5f b0 3d 20 6b 0c 73 | b8 5b f8 3d f4 c0 df 99 d4 ba 49 c8 05 6b f1 2c | 22 b3 6a a0 7e b1 b6 10 d2 2c 13 98 71 ea 5e 44 | 54 8c e0 3a b5 af 33 ee 7b a8 31 ed 41 3d a7 85 | ac 41 95 4d e9 52 43 4c cf 96 7a 95 6b 2b 8c 20 | 55 aa 83 13 9b f8 09 1b 31 9c bf fb f2 da a9 52 | 52 57 8c 59 0e 41 d4 08 d4 2e 12 b2 55 4b e0 16 | 12 42 51 c1 13 0a 2f 81 15 af 70 b4 31 9f 03 b2 | 5c e3 7b 9d db 4f 5d 64 8d 5c ee e5 6f 8c 1f c0 | 76 73 72 66 c6 32 46 9f 34 04 d4 14 ef 00 5e 86 | f7 74 9c e3 47 2c 67 d6 b5 c0 74 1a 3b 11 1e 6d | 38 b8 d5 b4 49 a5 b5 fd 55 08 bb 05 ed 06 d3 d8 | b3 d9 41 a9 33 60 16 0b 18 b9 12 47 e7 51 f6 a9 | 7d d6 47 ad c6 71 65 50 fa d4 55 c4 c1 cc d1 21 | 9c a4 a9 98 37 47 b2 eb d3 50 6a a9 c0 2d ac 4d | 38 93 86 8b 71 bd 6d f1 4d 61 b1 12 62 63 52 cd | dd 6e 38 2e a9 92 2d 8f 77 5b 3f 6e 95 42 21 f4 | e0 c5 24 0f 36 3b ce 69 67 0b 2e 68 6e 2d 98 c3 | 50 f7 ac 5d 7a aa 79 14 ea cd 31 a6 df 12 3c 09 | 6a 32 4b 0f 0a 68 88 dc df f2 c9 4e a9 bf b2 b8 | 36 8d ea 23 34 d6 ac 8f bb 87 34 bb 3b cc 51 58 | be f6 48 11 6b 1f 48 08 dd 0c a6 fc 12 b2 24 33 | 75 19 d0 51 cd b9 49 2c ec f8 7c 45 6b 28 05 1c | 2a cb 48 56 fd 58 d1 d0 42 f1 69 5c 5f 9a 14 05 | 4b 51 7b 6c b4 c5 d3 9c dd d0 d9 f9 b5 f0 8a ef | 86 7c 6d 0c 37 77 82 85 e6 b3 0e 7f bd 6d 01 fb | 3e 97 4e ff 95 b7 11 7a 40 96 da a9 34 9c 60 b2 | 87 5e 7f d5 4f 82 3a 3e 9f 08 8a ec 29 c8 05 97 | 8c 9f eb d4 b4 9c 5f 8c eb ac 90 44 0e 7b 3e 26 | 57 bd ad 11 1c 74 72 09 2e c1 a1 c7 d0 fc e3 1e | b9 51 79 44 27 b0 5c 8a 31 1e 86 cd 08 42 f8 d3 | e3 42 14 c7 c7 be 93 e4 62 5a 0a bf b5 e7 9c e6 | b6 c8 f8 09 7c 4b af 2c 59 27 0d a6 34 59 cc 8e | 97 49 34 aa 0f da be 97 99 16 60 dd 3e 01 d6 26 | 11 37 9e 06 2c 0e 69 37 c6 5a 05 23 47 e7 fa a5 | c8 41 11 e4 83 a5 cf be 9c 29 cc 7b 10 17 8d af | 05 df 26 f8 e5 ff 71 4b 58 2e ba 5b cb 73 90 9e | 31 b3 e4 1d a1 d8 28 59 c7 a8 6e bf 5a d6 03 14 | a2 2e c2 98 60 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 9d a8 6e 2d 17 ea e4 1c | responder cookie: | d1 6a 50 2f 42 7e 21 90 | next payload type: ISAKMP_NEXT_v2SK (0x2e) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_CREATE_CHILD_SA (0x24) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 3 (0x3) | length: 661 (0x295) | processing version=2.0 packet with exchange type=ISAKMP_v2_CREATE_CHILD_SA (36) | I am the IKE SA Original Responder receiving an IKEv2 CREATE_CHILD_SA request | State DB: found IKEv2 state #8 in PARENT_R2 (find_v2_ike_sa) | start processing: state #8 connection "westnet-eastnet-ikev2c" 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 #8 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in ike_process_packet() at ikev2.c:2064) | #8 st.st_msgid_lastrecv 2 md.hdr.isa_msgid 00000003 | Message ID: #8 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_v2SA (0x21) | flags: none (0x0) | length: 633 (0x279) | processing payload: ISAKMP_NEXT_v2SK (len=629) | Message ID: start-responder #8 request 3; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=2 wip.initiator=-1 wip.responder=-1->3 | #8 in state PARENT_R2: received v2I2, PARENT SA established | #8 ikev2 ISAKMP_v2_CREATE_CHILD_SA decrypt success | Now let's proceed with payload (ISAKMP_NEXT_v2SA) | **parse IKEv2 Security Association Payload: | next payload type: ISAKMP_NEXT_v2Ni (0x28) | flags: none (0x0) | length: 196 (0xc4) | processing payload: ISAKMP_NEXT_v2SA (len=192) | Now let's proceed with payload (ISAKMP_NEXT_v2Ni) | **parse IKEv2 Nonce Payload: | next payload type: ISAKMP_NEXT_v2KE (0x22) | flags: none (0x0) | length: 36 (0x24) | processing payload: ISAKMP_NEXT_v2Ni (len=32) | Now let's proceed with payload (ISAKMP_NEXT_v2KE) | **parse IKEv2 Key Exchange Payload: | next payload type: ISAKMP_NEXT_v2N (0x29) | 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_v2N) | **parse IKEv2 Notify Payload: | next payload type: ISAKMP_NEXT_v2TSi (0x2c) | flags: none (0x0) | length: 12 (0xc) | Protocol ID: PROTO_v2_ESP (0x3) | SPI size: 4 (0x4) | Notify Message Type: v2N_REKEY_SA (0x4009) | processing payload: ISAKMP_NEXT_v2N (len=4) | 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: 48 (0x30) | number of TS: 1 (0x1) | processing payload: ISAKMP_NEXT_v2TSi (len=40) | 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: 48 (0x30) | number of TS: 1 (0x1) | processing payload: ISAKMP_NEXT_v2TSr (len=40) | state #8 forced to match CREATE_CHILD_SA from V2_CREATE_R->V2_IPSEC_R by ignoring from state | selected state microcode Respond to CREATE_CHILD_SA IPsec SA Request | #8 updating local interface from 192.1.2.23:500 to 192.1.2.23:500 using md->iface (in update_ike_endpoints() at state.c:2669) | creating state object #11 at 0x55638b29d858 | State DB: adding IKEv2 state #11 in UNDEFINED | pstats #11 ikev2.child started | duplicating state object #8 "westnet-eastnet-ikev2c" as #11 for IPSEC SA | #11 setting local endpoint to 192.1.2.23:500 from #8.st_localport (in duplicate_state() at state.c:1484) | Message ID: init_child #8.#11; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=2; child: wip.initiator=0->-1 wip.responder=0->-1 | child state #11: UNDEFINED(ignore) => V2_CREATE_R(established IKE SA) | "westnet-eastnet-ikev2c" #8 received Child SA Request CREATE_CHILD_SA from 192.1.2.45:500 Child "westnet-eastnet-ikev2c" #11 in STATE_V2_CREATE_R will process it further | Message ID: switch-from #8 request 3; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=2 wip.initiator=-1 wip.responder=3->-1 | Message ID: switch-to #8.#11 request 3; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=2; child: wip.initiator=-1 wip.responder=-1->3 | forcing ST #8 to CHILD #8.#11 in FSM processor | Now let's proceed with state specific processing | calling processor Respond to CREATE_CHILD_SA IPsec SA Request | using existing local ESP/AH proposals for westnet-eastnet-ikev2c (CREATE_CHILD_SA responder matching remote ESP/AH proposals): 1:ESP:ENCR=AES_GCM_C_256;INTEG=NONE;DH=MODP2048;ESN=DISABLED 2:ESP:ENCR=AES_GCM_C_128;INTEG=NONE;DH=MODP2048;ESN=DISABLED 3:ESP:ENCR=AES_CBC_256;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=MODP2048;ESN=DISABLED 4:ESP:ENCR=AES_CBC_128;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=MODP2048;ESN=DISABLED | Comparing remote proposals against CREATE_CHILD_SA 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+DH+ESN; optional: INTEG | 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+DH+ESN; optional: INTEG | 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+DH+ESN; optional: none | 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+DH+ESN; optional: none | ***parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_NON_LAST (0x2) | length: 40 (0x28) | prop #: 1 (0x1) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (0x4) | # transforms: 3 (0x3) | parsing 4 raw bytes of IKEv2 Proposal Substructure Payload into remote SPI | remote SPI 38 ed 0d 46 | Comparing remote proposal 1 containing 3 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_GCM_C (0x14) | *****parse IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 256 (0x100) | remote proposal 1 transform 0 (ENCR=AES_GCM_C_256) matches local proposal 1 type 1 (ENCR) transform 0 | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP2048 (0xe) | remote proposal 1 transform 1 (DH=MODP2048) matches local proposal 1 type 4 (DH) transform 0 | remote proposal 1 transform 1 (DH=MODP2048) matches local proposal 2 type 4 (DH) transform 0 | remote proposal 1 transform 1 (DH=MODP2048) matches local proposal 3 type 4 (DH) transform 0 | remote proposal 1 transform 1 (DH=MODP2048) matches local proposal 4 type 4 (DH) transform 0 | ****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 2 (ESN=DISABLED) matches local proposal 1 type 5 (ESN) transform 0 | remote proposal 1 transform 2 (ESN=DISABLED) matches local proposal 2 type 5 (ESN) transform 0 | remote proposal 1 transform 2 (ESN=DISABLED) matches local proposal 3 type 5 (ESN) transform 0 | remote proposal 1 transform 2 (ESN=DISABLED) matches local proposal 4 type 5 (ESN) transform 0 | remote proposal 1 proposed transforms: ENCR+DH+ESN; matched: ENCR+DH+ESN; unmatched: none | comparing remote proposal 1 containing ENCR+DH+ESN transforms to local proposal 1; required: ENCR+DH+ESN; optional: INTEG; matched: ENCR+DH+ESN | remote proposal 1 matches local proposal 1 | ***parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_NON_LAST (0x2) | length: 40 (0x28) | prop #: 2 (0x2) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (0x4) | # transforms: 3 (0x3) | parsing 4 raw bytes of IKEv2 Proposal Substructure Payload into remote SPI | remote SPI 38 ed 0d 46 | Comparing remote proposal 2 containing 3 transforms against local proposal [1..0] 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_GCM_C (0x14) | *****parse IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 128 (0x80) | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP2048 (0xe) | ****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 2 proposed transforms: ENCR+DH+ESN; matched: none; unmatched: ENCR+DH+ESN | remote proposal 2 does not match; unmatched remote transforms: ENCR+DH+ESN | ***parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_NON_LAST (0x2) | length: 56 (0x38) | prop #: 3 (0x3) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (0x4) | # transforms: 5 (0x5) | parsing 4 raw bytes of IKEv2 Proposal Substructure Payload into remote SPI | remote SPI 38 ed 0d 46 | Comparing remote proposal 3 containing 5 transforms against local proposal [1..0] 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) | ****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_512_256 (0xe) | ****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) | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP2048 (0xe) | ****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 3 proposed transforms: ENCR+INTEG+DH+ESN; matched: none; unmatched: ENCR+INTEG+DH+ESN | remote proposal 3 does not match; unmatched remote transforms: ENCR+INTEG+DH+ESN | ***parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | length: 56 (0x38) | prop #: 4 (0x4) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (0x4) | # transforms: 5 (0x5) | parsing 4 raw bytes of IKEv2 Proposal Substructure Payload into remote SPI | remote SPI 38 ed 0d 46 | Comparing remote proposal 4 containing 5 transforms against local proposal [1..0] 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) | ****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_512_256 (0xe) | ****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) | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP2048 (0xe) | ****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 4 proposed transforms: ENCR+INTEG+DH+ESN; matched: none; unmatched: ENCR+INTEG+DH+ESN | remote proposal 4 does not match; unmatched remote transforms: ENCR+INTEG+DH+ESN "westnet-eastnet-ikev2c" #8: proposal 1:ESP:SPI=38ed0d46;ENCR=AES_GCM_C_256;DH=MODP2048;ESN=DISABLED chosen from remote proposals 1:ESP:ENCR=AES_GCM_C_256;DH=MODP2048;ESN=DISABLED[first-match] 2:ESP:ENCR=AES_GCM_C_128;DH=MODP2048;ESN=DISABLED 3:ESP:ENCR=AES_CBC_256;INTEG=HMAC_SHA2_512_256;INTEG=HMAC_SHA2_256_128;DH=MODP2048;ESN=DISABLED 4:ESP:ENCR=AES_CBC_128;INTEG=HMAC_SHA2_512_256;INTEG=HMAC_SHA2_256_128;DH=MODP2048;ESN=DISABLED | CREATE_CHILD_SA responder matching remote ESP/AH proposals ikev2_proposal: 1:ESP:SPI=38ed0d46;ENCR=AES_GCM_C_256;DH=MODP2048;ESN=DISABLED | converting proposal to internal trans attrs | updating #11's .st_oakley with preserved PRF, but why update? | received v2N_REKEY_SA | child state #11: V2_CREATE_R(established IKE SA) => V2_REKEY_CHILD_R(established IKE SA) | CREATE_CHILD_SA IPsec SA rekey Protocol PROTO_v2_ESP | parsing 4 raw bytes of IKEv2 Notify Payload into SPI | SPI 34 42 00 aa | CREATE_CHILD_S to rekey IPsec SA(0x344200aa) Protocol PROTO_v2_ESP | v2 CHILD SA #7 found using their inbound (our outbound) SPI, in STATE_V2_IPSEC_R | State DB: found IKEv2 state #7 in V2_IPSEC_R (find_v2_child_sa_by_outbound_spi) | #11 rekey request for "westnet-eastnet-ikev2c" #7 TSi TSr | printing contents struct traffic_selector | ts_type: IKEv2_TS_IPV4_ADDR_RANGE | ipprotoid: 0 | port range: 0-65535 | ip range: 192.0.201.0-192.0.201.255 | printing contents struct traffic_selector | ts_type: IKEv2_TS_IPV4_ADDR_RANGE | ipprotoid: 0 | port range: 0-65535 | ip range: 192.0.101.0-192.0.101.255 | adding Child Rekey Responder KE and nonce nr work-order 19 for state #11 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x55638b283618 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #11 | libevent_malloc: new ptr-libevent@0x7efdfc005f08 size 128 | #11 spent 0.383 milliseconds in processing: Respond to CREATE_CHILD_SA IPsec SA Request in ikev2_process_state_packet() | crypto helper 3 resuming | suspend processing: state #8 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | crypto helper 3 starting work-order 19 for state #11 | start processing: state #11 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | crypto helper 3 doing build KE and nonce (Child Rekey Responder KE and nonce nr); request ID 19 | #11 complete_v2_state_transition() md.from_state=V2_CREATE_R md.svm.state[from]=V2_CREATE_R V2_REKEY_CHILD_R->V2_IPSEC_R 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-ikev2c" from 192.1.2.45:500 (in log_stf_suspend() at ikev2.c:3269) | "westnet-eastnet-ikev2c" #11 complete v2 state STATE_V2_REKEY_CHILD_R transition with STF_SUSPEND suspended from complete_v2_state_transition:3451 | stop processing: state #11 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2018) | #8 spent 0.731 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.743 milliseconds in comm_handle_cb() reading and processing packet | crypto helper 3 finished build KE and nonce (Child Rekey Responder KE and nonce nr); request ID 19 time elapsed 0.000732 seconds | (#11) spent 0.729 milliseconds in crypto helper computing work-order 19: Child Rekey Responder KE and nonce nr (pcr) | crypto helper 3 sending results from work-order 19 for state #11 to event queue | scheduling resume sending helper answer for #11 | libevent_malloc: new ptr-libevent@0x7efe00006f28 size 128 | crypto helper 3 waiting (nothing to do) | processing resume sending helper answer for #11 | start processing: state #11 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in resume_handler() at server.c:797) | crypto helper 3 replies to request ID 19 | calling continuation function 0x55638afa9b50 | ikev2_child_inIoutR_continue for #11 STATE_V2_REKEY_CHILD_R | adding DHv2 for child sa work-order 20 for state #11 | state #11 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x7efdfc005f08 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x55638b283618 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x55638b283618 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #11 | libevent_malloc: new ptr-libevent@0x7efdfc005f08 size 128 | [RE]START processing: state #11 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #11 complete_v2_state_transition() md.from_state=V2_CREATE_R md.svm.state[from]=V2_CREATE_R V2_REKEY_CHILD_R->V2_IPSEC_R with status STF_SUSPEND | suspending state #11 and saving MD | crypto helper 5 resuming | crypto helper 5 starting work-order 20 for state #11 | crypto helper 5 doing crypto (DHv2 for child sa); request ID 20 | #11 is busy; has a suspended MD | [RE]START processing: state #11 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in log_stf_suspend() at ikev2.c:3269) | "westnet-eastnet-ikev2c" #11 complete v2 state STATE_V2_REKEY_CHILD_R transition with STF_SUSPEND suspended from complete_v2_state_transition:3451 | resume sending helper answer for #11 suppresed complete_v2_state_transition() and stole MD | #11 spent 0.0742 milliseconds in resume sending helper answer | stop processing: state #11 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in resume_handler() at server.c:833) | libevent_free: release ptr-libevent@0x7efe00006f28 | crypto helper 5 finished crypto (DHv2 for child sa); request ID 20 time elapsed 0.000651 seconds | (#11) spent 0.654 milliseconds in crypto helper computing work-order 20: DHv2 for child sa (dh) | crypto helper 5 sending results from work-order 20 for state #11 to event queue | scheduling resume sending helper answer for #11 | libevent_malloc: new ptr-libevent@0x7efdf4005df8 size 128 | crypto helper 5 waiting (nothing to do) | processing resume sending helper answer for #11 | start processing: state #11 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in resume_handler() at server.c:797) | crypto helper 5 replies to request ID 20 | calling continuation function 0x55638afaa9d0 | ikev2_child_inIoutR_continue_continue for #11 STATE_V2_REKEY_CHILD_R | **emit ISAKMP Message: | initiator cookie: | 9d a8 6e 2d 17 ea e4 1c | responder cookie: | d1 6a 50 2f 42 7e 21 90 | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_CREATE_CHILD_SA (0x24) | flags: ISAKMP_FLAG_v2_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 'reply packet' | emitting 8 zero bytes of IV into IKEv2 Encryption Payload | #11 inherit spd, TSi TSr, from "westnet-eastnet-ikev2c" #7 | printing contents struct traffic_selector | ts_type: IKEv2_TS_IPV4_ADDR_RANGE | ipprotoid: 0 | port range: 0-65535 | ip range: 192.0.201.0-192.0.201.255 | printing contents struct traffic_selector | ts_type: IKEv2_TS_IPV4_ADDR_RANGE | ipprotoid: 0 | port range: 0-65535 | ip range: 192.0.101.0-192.0.101.255 | netlink_get_spi: allocated 0xa886509f 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 Encryption Payload'.'next payload type' to current IKEv2 Security Association Payload (33:ISAKMP_NEXT_v2SA) | next payload chain: saving location 'IKEv2 Security Association Payload'.'next payload type' in 'reply packet' | *****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 a8 86 50 9f | ******emit IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | IKEv2 transform type: TRANS_TYPE_ENCR (0x1) | IKEv2 transform ID: AES_GCM_C (0x14) | last substructure: saving location 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' | *******emit IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 256 (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_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 | ******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 Nonce Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'IKEv2 Security Association 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 ad 60 e5 e7 fe 52 ff 7a 4b c6 be 95 f4 da b6 f6 | IKEv2 nonce 39 08 fc 10 05 ee 91 e5 c0 18 74 bc 75 5b 7b b1 | emitting length of IKEv2 Nonce Payload: 36 | ****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 Nonce 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 8d 5b 59 c7 2f 64 d9 f5 76 62 62 4f 85 39 46 e8 | ikev2 g^x 84 bd 75 98 29 03 c8 64 5a f0 1b b5 c5 26 87 97 | ikev2 g^x ab 99 ad aa f7 d6 1a 62 e1 43 67 5a f6 88 4a 40 | ikev2 g^x 18 49 88 4a e7 4b f9 8d 5c da 8a 80 35 0e 35 49 | ikev2 g^x b3 19 24 07 90 d6 5b d6 26 8e c3 9b 99 2e 54 17 | ikev2 g^x 65 b6 ba 29 1f de 0c 72 eb 9f c1 8d c1 7c c6 87 | ikev2 g^x fd 46 3f 49 c1 78 b1 a7 58 de 11 0d be 0b 09 fc | ikev2 g^x 02 db 23 9b d1 a1 47 22 3d 4a af f9 75 41 60 13 | ikev2 g^x 32 c0 06 92 e2 a2 12 70 fe d3 1a fa 2d 18 17 ad | ikev2 g^x 64 bd 18 26 4b c1 bc 27 79 26 88 cc 2b c4 1e d1 | ikev2 g^x d9 70 bf 79 73 53 29 b6 15 45 8b 82 9b 6b 91 92 | ikev2 g^x 55 cd 10 82 a5 69 2c 8a ea aa 10 1e e7 db 79 31 | ikev2 g^x bd 11 9d 9a c0 9f 4e f9 e0 e4 b7 e4 ef 9a 70 c2 | ikev2 g^x af 1c ee ca f8 97 58 c8 73 bd e3 4f 75 72 ee ab | ikev2 g^x dd 75 7d 86 1a 04 50 a0 a4 c1 ca 71 5d ac a7 bf | ikev2 g^x 42 f7 29 b7 d4 d3 0a 1a bd 50 2e f5 ee 1e e0 5f | emitting length of IKEv2 Key Exchange Payload: 264 | received REKEY_SA already proceesd | ****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 Key Exchange Payload'.'next payload type' to current IKEv2 Traffic Selector - Initiator - Payload (44:ISAKMP_NEXT_v2TSi) | next payload chain: saving location 'IKEv2 Traffic Selector - Initiator - Payload'.'next payload type' in 'reply packet' | *****emit IKEv2 Traffic Selector: | TS type: IKEv2_TS_IPV4_ADDR_RANGE (0x7) | IP Protocol ID: 0 (0x0) | start port: 0 (0x0) | end port: 65535 (0xffff) | emitting 4 raw bytes of ipv4 start into IKEv2 Traffic Selector | ipv4 start c0 00 65 00 | emitting 4 raw bytes of ipv4 end into IKEv2 Traffic Selector | ipv4 end c0 00 65 ff | emitting length of IKEv2 Traffic Selector: 16 | emitting length of IKEv2 Traffic Selector - Initiator - Payload: 24 | ****emit IKEv2 Traffic Selector - Responder - Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | number of TS: 1 (0x1) | next payload chain: setting previous 'IKEv2 Traffic Selector - Initiator - Payload'.'next payload type' to current IKEv2 Traffic Selector - Responder - Payload (45:ISAKMP_NEXT_v2TSr) | next payload chain: saving location 'IKEv2 Traffic Selector - Responder - Payload'.'next payload type' in 'reply packet' | *****emit IKEv2 Traffic Selector: | TS type: IKEv2_TS_IPV4_ADDR_RANGE (0x7) | IP Protocol ID: 0 (0x0) | start port: 0 (0x0) | end port: 65535 (0xffff) | emitting 4 raw bytes of ipv4 start into IKEv2 Traffic Selector | ipv4 start c0 00 c9 00 | emitting 4 raw bytes of ipv4 end into IKEv2 Traffic Selector | ipv4 end c0 00 c9 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=none: .key_size=0 encrypt=aes_gcm_16: .key_size=32 .salt_size=4 keymat_len=36 | install_ipsec_sa() for #11: inbound and outbound | could_route called for westnet-eastnet-ikev2c (kind=CK_PERMANENT) | FOR_EACH_CONNECTION_... in route_owner | conn westnet-eastnet-ikev2c mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ikev2c mark 0/00000000, 0/00000000 | conn westnet-eastnet-ikev2c mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ikev2b mark 0/00000000, 0/00000000 | conn westnet-eastnet-ikev2c mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ikev2a mark 0/00000000, 0/00000000 | route owner of "westnet-eastnet-ikev2c" erouted: self; eroute owner: self | looking for alg with encrypt: AES_GCM_16 keylen: 256 integ: NONE | encrypt AES_GCM_16 keylen=256 transid=20, key_size=32, encryptalg=20 | AES_GCM_16 requires 4 salt bytes | st->st_esp.keymat_len=36 is encrypt_keymat_size=36 + integ_keymat_size=0 | setting IPsec SA replay-window to 32 | NIC esp-hw-offload not for connection 'westnet-eastnet-ikev2c' 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.38ed0d46@192.1.2.45 included non-error error | set up outgoing SA, ref=0/0 | looking for alg with encrypt: AES_GCM_16 keylen: 256 integ: NONE | encrypt AES_GCM_16 keylen=256 transid=20, key_size=32, encryptalg=20 | AES_GCM_16 requires 4 salt bytes | st->st_esp.keymat_len=36 is encrypt_keymat_size=36 + integ_keymat_size=0 | setting IPsec SA replay-window to 32 | NIC esp-hw-offload not for connection 'westnet-eastnet-ikev2c' 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.a886509f@192.1.2.23 included non-error error | set up incoming SA, ref=0/0 | sr for #11: erouted | route_and_eroute() for proto 0, and source port 0 dest port 0 | FOR_EACH_CONNECTION_... in route_owner | conn westnet-eastnet-ikev2c mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ikev2c mark 0/00000000, 0/00000000 | conn westnet-eastnet-ikev2c mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ikev2b mark 0/00000000, 0/00000000 | conn westnet-eastnet-ikev2c mark 0/00000000, 0/00000000 vs | conn westnet-eastnet-ikev2a mark 0/00000000, 0/00000000 | route owner of "westnet-eastnet-ikev2c" erouted: self; eroute owner: self | route_and_eroute with c: westnet-eastnet-ikev2c (next: none) ero:westnet-eastnet-ikev2c esr:{(nil)} ro:westnet-eastnet-ikev2c rosr:{(nil)} and state: #11 | priority calculation of connection "westnet-eastnet-ikev2c" is 0xfe7e7 | eroute_connection replace eroute 192.0.201.0/24:0 --0-> 192.0.101.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 | route_and_eroute: firewall_notified: true | route_and_eroute: instance "westnet-eastnet-ikev2c", setting eroute_owner {spd=0x55638b26f448,sr=0x55638b26f448} to #11 (was #7) (newest_ipsec_sa=#7) | #8 spent 0.273 milliseconds in install_ipsec_sa() | ISAKMP_v2_CREATE_CHILD_SA: instance westnet-eastnet-ikev2c[0], setting IKEv2 newest_ipsec_sa to #11 (was #7) (spd.eroute=#11) cloned from #8 | adding 1 bytes of padding (including 1 byte padding-length) | emitting 1 0x00 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: 421 | emitting length of ISAKMP Message: 449 "westnet-eastnet-ikev2c" #11: negotiated new IPsec SA [192.0.201.0-192.0.201.255:0-65535 0] -> [192.0.101.0-192.0.101.255:0-65535 0] | [RE]START processing: state #11 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3379) | #11 complete_v2_state_transition() md.from_state=V2_CREATE_R md.svm.state[from]=V2_CREATE_R V2_REKEY_CHILD_R->V2_IPSEC_R with status STF_OK | IKEv2: transition from state STATE_V2_CREATE_R to state STATE_V2_IPSEC_R | child state #11: V2_REKEY_CHILD_R(established IKE SA) => V2_IPSEC_R(established CHILD SA) | Message ID: updating counters for #11 to 3 after switching state | Message ID: recv #8.#11 request 3; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=2->3; child: wip.initiator=-1 wip.responder=3->-1 | Message ID: sent #8.#11 response 3; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=2->3 responder.recv=3; child: wip.initiator=-1 wip.responder=-1 | pstats #11 ikev2.child established "westnet-eastnet-ikev2c" #11: negotiated connection [192.0.201.0-192.0.201.255:0-65535 0] -> [192.0.101.0-192.0.101.255:0-65535 0] | NAT-T: encaps is 'auto' "westnet-eastnet-ikev2c" #11: STATE_V2_IPSEC_R: IPsec SA established tunnel mode {ESP=>0x38ed0d46 <0xa886509f xfrm=AES_GCM_16_256-NONE-MODP2048 NATOA=none NATD=none DPD=passive} | sending V2 new request packet to 192.1.2.45:500 (from 192.1.2.23:500) | sending 449 bytes for STATE_V2_CREATE_R through eth1 from 192.1.2.23:500 to 192.1.2.45:500 (using #8) | 9d a8 6e 2d 17 ea e4 1c d1 6a 50 2f 42 7e 21 90 | 2e 20 24 20 00 00 00 03 00 00 01 c1 21 00 01 a5 | d4 3c 7c 39 51 b4 cc d9 87 a6 9d 34 06 7f 41 58 | c4 57 1f 93 1f 23 00 03 c3 b1 c0 54 b7 23 f7 01 | 74 6c 94 9c 12 cb 7e 9a 72 1f ac ca b0 18 4c 70 | 4e ee 8e 20 6d b9 60 0e 39 5d 91 74 bc db 01 3d | f8 6b 75 bb e5 7e 49 20 56 19 ea 5b b7 23 64 18 | db be d7 75 ab 26 39 4a a4 44 1a fb 30 16 5f 71 | be 7f 94 a1 da 01 43 64 b2 ac 45 da f7 b5 3d a5 | db 33 5f 82 cc 65 8f c7 5a 15 f9 5c 18 3a 2c 1e | 15 e5 40 87 4f 4f e8 cd b9 a5 9c 4f 8f ba 1f 6c | 91 92 77 ab 70 86 60 87 70 86 98 de 56 7e 92 70 | 9f c1 ec 48 5c 22 e7 f8 33 aa 29 e2 ea 70 9a 95 | 03 7e c6 63 d3 97 d0 c2 ac 73 50 51 9e 5d 7f eb | 43 22 59 1d ff 16 21 a1 4f bf b5 97 f8 43 e3 4e | 17 ed 49 ac e4 1e 2e 34 66 1e b5 3b 9f a3 0a 27 | a4 41 bf e0 61 9e 03 50 6d 0d af 07 80 f5 cb 91 | 33 65 a7 82 54 f0 2e 88 ff db da 39 36 6e 28 a5 | 7c 0e 92 a5 6e 83 f1 43 5c 54 1b 78 e9 dd 82 e8 | c6 fd 63 ee 5d 74 52 ef b5 07 35 03 41 c8 7d 76 | d7 ce c7 f4 63 47 4d f3 b9 06 b1 ce db 0b 2a 48 | ee da 2d a2 57 e7 58 55 17 ea 96 d0 87 d0 52 a2 | a4 85 41 0c 75 d5 f2 06 7f f2 23 51 95 e1 1d 91 | 8a 8e d5 97 f0 a4 d1 a5 12 27 61 c3 03 e6 6e 07 | 2e 27 56 f1 25 b1 cf 7d ef 93 2e a6 a6 7f a0 17 | 62 59 bd b6 c5 90 0e 01 c3 f5 9d c6 74 15 b7 d1 | b7 6d 52 6b 62 4a 66 72 89 80 32 6b ef e6 00 03 | 42 17 70 62 f8 28 cf 91 52 79 b4 c0 00 33 2d fb | d4 | releasing whack for #11 (sock=fd@-1) | releasing whack and unpending for parent #8 | unpending state #8 connection "westnet-eastnet-ikev2c" | #11 will start re-keying in 28530 seconds with margin of 270 seconds (attempting re-key) | state #11 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x7efdfc005f08 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x55638b283618 | event_schedule: new EVENT_SA_REKEY-pe@0x55638b283618 | inserting event EVENT_SA_REKEY, timeout in 28530 seconds for #11 | libevent_malloc: new ptr-libevent@0x7efe00006f28 size 128 | #11 spent 0.799 milliseconds in resume sending helper answer | stop processing: state #11 connection "westnet-eastnet-ikev2c" from 192.1.2.45:500 (in resume_handler() at server.c:833) | libevent_free: release ptr-libevent@0x7efdf4005df8