If no SNI field found in https reqest, host address on upstream squid is empty.
command:
curl -Iv https://193.109.212.15 -X GET -k
- Trying 193.109.212.15:443...
- Connected to 193.109.212.15 (193.109.212.15) port 443 (#0)
- ALPN, offering h2
- ALPN, offering http/1.1
- successfully set certificate verify locations:
- CAfile: /etc/ssl/certs/ca-certificates.crt
- CApath: /etc/ssl/certs
- TLSv1.3 (OUT), TLS handshake, Client hello (1):
- OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to 193.109.212.15:443
- Closing connection 0
curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to 193.109.212.15:443
aproxy log:
2024/03/26 09:27:08 ERROR failed to connect to http proxy src=172.18.0.6:37458 original_dst=193.109.212.15:443 host=:443 error="proxy return 400 response for connect request"
upstream squid log:
1711445229.279 0 192.168.118.11 NONE/400 3738 CONNECT :443 - HIER_NONE/- text/html
If no SNI field found in https reqest, host address on upstream squid is empty.
command:
curl -Iv https://193.109.212.15 -X GET -k
curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to 193.109.212.15:443
aproxy log:
2024/03/26 09:27:08 ERROR failed to connect to http proxy src=172.18.0.6:37458 original_dst=193.109.212.15:443 host=:443 error="proxy return 400 response for connect request"
upstream squid log:
1711445229.279 0 192.168.118.11 NONE/400 3738 CONNECT :443 - HIER_NONE/- text/html