Forum Discussion
access URL filter from irule
Hello,
hope anybody could help. I seek for a possibility to access a URL filter from within an iRule. My customer has a SWG with IPI and URL database subscritions. The IPI database could easyly reached via the IP::reputation command. I seek now an option to reference the URL filters for a bandwidth controller.
My existing iRule:
when HTTP_REQUEST { if { ([class match [string tolower [HTTP::host]] equals bwc_sites]) } { set mysession "[IP::remote_addr]:[TCP::remote_port]" BWC::policy attach bwc_streaming_media $mysession log local0. "Bandwidth Policy attached Session ID: $mysession" log local0. [IP::client_addr] log local0. [HTTP::host] } }
I will now replace the data group list bwc_sites by a URL filter or categorie from the SWG.
1 Reply
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