qdisc/filter to drop all packets
I'm looking for a way to configure a qdisc or filter to drop all packets. The logic behind this is that I'm using the u32 hashing tables to get move my filters from iptables to tc filters. This will translate into much less per-packet processing for me. However, I need a way to drop any packets that don't match any of the filters.
Paul C. Diem
[email protected]
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 5 lines
I'm looking for a way to configure a qdisc or filter to drop all packets. The logic behind this is that I'm using the u32 hashing tables to get move my filters from iptables to tc filters. This will translate into much less per-packet processing for me. However, I need a way to drop any packets that don't match any of the filters.
Get a 2.6.8.1 kernel and last iproute2 from
http://developer.osdl.org/dev/iproute2/
and then:
tc qdisc add dev dummy0 root netem loss 100
100 means 100%
Let me know it it works correctly.
Quoted 8 lines
Paul C. Diem
[email protected]_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
---
Catalin(ux aka Dino) BOIE
catab at deuroconsult.ro
http://kernel.umbrella.ro/
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/