1. locusok
    locusok July 3, 2006 at 08:04 . Reply

    haha thanks

  2. Thejipster
    Thejipster September 12, 2006 at 20:27 . Reply

    You need to set the HTTP keepalive option in Putty to keep an HTTP session going, otherwise you would loose the connection after a pre-defined timeout interval set by the proxy.

  3. Lorenzo
    Lorenzo October 11, 2006 at 04:21 . Reply

    Don’t know why, but it seems the version of cygwin that comes with the latest openssh does not work along with the one who comes with httptunnel.
    At beginning, i used httptunnel alone and it seemed to work. After that, I tried installing OpenSSH, and then httptunnel began complaining about it having an older version of cygwin1.dll.
    Following the on-screen suggestions, I’ve updated to the latest cygwin from cygwin.com and updated all the .dll to the latest rev..
    Now .. there’s no way to make httptunnel to work: when I launch HTS, it just hangs.
    removing-Reinstalling cygwin does not solve the issue.
    Please, give me some advice, thanks!

  4. michu
    michu October 14, 2006 at 13:55 . Reply

    you could use openssh and httptunnel in different directories, windows allways looks in the current directory for the dll.

  5. Lorenzo
    Lorenzo October 16, 2006 at 02:45 . Reply

    I fixed the issue (installed on fresh machine) but…
    whenever I use SSH or openvpn (in tcp of course) HTC process dies.. any hint?
    (using the same cygwin1.dll that came with it)

  6. Michu
    Michu October 16, 2006 at 09:14 . Reply

    You could use filemon from sysinternals to check if you miss some files…

  7. Lorenzo
    Lorenzo October 18, 2006 at 03:41 . Reply

    I’m sure I’m not missing any file because the HTTPTunnel does actually work, as long as I don’t use it for ‘complex’ traffic like SSH or OpenVPN.
    The process remains alive until I open Putty and connect to the localhost:forwardedport or openvpn (same), at wich point HTC simply disappears from the process list (and the tunnel closes of course..)

  8. michu
    michu October 18, 2006 at 09:11 . Reply

    I will release a debug build of htc, this should help to trace some issues

  9. Lorenzo
    Lorenzo October 22, 2006 at 23:06 . Reply

    Thanks for the new build! I’ll try it immediately and I’ll let you know as soon as possibile.
    Again: thanks!

  10. Lorenzo
    Lorenzo November 19, 2006 at 17:48 . Reply

    It seems I had just overlooked the fact that HTTPTunnel does not support NTLM authentication.. and this caused all of the problems.
    A shame, since most firewalls are ISA and they do require NTLM auth.. any chance of having it implemented?
    Thanks again!

  11. michu
    michu November 20, 2006 at 10:34 . Reply

    You could try to use a NTLM proxy: http://apserver.sourceforge.net/ (old website: http://www.geocities.com/rozmanov/ntlm/). Good luck!

  12. raleks
    raleks March 27, 2009 at 13:25 . Reply
  13. StarTroll
    StarTroll May 14, 2009 at 11:31 . Reply

    I’m trying to get through my company firewall. Until recently I could just use PuTTY to set-up a connection to my home sshd and everything was fine. But now the proxy’s configuration has been changed. It seems that the proxy blocks the http_connect command. And it also uses NTLM authentication.

    So, I’ve installed CygWin on my WinXP work PC. In CygWin I’ve installed NTLMAPS, which creates a ‘normal’ HTTP proxy. NTLMAPS connects to the company proxy. This sort of transforms the NTLM proxy into a regular one. My plan was to use HTTPTunnel to connect to my home server (running hts) through the NTLMAPS proxy. This way, I can still use HTTPTunnel (which doesn’t understand NTLM) to bypass the http_connect restriction.

    The NTLMAPS proxy works, I can have my Firefox connect through it and receive pages (although it’s slower of course than directly through the company proxy).

    But, like Lorenzo, when I try to have ssh use the hts-htc tunnel, the htc client dies with any error message. Seeing the htc is connected to NTLMAPS, it shouldn’t see the NTLM authentication at all, so I doubt Lorenzo’s conclusion is correct, I fear that there is a different problem.

    Does anyone have an idea?

  14. Adam
    Adam July 30, 2009 at 15:49 . Reply

    Having similar problems trying to connect through an ISA proxy… any chance you could post a link to your Visual Studio project files & Windows source to allow us to debug more fully?

  15. michu
    michu July 31, 2009 at 18:01 . Reply

    hey adam, there is no vs project file as this is a cygwin port. I guess you have some ntlm issues, you need to authenticate yourself on the isa proxy…

  16. h3liburton
    h3liburton September 6, 2009 at 14:43 . Reply

    How can I lunch my home server behind restricted firewall and router to Internet use by your HTTP tunnel without touch router and firewall.

  17. michu
    michu October 6, 2009 at 23:00 . Reply

    … lunch your homeserver?

  18. miser
    miser November 13, 2009 at 03:08 . Reply

    I personal use super network tunnel, can find it at http://www.networktunnel.net, it’s more easy.

  19. Martik Panosian
    Martik Panosian March 31, 2010 at 05:06 . Reply

    Can I use this to bypass the filtering? im in iran

  20. michu
    michu March 31, 2010 at 08:49 . Reply

    HTTPtunnel itself does NOT encrypt your network traffic – so the answer is NO. But if you use HTTPtunnel with SSH the answer is YES.

  21. Eddie
    Eddie August 19, 2011 at 17:53 . Reply

    I’ve got the server and client running in debug mode and the last line in the client reads:

    http_write_request: GET /index.html?crap=1313771171 HTTP/1.1

    On the server side the last line reads:

    connection from 123.456.789.100:12101

    …and just sits there doing nothing. Any idea what is happening?

    I’ve tried using Telnet to emulate the client and I get a full response when I manually type in an HTTP GET request.

  22. yegorov-p
    yegorov-p December 29, 2012 at 19:41 . Reply

    It seems that hts and htc don’t work on windows 7

  23. Roy
    Roy January 30, 2013 at 15:41 . Reply

    I made pure MinGW build, no cygwin1.dll required!

Leave a Reply

Warning: require_once(/home/httpd/vhosts/pixelinvaders.ch/httpdocs/neophob.com/wp-content/themes/fanwood/sidebar-after-content.php): failed to open stream: Permission denied in /home/httpd/vhosts/pixelinvaders.ch/httpdocs/neophob.com/wp-includes/template.php on line 501 Fatal error: require_once(): Failed opening required '/home/httpd/vhosts/pixelinvaders.ch/httpdocs/neophob.com/wp-content/themes/fanwood/sidebar-after-content.php' (include_path='.:/usr/share/pear:/usr/share/php') in /home/httpd/vhosts/pixelinvaders.ch/httpdocs/neophob.com/wp-includes/template.php on line 501