From 171e2669a056ce49d1b9de2ec7740097b5eb1a80 Mon Sep 17 00:00:00 2001 From: John W Kerns Date: Sat, 2 Sep 2017 00:09:28 -0700 Subject: [PATCH] Added TCP80 Talker --- README.md | 2 -- checkmyip.py | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index 04119b7..396f858 100644 --- a/README.md +++ b/README.md @@ -31,8 +31,6 @@ To enable the use of this service as a simple API, the response to queries is fo ### INSTALL PROCESS ### If you would rather set up your own private instance of CheckMyIP, then you can follow the below instructions to set it up for yourself. - - Change Linux SSH Port to TCP 222 and reboot ``` sudo sed -i --follow-symlinks 's/#Port 22/Port 222/g' /etc/ssh/sshd_config diff --git a/checkmyip.py b/checkmyip.py index b961eed..f101d6e 100644 --- a/checkmyip.py +++ b/checkmyip.py @@ -185,7 +185,7 @@ def ssh_talker(client, valdict): def start(): - talkers = {22: ssh_talker, 23: telnet_talker} + talkers = {22: ssh_talker, 23: telnet_talker, 80: telnet_talker} for talker in talkers: thread = threading.Thread(target=listener, args=(talker, talkers[talker])) thread.daemon = True