|
Radius Authors: Hassell J. Published year: 2005 Pages: 27-29/89 |
Chapter 4. RADIUS AccountingISPs often manage points of presence over several locations, most likely geographically dispersed. All of these points of presence require protection to guard against unauthorized use of the expensive network to which they allow access. Although the front line of defense may (and should) be a robust and extensible form of authentication (to verify a user's declared identity) and authorization (to provide a user with only the services to which he is entitled), much valuable information can be gleaned from data collected about users' activities on the network. Which user logged on? When did she do so? What services was he granted? The data becomes even more useful when it is compiled to analyze a group of users. What is the average call time for a user? How much data does that user transfer? Do I, as a system administrator, need to set a time limit for a single session so as to protect limited dial-in resources? Do I have users that are abusing an on-demand connection? All of these questions can be answered using information mined from the accounting process. RADIUS supports a full-featured accounting protocol subset, which allows it to satisfy all requirements of the AAA model. This chapter describes the design, operation, packets, and attributes that are specific and germane to RADIUS accounting. |
4.1 Key Points in RADIUS AccountingThe design of accounting in RADIUS is based upon three major characteristics:
|
4.2 Basic OperationAll communications regarding RADIUS accounting are done with an Accounting-Request packet. A client that is participating in the RADIUS accounting process will generate an Accounting Start packet, which is a specific kind of Accounting-Request packet. This packet includes information on which service has been provisioned and on the user for which these services are provided. This packet is sent to the RADIUS accounting server, which will then acknowledge receipt of the data. When the client is finished with the network services, it will send to the accounting server an Accounting Stop packet (again, a specialized Accounting-Request packet), which will include the service delivered; usage statistics such as time elapsed, amount transferred, average speed; and other details. The accounting server acknowledges receipt of the stop packet, and all is well. If the server does not or cannot handle the contents of the Accounting-Request packet, it is not allowed to send a receipt acknowledgment to the client. In this instance, the RFC recommends that a client continue to send its packets to the accounting server when it has not received an acknowledgment that its Accounting-Request packet has been processed . In fact, in large distributed networks, it is desirable to have several accounting servers act in a round- robin fashion to handle failover and redundancy needs. An administrator can carry this mentality further and designate certain accounting servers to handle different requestsone for his dial-up users, one for his DSL customers, and yet another for ISDN connections. Additionally, the proxy functionality present in the authentication and authorization realms of RADIUS are also allowed in the accounting phase, as the accounting server may make requests of other servers to assist in the processing of Accounting-Request packets. 4.2.1 More on ProxyingRADIUS accounting proxies act in much the same way as RADIUS authentication/authorization proxies do. Consider the following process:
Figure 4-1 shows the flow of this process. Figure 4-1. The proxying process for RADIUS accounting
|
|
Radius Authors: Hassell J. Published year: 2005 Pages: 27-29/89 |
![]() Implementing 802.1X Security Solutions for Wired and Wireless Networks | ![]() Kerberos: The Definitive Guide (Definitive Guides) | ![]() LDAP System Administration | ![]() FreeRADIUS Beginner's Guide |
![]() Implementing 802.1X Security Solutions for Wired and Wireless Networks | ![]() Kerberos: The Definitive Guide (Definitive Guides) |
![]() LDAP System Administration | ![]() FreeRADIUS Beginner's Guide |