Forum Discussion
Joseph_Goyette_
Nimbostratus
Mar 16, 2005matchclass and syntax errors
I've got a simle iRule below based on the example in the Writing iRules section of the LTM guide.
In a nutshell, I am attempting to direct requests to specific urls based on the client...
James_Thomson
Employee
Apr 25, 2005What if you wanted to not specify the pool, but deny everything outside of the matchclass, how would you do a "does not equal". Something like this:
when CLIENT_ACCEPTED {
if {[matchclass [IP::remote_addr] !eq $::allowed-group] } {
discard
}
}
It doesn't like the !eq section. Any ideas how to do this?
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