[squid-users] Useragent request/reply headers with squid .

--Ahmad-- ahmed.zaeem at netstream.ps
Sat Jun 15 08:57:44 UTC 2019


Hello Folks ,

im trying to disable user agent info to be leaked out of squid using :

request_header_access User-Agent deny all
reply _header_access User-Agent deny all

squid very 3.5.x


but when i test sending the user agent info via curl info it seems squid is not removing it and passing it to the server 

curl -x    x.x.x.x:19000    -U pass:pass  -X POST https://uploadbeta.com/api/parse-user-agent/ -d "s=nUser-Agent:%20Mozilla/4.0%20(compatible;%20MSIE%207.0;%20linux%20NT%206.1)”

result ——>>>>>>>>> {"platform":"linux","browser":"MSIE","version":"7.0”}


as you see above i tried with squid to disable useragent , but in curl it seems squid leaked it 

any idea why squid leaking useragent ?



Thanks 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20190615/a83f6f00/attachment.html>


More information about the squid-users mailing list