Welcome! Log In Create A New Profile

Advanced

Re: HttpLimitZoneModule and HttpLimitReqModule.. possible to list IPs banned?

Maxim Dounin
March 29, 2012 11:50PM
Hello!

On Thu, Mar 29, 2012 at 06:01:50PM +0000, Micheal Wolfskill wrote:

> I have this inside my httpd {}.. Is there anyway to list the IPs
> that have been banned? If not what is the closest way to do
> this?
>
> limit_req_zone $limit zone=notabot:5m rate=200r/s;
> limit_req zone=notabot burst=200 nodelay;

Right now the only way is to check error logs, nginx will log "...
limiting requests ... by zone ..." for each request rejected by
limit_req (at level set by limit_req_log_level, "error" by
default). The same applies to limit_conn as well.

Maxim Dounin

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

HttpLimitZoneModule and HttpLimitReqModule.. possible to list IPs banned?

Micheal Wolfskill March 29, 2012 02:02PM

Re: HttpLimitZoneModule and HttpLimitReqModule.. possible to list IPs banned?

Maxim Dounin March 29, 2012 11:50PM

Re: HttpLimitZoneModule and HttpLimitReqModule.. possible to list IPs banned?

姚伟斌 March 29, 2012 11:54PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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