From 84040e56f8523364027d32d8b9c95e23987fa441 Mon Sep 17 00:00:00 2001 From: ChiefGyk Date: Wed, 29 Jun 2016 20:14:07 -0400 Subject: [PATCH] fixes --- conf/blacklist | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/conf/blacklist b/conf/blacklist index 0a3b88b0..71e67abf 100644 --- a/conf/blacklist +++ b/conf/blacklist @@ -1,13 +1,12 @@ -# I found this script somewhere a long time ago and modified it #!/bin/bash IPTABLES=/sbin/iptables URL=http://feeds.dshield.org/block.txt FILE=/tmp/dshield_block.text CHAIN=dshield + IP_TMP=/tmp/ip.tmp IP_BLACKLIST=/etc/ip-blacklist.conf IP_BLACKLIST_TMP=/tmp/ip-blacklist.tmp -IP_BLACKLIST_CUSTOM=/etc/ip-blacklist-custom.conf # optional BLACKLISTS=( # Project Honey Pot Directory of Dictionary Attacker IPs "http://www.projecthoneypot.org/list_of_ips.php?t=d&rss=1" @@ -104,5 +103,4 @@ echo "Done!" unlink $FILE # Persistence -ipset save > /etc/ipset.up.rules -iptables-save > /etc/iptables.up.rules \ No newline at end of file +invoke-rc.d iptables-persistent save \ No newline at end of file