[RADIATOR] possible bug in 4.24-1 ?

Kurt Bauer kurt.bauer at univie.ac.at
Mon Feb 10 09:25:57 UTC 2020


Hi,

thanks for the hint. Removing the "|EAP=%{HexAddress:EAP-Message}" entry 
in the log directive, solved the issue.

Thanks a lot,
Kurt
|
Heikki Vatiainen wrote on 31.01.20 16:44:
> On 31/01/2020 10.43, Kurt Bauer wrote:
>
>> after installing 4.24-1 (radiator_4.24-1.buster_all.deb) on a Debian 
>> 10.2 system we get a lot of the following messages in daemon.log:
>> Jan 31 08:23:48 xxxx radiator[24242]: Argument "^B^F\0+^Y\0^W^C^A\0 
>> =HMM-^S1T(z*MM-^I*l"^N#i..." isn't numeric in sprintf at 
>> /opt/radiator/radiator/Radius/Util.pm line 479.
>
> Quite likely you have %{HexAddress:...} configured in a log clause. We 
> received a similar report directly today, and further investigation 
> with the reporter indicates that this may be one source:
>
> https://wiki.geant.org/display/COHHT/radiator-flr
>
>> After downgrading to 4.23-3 (radiator_4.23-3_all.deb) those loglines 
>> don't appear any more. It doesn't seem that functionality is harmed, 
>> only the log is flooded, with 4.24-1.
>
> The code that triggers the warning has not changed between 4.23 and 
> 4.24. What has changed is that we have enabled more warnings and, for 
> example, the configuration on the wiki page will trigger it because it 
> tries to convert EAP-Message contents.
>
> HexAddress formatter expects an attribute that has an IPv4 attribute 
> value. It's not a generic hex formatter.
>
> Also, I think the wiki example logs too much when it tries to log 
> EAP-Message contents with authentication log.
>
> In short: I don't think it affects functionality and the fix is simply 
> to use HexAddress formatter with an IPv4 address.
>
> Related to this: Maybe we should have a formatter that converts to 
> hex, and HexAddress could also support IPv6 addresses, but at least 
> for now, it's restricted to IPv4.
>
> Thanks,
> Heikki
>

-- 

Kurt Bauer<kurt.bauer at univie.ac.at>
Vienna University Computer Center - ACOnet - VIX
Universitaetsstrasse 7, A-1010 Vienna, Austria, Europe
Tel: ++431 4277  - 14070 (Fax: - 814070)  KB1970-RIPE



More information about the radiator mailing list