How to use cookie for request/conection limiting

Arvind Jayaprakash work at
Fri Oct 30 20:20:42 MSK 2009

On Oct 29, piavlo wrote:
>I'd like to limit connections and/or request based on cookies
>Is it possible to do it with something like this:
>limit_req_zone  $cookie_somename  zone=one:10m   rate=1r/s;
>The only thing I've found is
>but this module has not been updated for 2 years.

Are you trying to limit genuine or malicious users? A malicious user can
always circumvet the limites by creating his own cookies and sending

More information about the nginx mailing list