From be26298117e1e35cd0903c032f5d4a34d520897c Mon Sep 17 00:00:00 2001 From: tastytea Date: Sat, 20 Jul 2019 19:42:39 +0200 Subject: [PATCH] Added spacebear.ee-IPs to ignore-list. --- firewall_pleroma_rejects.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/firewall_pleroma_rejects.sh b/firewall_pleroma_rejects.sh index afabbc4..37d4eda 100755 --- a/firewall_pleroma_rejects.sh +++ b/firewall_pleroma_rejects.sh @@ -4,7 +4,7 @@ # BE CAREFUL: Some instances may run under a shared IP, you may block more than # you want. Watch out for timeouts in the logs. No warranties and so on. -# Version: 2019-07-19_1 +# Version: 2019-07-20_1 # You can modify the ignore-list in # "${XDG_CONFIG_HOME}/firewall_pleroma_rejects/ignorelist.user", @@ -51,7 +51,7 @@ function gen_rule() # Generates rule for IP if it is not in ignorelist. local domain="${2}" # Regular expressions of IPs to ignore. local -a ignorelist=( - "^2001:41d0:302:1100:" # masto.host + "^2001:41d0:302:1100:" # masto.host shared IPs "^217\.182\.80\.236$" "^178\.33\.220\.14[0-3]$" "^176\.31\.213\.22[89]$" @@ -98,6 +98,9 @@ function gen_rule() # Generates rule for IP if it is not in ignorelist. "^131\.0\.7[2-5]\." # CloudFlare 131.0.72.0/22 "^2602:ffdb:100:1:fc89:b2ff:fe77:1664$" # Shared IPs: pleroma.site, "^172\.93\.5\.40$" # juche.town + "^91\.121\.101\.53$" # spacebear.ee shared IPs + "^198\.245\.60\.57$" + "^163\.172\.141\.145$" ) # Read and apply user modifications to ignorelist.