From: "Martin A. Brown" <mabrown-lartc@securepipe.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] blackhole class
Date: Sat, 20 Sep 2003 17:37:45 +0000 [thread overview]
Message-ID: <marc-lartc-106407953115816@msgid-missing> (raw)
In-Reply-To: <marc-lartc-106407473311853@msgid-missing>
Jay,
[ Note for posterity: The term "blackhole" is used as a route type in
the linux routing tables [1], and, as far as I know is not a term in
traffic control. This is about dropping traffic using traffic control
mechanisms. ]
: Im using a linux bridge to do traffic shaping for my school. Recently
: the decided they want to drop all p2p traffic possible
[ snip ]
: What I am wondering is what is the best way to use the traffic control
: stuff to drop traffic? Should I just use a qdisc/class with a rate of
: 0 or is there some way to specify the traffic should be dropped?
You can simply attach a policer to the filter which identifies the traffic
and use a drop action. Add the following to the filter which identifies
the traffic you wish to drop. Now, the filter will select all packets
based on your classifier, and the policer will drop all traffic so
matched.
police rate 1bps burst 1 action drop/drop
Best of luck,
-Martin
--
Martin A. Brown --- SecurePipe, Inc. --- mabrown@securepipe.com
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
prev parent reply other threads:[~2003-09-20 17:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-20 16:19 [LARTC] blackhole class Jay Wineinger
2003-09-20 17:37 ` Martin A. Brown [this message]
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-106407953115816@msgid-missing \
--to=mabrown-lartc@securepipe.com \
--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.