11-17-2015 07:59 AM - edited 11-17-2015 08:00 AM
I have tried to create a Custom threat a number of times that blocks people from accessing our site via IP address as the url. I have tried setting it up as so
Operator: Pattern-Match
Context: http-req-host-header
Pattern: 111\.2\.3\.4
Qualifer: req-hdr-type
Value: HOST
Or
Operator: Pattern-Match
Context: http-req-host-header
Pattern: 111\.2\.3\.\d+[:](80|443)
Qualifer: req-hdr-type
Value: HOST
Or
Operator: Pattern-Match
Context: http-req-host-header
Pattern: 111\.2\.3\.4
Qualifer: rhttp-method
Value: HOST
I was going to try the following next:
Operator: Pattern-Match
Context: http-req-uri-path
Pattern: 111\.2\.3\.4
Qualifer: http-method
Value: Get
Any example or advice on this would be appreciated.
11-18-2015 08:49 AM
If you want the entire class C address space you could have a three patterns:
111\.2\.3\.. covers 0-9
and
111\.2\.3\... covers 10-99
and
111\.2\.3\.... covers 100-255
the trailing period is a wildcard
Alternatively you can have a pattern for each IP address.
11-18-2015 09:19 AM
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!