[squid-users] Access-Control-* headers missing when going through squid

Dan Charlesworth dan at getbusi.com
Thu Apr 20 02:07:54 UTC 2017


Thanks Amos.

As far as I can tell the only device upstream of the proxy is a relatively basic gateway/firewall. I doubt it's capable of messing with HTTP headers (and loading the site directly, as opposed to using the proxy lets it load fine behind the same gateway).

I’ve attached the debug output you suggested. Looks like the headers in the browser are the same as what arriving and leaving the proxy?



Best,
Dan

> On 19 Apr 2017, at 2:41 pm, Amos Jeffries <squid3 at treenet.co.nz> wrote:
> 
> Squid does not touch these headers itself unless you configure it to. So something there is altering them. It may be external MITM stuff, or Squid coping with broken input.
> 
> Try adding "debug_options 11,2" to see what is actually arriving and leaving that proxy.
> 
> 
> Amos

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20170420/b69b3484/attachment-0003.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pr-squid-debug-erroneous.txt
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20170420/b69b3484/attachment-0002.txt>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20170420/b69b3484/attachment-0004.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pr-squid-debug-normal.txt
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20170420/b69b3484/attachment-0003.txt>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20170420/b69b3484/attachment-0005.html>


More information about the squid-users mailing list