Compare commits
4 commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
bccdf5ff27 | ||
![]() |
ac1d806490 | ||
![]() |
f5ad810138 | ||
![]() |
d949663649 |
2 changed files with 7 additions and 2 deletions
4
.github/workflows/docker-publish.yml
vendored
4
.github/workflows/docker-publish.yml
vendored
|
@ -6,8 +6,8 @@ name: Docker
|
|||
# documentation.
|
||||
|
||||
on:
|
||||
# schedule:
|
||||
# - cron: '30 20 * * *'
|
||||
schedule:
|
||||
- cron: '00 11 * * Mon'
|
||||
push:
|
||||
branches: ["*"]
|
||||
# Publish semver tags as releases.
|
||||
|
|
|
@ -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';
|
||||
|
|
Loading…
Add table
Reference in a new issue