EldoS | Feel safer!

Software components for data protection, secure storage and transfer

HTTPS traffic over TElSSHLocalPortForwarding

Also by EldoS: CallbackDisk
Create virtual disks backed by memory or custom location, expose disk images as disks and more.
Posted: 10/23/2011 20:58:03
by jiins (Standard support level)
Joined: 06/27/2011
Posts: 14

Using TElSSHLocalPortForwarding, the tunneled HTTP traffic seems to flow perfectly, but it looks like the HTTP traffic has some some trouble starting, i.e. a HTTPS page will remain blank for a few seconds before starting to appear as normal. Is there anything I can tweak?
Posted: 10/24/2011 02:03:49
by Vsevolod Ievgiienko (EldoS Corp.)

Try to follow instruction described here http://www.eldos.com/security/articles/7122.php First of all you should disable compression because encrypted HTTPS traffic will not be compressed anyway.
Posted: 10/24/2011 05:16:05
by Ken Ivanov (EldoS Corp.)

SSL/TLS negotiation involves several data exchanges between the client and the server (especially comparing to single request-response scheme utilised in plain HTTP). This way, HTTPS requests will always be served slower than HTTP ones.

You can play with the properties of TElSSHLocalPortForwarding object to try to increase the speed. This particularly concerns such properties as Priority and AutoAdjustPriority.

Please also note that the sample can hardly be addressed to resolve real-world tasks due to its low productivity. In particular, we encourage our users to avoid using OnConnection* events for reporting connection state to the main GUI thread wherever possible, as this slows connection speed down drastically. So, if you use this events now, it would be a good idea to remove the handlers and check if it results in productivity increase.



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