[squid-users] Squid display garbage character.

Willsz.net Support willsznet at gmail.com
Sun May 27 09:49:34 UTC 2018


> > 2018/05/27 13:53:42| Processing: check_hostnames on
> > 2018/05/27 13:53:42| Processing: dns_retransmit_interval 2 seconds
> > 2018/05/27 13:53:42| Processing: dns_timeout 1 minutes
> > 2018/05/27 13:53:42| Processing: memory_pools off
> > 2018/05/27 13:53:42| Processing: forwarded_for off
> 
> "delete" or "transparent" are slightly better settings available in
> current Squid. If you must fiddle with that headers contents at all
> please consider those instead.
>  <http://www.squid-cache.org/Doc/config/forwarded_for/>
> 
> 
> > 2018/05/27 13:53:42| Processing: client_persistent_connections on
> > 2018/05/27 13:53:42| Processing: coredump_dir /tmp
> > 2018/05/27 13:53:42| Processing: httpd_suppress_version_string on
> >
> >> B) the web server is not sending Vary headers consistently and the proxy
> >> cache ends up thinking that a compressed object is possible to be sent
> >> to clients only accepting plain-text objects.
> >>  - this one there is not much you can do except to prevent these
> >> particular URLs not to be cashed by your own proxy.
> >> Both cases result in the client sometimes displaying binary octets as if
> >> they were plain text, as you can see in that demo image. More often they
> >> occur with scripts and nothing gets displayed - just parts of the
> >> website dont work properly (no scrolling, missing content, or
> >> unclickable buttons, etc).
> >
> > I am more suspicious because of this, many of gambling site hosting will
> get the same problem.
> > I tested for http://www.bolaliga88.com/ with the same result
> https://redbot.org/?uri=http%3A%2F%2Fwww.bolaliga88.com%2F
> >
> 
> I am currently suspecting it is a combination of these broken Vary
> headers usage by the web servers and your use of "vary_ignore_expire on"
> which enables those broken objects to be cached.
> 
> Amos

Thank you very much for all correction. My mistake is too lazy read ChangeLog every squid release.
Ex: I use my squid.conf since version 2.7, just do modification if fatal error shown in my /var/log/squid/cache.log.
I already reconfigure my squid.conf as you suggested. Now the problem is solved.



More information about the squid-users mailing list