From 5fd6b0c05fbd4d55386e529e14925a0440ecf58e Mon Sep 17 00:00:00 2001 From: Nils <32552517+byReqz@users.noreply.github.com> Date: Mon, 15 Feb 2021 14:12:34 +0000 Subject: [PATCH] Update README.md --- README.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/README.md b/README.md index 44c7b75..79f5fda 100644 --- a/README.md +++ b/README.md @@ -40,3 +40,31 @@ chmod +x conn.sh && ./conn.sh `` 3. optionally alias it
``alias conn="~/conn.sh"`` + +# sample output +```bash +checking connection status for localhost +-------------------Availability---------------------- +localhost is alive (545 ms) +note: this seems to be a linux machine +----------------------------------------------------- +-------------------Portscan--------------------- +Starting Nmap 7.91 ( https://nmap.org ) at 2021-02-15 15:07 CET +Nmap scan report for localhost (127.0.0.1) +Host is up, received user-set (0.047s latency). +Other addresses for localhost (not scanned): ::1 +Not shown: 998 closed ports +Reason: 998 conn-refused +PORT STATE SERVICE REASON +22/tcp open ssh syn-ack +631/tcp open ipp syn-ack +Nmap done: 1 IP address (1 host up) scanned in 3.23 seconds + +localhost : [0], 64 bytes, 0.185 ms (0.185 avg, 0% loss) +localhost : [1], 64 bytes, 0.058 ms (0.122 avg, 0% loss) +localhost : [2], 64 bytes, 0.060 ms (0.101 avg, 0% loss) +localhost : [3], 64 bytes, 0.081 ms (0.096 avg, 0% loss) + +localhost : xmt/rcv/%loss = 4/4/0%, min/avg/max = 0.058/0.096/0.185 +------------------------------------------------ +```