Re: [EXIM] Restricting connections from a single IP address

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Georg v.Zezschwitz
Fecha:  
A: Philip Hazel
Cc: Jim Knoble, exim-users
Asunto: Re: [EXIM] Restricting connections from a single IP address
On Wed, Oct 07, 1998 at 09:48:00AM +0100, Philip Hazel wrote:
>
> I would guess that most people set smtp_accept_max to less than 100.
> Searching a linear list of 100 is pretty fast. However, if it proves
> unacceptable, some kind of hash is probably the best alternative, since
> it could be done in a fixed amount of store.


I did not have a closer look at Nigels code. However, if you set
the limit for a single IP eg. to 30, a run through the first 70
connections would be sufficient. In the ordinary case (less than
30 connections) there is no need for a run at all.

Greetings,


Georg

--
*** Exim information can be found at http://www.exim.org/ ***