Forum Discussion
Jereme_De_Leo_4
Nimbostratus
Sep 11, 2006TCL Error
Greetings,
I am receiving the following TCL error in the Local Traffic logs of the Big-IP:
"TCL error: Rule rate_limit_5 CLIENT_CLOSED - cant read client_ip: no such variable while...
Deb_Allen_18
Sep 11, 2006Historic F5 Account
I'd guess that the connections meant to be excluded from the rule are hitting the CLIENT_CLOSED event without having set the variable "client_ip" for those connections.
The "return" command only stops processing of that event in that rule. To end rule processing altogether for those connections, change the "return" command in CLIENT_ACCEPTED to "event disable all":
when CLIENT_ACCEPTED {
if { [matchclass [IP::remote_addr] equals $::monhosts] } {
event disable all
}
set client_ip [IP::remote_addr]
...
I think that will do the trick.
/deb
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