the domain https://1.s.paste.loltek.net/ is proxied through cloudflare, the target server doesn’t even have port 443 open (only port 80/http), and… cloudflare try to use SSLv3 when browsers try to connect to it? (notably default curl compilations haven’t supported sslv3 for years, and my curl binary does not have sslv3 enabled) here’s what happens when i try to curl it:
$ curl -v 'https://1.s.paste.loltek.net/'
* STATE: INIT => CONNECT handle 0x800083ef8; line 1654 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* STATE: CONNECT => WAITRESOLVE handle 0x800083ef8; line 1700 (connection #0)
* family0 == v4, family1 == v6
* Trying 172.67.209.195:443...
* STATE: WAITRESOLVE => WAITCONNECT handle 0x800083ef8; line 1782 (connection #0)
* Connected to 1.s.paste.loltek.net (172.67.209.195) port 443 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x800083ef8; line 1845 (connection #0)
* Marked for [keep alive]: HTTP default
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/pki/tls/certs/ca-bundle.crt
* CApath: none
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x800083ef8; line 1866 (connection #0)
* TLSv1.3 (IN), TLS alert, handshake failure (552):
* error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure
* Marked for [closure]: Failed HTTPS connection
* multi_done
* The cache now contains 0 members
* Closing connection 0
* Expire cleared (transfer 0x800083ef8)
curl: (35) error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure
… and i build a curl binary with sslv3 support (using the instructions here https://stackoverflow.com/a/56394968/1067003 ), that didn’t work either,
[email protected]:/temp/curl/curl/src# ./curl https://1.s.paste.loltek.net -v
* Trying 172.67.209.195:443...
* Connected to 1.s.paste.loltek.net (172.67.209.195) port 443 (#0)
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS alert, handshake failure (552):
* error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure
* Closing connection 0
curl: (35) error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure
[email protected]:/temp/curl/curl/src# ./curl --sslv3 https://1.s.paste.loltek.net -v
* Trying 172.67.209.195:443...
* Connected to 1.s.paste.loltek.net (172.67.209.195) port 443 (#0)
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
* SSLv3 (OUT), TLS handshake, Client hello (1):
* SSLv3 (IN), TLS alert, handshake failure (552):
* error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure
* Closing connection 0
curl: (35) error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure
so… what’s going on here?