Sunday, December 23, 2007

Squid - Malware protection { Msyamsuri }

masukkan dalam squid.conf

acl malware_block_list url_regex -i "/etc/squid/malware_block_list.txt"
http_access deny malware_block_list
deny_info http://malware.hiperlinks.com.br/denied.shtml malware_block_list

buat skrip dalam /etc/squid/malware.script dan masukkan

#!/bin/sh
wget -O - \
http://malware.hiperlinks.com.br/cgi/submitaction=list_squid > \
/etc/squid/malware_block_list.txt
squid -k reconfigure


save dan chmod 755

buat cron 2 jam sekali utk run /etc/squid/malware.script

No comments:

 Simple Python Calculator This script will allows your to calculate the integers given with the chosen operation. You can add, substract, mu...