Deny Source IP and Response 403
- Using aFlex to deny some source IP and response 403
Requirement
- Service Type: HTTP / HTTPS
Code
when HTTP_REQUEST { if { [IP::addr [IP::client_addr] equals 8.8.8.8 ] } { HTTP::respond 404 } }
when HTTP_REQUEST { if { [IP::addr [IP::client_addr] equals 8.8.8.8 ] } { HTTP::respond 404 } }