Forum Discussion
swo0sh_gt_13163
Altostratus
Feb 25, 2015Traffic Policy to map HTTP::class select command?
Hello Folks,
Sorry, opening another thread similar to the first one I opened today morning.
Can anyone help me with Traffic Policies as per the requirement? Basically following is the iRule snippet...
Torti
Cirrus
Feb 26, 2015I think, you get a problem, if you enable an ASM policy with the irule and with the LTM policy. Normally, I do this all with LTM plicy only, but there is no option to filter for an ip address or address range. Only a vlan filter is possible. Thats a missing feature.
Your code looks a little bit to complicated.
Try it with my example from above, but set ASM::disable at the ip filter.
Like this
when HTTP_REQUEST {
if { [class match [IP::client_addr] equals "disable_asm_ip_ranges"] }{
ASM::disable
}
else {
ASM::enable /Common/cls_EMS_staging
}
}
and don't forget to enable security at the virtual server
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
