[RADIATOR] Issue with Accounting Packets from MKT
Heikki Vatiainen
hvn at open.com.au
Wed Aug 1 11:49:35 UTC 2018
On 31/07/2018 18.57, Brandon Shiers wrote:
> We upgraded Radiator back in December to version 4.19.
Based on debug, you are using goodies/gigawords-hook.pl and the values
it prints out now are unpacked raw values from the wire. For example
^@^@^@^G would be 8 (3 zero octes followed by presentation of 8 in binary).
One reason that might explain this is that PreClientHook now sees
unpacked attributes. See https://open.com.au/radiator/history.html and
search for PreClientHook for the details.
If you use the hook as PreClientHook, you need to do a Perl unpack() for
the raw attribute values or change the hook to be per-Client clause
ClientHook. When ClientHook is called the attributes are unpacked to
strings, integers and other types based on the radius dictionary.
Thanks,
Heikki
--
Heikki Vatiainen <hvn at open.com.au>
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, TACACS+, PAM, Active Directory,
EAP, TLS, TTLS, PEAP, WiMAX, RSA, Vasco, Yubikey, HOTP, TOTP,
DIAMETER etc. Full source on Unix, Windows, MacOSX, Solaris, VMS, etc.
More information about the radiator
mailing list