EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Multi-Port Forwarding

Also by EldoS: CallbackProcess
A component to control process creation and termination in Windows and .NET applications.
#23944
Posted: 03/05/2013 09:12:07
by Eugene Mayevski (EldoS Corp.)

Note that the code is written in pascal, not in c# as some people expect.


Sincerely yours
Eugene Mayevski
#23945
Posted: 03/05/2013 09:15:19
by Carlton  (Basic support level)
Joined: 02/21/2013
Posts: 45

Would you say that from a coding perspective creating and destroying forwarding Port are easy and quick in Asy then

Tunneling in syn
#23946
Posted: 03/05/2013 09:18:08
by Carlton  (Basic support level)
Joined: 02/21/2013
Posts: 45

I do know pascal. Question Why Pascal and not C++
#23947
Posted: 03/05/2013 09:18:09
by Eugene Mayevski (EldoS Corp.)

The parts of your message were cut somehow. Please complete the message. Thank you.


Sincerely yours
Eugene Mayevski
#23948
Posted: 03/05/2013 09:36:58
by Carlton  (Basic support level)
Joined: 02/21/2013
Posts: 45

I need Asyn communication a not so much synchronous.

The Question is Would Port Forwarding work better than tunneling for what I want to do.

Synchronous takes longer for the port to be set up or destroyed compare to
Asyn operation.



2( The do know pascal. Why did you choose pascal say over C++
for your code.

and is it possible the see the code for the forwarding/tunneling.
#23949
Posted: 03/05/2013 09:40:20
by Eugene Mayevski (EldoS Corp.)

I can only guess what you mean by "tunneling" but port forwarding is the only methods in SSH for building transparent tunnels for connecting between third-party client and server applications (we don't count border cases with custom subsystems here).

Quote
Carlton wrote:
The do know pascal. Why did you choose pascal say over C++ for your code.


As for pascal - the source code was initially written in Pascal. C++ has less portability and is much more complicated.

Quote
Carlton wrote:
and is it possible the see the code for the forwarding/tunneling.


Of course, you can purchase the license and get access to the source code.


Sincerely yours
Eugene Mayevski
#23950
Posted: 03/05/2013 09:52:55
by Carlton  (Basic support level)
Joined: 02/21/2013
Posts: 45

You can do both under SSH Port Forwarding and Tunneling.

Normally more library create a separate SSH Connection for Each Tunnel also
there are separate read and write.

Port Forwarding you can have multiply ports on one SSH connection.
To have third party application access a forwarding port you would setup
a Direct TCP/IP Channel.

Even in the RFC it does look at the Tunnel and the Forward as being the same.

3) What is the price for licensing the source code?
#23951
Posted: 03/05/2013 10:05:50
by Eugene Mayevski (EldoS Corp.)

Quote
Carlton wrote:
Even in the RFC it does look at the Tunnel and the Forward as being the same.


Because they are the same, i.e. they are different sides of one process. One TCP+SSH connection can carry multiple independent SSH channels inside. Some of those channels can tunnel shell data, others tunnel port forwarding, some else tunnel SFTP access. Consequently when you are talking about "port forwarding", you are talking about the process of opening a client port, creating a tunnel within either existing or new SSH connection and forwarding data via that tunnel to the server.


Sincerely yours
Eugene Mayevski
#23952
Posted: 03/05/2013 10:09:35
by Carlton  (Basic support level)
Joined: 02/21/2013
Posts: 45

Is you code Asynchronous or Synchronous or both
#23953
Posted: 03/05/2013 10:23:03
by Eugene Mayevski (EldoS Corp.)

"Our code" is not synchronous or asynchronous. Public methods of TElSSHClient class and supplementary classes are asynchronous, public methods of TElSimpleSSHClient and TElSimple***Forwarding are synchronous (but they are calling asynchronous methods of TElSSHClient and supplementary classes). "Automated" port forwarding in TElSimple***Forwarding is done in separate threads with non-blocking sockets.


Sincerely yours
Eugene Mayevski
Also by EldoS: Rethync
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages

Reply

Statistics

Topic viewed 13891 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!