Re: [tsvwg] Fwd: New Version Notification for draft-herbert-udp-space-hdr-00.txt

"C. M. Heard" <heard@pobox.com> Tue, 12 March 2019 19:22 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 C3D97131191 for <tsvwg@ietfa.amsl.com>; Tue, 12 Mar 2019 12:22:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 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, 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 EHsCeB9R05Fn for <tsvwg@ietfa.amsl.com>; Tue, 12 Mar 2019 12:22:07 -0700 (PDT)
Received: from pb-smtp1.pobox.com (pb-smtp1.pobox.com [64.147.108.70]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2CC8813128C for <tsvwg@ietf.org>; Tue, 12 Mar 2019 12:22:03 -0700 (PDT)
Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 65294149221 for <tsvwg@ietf.org>; Tue, 12 Mar 2019 15:22:02 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=mime-version :references:in-reply-to:from:date:message-id:subject:to:cc :content-type; s=sasl; bh=AqTOZcCHsckHOwSElT9QpS3YYm0=; b=bA20u7 L3IpzKKIJxB3SqjWCLQKGXirku50zHqemAfggRqr7+dBZXN4+FKrlccyx1KIdlEA 4EL1pw+gLTjZoOgwkxf5OFepL5bbtIsqONTGt2p+DQQWu7KebVYxHWloosk+oWgd GdMQiv8TnmaI1azI2Y0lK3Z1tMj/lU8PfPANk=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=mime-version :references:in-reply-to:from:date:message-id:subject:to:cc :content-type; q=dns; s=sasl; b=YjIJMmOQpO4oF5RDMlPHfkEzd0ffF618 f2HFEo3neTa1YCPa/48QKBdg8ifhwf9YI89msGISWm/9+pak52vu2DL1IrWiRrMd 6nnLQHIoAEdQtnn3FGzbYc0lcbZuchKWTICeoRcXi1Sa1dZqxYqpIfSAx3BC8+y+ VYoaGDsKxhg=
Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 59AF9149220 for <tsvwg@ietf.org>; Tue, 12 Mar 2019 15:22:02 -0400 (EDT)
Received: from mail-it1-f171.google.com (unknown [209.85.166.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pb-smtp1.pobox.com (Postfix) with ESMTPSA id 9286B14921E for <tsvwg@ietf.org>; Tue, 12 Mar 2019 15:22:01 -0400 (EDT)
Received: by mail-it1-f171.google.com with SMTP id v83so6426673itf.1 for <tsvwg@ietf.org>; Tue, 12 Mar 2019 12:22:01 -0700 (PDT)
X-Gm-Message-State: APjAAAUkUDYZTK9sPpjcO3o2MoiQh/3326cX5eXF+KQ+xKglpcGWbkQd AQyA52LtPASNnXR6f4I6PLjT52FlkHJe1WPorfo=
X-Google-Smtp-Source: APXvYqwuDUuyR9m+S7B3QRItE5EYEiXmax2TqeX25iCEu/YM4+yF/8W1kWmkWliYy4CQ/4HqxS/7qgYV37LUeXr1osQ=
X-Received: by 2002:a02:3216:: with SMTP id j22mr7140424jaa.25.1552418520920; Tue, 12 Mar 2019 12:22:00 -0700 (PDT)
MIME-Version: 1.0
References: <CACL_3VF8M5TdGhxD-r77s+g1wRb8KFHA18tJK-rvXJWfE8Z3oQ@mail.gmail.com> <CALx6S341bSCRt0vppT-vhEHEd_NBTh78rUwBWa2TOba4tsXquw@mail.gmail.com>
In-Reply-To: <CALx6S341bSCRt0vppT-vhEHEd_NBTh78rUwBWa2TOba4tsXquw@mail.gmail.com>
From: "C. M. Heard" <heard@pobox.com>
Date: Tue, 12 Mar 2019 12:21:49 -0700
X-Gmail-Original-Message-ID: <CACL_3VHFUVSvs23JPLErYFbLBftM_Ehi0Mssymw_jmeUbmT6MA@mail.gmail.com>
Message-ID: <CACL_3VHFUVSvs23JPLErYFbLBftM_Ehi0Mssymw_jmeUbmT6MA@mail.gmail.com>
To: Tom Herbert <tom@herbertland.com>
Cc: tsvwg <tsvwg@ietf.org>
Content-Type: text/plain; charset="UTF-8"
X-Pobox-Relay-ID: 1CBE3618-44FC-11E9-9670-F733E42159A7-06080547!pb-smtp1.pobox.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/2eTtvosKgH7E43lElp4MbedSB_w>
Subject: Re: [tsvwg] Fwd: New Version Notification for draft-herbert-udp-space-hdr-00.txt
X-BeenThere: tsvwg@ietf.org
X-Mailman-Version: 2.1.29
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: Tue, 12 Mar 2019 19:22:12 -0000

On Tue, Mar 12, 2019 at 7:23 AM Tom Herbert <tom@herbertland.com> wrote:
> I see. The same effect can by had by using a two byte pseudo header in
> the checksum that contains the difference between the IP length and
> the UDP length.

Yes. My sense from reading the draft is that the optimum approach would
be to incorporate this pseudo-header compensation for ***each*** section
separately. Basically, the total length for a section (including header
and pad bytes) would be included in the checksum. The pad bytes can be
ignored since they are required to be zero. This assumes that every
surplus octet is included in some section.

> So for the "cost" of a mandatory two byte checksum, we get:
>
> - Detection of non-standard uses of the surplus space
> - Detection of corrupted bits in the option space
> - Middleboxes can calculate UDP checksum based on IP length with no
> additional bits needed for adjustment value
> - Detection that the IP length is corrupted or changed inflight
> - Uniformity and reuse of checksum APIs in implementation with other
> IP protocols that contain a checksum (IP, TCP, UDP, GRE)
> - Compatibility with NIC checksum offload

Sounds correct to me. One cost: the LITE option is of no use under this
proposal, since the LITE data would be checksummed. That defeats the
purpose of LITE.

Mike Heard