On Tue, Jun 04, 2002 at 05:43:19PM +0200, Ole Martin Refvik wrote:
> Anyone here know the limit for maximum open/half-open TCP connections in
> Linux 2.4 ?

module 'limit' from iptable
man iptable
[ skip ]
   limit
       This module matches at a limited rate using a token bucket
       filter.  A rule using this extension will match until this
       limit is reached (unless the !' flag is used).  It can be
       used in combination with the LOG target  to  give  limited
       logging, for example.

       --limit rate
              Maximum  average matching rate: specified as a num-
              ber,  with  an   optional   /second',   /minute',
              /hour', or /day' suffix; the default is 3/hour.

       --limit-burst number
              Maximum  initial  number  of packets to match: this
              number gets recharged by one every time  the  limit
              specified  above is not reached, up to this number;
              the default is 5.
...

or use xinetd super-daemon
--
Igor Homyakov
<homyakov AT ramax.spb.ru>

Reply via email to