Re: [dtn] BPbis - time units

"Taylor, Rick" <rick.taylor@airbus.com> Wed, 29 July 2020 15:38 UTC

Return-Path: <rick.taylor@airbus.com>
X-Original-To: dtn@ietfa.amsl.com
Delivered-To: dtn@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 491923A0BD6 for <dtn@ietfa.amsl.com>; Wed, 29 Jul 2020 08:38:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.119
X-Spam-Level:
X-Spam-Status: No, score=-2.119 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=airbus.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 IVBzpztX8vlk for <dtn@ietfa.amsl.com>; Wed, 29 Jul 2020 08:38:40 -0700 (PDT)
Received: from mo3.myeers.net (mo3.myeers.net [87.190.7.238]) (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 6BF913A0BD0 for <dtn@ietf.org>; Wed, 29 Jul 2020 08:38:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=airbus.com; i=@airbus.com; l=24394; q=dns/txt; s=eers-ng2048; t=1596037117; x=1627573117; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=zu4e6+R0q3b5g2pxeHAfL1+LiDkr7fCZJuItAyKF6lw=; b=ERMHkzVeqqMmXLtmF8uV/4NYNhalkf+TMHyLKPUnyebNcv0wLR7kJGJh 4OmFd+BOyNTs9E4aCp/Qy8hMBTdvM5AGXCMxUJkoRh69xN1yH9/WvOLiF io3azewCsvBr/8M2qEwyiBQx2cgfm86AIm0ifUuL2/+6q5+XWDLaToUeW klcDqu3JjzjIwnLVtbSxGBwn2cvGDTIZgyENaYk4lq+D08oO3/iQJ9BvE rXafultKNzlNiZDhkznr699USk7NlSRsQxyzJLK0Juf5cu/SzcoDZYzwB 8NBDjYl8LDNS91EjrJxdRco7QTwmq9SbZP4H8fpsQwLUoswrZDGZGPXEp A==;
X-IronPort-AV: E=Sophos;i="5.75,410,1589234400"; d="scan'208,217";a="169734306"
Received: from ec2-44-225-67-30.us-west-2.compute.amazonaws.com (HELO DE0-44HUB-P01.central.mail.corp) ([44.225.67.30]) by de0-44iro-p04-out.myeers.net with ESMTP/TLS/AES256-SHA; 29 Jul 2020 17:38:34 +0200
Received: from esa1e.demail.de.airbusds.corp (10.67.144.33) by DE0-44HUB-P01.central.mail.corp (44.225.67.34) with Microsoft SMTP Server id 15.0.1497.2; Wed, 29 Jul 2020 17:38:31 +0200
Received: from unknown (HELO CD1-4DDAG04-P01.cdmail.common.airbusds.corp) ([10.67.164.150]) by esa1i.demail.de.airbusds.corp with ESMTP; 29 Jul 2020 17:38:28 +0200
Received: from CD1-4BDAG04-P04.cdmail.common.airbusds.corp (10.67.164.149) by CD1-4DDAG04-P01.cdmail.common.airbusds.corp (10.67.164.150) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 29 Jul 2020 17:38:27 +0200
Received: from CD1-4BDAG04-P04.cdmail.common.airbusds.corp ([10.67.164.149]) by CD1-4BDAG04-P04.cdmail.common.airbusds.corp ([10.67.164.149]) with mapi id 15.00.1473.003; Wed, 29 Jul 2020 17:38:28 +0200
From: "Taylor, Rick" <rick.taylor@airbus.com>
To: "Birrane, Edward J." <Edward.Birrane@jhuapl.edu>, "Jeremy.Mayer@dlr.de" <Jeremy.Mayer@dlr.de>, "cabo@tzi.org" <cabo@tzi.org>, "scott.c.burleigh=40jpl.nasa.gov@dmarc.ietf.org" <scott.c.burleigh=40jpl.nasa.gov@dmarc.ietf.org>
CC: "dtn@ietf.org" <dtn@ietf.org>
Thread-Topic: [dtn] BPbis - time units
Thread-Index: AdZlRE16z8ydhrAuQoeEqKCZTB9oagAFrdGAAAa4fEkACzOVgAAGz/YQ
Date: Wed, 29 Jul 2020 15:38:28 +0000
Message-ID: <71139622270d41f59772bb2e9afc70ba@CD1-4BDAG04-P04.cdmail.common.airbusds.corp>
References: <9f0460a88aab4e29bc0d12347b27613a@jpl.nasa.gov>, <2D9743FA-7D23-444F-8D8C-F7B04CDCC010@tzi.org> <10b6be3b53a1460d8b1c53b0ba14099f@dlr.de> <5e7ce4a88b6b4682a3d21f190299b33b@aplex01.dom1.jhuapl.edu>
In-Reply-To: <5e7ce4a88b6b4682a3d21f190299b33b@aplex01.dom1.jhuapl.edu>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-bromium-msgid: 76c68173-6234-48c7-9ebd-007ae962350c
dlp-product: dlpe-windows
dlp-version: 11.3.2.8
dlp-reaction: no-action
x-titus_label: S
x-titus_l3: C-AD-AMB
x-titus_l2: C-CS
x-titus_l1: C-ALL
x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiIyIsImlkIjoiNDA3M2E4MWYtNDc0OS00YTNiLWJjODYtOTZhOTZlMGEzYjRjIiwicHJvcHMiOlt7Im4iOiJMQUJFTCIsInZhbHMiOlt7InZhbHVlIjoiUyJ9XX0seyJuIjoiRGVDIiwidmFscyI6W119LHsibiI6IkwxIiwidmFscyI6W3sidmFsdWUiOiJDLUFMTCJ9XX0seyJuIjoiTDIiLCJ2YWxzIjpbeyJ2YWx1ZSI6IkMtQ1MifV19LHsibiI6IkwzIiwidmFscyI6W3sidmFsdWUiOiJDLUFELUFNQiJ9XX0seyJuIjoiQ0NBViIsInZhbHMiOltdfSx7Im4iOiJMNCIsInZhbHMiOltdfSx7Im4iOiJFQ0YiLCJ2YWxzIjpbeyJ2YWx1ZSI6IlkifV19XX0sIlN1YmplY3RMYWJlbHMiOltdLCJUTUNWZXJzaW9uIjoiMTkuMy4yMDA3LjIiLCJUcnVzdGVkTGFiZWxIYXNoIjoiSUZhTDJUblwvZWpzeUY2RmpMY01manZRQWtxWFozZE81Rk5pVjBIK3ArS0RzXC9Qc3J0eWNoT3ZXVTg4cmVWQ0R2In0=
x-ms-exchange-transport-fromentityheader: Hosted
Content-Type: multipart/alternative; boundary="_000_71139622270d41f59772bb2e9afc70baCD14BDAG04P04cdmailcomm_"
MIME-Version: 1.0
X-TM-SNTS-SMTP: 399ADD7B36B2757EA0D2CE191F245BAF41C68382AA24678B37E250ED855C09672000:8
X-GM-Security: forwarded
Archived-At: <https://mailarchive.ietf.org/arch/msg/dtn/-ru4z7NwqXx9F-0itxkXUnzgEkc>
Subject: Re: [dtn] BPbis - time units
X-BeenThere: dtn@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Delay Tolerant Networking \(DTN\) discussion list at the IETF." <dtn.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dtn>, <mailto:dtn-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dtn/>
List-Post: <mailto:dtn@ietf.org>
List-Help: <mailto:dtn-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dtn>, <mailto:dtn-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 Jul 2020 15:38:43 -0000

Airbus Amber
Ed,

You make a valid point re canonicalization and recoding, but given the stamps are in the immutable primary block, after the source has built the block, no matter the timeval encoding, they can't be changed, so I see this a non-issue - which normally means I've missed something... can you elaborate?

Cheers,

Rick

Rick Taylor
Product Design Authority, Mobile IP Node/PlexOS
Principal Engineer (eXpert), Mobile Communications
Airbus Defence and Space
Celtic Springs
Coedkernew
Newport
NP10 8FZ

Phone: +44 (0) 1633 71 5637
rick.taylor@airbus.com<mailto:rick.taylor@airbus.com>
www.airbusdefenceandspace.com<http://www.airbusdefenceandspace.com/>

From: dtn [mailto:dtn-bounces@ietf.org] On Behalf Of Birrane, Edward J.
Sent: Wednesday, July 29, 2020 3:21 PM
To: Jeremy.Mayer@dlr.de; cabo@tzi.org; scott.c.burleigh=40jpl.nasa.gov@dmarc.ietf.org
Cc: dtn@ietf.org
Subject: Re: [dtn] BPbis - time units

The primary block must remain immutable otherwise integrity mechanisms over the primary block will fail.

Specifically, if a source node creates a tag 1, some other waypoint node cannot recode it as a tag 1001 even if it represents the same data value (and vice versa).

If the WG allows flexibility for tag 1 vs tag 1001, text must be added which either (a) states that the representation (once encoded) never be changed or (b) defines an unambiguous canonicalization of the time value.

-Ed

Edward J. Birrane, III, Ph.D.
Embedded Applications Group Supervisor
Principal Staff, Space Exploration Sector
Johns Hopkins Applied Physics Laboratory
(W) 443-778-7423<tel:(443)%20778-7423> / (F) 443-228-3839<tel:(443)%20228-3839>

From: dtn <dtn-bounces@ietf.org<mailto:dtn-bounces@ietf.org>> On Behalf Of Jeremy.Mayer@dlr.de<mailto:Jeremy.Mayer@dlr.de>
Sent: Wednesday, July 29, 2020 3:11 AM
To: cabo@tzi.org<mailto:cabo@tzi.org>; scott.c.burleigh=40jpl.nasa.gov@dmarc.ietf.org<mailto:scott.c.burleigh=40jpl.nasa.gov@dmarc.ietf.org>
Cc: dtn@ietf.org<mailto:dtn@ietf.org>
Subject: [EXT] Re: [dtn] BPbis - time units

APL external email warning: Verify sender dtn-bounces@ietf.org<mailto:dtn-bounces@ietf.org> before clicking links or attachments




Hi,

I think we need to allow some flexibility with regards to the expression of time units. For many applications, it should suffice to keep everything in milliseconds (keeping in mind that millisecond-based times also necessitate internal timekeeping capability with a similar accuracy. However, in long-delay/bandwidth-constrained applications, there may not be any real requirement to have millisecond-accuracy time fields/time-keeping.



Therefore, I propose (apologies in advance) that we use both: tag 1 can be a standard unix-based timestamp (in seconds), used for long-delay applications. Otherwise, times can be represented with tag 1001, key (-3,-18) as reference in Carstens CBOR timekeeping draft (https://www.ietf.org/id/draft-bormann-cbor-time-tag-03.txt) for additional flexibility in unit expression, with the slight overhead that may arise.



Thanks,

Jeremy

________________________________
From: dtn <dtn-bounces@ietf.org<mailto:dtn-bounces@ietf.org>> on behalf of Carsten Bormann <cabo@tzi.org<mailto:cabo@tzi.org>>
Sent: Wednesday, July 29, 2020 7:47:45 AM
To: Burleigh, Scott C (US 312B)
Cc: dtn@ietf.org<mailto:dtn@ietf.org>
Subject: Re: [dtn] BPbis - time units

On 2020-07-29, at 03:09, Burleigh, Scott C (US 312B) <scott.c.burleigh=40jpl.nasa.gov@dmarc.ietf..org<mailto:scott.c.burleigh=40jpl.nasa.gov@dmarc.ietf.org>> wrote:
>
> Hi.  At IETF-108 there was discussion on whether BP time fields (e.g., bundle creation time, lifetime, bundle age) should be denominated in seconds, milliseconds, microseconds, or nanoseconds.  Version 26 of the BPbis I-D (now posted) revises all time field definitions to be denominated in milliseconds.

Note that CBOR has a choice of different time formats (tag 1, tag 1001), so if you want to provide a choice, you could allow the use of these in addition to assigning a default meaning to naked integers.  (These have a different epoch, but that is just a matter of subtracting a constant value; the representation needs one bit more which is making a difference between 2106 and 2030 next for whole seconds.)  Until 2106, tag 1 is shorter (6 bytes in total) than a naked integer in milliseconds (9 bytes).

(I don't have an opinion on the actual question, but here is some data for that.)

Grüße, Carsten

_______________________________________________
dtn mailing list
dtn@ietf.org<mailto:dtn@ietf.org>
https://www.ietf.org/mailman/listinfo/dtn



THIS DOCUMENT IS NOT SUBJECT TO EXPORT CONTROL.

This email and its attachments may contain confidential and/or privileged information.  If you have received them in error you must not use, copy or disclose their content to any person.  Please notify the sender immediately and then delete this email from your system.  This e-mail has been scanned for viruses, but it is the responsibility of the recipient to conduct their own security measures. Airbus Operations Limited is not liable for any loss or damage arising from the receipt or use of this e-mail.

Airbus Operations Limited, a company registered in England and Wales, registration number, 3468788.  Registered office:  Pegasus House, Aerospace Avenue, Filton, Bristol, BS34 7PA, UK.