Forum Discussion
Raymond_Feng_97
May 11, 2006Historic F5 Account
how to use matchclass work with network group
Hi, all
very easy question ,but I tried serveral times ,still not found the answer. The question is how to write the irules like below which is irule4.5 .
if( client_ip == one of hacker_...
Raymond_Feng_97
May 16, 2006Historic F5 Account
haha, it takes me one hour to combat with if-else state!!!!! I don't know why, but it's true , blew irules can run:
when CLIENT_ACCEPTED {
if { [ matchclass [IP::client_addr] equals $::hacker_group ] } {
log "stop!!! "
reject
} else
{
log "continue!!!"
pool router_web
}
}
and when I change the else location, it can't run:
when CLIENT_ACCEPTED {
if { [ matchclass [IP::client_addr] equals $::hacker_group ] } {
log "stop!!! "
reject
}
else {
log "continue!!!"
pool router_web
}
}
software is bigip v9.2.3!! and all our example is just like the second, my god!
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