Rate control with IPtables in Redhat 9
Yin Ming
yinming at mdc-ds.com
Tue Sep 28 01:51:03 UTC 2004
On Mon, 27 Sep 2004 19:41:32 -0400
<menonrr at jmu.edu> wrote:
> Hello,
>
> I am fairly new to Linux world.
>
> Please help me to implement connection rate (ex. 5
> outgoing/minute) and packet size control in my iptables on my
> redhat 9 gateway. My iptables just forwards internet
> connections from interal hosts by masquerading.
>
> 1) I would like to design my test network such that only 10
> outgoing connections are allowed at any time. Please advice me
> on a good rate i.e no: of connection per time period. The
> network will and must have minimim usage. It has no production
> value.
>
> 2) Also what would be a good packet size for control?
>
> Thank You.
> Menon
>
PS: Anyone can tell me, how to control the rate of TCP sockets? I'm
going to write a Download program and want to add a "traffic-rate
control" feature, such as, only 10Kb/sec. How to do it with socket?
What's the principle in TCP or IP?
--
殷鸣 <yinming at mdc-ds.com>
More information about the redhat-list
mailing list