Forum Discussion
yves_werniers_1
Nimbostratus
Oct 14, 2009class and v9.1.2
Hello,
It seems like the class command was introduced in v10.0, whereas matchclass was introduced in v9.0.
I am running v9.1.2. How can I cerate something classlike and use class...
hoolio
Cirrostratus
Oct 14, 2009You can use matchclass in 9.x or 10.x to evaluate an IP address or string against a class.
You might also consider adding the three IP addresses to an address type datagroup (aka class) and then use matchclass again to check the XFF header value against the datagroup.
Be aware that it's likely that attackers could bypass your logic though using obfuscation techniques:
http://devcentral.f5.com/Default.aspx?tabid=53&view=topic&postid=30900
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