Search squid archive

Re: Block Lists

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This one i have, I mainly need a list to block porn sites.

Do you have one ?


++++++++++++++++++++++++

> Here is how I do it....
> 1) Stick a line in /etc/crontab (chose a different time than mine)
> 
> 13  */4   *    *   *   root  /scripts/malware_block_list.sh > /dev/null 2>&1
> 
> 2) /scripts/malware_block_list.sh contains:
> 
> <--cut-->
> 
> #!/bin/sh
> usr/local/bin/wget -O - http://malware.hiperlinks.com.br/cgi/submit?action=list_squid > \
> /usr/local/etc/squid/malware_block_list.txt
> /usr/local/sbin/squid -k reconfigure
> 
> <--cut here-->
> 
> 
> In squid.conf, you need to use an ACL to block the sites:
> 
> acl malware_block_list url_regex -i \
> "/usr/local/etc/squid/malware_block_list.txt"
> 
> http_access deny malware_block_list
> deny_info http://malware.hiperlinks.com.br/denied.shtml malware_block_list
> 
> PS: The funny part of all this is that it's maintained in your country 
> ;)



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux