[Sidrops] Re: Call for Adoption of draft-li-sidrops-bicone-sav-04

Lancheng <qinlc@mail.zgclab.edu.cn> Fri, 20 September 2024 03:34 UTC

Return-Path: <qinlc@mail.zgclab.edu.cn>
X-Original-To: sidrops@ietfa.amsl.com
Delivered-To: sidrops@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 48CA4C1516E0; Thu, 19 Sep 2024 20:34:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.003
X-Spam-Level:
X-Spam-Status: No, score=-2.003 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_BL=0.001, RCVD_IN_MSPIKE_L3=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=mail.zgclab.edu.cn
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uD9PPErAc0mz; Thu, 19 Sep 2024 20:34:13 -0700 (PDT)
Received: from zg8tmtu5ljy1ljeznc42.icoremail.net (zg8tmtu5ljy1ljeznc42.icoremail.net [159.65.134.6]) by ietfa.amsl.com (Postfix) with ESMTP id 7D578C15155E; Thu, 19 Sep 2024 20:34:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mail.zgclab.edu.cn; s=dkim; h=Received:Date:From:To:Cc:Subject: In-Reply-To:References:Content-Type:MIME-Version:Message-ID; bh=UPsSMOPYanXUnHusmmBZy+DJrEswQYeEsNDjR1dBs+g=; b=PjYtN4u/YiLkL a0TdMlra5IoQQBYcajnJL+b41/QjzHvRykVj+CDf9+RsKdbyZbu+ApFXw2cYWOpG HpOml72kuKGS7b4unvL0wgeYAP0b4pQNk6sB+mO0D9/0cr1TVZOz0jV+tgd3FXT4 WwQt44RqML9n6HFL9nwra6xNdUz0Ho=
Received: from qinlc$mail.zgclab.edu.cn ( [58.206.203.67] ) by ajax-webmail-web4 (Coremail) ; Fri, 20 Sep 2024 11:34:05 +0800 (GMT+08:00)
X-Originating-IP: [58.206.203.67]
Date: Fri, 20 Sep 2024 11:34:05 +0800
X-CM-HeaderCharset: UTF-8
From: Lancheng <qinlc@mail.zgclab.edu.cn>
To: "Sriram, Kotikalapudi (Fed)" <kotikalapudi.sriram@nist.gov>
X-Priority: 3
X-Mailer: Coremail Webmail Server Version 2024.1-cmXT5 build 20240729(6d2960c6) Copyright (c) 2002-2024 www.mailtech.cn mispb-4df55a87-4b50-4a66-85a0-70f79cb6c8b5-tsinghua.edu.cn
In-Reply-To: <SA1PR09MB81427BF35435B71A2EF0476F84632@SA1PR09MB8142.namprd09.prod.outlook.com>
References: <5572DAB4-D268-46CB-A2B5-9EAD30674827@vigilsec.com> <SA1PR09MB81421A4738488D4AFE4F69CA84952@SA1PR09MB8142.namprd09.prod.outlook.com> <9f3de82.c781.1919d46dbfd.Coremail.qinlc@mail.zgclab.edu.cn> <a781d41f70f44ad4b432dc070622b0eb@akamai.com> <169d93be.328e.1920347e48c.Coremail.qinlc@mail.zgclab.edu.cn> <SA1PR09MB8142221B79820CB22EEDF7CB84622@SA1PR09MB8142.namprd09.prod.outlook.com> <7e9bcbbc.41c0.19208d7623f.Coremail.qinlc@mail.zgclab.edu.cn> <SA1PR09MB81427BF35435B71A2EF0476F84632@SA1PR09MB8142.namprd09.prod.outlook.com>
Content-Type: multipart/alternative; boundary="----=_Part_86377_406107502.1726803245948"
MIME-Version: 1.0
Message-ID: <59157c62.6132.1920d7e7b7c.Coremail.qinlc@mail.zgclab.edu.cn>
X-Coremail-Locale: en_US
X-CM-TRANSID: ywQGZQAXA_gt7exmwsB0AA--.9617W
X-CM-SenderInfo: xtlqzuo62juzldeovvfxof0/1tbiAgAGBmbr6HfHaAABs+
X-Coremail-Antispam: 1Ur529EdanIXcx71UUUUU7IcSsGvfJ3iIAIbVAYjsxI4VWxJw CS07vEb4IE77IF4wCS07vE1I0E4x80FVAKz4kxMIAIbVAFxVCaYxvI4VCIwcAKzIAtYxBI daVFxhVjvjDU=
Message-ID-Hash: 4V5EMVUVDIJQNFREWB6KOPXRNSVBYJM2
X-Message-ID-Hash: 4V5EMVUVDIJQNFREWB6KOPXRNSVBYJM2
X-MailFrom: qinlc@mail.zgclab.edu.cn
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-sidrops.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: "Lubashev, Igor" <ilubashe@akamai.com>, IETF SIDRops <sidrops@ietf.org>, "savnet@ietf.org" <savnet@ietf.org>
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [Sidrops] Re: Call for Adoption of draft-li-sidrops-bicone-sav-04
List-Id: A list for the SIDR Operations WG <sidrops.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/sidrops/e_AYEIHHhdV5WYRMUsyPgeNAonw>
List-Archive: <https://mailarchive.ietf.org/arch/browse/sidrops>
List-Help: <mailto:sidrops-request@ietf.org?subject=help>
List-Owner: <mailto:sidrops-owner@ietf.org>
List-Post: <mailto:sidrops@ietf.org>
List-Subscribe: <mailto:sidrops-join@ietf.org>
List-Unsubscribe: <mailto:sidrops-leave@ietf.org>

Yes, it helps. I agree with you that a blocklist cannot contain all unallocated & unrouted IPv6 prefixes, which is a very huge IP address space. It seems to me that there would be two ways to improve the use of blocklist.

1)     Loose uRPF + bicone’s blocklist. It is recommended that an AS uses loose uRPF and bicone’s blocklist together to check data packets from a customer or lateral peer AS. Loose uRPF will block source-spoofed data packets using unallocated/unannounced source addresses and bicone’s blocklist will block source-spoofed data packets using provider cone’s source addresses.

2)     Manual configuration. Bicone SAV aims at generating a blocklist that contains prefixes only belonging to the provider cone. Network operators can add/remove prefixes (e.g., special purpose prefixes) to/from bicone’s blocklist according to their own needs. How to modify bicone’s blocklist is an operational issue and requires operations recommendations.

Overall, the advantage of the blocklist over the allowlist is that even though it is incomplete, it would not have improper blocks (if it would fix case 3.2 as mentioned earlier) while can block more source-spoofed packets than solely using Loose uRPF.

More comments and suggestions are welcome.




Best,

Lancheng




-----Original Messages-----
From:"Sriram, Kotikalapudi (Fed)" <kotikalapudi.sriram@nist.gov>
Send time:Friday, 09/20/2024 06:33:41
To: Lancheng <qinlc@mail.zgclab.edu.cn>
Cc: "Lubashev, Igor" <ilubashe@akamai.com>, "IETF SIDRops" <sidrops@ietf.org>, "savnet@ietf.org" <savnet@ietf.org>
Subject: RE: Re: Call for Adoption of draft-li-sidrops-bicone-sav-04



>Lancheng: Can we add these special prefixes (that would not be used as a source IP address) into the blocklist

 

It is not just the special purpose prefixes. Think about how you would add to your blocklist all the prefixes corresponding to the unallocated & unrouted (and allocated & unrouted) IPv6 address space. Relatively only a little IPv6 is allocated & routed currently. So, there may be a minimum on the order of 2^32 = 4 Billion unallocated/unrouted /32 IPv6 prefixes. Or, there may be a maximum on the order of 2^48 = 256 * Trillion unallocated/unrouted /48 IPv6 prefixes.  In any case, if one is able estimate and list them all (keep in mind it is quite dynamical), the number is many orders of magnitude larger compared to the number of prefixes in Loc-RIB (which is about a million at present).  

>> So, in the end, it is an allowlist SAV (not blocklist). It is essentially the loose uRPF method with some prefixes removed. IMO, there is no concept of “blocklist” that can work as a SAV method.

>Lancheng: I do not think I understand this. According to the definition in [1], I think bicone sav uses a blocklist instead of an allowlist.

Does the above help in understanding?

Sriram

 

From: Lancheng <qinlc@mail.zgclab.edu.cn>
Sent: Thursday, September 19, 2024 1:53 AM
To: Sriram, Kotikalapudi (Fed) <kotikalapudi.sriram@nist.gov>
Cc: Lubashev, Igor <ilubashe@akamai.com>; IETF SIDRops <sidrops@ietf.org>; savnet@ietf.org
Subject: Re: Re: Call for Adoption of draft-li-sidrops-bicone-sav-04

 

Hi Sriram,

Thank you for the comments.

> Because it currently admits all special purpose prefixes (https://www.iana.org/assignments/iana-ipv4-special-registry/iana-ipv4-special-registry.xhtml ), unallocated prefixes, and allocated but unannounced prefixes (not intended to be announced; having no ROAs).  For fixing this issue, bicone must be modified to use the approach of allowing all prefixes that are in the Loc-RIB [RFC 4271] minus the list of prefixes that can be perceived to originate *only* from the provider cone. 

Lancheng: Can we add these special prefixes (that would not be used as a source IP address) into the blocklist?

> So, in the end, it is an allowlist SAV (not blocklist). It is essentially the loose uRPF method with some prefixes removed. IMO, there is no concept of “blocklist” that can work as a SAV method.

Lancheng: I do not think I understand this. According to the definition in [1], I think bicone sav uses a blocklist instead of an allowlist.

> Even after doing the above, bicone still has no real directionality property to speak of.  It is only marginally better than loose uRPF.  It will still have improper blocking – in some multihoming scenarios with prefixes that are invisible in the CC.

Lancheng: IMO, the primary goal of SAV is avoiding improper blocks and then reducing improper admits. In terms of avoiding improper blocks, bicone sav would be better than existing allowlist-based SAV. In terms of reducing improper admits, bicone sav is better than loose uRPF. We are improving the current design of bicone sav to further eliminate improper blocks.

[1] https://datatracker.ietf.org/doc/draft-huang-savnet-sav-table/

Best,

Lancheng







-----Original Messages-----
From: "Sriram, Kotikalapudi (Fed)" <kotikalapudi.sriram@nist.gov>
Send time: Thursday, 09/19/2024 06:25:19
To: Lancheng <qinlc@mail.zgclab.edu.cn>, "Lubashev, Igor" <ilubashe@akamai.com>
Cc: "IETF SIDRops" <sidrops@ietf.org>, "savnet@ietf.org" <savnet@ietf.org>
Subject: Re: Call for Adoption of draft-li-sidrops-bicone-sav-04

Hi Lancheng and coauthors,

 

[Igor wrote:] “… The “cost” is an improper admit of all prefixes originated solely by the AS’s customers and peers as well as an improper admit of all unannounced prefixes (although the latter can be easily fixed).”

 

In the process of fixing this, you’ll see that bicone SAV turns into an “allowlist” proposal as well.  To me it feels incorrect to position bicone as a “blocklist” SAV.  Because it currently admits all special purpose prefixes (https://www.iana.org/assignments/iana-ipv4-special-registry/iana-ipv4-special-registry.xhtml ), unallocated prefixes, and allocated but unannounced prefixes (not intended to be announced; having no ROAs).  For fixing this issue, bicone must be modified to use the approach of allowing all prefixes that are in the Loc-RIB [RFC 4271] minus the list of prefixes that can be perceived to originate *only* from the provider cone.  So, in the end, it is an allowlist SAV (not blocklist). It is essentially the loose uRPF method with some prefixes removed. IMO, there is no concept of “blocklist” that can work as a SAV method.

 

Even after doing the above, bicone still has no real directionality property to speak of.  It is only marginally better than loose uRPF.  It will still have improper blocking – in some multihoming scenarios with prefixes that are invisible in the CC.  OTOH, I think no improper blocking can be achieved in BAR-SAV through appropriate recommendations, certainly for ASes doing SAV that are one to two levels above the stubs where SAV is most effective.  We’ll provide details in the next version of the BAR-SAV draft.

 

Thanks.

 

Sriram