
From santosh.nayak69@gmail.com  Thu Oct 10 02:40:56 2013
Return-Path: <santosh.nayak69@gmail.com>
X-Original-To: sigtran@ietfa.amsl.com
Delivered-To: sigtran@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 87AA221E80EB for <sigtran@ietfa.amsl.com>; Thu, 10 Oct 2013 02:40:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_12=0.6, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id l00+3EpmKKQQ for <sigtran@ietfa.amsl.com>; Thu, 10 Oct 2013 02:40:56 -0700 (PDT)
Received: from mail-pb0-x22c.google.com (mail-pb0-x22c.google.com [IPv6:2607:f8b0:400e:c01::22c]) by ietfa.amsl.com (Postfix) with ESMTP id 82A3B21E8103 for <sigtran@ietf.org>; Thu, 10 Oct 2013 02:40:49 -0700 (PDT)
Received: by mail-pb0-f44.google.com with SMTP id xa7so2290469pbc.31 for <sigtran@ietf.org>; Thu, 10 Oct 2013 02:40:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=SovVUi/+OmFluJBTjK0QrZiJtr0vi2VBHjJNfGlwxv8=; b=GWKTwO4yl+yPxfuzxhQJwOZLgxhdITXWHUgmhfw3apjYzzLGkAUWB5XGSSTbazXtT/ VUr3+dWUXFIpbFyL2r2ciVh+XdAaYeyiGASvWSa9YNl+v3emsPfRcHEugO60jOnbG/g7 097fS6wRVFabMscHQKPH9Aed6mYTKQuUHQI7a/2DpG+Sp0UsUmA5p2XCSaoigXUzFEn2 xZcwpPutiWVMc3fOwf9UlFLtcorvOEA039kzRMuYLhChiDKuCnbPgjsGvdv6H7ghMI78 aZ/0+WrogLewPrgVBcih0Fv3gC7kNV6/8HpKFaCovrPpl9Ie9fIJ/NhQcpdiiga0GlS1 tzYQ==
MIME-Version: 1.0
X-Received: by 10.66.50.131 with SMTP id c3mr14228794pao.111.1381398048201; Thu, 10 Oct 2013 02:40:48 -0700 (PDT)
Received: by 10.68.136.37 with HTTP; Thu, 10 Oct 2013 02:40:48 -0700 (PDT)
Date: Thu, 10 Oct 2013 15:10:48 +0530
Message-ID: <CAOwWmo1iRu94iAakEGcFLMymaAmtMHTmE+pY5UQttoVHWaFNVQ@mail.gmail.com>
From: santosh nayak <santosh.nayak69@gmail.com>
To: sigtran@ietf.org
Content-Type: multipart/alternative; boundary=bcaec544f020f4e4d404e85fcb07
Subject: [Sigtran] M3UA: Message Length
X-BeenThere: sigtran@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Signaling Transport <sigtran.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/sigtran>, <mailto:sigtran-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sigtran>
List-Post: <mailto:sigtran@ietf.org>
List-Help: <mailto:sigtran-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sigtran>, <mailto:sigtran-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 10 Oct 2013 09:40:56 -0000

--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--

From Michael.Tuexen@lurchi.franken.de  Thu Oct 10 05:05:42 2013
Return-Path: <Michael.Tuexen@lurchi.franken.de>
X-Original-To: sigtran@ietfa.amsl.com
Delivered-To: sigtran@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 03C8611E8151 for <sigtran@ietfa.amsl.com>; Thu, 10 Oct 2013 05:05:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.299
X-Spam-Level: 
X-Spam-Status: No, score=-2.299 tagged_above=-999 required=5 tests=[AWL=-0.300, BAYES_00=-2.599, J_CHICKENPOX_12=0.6]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id n6b26JoXVpAj for <sigtran@ietfa.amsl.com>; Thu, 10 Oct 2013 05:05:41 -0700 (PDT)
Received: from mail-n.franken.de (drew.ipv6.franken.de [IPv6:2001:638:a02:a001:20e:cff:fe4a:feaa]) by ietfa.amsl.com (Postfix) with ESMTP id F221021F99DE for <sigtran@ietf.org>; Thu, 10 Oct 2013 05:05:40 -0700 (PDT)
Received: from [192.168.1.101] (p508F0684.dip0.t-ipconnect.de [80.143.6.132]) (Authenticated sender: macmic) by mail-n.franken.de (Postfix) with ESMTP id 6DAF81C0C0693; Thu, 10 Oct 2013 14:05:38 +0200 (CEST)
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\))
From: Michael Tuexen <Michael.Tuexen@lurchi.franken.de>
In-Reply-To: <CAOwWmo1iRu94iAakEGcFLMymaAmtMHTmE+pY5UQttoVHWaFNVQ@mail.gmail.com>
Date: Thu, 10 Oct 2013 14:05:30 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <1448C90C-907A-4DE1-8C0A-85C020E71DD2@lurchi.franken.de>
References: <CAOwWmo1iRu94iAakEGcFLMymaAmtMHTmE+pY5UQttoVHWaFNVQ@mail.gmail.com>
To: santosh nayak <santosh.nayak69@gmail.com>
X-Mailer: Apple Mail (2.1510)
Cc: sigtran@ietf.org
Subject: Re: [Sigtran] M3UA: Message Length
X-BeenThere: sigtran@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Signaling Transport <sigtran.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/sigtran>, <mailto:sigtran-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sigtran>
List-Post: <mailto:sigtran@ietf.org>
List-Help: <mailto:sigtran-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sigtran>, <mailto:sigtran-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 10 Oct 2013 12:05:42 -0000

On Oct 10, 2013, at 11:40 AM, santosh nayak <santosh.nayak69@gmail.com> =
wrote:

> Hi,
>=20
> We have a situation where message is being rejected at M3UA layer due =
to buffer length is not equal to message length.=20
>=20
> What is the significance of Message Length and its importance with =
padding...
>=20
> 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.=20
>=20
> Now at DUT message droped with reason  (message length parameter is =
greater than actual M3UA data buffer size)=20
>=20
>=20
> Is this expected??? Please comment on this...
At least the behaviour of the sender is not expected, since the sender
violates a MUST.

Best regards
Michael
>=20
>=20
> As per RFC 4666
> ------------------------
> 3.1.4.  Message Length: 32-Bits (Unsigned Integer)
>=20
> =20
>    The Message Length defines the length of the message in octets,
>=20
>    including the Common Header.  The Message Length MUST include
>=20
>    parameter padding octets, if there are any.
>=20
> =20
>    Note: A receiver SHOULD accept the message whether or not the final
>=20
>    parameter padding is included in the message length.
>=20
> ---------------------
>=20
>=20
>=20
> Thanks,
> Santosh
>=20
>=20
> _______________________________________________
> Sigtran mailing list
> Sigtran@ietf.org
> https://www.ietf.org/mailman/listinfo/sigtran


From David.Laight@ACULAB.COM  Thu Oct 10 05:28:58 2013
Return-Path: <David.Laight@ACULAB.COM>
X-Original-To: sigtran@ietfa.amsl.com
Delivered-To: sigtran@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BEA0021F9634 for <sigtran@ietfa.amsl.com>; Thu, 10 Oct 2013 05:28:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, J_CHICKENPOX_12=0.6]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DUE-epxLqBnq for <sigtran@ietfa.amsl.com>; Thu, 10 Oct 2013 05:28:51 -0700 (PDT)
Received: from mx0.aculab.com (mx0.aculab.com [213.249.233.131]) by ietfa.amsl.com (Postfix) with SMTP id 6448421E8102 for <sigtran@ietf.org>; Thu, 10 Oct 2013 05:28:49 -0700 (PDT)
Received: (qmail 12301 invoked from network); 10 Oct 2013 12:28:43 -0000
Received: from localhost (127.0.0.1) by mx0.aculab.com with SMTP; 10 Oct 2013 12:28:43 -0000
Received: from mx0.aculab.com ([127.0.0.1]) by localhost (mx0.aculab.com [127.0.0.1]) (amavisd-new, port 10024) with SMTP id 04822-07 for <sigtran@ietf.org>; Thu, 10 Oct 2013 13:28:42 +0100 (BST)
Received: (qmail 12284 invoked by uid 599); 10 Oct 2013 12:28:42 -0000
Received: from unknown (HELO saturn3.Aculab.com) (10.202.163.5) by mx0.aculab.com (qpsmtpd/0.28) with ESMTP; Thu, 10 Oct 2013 13:28:42 +0100
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
Date: Thu, 10 Oct 2013 13:27:11 +0100
Message-ID: <AE90C24D6B3A694183C094C60CF0A2F6026B7388@saturn3.aculab.com>
In-Reply-To: <1448C90C-907A-4DE1-8C0A-85C020E71DD2@lurchi.franken.de>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Sigtran] M3UA: Message Length
Thread-Index: Ac7FsOBT4fBhZRs+SNWW41T+Ubb3aAAAb1jA
References: <CAOwWmo1iRu94iAakEGcFLMymaAmtMHTmE+pY5UQttoVHWaFNVQ@mail.gmail.com> <1448C90C-907A-4DE1-8C0A-85C020E71DD2@lurchi.franken.de>
From: "David Laight" <David.Laight@ACULAB.COM>
To: "Michael Tuexen" <Michael.Tuexen@lurchi.franken.de>, "santosh nayak" <santosh.nayak69@gmail.com>
X-Virus-Scanned: by iCritical at mx0.aculab.com
Cc: sigtran@ietf.org
Subject: Re: [Sigtran] M3UA: Message Length
X-BeenThere: sigtran@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Signaling Transport <sigtran.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/sigtran>, <mailto:sigtran-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sigtran>
List-Post: <mailto:sigtran@ietf.org>
List-Help: <mailto:sigtran-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sigtran>, <mailto:sigtran-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 10 Oct 2013 12:28:58 -0000

> From: sigtran-bounces@ietf.org [mailto:sigtran-bounces@ietf.org] On =
Behalf Of Michael Tuexen
> On Oct 10, 2013, at 11:40 AM, santosh nayak =
<santosh.nayak69@gmail.com> wrote:
>=20
> > 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.

Are you sure that pad isn't just from SCTP aligning it's chunks?

> > 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...
>
> At least the behaviour of the sender is not expected, since the sender
> violates a MUST.

I'm not sure what the note in section 3.1.4 is trying to allow, but
I think the message you are describing is definitely illegal.

I believe that the overall length in the 'common' header should always
match that of the SCTP data chunk.
This allows M3UA data to be separated into messages when sent using =
(say)
TCP rather than SCTP.

I suspect the note allows an implementation to add the pad (following a
parameter) when it adds a new one, rather than when it adds a parameter
that isn't a multiple of 4 bytes.

In any case I'd change your sending end.

	David




From David.Laight@ACULAB.COM  Mon Oct 14 02:25:03 2013
Return-Path: <David.Laight@ACULAB.COM>
X-Original-To: sigtran@ietfa.amsl.com
Delivered-To: sigtran@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EF79821E8161 for <sigtran@ietfa.amsl.com>; Mon, 14 Oct 2013 02:24:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.156
X-Spam-Level: 
X-Spam-Status: No, score=0.156 tagged_above=-999 required=5 tests=[AWL=-2.155,  BAYES_40=-0.185, HTML_MESSAGE=0.001, J_CHICKENPOX_12=0.6, MIME_BAD_LINEBREAK=0.5, MIME_QP_LONG_LINE=1.396]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id og23WKBahHtA for <sigtran@ietfa.amsl.com>; Mon, 14 Oct 2013 02:24:47 -0700 (PDT)
Received: from mx0.aculab.com (mx0.aculab.com [213.249.233.131]) by ietfa.amsl.com (Postfix) with SMTP id 5513621E8155 for <sigtran@ietf.org>; Mon, 14 Oct 2013 02:23:03 -0700 (PDT)
Received: (qmail 19183 invoked from network); 14 Oct 2013 09:22:28 -0000
Received: from localhost (127.0.0.1) by mx0.aculab.com with SMTP; 14 Oct 2013 09:22:28 -0000
Received: from mx0.aculab.com ([127.0.0.1]) by localhost (mx0.aculab.com [127.0.0.1]) (amavisd-new, port 10024) with SMTP id 17451-02 for <sigtran@ietf.org>; Mon, 14 Oct 2013 10:22:25 +0100 (BST)
Received: (qmail 19148 invoked by uid 599); 14 Oct 2013 09:22:24 -0000
Received: from unknown (HELO saturn3.Aculab.com) (10.202.163.5) by mx0.aculab.com (qpsmtpd/0.28) with ESMTP; Mon, 14 Oct 2013 10:22:24 +0100
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CEC8BE.9F9E5EA7"
Date: Mon, 14 Oct 2013 10:20:28 +0100
Message-ID: <AE90C24D6B3A694183C094C60CF0A2F6026B738A@saturn3.aculab.com>
In-Reply-To: <CAOwWmo3uoAd+0jODki3x0W-q1av0jt8BEkMZr8Y_4haLgi2KOA@mail.gmail.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Sigtran] M3UA: Message Length
Thread-Index: Ac7ImDeKle/U8to2R864pzU+4LfuFQAJVniA
References: <CAOwWmo1iRu94iAakEGcFLMymaAmtMHTmE+pY5UQttoVHWaFNVQ@mail.gmail.com><1448C90C-907A-4DE1-8C0A-85C020E71DD2@lurchi.franken.de><AE90C24D6B3A694183C094C60CF0A2F6026B7388@saturn3.aculab.com> <CAOwWmo3uoAd+0jODki3x0W-q1av0jt8BEkMZr8Y_4haLgi2KOA@mail.gmail.com>
From: "David Laight" <David.Laight@ACULAB.COM>
To: "santosh nayak" <santosh.nayak69@gmail.com>
X-Virus-Scanned: by iCritical at mx0.aculab.com
Cc: sigtran@ietf.org
Subject: Re: [Sigtran] M3UA: Message Length
X-BeenThere: sigtran@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Signaling Transport <sigtran.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/sigtran>, <mailto:sigtran-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sigtran>
List-Post: <mailto:sigtran@ietf.org>
List-Help: <mailto:sigtran-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sigtran>, <mailto:sigtran-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Oct 2013 09:25:04 -0000

This is a multi-part message in MIME format.

------_=_NextPart_001_01CEC8BE.9F9E5EA7
Content-Type: text/plain;
	charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

I=92ve NFI what you used to take that trace =96 Wireshark will only give =
me a hexdump.

Anyway the packet decodes as:

=20

Pad, MAC addresses, ethertype

0000  00 00 00 01 00 06 00 1a  30 2b 4b c0 00 00 08 00

IP header

0010  45 02 00 ac 13 31 00 00  fe 84 3f ca 0a 3a 70 c8

0020  0a 3a e3 94

SCTP

      ports: 0f 53 0f 59

      tag:   49 33 5f c5

      cksum: 7f 3e b6 8d

0030  chunk type: 00

      flags:      03

      length:     00 8a

      TSN:        da 58 6c 93

      Stream id:  00 01

      Stream-seq: 00 08

      Payload-id: 00 00 00 03

=20

M3UA data, length 0x7c

0040  01 00 01 01 00 00 00 7c

            02 00 00 08

                  00 00 00 02

0050        00 06 00 08

                  00 00 00 08

            02 10 00 62

                  00 00 0b ba

0060              00 00 13 8b 03 03 01 00  11 01 03 04 08 0c 45 04

0070              43 8b 13 07 04 43 ba 0b  07 39 00 00 00 00 00 00

0080              00 00 00 00 00 00 00 00  00 00 00 00 00 00 04 04

0090              04 04 04 04 04 04 04 04  04 04 04 04 04 04 04 04

00a0              04 04 04 04 04 04 04 04  04 04 04 04 04 04 04 04

00b0              04 04 04 10 04 40 00 00  00 00

=20

Inter-chunk pad: 00 00

=20

The problem is that the length of the M3UA message (0x7c)  is larger =
than the payload

part of the SCTP message (0x8a =96 0x10 =3D 0x7a).

The RFC might let you send that if the M3UA length were 0x7a, but I know =
that

all implementations will not be able to receive such messages =96 so it =
is best not

to send them.

=20

                David

=20

=20

From: santosh nayak [mailto:santosh.nayak69@gmail.com]=20
Sent: 14 October 2013 05:47
To: David Laight
Subject: Re: [Sigtran] M3UA: Message Length

=20

Hi,

=20

Thanks for the response...

=20

I am attaching the pcap... packet number 85

Could you explain what MUST is violated???

=20

Thanks,

Santosh

=20

=20

On Thu, Oct 10, 2013 at 5:57 PM, David Laight <David.Laight@aculab.com> =
wrote:

> From: sigtran-bounces@ietf.org [mailto:sigtran-bounces@ietf.org] On =
Behalf Of Michael Tuexen

> On Oct 10, 2013, at 11:40 AM, santosh nayak =
<santosh.nayak69@gmail.com> wrote:
>
> > 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.

Are you sure that pad isn't just from SCTP aligning it's chunks?


> > 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...
>
> At least the behaviour of the sender is not expected, since the sender
> violates a MUST.

I'm not sure what the note in section 3.1.4 is trying to allow, but
I think the message you are describing is definitely illegal.

I believe that the overall length in the 'common' header should always
match that of the SCTP data chunk.
This allows M3UA data to be separated into messages when sent using =
(say)
TCP rather than SCTP.

I suspect the note allows an implementation to add the pad (following a
parameter) when it adds a new one, rather than when it adds a parameter
that isn't a multiple of 4 bytes.

In any case I'd change your sending end.

        David




=20


=0D=0A
=0D=
------_=_NextPart_001_01CEC8BE.9F9E5EA7
Content-Type: text/html;
	charset="Windows-1252"
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:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta =
http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dwindows-1252"><meta name=3DGenerator content=3D"Microsoft Word =
12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:"Lucida Console";
	panose-1:2 11 6 9 4 5 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.hoenzb
	{mso-style-name:hoenzb;}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-GB link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>I=92ve NFI what you used to take that trace =96 Wireshark will only =
give me a hexdump.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Anyway the packet decodes as:<o:p></o:p></span></p><p =
class=3DMsoNormal style=3D'text-autospace:none'><span =
style=3D'font-size:9.0pt;font-family:"Lucida =
Console"'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal =
style=3D'text-autospace:none'><span =
style=3D'font-size:9.0pt;font-family:"Lucida Console"'>Pad, MAC =
addresses, ethertype<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'text-autospace:none'><span =
style=3D'font-size:9.0pt;font-family:"Lucida Console"'>0000=A0 00 00 00 =
01 00 06 00 1a=A0 30 2b 4b c0 00 00 08 00<o:p></o:p></span></p><p =
class=3DMsoNormal style=3D'text-autospace:none'><span =
style=3D'font-size:9.0pt;font-family:"Lucida Console"'>IP =
header<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'text-autospace:none'><span =
style=3D'font-size:9.0pt;font-family:"Lucida Console"'>0010=A0 45 02 00 =
ac 13 31 00 00=A0 fe 84 3f ca 0a 3a 70 c8<o:p></o:p></span></p><p =
class=3DMsoNormal style=3D'text-autospace:none'><span =
style=3D'font-size:9.0pt;font-family:"Lucida Console"'>0020=A0 0a 3a e3 =
94<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'text-autospace:none'><span =
style=3D'font-size:9.0pt;font-family:"Lucida =
Console"'>SCTP<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'text-autospace:none'><span =
style=3D'font-size:9.0pt;font-family:"Lucida Console"'>=A0=A0=A0=A0=A0 =
ports: 0f 53 0f 59<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'text-autospace:none'><span =
style=3D'font-size:9.0pt;font-family:"Lucida Console"'>=A0=A0=A0=A0=A0 =
tag:=A0=A0 49 33 5f c5<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'text-autospace:none'><span =
style=3D'font-size:9.0pt;font-family:"Lucida Console"'>=A0=A0=A0=A0=A0 =
cksum: 7f 3e b6 8d<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'text-autospace:none'><span =
style=3D'font-size:9.0pt;font-family:"Lucida Console"'>0030=A0 chunk =
type: 00<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'text-autospace:none'><span =
style=3D'font-size:9.0pt;font-family:"Lucida Console"'>=A0=A0=A0=A0=A0 =
flags:=A0=A0=A0=A0=A0 03<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'text-autospace:none'><span =
style=3D'font-size:9.0pt;font-family:"Lucida Console"'>=A0=A0=A0=A0=A0 =
length:=A0=A0=A0=A0 00 8a<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'text-autospace:none'><span =
style=3D'font-size:9.0pt;font-family:"Lucida Console"'>=A0=A0=A0=A0=A0 =
TSN:=A0=A0=A0=A0=A0=A0=A0 da 58 6c 93<o:p></o:p></span></p><p =
class=3DMsoNormal style=3D'text-autospace:none'><span =
style=3D'font-size:9.0pt;font-family:"Lucida Console"'>=A0=A0=A0=A0=A0 =
Stream id:=A0 00 01<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'text-autospace:none'><span =
style=3D'font-size:9.0pt;font-family:"Lucida Console"'>=A0=A0=A0=A0=A0 =
Stream-seq: 00 08<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'text-autospace:none'><span =
style=3D'font-size:9.0pt;font-family:"Lucida Console"'>=A0=A0=A0=A0=A0 =
Payload-id: 00 00 00 03<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'text-autospace:none'><span =
style=3D'font-size:9.0pt;font-family:"Lucida =
Console"'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal =
style=3D'text-autospace:none'><span =
style=3D'font-size:9.0pt;font-family:"Lucida Console"'>M3UA data, length =
0x7c<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'text-autospace:none'><span =
style=3D'font-size:9.0pt;font-family:"Lucida Console"'>0040=A0 01 00 01 =
01 00 00 00 7c<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'text-autospace:none'><span =
style=3D'font-size:9.0pt;font-family:"Lucida =
Console"'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 02 00 00 =
08<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'text-autospace:none'><span =
style=3D'font-size:9.0pt;font-family:"Lucida =
Console"'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 00 00 00 =
02<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'text-autospace:none'><span =
style=3D'font-size:9.0pt;font-family:"Lucida =
Console"'>0050=A0=A0=A0=A0=A0=A0=A0 00 06 00 08<o:p></o:p></span></p><p =
class=3DMsoNormal style=3D'text-autospace:none'><span =
style=3D'font-size:9.0pt;font-family:"Lucida =
Console"'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 00 00 00 =
08<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'text-autospace:none'><span =
style=3D'font-size:9.0pt;font-family:"Lucida =
Console"'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 02 10 00 =
62<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'text-autospace:none'><span =
style=3D'font-size:9.0pt;font-family:"Lucida =
Console"'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 00 00 0b =
ba<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'text-autospace:none'><span =
style=3D'font-size:9.0pt;font-family:"Lucida =
Console"'>0060=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 00 00 13 8b 03 03 =
01 00=A0 11 01 03 04 08 0c 45 04<o:p></o:p></span></p><p =
class=3DMsoNormal style=3D'text-autospace:none'><span =
style=3D'font-size:9.0pt;font-family:"Lucida =
Console"'>0070=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 43 8b 13 07 04 43 =
ba 0b=A0 07 39 00 00 00 00 00 00<o:p></o:p></span></p><p =
class=3DMsoNormal style=3D'text-autospace:none'><span =
style=3D'font-size:9.0pt;font-family:"Lucida =
Console"'>0080=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 00 00 00 00 00 00 =
00 00=A0 00 00 00 00 00 00 04 04<o:p></o:p></span></p><p =
class=3DMsoNormal style=3D'text-autospace:none'><span =
style=3D'font-size:9.0pt;font-family:"Lucida =
Console"'>0090=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 04 04 04 04 04 04 =
04 04=A0 04 04 04 04 04 04 04 04<o:p></o:p></span></p><p =
class=3DMsoNormal style=3D'text-autospace:none'><span =
style=3D'font-size:9.0pt;font-family:"Lucida =
Console"'>00a0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 04 04 04 04 04 04 =
04 04=A0 04 04 04 04 04 04 04 04<o:p></o:p></span></p><p =
class=3DMsoNormal style=3D'text-autospace:none'><span =
style=3D'font-size:9.0pt;font-family:"Lucida =
Console"'>00b0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 04 04 04 10 04 40 =
00 00=A0 00 00<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'text-autospace:none'><span =
style=3D'font-size:9.0pt;font-family:"Lucida =
Console"'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal =
style=3D'text-autospace:none'><span =
style=3D'font-size:9.0pt;font-family:"Lucida Console"'>Inter-chunk pad: =
00 00<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>The problem is that the length of the M3UA message (0x7c)=A0 is =
larger than the payload<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>part of the SCTP message (0x8a =96 0x10 =3D =
0x7a).<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>The RFC might let you send that if the M3UA length were 0x7a, but I =
know that<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>all implementations will not be able to receive such messages =96 so =
it is best not<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>to send them.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =
David<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><div =
style=3D'border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm =
4.0pt'><div><div style=3D'border:none;border-top:solid #B5C4DF =
1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=3DMsoNormal><b><span =
lang=3DEN-US =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>=
</b><span lang=3DEN-US =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> santosh =
nayak [mailto:santosh.nayak69@gmail.com] <br><b>Sent:</b> 14 October =
2013 05:47<br><b>To:</b> David Laight<br><b>Subject:</b> Re: [Sigtran] =
M3UA: Message Length<o:p></o:p></span></p></div></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><div><p =
class=3DMsoNormal>Hi,<o:p></o:p></p><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p =
class=3DMsoNormal>Thanks for the response...<o:p></o:p></p></div><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=3DMsoNormal>I =
am attaching the pcap... packet number 85<o:p></o:p></p></div><div><p =
class=3DMsoNormal>Could you explain what MUST is =
violated???<o:p></o:p></p></div><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p =
class=3DMsoNormal>Thanks,<o:p></o:p></p></div><div><p =
class=3DMsoNormal>Santosh<o:p></o:p></p></div><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div></div><div><p =
class=3DMsoNormal =
style=3D'margin-bottom:12.0pt'><o:p>&nbsp;</o:p></p><div><p =
class=3DMsoNormal>On Thu, Oct 10, 2013 at 5:57 PM, David Laight &lt;<a =
href=3D"mailto:David.Laight@aculab.com" =
target=3D"_blank">David.Laight@aculab.com</a>&gt; =
wrote:<o:p></o:p></p><p class=3DMsoNormal>&gt; From: <a =
href=3D"mailto:sigtran-bounces@ietf.org">sigtran-bounces@ietf.org</a> =
[mailto:<a =
href=3D"mailto:sigtran-bounces@ietf.org">sigtran-bounces@ietf.org</a>] =
On Behalf Of Michael Tuexen<o:p></o:p></p><div><p class=3DMsoNormal =
style=3D'margin-bottom:12.0pt'>&gt; On Oct 10, 2013, at 11:40 AM, =
santosh nayak &lt;<a =
href=3D"mailto:santosh.nayak69@gmail.com">santosh.nayak69@gmail.com</a>&g=
t; wrote:<br>&gt;<br>&gt; &gt; Hi,<br>&gt; &gt;<br>&gt; &gt; We have a =
situation where message is being rejected at M3UA layer due to<br>&gt; =
&gt; buffer length is not equal to message length.<br>&gt; &gt;<br>&gt; =
&gt; What is the significance of Message Length and its importance with =
padding...<br>&gt; &gt;<br>&gt; &gt; in the current issue M3UA peer is =
sending the data buffer of size 122 bytes<br>&gt; &gt; to KSCTP. But =
message length parameter of M3UA common header contains a value<br>&gt; =
&gt; of 124 and KSCTP is doing the padding at its level of 2 bytes which =
is<br>&gt; &gt; observed from the wireshark =
traces.<o:p></o:p></p></div><p class=3DMsoNormal>Are you sure that pad =
isn't just from SCTP aligning it's chunks?<o:p></o:p></p><div><p =
class=3DMsoNormal style=3D'margin-bottom:12.0pt'><br>&gt; &gt; Now at =
DUT message droped with reason &nbsp;(message length parameter is =
greater<br>&gt; &gt; than actual M3UA data buffer size)<br>&gt; =
&gt;<br>&gt; &gt; Is this expected??? Please comment on =
this...<br>&gt;<br>&gt; At least the behaviour of the sender is not =
expected, since the sender<br>&gt; violates a =
MUST.<o:p></o:p></p></div><p class=3DMsoNormal =
style=3D'margin-bottom:12.0pt'>I'm not sure what the note in section =
3.1.4 is trying to allow, but<br>I think the message you are describing =
is definitely illegal.<br><br>I believe that the overall length in the =
'common' header should always<br>match that of the SCTP data =
chunk.<br>This allows M3UA data to be separated into messages when sent =
using (say)<br>TCP rather than SCTP.<br><br>I suspect the note allows an =
implementation to add the pad (following a<br>parameter) when it adds a =
new one, rather than when it adds a parameter<br>that isn't a multiple =
of 4 bytes.<br><br>In any case I'd change your sending end.<br><span =
style=3D'color:#888888'><br><span class=3Dhoenzb>&nbsp; &nbsp; &nbsp; =
&nbsp; David</span><br><br><br></span><o:p></o:p></p></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div></div></div>
<br>=
<FONT face=3DTahoma color=3D#484830 size=3D2></FONT>=0D=0A
<DIV><FONT face=3DTahoma color=3D#484830 size=3D1>Registered Address Lakeside, Br=
amley Road, Mount Farm, Milton Keynes, MK1 1PT, UK<BR>Registration No: 13973=
86 (Wales)</FONT></DIV>=0D=0A
<DIV><FONT face=3DArial color=3D#008000 size=3D2><FONT face=3DWebdings size=3D5>=0D=0A
<P align=3Dcenter><FONT face=3DArial color=3D#008000><FONT size=3D1><FONT face=3DWebd=
ings>P<STRONG> </STRONG></FONT><STRONG>Please consider the environment and d=
on't print this e-mail unless you really need to</STRONG></FONT></FONT></P><=
/FONT></FONT></DIV>
<br>=
</body></html>
------_=_NextPart_001_01CEC8BE.9F9E5EA7--

From ravi.saxena@hp.com  Fri Oct 25 05:35:41 2013
Return-Path: <ravi.saxena@hp.com>
X-Original-To: sigtran@ietfa.amsl.com
Delivered-To: sigtran@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8E67611E83E1 for <sigtran@ietfa.amsl.com>; Fri, 25 Oct 2013 05:35:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.509
X-Spam-Level: 
X-Spam-Status: No, score=-8.509 tagged_above=-999 required=5 tests=[BAYES_05=-1.11, HTML_MESSAGE=0.001, J_CHICKENPOX_12=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bN0r7DjqOlAj for <sigtran@ietfa.amsl.com>; Fri, 25 Oct 2013 05:35:20 -0700 (PDT)
Received: from g4t0014.houston.hp.com (g4t0014.houston.hp.com [15.201.24.17]) by ietfa.amsl.com (Postfix) with ESMTP id 5B12B11E83C1 for <sigtran@ietf.org>; Fri, 25 Oct 2013 05:35:13 -0700 (PDT)
Received: from G4W6310.americas.hpqcorp.net (g4w6310.houston.hp.com [16.210.26.217]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by g4t0014.houston.hp.com (Postfix) with ESMTPS id 853BB24018; Fri, 25 Oct 2013 12:35:12 +0000 (UTC)
Received: from G4W6303.americas.hpqcorp.net (16.210.26.228) by G4W6310.americas.hpqcorp.net (16.210.26.217) with Microsoft SMTP Server (TLS) id 14.3.123.3; Fri, 25 Oct 2013 12:34:17 +0000
Received: from G4W3210.americas.hpqcorp.net ([169.254.6.236]) by G4W6303.americas.hpqcorp.net ([16.210.26.228]) with mapi id 14.03.0123.003; Fri, 25 Oct 2013 12:34:17 +0000
From: "Saxena, Ravi (CMS)" <ravi.saxena@hp.com>
To: David Laight <David.Laight@ACULAB.COM>, santosh nayak <santosh.nayak69@gmail.com>
Thread-Topic: [Sigtran] M3UA: Message Length
Thread-Index: Ac7ImDeKle/U8to2R864pzU+4LfuFQAJVniAAjAJIVA=
Date: Fri, 25 Oct 2013 12:34:15 +0000
Message-ID: <5D6AD1992F280C46BA6A4931CE2F015208E73E21@G4W3210.americas.hpqcorp.net>
References: <CAOwWmo1iRu94iAakEGcFLMymaAmtMHTmE+pY5UQttoVHWaFNVQ@mail.gmail.com><1448C90C-907A-4DE1-8C0A-85C020E71DD2@lurchi.franken.de><AE90C24D6B3A694183C094C60CF0A2F6026B7388@saturn3.aculab.com> <CAOwWmo3uoAd+0jODki3x0W-q1av0jt8BEkMZr8Y_4haLgi2KOA@mail.gmail.com> <AE90C24D6B3A694183C094C60CF0A2F6026B738A@saturn3.aculab.com>
In-Reply-To: <AE90C24D6B3A694183C094C60CF0A2F6026B738A@saturn3.aculab.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [16.210.48.29]
Content-Type: multipart/alternative; boundary="_000_5D6AD1992F280C46BA6A4931CE2F015208E73E21G4W3210americas_"
MIME-Version: 1.0
Cc: "sigtran@ietf.org" <sigtran@ietf.org>
Subject: Re: [Sigtran] M3UA: Message Length
X-BeenThere: sigtran@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Signaling Transport <sigtran.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/sigtran>, <mailto:sigtran-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sigtran>
List-Post: <mailto:sigtran@ietf.org>
List-Help: <mailto:sigtran-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sigtran>, <mailto:sigtran-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 25 Oct 2013 12:35:42 -0000

--_000_5D6AD1992F280C46BA6A4931CE2F015208E73E21G4W3210americas_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Message should be discarded, if the length mentioned in the message doesn't=
 match with the received buffer.
We have always seen this behavior.

Regards,
Ravi Saxena


From: sigtran-bounces@ietf.org [mailto:sigtran-bounces@ietf.org] On Behalf =
Of David Laight
Sent: Monday, October 14, 2013 2:50 PM
To: santosh nayak
Cc: sigtran@ietf.org
Subject: Re: [Sigtran] M3UA: Message Length

I've NFI what you used to take that trace - Wireshark will only give me a h=
exdump.
Anyway the packet decodes as:

Pad, MAC addresses, ethertype
0000  00 00 00 01 00 06 00 1a  30 2b 4b c0 00 00 08 00
IP header
0010  45 02 00 ac 13 31 00 00  fe 84 3f ca 0a 3a 70 c8
0020  0a 3a e3 94
SCTP
      ports: 0f 53 0f 59
      tag:   49 33 5f c5
      cksum: 7f 3e b6 8d
0030  chunk type: 00
      flags:      03
      length:     00 8a
      TSN:        da 58 6c 93
      Stream id:  00 01
      Stream-seq: 00 08
      Payload-id: 00 00 00 03

M3UA data, length 0x7c
0040  01 00 01 01 00 00 00 7c
            02 00 00 08
                  00 00 00 02
0050        00 06 00 08
                  00 00 00 08
            02 10 00 62
                  00 00 0b ba
0060              00 00 13 8b 03 03 01 00  11 01 03 04 08 0c 45 04
0070              43 8b 13 07 04 43 ba 0b  07 39 00 00 00 00 00 00
0080              00 00 00 00 00 00 00 00  00 00 00 00 00 00 04 04
0090              04 04 04 04 04 04 04 04  04 04 04 04 04 04 04 04
00a0              04 04 04 04 04 04 04 04  04 04 04 04 04 04 04 04
00b0              04 04 04 10 04 40 00 00  00 00

Inter-chunk pad: 00 00

The problem is that the length of the M3UA message (0x7c)  is larger than t=
he payload
part of the SCTP message (0x8a - 0x10 =3D 0x7a).
The RFC might let you send that if the M3UA length were 0x7a, but I know th=
at
all implementations will not be able to receive such messages - so it is be=
st not
to send them.

                David


From: santosh nayak [mailto:santosh.nayak69@gmail.com]
Sent: 14 October 2013 05:47
To: David Laight
Subject: Re: [Sigtran] M3UA: Message Length

Hi,

Thanks for the response...

I am attaching the pcap... packet number 85
Could you explain what MUST is violated???

Thanks,
Santosh


On Thu, Oct 10, 2013 at 5:57 PM, David Laight <David.Laight@aculab.com<mail=
to:David.Laight@aculab.com>> wrote:
> From: sigtran-bounces@ietf.org<mailto:sigtran-bounces@ietf.org> [mailto:s=
igtran-bounces@ietf.org<mailto:sigtran-bounces@ietf.org>] On Behalf Of Mich=
ael Tuexen
> On Oct 10, 2013, at 11:40 AM, santosh nayak <santosh.nayak69@gmail.com<ma=
ilto:santosh.nayak69@gmail.com>> wrote:
>
> > Hi,
> >
> > We have a situation where message is being rejected at M3UA layer due t=
o
> > buffer length is not equal to message length.
> >
> > What is the significance of Message Length and its importance with padd=
ing...
> >
> > in the current issue M3UA peer is sending the data buffer of size 122 b=
ytes
> > 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.
Are you sure that pad isn't just from SCTP aligning it's chunks?

> > Now at DUT message droped with reason  (message length parameter is gre=
ater
> > than actual M3UA data buffer size)
> >
> > Is this expected??? Please comment on this...
>
> At least the behaviour of the sender is not expected, since the sender
> violates a MUST.
I'm not sure what the note in section 3.1.4 is trying to allow, but
I think the message you are describing is definitely illegal.

I believe that the overall length in the 'common' header should always
match that of the SCTP data chunk.
This allows M3UA data to be separated into messages when sent using (say)
TCP rather than SCTP.

I suspect the note allows an implementation to add the pad (following a
parameter) when it adds a new one, rather than when it adds a parameter
that isn't a multiple of 4 bytes.

In any case I'd change your sending end.

        David



Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1=
PT, UK
Registration No: 1397386 (Wales)

P Please consider the environment and don't print this e-mail unless you re=
ally need to


--_000_5D6AD1992F280C46BA6A4931CE2F015208E73E21G4W3210americas_
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-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:"Lucida Console";
	panose-1:2 11 6 9 4 5 4 2 2 4;}
@font-face
	{font-family:Webdings;
	panose-1:5 3 1 2 1 5 9 6 7 3;}
@font-face
	{font-family:"Footlight MT Light";
	panose-1:2 4 6 2 6 3 10 2 3 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p
	{mso-style-priority:99;
	mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.hoenzb
	{mso-style-name:hoenzb;}
span.EmailStyle18
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle21
	{mso-style-type:personal-reply;
	font-family:"Footlight MT Light","serif";
	color:blue;
	font-weight:normal;
	font-style:normal;}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Footlight MT Light&=
quot;,&quot;serif&quot;;color:blue">Message should be discarded, if the len=
gth mentioned in the message doesn&#8217;t match with the received buffer.<=
o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Footlight MT Light&=
quot;,&quot;serif&quot;;color:blue">We have always seen this behavior.<o:p>=
</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Footlight MT Light&=
quot;,&quot;serif&quot;;color:blue"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Footlight MT Light&=
quot;,&quot;serif&quot;;color:blue">Regards,<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Footlight MT Light&=
quot;,&quot;serif&quot;;color:blue">Ravi Saxena<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Footlight MT Light&=
quot;,&quot;serif&quot;;color:blue"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Footlight MT Light&=
quot;,&quot;serif&quot;;color:blue"><o:p>&nbsp;</o:p></span></p>
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> sigtran-=
bounces@ietf.org [mailto:sigtran-bounces@ietf.org]
<b>On Behalf Of </b>David Laight<br>
<b>Sent:</b> Monday, October 14, 2013 2:50 PM<br>
<b>To:</b> santosh nayak<br>
<b>Cc:</b> sigtran@ietf.org<br>
<b>Subject:</b> Re: [Sigtran] M3UA: Message Length<o:p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><span lang=3D"EN-GB" style=3D"font-size:11.0pt;font-=
family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">I&#8217;ve=
 NFI what you used to take that trace &#8211; Wireshark will only give me a=
 hexdump.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-GB" style=3D"font-size:11.0pt;font-=
family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Anyway the=
 packet decodes as:<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"text-autospace:none"><span lang=3D"EN-GB" s=
tyle=3D"font-size:9.0pt;font-family:&quot;Lucida Console&quot;"><o:p>&nbsp;=
</o:p></span></p>
<p class=3D"MsoNormal" style=3D"text-autospace:none"><span lang=3D"EN-GB" s=
tyle=3D"font-size:9.0pt;font-family:&quot;Lucida Console&quot;">Pad, MAC ad=
dresses, ethertype<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"text-autospace:none"><span lang=3D"EN-GB" s=
tyle=3D"font-size:9.0pt;font-family:&quot;Lucida Console&quot;">0000&nbsp; =
00 00 00 01 00 06 00 1a&nbsp; 30 2b 4b c0 00 00 08 00<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"text-autospace:none"><span lang=3D"EN-GB" s=
tyle=3D"font-size:9.0pt;font-family:&quot;Lucida Console&quot;">IP header<o=
:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"text-autospace:none"><span lang=3D"EN-GB" s=
tyle=3D"font-size:9.0pt;font-family:&quot;Lucida Console&quot;">0010&nbsp; =
45 02 00 ac 13 31 00 00&nbsp; fe 84 3f ca 0a 3a 70 c8<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"text-autospace:none"><span lang=3D"EN-GB" s=
tyle=3D"font-size:9.0pt;font-family:&quot;Lucida Console&quot;">0020&nbsp; =
0a 3a e3 94<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"text-autospace:none"><span lang=3D"EN-GB" s=
tyle=3D"font-size:9.0pt;font-family:&quot;Lucida Console&quot;">SCTP<o:p></=
o:p></span></p>
<p class=3D"MsoNormal" style=3D"text-autospace:none"><span lang=3D"EN-GB" s=
tyle=3D"font-size:9.0pt;font-family:&quot;Lucida Console&quot;">&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp; ports: 0f 53 0f 59<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"text-autospace:none"><span lang=3D"EN-GB" s=
tyle=3D"font-size:9.0pt;font-family:&quot;Lucida Console&quot;">&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp; tag:&nbsp;&nbsp; 49 33 5f c5<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"text-autospace:none"><span lang=3D"EN-GB" s=
tyle=3D"font-size:9.0pt;font-family:&quot;Lucida Console&quot;">&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp; cksum: 7f 3e b6 8d<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"text-autospace:none"><span lang=3D"EN-GB" s=
tyle=3D"font-size:9.0pt;font-family:&quot;Lucida Console&quot;">0030&nbsp; =
chunk type: 00<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"text-autospace:none"><span lang=3D"EN-GB" s=
tyle=3D"font-size:9.0pt;font-family:&quot;Lucida Console&quot;">&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp; flags:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 03<o:p></o:p></spa=
n></p>
<p class=3D"MsoNormal" style=3D"text-autospace:none"><span lang=3D"EN-GB" s=
tyle=3D"font-size:9.0pt;font-family:&quot;Lucida Console&quot;">&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp; length:&nbsp;&nbsp;&nbsp;&nbsp; 00 8a<o:p></o:p></span>=
</p>
<p class=3D"MsoNormal" style=3D"text-autospace:none"><span lang=3D"EN-GB" s=
tyle=3D"font-size:9.0pt;font-family:&quot;Lucida Console&quot;">&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp; TSN:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; da 58 6c=
 93<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"text-autospace:none"><span lang=3D"EN-GB" s=
tyle=3D"font-size:9.0pt;font-family:&quot;Lucida Console&quot;">&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp; Stream id:&nbsp; 00 01<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"text-autospace:none"><span lang=3D"EN-GB" s=
tyle=3D"font-size:9.0pt;font-family:&quot;Lucida Console&quot;">&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp; Stream-seq: 00 08<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"text-autospace:none"><span lang=3D"EN-GB" s=
tyle=3D"font-size:9.0pt;font-family:&quot;Lucida Console&quot;">&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp; Payload-id: 00 00 00 03<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"text-autospace:none"><span lang=3D"EN-GB" s=
tyle=3D"font-size:9.0pt;font-family:&quot;Lucida Console&quot;"><o:p>&nbsp;=
</o:p></span></p>
<p class=3D"MsoNormal" style=3D"text-autospace:none"><span lang=3D"EN-GB" s=
tyle=3D"font-size:9.0pt;font-family:&quot;Lucida Console&quot;">M3UA data, =
length 0x7c<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"text-autospace:none"><span lang=3D"EN-GB" s=
tyle=3D"font-size:9.0pt;font-family:&quot;Lucida Console&quot;">0040&nbsp; =
01 00 01 01 00 00 00 7c<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"text-autospace:none"><span lang=3D"EN-GB" s=
tyle=3D"font-size:9.0pt;font-family:&quot;Lucida Console&quot;">&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 02 00 00 08<o:p></o=
:p></span></p>
<p class=3D"MsoNormal" style=3D"text-autospace:none"><span lang=3D"EN-GB" s=
tyle=3D"font-size:9.0pt;font-family:&quot;Lucida Console&quot;">&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp; 00 00 00 02<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"text-autospace:none"><span lang=3D"EN-GB" s=
tyle=3D"font-size:9.0pt;font-family:&quot;Lucida Console&quot;">0050&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 00 06 00 08<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"text-autospace:none"><span lang=3D"EN-GB" s=
tyle=3D"font-size:9.0pt;font-family:&quot;Lucida Console&quot;">&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp; 00 00 00 08<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"text-autospace:none"><span lang=3D"EN-GB" s=
tyle=3D"font-size:9.0pt;font-family:&quot;Lucida Console&quot;">&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 02 10 00 62<o:p></o=
:p></span></p>
<p class=3D"MsoNormal" style=3D"text-autospace:none"><span lang=3D"EN-GB" s=
tyle=3D"font-size:9.0pt;font-family:&quot;Lucida Console&quot;">&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp; 00 00 0b ba<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"text-autospace:none"><span lang=3D"EN-GB" s=
tyle=3D"font-size:9.0pt;font-family:&quot;Lucida Console&quot;">0060&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 00 =
00 13 8b 03 03 01 00&nbsp; 11 01 03 04 08 0c 45 04<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"text-autospace:none"><span lang=3D"EN-GB" s=
tyle=3D"font-size:9.0pt;font-family:&quot;Lucida Console&quot;">0070&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 43 =
8b 13 07 04 43 ba 0b&nbsp; 07 39 00 00 00 00 00 00<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"text-autospace:none"><span lang=3D"EN-GB" s=
tyle=3D"font-size:9.0pt;font-family:&quot;Lucida Console&quot;">0080&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 00 =
00 00 00 00 00 00 00&nbsp; 00 00 00 00 00 00 04 04<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"text-autospace:none"><span lang=3D"EN-GB" s=
tyle=3D"font-size:9.0pt;font-family:&quot;Lucida Console&quot;">0090&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 04 =
04 04 04 04 04 04 04&nbsp; 04 04 04 04 04 04 04 04<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"text-autospace:none"><span lang=3D"EN-GB" s=
tyle=3D"font-size:9.0pt;font-family:&quot;Lucida Console&quot;">00a0&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 04 =
04 04 04 04 04 04 04&nbsp; 04 04 04 04 04 04 04 04<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"text-autospace:none"><span lang=3D"EN-GB" s=
tyle=3D"font-size:9.0pt;font-family:&quot;Lucida Console&quot;">00b0&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 04 =
04 04 10 04 40 00 00&nbsp; 00 00<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"text-autospace:none"><span lang=3D"EN-GB" s=
tyle=3D"font-size:9.0pt;font-family:&quot;Lucida Console&quot;"><o:p>&nbsp;=
</o:p></span></p>
<p class=3D"MsoNormal" style=3D"text-autospace:none"><span lang=3D"EN-GB" s=
tyle=3D"font-size:9.0pt;font-family:&quot;Lucida Console&quot;">Inter-chunk=
 pad: 00 00<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-GB" style=3D"font-size:11.0pt;font-=
family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp=
;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-GB" style=3D"font-size:11.0pt;font-=
family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">The proble=
m is that the length of the M3UA message (0x7c)&nbsp; is larger than the pa=
yload<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-GB" style=3D"font-size:11.0pt;font-=
family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">part of th=
e SCTP message (0x8a &#8211; 0x10 =3D 0x7a).<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-GB" style=3D"font-size:11.0pt;font-=
family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">The RFC mi=
ght let you send that if the M3UA length were 0x7a, but I know that<o:p></o=
:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-GB" style=3D"font-size:11.0pt;font-=
family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">all implem=
entations will not be able to receive such messages &#8211; so it is best n=
ot<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-GB" style=3D"font-size:11.0pt;font-=
family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">to send th=
em.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-GB" style=3D"font-size:11.0pt;font-=
family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp=
;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-GB" style=3D"font-size:11.0pt;font-=
family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp; David<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-GB" style=3D"font-size:11.0pt;font-=
family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp=
;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-GB" style=3D"font-size:11.0pt;font-=
family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp=
;</o:p></span></p>
<div style=3D"border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in =
4.0pt">
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> santosh =
nayak [mailto:santosh.nayak69@gmail.com]
<br>
<b>Sent:</b> 14 October 2013 05:47<br>
<b>To:</b> David Laight<br>
<b>Subject:</b> Re: [Sigtran] M3UA: Message Length<o:p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal"><span lang=3D"EN-GB"><o:p>&nbsp;</o:p></span></p>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-GB">Hi,<o:p></o:p></span></p>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-GB"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-GB">Thanks for the response...<o:p>=
</o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-GB"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-GB">I am attaching the pcap... pack=
et number 85<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-GB">Could you explain what MUST is =
violated???<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-GB"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-GB">Thanks,<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-GB">Santosh<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-GB"><o:p>&nbsp;</o:p></span></p>
</div>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><span lang=3D"EN-GB">=
<o:p>&nbsp;</o:p></span></p>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-GB">On Thu, Oct 10, 2013 at 5:57 PM=
, David Laight &lt;<a href=3D"mailto:David.Laight@aculab.com" target=3D"_bl=
ank">David.Laight@aculab.com</a>&gt; wrote:<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-GB">&gt; From: <a href=3D"mailto:si=
gtran-bounces@ietf.org">
sigtran-bounces@ietf.org</a> [mailto:<a href=3D"mailto:sigtran-bounces@ietf=
.org">sigtran-bounces@ietf.org</a>] On Behalf Of Michael Tuexen<o:p></o:p><=
/span></p>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><span lang=3D"EN-GB">=
&gt; On Oct 10, 2013, at 11:40 AM, santosh nayak &lt;<a href=3D"mailto:sant=
osh.nayak69@gmail.com">santosh.nayak69@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt; Hi,<br>
&gt; &gt;<br>
&gt; &gt; We have a situation where message is being rejected at M3UA layer=
 due to<br>
&gt; &gt; buffer length is not equal to message length.<br>
&gt; &gt;<br>
&gt; &gt; What is the significance of Message Length and its importance wit=
h padding...<br>
&gt; &gt;<br>
&gt; &gt; in the current issue M3UA peer is sending the data buffer of size=
 122 bytes<br>
&gt; &gt; to KSCTP. But message length parameter of M3UA common header cont=
ains a value<br>
&gt; &gt; of 124 and KSCTP is doing the padding at its level of 2 bytes whi=
ch is<br>
&gt; &gt; observed from the wireshark traces.<o:p></o:p></span></p>
</div>
<p class=3D"MsoNormal"><span lang=3D"EN-GB">Are you sure that pad isn't jus=
t from SCTP aligning it's chunks?<o:p></o:p></span></p>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><span lang=3D"EN-GB">=
<br>
&gt; &gt; Now at DUT message droped with reason &nbsp;(message length param=
eter is greater<br>
&gt; &gt; than actual M3UA data buffer size)<br>
&gt; &gt;<br>
&gt; &gt; Is this expected??? Please comment on this...<br>
&gt;<br>
&gt; At least the behaviour of the sender is not expected, since the sender=
<br>
&gt; violates a MUST.<o:p></o:p></span></p>
</div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><span lang=3D"EN-GB">=
I'm not sure what the note in section 3.1.4 is trying to allow, but<br>
I think the message you are describing is definitely illegal.<br>
<br>
I believe that the overall length in the 'common' header should always<br>
match that of the SCTP data chunk.<br>
This allows M3UA data to be separated into messages when sent using (say)<b=
r>
TCP rather than SCTP.<br>
<br>
I suspect the note allows an implementation to add the pad (following a<br>
parameter) when it adds a new one, rather than when it adds a parameter<br>
that isn't a multiple of 4 bytes.<br>
<br>
In any case I'd change your sending end.<br>
<span style=3D"color:#888888"><br>
<span class=3D"hoenzb">&nbsp; &nbsp; &nbsp; &nbsp; David</span><br>
<br>
</span><o:p></o:p></span></p>
</div>
<p class=3D"MsoNormal"><span lang=3D"EN-GB"><o:p>&nbsp;</o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal"><span lang=3D"EN-GB"><o:p>&nbsp;</o:p></span></p>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-GB" style=3D"font-size:7.5pt;font-f=
amily:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:#484830">Registered A=
ddress Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK<br>
Registration No: 1397386 (Wales)</span><span lang=3D"EN-GB"><o:p></o:p></sp=
an></p>
</div>
<div>
<p align=3D"center" style=3D"text-align:center"><span lang=3D"EN-GB" style=
=3D"font-size:7.5pt;font-family:Webdings;color:green">P<strong><span style=
=3D"font-family:Webdings">
</span></strong></span><strong><span lang=3D"EN-GB" style=3D"font-size:7.5p=
t;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:green">Please =
consider the environment and don't print this e-mail unless you really need=
 to</span></strong><span lang=3D"EN-GB" style=3D"font-size:18.0pt;font-fami=
ly:Webdings;color:green"><o:p></o:p></span></p>
</div>
<p class=3D"MsoNormal"><span lang=3D"EN-GB"><o:p>&nbsp;</o:p></span></p>
</div>
</body>
</html>

--_000_5D6AD1992F280C46BA6A4931CE2F015208E73E21G4W3210americas_--
