HttpLimitReqModule logging and not denying
Thomas Love
tomlove at gmail.com
Fri Jun 3 06:14:36 MSD 2011
On 3 June 2011 04:00, ressaid <nginx-forum at nginx.us> wrote:
> Hi All,
>
> I am trying to restrict frequent requests but not block it completely.
> I've gotten HttpLimitReqModule to work but this just blocks the requests
> that exceed the limit. Instead I would like to be able to log it into a
> table and then forward all such offenders to a recaptcha test
> (https://github.com/yaoweibin/nginx_http_recaptcha_module autor:weibin
> yao). My C skills are not what they used to be and am trying to avoid
> rewriting the HttpLimitReqModule to accomplish this. Any ideas?
>
> PS - I would preferably like to do this all in nginx and not involve a
> PF or IPTables.
>
Doing it in the application should be easiest. You'll need to
keep/read logs either way.
Thomas
More information about the nginx
mailing list