[squid-users] Possible Bug? "parameters()" syntax in acl dstdomain results in rule not working?

paul at thepottshouse.org paul at thepottshouse.org
Wed Mar 21 17:45:14 UTC 2018


Hello,

I am running squid 3.5.23 on Debian 9. My goal was to try to set up a
simple proxy server for whitelisting.

It's working now, but I had some difficulty. In the release notes I
came across this example:

http://www.squid-cache.org/Versions/v3/3.5/squid-3.5.23-RELEASENOTES.html#s3

It shows specifying a whitelist like so:

acl whitelist dstdomain parameters("/etc/squid/whitelist.txt")

So I tried this, and spent quite some time trying to figure out why it
didn't work. I got no errors, but this rule seemed to cause rejection
of all destination domains.

I finally realized there appeared to be something wrong with the
"parameters" handling of the external file, and turned it into:

acl WHITELIST dstdomain "/etc/squid/whitelist.txt"

With that one change it worked properly.

Is this a known bug?

Thanks,

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


More information about the squid-users mailing list