* [LARTC] blackhole class
@ 2003-09-20 16:19 Jay Wineinger
2003-09-20 17:37 ` Martin A. Brown
0 siblings, 1 reply; 2+ messages in thread
From: Jay Wineinger @ 2003-09-20 16:19 UTC (permalink / raw)
To: lartc
Hi,
Im using a linux bridge to do traffic shaping for my school. Recently
the decided they want to drop all p2p traffic possible (no opinions
needed on this). Anyway, I have the layer 7 filtering installed so i
can try and classify a lot of the p2p traffic. 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?
thanks,
Jay
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [LARTC] blackhole class
2003-09-20 16:19 [LARTC] blackhole class Jay Wineinger
@ 2003-09-20 17:37 ` Martin A. Brown
0 siblings, 0 replies; 2+ messages in thread
From: Martin A. Brown @ 2003-09-20 17:37 UTC (permalink / raw)
To: lartc
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/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-09-20 17:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-20 16:19 [LARTC] blackhole class Jay Wineinger
2003-09-20 17:37 ` Martin A. Brown
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.