Re: [icnrg] Directions on CCNx TimeTLVs: draft-gundogan-icnrg-ccnx-timetlv

"Thomas C. Schmidt" <t.schmidt@haw-hamburg.de> Wed, 20 November 2019 07:02 UTC

Return-Path: <t.schmidt@haw-hamburg.de>
X-Original-To: icnrg@ietfa.amsl.com
Delivered-To: icnrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 262BD12081D for <icnrg@ietfa.amsl.com>; Tue, 19 Nov 2019 23:02:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 hAvVjnt3Cx_c for <icnrg@ietfa.amsl.com>; Tue, 19 Nov 2019 23:02:50 -0800 (PST)
Received: from mx6.haw-public.haw-hamburg.de (mx6.haw-public.haw-hamburg.de [141.22.6.3]) (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 838C312081B for <icnrg@irtf.org>; Tue, 19 Nov 2019 23:02:49 -0800 (PST)
X-IronPort-AV: E=Sophos;i="5.69,220,1571695200"; d="scan'208";a="73388398"
Received: from hub01.mailcluster.haw-hamburg.de ([141.22.24.50]) by mail6.is.haw-hamburg.de with ESMTP/TLS/DHE-RSA-AES256-SHA; 20 Nov 2019 08:02:46 +0100
Received: from CAS02.mailcluster.haw-hamburg.de (2002:8d16:183d::8d16:183d) by HUB01.mailcluster.haw-hamburg.de (2002:8d16:1832::8d16:1832) with Microsoft SMTP Server (TLS) id 14.3.468.0; Wed, 20 Nov 2019 08:02:46 +0100
Received: from [31.133.129.205] (141.22.250.35) by haw-mailer.haw-hamburg.de (141.22.24.61) with Microsoft SMTP Server (TLS) id 14.3.468.0; Wed, 20 Nov 2019 08:02:45 +0100
To: "Mosko, Marc <mmosko@parc.com>" <mmosko@parc.com>, "icnrg@irtf.org" <icnrg@irtf.org>
References: <73a5a9ff-03c2-3b63-576d-8811c84b90c4@haw-hamburg.de> <687766c35e704a3f865fc7219033dc6d@HUB01.mailcluster.haw-hamburg.de>
From: "Thomas C. Schmidt" <t.schmidt@haw-hamburg.de>
Message-ID: <a4def87b-10a9-d930-8251-3b1d3ac371a6@haw-hamburg.de>
Date: Wed, 20 Nov 2019 15:02:42 +0800
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1
MIME-Version: 1.0
In-Reply-To: <687766c35e704a3f865fc7219033dc6d@HUB01.mailcluster.haw-hamburg.de>
Content-Type: text/plain; charset="utf-8"; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
X-Originating-IP: [141.22.250.35]
Archived-At: <https://mailarchive.ietf.org/arch/msg/icnrg/Yubw60QyxxaEt7jcLhOkpshQX4c>
Subject: Re: [icnrg] Directions on CCNx TimeTLVs: draft-gundogan-icnrg-ccnx-timetlv
X-BeenThere: icnrg@irtf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Information-Centric Networking research group discussion list <icnrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/icnrg>, <mailto:icnrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/icnrg/>
List-Post: <mailto:icnrg@irtf.org>
List-Help: <mailto:icnrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/icnrg>, <mailto:icnrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 20 Nov 2019 07:02:52 -0000

Hi Marc,

many thanks for the feedback and yes, I think we are in pretty close 
agreement. We will work on the draft and resubmit soonish.

Best,
  Thomas

On 20/11/2019 14:25, Mosko, Marc <mmosko@parc.com> wrote:
> Thomas,
> 
> I think having more compact encodings is great!  Here's a few comments on draft-gundogan-icnrg-ccnx-timetlv-00.
> 
> 1) The caption of Fig 3 cites RFC 4574.  Is that correct?  It's also not in the references section.
> 
> 2) RFC 5497 is not definitive in the representation of 1 or 2 byte floats, as C must be specified.  In your draft, it would be good to have a section that completely spells out how to go from a timestamp to/from mini/half floats.
> 
> 3) I agree that playing with the signature time might have unintended security consequences.  The signature time might also be unrelated to other time fields in the packet as it might be generated independently of the content itself, so using it as a time base is not a good idea either.
> 
> 4) If the RCT becomes relative, then a cache should decrement it.  I'm not a big fan for using relative times here, but it could be done.  I had written up an idea on allowing relative times as an alternative to absolute times in https://tools.ietf.org/html/draft-mosko-icnrg-cachecontrol-00.
> 
> 5) I think fractions of a second are not important for fields like interest lifetime or RCT, so the exponent does not need to support negatives.  Removing a sign bit and keeping the exponent positive with a normalized form mantissa would have a fairly large range, at least for the 8-bit (a 0.4.4.-0 minifloat).  The 16-bit should keep all the bells and whistles as it has space, and you'd likely use IEEE half precision floats anyway?
> 
> Marc
> 
> 
> On 11/19/19, 8:12 PM, "icnrg on behalf of Thomas C. Schmidt" <icnrg-bounces@irtf.org on behalf of t.schmidt@haw-hamburg.de> wrote:
> 
>      Folks,
>      
>      following up on our presentation of draft-gundogan-icnrg-ccnx-timetlv:
>      
>      This proposes to replace time deltas in CCNx by logarithmic encodings
>      and (maybe) some absolute timer values by deltas w.r.t. the signature time.
>      
>      We solicit feedback: Do you agree on going this way, or do you suspect
>      this to be harmful?
>      
>      Best,
>        Thomas
>      --
>      
>      Prof. Dr. Thomas C. Schmidt
>      ° Hamburg University of Applied Sciences                  Berliner Tor 7 °
>      ° Dept. Informatik, Internet Technologies Group   20099 Hamburg, Germany °
>      ° http://inet.haw-hamburg.de/members/schmidt      Fon: +49-40-42875-8452 °
>      
>      _______________________________________________
>      icnrg mailing list
>      icnrg@irtf.org
>      https://www.irtf.org/mailman/listinfo/icnrg
>      
> 

-- 

Prof. Dr. Thomas C. Schmidt
° Hamburg University of Applied Sciences                  Berliner Tor 7 °
° Dept. Informatik, Internet Technologies Group   20099 Hamburg, Germany °
° http://inet.haw-hamburg.de/members/schmidt      Fon: +49-40-42875-8452 °