From owner-freebsd-net@FreeBSD.ORG Fri Sep 2 20:05:47 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 340DD16A41F for ; Fri, 2 Sep 2005 20:05:47 +0000 (GMT) (envelope-from oleksandr@samoylyk.sumy.ua) Received: from smtp.chereda.net (share.chereda.net [193.110.16.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8EEB743D58 for ; Fri, 2 Sep 2005 20:05:45 +0000 (GMT) (envelope-from oleksandr@samoylyk.sumy.ua) Received: from [193.110.16.206] (port=1457 helo=localhost) (auth=goldfish) by smtp.chereda.net with asmtp (Chereda.Net MTA) id 1EBHn9-0007Cc-1b; Fri, 02 Sep 2005 23:05:43 +0300 X-AntiVirus: Checked by Dr.Web [version: 4.32b, engine: 4.32b, virus records: 86018, updated: 2.09.2005] Date: Fri, 2 Sep 2005 23:02:45 +0300 From: Oleksandr Samoylyk X-Priority: 3 (Normal) Message-ID: <1736720621.20050902230245@samoylyk.sumy.ua> To: freebsd-net@freebsd.org, freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Chereda-SMTP-helo: localhost X-Chereda-SMTP-host: 193.110.16.206 X-Chereda-SMTP-MAIL: X-Chereda-SMTP-RCPT: X-Chereda-RBL-Score: 0 X-Chereda-Spam-Score: 0.3 X-Chereda-Spam-Report: Spam detection software, running on the system "kva.chereda.net", has identified this incoming email as possible spam. If you have any questions, please contact postmaster@chereda.net for details. Content analysis details: (0.3 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Did not pass through any untrusted hosts -0.1 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 1.1 PRIORITY_NO_NAME Message has priority, but no X-Mailer/User-Agent 0.3 AWL AWL: From: address is in the auto white-list Subject: Compressing/decompressing traffic & cache & unchanged ip X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Oleksandr Samoylyk List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Sep 2005 20:05:47 -0000 Hello World! I've a "strange" idea. Here I've outlined the plan: ======================================================== Compress traffic Uncompress traffic Compress traffic here & cache here ___________ _________ ___________ | | | | | | --| Router | | Our | | Router |-- --| in city1 |-------->| ROUTER |<--------| in city2 |-- |__________| |________| |__________| | | ________________|________________ | | | | | Our clients ======================================================== So, let me describe the situation. We have our central router and several router in different places. Unfortunately, we haven't got a good connection to them. Our physical "link" to them is quite "narrow". Nevertheless, our "external" routers are good connected to the "world" (they have megabit uplinks). We can't at the moment got a better connection between them and our central router :(. The ultimate aim is to speed up bandwidth for our clients by means of software :) We had been using a transparent cache-server (Squid) for some time, but it has the problem (as all proxies have). It changes ips of clients. I'd a sort of brain-wave :) and thought out the following: - On those routers we compress traffic (how?) - On our main router we decompress it and cache it (how?) - Moreover, it should be done transparently and without substitution of ip for client. So client even don't "feel" that he/she is behind proxy or so... So everywhere should be ip of user not Squid one. (how?) - In addition to that it would be good to do this with HTTP and FTP as well... I've heard about Layer 7 switches that IMHO can do this things... I'd like to realize something like that on Unix. I'll appreciate any help. Thanks! -- Oleksandr Samoylyk OVS-RIPE