isontheline / pro.webssh.net

iOS / iPadOS / macOS SSH Client
https://apps.apple.com/us/app/id497714887
MIT License
317 stars 46 forks source link

IPv6 : Unable to show host availability #945

Closed DorianCoding closed 1 month ago

DorianCoding commented 1 year ago

Bug description

Put here a clear and concise description of what the bug is Hello,

I always get a red flag when connecting to my servers whereas the connection is possible. I don’t if it is a ping or something that may be blocked by the server?

Screenshots

If applicable, add screenshots to help explain your problem IMG_5819

Steps to reproduce

  1. Try to connect to a server
  2. Error is thrown
isontheline commented 1 year ago

Thanks for your feedback @DorianCoding 🙏

Availability is done yet by checking the SSH port is opened or not. Ping availability checkup is not yet implemented.

Red flag but connecting is possible or not at all? If not : could you post the root cause from the logs?

DorianCoding commented 1 year ago

Availability is done yet by checking the SSH port is opened or not. Ping availability checkup is not yet implemented.

Red flag but connecting is possible or not at all?

Yes connection is perfectly possible, this is why I am kinda skeptical as the port is definitely open and there is no port knocking.

OpenSSH_for_Windows_8.1p1, LibreSSL 3.0.2 debug1: Reading configuration data C:\\Users\\FIJITSU/.ssh/config debug1: Connecting to xxxxxx [2a01:xxxxxxxx] port 22. debug1: Connection established.

NB : Is the check done using ipv4 or ipv6? Because I'm connecting using ipv6 and ipv4 "port" is indeed closed. If it is the cause, I guess availability should be done trying both, starting with the preference set.

isontheline commented 1 year ago

Thanks @DorianCoding

Any firewall or application filter on the server side?

On your computer (not server side) what about : nmap -p22 yourhost

If 22 is your port

isontheline commented 1 year ago

Good spot @DorianCoding !

You seems right about IPv4/6 I think I'm not doing the good job.

I will fix it so 😉

isontheline commented 1 month ago

Latest WebSSH beta release should fix this issue : https://testflight.apple.com/join/QSrBK59z

isontheline commented 1 month ago

Not (yet) available :( Build error

isontheline commented 1 month ago

Now ready : https://testflight.apple.com/join/QSrBK59z