Edvinas Valatka 9 лет назад
Родитель
Сommit
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
 while read -r ip ; do
     ipset -! add ${banset} ${ip} timeout $banttl
     ipset -! add ${banset} ${ip} timeout $banttl
 done < $tmp
 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