8 Oct
2014
8 Oct
'14
3:52 p.m.
Pshem Kowalczyk wrote:
I've noticed that encoding of these two attributes:
ADSL-Agent-Circuit-Id ADSL-Agent-Remote-Id
has been changed from string to octets (from 3.0.3 to 3.0.4), when the RFC (4679) states them as strings:
The RFC "string" type is binary octets. Read RFC 2865.
What was the reason for the change?
The original RFCs didn't distinguish between printable strings and binary data. FreeRADIUS uses "strings" for printable strings, and "octets" for binary data. Because I made that change before the RFCs were fixed. The RFCs use "text" for printable strings and "string" for binary data. But they use "octets" everywhere to *refer* to binary data. It's annoying. Alan DeKok.