All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] How to limit one single tcp connection ?
@ 2003-05-09  4:29 rio
  2003-05-09 13:52 ` Nuno Miguel Pais Fernandes
  2003-05-09 17:08 ` Stef Coene
  0 siblings, 2 replies; 3+ messages in thread
From: rio @ 2003-05-09  4:29 UTC (permalink / raw)
  To: lartc

Dear folks,
I would like to limit one single tcp connection in my network to 16Kbit
only, but if they generate more tcp streams, let say 10 more tcp
connection, they should not more than 100Kbit as the total bandwidth
delegated for this network.

Please let me know how to do this ?

Regards,
Rio Martin.

--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .


_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

* Re: [LARTC] How to limit one single tcp connection ?
  2003-05-09  4:29 [LARTC] How to limit one single tcp connection ? rio
@ 2003-05-09 13:52 ` Nuno Miguel Pais Fernandes
  2003-05-09 17:08 ` Stef Coene
  1 sibling, 0 replies; 3+ messages in thread
From: Nuno Miguel Pais Fernandes @ 2003-05-09 13:52 UTC (permalink / raw)
  To: lartc

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

Hello

There is a patch for iptables that implements max connections.
See iptables patch-o-matic

Nuno Fernandes


On Fri, 2003-05-09 at 05:29, rio@martin.mu wrote:
> Dear folks,
> I would like to limit one single tcp connection in my network to 16Kbit
> only, but if they generate more tcp streams, let say 10 more tcp
> connection, they should not more than 100Kbit as the total bandwidth
> delegated for this network.
> 
> Please let me know how to do this ?
> 
> Regards,
> Rio Martin.
> 
> --------------------------------------------------------------------
> mail2web - Check your email from the web at
> http://mail2web.com/ .
> 
> 
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
-- 
Nuno Miguel Pais Fernandes <npf@eurotux.com>

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [LARTC] How to limit one single tcp connection ?
  2003-05-09  4:29 [LARTC] How to limit one single tcp connection ? rio
  2003-05-09 13:52 ` Nuno Miguel Pais Fernandes
@ 2003-05-09 17:08 ` Stef Coene
  1 sibling, 0 replies; 3+ messages in thread
From: Stef Coene @ 2003-05-09 17:08 UTC (permalink / raw)
  To: lartc

On Friday 09 May 2003 06:29, rio@martin.mu wrote:
> Dear folks,
> I would like to limit one single tcp connection in my network to 16Kbit
> only, but if they generate more tcp streams, let say 10 more tcp
> connection, they should not more than 100Kbit as the total bandwidth
> delegated for this network.
>
> Please let me know how to do this ?
You can mark the packets with a u32 filter and use a policer in that filter to 
limit the packets.  More info about policers can be found in the lartc howto.

Stef

-- 

stef.coene@docum.org
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

end of thread, other threads:[~2003-05-09 17:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-09  4:29 [LARTC] How to limit one single tcp connection ? rio
2003-05-09 13:52 ` Nuno Miguel Pais Fernandes
2003-05-09 17:08 ` Stef Coene

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.