# File which contains the list
acl malware_block_list url_regex-i "/etc/squid/malware_block_list.txt"
# Access Denied
http_access deny malware_block_list
# Redirect message - (You can make your own)
deny_info http://malware.hiperlinks.com.br/denied.shtml malware_block_list
wget -O - http://malware.hiperlinks.com.br/cgi/submit?action=list_squid > /etc/squid/malware_block_list.txt
* 00,06 * * * wget -O - http://malware.hiperlinks.com.br/cgi/submit?action=list_squid > /etc/squid/malware_block_list.txt
service squid reload
Have a question about something in this article? You can receive help directly from the article author. Sign up for a free trial to get started.
Comments (2)
Author
Commented:Thanks for warning me of the errors of my article, this was my first article that I wrote in my whole life:)
I changed my article, I ask you to verify that it is within the guidelines set by you.
If not, please let me know so I can re-edit it.
Thanks for your help
Regards
André Bolinhas
Commented:
acl malware_block_list url_regex -i "/etc/squid/malware_block_