[squid-users] websockets through Squid

Vieri rentorbuy at yahoo.com
Wed Oct 7 13:29:51 UTC 2020


> To allow WebSocket tunnels, you need http_upgrade_request_protocols available since v5.0.4

Thanks for the info.
My distro does not include v. 5 yet as it's still beta, although I could try compiling it.

Just a thought though. What would the easiest way be to allow websockets through in v. 4? That is, for trusted domains, allow a direct connection maybe?

eg. 
acl direct_dst_domains dstdomain "/opt/custom/proxy-settings/allowed.direct"
# or:
# acl direct_dst_domains ssl::server_name_regex "/opt/custom/proxy-settings/allowed.direct"
always_direct allow direct_dst_domains

Thanks

Vieri


More information about the squid-users mailing list