Re: Getting required information from freeradius accounting log

This is a discussion on Re: Getting required information from freeradius accounting log within the FreeRADIUS Users forums, part of the Networking and Network Related category; --===============1179449663== Content-Type: multipart/alternative; boundary="0-1057085556-1175853418=:75345" Content-Transfer-Encoding: 8bit --0-1057085556-1175853418=:75345 ...


Go Back   Usenet Forums > Networking and Network Related > FreeRADIUS Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-06-2007
satish patel
 
Posts: n/a
Default Re: Getting required information from freeradius accounting log

--===============1179449663==
Content-Type: multipart/alternative; boundary="0-1057085556-1175853418=:75345"
Content-Transfer-Encoding: 8bit

--0-1057085556-1175853418=:75345
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

in radius source some useful script which is genrate some report for users so u can modify thoes script and use it

"Diot, Sylvain" <sylvain.diot@abdn.ac.uk> wrote: st1\:*{behavior:url(#default#ieooui) } Hi all,

Is there any kind of tool like a log viewer that would allow me to “extract” the information I want from the /var/log/radius/acct-radius.log?
I’d like to be able to obtain a report that would look like this:

+-----------------------------------------+
| Session Start Date/Time |
+-----------------------------------------+
| Session Stop Date/Time |
+-----------------------------------------+
| Session Duration |
+-----------------------------------------+
| Client Username |
+-----------------------------------------+
| Client MAC Address (Calling ID Station) |
+-----------------------------------------+
| User IP Address |
+-----------------------------------------+
| NP Policy Name |
+-----------------------------------------+
| Tunnel Private Group ID |
+-----------------------------------------+

I have to mention I don’t have any experience in scripting.
Cheers,

Sylvain

Sylvain Diot
Network Support Officer
Infrastructure Services
Directorate of Information Technology
University of Aberdeen
sylvain.diot@abdn.ac.uk
Tel: 01224 272083


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


$ cat ~/satish/url.txt

System administrator ( Data Center )

please visit this site

http://linux.tulipit.com

---------------------------------
Here’s a new way to find what you're looking for - Yahoo! Answers
--0-1057085556-1175853418=:75345
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

in radius source some useful script which is genrate some report for users so u can modify thoes script and use it <br><br><b><i>"Diot, Sylvain" &lt;sylvain.diot@abdn.ac.uk&gt;</i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> <meta http-equiv="Content-Type" content="text/html; charset=us-ascii"> <meta name="Generator" content="Microsoft Word 11 (filtered medium)"> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place"> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PlaceName"> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PlaceType"> <!--[if !mso]> <style> st1\:*{behavior:url(#default#ieooui) } </style> <![endif]--> <style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link,
span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-compose; font-family:Arial; color:windowtext;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 {page:Section1;} --> </style> </o:SmartTagType></o:SmartTagType></o:SmartTagType><div class="Section1"> <div class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;">Hi all,<o:p></o:p></span></font></div> <div class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><o:p>&nbsp;</o:p></span></font></div> <div class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;">Is there any kind of tool like a log viewer that would allow me to “extract” the information I want
from the /var/log/radius/acct-radius.log?<o:p></o:p></span></font></div> <div class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;">I’d like to be able to obtain a report that would look like this:<o:p></o:p></span></font></div> <div class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><o:p>&nbsp;</o:p></span></font></div> <div class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;">+-----------------------------------------+<o:p></o:p></span></font></div> <div class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;">| Session Start Date/Time&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ; |<o:p></o:p></span></font></div> <div class="MsoNormal"><font
face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;">+-----------------------------------------+<o:p></o:p></span></font></div> <div class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;">| Session Stop Date/Time&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; |<o:p></o:p></span></font></div> <div class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;">+-----------------------------------------+<o:p></o:p></span></font></div> <div class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;">| Session Duration&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<o:p></o:p></span></font></div> <div
class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;">+-----------------------------------------+<o:p></o:p></span></font></div> <div class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;">| Client Username&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p; |<o:p></o:p></span></font></div> <div class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;">+-----------------------------------------+<o:p></o:p></span></font></div> <div class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;">| Client MAC Address (Calling ID Station) |<o:p></o:p></span></font></div> <div class="MsoNormal"><font face="Courier New" size="2"><span
style="font-size: 10pt; font-family: &quot;Courier New&quot;;">+-----------------------------------------+<o:p></o:p></span></font></div> <div class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;">| User IP Address&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ; |<o:p></o:p></span></font></div> <div class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;">+-----------------------------------------+<o:p></o:p></span></font></div> <div class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;">| NP Policy Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;
|<o:p></o:p></span></font></div> <div class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;">+-----------------------------------------+<o:p></o:p></span></font></div> <div class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;">| Tunnel Private Group ID&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ; |<o:p></o:p></span></font></div> <div class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;">+-----------------------------------------+<o:p></o:p></span></font></div> <div class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><o:p>&nbsp;</o:p></span></font></div> <div class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family:
&quot;Courier New&quot;;">I have to mention I don’t have any experience in scripting.<o:p></o:p></span></font></div> <div class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;">Cheers,<o:p></o:p></span></font></div> <div class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><o:p>&nbsp;</o:p></span></font></div> <div class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;">Sylvain<o:p></o:p></span></font></div> <div class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><o:p>&nbsp;</o:p></span></font></div> <div class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;">Sylvain Diot<br> Network Support Officer<br> Infrastructure Services<br>
Directorate of Information Technology<br> <st1:place w:st="on"><st1:PlaceType w:st="on">University</st1:PlaceType> of <st1:PlaceName w:st="on">Aberdeen</st1:PlaceName></st1:place><br> <a href="mailto:sylvain.diot@abdn.ac.uk">sylvain.diot @abdn.ac.uk</a><br> Tel: 01224 272083</span></font><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><o:p></o:p></span></font></div> <div class="MsoNormal"><font face="Courier New" size="3"><span style="font-size: 12pt; font-family: &quot;Courier New&quot;;"><o:p>&nbsp;</o:p></span></font></div> </div> - <br>List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html</blockquote><br><BR><BR>$ cat ~/satish/url.txt<br><br>System administrator ( Data Center )<br><br>please visit this site<br><br>http://linux.tulipit.com&nbsp;&nbsp;&nbsp;<p>



<hr size=1></hr>
Here’s a new way to find what you're looking for - <a href="http://us.rd.yahoo.com/mail/in/yanswers/*http://in.answers.yahoo.com/">Yahoo! Answers</a>
--0-1057085556-1175853418=:75345--

--===============1179449663==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
--===============1179449663==--
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:17 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0