(RADIATOR) Accounting Log file format

Hugh Irvine hugh at open.com.au
Thu Nov 7 00:37:41 CST 2002


Hello Shan -

You would use an AcctFileFormat specification in your Realm or Handler.

Section 6.16.5 in the Radiator 3.3.1 reference manual ("doc/ref.html").

Alternatively you could write a hook to do the same thing.

regards

Hugh



On Thursday, November 7, 2002, at 03:14 PM, Mike McCauley wrote:

>
>
> ----------  Forwarded Message  ----------
>
> Subject: BOUNCE radiator at open.com.au:    Non-member submission from [S  
> H A N
> <shanali at singnet.com.sg>]
> Date: Wed, 6 Nov 2002 17:14:25 -0600
> From: owner-radiator at open.com.au
> To: radiator-approval at open.com.au
>
>> From mikem at server1.open.com.au Wed Nov  6 17:14:24 2002
> Received: from smtp12.singnet.com.sg (smtp12.singnet.com.sg  
> [165.21.6.32])
> 	by server1.open.com.au (8.11.0/8.11.0) with ESMTP id gA6NENC03921
> 	for <radiator at open.com.au>; Wed, 6 Nov 2002 17:14:24 -0600
> Received: from singapura.singnet.com.sg (singapura.singnet.com.sg
>  [165.21.10.10]) by smtp12.singnet.com.sg (8.12.6/8.12.6) with ESMTP id
>  gA746kLE016649 for <radiator at open.com.au>; Thu, 7 Nov 2002 12:06:46  
> +0800
> Received: (from shanali at localhost) by singapura.singnet.com.sg  
> (8.8.5/8.7.2)
>  id MAA26714 for radiator at open.com.au; Thu, 7 Nov 2002 12:06:40 +0800  
> (SST)
>  Date: Thu, 7 Nov 2002 12:06:40 +0800
> From: S H A N <shanali at singnet.com.sg>
> To: radiator at open.com.au
> Subject: Accounting Log file format
> Message-ID: <20021107040640.GB21231 at singapura.singnet.com.sg>
> Mail-Followup-To: radiator at open.com.au
> Mime-Version: 1.0
> Content-Type: multipart/mixed; boundary="EVF5PPMfhYS0aIcm"
> Content-Disposition: inline
> User-Agent: Mutt/1.4i
>
>
> --EVF5PPMfhYS0aIcm
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
>
> hi,
>
> 	attached is the derised format of accounting log file format.
> 	what would be the best way in radiator to accomplish the same?
>
> thanks
> --
> S H A N
>
> --EVF5PPMfhYS0aIcm
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: attachment; filename=detail
> Content-Transfer-Encoding: quoted-printable
>
> "Date","Time","User-Name","NAS-IP-Address","NAS-Port","Service- 
> Type","Frame=
> d-Protocol","Framed-IP-Address","Framed-IP-Netmask","Framed- 
> Routing","Filte=
> r-Id","Framed-MTU","Framed-Compression","Login-IP-Host","Login- 
> Service","Lo=
> gin-TCP-Port","Callback-Number","Callback-Id","Framed-Route","Framed- 
> IPX-Ne=
> twork","Class","Vendor-Specific","Session-Timeout","Idle- 
> Timeout","Terminat=
> ion-Action","Called-Station-Id","Calling-Station-Id","NAS- 
> Identifier","Prox=
> y-State","Login-LAT-Service","Login-LAT-Node","Login-LAT- 
> Group","Framed-App=
> leTalk-Link","Framed-AppleTalk-Network","Framed-AppleTalk-Zone","Acct- 
> Statu=
> s-Type","Acct-Delay-Time","Acct-Input-Octets","Acct-Output- 
> Octets","Acct-Se=
> ssion-Id","Acct-Authentic","Acct-Session-Time","Acct-Input- 
> Packets","Acct-O=
> utput-Packets","Acct-Terminate-Cause","Acct-Multi-Session-Id","Acct- 
> Link-Co=
> unt","NAS-Port-Type","Port-Limit","Login-LAT-Port","Ascend-User-Acct- 
> Type",=
> "Ascend-User-Acct-Host","Ascend-User-Acct-Port","Ascend-User-Acct- 
> Key","Asc=
> end-User-Acct-Base","Ascend-User-Acct-Time","Ascend-Event- 
> Type","Ascend-Ses=
> sion-Svr-Key","Ascend-Multilink-ID","Ascend-Num-In-Multilink","Ascend- 
> First=
> -Dest","Ascend-Pre-Input-Octets","Ascend-Pre-Output-Octets","Ascend- 
> Pre-Inp=
> ut-Packets","Ascend-Pre-Output-Packets","Ascend-Disconnect- 
> Cause","Ascend-C=
> onnect-Progress","Ascend-Data-Rate","Ascend-PreSession-Time","Ascend- 
> Number=
> -Sessions"
> "2001-02- 
> 04","11:26:37","user3.domain","xxx.xxx.xxx.227",20102,,1,"xxx.xxx.=
> xxx.13",,,,,,,,,,,,,"ou=3DCompanyA",,,,,,,,,,,,,,,"Start",1459617792,,, 
> "307=
> 404956","RADIUS",,,,,,,"Async",,,,,,,,,,,,,,,,,,,,,,
> "2001-02- 
> 04","11:50:38","user2.domain","xxx.xxx.xxx.227",20103,,1,"xxx.xxx.=
> xxx.14",,,,,,,,,,,,,"ou=3DCompanyA",,,,,,,,,,,,,,,"Start",905969664,,," 
> 3074=
> 04957","RADIUS",,,,,,,"Async",,,,,,,,,,,,,,,,,,,,,,
> "2001-02- 
> 04","12:50:37","user3.domain","xxx.xxx.xxx.227",20102,,1,"xxx.xxx.=
> xxx.13",,,,,,,,,,,,,"ou=3DCompanyA",,,,,,,,,,,,,,,"Stop",1207959552,343 
> 857,=
> 571682,"307404956","RADIUS",5056,6685,1596,,,,"Async",,,,,,,,,,,,,"224. 
> 0.0.=
> 2",385,242,9,13,185,60,26400,25,
> "2001-02- 
> 04","12:51:15","user2.domain","xxx.xxx.xxx.227",20103,,1,"xxx.xxx.=
> xxx.14",,,,,,,,,,,,,"ou=3DCompanyA",,,,,,,,,,,,,,,"Stop",33554432,78719 
> 5,75=
> 90014,"307404957","RADIUS",3690,16800,7522,,,,"Async",,,,,,,,,,,,,"129. 
> 10.1=
> .11",385,236,8,12,45,60,28800,35,
> "2001-02- 
> 04","15:16:27","user1.domain","xxx.xxx.xxx.227",20102,,1,"xxx.xxx.=
> xxx.15",,,,,,,,,,,,,,,,,,,,,,,,,,,,"Start",0,,,"307404959","RADIUS",,,, 
> ,,,"=
> Async",,,,,,,,,,,,,,,,,,,,,,
> "2001-02- 
> 04","15:19:29","user1.domain","xxx.xxx.xxx.227",20102,,1,"xxx.xxx.=
> xxx.15",,,,,,,,,,,,,,,,,,,,,,,,,,,,"Stop",0,3757,17881,"307404959","RAD 
> IUS"=
> ,181,84,88,,,,"Async",,,,,,,,,,,,,"203.120.90.40",427,248,11,12,45,60,2 
> 8800=
> ,30,
> "2001-02- 
> 04","18:08:11","user2.domain","xxx.xxx.xxx.227",20102,,1,"xxx.xxx.=
> xxx.16",,,,,,,,,,,,,"ou=3DCompanyA",,,,,,,,,,,,,,,"Start",0,,,"30740496 
> 1","=
> RADIUS",,,,,,,"Async",,,,,,,,,,,,,,,,,,,,,,
> "2001-02- 
> 04","18:21:50","user2.domain","xxx.xxx.xxx.227",20102,,1,"xxx.xxx.=
> xxx.16",,,,,,,,,,,,,"ou=3DCompanyA",,,,,,,,,,,,,,,"Stop",0,1439934,2615 
> 41,"=
> 307404961","RADIUS",819,27008,1946,,,,"Async",,,,,,,,,,,,,"224.0.0.2",3 
> 93,2=
> 42,11,13,45,60,26400,35,
> "2001-02- 
> 04","20:13:33","user4.domain","xxx.xxx.xxx.227",20102,,1,"xxx.xxx.=
> xxx.17",,,,,,,,,,,,,,,,,,,,,,,,,,,,"Start",385875968,,,"307404964","RAD 
> IUS"=
> ,,,,,,,"Async",,,,,,,,,,,,,,,,,,,,,,
> "2001-02- 
> 04","20:15:11","user4.domain","xxx.xxx.xxx.227",20102,,1,"xxx.xxx.=
> xxx.17",,,,,,,,,,,,,,,,,,,,,,,,,,,,"Stop",369098752,3827,3222,"30740496 
> 4","=
> RADIUS",99,198,175,,,,"Async",,,,,,,,,,,,,"224.0.0.2",429,236,10,12,45, 
> 60,3=
> 1200,19,
> "2001-02- 
> 04","20:51:18","user5.domain","xxx.xxx.xxx.227",20102,,1,"xxx.xxx.=
> xxx.18",,,,,,,,,,,,,,,,,,,,,,,,,,,,"Start",83886080,,,"307404965","RADI 
> US",=
> ,,,,,,"Async",,,,,,,,,,,,,,,,,,,,,,
> "2001-02- 
> 04","21:21:19","user5.domain","xxx.xxx.xxx.227",20102,,1,"xxx.xxx.=
> xxx.18",,,,,,,,,,,,,,,,,,,,,,,,,,,,"Stop",33554432,116009,600740,"30740 
> 4965=
> ","RADIUS",1804,2541,2000,,,,"Async",,,,,,,,,,,,,"224.0.1.22",388,242,8 
> ,13,=
> 45,60,28800,38,
> "2001-02- 
> 04","21:32:34","user2.domain","xxx.xxx.xxx.227",20102,,1,"xxx.xxx.=
> xxx.19",,,,,,,,,,,,,"ou=3DCompanyA",,,,,,,,,,,,,,,"Start",285212672,,," 
> 3074=
> 04966","RADIUS",,,,,,,"Async",,,,,,,,,,,,,,,,,,,,,,
> "2001-02- 
> 04","21:35:34","user2.domain","xxx.xxx.xxx.227",20102,,1,"xxx.xxx.=
> xxx.19",,,,,,,,,,,,,"ou=3DCompanyA",,,,,,,,,,,,,,,"Stop",352321536,5799 
> 5,93=
> 978,"307404966","RADIUS",177,1153,266,,,,"Async",,,,,,,,,,,,,"224.0.0.2 
> ",42=
> 7,242,11,13,11,60,26400,35,
>
> --EVF5PPMfhYS0aIcm--
>
> -------------------------------------------------------
>
> -- 
> Mike McCauley                               mikem at open.com.au
> Open System Consultants Pty. Ltd            Unix, Perl, Motif, C++, WWW
> 24 Bateman St Hampton, VIC 3188 Australia   http://www.open.com.au
> Phone +61 3 9598-0985                       Fax   +61 3 9598-0955
>
> Radiator: the most portable, flexible and configurable RADIUS server
> anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
> Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS,
> TTLS etc on Unix, Windows, MacOS etc.
>
> ===
> Archive at http://www.open.com.au/archives/radiator/
> Announcements on radiator-announce at open.com.au
> To unsubscribe, email 'majordomo at open.com.au' with
> 'unsubscribe radiator' in the body of the message.
>
>

NB: I am travelling this week, so there may be delays in our  
correspondence.

-- 
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows 95/98/2000, NT, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.

===
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list