Re: [core] #394 (coap-tcp-tls): Ping/pong

Hannes Tschofenig <hannes.tschofenig@gmx.net> Wed, 27 April 2016 16:45 UTC

Return-Path: <hannes.tschofenig@gmx.net>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0AAEF12D92A for <core@ietfa.amsl.com>; Wed, 27 Apr 2016 09:45:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.597
X-Spam-Level:
X-Spam-Status: No, score=-3.597 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, RP_MATCHES_RCVD=-0.996, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 xJMQGBetToB7 for <core@ietfa.amsl.com>; Wed, 27 Apr 2016 09:45:43 -0700 (PDT)
Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DC06312D921 for <core@ietf.org>; Wed, 27 Apr 2016 09:45:42 -0700 (PDT)
Received: from [192.168.10.140] ([80.92.119.69]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0MF5FT-1au3wU3RWd-00GGrs; Wed, 27 Apr 2016 18:45:34 +0200
To: Carsten Bormann <cabo@tzi.org>, Klaus Hartke <hartke@tzi.org>
References: <054.2c97c757dda98e52472c800c6ee42ad0@trac.tools.ietf.org> <069.b9f53805061e8e72bfdeccc1ae6055ae@trac.tools.ietf.org> <CAN9CcB_spHPhOQWZhVqnou69CmwDCdG8BukGqvTJPc_-Aepdsg@mail.gmail.com> <CAAzbHvayoqQ=GiPK1dtJaDTfTzX-ebwQ6Ht9O35vPhNaXn6j4Q@mail.gmail.com> <571F729A.1060507@tzi.org>
From: Hannes Tschofenig <hannes.tschofenig@gmx.net>
Openpgp: id=071A97A9ECBADCA8E31E678554D9CEEF4D776BC9
Message-ID: <5720ECB8.9030607@gmx.net>
Date: Wed, 27 Apr 2016 18:45:44 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
MIME-Version: 1.0
In-Reply-To: <571F729A.1060507@tzi.org>
Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="HeGoDIwsgbi28LuKRTqmHKW7TlAUdoUna"
X-Provags-ID: V03:K0:1sQB7wMgPWaimcbnYYwsMhvPMoZ7cbdYKdXMhzoI0iHP+JJ4pOK YzTiFotP1Ec4gabkrWFOck/xwappBOUMPdK2TlRe8tFpiwO5h4m5KeZUNkcnWCAiX+BeK1N JuK8NLRFDWedcx3iOPxukknFy3Obk+2jMF9S3NaFKFrxToD0dUHFeOdeFBZgXifpCEugYzC lwgG+gnD0jcjon1YII/tQ==
X-UI-Out-Filterresults: notjunk:1;V01:K0:/XiRXPtZ8VU=:S4Ze1A07g86sVD0s9uG7b2 x6XDoNBDgAis9S65ETg2XnxrJxSoyAeJko5NL226HvljNvEMV+gXy1wRDX1/CQjNPlE+G06bo 1MMQFz5GsGMSmcJuiPotnD6ZIuiJ4E1T0tLzRJEvAWp9NyL0W4ExyxIJmUmJ4HMuwK/VQVn02 3lJ0rP0SWRwxnyb1+HZm1PE9YI/F+56ut6/v8eJp0TyT7SvJFkgvdXQn+qXYRx982B29xkUl/ vTlyX3zgBwB0V0vJi3EAbjyhxBodM0G2KX79zFWx3X6xVWBi9wo+NZ55ixvGJoUDb/8MFWsf2 OvY6x69cjbzAfBQfgqa3WUz2QlJQso0MZ7lVHDO6G2PmaGQtL0PrQ28AMywHmcpHbAl1+IAw6 bqtOmYz4k1ydCB6s56DDH0KPS4ig2RLOlxHzPT5H2tyJfJVmXwWGW7p7Gt6KAKkA4x+7EeFyc xdafeVj4e2VGJzzIW2g3SQqL+H5TH4iDwwGd00l55cPopgwBOXsM2wUC9KpaZM08bRvWwoo4h +Ik+Us4F2J0qzp/v550shEnd60k55QfEljfdT46slTwHMhuYOJDUuAcebXYX2qHoDOo6ulVPL 9e/hipe2gZaoxxPG0kzFtn37vHhou9gtlNj2kJILhIIqfeVmkZVZyiwl3iI6gRsBoe82ZBfVV 6pMaEy4qGTZvlVKcl9bT1adPuBsH0iHMlUh/67Ggw8LgF4Z6f6WqPSQNwe35sKMKZfrIPb0K3 t4KaM0FyVONg+OWuHlXeIYaPwuOwI8kHaIWOC/mzkHChsjG/2Hejbi9jA3g=
Archived-At: <http://mailarchive.ietf.org/arch/msg/core/-pekIunrabPCJwq91v6eHgU43y4>
Cc: "core@ietf.org" <core@ietf.org>
Subject: Re: [core] #394 (coap-tcp-tls): Ping/pong
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: "Constrained RESTful Environments \(CoRE\) Working Group list" <core.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core>, <mailto:core-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core/>
List-Post: <mailto:core@ietf.org>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core>, <mailto:core-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 27 Apr 2016 16:45:45 -0000

I prefer to have a ping/pong exchange to improve readability without a
lot of impact on anything. We clearly need a response message to the
request in order for this stuff to work.

Ciao
Hannes

On 04/26/2016 03:52 PM, Carsten Bormann wrote:
> Klaus Hartke wrote:
>> CoAP over TCP/TLS/WebSockets does not have Reset messages. But it is
>> possible to use an empty message (0.00 code) for pings, which would be
>> in line with CoAP over UDP/DTLS. Do we need pongs?
> 
> Now that would be "overloading"...
> 
> (But yes, we could specify that an empty message has no effect in a
> CoAP-over-reliable connection.)
> 
> One argument for pongs was that they can provide a way to get assurance
> from an application that it actually has processed notifications.
> Of course, that would be additional semantics beyond the simple
> ping/pong, so it would most naturally be an option in a signaling message.
> 
> Grüße, Carsten
> 
> _______________________________________________
> core mailing list
> core@ietf.org
> https://www.ietf.org/mailman/listinfo/core
>