EldoS | Feel safer!

Software components for data protection, secure storage and transfer

SSH Client and IdHTTP [tunneling]

Also by EldoS: CallbackFilter
A component to monitor and control disk activity, track file and directory operations (create, read, write, rename etc.), alter file data, encrypt files, create virtual files.
#7353
Posted: 08/18/2008 12:45:13
by mordek (Basic support level)
Joined: 08/18/2008
Posts: 5

Hi!
Can you tell me where can I find example how to link together SecureBlackBox SSH Client and Indy HTTP? I need to do tunneling HTTP over SSH. I didn`t find this in the knowledgebase, maybe somebody can help me?
I use BDS2006, Indy 10 and SecureBlackBox 6.0.144 trial.
#7354
Posted: 08/18/2008 13:07:18
by Eugene Mayevski (EldoS Corp.)

I can't easily imagine how one would tunnel HTTP communications over SSH. Do you have an idea of how this should work? If you describe how the design looks like, we will be able to tell you, how this can be implemented using SecureBlackbox. "Tunneling HTTP over SSH" isnot enough to give you any information because HTTP is not normally tunneled over SSH.


Sincerely yours
Eugene Mayevski
#7355
Posted: 08/18/2008 13:18:56
by mordek (Basic support level)
Joined: 08/18/2008
Posts: 5

I want to do something like in [URL=http://jstrassburg.blogspot.com/2006/01/howto-tunneling-http-over-ssh-with-dd.html]THIS[/URL] tutorial. They use dynamic forward, is it possible to do this with SecureBlackBox?
#7356
Posted: 08/18/2008 14:04:11
by Eugene Mayevski (EldoS Corp.)

You would need to write a small SOCKS server which will accept incoming connections and create tunnels dymnamically. The second part can be done with SecureBlackbox. SOCKS server is not a big problem if you have experience with sockets.


Sincerely yours
Eugene Mayevski
#7357
Posted: 08/18/2008 14:10:59
by mordek (Basic support level)
Joined: 08/18/2008
Posts: 5

In programming sockets under C++ yes, but under Delphi erm... not so good ;). Can I use IdSocksServer to do SOCKS server?
#7360
Posted: 08/19/2008 01:18:01
by Eugene Mayevski (EldoS Corp.)

Quote
mordek wrote:
Can I use IdSocksServer to do SOCKS server?


Yes, but this is not trivial. You can't use IdSocksServer out of the box because it creates a client connection to the requested remote host. This means that you have two choices:
a) create your own socks server using indy code as an example
b) create a descendant from TIdSocksServer class and override ClientConnect method in your descendant. Your implementation of the method should establish and use SSH connection.


Sincerely yours
Eugene Mayevski
#7361
Posted: 08/19/2008 07:26:13
by mordek (Basic support level)
Joined: 08/18/2008
Posts: 5

Ok i will try to do this... but even small example could be very useful :>
#7363
Posted: 08/19/2008 12:49:34
by Eugene Mayevski (EldoS Corp.)

I think your idea makes sense (in the long term) so we would probably implement some dynamic tunneling with SOCKS support. In future. Probably in SecureBlackbox 7.0 or 7.1.


Sincerely yours
Eugene Mayevski
#7364
Posted: 08/19/2008 13:22:39
by mordek (Basic support level)
Joined: 08/18/2008
Posts: 5

Thank you ;) That`s very nice information ^_^
As I said before, I`ll try to do something by myself, maybe I could do working application :D Will see...
Also by EldoS: CallbackRegistry
A component to monitor and control Windows registry access and create virtual registry keys.

Reply

Statistics

Topic viewed 3916 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!