[moinmoin] Only permit subscriptions from ENS, don't allow public navigation

Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
certbot_on_virtu
Yohann D'ANELLO 2021-03-15 10:47:21 +01:00 committed by ynerant
parent 7cff2ba05b
commit ca2d38042a
1 changed files with 1 additions and 3 deletions

View File

@ -156,7 +156,6 @@ class Config(FarmConfig):
'172.16.0.0/16', # IPv4 local
'100.64.0.0/10', # IPv4 adherents
'2a0c:700::/32', # IPv6 Crans
'138.231.0.0/16', # IPv4 ENS
'45.66.108.0/22', # IPv4 Aurore
'2a09:6840::/32', # IPv6 Aurore
],
@ -177,8 +176,7 @@ class Config(FarmConfig):
or ip.startswith('185.230.78.') \
or ip.startswith('185.230.79.') \
or ip.startswith('172.16.') \
or ip.startswith('100.64.') \
or ip.startwith('138.231.') \
or ip.startwith('138.231.') \ # IPv4 ENS
or ip.startwith('45.66.108.') \
or ip.startwith('45.66.109.') \
or ip.startwith('45.66.110.') \