Re: [LARTC] rate limit HTTP

Linux Advanced Routing and Traffic Control

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

 



> simply mark the matching packets with ipchains/iptables and then you can
> easily shape the packets with tc that have the mark set.

heh I love this 'simply' and 'easily shape' care to elaborate? Ive read the
advanced routing howto and searched the internet for other iproute2 and tc
documentation. But I need more HELP!! :) Ive tried copying the tc example
where traffic is bandwidth limited from differnt subnets but to be honest I
wasnt sure if it worked or not. Can anyone give me an example of
ratelimiting say incoming from port 80? Lets say (for the sake of the
example) you have a 500Kb/s ADSL download stream on a static IP (eth0) and a
10.x.x.x sub net on eth1. You want to limit all traffic with source port 80
out of eth1 to half that, 250Kb/s


I know its annoying when newbies ask questions, but there seems to be a lack
of information out there. A good book recomendation would also be welcome :)





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