TJ01
Nov 17, 2021Nimbostratus
Restrict domain access via host IP
HI Guys,
The requirement is to restrict site access via IP - I am trying to block access based on host value
Can someone please review and advise if the below event block will work.
when HTTP_REQUEST {
if { [HTTP::header "host"] equals "10.x.x.x"}{
log local0. "dropped"
reject
}
}