Large IP deny list

Igor Sysoev is at
Mon Oct 19 18:17:57 MSD 2009

On Mon, Oct 19, 2009 at 10:10:39AM -0400, coldplug wrote:

> Hello. I want to filter some services from accessing my webs, for example and similar. For that purporse I created conf file with really lot of "deny IP;" directives in it. Would this very large IP deny list affect nginx performance?


> Also, is there a limit how much single IPs can be blocked by nginx?

~2^32 on 32-bit host.

It's better to use geo module for large number of IPs:

Igor Sysoev

More information about the nginx mailing list