Basic Question on Client Connection

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
SteveHodges
Posts: 3
Joined: Thu 15 Dec 2011 01:01
Location: United States

Basic Question on Client Connection

Post by SteveHodges » Thu 15 Dec 2011 04:06

This is my first day using the product and have been going through the manual. I am testing with the simpleSSHServer and SSHClient.

The client connects to the server, I tried to define port forwarding on port 80 and have tried 5060 (One of my target project ports). And the port forward starts, after pressing the create new connection it creates the connection for a second and then disconnects.

The client local side (From Host) is set to localhost(127.0.0.1)

SteveHodges
Posts: 3
Joined: Thu 15 Dec 2011 01:01
Location: United States

Post by SteveHodges » Fri 16 Dec 2011 03:54

Ok... Further testing shows that if I send made the destination port 80 or 443 it keeps a connection. If I try any other port they do not stay connected. What are the rules around defined ports?

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Fri 16 Dec 2011 13:23

If destination port is open and is listening for an incoming connection, like port 80 by http server, then connection stays open. But if server cannot connect to the destination port, then connection with SSH client is closed.

SteveHodges
Posts: 3
Joined: Thu 15 Dec 2011 01:01
Location: United States

Post by SteveHodges » Fri 16 Dec 2011 15:25

Port 5060 and port 5061 are SIP Connections and you do not connect unless you have a call. How can we create a tunnel that is waiting on the TCP/UDP/TLS packet to transmit without connecting to the server. More like a pass-thru type connection

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Tue 20 Dec 2011 10:48

In the local port forwarding mode, the TScSSHChannel component doesn't establish channel with SSH server until some incoming connection comes to the TScSSHChannel source port.

Post Reply