Hi! I'm trying to replace a squid cache proxy with envoy. Actually I don't need the caching features of a proxy.
I'm not an expert in envoy, have little experience with it and a bit confused with its configuration.
The main requirement of my setup is that envoy must do the TLS termination and start a new one with the destination domain. It's a requirement because some of the requested domains are being blocked by Cloudflare WAF. The thing is that they are fringerprinting the TLS and blocking everything that is not coming from a real browser. My tests with a curl compiled with BoringSSL bypasses that fingerprinting, so consequently I think that envoy will also do it as it uses BoringSSL.
Issuing the following command:
fails with a 404 due to the fact that it doesn't contains a CONNECT match:
curl: (56) Received HTTP code 404 from proxy after CONNECT
If I add a CONNECT matcher (transparent_proxy_connect.yml) and try to do a request to
google.com:
Gives the following error:
curl: (35) error:1400410B:SSL routines:CONNECT_CR_SRVR_HELLO:wrong version number
curl: (56) Received HTTP code 503 from proxy after CONNECT
I'm kinda confused and stuck with this scenario and I'll really appreciate any help on this concern.
Thanks in advance for your support.
Best Regards, Pepe.