FIPS Product: YES FIPS Kernel: NO FIPS Mode: NO NSS DB directory: sql:/etc/ipsec.d Initializing NSS Opening NSS database "sql:/etc/ipsec.d" read-only NSS initialized NSS crypto library initialized FIPS HMAC integrity support [enabled] FIPS mode disabled for pluto daemon FIPS HMAC integrity verification self-test FAILED libcap-ng support [enabled] Linux audit support [enabled] Linux audit activated Starting Pluto (Libreswan Version v3.28-685-gbfd5aef521-master-s2 XFRM(netkey) esp-hw-offload FORK PTHREAD_SETSCHEDPRIO NSS (IPsec profile) DNSSEC FIPS_CHECK LABELED_IPSEC SECCOMP LIBCAP_NG LINUX_AUDIT XAUTH_PAM NETWORKMANAGER CURL(non-NSS)) pid:27966 core dump dir: /tmp secrets file: /etc/ipsec.secrets leak-detective enabled NSS crypto [enabled] XAUTH PAM support [enabled] | libevent is using pluto's memory allocator Initializing libevent in pthreads mode: headers: 2.1.8-stable (2010800); library: 2.1.8-stable (2010800) | libevent_malloc: new ptr-libevent@0x557cf8634f78 size 40 | libevent_malloc: new ptr-libevent@0x557cf862fcd8 size 40 | libevent_malloc: new ptr-libevent@0x557cf862fdd8 size 40 | creating event base | libevent_malloc: new ptr-libevent@0x557cf86b4678 size 56 | libevent_malloc: new ptr-libevent@0x557cf86582c8 size 664 | libevent_malloc: new ptr-libevent@0x557cf86b46e8 size 24 | libevent_malloc: new ptr-libevent@0x557cf86b4738 size 384 | libevent_malloc: new ptr-libevent@0x557cf86b4638 size 16 | libevent_malloc: new ptr-libevent@0x557cf862f908 size 40 | libevent_malloc: new ptr-libevent@0x557cf862fd38 size 48 | libevent_realloc: new ptr-libevent@0x557cf8657f58 size 256 | libevent_malloc: new ptr-libevent@0x557cf86b48e8 size 16 | libevent_free: release ptr-libevent@0x557cf86b4678 | libevent initialized | libevent_realloc: new ptr-libevent@0x557cf86b4678 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 | starting up helper thread 0 | status value returned by setting the priority of this thread (crypto helper 0) 22 | starting up helper thread 1 | status value returned by setting the priority of this thread (crypto helper 1) 22 | crypto helper 0 waiting (nothing to do) started thread for crypto helper 1 | crypto helper 1 waiting (nothing to do) started thread for crypto helper 2 | 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) started thread for crypto helper 3 | starting up helper thread 3 | status value returned by setting the priority of this thread (crypto helper 3) 22 | crypto helper 3 waiting (nothing to do) started thread for crypto helper 4 | starting up helper thread 4 | starting up helper thread 5 started thread for crypto helper 5 | status value returned by setting the priority of this thread (crypto helper 4) 22 | crypto helper 4 waiting (nothing to do) | status value returned by setting the priority of this thread (crypto helper 5) 22 | starting up helper thread 6 started thread for crypto helper 6 | crypto helper 5 waiting (nothing to do) | checking IKEv1 state table | status value returned by setting the priority of this thread (crypto helper 6) 22 | crypto helper 6 waiting (nothing to do) | MAIN_R0: category: half-open IKE SA flags: 0: | -> MAIN_R1 EVENT_SO_DISCARD | MAIN_I1: category: half-open IKE SA flags: 0: | -> MAIN_I2 EVENT_RETRANSMIT | MAIN_R1: category: open IKE SA flags: 200: | -> MAIN_R2 EVENT_RETRANSMIT | -> UNDEFINED EVENT_RETRANSMIT | -> UNDEFINED EVENT_RETRANSMIT | MAIN_I2: category: open IKE SA flags: 0: | -> MAIN_I3 EVENT_RETRANSMIT | -> UNDEFINED EVENT_RETRANSMIT | -> UNDEFINED EVENT_RETRANSMIT | MAIN_R2: category: open IKE SA flags: 0: | -> MAIN_R3 EVENT_SA_REPLACE | -> MAIN_R3 EVENT_SA_REPLACE | -> UNDEFINED EVENT_SA_REPLACE | MAIN_I3: category: open IKE SA flags: 0: | -> MAIN_I4 EVENT_SA_REPLACE | -> MAIN_I4 EVENT_SA_REPLACE | -> UNDEFINED EVENT_SA_REPLACE | MAIN_R3: category: established IKE SA flags: 200: | -> UNDEFINED EVENT_NULL | MAIN_I4: category: established IKE SA flags: 0: | -> UNDEFINED EVENT_NULL | AGGR_R0: category: half-open IKE SA flags: 0: | -> AGGR_R1 EVENT_SO_DISCARD | AGGR_I1: category: half-open IKE SA flags: 0: | -> AGGR_I2 EVENT_SA_REPLACE | -> AGGR_I2 EVENT_SA_REPLACE | AGGR_R1: category: open IKE SA flags: 200: | -> AGGR_R2 EVENT_SA_REPLACE | -> AGGR_R2 EVENT_SA_REPLACE | AGGR_I2: category: established IKE SA flags: 200: | -> UNDEFINED EVENT_NULL | AGGR_R2: category: established IKE SA flags: 0: | -> UNDEFINED EVENT_NULL | QUICK_R0: category: established CHILD SA flags: 0: | -> QUICK_R1 EVENT_RETRANSMIT | QUICK_I1: category: established CHILD SA flags: 0: | -> QUICK_I2 EVENT_SA_REPLACE | QUICK_R1: category: established CHILD SA flags: 0: | -> QUICK_R2 EVENT_SA_REPLACE | QUICK_I2: category: established CHILD SA flags: 200: | -> UNDEFINED EVENT_NULL | QUICK_R2: category: established CHILD SA flags: 0: | -> UNDEFINED EVENT_NULL | INFO: category: informational flags: 0: | -> UNDEFINED EVENT_NULL | INFO_PROTECTED: category: informational flags: 0: | -> UNDEFINED EVENT_NULL | XAUTH_R0: category: established IKE SA flags: 0: | -> XAUTH_R1 EVENT_NULL | XAUTH_R1: category: established IKE SA flags: 0: | -> MAIN_R3 EVENT_SA_REPLACE | MODE_CFG_R0: category: informational flags: 0: | -> MODE_CFG_R1 EVENT_SA_REPLACE | MODE_CFG_R1: category: established IKE SA flags: 0: | -> MODE_CFG_R2 EVENT_SA_REPLACE | MODE_CFG_R2: category: established IKE SA flags: 0: | -> UNDEFINED EVENT_NULL | MODE_CFG_I1: category: established IKE SA flags: 0: | -> MAIN_I4 EVENT_SA_REPLACE | XAUTH_I0: category: established IKE SA flags: 0: | -> XAUTH_I1 EVENT_RETRANSMIT | XAUTH_I1: category: established IKE SA flags: 0: | -> MAIN_I4 EVENT_RETRANSMIT | checking IKEv2 state table | PARENT_I0: category: ignore flags: 0: | -> PARENT_I1 EVENT_RETRANSMIT send-request (initiate IKE_SA_INIT) | PARENT_I1: category: half-open IKE SA flags: 0: | -> PARENT_I1 EVENT_RETAIN send-request (Initiator: process SA_INIT reply notification) | -> PARENT_I2 EVENT_RETRANSMIT send-request (Initiator: process IKE_SA_INIT reply, initiate IKE_AUTH) | PARENT_I2: category: open IKE SA flags: 0: | -> PARENT_I2 EVENT_NULL (Initiator: process INVALID_SYNTAX AUTH notification) | -> PARENT_I2 EVENT_NULL (Initiator: process AUTHENTICATION_FAILED AUTH notification) | -> PARENT_I2 EVENT_NULL (Initiator: process UNSUPPORTED_CRITICAL_PAYLOAD AUTH notification) | -> V2_IPSEC_I EVENT_SA_REPLACE (Initiator: process IKE_AUTH response) | -> PARENT_I2 EVENT_NULL (IKE SA: process IKE_AUTH response containing unknown notification) | PARENT_I3: category: established IKE SA flags: 0: | -> PARENT_I3 EVENT_RETAIN (I3: Informational Request) | -> PARENT_I3 EVENT_RETAIN (I3: Informational Response) | -> PARENT_I3 EVENT_RETAIN (I3: INFORMATIONAL Request) | -> PARENT_I3 EVENT_RETAIN (I3: INFORMATIONAL Response) | PARENT_R0: category: half-open IKE SA flags: 0: | -> PARENT_R1 EVENT_SO_DISCARD send-request (Respond to IKE_SA_INIT) | PARENT_R1: category: half-open IKE SA flags: 0: | -> PARENT_R1 EVENT_SA_REPLACE send-request (Responder: process IKE_AUTH request (no SKEYSEED)) | -> V2_IPSEC_R EVENT_SA_REPLACE send-request (Responder: process IKE_AUTH request) | PARENT_R2: category: established IKE SA flags: 0: | -> PARENT_R2 EVENT_RETAIN (R2: process Informational Request) | -> PARENT_R2 EVENT_RETAIN (R2: process Informational Response) | -> PARENT_R2 EVENT_RETAIN (R2: process INFORMATIONAL Request) | -> PARENT_R2 EVENT_RETAIN (R2: process INFORMATIONAL Response) | V2_CREATE_I0: category: established IKE SA flags: 0: | -> V2_CREATE_I EVENT_RETRANSMIT send-request (Initiate CREATE_CHILD_SA IPsec SA) | V2_CREATE_I: category: established IKE SA flags: 0: | -> V2_IPSEC_I EVENT_SA_REPLACE (Process CREATE_CHILD_SA IPsec SA Response) | V2_REKEY_IKE_I0: category: established IKE SA flags: 0: | -> V2_REKEY_IKE_I EVENT_RETRANSMIT send-request (Initiate CREATE_CHILD_SA IKE Rekey) | V2_REKEY_IKE_I: category: established IKE SA flags: 0: | -> PARENT_I3 EVENT_SA_REPLACE (Process CREATE_CHILD_SA IKE Rekey Response) | V2_REKEY_CHILD_I0: category: established IKE SA flags: 0: | -> V2_REKEY_CHILD_I EVENT_RETRANSMIT send-request (Initiate CREATE_CHILD_SA IPsec Rekey SA) | V2_REKEY_CHILD_I: category: established IKE SA flags: 0: | V2_CREATE_R: category: established IKE SA flags: 0: | -> V2_IPSEC_R EVENT_SA_REPLACE send-request (Respond to CREATE_CHILD_SA IPsec SA Request) | V2_REKEY_IKE_R: category: established IKE SA flags: 0: | -> PARENT_R2 EVENT_SA_REPLACE send-request (Respond to CREATE_CHILD_SA IKE Rekey) | V2_REKEY_CHILD_R: category: established IKE SA flags: 0: | V2_IPSEC_I: category: established CHILD SA flags: 0: | V2_IPSEC_R: category: established CHILD SA flags: 0: | IKESA_DEL: category: established IKE SA flags: 0: | -> IKESA_DEL EVENT_RETAIN (IKE_SA_DEL: process INFORMATIONAL) | CHILDSA_DEL: category: informational flags: 0: Using Linux XFRM/NETKEY IPsec interface code on 5.1.18-200.fc29.x86_64 | Hard-wiring algorithms | adding AES_CCM_16 to kernel algorithm db | adding AES_CCM_12 to kernel algorithm db | adding AES_CCM_8 to kernel algorithm db | adding 3DES_CBC to kernel algorithm db | adding CAMELLIA_CBC to kernel algorithm db | adding AES_GCM_16 to kernel algorithm db | adding AES_GCM_12 to kernel algorithm db | adding AES_GCM_8 to kernel algorithm db | adding AES_CTR to kernel algorithm db | adding AES_CBC to kernel algorithm db | adding SERPENT_CBC to kernel algorithm db | adding TWOFISH_CBC to kernel algorithm db | adding NULL_AUTH_AES_GMAC to kernel algorithm db | adding NULL to kernel algorithm db | adding CHACHA20_POLY1305 to kernel algorithm db | adding HMAC_MD5_96 to kernel algorithm db | adding HMAC_SHA1_96 to kernel algorithm db | adding HMAC_SHA2_512_256 to kernel algorithm db | adding HMAC_SHA2_384_192 to kernel algorithm db | adding HMAC_SHA2_256_128 to kernel algorithm db | adding HMAC_SHA2_256_TRUNCBUG to kernel algorithm db | adding AES_XCBC_96 to kernel algorithm db | adding AES_CMAC_96 to kernel algorithm db | adding NONE to kernel algorithm db | net.ipv6.conf.all.disable_ipv6=1 ignore ipv6 holes | global periodic timer EVENT_SHUNT_SCAN enabled with interval of 20 seconds | setup kernel fd callback | add_fd_read_event_handler: new KERNEL_XRM_FD-pe@0x557cf86b92b8 | libevent_malloc: new ptr-libevent@0x557cf869d6c8 size 128 | libevent_malloc: new ptr-libevent@0x557cf86b93c8 size 16 | add_fd_read_event_handler: new KERNEL_ROUTE_FD-pe@0x557cf86b9df8 | libevent_malloc: new ptr-libevent@0x557cf8659868 size 128 | libevent_malloc: new ptr-libevent@0x557cf86b9db8 size 16 | global one-shot timer EVENT_CHECK_CRLS initialized selinux support is enabled. | unbound context created - setting debug level to 5 | /etc/hosts lookups activated | /etc/resolv.conf usage activated | outgoing-port-avoid set 0-65535 | outgoing-port-permit set 32768-60999 | Loading dnssec root key from:/var/lib/unbound/root.key | No additional dnssec trust anchors defined via dnssec-trusted= option | Setting up events, loop start | add_fd_read_event_handler: new PLUTO_CTL_FD-pe@0x557cf86b9e68 | libevent_malloc: new ptr-libevent@0x557cf86c5ff8 size 128 | libevent_malloc: new ptr-libevent@0x557cf86d1248 size 16 | libevent_realloc: new ptr-libevent@0x557cf86d1288 size 256 | libevent_malloc: new ptr-libevent@0x557cf86d13b8 size 8 | libevent_realloc: new ptr-libevent@0x557cf8658968 size 144 | libevent_malloc: new ptr-libevent@0x557cf8660ca8 size 152 | libevent_malloc: new ptr-libevent@0x557cf86d13f8 size 16 | signal event handler PLUTO_SIGCHLD installed | libevent_malloc: new ptr-libevent@0x557cf86d1438 size 8 | libevent_malloc: new ptr-libevent@0x557cf86d1478 size 152 | signal event handler PLUTO_SIGTERM installed | libevent_malloc: new ptr-libevent@0x557cf86d1548 size 8 | libevent_malloc: new ptr-libevent@0x557cf86d1588 size 152 | signal event handler PLUTO_SIGHUP installed | libevent_malloc: new ptr-libevent@0x557cf86d1658 size 8 | libevent_realloc: release ptr-libevent@0x557cf8658968 | libevent_realloc: new ptr-libevent@0x557cf86d1698 size 256 | libevent_malloc: new ptr-libevent@0x557cf86d17c8 size 152 | signal event handler PLUTO_SIGSYS installed | created addconn helper (pid:28072) using fork+execve | forked child 28072 | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:722) listening for IKE messages | Inspecting interface lo | found lo with address 127.0.0.1 | Inspecting interface eth0 | found eth0 with address 192.0.2.254 | Inspecting interface 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@0x557cf86d1d28 | libevent_malloc: new ptr-libevent@0x557cf86c5f48 size 128 | libevent_malloc: new ptr-libevent@0x557cf86d1d98 size 16 | setup callback for interface lo 127.0.0.1:4500 fd 22 | add_fd_read_event_handler: new ethX-pe@0x557cf86d1dd8 | libevent_malloc: new ptr-libevent@0x557cf865aaa8 size 128 | libevent_malloc: new ptr-libevent@0x557cf86d1e48 size 16 | setup callback for interface lo 127.0.0.1:500 fd 21 | add_fd_read_event_handler: new ethX-pe@0x557cf86d1e88 | libevent_malloc: new ptr-libevent@0x557cf865bf58 size 128 | libevent_malloc: new ptr-libevent@0x557cf86d1ef8 size 16 | setup callback for interface eth0 192.0.2.254:4500 fd 20 | add_fd_read_event_handler: new ethX-pe@0x557cf86d1f38 | libevent_malloc: new ptr-libevent@0x557cf8660d78 size 128 | libevent_malloc: new ptr-libevent@0x557cf86d1fa8 size 16 | setup callback for interface eth0 192.0.2.254:500 fd 19 | add_fd_read_event_handler: new ethX-pe@0x557cf86d1fe8 | libevent_malloc: new ptr-libevent@0x557cf8635b78 size 128 | libevent_malloc: new ptr-libevent@0x557cf86d2058 size 16 | setup callback for interface eth1 192.1.2.23:4500 fd 18 | add_fd_read_event_handler: new ethX-pe@0x557cf86d2098 | libevent_malloc: new ptr-libevent@0x557cf86301d8 size 128 | libevent_malloc: new ptr-libevent@0x557cf86d2108 size 16 | setup callback for interface eth1 192.1.2.23:500 fd 17 | certs and keys locked by 'free_preshared_secrets' | certs and keys unlocked by 'free_preshared_secrets' loading secrets from "/etc/ipsec.secrets" | id type added to secret(0x557cf862bc48) PKK_PSK: %any | id type added to secret(0x557cf862bc48) PKK_PSK: %any | Processing PSK at line 10: passed | certs and keys locked by 'process_secret' | certs and keys unlocked by 'process_secret' | id type added to secret(0x557cf86d3758) PKK_PSK: @west | id type added to secret(0x557cf86d3758) PKK_PSK: @east | Processing PSK at line 12: passed | certs and keys locked by 'process_secret' | certs and keys unlocked by 'process_secret' | id type added to secret(0x557cf86d39b8) PKK_PSK: @east | id type added to secret(0x557cf86d39b8) PKK_PSK: @roadrandom | Processing PSK at line 13: passed | certs and keys locked by 'process_secret' | certs and keys unlocked by 'process_secret' | close_any(fd@16) (in whack_process() at rcv_whack.c:700) | spent 1.05 milliseconds in whack | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:722) listening for IKE messages | Inspecting interface lo | found lo with address 127.0.0.1 | Inspecting interface eth0 | found eth0 with address 192.0.2.254 | Inspecting interface eth1 | found eth1 with address 192.1.2.23 | no interfaces to sort | libevent_free: release ptr-libevent@0x557cf86c5f48 | free_event_entry: release EVENT_NULL-pe@0x557cf86d1d28 | add_fd_read_event_handler: new ethX-pe@0x557cf86d1d28 | libevent_malloc: new ptr-libevent@0x557cf86c5f48 size 128 | setup callback for interface lo 127.0.0.1:4500 fd 22 | libevent_free: release ptr-libevent@0x557cf865aaa8 | free_event_entry: release EVENT_NULL-pe@0x557cf86d1dd8 | add_fd_read_event_handler: new ethX-pe@0x557cf86d1dd8 | libevent_malloc: new ptr-libevent@0x557cf865aaa8 size 128 | setup callback for interface lo 127.0.0.1:500 fd 21 | libevent_free: release ptr-libevent@0x557cf865bf58 | free_event_entry: release EVENT_NULL-pe@0x557cf86d1e88 | add_fd_read_event_handler: new ethX-pe@0x557cf86d1e88 | libevent_malloc: new ptr-libevent@0x557cf865bf58 size 128 | setup callback for interface eth0 192.0.2.254:4500 fd 20 | libevent_free: release ptr-libevent@0x557cf8660d78 | free_event_entry: release EVENT_NULL-pe@0x557cf86d1f38 | add_fd_read_event_handler: new ethX-pe@0x557cf86d1f38 | libevent_malloc: new ptr-libevent@0x557cf8660d78 size 128 | setup callback for interface eth0 192.0.2.254:500 fd 19 | libevent_free: release ptr-libevent@0x557cf8635b78 | free_event_entry: release EVENT_NULL-pe@0x557cf86d1fe8 | add_fd_read_event_handler: new ethX-pe@0x557cf86d1fe8 | libevent_malloc: new ptr-libevent@0x557cf8635b78 size 128 | setup callback for interface eth1 192.1.2.23:4500 fd 18 | libevent_free: release ptr-libevent@0x557cf86301d8 | free_event_entry: release EVENT_NULL-pe@0x557cf86d2098 | add_fd_read_event_handler: new ethX-pe@0x557cf86d2098 | libevent_malloc: new ptr-libevent@0x557cf86301d8 size 128 | setup callback for interface eth1 192.1.2.23:500 fd 17 | certs and keys locked by 'free_preshared_secrets' forgetting secrets | certs and keys unlocked by 'free_preshared_secrets' loading secrets from "/etc/ipsec.secrets" | id type added to secret(0x557cf862bc48) PKK_PSK: %any | id type added to secret(0x557cf862bc48) PKK_PSK: %any | Processing PSK at line 10: passed | certs and keys locked by 'process_secret' | certs and keys unlocked by 'process_secret' | id type added to secret(0x557cf86d3758) PKK_PSK: @west | id type added to secret(0x557cf86d3758) PKK_PSK: @east | Processing PSK at line 12: passed | certs and keys locked by 'process_secret' | certs and keys unlocked by 'process_secret' | id type added to secret(0x557cf86d39b8) PKK_PSK: @east | id type added to secret(0x557cf86d39b8) PKK_PSK: @roadrandom | Processing PSK at line 13: passed | certs and keys locked by 'process_secret' | certs and keys unlocked by 'process_secret' | close_any(fd@16) (in whack_process() at rcv_whack.c:700) | spent 0.3 milliseconds in whack | processing signal PLUTO_SIGCHLD | waitpid returned pid 28072 (exited with status 0) | reaped addconn helper child (status 0) | waitpid returned ECHILD (no child processes left) | spent 0.0119 milliseconds in signal handler PLUTO_SIGCHLD | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:722) | FOR_EACH_CONNECTION_... in conn_by_name | FOR_EACH_CONNECTION_... in foreach_connection_by_alias | FOR_EACH_CONNECTION_... in conn_by_name | FOR_EACH_CONNECTION_... in foreach_connection_by_alias | FOR_EACH_CONNECTION_... in conn_by_name | Added new connection modecfg-road-eastnet-psk with policy PSK+ENCRYPT+TUNNEL+PFS+XAUTH+MODECFG_PULL+AGGRESSIVE+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO | ike (phase1) algorithm values: 3DES_CBC-HMAC_SHA1-MODP2048, 3DES_CBC-HMAC_SHA1-MODP1536 | counting wild cards for @roadrandom is 0 | counting wild cards for @east is 0 | based upon policy, the connection is a template. | connect_to_host_pair: 192.1.2.23:500 0.0.0.0:500 -> hp@(nil): none | new hp@0x557cf86d30a8 added connection description "modecfg-road-eastnet-psk" | ike_life: 3600s; ipsec_life: 28800s; rekey_margin: 540s; rekey_fuzz: 100%; keyingtries: 0; replay_window: 32; policy: PSK+ENCRYPT+TUNNEL+PFS+XAUTH+MODECFG_PULL+AGGRESSIVE+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO | 192.0.2.0/24===192.1.2.23<192.1.2.23>[@east,MS+XS+S=C]---192.1.2.45...%any[@roadrandom,+MC+XC+S=C]===192.0.2.209/32 | close_any(fd@16) (in whack_process() at rcv_whack.c:700) | spent 0.102 milliseconds in whack | spent 0.00391 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 464 bytes from 192.1.3.209:500 on eth1 (192.1.2.23:500) | 05 dc e0 d8 54 1e 45 50 00 00 00 00 00 00 00 00 | 01 10 04 00 00 00 00 00 00 00 01 d0 04 00 00 34 | 00 00 00 01 00 00 00 01 00 00 00 28 00 01 00 01 | 00 00 00 20 00 01 00 00 80 0b 00 01 80 0c 0e 10 | 80 01 00 05 80 02 00 02 80 03 fd e9 80 04 00 05 | 0a 00 00 c4 2e 55 90 1f c1 0f 88 7f 21 96 a5 ec | 2b 49 2e 05 97 79 c5 39 87 3d 99 9b 54 47 a7 10 | 72 d2 7f 52 09 ca 71 49 52 ff 31 74 ea ed 00 28 | 28 18 07 6f f2 0a 4f ad 63 eb 16 8b ad d9 dd 99 | 74 cb b2 8b ac 8b a1 65 6e 19 fb b7 69 b1 17 10 | fd 57 b0 30 d3 e2 ac c1 2f 00 1a 0d 16 19 a2 55 | 36 d6 6f da 9a 4e 62 d4 b9 b2 75 a6 10 18 a0 21 | 48 13 0e 32 2e 16 b5 ea f2 8c 36 2c de 5c 76 b5 | 15 e4 62 62 b2 b2 b4 35 ba 0c 01 7d bc ee 76 0a | 1f e1 72 f2 65 06 45 c2 b2 7e 22 2f c6 da 04 2a | 1a 29 1e b3 59 2e 3b 6a 82 f9 3d 1b 96 ba 6e 61 | b7 92 e2 41 e3 4c 29 7c f9 00 16 b7 32 bd d7 3b | f3 18 14 54 05 00 00 24 2b 5c 4d c0 1c 41 ae 6d | a8 10 f1 df 2c 65 eb ba 9d 49 52 ef f6 dd f2 9a | 31 9b 17 fa 00 f3 a5 59 0d 00 00 12 02 00 00 00 | 72 6f 61 64 72 61 6e 64 6f 6d 0d 00 00 14 40 48 | b7 d5 6e bc e8 85 25 e7 de 7f 00 d6 c2 d3 0d 00 | 00 0c 09 00 26 89 df d6 b7 12 0d 00 00 14 af ca | d7 13 68 a1 f1 c9 6b 86 96 fc 77 57 01 00 0d 00 | 00 14 4a 13 1c 81 07 03 58 45 5c 57 28 f2 0e 95 | 45 2f 0d 00 00 14 7d 94 19 a6 53 10 ca 6f 2c 17 | 9d 92 15 52 9d 56 0d 00 00 14 90 cb 80 91 3e bb | 69 6e 08 63 81 b5 ec 42 7b 1f 00 00 00 14 cd 60 | 46 43 35 df 21 f8 7c fd b2 fc 68 b6 a4 48 00 00 | start processing: from 192.1.3.209:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 05 dc e0 d8 54 1e 45 50 | responder cookie: | 00 00 00 00 00 00 00 00 | next payload type: ISAKMP_NEXT_SA (0x1) | ISAKMP version: ISAKMP Version 1.0 (rfc2407) (0x10) | exchange type: ISAKMP_XCHG_AGGR (0x4) | flags: none (0x0) | Message ID: 0 (0x0) | length: 464 (0x1d0) | processing version=1.0 packet with exchange type=ISAKMP_XCHG_AGGR (4) | State DB: IKEv1 state not found (find_state_ikev1_init) | #null state always idle | got payload 0x2 (ISAKMP_NEXT_SA) needed: 0x432 opt: 0x102000 | ***parse ISAKMP Security Association Payload: | next payload type: ISAKMP_NEXT_KE (0x4) | length: 52 (0x34) | DOI: ISAKMP_DOI_IPSEC (0x1) | got payload 0x10 (ISAKMP_NEXT_KE) needed: 0x430 opt: 0x102000 | ***parse ISAKMP Key Exchange Payload: | next payload type: ISAKMP_NEXT_NONCE (0xa) | length: 196 (0xc4) | got payload 0x400 (ISAKMP_NEXT_NONCE) needed: 0x420 opt: 0x102000 | ***parse ISAKMP Nonce Payload: | next payload type: ISAKMP_NEXT_ID (0x5) | length: 36 (0x24) | got payload 0x20 (ISAKMP_NEXT_ID) needed: 0x20 opt: 0x102000 | ***parse ISAKMP Identification Payload: | next payload type: ISAKMP_NEXT_VID (0xd) | length: 18 (0x12) | ID type: ID_FQDN (0x2) | DOI specific A: 0 (0x0) | DOI specific B: 0 (0x0) | obj: 72 6f 61 64 72 61 6e 64 6f 6d | got payload 0x2000 (ISAKMP_NEXT_VID) needed: 0x0 opt: 0x102000 | ***parse ISAKMP Vendor ID Payload: | next payload type: ISAKMP_NEXT_VID (0xd) | length: 20 (0x14) | got payload 0x2000 (ISAKMP_NEXT_VID) needed: 0x0 opt: 0x102000 | ***parse ISAKMP Vendor ID Payload: | next payload type: ISAKMP_NEXT_VID (0xd) | length: 12 (0xc) | got payload 0x2000 (ISAKMP_NEXT_VID) needed: 0x0 opt: 0x102000 | ***parse ISAKMP Vendor ID Payload: | next payload type: ISAKMP_NEXT_VID (0xd) | length: 20 (0x14) | got payload 0x2000 (ISAKMP_NEXT_VID) needed: 0x0 opt: 0x102000 | ***parse ISAKMP Vendor ID Payload: | next payload type: ISAKMP_NEXT_VID (0xd) | length: 20 (0x14) | got payload 0x2000 (ISAKMP_NEXT_VID) needed: 0x0 opt: 0x102000 | ***parse ISAKMP Vendor ID Payload: | next payload type: ISAKMP_NEXT_VID (0xd) | length: 20 (0x14) | got payload 0x2000 (ISAKMP_NEXT_VID) needed: 0x0 opt: 0x102000 | ***parse ISAKMP Vendor ID Payload: | next payload type: ISAKMP_NEXT_VID (0xd) | length: 20 (0x14) | got payload 0x2000 (ISAKMP_NEXT_VID) needed: 0x0 opt: 0x102000 | ***parse ISAKMP Vendor ID Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | length: 20 (0x14) | removing 2 bytes of padding | message 'aggr_inI1_outR1' HASH payload not checked early | received Vendor ID payload [FRAGMENTATION] | received Vendor ID payload [XAUTH] | received Vendor ID payload [Dead Peer Detection] | quirks.qnat_traversal_vid set to=117 [RFC 3947] | received Vendor ID payload [RFC 3947] | Ignoring older NAT-T Vendor ID payload [draft-ietf-ipsec-nat-t-ike-03] | ignoring Vendor ID payload [draft-ietf-ipsec-nat-t-ike-03] | Ignoring older NAT-T Vendor ID payload [draft-ietf-ipsec-nat-t-ike-02_n] | ignoring Vendor ID payload [draft-ietf-ipsec-nat-t-ike-02_n] | Ignoring older NAT-T Vendor ID payload [draft-ietf-ipsec-nat-t-ike-02] | ignoring Vendor ID payload [draft-ietf-ipsec-nat-t-ike-02] | in statetime_start() with no state | ****parse IPsec DOI SIT: | IPsec DOI SIT: SIT_IDENTITY_ONLY (0x1) | ****parse ISAKMP Proposal Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | length: 40 (0x28) | proposal number: 0 (0x0) | protocol ID: PROTO_ISAKMP (0x1) | SPI size: 0 (0x0) | number of transforms: 1 (0x1) | *****parse ISAKMP Transform Payload (ISAKMP): | next payload type: ISAKMP_NEXT_NONE (0x0) | length: 32 (0x20) | ISAKMP transform number: 0 (0x0) | ISAKMP transform ID: KEY_IKE (0x1) | ******parse ISAKMP Oakley attribute: | af+type: AF+OAKLEY_LIFE_TYPE (0x800b) | length/value: 1 (0x1) | ******parse ISAKMP Oakley attribute: | af+type: AF+OAKLEY_LIFE_DURATION (variable length) (0x800c) | length/value: 3600 (0xe10) | ******parse ISAKMP Oakley attribute: | af+type: AF+OAKLEY_ENCRYPTION_ALGORITHM (0x8001) | length/value: 5 (0x5) | ******parse ISAKMP Oakley attribute: | af+type: AF+OAKLEY_HASH_ALGORITHM (0x8002) | length/value: 2 (0x2) | ******parse ISAKMP Oakley attribute: | af+type: AF+OAKLEY_AUTHENTICATION_METHOD (0x8003) | length/value: 65001 (0xfde9) | ******parse ISAKMP Oakley attribute: | af+type: AF+OAKLEY_GROUP_DESCRIPTION (0x8004) | length/value: 5 (0x5) | find_host_connection local=192.1.2.23:500 remote=192.1.3.209:500 policy=PSK+XAUTH+AGGRESSIVE+IKEV1_ALLOW but ignoring ports | find_next_host_connection policy=PSK+XAUTH+AGGRESSIVE+IKEV1_ALLOW | find_next_host_connection returns empty | find_host_connection local=192.1.2.23:500 remote= policy=PSK+XAUTH+AGGRESSIVE+IKEV1_ALLOW but ignoring ports | find_host_pair: comparing 192.1.2.23:500 to 0.0.0.0:500 but ignoring ports | find_next_host_connection policy=PSK+XAUTH+AGGRESSIVE+IKEV1_ALLOW | found policy = PSK+ENCRYPT+TUNNEL+PFS+XAUTH+MODECFG_PULL+AGGRESSIVE+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO (modecfg-road-eastnet-psk) | find_next_host_connection returns modecfg-road-eastnet-psk | find_next_host_connection policy=PSK+XAUTH+AGGRESSIVE+IKEV1_ALLOW | find_next_host_connection returns empty | connect_to_host_pair: 192.1.2.23:500 192.1.3.209:500 -> hp@(nil): none | new hp@0x557cf86d3518 | rw_instantiate() instantiated "modecfg-road-eastnet-psk"[1] 192.1.3.209 for 192.1.3.209 packet from 192.1.3.209:500: IKEv1 Aggressive Mode with PSK is vulnerable to dictionary attacks and is cracked on large scale by TLA's | creating state object #1 at 0x557cf86d5a28 | State DB: adding IKEv1 state #1 in UNDEFINED | pstats #1 ikev1.isakmp started | #1 updating local interface from to 192.1.2.23:500 using md->iface (in update_ike_endpoints() at state.c:2669) | start processing: state #1 from 192.1.3.209:500 (in aggr_inI1_outR1() at ikev1_aggr.c:181) | parent state #1: UNDEFINED(ignore) => AGGR_R1(open IKE SA) "modecfg-road-eastnet-psk"[1] 192.1.3.209 #1: Peer ID is ID_FQDN: '@roadrandom' | X509: no CERT payloads to process "modecfg-road-eastnet-psk"[1] 192.1.3.209 #1: responding to Aggressive Mode, state #1, connection "modecfg-road-eastnet-psk"[1] 192.1.3.209 from 192.1.3.209 | sender checking NAT-T: enabled; VID 117 | returning NAT-T method NAT_TRAVERSAL_METHOD_IETF_RFC | enabling possible NAT-traversal with method RFC 3947 (NAT-Traversal) | ****parse IPsec DOI SIT: | IPsec DOI SIT: SIT_IDENTITY_ONLY (0x1) | ****parse ISAKMP Proposal Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | length: 40 (0x28) | proposal number: 0 (0x0) | protocol ID: PROTO_ISAKMP (0x1) | SPI size: 0 (0x0) | number of transforms: 1 (0x1) | *****parse ISAKMP Transform Payload (ISAKMP): | next payload type: ISAKMP_NEXT_NONE (0x0) | length: 32 (0x20) | ISAKMP transform number: 0 (0x0) | ISAKMP transform ID: KEY_IKE (0x1) | ******parse ISAKMP Oakley attribute: | af+type: AF+OAKLEY_LIFE_TYPE (0x800b) | length/value: 1 (0x1) | [1 is OAKLEY_LIFE_SECONDS] | ******parse ISAKMP Oakley attribute: | af+type: AF+OAKLEY_LIFE_DURATION (variable length) (0x800c) | length/value: 3600 (0xe10) | ******parse ISAKMP Oakley attribute: | af+type: AF+OAKLEY_ENCRYPTION_ALGORITHM (0x8001) | length/value: 5 (0x5) | [5 is OAKLEY_3DES_CBC] | ******parse ISAKMP Oakley attribute: | af+type: AF+OAKLEY_HASH_ALGORITHM (0x8002) | length/value: 2 (0x2) | [2 is OAKLEY_SHA1] | ******parse ISAKMP Oakley attribute: | af+type: AF+OAKLEY_AUTHENTICATION_METHOD (0x8003) | length/value: 65001 (0xfde9) | [65001 is XAUTHInitPreShared] | started looking for secret for @east->@roadrandom of kind PKK_PSK | actually looking for secret for @east->@roadrandom of kind PKK_PSK | line 12: key type PKK_PSK(@east) to type PKK_PSK | 1: compared key @roadrandom to @east / @roadrandom -> 004 | 2: compared key @east to @east / @roadrandom -> 014 | line 12: match=014 | match 014 beats previous best_match 000 match=0x557cf86d39b8 (line=12) | line 10: key type PKK_PSK(@east) to type PKK_PSK | 1: compared key @east to @east / @roadrandom -> 010 | 2: compared key @west to @east / @roadrandom -> 010 | line 10: match=010 | line 9: key type PKK_PSK(@east) to type PKK_PSK | 1: compared key %any to @east / @roadrandom -> 002 | 2: compared key %any to @east / @roadrandom -> 002 | line 9: match=002 | match 002 loses to best_match 014 | concluding with best_match=014 best=0x557cf86d39b8 (lineno=12) | ******parse ISAKMP Oakley attribute: | af+type: AF+OAKLEY_GROUP_DESCRIPTION (0x8004) | length/value: 5 (0x5) | [5 is OAKLEY_GROUP_MODP1536] | OAKLEY proposal verified; matching alg_info found | Oakley Transform 0 accepted | adding outI2 KE work-order 1 for state #1 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x557cf86d7218 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #1 | libevent_malloc: new ptr-libevent@0x557cf86d5728 size 128 | complete v1 state transition with STF_SUSPEND | [RE]START processing: state #1 connection "modecfg-road-eastnet-psk"[1] 192.1.3.209 from 192.1.3.209:500 (in complete_v1_state_transition() at ikev1.c:2648) | suspending state #1 and saving MD | #1 is busy; has a suspended MD | stop processing: from 192.1.3.209:500 (BACKGROUND) (in process_md() at demux.c:380) | stop processing: state #1 connection "modecfg-road-eastnet-psk"[1] 192.1.3.209 from 192.1.3.209:500 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.482 milliseconds in comm_handle_cb() reading and processing packet | crypto helper 0 resuming | crypto helper 0 starting work-order 1 for state #1 | crypto helper 0 doing build KE and nonce (outI2 KE); request ID 1 | crypto helper 0 finished build KE and nonce (outI2 KE); request ID 1 time elapsed 0.000388 seconds | (#1) spent 0.393 milliseconds in crypto helper computing work-order 1: outI2 KE (pcr) | crypto helper 0 sending results from work-order 1 for state #1 to event queue | scheduling resume sending helper answer for #1 | libevent_malloc: new ptr-libevent@0x7f2dd0001af8 size 128 | crypto helper 0 waiting (nothing to do) | processing resume sending helper answer for #1 | start processing: state #1 connection "modecfg-road-eastnet-psk"[1] 192.1.3.209 from 192.1.3.209:500 (in resume_handler() at server.c:797) | crypto helper 0 replies to request ID 1 | calling continuation function 0x557cf70cab50 | aggr inI1_outR1: calculated ke+nonce, calculating DH | started looking for secret for @east->@roadrandom of kind PKK_PSK | actually looking for secret for @east->@roadrandom of kind PKK_PSK | line 12: key type PKK_PSK(@east) to type PKK_PSK | 1: compared key @roadrandom to @east / @roadrandom -> 004 | 2: compared key @east to @east / @roadrandom -> 014 | line 12: match=014 | match 014 beats previous best_match 000 match=0x557cf86d39b8 (line=12) | line 10: key type PKK_PSK(@east) to type PKK_PSK | 1: compared key @east to @east / @roadrandom -> 010 | 2: compared key @west to @east / @roadrandom -> 010 | line 10: match=010 | line 9: key type PKK_PSK(@east) to type PKK_PSK | 1: compared key %any to @east / @roadrandom -> 002 | 2: compared key %any to @east / @roadrandom -> 002 | line 9: match=002 | match 002 loses to best_match 014 | concluding with best_match=014 best=0x557cf86d39b8 (lineno=12) | adding aggr outR1 DH work-order 2 for state #1 | state #1 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x557cf86d5728 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x557cf86d7218 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x557cf86d7218 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #1 | libevent_malloc: new ptr-libevent@0x557cf86d5728 size 128 | suspending state #1 and saving MD | #1 is busy; has a suspended MD | resume sending helper answer for #1 suppresed complete_v1_state_transition() and stole MD | #1 spent 0.0889 milliseconds in resume sending helper answer | crypto helper 1 resuming | stop processing: state #1 connection "modecfg-road-eastnet-psk"[1] 192.1.3.209 from 192.1.3.209:500 (in resume_handler() at server.c:833) | crypto helper 1 starting work-order 2 for state #1 | libevent_free: release ptr-libevent@0x7f2dd0001af8 | crypto helper 1 doing compute dh+iv (V1 Phase 1) (aggr outR1 DH); request ID 2 | crypto helper 1 finished compute dh+iv (V1 Phase 1) (aggr outR1 DH); request ID 2 time elapsed 0.000819 seconds | (#1) spent 0.827 milliseconds in crypto helper computing work-order 2: aggr outR1 DH (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@0x7f2dc8000ed8 size 128 | crypto helper 1 waiting (nothing to do) | processing resume sending helper answer for #1 | start processing: state #1 connection "modecfg-road-eastnet-psk"[1] 192.1.3.209 from 192.1.3.209:500 (in resume_handler() at server.c:797) | crypto helper 1 replies to request ID 2 | calling continuation function 0x557cf70cab50 | aggr_inI1_outR1_continue2 for #1: calculated ke+nonce+DH, sending R1 | thinking about whether to send my certificate: | I have RSA key: OAKLEY_PRESHARED_KEY cert.type: 0?? | sendcert: CERT_ALWAYSSEND and I did not get a certificate request | so do not send cert. | I did not send a certificate because digital signatures are not being used. (PSK) | I am not sending a certificate request | **emit ISAKMP Message: | initiator cookie: | 05 dc e0 d8 54 1e 45 50 | responder cookie: | 71 0e 20 a1 13 82 ff b5 | next payload type: ISAKMP_NEXT_SA (0x1) | ISAKMP version: ISAKMP Version 1.0 (rfc2407) (0x10) | exchange type: ISAKMP_XCHG_AGGR (0x4) | flags: none (0x0) | Message ID: 0 (0x0) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | next payload chain: ignoring supplied 'ISAKMP Message'.'next payload type' value 1:ISAKMP_NEXT_SA | ***emit ISAKMP Security Association Payload: | next payload type: ISAKMP_NEXT_KE (0x4) | DOI: ISAKMP_DOI_IPSEC (0x1) | next payload chain: ignoring supplied 'ISAKMP Security Association Payload'.'next payload type' value 4:ISAKMP_NEXT_KE | next payload chain: setting previous 'ISAKMP Message'.'next payload type' to current ISAKMP Security Association Payload (1:ISAKMP_NEXT_SA) | next payload chain: saving location 'ISAKMP Security Association Payload'.'next payload type' in 'reply packet' | ****parse IPsec DOI SIT: | IPsec DOI SIT: SIT_IDENTITY_ONLY (0x1) | ****parse ISAKMP Proposal Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | length: 40 (0x28) | proposal number: 0 (0x0) | protocol ID: PROTO_ISAKMP (0x1) | SPI size: 0 (0x0) | number of transforms: 1 (0x1) | *****parse ISAKMP Transform Payload (ISAKMP): | next payload type: ISAKMP_NEXT_NONE (0x0) | length: 32 (0x20) | ISAKMP transform number: 0 (0x0) | ISAKMP transform ID: KEY_IKE (0x1) | ******parse ISAKMP Oakley attribute: | af+type: AF+OAKLEY_LIFE_TYPE (0x800b) | length/value: 1 (0x1) | [1 is OAKLEY_LIFE_SECONDS] | ******parse ISAKMP Oakley attribute: | af+type: AF+OAKLEY_LIFE_DURATION (variable length) (0x800c) | length/value: 3600 (0xe10) | ******parse ISAKMP Oakley attribute: | af+type: AF+OAKLEY_ENCRYPTION_ALGORITHM (0x8001) | length/value: 5 (0x5) | [5 is OAKLEY_3DES_CBC] | ******parse ISAKMP Oakley attribute: | af+type: AF+OAKLEY_HASH_ALGORITHM (0x8002) | length/value: 2 (0x2) | [2 is OAKLEY_SHA1] | ******parse ISAKMP Oakley attribute: | af+type: AF+OAKLEY_AUTHENTICATION_METHOD (0x8003) | length/value: 65001 (0xfde9) | [65001 is XAUTHInitPreShared] | started looking for secret for @east->@roadrandom of kind PKK_PSK | actually looking for secret for @east->@roadrandom of kind PKK_PSK | line 12: key type PKK_PSK(@east) to type PKK_PSK | 1: compared key @roadrandom to @east / @roadrandom -> 004 | 2: compared key @east to @east / @roadrandom -> 014 | line 12: match=014 | match 014 beats previous best_match 000 match=0x557cf86d39b8 (line=12) | line 10: key type PKK_PSK(@east) to type PKK_PSK | 1: compared key @east to @east / @roadrandom -> 010 | 2: compared key @west to @east / @roadrandom -> 010 | line 10: match=010 | line 9: key type PKK_PSK(@east) to type PKK_PSK | 1: compared key %any to @east / @roadrandom -> 002 | 2: compared key %any to @east / @roadrandom -> 002 | line 9: match=002 | match 002 loses to best_match 014 | concluding with best_match=014 best=0x557cf86d39b8 (lineno=12) | ******parse ISAKMP Oakley attribute: | af+type: AF+OAKLEY_GROUP_DESCRIPTION (0x8004) | length/value: 5 (0x5) | [5 is OAKLEY_GROUP_MODP1536] | OAKLEY proposal verified; matching alg_info found | Oakley Transform 0 accepted | ****emit IPsec DOI SIT: | IPsec DOI SIT: SIT_IDENTITY_ONLY (0x1) | ****emit ISAKMP Proposal Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | proposal number: 0 (0x0) | protocol ID: PROTO_ISAKMP (0x1) | SPI size: 0 (0x0) | number of transforms: 1 (0x1) | last substructure: saving location 'ISAKMP Security Association Payload'.'ISAKMP Proposal Payload'.'next payload type' | *****emit ISAKMP Transform Payload (ISAKMP): | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP transform number: 0 (0x0) | ISAKMP transform ID: KEY_IKE (0x1) | last substructure: saving location 'ISAKMP Proposal Payload'.'ISAKMP Transform Payload (ISAKMP)'.'next payload type' | emitting 24 raw bytes of attributes into ISAKMP Transform Payload (ISAKMP) | attributes 80 0b 00 01 80 0c 0e 10 80 01 00 05 80 02 00 02 | attributes 80 03 fd e9 80 04 00 05 | emitting length of ISAKMP Transform Payload (ISAKMP): 32 | emitting length of ISAKMP Proposal Payload: 40 | last substructure: checking 'ISAKMP Proposal Payload'.'ISAKMP Transform Payload (ISAKMP)'.'next payload type' is 0 | emitting length of ISAKMP Security Association Payload: 52 | last substructure: checking 'ISAKMP Security Association Payload'.'ISAKMP Proposal Payload'.'next payload type' is 0 | ***emit ISAKMP Key Exchange Payload: | next payload type: ISAKMP_NEXT_NONCE (0xa) | next payload chain: ignoring supplied 'ISAKMP Key Exchange Payload'.'next payload type' value 10:ISAKMP_NEXT_NONCE | next payload chain: setting previous 'ISAKMP Security Association Payload'.'next payload type' to current ISAKMP Key Exchange Payload (4:ISAKMP_NEXT_KE) | next payload chain: saving location 'ISAKMP Key Exchange Payload'.'next payload type' in 'reply packet' | emitting 192 raw bytes of keyex value into ISAKMP Key Exchange Payload | keyex value 83 9c 37 67 9c 91 cf bb cd 66 83 0a 10 71 af 43 | keyex value a4 49 93 60 d0 9c 70 08 84 43 6a 43 7c be cb 54 | keyex value b3 b1 6d 6f ad a4 23 c6 86 c6 55 17 e4 f8 29 95 | keyex value 35 7d 46 c5 4d 3d 17 47 41 62 bf 2a 74 d3 52 e6 | keyex value 04 6b 47 cf db 0c f0 17 41 50 15 dd 57 09 3a 61 | keyex value 0b ab a4 82 51 43 f3 c4 a3 3e 96 7a 28 aa 70 5d | keyex value 9f 85 ae a3 32 09 21 b3 1d 16 04 f5 b6 62 4e 30 | keyex value 42 90 a1 24 b0 86 e4 4b 0c ec fc cc fa 5e 8b d8 | keyex value 24 fd c0 3c 26 f4 a2 ad e9 48 e6 24 a1 be 03 cc | keyex value 8b c4 4d 3b 95 42 5e dc 99 af 20 eb 60 61 84 18 | keyex value 05 dd 29 95 2a 08 1f d5 13 f0 bb 2f 11 7f f4 bc | keyex value 95 7d b6 70 ca b9 ae c2 b9 bf 64 c7 30 8a 9f e9 | emitting length of ISAKMP Key Exchange Payload: 196 | ***emit ISAKMP Nonce Payload: | next payload type: ISAKMP_NEXT_ID (0x5) | next payload chain: ignoring supplied 'ISAKMP Nonce Payload'.'next payload type' value 5:ISAKMP_NEXT_ID | next payload chain: setting previous 'ISAKMP Key Exchange Payload'.'next payload type' to current ISAKMP Nonce Payload (10:ISAKMP_NEXT_NONCE) | next payload chain: saving location 'ISAKMP Nonce Payload'.'next payload type' in 'reply packet' | emitting 32 raw bytes of Nr into ISAKMP Nonce Payload | Nr fa 3d f2 f0 4b 21 08 a0 ff 66 01 3c 73 e6 ca 08 | Nr f3 ea 1c d7 ae 87 e7 8c a7 34 62 f9 24 4d cd 18 | emitting length of ISAKMP Nonce Payload: 36 | ***emit ISAKMP Identification Payload (IPsec DOI): | next payload type: ISAKMP_NEXT_HASH (0x8) | ID type: ID_FQDN (0x2) | Protocol ID: 0 (0x0) | port: 0 (0x0) | next payload chain: ignoring supplied 'ISAKMP Identification Payload (IPsec DOI)'.'next payload type' value 8:ISAKMP_NEXT_HASH | next payload chain: setting previous 'ISAKMP Nonce Payload'.'next payload type' to current ISAKMP Identification Payload (IPsec DOI) (5:ISAKMP_NEXT_ID) | next payload chain: saving location 'ISAKMP Identification Payload (IPsec DOI)'.'next payload type' in 'reply packet' | emitting 4 raw bytes of my identity into ISAKMP Identification Payload (IPsec DOI) | my identity 65 61 73 74 | emitting length of ISAKMP Identification Payload (IPsec DOI): 12 | ***emit ISAKMP Hash Payload: | next payload type: ISAKMP_NEXT_VID (0xd) | next payload chain: ignoring supplied 'ISAKMP Hash Payload'.'next payload type' value 13:ISAKMP_NEXT_VID | next payload chain: setting previous 'ISAKMP Identification Payload (IPsec DOI)'.'next payload type' to current ISAKMP Hash Payload (8:ISAKMP_NEXT_HASH) | next payload chain: saving location 'ISAKMP Hash Payload'.'next payload type' in 'reply packet' | emitting 20 raw bytes of HASH_R into ISAKMP Hash Payload | HASH_R a6 62 5b a4 0b 2c 4b dc 76 90 55 86 86 b6 a6 c1 | HASH_R 1b 35 99 df | emitting length of ISAKMP Hash Payload: 24 | out_vid(): sending [FRAGMENTATION] | ***emit ISAKMP Vendor ID Payload: | next payload type: ISAKMP_NEXT_VID (0xd) | next payload chain: ignoring supplied 'ISAKMP Vendor ID Payload'.'next payload type' value 13:ISAKMP_NEXT_VID | next payload chain: setting previous 'ISAKMP Hash Payload'.'next payload type' to current ISAKMP Vendor ID Payload (13:ISAKMP_NEXT_VID) | next payload chain: saving location 'ISAKMP Vendor ID Payload'.'next payload type' in 'reply packet' | emitting 16 raw bytes of V_ID into ISAKMP Vendor ID Payload | V_ID 40 48 b7 d5 6e bc e8 85 25 e7 de 7f 00 d6 c2 d3 | emitting length of ISAKMP Vendor ID Payload: 20 | out_vid(): sending [XAUTH] | ***emit ISAKMP Vendor ID Payload: | next payload type: ISAKMP_NEXT_VID (0xd) | next payload chain: ignoring supplied 'ISAKMP Vendor ID Payload'.'next payload type' value 13:ISAKMP_NEXT_VID | next payload chain: setting previous 'ISAKMP Vendor ID Payload'.'next payload type' to current ISAKMP Vendor ID Payload (13:ISAKMP_NEXT_VID) | next payload chain: saving location 'ISAKMP Vendor ID Payload'.'next payload type' in 'reply packet' | emitting 8 raw bytes of V_ID into ISAKMP Vendor ID Payload | V_ID 09 00 26 89 df d6 b7 12 | emitting length of ISAKMP Vendor ID Payload: 12 | out_vid(): sending [Dead Peer Detection] | ***emit ISAKMP Vendor ID Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | next payload chain: setting previous 'ISAKMP Vendor ID Payload'.'next payload type' to current ISAKMP Vendor ID Payload (13:ISAKMP_NEXT_VID) | next payload chain: saving location 'ISAKMP Vendor ID Payload'.'next payload type' in 'reply packet' | emitting 16 raw bytes of V_ID into ISAKMP Vendor ID Payload | V_ID af ca d7 13 68 a1 f1 c9 6b 86 96 fc 77 57 01 00 | emitting length of ISAKMP Vendor ID Payload: 20 | out_vid(): sending [RFC 3947] | ***emit ISAKMP Vendor ID Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | next payload chain: setting previous 'ISAKMP Vendor ID Payload'.'next payload type' to current ISAKMP Vendor ID Payload (13:ISAKMP_NEXT_VID) | next payload chain: saving location 'ISAKMP Vendor ID Payload'.'next payload type' in 'reply packet' | emitting 16 raw bytes of V_ID into ISAKMP Vendor ID Payload | V_ID 4a 13 1c 81 07 03 58 45 5c 57 28 f2 0e 95 45 2f | emitting length of ISAKMP Vendor ID Payload: 20 | sending NAT-D payloads | natd_hash: hasher=0x557cf719f800(20) | natd_hash: icookie= 05 dc e0 d8 54 1e 45 50 | natd_hash: rcookie= 71 0e 20 a1 13 82 ff b5 | natd_hash: ip= c0 01 03 d1 | natd_hash: port=500 | natd_hash: hash= b8 31 f2 15 91 0d 40 8b b3 01 59 af 3c 4c 94 3a | natd_hash: hash= a1 ac 99 38 | ***emit ISAKMP NAT-D Payload: | next payload type: ISAKMP_NEXT_NATD_RFC (0x14) | next payload chain: ignoring supplied 'ISAKMP NAT-D Payload'.'next payload type' value 20:ISAKMP_NEXT_NATD_RFC | next payload chain: setting previous 'ISAKMP Vendor ID Payload'.'next payload type' to current ISAKMP NAT-D Payload (20:ISAKMP_NEXT_NATD_RFC) | next payload chain: saving location 'ISAKMP NAT-D Payload'.'next payload type' in 'reply packet' | emitting 20 raw bytes of NAT-D into ISAKMP NAT-D Payload | NAT-D b8 31 f2 15 91 0d 40 8b b3 01 59 af 3c 4c 94 3a | NAT-D a1 ac 99 38 | emitting length of ISAKMP NAT-D Payload: 24 | natd_hash: hasher=0x557cf719f800(20) | natd_hash: icookie= 05 dc e0 d8 54 1e 45 50 | natd_hash: rcookie= 71 0e 20 a1 13 82 ff b5 | natd_hash: ip= c0 01 02 17 | natd_hash: port=500 | natd_hash: hash= 86 ce 5a 98 c1 65 96 87 9a 85 92 d4 d9 89 93 3f | natd_hash: hash= cb f6 ce be | ***emit ISAKMP NAT-D Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | next payload chain: setting previous 'ISAKMP NAT-D Payload'.'next payload type' to current ISAKMP NAT-D Payload (20:ISAKMP_NEXT_NATD_RFC) | next payload chain: saving location 'ISAKMP NAT-D Payload'.'next payload type' in 'reply packet' | emitting 20 raw bytes of NAT-D into ISAKMP NAT-D Payload | NAT-D 86 ce 5a 98 c1 65 96 87 9a 85 92 d4 d9 89 93 3f | NAT-D cb f6 ce be | emitting length of ISAKMP NAT-D Payload: 24 | no IKEv1 message padding required | emitting length of ISAKMP Message: 468 | complete v1 state transition with STF_OK | [RE]START processing: state #1 connection "modecfg-road-eastnet-psk"[1] 192.1.3.209 from 192.1.3.209:500 (in complete_v1_state_transition() at ikev1.c:2673) | #1 is idle | doing_xauth:yes, t_xauth_client_done:no | peer supports fragmentation | peer supports DPD | DPD is configured locally | IKEv1: transition from state STATE_AGGR_R0 to state STATE_AGGR_R1 | event_already_set, deleting event | state #1 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x557cf86d5728 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x557cf86d7218 | sending reply packet to 192.1.3.209:500 (from 192.1.2.23:500) | sending 468 bytes for STATE_AGGR_R0 through eth1 from 192.1.2.23:500 to 192.1.3.209:500 (using #1) | 05 dc e0 d8 54 1e 45 50 71 0e 20 a1 13 82 ff b5 | 01 10 04 00 00 00 00 00 00 00 01 d4 04 00 00 34 | 00 00 00 01 00 00 00 01 00 00 00 28 00 01 00 01 | 00 00 00 20 00 01 00 00 80 0b 00 01 80 0c 0e 10 | 80 01 00 05 80 02 00 02 80 03 fd e9 80 04 00 05 | 0a 00 00 c4 83 9c 37 67 9c 91 cf bb cd 66 83 0a | 10 71 af 43 a4 49 93 60 d0 9c 70 08 84 43 6a 43 | 7c be cb 54 b3 b1 6d 6f ad a4 23 c6 86 c6 55 17 | e4 f8 29 95 35 7d 46 c5 4d 3d 17 47 41 62 bf 2a | 74 d3 52 e6 04 6b 47 cf db 0c f0 17 41 50 15 dd | 57 09 3a 61 0b ab a4 82 51 43 f3 c4 a3 3e 96 7a | 28 aa 70 5d 9f 85 ae a3 32 09 21 b3 1d 16 04 f5 | b6 62 4e 30 42 90 a1 24 b0 86 e4 4b 0c ec fc cc | fa 5e 8b d8 24 fd c0 3c 26 f4 a2 ad e9 48 e6 24 | a1 be 03 cc 8b c4 4d 3b 95 42 5e dc 99 af 20 eb | 60 61 84 18 05 dd 29 95 2a 08 1f d5 13 f0 bb 2f | 11 7f f4 bc 95 7d b6 70 ca b9 ae c2 b9 bf 64 c7 | 30 8a 9f e9 05 00 00 24 fa 3d f2 f0 4b 21 08 a0 | ff 66 01 3c 73 e6 ca 08 f3 ea 1c d7 ae 87 e7 8c | a7 34 62 f9 24 4d cd 18 08 00 00 0c 02 00 00 00 | 65 61 73 74 0d 00 00 18 a6 62 5b a4 0b 2c 4b dc | 76 90 55 86 86 b6 a6 c1 1b 35 99 df 0d 00 00 14 | 40 48 b7 d5 6e bc e8 85 25 e7 de 7f 00 d6 c2 d3 | 0d 00 00 0c 09 00 26 89 df d6 b7 12 0d 00 00 14 | af ca d7 13 68 a1 f1 c9 6b 86 96 fc 77 57 01 00 | 14 00 00 14 4a 13 1c 81 07 03 58 45 5c 57 28 f2 | 0e 95 45 2f 14 00 00 18 b8 31 f2 15 91 0d 40 8b | b3 01 59 af 3c 4c 94 3a a1 ac 99 38 00 00 00 18 | 86 ce 5a 98 c1 65 96 87 9a 85 92 d4 d9 89 93 3f | cb f6 ce be | !event_already_set at reschedule | event_schedule: new EVENT_SO_DISCARD-pe@0x557cf86d7218 | inserting event EVENT_SO_DISCARD, timeout in 60 seconds for #1 | libevent_malloc: new ptr-libevent@0x557cf86d6938 size 128 "modecfg-road-eastnet-psk"[1] 192.1.3.209 #1: STATE_AGGR_R1: sent AR1, expecting AI2 | modecfg pull: noquirk policy:pull not-client | phase 1 is done, looking for phase 2 to unpend | resume sending helper answer for #1 suppresed complete_v1_state_transition() | #1 spent 0.575 milliseconds in resume sending helper answer | stop processing: state #1 connection "modecfg-road-eastnet-psk"[1] 192.1.3.209 from 192.1.3.209:500 (in resume_handler() at server.c:833) | libevent_free: release ptr-libevent@0x7f2dc8000ed8 | spent 0.00373 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 100 bytes from 192.1.3.209:500 on eth1 (192.1.2.23:500) | 05 dc e0 d8 54 1e 45 50 71 0e 20 a1 13 82 ff b5 | 14 10 04 01 00 00 00 00 00 00 00 64 39 0e 32 87 | 56 d9 4e 3a 79 7a 71 4e b2 74 ed 3b 2a bb 8e 7c | 1a 01 91 51 11 69 47 d9 ff ed 6b 4c e9 ba f8 ba | 5a 7d 5d ae 58 6f 2b 72 f2 e6 8e 77 39 b0 51 0f | 15 5f b4 3d a9 3e 4a 9c 8a da 26 be 74 30 e4 d0 | 13 ab 19 bc | start processing: from 192.1.3.209:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 05 dc e0 d8 54 1e 45 50 | responder cookie: | 71 0e 20 a1 13 82 ff b5 | next payload type: ISAKMP_NEXT_NATD_RFC (0x14) | ISAKMP version: ISAKMP Version 1.0 (rfc2407) (0x10) | exchange type: ISAKMP_XCHG_AGGR (0x4) | flags: ISAKMP_FLAG_v1_ENCRYPTION (0x1) | Message ID: 0 (0x0) | length: 100 (0x64) | processing version=1.0 packet with exchange type=ISAKMP_XCHG_AGGR (4) | State DB: found IKEv1 state #1 in AGGR_R1 (find_state_ikev1) | start processing: state #1 connection "modecfg-road-eastnet-psk"[1] 192.1.3.209 from 192.1.3.209:500 (in process_v1_packet() at ikev1.c:1459) | #1 is idle | #1 idle | received encrypted packet from 192.1.3.209:500 | got payload 0x100000 (ISAKMP_NEXT_NATD_RFC) needed: 0x100 opt: 0x102000 | ***parse ISAKMP NAT-D Payload: | next payload type: ISAKMP_NEXT_NATD_RFC (0x14) | length: 24 (0x18) | got payload 0x100000 (ISAKMP_NEXT_NATD_RFC) needed: 0x100 opt: 0x102000 | ***parse ISAKMP NAT-D Payload: | next payload type: ISAKMP_NEXT_HASH (0x8) | length: 24 (0x18) | got payload 0x100 (ISAKMP_NEXT_HASH) needed: 0x100 opt: 0x102000 | ***parse ISAKMP Hash Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | length: 24 (0x18) | message 'aggr_inI2' HASH payload not checked early | init checking NAT-T: enabled; RFC 3947 (NAT-Traversal) | natd_hash: hasher=0x557cf719f800(20) | natd_hash: icookie= 05 dc e0 d8 54 1e 45 50 | natd_hash: rcookie= 71 0e 20 a1 13 82 ff b5 | natd_hash: ip= c0 01 02 17 | natd_hash: port=500 | natd_hash: hash= 86 ce 5a 98 c1 65 96 87 9a 85 92 d4 d9 89 93 3f | natd_hash: hash= cb f6 ce be | natd_hash: hasher=0x557cf719f800(20) | natd_hash: icookie= 05 dc e0 d8 54 1e 45 50 | natd_hash: rcookie= 71 0e 20 a1 13 82 ff b5 | natd_hash: ip= c0 01 03 d1 | natd_hash: port=500 | natd_hash: hash= b8 31 f2 15 91 0d 40 8b b3 01 59 af 3c 4c 94 3a | natd_hash: hash= a1 ac 99 38 | expected NAT-D(me): 86 ce 5a 98 c1 65 96 87 9a 85 92 d4 d9 89 93 3f | expected NAT-D(me): cb f6 ce be | expected NAT-D(him): | b8 31 f2 15 91 0d 40 8b b3 01 59 af 3c 4c 94 3a | a1 ac 99 38 | received NAT-D: 86 ce 5a 98 c1 65 96 87 9a 85 92 d4 d9 89 93 3f | received NAT-D: cb f6 ce be | received NAT-D: b8 31 f2 15 91 0d 40 8b b3 01 59 af 3c 4c 94 3a | received NAT-D: a1 ac 99 38 | 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.3.209 | NAT-Traversal: Result using RFC 3947 (NAT-Traversal) sender port 500: no NAT detected | NAT_T_WITH_KA detected | global one-shot timer EVENT_NAT_T_KEEPALIVE scheduled in 20 seconds | next payload chain: creating a fake payload for hashing identity | **emit ISAKMP Identification Payload (IPsec DOI): | next payload type: ISAKMP_NEXT_NONE (0x0) | ID type: ID_FQDN (0x2) | Protocol ID: 0 (0x0) | port: 0 (0x0) | next payload chain: no previous for current ISAKMP Identification Payload (IPsec DOI) (5:ISAKMP_NEXT_ID); assumed to be fake | emitting 10 raw bytes of my identity into ISAKMP Identification Payload (IPsec DOI) | my identity 72 6f 61 64 72 61 6e 64 6f 6d | emitting length of ISAKMP Identification Payload (IPsec DOI): 18 | ***parse ISAKMP Identification Payload: | next payload type: 250?? (0xfa) | length: 18 (0x12) | ID type: ID_FQDN (0x2) | DOI specific A: 0 (0x0) | DOI specific B: 0 (0x0) "modecfg-road-eastnet-psk"[1] 192.1.3.209 #1: Peer ID is ID_FQDN: '@roadrandom' | X509: no CERT payloads to process | received 'Aggr' message HASH_I data ok | phase 1 complete | We are a server using PSK and clients are using a group ID | complete v1 state transition with STF_OK | [RE]START processing: state #1 connection "modecfg-road-eastnet-psk"[1] 192.1.3.209 from 192.1.3.209:500 (in complete_v1_state_transition() at ikev1.c:2673) | #1 is idle | doing_xauth:yes, t_xauth_client_done:no | IKEv1: transition from state STATE_AGGR_R1 to state STATE_AGGR_R2 | parent state #1: AGGR_R1(open IKE SA) => AGGR_R2(established IKE SA) | event_already_set, deleting event | state #1 requesting EVENT_SO_DISCARD to be deleted | libevent_free: release ptr-libevent@0x557cf86d6938 | free_event_entry: release EVENT_SO_DISCARD-pe@0x557cf86d7218 | !event_already_set at reschedule | event_schedule: new EVENT_SA_REPLACE-pe@0x557cf86d7218 | inserting event EVENT_SA_REPLACE, timeout in 3330 seconds for #1 | libevent_malloc: new ptr-libevent@0x7f2dc8000ed8 size 128 | pstats #1 ikev1.isakmp established "modecfg-road-eastnet-psk"[1] 192.1.3.209 #1: STATE_AGGR_R2: ISAKMP SA established {auth=PRESHARED_KEY cipher=3DES_CBC_192 integ=HMAC_SHA1 group=MODP1536} | DPD: dpd_init() called on ISAKMP SA | DPD: Peer supports Dead Peer Detection | XAUTH: Sending XAUTH Login/Password Request | event_schedule: new EVENT_v1_SEND_XAUTH-pe@0x557cf86d6608 | inserting event EVENT_v1_SEND_XAUTH, timeout in 0.08 seconds for #1 | libevent_malloc: new ptr-libevent@0x557cf86d6888 size 128 | #1 spent 0.304 milliseconds in process_packet_tail() | stop processing: from 192.1.3.209:500 (BACKGROUND) (in process_md() at demux.c:380) | stop processing: state #1 connection "modecfg-road-eastnet-psk"[1] 192.1.3.209 from 192.1.3.209:500 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.45 milliseconds in comm_handle_cb() reading and processing packet | timer_event_cb: processing event@0x557cf86d6608 | handling event EVENT_v1_SEND_XAUTH for parent state #1 | start processing: state #1 connection "modecfg-road-eastnet-psk"[1] 192.1.3.209 from 192.1.3.209:500 (in timer_event_cb() at timer.c:250) | XAUTH: event EVENT_v1_SEND_XAUTH #1 STATE_AGGR_R2 "modecfg-road-eastnet-psk"[1] 192.1.3.209 #1: XAUTH: Sending Username/Password request (AGGR_R2->XAUTH_R0) | parent state #1: AGGR_R2(established IKE SA) => XAUTH_R0(established IKE SA) | **emit ISAKMP Message: | initiator cookie: | 05 dc e0 d8 54 1e 45 50 | responder cookie: | 71 0e 20 a1 13 82 ff b5 | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: ISAKMP Version 1.0 (rfc2407) (0x10) | exchange type: ISAKMP_XCHG_MODE_CFG (0x6) | flags: ISAKMP_FLAG_v1_ENCRYPTION (0x1) | Message ID: 3764061616 (0xe05b05b0) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | ***emit ISAKMP Hash Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | next payload chain: setting previous 'ISAKMP Message'.'next payload type' to current ISAKMP Hash Payload (8:ISAKMP_NEXT_HASH) | next payload chain: saving location 'ISAKMP Hash Payload'.'next payload type' in 'xauth_buf' | emitting 20 zero bytes of HASH DATA into ISAKMP Hash Payload | emitting length of ISAKMP Hash Payload: 24 | ***emit ISAKMP Mode Attribute: | next payload type: ISAKMP_NEXT_NONE (0x0) | Attr Msg Type: ISAKMP_CFG_REQUEST (0x1) | Identifier: 0 (0x0) | next payload chain: setting previous 'ISAKMP Hash Payload'.'next payload type' to current ISAKMP Mode Attribute (14:ISAKMP_NEXT_MODECFG) | next payload chain: saving location 'ISAKMP Mode Attribute'.'next payload type' in 'xauth_buf' | ****emit ISAKMP ModeCfg attribute: | ModeCfg attr type: XAUTH-USER-NAME (0x4089) | length/value: 0 (0x0) | emitting length of ISAKMP ModeCfg attribute: 0 | ****emit ISAKMP ModeCfg attribute: | ModeCfg attr type: XAUTH-USER-PASSWORD (0x408a) | length/value: 0 (0x0) | emitting length of ISAKMP ModeCfg attribute: 0 | no IKEv1 message padding required | emitting length of ISAKMP Mode Attribute: 16 | XAUTH: send request HASH(1): | aa f6 5f f5 b0 f6 66 5d 53 a5 1b 14 b3 64 64 18 | b0 5e d3 dc | no IKEv1 message padding required | emitting length of ISAKMP Message: 68 | no IKEv1 message padding required | emitting length of ISAKMP Message: 68 | sending 68 bytes for XAUTH: req through eth1 from 192.1.2.23:500 to 192.1.3.209:500 (using #1) | 05 dc e0 d8 54 1e 45 50 71 0e 20 a1 13 82 ff b5 | 08 10 06 01 e0 5b 05 b0 00 00 00 44 fb db d2 30 | 6c e5 e9 98 fa c0 38 80 bc de 91 42 c0 46 d5 9b | f5 25 23 77 87 8e 8b 88 1e 1b 8e b6 52 4e 34 b4 | 91 63 2d 1a | state #1 requesting EVENT_SA_REPLACE to be deleted | libevent_free: release ptr-libevent@0x7f2dc8000ed8 | free_event_entry: release EVENT_SA_REPLACE-pe@0x557cf86d7218 | event_schedule: new EVENT_RETRANSMIT-pe@0x557cf86d7218 | inserting event EVENT_RETRANSMIT, timeout in 0.5 seconds for #1 | libevent_malloc: new ptr-libevent@0x557cf86d6d38 size 128 | #1 STATE_XAUTH_R0: retransmits: first event in 0.5 seconds; timeout in 60 seconds; limit of 12 retransmits; current time is 29825.547042 | libevent_free: release ptr-libevent@0x557cf86d6888 | free_event_entry: release EVENT_v1_SEND_XAUTH-pe@0x557cf86d6608 | #1 spent 0.284 milliseconds in timer_event_cb() EVENT_v1_SEND_XAUTH | stop processing: state #1 connection "modecfg-road-eastnet-psk"[1] 192.1.3.209 from 192.1.3.209:500 (in timer_event_cb() at timer.c:557) | spent 0.00262 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 84 bytes from 192.1.3.209:500 on eth1 (192.1.2.23:500) | 05 dc e0 d8 54 1e 45 50 71 0e 20 a1 13 82 ff b5 | 08 10 06 01 e0 5b 05 b0 00 00 00 54 c5 93 1c 3e | 38 c5 e1 b2 94 ed 85 2e 6f 41 8a a2 1e 09 84 30 | 9f 22 cf d6 7d 84 20 2a 8c 15 c3 19 b6 01 15 d0 | 58 c9 fe 90 df 03 84 b2 bb c5 48 36 d3 42 44 d4 | 83 a3 83 c6 | start processing: from 192.1.3.209:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 05 dc e0 d8 54 1e 45 50 | responder cookie: | 71 0e 20 a1 13 82 ff b5 | next payload type: ISAKMP_NEXT_HASH (0x8) | ISAKMP version: ISAKMP Version 1.0 (rfc2407) (0x10) | exchange type: ISAKMP_XCHG_MODE_CFG (0x6) | flags: ISAKMP_FLAG_v1_ENCRYPTION (0x1) | Message ID: 3764061616 (0xe05b05b0) | length: 84 (0x54) | processing version=1.0 packet with exchange type=ISAKMP_XCHG_MODE_CFG (6) | peer and cookies match on #1; msgid=e05b05b0 st_msgid=00000000 st_msgid_phase15=e05b05b0 | p15 state object #1 found, in STATE_XAUTH_R0 | State DB: found IKEv1 state #1 in XAUTH_R0 (find_v1_info_state) | start processing: state #1 connection "modecfg-road-eastnet-psk"[1] 192.1.3.209 from 192.1.3.209:500 (in process_v1_packet() at ikev1.c:1802) | #1 is idle | #1 idle | received encrypted packet from 192.1.3.209:500 | got payload 0x100 (ISAKMP_NEXT_HASH) needed: 0x4100 opt: 0x2000 | ***parse ISAKMP Hash Payload: | next payload type: ISAKMP_NEXT_MODECFG (0xe) | length: 24 (0x18) | got payload 0x4000 (ISAKMP_NEXT_MODECFG) needed: 0x4000 opt: 0x2000 | ***parse ISAKMP Mode Attribute: | next payload type: ISAKMP_NEXT_NONE (0x0) | length: 28 (0x1c) | Attr Msg Type: ISAKMP_CFG_REPLY (0x2) | Identifier: 0 (0x0) | removing 4 bytes of padding | xauth_inR0 HASH(1): | 33 e8 60 f0 a4 80 67 05 9c 6b 43 55 cc 12 74 c4 | d6 59 5d 23 | received 'xauth_inR0' message HASH(1) data ok | ****parse ISAKMP ModeCfg attribute: | ModeCfg attr type: XAUTH-USER-NAME (0x4089) | length/value: 4 (0x4) | ****parse ISAKMP ModeCfg attribute: | ModeCfg attr type: XAUTH-USER-PASSWORD (0x408a) | length/value: 8 (0x8) | state #1 requesting EVENT_RETRANSMIT to be deleted | #1 STATE_XAUTH_R0: retransmits: cleared | libevent_free: release ptr-libevent@0x557cf86d6d38 | free_event_entry: release EVENT_RETRANSMIT-pe@0x557cf86d7218 "modecfg-road-eastnet-psk"[1] 192.1.3.209 #1: XAUTH: password file authentication method requested to authenticate user 'use3' "modecfg-road-eastnet-psk"[1] 192.1.3.209 #1: XAUTH: password file (/etc/ipsec.d/passwd) open. | XAUTH: found user(road/use3) pass($apr1$898RP...$9gJFVFuZIvsD0dTGADcv10) connid(xauth-road-eastnet/modecfg-road-eastnet-psk) addresspool() | XAUTH: found user(use1/use3) pass(xOzlFlqtwJIu2) connid(xauth-road-eastnet/modecfg-road-eastnet-psk) addresspool() | XAUTH: found user(use2/use3) pass(xOzlFlqtwJIu2) connid(xauth-road-eastnet-psk/modecfg-road-eastnet-psk) addresspool() | XAUTH: found user(use3/use3) pass(xOzlFlqtwJIu2) connid(modecfg-road-eastnet-psk/modecfg-road-eastnet-psk) addresspool() "modecfg-road-eastnet-psk"[1] 192.1.3.209 #1: XAUTH: success user(use3:modecfg-road-eastnet-psk) | scheduling resume xauth immediate for #1 | libevent_malloc: new ptr-libevent@0x557cf86d6888 size 128 | complete v1 state transition with STF_SUSPEND | [RE]START processing: state #1 connection "modecfg-road-eastnet-psk"[1] 192.1.3.209 from 192.1.3.209:500 (in complete_v1_state_transition() at ikev1.c:2648) | suspending state #1 and saving MD | #1 is busy; has a suspended MD | #1 spent 0.139 milliseconds in process_packet_tail() | stop processing: from 192.1.3.209:500 (BACKGROUND) (in process_md() at demux.c:380) | stop processing: state #1 connection "modecfg-road-eastnet-psk"[1] 192.1.3.209 from 192.1.3.209:500 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.279 milliseconds in comm_handle_cb() reading and processing packet | processing resume xauth immediate for #1 | start processing: state #1 connection "modecfg-road-eastnet-psk"[1] 192.1.3.209 from 192.1.3.209:500 (in resume_handler() at server.c:797) "modecfg-road-eastnet-psk"[1] 192.1.3.209 #1: XAUTH: User use3: Authentication Successful | **emit ISAKMP Message: | initiator cookie: | 05 dc e0 d8 54 1e 45 50 | responder cookie: | 71 0e 20 a1 13 82 ff b5 | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: ISAKMP Version 1.0 (rfc2407) (0x10) | exchange type: ISAKMP_XCHG_MODE_CFG (0x6) | flags: ISAKMP_FLAG_v1_ENCRYPTION (0x1) | Message ID: 3050874384 (0xb5d8a610) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | ***emit ISAKMP Hash Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | next payload chain: setting previous 'ISAKMP Message'.'next payload type' to current ISAKMP Hash Payload (8:ISAKMP_NEXT_HASH) | next payload chain: saving location 'ISAKMP Hash Payload'.'next payload type' in 'xauth_buf' | emitting 20 zero bytes of HASH DATA into ISAKMP Hash Payload | emitting length of ISAKMP Hash Payload: 24 | ***emit ISAKMP Mode Attribute: | next payload type: ISAKMP_NEXT_NONE (0x0) | Attr Msg Type: ISAKMP_CFG_SET (0x3) | Identifier: 0 (0x0) | next payload chain: setting previous 'ISAKMP Hash Payload'.'next payload type' to current ISAKMP Mode Attribute (14:ISAKMP_NEXT_MODECFG) | next payload chain: saving location 'ISAKMP Mode Attribute'.'next payload type' in 'xauth_buf' | ****emit ISAKMP ModeCfg attribute: | ModeCfg attr type: AF+XAUTH-STATUS (0xc08f) | length/value: 1 (0x1) | no IKEv1 message padding required | emitting length of ISAKMP Mode Attribute: 12 | XAUTH: status HASH(1): | 0b b7 2e a2 19 35 ab 35 f9 92 e9 fd 02 22 b2 65 | f0 67 5e 1d | no IKEv1 message padding required | emitting length of ISAKMP Message: 64 | emitting 4 zero bytes of encryption padding into ISAKMP Message | no IKEv1 message padding required | emitting length of ISAKMP Message: 68 | event_schedule: new EVENT_RETRANSMIT-pe@0x557cf86d7218 | inserting event EVENT_RETRANSMIT, timeout in 0.5 seconds for #1 | libevent_malloc: new ptr-libevent@0x557cf86d6d38 size 128 | #1 STATE_XAUTH_R0: retransmits: first event in 0.5 seconds; timeout in 60 seconds; limit of 12 retransmits; current time is 29825.548011 | sending 68 bytes for XAUTH: status through eth1 from 192.1.2.23:500 to 192.1.3.209:500 (using #1) | 05 dc e0 d8 54 1e 45 50 71 0e 20 a1 13 82 ff b5 | 08 10 06 01 b5 d8 a6 10 00 00 00 44 c4 42 9d 6b | 37 b3 95 0b 1f 3f fe 37 5a b6 df f8 0f 48 10 cb | fd 86 22 a7 48 7b 54 7c c8 30 fe b7 eb 21 e9 ba | fd 66 78 bf | parent state #1: XAUTH_R0(established IKE SA) => XAUTH_R1(established IKE SA) | resume xauth immediate for #1 suppresed complete_v1_state_transition() | #1 spent 0.168 milliseconds in resume xauth immediate | stop processing: state #1 connection "modecfg-road-eastnet-psk"[1] 192.1.3.209 from 192.1.3.209:500 (in resume_handler() at server.c:833) | libevent_free: release ptr-libevent@0x557cf86d6888 | spent 0.00191 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 68 bytes from 192.1.3.209:500 on eth1 (192.1.2.23:500) | 05 dc e0 d8 54 1e 45 50 71 0e 20 a1 13 82 ff b5 | 08 10 06 01 b5 d8 a6 10 00 00 00 44 14 ed f9 bb | 94 ea 9f 1d 5f c5 e8 42 d6 ae 44 9d 79 81 1f a3 | 40 35 27 e9 0c 9c 46 90 b0 fa 73 24 41 5f 17 5e | e1 cb 1d bb | start processing: from 192.1.3.209:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 05 dc e0 d8 54 1e 45 50 | responder cookie: | 71 0e 20 a1 13 82 ff b5 | next payload type: ISAKMP_NEXT_HASH (0x8) | ISAKMP version: ISAKMP Version 1.0 (rfc2407) (0x10) | exchange type: ISAKMP_XCHG_MODE_CFG (0x6) | flags: ISAKMP_FLAG_v1_ENCRYPTION (0x1) | Message ID: 3050874384 (0xb5d8a610) | length: 68 (0x44) | processing version=1.0 packet with exchange type=ISAKMP_XCHG_MODE_CFG (6) | peer and cookies match on #1; msgid=b5d8a610 st_msgid=00000000 st_msgid_phase15=b5d8a610 | p15 state object #1 found, in STATE_XAUTH_R1 | State DB: found IKEv1 state #1 in XAUTH_R1 (find_v1_info_state) | start processing: state #1 connection "modecfg-road-eastnet-psk"[1] 192.1.3.209 from 192.1.3.209:500 (in process_v1_packet() at ikev1.c:1802) | #1 is idle | #1 idle | received encrypted packet from 192.1.3.209:500 | got payload 0x100 (ISAKMP_NEXT_HASH) needed: 0x4100 opt: 0x2000 | ***parse ISAKMP Hash Payload: | next payload type: ISAKMP_NEXT_MODECFG (0xe) | length: 24 (0x18) | got payload 0x4000 (ISAKMP_NEXT_MODECFG) needed: 0x4000 opt: 0x2000 | ***parse ISAKMP Mode Attribute: | next payload type: ISAKMP_NEXT_NONE (0x0) | length: 12 (0xc) | Attr Msg Type: ISAKMP_CFG_ACK (0x4) | Identifier: 0 (0x0) | removing 4 bytes of padding | xauth_inR1 HASH(1): | f1 94 aa e9 6e c1 0e f6 e7 05 0a db e6 1d ad 4f | e6 0c 2a 1f | received 'xauth_inR1' message HASH(1) data ok "modecfg-road-eastnet-psk"[1] 192.1.3.209 #1: XAUTH: xauth_inR1(STF_OK) | modecfg server, pull mode. Starting new exchange. | complete v1 state transition with STF_OK | [RE]START processing: state #1 connection "modecfg-road-eastnet-psk"[1] 192.1.3.209 from 192.1.3.209:500 (in complete_v1_state_transition() at ikev1.c:2673) | #1 is idle | doing_xauth:no, t_xauth_client_done:no | IKEv1: transition from state STATE_XAUTH_R1 to state STATE_MAIN_R3 | parent state #1: XAUTH_R1(established IKE SA) => MAIN_R3(established IKE SA) | event_already_set, deleting event | state #1 requesting EVENT_RETRANSMIT to be deleted | #1 STATE_MAIN_R3: retransmits: cleared | libevent_free: release ptr-libevent@0x557cf86d6d38 | free_event_entry: release EVENT_RETRANSMIT-pe@0x557cf86d7218 | !event_already_set at reschedule | event_schedule: new EVENT_SA_REPLACE-pe@0x557cf86d7218 | inserting event EVENT_SA_REPLACE, timeout in 3330 seconds for #1 | libevent_malloc: new ptr-libevent@0x557cf86d6888 size 128 | pstats #1 ikev1.isakmp established "modecfg-road-eastnet-psk"[1] 192.1.3.209 #1: STATE_MAIN_R3: sent MR3, ISAKMP SA established {auth=PRESHARED_KEY cipher=3DES_CBC_192 integ=HMAC_SHA1 group=MODP1536} | DPD: dpd_init() called on ISAKMP SA | DPD: Peer supports Dead Peer Detection | modecfg pull: noquirk policy:pull not-client | phase 1 is done, looking for phase 2 to unpend | #1 spent 0.0451 milliseconds in process_packet_tail() | stop processing: from 192.1.3.209:500 (BACKGROUND) (in process_md() at demux.c:380) | stop processing: state #1 connection "modecfg-road-eastnet-psk"[1] 192.1.3.209 from 192.1.3.209:500 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.152 milliseconds in comm_handle_cb() reading and processing packet | spent 0.00142 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 84 bytes from 192.1.3.209:500 on eth1 (192.1.2.23:500) | 05 dc e0 d8 54 1e 45 50 71 0e 20 a1 13 82 ff b5 | 08 10 06 01 05 95 01 8a 00 00 00 54 dc 6b a7 b8 | 22 1d 78 64 1e 72 e6 b0 b2 13 a2 b5 61 4f 60 2c | ba 62 1b bd 29 31 31 b9 8e 3b b5 cf 2b 6c c3 cd | ef e6 65 35 f2 69 93 fa df d9 c5 44 e6 cf 3d 4b | 6f c2 b5 23 | start processing: from 192.1.3.209:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 05 dc e0 d8 54 1e 45 50 | responder cookie: | 71 0e 20 a1 13 82 ff b5 | next payload type: ISAKMP_NEXT_HASH (0x8) | ISAKMP version: ISAKMP Version 1.0 (rfc2407) (0x10) | exchange type: ISAKMP_XCHG_MODE_CFG (0x6) | flags: ISAKMP_FLAG_v1_ENCRYPTION (0x1) | Message ID: 93651338 (0x595018a) | length: 84 (0x54) | processing version=1.0 packet with exchange type=ISAKMP_XCHG_MODE_CFG (6) | peer and cookies match on #1; msgid=0595018a st_msgid=00000000 st_msgid_phase15=00000000 | State DB: IKEv1 state not found (find_v1_info_state) | No appropriate Mode Config state yet. See if we have a Main Mode state | peer and cookies match on #1; msgid=00000000 st_msgid=00000000 st_msgid_phase15=00000000 | p15 state object #1 found, in STATE_MAIN_R3 | State DB: found IKEv1 state #1 in MAIN_R3 (find_v1_info_state) | start processing: state #1 connection "modecfg-road-eastnet-psk"[1] 192.1.3.209 from 192.1.3.209:500 (in process_v1_packet() at ikev1.c:1678) | processing received isakmp_xchg_type ISAKMP_XCHG_MODE_CFG. | this is a xauthserver modecfgserver | call init_phase2_iv | set from_state to STATE_MAIN_R3 this is modecfgserver and IS_PHASE1() is TRUE | #1 is idle | #1 idle | received encrypted packet from 192.1.3.209:500 | got payload 0x100 (ISAKMP_NEXT_HASH) needed: 0x4100 opt: 0x2000 | ***parse ISAKMP Hash Payload: | next payload type: ISAKMP_NEXT_MODECFG (0xe) | length: 24 (0x18) | got payload 0x4000 (ISAKMP_NEXT_MODECFG) needed: 0x4000 opt: 0x2000 | ***parse ISAKMP Mode Attribute: | next payload type: ISAKMP_NEXT_NONE (0x0) | length: 32 (0x20) | Attr Msg Type: ISAKMP_CFG_REQUEST (0x1) | Identifier: 0 (0x0) | modecfg_inR0 HASH(1): | 89 e8 f2 f7 e7 cb 46 f1 9a e6 dd a0 e9 e4 25 b9 | 71 62 de aa | received 'modecfg_inR0' message HASH(1) data ok | **emit ISAKMP Message: | initiator cookie: | 05 dc e0 d8 54 1e 45 50 | responder cookie: | 71 0e 20 a1 13 82 ff b5 | next payload type: ISAKMP_NEXT_HASH (0x8) | ISAKMP version: ISAKMP Version 1.0 (rfc2407) (0x10) | exchange type: ISAKMP_XCHG_MODE_CFG (0x6) | flags: ISAKMP_FLAG_v1_ENCRYPTION (0x1) | Message ID: 93651338 (0x595018a) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | next payload chain: ignoring supplied 'ISAKMP Message'.'next payload type' value 8:ISAKMP_NEXT_HASH | arrived in modecfg_inR0 | ****parse ISAKMP ModeCfg attribute: | ModeCfg attr type: INTERNAL_IP4_ADDRESS (0x1) | length/value: 0 (0x0) | ****parse ISAKMP ModeCfg attribute: | ModeCfg attr type: INTERNAL_IP4_NETMASK (0x2) | length/value: 0 (0x0) | ****parse ISAKMP ModeCfg attribute: | ModeCfg attr type: INTERNAL_IP4_DNS (0x3) | length/value: 0 (0x0) | ****parse ISAKMP ModeCfg attribute: | ModeCfg attr type: MODECFG_BANNER (0x7000) | length/value: 0 (0x0) | Unsupported modecfg (CFG_REQUEST) long attribute MODECFG_BANNER received. | ****parse ISAKMP ModeCfg attribute: | ModeCfg attr type: MODECFG_DOMAIN (0x7002) | length/value: 0 (0x0) | Unsupported modecfg (CFG_REQUEST) long attribute MODECFG_DOMAIN received. | ****parse ISAKMP ModeCfg attribute: | ModeCfg attr type: CISCO_SPLIT_INC (0x7004) | length/value: 0 (0x0) | Unsupported modecfg (CFG_REQUEST) long attribute CISCO_SPLIT_INC received. | ***emit ISAKMP Hash Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | next payload chain: setting previous 'ISAKMP Message'.'next payload type' to current ISAKMP Hash Payload (8:ISAKMP_NEXT_HASH) | next payload chain: saving location 'ISAKMP Hash Payload'.'next payload type' in 'reply packet' | emitting 20 zero bytes of HASH DATA into ISAKMP Hash Payload | emitting length of ISAKMP Hash Payload: 24 | ***emit ISAKMP Mode Attribute: | next payload type: ISAKMP_NEXT_NONE (0x0) | Attr Msg Type: ISAKMP_CFG_REPLY (0x2) | Identifier: 0 (0x0) | next payload chain: setting previous 'ISAKMP Hash Payload'.'next payload type' to current ISAKMP Mode Attribute (14:ISAKMP_NEXT_MODECFG) | next payload chain: saving location 'ISAKMP Mode Attribute'.'next payload type' in 'reply packet' | ****emit ISAKMP ModeCfg attribute: | ModeCfg attr type: INTERNAL_IP4_ADDRESS (0x1) | emitting 4 raw bytes of IP_addr into ISAKMP ModeCfg attribute | IP_addr c0 00 02 d1 | emitting length of ISAKMP ModeCfg attribute: 4 | ****emit ISAKMP ModeCfg attribute: | ModeCfg attr type: INTERNAL_IP4_NETMASK (0x2) | emitting 4 raw bytes of IP4_submsk into ISAKMP ModeCfg attribute | IP4_submsk ff ff ff 00 | emitting length of ISAKMP ModeCfg attribute: 4 | We are not sending a domain | We are not sending a banner | We are sending our subnet as CISCO_SPLIT_INC | ****emit ISAKMP ModeCfg attribute: | ModeCfg attr type: CISCO_SPLIT_INC (0x7004) | *****emit CISCO split item: | IPv4 address: c0 00 02 00 | IPv4 mask: ff ff ff 00 | emitting length of ISAKMP ModeCfg attribute: 14 | padding IKEv1 message with 2 bytes | emitting 2 zero bytes of message padding into ISAKMP Mode Attribute | emitting length of ISAKMP Mode Attribute: 44 | XAUTH: mode config response HASH(1): | 4f 98 f5 59 02 d3 88 a3 66 41 b4 f4 eb a2 7f c8 | e6 a0 a2 9c | no IKEv1 message padding required | emitting length of ISAKMP Message: 96 | emitting 4 zero bytes of encryption padding into ISAKMP Message | no IKEv1 message padding required | emitting length of ISAKMP Message: 100 "modecfg-road-eastnet-psk"[1] 192.1.3.209 #1: modecfg_inR0(STF_OK) | complete v1 state transition with STF_OK | [RE]START processing: state #1 connection "modecfg-road-eastnet-psk"[1] 192.1.3.209 from 192.1.3.209:500 (in complete_v1_state_transition() at ikev1.c:2673) | #1 is idle | doing_xauth:no, t_xauth_client_done:no | IKEv1: transition from state STATE_MODE_CFG_R0 to state STATE_MODE_CFG_R1 | parent state #1: MAIN_R3(established IKE SA) => MODE_CFG_R1(established IKE SA) | event_already_set, deleting event | state #1 requesting EVENT_SA_REPLACE to be deleted | libevent_free: release ptr-libevent@0x557cf86d6888 | free_event_entry: release EVENT_SA_REPLACE-pe@0x557cf86d7218 | sending reply packet to 192.1.3.209:500 (from 192.1.2.23:500) | sending 100 bytes for STATE_MODE_CFG_R0 through eth1 from 192.1.2.23:500 to 192.1.3.209:500 (using #1) | 05 dc e0 d8 54 1e 45 50 71 0e 20 a1 13 82 ff b5 | 08 10 06 01 05 95 01 8a 00 00 00 64 54 49 7a 05 | 13 39 7c c8 79 3b 49 3a fc 9d 12 e6 c6 47 dd fa | 5b a1 b0 ef b0 6b ca 6f 5d fb 88 fa 8e 10 ed d5 | 85 6e cc 67 d6 f1 df c5 69 f4 fb e5 bf d4 ad 02 | b4 c4 0f c9 ed 7d 10 b2 47 fa e5 5a 3a d8 ed ce | 0c f8 1a 67 | !event_already_set at reschedule | event_schedule: new EVENT_SA_REPLACE-pe@0x557cf86d7218 | inserting event EVENT_SA_REPLACE, timeout in 3330 seconds for #1 | libevent_malloc: new ptr-libevent@0x557cf86d6d38 size 128 | pstats #1 ikev1.isakmp established "modecfg-road-eastnet-psk"[1] 192.1.3.209 #1: STATE_MODE_CFG_R1: ModeCfg Set sent, expecting Ack {auth=PRESHARED_KEY cipher=3DES_CBC_192 integ=HMAC_SHA1 group=MODP1536} | DPD: dpd_init() called on ISAKMP SA | DPD: Peer supports Dead Peer Detection | modecfg pull: noquirk policy:pull not-client | phase 1 is done, looking for phase 2 to unpend | #1 spent 0.195 milliseconds in process_packet_tail() | stop processing: from 192.1.3.209:500 (BACKGROUND) (in process_md() at demux.c:380) | stop processing: state #1 connection "modecfg-road-eastnet-psk"[1] 192.1.3.209 from 192.1.3.209:500 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.31 milliseconds in comm_handle_cb() reading and processing packet | spent 0.00244 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 396 bytes from 192.1.3.209:500 on eth1 (192.1.2.23:500) | 05 dc e0 d8 54 1e 45 50 71 0e 20 a1 13 82 ff b5 | 08 10 20 01 f1 12 f9 3d 00 00 01 8c a9 43 f3 71 | a3 1e 2a 1c 62 7c 6d 53 89 b0 cf ce 14 8c df 1c | dc a0 ac 1a c7 c6 25 bf 09 2e 5c 81 00 36 2d a3 | 51 7e 20 c5 a9 73 8a a9 d7 a9 78 f5 f4 22 a3 e7 | 5e c8 8c 07 d9 16 60 9f ee 1b d0 70 bf 15 3c 19 | 7f e8 b7 98 85 f0 7c 49 80 6c 47 b3 d4 09 ad ab | d0 81 4d 08 68 01 65 85 e2 21 83 4e 04 d2 42 23 | 16 ca b7 88 86 97 cc 2d ff 15 fd 4f e4 a6 8c 6b | fa 14 e1 34 c5 c9 09 57 66 80 cd 1d c0 57 b6 12 | 59 c3 93 14 f6 62 99 50 fe 32 11 17 1d 3f cb 64 | ec 05 fa 2d 05 22 ae d3 7b fd 53 a1 73 49 7f 39 | 47 c5 56 97 a4 ee 02 e5 f8 9d 17 8c 62 3f c9 da | fd 04 b1 47 05 64 fb 8f 23 37 34 c8 67 b2 f7 c1 | e9 9c e0 1c c3 a7 f6 f1 56 b7 3f 25 de fd 6a 3a | b8 91 46 4b 21 74 43 ba be 04 af 55 20 03 37 e9 | 2a 7b ae c9 68 00 a9 5f de f5 bf 1d 38 76 78 11 | 64 3c 72 75 2c 89 66 3a ce 9e 27 7e 96 43 75 02 | 41 f9 aa be 06 47 af de 7d 21 a8 95 9a 9b c2 ea | f7 0e 07 69 06 59 fc 25 a9 ec 53 07 db f6 b0 fa | c8 2e f9 a3 0a c6 aa 59 0b 22 2c 14 a2 f9 42 e8 | a6 09 9f 94 4a 75 35 d9 b7 d5 33 f8 19 52 ef 5a | d4 ae 6b 8b 88 26 a6 17 b0 c9 fa 9d 49 c0 22 6d | e4 d4 ff fb 44 f9 2f 73 e3 28 b6 22 36 8b 71 b8 | 43 39 da 89 ec 21 67 89 e6 f5 74 ee | start processing: from 192.1.3.209:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 05 dc e0 d8 54 1e 45 50 | responder cookie: | 71 0e 20 a1 13 82 ff b5 | next payload type: ISAKMP_NEXT_HASH (0x8) | ISAKMP version: ISAKMP Version 1.0 (rfc2407) (0x10) | exchange type: ISAKMP_XCHG_QUICK (0x20) | flags: ISAKMP_FLAG_v1_ENCRYPTION (0x1) | Message ID: 4044552509 (0xf112f93d) | length: 396 (0x18c) | processing version=1.0 packet with exchange type=ISAKMP_XCHG_QUICK (32) | State DB: IKEv1 state not found (find_state_ikev1) | State DB: found IKEv1 state #1 in MODE_CFG_R1 (find_state_ikev1) | start processing: state #1 connection "modecfg-road-eastnet-psk"[1] 192.1.3.209 from 192.1.3.209:500 (in process_v1_packet() at ikev1.c:1607) | #1 is idle | #1 idle | received encrypted packet from 192.1.3.209:500 | got payload 0x100 (ISAKMP_NEXT_HASH) needed: 0x502 opt: 0x200030 | ***parse ISAKMP Hash Payload: | next payload type: ISAKMP_NEXT_SA (0x1) | length: 24 (0x18) | got payload 0x2 (ISAKMP_NEXT_SA) needed: 0x402 opt: 0x200030 | ***parse ISAKMP Security Association Payload: | next payload type: ISAKMP_NEXT_NONCE (0xa) | length: 84 (0x54) | DOI: ISAKMP_DOI_IPSEC (0x1) | got payload 0x400 (ISAKMP_NEXT_NONCE) needed: 0x400 opt: 0x200030 | ***parse ISAKMP Nonce Payload: | next payload type: ISAKMP_NEXT_KE (0x4) | length: 36 (0x24) | got payload 0x10 (ISAKMP_NEXT_KE) needed: 0x0 opt: 0x200030 | ***parse ISAKMP Key Exchange Payload: | next payload type: ISAKMP_NEXT_ID (0x5) | length: 196 (0xc4) | got payload 0x20 (ISAKMP_NEXT_ID) needed: 0x0 opt: 0x200030 | ***parse ISAKMP Identification Payload (IPsec DOI): | next payload type: ISAKMP_NEXT_ID (0x5) | length: 12 (0xc) | ID type: ID_IPV4_ADDR (0x1) | Protocol ID: 0 (0x0) | port: 0 (0x0) | obj: c0 00 02 d1 | got payload 0x20 (ISAKMP_NEXT_ID) needed: 0x0 opt: 0x200030 | ***parse ISAKMP Identification Payload (IPsec DOI): | next payload type: ISAKMP_NEXT_NONE (0x0) | length: 16 (0x10) | ID type: ID_IPV4_ADDR_SUBNET (0x4) | Protocol ID: 0 (0x0) | port: 0 (0x0) | obj: c0 00 02 00 ff ff ff 00 | quick_inI1_outR1 HASH(1): | 69 3f 3d 7e e2 82 db 10 05 7f f9 d9 43 c1 b7 f2 | c8 d5 6c 8f | received 'quick_inI1_outR1' message HASH(1) data ok | parsing 4 raw bytes of ISAKMP Identification Payload (IPsec DOI) into ID address | ID address c0 00 02 d1 | peer client is 192.0.2.209/32 | peer client protocol/port is 0/0 | parsing 4 raw bytes of ISAKMP Identification Payload (IPsec DOI) into ID address | ID address c0 00 02 00 | parsing 4 raw bytes of ISAKMP Identification Payload (IPsec DOI) into ID mask | ID mask ff ff ff 00 | our client is subnet 192.0.2.0/24 | our client protocol/port is 0/0 "modecfg-road-eastnet-psk"[1] 192.1.3.209 #1: the peer proposed: 192.0.2.0/24:0/0 -> 192.0.2.209/32:0/0 | find_client_connection starting with modecfg-road-eastnet-psk | looking for 192.0.2.0/24:0/0 -> 192.0.2.209/32:0/0 | concrete checking against sr#0 192.0.2.0/24 -> 192.0.2.209/32 | match_id a=@roadrandom | b=@roadrandom | results matched | fc_try trying modecfg-road-eastnet-psk:192.0.2.0/24:0/0 -> 192.0.2.209/32:0/0 vs modecfg-road-eastnet-psk:192.0.2.0/24:0/0 -> 192.0.2.209/32:0/0 | fc_try concluding with modecfg-road-eastnet-psk [129] | fc_try modecfg-road-eastnet-psk gives modecfg-road-eastnet-psk | concluding with d = modecfg-road-eastnet-psk | client wildcard: no port wildcard: no virtual: no | creating state object #2 at 0x557cf86d7288 | State DB: adding IKEv1 state #2 in UNDEFINED | pstats #2 ikev1.ipsec started | duplicating state object #1 "modecfg-road-eastnet-psk"[1] 192.1.3.209 as #2 for IPSEC SA | #2 setting local endpoint to 192.1.2.23:500 from #1.st_localport (in duplicate_state() at state.c:1484) | suspend processing: state #1 connection "modecfg-road-eastnet-psk"[1] 192.1.3.209 from 192.1.3.209:500 (in quick_inI1_outR1_tail() at ikev1_quick.c:1295) | start processing: state #2 connection "modecfg-road-eastnet-psk"[1] 192.1.3.209 from 192.1.3.209:500 (in quick_inI1_outR1_tail() at ikev1_quick.c:1295) | child state #2: UNDEFINED(ignore) => QUICK_R0(established CHILD SA) | ****parse IPsec DOI SIT: | IPsec DOI SIT: SIT_IDENTITY_ONLY (0x1) | ****parse ISAKMP Proposal Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | length: 72 (0x48) | proposal number: 0 (0x0) | protocol ID: PROTO_IPSEC_ESP (0x3) | SPI size: 4 (0x4) | number of transforms: 2 (0x2) | parsing 4 raw bytes of ISAKMP Proposal Payload into SPI | SPI d2 92 ba 44 | *****parse ISAKMP Transform Payload (ESP): | next payload type: ISAKMP_NEXT_T (0x3) | length: 32 (0x20) | ESP transform number: 0 (0x0) | ESP transform ID: ESP_AES (0xc) | ******parse ISAKMP IPsec DOI attribute: | af+type: AF+GROUP_DESCRIPTION (0x8003) | length/value: 5 (0x5) | [5 is OAKLEY_GROUP_MODP1536] | ******parse ISAKMP IPsec DOI attribute: | af+type: AF+ENCAPSULATION_MODE (0x8004) | length/value: 1 (0x1) | [1 is ENCAPSULATION_MODE_TUNNEL] | NAT-T non-encap: Installing IPsec SA without ENCAP, st->hidden_variables.st_nat_traversal is none | ******parse ISAKMP IPsec DOI attribute: | af+type: AF+SA_LIFE_TYPE (0x8001) | length/value: 1 (0x1) | [1 is SA_LIFE_TYPE_SECONDS] | ******parse ISAKMP IPsec DOI attribute: | af+type: AF+SA_LIFE_DURATION (variable length) (0x8002) | length/value: 28800 (0x7080) | ******parse ISAKMP IPsec DOI attribute: | af+type: AF+AUTH_ALGORITHM (0x8005) | length/value: 2 (0x2) | [2 is AUTH_ALGORITHM_HMAC_SHA1] | ******parse ISAKMP IPsec DOI attribute: | af+type: AF+KEY_LENGTH (0x8006) | length/value: 128 (0x80) | ESP IPsec Transform verified unconditionally; no alg_info to check against | adding quick_outI1 KE work-order 3 for state #2 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x557cf86d6608 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #2 | libevent_malloc: new ptr-libevent@0x557cf86d5728 size 128 | complete v1 state transition with STF_SUSPEND | crypto helper 2 resuming | crypto helper 2 starting work-order 3 for state #2 | [RE]START processing: state #2 connection "modecfg-road-eastnet-psk"[1] 192.1.3.209 from 192.1.3.209:500 (in complete_v1_state_transition() at ikev1.c:2648) | crypto helper 2 doing build KE and nonce (quick_outI1 KE); request ID 3 | suspending state #2 and saving MD | #2 is busy; has a suspended MD | #1 spent 0.328 milliseconds in process_packet_tail() | stop processing: from 192.1.3.209:500 (BACKGROUND) (in process_md() at demux.c:380) | stop processing: state #2 connection "modecfg-road-eastnet-psk"[1] 192.1.3.209 from 192.1.3.209:500 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.661 milliseconds in comm_handle_cb() reading and processing packet | crypto helper 2 finished build KE and nonce (quick_outI1 KE); request ID 3 time elapsed 0.000565 seconds | (#2) spent 0.571 milliseconds in crypto helper computing work-order 3: quick_outI1 KE (pcr) | crypto helper 2 sending results from work-order 3 for state #2 to event queue | scheduling resume sending helper answer for #2 | libevent_malloc: new ptr-libevent@0x7f2dcc001af8 size 128 | libevent_realloc: release ptr-libevent@0x557cf86b4678 | libevent_realloc: new ptr-libevent@0x7f2dcc001a48 size 128 | crypto helper 2 waiting (nothing to do) | processing resume sending helper answer for #2 | start processing: state #2 connection "modecfg-road-eastnet-psk"[1] 192.1.3.209 from 192.1.3.209:500 (in resume_handler() at server.c:797) | crypto helper 2 replies to request ID 3 | calling continuation function 0x557cf70cab50 | quick_inI1_outR1_cryptocontinue1 for #2: calculated ke+nonce, calculating DH | started looking for secret for @east->@roadrandom of kind PKK_PSK | actually looking for secret for @east->@roadrandom of kind PKK_PSK | line 12: key type PKK_PSK(@east) to type PKK_PSK | 1: compared key @roadrandom to @east / @roadrandom -> 004 | 2: compared key @east to @east / @roadrandom -> 014 | line 12: match=014 | match 014 beats previous best_match 000 match=0x557cf86d39b8 (line=12) | line 10: key type PKK_PSK(@east) to type PKK_PSK | 1: compared key @east to @east / @roadrandom -> 010 | 2: compared key @west to @east / @roadrandom -> 010 | line 10: match=010 | line 9: key type PKK_PSK(@east) to type PKK_PSK | 1: compared key %any to @east / @roadrandom -> 002 | 2: compared key %any to @east / @roadrandom -> 002 | line 9: match=002 | match 002 loses to best_match 014 | concluding with best_match=014 best=0x557cf86d39b8 (lineno=12) | adding quick outR1 DH work-order 4 for state #2 | state #2 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x557cf86d5728 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x557cf86d6608 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x557cf86d6608 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #2 | libevent_malloc: new ptr-libevent@0x557cf86d5728 size 128 | suspending state #2 and saving MD | #2 is busy; has a suspended MD | resume sending helper answer for #2 suppresed complete_v1_state_transition() and stole MD | #2 spent 0.0618 milliseconds in resume sending helper answer | stop processing: state #2 connection "modecfg-road-eastnet-psk"[1] 192.1.3.209 from 192.1.3.209:500 (in resume_handler() at server.c:833) | libevent_free: release ptr-libevent@0x7f2dcc001af8 | crypto helper 3 resuming | crypto helper 3 starting work-order 4 for state #2 | crypto helper 3 doing compute dh (V1 Phase 2 PFS) (quick outR1 DH); request ID 4 | crypto helper 3 finished compute dh (V1 Phase 2 PFS) (quick outR1 DH); request ID 4 time elapsed 0.000543 seconds | (#2) spent 0.549 milliseconds in crypto helper computing work-order 4: quick outR1 DH (pcr) | crypto helper 3 sending results from work-order 4 for state #2 to event queue | scheduling resume sending helper answer for #2 | libevent_malloc: new ptr-libevent@0x7f2dc0003148 size 128 | crypto helper 3 waiting (nothing to do) | processing resume sending helper answer for #2 | start processing: state #2 connection "modecfg-road-eastnet-psk"[1] 192.1.3.209 from 192.1.3.209:500 (in resume_handler() at server.c:797) | crypto helper 3 replies to request ID 4 | calling continuation function 0x557cf70cab50 | quick_inI1_outR1_cryptocontinue2 for #2: calculated DH, sending R1 | **emit ISAKMP Message: | initiator cookie: | 05 dc e0 d8 54 1e 45 50 | responder cookie: | 71 0e 20 a1 13 82 ff b5 | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: ISAKMP Version 1.0 (rfc2407) (0x10) | exchange type: ISAKMP_XCHG_QUICK (0x20) | flags: ISAKMP_FLAG_v1_ENCRYPTION (0x1) | Message ID: 4044552509 (0xf112f93d) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | ***emit ISAKMP Hash Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | next payload chain: setting previous 'ISAKMP Message'.'next payload type' to current ISAKMP Hash Payload (8:ISAKMP_NEXT_HASH) | next payload chain: saving location 'ISAKMP Hash Payload'.'next payload type' in 'reply packet' | emitting 20 zero bytes of HASH DATA into ISAKMP Hash Payload | emitting length of ISAKMP Hash Payload: 24 | ***emit ISAKMP Security Association Payload: | next payload type: ISAKMP_NEXT_NONCE (0xa) | DOI: ISAKMP_DOI_IPSEC (0x1) | next payload chain: ignoring supplied 'ISAKMP Security Association Payload'.'next payload type' value 10:ISAKMP_NEXT_NONCE | next payload chain: setting previous 'ISAKMP Hash Payload'.'next payload type' to current ISAKMP Security Association Payload (1:ISAKMP_NEXT_SA) | next payload chain: saving location 'ISAKMP Security Association Payload'.'next payload type' in 'reply packet' | ****parse IPsec DOI SIT: | IPsec DOI SIT: SIT_IDENTITY_ONLY (0x1) | ****parse ISAKMP Proposal Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | length: 72 (0x48) | proposal number: 0 (0x0) | protocol ID: PROTO_IPSEC_ESP (0x3) | SPI size: 4 (0x4) | number of transforms: 2 (0x2) | parsing 4 raw bytes of ISAKMP Proposal Payload into SPI | SPI d2 92 ba 44 | *****parse ISAKMP Transform Payload (ESP): | next payload type: ISAKMP_NEXT_T (0x3) | length: 32 (0x20) | ESP transform number: 0 (0x0) | ESP transform ID: ESP_AES (0xc) | ******parse ISAKMP IPsec DOI attribute: | af+type: AF+GROUP_DESCRIPTION (0x8003) | length/value: 5 (0x5) | [5 is OAKLEY_GROUP_MODP1536] | ******parse ISAKMP IPsec DOI attribute: | af+type: AF+ENCAPSULATION_MODE (0x8004) | length/value: 1 (0x1) | [1 is ENCAPSULATION_MODE_TUNNEL] | NAT-T non-encap: Installing IPsec SA without ENCAP, st->hidden_variables.st_nat_traversal is none | ******parse ISAKMP IPsec DOI attribute: | af+type: AF+SA_LIFE_TYPE (0x8001) | length/value: 1 (0x1) | [1 is SA_LIFE_TYPE_SECONDS] | ******parse ISAKMP IPsec DOI attribute: | af+type: AF+SA_LIFE_DURATION (variable length) (0x8002) | length/value: 28800 (0x7080) | ******parse ISAKMP IPsec DOI attribute: | af+type: AF+AUTH_ALGORITHM (0x8005) | length/value: 2 (0x2) | [2 is AUTH_ALGORITHM_HMAC_SHA1] | ******parse ISAKMP IPsec DOI attribute: | af+type: AF+KEY_LENGTH (0x8006) | length/value: 128 (0x80) | ESP IPsec Transform verified unconditionally; no alg_info to check against | ****emit IPsec DOI SIT: | IPsec DOI SIT: SIT_IDENTITY_ONLY (0x1) | ****emit ISAKMP Proposal Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | proposal number: 0 (0x0) | protocol ID: PROTO_IPSEC_ESP (0x3) | SPI size: 4 (0x4) | number of transforms: 1 (0x1) | last substructure: saving location 'ISAKMP Security Association Payload'.'ISAKMP Proposal Payload'.'next payload type' | netlink_get_spi: allocated 0xd4ad4fab for esp.0@192.1.2.23 | emitting 4 raw bytes of SPI into ISAKMP Proposal Payload | SPI d4 ad 4f ab | *****emit ISAKMP Transform Payload (ESP): | next payload type: ISAKMP_NEXT_NONE (0x0) | ESP transform number: 0 (0x0) | ESP transform ID: ESP_AES (0xc) | last substructure: saving location 'ISAKMP Proposal Payload'.'ISAKMP Transform Payload (ESP)'.'next payload type' | emitting 24 raw bytes of attributes into ISAKMP Transform Payload (ESP) | attributes 80 03 00 05 80 04 00 01 80 01 00 01 80 02 70 80 | attributes 80 05 00 02 80 06 00 80 | emitting length of ISAKMP Transform Payload (ESP): 32 | emitting length of ISAKMP Proposal Payload: 44 | last substructure: checking 'ISAKMP Proposal Payload'.'ISAKMP Transform Payload (ESP)'.'next payload type' is 0 | emitting length of ISAKMP Security Association Payload: 56 | last substructure: checking 'ISAKMP Security Association Payload'.'ISAKMP Proposal Payload'.'next payload type' is 0 "modecfg-road-eastnet-psk"[1] 192.1.3.209 #2: responding to Quick Mode proposal {msgid:f112f93d} "modecfg-road-eastnet-psk"[1] 192.1.3.209 #2: us: 192.0.2.0/24===192.1.2.23<192.1.2.23>[@east,MS+XS+S=C] "modecfg-road-eastnet-psk"[1] 192.1.3.209 #2: them: 192.1.3.209[@roadrandom,+MC+XC+S=C]===192.0.2.209/32 | ***emit ISAKMP Nonce Payload: | next payload type: ISAKMP_NEXT_KE (0x4) | next payload chain: ignoring supplied 'ISAKMP Nonce Payload'.'next payload type' value 4:ISAKMP_NEXT_KE | next payload chain: setting previous 'ISAKMP Security Association Payload'.'next payload type' to current ISAKMP Nonce Payload (10:ISAKMP_NEXT_NONCE) | next payload chain: saving location 'ISAKMP Nonce Payload'.'next payload type' in 'reply packet' | emitting 32 raw bytes of Nr into ISAKMP Nonce Payload | Nr 41 e6 23 f6 06 e7 4d 29 7d 64 9d 98 61 f5 d9 63 | Nr 49 74 83 33 e5 e9 89 f9 ee ec 33 8e 54 fc cf b7 | emitting length of ISAKMP Nonce Payload: 36 | ***emit ISAKMP Key Exchange Payload: | next payload type: ISAKMP_NEXT_ID (0x5) | next payload chain: ignoring supplied 'ISAKMP Key Exchange Payload'.'next payload type' value 5:ISAKMP_NEXT_ID | next payload chain: setting previous 'ISAKMP Nonce Payload'.'next payload type' to current ISAKMP Key Exchange Payload (4:ISAKMP_NEXT_KE) | next payload chain: saving location 'ISAKMP Key Exchange Payload'.'next payload type' in 'reply packet' | emitting 192 raw bytes of keyex value into ISAKMP Key Exchange Payload | keyex value e3 4a 61 5e b2 2d e8 20 df 67 af 19 a6 d5 af 23 | keyex value c4 60 92 5a f6 da 3a 35 aa 3d b5 14 a9 51 05 f9 | keyex value 66 74 bb fa da 28 02 26 5a 57 d9 93 e3 e6 da 56 | keyex value 93 d9 e8 61 f1 d2 e3 de a4 f9 6a 7b 07 44 bd 41 | keyex value 1d 09 f9 24 37 32 82 b0 20 00 26 a1 9f 95 7e 23 | keyex value 66 15 f5 01 7a fe f5 fe 9a 7d 91 dd 80 9f 2a da | keyex value 15 27 00 2f 7c 62 28 91 da 3c 6e 52 7d 2f 35 63 | keyex value 3b 6a ea 3a 5a a1 16 1c a3 07 c6 7e 59 60 09 52 | keyex value cb 21 71 83 e1 86 96 ce 8a 7d 7d 20 20 16 43 99 | keyex value a5 98 f7 fb 12 29 1b 90 46 6b 21 48 f6 06 b9 6e | keyex value a4 a7 2c d6 92 c5 a0 fd 25 91 eb 3c 7e 6b bb 48 | keyex value a5 ce 38 92 6a cd 81 09 26 e1 95 f4 00 70 74 b4 | emitting length of ISAKMP Key Exchange Payload: 196 | ***emit ISAKMP Identification Payload (IPsec DOI): | next payload type: ISAKMP_NEXT_ID (0x5) | ID type: ID_IPV4_ADDR (0x1) | Protocol ID: 0 (0x0) | port: 0 (0x0) | next payload chain: ignoring supplied 'ISAKMP Identification Payload (IPsec DOI)'.'next payload type' value 5:ISAKMP_NEXT_ID | next payload chain: setting previous 'ISAKMP Key Exchange Payload'.'next payload type' to current ISAKMP Identification Payload (IPsec DOI) (5:ISAKMP_NEXT_ID) | next payload chain: saving location 'ISAKMP Identification Payload (IPsec DOI)'.'next payload type' in 'reply packet' | emitting 4 raw bytes of ID body into ISAKMP Identification Payload (IPsec DOI) | ID body c0 00 02 d1 | emitting length of ISAKMP Identification Payload (IPsec DOI): 12 | ***emit ISAKMP Identification Payload (IPsec DOI): | next payload type: ISAKMP_NEXT_NONE (0x0) | ID type: ID_IPV4_ADDR_SUBNET (0x4) | Protocol ID: 0 (0x0) | port: 0 (0x0) | next payload chain: setting previous 'ISAKMP Identification Payload (IPsec DOI)'.'next payload type' to current ISAKMP Identification Payload (IPsec DOI) (5:ISAKMP_NEXT_ID) | next payload chain: saving location 'ISAKMP Identification Payload (IPsec DOI)'.'next payload type' in 'reply packet' | emitting 8 raw bytes of ID body into ISAKMP Identification Payload (IPsec DOI) | ID body c0 00 02 00 ff ff ff 00 | emitting length of ISAKMP Identification Payload (IPsec DOI): 16 | quick inR1 outI2 HASH(2): | 65 94 7f f7 c5 05 30 4f 00 df 3d c9 ee b4 52 a1 | fa 3e 29 23 | compute_proto_keymat: needed_len (after ESP enc)=16 | compute_proto_keymat: needed_len (after ESP auth)=36 | FOR_EACH_CONNECTION_... in route_owner | conn modecfg-road-eastnet-psk mark 0/00000000, 0/00000000 vs | conn modecfg-road-eastnet-psk mark 0/00000000, 0/00000000 | conn modecfg-road-eastnet-psk mark 0/00000000, 0/00000000 vs | conn modecfg-road-eastnet-psk mark 0/00000000, 0/00000000 | route owner of "modecfg-road-eastnet-psk"[1] 192.1.3.209 unrouted: NULL | install_inbound_ipsec_sa() checking if we can route | could_route called for modecfg-road-eastnet-psk (kind=CK_INSTANCE) | FOR_EACH_CONNECTION_... in route_owner | conn modecfg-road-eastnet-psk mark 0/00000000, 0/00000000 vs | conn modecfg-road-eastnet-psk mark 0/00000000, 0/00000000 | conn modecfg-road-eastnet-psk mark 0/00000000, 0/00000000 vs | conn modecfg-road-eastnet-psk mark 0/00000000, 0/00000000 | route owner of "modecfg-road-eastnet-psk"[1] 192.1.3.209 unrouted: NULL; eroute owner: NULL | routing is easy, or has resolvable near-conflict | checking if this is a replacement state | st=0x557cf86d7288 ost=(nil) st->serialno=#2 ost->serialno=#0 | installing outgoing SA now as refhim=0 | looking for alg with encrypt: AES_CBC keylen: 128 integ: HMAC_SHA1_96 | encrypt AES_CBC keylen=128 transid=12, key_size=16, encryptalg=12 | st->st_esp.keymat_len=36 is encrypt_keymat_size=16 + integ_keymat_size=20 | setting IPsec SA replay-window to 32 | NIC esp-hw-offload not for connection 'modecfg-road-eastnet-psk' 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.d292ba44@192.1.3.209 included non-error error | outgoing SA has refhim=0 | looking for alg with encrypt: AES_CBC keylen: 128 integ: HMAC_SHA1_96 | encrypt AES_CBC keylen=128 transid=12, key_size=16, encryptalg=12 | st->st_esp.keymat_len=36 is encrypt_keymat_size=16 + integ_keymat_size=20 | setting IPsec SA replay-window to 32 | NIC esp-hw-offload not for connection 'modecfg-road-eastnet-psk' 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.d4ad4fab@192.1.2.23 included non-error error | priority calculation of connection "modecfg-road-eastnet-psk" is 0xfe7df | add inbound eroute 192.0.2.209/32:0 --0-> 192.0.2.0/24:0 => tun.10000@192.1.2.23 (raw_eroute) | IPsec Sa SPD priority set to 1042399 | raw_eroute result=success | emitting 4 zero bytes of encryption padding into ISAKMP Message | no IKEv1 message padding required | emitting length of ISAKMP Message: 372 | finished processing quick inI1 | complete v1 state transition with STF_OK | [RE]START processing: state #2 connection "modecfg-road-eastnet-psk"[1] 192.1.3.209 from 192.1.3.209:500 (in complete_v1_state_transition() at ikev1.c:2673) | #2 is idle | doing_xauth:no, t_xauth_client_done:no | IKEv1: transition from state STATE_QUICK_R0 to state STATE_QUICK_R1 | child state #2: QUICK_R0(established CHILD SA) => QUICK_R1(established CHILD SA) | event_already_set, deleting event | state #2 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x557cf86d5728 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x557cf86d6608 | sending reply packet to 192.1.3.209:500 (from 192.1.2.23:500) | sending 372 bytes for STATE_QUICK_R0 through eth1 from 192.1.2.23:500 to 192.1.3.209:500 (using #2) | 05 dc e0 d8 54 1e 45 50 71 0e 20 a1 13 82 ff b5 | 08 10 20 01 f1 12 f9 3d 00 00 01 74 27 9d 50 76 | 52 a6 6e 9d 29 24 21 57 65 7b 15 56 f6 e1 1e bb | e6 50 fe 08 e6 a6 29 11 35 71 cf 18 c6 52 41 a5 | ec 1f cc e6 a2 e4 27 15 5f 99 f7 72 ec 65 f6 8d | 2f f7 fc b3 5f 7a 63 01 3d f7 03 71 7f 8a 96 cc | 48 17 df 22 3a b2 25 a2 70 a1 0b 31 0f 34 e7 3a | 95 e2 1d 6f c9 72 7f 90 d0 a1 97 57 24 c0 d2 98 | f1 f4 18 88 17 31 88 77 6d fc c0 9f 58 eb 98 fd | 8d 52 67 f6 af 76 0d 84 61 6b 59 84 be 16 01 82 | f6 fb bd 2c 6c a4 c8 4f 88 48 da ed 69 8a f0 f5 | 1c 40 5a 36 6e 19 e9 11 de cc 04 6a 52 d9 2f b4 | 5e 99 77 5f fe 6a 81 85 b4 b4 c9 58 cf 6e b4 f9 | dd da 4f 8d d9 25 b2 2d 97 3e 0b 42 d0 69 bf 31 | 3e 34 1b b0 c8 2f 26 60 84 ba 12 3e ed 2d 5a d8 | 02 8b d5 bb d5 db 09 b1 d6 74 d6 4c ec 00 05 b2 | 0c ca 39 37 d9 35 b5 3d 2c 94 c1 1a c4 b7 63 3f | db 95 06 37 f2 c0 f3 25 49 ff 3d 00 3b 4b 63 32 | c6 c0 f0 f1 4f bb ba 2c b3 48 5f 4f 71 59 7b 5a | 70 d5 ca fc e2 18 6c 53 85 80 85 6a 8f b5 88 a3 | bd a8 a1 38 d4 9a 67 e7 d5 02 6a 92 37 d6 06 4b | 53 cf 14 e5 1a dd 3d 04 65 f2 00 31 3f 63 01 c6 | 6c 74 50 84 4e ae d0 88 33 b7 c1 17 cb fd 44 fc | 30 69 74 fc | !event_already_set at reschedule | event_schedule: new EVENT_RETRANSMIT-pe@0x557cf86d6608 | inserting event EVENT_RETRANSMIT, timeout in 0.5 seconds for #2 | libevent_malloc: new ptr-libevent@0x7f2dcc001af8 size 128 | #2 STATE_QUICK_R1: retransmits: first event in 0.5 seconds; timeout in 60 seconds; limit of 12 retransmits; current time is 29825.553495 | pstats #2 ikev1.ipsec established | NAT-T: encaps is 'auto' "modecfg-road-eastnet-psk"[1] 192.1.3.209 #2: STATE_QUICK_R1: sent QR1, inbound IPsec SA installed, expecting QI2 tunnel mode {ESP=>0xd292ba44 <0xd4ad4fab xfrm=AES_CBC_128-HMAC_SHA1_96 NATOA=none NATD=none DPD=active username=use3} | modecfg pull: noquirk policy:pull not-client | phase 1 is done, looking for phase 2 to unpend | resume sending helper answer for #2 suppresed complete_v1_state_transition() | #2 spent 0.978 milliseconds in resume sending helper answer | stop processing: state #2 connection "modecfg-road-eastnet-psk"[1] 192.1.3.209 from 192.1.3.209:500 (in resume_handler() at server.c:833) | libevent_free: release ptr-libevent@0x7f2dc0003148 | spent 0.00272 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 52 bytes from 192.1.3.209:500 on eth1 (192.1.2.23:500) | 05 dc e0 d8 54 1e 45 50 71 0e 20 a1 13 82 ff b5 | 08 10 20 01 f1 12 f9 3d 00 00 00 34 9a e1 a7 e1 | a3 7d 6d 3f c6 3b 88 de ac 7a 95 e5 17 1f 1b 88 | 57 c7 e3 d4 | start processing: from 192.1.3.209:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 05 dc e0 d8 54 1e 45 50 | responder cookie: | 71 0e 20 a1 13 82 ff b5 | next payload type: ISAKMP_NEXT_HASH (0x8) | ISAKMP version: ISAKMP Version 1.0 (rfc2407) (0x10) | exchange type: ISAKMP_XCHG_QUICK (0x20) | flags: ISAKMP_FLAG_v1_ENCRYPTION (0x1) | Message ID: 4044552509 (0xf112f93d) | length: 52 (0x34) | processing version=1.0 packet with exchange type=ISAKMP_XCHG_QUICK (32) | State DB: found IKEv1 state #2 in QUICK_R1 (find_state_ikev1) | start processing: state #2 connection "modecfg-road-eastnet-psk"[1] 192.1.3.209 from 192.1.3.209:500 (in process_v1_packet() at ikev1.c:1633) | #2 is idle | #2 idle | received encrypted packet from 192.1.3.209:500 | got payload 0x100 (ISAKMP_NEXT_HASH) needed: 0x100 opt: 0x0 | ***parse ISAKMP Hash Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | length: 24 (0x18) | quick_inI2 HASH(3): | eb 9b a9 d4 22 53 86 68 80 1d 76 da 19 bd c5 40 | 5c c0 4b a2 | received 'quick_inI2' message HASH(3) data ok | install_ipsec_sa() for #2: outbound only | could_route called for modecfg-road-eastnet-psk (kind=CK_INSTANCE) | FOR_EACH_CONNECTION_... in route_owner | conn modecfg-road-eastnet-psk mark 0/00000000, 0/00000000 vs | conn modecfg-road-eastnet-psk mark 0/00000000, 0/00000000 | conn modecfg-road-eastnet-psk mark 0/00000000, 0/00000000 vs | conn modecfg-road-eastnet-psk mark 0/00000000, 0/00000000 | route owner of "modecfg-road-eastnet-psk"[1] 192.1.3.209 unrouted: NULL; eroute owner: NULL | sr for #2: unrouted | route_and_eroute() for proto 0, and source port 0 dest port 0 | FOR_EACH_CONNECTION_... in route_owner | conn modecfg-road-eastnet-psk mark 0/00000000, 0/00000000 vs | conn modecfg-road-eastnet-psk mark 0/00000000, 0/00000000 | conn modecfg-road-eastnet-psk mark 0/00000000, 0/00000000 vs | conn modecfg-road-eastnet-psk mark 0/00000000, 0/00000000 | route owner of "modecfg-road-eastnet-psk"[1] 192.1.3.209 unrouted: NULL; eroute owner: NULL | route_and_eroute with c: modecfg-road-eastnet-psk (next: none) ero:null esr:{(nil)} ro:null rosr:{(nil)} and state: #2 | priority calculation of connection "modecfg-road-eastnet-psk" is 0xfe7df | eroute_connection add eroute 192.0.2.0/24:0 --0-> 192.0.2.209/32:0 => tun.0@192.1.3.209 (raw_eroute) | IPsec Sa SPD priority set to 1042399 | 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='modecfg-road-eastnet-psk' 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='16392' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.3.209' PLUTO_PEER_ID='@roadrandom' PLUTO_PEER_CLIENT='192.0.2.209/32' PLUTO_PEER_CLIENT_NET='192.0.2.209' PLUTO_PEER_CLIENT_MASK='255.255.255.255' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='PSK+ENCRYPT+TUNNEL+PFS+XAUTH+MODECFG_PULL+AGGRESSIVE+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND='CK_INSTANCE' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_USERNAME='use3' PLUTO_IS_PEER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_CFG_SERVER='1' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGUR | popen cmd is 1104 chars long | cmd( 0):PLUTO_VERB='up-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='modecfg-road-eastne: | cmd( 80):t-psk' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' : | cmd( 160):PLUTO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.: | cmd( 240):0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' : | cmd( 320):PLUTO_SA_REQID='16392' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.3.209' PLUTO_PEER_I: | cmd( 400):D='@roadrandom' PLUTO_PEER_CLIENT='192.0.2.209/32' PLUTO_PEER_CLIENT_NET='192.0.: | cmd( 480):2.209' PLUTO_PEER_CLIENT_MASK='255.255.255.255' PLUTO_PEER_PORT='0' PLUTO_PEER_P: | cmd( 560):ROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_P: | cmd( 640):OLICY='PSK+ENCRYPT+TUNNEL+PFS+XAUTH+MODECFG_PULL+AGGRESSIVE+IKEV1_ALLOW+SAREF_TR: | cmd( 720):ACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND='CK_INSTANCE' PLUTO_CONN_ADDRFAMILY=': | cmd( 800):ipv4' XAUTH_FAILED=0 PLUTO_USERNAME='use3' PLUTO_IS_PEER_CISCO='0' PLUTO_PEER_DN: | cmd( 880):S_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_CFG_SERVER='1' PL: | cmd( 960):UTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' VTI_ROUTING='no' VTI_SHA: | cmd(1040):RED='no' SPI_IN=0xd292ba44 SPI_OUT=0xd4ad4fab 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='modecfg-road-eastnet-psk' 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='16392' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.3.209' PLUTO_PEER_ID='@roadrandom' PLUTO_PEER_CLIENT='192.0.2.209/32' PLUTO_PEER_CLIENT_NET='192.0.2.209' PLUTO_PEER_CLIENT_MASK='255.255.255.255' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='PSK+ENCRYPT+TUNNEL+PFS+XAUTH+MODECFG_PULL+AGGRESSIVE+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND='CK_INSTANCE' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_USERNAME='use3' PLUTO_IS_PEER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_CFG_SERVER='1' PLUTO_CFG_CLIENT='0' PLUTO_N | popen cmd is 1109 chars long | cmd( 0):PLUTO_VERB='prepare-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='modecfg-road-e: | cmd( 80):astnet-psk' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2: | cmd( 160):.23' PLUTO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192: | cmd( 240):.0.2.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL: | cmd( 320):='0' PLUTO_SA_REQID='16392' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.3.209' PLUTO_P: | cmd( 400):EER_ID='@roadrandom' PLUTO_PEER_CLIENT='192.0.2.209/32' PLUTO_PEER_CLIENT_NET='1: | cmd( 480):92.0.2.209' PLUTO_PEER_CLIENT_MASK='255.255.255.255' PLUTO_PEER_PORT='0' PLUTO_P: | cmd( 560):EER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_C: | cmd( 640):ONN_POLICY='PSK+ENCRYPT+TUNNEL+PFS+XAUTH+MODECFG_PULL+AGGRESSIVE+IKEV1_ALLOW+SAR: | cmd( 720):EF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND='CK_INSTANCE' PLUTO_CONN_ADDRFAM: | cmd( 800):ILY='ipv4' XAUTH_FAILED=0 PLUTO_USERNAME='use3' PLUTO_IS_PEER_CISCO='0' PLUTO_PE: | cmd( 880):ER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_CFG_SERVER=': | cmd( 960):1' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' VTI_ROUTING='no' VT: | cmd(1040):I_SHARED='no' SPI_IN=0xd292ba44 SPI_OUT=0xd4ad4fab 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='modecfg-road-eastnet-psk' 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='16392' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.3.209' PLUTO_PEER_ID='@roadrandom' PLUTO_PEER_CLIENT='192.0.2.209/32' PLUTO_PEER_CLIENT_NET='192.0.2.209' PLUTO_PEER_CLIENT_MASK='255.255.255.255' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='PSK+ENCRYPT+TUNNEL+PFS+XAUTH+MODECFG_PULL+AGGRESSIVE+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND='CK_INSTANCE' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_USERNAME='use3' PLUTO_IS_PEER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_CFG_SERVER='1' PLUTO_CFG_CLIENT='0' PLUTO_NM_CO | popen cmd is 1107 chars long | cmd( 0):PLUTO_VERB='route-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='modecfg-road-eas: | cmd( 80):tnet-psk' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.2: | cmd( 160):3' PLUTO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0: | cmd( 240):.2.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL=': | cmd( 320):0' PLUTO_SA_REQID='16392' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.3.209' PLUTO_PEE: | cmd( 400):R_ID='@roadrandom' PLUTO_PEER_CLIENT='192.0.2.209/32' PLUTO_PEER_CLIENT_NET='192: | cmd( 480):.0.2.209' PLUTO_PEER_CLIENT_MASK='255.255.255.255' PLUTO_PEER_PORT='0' PLUTO_PEE: | cmd( 560):R_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CON: | cmd( 640):N_POLICY='PSK+ENCRYPT+TUNNEL+PFS+XAUTH+MODECFG_PULL+AGGRESSIVE+IKEV1_ALLOW+SAREF: | cmd( 720):_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND='CK_INSTANCE' PLUTO_CONN_ADDRFAMIL: | cmd( 800):Y='ipv4' XAUTH_FAILED=0 PLUTO_USERNAME='use3' PLUTO_IS_PEER_CISCO='0' PLUTO_PEER: | cmd( 880):_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_CFG_SERVER='1': | cmd( 960): PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' VTI_ROUTING='no' VTI_: | cmd(1040):SHARED='no' SPI_IN=0xd292ba44 SPI_OUT=0xd4ad4fab ipsec _updown 2>&1: | route_and_eroute: instance "modecfg-road-eastnet-psk"[1] 192.1.3.209, setting eroute_owner {spd=0x557cf86d5168,sr=0x557cf86d5168} to #2 (was #0) (newest_ipsec_sa=#0) | #1 spent 1.58 milliseconds in install_ipsec_sa() | inI2: instance modecfg-road-eastnet-psk[1], setting IKEv1 newest_ipsec_sa to #2 (was #0) (spd.eroute=#2) cloned from #1 | DPD: dpd_init() called on IPsec SA | State DB: found IKEv1 state #1 in MODE_CFG_R1 (find_state_ikev1) | event_schedule: new EVENT_DPD-pe@0x557cf86d6fd8 | inserting event EVENT_DPD, timeout in 3 seconds for #2 | libevent_malloc: new ptr-libevent@0x7f2dc0003148 size 128 | complete v1 state transition with STF_OK | [RE]START processing: state #2 connection "modecfg-road-eastnet-psk"[1] 192.1.3.209 from 192.1.3.209:500 (in complete_v1_state_transition() at ikev1.c:2673) | #2 is idle | doing_xauth:no, t_xauth_client_done:no | IKEv1: transition from state STATE_QUICK_R1 to state STATE_QUICK_R2 | child state #2: QUICK_R1(established CHILD SA) => QUICK_R2(established CHILD SA) | event_already_set, deleting event | state #2 requesting EVENT_RETRANSMIT to be deleted | #2 STATE_QUICK_R2: retransmits: cleared | libevent_free: release ptr-libevent@0x7f2dcc001af8 | free_event_entry: release EVENT_RETRANSMIT-pe@0x557cf86d6608 | !event_already_set at reschedule | event_schedule: new EVENT_SA_REPLACE-pe@0x557cf86d6608 | inserting event EVENT_SA_REPLACE, timeout in 28530 seconds for #2 | libevent_malloc: new ptr-libevent@0x7f2dcc001af8 size 128 | pstats #2 ikev1.ipsec established | NAT-T: encaps is 'auto' "modecfg-road-eastnet-psk"[1] 192.1.3.209 #2: STATE_QUICK_R2: IPsec SA established tunnel mode {ESP=>0xd292ba44 <0xd4ad4fab xfrm=AES_CBC_128-HMAC_SHA1_96 NATOA=none NATD=none DPD=active username=use3} | modecfg pull: noquirk policy:pull not-client | phase 1 is done, looking for phase 2 to unpend | #2 spent 1.66 milliseconds in process_packet_tail() | stop processing: from 192.1.3.209:500 (BACKGROUND) (in process_md() at demux.c:380) | stop processing: state #2 connection "modecfg-road-eastnet-psk"[1] 192.1.3.209 from 192.1.3.209:500 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 1.78 milliseconds in comm_handle_cb() reading and processing packet | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00323 milliseconds in signal handler PLUTO_SIGCHLD | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.0019 milliseconds in signal handler PLUTO_SIGCHLD | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00256 milliseconds in signal handler PLUTO_SIGCHLD | timer_event_cb: processing event@0x557cf86d6fd8 | handling event EVENT_DPD for child state #2 | start processing: state #2 connection "modecfg-road-eastnet-psk"[1] 192.1.3.209 from 192.1.3.209:500 (in timer_event_cb() at timer.c:250) | [RE]START processing: state #2 connection "modecfg-road-eastnet-psk"[1] 192.1.3.209 from 192.1.3.209:500 (in dpd_event() at ikev1_dpd.c:360) | FOR_EACH_STATE_... in find_phase1_state | DPD: processing for state #2 ("modecfg-road-eastnet-psk"[1] 192.1.3.209) | get_sa_info esp.d4ad4fab@192.1.2.23 | DPD: out event not sent, phase 2 active | event_schedule: new EVENT_DPD-pe@0x7f2dc0002aa8 | inserting event EVENT_DPD, timeout in 3 seconds for #2 | libevent_malloc: new ptr-libevent@0x557cf86d6c88 size 128 | libevent_free: release ptr-libevent@0x7f2dc0003148 | free_event_entry: release EVENT_DPD-pe@0x557cf86d6fd8 | #2 spent 0.0981 milliseconds in timer_event_cb() EVENT_DPD | stop processing: state #2 connection "modecfg-road-eastnet-psk"[1] 192.1.3.209 from 192.1.3.209:500 (in timer_event_cb() at timer.c:557) | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:722) | FOR_EACH_CONNECTION_... in show_connections_status | FOR_EACH_CONNECTION_... in show_connections_status | FOR_EACH_STATE_... in show_states_status (sort_states) | FOR_EACH_STATE_... in sort_states | get_sa_info esp.d4ad4fab@192.1.2.23 | get_sa_info esp.d292ba44@192.1.3.209 | close_any(fd@16) (in whack_process() at rcv_whack.c:700) | spent 0.321 milliseconds in whack | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:722) shutting down | processing: RESET whack log_fd (was fd@16) (in exit_pluto() at plutomain.c:1825) | certs and keys locked by 'free_preshared_secrets' forgetting secrets | certs and keys unlocked by 'free_preshared_secrets' | start processing: connection "modecfg-road-eastnet-psk"[1] 192.1.3.209 (in delete_connection() at connections.c:189) "modecfg-road-eastnet-psk"[1] 192.1.3.209: deleting connection "modecfg-road-eastnet-psk"[1] 192.1.3.209 instance with peer 192.1.3.209 {isakmp=#1/ipsec=#2} | 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 | state #2 | suspend processing: connection "modecfg-road-eastnet-psk"[1] 192.1.3.209 (in foreach_state_by_connection_func_delete() at state.c:1310) | start processing: state #2 connection "modecfg-road-eastnet-psk"[1] 192.1.3.209 from 192.1.3.209:500 (in foreach_state_by_connection_func_delete() at state.c:1310) | pstats #2 ikev1.ipsec deleted completed | [RE]START processing: state #2 connection "modecfg-road-eastnet-psk"[1] 192.1.3.209 from 192.1.3.209:500 (in delete_state() at state.c:879) "modecfg-road-eastnet-psk"[1] 192.1.3.209 #2: deleting state (STATE_QUICK_R2) aged 4.972s and sending notification | child state #2: QUICK_R2(established CHILD SA) => delete | get_sa_info esp.d292ba44@192.1.3.209 | get_sa_info esp.d4ad4fab@192.1.2.23 "modecfg-road-eastnet-psk"[1] 192.1.3.209 #2: ESP traffic information: in=336B out=336B XAUTHuser=use3 | state #2 requesting EVENT_DPD-pe@0x7f2dc0002aa8 be deleted | libevent_free: release ptr-libevent@0x557cf86d6c88 | free_event_entry: release EVENT_DPD-pe@0x7f2dc0002aa8 | #2 send IKEv1 delete notification for STATE_QUICK_R2 | FOR_EACH_STATE_... in find_phase1_state | **emit ISAKMP Message: | initiator cookie: | 05 dc e0 d8 54 1e 45 50 | responder cookie: | 71 0e 20 a1 13 82 ff b5 | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: ISAKMP Version 1.0 (rfc2407) (0x10) | exchange type: ISAKMP_XCHG_INFO (0x5) | flags: ISAKMP_FLAG_v1_ENCRYPTION (0x1) | Message ID: 1293974451 (0x4d207bb3) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | ***emit ISAKMP Hash Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | next payload chain: setting previous 'ISAKMP Message'.'next payload type' to current ISAKMP Hash Payload (8:ISAKMP_NEXT_HASH) | next payload chain: saving location 'ISAKMP Hash Payload'.'next payload type' in 'delete msg' | emitting 20 zero bytes of HASH DATA into ISAKMP Hash Payload | emitting length of ISAKMP Hash Payload: 24 | ***emit ISAKMP Delete Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | DOI: ISAKMP_DOI_IPSEC (0x1) | protocol ID: 3 (0x3) | SPI size: 4 (0x4) | number of SPIs: 1 (0x1) | next payload chain: setting previous 'ISAKMP Hash Payload'.'next payload type' to current ISAKMP Delete Payload (12:ISAKMP_NEXT_D) | next payload chain: saving location 'ISAKMP Delete Payload'.'next payload type' in 'delete msg' | emitting 4 raw bytes of delete payload into ISAKMP Delete Payload | delete payload d4 ad 4f ab | emitting length of ISAKMP Delete Payload: 16 | send delete HASH(1): | 9b 78 d3 c7 c1 39 3e 27 77 38 be c8 61 ee ef a3 | 25 55 ec 23 | no IKEv1 message padding required | emitting length of ISAKMP Message: 68 | sending 68 bytes for delete notify through eth1 from 192.1.2.23:500 to 192.1.3.209:500 (using #1) | 05 dc e0 d8 54 1e 45 50 71 0e 20 a1 13 82 ff b5 | 08 10 05 01 4d 20 7b b3 00 00 00 44 5a 71 55 54 | f8 10 6d 4a e9 08 4f 26 d6 00 be 66 09 d1 bb f7 | c5 a3 7c e3 d5 58 ca 22 49 f1 db fa df 81 f1 21 | d1 5a 28 bf | state #2 requesting EVENT_SA_REPLACE to be deleted | libevent_free: release ptr-libevent@0x7f2dcc001af8 | free_event_entry: release EVENT_SA_REPLACE-pe@0x557cf86d6608 | 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='modecfg-road-eastnet-psk' 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='16392' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.3.209' PLUTO_PEER_ID='@roadrandom' PLUTO_PEER_CLIENT='192.0.2.209/32' PLUTO_PEER_CLIENT_NET='192.0.2.209' PLUTO_PEER_CLIENT_MASK='255.255.255.255' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='1566844539' PLUTO_CONN_POLICY='PSK+ENCRYPT+TUNNEL+PFS+XAUTH+MODECFG_PULL+AGGRESSIVE+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND='CK_GOING_AWAY' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_USERNAME='use3' PLUTO_IS_PEER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_CFG_SERVER='1' PLUTO_CFG_CLIENT='0' PL | popen cmd is 1117 chars long | cmd( 0):PLUTO_VERB='down-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='modecfg-road-east: | cmd( 80):net-psk' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23: | cmd( 160):' PLUTO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.: | cmd( 240):2.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0: | cmd( 320):' PLUTO_SA_REQID='16392' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.3.209' PLUTO_PEER: | cmd( 400):_ID='@roadrandom' PLUTO_PEER_CLIENT='192.0.2.209/32' PLUTO_PEER_CLIENT_NET='192.: | cmd( 480):0.2.209' PLUTO_PEER_CLIENT_MASK='255.255.255.255' PLUTO_PEER_PORT='0' PLUTO_PEER: | cmd( 560):_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='1566844539' P: | cmd( 640):LUTO_CONN_POLICY='PSK+ENCRYPT+TUNNEL+PFS+XAUTH+MODECFG_PULL+AGGRESSIVE+IKEV1_ALL: | cmd( 720):OW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND='CK_GOING_AWAY' PLUTO_CONN: | cmd( 800):_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_USERNAME='use3' PLUTO_IS_PEER_CISCO='0' : | cmd( 880):PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_CFG_: | cmd( 960):SERVER='1' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' VTI_ROUTING: | cmd(1040):='no' VTI_SHARED='no' SPI_IN=0xd292ba44 SPI_OUT=0xd4ad4fab ipsec _updown 2>&1: | shunt_eroute() called for connection 'modecfg-road-eastnet-psk' to 'replace with shunt' for rt_kind 'prospective erouted' using protoports 0--0->-0 | netlink_shunt_eroute for proto 0, and source port 0 dest port 0 | priority calculation of connection "modecfg-road-eastnet-psk" is 0xfe7df | IPsec Sa SPD priority set to 1042399 | delete esp.d292ba44@192.1.3.209 | netlink response for Del SA esp.d292ba44@192.1.3.209 included non-error error | priority calculation of connection "modecfg-road-eastnet-psk" is 0xfe7df | delete inbound eroute 192.0.2.209/32:0 --0-> 192.0.2.0/24:0 => unk255.10000@192.1.2.23 (raw_eroute) | raw_eroute result=success | delete esp.d4ad4fab@192.1.2.23 | netlink response for Del SA esp.d4ad4fab@192.1.2.23 included non-error error | stop processing: connection "modecfg-road-eastnet-psk"[1] 192.1.3.209 (BACKGROUND) (in update_state_connection() at connections.c:4076) | start processing: connection NULL (in update_state_connection() at connections.c:4077) | in connection_discard for connection modecfg-road-eastnet-psk | State DB: deleting IKEv1 state #2 in QUICK_R2 | child state #2: QUICK_R2(established CHILD SA) => UNDEFINED(ignore) | stop processing: state #2 from 192.1.3.209:500 (in delete_state() at state.c:1143) | processing: STOP state #0 (in foreach_state_by_connection_func_delete() at state.c:1312) | state #1 | pass 1 | FOR_EACH_STATE_... in foreach_state_by_connection_func_delete | state #1 | start processing: state #1 connection "modecfg-road-eastnet-psk"[1] 192.1.3.209 from 192.1.3.209:500 (in foreach_state_by_connection_func_delete() at state.c:1310) | pstats #1 ikev1.isakmp deleted completed | [RE]START processing: state #1 connection "modecfg-road-eastnet-psk"[1] 192.1.3.209 from 192.1.3.209:500 (in delete_state() at state.c:879) "modecfg-road-eastnet-psk"[1] 192.1.3.209 #1: deleting state (STATE_MODE_CFG_R1) aged 5.072s and sending notification | parent state #1: MODE_CFG_R1(established IKE SA) => delete | #1 send IKEv1 delete notification for STATE_MODE_CFG_R1 | **emit ISAKMP Message: | initiator cookie: | 05 dc e0 d8 54 1e 45 50 | responder cookie: | 71 0e 20 a1 13 82 ff b5 | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: ISAKMP Version 1.0 (rfc2407) (0x10) | exchange type: ISAKMP_XCHG_INFO (0x5) | flags: ISAKMP_FLAG_v1_ENCRYPTION (0x1) | Message ID: 4236505051 (0xfc83efdb) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | ***emit ISAKMP Hash Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | next payload chain: setting previous 'ISAKMP Message'.'next payload type' to current ISAKMP Hash Payload (8:ISAKMP_NEXT_HASH) | next payload chain: saving location 'ISAKMP Hash Payload'.'next payload type' in 'delete msg' | emitting 20 zero bytes of HASH DATA into ISAKMP Hash Payload | emitting length of ISAKMP Hash Payload: 24 | ***emit ISAKMP Delete Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | DOI: ISAKMP_DOI_IPSEC (0x1) | protocol ID: 1 (0x1) | SPI size: 16 (0x10) | number of SPIs: 1 (0x1) | next payload chain: setting previous 'ISAKMP Hash Payload'.'next payload type' to current ISAKMP Delete Payload (12:ISAKMP_NEXT_D) | next payload chain: saving location 'ISAKMP Delete Payload'.'next payload type' in 'delete msg' | emitting 8 raw bytes of initiator SPI into ISAKMP Delete Payload | initiator SPI 05 dc e0 d8 54 1e 45 50 | emitting 8 raw bytes of responder SPI into ISAKMP Delete Payload | responder SPI 71 0e 20 a1 13 82 ff b5 | emitting length of ISAKMP Delete Payload: 28 | send delete HASH(1): | da d5 f7 da b3 a8 a7 3b 6a dd 5d 99 42 83 16 d4 | b3 8a 0a ce | emitting 4 zero bytes of encryption padding into ISAKMP Message | no IKEv1 message padding required | emitting length of ISAKMP Message: 84 | sending 84 bytes for delete notify through eth1 from 192.1.2.23:500 to 192.1.3.209:500 (using #1) | 05 dc e0 d8 54 1e 45 50 71 0e 20 a1 13 82 ff b5 | 08 10 05 01 fc 83 ef db 00 00 00 54 4b 1e cd 77 | 41 1b 5d a6 6e a6 e5 c3 00 8b 94 38 a5 45 e3 70 | fa 79 b1 16 dd cb 1f dd 2c fc 8d a1 99 15 39 38 | a9 b3 15 e8 01 5e f7 53 90 21 8e 17 04 92 38 5c | a4 93 00 6d | state #1 requesting EVENT_SA_REPLACE to be deleted | libevent_free: release ptr-libevent@0x557cf86d6d38 | free_event_entry: release EVENT_SA_REPLACE-pe@0x557cf86d7218 | State DB: IKEv1 state not found (flush_incomplete_children) | in connection_discard for connection modecfg-road-eastnet-psk | State DB: deleting IKEv1 state #1 in MODE_CFG_R1 | parent state #1: MODE_CFG_R1(established IKE SA) => UNDEFINED(ignore) | stop processing: state #1 from 192.1.3.209:500 (in delete_state() at state.c:1143) | processing: STOP state #0 (in foreach_state_by_connection_func_delete() at state.c:1312) | shunt_eroute() called for connection 'modecfg-road-eastnet-psk' to 'delete' for rt_kind 'unrouted' using protoports 0--0->-0 | netlink_shunt_eroute for proto 0, and source port 0 dest port 0 | priority calculation of connection "modecfg-road-eastnet-psk" is 0xfe7df | priority calculation of connection "modecfg-road-eastnet-psk" is 0xfe7df | FOR_EACH_CONNECTION_... in route_owner | conn modecfg-road-eastnet-psk mark 0/00000000, 0/00000000 vs | conn modecfg-road-eastnet-psk mark 0/00000000, 0/00000000 | conn modecfg-road-eastnet-psk mark 0/00000000, 0/00000000 vs | conn modecfg-road-eastnet-psk mark 0/00000000, 0/00000000 | route owner of "modecfg-road-eastnet-psk" 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='modecfg-road-eastnet-psk' 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='16392' PLUTO_SA_TYPE='none' PLUTO_PEER='192.1.3.209' PLUTO_PEER_ID='@roadrandom' PLUTO_PEER_CLIENT='192.0.2.209/32' PLUTO_PEER_CLIENT_NET='192.0.2.209' PLUTO_PEER_CLIENT_MASK='255.255.255.255' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='PSK+ENCRYPT+TUNNEL+PFS+XAUTH+MODECFG_PULL+AGGRESSIVE+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND='CK_GOING_AWAY' 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='1' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VT | popen cmd is 1076 chars long | cmd( 0):PLUTO_VERB='unroute-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='modecfg-road-e: | cmd( 80):astnet-psk' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2: | cmd( 160):.23' PLUTO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192: | cmd( 240):.0.2.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL: | cmd( 320):='0' PLUTO_SA_REQID='16392' PLUTO_SA_TYPE='none' PLUTO_PEER='192.1.3.209' PLUTO_: | cmd( 400):PEER_ID='@roadrandom' PLUTO_PEER_CLIENT='192.0.2.209/32' PLUTO_PEER_CLIENT_NET=': | cmd( 480):192.0.2.209' PLUTO_PEER_CLIENT_MASK='255.255.255.255' PLUTO_PEER_PORT='0' PLUTO_: | cmd( 560):PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_: | cmd( 640):CONN_POLICY='PSK+ENCRYPT+TUNNEL+PFS+XAUTH+MODECFG_PULL+AGGRESSIVE+IKEV1_ALLOW+SA: | cmd( 720):REF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND='CK_GOING_AWAY' PLUTO_CONN_ADDR: | cmd( 800):FAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUT: | cmd( 880):O_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_CFG_SERVER='1' PLUTO_CFG_CLIENT: | cmd( 960):='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' VTI_ROUTING='no' VTI_SHARED='no' SPI_I: | cmd(1040):N=0x0 SPI_OUT=0x0 ipsec _updown 2>&1: unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. | free hp@0x557cf86d3518 | flush revival: connection 'modecfg-road-eastnet-psk' wasn't on the list | processing: STOP connection NULL (in discard_connection() at connections.c:249) | start processing: connection "modecfg-road-eastnet-psk" (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 | free hp@0x557cf86d30a8 | flush revival: connection 'modecfg-road-eastnet-psk' wasn't on the list | stop processing: connection "modecfg-road-eastnet-psk" (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@0x557cf86c5f48 | free_event_entry: release EVENT_NULL-pe@0x557cf86d1d28 | libevent_free: release ptr-libevent@0x557cf865aaa8 | free_event_entry: release EVENT_NULL-pe@0x557cf86d1dd8 | libevent_free: release ptr-libevent@0x557cf865bf58 | free_event_entry: release EVENT_NULL-pe@0x557cf86d1e88 | libevent_free: release ptr-libevent@0x557cf8660d78 | free_event_entry: release EVENT_NULL-pe@0x557cf86d1f38 | libevent_free: release ptr-libevent@0x557cf8635b78 | free_event_entry: release EVENT_NULL-pe@0x557cf86d1fe8 | libevent_free: release ptr-libevent@0x557cf86301d8 | free_event_entry: release EVENT_NULL-pe@0x557cf86d2098 | FOR_EACH_UNORIENTED_CONNECTION_... in check_orientations | libevent_free: release ptr-libevent@0x557cf86c5ff8 | free_event_entry: release EVENT_NULL-pe@0x557cf86b9e68 | libevent_free: release ptr-libevent@0x557cf8659868 | free_event_entry: release EVENT_NULL-pe@0x557cf86b9df8 | libevent_free: release ptr-libevent@0x557cf869d6c8 | free_event_entry: release EVENT_NULL-pe@0x557cf86b92b8 | 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@0x557cf8660ca8 | signal event handler PLUTO_SIGCHLD uninstalled | libevent_free: release ptr-libevent@0x557cf86d1478 | signal event handler PLUTO_SIGTERM uninstalled | libevent_free: release ptr-libevent@0x557cf86d1588 | signal event handler PLUTO_SIGHUP uninstalled | libevent_free: release ptr-libevent@0x557cf86d17c8 | signal event handler PLUTO_SIGSYS uninstalled | releasing event base | libevent_free: release ptr-libevent@0x557cf86d1698 | libevent_free: release ptr-libevent@0x557cf86b4738 | libevent_free: release ptr-libevent@0x557cf86b46e8 | libevent_free: release ptr-libevent@0x7f2dcc001a48 | libevent_free: release ptr-libevent@0x557cf86b4638 | libevent_free: release ptr-libevent@0x557cf86d1248 | libevent_free: release ptr-libevent@0x557cf86d13f8 | libevent_free: release ptr-libevent@0x557cf86b48e8 | libevent_free: release ptr-libevent@0x557cf86b93c8 | libevent_free: release ptr-libevent@0x557cf86b9db8 | libevent_free: release ptr-libevent@0x557cf86d2108 | libevent_free: release ptr-libevent@0x557cf86d2058 | libevent_free: release ptr-libevent@0x557cf86d1fa8 | libevent_free: release ptr-libevent@0x557cf86d1ef8 | libevent_free: release ptr-libevent@0x557cf86d1e48 | libevent_free: release ptr-libevent@0x557cf86d1d98 | libevent_free: release ptr-libevent@0x557cf8657f58 | libevent_free: release ptr-libevent@0x557cf86d1548 | libevent_free: release ptr-libevent@0x557cf86d1438 | libevent_free: release ptr-libevent@0x557cf86d13b8 | libevent_free: release ptr-libevent@0x557cf86d1658 | libevent_free: release ptr-libevent@0x557cf86d1288 | libevent_free: release ptr-libevent@0x557cf862f908 | libevent_free: release ptr-libevent@0x557cf862fd38 | libevent_free: release ptr-libevent@0x557cf86582c8 | releasing global libevent data | libevent_free: release ptr-libevent@0x557cf8634f78 | libevent_free: release ptr-libevent@0x557cf862fcd8 | libevent_free: release ptr-libevent@0x557cf862fdd8 leak detective found no leaks