aboulleill_3013
Dec 01, 2016Nimbostratus
Dears,can you please correct the following irule
Dears,
the following Irule will block any attempt to access the url containing /admin directory from any source except 172.0.0.0/8 subnet.I'm getting the following error
01070151:3: Rule [/BM_IB/test1] error: /BM_IB/test1:6: error: [missing an expression][ ]
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::uri]] {
"/admin*"
if { ( [IP::addr [IP::client_addr] equals 172.0.0.0/8] )
}
{
reject }
default {
return
}
}
}