Bug #13879
closedSquid blacklist definition causing issues.
0%
Description
Hello.
Working with pfsense 2.7-dev for some months and is going solid, excellent work team.
Now I face a issue that was causing me some headache, checking more depth the config from squid and looks like I found the issue.
I'm trying to block some domains related to adults sites like:
.party
.porn
.xxx
.vip
.me
I put this domains in my blacklist field in the squid GUI section ACL.
But my surprise is that one domain from a government dependency stop working, I check the logs and see that squid start blocking the site with a DENIED:
192.168.9.100 TCP_DENIED/000 0 CONNECT 187.218.29.164:443 - HIER_NONE/- -
The site is: dof.gob.mx, see attachment please.
Why?
I went to my squid.conf and found the line:
acl blacklist dstdom_regex -i "/var/squid/acl/blacklist.acl"
I have been working with squid for some years and normally I don't use the parameter "dstdom_regex -i" I use for the blacklist just "dst_domain".
I change my line to this one:
acl blacklist dstdomain "/var/squid/acl/blacklist.acl"
Run squid -k reconfigure
With this change I don't have issues.
Please, if u need further details let me know, thanks.
Files