Added spacebear.ee-IPs to ignore-list.

This commit is contained in:
tastytea 2019-07-20 19:42:39 +02:00
parent d0cff5bc36
commit be26298117
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 5 additions and 2 deletions

View File

@ -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.