Diameter is an authentication, authorization, and accounting protocol for computer networks. It evolved from the earlier RADIUS protocol. It belongs to the application layer protocols in the internet protocol suite. Diameter Applications extend the base protocol by adding new commands The Diameter base protocol is defined by RFC (Obsoletes: RFC ). Canonical URL: ; File formats: Plain Text PDF; Status: PROPOSED STANDARD; Obsoleted by: RFC ; Updated by. Diameter is specified primarily as a base protocol by the IETF in RFC and then DIAMETER base protocol must be used in conjunction with DIAMETER.

Author: Kigajind Gozilkree
Country: Burundi
Language: English (Spanish)
Genre: Politics
Published (Last): 20 June 2017
Pages: 313
PDF File Size: 3.83 Mb
ePub File Size: 2.65 Mb
ISBN: 379-5-33354-230-9
Downloads: 36719
Price: Free* [*Free Regsitration Required]
Uploader: Tosida

Network Working Group Orotocol. Calhoun Request for Comments: Guttman Sun Microsystems, Inc. Zorn Cisco Systems, Inc. Arkko Ericsson September Diameter Base Protocol Status of this Memo This document specifies an Internet standards track protocol for the Internet community, and requests discussion and suggestions for improvements.

Please refer to the current edition of the “Internet Official Protocol Standards” STD 1 for the standardization state and status of this protocol. Distribution of this memo is unlimited. This document specifies the message format, transport, error reporting, accounting and security services to be used by all Diameter applications.

The Diameter base application needs to be supported by all Diameter implementations. Table of Contents 1. Description of the Document Set Creating New Authentication Applications Creating New Accounting Applications Role of Diameter Agents Diameter Command Naming Conventions Failover and Failback Procedures Diameter Request Routing Overview Relaying and Proxying Requests Relaying and Proxying Answers Authorization Session State Machine Accounting Session State Machine Correlation of Accounting Records Diameter Protocol Related Configurable Parameters Over time, with the growth of the Internet and the introduction of new access technologies, including wireless, DSL, Mobile IP and Ethernet, potocol and network access servers NAS have increased in complexity and density, putting new demands on AAA protocols.

Failover [ RADIUS ] does not define failover mechanisms, and as a result, failover behavior differs prrotocol implementations. In order to provide well defined failover behavior, Diameter supports application-layer acknowledgements, and defines failover algorithms and the associated state machine.

This is described in Section 5. Transmission-level security [ RADIUS ] defines an application-layer authentication and integrity scheme that is required only for use with Response packets.

In accounting, [ RADACCT ] assumes that replay protection is provided by the backend billing server, rather than within the protocol itself. Since within [ IKE ] authentication occurs only within Phase 1 prior to the establishment of IPsec SAs in Phase 2, it is typically not possible to define separate trust or authorization schemes for each application. This limits the usefulness of IPsec in inter-domain AAA applications such as roaming where it may be desirable to define a distinct certificate hierarchy for use in a AAA deployment.

In order to provide universal support for transmission-level security, and enable both intra- and inter-domain AAA deployments, IPsec support is mandatory in Diameter, and TLS support is optional. Security is discussed in Section Since the expected behavior is not defined, it varies between implementations. Diameter defines agent behavior explicitly; this is described in Section 2. Support for server-initiated messages is mandatory in Diameter, and is described in Section 8.

Auditability RADIUS does not define data-object security mechanisms, and as a result, untrusted proxies may modify attributes or even packet headers without being detected. Combined with lack of support for capabilities negotiation, this makes it very difficult to determine what occurred in the event of a dispute. While implementation of data object security is not mandatory within Diameter, these capabilities are supported, and are described in [ AAACMS ].


Initially, it is expected that Diameter will be deployed protovol new network devices, as rfcc as within gateways enabling communication between legacy RADIUS devices and Diameter agents. In addition to addressing diamfter above requirements, Diameter also provides support for the following: Since RADIUS clients and servers are not aware of each other’s capabilities, they may not be able to successfully negotiate a mutually acceptable service, or in some cases, even be aware of what service has been implemented.

Diameter includes support for error handling Section 7capability negotiation Section 5. Peer discovery and configuration RADIUS implementations typically require that the name or address of servers or clients be manually configured, along with the corresponding shared secrets. This results in a large administrative burden, and creates the temptation to reuse the RADIUS shared secret, which can result in major security vulnerabilities if the Request Authenticator is not globally and temporally unique as required in [ RADIUS ].

Through DNS, Diameter enables dynamic discovery of peers. Derivation of dynamic session keys is enabled via transmission-level security. However, since RADIUS does not provide explicit support for proxies, and lacks auditability and transmission-level security features, RADIUS- based roaming is vulnerable to attack from external parties as well as susceptible to fraud perpetrated by the roaming partners themselves.

By providing explicit support for inter-domain roaming and message routing Sections 2. Diameter Protocol The Diameter base protocol provides the following facilities: Some of these AVP values are used by the Diameter protocol itself, while others deliver data associated with particular applications that employ Diameter. AVPs are used by the base Diameter protocol to support the following required features: It is also possible for the base protocol to be extended for use in new applications, via the addition of new commands or AVPs.

At this time the focus of Diameter is network access and accounting applications. A truly generic AAA protocol used by many applications might provide functionality not provided by Diameter. Therefore, it is imperative that the designers of new applications understand their requirements before using Diameter. Any node can initiate a request. In that sense, Diameter is a peer- to-peer protocol.

A Diameter client generates Diameter messages to request authentication, authorization, and accounting services for the user. A Diameter node MAY act as an agent for certain requests while acting as a server for others.

RFC – part 1 of 5

The Diameter protocol also supports server-initiated messages, such as a request to abort service to a particular user. This document also defines 33588 Diameter failover algorithm and state machine. In summary, this document defines the base protocol specification for AAA, which includes support for accounting. Approach to Diametrr The Diameter protocol is designed to be extensible, using several mechanisms, including: Reuse simplifies standardization and implementation and avoids potential interoperability issues.

For AVPs of type Enumerated, an application may require a new value to communicate some service-specific information. In the event that a logical grouping of AVPs is necessary, and multiple “groups” are possible in a given command, it is recommended that a Grouped AVP be used see Section 4.

Should a new Diameter usage scenario find itself unable to fit within an existing application without requiring major changes to the specification, it may be desirable to create a new Diameter application. Major changes to an application include: Since rrc new EAP authentication method can be supported within Diameter without requiring new AVPs, addition of EAP methods does not require protoclo creation of a new authentication application. Creation of a new application should be viewed as a last resort.


An implementation MAY add arbitrary non-mandatory AVPs to any command defined in an application, including vendor-specific AVPs without needing to define frc new application.

Please refer to Section However, just because a new authentication application id is required, does not imply that a new accounting application id is required. Application Identifiers are still required for Diameter capability exchange. A mandatory AVP is defined as one which has the “M” bit set when sent within an accounting command, regardless of whether it is required or optional within the ABNF for the accounting application. The creation of a new accounting application should be viewed as a last resort and MUST NOT be used unless a protocl command or additional mechanisms e.

Within an accounting command, setting the “M” bit implies that a backend server e. The combination of the home domain and the accounting application Id can be used in potocol to route the request to the appropriate accounting server.

Diameter (protocol)

If the base accounting is used without any mandatory AVPs, new commands or additional mechanisms e. This MAY require that new AVP values be assigned to represent the new authentication transform, or any other scheme that produces similar results. Accounting The act of collecting information on resource usage for the purpose of capacity planning, auditing, billing or cost allocation.

Accounting Record An accounting record represents a summary of the resource consumption of a user over the entire session. Accounting servers creating the accounting record may do so by processing interim accounting events or accounting events from several devices serving the same user. Authentication The act of verifying the identity of an entity subject.

Authorization The act of determining whether a requesting entity subject will be allowed access to a resource object. An AVP includes a header and is used to encapsulate protocol-specific data e. Broker A broker is a business term commonly used in AAA infrastructures. A broker is either a relay, proxy 35888 redirect agent, and MAY be operated by roaming consortiums. Depending on the business model, a broker may either choose to deploy relay agents or proxy agents.

Diameter Agent A Diameter Agent is a Diameter node that provides either relay, proxy, redirect or translation services. Diameter Client A Diameter Client is a device at the prootocol of the network that performs access control. Diameter Server A Diameter Server is one that handles authentication, authorization and accounting requests for a particular realm. Downstream Downstream is used to identify the direction of a particular Diameter message from the home server towards the access device.

When relays or proxy are involved, this hop-by-hop security does not protect the entire Diameter user session. End-to-end security is security between two Diameter nodes, possibly communicating protocpl Diameter Agents. This security protects the entire Diameter communications path from the originating Diameter node to the terminating Diameter node. Home Realm A Home Realm is the administrative domain with which the user maintains an account relationship. Home Server See Diameter Server.