freeradius-server icon indicating copy to clipboard operation
freeradius-server copied to clipboard

Using %{Module-Failure-Message[*]} in rlm_linelog format results in mangled output

Open arr2036 opened this issue 5 years ago • 1 comments

Issue type

  • Defect - Unexpected behaviour (obvious or verified by project member).

Defect

How to reproduce the issue

The original issue was discovered when the 404 error output of the rlm_rest module was concatenated using %{Module-Failure-Message[*]} in an attempt to write it to a log file.

The 404 content was the default NGINX 404 error page.

Each line seemed to be significantly truncated in the log output.

arr2036 avatar Oct 30 '19 22:10 arr2036

the xlat buffers in v3 are generally fixed-size, i.e. 256 bytes or 1024 bytes. We can increase ehgtir size, but we can't fix the underlying issue.

alandekok avatar Oct 31 '19 14:10 alandekok