Re: [Dots] TLS APLN extension

"Konda, Tirumaleswar Reddy" <TirumaleswarReddy_Konda@McAfee.com> Mon, 28 May 2018 09:49 UTC

Return-Path: <TirumaleswarReddy_Konda@mcafee.com>
X-Original-To: dots@ietfa.amsl.com
Delivered-To: dots@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 690CB127078 for <dots@ietfa.amsl.com>; Mon, 28 May 2018 02:49:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.311
X-Spam-Level:
X-Spam-Status: No, score=-4.311 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_DKIMWL_WL_HIGH=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=mcafee.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 pqPUmJaBRw2X for <dots@ietfa.amsl.com>; Mon, 28 May 2018 02:49:43 -0700 (PDT)
Received: from DNVWSMAILOUT1.mcafee.com (dnvwsmailout1.mcafee.com [161.69.31.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 099121270A0 for <dots@ietf.org>; Mon, 28 May 2018 02:49:42 -0700 (PDT)
X-NAI-Header: Modified by McAfee Email Gateway (5500)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mcafee.com; s=s_mcafee; t=1527500971; h=From: To:Subject:Thread-Topic:Thread-Index:Date: Message-ID:References:In-Reply-To:Accept-Language: Content-Language:X-MS-Has-Attach:X-MS-TNEF-Correlator: dlp-product:dlp-version:dlp-reaction:authentication-results: x-originating-ip:x-ms-publictraffictype:x-microsoft-exchange-diagnostics: x-ms-exchange-antispam-srfa-diagnostics:x-microsoft-antispam: x-ms-traffictypediagnostic:x-microsoft-antispam-prvs: x-exchange-antispam-report-test:x-ms-exchange-senderadcheck: x-exchange-antispam-report-cfa-test:x-forefront-prvs: x-forefront-antispam-report:received-spf:x-microsoft-antispam-message-info: spamdiagnosticoutput:spamdiagnosticmetadata: Content-Type:Content-Transfer-Encoding:MIME-Version: X-MS-Office365-Filtering-Correlation-Id:X-MS-Exchange-CrossTenant-Network-Message-Id: X-MS-Exchange-CrossTenant-originalarrivaltime: X-MS-Exchange-CrossTenant-fromentityheader: X-MS-Exchange-CrossTenant-id:X-MS-Exchange-Transport-CrossTenantHeadersStamped: X-OriginatorOrg:X-NAI-Spam-Flag:X-NAI-Spam-Level: X-NAI-Spam-Threshold:X-NAI-Spam-Score:X-NAI-Spam-Version; bh=afxWeIwdIQ54rNRlNRYSDnz2Y49kVrW1gMh/Jf 11Chs=; b=FbMmxubDaygbXwijGgBu1Hx42ZRJInvlbO64MZuU MWWk0pjBWNXMEPJ/xUCxku63ilGRBqU5At/96a1LPc7+5Q6fLx l5cuBonjjs12osIPnWWlyq2gntGM4bw/Vrt7hFcCz/l1HBjrIO JFoWR9F8ieWJLMUkbQtZttqCOXb5CGM=
Received: from DNVEXAPP1N05.corpzone.internalzone.com (unknown [10.44.48.89]) by DNVWSMAILOUT1.mcafee.com with smtp (TLS: TLSv1/SSLv3,256bits,ECDHE-RSA-AES256-SHA384) id 0cb3_14f9_5254498a_6ef3_45e3_a836_0f3406df9008; Mon, 28 May 2018 04:49:30 -0500
Received: from DNVEXAPP1N04.corpzone.internalzone.com (10.44.48.88) by DNVEXAPP1N05.corpzone.internalzone.com (10.44.48.89) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Mon, 28 May 2018 03:49:02 -0600
Received: from DNVO365EDGE2.corpzone.internalzone.com (10.44.176.74) by DNVEXAPP1N04.corpzone.internalzone.com (10.44.48.88) with Microsoft SMTP Server (TLS) id 15.0.1347.2 via Frontend Transport; Mon, 28 May 2018 03:49:01 -0600
Received: from NAM01-BN3-obe.outbound.protection.outlook.com (10.44.176.241) by edge.mcafee.com (10.44.176.74) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Mon, 28 May 2018 03:49:01 -0600
Received: from BN6PR16MB1425.namprd16.prod.outlook.com (10.172.207.19) by BN6PR16MB1506.namprd16.prod.outlook.com (10.172.208.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.797.11; Mon, 28 May 2018 09:48:58 +0000
Received: from BN6PR16MB1425.namprd16.prod.outlook.com ([fe80::601e:a909:b9fe:31bd]) by BN6PR16MB1425.namprd16.prod.outlook.com ([fe80::601e:a909:b9fe:31bd%8]) with mapi id 15.20.0797.017; Mon, 28 May 2018 09:48:58 +0000
From: "Konda, Tirumaleswar Reddy" <TirumaleswarReddy_Konda@McAfee.com>
To: Jon Shallow <supjps-ietf@jpshallow.com>, Benjamin Kaduk <kaduk@mit.edu>, "mohamed.boucadair@orange.com" <mohamed.boucadair@orange.com>, "dots@ietf.org" <dots@ietf.org>
Thread-Topic: [Dots] TLS APLN extension
Thread-Index: AdPw2PQOXpzyKiqHQ7+v5FEn8F2ThwAyFv1gACMjQgAAEIhhgAD2J+BAAAW7tYAAASl3AA==
Date: Mon, 28 May 2018 09:48:58 +0000
Message-ID: <BN6PR16MB14254F55D58FD5EE301C6CADEA6E0@BN6PR16MB1425.namprd16.prod.outlook.com>
References: <13d301d3f0d8$f66f7c60$e34e7520$@jpshallow.com> <787AE7BB302AE849A7480A190F8B93302DF1E28F@OPEXCLILMA3.corporate.adroot.infra.ftgroup> <20180523003451.GG10597@kduck.kaduk.org> <15bc01d3f26f$fecf3380$fc6d9a80$@jpshallow.com> <BN6PR16MB142569E727B738DA81844E73EA6E0@BN6PR16MB1425.namprd16.prod.outlook.com> <18b001d3f65f$8d47df20$a7d79d60$@jpshallow.com>
In-Reply-To: <18b001d3f65f$8d47df20$a7d79d60$@jpshallow.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
dlp-product: dlpe-windows
dlp-version: 11.0.300.84
dlp-reaction: no-action
authentication-results: spf=none (sender IP is ) smtp.mailfrom=TirumaleswarReddy_Konda@McAfee.com;
x-originating-ip: [103.245.47.20]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; BN6PR16MB1506; 7:eu73Jj0ib26zc1TM0f3YWRWmOInhdb6KboZmYBBzHFVk2bNo/R8sxUIdFPKCCjTVqwQDxxVg2DKd87/ej3X8WHH0e2ey6WI4sp8gSrVakBr8VHJ3rXZuPSIpDTo1vHjSgaOZnm4VGhYp4MVN9SgyJ1pXPxdCtRDzMtOs3Oy7YcoW2i4R7X86QrY7kuO95dXst9+zEdIB34MO2MvTGUcM9LNQJxA/871sW3V0xxCeagZQyaf0KP0H3olTql3aslr+
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:BN6PR16MB1506;
x-ms-traffictypediagnostic: BN6PR16MB1506:
x-microsoft-antispam-prvs: <BN6PR16MB1506F0729FE1B7232D1449F7EA6E0@BN6PR16MB1506.namprd16.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(158342451672863)(18271650672692)(240460790083961)(123452027830198);
x-ms-exchange-senderadcheck: 1
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(93006095)(93001095)(10201501046)(3231254)(944501410)(52105095)(149027)(150027)(6041310)(20161123558120)(20161123564045)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011)(7699016); SRVR:BN6PR16MB1506; BCL:0; PCL:0; RULEID:; SRVR:BN6PR16MB1506;
x-forefront-prvs: 06860EDC7B
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39840400004)(346002)(39380400002)(396003)(376002)(366004)(199004)(189003)(32952001)(13464003)(57704003)(105586002)(93886005)(3660700001)(110136005)(106356001)(2906002)(3280700002)(3846002)(316002)(6116002)(11346002)(476003)(486006)(53936002)(446003)(6246003)(2171002)(97736004)(6436002)(229853002)(66066001)(9686003)(6306002)(2900100001)(14454004)(5660300001)(305945005)(74316002)(7736002)(72206003)(966005)(81166006)(81156014)(8676002)(8936002)(55016002)(80792005)(25786009)(478600001)(33656002)(2201001)(186003)(86362001)(6506007)(2501003)(102836004)(26005)(59450400001)(53546011)(76176011)(7696005)(68736007)(99286004)(5250100002)(217873001)(85282002); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR16MB1506; H:BN6PR16MB1425.namprd16.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: McAfee.com does not designate permitted sender hosts)
x-microsoft-antispam-message-info: K88axq7y//0YyIY2pWbgEFTJx9C+I4wbMj6lTV2rhhpWZjXQYx0RuLotoW2QLSD6YMt5RLiG71etUeljjpAYkyBxtfsr1jDRzUeq+khymSzWgqEI0ct3yj5fEhvv6EH+848Kpo616VI0Etru+4xHGMMRsBavCHS3O0ySAMMxmG+fldr8wtNplYfpOpNL4cfNyF4apAWG8OP3yZFQtR6bhQ==
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Office365-Filtering-Correlation-Id: fca22019-37c0-47a8-8886-08d5c4803c46
X-MS-Exchange-CrossTenant-Network-Message-Id: fca22019-37c0-47a8-8886-08d5c4803c46
X-MS-Exchange-CrossTenant-originalarrivaltime: 28 May 2018 09:48:58.7187 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 4943e38c-6dd4-428c-886d-24932bc2d5de
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR16MB1506
X-OriginatorOrg: mcafee.com
X-NAI-Spam-Flag: NO
X-NAI-Spam-Level:
X-NAI-Spam-Threshold: 15
X-NAI-Spam-Score: 0.1
X-NAI-Spam-Version: 2.3.0.9418 : core <6294> : inlines <6661> : streams <1788032> : uri <2648535>
Archived-At: <https://mailarchive.ietf.org/arch/msg/dots/DWillRN4y47QpEnpKpPB_yDrh4I>
Subject: Re: [Dots] TLS APLN extension
X-BeenThere: dots@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "List for discussion of DDoS Open Threat Signaling \(DOTS\) technology and directions." <dots.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dots>, <mailto:dots-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dots/>
List-Post: <mailto:dots@ietf.org>
List-Help: <mailto:dots-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dots>, <mailto:dots-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 28 May 2018 09:49:46 -0000

> -----Original Message-----
> From: Jon Shallow [mailto:supjps-ietf@jpshallow.com]
> Sent: Monday, May 28, 2018 2:11 PM
> To: Konda, Tirumaleswar Reddy <TirumaleswarReddy_Konda@McAfee.com>;
> Benjamin Kaduk <kaduk@mit.edu>; mohamed.boucadair@orange.com;
> dots@ietf.org
> Subject: RE: [Dots] TLS APLN extension
> 
> 
> 
> Hi Tiru,
> 
> I agree that it makes no sense to have our own APLN - "coap" is fine as that is
> describing the next protocol layer up.  However, I did raise the question in case
> the DOTS Server needs to respond to a DOTS client that is correctly following
> RFC 8323 and expecting to see back a ALPN response.

The DOTS server will not be running on 5684. If the DOTS server is correctly following RFC8323, it should respond with 
ALPN response "coap". 

-Tiru

> 
> "If the TLS server either does not negotiate the ALPN extension or returns a
> no_application_protocol alert, the TLS client MUST close the connection."
> 
> Regards
> 
> Jon
> 
> -----Original Message-----
> From: Dots [mailto:ietf-supjps-dots-bounces@ietf.org] On Behalf Of Konda,
> Tirumaleswar Reddy
> Sent: 28 May 2018 07:03
> To: Jon Shallow; 'Benjamin Kaduk'; mohamed.boucadair@orange.com;
> dots@ietf.org
> Subject: Re: [Dots] TLS APLN extension
> 
> Although coaps+tcp URI scheme is used by DOTS signal channel, we have not
> yet seen any requirement where multiple protocols will be run on the DOTS
> server port number 4646.
> I don't see the need to define a new ALPN for DOTS signal channel.
> 
> Cheers
> -Tiru
> 
> > -----Original Message-----
> > From: Dots [mailto:dots-bounces@ietf.org] On Behalf Of Jon Shallow
> > Sent: Wednesday, May 23, 2018 1:58 PM
> > To: 'Benjamin Kaduk' <kaduk@mit.edu>; mohamed.boucadair@orange.com;
> > dots@ietf.org
> > Subject: Re: [Dots] TLS APLN extension
> >
> >
> >
> > Hi Ben,
> >
> > The DOTS signal spec calls for CoAP secured by running over (D)TLS
> > (either UDP and/or TCP), and CoAP over TLS is coaps+tcp.  So, yes,
> > both coaps and
> > coaps+tcp have to be supported.
> >
> > For example, I can use the github libcoap coap-client (Pull Request
> > #176
> > installed) and do "coap-client -c cert.pem
> > coaps+tcp://127.0.0.1:4646/.well-known/dots/v1/config" against my DOTS
> > server and get back binary data (it is CBOR encoded).
> >
> > Regards
> >
> > Jon
> >
> > -----Original Message-----
> > From: Dots [mailto: dots-bounces@ietf.org] On Behalf Of Benjamin Kaduk
> > Sent: 23 May 2018 01:35
> > To: mohamed.boucadair@orange.com
> > Cc: Jon Shallow; dots@ietf.org
> > Subject: Re: [Dots] TLS APLN extension
> >
> > The dedicated port number is only somewhat relevant, I think -- the
> > main question is whether the coaps+tcp URI scheme is in use.  The RFC
> > 8323 requirements only come into play for that URI scheme.
> >
> > -Ben
> >
> > On Tue, May 22, 2018 at 07:54:39AM +0000,
> mohamed.boucadair@orange.com
> > wrote:
> > > Re-,
> > >
> > > Do we need this given that DOTS is using a dedicated port number?
> > >
> > > Cheers,
> > > Med
> > >
> > > De : Dots [mailto:dots-bounces@ietf.org] De la part de Jon Shallow
> > > Envoyé : lundi 21 mai 2018 09:55 À : dots@ietf.org Objet : [Dots]
> > > TLS APLN extension
> > >
> > > Hi there,
> > >
> > > As per RFC 8323: 8.2.  coaps+tcp URI Scheme
> > >
> > > ....
> > >
> > >    o  If a TLS server does not support the Application-Layer Protocol
> > >       Negotiation (ALPN) extension [RFC7301] or wishes to accommodate
> > >       TLS clients that do not support ALPN, it MAY offer a coaps+tcp
> > >       endpoint on TCP port 5684.  This endpoint MAY also be ALPN
> > >       enabled.  A TLS server MAY offer coaps+tcp endpoints on ports
> > >       other than TCP port 5684, which MUST be ALPN enabled.
> > >
> > >    o  For TCP ports other than port 5684, the TLS client MUST use the
> > >       ALPN extension to advertise the "coap" protocol identifier (see
> > >       Section 11.7) in the list of protocols in its ClientHello.  If the
> > >       TCP server selects and returns the "coap" protocol identifier
> > >       using the ALPN extension in its ServerHello, then the connection
> > >       succeeds.  If the TLS server either does not negotiate the ALPN
> > >       extension or returns a no_application_protocol alert, the TLS
> > >       client MUST close the connection.
> > >
> > > Do we need to refer to the requirement for ALPN as we are not
> > > hosting on
> > port 5684?
> > >
> > > Regards
> > >
> > > Jon
> >
> > > _______________________________________________
> > > Dots mailing list
> > > Dots@ietf.org
> > > https://www.ietf.org/mailman/listinfo/dots
> >
> > _______________________________________________
> > Dots mailing list
> > Dots@ietf.org
> > https://www.ietf.org/mailman/listinfo/dots
> >
> > _______________________________________________
> > Dots mailing list
> > Dots@ietf.org
> > https://www.ietf.org/mailman/listinfo/dots
> _______________________________________________
> Dots mailing list
> Dots@ietf.org
> https://www.ietf.org/mailman/listinfo/dots