Welcome! Log In Create A New Profile

Advanced

Re: Large IP deny list

October 19, 2009 10:22AM
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 host-tracker.com 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?

Yes.

> 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:
http://wiki.nginx.org/NginxHttpGeoModule


--
Igor Sysoev
http://sysoev.ru/en/
Subject Author Posted

Large IP deny list

coldplug October 19, 2009 10:10AM

Re: Large IP deny list

Igor Sysoev October 19, 2009 10:22AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 69
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready