Re: [Ntp] Last Call: <draft-ietf-6lo-deadline-time-03.txt> (Packet Delivery Deadline time in 6LoWPAN Routing Header) to Proposed Standard

"MORTON, ALFRED C (AL)" <acm@research.att.com> Mon, 11 February 2019 13:56 UTC

Return-Path: <acm@research.att.com>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E1EC312008A; Mon, 11 Feb 2019 05:56:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 4.39
X-Spam-Level: ****
X-Spam-Status: No, score=4.39 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, GB_SUMOF=5, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=1.989, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no 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 GingoPWt_nwU; Mon, 11 Feb 2019 05:56:50 -0800 (PST)
Received: from mx0a-00191d01.pphosted.com (mx0b-00191d01.pphosted.com [67.231.157.136]) (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 B7BF5129BBF; Mon, 11 Feb 2019 05:56:50 -0800 (PST)
Received: from pps.filterd (m0049459.ppops.net [127.0.0.1]) by m0049459.ppops.net-00191d01. (8.16.0.27/8.16.0.27) with SMTP id x1BDtdUm046081; Mon, 11 Feb 2019 08:56:47 -0500
Received: from tlpd255.enaf.dadc.sbc.com (sbcsmtp3.sbc.com [144.160.112.28]) by m0049459.ppops.net-00191d01. with ESMTP id 2qk7j9c1r7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 11 Feb 2019 08:56:46 -0500
Received: from enaf.dadc.sbc.com (localhost [127.0.0.1]) by tlpd255.enaf.dadc.sbc.com (8.14.5/8.14.5) with ESMTP id x1BDui6L090222; Mon, 11 Feb 2019 07:56:45 -0600
Received: from zlp30496.vci.att.com (zlp30496.vci.att.com [135.46.181.157]) by tlpd255.enaf.dadc.sbc.com (8.14.5/8.14.5) with ESMTP id x1BDue7a090124; Mon, 11 Feb 2019 07:56:40 -0600
Received: from zlp30496.vci.att.com (zlp30496.vci.att.com [127.0.0.1]) by zlp30496.vci.att.com (Service) with ESMTP id E043E40CF598; Mon, 11 Feb 2019 13:56:40 +0000 (GMT)
Received: from clpi183.sldc.sbc.com (unknown [135.41.1.46]) by zlp30496.vci.att.com (Service) with ESMTP id B3D5F40CF589; Mon, 11 Feb 2019 13:56:40 +0000 (GMT)
Received: from sldc.sbc.com (localhost [127.0.0.1]) by clpi183.sldc.sbc.com (8.14.5/8.14.5) with ESMTP id x1BDuepJ026954; Mon, 11 Feb 2019 07:56:40 -0600
Received: from mail-azure.research.att.com (mail-azure.research.att.com [135.207.255.18]) by clpi183.sldc.sbc.com (8.14.5/8.14.5) with ESMTP id x1BDuWSc026586; Mon, 11 Feb 2019 07:56:32 -0600
Received: from exchange.research.att.com (njbdcas1.research.att.com [135.197.255.61]) by mail-azure.research.att.com (Postfix) with ESMTP id 99EA1E1321; Mon, 11 Feb 2019 08:56:31 -0500 (EST)
Received: from njmtexg5.research.att.com ([fe80::b09c:ff13:4487:78b6]) by njbdcas1.research.att.com ([fe80::8c6b:4b77:618f:9a01%11]) with mapi id 14.03.0435.000; Mon, 11 Feb 2019 08:55:13 -0500
From: "MORTON, ALFRED C (AL)" <acm@research.att.com>
To: Tal Mizrahi <tal.mizrahi.phd@gmail.com>, Charlie Perkins <charles.perkins@earthlink.net>
CC: "draft-ietf-6lo-deadline-time@ietf.org" <draft-ietf-6lo-deadline-time@ietf.org>, "6lo-chairs@ietf.org" <6lo-chairs@ietf.org>, IETF <ietf@ietf.org>, "ntp@ietf.org" <ntp@ietf.org>, "6lo@ietf.org" <6lo@ietf.org>, "ntp-chairs@ietf.org" <ntp-chairs@ietf.org>, Suresh Krishnan <Suresh@kaloom.com>
Thread-Topic: [Ntp] Last Call: <draft-ietf-6lo-deadline-time-03.txt> (Packet Delivery Deadline time in 6LoWPAN Routing Header) to Proposed Standard
Thread-Index: AQHUkIOgfj7ZaWV+Yk+gnWNPNUXqpaWMa7wAgBE86KOAPU2KSIAACZEQ
Date: Mon, 11 Feb 2019 13:55:12 +0000
Message-ID: <4D7F4AD313D3FC43A053B309F97543CF6BFD64F6@njmtexg5.research.att.com>
References: <154444480037.17333.5127536482994262799.idtracker@ietfa.amsl.com> <CABUE3XnQSi9rJnN2pxp2ZmmMAF4-aTgZ3eFeuWgj7uDWkZDoHw@mail.gmail.com> <0277B06D-060A-44AB-BA7A-C02F3C6E5021@kaloom.com> <CABUE3XmL_XERozG96bCboxwsbSFWjxvbwyupvs+CjvFA8eR59Q@mail.gmail.com> <22cec0be-76df-9fed-45d9-48769d662506@earthlink.net> <CABUE3XmQ7LDwL6HyA0QZaL1=QBSUaXQE3b=hCO0vp23irct=Ag@mail.gmail.com>
In-Reply-To: <CABUE3XmQ7LDwL6HyA0QZaL1=QBSUaXQE3b=hCO0vp23irct=Ag@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [69.141.203.172]
Content-Type: multipart/alternative; boundary="_000_4D7F4AD313D3FC43A053B309F97543CF6BFD64F6njmtexg5researc_"
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-02-11_09:, , signatures=0
X-Proofpoint-Spam-Details: rule=outbound_policy_notspam policy=outbound_policy score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1902110109
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/BWSn6T3AjH5nVizV4od_sDelbJU>
X-Mailman-Approved-At: Mon, 11 Feb 2019 07:06:49 -0800
Subject: Re: [Ntp] Last Call: <draft-ietf-6lo-deadline-time-03.txt> (Packet Delivery Deadline time in 6LoWPAN Routing Header) to Proposed Standard
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Feb 2019 13:56:54 -0000

Hi Tal and Charlie, (removing IETF-announce)
just following along...
From: ntp [mailto:ntp-bounces@ietf.org] On Behalf Of Tal Mizrahi
Sent: Monday, February 11, 2019 8:13 AM
To: Charlie Perkins <charles.perkins@earthlink.net>
Cc: draft-ietf-6lo-deadline-time@ietf.org; 6lo-chairs@ietf.org; IETF <ietf@ietf.org>; ntp@ietf.org; 6lo@ietf.org; ntp-chairs@ietf.org; Suresh Krishnan <Suresh@kaloom.com>; IETF-Announce <ietf-announce@ietf.org>
Subject: Re: [Ntp] Last Call: <draft-ietf-6lo-deadline-time-03.txt> (Packet Delivery Deadline time in 6LoWPAN Routing Header) to Proposed Standard

Hi Charlie,

Thanks for reviewing the packet timestamp draft.

Your suggestion makes sense to me.

Just a minor question regarding your example below ("If we had a 12-bit timestamp format..."):
The DTL and OTL fields specify the length of the DT and OT fields in octets, and therefore the length of DT and OT is a multiple of 8 bits. So the DT and OT can't be 12 bits long, right?
[acm]
Maybe Charlie meant the sum of DT and OT?  = 24, divisible by 8

Charlie mentioned asymmetric lengths, too
(just had a first look at
https://tools.ietf.org/html/draft-ietf-6lo-deadline-time-03 )

OTOH, maybe I need another cup of coffee,
Al

Cheers,
Tal.

On Sat, Feb 9, 2019 at 4:25 AM Charlie Perkins <charles.perkins@earthlink.net<mailto:charles.perkins@earthlink.net>> wrote:

Hello Tal and all,

I have read draft-ietf-ntp-packet-timestamps-05.txt.  This is an excellent document.

Our previous timestamp format in draft-ietf-6lo-deadline-time-03.txt offers a lot of flexibility in a compact format, but maybe that much flexibility is not needed.  I would like to suggest that we use the timestamp template in draft-ietf-ntp-packet-timestamps-05.txt, but with possibly fewer bits than the 32-bit NTP format.  As I understand it, that format divides the available number of bits evenly between integral seconds and fractional seconds. So, for instance, if we had an 8-bit timestamp format, that would allow for 16 seconds total duration denominated in sixteenths of a second (i.e., time units of about 64 milliseconds).  That would be pretty good for most purposes.  If we had a 12-bit timestamp format, that would allow for 64 seconds denominated in units of approximately 16 milliseconds.  If the optional Origination Time is included, then we would mandate that the OT has the same time unit as the DT.  In this case, that translates to meaning that the number of bits for fractional seconds is the same, but we could allow the OT to have fewer bits for the integer number of seconds.

If we go this way with predefined time designations according to the NTP draft format, we don't need the Exp field.  It is also possible that an asymmetric number of bits would be considered to satisfy the specified NTP-related format (i.e., not the same number of bits for fractional seconds as for integer seconds).  In that case, we could use a new field to locate the binary point.  We can make the definitions so that this new information still fits within the space of the Deadline-6LoRHE format.  One could argue that this new field is analogous to the Exp field.

draft-ietf-ntp-packet-timestamps-05.txt mandates certain details in the Security Considerations which we will need to obey.  It also suggests inclusion of material about synchronization.  I think we also have to do consider doing that.

What do you think?

Regards,
Charlie P.
On 1/3/2019 5:02 AM, Tal Mizrahi wrote:
Hi Suresh, authors,

>> I would suggest to follow the timestamp specification template of Section
>> 3 in draft-ietf-ntp-packet-timestamps-05.

>I think the semantics of the DT and OT fields are a bit different from the
>NTP packet timestamps and there are also resource constraints in the
>6lo world that might make the 64 bit formats expensive. I will let the
>authors and the WG comment further on this.


I agree that the NTP timestamp format does not fit here.
My comment was that DT and OT should be defined according to the timestamp specification template (section 3 in the packet timestamp draft).
This is a *generic template* for defining all kinds of timestamp formats.
The template was defined in order to make sure that when you define a timestamp format you do not forget important details.
Just to clarify, I am not suggesting to change the timestamp formats of DT and OT, but only to specify them in a clear and unambiguous manner.

Thanks,
Tal.




On Wed, Jan 2, 2019 at 11:00 PM Suresh Krishnan <Suresh@kaloom.com<mailto:Suresh@kaloom.com>> wrote:
Hi Tal,


On Dec 23, 2018, at 3:49 AM, Tal Mizrahi <tal.mizrahi.phd@gmail.com<mailto:tal.mizrahi.phd@gmail.com>> wrote:

Hi,

I am not a 6lo native, but I reviewed the draft specifically from a timestamp formatting perspective.
In the NTP working group we currently have a draft in WGLC that presents guidelines for defining timestamp formats.
https://tools.ietf.org/html/draft-ietf-ntp-packet-timestamps-05<https://urldefense.proofpoint.com/v2/url?u=https-3A__tools.ietf.org_html_draft-2Dietf-2Dntp-2Dpacket-2Dtimestamps-2D05&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=OfsSu8kTIltVyD1oL72cBw&m=4bnskZepRN5E4fDtyjJSzErjoNkK0-T162zuwSloT_M&s=6hVsSC47jguQsZDtFPNybEH4qIlUCg57CLiRkwmfyss&e=>

I believe that the definitions of the timestamps (DT and OT) in draft-ietf-6lo-deadline-time should be more detailed. For example, aspects about the epoch and the potential effect of leap seconds are currently not described in the current draft.

Good point. Authors, can you add some further descriptive text around these fields.


I would suggest to follow the timestamp specification template of Section 3 in draft-ietf-ntp-packet-timestamps-05.

I think the semantics of the DT and OT fields are a bit different from the NTP packet timestamps and there are also resource constraints in the 6lo world that might make the 64 bit formats expensive. I will let the authors and the WG comment further on this.

Thanks
Suresh