Forum Discussion
kaguras_48797
Apr 18, 2011Nimbostratus
iRule and Operators Help
Hi all,
I'a new user and I would like to know is it possible to write an iRule that contorls IP address and cookie which will reject or send a reset package if IP address is not an IP Addres...
Michael_Yates
Apr 18, 2011Nimbostratus
Yes. That is possible with iRules.
Here is the Wiki Entry to check on a Cookie:
http://devcentral.f5.com/wiki/default.aspx/iRules/HTTP__cookie.html
Here is the Wiki Entry for "class match" (I would suggest using a Data Group unless you know that your only going to want to block a single IP or subnet. Data Groups give you additional flexibility, but if it doesn't fit there are alternatives).
http://devcentral.f5.com/wiki/default.aspx/iRules/class.html
If you need additional help in starting your iRule let us know.
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