(RADIATOR) Billing Downloads

Hugh Irvine hugh at open.com.au
Thu Jan 30 16:18:45 CST 2003


Hello Jose -

Thanks for the information.

My understanding is that Acct-Input-Octets is the number of octets 
received by the NAS from the client PC, and that Acct-Output-Octets is 
the number of octets sent by the NAS to the client PC. I would suggest 
you set up a test bed and do some experiments just to be sure.

regards

Hugh


PS - Here is the relevant extract from rfc2866.txt (found in the doc 
directory of the Radiator distribution):


5.3.  Acct-Input-Octets

    Description

       This attribute indicates how many octets have been received from
       the port over the course of this service being provided, and can
       only be present in Accounting-Request records where the Acct-
       Status-Type is set to Stop.

    A summary of the Acct-Input-Octets attribute format is shown below.
    The fields are transmitted from left to right.

     0                   1                   2                   3
     0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    |     Type      |    Length     |             Value
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
               Value (cont)         |
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

    Type

       42 for Acct-Input-Octets.

    Length

       6

    Value

       The Value field is four octets.








Rigney                       Informational                     [Page 14]


RFC 2866                   RADIUS Accounting                   June 2000


5.4.  Acct-Output-Octets

    Description

       This attribute indicates how many octets have been sent to the
       port in the course of delivering this service, and can only be
       present in Accounting-Request records where the Acct-Status-Type
       is set to Stop.

    A summary of the Acct-Output-Octets attribute format is shown below.
    The fields are transmitted from left to right.

     0                   1                   2                   3
     0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    |     Type      |    Length     |             Value
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
               Value (cont)         |
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

    Type

       43 for Acct-Output-Octets.

    Length

       6

    Value

       The Value field is four octets.




On Friday, Jan 31, 2003, at 05:44 Australia/Melbourne, José Costa Preto 
wrote:

> Hello Hugh,
>
> The registered company is COMNEXO (taken by ONITELECOM a couple years 
> ago).
> In fact I checked the RFC's but the description elave with some 
> doubts. I would like to receive a clear answer.
>
> The question is: Which field has the volume of bytes downloaded to the 
> Client PC? Acct-input-octets or Acct-output-octets?
>
> Best regards,
>
> JoséPreto
> ONISI / MIB
>
>
> -----Original Message-----
> From: Hugh Irvine [mailto:hugh at open.com.au]
> Sent: sábado, 25 de Janeiro de 2003 7:24
> To: José Costa Preto
> Cc: joanne at open.com.au; radiator at open.com.au
> Subject: Re: (RADIATOR) Billing Downloads
>
>
> Hello Jose -
>
> I am still trying to ascertain the name of the registered company that
> has purchased this copy of Radiator.
>
> Could you please send me the username that you use to access the
> software on the web site?
>
> In answer to your question, you should check the Radius RFC's to
> understand the meanings of the various attributes. You will find the
> RFC's in the "doc" directory of the Radiator distribution.
>
> regards
>
> Hugh
>
>
> On Friday, Jan 24, 2003, at 21:12 Australia/Melbourne, José Costa Preto
> wrote:
>
>> Hello,
>>
>> My name is José Preto and I'm responsible for Mediation Device in ONI
>> Telecom (Portuguese Telco Company).
>>
>> We have a usage sensible billing based on Megabytes downloaded by our
>> ADSL Radiator customers.
>>
>> I'm almost sure that the field that I should use to do that is
>> Acct-Output-Octets, but I would like to receive your confirmation, on
>> the following sentences:
>>
>> Acct-Input-Octets = bytes uploaded by the client
>> Acct-Output-Octets = bytes downloaded by the client
>>
>> Is that true?
>>
>> Best regards,
>>
>> JoséPreto
>> ONISI / MIB
>>
>>
>> -----Original Message-----
>> From: Hugh Irvine [mailto:hugh at open.com.au]
>> Sent: sexta-feira, 24 de Janeiro de 2003 5:23
>> To: José Costa Preto; joanne at open.com.au
>> Cc: radiator at open.com.au
>> Subject: Re: (RADIATOR) Billing Downloads
>>
>>
>> Hello Jose -
>>
>> I don't understand your question, sorry.
>>
>> Could you explain the problem in more detail please?
>>
>> BTW - could you please send me the name of the registered company that
>> has purchased this copy of Radiator?
>>
>> regards
>>
>> Hugh
>>
>>
>>> Hi,
>>>
>>> I would like to obtain a confirmation on fields Acct-Input-Octets and
>>> =
>>> Acct-Input-Octets. Which one shall be billed to our customers as =
>>> downloads.
>>
>> -- 
>> 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.
>>
>>
>
> -- 
> 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.
>
>

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