Forum Discussion
Jun 09, 2011
How do I detect a web dav request?
Hello , I would like to drop any web dav calls being made. Any one knows how this can be done? ex) when HTTP_REQUEST { if { ([(WEB DAV) string tolower [HTTP::uri]...
hooleylist
Jun 13, 2011Cirrostratus
'event disable all' would prevent all further events from being run for the duration of the TCP connection. But reject should have the same effect as TMM will send the client a TCP reset and close the connection. I guess you could do both to be really complete:
when HTTP_REQUEST {
Send a TCP reset for WebDav methods
switch [HTTP::method] {
"MOVE" -
"COPY" -
"LOCK" -
"UNLOCK" -
"PROPFIND" -
"PROPPATCH" -
"MKCOL" {
reject
event all disable
}
}
}
Aaron
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