From owner-freebsd-questions@FreeBSD.ORG Thu Jun 10 08:52:55 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 26C6916A4CE for ; Thu, 10 Jun 2004 08:52:55 +0000 (GMT) Received: from natsmtp00.rzone.de (natsmtp00.rzone.de [81.169.145.165]) by mx1.FreeBSD.org (Postfix) with ESMTP id 56C6C43D53 for ; Thu, 10 Jun 2004 08:52:54 +0000 (GMT) (envelope-from Robert.Eckardt@Robert-Eckardt.de) Received: from quasar.eckardt.org (pD951A6A1.dip.t-dialin.net [217.81.166.161]) by post.webmailer.de (8.12.10/8.12.10) with ESMTP id i5A8qpgQ024878 for ; Thu, 10 Jun 2004 10:52:52 +0200 (MEST) Received: from www.eckardt.org (localhost.eckardt.org [127.0.0.1]) by quasar.eckardt.org (8.12.10/8.12.10) with ESMTP id i5A8qpmF094618 for ; Thu, 10 Jun 2004 10:52:51 +0200 (CEST) (envelope-from Robert.Eckardt@Robert-Eckardt.de) From: "Robert Eckardt" To: questions@freebsd.org Date: Thu, 10 Jun 2004 10:52:51 +0200 Message-Id: <20040610081553.M38018@Robert-Eckardt.de> In-Reply-To: <20040607200431.M21703@Robert-Eckardt.de> References: <20040607200431.M21703@Robert-Eckardt.de> X-Mailer: Open WebMail 2.21 20031110 X-OriginatingIP: 192.168.0.1 (roberte) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Subject: HTTPtunnel hangs with proxy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jun 2004 08:52:55 -0000 Hello, has someone got an idea, what I'm doing wrong? I'm trying to get httptunnel to work via a proxy. I have observed the following behaviour under FBSD-4.5R as well as under 5.2.1R, with apache-2.0.48_1 as well as with apache-1.3.22_7 and with httptunnel-3.3 as well as with httptunnel-3.0.5. Finally, I reduced it to the following setting: (I tried different options for proxy-buffer size und -timeout without any effect): telnet 127.0.0.1 2023 | htc -F 2023 -P 127.0.0.1:80 127.0.0.1:8080 || httpd (as the proxy and at least my Netscape is happy) || hts -F 127.0.0.1:23 8080 | telnetd After the connect to htc I get no further reaction from telnet. I can send a CR to htc, where it simply sits around. All connections are in state ESTABLISHED, only the one to telnetd does not exist at that time. htc waits in a read for reply from the proxy, while hts at the same time also waits for data from the proxy on the first of two connections. The proxy has two connections open to either htc and hts, but in the Log of hts there is only the first of them noted. (htc sent a POST and a GET and waits now for the reply to the GET. The proxy, however, sent the GET to hts on the second connection, whereas hts waits in a read in the first one.) Only after killing htc the proxy sends its data to hts, which then in turn opens the connection to telnetd and (after stopping hts) closes it again. Has someone out there successfully got such a setting (httptunnel via a proxy) working? How do I get httptunnel to get the proxy to forward the data (POST-request) immediately? Does anyone now of an alternative to httptunnel? (I tried htun-0.9.5 but gave up as it's too hard Linux-style.) Unneccessary to note, but without proxy the connection works fine. Regards and thanks, Robert