Subject: Re: inetd and restrictions based on IP
To: Jeremy C. Reed <reed@reedmedia.net>
From: Hubert Feyrer <hubert@feyrer.de>
List: tech-misc
Date: 02/10/2007 18:12:34
On Sat, 10 Feb 2007, Jeremy C. Reed wrote:
> -C rate
>        Specify the default maximum number of times a service can be
>        invoked from a single IP address in one minute; the default is
>        unlimited.  May be overridden on a per-service basis with the
>        "max-connections-per-ip-per-minute" parameter.

From our inetd(8) manpage:

 	...
 	The fields of the configuration file are as follows:

            [addr:]service-name
            socket-type
            protocol[,sndbuf=size][,rcvbuf=size]
            wait/nowait[:max]
 			^^^
 	   ...

      The
      optional ``max'' suffix (separated from ``wait'' or ``nowait'' by a dot
      or a colon) specifies the maximum number of server instances that may be
      spawned from inetd within an interval of 60 seconds.  When omitted,
      ``max'' defaults to 40.


  - Hubert