Linux Netfilter discussions
 help / color / mirror / Atom feed
* How to block a DNS DoS attack?
@ 2006-12-02 20:56 Eduardo Fernández
  2006-12-03 15:26 ` Martijn Lievaart
  2006-12-03 21:34 ` Elvir Kuric
  0 siblings, 2 replies; 4+ messages in thread
From: Eduardo Fernández @ 2006-12-02 20:56 UTC (permalink / raw)
  To: Netfilter Mailing List

Hi!

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):

iptables -A INPUT -p udp -d server_ip --dport 53 -m limit --limit
40/minute --limit-burst 2000 -j ACCEPT

But it doesn't work. Any ideas?

Thanks a bunch!


^ permalink raw reply	[flat|nested] 4+ messages in thread
[parent not found: <200612041423.kB4EN2Xu000536@mail3.jubileegroup.co.uk>]

end of thread, other threads:[~2006-12-04 15:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-02 20:56 How to block a DNS DoS attack? Eduardo Fernández
2006-12-03 15:26 ` Martijn Lievaart
2006-12-03 21:34 ` Elvir Kuric
     [not found] <200612041423.kB4EN2Xu000536@mail3.jubileegroup.co.uk>
2006-12-04 15:09 ` G.W. Haywood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox