[AVTCORE] Comments on draft-ietf-avtcore-leap-second-01

Magnus Westerlund <magnus.westerlund@ericsson.com> Thu, 08 November 2012 21:40 UTC

Return-Path: <magnus.westerlund@ericsson.com>
X-Original-To: avt@ietfa.amsl.com
Delivered-To: avt@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CA21D21F86D4 for <avt@ietfa.amsl.com>; Thu, 8 Nov 2012 13:40:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.184
X-Spam-Level:
X-Spam-Status: No, score=-106.184 tagged_above=-999 required=5 tests=[AWL=0.065, BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4bAWmGzsVqPN for <avt@ietfa.amsl.com>; Thu, 8 Nov 2012 13:40:24 -0800 (PST)
Received: from mailgw2.ericsson.se (mailgw2.ericsson.se [193.180.251.37]) by ietfa.amsl.com (Postfix) with ESMTP id BEF4E21F86AD for <avt@ietf.org>; Thu, 8 Nov 2012 13:40:23 -0800 (PST)
X-AuditID: c1b4fb25-b7f926d00000661f-35-509c26c6a810
Received: from esessmw0237.eemea.ericsson.se (Unknown_Domain [153.88.253.124]) by mailgw2.ericsson.se (Symantec Mail Security) with SMTP id 3D.E3.26143.6C62C905; Thu, 8 Nov 2012 22:40:22 +0100 (CET)
Received: from [127.0.0.1] (153.88.115.8) by esessmw0237.eemea.ericsson.se (153.88.115.91) with Microsoft SMTP Server id 8.3.279.1; Thu, 8 Nov 2012 22:40:21 +0100
Message-ID: <509C26C2.30505@ericsson.com>
Date: Thu, 08 Nov 2012 16:40:18 -0500
From: Magnus Westerlund <magnus.westerlund@ericsson.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:16.0) Gecko/20121026 Thunderbird/16.0.2
MIME-Version: 1.0
To: IETF AVTCore WG <avt@ietf.org>, draft-ietf-avtcore-leap-second@tools.ietf.org
X-Enigmail-Version: 1.4.5
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrNJMWRmVeSWpSXmKPExsUyM+Jvje4xtTkBBreXiFm87FnJbrHz/342 ByaPJUt+Mnl8ufyZLYApissmJTUnsyy1SN8ugStjyRmLgtlSFTdmPmdqYHwj0sXIySEhYCJx +/JBNghbTOLCvfVgtpDASUaJ7/sKuhi5gOxljBL3L65iAUnwCmhKTFi6mBnEZhFQkVi8eA5Y nE3AQuLmj0awZlGBYIk9x9YyQtQLSpyc+QSsRkQgRGJTwyx2EFtYwExiXd9KJojFkhJv378C m8ksoCcx5WoLI4QtL9G8dTYzxEHaEg1NHawTGPlnIRk7C0nLLCQtCxiZVzGy5yZm5qSXG21i BAbYwS2/VXcw3jkncohRmoNFSZzXeusefyGB9MSS1OzU1ILUovii0pzU4kOMTBycUg2Mu/6J au5sPPBSVaz381LZTYsffmme67VGuJElVuD+4b8Wq77MijLrenObre3uX464MNcun8+ZyuyN 85xqZRS5VWaJXzxu2Km0Q/7tu2nFYhrsspUcoVEaXEJf5Gd+ELjyMFsw8I/bgf8J8zIqGZoC lXuf7EqzWPMgbVHUvmUi4kc/eHF2mOQrsRRnJBpqMRcVJwIAnbBE0f4BAAA=
Subject: [AVTCORE] Comments on draft-ietf-avtcore-leap-second-01
X-BeenThere: avt@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Audio/Video Transport Core Maintenance <avt.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/avt>, <mailto:avt-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/avt>
List-Post: <mailto:avt@ietf.org>
List-Help: <mailto:avt-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/avt>, <mailto:avt-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 08 Nov 2012 21:40:24 -0000

Hi,

I have reviewed the leap second document and have the following comments.

1. Section 1. It needs to say also in the introduction that it updates
RFC 3550, not only in the abstract.

2. Section 3.4:
   +-------+--------------+--------------+--------------+--------------+
   |  RTP  |      TAI     |      UTC     |     POSIX    |      NTP     |
   +-------+--------------+--------------+--------------+--------------+
   |  8000 | 00:00:32.500 | 23:59:58.500 | 23:59:58.500 | 23:59:58.500 |
   | 12000 | 00:00:33.000 | 23:59:59.000 | 23:59:59.000 | 23:59:59.000 |
   | 16000 | 00:00:33.500 | 23:59:59.500 | 23:59:59.500 | 23:59:59.500 |
   | 20000 | 00:00:34.000 | 23:59:60.000 | 23:59:59.000 | 00:00:00.000 |
   | 24000 | 00:00:34.500 | 23:59:60.500 | 23:59:59.500 | 00:00:00.000 |
   | 28000 | 00:00:35.000 | 00:00:00.000 | 00:00:00.000 | 00:00:00.000 |
   | 32000 | 00:00:35.500 | 00:00:00.500 | 00:00:00.500 | 00:00:00.500 |
   +-------+--------------+--------------+--------------+--------------+

                                  Table 1

I am wondering if the RTP 20000 and 24000 is really correctly
representing what you write in section 3.2 for the NTP column. Should't
the 00:00:00.000 actually  00:00:00.000-, i.e. something that is prior
to 00:00:00.000 but just?

3. Section 4.1:

   RTP Senders working to a leap-second-bearing reference SHOULD NOT
   generate sender reports containing an originating NTP timestamp in
   the vicinity of a leap second.  Receivers SHOULD ignore timestamps in
   any such reports inadvertently generated.

I wonder how you in practice are going to fulfill the sender
recommendation. That only works if your regular reporting interval is on
the order of a second or longer. Otherwise not sending a SR packet for a
RTP packet sender within 1.5*Td (where Td is your deterministic
reporting interval) will be counted towards source time-out or other
methods detecting missing packets. So for a reporting interval of 100 or
200 ms you can't actually follow the SHOULD.

4. Section 5. Security Consideration.

I wonder if this section really are covering some potential issues.
First are there security replay mechanisms that uses the clock? SRTP is
not effected as it uses packet index, i.e. roll over counter + seq_nr.
But there might be other things that could be confused for example by
the posix clock.

Are there attack vectors that are created when by possibly fool an
end-host to believe a leap-second event is happening and thus thinks the
clock are freezing or repeating that otherwise would be possible?

5. Reference section:

I don't believe that all references are normative. I think for example
the note in section 3.0 uses [3] in an informative one. Additional ones
may be similar. Please check the usage of all the references if they
really are normative.

Cheers

Magnus Westerlund

----------------------------------------------------------------------
Multimedia Technologies, Ericsson Research EAB/TVM
----------------------------------------------------------------------
Ericsson AB                | Phone  +46 10 7148287
Färögatan 6                | Mobile +46 73 0949079
SE-164 80 Stockholm, Sweden| mailto: magnus.westerlund@ericsson.com
----------------------------------------------------------------------