[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freeradius-users
Subject:    Re: How to use RADACCT in freeradius?
From:       "DOMINIE.ORG" <info () dominie ! org>
Date:       2012-05-29 11:32:17
Message-ID: CABGjyGjjSf1gAUCVn_peNsAB6QHuvOQ1hsR1oArM_aGjRVCX=A () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


As Alan said: A radacct row is inserted automatically by FreeRADIUS for
each user session.
The session information is sent by the NAS when the user logs out.

The following are the most important field:
UserName - self explanatory
AcctStartTime - session start time
AcctStopTime - session stop time
AcctSessionTime - session time in seconds
AcctInputOctects - the amount of data sent by the user
AcctOutputOctects - the amount of data received by the user
CalledStationId - the ID of the NAS which handled the session
AcctTerminationCause - what caused the user to be logged out
CalledStationID - the MAC address of the device from which the user logged
in
FramedIPAddress - the IP address of the device from which the user logged in

On Tue, May 29, 2012 at 1:02 PM, Alan DeKok <aland@deployingradius.com>wrote:

> faizal ghazali wrote:
> > The problem is i dont know what data to fill in the attribute in radacct
> > phpmyadmin table
>
>   You don't.  The server does this automatically when it receives
> accounting packets.
>
>  Alan DeKok.
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>

[Attachment #5 (text/html)]

As Alan said: A radacct row is inserted automatically by FreeRADIUS for each user \
session.<div>The session information is sent by the NAS when the user logs \
out.</div><div><br><div>The following are the most important field:</div> \
<div>UserName - self explanatory</div><div>AcctStartTime - session start \
time</div><div>AcctStopTime - session stop time</div><div>AcctSessionTime - session \
time in seconds</div><div>AcctInputOctects - the amount of data sent by the \
user</div> <div><div>AcctOutputOctects - the amount of data received by the \
user</div><div>CalledStationId - the ID of the NAS which handled the \
session</div><div>AcctTerminationCause - what caused the user to be logged \
out</div><div> CalledStationID - the MAC address of the device from which the user \
logged in</div><div>FramedIPAddress - the IP address of the device from which the \
user logged in</div><br class="Apple-interchange-newline"><div class="gmail_quote"> \
On Tue, May 29, 2012 at 1:02 PM, Alan DeKok <span dir="ltr">&lt;<a \
href="mailto:aland@deployingradius.com" \
target="_blank">aland@deployingradius.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"> <div class="im">faizal ghazali wrote:<br>
&gt; The problem is i dont know what data to fill in the attribute in radacct<br>
&gt; phpmyadmin table<br>
<br>
</div>  You don&#39;t.  The server does this automatically when it receives<br>
accounting packets.<br>
<span class="HOEnZb"><font color="#888888"><br>
  Alan DeKok.<br>
-<br>
List info/subscribe/unsubscribe? See <a \
href="http://www.freeradius.org/list/users.html" \
target="_blank">http://www.freeradius.org/list/users.html</a><br> \
</font></span></blockquote></div><br></div></div>



-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic