How it works
From RadiusTest
Radius Test support value types are:
string - 0-253 octets
ipaddr - 4 octets in network byte order
integer - 32 bit value in big endian order (high byte first)
date - 32 bit value in big endian order - seconds since 00:00:00 GMT, Jan. 1, 1970
ifid - 8 octets in network byte order
ipv6addr - 16 octets in network byte order
ipv6prefix - 18 octets in network byte order
Radius Test support extended value types which are not defined in RFC 2865 or RFC 2869, or RFC 3162:
octets - raw octets, printed and input as hex strings. e.g.: 0x123456789abcdef
For example:
VENDOR Microsoft 311
BEGIN-VENDOR Microsoft
ATTRIBUTE MS-CHAP-Response
1 octets
ATTRIBUTE MS-CHAP-Error
2 string
ATTRIBUTE MS-CHAP-CPW-1
3 octets
ATTRIBUTE MS-CHAP-CPW-2
4 integer
ATTRIBUTE MS-CHAP-LM-Enc-PW
5 integer
ATTRIBUTE MS-CHAP-NT-Enc-PW
6 octets
VALUE MS-CHAP-Response Not-Allowed
0
VALUE MS-CHAP-Error Allowed
1
VALUE MS-CHAP-CPW-1 Required
2
END-VENDOR Microsoft