On Mon, 2005-04-07 at 15:49 +0200, Thomas Graf wrote: > * jamal <[EMAIL PROTECTED]> 2005-07-04 09:16 > > > > Why not just "fix" noop qdisc to have those features? Note attaching a > > filter/drop action should give you the same functionality. > > I like noop as-is, i.e. one copy shared by all users.
I like it as is too ;-> > For a moment I > thought we could assign a handle to all allocated default qdiscs so > they can be deleted. Said deletion would then result in a noop qdisc > which drops all packets but then again this is far from intuitive > and harder to use. > > Assume you have a classful setup with per client classes and you > want to disable one such class for a moment (maybe the customer > didn't pay the bills ;->). A simple qdisc replace to a blackhole > will solve it and is both intuitive and fast. > > I agree that the same functionality can be achieved with actions > or netfilter, but from a usability point of view sch_blackhole is > my preferred solution. I find this is the most reliable, the least > intrusive, and most intuitive way of solving this issue. More than likely i would use a filter (tc or iptables). Even better, a blackhole route is better from a usability perspective i.e something like (hopefully right syntax): ip route add blackhole ipaddress or we can even send ICMPs back with "prohibit" in place of "blackhole" A qdisc would probably be the last thing on my mind to achieve such a goal. Note, one could argue that this could be because upto now, no such qdisc has existed ;-> I dont mind its inclusion (despite the oddity). cheers, jamal - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html