From: Elvir Kuric Subject: Re: How to block a DNS DoS attack? Date: Sun, 3 Dec 2006 13:34:23 -0800 (PST) Message-ID: <414919.97581.qm@web56213.mail.re3.yahoo.com> References: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="iso-8859-1" To: Eduardo =?unknown-8bit?q?Fern=E1ndez?= , Netfilter Mailing List Hi Eduardo,=20 I suggest you to check link below http://www-128.ibm.com/developerworks/linux/library/l-fw/?n-l-4191 Hope this helps. Regards=20 Elvir Kuric --- Eduardo Fern=E1ndez wrote: > Hi! >=20 > Some computers in my network are flooding the dns > server with mx > queries generated by some virus, at a rate of > 2/second or so. I can't > use the string match as suggested before because of > my kernel version. > I can't forbid MX queries in the server because > there could be valid > queries, so the only way to match the virus is the > speed or number of > queries. I've tried the following to match only the > virus but not the > normal clients (people surfing the web mainly): >=20 > iptables -A INPUT -p udp -d server_ip --dport 53 -m > limit --limit > 40/minute --limit-burst 2000 -j ACCEPT >=20 > But it doesn't work. Any ideas? >=20 > Thanks a bunch! >=20 >=20 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around=20 http://mail.yahoo.com=20