Forum Discussion
arjun_ankathil_
Nimbostratus
Apr 08, 2010HTTP traffic deny - not working.
A request for test.test.com/BluePortServlets/PaymentPortal on HTTP was requested to be dropped , Configured below iRule and applied to VS , however traffic is still reached.
rule test_payment_rule
when HTTP_request { if {TCP::local_port != 443 and [HTTP::uri] contains "BluePortServlets/PaymentPortal" }{
drop }
Also tcpdump output shows POST messages being used to get to BluePortServlets/PaymentPortal
Can someone please advice on how to drop traffic this HTTP requested.
5 Replies
- hoolio
Cirrostratus
Hi Arjun,when HTTP_REQUEST { log local0. "[IP::client_addr]:[TCP::client_port]: [HTTP::method] request to [HTTP::host][HTTP::uri]" if {[HTTP::path] contains "BluePortServlets/PaymentPortal" }{ log local0. "[IP::client_addr]:[TCP::client_port]: Dropping request to [HTTP::uri]" drop } }
- arjun_ankathil_
Nimbostratus
Hi Aaron, - arjun_ankathil_
Nimbostratus
Hi Aaron, - hoolio
Cirrostratus
Sorry, somehow I had HTTP_REQUEST listed as HTTP_request. Can you try the edited example above? - arjun_ankathil_
Nimbostratus
Thanks Aaron, my bad , didn't think about that ..
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects