Re: Need help with rate-limiting NTTP traffic

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I found the solution to my exact problem (right down the NNTP client) at
http://mail.gnu.org/archive/html/pan-users/2003-11/msg00009.html

For those who want the answer now with now clicking, you can do it all
with this:

tc qdisc add dev $WANIFACE handle ffff: ingress
tc filter add dev $WANIFACE parent ffff: protocol ip prio 50 u32 match
ip sport 119 0xffff police rate 800kbit burst 15k drop flowid :1

Thanks.

-- 
Shane Hickey <shane@xxxxxxxxxxxxxxxxxxx>: Network/System Consultant
GPG KeyID: 777CBF3F
Key fingerprint: 254F B2AC 9939 C715 278C  DA95 4109 9F69 777C BF3F
Listening to: Bill Frisell  - Vernon Reid - Small Hands


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux