| newref logger@0x55562230cbb8(0->1) (in main() at plutomain.c:1591) | delref logger@0x55562230cbb8(1->0) (in main() at plutomain.c:1592) | delref fd@NULL (in free_logger() at log.c:853) | delref fd@NULL (in free_logger() at log.c:854) NSS DB directory: sql:/var/lib/ipsec/nss Initializing NSS Opening NSS database "sql:/var/lib/ipsec/nss" read-only FIPS Mode: NO NSS crypto library initialized FIPS mode disabled for pluto daemon FIPS HMAC integrity support [disabled] libcap-ng support [enabled] Linux audit support [enabled] Linux audit activated Starting Pluto (Libreswan Version v4.1-88-gf1d1933837ef-main IKEv2 IKEv1 XFRM(netkey) XFRMI esp-hw-offload FORK PTHREAD_SETSCHEDPRIO NSS (IPsec profile) (NSS-PRF) DNSSEC LABELED_IPSEC (SELINUX) SECCOMP LIBCAP_NG LINUX_AUDIT AUTH_PAM NETWORKMANAGER CURL(non-NSS)) pid:2077914 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: newref ptr-libevent@0x5556223921d8 size 40 | libevent_malloc: newref ptr-libevent@0x555622322628 size 40 | libevent_malloc: newref ptr-libevent@0x5556223926b8 size 40 | creating event base | libevent_malloc: newref ptr-libevent@0x5556223929b8 size 56 | libevent_malloc: newref ptr-libevent@0x555622388e98 size 664 | libevent_malloc: newref ptr-libevent@0x5556223bf828 size 24 | libevent_malloc: newref ptr-libevent@0x5556223bf878 size 384 | libevent_malloc: newref ptr-libevent@0x5556223bfa28 size 16 | libevent_malloc: newref ptr-libevent@0x555622392638 size 40 | libevent_malloc: newref ptr-libevent@0x555622391e98 size 48 | libevent_realloc: newref ptr-libevent@0x5556223b5ff8 size 256 | libevent_malloc: newref ptr-libevent@0x5556223bfa68 size 16 | libevent_free: delref ptr-libevent@0x5556223929b8 | libevent initialized | libevent_realloc: newref ptr-libevent@0x5556223929b8 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 | checking IKEv1 state table | MAIN_R0: category: half-open IKE SA; flags: 0: | -> MAIN_R1 EVENT_SO_DISCARD (main_inI1_outR1) | MAIN_I1: category: half-open IKE SA; flags: 0: | -> MAIN_I2 EVENT_RETRANSMIT (main_inR1_outI2) | MAIN_R1: category: open IKE SA; flags: 0: | -> MAIN_R2 EVENT_RETRANSMIT (main_inI2_outR2) | -> MAIN_R1 EVENT_RETRANSMIT (unexpected) | -> MAIN_R1 EVENT_RETRANSMIT (unexpected) | MAIN_I2: category: open IKE SA; flags: 0: | -> MAIN_I3 EVENT_RETRANSMIT (main_inR2_outI3) | -> MAIN_I2 EVENT_RETRANSMIT (unexpected) | -> MAIN_I2 EVENT_RETRANSMIT (unexpected) | MAIN_R2: category: open IKE SA; flags: 0: | -> MAIN_R3 EVENT_SA_REPLACE (main_inI3_outR3) | -> MAIN_R3 EVENT_SA_REPLACE (main_inI3_outR3) | -> MAIN_R2 EVENT_SA_REPLACE (unexpected) | MAIN_I3: category: open IKE SA; flags: 0: | -> MAIN_I4 EVENT_SA_REPLACE (main_inR3) | -> MAIN_I4 EVENT_SA_REPLACE (main_inR3) | -> MAIN_I3 EVENT_SA_REPLACE (unexpected) | MAIN_R3: category: established IKE SA; flags: 0: | -> MAIN_R3 EVENT_NULL (unexpected) | MAIN_I4: category: established IKE SA; flags: 0: | -> MAIN_I4 EVENT_NULL (unexpected) | AGGR_R0: category: half-open IKE SA; flags: 0: | -> AGGR_R1 EVENT_SO_DISCARD (aggr_inI1_outR1) | AGGR_I1: category: half-open IKE SA; flags: 0: | -> AGGR_I2 EVENT_SA_REPLACE (aggr_inR1_outI2) | -> AGGR_I2 EVENT_SA_REPLACE (aggr_inR1_outI2) | AGGR_R1: category: open IKE SA; flags: 0: | -> AGGR_R2 EVENT_SA_REPLACE (aggr_inI2) | -> AGGR_R2 EVENT_SA_REPLACE (aggr_inI2) | AGGR_I2: category: established IKE SA; flags: 0: | -> AGGR_I2 EVENT_NULL (unexpected) | AGGR_R2: category: established IKE SA; flags: 0: | -> AGGR_R2 EVENT_NULL (unexpected) | QUICK_R0: category: established CHILD SA; flags: 0: | -> QUICK_R1 EVENT_RETRANSMIT (quick_inI1_outR1) | QUICK_I1: category: established CHILD SA; flags: 0: | -> QUICK_I2 EVENT_SA_REPLACE (quick_inR1_outI2) | QUICK_R1: category: established CHILD SA; flags: 0: | -> QUICK_R2 EVENT_SA_REPLACE (quick_inI2) | QUICK_I2: category: established CHILD SA; flags: 0: | -> QUICK_I2 EVENT_NULL (unexpected) | QUICK_R2: category: established CHILD SA; flags: 0: | -> QUICK_R2 EVENT_NULL (unexpected) | INFO: category: informational; flags: 0: | -> INFO EVENT_NULL (informational) | INFO_PROTECTED: category: informational; flags: 0: | -> INFO_PROTECTED EVENT_NULL (informational) | XAUTH_R0: category: established IKE SA; flags: 0: | -> XAUTH_R1 EVENT_NULL (xauth_inR0) | XAUTH_R1: category: established IKE SA; flags: 0: | -> MAIN_R3 EVENT_SA_REPLACE (xauth_inR1) | MODE_CFG_R0: category: informational; flags: 0: | -> MODE_CFG_R1 EVENT_SA_REPLACE (modecfg_inR0) | MODE_CFG_R1: category: established IKE SA; flags: 0: | -> MODE_CFG_R2 EVENT_SA_REPLACE (modecfg_inR1) | MODE_CFG_R2: category: established IKE SA; flags: 0: | -> MODE_CFG_R2 EVENT_NULL (unexpected) | MODE_CFG_I1: category: established IKE SA; flags: 0: | -> MAIN_I4 EVENT_SA_REPLACE (modecfg_inR1) | XAUTH_I0: category: established IKE SA; flags: 0: | -> XAUTH_I1 EVENT_RETRANSMIT (xauth_inI0) | XAUTH_I1: category: established IKE SA; flags: 0: | -> MAIN_I4 EVENT_RETRANSMIT (xauth_inI1) | checking IKEv2 state table | V2_REKEY_IKE_I0: category: established IKE SA; flags: 0: | -> V2_REKEY_IKE_I1 EVENT_RETRANSMIT send-request (Initiate CREATE_CHILD_SA IKE Rekey) | V2_REKEY_CHILD_I0: category: established IKE SA; flags: 0: | -> V2_REKEY_CHILD_I1 EVENT_RETRANSMIT send-request (Initiate CREATE_CHILD_SA IPsec Rekey SA) | V2_NEW_CHILD_I0: category: established IKE SA; flags: 0: | -> V2_NEW_CHILD_I1 EVENT_RETRANSMIT send-request (Initiate CREATE_CHILD_SA IPsec SA) | 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_I0 EVENT_SO_DISCARD (received anti-DDOS COOKIE notify response; resending IKE_SA_INIT request with cookie payload added) | -> PARENT_I0 EVENT_SO_DISCARD (received IKE_SA_INIT INVALID_KE_PAYLOAD notify response; resending IKE_SA_INIT with new KE payload) | -> IKESA_DEL EVENT_v2_REDIRECT (received REDIRECT notify response; resending IKE_SA_INIT request to new destination) | -> PARENT_I2 EVENT_RETRANSMIT send-request (Initiator: process IKE_SA_INIT reply, initiate IKE_AUTH or IKE_INTERMEDIATE) | PARENT_I2: category: open IKE SA; flags: 0: | -> PARENT_I2 EVENT_RETRANSMIT send-request (Initiator: process IKE_INTERMEDIATE reply, initiate IKE_AUTH or IKE_INTERMEDIATE) | -> 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) | -> ESTABLISHED_CHILD_SA EVENT_SA_REPLACE (Initiator: process IKE_AUTH response) | -> PARENT_I2 EVENT_NULL (IKE SA: process IKE_AUTH response containing unknown notification) | PARENT_R0: category: half-open IKE SA; flags: 0: | -> PARENT_R1 EVENT_SO_DISCARD send-response (Respond to IKE_SA_INIT) | PARENT_R1: category: half-open IKE SA; flags: 0: | -> PARENT_R1 EVENT_SA_REPLACE send-response (Responder: process IKE_AUTH request (no SKEYSEED)) | -> PARENT_R1 EVENT_SA_REPLACE send-response (Responder: process IKE_INTERMEDIATE request (no SKEYSEED)) | -> PARENT_R1 EVENT_SA_REPLACE send-response (Responder: process IKE_INTERMEDIATE request (with SKEYSEED)) | -> ESTABLISHED_CHILD_SA EVENT_SA_REPLACE send-response (Responder: process IKE_AUTH request) | V2_REKEY_IKE_R0: category: established IKE SA; flags: 0: | -> ESTABLISHED_IKE_SA EVENT_SA_REPLACE send-response (Respond to CREATE_CHILD_SA IKE Rekey) | V2_REKEY_IKE_I1: category: established IKE SA; flags: 0: | -> ESTABLISHED_IKE_SA EVENT_SA_REPLACE (Process CREATE_CHILD_SA IKE Rekey Response) | V2_NEW_CHILD_I1: category: established IKE SA; flags: 0: | -> ESTABLISHED_CHILD_SA EVENT_SA_REPLACE (Process CREATE_CHILD_SA IPsec SA Response) | V2_REKEY_CHILD_R0: category: established IKE SA; flags: 0: | -> ESTABLISHED_CHILD_SA EVENT_SA_REPLACE send-response (Respond to CREATE_CHILD_SA rekey CHILD SA request) | V2_NEW_CHILD_R0: category: established IKE SA; flags: 0: | -> ESTABLISHED_CHILD_SA EVENT_SA_REPLACE send-response (Respond to CREATE_CHILD_SA IPsec SA Request) | ESTABLISHED_IKE_SA: category: established IKE SA; flags: 0: | -> ESTABLISHED_IKE_SA EVENT_RETAIN send-response (Informational Request (liveness probe)) | -> ESTABLISHED_IKE_SA EVENT_RETAIN (Informational Response (liveness probe)) | -> ESTABLISHED_IKE_SA EVENT_RETAIN send-response (Informational Request) | -> ESTABLISHED_IKE_SA EVENT_RETAIN (Informational Response) | IKESA_DEL: category: established IKE SA; flags: 0: | -> IKESA_DEL EVENT_RETAIN (IKE_SA_DEL: process INFORMATIONAL) | CHILDSA_DEL: category: informational; flags: 0: | -> CHILDSA_DEL EVENT_RETAIN (IKE_SA_DEL: process INFORMATIONAL) | 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 {256,192,*128} IKEv1: ESP IKEv2: ESP FIPS aes_ccm, aes_ccm_c AES_CCM_12 {256,192,*128} IKEv1: ESP IKEv2: ESP FIPS aes_ccm_b AES_CCM_8 {256,192,*128} IKEv1: ESP IKEv2: ESP FIPS aes_ccm_a 3DES_CBC [*192] IKEv1: IKE ESP IKEv2: IKE ESP FIPS NSS(CBC) 3des CAMELLIA_CTR {256,192,*128} IKEv1: ESP IKEv2: ESP CAMELLIA_CBC {256,192,*128} IKEv1: IKE ESP IKEv2: IKE ESP NSS(CBC) camellia AES_GCM_16 {256,192,*128} IKEv1: ESP IKEv2: IKE ESP FIPS NSS(GCM) aes_gcm, aes_gcm_c AES_GCM_12 {256,192,*128} IKEv1: ESP IKEv2: IKE ESP FIPS NSS(GCM) aes_gcm_b AES_GCM_8 {256,192,*128} IKEv1: ESP IKEv2: IKE ESP FIPS NSS(GCM) aes_gcm_a AES_CTR {256,192,*128} IKEv1: IKE ESP IKEv2: IKE ESP FIPS NSS(CTR) aesctr AES_CBC {256,192,*128} IKEv1: IKE ESP IKEv2: IKE ESP FIPS NSS(CBC) aes NULL_AUTH_AES_GMAC {256,192,*128} IKEv1: ESP IKEv2: ESP FIPS aes_gmac NULL [] IKEv1: ESP IKEv2: ESP CHACHA20_POLY1305 [*256] IKEv1: IKEv2: IKE ESP NSS(AEAD) chacha20poly1305 Hash algorithms: MD5 IKEv1: IKE IKEv2: NSS SHA1 IKEv1: IKE IKEv2: IKE FIPS NSS sha SHA2_256 IKEv1: IKE IKEv2: IKE FIPS NSS sha2, sha256 SHA2_384 IKEv1: IKE IKEv2: IKE FIPS NSS sha384 SHA2_512 IKEv1: IKE IKEv2: IKE FIPS NSS sha512 PRF algorithms: HMAC_MD5 IKEv1: IKE IKEv2: IKE native(HMAC) md5 HMAC_SHA1 IKEv1: IKE IKEv2: IKE FIPS NSS sha, sha1 HMAC_SHA2_256 IKEv1: IKE IKEv2: IKE FIPS NSS sha2, sha256, sha2_256 HMAC_SHA2_384 IKEv1: IKE IKEv2: IKE FIPS NSS sha384, sha2_384 HMAC_SHA2_512 IKEv1: IKE IKEv2: IKE FIPS NSS sha512, sha2_512 AES_XCBC IKEv1: IKEv2: IKE native(XCBC) aes128_xcbc Integrity algorithms: HMAC_MD5_96 IKEv1: IKE ESP AH IKEv2: IKE ESP AH native(HMAC) md5, hmac_md5 HMAC_SHA1_96 IKEv1: IKE ESP AH IKEv2: IKE ESP AH FIPS NSS sha, sha1, sha1_96, hmac_sha1 HMAC_SHA2_512_256 IKEv1: IKE ESP AH IKEv2: IKE ESP AH FIPS NSS sha512, sha2_512, sha2_512_256, hmac_sha2_512 HMAC_SHA2_384_192 IKEv1: IKE ESP AH IKEv2: IKE ESP AH FIPS NSS sha384, sha2_384, sha2_384_192, hmac_sha2_384 HMAC_SHA2_256_128 IKEv1: IKE ESP AH IKEv2: IKE ESP AH FIPS NSS 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 native(XCBC) 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 NSS(MODP) null, dh0 MODP1536 IKEv1: IKE ESP AH IKEv2: IKE ESP AH NSS(MODP) dh5 MODP2048 IKEv1: IKE ESP AH IKEv2: IKE ESP AH FIPS NSS(MODP) dh14 MODP3072 IKEv1: IKE ESP AH IKEv2: IKE ESP AH FIPS NSS(MODP) dh15 MODP4096 IKEv1: IKE ESP AH IKEv2: IKE ESP AH FIPS NSS(MODP) dh16 MODP6144 IKEv1: IKE ESP AH IKEv2: IKE ESP AH FIPS NSS(MODP) dh17 MODP8192 IKEv1: IKE ESP AH IKEv2: IKE ESP AH FIPS NSS(MODP) dh18 DH19 IKEv1: IKE IKEv2: IKE ESP AH FIPS NSS(ECP) ecp_256, ecp256 DH20 IKEv1: IKE IKEv2: IKE ESP AH FIPS NSS(ECP) ecp_384, ecp384 DH21 IKEv1: IKE IKEv2: IKE ESP AH FIPS NSS(ECP) ecp_521, ecp521 DH31 IKEv1: IKE IKEv2: IKE ESP AH NSS(ECP) 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 helper threads started thread for helper 0 started thread for helper 1 | starting helper thread 2 seccomp security disabled for crypto helper 2 | status value returned by setting the priority of this helper thread 2: 22 | helper thread 2 has nothing to do started thread for helper 2 | starting helper thread 3 seccomp security disabled for crypto helper 3 | status value returned by setting the priority of this helper thread 3: 22 | helper thread 3 has nothing to do started thread for helper 3 | starting helper thread 4 seccomp security disabled for crypto helper 4 | status value returned by setting the priority of this helper thread 4: 22 | helper thread 4 has nothing to do started thread for helper 4 | starting helper thread 5 seccomp security disabled for crypto helper 5 | status value returned by setting the priority of this helper thread 5: 22 | helper thread 5 has nothing to do started thread for helper 5 | starting helper thread 6 seccomp security disabled for crypto helper 6 | status value returned by setting the priority of this helper thread 6: 22 | helper thread 6 has nothing to do started thread for helper 6 | starting helper thread 7 Using Linux XFRM/NETKEY IPsec kernel support code on 5.8.15-201.fc32.x86_64 seccomp security disabled for crypto helper 7 | status value returned by setting the priority of this helper thread 7: 22 | helper thread 7 has nothing to do | 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 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: newref KERNEL_XRM_FD-pe@0x5556223caba8 | libevent_malloc: newref ptr-libevent@0x555622390148 size 128 | libevent_malloc: newref ptr-libevent@0x5556223c3868 size 16 | add_fd_read_event_handler: newref KERNEL_ROUTE_FD-pe@0x5556223ccbc8 | libevent_malloc: newref ptr-libevent@0x5556223901f8 size 128 | libevent_malloc: newref ptr-libevent@0x5556223c3228 size 16 | global one-shot timer EVENT_CHECK_CRLS initialized SELinux support is enabled in PERMISSIVE mode. | 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: newref PLUTO_CTL_FD-pe@0x5556223d01a8 | libevent_malloc: newref ptr-libevent@0x5556223ccce8 size 128 | libevent_malloc: newref ptr-libevent@0x5556223c3c48 size 16 | libevent_realloc: newref ptr-libevent@0x5556223d0218 size 256 | libevent_malloc: newref ptr-libevent@0x5556223c38a8 size 8 | libevent_realloc: newref ptr-libevent@0x5556223c2ee8 size 144 | libevent_malloc: newref ptr-libevent@0x555622322e68 size 152 | libevent_malloc: newref ptr-libevent@0x5556223c3a58 size 16 | signal event handler PLUTO_SIGCHLD installed | libevent_malloc: newref ptr-libevent@0x5556223d0348 size 8 | libevent_malloc: newref ptr-libevent@0x555622322688 size 152 | signal event handler PLUTO_SIGTERM installed | libevent_malloc: newref ptr-libevent@0x5556223d0388 size 8 | libevent_malloc: newref ptr-libevent@0x5556223d03c8 size 152 | signal event handler PLUTO_SIGHUP installed | libevent_malloc: newref ptr-libevent@0x5556223d0498 size 8 | libevent_realloc: delref ptr-libevent@0x5556223c2ee8 | libevent_realloc: newref ptr-libevent@0x5556223d04d8 size 256 | libevent_malloc: newref ptr-libevent@0x5556223d0608 size 152 | signal event handler PLUTO_SIGSYS installed | created addconn helper (pid:2078096) using fork+execve | forked child 2078096 seccomp security disabled | newref struct fd@0x5556223d0768(0->1) (in whack_handle_cb() at rcv_whack.c:869) | fd_accept: new fd-fd@0x5556223d0768 (in whack_handle_cb() at rcv_whack.c:869) | whack: options (impair|debug) | old debugging base+cpu-usage + none | new debugging = base+cpu-usage | delref fd@0x5556223d0768(1->0) (in whack_handle_cb() at rcv_whack.c:903) | freeref fd-fd@0x5556223d0768 (in whack_handle_cb() at rcv_whack.c:903) | spent 0.0514 (0.0514) milliseconds in whack | starting helper thread 1 seccomp security disabled for crypto helper 1 | status value returned by setting the priority of this helper thread 1: 22 | helper thread 1 has nothing to do | newref struct fd@0x5556223d07a8(0->1) (in whack_handle_cb() at rcv_whack.c:869) | fd_accept: new fd-fd@0x5556223d07a8 (in whack_handle_cb() at rcv_whack.c:869) | whack: listen listening for IKE messages | Inspecting interface lo | found lo with address 127.0.0.1 | Inspecting interface eth0 | found eth0 with address 192.0.2.254 | Inspecting interface eth1 | found eth1 with address 192.1.2.23 | newref struct iface_dev@0x5556223d0c48(0->1) (in add_iface_dev() at iface.c:67) Kernel supports NIC esp-hw-offload | iface: marking eth1 add | newref struct iface_dev@0x5556223d0d38(0->1) (in add_iface_dev() at iface.c:67) | iface: marking eth0 add | newref struct iface_dev@0x5556223d0e08(0->1) (in add_iface_dev() at iface.c:67) | iface: marking lo add | no interfaces to sort | MSG_ERRQUEUE enabled on fd 18 | addref ifd@0x5556223d0c48(1->2) (in bind_iface_port() at iface.c:237) adding UDP interface eth1 192.1.2.23:500 | MSG_ERRQUEUE enabled on fd 19 | NAT-Traversal: Trying sockopt style NAT-T | NAT-Traversal: ESPINUDP(2) setup succeeded for sockopt style NAT-T family IPv4 | addref ifd@0x5556223d0c48(2->3) (in bind_iface_port() at iface.c:237) adding UDP interface eth1 192.1.2.23:4500 | MSG_ERRQUEUE enabled on fd 20 | addref ifd@0x5556223d0d38(1->2) (in bind_iface_port() at iface.c:237) adding UDP interface eth0 192.0.2.254:500 | MSG_ERRQUEUE enabled on fd 21 | NAT-Traversal: Trying sockopt style NAT-T | NAT-Traversal: ESPINUDP(2) setup succeeded for sockopt style NAT-T family IPv4 | addref ifd@0x5556223d0d38(2->3) (in bind_iface_port() at iface.c:237) adding UDP interface eth0 192.0.2.254:4500 | MSG_ERRQUEUE enabled on fd 22 | addref ifd@0x5556223d0e08(1->2) (in bind_iface_port() at iface.c:237) adding UDP interface lo 127.0.0.1:500 | MSG_ERRQUEUE enabled on fd 23 | NAT-Traversal: Trying sockopt style NAT-T | NAT-Traversal: ESPINUDP(2) setup succeeded for sockopt style NAT-T family IPv4 | addref ifd@0x5556223d0e08(2->3) (in bind_iface_port() at iface.c:237) adding UDP interface lo 127.0.0.1:4500 | updating interfaces - listing interfaces that are going down | updating interfaces - checking orientation | FOR_EACH_UNORIENTED_CONNECTION_... in check_orientations | libevent_malloc: newref ptr-libevent@0x5556223ccc38 size 128 | libevent_malloc: newref ptr-libevent@0x5556223d1778 size 16 | setup callback for interface lo 127.0.0.1:4500 fd 23 on UDP | libevent_malloc: newref ptr-libevent@0x5556223902f8 size 128 | libevent_malloc: newref ptr-libevent@0x5556223d17b8 size 16 | setup callback for interface lo 127.0.0.1:500 fd 22 on UDP | libevent_malloc: newref ptr-libevent@0x5556223855b8 size 128 | libevent_malloc: newref ptr-libevent@0x5556223d17f8 size 16 | setup callback for interface eth0 192.0.2.254:4500 fd 21 on UDP | libevent_malloc: newref ptr-libevent@0x5556223903f8 size 128 | libevent_malloc: newref ptr-libevent@0x5556223d1838 size 16 | setup callback for interface eth0 192.0.2.254:500 fd 20 on UDP | libevent_malloc: newref ptr-libevent@0x55562238ce18 size 128 | libevent_malloc: newref ptr-libevent@0x5556223d1878 size 16 | setup callback for interface eth1 192.1.2.23:4500 fd 19 on UDP | libevent_malloc: newref ptr-libevent@0x55562238cd68 size 128 | libevent_malloc: newref ptr-libevent@0x5556223d18b8 size 16 | setup callback for interface eth1 192.1.2.23:500 fd 18 on UDP | no stale xfrmi interface 'ipsec1' found | certs and keys locked by 'free_preshared_secrets' | certs and keys unlocked by 'free_preshared_secrets' loading secrets from "/etc/ipsec.secrets" no secrets filename matched "/etc/ipsec.d/*.secrets" | old food groups: | new food groups: | delref fd@0x5556223d07a8(1->0) (in whack_handle_cb() at rcv_whack.c:903) | freeref fd-fd@0x5556223d07a8 (in whack_handle_cb() at rcv_whack.c:903) | spent 0.756 (19.8) milliseconds in whack | processing signal PLUTO_SIGCHLD | waitpid returned pid 2078096 (exited with status 0) | reaped addconn helper child (status 0) | waitpid returned ECHILD (no child processes left) | spent 0.0433 (0.166) milliseconds in signal handler PLUTO_SIGCHLD | newref struct fd@0x5556223d0cd8(0->1) (in whack_handle_cb() at rcv_whack.c:869) | fd_accept: new fd-fd@0x5556223d0cd8 (in whack_handle_cb() at rcv_whack.c:869) | whack: delete 'westnet-eastnet' | 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 | whack: connection 'westnet-eastnet' | addref fd@0x5556223d0cd8(1->2) (in string_logger() at log.c:838) | newref string logger@0x5556223c4208(0->1) (in add_connection() at connections.c:1998) | Connection DB: adding connection "westnet-eastnet" $1 | FOR_EACH_CONNECTION_... in conn_by_name | added new connection westnet-eastnet with policy RSASIG+ENCRYPT+TUNNEL+PFS+IKEV1_ALLOW+IKE_FRAG_ALLOW+ESN_NO | computed rsa CKAID | b4 9f 1a ac 9e 45 6e 79 29 c8 81 97 3a 0c 6a d3 | 7f 0f 03 50 | keyid: *AQOm9dY/4 | size: 274 | n | a6 f5 d6 3f e3 8f 6c 01 6a fc 7b 7c 6d 57 8b 49 | 39 0d 77 f7 ac e2 85 f1 98 1e 4b 6d a5 3e b3 96 | 9a d1 99 5a bc 10 f2 97 de f2 28 f9 5f 92 09 f0 | c8 d4 12 e4 60 6e 9c 60 98 10 01 7d 26 b7 8f 95 | 62 2d 87 dd cd de f6 d3 8f 35 b0 50 d0 18 f5 99 | f8 04 f1 ff 61 5b bc 7f 1f c0 04 d8 e4 8c ac 34 | ad 7a c1 da 3c 2d 8c 30 ae d6 3c 59 b1 3a 94 d3 | d5 2a 73 91 bd 59 5f 3e 72 bf 4a 1b 9d c5 b2 2b | 4d e7 0d 24 3e 77 f9 7f 2d d6 9d 29 ef 70 7d 7a | 6d a2 b8 61 0c 4b 09 4a 06 71 84 70 85 9a 8f 52 | a1 80 06 fd c6 fc 3e 27 fa 16 fa 32 83 a9 ca 80 | db 0f 4a bf f7 e9 55 8e bd 29 4d 23 a6 dc 2a b3 | 5d 62 a9 21 1e be 83 d8 69 3c 03 0a 48 8e d3 3a | 11 f2 86 5a d1 30 65 bd c8 f4 83 87 ff 04 87 33 | 05 4f e0 d8 8c fe b3 19 4c dd 85 40 f3 4d 6e e8 | 49 14 06 2c 1f 59 59 05 8f 20 b0 ca 46 3f c9 20 | 7e 04 30 7d 9a 80 6c 3f 0a 89 f7 d3 af d8 15 04 | 37 f9 | e | 03 | CKAID | b4 9f 1a ac 9e 45 6e 79 29 c8 81 97 3a 0c 6a d3 | 7f 0f 03 50 | saving left CKAID b49f1aac9e456e7929c881973a0c6ad37f0f0350 extracted from raw RSA public key | spent 0.0758 (0.0793) milliseconds in preload_private_key_by_ckaid() loading private key using CKAID | no private key matching left CKAID b49f1aac9e456e7929c881973a0c6ad37f0f0350: can't find the private key matching the NSS CKAID | counting wild cards for @west is 0 | computed rsa CKAID | 61 55 99 73 d3 ac ef 7d 3a 37 0e 3e 82 ad 92 c1 | 8a 82 25 f1 | keyid: *AQO9bJbr3 | size: 274 | n | bd 6c 96 eb df 78 89 b3 ed 77 0d a1 7f 7b e5 16 | c2 c9 e4 7d 92 0a 90 9d 55 43 b4 62 13 03 85 7a | e0 26 7b 54 1f ca 09 93 cf ff 25 c9 02 4c 78 ca | 94 e5 3e ac d1 f9 a8 e5 bb 7f cc 20 84 e0 21 c9 | f0 0d c5 44 ba f3 48 64 61 58 f6 0f 63 0d d2 67 | 1e 59 8b ec f3 50 39 71 fb 39 da 11 64 b6 62 cd | 5f d3 8d 2e c1 50 ed 9c 6e 22 0c 39 a7 ce 62 b5 | af 8a 80 0f 2e 4c 05 5c 82 c7 8d 29 02 2e bb 23 | 5f db f2 9e b5 7d e2 20 70 1a 63 f3 8e 5d ac 47 | f0 5c 26 4e b1 d0 42 60 52 4a b0 77 25 ce e0 98 | 2b 43 f4 c7 59 1a 64 01 83 ea 4e e3 1a 2a 92 b8 | 55 ab 63 dd 4b 70 47 29 dc e9 b4 60 bf 43 4d 58 | 8f 64 73 95 70 ac 35 89 b2 c2 9c d4 62 c0 5f 56 | 5f ad 1b e5 dd 49 93 6a f5 23 82 ed d4 e7 d5 f1 | 55 f2 2d a2 26 a6 36 53 2f 94 fb 99 22 5c 47 cc | 6d 80 30 88 96 38 0c f5 f2 ed 37 d0 09 d5 07 8f | 69 ef a9 99 ce 4d 1a 77 9e 39 c4 38 f3 c5 51 51 | 48 ef | e | 03 | CKAID | 61 55 99 73 d3 ac ef 7d 3a 37 0e 3e 82 ad 92 c1 | 8a 82 25 f1 | saving right CKAID 61559973d3acef7d3a370e3e82ad92c18a8225f1 extracted from raw RSA public key | loaded private key matching CKAID 61559973d3acef7d3a370e3e82ad92c18a8225f1 | copying key using reference slot | certs and keys locked by 'lsw_add_rsa_secret' | certs and keys unlocked by 'lsw_add_rsa_secret' | spent 1.74 (1.76) milliseconds in preload_private_key_by_ckaid() loading private key using CKAID connection "westnet-eastnet": loaded private key matching right CKAID 61559973d3acef7d3a370e3e82ad92c18a8225f1 | counting wild cards for @east is 0 | updating connection from left.host_addr | left host_port 500 | updating connection from right.host_addr | right host_port 500 | orienting westnet-eastnet | westnet-eastnet doesn't match 127.0.0.1:4500 at all | westnet-eastnet doesn't match 127.0.0.1:500 at all | westnet-eastnet doesn't match 192.0.2.254:4500 at all | westnet-eastnet doesn't match 192.0.2.254:500 at all | westnet-eastnet doesn't match 192.1.2.23:4500 at all | oriented westnet-eastnet's that | swapping ends so that that is this | connect_to_host_pair: 192.1.2.23:500 192.1.2.45:500 -> hp@(nil): none | newref hp@0x5556223d2fb8(0->1) (in connect_to_host_pair() at hostpair.c:290) added IKEv1 connection "westnet-eastnet" | ike_life: 3600; ipsec_life: 28800s; rekey_margin: 540s; rekey_fuzz: 100%; keyingtries: 0; replay_window: 32; policy: RSASIG+ENCRYPT+TUNNEL+PFS+IKEV1_ALLOW+IKE_FRAG_ALLOW+ESN_NO | 192.0.2.0/24===192.1.2.23<192.1.2.23>[@east]...192.1.2.45<192.1.2.45>[@west]===192.0.1.0/24 | delref logger@0x5556223c4208(1->0) (in add_connection() at connections.c:2026) | delref fd@0x5556223d0cd8(2->1) (in free_logger() at log.c:853) | delref fd@NULL (in free_logger() at log.c:854) | delref fd@0x5556223d0cd8(1->0) (in whack_handle_cb() at rcv_whack.c:903) | freeref fd-fd@0x5556223d0cd8 (in whack_handle_cb() at rcv_whack.c:903) | spent 2.13 (2.15) milliseconds in whack | newref struct fd@0x5556223d07e8(0->1) (in whack_handle_cb() at rcv_whack.c:869) | fd_accept: new fd-fd@0x5556223d07e8 (in whack_handle_cb() at rcv_whack.c:869) | whack: key add keyid @west | 01 03 a6 f5 d6 3f e3 8f 6c 01 6a fc 7b 7c 6d 57 | 8b 49 39 0d 77 f7 ac e2 85 f1 98 1e 4b 6d a5 3e | b3 96 9a d1 99 5a bc 10 f2 97 de f2 28 f9 5f 92 | 09 f0 c8 d4 12 e4 60 6e 9c 60 98 10 01 7d 26 b7 | 8f 95 62 2d 87 dd cd de f6 d3 8f 35 b0 50 d0 18 | f5 99 f8 04 f1 ff 61 5b bc 7f 1f c0 04 d8 e4 8c | ac 34 ad 7a c1 da 3c 2d 8c 30 ae d6 3c 59 b1 3a | 94 d3 d5 2a 73 91 bd 59 5f 3e 72 bf 4a 1b 9d c5 | b2 2b 4d e7 0d 24 3e 77 f9 7f 2d d6 9d 29 ef 70 | 7d 7a 6d a2 b8 61 0c 4b 09 4a 06 71 84 70 85 9a | 8f 52 a1 80 06 fd c6 fc 3e 27 fa 16 fa 32 83 a9 | ca 80 db 0f 4a bf f7 e9 55 8e bd 29 4d 23 a6 dc | 2a b3 5d 62 a9 21 1e be 83 d8 69 3c 03 0a 48 8e | d3 3a 11 f2 86 5a d1 30 65 bd c8 f4 83 87 ff 04 | 87 33 05 4f e0 d8 8c fe b3 19 4c dd 85 40 f3 4d | 6e e8 49 14 06 2c 1f 59 59 05 8f 20 b0 ca 46 3f | c9 20 7e 04 30 7d 9a 80 6c 3f 0a 89 f7 d3 af d8 | 15 04 37 f9 | computed rsa CKAID | b4 9f 1a ac 9e 45 6e 79 29 c8 81 97 3a 0c 6a d3 | 7f 0f 03 50 | keyid: *AQOm9dY/4 | size: 274 | n | a6 f5 d6 3f e3 8f 6c 01 6a fc 7b 7c 6d 57 8b 49 | 39 0d 77 f7 ac e2 85 f1 98 1e 4b 6d a5 3e b3 96 | 9a d1 99 5a bc 10 f2 97 de f2 28 f9 5f 92 09 f0 | c8 d4 12 e4 60 6e 9c 60 98 10 01 7d 26 b7 8f 95 | 62 2d 87 dd cd de f6 d3 8f 35 b0 50 d0 18 f5 99 | f8 04 f1 ff 61 5b bc 7f 1f c0 04 d8 e4 8c ac 34 | ad 7a c1 da 3c 2d 8c 30 ae d6 3c 59 b1 3a 94 d3 | d5 2a 73 91 bd 59 5f 3e 72 bf 4a 1b 9d c5 b2 2b | 4d e7 0d 24 3e 77 f9 7f 2d d6 9d 29 ef 70 7d 7a | 6d a2 b8 61 0c 4b 09 4a 06 71 84 70 85 9a 8f 52 | a1 80 06 fd c6 fc 3e 27 fa 16 fa 32 83 a9 ca 80 | db 0f 4a bf f7 e9 55 8e bd 29 4d 23 a6 dc 2a b3 | 5d 62 a9 21 1e be 83 d8 69 3c 03 0a 48 8e d3 3a | 11 f2 86 5a d1 30 65 bd c8 f4 83 87 ff 04 87 33 | 05 4f e0 d8 8c fe b3 19 4c dd 85 40 f3 4d 6e e8 | 49 14 06 2c 1f 59 59 05 8f 20 b0 ca 46 3f c9 20 | 7e 04 30 7d 9a 80 6c 3f 0a 89 f7 d3 af d8 15 04 | 37 f9 | e | 03 | CKAID | b4 9f 1a ac 9e 45 6e 79 29 c8 81 97 3a 0c 6a d3 | 7f 0f 03 50 | newref struct pubkey@0x5556223d0978(0->1) (in add_public_key() at secrets.c:1716) | addref pk@0x5556223d0978(1->2) (in add_public_key() at secrets.c:1718) | delref pkp@0x5556223d0978(2->1) (in key_add_request() at rcv_whack.c:341) | trying secret PKK_RSA:AQO9bJbr3 | spent 0.0458 (0.0458) milliseconds in preload_private_key_by_ckaid() loading private key using CKAID | no private key: can't find the private key matching the NSS CKAID | delref fd@0x5556223d07e8(1->0) (in whack_handle_cb() at rcv_whack.c:903) | freeref fd-fd@0x5556223d07e8 (in whack_handle_cb() at rcv_whack.c:903) | spent 0.169 (0.169) milliseconds in whack | newref struct fd@0x5556223cdae8(0->1) (in whack_handle_cb() at rcv_whack.c:869) | fd_accept: new fd-fd@0x5556223cdae8 (in whack_handle_cb() at rcv_whack.c:869) | whack: key add keyid @east | 01 03 bd 6c 96 eb df 78 89 b3 ed 77 0d a1 7f 7b | e5 16 c2 c9 e4 7d 92 0a 90 9d 55 43 b4 62 13 03 | 85 7a e0 26 7b 54 1f ca 09 93 cf ff 25 c9 02 4c | 78 ca 94 e5 3e ac d1 f9 a8 e5 bb 7f cc 20 84 e0 | 21 c9 f0 0d c5 44 ba f3 48 64 61 58 f6 0f 63 0d | d2 67 1e 59 8b ec f3 50 39 71 fb 39 da 11 64 b6 | 62 cd 5f d3 8d 2e c1 50 ed 9c 6e 22 0c 39 a7 ce | 62 b5 af 8a 80 0f 2e 4c 05 5c 82 c7 8d 29 02 2e | bb 23 5f db f2 9e b5 7d e2 20 70 1a 63 f3 8e 5d | ac 47 f0 5c 26 4e b1 d0 42 60 52 4a b0 77 25 ce | e0 98 2b 43 f4 c7 59 1a 64 01 83 ea 4e e3 1a 2a | 92 b8 55 ab 63 dd 4b 70 47 29 dc e9 b4 60 bf 43 | 4d 58 8f 64 73 95 70 ac 35 89 b2 c2 9c d4 62 c0 | 5f 56 5f ad 1b e5 dd 49 93 6a f5 23 82 ed d4 e7 | d5 f1 55 f2 2d a2 26 a6 36 53 2f 94 fb 99 22 5c | 47 cc 6d 80 30 88 96 38 0c f5 f2 ed 37 d0 09 d5 | 07 8f 69 ef a9 99 ce 4d 1a 77 9e 39 c4 38 f3 c5 | 51 51 48 ef | computed rsa CKAID | 61 55 99 73 d3 ac ef 7d 3a 37 0e 3e 82 ad 92 c1 | 8a 82 25 f1 | keyid: *AQO9bJbr3 | size: 274 | n | bd 6c 96 eb df 78 89 b3 ed 77 0d a1 7f 7b e5 16 | c2 c9 e4 7d 92 0a 90 9d 55 43 b4 62 13 03 85 7a | e0 26 7b 54 1f ca 09 93 cf ff 25 c9 02 4c 78 ca | 94 e5 3e ac d1 f9 a8 e5 bb 7f cc 20 84 e0 21 c9 | f0 0d c5 44 ba f3 48 64 61 58 f6 0f 63 0d d2 67 | 1e 59 8b ec f3 50 39 71 fb 39 da 11 64 b6 62 cd | 5f d3 8d 2e c1 50 ed 9c 6e 22 0c 39 a7 ce 62 b5 | af 8a 80 0f 2e 4c 05 5c 82 c7 8d 29 02 2e bb 23 | 5f db f2 9e b5 7d e2 20 70 1a 63 f3 8e 5d ac 47 | f0 5c 26 4e b1 d0 42 60 52 4a b0 77 25 ce e0 98 | 2b 43 f4 c7 59 1a 64 01 83 ea 4e e3 1a 2a 92 b8 | 55 ab 63 dd 4b 70 47 29 dc e9 b4 60 bf 43 4d 58 | 8f 64 73 95 70 ac 35 89 b2 c2 9c d4 62 c0 5f 56 | 5f ad 1b e5 dd 49 93 6a f5 23 82 ed d4 e7 d5 f1 | 55 f2 2d a2 26 a6 36 53 2f 94 fb 99 22 5c 47 cc | 6d 80 30 88 96 38 0c f5 f2 ed 37 d0 09 d5 07 8f | 69 ef a9 99 ce 4d 1a 77 9e 39 c4 38 f3 c5 51 51 | 48 ef | e | 03 | CKAID | 61 55 99 73 d3 ac ef 7d 3a 37 0e 3e 82 ad 92 c1 | 8a 82 25 f1 | newref struct pubkey@0x5556223d6338(0->1) (in add_public_key() at secrets.c:1716) | addref pk@0x5556223d6338(1->2) (in add_public_key() at secrets.c:1718) | delref pkp@0x5556223d6338(2->1) (in key_add_request() at rcv_whack.c:341) | trying secret PKK_RSA:AQO9bJbr3 | matched | secrets entry for ckaid already exists | spent 0.00729 (0.00699) milliseconds in preload_private_key_by_ckaid() loading private key using CKAID | delref fd@0x5556223cdae8(1->0) (in whack_handle_cb() at rcv_whack.c:903) | freeref fd-fd@0x5556223cdae8 (in whack_handle_cb() at rcv_whack.c:903) | spent 0.173 (0.176) milliseconds in whack | newref struct fd@0x5556223d7038(0->1) (in whack_handle_cb() at rcv_whack.c:869) | fd_accept: new fd-fd@0x5556223d7038 (in whack_handle_cb() at rcv_whack.c:869) | whack: status | FOR_EACH_CONNECTION_... in show_connections_status | FOR_EACH_CONNECTION_... in show_connections_status | FOR_EACH_STATE_... in show_states (sort_states) | delref fd@0x5556223d7038(1->0) (in whack_handle_cb() at rcv_whack.c:903) | freeref fd-fd@0x5556223d7038 (in whack_handle_cb() at rcv_whack.c:903) | spent 0.351 (0.623) milliseconds in whack | kernel_process_msg_cb process netlink message | netlink_get: XFRM_MSG_NEWSA message | spent 0.00897 (0.00872) milliseconds in kernel message | kernel_process_msg_cb process netlink message | netlink_get: XFRM_MSG_NEWSA message | netlink_get: XFRM_MSG_NEWSA message | spent 0.0106 (0.0105) milliseconds in kernel message | spent 0.00272 (0.00259) milliseconds in udp_read_packet() calling check_incoming_msg_errqueue() | newref struct msg_digest@0x5556223d7808(0->1) (in read_message() at demux.c:103) | newref alloc logger@0x5556223c4208(0->1) (in read_message() at demux.c:103) | *received 792 bytes from 192.1.2.45:500 on eth1 192.1.2.23:500 using UDP | 93 6b 52 05 22 f7 49 81 00 00 00 00 00 00 00 00 | 01 10 02 00 00 00 00 00 00 00 03 18 0d 00 02 84 | 00 00 00 01 00 00 00 01 00 00 02 78 00 01 00 12 | 03 00 00 24 00 01 00 00 80 0b 00 01 80 0c 0e 10 | 80 01 00 07 80 02 00 04 80 03 00 03 80 04 00 0e | 80 0e 01 00 03 00 00 24 01 01 00 00 80 0b 00 01 | 80 0c 0e 10 80 01 00 07 80 02 00 04 80 03 00 03 | 80 04 00 0e 80 0e 00 80 03 00 00 24 02 01 00 00 | 80 0b 00 01 80 0c 0e 10 80 01 00 07 80 02 00 06 | 80 03 00 03 80 04 00 0e 80 0e 01 00 03 00 00 24 | 03 01 00 00 80 0b 00 01 80 0c 0e 10 80 01 00 07 | 80 02 00 06 80 03 00 03 80 04 00 0e 80 0e 00 80 | 03 00 00 24 04 01 00 00 80 0b 00 01 80 0c 0e 10 | 80 01 00 07 80 02 00 02 80 03 00 03 80 04 00 0e | 80 0e 01 00 03 00 00 24 05 01 00 00 80 0b 00 01 | 80 0c 0e 10 80 01 00 07 80 02 00 02 80 03 00 03 | 80 04 00 0e 80 0e 00 80 03 00 00 24 06 01 00 00 | 80 0b 00 01 80 0c 0e 10 80 01 00 07 80 02 00 04 | 80 03 00 03 80 04 00 05 80 0e 01 00 03 00 00 24 | 07 01 00 00 80 0b 00 01 80 0c 0e 10 80 01 00 07 | 80 02 00 04 80 03 00 03 80 04 00 05 80 0e 00 80 | 03 00 00 24 08 01 00 00 80 0b 00 01 80 0c 0e 10 | 80 01 00 07 80 02 00 06 80 03 00 03 80 04 00 05 | 80 0e 01 00 03 00 00 24 09 01 00 00 80 0b 00 01 | 80 0c 0e 10 80 01 00 07 80 02 00 06 80 03 00 03 | 80 04 00 05 80 0e 00 80 03 00 00 24 0a 01 00 00 | 80 0b 00 01 80 0c 0e 10 80 01 00 07 80 02 00 02 | 80 03 00 03 80 04 00 05 80 0e 01 00 03 00 00 24 | 0b 01 00 00 80 0b 00 01 80 0c 0e 10 80 01 00 07 | 80 02 00 02 80 03 00 03 80 04 00 05 80 0e 00 80 | 03 00 00 20 0c 01 00 00 80 0b 00 01 80 0c 0e 10 | 80 01 00 05 80 02 00 04 80 03 00 03 80 04 00 0e | 03 00 00 20 0d 01 00 00 80 0b 00 01 80 0c 0e 10 | 80 01 00 05 80 02 00 06 80 03 00 03 80 04 00 0e | 03 00 00 20 0e 01 00 00 80 0b 00 01 80 0c 0e 10 | 80 01 00 05 80 02 00 02 80 03 00 03 80 04 00 0e | 03 00 00 20 0f 01 00 00 80 0b 00 01 80 0c 0e 10 | 80 01 00 05 80 02 00 04 80 03 00 03 80 04 00 05 | 03 00 00 20 10 01 00 00 80 0b 00 01 80 0c 0e 10 | 80 01 00 05 80 02 00 06 80 03 00 03 80 04 00 05 | 00 00 00 20 11 01 00 00 80 0b 00 01 80 0c 0e 10 | 80 01 00 05 80 02 00 02 80 03 00 03 80 04 00 05 | 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 | **parse ISAKMP Message: | initiator SPI: 93 6b 52 05 22 f7 49 81 | responder SPI: 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 (00 00 00 00) | length: 792 (00 00 03 18) | processing version=1.0 packet with exchange type=ISAKMP_XCHG_IDPROT (2) | State DB: IKEv1 state not found (find_state_ikev1_init) | #null state always idle | got payload 0x2 (ISAKMP_NEXT_SA) needed: 0x2 opt: 0x2080 | ***parse ISAKMP Security Association Payload: | next payload type: ISAKMP_NEXT_VID (0xd) | length: 644 (02 84) | 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 (00 14) | got payload 0x2000 (ISAKMP_NEXT_VID) needed: 0x0 opt: 0x2080 | ***parse ISAKMP Vendor ID Payload: | next payload type: ISAKMP_NEXT_VID (0xd) | length: 20 (00 14) | got payload 0x2000 (ISAKMP_NEXT_VID) needed: 0x0 opt: 0x2080 | ***parse ISAKMP Vendor ID Payload: | next payload type: ISAKMP_NEXT_VID (0xd) | length: 20 (00 14) | got payload 0x2000 (ISAKMP_NEXT_VID) needed: 0x0 opt: 0x2080 | ***parse ISAKMP Vendor ID Payload: | next payload type: ISAKMP_NEXT_VID (0xd) | length: 20 (00 14) | got payload 0x2000 (ISAKMP_NEXT_VID) needed: 0x0 opt: 0x2080 | ***parse ISAKMP Vendor ID Payload: | next payload type: ISAKMP_NEXT_VID (0xd) | length: 20 (00 14) | got payload 0x2000 (ISAKMP_NEXT_VID) needed: 0x0 opt: 0x2080 | ***parse ISAKMP Vendor ID Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | length: 20 (00 14) | message 'main_inI1_outR1' 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] | Ignoring older NAT-T Vendor ID payload [draft-ietf-ipsec-nat-t-ike-03] | ignoring Vendor ID payload [draft-ietf-ipsec-nat-t-ike-03] | Ignoring older NAT-T Vendor ID payload [draft-ietf-ipsec-nat-t-ike-02_n] | ignoring Vendor ID payload [draft-ietf-ipsec-nat-t-ike-02_n] | Ignoring older NAT-T Vendor ID payload [draft-ietf-ipsec-nat-t-ike-02] | ignoring Vendor ID payload [draft-ietf-ipsec-nat-t-ike-02] | in statetime_start() with no state | find_host_connection local=192.1.2.23:500 remote=192.1.2.45:500 policy=IKEV1_ALLOW but ignoring ports | find_host_pair: comparing 192.1.2.23:500 to 192.1.2.45:500 but ignoring ports | find_next_host_connection policy=IKEV1_ALLOW | found policy = RSASIG+ENCRYPT+TUNNEL+PFS+IKEV1_ALLOW+IKE_FRAG_ALLOW+ESN_NO (westnet-eastnet) | find_next_host_connection returns "westnet-eastnet" | find_next_host_connection policy=IKEV1_ALLOW | find_next_host_connection returns | newref alloc logger@0x5556223c4198(0->1) (in new_state() at state.c:576) | addref fd@NULL (in new_state() at state.c:577) | creating state object #1 at 0x5556223d9018 | State DB: adding IKEv1 state #1 in UNDEFINED | pstats #1 ikev1.isakmp started | #1 updating local interface from to 192.1.2.23:500 using md->iface (in update_ike_endpoints() at state.c:2631) | start processing: state #1 connection "westnet-eastnet" from 192.1.2.45:500 (in main_inI1_outR1() at ikev1_main.c:662) | parent state #1: UNDEFINED(ignore) => MAIN_R0(half-open IKE SA) | 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) | ICOOKIE-DUMP: | 93 6b 52 05 22 f7 49 81 "westnet-eastnet" #1: responding to Main Mode | opening output PBS reply packet | **emit ISAKMP Message: | initiator SPI: 93 6b 52 05 22 f7 49 81 | responder SPI: af 41 68 25 e9 d1 bc 83 | 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 (00 00 00 00) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | ***emit ISAKMP Security Association Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | DOI: ISAKMP_DOI_IPSEC (0x1) | next payload chain: setting previous 'ISAKMP Message'.'next payload type' to current ISAKMP Security Association Payload (1:ISAKMP_NEXT_SA) | next payload chain: saving location 'ISAKMP Security Association Payload'.'next payload type' in 'reply packet' | ****parse IPsec DOI SIT: | IPsec DOI SIT: SIT_IDENTITY_ONLY (0x1) | ****parse ISAKMP Proposal Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | length: 632 (02 78) | proposal number: 0 (00) | protocol ID: PROTO_ISAKMP (0x1) | SPI size: 0 (00) | number of transforms: 18 (12) | *****parse ISAKMP Transform Payload (ISAKMP): | next payload type: ISAKMP_NEXT_T (0x3) | length: 36 (00 24) | ISAKMP transform number: 0 (00) | ISAKMP transform ID: KEY_IKE (0x1) | ******parse ISAKMP Oakley attribute: | af+type: AF+OAKLEY_LIFE_TYPE (0x800b) | length/value: 1 (00 01) | [1 is OAKLEY_LIFE_SECONDS] | ******parse ISAKMP Oakley attribute: | af+type: AF+OAKLEY_LIFE_DURATION (variable length) (0x800c) | length/value: 3600 (0e 10) | ******parse ISAKMP Oakley attribute: | af+type: AF+OAKLEY_ENCRYPTION_ALGORITHM (0x8001) | length/value: 7 (00 07) | [7 is OAKLEY_AES_CBC] | ******parse ISAKMP Oakley attribute: | af+type: AF+OAKLEY_HASH_ALGORITHM (0x8002) | length/value: 4 (00 04) | [4 is OAKLEY_SHA2_256] | ******parse ISAKMP Oakley attribute: | af+type: AF+OAKLEY_AUTHENTICATION_METHOD (0x8003) | length/value: 3 (00 03) | [3 is OAKLEY_RSA_SIG] | ******parse ISAKMP Oakley attribute: | af+type: AF+OAKLEY_GROUP_DESCRIPTION (0x8004) | length/value: 14 (00 0e) | [14 is OAKLEY_GROUP_MODP2048] | ******parse ISAKMP Oakley attribute: | af+type: AF+OAKLEY_KEY_LENGTH (0x800e) | length/value: 256 (01 00) | OAKLEY proposal verified unconditionally; no alg_info to check against | Oakley Transform 0 accepted | ****emit IPsec DOI SIT: | IPsec DOI SIT: SIT_IDENTITY_ONLY (0x1) | ****emit ISAKMP Proposal Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | proposal number: 0 (00) | protocol ID: PROTO_ISAKMP (0x1) | SPI size: 0 (00) | number of transforms: 1 (01) | 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 (00) | ISAKMP transform ID: KEY_IKE (0x1) | last substructure: saving location 'ISAKMP Proposal Payload'.'ISAKMP Transform Payload (ISAKMP)'.'next payload type' | emitting 28 raw bytes of attributes into ISAKMP Transform Payload (ISAKMP) | attributes: | 80 0b 00 01 80 0c 0e 10 80 01 00 07 80 02 00 04 | 80 03 00 03 80 04 00 0e 80 0e 01 00 | 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_NONE (0x0) | 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 | out_vid(): sending [RFC 3947] | ***emit ISAKMP Vendor ID Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | next payload chain: setting previous 'ISAKMP Vendor ID Payload'.'next payload type' to current ISAKMP Vendor ID Payload (13:ISAKMP_NEXT_VID) | next payload chain: saving location 'ISAKMP Vendor ID Payload'.'next payload type' in 'reply packet' | emitting 16 raw bytes of V_ID into ISAKMP Vendor ID Payload | V_ID: 4a 13 1c 81 07 03 58 45 5c 57 28 f2 0e 95 45 2f | emitting length of ISAKMP Vendor ID Payload: 20 | no IKEv1 message padding required | emitting length of ISAKMP Message: 144 | complete v1 state transition with STF_OK | [RE]START processing: state #1 connection "westnet-eastnet" from 192.1.2.45:500 (in complete_v1_state_transition() at ikev1.c:2510) | #1 is idle | doing_xauth:no, t_xauth_client_done:no | peer supports fragmentation | peer supports DPD | IKEv1: transition from state STATE_MAIN_R0 to state STATE_MAIN_R1 | parent state #1: MAIN_R0(half-open IKE SA) => MAIN_R1(open IKE SA) | event_already_set, deleting event | state #1 has no .st_event to delete | #1 STATE_MAIN_R1: retransmits: cleared | sending reply packet to 192.1.2.45:500 (from 192.1.2.23:500) | sending 144 bytes for STATE_MAIN_R0 through eth1 from 192.1.2.23:500 to 192.1.2.45:500 using UDP (for #1) | 93 6b 52 05 22 f7 49 81 af 41 68 25 e9 d1 bc 83 | 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 04 80 03 00 03 80 04 00 0e | 80 0e 01 00 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 | !event_already_set at reschedule | event_schedule: newref EVENT_SO_DISCARD-pe@0x5556223d3ae8 | inserting event EVENT_SO_DISCARD, timeout in 60 seconds for #1 | libevent_malloc: newref ptr-libevent@0x5556223d31b8 size 128 "westnet-eastnet" #1: sent Main Mode R1 | modecfg pull: noquirk policy:push not-client | phase 1 is done, looking for phase 2 to unpend | stop processing: state #1 connection "westnet-eastnet" from 192.1.2.45:500 (in process_md() at demux.c:287) | delref mdp@0x5556223d7808(1->0) (in handle_packet_cb() at demux.c:318) | delref logger@0x5556223c4208(1->0) (in handle_packet_cb() at demux.c:318) | delref fd@NULL (in free_logger() at log.c:853) | delref fd@NULL (in free_logger() at log.c:854) | spent 0.713 (0.734) milliseconds in handle_packet_cb() reading and processing packet | spent 0.00264 (0.00248) milliseconds in udp_read_packet() calling check_incoming_msg_errqueue() | newref struct msg_digest@0x5556223d7808(0->1) (in read_message() at demux.c:103) | newref alloc logger@0x5556223c4208(0->1) (in read_message() at demux.c:103) | *received 396 bytes from 192.1.2.45:500 on eth1 192.1.2.23:500 using UDP | 93 6b 52 05 22 f7 49 81 af 41 68 25 e9 d1 bc 83 | 04 10 02 00 00 00 00 00 00 00 01 8c 0a 00 01 04 | b2 ba 24 8e ce 5a dc 3c ce e5 b7 20 87 37 ae 39 | 6e 33 9d d2 36 4b f6 40 6d f7 de c5 f9 db 0b 41 | c9 7a 0a dc 25 e4 fb 0b 5e 2e 40 33 8c d7 20 4f | 5a ec a6 ac 90 85 bc d6 c8 61 41 bf fb 14 70 92 | a6 5d 46 41 fe 1f b7 e5 6d 58 f5 09 66 b2 c6 56 | 6f 42 4e 17 59 72 2e 1c 31 23 46 62 d6 06 80 cc | 36 89 9d eb 74 07 f4 d3 6f 2c 9e 0d be 56 fe da | 8a 56 a4 09 7a b9 48 24 2f 51 5c e2 3a 72 0f 42 | 84 b7 eb c0 6a 4e 84 f4 6e 40 b4 a7 d3 0d 06 8f | 89 e0 6c cc fe 66 92 4f 17 26 62 72 20 26 d9 5e | ea 8e 4c 00 f0 17 b3 50 25 53 54 6b 6e 13 e8 51 | 94 1d 90 5e c3 be 41 dd ca 5a 3e ed 7b 82 27 15 | 9d ea 0e 8c ef 33 e3 ec 17 62 1d 4c 92 e3 67 4b | 87 c1 60 f3 92 5b 5d f9 09 7f e9 a4 85 c4 82 83 | 4a fa ac 17 05 5d 68 31 d7 bb 41 3e 68 fc fd 9e | 8f af 39 ce ab 32 71 31 71 06 f4 b9 22 a7 ce a3 | 14 00 00 24 44 78 33 3c 73 af 8e 70 9f e3 3a 09 | db cc a1 91 26 86 42 3c 1d 9c d8 b8 98 b9 7c 54 | 38 02 5a dd 14 00 00 24 b8 57 f3 d0 39 fe 2d 24 | 13 34 82 64 e4 ae e6 51 4b cf 10 ee 50 c4 33 e9 | e3 09 5a dd 11 76 e0 8b 00 00 00 24 c8 8f 07 79 | a8 5b e6 7e a1 d7 e2 eb df 77 db 18 bd 35 d9 fc | 2b c5 b6 39 9c 76 57 b6 22 21 ab d5 | **parse ISAKMP Message: | initiator SPI: 93 6b 52 05 22 f7 49 81 | responder SPI: af 41 68 25 e9 d1 bc 83 | 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 (00 00 00 00) | length: 396 (00 00 01 8c) | processing version=1.0 packet with exchange type=ISAKMP_XCHG_IDPROT (2) | State DB: found IKEv1 state #1 in MAIN_R1 (find_state_ikev1) | start processing: state #1 connection "westnet-eastnet" from 192.1.2.45:500 (in process_v1_packet() at ikev1.c:1358) | #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: 260 (01 04) | got payload 0x400 (ISAKMP_NEXT_NONCE) needed: 0x400 opt: 0x102080 | ***parse ISAKMP Nonce Payload: | next payload type: ISAKMP_NEXT_NATD_RFC (0x14) | length: 36 (00 24) | 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: 36 (00 24) | got payload 0x100000 (ISAKMP_NEXT_NATD_RFC) needed: 0x0 opt: 0x102080 | ***parse ISAKMP NAT-D Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | length: 36 (00 24) | message 'main_inI2_outR2' HASH payload not checked early | init checking NAT-T: enabled; RFC 3947 (NAT-Traversal) | natd_hash: hasher=0x555620a9f100(32) | natd_hash: icookie= | 93 6b 52 05 22 f7 49 81 | natd_hash: rcookie= | af 41 68 25 e9 d1 bc 83 | natd_hash: ip= | c0 01 02 17 | natd_hash: port= | 01 f4 | natd_hash: hash= | b8 57 f3 d0 39 fe 2d 24 13 34 82 64 e4 ae e6 51 | 4b cf 10 ee 50 c4 33 e9 e3 09 5a dd 11 76 e0 8b | natd_hash: hasher=0x555620a9f100(32) | natd_hash: icookie= | 93 6b 52 05 22 f7 49 81 | natd_hash: rcookie= | af 41 68 25 e9 d1 bc 83 | natd_hash: ip= | c0 01 02 2d | natd_hash: port= | 01 f4 | natd_hash: hash= | c8 8f 07 79 a8 5b e6 7e a1 d7 e2 eb df 77 db 18 | bd 35 d9 fc 2b c5 b6 39 9c 76 57 b6 22 21 ab d5 | expected NAT-D(local): | b8 57 f3 d0 39 fe 2d 24 13 34 82 64 e4 ae e6 51 | 4b cf 10 ee 50 c4 33 e9 e3 09 5a dd 11 76 e0 8b | expected NAT-D(remote): | c8 8f 07 79 a8 5b e6 7e a1 d7 e2 eb df 77 db 18 | bd 35 d9 fc 2b c5 b6 39 9c 76 57 b6 22 21 ab d5 | received NAT-D: | b8 57 f3 d0 39 fe 2d 24 13 34 82 64 e4 ae e6 51 | 4b cf 10 ee 50 c4 33 e9 e3 09 5a dd 11 76 e0 8b | received NAT-D: | c8 8f 07 79 a8 5b e6 7e a1 d7 e2 eb df 77 db 18 | bd 35 d9 fc 2b c5 b6 39 9c 76 57 b6 22 21 ab d5 | NAT_TRAVERSAL encaps using auto-detect | NAT_TRAVERSAL this end is NOT behind NAT | NAT_TRAVERSAL that end is NOT behind NAT | NAT_TRAVERSAL nat-keepalive enabled 192.1.2.45 | 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 | addref fd@NULL (in clone_logger() at log.c:809) | addref fd@NULL (in clone_logger() at log.c:810) | newref clone logger@0x5556223c4128(0->1) (in clone_logger() at log.c:817) | job 1 for #1: inI2_outR2 KE (build KE and nonce): adding job to queue | state #1 deleting .st_event EVENT_SO_DISCARD | libevent_free: delref ptr-libevent@0x5556223d31b8 | free_event_entry: delref EVENT_SO_DISCARD-pe@0x5556223d3ae8 | #1 STATE_MAIN_R1: retransmits: cleared | event_schedule: newref EVENT_CRYPTO_TIMEOUT-pe@0x5556223d31b8 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #1 | libevent_malloc: newref ptr-libevent@0x5556223d3c88 size 128 | complete v1 state transition with STF_SUSPEND | [RE]START processing: state #1 connection "westnet-eastnet" from 192.1.2.45:500 (in complete_v1_state_transition() at ikev1.c:2489) | suspending state #1 and saving MD 0x5556223d7808 | addref md@0x5556223d7808(1->2) (in complete_v1_state_transition() at ikev1.c:2497) | #1 is busy; has suspended MD 0x5556223d7808 | #1 spent 0.166 (0.166) milliseconds in process_packet_tail() | stop processing: state #1 connection "westnet-eastnet" from 192.1.2.45:500 (in process_md() at demux.c:287) | delref mdp@0x5556223d7808(2->1) (in handle_packet_cb() at demux.c:318) | spent 0.351 (0.354) milliseconds in handle_packet_cb() reading and processing packet | job 1 for #1: inI2_outR2 KE (build KE and nonce): helper 2 starting job | "westnet-eastnet" #1: spent 1.58 (1.59) milliseconds in helper 2 processing job 1 for state #1: inI2_outR2 KE (pcr) | job 1 for #1: inI2_outR2 KE (build KE and nonce): helper thread 2 sending result back to state | scheduling resume sending helper answer back to state for #1 | libevent_malloc: newref ptr-libevent@0x7fabfc006108 size 128 | helper thread 2 has nothing to do | processing resume sending helper answer back to state for #1 | start processing: state #1 connection "westnet-eastnet" from 192.1.2.45:500 (in resume_handler() at server.c:641) | unsuspending #1 MD 0x5556223d7808 | job 1 for #1: inI2_outR2 KE (build KE and nonce): processing response from helper 2 | job 1 for #1: inI2_outR2 KE (build KE and nonce): calling continuation function 0x5556209acfe7 | main_inI2_outR2_continue for #1: calculated ke+nonce, sending R2 | opening output PBS reply packet | **emit ISAKMP Message: | initiator SPI: 93 6b 52 05 22 f7 49 81 | responder SPI: af 41 68 25 e9 d1 bc 83 | 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 (00 00 00 00) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | DH secret MODP2048@0x7fabfc006ba8: transferring ownership from helper KE to state #1 | ***emit ISAKMP Key Exchange Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | 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 256 raw bytes of keyex value into ISAKMP Key Exchange Payload | keyex value: | cc 7a 0d ff 2a e7 86 96 e1 b2 03 a1 4e 8e 74 90 | 69 8e 26 f7 5f fc 50 c0 35 ef b9 1d 35 84 4a a2 | 47 fe 47 98 8e 05 5b 93 f5 ee 88 ab 3b b4 fd 0a | 4b ab e4 2f 8b da 6d 13 b1 da 9c 26 7f c9 a1 2e | 78 4c 30 bb 77 7b a1 b3 5f 2c 38 fa aa 28 fc 5a | e7 a8 e5 f5 c3 30 1d 3c 40 55 72 a4 9d 26 72 85 | 87 3c eb 99 4a 77 2d 15 72 91 93 1b ad 62 09 ef | ae d4 65 5d 70 4f b3 33 64 28 3d e8 ea a9 6c 88 | c3 48 34 94 25 b0 4a 19 a8 13 8b 42 71 9f 26 6f | f0 dd b6 31 73 88 77 15 d5 2a c9 ba e5 a1 7e d4 | aa d9 46 74 7c 3f af 18 1c 15 e8 a8 a5 9e b2 bb | ca bd 53 0a 3e 6f 17 0d 57 df ce b6 a7 5f eb 7c | 49 15 06 1e 71 90 1f e5 0a 7f 29 9e 0f 42 27 fc | 2a a7 af e8 63 6d e5 4f 78 4f 35 4c 77 39 48 07 | 82 83 39 f1 71 b5 16 58 45 3d 5b bd e9 d4 b2 71 | d1 30 6d 98 85 22 6a 4b a1 1d 5d 0b 93 1c f1 e6 | emitting length of ISAKMP Key Exchange Payload: 260 | ***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 Nr into ISAKMP Nonce Payload | Nr: | d2 53 25 26 02 19 77 fc 8f f4 00 d1 6c 66 84 30 | 09 c9 44 c6 e5 91 c4 cb 41 1a a6 e7 2e 4a 17 9b | emitting length of ISAKMP Nonce Payload: 36 | sending NAT-D payloads | natd_hash: hasher=0x555620a9f100(32) | natd_hash: icookie= | 93 6b 52 05 22 f7 49 81 | natd_hash: rcookie= | af 41 68 25 e9 d1 bc 83 | natd_hash: ip= | c0 01 02 2d | natd_hash: port= | 01 f4 | natd_hash: hash= | c8 8f 07 79 a8 5b e6 7e a1 d7 e2 eb df 77 db 18 | bd 35 d9 fc 2b c5 b6 39 9c 76 57 b6 22 21 ab d5 | ***emit ISAKMP NAT-D Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | 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 32 raw bytes of NAT-D into ISAKMP NAT-D Payload | NAT-D: | c8 8f 07 79 a8 5b e6 7e a1 d7 e2 eb df 77 db 18 | bd 35 d9 fc 2b c5 b6 39 9c 76 57 b6 22 21 ab d5 | emitting length of ISAKMP NAT-D Payload: 36 | natd_hash: hasher=0x555620a9f100(32) | natd_hash: icookie= | 93 6b 52 05 22 f7 49 81 | natd_hash: rcookie= | af 41 68 25 e9 d1 bc 83 | natd_hash: ip= | c0 01 02 17 | natd_hash: port= | 01 f4 | natd_hash: hash= | b8 57 f3 d0 39 fe 2d 24 13 34 82 64 e4 ae e6 51 | 4b cf 10 ee 50 c4 33 e9 e3 09 5a dd 11 76 e0 8b | ***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 32 raw bytes of NAT-D into ISAKMP NAT-D Payload | NAT-D: | b8 57 f3 d0 39 fe 2d 24 13 34 82 64 e4 ae e6 51 | 4b cf 10 ee 50 c4 33 e9 e3 09 5a dd 11 76 e0 8b | emitting length of ISAKMP NAT-D Payload: 36 | no IKEv1 message padding required | emitting length of ISAKMP Message: 396 | main inI2_outR2: starting async DH calculation (group=14) | lsw_get_secret() using IDs for @east->@west of kind PKK_PSK | line 0: key type PKK_PSK(@east) to type PKK_RSA | concluding with best_match=000 best=(nil) (lineno=-1) | no PreShared Key Found | DH secret MODP2048@0x7fabfc006ba8: transferring ownership from state #1 to helper IKEv1 DH+IV | addref fd@NULL (in clone_logger() at log.c:809) | addref fd@NULL (in clone_logger() at log.c:810) | newref clone logger@0x5556223d3ae8(0->1) (in clone_logger() at log.c:817) | job 2 for #1: main_inI2_outR2_tail (compute dh+iv (V1 Phase 1)): adding job to queue | state #1 deleting .st_event EVENT_CRYPTO_TIMEOUT | libevent_free: delref ptr-libevent@0x5556223d3c88 | free_event_entry: delref EVENT_CRYPTO_TIMEOUT-pe@0x5556223d31b8 | #1 STATE_MAIN_R1: retransmits: cleared | event_schedule: newref EVENT_CRYPTO_TIMEOUT-pe@0x5556223d3c88 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #1 | libevent_malloc: newref ptr-libevent@0x5556223d73c8 size 128 | #1 main_inI2_outR2_continue1_tail:1114 st->st_calculating = FALSE; | complete v1 state transition with STF_OK | [RE]START processing: state #1 connection "westnet-eastnet" from 192.1.2.45:500 (in complete_v1_state_transition() at ikev1.c:2510) | #1 is idle; has background offloaded task | doing_xauth:no, t_xauth_client_done:no | IKEv1: transition from state STATE_MAIN_R1 to state STATE_MAIN_R2 | job 2 for #1: main_inI2_outR2_tail (compute dh+iv (V1 Phase 1)): helper 3 starting job | "westnet-eastnet" #1: spent 1.02 (1.04) milliseconds in helper 3 processing job 2 for state #1: main_inI2_outR2_tail (pcr) | job 2 for #1: main_inI2_outR2_tail (compute dh+iv (V1 Phase 1)): helper thread 3 sending result back to state | scheduling resume sending helper answer back to state for #1 | libevent_malloc: newref ptr-libevent@0x7fabf4003c18 size 128 | helper thread 3 has nothing to do | parent state #1: MAIN_R1(open IKE SA) => MAIN_R2(open IKE SA) | event_already_set, deleting event | state #1 deleting .st_event EVENT_CRYPTO_TIMEOUT | libevent_free: delref ptr-libevent@0x5556223d73c8 | free_event_entry: delref EVENT_CRYPTO_TIMEOUT-pe@0x5556223d3c88 | #1 STATE_MAIN_R2: retransmits: cleared | sending reply packet to 192.1.2.45:500 (from 192.1.2.23:500) | sending 396 bytes for STATE_MAIN_R1 through eth1 from 192.1.2.23:500 to 192.1.2.45:500 using UDP (for #1) | 93 6b 52 05 22 f7 49 81 af 41 68 25 e9 d1 bc 83 | 04 10 02 00 00 00 00 00 00 00 01 8c 0a 00 01 04 | cc 7a 0d ff 2a e7 86 96 e1 b2 03 a1 4e 8e 74 90 | 69 8e 26 f7 5f fc 50 c0 35 ef b9 1d 35 84 4a a2 | 47 fe 47 98 8e 05 5b 93 f5 ee 88 ab 3b b4 fd 0a | 4b ab e4 2f 8b da 6d 13 b1 da 9c 26 7f c9 a1 2e | 78 4c 30 bb 77 7b a1 b3 5f 2c 38 fa aa 28 fc 5a | e7 a8 e5 f5 c3 30 1d 3c 40 55 72 a4 9d 26 72 85 | 87 3c eb 99 4a 77 2d 15 72 91 93 1b ad 62 09 ef | ae d4 65 5d 70 4f b3 33 64 28 3d e8 ea a9 6c 88 | c3 48 34 94 25 b0 4a 19 a8 13 8b 42 71 9f 26 6f | f0 dd b6 31 73 88 77 15 d5 2a c9 ba e5 a1 7e d4 | aa d9 46 74 7c 3f af 18 1c 15 e8 a8 a5 9e b2 bb | ca bd 53 0a 3e 6f 17 0d 57 df ce b6 a7 5f eb 7c | 49 15 06 1e 71 90 1f e5 0a 7f 29 9e 0f 42 27 fc | 2a a7 af e8 63 6d e5 4f 78 4f 35 4c 77 39 48 07 | 82 83 39 f1 71 b5 16 58 45 3d 5b bd e9 d4 b2 71 | d1 30 6d 98 85 22 6a 4b a1 1d 5d 0b 93 1c f1 e6 | 14 00 00 24 d2 53 25 26 02 19 77 fc 8f f4 00 d1 | 6c 66 84 30 09 c9 44 c6 e5 91 c4 cb 41 1a a6 e7 | 2e 4a 17 9b 14 00 00 24 c8 8f 07 79 a8 5b e6 7e | a1 d7 e2 eb df 77 db 18 bd 35 d9 fc 2b c5 b6 39 | 9c 76 57 b6 22 21 ab d5 00 00 00 24 b8 57 f3 d0 | 39 fe 2d 24 13 34 82 64 e4 ae e6 51 4b cf 10 ee | 50 c4 33 e9 e3 09 5a dd 11 76 e0 8b | !event_already_set at reschedule | event_schedule: newref EVENT_RETRANSMIT-pe@0x5556223d2818 | inserting event EVENT_RETRANSMIT, timeout in 0.5 seconds for #1 | libevent_malloc: newref ptr-libevent@0x5556223d73c8 size 128 | #1 STATE_MAIN_R2: retransmits: first event in 0.5 seconds; timeout in 60 seconds; limit of 12 retransmits; current time is 744519.590465 "westnet-eastnet" #1: sent Main Mode R2 | modecfg pull: noquirk policy:push not-client | phase 1 is done, looking for phase 2 to unpend | delref logger@0x5556223c4128(1->0) (in handle_helper_answer() at pluto_crypt.c:658) | delref fd@NULL (in free_logger() at log.c:853) | delref fd@NULL (in free_logger() at log.c:854) | resume sending helper answer back to state for #1 suppresed complete_v1_state_transition() | delref mdp@0x5556223d7808(1->0) (in resume_handler() at server.c:743) | delref logger@0x5556223c4208(1->0) (in resume_handler() at server.c:743) | delref fd@NULL (in free_logger() at log.c:853) | delref fd@NULL (in free_logger() at log.c:854) | #1 spent 0.439 (1.54) milliseconds in resume sending helper answer back to state | stop processing: state #1 connection "westnet-eastnet" from 192.1.2.45:500 (in resume_handler() at server.c:745) | libevent_free: delref ptr-libevent@0x7fabfc006108 | processing resume sending helper answer back to state for #1 | start processing: state #1 connection "westnet-eastnet" from 192.1.2.45:500 (in resume_handler() at server.c:641) | unsuspending #1 MD (nil) | job 2 for #1: main_inI2_outR2_tail (compute dh+iv (V1 Phase 1)): processing response from helper 3 | job 2 for #1: main_inI2_outR2_tail (compute dh+iv (V1 Phase 1)): calling continuation function 0x5556209acfe7 | main_inI2_outR2_calcdone for #1: calculate DH finished | [RE]START processing: state #1 connection "westnet-eastnet" from 192.1.2.45:500 (in main_inI2_outR2_continue2() at ikev1_main.c:986) | DH secret MODP2048@0x7fabfc006ba8: transferring ownership from helper IKEv1 DH+IV to state #1 | stop processing: state #1 connection "westnet-eastnet" from 192.1.2.45:500 (in main_inI2_outR2_continue2() at ikev1_main.c:999) | delref logger@0x5556223d3ae8(1->0) (in handle_helper_answer() at pluto_crypt.c:658) | delref fd@NULL (in free_logger() at log.c:853) | delref fd@NULL (in free_logger() at log.c:854) | resume sending helper answer back to state for #1 suppresed complete_v1_state_transition() | delref mdp@NULL (in resume_handler() at server.c:743) | #1 spent 0.0376 (0.0377) milliseconds in resume sending helper answer back to state | processing: STOP state #0 (in resume_handler() at server.c:745) | libevent_free: delref ptr-libevent@0x7fabf4003c18 | spent 0 (0.00247) milliseconds in udp_read_packet() calling check_incoming_msg_errqueue() | newref struct msg_digest@0x5556223d7808(0->1) (in read_message() at demux.c:103) | newref alloc logger@0x5556223c4128(0->1) (in read_message() at demux.c:103) | *received 332 bytes from 192.1.2.45:500 on eth1 192.1.2.23:500 using UDP | 93 6b 52 05 22 f7 49 81 af 41 68 25 e9 d1 bc 83 | 05 10 02 01 00 00 00 00 00 00 01 4c 05 c0 a7 1e | b5 6f 0c 2c 1c 4d af c9 91 65 5c 05 b9 94 c8 33 | 6b 82 46 d5 af 12 b0 e4 7d 12 eb d0 6f c4 fb 25 | 32 f9 7d f7 85 99 20 7e 11 bc fe 29 6a 1b 6b 53 | 70 07 9f a9 1d 8d ad 00 b9 20 00 74 57 b4 1b 35 | 01 7f f2 4d 8a ce e5 ba 04 4d 89 b9 32 9c 7a 3d | eb 62 5b d0 e5 b5 fb c3 3c fe a9 96 35 33 51 4f | dc 87 30 cc d3 47 9e a5 40 7e ff 11 d9 71 e2 e2 | 82 09 46 1a 84 2c 14 d3 dd 24 e9 33 5b 89 cb bf | 26 20 d9 95 09 bb bf 42 5f e6 2c 5c 2b cf a7 a8 | 8a f3 48 9b 51 2d b0 81 8e 79 3b fc 28 e6 a4 3b | 34 42 1c 89 f8 3b 1f d8 67 0f 53 24 de f2 ab 55 | 9d 0b 22 a8 ef 98 40 cc 2d a9 f4 3a f1 f5 67 b2 | 42 2e 25 99 5a 1a bb c9 f7 e6 48 61 37 58 25 b8 | c5 9b eb 6a e2 44 35 81 00 73 77 fb 88 57 c6 c9 | 88 14 c5 71 d9 b7 b2 22 f3 60 45 b8 b7 d8 0b ed | d5 d1 db 49 06 7c 2f 44 6a 60 6a 5b 1b 3f 5a 10 | 8f 40 77 9c ee c9 c2 9e 17 87 8c e0 b0 8d a1 6b | ba 4a ad 80 c5 c3 8a 0b e0 b7 f3 9f 28 95 a2 e5 | 8c ff 03 f6 be 38 fd 62 d9 0b 1d ea | **parse ISAKMP Message: | initiator SPI: 93 6b 52 05 22 f7 49 81 | responder SPI: af 41 68 25 e9 d1 bc 83 | 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 (00 00 00 00) | length: 332 (00 00 01 4c) | processing version=1.0 packet with exchange type=ISAKMP_XCHG_IDPROT (2) | State DB: found IKEv1 state #1 in MAIN_R2 (find_state_ikev1) | start processing: state #1 connection "westnet-eastnet" from 192.1.2.45:500 (in process_v1_packet() at ikev1.c:1358) | #1 is idle | #1 idle | received encrypted packet from 192.1.2.45:500 | got payload 0x20 (ISAKMP_NEXT_ID) needed: 0x220 opt: 0x20c0 | ***parse ISAKMP Identification Payload: | next payload type: ISAKMP_NEXT_SIG (0x9) | length: 12 (00 0c) | ID type: ID_FQDN (0x2) | DOI specific A: 0 (00) | DOI specific B: 0 (00 00) | obj: | 77 65 73 74 | got payload 0x200 (ISAKMP_NEXT_SIG) needed: 0x200 opt: 0x20c0 | ***parse ISAKMP Signature Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | length: 278 (01 16) | removing 14 bytes of padding | message 'main_inI3_outR3' HASH payload not checked early "westnet-eastnet" #1: Peer ID is ID_FQDN: '@west' | refine_host_connection for IKEv1: starting with "westnet-eastnet" | match_id a=@west | b=@west | results matched | refine_host_connection: checking "westnet-eastnet" against "westnet-eastnet", best=(none) with match=1(id=1(0)/ca=1(0)/reqca=1(0)) | warning: not switching back to template of current instance | no IDr payload received from peer | refine_host_connection: checked "westnet-eastnet" against "westnet-eastnet", now for see if best | get_connection_private_key() using CKAID 61559973d3acef7d3a370e3e82ad92c18a8225f1 to find private key for @east->@west of kind RSA | trying secret PKK_RSA:AQO9bJbr3 | matched | secrets entry for ckaid already exists | connection westnet-eastnet's RSA private key found in NSS DB using CKAID | returning because exact peer id match | offered CA: '%none' | required RSA CA is '%any' | trying all remote certificates public keys for RSA key that matches ID: @west | trying all preloaded keys public keys for RSA key that matches ID: @west | skipping '@east' with wrong ID | trying '@west' issued by CA '%any' | NSS RSA: verifying that decrypted signature matches hash: | 66 c7 03 73 1c 01 8f 4c d9 02 33 63 47 ed d5 c9 | 2a e5 e7 33 51 ae 59 30 73 78 67 0c 86 88 7a 47 | delref pkp@NULL (in try_RSA_signature_v1() at ikev1_main.c:380) | addref pk@0x5556223d0978(1->2) (in try_RSA_signature_v1() at ikev1_main.c:381) | an RSA Sig check passed with *AQOm9dY/4 [preloaded keys] | #1 spent 0.0788 (0.0786) milliseconds in try_all_keys() trying a pubkey "westnet-eastnet" #1: authenticated using RSA with SHA-1 | authentication succeeded | thinking about whether to send my certificate: | I have RSA key: OAKLEY_RSA_SIG 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 I do not have one. | opening output PBS reply packet | **emit ISAKMP Message: | initiator SPI: 93 6b 52 05 22 f7 49 81 | responder SPI: af 41 68 25 e9 d1 bc 83 | next payload type: ISAKMP_NEXT_NONE (0x0) | ISAKMP version: ISAKMP Version 1.0 (rfc2407) (0x10) | exchange type: ISAKMP_XCHG_IDPROT (0x2) | flags: ISAKMP_FLAG_v1_ENCRYPTION (0x1) | Message ID: 0 (00 00 00 00) | next payload chain: saving message location 'ISAKMP Message'.'next payload type' | ***emit ISAKMP Identification Payload (IPsec DOI): | next payload type: ISAKMP_NEXT_NONE (0x0) | ID type: ID_FQDN (0x2) | Protocol ID: ALL (0x0) | port: 0 (00 00) | 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: 65 61 73 74 | emitting length of ISAKMP Identification Payload (IPsec DOI): 12 | get_connection_private_key() using CKAID 61559973d3acef7d3a370e3e82ad92c18a8225f1 to find private key for @east->@west of kind RSA | trying secret PKK_RSA:AQO9bJbr3 | matched | secrets entry for ckaid already exists | connection westnet-eastnet's RSA private key found in NSS DB using CKAID | RSA_sign_hash: Started using NSS | RSA_sign_hash: Ended using NSS | ***emit ISAKMP Signature Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | next payload chain: setting previous 'ISAKMP Identification Payload (IPsec DOI)'.'next payload type' to current ISAKMP Signature Payload (9:ISAKMP_NEXT_SIG) | next payload chain: saving location 'ISAKMP Signature Payload'.'next payload type' in 'reply packet' | emitting 274 raw bytes of SIG_R into ISAKMP Signature Payload | SIG_R: | 0b 1f e9 a9 de 87 30 be 52 34 94 23 3c ee 81 f1 | b9 26 4a 8b 4e 04 e4 ca 25 8a f9 f1 97 1a 2d b0 | 75 72 da a6 79 d2 f2 56 8f cf ec 4f fc 95 f4 fd | 8e 94 94 cc f7 b2 93 b6 03 43 af a4 32 44 eb 3d | 00 15 7d 25 f0 24 da 0b 48 c1 39 60 fd a1 8b 46 | c7 dd f2 c0 8b 2f 46 eb ba 03 fa 52 e1 1e 21 d3 | c3 73 19 27 c4 19 9b a1 c3 6a a4 e5 04 77 58 42 | 34 1b 44 20 25 cb 7f 3c e8 bb a4 36 0d bf ad 53 | ef 84 eb 8b 2e 26 fe 82 a2 0b d9 ff b7 c9 15 45 | c0 c5 f5 44 c2 29 82 10 54 a0 de af a9 b0 bd 3b | 12 5a bb 45 ac 55 4c 7b dc 33 e1 79 e0 2e ce 85 | 55 cb bb 44 93 59 23 fc 95 29 9c 74 79 1b f5 f3 | c8 88 9d 35 95 40 06 9d 07 bc c6 28 84 a6 57 96 | 1d c5 cf ea 2c a0 24 ab 5a c0 bb 6b 1b 4b 29 af | c6 42 f0 cf 3e 0e af 3e 61 b0 1f 28 f8 64 ac f4 | b3 2f e0 66 fa fc df 6d d2 af 9d ff 18 c3 c8 a3 | 9a 04 f1 16 41 0b 4d 15 67 69 e0 01 a4 9a e8 a8 | ef 78 | emitting length of ISAKMP Signature Payload: 278 | emitting 14 zero bytes of encryption padding into ISAKMP Message | no IKEv1 message padding required | emitting length of ISAKMP Message: 332 | FOR_EACH_CONNECTION_... in IKE_SA_established | complete v1 state transition with STF_OK | [RE]START processing: state #1 connection "westnet-eastnet" from 192.1.2.45:500 (in complete_v1_state_transition() at ikev1.c:2510) | #1 is idle | doing_xauth:no, t_xauth_client_done:no | IKEv1: transition from state STATE_MAIN_R2 to state STATE_MAIN_R3 | parent state #1: MAIN_R2(open IKE SA) => MAIN_R3(established IKE SA) | event_already_set, deleting event | state #1 has no .st_event to delete | #1 requesting EVENT_RETRANSMIT-pe@0x5556223d2818 be deleted | libevent_free: delref ptr-libevent@0x5556223d73c8 | free_event_entry: delref EVENT_RETRANSMIT-pe@0x5556223d2818 | #1 STATE_MAIN_R3: retransmits: cleared | sending reply packet to 192.1.2.45:500 (from 192.1.2.23:500) | sending 332 bytes for STATE_MAIN_R2 through eth1 from 192.1.2.23:500 to 192.1.2.45:500 using UDP (for #1) | 93 6b 52 05 22 f7 49 81 af 41 68 25 e9 d1 bc 83 | 05 10 02 01 00 00 00 00 00 00 01 4c 2a 2e 76 38 | 0f 48 39 90 18 37 83 f5 4a 5c f3 24 79 24 78 4c | 69 a2 87 47 a8 b6 44 e8 e7 22 b3 3e b7 4d a0 5b | 37 3e d2 bc 23 2c ec 86 e2 53 a8 15 43 a4 ac 5b | c5 6e e2 bc c0 09 0d 1a 3d 2e 2b da a1 91 8b 42 | 68 e0 ef af 42 83 4e 24 5d f3 08 cc 82 3e 0b 11 | 5a 1c 79 45 c2 22 b8 36 22 f6 85 69 c7 ed 99 3a | 48 85 e6 28 f0 6e 31 f8 5b bb 9c 00 60 cc 64 fe | 51 87 c4 27 7f ae 87 cc 22 4b 70 48 87 cb 81 0b | 79 43 e5 98 17 f9 a0 79 32 35 e9 60 23 a8 03 1d | 38 4d 61 e6 21 cf f7 7d 49 cc 0a 3f 7f 21 e0 d5 | 3b f7 f8 9f 46 60 b7 84 6d 02 c5 c5 e1 d9 2e 6b | 48 8b 73 2a 61 ef ff 40 03 bd 8b a7 cc ed 68 b1 | 66 05 73 0a b2 05 12 bd 01 83 1d d9 6b c3 48 f5 | 33 56 f9 c0 f5 41 b8 a5 8d 46 59 94 0d 53 8d e0 | f9 97 fd 28 2d 26 63 89 93 73 27 ff a8 6e 83 01 | fe 84 e3 7f fb 5d 07 7d 63 d8 36 65 22 a2 c9 22 | ea ea 33 91 13 a2 98 05 d8 67 b3 2f 87 a9 69 7a | c0 ce 5d 30 14 67 d5 f3 b4 7f d7 65 ca a3 a9 81 | 6d 3e 65 dc 64 a5 94 3e 71 8c 8e a6 | !event_already_set at reschedule | event_schedule: newref EVENT_SA_REPLACE-pe@0x5556223d3ae8 | inserting event EVENT_SA_REPLACE, timeout in 3330 seconds for #1 | libevent_malloc: newref ptr-libevent@0x7fabfc006108 size 128 | pstats #1 ikev1.isakmp established "westnet-eastnet" #1: IKE SA established {auth=RSA_SIG cipher=AES_CBC_256 integ=HMAC_SHA2_256 group=MODP2048} | 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 | releasing #1's fd-fd@(nil) because IKEv1 transitions finished | delref fd@NULL (in complete_v1_state_transition() at ikev1.c:2945) | delref fd@NULL (in complete_v1_state_transition() at ikev1.c:2945) | #1 spent 6.93 (9.84) milliseconds | #1 spent 7.1 (10) milliseconds in process_packet_tail() | stop processing: state #1 connection "westnet-eastnet" from 192.1.2.45:500 (in process_md() at demux.c:287) | delref mdp@0x5556223d7808(1->0) (in handle_packet_cb() at demux.c:318) | delref logger@0x5556223c4128(1->0) (in handle_packet_cb() at demux.c:318) | delref fd@NULL (in free_logger() at log.c:853) | delref fd@NULL (in free_logger() at log.c:854) | spent 7.31 (10.2) milliseconds in handle_packet_cb() reading and processing packet | spent 0.00219 (0.00217) milliseconds in udp_read_packet() calling check_incoming_msg_errqueue() | newref struct msg_digest@0x5556223d7808(0->1) (in read_message() at demux.c:103) | newref alloc logger@0x5556223d2818(0->1) (in read_message() at demux.c:103) | *received 476 bytes from 192.1.2.45:500 on eth1 192.1.2.23:500 using UDP | 93 6b 52 05 22 f7 49 81 af 41 68 25 e9 d1 bc 83 | 08 10 20 01 90 0e d2 74 00 00 01 dc d5 ec 0a 54 | 41 e0 d0 2c a8 3e 85 70 85 af 43 6c 04 9d 5c 79 | 5f ef 03 90 fc 6b ad 14 dd 8d ce 31 a4 1a 59 d9 | 62 b4 cc 16 cf ca cf b0 77 ad d4 fd b2 83 5d 0d | 85 8d 75 09 bd 21 c8 64 03 d0 79 cc e2 d6 ad 3d | 89 12 58 6d 20 92 02 ac 45 49 1e d5 3f 47 ad 21 | fa d5 94 5a d4 41 04 c2 7e 01 55 3b 9d 4c e3 73 | 7f 96 7c b3 ec d8 f8 3a 1f 73 b4 e6 38 51 52 96 | 29 40 6a 81 e1 98 48 f1 6b ba ad 99 a9 8e 87 33 | a8 f3 bc e2 93 8f 80 a3 3a dd 81 02 0c f3 75 58 | b4 85 c7 22 c7 18 28 7c e0 57 fe bf c5 d3 c9 2c | cd 0e 5b 3e a7 b5 b3 d6 55 a7 78 61 b4 d5 7b 40 | 00 5d 56 41 d3 63 97 59 2c f3 52 7b 16 e7 d5 fe | 0c 9f c2 ee 0d fc 4c bd 4c e6 0f 3d 65 7b f1 bc | d7 f8 b6 fc 12 b8 79 27 55 5f dd 6f c5 1e c8 28 | c6 9a 74 c4 b6 30 85 31 e4 0b 8a 44 0d 4e 99 81 | d1 73 f0 4e 5e c2 9e ae 53 21 1d 32 ca 02 df c8 | 06 3d 6d 21 96 7c 1c 63 39 47 63 ac ce 0f eb bd | b1 b7 17 86 f0 06 8e 9c d7 a3 e7 ec fd 95 83 40 | cf 54 c1 65 a0 08 bb 08 56 60 d9 fa 4a 40 58 af | 98 4d 25 ad 77 df ba 24 eb 26 c2 18 b1 72 85 5f | 27 2c 3d 98 93 1c c4 dc 36 86 8b 7b cb 3c 3a 80 | e4 0d f3 b8 1c 40 8c 91 c2 0f 1a f4 6d 99 df d5 | 7e 6b 39 39 3f f2 75 b4 1d c1 e0 83 de cc f5 43 | 9b 94 04 fe 82 5e cf 4d e7 a2 75 18 4a 06 31 db | 81 88 4f 08 d1 2a 0f 29 ec be d2 f6 c4 eb e7 1e | a9 ae 48 a5 4c aa 31 46 13 f2 7c 1b e8 24 a4 a4 | 13 9d 19 5a bc 21 3b 01 86 fb 9d 2c e7 12 e5 c5 | 4b 56 6c 2a 04 a0 99 74 d7 45 e4 e8 | **parse ISAKMP Message: | initiator SPI: 93 6b 52 05 22 f7 49 81 | responder SPI: af 41 68 25 e9 d1 bc 83 | 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: 2416890484 (90 0e d2 74) | length: 476 (00 00 01 dc) | processing version=1.0 packet with exchange type=ISAKMP_XCHG_QUICK (32) | State DB: IKEv1 state not found (find_state_ikev1) | State DB: found IKEv1 state #1 in MAIN_R3 (find_state_ikev1) | start processing: state #1 connection "westnet-eastnet" from 192.1.2.45:500 (in process_v1_packet() at ikev1.c:1499) | #1 is idle | #1 idle | received encrypted packet from 192.1.2.45:500 | got payload 0x100 (ISAKMP_NEXT_HASH) needed: 0x502 opt: 0x200030 | ***parse ISAKMP Hash Payload: | next payload type: ISAKMP_NEXT_SA (0x1) | length: 36 (00 24) | got payload 0x2 (ISAKMP_NEXT_SA) needed: 0x402 opt: 0x200030 | ***parse ISAKMP Security Association Payload: | next payload type: ISAKMP_NEXT_NONCE (0xa) | length: 84 (00 54) | 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 (00 24) | got payload 0x10 (ISAKMP_NEXT_KE) needed: 0x0 opt: 0x200030 | ***parse ISAKMP Key Exchange Payload: | next payload type: ISAKMP_NEXT_ID (0x5) | length: 260 (01 04) | 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 (00 10) | ID type: ID_IPV4_ADDR_SUBNET (0x4) | Protocol ID: ALL (0x0) | port: 0 (00 00) | 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 (00 10) | ID type: ID_IPV4_ADDR_SUBNET (0x4) | Protocol ID: ALL (0x0) | port: 0 (00 00) | obj: | c0 00 02 00 ff ff ff 00 | quick_inI1_outR1 HASH(1): | ef 0d 74 a4 4f 28 71 a6 6b 6e fa b3 45 d9 a2 41 | 96 54 93 16 b6 1f 9d d7 c0 13 c9 8b 7f 6a 15 33 | received 'quick_inI1_outR1' message HASH(1) data ok | parsing 4 raw bytes of ISAKMP Identification Payload (IPsec DOI) into ID address | ID address | c0 00 01 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.1.0/24 | peer client protocol/port is 0/0 | parsing 4 raw bytes of ISAKMP Identification Payload (IPsec DOI) into ID address | ID address | c0 00 02 00 | parsing 4 raw bytes of ISAKMP Identification Payload (IPsec DOI) into ID mask | ID mask | ff ff ff 00 | our client is subnet 192.0.2.0/24 | our client protocol/port is 0/0 "westnet-eastnet" #1: the peer proposed: 192.0.2.0/24:0/0 -> 192.0.1.0/24:0/0 | find_client_connection starting with westnet-eastnet | looking for 192.0.2.0/24:0:0/0 -> 192.0.1.0/24:0:0/0 | concrete checking against sr#0 192.0.2.0/24:0 -> 192.0.1.0/24:0 | match_id a=@west | b=@west | results matched | fc_try trying westnet-eastnet:192.0.2.0/24:0:0/0 -> 192.0.1.0/24:0:0/0 vs westnet-eastnet:192.0.2.0/24:0:0/0 -> 192.0.1.0/24:0:0/0 | fc_try concluding with westnet-eastnet [129] | fc_try westnet-eastnet gives westnet-eastnet | concluding with d = westnet-eastnet | client: yes port wildcard: no virtual: no | newref alloc logger@0x5556223d3c88(0->1) (in new_state() at state.c:576) | addref fd@NULL (in new_state() at state.c:577) | creating state object #2 at 0x5556223dc398 | State DB: adding IKEv1 state #2 in UNDEFINED | pstats #2 ikev1.ipsec started | duplicating state object #1 "westnet-eastnet" as #2 for IPSEC SA | #2 setting local endpoint to 192.1.2.23:500 from #1.st_localport (in duplicate_state() at state.c:1581) | suspend processing: state #1 connection "westnet-eastnet" from 192.1.2.45:500 (in quick_inI1_outR1_tail() at ikev1_quick.c:1187) | start processing: state #2 connection "westnet-eastnet" from 192.1.2.45:500 (in quick_inI1_outR1_tail() at ikev1_quick.c:1187) | switching IKEv1 MD.ST from IKE #1 MAIN_R3 to CHILD #2 UNDEFINED (in quick_inI1_outR1_tail() at ikev1_quick.c:1188) | child state #2: UNDEFINED(ignore) => QUICK_R0(established CHILD SA) | ****parse IPsec DOI SIT: | IPsec DOI SIT: SIT_IDENTITY_ONLY (0x1) | ****parse ISAKMP Proposal Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | length: 72 (00 48) | proposal number: 0 (00) | protocol ID: PROTO_IPSEC_ESP (0x3) | SPI size: 4 (04) | number of transforms: 2 (02) | parsing 4 raw bytes of ISAKMP Proposal Payload into SPI | SPI | b2 4a ae 73 | *****parse ISAKMP Transform Payload (ESP): | next payload type: ISAKMP_NEXT_T (0x3) | length: 32 (00 20) | ESP transform number: 0 (00) | ESP transform ID: ESP_AES (0xc) | ******parse ISAKMP IPsec DOI attribute: | af+type: AF+GROUP_DESCRIPTION (0x8003) | length/value: 14 (00 0e) | [14 is OAKLEY_GROUP_MODP2048] | ******parse ISAKMP IPsec DOI attribute: | af+type: AF+ENCAPSULATION_MODE (0x8004) | length/value: 1 (00 01) | [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 (00 01) | [1 is SA_LIFE_TYPE_SECONDS] | ******parse ISAKMP IPsec DOI attribute: | af+type: AF+SA_LIFE_DURATION (variable length) (0x8002) | length/value: 28800 (70 80) | ******parse ISAKMP IPsec DOI attribute: | af+type: AF+AUTH_ALGORITHM (0x8005) | length/value: 2 (00 02) | [2 is AUTH_ALGORITHM_HMAC_SHA1] | ******parse ISAKMP IPsec DOI attribute: | af+type: AF+KEY_LENGTH (0x8006) | length/value: 128 (00 80) | ESP IPsec Transform verified unconditionally; no alg_info to check against | addref fd@NULL (in clone_logger() at log.c:809) | addref fd@NULL (in clone_logger() at log.c:810) | newref clone logger@0x5556223d31b8(0->1) (in clone_logger() at log.c:817) | job 3 for #2: quick_outI1 KE (build KE and nonce): adding job to queue | state #2 has no .st_event to delete | #2 STATE_QUICK_R0: retransmits: cleared | event_schedule: newref EVENT_CRYPTO_TIMEOUT-pe@0x5556223c4208 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #2 | libevent_malloc: newref ptr-libevent@0x5556223d73c8 size 128 | complete v1 state transition with STF_SUSPEND | [RE]START processing: state #2 connection "westnet-eastnet" from 192.1.2.45:500 (in complete_v1_state_transition() at ikev1.c:2489) | suspending state #2 and saving MD 0x5556223d7808 | addref md@0x5556223d7808(1->2) (in complete_v1_state_transition() at ikev1.c:2497) | #2 is busy; has suspended MD 0x5556223d7808 | #1 spent 0.257 (0.272) milliseconds in process_packet_tail() | stop processing: state #2 connection "westnet-eastnet" from 192.1.2.45:500 (in process_md() at demux.c:287) | delref mdp@0x5556223d7808(2->1) (in handle_packet_cb() at demux.c:318) | spent 0.501 (0.516) milliseconds in handle_packet_cb() reading and processing packet | job 3 for #2: quick_outI1 KE (build KE and nonce): helper 4 starting job | "westnet-eastnet" #2: spent 1.4 (2.72) milliseconds in helper 4 processing job 3 for state #2: quick_outI1 KE (pcr) | job 3 for #2: quick_outI1 KE (build KE and nonce): helper thread 4 sending result back to state | scheduling resume sending helper answer back to state for #2 | libevent_malloc: newref ptr-libevent@0x7fabf8008ee8 size 128 | libevent_realloc: delref ptr-libevent@0x5556223929b8 | libevent_realloc: newref ptr-libevent@0x5556223d2e98 size 128 | helper thread 4 has nothing to do | processing resume sending helper answer back to state for #2 | start processing: state #2 connection "westnet-eastnet" from 192.1.2.45:500 (in resume_handler() at server.c:641) | unsuspending #2 MD 0x5556223d7808 | job 3 for #2: quick_outI1 KE (build KE and nonce): processing response from helper 4 | job 3 for #2: quick_outI1 KE (build KE and nonce): calling continuation function 0x5556209acfe7 | quick_inI1_outR1_cryptocontinue1 for #2: calculated ke+nonce, calculating DH | DH secret MODP2048@0x7fabf80052a8: transferring ownership from helper KE to state #2 | lsw_get_secret() using IDs for @east->@west of kind PKK_PSK | line 0: key type PKK_PSK(@east) to type PKK_RSA | concluding with best_match=000 best=(nil) (lineno=-1) | no PreShared Key Found | DH secret MODP2048@0x7fabf80052a8: transferring ownership from state #2 to helper IKEv1 DH | addref fd@NULL (in clone_logger() at log.c:809) | addref fd@NULL (in clone_logger() at log.c:810) | newref clone logger@0x5556223c4128(0->1) (in clone_logger() at log.c:817) | job 4 for #2: quick outR1 DH (compute dh (V1 Phase 2 PFS)): adding job to queue | state #2 deleting .st_event EVENT_CRYPTO_TIMEOUT | libevent_free: delref ptr-libevent@0x5556223d73c8 | free_event_entry: delref EVENT_CRYPTO_TIMEOUT-pe@0x5556223c4208 | #2 STATE_QUICK_R0: retransmits: cleared | event_schedule: newref EVENT_CRYPTO_TIMEOUT-pe@0x5556223d2f48 | inserting event EVENT_CRYPTO_TIMEOUT, timeout in 60 seconds for #2 | libevent_malloc: newref ptr-libevent@0x5556223d73c8 size 128 | suspending state #2 and saving MD 0x5556223d7808 | addref md@0x5556223d7808(1->2) (in quick_inI1_outR1_continue1() at ikev1_quick.c:1294) | #2 is busy; has suspended MD 0x5556223d7808 | job 4 for #2: quick outR1 DH (compute dh (V1 Phase 2 PFS)): helper 5 starting job | delref logger@0x5556223d31b8(1->0) (in handle_helper_answer() at pluto_crypt.c:658) | delref fd@NULL (in free_logger() at log.c:853) | delref fd@NULL (in free_logger() at log.c:854) | resume sending helper answer back to state for #2 suppresed complete_v1_state_transition() | delref mdp@0x5556223d7808(2->1) (in resume_handler() at server.c:743) | #2 spent 0.11 (0.171) milliseconds in resume sending helper answer back to state | stop processing: state #2 connection "westnet-eastnet" from 192.1.2.45:500 (in resume_handler() at server.c:745) | libevent_free: delref ptr-libevent@0x7fabf8008ee8 | "westnet-eastnet" #2: spent 0.628 (0.686) milliseconds in helper 5 processing job 4 for state #2: quick outR1 DH (pcr) | job 4 for #2: quick outR1 DH (compute dh (V1 Phase 2 PFS)): helper thread 5 sending result back to state | scheduling resume sending helper answer back to state for #2 | libevent_malloc: newref ptr-libevent@0x7fabec001fb8 size 128 | helper thread 5 has nothing to do | processing resume sending helper answer back to state for #2 | start processing: state #2 connection "westnet-eastnet" from 192.1.2.45:500 (in resume_handler() at server.c:641) | unsuspending #2 MD 0x5556223d7808 | job 4 for #2: quick outR1 DH (compute dh (V1 Phase 2 PFS)): processing response from helper 5 | job 4 for #2: quick outR1 DH (compute dh (V1 Phase 2 PFS)): calling continuation function 0x5556209acfe7 | quick_inI1_outR1_cryptocontinue2 for #2: calculated DH, sending R1 | opening output PBS reply packet | **emit ISAKMP Message: | initiator SPI: 93 6b 52 05 22 f7 49 81 | responder SPI: af 41 68 25 e9 d1 bc 83 | 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: 2416890484 (90 0e d2 74) | 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 32 zero bytes of HASH DATA into ISAKMP Hash Payload | emitting length of ISAKMP Hash Payload: 36 | ***emit ISAKMP Security Association Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | DOI: ISAKMP_DOI_IPSEC (0x1) | next payload chain: setting previous 'ISAKMP Hash Payload'.'next payload type' to current ISAKMP Security Association Payload (1:ISAKMP_NEXT_SA) | next payload chain: saving location 'ISAKMP Security Association Payload'.'next payload type' in 'reply packet' | ****parse IPsec DOI SIT: | IPsec DOI SIT: SIT_IDENTITY_ONLY (0x1) | ****parse ISAKMP Proposal Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | length: 72 (00 48) | proposal number: 0 (00) | protocol ID: PROTO_IPSEC_ESP (0x3) | SPI size: 4 (04) | number of transforms: 2 (02) | parsing 4 raw bytes of ISAKMP Proposal Payload into SPI | SPI | b2 4a ae 73 | *****parse ISAKMP Transform Payload (ESP): | next payload type: ISAKMP_NEXT_T (0x3) | length: 32 (00 20) | ESP transform number: 0 (00) | ESP transform ID: ESP_AES (0xc) | ******parse ISAKMP IPsec DOI attribute: | af+type: AF+GROUP_DESCRIPTION (0x8003) | length/value: 14 (00 0e) | [14 is OAKLEY_GROUP_MODP2048] | ******parse ISAKMP IPsec DOI attribute: | af+type: AF+ENCAPSULATION_MODE (0x8004) | length/value: 1 (00 01) | [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 (00 01) | [1 is SA_LIFE_TYPE_SECONDS] | ******parse ISAKMP IPsec DOI attribute: | af+type: AF+SA_LIFE_DURATION (variable length) (0x8002) | length/value: 28800 (70 80) | ******parse ISAKMP IPsec DOI attribute: | af+type: AF+AUTH_ALGORITHM (0x8005) | length/value: 2 (00 02) | [2 is AUTH_ALGORITHM_HMAC_SHA1] | ******parse ISAKMP IPsec DOI attribute: | af+type: AF+KEY_LENGTH (0x8006) | length/value: 128 (00 80) | ESP IPsec Transform verified unconditionally; no alg_info to check against | ****emit IPsec DOI SIT: | IPsec DOI SIT: SIT_IDENTITY_ONLY (0x1) | ****emit ISAKMP Proposal Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | proposal number: 0 (00) | protocol ID: PROTO_IPSEC_ESP (0x3) | SPI size: 4 (04) | number of transforms: 1 (01) | last substructure: saving location 'ISAKMP Security Association Payload'.'ISAKMP Proposal Payload'.'next payload type' | netlink_get_spi: allocated 0x596c7892 for esp.0@192.1.2.23 | emitting 4 raw bytes of SPI into ISAKMP Proposal Payload | SPI: 59 6c 78 92 | *****emit ISAKMP Transform Payload (ESP): | next payload type: ISAKMP_NEXT_NONE (0x0) | ESP transform number: 0 (00) | ESP transform ID: ESP_AES (0xc) | last substructure: saving location 'ISAKMP Proposal Payload'.'ISAKMP Transform Payload (ESP)'.'next payload type' | emitting 24 raw bytes of attributes into ISAKMP Transform Payload (ESP) | attributes: | 80 03 00 0e 80 04 00 01 80 01 00 01 80 02 70 80 | 80 05 00 02 80 06 00 80 | emitting length of ISAKMP Transform Payload (ESP): 32 | emitting length of ISAKMP Proposal Payload: 44 | last substructure: checking 'ISAKMP Proposal Payload'.'ISAKMP Transform Payload (ESP)'.'next payload type' is 0 | emitting length of ISAKMP Security Association Payload: 56 | last substructure: checking 'ISAKMP Security Association Payload'.'ISAKMP Proposal Payload'.'next payload type' is 0 "westnet-eastnet" #2: responding to Quick Mode proposal {msgid:900ed274} "westnet-eastnet" #2: us: 192.0.2.0/24===192.1.2.23<192.1.2.23>[@east] "westnet-eastnet" #2: them: 192.1.2.45<192.1.2.45>[@west]===192.0.1.0/24 | ***emit ISAKMP Nonce Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | next payload chain: setting previous 'ISAKMP Security Association Payload'.'next payload type' to current ISAKMP Nonce Payload (10:ISAKMP_NEXT_NONCE) | next payload chain: saving location 'ISAKMP Nonce Payload'.'next payload type' in 'reply packet' | emitting 32 raw bytes of Nr into ISAKMP Nonce Payload | Nr: | 25 8d 15 b2 83 49 01 b2 1e 74 d4 55 f0 79 c3 19 | 59 d7 2a 32 bb c7 ce ea 48 bb a2 a4 45 4c fb e2 | emitting length of ISAKMP Nonce Payload: 36 | ***emit ISAKMP Key Exchange Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | 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 256 raw bytes of keyex value into ISAKMP Key Exchange Payload | keyex value: | 4e e8 e2 de ad 4f 3b a1 3e b2 e3 09 9e 6f fb dc | b9 da 68 77 01 81 15 ec bf 9b 60 71 72 e1 4a f2 | d5 0d b1 fb 5f 06 93 c1 3b 83 47 c6 4f 84 c4 b5 | d6 22 af ba 0f ea 5b 6b f2 a2 51 3e b8 92 5f b3 | 70 64 f3 4e 6a 53 b2 71 20 a1 51 66 a3 6e ac ed | 65 91 15 cc 3b 9e 10 68 97 c6 92 78 d0 6d c3 8a | 41 eb b5 86 79 8d 1a ae 85 c5 12 56 9e 54 4e 55 | 52 4b 9a bc f7 96 92 1c a9 39 5d 88 43 81 65 e9 | 33 88 f5 43 04 65 f0 ee ee 49 c3 88 8c 51 22 0a | a7 2a 19 99 8d 72 3a a8 c3 e0 94 af 70 1f 11 30 | 94 68 84 1e da eb a2 8a da a6 40 2d 21 1e 95 cd | c7 ec 09 fc 79 72 76 00 95 82 6d 71 77 19 b3 c7 | 75 a3 61 88 8a 24 1c 27 e3 54 0a 25 48 e6 9e 24 | 49 2c 34 e7 57 1b f4 4b 19 76 40 50 a2 52 13 e2 | dc 6a 44 c0 82 fc b2 59 46 54 49 9e da 37 51 e8 | fe 58 68 77 6a d9 a8 b5 f1 00 5f f7 73 b6 2e 75 | emitting length of ISAKMP Key Exchange Payload: 260 | DH secret MODP2048@0x7fabf80052a8: transferring ownership from helper IKEv1 DH to state #2 | ***emit ISAKMP Identification Payload (IPsec DOI): | next payload type: ISAKMP_NEXT_NONE (0x0) | ID type: ID_IPV4_ADDR_SUBNET (0x4) | Protocol ID: ALL (0x0) | port: 0 (00 00) | 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 8 raw bytes of ID body into ISAKMP Identification Payload (IPsec DOI) | ID body: c0 00 01 00 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: ALL (0x0) | port: 0 (00 00) | next payload chain: setting previous 'ISAKMP Identification Payload (IPsec DOI)'.'next payload type' to current ISAKMP Identification Payload (IPsec DOI) (5:ISAKMP_NEXT_ID) | next payload chain: saving location 'ISAKMP Identification Payload (IPsec DOI)'.'next payload type' in 'reply packet' | emitting 8 raw bytes of ID body into ISAKMP Identification Payload (IPsec DOI) | ID body: c0 00 02 00 ff ff ff 00 | emitting length of ISAKMP Identification Payload (IPsec DOI): 16 | quick inR1 outI2 HASH(2): | 09 30 97 23 89 e6 c0 66 ee d7 d2 fb 2a fe 15 45 | 07 fc 9b 49 c0 97 aa e2 8c c6 f4 5c a3 14 41 df | compute_proto_keymat: needed_len (after ESP enc)=16 | compute_proto_keymat: needed_len (after ESP auth)=36 | FOR_EACH_CONNECTION_... in route_owner | conn westnet-eastnet mark 0/00000000, 0/00000000 vs | conn westnet-eastnet mark 0/00000000, 0/00000000 | route owner of "westnet-eastnet" unrouted: NULL | install_inbound_ipsec_sa() checking if we can route | could_route called for westnet-eastnet; kind=CK_PERMANENT that.has_client=yes oppo=no this.host_port=500 | FOR_EACH_CONNECTION_... in route_owner | conn westnet-eastnet mark 0/00000000, 0/00000000 vs | conn westnet-eastnet mark 0/00000000, 0/00000000 | route owner of "westnet-eastnet" unrouted: NULL; eroute owner: NULL | routing is easy, or has resolvable near-conflict | checking if this is a replacement state | st=0x5556223dc398 ost=(nil) st->serialno=#2 ost->serialno=#0 | installing outgoing SA now as ref_peer=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 'westnet-eastnet' not available on interface eth1 | netlink: enabling tunnel mode | XFRM: adding IPsec SA with reqid 16389 | 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.b24aae73@192.1.2.45 included non-error error | setup_half_ipsec_sa() is installing inbound eroute? inbound=0 owner=#0 mode=1 | outgoing SA has ref_peer=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 'westnet-eastnet' not available on interface eth1 | netlink: enabling tunnel mode | XFRM: adding IPsec SA with reqid 16389 | 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.596c7892@192.1.2.23 included non-error error | setup_half_ipsec_sa() is installing inbound eroute? inbound=1 owner=#0 mode=1 | setup_half_ipsec_sa() is installing inbound eroute | setup_half_ipsec_sa() before proto 50 | setup_half_ipsec_sa() after proto 50 | setup_half_ipsec_sa() calling raw_eroute backwards (i.e., inbound) | priority calculation of connection "westnet-eastnet" is 2084814 (0x1fcfce) | add inbound eroute 192.0.1.0/24:0 --0-> 192.0.2.0/24:0 => tun.10000@192.1.2.23 using reqid 16389 (raw_eroute) proto=50 | IPsec SA SPD priority set to 2084814 | raw_eroute result=success | emitting 12 zero bytes of encryption padding into ISAKMP Message | no IKEv1 message padding required | emitting length of ISAKMP Message: 460 | finished processing quick inI1 | complete v1 state transition with STF_OK | [RE]START processing: state #2 connection "westnet-eastnet" from 192.1.2.45:500 (in complete_v1_state_transition() at ikev1.c:2510) | #2 is idle | doing_xauth:no, t_xauth_client_done:no | IKEv1: transition from state STATE_QUICK_R0 to state STATE_QUICK_R1 | child state #2: QUICK_R0(established CHILD SA) => QUICK_R1(established CHILD SA) | event_already_set, deleting event | state #2 deleting .st_event EVENT_CRYPTO_TIMEOUT | libevent_free: delref ptr-libevent@0x5556223d73c8 | free_event_entry: delref EVENT_CRYPTO_TIMEOUT-pe@0x5556223d2f48 | #2 STATE_QUICK_R1: retransmits: cleared | sending reply packet to 192.1.2.45:500 (from 192.1.2.23:500) | sending 460 bytes for STATE_QUICK_R0 through eth1 from 192.1.2.23:500 to 192.1.2.45:500 using UDP (for #2) | 93 6b 52 05 22 f7 49 81 af 41 68 25 e9 d1 bc 83 | 08 10 20 01 90 0e d2 74 00 00 01 cc 15 1f 51 9c | 2b 1b b6 b5 99 8d e3 e7 4e 29 6d a7 ba ef e9 4b | fe 22 b4 dd 5c 69 cd 74 7c 2b 89 f0 d6 61 50 65 | 57 e7 73 ef cf a8 d0 2f ab 1a c8 65 37 99 8b ba | 31 2d ac 6b d4 25 57 8c 88 4c 9d 49 2e e4 81 fd | 96 2f 62 b1 69 00 ae 41 7a 86 64 36 0b 65 c4 06 | b1 ef 52 39 6a 22 9f c4 0b 6b 74 18 71 87 63 94 | e3 fc b3 90 6d 26 4e cd 09 d4 de 90 d1 01 a9 08 | f4 d6 24 d4 d8 4f 85 43 27 0d 22 98 11 bd 10 15 | 15 99 25 5d 0c 69 d2 a9 98 7c 04 1d 59 a7 0f de | c5 d6 6b 25 38 4f c9 d4 65 83 7f 47 ee 53 32 74 | a1 d5 cf c4 24 4f 66 6e b1 ce 2c 39 35 6b 56 2a | a1 36 ce 8f 97 81 ca d8 f1 8f ca 37 b7 6a a2 07 | 86 4b d8 0c 03 4c fe 9c 9e 52 10 7a 5e 17 21 28 | d1 87 4d 13 e4 b3 a0 90 8f d0 68 ec 4d 8e b4 db | 7b 80 1c 0d b0 e9 ad 22 f9 98 cb c9 e3 4d ea 52 | 19 d5 32 fb 39 eb 35 a3 30 02 25 9d 89 49 f3 ba | 11 4f c5 25 9b e2 64 b4 0b 72 ee ce 23 da fa 2c | 4f a7 6c 26 c6 17 07 99 7b 82 69 63 48 b7 77 e5 | fd 60 82 85 b3 21 b1 76 1b 6a 0f 2e 80 09 f3 ad | b8 68 a2 dd b0 26 9b 35 37 99 4d 7d 0d ee 2e 3a | b7 d7 56 9d 4d cd 20 b3 c9 32 6d e0 43 10 fa b6 | 36 26 11 0d 42 23 37 97 5e 95 7b d8 64 98 16 a7 | 98 64 1f 03 fd d9 e9 ee f8 1e 79 84 1f 4d ae 5d | 8c a6 0c df 80 e5 f9 bb df e5 b6 0a 76 5f 5b c5 | 68 14 73 f8 2c b6 b0 c8 ea 13 16 32 d1 ad 84 1b | 08 a9 63 d3 79 6d 76 46 55 d0 34 ee 68 5f ae 77 | 49 05 1c 89 40 d1 c1 53 88 c7 d4 3f | !event_already_set at reschedule | event_schedule: newref EVENT_RETRANSMIT-pe@0x5556223dd548 | inserting event EVENT_RETRANSMIT, timeout in 0.5 seconds for #2 | libevent_malloc: newref ptr-libevent@0x7fabf8008ee8 size 128 | #2 STATE_QUICK_R1: retransmits: first event in 0.5 seconds; timeout in 60 seconds; limit of 12 retransmits; current time is 744519.629268 | pstats #2 ikev1.ipsec established | NAT-T: encaps is 'auto' "westnet-eastnet" #2: sent Quick Mode reply, inbound IPsec SA installed, expecting confirmation tunnel mode {ESP=>0xb24aae73 <0x596c7892 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 | releasing #2's fd-fd@(nil) because IKEv1 transitions finished | delref fd@NULL (in complete_v1_state_transition() at ikev1.c:2945) | delref fd@NULL (in complete_v1_state_transition() at ikev1.c:2945) | delref logger@0x5556223c4128(1->0) (in handle_helper_answer() at pluto_crypt.c:658) | delref fd@NULL (in free_logger() at log.c:853) | delref fd@NULL (in free_logger() at log.c:854) | resume sending helper answer back to state for #2 suppresed complete_v1_state_transition() | delref mdp@0x5556223d7808(1->0) (in resume_handler() at server.c:743) | delref logger@0x5556223d2818(1->0) (in resume_handler() at server.c:743) | delref fd@NULL (in free_logger() at log.c:853) | delref fd@NULL (in free_logger() at log.c:854) | #2 spent 1.22 (2.38) milliseconds in resume sending helper answer back to state | stop processing: state #2 connection "westnet-eastnet" from 192.1.2.45:500 (in resume_handler() at server.c:745) | libevent_free: delref ptr-libevent@0x7fabec001fb8 | spent 0.0025 (0.00261) milliseconds in udp_read_packet() calling check_incoming_msg_errqueue() | newref struct msg_digest@0x5556223d7808(0->1) (in read_message() at demux.c:103) | newref alloc logger@0x5556223d2f48(0->1) (in read_message() at demux.c:103) | *received 76 bytes from 192.1.2.45:500 on eth1 192.1.2.23:500 using UDP | 93 6b 52 05 22 f7 49 81 af 41 68 25 e9 d1 bc 83 | 08 10 20 01 90 0e d2 74 00 00 00 4c 09 29 e3 e7 | 75 68 ee 06 b0 f0 46 39 31 16 09 65 57 18 cc 5f | 66 d3 bc 3b d5 10 c5 43 25 d3 57 cb 77 c3 83 68 | dc 0c 61 5f b2 bf 4e b6 ab 0e 9f f9 | **parse ISAKMP Message: | initiator SPI: 93 6b 52 05 22 f7 49 81 | responder SPI: af 41 68 25 e9 d1 bc 83 | 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: 2416890484 (90 0e d2 74) | length: 76 (00 00 00 4c) | processing version=1.0 packet with exchange type=ISAKMP_XCHG_QUICK (32) | State DB: found IKEv1 state #2 in QUICK_R1 (find_state_ikev1) | start processing: state #2 connection "westnet-eastnet" from 192.1.2.45:500 (in process_v1_packet() at ikev1.c:1527) | #2 is idle | #2 idle | received encrypted packet from 192.1.2.45:500 | got payload 0x100 (ISAKMP_NEXT_HASH) needed: 0x100 opt: 0x0 | ***parse ISAKMP Hash Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | length: 36 (00 24) | removing 12 bytes of padding | quick_inI2 HASH(3): | 23 b2 3f 35 7c 40 74 60 33 c6 a9 09 1d bf 1b 45 | 81 ed 12 d1 11 f0 72 19 0d be a4 0e 1f 8b 84 70 | received 'quick_inI2' message HASH(3) data ok | install_ipsec_sa() for #2: outbound only | could_route called for westnet-eastnet; kind=CK_PERMANENT that.has_client=yes oppo=no this.host_port=500 | FOR_EACH_CONNECTION_... in route_owner | conn westnet-eastnet mark 0/00000000, 0/00000000 vs | conn westnet-eastnet mark 0/00000000, 0/00000000 | route owner of "westnet-eastnet" unrouted: NULL; eroute owner: NULL | sr for #2: unrouted | route_and_eroute() for proto 0, and source port 0 dest port 0 | FOR_EACH_CONNECTION_... in route_owner | conn westnet-eastnet mark 0/00000000, 0/00000000 vs | conn westnet-eastnet mark 0/00000000, 0/00000000 | route owner of "westnet-eastnet" unrouted: NULL; eroute owner: NULL | route_and_eroute with c: westnet-eastnet (next: none) ero:null esr:{(nil)} ro:null rosr:{(nil)} and state: #2 | priority calculation of connection "westnet-eastnet" is 2084814 (0x1fcfce) | eroute_connection add eroute 192.0.2.0/24:0 --0-> 192.0.1.0/24:0 => tun.0@192.1.2.45 using reqid 16389 (raw_eroute) proto=50 | IPsec SA SPD priority set to 2084814 | raw_eroute result=success | running updown command "ipsec _updown" for verb up | command executing up-client | get_sa_info esp.b24aae73@192.1.2.45 | get_sa_info esp.596c7892@192.1.2.23 | executing up-client: PLUTO_VERB='up-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet' PLUTO_VIRT_INTERFACE='NULL' PLUTO_INTERFACE='eth1' PLUTO_XFRMI_ROUTE='' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLUTO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@west' PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='xfrm' PLUTO_ADDTIME='1604157845' PLUTO_CONN_POLICY='RSASIG+ENCRYPT+TUNNEL+PFS+IKEV1_ALLOW+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' PLUTO_INBYTES='0' PLU... | popen cmd is 1115 chars long | cmd( 0):PLUTO_VERB='up-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet' PL: | cmd( 80):UTO_VIRT_INTERFACE='NULL' PLUTO_INTERFACE='eth1' PLUTO_XFRMI_ROUTE='' PLUTO_NEXT: | cmd( 160):_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLUTO_MY_ID='@east' PLUTO_MY_CLIENT='192: | cmd( 240):.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' : | cmd( 320):PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16388' PLUTO_SA_TYPE='ES: | cmd( 400):P' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@west' PLUTO_PEER_CLIENT='192.0.1.0/24: | cmd( 480):' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO: | cmd( 560):_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='xfrm' PLUTO: | cmd( 640):_ADDTIME='1604157845' PLUTO_CONN_POLICY='RSASIG+ENCRYPT+TUNNEL+PFS+IKEV1_ALLOW+I: | cmd( 720):KE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4: | cmd( 800):' XAUTH_FAILED=0 PLUTO_IS_PEER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAI: | cmd( 880):N_INFO='' PLUTO_PEER_BANNER='' PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_N: | cmd( 960):M_CONFIGURED='0' PLUTO_INBYTES='0' PLUTO_OUTBYTES='0' VTI_IFACE='' VTI_ROUTING=': | cmd(1040):no' VTI_SHARED='no' SPI_IN=0xb24aae73 SPI_OUT=0x596c7892 ipsec _updown 2>&1: | route_and_eroute: firewall_notified: true | running updown command "ipsec _updown" for verb prepare | command executing prepare-client | get_sa_info esp.b24aae73@192.1.2.45 | get_sa_info esp.596c7892@192.1.2.23 | executing prepare-client: PLUTO_VERB='prepare-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet' PLUTO_VIRT_INTERFACE='NULL' PLUTO_INTERFACE='eth1' PLUTO_XFRMI_ROUTE='' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLUTO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@west' PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='xfrm' PLUTO_ADDTIME='1604157845' PLUTO_CONN_POLICY='RSASIG+ENCRYPT+TUNNEL+PFS+IKEV1_ALLOW+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' PLUTO_INBYT... | popen cmd is 1120 chars long | cmd( 0):PLUTO_VERB='prepare-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastne: | cmd( 80):t' PLUTO_VIRT_INTERFACE='NULL' PLUTO_INTERFACE='eth1' PLUTO_XFRMI_ROUTE='' PLUTO: | cmd( 160):_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLUTO_MY_ID='@east' PLUTO_MY_CLIENT: | cmd( 240):='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' PLUTO_MY_CLIENT_MASK='255.255.25: | cmd( 320):5.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16388' PLUTO_SA_TYP: | cmd( 400):E='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@west' PLUTO_PEER_CLIENT='192.0.1: | cmd( 480):.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' : | cmd( 560):PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='xfrm' : | cmd( 640):PLUTO_ADDTIME='1604157845' PLUTO_CONN_POLICY='RSASIG+ENCRYPT+TUNNEL+PFS+IKEV1_AL: | cmd( 720):LOW+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY=: | cmd( 800):'ipv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_: | cmd( 880):DOMAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PL: | cmd( 960):UTO_NM_CONFIGURED='0' PLUTO_INBYTES='0' PLUTO_OUTBYTES='0' VTI_IFACE='' VTI_ROUT: | cmd(1040):ING='no' VTI_SHARED='no' SPI_IN=0xb24aae73 SPI_OUT=0x596c7892 ipsec _updown 2>&1: | running updown command "ipsec _updown" for verb route | command executing route-client | get_sa_info esp.b24aae73@192.1.2.45 | get_sa_info esp.596c7892@192.1.2.23 | executing route-client: PLUTO_VERB='route-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet' PLUTO_VIRT_INTERFACE='NULL' PLUTO_INTERFACE='eth1' PLUTO_XFRMI_ROUTE='' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLUTO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@west' PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='xfrm' PLUTO_ADDTIME='1604157845' PLUTO_CONN_POLICY='RSASIG+ENCRYPT+TUNNEL+PFS+IKEV1_ALLOW+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' PLUTO_INBYTES='... | popen cmd is 1118 chars long | cmd( 0):PLUTO_VERB='route-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet': | cmd( 80): PLUTO_VIRT_INTERFACE='NULL' PLUTO_INTERFACE='eth1' PLUTO_XFRMI_ROUTE='' PLUTO_N: | cmd( 160):EXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLUTO_MY_ID='@east' PLUTO_MY_CLIENT=': | cmd( 240):192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' PLUTO_MY_CLIENT_MASK='255.255.255.: | cmd( 320):0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16388' PLUTO_SA_TYPE=: | cmd( 400):'ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@west' PLUTO_PEER_CLIENT='192.0.1.0: | cmd( 480):/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PL: | cmd( 560):UTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='xfrm' PL: | cmd( 640):UTO_ADDTIME='1604157845' PLUTO_CONN_POLICY='RSASIG+ENCRYPT+TUNNEL+PFS+IKEV1_ALLO: | cmd( 720):W+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='i: | cmd( 800):pv4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DO: | cmd( 880):MAIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUT: | cmd( 960):O_NM_CONFIGURED='0' PLUTO_INBYTES='0' PLUTO_OUTBYTES='0' VTI_IFACE='' VTI_ROUTIN: | cmd(1040):G='no' VTI_SHARED='no' SPI_IN=0xb24aae73 SPI_OUT=0x596c7892 ipsec _updown 2>&1: "westnet-eastnet" #2: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet" #2: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet" #2: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet" #2: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet" #2: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet" #2: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet" #2: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet" #2: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet" #2: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet" #2: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet" #2: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet" #2: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet" #2: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet" #2: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet" #2: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet" #2: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet" #2: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet" #2: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet" #2: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet" #2: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet" #2: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet" #2: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet" #2: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet" #2: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet" #2: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet" #2: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet" #2: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet" #2: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet" #2: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet" #2: route-client output: Error: Peer netns reference is invalid. "westnet-eastnet" #2: route-client output: Error: Peer netns reference is invalid. | route_and_eroute: instance "westnet-eastnet", setting eroute_owner {spd=0x5556223d1aa8,sr=0x5556223d1aa8} to #2 (was #0) (newest_ipsec_sa=#0) | inI2: instance westnet-eastnet[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 "westnet-eastnet" from 192.1.2.45:500 (in complete_v1_state_transition() at ikev1.c:2510) | #2 is idle | doing_xauth:no, t_xauth_client_done:no | IKEv1: transition from state STATE_QUICK_R1 to state STATE_QUICK_R2 | child state #2: QUICK_R1(established CHILD SA) => QUICK_R2(established CHILD SA) | event_already_set, deleting event | state #2 has no .st_event to delete | #2 requesting EVENT_RETRANSMIT-pe@0x5556223dd548 be deleted | libevent_free: delref ptr-libevent@0x7fabf8008ee8 | free_event_entry: delref EVENT_RETRANSMIT-pe@0x5556223dd548 | #2 STATE_QUICK_R2: retransmits: cleared | !event_already_set at reschedule | event_schedule: newref EVENT_SA_REPLACE-pe@0x5556223d2818 | inserting event EVENT_SA_REPLACE, timeout in 28530 seconds for #2 | libevent_malloc: newref ptr-libevent@0x7fabec001fb8 size 128 | pstats #2 ikev1.ipsec established | NAT-T: encaps is 'auto' "westnet-eastnet" #2: IPsec SA established tunnel mode {ESP=>0xb24aae73 <0x596c7892 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 | releasing #2's fd-fd@(nil) because IKEv1 transitions finished | delref fd@NULL (in complete_v1_state_transition() at ikev1.c:2945) | delref fd@NULL (in complete_v1_state_transition() at ikev1.c:2945) | #2 spent 0.978 (104) milliseconds in process_packet_tail() | stop processing: state #2 connection "westnet-eastnet" from 192.1.2.45:500 (in process_md() at demux.c:287) | delref mdp@0x5556223d7808(1->0) (in handle_packet_cb() at demux.c:318) | delref logger@0x5556223d2f48(1->0) (in handle_packet_cb() at demux.c:318) | delref fd@NULL (in free_logger() at log.c:853) | delref fd@NULL (in free_logger() at log.c:854) | spent 1.16 (104) milliseconds in handle_packet_cb() reading and processing packet | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00354 (0.00351) milliseconds in signal handler PLUTO_SIGCHLD | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00209 (0.00209) milliseconds in signal handler PLUTO_SIGCHLD | processing signal PLUTO_SIGCHLD | waitpid returned ECHILD (no child processes left) | spent 0.00202 (0.00202) milliseconds in signal handler PLUTO_SIGCHLD | newref struct fd@0x5556223d3368(0->1) (in whack_handle_cb() at rcv_whack.c:869) | fd_accept: new fd-fd@0x5556223d3368 (in whack_handle_cb() at rcv_whack.c:869) | whack: status | FOR_EACH_CONNECTION_... in show_connections_status | FOR_EACH_CONNECTION_... in show_connections_status | FOR_EACH_STATE_... in show_states (sort_states) | FOR_EACH_STATE_... in sort_states | get_sa_info esp.596c7892@192.1.2.23 | get_sa_info esp.b24aae73@192.1.2.45 | delref fd@0x5556223d3368(1->0) (in whack_handle_cb() at rcv_whack.c:903) | freeref fd-fd@0x5556223d3368 (in whack_handle_cb() at rcv_whack.c:903) | spent 0.403 (0.488) milliseconds in whack | newref struct fd@0x5556223d3f48(0->1) (in whack_handle_cb() at rcv_whack.c:869) | fd_accept: new fd-fd@0x5556223d3f48 (in whack_handle_cb() at rcv_whack.c:869) shutting down | leaking fd-fd@0x5556223d3f48's FD; will be closed when pluto exits (in whack_handle_cb() at rcv_whack.c:889) | delref fd@0x5556223d3f48(1->0) (in whack_handle_cb() at rcv_whack.c:895) | freeref fd-fd@0x5556223d3f48 (in whack_handle_cb() at rcv_whack.c:895) | shutting down helper thread 6 | helper thread 6 exited | shutting down helper thread 7 | helper thread 7 exited | shutting down helper thread 1 | helper thread 1 exited | shutting down helper thread 2 | helper thread 2 exited | shutting down helper thread 3 | helper thread 3 exited | shutting down helper thread 4 | helper thread 4 exited | shutting down helper thread 5 | helper thread 5 exited 7 helper threads shutdown | delref root_certs@NULL (in free_root_certs() at root_certs.c:127) | certs and keys locked by 'free_preshared_secrets' forgetting secrets | certs and keys unlocked by 'free_preshared_secrets' | delref pkp@0x5556223d6338(1->0) (in free_public_keyentry() at secrets.c:1591) | delref pkp@0x5556223d0978(2->1) (in free_public_keyentry() at secrets.c:1591) | deleting states for connection - including all other IPsec SA's of this IKE SA | pass 0 | FOR_EACH_STATE_... in foreach_state_by_connection_func_delete | state #2 | start processing: state #2 connection "westnet-eastnet" from 192.1.2.45:500 (in foreach_state_by_connection_func_delete() at state.c:1406) | delref fd@NULL (in foreach_state_by_connection_func_delete() at state.c:1408) | addref fd@NULL (in foreach_state_by_connection_func_delete() at state.c:1409) | pstats #2 ikev1.ipsec deleted completed | #2 main thread spent 2.31 (106) milliseconds helper thread spent 2.02 (3.4) milliseconds in total | [RE]START processing: state #2 connection "westnet-eastnet" from 192.1.2.45:500 (in delete_state() at state.c:935) | should_send_delete: yes "westnet-eastnet" #2: deleting state (STATE_QUICK_R2) aged 2.068981s and sending notification | child state #2: QUICK_R2(established CHILD SA) => delete | get_sa_info esp.b24aae73@192.1.2.45 | get_sa_info esp.596c7892@192.1.2.23 "westnet-eastnet" #2: ESP traffic information: in=84B out=84B | unsuspending #2 MD (nil) | should_send_delete: yes | #2 send IKEv1 delete notification for STATE_QUICK_R2 | FOR_EACH_STATE_... in find_phase1_state | opening output PBS delete msg | **emit ISAKMP Message: | initiator SPI: 93 6b 52 05 22 f7 49 81 | responder SPI: af 41 68 25 e9 d1 bc 83 | 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: 1553090761 (5c 92 48 c9) | 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 32 zero bytes of HASH DATA into ISAKMP Hash Payload | emitting length of ISAKMP Hash Payload: 36 | ***emit ISAKMP Delete Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | DOI: ISAKMP_DOI_IPSEC (0x1) | protocol ID: 3 (03) | SPI size: 4 (04) | number of SPIs: 1 (00 01) | 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: 59 6c 78 92 | emitting length of ISAKMP Delete Payload: 16 | send delete HASH(1): | bc c7 64 66 50 0a 60 50 b0 23 92 91 f7 0c 66 61 | 0d 25 bb c0 32 7b 99 40 52 bd ef 71 93 b8 28 0b | 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.23:500 to 192.1.2.45:500 using UDP (for #1) | 93 6b 52 05 22 f7 49 81 af 41 68 25 e9 d1 bc 83 | 08 10 05 01 5c 92 48 c9 00 00 00 5c 15 84 b8 7f | 8b 92 14 e4 fd 5b e0 cd 01 2a b9 93 39 15 89 89 | 1d 28 15 fa 3c 91 6b 7f 5a f1 ae d8 a6 02 81 51 | 58 79 cb ff 58 3c 9f 23 60 75 e5 5d 44 8e 2f 49 | 81 ac 6d 81 83 af cc 86 ee d9 db cb | state #2 deleting .st_event EVENT_SA_REPLACE | libevent_free: delref ptr-libevent@0x7fabec001fb8 | free_event_entry: delref EVENT_SA_REPLACE-pe@0x5556223d2818 | #2 STATE_QUICK_R2: retransmits: cleared | running updown command "ipsec _updown" for verb down | command executing down-client | get_sa_info esp.b24aae73@192.1.2.45 | get_sa_info esp.596c7892@192.1.2.23 | executing down-client: PLUTO_VERB='down-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet' PLUTO_VIRT_INTERFACE='NULL' PLUTO_INTERFACE='eth1' PLUTO_XFRMI_ROUTE='' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLUTO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16388' PLUTO_SA_TYPE='ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@west' PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='xfrm' PLUTO_ADDTIME='1604157845' PLUTO_CONN_POLICY='RSASIG+ENCRYPT+TUNNEL+PFS+IKEV1_ALLOW+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' PLUTO_INBYTES='84... | popen cmd is 1119 chars long | cmd( 0):PLUTO_VERB='down-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastnet' : | cmd( 80):PLUTO_VIRT_INTERFACE='NULL' PLUTO_INTERFACE='eth1' PLUTO_XFRMI_ROUTE='' PLUTO_NE: | cmd( 160):XT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLUTO_MY_ID='@east' PLUTO_MY_CLIENT='1: | cmd( 240):92.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' PLUTO_MY_CLIENT_MASK='255.255.255.0: | cmd( 320):' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16388' PLUTO_SA_TYPE=': | cmd( 400):ESP' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@west' PLUTO_PEER_CLIENT='192.0.1.0/: | cmd( 480):24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLU: | cmd( 560):TO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='xfrm' PLU: | cmd( 640):TO_ADDTIME='1604157845' PLUTO_CONN_POLICY='RSASIG+ENCRYPT+TUNNEL+PFS+IKEV1_ALLOW: | cmd( 720):+IKE_FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ip: | cmd( 800):v4' XAUTH_FAILED=0 PLUTO_IS_PEER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOM: | cmd( 880):AIN_INFO='' PLUTO_PEER_BANNER='' PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO: | cmd( 960):_NM_CONFIGURED='0' PLUTO_INBYTES='84' PLUTO_OUTBYTES='84' VTI_IFACE='' VTI_ROUTI: | cmd(1040):NG='no' VTI_SHARED='no' SPI_IN=0xb24aae73 SPI_OUT=0x596c7892 ipsec _updown 2>&1: | shunt_eroute() called for connection 'westnet-eastnet' to 'replace with shunt' for rt_kind 'prospective erouted' using protoports 192.0.2.0/24:0 --0->- 192.0.1.0/24:0 | netlink_shunt_eroute for proto 0, and source 192.0.2.0/24:0 dest 192.0.1.0/24:0 | priority calculation of connection "westnet-eastnet" is 2084814 (0x1fcfce) | IPsec SA SPD priority set to 2084814 | delete esp.b24aae73@192.1.2.45 | XFRM: deleting IPsec SA with reqid 0 | netlink response for Del SA esp.b24aae73@192.1.2.45 included non-error error | priority calculation of connection "westnet-eastnet" is 2084814 (0x1fcfce) | delete inbound eroute 192.0.1.0/24:0 --0-> 192.0.2.0/24:0 => unk.10000@192.1.2.23 using reqid 0 (raw_eroute) proto=50 | raw_eroute result=success | delete esp.596c7892@192.1.2.23 | XFRM: deleting IPsec SA with reqid 0 | netlink response for Del SA esp.596c7892@192.1.2.23 included non-error error | in connection_discard for connection westnet-eastnet | State DB: deleting IKEv1 state #2 in QUICK_R2 | child state #2: QUICK_R2(established CHILD SA) => UNDEFINED(ignore) | releasing #2's fd-fd@(nil) because deleting state | delref fd@NULL (in delete_state() at state.c:1195) | delref fd@NULL (in delete_state() at state.c:1195) | delref pkp@NULL (in delete_state() at state.c:1202) | stop processing: state #2 from 192.1.2.45:500 (in delete_state() at state.c:1239) | delref logger@0x5556223d3c88(1->0) (in delete_state() at state.c:1306) | delref fd@NULL (in free_logger() at log.c:853) | delref fd@NULL (in free_logger() at log.c:854) | processing: STOP state #0 (in foreach_state_by_connection_func_delete() at state.c:1411) | state #1 | pass 1 | FOR_EACH_STATE_... in foreach_state_by_connection_func_delete | state #1 | start processing: state #1 connection "westnet-eastnet" from 192.1.2.45:500 (in foreach_state_by_connection_func_delete() at state.c:1406) | delref fd@NULL (in foreach_state_by_connection_func_delete() at state.c:1408) | addref fd@NULL (in foreach_state_by_connection_func_delete() at state.c:1409) | pstats #1 ikev1.isakmp deleted completed | #1 main thread spent 8 (12) milliseconds helper thread spent 2.6 (2.63) milliseconds in total | [RE]START processing: state #1 connection "westnet-eastnet" from 192.1.2.45:500 (in delete_state() at state.c:935) | should_send_delete: yes "westnet-eastnet" #1: deleting state (STATE_MAIN_R3) aged 2.146544s and sending notification | parent state #1: MAIN_R3(established IKE SA) => delete | unsuspending #1 MD (nil) | should_send_delete: yes | #1 send IKEv1 delete notification for STATE_MAIN_R3 | opening output PBS delete msg | **emit ISAKMP Message: | initiator SPI: 93 6b 52 05 22 f7 49 81 | responder SPI: af 41 68 25 e9 d1 bc 83 | 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: 136394810 (08 21 38 3a) | 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 32 zero bytes of HASH DATA into ISAKMP Hash Payload | emitting length of ISAKMP Hash Payload: 36 | ***emit ISAKMP Delete Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | DOI: ISAKMP_DOI_IPSEC (0x1) | protocol ID: 1 (01) | SPI size: 16 (10) | number of SPIs: 1 (00 01) | 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: 93 6b 52 05 22 f7 49 81 | emitting 8 raw bytes of responder SPI into ISAKMP Delete Payload | responder SPI: af 41 68 25 e9 d1 bc 83 | emitting length of ISAKMP Delete Payload: 28 | send delete HASH(1): | fc 58 72 3e db bd 23 60 b7 85 85 57 72 eb 24 d9 | b1 52 ed 8e 30 29 ec be 11 8e aa 84 3e f1 f8 19 | no IKEv1 message padding required | emitting length of ISAKMP Message: 92 | sending 92 bytes for delete notify through eth1 from 192.1.2.23:500 to 192.1.2.45:500 using UDP (for #1) | 93 6b 52 05 22 f7 49 81 af 41 68 25 e9 d1 bc 83 | 08 10 05 01 08 21 38 3a 00 00 00 5c f6 87 ac 81 | 82 9a 94 a6 90 23 e9 81 d7 e5 e5 50 a2 ec be 61 | 40 4f fd ce 03 6f 68 10 b8 2b e7 b6 b2 90 99 d7 | 95 ad 14 8a 3a ec e9 aa 5b 5a 6f 82 30 d5 7e 08 | f6 3a 1e 93 52 4f 01 63 ac 87 90 71 | state #1 deleting .st_event EVENT_SA_REPLACE | libevent_free: delref ptr-libevent@0x7fabfc006108 | free_event_entry: delref EVENT_SA_REPLACE-pe@0x5556223d3ae8 | #1 STATE_MAIN_R3: retransmits: cleared | State DB: IKEv1 state not found (flush_incomplete_children) | in connection_discard for connection westnet-eastnet | State DB: deleting IKEv1 state #1 in MAIN_R3 | parent state #1: MAIN_R3(established IKE SA) => UNDEFINED(ignore) | releasing #1's fd-fd@(nil) because deleting state | delref fd@NULL (in delete_state() at state.c:1195) | delref fd@NULL (in delete_state() at state.c:1195) | delref pkp@0x5556223d0978(1->0) (in delete_state() at state.c:1202) | stop processing: state #1 from 192.1.2.45:500 (in delete_state() at state.c:1239) | delref logger@0x5556223c4198(1->0) (in delete_state() at state.c:1306) | delref fd@NULL (in free_logger() at log.c:853) | delref fd@NULL (in free_logger() at log.c:854) | processing: STOP state #0 (in foreach_state_by_connection_func_delete() at state.c:1411) | shunt_eroute() called for connection 'westnet-eastnet' to 'delete' for rt_kind 'unrouted' using protoports 192.0.2.0/24:0 --0->- 192.0.1.0/24:0 | netlink_shunt_eroute for proto 0, and source 192.0.2.0/24:0 dest 192.0.1.0/24:0 | priority calculation of connection "westnet-eastnet" is 2084814 (0x1fcfce) | priority calculation of connection "westnet-eastnet" is 2084814 (0x1fcfce) | FOR_EACH_CONNECTION_... in route_owner | conn westnet-eastnet mark 0/00000000, 0/00000000 vs | conn westnet-eastnet mark 0/00000000, 0/00000000 | route owner of "westnet-eastnet" 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='westnet-eastnet' PLUTO_VIRT_INTERFACE='NULL' PLUTO_INTERFACE='eth1' PLUTO_XFRMI_ROUTE='' PLUTO_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLUTO_MY_ID='@east' PLUTO_MY_CLIENT='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' PLUTO_MY_CLIENT_MASK='255.255.255.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16388' PLUTO_SA_TYPE='none' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@west' PLUTO_PEER_CLIENT='192.0.1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0' PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='xfrm' PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='RSASIG+ENCRYPT+TUNNEL+PFS+IKEV1_ALLOW+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_RO... | popen cmd is 1061 chars long | cmd( 0):PLUTO_VERB='unroute-client' PLUTO_VERSION='2.0' PLUTO_CONNECTION='westnet-eastne: | cmd( 80):t' PLUTO_VIRT_INTERFACE='NULL' PLUTO_INTERFACE='eth1' PLUTO_XFRMI_ROUTE='' PLUTO: | cmd( 160):_NEXT_HOP='192.1.2.45' PLUTO_ME='192.1.2.23' PLUTO_MY_ID='@east' PLUTO_MY_CLIENT: | cmd( 240):='192.0.2.0/24' PLUTO_MY_CLIENT_NET='192.0.2.0' PLUTO_MY_CLIENT_MASK='255.255.25: | cmd( 320):5.0' PLUTO_MY_PORT='0' PLUTO_MY_PROTOCOL='0' PLUTO_SA_REQID='16388' PLUTO_SA_TYP: | cmd( 400):E='none' PLUTO_PEER='192.1.2.45' PLUTO_PEER_ID='@west' PLUTO_PEER_CLIENT='192.0.: | cmd( 480):1.0/24' PLUTO_PEER_CLIENT_NET='192.0.1.0' PLUTO_PEER_CLIENT_MASK='255.255.255.0': | cmd( 560): PLUTO_PEER_PORT='0' PLUTO_PEER_PROTOCOL='0' PLUTO_PEER_CA='' PLUTO_STACK='xfrm': | cmd( 640): PLUTO_ADDTIME='0' PLUTO_CONN_POLICY='RSASIG+ENCRYPT+TUNNEL+PFS+IKEV1_ALLOW+IKE_: | cmd( 720):FRAG_ALLOW+ESN_NO' PLUTO_CONN_KIND='CK_PERMANENT' PLUTO_CONN_ADDRFAMILY='ipv4' X: | cmd( 800):AUTH_FAILED=0 PLUTO_IS_PEER_CISCO='0' PLUTO_PEER_DNS_INFO='' PLUTO_PEER_DOMAIN_I: | cmd( 880):NFO='' PLUTO_PEER_BANNER='' PLUTO_CFG_SERVER='0' PLUTO_CFG_CLIENT='0' PLUTO_NM_C: | cmd( 960):ONFIGURED='0' VTI_IFACE='' VTI_ROUTING='no' VTI_SHARED='no' SPI_IN=0x0 SPI_OUT=0: | cmd(1040):x0 ipsec _updown 2>&1: unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. unroute-client output: Error: Peer netns reference is invalid. | addref fd@NULL (in clone_logger() at log.c:809) | addref fd@NULL (in clone_logger() at log.c:810) | newref clone logger@0x5556223dd548(0->1) (in clone_logger() at log.c:817) | delref hp@0x5556223d2fb8(1->0) (in delete_oriented_hp() at hostpair.c:360) | flush revival: connection 'westnet-eastnet' wasn't on the list | delref vip@NULL (in discard_connection() at connections.c:262) | delref vip@NULL (in discard_connection() at connections.c:263) | Connection DB: deleting connection $1 | delref logger@0x5556223dd548(1->0) (in delete_connection() at connections.c:214) | delref fd@NULL (in free_logger() at log.c:853) | delref fd@NULL (in free_logger() at log.c:854) | crl fetch request list locked by 'free_crl_fetch' | crl fetch request list unlocked by 'free_crl_fetch' | iface: marking eth1 dead | iface: marking eth0 dead | iface: marking lo dead | updating interfaces - listing interfaces that are going down shutting down interface lo 127.0.0.1:4500 shutting down interface lo 127.0.0.1:500 shutting down interface eth0 192.0.2.254:4500 shutting down interface eth0 192.0.2.254:500 shutting down interface eth1 192.1.2.23:4500 shutting down interface eth1 192.1.2.23:500 | updating interfaces - deleting the dead | FOR_EACH_STATE_... in delete_states_dead_interfaces | libevent_free: delref ptr-libevent@0x5556223ccc38 | delref id@0x5556223d0e08(3->2) (in release_iface_dev() at iface.c:125) | libevent_free: delref ptr-libevent@0x5556223902f8 | delref id@0x5556223d0e08(2->1) (in release_iface_dev() at iface.c:125) | libevent_free: delref ptr-libevent@0x5556223855b8 | delref id@0x5556223d0d38(3->2) (in release_iface_dev() at iface.c:125) | libevent_free: delref ptr-libevent@0x5556223903f8 | delref id@0x5556223d0d38(2->1) (in release_iface_dev() at iface.c:125) | libevent_free: delref ptr-libevent@0x55562238ce18 | delref id@0x5556223d0c48(3->2) (in release_iface_dev() at iface.c:125) | libevent_free: delref ptr-libevent@0x55562238cd68 | delref id@0x5556223d0c48(2->1) (in release_iface_dev() at iface.c:125) | delref id@0x5556223d0c48(1->0) (in release_iface_dev() at iface.c:125) | delref id@0x5556223d0d38(1->0) (in release_iface_dev() at iface.c:125) | delref id@0x5556223d0e08(1->0) (in release_iface_dev() at iface.c:125) | updating interfaces - checking orientation | FOR_EACH_UNORIENTED_CONNECTION_... in check_orientations | libevent_free: delref ptr-libevent@0x5556223ccce8 | free_event_entry: delref EVENT_NULL-pe@0x5556223d01a8 | libevent_free: delref ptr-libevent@0x5556223901f8 | free_event_entry: delref EVENT_NULL-pe@0x5556223ccbc8 | libevent_free: delref ptr-libevent@0x555622390148 | free_event_entry: delref EVENT_NULL-pe@0x5556223caba8 | 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: delref ptr-libevent@0x555622322e68 | signal event handler PLUTO_SIGCHLD uninstalled | libevent_free: delref ptr-libevent@0x555622322688 | signal event handler PLUTO_SIGTERM uninstalled | libevent_free: delref ptr-libevent@0x5556223d03c8 | signal event handler PLUTO_SIGHUP uninstalled | libevent_free: delref ptr-libevent@0x5556223d0608 | signal event handler PLUTO_SIGSYS uninstalled | releasing event base | libevent_free: delref ptr-libevent@0x5556223d04d8 | libevent_free: delref ptr-libevent@0x5556223bf878 | libevent_free: delref ptr-libevent@0x5556223bf828 | libevent_free: delref ptr-libevent@0x5556223d2e98 | libevent_free: delref ptr-libevent@0x5556223bfa28 | libevent_free: delref ptr-libevent@0x5556223c3c48 | libevent_free: delref ptr-libevent@0x5556223c3a58 | libevent_free: delref ptr-libevent@0x5556223bfa68 | libevent_free: delref ptr-libevent@0x5556223c3868 | libevent_free: delref ptr-libevent@0x5556223c3228 | libevent_free: delref ptr-libevent@0x5556223d18b8 | libevent_free: delref ptr-libevent@0x5556223d1878 | libevent_free: delref ptr-libevent@0x5556223d1838 | libevent_free: delref ptr-libevent@0x5556223d17f8 | libevent_free: delref ptr-libevent@0x5556223d17b8 | libevent_free: delref ptr-libevent@0x5556223d1778 | libevent_free: delref ptr-libevent@0x5556223b5ff8 | libevent_free: delref ptr-libevent@0x5556223d0388 | libevent_free: delref ptr-libevent@0x5556223d0348 | libevent_free: delref ptr-libevent@0x5556223c38a8 | libevent_free: delref ptr-libevent@0x5556223d0498 | libevent_free: delref ptr-libevent@0x5556223d0218 | libevent_free: delref ptr-libevent@0x555622392638 | libevent_free: delref ptr-libevent@0x555622391e98 | libevent_free: delref ptr-libevent@0x555622388e98 | releasing global libevent data | libevent_free: delref ptr-libevent@0x5556223921d8 | libevent_free: delref ptr-libevent@0x555622322628 | libevent_free: delref ptr-libevent@0x5556223926b8 leak detective found no leaks