Forum Discussion
chiznitz_15400
Nimbostratus
Mar 07, 2014iRule - Don't show 403 forbidden alert when from whitelisted IP
Hi all,
Our website doesn't allow users to backspace the URL and press enter, this triggers a 403 forbidden alert. Many of our customers are doing this on accident and it gives us a lot of nois...
chiznitz_15400
Nimbostratus
Mar 10, 2014This is what I have so far, the question is will this already have logged the violation? I'm trying to say that if this violation happens we don't want to see it in the logs.
when ASM_RESPONSE_VIOLATION { set x [ASM::violation_data] set y [ASM::client_ip] if {([lindex $x 0] contains "VIOLATION_HTTP_STATUS_IN_RESPONSE") and $y equals x.x.x.x } ASM::disable
} else { ASM::enable /Common/myasmpol
}}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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