Forum Discussion
Nick_Palmer_f5
Nimbostratus
Oct 24, 2013Blocking a HTTP Verb/Method
Hello!
Could you please help me come up with a solution on suppressing/blocking a HTTP verb? Will iRule be a good option for this? A site we host was scanned by client which showed the TRACE met...
Kevin_Stewart
Employee
Oct 25, 2013That should work, and you can actually shorten it:
when HTTP_REQUEST {
if { [string tolower [HTTP::method]] equals "trace" } {
log local0. "Attempt by [IP::client_addr] with a forbidden HTTP verb: [HTTP::method]"
reject
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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