Browse Source

Fetch from blocklist.de too

Edvinas Valatka 9 years ago
parent
commit
ef22eaed23
1 changed files with 5 additions and 0 deletions
  1. 5 0
      e-badips

+ 5 - 0
e-badips

@@ -11,3 +11,8 @@ curl -f -s -S -m 60 -o $tmp "https://www.badips.com/get/list/${banservice}/${ban
 while read -r ip ; do
     ipset -! add ${banset} ${ip} timeout $banttl
 done < $tmp
+
+curl -f -s -S -m 60 -o $tmp  "http://api.blocklist.de/getlast.php?time=3600&service=all"
+while read -r ip ; do
+    ipset -! add ${banset} ${ip} timeout $banttl
+done < $tmp