Re: Need help with rate-limiting NTTP traffic

Linux Advanced Routing and Traffic Control

[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
_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux