bug-httptunnel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

httptunnel with apache


From: Jim Duda
Subject: httptunnel with apache
Date: Sat, 21 Feb 2004 12:15:25 -0500

I'm running on linux, kernel 2.4.21

Has anyone tried using httptunnel through the apache webserver?
I only have 1 TCP port (443) which is common between two
points I want to tunnel.  I need to also serve a web page, so
I need to share apache and httptunnel.

I can successfully connect hts and htc outside of apache
by simple doing ...

hts -F localhost:23
htc -F 8000 localhost:8888

telnet localhost 8000 works.

Now, I try to pass through apache.  I'm using the apache
webserver with vitual hosts.

<VirtualHost *>
  ServerName <myservername>.com
  ProxyPass / http://localhost:8888/
  ProxyPassReverse / http://localhost:8888/
</VirtualHost>

Now, I setup hts and htc as ...

hts -F localhost:23
htc -F 8000 <myservername>.com

When I now do

telnet localhost 8000

I don't get the telnet prompt.  Using netstat, I see the connections
being made to ports 23, 8888, and 8000, however, the htc client
hangs.  In the log messages, I see ...

20040221 113548                 write (7, 0x8051f96, 2) ...
20040221 113548                 ... = 2
20040221 113548                 read (7, 0x8076528, 1) ...

The client simply hangs on the first read.

Has anyone been able to get this to work through apache?

Jim








reply via email to

[Prev in Thread] Current Thread [Next in Thread]