Re: [Dime] Questions regarding RFC 6733

Ajinkya Joshi <ajoshi@definitionnetworks.com> Wed, 08 March 2017 09:36 UTC

Return-Path: <ajoshi@definitionnetworks.com>
X-Original-To: dime@ietfa.amsl.com
Delivered-To: dime@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F20C512944F for <dime@ietfa.amsl.com>; Wed, 8 Mar 2017 01:36:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=definitionnetworks-com.20150623.gappssmtp.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dmUKaFtmfnDg for <dime@ietfa.amsl.com>; Wed, 8 Mar 2017 01:36:55 -0800 (PST)
Received: from mail-ot0-x22b.google.com (mail-ot0-x22b.google.com [IPv6:2607:f8b0:4003:c0f::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 10B6612943F for <dime@ietf.org>; Wed, 8 Mar 2017 01:36:55 -0800 (PST)
Received: by mail-ot0-x22b.google.com with SMTP id o24so27036508otb.1 for <dime@ietf.org>; Wed, 08 Mar 2017 01:36:55 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=definitionnetworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=y1BeLFiqddc4igejIFzTCBVvxJ+s9KLhRS+ZS1gy/bY=; b=GHsCrgjHl6G/9JcArqZqHBkd+VsR1RAnu4yqLFe+hykA/Egw/GRftwEJiR4hB3op/d 7ClzQ1i1v0MQsxwegD9t5lNnye130qRe94TO9vi2UQU80yAYyqRRovvlvdflSP5V+spU bJulBeDpm7hPiNCVLOX6NI96+/yY4CaPWfglCx15KSoDG9K2qpofVAwL2Ddv92E5q74R UfoaGmYw7BzNK4K0YZBYplU8Bmmofaq+8yDWqc/OWaWpF0jDYJGQ6x4BodwhtMBE6gWu apUMOo05rbpBcqrlHCTjH/0a4Sjwe2FW/GNJjPR6bocs0KpOczswKHqDsRKuK2gnRDYf G5lA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=y1BeLFiqddc4igejIFzTCBVvxJ+s9KLhRS+ZS1gy/bY=; b=hDinSMS9ELLmL97t7u4XZAANVLWDA8SFcJjEpvoXu/7lFzVqT2XngkU1XQw469SJnF q+/U5T72ea8RB+2cEnMR0J6gfPUKOay13O6JFaX0OziZ2eu8JHQtGlIFSrvznRSkYlY8 zSVdSwPiRy956ewLGqRdxmCNjvJ85ss/7airHxQsh1DJO/jYS1Alna/6KJ90uR0/DylK SB0D0/peGhmQbkLbYpo7Z23G5mruT6EmuOTLVUaU/7dE0dgBkbHdxROtASXIP/RtaoYk gWhCZXzAaxVJpU6ieAUAcY06rHLn+jYWrGacUAsTw1soRtssemu6LV5iZNbkl98luD0U 0qHA==
X-Gm-Message-State: AFeK/H0cP4T12n6aaT1y57OQORUW4AANcTKRKiWSOijperE3Lv45IYGyX8YkbdD1HeAVMeigYPS2nkaIpasjBQ==
X-Received: by 10.157.27.12 with SMTP id l12mr2691183otl.199.1488965814446; Wed, 08 Mar 2017 01:36:54 -0800 (PST)
MIME-Version: 1.0
Received: by 10.157.48.173 with HTTP; Wed, 8 Mar 2017 01:36:54 -0800 (PST)
In-Reply-To: <70007418-7349-4560-828C-3FDD8894C239@gmail.com>
References: <CAFUT_s1krzosCpmYB=nYd7DiU+MsQOyofJEb8-m-qcgA6-w35w@mail.gmail.com> <70007418-7349-4560-828C-3FDD8894C239@gmail.com>
From: Ajinkya Joshi <ajoshi@definitionnetworks.com>
Date: Wed, 08 Mar 2017 15:06:54 +0530
Message-ID: <CAFUT_s1HbXSrGJQWMGoHfrV==zRzUTL-0Z9go+C6SUMOKDxxkw@mail.gmail.com>
To: "jouni.nospam" <jouni.nospam@gmail.com>
Content-Type: multipart/alternative; boundary="94eb2c09b5107400fe054a34de36"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dime/ct2iPAh0rGm9nj9m2ZZ6dBh8oH0>
Cc: dime@ietf.org
Subject: Re: [Dime] Questions regarding RFC 6733
X-BeenThere: dime@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Diameter Maintanence and Extentions Working Group <dime.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dime>, <mailto:dime-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/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: Wed, 08 Mar 2017 09:36:59 -0000

On Tue, Mar 7, 2017 at 10:04 PM, jouni.nospam <jouni.nospam@gmail.com>
wrote:

> hi,
>
> > On Mar 7, 2017, at 3:01 AM, Ajinkya Joshi <ajoshi@definitionnetworks.com>
> wrote:
> >
> > Hello,
> >
> > I have following questions regarding diameter RFC 6733, I would really
> appreciate if someone can help me with these.
> >
> > 1. Regarding diameter peer state machine -
> >
> >     Section 5.6.1 (Peer State Machine --> Incoming connections) mentions
> that Origin-host is used for     identifying peer state machine and as per
> state machine, once it moves into I-Open, new CER is       rejected. This
> concludes, that there can't be more than one transport connections with
> same               diameter host (as specified by Origin-host).
> >
> >     Section 2.1 (Transport) mentions that "A given Diameter instance of
> the peer state machine MUST      NOT use more than one transport connection
> to communicate with a given peer, unless multiple        instances exist on
> the peer, in which, case a separate connection per process is allowed."
> >
> >      Questions --
> >       • Does section 2.1 implicitly assumes that multiple diameter
> instances (within a peer) would correspond to different diameter host ?
> Otherwise, it could contradict with section 5.6.1
>
> it assumes one peer connection per peer state machine. so if you have a
> way to ‘fork’ a new peer instance with its own peer state machine per
> incoming connection then having “multiple instances’ is possible even if
> the diameteridentity is the same.
>

[ajoshi] If we fork a new peer instance with same diameteridentity, won't
it create problems as per peer state machine? Because, you would have
separate transport connection for each of them and each transport
connection needs capability exchange and as per peer state machine, there
can be only one capability exchange. I am inferring this based on section
5.3 which says "When two Diameter peers establish a transport connection,
they MUST exchange the Capabilities Exchange messages". Am I missing
something here? Or is it the case that two peers (identified based on their
respective diameter host-names) would perform capability exchange only
once, irrespective of number of transport connections they have?


>
> >       • If multiple transport connections (towards the same peer) are
> allowed per diameter host, is it expected that peer would do load balancing
> between them? (There is a connection load balancing section in RFC 3539 -
> Section 3.4.3)
>
> what you do and how you manage ‘multiple instances’ if more or less left
> for implementation to decide. i always considered it as a node internal
> compute load balancing mechanism i.e., to distribute the compute to
> separate cores/blades etc.
>
>
> > 2. Regarding diameter peer failback procedure -
> >
> >       Section 5.5.4 mentions "a connection request should be
> periodically attempted with the failed              peer in order to
> re-establish the transport connection"
> >
> >       Question --
> >
> >       • If the failed peer is dynamically discovered via DNS lookup, is
> it expected that peer would perform DNS query before trying to establish
> the connection again? Or DNS lookup is driven only by TTL field received in
> the prior DNS answer ?
>
> up to your implementation and dns resolver implementation.
>
> - jouni
>
>
> > --
> > Regards,
> > Ajinkya Joshi
> > _______________________________________________
> > DiME mailing list
> > DiME@ietf.org
> > https://www.ietf.org/mailman/listinfo/dime
>
>


-- 
Regards,
Ajinkya Joshi