diff --git a/firewall_pleroma_rejects.sh b/firewall_pleroma_rejects.sh index f17c2c4..7358f3d 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. No warranties and so on. -# Version: 2019-07-14_1 +# Version: 2019-07-15_1 # Before you run this script for the first time, run: # nft add table inet fediverse @@ -45,7 +45,10 @@ 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 - "^217\.182\.80\.236$" # masto.host + "^217\.182\.80\.236$" + "^178\.33\.220\.14[0-3]$" + "^176\.31\.213\.22[89]$" + "^176\.31\.213\.23[01]$" "^2a06:98c[0-7]:" # CloudFlare 2a06:98c0::/29 "^2400:cb00:" # CloudFlare 2400:cb00::/32 "^2606:4700:" # CloudFlare 2606:4700::/32