Re: [Sidrops] ASPA verification questions

"Sriram, Kotikalapudi (Fed)" <kotikalapudi.sriram@nist.gov> Sat, 17 December 2022 20:23 UTC

Return-Path: <kotikalapudi.sriram@nist.gov>
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 402A6C14F740; Sat, 17 Dec 2022 12:23:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.859
X-Spam-Level:
X-Spam-Status: No, score=-2.859 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FROM_GOV_DKIM_AU=-0.759, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-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 (2048-bit key) header.d=nist.gov
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 06U3JjUzhBso; Sat, 17 Dec 2022 12:23:11 -0800 (PST)
Received: from GCC02-BL0-obe.outbound.protection.outlook.com (mail-bl0gcc02on2113.outbound.protection.outlook.com [40.107.89.113]) (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 48BBAC14F720; Sat, 17 Dec 2022 12:23:10 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XlRhDHAWf6Qaf8jsGLZIcAj4FbKsZsPOpNQp8uPMQk9C9Zwdf9fflvHOFKJyaMkE57pUGk7dFqTYK3pHaXdlbedOfiJ9EVcgDx0/t1nFUZvHoaFW83ZIriEU6A1bIBVs4O6IsFe7t67yiDpDGsnaNzRPS8b7qu0GI/ow59sMOY2tZYtKjS6OIUIImHjnywhx20JFSMvRGwGlBZVKAdRwtf8MVBs3BWQGO93vGxwJ+pBMbEZFHbTfDvbpby/5M/SVYzYyb0EiI1NqOaZf8RSkSaKON9W4aX2aqqTBeAx/B0cVeXRNUlSF0qR872CjxqDukxNqpbb55fLJuO1LKKUdow==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=yO+jdhC/4ZjZZVeVwnXjyDqpS5v/p9iod5ADP7edT1o=; b=FBJrFB3ItxqPLkKKWJC2FzaAUOcSzPoDk6XVi4u9IN/kkBf+Rgoj1zAYuFujMYdT5KkOKRbkVyMgKDO+5jyA3Djj0FiDud6Tlrzn0fgow8d/Z8bwURZWEug4LhO+3ndihrNTV9JWcfUnrK24XTf7rBJsnsFHP7aIVf9EfKxsmAfyPxW2xyj0xSO6mLiRThSHtlzeDEkJMWp8j3JwLhYwb6AA4ekC+35gLS7X3fgygAUtGMT0hB6yWJBszMBk8GZp1oTS/hDosKczdDggYsKXfCax7XCuioDHyBqIrHFBaDZbhXV6aQYof0cu+QR6TwX5IA5PwXi70lUhojWhruTiyA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nist.gov; dmarc=pass action=none header.from=nist.gov; dkim=pass header.d=nist.gov; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nist.gov; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=yO+jdhC/4ZjZZVeVwnXjyDqpS5v/p9iod5ADP7edT1o=; b=UeEQ/qpf/+0zhaKqqYXRpnRp8PQ+9Xvr4manj0jA8uGb7tCidVAlmbKoED/nsk172ISCXxXneTvPAg8Y5Py1O1Q2j8C4jF2UdmwBe8RGT3dhudyDLBfpKA9k2t6I7M4cKark6xd3pt1SkLT6Y17qM+/NZTpxeX7lwH5fE/v6ABWNtZvGx35591zHvXrLWzfSC4XlKqSQQUxV9dH11VlN8SLyVqf4IZbzsTzsRQblAHyfDweF0kyJ/yxwHf951hXLzUhrjISFMjKcaO67G98X0HnjBHFNFb9SkfuP7FPymVoiDHtqLS4pUHjl1tG9la3OEeMvyn1aU3uTWj+RSnn3uQ==
Received: from SA1PR09MB8142.namprd09.prod.outlook.com (2603:10b6:806:171::8) by MN2PR09MB5978.namprd09.prod.outlook.com (2603:10b6:208:213::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5924.16; Sat, 17 Dec 2022 20:23:05 +0000
Received: from SA1PR09MB8142.namprd09.prod.outlook.com ([fe80::d449:203d:fe:2568]) by SA1PR09MB8142.namprd09.prod.outlook.com ([fe80::d449:203d:fe:2568%4]) with mapi id 15.20.5924.016; Sat, 17 Dec 2022 20:23:04 +0000
From: "Sriram, Kotikalapudi (Fed)" <kotikalapudi.sriram@nist.gov>
To: "sidrops@ietf.org" <sidrops@ietf.org>, Zhuangshunwan <zhuangshunwan@huawei.com>
CC: Claudio Jeker <cjeker@diehard.n-r-g.com>, Job Snijders <job@fastly.com>, Ben Maddison <benm@workonline.africa>, "draft-ietf-sidrops-aspa-verification@ietf.org" <draft-ietf-sidrops-aspa-verification@ietf.org>, "draft-ietf-sidrops-aspa-profile@ietf.org" <draft-ietf-sidrops-aspa-profile@ietf.org>
Thread-Topic: Re: [Sidrops] ASPA verification questions
Thread-Index: AdkSU3AaghH+axTiSwa+rbB+0zb1JQ==
Date: Sat, 17 Dec 2022 20:23:04 +0000
Message-ID: <SA1PR09MB81423440F2500978987B876684E79@SA1PR09MB8142.namprd09.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nist.gov;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: SA1PR09MB8142:EE_|MN2PR09MB5978:EE_
x-ms-office365-filtering-correlation-id: cadf7056-49b9-4d02-958c-08dae06c80de
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: qv1RQ2RBVhaisx1nApi01OhpAHGfpANKca/mUrQTEJXLYIJSY71IAGUPnPH5s3ntcpHf4nbaA/gDccuoRGjuHEGGwZybU3ZXTWh/PtcH4lJh83cVqByiZCFXkW8L+v3A2hnzmD8K/hSw2CIBUrszKBWU6Ms8ZNWnGPACeScGJF6uH7+G5T6p1Jz0ln+n9ZUYIAYV7/lPjL5YlkBE+zMTYPkq9ApkPSsxRma1pRfs8/2lZKqQTLqS/58a6g9rzw9v6wvWnL4u70ed82xSTgBIbj2xLzIiuaik/jbBW1bsNcZ4nyKTpfdgzniC8Lyr3nUG5UmDb3YHbwoOKWPtUcVkbxA1hYSfFeG0dGw8MKehLbu0Fk7cwUE/l/MERaO2qm3nnnPNsBIpAvYxh+l6xKoNqzizeFOCHFSscQfav3cGN0fNes/Iv5JmI64vTcuBZGRbruJ69qdSI7H61tqoelDhNizi5vVZnuVQ494wuvldqurhRUULxa18yFLE8meFN4x4zizwbQpJbXx6z0WXG9Ke0hoqYxnKtGsIflPMsmZLRc9JSDjE1nAH4UDOv8sHe5gkWXdIX54sxupfXwGWei3JEVA6upusPB7HJwEvovnw1snmECcvNPQd/jY4JII60WERH1RzKVK54luQVKTknE/577LdV22A2+/C/ZxgIR1X6GZi8ESMKtJsaqDBLkXsaiclYYa6htkafuHO9HJ6Zcbzbw==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SA1PR09MB8142.namprd09.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(366004)(451199015)(38100700002)(82960400001)(86362001)(53546011)(71200400001)(9686003)(186003)(2906002)(26005)(6506007)(7696005)(498600001)(110136005)(33656002)(52536014)(122000001)(8936002)(15650500001)(55016003)(54906003)(76116006)(66946007)(66446008)(4326008)(8676002)(66556008)(64756008)(66476007)(5660300002)(66574015)(83380400001)(38070700005); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: GazHFY/XcagLfaRRIz7GHgPYBT7vsaVYaMQoq7ebojio4hmGKOaa0OIPmFMlz05X86WI6Z4UK5KOv1DwxPKKtNJgQ/B6Ao6a6Kv3E7+cFOr4aYfKQCq5Q16fBNKi+l4ZsSEHuhlNVAPwO1WZeg/NcHUOzoZ7VRMuYxydUp1P/hys0fnyOJZEM99RYcNBum3eInqIZY/f1vhhubTL5xpkqAa01rJ87gmW5NkfbwJdelok2hsdcCgsP6/CVCEqT+ieJuf+vnAQVuDXrMv0rtJBVUUZ3JriAB/V+Jg6NZVgPI33CnVxhCcKyn/U1MrTG/0pSecBem5V/OV+ReTw21JnmyngwfXKIxUwEKtOR9xUPB1V0IFu5Bib6AKuIdUep7pdPrpnA6WKoNfKmZqI561i2/AIY3z6Ee9z8p9tSd3qbHusHXzBKFRmysEV1RYg4d6ex2CRKcmNZNQqc3N2mo60tBh50kNG10WiM/ilmzpNwOLDf7epVPXTx6LkQ8poalJr08UDkzfdydqJ8KqfZNT+7Ahax3WeIPXSUjD5enX4fSLwpf9IWsryvzb7hx3HGHOMThCO11hebETJ+AjpCEo56+9p5C3HX8VMxNceM40Cvw8rA1HtRZd741OB0guBoB9OwHH5UddTT3Pq3/lyhaF05GfKc4n5+4HvfgUs5LCXs4qiIjabaHBUVYLt2bOUXGGov1CS1ZabqB+7TE44jjRwhIe8yXX3MMSPkCJOlno1o8nVUC9j09ergMX2Tiu1ousJVM6XdGZrZltOYRyycpJ/RrVElj+LeYzLMT1EvMknHeg49KTHS+XSwd8Fw4IyLPv7MJJXXu7q37MoKLaJRxGdFGpclCAh8RC+ltqO8VuQMs/Vi51JJpX12BRqbtLEQhdaN4gGCZVYA64IHdU5QkkfdKzV6i9wEkCUva7dCKgIMw1YHQOYVyxxKH8FnuxFoFMJpxY4aM9ITh1s6AgEV6vrf00BSdj3CLzezDMglk1ZgCpfhqKFF0sKQ3YlkVRdHEONpMzBvPdGsld0qNaVXWzG/kramAr8sdVQmh+0/cUmrYNCspYnOyNLA56aDx0qcGWZqN1llpFmT7iJ76ghCIXHqKWSqFlc44DLKtWZCr1iFC2hHjZQXJtIp4QrBbGkLlH0ozRxVuwzIesUpWyJxraJ67CZU94YgbTYB9ryE0Zgnn2p7i5ThnELvYT50I71hMJUseoz/onQ+92QSHWRaP22xrc5ta1x51t5uo4j9kdiisZXVMQZS+1hYFpumGdowydVtQQRgB8pDS7uOsFO2H2LC2psXkIJlOtYLy3myv0fde3dt07GOsjjU4Dt44z6EP+st9dis+Jv2sBnWc4kyF/XBMg3CWTOvJ7nxEylyT70aOehEATGuA5t0gGjWI0Fgv7xuBRy0i/6n0CB2u9Mnb2iZPNo6vyLXPA0kRmxhECjd2wcAweT0LqYZofQD1Snse9LWpr3aFERtB/nzUD5AnM/qLeV5F1hzm/Ifr2Is/xg0w0Ew8s4girX7c9wSWtuAm4szAWaWLtrrKHGzH+fYY1yhj2RGgs1hlS1xByzWYcg5Vg=
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: nist.gov
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: SA1PR09MB8142.namprd09.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: cadf7056-49b9-4d02-958c-08dae06c80de
X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Dec 2022 20:23:04.9351 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 2ab5d82f-d8fa-4797-a93e-054655c61dec
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR09MB5978
Archived-At: <https://mailarchive.ietf.org/arch/msg/sidrops/bO9Ok6YdCDKBpzAp97xvum63HnA>
Subject: Re: [Sidrops] ASPA verification questions
X-BeenThere: sidrops@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: A list for the SIDR Operations WG <sidrops.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/sidrops>, <mailto:sidrops-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/sidrops/>
List-Post: <mailto:sidrops@ietf.org>
List-Help: <mailto:sidrops-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sidrops>, <mailto:sidrops-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 17 Dec 2022 20:23:16 -0000

I agree with Shunwan. The AS has local knowledge of peers and configuration is maintained locally for each peer relationship. 

Note: Even in RFC 9234, the BGP Role is locally configured first and then the BGP Role capability is exchanged to confirm the relationship with the neighbor. From RFC 9234:

"For backward compatibility, if the BGP Role Capability is sent but one is not received, the BGP Speaker SHOULD ignore the absence of the BGP Role Capability and proceed with session establishment. The locally configured BGP Role is used for the procedures described in Section 5." 

Sriram
------------------------------------

From: Zhuangshunwan <zhuangshunwan@huawei.com> Fri, 16 December 2022 11:41 UTC Dear Claudio,

On an actual running network, the business relationship of each EBGP neighbor is well known to the network administrator.
In my opinion, we can simply add 2 configuration command for ASPA as follows:

bgp 20221216
 peer x.x.x.x remote-as 20221217
 #
 ipv4-family unicast
  peer x.x.x.x enable
  peer x.x.x.x relationship { provider | customer | peering }
  peer x.x.x.x aspa-validation enable
#

Kind regards,
Shunwan

> -----Original Message-----
> From: Sidrops [mailto:sidrops-bounces@ietf.org] On Behalf Of Claudio Jeker
> Sent: Thursday, December 15, 2022 8:59 PM
> To: sidrops@ietf.org
> Subject: Re: [Sidrops] ASPA verification questions
> 
> On Thu, Dec 15, 2022 at 02:35:00AM +0000, Wanghaibo (Rainsword) wrote:
> > Hi Ben,
> >
> > I agree with you.
> >
> > When an ISP wants to do ASPA verification, the ISP should sign its own
> > ASPAs. Then the border router can calculate the peer's role according
> > to that database.
> > When we set a peer's role according to RFC9234, it also makes the
> > calculating easier. But even if we do that, I think we may also check
> > the peer's role configuration whether match the ASPAs, because of
> > misconfiguration may happen.
> 
> I desagree.
> 
> Tying ASPA verification together with announcing ASPA objects will result in a
> much higher bar to deploy ASPA verification at large. It also adds a
> dependency of ASPA verification to specific ASPA objects and will cause
> disruption if for whatever reason the ISP's ASPA object fails to validate.
> Also it may be easier for bigger providers to enable ASPA verification well
> ahead of adding official ASPA objects.
> 
> I see the elegance of the proposal but I think the downsides of using
> Validated ASPA Payloads to control ASPA verification are to big.
> 
> --
> :wq Claudio
> 
> > |-----Original Message-----
> > |From: Sidrops [mailto:sidrops-bounces@ietf.org] On Behalf Of Ben
> > |Maddison
> > |Sent: Thursday, December 15, 2022 2:11 AM
> > |To: Claudio Jeker <cjeker@diehard.n-r-g.com>
> > |Cc: sidrops@ietf.org
> > |Subject: Re: [Sidrops] ASPA verification questions
> > |
> > |Hi Claudio,
> > |
> > |On 12/14, Claudio Jeker wrote:
> > |> Hi all,
> > |>
> > |> I'm working on ASPA verification in OpenBGPD and while I have the
> > |> basic validation algorithm working I have a question that is not
> > |> covered by
> > |> draft-ietf-sidrops-aspa-verification-11:
> > |>
> > |> What should happen with ebgp peers that have no role assigned?
> > |
> > |My personal view (which I have previously discussed, without
> > |agreement, with some of the authors) is that the default
> 'provider/non-provider'
> > |status of an external peer should be derived from the ASPAs issued by
> > |the local AS.
> > |
> > |This obviously needs a knob for override on a per-peer, per-afi basis.
> > |
> > |I would prefer not to have a tight coupling with RFC9234 roles in
> > |implementations.
> > |
> > |Cheers,
> > |
> > |Ben