Re: [Sidrops] WG Adoption call draft-azimov-sidrops-aspa-verification

"Sriram, Kotikalapudi (Fed)" <kotikalapudi.sriram@nist.gov> Sun, 03 March 2019 01:36 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 5A6501200D8; Sat, 2 Mar 2019 17:36:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.002
X-Spam-Level:
X-Spam-Status: No, score=-2.002 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=nist.gov
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 zXxANYWm2IoG; Sat, 2 Mar 2019 17:36:10 -0800 (PST)
Received: from GCC01-CY1-obe.outbound.protection.outlook.com (mail-eopbgr830131.outbound.protection.outlook.com [40.107.83.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8F72412785F; Sat, 2 Mar 2019 17:36:10 -0800 (PST)
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=E0fmLGHqXh3eQKL6JGSOpHZDZ5+/7/hDIuG0MgLXzvM=; b=j7mJ36bhnHEzgoA97YPbWzHaOgCcVSegfo0kkm1gEei5pRbgCyNH4/gKu8LZurDQddofpC19QKvi4UJsqaJYERBoXLFh72JXGE2ojMethWRmxSvTvt3KToppbXRm+3rnjFcDMIsr3GlCyOlF+INH0BY8Ab3UoFgLIT53LGNMdOg=
Received: from SN6PR0901MB2366.namprd09.prod.outlook.com (52.132.115.159) by SN6PR0901MB2368.namprd09.prod.outlook.com (52.132.116.13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1665.18; Sun, 3 Mar 2019 01:36:08 +0000
Received: from SN6PR0901MB2366.namprd09.prod.outlook.com ([fe80::5c3a:f8a5:80dd:2d85]) by SN6PR0901MB2366.namprd09.prod.outlook.com ([fe80::5c3a:f8a5:80dd:2d85%5]) with mapi id 15.20.1665.017; Sun, 3 Mar 2019 01:36:08 +0000
From: "Sriram, Kotikalapudi (Fed)" <kotikalapudi.sriram@nist.gov>
To: Alexander Azimov <a.e.azimov@gmail.com>
CC: "sidrops-chairs@ietf.org" <sidrops-chairs@ietf.org>, "sidrops@ietf.org" <sidrops@ietf.org>
Thread-Topic: [Sidrops] WG Adoption call draft-azimov-sidrops-aspa-verification
Thread-Index: AQHUz46GzEO4+XNrd0q8gcAsK5oxyqX2kuYAgAKHMLA=
Date: Sun, 03 Mar 2019 01:36:08 +0000
Message-ID: <SN6PR0901MB2366F6BAAB2E8E1B3DDD5E2084700@SN6PR0901MB2366.namprd09.prod.outlook.com>
References: <SN6PR0901MB236620AD0F6209170C9BD9A384750@SN6PR0901MB2366.namprd09.prod.outlook.com> <CAEGSd=AF=1Tf0-fL5Cy6uRx71nA0sCuSYbtKCUKQEoNvw=8B3w@mail.gmail.com>, <CAEGSd=CEUKDbuabEaqPznBvVa1kJ+9GgBD8y_YumoUDK=cdAQA@mail.gmail.com>
In-Reply-To: <CAEGSd=CEUKDbuabEaqPznBvVa1kJ+9GgBD8y_YumoUDK=cdAQA@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=kotikalapudi.sriram@nist.gov;
x-originating-ip: [129.6.219.64]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 26171441-ceed-44fa-ad38-08d69f789c3f
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(4618075)(2017052603328)(7153060)(7193020); SRVR:SN6PR0901MB2368;
x-ms-traffictypediagnostic: SN6PR0901MB2368:
x-ms-exchange-purlcount: 3
x-microsoft-exchange-diagnostics: 1; SN6PR0901MB2368; 23:sT1gdMp3Lxu284YOtCZ/iIWW8xxPc8g7Kign50ZhEs2R+P7vQln0J7C8TlOeklTix11qb5VJ1/uCx3ng+lZBd8efraTDoeNdU0FvPUktEJ3uRwnwIl/vOhOtUKxxOGId8VWQsFqNi6RC8IRp//fSUPf1XaWrhnIbjFzjYcCVk5NV+QRuYjsd/nb0OYOLauytblH1+XPndDn6Lk7JDYXSaX4+360SpCYWqFCoKyEtu5BfDxyoMyoKnsmjBTTSf8CW8A0cfhustXJhQs9H5Cp0Pqg65QO1gWkotMrTngemhaz2h/VpjSFWcFmYreeldPF0WDt/4NOnX71vaKGAV7SsjsEFnYM0frLTbYnLw5eQ+yKGqY6G4F73er7SHNEVyDJ6nwyHPPnb8p/cQlTVjXKgnm33LX3m4Lp0MgUXRqDz4gwp78jqX9hhXu7gkcg2dLORgJxFLkZQp3RmerjUopyBFdTXGAGzZ3FkXkbmJ0GnoQ6eFEHP+v5U1Pxxai0udseD7pzdB6GA7XNFlJOC+QuO41nPmxosz7DzCWXQx7JNEjaOyBRq5bBwKMOKTJAzswatsJBrHogUCB6URep3MFK/zmqNZ+RMiAiwGy5zHh1fCT/hSyLQF9+b3Z9kqmRAkWryYGpDPxjQTW8BOYawN6UNaMyFEmolRXpa5t8qYAt8FohXUHcIBxP2wEdil01VDuKp6FtOEsxKtYw6urzGneLDAzrfiaE4SnmPGPDx+Cwrc42oPXmo+ykkhSMvHTNxTy11sVUNQEge0GfFoU8K7mLsUECCxuAnNzsuVc8OyUKZavy/No1ZMvgW3V9euQHtBwP5WIy22CJb1lMTI8IC7oXcX0GcosXhg97xfhPq68y02iDTThKHlA4Cmdu+RoZuP/hm1+WA+6NWzk/M6gqQCXISPZ0FXwHKzib7+fJHTjdsEZxNyF31E7js/w+TApZ8batLB8FI7KD3eVg9VDzAaSFYMr2h9QnLlOo3oBqRznS2DbOWWr+/NdlEf5npLlEXrRQa17/N11eoiMX1o3CSc26o1Y6K1qaPJSHq38TstQm5wRFIWptdUaw5RYjPtFNdUv3ScFGuhZmBc64xDbDmgiPJ89+8W/nsJDLOzTm9yI78cu1nS6HchQDtCIuaTwveEBYRQ55NY+rEdBYdCVZdC9AFtzgANhUJJCBw9/ZXlnwNukmzconBnftoDRzRaEsMJ+mU0xaZNYzCZ72kXUfh04KX2FdkHyjUc+x1bVuU3CsrBlpkqvJjBoZVelhtlMgfbYfdkU7ODXaeVqF72poOMSGUJwhPdDFWnuq3qf36qeYowZvb4aeAlxhOnCtELTSNfcANgjh7f7Yiys9wHQVKmzfKzUWrguAkWwx5Iov5sxbIWnI=
x-microsoft-antispam-prvs: <SN6PR0901MB2368A098213967D4D2DCA52484700@SN6PR0901MB2368.namprd09.prod.outlook.com>
x-forefront-prvs: 096507C068
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(366004)(346002)(376002)(396003)(136003)(39850400004)(52314003)(189003)(199004)(33656002)(11346002)(446003)(8936002)(86362001)(305945005)(7736002)(6506007)(68736007)(26005)(15650500001)(486006)(74316002)(316002)(2420400007)(476003)(97736004)(76176011)(25786009)(81166006)(105586002)(8676002)(106356001)(54906003)(102836004)(6116002)(3846002)(81156014)(53936002)(99286004)(66066001)(6916009)(55016002)(6436002)(9686003)(6306002)(7696005)(5660300002)(71190400001)(71200400001)(256004)(14444005)(6246003)(52536013)(14454004)(229853002)(4326008)(186003)(966005)(2906002)(478600001)(10710500007); DIR:OUT; SFP:1102; SCL:1; SRVR:SN6PR0901MB2368; H:SN6PR0901MB2366.namprd09.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: nist.gov does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: mXmDAYIpsXOHuVWiJnMd+epwKNSTs86riB1iCWVO1rEqgTZJaKjb5W3J2qbY7TDZTdbQfIAuB3wVnRY1xmP2XvgmW/PFp/WnlXzLNpgWjQz5ESRaHepgtknPHp1TVNoI/VghGcnouh94TA07LwnA9E+NJfpsMMyRfJ+Lauleu5z06ToDtvmBMbFgTdC8ylGyeNczOhtEazbE9ZjECfMFZIiMhMPTGYT4JFXRfNyKor5cgAyli8W4bILbA83BUxt+cqw7vHL407WetkI8bdZtbLUmU6J3wK1AXmmlj39SJirDpj119baryDNr6TszVlY6CRqIX7LBTRee1dJLCvwepFPv9MaP9oTjjO1M/lV+Mt1LKrKWZ1R2g/WBzKAGzjtrF4BgMJuJ+vA2SSuxD31lw7TqwFsoUOmsoSLIKjg/OuI=
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: nist.gov
X-MS-Exchange-CrossTenant-Network-Message-Id: 26171441-ceed-44fa-ad38-08d69f789c3f
X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Mar 2019 01:36:08.4133 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 2ab5d82f-d8fa-4797-a93e-054655c61dec
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR0901MB2368
Archived-At: <https://mailarchive.ietf.org/arch/msg/sidrops/4kmW50xJPlK7rNjREZicWFbdGG8>
Subject: Re: [Sidrops] WG Adoption call draft-azimov-sidrops-aspa-verification
X-BeenThere: sidrops@ietf.org
X-Mailman-Version: 2.1.29
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: Sun, 03 Mar 2019 01:36:15 -0000

Hi Alex,

So, yes there are things we need to careful about in the design.
Also, got to be careful about claiming, “this mechanism
guarantees detection of both malicious and accidental route leaks”. 

There is a new Comment #0 that I have added here.
And I have other comments inline below. 

Comment#0:
One more thing occurred to me. This is very basic. 
Consider these frequently occurring examples of route leaks:

AS1 (Tier 1)----P2C---->AS2 (customer)----C2P-----> AS3
AS1 (Tier 1)----p2p---->AS2 (Tier 1)----p2p-----> AS3 (Tier 1)

AS2 leaks the route learned from AS1 in both cases above. 
AS1 being a Tier 1, never has to create an ASPA (has no providers).  
Regardless of whether AS2 created an ASPA or not,
AS3 is not able to detect the leaks in both cases above
(per algorithm in the draft).
This same issue arises even in the example of Comment #2
if AS3 in that example were a Tier 1.

>>Comment #1
--- snip ---

>Can you please clarify to me next scenario with three ISPs: 
> - Victim advertises /23 to Upstream, does use BGPSec, 
>    has ROA record with maxlength 24
> - Upstream, does use BGPSec
> - Attacker, advertises /24 that belongs to Victim, adds its ASN at 
>    the beginning of ASPath, doesn't use BGPSec
>Will Upstream, according to RFC8205, accept the hijacked route from Attacker?
>Anyway, I'm open for discussion about proper wording here.

The idea of a BGPsec cloud (some call it island) needs to be understood.
I hope you had chance to read RFC 8205 Section 7.9 – 
the idea of contiguous BGPsec ASes.
A group of contiguous BGPsec ASes decides that they 
require signed updates (i.e., BGPsec) from Day X *within their cloud*. 
What that means is that they have knowledge that they are 
contiguous (all connected to each other by some # of hops),
and they all do BGPsec. And they decide that BGPsec must be done
end-to-end within their BGPsec cloud. 
Then from Day X, they require signed/valid paths for prefixes 
that *originate within their BGPsec cloud*.
(Prefixes originated from outside the cloud may be unsigned
and may possibly be subject to signature stripping.) 
Then in your example, the attack is not possible within the cloud
(i.e., if attacker strips the signatures for any prefix that originated 
in that BGPsec cloud, his unsigned update is Invalid and not accepted;
it would be the same as the attacker himself suppressing the update.)

The wording I can suggest is: 
BGPsec [RFC 8205] is computationally expensive and it is uncertain 
when its adoption/deployment may happen.

Just FYI…
BGPsec is computationally expensive but there are optimization
efforts that may be helpful (if BGPsec adoption ever gets going):

http://www.freepatentsonline.com/y2019/0036943.html    
(Juniper’s BGPsec optimization patent)

https://www.nanog.org/meetings/abstract?id=3043 
   
https://www.sciencedirect.com/science/article/pii/S0140366417303365   

 >>Comment #2: Improvement of the algorithm for detection
---- snip -----

> This suggestion sounds great but it has an issue. Imagine that AS3 and AS4
> have what is commonly named 'complex' relation. So they are both
> customer-provider to one another. And in your scenario, where only AS4
> creates ASPA it may result in rejection of valid routes, which will make
> AS4 quite unhappy...

Yes, agree. ASPA has a shortcoming nevertheless.

>> Comment #3:
--- snip ---

> Fully agreed. Simplicity comes with its own cost.
> And that's why we still need community-based leak detection that can work
> per-prefix. And it's our duty as-coauthors (and my debt, which I need to
> admit) to finally push it forward.
> I'm going to add an explicit statement in the next version of the draft.

Yes, the per-prefix solution (existing WG draft) is a necessary component.

>> Comment #4: Not all malicious leaks / hijacks are detected
>>
>> In the topology below, AS2 leaks the path it learned from its peer AS4 to
>> its provider AS3 with path modification to avoid route leak detection,
>> or one may think of it as a hijack with feasible path insertion.
>> In either case, the Update: p2 AS2 AS1 from AS2 to AS3 is
>> illegitimate but defies detection despite all ASes participating in ASPA.
>>
>>          AS3                                                              AS5
>>               \  p1 AS2 AS1                                     /
>>                 \ p2 AS2 AS1                                 /
>>                    \                                                 /
>>                      \         <----p2 AS4 AS1--    /
>>                        AS2 -------p2p----------AS4
>>                           \                              /
>>                              \ p1 AS1           /p2 AS1
>>                                  \                 /
>>                                       AS1
>>                                    (p1, p2)
>>

> Thinking about it as hijack adds simplicity to the picture. Customers may
> still be hijacked by its direct or indirect providers. While it
> significantly limits the attacker vector and highly unlikely to happen in
> the real world, it must be clearly stated in the draft. Pushed to stack.

It is both. Hard to rule out malicious leak with path modification.
When considering malicious scenarios, the above would not be unlikely.
I think this is typically what the determined attacker (AS2) might do to
maliciously increase their revenue.  

>> Comment #5: Path verification vs. path feasibility
>>
>> Based on the above examples, in the draft, perhaps it is better to say
>>
>> that the path is assessed feasible rather than say that the path is
>> verified.
>>

> I'm not a native speaker but for me 'feasibility' sounds a bit odd. I
> would be glad to learn other opinions from the wg members. Anyway, this
> question should not become a showstopper.

BGPsec provides hard assurance that path seen in the update is correct.
ASPA can provide confirmation that the path is possible/feasible.
It cannot assure that path seen in the update is the actual path
that the update traversed. This is clear from the above example (Comm. #4).

We can meet in Prague. I'll be happy to discuss 
and we can try to help resolve these (to the extent possible). 

Thanks.

Sriram