Forum Discussion
Hannes_Rapp
Nimbostratus
Jan 12, 2016ASM scenario - Shared Policy for Dozens of Virtual Servers
Hello Team,
Perhaps someone has a creative solution to my problem.
Question:
What would be a good way to put an ASM Security Policy to Transparent Mode (for one Virtual Server). Consider th...
Kai_Wilke
MVP
Jan 12, 2016Hi Hannes,
as already sugested by Tzoori the
[ASM::unblock] command can be used to selectively overwrite your "Blocking Mode" policy to "Transparent Mode". The snippet below can be used as a starting point...
when ASM_REQUEST_DONE {
if { ( [ASM::status] eq "blocked" ) and
( [HTTP::host] equals "www.domain.de" ) and
(( [IP::addr [IP::client_addr] equals 10.0.0.0/8] ) or
( [IP::addr [IP::client_addr] equals 172.16.0.0/12] ) or
( [IP::addr [IP::client_addr] equals 192.168.0.0/16] )) } then {
ASM::unblock
}
}
Note: Keep in mind that have to enable the post v11.5 iRule operation mode in your ASM policy, to trigger the
event. ASM_REQUEST_DONE
Cheers, Kai
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