Forum Discussion

minow123_359638's avatar
minow123_359638
Icon for Nimbostratus rankNimbostratus
Dec 27, 2018

Captcha counter increase

hey

 

i am using the build in captcha feature, and i have configured a Macro with a loop for my 2 factor authentication. the macro loop is configured for 3 loops and than the access policy reaches to the access policy deny. from my research i have seen that the counter for the captcha only increases when it reaches the policy deny. how can i increase the counter manually using iRule probably using event agent before the Macro loop terminal?

 

thanks

 

  • Use the ISTATS::incr command

    eg

    ISTATS::incr "ltm.virtual [virtual] c captcha_total"
    

    This will attach the stat to the virtual server, view it using

    tmsh show ltm virtual