Welcome! Log In Create A New Profile

Advanced

Limit_conn with zones -- safe production server value?

May 29, 2011 12:07PM
Hi. I am trying to replicate the functionality of mod_evasive on Apache, which basically says that at the same point the same IP can have only "X connections per second".

I see the example here:
http://wiki.nginx.org/HttpLimitZoneModule

But this uses "binary_remote_addr". How does this cater for shared IPs, where people in the same network may actually have the same remote addr.

Can I therefore use some other variable, such as a combination of "binary_remote_addr" and their "http_user_agent"?

What is the most often used value in production environments?

Thanks!
Subject Author Posted

Limit_conn with zones -- safe production server value?

pk899 May 29, 2011 12:07PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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