home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1997 December / Internet_Info_CD-ROM_Walnut_Creek_December_1997.iso / drafts / draft_ietf_q_t / draft-ietf-radius-acct-interim-00.txt < prev    next >
Text File  |  1997-07-02  |  10KB  |  315 lines

  1.      
  2. RADIUS Working Group                                       Pat R. Calhoun 
  3. INTERNET DRAFT                                           3Com Corporation 
  4. Category: Internet Draft                                  Mark A. Beadles
  5. Title: draft-ietf-radius-acct-interim-00.txt             CompuServe, Inc.
  6. Date: July 1997                                            Alex Ratcliffe
  7.                                                  UUNET Technologies, Inc. 
  8.      
  9.  
  10.                            RADIUS Accounting
  11.                   Interim Accounting Record Extension     
  12.      
  13.      
  14. Status of this Memo
  15.      
  16.    This document is an Internet-Draft.  Internet-Drafts are working doc- 
  17.    uments of the Internet Engineering Task Force (IETF), its areas, and 
  18.    its working groups.  Note that other groups may also distribute work- 
  19.    ing documents as Internet-Drafts.
  20.      
  21.    Internet-Drafts are draft documents valid for a maximum of six 
  22.    months.  Internet-Drafts may be updated, replaced, or obsoleted by 
  23.    other documents at any time.  It is not appropriate to use Internet- 
  24.    Drafts as reference material or to cite them other than as a ``work- 
  25.    ing draft'' or ``work in progress.''
  26.      
  27.    To learn the current status of any Internet-Draft, please check the 
  28.    1id-abstracts.txt listing contained in the Internet-Drafts Shadow 
  29.    Directories on ds.internic.net, nic.nordu.net, ftp.nisc.sri.com, or 
  30.    munnari.oz.au.
  31.      
  32. Abstract
  33.    
  34.    The RADIUS Accounting document [1] defines a mechanism which is used
  35.    by a Network Access Server (NAS) to send accounting information to a 
  36.    RADIUS server. The current protocol defines a Start and Stop record.
  37.    This document defines an interim record which is used to make the
  38.    RADIUS accounting protocol more robust.
  39.      
  40. 1.0 Introduction
  41.    
  42.    The current protocol defines a message which a NAS sends to the RADIUS
  43.    server when a session begins, and a message when the session ends. 
  44.    All information which is necessary for the billing process 
  45.  
  46.  
  47.  
  48. Calhoun, Beadles, Ratcliffe   expires Janurary 1998             [Page 1]
  49.      
  50. INTERNET DRAFT                                                 July 1997
  51.  
  52.  
  53.    (i.e. session time, number of bytes transfered, etc) are only 
  54.    available in the Accounting Stop message. Therefore if a NAS becomes
  55.    unavailable for some time (i.e. power failure, reboot, network 
  56.    problem, etc...) it becomes impossible for a service provider to bill
  57.    for sessions initiated on the NAS (this is especially important with 
  58.    long lived sessions).
  59.  
  60.    This document introduces a new accounting message which is sent from
  61.    NAS to the RADIUS server which is called the interim accounting 
  62.    message. This message is sent in order to periodically update the
  63.    RADIUS server with information pertaining to a specific session. 
  64.  
  65. 1.1.  Specification of Requirements
  66.  
  67.    In this document, several words are used to signify the requirements
  68.    of the specification.  These words are often capitalized.
  69.  
  70.    MUST      This word, or the adjective "required", means that the
  71.              definition is an absolute requirement of the specification.
  72.  
  73.    MUST NOT  This phrase means that the definition is an absolute
  74.              prohibition of the specification.
  75.  
  76.    SHOULD    This word, or the adjective "recommended", means that there
  77.              may exist valid reasons in particular circumstances to
  78.              ignore this item, but the full implications must be
  79.              understood and carefully weighed before choosing a
  80.              different course.
  81.  
  82.    MAY       This word, or the adjective "optional", means that this
  83.              item is one of an allowed set of alternatives.  An
  84.              implementation which does not include this option MUST be
  85.              prepared to interoperate with another implementation which
  86.              does include the option.
  87.  
  88.  
  89. 2.  Operation
  90.  
  91.    When a session is initiated, a NAS issues a RADIUS Start Accounting 
  92.    Request. The RADIUS Server processes the request and issues a 
  93.    response. However, if the RADIUS Server wishes to receive interim 
  94.    accounting information it needs to add a new RADIUS Attribute defined
  95.    below which indicates the interval in seconds between interim 
  96.    messages. 
  97.  
  98.  
  99.  
  100.  
  101. Calhoun, Beadles, Ratcliffe   expires Janurary 1998             [Page 2]
  102.      
  103. INTERNET DRAFT                                                 July 1997
  104.  
  105.  
  106.    This scheme does not break backward interoperability since a RADIUS
  107.    server not supporting this extension will simply not add the new 
  108.    Attribute. On the other hand, NAS' not supporting this extension 
  109.    will simply ignore the Attribute. This means that if a RADIUS 
  110.    Server uses the interim extension for other purposes 
  111.    (i.e. resource management) it MUST be aware of NAS' which do not 
  112.    support this extension.
  113.  
  114.    Note that all information in an interim message is cumulative (i.e. 
  115.    number of packets sent is the total since the beginning of the 
  116.    session, not since the last interim message).
  117.  
  118.    It is envisioned that an Interim Accounting record would contain
  119.    all of the attributes normally found in an Accounting Stop message
  120.    with the exception of the Acct-Term-Cause attribute.
  121.  
  122.    Since accounting packets are modified when retransmissions occur, it
  123.    is recommended that the interval time restart only once the response 
  124.    from the RADIUS Server has been received (making sure that interim 
  125.    updates are not sent while retransmissions are pendig for a given 
  126.    session). A NAS COULD divide the interval time with the maximum 
  127.    number of retranmissions configured locally in order to determine the
  128.    retransmission mechanism.
  129.  
  130.    Although this extension allows control from a central RADIUS Server,
  131.    the authors wish to caution against using low interval values (i.e.
  132.    5 seconds). In a NAS with large port densities, it can becomes a 
  133.    CPU intensive task as well as a waste of network bandwidth.
  134.  
  135.  
  136. 3.  Attributes
  137.  
  138.    This section defines the new RADIUS Attributes necessary to support
  139.    the Interim Accounting extension.
  140.  
  141. 3.1.  Acct-Status-Type
  142.  
  143.    Description
  144.  
  145.       This attribute indicates whether this Accounting-Request marks the
  146.       beginning of the user service (Start) or the end (Stop).
  147.  
  148.       It MAY be used by the client to mark the start of accounting (for
  149.       example, upon booting) by specifying Accounting-On and to mark the
  150.       end of accounting (for example, just before a scheduled reboot) by
  151.       specifying Accounting-Off.
  152.  
  153.  
  154. Calhoun, Beadles, Ratcliffe   expires Janurary 1998             [Page 3]
  155.      
  156. INTERNET DRAFT                                                 July 1997
  157.  
  158.  
  159.       Additionally this attribute MAY indicate an interim update.
  160.  
  161.    A summary of the Acct-Status-Type attribute format is shown below.
  162.    The fields are transmitted from left to right.
  163.  
  164.     0                   1                   2                   3
  165.     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
  166.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  167.    |     Type      |    Length     |             Value
  168.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  169.               Value (cont)         |
  170.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  171.  
  172.  
  173.    Type
  174.  
  175.       40 for Acct-Status-Type.
  176.  
  177.    Length
  178.  
  179.       6
  180.  
  181.    Value
  182.  
  183.       The Value field is four octets.
  184.  
  185.        1      Start
  186.        2      Stop
  187.        3      Interim Update
  188.        7      Accounting-On
  189.        8      Accounting-Off
  190.  
  191. 3.2.  Acct-Interim-Interval
  192.  
  193.    Description
  194.  
  195.       This attribute indicates the number of seconds between each interim
  196.       update in seconds for this specific session.
  197.  
  198.    A summary of the Acct-Interim-Interval attribute format is shown 
  199.    below. The fields are transmitted from left to right.
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206.  
  207. Calhoun, Beadles, Ratcliffe   expires Janurary 1998             [Page 4]
  208.      
  209. INTERNET DRAFT                                                 July 1997
  210.  
  211.  
  212.     0                   1                   2                   3
  213.     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
  214.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  215.    |     Type      |    Length     |             Value
  216.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  217.               Value (cont)         |
  218.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  219.  
  220.    Type
  221.  
  222.       ?? for Acct-Interim-Interval.
  223.  
  224.    Length
  225.  
  226.       6
  227.  
  228.    Value
  229.  
  230.       The Value field contains the number of seconds between each 
  231.       interim update to be sent from the NAS for this session. The
  232.       value MUST NOT be smaller than 5.
  233.      
  234.      
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260. Calhoun, Beadles, Ratcliffe   expires Janurary 1998             [Page 5]
  261.      
  262. INTERNET DRAFT                                                 July 1997
  263.  
  264.      
  265. 4.0 Contacts
  266.      
  267.    Pat R. Calhoun 
  268.    3Com Corporation
  269.    1800 Central Ave.  
  270.    Mount Prospect, Il, 60056 
  271.    pcalhoun@usr.com 
  272.    (847) 342-6898
  273.  
  274.    Mark A. Beadles, 
  275.    Compuserve Corporation 
  276.    CompuServe, Inc.
  277.    5000 Britton Rd.
  278.    Hilliard, OH, 43026
  279.    mbeadles@web.compuserve.com
  280.    (614) 723-1941 
  281.    
  282.    Alex Ratcliffe, 
  283.    UUNET Technologies, Inc,
  284.    3060 Williams Drive,
  285.    Fairfax, VA, 22032.
  286.    alexr@uu.net.
  287.    (703) 206 5698.
  288.   
  289.  
  290. 5.0 References
  291.  
  292.    [1]   Rigney, C., "RADIUS Accounting", RFC 2139, April 1997.
  293.  
  294.    [2]   Rigney, C., Rubens, A., Simpson, W., and Willens, S., "Remote
  295.          Authentication Dial In User Service (RADIUS)", RFC 2138,
  296.          April 1997.
  297.      
  298.      
  299.      
  300.      
  301.      
  302.      
  303.      
  304.      
  305.      
  306.      
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313. Calhoun, Beadles, Ratcliffe   expires Janurary 1998             [Page 6]
  314.      
  315.