How can we make freeradius logs logout actions?

Arran Cudbard-Bell a.cudbardb at freeradius.org
Sat Jul 19 15:39:55 CEST 2014


On 18 Jul 2014, at 22:56, Mark jensen <ngiw2012 at hotmail.com> wrote:

> freeRADIUS version is 1.0.4, and we use IEEE802.1X to authenticate users 
> 
> This is a part of my radius.log file:
> 
> Wed Jun 11 11:14:36 2014 : Auth: Login OK: [Mark/<via Auth-Type = EAP>] (from client private-network-1 port 0 via TLS tunnel)
> Wed Jun 11 11:14:36 2014 : Auth: Login OK: [Mark/<via Auth-Type = EAP>] (from client private-network-1 port 5 cli F0-4D-A2-B2-34-16)
> Wed Jun 11 11:20:57 2014 : Auth: Login OK: [Mike/<via Auth-Type = EAP>] (from client private-network-1 port 0 via TLS tunnel)
> Wed Jun 11 11:20:57 2014 : Auth: Login OK: [Mike/<via Auth-Type = EAP>] (from client private-network-1 port 11 cli 00-26-38-C0-BA-37)
> 
> as we see above radius logs the login actions, but when a user logout, radius doesn't log anything 
> 
> Can we make radius logs the logout actions too,what the configurations should I change to do this?

You'd use the accounting stop messages and the linelog module.

I don't think it'd be possible in 1.0.4 as it lacks unlang (the policy language).

Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS development team

FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 881 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20140719/71dfcfdf/attachment.pgp>


More information about the Freeradius-Users mailing list