Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Sep 2005 13:49:41 -0700
From:      John-Mark Gurney <gurney_j@resnet.uoregon.edu>
To:        Oleksandr Samoylyk <oleksandr@samoylyk.sumy.ua>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Compressing/decompressing traffic & cache & unchanged ip
Message-ID:  <20050902204941.GJ61824@funkthat.com>
In-Reply-To: <1736720621.20050902230245@samoylyk.sumy.ua>
References:  <1736720621.20050902230245@samoylyk.sumy.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
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."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050902204941.GJ61824>