Forum Discussion
prasad_mehta23_
Nimbostratus
Sep 16, 2016IRule for URL blocking with string starting with special character
We have a F5 ASM and LTM module implemented on AWS Cloud. The public traffic to our application server passes through F5. My requirement is to block the traffic with URL starting with https://www.abc.com/.b How do I achieve this ? Is iRule or ASM is the best suit for this ? What is the Irule configuration for this?
1 Reply
- cjunior
Nacreous
Unlike the ASM suggests in this configuration, I have this as disallowed URI rather than disallowed URL.
So, if I thinking to that policy is to unique host/domain and that disallowed URI is explicit, I'd prefer to set in ASM "Disallowed URL" settings. So, I'm not sure about command to trigger ASM to block, just to unblock. Thus, you may need a second policy or some logic into the iRule to register the violation as an ASM event log, otherwise, you'll just drop the request and register "syslog", if needed.
It's just a point of view.
Regards.
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