All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
How to hide squid from headers?
I'm running a ipv6 squid proxy on Ubuntu 22.04. Does anyone know how to hide "squid" in the headers? cause when I do: curl -i -k [ipv6 address]:port
Server: squid
Mime-Version: 1.0
Date: Sun, 29 Dec 2024 03:43:30 GMT
Content-Type: text/html;charset=utf-8
Content-Length: 3486
Vary: Accept-Language
Content-Language: en
Cache-Status: -
Connection: close
How do I remove squid from Server? I have tried adding httpd_suppress_version_string on
but that only hides the squid version and not the actual word "squid"
squid config:
via off
forwarded_for off
cache_mgr [email protected]
visible_hostname -
httpd_suppress_version_string on
request_header_access Allow allow all
request_header_access Authorization allow all
request_header_access WWW-Authenticate allow all
request_header_access Proxy-Authorization allow all
request_header_access Proxy-Authenticate allow all
request_header_access Cache-Control allow all
request_header_access Content-Encoding allow all
request_header_access Content-Length allow all
request_header_access Content-Type allow all
request_header_access Date allow all
request_header_access Expires allow all
request_header_access Host allow all
request_header_access If-Modified-Since allow all
request_header_access Last-Modified allow all
request_header_access Location allow all
request_header_access Pragma allow all
request_header_access Accept allow all
request_header_access Accept-Charset allow all
request_header_access Accept-Encoding allow all
request_header_access Accept-Language allow all
request_header_access Content-Language allow all
request_header_access Mime-Version allow all
request_header_access Retry-After allow all
request_header_access Title allow all
request_header_access Connection allow all
request_header_access Proxy-Connection allow all
request_header_access User-Agent allow all
request_header_access All deny all
request_header_access X-Forwarded-For
reply_header_access Via deny all
reply_header_access X-Cache deny all
reply_header_access X-Cache-Lookup deny all
reply_header_access X-Squid-Error deny all
follow_x_forwarded_for allow localhost
follow_x_forwarded_for deny all
Comments
I believe this is what you're looking for:
https://www.squid-cache.org/Doc/config/reply_header_replace/