Forum Discussion
M451_315544
Cirrus
Mar 28, 2017Create iRule to prevent external users from hitting directories
Hello all.
I am new to iRules and I am not sure how to test what I've done so far without impacting production so I thought I'd ask here first to review my logic.
Logic- Create an iRule to...
M451_315544
Cirrus
Mar 28, 20172nd attempt.
when HTTP_REQUEST {
if { (![class match [IP::remote_addr] contains private_net]) and [class match [ [HTTP::uri]] contains subdir ]} {
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
