tunneling for dynamic ports
From: Kishore Karnam (kkarnam_at_yahoo.com)
Date: 12/25/03
- Previous message: Mika Bostrom: "Re: Slow PSCP Transfer Rate"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 25 Dec 2003 09:40:45 -0800
I would like to know how a typical client-server traffic could be made
secure using the SSH tunneling technique. Here is the client-server
model that I have:
1. Client <client_ipaddess, client_dynamic_port> sends a "connect"
message to the well-known port of the server <server_ipaddress,
well_known_server_port>.
2. Server forks a child process and the connection is established
between the child process <server_ipaddress, server_dynamic_port> and
the client <client_ipaddress, client_dynamic_port>.
3. The traffic will flow on the new connection between cleint and
server.
I want to make the initial connection request traffic going from
various clients to the server as well as the actual client-to-server
traffic to be made secure using SSH tunneling.
It would seem to me that the port-forwarding featuin SSH is suitable
for static ports. For dynamic ports, is there a way I can use the port
forwarding feature easily or is there any other feature in SSH that I
could use.
I can think of a kludgy way of doing it:
When the process gets the dynamic port from the OS, it could execute
the "ssh -L .." shell command from the program to specify the dynamic
port to be forwarded.
It might work. I haven't tested it yet. But it just seems kludgy. Is
there a better way of doing it?
Thanks in advance.
-Kishore.
- Previous message: Mika Bostrom: "Re: Slow PSCP Transfer Rate"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|