Re: [Tsv-art] [OPSEC] Tsvart last call review of draft-ietf-opsec-ipv6-eh-filtering-06

Christian Huitema <huitema@huitema.net> Wed, 05 December 2018 19:27 UTC

Return-Path: <huitema@huitema.net>
X-Original-To: tsv-art@ietfa.amsl.com
Delivered-To: tsv-art@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E4AFA130DF1 for <tsv-art@ietfa.amsl.com>; Wed, 5 Dec 2018 11:27:11 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=unavailable 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 xm5RBUAgryVT for <tsv-art@ietfa.amsl.com>; Wed, 5 Dec 2018 11:27:10 -0800 (PST)
Received: from mx43-out1.antispamcloud.com (mx43-out1.antispamcloud.com [138.201.61.189]) (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 0C820128CF3 for <tsv-art@ietf.org>; Wed, 5 Dec 2018 11:27:10 -0800 (PST)
Received: from xsmtp12.mail2web.com ([168.144.250.177]) by mx105.antispamcloud.com with esmtps (TLSv1.2:AES128-SHA:128) (Exim 4.89) (envelope-from <huitema@huitema.net>) id 1gUcp7-0000Vk-BI for tsv-art@ietf.org; Wed, 05 Dec 2018 20:27:07 +0100
Received: from [10.5.2.13] (helo=xmail03.myhosting.com) by xsmtp12.mail2web.com with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <huitema@huitema.net>) id 1gUcp5-0000az-J0 for tsv-art@ietf.org; Wed, 05 Dec 2018 14:27:04 -0500
Received: (qmail 24070 invoked from network); 5 Dec 2018 19:26:54 -0000
Received: from unknown (HELO [192.168.1.100]) (Authenticated-user:_huitema@huitema.net@[172.56.42.39]) (envelope-sender <huitema@huitema.net>) by xmail03.myhosting.com (qmail-ldap-1.03) with ESMTPA for <ietf@ietf.org>; 5 Dec 2018 19:26:53 -0000
To: Gert Doering <gert@space.net>, Ole Troan <otroan@employees.org>
Cc: draft-ietf-opsec-ipv6-eh-filtering.all@ietf.org, OPSEC <opsec@ietf.org>, tsv-art <tsv-art@ietf.org>, IETF-Discussion Discussion <ietf@ietf.org>
References: <CAN-Dau0go6_Puf0A9e7KBpk0ApJBUvcxYtezxnwNc-8pKJ3PwQ@mail.gmail.com> <4D69FA8E-FB8A-4A16-9CA6-690D8AE33C9E@strayalpha.com> <20181205122142.GJ1543@Space.Net> <F17C4944-09EC-4AAC-84A0-B660E36AAE89@strayalpha.com> <20181205133821.GL1543@Space.Net> <B6280E0C-6B20-43C1-BB34-170FB06F1EF7@strayalpha.com> <20181205135723.GN1543@Space.Net> <54C715AE-8931-4FA9-AA01-2311EB0055F0@employees.org> <20181205164558.GQ1543@Space.Net> <CCFEFC5B-53AE-4079-B64A-A72A71274FAD@employees.org> <20181205180855.GR1543@Space.Net>
From: Christian Huitema <huitema@huitema.net>
Openpgp: preference=signencrypt
Autocrypt: addr=huitema@huitema.net; prefer-encrypt=mutual; keydata= xsBNBFIRX8gBCAC26usy/Ya38IqaLBSu33vKD6hP5Yw390XsWLaAZTeQR64OJEkoOdXpvcOS HWfMIlD5s5+oHfLe8jjmErFAXYJ8yytPj1fD2OdSKAe1TccUBiOXT8wdVxSr5d0alExVv/LO I/vA2aU1TwOkVHKSapD7j8/HZBrqIWRrXUSj2f5n9tY2nJzG9KRzSG0giaJWBfUFiGb4lvsy IaCaIU0YpfkDDk6PtK5YYzuCeF0B+O7N9LhDu/foUUc4MNq4K3EKDPb2FL1Hrv0XHpkXeMRZ olpH8SU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xz/5lqkw9Az tcGAF3GlFsj++xTyD07DXlNeddwTKlqPRi/b8sppjtWur6Pm+wnAHp0mQ7GidhxHccFCl65w uT7S/ocb1MjrTgnAMiz+x87d48n1UJ7yIdI41Wpg2XFZiA9xPBiDuuoPwFj14/nK0elV5Dvq 4/HVgfurb4+fd74PV/CC/dmd7hg0ZRlgnB5rFUcFO7ywb7/TvICIIaLWcI42OJDSZjZ/MAzz BeXm263lHh+kFxkh2LxEHnQGHCHGpTYyi4Z3dv03HtkH/1SI8joQMQq00Bv+RdEbJXfEExrT u4gtdZAihwvy97OPA2nCdTAHm/phkzryMeOaOztI4PS8u2Ce5lUB6P/HcGtK/038KdX5MYST Fn8KUDt4o29bkv0CUXwDzS3oTzPNtGdryBkRMc9b+yn9+AdwFEH4auhiTQXPMnl0+G3nhKr7 jvzVFJCRif3OAhEm4vmBNDE3uuaXFQnbK56GJrnqVN+KX5Z3M7X3fA8UcVCGOEHXRP/aubiw Ngawj0V9x+43kUapFp+nF69R53UI65YtJ95ec4PTO/Edvap8h1UbdEOc4+TiYwY1TBuIKltY 1cnrjgAWUh/Ucvr++/KbD9tD6C8=
Message-ID: <6b9dac4f-4d57-7778-bbbe-78ebe399962f@huitema.net>
Date: Wed, 05 Dec 2018 11:26:38 -0800
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.3.2
MIME-Version: 1.0
In-Reply-To: <20181205180855.GR1543@Space.Net>
Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="gHoeACLL9w1v9MMHpTxXrq8TZzggQeBjd"
X-Originating-IP: 168.144.250.177
X-Spampanel-Domain: xsmtpout.mail2web.com
X-Spampanel-Username: 168.144.250.0/24
Authentication-Results: antispamcloud.com; auth=pass smtp.auth=168.144.250.0/24@xsmtpout.mail2web.com
X-Spampanel-Outgoing-Class: ham
X-Spampanel-Outgoing-Evidence: Combined (0.09)
X-Recommended-Action: accept
X-Filter-ID: EX5BVjFpneJeBchSMxfU5gG8NOIzAwepgXjUM+K3YbF602E9L7XzfQH6nu9C/Fh9KJzpNe6xgvOx q3u0UDjvO7EiGoWuidqebgKXGM72YxOIbg6INTucL51iwLVw9Lt6uBfXADiBQglH1AitB1nmJZ8j cRWGrGPw27W+gUvIvJNVr8eP+Wmp/y/AB2KysgGDx8vK4fxkB559Ptim4eLxYDSkkFlQZz6yFr2K mBj9WjbWc+PIB7z0NFJh8FN10Ic641c/SimthgfOQipLVZUf62YN1e9QKCRgygDwZ7Jdj2uix59s TWOZYSnnMjQ31wvFVPTxUfTKKOeFu/oqiIZGN/FetJA/5F1pVHDBKjqU+nYL996M5JPL2fcYnGGV GmpAi/vC1BlHag6z2d2hvLFbsq3CVSpNSdFHQf9jW00uowMntfDJFZDw1OAv/pAO6YoazFPtzv7h ezwhONKWbzWdWI4H8BoK2IXcGIU0bnIkl0cAoyZct/6BnFHiQpBgmuf0sbAUMSGKAOSEpAAW86/I kXMcN6qoXPjenLhIOF1oeRYWM4EE4kk/NktJRfy7TnqKdVTrG4wOplQaa2ZyUWu35Kj/S0D1VXz0 J4n7yUWFmGx5MWxVNMI4bXUdeS+SftW8w95cPWLsHiU6tFs2fFlaJi7BB9fE+1x8cQag6Sv0lvJv 21n4LnI5zZgAaRoQ/U076zU2HSM79WwHGez7UH25Behsw973GMn6egAApApMONx7fhNj6zeWP9GA NChogIpDHhvQIqf912y5Prtx3Mb7jj5ccamkBgvTP8/pP0APXsAccBIk1Sag4dKiqCrF8eZZfKOj pK8JPcifmTl+QqFYfMBS6icC3Gx4lulxNvKhi7dZ0Y1j33+sI/OBKqM24Besw6VqqFKaKw7KVvJf 1wPV3CNuev6ZoZL1owl+cx82ZvUXUtWv8j8plgIpzcFk5+ckIRFsicyJMEhQFtD8PLoinrzzGiRR EvmQrtvSbV4fnBGxi7b+YM4F5vl3mjpOflNgPkkLv+za2CoOuyTHjnpJxA==
X-Report-Abuse-To: spam@quarantine9.antispamcloud.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsv-art/EjNempJ7K-YWT4V5SWzlbHzsUg4>
Subject: Re: [Tsv-art] [OPSEC] Tsvart last call review of draft-ietf-opsec-ipv6-eh-filtering-06
X-BeenThere: tsv-art@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Transport Area Review Team <tsv-art.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tsv-art>, <mailto:tsv-art-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tsv-art/>
List-Post: <mailto:tsv-art@ietf.org>
List-Help: <mailto:tsv-art-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tsv-art>, <mailto:tsv-art-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Dec 2018 19:27:12 -0000

On 12/5/2018 10:08 AM, Gert Doering wrote:
> On Wed, Dec 05, 2018 at 06:57:28PM +0100, Ole Troan wrote:
>> You are creating the ???perceived??? security problem yourself, by requiring processing deeper into the packet than is required.
>> Just comply with RFC8200. As long as a router is not configured to process any HBH options, it can ignore the header.
>> You seem to think HBH still means ???punt to software???. If it ever meant that.
>>
>> There???s no need for rate-limiting for not processing HBH obviously.
> I *must* be able to look at the protocol field of packets coming in on
> our borders (see detailed description on our rate-limiting rules in 
> another mail of today).  If there are EHs in the way so our routers' 
> hardware cannot decide if this is a TCP or UDP packet, these packets 
> go down the drain.

Gert, I think that you are actually pointing at a significant issue with
the draft.

The draft goes into an evaluation of "security issues", without actually
explaining some basic assumptions. For example, it is hard to believe
that a router forwarding too many packets of any kind will cause an
issue for the security *of that router*. But on the other hand there is
a widely distributed practice of network equipment attempting to provide
differential treatment of packets based on protocol types and port
numbers. That practice is not acknowledged in the RFC that specify IPv6.
In fact, the IPv6 design assumes that routers only look at the address
and flow-id fields. This design is actually a departure from IPv4, whose
header format makes it easy to skip over the option field and assess the
"five tuple".

The draft *implicitly* assumes that routers will try to find the
protocol and port numbers "because of security reasons", but never
actually delineates these reasons. I think the discussion would be much
more productive if the draft started by explaining why network managers
believe that access to the "five tuple" is essential for a variety of
reasons, many of which are only tangentially related to "security". At
that point we can have a discussion between protocol designers assuming
that the network routers shall only look at IPv6 addresses and that
everything else is end-to-end on one side, and on the other side network
managers explaining why they need access to the payload type and port
numbers.

My personal preferences on the subject are not very relevant, and I
could actually line up arguments for both sides of that debate. But I
believe that getting to a resolution there would be much better than
arguing piecemeal over this or that end-to-end option.

-- Christian Huitema