Forum Discussion
fubarSUSHI
Altocumulus
Mar 11, 2014irule help: Limit HTTP Methods to ONLY GET and POST and reject everything else?
Im still trying to figure out the iRule nirvana but I am requesting the help of all y'alls to guide me in the right direction.
=================
when RULE_INIT {
set good_http_methods [list “GET...
fubarSUSHI
Altocumulus
Mar 11, 2014Kevin:
Would this work if I wanted to log?=========================
when HTTP_REQUEST {
if { [class match [HTTP::method] equals good_http_methods]} {
log local0. "good methods [HTTP::method]"
return
} else {
log local0. "rejected methods [HTTP::method]"
reject
}
}
=========================
A question about setup on the data group list?
Records>String=POST Records>Value=? (What do I put there?)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