1. Field of the Invention
The present invention relates to the field of network communications. More specifically, the present invention relates to authorizing individual commands in the Remote Authentication Dial In User Server (RADIUS) protocol.
2. The Background
The Remote Authentication Dial In User Server (RADIUS) protocol is an access control protocol used to provide Authentication, Authorization, and Accounting (AAA) services for various network devices, but especially for Network Access Servers (NASes). Most service providers utilize RADIUS, and it is also used commonly in the Enterprise market.
In RADIUS, when a client initiates a call to a NAS, username and password information is collected. This username and password information is then forwarded to a central AAA server. A single transaction with the server is used to both authenticate and authorize the user. A session may then be initiated. A session is an active connection between two devices. During the rest of the session, the user then may initiate commands, and accounting records may be sent to the AAA server indicating the beginning and end of the client session.
A need exists, however, for individual commands to be authorized by an AAA server. This would allow routers or NASes that are accessed by many different administrators performing different functions to operate more efficiently and securely. The RADIUS protocol does not currently support this type of command authorization. The Terminal Access Controller Access Control System (TACACS+) is an access control protocol that offers command authorization. TACACS+ is based on the Transmission Control Protocol (TCP) and provides for a transmission from the network device receiving the command to the AAA server to request authorization to execute the command. The AAA server then may access a stored profile to determine if the user has authorization to perform the command. Then the AAA server may send a transmission back to the network device via TACACS+ indicating the results of the determination regarding authorization.
This solution, however, has several drawbacks. First, each individual command must be authorized. This involves sending a request to the AAA server and waiting to receive a response each time a network device receives a command from a user, causing additional delays in authorizing commands. Also since TACACS+ is based on TCP, a total of 8 packets must be transmitted back and forth between the network device and the AAA server each time a command is authorized, causing additional network traffic.
Additionally, RADIUS is much more commonly used than TACACS+. Accordingly, a need exists for a way to implement command authorization in the RADIUS protocol.
Command authorization may be accomplished using the RADIUS protocol by providing a user profile on the server for each user. This user profile may be transferred to a network device, such as a NAS, when the user initiates a RADIUS session. It may be stored in a local cache and accessed each time the user attempts to execute a command. The user profile may contain a command set defined by regular expressions, which are used in pattern matching which can then be used to determine whether or not the command should be authorized. The command may then be authorized or rejected based on the results of this determination. After the session is completed, the user profile may be purged from the cache. The present invention allows for a dramatic savings in the traffic and execution time associated with command authorization and allows command authorization to be accomplished using the RADIUS protocol, which increases flexibility.
In the following description, a preferred embodiment of the invention is described with regard to preferred process steps and data structures. However, those skilled in the art will recognize, after perusal of this application, that embodiments of the invention may be implemented using at least one general purpose computer operating under program control and/or using a program storage device, and that modification of the general purpose computer to implement the components, process steps, and/or data structures described herein would not require undue invention.
In accordance with a specific embodiment of the present invention, the components, process steps, and/or data structures are implemented using software running on a network access server or other network device, such as a Cisco™ Gigabit Switch Router or a Cisco™ Universal Access Server. This implementation is not intended to be limiting in any way. Different implementations may be used and may include other types of operating systems, computing platforms, and/or computer programs. In addition, those of ordinary skill in the art will readily recognize that devices of a less general purpose nature, such as hardwired devices, devices relying on FPGA (field programmable gate array) or ASIC (application specific integrated circuit) technology, or the like, may also be used without departing from the scope and spirit of the inventive concepts disclosed herewith.
The present invention provides for command authorization in the RADIUS protocol by storing a user profile in a cache or memory at a network device, such as a NAS. This user profile is transmitted from the AAA server to the NAS when a RADIUS session is begun. Thereafter, any command issued by the user is first checked against a record in the user profile. The record contains information as to which commands the user is authorized to execute. The NAS may then determine whether to authorize the command based on the information in the record. When the session is completed, the user profile may be purged from the cache. This solution allows for command authorization via the RADIUS protocol without having to send packets to the AAA server each time a command is issued. Additionally, since RADIUS does not use TCP, the transmission between the AAA server and the NAS at the beginning of the session uses fewer packets than even a single command authorization in TACACS+.
Referring back to
A user profile storer 304 coupled to the user profile receiver 302 and to a cache 306 stores the user profile for the user in a cache. This cache may be local to the NAS or network device. This will allow access to the user profile without having to reestablish contact with the AAA server. A command receiver 308 receives the command from the user. Since the network device may be a NAS, or may be any other network device, the type and format of the available commands may include any number of choices. An authorized command determiner 310 coupled to the command receiver 308 and to the cache 306 determines whether the command is authorized based on the information in the user profile for the user stored in the cache. This may include comparing the command to a command set contained in the user profile using a command set comparer 312. The command set may be a list of authorized commands, or alternatively, may be described by regular expressions. A command authorizer 314 coupled to the authorized command determiner 310 may then be authorized or rejected based on the results of the determining. A user profile purger 316 coupled to the cache 306 may then purge the user profile when the RADIUS session is terminated.
By utilizing the RADIUS protocol to perform command authorization, the present invention allows individual commands from users to be independently authorized or rejected while minimizing the traffic load on the system. This invention may also have specific usefulness in the burgeoning field of enterprise networking, where there are currently many users of TACACS+who might be better off utilizing a RADIUS-based system.
While embodiments and applications of this invention have been shown and described, it would be apparent to those skilled in the art having the benefit of this disclosure that many more modifications than mentioned above are possible without departing from the inventive concepts herein. The invention, therefore, is not to be restricted except in the spirit of the appended claims.
| Number | Name | Date | Kind |
|---|---|---|---|
| 5241594 | Kung | Aug 1993 | A |
| 5555376 | Theimer et al. | Sep 1996 | A |
| 5655077 | Jones et al. | Aug 1997 | A |
| 5671354 | Ito et al. | Sep 1997 | A |
| 5684950 | Dare et al. | Nov 1997 | A |
| 5708780 | Levergood et al. | Jan 1998 | A |
| 5715394 | Jabs | Feb 1998 | A |
| 5812529 | Czarnik et al. | Sep 1998 | A |
| 5815665 | Teper et al. | Sep 1998 | A |
| 5835727 | Wong et al. | Nov 1998 | A |
| 5845070 | Ikudome | Dec 1998 | A |
| 5881225 | Worth | Mar 1999 | A |
| 5897635 | Torres et al. | Apr 1999 | A |
| 5898780 | Liu et al. | Apr 1999 | A |
| 5933625 | Sugiyama | Aug 1999 | A |
| 5944824 | He | Aug 1999 | A |
| 5968116 | Day, II et al. | Oct 1999 | A |
| 5974453 | Andersen et al. | Oct 1999 | A |
| 5987232 | Tabuki | Nov 1999 | A |
| 5991810 | Shapiro et al. | Nov 1999 | A |
| 5991828 | Horie et al. | Nov 1999 | A |
| 6006334 | Nguyen et al. | Dec 1999 | A |
| 6009103 | Woundy | Dec 1999 | A |
| 6011910 | Chau et al. | Jan 2000 | A |
| 6021429 | Danknick | Feb 2000 | A |
| 6021496 | Dutcher et al. | Feb 2000 | A |
| 6026441 | Ronen | Feb 2000 | A |
| 6044155 | Thomlinson et al. | Mar 2000 | A |
| 6047376 | Hosoe | Apr 2000 | A |
| 6061650 | Malkin et al. | May 2000 | A |
| 6065980 | Leung et al. | May 2000 | A |
| 6081419 | Pham | Jun 2000 | A |
| 6091951 | Sturniolo et al. | Jul 2000 | A |
| 6092196 | Reiche | Jul 2000 | A |
| 6119160 | Zhang et al. | Sep 2000 | A |
| 6141687 | Blair | Oct 2000 | A |
| 6182142 | Win et al. | Jan 2001 | B1 |
| 6301618 | Sitaraman et al. | Oct 2001 | B1 |
| 6324648 | Grantges, Jr. | Nov 2001 | B1 |
| 6463474 | Fuh et al. | Oct 2002 | B1 |
| 6466977 | Sitaraman et al. | Oct 2002 | B1 |
| 6587433 | Borella et al. | Jul 2003 | B1 |
| 6741853 | Jiang et al. | May 2004 | B1 |
| Number | Date | Country |
|---|---|---|
| WO 9953408 | Oct 1999 | WO |