Skip to contentSkip to conversation

Controlling bandwith rate on port 80

DISCUSSION Hard__warE 2 participants 2 messages Jun 11, 2002

lore
Share & tools
lore

Hard__warE

author
#0 lore raw

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

#1 lore raw

If you want to make it easy..... take a look at SQUID.... should help a lot !!!

--- off topic, I know !!! :-)

Quoted 20 lines · you

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 ...

Quoted 8 lines

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

------------------------------------
Eric Daigneault
Administrateur Système
Vacances Air Canada
------------------------------------