Forum Discussion
Need translated iRule for bigip: 11.4
Hi guys , i know its very silly but can any one help me to translate the following iRules form ver 11.3 to 11.4, thanks in advance.
RPC_ASM_irule
when HTTP_REQUEST { if { ([HTTP::path] eq "/rpc/rpcproxy.dll") and \ (([HTTP::method] equals "RPC_IN_DATA") or ([HTTP::method] equals "RPC_OUT_DATA"))}{ set rpcdata 1 } else { set rpcdata 0 } } when HTTP_CLASS_SELECTED { if { $rpcdata == 1 }{ ASM::disable } else { ASM::enable } }
2 Replies
- Kevin_Stewart
Employee
I believe, despite the wiki article saying otherwise, that you can just do this:
when HTTP_REQUEST { if { ( [HTTP::path] eq "/rpc/rpcproxy.dll" ) and ( ( [HTTP::method] equals "RPC_IN_DATA" ) or ( [HTTP::method] equals "RPC_OUT_DATA" ) ) } { ASM::disable } } - What_Lies_Bene1
Cirrostratus
ASM processing is enabled by default, hence you don't need to enable it.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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