Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CONNECT through HTTP proxy causes 100% CPU load #7589

Closed
zloi-user opened this issue Aug 18, 2021 · 15 comments
Closed

CONNECT through HTTP proxy causes 100% CPU load #7589

zloi-user opened this issue Aug 18, 2021 · 15 comments

Comments

@zloi-user
Copy link

zloi-user commented Aug 18, 2021

#7155 - the problem is not solved, curl still loads the cpu

on version 7.76.1, the problem is not observed, all versions after loading the cpu 100%

while true;do curl --proxy 'http://51.81.82.175:2003' 'https://www.google.com/favicon.ico' -o - >>/dev/null; done
@bagder bagder changed the title on version 7.76.1, the problem is not observed, all versions after loading the cpu 100% HTTP proxy causes 100% CPU load Aug 18, 2021
@bagder bagder changed the title HTTP proxy causes 100% CPU load CONNECT through HTTP proxy causes 100% CPU load Aug 18, 2021
@bagder
Copy link
Member

bagder commented Aug 22, 2021

I cannot reproduce.

@zloi-user
Copy link
Author

zloi-user commented Aug 23, 2021

Open the task dispatcher, and make a few attempts to run curl

while true;do curl --proxy 'http://51.81.82.175:2003' 'https://www.google.com/favicon.ico' -o - >>/dev/null; done

alt text

@bagder
Copy link
Member

bagder commented Aug 23, 2021

That doesn't happen for me.

@jay
Copy link
Member

jay commented Aug 23, 2021

I tried it a few times but it times out.

@ollm
Copy link

ollm commented Aug 27, 2021

I have this same problem using curl with proxies in PHP (curl version 7.78.0), on the command line of the server I have an older version of curl and this problem does not happen (7.29.0).

This problem is exacerbated when the proxy is down, running for several seconds at 100% cpu.

Curl comand line (Version 7.29.0), this works fine and returns the answer immediately.

* About to connect() to proxy es137.nordvpn.com port 89 (#0)
*   Trying 217.138.218.179...
* Connected to es137.nordvpn.com (217.138.218.179) port 89 (#0)
* Establish HTTP proxy tunnel to www.google.com:443
* Proxy auth using Basic with user 'username'
> CONNECT www.google.com:443 HTTP/1.1
> Host: www.google.com:443
> Proxy-Authorization: Basic XXX==
> User-Agent: curl/7.29.0
> Proxy-Connection: Keep-Alive
> 
* Proxy CONNECT aborted
* Connection #0 to host es137.nordvpn.com left intact
curl: (56) Proxy CONNECT aborted

PHP Curl (Version 7.78.0), this hangs for several seconds, with the cpu at 100%, more below I have the output of strace when it is at 100%.

*   Trying 217.138.218.179:89...
* Connected to es137.nordvpn.com (217.138.218.179) port 89 (#0)
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*  CAfile: /etc/pki/tls/certs/ca-bundle.crt
*  CApath: none
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN, server did not agree to a protocol
* Proxy certificate:
*  subject: CN=*.nordvpn.com
*  start date: Aug 12 14:41:29 2020 GMT
*  expire date: Oct  4 10:49:39 2022 GMT
*  subjectAltName: host "es137.nordvpn.com" matched cert's "*.nordvpn.com"
*  issuer: C=BE; O=GlobalSign nv-sa; CN=AlphaSSL CA - SHA256 - G2
*  SSL certificate verify ok.
* allocate connect buffer!
* Establish HTTP proxy tunnel to www.google.com:443
* Proxy auth using Basic with user 'username'
> CONNECT www.google.com:443 HTTP/1.1
Host: www.google.com:443
Proxy-Authorization: Basic XXX==
User-Agent: curl/7.78.0
Proxy-Connection: Keep-Alive

< HTTP/1.1 407 Proxy Authentication Required
< Server: squid
< Mime-Version: 1.0
< Date: Fri, 27 Aug 2021 12:54:20 GMT
< Content-Type: text/html;charset=utf-8
< Content-Length: 5080
< X-Squid-Error: ERR_CACHE_ACCESS_DENIED 0
< Proxy-Authenticate: Basic realm="NordVPN"
* Authentication problem. Ignoring this.
< X-Cache: MISS from es137.nordvpn.com
< X-Cache-Lookup: NONE from es137.nordvpn.com:189
< Connection: close
< 
* Received HTTP code 407 from proxy after CONNECT
* CONNECT phase completed!
* Closing connection 0

PHP curl_errno 56

If I run strace in the PHP script it gets hung in this loop, this loop happens when the proxy works correctly or is down, but when it is down it is much longer, strace with proxy up (4600 lines) and strace with proxy down (375000 lines).

strace

rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fb93130f630}, NULL, 8) = 0
poll([{fd=8, events=POLLOUT}, {fd=6, events=POLLIN}], 2, 1000) = 1 ([{fd=8, revents=POLLOUT}])
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fb93130f630}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fb93130f630}, NULL, 8) = 0
poll([{fd=8, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
read(8, 0x2b3c2a3, 5)                   = -1 EAGAIN (Recurso no disponible temporalmente)
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fb93130f630}, NULL, 8) = 0
poll([{fd=8, events=POLLOUT}, {fd=6, events=POLLIN}], 2, 1000) = 1 ([{fd=8, revents=POLLOUT}])
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fb93130f630}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fb93130f630}, NULL, 8) = 0
poll([{fd=8, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
read(8, 0x2b3c2a3, 5)                   = -1 EAGAIN (Recurso no disponible temporalmente)
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fb93130f630}, NULL, 8) = 0
poll([{fd=8, events=POLLOUT}, {fd=6, events=POLLIN}], 2, 1000) = 1 ([{fd=8, revents=POLLOUT}])
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fb93130f630}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fb93130f630}, NULL, 8) = 0
poll([{fd=8, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
read(8, 0x2b3c2a3, 5)                   = -1 EAGAIN (Recurso no disponible temporalmente)
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fb93130f630}, NULL, 8) = 0
poll([{fd=8, events=POLLOUT}, {fd=6, events=POLLIN}], 2, 1000) = 1 ([{fd=8, revents=POLLOUT}])
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fb93130f630}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fb93130f630}, NULL, 8) = 0
poll([{fd=8, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
read(8, 0x2b3c2a3, 5)                   = -1 EAGAIN (Recurso no disponible temporalmente)
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fb93130f630}, NULL, 8) = 0
poll([{fd=8, events=POLLOUT}, {fd=6, events=POLLIN}], 2, 1000) = 1 ([{fd=8, revents=POLLOUT}])
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fb93130f630}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fb93130f630}, NULL, 8) = 0
poll([{fd=8, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
read(8, 0x2b3c2a3, 5)                   = -1 EAGAIN (Recurso no disponible temporalmente)
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fb93130f630}, NULL, 8) = 0
poll([{fd=8, events=POLLOUT}, {fd=6, events=POLLIN}], 2, 1000) = 1 ([{fd=8, revents=POLLOUT}])
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fb93130f630}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fb93130f630}, NULL, 8) = 0
poll([{fd=8, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
read(8, 0x2b3c2a3, 5)                   = -1 EAGAIN (Recurso no disponible temporalmente)
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fb93130f630}, NULL, 8) = 0
poll([{fd=8, events=POLLOUT}, {fd=6, events=POLLIN}], 2, 1000) = 1 ([{fd=8, revents=POLLOUT}])
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fb93130f630}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fb93130f630}, NULL, 8) = 0
poll([{fd=8, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
read(8, 0x2b3c2a3, 5)                   = -1 EAGAIN (Recurso no disponible temporalmente)
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fb93130f630}, NULL, 8) = 0
poll([{fd=8, events=POLLOUT}, {fd=6, events=POLLIN}], 2, 1000) = 1 ([{fd=8, revents=POLLOUT}])
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fb93130f630}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fb93130f630}, NULL, 8) = 0
poll([{fd=8, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
read(8, 0x2b3c2a3, 5)                   = -1 EAGAIN (Recurso no disponible temporalmente)

@ollm
Copy link

ollm commented Aug 27, 2021

I leave also the strace output of the request part with curl without and with proxy.

Without proxy

socket(AF_INET, SOCK_STREAM, IPPROTO_TCP) = 9
fstat(6, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc7b4e3d000
setsockopt(9, SOL_TCP, TCP_NODELAY, [1], 4) = 0
fcntl(9, F_GETFL)                       = 0x2 (flags O_RDWR)
fcntl(9, F_SETFL, O_RDWR|O_NONBLOCK)    = 0
connect(9, {sa_family=AF_INET, sin_port=htons(443), sin_addr=inet_addr("172.217.20.164")}, 16) = -1 EINPROGRESS (Operación en curso)
poll([{fd=9, events=POLLPRI|POLLOUT|POLLWRNORM}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc7b204e630}, NULL, 8) = 0
poll([{fd=9, events=POLLOUT}, {fd=7, events=POLLIN}], 2, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc7b204e630}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc7b204e630}, NULL, 8) = 0
poll([{fd=9, events=POLLPRI|POLLOUT|POLLWRNORM}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc7b204e630}, NULL, 8) = 0
poll([{fd=9, events=POLLOUT}, {fd=7, events=POLLIN}], 2, 199) = 1 ([{fd=9, revents=POLLOUT}])
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc7b204e630}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc7b204e630}, NULL, 8) = 0
poll([{fd=9, events=POLLPRI|POLLOUT|POLLWRNORM}], 1, 0) = 1 ([{fd=9, revents=POLLOUT|POLLWRNORM}])
getsockopt(9, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
getpeername(9, {sa_family=AF_INET, sin_port=htons(443), sin_addr=inet_addr("172.217.20.164")}, [128->16]) = 0
getsockname(9, {sa_family=AF_INET, sin_port=htons(48186), sin_addr=inet_addr("184.24.41.141")}, [128->16]) = 0
futex(0x7fc7b33820f8, FUTEX_WAKE_PRIVATE, 2147483647) = 0
getrandom("\xfc\x88\x2b\xaa\xd4\xc1\xe5\x3f\xb7\xf0\xc4\x19\x3e\xa1\xf2\x88\x78\x92\xb9\xc3\xdf\x3e\x33\xea\x23\xd0\xd2\xf0\xd3\xeb\x27\x3b", 32, 0) = 32
futex(0x7fc7b33820b4, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7fc7b3615794, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7fc7b3615574, FUTEX_WAKE_PRIVATE, 2147483647) = 0
open("/etc/pki/tls/certs/ca-bundle.crt", O_RDONLY) = 10
fstat(10, {st_mode=S_IFREG|0444, st_size=216090, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc7b4e3c000
read(10, "# ACCVRAIZ1\n-----BEGIN CERTIFICA"..., 4096) = 4096
read(10, "b8EZ6WdmF/9ARP67Jpi6Yb+tmLSbkyU+"..., 4096) = 4096
read(10, "QAwRDELMAkGA1UE\nBhMCVVMxFDASBgNV"..., 4096) = 4096
read(10, "YXpvbjEZMBcGA1UEAxMQQW1hem9uIFJv"..., 4096) = 4096
read(10, "A2gAMGUCMDqLIfG9fhGt0O9Yli/W651+"..., 4096) = 4096
read(10, "IhvcNAQEBBQADggEPADCCAQoCggEBAKM"..., 4096) = 4096
read(10, "n9iB5btb2iUspKdV\ncSQy9sgL8rxq+JO"..., 4096) = 4096
read(10, "S\nESgoA//vU2YApUo0FmZ8/Qmkrp5nGm"..., 4096) = 4096
brk(NULL)                               = 0x1a6a000
brk(0x1a8b000)                          = 0x1a8b000
read(10, "u3sgQiUpWAk2nojkxl8ZEDLXB0AuqLZx"..., 4096) = 4096
read(10, "gu07nM3A6RngatgCdTer9zQoKJHyBApP"..., 4096) = 4096
read(10, "mmerce Root - 2008\n-----BEGIN CE"..., 4096) = 4096
read(10, "q3\nsmPi9WIsgtRqAEFQ8TmDn5XpNpaYb"..., 4096) = 4096
read(10, "RfY2xhc3NfM19jYV8yX2V2XzIwMDku\nY"..., 4096) = 4096
read(10, "d29KOVPt3ibHtX2vK0LRdWLjSisCx1BL"..., 4096) = 4096
read(10, "xMzA4MDExMjAwMDBaFw0zODAxMTUxMjA"..., 4096) = 4096
read(10, "\nMIIGSzCCBDOgAwIBAgIIamg+nFGby1M"..., 4096) = 4096
read(10, "/mIPX64b24D5EI=\n-----END CERTIFI"..., 4096) = 4096
read(10, "2HNjnogQi+dPa2MsCAwEAAaOB\nsDCBrT"..., 4096) = 4096
brk(NULL)                               = 0x1a8b000
brk(0x1aac000)                          = 0x1aac000
read(10, "iG9w0B\nAQEFAAOCAg8AMIICCgKCAgEAs"..., 4096) = 4096
read(10, "QM+NOsROjyBhsS+z8CZDfnWQpJSMHobT"..., 4096) = 4096
read(10, "Auhd\n-----END CERTIFICATE-----\n\n"..., 4096) = 4096
read(10, "tbCyf691DiaI8S0iRHVDsJt/WYC69IaN"..., 4096) = 4096
read(10, "IDIwggIiMA0GCSqGSIb3DQEBAQUAA4IC"..., 4096) = 4096
read(10, "QUFAAOCAQEA1nPnfE920I2/7LqivjTFK"..., 4096) = 4096
read(10, "QUigAZcIN5kZeR1Bonvzce\nMgfYFGM8K"..., 4096) = 4096
read(10, "A7Ugay9qK7HFiH7Eux6w\nwdhFJ2+qN1j"..., 4096) = 4096
brk(NULL)                               = 0x1aac000
brk(0x1acd000)                          = 0x1acd000
read(10, "iE15HrcS3UN4SoqS5tdI1Q+kOilENbgH"..., 4096) = 4096
read(10, "I+XeTRvhEgCIDMb5jREn5Fw9IBehEPCK"..., 4096) = 4096
read(10, "1TPA\nmRGunUHBcnWEvgJBQl9nJEiU0Zs"..., 4096) = 4096
read(10, "com\n-----BEGIN CERTIFICATE-----\n"..., 4096) = 4096
read(10, "WOWyu8Q6qp31IiyBMz2TWuJdGsE7RKlY"..., 4096) = 4096
read(10, "Wh0dHA6Ly9jcmwu\nbmV0c29sc3NsLmNv"..., 4096) = 4096
read(10, "AwZQIwJsdpW9zV\n57LnyAyMjMPdeYwbY"..., 4096) = 4096
read(10, "DlXpY18ls6Wy58yljXrQs8C097Vpl4Kl"..., 4096) = 4096
read(10, "D3n+M\n-----END CERTIFICATE-----\n"..., 4096) = 4096
read(10, "QjDFSlTC9JxUrRtm5gDWv8a4uFJGS3iQ"..., 4096) = 4096
brk(NULL)                               = 0x1acd000
brk(0x1aee000)                          = 0x1aee000
read(10, "MGEwHQYDVR0OBBYEFILRhXMw5zUE044C"..., 4096) = 4096
read(10, "aWduIFJvb3RD\nQTExMIIBIjANBgkqhki"..., 4096) = 4096
read(10, "EBANAV\nOVKxUrO6xVmCxF1SrjpDZYBLx"..., 4096) = 4096
read(10, "N/UhbJCONVrJ0yPr08C+eKxC\nKFhmpUZ"..., 4096) = 4096
read(10, "VVMxJTAjBgNVBAoTHFN0\nYXJmaWVsZCB"..., 4096) = 4096
read(10, "A+k1ZIzUd6+jbqE\nemA8atufK+ze3gE/"..., 4096) = 4096
read(10, "82hVYAUd\nAqSzm1nzHoqvNK38DcLZSBn"..., 4096) = 4096
read(10, "zExNTU5\nNTlaMFExCzAJBgNVBAYTAlRX"..., 4096) = 4096
read(10, "VHRMEBTADAQH/MDkGBGcqBwAE\nMTAvMC"..., 4096) = 4096
read(10, "5F95yIW6MBoNtjG8U+ARDL54dHRHareq"..., 4096) = 4096
brk(NULL)                               = 0x1aee000
brk(0x1b0f000)                          = 0x1b0f000
read(10, "DVQQL\nExNUcnVzdGlzIEZQUyBSb290IE"..., 4096) = 4096
read(10, "hVmUCAwEAAaNCMEAwDgYDVR0PAQH/\nBA"..., 4096) = 4096
read(10, "OIg9IZxIokYesszAKBggqhkjOPQQDAzC"..., 4096) = 4096
read(10, "hGD5WycRtPwW8rtWaoAljQIDAQABo4Gy"..., 4096) = 4096
read(10, "EPADCCAQoCggEBALczuX7IJUqOtdu0KB"..., 4096) = 4096
read(10, "A1UECxMKZW1TaWduIFBLSTElMCMGA1UE"..., 4096) = 4096
read(10, "zL9yZJclNqFwJu/U30rCfSMnZEfl2pSy"..., 4096) = 3098
read(10, "", 4096)                      = 0
close(10)                               = 0
munmap(0x7fc7b4e3c000, 4096)            = 0
brk(NULL)                               = 0x1b0f000
brk(0x1b33000)                          = 0x1b33000
write(9, "\26\3\1\2\0\1\0\1\374\3\3\364 \334ubI\thP\322\312\367\\\360s\231f[\216@\177"..., 517) = 517
read(9, 0x1b12833, 5)                   = -1 EAGAIN (Recurso no disponible temporalmente)
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc7b204e630}, NULL, 8) = 0
poll([{fd=9, events=POLLIN}, {fd=7, events=POLLIN}], 2, 170) = 1 ([{fd=9, revents=POLLIN}])
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc7b204e630}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc7b204e630}, NULL, 8) = 0
poll([{fd=9, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 1 ([{fd=9, revents=POLLIN|POLLRDNORM}])
read(9, "\26\3\3\0z", 5)                = 5
read(9, "\2\0\0v\3\3\230b\227`\302\312f\302/\372s\330l\256\277\346`o0V\201\367.\241\177w"..., 122) = 122
read(9, "\24\3\3\0\1", 5)               = 5
read(9, "\1", 1)                        = 1
read(9, "\27\3\3\20E", 5)               = 5
read(9, "\0(\217\377\354\264K\355\340K\221Z\351\352\330&\220\30\344\25t\346\214\33\261\215+\241b\24g\307"..., 4165) = 4165
write(9, "\24\3\3\0\1\1\27\3\3\0E^\211I\347\316\276bc;\\\234\334\361\230\374u\245\247\204\260#"..., 80) = 80
write(9, "\27\3\3\0)\247)\225\271\330\373Q:\356i\36\25\247\337\222\203\"A4pF\310\325'\260\360\324"..., 46) = 46
write(9, "\27\3\3\0,\374H\272i\222\24\315\375\30\365\310^\326\373\205\311<@\241\202\306L\rc\32m\16"..., 49) = 49
write(9, "\27\3\3\0\36F\366\307\274\264\na\24\311P\177p\"\347\30\177\3076\177EX\276\216h\345\265_"..., 35) = 35
write(9, "\27\3\3\09\202;>\246;\251\24c\34\212\351yr\242A\5d\317\374\362:\223\232\t\343\3762"..., 62) = 62
poll([{fd=9, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc7b204e630}, NULL, 8) = 0
poll([{fd=9, events=POLLIN}, {fd=7, events=POLLIN}], 2, 136) = 1 ([{fd=9, revents=POLLIN}])
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc7b204e630}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc7b204e630}, NULL, 8) = 0
poll([{fd=9, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 1 ([{fd=9, revents=POLLIN|POLLRDNORM}])
read(9, "\27\3\3\2?", 5)                = 5
read(9, "\37\272\246\20k\246a\35\376]\364\20C_\245\0304F\357\"\354\216[\265\2176M\250o\215\275\37"..., 575) = 575
read(9, "\27\3\3\09", 5)                = 5
read(9, "\311\"\247p]\216[\245\201\3412\251\"\226\213E6\24\351\242Elv\370V\340\256\346Z\375\351g"..., 57) = 57
write(9, "\27\3\3\0\32\n\345 E\25\300\243}\353:0\tG~\260\27@%\260\"\215\363O\314n\20", 31) = 31
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc7b204e630}, NULL, 8) = 0
poll([{fd=9, events=POLLIN}, {fd=7, events=POLLIN}], 2, 110) = 1 ([{fd=9, revents=POLLIN}])
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc7b204e630}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc7b204e630}, NULL, 8) = 0
poll([{fd=9, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 1 ([{fd=9, revents=POLLIN|POLLRDNORM}])
read(9, "\27\3\3\0\32", 5)              = 5
read(9, "GD'0\255\216\266\313\21\21q@,|X\362\231wHWj\224\332Ew\256", 26) = 26
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc7b204e630}, NULL, 8) = 0
poll([{fd=9, events=POLLIN}, {fd=7, events=POLLIN}], 2, 109) = 0 (Timeout)
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc7b204e630}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc7b204e630}, NULL, 8) = 0
poll([{fd=9, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc7b204e630}, NULL, 8) = 0
poll([{fd=9, events=POLLIN}, {fd=7, events=POLLIN}], 2, 1) = 0 (Timeout)
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc7b204e630}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc7b204e630}, NULL, 8) = 0
poll([{fd=9, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc7b204e630}, NULL, 8) = 0
poll([{fd=9, events=POLLIN}, {fd=7, events=POLLIN}], 2, 1000) = 1 ([{fd=9, revents=POLLIN}])
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc7b204e630}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc7b204e630}, NULL, 8) = 0
poll([{fd=9, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 1 ([{fd=9, revents=POLLIN|POLLRDNORM}])
read(9, "\27\3\3\2\206", 5)             = 5
read(9, ":\27\261]\207R\315N\207\374\315tK\236\313\367J\304\253\334Q\357x\23\313\310\334\342ys\234\27"..., 646) = 646
read(9, "\27\3\3\5\205", 5)             = 5
read(9, "\302/\312\303\326\366R#\0323/\343_Y\332g$\340\177\366bc\327\375\301\343\\\262\345>\317\261"..., 1413) = 1413
read(9, "\27\3\3\5\205", 5)             = 5
read(9, "B&\24\347B]\3706\315\341\357\32\374\22\266Xb\375\266\206\276\332-O\237\207eQ\341\23<\356"..., 1413) = 1413
read(9, "\27\3\3\5\205", 5)             = 5
read(9, "\265\t\267\n\365\33\321\201y\303d\324\24\231\217@\332`\241<\3435v\5\357\255\240\16\252\177:\273"..., 1413) = 1413
read(9, "\27\3\3\5\205", 5)             = 5
read(9, "\301\336c,\204\0331\237\236h};\206\272\377\214 M\257\2545P\310\245\377O\226\233\321)l\363"..., 1413) = 1413
read(9, "\27\3\3\5\205", 5)             = 5
read(9, "\237\373-\300\17K{\325\v\5\326\223\364Z\"\22^bXz\277M\331S\346\361ih\252\3611\227"..., 1413) = 1413
read(9, 0x1b22d03, 5)                   = -1 EAGAIN (Recurso no disponible temporalmente)
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc7b204e630}, NULL, 8) = 0
poll([{fd=9, events=POLLIN}, {fd=7, events=POLLIN}], 2, 1000) = 1 ([{fd=9, revents=POLLIN}])
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc7b204e630}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc7b204e630}, NULL, 8) = 0
poll([{fd=9, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 1 ([{fd=9, revents=POLLIN|POLLRDNORM}])
read(9, "\27\3\3\5\205", 5)             = 5
read(9, "\360\1775I}M6S(\234\312\321\363\357\237\304\"\214\272!\250\301\tHC\222\317\247e\306OZ"..., 1413) = 1413
read(9, "\27\3\3\5\205", 5)             = 5
read(9, "\321\33\317\352#\300\25\377\36$<\217\233y\207\351\332Fqq\266\230\317\235\212\223\20\234\201\265\247\257"..., 1413) = 1413
read(9, 0x1b22d03, 5)                   = -1 EAGAIN (Recurso no disponible temporalmente)
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc7b204e630}, NULL, 8) = 0
poll([{fd=9, events=POLLIN}, {fd=7, events=POLLIN}], 2, 1000) = 1 ([{fd=9, revents=POLLIN}])
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc7b204e630}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc7b204e630}, NULL, 8) = 0
poll([{fd=9, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 1 ([{fd=9, revents=POLLIN|POLLRDNORM}])
read(9, "\27\3\3\5\205", 5)             = 5
read(9, "\311\342Y\233\267\312x\301G\366\262[6\351\205\326Ee\362\34\f\316\2240\236z\263m\304\0257\356"..., 1413) = 1413
read(9, "\27\3\3\5\205", 5)             = 5
read(9, "t\323\261X\254_\310I\1\337\377\267\206\3060\22\224\")\373\372\217\223\262\277\275\262O\355\37F\237"..., 1413) = 1413
read(9, 0x1b22d03, 5)                   = -1 EAGAIN (Recurso no disponible temporalmente)
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc7b204e630}, NULL, 8) = 0
poll([{fd=9, events=POLLIN}, {fd=7, events=POLLIN}], 2, 1000) = 1 ([{fd=9, revents=POLLIN}])
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc7b204e630}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc7b204e630}, NULL, 8) = 0
poll([{fd=9, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 1 ([{fd=9, revents=POLLIN|POLLRDNORM}])
read(9, "\27\3\3\5\205", 5)             = 5
read(9, "S\374X8\312\271\230\37\306E\33\360\v\17J\3335\231\343ci\302Kk\247\256\363\26\7>\205\227"..., 1413) = 1413
read(9, "\27\3\3\5\25", 5)              = 5
read(9, "\235|UY;1:\4\244\271\304\360\336\2749\314\3774\343#\321\357\233\327\1$AJ\276\236#\t"..., 1301) = 1301
read(9, "\27\3\3\0\32", 5)              = 5
read(9, "\17%\301\261\260*\203\346\33L@\310\t\365\4\236\372-\221O\207(3\247\202d", 26) = 26
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc7b204e630}, NULL, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc7b204e630}, NULL, 8) = 0
write(6, "*   Trying 172.217.20.164:443..."..., 1949) = 1949
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc7b204e630}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc7b204e630}, NULL, 8) = 0
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc7b204e630}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc7b204e630}, NULL, 8) = 0
read(9, "\27\3\3\0\"", 5)               = 5
read(9, " =$=\\\267\233v\330\255\311\204\262\7Ty\224\0054\225\25)\260\6\\3\313\200\277\355O\321"..., 34) = 34
write(9, "\27\3\3\0\23\375\"\313@\263~:SF9\225\263\26\2066^\26\217\202", 24) = 24
close(9)                                = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc7b204e630}, NULL, 8) = 0
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc7b204e630}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc7b204e630}, NULL, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc7b204e630}, NULL, 8) = 0
close(7)                                = 0
close(8)                                = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc7b204e630}, NULL, 8) = 0
close(6)                                = 0
munmap(0x7fc7b4e3d000, 4096)            = 0
write(1, "X-Powered-By: PHP/7.4.22", 24) = 24
write(1, "\r\n", 2)                     = 2
write(1, "Content-type: text/html; charset"..., 38) = 38
write(1, "\r\n", 2)                     = 2
write(1, "\r\n", 2)                     = 2
write(1, "int(0)\n", 7)                 = 7
write(1, "string(16134) \"", 15)        = 15
write(1, "HTTP/2 200 \r\ndate: Fri, 27 Aug 2"..., 16134) = 16134
write(1, "\"\n", 2)                     = 2
chdir("/home/username/public_html")      = 0
setitimer(ITIMER_PROF, {it_interval={tv_sec=0, tv_usec=0}, it_value={tv_sec=0, tv_usec=0}}, NULL) = 0
sendto(5, "\1\0\0\0\1", 5, MSG_DONTWAIT, NULL, 0) = 5
close(5)                                = 0
sendto(4, "quit\r\n", 6, MSG_NOSIGNAL, NULL, 0) = 6
shutdown(4, SHUT_WR)                    = 0
shutdown(4, SHUT_RD)                    = -1 ENOTCONN (El otro extremo de la conexión no está conectado)
close(4)                                = 0
fcntl(3, F_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = 0
brk(NULL)                               = 0x1b33000
brk(NULL)                               = 0x1b33000
brk(0x1a6e000)                          = 0x1a6e000
brk(NULL)                               = 0x1a6e000
munmap(0x7fc79c31b000, 2225456)         = 0
munmap(0x7fc79e2bc000, 2511696)         = 0
munmap(0x7fc79df8d000, 3335272)         = 0
munmap(0x7fc79dad3000, 4953832)         = 0
munmap(0x7fc79d879000, 2465464)         = 0
munmap(0x7fc79d637000, 2365032)         = 0

With proxy

socket(AF_INET, SOCK_STREAM, IPPROTO_TCP) = 8
setsockopt(8, SOL_TCP, TCP_NODELAY, [1], 4) = 0
fcntl(8, F_GETFL)                       = 0x2 (flags O_RDWR)
fcntl(8, F_SETFL, O_RDWR|O_NONBLOCK)    = 0
connect(8, {sa_family=AF_INET, sin_port=htons(89), sin_addr=inet_addr("185.93.182.251")}, 16) = -1 EINPROGRESS (Operación en curso)
poll([{fd=8, events=POLLPRI|POLLOUT|POLLWRNORM}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=6, events=POLLIN}], 1, 0)     = 0 (Timeout)
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLPRI|POLLOUT|POLLWRNORM}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=6, events=POLLIN}], 1, 199)   = 0 (Timeout)
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLPRI|POLLOUT|POLLWRNORM}], 1, 0) = 1 ([{fd=8, revents=POLLOUT|POLLWRNORM}])
getsockopt(8, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
getpeername(8, {sa_family=AF_INET, sin_port=htons(89), sin_addr=inet_addr("185.93.182.251")}, [128->16]) = 0
getsockname(8, {sa_family=AF_INET, sin_port=htons(36880), sin_addr=inet_addr("184.24.41.141")}, [128->16]) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLOUT}, {fd=6, events=POLLIN}], 2, 0) = 1 ([{fd=8, revents=POLLOUT}])
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
futex(0x7f2a10b720f8, FUTEX_WAKE_PRIVATE, 2147483647) = 0
getrandom("\x0a\x32\xba\x77\x96\xb9\x0d\xcb\x38\xdb\x1a\xf0\xe4\x70\x82\x39\x4c\x35\x83\x13\x13\x4d\x33\x0d\x8f\xd5\x23\xed\xef\x1c\xbf\x84", 32, 0) = 32
futex(0x7f2a10b720b4, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7f2a10e05794, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7f2a10e05574, FUTEX_WAKE_PRIVATE, 2147483647) = 0
open("/etc/pki/tls/certs/ca-bundle.crt", O_RDONLY) = 9
fstat(9, {st_mode=S_IFREG|0444, st_size=216090, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2a1262d000
read(9, "# ACCVRAIZ1\n-----BEGIN CERTIFICA"..., 4096) = 4096
read(9, "b8EZ6WdmF/9ARP67Jpi6Yb+tmLSbkyU+"..., 4096) = 4096
read(9, "QAwRDELMAkGA1UE\nBhMCVVMxFDASBgNV"..., 4096) = 4096
read(9, "YXpvbjEZMBcGA1UEAxMQQW1hem9uIFJv"..., 4096) = 4096
read(9, "A2gAMGUCMDqLIfG9fhGt0O9Yli/W651+"..., 4096) = 4096
read(9, "IhvcNAQEBBQADggEPADCCAQoCggEBAKM"..., 4096) = 4096
read(9, "n9iB5btb2iUspKdV\ncSQy9sgL8rxq+JO"..., 4096) = 4096
read(9, "S\nESgoA//vU2YApUo0FmZ8/Qmkrp5nGm"..., 4096) = 4096
brk(NULL)                               = 0x1912000
brk(0x1933000)                          = 0x1933000
read(9, "u3sgQiUpWAk2nojkxl8ZEDLXB0AuqLZx"..., 4096) = 4096
read(9, "gu07nM3A6RngatgCdTer9zQoKJHyBApP"..., 4096) = 4096
read(9, "mmerce Root - 2008\n-----BEGIN CE"..., 4096) = 4096
read(9, "q3\nsmPi9WIsgtRqAEFQ8TmDn5XpNpaYb"..., 4096) = 4096
read(9, "RfY2xhc3NfM19jYV8yX2V2XzIwMDku\nY"..., 4096) = 4096
read(9, "d29KOVPt3ibHtX2vK0LRdWLjSisCx1BL"..., 4096) = 4096
read(9, "xMzA4MDExMjAwMDBaFw0zODAxMTUxMjA"..., 4096) = 4096
read(9, "\nMIIGSzCCBDOgAwIBAgIIamg+nFGby1M"..., 4096) = 4096
read(9, "/mIPX64b24D5EI=\n-----END CERTIFI"..., 4096) = 4096
brk(NULL)                               = 0x1933000
brk(0x1954000)                          = 0x1954000
read(9, "2HNjnogQi+dPa2MsCAwEAAaOB\nsDCBrT"..., 4096) = 4096
read(9, "iG9w0B\nAQEFAAOCAg8AMIICCgKCAgEAs"..., 4096) = 4096
read(9, "QM+NOsROjyBhsS+z8CZDfnWQpJSMHobT"..., 4096) = 4096
read(9, "Auhd\n-----END CERTIFICATE-----\n\n"..., 4096) = 4096
read(9, "tbCyf691DiaI8S0iRHVDsJt/WYC69IaN"..., 4096) = 4096
read(9, "IDIwggIiMA0GCSqGSIb3DQEBAQUAA4IC"..., 4096) = 4096
read(9, "QUFAAOCAQEA1nPnfE920I2/7LqivjTFK"..., 4096) = 4096
read(9, "QUigAZcIN5kZeR1Bonvzce\nMgfYFGM8K"..., 4096) = 4096
read(9, "A7Ugay9qK7HFiH7Eux6w\nwdhFJ2+qN1j"..., 4096) = 4096
brk(NULL)                               = 0x1954000
brk(0x1975000)                          = 0x1975000
read(9, "iE15HrcS3UN4SoqS5tdI1Q+kOilENbgH"..., 4096) = 4096
read(9, "I+XeTRvhEgCIDMb5jREn5Fw9IBehEPCK"..., 4096) = 4096
read(9, "1TPA\nmRGunUHBcnWEvgJBQl9nJEiU0Zs"..., 4096) = 4096
read(9, "com\n-----BEGIN CERTIFICATE-----\n"..., 4096) = 4096
read(9, "WOWyu8Q6qp31IiyBMz2TWuJdGsE7RKlY"..., 4096) = 4096
read(9, "Wh0dHA6Ly9jcmwu\nbmV0c29sc3NsLmNv"..., 4096) = 4096
read(9, "AwZQIwJsdpW9zV\n57LnyAyMjMPdeYwbY"..., 4096) = 4096
read(9, "DlXpY18ls6Wy58yljXrQs8C097Vpl4Kl"..., 4096) = 4096
read(9, "D3n+M\n-----END CERTIFICATE-----\n"..., 4096) = 4096
read(9, "QjDFSlTC9JxUrRtm5gDWv8a4uFJGS3iQ"..., 4096) = 4096
brk(NULL)                               = 0x1975000
brk(0x1996000)                          = 0x1996000
read(9, "MGEwHQYDVR0OBBYEFILRhXMw5zUE044C"..., 4096) = 4096
read(9, "aWduIFJvb3RD\nQTExMIIBIjANBgkqhki"..., 4096) = 4096
read(9, "EBANAV\nOVKxUrO6xVmCxF1SrjpDZYBLx"..., 4096) = 4096
read(9, "N/UhbJCONVrJ0yPr08C+eKxC\nKFhmpUZ"..., 4096) = 4096
read(9, "VVMxJTAjBgNVBAoTHFN0\nYXJmaWVsZCB"..., 4096) = 4096
read(9, "A+k1ZIzUd6+jbqE\nemA8atufK+ze3gE/"..., 4096) = 4096
read(9, "82hVYAUd\nAqSzm1nzHoqvNK38DcLZSBn"..., 4096) = 4096
read(9, "zExNTU5\nNTlaMFExCzAJBgNVBAYTAlRX"..., 4096) = 4096
read(9, "VHRMEBTADAQH/MDkGBGcqBwAE\nMTAvMC"..., 4096) = 4096
brk(NULL)                               = 0x1996000
brk(0x19b7000)                          = 0x19b7000
read(9, "5F95yIW6MBoNtjG8U+ARDL54dHRHareq"..., 4096) = 4096
read(9, "DVQQL\nExNUcnVzdGlzIEZQUyBSb290IE"..., 4096) = 4096
read(9, "hVmUCAwEAAaNCMEAwDgYDVR0PAQH/\nBA"..., 4096) = 4096
read(9, "OIg9IZxIokYesszAKBggqhkjOPQQDAzC"..., 4096) = 4096
read(9, "hGD5WycRtPwW8rtWaoAljQIDAQABo4Gy"..., 4096) = 4096
read(9, "EPADCCAQoCggEBALczuX7IJUqOtdu0KB"..., 4096) = 4096
read(9, "A1UECxMKZW1TaWduIFBLSTElMCMGA1UE"..., 4096) = 4096
read(9, "zL9yZJclNqFwJu/U30rCfSMnZEfl2pSy"..., 4096) = 3098
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x7f2a1262d000, 4096)            = 0
brk(NULL)                               = 0x19b7000
brk(0x19d8000)                          = 0x19d8000
write(8, "\26\3\1\2\0\1\0\1\374\3\3=\"\226\2004\267\210\341gUmt\354S\201\222\261\245\377\261\273"..., 517) = 517
read(8, 0x19bc803, 5)                   = -1 EAGAIN (Recurso no disponible temporalmente)
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLOUT}, {fd=6, events=POLLIN}], 2, 1000) = 1 ([{fd=8, revents=POLLOUT}])
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLOUT}, {fd=6, events=POLLIN}], 2, 1000) = 1 ([{fd=8, revents=POLLOUT}])
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLOUT}, {fd=6, events=POLLIN}], 2, 1000) = 1 ([{fd=8, revents=POLLOUT}])
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLOUT}, {fd=6, events=POLLIN}], 2, 1000) = 1 ([{fd=8, revents=POLLOUT}])
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLOUT}, {fd=6, events=POLLIN}], 2, 1000) = 1 ([{fd=8, revents=POLLOUT}])
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLOUT}, {fd=6, events=POLLIN}], 2, 1000) = 1 ([{fd=8, revents=POLLOUT}])
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLOUT}, {fd=6, events=POLLIN}], 2, 1000) = 1 ([{fd=8, revents=POLLOUT}])
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLOUT}, {fd=6, events=POLLIN}], 2, 1000) = 1 ([{fd=8, revents=POLLOUT}])
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLOUT}, {fd=6, events=POLLIN}], 2, 1000) = 1 ([{fd=8, revents=POLLOUT}])
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLOUT}, {fd=6, events=POLLIN}], 2, 1000) = 1 ([{fd=8, revents=POLLOUT}])
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLOUT}, {fd=6, events=POLLIN}], 2, 1000) = 1 ([{fd=8, revents=POLLOUT}])
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLOUT}, {fd=6, events=POLLIN}], 2, 1000) = 1 ([{fd=8, revents=POLLOUT}])
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLOUT}, {fd=6, events=POLLIN}], 2, 1000) = 1 ([{fd=8, revents=POLLOUT}])
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLOUT}, {fd=6, events=POLLIN}], 2, 1000) = 1 ([{fd=8, revents=POLLOUT}])
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLOUT}, {fd=6, events=POLLIN}], 2, 1000) = 1 ([{fd=8, revents=POLLOUT}])
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLOUT}, {fd=6, events=POLLIN}], 2, 1000) = 1 ([{fd=8, revents=POLLOUT}])
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLOUT}, {fd=6, events=POLLIN}], 2, 1000) = 1 ([{fd=8, revents=POLLOUT}])
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLOUT}, {fd=6, events=POLLIN}], 2, 1000) = 1 ([{fd=8, revents=POLLOUT}])
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLOUT}, {fd=6, events=POLLIN}], 2, 1000) = 1 ([{fd=8, revents=POLLOUT}])
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLOUT}, {fd=6, events=POLLIN}], 2, 1000) = 1 ([{fd=8, revents=POLLOUT}])
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLOUT}, {fd=6, events=POLLIN}], 2, 1000) = 1 ([{fd=8, revents=POLLOUT}])
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLOUT}, {fd=6, events=POLLIN}], 2, 1000) = 1 ([{fd=8, revents=POLLOUT}])
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLOUT}, {fd=6, events=POLLIN}], 2, 1000) = 1 ([{fd=8, revents=POLLOUT}])
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLOUT}, {fd=6, events=POLLIN}], 2, 1000) = 1 ([{fd=8, revents=POLLOUT}])
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLOUT}, {fd=6, events=POLLIN}], 2, 1000) = 1 ([{fd=8, revents=POLLOUT}])
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLOUT}, {fd=6, events=POLLIN}], 2, 1000) = 1 ([{fd=8, revents=POLLOUT}])
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLOUT}, {fd=6, events=POLLIN}], 2, 1000) = 1 ([{fd=8, revents=POLLOUT}])
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLOUT}, {fd=6, events=POLLIN}], 2, 1000) = 1 ([{fd=8, revents=POLLOUT}])
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLOUT}, {fd=6, events=POLLIN}], 2, 1000) = 1 ([{fd=8, revents=POLLOUT}])
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLOUT}, {fd=6, events=POLLIN}], 2, 1000) = 1 ([{fd=8, revents=POLLOUT}])
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f2a0f83e630}, NULL, 8) = 0
poll([{fd=8, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)

@bagder
Copy link
Member

bagder commented Aug 27, 2021

@ollm even more interesting for us is steps to reproduce this.

@ollm
Copy link

ollm commented Aug 27, 2021

This is the PHP code with which I have been tested and with which the problem also occurs (My code in production is different), the nordVPN username and password is not necessary, since this specific server is down, even so the error occurs anyway.

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://www.google.com');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

// Proxy
curl_setopt($ch, CURLOPT_PROXY, 'es137.nordvpn.com:89');
curl_setopt($ch, CURLOPT_PROXYTYPE, CURLPROXY_HTTPS);
curl_setopt($ch, CURLOPT_PROXYUSERPWD, 'xx:xx');

curl_setopt($ch, CURLOPT_HEADER, true);

// Verbose
curl_setopt($ch, CURLOPT_VERBOSE, true);
curl_setopt($ch, CURLOPT_STDERR, fopen('./curl_debug.txt', 'w'));

$html = curl_exec($ch);
$http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
$header_size = curl_getinfo($ch, CURLINFO_HEADER_SIZE);
$curl_errno = curl_errno($ch);
curl_close($ch);

var_dump($curl_errno);
var_dump($html);

I have not tried it on the command line since the curl version is different, but the code would be the following.

curl -x https://xx:xx@es137.nordvpn.com:89 https://www.google.com --verbose

@ollm
Copy link

ollm commented Aug 27, 2021

I have tried this curl binary on my computer and the problem also happens: https://github.com/moparisthebest/static-curl/releases/download/v7.78.0/curl-amd64 from https://github.com/moparisthebest/static-curl/releases/tag/v7.78.0

./curl-amd64 -x https://xx:xx@es137.nordvpn.com:89 https://www.google.com --verbose

top - 17:26:17 up  7:28,  1 user,  load average: 1,46, 1,10, 1,09
Tareas: 308 total,   2 ejecutar,  306 hibernar,    0 detener,    0 zombie
%Cpu(s): 17,5 usuario, 14,7 sist,  0,0 adecuado, 65,7 inact,  0,0 en espera,  0,0 hardw int,  2,2 softw int,  0,0 robar tiempo
MiB Mem :  14925,2 total,   3532,4 libre,   6098,8 usado,   5294,1 búfer/caché
MiB Intercambio:   2048,0 total,   2048,0 libre,      0,0 usado.   8270,0 dispon Mem 

    PID USUARIO   PR  NI    VIRT    RES    SHR S  %CPU  %MEM     HORA+ ORDEN                                                                                                                               
  40528 llopart   20   0    4916   4056   2920 R 100,0   0,0   0:07.31 ./curl-amd64 -x https://xx:xx@es137.nordvpn.com:89 https://www.google.com --verbose                                                 
   2564 llopart   20   0 4777344 469908 116412 S  17,9   3,1  65:01.99 /usr/bin/gnome-shell                                                                                                                
  39431 llopart   20   0  821956  55924  40476 S   6,0   0,4   0:03.00 /usr/libexec/gnome-terminal-server                                                                                                  
   2380 llopart   20   0  711276 107196  64408 S   5,6   0,7  14:31.23 /usr/lib/xorg/Xorg vt2 -displayfd 3 -auth /run/user/1000/gdm/Xauthority -background none -noreset -keeptty -verbose 3               
   6080 llopart   20   0   17,1g 493220 252420 S   1,3   3,2  33:38.76 /opt/google/chrome/chrome --enable-crashpad                                                                                         
  33825 llopart   20   0   20,5g 354588 100840 S   1,0   2,3   1:20.59 /opt/google/chrome/chrome --type=renderer --field-trial-handle=17397205244539912235,974811551612984194,131072 --lang=es --enable-c+ 
                                                                                                         

bagder added a commit that referenced this issue Aug 27, 2021
Otherwise it would wait socket writability even after the entire CONNECT
request has sent and make curl basically busy-loop while waiting for a
response to come back.

The previous fix attempt in #7484 (c27a70a) was inadequate.

Reported-by: zloi-user on github
Reported-by: Oleguer Llopart
Fixes #7589
@bagder
Copy link
Member

bagder commented Aug 27, 2021

Please test #7647

@ollm
Copy link

ollm commented Aug 27, 2021

It works much better, even so it still takes 15 seconds to finish (I don't know if this is intentional), the version I have on the server (7.29.0) returns an almost instantaneous response with the error curl: (56) Proxy CONNECT aborted

Tests proxy down

./curl -x https://xx:xx@es137.nordvpn.com:89 https://www.google.com

master

bagder/connect-getsock

Tests proxy that is not down

./curl -x https://xx:xx@es188.nordvpn.com:89 https://www.google.com

master

bagder/connect-getsock

Test without proxy

./curl https://www.google.com

master

@bagder
Copy link
Member

bagder commented Aug 27, 2021

@ollm you're now conflating several issues into one. This issue is about spending 100% CPU during the CONNECT procedure and that's what I believe my PR fixes.

There might be more issues, but I would urge you to file and work on them separately.

@bagder
Copy link
Member

bagder commented Aug 27, 2021

(7.29.0) returns an almost instantaneous response with the error

Does it receive the 407 error much faster then or what makes it abort so fast?

@bagder
Copy link
Member

bagder commented Aug 27, 2021

No wait. 7.29.0 didn't support HTTPS proxies at all, so of course it failed fast!

@bagder bagder closed this as completed in 4fee6c6 Aug 27, 2021
@ollm
Copy link

ollm commented Aug 28, 2021

No wait. 7.29.0 didn't support HTTPS proxies at all, so of course it failed fast!

Sorry, I didn't know that curl 7.29.0 didn't support HTTPS proxies.

Thanks for the fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

4 participants