Blocking tens of thousands of IP's

lists at lists at
Tue Nov 8 23:15:05 UTC 2016

Is that 2.2 million CIDRs, or actual addresses?

I use IPFW with tables for about 20k CIDRs. I don't see any significant server load. It seems to me nginx has a big enough task that it makes sense to offload the blocking to something that is more tightly integrated to the OS. 

At a bare minimum, block OVH and Hetzner. People bash the Russians and old Soviet block countries for hacking, but OVH and Hetzner are far worse. 

  Original Message  
From: mayak
Sent: Tuesday, November 8, 2016 2:58 PM
To: nginx at
Reply To: nginx at
Subject: Re: Blocking tens of thousands of IP's

On 11/08/2016 07:28 PM, Jonathan Vanasco wrote:
> On Nov 4, 2016, at 5:43 AM, mex wrote:
>> we do a similar thing but keep a counter within nginx (lua_shared_dict FTW)
>> and export this stuff via /badass - location.
>> although its not realtime we have a delay of 5 sec which is enough for us
We are blocking 2.2 million addresses, however, we do it at the firewall/router (pfsense pfBlocker).

Ultra fast.



nginx mailing list
nginx at

More information about the nginx mailing list