Forum Discussion
Robert_Sutcliff
Nimbostratus
Aug 15, 2007matchclass not returning a result
Hi,
I'm trying to setup a simple blacklist iRule to drop connections from clients with an IP that matches an entry in a DataGroup, and log the relevant entry. I use seperate Host and Network Data...
Robert_Sutcliff
Nimbostratus
Aug 16, 2007Hi,
If I add a stanza as below, it logs that the specific IP address matches
if { [IP::addr [IP::client_addr] equals 10.148.82.12] } {
log local0. "[IP::client_addr] equals 10.148.82.12"
}
However, because I want to match against a set of network addresses in a datagroup, I can't use IP::addr unless I write a whole load of logic to iterate through the datagroup manually - which is where matchclass is supposed to come in...
Rob
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