James Lista wrote: > > please, what do those 2 following lines do ? mainly that "drop flowid :1" > ? > > tc qdisc add dev $WAN handle ffff: ingress > tc filter add dev $WAN parent ffff: protocol ip prio 50 u32 match ip src > 0.0.0.0/0 police rate ${DOWNLINK}kbit burst 10k drop flowid :1 They rate limit incoming packets. "u32 match ip src 0.0.0.0/0" says to match everything. "police rate ${DOWNLINK}kbit burst 10k" says to rate limit at DOWNLINK kbits per second, but to accept (fairly large) bursts of data up to 10K bytes. "drop flowid :1" says to drop all packets in excess of the police rate. HTH gypsy _______________________________________________ LARTC mailing list / LARTC@xxxxxxxxxxxxxxx http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/