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:12736 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@0x5567ed768f98 size 40 | libevent_malloc: new ptr-libevent@0x5567ed768cd8 size 40 | libevent_malloc: new ptr-libevent@0x5567ed768dd8 size 40 | creating event base | libevent_malloc: new ptr-libevent@0x5567ed7ed888 size 56 | libevent_malloc: new ptr-libevent@0x5567ed791638 size 664 | libevent_malloc: new ptr-libevent@0x5567ed7ed8f8 size 24 | libevent_malloc: new ptr-libevent@0x5567ed7ed948 size 384 | libevent_malloc: new ptr-libevent@0x5567ed7ed848 size 16 | libevent_malloc: new ptr-libevent@0x5567ed768908 size 40 | libevent_malloc: new ptr-libevent@0x5567ed768d38 size 48 | libevent_realloc: new ptr-libevent@0x5567ed7912c8 size 256 | libevent_malloc: new ptr-libevent@0x5567ed7edaf8 size 16 | libevent_free: release ptr-libevent@0x5567ed7ed888 | libevent initialized | libevent_realloc: new ptr-libevent@0x5567ed7ed888 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 started thread for crypto helper 1 | status value returned by setting the priority of this thread (crypto helper 0) 22 | crypto helper 0 waiting (nothing to do) started thread for crypto helper 2 | starting up helper thread 1 | status value returned by setting the priority of this thread (crypto helper 1) 22 | crypto helper 1 waiting (nothing to do) | starting up helper thread 2 started thread for crypto helper 3 | status value returned by setting the priority of this thread (crypto helper 2) 22 | crypto helper 2 waiting (nothing to do) started thread for crypto helper 4 | starting up helper thread 3 started thread for crypto helper 5 | status value returned by setting the priority of this thread (crypto helper 3) 22 | crypto helper 3 waiting (nothing to do) | starting up helper thread 4 | status value returned by setting the priority of this thread (crypto helper 4) 22 | crypto helper 4 waiting (nothing to do) started thread for crypto helper 6 | starting up helper thread 5 | status value returned by setting the priority of this thread (crypto helper 5) 22 | crypto helper 5 waiting (nothing to do) | starting up helper thread 6 | status value returned by setting the priority of this thread (crypto helper 6) 22 | crypto helper 6 waiting (nothing to do) | checking IKEv1 state table | MAIN_R0: category: half-open IKE SA flags: 0: | -> MAIN_R1 EVENT_SO_DISCARD | MAIN_I1: category: half-open IKE SA flags: 0: | -> MAIN_I2 EVENT_RETRANSMIT | MAIN_R1: category: open IKE SA flags: 200: | -> MAIN_R2 EVENT_RETRANSMIT | -> UNDEFINED EVENT_RETRANSMIT | -> UNDEFINED EVENT_RETRANSMIT | MAIN_I2: category: open IKE SA flags: 0: | -> MAIN_I3 EVENT_RETRANSMIT | -> UNDEFINED EVENT_RETRANSMIT | -> UNDEFINED EVENT_RETRANSMIT | MAIN_R2: category: open IKE SA flags: 0: | -> MAIN_R3 EVENT_SA_REPLACE | -> MAIN_R3 EVENT_SA_REPLACE | -> UNDEFINED EVENT_SA_REPLACE | MAIN_I3: category: open IKE SA flags: 0: | -> MAIN_I4 EVENT_SA_REPLACE | -> MAIN_I4 EVENT_SA_REPLACE | -> UNDEFINED EVENT_SA_REPLACE | MAIN_R3: category: established IKE SA flags: 200: | -> UNDEFINED EVENT_NULL | MAIN_I4: category: established IKE SA flags: 0: | -> UNDEFINED EVENT_NULL | AGGR_R0: category: half-open IKE SA flags: 0: | -> AGGR_R1 EVENT_SO_DISCARD | AGGR_I1: category: half-open IKE SA flags: 0: | -> AGGR_I2 EVENT_SA_REPLACE | -> AGGR_I2 EVENT_SA_REPLACE | AGGR_R1: category: open IKE SA flags: 200: | -> AGGR_R2 EVENT_SA_REPLACE | -> AGGR_R2 EVENT_SA_REPLACE | AGGR_I2: category: established IKE SA flags: 200: | -> UNDEFINED EVENT_NULL | AGGR_R2: category: established IKE SA flags: 0: | -> UNDEFINED EVENT_NULL | QUICK_R0: category: established CHILD SA flags: 0: | -> QUICK_R1 EVENT_RETRANSMIT | QUICK_I1: category: established CHILD SA flags: 0: | -> QUICK_I2 EVENT_SA_REPLACE | QUICK_R1: category: established CHILD SA flags: 0: | -> QUICK_R2 EVENT_SA_REPLACE | QUICK_I2: category: established CHILD SA flags: 200: | -> UNDEFINED EVENT_NULL | QUICK_R2: category: established CHILD SA flags: 0: | -> UNDEFINED EVENT_NULL | INFO: category: informational flags: 0: | -> UNDEFINED EVENT_NULL | INFO_PROTECTED: category: informational flags: 0: | -> UNDEFINED EVENT_NULL | XAUTH_R0: category: established IKE SA flags: 0: | -> XAUTH_R1 EVENT_NULL | XAUTH_R1: category: established IKE SA flags: 0: | -> MAIN_R3 EVENT_SA_REPLACE | MODE_CFG_R0: category: informational flags: 0: | -> MODE_CFG_R1 EVENT_SA_REPLACE | MODE_CFG_R1: category: established IKE SA flags: 0: | -> MODE_CFG_R2 EVENT_SA_REPLACE | MODE_CFG_R2: category: established IKE SA flags: 0: | -> UNDEFINED EVENT_NULL | MODE_CFG_I1: category: established IKE SA flags: 0: | -> MAIN_I4 EVENT_SA_REPLACE | XAUTH_I0: category: established IKE SA flags: 0: | -> XAUTH_I1 EVENT_RETRANSMIT | XAUTH_I1: category: established IKE SA flags: 0: | -> MAIN_I4 EVENT_RETRANSMIT | checking IKEv2 state table | PARENT_I0: category: ignore flags: 0: | -> PARENT_I1 EVENT_RETRANSMIT send-request (initiate IKE_SA_INIT) | PARENT_I1: category: half-open IKE SA flags: 0: | -> PARENT_I1 EVENT_RETAIN send-request (Initiator: process SA_INIT reply notification) | -> PARENT_I2 EVENT_RETRANSMIT send-request (Initiator: process IKE_SA_INIT reply, initiate IKE_AUTH) | PARENT_I2: category: open IKE SA flags: 0: | -> PARENT_I2 EVENT_NULL (Initiator: process INVALID_SYNTAX AUTH notification) | -> PARENT_I2 EVENT_NULL (Initiator: process AUTHENTICATION_FAILED AUTH notification) | -> PARENT_I2 EVENT_NULL (Initiator: process UNSUPPORTED_CRITICAL_PAYLOAD AUTH notification) | -> V2_IPSEC_I EVENT_SA_REPLACE (Initiator: process IKE_AUTH response) | -> PARENT_I2 EVENT_NULL (IKE SA: process IKE_AUTH response containing unknown notification) | PARENT_I3: category: established IKE SA flags: 0: | -> PARENT_I3 EVENT_RETAIN (I3: Informational Request) | -> PARENT_I3 EVENT_RETAIN (I3: Informational Response) | -> PARENT_I3 EVENT_RETAIN (I3: INFORMATIONAL Request) | -> PARENT_I3 EVENT_RETAIN (I3: INFORMATIONAL Response) | PARENT_R0: category: half-open IKE SA flags: 0: | -> PARENT_R1 EVENT_SO_DISCARD send-request (Respond to IKE_SA_INIT) | PARENT_R1: category: half-open IKE SA flags: 0: | -> PARENT_R1 EVENT_SA_REPLACE send-request (Responder: process IKE_AUTH request (no SKEYSEED)) | -> V2_IPSEC_R EVENT_SA_REPLACE send-request (Responder: process IKE_AUTH request) | PARENT_R2: category: established IKE SA flags: 0: | -> PARENT_R2 EVENT_RETAIN (R2: process Informational Request) | -> PARENT_R2 EVENT_RETAIN (R2: process Informational Response) | -> PARENT_R2 EVENT_RETAIN (R2: process INFORMATIONAL Request) | -> PARENT_R2 EVENT_RETAIN (R2: process INFORMATIONAL Response) | V2_CREATE_I0: category: established IKE SA flags: 0: | -> V2_CREATE_I EVENT_RETRANSMIT send-request (Initiate CREATE_CHILD_SA IPsec SA) | V2_CREATE_I: category: established IKE SA flags: 0: | -> V2_IPSEC_I EVENT_SA_REPLACE (Process CREATE_CHILD_SA IPsec SA Response) | V2_REKEY_IKE_I0: category: established IKE SA flags: 0: | -> V2_REKEY_IKE_I EVENT_RETRANSMIT send-request (Initiate CREATE_CHILD_SA IKE Rekey) | V2_REKEY_IKE_I: category: established IKE SA flags: 0: | -> PARENT_I3 EVENT_SA_REPLACE (Process CREATE_CHILD_SA IKE Rekey Response) | V2_REKEY_CHILD_I0: category: established IKE SA flags: 0: | -> V2_REKEY_CHILD_I EVENT_RETRANSMIT send-request (Initiate CREATE_CHILD_SA IPsec Rekey SA) | V2_REKEY_CHILD_I: category: established IKE SA flags: 0: | V2_CREATE_R: category: established IKE SA flags: 0: | -> V2_IPSEC_R EVENT_SA_REPLACE send-request (Respond to CREATE_CHILD_SA IPsec SA Request) | V2_REKEY_IKE_R: category: established IKE SA flags: 0: | -> PARENT_R2 EVENT_SA_REPLACE send-request (Respond to CREATE_CHILD_SA IKE Rekey) | V2_REKEY_CHILD_R: category: established IKE SA flags: 0: | V2_IPSEC_I: category: established CHILD SA flags: 0: | V2_IPSEC_R: category: established CHILD SA flags: 0: | IKESA_DEL: category: established IKE SA flags: 0: | -> IKESA_DEL EVENT_RETAIN (IKE_SA_DEL: process INFORMATIONAL) | CHILDSA_DEL: category: informational flags: 0: Using Linux XFRM/NETKEY IPsec interface code on 5.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@0x5567ed7f24c8 | libevent_malloc: new ptr-libevent@0x5567ed7d6928 size 128 | libevent_malloc: new ptr-libevent@0x5567ed7f25d8 size 16 | add_fd_read_event_handler: new KERNEL_ROUTE_FD-pe@0x5567ed7f3008 | libevent_malloc: new ptr-libevent@0x5567ed7947e8 size 128 | libevent_malloc: new ptr-libevent@0x5567ed7f2fc8 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@0x5567ed7f3078 | libevent_malloc: new ptr-libevent@0x5567ed7ff208 size 128 | libevent_malloc: new ptr-libevent@0x5567ed80a458 size 16 | libevent_realloc: new ptr-libevent@0x5567ed80a498 size 256 | libevent_malloc: new ptr-libevent@0x5567ed80a5c8 size 8 | libevent_realloc: new ptr-libevent@0x5567ed764918 size 144 | libevent_malloc: new ptr-libevent@0x5567ed79db58 size 152 | libevent_malloc: new ptr-libevent@0x5567ed80a608 size 16 | signal event handler PLUTO_SIGCHLD installed | libevent_malloc: new ptr-libevent@0x5567ed80a648 size 8 | libevent_malloc: new ptr-libevent@0x5567ed7958f8 size 152 | signal event handler PLUTO_SIGTERM installed | libevent_malloc: new ptr-libevent@0x5567ed80a688 size 8 | libevent_malloc: new ptr-libevent@0x5567ed80a6c8 size 152 | signal event handler PLUTO_SIGHUP installed | libevent_malloc: new ptr-libevent@0x5567ed80a798 size 8 | libevent_realloc: release ptr-libevent@0x5567ed764918 | libevent_realloc: new ptr-libevent@0x5567ed80a7d8 size 256 | libevent_malloc: new ptr-libevent@0x5567ed80a908 size 152 | signal event handler PLUTO_SIGSYS installed | created addconn helper (pid:12839) using fork+execve | forked child 12839 | 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.1.254 | Inspecting interface eth1 | found eth1 with address 192.1.2.45 Kernel supports NIC esp-hw-offload adding interface eth1/eth1 (esp-hw-offload not supported by kernel) 192.1.2.45: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.45:4500 adding interface eth0/eth0 (esp-hw-offload not supported by kernel) 192.0.1.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.1.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@0x5567ed80ae68 | libevent_malloc: new ptr-libevent@0x5567ed7ff158 size 128 | libevent_malloc: new ptr-libevent@0x5567ed80aed8 size 16 | setup callback for interface lo 127.0.0.1:4500 fd 22 | add_fd_read_event_handler: new ethX-pe@0x5567ed80af18 | libevent_malloc: new ptr-libevent@0x5567ed791a28 size 128 | libevent_malloc: new ptr-libevent@0x5567ed80af88 size 16 | setup callback for interface lo 127.0.0.1:500 fd 21 | add_fd_read_event_handler: new ethX-pe@0x5567ed80afc8 | libevent_malloc: new ptr-libevent@0x5567ed794eb8 size 128 | libevent_malloc: new ptr-libevent@0x5567ed80b038 size 16 | setup callback for interface eth0 192.0.1.254:4500 fd 20 | add_fd_read_event_handler: new ethX-pe@0x5567ed80b078 | libevent_malloc: new ptr-libevent@0x5567ed795828 size 128 | libevent_malloc: new ptr-libevent@0x5567ed80b0e8 size 16 | setup callback for interface eth0 192.0.1.254:500 fd 19 | add_fd_read_event_handler: new ethX-pe@0x5567ed80b128 | libevent_malloc: new ptr-libevent@0x5567ed76eba8 size 128 | libevent_malloc: new ptr-libevent@0x5567ed80b198 size 16 | setup callback for interface eth1 192.1.2.45:4500 fd 18 | add_fd_read_event_handler: new ethX-pe@0x5567ed80b1d8 | libevent_malloc: new ptr-libevent@0x5567ed7691d8 size 128 | libevent_malloc: new ptr-libevent@0x5567ed80b248 size 16 | setup callback for interface eth1 192.1.2.45: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(0x5567ed764b58) PKK_PSK: @west | id type added to secret(0x5567ed764b58) PKK_PSK: @east | Processing PSK at line 1: passed | certs and keys locked by 'process_secret' | certs and keys unlocked by 'process_secret' | close_any(fd@16) (in whack_process() at rcv_whack.c:700) | spent 0.679 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.1.254 | Inspecting interface eth1 | found eth1 with address 192.1.2.45 | no interfaces to sort | libevent_free: release ptr-libevent@0x5567ed7ff158 | free_event_entry: release EVENT_NULL-pe@0x5567ed80ae68 | add_fd_read_event_handler: new ethX-pe@0x5567ed80ae68 | libevent_malloc: new ptr-libevent@0x5567ed7ff158 size 128 | setup callback for interface lo 127.0.0.1:4500 fd 22 | libevent_free: release ptr-libevent@0x5567ed791a28 | free_event_entry: release EVENT_NULL-pe@0x5567ed80af18 | add_fd_read_event_handler: new ethX-pe@0x5567ed80af18 | libevent_malloc: new ptr-libevent@0x5567ed791a28 size 128 | setup callback for interface lo 127.0.0.1:500 fd 21 | libevent_free: release ptr-libevent@0x5567ed794eb8 | free_event_entry: release EVENT_NULL-pe@0x5567ed80afc8 | add_fd_read_event_handler: new ethX-pe@0x5567ed80afc8 | libevent_malloc: new ptr-libevent@0x5567ed794eb8 size 128 | setup callback for interface eth0 192.0.1.254:4500 fd 20 | libevent_free: release ptr-libevent@0x5567ed795828 | free_event_entry: release EVENT_NULL-pe@0x5567ed80b078 | add_fd_read_event_handler: new ethX-pe@0x5567ed80b078 | libevent_malloc: new ptr-libevent@0x5567ed795828 size 128 | setup callback for interface eth0 192.0.1.254:500 fd 19 | libevent_free: release ptr-libevent@0x5567ed76eba8 | free_event_entry: release EVENT_NULL-pe@0x5567ed80b128 | add_fd_read_event_handler: new ethX-pe@0x5567ed80b128 | libevent_malloc: new ptr-libevent@0x5567ed76eba8 size 128 | setup callback for interface eth1 192.1.2.45:4500 fd 18 | libevent_free: release ptr-libevent@0x5567ed7691d8 | free_event_entry: release EVENT_NULL-pe@0x5567ed80b1d8 | add_fd_read_event_handler: new ethX-pe@0x5567ed80b1d8 | libevent_malloc: new ptr-libevent@0x5567ed7691d8 size 128 | setup callback for interface eth1 192.1.2.45: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(0x5567ed764b58) PKK_PSK: @west | id type added to secret(0x5567ed764b58) PKK_PSK: @east | Processing PSK at line 1: passed | certs and keys locked by 'process_secret' | certs and keys unlocked by 'process_secret' | close_any(fd@16) (in whack_process() at rcv_whack.c:700) | spent 0.356 milliseconds in whack | processing signal PLUTO_SIGCHLD | waitpid returned pid 12839 (exited with status 0) | reaped addconn helper child (status 0) | waitpid returned ECHILD (no child processes left) | spent 0.015 milliseconds in signal handler PLUTO_SIGCHLD | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:722) | old debugging base+cpu-usage + none | base debugging = base+cpu-usage | old impairing none + suppress-retransmits | base impairing = suppress-retransmits | close_any(fd@16) (in whack_process() at rcv_whack.c:700) | spent 0.0731 milliseconds in whack | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:722) | FOR_EACH_CONNECTION_... in conn_by_name | FOR_EACH_CONNECTION_... in foreach_connection_by_alias | FOR_EACH_CONNECTION_... in conn_by_name | FOR_EACH_CONNECTION_... in foreach_connection_by_alias | FOR_EACH_CONNECTION_... in conn_by_name | Added new connection ikev1-ike=aes128-sha1-dh19 with policy PSK+ENCRYPT+TUNNEL+PFS+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO | ike (phase1) algorithm values: AES_CBC_128-HMAC_SHA1-DH19 | counting wild cards for @west is 0 | counting wild cards for @east is 0 | connect_to_host_pair: 192.1.2.45:500 192.1.2.23:500 -> hp@(nil): none | new hp@0x5567ed80c168 added connection description "ikev1-ike=aes128-sha1-dh19" | ike_life: 3600s; ipsec_life: 28800s; rekey_margin: 540s; rekey_fuzz: 100%; keyingtries: 0; replay_window: 32; policy: PSK+ENCRYPT+TUNNEL+PFS+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO | 192.0.1.0/24===192.1.2.45<192.1.2.45>[@west]...192.1.2.23<192.1.2.23>[@east]===192.0.2.0/24 | close_any(fd@16) (in whack_process() at rcv_whack.c:700) | spent 0.102 milliseconds in whack | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:722) add keyid @west | add pubkey 01 03 a6 f5 d6 3f e3 8f 6c 01 6a fc 7b 7c 6d 57 | add pubkey 8b 49 39 0d 77 f7 ac e2 85 f1 98 1e 4b 6d a5 3e | add pubkey b3 96 9a d1 99 5a bc 10 f2 97 de f2 28 f9 5f 92 | add pubkey 09 f0 c8 d4 12 e4 60 6e 9c 60 98 10 01 7d 26 b7 | add pubkey 8f 95 62 2d 87 dd cd de f6 d3 8f 35 b0 50 d0 18 | add pubkey f5 99 f8 04 f1 ff 61 5b bc 7f 1f c0 04 d8 e4 8c | add pubkey ac 34 ad 7a c1 da 3c 2d 8c 30 ae d6 3c 59 b1 3a | add pubkey 94 d3 d5 2a 73 91 bd 59 5f 3e 72 bf 4a 1b 9d c5 | add pubkey b2 2b 4d e7 0d 24 3e 77 f9 7f 2d d6 9d 29 ef 70 | add pubkey 7d 7a 6d a2 b8 61 0c 4b 09 4a 06 71 84 70 85 9a | add pubkey 8f 52 a1 80 06 fd c6 fc 3e 27 fa 16 fa 32 83 a9 | add pubkey ca 80 db 0f 4a bf f7 e9 55 8e bd 29 4d 23 a6 dc | add pubkey 2a b3 5d 62 a9 21 1e be 83 d8 69 3c 03 0a 48 8e | add pubkey d3 3a 11 f2 86 5a d1 30 65 bd c8 f4 83 87 ff 04 | add pubkey 87 33 05 4f e0 d8 8c fe b3 19 4c dd 85 40 f3 4d | add pubkey 6e e8 49 14 06 2c 1f 59 59 05 8f 20 b0 ca 46 3f | add pubkey c9 20 7e 04 30 7d 9a 80 6c 3f 0a 89 f7 d3 af d8 | add pubkey 15 04 37 f9 | computed rsa CKAID b4 9f 1a ac 9e 45 6e 79 29 c8 81 97 3a 0c 6a d3 | computed rsa CKAID 7f 0f 03 50 | close_any(fd@16) (in whack_process() at rcv_whack.c:700) | spent 0.0769 milliseconds in whack | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:722) add keyid @east | add pubkey 01 03 bd 6c 96 eb df 78 89 b3 ed 77 0d a1 7f 7b | add pubkey e5 16 c2 c9 e4 7d 92 0a 90 9d 55 43 b4 62 13 03 | add pubkey 85 7a e0 26 7b 54 1f ca 09 93 cf ff 25 c9 02 4c | add pubkey 78 ca 94 e5 3e ac d1 f9 a8 e5 bb 7f cc 20 84 e0 | add pubkey 21 c9 f0 0d c5 44 ba f3 48 64 61 58 f6 0f 63 0d | add pubkey d2 67 1e 59 8b ec f3 50 39 71 fb 39 da 11 64 b6 | add pubkey 62 cd 5f d3 8d 2e c1 50 ed 9c 6e 22 0c 39 a7 ce | add pubkey 62 b5 af 8a 80 0f 2e 4c 05 5c 82 c7 8d 29 02 2e | add pubkey bb 23 5f db f2 9e b5 7d e2 20 70 1a 63 f3 8e 5d | add pubkey ac 47 f0 5c 26 4e b1 d0 42 60 52 4a b0 77 25 ce | add pubkey e0 98 2b 43 f4 c7 59 1a 64 01 83 ea 4e e3 1a 2a | add pubkey 92 b8 55 ab 63 dd 4b 70 47 29 dc e9 b4 60 bf 43 | add pubkey 4d 58 8f 64 73 95 70 ac 35 89 b2 c2 9c d4 62 c0 | add pubkey 5f 56 5f ad 1b e5 dd 49 93 6a f5 23 82 ed d4 e7 | add pubkey d5 f1 55 f2 2d a2 26 a6 36 53 2f 94 fb 99 22 5c | add pubkey 47 cc 6d 80 30 88 96 38 0c f5 f2 ed 37 d0 09 d5 | add pubkey 07 8f 69 ef a9 99 ce 4d 1a 77 9e 39 c4 38 f3 c5 | add pubkey 51 51 48 ef | computed rsa CKAID 61 55 99 73 d3 ac ef 7d 3a 37 0e 3e 82 ad 92 c1 | computed rsa CKAID 8a 82 25 f1 | close_any(fd@16) (in whack_process() at rcv_whack.c:700) | spent 0.0539 milliseconds in whack | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:722) | dup_any(fd@16) -> fd@23 (in whack_process() at rcv_whack.c:590) | FOR_EACH_CONNECTION_... in conn_by_name | start processing: connection "ikev1-ike=aes128-sha1-dh19" (in initiate_a_connection() at initiate.c:186) | empty esp_info, returning defaults for ENCRYPT | connection 'ikev1-ike=aes128-sha1-dh19' +POLICY_UP | dup_any(fd@23) -> fd@24 (in initiate_a_connection() at initiate.c:342) | FOR_EACH_STATE_... in find_phase1_state | creating state object #1 at 0x5567ed80cb58 | State DB: adding IKEv1 state #1 in UNDEFINED | pstats #1 ikev1.isakmp started | suspend processing: connection "ikev1-ike=aes128-sha1-dh19" (in main_outI1() at ikev1_main.c:118) | start processing: state #1 connection "ikev1-ike=aes128-sha1-dh19" from 192.1.2.23 (in main_outI1() at ikev1_main.c:118) | parent state #1: UNDEFINED(ignore) => MAIN_I1(half-open IKE SA) | dup_any(fd@24) -> fd@25 (in main_outI1() at ikev1_main.c:123) | Queuing pending IPsec SA negotiating with 192.1.2.23 "ikev1-ike=aes128-sha1-dh19" IKE SA #1 "ikev1-ike=aes128-sha1-dh19" "ikev1-ike=aes128-sha1-dh19" #1: initiating Main Mode | **emit ISAKMP Message: | initiator cookie: | 7c 23 40 cb 89 f1 23 94 | 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_IDPROT (0x2) | 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 | oakley_alg_makedb() processing ealg=aes=7 halg=sha=2 modp=DH19=19 eklen=128 | oakley_alg_makedb() returning 0x5567ed80c9f8 | ***emit ISAKMP Security Association Payload: | next payload type: ISAKMP_NEXT_VID (0xd) | DOI: ISAKMP_DOI_IPSEC (0x1) | next payload chain: ignoring supplied 'ISAKMP Security Association Payload'.'next payload type' value 13:ISAKMP_NEXT_VID | 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' | ****emit IPsec DOI SIT: | IPsec DOI SIT: SIT_IDENTITY_ONLY (0x1) | ikev1_out_sa pcn: 0 has 1 valid proposals | ikev1_out_sa pcn: 0 pn: 0<1 valid_count: 1 trans_cnt: 1 | ****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' | ******emit ISAKMP Oakley attribute: | af+type: AF+OAKLEY_LIFE_TYPE (0x800b) | length/value: 1 (0x1) | [1 is OAKLEY_LIFE_SECONDS] | ******emit ISAKMP Oakley attribute: | af+type: AF+OAKLEY_LIFE_DURATION (variable length) (0x800c) | length/value: 3600 (0xe10) | ******emit ISAKMP Oakley attribute: | af+type: AF+OAKLEY_ENCRYPTION_ALGORITHM (0x8001) | length/value: 7 (0x7) | [7 is OAKLEY_AES_CBC] | ******emit ISAKMP Oakley attribute: | af+type: AF+OAKLEY_HASH_ALGORITHM (0x8002) | length/value: 2 (0x2) | [2 is OAKLEY_SHA1] | ******emit ISAKMP Oakley attribute: | af+type: AF+OAKLEY_AUTHENTICATION_METHOD (0x8003) | length/value: 1 (0x1) | [1 is OAKLEY_PRESHARED_KEY] | ******emit ISAKMP Oakley attribute: | af+type: AF+OAKLEY_GROUP_DESCRIPTION (0x8004) | length/value: 19 (0x13) | [19 is OAKLEY_GROUP_ECP_256] | ******emit ISAKMP Oakley attribute: | af+type: AF+OAKLEY_KEY_LENGTH (0x800e) | length/value: 128 (0x80) | emitting length of ISAKMP Transform Payload (ISAKMP): 36 | emitting length of ISAKMP Proposal Payload: 44 | last substructure: checking 'ISAKMP Proposal Payload'.'ISAKMP Transform Payload (ISAKMP)'.'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 | 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 Security Association 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 [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 | nat add vid | sending draft and RFC NATT VIDs | out_vid(): sending [RFC 3947] | ***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 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 | skipping VID_NATT_RFC | out_vid(): sending [draft-ietf-ipsec-nat-t-ike-03] | ***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 16 raw bytes of V_ID into ISAKMP Vendor ID Payload | V_ID 7d 94 19 a6 53 10 ca 6f 2c 17 9d 92 15 52 9d 56 | emitting length of ISAKMP Vendor ID Payload: 20 | out_vid(): sending [draft-ietf-ipsec-nat-t-ike-02_n] | ***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 16 raw bytes of V_ID into ISAKMP Vendor ID Payload | V_ID 90 cb 80 91 3e bb 69 6e 08 63 81 b5 ec 42 7b 1f | emitting length of ISAKMP Vendor ID Payload: 20 | out_vid(): sending [draft-ietf-ipsec-nat-t-ike-02] | ***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 cd 60 46 43 35 df 21 f8 7c fd b2 fc 68 b6 a4 48 | emitting length of ISAKMP Vendor ID Payload: 20 | no IKEv1 message padding required | emitting length of ISAKMP Message: 204 | sending 204 bytes for reply packet for main_outI1 through eth1 from 192.1.2.45:500 to 192.1.2.23:500 (using #1) | 7c 23 40 cb 89 f1 23 94 00 00 00 00 00 00 00 00 | 01 10 02 00 00 00 00 00 00 00 00 cc 0d 00 00 38 | 00 00 00 01 00 00 00 01 00 00 00 2c 00 01 00 01 | 00 00 00 24 00 01 00 00 80 0b 00 01 80 0c 0e 10 | 80 01 00 07 80 02 00 02 80 03 00 01 80 04 00 13 | 80 0e 00 80 0d 00 00 14 40 48 b7 d5 6e bc e8 85 | 25 e7 de 7f 00 d6 c2 d3 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 "ikev1-ike=aes128-sha1-dh19" #1: IMPAIR: suppressing retransmits; scheduling timeout in 60 seconds | event_schedule: new EVENT_RETRANSMIT-pe@0x5567ed80d698 | inserting event EVENT_RETRANSMIT, timeout in 60 seconds for #1 | libevent_malloc: new ptr-libevent@0x5567ed80c768 size 128 | #1 STATE_MAIN_I1: retransmits: first event in 60 seconds; timeout in 60 seconds; limit of 12 retransmits; current time is 10399.473515 | #1 spent 0.366 milliseconds in main_outI1() | stop processing: state #1 connection "ikev1-ike=aes128-sha1-dh19" from 192.1.2.23 (in main_outI1() at ikev1_main.c:228) | resume processing: connection "ikev1-ike=aes128-sha1-dh19" (in main_outI1() at ikev1_main.c:228) | stop processing: connection "ikev1-ike=aes128-sha1-dh19" (in initiate_a_connection() at initiate.c:349) | close_any(fd@23) (in initiate_connection() at initiate.c:372) | close_any(fd@16) (in whack_process() at rcv_whack.c:700) | spent 0.43 milliseconds in whack | spent 0.00222 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 144 bytes from 192.1.2.23:500 on eth1 (192.1.2.45:500) | 7c 23 40 cb 89 f1 23 94 d9 44 fa c4 7c 53 fa 3e | 01 10 02 00 00 00 00 00 00 00 00 90 0d 00 00 38 | 00 00 00 01 00 00 00 01 00 00 00 2c 00 01 00 01 | 00 00 00 24 00 01 00 00 80 0b 00 01 80 0c 0e 10 | 80 01 00 07 80 02 00 02 80 03 00 01 80 04 00 13 | 80 0e 00 80 0d 00 00 14 40 48 b7 d5 6e bc e8 85 | 25 e7 de 7f 00 d6 c2 d3 0d 00 00 14 af ca d7 13 | 68 a1 f1 c9 6b 86 96 fc 77 57 01 00 00 00 00 14 | 4a 13 1c 81 07 03 58 45 5c 57 28 f2 0e 95 45 2f | start processing: from 192.1.2.23:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 7c 23 40 cb 89 f1 23 94 | responder cookie: | d9 44 fa c4 7c 53 fa 3e | next payload type: ISAKMP_NEXT_SA (0x1) | ISAKMP version: ISAKMP Version 1.0 (rfc2407) (0x10) | exchange type: ISAKMP_XCHG_IDPROT (0x2) | flags: none (0x0) | Message ID: 0 (0x0) | length: 144 (0x90) | processing version=1.0 packet with exchange type=ISAKMP_XCHG_IDPROT (2) | State DB: IKEv1 state not found (find_state_ikev1) | State DB: found IKEv1 state #1 in MAIN_I1 (find_state_ikev1_init) | start processing: state #1 connection "ikev1-ike=aes128-sha1-dh19" from 192.1.2.23 (in process_v1_packet() at ikev1.c:1459) | #1 is idle | #1 idle | got payload 0x2 (ISAKMP_NEXT_SA) needed: 0x2 opt: 0x2080 | ***parse ISAKMP Security Association Payload: | next payload type: ISAKMP_NEXT_VID (0xd) | length: 56 (0x38) | DOI: ISAKMP_DOI_IPSEC (0x1) | got payload 0x2000 (ISAKMP_NEXT_VID) needed: 0x0 opt: 0x2080 | ***parse ISAKMP Vendor ID Payload: | next payload type: ISAKMP_NEXT_VID (0xd) | length: 20 (0x14) | got payload 0x2000 (ISAKMP_NEXT_VID) needed: 0x0 opt: 0x2080 | ***parse ISAKMP Vendor ID Payload: | next payload type: ISAKMP_NEXT_VID (0xd) | length: 20 (0x14) | got payload 0x2000 (ISAKMP_NEXT_VID) needed: 0x0 opt: 0x2080 | ***parse ISAKMP Vendor ID Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | length: 20 (0x14) | message 'main_inR1_outI2' HASH payload not checked early | received Vendor ID payload [FRAGMENTATION] | received Vendor ID payload [Dead Peer Detection] | quirks.qnat_traversal_vid set to=117 [RFC 3947] | received Vendor ID payload [RFC 3947] | ****parse IPsec DOI SIT: | IPsec DOI SIT: SIT_IDENTITY_ONLY (0x1) | ****parse ISAKMP Proposal Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | length: 44 (0x2c) | 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: 36 (0x24) | 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: 7 (0x7) | [7 is OAKLEY_AES_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: 1 (0x1) | [1 is OAKLEY_PRESHARED_KEY] | started looking for secret for @west->@east of kind PKK_PSK | actually looking for secret for @west->@east of kind PKK_PSK | line 1: key type PKK_PSK(@west) to type PKK_PSK | 1: compared key @east to @west / @east -> 004 | 2: compared key @west to @west / @east -> 014 | line 1: match=014 | match 014 beats previous best_match 000 match=0x5567ed764b58 (line=1) | concluding with best_match=014 best=0x5567ed764b58 (lineno=1) | ******parse ISAKMP Oakley attribute: | af+type: AF+OAKLEY_GROUP_DESCRIPTION (0x8004) | length/value: 19 (0x13) | [19 is OAKLEY_GROUP_ECP_256] | ******parse ISAKMP Oakley attribute: | af+type: AF+OAKLEY_KEY_LENGTH (0x800e) | length/value: 128 (0x80) | OAKLEY proposal verified; matching alg_info found | Oakley Transform 0 accepted | 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) | adding outI2 KE work-order 1 for state #1 | state #1 requesting EVENT_RETRANSMIT to be deleted | #1 STATE_MAIN_I1: retransmits: cleared | libevent_free: release ptr-libevent@0x5567ed80c768 | free_event_entry: release EVENT_RETRANSMIT-pe@0x5567ed80d698 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x5567ed80d698 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #1 | libevent_malloc: new ptr-libevent@0x5567ed80c768 size 128 | complete v1 state transition with STF_SUSPEND | [RE]START processing: state #1 connection "ikev1-ike=aes128-sha1-dh19" from 192.1.2.23 (in complete_v1_state_transition() at ikev1.c:2648) | suspending state #1 and saving MD | #1 is busy; has a suspended MD | crypto helper 0 resuming | #1 spent 0.103 milliseconds in process_packet_tail() | crypto helper 0 starting work-order 1 for state #1 | stop processing: from 192.1.2.23:500 (BACKGROUND) (in process_md() at demux.c:380) | crypto helper 0 doing build KE and nonce (outI2 KE); request ID 1 | stop processing: state #1 connection "ikev1-ike=aes128-sha1-dh19" from 192.1.2.23 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.211 milliseconds in comm_handle_cb() reading and processing packet | crypto helper 0 finished build KE and nonce (outI2 KE); request ID 1 time elapsed 0.000694 seconds | (#1) spent 0.698 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@0x7f7610001358 size 128 | crypto helper 0 waiting (nothing to do) | processing resume sending helper answer for #1 | start processing: state #1 connection "ikev1-ike=aes128-sha1-dh19" from 192.1.2.23 (in resume_handler() at server.c:797) | crypto helper 0 replies to request ID 1 | calling continuation function 0x5567ec0bcb50 | main_inR1_outI2_continue for #1: calculated ke+nonce, sending I2 | **emit ISAKMP Message: | initiator cookie: | 7c 23 40 cb 89 f1 23 94 | responder cookie: | d9 44 fa c4 7c 53 fa 3e | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: ISAKMP Version 1.0 (rfc2407) (0x10) | exchange type: ISAKMP_XCHG_IDPROT (0x2) | flags: none (0x0) | Message ID: 0 (0x0) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | ***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 Message'.'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 64 raw bytes of keyex value into ISAKMP Key Exchange Payload | keyex value 99 90 da 75 67 a0 35 88 d2 49 c2 83 98 19 09 cc | keyex value da b2 77 3b 5c f6 55 ef 5a c2 54 5d 26 13 63 c6 | keyex value 77 ee dc 38 c2 58 a6 19 cd 3b 6b 6c a1 a8 83 5f | keyex value 9f 97 75 9d 29 03 7b 7b 86 3d 96 33 a6 34 cb a4 | emitting length of ISAKMP Key Exchange Payload: 68 | ***emit ISAKMP Nonce Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | 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 Ni into ISAKMP Nonce Payload | Ni 69 3a 66 7f da 7c 40 be e2 4d 98 00 1c 6e 40 43 | Ni ea 22 65 b7 f9 82 9c 30 88 f7 9a 05 fc 2f 78 a6 | emitting length of ISAKMP Nonce Payload: 36 | NAT-T checking st_nat_traversal | NAT-T found (implies NAT_T_WITH_NATD) | sending NAT-D payloads | natd_hash: hasher=0x5567ec191800(20) | natd_hash: icookie= 7c 23 40 cb 89 f1 23 94 | natd_hash: rcookie= d9 44 fa c4 7c 53 fa 3e | natd_hash: ip= c0 01 02 17 | natd_hash: port=500 | natd_hash: hash= c3 22 1f f3 30 97 3a 62 42 d7 44 9a f6 ef 64 6d | natd_hash: hash= 3f 05 9f 69 | ***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 Nonce 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 c3 22 1f f3 30 97 3a 62 42 d7 44 9a f6 ef 64 6d | NAT-D 3f 05 9f 69 | emitting length of ISAKMP NAT-D Payload: 24 | natd_hash: hasher=0x5567ec191800(20) | natd_hash: icookie= 7c 23 40 cb 89 f1 23 94 | natd_hash: rcookie= d9 44 fa c4 7c 53 fa 3e | natd_hash: ip= c0 01 02 2d | natd_hash: port=500 | natd_hash: hash= 41 b6 1b 61 bb 50 f9 37 03 05 50 f4 0e 11 48 c1 | natd_hash: hash= d6 94 fb 8a | ***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 41 b6 1b 61 bb 50 f9 37 03 05 50 f4 0e 11 48 c1 | NAT-D d6 94 fb 8a | emitting length of ISAKMP NAT-D Payload: 24 | no IKEv1 message padding required | emitting length of ISAKMP Message: 180 | State DB: re-hashing IKEv1 state #1 IKE SPIi and SPI[ir] | complete v1 state transition with STF_OK | [RE]START processing: state #1 connection "ikev1-ike=aes128-sha1-dh19" from 192.1.2.23 (in complete_v1_state_transition() at ikev1.c:2673) | #1 is idle | doing_xauth:no, t_xauth_client_done:no | peer supports fragmentation | peer supports DPD | IKEv1: transition from state STATE_MAIN_I1 to state STATE_MAIN_I2 | parent state #1: MAIN_I1(half-open IKE SA) => MAIN_I2(open IKE SA) | event_already_set, deleting event | state #1 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x5567ed80c768 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x5567ed80d698 | sending reply packet to 192.1.2.23:500 (from 192.1.2.45:500) | sending 180 bytes for STATE_MAIN_I1 through eth1 from 192.1.2.45:500 to 192.1.2.23:500 (using #1) | 7c 23 40 cb 89 f1 23 94 d9 44 fa c4 7c 53 fa 3e | 04 10 02 00 00 00 00 00 00 00 00 b4 0a 00 00 44 | 99 90 da 75 67 a0 35 88 d2 49 c2 83 98 19 09 cc | da b2 77 3b 5c f6 55 ef 5a c2 54 5d 26 13 63 c6 | 77 ee dc 38 c2 58 a6 19 cd 3b 6b 6c a1 a8 83 5f | 9f 97 75 9d 29 03 7b 7b 86 3d 96 33 a6 34 cb a4 | 14 00 00 24 69 3a 66 7f da 7c 40 be e2 4d 98 00 | 1c 6e 40 43 ea 22 65 b7 f9 82 9c 30 88 f7 9a 05 | fc 2f 78 a6 14 00 00 18 c3 22 1f f3 30 97 3a 62 | 42 d7 44 9a f6 ef 64 6d 3f 05 9f 69 00 00 00 18 | 41 b6 1b 61 bb 50 f9 37 03 05 50 f4 0e 11 48 c1 | d6 94 fb 8a | !event_already_set at reschedule "ikev1-ike=aes128-sha1-dh19" #1: IMPAIR: suppressing retransmits; scheduling timeout in 60 seconds | event_schedule: new EVENT_RETRANSMIT-pe@0x5567ed80d698 | inserting event EVENT_RETRANSMIT, timeout in 60 seconds for #1 | libevent_malloc: new ptr-libevent@0x5567ed80f968 size 128 | #1 STATE_MAIN_I2: retransmits: first event in 60 seconds; timeout in 60 seconds; limit of 12 retransmits; current time is 10399.475105 "ikev1-ike=aes128-sha1-dh19" #1: STATE_MAIN_I2: sent MI2, expecting MR2 | modecfg pull: noquirk policy:push 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.189 milliseconds in resume sending helper answer | stop processing: state #1 connection "ikev1-ike=aes128-sha1-dh19" from 192.1.2.23 (in resume_handler() at server.c:833) | libevent_free: release ptr-libevent@0x7f7610001358 | spent 0.00269 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 180 bytes from 192.1.2.23:500 on eth1 (192.1.2.45:500) | 7c 23 40 cb 89 f1 23 94 d9 44 fa c4 7c 53 fa 3e | 04 10 02 00 00 00 00 00 00 00 00 b4 0a 00 00 44 | ff 5f 2e 61 e6 c5 54 35 d1 7f 42 99 81 97 cd 84 | e7 2d d6 64 47 3c 29 27 d5 9f 2f 3f df 20 7c 54 | c0 c1 fc 2e 8f bb b6 1e 5c 8e 2f 1b 88 db de 91 | 18 69 fa c6 c3 12 5e 61 90 e7 f9 f4 70 54 e0 be | 14 00 00 24 91 7b 5f b8 76 c6 bc 1a 18 8f f3 82 | 5a 32 76 57 6d f8 39 24 b4 30 c7 b4 32 7f 9b c8 | 92 4e ae f6 14 00 00 18 41 b6 1b 61 bb 50 f9 37 | 03 05 50 f4 0e 11 48 c1 d6 94 fb 8a 00 00 00 18 | c3 22 1f f3 30 97 3a 62 42 d7 44 9a f6 ef 64 6d | 3f 05 9f 69 | start processing: from 192.1.2.23:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 7c 23 40 cb 89 f1 23 94 | responder cookie: | d9 44 fa c4 7c 53 fa 3e | next payload type: ISAKMP_NEXT_KE (0x4) | ISAKMP version: ISAKMP Version 1.0 (rfc2407) (0x10) | exchange type: ISAKMP_XCHG_IDPROT (0x2) | flags: none (0x0) | Message ID: 0 (0x0) | length: 180 (0xb4) | processing version=1.0 packet with exchange type=ISAKMP_XCHG_IDPROT (2) | State DB: found IKEv1 state #1 in MAIN_I2 (find_state_ikev1) | start processing: state #1 connection "ikev1-ike=aes128-sha1-dh19" from 192.1.2.23 (in process_v1_packet() at ikev1.c:1459) | #1 is idle | #1 idle | got payload 0x10 (ISAKMP_NEXT_KE) needed: 0x410 opt: 0x102080 | ***parse ISAKMP Key Exchange Payload: | next payload type: ISAKMP_NEXT_NONCE (0xa) | length: 68 (0x44) | got payload 0x400 (ISAKMP_NEXT_NONCE) needed: 0x400 opt: 0x102080 | ***parse ISAKMP Nonce Payload: | next payload type: ISAKMP_NEXT_NATD_RFC (0x14) | length: 36 (0x24) | got payload 0x100000 (ISAKMP_NEXT_NATD_RFC) needed: 0x0 opt: 0x102080 | ***parse ISAKMP NAT-D Payload: | next payload type: ISAKMP_NEXT_NATD_RFC (0x14) | length: 24 (0x18) | got payload 0x100000 (ISAKMP_NEXT_NATD_RFC) needed: 0x0 opt: 0x102080 | ***parse ISAKMP NAT-D Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | length: 24 (0x18) | message 'main_inR2_outI3' HASH payload not checked early | started looking for secret for @west->@east of kind PKK_PSK | actually looking for secret for @west->@east of kind PKK_PSK | line 1: key type PKK_PSK(@west) to type PKK_PSK | 1: compared key @east to @west / @east -> 004 | 2: compared key @west to @west / @east -> 014 | line 1: match=014 | match 014 beats previous best_match 000 match=0x5567ed764b58 (line=1) | concluding with best_match=014 best=0x5567ed764b58 (lineno=1) | adding aggr outR1 DH work-order 2 for state #1 | state #1 requesting EVENT_RETRANSMIT to be deleted | #1 STATE_MAIN_I2: retransmits: cleared | libevent_free: release ptr-libevent@0x5567ed80f968 | free_event_entry: release EVENT_RETRANSMIT-pe@0x5567ed80d698 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x5567ed80d698 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #1 | libevent_malloc: new ptr-libevent@0x7f7610001358 size 128 | complete v1 state transition with STF_SUSPEND | [RE]START processing: state #1 connection "ikev1-ike=aes128-sha1-dh19" from 192.1.2.23 (in complete_v1_state_transition() at ikev1.c:2648) | suspending state #1 and saving MD | #1 is busy; has a suspended MD | crypto helper 1 resuming | crypto helper 1 starting work-order 2 for state #1 | crypto helper 1 doing compute dh+iv (V1 Phase 1) (aggr outR1 DH); request ID 2 | #1 spent 0.0678 milliseconds in process_packet_tail() | stop processing: from 192.1.2.23:500 (BACKGROUND) (in process_md() at demux.c:380) | stop processing: state #1 connection "ikev1-ike=aes128-sha1-dh19" from 192.1.2.23 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.2 milliseconds in comm_handle_cb() reading and processing packet | crypto helper 1 finished compute dh+iv (V1 Phase 1) (aggr outR1 DH); request ID 2 time elapsed 0.001267 seconds | (#1) spent 1.27 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@0x7f7608002158 size 128 | crypto helper 1 waiting (nothing to do) | processing resume sending helper answer for #1 | start processing: state #1 connection "ikev1-ike=aes128-sha1-dh19" from 192.1.2.23 (in resume_handler() at server.c:797) | crypto helper 1 replies to request ID 2 | calling continuation function 0x5567ec0bcb50 | main_inR2_outI3_cryptotail for #1: calculated DH, sending R1 | **emit ISAKMP Message: | initiator cookie: | 7c 23 40 cb 89 f1 23 94 | responder cookie: | d9 44 fa c4 7c 53 fa 3e | next payload type: ISAKMP_NEXT_ID (0x5) | ISAKMP version: ISAKMP Version 1.0 (rfc2407) (0x10) | exchange type: ISAKMP_XCHG_IDPROT (0x2) | flags: ISAKMP_FLAG_v1_ENCRYPTION (0x1) | 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 5:ISAKMP_NEXT_ID | 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 | I will NOT send an initial contact payload | init checking NAT-T: enabled; RFC 3947 (NAT-Traversal) | natd_hash: hasher=0x5567ec191800(20) | natd_hash: icookie= 7c 23 40 cb 89 f1 23 94 | natd_hash: rcookie= d9 44 fa c4 7c 53 fa 3e | natd_hash: ip= c0 01 02 2d | natd_hash: port=500 | natd_hash: hash= 41 b6 1b 61 bb 50 f9 37 03 05 50 f4 0e 11 48 c1 | natd_hash: hash= d6 94 fb 8a | natd_hash: hasher=0x5567ec191800(20) | natd_hash: icookie= 7c 23 40 cb 89 f1 23 94 | natd_hash: rcookie= d9 44 fa c4 7c 53 fa 3e | natd_hash: ip= c0 01 02 17 | natd_hash: port=500 | natd_hash: hash= c3 22 1f f3 30 97 3a 62 42 d7 44 9a f6 ef 64 6d | natd_hash: hash= 3f 05 9f 69 | expected NAT-D(me): 41 b6 1b 61 bb 50 f9 37 03 05 50 f4 0e 11 48 c1 | expected NAT-D(me): d6 94 fb 8a | expected NAT-D(him): | c3 22 1f f3 30 97 3a 62 42 d7 44 9a f6 ef 64 6d | 3f 05 9f 69 | received NAT-D: 41 b6 1b 61 bb 50 f9 37 03 05 50 f4 0e 11 48 c1 | received NAT-D: d6 94 fb 8a | received NAT-D: c3 22 1f f3 30 97 3a 62 42 d7 44 9a f6 ef 64 6d | received NAT-D: 3f 05 9f 69 | NAT_TRAVERSAL encaps using auto-detect | NAT_TRAVERSAL this end is NOT behind NAT | NAT_TRAVERSAL that end is NOT behind NAT | NAT_TRAVERSAL nat-keepalive enabled 192.1.2.23 | 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 | ***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 Message'.'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 77 65 73 74 | emitting length of ISAKMP Identification Payload (IPsec DOI): 12 | ***emit ISAKMP Hash Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | 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_I into ISAKMP Hash Payload | HASH_I b7 ee 55 44 e2 e7 cd 05 81 74 c5 cd 53 27 23 36 | HASH_I 44 d3 ed c1 | emitting length of ISAKMP Hash Payload: 24 | Not sending INITIAL_CONTACT | emitting 12 zero bytes of encryption padding into ISAKMP Message | no IKEv1 message padding required | emitting length of ISAKMP Message: 76 | complete v1 state transition with STF_OK | [RE]START processing: state #1 connection "ikev1-ike=aes128-sha1-dh19" from 192.1.2.23 (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_MAIN_I2 to state STATE_MAIN_I3 | parent state #1: MAIN_I2(open IKE SA) => MAIN_I3(open IKE SA) | event_already_set, deleting event | state #1 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x7f7610001358 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x5567ed80d698 | sending reply packet to 192.1.2.23:500 (from 192.1.2.45:500) | sending 76 bytes for STATE_MAIN_I2 through eth1 from 192.1.2.45:500 to 192.1.2.23:500 (using #1) | 7c 23 40 cb 89 f1 23 94 d9 44 fa c4 7c 53 fa 3e | 05 10 02 01 00 00 00 00 00 00 00 4c 3f 1b 6c d5 | ea ae 21 bb f0 27 09 ae 77 f7 21 10 92 bc ba b9 | 07 27 4a 07 2f f1 82 8d 9e af 31 7b bf 40 67 21 | bc 39 1c cd d0 a0 7d 51 9d 11 c1 8c | !event_already_set at reschedule "ikev1-ike=aes128-sha1-dh19" #1: IMPAIR: suppressing retransmits; scheduling timeout in 60 seconds | event_schedule: new EVENT_RETRANSMIT-pe@0x5567ed80d698 | inserting event EVENT_RETRANSMIT, timeout in 60 seconds for #1 | libevent_malloc: new ptr-libevent@0x5567ed80f968 size 128 | #1 STATE_MAIN_I3: retransmits: first event in 60 seconds; timeout in 60 seconds; limit of 12 retransmits; current time is 10399.47911 "ikev1-ike=aes128-sha1-dh19" #1: STATE_MAIN_I3: sent MI3, expecting MR3 | modecfg pull: noquirk policy:push 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.308 milliseconds in resume sending helper answer | stop processing: state #1 connection "ikev1-ike=aes128-sha1-dh19" from 192.1.2.23 (in resume_handler() at server.c:833) | libevent_free: release ptr-libevent@0x7f7608002158 | spent 0.00265 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 76 bytes from 192.1.2.23:500 on eth1 (192.1.2.45:500) | 7c 23 40 cb 89 f1 23 94 d9 44 fa c4 7c 53 fa 3e | 05 10 02 01 00 00 00 00 00 00 00 4c 83 36 74 a7 | c2 44 50 ce 64 f7 b4 13 fe 6a 4b 5d 6e b9 a7 65 | 50 ac fa 42 0a 11 df 69 49 26 01 b5 30 22 be 09 | 96 e5 d2 97 f2 dd 48 d8 ed 2a c3 e9 | start processing: from 192.1.2.23:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 7c 23 40 cb 89 f1 23 94 | responder cookie: | d9 44 fa c4 7c 53 fa 3e | next payload type: ISAKMP_NEXT_ID (0x5) | ISAKMP version: ISAKMP Version 1.0 (rfc2407) (0x10) | exchange type: ISAKMP_XCHG_IDPROT (0x2) | flags: ISAKMP_FLAG_v1_ENCRYPTION (0x1) | Message ID: 0 (0x0) | length: 76 (0x4c) | processing version=1.0 packet with exchange type=ISAKMP_XCHG_IDPROT (2) | State DB: found IKEv1 state #1 in MAIN_I3 (find_state_ikev1) | start processing: state #1 connection "ikev1-ike=aes128-sha1-dh19" from 192.1.2.23 (in process_v1_packet() at ikev1.c:1459) | #1 is idle | #1 idle | received encrypted packet from 192.1.2.23:500 | got payload 0x20 (ISAKMP_NEXT_ID) needed: 0x120 opt: 0x2080 | ***parse ISAKMP Identification Payload: | next payload type: ISAKMP_NEXT_HASH (0x8) | length: 12 (0xc) | ID type: ID_FQDN (0x2) | DOI specific A: 0 (0x0) | DOI specific B: 0 (0x0) | obj: 65 61 73 74 | got payload 0x100 (ISAKMP_NEXT_HASH) needed: 0x100 opt: 0x2080 | ***parse ISAKMP Hash Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | length: 24 (0x18) | removing 12 bytes of padding | message 'main_inR3' HASH payload not checked early "ikev1-ike=aes128-sha1-dh19" #1: Peer ID is ID_FQDN: '@east' | X509: no CERT payloads to process | received 'Main' message HASH_R data ok | FOR_EACH_CONNECTION_... in ISAKMP_SA_established | complete v1 state transition with STF_OK | [RE]START processing: state #1 connection "ikev1-ike=aes128-sha1-dh19" from 192.1.2.23 (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_MAIN_I3 to state STATE_MAIN_I4 | parent state #1: MAIN_I3(open IKE SA) => MAIN_I4(established IKE SA) | event_already_set, deleting event | state #1 requesting EVENT_RETRANSMIT to be deleted | #1 STATE_MAIN_I4: retransmits: cleared | libevent_free: release ptr-libevent@0x5567ed80f968 | free_event_entry: release EVENT_RETRANSMIT-pe@0x5567ed80d698 | !event_already_set at reschedule | event_schedule: new EVENT_SA_REPLACE-pe@0x5567ed80d698 | inserting event EVENT_SA_REPLACE, timeout in 2607 seconds for #1 | libevent_malloc: new ptr-libevent@0x7f7608002158 size 128 | pstats #1 ikev1.isakmp established "ikev1-ike=aes128-sha1-dh19" #1: STATE_MAIN_I4: ISAKMP SA established {auth=PRESHARED_KEY cipher=AES_CBC_128 integ=HMAC_SHA1 group=DH19} | DPD: dpd_init() called on ISAKMP SA | DPD: Peer supports Dead Peer Detection | DPD: not initializing DPD because DPD is disabled locally | modecfg pull: noquirk policy:push not-client | phase 1 is done, looking for phase 2 to unpend | unpending state #1 | creating state object #2 at 0x5567ed80fbc8 | State DB: adding IKEv1 state #2 in UNDEFINED | pstats #2 ikev1.ipsec started | duplicating state object #1 "ikev1-ike=aes128-sha1-dh19" as #2 for IPSEC SA | #2 setting local endpoint to 192.1.2.45:500 from #1.st_localport (in duplicate_state() at state.c:1484) | suspend processing: state #1 connection "ikev1-ike=aes128-sha1-dh19" from 192.1.2.23 (in quick_outI1() at ikev1_quick.c:685) | start processing: state #2 connection "ikev1-ike=aes128-sha1-dh19" from 192.1.2.23 (in quick_outI1() at ikev1_quick.c:685) | child state #2: UNDEFINED(ignore) => QUICK_I1(established CHILD SA) "ikev1-ike=aes128-sha1-dh19" #2: initiating Quick Mode PSK+ENCRYPT+TUNNEL+PFS+UP+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO {using isakmp#1 msgid:8e991961 proposal=defaults pfsgroup=DH19} | adding quick_outI1 KE work-order 3 for state #2 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x5567ed80c768 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #2 | libevent_malloc: new ptr-libevent@0x5567ed80f8b8 size 128 | stop processing: state #2 connection "ikev1-ike=aes128-sha1-dh19" from 192.1.2.23 (in quick_outI1() at ikev1_quick.c:764) | resume processing: state #1 connection "ikev1-ike=aes128-sha1-dh19" from 192.1.2.23 (in quick_outI1() at ikev1_quick.c:764) | crypto helper 2 resuming | unqueuing pending Quick Mode with 192.1.2.23 "ikev1-ike=aes128-sha1-dh19" | removing pending policy for no connection {0x5567ed80b398} | crypto helper 2 starting work-order 3 for state #2 | crypto helper 2 doing build KE and nonce (quick_outI1 KE); request ID 3 | crypto helper 2 finished build KE and nonce (quick_outI1 KE); request ID 3 time elapsed 0.00078 seconds | (#2) spent 0.749 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@0x7f760c0029f8 size 128 | libevent_realloc: release ptr-libevent@0x5567ed7ed888 | libevent_realloc: new ptr-libevent@0x7f760c002948 size 128 | crypto helper 2 waiting (nothing to do) | close_any(fd@24) (in release_whack() at state.c:654) | #1 spent 0.28 milliseconds in process_packet_tail() | stop processing: from 192.1.2.23:500 (BACKGROUND) (in process_md() at demux.c:380) | stop processing: state #1 connection "ikev1-ike=aes128-sha1-dh19" from 192.1.2.23 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.398 milliseconds in comm_handle_cb() reading and processing packet | processing resume sending helper answer for #2 | start processing: state #2 connection "ikev1-ike=aes128-sha1-dh19" from 192.1.2.23 (in resume_handler() at server.c:797) | crypto helper 2 replies to request ID 3 | calling continuation function 0x5567ec0bcb50 | quick_outI1_continue for #2: calculated ke+nonce, sending I1 | **emit ISAKMP Message: | initiator cookie: | 7c 23 40 cb 89 f1 23 94 | responder cookie: | d9 44 fa c4 7c 53 fa 3e | 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: 2392398177 (0x8e991961) | 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 | emitting quick defaults using policy none | empty esp_info, returning defaults for ENCRYPT | ***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' | ****emit IPsec DOI SIT: | IPsec DOI SIT: SIT_IDENTITY_ONLY (0x1) | ikev1_out_sa pcn: 0 has 1 valid proposals | ikev1_out_sa pcn: 0 pn: 0<1 valid_count: 1 trans_cnt: 2 | ****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: 2 (0x2) | last substructure: saving location 'ISAKMP Security Association Payload'.'ISAKMP Proposal Payload'.'next payload type' | netlink_get_spi: allocated 0x2710a566 for esp.0@192.1.2.45 | emitting 4 raw bytes of SPI into ISAKMP Proposal Payload | SPI 27 10 a5 66 | *****emit ISAKMP Transform Payload (ESP): | next payload type: ISAKMP_NEXT_T (0x3) | 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' | ******emit ISAKMP IPsec DOI attribute: | af+type: AF+GROUP_DESCRIPTION (0x8003) | length/value: 19 (0x13) | [19 is OAKLEY_GROUP_ECP_256] | ******emit ISAKMP IPsec DOI attribute: | af+type: AF+ENCAPSULATION_MODE (0x8004) | length/value: 1 (0x1) | [1 is ENCAPSULATION_MODE_TUNNEL] | ******emit ISAKMP IPsec DOI attribute: | af+type: AF+SA_LIFE_TYPE (0x8001) | length/value: 1 (0x1) | [1 is SA_LIFE_TYPE_SECONDS] | ******emit ISAKMP IPsec DOI attribute: | af+type: AF+SA_LIFE_DURATION (variable length) (0x8002) | length/value: 28800 (0x7080) | ******emit ISAKMP IPsec DOI attribute: | af+type: AF+AUTH_ALGORITHM (0x8005) | length/value: 2 (0x2) | [2 is AUTH_ALGORITHM_HMAC_SHA1] | ******emit ISAKMP IPsec DOI attribute: | af+type: AF+KEY_LENGTH (0x8006) | length/value: 128 (0x80) | emitting length of ISAKMP Transform Payload (ESP): 32 | *****emit ISAKMP Transform Payload (ESP): | next payload type: ISAKMP_NEXT_NONE (0x0) | ESP transform number: 1 (0x1) | ESP transform ID: ESP_3DES (0x3) | last substructure: checking 'ISAKMP Proposal Payload'.'ISAKMP Transform Payload (ESP)'.'next payload type' is ISAKMP_NEXT_T (0x3) | last substructure: saving location 'ISAKMP Proposal Payload'.'ISAKMP Transform Payload (ESP)'.'next payload type' | ******emit ISAKMP IPsec DOI attribute: | af+type: AF+GROUP_DESCRIPTION (0x8003) | length/value: 19 (0x13) | [19 is OAKLEY_GROUP_ECP_256] | ******emit ISAKMP IPsec DOI attribute: | af+type: AF+ENCAPSULATION_MODE (0x8004) | length/value: 1 (0x1) | [1 is ENCAPSULATION_MODE_TUNNEL] | ******emit ISAKMP IPsec DOI attribute: | af+type: AF+SA_LIFE_TYPE (0x8001) | length/value: 1 (0x1) | [1 is SA_LIFE_TYPE_SECONDS] | ******emit ISAKMP IPsec DOI attribute: | af+type: AF+SA_LIFE_DURATION (variable length) (0x8002) | length/value: 28800 (0x7080) | ******emit ISAKMP IPsec DOI attribute: | af+type: AF+AUTH_ALGORITHM (0x8005) | length/value: 2 (0x2) | [2 is AUTH_ALGORITHM_HMAC_SHA1] | emitting length of ISAKMP Transform Payload (ESP): 28 | emitting length of ISAKMP Proposal Payload: 72 | last substructure: checking 'ISAKMP Proposal Payload'.'ISAKMP Transform Payload (ESP)'.'next payload type' is 0 | emitting length of ISAKMP Security Association Payload: 84 | last substructure: checking 'ISAKMP Security Association Payload'.'ISAKMP Proposal Payload'.'next payload type' is 0 | ***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 Ni into ISAKMP Nonce Payload | Ni 45 49 f3 93 9b c7 49 a5 76 07 60 c3 8c 91 8b 90 | Ni 25 76 dc e3 06 00 cf ec 82 03 4f 60 40 24 86 10 | 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 64 raw bytes of keyex value into ISAKMP Key Exchange Payload | keyex value 81 6c c3 dd 8d 2b e7 20 64 54 3d b8 a0 06 89 4c | keyex value ea 98 3d 1a 5c 1d 0f db f0 43 e1 93 1e 65 e5 cb | keyex value 00 31 2f 24 ea 7c 29 07 a1 d8 34 27 04 58 72 e5 | keyex value d0 ed aa 15 47 a1 8d 73 79 b4 b0 e1 ba 1f 78 ec | emitting length of ISAKMP Key Exchange Payload: 68 | ***emit ISAKMP Identification Payload (IPsec DOI): | next payload type: ISAKMP_NEXT_ID (0x5) | ID type: ID_IPV4_ADDR_SUBNET (0x4) | 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 client network into ISAKMP Identification Payload (IPsec DOI) | client network c0 00 01 00 | emitting 4 raw bytes of client mask into ISAKMP Identification Payload (IPsec DOI) | client mask ff ff ff 00 | emitting length of ISAKMP Identification Payload (IPsec DOI): 16 | ***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 4 raw bytes of client network into ISAKMP Identification Payload (IPsec DOI) | client network c0 00 02 00 | emitting 4 raw bytes of client mask into ISAKMP Identification Payload (IPsec DOI) | client mask ff ff ff 00 | emitting length of ISAKMP Identification Payload (IPsec DOI): 16 | outI1 HASH(1): | c4 8d 4c 77 3b bb 85 31 de 96 83 0b 3a cd ef 59 | 20 83 fa 0b | emitting 12 zero bytes of encryption padding into ISAKMP Message | no IKEv1 message padding required | emitting length of ISAKMP Message: 284 | sending 284 bytes for reply packet from quick_outI1 through eth1 from 192.1.2.45:500 to 192.1.2.23:500 (using #2) | 7c 23 40 cb 89 f1 23 94 d9 44 fa c4 7c 53 fa 3e | 08 10 20 01 8e 99 19 61 00 00 01 1c ec d1 01 bb | 2f 92 61 fe 14 5a 15 ff d1 6c 5d b3 2c 1e 7f 15 | 21 97 80 35 46 7f 56 61 21 40 d8 ea 32 42 58 75 | a8 88 2b 4f 81 a0 56 14 56 db f0 04 73 dc 4d 8c | 4e a8 31 e7 c4 92 6e a6 c8 83 72 66 d1 04 49 0d | 0e 76 fc a0 1a 53 8e 28 15 96 9a 97 84 a4 9c 9e | 2c df ff 5b 65 38 0e 22 58 81 98 be 4f 99 22 3f | df 6c a3 48 be 76 ba 72 03 4d 48 8a 95 12 95 54 | 97 a0 13 4f c6 3b 14 73 50 6f 12 2c 9b 6f f8 46 | c0 2b e9 a2 66 6f df 71 d5 c2 1e ee 34 10 b8 63 | 07 8c fa 9c c9 73 b7 e3 a8 2b de bb 43 cf 36 2c | 50 52 ff 99 bc 04 57 e6 e1 c8 6b cd a9 67 9a 80 | 0c 0c a2 ac 47 f8 8c b2 45 e6 e9 fc 68 6e bf 22 | 1a 4e 76 0f f3 ab 0b c8 8d be 55 4c 26 69 92 75 | d3 95 e8 cf b0 3f 86 98 1d 94 67 c4 1b 67 87 6e | 9b 35 82 ad bb 8b 38 d7 51 94 ad 24 10 0b a5 c5 | 3e e9 e1 af 99 ff ef 08 bf ba 7a ba | state #2 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x5567ed80f8b8 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x5567ed80c768 "ikev1-ike=aes128-sha1-dh19" #2: IMPAIR: suppressing retransmits; scheduling timeout in 60 seconds | event_schedule: new EVENT_RETRANSMIT-pe@0x5567ed80c768 | inserting event EVENT_RETRANSMIT, timeout in 60 seconds for #2 | libevent_malloc: new ptr-libevent@0x5567ed80f368 size 128 | #2 STATE_QUICK_I1: retransmits: first event in 60 seconds; timeout in 60 seconds; limit of 12 retransmits; current time is 10399.481884 | resume sending helper answer for #2 suppresed complete_v1_state_transition() | #2 spent 0.327 milliseconds in resume sending helper answer | stop processing: state #2 connection "ikev1-ike=aes128-sha1-dh19" from 192.1.2.23 (in resume_handler() at server.c:833) | libevent_free: release ptr-libevent@0x7f760c0029f8 | spent 0.00316 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 252 bytes from 192.1.2.23:500 on eth1 (192.1.2.45:500) | 7c 23 40 cb 89 f1 23 94 d9 44 fa c4 7c 53 fa 3e | 08 10 20 01 8e 99 19 61 00 00 00 fc 5d e8 86 24 | 71 41 55 5d 67 72 d5 ac a1 e6 a5 53 60 e9 cf af | a5 a9 cc 26 02 ef 94 b6 2c 10 2e d3 af 1e 80 a0 | b3 8a 66 48 e2 70 4f a9 39 4a 13 5a 42 24 68 19 | d8 d9 77 d5 0f 41 13 55 e8 1d a3 18 25 a2 49 53 | 31 56 5a 0e 05 38 6f 13 7a 67 c1 75 8f 64 e4 4d | f5 58 7f db 45 1e 0c ed f9 70 ba b9 85 ea 84 7a | 91 99 83 41 58 dd e1 85 84 22 81 e5 e2 35 a5 e3 | b2 ef a2 8c c7 f5 fa 5e 63 af bb 35 c6 c8 fc d5 | f5 9e f7 3b 19 0c 82 b0 5f 5c a4 9c e0 c4 d0 00 | 47 70 b0 a3 61 d7 99 f2 9c 07 17 99 db 5d e3 c6 | 0f a8 17 8a 93 17 c1 1a ee e0 24 e9 26 23 25 ba | 90 56 95 2a f7 67 12 8e 8a 50 ad 3b 20 c0 7a 2f | 12 e4 2e c9 3d b6 eb 03 c6 f1 1c 70 e5 9e cc 95 | 93 66 76 e4 46 37 f0 d6 68 70 56 79 | start processing: from 192.1.2.23:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 7c 23 40 cb 89 f1 23 94 | responder cookie: | d9 44 fa c4 7c 53 fa 3e | 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: 2392398177 (0x8e991961) | length: 252 (0xfc) | processing version=1.0 packet with exchange type=ISAKMP_XCHG_QUICK (32) | State DB: found IKEv1 state #2 in QUICK_I1 (find_state_ikev1) | start processing: state #2 connection "ikev1-ike=aes128-sha1-dh19" from 192.1.2.23 (in process_v1_packet() at ikev1.c:1633) | #2 is idle | #2 idle | received encrypted packet from 192.1.2.23: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: 56 (0x38) | 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: 68 (0x44) | got payload 0x20 (ISAKMP_NEXT_ID) needed: 0x0 opt: 0x200030 | ***parse ISAKMP Identification Payload (IPsec DOI): | next payload type: ISAKMP_NEXT_ID (0x5) | length: 16 (0x10) | ID type: ID_IPV4_ADDR_SUBNET (0x4) | Protocol ID: 0 (0x0) | port: 0 (0x0) | obj: c0 00 01 00 ff ff ff 00 | 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 | removing 8 bytes of padding | quick_inR1_outI2 HASH(2): | 7f dd a1 00 4c 33 2c 4a 7f f4 9c f7 25 ae ee 89 | c3 b1 24 dc | received 'quick_inR1_outI2' message HASH(2) data ok | ****parse IPsec DOI SIT: | IPsec DOI SIT: SIT_IDENTITY_ONLY (0x1) | ****parse ISAKMP Proposal Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | length: 44 (0x2c) | proposal number: 0 (0x0) | protocol ID: PROTO_IPSEC_ESP (0x3) | SPI size: 4 (0x4) | number of transforms: 1 (0x1) | parsing 4 raw bytes of ISAKMP Proposal Payload into SPI | SPI 21 3f 90 b7 | *****parse ISAKMP Transform Payload (ESP): | next payload type: ISAKMP_NEXT_NONE (0x0) | 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: 19 (0x13) | [19 is OAKLEY_GROUP_ECP_256] | ******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 | started looking for secret for @west->@east of kind PKK_PSK | actually looking for secret for @west->@east of kind PKK_PSK | line 1: key type PKK_PSK(@west) to type PKK_PSK | 1: compared key @east to @west / @east -> 004 | 2: compared key @west to @west / @east -> 014 | line 1: match=014 | match 014 beats previous best_match 000 match=0x5567ed764b58 (line=1) | concluding with best_match=014 best=0x5567ed764b58 (lineno=1) | adding quick outI2 DH work-order 4 for state #2 | state #2 requesting EVENT_RETRANSMIT to be deleted | #2 STATE_QUICK_I1: retransmits: cleared | libevent_free: release ptr-libevent@0x5567ed80f368 | free_event_entry: release EVENT_RETRANSMIT-pe@0x5567ed80c768 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x5567ed80c768 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #2 | libevent_malloc: new ptr-libevent@0x7f760c0029f8 size 128 | complete v1 state transition with STF_SUSPEND | [RE]START processing: state #2 connection "ikev1-ike=aes128-sha1-dh19" from 192.1.2.23 (in complete_v1_state_transition() at ikev1.c:2648) | suspending state #2 and saving MD | #2 is busy; has a suspended MD | crypto helper 3 resuming | #2 spent 0.149 milliseconds in process_packet_tail() | crypto helper 3 starting work-order 4 for state #2 | stop processing: from 192.1.2.23:500 (BACKGROUND) (in process_md() at demux.c:380) | stop processing: state #2 connection "ikev1-ike=aes128-sha1-dh19" from 192.1.2.23 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.367 milliseconds in comm_handle_cb() reading and processing packet | crypto helper 3 doing compute dh (V1 Phase 2 PFS) (quick outI2 DH); request ID 4 | crypto helper 3 finished compute dh (V1 Phase 2 PFS) (quick outI2 DH); request ID 4 time elapsed 0.001434 seconds | (#2) spent 1.39 milliseconds in crypto helper computing work-order 4: quick outI2 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@0x7f7600000db8 size 128 | crypto helper 3 waiting (nothing to do) | processing resume sending helper answer for #2 | start processing: state #2 connection "ikev1-ike=aes128-sha1-dh19" from 192.1.2.23 (in resume_handler() at server.c:797) | crypto helper 3 replies to request ID 4 | calling continuation function 0x5567ec0bcb50 | quick_inR1_outI2_continue for #2: calculated ke+nonce, calculating DH | **emit ISAKMP Message: | initiator cookie: | 7c 23 40 cb 89 f1 23 94 | responder cookie: | d9 44 fa c4 7c 53 fa 3e | 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: 2392398177 (0x8e991961) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | parsing 4 raw bytes of ISAKMP Identification Payload (IPsec DOI) into ID address | ID address c0 00 01 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.1.0/24 | our 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 | peer client is subnet 192.0.2.0/24 | peer client protocol/port is 0/0 | ***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 | quick_inR1_outI2 HASH(3): | f1 75 33 d0 a0 51 8f 68 ee da 80 7b 8b 3d b8 a2 | 4a 17 0f da | compute_proto_keymat: needed_len (after ESP enc)=16 | compute_proto_keymat: needed_len (after ESP auth)=36 | install_ipsec_sa() for #2: inbound and outbound | could_route called for ikev1-ike=aes128-sha1-dh19 (kind=CK_PERMANENT) | FOR_EACH_CONNECTION_... in route_owner | conn ikev1-ike=aes128-sha1-dh19 mark 0/00000000, 0/00000000 vs | conn ikev1-ike=aes128-sha1-dh19 mark 0/00000000, 0/00000000 | route owner of "ikev1-ike=aes128-sha1-dh19" unrouted: NULL; eroute owner: NULL | 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 'ikev1-ike=aes128-sha1-dh19' 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.213f90b7@192.1.2.23 included non-error error | set up outgoing SA, ref=0/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 'ikev1-ike=aes128-sha1-dh19' 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.2710a566@192.1.2.45 included non-error error | priority calculation of connection "ikev1-ike=aes128-sha1-dh19" is 0xfe7e7 | add inbound eroute 192.0.2.0/24:0 --0-> 192.0.1.0/24:0 => tun.10000@192.1.2.45 (raw_eroute) | IPsec Sa SPD priority set to 1042407 | raw_eroute result=success | set up incoming SA, ref=0/0 | sr for #2: unrouted | route_and_eroute() for proto 0, and source port 0 dest port 0 | FOR_EACH_CONNECTION_... in route_owner | conn ikev1-ike=aes128-sha1-dh19 mark 0/00000000, 0/00000000 vs | conn ikev1-ike=aes128-sha1-dh19 mark 0/00000000, 0/00000000 | route owner of "ikev1-ike=aes128-sha1-dh19" unrouted: NULL; eroute owner: NULL | route_and_eroute with c: ikev1-ike=aes128-sha1-dh19 (next: none) ero:null esr:{(nil)} ro:null rosr:{(nil)} and state: #2 | priority calculation of connection "ikev1-ike=aes128-sha1-dh19" is 0xfe7e7 | eroute_connection add eroute 192.0.1.0/24:0 --0-> 192.0.2.0/24:0 => tun.0@192.1.2.23 (raw_eroute) | IPsec Sa SPD priority set to 1042407 | raw_eroute result=success | running updown command "ipsec _updown" for verb up | command executing up-client | executing up-client: PLUTO_VERB='up-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='ikev1-ike=aes128-sha1-dh19' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.23' PLUTO_ME='192.1.2.45' PLUTO_MY_ID='@west' PLUTO_MY_CLIENT='192.0.1.0/24' PLUTO_MY_CLIENT_NET='192.0.1.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.23' PLUTO_PEER_ID='@east' PLUTO_PEER_CLIENT='192.0.2.0/24' PLUTO_PEER_CLIENT_NET='192.0.2.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='PSK+ENCRYPT+TUNNEL+PFS+UP+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' VTI_ROUTING='no' VTI_SHARED='no' SPI_IN | popen cmd is 1045 chars long | cmd( 0):PLUTO_VERB='up-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='ikev1-ike=aes128-sh: | cmd( 80):a1-dh19' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.23' PLUTO_ME='192.1.2.45: | cmd( 160):' PLUTO_MY_ID='@west' PLUTO_MY_CLIENT='192.0.1.0/24' PLUTO_MY_CLIENT_NET='192.0.: | cmd( 240):1.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0: | cmd( 320):' PLUTO_SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.23' PLUTO_PEER_: | cmd( 400):ID='@east' PLUTO_PEER_CLIENT='192.0.2.0/24' PLUTO_PEER_CLIENT_NET='192.0.2.0' PL: | cmd( 480):UTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0': | cmd( 560): PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='PSK+: | cmd( 640):ENCRYPT+TUNNEL+PFS+UP+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_: | cmd( 720):KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CI: | cmd( 800):SCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PL: | cmd( 880):UTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' VTI: | cmd( 960):_ROUTING='no' VTI_SHARED='no' SPI_IN=0x213f90b7 SPI_OUT=0x2710a566 ipsec _updown: | cmd(1040): 2>&1: | route_and_eroute: firewall_notified: true | running updown command "ipsec _updown" for verb prepare | command executing prepare-client | executing prepare-client: PLUTO_VERB='prepare-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='ikev1-ike=aes128-sha1-dh19' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.23' PLUTO_ME='192.1.2.45' PLUTO_MY_ID='@west' PLUTO_MY_CLIENT='192.0.1.0/24' PLUTO_MY_CLIENT_NET='192.0.1.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.23' PLUTO_PEER_ID='@east' PLUTO_PEER_CLIENT='192.0.2.0/24' PLUTO_PEER_CLIENT_NET='192.0.2.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='PSK+ENCRYPT+TUNNEL+PFS+UP+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' VTI_ROUTING='no' VTI_SHARED=' | popen cmd is 1050 chars long | cmd( 0):PLUTO_VERB='prepare-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='ikev1-ike=aes1: | cmd( 80):28-sha1-dh19' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.23' PLUTO_ME='192.1: | cmd( 160):.2.45' PLUTO_MY_ID='@west' PLUTO_MY_CLIENT='192.0.1.0/24' PLUTO_MY_CLIENT_NET='1: | cmd( 240):92.0.1.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOC: | cmd( 320):OL='0' PLUTO_SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.23' PLUTO_: | cmd( 400):PEER_ID='@east' PLUTO_PEER_CLIENT='192.0.2.0/24' PLUTO_PEER_CLIENT_NET='192.0.2.: | cmd( 480):0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCO: | cmd( 560):L='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY=: | cmd( 640):'PSK+ENCRYPT+TUNNEL+PFS+UP+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_: | cmd( 720):CONN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PE: | cmd( 800):ER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER=: | cmd( 880):'' PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE=': | cmd( 960):' VTI_ROUTING='no' VTI_SHARED='no' SPI_IN=0x213f90b7 SPI_OUT=0x2710a566 ipsec _u: | cmd(1040):pdown 2>&1: | running updown command "ipsec _updown" for verb route | command executing route-client | executing route-client: PLUTO_VERB='route-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='ikev1-ike=aes128-sha1-dh19' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.23' PLUTO_ME='192.1.2.45' PLUTO_MY_ID='@west' PLUTO_MY_CLIENT='192.0.1.0/24' PLUTO_MY_CLIENT_NET='192.0.1.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.23' PLUTO_PEER_ID='@east' PLUTO_PEER_CLIENT='192.0.2.0/24' PLUTO_PEER_CLIENT_NET='192.0.2.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='PSK+ENCRYPT+TUNNEL+PFS+UP+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' VTI_ROUTING='no' VTI_SHARED='no' | popen cmd is 1048 chars long | cmd( 0):PLUTO_VERB='route-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='ikev1-ike=aes128: | cmd( 80):-sha1-dh19' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.23' PLUTO_ME='192.1.2: | cmd( 160):.45' PLUTO_MY_ID='@west' PLUTO_MY_CLIENT='192.0.1.0/24' PLUTO_MY_CLIENT_NET='192: | cmd( 240):.0.1.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL: | cmd( 320):='0' PLUTO_SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.23' PLUTO_PE: | cmd( 400):ER_ID='@east' PLUTO_PEER_CLIENT='192.0.2.0/24' PLUTO_PEER_CLIENT_NET='192.0.2.0': | cmd( 480): PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL=: | cmd( 560):'0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='P: | cmd( 640):SK+ENCRYPT+TUNNEL+PFS+UP+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CO: | cmd( 720):NN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER: | cmd( 800):_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='': | cmd( 880): PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' : | cmd( 960):VTI_ROUTING='no' VTI_SHARED='no' SPI_IN=0x213f90b7 SPI_OUT=0x2710a566 ipsec _upd: | cmd(1040):own 2>&1: | route_and_eroute: instance "ikev1-ike=aes128-sha1-dh19", setting eroute_owner {spd=0x5567ed80b9c8,sr=0x5567ed80b9c8} to #2 (was #0) (newest_ipsec_sa=#0) | #1 spent 1.77 milliseconds in install_ipsec_sa() | emitting 8 zero bytes of encryption padding into ISAKMP Message | no IKEv1 message padding required | emitting length of ISAKMP Message: 60 | inR1_outI2: instance ikev1-ike=aes128-sha1-dh19[0], setting IKEv1 newest_ipsec_sa to #2 (was #0) (spd.eroute=#2) cloned from #1 | DPD: dpd_init() called on IPsec SA | DPD: Peer does not support Dead Peer Detection | complete v1 state transition with STF_OK | [RE]START processing: state #2 connection "ikev1-ike=aes128-sha1-dh19" from 192.1.2.23 (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_I1 to state STATE_QUICK_I2 | child state #2: QUICK_I1(established CHILD SA) => QUICK_I2(established CHILD SA) | event_already_set, deleting event | state #2 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x7f760c0029f8 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x5567ed80c768 | sending reply packet to 192.1.2.23:500 (from 192.1.2.45:500) | sending 60 bytes for STATE_QUICK_I1 through eth1 from 192.1.2.45:500 to 192.1.2.23:500 (using #2) | 7c 23 40 cb 89 f1 23 94 d9 44 fa c4 7c 53 fa 3e | 08 10 20 01 8e 99 19 61 00 00 00 3c ba 97 a5 81 | ff 6d 7b 11 56 7c b9 91 c9 6b 0f 5d 5e b4 06 b9 | a0 dd cb 96 24 04 a8 46 31 ba 29 1b | !event_already_set at reschedule | event_schedule: new EVENT_SA_REPLACE-pe@0x5567ed80f678 | inserting event EVENT_SA_REPLACE, timeout in 28048 seconds for #2 | libevent_malloc: new ptr-libevent@0x5567ed811cd8 size 128 | pstats #2 ikev1.ipsec established | NAT-T: encaps is 'auto' "ikev1-ike=aes128-sha1-dh19" #2: STATE_QUICK_I2: sent QI2, IPsec SA established tunnel mode {ESP=>0x213f90b7 <0x2710a566 xfrm=AES_CBC_128-HMAC_SHA1_96 NATOA=none NATD=none DPD=passive} | modecfg pull: noquirk policy:push not-client | phase 1 is done, looking for phase 2 to unpend | close_any(fd@25) (in release_whack() at state.c:654) | resume sending helper answer for #2 suppresed complete_v1_state_transition() | #2 spent 2.15 milliseconds in resume sending helper answer | stop processing: state #2 connection "ikev1-ike=aes128-sha1-dh19" from 192.1.2.23 (in resume_handler() at server.c:833) | libevent_free: release ptr-libevent@0x7f7600000db8 | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00501 milliseconds in signal handler PLUTO_SIGCHLD | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00275 milliseconds in signal handler PLUTO_SIGCHLD | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00263 milliseconds in signal handler PLUTO_SIGCHLD | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:722) | FOR_EACH_STATE_... in show_traffic_status (sort_states) | FOR_EACH_STATE_... in sort_states | get_sa_info esp.2710a566@192.1.2.45 | get_sa_info esp.213f90b7@192.1.2.23 | close_any(fd@16) (in whack_process() at rcv_whack.c:700) | spent 0.0844 milliseconds in whack | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:722) | FOR_EACH_CONNECTION_... in conn_by_name | start processing: connection "ikev1-ike=aes128-sha1-dh19" (in terminate_a_connection() at terminate.c:69) "ikev1-ike=aes128-sha1-dh19": terminating SAs using this connection | connection 'ikev1-ike=aes128-sha1-dh19' -POLICY_UP | FOR_EACH_STATE_... in shared_phase1_connection | connection not shared - terminating IKE and IPsec SA | Deleting states for connection - not including other IPsec SA's | pass 0 | FOR_EACH_STATE_... in foreach_state_by_connection_func_delete | state #2 | suspend processing: connection "ikev1-ike=aes128-sha1-dh19" (in foreach_state_by_connection_func_delete() at state.c:1310) | start processing: state #2 connection "ikev1-ike=aes128-sha1-dh19" from 192.1.2.23 (in foreach_state_by_connection_func_delete() at state.c:1310) | pstats #2 ikev1.ipsec deleted completed | [RE]START processing: state #2 connection "ikev1-ike=aes128-sha1-dh19" from 192.1.2.23 (in delete_state() at state.c:879) "ikev1-ike=aes128-sha1-dh19" #2: deleting state (STATE_QUICK_I2) aged 0.086s and sending notification | child state #2: QUICK_I2(established CHILD SA) => delete | get_sa_info esp.213f90b7@192.1.2.23 | get_sa_info esp.2710a566@192.1.2.45 "ikev1-ike=aes128-sha1-dh19" #2: ESP traffic information: in=84B out=84B | #2 send IKEv1 delete notification for STATE_QUICK_I2 | FOR_EACH_STATE_... in find_phase1_state | **emit ISAKMP Message: | initiator cookie: | 7c 23 40 cb 89 f1 23 94 | responder cookie: | d9 44 fa c4 7c 53 fa 3e | 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: 66508777 (0x3f6d7e9) | 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 27 10 a5 66 | emitting length of ISAKMP Delete Payload: 16 | send delete HASH(1): | 45 42 6a d0 5d e8 eb a8 85 d1 86 88 21 b2 11 c6 | 35 39 01 ce | emitting 8 zero bytes of encryption padding into ISAKMP Message | no IKEv1 message padding required | emitting length of ISAKMP Message: 76 | sending 76 bytes for delete notify through eth1 from 192.1.2.45:500 to 192.1.2.23:500 (using #1) | 7c 23 40 cb 89 f1 23 94 d9 44 fa c4 7c 53 fa 3e | 08 10 05 01 03 f6 d7 e9 00 00 00 4c c9 0c 9a 69 | f0 ac e6 be ef 1a 4f a5 d5 f6 28 a9 78 db 71 cf | 3a 01 bc ee b5 21 72 0a 89 eb c9 d2 88 b9 41 50 | ab 87 94 ce 27 12 cf 44 eb e1 71 2b | state #2 requesting EVENT_SA_REPLACE to be deleted | libevent_free: release ptr-libevent@0x5567ed811cd8 | free_event_entry: release EVENT_SA_REPLACE-pe@0x5567ed80f678 | 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='ikev1-ike=aes128-sha1-dh19' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.23' PLUTO_ME='192.1.2.45' PLUTO_MY_ID='@west' PLUTO_MY_CLIENT='192.0.1.0/24' PLUTO_MY_CLIENT_NET='192.0.1.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.23' PLUTO_PEER_ID='@east' PLUTO_PEER_CLIENT='192.0.2.0/24' PLUTO_PEER_CLIENT_NET='192.0.2.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='1566825113' PLUTO_CONN_POLICY='PSK+ENCRYPT+TUNNEL+PFS+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' VTI_ROUTING='no' VTI_SHARED=' | popen cmd is 1053 chars long | cmd( 0):PLUTO_VERB='down-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='ikev1-ike=aes128-: | cmd( 80):sha1-dh19' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.23' PLUTO_ME='192.1.2.: | cmd( 160):45' PLUTO_MY_ID='@west' PLUTO_MY_CLIENT='192.0.1.0/24' PLUTO_MY_CLIENT_NET='192.: | cmd( 240):0.1.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL=: | cmd( 320):'0' PLUTO_SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.23' PLUTO_PEE: | cmd( 400):R_ID='@east' PLUTO_PEER_CLIENT='192.0.2.0/24' PLUTO_PEER_CLIENT_NET='192.0.2.0' : | cmd( 480):PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL=': | cmd( 560):0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='1566825113' PLUTO_CONN_P: | cmd( 640):OLICY='PSK+ENCRYPT+TUNNEL+PFS+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLU: | cmd( 720):TO_CONN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS: | cmd( 800):_PEER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANN: | cmd( 880):ER='' PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFAC: | cmd( 960):E='' VTI_ROUTING='no' VTI_SHARED='no' SPI_IN=0x213f90b7 SPI_OUT=0x2710a566 ipsec: | cmd(1040): _updown 2>&1: | shunt_eroute() called for connection 'ikev1-ike=aes128-sha1-dh19' 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 "ikev1-ike=aes128-sha1-dh19" is 0xfe7e7 | IPsec Sa SPD priority set to 1042407 | delete esp.213f90b7@192.1.2.23 | netlink response for Del SA esp.213f90b7@192.1.2.23 included non-error error | priority calculation of connection "ikev1-ike=aes128-sha1-dh19" is 0xfe7e7 | delete inbound eroute 192.0.2.0/24:0 --0-> 192.0.1.0/24:0 => unk255.10000@192.1.2.45 (raw_eroute) | raw_eroute result=success | delete esp.2710a566@192.1.2.45 | netlink response for Del SA esp.2710a566@192.1.2.45 included non-error error | stop processing: connection "ikev1-ike=aes128-sha1-dh19" (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 ikev1-ike=aes128-sha1-dh19 | State DB: deleting IKEv1 state #2 in QUICK_I2 | child state #2: QUICK_I2(established CHILD SA) => UNDEFINED(ignore) | stop processing: state #2 from 192.1.2.23 (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 "ikev1-ike=aes128-sha1-dh19" from 192.1.2.23 (in foreach_state_by_connection_func_delete() at state.c:1310) | pstats #1 ikev1.isakmp deleted completed | [RE]START processing: state #1 connection "ikev1-ike=aes128-sha1-dh19" from 192.1.2.23 (in delete_state() at state.c:879) "ikev1-ike=aes128-sha1-dh19" #1: deleting state (STATE_MAIN_I4) aged 0.109s and sending notification | parent state #1: MAIN_I4(established IKE SA) => delete | #1 send IKEv1 delete notification for STATE_MAIN_I4 | **emit ISAKMP Message: | initiator cookie: | 7c 23 40 cb 89 f1 23 94 | responder cookie: | d9 44 fa c4 7c 53 fa 3e | 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: 2320978381 (0x8a5751cd) | 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 7c 23 40 cb 89 f1 23 94 | emitting 8 raw bytes of responder SPI into ISAKMP Delete Payload | responder SPI d9 44 fa c4 7c 53 fa 3e | emitting length of ISAKMP Delete Payload: 28 | send delete HASH(1): | f0 39 4d 07 d8 17 de 62 12 dd c9 cc a0 98 6f bb | 0a ca 3f d0 | emitting 12 zero bytes of encryption padding into ISAKMP Message | no IKEv1 message padding required | emitting length of ISAKMP Message: 92 | sending 92 bytes for delete notify through eth1 from 192.1.2.45:500 to 192.1.2.23:500 (using #1) | 7c 23 40 cb 89 f1 23 94 d9 44 fa c4 7c 53 fa 3e | 08 10 05 01 8a 57 51 cd 00 00 00 5c 74 72 bb e6 | 2a e9 12 c2 b2 26 9b a9 16 cf b2 ee d9 e5 55 d3 | 28 25 4e d5 06 75 46 88 05 86 e6 04 7c ac c8 d4 | 6c a0 9c b2 72 3a f9 f4 69 9d 5d 19 f2 dc c6 04 | 73 2a 7d 55 84 b3 96 d6 6e 56 c2 27 | state #1 requesting EVENT_SA_REPLACE to be deleted | libevent_free: release ptr-libevent@0x7f7608002158 | free_event_entry: release EVENT_SA_REPLACE-pe@0x5567ed80d698 | State DB: IKEv1 state not found (flush_incomplete_children) | in connection_discard for connection ikev1-ike=aes128-sha1-dh19 | State DB: deleting IKEv1 state #1 in MAIN_I4 | parent state #1: MAIN_I4(established IKE SA) => UNDEFINED(ignore) | stop processing: state #1 from 192.1.2.23 (in delete_state() at state.c:1143) | processing: STOP state #0 (in foreach_state_by_connection_func_delete() at state.c:1312) | processing: STOP connection NULL (in terminate_a_connection() at terminate.c:87) | close_any(fd@16) (in whack_process() at rcv_whack.c:700) | spent 1.43 milliseconds in whack | spent 0.00178 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 76 bytes from 192.1.2.23:500 on eth1 (192.1.2.45:500) | 7c 23 40 cb 89 f1 23 94 d9 44 fa c4 7c 53 fa 3e | 08 10 05 01 a7 50 40 33 00 00 00 4c 45 30 f0 36 | 58 7e 2a 08 a1 80 b3 11 cd 3c 1b 1e ca ad 61 e0 | 6d f1 f6 b0 c6 58 6c ad 50 62 fb 57 f3 ec 09 d3 | 3e 8e d5 f4 bd b7 66 47 bd f7 59 6a | start processing: from 192.1.2.23:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 7c 23 40 cb 89 f1 23 94 | responder cookie: | d9 44 fa c4 7c 53 fa 3e | next payload type: ISAKMP_NEXT_HASH (0x8) | ISAKMP version: ISAKMP Version 1.0 (rfc2407) (0x10) | exchange type: ISAKMP_XCHG_INFO (0x5) | flags: ISAKMP_FLAG_v1_ENCRYPTION (0x1) | Message ID: 2807054387 (0xa7504033) | length: 76 (0x4c) | processing version=1.0 packet with exchange type=ISAKMP_XCHG_INFO (5) | State DB: IKEv1 state not found (find_v1_info_state) | State DB: IKEv1 state not found (find_state_ikev1_init) | Informational Exchange is for an unknown (expired?) SA with MSGID:0xa7504033 | - unknown SA's md->hdr.isa_ike_initiator_spi.bytes: | 7c 23 40 cb 89 f1 23 94 | - unknown SA's md->hdr.isa_ike_responder_spi.bytes: | d9 44 fa c4 7c 53 fa 3e | stop processing: from 192.1.2.23:500 (in process_md() at demux.c:380) | processing: STOP state #0 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.0717 milliseconds in comm_handle_cb() reading and processing packet | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.0048 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00127 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 92 bytes from 192.1.2.23:500 on eth1 (192.1.2.45:500) | 7c 23 40 cb 89 f1 23 94 d9 44 fa c4 7c 53 fa 3e | 08 10 05 01 eb 5a c8 16 00 00 00 5c 15 17 c8 36 | 67 73 d4 bb c5 9a a2 5c a7 11 59 08 37 f9 2c 28 | 47 b0 68 56 aa a7 55 9e fd 6a 3f 15 45 8c e4 71 | fe e4 39 a7 6e 77 08 f4 41 4d b2 f0 e3 31 72 e9 | a7 b2 21 e9 15 34 dc 75 0d 27 e2 b6 | start processing: from 192.1.2.23:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 7c 23 40 cb 89 f1 23 94 | responder cookie: | d9 44 fa c4 7c 53 fa 3e | next payload type: ISAKMP_NEXT_HASH (0x8) | ISAKMP version: ISAKMP Version 1.0 (rfc2407) (0x10) | exchange type: ISAKMP_XCHG_INFO (0x5) | flags: ISAKMP_FLAG_v1_ENCRYPTION (0x1) | Message ID: 3948595222 (0xeb5ac816) | length: 92 (0x5c) | processing version=1.0 packet with exchange type=ISAKMP_XCHG_INFO (5) | State DB: IKEv1 state not found (find_v1_info_state) | State DB: IKEv1 state not found (find_state_ikev1_init) | Informational Exchange is for an unknown (expired?) SA with MSGID:0xeb5ac816 | - unknown SA's md->hdr.isa_ike_initiator_spi.bytes: | 7c 23 40 cb 89 f1 23 94 | - unknown SA's md->hdr.isa_ike_responder_spi.bytes: | d9 44 fa c4 7c 53 fa 3e | stop processing: from 192.1.2.23:500 (in process_md() at demux.c:380) | processing: STOP state #0 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.0661 milliseconds in comm_handle_cb() reading and processing packet | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:722) | FOR_EACH_CONNECTION_... in conn_by_name | start processing: connection "ikev1-ike=aes128-sha1-dh19" (in terminate_a_connection() at terminate.c:69) "ikev1-ike=aes128-sha1-dh19": terminating SAs using this connection | connection 'ikev1-ike=aes128-sha1-dh19' -POLICY_UP | connection not shared - terminating IKE and IPsec SA | Deleting states for connection - not including other IPsec SA's | pass 0 | FOR_EACH_STATE_... in foreach_state_by_connection_func_delete | pass 1 | FOR_EACH_STATE_... in foreach_state_by_connection_func_delete | stop processing: connection "ikev1-ike=aes128-sha1-dh19" (in terminate_a_connection() at terminate.c:87) | FOR_EACH_CONNECTION_... in conn_by_name | start processing: connection "ikev1-ike=aes128-sha1-dh19" (in delete_connection() at connections.c:189) | Deleting states for connection - not including other IPsec SA's | pass 0 | FOR_EACH_STATE_... in foreach_state_by_connection_func_delete | pass 1 | FOR_EACH_STATE_... in foreach_state_by_connection_func_delete | shunt_eroute() called for connection 'ikev1-ike=aes128-sha1-dh19' 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 "ikev1-ike=aes128-sha1-dh19" is 0xfe7e7 | priority calculation of connection "ikev1-ike=aes128-sha1-dh19" is 0xfe7e7 | FOR_EACH_CONNECTION_... in route_owner | conn ikev1-ike=aes128-sha1-dh19 mark 0/00000000, 0/00000000 vs | conn ikev1-ike=aes128-sha1-dh19 mark 0/00000000, 0/00000000 | route owner of "ikev1-ike=aes128-sha1-dh19" 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='ikev1-ike=aes128-sha1-dh19' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.23' PLUTO_ME='192.1.2.45' PLUTO_MY_ID='@west' PLUTO_MY_CLIENT='192.0.1.0/24' PLUTO_MY_CLIENT_NET='192.0.1.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16388' PLUTO_SA_TYPE='none' PLUTO_PEER='192.1.2.23' PLUTO_PEER_ID='@east' PLUTO_PEER_CLIENT='192.0.2.0/24' PLUTO_PEER_CLIENT_NET='192.0.2.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='PSK+ENCRYPT+TUNNEL+PFS+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' VTI_ROUTING='no' VTI_SHARED='no | popen cmd is 1034 chars long | cmd( 0):PLUTO_VERB='unroute-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='ikev1-ike=aes1: | cmd( 80):28-sha1-dh19' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.23' PLUTO_ME='192.1: | cmd( 160):.2.45' PLUTO_MY_ID='@west' PLUTO_MY_CLIENT='192.0.1.0/24' PLUTO_MY_CLIENT_NET='1: | cmd( 240):92.0.1.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOC: | cmd( 320):OL='0' PLUTO_SA_REQID='16388' PLUTO_SA_TYPE='none' PLUTO_PEER='192.1.2.23' PLUTO: | cmd( 400):_PEER_ID='@east' PLUTO_PEER_CLIENT='192.0.2.0/24' PLUTO_PEER_CLIENT_NET='192.0.2: | cmd( 480):.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOC: | cmd( 560):OL='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY: | cmd( 640):='PSK+ENCRYPT+TUNNEL+PFS+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CO: | cmd( 720):NN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER: | cmd( 800):_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='': | cmd( 880): PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' : | cmd( 960):VTI_ROUTING='no' VTI_SHARED='no' SPI_IN=0x0 SPI_OUT=0x0 ipsec _updown 2>&1: "ikev1-ike=aes128-sha1-dh19": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh19": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh19": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh19": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh19": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh19": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh19": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh19": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh19": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh19": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh19": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh19": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh19": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh19": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh19": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh19": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh19": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh19": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh19": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh19": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh19": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh19": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh19": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh19": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh19": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh19": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh19": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh19": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh19": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh19": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh19": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh19": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh19": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh19": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh19": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh19": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh19": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh19": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh19": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh19": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh19": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh19": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh19": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh19": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh19": unroute-client output: Error: Peer netns reference is invalid. | free hp@0x5567ed80c168 | flush revival: connection 'ikev1-ike=aes128-sha1-dh19' wasn't on the list | stop processing: connection "ikev1-ike=aes128-sha1-dh19" (in discard_connection() at connections.c:249) | FOR_EACH_CONNECTION_... in conn_by_name | close_any(fd@16) (in whack_process() at rcv_whack.c:700) | spent 1.31 milliseconds in whack | kernel_process_msg_cb process netlink message | netlink_get: XFRM_MSG_UPDPOLICY message | spent 0.282 milliseconds in kernel message | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00365 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 ikev1-ike=aes128-sha1-dh20 with policy PSK+ENCRYPT+TUNNEL+PFS+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO | ike (phase1) algorithm values: AES_CBC_128-HMAC_SHA1-DH20 | counting wild cards for @west is 0 | counting wild cards for @east is 0 | connect_to_host_pair: 192.1.2.45:500 192.1.2.23:500 -> hp@(nil): none | new hp@0x5567ed80c168 added connection description "ikev1-ike=aes128-sha1-dh20" | ike_life: 3600s; ipsec_life: 28800s; rekey_margin: 540s; rekey_fuzz: 100%; keyingtries: 0; replay_window: 32; policy: PSK+ENCRYPT+TUNNEL+PFS+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO | 192.0.1.0/24===192.1.2.45<192.1.2.45>[@west]...192.1.2.23<192.1.2.23>[@east]===192.0.2.0/24 | close_any(fd@16) (in whack_process() at rcv_whack.c:700) | spent 0.114 milliseconds in whack | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:722) add keyid @west | unreference key: 0x5567ed764c48 @west cnt 1-- | add pubkey 01 03 a6 f5 d6 3f e3 8f 6c 01 6a fc 7b 7c 6d 57 | add pubkey 8b 49 39 0d 77 f7 ac e2 85 f1 98 1e 4b 6d a5 3e | add pubkey b3 96 9a d1 99 5a bc 10 f2 97 de f2 28 f9 5f 92 | add pubkey 09 f0 c8 d4 12 e4 60 6e 9c 60 98 10 01 7d 26 b7 | add pubkey 8f 95 62 2d 87 dd cd de f6 d3 8f 35 b0 50 d0 18 | add pubkey f5 99 f8 04 f1 ff 61 5b bc 7f 1f c0 04 d8 e4 8c | add pubkey ac 34 ad 7a c1 da 3c 2d 8c 30 ae d6 3c 59 b1 3a | add pubkey 94 d3 d5 2a 73 91 bd 59 5f 3e 72 bf 4a 1b 9d c5 | add pubkey b2 2b 4d e7 0d 24 3e 77 f9 7f 2d d6 9d 29 ef 70 | add pubkey 7d 7a 6d a2 b8 61 0c 4b 09 4a 06 71 84 70 85 9a | add pubkey 8f 52 a1 80 06 fd c6 fc 3e 27 fa 16 fa 32 83 a9 | add pubkey ca 80 db 0f 4a bf f7 e9 55 8e bd 29 4d 23 a6 dc | add pubkey 2a b3 5d 62 a9 21 1e be 83 d8 69 3c 03 0a 48 8e | add pubkey d3 3a 11 f2 86 5a d1 30 65 bd c8 f4 83 87 ff 04 | add pubkey 87 33 05 4f e0 d8 8c fe b3 19 4c dd 85 40 f3 4d | add pubkey 6e e8 49 14 06 2c 1f 59 59 05 8f 20 b0 ca 46 3f | add pubkey c9 20 7e 04 30 7d 9a 80 6c 3f 0a 89 f7 d3 af d8 | add pubkey 15 04 37 f9 | computed rsa CKAID b4 9f 1a ac 9e 45 6e 79 29 c8 81 97 3a 0c 6a d3 | computed rsa CKAID 7f 0f 03 50 | close_any(fd@16) (in whack_process() at rcv_whack.c:700) | spent 0.107 milliseconds in whack | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:722) add keyid @east | unreference key: 0x5567ed80c5c8 @east cnt 1-- | add pubkey 01 03 bd 6c 96 eb df 78 89 b3 ed 77 0d a1 7f 7b | add pubkey e5 16 c2 c9 e4 7d 92 0a 90 9d 55 43 b4 62 13 03 | add pubkey 85 7a e0 26 7b 54 1f ca 09 93 cf ff 25 c9 02 4c | add pubkey 78 ca 94 e5 3e ac d1 f9 a8 e5 bb 7f cc 20 84 e0 | add pubkey 21 c9 f0 0d c5 44 ba f3 48 64 61 58 f6 0f 63 0d | add pubkey d2 67 1e 59 8b ec f3 50 39 71 fb 39 da 11 64 b6 | add pubkey 62 cd 5f d3 8d 2e c1 50 ed 9c 6e 22 0c 39 a7 ce | add pubkey 62 b5 af 8a 80 0f 2e 4c 05 5c 82 c7 8d 29 02 2e | add pubkey bb 23 5f db f2 9e b5 7d e2 20 70 1a 63 f3 8e 5d | add pubkey ac 47 f0 5c 26 4e b1 d0 42 60 52 4a b0 77 25 ce | add pubkey e0 98 2b 43 f4 c7 59 1a 64 01 83 ea 4e e3 1a 2a | add pubkey 92 b8 55 ab 63 dd 4b 70 47 29 dc e9 b4 60 bf 43 | add pubkey 4d 58 8f 64 73 95 70 ac 35 89 b2 c2 9c d4 62 c0 | add pubkey 5f 56 5f ad 1b e5 dd 49 93 6a f5 23 82 ed d4 e7 | add pubkey d5 f1 55 f2 2d a2 26 a6 36 53 2f 94 fb 99 22 5c | add pubkey 47 cc 6d 80 30 88 96 38 0c f5 f2 ed 37 d0 09 d5 | add pubkey 07 8f 69 ef a9 99 ce 4d 1a 77 9e 39 c4 38 f3 c5 | add pubkey 51 51 48 ef | computed rsa CKAID 61 55 99 73 d3 ac ef 7d 3a 37 0e 3e 82 ad 92 c1 | computed rsa CKAID 8a 82 25 f1 | close_any(fd@16) (in whack_process() at rcv_whack.c:700) | spent 0.0644 milliseconds in whack | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:722) | dup_any(fd@16) -> fd@23 (in whack_process() at rcv_whack.c:590) | FOR_EACH_CONNECTION_... in conn_by_name | start processing: connection "ikev1-ike=aes128-sha1-dh20" (in initiate_a_connection() at initiate.c:186) | empty esp_info, returning defaults for ENCRYPT | connection 'ikev1-ike=aes128-sha1-dh20' +POLICY_UP | dup_any(fd@23) -> fd@24 (in initiate_a_connection() at initiate.c:342) | FOR_EACH_STATE_... in find_phase1_state | creating state object #3 at 0x5567ed80cb58 | State DB: adding IKEv1 state #3 in UNDEFINED | pstats #3 ikev1.isakmp started | suspend processing: connection "ikev1-ike=aes128-sha1-dh20" (in main_outI1() at ikev1_main.c:118) | start processing: state #3 connection "ikev1-ike=aes128-sha1-dh20" from 192.1.2.23 (in main_outI1() at ikev1_main.c:118) | parent state #3: UNDEFINED(ignore) => MAIN_I1(half-open IKE SA) | dup_any(fd@24) -> fd@25 (in main_outI1() at ikev1_main.c:123) | Queuing pending IPsec SA negotiating with 192.1.2.23 "ikev1-ike=aes128-sha1-dh20" IKE SA #3 "ikev1-ike=aes128-sha1-dh20" "ikev1-ike=aes128-sha1-dh20" #3: initiating Main Mode | **emit ISAKMP Message: | initiator cookie: | 54 49 ba 35 35 80 c5 7e | 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_IDPROT (0x2) | 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 | oakley_alg_makedb() processing ealg=aes=7 halg=sha=2 modp=DH20=20 eklen=128 | oakley_alg_makedb() returning 0x5567ed817588 | ***emit ISAKMP Security Association Payload: | next payload type: ISAKMP_NEXT_VID (0xd) | DOI: ISAKMP_DOI_IPSEC (0x1) | next payload chain: ignoring supplied 'ISAKMP Security Association Payload'.'next payload type' value 13:ISAKMP_NEXT_VID | 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' | ****emit IPsec DOI SIT: | IPsec DOI SIT: SIT_IDENTITY_ONLY (0x1) | ikev1_out_sa pcn: 0 has 1 valid proposals | ikev1_out_sa pcn: 0 pn: 0<1 valid_count: 1 trans_cnt: 1 | ****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' | ******emit ISAKMP Oakley attribute: | af+type: AF+OAKLEY_LIFE_TYPE (0x800b) | length/value: 1 (0x1) | [1 is OAKLEY_LIFE_SECONDS] | ******emit ISAKMP Oakley attribute: | af+type: AF+OAKLEY_LIFE_DURATION (variable length) (0x800c) | length/value: 3600 (0xe10) | ******emit ISAKMP Oakley attribute: | af+type: AF+OAKLEY_ENCRYPTION_ALGORITHM (0x8001) | length/value: 7 (0x7) | [7 is OAKLEY_AES_CBC] | ******emit ISAKMP Oakley attribute: | af+type: AF+OAKLEY_HASH_ALGORITHM (0x8002) | length/value: 2 (0x2) | [2 is OAKLEY_SHA1] | ******emit ISAKMP Oakley attribute: | af+type: AF+OAKLEY_AUTHENTICATION_METHOD (0x8003) | length/value: 1 (0x1) | [1 is OAKLEY_PRESHARED_KEY] | ******emit ISAKMP Oakley attribute: | af+type: AF+OAKLEY_GROUP_DESCRIPTION (0x8004) | length/value: 20 (0x14) | [20 is OAKLEY_GROUP_ECP_384] | ******emit ISAKMP Oakley attribute: | af+type: AF+OAKLEY_KEY_LENGTH (0x800e) | length/value: 128 (0x80) | emitting length of ISAKMP Transform Payload (ISAKMP): 36 | emitting length of ISAKMP Proposal Payload: 44 | last substructure: checking 'ISAKMP Proposal Payload'.'ISAKMP Transform Payload (ISAKMP)'.'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 | 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 Security Association 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 [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 | nat add vid | sending draft and RFC NATT VIDs | out_vid(): sending [RFC 3947] | ***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 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 | skipping VID_NATT_RFC | out_vid(): sending [draft-ietf-ipsec-nat-t-ike-03] | ***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 16 raw bytes of V_ID into ISAKMP Vendor ID Payload | V_ID 7d 94 19 a6 53 10 ca 6f 2c 17 9d 92 15 52 9d 56 | emitting length of ISAKMP Vendor ID Payload: 20 | out_vid(): sending [draft-ietf-ipsec-nat-t-ike-02_n] | ***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 16 raw bytes of V_ID into ISAKMP Vendor ID Payload | V_ID 90 cb 80 91 3e bb 69 6e 08 63 81 b5 ec 42 7b 1f | emitting length of ISAKMP Vendor ID Payload: 20 | out_vid(): sending [draft-ietf-ipsec-nat-t-ike-02] | ***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 cd 60 46 43 35 df 21 f8 7c fd b2 fc 68 b6 a4 48 | emitting length of ISAKMP Vendor ID Payload: 20 | no IKEv1 message padding required | emitting length of ISAKMP Message: 204 | sending 204 bytes for reply packet for main_outI1 through eth1 from 192.1.2.45:500 to 192.1.2.23:500 (using #3) | 54 49 ba 35 35 80 c5 7e 00 00 00 00 00 00 00 00 | 01 10 02 00 00 00 00 00 00 00 00 cc 0d 00 00 38 | 00 00 00 01 00 00 00 01 00 00 00 2c 00 01 00 01 | 00 00 00 24 00 01 00 00 80 0b 00 01 80 0c 0e 10 | 80 01 00 07 80 02 00 02 80 03 00 01 80 04 00 14 | 80 0e 00 80 0d 00 00 14 40 48 b7 d5 6e bc e8 85 | 25 e7 de 7f 00 d6 c2 d3 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 "ikev1-ike=aes128-sha1-dh20" #3: IMPAIR: suppressing retransmits; scheduling timeout in 60 seconds | event_schedule: new EVENT_RETRANSMIT-pe@0x5567ed80d698 | inserting event EVENT_RETRANSMIT, timeout in 60 seconds for #3 | libevent_malloc: new ptr-libevent@0x7f7600000db8 size 128 | #3 STATE_MAIN_I1: retransmits: first event in 60 seconds; timeout in 60 seconds; limit of 12 retransmits; current time is 10399.709315 | #3 spent 0.513 milliseconds in main_outI1() | stop processing: state #3 connection "ikev1-ike=aes128-sha1-dh20" from 192.1.2.23 (in main_outI1() at ikev1_main.c:228) | resume processing: connection "ikev1-ike=aes128-sha1-dh20" (in main_outI1() at ikev1_main.c:228) | stop processing: connection "ikev1-ike=aes128-sha1-dh20" (in initiate_a_connection() at initiate.c:349) | close_any(fd@23) (in initiate_connection() at initiate.c:372) | close_any(fd@16) (in whack_process() at rcv_whack.c:700) | spent 0.586 milliseconds in whack | spent 0.00212 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 144 bytes from 192.1.2.23:500 on eth1 (192.1.2.45:500) | 54 49 ba 35 35 80 c5 7e b6 38 5d 24 58 57 82 ac | 01 10 02 00 00 00 00 00 00 00 00 90 0d 00 00 38 | 00 00 00 01 00 00 00 01 00 00 00 2c 00 01 00 01 | 00 00 00 24 00 01 00 00 80 0b 00 01 80 0c 0e 10 | 80 01 00 07 80 02 00 02 80 03 00 01 80 04 00 14 | 80 0e 00 80 0d 00 00 14 40 48 b7 d5 6e bc e8 85 | 25 e7 de 7f 00 d6 c2 d3 0d 00 00 14 af ca d7 13 | 68 a1 f1 c9 6b 86 96 fc 77 57 01 00 00 00 00 14 | 4a 13 1c 81 07 03 58 45 5c 57 28 f2 0e 95 45 2f | start processing: from 192.1.2.23:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 54 49 ba 35 35 80 c5 7e | responder cookie: | b6 38 5d 24 58 57 82 ac | next payload type: ISAKMP_NEXT_SA (0x1) | ISAKMP version: ISAKMP Version 1.0 (rfc2407) (0x10) | exchange type: ISAKMP_XCHG_IDPROT (0x2) | flags: none (0x0) | Message ID: 0 (0x0) | length: 144 (0x90) | processing version=1.0 packet with exchange type=ISAKMP_XCHG_IDPROT (2) | State DB: IKEv1 state not found (find_state_ikev1) | State DB: found IKEv1 state #3 in MAIN_I1 (find_state_ikev1_init) | start processing: state #3 connection "ikev1-ike=aes128-sha1-dh20" from 192.1.2.23 (in process_v1_packet() at ikev1.c:1459) | #3 is idle | #3 idle | got payload 0x2 (ISAKMP_NEXT_SA) needed: 0x2 opt: 0x2080 | ***parse ISAKMP Security Association Payload: | next payload type: ISAKMP_NEXT_VID (0xd) | length: 56 (0x38) | DOI: ISAKMP_DOI_IPSEC (0x1) | got payload 0x2000 (ISAKMP_NEXT_VID) needed: 0x0 opt: 0x2080 | ***parse ISAKMP Vendor ID Payload: | next payload type: ISAKMP_NEXT_VID (0xd) | length: 20 (0x14) | got payload 0x2000 (ISAKMP_NEXT_VID) needed: 0x0 opt: 0x2080 | ***parse ISAKMP Vendor ID Payload: | next payload type: ISAKMP_NEXT_VID (0xd) | length: 20 (0x14) | got payload 0x2000 (ISAKMP_NEXT_VID) needed: 0x0 opt: 0x2080 | ***parse ISAKMP Vendor ID Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | length: 20 (0x14) | message 'main_inR1_outI2' HASH payload not checked early | received Vendor ID payload [FRAGMENTATION] | received Vendor ID payload [Dead Peer Detection] | quirks.qnat_traversal_vid set to=117 [RFC 3947] | received Vendor ID payload [RFC 3947] | ****parse IPsec DOI SIT: | IPsec DOI SIT: SIT_IDENTITY_ONLY (0x1) | ****parse ISAKMP Proposal Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | length: 44 (0x2c) | 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: 36 (0x24) | 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: 7 (0x7) | [7 is OAKLEY_AES_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: 1 (0x1) | [1 is OAKLEY_PRESHARED_KEY] | started looking for secret for @west->@east of kind PKK_PSK | actually looking for secret for @west->@east of kind PKK_PSK | line 1: key type PKK_PSK(@west) to type PKK_PSK | 1: compared key @east to @west / @east -> 004 | 2: compared key @west to @west / @east -> 014 | line 1: match=014 | match 014 beats previous best_match 000 match=0x5567ed764b58 (line=1) | concluding with best_match=014 best=0x5567ed764b58 (lineno=1) | ******parse ISAKMP Oakley attribute: | af+type: AF+OAKLEY_GROUP_DESCRIPTION (0x8004) | length/value: 20 (0x14) | [20 is OAKLEY_GROUP_ECP_384] | ******parse ISAKMP Oakley attribute: | af+type: AF+OAKLEY_KEY_LENGTH (0x800e) | length/value: 128 (0x80) | OAKLEY proposal verified; matching alg_info found | Oakley Transform 0 accepted | 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) | adding outI2 KE work-order 5 for state #3 | state #3 requesting EVENT_RETRANSMIT to be deleted | #3 STATE_MAIN_I1: retransmits: cleared | libevent_free: release ptr-libevent@0x7f7600000db8 | free_event_entry: release EVENT_RETRANSMIT-pe@0x5567ed80d698 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x5567ed80d698 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #3 | libevent_malloc: new ptr-libevent@0x7f7600000db8 size 128 | complete v1 state transition with STF_SUSPEND | [RE]START processing: state #3 connection "ikev1-ike=aes128-sha1-dh20" from 192.1.2.23 (in complete_v1_state_transition() at ikev1.c:2648) | suspending state #3 and saving MD | #3 is busy; has a suspended MD | crypto helper 4 resuming | crypto helper 4 starting work-order 5 for state #3 | #3 spent 0.0985 milliseconds in process_packet_tail() | crypto helper 4 doing build KE and nonce (outI2 KE); request ID 5 | stop processing: from 192.1.2.23:500 (BACKGROUND) (in process_md() at demux.c:380) | stop processing: state #3 connection "ikev1-ike=aes128-sha1-dh20" from 192.1.2.23 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.217 milliseconds in comm_handle_cb() reading and processing packet | crypto helper 4 finished build KE and nonce (outI2 KE); request ID 5 time elapsed 0.00344 seconds | (#3) spent 3.43 milliseconds in crypto helper computing work-order 5: outI2 KE (pcr) | crypto helper 4 sending results from work-order 5 for state #3 to event queue | scheduling resume sending helper answer for #3 | libevent_malloc: new ptr-libevent@0x7f76040011e8 size 128 | crypto helper 4 waiting (nothing to do) | processing resume sending helper answer for #3 | start processing: state #3 connection "ikev1-ike=aes128-sha1-dh20" from 192.1.2.23 (in resume_handler() at server.c:797) | crypto helper 4 replies to request ID 5 | calling continuation function 0x5567ec0bcb50 | main_inR1_outI2_continue for #3: calculated ke+nonce, sending I2 | **emit ISAKMP Message: | initiator cookie: | 54 49 ba 35 35 80 c5 7e | responder cookie: | b6 38 5d 24 58 57 82 ac | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: ISAKMP Version 1.0 (rfc2407) (0x10) | exchange type: ISAKMP_XCHG_IDPROT (0x2) | flags: none (0x0) | Message ID: 0 (0x0) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | ***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 Message'.'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 96 raw bytes of keyex value into ISAKMP Key Exchange Payload | keyex value 36 45 72 b8 51 52 82 78 68 3d 87 9a a5 a1 4b 6c | keyex value 2b ee dc ff 00 1a 3a 84 5d 9b b1 71 ae ac d9 1e | keyex value aa 26 1e 38 78 f3 25 9d 31 bc 4d 31 21 1c 65 2e | keyex value 1f bf f9 81 27 81 a9 31 62 5f 3e 62 1c 43 72 fd | keyex value e2 6e 12 ca 02 ec 75 39 cd 54 84 21 fe 33 17 4f | keyex value 75 a3 e7 c6 96 00 ee e2 10 1d 3c b4 05 70 0a 9c | emitting length of ISAKMP Key Exchange Payload: 100 | ***emit ISAKMP Nonce Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | 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 Ni into ISAKMP Nonce Payload | Ni fc b2 4d a4 14 bf 80 f5 b3 d0 7c e5 3c d6 96 7b | Ni 34 34 2c f0 e1 ac 5a e0 d3 be fb 6c 94 97 93 12 | emitting length of ISAKMP Nonce Payload: 36 | NAT-T checking st_nat_traversal | NAT-T found (implies NAT_T_WITH_NATD) | sending NAT-D payloads | natd_hash: hasher=0x5567ec191800(20) | natd_hash: icookie= 54 49 ba 35 35 80 c5 7e | natd_hash: rcookie= b6 38 5d 24 58 57 82 ac | natd_hash: ip= c0 01 02 17 | natd_hash: port=500 | natd_hash: hash= 05 2b fa 8d 86 56 27 62 5a 4b 33 35 c1 f2 1e 62 | natd_hash: hash= 6f 01 2a 24 | ***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 Nonce 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 05 2b fa 8d 86 56 27 62 5a 4b 33 35 c1 f2 1e 62 | NAT-D 6f 01 2a 24 | emitting length of ISAKMP NAT-D Payload: 24 | natd_hash: hasher=0x5567ec191800(20) | natd_hash: icookie= 54 49 ba 35 35 80 c5 7e | natd_hash: rcookie= b6 38 5d 24 58 57 82 ac | natd_hash: ip= c0 01 02 2d | natd_hash: port=500 | natd_hash: hash= d4 90 13 68 7a 78 a3 3c 92 5c c0 ba 4e 29 73 ea | natd_hash: hash= 8e c4 89 cb | ***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 d4 90 13 68 7a 78 a3 3c 92 5c c0 ba 4e 29 73 ea | NAT-D 8e c4 89 cb | emitting length of ISAKMP NAT-D Payload: 24 | no IKEv1 message padding required | emitting length of ISAKMP Message: 212 | State DB: re-hashing IKEv1 state #3 IKE SPIi and SPI[ir] | complete v1 state transition with STF_OK | [RE]START processing: state #3 connection "ikev1-ike=aes128-sha1-dh20" from 192.1.2.23 (in complete_v1_state_transition() at ikev1.c:2673) | #3 is idle | doing_xauth:no, t_xauth_client_done:no | peer supports fragmentation | peer supports DPD | IKEv1: transition from state STATE_MAIN_I1 to state STATE_MAIN_I2 | parent state #3: MAIN_I1(half-open IKE SA) => MAIN_I2(open IKE SA) | event_already_set, deleting event | state #3 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x7f7600000db8 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x5567ed80d698 | sending reply packet to 192.1.2.23:500 (from 192.1.2.45:500) | sending 212 bytes for STATE_MAIN_I1 through eth1 from 192.1.2.45:500 to 192.1.2.23:500 (using #3) | 54 49 ba 35 35 80 c5 7e b6 38 5d 24 58 57 82 ac | 04 10 02 00 00 00 00 00 00 00 00 d4 0a 00 00 64 | 36 45 72 b8 51 52 82 78 68 3d 87 9a a5 a1 4b 6c | 2b ee dc ff 00 1a 3a 84 5d 9b b1 71 ae ac d9 1e | aa 26 1e 38 78 f3 25 9d 31 bc 4d 31 21 1c 65 2e | 1f bf f9 81 27 81 a9 31 62 5f 3e 62 1c 43 72 fd | e2 6e 12 ca 02 ec 75 39 cd 54 84 21 fe 33 17 4f | 75 a3 e7 c6 96 00 ee e2 10 1d 3c b4 05 70 0a 9c | 14 00 00 24 fc b2 4d a4 14 bf 80 f5 b3 d0 7c e5 | 3c d6 96 7b 34 34 2c f0 e1 ac 5a e0 d3 be fb 6c | 94 97 93 12 14 00 00 18 05 2b fa 8d 86 56 27 62 | 5a 4b 33 35 c1 f2 1e 62 6f 01 2a 24 00 00 00 18 | d4 90 13 68 7a 78 a3 3c 92 5c c0 ba 4e 29 73 ea | 8e c4 89 cb | !event_already_set at reschedule "ikev1-ike=aes128-sha1-dh20" #3: IMPAIR: suppressing retransmits; scheduling timeout in 60 seconds | event_schedule: new EVENT_RETRANSMIT-pe@0x5567ed80d698 | inserting event EVENT_RETRANSMIT, timeout in 60 seconds for #3 | libevent_malloc: new ptr-libevent@0x5567ed80f8b8 size 128 | #3 STATE_MAIN_I2: retransmits: first event in 60 seconds; timeout in 60 seconds; limit of 12 retransmits; current time is 10399.713848 "ikev1-ike=aes128-sha1-dh20" #3: STATE_MAIN_I2: sent MI2, expecting MR2 | modecfg pull: noquirk policy:push not-client | phase 1 is done, looking for phase 2 to unpend | resume sending helper answer for #3 suppresed complete_v1_state_transition() | #3 spent 0.229 milliseconds in resume sending helper answer | stop processing: state #3 connection "ikev1-ike=aes128-sha1-dh20" from 192.1.2.23 (in resume_handler() at server.c:833) | libevent_free: release ptr-libevent@0x7f76040011e8 | spent 0.00238 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 212 bytes from 192.1.2.23:500 on eth1 (192.1.2.45:500) | 54 49 ba 35 35 80 c5 7e b6 38 5d 24 58 57 82 ac | 04 10 02 00 00 00 00 00 00 00 00 d4 0a 00 00 64 | e5 f2 15 2b d1 3b 3e 21 a8 12 ad 41 e4 b6 47 4b | d2 d7 09 c7 03 a0 24 47 2b 48 18 6a fc 11 b8 5a | a0 91 bb ee 6b c5 a0 e6 32 3f ff 72 14 d1 2f bd | 01 81 7e d4 a5 be 76 06 15 bf 8d ca f8 69 e4 d2 | 17 8b b6 36 fb af 66 6b 40 79 ca 8a 19 97 20 16 | 6d e9 76 59 d9 43 c9 3b ec 88 37 7d a8 c0 b2 0f | 14 00 00 24 3c 90 ff 73 3a 06 b3 32 bf a8 97 83 | 48 b4 e8 52 ff 1f e4 80 10 19 5b ca 81 d7 e3 64 | e5 b6 80 0c 14 00 00 18 d4 90 13 68 7a 78 a3 3c | 92 5c c0 ba 4e 29 73 ea 8e c4 89 cb 00 00 00 18 | 05 2b fa 8d 86 56 27 62 5a 4b 33 35 c1 f2 1e 62 | 6f 01 2a 24 | start processing: from 192.1.2.23:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 54 49 ba 35 35 80 c5 7e | responder cookie: | b6 38 5d 24 58 57 82 ac | next payload type: ISAKMP_NEXT_KE (0x4) | ISAKMP version: ISAKMP Version 1.0 (rfc2407) (0x10) | exchange type: ISAKMP_XCHG_IDPROT (0x2) | flags: none (0x0) | Message ID: 0 (0x0) | length: 212 (0xd4) | processing version=1.0 packet with exchange type=ISAKMP_XCHG_IDPROT (2) | State DB: found IKEv1 state #3 in MAIN_I2 (find_state_ikev1) | start processing: state #3 connection "ikev1-ike=aes128-sha1-dh20" from 192.1.2.23 (in process_v1_packet() at ikev1.c:1459) | #3 is idle | #3 idle | got payload 0x10 (ISAKMP_NEXT_KE) needed: 0x410 opt: 0x102080 | ***parse ISAKMP Key Exchange Payload: | next payload type: ISAKMP_NEXT_NONCE (0xa) | length: 100 (0x64) | got payload 0x400 (ISAKMP_NEXT_NONCE) needed: 0x400 opt: 0x102080 | ***parse ISAKMP Nonce Payload: | next payload type: ISAKMP_NEXT_NATD_RFC (0x14) | length: 36 (0x24) | got payload 0x100000 (ISAKMP_NEXT_NATD_RFC) needed: 0x0 opt: 0x102080 | ***parse ISAKMP NAT-D Payload: | next payload type: ISAKMP_NEXT_NATD_RFC (0x14) | length: 24 (0x18) | got payload 0x100000 (ISAKMP_NEXT_NATD_RFC) needed: 0x0 opt: 0x102080 | ***parse ISAKMP NAT-D Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | length: 24 (0x18) | message 'main_inR2_outI3' HASH payload not checked early | started looking for secret for @west->@east of kind PKK_PSK | actually looking for secret for @west->@east of kind PKK_PSK | line 1: key type PKK_PSK(@west) to type PKK_PSK | 1: compared key @east to @west / @east -> 004 | 2: compared key @west to @west / @east -> 014 | line 1: match=014 | match 014 beats previous best_match 000 match=0x5567ed764b58 (line=1) | concluding with best_match=014 best=0x5567ed764b58 (lineno=1) | adding aggr outR1 DH work-order 6 for state #3 | state #3 requesting EVENT_RETRANSMIT to be deleted | #3 STATE_MAIN_I2: retransmits: cleared | libevent_free: release ptr-libevent@0x5567ed80f8b8 | free_event_entry: release EVENT_RETRANSMIT-pe@0x5567ed80d698 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x5567ed80d698 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #3 | libevent_malloc: new ptr-libevent@0x7f76040011e8 size 128 | complete v1 state transition with STF_SUSPEND | [RE]START processing: state #3 connection "ikev1-ike=aes128-sha1-dh20" from 192.1.2.23 (in complete_v1_state_transition() at ikev1.c:2648) | crypto helper 5 resuming | suspending state #3 and saving MD | crypto helper 5 starting work-order 6 for state #3 | #3 is busy; has a suspended MD | crypto helper 5 doing compute dh+iv (V1 Phase 1) (aggr outR1 DH); request ID 6 | #3 spent 0.0478 milliseconds in process_packet_tail() | stop processing: from 192.1.2.23:500 (BACKGROUND) (in process_md() at demux.c:380) | stop processing: state #3 connection "ikev1-ike=aes128-sha1-dh20" from 192.1.2.23 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.156 milliseconds in comm_handle_cb() reading and processing packet | crypto helper 5 finished compute dh+iv (V1 Phase 1) (aggr outR1 DH); request ID 6 time elapsed 0.002174 seconds | (#3) spent 2.17 milliseconds in crypto helper computing work-order 6: aggr outR1 DH (pcr) | crypto helper 5 sending results from work-order 6 for state #3 to event queue | scheduling resume sending helper answer for #3 | libevent_malloc: new ptr-libevent@0x7f75f80026f8 size 128 | crypto helper 5 waiting (nothing to do) | processing resume sending helper answer for #3 | start processing: state #3 connection "ikev1-ike=aes128-sha1-dh20" from 192.1.2.23 (in resume_handler() at server.c:797) | crypto helper 5 replies to request ID 6 | calling continuation function 0x5567ec0bcb50 | main_inR2_outI3_cryptotail for #3: calculated DH, sending R1 | **emit ISAKMP Message: | initiator cookie: | 54 49 ba 35 35 80 c5 7e | responder cookie: | b6 38 5d 24 58 57 82 ac | next payload type: ISAKMP_NEXT_ID (0x5) | ISAKMP version: ISAKMP Version 1.0 (rfc2407) (0x10) | exchange type: ISAKMP_XCHG_IDPROT (0x2) | flags: ISAKMP_FLAG_v1_ENCRYPTION (0x1) | 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 5:ISAKMP_NEXT_ID | 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 | I will NOT send an initial contact payload | init checking NAT-T: enabled; RFC 3947 (NAT-Traversal) | natd_hash: hasher=0x5567ec191800(20) | natd_hash: icookie= 54 49 ba 35 35 80 c5 7e | natd_hash: rcookie= b6 38 5d 24 58 57 82 ac | natd_hash: ip= c0 01 02 2d | natd_hash: port=500 | natd_hash: hash= d4 90 13 68 7a 78 a3 3c 92 5c c0 ba 4e 29 73 ea | natd_hash: hash= 8e c4 89 cb | natd_hash: hasher=0x5567ec191800(20) | natd_hash: icookie= 54 49 ba 35 35 80 c5 7e | natd_hash: rcookie= b6 38 5d 24 58 57 82 ac | natd_hash: ip= c0 01 02 17 | natd_hash: port=500 | natd_hash: hash= 05 2b fa 8d 86 56 27 62 5a 4b 33 35 c1 f2 1e 62 | natd_hash: hash= 6f 01 2a 24 | expected NAT-D(me): d4 90 13 68 7a 78 a3 3c 92 5c c0 ba 4e 29 73 ea | expected NAT-D(me): 8e c4 89 cb | expected NAT-D(him): | 05 2b fa 8d 86 56 27 62 5a 4b 33 35 c1 f2 1e 62 | 6f 01 2a 24 | received NAT-D: d4 90 13 68 7a 78 a3 3c 92 5c c0 ba 4e 29 73 ea | received NAT-D: 8e c4 89 cb | received NAT-D: 05 2b fa 8d 86 56 27 62 5a 4b 33 35 c1 f2 1e 62 | received NAT-D: 6f 01 2a 24 | NAT_TRAVERSAL encaps using auto-detect | NAT_TRAVERSAL this end is NOT behind NAT | NAT_TRAVERSAL that end is NOT behind NAT | NAT_TRAVERSAL nat-keepalive enabled 192.1.2.23 | NAT-Traversal: Result using RFC 3947 (NAT-Traversal) sender port 500: no NAT detected | NAT_T_WITH_KA detected | ***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 Message'.'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 77 65 73 74 | emitting length of ISAKMP Identification Payload (IPsec DOI): 12 | ***emit ISAKMP Hash Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | 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_I into ISAKMP Hash Payload | HASH_I 8b a1 47 2e ef 72 fb f7 4f ef 2a dd 5c 66 32 af | HASH_I b7 b7 bd c4 | emitting length of ISAKMP Hash Payload: 24 | Not sending INITIAL_CONTACT | emitting 12 zero bytes of encryption padding into ISAKMP Message | no IKEv1 message padding required | emitting length of ISAKMP Message: 76 | complete v1 state transition with STF_OK | [RE]START processing: state #3 connection "ikev1-ike=aes128-sha1-dh20" from 192.1.2.23 (in complete_v1_state_transition() at ikev1.c:2673) | #3 is idle | doing_xauth:no, t_xauth_client_done:no | IKEv1: transition from state STATE_MAIN_I2 to state STATE_MAIN_I3 | parent state #3: MAIN_I2(open IKE SA) => MAIN_I3(open IKE SA) | event_already_set, deleting event | state #3 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x7f76040011e8 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x5567ed80d698 | sending reply packet to 192.1.2.23:500 (from 192.1.2.45:500) | sending 76 bytes for STATE_MAIN_I2 through eth1 from 192.1.2.45:500 to 192.1.2.23:500 (using #3) | 54 49 ba 35 35 80 c5 7e b6 38 5d 24 58 57 82 ac | 05 10 02 01 00 00 00 00 00 00 00 4c d5 0e 50 de | 52 c4 b7 c1 5b 56 4f 43 eb 1f 2d 74 d2 fb 03 14 | 90 00 38 ea 87 34 f5 32 cc 6e 2f 3e 12 10 f6 de | 28 53 c7 7e 42 31 b9 e0 e7 58 7c f7 | !event_already_set at reschedule "ikev1-ike=aes128-sha1-dh20" #3: IMPAIR: suppressing retransmits; scheduling timeout in 60 seconds | event_schedule: new EVENT_RETRANSMIT-pe@0x5567ed80d698 | inserting event EVENT_RETRANSMIT, timeout in 60 seconds for #3 | libevent_malloc: new ptr-libevent@0x5567ed811cd8 size 128 | #3 STATE_MAIN_I3: retransmits: first event in 60 seconds; timeout in 60 seconds; limit of 12 retransmits; current time is 10399.719673 "ikev1-ike=aes128-sha1-dh20" #3: STATE_MAIN_I3: sent MI3, expecting MR3 | modecfg pull: noquirk policy:push not-client | phase 1 is done, looking for phase 2 to unpend | resume sending helper answer for #3 suppresed complete_v1_state_transition() | #3 spent 0.217 milliseconds in resume sending helper answer | stop processing: state #3 connection "ikev1-ike=aes128-sha1-dh20" from 192.1.2.23 (in resume_handler() at server.c:833) | libevent_free: release ptr-libevent@0x7f75f80026f8 | spent 0.00239 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 76 bytes from 192.1.2.23:500 on eth1 (192.1.2.45:500) | 54 49 ba 35 35 80 c5 7e b6 38 5d 24 58 57 82 ac | 05 10 02 01 00 00 00 00 00 00 00 4c 13 f9 ed 28 | 3f 67 85 80 13 e3 f7 c0 ed cd 15 6e 1f 10 b5 ae | dd 1c 3e dd 64 f1 21 19 8d d8 03 4d ec bb 7d 5b | 89 c6 ca 42 10 30 43 79 59 69 b7 45 | start processing: from 192.1.2.23:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 54 49 ba 35 35 80 c5 7e | responder cookie: | b6 38 5d 24 58 57 82 ac | next payload type: ISAKMP_NEXT_ID (0x5) | ISAKMP version: ISAKMP Version 1.0 (rfc2407) (0x10) | exchange type: ISAKMP_XCHG_IDPROT (0x2) | flags: ISAKMP_FLAG_v1_ENCRYPTION (0x1) | Message ID: 0 (0x0) | length: 76 (0x4c) | processing version=1.0 packet with exchange type=ISAKMP_XCHG_IDPROT (2) | State DB: found IKEv1 state #3 in MAIN_I3 (find_state_ikev1) | start processing: state #3 connection "ikev1-ike=aes128-sha1-dh20" from 192.1.2.23 (in process_v1_packet() at ikev1.c:1459) | #3 is idle | #3 idle | received encrypted packet from 192.1.2.23:500 | got payload 0x20 (ISAKMP_NEXT_ID) needed: 0x120 opt: 0x2080 | ***parse ISAKMP Identification Payload: | next payload type: ISAKMP_NEXT_HASH (0x8) | length: 12 (0xc) | ID type: ID_FQDN (0x2) | DOI specific A: 0 (0x0) | DOI specific B: 0 (0x0) | obj: 65 61 73 74 | got payload 0x100 (ISAKMP_NEXT_HASH) needed: 0x100 opt: 0x2080 | ***parse ISAKMP Hash Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | length: 24 (0x18) | removing 12 bytes of padding | message 'main_inR3' HASH payload not checked early "ikev1-ike=aes128-sha1-dh20" #3: Peer ID is ID_FQDN: '@east' | X509: no CERT payloads to process | received 'Main' message HASH_R data ok | FOR_EACH_CONNECTION_... in ISAKMP_SA_established | complete v1 state transition with STF_OK | [RE]START processing: state #3 connection "ikev1-ike=aes128-sha1-dh20" from 192.1.2.23 (in complete_v1_state_transition() at ikev1.c:2673) | #3 is idle | doing_xauth:no, t_xauth_client_done:no | IKEv1: transition from state STATE_MAIN_I3 to state STATE_MAIN_I4 | parent state #3: MAIN_I3(open IKE SA) => MAIN_I4(established IKE SA) | event_already_set, deleting event | state #3 requesting EVENT_RETRANSMIT to be deleted | #3 STATE_MAIN_I4: retransmits: cleared | libevent_free: release ptr-libevent@0x5567ed811cd8 | free_event_entry: release EVENT_RETRANSMIT-pe@0x5567ed80d698 | !event_already_set at reschedule | event_schedule: new EVENT_SA_REPLACE-pe@0x5567ed80d698 | inserting event EVENT_SA_REPLACE, timeout in 2638 seconds for #3 | libevent_malloc: new ptr-libevent@0x7f75f80026f8 size 128 | pstats #3 ikev1.isakmp established "ikev1-ike=aes128-sha1-dh20" #3: STATE_MAIN_I4: ISAKMP SA established {auth=PRESHARED_KEY cipher=AES_CBC_128 integ=HMAC_SHA1 group=DH20} | DPD: dpd_init() called on ISAKMP SA | DPD: Peer supports Dead Peer Detection | DPD: not initializing DPD because DPD is disabled locally | modecfg pull: noquirk policy:push not-client | phase 1 is done, looking for phase 2 to unpend | unpending state #3 | creating state object #4 at 0x5567ed80fbc8 | State DB: adding IKEv1 state #4 in UNDEFINED | pstats #4 ikev1.ipsec started | duplicating state object #3 "ikev1-ike=aes128-sha1-dh20" as #4 for IPSEC SA | #4 setting local endpoint to 192.1.2.45:500 from #3.st_localport (in duplicate_state() at state.c:1484) | suspend processing: state #3 connection "ikev1-ike=aes128-sha1-dh20" from 192.1.2.23 (in quick_outI1() at ikev1_quick.c:685) | start processing: state #4 connection "ikev1-ike=aes128-sha1-dh20" from 192.1.2.23 (in quick_outI1() at ikev1_quick.c:685) | child state #4: UNDEFINED(ignore) => QUICK_I1(established CHILD SA) "ikev1-ike=aes128-sha1-dh20" #4: initiating Quick Mode PSK+ENCRYPT+TUNNEL+PFS+UP+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO {using isakmp#3 msgid:885f2ee3 proposal=defaults pfsgroup=DH20} | adding quick_outI1 KE work-order 7 for state #4 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x5567ed80f2f8 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #4 | libevent_malloc: new ptr-libevent@0x5567ed80f968 size 128 | stop processing: state #4 connection "ikev1-ike=aes128-sha1-dh20" from 192.1.2.23 (in quick_outI1() at ikev1_quick.c:764) | resume processing: state #3 connection "ikev1-ike=aes128-sha1-dh20" from 192.1.2.23 (in quick_outI1() at ikev1_quick.c:764) | unqueuing pending Quick Mode with 192.1.2.23 "ikev1-ike=aes128-sha1-dh20" | crypto helper 6 resuming | crypto helper 6 starting work-order 7 for state #4 | removing pending policy for no connection {0x5567ed764128} | crypto helper 6 doing build KE and nonce (quick_outI1 KE); request ID 7 | close_any(fd@24) (in release_whack() at state.c:654) | #3 spent 0.23 milliseconds in process_packet_tail() | stop processing: from 192.1.2.23:500 (BACKGROUND) (in process_md() at demux.c:380) | stop processing: state #3 connection "ikev1-ike=aes128-sha1-dh20" from 192.1.2.23 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.322 milliseconds in comm_handle_cb() reading and processing packet | crypto helper 6 finished build KE and nonce (quick_outI1 KE); request ID 7 time elapsed 0.002131 seconds | (#4) spent 2.13 milliseconds in crypto helper computing work-order 7: quick_outI1 KE (pcr) | crypto helper 6 sending results from work-order 7 for state #4 to event queue | scheduling resume sending helper answer for #4 | libevent_malloc: new ptr-libevent@0x7f75fc0011e8 size 128 | crypto helper 6 waiting (nothing to do) | processing resume sending helper answer for #4 | start processing: state #4 connection "ikev1-ike=aes128-sha1-dh20" from 192.1.2.23 (in resume_handler() at server.c:797) | crypto helper 6 replies to request ID 7 | calling continuation function 0x5567ec0bcb50 | quick_outI1_continue for #4: calculated ke+nonce, sending I1 | **emit ISAKMP Message: | initiator cookie: | 54 49 ba 35 35 80 c5 7e | responder cookie: | b6 38 5d 24 58 57 82 ac | 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: 2287939299 (0x885f2ee3) | 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 | emitting quick defaults using policy none | empty esp_info, returning defaults for ENCRYPT | ***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' | ****emit IPsec DOI SIT: | IPsec DOI SIT: SIT_IDENTITY_ONLY (0x1) | ikev1_out_sa pcn: 0 has 1 valid proposals | ikev1_out_sa pcn: 0 pn: 0<1 valid_count: 1 trans_cnt: 2 | ****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: 2 (0x2) | last substructure: saving location 'ISAKMP Security Association Payload'.'ISAKMP Proposal Payload'.'next payload type' | netlink_get_spi: allocated 0xb99b3ed6 for esp.0@192.1.2.45 | emitting 4 raw bytes of SPI into ISAKMP Proposal Payload | SPI b9 9b 3e d6 | *****emit ISAKMP Transform Payload (ESP): | next payload type: ISAKMP_NEXT_T (0x3) | 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' | ******emit ISAKMP IPsec DOI attribute: | af+type: AF+GROUP_DESCRIPTION (0x8003) | length/value: 20 (0x14) | [20 is OAKLEY_GROUP_ECP_384] | ******emit ISAKMP IPsec DOI attribute: | af+type: AF+ENCAPSULATION_MODE (0x8004) | length/value: 1 (0x1) | [1 is ENCAPSULATION_MODE_TUNNEL] | ******emit ISAKMP IPsec DOI attribute: | af+type: AF+SA_LIFE_TYPE (0x8001) | length/value: 1 (0x1) | [1 is SA_LIFE_TYPE_SECONDS] | ******emit ISAKMP IPsec DOI attribute: | af+type: AF+SA_LIFE_DURATION (variable length) (0x8002) | length/value: 28800 (0x7080) | ******emit ISAKMP IPsec DOI attribute: | af+type: AF+AUTH_ALGORITHM (0x8005) | length/value: 2 (0x2) | [2 is AUTH_ALGORITHM_HMAC_SHA1] | ******emit ISAKMP IPsec DOI attribute: | af+type: AF+KEY_LENGTH (0x8006) | length/value: 128 (0x80) | emitting length of ISAKMP Transform Payload (ESP): 32 | *****emit ISAKMP Transform Payload (ESP): | next payload type: ISAKMP_NEXT_NONE (0x0) | ESP transform number: 1 (0x1) | ESP transform ID: ESP_3DES (0x3) | last substructure: checking 'ISAKMP Proposal Payload'.'ISAKMP Transform Payload (ESP)'.'next payload type' is ISAKMP_NEXT_T (0x3) | last substructure: saving location 'ISAKMP Proposal Payload'.'ISAKMP Transform Payload (ESP)'.'next payload type' | ******emit ISAKMP IPsec DOI attribute: | af+type: AF+GROUP_DESCRIPTION (0x8003) | length/value: 20 (0x14) | [20 is OAKLEY_GROUP_ECP_384] | ******emit ISAKMP IPsec DOI attribute: | af+type: AF+ENCAPSULATION_MODE (0x8004) | length/value: 1 (0x1) | [1 is ENCAPSULATION_MODE_TUNNEL] | ******emit ISAKMP IPsec DOI attribute: | af+type: AF+SA_LIFE_TYPE (0x8001) | length/value: 1 (0x1) | [1 is SA_LIFE_TYPE_SECONDS] | ******emit ISAKMP IPsec DOI attribute: | af+type: AF+SA_LIFE_DURATION (variable length) (0x8002) | length/value: 28800 (0x7080) | ******emit ISAKMP IPsec DOI attribute: | af+type: AF+AUTH_ALGORITHM (0x8005) | length/value: 2 (0x2) | [2 is AUTH_ALGORITHM_HMAC_SHA1] | emitting length of ISAKMP Transform Payload (ESP): 28 | emitting length of ISAKMP Proposal Payload: 72 | last substructure: checking 'ISAKMP Proposal Payload'.'ISAKMP Transform Payload (ESP)'.'next payload type' is 0 | emitting length of ISAKMP Security Association Payload: 84 | last substructure: checking 'ISAKMP Security Association Payload'.'ISAKMP Proposal Payload'.'next payload type' is 0 | ***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 Ni into ISAKMP Nonce Payload | Ni 12 5e 7e b2 c0 97 7d c0 95 f8 ba 6e c0 fc 07 e0 | Ni 0c 0a 3a 3f 4c d4 01 a2 25 c0 39 4d 0c a1 8f 71 | 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 96 raw bytes of keyex value into ISAKMP Key Exchange Payload | keyex value c5 a4 70 35 9a 54 d7 8b 9d 72 ff 7b fb 02 e0 57 | keyex value 2f 90 35 7f a5 47 44 ee 17 16 fc 8f 94 82 96 d6 | keyex value 31 49 bb bf a2 38 af 0c fb 88 c9 11 0c fb 8d 17 | keyex value a5 63 37 71 64 de c9 63 9d 3b 6e de 9a 2a c1 ba | keyex value 5b 14 cd b4 81 08 b6 9e 64 53 52 55 fa f7 7e 9f | keyex value f8 c1 83 fb 1a 88 e5 18 26 ca 55 ae 49 df d9 33 | emitting length of ISAKMP Key Exchange Payload: 100 | ***emit ISAKMP Identification Payload (IPsec DOI): | next payload type: ISAKMP_NEXT_ID (0x5) | ID type: ID_IPV4_ADDR_SUBNET (0x4) | 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 client network into ISAKMP Identification Payload (IPsec DOI) | client network c0 00 01 00 | emitting 4 raw bytes of client mask into ISAKMP Identification Payload (IPsec DOI) | client mask ff ff ff 00 | emitting length of ISAKMP Identification Payload (IPsec DOI): 16 | ***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 4 raw bytes of client network into ISAKMP Identification Payload (IPsec DOI) | client network c0 00 02 00 | emitting 4 raw bytes of client mask into ISAKMP Identification Payload (IPsec DOI) | client mask ff ff ff 00 | emitting length of ISAKMP Identification Payload (IPsec DOI): 16 | outI1 HASH(1): | 84 8f 72 ac bf 7d 16 24 52 87 55 e9 69 6f 84 90 | 70 bc 5e e4 | emitting 12 zero bytes of encryption padding into ISAKMP Message | no IKEv1 message padding required | emitting length of ISAKMP Message: 316 | sending 316 bytes for reply packet from quick_outI1 through eth1 from 192.1.2.45:500 to 192.1.2.23:500 (using #4) | 54 49 ba 35 35 80 c5 7e b6 38 5d 24 58 57 82 ac | 08 10 20 01 88 5f 2e e3 00 00 01 3c 3a 3d db 76 | 92 a2 72 95 c3 b7 f2 f4 49 c5 5e fb 4e 1b fa 37 | e0 06 1a c0 07 04 61 3a 8e ed 28 5e 04 a1 2c 28 | 04 b5 72 1d f9 79 aa d1 e5 2a 14 5d e1 33 63 50 | 16 95 a1 ec d3 67 0b fd 3a b8 13 c7 b8 68 20 66 | 8c fb 3c 56 9e ee 53 18 19 17 51 11 b4 94 6e 0a | 83 1b 6a f3 ce 90 8c 74 54 89 da e9 d2 2e 8a b2 | 6e 76 b6 fe c8 5f ef e9 df e5 ff 76 7e 25 05 cc | 40 1e 2d 5a 8e 36 c4 b6 94 84 90 fc 51 e0 d8 dc | 53 17 cf 9b 68 dd 43 3a 14 64 ac 5e 25 35 80 94 | 57 a9 58 8e 6d 81 c9 4d d6 e9 8a e7 62 76 b0 0f | 12 7a d1 c5 49 0e 68 2a 3d 2c a7 8a 52 72 15 a4 | 6b 53 1c a0 13 ca 2f 27 e1 05 40 6c 88 ed 92 70 | 63 03 f0 ca 30 ea ef a6 6d 3c 3d 30 2a f6 1a 0c | 9d 04 d4 07 de 7d 30 dd c2 03 b8 05 8b 0b 57 23 | 65 8d 04 cf 23 3b 34 ce 64 78 f1 d6 cb d6 4e e9 | 0b 68 5e 4c 72 e2 35 92 f9 8b 25 bb e1 ee b9 6a | c8 4b fb cb ef c7 c8 6d c8 43 ea a0 95 77 b0 97 | e0 b0 12 c7 04 16 2b eb 98 9c 5d 51 | state #4 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x5567ed80f968 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x5567ed80f2f8 "ikev1-ike=aes128-sha1-dh20" #4: IMPAIR: suppressing retransmits; scheduling timeout in 60 seconds | event_schedule: new EVENT_RETRANSMIT-pe@0x5567ed80f2f8 | inserting event EVENT_RETRANSMIT, timeout in 60 seconds for #4 | libevent_malloc: new ptr-libevent@0x5567ed80f8b8 size 128 | #4 STATE_QUICK_I1: retransmits: first event in 60 seconds; timeout in 60 seconds; limit of 12 retransmits; current time is 10399.723462 | resume sending helper answer for #4 suppresed complete_v1_state_transition() | #4 spent 0.32 milliseconds in resume sending helper answer | stop processing: state #4 connection "ikev1-ike=aes128-sha1-dh20" from 192.1.2.23 (in resume_handler() at server.c:833) | libevent_free: release ptr-libevent@0x7f75fc0011e8 | spent 0.00279 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 284 bytes from 192.1.2.23:500 on eth1 (192.1.2.45:500) | 54 49 ba 35 35 80 c5 7e b6 38 5d 24 58 57 82 ac | 08 10 20 01 88 5f 2e e3 00 00 01 1c ef 03 91 db | c9 b0 cc 3e 3c 61 87 e5 fd d5 72 02 6a da 2d c8 | c7 37 13 e7 2b 7f 8d b3 76 a7 86 a0 2d 05 cd cd | 88 2f 02 f6 2f c7 39 93 e5 c1 46 af b5 4c 0b 27 | 9e 55 61 71 43 04 eb 90 9d 0c 15 ea 4a f3 a9 4e | 54 4c 06 45 9a 29 6a ef ad 64 a9 2f 2b 37 a6 20 | b1 cf f3 6c be f4 c0 9c bf ac f4 19 ed 93 be 1d | e8 bc b7 eb 22 61 66 e2 d5 83 c7 f6 61 ec b4 97 | cf 63 5c cd a4 0d 53 c4 f8 89 a2 ed d1 59 39 06 | e7 09 b0 e0 8c 8f 8f 49 9a 7d c6 a1 35 78 95 60 | 8c a5 98 e0 12 dd 97 b9 76 29 0f dc 1a 81 01 2e | 4f b4 17 4a 1f 0f 71 df 6d 92 30 60 c0 03 6f 2f | 10 b5 58 de 84 7f de 6f 21 e2 95 a4 a4 38 51 95 | 24 d4 96 6d 46 b3 a9 98 6d 44 14 9c 74 48 6d 00 | 8a 70 8d f3 89 fa 83 68 d8 6a 85 c2 45 ab 71 56 | 8b 5c 21 7a 06 63 7a e9 ce 8b 17 32 c5 8f c5 87 | 15 b3 a1 dd fd fc bf 2a 65 fa af 44 | start processing: from 192.1.2.23:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 54 49 ba 35 35 80 c5 7e | responder cookie: | b6 38 5d 24 58 57 82 ac | 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: 2287939299 (0x885f2ee3) | length: 284 (0x11c) | processing version=1.0 packet with exchange type=ISAKMP_XCHG_QUICK (32) | State DB: found IKEv1 state #4 in QUICK_I1 (find_state_ikev1) | start processing: state #4 connection "ikev1-ike=aes128-sha1-dh20" from 192.1.2.23 (in process_v1_packet() at ikev1.c:1633) | #4 is idle | #4 idle | received encrypted packet from 192.1.2.23: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: 56 (0x38) | 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: 100 (0x64) | got payload 0x20 (ISAKMP_NEXT_ID) needed: 0x0 opt: 0x200030 | ***parse ISAKMP Identification Payload (IPsec DOI): | next payload type: ISAKMP_NEXT_ID (0x5) | length: 16 (0x10) | ID type: ID_IPV4_ADDR_SUBNET (0x4) | Protocol ID: 0 (0x0) | port: 0 (0x0) | obj: c0 00 01 00 ff ff ff 00 | 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 | removing 8 bytes of padding | quick_inR1_outI2 HASH(2): | cb a4 af 82 ad 73 3a 04 11 d3 20 b4 2e 82 89 e1 | 05 dc 0f 1e | received 'quick_inR1_outI2' message HASH(2) data ok | ****parse IPsec DOI SIT: | IPsec DOI SIT: SIT_IDENTITY_ONLY (0x1) | ****parse ISAKMP Proposal Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | length: 44 (0x2c) | proposal number: 0 (0x0) | protocol ID: PROTO_IPSEC_ESP (0x3) | SPI size: 4 (0x4) | number of transforms: 1 (0x1) | parsing 4 raw bytes of ISAKMP Proposal Payload into SPI | SPI a8 ec 04 48 | *****parse ISAKMP Transform Payload (ESP): | next payload type: ISAKMP_NEXT_NONE (0x0) | 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: 20 (0x14) | [20 is OAKLEY_GROUP_ECP_384] | ******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 | started looking for secret for @west->@east of kind PKK_PSK | actually looking for secret for @west->@east of kind PKK_PSK | line 1: key type PKK_PSK(@west) to type PKK_PSK | 1: compared key @east to @west / @east -> 004 | 2: compared key @west to @west / @east -> 014 | line 1: match=014 | match 014 beats previous best_match 000 match=0x5567ed764b58 (line=1) | concluding with best_match=014 best=0x5567ed764b58 (lineno=1) | adding quick outI2 DH work-order 8 for state #4 | state #4 requesting EVENT_RETRANSMIT to be deleted | #4 STATE_QUICK_I1: retransmits: cleared | libevent_free: release ptr-libevent@0x5567ed80f8b8 | free_event_entry: release EVENT_RETRANSMIT-pe@0x5567ed80f2f8 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x5567ed80f2f8 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #4 | libevent_malloc: new ptr-libevent@0x7f75fc0011e8 size 128 | complete v1 state transition with STF_SUSPEND | [RE]START processing: state #4 connection "ikev1-ike=aes128-sha1-dh20" from 192.1.2.23 (in complete_v1_state_transition() at ikev1.c:2648) | suspending state #4 and saving MD | crypto helper 0 resuming | crypto helper 0 starting work-order 8 for state #4 | #4 is busy; has a suspended MD | crypto helper 0 doing compute dh (V1 Phase 2 PFS) (quick outI2 DH); request ID 8 | #4 spent 0.155 milliseconds in process_packet_tail() | stop processing: from 192.1.2.23:500 (BACKGROUND) (in process_md() at demux.c:380) | stop processing: state #4 connection "ikev1-ike=aes128-sha1-dh20" from 192.1.2.23 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.357 milliseconds in comm_handle_cb() reading and processing packet | crypto helper 0 finished compute dh (V1 Phase 2 PFS) (quick outI2 DH); request ID 8 time elapsed 0.002287 seconds | (#4) spent 2.27 milliseconds in crypto helper computing work-order 8: quick outI2 DH (pcr) | crypto helper 0 sending results from work-order 8 for state #4 to event queue | scheduling resume sending helper answer for #4 | libevent_malloc: new ptr-libevent@0x7f76100012a8 size 128 | crypto helper 0 waiting (nothing to do) | processing resume sending helper answer for #4 | start processing: state #4 connection "ikev1-ike=aes128-sha1-dh20" from 192.1.2.23 (in resume_handler() at server.c:797) | crypto helper 0 replies to request ID 8 | calling continuation function 0x5567ec0bcb50 | quick_inR1_outI2_continue for #4: calculated ke+nonce, calculating DH | **emit ISAKMP Message: | initiator cookie: | 54 49 ba 35 35 80 c5 7e | responder cookie: | b6 38 5d 24 58 57 82 ac | 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: 2287939299 (0x885f2ee3) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | parsing 4 raw bytes of ISAKMP Identification Payload (IPsec DOI) into ID address | ID address c0 00 01 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.1.0/24 | our 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 | peer client is subnet 192.0.2.0/24 | peer client protocol/port is 0/0 | ***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 | quick_inR1_outI2 HASH(3): | 4a ab 4e ea de aa e8 4b 09 ab dc 79 b3 6d af ac | 7d 7f 6d 1c | compute_proto_keymat: needed_len (after ESP enc)=16 | compute_proto_keymat: needed_len (after ESP auth)=36 | install_ipsec_sa() for #4: inbound and outbound | could_route called for ikev1-ike=aes128-sha1-dh20 (kind=CK_PERMANENT) | FOR_EACH_CONNECTION_... in route_owner | conn ikev1-ike=aes128-sha1-dh20 mark 0/00000000, 0/00000000 vs | conn ikev1-ike=aes128-sha1-dh20 mark 0/00000000, 0/00000000 | route owner of "ikev1-ike=aes128-sha1-dh20" unrouted: NULL; eroute owner: NULL | 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 'ikev1-ike=aes128-sha1-dh20' 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.a8ec0448@192.1.2.23 included non-error error | set up outgoing SA, ref=0/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 'ikev1-ike=aes128-sha1-dh20' 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.b99b3ed6@192.1.2.45 included non-error error | priority calculation of connection "ikev1-ike=aes128-sha1-dh20" is 0xfe7e7 | add inbound eroute 192.0.2.0/24:0 --0-> 192.0.1.0/24:0 => tun.10000@192.1.2.45 (raw_eroute) | IPsec Sa SPD priority set to 1042407 | raw_eroute result=success | set up incoming SA, ref=0/0 | sr for #4: unrouted | route_and_eroute() for proto 0, and source port 0 dest port 0 | FOR_EACH_CONNECTION_... in route_owner | conn ikev1-ike=aes128-sha1-dh20 mark 0/00000000, 0/00000000 vs | conn ikev1-ike=aes128-sha1-dh20 mark 0/00000000, 0/00000000 | route owner of "ikev1-ike=aes128-sha1-dh20" unrouted: NULL; eroute owner: NULL | route_and_eroute with c: ikev1-ike=aes128-sha1-dh20 (next: none) ero:null esr:{(nil)} ro:null rosr:{(nil)} and state: #4 | priority calculation of connection "ikev1-ike=aes128-sha1-dh20" is 0xfe7e7 | eroute_connection add eroute 192.0.1.0/24:0 --0-> 192.0.2.0/24:0 => tun.0@192.1.2.23 (raw_eroute) | IPsec Sa SPD priority set to 1042407 | raw_eroute result=success | running updown command "ipsec _updown" for verb up | command executing up-client | executing up-client: PLUTO_VERB='up-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='ikev1-ike=aes128-sha1-dh20' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.23' PLUTO_ME='192.1.2.45' PLUTO_MY_ID='@west' PLUTO_MY_CLIENT='192.0.1.0/24' PLUTO_MY_CLIENT_NET='192.0.1.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16392' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.23' PLUTO_PEER_ID='@east' PLUTO_PEER_CLIENT='192.0.2.0/24' PLUTO_PEER_CLIENT_NET='192.0.2.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='PSK+ENCRYPT+TUNNEL+PFS+UP+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' VTI_ROUTING='no' VTI_SHARED='no' SPI_IN | popen cmd is 1045 chars long | cmd( 0):PLUTO_VERB='up-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='ikev1-ike=aes128-sh: | cmd( 80):a1-dh20' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.23' PLUTO_ME='192.1.2.45: | cmd( 160):' PLUTO_MY_ID='@west' PLUTO_MY_CLIENT='192.0.1.0/24' PLUTO_MY_CLIENT_NET='192.0.: | cmd( 240):1.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0: | cmd( 320):' PLUTO_SA_REQID='16392' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.23' PLUTO_PEER_: | cmd( 400):ID='@east' PLUTO_PEER_CLIENT='192.0.2.0/24' PLUTO_PEER_CLIENT_NET='192.0.2.0' PL: | cmd( 480):UTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0': | cmd( 560): PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='PSK+: | cmd( 640):ENCRYPT+TUNNEL+PFS+UP+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_: | cmd( 720):KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CI: | cmd( 800):SCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PL: | cmd( 880):UTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' VTI: | cmd( 960):_ROUTING='no' VTI_SHARED='no' SPI_IN=0xa8ec0448 SPI_OUT=0xb99b3ed6 ipsec _updown: | cmd(1040): 2>&1: | route_and_eroute: firewall_notified: true | running updown command "ipsec _updown" for verb prepare | command executing prepare-client | executing prepare-client: PLUTO_VERB='prepare-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='ikev1-ike=aes128-sha1-dh20' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.23' PLUTO_ME='192.1.2.45' PLUTO_MY_ID='@west' PLUTO_MY_CLIENT='192.0.1.0/24' PLUTO_MY_CLIENT_NET='192.0.1.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16392' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.23' PLUTO_PEER_ID='@east' PLUTO_PEER_CLIENT='192.0.2.0/24' PLUTO_PEER_CLIENT_NET='192.0.2.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='PSK+ENCRYPT+TUNNEL+PFS+UP+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' VTI_ROUTING='no' VTI_SHARED=' | popen cmd is 1050 chars long | cmd( 0):PLUTO_VERB='prepare-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='ikev1-ike=aes1: | cmd( 80):28-sha1-dh20' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.23' PLUTO_ME='192.1: | cmd( 160):.2.45' PLUTO_MY_ID='@west' PLUTO_MY_CLIENT='192.0.1.0/24' PLUTO_MY_CLIENT_NET='1: | cmd( 240):92.0.1.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOC: | cmd( 320):OL='0' PLUTO_SA_REQID='16392' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.23' PLUTO_: | cmd( 400):PEER_ID='@east' PLUTO_PEER_CLIENT='192.0.2.0/24' PLUTO_PEER_CLIENT_NET='192.0.2.: | cmd( 480):0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCO: | cmd( 560):L='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY=: | cmd( 640):'PSK+ENCRYPT+TUNNEL+PFS+UP+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_: | cmd( 720):CONN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PE: | cmd( 800):ER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER=: | cmd( 880):'' PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE=': | cmd( 960):' VTI_ROUTING='no' VTI_SHARED='no' SPI_IN=0xa8ec0448 SPI_OUT=0xb99b3ed6 ipsec _u: | cmd(1040):pdown 2>&1: | running updown command "ipsec _updown" for verb route | command executing route-client | executing route-client: PLUTO_VERB='route-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='ikev1-ike=aes128-sha1-dh20' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.23' PLUTO_ME='192.1.2.45' PLUTO_MY_ID='@west' PLUTO_MY_CLIENT='192.0.1.0/24' PLUTO_MY_CLIENT_NET='192.0.1.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16392' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.23' PLUTO_PEER_ID='@east' PLUTO_PEER_CLIENT='192.0.2.0/24' PLUTO_PEER_CLIENT_NET='192.0.2.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='PSK+ENCRYPT+TUNNEL+PFS+UP+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' VTI_ROUTING='no' VTI_SHARED='no' | popen cmd is 1048 chars long | cmd( 0):PLUTO_VERB='route-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='ikev1-ike=aes128: | cmd( 80):-sha1-dh20' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.23' PLUTO_ME='192.1.2: | cmd( 160):.45' PLUTO_MY_ID='@west' PLUTO_MY_CLIENT='192.0.1.0/24' PLUTO_MY_CLIENT_NET='192: | cmd( 240):.0.1.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL: | cmd( 320):='0' PLUTO_SA_REQID='16392' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.23' PLUTO_PE: | cmd( 400):ER_ID='@east' PLUTO_PEER_CLIENT='192.0.2.0/24' PLUTO_PEER_CLIENT_NET='192.0.2.0': | cmd( 480): PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL=: | cmd( 560):'0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='P: | cmd( 640):SK+ENCRYPT+TUNNEL+PFS+UP+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CO: | cmd( 720):NN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER: | cmd( 800):_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='': | cmd( 880): PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' : | cmd( 960):VTI_ROUTING='no' VTI_SHARED='no' SPI_IN=0xa8ec0448 SPI_OUT=0xb99b3ed6 ipsec _upd: | cmd(1040):own 2>&1: | route_and_eroute: instance "ikev1-ike=aes128-sha1-dh20", setting eroute_owner {spd=0x5567ed80b9c8,sr=0x5567ed80b9c8} to #4 (was #0) (newest_ipsec_sa=#0) | #3 spent 1.76 milliseconds in install_ipsec_sa() | emitting 8 zero bytes of encryption padding into ISAKMP Message | no IKEv1 message padding required | emitting length of ISAKMP Message: 60 | inR1_outI2: instance ikev1-ike=aes128-sha1-dh20[0], setting IKEv1 newest_ipsec_sa to #4 (was #0) (spd.eroute=#4) cloned from #3 | DPD: dpd_init() called on IPsec SA | DPD: Peer does not support Dead Peer Detection | complete v1 state transition with STF_OK | [RE]START processing: state #4 connection "ikev1-ike=aes128-sha1-dh20" from 192.1.2.23 (in complete_v1_state_transition() at ikev1.c:2673) | #4 is idle | doing_xauth:no, t_xauth_client_done:no | IKEv1: transition from state STATE_QUICK_I1 to state STATE_QUICK_I2 | child state #4: QUICK_I1(established CHILD SA) => QUICK_I2(established CHILD SA) | event_already_set, deleting event | state #4 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x7f75fc0011e8 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x5567ed80f2f8 | sending reply packet to 192.1.2.23:500 (from 192.1.2.45:500) | sending 60 bytes for STATE_QUICK_I1 through eth1 from 192.1.2.45:500 to 192.1.2.23:500 (using #4) | 54 49 ba 35 35 80 c5 7e b6 38 5d 24 58 57 82 ac | 08 10 20 01 88 5f 2e e3 00 00 00 3c 1a 5f 14 07 | 05 c6 b0 bf 2e c7 8a 92 80 cd e4 51 49 17 59 91 | f9 b2 32 04 6c 2c eb 89 cb a8 ba 4b | !event_already_set at reschedule | event_schedule: new EVENT_SA_REPLACE-pe@0x7f760c000b48 | inserting event EVENT_SA_REPLACE, timeout in 27829 seconds for #4 | libevent_malloc: new ptr-libevent@0x5567ed80f8b8 size 128 | pstats #4 ikev1.ipsec established | NAT-T: encaps is 'auto' "ikev1-ike=aes128-sha1-dh20" #4: STATE_QUICK_I2: sent QI2, IPsec SA established tunnel mode {ESP=>0xa8ec0448 <0xb99b3ed6 xfrm=AES_CBC_128-HMAC_SHA1_96 NATOA=none NATD=none DPD=passive} | modecfg pull: noquirk policy:push not-client | phase 1 is done, looking for phase 2 to unpend | close_any(fd@25) (in release_whack() at state.c:654) | resume sending helper answer for #4 suppresed complete_v1_state_transition() | #4 spent 2.17 milliseconds in resume sending helper answer | stop processing: state #4 connection "ikev1-ike=aes128-sha1-dh20" from 192.1.2.23 (in resume_handler() at server.c:833) | libevent_free: release ptr-libevent@0x7f76100012a8 | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00469 milliseconds in signal handler PLUTO_SIGCHLD | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00308 milliseconds in signal handler PLUTO_SIGCHLD | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00302 milliseconds in signal handler PLUTO_SIGCHLD | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:722) | FOR_EACH_STATE_... in show_traffic_status (sort_states) | FOR_EACH_STATE_... in sort_states | get_sa_info esp.b99b3ed6@192.1.2.45 | get_sa_info esp.a8ec0448@192.1.2.23 | close_any(fd@16) (in whack_process() at rcv_whack.c:700) | spent 0.0884 milliseconds in whack | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:722) | FOR_EACH_CONNECTION_... in conn_by_name | start processing: connection "ikev1-ike=aes128-sha1-dh20" (in terminate_a_connection() at terminate.c:69) "ikev1-ike=aes128-sha1-dh20": terminating SAs using this connection | connection 'ikev1-ike=aes128-sha1-dh20' -POLICY_UP | FOR_EACH_STATE_... in shared_phase1_connection | connection not shared - terminating IKE and IPsec SA | Deleting states for connection - not including other IPsec SA's | pass 0 | FOR_EACH_STATE_... in foreach_state_by_connection_func_delete | state #4 | suspend processing: connection "ikev1-ike=aes128-sha1-dh20" (in foreach_state_by_connection_func_delete() at state.c:1310) | start processing: state #4 connection "ikev1-ike=aes128-sha1-dh20" from 192.1.2.23 (in foreach_state_by_connection_func_delete() at state.c:1310) | pstats #4 ikev1.ipsec deleted completed | [RE]START processing: state #4 connection "ikev1-ike=aes128-sha1-dh20" from 192.1.2.23 (in delete_state() at state.c:879) "ikev1-ike=aes128-sha1-dh20" #4: deleting state (STATE_QUICK_I2) aged 0.085s and sending notification | child state #4: QUICK_I2(established CHILD SA) => delete | get_sa_info esp.a8ec0448@192.1.2.23 | get_sa_info esp.b99b3ed6@192.1.2.45 "ikev1-ike=aes128-sha1-dh20" #4: ESP traffic information: in=84B out=84B | #4 send IKEv1 delete notification for STATE_QUICK_I2 | FOR_EACH_STATE_... in find_phase1_state | **emit ISAKMP Message: | initiator cookie: | 54 49 ba 35 35 80 c5 7e | responder cookie: | b6 38 5d 24 58 57 82 ac | 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: 2371618561 (0x8d5c0701) | 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 b9 9b 3e d6 | emitting length of ISAKMP Delete Payload: 16 | send delete HASH(1): | a1 0b 59 22 7a ef 9b 6c df 41 6e 81 85 5d 66 6d | 8a 8f 81 4c | emitting 8 zero bytes of encryption padding into ISAKMP Message | no IKEv1 message padding required | emitting length of ISAKMP Message: 76 | sending 76 bytes for delete notify through eth1 from 192.1.2.45:500 to 192.1.2.23:500 (using #3) | 54 49 ba 35 35 80 c5 7e b6 38 5d 24 58 57 82 ac | 08 10 05 01 8d 5c 07 01 00 00 00 4c 1a cd c0 34 | 5c ef 30 da 74 63 92 0b 4e 42 dd d2 28 66 10 fa | 12 40 df 2e f3 00 db a5 ac ea 0b 89 c0 38 7e fb | aa e8 fc 76 6c d1 4b 36 6b ce 45 74 | state #4 requesting EVENT_SA_REPLACE to be deleted | libevent_free: release ptr-libevent@0x5567ed80f8b8 | free_event_entry: release EVENT_SA_REPLACE-pe@0x7f760c000b48 | 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='ikev1-ike=aes128-sha1-dh20' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.23' PLUTO_ME='192.1.2.45' PLUTO_MY_ID='@west' PLUTO_MY_CLIENT='192.0.1.0/24' PLUTO_MY_CLIENT_NET='192.0.1.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16392' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.23' PLUTO_PEER_ID='@east' PLUTO_PEER_CLIENT='192.0.2.0/24' PLUTO_PEER_CLIENT_NET='192.0.2.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='1566825113' PLUTO_CONN_POLICY='PSK+ENCRYPT+TUNNEL+PFS+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' VTI_ROUTING='no' VTI_SHARED=' | popen cmd is 1053 chars long | cmd( 0):PLUTO_VERB='down-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='ikev1-ike=aes128-: | cmd( 80):sha1-dh20' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.23' PLUTO_ME='192.1.2.: | cmd( 160):45' PLUTO_MY_ID='@west' PLUTO_MY_CLIENT='192.0.1.0/24' PLUTO_MY_CLIENT_NET='192.: | cmd( 240):0.1.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL=: | cmd( 320):'0' PLUTO_SA_REQID='16392' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.23' PLUTO_PEE: | cmd( 400):R_ID='@east' PLUTO_PEER_CLIENT='192.0.2.0/24' PLUTO_PEER_CLIENT_NET='192.0.2.0' : | cmd( 480):PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL=': | cmd( 560):0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='1566825113' PLUTO_CONN_P: | cmd( 640):OLICY='PSK+ENCRYPT+TUNNEL+PFS+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLU: | cmd( 720):TO_CONN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS: | cmd( 800):_PEER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANN: | cmd( 880):ER='' PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFAC: | cmd( 960):E='' VTI_ROUTING='no' VTI_SHARED='no' SPI_IN=0xa8ec0448 SPI_OUT=0xb99b3ed6 ipsec: | cmd(1040): _updown 2>&1: | shunt_eroute() called for connection 'ikev1-ike=aes128-sha1-dh20' 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 "ikev1-ike=aes128-sha1-dh20" is 0xfe7e7 | IPsec Sa SPD priority set to 1042407 | delete esp.a8ec0448@192.1.2.23 | netlink response for Del SA esp.a8ec0448@192.1.2.23 included non-error error | priority calculation of connection "ikev1-ike=aes128-sha1-dh20" is 0xfe7e7 | delete inbound eroute 192.0.2.0/24:0 --0-> 192.0.1.0/24:0 => unk255.10000@192.1.2.45 (raw_eroute) | raw_eroute result=success | delete esp.b99b3ed6@192.1.2.45 | netlink response for Del SA esp.b99b3ed6@192.1.2.45 included non-error error | stop processing: connection "ikev1-ike=aes128-sha1-dh20" (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 ikev1-ike=aes128-sha1-dh20 | State DB: deleting IKEv1 state #4 in QUICK_I2 | child state #4: QUICK_I2(established CHILD SA) => UNDEFINED(ignore) | stop processing: state #4 from 192.1.2.23 (in delete_state() at state.c:1143) | processing: STOP state #0 (in foreach_state_by_connection_func_delete() at state.c:1312) | state #3 | pass 1 | FOR_EACH_STATE_... in foreach_state_by_connection_func_delete | state #3 | start processing: state #3 connection "ikev1-ike=aes128-sha1-dh20" from 192.1.2.23 (in foreach_state_by_connection_func_delete() at state.c:1310) | pstats #3 ikev1.isakmp deleted completed | [RE]START processing: state #3 connection "ikev1-ike=aes128-sha1-dh20" from 192.1.2.23 (in delete_state() at state.c:879) "ikev1-ike=aes128-sha1-dh20" #3: deleting state (STATE_MAIN_I4) aged 0.106s and sending notification | parent state #3: MAIN_I4(established IKE SA) => delete | #3 send IKEv1 delete notification for STATE_MAIN_I4 | **emit ISAKMP Message: | initiator cookie: | 54 49 ba 35 35 80 c5 7e | responder cookie: | b6 38 5d 24 58 57 82 ac | 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: 3616913690 (0xd795b91a) | 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 54 49 ba 35 35 80 c5 7e | emitting 8 raw bytes of responder SPI into ISAKMP Delete Payload | responder SPI b6 38 5d 24 58 57 82 ac | emitting length of ISAKMP Delete Payload: 28 | send delete HASH(1): | fa 45 f6 33 3b 4a 3d 61 fd 6d 3d 71 de 6c 7f c0 | 39 df 6f c2 | emitting 12 zero bytes of encryption padding into ISAKMP Message | no IKEv1 message padding required | emitting length of ISAKMP Message: 92 | sending 92 bytes for delete notify through eth1 from 192.1.2.45:500 to 192.1.2.23:500 (using #3) | 54 49 ba 35 35 80 c5 7e b6 38 5d 24 58 57 82 ac | 08 10 05 01 d7 95 b9 1a 00 00 00 5c 34 0f df cc | 9c 8b 9a 16 af 7a 0a 24 ea 98 fb 1a d9 89 70 99 | 75 1d 0e 70 b7 50 ec ba 88 ae f9 1e e6 5a a9 5c | e9 2e 70 e7 78 7f ce 1a a0 40 d4 8e a6 97 12 9f | a0 58 42 5f 7a c8 db 9d f3 2c fb dc | state #3 requesting EVENT_SA_REPLACE to be deleted | libevent_free: release ptr-libevent@0x7f75f80026f8 | free_event_entry: release EVENT_SA_REPLACE-pe@0x5567ed80d698 | State DB: IKEv1 state not found (flush_incomplete_children) | in connection_discard for connection ikev1-ike=aes128-sha1-dh20 | State DB: deleting IKEv1 state #3 in MAIN_I4 | parent state #3: MAIN_I4(established IKE SA) => UNDEFINED(ignore) | stop processing: state #3 from 192.1.2.23 (in delete_state() at state.c:1143) | processing: STOP state #0 (in foreach_state_by_connection_func_delete() at state.c:1312) | processing: STOP connection NULL (in terminate_a_connection() at terminate.c:87) | close_any(fd@16) (in whack_process() at rcv_whack.c:700) | spent 1.35 milliseconds in whack | spent 0.00141 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 76 bytes from 192.1.2.23:500 on eth1 (192.1.2.45:500) | 54 49 ba 35 35 80 c5 7e b6 38 5d 24 58 57 82 ac | 08 10 05 01 18 e4 74 6d 00 00 00 4c f5 78 3c 25 | e1 ec 79 c8 16 42 fa 2b 26 a4 03 1c 76 f3 c0 7e | 0a 2b 39 a8 d0 3e 23 8d 15 c4 6e 53 35 c6 3f 35 | 8c a7 29 87 67 10 ed e1 df b1 d3 2e | start processing: from 192.1.2.23:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 54 49 ba 35 35 80 c5 7e | responder cookie: | b6 38 5d 24 58 57 82 ac | next payload type: ISAKMP_NEXT_HASH (0x8) | ISAKMP version: ISAKMP Version 1.0 (rfc2407) (0x10) | exchange type: ISAKMP_XCHG_INFO (0x5) | flags: ISAKMP_FLAG_v1_ENCRYPTION (0x1) | Message ID: 417625197 (0x18e4746d) | length: 76 (0x4c) | processing version=1.0 packet with exchange type=ISAKMP_XCHG_INFO (5) | State DB: IKEv1 state not found (find_v1_info_state) | State DB: IKEv1 state not found (find_state_ikev1_init) | Informational Exchange is for an unknown (expired?) SA with MSGID:0x18e4746d | - unknown SA's md->hdr.isa_ike_initiator_spi.bytes: | 54 49 ba 35 35 80 c5 7e | - unknown SA's md->hdr.isa_ike_responder_spi.bytes: | b6 38 5d 24 58 57 82 ac | stop processing: from 192.1.2.23:500 (in process_md() at demux.c:380) | processing: STOP state #0 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.051 milliseconds in comm_handle_cb() reading and processing packet | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.004 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00292 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 92 bytes from 192.1.2.23:500 on eth1 (192.1.2.45:500) | 54 49 ba 35 35 80 c5 7e b6 38 5d 24 58 57 82 ac | 08 10 05 01 d2 f9 a5 78 00 00 00 5c 2e ac 51 d1 | 85 fd ee 32 56 fc 78 2b a3 07 49 44 85 96 b2 d6 | 2c e8 6c a2 8f 71 4e ac 3e 16 1a 1a 52 d0 c5 98 | a3 58 b9 e2 1b e2 04 ba 9b 81 ec da 13 bc 25 7d | 54 54 59 61 22 a2 fc 6e c8 4f 0f a0 | start processing: from 192.1.2.23:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 54 49 ba 35 35 80 c5 7e | responder cookie: | b6 38 5d 24 58 57 82 ac | next payload type: ISAKMP_NEXT_HASH (0x8) | ISAKMP version: ISAKMP Version 1.0 (rfc2407) (0x10) | exchange type: ISAKMP_XCHG_INFO (0x5) | flags: ISAKMP_FLAG_v1_ENCRYPTION (0x1) | Message ID: 3539576184 (0xd2f9a578) | length: 92 (0x5c) | processing version=1.0 packet with exchange type=ISAKMP_XCHG_INFO (5) | State DB: IKEv1 state not found (find_v1_info_state) | State DB: IKEv1 state not found (find_state_ikev1_init) | Informational Exchange is for an unknown (expired?) SA with MSGID:0xd2f9a578 | - unknown SA's md->hdr.isa_ike_initiator_spi.bytes: | 54 49 ba 35 35 80 c5 7e | - unknown SA's md->hdr.isa_ike_responder_spi.bytes: | b6 38 5d 24 58 57 82 ac | stop processing: from 192.1.2.23:500 (in process_md() at demux.c:380) | processing: STOP state #0 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.0781 milliseconds in comm_handle_cb() reading and processing packet | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:722) | FOR_EACH_CONNECTION_... in conn_by_name | start processing: connection "ikev1-ike=aes128-sha1-dh20" (in terminate_a_connection() at terminate.c:69) "ikev1-ike=aes128-sha1-dh20": terminating SAs using this connection | connection 'ikev1-ike=aes128-sha1-dh20' -POLICY_UP | connection not shared - terminating IKE and IPsec SA | Deleting states for connection - not including other IPsec SA's | pass 0 | FOR_EACH_STATE_... in foreach_state_by_connection_func_delete | pass 1 | FOR_EACH_STATE_... in foreach_state_by_connection_func_delete | stop processing: connection "ikev1-ike=aes128-sha1-dh20" (in terminate_a_connection() at terminate.c:87) | FOR_EACH_CONNECTION_... in conn_by_name | start processing: connection "ikev1-ike=aes128-sha1-dh20" (in delete_connection() at connections.c:189) | Deleting states for connection - not including other IPsec SA's | pass 0 | FOR_EACH_STATE_... in foreach_state_by_connection_func_delete | pass 1 | FOR_EACH_STATE_... in foreach_state_by_connection_func_delete | shunt_eroute() called for connection 'ikev1-ike=aes128-sha1-dh20' 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 "ikev1-ike=aes128-sha1-dh20" is 0xfe7e7 | priority calculation of connection "ikev1-ike=aes128-sha1-dh20" is 0xfe7e7 | FOR_EACH_CONNECTION_... in route_owner | conn ikev1-ike=aes128-sha1-dh20 mark 0/00000000, 0/00000000 vs | conn ikev1-ike=aes128-sha1-dh20 mark 0/00000000, 0/00000000 | route owner of "ikev1-ike=aes128-sha1-dh20" 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='ikev1-ike=aes128-sha1-dh20' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.23' PLUTO_ME='192.1.2.45' PLUTO_MY_ID='@west' PLUTO_MY_CLIENT='192.0.1.0/24' PLUTO_MY_CLIENT_NET='192.0.1.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.2.23' PLUTO_PEER_ID='@east' PLUTO_PEER_CLIENT='192.0.2.0/24' PLUTO_PEER_CLIENT_NET='192.0.2.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='PSK+ENCRYPT+TUNNEL+PFS+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' VTI_ROUTING='no' VTI_SHARED='no | popen cmd is 1034 chars long | cmd( 0):PLUTO_VERB='unroute-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='ikev1-ike=aes1: | cmd( 80):28-sha1-dh20' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.23' PLUTO_ME='192.1: | cmd( 160):.2.45' PLUTO_MY_ID='@west' PLUTO_MY_CLIENT='192.0.1.0/24' PLUTO_MY_CLIENT_NET='1: | cmd( 240):92.0.1.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOC: | cmd( 320):OL='0' PLUTO_SA_REQID='16392' PLUTO_SA_TYPE='none' PLUTO_PEER='192.1.2.23' PLUTO: | cmd( 400):_PEER_ID='@east' PLUTO_PEER_CLIENT='192.0.2.0/24' PLUTO_PEER_CLIENT_NET='192.0.2: | cmd( 480):.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOC: | cmd( 560):OL='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY: | cmd( 640):='PSK+ENCRYPT+TUNNEL+PFS+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CO: | cmd( 720):NN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER: | cmd( 800):_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='': | cmd( 880): PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' : | cmd( 960):VTI_ROUTING='no' VTI_SHARED='no' SPI_IN=0x0 SPI_OUT=0x0 ipsec _updown 2>&1: "ikev1-ike=aes128-sha1-dh20": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh20": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh20": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh20": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh20": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh20": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh20": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh20": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh20": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh20": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh20": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh20": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh20": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh20": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh20": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh20": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh20": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh20": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh20": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh20": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh20": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh20": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh20": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh20": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh20": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh20": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh20": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh20": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh20": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh20": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh20": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh20": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh20": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh20": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh20": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh20": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh20": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh20": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh20": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh20": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh20": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh20": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh20": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh20": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh20": unroute-client output: Error: Peer netns reference is invalid. | free hp@0x5567ed80c168 | flush revival: connection 'ikev1-ike=aes128-sha1-dh20' wasn't on the list | stop processing: connection "ikev1-ike=aes128-sha1-dh20" (in discard_connection() at connections.c:249) | FOR_EACH_CONNECTION_... in conn_by_name | close_any(fd@16) (in whack_process() at rcv_whack.c:700) | spent 1.17 milliseconds in whack | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00509 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 ikev1-ike=aes128-sha1-dh21 with policy PSK+ENCRYPT+TUNNEL+PFS+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO | ike (phase1) algorithm values: AES_CBC_128-HMAC_SHA1-DH21 | counting wild cards for @west is 0 | counting wild cards for @east is 0 | connect_to_host_pair: 192.1.2.45:500 192.1.2.23:500 -> hp@(nil): none | new hp@0x5567ed80c168 added connection description "ikev1-ike=aes128-sha1-dh21" | ike_life: 3600s; ipsec_life: 28800s; rekey_margin: 540s; rekey_fuzz: 100%; keyingtries: 0; replay_window: 32; policy: PSK+ENCRYPT+TUNNEL+PFS+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO | 192.0.1.0/24===192.1.2.45<192.1.2.45>[@west]...192.1.2.23<192.1.2.23>[@east]===192.0.2.0/24 | close_any(fd@16) (in whack_process() at rcv_whack.c:700) | spent 0.101 milliseconds in whack | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:722) add keyid @west | unreference key: 0x5567ed764c48 @west cnt 1-- | add pubkey 01 03 a6 f5 d6 3f e3 8f 6c 01 6a fc 7b 7c 6d 57 | add pubkey 8b 49 39 0d 77 f7 ac e2 85 f1 98 1e 4b 6d a5 3e | add pubkey b3 96 9a d1 99 5a bc 10 f2 97 de f2 28 f9 5f 92 | add pubkey 09 f0 c8 d4 12 e4 60 6e 9c 60 98 10 01 7d 26 b7 | add pubkey 8f 95 62 2d 87 dd cd de f6 d3 8f 35 b0 50 d0 18 | add pubkey f5 99 f8 04 f1 ff 61 5b bc 7f 1f c0 04 d8 e4 8c | add pubkey ac 34 ad 7a c1 da 3c 2d 8c 30 ae d6 3c 59 b1 3a | add pubkey 94 d3 d5 2a 73 91 bd 59 5f 3e 72 bf 4a 1b 9d c5 | add pubkey b2 2b 4d e7 0d 24 3e 77 f9 7f 2d d6 9d 29 ef 70 | add pubkey 7d 7a 6d a2 b8 61 0c 4b 09 4a 06 71 84 70 85 9a | add pubkey 8f 52 a1 80 06 fd c6 fc 3e 27 fa 16 fa 32 83 a9 | add pubkey ca 80 db 0f 4a bf f7 e9 55 8e bd 29 4d 23 a6 dc | add pubkey 2a b3 5d 62 a9 21 1e be 83 d8 69 3c 03 0a 48 8e | add pubkey d3 3a 11 f2 86 5a d1 30 65 bd c8 f4 83 87 ff 04 | add pubkey 87 33 05 4f e0 d8 8c fe b3 19 4c dd 85 40 f3 4d | add pubkey 6e e8 49 14 06 2c 1f 59 59 05 8f 20 b0 ca 46 3f | add pubkey c9 20 7e 04 30 7d 9a 80 6c 3f 0a 89 f7 d3 af d8 | add pubkey 15 04 37 f9 | computed rsa CKAID b4 9f 1a ac 9e 45 6e 79 29 c8 81 97 3a 0c 6a d3 | computed rsa CKAID 7f 0f 03 50 | close_any(fd@16) (in whack_process() at rcv_whack.c:700) | spent 0.0955 milliseconds in whack | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:722) add keyid @east | unreference key: 0x5567ed80c5c8 @east cnt 1-- | add pubkey 01 03 bd 6c 96 eb df 78 89 b3 ed 77 0d a1 7f 7b | add pubkey e5 16 c2 c9 e4 7d 92 0a 90 9d 55 43 b4 62 13 03 | add pubkey 85 7a e0 26 7b 54 1f ca 09 93 cf ff 25 c9 02 4c | add pubkey 78 ca 94 e5 3e ac d1 f9 a8 e5 bb 7f cc 20 84 e0 | add pubkey 21 c9 f0 0d c5 44 ba f3 48 64 61 58 f6 0f 63 0d | add pubkey d2 67 1e 59 8b ec f3 50 39 71 fb 39 da 11 64 b6 | add pubkey 62 cd 5f d3 8d 2e c1 50 ed 9c 6e 22 0c 39 a7 ce | add pubkey 62 b5 af 8a 80 0f 2e 4c 05 5c 82 c7 8d 29 02 2e | add pubkey bb 23 5f db f2 9e b5 7d e2 20 70 1a 63 f3 8e 5d | add pubkey ac 47 f0 5c 26 4e b1 d0 42 60 52 4a b0 77 25 ce | add pubkey e0 98 2b 43 f4 c7 59 1a 64 01 83 ea 4e e3 1a 2a | add pubkey 92 b8 55 ab 63 dd 4b 70 47 29 dc e9 b4 60 bf 43 | add pubkey 4d 58 8f 64 73 95 70 ac 35 89 b2 c2 9c d4 62 c0 | add pubkey 5f 56 5f ad 1b e5 dd 49 93 6a f5 23 82 ed d4 e7 | add pubkey d5 f1 55 f2 2d a2 26 a6 36 53 2f 94 fb 99 22 5c | add pubkey 47 cc 6d 80 30 88 96 38 0c f5 f2 ed 37 d0 09 d5 | add pubkey 07 8f 69 ef a9 99 ce 4d 1a 77 9e 39 c4 38 f3 c5 | add pubkey 51 51 48 ef | computed rsa CKAID 61 55 99 73 d3 ac ef 7d 3a 37 0e 3e 82 ad 92 c1 | computed rsa CKAID 8a 82 25 f1 | close_any(fd@16) (in whack_process() at rcv_whack.c:700) | spent 0.0551 milliseconds in whack | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:722) | dup_any(fd@16) -> fd@23 (in whack_process() at rcv_whack.c:590) | FOR_EACH_CONNECTION_... in conn_by_name | start processing: connection "ikev1-ike=aes128-sha1-dh21" (in initiate_a_connection() at initiate.c:186) | empty esp_info, returning defaults for ENCRYPT | connection 'ikev1-ike=aes128-sha1-dh21' +POLICY_UP | dup_any(fd@23) -> fd@24 (in initiate_a_connection() at initiate.c:342) | FOR_EACH_STATE_... in find_phase1_state | creating state object #5 at 0x5567ed80fbc8 | State DB: adding IKEv1 state #5 in UNDEFINED | pstats #5 ikev1.isakmp started | suspend processing: connection "ikev1-ike=aes128-sha1-dh21" (in main_outI1() at ikev1_main.c:118) | start processing: state #5 connection "ikev1-ike=aes128-sha1-dh21" from 192.1.2.23 (in main_outI1() at ikev1_main.c:118) | parent state #5: UNDEFINED(ignore) => MAIN_I1(half-open IKE SA) | dup_any(fd@24) -> fd@25 (in main_outI1() at ikev1_main.c:123) | Queuing pending IPsec SA negotiating with 192.1.2.23 "ikev1-ike=aes128-sha1-dh21" IKE SA #5 "ikev1-ike=aes128-sha1-dh21" "ikev1-ike=aes128-sha1-dh21" #5: initiating Main Mode | **emit ISAKMP Message: | initiator cookie: | 6a d8 a1 8e 7f 79 d0 c0 | 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_IDPROT (0x2) | 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 | oakley_alg_makedb() processing ealg=aes=7 halg=sha=2 modp=DH21=21 eklen=128 | oakley_alg_makedb() returning 0x5567ed80aae8 | ***emit ISAKMP Security Association Payload: | next payload type: ISAKMP_NEXT_VID (0xd) | DOI: ISAKMP_DOI_IPSEC (0x1) | next payload chain: ignoring supplied 'ISAKMP Security Association Payload'.'next payload type' value 13:ISAKMP_NEXT_VID | 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' | ****emit IPsec DOI SIT: | IPsec DOI SIT: SIT_IDENTITY_ONLY (0x1) | ikev1_out_sa pcn: 0 has 1 valid proposals | ikev1_out_sa pcn: 0 pn: 0<1 valid_count: 1 trans_cnt: 1 | ****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' | ******emit ISAKMP Oakley attribute: | af+type: AF+OAKLEY_LIFE_TYPE (0x800b) | length/value: 1 (0x1) | [1 is OAKLEY_LIFE_SECONDS] | ******emit ISAKMP Oakley attribute: | af+type: AF+OAKLEY_LIFE_DURATION (variable length) (0x800c) | length/value: 3600 (0xe10) | ******emit ISAKMP Oakley attribute: | af+type: AF+OAKLEY_ENCRYPTION_ALGORITHM (0x8001) | length/value: 7 (0x7) | [7 is OAKLEY_AES_CBC] | ******emit ISAKMP Oakley attribute: | af+type: AF+OAKLEY_HASH_ALGORITHM (0x8002) | length/value: 2 (0x2) | [2 is OAKLEY_SHA1] | ******emit ISAKMP Oakley attribute: | af+type: AF+OAKLEY_AUTHENTICATION_METHOD (0x8003) | length/value: 1 (0x1) | [1 is OAKLEY_PRESHARED_KEY] | ******emit ISAKMP Oakley attribute: | af+type: AF+OAKLEY_GROUP_DESCRIPTION (0x8004) | length/value: 21 (0x15) | [21 is OAKLEY_GROUP_ECP_521] | ******emit ISAKMP Oakley attribute: | af+type: AF+OAKLEY_KEY_LENGTH (0x800e) | length/value: 128 (0x80) | emitting length of ISAKMP Transform Payload (ISAKMP): 36 | emitting length of ISAKMP Proposal Payload: 44 | last substructure: checking 'ISAKMP Proposal Payload'.'ISAKMP Transform Payload (ISAKMP)'.'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 | 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 Security Association 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 [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 | nat add vid | sending draft and RFC NATT VIDs | out_vid(): sending [RFC 3947] | ***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 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 | skipping VID_NATT_RFC | out_vid(): sending [draft-ietf-ipsec-nat-t-ike-03] | ***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 16 raw bytes of V_ID into ISAKMP Vendor ID Payload | V_ID 7d 94 19 a6 53 10 ca 6f 2c 17 9d 92 15 52 9d 56 | emitting length of ISAKMP Vendor ID Payload: 20 | out_vid(): sending [draft-ietf-ipsec-nat-t-ike-02_n] | ***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 16 raw bytes of V_ID into ISAKMP Vendor ID Payload | V_ID 90 cb 80 91 3e bb 69 6e 08 63 81 b5 ec 42 7b 1f | emitting length of ISAKMP Vendor ID Payload: 20 | out_vid(): sending [draft-ietf-ipsec-nat-t-ike-02] | ***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 cd 60 46 43 35 df 21 f8 7c fd b2 fc 68 b6 a4 48 | emitting length of ISAKMP Vendor ID Payload: 20 | no IKEv1 message padding required | emitting length of ISAKMP Message: 204 | sending 204 bytes for reply packet for main_outI1 through eth1 from 192.1.2.45:500 to 192.1.2.23:500 (using #5) | 6a d8 a1 8e 7f 79 d0 c0 00 00 00 00 00 00 00 00 | 01 10 02 00 00 00 00 00 00 00 00 cc 0d 00 00 38 | 00 00 00 01 00 00 00 01 00 00 00 2c 00 01 00 01 | 00 00 00 24 00 01 00 00 80 0b 00 01 80 0c 0e 10 | 80 01 00 07 80 02 00 02 80 03 00 01 80 04 00 15 | 80 0e 00 80 0d 00 00 14 40 48 b7 d5 6e bc e8 85 | 25 e7 de 7f 00 d6 c2 d3 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 "ikev1-ike=aes128-sha1-dh21" #5: IMPAIR: suppressing retransmits; scheduling timeout in 60 seconds | event_schedule: new EVENT_RETRANSMIT-pe@0x7f75fc001c98 | inserting event EVENT_RETRANSMIT, timeout in 60 seconds for #5 | libevent_malloc: new ptr-libevent@0x7f76100012a8 size 128 | #5 STATE_MAIN_I1: retransmits: first event in 60 seconds; timeout in 60 seconds; limit of 12 retransmits; current time is 10399.939532 | #5 spent 0.368 milliseconds in main_outI1() | stop processing: state #5 connection "ikev1-ike=aes128-sha1-dh21" from 192.1.2.23 (in main_outI1() at ikev1_main.c:228) | resume processing: connection "ikev1-ike=aes128-sha1-dh21" (in main_outI1() at ikev1_main.c:228) | stop processing: connection "ikev1-ike=aes128-sha1-dh21" (in initiate_a_connection() at initiate.c:349) | close_any(fd@23) (in initiate_connection() at initiate.c:372) | close_any(fd@16) (in whack_process() at rcv_whack.c:700) | spent 0.419 milliseconds in whack | spent 0.00201 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 144 bytes from 192.1.2.23:500 on eth1 (192.1.2.45:500) | 6a d8 a1 8e 7f 79 d0 c0 83 10 12 f1 b1 36 23 66 | 01 10 02 00 00 00 00 00 00 00 00 90 0d 00 00 38 | 00 00 00 01 00 00 00 01 00 00 00 2c 00 01 00 01 | 00 00 00 24 00 01 00 00 80 0b 00 01 80 0c 0e 10 | 80 01 00 07 80 02 00 02 80 03 00 01 80 04 00 15 | 80 0e 00 80 0d 00 00 14 40 48 b7 d5 6e bc e8 85 | 25 e7 de 7f 00 d6 c2 d3 0d 00 00 14 af ca d7 13 | 68 a1 f1 c9 6b 86 96 fc 77 57 01 00 00 00 00 14 | 4a 13 1c 81 07 03 58 45 5c 57 28 f2 0e 95 45 2f | start processing: from 192.1.2.23:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 6a d8 a1 8e 7f 79 d0 c0 | responder cookie: | 83 10 12 f1 b1 36 23 66 | next payload type: ISAKMP_NEXT_SA (0x1) | ISAKMP version: ISAKMP Version 1.0 (rfc2407) (0x10) | exchange type: ISAKMP_XCHG_IDPROT (0x2) | flags: none (0x0) | Message ID: 0 (0x0) | length: 144 (0x90) | processing version=1.0 packet with exchange type=ISAKMP_XCHG_IDPROT (2) | State DB: IKEv1 state not found (find_state_ikev1) | State DB: found IKEv1 state #5 in MAIN_I1 (find_state_ikev1_init) | start processing: state #5 connection "ikev1-ike=aes128-sha1-dh21" from 192.1.2.23 (in process_v1_packet() at ikev1.c:1459) | #5 is idle | #5 idle | got payload 0x2 (ISAKMP_NEXT_SA) needed: 0x2 opt: 0x2080 | ***parse ISAKMP Security Association Payload: | next payload type: ISAKMP_NEXT_VID (0xd) | length: 56 (0x38) | DOI: ISAKMP_DOI_IPSEC (0x1) | got payload 0x2000 (ISAKMP_NEXT_VID) needed: 0x0 opt: 0x2080 | ***parse ISAKMP Vendor ID Payload: | next payload type: ISAKMP_NEXT_VID (0xd) | length: 20 (0x14) | got payload 0x2000 (ISAKMP_NEXT_VID) needed: 0x0 opt: 0x2080 | ***parse ISAKMP Vendor ID Payload: | next payload type: ISAKMP_NEXT_VID (0xd) | length: 20 (0x14) | got payload 0x2000 (ISAKMP_NEXT_VID) needed: 0x0 opt: 0x2080 | ***parse ISAKMP Vendor ID Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | length: 20 (0x14) | message 'main_inR1_outI2' HASH payload not checked early | received Vendor ID payload [FRAGMENTATION] | received Vendor ID payload [Dead Peer Detection] | quirks.qnat_traversal_vid set to=117 [RFC 3947] | received Vendor ID payload [RFC 3947] | ****parse IPsec DOI SIT: | IPsec DOI SIT: SIT_IDENTITY_ONLY (0x1) | ****parse ISAKMP Proposal Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | length: 44 (0x2c) | 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: 36 (0x24) | 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: 7 (0x7) | [7 is OAKLEY_AES_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: 1 (0x1) | [1 is OAKLEY_PRESHARED_KEY] | started looking for secret for @west->@east of kind PKK_PSK | actually looking for secret for @west->@east of kind PKK_PSK | line 1: key type PKK_PSK(@west) to type PKK_PSK | 1: compared key @east to @west / @east -> 004 | 2: compared key @west to @west / @east -> 014 | line 1: match=014 | match 014 beats previous best_match 000 match=0x5567ed764b58 (line=1) | concluding with best_match=014 best=0x5567ed764b58 (lineno=1) | ******parse ISAKMP Oakley attribute: | af+type: AF+OAKLEY_GROUP_DESCRIPTION (0x8004) | length/value: 21 (0x15) | [21 is OAKLEY_GROUP_ECP_521] | ******parse ISAKMP Oakley attribute: | af+type: AF+OAKLEY_KEY_LENGTH (0x800e) | length/value: 128 (0x80) | OAKLEY proposal verified; matching alg_info found | Oakley Transform 0 accepted | 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) | adding outI2 KE work-order 9 for state #5 | state #5 requesting EVENT_RETRANSMIT to be deleted | #5 STATE_MAIN_I1: retransmits: cleared | libevent_free: release ptr-libevent@0x7f76100012a8 | free_event_entry: release EVENT_RETRANSMIT-pe@0x7f75fc001c98 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x7f75fc001c98 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #5 | libevent_malloc: new ptr-libevent@0x7f76100012a8 size 128 | complete v1 state transition with STF_SUSPEND | [RE]START processing: state #5 connection "ikev1-ike=aes128-sha1-dh21" from 192.1.2.23 (in complete_v1_state_transition() at ikev1.c:2648) | suspending state #5 and saving MD | #5 is busy; has a suspended MD | #5 spent 0.106 milliseconds in process_packet_tail() | crypto helper 1 resuming | stop processing: from 192.1.2.23:500 (BACKGROUND) (in process_md() at demux.c:380) | crypto helper 1 starting work-order 9 for state #5 | stop processing: state #5 connection "ikev1-ike=aes128-sha1-dh21" from 192.1.2.23 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | crypto helper 1 doing build KE and nonce (outI2 KE); request ID 9 | spent 0.228 milliseconds in comm_handle_cb() reading and processing packet | crypto helper 1 finished build KE and nonce (outI2 KE); request ID 9 time elapsed 0.005089 seconds | (#5) spent 5.05 milliseconds in crypto helper computing work-order 9: outI2 KE (pcr) | crypto helper 1 sending results from work-order 9 for state #5 to event queue | scheduling resume sending helper answer for #5 | libevent_malloc: new ptr-libevent@0x7f7608002368 size 128 | crypto helper 1 waiting (nothing to do) | processing resume sending helper answer for #5 | start processing: state #5 connection "ikev1-ike=aes128-sha1-dh21" from 192.1.2.23 (in resume_handler() at server.c:797) | crypto helper 1 replies to request ID 9 | calling continuation function 0x5567ec0bcb50 | main_inR1_outI2_continue for #5: calculated ke+nonce, sending I2 | **emit ISAKMP Message: | initiator cookie: | 6a d8 a1 8e 7f 79 d0 c0 | responder cookie: | 83 10 12 f1 b1 36 23 66 | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: ISAKMP Version 1.0 (rfc2407) (0x10) | exchange type: ISAKMP_XCHG_IDPROT (0x2) | flags: none (0x0) | Message ID: 0 (0x0) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | ***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 Message'.'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 132 raw bytes of keyex value into ISAKMP Key Exchange Payload | keyex value 00 84 ca c9 66 6d c8 fd bc b4 bf 70 70 17 ff c1 | keyex value 0e 52 54 f3 f9 a5 d0 4e a8 e8 66 e7 64 71 b0 0a | keyex value b1 20 4a 9e b5 89 3a b6 00 6c c3 98 cd 65 a9 54 | keyex value d9 2f 78 d2 72 c3 ae c4 25 08 fc 93 e0 72 f1 c2 | keyex value 42 a5 01 58 f4 13 d1 cd a2 44 14 36 1d 59 fe a0 | keyex value 16 93 e5 11 55 ee 17 28 ba 6e 91 3e c6 88 af 63 | keyex value 7f ce f2 79 2e d4 f9 c7 f4 81 ab 85 bb b2 ea e8 | keyex value 77 86 8d 7c e7 9c e9 7c 52 7c e9 b1 af a0 63 c5 | keyex value 9e 23 7c 4f | emitting length of ISAKMP Key Exchange Payload: 136 | ***emit ISAKMP Nonce Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | 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 Ni into ISAKMP Nonce Payload | Ni 57 3c a5 a1 56 f8 8d 31 4b f4 53 4f 8f 41 c4 52 | Ni 1d 83 3a 7c 0d a7 14 3f cb a2 c3 7a 2e 15 6c 07 | emitting length of ISAKMP Nonce Payload: 36 | NAT-T checking st_nat_traversal | NAT-T found (implies NAT_T_WITH_NATD) | sending NAT-D payloads | natd_hash: hasher=0x5567ec191800(20) | natd_hash: icookie= 6a d8 a1 8e 7f 79 d0 c0 | natd_hash: rcookie= 83 10 12 f1 b1 36 23 66 | natd_hash: ip= c0 01 02 17 | natd_hash: port=500 | natd_hash: hash= 1a 59 16 e0 15 22 f7 7f 2c 2a f8 c9 85 8b 39 b7 | natd_hash: hash= 6b 15 b8 c5 | ***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 Nonce 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 1a 59 16 e0 15 22 f7 7f 2c 2a f8 c9 85 8b 39 b7 | NAT-D 6b 15 b8 c5 | emitting length of ISAKMP NAT-D Payload: 24 | natd_hash: hasher=0x5567ec191800(20) | natd_hash: icookie= 6a d8 a1 8e 7f 79 d0 c0 | natd_hash: rcookie= 83 10 12 f1 b1 36 23 66 | natd_hash: ip= c0 01 02 2d | natd_hash: port=500 | natd_hash: hash= b6 6b 55 43 38 08 d8 ed 54 b3 90 f7 28 e9 fe 13 | natd_hash: hash= 15 51 5f 63 | ***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 b6 6b 55 43 38 08 d8 ed 54 b3 90 f7 28 e9 fe 13 | NAT-D 15 51 5f 63 | emitting length of ISAKMP NAT-D Payload: 24 | no IKEv1 message padding required | emitting length of ISAKMP Message: 248 | State DB: re-hashing IKEv1 state #5 IKE SPIi and SPI[ir] | complete v1 state transition with STF_OK | [RE]START processing: state #5 connection "ikev1-ike=aes128-sha1-dh21" from 192.1.2.23 (in complete_v1_state_transition() at ikev1.c:2673) | #5 is idle | doing_xauth:no, t_xauth_client_done:no | peer supports fragmentation | peer supports DPD | IKEv1: transition from state STATE_MAIN_I1 to state STATE_MAIN_I2 | parent state #5: MAIN_I1(half-open IKE SA) => MAIN_I2(open IKE SA) | event_already_set, deleting event | state #5 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x7f76100012a8 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x7f75fc001c98 | sending reply packet to 192.1.2.23:500 (from 192.1.2.45:500) | sending 248 bytes for STATE_MAIN_I1 through eth1 from 192.1.2.45:500 to 192.1.2.23:500 (using #5) | 6a d8 a1 8e 7f 79 d0 c0 83 10 12 f1 b1 36 23 66 | 04 10 02 00 00 00 00 00 00 00 00 f8 0a 00 00 88 | 00 84 ca c9 66 6d c8 fd bc b4 bf 70 70 17 ff c1 | 0e 52 54 f3 f9 a5 d0 4e a8 e8 66 e7 64 71 b0 0a | b1 20 4a 9e b5 89 3a b6 00 6c c3 98 cd 65 a9 54 | d9 2f 78 d2 72 c3 ae c4 25 08 fc 93 e0 72 f1 c2 | 42 a5 01 58 f4 13 d1 cd a2 44 14 36 1d 59 fe a0 | 16 93 e5 11 55 ee 17 28 ba 6e 91 3e c6 88 af 63 | 7f ce f2 79 2e d4 f9 c7 f4 81 ab 85 bb b2 ea e8 | 77 86 8d 7c e7 9c e9 7c 52 7c e9 b1 af a0 63 c5 | 9e 23 7c 4f 14 00 00 24 57 3c a5 a1 56 f8 8d 31 | 4b f4 53 4f 8f 41 c4 52 1d 83 3a 7c 0d a7 14 3f | cb a2 c3 7a 2e 15 6c 07 14 00 00 18 1a 59 16 e0 | 15 22 f7 7f 2c 2a f8 c9 85 8b 39 b7 6b 15 b8 c5 | 00 00 00 18 b6 6b 55 43 38 08 d8 ed 54 b3 90 f7 | 28 e9 fe 13 15 51 5f 63 | !event_already_set at reschedule "ikev1-ike=aes128-sha1-dh21" #5: IMPAIR: suppressing retransmits; scheduling timeout in 60 seconds | event_schedule: new EVENT_RETRANSMIT-pe@0x7f75fc001c98 | inserting event EVENT_RETRANSMIT, timeout in 60 seconds for #5 | libevent_malloc: new ptr-libevent@0x5567ed80f8b8 size 128 | #5 STATE_MAIN_I2: retransmits: first event in 60 seconds; timeout in 60 seconds; limit of 12 retransmits; current time is 10399.945864 "ikev1-ike=aes128-sha1-dh21" #5: STATE_MAIN_I2: sent MI2, expecting MR2 | modecfg pull: noquirk policy:push not-client | phase 1 is done, looking for phase 2 to unpend | resume sending helper answer for #5 suppresed complete_v1_state_transition() | #5 spent 0.336 milliseconds in resume sending helper answer | stop processing: state #5 connection "ikev1-ike=aes128-sha1-dh21" from 192.1.2.23 (in resume_handler() at server.c:833) | libevent_free: release ptr-libevent@0x7f7608002368 | spent 0.00278 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 248 bytes from 192.1.2.23:500 on eth1 (192.1.2.45:500) | 6a d8 a1 8e 7f 79 d0 c0 83 10 12 f1 b1 36 23 66 | 04 10 02 00 00 00 00 00 00 00 00 f8 0a 00 00 88 | 01 41 da aa c3 5b 85 28 71 e8 2b 08 93 39 dc c5 | cb ba 1e 29 46 50 9a d7 20 a9 fb 7b 16 36 88 5a | dd c1 d3 40 74 30 76 85 00 62 3f d3 ea 7f eb c0 | 5a 31 f4 22 76 fe 82 3f 6c 9a 61 61 47 16 14 45 | 25 6f 00 5e cd 6a 0b 51 85 6c 65 a4 d6 55 99 29 | b8 7a 9b af ce 6b 5b ff 21 52 fe 07 05 fe 49 a0 | 41 ce bc b4 4f 44 2e ee 39 21 7d f3 4a cf e7 57 | 2d 5d f3 ae 9b 36 39 3b 93 95 40 11 28 25 58 d0 | d1 2c e0 ab 14 00 00 24 6e 91 4a 85 e8 94 cd 12 | 61 57 0e e0 ad ae ae 2a fa 51 e5 09 8b 1d c6 1d | fb 82 04 d4 f1 1f 25 ac 14 00 00 18 b6 6b 55 43 | 38 08 d8 ed 54 b3 90 f7 28 e9 fe 13 15 51 5f 63 | 00 00 00 18 1a 59 16 e0 15 22 f7 7f 2c 2a f8 c9 | 85 8b 39 b7 6b 15 b8 c5 | start processing: from 192.1.2.23:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 6a d8 a1 8e 7f 79 d0 c0 | responder cookie: | 83 10 12 f1 b1 36 23 66 | next payload type: ISAKMP_NEXT_KE (0x4) | ISAKMP version: ISAKMP Version 1.0 (rfc2407) (0x10) | exchange type: ISAKMP_XCHG_IDPROT (0x2) | flags: none (0x0) | Message ID: 0 (0x0) | length: 248 (0xf8) | processing version=1.0 packet with exchange type=ISAKMP_XCHG_IDPROT (2) | State DB: found IKEv1 state #5 in MAIN_I2 (find_state_ikev1) | start processing: state #5 connection "ikev1-ike=aes128-sha1-dh21" from 192.1.2.23 (in process_v1_packet() at ikev1.c:1459) | #5 is idle | #5 idle | got payload 0x10 (ISAKMP_NEXT_KE) needed: 0x410 opt: 0x102080 | ***parse ISAKMP Key Exchange Payload: | next payload type: ISAKMP_NEXT_NONCE (0xa) | length: 136 (0x88) | got payload 0x400 (ISAKMP_NEXT_NONCE) needed: 0x400 opt: 0x102080 | ***parse ISAKMP Nonce Payload: | next payload type: ISAKMP_NEXT_NATD_RFC (0x14) | length: 36 (0x24) | got payload 0x100000 (ISAKMP_NEXT_NATD_RFC) needed: 0x0 opt: 0x102080 | ***parse ISAKMP NAT-D Payload: | next payload type: ISAKMP_NEXT_NATD_RFC (0x14) | length: 24 (0x18) | got payload 0x100000 (ISAKMP_NEXT_NATD_RFC) needed: 0x0 opt: 0x102080 | ***parse ISAKMP NAT-D Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | length: 24 (0x18) | message 'main_inR2_outI3' HASH payload not checked early | started looking for secret for @west->@east of kind PKK_PSK | actually looking for secret for @west->@east of kind PKK_PSK | line 1: key type PKK_PSK(@west) to type PKK_PSK | 1: compared key @east to @west / @east -> 004 | 2: compared key @west to @west / @east -> 014 | line 1: match=014 | match 014 beats previous best_match 000 match=0x5567ed764b58 (line=1) | concluding with best_match=014 best=0x5567ed764b58 (lineno=1) | adding aggr outR1 DH work-order 10 for state #5 | state #5 requesting EVENT_RETRANSMIT to be deleted | #5 STATE_MAIN_I2: retransmits: cleared | libevent_free: release ptr-libevent@0x5567ed80f8b8 | free_event_entry: release EVENT_RETRANSMIT-pe@0x7f75fc001c98 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x7f75fc001c98 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #5 | libevent_malloc: new ptr-libevent@0x7f7608002368 size 128 | complete v1 state transition with STF_SUSPEND | [RE]START processing: state #5 connection "ikev1-ike=aes128-sha1-dh21" from 192.1.2.23 (in complete_v1_state_transition() at ikev1.c:2648) | suspending state #5 and saving MD | crypto helper 2 resuming | #5 is busy; has a suspended MD | crypto helper 2 starting work-order 10 for state #5 | #5 spent 0.0653 milliseconds in process_packet_tail() | crypto helper 2 doing compute dh+iv (V1 Phase 1) (aggr outR1 DH); request ID 10 | stop processing: from 192.1.2.23:500 (BACKGROUND) (in process_md() at demux.c:380) | stop processing: state #5 connection "ikev1-ike=aes128-sha1-dh21" from 192.1.2.23 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.187 milliseconds in comm_handle_cb() reading and processing packet | crypto helper 2 finished compute dh+iv (V1 Phase 1) (aggr outR1 DH); request ID 10 time elapsed 0.004342 seconds | (#5) spent 4.32 milliseconds in crypto helper computing work-order 10: aggr outR1 DH (pcr) | crypto helper 2 sending results from work-order 10 for state #5 to event queue | scheduling resume sending helper answer for #5 | libevent_malloc: new ptr-libevent@0x7f760c007148 size 128 | crypto helper 2 waiting (nothing to do) | processing resume sending helper answer for #5 | start processing: state #5 connection "ikev1-ike=aes128-sha1-dh21" from 192.1.2.23 (in resume_handler() at server.c:797) | crypto helper 2 replies to request ID 10 | calling continuation function 0x5567ec0bcb50 | main_inR2_outI3_cryptotail for #5: calculated DH, sending R1 | **emit ISAKMP Message: | initiator cookie: | 6a d8 a1 8e 7f 79 d0 c0 | responder cookie: | 83 10 12 f1 b1 36 23 66 | next payload type: ISAKMP_NEXT_ID (0x5) | ISAKMP version: ISAKMP Version 1.0 (rfc2407) (0x10) | exchange type: ISAKMP_XCHG_IDPROT (0x2) | flags: ISAKMP_FLAG_v1_ENCRYPTION (0x1) | 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 5:ISAKMP_NEXT_ID | 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 | I will NOT send an initial contact payload | init checking NAT-T: enabled; RFC 3947 (NAT-Traversal) | natd_hash: hasher=0x5567ec191800(20) | natd_hash: icookie= 6a d8 a1 8e 7f 79 d0 c0 | natd_hash: rcookie= 83 10 12 f1 b1 36 23 66 | natd_hash: ip= c0 01 02 2d | natd_hash: port=500 | natd_hash: hash= b6 6b 55 43 38 08 d8 ed 54 b3 90 f7 28 e9 fe 13 | natd_hash: hash= 15 51 5f 63 | natd_hash: hasher=0x5567ec191800(20) | natd_hash: icookie= 6a d8 a1 8e 7f 79 d0 c0 | natd_hash: rcookie= 83 10 12 f1 b1 36 23 66 | natd_hash: ip= c0 01 02 17 | natd_hash: port=500 | natd_hash: hash= 1a 59 16 e0 15 22 f7 7f 2c 2a f8 c9 85 8b 39 b7 | natd_hash: hash= 6b 15 b8 c5 | expected NAT-D(me): b6 6b 55 43 38 08 d8 ed 54 b3 90 f7 28 e9 fe 13 | expected NAT-D(me): 15 51 5f 63 | expected NAT-D(him): | 1a 59 16 e0 15 22 f7 7f 2c 2a f8 c9 85 8b 39 b7 | 6b 15 b8 c5 | received NAT-D: b6 6b 55 43 38 08 d8 ed 54 b3 90 f7 28 e9 fe 13 | received NAT-D: 15 51 5f 63 | received NAT-D: 1a 59 16 e0 15 22 f7 7f 2c 2a f8 c9 85 8b 39 b7 | received NAT-D: 6b 15 b8 c5 | NAT_TRAVERSAL encaps using auto-detect | NAT_TRAVERSAL this end is NOT behind NAT | NAT_TRAVERSAL that end is NOT behind NAT | NAT_TRAVERSAL nat-keepalive enabled 192.1.2.23 | NAT-Traversal: Result using RFC 3947 (NAT-Traversal) sender port 500: no NAT detected | NAT_T_WITH_KA detected | ***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 Message'.'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 77 65 73 74 | emitting length of ISAKMP Identification Payload (IPsec DOI): 12 | ***emit ISAKMP Hash Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | 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_I into ISAKMP Hash Payload | HASH_I 1a a2 f7 0c a0 5b cc aa 68 b3 ef f2 0a 6b 6b c2 | HASH_I 6d 23 b1 eb | emitting length of ISAKMP Hash Payload: 24 | Not sending INITIAL_CONTACT | emitting 12 zero bytes of encryption padding into ISAKMP Message | no IKEv1 message padding required | emitting length of ISAKMP Message: 76 | complete v1 state transition with STF_OK | [RE]START processing: state #5 connection "ikev1-ike=aes128-sha1-dh21" from 192.1.2.23 (in complete_v1_state_transition() at ikev1.c:2673) | #5 is idle | doing_xauth:no, t_xauth_client_done:no | IKEv1: transition from state STATE_MAIN_I2 to state STATE_MAIN_I3 | parent state #5: MAIN_I2(open IKE SA) => MAIN_I3(open IKE SA) | event_already_set, deleting event | state #5 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x7f7608002368 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x7f75fc001c98 | sending reply packet to 192.1.2.23:500 (from 192.1.2.45:500) | sending 76 bytes for STATE_MAIN_I2 through eth1 from 192.1.2.45:500 to 192.1.2.23:500 (using #5) | 6a d8 a1 8e 7f 79 d0 c0 83 10 12 f1 b1 36 23 66 | 05 10 02 01 00 00 00 00 00 00 00 4c d3 92 b1 89 | 2b 21 d9 5a ae 8e 39 c5 ea 94 14 8b 53 8d cb 6f | 60 32 3a 65 f8 97 86 7d 4c c9 4b 7d 98 7b 73 db | a7 d9 ef 0c b1 de 6b a7 a2 ef 12 28 | !event_already_set at reschedule "ikev1-ike=aes128-sha1-dh21" #5: IMPAIR: suppressing retransmits; scheduling timeout in 60 seconds | event_schedule: new EVENT_RETRANSMIT-pe@0x7f75fc001c98 | inserting event EVENT_RETRANSMIT, timeout in 60 seconds for #5 | libevent_malloc: new ptr-libevent@0x5567ed80f8b8 size 128 | #5 STATE_MAIN_I3: retransmits: first event in 60 seconds; timeout in 60 seconds; limit of 12 retransmits; current time is 10399.956221 "ikev1-ike=aes128-sha1-dh21" #5: STATE_MAIN_I3: sent MI3, expecting MR3 | modecfg pull: noquirk policy:push not-client | phase 1 is done, looking for phase 2 to unpend | resume sending helper answer for #5 suppresed complete_v1_state_transition() | #5 spent 0.236 milliseconds in resume sending helper answer | stop processing: state #5 connection "ikev1-ike=aes128-sha1-dh21" from 192.1.2.23 (in resume_handler() at server.c:833) | libevent_free: release ptr-libevent@0x7f760c007148 | spent 0.00233 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 76 bytes from 192.1.2.23:500 on eth1 (192.1.2.45:500) | 6a d8 a1 8e 7f 79 d0 c0 83 10 12 f1 b1 36 23 66 | 05 10 02 01 00 00 00 00 00 00 00 4c 0a c4 cb 3f | 34 65 a3 e9 98 56 e3 1e 8b 11 45 a5 47 67 61 fa | c6 cc a1 8c 1c 59 69 78 3e bb 0c 9a 2e 90 70 d0 | 50 30 19 3f 80 9f 9f b8 96 ea a8 d3 | start processing: from 192.1.2.23:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 6a d8 a1 8e 7f 79 d0 c0 | responder cookie: | 83 10 12 f1 b1 36 23 66 | next payload type: ISAKMP_NEXT_ID (0x5) | ISAKMP version: ISAKMP Version 1.0 (rfc2407) (0x10) | exchange type: ISAKMP_XCHG_IDPROT (0x2) | flags: ISAKMP_FLAG_v1_ENCRYPTION (0x1) | Message ID: 0 (0x0) | length: 76 (0x4c) | processing version=1.0 packet with exchange type=ISAKMP_XCHG_IDPROT (2) | State DB: found IKEv1 state #5 in MAIN_I3 (find_state_ikev1) | start processing: state #5 connection "ikev1-ike=aes128-sha1-dh21" from 192.1.2.23 (in process_v1_packet() at ikev1.c:1459) | #5 is idle | #5 idle | received encrypted packet from 192.1.2.23:500 | got payload 0x20 (ISAKMP_NEXT_ID) needed: 0x120 opt: 0x2080 | ***parse ISAKMP Identification Payload: | next payload type: ISAKMP_NEXT_HASH (0x8) | length: 12 (0xc) | ID type: ID_FQDN (0x2) | DOI specific A: 0 (0x0) | DOI specific B: 0 (0x0) | obj: 65 61 73 74 | got payload 0x100 (ISAKMP_NEXT_HASH) needed: 0x100 opt: 0x2080 | ***parse ISAKMP Hash Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | length: 24 (0x18) | removing 12 bytes of padding | message 'main_inR3' HASH payload not checked early "ikev1-ike=aes128-sha1-dh21" #5: Peer ID is ID_FQDN: '@east' | X509: no CERT payloads to process | received 'Main' message HASH_R data ok | FOR_EACH_CONNECTION_... in ISAKMP_SA_established | complete v1 state transition with STF_OK | [RE]START processing: state #5 connection "ikev1-ike=aes128-sha1-dh21" from 192.1.2.23 (in complete_v1_state_transition() at ikev1.c:2673) | #5 is idle | doing_xauth:no, t_xauth_client_done:no | IKEv1: transition from state STATE_MAIN_I3 to state STATE_MAIN_I4 | parent state #5: MAIN_I3(open IKE SA) => MAIN_I4(established IKE SA) | event_already_set, deleting event | state #5 requesting EVENT_RETRANSMIT to be deleted | #5 STATE_MAIN_I4: retransmits: cleared | libevent_free: release ptr-libevent@0x5567ed80f8b8 | free_event_entry: release EVENT_RETRANSMIT-pe@0x7f75fc001c98 | !event_already_set at reschedule | event_schedule: new EVENT_SA_REPLACE-pe@0x7f75fc001c98 | inserting event EVENT_SA_REPLACE, timeout in 2568 seconds for #5 | libevent_malloc: new ptr-libevent@0x7f760c007148 size 128 | pstats #5 ikev1.isakmp established "ikev1-ike=aes128-sha1-dh21" #5: STATE_MAIN_I4: ISAKMP SA established {auth=PRESHARED_KEY cipher=AES_CBC_128 integ=HMAC_SHA1 group=DH21} | DPD: dpd_init() called on ISAKMP SA | DPD: Peer supports Dead Peer Detection | DPD: not initializing DPD because DPD is disabled locally | modecfg pull: noquirk policy:push not-client | phase 1 is done, looking for phase 2 to unpend | unpending state #5 | creating state object #6 at 0x5567ed80cb58 | State DB: adding IKEv1 state #6 in UNDEFINED | pstats #6 ikev1.ipsec started | duplicating state object #5 "ikev1-ike=aes128-sha1-dh21" as #6 for IPSEC SA | #6 setting local endpoint to 192.1.2.45:500 from #5.st_localport (in duplicate_state() at state.c:1484) | suspend processing: state #5 connection "ikev1-ike=aes128-sha1-dh21" from 192.1.2.23 (in quick_outI1() at ikev1_quick.c:685) | start processing: state #6 connection "ikev1-ike=aes128-sha1-dh21" from 192.1.2.23 (in quick_outI1() at ikev1_quick.c:685) | child state #6: UNDEFINED(ignore) => QUICK_I1(established CHILD SA) "ikev1-ike=aes128-sha1-dh21" #6: initiating Quick Mode PSK+ENCRYPT+TUNNEL+PFS+UP+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO {using isakmp#5 msgid:5256cff8 proposal=defaults pfsgroup=DH21} | adding quick_outI1 KE work-order 11 for state #6 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x7f75fc000e58 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #6 | libevent_malloc: new ptr-libevent@0x5567ed811cd8 size 128 | stop processing: state #6 connection "ikev1-ike=aes128-sha1-dh21" from 192.1.2.23 (in quick_outI1() at ikev1_quick.c:764) | resume processing: state #5 connection "ikev1-ike=aes128-sha1-dh21" from 192.1.2.23 (in quick_outI1() at ikev1_quick.c:764) | crypto helper 3 resuming | crypto helper 3 starting work-order 11 for state #6 | crypto helper 3 doing build KE and nonce (quick_outI1 KE); request ID 11 | unqueuing pending Quick Mode with 192.1.2.23 "ikev1-ike=aes128-sha1-dh21" | removing pending policy for no connection {0x5567ed764898} | close_any(fd@24) (in release_whack() at state.c:654) | #5 spent 0.227 milliseconds in process_packet_tail() | stop processing: from 192.1.2.23:500 (BACKGROUND) (in process_md() at demux.c:380) | stop processing: state #5 connection "ikev1-ike=aes128-sha1-dh21" from 192.1.2.23 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.346 milliseconds in comm_handle_cb() reading and processing packet | crypto helper 3 finished build KE and nonce (quick_outI1 KE); request ID 11 time elapsed 0.003343 seconds | (#6) spent 3.16 milliseconds in crypto helper computing work-order 11: quick_outI1 KE (pcr) | crypto helper 3 sending results from work-order 11 for state #6 to event queue | scheduling resume sending helper answer for #6 | libevent_malloc: new ptr-libevent@0x7f7600002188 size 128 | crypto helper 3 waiting (nothing to do) | processing resume sending helper answer for #6 | start processing: state #6 connection "ikev1-ike=aes128-sha1-dh21" from 192.1.2.23 (in resume_handler() at server.c:797) | crypto helper 3 replies to request ID 11 | calling continuation function 0x5567ec0bcb50 | quick_outI1_continue for #6: calculated ke+nonce, sending I1 | **emit ISAKMP Message: | initiator cookie: | 6a d8 a1 8e 7f 79 d0 c0 | responder cookie: | 83 10 12 f1 b1 36 23 66 | 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: 1381421048 (0x5256cff8) | 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 | emitting quick defaults using policy none | empty esp_info, returning defaults for ENCRYPT | ***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' | ****emit IPsec DOI SIT: | IPsec DOI SIT: SIT_IDENTITY_ONLY (0x1) | ikev1_out_sa pcn: 0 has 1 valid proposals | ikev1_out_sa pcn: 0 pn: 0<1 valid_count: 1 trans_cnt: 2 | ****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: 2 (0x2) | last substructure: saving location 'ISAKMP Security Association Payload'.'ISAKMP Proposal Payload'.'next payload type' | netlink_get_spi: allocated 0x862bcec8 for esp.0@192.1.2.45 | emitting 4 raw bytes of SPI into ISAKMP Proposal Payload | SPI 86 2b ce c8 | *****emit ISAKMP Transform Payload (ESP): | next payload type: ISAKMP_NEXT_T (0x3) | 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' | ******emit ISAKMP IPsec DOI attribute: | af+type: AF+GROUP_DESCRIPTION (0x8003) | length/value: 21 (0x15) | [21 is OAKLEY_GROUP_ECP_521] | ******emit ISAKMP IPsec DOI attribute: | af+type: AF+ENCAPSULATION_MODE (0x8004) | length/value: 1 (0x1) | [1 is ENCAPSULATION_MODE_TUNNEL] | ******emit ISAKMP IPsec DOI attribute: | af+type: AF+SA_LIFE_TYPE (0x8001) | length/value: 1 (0x1) | [1 is SA_LIFE_TYPE_SECONDS] | ******emit ISAKMP IPsec DOI attribute: | af+type: AF+SA_LIFE_DURATION (variable length) (0x8002) | length/value: 28800 (0x7080) | ******emit ISAKMP IPsec DOI attribute: | af+type: AF+AUTH_ALGORITHM (0x8005) | length/value: 2 (0x2) | [2 is AUTH_ALGORITHM_HMAC_SHA1] | ******emit ISAKMP IPsec DOI attribute: | af+type: AF+KEY_LENGTH (0x8006) | length/value: 128 (0x80) | emitting length of ISAKMP Transform Payload (ESP): 32 | *****emit ISAKMP Transform Payload (ESP): | next payload type: ISAKMP_NEXT_NONE (0x0) | ESP transform number: 1 (0x1) | ESP transform ID: ESP_3DES (0x3) | last substructure: checking 'ISAKMP Proposal Payload'.'ISAKMP Transform Payload (ESP)'.'next payload type' is ISAKMP_NEXT_T (0x3) | last substructure: saving location 'ISAKMP Proposal Payload'.'ISAKMP Transform Payload (ESP)'.'next payload type' | ******emit ISAKMP IPsec DOI attribute: | af+type: AF+GROUP_DESCRIPTION (0x8003) | length/value: 21 (0x15) | [21 is OAKLEY_GROUP_ECP_521] | ******emit ISAKMP IPsec DOI attribute: | af+type: AF+ENCAPSULATION_MODE (0x8004) | length/value: 1 (0x1) | [1 is ENCAPSULATION_MODE_TUNNEL] | ******emit ISAKMP IPsec DOI attribute: | af+type: AF+SA_LIFE_TYPE (0x8001) | length/value: 1 (0x1) | [1 is SA_LIFE_TYPE_SECONDS] | ******emit ISAKMP IPsec DOI attribute: | af+type: AF+SA_LIFE_DURATION (variable length) (0x8002) | length/value: 28800 (0x7080) | ******emit ISAKMP IPsec DOI attribute: | af+type: AF+AUTH_ALGORITHM (0x8005) | length/value: 2 (0x2) | [2 is AUTH_ALGORITHM_HMAC_SHA1] | emitting length of ISAKMP Transform Payload (ESP): 28 | emitting length of ISAKMP Proposal Payload: 72 | last substructure: checking 'ISAKMP Proposal Payload'.'ISAKMP Transform Payload (ESP)'.'next payload type' is 0 | emitting length of ISAKMP Security Association Payload: 84 | last substructure: checking 'ISAKMP Security Association Payload'.'ISAKMP Proposal Payload'.'next payload type' is 0 | ***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 Ni into ISAKMP Nonce Payload | Ni 7e 57 ab 07 70 8b 8f be bd 01 1d ef 1e df e7 88 | Ni 0f bb 8c 61 64 1d 82 b7 d9 ed 34 58 e4 23 e9 da | 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 132 raw bytes of keyex value into ISAKMP Key Exchange Payload | keyex value 01 ee 69 f0 6e f5 dd d6 f8 ac 31 eb 7c 73 56 02 | keyex value 84 98 10 82 77 9c 04 bb 6f 14 a7 26 d5 56 ad 70 | keyex value ef 46 5e b9 9a fc 46 40 bf 7c a7 e0 f5 fd d6 ec | keyex value 1b 3d 52 1c 3d 47 89 fa cd e4 30 1c 17 f2 de 69 | keyex value 77 25 01 38 65 f4 e7 e3 00 a3 a5 88 d6 e3 88 62 | keyex value 31 1a a0 99 ac 51 19 5b c7 e1 a4 f7 60 8a 26 9c | keyex value 28 63 74 77 2b ca cf 54 8f 18 64 84 05 c6 af 9a | keyex value 6c 6e 9d a1 00 96 c7 35 00 29 0e 6c a9 85 28 37 | keyex value f4 a8 9b 11 | emitting length of ISAKMP Key Exchange Payload: 136 | ***emit ISAKMP Identification Payload (IPsec DOI): | next payload type: ISAKMP_NEXT_ID (0x5) | ID type: ID_IPV4_ADDR_SUBNET (0x4) | 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 client network into ISAKMP Identification Payload (IPsec DOI) | client network c0 00 01 00 | emitting 4 raw bytes of client mask into ISAKMP Identification Payload (IPsec DOI) | client mask ff ff ff 00 | emitting length of ISAKMP Identification Payload (IPsec DOI): 16 | ***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 4 raw bytes of client network into ISAKMP Identification Payload (IPsec DOI) | client network c0 00 02 00 | emitting 4 raw bytes of client mask into ISAKMP Identification Payload (IPsec DOI) | client mask ff ff ff 00 | emitting length of ISAKMP Identification Payload (IPsec DOI): 16 | outI1 HASH(1): | 63 04 30 3c 25 08 a4 72 3e b4 20 1d ac 8c 88 a5 | 5d 77 2f 71 | emitting 8 zero bytes of encryption padding into ISAKMP Message | no IKEv1 message padding required | emitting length of ISAKMP Message: 348 | sending 348 bytes for reply packet from quick_outI1 through eth1 from 192.1.2.45:500 to 192.1.2.23:500 (using #6) | 6a d8 a1 8e 7f 79 d0 c0 83 10 12 f1 b1 36 23 66 | 08 10 20 01 52 56 cf f8 00 00 01 5c 1a 01 89 8b | 9d d2 98 7a b1 e8 1c 03 ce 2c 68 21 4d c9 28 d6 | c4 df a1 6c 88 46 95 3e 60 f3 38 b8 a8 73 34 51 | a2 bd e9 34 19 d2 4d 26 20 ba 45 27 d8 55 e8 cc | b9 83 94 81 c8 41 d8 36 9a 32 90 f4 ff 76 f9 73 | b0 9f d7 55 6c b1 d1 a0 b9 e2 c5 a6 5a 5e c8 59 | 00 14 6a 1c 82 0c 70 af c5 42 6b 5c 4c c9 02 d5 | 75 78 9a 24 35 46 0a 12 52 9d 57 c1 3f 3d 42 a6 | f0 05 53 bb 98 27 26 d7 af e7 79 78 f5 07 00 93 | da 04 ae cd 35 f1 40 54 c9 fa 89 58 71 19 4d ee | 7e 97 88 ab 42 13 64 41 cb 95 11 f4 08 bd f4 6e | 12 92 ac 7f 41 0f 27 dd 8b 40 10 7a 15 db c4 86 | d5 87 73 af f8 31 67 4e 74 0e 09 fb c3 82 4f 2d | 88 de 65 e0 4e 09 0a 65 89 8d 71 da c2 af ba 52 | 9d 3a f8 7d 2f f1 05 1f 76 cc eb 23 7e 4a b1 cd | 75 19 ab 93 92 fe 32 e6 62 e5 62 66 97 58 af 7d | b9 e6 9d 08 6c 45 24 7b 38 2b 54 19 19 63 fe dc | 2e 0f 02 7b a3 78 bf a1 5b 31 86 5f 84 11 ec 46 | 9d 2f 96 a2 4b 2d 64 45 d7 68 94 92 77 3f c4 69 | ea f9 81 88 a7 97 07 3e 43 2f 6c 98 6b 38 11 5a | 58 ba c2 15 ed 2f 42 22 24 a9 bb 01 | state #6 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x5567ed811cd8 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x7f75fc000e58 "ikev1-ike=aes128-sha1-dh21" #6: IMPAIR: suppressing retransmits; scheduling timeout in 60 seconds | event_schedule: new EVENT_RETRANSMIT-pe@0x7f75fc000e58 | inserting event EVENT_RETRANSMIT, timeout in 60 seconds for #6 | libevent_malloc: new ptr-libevent@0x5567ed790888 size 128 | #6 STATE_QUICK_I1: retransmits: first event in 60 seconds; timeout in 60 seconds; limit of 12 retransmits; current time is 10399.961209 | resume sending helper answer for #6 suppresed complete_v1_state_transition() | #6 spent 0.49 milliseconds in resume sending helper answer | stop processing: state #6 connection "ikev1-ike=aes128-sha1-dh21" from 192.1.2.23 (in resume_handler() at server.c:833) | libevent_free: release ptr-libevent@0x7f7600002188 | spent 0.00299 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 316 bytes from 192.1.2.23:500 on eth1 (192.1.2.45:500) | 6a d8 a1 8e 7f 79 d0 c0 83 10 12 f1 b1 36 23 66 | 08 10 20 01 52 56 cf f8 00 00 01 3c 63 ee f5 f5 | ce 1a c2 81 d3 c7 ee 4b 20 c0 04 9d 62 b8 a7 f8 | 23 5d 52 0e 73 4d ab 60 16 81 0d c5 b4 0d df 97 | 6a e5 ab af dd 06 50 60 6d 2d 15 c3 71 2f 87 ae | 30 7a 9b cb 57 23 d1 d6 01 92 f0 e0 50 d0 62 00 | 14 4a b0 eb aa f3 0b 56 63 19 dd ff 1f 2f 9b 90 | b4 65 4e 48 4d 12 94 e2 a1 2b 6b bc 24 09 e9 96 | 88 f6 a8 96 28 85 bb 86 04 56 c7 b4 99 a8 86 21 | 89 11 95 bd 40 81 47 70 20 23 eb e4 51 2a 8e 3a | 84 d4 3c 70 c4 1b ef 44 3c 3d d5 d9 c6 4d 5e 77 | 6a 9c f4 74 30 ea e9 91 3c fb 39 6e dd 40 8f 6e | 8f 8a 62 0a 6e 96 d4 11 6b 26 65 a9 c9 03 5f 14 | 88 c4 70 a0 57 f3 8e 37 e3 d0 46 77 ef b3 4a 5c | 34 75 40 cb 30 b9 80 e0 59 42 ea aa 4a 3a a6 4f | 40 15 7e 1a 10 53 c9 6e d1 dc e7 b5 9e 8a 0d d1 | 78 3a 47 ca d9 bf 0c 21 98 9a 73 ab d2 ed 3b 95 | 66 6d 9d c3 58 cf fe 4f ac 3f 09 da e5 22 17 04 | 0d e3 3b be 14 1a d6 dc e9 77 4b 9f 73 e6 ed b1 | 51 81 24 8b d6 e5 a3 08 58 d5 f8 0d | start processing: from 192.1.2.23:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 6a d8 a1 8e 7f 79 d0 c0 | responder cookie: | 83 10 12 f1 b1 36 23 66 | 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: 1381421048 (0x5256cff8) | length: 316 (0x13c) | processing version=1.0 packet with exchange type=ISAKMP_XCHG_QUICK (32) | State DB: found IKEv1 state #6 in QUICK_I1 (find_state_ikev1) | start processing: state #6 connection "ikev1-ike=aes128-sha1-dh21" from 192.1.2.23 (in process_v1_packet() at ikev1.c:1633) | #6 is idle | #6 idle | received encrypted packet from 192.1.2.23: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: 56 (0x38) | 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: 136 (0x88) | got payload 0x20 (ISAKMP_NEXT_ID) needed: 0x0 opt: 0x200030 | ***parse ISAKMP Identification Payload (IPsec DOI): | next payload type: ISAKMP_NEXT_ID (0x5) | length: 16 (0x10) | ID type: ID_IPV4_ADDR_SUBNET (0x4) | Protocol ID: 0 (0x0) | port: 0 (0x0) | obj: c0 00 01 00 ff ff ff 00 | 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 | removing 4 bytes of padding | quick_inR1_outI2 HASH(2): | 30 fd 5e 75 de f8 12 b9 29 cc ed f9 a2 91 22 ee | a0 51 6e 6f | received 'quick_inR1_outI2' message HASH(2) data ok | ****parse IPsec DOI SIT: | IPsec DOI SIT: SIT_IDENTITY_ONLY (0x1) | ****parse ISAKMP Proposal Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | length: 44 (0x2c) | proposal number: 0 (0x0) | protocol ID: PROTO_IPSEC_ESP (0x3) | SPI size: 4 (0x4) | number of transforms: 1 (0x1) | parsing 4 raw bytes of ISAKMP Proposal Payload into SPI | SPI 1e 8d 45 87 | *****parse ISAKMP Transform Payload (ESP): | next payload type: ISAKMP_NEXT_NONE (0x0) | 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: 21 (0x15) | [21 is OAKLEY_GROUP_ECP_521] | ******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 | started looking for secret for @west->@east of kind PKK_PSK | actually looking for secret for @west->@east of kind PKK_PSK | line 1: key type PKK_PSK(@west) to type PKK_PSK | 1: compared key @east to @west / @east -> 004 | 2: compared key @west to @west / @east -> 014 | line 1: match=014 | match 014 beats previous best_match 000 match=0x5567ed764b58 (line=1) | concluding with best_match=014 best=0x5567ed764b58 (lineno=1) | adding quick outI2 DH work-order 12 for state #6 | state #6 requesting EVENT_RETRANSMIT to be deleted | #6 STATE_QUICK_I1: retransmits: cleared | libevent_free: release ptr-libevent@0x5567ed790888 | free_event_entry: release EVENT_RETRANSMIT-pe@0x7f75fc000e58 | event_schedule: new EVENT_CRYPTO_TIMEOUT-pe@0x7f75fc000e58 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #6 | libevent_malloc: new ptr-libevent@0x7f7600002188 size 128 | complete v1 state transition with STF_SUSPEND | [RE]START processing: state #6 connection "ikev1-ike=aes128-sha1-dh21" from 192.1.2.23 (in complete_v1_state_transition() at ikev1.c:2648) | suspending state #6 and saving MD | crypto helper 4 resuming | #6 is busy; has a suspended MD | crypto helper 4 starting work-order 12 for state #6 | #6 spent 0.106 milliseconds in process_packet_tail() | crypto helper 4 doing compute dh (V1 Phase 2 PFS) (quick outI2 DH); request ID 12 | stop processing: from 192.1.2.23:500 (BACKGROUND) (in process_md() at demux.c:380) | stop processing: state #6 connection "ikev1-ike=aes128-sha1-dh21" from 192.1.2.23 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.289 milliseconds in comm_handle_cb() reading and processing packet | crypto helper 4 finished compute dh (V1 Phase 2 PFS) (quick outI2 DH); request ID 12 time elapsed 0.002705 seconds | (#6) spent 2.71 milliseconds in crypto helper computing work-order 12: quick outI2 DH (pcr) | crypto helper 4 sending results from work-order 12 for state #6 to event queue | scheduling resume sending helper answer for #6 | libevent_malloc: new ptr-libevent@0x7f7604001138 size 128 | crypto helper 4 waiting (nothing to do) | processing resume sending helper answer for #6 | start processing: state #6 connection "ikev1-ike=aes128-sha1-dh21" from 192.1.2.23 (in resume_handler() at server.c:797) | crypto helper 4 replies to request ID 12 | calling continuation function 0x5567ec0bcb50 | quick_inR1_outI2_continue for #6: calculated ke+nonce, calculating DH | **emit ISAKMP Message: | initiator cookie: | 6a d8 a1 8e 7f 79 d0 c0 | responder cookie: | 83 10 12 f1 b1 36 23 66 | 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: 1381421048 (0x5256cff8) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | parsing 4 raw bytes of ISAKMP Identification Payload (IPsec DOI) into ID address | ID address c0 00 01 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.1.0/24 | our 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 | peer client is subnet 192.0.2.0/24 | peer client protocol/port is 0/0 | ***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 | quick_inR1_outI2 HASH(3): | 99 7e 45 8f 8f fa e3 84 6e 8a 03 4a 2a 49 aa 5a | 41 7e f0 2e | compute_proto_keymat: needed_len (after ESP enc)=16 | compute_proto_keymat: needed_len (after ESP auth)=36 | install_ipsec_sa() for #6: inbound and outbound | could_route called for ikev1-ike=aes128-sha1-dh21 (kind=CK_PERMANENT) | FOR_EACH_CONNECTION_... in route_owner | conn ikev1-ike=aes128-sha1-dh21 mark 0/00000000, 0/00000000 vs | conn ikev1-ike=aes128-sha1-dh21 mark 0/00000000, 0/00000000 | route owner of "ikev1-ike=aes128-sha1-dh21" unrouted: NULL; eroute owner: NULL | 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 'ikev1-ike=aes128-sha1-dh21' 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.1e8d4587@192.1.2.23 included non-error error | set up outgoing SA, ref=0/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 'ikev1-ike=aes128-sha1-dh21' 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.862bcec8@192.1.2.45 included non-error error | priority calculation of connection "ikev1-ike=aes128-sha1-dh21" is 0xfe7e7 | add inbound eroute 192.0.2.0/24:0 --0-> 192.0.1.0/24:0 => tun.10000@192.1.2.45 (raw_eroute) | IPsec Sa SPD priority set to 1042407 | raw_eroute result=success | set up incoming SA, ref=0/0 | sr for #6: unrouted | route_and_eroute() for proto 0, and source port 0 dest port 0 | FOR_EACH_CONNECTION_... in route_owner | conn ikev1-ike=aes128-sha1-dh21 mark 0/00000000, 0/00000000 vs | conn ikev1-ike=aes128-sha1-dh21 mark 0/00000000, 0/00000000 | route owner of "ikev1-ike=aes128-sha1-dh21" unrouted: NULL; eroute owner: NULL | route_and_eroute with c: ikev1-ike=aes128-sha1-dh21 (next: none) ero:null esr:{(nil)} ro:null rosr:{(nil)} and state: #6 | priority calculation of connection "ikev1-ike=aes128-sha1-dh21" is 0xfe7e7 | eroute_connection add eroute 192.0.1.0/24:0 --0-> 192.0.2.0/24:0 => tun.0@192.1.2.23 (raw_eroute) | IPsec Sa SPD priority set to 1042407 | raw_eroute result=success | running updown command "ipsec _updown" for verb up | command executing up-client | executing up-client: PLUTO_VERB='up-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='ikev1-ike=aes128-sha1-dh21' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.23' PLUTO_ME='192.1.2.45' PLUTO_MY_ID='@west' PLUTO_MY_CLIENT='192.0.1.0/24' PLUTO_MY_CLIENT_NET='192.0.1.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16396' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.23' PLUTO_PEER_ID='@east' PLUTO_PEER_CLIENT='192.0.2.0/24' PLUTO_PEER_CLIENT_NET='192.0.2.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='PSK+ENCRYPT+TUNNEL+PFS+UP+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' VTI_ROUTING='no' VTI_SHARED='no' SPI_IN | popen cmd is 1045 chars long | cmd( 0):PLUTO_VERB='up-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='ikev1-ike=aes128-sh: | cmd( 80):a1-dh21' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.23' PLUTO_ME='192.1.2.45: | cmd( 160):' PLUTO_MY_ID='@west' PLUTO_MY_CLIENT='192.0.1.0/24' PLUTO_MY_CLIENT_NET='192.0.: | cmd( 240):1.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0: | cmd( 320):' PLUTO_SA_REQID='16396' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.23' PLUTO_PEER_: | cmd( 400):ID='@east' PLUTO_PEER_CLIENT='192.0.2.0/24' PLUTO_PEER_CLIENT_NET='192.0.2.0' PL: | cmd( 480):UTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0': | cmd( 560): PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='PSK+: | cmd( 640):ENCRYPT+TUNNEL+PFS+UP+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_: | cmd( 720):KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CI: | cmd( 800):SCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PL: | cmd( 880):UTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' VTI: | cmd( 960):_ROUTING='no' VTI_SHARED='no' SPI_IN=0x1e8d4587 SPI_OUT=0x862bcec8 ipsec _updown: | cmd(1040): 2>&1: | route_and_eroute: firewall_notified: true | running updown command "ipsec _updown" for verb prepare | command executing prepare-client | executing prepare-client: PLUTO_VERB='prepare-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='ikev1-ike=aes128-sha1-dh21' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.23' PLUTO_ME='192.1.2.45' PLUTO_MY_ID='@west' PLUTO_MY_CLIENT='192.0.1.0/24' PLUTO_MY_CLIENT_NET='192.0.1.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16396' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.23' PLUTO_PEER_ID='@east' PLUTO_PEER_CLIENT='192.0.2.0/24' PLUTO_PEER_CLIENT_NET='192.0.2.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='PSK+ENCRYPT+TUNNEL+PFS+UP+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' VTI_ROUTING='no' VTI_SHARED=' | popen cmd is 1050 chars long | cmd( 0):PLUTO_VERB='prepare-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='ikev1-ike=aes1: | cmd( 80):28-sha1-dh21' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.23' PLUTO_ME='192.1: | cmd( 160):.2.45' PLUTO_MY_ID='@west' PLUTO_MY_CLIENT='192.0.1.0/24' PLUTO_MY_CLIENT_NET='1: | cmd( 240):92.0.1.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOC: | cmd( 320):OL='0' PLUTO_SA_REQID='16396' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.23' PLUTO_: | cmd( 400):PEER_ID='@east' PLUTO_PEER_CLIENT='192.0.2.0/24' PLUTO_PEER_CLIENT_NET='192.0.2.: | cmd( 480):0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCO: | cmd( 560):L='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY=: | cmd( 640):'PSK+ENCRYPT+TUNNEL+PFS+UP+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_: | cmd( 720):CONN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PE: | cmd( 800):ER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER=: | cmd( 880):'' PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE=': | cmd( 960):' VTI_ROUTING='no' VTI_SHARED='no' SPI_IN=0x1e8d4587 SPI_OUT=0x862bcec8 ipsec _u: | cmd(1040):pdown 2>&1: | running updown command "ipsec _updown" for verb route | command executing route-client | executing route-client: PLUTO_VERB='route-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='ikev1-ike=aes128-sha1-dh21' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.23' PLUTO_ME='192.1.2.45' PLUTO_MY_ID='@west' PLUTO_MY_CLIENT='192.0.1.0/24' PLUTO_MY_CLIENT_NET='192.0.1.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16396' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.23' PLUTO_PEER_ID='@east' PLUTO_PEER_CLIENT='192.0.2.0/24' PLUTO_PEER_CLIENT_NET='192.0.2.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='PSK+ENCRYPT+TUNNEL+PFS+UP+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' VTI_ROUTING='no' VTI_SHARED='no' | popen cmd is 1048 chars long | cmd( 0):PLUTO_VERB='route-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='ikev1-ike=aes128: | cmd( 80):-sha1-dh21' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.23' PLUTO_ME='192.1.2: | cmd( 160):.45' PLUTO_MY_ID='@west' PLUTO_MY_CLIENT='192.0.1.0/24' PLUTO_MY_CLIENT_NET='192: | cmd( 240):.0.1.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL: | cmd( 320):='0' PLUTO_SA_REQID='16396' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.23' PLUTO_PE: | cmd( 400):ER_ID='@east' PLUTO_PEER_CLIENT='192.0.2.0/24' PLUTO_PEER_CLIENT_NET='192.0.2.0': | cmd( 480): PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL=: | cmd( 560):'0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='P: | cmd( 640):SK+ENCRYPT+TUNNEL+PFS+UP+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CO: | cmd( 720):NN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER: | cmd( 800):_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='': | cmd( 880): PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' : | cmd( 960):VTI_ROUTING='no' VTI_SHARED='no' SPI_IN=0x1e8d4587 SPI_OUT=0x862bcec8 ipsec _upd: | cmd(1040):own 2>&1: | route_and_eroute: instance "ikev1-ike=aes128-sha1-dh21", setting eroute_owner {spd=0x5567ed80b9c8,sr=0x5567ed80b9c8} to #6 (was #0) (newest_ipsec_sa=#0) | #5 spent 1.62 milliseconds in install_ipsec_sa() | emitting 8 zero bytes of encryption padding into ISAKMP Message | no IKEv1 message padding required | emitting length of ISAKMP Message: 60 | inR1_outI2: instance ikev1-ike=aes128-sha1-dh21[0], setting IKEv1 newest_ipsec_sa to #6 (was #0) (spd.eroute=#6) cloned from #5 | DPD: dpd_init() called on IPsec SA | DPD: Peer does not support Dead Peer Detection | complete v1 state transition with STF_OK | [RE]START processing: state #6 connection "ikev1-ike=aes128-sha1-dh21" from 192.1.2.23 (in complete_v1_state_transition() at ikev1.c:2673) | #6 is idle | doing_xauth:no, t_xauth_client_done:no | IKEv1: transition from state STATE_QUICK_I1 to state STATE_QUICK_I2 | child state #6: QUICK_I1(established CHILD SA) => QUICK_I2(established CHILD SA) | event_already_set, deleting event | state #6 requesting EVENT_CRYPTO_TIMEOUT to be deleted | libevent_free: release ptr-libevent@0x7f7600002188 | free_event_entry: release EVENT_CRYPTO_TIMEOUT-pe@0x7f75fc000e58 | sending reply packet to 192.1.2.23:500 (from 192.1.2.45:500) | sending 60 bytes for STATE_QUICK_I1 through eth1 from 192.1.2.45:500 to 192.1.2.23:500 (using #6) | 6a d8 a1 8e 7f 79 d0 c0 83 10 12 f1 b1 36 23 66 | 08 10 20 01 52 56 cf f8 00 00 00 3c 31 6b 58 2a | 08 d5 3e 61 6c e4 8e 81 d8 51 d3 8d 8a e8 2a 64 | ae 5c 81 c6 39 cb e9 2d b6 eb 18 cc | !event_already_set at reschedule | event_schedule: new EVENT_SA_REPLACE-pe@0x7f760c000b48 | inserting event EVENT_SA_REPLACE, timeout in 28154 seconds for #6 | libevent_malloc: new ptr-libevent@0x5567ed80f058 size 128 | pstats #6 ikev1.ipsec established | NAT-T: encaps is 'auto' "ikev1-ike=aes128-sha1-dh21" #6: STATE_QUICK_I2: sent QI2, IPsec SA established tunnel mode {ESP=>0x1e8d4587 <0x862bcec8 xfrm=AES_CBC_128-HMAC_SHA1_96 NATOA=none NATD=none DPD=passive} | modecfg pull: noquirk policy:push not-client | phase 1 is done, looking for phase 2 to unpend | close_any(fd@25) (in release_whack() at state.c:654) | resume sending helper answer for #6 suppresed complete_v1_state_transition() | #6 spent 2.02 milliseconds in resume sending helper answer | stop processing: state #6 connection "ikev1-ike=aes128-sha1-dh21" from 192.1.2.23 (in resume_handler() at server.c:833) | libevent_free: release ptr-libevent@0x7f7604001138 | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00433 milliseconds in signal handler PLUTO_SIGCHLD | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00268 milliseconds in signal handler PLUTO_SIGCHLD | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00261 milliseconds in signal handler PLUTO_SIGCHLD | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:722) | FOR_EACH_STATE_... in show_traffic_status (sort_states) | FOR_EACH_STATE_... in sort_states | get_sa_info esp.862bcec8@192.1.2.45 | get_sa_info esp.1e8d4587@192.1.2.23 | close_any(fd@16) (in whack_process() at rcv_whack.c:700) | spent 0.0802 milliseconds in whack | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:722) | FOR_EACH_CONNECTION_... in conn_by_name | start processing: connection "ikev1-ike=aes128-sha1-dh21" (in terminate_a_connection() at terminate.c:69) "ikev1-ike=aes128-sha1-dh21": terminating SAs using this connection | connection 'ikev1-ike=aes128-sha1-dh21' -POLICY_UP | FOR_EACH_STATE_... in shared_phase1_connection | connection not shared - terminating IKE and IPsec SA | Deleting states for connection - not including other IPsec SA's | pass 0 | FOR_EACH_STATE_... in foreach_state_by_connection_func_delete | state #6 | suspend processing: connection "ikev1-ike=aes128-sha1-dh21" (in foreach_state_by_connection_func_delete() at state.c:1310) | start processing: state #6 connection "ikev1-ike=aes128-sha1-dh21" from 192.1.2.23 (in foreach_state_by_connection_func_delete() at state.c:1310) | pstats #6 ikev1.ipsec deleted completed | [RE]START processing: state #6 connection "ikev1-ike=aes128-sha1-dh21" from 192.1.2.23 (in delete_state() at state.c:879) "ikev1-ike=aes128-sha1-dh21" #6: deleting state (STATE_QUICK_I2) aged 0.078s and sending notification | child state #6: QUICK_I2(established CHILD SA) => delete | get_sa_info esp.1e8d4587@192.1.2.23 | get_sa_info esp.862bcec8@192.1.2.45 "ikev1-ike=aes128-sha1-dh21" #6: ESP traffic information: in=84B out=84B | #6 send IKEv1 delete notification for STATE_QUICK_I2 | FOR_EACH_STATE_... in find_phase1_state | **emit ISAKMP Message: | initiator cookie: | 6a d8 a1 8e 7f 79 d0 c0 | responder cookie: | 83 10 12 f1 b1 36 23 66 | 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: 2124562044 (0x7ea23e7c) | 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 86 2b ce c8 | emitting length of ISAKMP Delete Payload: 16 | send delete HASH(1): | c0 01 6a d8 e3 29 21 47 be b2 bf f7 6c 81 fe 05 | 61 f3 4d f5 | emitting 8 zero bytes of encryption padding into ISAKMP Message | no IKEv1 message padding required | emitting length of ISAKMP Message: 76 | sending 76 bytes for delete notify through eth1 from 192.1.2.45:500 to 192.1.2.23:500 (using #5) | 6a d8 a1 8e 7f 79 d0 c0 83 10 12 f1 b1 36 23 66 | 08 10 05 01 7e a2 3e 7c 00 00 00 4c 13 df cb 60 | e6 53 75 c4 05 2e c0 2e 1c c7 b8 6e ec 46 1d 59 | 36 d9 0c 66 64 53 e9 dd 29 46 f6 28 b7 26 7e 0a | 81 88 e7 a8 42 51 74 eb 5c 35 18 e1 | state #6 requesting EVENT_SA_REPLACE to be deleted | libevent_free: release ptr-libevent@0x5567ed80f058 | free_event_entry: release EVENT_SA_REPLACE-pe@0x7f760c000b48 | 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='ikev1-ike=aes128-sha1-dh21' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.23' PLUTO_ME='192.1.2.45' PLUTO_MY_ID='@west' PLUTO_MY_CLIENT='192.0.1.0/24' PLUTO_MY_CLIENT_NET='192.0.1.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16396' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.23' PLUTO_PEER_ID='@east' PLUTO_PEER_CLIENT='192.0.2.0/24' PLUTO_PEER_CLIENT_NET='192.0.2.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='1566825114' PLUTO_CONN_POLICY='PSK+ENCRYPT+TUNNEL+PFS+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' VTI_ROUTING='no' VTI_SHARED=' | popen cmd is 1053 chars long | cmd( 0):PLUTO_VERB='down-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='ikev1-ike=aes128-: | cmd( 80):sha1-dh21' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.23' PLUTO_ME='192.1.2.: | cmd( 160):45' PLUTO_MY_ID='@west' PLUTO_MY_CLIENT='192.0.1.0/24' PLUTO_MY_CLIENT_NET='192.: | cmd( 240):0.1.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL=: | cmd( 320):'0' PLUTO_SA_REQID='16396' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.23' PLUTO_PEE: | cmd( 400):R_ID='@east' PLUTO_PEER_CLIENT='192.0.2.0/24' PLUTO_PEER_CLIENT_NET='192.0.2.0' : | cmd( 480):PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL=': | cmd( 560):0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='1566825114' PLUTO_CONN_P: | cmd( 640):OLICY='PSK+ENCRYPT+TUNNEL+PFS+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLU: | cmd( 720):TO_CONN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS: | cmd( 800):_PEER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANN: | cmd( 880):ER='' PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFAC: | cmd( 960):E='' VTI_ROUTING='no' VTI_SHARED='no' SPI_IN=0x1e8d4587 SPI_OUT=0x862bcec8 ipsec: | cmd(1040): _updown 2>&1: | shunt_eroute() called for connection 'ikev1-ike=aes128-sha1-dh21' 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 "ikev1-ike=aes128-sha1-dh21" is 0xfe7e7 | IPsec Sa SPD priority set to 1042407 | delete esp.1e8d4587@192.1.2.23 | netlink response for Del SA esp.1e8d4587@192.1.2.23 included non-error error | priority calculation of connection "ikev1-ike=aes128-sha1-dh21" is 0xfe7e7 | delete inbound eroute 192.0.2.0/24:0 --0-> 192.0.1.0/24:0 => unk255.10000@192.1.2.45 (raw_eroute) | raw_eroute result=success | delete esp.862bcec8@192.1.2.45 | netlink response for Del SA esp.862bcec8@192.1.2.45 included non-error error | stop processing: connection "ikev1-ike=aes128-sha1-dh21" (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 ikev1-ike=aes128-sha1-dh21 | State DB: deleting IKEv1 state #6 in QUICK_I2 | child state #6: QUICK_I2(established CHILD SA) => UNDEFINED(ignore) | stop processing: state #6 from 192.1.2.23 (in delete_state() at state.c:1143) | processing: STOP state #0 (in foreach_state_by_connection_func_delete() at state.c:1312) | state #5 | pass 1 | FOR_EACH_STATE_... in foreach_state_by_connection_func_delete | state #5 | start processing: state #5 connection "ikev1-ike=aes128-sha1-dh21" from 192.1.2.23 (in foreach_state_by_connection_func_delete() at state.c:1310) | pstats #5 ikev1.isakmp deleted completed | [RE]START processing: state #5 connection "ikev1-ike=aes128-sha1-dh21" from 192.1.2.23 (in delete_state() at state.c:879) "ikev1-ike=aes128-sha1-dh21" #5: deleting state (STATE_MAIN_I4) aged 0.107s and sending notification | parent state #5: MAIN_I4(established IKE SA) => delete | #5 send IKEv1 delete notification for STATE_MAIN_I4 | **emit ISAKMP Message: | initiator cookie: | 6a d8 a1 8e 7f 79 d0 c0 | responder cookie: | 83 10 12 f1 b1 36 23 66 | 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: 4067002584 (0xf26988d8) | 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 6a d8 a1 8e 7f 79 d0 c0 | emitting 8 raw bytes of responder SPI into ISAKMP Delete Payload | responder SPI 83 10 12 f1 b1 36 23 66 | emitting length of ISAKMP Delete Payload: 28 | send delete HASH(1): | 60 eb 74 c9 9d f7 a9 e1 0a 6a ef eb a5 7d 1f 76 | a9 73 a9 c1 | emitting 12 zero bytes of encryption padding into ISAKMP Message | no IKEv1 message padding required | emitting length of ISAKMP Message: 92 | sending 92 bytes for delete notify through eth1 from 192.1.2.45:500 to 192.1.2.23:500 (using #5) | 6a d8 a1 8e 7f 79 d0 c0 83 10 12 f1 b1 36 23 66 | 08 10 05 01 f2 69 88 d8 00 00 00 5c 4c 4f ce eb | 51 82 1e 47 02 ff 38 8d 27 2d c9 10 9d 5e 54 89 | 82 4e 5d 97 c4 a7 4d fc c0 9f 2c 80 a5 46 0b db | ad 59 e9 15 22 98 f5 39 65 5d aa 40 01 94 80 97 | 67 2f 5e 1d ee 21 b2 c2 13 f2 0b 53 | state #5 requesting EVENT_SA_REPLACE to be deleted | libevent_free: release ptr-libevent@0x7f760c007148 | free_event_entry: release EVENT_SA_REPLACE-pe@0x7f75fc001c98 | State DB: IKEv1 state not found (flush_incomplete_children) | in connection_discard for connection ikev1-ike=aes128-sha1-dh21 | State DB: deleting IKEv1 state #5 in MAIN_I4 | parent state #5: MAIN_I4(established IKE SA) => UNDEFINED(ignore) | stop processing: state #5 from 192.1.2.23 (in delete_state() at state.c:1143) | processing: STOP state #0 (in foreach_state_by_connection_func_delete() at state.c:1312) | processing: STOP connection NULL (in terminate_a_connection() at terminate.c:87) | close_any(fd@16) (in whack_process() at rcv_whack.c:700) | spent 1.3 milliseconds in whack | spent 0.00162 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 76 bytes from 192.1.2.23:500 on eth1 (192.1.2.45:500) | 6a d8 a1 8e 7f 79 d0 c0 83 10 12 f1 b1 36 23 66 | 08 10 05 01 7b b2 d7 17 00 00 00 4c c0 05 da 6a | e8 87 d1 e8 11 02 f0 04 59 ab 09 68 2f f1 5b 7b | cb bd 14 28 0a 33 21 e8 f6 be 10 f8 37 37 74 19 | a7 a1 0a 1a 36 5a 13 96 1b be 28 f1 | start processing: from 192.1.2.23:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 6a d8 a1 8e 7f 79 d0 c0 | responder cookie: | 83 10 12 f1 b1 36 23 66 | next payload type: ISAKMP_NEXT_HASH (0x8) | ISAKMP version: ISAKMP Version 1.0 (rfc2407) (0x10) | exchange type: ISAKMP_XCHG_INFO (0x5) | flags: ISAKMP_FLAG_v1_ENCRYPTION (0x1) | Message ID: 2075318039 (0x7bb2d717) | length: 76 (0x4c) | processing version=1.0 packet with exchange type=ISAKMP_XCHG_INFO (5) | State DB: IKEv1 state not found (find_v1_info_state) | State DB: IKEv1 state not found (find_state_ikev1_init) | Informational Exchange is for an unknown (expired?) SA with MSGID:0x7bb2d717 | - unknown SA's md->hdr.isa_ike_initiator_spi.bytes: | 6a d8 a1 8e 7f 79 d0 c0 | - unknown SA's md->hdr.isa_ike_responder_spi.bytes: | 83 10 12 f1 b1 36 23 66 | stop processing: from 192.1.2.23:500 (in process_md() at demux.c:380) | processing: STOP state #0 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.0802 milliseconds in comm_handle_cb() reading and processing packet | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00486 milliseconds in signal handler PLUTO_SIGCHLD | spent 0.00136 milliseconds in comm_handle_cb() calling check_incoming_msg_errqueue() | *received 92 bytes from 192.1.2.23:500 on eth1 (192.1.2.45:500) | 6a d8 a1 8e 7f 79 d0 c0 83 10 12 f1 b1 36 23 66 | 08 10 05 01 cf 6a 2e 87 00 00 00 5c 9d ae 8e 3b | de f8 82 a7 19 37 ff 82 9a e0 c0 15 de 1a c9 98 | de fb 1d 4f dd a4 2d ea f1 b7 07 af 37 04 a9 37 | e1 44 b3 a2 df e2 d4 e9 30 f6 a5 82 53 49 19 99 | 39 0f d3 ec f3 b0 c3 7e 0f 64 44 22 | start processing: from 192.1.2.23:500 (in process_md() at demux.c:378) | **parse ISAKMP Message: | initiator cookie: | 6a d8 a1 8e 7f 79 d0 c0 | responder cookie: | 83 10 12 f1 b1 36 23 66 | next payload type: ISAKMP_NEXT_HASH (0x8) | ISAKMP version: ISAKMP Version 1.0 (rfc2407) (0x10) | exchange type: ISAKMP_XCHG_INFO (0x5) | flags: ISAKMP_FLAG_v1_ENCRYPTION (0x1) | Message ID: 3479842439 (0xcf6a2e87) | length: 92 (0x5c) | processing version=1.0 packet with exchange type=ISAKMP_XCHG_INFO (5) | State DB: IKEv1 state not found (find_v1_info_state) | State DB: IKEv1 state not found (find_state_ikev1_init) | Informational Exchange is for an unknown (expired?) SA with MSGID:0xcf6a2e87 | - unknown SA's md->hdr.isa_ike_initiator_spi.bytes: | 6a d8 a1 8e 7f 79 d0 c0 | - unknown SA's md->hdr.isa_ike_responder_spi.bytes: | 83 10 12 f1 b1 36 23 66 | stop processing: from 192.1.2.23:500 (in process_md() at demux.c:380) | processing: STOP state #0 (in process_md() at demux.c:382) | processing: STOP connection NULL (in process_md() at demux.c:383) | spent 0.0769 milliseconds in comm_handle_cb() reading and processing packet | accept(whackctlfd, (struct sockaddr *)&whackaddr, &whackaddrlen) -> fd@16 (in whack_handle() at rcv_whack.c:722) | FOR_EACH_CONNECTION_... in conn_by_name | start processing: connection "ikev1-ike=aes128-sha1-dh21" (in terminate_a_connection() at terminate.c:69) "ikev1-ike=aes128-sha1-dh21": terminating SAs using this connection | connection 'ikev1-ike=aes128-sha1-dh21' -POLICY_UP | connection not shared - terminating IKE and IPsec SA | Deleting states for connection - not including other IPsec SA's | pass 0 | FOR_EACH_STATE_... in foreach_state_by_connection_func_delete | pass 1 | FOR_EACH_STATE_... in foreach_state_by_connection_func_delete | stop processing: connection "ikev1-ike=aes128-sha1-dh21" (in terminate_a_connection() at terminate.c:87) | FOR_EACH_CONNECTION_... in conn_by_name | start processing: connection "ikev1-ike=aes128-sha1-dh21" (in delete_connection() at connections.c:189) | Deleting states for connection - not including other IPsec SA's | pass 0 | FOR_EACH_STATE_... in foreach_state_by_connection_func_delete | pass 1 | FOR_EACH_STATE_... in foreach_state_by_connection_func_delete | shunt_eroute() called for connection 'ikev1-ike=aes128-sha1-dh21' 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 "ikev1-ike=aes128-sha1-dh21" is 0xfe7e7 | priority calculation of connection "ikev1-ike=aes128-sha1-dh21" is 0xfe7e7 | FOR_EACH_CONNECTION_... in route_owner | conn ikev1-ike=aes128-sha1-dh21 mark 0/00000000, 0/00000000 vs | conn ikev1-ike=aes128-sha1-dh21 mark 0/00000000, 0/00000000 | route owner of "ikev1-ike=aes128-sha1-dh21" 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='ikev1-ike=aes128-sha1-dh21' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.23' PLUTO_ME='192.1.2.45' PLUTO_MY_ID='@west' PLUTO_MY_CLIENT='192.0.1.0/24' PLUTO_MY_CLIENT_NET='192.0.1.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16396' PLUTO_SA_TYPE='none' PLUTO_PEER='192.1.2.23' PLUTO_PEER_ID='@east' PLUTO_PEER_CLIENT='192.0.2.0/24' PLUTO_PEER_CLIENT_NET='192.0.2.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='PSK+ENCRYPT+TUNNEL+PFS+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' VTI_ROUTING='no' VTI_SHARED='no | popen cmd is 1034 chars long | cmd( 0):PLUTO_VERB='unroute-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='ikev1-ike=aes1: | cmd( 80):28-sha1-dh21' PLUTO_INTERFACE='eth1' PLUTO_NEXT_HOP='192.1.2.23' PLUTO_ME='192.1: | cmd( 160):.2.45' PLUTO_MY_ID='@west' PLUTO_MY_CLIENT='192.0.1.0/24' PLUTO_MY_CLIENT_NET='1: | cmd( 240):92.0.1.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOC: | cmd( 320):OL='0' PLUTO_SA_REQID='16396' PLUTO_SA_TYPE='none' PLUTO_PEER='192.1.2.23' PLUTO: | cmd( 400):_PEER_ID='@east' PLUTO_PEER_CLIENT='192.0.2.0/24' PLUTO_PEER_CLIENT_NET='192.0.2: | cmd( 480):.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOC: | cmd( 560):OL='0' PLUTO_PEER_CA='' PLUTO_STACK='netkey' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY: | cmd( 640):='PSK+ENCRYPT+TUNNEL+PFS+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CO: | cmd( 720):NN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER: | cmd( 800):_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_INFO='' PLUTO_PEER_BANNER='': | cmd( 880): PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_CONFIGURED='0' VTI_IFACE='' : | cmd( 960):VTI_ROUTING='no' VTI_SHARED='no' SPI_IN=0x0 SPI_OUT=0x0 ipsec _updown 2>&1: "ikev1-ike=aes128-sha1-dh21": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh21": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh21": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh21": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh21": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh21": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh21": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh21": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh21": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh21": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh21": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh21": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh21": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh21": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh21": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh21": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh21": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh21": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh21": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh21": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh21": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh21": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh21": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh21": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh21": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh21": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh21": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh21": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh21": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh21": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh21": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh21": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh21": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh21": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh21": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh21": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh21": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh21": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh21": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh21": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh21": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh21": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh21": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh21": unroute-client output: Error: Peer netns reference is invalid. "ikev1-ike=aes128-sha1-dh21": unroute-client output: Error: Peer netns reference is invalid. | free hp@0x5567ed80c168 | flush revival: connection 'ikev1-ike=aes128-sha1-dh21' wasn't on the list | stop processing: connection "ikev1-ike=aes128-sha1-dh21" (in discard_connection() at connections.c:249) | FOR_EACH_CONNECTION_... in conn_by_name | close_any(fd@16) (in whack_process() at rcv_whack.c:700) | spent 1.14 milliseconds in whack | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00475 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 show_connections_status | FOR_EACH_STATE_... in show_states_status (sort_states) | close_any(fd@16) (in whack_process() at rcv_whack.c:700) | spent 0.234 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' | unreference key: 0x5567ed80c5c8 @east cnt 1-- | unreference key: 0x5567ed764c48 @west cnt 1-- | 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.1.254:4500 shutting down interface eth0/eth0 192.0.1.254:500 shutting down interface eth1/eth1 192.1.2.45:4500 shutting down interface eth1/eth1 192.1.2.45:500 | FOR_EACH_STATE_... in delete_states_dead_interfaces | libevent_free: release ptr-libevent@0x5567ed7ff158 | free_event_entry: release EVENT_NULL-pe@0x5567ed80ae68 | libevent_free: release ptr-libevent@0x5567ed791a28 | free_event_entry: release EVENT_NULL-pe@0x5567ed80af18 | libevent_free: release ptr-libevent@0x5567ed794eb8 | free_event_entry: release EVENT_NULL-pe@0x5567ed80afc8 | libevent_free: release ptr-libevent@0x5567ed795828 | free_event_entry: release EVENT_NULL-pe@0x5567ed80b078 | libevent_free: release ptr-libevent@0x5567ed76eba8 | free_event_entry: release EVENT_NULL-pe@0x5567ed80b128 | libevent_free: release ptr-libevent@0x5567ed7691d8 | free_event_entry: release EVENT_NULL-pe@0x5567ed80b1d8 | FOR_EACH_UNORIENTED_CONNECTION_... in check_orientations | libevent_free: release ptr-libevent@0x5567ed7ff208 | free_event_entry: release EVENT_NULL-pe@0x5567ed7f3078 | libevent_free: release ptr-libevent@0x5567ed7947e8 | free_event_entry: release EVENT_NULL-pe@0x5567ed7f3008 | libevent_free: release ptr-libevent@0x5567ed7d6928 | free_event_entry: release EVENT_NULL-pe@0x5567ed7f24c8 | 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@0x5567ed79db58 | signal event handler PLUTO_SIGCHLD uninstalled | libevent_free: release ptr-libevent@0x5567ed7958f8 | signal event handler PLUTO_SIGTERM uninstalled | libevent_free: release ptr-libevent@0x5567ed80a6c8 | signal event handler PLUTO_SIGHUP uninstalled | libevent_free: release ptr-libevent@0x5567ed80a908 | signal event handler PLUTO_SIGSYS uninstalled | releasing event base | libevent_free: release ptr-libevent@0x5567ed80a7d8 | libevent_free: release ptr-libevent@0x5567ed7ed948 | libevent_free: release ptr-libevent@0x5567ed7ed8f8 | libevent_free: release ptr-libevent@0x7f760c002948 | libevent_free: release ptr-libevent@0x5567ed7ed848 | libevent_free: release ptr-libevent@0x5567ed80a458 | libevent_free: release ptr-libevent@0x5567ed80a608 | libevent_free: release ptr-libevent@0x5567ed7edaf8 | libevent_free: release ptr-libevent@0x5567ed7f25d8 | libevent_free: release ptr-libevent@0x5567ed7f2fc8 | libevent_free: release ptr-libevent@0x5567ed80b248 | libevent_free: release ptr-libevent@0x5567ed80b198 | libevent_free: release ptr-libevent@0x5567ed80b0e8 | libevent_free: release ptr-libevent@0x5567ed80b038 | libevent_free: release ptr-libevent@0x5567ed80af88 | libevent_free: release ptr-libevent@0x5567ed80aed8 | libevent_free: release ptr-libevent@0x5567ed7912c8 | libevent_free: release ptr-libevent@0x5567ed80a688 | libevent_free: release ptr-libevent@0x5567ed80a648 | libevent_free: release ptr-libevent@0x5567ed80a5c8 | libevent_free: release ptr-libevent@0x5567ed80a798 | libevent_free: release ptr-libevent@0x5567ed80a498 | libevent_free: release ptr-libevent@0x5567ed768908 | libevent_free: release ptr-libevent@0x5567ed768d38 | libevent_free: release ptr-libevent@0x5567ed791638 | releasing global libevent data | libevent_free: release ptr-libevent@0x5567ed768f98 | libevent_free: release ptr-libevent@0x5567ed768cd8 | libevent_free: release ptr-libevent@0x5567ed768dd8 leak detective found no leaks