From d949663649a892dfc049b296495fdf2afddb0446 Mon Sep 17 00:00:00 2001 From: redpine Date: Tue, 5 Dec 2023 14:48:43 -0600 Subject: [PATCH 1/2] Added IPv6 ULA match --- backend/getIP.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/backend/getIP.php b/backend/getIP.php index d82711d5f..a668f515c 100755 --- a/backend/getIP.php +++ b/backend/getIP.php @@ -30,6 +30,11 @@ function getLocalOrPrivateIpInfo($ip) return 'link-local IPv6 access'; } + // fc00::/7 Unique Local IPv6 Unicast Addresses + if (preg_match('/^(fc|fd)([0-9a-f]{0,4}:){1,7}[0-9a-f]{1,4}$/i', $ip) === 1) { + return 'ULA IPv6 access'; + } + // anything within the 127/8 range is localhost ipv4, the ip must start with 127.0 if (strpos($ip, '127.') === 0) { return 'localhost IPv4 access'; From bccdf5ff271e1884a1235040b0851f887775443d Mon Sep 17 00:00:00 2001 From: sstidl Date: Mon, 15 Apr 2024 11:55:58 +0200 Subject: [PATCH 2/2] schedule build once a week --- .github/workflows/docker-publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 6353b50e6..e94945fb2 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -6,8 +6,8 @@ name: Docker # documentation. on: - # schedule: - # - cron: '30 20 * * *' + schedule: + - cron: '00 11 * * Mon' push: branches: ["*"] # Publish semver tags as releases.