ip address
I was looking on how to inculde a netwerk instead of a host in the next rule.
when CLIENT_ACCEPTED {
if { ( [IP::addr [IP::client_addr] equals "11.22.33.44%232"] )
or ( [IP::addr [IP::client_addr] equals "22.22.22.22%232"] )
or ( [IP::addr [IP::client_addr] equals "33.33.33.33%232"] ) } then {
Allow the request
} else {
log local0. "request rejected from ( IP::addr [IP::client_addr] ) "
reject
}
}
Found in the meantime i just need to add the mask to extend from host to network.
[IP::addr [IP::client_addr] equals "11.11.0.0%228 mask 255.255.0.0"]
Found in the meantime i just need to add the mask to extend from host to network.
[IP::addr [IP::client_addr] equals "11.11.0.0%228 mask 255.255.0.0"]