Re: Valid Negotiation

Ken Sandars <[email protected]> Fri, 20 Mar 2009 11:44:14 +1100
Newsgroups gmane.ietf.ips
Message-ID <[email protected]>
--===============0805336193==
Content-Type: multipart/alternative;
	boundary="_682ce4dc-258e-414c-861f-a3bd13bf2f96_"

--_682ce4dc-258e-414c-861f-a3bd13bf2f96_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


This sequence is invalid and both parties have issues.

DefaultTime2Retain uses the Minimum function for negotiation=2C
has admissible values 0..3600 and the default is 20 (RFC3720
section 12.16). The initiator's proposal is valid.

The target MUST answer with a value in the range 0..2 since
the proposed value is admissible (also refer RFC3720 section
5.2.2). Hence the answer outside this range is a protocol error.
Alternatively it had the option to use "Reject" if it really wanted
a value outside the proposed range. In that case the default
value (20) becomes the negotiated value.

The initiator is also in error. It should not have re-issued the
KVP. One could wonder as to why it was only willing to accept
a maximum of 2 seconds in its offer but is now happy to use
5 seconds! The correct action is to terminate the login since
the target's response is a protocol error.

Cheers=2C
Ken
Date: Thu=2C 19 Mar 2009 15:29:02 -0500
From: [email protected]
To: [email protected]
Subject: [Ips] Valid Negotiation

Valid Negotiation











I   ->  T :   DefaultTime2Retain=3D2

T  ->  I  :   DefaultTime2Retain=3D5

I  ->  T  :   DefaultTime2Retain=3D5

Is this valid?




_________________________________________________________________
View photos of singles in your area. Click Here
http://a.ninemsn.com.au/b.aspx?URL=3Dhttp%3A%2F%2Fdating%2Eninemsn%2Ecom%2E=
au%2Fchannel%2Findex%2Easpx%3Ftrackingid%3D1046247&_t=3D773166080&_r=3DHotm=
ail_Endtext&_m=3DEXT=

--_682ce4dc-258e-414c-861f-a3bd13bf2f96_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<style>
.hmmessage P
{
margin:0px=3B
padding:0px
}
body.hmmessage
{
font-size: 10pt=3B
font-family:Verdana
}
</style>
</head>
<body class=3D'hmmessage'>
This sequence is invalid and both parties have issues.<br><br>DefaultTime2R=
etain uses the Minimum function for negotiation=2C<br>has admissible values=
 0..3600 and the default is 20 (RFC3720<br>section 12.16). The initiator's =
proposal is valid.<br><br>The target MUST answer with a value in the range =
0..2 since<br>the proposed value is admissible (also refer RFC3720 section<=
br>5.2.2). Hence the answer outside this range is a protocol error.<br>Alte=
rnatively it had the option to use "Reject" if it really wanted<br>a value =
outside the proposed range. In that case the default<br>value (20) becomes =
the negotiated value.<br><br>The initiator is also in error. It should not =
have re-issued the<br>KVP. One could wonder as to why it was only willing t=
o accept<br>a maximum of 2 seconds in its offer but is now happy to use<br>=
5 seconds! The correct action is to terminate the login since<br>the target=
's response is a protocol error.<br><br>Cheers=2C<br>Ken<br><hr id=3D"stopS=
pelling">Date: Thu=2C 19 Mar 2009 15:29:02 -0500<br>From: Jacob_Cherian@Del=
l.com<br>To: [email protected]<br>Subject: [Ips] Valid Negotiation<br><br><title=
>Valid Negotiation</title>











<p dir=3D"ltr"><span lang=3D"en-us"></span><span lang=3D"en-us"><font color=
=3D"#1f497d" face=3D"Calibri">I</font></span><span lang=3D"en-us"></span><s=
pan lang=3D"en-us"><font color=3D"#1f497d" face=3D"Calibri"> &nbsp=3B -&gt=
=3B</font></span><span lang=3D"en-us"></span><span lang=3D"en-us">&nbsp=3B<=
font color=3D"#1f497d" face=3D"Calibri"> T</font></span><span lang=3D"en-us=
"></span><span lang=3D"en-us"><font color=3D"#1f497d" face=3D"Calibri"> : &=
nbsp=3B&nbsp=3BDefaultTime2Retain=3D</font></span><span lang=3D"en-us"></sp=
an><span lang=3D"en-us"><font color=3D"#1f497d" face=3D"Calibri">2</font></=
span><span lang=3D"en-us"></span><span lang=3D"en-us"></span></p>

<p dir=3D"ltr"><span lang=3D"en-us"></span><span lang=3D"en-us"><font color=
=3D"#1f497d" face=3D"Calibri">T</font></span><span lang=3D"en-us"></span><s=
pan lang=3D"en-us"><font color=3D"#1f497d" face=3D"Calibri">&nbsp=3B -&gt=
=3B</font></span><span lang=3D"en-us"></span><span lang=3D"en-us">&nbsp=3B<=
font color=3D"#1f497d" face=3D"Calibri"> I</font></span><span lang=3D"en-us=
"></span><span lang=3D"en-us"><font color=3D"#1f497d" face=3D"Calibri">&nbs=
p=3B&nbsp=3B: &nbsp=3B&nbsp=3BDefaultTime2Retain=3D</font></span><span lang=
=3D"en-us"></span><span lang=3D"en-us"><font color=3D"#1f497d" face=3D"Cali=
bri">5</font></span><span lang=3D"en-us"></span><span lang=3D"en-us"></span=
></p>

<p dir=3D"ltr"><span lang=3D"en-us"></span><span lang=3D"en-us"><font color=
=3D"#1f497d" face=3D"Calibri">I&nbsp=3B -&gt=3B&nbsp=3B T</font></span><spa=
n lang=3D"en-us"></span><span lang=3D"en-us"><font color=3D"#1f497d" face=
=3D"Calibri"></font></span><span lang=3D"en-us"></span><span lang=3D"en-us"=
>&nbsp=3B<font color=3D"#1f497d" face=3D"Calibri"></font></span><span lang=
=3D"en-us"></span><span lang=3D"en-us"> <font color=3D"#1f497d" face=3D"Cal=
ibri">:&nbsp=3B&nbsp=3B DefaultTime2Retain=3D</font></span><span lang=3D"en=
-us"></span><span lang=3D"en-us"><font color=3D"#1f497d" face=3D"Calibri">5=
</font></span><span lang=3D"en-us"></span><span lang=3D"en-us"></span></p>

<p dir=3D"ltr"><span lang=3D"en-us"><font color=3D"#1f497d" face=3D"Calibri=
">Is this valid?</font></span><span lang=3D"en-us"></span><span lang=3D"en-=
us"></span></p>

<p dir=3D"ltr"><span lang=3D"en-us"></span><span lang=3D"en-us"></span><spa=
n lang=3D"en-us"></span></p>

<p dir=3D"ltr"><span lang=3D"en-us"></span></p><br /><hr />Get what you wan=
t at ebay. <a href=3D'http://a.ninemsn.com.au/b.aspx?URL=3Dhttp%3A%2F%2Fdat=
ing%2Eninemsn%2Ecom%2Eau%2Fchannel%2Findex%2Easpx%3Ftrackingid%3D1046247&_t=
=3D773166080&_r=3DHotmail_Endtext&_m=3DEXT' target=3D'_new'>View photos of =
singles in your area</a></body>
</html>=

--_682ce4dc-258e-414c-861f-a3bd13bf2f96_--

--===============0805336193==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Ips mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/ips

--===============0805336193==--