Insufficient Space to Store Pair string

Alan DeKok aland at deployingradius.com
Mon Oct 9 14:08:06 CEST 2017


On Oct 8, 2017, at 6:10 PM, Arnab Roy <arnabroy at mail.com> wrote:
>   I am probably doing something wrong but, we have a requirement to log
>   all Input and output attributes following post auth. So we configured a
>   linelog module and added
> 
>   %{pairs:&request:} & %{pairs:&reply:}
> 
>   Worked a treat with EAP-PEAP, however we enabled EAP-TLS and all the
>   attributes from the certificate is causing some out of memory condition
>   and get a error saying insufficient space to store pair string, needed
>   2390 bytes available 2048 bytes.

  The linelog module has a hard-coded buffer of 2K.  If you need more, either edit the source, or change your requirements.

>   Any other more efficient way of dealing with this so I can capture the
>   entire value pair.

  Don't log EAP-Message.  It's all encrypted SSL stuff, and has zero value to anyone.

  i.e. if your political requirements conflict with the technical limitations, reality should win.

  Alan DeKok.




More information about the Freeradius-Users mailing list