From owner-freebsd-net@FreeBSD.ORG Fri Sep 2 20:49:43 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 E017F16A41F for ; Fri, 2 Sep 2005 20:49:43 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A35F43D53 for ; Fri, 2 Sep 2005 20:49:43 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.3/8.13.3) with ESMTP id j82Kng2F069999; Fri, 2 Sep 2005 13:49:42 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.3/8.13.3/Submit) id j82KnfRf069998; Fri, 2 Sep 2005 13:49:41 -0700 (PDT) (envelope-from jmg) Date: Fri, 2 Sep 2005 13:49:41 -0700 From: John-Mark Gurney To: Oleksandr Samoylyk Message-ID: <20050902204941.GJ61824@funkthat.com> Mail-Followup-To: Oleksandr Samoylyk , freebsd-net@freebsd.org References: <1736720621.20050902230245@samoylyk.sumy.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1736720621.20050902230245@samoylyk.sumy.ua> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p1 i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Cc: freebsd-net@freebsd.org Subject: Re: Compressing/decompressing traffic & cache & unchanged ip X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney 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:49:44 -0000 Oleksandr Samoylyk wrote this message on Fri, Sep 02, 2005 at 23:02 +0300: > 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... ipsec has a layer that will do packet compression... look at -C calgo parameter to setkey(8), one of which is deflate.. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."