M3UA: Message Length
santosh nayak <[email protected]> Thu, 10 Oct 2013 15:10:48 +0530
| Newsgroups | gmane.ietf.sigtran |
|---|---|
| Message-ID | <CAOwWmo1iRu94iAakEGcFLMymaAmtMHTmE+pY5UQttoVHWaFNVQ@mail.gmail.com> |
--===============8732097697204898118== Content-Type: multipart/alternative; boundary=bcaec544f020f4e4d404e85fcb07 --bcaec544f020f4e4d404e85fcb07 Content-Type: text/plain; charset=ISO-8859-1 Hi, We have a situation where message is being rejected at M3UA layer due to buffer length is not equal to message length. What is the significance of Message Length and its importance with padding... in the current issue M3UA peer is sending the data buffer of size 122 bytes to KSCTP. But message length parameter of M3UA common header contains a value of 124 and KSCTP is doing the padding at its level of 2 bytes which is observed from the wireshark traces. Now at DUT message droped with reason (*message length parameter is greater than actual M3UA data buffer size*) Is this expected??? Please comment on this... As per RFC 4666 ------------------------ 3.1.4. Message Length: 32-Bits (Unsigned Integer) The Message Length defines the length of the message in octets, including the Common Header. The Message Length MUST include parameter padding octets, if there are any. * Note: A receiver SHOULD accept the message whether or not the final* * parameter padding is included in the message length.* --------------------- Thanks, Santosh --bcaec544f020f4e4d404e85fcb07 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Hi,<div><br></div><div>We have a situation where message i= s being rejected at M3UA layer due to buffer length is not equal to message= length.=A0</div><div><br></div><div>What is the significance of Message Le= ngth and its importance with padding...</div> <div><br></div><div><span style=3D"font-size:10pt;font-family:Arial,sans-se= rif;color:black">in the current issue M3UA peer is sending the data buffer of size 122 bytes to KSCTP. But message length parameter of M3UA common header contains a value = of 124 and KSCTP is doing the padding at its level of 2 bytes=A0which is obser= ved from the wireshark traces.=A0</span><br></div><div><span style=3D"font-size= :10pt;font-family:Arial,sans-serif;color:black"><br></span></div><div><span= style=3D"font-size:10pt;font-family:Arial,sans-serif;color:black">Now at D= UT message droped with reason=A0</span><span style=3D"font-size:13px;color:= rgb(0,0,0);font-family:Arial,sans-serif">=A0(</span><u style=3D"font-size:1= 3px;color:rgb(0,0,0);font-family:Arial,sans-serif">message length parameter= is greater than actual M3UA data buffer size</u><span style=3D"font-size:1= 3px;color:rgb(0,0,0);font-family:Arial,sans-serif">)=A0</span></div> <div><span style=3D"font-size:13px;color:rgb(0,0,0);font-family:Arial,sans-= serif"><br></span></div><div><span style=3D"font-size:13px;color:rgb(0,0,0)= ;font-family:Arial,sans-serif"><br></span></div><div><span style=3D"font-si= ze:13px;color:rgb(0,0,0);font-family:Arial,sans-serif">Is this expected??? = Please comment on this...</span></div> <div><span style=3D"font-size:13px;color:rgb(0,0,0);font-family:Arial,sans-= serif"><br></span></div><div><span style=3D"font-size:13px;color:rgb(0,0,0)= ;font-family:Arial,sans-serif"><br></span></div><div><span style=3D"font-si= ze:13px;color:rgb(0,0,0);font-family:Arial,sans-serif">As per RFC 4666</spa= n></div> <div><span style=3D"font-size:13px;color:rgb(0,0,0);font-family:Arial,sans-= serif">------------------------</span></div><div><p class=3D""><span style= =3D"font-size:10pt;font-family:Arial,sans-serif;color:black">3.1.4.=A0 Mess= age Length: 32-Bits (Unsigned Integer)</span></p> <p class=3D""><span style=3D"font-size:10pt;font-family:Arial,sans-serif;co= lor:black">=A0</span></p> <p class=3D""><span style=3D"font-size:10pt;font-family:Arial,sans-serif;co= lor:black">=A0=A0 The Message Length defines the length of the message in octets,</span></p> <p class=3D""><span style=3D"font-size:10pt;font-family:Arial,sans-serif;co= lor:black">=A0=A0 including the Common Header.=A0 The Message Length MUST include</span></p> <p class=3D""><span style=3D"font-size:10pt;font-family:Arial,sans-serif;co= lor:black">=A0=A0 parameter padding octets, if there are any.</span></p> <p class=3D""><span style=3D"font-size:10pt;font-family:Arial,sans-serif;co= lor:black">=A0</span></p> <p class=3D""><span style=3D"font-size:10pt;font-family:Arial,sans-serif;co= lor:black"><b>=A0=A0 Note: A receiver SHOULD accept the message whether or not the final</b></span></p> <p class=3D""><span style=3D"font-size:10pt;font-family:Arial,sans-serif;co= lor:black"><b>=A0=A0 parameter padding is included in the message length.</= b></span></p></div><div><span style=3D"font-size:13px;color:rgb(0,0,0);font= -family:Arial,sans-serif">---------------------</span></div> <div><span style=3D"font-size:13px;color:rgb(0,0,0);font-family:Arial,sans-= serif"><br></span></div><div><br></div><div><span style=3D"font-size:13px;c= olor:rgb(0,0,0);font-family:Arial,sans-serif"><br></span></div><div><span s= tyle=3D"font-size:13px;color:rgb(0,0,0);font-family:Arial,sans-serif">Thank= s,</span></div> <div><span style=3D"font-size:13px;color:rgb(0,0,0);font-family:Arial,sans-= serif">Santosh</span></div><div><span style=3D"font-size:13px;color:rgb(0,0= ,0);font-family:Arial,sans-serif"><br></span></div><div><span style=3D"font= -size:13px;color:rgb(0,0,0);font-family:Arial,sans-serif"><br> </span></div></div> --bcaec544f020f4e4d404e85fcb07-- --===============8732097697204898118== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Sigtran mailing list [email protected] https://www.ietf.org/mailman/listinfo/sigtran --===============8732097697204898118==--