Skip to content

Commit a5db307

Browse files
Merge pull request #2103 from n0rs3/fix/checkport_references
Update Checkport references
2 parents 0f3181e + ffcb694 commit a5db307

1 file changed

Lines changed: 5 additions & 9 deletions

File tree

bin/ncp-diag

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -70,15 +70,11 @@ echo "Internet check|$( ping -W 2 -w 1 -q github.com &>/dev/null && echo ok || e
7070

7171
function is_port_open()
7272
{
73-
# The URL leads to an application I've deployed for NCP on https://fly.io using a Docker container I made.
74-
# The image for the container is available on Docker Hub (zendai/checkport:sanic) if you wish to deploy one yourself.
75-
# The code for the Sanic server and Docker image is available at: https://github.com/ZendaiOwl/Build/tree/master/Docker/Python/Sanic/checkport
76-
# I only have a free tier with limited outbound data per month, 100GB p/month.
77-
# If we go over 100GB outbound data in a month, I will start being charged for the data going over that limit.
78-
# I used a low level Python socket library & fortunately each request only consumes aprox. ~ 60-74 bytes p/second.
79-
# Meaning 100GB should be plenty, it should be enough to handle a little less
80-
# than 450 request p/second a month, unless my calculations are wrong.
81-
# Thank you :pray: from Victor-ray, S. https://github.com/ZendaiOwl
73+
# Checkport is deployed at fly.io by Victor-ray, S. for NextcloudPi.
74+
# Repo: https://gitbox.zendai.net.eu.org/n0rs3/checkport
75+
# docker.io/zendai/checkport:sanic
76+
# Please don't abuse it :pray:
77+
# It's deployed with free limits on my personal account and can handle a little less than 450 request p/second before I get charged extra.
8278
local -r PORTURL="https://checkport.zendai.net.eu.org/check"
8379
local TYPE="${1?}" IPType
8480
# Checks both port 80 & 443 for IPv4/IPv6 and returns the result or [N/A] [N/A]

0 commit comments

Comments
 (0)