Re: The TCP and UDP checksum algorithm may soon need updating

Michael Thomas <mike@mtcc.com> Mon, 08 June 2020 18:52 UTC

Return-Path: <mike@fresheez.com>
X-Original-To: ietf@ietfa.amsl.com
Delivered-To: ietf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4B13E3A0ED3 for <ietf@ietfa.amsl.com>; Mon, 8 Jun 2020 11:52:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.65
X-Spam-Level:
X-Spam-Status: No, score=-1.65 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=mtcc-com.20150623.gappssmtp.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 vc-j_PDydK-7 for <ietf@ietfa.amsl.com>; Mon, 8 Jun 2020 11:52:08 -0700 (PDT)
Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EB85B3A0CAA for <ietf@ietf.org>; Mon, 8 Jun 2020 11:52:07 -0700 (PDT)
Received: by mail-pj1-x1034.google.com with SMTP id h95so215065pje.4 for <ietf@ietf.org>; Mon, 08 Jun 2020 11:52:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mtcc-com.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=ENFk7jAy5GCnN4LubuykZqbKkXG/9DdAYgaTZrMENTs=; b=pz9gquKhr1sHjUUpHiNnlokbiK4Cq0lGHmqNvcS/VhxJiUaW/vJ+aivDj+YTuGKOBd B0PioksxdSYI7GlNyqfw7dSe5Pzv52o/5bnDB9IcwEeLnlsLOaYdR3j9o1PQhpeToEXk nN9Lt2Avw5AfcSvAC74oMWlGHnCc7LLHpd5NeqDBUG29i9gZk0kB2wr7MsENx5ifwdnV xZtYgBsRQGpKSDdGkUlgInrQTiEoLczPxG+yAVF2N6vww4r6uNPid0MYFnTqM25o62Hr okd/GZsnv22yJjKAhgSU9j5Eo/OfoelUSSSZ/cwMAMz9Rw12sroM1U2C4uSp1iEyslJc o9pQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=ENFk7jAy5GCnN4LubuykZqbKkXG/9DdAYgaTZrMENTs=; b=XLeMjxYpqY0Cml1236LmnReKfUCKduDx0J2XuR1mbrDyuc4fB4MKqS+ud+EylknZoL YZVmKDyWGK9aYYmsH+qayWYpcAsaA4Pu1vjSAYOckkpkDpBiuytmnaW7Z5xlzPD6Pmbp q+9jxVq3kg/tlEgQoGvM90gvZwKqOF8m6ro4QN2P2XKodeQdtKaZiW7541D4760AO4BR 0u5d8VAWQugr8nTPeeBcJ0FxyB850CFtPZPWF+pQWOx66wllSh07m+e9eo85oVGpCL+C W6aKjXDVxcnbE+fT/VWIoPEUPGi2XpX+v+ZI05nm7kkOemez14l3uCU7tc4N0Ak/z5mF BjVw==
X-Gm-Message-State: AOAM532SdAzHdEip09MMyzrCxY4OsjNPS3aTXpcho5UT8rYB620NOgwq yS1Q+oOQ1gCGeFtlAZ34zFheFxRGcu0=
X-Google-Smtp-Source: ABdhPJyEVZoIsiibBXFP8lg1D9h5P6i3pn8J3cB2HuTKVaVuTmiUG7kjp1RyUv2t4KpHH17S2WOS7g==
X-Received: by 2002:a17:90b:110f:: with SMTP id gi15mr695364pjb.87.1591642326819; Mon, 08 Jun 2020 11:52:06 -0700 (PDT)
Received: from MichaelsMacBook.lan (107-182-45-85.volcanocom.com. [107.182.45.85]) by smtp.gmail.com with ESMTPSA id z8sm223565pjr.41.2020.06.08.11.52.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 08 Jun 2020 11:52:05 -0700 (PDT)
Subject: Re: The TCP and UDP checksum algorithm may soon need updating
To: Nico Williams <nico@cryptonector.com>
Cc: Joe Touch <touch@strayalpha.com>, "ietf@ietf.org" <ietf@ietf.org>
References: <8946c5bf-0f6b-7a52-6326-dda59a78a798@mtcc.com> <AF28EDA6-0402-4578-A6C4-B3136F6C8650@strayalpha.com> <20200608171628.GX18021@localhost> <909178cc-c1b6-2dce-09eb-f8d28b63968c@mtcc.com> <20200608184543.GZ18021@localhost>
From: Michael Thomas <mike@mtcc.com>
Message-ID: <3265e498-a384-efed-2087-502b296d33cb@mtcc.com>
Date: Mon, 08 Jun 2020 11:52:04 -0700
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.8.1
MIME-Version: 1.0
In-Reply-To: <20200608184543.GZ18021@localhost>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf/_uKFh6io1Ic2Au6fDDE_2qiZIgI>
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ietf/>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Jun 2020 18:52:10 -0000

On 6/8/20 11:45 AM, Nico Williams wrote:
> On Mon, Jun 08, 2020 at 10:24:10AM -0700, Michael Thomas wrote:
>> On 6/8/20 10:16 AM, Nico Williams wrote:
>>> On Mon, Jun 08, 2020 at 10:11:09AM -0700, Joe Touch wrote:
>>>>> On Jun 8, 2020, at 10:00 AM, Michael Thomas <mike@mtcc.com> wrote:
>>>>> i assume that you can hack ipsec to emulate clients not having certs.
>>>> It is called BTNS.  See RFC 5387.
>>> Yes, but you also need RFC5660 implementations to make it more
>>> meaningful.  Still, if all you want is error detection, BTNS will do.
>> this is undoubtedly a complete rehash, but who controls what the root CA's
>> are with ipsec? is that something that the application layer has some say-so
>> over? could my app say i don't care who the root CA is?
> The idea with RFCs 5387 and 5660 is that there is no need for an IPsec
> PKI for IPsec to be useful, and, indeed, that IPsec for authentication
> is tricky because -after all- it deals in... IP addresses, which are not
> useful for authentication.
>
> Instead, use IPsec for session crypto and use channel binding to bind
> IPsec channels to higher-layer protocols where authentication can and
> does happen.

Sorry for being lazy and not skimming them, but does this imply sort of 
like a naked public key kind of auth like ssh? Or maybe a DNS based one 
like DKIM?

I mean, mitm is always a consideration so auth is always needed, right?

Mike