November 01, 2016 06:28PM

  Original Message  
From: Cox, Eric S
Sent: Tuesday, November 1, 2016 8:16 AM
To: nginx@nginx.org
Reply To: nginx@nginx.org
Subject: Blocking tens of thousands of IP's

Is anyone aware of a difference performance wise between using
 
return 403;
 
vs
 
deny all;
 
When mapping against a list of tens of thousands of ip?
 
Thanks  

-------------

I started a thread on blocking via nginx a while ago. I will most assuredly get the terminology wrong here, but what I noticed is nginx reads the data from the IP then blocks the actual processing.
‎The fact you see the IP in your nginx access log indicates nginx spent some time on the IP request.

It is more efficient to block the IP space at the firewall.  For one thing, it keeps the access.log cleaner since the requests never show up.

I still maintain a file compatible with nginx, but have a script to convert the file to an IPFW table. 

I receive nothing but grief when I mention in forums about blocking the IP space of what consider not to be eyeballs. I just see no reason to serve AWS, OVH, etc. OVH has been documented in nation state hacking as command and control. 

I block one or two commercial sites every time I process the log. (Obviously sites I haven't seen before since are not in the ipfw table.)I flag the obvious hacking and have scripts to display all the entries or just the IPs.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Blocking tens of thousands of IP's

Cox, Eric S November 01, 2016 11:18AM

Re: Blocking tens of thousands of IP's

CJ Ess November 01, 2016 05:40PM

Re: Blocking tens of thousands of IP's

jeffdyke November 01, 2016 05:48PM

RE: Blocking tens of thousands of IP's

Cox, Eric S November 01, 2016 05:50PM

Re: Blocking tens of thousands of IP's

Lucas Rolff November 01, 2016 05:54PM

Re: Blocking tens of thousands of IP's

mex November 04, 2016 05:37AM

Re: Blocking tens of thousands of IP's

Rainer Duffner November 01, 2016 05:52PM

RE: Blocking tens of thousands of IP's

Cox, Eric S November 01, 2016 06:36PM

Re: Blocking tens of thousands of IP's

Rainer Duffner November 01, 2016 06:42PM

RE: Blocking tens of thousands of IP's

Cox, Eric S November 01, 2016 06:44PM

Re: Blocking tens of thousands of IP's

Rainer Duffner November 01, 2016 06:56PM

RE: Blocking tens of thousands of IP's

Cox, Eric S November 01, 2016 06:58PM

Re: Blocking tens of thousands of IP's

gariac November 01, 2016 07:00PM

Re: Blocking tens of thousands of IP's

Tom Thorogood November 01, 2016 07:06PM

Re: Blocking tens of thousands of IP's

gariac November 01, 2016 06:48PM

Re: RE: Blocking tens of thousands of IP's

mex November 04, 2016 05:43AM

Re: Blocking tens of thousands of IP's

Jonathan Vanasco November 08, 2016 01:30PM

Re: Blocking tens of thousands of IP's

mayak November 08, 2016 06:00PM

Re: Blocking tens of thousands of IP's

mex November 15, 2016 01:09AM

Re: Blocking tens of thousands of IP's

gariac November 08, 2016 06:16PM

Re: Blocking tens of thousands of IP's

CJ Ess November 18, 2016 02:46PM

Re: Blocking tens of thousands of IP's

Maxim Dounin November 02, 2016 08:58AM

Re: Blocking tens of thousands of IP's

gariac November 01, 2016 06:28PM

Re: Blocking tens of thousands of IP's

Francis Daly November 03, 2016 03:02PM

Re: Blocking tens of thousands of IP's

noci November 23, 2016 09:33AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 307
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