Re: [Sigtran] M3UA: Message Length

Michael Tuexen <Michael.Tuexen@lurchi.franken.de> Thu, 10 October 2013 12:05 UTC

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

Best regards
Michael
> 
> 
> 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
> 
> 
> _______________________________________________
> Sigtran mailing list
> Sigtran@ietf.org
> https://www.ietf.org/mailman/listinfo/sigtran