Forum Discussion
Allanwynn_16283
Nimbostratus
Mar 24, 2015Lockout Policy APM
Hi,
I am new with F5, i think I starting with APM around just 1 month, so may I ask for your help. So the setup usign access policy right now is:
- gr...
Henrik_Gyllkran
Nimbostratus
Mar 24, 2015On second consideration I realised that my example wasn't working as expected, I changed the iRule to this instead:
when ACCESS_POLICY_AGENT_EVENT {
if { [ACCESS::policy agent_id] eq "failed_logon" }{
table set [IP::client_addr] 100 300
}
}
when HTTP_REQUEST {
if { !([table lookup -notouch [IP::client_addr]] eq "")}{
reject
}
}
Now it works as I expected, and this also means you can remove the first iRule Event from the Policy. Or ignore create it as it were.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects