Loading...
Loading...
TCL error in /var/log/ltm that looks like 'error Buffer error invoked from within "DIAMETER::avp data get 257 ip4 index 0"'
The iRule ends with an error.
iRule that extracts ip address from a diameter avp.
Instead of set data [DIAMETER::avp data get 257 ip4] use an iRule such as if { [DIAMETER::avp count 257] > 0 } { set data [DIAMETER::avp data get 257] binary scan $data S family switch $family { 1 { # ipv4 should contains 4 bytes set ip [IP::addr parse -ipv4 $data 2] log local0. "ip = $ip" } 2 { # ipv6 should contains 16 bytes set ip [IP::addr parse -ipv6 $data 2] log local0. "ip = $ip" } default { log local0.alert "address family $family is not supported" } } }
DIAMETER::avp data get "id" ip4|ip6 now correctly returns an ip address on valid ip address AVPs.
Click on a version to see all relevant bugs
F5 Integration
Learn more about where this data comes from
BugZero Plan
Streamline upgrades with automated vendor bug scrubs
BugZero Prevent
Wish you caught this bug sooner? Get proactive today.