* RE: mark connections based a quote [not found] <FD8F124A387AD6119F7900A0D218B321487EAB@hslex01.hsl-brabantzuid.nl> @ 2002-11-15 13:43 ` Rob Sterenborg 2002-11-15 14:24 ` Gabor Csuri 2002-11-17 12:03 ` Flag each rule antonio 0 siblings, 2 replies; 3+ messages in thread From: Rob Sterenborg @ 2002-11-15 13:43 UTC (permalink / raw) To: 'Gabor Csuri', netfilter > 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 I don't think netfilter/iptables can do what you want, but CBQ or HTB together with iproute2 can. In case of HTB (which I think is easier to configure), check out : http:luxik.cdi.cz/~devik/qos/htb/ Specifically, for bursts (short downloads at high speed) : http://luxik.cdi.cz/~devik/qos/htb/manual/userg.htm#burst You can allow higher bandwidth for short downloads, while larger will be throttled. Rob ^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: mark connections based a quote 2002-11-15 13:43 ` mark connections based a quote Rob Sterenborg @ 2002-11-15 14:24 ` Gabor Csuri 2002-11-17 12:03 ` Flag each rule antonio 1 sibling, 0 replies; 3+ messages in thread From: Gabor Csuri @ 2002-11-15 14:24 UTC (permalink / raw) To: netfilter Hi All, Thank you the answers, I got the solution in private mail. There is an iptables patch exactly do what I wanted. Connbytes patch is located at http://luxik.cdi.cz/~devik/connbytes/. regards, Gabor. > -----Original Message----- > From: Rob Sterenborg [mailto:rsterenborg@xs4all.nl] > Sent: Friday, November 15, 2002 2:44 PM > To: 'Gabor Csuri'; netfilter@lists.netfilter.org > Subject: RE: mark connections based a quote > > > > 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 > > I don't think netfilter/iptables can do what you want, but CBQ or HTB > together with iproute2 can. > In case of HTB (which I think is easier to configure), check out : > http:luxik.cdi.cz/~devik/qos/htb/ > > Specifically, for bursts (short downloads at high speed) : > http://luxik.cdi.cz/~devik/qos/htb/manual/userg.htm#burst > You can allow higher bandwidth for short downloads, while larger will be > throttled. > > > Rob ^ permalink raw reply [flat|nested] 3+ messages in thread
* Flag each rule 2002-11-15 13:43 ` mark connections based a quote Rob Sterenborg 2002-11-15 14:24 ` Gabor Csuri @ 2002-11-17 12:03 ` antonio 1 sibling, 0 replies; 3+ messages in thread From: antonio @ 2002-11-17 12:03 UTC (permalink / raw) To: netfilter Hi to all The -j mark is only valid in the mangle table and will not work outside there.But there is a similar command that work in the nat table or in the filter table, in order to give a "flag" to some rules of my firewall? Thx to all ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-11-17 12:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <FD8F124A387AD6119F7900A0D218B321487EAB@hslex01.hsl-brabantzuid.nl>
2002-11-15 13:43 ` mark connections based a quote Rob Sterenborg
2002-11-15 14:24 ` Gabor Csuri
2002-11-17 12:03 ` Flag each rule antonio
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox