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:14910 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@0x561608387090 size 40 | libevent_malloc: new ptr-libevent@0x561608388340 size 40 | libevent_malloc: new ptr-libevent@0x561608388370 size 40 | creating event base | libevent_malloc: new ptr-libevent@0x561608388300 size 56 | libevent_malloc: new ptr-libevent@0x5616083883a0 size 664 | libevent_malloc: new ptr-libevent@0x561608388640 size 24 | libevent_malloc: new ptr-libevent@0x56160837ae90 size 384 | libevent_malloc: new ptr-libevent@0x561608388660 size 16 | libevent_malloc: new ptr-libevent@0x561608388680 size 40 | libevent_malloc: new ptr-libevent@0x5616083886b0 size 48 | libevent_realloc: new ptr-libevent@0x56160830a370 size 256 | libevent_malloc: new ptr-libevent@0x5616083886f0 size 16 | libevent_free: release ptr-libevent@0x561608388300 | libevent initialized | libevent_realloc: new ptr-libevent@0x561608388710 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 started thread for crypto helper 3 started thread for crypto helper 4 started thread for crypto helper 5 started thread for crypto helper 6 | checking IKEv1 state table | MAIN_R0: category: half-open IKE SA flags: 0: | -> MAIN_R1 EVENT_SO_DISCARD | MAIN_I1: category: half-open IKE SA flags: 0: | -> MAIN_I2 EVENT_RETRANSMIT | MAIN_R1: category: open IKE SA flags: 200: | -> MAIN_R2 EVENT_RETRANSMIT | -> UNDEFINED EVENT_RETRANSMIT | -> UNDEFINED EVENT_RETRANSMIT | MAIN_I2: category: open IKE SA flags: 0: | -> MAIN_I3 EVENT_RETRANSMIT | -> UNDEFINED EVENT_RETRANSMIT | -> UNDEFINED EVENT_RETRANSMIT | MAIN_R2: category: open IKE SA flags: 0: | -> MAIN_R3 EVENT_SA_REPLACE | -> MAIN_R3 EVENT_SA_REPLACE | -> UNDEFINED EVENT_SA_REPLACE | MAIN_I3: category: open IKE SA flags: 0: | -> MAIN_I4 EVENT_SA_REPLACE | -> MAIN_I4 EVENT_SA_REPLACE | -> UNDEFINED EVENT_SA_REPLACE | MAIN_R3: category: established IKE SA flags: 200: | -> UNDEFINED EVENT_NULL | MAIN_I4: category: established IKE SA flags: 0: | -> UNDEFINED EVENT_NULL | AGGR_R0: category: half-open IKE SA flags: 0: | -> AGGR_R1 EVENT_SO_DISCARD | AGGR_I1: category: half-open IKE SA flags: 0: | -> AGGR_I2 EVENT_SA_REPLACE | -> AGGR_I2 EVENT_SA_REPLACE | AGGR_R1: category: open IKE SA flags: 200: | -> AGGR_R2 EVENT_SA_REPLACE | -> AGGR_R2 EVENT_SA_REPLACE | AGGR_I2: category: established IKE SA flags: 200: | -> UNDEFINED EVENT_NULL | AGGR_R2: category: established IKE SA flags: 0: | -> UNDEFINED EVENT_NULL | QUICK_R0: category: established CHILD SA flags: 0: | -> QUICK_R1 EVENT_RETRANSMIT | QUICK_I1: category: established CHILD SA flags: 0: | -> QUICK_I2 EVENT_SA_REPLACE | QUICK_R1: category: established CHILD SA flags: 0: | -> QUICK_R2 EVENT_SA_REPLACE | QUICK_I2: category: established CHILD SA flags: 200: | -> UNDEFINED EVENT_NULL | QUICK_R2: category: established CHILD SA flags: 0: | -> UNDEFINED EVENT_NULL | INFO: category: informational flags: 0: | -> UNDEFINED EVENT_NULL | INFO_PROTECTED: category: informational flags: 0: | -> UNDEFINED EVENT_NULL | XAUTH_R0: category: established IKE SA flags: 0: | -> XAUTH_R1 EVENT_NULL | XAUTH_R1: category: established IKE SA flags: 0: | -> MAIN_R3 EVENT_SA_REPLACE | MODE_CFG_R0: category: informational flags: 0: | -> MODE_CFG_R1 EVENT_SA_REPLACE | MODE_CFG_R1: category: established IKE SA flags: 0: | -> MODE_CFG_R2 EVENT_SA_REPLACE | MODE_CFG_R2: category: established IKE SA flags: 0: | starting up helper thread 5 | -> 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) | starting up helper thread 3 | -> PARENT_I2 EVENT_RETRANSMIT send-request (Initiator: process IKE_SA_INIT reply, initiate IKE_AUTH) | starting up helper thread 1 | 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) | status value returned by setting the priority of this thread (crypto helper 3) 22 | crypto helper 3 waiting (nothing to do) | -> PARENT_I2 EVENT_NULL (Initiator: process UNSUPPORTED_CRITICAL_PAYLOAD AUTH notification) | status value returned by setting the priority of this thread (crypto helper 1) 22 | crypto helper 1 waiting (nothing to do) | -> V2_IPSEC_I EVENT_SA_REPLACE (Initiator: process IKE_AUTH response) | starting up helper thread 0 | status value returned by setting the priority of this thread (crypto helper 0) 22 | crypto helper 0 waiting (nothing to do) | -> 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: | status value returned by setting the priority of this thread (crypto helper 5) 22 | -> PARENT_R1 EVENT_SA_REPLACE send-request (Responder: process IKE_AUTH request (no SKEYSEED)) | crypto helper 5 waiting (nothing to do) | -> 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@0x56160838dd10 | libevent_malloc: new ptr-libevent@0x561608399e30 size 128 | libevent_malloc: new ptr-libevent@0x56160838cff0 size 16 | add_fd_read_event_handler: new KERNEL_ROUTE_FD-pe@0x56160838dcd0 | libevent_malloc: new ptr-libevent@0x561608399ec0 size 128 | libevent_malloc: new ptr-libevent@0x56160838d010 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@0x561608388300 | libevent_malloc: new ptr-libevent@0x5616083a4430 size 128 | libevent_malloc: new ptr-libevent@0x5616083a44c0 size 16 | libevent_realloc: new ptr-libevent@0x5616083085b0 size 256 | libevent_malloc: new ptr-libevent@0x5616083a44e0 size 8 | libevent_realloc: new ptr-libevent@0x561608399230 size 144 | libevent_malloc: new ptr-libevent@0x5616083a4500 size 152 | libevent_malloc: new ptr-libevent@0x5616083a45a0 size 16 | signal event handler PLUTO_SIGCHLD installed | libevent_malloc: new ptr-libevent@0x5616083a45c0 size 8 | libevent_malloc: new ptr-libevent@0x5616083a45e0 size 152 | signal event handler PLUTO_SIGTERM installed | libevent_malloc: new ptr-libevent@0x5616083a4680 size 8 | libevent_malloc: new ptr-libevent@0x5616083a46a0 size 152 | signal event handler PLUTO_SIGHUP installed | libevent_malloc: new ptr-libevent@0x5616083a4740 size 8 | libevent_realloc: release ptr-libevent@0x561608399230 | libevent_realloc: new ptr-libevent@0x5616083a4760 size 256 | libevent_malloc: new ptr-libevent@0x561608399230 size 152 | signal event handler PLUTO_SIGSYS installed | created addconn helper (pid:15035) using fork+execve | forked child 15035 | 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 | starting up helper thread 2 | status value returned by setting the priority of this thread (crypto helper 2) 22 | crypto helper 2 waiting (nothing to do) | Inspecting interface lo | found lo with address 127.0.0.1 | Inspecting interface eth0 | found eth0 with address 192.0.2.254 | Inspecting interface eth1 | found eth1 with address 192.1.2.23 Kernel supports NIC esp-hw-offload adding interface eth1/eth1 (esp-hw-offload not supported by kernel) 192.1.2.23:500 | NAT-Traversal: Trying sockopt style NAT-T | NAT-Traversal: ESPINUDP(2) setup succeeded for sockopt style NAT-T family IPv4 adding interface eth1/eth1 192.1.2.23:4500 adding interface eth0/eth0 (esp-hw-offload not supported by kernel) 192.0.2.254:500 | NAT-Traversal: Trying sockopt style NAT-T | NAT-Traversal: ESPINUDP(2) setup succeeded for sockopt style NAT-T family IPv4 adding interface eth0/eth0 192.0.2.254:4500 adding interface lo/lo (esp-hw-offload not supported by kernel) 127.0.0.1:500 | NAT-Traversal: Trying sockopt style NAT-T | NAT-Traversal: ESPINUDP(2) setup succeeded for sockopt style NAT-T family IPv4 adding interface lo/lo 127.0.0.1:4500 | no interfaces to sort | FOR_EACH_UNORIENTED_CONNECTION_... in check_orientations | add_fd_read_event_handler: new ethX-pe@0x5616083a4ad0 | libevent_malloc: new ptr-libevent@0x5616083a4b10 size 128 | libevent_malloc: new ptr-libevent@0x5616083a4ba0 size 16 | setup callback for interface lo 127.0.0.1:4500 fd 22 | add_fd_read_event_handler: new ethX-pe@0x5616083a4bc0 | libevent_malloc: new ptr-libevent@0x5616083a4c00 size 128 | libevent_malloc: new ptr-libevent@0x5616083a4c90 size 16 | setup callback for interface lo 127.0.0.1:500 fd 21 | add_fd_read_event_handler: new ethX-pe@0x5616083a4cb0 | libevent_malloc: new ptr-libevent@0x5616083a4cf0 size 128 | libevent_malloc: new ptr-libevent@0x5616083a4d80 size 16 | setup callback for interface eth0 192.0.2.254:4500 fd 20 | add_fd_read_event_handler: new ethX-pe@0x5616083a4da0 | libevent_malloc: new ptr-libevent@0x5616083a4de0 size 128 | libevent_malloc: new ptr-libevent@0x5616083a4e70 size 16 | setup callback for interface eth0 192.0.2.254:500 fd 19 | add_fd_read_event_handler: new ethX-pe@0x5616083a4e90 | libevent_malloc: new ptr-libevent@0x5616083a4ed0 size 128 | libevent_malloc: new ptr-libevent@0x5616083a4f60 size 16 | setup callback for interface eth1 192.1.2.23:4500 fd 18 | add_fd_read_event_handler: new ethX-pe@0x5616083a4f80 | libevent_malloc: new ptr-libevent@0x5616083a4fc0 size 128 | libevent_malloc: new ptr-libevent@0x5616083a5050 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.563 milliseconds in whack | 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) | starting up helper thread 6 | status value returned by setting the priority of this thread (crypto helper 6) 22 | crypto helper 6 waiting (nothing to do) | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:721) | pluto_sd: executing action action: reloading(4), status 0 listening for IKE messages | Inspecting interface lo | found lo with address 127.0.0.1 | Inspecting interface eth0 | found eth0 with address 192.0.2.254 | Inspecting interface eth1 | found eth1 with address 192.1.2.23 | no interfaces to sort | libevent_free: release ptr-libevent@0x5616083a4b10 | free_event_entry: release EVENT_NULL-pe@0x5616083a4ad0 | add_fd_read_event_handler: new ethX-pe@0x5616083a4ad0 | libevent_malloc: new ptr-libevent@0x5616083a4b10 size 128 | setup callback for interface lo 127.0.0.1:4500 fd 22 | libevent_free: release ptr-libevent@0x5616083a4c00 | free_event_entry: release EVENT_NULL-pe@0x5616083a4bc0 | add_fd_read_event_handler: new ethX-pe@0x5616083a4bc0 | libevent_malloc: new ptr-libevent@0x5616083a4c00 size 128 | setup callback for interface lo 127.0.0.1:500 fd 21 | libevent_free: release ptr-libevent@0x5616083a4cf0 | free_event_entry: release EVENT_NULL-pe@0x5616083a4cb0 | add_fd_read_event_handler: new ethX-pe@0x5616083a4cb0 | libevent_malloc: new ptr-libevent@0x5616083a4cf0 size 128 | setup callback for interface eth0 192.0.2.254:4500 fd 20 | libevent_free: release ptr-libevent@0x5616083a4de0 | free_event_entry: release EVENT_NULL-pe@0x5616083a4da0 | add_fd_read_event_handler: new ethX-pe@0x5616083a4da0 | libevent_malloc: new ptr-libevent@0x5616083a4de0 size 128 | setup callback for interface eth0 192.0.2.254:500 fd 19 | libevent_free: release ptr-libevent@0x5616083a4ed0 | free_event_entry: release EVENT_NULL-pe@0x5616083a4e90 | add_fd_read_event_handler: new ethX-pe@0x5616083a4e90 | libevent_malloc: new ptr-libevent@0x5616083a4ed0 size 128 | setup callback for interface eth1 192.1.2.23:4500 fd 18 | libevent_free: release ptr-libevent@0x5616083a4fc0 | free_event_entry: release EVENT_NULL-pe@0x5616083a4f80 | add_fd_read_event_handler: new ethX-pe@0x5616083a4f80 | libevent_malloc: new ptr-libevent@0x5616083a4fc0 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.366 milliseconds in whack | processing signal PLUTO_SIGCHLD | waitpid returned pid 15035 (exited with status 0) | reaped addconn helper child (status 0) | waitpid returned ECHILD (no child processes left) | spent 0.0155 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.0656 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@0x561608371440 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.186 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.124 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.0981 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.315 milliseconds in whack | spent 0.00268 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) | ef 93 d1 42 04 96 b9 3b 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 a4 2f f2 24 89 2b a1 96 e1 33 9f 52 | d3 de 79 68 b5 ad 01 79 92 2f 28 0e eb 00 8f c3 | ac a3 f0 2a d4 d3 c0 77 fd ae 50 00 9c d1 a9 2d | 37 7a 91 c7 56 09 65 8c 56 25 20 62 69 f6 ad c6 | 6a 03 2f b4 1f 6d 98 25 4e 00 15 b5 75 32 bc 86 | bb 98 95 fb 5f 1a ed 06 72 3f 65 a0 8d 99 be dc | 41 3a e3 13 9e 8c 4a 24 51 d3 db 5b df 48 55 18 | a9 94 c1 9e d3 1d 12 53 03 00 19 98 af 41 68 27 | e5 cc fe 10 3e 8e 18 1b ed 08 02 6a e1 71 fd b2 | 68 d7 19 d2 6f 89 8a 09 5c db 95 72 63 f9 e2 b8 | 5e 0d c9 45 03 32 6e 66 7d 90 89 10 6b 92 94 6a | 95 c6 e0 cd 6d 86 87 ae 07 61 63 51 5f cd 93 a6 | 77 54 4c 53 2e aa 49 88 6e 4d c5 14 ca 8d b2 81 | 36 5b 81 79 c0 08 83 1a 10 ef 50 24 3c f1 77 3a | a9 21 f7 49 94 2d 1d f0 e4 31 af 14 67 59 00 8a | cd 7e 5c dd 00 13 07 e4 c6 f2 7f 55 fd cf 6b e9 | 76 6a 28 6f 29 00 00 24 bd c8 72 40 af 15 3b 0a | c0 aa 0c e7 12 33 3f 77 e3 04 0a 23 98 41 6e 21 | 3f a7 3f 97 b5 e8 89 26 29 00 00 08 00 00 40 2e | 29 00 00 1c 00 00 40 04 f8 a6 fe 02 81 d3 40 50 | 15 73 07 45 3a ab 90 26 fe ea c3 07 00 00 00 1c | 00 00 40 05 62 be 37 b5 e2 f4 3c d3 91 6f 16 79 | eb 94 37 03 b6 b5 64 0c | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | ef 93 d1 42 04 96 b9 3b | 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 0x5616083a7c80 | 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=0x561607b6a7a0(20) | natd_hash: icookie= ef 93 d1 42 04 96 b9 3b | natd_hash: rcookie= 00 00 00 00 00 00 00 00 | natd_hash: ip= c0 01 02 17 | natd_hash: port= 01 f4 | natd_hash: hash= 62 be 37 b5 e2 f4 3c d3 91 6f 16 79 eb 94 37 03 | natd_hash: hash= b6 b5 64 0c | natd_hash: rcookie is zero | natd_hash: hasher=0x561607b6a7a0(20) | natd_hash: icookie= ef 93 d1 42 04 96 b9 3b | 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= f8 a6 fe 02 81 d3 40 50 15 73 07 45 3a ab 90 26 | natd_hash: hash= fe ea c3 07 | 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@0x5616083a6800 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #1 | libevent_malloc: new ptr-libevent@0x5616083a6320 size 128 | #1 spent 0.194 milliseconds in processing: Respond to IKE_SA_INIT in ikev2_process_state_packet() | crypto helper 3 resuming | [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 3 starting work-order 1 for state #1 | #1 complete_v2_state_transition() PARENT_R0->PARENT_R1 with status STF_SUSPEND | crypto helper 3 doing build KE and nonce (ikev2_inI1outR1 KE); request ID 1 | suspending state #1 and saving MD | #1 is busy; has a suspended MD | [RE]START processing: state #1 connection "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.547 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.558 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.000685 seconds | (#1) spent 0.689 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@0x7f1fa4006900 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 0x561607a94630 | ikev2_parent_inI1outR1_continue for #1: calculated ke+nonce, sending R1 | **emit ISAKMP Message: | initiator cookie: | ef 93 d1 42 04 96 b9 3b | responder cookie: | 47 d8 84 3f 29 a3 4d 9c | 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 82 22 75 ec 51 54 0b f2 4d af 68 6b d5 31 7e ea | ikev2 g^x da ed 01 75 99 98 bf eb 91 52 e2 a8 de ef 7b 17 | ikev2 g^x 80 41 5a 63 82 43 a9 ca e8 af 59 62 da 83 55 0e | ikev2 g^x 62 56 6d 1d 04 03 e0 56 14 bb 87 13 cb f1 00 b9 | ikev2 g^x cf 62 ae 6f 96 1a 60 bd 6a 63 ca 44 44 ab 7d 54 | ikev2 g^x 39 fe e2 a2 b2 87 24 84 67 a2 2d 7e aa 68 c3 c1 | ikev2 g^x 4e 1e 95 f6 0d 09 0b 45 b7 60 8a e2 1b a6 05 71 | ikev2 g^x b9 a4 ed 63 c7 2c 1c 23 a6 25 f0 7c c5 c8 86 bf | ikev2 g^x 30 ef cc 8f 35 14 52 3b aa 25 10 6a e5 aa d9 2c | ikev2 g^x 55 df 81 39 a3 48 5e d1 40 7e 27 63 6f 78 37 c9 | ikev2 g^x 5f 7e 4a 64 64 c9 5d 40 8a ca 54 bb 60 6c bd b6 | ikev2 g^x 50 45 0a 0e 16 05 e3 ba ef c6 a8 de c3 06 a2 45 | ikev2 g^x 99 93 15 b2 69 35 d8 cb 37 61 c8 b6 78 9e 1e d4 | ikev2 g^x 1a e6 4b 6f 2b 5d 7b 1e 6d 5c 85 79 55 89 4f 78 | ikev2 g^x ee 7b e4 97 90 ae 25 80 20 5b 55 1d 87 48 44 f8 | ikev2 g^x 43 ac ed 86 10 08 6c e5 7a 77 5a 0d 31 95 a0 88 | 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 75 a8 f5 e0 a8 f4 59 a3 78 ea 2f 74 c6 10 52 89 | IKEv2 nonce cd 55 41 0e 50 d2 00 ea b9 fe e9 70 a6 b8 f5 df | emitting length of IKEv2 Nonce Payload: 36 | Adding a v2N Payload | ***emit IKEv2 Notify Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | Notify Message Type: v2N_IKEV2_FRAGMENTATION_SUPPORTED (0x402e) | next payload chain: setting previous 'IKEv2 Nonce Payload'.'next payload type' to current IKEv2 Notify Payload (41:ISAKMP_NEXT_v2N) | next payload chain: saving location 'IKEv2 Notify Payload'.'next payload type' in 'reply packet' | emitting length of IKEv2 Notify Payload: 8 | NAT-Traversal support [enabled] add v2N payloads. | natd_hash: hasher=0x561607b6a7a0(20) | natd_hash: icookie= ef 93 d1 42 04 96 b9 3b | natd_hash: rcookie= 47 d8 84 3f 29 a3 4d 9c | natd_hash: ip= c0 01 02 17 | natd_hash: port= 01 f4 | natd_hash: hash= b4 ed 5f ff 2a 98 b2 55 ba 6a 69 b7 49 1d 79 3b | natd_hash: hash= d7 95 ea 2d | Adding a v2N Payload | ***emit IKEv2 Notify Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | Notify Message Type: v2N_NAT_DETECTION_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 b4 ed 5f ff 2a 98 b2 55 ba 6a 69 b7 49 1d 79 3b | Notify data d7 95 ea 2d | emitting length of IKEv2 Notify Payload: 28 | natd_hash: hasher=0x561607b6a7a0(20) | natd_hash: icookie= ef 93 d1 42 04 96 b9 3b | natd_hash: rcookie= 47 d8 84 3f 29 a3 4d 9c | natd_hash: ip= c0 01 02 2d | natd_hash: port= 01 f4 | natd_hash: hash= 39 7f b8 84 07 44 8f 56 bd dd f1 26 40 0b 96 1c | natd_hash: hash= 72 aa 7b 46 | 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 39 7f b8 84 07 44 8f 56 bd dd f1 26 40 0b 96 1c | Notify data 72 aa 7b 46 | 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) | ef 93 d1 42 04 96 b9 3b 47 d8 84 3f 29 a3 4d 9c | 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 82 22 75 ec 51 54 0b f2 4d af 68 6b | d5 31 7e ea da ed 01 75 99 98 bf eb 91 52 e2 a8 | de ef 7b 17 80 41 5a 63 82 43 a9 ca e8 af 59 62 | da 83 55 0e 62 56 6d 1d 04 03 e0 56 14 bb 87 13 | cb f1 00 b9 cf 62 ae 6f 96 1a 60 bd 6a 63 ca 44 | 44 ab 7d 54 39 fe e2 a2 b2 87 24 84 67 a2 2d 7e | aa 68 c3 c1 4e 1e 95 f6 0d 09 0b 45 b7 60 8a e2 | 1b a6 05 71 b9 a4 ed 63 c7 2c 1c 23 a6 25 f0 7c | c5 c8 86 bf 30 ef cc 8f 35 14 52 3b aa 25 10 6a | e5 aa d9 2c 55 df 81 39 a3 48 5e d1 40 7e 27 63 | 6f 78 37 c9 5f 7e 4a 64 64 c9 5d 40 8a ca 54 bb | 60 6c bd b6 50 45 0a 0e 16 05 e3 ba ef c6 a8 de | c3 06 a2 45 99 93 15 b2 69 35 d8 cb 37 61 c8 b6 | 78 9e 1e d4 1a e6 4b 6f 2b 5d 7b 1e 6d 5c 85 79 | 55 89 4f 78 ee 7b e4 97 90 ae 25 80 20 5b 55 1d | 87 48 44 f8 43 ac ed 86 10 08 6c e5 7a 77 5a 0d | 31 95 a0 88 29 00 00 24 75 a8 f5 e0 a8 f4 59 a3 | 78 ea 2f 74 c6 10 52 89 cd 55 41 0e 50 d2 00 ea | b9 fe e9 70 a6 b8 f5 df 29 00 00 08 00 00 40 2e | 29 00 00 1c 00 00 40 04 b4 ed 5f ff 2a 98 b2 55 | ba 6a 69 b7 49 1d 79 3b d7 95 ea 2d 00 00 00 1c | 00 00 40 05 39 7f b8 84 07 44 8f 56 bd dd f1 26 | 40 0b 96 1c 72 aa 7b 46 | state #1 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x5616083a6320 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x5616083a6800 | event_schedule: new EVENT_SO_DISCARD-pe@0x5616083a6800 | inserting event EVENT_SO_DISCARD, timeout in 200 seconds for #1 | libevent_malloc: new ptr-libevent@0x5616083a6320 size 128 | resume sending helper answer for #1 suppresed complete_v2_state_transition() | #1 spent 0.441 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@0x7f1fa4006900 | spent 0.00241 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) | ef 93 d1 42 04 96 b9 3b 47 d8 84 3f 29 a3 4d 9c | 2e 20 23 08 00 00 00 01 00 00 01 cc 23 00 01 b0 | 0f 26 86 ee 0f 63 cf f5 2b 54 94 ed a2 c8 29 47 | f4 6a 09 05 37 f8 4c 4b 3c 82 8b 9e 5b 10 ca ba | c9 ed 02 9d bb b2 0d a4 4d ef 03 62 a6 59 3b d7 | 5a 78 65 c0 f0 81 77 8f 61 ab ef 31 35 d5 3f 60 | b4 c3 57 26 d2 3c 21 3d f1 3c 80 ed 64 93 a3 83 | 7d fd 74 a3 b8 2e 5e 99 db 9e 37 31 f4 33 4f a9 | 94 95 8e 70 1f 92 66 8c 94 9c 91 a3 48 66 16 2b | 3a ba 44 a5 6a 56 8d a6 e6 a9 94 10 6d 72 c6 bc | 1a 83 b4 f3 5a 40 c1 83 ad 75 eb eb 5d fb 1b bb | da 11 e5 8f 27 15 9f b9 18 0a 8a 29 1e 05 cc 72 | b5 21 55 39 01 cf c2 56 c9 b9 cb 15 ff 34 bf 9b | 74 70 9c be 58 a8 0f 64 02 01 69 b1 37 c0 06 b2 | 77 81 17 e8 e8 c8 86 4f 2a d7 26 83 a4 f9 ce 16 | 89 25 3e 74 af 8f 83 98 12 ff 7f c0 40 d5 12 06 | 10 2a bc 20 4d dc e1 bc e1 cd 73 7c 66 eb ca 5c | c6 27 39 16 9d 67 1f d5 a1 80 9d dd bb c6 95 91 | 7f 37 37 32 33 b2 c8 96 fe c7 bc 60 f1 29 bd 4e | d9 01 5d 7c 6a 2c 1b 64 28 27 3a ce 2e 0e cd 4c | 1f 3f e8 7c a3 0c 6f 69 9b ba ab c4 d1 03 c5 01 | b9 1f b1 cf b2 2b c7 85 a3 2b 36 76 e0 4d 40 3e | 9c d9 c8 6d c3 31 6e 59 3f d9 b2 e3 62 b2 71 0b | 34 c0 84 68 7c 8b 7b e1 eb 5f 5f e9 b8 7f 62 24 | 2d 05 a3 7d 09 9b 3d 99 08 d7 12 0a a2 e5 d6 c2 | c6 3e e8 aa 55 be 0e 09 da 2a 36 7c fb 5e 84 c9 | 83 af c4 0d ed 32 2a 84 8f 3f be 01 d3 29 3e 9a | bb d9 d2 12 9e a0 b5 8b 58 0b 9f 21 7e 1e 4e c0 | ae 4d 16 8e 39 90 66 62 ae 6c f7 80 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | ef 93 d1 42 04 96 b9 3b | responder cookie: | 47 d8 84 3f 29 a3 4d 9c | 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@0x5616083a6320 | free_event_entry: release EVENT_SO_DISCARD-pe@0x5616083a6800 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x5616083a6800 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #1 | libevent_malloc: new ptr-libevent@0x5616083a6320 size 128 | #1 spent 0.0288 milliseconds in processing: Responder: process IKE_AUTH request (no SKEYSEED) in ikev2_process_state_packet() | crypto helper 1 resuming | crypto helper 1 starting work-order 2 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) | crypto helper 1 doing compute dh (V2) (ikev2_inI2outR2 KE); request ID 2 | #1 complete_v2_state_transition() PARENT_R1->PARENT_R1 with status STF_SUSPEND | suspending state #1 and saving MD | #1 is busy; has a suspended MD | [RE]START processing: state #1 connection "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_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.215 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.225 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 2 time elapsed 0.000933 seconds | (#1) spent 0.93 milliseconds in crypto helper computing work-order 2: ikev2_inI2outR2 KE (pcr) | crypto helper 1 sending results from work-order 2 for state #1 to event queue | scheduling resume sending helper answer for #1 | libevent_malloc: new ptr-libevent@0x7f1f9c00ee90 size 128 | crypto helper 1 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 1 replies to request ID 2 | calling continuation function 0x561607a94630 | ikev2_parent_inI2outR2_continue for #1: calculating g^{xy}, sending R2 | #1 in state PARENT_R1: received v2I1, sent v2R1 | data for hmac: ef 93 d1 42 04 96 b9 3b 47 d8 84 3f 29 a3 4d 9c | data for hmac: 2e 20 23 08 00 00 00 01 00 00 01 cc 23 00 01 b0 | data for hmac: 0f 26 86 ee 0f 63 cf f5 2b 54 94 ed a2 c8 29 47 | data for hmac: f4 6a 09 05 37 f8 4c 4b 3c 82 8b 9e 5b 10 ca ba | data for hmac: c9 ed 02 9d bb b2 0d a4 4d ef 03 62 a6 59 3b d7 | data for hmac: 5a 78 65 c0 f0 81 77 8f 61 ab ef 31 35 d5 3f 60 | data for hmac: b4 c3 57 26 d2 3c 21 3d f1 3c 80 ed 64 93 a3 83 | data for hmac: 7d fd 74 a3 b8 2e 5e 99 db 9e 37 31 f4 33 4f a9 | data for hmac: 94 95 8e 70 1f 92 66 8c 94 9c 91 a3 48 66 16 2b | data for hmac: 3a ba 44 a5 6a 56 8d a6 e6 a9 94 10 6d 72 c6 bc | data for hmac: 1a 83 b4 f3 5a 40 c1 83 ad 75 eb eb 5d fb 1b bb | data for hmac: da 11 e5 8f 27 15 9f b9 18 0a 8a 29 1e 05 cc 72 | data for hmac: b5 21 55 39 01 cf c2 56 c9 b9 cb 15 ff 34 bf 9b | data for hmac: 74 70 9c be 58 a8 0f 64 02 01 69 b1 37 c0 06 b2 | data for hmac: 77 81 17 e8 e8 c8 86 4f 2a d7 26 83 a4 f9 ce 16 | data for hmac: 89 25 3e 74 af 8f 83 98 12 ff 7f c0 40 d5 12 06 | data for hmac: 10 2a bc 20 4d dc e1 bc e1 cd 73 7c 66 eb ca 5c | data for hmac: c6 27 39 16 9d 67 1f d5 a1 80 9d dd bb c6 95 91 | data for hmac: 7f 37 37 32 33 b2 c8 96 fe c7 bc 60 f1 29 bd 4e | data for hmac: d9 01 5d 7c 6a 2c 1b 64 28 27 3a ce 2e 0e cd 4c | data for hmac: 1f 3f e8 7c a3 0c 6f 69 9b ba ab c4 d1 03 c5 01 | data for hmac: b9 1f b1 cf b2 2b c7 85 a3 2b 36 76 e0 4d 40 3e | data for hmac: 9c d9 c8 6d c3 31 6e 59 3f d9 b2 e3 62 b2 71 0b | data for hmac: 34 c0 84 68 7c 8b 7b e1 eb 5f 5f e9 b8 7f 62 24 | data for hmac: 2d 05 a3 7d 09 9b 3d 99 08 d7 12 0a a2 e5 d6 c2 | data for hmac: c6 3e e8 aa 55 be 0e 09 da 2a 36 7c fb 5e 84 c9 | data for hmac: 83 af c4 0d ed 32 2a 84 8f 3f be 01 d3 29 3e 9a | data for hmac: bb d9 d2 12 9e a0 b5 8b 58 0b 9f 21 7e 1e 4e c0 | calculated auth: ae 4d 16 8e 39 90 66 62 ae 6c f7 80 | provided auth: ae 4d 16 8e 39 90 66 62 ae 6c f7 80 | 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=0x56160839a010 (line=1) | concluding with best_match=002 best=0x56160839a010 (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.0586 milliseconds in try_all_keys() trying a pubkey "esp=null-none" #1: Authenticated using RSA | #1 spent 0.0826 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@0x5616083a6320 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x5616083a6800 | event_schedule: new EVENT_SA_REKEY-pe@0x5616083a6800 | inserting event EVENT_SA_REKEY, timeout in 3330 seconds for #1 | libevent_malloc: new ptr-libevent@0x5616083a6320 size 128 | pstats #1 ikev2.ike established | **emit ISAKMP Message: | initiator cookie: | ef 93 d1 42 04 96 b9 3b | responder cookie: | 47 d8 84 3f 29 a3 4d 9c | 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=0x56160839a010 (line=1) | concluding with best_match=002 best=0x56160839a010 (lineno=1) | #1 spent 5.11 milliseconds in ikev2_calculate_rsa_hash() calling sign_hash_RSA() | emitting 274 raw bytes of rsa signature into IKEv2 Authentication Payload | rsa signature 90 f9 1e 80 04 02 af 69 8f ac 56 60 b4 de 3e f8 | rsa signature 14 91 ae e1 b0 8a 4a 74 d2 5e 21 1f 1e c9 c1 da | rsa signature eb 76 2e f6 a3 fe 59 22 4f b8 fa 06 4a 4e d4 7f | rsa signature dc 42 30 9f fc e9 1a cf fc 9f e4 fa 74 6a 14 a5 | rsa signature e6 3a d0 d0 e8 33 ab 50 cb 6a 8b 54 02 4a 83 73 | rsa signature 04 6b f1 64 55 72 2a ae 1c 7d e6 d4 1b c2 ef 62 | rsa signature b6 53 0e 6c a3 8d 6a da 45 f0 0f f9 13 52 a8 be | rsa signature a0 bd 83 d8 d5 23 ee b8 3e bf 31 ed ec 27 cf 6f | rsa signature 64 8e 27 c7 3e b1 0c 3a a8 d3 44 9b 2c c7 e6 9f | rsa signature 92 3e ea b5 d6 29 f8 ee 20 43 af 2a d1 f1 b1 68 | rsa signature f8 40 69 fc be d0 99 f8 29 01 0d b1 13 7a e7 3c | rsa signature 4b 92 32 d1 87 0c a4 c8 be 3c d8 c2 9e b8 35 1e | rsa signature 1b 68 91 b1 66 5d f1 7e a7 0c 9e e0 bb 8d c5 23 | rsa signature 9a d8 52 72 e9 26 b9 e8 eb f8 a5 2a df 4c cd 99 | rsa signature d8 6d ba 77 3d 9e 66 ae 9a 69 b7 2c 52 bc b8 41 | rsa signature 64 26 58 8c 47 6a 0a 59 cc 46 72 f9 f0 9d 84 75 | rsa signature f5 d7 ac 80 73 5b 53 97 aa 82 e2 39 35 2c e7 ec | rsa signature ec f3 | #1 spent 5.18 milliseconds in ikev2_calculate_rsa_hash() | emitting length of IKEv2 Authentication Payload: 282 | creating state object #2 at 0x5616083b0c30 | 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 24 01 bf 12 | 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=2401bf12;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=2401bf12;ENCR=NULL;INTEG=NONE;ESN=DISABLED | converting proposal to internal trans attrs | netlink_get_spi: allocated 0x867b292c 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 86 7b 29 2c | ******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.2401bf12@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.867b292c@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=0x2401bf12 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=0x2401bf12 SPI_OUT=0x867b292c 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=0x2401bf12 SPI_OUT=0x867b292c 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=0x2401 | 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=0x2401bf12 SPI_OUT=0x867b292c ipsec _updown 2>&1: | route_and_eroute: instance "esp=null-none", setting eroute_owner {spd=0x5616083a59a0,sr=0x5616083a59a0} to #2 (was #0) (newest_ipsec_sa=#0) | #1 spent 0.81 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: ef 93 d1 42 04 96 b9 3b 47 d8 84 3f 29 a3 4d 9c | data being hmac: 2e 20 23 20 00 00 00 01 00 00 01 bc 24 00 01 a0 | data being hmac: a9 ea cc e6 b6 ea e1 9c be 55 e7 5a ce bd 37 0e | data being hmac: 31 0c e1 be e5 c6 d6 9b d8 3e 09 5c ef 59 14 cc | data being hmac: 64 c6 4e 19 37 5c fb 28 c4 49 e2 50 17 57 5c 4f | data being hmac: 0c 4d f7 5f 6f 3e 7a a0 0a 85 0a 91 45 14 7c ed | data being hmac: 9a 96 c3 d8 37 59 39 c1 49 1c 09 94 1c 22 11 48 | data being hmac: ab a3 8d 27 2b f7 52 f0 7f c4 ce 08 26 94 85 12 | data being hmac: b5 c2 4b 76 28 77 df 78 3f d7 7f 5c 04 aa 39 c3 | data being hmac: 13 cf 57 0e 4c 97 6b 53 26 b6 49 df ee 7a d7 2e | data being hmac: 27 26 2b aa 45 e4 85 49 3d d3 30 c1 d7 7e 98 61 | data being hmac: 3d 3d bc f4 d5 6d 83 a2 22 a9 42 d2 1d 69 bf 3c | data being hmac: 50 c7 83 68 77 65 69 48 f9 92 aa 65 30 84 51 7c | data being hmac: 82 fe 78 63 31 c0 56 ab 9a ab f8 95 cd 06 08 0c | data being hmac: 57 46 ea 5e 46 5f 15 81 aa c2 43 a1 02 0a a6 ad | data being hmac: 76 ad aa ca ed c6 4e 78 af 01 8a df db 44 84 ab | data being hmac: 6f 3d 16 5a 59 05 ea 0c 43 04 bf 42 73 c4 3a f7 | data being hmac: 19 d8 3d 6c 39 ab c5 ac 07 ba 81 02 27 39 e8 db | data being hmac: 61 be 65 41 42 60 ae 3f 5b 49 b6 37 3e 1f 09 d1 | data being hmac: 06 62 f4 01 cf 8b 28 1d 9c 03 eb 1e b7 1a 16 64 | data being hmac: 4e 7f 88 5b a3 5d 9a e7 44 e3 48 51 8c 67 bb 79 | data being hmac: a5 c2 d2 61 79 17 71 23 60 b5 83 df f5 bf b9 c7 | data being hmac: 9a a1 4e d9 4a b0 42 24 93 f6 64 e7 97 e1 0f 21 | data being hmac: a7 16 d2 bc 9b f4 fd 57 bc 24 b1 86 01 e6 5b b7 | data being hmac: 35 60 0b 1c e1 5b f4 88 06 bd f2 fa 98 3c 4f 22 | data being hmac: 07 85 6e fd 8a 88 97 b3 4d c7 64 f6 60 da 76 73 | data being hmac: 82 be cf a6 b5 48 32 a7 00 1a 17 95 d5 73 43 e2 | out calculated auth: | 3a df ba 04 a3 46 31 76 8e 2d e8 e2 | ikev2_parent_inI2outR2_continue_tail returned STF_OK | #1 spent 7.01 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=>0x2401bf12 <0x867b292c 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) | ef 93 d1 42 04 96 b9 3b 47 d8 84 3f 29 a3 4d 9c | 2e 20 23 20 00 00 00 01 00 00 01 bc 24 00 01 a0 | a9 ea cc e6 b6 ea e1 9c be 55 e7 5a ce bd 37 0e | 31 0c e1 be e5 c6 d6 9b d8 3e 09 5c ef 59 14 cc | 64 c6 4e 19 37 5c fb 28 c4 49 e2 50 17 57 5c 4f | 0c 4d f7 5f 6f 3e 7a a0 0a 85 0a 91 45 14 7c ed | 9a 96 c3 d8 37 59 39 c1 49 1c 09 94 1c 22 11 48 | ab a3 8d 27 2b f7 52 f0 7f c4 ce 08 26 94 85 12 | b5 c2 4b 76 28 77 df 78 3f d7 7f 5c 04 aa 39 c3 | 13 cf 57 0e 4c 97 6b 53 26 b6 49 df ee 7a d7 2e | 27 26 2b aa 45 e4 85 49 3d d3 30 c1 d7 7e 98 61 | 3d 3d bc f4 d5 6d 83 a2 22 a9 42 d2 1d 69 bf 3c | 50 c7 83 68 77 65 69 48 f9 92 aa 65 30 84 51 7c | 82 fe 78 63 31 c0 56 ab 9a ab f8 95 cd 06 08 0c | 57 46 ea 5e 46 5f 15 81 aa c2 43 a1 02 0a a6 ad | 76 ad aa ca ed c6 4e 78 af 01 8a df db 44 84 ab | 6f 3d 16 5a 59 05 ea 0c 43 04 bf 42 73 c4 3a f7 | 19 d8 3d 6c 39 ab c5 ac 07 ba 81 02 27 39 e8 db | 61 be 65 41 42 60 ae 3f 5b 49 b6 37 3e 1f 09 d1 | 06 62 f4 01 cf 8b 28 1d 9c 03 eb 1e b7 1a 16 64 | 4e 7f 88 5b a3 5d 9a e7 44 e3 48 51 8c 67 bb 79 | a5 c2 d2 61 79 17 71 23 60 b5 83 df f5 bf b9 c7 | 9a a1 4e d9 4a b0 42 24 93 f6 64 e7 97 e1 0f 21 | a7 16 d2 bc 9b f4 fd 57 bc 24 b1 86 01 e6 5b b7 | 35 60 0b 1c e1 5b f4 88 06 bd f2 fa 98 3c 4f 22 | 07 85 6e fd 8a 88 97 b3 4d c7 64 f6 60 da 76 73 | 82 be cf a6 b5 48 32 a7 00 1a 17 95 d5 73 43 e2 | 3a df ba 04 a3 46 31 76 8e 2d e8 e2 | 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@0x5616083afa90 | inserting event EVENT_SA_REKEY, timeout in 28530 seconds for #2 | libevent_malloc: new ptr-libevent@0x7f1fa4006900 size 128 | resume sending helper answer for #1 suppresed complete_v2_state_transition() | #1 spent 7.36 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@0x7f1f9c00ee90 | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00558 milliseconds in signal handler PLUTO_SIGCHLD | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00322 milliseconds in signal handler PLUTO_SIGCHLD | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00295 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00281 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) | ef 93 d1 42 04 96 b9 3b 47 d8 84 3f 29 a3 4d 9c | 2e 20 25 08 00 00 00 02 00 00 00 4c 2a 00 00 30 | e3 10 a3 2f e8 0d ed 35 99 47 0e 57 29 cc fe 20 | fe db f7 72 ba 6c 00 d2 ba 11 7c 25 5c 29 09 80 | 5e e4 37 59 1c 33 91 40 e3 63 25 7b | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | ef 93 d1 42 04 96 b9 3b | responder cookie: | 47 d8 84 3f 29 a3 4d 9c | 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: ef 93 d1 42 04 96 b9 3b 47 d8 84 3f 29 a3 4d 9c | data for hmac: 2e 20 25 08 00 00 00 02 00 00 00 4c 2a 00 00 30 | data for hmac: e3 10 a3 2f e8 0d ed 35 99 47 0e 57 29 cc fe 20 | data for hmac: fe db f7 72 ba 6c 00 d2 ba 11 7c 25 5c 29 09 80 | calculated auth: 5e e4 37 59 1c 33 91 40 e3 63 25 7b | provided auth: 5e e4 37 59 1c 33 91 40 e3 63 25 7b | 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: | ef 93 d1 42 04 96 b9 3b | responder cookie: | 47 d8 84 3f 29 a3 4d 9c | 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 24 01 bf 12 | delete PROTO_v2_ESP SA(0x2401bf12) | 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(0x2401bf12) "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.198s and NOT sending notification | child state #2: V2_IPSEC_R(established CHILD SA) => delete | get_sa_info esp.2401bf12@192.1.2.45 | get_sa_info esp.867b292c@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@0x7f1fa4006900 | free_event_entry: release EVENT_SA_REKEY-pe@0x5616083afa90 | 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='1569050783' PLUTO_CONN_POLICY='RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' VTI_ROUTING='no' VTI_SHARED='no' 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='1569050783' 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=0x2401bf12 SPI_OUT=0x867b292c 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.2401bf12@192.1.2.45 | netlink response for Del SA esp.2401bf12@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.867b292c@192.1.2.23 | netlink response for Del SA esp.867b292c@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 86 7b 29 2c | 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: ef 93 d1 42 04 96 b9 3b 47 d8 84 3f 29 a3 4d 9c | data being hmac: 2e 20 25 20 00 00 00 02 00 00 00 4c 2a 00 00 30 | data being hmac: f0 bd c6 c4 81 2f 12 ac 86 2c 83 e5 44 f3 6f be | data being hmac: 55 d1 19 7a 5c 75 4f c9 ca 78 ce 63 1a 1d 56 f6 | out calculated auth: | a1 a5 04 e4 7a 6a a0 a6 b7 a9 73 cd | 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) | ef 93 d1 42 04 96 b9 3b 47 d8 84 3f 29 a3 4d 9c | 2e 20 25 20 00 00 00 02 00 00 00 4c 2a 00 00 30 | f0 bd c6 c4 81 2f 12 ac 86 2c 83 e5 44 f3 6f be | 55 d1 19 7a 5c 75 4f c9 ca 78 ce 63 1a 1d 56 f6 | a1 a5 04 e4 7a 6a a0 a6 b7 a9 73 cd | 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.65 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.868 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.88 milliseconds in comm_handle_cb() reading and processing packet | spent 0.00134 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) | ef 93 d1 42 04 96 b9 3b 47 d8 84 3f 29 a3 4d 9c | 2e 20 25 08 00 00 00 03 00 00 00 4c 2a 00 00 30 | f9 ba 0e b6 33 32 65 13 58 39 92 ee b0 5b 7f 98 | 62 9a 6d a1 d6 4b eb 60 0f c7 fb bb 9e bf 1b 87 | f1 95 42 53 8a e1 50 3b ad b5 8f 94 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | ef 93 d1 42 04 96 b9 3b | responder cookie: | 47 d8 84 3f 29 a3 4d 9c | 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: ef 93 d1 42 04 96 b9 3b 47 d8 84 3f 29 a3 4d 9c | data for hmac: 2e 20 25 08 00 00 00 03 00 00 00 4c 2a 00 00 30 | data for hmac: f9 ba 0e b6 33 32 65 13 58 39 92 ee b0 5b 7f 98 | data for hmac: 62 9a 6d a1 d6 4b eb 60 0f c7 fb bb 9e bf 1b 87 | calculated auth: f1 95 42 53 8a e1 50 3b ad b5 8f 94 | provided auth: f1 95 42 53 8a e1 50 3b ad b5 8f 94 | 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: | ef 93 d1 42 04 96 b9 3b | responder cookie: | 47 d8 84 3f 29 a3 4d 9c | 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: ef 93 d1 42 04 96 b9 3b 47 d8 84 3f 29 a3 4d 9c | data being hmac: 2e 20 25 20 00 00 00 03 00 00 00 4c 00 00 00 30 | data being hmac: 9f 20 de 76 0e b9 a0 ed 77 e5 a4 76 d2 69 67 c0 | data being hmac: c5 24 59 47 56 bd c0 89 4c 10 2e 05 28 89 ed ed | out calculated auth: | bc e0 6b 31 60 d4 68 63 d2 84 4a 44 | 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) | ef 93 d1 42 04 96 b9 3b 47 d8 84 3f 29 a3 4d 9c | 2e 20 25 20 00 00 00 03 00 00 00 4c 00 00 00 30 | 9f 20 de 76 0e b9 a0 ed 77 e5 a4 76 d2 69 67 c0 | c5 24 59 47 56 bd c0 89 4c 10 2e 05 28 89 ed ed | bc e0 6b 31 60 d4 68 63 d2 84 4a 44 | 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 11 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.236s 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@0x5616083a6320 | free_event_entry: release EVENT_SA_REKEY-pe@0x5616083a6800 | 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: 0x56160832e210 @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.43 milliseconds in comm_handle_cb() reading and processing packet | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00403 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00267 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) | 9f bb 71 05 bf 13 dc 57 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 f4 e9 0c 97 3e ee 30 a3 d9 ea 2c c6 | b7 f0 c2 a9 6b 06 a9 9e 16 08 f4 fb 9d 43 8d 43 | 64 92 6d 02 91 e3 f1 b5 e6 51 f3 6a 3a ab 4e 71 | 5d a3 9e 91 b9 93 8c d4 19 91 4f 3f a7 ac b0 73 | 46 07 cb 56 cd 44 ea 4e 91 57 ec 35 7b 2d b0 e8 | e5 97 6e 68 80 f1 bb b3 96 3c 57 a9 40 9f eb e7 | f3 d7 a3 d8 05 77 47 4f f6 50 00 ae 54 70 6a 5f | 9c 28 73 62 ac 4c a3 06 a9 ba 82 1c ee f8 2d 89 | d6 04 12 e2 9f f2 37 b9 c2 98 7a ed 35 7f c1 23 | 59 eb ba e2 0c 93 7e 34 c6 ca db 94 05 c9 8e 83 | b1 66 bb 54 81 30 44 ac 18 63 46 e3 98 50 d9 53 | 07 40 58 1b 25 bb 03 b3 2b 53 56 2a 98 74 b9 9e | 8c aa 76 45 77 0c 0a 3f ac 5c 32 53 dc 0a 60 16 | 39 ee 97 94 e3 08 2b 0f da 04 12 3c a1 3d d3 7e | 2c 9f a8 eb 32 b9 95 90 21 ba ed 0d a9 fc 47 44 | 03 2d 95 93 63 12 77 37 95 74 b8 48 63 91 34 63 | ba 0c a2 8b 29 00 00 24 c9 28 6b e8 6f 4f 84 35 | 39 84 fe 46 ec f2 cb c9 4e 88 71 cf b7 ea df e4 | 11 5b ec f9 32 3b 2d 4a 29 00 00 08 00 00 40 2e | 29 00 00 1c 00 00 40 04 7a f9 04 e4 8c 0c ce 8e | fe 63 a3 e7 95 22 13 aa 5c 6b be d0 00 00 00 1c | 00 00 40 05 35 8a 6a ce 6f 9f 41 fb c2 4c 39 a5 | b9 15 8f 3a 23 03 0d cc | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 9f bb 71 05 bf 13 dc 57 | 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 0x5616083a7c80 | 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=0x561607b6a7a0(20) | natd_hash: icookie= 9f bb 71 05 bf 13 dc 57 | 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= 35 8a 6a ce 6f 9f 41 fb c2 4c 39 a5 b9 15 8f 3a | natd_hash: hash= 23 03 0d cc | natd_hash: rcookie is zero | natd_hash: hasher=0x561607b6a7a0(20) | natd_hash: icookie= 9f bb 71 05 bf 13 dc 57 | 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= 7a f9 04 e4 8c 0c ce 8e fe 63 a3 e7 95 22 13 aa | natd_hash: hash= 5c 6b be d0 | NAT_TRAVERSAL encaps using auto-detect | NAT_TRAVERSAL this end is NOT behind NAT | NAT_TRAVERSAL that end is NOT behind NAT | NAT_TRAVERSAL nat-keepalive enabled 192.1.2.45 | adding ikev2_inI1outR1 KE work-order 3 for state #3 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x5616083afa90 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #3 | libevent_malloc: new ptr-libevent@0x5616083a6320 size 128 | #3 spent 0.179 milliseconds in processing: Respond to IKE_SA_INIT 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) | crypto helper 0 resuming | crypto helper 0 starting work-order 3 for state #3 | #3 complete_v2_state_transition() PARENT_R0->PARENT_R1 with status STF_SUSPEND | suspending state #3 and saving MD | #3 is busy; has a suspended MD | crypto helper 0 doing build KE and nonce (ikev2_inI1outR1 KE); request ID 3 | [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.519 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.53 milliseconds in comm_handle_cb() reading and processing packet | crypto helper 0 finished build KE and nonce (ikev2_inI1outR1 KE); request ID 3 time elapsed 0.001006 seconds | (#3) spent 1.01 milliseconds in crypto helper computing work-order 3: ikev2_inI1outR1 KE (pcr) | crypto helper 0 sending results from work-order 3 for state #3 to event queue | scheduling resume sending helper answer for #3 | libevent_malloc: new ptr-libevent@0x7f1fa0006900 size 128 | crypto helper 0 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 0 replies to request ID 3 | calling continuation function 0x561607a94630 | ikev2_parent_inI1outR1_continue for #3: calculated ke+nonce, sending R1 | **emit ISAKMP Message: | initiator cookie: | 9f bb 71 05 bf 13 dc 57 | responder cookie: | ec ee e7 65 e6 4c ed 05 | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_IKE_SA_INIT (0x22) | flags: ISAKMP_FLAG_v2_MSG_RESPONSE (0x20) | Message ID: 0 (0x0) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | Emitting ikev2_proposal ... | ***emit IKEv2 Security Association Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'ISAKMP Message'.'next payload type' to current IKEv2 Security Association Payload (33:ISAKMP_NEXT_v2SA) | next payload chain: saving location 'IKEv2 Security Association Payload'.'next payload type' in 'reply packet' | ****emit IKEv2 Proposal Substructure Payload: | last proposal: v2_PROPOSAL_LAST (0x0) | prop #: 1 (0x1) | proto ID: IKEv2_SEC_PROTO_IKE (0x1) | spi size: 0 (0x0) | # transforms: 4 (0x4) | last substructure: saving location 'IKEv2 Security Association Payload'.'IKEv2 Proposal Substructure Payload'.'last proposal' | *****emit IKEv2 Transform Substructure Payload: | last transform: v2_TRANSFORM_NON_LAST (0x3) | IKEv2 transform type: TRANS_TYPE_ENCR (0x1) | IKEv2 transform ID: AES_CBC (0xc) | last substructure: saving location 'IKEv2 Proposal Substructure Payload'.'IKEv2 Transform Substructure Payload'.'last transform' | ******emit IKEv2 Attribute Substructure Payload: | af+type: AF+IKEv2_KEY_LENGTH (0x800e) | length/value: 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 bc fd 73 1e 12 9f 8b 36 db 82 76 14 ac 6e eb d1 | ikev2 g^x c3 14 dd ec f9 2a d4 94 ed 0c bd b4 c3 2c 5a f1 | ikev2 g^x 0f 11 06 99 fb 94 c1 fb 2c 55 af 30 3f 8b 56 3a | ikev2 g^x 1e 91 71 9f 57 d1 5c 2f 1a ac 36 1d 3f 80 64 42 | ikev2 g^x 34 86 3a 42 3a c3 05 81 ed c1 0b e4 e7 1f bf a2 | ikev2 g^x 77 4d be 66 6b 9e 8f 75 c1 56 c4 5b 4f 5d 5a 1e | ikev2 g^x 3d 09 77 63 a0 7d a3 1b 01 60 04 12 c3 21 48 9f | ikev2 g^x 8f d0 db e2 fc bb c6 63 35 39 d7 d0 3b db 05 d6 | ikev2 g^x 4d 0e 06 cf 43 3e 06 dc c2 6a 15 2b b5 a0 e1 30 | ikev2 g^x fe 90 ad d4 7c 56 eb 54 b1 6e 5b 66 bc 13 c6 20 | ikev2 g^x eb a6 ba fc af 5d 00 ae 53 dc 83 69 7d d3 3f 95 | ikev2 g^x c7 d0 41 d0 80 84 73 51 e7 62 49 64 f2 23 56 04 | ikev2 g^x 02 7c bb 03 e9 2d aa 15 ba 4c 94 86 6d 93 1c 62 | ikev2 g^x f2 0e f5 dd fc 89 7f 1a fc 7c 20 4d 59 75 bb 4e | ikev2 g^x b4 7e 84 0e be 63 a3 1d 8f 77 d5 41 eb a7 d0 2d | ikev2 g^x 42 23 ff df 60 28 a5 fb 14 45 6d a3 7a ab 5c 46 | 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 aa 28 37 ab 33 e7 32 7e 5d f8 9f f5 5f 30 ae df | IKEv2 nonce 1c 27 a7 1d 50 1a c9 f2 98 93 12 d4 bc 0f 66 06 | 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=0x561607b6a7a0(20) | natd_hash: icookie= 9f bb 71 05 bf 13 dc 57 | natd_hash: rcookie= ec ee e7 65 e6 4c ed 05 | natd_hash: ip= c0 01 02 17 | natd_hash: port= 01 f4 | natd_hash: hash= d5 2b eb 98 eb 33 28 e8 99 82 3b 02 ea fc ab ef | natd_hash: hash= 70 47 9e 22 | Adding a v2N Payload | ***emit IKEv2 Notify Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | Protocol ID: PROTO_v2_RESERVED (0x0) | SPI size: 0 (0x0) | Notify Message Type: v2N_NAT_DETECTION_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 d5 2b eb 98 eb 33 28 e8 99 82 3b 02 ea fc ab ef | Notify data 70 47 9e 22 | emitting length of IKEv2 Notify Payload: 28 | natd_hash: hasher=0x561607b6a7a0(20) | natd_hash: icookie= 9f bb 71 05 bf 13 dc 57 | natd_hash: rcookie= ec ee e7 65 e6 4c ed 05 | natd_hash: ip= c0 01 02 2d | natd_hash: port= 01 f4 | natd_hash: hash= 85 ad 2a 2c d0 13 ba 4f d3 59 8a 69 87 45 f8 0b | natd_hash: hash= 1f 06 b1 c8 | 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 85 ad 2a 2c d0 13 ba 4f d3 59 8a 69 87 45 f8 0b | Notify data 1f 06 b1 c8 | 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) | 9f bb 71 05 bf 13 dc 57 ec ee e7 65 e6 4c ed 05 | 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 bc fd 73 1e 12 9f 8b 36 db 82 76 14 | ac 6e eb d1 c3 14 dd ec f9 2a d4 94 ed 0c bd b4 | c3 2c 5a f1 0f 11 06 99 fb 94 c1 fb 2c 55 af 30 | 3f 8b 56 3a 1e 91 71 9f 57 d1 5c 2f 1a ac 36 1d | 3f 80 64 42 34 86 3a 42 3a c3 05 81 ed c1 0b e4 | e7 1f bf a2 77 4d be 66 6b 9e 8f 75 c1 56 c4 5b | 4f 5d 5a 1e 3d 09 77 63 a0 7d a3 1b 01 60 04 12 | c3 21 48 9f 8f d0 db e2 fc bb c6 63 35 39 d7 d0 | 3b db 05 d6 4d 0e 06 cf 43 3e 06 dc c2 6a 15 2b | b5 a0 e1 30 fe 90 ad d4 7c 56 eb 54 b1 6e 5b 66 | bc 13 c6 20 eb a6 ba fc af 5d 00 ae 53 dc 83 69 | 7d d3 3f 95 c7 d0 41 d0 80 84 73 51 e7 62 49 64 | f2 23 56 04 02 7c bb 03 e9 2d aa 15 ba 4c 94 86 | 6d 93 1c 62 f2 0e f5 dd fc 89 7f 1a fc 7c 20 4d | 59 75 bb 4e b4 7e 84 0e be 63 a3 1d 8f 77 d5 41 | eb a7 d0 2d 42 23 ff df 60 28 a5 fb 14 45 6d a3 | 7a ab 5c 46 29 00 00 24 aa 28 37 ab 33 e7 32 7e | 5d f8 9f f5 5f 30 ae df 1c 27 a7 1d 50 1a c9 f2 | 98 93 12 d4 bc 0f 66 06 29 00 00 08 00 00 40 2e | 29 00 00 1c 00 00 40 04 d5 2b eb 98 eb 33 28 e8 | 99 82 3b 02 ea fc ab ef 70 47 9e 22 00 00 00 1c | 00 00 40 05 85 ad 2a 2c d0 13 ba 4f d3 59 8a 69 | 87 45 f8 0b 1f 06 b1 c8 | state #3 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x5616083a6320 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x5616083afa90 | event_schedule: new EVENT_SO_DISCARD-pe@0x5616083afa90 | inserting event EVENT_SO_DISCARD, timeout in 200 seconds for #3 | libevent_malloc: new ptr-libevent@0x5616083a6320 size 128 | resume sending helper answer for #3 suppresed complete_v2_state_transition() | #3 spent 0.316 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@0x7f1fa0006900 | spent 0.00256 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) | 9f bb 71 05 bf 13 dc 57 ec ee e7 65 e6 4c ed 05 | 2e 20 23 08 00 00 00 01 00 00 01 cc 23 00 01 b0 | 67 33 4c 67 19 31 32 7b bf 86 62 22 75 62 2f c3 | 58 aa 2d b4 5c 6e c6 c6 b3 56 b4 26 c8 85 f2 36 | 27 a4 5c cb e9 4b a4 46 77 09 eb d9 ed 0f 85 24 | 67 72 c2 d5 cf 3e 47 1c ce 1a 93 fd e8 85 eb c7 | c9 a8 d8 6a b9 40 91 a8 b8 8f cb 09 af cc a3 0c | 06 31 3a a8 b6 f7 ac 23 ab 4f 13 e5 34 f7 e4 99 | fe a6 eb d5 ac 8c 78 76 02 e5 e3 50 09 b4 a3 ba | 5b 03 3a d1 01 30 4c e6 8d 18 72 55 80 18 68 bf | 20 af 07 64 07 ee e0 1e c2 d1 85 0a a3 c0 74 31 | 38 d0 48 ab 71 e6 11 cd 03 78 2d ab 9b 37 4f dd | 0d 77 33 bb 57 cb 60 70 d7 ff a8 81 57 eb 4a f6 | 9d 78 71 a9 f0 86 6b 26 43 49 7f 3c 3b 71 1d 03 | 79 39 b7 82 06 5e 5f 3a 90 48 44 e6 03 eb be 74 | cd 0e 0f d6 bb 8e fa 05 a1 2b 4c e9 fa f1 86 63 | dc ee 27 96 27 a0 1c d9 3c 8e 9d fd 51 66 df 4a | f0 5f 93 95 62 5e 13 f8 8b 26 d6 5b a4 49 bd 9a | 96 c0 b3 7a 36 1c 56 c8 37 be 02 9c 1a 8b 7f cc | 35 9a 54 80 04 75 c2 f6 25 b7 60 21 dd f8 4e 53 | ab 2c 3d cb 34 21 e2 d5 a2 28 a3 33 e0 47 e5 8f | 4f ab 31 4b 73 f9 93 14 e3 8f 25 16 b7 6c 9e a9 | d3 e1 d2 43 ab c5 1a 5d 72 2c e2 f3 ba 5a 16 66 | 67 8e b9 93 6a 7b 17 b1 e7 eb 11 bf b1 93 4f 37 | 68 91 a5 ab c7 fe 1a 61 af a3 84 af cd 76 00 c8 | 90 d1 ce 22 32 a7 bf 2f c0 f0 54 81 c4 7b 82 ab | ac c6 85 b2 21 af c6 0f 34 e5 b9 02 4f 66 63 a8 | 61 97 26 68 1e ec c7 a7 29 86 e4 cd f2 de 2a b7 | 5b 00 a2 bb a6 fd 6d 5f 13 d0 19 92 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 9f bb 71 05 bf 13 dc 57 | responder cookie: | ec ee e7 65 e6 4c ed 05 | next payload type: ISAKMP_NEXT_v2SK (0x2e) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_IKE_AUTH (0x23) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 1 (0x1) | length: 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@0x5616083a6320 | free_event_entry: release EVENT_SO_DISCARD-pe@0x5616083afa90 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x7f1fa0002b20 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #3 | libevent_malloc: new ptr-libevent@0x5616083a6320 size 128 | #3 spent 0.0222 milliseconds in processing: Responder: process IKE_AUTH request (no SKEYSEED) 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_R1->PARENT_R1 with status STF_SUSPEND | suspending state #3 and saving MD | #3 is busy; has a suspended MD | crypto helper 5 resuming | [RE]START processing: state #3 connection "esp=null-none" from 192.1.2.45:500 (in log_stf_suspend() at ikev2.c:3266) | crypto helper 5 starting work-order 4 for state #3 | "esp=null-none" #3 complete v2 state STATE_PARENT_R1 transition with STF_SUSPEND suspended from complete_v2_state_transition:3448 | crypto helper 5 doing compute dh (V2) (ikev2_inI2outR2 KE); request ID 4 | 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.155 milliseconds in ikev2_process_packet() | stop processing: from 192.1.2.45:500 (in process_md() at demux.c:380) | processing: STOP state #0 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.162 milliseconds in comm_handle_cb() reading and processing packet | calculating skeyseed using prf=sha integ=sha cipherkey-size=16 salt-size=0 | crypto helper 5 finished compute dh (V2) (ikev2_inI2outR2 KE); request ID 4 time elapsed 0.000903 seconds | (#3) spent 0.9 milliseconds in crypto helper computing work-order 4: ikev2_inI2outR2 KE (pcr) | crypto helper 5 sending results from work-order 4 for state #3 to event queue | scheduling resume sending helper answer for #3 | libevent_malloc: new ptr-libevent@0x7f1f940061a0 size 128 | crypto helper 5 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 5 replies to request ID 4 | calling continuation function 0x561607a94630 | ikev2_parent_inI2outR2_continue for #3: calculating g^{xy}, sending R2 | #3 in state PARENT_R1: received v2I1, sent v2R1 | data for hmac: 9f bb 71 05 bf 13 dc 57 ec ee e7 65 e6 4c ed 05 | data for hmac: 2e 20 23 08 00 00 00 01 00 00 01 cc 23 00 01 b0 | data for hmac: 67 33 4c 67 19 31 32 7b bf 86 62 22 75 62 2f c3 | data for hmac: 58 aa 2d b4 5c 6e c6 c6 b3 56 b4 26 c8 85 f2 36 | data for hmac: 27 a4 5c cb e9 4b a4 46 77 09 eb d9 ed 0f 85 24 | data for hmac: 67 72 c2 d5 cf 3e 47 1c ce 1a 93 fd e8 85 eb c7 | data for hmac: c9 a8 d8 6a b9 40 91 a8 b8 8f cb 09 af cc a3 0c | data for hmac: 06 31 3a a8 b6 f7 ac 23 ab 4f 13 e5 34 f7 e4 99 | data for hmac: fe a6 eb d5 ac 8c 78 76 02 e5 e3 50 09 b4 a3 ba | data for hmac: 5b 03 3a d1 01 30 4c e6 8d 18 72 55 80 18 68 bf | data for hmac: 20 af 07 64 07 ee e0 1e c2 d1 85 0a a3 c0 74 31 | data for hmac: 38 d0 48 ab 71 e6 11 cd 03 78 2d ab 9b 37 4f dd | data for hmac: 0d 77 33 bb 57 cb 60 70 d7 ff a8 81 57 eb 4a f6 | data for hmac: 9d 78 71 a9 f0 86 6b 26 43 49 7f 3c 3b 71 1d 03 | data for hmac: 79 39 b7 82 06 5e 5f 3a 90 48 44 e6 03 eb be 74 | data for hmac: cd 0e 0f d6 bb 8e fa 05 a1 2b 4c e9 fa f1 86 63 | data for hmac: dc ee 27 96 27 a0 1c d9 3c 8e 9d fd 51 66 df 4a | data for hmac: f0 5f 93 95 62 5e 13 f8 8b 26 d6 5b a4 49 bd 9a | data for hmac: 96 c0 b3 7a 36 1c 56 c8 37 be 02 9c 1a 8b 7f cc | data for hmac: 35 9a 54 80 04 75 c2 f6 25 b7 60 21 dd f8 4e 53 | data for hmac: ab 2c 3d cb 34 21 e2 d5 a2 28 a3 33 e0 47 e5 8f | data for hmac: 4f ab 31 4b 73 f9 93 14 e3 8f 25 16 b7 6c 9e a9 | data for hmac: d3 e1 d2 43 ab c5 1a 5d 72 2c e2 f3 ba 5a 16 66 | data for hmac: 67 8e b9 93 6a 7b 17 b1 e7 eb 11 bf b1 93 4f 37 | data for hmac: 68 91 a5 ab c7 fe 1a 61 af a3 84 af cd 76 00 c8 | data for hmac: 90 d1 ce 22 32 a7 bf 2f c0 f0 54 81 c4 7b 82 ab | data for hmac: ac c6 85 b2 21 af c6 0f 34 e5 b9 02 4f 66 63 a8 | data for hmac: 61 97 26 68 1e ec c7 a7 29 86 e4 cd f2 de 2a b7 | calculated auth: 5b 00 a2 bb a6 fd 6d 5f 13 d0 19 92 | provided auth: 5b 00 a2 bb a6 fd 6d 5f 13 d0 19 92 | 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=0x56160839a010 (line=1) | concluding with best_match=002 best=0x56160839a010 (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.0337 milliseconds in try_all_keys() trying a pubkey "esp=null-none" #3: Authenticated using RSA | #3 spent 0.05 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@0x5616083a6320 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x7f1fa0002b20 | event_schedule: new EVENT_SA_REKEY-pe@0x7f1fa0002b20 | inserting event EVENT_SA_REKEY, timeout in 3330 seconds for #3 | libevent_malloc: new ptr-libevent@0x5616083a6320 size 128 | pstats #3 ikev2.ike established | **emit ISAKMP Message: | initiator cookie: | 9f bb 71 05 bf 13 dc 57 | responder cookie: | ec ee e7 65 e6 4c ed 05 | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_IKE_AUTH (0x23) | flags: ISAKMP_FLAG_v2_MSG_RESPONSE (0x20) | Message ID: 1 (0x1) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | IKEv2 CERT: send a certificate? | IKEv2 CERT: no certificate to send | ***emit IKEv2 Encryption Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'ISAKMP Message'.'next payload type' to current IKEv2 Encryption Payload (46:ISAKMP_NEXT_v2SK) | next payload chain: saving location 'IKEv2 Encryption Payload'.'next payload type' in 'reply packet' | emitting 16 zero bytes of IV into IKEv2 Encryption Payload | Initiator child policy is compress=no, NOT sending v2N_IPCOMP_SUPPORTED | ****emit IKEv2 Identification - Responder - Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | ID type: ID_FQDN (0x2) | next payload chain: setting previous 'IKEv2 Encryption Payload'.'next payload type' to current IKEv2 Identification - Responder - Payload (36:ISAKMP_NEXT_v2IDr) | next payload chain: saving location 'IKEv2 Identification - Responder - Payload'.'next payload type' in 'reply packet' | emitting 4 raw bytes of my identity into IKEv2 Identification - Responder - Payload | my identity 65 61 73 74 | emitting length of IKEv2 Identification - Responder - Payload: 12 | assembled IDr payload | CHILD SA proposals received | going to assemble AUTH payload | ****emit IKEv2 Authentication Payload: | next payload type: ISAKMP_NEXT_v2SA (0x21) | flags: none (0x0) | auth method: IKEv2_AUTH_RSA (0x1) | next payload chain: ignoring supplied 'IKEv2 Authentication Payload'.'next payload type' value 33:ISAKMP_NEXT_v2SA | next payload chain: setting previous 'IKEv2 Identification - Responder - Payload'.'next payload type' to current IKEv2 Authentication Payload (39:ISAKMP_NEXT_v2AUTH) | next payload chain: saving location 'IKEv2 Authentication Payload'.'next payload type' in 'reply packet' | started looking for secret for @east->@west of kind PKK_RSA | actually looking for secret for @east->@west of kind PKK_RSA | line 1: key type PKK_RSA(@east) to type PKK_RSA | 1: compared key (none) to @east / @west -> 002 | 2: compared key (none) to @east / @west -> 002 | line 1: match=002 | match 002 beats previous best_match 000 match=0x56160839a010 (line=1) | concluding with best_match=002 best=0x56160839a010 (lineno=1) | #3 spent 2.95 milliseconds in ikev2_calculate_rsa_hash() calling sign_hash_RSA() | emitting 274 raw bytes of rsa signature into IKEv2 Authentication Payload | rsa signature 32 e0 09 0a 2f 32 11 4f 1c 3c 4f cb 61 35 64 31 | rsa signature 00 e3 f0 20 7e 7a 27 9a 89 00 7a 40 d8 e7 5f 1d | rsa signature 6d 32 98 2f 84 5a cc ab 6c d3 ec 6a cc f4 57 a7 | rsa signature 39 ef 90 8e e0 22 fe fd 32 6b d6 e5 02 4a cf 4d | rsa signature 44 40 a6 9a ba fb a9 22 91 c3 ce 2e 9a 2d 39 bc | rsa signature 1a fb ae 13 94 d2 18 ae 8c 8f e3 32 03 1e c5 82 | rsa signature 54 25 25 59 52 ca 36 76 70 56 2a a0 d4 96 85 6f | rsa signature 7c b1 5c af ec 18 b7 6e 75 21 77 d7 36 18 4b 1f | rsa signature 17 18 93 bd 0d 1f 08 f2 e1 68 d0 fe 29 f7 94 e9 | rsa signature e2 62 34 6d 73 11 53 5c ed b7 03 6f 63 c2 c9 d5 | rsa signature bf f6 f7 cf 51 e1 f8 b9 03 23 90 e9 1a 9b ea 53 | rsa signature 1e 54 b6 ac 4b 26 c3 33 67 e5 5a 62 7d 85 47 a8 | rsa signature dc 61 f8 13 6c 05 d1 37 56 17 e6 81 45 01 6a 57 | rsa signature 9e db 4b 92 05 3b b1 d4 1b 28 37 e1 be e0 a2 b7 | rsa signature 7d 2e 08 a1 29 c0 d1 a1 ff 93 d1 2c d6 5f 66 c5 | rsa signature b8 dd 15 b0 02 f5 ee 1c f6 26 7f 23 6b d2 0e f2 | rsa signature 80 b3 4a 78 44 d5 ee e7 e1 b4 79 ac 83 b3 c8 77 | rsa signature 3e 14 | #3 spent 3.01 milliseconds in ikev2_calculate_rsa_hash() | emitting length of IKEv2 Authentication Payload: 282 | creating state object #4 at 0x5616083b0c30 | 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 eb 22 d4 98 | 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=eb22d498;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=eb22d498;ENCR=NULL;ESN=DISABLED | converting proposal to internal trans attrs | netlink_get_spi: allocated 0x10e24462 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 10 e2 44 62 | ******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.eb22d498@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.10e24462@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=0xeb22d498 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=0xeb22d498 SPI_OUT=0x10e24462 ipsec _updown 2>&1: | route_and_eroute: firewall_notified: true | route_and_eroute: instance "esp=null-none", setting eroute_owner {spd=0x5616083a59a0,sr=0x5616083a59a0} to #4 (was #0) (newest_ipsec_sa=#0) | #3 spent 0.471 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: 9f bb 71 05 bf 13 dc 57 ec ee e7 65 e6 4c ed 05 | data being hmac: 2e 20 23 20 00 00 00 01 00 00 01 bc 24 00 01 a0 | data being hmac: 03 d3 b5 6d 81 7a 0a 2d 1f ce 06 db a9 af a8 c2 | data being hmac: 14 bc 96 7b 8d 25 fa 72 69 59 b0 71 48 50 74 04 | data being hmac: 53 43 86 e4 3f b5 9d d7 95 b5 64 6b 35 ed 5f 29 | data being hmac: 3e 94 b6 0f 47 3c b3 6c aa 46 92 c5 61 0e 54 0c | data being hmac: fb 8a 17 22 b6 36 4f e3 83 3e 87 7e b7 18 b1 9e | data being hmac: ea 03 16 ab ff 93 eb 82 20 9b 37 ae c9 97 23 b9 | data being hmac: 0c 17 44 99 79 c4 29 ac 79 62 34 ee 8f 71 7f a1 | data being hmac: fb 73 eb 23 05 3f 55 a2 b3 c2 ce 0c 7d b0 36 e6 | data being hmac: 82 e5 51 30 4b 7c 7f b4 46 9b 2f 0e 47 0c 42 bf | data being hmac: 96 5a b0 fd d2 09 25 25 f9 0e 7a 10 df 2b 01 66 | data being hmac: 97 03 c4 7f dc 6a 54 db 29 0d ea 22 1c 02 2e 69 | data being hmac: 29 3e b2 85 e9 59 42 78 a5 dc 04 dd 00 70 cd 68 | data being hmac: 58 17 70 46 a0 29 62 6b 77 37 4a 64 7b a4 e4 45 | data being hmac: b1 d9 30 00 ba 39 3c d1 d3 02 9c 51 14 fe bb 12 | data being hmac: 88 72 fc 12 1c d3 55 ae 34 93 86 9b f2 be e5 24 | data being hmac: fe 05 02 cb 97 e1 c2 7a 00 c1 ed b3 61 06 c4 15 | data being hmac: 5a 74 96 69 6c 94 ab 7a 41 6c 71 b8 f5 20 a7 bc | data being hmac: 92 83 72 3c b4 c8 20 49 1f 4d 8c ff 20 5e 59 b0 | data being hmac: 9b 2b 9f 2a f6 f2 94 c1 0c c4 9d 70 77 cf c8 4b | data being hmac: 53 01 bf e8 a1 a3 49 6f 0f d5 41 27 51 2f 31 c1 | data being hmac: f3 1a 81 05 c4 7c 0e 3d f2 4c 32 23 e2 25 9f a3 | data being hmac: f7 c5 a8 21 a2 b4 2c 68 cd 90 44 82 01 88 17 2f | data being hmac: 17 c9 80 92 cf 54 22 c4 7b 79 bd 8b 4a 11 8e 4c | data being hmac: 57 3a b8 fd 15 08 90 b6 6c c1 c3 8c 68 42 c9 f9 | data being hmac: 76 ef 4c dd c0 59 71 d6 aa 08 4f c8 a7 b8 a5 0c | out calculated auth: | a2 61 e0 af 42 cf dd e0 d3 4f 39 84 | ikev2_parent_inI2outR2_continue_tail returned STF_OK | #3 spent 4.24 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=>0xeb22d498 <0x10e24462 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) | 9f bb 71 05 bf 13 dc 57 ec ee e7 65 e6 4c ed 05 | 2e 20 23 20 00 00 00 01 00 00 01 bc 24 00 01 a0 | 03 d3 b5 6d 81 7a 0a 2d 1f ce 06 db a9 af a8 c2 | 14 bc 96 7b 8d 25 fa 72 69 59 b0 71 48 50 74 04 | 53 43 86 e4 3f b5 9d d7 95 b5 64 6b 35 ed 5f 29 | 3e 94 b6 0f 47 3c b3 6c aa 46 92 c5 61 0e 54 0c | fb 8a 17 22 b6 36 4f e3 83 3e 87 7e b7 18 b1 9e | ea 03 16 ab ff 93 eb 82 20 9b 37 ae c9 97 23 b9 | 0c 17 44 99 79 c4 29 ac 79 62 34 ee 8f 71 7f a1 | fb 73 eb 23 05 3f 55 a2 b3 c2 ce 0c 7d b0 36 e6 | 82 e5 51 30 4b 7c 7f b4 46 9b 2f 0e 47 0c 42 bf | 96 5a b0 fd d2 09 25 25 f9 0e 7a 10 df 2b 01 66 | 97 03 c4 7f dc 6a 54 db 29 0d ea 22 1c 02 2e 69 | 29 3e b2 85 e9 59 42 78 a5 dc 04 dd 00 70 cd 68 | 58 17 70 46 a0 29 62 6b 77 37 4a 64 7b a4 e4 45 | b1 d9 30 00 ba 39 3c d1 d3 02 9c 51 14 fe bb 12 | 88 72 fc 12 1c d3 55 ae 34 93 86 9b f2 be e5 24 | fe 05 02 cb 97 e1 c2 7a 00 c1 ed b3 61 06 c4 15 | 5a 74 96 69 6c 94 ab 7a 41 6c 71 b8 f5 20 a7 bc | 92 83 72 3c b4 c8 20 49 1f 4d 8c ff 20 5e 59 b0 | 9b 2b 9f 2a f6 f2 94 c1 0c c4 9d 70 77 cf c8 4b | 53 01 bf e8 a1 a3 49 6f 0f d5 41 27 51 2f 31 c1 | f3 1a 81 05 c4 7c 0e 3d f2 4c 32 23 e2 25 9f a3 | f7 c5 a8 21 a2 b4 2c 68 cd 90 44 82 01 88 17 2f | 17 c9 80 92 cf 54 22 c4 7b 79 bd 8b 4a 11 8e 4c | 57 3a b8 fd 15 08 90 b6 6c c1 c3 8c 68 42 c9 f9 | 76 ef 4c dd c0 59 71 d6 aa 08 4f c8 a7 b8 a5 0c | a2 61 e0 af 42 cf dd e0 d3 4f 39 84 | 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@0x5616083add80 | inserting event EVENT_SA_REKEY, timeout in 28530 seconds for #4 | libevent_malloc: new ptr-libevent@0x7f1fa0006900 size 128 | resume sending helper answer for #3 suppresed complete_v2_state_transition() | #3 spent 4.51 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@0x7f1f940061a0 | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00436 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00279 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) | 9f bb 71 05 bf 13 dc 57 ec ee e7 65 e6 4c ed 05 | 2e 20 25 08 00 00 00 02 00 00 00 4c 2a 00 00 30 | c9 6d ca f9 a1 d1 8b 6e 39 1f 2d 87 1a 56 87 07 | 24 77 0c 5c 62 40 ac c8 d6 c3 fe 04 ca 75 76 fd | 27 9f 48 6c a2 a6 4a 35 82 ec bd 79 | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 9f bb 71 05 bf 13 dc 57 | responder cookie: | ec ee e7 65 e6 4c ed 05 | next payload type: ISAKMP_NEXT_v2SK (0x2e) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_INFORMATIONAL (0x25) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 2 (0x2) | length: 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: 9f bb 71 05 bf 13 dc 57 ec ee e7 65 e6 4c ed 05 | data for hmac: 2e 20 25 08 00 00 00 02 00 00 00 4c 2a 00 00 30 | data for hmac: c9 6d ca f9 a1 d1 8b 6e 39 1f 2d 87 1a 56 87 07 | data for hmac: 24 77 0c 5c 62 40 ac c8 d6 c3 fe 04 ca 75 76 fd | calculated auth: 27 9f 48 6c a2 a6 4a 35 82 ec bd 79 | provided auth: 27 9f 48 6c a2 a6 4a 35 82 ec bd 79 | 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: | 9f bb 71 05 bf 13 dc 57 | responder cookie: | ec ee e7 65 e6 4c ed 05 | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_INFORMATIONAL (0x25) | flags: ISAKMP_FLAG_v2_MSG_RESPONSE (0x20) | Message ID: 2 (0x2) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | ***emit IKEv2 Encryption Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'ISAKMP Message'.'next payload type' to current IKEv2 Encryption Payload (46:ISAKMP_NEXT_v2SK) | next payload chain: saving location 'IKEv2 Encryption Payload'.'next payload type' in 'information exchange reply packet' | emitting 16 zero bytes of IV into IKEv2 Encryption Payload | parsing 4 raw bytes of IKEv2 Delete Payload into SPI | SPI eb 22 d4 98 | delete PROTO_v2_ESP SA(0xeb22d498) | 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(0xeb22d498) "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.088s and NOT sending notification | child state #4: V2_IPSEC_R(established CHILD SA) => delete | get_sa_info esp.eb22d498@192.1.2.45 | get_sa_info esp.10e24462@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@0x7f1fa0006900 | free_event_entry: release EVENT_SA_REKEY-pe@0x5616083add80 | 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='1569050784' 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='1569050784' 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=0xeb22d498 SPI_OUT=0x10e24462 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.eb22d498@192.1.2.45 | netlink response for Del SA esp.eb22d498@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.10e24462@192.1.2.23 | netlink response for Del SA esp.10e24462@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 10 e2 44 62 | 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: 9f bb 71 05 bf 13 dc 57 ec ee e7 65 e6 4c ed 05 | data being hmac: 2e 20 25 20 00 00 00 02 00 00 00 4c 2a 00 00 30 | data being hmac: 4d 7c 1f 93 cc ac c8 62 9c 24 d9 32 17 e9 b9 df | data being hmac: 75 65 89 0f 19 28 66 92 a0 97 a2 40 0e 6b 1b 3d | out calculated auth: | ca a0 db 99 7c 43 01 a5 93 40 61 64 | 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) | 9f bb 71 05 bf 13 dc 57 ec ee e7 65 e6 4c ed 05 | 2e 20 25 20 00 00 00 02 00 00 00 4c 2a 00 00 30 | 4d 7c 1f 93 cc ac c8 62 9c 24 d9 32 17 e9 b9 df | 75 65 89 0f 19 28 66 92 a0 97 a2 40 0e 6b 1b 3d | ca a0 db 99 7c 43 01 a5 93 40 61 64 | 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.617 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.81 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.822 milliseconds in comm_handle_cb() reading and processing packet | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00418 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00183 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) | 9f bb 71 05 bf 13 dc 57 ec ee e7 65 e6 4c ed 05 | 2e 20 25 08 00 00 00 03 00 00 00 4c 2a 00 00 30 | 37 c8 08 77 61 74 02 17 50 81 61 e8 1d 7e 8a f5 | 53 d2 b9 3e 0c 55 ea 14 cf 06 7f cc 4e 93 ad cf | 00 1b 95 95 08 ae f8 51 21 bd f7 de | start processing: from 192.1.2.45:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 9f bb 71 05 bf 13 dc 57 | responder cookie: | ec ee e7 65 e6 4c ed 05 | next payload type: ISAKMP_NEXT_v2SK (0x2e) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_INFORMATIONAL (0x25) | flags: ISAKMP_FLAG_v2_IKE_INIT (0x8) | Message ID: 3 (0x3) | length: 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: 9f bb 71 05 bf 13 dc 57 ec ee e7 65 e6 4c ed 05 | data for hmac: 2e 20 25 08 00 00 00 03 00 00 00 4c 2a 00 00 30 | data for hmac: 37 c8 08 77 61 74 02 17 50 81 61 e8 1d 7e 8a f5 | data for hmac: 53 d2 b9 3e 0c 55 ea 14 cf 06 7f cc 4e 93 ad cf | calculated auth: 00 1b 95 95 08 ae f8 51 21 bd f7 de | provided auth: 00 1b 95 95 08 ae f8 51 21 bd f7 de | 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: | 9f bb 71 05 bf 13 dc 57 | responder cookie: | ec ee e7 65 e6 4c ed 05 | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: IKEv2 version 2.0 (rfc4306/rfc5996) (0x20) | exchange type: ISAKMP_v2_INFORMATIONAL (0x25) | flags: ISAKMP_FLAG_v2_MSG_RESPONSE (0x20) | Message ID: 3 (0x3) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | ***emit IKEv2 Encryption Payload: | next payload type: ISAKMP_NEXT_v2NONE (0x0) | flags: none (0x0) | next payload chain: setting previous 'ISAKMP Message'.'next payload type' to current IKEv2 Encryption Payload (46:ISAKMP_NEXT_v2SK) | next payload chain: saving location 'IKEv2 Encryption Payload'.'next payload type' in 'information exchange reply packet' | emitting 16 zero bytes of IV into IKEv2 Encryption Payload | adding 16 bytes of padding (including 1 byte padding-length) | emitting 1 0x00 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x01 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x02 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x03 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x04 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x05 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x06 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x07 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x08 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x09 repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x0a repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x0b repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x0c repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x0d repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x0e repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 1 0x0f repeated bytes of padding and length into IKEv2 Encryption Payload | emitting 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: 9f bb 71 05 bf 13 dc 57 ec ee e7 65 e6 4c ed 05 | data being hmac: 2e 20 25 20 00 00 00 03 00 00 00 4c 00 00 00 30 | data being hmac: e9 d5 28 e1 b2 ac f3 ea b4 c8 27 07 54 a2 30 f8 | data being hmac: 0f 68 46 59 c0 f1 fd 99 ac 8c 1b 43 49 c5 21 78 | out calculated auth: | e7 14 c6 d4 08 44 7a 7d 9f 13 da c6 | 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) | 9f bb 71 05 bf 13 dc 57 ec ee e7 65 e6 4c ed 05 | 2e 20 25 20 00 00 00 03 00 00 00 4c 00 00 00 30 | e9 d5 28 e1 b2 ac f3 ea b4 c8 27 07 54 a2 30 f8 | 0f 68 46 59 c0 f1 fd 99 ac 8c 1b 43 49 c5 21 78 | e7 14 c6 d4 08 44 7a 7d 9f 13 da c6 | 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 8.22 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.112s 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@0x5616083a6320 | free_event_entry: release EVENT_SA_REKEY-pe@0x7f1fa0002b20 | 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: 0x56160832e210 @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.426 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.311 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: 0x5616082ff8f0 @east cnt 1-- | unreference key: 0x56160832e210 @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. "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. "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. "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. "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. "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. "esp=null-none": unroute-client output: Error: Peer netns reference is invalid. | free hp@0x561608371440 | 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@0x5616083a4b10 | free_event_entry: release EVENT_NULL-pe@0x5616083a4ad0 | libevent_free: release ptr-libevent@0x5616083a4c00 | free_event_entry: release EVENT_NULL-pe@0x5616083a4bc0 | libevent_free: release ptr-libevent@0x5616083a4cf0 | free_event_entry: release EVENT_NULL-pe@0x5616083a4cb0 | libevent_free: release ptr-libevent@0x5616083a4de0 | free_event_entry: release EVENT_NULL-pe@0x5616083a4da0 | libevent_free: release ptr-libevent@0x5616083a4ed0 | free_event_entry: release EVENT_NULL-pe@0x5616083a4e90 | libevent_free: release ptr-libevent@0x5616083a4fc0 | free_event_entry: release EVENT_NULL-pe@0x5616083a4f80 | FOR_EACH_UNORIENTED_CONNECTION_... in check_orientations | libevent_free: release ptr-libevent@0x5616083a4430 | free_event_entry: release EVENT_NULL-pe@0x561608388300 | libevent_free: release ptr-libevent@0x561608399ec0 | free_event_entry: release EVENT_NULL-pe@0x56160838dcd0 | libevent_free: release ptr-libevent@0x561608399e30 | free_event_entry: release EVENT_NULL-pe@0x56160838dd10 | 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@0x5616083a4500 | signal event handler PLUTO_SIGCHLD uninstalled | libevent_free: release ptr-libevent@0x5616083a45e0 | signal event handler PLUTO_SIGTERM uninstalled | libevent_free: release ptr-libevent@0x5616083a46a0 | signal event handler PLUTO_SIGHUP uninstalled | libevent_free: release ptr-libevent@0x561608399230 | signal event handler PLUTO_SIGSYS uninstalled | releasing event base | libevent_free: release ptr-libevent@0x5616083a4760 | libevent_free: release ptr-libevent@0x56160837ae90 | libevent_free: release ptr-libevent@0x561608388640 | libevent_free: release ptr-libevent@0x561608388710 | libevent_free: release ptr-libevent@0x561608388660 | libevent_free: release ptr-libevent@0x5616083a44c0 | libevent_free: release ptr-libevent@0x5616083a45a0 | libevent_free: release ptr-libevent@0x5616083886f0 | libevent_free: release ptr-libevent@0x56160838cff0 | libevent_free: release ptr-libevent@0x56160838d010 | libevent_free: release ptr-libevent@0x5616083a5050 | libevent_free: release ptr-libevent@0x5616083a4f60 | libevent_free: release ptr-libevent@0x5616083a4e70 | libevent_free: release ptr-libevent@0x5616083a4d80 | libevent_free: release ptr-libevent@0x5616083a4c90 | libevent_free: release ptr-libevent@0x5616083a4ba0 | libevent_free: release ptr-libevent@0x56160830a370 | libevent_free: release ptr-libevent@0x5616083a4680 | libevent_free: release ptr-libevent@0x5616083a45c0 | libevent_free: release ptr-libevent@0x5616083a44e0 | libevent_free: release ptr-libevent@0x5616083a4740 | libevent_free: release ptr-libevent@0x5616083085b0 | libevent_free: release ptr-libevent@0x561608388680 | libevent_free: release ptr-libevent@0x5616083886b0 | libevent_free: release ptr-libevent@0x5616083883a0 | releasing global libevent data | libevent_free: release ptr-libevent@0x561608387090 | libevent_free: release ptr-libevent@0x561608388340 | libevent_free: release ptr-libevent@0x561608388370