Ims 4
Ims 4
Overview
[Link]
Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved. Page1
References
RFC3558
3GPP TS 29.229
Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved. Page2
Objectives
Upon completion of this course, you will be able to:
Know the structure of Diameter protocol.
Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved. Page3
Contents
1. Diameter Protocol Overview
Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved. Page4
Contents
1. Diameter Protocol Overview
1.1 Diameter introduction
Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved. Page5
Whats Diameter?
Diameter protocol
An AAA protocol, provide Authentication, Authorization and
Accounting (AAA) function
Advanced than radius, so it is called diameter
Radius Diameter
NAS AAA client
PPP
DSL WLAN
3G
Traditional network
Future network
Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved. Page6
New demands on AAA protocols
Network access requirements for AAA protocols
Failover
Transmission-level security
Reliable transport
Agent support
Server-initiated messages
Capability negotiation
Roaming support
Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved. Page7
Characteristic
The Diameter base protocol provides the following facilities
Delivery of AVPs (attribute value pairs)
Capabilities negotiation
Error notification
Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved. Page8
Contents
1. Diameter Protocol Overview
1.1 Diameter introduction
Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved. Page9
Diameter framework
Diameter specification consists
The Diameter base protocol
Transport Profile [AAATRANS]
Applications
Mobile IPv4 [DIAMMIP] application
NASREQ [NASREQ] application SIP
application
SIP application
MIP
application
NASREQ EAP
application application
Diameter Base protocol, Transport profile
Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved. Page10
Diameter node type
Diameter node type
Client
A Diameter Client is a device at the edge of the network that performs
access control. An example of a Diameter client is a Network Access
Server (NAS) or a Foreign Agent (FA).
Server
A Diameter Server is one that handles authentication, authorization and
accounting requests for a particular realm. By its very nature, a Diameter
Server MUST support Diameter applications in addition to the base
protocol.
Agent
Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved. Page11
Role of Diameter Agents
There are four kinds of Diameter Agents
Proxy Agent or Proxy
Redirect Agent
Translation Agent
Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved. Page12
Contents
1. Diameter Protocol Overview
1.1 Diameter introduction
Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved. Page13
Diameter PDU
Diameter PDU includes two parts:
Diameter header
Diameter AVP
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
RPETrrrr
Application-ID
Hop-by-Hop Identifier
End-to-End Identifier
AVPs ...
Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved. Page14
Diameter PDU
Command code
Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved. Page15
Diameter PDU
AVP
The Diameter protocol consists of a header followed by one or
more Attribute-Value-Pairs (AVPs). An AVP includes a header
and is used to encapsulate protocol-specific data (e.g., routing
information) as well as authentication, authorization or
accounting information
APV structure
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
AVP Code
AVP flags AVP Length
VMPrrrrr
Vendor-ID (opt)
AVP data
Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved. Page16
Example
Use Cx message as an example
I-CSCF HSS
Diameter message: UAA
Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved. Page17
Contents
1. Diameter Protocol Overview
Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved. Page18
Diameter for SIP Application
framework
Diameter
server
Diameter Diameter
UAR/UAA PPR/PPA
LIR/LIA SAR/SAA
RTR/RTA
Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved. Page19
Command code in SIP Application
Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved. Page20
AVP code in SIP application
Command-Name Code
Visited-Network-Identifier 601
Public-Identity 602
Server-Name 603
Server-Capabilities 604
Mandatory-Capability 605
Optional-Capability 606
User-Data 607
SIP-Number-Auth-Items 608
SIP-Authentication-Scheme 609
SIP-Authenticate 610
SIP-Authorization 611
SIP-Authentication-Context 612
Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved. Page21
AVP code in SIP application
Command-Name Code
SIP-Auth-Data-Item 613
SIP-Item-Number 614
Server-Assignment-Type 615
Deregistration-Reason 616
Reason-Code 617
Reason-Info 618
Charging-Information 619
Primary-Event-Charging-Function-Name 620
Secondary-Event-Charging-Function-Name 621
Primary-Charging-Collection-Function-Name 622
Secondary-Charging-Collection-Function-Name 623
User-Authorization-Type 624
Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved. Page22
AVP code in SIP application
Command-Name Code
User-Data-Already-Available 625
Confidentiality-Key 626
Integrity-Key 627
Supported-Features 628
Feature-List-ID 629
Feature-List 630
Supported-Applications 631
Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved. Page23
Diameter signaling procedure in
SIP Application
Example (register)
Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved. Page24
UAR/UAA --User-Authorization
request/answer
User register/User deregister
I-CSCF HSS to query the S-CSCF
HSS Action
if the IMPU is allowed to roam in the visited network
if the IMPU is allowed to authorized to register
if the IMPU isnt barred
HSS Return
S-CSCF Name or
S-CSCF Capabilities
Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved. Page25
MAR/MAA --Multimedia-
Authentication request/answer
S-CSCFHSS to retrieve authentication vectors from the
HSS
HSS Action
Check the register status of the user and judge if the S-CSCF
name equal to the server name stored in HSS
Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved. Page26
SAR/SAA --Server-Assignment
request/answer
S-CSCFHSS to notify to register or deregister the user
HSS Action
Check the user current register state and update to the new
register state
Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved. Page27
Summary
Please describe the diameter application in register
procedure
Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved. Page28
Thank you
[Link]