Skip to content
Snippets Groups Projects
Commit ca2d3804 authored by ynerant's avatar ynerant Committed by ynerant
Browse files

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


Signed-off-by: ynerant's avatarYohann D'ANELLO <ynerant@crans.org>
parent 7cff2ba0
No related branches found
No related tags found
1 merge request!244[moinmoin] Only permit subscriptions from ENS, don't allow public navigation
......@@ -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.') \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment