From mboxrd@z Thu Jan 1 00:00:00 1970 From: "iptables" Subject: Controlling bandwith rate on port 80 Date: Mon, 11 Feb 2002 21:27:09 +0100 Sender: netfilter-admin@lists.samba.org Message-ID: <001501c1b33a$7b9238e0$0200a8c0@terr1> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0012_01C1B342.DCA3CBA0" Return-path: Errors-To: netfilter-admin@lists.samba.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: To: netfilter@lists.samba.org This is a multi-part message in MIME format. ------=_NextPart_000_0012_01C1B342.DCA3CBA0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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 ------=_NextPart_000_0012_01C1B342.DCA3CBA0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Im using debian unstable, kernel = 2.4.18, iptables=20 1.2.6a. My max upload bandwith is 30kb, i want to limit the traffic on = port 80=20 to around 25kb. Is this possible and how? any HOWTO's on this=20 subject?`
 
From terr1
------=_NextPart_000_0012_01C1B342.DCA3CBA0-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Earnshaw Subject: Re: Controlling bandwith rate on port 80 Date: 11 Jun 2002 22:10:03 +0200 Sender: netfilter-admin@lists.samba.org Message-ID: <1023826204.4183.71.camel@billy.demon.nl> References: <001501c1b33a$7b9238e0$0200a8c0@terr1> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-Z8Mih/ys6k4WFmUbrb2f" Return-path: In-Reply-To: <001501c1b33a$7b9238e0$0200a8c0@terr1> Errors-To: netfilter-admin@lists.samba.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: To: iptables Cc: netfilter@lists.samba.org --=-Z8Mih/ys6k4WFmUbrb2f Content-Type: text/plain Content-Transfer-Encoding: quoted-printable man, 2002-02-11 kl. 21:27 skrev iptables: > 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?` Definitely. But not with iptables. http://www.tldp.org/HOWTO/Adv-Routing-HOWTO.html You might wish to bookmark this site. It's where many HOWTOs are at. Tony --=20 Tony Earnshaw e-post: tonni@billy.demon.nl www: http://www.billy.demon.nl gpg public key: http://www.billy.demon.nl/tonni.armor Telefoon: (+31) (0)172 530428 Mobiel: (+31) (0)6 51153356 GPG Fingerprint =3D 3924 6BF8 A755 DE1A 4AD6 FA2B F7D7 6051 3BE7 B981 3BE7B981 --=-Z8Mih/ys6k4WFmUbrb2f Content-Type: application/pgp-signature; name=signature.asc Content-Description: Dette er en digitalt signert meldingsdel -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQA9Blkb99dgUTvnuYERAk5CAJ42qhaGSq5VcKwCu2MHxacF1L0qMACfafkZ zmtO5/mJsF3zkAkvxPMDU4E= =GfOn -----END PGP SIGNATURE----- --=-Z8Mih/ys6k4WFmUbrb2f-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Hard__warE" Subject: Controlling bandwith rate on port 80 Date: Wed, 12 Jun 2002 06:22:54 +1000 Sender: netfilter-admin@lists.samba.org Message-ID: <000501c21185$c4732c00$7b0010ac@dynamicaccess.lan> Reply-To: "Hard__warE" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Errors-To: netfilter-admin@lists.samba.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii" To: netfilter@lists.samba.org 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: George Georgalis Subject: Re: Controlling bandwith rate on port 80 Date: Tue, 11 Jun 2002 16:35:05 -0400 Sender: netfilter-admin@lists.samba.org Message-ID: <20020611163505.A12692@trot.haven.dom> References: <001501c1b33a$7b9238e0$0200a8c0@terr1> <1023826204.4183.71.camel@billy.demon.nl> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <1023826204.4183.71.camel@billy.demon.nl>; from tonni@billy.demon.nl on Tue, Jun 11, 2002 at 10:10:03PM +0200 Errors-To: netfilter-admin@lists.samba.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Tony Earnshaw Cc: iptables , netfilter@lists.samba.org On Tue, Jun 11, 2002 at 10:10:03PM +0200, Tony Earnshaw wrote: >man, 2002-02-11 kl. 21:27 skrev iptables: >> 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?` > >Definitely. But not with iptables. > >http://www.tldp.org/HOWTO/Adv-Routing-HOWTO.html > >You might wish to bookmark this site. It's where many HOWTOs are at. > Not iptables but you probably want the apache mod_throttle for that. google says: http://www.snert.com/Software/mod_throttle/ // George -- GEORGE GEORGALIS, System Admin/Architect cell: 347-451-8229 Security Services, Web, Mail, mailto:george@galis.org File, Print, DB and DNS Servers. http://www.galis.org/george From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Daigneault Subject: Re: Controlling bandwith rate on port 80 Date: Tue, 11 Jun 2002 16:35:31 -0400 Sender: netfilter-admin@lists.samba.org Message-ID: <5.1.0.14.0.20020611163420.00a8ad28@pop3.vacv.com> References: <000501c21185$c4732c00$7b0010ac@dynamicaccess.lan> Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <000501c21185$c4732c00$7b0010ac@dynamicaccess.lan> Errors-To: netfilter-admin@lists.samba.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="iso-8859-1"; format="flowed" To: netfilter@lists.samba.org If you want to make it easy..... take a look at SQUID.... should help a lot= !!! --- off topic, I know !!! :-) At 06:22 2002-06-12 +1000, you wrote: >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 ------------------------------------ Eric Daigneault Administrateur Syst=E8me Vacances Air Canada ------------------------------------