Hello,
I want to limit the number of connection per hour from IP range.
For example, I want to limit every hour, each IP can only visit our
website for 5 times.
How can I write the config?
There is limit_req, which limit the connection rate, used for DDos
control.
But it is different from my requirement.
Thanks,
Yanxin
You might be better off researching a solution with iptables
On 5/4/11, Yanxin Z. [email protected] wrote:
But it is different from my requirement.
nginx Info Page
–
–C
“The dumber people think you are, the more surprised they’re going to
be when you kill them.” - Sir William Clayton
Thanks Chris.
Do you have example I can refer?
Yanxin
Many are available online in regards to SSH limiting however you have
to put in IP ranges of people you do not want to limit, which could be
very hard. What exactly are you trying to do?
On 5/4/11, Yanxin Z. [email protected] wrote:
nginx Info Page
–
–C
“The dumber people think you are, the more surprised they’re going to
be when you kill them.” - Sir William Clayton
Hi Chris,
I want to control the public to do query inside my website, so that bad
guy can not do database harvest.
For example, each IP can only do query 10 times per day.
The IP I do not want to limit is my own IP. So it’s simple to recognize
the IP range.
Please let me know your opinion.
Thanks,
Yanxin
Thank you for your direction, Chris.
http://www.shanestillwell.com/blog/2009/03/24/throttle-traffic-iptables
I wish you luck on a solution but it seems rather odd
On 5/4/11, Yanxin Z. [email protected] wrote:
Yanxin
–
Posted via http://www.ruby-forum.com/.
nginx mailing list
[email protected]
nginx Info Page
–
–C
“The dumber people think you are, the more surprised they’re going to
be when you kill them.” - Sir William Clayton