[Sigtran] M3UA: Message Length

santosh nayak <santosh.nayak69@gmail.com> Thu, 10 October 2013 09:40 UTC

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

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