(RADIATOR) Volume Base in Radiator

N Effendy Aritonang effendy.aritonang at yahoo.com.sg
Mon Feb 18 20:17:13 CST 2008


Hi Hugh,

My NAS equipment already report traffic in my accounting table. This is my
accounting table schema:
+--------------------+-------------+------+-----+---------+-------+
| Field              | Type        | Null | Key | Default | Extra |
+--------------------+-------------+------+-----+---------+-------+
| USERNAME           | varchar(50) |      | MUL |         |       |
| TIME_STAMP         | int(11)     | YES  |     | NULL    |       |
| ACCTSTATUSTYPE     | varchar(10) | YES  |     | NULL    |       |
| ACCTDELAYTIME      | int(11)     | YES  |     | NULL    |       |
| ACCTINPUTOCTETS    | int(11)     | YES  |     | NULL    |       |
| ACCTOUTPUTOCTETS   | int(11)     | YES  |     | NULL    |       |
| ACCTSESSIONID      | varchar(30) | YES  |     | NULL    |       |
| CALLINGID          | varchar(22) | YES  |     | NULL    |       |
| ACCTSESSIONTIME    | int(11)     | YES  |     | NULL    |       |
| ACCTTERMINATECAUSE | int(11)     | YES  |     | NULL    |       |
| NASIDENTIFIER      | varchar(50) | YES  |     | NULL    |       |
| NASPORT            | int(11)     | YES  |     | NULL    |       |
| FRAMEDIPADDRESS    | varchar(22) | YES  |     | NULL    |       |
| NASIPADDRESS       | varchar(22) | YES  |     | NULL    |       |
+--------------------+-------------+------+-----+---------+-------+

ACCTINPUTOCTETS -> Total Byte Traffic in
ACCTOUTPUTOCTETS -> Total Byte Traffic out

My current configuration only checks the session timeout (time base).
AuthColumnDef   0,User-Password,check
AuthColumnDef   1,Session-Timeout,reply  ===> I think this is the code that
check the time out

My Question how to check the volume/traffic? Or maybe you have an example of
volume base configuration.

Thanks Hugh,
Fendy


-----Original Message-----
From: Hugh Irvine [mailto:hugh at open.com.au] 
Sent: Tuesday, February 19, 2008 3:59 AM
To: N Effendy Aritonang
Cc: radiator at open.com.au
Subject: Re: (RADIATOR) Volume Base in Radiator


Hello Fendy -

Yes this is possible, as long as your NAS equipment reports traffic  
volume in the RADIUS accounting requests, you can add the  
corresponding columns to your accounting table and write the values  
to the database along with the the time data. The exact details will  
depend on what else you are already doing in your Radiator  
configuration file, what database you are using, etc.

regards

Hugh


On 18 Feb 2008, at 17:27, N Effendy Aritonang wrote:

> Hi,
>
> I have Radiator installed on my debian. I also have implemented the  
> time base billing. Now, my boss asked me to implement volume base  
> billing. My first question, is it possible to implement volume base  
> in radiator? If it's possible, how to make the configuration?
>
> Thank you,
> Fendy
> PT Sejahtera Globalindo, Infoasia, Indonesia



NB:

Have you read the reference manual ("doc/ref.html")?
Have you searched the mailing list archive (www.open.com.au/archives/ 
radiator)?
Have you had a quick look on Google (www.google.com)?
Have you included a copy of your configuration file (no secrets),
together with a trace 4 debug showing what is happening?
Have you checked the RadiusExpert wiki:
http://www.open.com.au/wiki/index.php/Main_Page

-- 
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows, MacOS X.
Includes support for reliable RADIUS transport (RadSec),
and DIAMETER translation agent.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
-
CATool: Private Certificate Authority for Unix and Unix-like systems.


--
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