Welcome! Log In Create A New Profile


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:

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?

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: 62
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready