Linux Netfilter discussions
 help / color / mirror / Atom feed
* Controlling bandwith rate on port 80
@ 2002-02-11 20:27 iptables
  2002-06-11 20:10 ` Tony Earnshaw
  0 siblings, 1 reply; 5+ messages in thread
From: iptables @ 2002-02-11 20:27 UTC (permalink / raw)
  To: netfilter

[-- Attachment #1: Type: text/plain, Size: 216 bytes --]

Im using debian unstable, kernel 2.4.18, iptables 1.2.6a. My max upload bandwith is 30kb, i want to limit the traffic on port 80 to around 25kb. Is this possible and how? any HOWTO's on this subject?`

From terr1

[-- Attachment #2: Type: text/html, Size: 622 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Controlling bandwith rate on port 80
@ 2002-06-11 20:22 Hard__warE
  2002-06-11 20:35 ` Eric Daigneault
  0 siblings, 1 reply; 5+ messages in thread
From: Hard__warE @ 2002-06-11 20:22 UTC (permalink / raw)
  To: netfilter

yes it can be done with IPTables just not alone ..

you will need to complie your kernel with the IPTABLES MARK / TOS / U32
classifiers / CBQ  ect  set to M..

now that we have the support we can use

a Token Bucket Filter or CBQ  to limit the packet rate Per interface both in
up or down

to do this correcty you will need to set a ToS MARK value on all PORT 80
traffic

leaving the BOX (or however you need it) with IPTABLES the

in your Pcaket Shaping CBQ script you can search for those marked packets
and stick them in a Low Priorty Que

or a QUE that has a set amount of bandwidth allocation ect ...

If you know nothing of these go Search for Advanced Routing & TOS / MARK as
well as CBQ & TBF

have Fun cause it can be a pain in the ass ...

If you need more help just send me an Email . .. :D

See yas .. :D



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-06-11 20:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-11 20:27 Controlling bandwith rate on port 80 iptables
2002-06-11 20:10 ` Tony Earnshaw
2002-06-11 20:35   ` George Georgalis
  -- strict thread matches above, loose matches on Subject: below --
2002-06-11 20:22 Hard__warE
2002-06-11 20:35 ` Eric Daigneault

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