ソースを参照

Fetch from blocklist.de too

Edvinas Valatka 9 年 前
コミット
ef22eaed23
1 ファイル変更5 行追加0 行削除
  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