From 426f46dd6f202364110f749a7ce0f2ca53026d43 Mon Sep 17 00:00:00 2001 From: Pantelis Roditis Date: Wed, 25 Nov 2026 17:14:33 +0200 Subject: [PATCH 1/3] add maintenance page --- contrib/maintenance.html | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 contrib/maintenance.html diff --git a/contrib/maintenance.html b/contrib/maintenance.html new file mode 100644 index 000000000..40847a342 --- /dev/null +++ b/contrib/maintenance.html @@ -0,0 +1,31 @@ + + + + + + +Scheduled maintenance + + + +
+ + +

We will be right back

+

The platform is undergoing scheduled maintenance and infrastructure updates. + Your progress is safe. Please check back in a little while.

+

Updates: Discord

+
+ + From fe1ca6f6d40c8d4ee20b9e64475282b5c65f9d71 Mon Sep 17 00:00:00 2001 From: Pantelis Roditis Date: Wed, 25 Nov 2026 17:14:51 +0200 Subject: [PATCH 2/3] update downtime to not cache the maintenance --- ansible/templates/dt.conf.j2 | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ansible/templates/dt.conf.j2 b/ansible/templates/dt.conf.j2 index 877b44e61..df312ddb0 100644 --- a/ansible/templates/dt.conf.j2 +++ b/ansible/templates/dt.conf.j2 @@ -56,10 +56,7 @@ http { } error_page 503 @maintenance; location @maintenance { - add_header Strict-Transport-Security "max-age=63072000; includeSubDomains"; - add_header X-Frame-Options DENY; - add_header X-Content-Type-Options nosniff; - add_header X-XSS-Protection "1; mode=block"; + add_header Cache-Control "no-store" always; add_header Retry-After 600 always; rewrite ^(.*)$ /index.html break; } From 314e9f3e1c6ffa53cf017cd0beae1d4a6785bafa Mon Sep 17 00:00:00 2001 From: Pantelis Roditis Date: Wed, 25 Nov 2026 17:15:25 +0200 Subject: [PATCH 3/3] add hetzner missing AS numbers and introduce exclusion list --- contrib/scripts/cloudblock.sh | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/contrib/scripts/cloudblock.sh b/contrib/scripts/cloudblock.sh index 0ba50b6f4..222b187fc 100644 --- a/contrib/scripts/cloudblock.sh +++ b/contrib/scripts/cloudblock.sh @@ -17,7 +17,7 @@ az=$(ftp -Vo - "https://www.microsoft.com/en-us/download/details.aspx?id=56519" [ -n "$az" ] || { echo "azure url not found" >&2; exit 1; } ftp -Vo "$d/azure.json" "$az" -for as in 16276 24940 51167 12876 9009 49505 53667 23470 62240 60068 396356 210644; do +for as in 16276 24940 51167 12876 9009 49505 53667 23470 62240 60068 396356 210644 213230 212317 215859; do bgpq4 -S RIPE,APNIC,ARIN,LACNIC,AFRINIC -F "%n/%l\n" AS$as >> "$d/asn.txt" bgpq4 -S RIPE,APNIC,ARIN,LACNIC,AFRINIC -6F "%n/%l\n" AS$as >> "$d/asn.txt" done @@ -53,5 +53,12 @@ n=$(wc -l < "$d/out.txt") [ "$n" -ge 5000 ] || { echo "refusing: only $n prefixes" >&2; exit 1; } grep -qE '^(0\.0\.0\.0/0|::/0)$' "$d/out.txt" && { echo "default route in list" >&2; exit 1; } -install -m 0644 "$d/out.txt" /etc/pf/cloudblock.txt -pfctl -t cloudblock -T replace -f /etc/pf/cloudblock.txt \ No newline at end of file +allow=/etc/pf/cloudblock-exclude.conf +if [ -s "$allow" ]; then + # strip comments/blank lines/whitespace, prefix each entry with '!' + sed -e 's/#.*//' -e 's/[[:space:]]//g' -e '/^$/d' -e 's/^/!/' "$allow" \ + >> "$d/out.txt" +fi + +install -m 0644 "$d/out.txt" /etc/pf/cloudblock.conf +pfctl -t cloudblock -T replace -f /etc/pf/cloudblock.conf