Forum Discussion
Lee_Wooderson_1
Jan 10, 2018Nimbostratus
Irule 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::cl...
Lee_Sutcliffe
Jan 10, 2018Nacreous
This should be all you need, traffic not matching the URI data group will be dropped. Everything else will be permitted.
when HTTP_REQUEST {
if {(not [class match [string tolower [HTTP::uri]] contains Allowed_uri])} {
drop
}
}
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