Forum Discussion
mbamusa_59409
Mar 19, 2011Nimbostratus
OWA , ActiveSync And RPC Over HTTP in ONE VS
Hi All,
i have ONE virtual server configured for the three services (OWA , ActiveSync and Outlook Any Where) and it works fine ,but when i enabled th ASM OWA and ActiveSync are working fine ,but RPC Over HTTP not working any more and i did a small search on Askf5.com and i found the following Irule to disable ASM for RPC traffic ,but THE LTM version is 10.2.1
,so if there is any way else to do it on this Please HELP ME :) .
thank you
* BIG-IP ASM versions 9.4.2 through 9.4.7:
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 }{PLUGIN::disable ASM} else {PLUGIN::ensable ASM}}
- Steve_Brown_882Historic F5 AccountThis irule should work in v10 accept you will need to change PLUGIN::disable ASM and PLUGIN::enable ASM to ASM::enable and ASM:disable. Double check the wiki for the new syntax.
- Steve_Brown_882Historic F5 AccountMy last post should have read /rpc, darn auto correct.
- mbamusa_59409NimbostratusDear Brown,
- Steve_Brown_882Historic F5 AccountThat is pretty close. In v10 I would do something like this.(note the diffrence in the enable disable commands.)
- mbamusa_59409NimbostratusHi steve .
- Steve_Brown_882Historic F5 AccountNo that will not work because $rpcdata is a variable so in you rule it will never b = 0 actually it is never defined. When you say you don't know how the request will reach the f5 are you concerned with case? If so just use string to lower like below. By the way if this is for outlook anywhere it will arrive starting wit /rpc as this is what the outlook client sends. Actually you could use eq "/rpc/rpcproxy.dll" as this is what it should always be.
- Michael_YatesNimbostratusWe had a similar problem. Try this:
when HTTP_REQUEST { set path [HTTP::path] set method [HTTP::method] } when HTTP_CLASS_SELECTED { if { ($path eq "/rpc/rpcproxy.dll") and (($method equals "RPC_IN_DATA") or ($method equals "RPC_OUT_DATA")) } { PLUGIN::disable ASM } }
- mbamusa_59409NimbostratusDear michael,
- Michael_YatesNimbostratusWe removed our OWA from behind the ASM after we upgraded from v9.4.3 to v10.2.0. I have not put it back behind the ASM, so that iRule is for v9.
- mbamusa_59409NimbostratusDear Steve and Michael,
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