mark connections based a quote

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

 



Hi All,

 I need to restrict some connections into a bandwidth on my local network.
The long downloads (and uploads) are very bad for our 800k/128k bandwidth.
I thougth I would restrict the long downloads into a lower bandwidth, but I
don't know how can I mark the long downloads.
Can I mark the packets which are a part of a long connection maybe like
this:
iptables -m cquote --cquote 2000000 -j MARK --set-mark 1
means it marks packet within a connection which are over 2MB.

How can I do this?

Thanks in advice, Gabor Csuri.




[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