Contents

User's Guide
Overview
What It Is
What's New
Key Features List
ClearBox Enterprise vs ClearBox
System Requirements
Purchasing Licenses
Getting Started
Quick Start
Understanding Server Components
Managing User Accounts
Configuring RADIUS Realms
Realm Settings
Realm Rules
Dynamic Realm Rules
Authentication
Authentication Protocols Compatibility
Logging Authentication Packets
Logging Discarded Requests
Authorization
Accounting
Account Log Files
Realm Settings
Configuring SQL Queries
Private RADIUS Attributes
Regular Expressions Syntax
RADIUS Clients
RADIUS Client Settings
Dynamic Clients Settings
SQL Data Sources
SQL Data Source Settings
LDAP Servers
LDAP Server Settings
Remote RADIUS Servers
Remote RADIUS Server Settings
State Servers
State Server Settings
Meta Configuration
Meta Configuration
Meta Configuration Settings
Meta Base Schema
TLS Settings
Creating SSL Certificates
Creating Server Sertificate
Requesting Server Certificate
Creating Client Certificates
Revoking a Certificate or Renewing CRL
Exporting CA Certificate
Issuing a Certificate in Active Directory CA
Remote Configuration
Advanced ISP Billing Integration
DTH Billing Integration
Platypus Billing System Intergration
OnDO SIP Server Integration
How Do I...
Wi-Fi Security
Wireless Authentication
Wi-Fi and RADIUS
Supported EAP Authentication Types
Security Considerations
10 Tips for Wireless Network Security
Administering the Server
Logging
Debug Logs
Troubleshooting
Using Client Tool
List of Server Errors
Maintaining RADIUS Dictionary
Basic Concepts
AAA
Authentication
Wireless Authentication
Authentication Protocols
Authorization
Accounting
RADIUS
RADIUS
Realms
RADIUS Proxy
RADIUS Attributes
Example of RADIUS Packet Transactions
List of Standard RADIUS Attributes
Glossary
Technical Support
Purchasing Licenses
Contacts

 
Home
ClearBox Enterprise Server 2.0 Online Manual
Prev Page Next Page
 
 
ClearBox Enterprise Serverâ„¢ 2.0. User's Guide

Accounting Services

It's often required that a RADIUS server logs accounting records to a file. Here are described two most wide-spread log file types.

CSV Accounting

One of the widely used formats of accounting records is so-called CSV (Comma Separated Values) format, where every accounting record value is separated by some character (usually by comma), and every new record starts on a new line. This format is supported by most billing and accounting systems and may be imported to the major spreadsheet or relational database applications.

As an option, logfile may contain names of logged attributes in the order as they appear in the file. Here's an example of how RADIUS accounting packets are logged in this format:

             
Acct-Session-Id,User-Name,NAS-IP-Address,Acct-Terminate-Cause,Acct-Session-Time
"131234","localadmin",192.168.2.4,User-Request,15
"131235","Wictor",192.168.2.4,Lost-Carrier,2234
"131236","Marry",192.168.2.4,User-Request,2355
"131237","manager",192.168.2.4,Session-Timeout,3600

Livingston Accounting

One of the widely used formats of accounting records is so-called 'Livingston', or Lucent format as it was introduced by Livingston RADIUS server. It's supported by most billing and accounting systems.

Livingston accounting format records are multi-line records with one attribute = value pair listed per line, and with records separated by a blank line. Here's an example of how RADIUS accounting packets are logged:

             
Tue Apr 08 10:21:24 2003
        Acct-Session-Id = "8732423"
        User-Name = "localadmin"
        NAS-IP-Address = 192.168.2.4
        NAS-Port = 1121
        NAS-Port-Type = ISDN
        Acct-Status-Type = Start
        Acct-Authentic = RADIUS
        Calling-Station-Id = "8615681265"
        Service-Type = Framed-User
        Framed-Protocol = PPP
        Framed-IP-Address = 217.32.56.12
        Acct-Delay-Time = 0
                
Tue Apr 01 10:21:34 2003
        Acct-Session-Id = "8732423"
        User-Name = "localadmin"
        NAS-IP-Address = 192.168.2.4
        NAS-Port = 1121
        NAS-Port-Type = ISDN
        Acct-Status-Type = Stop
        Acct-Session-Time = 10
        Acct-Authentic = RADIUS
        Acct-Input-Octets = 8
        Acct-Output-Octets = 20
        Calling-Station-Id = "8615681265"
        Acct-Terminate-Cause = User-Request
        Service-Type = Framed-User
        Framed-Protocol = PPP
        Framed-IP-Address = 217.32.56.12
        Acct-Delay-Time = 0

Both these formats are supported by ClearBox Server.


© 2001-2007 XPerience Technologies. www.xperiencetech.com
Converted from CHM to HTML with chm2web Pro 2.7 (unicode)