LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: iptables and lvs_nat

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: iptables and lvs_nat
From: Martijn Klingens <mklingens@xxxxxx>
Date: Wed, 2 Oct 2002 17:30:02 +0200
On Wednesday 02 October 2002 17:19, Tim Cronin wrote:
> yup, I did that and it works, but is that safe?

It accepts all HTTP follow-ups without SYN, which potentially includes 
malformed and malicious packets.

You can probably filter out a few of those with '-m state --state INVALID -j 
DROP', but not all of it.

Either way, it's the best you can get in this setup, and it's still (slightly) 
better than good old ipchains, which already was quite reasonable.

And since there's a whole cluster behind your LVS box I take it that you also 
have a frontend dedicated firewall BEFORE the LVS machine that is able to do 
the full stateful inspection? :-)

-- 
Martijn



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