Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 1866 → Rev 1867

/alcasar.sh
1555,7 → 1555,7
expand-hosts
bogus-priv
filterwin2k
ipset=/#/whitelist_ip_allowed # dynamicly add the resolv IP address in the Firewall rules
ipset=/#/wl_ip_allowed # dynamicly add the resolv IP address in the Firewall rules
address=/#/$PRIVATE_IP # for Domain name without local resolution (WL)
EOF
# 4th dnsmasq listen on udp 56 ("blackhole")
1708,6 → 1708,14
EOF
 
 
# Enabling update for BL/WL categories with rsync
cat << EOF > /etc/cron.d/alcasar-update-cat
# update malware category every twelve hours
* 0-23/12 * * * /usr/local/bin/alcasar-bl.sh --update-cat malware rsync://ftp.ut-capitole.fr/blacklist/dest/malware > /dev/null 2>&1
EOF
 
chown root:apache /etc/cron.d/alcasar-update-cat
 
# removing the users crons
rm -f /var/spool/cron/*
} # End cron