Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Chris Brenton <cbrenton@chrisbrenton.org>
To: "Piotr P." <peterp@poczta.onet.pl>
Cc: netfilter@lists.netfilter.org
Subject: Re: how to block packets with specific words inside udp datagram???
Date: 12 Oct 2003 13:50:00 -0400	[thread overview]
Message-ID: <1065981000.1122.3.camel@valhalla> (raw)
In-Reply-To: <000d01c390d6$89b13900$0201a8c0@leonardo>

On Sun, 2003-10-12 at 11:35, Piotr P. wrote:
>
> Does any body know how to
> block traffic with this word using iptables?

iptables –A FORWARD –p udp –d 0/0 --dport 1024:65535 –m string --string
"KaZaA" –j DROP

should do the trick.

HTH,
C




  parent reply	other threads:[~2003-10-12 17:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-12 15:35 how to block packets with specific words inside udp datagram??? Piotr P.
2003-10-12 16:19 ` Cedric Blancher
2003-10-12 17:50 ` Chris Brenton [this message]
2003-10-12 18:59 ` Mark E. Donaldson
2003-10-13  9:04 ` hare ram

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1065981000.1122.3.camel@valhalla \
    --to=cbrenton@chrisbrenton.org \
    --cc=netfilter@lists.netfilter.org \
    --cc=peterp@poczta.onet.pl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox