Forum Discussion
Lee_Wooderson_1
Nimbostratus
Jan 10, 2018Irule logic question
when HTTP_REQUEST { if { ([matchclass [string tolower [HTTP::uri]] contains Allowed_uri]) or ([matchclass [IP::client_addr] equals Allowed_IP]) } { } else {
log local0. "---CLIENT IP---[IP::client_addr] URI is [HTTP::uri]"
drop }
In the above irule, would the http request be permitted as long as either datagroup matches? It wouldn't have to match both to be permitted because of the "or" logic?
4 Replies
No RepliesBe the first to reply
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