Google reCAPTCHA v2 challenge iRule, integration with BIG-IP virtual server
Updated Jun 06, 2023
Version 3.0Was this article helpful?
I tried this on BigIP 12.1.4. I was testing with recaptcha_session_timeout set, and saw line 136 throwing an error. Adding curly braces around this expression resolved the issue:
{ [clock seconds] + $static::recaptcha_session_timeout }
HTH anyone else using this script.
With this one correction, works as expected. With the cookie in play, and conditional statements at the top of the HTTP_REQUEST section, I anticipate we can fine-tune access control over individual portions of the web site. Thank you for providing this.