소스 검색

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