HttpLimitReqModule logging and not denying

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
(GitHub - yaoweibin/nginx_http_recaptcha_module: support google's reCAPTCHA with Nginx 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.

Thank you for your help!
Rami

Posted at Nginx Forum:

On 3 June 2011 04:00, ressaid [email protected] wrote:

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