Re: [Dime] RFC 3588 (Diameter Base Protocol) - Section 2.1.1. SCTP Guidelines
Ralph Loader <suckfish@ihug.co.nz> Tue, 05 October 2010 06:46 UTC
Return-Path: <suckfish@ihug.co.nz>
X-Original-To: dime@core3.amsl.com
Delivered-To: dime@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D83313A6E25 for <dime@core3.amsl.com>; Mon, 4 Oct 2010 23:46:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.605
X-Spam-Level:
X-Spam-Status: No, score=-1.605 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RELAY_IS_203=0.994]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pjD5kGWZG3JR for <dime@core3.amsl.com>; Mon, 4 Oct 2010 23:46:04 -0700 (PDT)
Received: from mailfilter67.ihug.co.nz (mailfilter67.ihug.co.nz [203.109.136.67]) by core3.amsl.com (Postfix) with ESMTP id B12123A6CC4 for <dime@ietf.org>; Mon, 4 Oct 2010 23:46:03 -0700 (PDT)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AmQMADtnqkx2XS7L/2dsb2JhbAChNYENcsQ6hUcEikCFaIFg
X-IronPort-AV: E=Sophos;i="4.57,282,1283688000"; d="scan'208";a="99144960"
Received: from 118-93-46-203.dsl.dyn.ihug.co.nz (HELO i.geek.nz) ([118.93.46.203]) by cust.filter3.content.vf.net.nz with SMTP; 05 Oct 2010 19:46:58 +1300
Date: Tue, 05 Oct 2010 19:46:58 +1300
From: Ralph Loader <suckfish@ihug.co.nz>
To: dime@ietf.org
Message-Id: <20101005194658.2f21157e.suckfish@ihug.co.nz>
In-Reply-To: <4CAA81D7.6050605@nict.go.jp>
References: <s2v618e24241004260054z7f767689nfba37fbf82b1f030@mail.gmail.com> <v2x618e24241005030326x810b6d7fr977d506896c9802e@mail.gmail.com> <h2o919c9f451005031041h40693491y64995e345b93384f@mail.gmail.com> <4BDFB5CC.5080908@restena.lu> <p2pce72e8461005040327o5abded5tf3c2555f10169be8@mail.gmail.com> <z2k618e24241005040340rf9e948a3m90c0661a67e57bf2@mail.gmail.com> <s2y919c9f451005040534y62ae5780p7679cdd6acb221dd@mail.gmail.com> <AANLkTikLB6+B4bOJTDBSGs23QbSJpwTyzq2vg47CArXA@mail.gmail.com> <4CAA81D7.6050605@nict.go.jp>
X-Mailer: Sylpheed 3.1.0beta3 (GTK+ 2.22.0; x86_64-redhat-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
Subject: Re: [Dime] RFC 3588 (Diameter Base Protocol) - Section 2.1.1. SCTP Guidelines
X-BeenThere: dime@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Diameter Maintanence and Extentions Working Group <dime.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/dime>, <mailto:dime-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dime>
List-Post: <mailto:dime@ietf.org>
List-Help: <mailto:dime-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dime>, <mailto:dime-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 05 Oct 2010 06:46:06 -0000
> The only exception that is worth clarification in my opinion is the > interaction between applications and Base Protocol messages such as > CER/CEA or STR/STA: for example if a new message is sent just after the > CEA and received out of order by the other peer, it will be discarded. > Also, if an STR is sent straight after a message and received before > this message, the message will be dropped as well. This might be worth > stating in the RFC. It is quite easy to work around these issues in the > implementation, as long as they have been anticipated. How is an end-point sending a CEA and then sending a request over separate SCTP streams meant to work-around this issue? [I might be out of date, but I thought that the Diameter RFCs required that an implementation using SCTP MUST use multiple streams, which implies some out-of-order delivery.] Last time I asked on the list, I got a detailed explanation that it was impossible. Cheers, Ralph. > > My two cents, > Sebastien. > > Le 05/10/2010 06:05, Victor Pascual Avila a écrit : > > Hi Victor, > > > > quick question: SCTP provides the "unordered delivery" feature, which > > means that the receiving side may receive unordered Diameter messages. > > Does Diameter provide any AVP indicating a sequence number or such > > that would enable message re-ordering? > > > > Many thanks in advance, > > -Victor > > > > On Tue, May 4, 2010 at 8:34 AM, Victor Fajardo <vf0213@gmail.com > > <mailto:vf0213@gmail.com>> wrote: > > > > Hi, > > > > I see. Then I would propose that in the current state of this > > spec, we can simply state a minimum (as stefan has mentioned) that > > a peer MUST be ready to handle un-ordered messages. Then someone > > can volunteer a more proper guideline for SCTP stream > > usage/assignment either in an errata or an another draft. > > > > regards, > > victor > > > > On Tue, May 4, 2010 at 6:40 AM, Victor Pascual Avila > > <victor.pascual.avila@gmail.com > > <mailto:victor.pascual.avila@gmail.com>> wrote: > > > > IMO rfc4168 is pretty clear on the topic: > > http://tools.ietf.org/html/rfc4168#section-5 > > > > -Victor > > > > On Tue, May 4, 2010 at 12:27 PM, Naveen Kottapalli > > <naveen.sarma@gmail.com <mailto:naveen.sarma@gmail.com>> wrote: > > > IMHO we can specify the same as a caution note in the > > RFC like some of the > > > SIGTRAN protocols did. > > > Yours, > > > Naveen. > > > > > > > > > On 4 May 2010 06:51, Stefan Winter <stefan.winter@restena.lu > > <mailto:stefan.winter@restena.lu>> wrote: > > >> > > >> Hi, > > >> > > >> > For me I think message ordering and/or delivery is an > > implementation > > >> > issue (and hence SCTP stream assignments/usage as well). > > There are > > >> > many ways to go about this (ordered global rx queues, > > per-session > > >> > queues ... etc) and all of the depends on how you > > architecture your > > >> > implementation. This is a good reason not to have it in a > > protocol spec. > > >> > > > >> > > >> I don't quite understand that. If you leave the decision of > > message > > >> ordering to the implementation, you can easily run into one > > >> implementation sending its transactions unordered or in > > different > > >> streams, while the implementation on the other end expects > > them to come > > >> in ordered and in the same stream. This will lead to poor/no > > >> interoperability between the two implementations. I'd > > consider this > > >> property to be part of the spec. At the very least, it > > should be spec'd > > >> that the receiving end MUST be prepared to handle > > out-of-order or > > >> cross-stream transactions. > > >> > > >> Greetings, > > >> > > >> Stefan Winter > > >> > > >> -- > > >> Stefan WINTER > > >> Ingenieur de Recherche > > >> Fondation RESTENA - Réseau Téléinformatique de l'Education > > Nationale et de > > >> la Recherche > > >> 6, rue Richard Coudenhove-Kalergi > > >> L-1359 Luxembourg > > >> > > >> Tel: +352 424409 1 > > >> Fax: +352 422473 > > >> > > >> > > >> > > >> _______________________________________________ > > >> DiME mailing list > > >> DiME@ietf.org <mailto:DiME@ietf.org> > > >> https://www.ietf.org/mailman/listinfo/dime > > >> > > > > > > > > > _______________________________________________ > > > DiME mailing list > > > DiME@ietf.org <mailto:DiME@ietf.org> > > > https://www.ietf.org/mailman/listinfo/dime > > > > > > > > > > > > > > -- > > Victor Pascual Ávila > > _______________________________________________ > > DiME mailing list > > DiME@ietf.org <mailto:DiME@ietf.org> > > https://www.ietf.org/mailman/listinfo/dime > > > > > > > > > > > > -- > > Victor Pascual Ávila > > > > > > _______________________________________________ > > DiME mailing list > > DiME@ietf.org > > https://www.ietf.org/mailman/listinfo/dime > > -- > Sebastien Decugis > Research fellow > Network Architecture Group > NICT (nict.go.jp) > > _______________________________________________ > DiME mailing list > DiME@ietf.org > https://www.ietf.org/mailman/listinfo/dime
- Re: [Dime] RFC 3588 (Diameter Base Protocol) - Se… Victor Fajardo
- [Dime] RFC 3588 (Diameter Base Protocol) - Sectio… Victor Pascual Avila
- Re: [Dime] RFC 3588 (Diameter Base Protocol) - Se… Victor Pascual Avila
- Re: [Dime] RFC 3588 (Diameter Base Protocol) - Se… Stefan Winter
- Re: [Dime] RFC 3588 (Diameter Base Protocol) - Se… Naveen Kottapalli
- Re: [Dime] RFC 3588 (Diameter Base Protocol) - Se… Victor Pascual Avila
- Re: [Dime] RFC 3588 (Diameter Base Protocol) - Se… Victor Fajardo
- Re: [Dime] RFC 3588 (Diameter Base Protocol) - Se… Victor Fajardo
- Re: [Dime] RFC 3588 (Diameter Base Protocol) - Se… Victor Pascual Avila
- Re: [Dime] RFC 3588 (Diameter Base Protocol) - Se… Sebastien Decugis
- Re: [Dime] RFC 3588 (Diameter Base Protocol) - Se… Ralph Loader
- Re: [Dime] RFC 3588 (Diameter Base Protocol) - Se… Sebastien Decugis
- Re: [Dime] RFC 3588 (Diameter Base Protocol) - Se… Victor Pascual Avila