Good day Folks,
Please I tried to block websites like youtube.com and facebook.com using acl dstdomain directive without success.
Squid replied the above error:
erickom@proxy:/etc/squid3$ sudo squid3 -z
2017/06/20 15:37:37| ERROR: '.google.com' is a subdomain of 'google.com'
2017/06/20 15:37:37| ERROR: You need to remove '.google.com' from the ACL named 'ban_list'
FATAL: Bungled /etc/squid3/squid.conf line 57: acl ban_list dstdomain "/etc/squid3/ban_list"
Squid Cache (Version 3.4.8): Terminated abnormally.
CPU Usage: 0.004 seconds = 0.004 user + 0.000 sys
Maximum Resident Size: 37520 KB
See below my ban_list file:
erickom@proxy:/etc/squid3$ cat ban_list
google.com
.google.com
youtube.com
.youtube.com
facebook.com
.facebook.com
google.com
.google.com
youtube.com
.youtube.com
facebook.com
.facebook.com
Please assist
Thanks
_______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users