[RADIATOR] logging EAP method
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@open.com.au http://www.open.com.au/mailman/listinfo/radiator
Re: [RADIATOR] logging EAP method
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 skend...@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@open.com.au http://www.open.com.au/mailman/listinfo/radiator -- Hugh Irvine h...@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. ___ radiator mailing list radiator@open.com.au http://www.open.com.au/mailman/listinfo/radiator
Re: [RADIATOR] logging EAP method
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 skend...@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@open.com.au http://www.open.com.au/mailman/listinfo/radiator -- Hugh Irvine h...@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. ___ radiator mailing list radiator@open.com.au http://www.open.com.au/mailman/listinfo/radiator