[tpop3d-discuss] Maximal connections per minute option

Chris Elsworth chris at shagged.org
Fri, 27 Sep 2002 21:24:38 +0100


Hi,

I was just wondering if anyone had written a patch for tpop3d to add a
command-line/configuration file option to set a maximal connections
per minute that would be accepted (both globally and from any one IP).
Primary use of this would be to stop DoS attacks by way of someone
very quickly and repeatedly connecting and disconnecting, causing a
lot of forking. Implementing the check pre-fork would remove a lot of
CPU load in this case.

If nobody has written one, I'll have a go myself, I think. Any chance
something like this could be included in the tree if it were done
right Chris?

-- 
Chris