Linux Netfilter discussions
 help / color / mirror / Atom feed
* ipt_string, udp, dns problem...
@ 2002-09-22  9:34 Mark Steele
  2002-09-22 10:23 ` Antony Stone
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Mark Steele @ 2002-09-22  9:34 UTC (permalink / raw)
  To: netfilter


Hi there,

I have a quick question regarding the iptables string module.

I'm currently under siege from a DOS attack which is aimed
at my name server. I believe the culprit is spoofing
his IP address, and sending DNS requests to various
recursive name servers for a domain which used to be
hosted in my servers. To block this, I am trying to use
a string match to drop the packets like so:

/usr/sbin/iptables -I INPUT -j DROP -p udp -s 0.0.0.0/0 -m \
string --string "militaire.org" --dport 53

I have noticed however, that this hasn't had much of a significant
effect, as my name server is still receiving the requests.

using "tcpdump udp dst port 53 -s 2000" I see:

17:56:39.071676 193.252.19.74.50963 > 66.199.166.5.53:  36126 A?
www.militaire.org. (35) (DF)

And the requests are getting through to my
name server. Any ideas on what I might
be doing wrong?

Here are the details:
kernel 2.4.19
iptables v1.2.7a
glibc 2.2.3
(Slackware 8.1)

Kernel options (on)
ip_tables
iptable_filter
ip_conntrack
ipt_state
ipt_LOG
ipt_string


Regards,


-- 
Mark Steele
Vice president recherche et developpement
Inet Technologies Inc.





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-09-23 17:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-22  9:34 ipt_string, udp, dns problem Mark Steele
2002-09-22 10:23 ` Antony Stone
2002-09-22 12:15 ` Anders Fugmann
2002-09-22 12:35   ` Antony Stone
2002-09-23 17:30   ` Mark Steele
2002-09-22 12:48 ` Antony Stone

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