[OPSEC] Rtgdir last call review of draft-ietf-opsec-ipv6-eh-filtering-06

Stewart Bryant <stewart.bryant@gmail.com> Wed, 05 December 2018 15:55 UTC

Return-Path: <stewart.bryant@gmail.com>
X-Original-To: opsec@ietf.org
Delivered-To: opsec@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id C2136130E3B; Wed, 5 Dec 2018 07:55:26 -0800 (PST)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
From: Stewart Bryant <stewart.bryant@gmail.com>
To: rtg-dir@ietf.org
Cc: opsec@ietf.org, ietf@ietf.org, draft-ietf-opsec-ipv6-eh-filtering.all@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 6.89.1
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <154402532675.31849.8881420176249331430@ietfa.amsl.com>
Date: Wed, 05 Dec 2018 07:55:26 -0800
Archived-At: <https://mailarchive.ietf.org/arch/msg/opsec/Xy2xINE41filcsVwQZe15ZLn-mc>
Subject: [OPSEC] Rtgdir last call review of draft-ietf-opsec-ipv6-eh-filtering-06
X-BeenThere: opsec@ietf.org
X-Mailman-Version: 2.1.29
List-Id: opsec wg mailing list <opsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/opsec>, <mailto:opsec-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/opsec/>
List-Post: <mailto:opsec@ietf.org>
List-Help: <mailto:opsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/opsec>, <mailto:opsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Dec 2018 15:55:27 -0000

Reviewer: Stewart Bryant
Review result: Has Issues

I have been selected as the Routing Directorate reviewer for this draft. The
Routing Directorate seeks to review all routing or routing-related drafts as
they pass through IETF last call and IESG review. The purpose of the review is
to provide assistance to the Routing ADs. For more information about the
Routing Directorate, please see
​http://trac.tools.ietf.org/area/rtg/trac/wiki/RtgDir

Although these comments are primarily for the use of the Routing ADs, it would
be helpful if you could consider them along with any other IETF Last Call
comments that you receive, and strive to resolve them through discussion or by
updating the draft.

Document: draft-ietf-opsec-ipv6-eh-filtering-06
Reviewer: Stewart Bryant
Review Date: 5 December 2018
Intended Status: Informational

Summary:  This is a comprehensive and well written document. However the IESG
needs to think carefully about whether this document end-runs the protocol
development process.

Comments:

It is clear from the discussion on the list about this text that there is a
disconnect between protocol theory, protocol implementation and protocol
deployment with regard to IPv6 that needs to be resolved in the IETF, and which
may be of broader scope than this text. Reading the text and the associated
references I share those concerns.

Major Issues:

I am worried about the fragmented filter that this document attempts to
mandate. It is easy to see why a router on the edge of its performance envelope
would take the view :

"if not UDP | TCP: slow path"
if small queue to slow path full: drop

Whilst this document performs a solid analysis of what actions should be taken
on an option, it ought to make it clearer to the reader that how a router
handles options needs to be a pragmatic engineering and business decision taken
by the vendor and network operator.

3.4.2.5.  Advice

   Intermediate systems should discard packets containing a RHT0 or
   RHT1.  Other routing header types should be permitted, as required by
   [RFC7045].

SB> There also need to be advice to the protocol designers to
SB> avoid the problems that got RHT0 deprecated in the first place.
SB> Also, given the emergency deprecation of RHT0 there ought to
SB> be a requirement on the fast path that it can block any RH type
SB> at any time in the future.

Minor Issues:

The document includes the RFC 2119 template and makes very occasional use of
RFC 2119 language, but as I read through the text I found instances where it
looked as if such language could be usefully used but was not used. It is
possible that the authors took the view that RFC 2119 language would only be
used in quoted text, in which case a clarifying note to this effect might be
useful.

==============

   o  Ignore this IPv6 EH or option type (as if it was not present) and
      forward the packet.  We note that if a packet carries forwarding
      information (e.g., in an IPv6 Routing Header) this might be an
      inappropriate or undesirable action.

SB> If the node in question needed to see the routing information isn't
SB> that a misconfiguration that should never happen?

=============

   Finally, we note that when discarding packets, it is generally
   desirable that the sender be signaled of the packet drop, since this
   is of use for trouble-shooting purposes.

SB> Without further qualification of the action, isn't that also an attack
vector SB> for a target "sender"?

=============
4.3.7.5.  Advice

   Intermediate systems should discard packets that contain this option.
SB> I think you mean should by default discard packets containing this option.
SB> Otherwise this sentence technically conflicts with the next.

   Only in specific environments where support for RSVP, multicast
   routing, or similar protocols is desired, should this option be
   permitted.

=============
4.3.8.5.  Advice

   Intermediate systems should not discard IPv6 packets based on the
   presence of this option.

SB> Shouldn't this advice be more qualified given the advise in 4.3.8.4

=============
4.3.10.5.  Advice

   Intermediate system should discard packets that contain this option.

SB> Shouldn't that be intermediate systems not in a MANET should...?

=============

Nits:

   Blocking packets containing a RHT0 or RTH1 has no operational
SB> That should be RHT1 in your notation)

=============

Checking references for intended status: Informational
  ----------------------------------------------------------------------------

  == Unused Reference: 'RFC4304' is defined on line 1412, but no explicit
     reference was found in the text

  == Unused Reference: 'I-D.ietf-6man-hbh-header-handling' is defined on line
     1554, but no explicit reference was found in the text