Forum Discussion
player_72606
Nimbostratus
Jul 19, 2009uri by source ip
Hi all,
newbie here :-)
i need help writing iRule to filter uri by source ip :
for uri /web/admin=1 - source ip 1.1.1.1
for uri /web/admin=0 - all others
...
hoolio
Cirrostratus
Jul 20, 2009To discard a connection, you can use the discard command. I'm not sure I understand the exact logic you're trying to implement, but hopefully the example I added above will be enough for you to get started. If you run into problems, try adding log statements to the iRule to see what conditions are being met. The log output will be written to /var/log/ltm by default.
Aaron
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
