Forum Discussion
3 Replies
Sort By
You could also use a traffic policy in LTM to only allow traffic if the host header has the correct name.
Cheers,
Kees
Try this ->
when HTTP_REQUEST { if { [HTTP::host] matches_regex "\d+\.\d+\.\d+\.\d+" } { drop } }
KR,
Dario.
- Cody_GreenEmployee
An easy way would be to leverage the black list feature in AFM (which is including in Better and Best licensing bundles). If you don't have AFM then you can leverage an iRule that looks for IPs inside a data group. You could base the code off this example but instead of setting reqBlock to 1 just reset the connection right then - no need for the ASM_REQUEST_DONE event.