Welcome! Log In Create A New Profile

Advanced

Re: IP-Range in Limit-Moduls

Maxim Dounin
October 22, 2009 10:54AM
Hello!

On Thu, Oct 22, 2009 at 10:19:34AM -0400, double wrote:

> Hello,
>
> Is there a chance to set an IP-Range with the "HTTP Limit Zone"
> or the "HTTP Limit Requests" module?
> Like 1.2.3.4/8 -> ignore the last 8 bits of the internet address.
>
> It would reduce the required zone-size and would help against
> DDoS attacks.

You are free to use any variable in limit_zone/limit_req_zone. It
should be possible to produce needed variable with rewrite module
(or alternatively via embedded perl).

Maxim Dounin
Subject Author Posted

IP-Range in Limit-Moduls

double October 22, 2009 10:19AM

Re: IP-Range in Limit-Moduls

Maxim Dounin October 22, 2009 10:54AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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