On Thu, 2004-10-14 at 10:44, Cristi Banciu wrote: > So, are u saying that if NAS doesn't send accounting info there is no way of > telling for how log a user was logged in, for example ? I saw that even with > "not a real NAS" when a user logs in a record is entered to radpostauth table > (I'm using 1.0.1 with mysql), but does not write anything to database when > the user logs out.
Thats where accounting comes in with radacct.. you get an entry in post auth as the RADIUS server knows they are logging on as an authentication request has just been processed by it. However no authentication is required when someone disconnects so alas it cannot know they have logged off. Accounting will send a packet at logon and logoff and even (if configured) every x minutes to update the accounting information. RADACCT is the way to go -- ----- Graeme Hinchliffe (BSc) Core Internet Systems Designer Zen Internet (http://www.zen.co.uk/) Direct: 0845 058 9074 Main : 0845 058 9000 Fax : 0845 058 9005 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html