Forum Discussion
smiley_dba_1116
Mar 23, 2016Nimbostratus
F5 APM - iRule reviewing pattern matching
is there a way to look at a user login and if the F5 sees a unique pattern.....say 3 alpha characters and 4 numeric characters, deny the request or redirect.
RGW
JG
Mar 24, 2016Cumulonimbus
I have not tested the following but it will give you something to get started with:
when ACCESS_ACL_ALLOWED {
if {[string tolower [ACCESS::session data get "session.logon.last.username"]] matches_regex {^[A-Za-z]{3}\d{4}$} } {
HTTP::redirect http://my.other.place/
}
}
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