: Diameter Error Handling
"Paulo Rolo" <[email protected]> Mon, 15 May 2006 16:28:29 +0100
| Newsgroups | gmane.ietf.aaa |
|---|---|
| Message-ID | <75D349FBF7C131408F5061B7168072C302CF35F5@INOAVREX06.ptin.corpPT.com> |
This is a multi-part message in MIME format.
------_=_NextPart_001_01C67834.37DA9259
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Hello all,
=20
I have some questions regarding diameter error handling behavior, which
I was unable to check on rfc 3588:
- should diameter server, when replying with a message with E bit set,
include all the AVPs from received request? (as far as I know, some
diameter implementations do this on redirect messages)
- this applies both to redirect and protocol and application errors?=20
- what is the meaning of *[AVP] on answer-message format?
=20
<answer-message> ::=3D < Diameter Header: code, ERR [PXY] >
0*1< Session-Id >
{ Origin-Host }
{ Origin-Realm }
{ Result-Code }
[ Origin-State-Id ]
[ Error-Reporting-Host ]
[ Proxy-Info ]
* [ AVP ]
=20
Regards,
Paulo Rolo
=20
=20
=20
=20
=20
=20
________________________________
From: selina [mailto:[email protected]]=20
Sent: quinta-feira, 11 de Maio de 2006 14:03
To: Paulo Rolo
Subject: RE: [AAA-WG]: Diameter Redirect Behaviour
=20
Hi,Paulo:
=20
Please see my comments in line.
=20
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf
Of Paulo Rolo
> Sent: Thursday, May 11, 2006 1:34 AM
> To: [email protected]
> Subject: [AAA-WG]: Diameter Redirect Behaviour
>=20
> Hello,=20
> I have some questions regarding diameter redirect behavior:=20
> 1) Redirect reply message should be of the type request or reply? For
example, if redirect agent receives an UAR it =20
> should reply with a UAR or with a UAA, performing the redirect
actions?=20
=20
I think redirect reply message should be of the type reply,I mean reply
message is the answer message,you can read the RFC3588,section 6.1.7
=20
> 2) If Redirect-Host-Usage AVP is used with a value of ALL_USER, how
this is reflected on diameter routing table? As =20
> routing table only concerns realms and apps, should this routing entry
be cached in an implementation specific table=20
> and this table used prior checking diameter routing table?=20
=20
If the Redirect-Host-Usage AVP's value is ALL_USER,I think it means all
message from any user should be sent to the host specified in the
Redirect-Host AVP.This is my consideration,and how do you think?
=20
Selina
Thanks
=20
>=20
> Thanks in advance,=20
> Paulo Rolo
------_=_NextPart_001_01C67834.37DA9259
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<title>邮件</title>
<style>
<!--
/* Font Definitions */
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"\@SimSun";
panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal;
font-family:Verdana;
color:windowtext;
font-weight:normal;
font-style:normal;
text-decoration:none none;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:Verdana;
color:blue;
font-weight:bold;
font-style:normal;
text-decoration:none none;}
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=3DEN-US link=3Dblue vlink=3Dpurple>
<div class=3DSection1>
<p class=3DMsoNormal><b><font size=3D2 color=3Dblue face=3DVerdana><span
style=3D'font-size:10.0pt;font-family:Verdana;color:blue;font-weight:bold=
'>Hello
all,<o:p></o:p></span></font></b></p>
<p class=3DMsoNormal><b><font size=3D2 color=3Dblue face=3DVerdana><span
style=3D'font-size:10.0pt;font-family:Verdana;color:blue;font-weight:bold=
'><o:p> </o:p></span></font></b></p>
<p class=3DMsoNormal><b><font size=3D2 color=3Dblue face=3DVerdana><span
style=3D'font-size:10.0pt;font-family:Verdana;color:blue;font-weight:bold=
'>I have
some questions regarding diameter error handling behavior, which I was =
unable
to check on rfc 3588:<o:p></o:p></span></font></b></p>
<p class=3DMsoNormal><b><font size=3D2 color=3Dblue face=3DVerdana><span
style=3D'font-size:10.0pt;font-family:Verdana;color:blue;font-weight:bold=
'>-
should diameter server, when replying with a message with E bit set, =
include
all the AVPs from received request? (as far as I know, some diameter =
implementations
do this on redirect messages)<o:p></o:p></span></font></b></p>
<p class=3DMsoNormal><b><font size=3D2 color=3Dblue face=3DVerdana><span
style=3D'font-size:10.0pt;font-family:Verdana;color:blue;font-weight:bold=
'>- this
applies both to redirect and protocol and application errors? =
<o:p></o:p></span></font></b></p>
<p class=3DMsoNormal><b><font size=3D2 color=3Dblue face=3DVerdana><span
style=3D'font-size:10.0pt;font-family:Verdana;color:blue;font-weight:bold=
'>- what
is the meaning of *[AVP] on answer-message =
format?<o:p></o:p></span></font></b></p>
<p class=3DMsoNormal><b><font size=3D2 color=3Dblue face=3DVerdana><span
style=3D'font-size:10.0pt;font-family:Verdana;color:blue;font-weight:bold=
'> <o:p></o:p></span></font></b></p>
<p class=3DMsoNormal><b><font size=3D2 color=3Dblue face=3DVerdana><span
style=3D'font-size:10.0pt;font-family:Verdana;color:blue;font-weight:bold=
'>
<answer-message> =
::=3D
< Diameter Header: code, ERR [PXY] =
><o:p></o:p></span></font></b></p>
<p class=3DMsoNormal><b><font size=3D2 color=3Dblue face=3DVerdana><span
style=3D'font-size:10.0pt;font-family:Verdana;color:blue;font-weight:bold=
'>  =
;
0*1< Session-Id ><o:p></o:p></span></font></b></p>
<p class=3DMsoNormal><b><font size=3D2 color=3Dblue face=3DVerdana><span
style=3D'font-size:10.0pt;font-family:Verdana;color:blue;font-weight:bold=
'>  =
;
{ Origin-Host }<o:p></o:p></span></font></b></p>
<p class=3DMsoNormal><b><font size=3D2 color=3Dblue face=3DVerdana><span
style=3D'font-size:10.0pt;font-family:Verdana;color:blue;font-weight:bold=
'>  =
;
{ Origin-Realm }<o:p></o:p></span></font></b></p>
<p class=3DMsoNormal><b><font size=3D2 color=3Dblue face=3DVerdana><span
style=3D'font-size:10.0pt;font-family:Verdana;color:blue;font-weight:bold=
'>  =
;
{ Result-Code }<o:p></o:p></span></font></b></p>
<p class=3DMsoNormal><b><font size=3D2 color=3Dblue face=3DVerdana><span
style=3D'font-size:10.0pt;font-family:Verdana;color:blue;font-weight:bold=
'>  =
;
[ Origin-State-Id ]<o:p></o:p></span></font></b></p>
<p class=3DMsoNormal><b><font size=3D2 color=3Dblue face=3DVerdana><span
style=3D'font-size:10.0pt;font-family:Verdana;color:blue;font-weight:bold=
'>  =
;
[ Error-Reporting-Host ]<o:p></o:p></span></font></b></p>
<p class=3DMsoNormal><b><font size=3D2 color=3Dblue face=3DVerdana><span
style=3D'font-size:10.0pt;font-family:Verdana;color:blue;font-weight:bold=
'>  =
;
[ Proxy-Info ]<o:p></o:p></span></font></b></p>
<p class=3DMsoNormal><b><font size=3D2 color=3Dblue face=3DVerdana><span
style=3D'font-size:10.0pt;font-family:Verdana;color:blue;font-weight:bold=
'>  =
;
* [ AVP ]<o:p></o:p></span></font></b></p>
<p class=3DMsoNormal><b><font size=3D2 color=3Dblue face=3DVerdana><span
style=3D'font-size:10.0pt;font-family:Verdana;color:blue;font-weight:bold=
'><o:p> </o:p></span></font></b></p>
<p class=3DMsoNormal><b><font size=3D2 color=3Dblue face=3DVerdana><span
style=3D'font-size:10.0pt;font-family:Verdana;color:blue;font-weight:bold=
'>Regards,<o:p></o:p></span></font></b></p>
<p class=3DMsoNormal><b><font size=3D2 color=3Dblue face=3DVerdana><span
style=3D'font-size:10.0pt;font-family:Verdana;color:blue;font-weight:bold=
'>Paulo Rolo<o:p></o:p></span></font></b></p>
<p class=3DMsoNormal><b><font size=3D2 color=3Dblue face=3DVerdana><span
style=3D'font-size:10.0pt;font-family:Verdana;color:blue;font-weight:bold=
'><o:p> </o:p></span></font></b></p>
<p class=3DMsoNormal><b><font size=3D2 color=3Dblue face=3DVerdana><span
style=3D'font-size:10.0pt;font-family:Verdana;color:blue;font-weight:bold=
'><o:p> </o:p></span></font></b></p>
<p class=3DMsoNormal><b><font size=3D2 color=3Dblue face=3DVerdana><span
style=3D'font-size:10.0pt;font-family:Verdana;color:blue;font-weight:bold=
'><o:p> </o:p></span></font></b></p>
<p class=3DMsoNormal><b><font size=3D2 color=3Dblue face=3DVerdana><span
style=3D'font-size:10.0pt;font-family:Verdana;color:blue;font-weight:bold=
'><o:p> </o:p></span></font></b></p>
<p class=3DMsoNormal><b><font size=3D2 color=3Dblue face=3DVerdana><span
style=3D'font-size:10.0pt;font-family:Verdana;color:blue;font-weight:bold=
'><o:p> </o:p></span></font></b></p>
<p class=3DMsoNormal><b><font size=3D2 color=3Dblue face=3DVerdana><span
style=3D'font-size:10.0pt;font-family:Verdana;color:blue;font-weight:bold=
'><o:p> </o:p></span></font></b></p>
<div>
<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font =
size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>
<hr size=3D2 width=3D"100%" align=3Dcenter tabindex=3D-1>
</span></font></div>
<p class=3DMsoNormal><b><font size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font =
size=3D2
face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma'> =
selina
[mailto:[email protected]] <br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> quinta-feira, 11 de =
Maio de
2006 14:03<br>
<b><span style=3D'font-weight:bold'>To:</span></b> Paulo Rolo<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> RE: [AAA-WG]: =
Diameter
Redirect Behaviour</span></font><o:p></o:p></p>
</div>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p> </o:p></span></font></p>
<div>
<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;
font-family:"Courier New"'>Hi,Paulo:</span></font><o:p></o:p></p>
</div>
<div>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;
font-family:"Courier New"'>Please see my comments in =
line.</span></font><o:p></o:p></p>
</div>
<div>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=3DMsoNormal><font size=3D2 face=3DSimSun><span =
style=3D'font-size:10.0pt;
font-family:SimSun'>></span></font><font size=3D2 face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'> </span></font><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New"'>-----Original
Message-----<br>
</span></font><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;
font-family:"Courier New"'>></span></font><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'> </span></font><strong><b><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier =
New"'>From:</span></font></b></strong><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New"'>
[email protected] [mailto:[email protected]] <b><span
style=3D'font-weight:bold'>On Behalf Of </span></b>Paulo Rolo<br>
></span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New";color:blue'> </span></font><strong><b><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier =
New"'>Sent:</span></font></b></strong><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New"'>
Thursday, May 11, 2006 1:34 AM<br>
></span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New";color:blue'> </span></font><strong><b><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier =
New"'>To:</span></font></b></strong><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New"'>
[email protected]<br>
></span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New";color:blue'> </span></font><strong><b><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier =
New"'>Subject:</span></font></b></strong><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New"'>
[AAA-WG]: Diameter Redirect Behaviour<br>
</span></font><font size=3D2 face=3DSimSun><span =
style=3D'font-size:10.0pt;
font-family:SimSun'>></span></font><font size=3D2 face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'> </span></font><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New"'><br>
> Hello, </span></font><o:p></o:p></p>
</div>
<div>
<p class=3DMsoNormal><font size=3D2 face=3DSimSun><span =
style=3D'font-size:10.0pt;
font-family:SimSun'>></span></font><font size=3D2 face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'> </span></font><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New"'>I
have some questions regarding diameter redirect =
behavior: </span></font><o:p></o:p></p>
</div>
<div>
<p class=3DMsoNormal><font size=3D2 face=3DSimSun><span =
style=3D'font-size:10.0pt;
font-family:SimSun'>></span></font><font size=3D2 face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'> </span></font><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New"'>1)
Redirect reply message should be of the type request or reply? For =
example, if
redirect agent receives an UAR it </span></font><font size=3D2
face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier =
New"'> </span></font><o:p></o:p></p>
</div>
<div>
<p class=3DMsoNormal><font size=3D2 face=3DSimSun><span =
style=3D'font-size:10.0pt;
font-family:SimSun'>></span></font><font size=3D2 face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'> </span></font><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New"'>should
reply with a UAR or with a UAA, performing the redirect =
actions? </span></font><o:p></o:p></p>
</div>
<div>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;
font-family:"Courier New"'>I think redirect reply message should be of =
the type
reply,I mean reply message is the answer message,you can read the
RFC3588,section 6.1.7</span></font><o:p></o:p></p>
</div>
<div>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=3DMsoNormal><font size=3D2 face=3DSimSun><span =
style=3D'font-size:10.0pt;
font-family:SimSun'>></span></font><font size=3D2 face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'> </span></font><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New"'>2)
If Redirect-Host-Usage AVP is used with a value of ALL_USER, how this is
reflected on diameter routing table? As </span></font><font =
size=3D2
face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier =
New"'> </span></font><o:p></o:p></p>
</div>
<div>
<p class=3DMsoNormal><font size=3D2 face=3DSimSun><span =
style=3D'font-size:10.0pt;
font-family:SimSun'>></span></font><font size=3D2 face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'> </span></font><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New"'>routing
table only concerns realms and apps, should this routing entry be cached =
in an
implementation specific table</span></font><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'> </span></font><o:p></o:p></p>
</div>
<div>
<p class=3DMsoNormal><font size=3D2 face=3DSimSun><span =
style=3D'font-size:10.0pt;
font-family:SimSun'>></span></font><font size=3D2 face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'> </span></font><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New"'>and
this table used prior checking diameter routing =
table? </span></font><o:p></o:p></p>
</div>
<div>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;
font-family:"Courier New"'>If the Redirect-Host-Usage AVP's
value is ALL_USER,I think it means all message from any user =
should
be sent to the host specified in the Redirect-Host AVP.This is my
consideration,and how do you think?</span></font><o:p></o:p></p>
</div>
<div>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;
font-family:"Courier New"'>Selina</span></font><o:p></o:p></p>
</div>
<div>
<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;
font-family:"Courier New"'>Thanks</span></font><o:p></o:p></p>
</div>
<div>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=3DMsoNormal><font size=3D2 face=3DSimSun><span =
style=3D'font-size:10.0pt;
font-family:SimSun'>></span></font><font size=3D2 face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'> </span></font><o:p></o:p></p>
</div>
<div>
<p class=3DMsoNormal><font size=3D2 face=3DSimSun><span =
style=3D'font-size:10.0pt;
font-family:SimSun'>></span></font><font size=3D2 face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'> </span></font><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New"'>Thanks
in advance, </span></font><o:p></o:p></p>
</div>
<div>
<p class=3DMsoNormal><font size=3D2 face=3DSimSun><span =
style=3D'font-size:10.0pt;
font-family:SimSun'>></span></font><font size=3D2 face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'> </span></font><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New"'>Paulo
Rolo<o:p></o:p></span></font></p>
</div>
</div>
</body>
</html>
------_=_NextPart_001_01C67834.37DA9259--