limit_req per subnet?

Grant emailgrant at gmail.com
Fri Dec 30 12:30:22 UTC 2016


>>> I'm looking for something that can
>>> be implemented independently of the backend, but that doesn't seem to
>>> exist in nginx.
>>
>> http://nginx.org/r/limit_req_zone
>>
>> You can define the "key" any way that you want.
>>
>> Perhaps you can create something using "geo". Perhaps you want "the first
>> three bytes of $binary_remote_addr". Perhaps you want "the remote ipv4
>> address, rounded down to a multiple of 8". Perhaps you want something
>> else.
>
>
> So I'm sure I understand, none of the functionality described above
> exists currently?


Or can it be configured without hacking the nginx core?

- Grant


>> The exact thing that you want, probably does not exist.
>>
>> The tools that are needed to create it, probably do exist.
>>
>> All that seems to be missing is the incentive for someone to actually
>> do the work to build a thing that you would like to exist.


More information about the nginx mailing list