Re: [pim] draft-ietf-pim-multicast-lessons-learned-02 & BIDIR-PIM

Dino Farinacci <farinacci@gmail.com> Fri, 01 December 2023 22:40 UTC

Return-Path: <farinacci@gmail.com>
X-Original-To: pim@ietfa.amsl.com
Delivered-To: pim@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3AA0FC14F5F1 for <pim@ietfa.amsl.com>; Fri, 1 Dec 2023 14:40:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.105
X-Spam-Level:
X-Spam-Status: No, score=-2.105 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=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 (2048-bit key) header.d=gmail.com
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 hvofcetYy25j for <pim@ietfa.amsl.com>; Fri, 1 Dec 2023 14:40:45 -0800 (PST)
Received: from mail-pl1-x62b.google.com (mail-pl1-x62b.google.com [IPv6:2607:f8b0:4864:20::62b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AF4FBC14F604 for <pim@ietf.org>; Fri, 1 Dec 2023 14:40:45 -0800 (PST)
Received: by mail-pl1-x62b.google.com with SMTP id d9443c01a7336-1d05212a7c5so9260965ad.0 for <pim@ietf.org>; Fri, 01 Dec 2023 14:40:45 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701470445; x=1702075245; darn=ietf.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=5h+dJM8VWDIoliVuPjd/EPmSMAtGjl481Ks4/9n2Guk=; b=NcrOPIpjXNZFe9X28AnrqvL5zzckQUVGQHo+8N2gSHBUtG5F02qN6mCReH4tT9uEA8 aiLghRu2CK0IxeAbNm/6DSG/xIQaK+YRMHwFWWBf9m/w/H3jEDX2fQ8GjFrHjOi5oNbi AqTi5xfUMXdLqtl8Y15hu8ObbH6d2VRiURoV/0+zdckEK11nN48LfRE7IZclOT1blRub lnWS9x5eukuIZj5cuT7ekoE4rLBkxAAjjSNm08ZK1KcAe9hKKjS3CRrxx5E9xiDwsfWk xEVt5s1pezga0lI2D6TrJdCYy3KVDvkZlJiP7rNrcoYi0pcMnXau728c/E4Gcx1qy6eI Ipew==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701470445; x=1702075245; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5h+dJM8VWDIoliVuPjd/EPmSMAtGjl481Ks4/9n2Guk=; b=YJLT3X7Eop13STNDxd1ZCY1QGQwE8x8QkGTxDaj4XhsHLSRxsUgNCy3adMkzMVXHAT owoshtZqv55vaermHY0DDBSdUogZcfMsdLTkluWkI/Jd/vLsB+mc9NR4xNZR48rnKE8l inXUtuUfM5LvrXI4gDveoKaHU1avSpMCw8w5CEsgsSj6vHbxDKBcmEC2pge3YVlLjia4 HaVwcl+gHT1Ybv9oqADXspyRW/XloUX17vW464oEh+jhsM6NI7l638A8yoeqkcUOkDgc brpDKPKTkh719Do6iyM58goJ8zD4nFERAxnP5bacOMxpaYhoPkNf7bRbG3C7H76k5Nux nNdQ==
X-Gm-Message-State: AOJu0YxHyJwfYO16HiVzhiPAA9dvBSs2D363Dfgimd66ccWy8/w8Sj0K oeeEvo1k7geUFbxqebLpw3gaP9vY1Jg=
X-Google-Smtp-Source: AGHT+IFQKug3G8n9wpe5kgd79b7FJCj1k5Lc+d0A6NczOUSrOXvEOfawmaK2l+38fofnXVgYBsLesg==
X-Received: by 2002:a17:902:edc4:b0:1d0:453d:abd3 with SMTP id q4-20020a170902edc400b001d0453dabd3mr169048plk.25.1701470444931; Fri, 01 Dec 2023 14:40:44 -0800 (PST)
Received: from smtpclient.apple (c-24-5-184-219.hsd1.ca.comcast.net. [24.5.184.219]) by smtp.gmail.com with ESMTPSA id j20-20020a170902759400b001cfd0ddc5b9sm3791966pll.262.2023.12.01.14.40.43 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Dec 2023 14:40:44 -0800 (PST)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\))
From: Dino Farinacci <farinacci@gmail.com>
In-Reply-To: <PH1P110MB11484E355D8A8E5748F2AD77B081A@PH1P110MB1148.NAMP110.PROD.OUTLOOK.COM>
Date: Fri, 01 Dec 2023 14:40:32 -0800
Cc: "pim@ietf.org" <pim@ietf.org>, Michael McBride <michael.mcbride@futurewei.com>
Content-Transfer-Encoding: quoted-printable
Message-Id: <38D3DB22-D611-4B21-9042-A1B4E96A5F7B@gmail.com>
References: <mailman.25917.1701459411.4452.pim@ietf.org> <PH1P110MB11484E355D8A8E5748F2AD77B081A@PH1P110MB1148.NAMP110.PROD.OUTLOOK.COM>
To: "Stevens, Jim A Collins" <James.A.Stevens@collins.com>
X-Mailer: Apple Mail (2.3731.700.6)
Archived-At: <https://mailarchive.ietf.org/arch/msg/pim/Xj8YsSij0YMoVUJEcQwvSJ9-QLM>
Subject: Re: [pim] draft-ietf-pim-multicast-lessons-learned-02 & BIDIR-PIM
X-BeenThere: pim@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Protocol Independent Multicast <pim.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/pim>, <mailto:pim-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/pim/>
List-Post: <mailto:pim@ietf.org>
List-Help: <mailto:pim-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/pim>, <mailto:pim-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 01 Dec 2023 22:40:50 -0000

> Dino & Michael - thanks for your responses and willingness to consider expounding more on ASM and BIDIR-PIM

Thanks for the quick reply. I have snipped stuff I have no response to otherwise, see inline.

> 
>> Note also, "the single source node" is the same as the "Bidir RP". Its just a
>> target for the destination of joins and packets that flow upstream (towards
>> that target).
> 
> Agree.  Interesting question.  Is SSM-BIRDIR-PIM where the Source is the RP a simpler PIM protocol that PIM-SM-SSM?

Well there is no such thing as SSM-BIDIR-PIM but to answer your question the source is not the RP because the RP address is never used as a source address in a multicast data pakcet. But in the control-plane they are the target for the path the join takes.

> 
> 
>> But we all have acknowledged an architectural weakness about the app and
>> network layer interacting with source discovery. The app can do it on its own if
>> it wants and the network layer to stay out of it. But a DoS attack to the group
>> would have to be dealt with in the app.
> 
> If concerned about DOS and other security attacks against ASM, then use multicast IPsec

Yes, that protects the application but still uses network resources. Which means, pakets are delivered to all good and bad joiners and then discarded at the endpoints. Pity.

> 
> Here are some comments to Michael's email on Fri, 1 Dec 2023 19:36:43 +0000
> 
>> But, for now, let's discuss interdomain ASM. As you mentioned, you were
>> against deprecating interdomain ASM in 8815 for good reasons. This begs the
>> question whether ASM has been deprecated and what that means.
>> Interdomain ASM hasn't been deprecated even though 8815 recommends
>> doing so. Some protocols are formally deprecated in an RFC, due to security
>> issues for instance,  and the RFCs are then moved to historic. Interdomain
>> ASM has not been formally deprecated. While most of us see the benefits of
>> moving to SSM, and our current lessons learned document is strong on SSM,
>> there are good reasons not to. We should probably mention those reasons as
>> they related to pim history.
> 
> RFC 8815 deprecates ASM for interdomain but not for intradomain
> 
> However, when providing feedback on the draft RFC 8815 I couldn't come up with interdomain ASM examples.  Since then, I've

Well if more than one service provider is willing to share its RP with joiners in another, there is no problem. We do it with DNS but people will argue that is a control-plane function where using another SP's router to launch packets to (when sources are not in the SP with the RP) is a concern.

But I would argue this is theh perfect case to use Bidir-PIM because in Bidir the RP can be a ficitious address and not a real router/server in the network. The address just needs to be routable to their is directionality for upstream packets and joins.

> found interdomain ASM use cases where multiple national militaries operate together and are sharing tactical data using multicast groups - again where many nodes can be sources as well as destinations - so need to be ASM.  These cases typically 

I have implemnented in my lispers.net <http://lispers.net/> LISP overlay implementation to support (*,G) state in the mapping systemm. And this is yet anotehr case where you can use a shared-tree but in this case there is no RP, either fictitious or real, that needs to be planned for. Reason being the overlay solution is not a tree building mechanism.

> operate with IPsec and have similar inter-domain peering like RFC 8313 section 3.2.  So, if RFC 8815 were still in draft, I would argue that ASM shouldn't be deprecated for ASM, but instead have a discussion on when interdomain ASM makes sense and when it doesn't.
> 
> Jim

Cheers,
Dino