TJ_Vreugdenhil
Apr 13, 2014Cirrus
TCL error for basic ACL iRule
Does someone know why this TCL error is happening? I'm running 11.4.1 HF2
Apr 13 11:28:49 F5-AS400-LB-ACTIVE err tmm3[12193]: 01220001:3: TCL error: /Common/source_filter - bad action "172.17.1.250": must be match, search, lookup, element, type, exists, size, names, get, startsearch, nextelement, anymore, or donesearch while executing "class [IP::client_addr] equals allowed_datagroup"
when RULE_INIT {
v1.0 - basic ACL.
January, 2014
Purpose:
Bind this rule to a virtual server to simply allow or disallow traffic based on source IP.
This rule expects a datagroup that lists the addresses you wish to allow.
By default, traffic will be dropped.
}
when CLIENT_ACCEPTED {
if { [class [IP::client_addr] equals allowed_datagroup] }{
Uncomment the line below to turn on logging.
log local0. "Valid client IP: [IP::client_addr] - forwarding traffic"
forward
} else {
Uncomment the line below to turn on logging.
log local0. "Invalid client IP: [IP::client_addr] - discarding"
discard
}
}