Forum Discussion
The_Bhattman
Apr 16, 2009Nimbostratus
There are several ways to approach this
Here are some examples
when HTTP_REQUEST {
if { [HTTP::header "Host"] equals " " } {
reject
}
}
or
class publicaddr {
"215.25.25.35"
"215.25.25.33"
"215.25.25.34"
}
when CLIENT_ACCEPTED {
if { [matchclass [IP::remote_addr] equals $::publicaddr] } {
reject
}
}
These are just examples.
Hope this helps
CB