holzschu / holzschu/a-shell

Possible issue with Netcat and Telnet installed on a-shell

Open
#534 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Perl
Stars
3.9k
Forks
213
Avg merge
1m
Merged PRs (30d)
1

Description

Hi,
This is a great app! I am now able to do a lot of network troubleshooting with just my iPad instead of dragging a laptop along.

I was playing around with Netcat and decided to port scan one of my servers from a random IP address that would normally be blocked by the server's firewall. Oddly, it found port 21 (ftp) was open. So I used telnet to test the port and telnet showed the connection succeeded. I found this odd because there is no ftp server installed on the server and all ports except for 80 and 443 are blocked.

I tried this from my Mac and could NOT connect with telnet and Netcat said port 21 was not open.
I even logged into the server and tried telnetting to port 21 on localhost and it showed connection failed (as it should with no ftp service).
After running around in circles trying to figure this out, I opened a-shell again and I tried telnetting to a bogus IP address (1.3.2.1) on port 21 and it showed connected. Then I used Netcat to scan port 21 and it told me it was open!

Any idea what might be happening?
I'll try and attach a screenshot.

![IMG_2191](https://user-images.githubusercontent.com/12983239/210874185-a9c9fb15-f59b-48b7-8008-04960ed1daf8.PNG)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.