Hang when connecting to an invalid port

maf at appgate.com maf at appgate.com
Tue Sep 26 06:53:49 MEST 2006


On 25 sep, Guy Gascoigne-Piggford wrote:
> If you try to ssh to a machine using the port of some other service the
> ssh client hangs. For instance if you try to ssh to port 25 (smpt) then
> the connection will hang indefinitely.  The problem appears to be the
> while loop at line 955 in SSH2Transport, when it doesn't read what it
> expects, it will just sit there indefinitely waiting for something that
> it recognizes.

Yes, we know about this.

> Other than "don't do this",   Can you suggest a better way to fix this
> problem?

It will be fixed in 3.1 which should come out pretty soon.

	/MaF
-- 
Martin Forssen <maf at appgate.com>              Development Manager
Phone: +46 31 7744361                         AppGate Network Security AB


More information about the Mindterm-users mailing list