Forum Discussion
nitass
Feb 14, 2012Employee
Is there another way of doing this without
using the data group and just the two IP address (199.200.99.150 and 199.200.99.151) in the code? can you try something like this?
when HTTP_REQUEST {
if {not ([IP::addr [IP::client_addr] equals 199.200.99.150]) and \
not ([IP::addr [IP::client_addr] equals 199.200.99.151])} {
log local0. "do"
} else {
log local0. "do something else"
}
}