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. Cheers.
On 27 Jul 2012, at 15:06, vazoumana fofana <zoumlander@hotmail.com> 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? -Arran
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@freeradius.org Subject: Re: linelog and accounting informations Date: Fri, 27 Jul 2012 15:51:55 +0100 To: freeradius-users@lists.freeradius.org On 27 Jul 2012, at 15:06, vazoumana fofana <zoumlander@hotmail.com> 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? -Arran - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
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@hotmail.com To: freeradius-users@lists.freeradius.org 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@freeradius.org Subject: Re: linelog and accounting informations Date: Fri, 27 Jul 2012 15:51:55 +0100 To: freeradius-users@lists.freeradius.org On 27 Jul 2012, at 15:06, vazoumana fofana <zoumlander@hotmail.com> 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? -Arran - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
On Thu, Aug 02, 2012 at 02:21:48PM +0000, vazoumana fofana wrote:
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 ?
The NAS informs the RADIUS server; the RADIUS server doesn't "request" the information. So when a client is disconnected, the NAS notices and sends an appropriate Accounting packet. Matthew -- Matthew Newton, Ph.D. <mcn4@le.ac.uk> Systems Architect (UNIX and Networks), Network Services, I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom For IT help contact helpdesk extn. 2253, <ithelp@le.ac.uk>
vazoumana fofana wrote:
For accounting packets, is this radius server who requets "accounting fields" to the NAs controller ?
No. The NAS sends data in an accounting packet. The server has NO CONTROL over what the NAS sends.
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 ?
Yes. But not all NASes do this. Alan DeKok.
Date: Thu, 2 Aug 2012 09:23:57 -0700 From: aland@deployingradius.com To: freeradius-users@lists.freeradius.org Subject: Re: linelog and accounting informations
vazoumana fofana wrote:
For accounting packets, is this radius server who requets "accounting fields" to the NAs controller ?
No. The NAS sends data in an accounting packet. The server has NO CONTROL over what the NAS sends.
I don't understand very well. i set accounting fields under linelog. So these fields come from radius server , don't they ?
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 ?
Yes. But not all NASes do this.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
vazoumana fofana wrote:
I don't understand very well. i set accounting fields under linelog. So these fields come from radius server , don't they ?
I said they came from the NAS, and the NAS sends them to the RADIUS server. The attributes are not magic. The RADIUS server does not create them out of thin air. Alan DeKok.
participants (4)
-
Alan DeKok -
Arran Cudbard-Bell -
Matthew Newton -
vazoumana fofana