Added spacebear.ee-IPs to ignore-list.
This commit is contained in:
parent
d0cff5bc36
commit
be26298117
|
@ -4,7 +4,7 @@
|
||||||
# BE CAREFUL: Some instances may run under a shared IP, you may block more than
|
# 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.
|
# 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
|
# You can modify the ignore-list in
|
||||||
# "${XDG_CONFIG_HOME}/firewall_pleroma_rejects/ignorelist.user",
|
# "${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}"
|
local domain="${2}"
|
||||||
# Regular expressions of IPs to ignore.
|
# Regular expressions of IPs to ignore.
|
||||||
local -a ignorelist=(
|
local -a ignorelist=(
|
||||||
"^2001:41d0:302:1100:" # masto.host
|
"^2001:41d0:302:1100:" # masto.host shared IPs
|
||||||
"^217\.182\.80\.236$"
|
"^217\.182\.80\.236$"
|
||||||
"^178\.33\.220\.14[0-3]$"
|
"^178\.33\.220\.14[0-3]$"
|
||||||
"^176\.31\.213\.22[89]$"
|
"^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
|
"^131\.0\.7[2-5]\." # CloudFlare 131.0.72.0/22
|
||||||
"^2602:ffdb:100:1:fc89:b2ff:fe77:1664$" # Shared IPs: pleroma.site,
|
"^2602:ffdb:100:1:fc89:b2ff:fe77:1664$" # Shared IPs: pleroma.site,
|
||||||
"^172\.93\.5\.40$" # juche.town
|
"^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.
|
# Read and apply user modifications to ignorelist.
|
||||||
|
|
Loading…
Reference in New Issue