Re: inetd and restrictions based on IP

Hubert Feyrer <[email protected]>
Newsgroups gmane.os.netbsd.devel.general
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.