Bug ID 1235833: IP::reputation lookup and exception on no database loaded

Last Modified: Oct 16, 2026

Affected Product(s):
BIG-IP AFM(all modules)

Fixed In:
17.5.1.10

Opened: Feb 08, 2023

Severity: 3-Major

Symptoms

IP::reputation lookup call in iRule throws an exception when no IP-reputation database is loaded, or when the feature is not licensed. To handle such cases, the caller must wrap the call with a catch clause & take the appropriate action IP::reputation [client_addr] Recommend wrapping the call in a catch clause - if { [catch { IP::reputation [client_addr] } ip_reputation] } {

Impact

iRule script that uses the IP::reputation call without a catch clause might terminate early, without taking the intended action when no database is available, and can sometimes take the wrong action in the script by not allowing a flow

Conditions

iRule call IP::reputation will throw an exception when no IP-reputation database is loaded, or when the feature is not licensed

Workaround

Recommend wrapping the call in a catch clause & take appropriate action on the exception. if { [catch { IP::reputation [client_addr] } ip_reputation] } {

Fix Information

None

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips