Bug ID 526519: APM sessiondump command can produce binary data

Last Modified: Sep 13, 2023

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

Known Affected Versions:
12.0.0, 12.0.0 HF1, 12.1.0 HF1, 12.0.0 HF2, 12.1.0 HF2, 12.0.0 HF3, 12.0.0 HF4, 12.1.1 HF1, 12.1.1 HF2, 12.1.2 HF1, 12.1.2 HF2

Fixed In:
12.1.0

Opened: Jun 04, 2015

Severity: 3-Major

Symptoms

New session variable "session.access.scope" includes a null character after the value. This will result in piped grep commands from sessiondump such as: sessiondump <args> | grep <search value> returning the text: Binary file (standard input) matches instead of the expected output. Note that this problem exists in APM version 12.

Impact

Administrator cannot use "grep" command with sessiondump.

Conditions

Using sessiondump command with pipe to grep.

Workaround

Use "-a" option with grep. For example: sessiondump <args> | grep -a <search value>

Fix Information

The sessiondump utility was modified. The NULL termination byte of a NULL-terminated string is no longer printed. Furthermore, non-printable data is now printed as a hexdump, instead of raw binary data.

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips