Re: tcpsvd - Allow only x connections from somebody/hour
Gerrit Pape <[email protected]>
| Newsgroups | gmane.comp.misc.pape.general |
|---|---|
| Message-ID | <20040826153804.11124.qmail@f88950b917cb02.315fe32.mid.smarden.org> |
On Wed, Aug 25, 2004 at 03:27:26PM +0200, Maurice Lucas wrote: > I want to adjust my tcpsvd service to allow only a fixed amount of maximum > connections from an IP address a hour. > Is there some way to do this using tcpsvd? It's not a built-in feature of tcpsvd, no. But it should be possible to do such things with a separate program put into the process chain between tcpsvd and the service program. It gathers the necessary information, and execs into the service program, or doesn't, based on this information. It may additionally adjust the tcpsvd configuration through the instructions directory. HTH, Gerrit.