Forum Discussion
Kai_Wilke
Jan 12, 2016MVP
Hi 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