[RADIATOR] logging EAP method
Stuart Kendrick
skendric at fhcrc.org
Thu Jul 11 21:24:35 CDT 2013
Thank you Hugh
--sk
On 7/11/2013 7:03 PM, Hugh Irvine wrote:
> Hello Stuart -
>
> Have a look at the code in "Radius/EAP.pm".
>
> The EAPType is added to the current request as
>
> $p->{EAPType}
>
> and the name is added as
>
> $p->{EAPTypeName}
>
> You can easily write a little hook to use one or the other or both.
>
> regards
>
> Hugh
>
>
> On 12 Jul 2013, at 04:32, Stuart Kendrick <skendric at fhcrc.org> wrote:
>
>> Is there a way to log the EAP method employed?
>>
>> I'm doing this currently:
>> LogSuccess 1
>> SuccessFormat %l: wap: OK: %U: %n: %c: %{NAS-Identifier}: %T:
>> %{Calling-Station-Id}: %{Called-Station-Id}
>> LogFailure 1
>> FailureFormat %l: wap: FAIL: %U: %n: %c: %{NAS-Identifier}: %T:
>> %{Calling-Station-Id}: %{Called-Station-Id}
>>
>> I was imagining something like %{EAP Method} ... but I don't see such a
>> token defined in "Section 5.2 Special characters" of the manual (pp.
>> 20-24) ...
>>
>> [I'm trying to figure out which clients are still using LEAP ... ergo my
>> desire to log the EAP method ...]
>>
>> --sk
>>
>> Stuart Kendrick
>> FHCRC
>> _______________________________________________
>> radiator mailing list
>> radiator at open.com.au
>> http://www.open.com.au/mailman/listinfo/radiator
>
> --
>
> Hugh Irvine
> hugh at open.com.au
>
> Radiator: the most portable, flexible and configurable RADIUS server
> anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
> Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS,
> TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP,
> DIAMETER etc.
> Full source on Unix, Windows, MacOSX, Solaris, VMS, NetWare etc.
>
More information about the radiator
mailing list