On Fri, Oct 03, 2003 at 07:35:33AM -0300, Carlos G Mendioroz wrote:
> Well,
> WCCP is a  protocol to redirect http traffic to a cache based on cache 
> availability.
> It has 2 parts, a presence discovery/assurance part (i.e. keep-alive) 
> and a GRE tunnel via which redirected traffic is sent to cache.
> 
> The cache lies somewhere in my network, and doesn't need to go back to 
> the router to reach the client that wants the page... that's why the 
> output interface is not the tunnel...
> 
> So Client send router an http req,
> router sends cache via tunnel (with original IP destination intact)
> cache machine receives via tunnel, does NATing of destination via rdr
> cache (squid) answers client, but source is cache machine, where it 
> should be original http server ip.
> 
> Going back via the tunnel would need policy routing in the cache 
> machine, not to break the rest of the traffic when the cache is down.
> (And seems to be a less performant option too)
> 
> The reason of WCCP using a tunnel seems to be that this way the cache 
> needs not have a shared medium with the router.
> 
> Also, asymetric traffic does pop now and then for different reasons,
> and I don't see why the NAT table is associated with the interface to 
> begin with (but I have not thought of that that much).
> 

Ok, so what you want is that ip filter somehow understands that
th source addres of a reply from the cache needs to be rewritten
to the desintaion of an rdr. The problem is that the rdr is
not related to the new NAT because it uses a different interface.

Then I dont really have an answer for you, sorry.

-Guido

Reply via email to