From owner-freebsd-questions Wed Apr 17 16: 5:43 2002 Delivered-To: freebsd-questions@freebsd.org Received: from zebra.siol.net (zebra.siol.net [193.189.160.16]) by hub.freebsd.org (Postfix) with ESMTP id 8AF5F37B417 for ; Wed, 17 Apr 2002 16:05:39 -0700 (PDT) Received: from [193.189.160.17] by zebra.siol.net (InterMail vK.4.03.04.00 201-232-130 license 5ac1ec526f2360901e54ffce7671dc4c) with ESMTP id <20020417230436.XKF10347.zebra@[193.189.160.17]> for ; Thu, 18 Apr 2002 01:04:36 +0200 From: Marko R To: freebsd-questions@freebsd.org Subject: on the fly compression Date: Thu, 18 Apr 2002 1:08:46 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-Id: <20020417230436.XKF10347.zebra@[193.189.160.17]> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello! I guess most of you (if not all of you) knows datapipe thing. You bind the socket on some local port and when connection request arrives it pipes that connection to some remote host and remote port. Very useful. What I need is the same thing but with compression (like gzip or something). It would take data from incoming socket, gzip it and pipe it to outgoing socket. And vice versa. I know ircd uses this when links to another ircd server. Has something to do with minimizing bandwidth usage just what I'd like to do :) Any URLs with such projects allready done or ideas how to do this (maybe some long shell command using netcat and gzip could do it but it has to be bi-directional!) are welcome. Thank you! ps: since I'm not member of mailing list a CC to me would be appretiated :-) Lep pozdrav, Marko Rizvic <><><><><><><><><><><><><><><><><><><><><><><><><><> SLOVENIJA ONLINE tel: (01) 473-00-00 SiOL internet d.o.o. fax: (01) 473-00-17 Cigaletova 15 tehnicna pomoc: 080 1000 1000 Ljubljana e-posta: info@siol.net, http://www.siol.net <><><><><><><><><><><><><><><><><><><><><><><><><><> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message