On Wed, Mar 06, 2002 at 05:33:40PM -0400, Edward Millington wrote:
> that does not prove that wccp isorking since oops is on port 80. oops would
> answer.
Let's explain:
ISP--[R]router-+--[A]with-oops(on port 80/3128/etc.) & ipwccp &iptables
|
+--[B]for testing
B telnets out to port 80 somewhere that will follow the link to the ISP.
R notices it's a port 80 going out on the ISP link, and then encapsulates
it in a WCCP(GRE) packet, and send it off to A
At this point R would've incremented the redirected packet counters as
seen with "sh ip wccp web-cache detail"
The WCCP(GRE) encapsulated packet arrives at A.
ip_wccp decapsulates the packet, and insert the decapsulated packet into the
kernel's IP routing code.
depending on the port that oops are listening on, replace the --to-ports:
iptables -t nat -A PREROUTING --dport 80 -j REDIRECT --to-ports 80
or
iptables -t nat -A PREROUTING --dport 80 -j REDIRECT --to-ports 3128
would then rewrite some values, like the destination port & host, to
A's ip number & the port as specified in the --to-port option above
At this point the kernel's routing would then "accept" the packet as destined
for itself, and sent it to oops's listening port.
That would be evident by the netstat -an|grep -i "B's ipaddress", showing
a connection between B(from a anonymous port) to A(port spec'd in --to-ports)
in and ESTABLISH state.
The tests would NOT work from A, as the router's WCCP would not redirect
packets originating from a cache it's talking WCCP with, thus that's the
need for a second machine to test (Note, the identiy in oops should always be
the IP address that the oops server would make it's connections out to the ISP
from).
>
> Igor or anyone else, it there a definitive way to check that ip_wccp, build
> into the kernel is working?
>
> Thank you very much.
>
> Best regards,
>
> Edward Millington. BSc, Network+
> Systems Administrator
> Cariaccess Communications Ltd.
> Palm Plaza
> Wildey
> St. Michael
> Barbados
> 1-246-430-7435
> Fax : 1-246-431-0170
> [EMAIL PROTECTED]
> www.cariaccess.com
> ----- Original Message -----
> From: "Hendrik Visage" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, March 06, 2002 4:32 PM
> Subject: Re: [OOPS] 1.5.22
>
>
> > On Wed, Mar 06, 2002 at 03:59:56PM -0400, Edward Millington wrote:
> > > have you tried building it into the kernel?
> >
> > nope
> >
> > >
> > > How do you it was working after you install beside using the router?
> >
> > telnet from another machine (that would get redirected), to a remote IP
> > on port 80, and then issued a HTTP command to fetch a page.
> >
> > While doing this telnet, check on the oops box to see if a http
> > connection appears in netstat -a (Just before issueing the final double
> > enters :)
> >
> > >
> > > Thank you very much.
> > >
> > > Best regards,
> > >
> > > Edward Millington. BSc, Network+
> > > Systems Administrator
> > > Cariaccess Communications Ltd.
> > > Palm Plaza
> > > Wildey
> > > St. Michael
> > > Barbados
> > > 1-246-430-7435
> > > Fax : 1-246-431-0170
> > > [EMAIL PROTECTED]
> > > www.cariaccess.com
> > > ----- Original Message -----
> > > From: "Hendrik Visage" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Wednesday, March 06, 2002 11:21 AM
> > > Subject: Re: [OOPS] 1.5.22
> > >
> > >
> > > > On Wed, Mar 06, 2002 at 10:51:54AM -0400, Edward Millington wrote:
> > > > > Hi Vladimir!
> > > > >
> > > > > In the kernel config, do I have to enable all 2 options beside IP:
> WCCP
> > > GRE
> > > > > tunnels over IP?
> > > > >
> > > > > IP: tunneling
> > > > > IP: GRE tunnels over IP
> > > > > IP: WCCP GRE tunnels over IP
> > > >
> > > > I've made them all as MODULES, <M>, and then I've only modprobed
> ip_wccp
> > > >
> > > > Hendrik
> > > > (Who had a working oops + wccp + linux 2.4.17 :)
> > > >
> > > > >
> > > > >
> > > > > Thank you very much.
> > > > >
> > > > > Best regards,
> > > > >
> > > > > Edward Millington. BSc, Network+
> > > > > Systems Administrator
> > > > > Cariaccess Communications Ltd.
> > > > > Palm Plaza
> > > > > Wildey
> > > > > St. Michael
> > > > > Barbados
> > > > > 1-246-430-7435
> > > > > Fax : 1-246-431-0170
> > > > > [EMAIL PROTECTED]
> > > > > www.cariaccess.com
> > > > > ----- Original Message -----
> > > > > From: "Vladimir Ivaschenko" <[EMAIL PROTECTED]>
> > > > > To: <[EMAIL PROTECTED]>
> > > > > Cc: "Hendrik Visage" <[EMAIL PROTECTED]>
> > > > > Sent: Monday, March 04, 2002 11:40 AM
> > > > > Subject: Re: [OOPS] 1.5.22
> > > > >
> > > > >
> > > > > > Update: I have made the WCCPv2 patch for Linux available on
> > > > > > http://www.hazard.maks.net/. You have to enable WCCPv2 in kernel
> > > > > > configuration.
> > > > > >
> > > > > > Vladimir Ivaschenko wrote about "Re: [OOPS] 1.5.22":
> > > > > > >
> > > > > > > I have WCCP2 patch which applies for later 2.4.X kernels, e-mail
> me
> > > if
> > > > > > > you're interested.
> > > > > > >
> > > > > > > Hendrik Visage wrote:
> > > > > > >
> > > > > > > > On Fri, Feb 01, 2002 at 05:01:41PM +0200, Igor Khasilev wrote:
> > > > > > > > > Hi!
> > > > > > > > >
> > > > > > > > > http://zipper.paco.net/~igor/oops/oops-experimental.tar.gz
> > > > > > > > >
> > > > > > > > > aka http://zipper.paco.net/~igor/oops/oops-1.5.22.tar.gz
> > > > > > > >
> > > > > > > > I there,
> > > > > > > >
> > > > > > > > It compiled for me, however, are there pointers to GRE etc.
> > > > > > > > for the later (2.4.17 and 2.4.18) Linux kernels?
> > > > > > > >
> > > > > > > > I can't get it going, as the best versions I could find, are
> for
> > > > > > > > 2.4.6.
> > > > > > > >
> > > > > > > > Hendrik
> > > > > > > >
> > > > > > > > >
> > > > > > > > > If there will be no serious bugs this version become
> release.
> > > > > > > > >
> > > > > > > > > Igor Khasilev |
> > > > > > > > > PACO Links, igor at paco dot net |
> > > > > > > > >
> > > > > > > > >
> > > > >
> =====================================================================
> > > > > > > > > If you would like to unsubscribe from this list send message
> to
> > > > > > > > > [EMAIL PROTECTED] with "unsubscribe oops-eng" in
> message
> > > > > body.
> > > > > > > > > Archive is accessible on http://lists.paco.net/oops-eng/
> > > > > > > >
> > > =====================================================================
> > > > > > > > If you would like to unsubscribe from this list send message
> to
> > > > > > > > [EMAIL PROTECTED] with "unsubscribe oops-eng" in
> message
> > > body.
> > > > > > > > Archive is accessible on http://lists.paco.net/oops-eng/
> > > > > > >
> > > > > > > --
> > > > > > > Best Regards
> > > > > > > Vladimir Ivaschenko
> > > > > > > Certified Linux Engineer (RHCE)
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > =====================================================================
> > > > > > > If you would like to unsubscribe from this list send message to
> > > > > > > [EMAIL PROTECTED] with "unsubscribe oops-eng" in message
> > > body.
> > > > > > > Archive is accessible on http://lists.paco.net/oops-eng/
> > > > > >
> > > > > > --
> > > > > > Best Regards
> > > > > > Vladimir Ivaschenko
> > > > > > Certified Linux Engineer (RHCE)
> > > > > >
> =====================================================================
> > > > > > If you would like to unsubscribe from this list send message to
> > > > > > [EMAIL PROTECTED] with "unsubscribe oops-eng" in message
> body.
> > > > > > Archive is accessible on http://lists.paco.net/oops-eng/
> > > > > >
> > > > >
> > > > >
> > > > >
> =====================================================================
> > > > > If you would like to unsubscribe from this list send message to
> > > > > [EMAIL PROTECTED] with "unsubscribe oops-eng" in message
> body.
> > > > > Archive is accessible on http://lists.paco.net/oops-eng/
> > > > =====================================================================
> > > > If you would like to unsubscribe from this list send message to
> > > > [EMAIL PROTECTED] with "unsubscribe oops-eng" in message body.
> > > > Archive is accessible on http://lists.paco.net/oops-eng/
> > > >
> > >
> > >
> > > =====================================================================
> > > If you would like to unsubscribe from this list send message to
> > > [EMAIL PROTECTED] with "unsubscribe oops-eng" in message body.
> > > Archive is accessible on http://lists.paco.net/oops-eng/
> > =====================================================================
> > If you would like to unsubscribe from this list send message to
> > [EMAIL PROTECTED] with "unsubscribe oops-eng" in message body.
> > Archive is accessible on http://lists.paco.net/oops-eng/
> >
>
>
> =====================================================================
> If you would like to unsubscribe from this list send message to
> [EMAIL PROTECTED] with "unsubscribe oops-eng" in message body.
> Archive is accessible on http://lists.paco.net/oops-eng/
=====================================================================
If you would like to unsubscribe from this list send message to
[EMAIL PROTECTED] with "unsubscribe oops-eng" in message body.
Archive is accessible on http://lists.paco.net/oops-eng/