All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Graf <tgr@reeler.org>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] More layer7 filtering issues
Date: Thu, 25 Sep 2003 15:22:53 +0000	[thread overview]
Message-ID: <marc-lartc-106450369909667@msgid-missing> (raw)
In-Reply-To: <marc-lartc-106433960203711@msgid-missing>

Hi

> So, 1:10 is getting data passed through it, but I can't figure out a way to 
> attach a policing filter that just drops them all into oblivion.

tc filter add dev $DEV parent ffff: \
   protocol ip prio 20 \
   u32 match ip protocol 1 0xff \
   police mtu 1 drop \
   flowid :1

Drops all packets with a length > 1 byte which is probably
what you want.

Regards,

-- 
Thomas GRAF
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

  reply	other threads:[~2003-09-25 15:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-23 17:47 [LARTC] More layer7 filtering issues Derek
2003-09-25 15:22 ` Thomas Graf [this message]
2003-09-26 16:50 ` Derek
2003-09-26 17:23 ` Derek

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=marc-lartc-106450369909667@msgid-missing \
    --to=tgr@reeler.org \
    --cc=lartc@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.