Re: [tsvwg] New Version Notification for draft-touch-tsvwg-udp-options-05.txt

"C. M. Heard" <heard@pobox.com> Sat, 25 March 2017 13:26 UTC

Return-Path: <heard@pobox.com>
X-Original-To: tsvwg@ietfa.amsl.com
Delivered-To: tsvwg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 31A40129452 for <tsvwg@ietfa.amsl.com>; Sat, 25 Mar 2017 06:26:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.201
X-Spam-Level:
X-Spam-Status: No, score=-2.201 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=pobox.com; domainkeys=pass (1024-bit key) header.from=heard@pobox.com header.d=pobox.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 3A8tz9ly5sq8 for <tsvwg@ietfa.amsl.com>; Sat, 25 Mar 2017 06:26:39 -0700 (PDT)
Received: from sasl.smtp.pobox.com (pb-smtp2.pobox.com [64.147.108.71]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D490D12944E for <tsvwg@ietf.org>; Sat, 25 Mar 2017 06:26:38 -0700 (PDT)
Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id A73F9805C7 for <tsvwg@ietf.org>; Sat, 25 Mar 2017 09:26:37 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=mime-version :in-reply-to:references:from:date:message-id:subject:to:cc :content-type; s=sasl; bh=t+6rAwFvPB+hx6FB5FX1IimNMRE=; b=mw5dMf 5qus9Sg/qKRJBLCikBTaWYtO/T+dRzR36dr8czIr1uaSK994zuc4wdifZ/cqqM9m RhluecQeLQhfEoCsDyo3ar50mjhilMCRrCvU8gparZ++d//KT/sVxrYVufGkCee5 vbvpotV0RWe44mQonceQTz+2vmIlcMkL71f+4=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=mime-version :in-reply-to:references:from:date:message-id:subject:to:cc :content-type; q=dns; s=sasl; b=aPwaeymwxbEJbsfuLRNsx7QDFGBoqbjk ilBVtJrPSjNc5UtPWj4BCYTXNOgLrDUIcLQPrP69PaE3BEVO0MLpoPnYgWUI2HT7 iesRncOrgI1046zzb8J42HaNnLWd7JmX8XM1s4hMA6o6e+pV6UEetsrJoO5j263v OUf05XFN3m4=
Received: from pb-smtp2.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 9FC28805C6 for <tsvwg@ietf.org>; Sat, 25 Mar 2017 09:26:37 -0400 (EDT)
Received: from mail-qk0-f175.google.com (unknown [209.85.220.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pb-smtp2.pobox.com (Postfix) with ESMTPSA id 36D07805C4 for <tsvwg@ietf.org>; Sat, 25 Mar 2017 09:26:37 -0400 (EDT)
Received: by mail-qk0-f175.google.com with SMTP id d10so4300784qke.1 for <tsvwg@ietf.org>; Sat, 25 Mar 2017 06:26:37 -0700 (PDT)
X-Gm-Message-State: AFeK/H2zjFOTc+FGDAjrz9Nawb0EoF/LoI0OP2HxK/dgQeC294EkNHwJKhwUDcOpDARQAlJ2ZuuTTjxbLZyaMA==
X-Received: by 10.55.119.65 with SMTP id s62mr11819311qkc.130.1490448396759; Sat, 25 Mar 2017 06:26:36 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.140.18.75 with HTTP; Sat, 25 Mar 2017 06:26:16 -0700 (PDT)
In-Reply-To: <81ad1cd3-197b-1b19-6358-43e4390fb722@isi.edu>
References: <CACL_3VFeJs7KzG9Bchh15bfZ3CmaOPWcfisEreNoGYK5CsEJ+g@mail.gmail.com> <3a4a6b78-8146-de4c-6246-7bd09de44f1c@isi.edu> <CACL_3VFkr3mGe-yTbvHrTZcKVCpEv3FeSOyoShUxCK5+9Tdqqg@mail.gmail.com> <c79fe3d0-8567-ea7d-72fc-bd33732df60e@isi.edu> <CACL_3VHmoCSo23OWqQFq7upw749CqMK7iazXrBKZARzwbzY5mw@mail.gmail.com> <f97f08d4-0070-437a-e22a-8782497c76eb@isi.edu> <CACL_3VGt2LQ9+01Tv4BjMUOvSj6-HzHeOAQks_r5sOOUsjTDMA@mail.gmail.com> <81ad1cd3-197b-1b19-6358-43e4390fb722@isi.edu>
From: "C. M. Heard" <heard@pobox.com>
Date: Sat, 25 Mar 2017 06:26:16 -0700
X-Gmail-Original-Message-ID: <CACL_3VFwW-RONXeNn_e1r=bQv1jV2eE6_m2s0wegsXzHcUv8LQ@mail.gmail.com>
Message-ID: <CACL_3VFwW-RONXeNn_e1r=bQv1jV2eE6_m2s0wegsXzHcUv8LQ@mail.gmail.com>
To: Joe Touch <touch@isi.edu>
Cc: Mark Smith <markzzzsmith@gmail.com>, tsvwg <tsvwg@ietf.org>
Content-Type: text/plain; charset="UTF-8"
X-Pobox-Relay-ID: AC3CF424-115E-11E7-8FD7-FC50AE2156B6-06080547!pb-smtp2.pobox.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/vdPp9m2BSRdPrb6OupiojADxDf4>
Subject: Re: [tsvwg] New Version Notification for draft-touch-tsvwg-udp-options-05.txt
X-BeenThere: tsvwg@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Transport Area Working Group <tsvwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tsvwg/>
List-Post: <mailto:tsvwg@ietf.org>
List-Help: <mailto:tsvwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 25 Mar 2017 13:26:41 -0000

On Wed, Mar 22, 2017 at 10:43 PM, Joe Touch <touch@isi.edu> wrote:
> > In section 5.4, was a decision made as to what the CRC16 is? Details
> > will be needed in order to ensure interoperability.
>
> That's on my to-do list (I was a bit distracted by these other issues).
> There are three obvious possibilities:
>
> CRC-16-CCITT            used by Bluetooth, X.25, HDLC (4 terms - 0x1021)
> CRC-16-IBM               used by USB (4 terms -- 0x8005)
> CRC-16-CDMA2000    used by CDMA  mobile nets (8 terms - 0xC867)
>
> There are other analyses that point to other polynomials:
> https://users.ece.cmu.edu/~koopman/crc/
>
> Any suggestions?

Both the CRC-16-CCITT and CRC-16-IBM polynomials factor into the product
of x+1 times a primitive polynomial of degree 15 (*op in Koopman's notation)
and are in a sense optimal for random error patterns. They detect all triple
errors (and all error patterns of odd weight) for data lengths of 4093 bytes
or less. The CRC-16-CDMA2000 has a single factor, which is a primitive
degree 16 polynomial (*p in Koopman's notation), and it will detect all
double errors for data lengths of 8189 bytes or less. By data length I
mean of course the length of the data protected by the CRC (not
including the CRC itself).

There are generic fast table lookup algorithms for all CRC-16 polynomials,
including automated methods for generating the lookup tables, so that is
not really a factor in choosing a polynomial.

> > In Section 9, third paragraph, you may want to make the following change:
> >
> > OLD:
> >    This feature is also inconsistent with the UDP application interface
> >    [RFC768] [RFC1122].
> > NEW:
> >    This feature is also inconsistent with the UDP application interface
> >    [RFC1122].
> >
> > in view of the following text in RFC 768:
> >
> > IP Interface
> > -------------
> >
> > The UDP module  must be able to determine  the  source  and  destination
> > internet addresses and the protocol field from the internet header.  One
> > possible  UDP/IP  interface  would return  the whole  internet  datagram
> > including all of the internet header in response to a receive operation.
> > Such an interface  would  also allow  the UDP to pass  a  full  internet
> > datagram  complete  with header  to the IP to send.  The IP would verify
> > certain fields for consistency and compute the internet header checksum.
>
> I read that section as defining the interface below UDP, not above UDP.
> I.e., it's the IP API that UDP expects, not the interface UDP expects
> users to utilize.
>
> Can you double-check?

You are of course correct on this point, and I withdraw the comment.

Mike Heard