FIPS Product: YES FIPS Kernel: NO FIPS Mode: NO NSS DB directory: sql:/etc/ipsec.d Initializing NSS Opening NSS database "sql:/etc/ipsec.d" read-only NSS initialized NSS crypto library initialized FIPS HMAC integrity support [enabled] FIPS mode disabled for pluto daemon FIPS HMAC integrity verification self-test FAILED libcap-ng support [enabled] Linux audit support [enabled] Linux audit activated Starting Pluto (Libreswan Version v3.28-827-gc9aa82b8a6-master-s2 XFRM(netkey) esp-hw-offload FORK PTHREAD_SETSCHEDPRIO NSS (IPsec profile) DNSSEC SYSTEMD_WATCHDOG FIPS_CHECK LABELED_IPSEC SECCOMP LIBCAP_NG LINUX_AUDIT XAUTH_PAM NETWORKMANAGER CURL(non-NSS)) pid:16398 core dump dir: /tmp secrets file: /etc/ipsec.secrets leak-detective disabled NSS crypto [enabled] XAUTH PAM support [enabled] | libevent is using pluto's memory allocator Initializing libevent in pthreads mode: headers: 2.1.8-stable (2010800); library: 2.1.8-stable (2010800) | libevent_malloc: new ptr-libevent@0x5638ac864e50 size 40 | libevent_malloc: new ptr-libevent@0x5638ac864e80 size 40 | libevent_malloc: new ptr-libevent@0x5638ac866170 size 40 | creating event base | libevent_malloc: new ptr-libevent@0x5638ac866130 size 56 | libevent_malloc: new ptr-libevent@0x5638ac8661a0 size 664 | libevent_malloc: new ptr-libevent@0x5638ac866440 size 24 | libevent_malloc: new ptr-libevent@0x5638ac857cc0 size 384 | libevent_malloc: new ptr-libevent@0x5638ac866460 size 16 | libevent_malloc: new ptr-libevent@0x5638ac866480 size 40 | libevent_malloc: new ptr-libevent@0x5638ac8664b0 size 48 | libevent_realloc: new ptr-libevent@0x5638ac7e8370 size 256 | libevent_malloc: new ptr-libevent@0x5638ac8664f0 size 16 | libevent_free: release ptr-libevent@0x5638ac866130 | libevent initialized | libevent_realloc: new ptr-libevent@0x5638ac866510 size 64 | global periodic timer EVENT_RESET_LOG_RATE_LIMIT enabled with interval of 3600 seconds | init_nat_traversal() initialized with keep_alive=0s NAT-Traversal support [enabled] | global one-shot timer EVENT_NAT_T_KEEPALIVE initialized | global one-shot timer EVENT_FREE_ROOT_CERTS initialized | global periodic timer EVENT_REINIT_SECRET enabled with interval of 3600 seconds | global one-shot timer EVENT_REVIVE_CONNS initialized | global periodic timer EVENT_PENDING_DDNS enabled with interval of 60 seconds | global periodic timer EVENT_PENDING_PHASE2 enabled with interval of 120 seconds Encryption algorithms: AES_CCM_16 IKEv1: ESP IKEv2: ESP FIPS {256,192,*128} aes_ccm, aes_ccm_c AES_CCM_12 IKEv1: ESP IKEv2: ESP FIPS {256,192,*128} aes_ccm_b AES_CCM_8 IKEv1: ESP IKEv2: ESP FIPS {256,192,*128} aes_ccm_a 3DES_CBC IKEv1: IKE ESP IKEv2: IKE ESP FIPS [*192] 3des CAMELLIA_CTR IKEv1: ESP IKEv2: ESP {256,192,*128} CAMELLIA_CBC IKEv1: IKE ESP IKEv2: IKE ESP {256,192,*128} camellia AES_GCM_16 IKEv1: ESP IKEv2: IKE ESP FIPS {256,192,*128} aes_gcm, aes_gcm_c AES_GCM_12 IKEv1: ESP IKEv2: IKE ESP FIPS {256,192,*128} aes_gcm_b AES_GCM_8 IKEv1: ESP IKEv2: IKE ESP FIPS {256,192,*128} aes_gcm_a AES_CTR IKEv1: IKE ESP IKEv2: IKE ESP FIPS {256,192,*128} aesctr AES_CBC IKEv1: IKE ESP IKEv2: IKE ESP FIPS {256,192,*128} aes SERPENT_CBC IKEv1: IKE ESP IKEv2: IKE ESP {256,192,*128} serpent TWOFISH_CBC IKEv1: IKE ESP IKEv2: IKE ESP {256,192,*128} twofish TWOFISH_SSH IKEv1: IKE IKEv2: IKE ESP {256,192,*128} twofish_cbc_ssh NULL_AUTH_AES_GMAC IKEv1: ESP IKEv2: ESP FIPS {256,192,*128} aes_gmac NULL IKEv1: ESP IKEv2: ESP [] CHACHA20_POLY1305 IKEv1: IKEv2: IKE ESP [*256] chacha20poly1305 Hash algorithms: MD5 IKEv1: IKE IKEv2: SHA1 IKEv1: IKE IKEv2: FIPS sha SHA2_256 IKEv1: IKE IKEv2: FIPS sha2, sha256 SHA2_384 IKEv1: IKE IKEv2: FIPS sha384 SHA2_512 IKEv1: IKE IKEv2: FIPS sha512 PRF algorithms: HMAC_MD5 IKEv1: IKE IKEv2: IKE md5 HMAC_SHA1 IKEv1: IKE IKEv2: IKE FIPS sha, sha1 HMAC_SHA2_256 IKEv1: IKE IKEv2: IKE FIPS sha2, sha256, sha2_256 HMAC_SHA2_384 IKEv1: IKE IKEv2: IKE FIPS sha384, sha2_384 HMAC_SHA2_512 IKEv1: IKE IKEv2: IKE FIPS sha512, sha2_512 AES_XCBC IKEv1: IKEv2: IKE aes128_xcbc Integrity algorithms: HMAC_MD5_96 IKEv1: IKE ESP AH IKEv2: IKE ESP AH md5, hmac_md5 HMAC_SHA1_96 IKEv1: IKE ESP AH IKEv2: IKE ESP AH FIPS sha, sha1, sha1_96, hmac_sha1 HMAC_SHA2_512_256 IKEv1: IKE ESP AH IKEv2: IKE ESP AH FIPS sha512, sha2_512, sha2_512_256, hmac_sha2_512 HMAC_SHA2_384_192 IKEv1: IKE ESP AH IKEv2: IKE ESP AH FIPS sha384, sha2_384, sha2_384_192, hmac_sha2_384 HMAC_SHA2_256_128 IKEv1: IKE ESP AH IKEv2: IKE ESP AH FIPS sha2, sha256, sha2_256, sha2_256_128, hmac_sha2_256 HMAC_SHA2_256_TRUNCBUG IKEv1: ESP AH IKEv2: AH AES_XCBC_96 IKEv1: ESP AH IKEv2: IKE ESP AH aes_xcbc, aes128_xcbc, aes128_xcbc_96 AES_CMAC_96 IKEv1: ESP AH IKEv2: ESP AH FIPS aes_cmac NONE IKEv1: ESP IKEv2: IKE ESP FIPS null DH algorithms: NONE IKEv1: IKEv2: IKE ESP AH FIPS null, dh0 MODP1536 IKEv1: IKE ESP AH IKEv2: IKE ESP AH dh5 MODP2048 IKEv1: IKE ESP AH IKEv2: IKE ESP AH FIPS dh14 MODP3072 IKEv1: IKE ESP AH IKEv2: IKE ESP AH FIPS dh15 MODP4096 IKEv1: IKE ESP AH IKEv2: IKE ESP AH FIPS dh16 MODP6144 IKEv1: IKE ESP AH IKEv2: IKE ESP AH FIPS dh17 MODP8192 IKEv1: IKE ESP AH IKEv2: IKE ESP AH FIPS dh18 DH19 IKEv1: IKE IKEv2: IKE ESP AH FIPS ecp_256, ecp256 DH20 IKEv1: IKE IKEv2: IKE ESP AH FIPS ecp_384, ecp384 DH21 IKEv1: IKE IKEv2: IKE ESP AH FIPS ecp_521, ecp521 DH31 IKEv1: IKE IKEv2: IKE ESP AH curve25519 testing CAMELLIA_CBC: Camellia: 16 bytes with 128-bit key Camellia: 16 bytes with 128-bit key Camellia: 16 bytes with 256-bit key Camellia: 16 bytes with 256-bit key testing AES_GCM_16: empty string one block two blocks two blocks with associated data testing AES_CTR: Encrypting 16 octets using AES-CTR with 128-bit key Encrypting 32 octets using AES-CTR with 128-bit key Encrypting 36 octets using AES-CTR with 128-bit key Encrypting 16 octets using AES-CTR with 192-bit key Encrypting 32 octets using AES-CTR with 192-bit key Encrypting 36 octets using AES-CTR with 192-bit key Encrypting 16 octets using AES-CTR with 256-bit key Encrypting 32 octets using AES-CTR with 256-bit key Encrypting 36 octets using AES-CTR with 256-bit key testing AES_CBC: Encrypting 16 bytes (1 block) using AES-CBC with 128-bit key Encrypting 32 bytes (2 blocks) using AES-CBC with 128-bit key Encrypting 48 bytes (3 blocks) using AES-CBC with 128-bit key Encrypting 64 bytes (4 blocks) using AES-CBC with 128-bit key testing AES_XCBC: RFC 3566 Test Case #1: AES-XCBC-MAC-96 with 0-byte input RFC 3566 Test Case #2: AES-XCBC-MAC-96 with 3-byte input RFC 3566 Test Case #3: AES-XCBC-MAC-96 with 16-byte input RFC 3566 Test Case #4: AES-XCBC-MAC-96 with 20-byte input RFC 3566 Test Case #5: AES-XCBC-MAC-96 with 32-byte input RFC 3566 Test Case #6: AES-XCBC-MAC-96 with 34-byte input RFC 3566 Test Case #7: AES-XCBC-MAC-96 with 1000-byte input RFC 4434 Test Case AES-XCBC-PRF-128 with 20-byte input (key length 16) RFC 4434 Test Case AES-XCBC-PRF-128 with 20-byte input (key length 10) RFC 4434 Test Case AES-XCBC-PRF-128 with 20-byte input (key length 18) testing HMAC_MD5: RFC 2104: MD5_HMAC test 1 RFC 2104: MD5_HMAC test 2 RFC 2104: MD5_HMAC test 3 8 CPU cores online starting up 7 crypto helpers started thread for crypto helper 0 started thread for crypto helper 1 started thread for crypto helper 2 | starting up helper thread 0 started thread for crypto helper 3 | starting up helper thread 3 | status value returned by setting the priority of this thread (crypto helper 3) 22 | crypto helper 3 waiting (nothing to do) | status value returned by setting the priority of this thread (crypto helper 0) 22 | starting up helper thread 1 started thread for crypto helper 4 started thread for crypto helper 5 started thread for crypto helper 6 | checking IKEv1 state table | crypto helper 0 waiting (nothing to do) | starting up helper thread 4 | status value returned by setting the priority of this thread (crypto helper 4) 22 | crypto helper 4 waiting (nothing to do) | status value returned by setting the priority of this thread (crypto helper 1) 22 | starting up helper thread 6 | starting up helper thread 2 | status value returned by setting the priority of this thread (crypto helper 2) 22 | MAIN_R0: category: half-open IKE SA flags: 0: | -> MAIN_R1 EVENT_SO_DISCARD | MAIN_I1: category: half-open IKE SA flags: 0: | -> MAIN_I2 EVENT_RETRANSMIT | MAIN_R1: category: open IKE SA flags: 200: | -> MAIN_R2 EVENT_RETRANSMIT | -> UNDEFINED EVENT_RETRANSMIT | -> UNDEFINED EVENT_RETRANSMIT | MAIN_I2: category: open IKE SA flags: 0: | -> MAIN_I3 EVENT_RETRANSMIT | -> UNDEFINED EVENT_RETRANSMIT | -> UNDEFINED EVENT_RETRANSMIT | MAIN_R2: category: open IKE SA flags: 0: | -> MAIN_R3 EVENT_SA_REPLACE | -> MAIN_R3 EVENT_SA_REPLACE | -> UNDEFINED EVENT_SA_REPLACE | MAIN_I3: category: open IKE SA flags: 0: | -> MAIN_I4 EVENT_SA_REPLACE | -> MAIN_I4 EVENT_SA_REPLACE | -> UNDEFINED EVENT_SA_REPLACE | MAIN_R3: category: established IKE SA flags: 200: | -> UNDEFINED EVENT_NULL | MAIN_I4: category: established IKE SA flags: 0: | -> UNDEFINED EVENT_NULL | AGGR_R0: category: half-open IKE SA flags: 0: | -> AGGR_R1 EVENT_SO_DISCARD | AGGR_I1: category: half-open IKE SA flags: 0: | crypto helper 1 waiting (nothing to do) | starting up helper thread 5 | status value returned by setting the priority of this thread (crypto helper 5) 22 | -> 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 | status value returned by setting the priority of this thread (crypto helper 6) 22 | AGGR_I2: category: established IKE SA flags: 200: | -> UNDEFINED EVENT_NULL | crypto helper 2 waiting (nothing to do) | crypto helper 5 waiting (nothing to do) | AGGR_R2: category: established IKE SA flags: 0: | -> UNDEFINED EVENT_NULL | crypto helper 6 waiting (nothing to do) | QUICK_R0: category: established CHILD SA flags: 0: | -> QUICK_R1 EVENT_RETRANSMIT | QUICK_I1: category: established CHILD SA flags: 0: | -> QUICK_I2 EVENT_SA_REPLACE | QUICK_R1: category: established CHILD SA flags: 0: | -> QUICK_R2 EVENT_SA_REPLACE | QUICK_I2: category: established CHILD SA flags: 200: | -> UNDEFINED EVENT_NULL | QUICK_R2: category: established CHILD SA flags: 0: | -> UNDEFINED EVENT_NULL | INFO: category: informational flags: 0: | -> UNDEFINED EVENT_NULL | INFO_PROTECTED: category: informational flags: 0: | -> UNDEFINED EVENT_NULL | XAUTH_R0: category: established IKE SA flags: 0: | -> XAUTH_R1 EVENT_NULL | XAUTH_R1: category: established IKE SA flags: 0: | -> MAIN_R3 EVENT_SA_REPLACE | MODE_CFG_R0: category: informational flags: 0: | -> MODE_CFG_R1 EVENT_SA_REPLACE | MODE_CFG_R1: category: established IKE SA flags: 0: | -> MODE_CFG_R2 EVENT_SA_REPLACE | MODE_CFG_R2: category: established IKE SA flags: 0: | -> UNDEFINED EVENT_NULL | MODE_CFG_I1: category: established IKE SA flags: 0: | -> MAIN_I4 EVENT_SA_REPLACE | XAUTH_I0: category: established IKE SA flags: 0: | -> XAUTH_I1 EVENT_RETRANSMIT | XAUTH_I1: category: established IKE SA flags: 0: | -> MAIN_I4 EVENT_RETRANSMIT | checking IKEv2 state table | PARENT_I0: category: ignore flags: 0: | -> PARENT_I1 EVENT_RETRANSMIT send-request (initiate IKE_SA_INIT) | PARENT_I1: category: half-open IKE SA flags: 0: | -> PARENT_I1 EVENT_RETAIN send-request (Initiator: process SA_INIT reply notification) | -> PARENT_I2 EVENT_RETRANSMIT send-request (Initiator: process IKE_SA_INIT reply, initiate IKE_AUTH) | PARENT_I2: category: open IKE SA flags: 0: | -> PARENT_I2 EVENT_NULL (Initiator: process INVALID_SYNTAX AUTH notification) | -> PARENT_I2 EVENT_NULL (Initiator: process AUTHENTICATION_FAILED AUTH notification) | -> PARENT_I2 EVENT_NULL (Initiator: process UNSUPPORTED_CRITICAL_PAYLOAD AUTH notification) | -> V2_IPSEC_I EVENT_SA_REPLACE (Initiator: process IKE_AUTH response) | -> PARENT_I2 EVENT_NULL (IKE SA: process IKE_AUTH response containing unknown notification) | PARENT_I3: category: established IKE SA flags: 0: | -> PARENT_I3 EVENT_RETAIN (I3: Informational Request) | -> PARENT_I3 EVENT_RETAIN (I3: Informational Response) | -> PARENT_I3 EVENT_RETAIN (I3: INFORMATIONAL Request) | -> PARENT_I3 EVENT_RETAIN (I3: INFORMATIONAL Response) | PARENT_R0: category: half-open IKE SA flags: 0: | -> PARENT_R1 EVENT_SO_DISCARD send-request (Respond to IKE_SA_INIT) | PARENT_R1: category: half-open IKE SA flags: 0: | -> PARENT_R1 EVENT_SA_REPLACE send-request (Responder: process IKE_AUTH request (no SKEYSEED)) | -> V2_IPSEC_R EVENT_SA_REPLACE send-request (Responder: process IKE_AUTH request) | PARENT_R2: category: established IKE SA flags: 0: | -> PARENT_R2 EVENT_RETAIN (R2: process Informational Request) | -> PARENT_R2 EVENT_RETAIN (R2: process Informational Response) | -> PARENT_R2 EVENT_RETAIN (R2: process INFORMATIONAL Request) | -> PARENT_R2 EVENT_RETAIN (R2: process INFORMATIONAL Response) | V2_CREATE_I0: category: established IKE SA flags: 0: | -> V2_CREATE_I EVENT_RETRANSMIT send-request (Initiate CREATE_CHILD_SA IPsec SA) | V2_CREATE_I: category: established IKE SA flags: 0: | -> V2_IPSEC_I EVENT_SA_REPLACE (Process CREATE_CHILD_SA IPsec SA Response) | V2_REKEY_IKE_I0: category: established IKE SA flags: 0: | -> V2_REKEY_IKE_I EVENT_RETRANSMIT send-request (Initiate CREATE_CHILD_SA IKE Rekey) | V2_REKEY_IKE_I: category: established IKE SA flags: 0: | -> PARENT_I3 EVENT_SA_REPLACE (Process CREATE_CHILD_SA IKE Rekey Response) | V2_REKEY_CHILD_I0: category: established IKE SA flags: 0: | -> V2_REKEY_CHILD_I EVENT_RETRANSMIT send-request (Initiate CREATE_CHILD_SA IPsec Rekey SA) | V2_REKEY_CHILD_I: category: established IKE SA flags: 0: | V2_CREATE_R: category: established IKE SA flags: 0: | -> V2_IPSEC_R EVENT_SA_REPLACE send-request (Respond to CREATE_CHILD_SA IPsec SA Request) | V2_REKEY_IKE_R: category: established IKE SA flags: 0: | -> PARENT_R2 EVENT_SA_REPLACE send-request (Respond to CREATE_CHILD_SA IKE Rekey) | V2_REKEY_CHILD_R: category: established IKE SA flags: 0: | V2_IPSEC_I: category: established CHILD SA flags: 0: | V2_IPSEC_R: category: established CHILD SA flags: 0: | IKESA_DEL: category: established IKE SA flags: 0: | -> IKESA_DEL EVENT_RETAIN (IKE_SA_DEL: process INFORMATIONAL) | CHILDSA_DEL: category: informational flags: 0: Using Linux XFRM/NETKEY IPsec interface code on 5.2.11+ | Hard-wiring algorithms | adding AES_CCM_16 to kernel algorithm db | adding AES_CCM_12 to kernel algorithm db | adding AES_CCM_8 to kernel algorithm db | adding 3DES_CBC to kernel algorithm db | adding CAMELLIA_CBC to kernel algorithm db | adding AES_GCM_16 to kernel algorithm db | adding AES_GCM_12 to kernel algorithm db | adding AES_GCM_8 to kernel algorithm db | adding AES_CTR to kernel algorithm db | adding AES_CBC to kernel algorithm db | adding SERPENT_CBC to kernel algorithm db | adding TWOFISH_CBC to kernel algorithm db | adding NULL_AUTH_AES_GMAC to kernel algorithm db | adding NULL to kernel algorithm db | adding CHACHA20_POLY1305 to kernel algorithm db | adding HMAC_MD5_96 to kernel algorithm db | adding HMAC_SHA1_96 to kernel algorithm db | adding HMAC_SHA2_512_256 to kernel algorithm db | adding HMAC_SHA2_384_192 to kernel algorithm db | adding HMAC_SHA2_256_128 to kernel algorithm db | adding HMAC_SHA2_256_TRUNCBUG to kernel algorithm db | adding AES_XCBC_96 to kernel algorithm db | adding AES_CMAC_96 to kernel algorithm db | adding NONE to kernel algorithm db | net.ipv6.conf.all.disable_ipv6=1 ignore ipv6 holes | global periodic timer EVENT_SHUNT_SCAN enabled with interval of 20 seconds | setup kernel fd callback | add_fd_read_event_handler: new KERNEL_XRM_FD-pe@0x5638ac8708b0 | libevent_malloc: new ptr-libevent@0x5638ac877d80 size 128 | libevent_malloc: new ptr-libevent@0x5638ac86bb20 size 16 | add_fd_read_event_handler: new KERNEL_ROUTE_FD-pe@0x5638ac86b150 | libevent_malloc: new ptr-libevent@0x5638ac877e10 size 128 | libevent_malloc: new ptr-libevent@0x5638ac866560 size 16 | global one-shot timer EVENT_CHECK_CRLS initialized selinux support is enabled. systemd watchdog not enabled - not sending watchdog keepalives | unbound context created - setting debug level to 5 | /etc/hosts lookups activated | /etc/resolv.conf usage activated | outgoing-port-avoid set 0-65535 | outgoing-port-permit set 32768-60999 | Loading dnssec root key from:/var/lib/unbound/root.key | No additional dnssec trust anchors defined via dnssec-trusted= option | Setting up events, loop start | add_fd_read_event_handler: new PLUTO_CTL_FD-pe@0x5638ac86aea0 | libevent_malloc: new ptr-libevent@0x5638ac882380 size 128 | libevent_malloc: new ptr-libevent@0x5638ac882410 size 16 | libevent_realloc: new ptr-libevent@0x5638ac7e65b0 size 256 | libevent_malloc: new ptr-libevent@0x5638ac882430 size 8 | libevent_realloc: new ptr-libevent@0x5638ac877080 size 144 | libevent_malloc: new ptr-libevent@0x5638ac882450 size 152 | libevent_malloc: new ptr-libevent@0x5638ac8824f0 size 16 | signal event handler PLUTO_SIGCHLD installed | libevent_malloc: new ptr-libevent@0x5638ac882510 size 8 | libevent_malloc: new ptr-libevent@0x5638ac882530 size 152 | signal event handler PLUTO_SIGTERM installed | libevent_malloc: new ptr-libevent@0x5638ac8825d0 size 8 | libevent_malloc: new ptr-libevent@0x5638ac8825f0 size 152 | signal event handler PLUTO_SIGHUP installed | libevent_malloc: new ptr-libevent@0x5638ac882690 size 8 | libevent_realloc: release ptr-libevent@0x5638ac877080 | libevent_realloc: new ptr-libevent@0x5638ac8826b0 size 256 | libevent_malloc: new ptr-libevent@0x5638ac877080 size 152 | signal event handler PLUTO_SIGSYS installed | created addconn helper (pid:16434) using fork+execve | forked child 16434 | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:721) | pluto_sd: executing action action: reloading(4), status 0 listening for IKE messages | Inspecting interface lo | found lo with address 127.0.0.1 | Inspecting interface eth0 | found eth0 with address 192.0.2.254 | Inspecting interface eth1 | found eth1 with address 192.1.2.23 Kernel supports NIC esp-hw-offload adding interface eth1/eth1 (esp-hw-offload not supported by kernel) 192.1.2.23:500 | NAT-Traversal: Trying sockopt style NAT-T | NAT-Traversal: ESPINUDP(2) setup succeeded for sockopt style NAT-T family IPv4 adding interface eth1/eth1 192.1.2.23:4500 adding interface eth0/eth0 (esp-hw-offload not supported by kernel) 192.0.2.254:500 | NAT-Traversal: Trying sockopt style NAT-T | NAT-Traversal: ESPINUDP(2) setup succeeded for sockopt style NAT-T family IPv4 adding interface eth0/eth0 192.0.2.254:4500 adding interface lo/lo (esp-hw-offload not supported by kernel) 127.0.0.1:500 | NAT-Traversal: Trying sockopt style NAT-T | NAT-Traversal: ESPINUDP(2) setup succeeded for sockopt style NAT-T family IPv4 adding interface lo/lo 127.0.0.1:4500 | no interfaces to sort | FOR_EACH_UNORIENTED_CONNECTION_... in check_orientations | add_fd_read_event_handler: new ethX-pe@0x5638ac86bc20 | libevent_malloc: new ptr-libevent@0x5638ac882a20 size 128 | libevent_malloc: new ptr-libevent@0x5638ac882ab0 size 16 | setup callback for interface lo 127.0.0.1:4500 fd 22 | add_fd_read_event_handler: new ethX-pe@0x5638ac882ad0 | libevent_malloc: new ptr-libevent@0x5638ac882b10 size 128 | libevent_malloc: new ptr-libevent@0x5638ac882ba0 size 16 | setup callback for interface lo 127.0.0.1:500 fd 21 | add_fd_read_event_handler: new ethX-pe@0x5638ac882bc0 | libevent_malloc: new ptr-libevent@0x5638ac882c00 size 128 | libevent_malloc: new ptr-libevent@0x5638ac882c90 size 16 | setup callback for interface eth0 192.0.2.254:4500 fd 20 | add_fd_read_event_handler: new ethX-pe@0x5638ac882cb0 | libevent_malloc: new ptr-libevent@0x5638ac882cf0 size 128 | libevent_malloc: new ptr-libevent@0x5638ac882d80 size 16 | setup callback for interface eth0 192.0.2.254:500 fd 19 | add_fd_read_event_handler: new ethX-pe@0x5638ac882da0 | libevent_malloc: new ptr-libevent@0x5638ac882de0 size 128 | libevent_malloc: new ptr-libevent@0x5638ac882e70 size 16 | setup callback for interface eth1 192.1.2.23:4500 fd 18 | add_fd_read_event_handler: new ethX-pe@0x5638ac882e90 | libevent_malloc: new ptr-libevent@0x5638ac882ed0 size 128 | libevent_malloc: new ptr-libevent@0x5638ac882f60 size 16 | setup callback for interface eth1 192.1.2.23:500 fd 17 | certs and keys locked by 'free_preshared_secrets' | certs and keys unlocked by 'free_preshared_secrets' loading secrets from "/etc/ipsec.secrets" | saving Modulus | saving PublicExponent | ignoring PrivateExponent | ignoring Prime1 | ignoring Prime2 | ignoring Exponent1 | ignoring Exponent2 | ignoring Coefficient | ignoring CKAIDNSS | computed rsa CKAID 61 55 99 73 d3 ac ef 7d 3a 37 0e 3e 82 ad 92 c1 | computed rsa CKAID 8a 82 25 f1 loaded private key for keyid: PKK_RSA:AQO9bJbr3 | certs and keys locked by 'process_secret' | certs and keys unlocked by 'process_secret' | pluto_sd: executing action action: ready(5), status 0 | close_any(fd@16) (in whack_process() at rcv_whack.c:700) | spent 0.573 milliseconds in whack | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:721) | pluto_sd: executing action action: reloading(4), status 0 listening for IKE messages | Inspecting interface lo | found lo with address 127.0.0.1 | Inspecting interface eth0 | found eth0 with address 192.0.2.254 | Inspecting interface eth1 | found eth1 with address 192.1.2.23 | no interfaces to sort | libevent_free: release ptr-libevent@0x5638ac882a20 | free_event_entry: release EVENT_NULL-pe@0x5638ac86bc20 | add_fd_read_event_handler: new ethX-pe@0x5638ac86bc20 | libevent_malloc: new ptr-libevent@0x5638ac882a20 size 128 | setup callback for interface lo 127.0.0.1:4500 fd 22 | libevent_free: release ptr-libevent@0x5638ac882b10 | free_event_entry: release EVENT_NULL-pe@0x5638ac882ad0 | add_fd_read_event_handler: new ethX-pe@0x5638ac882ad0 | libevent_malloc: new ptr-libevent@0x5638ac882b10 size 128 | setup callback for interface lo 127.0.0.1:500 fd 21 | libevent_free: release ptr-libevent@0x5638ac882c00 | free_event_entry: release EVENT_NULL-pe@0x5638ac882bc0 | add_fd_read_event_handler: new ethX-pe@0x5638ac882bc0 | libevent_malloc: new ptr-libevent@0x5638ac882c00 size 128 | setup callback for interface eth0 192.0.2.254:4500 fd 20 | libevent_free: release ptr-libevent@0x5638ac882cf0 | free_event_entry: release EVENT_NULL-pe@0x5638ac882cb0 | add_fd_read_event_handler: new ethX-pe@0x5638ac882cb0 | libevent_malloc: new ptr-libevent@0x5638ac882cf0 size 128 | setup callback for interface eth0 192.0.2.254:500 fd 19 | libevent_free: release ptr-libevent@0x5638ac882de0 | free_event_entry: release EVENT_NULL-pe@0x5638ac882da0 | add_fd_read_event_handler: new ethX-pe@0x5638ac882da0 | libevent_malloc: new ptr-libevent@0x5638ac882de0 size 128 | setup callback for interface eth1 192.1.2.23:4500 fd 18 | libevent_free: release ptr-libevent@0x5638ac882ed0 | free_event_entry: release EVENT_NULL-pe@0x5638ac882e90 | add_fd_read_event_handler: new ethX-pe@0x5638ac882e90 | libevent_malloc: new ptr-libevent@0x5638ac882ed0 size 128 | setup callback for interface eth1 192.1.2.23:500 fd 17 | certs and keys locked by 'free_preshared_secrets' forgetting secrets | certs and keys unlocked by 'free_preshared_secrets' loading secrets from "/etc/ipsec.secrets" | saving Modulus | saving PublicExponent | ignoring PrivateExponent | ignoring Prime1 | ignoring Prime2 | ignoring Exponent1 | ignoring Exponent2 | ignoring Coefficient | ignoring CKAIDNSS | computed rsa CKAID 61 55 99 73 d3 ac ef 7d 3a 37 0e 3e 82 ad 92 c1 | computed rsa CKAID 8a 82 25 f1 loaded private key for keyid: PKK_RSA:AQO9bJbr3 | certs and keys locked by 'process_secret' | certs and keys unlocked by 'process_secret' | pluto_sd: executing action action: ready(5), status 0 | close_any(fd@16) (in whack_process() at rcv_whack.c:700) | spent 0.271 milliseconds in whack | processing signal PLUTO_SIGCHLD | waitpid returned pid 16434 (exited with status 0) | reaped addconn helper child (status 0) | waitpid returned ECHILD (no child processes left) | spent 0.0106 milliseconds in signal handler PLUTO_SIGCHLD | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:721) | old debugging base+cpu-usage + none | base debugging = base+cpu-usage | old impairing none + allow-null-none | base impairing = allow-null-none | close_any(fd@16) (in whack_process() at rcv_whack.c:700) | spent 0.0375 milliseconds in whack | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:721) | FOR_EACH_CONNECTION_... in conn_by_name | FOR_EACH_CONNECTION_... in foreach_connection_by_alias | FOR_EACH_CONNECTION_... in conn_by_name | FOR_EACH_CONNECTION_... in foreach_connection_by_alias | FOR_EACH_CONNECTION_... in conn_by_name | Added new connection esp=null-none with policy ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO | No AUTH policy was set - defaulting to RSASIG | ike (phase1) algorithm values: AES_CBC_128-HMAC_SHA1-MODP2048 | from whack: got --esp=null-none | ESP/AH string values: NULL-NONE | 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@0x5638ac84f3a0 added connection description "esp=null-none" | ike_life: 3600s; ipsec_life: 28800s; rekey_margin: 540s; rekey_fuzz: 100%; keyingtries: 0; replay_window: 32; policy: RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO | 192.0.2.0/24===192.1.2.23<192.1.2.23>[@east]...192.1.2.45<192.1.2.45>[@west]===192.0.1.0/24 | close_any(fd@16) (in whack_process() at rcv_whack.c:700) | spent 0.102 milliseconds in whack | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:721) add keyid @west | add pubkey 01 03 a6 f5 d6 3f e3 8f 6c 01 6a fc 7b 7c 6d 57 | add pubkey 8b 49 39 0d 77 f7 ac e2 85 f1 98 1e 4b 6d a5 3e | add pubkey b3 96 9a d1 99 5a bc 10 f2 97 de f2 28 f9 5f 92 | add pubkey 09 f0 c8 d4 12 e4 60 6e 9c 60 98 10 01 7d 26 b7 | add pubkey 8f 95 62 2d 87 dd cd de f6 d3 8f 35 b0 50 d0 18 | add pubkey f5 99 f8 04 f1 ff 61 5b bc 7f 1f c0 04 d8 e4 8c | add pubkey ac 34 ad 7a c1 da 3c 2d 8c 30 ae d6 3c 59 b1 3a | add pubkey 94 d3 d5 2a 73 91 bd 59 5f 3e 72 bf 4a 1b 9d c5 | add pubkey b2 2b 4d e7 0d 24 3e 77 f9 7f 2d d6 9d 29 ef 70 | add pubkey 7d 7a 6d a2 b8 61 0c 4b 09 4a 06 71 84 70 85 9a | add pubkey 8f 52 a1 80 06 fd c6 fc 3e 27 fa 16 fa 32 83 a9 | add pubkey ca 80 db 0f 4a bf f7 e9 55 8e bd 29 4d 23 a6 dc | add pubkey 2a b3 5d 62 a9 21 1e be 83 d8 69 3c 03 0a 48 8e | add pubkey d3 3a 11 f2 86 5a d1 30 65 bd c8 f4 83 87 ff 04 | add pubkey 87 33 05 4f e0 d8 8c fe b3 19 4c dd 85 40 f3 4d | add pubkey 6e e8 49 14 06 2c 1f 59 59 05 8f 20 b0 ca 46 3f | add pubkey c9 20 7e 04 30 7d 9a 80 6c 3f 0a 89 f7 d3 af d8 | add pubkey 15 04 37 f9 | computed rsa CKAID b4 9f 1a ac 9e 45 6e 79 29 c8 81 97 3a 0c 6a d3 | computed rsa CKAID 7f 0f 03 50 | keyid: *AQOm9dY/4 | n a6 f5 d6 3f e3 8f 6c 01 6a fc 7b 7c 6d 57 8b 49 | n 39 0d 77 f7 ac e2 85 f1 98 1e 4b 6d a5 3e b3 96 | n 9a d1 99 5a bc 10 f2 97 de f2 28 f9 5f 92 09 f0 | n c8 d4 12 e4 60 6e 9c 60 98 10 01 7d 26 b7 8f 95 | n 62 2d 87 dd cd de f6 d3 8f 35 b0 50 d0 18 f5 99 | n f8 04 f1 ff 61 5b bc 7f 1f c0 04 d8 e4 8c ac 34 | n ad 7a c1 da 3c 2d 8c 30 ae d6 3c 59 b1 3a 94 d3 | n d5 2a 73 91 bd 59 5f 3e 72 bf 4a 1b 9d c5 b2 2b | n 4d e7 0d 24 3e 77 f9 7f 2d d6 9d 29 ef 70 7d 7a | n 6d a2 b8 61 0c 4b 09 4a 06 71 84 70 85 9a 8f 52 | n a1 80 06 fd c6 fc 3e 27 fa 16 fa 32 83 a9 ca 80 | n db 0f 4a bf f7 e9 55 8e bd 29 4d 23 a6 dc 2a b3 | n 5d 62 a9 21 1e be 83 d8 69 3c 03 0a 48 8e d3 3a | n 11 f2 86 5a d1 30 65 bd c8 f4 83 87 ff 04 87 33 | n 05 4f e0 d8 8c fe b3 19 4c dd 85 40 f3 4d 6e e8 | n 49 14 06 2c 1f 59 59 05 8f 20 b0 ca 46 3f c9 20 | n 7e 04 30 7d 9a 80 6c 3f 0a 89 f7 d3 af d8 15 04 | n 37 f9 | e 03 | CKAID b4 9f 1a ac 9e 45 6e 79 29 c8 81 97 3a 0c 6a d3 | CKAID 7f 0f 03 50 | close_any(fd@16) (in whack_process() at rcv_whack.c:700) | spent 0.0998 milliseconds in whack | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:721) add keyid @east | add pubkey 01 03 bd 6c 96 eb df 78 89 b3 ed 77 0d a1 7f 7b | add pubkey e5 16 c2 c9 e4 7d 92 0a 90 9d 55 43 b4 62 13 03 | add pubkey 85 7a e0 26 7b 54 1f ca 09 93 cf ff 25 c9 02 4c | add pubkey 78 ca 94 e5 3e ac d1 f9 a8 e5 bb 7f cc 20 84 e0 | add pubkey 21 c9 f0 0d c5 44 ba f3 48 64 61 58 f6 0f 63 0d | add pubkey d2 67 1e 59 8b ec f3 50 39 71 fb 39 da 11 64 b6 | add pubkey 62 cd 5f d3 8d 2e c1 50 ed 9c 6e 22 0c 39 a7 ce | add pubkey 62 b5 af 8a 80 0f 2e 4c 05 5c 82 c7 8d 29 02 2e | add pubkey bb 23 5f db f2 9e b5 7d e2 20 70 1a 63 f3 8e 5d | add pubkey ac 47 f0 5c 26 4e b1 d0 42 60 52 4a b0 77 25 ce | add pubkey e0 98 2b 43 f4 c7 59 1a 64 01 83 ea 4e e3 1a 2a | add pubkey 92 b8 55 ab 63 dd 4b 70 47 29 dc e9 b4 60 bf 43 | add pubkey 4d 58 8f 64 73 95 70 ac 35 89 b2 c2 9c d4 62 c0 | add pubkey 5f 56 5f ad 1b e5 dd 49 93 6a f5 23 82 ed d4 e7 | add pubkey d5 f1 55 f2 2d a2 26 a6 36 53 2f 94 fb 99 22 5c | add pubkey 47 cc 6d 80 30 88 96 38 0c f5 f2 ed 37 d0 09 d5 | add pubkey 07 8f 69 ef a9 99 ce 4d 1a 77 9e 39 c4 38 f3 c5 | add pubkey 51 51 48 ef | computed rsa CKAID 61 55 99 73 d3 ac ef 7d 3a 37 0e 3e 82 ad 92 c1 | computed rsa CKAID 8a 82 25 f1 | keyid: *AQO9bJbr3 | n bd 6c 96 eb df 78 89 b3 ed 77 0d a1 7f 7b e5 16 | n c2 c9 e4 7d 92 0a 90 9d 55 43 b4 62 13 03 85 7a | n e0 26 7b 54 1f ca 09 93 cf ff 25 c9 02 4c 78 ca | n 94 e5 3e ac d1 f9 a8 e5 bb 7f cc 20 84 e0 21 c9 | n f0 0d c5 44 ba f3 48 64 61 58 f6 0f 63 0d d2 67 | n 1e 59 8b ec f3 50 39 71 fb 39 da 11 64 b6 62 cd | n 5f d3 8d 2e c1 50 ed 9c 6e 22 0c 39 a7 ce 62 b5 | n af 8a 80 0f 2e 4c 05 5c 82 c7 8d 29 02 2e bb 23 | n 5f db f2 9e b5 7d e2 20 70 1a 63 f3 8e 5d ac 47 | n f0 5c 26 4e b1 d0 42 60 52 4a b0 77 25 ce e0 98 | n 2b 43 f4 c7 59 1a 64 01 83 ea 4e e3 1a 2a 92 b8 | n 55 ab 63 dd 4b 70 47 29 dc e9 b4 60 bf 43 4d 58 | n 8f 64 73 95 70 ac 35 89 b2 c2 9c d4 62 c0 5f 56 | n 5f ad 1b e5 dd 49 93 6a f5 23 82 ed d4 e7 d5 f1 | n 55 f2 2d a2 26 a6 36 53 2f 94 fb 99 22 5c 47 cc | n 6d 80 30 88 96 38 0c f5 f2 ed 37 d0 09 d5 07 8f | n 69 ef a9 99 ce 4d 1a 77 9e 39 c4 38 f3 c5 51 51 | n 48 ef | e 03 | CKAID 61 55 99 73 d3 ac ef 7d 3a 37 0e 3e 82 ad 92 c1 | CKAID 8a 82 25 f1 | close_any(fd@16) (in whack_process() at rcv_whack.c:700) | spent 0.0756 milliseconds in whack | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:721) | FOR_EACH_CONNECTION_... in show_connections_status | FOR_EACH_CONNECTION_... in show_connections_status | FOR_EACH_STATE_... in show_states_status (sort_states) | close_any(fd@16) (in whack_process() at rcv_whack.c:700) | spent 0.307 milliseconds in whack | spent 0.00289 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 440 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | e0 4a 4f 59 d7 55 d8 63 00 00 00 00 00 00 00 00 | 21 20 22 08 00 00 00 00 00 00 01 b8 22 00 00 30 | 00 00 00 2c 01 01 00 04 03 00 00 0c 01 00 00 0c | 80 0e 00 80 03 00 00 08 02 00 00 02 03 00 00 08 | 03 00 00 02 00 00 00 08 04 00 00 0e 28 00 01 08 | 00 0e 00 00 8d be 24 e1 7a e1 0d 29 20 6d 99 33 | fa de 90 4c 20 78 65 67 b8 bb da 22 7d 5b 15 41 | 96 17 74 b2 1b b7 20 53 92 cc 0e 19 05 f9 4b 73 | 8a 86 bc f3 d5 b8 d7 11 2f 87 4e a1 21 c6 7b 7b | 5d 7e 3f da ab fd 84 88 51 76 ae 09 35 db 16 e7 | 3f bf bf f0 3a 41 3a b5 25 d2 59 dd a0 e9 f2 61 | 1a e1 0c 6b d8 79 39 c7 df 6a dd cc 4c e4 3b b5 | a8 86 88 30 ba a0 75 1a ce 6c a0 71 45 1e 03 23 | cc 66 f5 13 05 0d 20 14 da 80 f1 95 ae 3a 04 d1 | 92 06 1f 9e 71 34 83 49 60 6c ad 15 d0 84 1d a5 | 12 0f 44 5a 47 c6 24 b9 68 46 31 bf 66 a9 3c f3 | 69 f2 44 bb fc 49 56 d1 3d 4d 8b 28 96 a9 32 ed | 69 ed 34 73 00 af 1f e1 88 27 e2 ae 44 d7 42 c3 | 2d 9f d3 c7 83 21 eb 03 70 42 0b 72 bc 73 e8 58 | db ca ad ed e1 b1 5b fe cd f3 36 97 ae 61 9d 9e | c6 65 86 b5 a9 c5 07 31 3d a5 99 f5 63 e6 7d ed | ef 1e 29 b9 29 00 00 24 af e3 eb 92 50 9b 59 3d | 98 02 b8 bc 83 a9 1a 78 1c 6f ed 12 5f 7a 01 81 | 3b 32 41 cb 9c 37 9e d7 29 00 00 08 00 00 40 2e | 29 00 00 1c 00 00 40 04 03 d6 67 e1 69 f2 dc 85 | fa 35 4f 77 d2 b0 ba 5e 49 fc 70 ff 00 00 00 1c | 00 00 40 05 4e 84 dd 27 ba d3 1b 6e 89 2a 8d 93 | d7 76 a4 e1 22 1d 40 8c | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | e0 4a 4f 59 d7 55 d8 63 | 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: 440 (0x1b8) | 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: 48 (0x30) | processing payload: ISAKMP_NEXT_v2SA (len=44) | Now let's proceed with payload (ISAKMP_NEXT_v2KE) | ***parse IKEv2 Key Exchange Payload: | next payload type: ISAKMP_NEXT_v2Ni (0x28) | flags: none (0x0) | length: 264 (0x108) | DH group: OAKLEY_GROUP_MODP2048 (0xe) | processing payload: ISAKMP_NEXT_v2KE (len=256) | Now let's proceed with payload (ISAKMP_NEXT_v2Ni) | ***parse IKEv2 Nonce Payload: | next payload type: ISAKMP_NEXT_v2N (0x29) | flags: none (0x0) | length: 36 (0x24) | processing payload: ISAKMP_NEXT_v2Ni (len=32) | Now let's proceed with payload (ISAKMP_NEXT_v2N) | ***parse IKEv2 Notify Payload: | next payload type: ISAKMP_NEXT_v2N (0x29) | flags: none (0x0) | length: 8 (0x8) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | Notify Message Type: v2N_IKEV2_FRAGMENTATION_SUPPORTED (0x402e) | processing payload: ISAKMP_NEXT_v2N (len=0) | Now let's proceed with payload (ISAKMP_NEXT_v2N) | ***parse IKEv2 Notify Payload: | next payload type: ISAKMP_NEXT_v2N (0x29) | flags: none (0x0) | length: 28 (0x1c) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | Notify Message Type: v2N_NAT_DETECTION_SOURCE_IP (0x4004) | processing payload: ISAKMP_NEXT_v2N (len=20) | Now let's proceed with payload (ISAKMP_NEXT_v2N) | ***parse IKEv2 Notify Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | length: 28 (0x1c) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | Notify Message Type: v2N_NAT_DETECTION_DESTINATION_IP (0x4005) | processing payload: ISAKMP_NEXT_v2N (len=20) | DDOS disabled and no cookie sent, continuing | find_host_connection local=192.1.2.23:500 remote=192.1.2.45:500 policy=ECDSA+IKEV2_ALLOW but ignoring ports | find_host_pair: comparing 192.1.2.23:500 to 192.1.2.45:500 but ignoring ports | find_next_host_connection policy=ECDSA+IKEV2_ALLOW | found policy = RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO (esp=null-none) | find_next_host_connection returns empty | find_host_connection local=192.1.2.23:500 remote= policy=ECDSA+IKEV2_ALLOW but ignoring ports | find_next_host_connection policy=ECDSA+IKEV2_ALLOW | find_next_host_connection returns empty | initial parent SA message received on 192.1.2.23:500 but no connection has been authorized with policy ECDSA+IKEV2_ALLOW | find_host_connection local=192.1.2.23:500 remote=192.1.2.45:500 policy=RSASIG+IKEV2_ALLOW but ignoring ports | find_host_pair: comparing 192.1.2.23:500 to 192.1.2.45:500 but ignoring ports | find_next_host_connection policy=RSASIG+IKEV2_ALLOW | found policy = RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO (esp=null-none) | find_next_host_connection returns esp=null-none | find_next_host_connection policy=RSASIG+IKEV2_ALLOW | find_next_host_connection returns empty | found connection: esp=null-none with policy RSASIG+IKEV2_ALLOW | creating state object #1 at 0x5638ac885690 | State DB: adding IKEv2 state #1 in UNDEFINED | pstats #1 ikev2.ike started | Message ID: init #1: msgid=0 lastack=4294967295 nextuse=0 lastrecv=4294967295 lastreplied=0 | parent state #1: UNDEFINED(ignore) => PARENT_R0(half-open IKE SA) | Message ID: init_ike #1; ike: initiator.sent=0->-1 initiator.recv=0->-1 responder.sent=0->-1 responder.recv=0->-1 wip.initiator=0->-1 wip.responder=0->-1 | start processing: state #1 connection "esp=null-none" 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 "esp=null-none" from 192.1.2.45:500 (in ike_process_packet() at ikev2.c:2064) | #1 st.st_msgid_lastrecv -1 md.hdr.isa_msgid 00000000 | Message ID: #1 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=-1 responder.recv=-1 | Message ID: start-responder #1 request 0; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=-1 responder.recv=-1 wip.initiator=-1 wip.responder=-1->0 | #1 in state PARENT_R0: processing SA_INIT request | selected state microcode Respond to IKE_SA_INIT | Now let's proceed with state specific processing | calling processor Respond to IKE_SA_INIT | #1 updating local interface from 192.1.2.23:500 to 192.1.2.23:500 using md->iface (in update_ike_endpoints() at state.c:2668) | constructing local IKE proposals for esp=null-none (IKE SA responder matching remote proposals) | converting ike_info AES_CBC_128-HMAC_SHA1-MODP2048 to ikev2 ... | ... ikev2_proposal: 1:IKE:ENCR=AES_CBC_128;PRF=HMAC_SHA1;INTEG=HMAC_SHA1_96;DH=MODP2048 "esp=null-none": constructed local IKE proposals for esp=null-none (IKE SA responder matching remote proposals): 1:IKE:ENCR=AES_CBC_128;PRF=HMAC_SHA1;INTEG=HMAC_SHA1_96;DH=MODP2048 | Comparing remote proposals against IKE responder 1 local proposals | local proposal 1 type ENCR has 1 transforms | local proposal 1 type PRF has 1 transforms | local proposal 1 type INTEG has 1 transforms | local proposal 1 type DH has 1 transforms | local proposal 1 type ESN has 0 transforms | local proposal 1 transforms: required: ENCR+PRF+INTEG+DH; optional: none | ****parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | length: 44 (0x2c) | prop #: 1 (0x1) | proto ID: IKEv2_SEC_PROTO_IKE (0x1) | spi size: 0 (0x0) | # transforms: 4 (0x4) | Comparing remote proposal 1 containing 4 transforms against local proposal [1..1] of 1 local proposals | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 12 (0xc) | IKEv2 transform type: TRANS_TYPE_ENCR (0x1) | IKEv2 transform ID: AES_CBC (0xc) | ******parse IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 128 (0x80) | remote proposal 1 transform 0 (ENCR=AES_CBC_128) matches local proposal 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_SHA1 (0x2) | remote proposal 1 transform 1 (PRF=HMAC_SHA1) matches local proposal 1 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_INTEG (0x3) | IKEv2 transform ID: AUTH_HMAC_SHA1_96 (0x2) | remote proposal 1 transform 2 (INTEG=HMAC_SHA1_96) matches local proposal 1 type 3 (INTEG) transform 0 | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_LAST (0x0) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP2048 (0xe) | remote proposal 1 transform 3 (DH=MODP2048) matches local proposal 1 type 4 (DH) transform 0 | remote proposal 1 proposed transforms: ENCR+PRF+INTEG+DH; matched: ENCR+PRF+INTEG+DH; unmatched: none | comparing remote proposal 1 containing ENCR+PRF+INTEG+DH transforms to local proposal 1; required: ENCR+PRF+INTEG+DH; optional: none; matched: ENCR+PRF+INTEG+DH | remote proposal 1 matches local proposal 1 "esp=null-none" #1: proposal 1:IKE:ENCR=AES_CBC_128;PRF=HMAC_SHA1;INTEG=HMAC_SHA1_96;DH=MODP2048 chosen from remote proposals 1:IKE:ENCR=AES_CBC_128;PRF=HMAC_SHA1;INTEG=HMAC_SHA1_96;DH=MODP2048[first-match] | accepted IKE proposal ikev2_proposal: 1:IKE:ENCR=AES_CBC_128;PRF=HMAC_SHA1;INTEG=HMAC_SHA1_96;DH=MODP2048 | converting proposal to internal trans attrs | natd_hash: rcookie is zero | natd_hash: hasher=0x5638abe667a0(20) | natd_hash: icookie= e0 4a 4f 59 d7 55 d8 63 | natd_hash: rcookie= 00 00 00 00 00 00 00 00 | natd_hash: ip= c0 01 02 17 | natd_hash: port= 01 f4 | natd_hash: hash= 4e 84 dd 27 ba d3 1b 6e 89 2a 8d 93 d7 76 a4 e1 | natd_hash: hash= 22 1d 40 8c | natd_hash: rcookie is zero | natd_hash: hasher=0x5638abe667a0(20) | natd_hash: icookie= e0 4a 4f 59 d7 55 d8 63 | natd_hash: rcookie= 00 00 00 00 00 00 00 00 | natd_hash: ip= c0 01 02 2d | natd_hash: port= 01 f4 | natd_hash: hash= 03 d6 67 e1 69 f2 dc 85 fa 35 4f 77 d2 b0 ba 5e | natd_hash: hash= 49 fc 70 ff | 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@0x5638ac8876b0 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #1 | libevent_malloc: new ptr-libevent@0x5638ac8876f0 size 128 | #1 spent 0.192 milliseconds in processing: Respond to IKE_SA_INIT in ikev2_process_state_packet() | crypto helper 3 resuming | crypto helper 3 starting work-order 1 for state #1 | [RE]START processing: state #1 connection "esp=null-none" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3376) | #1 complete_v2_state_transition() PARENT_R0->PARENT_R1 with status STF_SUSPEND | suspending state #1 and saving MD | crypto helper 3 doing build KE and nonce (ikev2_inI1outR1 KE); request ID 1 | #1 is busy; has a suspended MD | [RE]START processing: state #1 connection "esp=null-none" from 192.1.2.45:500 (in log_stf_suspend() at ikev2.c:3266) | "esp=null-none" #1 complete v2 state STATE_PARENT_R0 transition with STF_SUSPEND suspended from complete_v2_state_transition:3448 | stop processing: state #1 connection "esp=null-none" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2018) | #1 spent 0.554 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.566 milliseconds in comm_handle_cb() reading and processing packet | crypto helper 3 finished build KE and nonce (ikev2_inI1outR1 KE); request ID 1 time elapsed 0.001006 seconds | (#1) spent 1 milliseconds in crypto helper computing work-order 1: ikev2_inI1outR1 KE (pcr) | crypto helper 3 sending results from work-order 1 for state #1 to event queue | scheduling resume sending helper answer for #1 | libevent_malloc: new ptr-libevent@0x7fe26c006900 size 128 | crypto helper 3 waiting (nothing to do) | processing resume sending helper answer for #1 | start processing: state #1 connection "esp=null-none" from 192.1.2.45:500 (in resume_handler() at server.c:797) | crypto helper 3 replies to request ID 1 | calling continuation function 0x5638abd90630 | ikev2_parent_inI1outR1_continue for #1: calculated ke+nonce, sending R1 | **emit ISAKMP Message: | initiator cookie: | e0 4a 4f 59 d7 55 d8 63 | responder cookie: | c4 17 0c 7d dc 14 73 40 | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_IKE_SA_INIT (0x22) | flags: ISAKMP_FLAG_v2_MSG_RESPONSE (0x20) | Message ID: 0 (0x0) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | Emitting ikev2_proposal ... | ***emit IKEv2 Security Association Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'ISAKMP Message'.'next payload type' to current IKEv2 Security Association Payload (33:ISAKMP_NEXT_v2SA) | next payload chain: saving location 'IKEv2 Security Association Payload'.'next payload type' in 'reply packet' | ****emit IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | prop #: 1 (0x1) | proto ID: IKEv2_SEC_PROTO_IKE (0x1) | spi size: 0 (0x0) | # transforms: 4 (0x4) | last substructure: saving location 'IKEv2 Security Association Payload'.'IKEv2 Proposal Substructure Payload'.'last proposal' | *****emit IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | IKEv2 transform type: TRANS_TYPE_ENCR (0x1) | IKEv2 transform ID: AES_CBC (0xc) | last substructure: saving location 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' | ******emit IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 128 (0x80) | 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_SHA1 (0x2) | last substructure: checking 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' is v2_TRANSFORM_NON_LAST (0x3) | last substructure: saving location 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' | emitting length of IKEv2 Transform Substructure Payload: 8 | *****emit IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | IKEv2 transform type: TRANS_TYPE_INTEG (0x3) | IKEv2 transform ID: AUTH_HMAC_SHA1_96 (0x2) | last substructure: checking 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' is v2_TRANSFORM_NON_LAST (0x3) | last substructure: saving location 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' | emitting length of IKEv2 Transform Substructure Payload: 8 | *****emit IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_LAST (0x0) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP2048 (0xe) | last substructure: checking 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' is v2_TRANSFORM_NON_LAST (0x3) | last substructure: saving location 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' | emitting length of IKEv2 Transform Substructure Payload: 8 | emitting length of IKEv2 Proposal Substructure Payload: 44 | last substructure: checking 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' is 0 | emitting length of IKEv2 Security Association Payload: 48 | last substructure: checking 'IKEv2 Security Association Payload'.'IKEv2 Proposal Substructure Payload'.'last proposal' is 0 | ***emit IKEv2 Key Exchange Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | DH group: OAKLEY_GROUP_MODP2048 (0xe) | next payload chain: setting previous 'IKEv2 Security Association Payload'.'next payload type' to current IKEv2 Key Exchange Payload (34:ISAKMP_NEXT_v2KE) | next payload chain: saving location 'IKEv2 Key Exchange Payload'.'next payload type' in 'reply packet' | emitting 256 raw bytes of ikev2 g^x into IKEv2 Key Exchange Payload | ikev2 g^x db 65 c8 1a 82 f3 f3 f8 53 dd 90 aa 65 43 ab 8a | ikev2 g^x 4a cc 53 9c d7 ad 0c 05 ff 31 70 7b 99 3d 2a e6 | ikev2 g^x 79 bf 68 61 3a 04 c0 49 0d 91 90 9c bd 55 bc 77 | ikev2 g^x 4b 27 f5 25 1a 9d 71 ed fc f2 09 02 c0 5f 30 d6 | ikev2 g^x 6b 5c 2e 72 41 82 b7 b5 4e 1e 77 4f 3c a0 94 20 | ikev2 g^x 01 ee 6f 8c 5a e4 98 79 a7 32 bf 24 4e 0f e2 5e | ikev2 g^x 74 65 35 27 fd 4b eb f7 99 49 bf 3d 38 5c 1d eb | ikev2 g^x 6a 54 de fc c1 58 c1 05 79 a6 2b a0 8a d2 42 cd | ikev2 g^x f7 62 1f 53 da 6d 12 57 c3 ac b8 6f 4d 35 69 93 | ikev2 g^x 98 c3 62 49 cc 5c 89 92 23 eb 67 97 dd 3f 9f a9 | ikev2 g^x b3 28 95 5a 7c f9 b5 86 41 7b 3d 41 6b fb 21 8d | ikev2 g^x 12 cd 0d 37 6b fe 4d fe d1 eb 06 78 27 74 9b 91 | ikev2 g^x 8a 47 7c d3 0f 94 e9 24 d8 0f a6 01 d9 49 5e 65 | ikev2 g^x be f7 da 38 09 33 6d 6d 82 b3 e9 2a 3f 72 da 4e | ikev2 g^x fc 6a af 22 7b 05 8e a0 8c 9d 66 a1 12 1a 7e 0e | ikev2 g^x 61 ec de aa b2 37 8d 77 a9 34 76 7f d3 7d 23 e6 | 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 28 33 60 73 70 ba 5f ea 53 1e d7 e1 f3 ae c9 92 | IKEv2 nonce 22 89 4d 3c 68 a9 ff 39 ef 0b 31 71 2e 2b d8 68 | 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=0x5638abe667a0(20) | natd_hash: icookie= e0 4a 4f 59 d7 55 d8 63 | natd_hash: rcookie= c4 17 0c 7d dc 14 73 40 | natd_hash: ip= c0 01 02 17 | natd_hash: port= 01 f4 | natd_hash: hash= 0c f5 01 78 25 7e a7 80 77 14 2e 33 6c 8d d9 11 | natd_hash: hash= 30 3f 3b aa | 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 0c f5 01 78 25 7e a7 80 77 14 2e 33 6c 8d d9 11 | Notify data 30 3f 3b aa | emitting length of IKEv2 Notify Payload: 28 | natd_hash: hasher=0x5638abe667a0(20) | natd_hash: icookie= e0 4a 4f 59 d7 55 d8 63 | natd_hash: rcookie= c4 17 0c 7d dc 14 73 40 | natd_hash: ip= c0 01 02 2d | natd_hash: port= 01 f4 | natd_hash: hash= a0 a9 dc 14 7b b0 e7 38 2c 03 be 83 49 48 d2 20 | natd_hash: hash= 5e ba 44 40 | Adding a v2N Payload | ***emit IKEv2 Notify Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | Notify Message Type: v2N_NAT_DETECTION_DESTINATION_IP (0x4005) | next payload chain: setting previous 'IKEv2 Notify Payload'.'next payload type' to current IKEv2 Notify Payload (41:ISAKMP_NEXT_v2N) | next payload chain: saving location 'IKEv2 Notify Payload'.'next payload type' in 'reply packet' | emitting 20 raw bytes of Notify data into IKEv2 Notify Payload | Notify data a0 a9 dc 14 7b b0 e7 38 2c 03 be 83 49 48 d2 20 | Notify data 5e ba 44 40 | emitting length of IKEv2 Notify Payload: 28 | emitting length of ISAKMP Message: 440 | [RE]START processing: state #1 connection "esp=null-none" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3376) | #1 complete_v2_state_transition() PARENT_R0->PARENT_R1 with status STF_OK | IKEv2: transition from state STATE_PARENT_R0 to state STATE_PARENT_R1 | parent state #1: PARENT_R0(half-open IKE SA) => PARENT_R1(half-open IKE SA) | Message ID: updating counters for #1 to 0 after switching state | Message ID: recv #1 request 0; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=-1 responder.recv=-1->0 wip.initiator=-1 wip.responder=0->-1 | Message ID: sent #1 response 0; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=-1->0 responder.recv=0 wip.initiator=-1 wip.responder=-1 "esp=null-none" #1: STATE_PARENT_R1: received v2I1, sent v2R1 {auth=IKEv2 cipher=AES_CBC_128 integ=HMAC_SHA1_96 prf=HMAC_SHA1 group=MODP2048} | sending V2 new request packet to 192.1.2.45:500 (from 192.1.2.23:500) | sending 440 bytes for STATE_PARENT_R0 through eth1 from 192.1.2.23:500 to 192.1.2.45:500 (using #1) | e0 4a 4f 59 d7 55 d8 63 c4 17 0c 7d dc 14 73 40 | 21 20 22 20 00 00 00 00 00 00 01 b8 22 00 00 30 | 00 00 00 2c 01 01 00 04 03 00 00 0c 01 00 00 0c | 80 0e 00 80 03 00 00 08 02 00 00 02 03 00 00 08 | 03 00 00 02 00 00 00 08 04 00 00 0e 28 00 01 08 | 00 0e 00 00 db 65 c8 1a 82 f3 f3 f8 53 dd 90 aa | 65 43 ab 8a 4a cc 53 9c d7 ad 0c 05 ff 31 70 7b | 99 3d 2a e6 79 bf 68 61 3a 04 c0 49 0d 91 90 9c | bd 55 bc 77 4b 27 f5 25 1a 9d 71 ed fc f2 09 02 | c0 5f 30 d6 6b 5c 2e 72 41 82 b7 b5 4e 1e 77 4f | 3c a0 94 20 01 ee 6f 8c 5a e4 98 79 a7 32 bf 24 | 4e 0f e2 5e 74 65 35 27 fd 4b eb f7 99 49 bf 3d | 38 5c 1d eb 6a 54 de fc c1 58 c1 05 79 a6 2b a0 | 8a d2 42 cd f7 62 1f 53 da 6d 12 57 c3 ac b8 6f | 4d 35 69 93 98 c3 62 49 cc 5c 89 92 23 eb 67 97 | dd 3f 9f a9 b3 28 95 5a 7c f9 b5 86 41 7b 3d 41 | 6b fb 21 8d 12 cd 0d 37 6b fe 4d fe d1 eb 06 78 | 27 74 9b 91 8a 47 7c d3 0f 94 e9 24 d8 0f a6 01 | d9 49 5e 65 be f7 da 38 09 33 6d 6d 82 b3 e9 2a | 3f 72 da 4e fc 6a af 22 7b 05 8e a0 8c 9d 66 a1 | 12 1a 7e 0e 61 ec de aa b2 37 8d 77 a9 34 76 7f | d3 7d 23 e6 29 00 00 24 28 33 60 73 70 ba 5f ea | 53 1e d7 e1 f3 ae c9 92 22 89 4d 3c 68 a9 ff 39 | ef 0b 31 71 2e 2b d8 68 29 00 00 08 00 00 40 2e | 29 00 00 1c 00 00 40 04 0c f5 01 78 25 7e a7 80 | 77 14 2e 33 6c 8d d9 11 30 3f 3b aa 00 00 00 1c | 00 00 40 05 a0 a9 dc 14 7b b0 e7 38 2c 03 be 83 | 49 48 d2 20 5e ba 44 40 | state #1 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x5638ac8876f0 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x5638ac8876b0 | event_schedule: new EVENT_SO_DISCARD-pe@0x5638ac8876b0 | inserting event EVENT_SO_DISCARD, timeout in 200 seconds for #1 | libevent_malloc: new ptr-libevent@0x5638ac8876f0 size 128 | resume sending helper answer for #1 suppresed complete_v2_state_transition() | #1 spent 0.434 milliseconds in resume sending helper answer | stop processing: state #1 connection "esp=null-none" from 192.1.2.45:500 (in resume_handler() at server.c:833) | libevent_free: release ptr-libevent@0x7fe26c006900 | spent 0.0021 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 460 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | e0 4a 4f 59 d7 55 d8 63 c4 17 0c 7d dc 14 73 40 | 2e 20 23 08 00 00 00 01 00 00 01 cc 23 00 01 b0 | 78 1f b9 da 74 fc 23 19 5e 90 da ce 68 da 98 2c | f6 68 e0 e1 09 3a 24 ee 3e 44 54 2a fc a7 d7 95 | 2b ef f2 fb c6 77 03 4f 9a c5 da 7e cb 3f 06 04 | 37 84 ab 86 85 78 f9 a1 33 cd dd 72 a2 23 6a 80 | 8a 06 07 57 37 71 c8 1d 6b cf 33 52 02 e5 0c 3d | de 77 54 e8 9d 46 e7 63 49 d4 cc 3d 69 b0 a5 a9 | 4b be f2 0f 4b 62 6e b0 f6 6e e9 46 c1 09 fd 05 | e3 64 d1 a5 35 72 67 9c 83 10 7a 60 db d3 16 10 | ea a0 31 6f d4 73 d6 2e 50 d1 e9 77 ce 82 09 8b | b4 5f 23 6c 7e 00 84 6d 6b af 23 e9 18 e3 83 65 | 98 21 b8 96 46 67 56 99 dd 96 58 29 4b 2d f4 bf | 5f 0d d8 9e d9 f7 59 c2 05 6b 87 f9 78 86 0b 35 | 55 91 ba 0b db c2 9e 10 4d 0d 6f 9e 66 f6 30 bb | 9d 1f fe b8 bb 31 f0 33 24 f7 d2 67 19 88 54 04 | 9d 88 63 21 01 d8 98 71 96 96 28 bf 8f dd b9 fd | 5a 0b 9a ff 60 79 e2 a5 60 2d 7d 04 c8 7d 02 5c | ab 0f e0 a0 86 fd c6 15 61 1c 9b cd bd 7a 6a 0b | 7d 2a 07 ad 6d a6 22 d8 7f ed 82 f3 96 ef 4d 89 | 5e 9a 99 55 ab 75 14 6b 4d 1b fb 78 e2 cc a1 c8 | de 9b 87 ed a7 90 0d fb f4 f6 75 f9 9b 82 cf 02 | 8d f9 3c 81 61 1d bd cd 28 ee 45 3c 26 9a 19 c1 | c8 df 69 e0 2d f7 48 6c a1 2b 48 54 de fd db 03 | ae b4 4e 1a e6 4f 67 04 19 00 68 9c 38 72 51 d3 | 2a 3f 12 6c 5e 9e 9a f6 60 54 2e 96 ad 22 5c 08 | 6f ba 61 04 c9 dd 0d 22 d1 b8 d0 9d b0 b4 6f 03 | 49 28 3a a2 6a ab 19 49 7a 32 07 cb 95 91 15 5a | 49 a3 4c bc 56 32 0f 4b cb 29 86 fd | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | e0 4a 4f 59 d7 55 d8 63 | responder cookie: | c4 17 0c 7d dc 14 73 40 | 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: 460 (0x1cc) | 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 "esp=null-none" 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 "esp=null-none" 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: 432 (0x1b0) | processing payload: ISAKMP_NEXT_v2SK (len=428) | 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_SHA1 integ=HMAC_SHA1_96 cipherkey=AES_CBC | adding ikev2_inI2outR2 KE work-order 2 for state #1 | state #1 requesting EVENT_SO_DISCARD to be deleted | libevent_free: release ptr-libevent@0x5638ac8876f0 | free_event_entry: release EVENT_SO_DISCARD-pe@0x5638ac8876b0 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x5638ac8876b0 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #1 | libevent_malloc: new ptr-libevent@0x5638ac8876f0 size 128 | #1 spent 0.0298 milliseconds in processing: Responder: process IKE_AUTH request (no SKEYSEED) in ikev2_process_state_packet() | [RE]START processing: state #1 connection "esp=null-none" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3376) | crypto helper 0 resuming | #1 complete_v2_state_transition() PARENT_R1->PARENT_R1 with status STF_SUSPEND | suspending state #1 and saving MD | #1 is busy; has a suspended MD | crypto helper 0 starting work-order 2 for state #1 | [RE]START processing: state #1 connection "esp=null-none" from 192.1.2.45:500 (in log_stf_suspend() at ikev2.c:3266) | crypto helper 0 doing compute dh (V2) (ikev2_inI2outR2 KE); request ID 2 | "esp=null-none" #1 complete v2 state STATE_PARENT_R1 transition with STF_SUSPEND suspended from complete_v2_state_transition:3448 | stop processing: state #1 connection "esp=null-none" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2018) | #1 spent 0.209 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.22 milliseconds in comm_handle_cb() reading and processing packet | calculating skeyseed using prf=sha integ=sha cipherkey-size=16 salt-size=0 | crypto helper 0 finished compute dh (V2) (ikev2_inI2outR2 KE); request ID 2 time elapsed 0.001445 seconds | (#1) spent 1.44 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@0x7fe26400ee90 size 128 | crypto helper 0 waiting (nothing to do) | processing resume sending helper answer for #1 | start processing: state #1 connection "esp=null-none" from 192.1.2.45:500 (in resume_handler() at server.c:797) | crypto helper 0 replies to request ID 2 | calling continuation function 0x5638abd90630 | ikev2_parent_inI2outR2_continue for #1: calculating g^{xy}, sending R2 | #1 in state PARENT_R1: received v2I1, sent v2R1 | data for hmac: e0 4a 4f 59 d7 55 d8 63 c4 17 0c 7d dc 14 73 40 | data for hmac: 2e 20 23 08 00 00 00 01 00 00 01 cc 23 00 01 b0 | data for hmac: 78 1f b9 da 74 fc 23 19 5e 90 da ce 68 da 98 2c | data for hmac: f6 68 e0 e1 09 3a 24 ee 3e 44 54 2a fc a7 d7 95 | data for hmac: 2b ef f2 fb c6 77 03 4f 9a c5 da 7e cb 3f 06 04 | data for hmac: 37 84 ab 86 85 78 f9 a1 33 cd dd 72 a2 23 6a 80 | data for hmac: 8a 06 07 57 37 71 c8 1d 6b cf 33 52 02 e5 0c 3d | data for hmac: de 77 54 e8 9d 46 e7 63 49 d4 cc 3d 69 b0 a5 a9 | data for hmac: 4b be f2 0f 4b 62 6e b0 f6 6e e9 46 c1 09 fd 05 | data for hmac: e3 64 d1 a5 35 72 67 9c 83 10 7a 60 db d3 16 10 | data for hmac: ea a0 31 6f d4 73 d6 2e 50 d1 e9 77 ce 82 09 8b | data for hmac: b4 5f 23 6c 7e 00 84 6d 6b af 23 e9 18 e3 83 65 | data for hmac: 98 21 b8 96 46 67 56 99 dd 96 58 29 4b 2d f4 bf | data for hmac: 5f 0d d8 9e d9 f7 59 c2 05 6b 87 f9 78 86 0b 35 | data for hmac: 55 91 ba 0b db c2 9e 10 4d 0d 6f 9e 66 f6 30 bb | data for hmac: 9d 1f fe b8 bb 31 f0 33 24 f7 d2 67 19 88 54 04 | data for hmac: 9d 88 63 21 01 d8 98 71 96 96 28 bf 8f dd b9 fd | data for hmac: 5a 0b 9a ff 60 79 e2 a5 60 2d 7d 04 c8 7d 02 5c | data for hmac: ab 0f e0 a0 86 fd c6 15 61 1c 9b cd bd 7a 6a 0b | data for hmac: 7d 2a 07 ad 6d a6 22 d8 7f ed 82 f3 96 ef 4d 89 | data for hmac: 5e 9a 99 55 ab 75 14 6b 4d 1b fb 78 e2 cc a1 c8 | data for hmac: de 9b 87 ed a7 90 0d fb f4 f6 75 f9 9b 82 cf 02 | data for hmac: 8d f9 3c 81 61 1d bd cd 28 ee 45 3c 26 9a 19 c1 | data for hmac: c8 df 69 e0 2d f7 48 6c a1 2b 48 54 de fd db 03 | data for hmac: ae b4 4e 1a e6 4f 67 04 19 00 68 9c 38 72 51 d3 | data for hmac: 2a 3f 12 6c 5e 9e 9a f6 60 54 2e 96 ad 22 5c 08 | data for hmac: 6f ba 61 04 c9 dd 0d 22 d1 b8 d0 9d b0 b4 6f 03 | data for hmac: 49 28 3a a2 6a ab 19 49 7a 32 07 cb 95 91 15 5a | calculated auth: 49 a3 4c bc 56 32 0f 4b cb 29 86 fd | provided auth: 49 a3 4c bc 56 32 0f 4b cb 29 86 fd | authenticator matched | #1 ikev2 ISAKMP_v2_IKE_AUTH decrypt success | Now let's proceed with payload (ISAKMP_NEXT_v2IDi) | **parse IKEv2 Identification - Initiator - Payload: | next payload type: ISAKMP_NEXT_v2IDr (0x24) | flags: none (0x0) | length: 12 (0xc) | ID type: ID_FQDN (0x2) | processing payload: ISAKMP_NEXT_v2IDi (len=4) | Now let's proceed with payload (ISAKMP_NEXT_v2IDr) | **parse IKEv2 Identification - Responder - Payload: | next payload type: ISAKMP_NEXT_v2AUTH (0x27) | flags: none (0x0) | length: 12 (0xc) | ID type: ID_FQDN (0x2) | processing payload: ISAKMP_NEXT_v2IDr (len=4) | Now let's proceed with payload (ISAKMP_NEXT_v2AUTH) | **parse IKEv2 Authentication Payload: | next payload type: ISAKMP_NEXT_v2SA (0x21) | flags: none (0x0) | length: 282 (0x11a) | auth method: IKEv2_AUTH_RSA (0x1) | processing payload: ISAKMP_NEXT_v2AUTH (len=274) | Now let's proceed with payload (ISAKMP_NEXT_v2SA) | **parse IKEv2 Security Association Payload: | next payload type: ISAKMP_NEXT_v2TSi (0x2c) | flags: none (0x0) | length: 40 (0x28) | processing payload: ISAKMP_NEXT_v2SA (len=36) | 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 "esp=null-none" #1: processing decrypted IKE_AUTH request: SK{IDi,IDr,AUTH,SA,TSi,TSr} | #1 updating local interface from 192.1.2.23:500 to 192.1.2.23:500 using md->iface (in update_ike_endpoints() at state.c:2668) | received IDr payload - extracting our alleged ID | refine_host_connection for IKEv2: starting with "esp=null-none" | match_id a=@west | b=@west | results matched | refine_host_connection: checking "esp=null-none" against "esp=null-none", 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 esp=null-none against esp=null-none, now for see if best | started looking for secret for @east->@west of kind PKK_RSA | actually looking for secret for @east->@west of kind PKK_RSA | line 1: key type PKK_RSA(@east) to type PKK_RSA | 1: compared key (none) to @east / @west -> 002 | 2: compared key (none) to @east / @west -> 002 | line 1: match=002 | match 002 beats previous best_match 000 match=0x5638ac877f60 (line=1) | concluding with best_match=002 best=0x5638ac877f60 (lineno=1) | returning because exact peer id match | offered CA: '%none' "esp=null-none" #1: IKEv2 mode peer ID is ID_FQDN: '@west' | verifying AUTH payload | required RSA CA is '%any' | checking RSA keyid '@east' for match with '@west' | checking RSA keyid '@west' for match with '@west' | RSA key issuer CA is '%any' | an RSA Sig check passed with *AQOm9dY/4 [preloaded keys] | #1 spent 0.0631 milliseconds in try_all_keys() trying a pubkey "esp=null-none" #1: Authenticated using RSA | #1 spent 0.0883 milliseconds in ikev2_verify_rsa_hash() | parent state #1: PARENT_R1(half-open IKE SA) => PARENT_R2(established IKE SA) | #1 will start re-keying in 3330 seconds with margin of 270 seconds (attempting re-key) | state #1 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x5638ac8876f0 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x5638ac8876b0 | event_schedule: new EVENT_SA_REKEY-pe@0x5638ac8876b0 | inserting event EVENT_SA_REKEY, timeout in 3330 seconds for #1 | libevent_malloc: new ptr-libevent@0x5638ac8876f0 size 128 | pstats #1 ikev2.ike established | **emit ISAKMP Message: | initiator cookie: | e0 4a 4f 59 d7 55 d8 63 | responder cookie: | c4 17 0c 7d dc 14 73 40 | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_IKE_AUTH (0x23) | flags: ISAKMP_FLAG_v2_MSG_RESPONSE (0x20) | Message ID: 1 (0x1) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | IKEv2 CERT: send a certificate? | IKEv2 CERT: no certificate to send | ***emit IKEv2 Encryption Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'ISAKMP Message'.'next payload type' to current IKEv2 Encryption Payload (46:ISAKMP_NEXT_v2SK) | next payload chain: saving location 'IKEv2 Encryption Payload'.'next payload type' in 'reply packet' | emitting 16 zero bytes of IV into IKEv2 Encryption Payload | Initiator child policy is compress=no, NOT sending v2N_IPCOMP_SUPPORTED | ****emit IKEv2 Identification - Responder - Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | ID type: ID_FQDN (0x2) | next payload chain: setting previous 'IKEv2 Encryption Payload'.'next payload type' to current IKEv2 Identification - Responder - Payload (36:ISAKMP_NEXT_v2IDr) | next payload chain: saving location 'IKEv2 Identification - Responder - Payload'.'next payload type' in 'reply packet' | emitting 4 raw bytes of my identity into IKEv2 Identification - Responder - Payload | my identity 65 61 73 74 | emitting length of IKEv2 Identification - Responder - Payload: 12 | assembled IDr payload | CHILD SA proposals received | going to assemble AUTH payload | ****emit IKEv2 Authentication Payload: | next payload type: ISAKMP_NEXT_v2SA (0x21) | flags: none (0x0) | auth method: IKEv2_AUTH_RSA (0x1) | next payload chain: ignoring supplied 'IKEv2 Authentication Payload'.'next payload type' value 33:ISAKMP_NEXT_v2SA | next payload chain: setting previous 'IKEv2 Identification - Responder - Payload'.'next payload type' to current IKEv2 Authentication Payload (39:ISAKMP_NEXT_v2AUTH) | next payload chain: saving location 'IKEv2 Authentication Payload'.'next payload type' in 'reply packet' | started looking for secret for @east->@west of kind PKK_RSA | actually looking for secret for @east->@west of kind PKK_RSA | line 1: key type PKK_RSA(@east) to type PKK_RSA | 1: compared key (none) to @east / @west -> 002 | 2: compared key (none) to @east / @west -> 002 | line 1: match=002 | match 002 beats previous best_match 000 match=0x5638ac877f60 (line=1) | concluding with best_match=002 best=0x5638ac877f60 (lineno=1) | #1 spent 3.31 milliseconds in ikev2_calculate_rsa_hash() calling sign_hash_RSA() | emitting 274 raw bytes of rsa signature into IKEv2 Authentication Payload | rsa signature 2d d7 22 13 64 63 58 b6 e0 24 9c 46 c1 e2 da 9c | rsa signature 75 52 09 36 62 8d c8 44 8f d2 63 8f cf 35 64 9d | rsa signature 4a 6c c8 37 2d c3 0f 1d 64 f9 91 61 d2 e4 b4 e7 | rsa signature b7 57 d3 6c f4 b6 4c fb 4d ac a3 83 d6 b4 83 4f | rsa signature 61 ed 42 45 f7 60 28 dc d4 1f e8 ee 85 46 1a 0f | rsa signature 94 58 f1 1b 42 80 fe 56 95 4e f7 b5 89 01 49 54 | rsa signature 51 05 f1 06 bf a0 1e 09 d3 d1 e6 4f 1f 00 02 27 | rsa signature 19 5e 98 28 d2 49 4a 16 89 f4 20 71 06 a9 74 3b | rsa signature 8f 52 f7 46 94 bc db 3e 06 d0 fb 29 49 b0 9e 9e | rsa signature 52 0d af ed 1d bd a2 e0 55 12 10 c2 94 70 20 d3 | rsa signature 4f 29 4f b0 e3 92 02 09 57 f9 a9 09 a9 8b 1c 7f | rsa signature 21 07 7c 8f 92 9e 59 6a 93 05 93 8e 4e 9d b8 4d | rsa signature 13 97 e6 84 24 46 05 60 a7 8e c9 8e 34 ca 9a 33 | rsa signature 77 08 52 1e 5c 95 cc c5 14 4b 28 7d 3e 7d c4 73 | rsa signature b8 7e 34 76 2d be 19 1b 29 b7 73 9b 92 4c 10 35 | rsa signature ce 56 35 a2 6c 69 02 9d dd d0 56 13 4d 18 7f 71 | rsa signature d0 b5 1a 6f af 9b e0 f1 47 b2 29 b8 23 27 87 9a | rsa signature 51 90 | #1 spent 3.37 milliseconds in ikev2_calculate_rsa_hash() | emitting length of IKEv2 Authentication Payload: 282 | creating state object #2 at 0x5638ac88f2c0 | State DB: adding IKEv2 state #2 in UNDEFINED | pstats #2 ikev2.child started | duplicating state object #1 "esp=null-none" as #2 for IPSEC SA | #2 setting local endpoint to 192.1.2.23:500 from #1.st_localport (in duplicate_state() at state.c:1481) | Message ID: init_child #1.#2; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0; child: wip.initiator=0->-1 wip.responder=0->-1 | Message ID: switch-from #1 request 1; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0 wip.initiator=-1 wip.responder=1->-1 | Message ID: switch-to #1.#2 request 1; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0; child: wip.initiator=-1 wip.responder=-1->1 | Child SA TS Request has ike->sa == md->st; so using parent connection | TSi: parsing 1 traffic selectors | ***parse IKEv2 Traffic Selector: | TS type: IKEv2_TS_IPV4_ADDR_RANGE (0x7) | IP Protocol ID: 0 (0x0) | length: 16 (0x10) | start port: 0 (0x0) | end port: 65535 (0xffff) | parsing 4 raw bytes of IKEv2 Traffic Selector into TS low | TS low c0 00 01 00 | parsing 4 raw bytes of IKEv2 Traffic Selector into TS high | TS high c0 00 01 ff | TSi: parsed 1 traffic selectors | TSr: parsing 1 traffic selectors | ***parse IKEv2 Traffic Selector: | TS type: IKEv2_TS_IPV4_ADDR_RANGE (0x7) | IP Protocol ID: 0 (0x0) | length: 16 (0x10) | start port: 0 (0x0) | end port: 65535 (0xffff) | parsing 4 raw bytes of IKEv2 Traffic Selector into TS low | TS low c0 00 02 00 | parsing 4 raw bytes of IKEv2 Traffic Selector into TS high | TS high c0 00 02 ff | TSr: parsed 1 traffic selectors | looking for best SPD in current connection | evaluating our conn="esp=null-none" I=192.0.1.0/24:0:0/0 R=192.0.2.0/24:0:0/0 to their: | TSi[0] .net=192.0.1.0-192.0.1.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.1.0/24 == TSi[0]net=192.0.1.0-192.0.1.255: YES fitness 32 | narrow port end=0..65535 == TSi[0]=0..65535: 0 | TSi[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSi[0]=*0: 0 | match end->protocol=*0 == TSi[0].ipprotoid=*0: YES fitness 255 | TSr[0] .net=192.0.2.0-192.0.2.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.2.0/24 == TSr[0]net=192.0.2.0-192.0.2.255: YES fitness 32 | narrow port end=0..65535 == TSr[0]=0..65535: 0 | TSr[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSr[0]=*0: 0 | match end->protocol=*0 == TSr[0].ipprotoid=*0: YES fitness 255 | best fit so far: TSi[0] TSr[0] | found better spd route for TSi[0],TSr[0] | looking for better host pair | find_host_pair: comparing 192.1.2.23:500 to 192.1.2.45:500 but ignoring ports | checking hostpair 192.0.2.0/24:0 -> 192.0.1.0/24:0 is found | investigating connection "esp=null-none" as a better match | match_id a=@west | b=@west | results matched | evaluating our conn="esp=null-none" I=192.0.1.0/24:0:0/0 R=192.0.2.0/24:0:0/0 to their: | TSi[0] .net=192.0.1.0-192.0.1.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.1.0/24 == TSi[0]net=192.0.1.0-192.0.1.255: YES fitness 32 | narrow port end=0..65535 == TSi[0]=0..65535: 0 | TSi[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSi[0]=*0: 0 | match end->protocol=*0 == TSi[0].ipprotoid=*0: YES fitness 255 | TSr[0] .net=192.0.2.0-192.0.2.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.2.0/24 == TSr[0]net=192.0.2.0-192.0.2.255: YES fitness 32 | narrow port end=0..65535 == TSr[0]=0..65535: 0 | TSr[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSr[0]=*0: 0 | match end->protocol=*0 == TSr[0].ipprotoid=*0: YES fitness 255 | best fit so far: TSi[0] TSr[0] | did not find a better connection using host pair | printing contents struct traffic_selector | ts_type: IKEv2_TS_IPV4_ADDR_RANGE | ipprotoid: 0 | port range: 0-65535 | ip range: 192.0.2.0-192.0.2.255 | printing contents struct traffic_selector | ts_type: IKEv2_TS_IPV4_ADDR_RANGE | ipprotoid: 0 | port range: 0-65535 | ip range: 192.0.1.0-192.0.1.255 | constructing ESP/AH proposals with all DH removed for esp=null-none (IKE_AUTH responder matching remote ESP/AH proposals) | converting proposal NULL-NONE to ikev2 ... | omitting IKEv2 PROTO_v2_ESP null ENCRYPT transform key-length | ... ikev2_proposal: 1:ESP:ENCR=NULL;INTEG=NONE;DH=NONE;ESN=DISABLED "esp=null-none": constructed local ESP/AH proposals for esp=null-none (IKE_AUTH responder matching remote ESP/AH proposals): 1:ESP:ENCR=NULL;INTEG=NONE;DH=NONE;ESN=DISABLED | Comparing remote proposals against IKE_AUTH responder matching remote ESP/AH proposals 1 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 | ***parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | length: 36 (0x24) | 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 92 a5 fd 5a | Comparing remote proposal 1 containing 3 transforms against local proposal [1..1] of 1 local proposals | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_ENCR (0x1) | IKEv2 transform ID: NULL (0xb) | remote proposal 1 transform 0 (ENCR=NULL) 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_INTEG (0x3) | IKEv2 transform ID: AUTH_NONE (0x0) | remote proposal 1 transform 1 (INTEG=NONE) matches local proposal 1 type 3 (INTEG) 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 proposed transforms: ENCR+INTEG+ESN; matched: ENCR+INTEG+ESN; unmatched: none | comparing remote proposal 1 containing ENCR+INTEG+ESN transforms to local proposal 1; required: ENCR+ESN; optional: INTEG+DH; matched: ENCR+INTEG+ESN | remote proposal 1 matches local proposal 1 "esp=null-none" #1: proposal 1:ESP:SPI=92a5fd5a;ENCR=NULL;INTEG=NONE;ESN=DISABLED chosen from remote proposals 1:ESP:ENCR=NULL;INTEG=NONE;ESN=DISABLED[first-match] | IKE_AUTH responder matching remote ESP/AH proposals ikev2_proposal: 1:ESP:SPI=92a5fd5a;ENCR=NULL;INTEG=NONE;ESN=DISABLED | converting proposal to internal trans attrs | netlink_get_spi: allocated 0x47e71531 for esp.0@192.1.2.23 | Emitting ikev2_proposal ... | ****emit IKEv2 Security Association Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'IKEv2 Authentication Payload'.'next payload type' to current IKEv2 Security Association Payload (33:ISAKMP_NEXT_v2SA) | next payload chain: saving location 'IKEv2 Security Association Payload'.'next payload type' in 'reply packet' | *****emit IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | prop #: 1 (0x1) | proto ID: IKEv2_SEC_PROTO_ESP (0x3) | spi size: 4 (0x4) | # transforms: 3 (0x3) | last substructure: saving location 'IKEv2 Security Association Payload'.'IKEv2 Proposal Substructure Payload'.'last proposal' | emitting 4 raw bytes of our spi into IKEv2 Proposal Substructure Payload | our spi 47 e7 15 31 | ******emit IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | IKEv2 transform type: TRANS_TYPE_ENCR (0x1) | IKEv2 transform ID: NULL (0xb) | last substructure: saving location 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' | emitting length of IKEv2 Transform Substructure Payload: 8 | ******emit IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | IKEv2 transform type: TRANS_TYPE_INTEG (0x3) | IKEv2 transform ID: AUTH_NONE (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 | ******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: 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 Traffic Selector - Initiator - Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | number of TS: 1 (0x1) | next payload chain: setting previous 'IKEv2 Security Association Payload'.'next payload type' to current IKEv2 Traffic Selector - Initiator - Payload (44:ISAKMP_NEXT_v2TSi) | next payload chain: saving location 'IKEv2 Traffic Selector - Initiator - Payload'.'next payload type' in 'reply packet' | *****emit IKEv2 Traffic Selector: | TS type: IKEv2_TS_IPV4_ADDR_RANGE (0x7) | IP Protocol ID: 0 (0x0) | start port: 0 (0x0) | end port: 65535 (0xffff) | emitting 4 raw bytes of IP start into IKEv2 Traffic Selector | IP start c0 00 01 00 | emitting 4 raw bytes of IP end into IKEv2 Traffic Selector | IP end c0 00 01 ff | emitting length of IKEv2 Traffic Selector: 16 | emitting length of IKEv2 Traffic Selector - Initiator - Payload: 24 | ****emit IKEv2 Traffic Selector - Responder - Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | number of TS: 1 (0x1) | next payload chain: setting previous 'IKEv2 Traffic Selector - Initiator - Payload'.'next payload type' to current IKEv2 Traffic Selector - Responder - Payload (45:ISAKMP_NEXT_v2TSr) | next payload chain: saving location 'IKEv2 Traffic Selector - Responder - Payload'.'next payload type' in 'reply packet' | *****emit IKEv2 Traffic Selector: | TS type: IKEv2_TS_IPV4_ADDR_RANGE (0x7) | IP Protocol ID: 0 (0x0) | start port: 0 (0x0) | end port: 65535 (0xffff) | emitting 4 raw bytes of IP start into IKEv2 Traffic Selector | IP start c0 00 02 00 | emitting 4 raw bytes of IP end into IKEv2 Traffic Selector | IP end c0 00 02 ff | emitting length of IKEv2 Traffic Selector: 16 | emitting length of IKEv2 Traffic Selector - Responder - Payload: 24 | Initiator child policy is compress=no, NOT sending v2N_IPCOMP_SUPPORTED | integ=none: .key_size=0 encrypt=null: .key_size=0 .salt_size=0 keymat_len=0 | No CHILD SA KEMAT is required | FOR_EACH_CONNECTION_... in ISAKMP_SA_established | install_ipsec_sa() for #2: inbound and outbound | could_route called for esp=null-none (kind=CK_PERMANENT) | FOR_EACH_CONNECTION_... in route_owner | conn esp=null-none mark 0/00000000, 0/00000000 vs | conn esp=null-none mark 0/00000000, 0/00000000 | route owner of "esp=null-none" unrouted: NULL; eroute owner: NULL | looking for alg with encrypt: NULL keylen: 0 integ: NONE | encrypt NULL keylen=0 transid=11, key_size=0, encryptalg=11 | st->st_esp.keymat_len=0 is encrypt_keymat_size=0 + integ_keymat_size=0 | setting IPsec SA replay-window to 32 | NIC esp-hw-offload not for connection 'esp=null-none' 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.92a5fd5a@192.1.2.45 included non-error error | set up outgoing SA, ref=0/0 | looking for alg with encrypt: NULL keylen: 0 integ: NONE | encrypt NULL keylen=0 transid=11, key_size=0, encryptalg=11 | st->st_esp.keymat_len=0 is encrypt_keymat_size=0 + integ_keymat_size=0 | setting IPsec SA replay-window to 32 | NIC esp-hw-offload not for connection 'esp=null-none' 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.47e71531@192.1.2.23 included non-error error | priority calculation of connection "esp=null-none" 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 esp=null-none mark 0/00000000, 0/00000000 vs | conn esp=null-none mark 0/00000000, 0/00000000 | route owner of "esp=null-none" unrouted: NULL; eroute owner: NULL | route_and_eroute with c: esp=null-none (next: none) ero:null esr:{(nil)} ro:null rosr:{(nil)} and state: #2 | priority calculation of connection "esp=null-none" 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='esp=null-none' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLUTO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@west' PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' VTI_ROUTING='no' VTI_SHARED='no' SPI_IN=0x92a5fd5a S | popen cmd is 1032 chars long | cmd( 0):PLUTO_VERB='up-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='esp=null-none' PLUT: | cmd( 80):O_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLUTO_MY_ID: | cmd( 160):='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' PLUTO_MY: | cmd( 240):_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_RE: | cmd( 320):QID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@west' PL: | cmd( 400):UTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_PEER_CLIE: | cmd( 480):NT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_C: | cmd( 560):A='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='RSASIG+ENCRYPT+TU: | cmd( 640):NNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND='CK_PERM: | cmd( 720):ANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISCO='0' PLUTO: | cmd( 800):_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_CFG_SERVE: | cmd( 880):R='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' VTI_ROUTING='no': | cmd( 960): VTI_SHARED='no' SPI_IN=0x92a5fd5a SPI_OUT=0x47e71531 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='esp=null-none' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLUTO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@west' PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' VTI_ROUTING='no' VTI_SHARED='no' SPI_IN=0x | popen cmd is 1037 chars long | cmd( 0):PLUTO_VERB='prepare-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='esp=null-none': | cmd( 80): PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLUTO_: | cmd( 160):MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' PLU: | cmd( 240):TO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_: | cmd( 320):SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@wes: | cmd( 400):t' PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_PEER: | cmd( 480):_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_P: | cmd( 560):EER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='RSASIG+ENCRY: | cmd( 640):PT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND='CK: | cmd( 720):_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_ROUTING: | cmd( 960):='no' VTI_SHARED='no' SPI_IN=0x92a5fd5a SPI_OUT=0x47e71531 ipsec _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='esp=null-none' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLUTO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@west' PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' VTI_ROUTING='no' VTI_SHARED='no' SPI_IN=0x92a5 | popen cmd is 1035 chars long | cmd( 0):PLUTO_VERB='route-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='esp=null-none' P: | cmd( 80):LUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLUTO_MY: | cmd( 160):_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' PLUTO: | cmd( 240):_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA: | cmd( 320):_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@west': | cmd( 400): PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_PEER_C: | cmd( 480):LIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEE: | cmd( 560):R_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='RSASIG+ENCRYPT: | cmd( 640):+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND='CK_P: | cmd( 720):ERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISCO='0' PL: | cmd( 800):UTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_CFG_SE: | cmd( 880):RVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' VTI_ROUTING=': | cmd( 960):no' VTI_SHARED='no' SPI_IN=0x92a5fd5a SPI_OUT=0x47e71531 ipsec _updown 2>&1: | route_and_eroute: instance "esp=null-none", setting eroute_owner {spd=0x5638ac8838f0,sr=0x5638ac8838f0} to #2 (was #0) (newest_ipsec_sa=#0) | #1 spent 0.844 milliseconds in install_ipsec_sa() | ISAKMP_v2_IKE_AUTH: instance esp=null-none[0], setting IKEv2 newest_ipsec_sa to #2 (was #0) (spd.eroute=#2) cloned from #1 | adding 2 bytes of padding (including 1 byte padding-length) | emitting 1 0x00 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x01 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 12 zero bytes of length of truncated HMAC/KEY into IKEv2 Encryption Payload | emitting length of IKEv2 Encryption Payload: 416 | emitting length of ISAKMP Message: 444 | data being hmac: e0 4a 4f 59 d7 55 d8 63 c4 17 0c 7d dc 14 73 40 | data being hmac: 2e 20 23 20 00 00 00 01 00 00 01 bc 24 00 01 a0 | data being hmac: 3e fc bb 09 14 26 04 ed 4c 8b fa 88 48 cb 1c f4 | data being hmac: 2d 04 20 0c 23 99 78 00 10 ef 58 87 70 c7 a6 9f | data being hmac: 82 d8 7a da 99 97 57 21 44 82 8a 4e a4 81 f0 b7 | data being hmac: f3 55 e4 0a 06 13 fa ec 8c 68 96 f0 79 6e 7e 71 | data being hmac: c6 ff 74 46 8b 5e e6 07 76 64 0d 87 82 56 c3 b6 | data being hmac: f9 36 6c a6 38 e7 e3 63 15 98 a9 34 c4 78 35 dd | data being hmac: cb f2 54 b3 2a 6c 45 21 fd d4 8d 79 fa 8d 47 1e | data being hmac: 35 08 11 67 bc dd fc 4c 3e b1 5a fb 6c 96 83 3e | data being hmac: 9c 56 c1 ad ea 7d 7d 00 97 86 03 06 23 29 fd 98 | data being hmac: 27 a6 29 84 e6 13 14 96 cf e6 d2 20 65 39 a5 53 | data being hmac: 76 fa fe 35 22 fc 2f 5f 65 0a a5 d3 af 4a 95 f2 | data being hmac: 29 f5 ff a4 55 ae 87 e7 80 21 de e5 72 a7 50 7f | data being hmac: b3 f8 87 b6 88 a2 93 77 d7 0c 7a 5c dc 68 bd 36 | data being hmac: 68 76 23 e0 04 e2 a2 62 13 97 59 bd be 39 c3 5a | data being hmac: 5a fd 9d f1 97 68 db 23 cb 80 3f c6 2d 8f 4a 52 | data being hmac: 0f 72 14 b8 e3 fb e6 f1 e4 7d 57 63 4b d1 aa 75 | data being hmac: 4f f4 6b fd 46 ce c1 7f d3 38 f6 69 0b 01 a1 8f | data being hmac: bd 34 eb 3f 33 f0 ba 89 85 11 7c a1 62 d0 6c 39 | data being hmac: 67 09 32 47 55 e5 83 cb 78 6d d3 c1 88 aa 34 1f | data being hmac: d5 fa e7 67 2e 9d a9 cf b1 dd ea b2 8e 24 28 49 | data being hmac: ff ca 98 49 34 18 47 c9 e2 6b b1 c2 c3 ad ac e4 | data being hmac: 5d 82 c4 4b 34 37 a4 30 dc 95 cb bb 87 6b f6 9b | data being hmac: 78 ef cc f7 f2 33 35 c5 9b bc dc 65 d4 85 95 0f | data being hmac: aa a1 71 a9 79 16 16 84 59 d5 a1 c5 96 84 44 49 | data being hmac: 2f 96 51 d8 10 b3 11 4b 95 85 7d 54 e9 1f 44 02 | out calculated auth: | 71 3c 43 8d a1 94 4e 1a 36 97 c0 ac | ikev2_parent_inI2outR2_continue_tail returned STF_OK | #1 spent 5.08 milliseconds in processing: Responder: process IKE_AUTH request in ikev2_process_state_packet() | suspend processing: state #1 connection "esp=null-none" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3376) | start processing: state #2 connection "esp=null-none" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3376) | #2 complete_v2_state_transition() md.from_state=PARENT_R1 md.svm.state[from]=PARENT_R1 UNDEFINED->V2_IPSEC_R with status STF_OK | IKEv2: transition from state STATE_PARENT_R1 to state STATE_V2_IPSEC_R | child state #2: UNDEFINED(ignore) => V2_IPSEC_R(established CHILD SA) | Message ID: updating counters for #2 to 1 after switching state | Message ID: recv #1.#2 request 1; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0->1; child: wip.initiator=-1 wip.responder=1->-1 | Message ID: sent #1.#2 response 1; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0->1 responder.recv=1; child: wip.initiator=-1 wip.responder=-1 | pstats #2 ikev2.child established "esp=null-none" #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' "esp=null-none" #2: STATE_V2_IPSEC_R: IPsec SA established tunnel mode {ESP=>0x92a5fd5a <0x47e71531 xfrm=NULL-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 444 bytes for STATE_PARENT_R1 through eth1 from 192.1.2.23:500 to 192.1.2.45:500 (using #1) | e0 4a 4f 59 d7 55 d8 63 c4 17 0c 7d dc 14 73 40 | 2e 20 23 20 00 00 00 01 00 00 01 bc 24 00 01 a0 | 3e fc bb 09 14 26 04 ed 4c 8b fa 88 48 cb 1c f4 | 2d 04 20 0c 23 99 78 00 10 ef 58 87 70 c7 a6 9f | 82 d8 7a da 99 97 57 21 44 82 8a 4e a4 81 f0 b7 | f3 55 e4 0a 06 13 fa ec 8c 68 96 f0 79 6e 7e 71 | c6 ff 74 46 8b 5e e6 07 76 64 0d 87 82 56 c3 b6 | f9 36 6c a6 38 e7 e3 63 15 98 a9 34 c4 78 35 dd | cb f2 54 b3 2a 6c 45 21 fd d4 8d 79 fa 8d 47 1e | 35 08 11 67 bc dd fc 4c 3e b1 5a fb 6c 96 83 3e | 9c 56 c1 ad ea 7d 7d 00 97 86 03 06 23 29 fd 98 | 27 a6 29 84 e6 13 14 96 cf e6 d2 20 65 39 a5 53 | 76 fa fe 35 22 fc 2f 5f 65 0a a5 d3 af 4a 95 f2 | 29 f5 ff a4 55 ae 87 e7 80 21 de e5 72 a7 50 7f | b3 f8 87 b6 88 a2 93 77 d7 0c 7a 5c dc 68 bd 36 | 68 76 23 e0 04 e2 a2 62 13 97 59 bd be 39 c3 5a | 5a fd 9d f1 97 68 db 23 cb 80 3f c6 2d 8f 4a 52 | 0f 72 14 b8 e3 fb e6 f1 e4 7d 57 63 4b d1 aa 75 | 4f f4 6b fd 46 ce c1 7f d3 38 f6 69 0b 01 a1 8f | bd 34 eb 3f 33 f0 ba 89 85 11 7c a1 62 d0 6c 39 | 67 09 32 47 55 e5 83 cb 78 6d d3 c1 88 aa 34 1f | d5 fa e7 67 2e 9d a9 cf b1 dd ea b2 8e 24 28 49 | ff ca 98 49 34 18 47 c9 e2 6b b1 c2 c3 ad ac e4 | 5d 82 c4 4b 34 37 a4 30 dc 95 cb bb 87 6b f6 9b | 78 ef cc f7 f2 33 35 c5 9b bc dc 65 d4 85 95 0f | aa a1 71 a9 79 16 16 84 59 d5 a1 c5 96 84 44 49 | 2f 96 51 d8 10 b3 11 4b 95 85 7d 54 e9 1f 44 02 | 71 3c 43 8d a1 94 4e 1a 36 97 c0 ac | releasing whack for #2 (sock=fd@-1) | releasing whack and unpending for parent #1 | unpending state #1 connection "esp=null-none" | #2 will start re-keying in 28530 seconds with margin of 270 seconds (attempting re-key) | event_schedule: new EVENT_SA_REKEY-pe@0x5638ac80a970 | inserting event EVENT_SA_REKEY, timeout in 28530 seconds for #2 | libevent_malloc: new ptr-libevent@0x7fe26c006900 size 128 | resume sending helper answer for #1 suppresed complete_v2_state_transition() | #1 spent 5.37 milliseconds in resume sending helper answer | stop processing: state #2 connection "esp=null-none" from 192.1.2.45:500 (in resume_handler() at server.c:833) | libevent_free: release ptr-libevent@0x7fe26400ee90 | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00359 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.00198 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00252 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 76 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | e0 4a 4f 59 d7 55 d8 63 c4 17 0c 7d dc 14 73 40 | 2e 20 25 08 00 00 00 02 00 00 00 4c 2a 00 00 30 | 40 43 5c 6e d0 d0 09 0e 1c 76 21 04 f6 39 10 b5 | fc e0 f6 e6 a1 8d cf aa 38 ae eb 90 39 23 10 75 | 5b da a4 17 db 0e 9d 4c dc e4 89 80 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | e0 4a 4f 59 d7 55 d8 63 | responder cookie: | c4 17 0c 7d dc 14 73 40 | next payload type: ISAKMP_NEXT_v2SK (0x2e) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_INFORMATIONAL (0x25) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 2 (0x2) | length: 76 (0x4c) | 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 "esp=null-none" 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 "esp=null-none" from 192.1.2.45:500 (in ike_process_packet() at ikev2.c:2064) | #1 st.st_msgid_lastrecv 1 md.hdr.isa_msgid 00000002 | Message ID: #1 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=1 responder.recv=1 | unpacking clear payload | Now let's proceed with payload (ISAKMP_NEXT_v2SK) | ***parse IKEv2 Encryption Payload: | next payload type: ISAKMP_NEXT_v2D (0x2a) | flags: none (0x0) | length: 48 (0x30) | processing payload: ISAKMP_NEXT_v2SK (len=44) | Message ID: start-responder #1 request 2; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=1 responder.recv=1 wip.initiator=-1 wip.responder=-1->2 | #1 in state PARENT_R2: received v2I2, PARENT SA established | data for hmac: e0 4a 4f 59 d7 55 d8 63 c4 17 0c 7d dc 14 73 40 | data for hmac: 2e 20 25 08 00 00 00 02 00 00 00 4c 2a 00 00 30 | data for hmac: 40 43 5c 6e d0 d0 09 0e 1c 76 21 04 f6 39 10 b5 | data for hmac: fc e0 f6 e6 a1 8d cf aa 38 ae eb 90 39 23 10 75 | calculated auth: 5b da a4 17 db 0e 9d 4c dc e4 89 80 | provided auth: 5b da a4 17 db 0e 9d 4c dc e4 89 80 | authenticator matched | #1 ikev2 ISAKMP_v2_INFORMATIONAL decrypt success | Now let's proceed with payload (ISAKMP_NEXT_v2D) | **parse IKEv2 Delete Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | length: 12 (0xc) | protocol ID: PROTO_v2_ESP (0x3) | SPI size: 4 (0x4) | number of SPIs: 1 (0x1) | processing payload: ISAKMP_NEXT_v2D (len=4) | selected state microcode R2: process INFORMATIONAL Request | Now let's proceed with state specific processing | calling processor R2: process INFORMATIONAL Request | an informational request should send a response | Received an INFORMATIONAL response, updating st_last_liveness, no pending_liveness | **emit ISAKMP Message: | initiator cookie: | e0 4a 4f 59 d7 55 d8 63 | responder cookie: | c4 17 0c 7d dc 14 73 40 | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_INFORMATIONAL (0x25) | flags: ISAKMP_FLAG_v2_MSG_RESPONSE (0x20) | Message ID: 2 (0x2) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | ***emit IKEv2 Encryption Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'ISAKMP Message'.'next payload type' to current IKEv2 Encryption Payload (46:ISAKMP_NEXT_v2SK) | next payload chain: saving location 'IKEv2 Encryption Payload'.'next payload type' in 'information exchange reply packet' | emitting 16 zero bytes of IV into IKEv2 Encryption Payload | parsing 4 raw bytes of IKEv2 Delete Payload into SPI | SPI 92 a5 fd 5a | delete PROTO_v2_ESP SA(0x92a5fd5a) | 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(0x92a5fd5a) "esp=null-none" #1: received Delete SA payload: delete IPsec State #2 now | pstats #2 ikev2.child deleted completed | suspend processing: state #1 connection "esp=null-none" from 192.1.2.45:500 (in delete_state() at state.c:879) | start processing: state #2 connection "esp=null-none" from 192.1.2.45:500 (in delete_state() at state.c:879) "esp=null-none" #2: deleting other state #2 (STATE_V2_IPSEC_R) aged 0.182s and NOT sending notification | child state #2: V2_IPSEC_R(established CHILD SA) => delete | get_sa_info esp.92a5fd5a@192.1.2.45 | get_sa_info esp.47e71531@192.1.2.23 "esp=null-none" #2: ESP traffic information: in=84B out=84B | 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@0x7fe26c006900 | free_event_entry: release EVENT_SA_REKEY-pe@0x5638ac80a970 | running updown command "ipsec _updown" for verb down | command executing down-client | executing down-client: PLUTO_VERB='down-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='esp=null-none' 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='1569050242' PLUTO_CONN_POLICY='RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' VTI_ROUTING='no' VTI_SHARED='no' SPI_IN | popen cmd is 1043 chars long | cmd( 0):PLUTO_VERB='down-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='esp=null-none' PL: | cmd( 80):UTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLUTO_MY_: | cmd( 160):ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' PLUTO_: | cmd( 240):MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_: | cmd( 320):REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@west' : | cmd( 400):PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_PEER_CL: | cmd( 480):IENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER: | cmd( 560):_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='1569050242' PLUTO_CONN_POLICY='RSASIG: | cmd( 640):+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KI: | cmd( 720):ND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISC: | cmd( 800):O='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUT: | cmd( 880):O_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' VTI_R: | cmd( 960):OUTING='no' VTI_SHARED='no' SPI_IN=0x92a5fd5a SPI_OUT=0x47e71531 ipsec _updown 2: | cmd(1040):>&1: | shunt_eroute() called for connection 'esp=null-none' to 'replace with shunt' for rt_kind 'prospective erouted' using protoports 192.0.2.0/24:0 --0->- 192.0.1.0/24:0 | netlink_shunt_eroute for proto 0, and source 192.0.2.0/24:0 dest 192.0.1.0/24:0 | priority calculation of connection "esp=null-none" is 0xfe7e7 | IPsec Sa SPD priority set to 1042407 | delete esp.92a5fd5a@192.1.2.45 | netlink response for Del SA esp.92a5fd5a@192.1.2.45 included non-error error | priority calculation of connection "esp=null-none" is 0xfe7e7 | delete inbound eroute 192.0.1.0/24:0 --0-> 192.0.2.0/24:0 => unk255.10000@192.1.2.23 (raw_eroute) | raw_eroute result=success | delete esp.47e71531@192.1.2.23 | netlink response for Del SA esp.47e71531@192.1.2.23 included non-error error | in connection_discard for connection esp=null-none | 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 "esp=null-none" 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 47 e7 15 31 | emitting length of IKEv2 Delete Payload: 12 | adding 4 bytes of padding (including 1 byte padding-length) | emitting 1 0x00 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x01 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x02 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x03 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 12 zero bytes of length of truncated HMAC/KEY into IKEv2 Encryption Payload | emitting length of IKEv2 Encryption Payload: 48 | emitting length of ISAKMP Message: 76 | data being hmac: e0 4a 4f 59 d7 55 d8 63 c4 17 0c 7d dc 14 73 40 | data being hmac: 2e 20 25 20 00 00 00 02 00 00 00 4c 2a 00 00 30 | data being hmac: 06 52 d0 59 b6 c7 5e fd 75 6e b8 46 78 c8 a7 29 | data being hmac: fd 67 21 67 da 30 23 3c 41 c0 4c 44 c4 7c 05 fe | out calculated auth: | 0c 9a 2c b1 42 cb 4a ba 52 dc 66 3c | sending 76 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) | e0 4a 4f 59 d7 55 d8 63 c4 17 0c 7d dc 14 73 40 | 2e 20 25 20 00 00 00 02 00 00 00 4c 2a 00 00 30 | 06 52 d0 59 b6 c7 5e fd 75 6e b8 46 78 c8 a7 29 | fd 67 21 67 da 30 23 3c 41 c0 4c 44 c4 7c 05 fe | 0c 9a 2c b1 42 cb 4a ba 52 dc 66 3c | Message ID: #1 XXX: in process_encrypted_informational_ikev2() hacking around record'n'send bypassing send queue hacking around delete_my_family(); initiator.sent=-1 initiator.recv=-1 responder.sent=1 responder.recv=1 wip.initiator=-1 wip.responder=2 | Message ID: sent #1 response 2; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=1->2 responder.recv=1 wip.initiator=-1 wip.responder=2 | #1 spent 0.649 milliseconds in processing: R2: process INFORMATIONAL Request in ikev2_process_state_packet() | [RE]START processing: state #1 connection "esp=null-none" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3376) | #1 complete_v2_state_transition() PARENT_R2->PARENT_R2 with status STF_OK | Message ID: updating counters for #1 to 2 after switching state | Message ID: recv #1 request 2; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=1->2 wip.initiator=-1 wip.responder=2->-1 | Message ID: #1 skipping update_send as nothing to send; initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=2 wip.initiator=-1 wip.responder=-1 "esp=null-none" #1: STATE_PARENT_R2: received v2I2, PARENT SA established | stop processing: state #1 connection "esp=null-none" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2018) | #1 spent 0.832 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.844 milliseconds in comm_handle_cb() reading and processing packet | spent 0.00153 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 76 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | e0 4a 4f 59 d7 55 d8 63 c4 17 0c 7d dc 14 73 40 | 2e 20 25 08 00 00 00 03 00 00 00 4c 2a 00 00 30 | 3a 5b 05 8d e2 86 1d 03 66 9d 01 d8 7f 65 18 e4 | 21 ec a5 4e 99 a2 d6 ef da d2 53 fa 4d df 9b 55 | a7 67 a6 93 92 70 1d bb 64 d5 fa be | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | e0 4a 4f 59 d7 55 d8 63 | responder cookie: | c4 17 0c 7d dc 14 73 40 | next payload type: ISAKMP_NEXT_v2SK (0x2e) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_INFORMATIONAL (0x25) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 3 (0x3) | length: 76 (0x4c) | 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 "esp=null-none" 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 "esp=null-none" from 192.1.2.45:500 (in ike_process_packet() at ikev2.c:2064) | #1 st.st_msgid_lastrecv 2 md.hdr.isa_msgid 00000003 | Message ID: #1 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=2 | unpacking clear payload | Now let's proceed with payload (ISAKMP_NEXT_v2SK) | ***parse IKEv2 Encryption Payload: | next payload type: ISAKMP_NEXT_v2D (0x2a) | flags: none (0x0) | length: 48 (0x30) | processing payload: ISAKMP_NEXT_v2SK (len=44) | Message ID: start-responder #1 request 3; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=2 wip.initiator=-1 wip.responder=-1->3 | #1 in state PARENT_R2: received v2I2, PARENT SA established | data for hmac: e0 4a 4f 59 d7 55 d8 63 c4 17 0c 7d dc 14 73 40 | data for hmac: 2e 20 25 08 00 00 00 03 00 00 00 4c 2a 00 00 30 | data for hmac: 3a 5b 05 8d e2 86 1d 03 66 9d 01 d8 7f 65 18 e4 | data for hmac: 21 ec a5 4e 99 a2 d6 ef da d2 53 fa 4d df 9b 55 | calculated auth: a7 67 a6 93 92 70 1d bb 64 d5 fa be | provided auth: a7 67 a6 93 92 70 1d bb 64 d5 fa be | authenticator matched | #1 ikev2 ISAKMP_v2_INFORMATIONAL decrypt success | Now let's proceed with payload (ISAKMP_NEXT_v2D) | **parse IKEv2 Delete Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | length: 8 (0x8) | protocol ID: PROTO_v2_IKE (0x1) | SPI size: 0 (0x0) | number of SPIs: 0 (0x0) | processing payload: ISAKMP_NEXT_v2D (len=0) | selected state microcode R2: process INFORMATIONAL Request | Now let's proceed with state specific processing | calling processor R2: process INFORMATIONAL Request | an informational request should send a response | Received an INFORMATIONAL response, updating st_last_liveness, no pending_liveness | **emit ISAKMP Message: | initiator cookie: | e0 4a 4f 59 d7 55 d8 63 | responder cookie: | c4 17 0c 7d dc 14 73 40 | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_INFORMATIONAL (0x25) | flags: ISAKMP_FLAG_v2_MSG_RESPONSE (0x20) | Message ID: 3 (0x3) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | ***emit IKEv2 Encryption Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'ISAKMP Message'.'next payload type' to current IKEv2 Encryption Payload (46:ISAKMP_NEXT_v2SK) | next payload chain: saving location 'IKEv2 Encryption Payload'.'next payload type' in 'information exchange reply packet' | emitting 16 zero bytes of IV into IKEv2 Encryption Payload | adding 16 bytes of padding (including 1 byte padding-length) | emitting 1 0x00 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x01 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x02 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x03 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x04 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x05 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x06 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x07 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x08 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x09 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x0a repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x0b repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x0c repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x0d repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x0e repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x0f repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 12 zero bytes of length of truncated HMAC/KEY into IKEv2 Encryption Payload | emitting length of IKEv2 Encryption Payload: 48 | emitting length of ISAKMP Message: 76 | data being hmac: e0 4a 4f 59 d7 55 d8 63 c4 17 0c 7d dc 14 73 40 | data being hmac: 2e 20 25 20 00 00 00 03 00 00 00 4c 00 00 00 30 | data being hmac: 0b 68 9f 5f b4 e8 6d 19 5c 3a 50 4b d1 30 cc b9 | data being hmac: 11 7c 2e b4 0f e1 57 de 41 b1 d9 ec ad 14 45 64 | out calculated auth: | a7 d1 7a 4b a9 00 10 11 59 6c 96 c1 | sending 76 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) | e0 4a 4f 59 d7 55 d8 63 c4 17 0c 7d dc 14 73 40 | 2e 20 25 20 00 00 00 03 00 00 00 4c 00 00 00 30 | 0b 68 9f 5f b4 e8 6d 19 5c 3a 50 4b d1 30 cc b9 | 11 7c 2e b4 0f e1 57 de 41 b1 d9 ec ad 14 45 64 | a7 d1 7a 4b a9 00 10 11 59 6c 96 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=2 responder.recv=2 wip.initiator=-1 wip.responder=3 | Message ID: sent #1 response 3; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=2->3 responder.recv=2 wip.initiator=-1 wip.responder=3 | State DB: IKEv2 state not found (delete_my_family) | parent state #1: PARENT_R2(established IKE SA) => IKESA_DEL(established IKE SA) | pstats #1 ikev2.ike deleted completed | #1 spent 9.84 milliseconds in total | [RE]START processing: state #1 connection "esp=null-none" from 192.1.2.45:500 (in delete_state() at state.c:879) "esp=null-none" #1: deleting state (STATE_IKESA_DEL) aged 0.205s 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@0x5638ac8876f0 | free_event_entry: release EVENT_SA_REKEY-pe@0x5638ac8876b0 | State DB: IKEv2 state not found (flush_incomplete_children) | in connection_discard for connection esp=null-none | State DB: deleting IKEv2 state #1 in IKESA_DEL | parent state #1: IKESA_DEL(established IKE SA) => UNDEFINED(ignore) | unreference key: 0x5638ac7dd8f0 @west cnt 2-- | stop processing: state #1 from 192.1.2.45:500 (in delete_state() at state.c:1143) | in statetime_stop() and could not find #1 | skip start processing: state #0 (in complete_v2_state_transition() at ikev2.c:3376) | #0 complete_v2_state_transition() md.from_state=PARENT_R2 md.svm.state[from]=PARENT_R2 UNDEFINED->PARENT_R2 with status STF_OK | STF_OK but no state object remains | processing: STOP state #0 (in ikev2_process_packet() at ikev2.c:2018) | in statetime_stop() and could not find #1 | stop processing: from 192.1.2.45:500 (in process_md() at demux.c:380) | processing: STOP state #0 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.418 milliseconds in comm_handle_cb() reading and processing packet | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00429 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00314 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 440 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 2e fb d7 24 4f 0c c8 07 00 00 00 00 00 00 00 00 | 21 20 22 08 00 00 00 00 00 00 01 b8 22 00 00 30 | 00 00 00 2c 01 01 00 04 03 00 00 0c 01 00 00 0c | 80 0e 00 80 03 00 00 08 02 00 00 02 03 00 00 08 | 03 00 00 02 00 00 00 08 04 00 00 0e 28 00 01 08 | 00 0e 00 00 5f ce 76 3d 7a 43 da af d8 7d 3d da | 7b dd c8 a9 18 50 95 d7 17 72 88 e8 6a 3c 23 69 | 20 8b 44 2c 49 de 1b 1a 08 98 80 50 82 a8 90 6b | f7 11 74 a2 5c cb d9 f5 b2 49 5e ce 52 39 22 1c | 7a 98 bc 73 ae 62 ad 2b 76 7d 42 31 13 02 9b f4 | ba 1c 33 80 48 13 6e a4 c7 f0 f9 ba b6 4a f1 c4 | eb 68 e1 8e d7 0d 25 1d 69 5c 8e 08 a4 40 c4 cd | 8e 30 6b 7c bb d5 06 2c cd 2a ea b5 be d0 2e 65 | 8b 9b d4 31 8b 61 a7 ab 62 c8 f8 b5 fb 2b d9 0c | e2 92 b4 4b 4c be 5a 89 29 9c 56 c9 4f 51 2f ba | 59 f8 f1 c1 17 82 f6 0c 03 49 af 4f fa fb 0f 5d | 6f a0 d3 1d 4d e5 80 69 5e 95 9c 41 f5 54 30 22 | 33 02 f2 ed 32 fc 7e 03 c8 20 93 d0 ca 67 20 ea | 17 d4 42 e3 7f 50 4c 51 49 4c f9 ca ac 5a 86 63 | 0f d6 fd 2c f2 34 81 c9 c8 61 1f 02 54 71 4c dc | 5d 65 6a 41 0e 08 71 29 0e 9d fb ef ce 34 5e e8 | 44 0c 8b ac 29 00 00 24 e7 71 16 72 e2 71 74 2d | f0 15 3a cc 41 77 f5 13 84 1f cf a6 2b d9 e7 56 | fe fb df 13 b6 ee ec dc 29 00 00 08 00 00 40 2e | 29 00 00 1c 00 00 40 04 c9 3b 70 d8 59 fb 21 15 | d8 a3 cf c1 a3 e1 64 ad 84 d0 2b f5 00 00 00 1c | 00 00 40 05 6b f4 9b 37 a8 c9 b3 07 02 76 32 41 | 4c 11 9c 7a d3 68 6a 27 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 2e fb d7 24 4f 0c c8 07 | 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: 440 (0x1b8) | 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: 48 (0x30) | processing payload: ISAKMP_NEXT_v2SA (len=44) | Now let's proceed with payload (ISAKMP_NEXT_v2KE) | ***parse IKEv2 Key Exchange Payload: | next payload type: ISAKMP_NEXT_v2Ni (0x28) | flags: none (0x0) | length: 264 (0x108) | DH group: OAKLEY_GROUP_MODP2048 (0xe) | processing payload: ISAKMP_NEXT_v2KE (len=256) | Now let's proceed with payload (ISAKMP_NEXT_v2Ni) | ***parse IKEv2 Nonce Payload: | next payload type: ISAKMP_NEXT_v2N (0x29) | flags: none (0x0) | length: 36 (0x24) | processing payload: ISAKMP_NEXT_v2Ni (len=32) | Now let's proceed with payload (ISAKMP_NEXT_v2N) | ***parse IKEv2 Notify Payload: | next payload type: ISAKMP_NEXT_v2N (0x29) | flags: none (0x0) | length: 8 (0x8) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | Notify Message Type: v2N_IKEV2_FRAGMENTATION_SUPPORTED (0x402e) | processing payload: ISAKMP_NEXT_v2N (len=0) | Now let's proceed with payload (ISAKMP_NEXT_v2N) | ***parse IKEv2 Notify Payload: | next payload type: ISAKMP_NEXT_v2N (0x29) | flags: none (0x0) | length: 28 (0x1c) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | Notify Message Type: v2N_NAT_DETECTION_SOURCE_IP (0x4004) | processing payload: ISAKMP_NEXT_v2N (len=20) | Now let's proceed with payload (ISAKMP_NEXT_v2N) | ***parse IKEv2 Notify Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | length: 28 (0x1c) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | Notify Message Type: v2N_NAT_DETECTION_DESTINATION_IP (0x4005) | processing payload: ISAKMP_NEXT_v2N (len=20) | DDOS disabled and no cookie sent, continuing | find_host_connection local=192.1.2.23:500 remote=192.1.2.45:500 policy=ECDSA+IKEV2_ALLOW but ignoring ports | find_host_pair: comparing 192.1.2.23:500 to 192.1.2.45:500 but ignoring ports | find_next_host_connection policy=ECDSA+IKEV2_ALLOW | found policy = RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO (esp=null-none) | find_next_host_connection returns empty | find_host_connection local=192.1.2.23:500 remote= policy=ECDSA+IKEV2_ALLOW but ignoring ports | find_next_host_connection policy=ECDSA+IKEV2_ALLOW | find_next_host_connection returns empty | initial parent SA message received on 192.1.2.23:500 but no connection has been authorized with policy ECDSA+IKEV2_ALLOW | find_host_connection local=192.1.2.23:500 remote=192.1.2.45:500 policy=RSASIG+IKEV2_ALLOW but ignoring ports | find_host_pair: comparing 192.1.2.23:500 to 192.1.2.45:500 but ignoring ports | find_next_host_connection policy=RSASIG+IKEV2_ALLOW | found policy = RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO (esp=null-none) | find_next_host_connection returns esp=null-none | find_next_host_connection policy=RSASIG+IKEV2_ALLOW | find_next_host_connection returns empty | found connection: esp=null-none with policy RSASIG+IKEV2_ALLOW | creating state object #3 at 0x5638ac885690 | State DB: adding IKEv2 state #3 in UNDEFINED | pstats #3 ikev2.ike started | Message ID: init #3: msgid=0 lastack=4294967295 nextuse=0 lastrecv=4294967295 lastreplied=0 | parent state #3: UNDEFINED(ignore) => PARENT_R0(half-open IKE SA) | Message ID: init_ike #3; ike: initiator.sent=0->-1 initiator.recv=0->-1 responder.sent=0->-1 responder.recv=0->-1 wip.initiator=0->-1 wip.responder=0->-1 | start processing: state #3 connection "esp=null-none" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2016) | State DB: IKEv2 state not found (find_v2_sa_by_responder_wip) | [RE]START processing: state #3 connection "esp=null-none" from 192.1.2.45:500 (in ike_process_packet() at ikev2.c:2064) | #3 st.st_msgid_lastrecv -1 md.hdr.isa_msgid 00000000 | Message ID: #3 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=-1 responder.recv=-1 | Message ID: start-responder #3 request 0; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=-1 responder.recv=-1 wip.initiator=-1 wip.responder=-1->0 | #3 in state PARENT_R0: processing SA_INIT request | selected state microcode Respond to IKE_SA_INIT | Now let's proceed with state specific processing | calling processor Respond to IKE_SA_INIT | #3 updating local interface from 192.1.2.23:500 to 192.1.2.23:500 using md->iface (in update_ike_endpoints() at state.c:2668) | using existing local IKE proposals for connection esp=null-none (IKE SA responder matching remote proposals): 1:IKE:ENCR=AES_CBC_128;PRF=HMAC_SHA1;INTEG=HMAC_SHA1_96;DH=MODP2048 | Comparing remote proposals against IKE responder 1 local proposals | local proposal 1 type ENCR has 1 transforms | local proposal 1 type PRF has 1 transforms | local proposal 1 type INTEG has 1 transforms | local proposal 1 type DH has 1 transforms | local proposal 1 type ESN has 0 transforms | local proposal 1 transforms: required: ENCR+PRF+INTEG+DH; optional: none | ****parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | length: 44 (0x2c) | prop #: 1 (0x1) | proto ID: IKEv2_SEC_PROTO_IKE (0x1) | spi size: 0 (0x0) | # transforms: 4 (0x4) | Comparing remote proposal 1 containing 4 transforms against local proposal [1..1] of 1 local proposals | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 12 (0xc) | IKEv2 transform type: TRANS_TYPE_ENCR (0x1) | IKEv2 transform ID: AES_CBC (0xc) | ******parse IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 128 (0x80) | remote proposal 1 transform 0 (ENCR=AES_CBC_128) matches local proposal 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_SHA1 (0x2) | remote proposal 1 transform 1 (PRF=HMAC_SHA1) matches local proposal 1 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_INTEG (0x3) | IKEv2 transform ID: AUTH_HMAC_SHA1_96 (0x2) | remote proposal 1 transform 2 (INTEG=HMAC_SHA1_96) matches local proposal 1 type 3 (INTEG) transform 0 | *****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_LAST (0x0) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP2048 (0xe) | remote proposal 1 transform 3 (DH=MODP2048) matches local proposal 1 type 4 (DH) transform 0 | remote proposal 1 proposed transforms: ENCR+PRF+INTEG+DH; matched: ENCR+PRF+INTEG+DH; unmatched: none | comparing remote proposal 1 containing ENCR+PRF+INTEG+DH transforms to local proposal 1; required: ENCR+PRF+INTEG+DH; optional: none; matched: ENCR+PRF+INTEG+DH | remote proposal 1 matches local proposal 1 "esp=null-none" #3: proposal 1:IKE:ENCR=AES_CBC_128;PRF=HMAC_SHA1;INTEG=HMAC_SHA1_96;DH=MODP2048 chosen from remote proposals 1:IKE:ENCR=AES_CBC_128;PRF=HMAC_SHA1;INTEG=HMAC_SHA1_96;DH=MODP2048[first-match] | accepted IKE proposal ikev2_proposal: 1:IKE:ENCR=AES_CBC_128;PRF=HMAC_SHA1;INTEG=HMAC_SHA1_96;DH=MODP2048 | converting proposal to internal trans attrs | natd_hash: rcookie is zero | natd_hash: hasher=0x5638abe667a0(20) | natd_hash: icookie= 2e fb d7 24 4f 0c c8 07 | natd_hash: rcookie= 00 00 00 00 00 00 00 00 | natd_hash: ip= c0 01 02 17 | natd_hash: port= 01 f4 | natd_hash: hash= 6b f4 9b 37 a8 c9 b3 07 02 76 32 41 4c 11 9c 7a | natd_hash: hash= d3 68 6a 27 | natd_hash: rcookie is zero | natd_hash: hasher=0x5638abe667a0(20) | natd_hash: icookie= 2e fb d7 24 4f 0c c8 07 | natd_hash: rcookie= 00 00 00 00 00 00 00 00 | natd_hash: ip= c0 01 02 2d | natd_hash: port= 01 f4 | natd_hash: hash= c9 3b 70 d8 59 fb 21 15 d8 a3 cf c1 a3 e1 64 ad | natd_hash: hash= 84 d0 2b f5 | NAT_TRAVERSAL encaps using auto-detect | NAT_TRAVERSAL this end is NOT behind NAT | NAT_TRAVERSAL that end is NOT behind NAT | NAT_TRAVERSAL nat-keepalive enabled 192.1.2.45 | adding ikev2_inI1outR1 KE work-order 3 for state #3 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x5638ac80a970 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #3 | libevent_malloc: new ptr-libevent@0x5638ac8876f0 size 128 | #3 spent 0.136 milliseconds in processing: Respond to IKE_SA_INIT in ikev2_process_state_packet() | crypto helper 4 resuming | [RE]START processing: state #3 connection "esp=null-none" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3376) | crypto helper 4 starting work-order 3 for state #3 | #3 complete_v2_state_transition() PARENT_R0->PARENT_R1 with status STF_SUSPEND | crypto helper 4 doing build KE and nonce (ikev2_inI1outR1 KE); request ID 3 | suspending state #3 and saving MD | #3 is busy; has a suspended MD | [RE]START processing: state #3 connection "esp=null-none" from 192.1.2.45:500 (in log_stf_suspend() at ikev2.c:3266) | "esp=null-none" #3 complete v2 state STATE_PARENT_R0 transition with STF_SUSPEND suspended from complete_v2_state_transition:3448 | stop processing: state #3 connection "esp=null-none" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2018) | #3 spent 0.43 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.441 milliseconds in comm_handle_cb() reading and processing packet | crypto helper 4 finished build KE and nonce (ikev2_inI1outR1 KE); request ID 3 time elapsed 0.000568 seconds | (#3) spent 0.568 milliseconds in crypto helper computing work-order 3: ikev2_inI1outR1 KE (pcr) | crypto helper 4 sending results from work-order 3 for state #3 to event queue | scheduling resume sending helper answer for #3 | libevent_malloc: new ptr-libevent@0x7fe268006900 size 128 | crypto helper 4 waiting (nothing to do) | processing resume sending helper answer for #3 | start processing: state #3 connection "esp=null-none" from 192.1.2.45:500 (in resume_handler() at server.c:797) | crypto helper 4 replies to request ID 3 | calling continuation function 0x5638abd90630 | ikev2_parent_inI1outR1_continue for #3: calculated ke+nonce, sending R1 | **emit ISAKMP Message: | initiator cookie: | 2e fb d7 24 4f 0c c8 07 | responder cookie: | 09 df 8d a9 23 63 93 94 | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_IKE_SA_INIT (0x22) | flags: ISAKMP_FLAG_v2_MSG_RESPONSE (0x20) | Message ID: 0 (0x0) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | Emitting ikev2_proposal ... | ***emit IKEv2 Security Association Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'ISAKMP Message'.'next payload type' to current IKEv2 Security Association Payload (33:ISAKMP_NEXT_v2SA) | next payload chain: saving location 'IKEv2 Security Association Payload'.'next payload type' in 'reply packet' | ****emit IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | prop #: 1 (0x1) | proto ID: IKEv2_SEC_PROTO_IKE (0x1) | spi size: 0 (0x0) | # transforms: 4 (0x4) | last substructure: saving location 'IKEv2 Security Association Payload'.'IKEv2 Proposal Substructure Payload'.'last proposal' | *****emit IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | IKEv2 transform type: TRANS_TYPE_ENCR (0x1) | IKEv2 transform ID: AES_CBC (0xc) | last substructure: saving location 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' | ******emit IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 128 (0x80) | 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_SHA1 (0x2) | last substructure: checking 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' is v2_TRANSFORM_NON_LAST (0x3) | last substructure: saving location 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' | emitting length of IKEv2 Transform Substructure Payload: 8 | *****emit IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | IKEv2 transform type: TRANS_TYPE_INTEG (0x3) | IKEv2 transform ID: AUTH_HMAC_SHA1_96 (0x2) | last substructure: checking 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' is v2_TRANSFORM_NON_LAST (0x3) | last substructure: saving location 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' | emitting length of IKEv2 Transform Substructure Payload: 8 | *****emit IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_LAST (0x0) | IKEv2 transform type: TRANS_TYPE_DH (0x4) | IKEv2 transform ID: OAKLEY_GROUP_MODP2048 (0xe) | last substructure: checking 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' is v2_TRANSFORM_NON_LAST (0x3) | last substructure: saving location 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' | emitting length of IKEv2 Transform Substructure Payload: 8 | emitting length of IKEv2 Proposal Substructure Payload: 44 | last substructure: checking 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' is 0 | emitting length of IKEv2 Security Association Payload: 48 | last substructure: checking 'IKEv2 Security Association Payload'.'IKEv2 Proposal Substructure Payload'.'last proposal' is 0 | ***emit IKEv2 Key Exchange Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | DH group: OAKLEY_GROUP_MODP2048 (0xe) | next payload chain: setting previous 'IKEv2 Security Association Payload'.'next payload type' to current IKEv2 Key Exchange Payload (34:ISAKMP_NEXT_v2KE) | next payload chain: saving location 'IKEv2 Key Exchange Payload'.'next payload type' in 'reply packet' | emitting 256 raw bytes of ikev2 g^x into IKEv2 Key Exchange Payload | ikev2 g^x 08 9f 12 cf b0 46 d5 03 d6 0b da d7 c3 95 ae e6 | ikev2 g^x 27 0f cc 27 44 c1 ca af 2d 0e c2 26 0e 3e b5 44 | ikev2 g^x 67 1e be 62 13 b7 55 09 71 d2 9e a6 2a ec 7a c2 | ikev2 g^x 5d d5 cc 52 e4 57 14 d3 f7 fc a6 f9 34 21 55 24 | ikev2 g^x a5 a6 22 4b 32 48 7f 3a f4 86 ee 6d bb 4e 6c 35 | ikev2 g^x 49 50 06 58 47 3d 9a f6 76 c7 ad 51 18 db 47 c0 | ikev2 g^x 7d 41 83 40 7b 90 51 b7 ad 64 9e f3 10 3f 89 e1 | ikev2 g^x 04 2b 96 45 35 9f ec 73 84 ba 87 97 3e cc 4a df | ikev2 g^x c6 c0 b0 1e e8 31 60 0e 98 ee c6 0c 04 18 39 0e | ikev2 g^x 6e 67 33 10 1c c3 f3 2d a6 68 9d 8e 3a 67 ae 13 | ikev2 g^x af 98 b0 82 6c c8 07 5a b1 9b 38 62 26 b6 b3 ce | ikev2 g^x d8 b1 9a 52 3e 4e 70 83 44 98 13 d2 90 47 1b 65 | ikev2 g^x 97 4f 1f ec ae 3f e6 d8 95 9d 2b f6 3b 96 bf dc | ikev2 g^x 17 a7 da 44 0b 58 d5 c5 51 38 6a 61 e5 f1 a6 5d | ikev2 g^x b2 f0 42 71 ea 64 ae d9 53 5d 07 8f a2 35 00 f9 | ikev2 g^x 4d 9d 34 27 22 36 36 43 7d c9 7c ee 4a ad 0c e0 | 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 d9 c3 92 4e 0f d6 aa d3 e6 03 b3 97 98 99 c2 16 | IKEv2 nonce 4d 7a f1 b9 0f 17 ca b6 6d 37 4b 67 dd e2 52 f1 | 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=0x5638abe667a0(20) | natd_hash: icookie= 2e fb d7 24 4f 0c c8 07 | natd_hash: rcookie= 09 df 8d a9 23 63 93 94 | natd_hash: ip= c0 01 02 17 | natd_hash: port= 01 f4 | natd_hash: hash= 79 ca 99 14 43 d8 79 3f 69 0e 46 0c ce f1 71 39 | natd_hash: hash= 06 2c 59 a9 | 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 79 ca 99 14 43 d8 79 3f 69 0e 46 0c ce f1 71 39 | Notify data 06 2c 59 a9 | emitting length of IKEv2 Notify Payload: 28 | natd_hash: hasher=0x5638abe667a0(20) | natd_hash: icookie= 2e fb d7 24 4f 0c c8 07 | natd_hash: rcookie= 09 df 8d a9 23 63 93 94 | natd_hash: ip= c0 01 02 2d | natd_hash: port= 01 f4 | natd_hash: hash= 12 70 dd 5d b2 4e 25 39 c3 64 fc 80 54 27 e1 b8 | natd_hash: hash= 2b 22 fd ed | 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 12 70 dd 5d b2 4e 25 39 c3 64 fc 80 54 27 e1 b8 | Notify data 2b 22 fd ed | emitting length of IKEv2 Notify Payload: 28 | emitting length of ISAKMP Message: 440 | [RE]START processing: state #3 connection "esp=null-none" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3376) | #3 complete_v2_state_transition() PARENT_R0->PARENT_R1 with status STF_OK | IKEv2: transition from state STATE_PARENT_R0 to state STATE_PARENT_R1 | parent state #3: PARENT_R0(half-open IKE SA) => PARENT_R1(half-open IKE SA) | Message ID: updating counters for #3 to 0 after switching state | Message ID: recv #3 request 0; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=-1 responder.recv=-1->0 wip.initiator=-1 wip.responder=0->-1 | Message ID: sent #3 response 0; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=-1->0 responder.recv=0 wip.initiator=-1 wip.responder=-1 "esp=null-none" #3: STATE_PARENT_R1: received v2I1, sent v2R1 {auth=IKEv2 cipher=AES_CBC_128 integ=HMAC_SHA1_96 prf=HMAC_SHA1 group=MODP2048} | sending V2 new request packet to 192.1.2.45:500 (from 192.1.2.23:500) | sending 440 bytes for STATE_PARENT_R0 through eth1 from 192.1.2.23:500 to 192.1.2.45:500 (using #3) | 2e fb d7 24 4f 0c c8 07 09 df 8d a9 23 63 93 94 | 21 20 22 20 00 00 00 00 00 00 01 b8 22 00 00 30 | 00 00 00 2c 01 01 00 04 03 00 00 0c 01 00 00 0c | 80 0e 00 80 03 00 00 08 02 00 00 02 03 00 00 08 | 03 00 00 02 00 00 00 08 04 00 00 0e 28 00 01 08 | 00 0e 00 00 08 9f 12 cf b0 46 d5 03 d6 0b da d7 | c3 95 ae e6 27 0f cc 27 44 c1 ca af 2d 0e c2 26 | 0e 3e b5 44 67 1e be 62 13 b7 55 09 71 d2 9e a6 | 2a ec 7a c2 5d d5 cc 52 e4 57 14 d3 f7 fc a6 f9 | 34 21 55 24 a5 a6 22 4b 32 48 7f 3a f4 86 ee 6d | bb 4e 6c 35 49 50 06 58 47 3d 9a f6 76 c7 ad 51 | 18 db 47 c0 7d 41 83 40 7b 90 51 b7 ad 64 9e f3 | 10 3f 89 e1 04 2b 96 45 35 9f ec 73 84 ba 87 97 | 3e cc 4a df c6 c0 b0 1e e8 31 60 0e 98 ee c6 0c | 04 18 39 0e 6e 67 33 10 1c c3 f3 2d a6 68 9d 8e | 3a 67 ae 13 af 98 b0 82 6c c8 07 5a b1 9b 38 62 | 26 b6 b3 ce d8 b1 9a 52 3e 4e 70 83 44 98 13 d2 | 90 47 1b 65 97 4f 1f ec ae 3f e6 d8 95 9d 2b f6 | 3b 96 bf dc 17 a7 da 44 0b 58 d5 c5 51 38 6a 61 | e5 f1 a6 5d b2 f0 42 71 ea 64 ae d9 53 5d 07 8f | a2 35 00 f9 4d 9d 34 27 22 36 36 43 7d c9 7c ee | 4a ad 0c e0 29 00 00 24 d9 c3 92 4e 0f d6 aa d3 | e6 03 b3 97 98 99 c2 16 4d 7a f1 b9 0f 17 ca b6 | 6d 37 4b 67 dd e2 52 f1 29 00 00 08 00 00 40 2e | 29 00 00 1c 00 00 40 04 79 ca 99 14 43 d8 79 3f | 69 0e 46 0c ce f1 71 39 06 2c 59 a9 00 00 00 1c | 00 00 40 05 12 70 dd 5d b2 4e 25 39 c3 64 fc 80 | 54 27 e1 b8 2b 22 fd ed | state #3 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x5638ac8876f0 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x5638ac80a970 | event_schedule: new EVENT_SO_DISCARD-pe@0x5638ac80a970 | inserting event EVENT_SO_DISCARD, timeout in 200 seconds for #3 | libevent_malloc: new ptr-libevent@0x5638ac8876f0 size 128 | resume sending helper answer for #3 suppresed complete_v2_state_transition() | #3 spent 0.286 milliseconds in resume sending helper answer | stop processing: state #3 connection "esp=null-none" from 192.1.2.45:500 (in resume_handler() at server.c:833) | libevent_free: release ptr-libevent@0x7fe268006900 | spent 0.00316 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 460 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 2e fb d7 24 4f 0c c8 07 09 df 8d a9 23 63 93 94 | 2e 20 23 08 00 00 00 01 00 00 01 cc 23 00 01 b0 | 62 c5 95 f2 ad 62 d4 f0 ac 3f d4 36 8f dc 70 42 | 43 42 54 78 11 44 49 f2 68 10 ea 96 8b 22 77 31 | 34 ec a2 16 4d e5 ba 40 23 92 70 2d 1c 87 b4 7d | 6a fe 25 2b 91 55 4e 02 69 6d be 08 85 6d 20 6a | b8 01 90 39 40 b1 70 a7 48 ba ad 35 fc 9d 41 35 | f5 5a 25 58 bf a6 01 14 ba 6a 0e 95 0c 70 64 ae | 74 5f 63 05 03 b0 cf 9d fd 0c da c8 2a 91 b4 50 | af d8 89 ce 88 dc 19 93 a9 68 b0 22 c4 34 b0 b6 | 60 a2 68 13 b6 36 d7 08 07 6b 98 64 8d 9f 48 fa | 6c c4 6b 27 e3 ee 13 eb b4 e9 bb 92 c9 9e 37 ba | a0 51 6c ea 4a e1 e7 0c ad 73 dd 8d a2 45 9b 9a | 6f 22 0f f3 9a d5 46 84 b7 c3 85 05 7b 0e 76 fd | 3d 4f 2b 54 71 78 a1 25 75 3c 6c 7f d2 5e e8 20 | fe 19 fd dd 86 fa c5 9b 3c 15 54 88 a4 2d b6 b3 | df 33 8e 54 87 8f 63 4e c1 2e e6 00 be d2 8e a0 | ea 05 23 da f4 1c 73 3e 37 84 3a 4f 5b fe f4 e8 | f8 d1 8c 63 8d b3 fb 59 4f 8f c1 6d d0 7a ad 10 | 37 c8 53 f2 39 39 d3 d0 31 43 a0 89 f0 a3 6e ec | 89 88 c4 b8 72 20 63 7a cb 30 f3 51 1b 0b fd 1e | 68 9f 40 0e 81 a3 87 a2 a2 25 4f 8c c2 0a e2 c2 | 79 a6 14 73 ed 19 a7 d2 06 1f 16 4a 1a 6f ee fb | 1f c4 6f 17 39 9d 63 1d 50 7e c4 7a a5 21 0c 22 | 3b a1 ad 84 99 a7 81 40 e5 38 83 f9 c5 f1 2c be | 48 68 b7 52 56 3e 50 2c 72 4a a2 1e d9 ed bb 77 | 4e 2c 86 79 8b f8 ea 58 be 52 3a db 5f 87 9f 45 | c4 c2 31 5b f0 f9 3e 0f c3 99 54 01 86 27 30 dc | cc ae 34 96 26 73 f1 b5 77 2f 62 ba | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 2e fb d7 24 4f 0c c8 07 | responder cookie: | 09 df 8d a9 23 63 93 94 | 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: 460 (0x1cc) | processing version=2.0 packet with exchange type=ISAKMP_v2_IKE_AUTH (35) | I am the IKE SA Original Responder receiving an IKEv2 IKE_AUTH request | State DB: found IKEv2 state #3 in PARENT_R1 (find_v2_ike_sa) | start processing: state #3 connection "esp=null-none" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2016) | State DB: IKEv2 state not found (find_v2_sa_by_responder_wip) | [RE]START processing: state #3 connection "esp=null-none" from 192.1.2.45:500 (in ike_process_packet() at ikev2.c:2064) | #3 st.st_msgid_lastrecv 0 md.hdr.isa_msgid 00000001 | Message ID: #3 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0 | unpacking clear payload | Now let's proceed with payload (ISAKMP_NEXT_v2SK) | ***parse IKEv2 Encryption Payload: | next payload type: ISAKMP_NEXT_v2IDi (0x23) | flags: none (0x0) | length: 432 (0x1b0) | processing payload: ISAKMP_NEXT_v2SK (len=428) | Message ID: start-responder #3 request 1; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0 wip.initiator=-1 wip.responder=-1->1 | #3 in state PARENT_R1: received v2I1, sent v2R1 | selected state microcode Responder: process IKE_AUTH request (no SKEYSEED) | Now let's proceed with state specific processing | calling processor Responder: process IKE_AUTH request (no SKEYSEED) | ikev2 parent inI2outR2: calculating g^{xy} in order to decrypt I2 | offloading IKEv2 SKEYSEED using prf=HMAC_SHA1 integ=HMAC_SHA1_96 cipherkey=AES_CBC | adding ikev2_inI2outR2 KE work-order 4 for state #3 | state #3 requesting EVENT_SO_DISCARD to be deleted | libevent_free: release ptr-libevent@0x5638ac8876f0 | free_event_entry: release EVENT_SO_DISCARD-pe@0x5638ac80a970 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x7fe268002b20 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #3 | libevent_malloc: new ptr-libevent@0x5638ac8876f0 size 128 | #3 spent 0.0311 milliseconds in processing: Responder: process IKE_AUTH request (no SKEYSEED) in ikev2_process_state_packet() | crypto helper 1 resuming | [RE]START processing: state #3 connection "esp=null-none" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3376) | crypto helper 1 starting work-order 4 for state #3 | #3 complete_v2_state_transition() PARENT_R1->PARENT_R1 with status STF_SUSPEND | crypto helper 1 doing compute dh (V2) (ikev2_inI2outR2 KE); request ID 4 | suspending state #3 and saving MD | #3 is busy; has a suspended MD | [RE]START processing: state #3 connection "esp=null-none" from 192.1.2.45:500 (in log_stf_suspend() at ikev2.c:3266) | "esp=null-none" #3 complete v2 state STATE_PARENT_R1 transition with STF_SUSPEND suspended from complete_v2_state_transition:3448 | stop processing: state #3 connection "esp=null-none" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2018) | #3 spent 0.217 milliseconds in ikev2_process_packet() | stop processing: from 192.1.2.45:500 (in process_md() at demux.c:380) | processing: STOP state #0 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.229 milliseconds in comm_handle_cb() reading and processing packet | calculating skeyseed using prf=sha integ=sha cipherkey-size=16 salt-size=0 | crypto helper 1 finished compute dh (V2) (ikev2_inI2outR2 KE); request ID 4 time elapsed 0.000966 seconds | (#3) spent 0.922 milliseconds in crypto helper computing work-order 4: ikev2_inI2outR2 KE (pcr) | crypto helper 1 sending results from work-order 4 for state #3 to event queue | scheduling resume sending helper answer for #3 | libevent_malloc: new ptr-libevent@0x7fe25c0061a0 size 128 | crypto helper 1 waiting (nothing to do) | processing resume sending helper answer for #3 | start processing: state #3 connection "esp=null-none" from 192.1.2.45:500 (in resume_handler() at server.c:797) | crypto helper 1 replies to request ID 4 | calling continuation function 0x5638abd90630 | ikev2_parent_inI2outR2_continue for #3: calculating g^{xy}, sending R2 | #3 in state PARENT_R1: received v2I1, sent v2R1 | data for hmac: 2e fb d7 24 4f 0c c8 07 09 df 8d a9 23 63 93 94 | data for hmac: 2e 20 23 08 00 00 00 01 00 00 01 cc 23 00 01 b0 | data for hmac: 62 c5 95 f2 ad 62 d4 f0 ac 3f d4 36 8f dc 70 42 | data for hmac: 43 42 54 78 11 44 49 f2 68 10 ea 96 8b 22 77 31 | data for hmac: 34 ec a2 16 4d e5 ba 40 23 92 70 2d 1c 87 b4 7d | data for hmac: 6a fe 25 2b 91 55 4e 02 69 6d be 08 85 6d 20 6a | data for hmac: b8 01 90 39 40 b1 70 a7 48 ba ad 35 fc 9d 41 35 | data for hmac: f5 5a 25 58 bf a6 01 14 ba 6a 0e 95 0c 70 64 ae | data for hmac: 74 5f 63 05 03 b0 cf 9d fd 0c da c8 2a 91 b4 50 | data for hmac: af d8 89 ce 88 dc 19 93 a9 68 b0 22 c4 34 b0 b6 | data for hmac: 60 a2 68 13 b6 36 d7 08 07 6b 98 64 8d 9f 48 fa | data for hmac: 6c c4 6b 27 e3 ee 13 eb b4 e9 bb 92 c9 9e 37 ba | data for hmac: a0 51 6c ea 4a e1 e7 0c ad 73 dd 8d a2 45 9b 9a | data for hmac: 6f 22 0f f3 9a d5 46 84 b7 c3 85 05 7b 0e 76 fd | data for hmac: 3d 4f 2b 54 71 78 a1 25 75 3c 6c 7f d2 5e e8 20 | data for hmac: fe 19 fd dd 86 fa c5 9b 3c 15 54 88 a4 2d b6 b3 | data for hmac: df 33 8e 54 87 8f 63 4e c1 2e e6 00 be d2 8e a0 | data for hmac: ea 05 23 da f4 1c 73 3e 37 84 3a 4f 5b fe f4 e8 | data for hmac: f8 d1 8c 63 8d b3 fb 59 4f 8f c1 6d d0 7a ad 10 | data for hmac: 37 c8 53 f2 39 39 d3 d0 31 43 a0 89 f0 a3 6e ec | data for hmac: 89 88 c4 b8 72 20 63 7a cb 30 f3 51 1b 0b fd 1e | data for hmac: 68 9f 40 0e 81 a3 87 a2 a2 25 4f 8c c2 0a e2 c2 | data for hmac: 79 a6 14 73 ed 19 a7 d2 06 1f 16 4a 1a 6f ee fb | data for hmac: 1f c4 6f 17 39 9d 63 1d 50 7e c4 7a a5 21 0c 22 | data for hmac: 3b a1 ad 84 99 a7 81 40 e5 38 83 f9 c5 f1 2c be | data for hmac: 48 68 b7 52 56 3e 50 2c 72 4a a2 1e d9 ed bb 77 | data for hmac: 4e 2c 86 79 8b f8 ea 58 be 52 3a db 5f 87 9f 45 | data for hmac: c4 c2 31 5b f0 f9 3e 0f c3 99 54 01 86 27 30 dc | calculated auth: cc ae 34 96 26 73 f1 b5 77 2f 62 ba | provided auth: cc ae 34 96 26 73 f1 b5 77 2f 62 ba | authenticator matched | #3 ikev2 ISAKMP_v2_IKE_AUTH decrypt success | Now let's proceed with payload (ISAKMP_NEXT_v2IDi) | **parse IKEv2 Identification - Initiator - Payload: | next payload type: ISAKMP_NEXT_v2IDr (0x24) | flags: none (0x0) | length: 12 (0xc) | ID type: ID_FQDN (0x2) | processing payload: ISAKMP_NEXT_v2IDi (len=4) | Now let's proceed with payload (ISAKMP_NEXT_v2IDr) | **parse IKEv2 Identification - Responder - Payload: | next payload type: ISAKMP_NEXT_v2AUTH (0x27) | flags: none (0x0) | length: 12 (0xc) | ID type: ID_FQDN (0x2) | processing payload: ISAKMP_NEXT_v2IDr (len=4) | Now let's proceed with payload (ISAKMP_NEXT_v2AUTH) | **parse IKEv2 Authentication Payload: | next payload type: ISAKMP_NEXT_v2SA (0x21) | flags: none (0x0) | length: 282 (0x11a) | auth method: IKEv2_AUTH_RSA (0x1) | processing payload: ISAKMP_NEXT_v2AUTH (len=274) | Now let's proceed with payload (ISAKMP_NEXT_v2SA) | **parse IKEv2 Security Association Payload: | next payload type: ISAKMP_NEXT_v2TSi (0x2c) | flags: none (0x0) | length: 32 (0x20) | processing payload: ISAKMP_NEXT_v2SA (len=28) | 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 "esp=null-none" #3: processing decrypted IKE_AUTH request: SK{IDi,IDr,AUTH,SA,TSi,TSr} | #3 updating local interface from 192.1.2.23:500 to 192.1.2.23:500 using md->iface (in update_ike_endpoints() at state.c:2668) | received IDr payload - extracting our alleged ID | refine_host_connection for IKEv2: starting with "esp=null-none" | match_id a=@west | b=@west | results matched | refine_host_connection: checking "esp=null-none" against "esp=null-none", 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 esp=null-none against esp=null-none, now for see if best | started looking for secret for @east->@west of kind PKK_RSA | actually looking for secret for @east->@west of kind PKK_RSA | line 1: key type PKK_RSA(@east) to type PKK_RSA | 1: compared key (none) to @east / @west -> 002 | 2: compared key (none) to @east / @west -> 002 | line 1: match=002 | match 002 beats previous best_match 000 match=0x5638ac877f60 (line=1) | concluding with best_match=002 best=0x5638ac877f60 (lineno=1) | returning because exact peer id match | offered CA: '%none' "esp=null-none" #3: IKEv2 mode peer ID is ID_FQDN: '@west' | verifying AUTH payload | required RSA CA is '%any' | checking RSA keyid '@east' for match with '@west' | checking RSA keyid '@west' for match with '@west' | RSA key issuer CA is '%any' | an RSA Sig check passed with *AQOm9dY/4 [preloaded keys] | #3 spent 0.0532 milliseconds in try_all_keys() trying a pubkey "esp=null-none" #3: Authenticated using RSA | #3 spent 0.0798 milliseconds in ikev2_verify_rsa_hash() | parent state #3: PARENT_R1(half-open IKE SA) => PARENT_R2(established IKE SA) | #3 will start re-keying in 3330 seconds with margin of 270 seconds (attempting re-key) | state #3 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x5638ac8876f0 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x7fe268002b20 | event_schedule: new EVENT_SA_REKEY-pe@0x7fe268002b20 | inserting event EVENT_SA_REKEY, timeout in 3330 seconds for #3 | libevent_malloc: new ptr-libevent@0x5638ac8876f0 size 128 | pstats #3 ikev2.ike established | **emit ISAKMP Message: | initiator cookie: | 2e fb d7 24 4f 0c c8 07 | responder cookie: | 09 df 8d a9 23 63 93 94 | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_IKE_AUTH (0x23) | flags: ISAKMP_FLAG_v2_MSG_RESPONSE (0x20) | Message ID: 1 (0x1) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | IKEv2 CERT: send a certificate? | IKEv2 CERT: no certificate to send | ***emit IKEv2 Encryption Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'ISAKMP Message'.'next payload type' to current IKEv2 Encryption Payload (46:ISAKMP_NEXT_v2SK) | next payload chain: saving location 'IKEv2 Encryption Payload'.'next payload type' in 'reply packet' | emitting 16 zero bytes of IV into IKEv2 Encryption Payload | Initiator child policy is compress=no, NOT sending v2N_IPCOMP_SUPPORTED | ****emit IKEv2 Identification - Responder - Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | ID type: ID_FQDN (0x2) | next payload chain: setting previous 'IKEv2 Encryption Payload'.'next payload type' to current IKEv2 Identification - Responder - Payload (36:ISAKMP_NEXT_v2IDr) | next payload chain: saving location 'IKEv2 Identification - Responder - Payload'.'next payload type' in 'reply packet' | emitting 4 raw bytes of my identity into IKEv2 Identification - Responder - Payload | my identity 65 61 73 74 | emitting length of IKEv2 Identification - Responder - Payload: 12 | assembled IDr payload | CHILD SA proposals received | going to assemble AUTH payload | ****emit IKEv2 Authentication Payload: | next payload type: ISAKMP_NEXT_v2SA (0x21) | flags: none (0x0) | auth method: IKEv2_AUTH_RSA (0x1) | next payload chain: ignoring supplied 'IKEv2 Authentication Payload'.'next payload type' value 33:ISAKMP_NEXT_v2SA | next payload chain: setting previous 'IKEv2 Identification - Responder - Payload'.'next payload type' to current IKEv2 Authentication Payload (39:ISAKMP_NEXT_v2AUTH) | next payload chain: saving location 'IKEv2 Authentication Payload'.'next payload type' in 'reply packet' | started looking for secret for @east->@west of kind PKK_RSA | actually looking for secret for @east->@west of kind PKK_RSA | line 1: key type PKK_RSA(@east) to type PKK_RSA | 1: compared key (none) to @east / @west -> 002 | 2: compared key (none) to @east / @west -> 002 | line 1: match=002 | match 002 beats previous best_match 000 match=0x5638ac877f60 (line=1) | concluding with best_match=002 best=0x5638ac877f60 (lineno=1) | #3 spent 4.35 milliseconds in ikev2_calculate_rsa_hash() calling sign_hash_RSA() | emitting 274 raw bytes of rsa signature into IKEv2 Authentication Payload | rsa signature 0d fd 6f 6a db b0 0c 18 4e e8 b0 bf a8 00 95 e3 | rsa signature 7b 5a ab 17 5e 2d db 91 16 b0 9d f5 eb b3 ed e0 | rsa signature 11 fa 28 bc 2f 28 2e d4 74 f1 ca f5 64 a2 fb 33 | rsa signature da 7b 5e e4 b5 ad ed b9 70 90 5b 91 66 9d 33 e0 | rsa signature 04 81 a7 97 2e 1f 13 ad 2d 42 60 d8 a9 6a 00 65 | rsa signature 71 ca 9b 13 ac 8e 8f c0 f6 1a f5 bd 23 f2 03 59 | rsa signature 15 02 10 29 f6 a6 a8 ee f5 0b 0c cd 11 5c a5 cf | rsa signature 8c b0 65 62 d8 23 8d 8c ef 76 8f 3d 3f e2 f1 0e | rsa signature c7 c7 05 09 e8 5a ef 20 08 73 84 3c ff 43 fc d5 | rsa signature c8 c4 4a db 74 f3 5a 27 89 ae ae 14 7e 13 a5 54 | rsa signature 0a d6 9c 22 d6 0c 40 9f 76 64 a4 cd fc c6 4d 81 | rsa signature 82 58 3f 38 cd 83 d6 45 4a e6 dd 44 0d e5 df 5c | rsa signature 85 a2 ce a7 32 96 88 66 94 ef 8b b9 bd a5 b3 25 | rsa signature a3 03 83 10 88 f1 b4 86 07 7f f1 c2 95 21 30 2e | rsa signature fb 52 49 f1 22 9d f3 56 8b b3 d2 d3 03 60 3d 92 | rsa signature ba c6 b1 d0 ac b4 2f 0e fb 1c 0f 90 a7 0d 06 d1 | rsa signature bf 3e a5 a4 59 d8 db eb de 59 18 d2 fc 30 b1 cb | rsa signature 0b 61 | #3 spent 4.44 milliseconds in ikev2_calculate_rsa_hash() | emitting length of IKEv2 Authentication Payload: 282 | creating state object #4 at 0x5638ac88f2c0 | State DB: adding IKEv2 state #4 in UNDEFINED | pstats #4 ikev2.child started | duplicating state object #3 "esp=null-none" as #4 for IPSEC SA | #4 setting local endpoint to 192.1.2.23:500 from #3.st_localport (in duplicate_state() at state.c:1481) | Message ID: init_child #3.#4; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0; child: wip.initiator=0->-1 wip.responder=0->-1 | Message ID: switch-from #3 request 1; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0 wip.initiator=-1 wip.responder=1->-1 | Message ID: switch-to #3.#4 request 1; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0; child: wip.initiator=-1 wip.responder=-1->1 | Child SA TS Request has ike->sa == md->st; so using parent connection | TSi: parsing 1 traffic selectors | ***parse IKEv2 Traffic Selector: | TS type: IKEv2_TS_IPV4_ADDR_RANGE (0x7) | IP Protocol ID: 0 (0x0) | length: 16 (0x10) | start port: 0 (0x0) | end port: 65535 (0xffff) | parsing 4 raw bytes of IKEv2 Traffic Selector into TS low | TS low c0 00 01 00 | parsing 4 raw bytes of IKEv2 Traffic Selector into TS high | TS high c0 00 01 ff | TSi: parsed 1 traffic selectors | TSr: parsing 1 traffic selectors | ***parse IKEv2 Traffic Selector: | TS type: IKEv2_TS_IPV4_ADDR_RANGE (0x7) | IP Protocol ID: 0 (0x0) | length: 16 (0x10) | start port: 0 (0x0) | end port: 65535 (0xffff) | parsing 4 raw bytes of IKEv2 Traffic Selector into TS low | TS low c0 00 02 00 | parsing 4 raw bytes of IKEv2 Traffic Selector into TS high | TS high c0 00 02 ff | TSr: parsed 1 traffic selectors | looking for best SPD in current connection | evaluating our conn="esp=null-none" I=192.0.1.0/24:0:0/0 R=192.0.2.0/24:0:0/0 to their: | TSi[0] .net=192.0.1.0-192.0.1.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.1.0/24 == TSi[0]net=192.0.1.0-192.0.1.255: YES fitness 32 | narrow port end=0..65535 == TSi[0]=0..65535: 0 | TSi[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSi[0]=*0: 0 | match end->protocol=*0 == TSi[0].ipprotoid=*0: YES fitness 255 | TSr[0] .net=192.0.2.0-192.0.2.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.2.0/24 == TSr[0]net=192.0.2.0-192.0.2.255: YES fitness 32 | narrow port end=0..65535 == TSr[0]=0..65535: 0 | TSr[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSr[0]=*0: 0 | match end->protocol=*0 == TSr[0].ipprotoid=*0: YES fitness 255 | best fit so far: TSi[0] TSr[0] | found better spd route for TSi[0],TSr[0] | looking for better host pair | find_host_pair: comparing 192.1.2.23:500 to 192.1.2.45:500 but ignoring ports | checking hostpair 192.0.2.0/24:0 -> 192.0.1.0/24:0 is found | investigating connection "esp=null-none" as a better match | match_id a=@west | b=@west | results matched | evaluating our conn="esp=null-none" I=192.0.1.0/24:0:0/0 R=192.0.2.0/24:0:0/0 to their: | TSi[0] .net=192.0.1.0-192.0.1.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.1.0/24 == TSi[0]net=192.0.1.0-192.0.1.255: YES fitness 32 | narrow port end=0..65535 == TSi[0]=0..65535: 0 | TSi[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSi[0]=*0: 0 | match end->protocol=*0 == TSi[0].ipprotoid=*0: YES fitness 255 | TSr[0] .net=192.0.2.0-192.0.2.255 .iporotoid=0 .{start,end}port=0..65535 | match address end->client=192.0.2.0/24 == TSr[0]net=192.0.2.0-192.0.2.255: YES fitness 32 | narrow port end=0..65535 == TSr[0]=0..65535: 0 | TSr[0] port match: YES fitness 65536 | narrow protocol end=*0 == TSr[0]=*0: 0 | match end->protocol=*0 == TSr[0].ipprotoid=*0: YES fitness 255 | best fit so far: TSi[0] TSr[0] | did not find a better connection using host pair | printing contents struct traffic_selector | ts_type: IKEv2_TS_IPV4_ADDR_RANGE | ipprotoid: 0 | port range: 0-65535 | ip range: 192.0.2.0-192.0.2.255 | printing contents struct traffic_selector | ts_type: IKEv2_TS_IPV4_ADDR_RANGE | ipprotoid: 0 | port range: 0-65535 | ip range: 192.0.1.0-192.0.1.255 | using existing local ESP/AH proposals for esp=null-none (IKE_AUTH responder matching remote ESP/AH proposals): 1:ESP:ENCR=NULL;INTEG=NONE;DH=NONE;ESN=DISABLED | Comparing remote proposals against IKE_AUTH responder matching remote ESP/AH proposals 1 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 | ***parse IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | length: 28 (0x1c) | 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 a3 13 2e 7c | Comparing remote proposal 1 containing 2 transforms against local proposal [1..1] of 1 local proposals | ****parse IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | length: 8 (0x8) | IKEv2 transform type: TRANS_TYPE_ENCR (0x1) | IKEv2 transform ID: NULL (0xb) | remote proposal 1 transform 0 (ENCR=NULL) 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 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 "esp=null-none" #3: proposal 1:ESP:SPI=a3132e7c;ENCR=NULL;ESN=DISABLED chosen from remote proposals 1:ESP:ENCR=NULL;ESN=DISABLED[first-match] | IKE_AUTH responder matching remote ESP/AH proposals ikev2_proposal: 1:ESP:SPI=a3132e7c;ENCR=NULL;ESN=DISABLED | converting proposal to internal trans attrs | netlink_get_spi: allocated 0x22935902 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 22 93 59 02 | ******emit IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | IKEv2 transform type: TRANS_TYPE_ENCR (0x1) | IKEv2 transform ID: NULL (0xb) | 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: 28 | last substructure: checking 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' is 0 | emitting length of IKEv2 Security Association Payload: 32 | last substructure: checking 'IKEv2 Security Association Payload'.'IKEv2 Proposal Substructure Payload'.'last proposal' is 0 | ****emit IKEv2 Traffic Selector - Initiator - Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | number of TS: 1 (0x1) | next payload chain: setting previous 'IKEv2 Security Association Payload'.'next payload type' to current IKEv2 Traffic Selector - Initiator - Payload (44:ISAKMP_NEXT_v2TSi) | next payload chain: saving location 'IKEv2 Traffic Selector - Initiator - Payload'.'next payload type' in 'reply packet' | *****emit IKEv2 Traffic Selector: | TS type: IKEv2_TS_IPV4_ADDR_RANGE (0x7) | IP Protocol ID: 0 (0x0) | start port: 0 (0x0) | end port: 65535 (0xffff) | emitting 4 raw bytes of IP start into IKEv2 Traffic Selector | IP start c0 00 01 00 | emitting 4 raw bytes of IP end into IKEv2 Traffic Selector | IP end c0 00 01 ff | emitting length of IKEv2 Traffic Selector: 16 | emitting length of IKEv2 Traffic Selector - Initiator - Payload: 24 | ****emit IKEv2 Traffic Selector - Responder - Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | number of TS: 1 (0x1) | next payload chain: setting previous 'IKEv2 Traffic Selector - Initiator - Payload'.'next payload type' to current IKEv2 Traffic Selector - Responder - Payload (45:ISAKMP_NEXT_v2TSr) | next payload chain: saving location 'IKEv2 Traffic Selector - Responder - Payload'.'next payload type' in 'reply packet' | *****emit IKEv2 Traffic Selector: | TS type: IKEv2_TS_IPV4_ADDR_RANGE (0x7) | IP Protocol ID: 0 (0x0) | start port: 0 (0x0) | end port: 65535 (0xffff) | emitting 4 raw bytes of IP start into IKEv2 Traffic Selector | IP start c0 00 02 00 | emitting 4 raw bytes of IP end into IKEv2 Traffic Selector | IP end c0 00 02 ff | emitting length of IKEv2 Traffic Selector: 16 | emitting length of IKEv2 Traffic Selector - Responder - Payload: 24 | Initiator child policy is compress=no, NOT sending v2N_IPCOMP_SUPPORTED | integ=none: .key_size=0 encrypt=null: .key_size=0 .salt_size=0 keymat_len=0 | No CHILD SA KEMAT is required | FOR_EACH_CONNECTION_... in ISAKMP_SA_established | install_ipsec_sa() for #4: inbound and outbound | could_route called for esp=null-none (kind=CK_PERMANENT) | FOR_EACH_CONNECTION_... in route_owner | conn esp=null-none mark 0/00000000, 0/00000000 vs | conn esp=null-none mark 0/00000000, 0/00000000 | route owner of "esp=null-none" prospective erouted: self; eroute owner: self | looking for alg with encrypt: NULL keylen: 0 integ: NONE | encrypt NULL keylen=0 transid=11, key_size=0, encryptalg=11 | st->st_esp.keymat_len=0 is encrypt_keymat_size=0 + integ_keymat_size=0 | setting IPsec SA replay-window to 32 | NIC esp-hw-offload not for connection 'esp=null-none' 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.a3132e7c@192.1.2.45 included non-error error | set up outgoing SA, ref=0/0 | looking for alg with encrypt: NULL keylen: 0 integ: NONE | encrypt NULL keylen=0 transid=11, key_size=0, encryptalg=11 | st->st_esp.keymat_len=0 is encrypt_keymat_size=0 + integ_keymat_size=0 | setting IPsec SA replay-window to 32 | NIC esp-hw-offload not for connection 'esp=null-none' 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.22935902@192.1.2.23 included non-error error | priority calculation of connection "esp=null-none" is 0xfe7e7 | add inbound eroute 192.0.1.0/24:0 --0-> 192.0.2.0/24:0 => tun.10000@192.1.2.23 (raw_eroute) | IPsec Sa SPD priority set to 1042407 | raw_eroute result=success | set up incoming SA, ref=0/0 | sr for #4: prospective erouted | route_and_eroute() for proto 0, and source port 0 dest port 0 | FOR_EACH_CONNECTION_... in route_owner | conn esp=null-none mark 0/00000000, 0/00000000 vs | conn esp=null-none mark 0/00000000, 0/00000000 | route owner of "esp=null-none" prospective erouted: self; eroute owner: self | route_and_eroute with c: esp=null-none (next: none) ero:esp=null-none esr:{(nil)} ro:esp=null-none rosr:{(nil)} and state: #4 | priority calculation of connection "esp=null-none" is 0xfe7e7 | eroute_connection replace eroute 192.0.2.0/24:0 --0-> 192.0.1.0/24:0 => tun.0@192.1.2.45>tun.0@192.1.2.45 (raw_eroute) | IPsec Sa SPD priority set to 1042407 | raw_eroute result=success | running updown command "ipsec _updown" for verb up | command executing up-client | executing up-client: PLUTO_VERB='up-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='esp=null-none' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLUTO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@west' PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' VTI_ROUTING='no' VTI_SHARED='no' SPI_IN=0xa3132e7c S | popen cmd is 1032 chars long | cmd( 0):PLUTO_VERB='up-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='esp=null-none' PLUT: | cmd( 80):O_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLUTO_MY_ID: | cmd( 160):='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' PLUTO_MY: | cmd( 240):_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_RE: | cmd( 320):QID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@west' PL: | cmd( 400):UTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_PEER_CLIE: | cmd( 480):NT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_C: | cmd( 560):A='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='RSASIG+ENCRYPT+TU: | cmd( 640):NNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND='CK_PERM: | cmd( 720):ANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISCO='0' PLUTO: | cmd( 800):_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_CFG_SERVE: | cmd( 880):R='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' VTI_ROUTING='no': | cmd( 960): VTI_SHARED='no' SPI_IN=0xa3132e7c SPI_OUT=0x22935902 ipsec _updown 2>&1: | route_and_eroute: firewall_notified: true | route_and_eroute: instance "esp=null-none", setting eroute_owner {spd=0x5638ac8838f0,sr=0x5638ac8838f0} to #4 (was #0) (newest_ipsec_sa=#0) | #3 spent 0.573 milliseconds in install_ipsec_sa() | ISAKMP_v2_IKE_AUTH: instance esp=null-none[0], setting IKEv2 newest_ipsec_sa to #4 (was #0) (spd.eroute=#4) cloned from #3 | adding 10 bytes of padding (including 1 byte padding-length) | emitting 1 0x00 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x01 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x02 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x03 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x04 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x05 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x06 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x07 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x08 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x09 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 12 zero bytes of length of truncated HMAC/KEY into IKEv2 Encryption Payload | emitting length of IKEv2 Encryption Payload: 416 | emitting length of ISAKMP Message: 444 | data being hmac: 2e fb d7 24 4f 0c c8 07 09 df 8d a9 23 63 93 94 | data being hmac: 2e 20 23 20 00 00 00 01 00 00 01 bc 24 00 01 a0 | data being hmac: 53 b7 e8 8c 7b e6 b5 bb 35 72 bf d1 ef 2a cc bd | data being hmac: 9b da 0c 36 90 9e d8 d1 97 97 c0 ee ca 38 ce df | data being hmac: 6e a1 42 13 35 36 19 fd 38 7f 14 46 5c 1d 94 b2 | data being hmac: 96 fe c4 29 61 48 93 50 fa bb be 51 5c 42 c5 d9 | data being hmac: 1c 88 9e 9a 9f bc e4 be b5 8b 76 a3 f2 69 e7 72 | data being hmac: 3f c1 7e bb 56 be 42 19 83 ec 98 b0 60 6a 6e eb | data being hmac: 3c 3a 18 3c 36 fd 6b 42 f1 b7 b7 13 24 c5 d8 bf | data being hmac: 11 9b 3e 5e ac 16 d6 c3 43 f8 c1 d9 be 36 e5 6e | data being hmac: bb 1c 15 90 dc 64 ae 3f 71 ad 66 ec 47 f8 ad e1 | data being hmac: ce 42 74 50 d4 71 8d 2a f2 28 7f 50 f9 dc ab 7e | data being hmac: ac 6e ee df 08 5c fa 5a 9d 5a 6c f7 d2 4c f2 45 | data being hmac: c0 ff 11 fa d4 6b 63 94 9c c9 ac 25 15 b2 4a cf | data being hmac: 14 83 7b ea 7e 64 cb 2c cc ad de 13 ac b5 1a 4d | data being hmac: 59 53 99 b7 44 e5 f8 e8 ca b2 00 60 2f 59 7e 06 | data being hmac: 89 55 a8 00 17 92 51 01 98 f4 01 00 ee dc 50 b6 | data being hmac: c2 aa 1c 08 1a 0d c0 98 3d d9 0d 48 a6 4f 72 74 | data being hmac: b0 a5 e7 10 97 f8 2f 27 4f 21 1b 71 89 17 a0 1e | data being hmac: 3c 2c 32 21 0e f4 04 0c 14 9b 45 4a cc 02 45 ce | data being hmac: 96 86 23 df 2d 51 4f e6 e1 2e d0 60 4e d9 80 a0 | data being hmac: a3 bd 18 b2 36 84 c4 64 78 bb d5 14 15 ad 98 d3 | data being hmac: 03 0a 67 ba c3 7e 3b 78 aa d3 e9 55 24 6c ef 83 | data being hmac: df 49 af 91 f8 ce ca f0 4d 73 7d 8b a6 18 4e 51 | data being hmac: 48 cf 9c 17 71 f1 3b 8e 76 47 4a a6 6c 8e ea 43 | data being hmac: 74 e9 b0 17 f3 5b 7c 8c a4 10 8e 55 d7 39 25 55 | data being hmac: ef fb a0 0a e2 44 66 9f d5 e7 ab d2 f8 c0 f8 82 | out calculated auth: | 7f 5c 42 11 c7 49 66 f8 19 c4 2c b2 | ikev2_parent_inI2outR2_continue_tail returned STF_OK | #3 spent 6.03 milliseconds in processing: Responder: process IKE_AUTH request in ikev2_process_state_packet() | suspend processing: state #3 connection "esp=null-none" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3376) | start processing: state #4 connection "esp=null-none" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3376) | #4 complete_v2_state_transition() md.from_state=PARENT_R1 md.svm.state[from]=PARENT_R1 UNDEFINED->V2_IPSEC_R with status STF_OK | IKEv2: transition from state STATE_PARENT_R1 to state STATE_V2_IPSEC_R | child state #4: UNDEFINED(ignore) => V2_IPSEC_R(established CHILD SA) | Message ID: updating counters for #4 to 1 after switching state | Message ID: recv #3.#4 request 1; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0 responder.recv=0->1; child: wip.initiator=-1 wip.responder=1->-1 | Message ID: sent #3.#4 response 1; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=0->1 responder.recv=1; child: wip.initiator=-1 wip.responder=-1 | pstats #4 ikev2.child established "esp=null-none" #4: negotiated connection [192.0.2.0-192.0.2.255:0-65535 0] -> [192.0.1.0-192.0.1.255:0-65535 0] | NAT-T: encaps is 'auto' "esp=null-none" #4: STATE_V2_IPSEC_R: IPsec SA established tunnel mode {ESP=>0xa3132e7c <0x22935902 xfrm=NULL-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 444 bytes for STATE_PARENT_R1 through eth1 from 192.1.2.23:500 to 192.1.2.45:500 (using #3) | 2e fb d7 24 4f 0c c8 07 09 df 8d a9 23 63 93 94 | 2e 20 23 20 00 00 00 01 00 00 01 bc 24 00 01 a0 | 53 b7 e8 8c 7b e6 b5 bb 35 72 bf d1 ef 2a cc bd | 9b da 0c 36 90 9e d8 d1 97 97 c0 ee ca 38 ce df | 6e a1 42 13 35 36 19 fd 38 7f 14 46 5c 1d 94 b2 | 96 fe c4 29 61 48 93 50 fa bb be 51 5c 42 c5 d9 | 1c 88 9e 9a 9f bc e4 be b5 8b 76 a3 f2 69 e7 72 | 3f c1 7e bb 56 be 42 19 83 ec 98 b0 60 6a 6e eb | 3c 3a 18 3c 36 fd 6b 42 f1 b7 b7 13 24 c5 d8 bf | 11 9b 3e 5e ac 16 d6 c3 43 f8 c1 d9 be 36 e5 6e | bb 1c 15 90 dc 64 ae 3f 71 ad 66 ec 47 f8 ad e1 | ce 42 74 50 d4 71 8d 2a f2 28 7f 50 f9 dc ab 7e | ac 6e ee df 08 5c fa 5a 9d 5a 6c f7 d2 4c f2 45 | c0 ff 11 fa d4 6b 63 94 9c c9 ac 25 15 b2 4a cf | 14 83 7b ea 7e 64 cb 2c cc ad de 13 ac b5 1a 4d | 59 53 99 b7 44 e5 f8 e8 ca b2 00 60 2f 59 7e 06 | 89 55 a8 00 17 92 51 01 98 f4 01 00 ee dc 50 b6 | c2 aa 1c 08 1a 0d c0 98 3d d9 0d 48 a6 4f 72 74 | b0 a5 e7 10 97 f8 2f 27 4f 21 1b 71 89 17 a0 1e | 3c 2c 32 21 0e f4 04 0c 14 9b 45 4a cc 02 45 ce | 96 86 23 df 2d 51 4f e6 e1 2e d0 60 4e d9 80 a0 | a3 bd 18 b2 36 84 c4 64 78 bb d5 14 15 ad 98 d3 | 03 0a 67 ba c3 7e 3b 78 aa d3 e9 55 24 6c ef 83 | df 49 af 91 f8 ce ca f0 4d 73 7d 8b a6 18 4e 51 | 48 cf 9c 17 71 f1 3b 8e 76 47 4a a6 6c 8e ea 43 | 74 e9 b0 17 f3 5b 7c 8c a4 10 8e 55 d7 39 25 55 | ef fb a0 0a e2 44 66 9f d5 e7 ab d2 f8 c0 f8 82 | 7f 5c 42 11 c7 49 66 f8 19 c4 2c b2 | releasing whack for #4 (sock=fd@-1) | releasing whack and unpending for parent #3 | unpending state #3 connection "esp=null-none" | #4 will start re-keying in 28530 seconds with margin of 270 seconds (attempting re-key) | event_schedule: new EVENT_SA_REKEY-pe@0x5638ac88cea0 | inserting event EVENT_SA_REKEY, timeout in 28530 seconds for #4 | libevent_malloc: new ptr-libevent@0x7fe268006900 size 128 | resume sending helper answer for #3 suppresed complete_v2_state_transition() | #3 spent 6.37 milliseconds in resume sending helper answer | stop processing: state #4 connection "esp=null-none" from 192.1.2.45:500 (in resume_handler() at server.c:833) | libevent_free: release ptr-libevent@0x7fe25c0061a0 | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00445 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00285 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 76 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 2e fb d7 24 4f 0c c8 07 09 df 8d a9 23 63 93 94 | 2e 20 25 08 00 00 00 02 00 00 00 4c 2a 00 00 30 | 1d f6 fa c9 a9 07 b5 10 fb 8e aa a0 2e e4 d4 5a | d4 3c 4a 23 02 be ff 51 b9 fd ae 02 47 89 02 f5 | 6a 56 fa 8c 03 2e 22 3b 6a 90 92 72 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 2e fb d7 24 4f 0c c8 07 | responder cookie: | 09 df 8d a9 23 63 93 94 | next payload type: ISAKMP_NEXT_v2SK (0x2e) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_INFORMATIONAL (0x25) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 2 (0x2) | length: 76 (0x4c) | processing version=2.0 packet with exchange type=ISAKMP_v2_INFORMATIONAL (37) | I am the IKE SA Original Responder receiving an IKEv2 INFORMATIONAL request | State DB: found IKEv2 state #3 in PARENT_R2 (find_v2_ike_sa) | start processing: state #3 connection "esp=null-none" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2016) | State DB: IKEv2 state not found (find_v2_sa_by_responder_wip) | [RE]START processing: state #3 connection "esp=null-none" from 192.1.2.45:500 (in ike_process_packet() at ikev2.c:2064) | #3 st.st_msgid_lastrecv 1 md.hdr.isa_msgid 00000002 | Message ID: #3 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=1 responder.recv=1 | unpacking clear payload | Now let's proceed with payload (ISAKMP_NEXT_v2SK) | ***parse IKEv2 Encryption Payload: | next payload type: ISAKMP_NEXT_v2D (0x2a) | flags: none (0x0) | length: 48 (0x30) | processing payload: ISAKMP_NEXT_v2SK (len=44) | Message ID: start-responder #3 request 2; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=1 responder.recv=1 wip.initiator=-1 wip.responder=-1->2 | #3 in state PARENT_R2: received v2I2, PARENT SA established | data for hmac: 2e fb d7 24 4f 0c c8 07 09 df 8d a9 23 63 93 94 | data for hmac: 2e 20 25 08 00 00 00 02 00 00 00 4c 2a 00 00 30 | data for hmac: 1d f6 fa c9 a9 07 b5 10 fb 8e aa a0 2e e4 d4 5a | data for hmac: d4 3c 4a 23 02 be ff 51 b9 fd ae 02 47 89 02 f5 | calculated auth: 6a 56 fa 8c 03 2e 22 3b 6a 90 92 72 | provided auth: 6a 56 fa 8c 03 2e 22 3b 6a 90 92 72 | authenticator matched | #3 ikev2 ISAKMP_v2_INFORMATIONAL decrypt success | Now let's proceed with payload (ISAKMP_NEXT_v2D) | **parse IKEv2 Delete Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | length: 12 (0xc) | protocol ID: PROTO_v2_ESP (0x3) | SPI size: 4 (0x4) | number of SPIs: 1 (0x1) | processing payload: ISAKMP_NEXT_v2D (len=4) | selected state microcode R2: process INFORMATIONAL Request | Now let's proceed with state specific processing | calling processor R2: process INFORMATIONAL Request | an informational request should send a response | Received an INFORMATIONAL response, updating st_last_liveness, no pending_liveness | **emit ISAKMP Message: | initiator cookie: | 2e fb d7 24 4f 0c c8 07 | responder cookie: | 09 df 8d a9 23 63 93 94 | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_INFORMATIONAL (0x25) | flags: ISAKMP_FLAG_v2_MSG_RESPONSE (0x20) | Message ID: 2 (0x2) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | ***emit IKEv2 Encryption Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'ISAKMP Message'.'next payload type' to current IKEv2 Encryption Payload (46:ISAKMP_NEXT_v2SK) | next payload chain: saving location 'IKEv2 Encryption Payload'.'next payload type' in 'information exchange reply packet' | emitting 16 zero bytes of IV into IKEv2 Encryption Payload | parsing 4 raw bytes of IKEv2 Delete Payload into SPI | SPI a3 13 2e 7c | delete PROTO_v2_ESP SA(0xa3132e7c) | 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(0xa3132e7c) "esp=null-none" #3: received Delete SA payload: delete IPsec State #4 now | pstats #4 ikev2.child deleted completed | suspend processing: state #3 connection "esp=null-none" from 192.1.2.45:500 (in delete_state() at state.c:879) | start processing: state #4 connection "esp=null-none" from 192.1.2.45:500 (in delete_state() at state.c:879) "esp=null-none" #4: deleting other state #4 (STATE_V2_IPSEC_R) aged 0.106s and NOT sending notification | child state #4: V2_IPSEC_R(established CHILD SA) => delete | get_sa_info esp.a3132e7c@192.1.2.45 | get_sa_info esp.22935902@192.1.2.23 "esp=null-none" #4: ESP traffic information: in=84B out=84B | 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@0x7fe268006900 | free_event_entry: release EVENT_SA_REKEY-pe@0x5638ac88cea0 | running updown command "ipsec _updown" for verb down | command executing down-client | executing down-client: PLUTO_VERB='down-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='esp=null-none' 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='1569050243' PLUTO_CONN_POLICY='RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' VTI_ROUTING='no' VTI_SHARED='no' SPI_IN | popen cmd is 1043 chars long | cmd( 0):PLUTO_VERB='down-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='esp=null-none' PL: | cmd( 80):UTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLUTO_MY_: | cmd( 160):ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' PLUTO_: | cmd( 240):MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_: | cmd( 320):REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@west' : | cmd( 400):PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_PEER_CL: | cmd( 480):IENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER: | cmd( 560):_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='1569050243' PLUTO_CONN_POLICY='RSASIG: | cmd( 640):+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KI: | cmd( 720):ND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISC: | cmd( 800):O='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUT: | cmd( 880):O_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' VTI_R: | cmd( 960):OUTING='no' VTI_SHARED='no' SPI_IN=0xa3132e7c SPI_OUT=0x22935902 ipsec _updown 2: | cmd(1040):>&1: | shunt_eroute() called for connection 'esp=null-none' to 'replace with shunt' for rt_kind 'prospective erouted' using protoports 192.0.2.0/24:0 --0->- 192.0.1.0/24:0 | netlink_shunt_eroute for proto 0, and source 192.0.2.0/24:0 dest 192.0.1.0/24:0 | priority calculation of connection "esp=null-none" is 0xfe7e7 | IPsec Sa SPD priority set to 1042407 | delete esp.a3132e7c@192.1.2.45 | netlink response for Del SA esp.a3132e7c@192.1.2.45 included non-error error | priority calculation of connection "esp=null-none" is 0xfe7e7 | delete inbound eroute 192.0.1.0/24:0 --0-> 192.0.2.0/24:0 => unk255.10000@192.1.2.23 (raw_eroute) | raw_eroute result=success | delete esp.22935902@192.1.2.23 | netlink response for Del SA esp.22935902@192.1.2.23 included non-error error | in connection_discard for connection esp=null-none | State DB: deleting IKEv2 state #4 in CHILDSA_DEL | child state #4: CHILDSA_DEL(informational) => UNDEFINED(ignore) | stop processing: state #4 from 192.1.2.45:500 (in delete_state() at state.c:1143) | resume processing: state #3 connection "esp=null-none" 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 22 93 59 02 | emitting length of IKEv2 Delete Payload: 12 | adding 4 bytes of padding (including 1 byte padding-length) | emitting 1 0x00 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x01 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x02 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x03 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 12 zero bytes of length of truncated HMAC/KEY into IKEv2 Encryption Payload | emitting length of IKEv2 Encryption Payload: 48 | emitting length of ISAKMP Message: 76 | data being hmac: 2e fb d7 24 4f 0c c8 07 09 df 8d a9 23 63 93 94 | data being hmac: 2e 20 25 20 00 00 00 02 00 00 00 4c 2a 00 00 30 | data being hmac: d4 e1 c2 fb 25 ad f2 4e 76 bd 0b 0f c4 66 9b 95 | data being hmac: 63 39 6f 6c 16 b6 85 6b 70 52 88 75 4b 14 82 8c | out calculated auth: | 5f 7f e3 db ad 5c ff ce ff 3a fb f6 | sending 76 bytes for reply packet for process_encrypted_informational_ikev2 through eth1 from 192.1.2.23:500 to 192.1.2.45:500 (using #3) | 2e fb d7 24 4f 0c c8 07 09 df 8d a9 23 63 93 94 | 2e 20 25 20 00 00 00 02 00 00 00 4c 2a 00 00 30 | d4 e1 c2 fb 25 ad f2 4e 76 bd 0b 0f c4 66 9b 95 | 63 39 6f 6c 16 b6 85 6b 70 52 88 75 4b 14 82 8c | 5f 7f e3 db ad 5c ff ce ff 3a fb f6 | Message ID: #3 XXX: in process_encrypted_informational_ikev2() hacking around record'n'send bypassing send queue hacking around delete_my_family(); initiator.sent=-1 initiator.recv=-1 responder.sent=1 responder.recv=1 wip.initiator=-1 wip.responder=2 | Message ID: sent #3 response 2; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=1->2 responder.recv=1 wip.initiator=-1 wip.responder=2 | #3 spent 0.719 milliseconds in processing: R2: process INFORMATIONAL Request in ikev2_process_state_packet() | [RE]START processing: state #3 connection "esp=null-none" from 192.1.2.45:500 (in complete_v2_state_transition() at ikev2.c:3376) | #3 complete_v2_state_transition() PARENT_R2->PARENT_R2 with status STF_OK | Message ID: updating counters for #3 to 2 after switching state | Message ID: recv #3 request 2; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=1->2 wip.initiator=-1 wip.responder=2->-1 | Message ID: #3 skipping update_send as nothing to send; initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=2 wip.initiator=-1 wip.responder=-1 "esp=null-none" #3: STATE_PARENT_R2: received v2I2, PARENT SA established | stop processing: state #3 connection "esp=null-none" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2018) | #3 spent 0.915 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.929 milliseconds in comm_handle_cb() reading and processing packet | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00516 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00265 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 76 bytes from 192.1.2.45:500 on eth1 (192.1.2.23:500) | 2e fb d7 24 4f 0c c8 07 09 df 8d a9 23 63 93 94 | 2e 20 25 08 00 00 00 03 00 00 00 4c 2a 00 00 30 | 17 71 c1 1f f2 78 9a a7 85 aa d0 4e 4e 98 7b 78 | a4 b9 86 61 7e 34 9f a2 9b 4d 8a f3 36 e0 24 fd | f9 90 94 f2 3f 1d 32 f0 0e 6e 07 e0 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 2e fb d7 24 4f 0c c8 07 | responder cookie: | 09 df 8d a9 23 63 93 94 | next payload type: ISAKMP_NEXT_v2SK (0x2e) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_INFORMATIONAL (0x25) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 3 (0x3) | length: 76 (0x4c) | processing version=2.0 packet with exchange type=ISAKMP_v2_INFORMATIONAL (37) | I am the IKE SA Original Responder receiving an IKEv2 INFORMATIONAL request | State DB: found IKEv2 state #3 in PARENT_R2 (find_v2_ike_sa) | start processing: state #3 connection "esp=null-none" from 192.1.2.45:500 (in ikev2_process_packet() at ikev2.c:2016) | State DB: IKEv2 state not found (find_v2_sa_by_responder_wip) | [RE]START processing: state #3 connection "esp=null-none" from 192.1.2.45:500 (in ike_process_packet() at ikev2.c:2064) | #3 st.st_msgid_lastrecv 2 md.hdr.isa_msgid 00000003 | Message ID: #3 not a duplicate - message is new; initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=2 | unpacking clear payload | Now let's proceed with payload (ISAKMP_NEXT_v2SK) | ***parse IKEv2 Encryption Payload: | next payload type: ISAKMP_NEXT_v2D (0x2a) | flags: none (0x0) | length: 48 (0x30) | processing payload: ISAKMP_NEXT_v2SK (len=44) | Message ID: start-responder #3 request 3; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=2 wip.initiator=-1 wip.responder=-1->3 | #3 in state PARENT_R2: received v2I2, PARENT SA established | data for hmac: 2e fb d7 24 4f 0c c8 07 09 df 8d a9 23 63 93 94 | data for hmac: 2e 20 25 08 00 00 00 03 00 00 00 4c 2a 00 00 30 | data for hmac: 17 71 c1 1f f2 78 9a a7 85 aa d0 4e 4e 98 7b 78 | data for hmac: a4 b9 86 61 7e 34 9f a2 9b 4d 8a f3 36 e0 24 fd | calculated auth: f9 90 94 f2 3f 1d 32 f0 0e 6e 07 e0 | provided auth: f9 90 94 f2 3f 1d 32 f0 0e 6e 07 e0 | authenticator matched | #3 ikev2 ISAKMP_v2_INFORMATIONAL decrypt success | Now let's proceed with payload (ISAKMP_NEXT_v2D) | **parse IKEv2 Delete Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | length: 8 (0x8) | protocol ID: PROTO_v2_IKE (0x1) | SPI size: 0 (0x0) | number of SPIs: 0 (0x0) | processing payload: ISAKMP_NEXT_v2D (len=0) | selected state microcode R2: process INFORMATIONAL Request | Now let's proceed with state specific processing | calling processor R2: process INFORMATIONAL Request | an informational request should send a response | Received an INFORMATIONAL response, updating st_last_liveness, no pending_liveness | **emit ISAKMP Message: | initiator cookie: | 2e fb d7 24 4f 0c c8 07 | responder cookie: | 09 df 8d a9 23 63 93 94 | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_INFORMATIONAL (0x25) | flags: ISAKMP_FLAG_v2_MSG_RESPONSE (0x20) | Message ID: 3 (0x3) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | ***emit IKEv2 Encryption Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'ISAKMP Message'.'next payload type' to current IKEv2 Encryption Payload (46:ISAKMP_NEXT_v2SK) | next payload chain: saving location 'IKEv2 Encryption Payload'.'next payload type' in 'information exchange reply packet' | emitting 16 zero bytes of IV into IKEv2 Encryption Payload | adding 16 bytes of padding (including 1 byte padding-length) | emitting 1 0x00 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x01 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x02 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x03 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x04 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x05 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x06 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x07 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x08 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x09 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x0a repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x0b repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x0c repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x0d repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x0e repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x0f repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 12 zero bytes of length of truncated HMAC/KEY into IKEv2 Encryption Payload | emitting length of IKEv2 Encryption Payload: 48 | emitting length of ISAKMP Message: 76 | data being hmac: 2e fb d7 24 4f 0c c8 07 09 df 8d a9 23 63 93 94 | data being hmac: 2e 20 25 20 00 00 00 03 00 00 00 4c 00 00 00 30 | data being hmac: 72 44 9f d7 ef c2 95 0b 38 d6 c0 8f 8a a1 dc 62 | data being hmac: 69 d9 a0 e0 fb 77 77 7f f1 ed 02 63 90 01 59 dc | out calculated auth: | 86 2c ed 94 87 76 05 91 f7 3d 8b 78 | sending 76 bytes for reply packet for process_encrypted_informational_ikev2 through eth1 from 192.1.2.23:500 to 192.1.2.45:500 (using #3) | 2e fb d7 24 4f 0c c8 07 09 df 8d a9 23 63 93 94 | 2e 20 25 20 00 00 00 03 00 00 00 4c 00 00 00 30 | 72 44 9f d7 ef c2 95 0b 38 d6 c0 8f 8a a1 dc 62 | 69 d9 a0 e0 fb 77 77 7f f1 ed 02 63 90 01 59 dc | 86 2c ed 94 87 76 05 91 f7 3d 8b 78 | Message ID: #3 XXX: in process_encrypted_informational_ikev2() hacking around record'n'send bypassing send queue hacking around delete_my_family(); initiator.sent=-1 initiator.recv=-1 responder.sent=2 responder.recv=2 wip.initiator=-1 wip.responder=3 | Message ID: sent #3 response 3; ike: initiator.sent=-1 initiator.recv=-1 responder.sent=2->3 responder.recv=2 wip.initiator=-1 wip.responder=3 | State DB: IKEv2 state not found (delete_my_family) | parent state #3: PARENT_R2(established IKE SA) => IKESA_DEL(established IKE SA) | pstats #3 ikev2.ike deleted completed | #3 spent 9.71 milliseconds in total | [RE]START processing: state #3 connection "esp=null-none" from 192.1.2.45:500 (in delete_state() at state.c:879) "esp=null-none" #3: deleting state (STATE_IKESA_DEL) aged 0.141s and NOT sending notification | parent state #3: IKESA_DEL(established IKE SA) => delete | state #3 requesting EVENT_SA_REKEY to be deleted | libevent_free: release ptr-libevent@0x5638ac8876f0 | free_event_entry: release EVENT_SA_REKEY-pe@0x7fe268002b20 | State DB: IKEv2 state not found (flush_incomplete_children) | in connection_discard for connection esp=null-none | State DB: deleting IKEv2 state #3 in IKESA_DEL | parent state #3: IKESA_DEL(established IKE SA) => UNDEFINED(ignore) | unreference key: 0x5638ac7dd8f0 @west cnt 2-- | stop processing: state #3 from 192.1.2.45:500 (in delete_state() at state.c:1143) | in statetime_stop() and could not find #3 | skip start processing: state #0 (in complete_v2_state_transition() at ikev2.c:3376) | #0 complete_v2_state_transition() md.from_state=PARENT_R2 md.svm.state[from]=PARENT_R2 UNDEFINED->PARENT_R2 with status STF_OK | STF_OK but no state object remains | processing: STOP state #0 (in ikev2_process_packet() at ikev2.c:2018) | in statetime_stop() and could not find #3 | stop processing: from 192.1.2.45:500 (in process_md() at demux.c:380) | processing: STOP state #0 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.48 milliseconds in comm_handle_cb() reading and processing packet | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:721) | FOR_EACH_CONNECTION_... in show_connections_status | FOR_EACH_CONNECTION_... in show_connections_status | FOR_EACH_STATE_... in show_states_status (sort_states) | close_any(fd@16) (in whack_process() at rcv_whack.c:700) | spent 0.286 milliseconds in whack | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:721) shutting down | processing: RESET whack log_fd (was fd@16) (in exit_pluto() at plutomain.c:1825) | pluto_sd: executing action action: stopping(6), status 0 | certs and keys locked by 'free_preshared_secrets' forgetting secrets | certs and keys unlocked by 'free_preshared_secrets' | unreference key: 0x5638ac7e66c0 @east cnt 1-- | unreference key: 0x5638ac7dd8f0 @west cnt 1-- | start processing: connection "esp=null-none" (in delete_connection() at connections.c:189) | Deleting states for connection - including all other IPsec SA's of this IKE SA | pass 0 | FOR_EACH_STATE_... in foreach_state_by_connection_func_delete | pass 1 | FOR_EACH_STATE_... in foreach_state_by_connection_func_delete | shunt_eroute() called for connection 'esp=null-none' to 'delete' for rt_kind 'unrouted' using protoports 192.0.2.0/24:0 --0->- 192.0.1.0/24:0 | netlink_shunt_eroute for proto 0, and source 192.0.2.0/24:0 dest 192.0.1.0/24:0 | priority calculation of connection "esp=null-none" is 0xfe7e7 | priority calculation of connection "esp=null-none" is 0xfe7e7 | FOR_EACH_CONNECTION_... in route_owner | conn esp=null-none mark 0/00000000, 0/00000000 vs | conn esp=null-none mark 0/00000000, 0/00000000 | route owner of "esp=null-none" unrouted: NULL | running updown command "ipsec _updown" for verb unroute | command executing unroute-client | executing unroute-client: PLUTO_VERB='unroute-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='esp=null-none' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLUTO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16388' PLUTO_SA_TYPE='none' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@west' PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' VTI_ROUTING='no' VTI_SHARED='no' SPI_IN=0 | popen cmd is 1024 chars long | cmd( 0):PLUTO_VERB='unroute-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='esp=null-none': | cmd( 80): PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLUTO_: | cmd( 160):MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' PLU: | cmd( 240):TO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_: | cmd( 320):SA_REQID='16388' PLUTO_SA_TYPE='none' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@we: | cmd( 400):st' PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_PEE: | cmd( 480):R_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_: | cmd( 560):PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='RSASIG+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=0x0 SPI_OUT=0x0 ipsec _updown 2>&1: "esp=null-none": unroute-client output: Error: Peer netns reference is invalid. "esp=null-none": unroute-client output: Error: Peer netns reference is invalid. "esp=null-none": unroute-client output: Error: Peer netns reference is invalid. "esp=null-none": unroute-client output: Error: Peer netns reference is invalid. "esp=null-none": unroute-client output: Error: Peer netns reference is invalid. "esp=null-none": unroute-client output: Error: Peer netns reference is invalid. "esp=null-none": unroute-client output: Error: Peer netns reference is invalid. "esp=null-none": unroute-client output: Error: Peer netns reference is invalid. "esp=null-none": unroute-client output: Error: Peer netns reference is invalid. "esp=null-none": unroute-client output: Error: Peer netns reference is invalid. "esp=null-none": unroute-client output: Error: Peer netns reference is invalid. "esp=null-none": unroute-client output: Error: Peer netns reference is invalid. "esp=null-none": unroute-client output: Error: Peer netns reference is invalid. "esp=null-none": unroute-client output: Error: Peer netns reference is invalid. "esp=null-none": unroute-client output: Error: Peer netns reference is invalid. "esp=null-none": unroute-client output: Error: Peer netns reference is invalid. | free hp@0x5638ac84f3a0 | flush revival: connection 'esp=null-none' wasn't on the list | stop processing: connection "esp=null-none" (in discard_connection() at connections.c:249) | crl fetch request list locked by 'free_crl_fetch' | crl fetch request list unlocked by 'free_crl_fetch' shutting down interface lo/lo 127.0.0.1:4500 shutting down interface lo/lo 127.0.0.1:500 shutting down interface eth0/eth0 192.0.2.254:4500 shutting down interface eth0/eth0 192.0.2.254:500 shutting down interface eth1/eth1 192.1.2.23:4500 shutting down interface eth1/eth1 192.1.2.23:500 | FOR_EACH_STATE_... in delete_states_dead_interfaces | libevent_free: release ptr-libevent@0x5638ac882a20 | free_event_entry: release EVENT_NULL-pe@0x5638ac86bc20 | libevent_free: release ptr-libevent@0x5638ac882b10 | free_event_entry: release EVENT_NULL-pe@0x5638ac882ad0 | libevent_free: release ptr-libevent@0x5638ac882c00 | free_event_entry: release EVENT_NULL-pe@0x5638ac882bc0 | libevent_free: release ptr-libevent@0x5638ac882cf0 | free_event_entry: release EVENT_NULL-pe@0x5638ac882cb0 | libevent_free: release ptr-libevent@0x5638ac882de0 | free_event_entry: release EVENT_NULL-pe@0x5638ac882da0 | libevent_free: release ptr-libevent@0x5638ac882ed0 | free_event_entry: release EVENT_NULL-pe@0x5638ac882e90 | FOR_EACH_UNORIENTED_CONNECTION_... in check_orientations | libevent_free: release ptr-libevent@0x5638ac882380 | free_event_entry: release EVENT_NULL-pe@0x5638ac86aea0 | libevent_free: release ptr-libevent@0x5638ac877e10 | free_event_entry: release EVENT_NULL-pe@0x5638ac86b150 | libevent_free: release ptr-libevent@0x5638ac877d80 | free_event_entry: release EVENT_NULL-pe@0x5638ac8708b0 | global timer EVENT_REINIT_SECRET uninitialized | global timer EVENT_SHUNT_SCAN uninitialized | global timer EVENT_PENDING_DDNS uninitialized | global timer EVENT_PENDING_PHASE2 uninitialized | global timer EVENT_CHECK_CRLS uninitialized | global timer EVENT_REVIVE_CONNS uninitialized | global timer EVENT_FREE_ROOT_CERTS uninitialized | global timer EVENT_RESET_LOG_RATE_LIMIT uninitialized | global timer EVENT_NAT_T_KEEPALIVE uninitialized | libevent_free: release ptr-libevent@0x5638ac882450 | signal event handler PLUTO_SIGCHLD uninstalled | libevent_free: release ptr-libevent@0x5638ac882530 | signal event handler PLUTO_SIGTERM uninstalled | libevent_free: release ptr-libevent@0x5638ac8825f0 | signal event handler PLUTO_SIGHUP uninstalled | libevent_free: release ptr-libevent@0x5638ac877080 | signal event handler PLUTO_SIGSYS uninstalled | releasing event base | libevent_free: release ptr-libevent@0x5638ac8826b0 | libevent_free: release ptr-libevent@0x5638ac857cc0 | libevent_free: release ptr-libevent@0x5638ac866440 | libevent_free: release ptr-libevent@0x5638ac866510 | libevent_free: release ptr-libevent@0x5638ac866460 | libevent_free: release ptr-libevent@0x5638ac882410 | libevent_free: release ptr-libevent@0x5638ac8824f0 | libevent_free: release ptr-libevent@0x5638ac8664f0 | libevent_free: release ptr-libevent@0x5638ac86bb20 | libevent_free: release ptr-libevent@0x5638ac866560 | libevent_free: release ptr-libevent@0x5638ac882f60 | libevent_free: release ptr-libevent@0x5638ac882e70 | libevent_free: release ptr-libevent@0x5638ac882d80 | libevent_free: release ptr-libevent@0x5638ac882c90 | libevent_free: release ptr-libevent@0x5638ac882ba0 | libevent_free: release ptr-libevent@0x5638ac882ab0 | libevent_free: release ptr-libevent@0x5638ac7e8370 | libevent_free: release ptr-libevent@0x5638ac8825d0 | libevent_free: release ptr-libevent@0x5638ac882510 | libevent_free: release ptr-libevent@0x5638ac882430 | libevent_free: release ptr-libevent@0x5638ac882690 | libevent_free: release ptr-libevent@0x5638ac7e65b0 | libevent_free: release ptr-libevent@0x5638ac866480 | libevent_free: release ptr-libevent@0x5638ac8664b0 | libevent_free: release ptr-libevent@0x5638ac8661a0 | releasing global libevent data | libevent_free: release ptr-libevent@0x5638ac864e50 | libevent_free: release ptr-libevent@0x5638ac864e80 | libevent_free: release ptr-libevent@0x5638ac866170