LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [PROB]: TP (iptables REDIRECT) on port 80, lvs, and squid

To: "mack@xxxxxxxxxxxx" <mack@xxxxxxxxxxxxxxxxxxxx>
Subject: Re: [PROB]: TP (iptables REDIRECT) on port 80, lvs, and squid
Cc: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>, <netfilter@xxxxxxxxxxxxxxx>
From: "Ian C. Sison" <ian.s@xxxxxxxxxx>
Date: Fri, 18 Jan 2002 11:25:32 +0800 (PHT)
On Thu, 17 Jan 2002, mack@xxxxxxxxxxxx wrote:

> On Fri, 18 Jan 2002, Ian C. Sison wrote:
>
> >
> > Without TP  the packets will just flow on past the default route of the
> > LVS gateway, into the net.  the director only redirects to the squids if
> > you telnet to port 80 of the director.  At least, that's what my
> > observations show...
>
> the packets should be marked by your fwmark rule and then sent through the
> LVS forwarding code (ie what you've done looks about right). Do you know
> that your packets are getting marked and forwarded by LVS? Try a simple
> test with marking packets to the telnet port.

Yes they are marked, because the byte/packet counter increases when i pass
traffic through but ...  i get the SYN_RECV problem..  It's like after
marking, the LVS does get a hold of the request but can't seem to
establish a TCP connection to the RealServers correctly.  It hangs at
SYN_RECV

==============================================================
IPVS connection entries
pro expire   state       source              virtual         destination
TCP 00:57.22 SYN_RECV    202.181.160.6:32770 202.181.160.11:80  192.168.254.1:80







<Prev in Thread] Current Thread [Next in Thread>