Forum Discussion
TJ_Vreugdenhil
Cirrus
Apr 13, 2014TCL 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.2...
Cory_50405
Noctilucent
Apr 23, 2014Can simplify it a bit:
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 match [IP::client_addr] equals allowed_datagroup] }{
log local0. "Invalid client IP: [IP::client_addr] - discarding"
discard
}
}
TJ_Vreugdenhil
Cirrus
Apr 23, 2014True that, thanks Cory
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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