SSH Server - Zombie TCP connections

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
Daniele Buttarelli
Posts: 56
Joined: Fri 02 Aug 2013 07:51

SSH Server - Zombie TCP connections

Post by Daniele Buttarelli » Wed 29 Mar 2017 15:11

My environment:
Delphi XE7
SecureBridge 6.4.7
Windows Server 2008 R2

It often happens that, after stopping the SSH server, the TCP port is not released.
It results in a zombie TCP connection.
TCPView for Windows show the process as "<non-existent>".
After that, if I try to run the SSH server, I get the exception " Socket error on binding. WSAGetLastError return 10048($2740)".

Here my log:
29/03/2017 14.56.30 Socket error on binding. WSAGetLastError return 10048($2740)
Only one usage of each socket address (protocol/network address/port) is normally permitted.

How can solve this problem?

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: SSH Server - Zombie TCP connections

Post by ViktorV » Thu 30 Mar 2017 11:27

Unfortunately, we could not reproduce the issue on the latest SecureBridge 7.3.4 version.
Please make sure that the issue is reproduced on SecureBridge 7.3.4 version and check whether the problem is reproduced on our SimpleSSHServer demo project. You can find the SimpleSSHServer project in the %SecureBridgeDemos%\SFTPClient directory. %SecureBridgeDemos% is the SecureBridge Demo projects installation path on your computer.

Post Reply