linelog and accounting informations

vazoumana fofana zoumlander at
Thu Aug 2 16:21:48 CEST 2012

Dear all,

I 've almost reolved trouble.
Indeed, i actived accounting on my nas to make acounting running. 

But i felt my nas or something else is bugged.

When a connection is sucessful , i can see packets on port 1812 and 1813. But after 20 seconds, i see log accounting wich announced 

Acct-Status-Type = Stop
        Acct-Input-Octets = 18014
        Acct-Output-Octets = 58987
        Acct-Input-Packets = 190
        Acct-Output-Packets = 98
        Acct-Terminate-Cause = Lost-Service
        Acct-Session-Time = 16

In fact, i didn't lost connectivity because client is always there and running without trouble.

So i want to understand something. 
For accounting packets, is this radius server who requets "accounting fields" to the NAs controller ? When a client is disconnected for any reasons, how does it warn Nas controller ?Does the Nas wontroller role to warn radius server when it looses a client ?

 Best regards.
From: zoumlander at
To: freeradius-users at
Subject: RE: linelog and accounting informations
Date: Mon, 30 Jul 2012 09:25:43 +0000

Thanks for your answer.

i had ever added linelog under accounting section.

I'm gonna check if my NAS sends accounting packets by tcpdumping port 1813 on my server.

From: a.cudbardb at
Subject: Re: linelog and accounting informations
Date: Fri, 27 Jul 2012 15:51:55 +0100
To: freeradius-users at

On 27 Jul 2012, at 15:06, vazoumana fofana <zoumlander at> wrote:Hello every body, 

i got a question about linelog : 

Indeed i want to log and store any informations . I'm focusing on  accounting data.
The filename is linelog under logdir. I create linelog under /var/log/radius/linelog myself with rights 644.
. When i run freeradius, there is no data filled under after a sucessful authentification and connection.

Do i miss something ?Are there any things to do to ?
Here is linelog on attached file.

You listed linelog in the accounting section of the default server right? Have you verified your NAS is actually sending accounting packets?
List info/subscribe/unsubscribe? See 		 	   		   		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Freeradius-Users mailing list