Linux Netfilter discussions
 help / color / mirror / Atom feed
* mark connections based a quote
@ 2002-11-14 21:40 Gabor Csuri
  0 siblings, 0 replies; 5+ messages in thread
From: Gabor Csuri @ 2002-11-14 21:40 UTC (permalink / raw)
  To: netfilter

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.



^ permalink raw reply	[flat|nested] 5+ messages in thread
* mark connections based a quote
@ 2002-11-14 22:01 Gabor Csuri
  2002-11-15 12:43 ` John Leach
  0 siblings, 1 reply; 5+ messages in thread
From: Gabor Csuri @ 2002-11-14 22:01 UTC (permalink / raw)
  To: netfilter

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.



^ permalink raw reply	[flat|nested] 5+ messages in thread
[parent not found: <FD8F124A387AD6119F7900A0D218B321487EAB@hslex01.hsl-brabantzuid.nl>]

end of thread, other threads:[~2002-11-15 14:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-14 21:40 mark connections based a quote Gabor Csuri
  -- strict thread matches above, loose matches on Subject: below --
2002-11-14 22:01 Gabor Csuri
2002-11-15 12:43 ` John Leach
     [not found] <FD8F124A387AD6119F7900A0D218B321487EAB@hslex01.hsl-brabantzuid.nl>
2002-11-15 13:43 ` Rob Sterenborg
2002-11-15 14:24   ` Gabor Csuri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox