From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Gabor Csuri" Subject: mark connections based a quote Date: Thu, 14 Nov 2002 22:40:09 +0100 Sender: netfilter-admin@lists.netfilter.org Message-ID: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii" To: netfilter@lists.netfilter.org 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.