Re: [manet-dlep-rg] Session iniation and discovery

"Stan Ratliff (sratliff)" <sratliff@cisco.com> Wed, 04 December 2013 18:55 UTC

Return-Path: <sratliff@cisco.com>
X-Original-To: manet-dlep-rg@ietfa.amsl.com
Delivered-To: manet-dlep-rg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 49B561AE2D0 for <manet-dlep-rg@ietfa.amsl.com>; Wed, 4 Dec 2013 10:55:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.501
X-Spam-Level:
X-Spam-Status: No, score=-9.501 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham
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 4xEZVv4hv5aV for <manet-dlep-rg@ietfa.amsl.com>; Wed, 4 Dec 2013 10:55:52 -0800 (PST)
Received: from alln-iport-4.cisco.com (alln-iport-4.cisco.com [173.37.142.91]) by ietfa.amsl.com (Postfix) with ESMTP id 315FE1A802A for <manet-dlep-rg@ietf.org>; Wed, 4 Dec 2013 10:55:52 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=13584; q=dns/txt; s=iport; t=1386183349; x=1387392949; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=RzP8BXrl+blTUxlT2aX5EQgLRVUr05h44gLhr1NaBVg=; b=jyDuB8n0JRKi/JoXs5A64zL6cOnISRi52FK+zRWxsFdJn0Y7B2dd1edF +iboXksPNizdtlYfis4FWkEAdJk6Fd7DFbhka4dHtiRDlzmNCC+FXrVi7 j429pBOJdqZiLVfiq5Pv90oJgy9jylCEoVTQzy5Kyh9uIgWp+IAcLgNNJ w=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AgQFADl6n1KtJXG+/2dsb2JhbABagwc4U7hjgSQWdIIlAQEBAwEBAQFrCwULAgEIEQQBASgHIQYLFAkIAgQOBYdwAwkGDbpNDYcTEwSMbYINBAcGgxqBEwOWKYFrjFqFOYMpgio
X-IronPort-AV: E=Sophos;i="4.93,826,1378857600"; d="scan'208,217";a="4338259"
Received: from rcdn-core2-3.cisco.com ([173.37.113.190]) by alln-iport-4.cisco.com with ESMTP; 04 Dec 2013 18:55:48 +0000
Received: from xhc-aln-x08.cisco.com (xhc-aln-x08.cisco.com [173.36.12.82]) by rcdn-core2-3.cisco.com (8.14.5/8.14.5) with ESMTP id rB4Itmdl010643 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Wed, 4 Dec 2013 18:55:48 GMT
Received: from xmb-aln-x03.cisco.com ([169.254.6.155]) by xhc-aln-x08.cisco.com ([173.36.12.82]) with mapi id 14.03.0123.003; Wed, 4 Dec 2013 12:55:48 -0600
From: "Stan Ratliff (sratliff)" <sratliff@cisco.com>
To: Martin Duke <martin.h.duke@gmail.com>
Thread-Topic: [manet-dlep-rg] Session iniation and discovery
Thread-Index: AQHO56PhU0eqH6pu2kCQ1yl2uPh865oxeL/WgAB95ICAEtU7AIAADlAA
Date: Wed, 04 Dec 2013 18:55:47 +0000
Message-ID: <68236867-CEE0-44F3-A98E-70477E61C882@cisco.com>
References: <38A5475DE83986499AEACD2CFAFC3F98FA5B5504@tss-server1.home.tropicalstormsoftware.com> <38A5475DE83986499AEACD2CFAFC3F98FA5B554A@tss-server1.home.tropicalstormsoftware.com> <3C3C98E5-9D89-4727-B411-E0D6358E9485@inf-net.nl> <CAM4esxSZZQX-E6tQv1b9_NBrsa272EgxCbSK_zjRd=GO6LhOvQ@mail.gmail.com>
In-Reply-To: <CAM4esxSZZQX-E6tQv1b9_NBrsa272EgxCbSK_zjRd=GO6LhOvQ@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.116.179.211]
Content-Type: multipart/alternative; boundary="_000_68236867CEE044F3A98E70477E61C882ciscocom_"
MIME-Version: 1.0
Cc: "manet-dlep-rg@ietf.org Group, (manet-dlep-rg@ietf.org)" <manet-dlep-rg@ietf.org>, Teco Boot <teco@inf-net.nl>, Rick Taylor <rick@tropicalstormsoftware.com>
Subject: Re: [manet-dlep-rg] Session iniation and discovery
X-BeenThere: manet-dlep-rg@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DLEP Radio Group <manet-dlep-rg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/manet-dlep-rg>, <mailto:manet-dlep-rg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/manet-dlep-rg/>
List-Post: <mailto:manet-dlep-rg@ietf.org>
List-Help: <mailto:manet-dlep-rg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/manet-dlep-rg>, <mailto:manet-dlep-rg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 04 Dec 2013 18:55:55 -0000

All,

Great. DLEP document is in-flight. I've had some set-backs recently - had to have some outpatient surgery on Monday (that was fun… NOT!), so it's taking longer than I had anticipated. But look for an updated DLEP in your inboxes soon…

Regards,
Stan

On Dec 4, 2013, at 1:04 PM, Martin Duke <martin.h.duke@gmail.com<mailto:martin.h.duke@gmail.com>> wrote:

I'm late but I endorse what Rick and Stan came up with.


On Fri, Nov 22, 2013 at 10:28 AM, Teco Boot <teco@inf-net.nl<mailto:teco@inf-net.nl>> wrote:
+1 judgement as Stan.

You know my preference: make radio the TCP server.

Op 22 nov. 2013, om 17:58 heeft Rick Taylor <rick@tropicalstormsoftware.com<mailto:rick@tropicalstormsoftware.com>> het volgende geschreven:

> Extra note:
>
> d) The IANA assigned port for DLEP is used for both multicast UDP and TCP.  It is the same port number.
>
> ________________________________________
> From: manet-dlep-rg [manet-dlep-rg-bounces@ietf.org<mailto:manet-dlep-rg-bounces@ietf.org>] on behalf of Rick Taylor [rick@tropicalstormsoftware.com<mailto:rick@tropicalstormsoftware.com>]
> Sent: 22 November 2013 16:57
> To: manet-dlep-rg@ietf.org<mailto:manet-dlep-rg@ietf.org> Group, (manet-dlep-rg@ietf.org<mailto:manet-dlep-rg@ietf.org>)
> Subject: [manet-dlep-rg] Session iniation and discovery
>
> Gents,
>
> Am I right in thinking we are achieving some kind of consensus on session initiation and discovery?  My understanding of the proposal is:
>
> Discovery:
>
> 1) Router SHOULD send 'Advertise' UDP messages on IANA assigned link-local multicast address:port at periodic interval ANNOUNCE_INTERVAL.
> 'Advertise' messages MUST contain the DLEP version TLV.
> 'Advertise' messages MAY contain alternate TCP address TLV.  (E.g. ipv4 fallback)
> 'Advertise' messages MAY contain alternate TCP port TLV.
> 'Advertise' messages MAY contain secondary reliable transport protocol endpoint address TLV.  (E.g. SCTP address)
>
> Initiation:
>
> 0) Router listens on a TCP port, the port SHOULD be the IANA assigned DLEP port.
>
> 1) Modem connects to a TCP endpoint either discovered from 'Advertise' messages, or from alternate discovery mechanism (e.g. mDNS), or a-priori configuration.
>
> 2) Modem MUST send 'Initialize' message.
> 'Initialize' message MUST contain DLEP version TLV.
> 'Initialize' message MUST contain Identification TLV.
> 'Initialize' message MUST contain for all mandatory DLEP metric TLVs with values.
>
> 2) Router MUST reply with 'Accept' message, or shut down the connection.
> 'Accept' message MUST contain DLEP version TLV.
> 'Accept' message MUST contain Identification TLV.
> 'Accept' message MUST contain Status TLV.  This will indicate: Success, Reject, etc... (TBD)
> 'Accept' message MAY contain secondary reliable transport protocol endpoint address TLV.  (E.g. SCTP address)

Isn't this in the transport layer?


>
> 2a) If Status TLV is a failure: Router MUST and Modem SHOULD close the TCP connection.

I think it is better to specify which node MUST close the connection. That's the one that sends the Reject. The FIN follows. Why SHOULD the other start closing the connection? It can wait on FIN, it MUST come. Or wait for heartbeat dead time, as safeguard.


> 2b) If Status TLV is a success: Session is established.
>
> 3) Router MAY stop any active discover process.

Not sure what you mean, if TCP server is on modem.
Router SHOULD continue to listen to discovery packets.
FYI: new BGAN terminals support some kind of bonding. Some deploy an RF link with Tx&Rx-only modems.

>
> 4) Router MAY stop listening for more connections on the TCP port.
>
> Notes:
>
> a) Stan probably has different names for the messages.
> b) I have made the Router the TCP server in this example, because it forces the modem to announce it's capabilities/TLVs in the 'Initialize' message, and I believe it's the way Stan is leaning.
> c) If the roles are reversed then the 'Accept' message must carry the mandatory TLVs, and an extra 'Unacceptable' message is required from the Router to Modem explaining why the Router closed the connection if it doesn't like the TLVs from the Modem.

So this is the three-way handshake.
I didn't understand why the Router didn't send the full set of supported TLVs. OK, Ik know this is more relevant for link metrics from modem to router. But for protocol specification, I haven't a clear picture what we designed.

Teco


>
> Does this sound right?  Or am I way off?
>
> I'd just like to get this part fixed as I have more topics up for debate, and I reckon we could announce this as progress on the WG list.
>
> Rick
> _______________________________________________
> manet-dlep-rg mailing list
> manet-dlep-rg@ietf.org<mailto:manet-dlep-rg@ietf.org>
> https://www.ietf.org/mailman/listinfo/manet-dlep-rg
> _______________________________________________
> manet-dlep-rg mailing list
> manet-dlep-rg@ietf.org<mailto:manet-dlep-rg@ietf.org>
> https://www.ietf.org/mailman/listinfo/manet-dlep-rg

_______________________________________________
manet-dlep-rg mailing list
manet-dlep-rg@ietf.org<mailto:manet-dlep-rg@ietf.org>
https://www.ietf.org/mailman/listinfo/manet-dlep-rg

_______________________________________________
manet-dlep-rg mailing list
manet-dlep-rg@ietf.org<mailto:manet-dlep-rg@ietf.org>
https://www.ietf.org/mailman/listinfo/manet-dlep-rg