Re: [secdir] Secdir last call review of draft-ietf-ospf-ospfv3-segment-routing-extensions-16

Yaron Sheffer <yaronf.ietf@gmail.com> Tue, 06 November 2018 09:00 UTC

Return-Path: <yaronf.ietf@gmail.com>
X-Original-To: secdir@ietfa.amsl.com
Delivered-To: secdir@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C19E1130E1B; Tue, 6 Nov 2018 01:00:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 hi3h7adPlIlg; Tue, 6 Nov 2018 01:00:13 -0800 (PST)
Received: from mail-pg1-x529.google.com (mail-pg1-x529.google.com [IPv6:2607:f8b0:4864:20::529]) (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 D9E16124BE5; Tue, 6 Nov 2018 01:00:13 -0800 (PST)
Received: by mail-pg1-x529.google.com with SMTP id n10-v6so5513087pgv.10; Tue, 06 Nov 2018 01:00:13 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=2xJMclPpH4J+mNCTzFIylLs1nr9/x/ZD356jp9P582k=; b=FQ7MfcNySjnMLyoHpq1GVAmPsJxwQuXwkL0Yn9L6BttwUZq98mL4wS01Rxrz2ScYxc RW9pyDBfKqKC/1sDBBgqm/vs1abLsm6ZQWQVTAJJgYWUMLXpE4hMEuQmRiCvJ/cMT03P FTJVQ+4AobF/CU2hc5tLLTZsim3EoLnbOcmgd6ZwsuEY6WecenbOsLD2IrHzbcqCzO7N Cl2IUPomxPRCcpjy1GHOHjb5oQlXQ55fhMe1c44NP5ldxg7auFyV5NM/13aiMWsJeq1T yaY2O4hA4Tb8QT/AVEUGfmao3qG7SY0HkeHUPg+/pWdACOmB3TERvD9BaA9OnfKgWvCW uZTQ==
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-language :content-transfer-encoding; bh=2xJMclPpH4J+mNCTzFIylLs1nr9/x/ZD356jp9P582k=; b=hUL0MOG+8PpAo4KeOLb4qoDNJiZF39NadlL9VMZ1k9apFdjCAPmJL0I/Ojql5j5i21 FEv7xjT7T+gzfOQOvpTvbN8e/1xrGCmPxy486I/rNJnLjg1OoIYr5lVeEAnERyb409pY 4ZuuLjSqYoSJAb40EUCamntnMhn3TzfdsYU9TxT5Bf3Swqji451WWdd9sodfQb5U5oE+ +INj8IMnzFQArRaIzFOAKk3fV9FL7Z5dvy1Q1RBKa9aYLYIWae2pEE5r9LCF4uPzEGu3 35TQg7/GABUt6HuoFBhpk3lHGrWZsfFZvqJeGBzQZaFkWERlP/7ofQzrb6WUULg5hdFY 3obA==
X-Gm-Message-State: AGRZ1gKqA9B8wxUKQBYAO0FXGhXPDyVmo/CFr6iyJs/D6Fsux7e7tI5H irVtfwLjIfpRBqQxQ+uV+oWUybGD
X-Google-Smtp-Source: AJdET5c8pvj6Bk90bvYKk7lUB2fZFx3HxJRIYCZEvCmPElCCOn0cMRZYzJGhoCHj1s8fZJb6XsmS7A==
X-Received: by 2002:a63:2d82:: with SMTP id t124mr22913426pgt.260.1541494812822; Tue, 06 Nov 2018 01:00:12 -0800 (PST)
Received: from [172.30.16.28] ([49.231.0.179]) by smtp.gmail.com with ESMTPSA id u6-v6sm25185841pgq.19.2018.11.06.01.00.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Nov 2018 01:00:12 -0800 (PST)
To: Peter Psenak <ppsenak@cisco.com>, secdir@ietf.org
Cc: lsr@ietf.org, ietf@ietf.org, draft-ietf-ospf-ospfv3-segment-routing-extensions.all@ietf.org
References: <154134589488.32046.1179323499664545252@ietfa.amsl.com> <5BDFFB72.7010100@cisco.com>
From: Yaron Sheffer <yaronf.ietf@gmail.com>
Message-ID: <09c65027-5352-f783-7cbb-af5f8aa95cec@gmail.com>
Date: Tue, 06 Nov 2018 08:13:06 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1
MIME-Version: 1.0
In-Reply-To: <5BDFFB72.7010100@cisco.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/secdir/yADASIRDK5HqLuJdfPi4YhwNJMs>
Subject: Re: [secdir] Secdir last call review of draft-ietf-ospf-ospfv3-segment-routing-extensions-16
X-BeenThere: secdir@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Security Area Directorate <secdir.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/secdir>, <mailto:secdir-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/secdir/>
List-Post: <mailto:secdir@ietf.org>
List-Help: <mailto:secdir-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/secdir>, <mailto:secdir-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 06 Nov 2018 09:00:17 -0000

Thank you Peter, this addresses my comments.

	Yaron

On 05/11/2018 10:12, Peter Psenak wrote:
> Hi Yaron,
> 
> thanks for your comments, please see inline:
> 
> 
> On 04/11/18 16:38 , Yaron Sheffer wrote:
>> Reviewer: Yaron Sheffer
>> Review result: Has Nits
>>
>> Summary: document has non-security related nits.
>>
>> Details
>>
>> * The definition of "segment" is different here from the one used in the
>> architecture RFC. The RFC is more abstract, quoting: A node steers a 
>> packet
>> through an ordered list of instructions, called "segments". Whereas 
>> here a
>> segment is simply a sub-path. This is confusing to a non-expert, and 
>> perhaps
>> indicates a change in the group's thinking.
> 
> the definition in this draft relates to segment as used by IGPs, in 
> which case a segment represents the sub-path. There are other segments 
> outside of IGPs which can represent other things, but they are not 
> covered by this draft.
> 
> 
>>
>> * SID/Label Sub-TLV: is it Mandatory? If so, please point it out.
> 
> SID/Label Sub-TLV is not advertised on its own. It is advertised as a 
> sub-TLV of the:
> 
> 3.2.  SID/Label Range TLV
> 3.3.  SR Local Block TLV
> 
> Both of these section specify that SID/Label Sub-TLV MUST be included.
> 
>>
>> * "The SR-Algorithm TLV is optional" - I find this sentence confusing. 
>> Maybe
>> replace by "The SR-Algorithm TLV is mandatory for routers that implement
>> segment routing"?
> 
> 
> the text says:
> 
>     "If the SR-Algorithm TLV
>     is not advertised by the node, such node is considered as not being
>     segment routing capable."
> 
> Isn't that sufficient?
> 
> 
>>
>> * The reference under "IGP Algorithm Type" registry should be to the IANA
>> registry itself, not to the I-D that defines it. (In particular since 
>> the IANA
>> registry has already been established,
>> https://www.iana.org/assignments/igp-parameters/igp-parameters.xhtml#igp-algorithm-types). 
>>
> 
> I got another comment from Opsdir last call review to include the I-D 
> that defined it. I Added them both, hopefully that satisfy everybody.
> 
>>
>> * OSPFv3 Extended Prefix Range TLV Flags octet: add the usual 
>> incantation about
>> reserved bits.
> 
> Done.
> 
> 
> 
> 
>> * In general I agree with the reasoning in the Security 
>> Considerations. I would
>> like to raise the question if, in addition to mis-routing, this adds a 
>> threat
>> of massive denial-of-service on MPLS endpoints, e.g. by allowing an 
>> attacker
>> who has OSPF access to introduce routing loops. (This may be 
>> completely bogus,
>> I am far from expert with either of these protocols).
> 
> above is addressed by usage of the usage of the OSPF authentication as 
> described in the security section.
> 
> thanks,
> Peter
> 
>>
>> .
>>
>