Re: [pim] [MBONED] IGMPv3 backward compatibility issue killing SSM

Stig Venaas <stig@venaas.com> Wed, 20 March 2024 00:35 UTC

Return-Path: <stig@venaas.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 591BFC151553 for <pim@ietfa.amsl.com>; Tue, 19 Mar 2024 17:35:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.904
X-Spam-Level:
X-Spam-Status: No, score=-1.904 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_NONE=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=venaas-com.20230601.gappssmtp.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 s9OXHI5zDCuC for <pim@ietfa.amsl.com>; Tue, 19 Mar 2024 17:35:12 -0700 (PDT)
Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450: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 23A95C157915 for <pim@ietf.org>; Tue, 19 Mar 2024 17:35:04 -0700 (PDT)
Received: by mail-ej1-x62b.google.com with SMTP id a640c23a62f3a-a468004667aso668349566b.2 for <pim@ietf.org>; Tue, 19 Mar 2024 17:35:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=venaas-com.20230601.gappssmtp.com; s=20230601; t=1710894903; x=1711499703; darn=ietf.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=/VMSXxqQddAUhmCg72cSCNlrFfIRw9uGQF9AHDcEA7s=; b=K5mpCjfRg1hQILAPsmwiFcE+ntMMAS6bAGIaP/f7Juhs65Zn3sNDLWhEerUi9Zh0lh MtfGQ2DRJX3lkKKM0heYioBmb4jLfkZ1nuizApKbHJT+kjfCLvlOXX1tJDqiFbw2nnfP iUzvKFM1vN2x6otUpe990KKvOCTNcOtcx910EIRhsU3awgDTZ7J2No/rNTdp7+OUIIuA +TgovsnAjY9QsQ4oKdKM5oI6FUv5QefsCC+DUMoN6sraZWStHdZPbDfzplJIRXF82sTh moVeO5sOJmEzSWvA7/QSBDNEmYU/iBLFAQR4UwNpefIPVj9x9T9OkgwUpuZybYbegLbI L/EQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710894903; x=1711499703; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/VMSXxqQddAUhmCg72cSCNlrFfIRw9uGQF9AHDcEA7s=; b=Z2juS1e7/XCaS83Am1Lzgl90JkkIW0fefqBi0Z7/t9Z3/jjn78raeopeiIqzHbQeU6 ghfukwWZNXEd5Y/6q6fBFh21TbYuQXvGCCuM+/MF8FFCN+i14YMBippuf2w15CV/xAIp d42QLd2M72XdmHJA4FPGZbPJtALEUgCwPrBb8t9IGYWMpOXBx/51YFEmnEb7Je+jLz/B e12kQoPOF4MgWk99W0ghFJkFVxHfWJ8UPrpGC4RGMb0O6ZBQ00dwMe9eCGXvukf/FXOF 95s50OLBTXANgRG/PH7QDe74kos0/tpd+HCxvNXd3SYq9UWwvUa5Mdp/lfpi5bn9cbWX aDDQ==
X-Forwarded-Encrypted: i=1; AJvYcCUkYWmLbPVPMD4enNOPz7xdvOTabEIE+dIum9TC4b6N6HYoZcHe65zS97lCzc/DaXsMTM+1c92Tz6gQaxA=
X-Gm-Message-State: AOJu0YzSk2RAm6qFMRLv7tDxhsC0rGd4feSRLyhWdheESgi6pyA9mVlT ieXZsTncDuNVQhkjmJHgd298mtWipAZIMsqJAlqJ06GDRSMN+eVs3iOawJNGGha/oDW7Xqj6xhW sqhW7j67F346M1wBmrDT+DAc5DkXRLdW831kbvQ==
X-Google-Smtp-Source: AGHT+IH5AvpVGUmSc2C9SsuI1AgAsgHxG3VBTl9RHisp5MOHkZ4Kk7ZAQRd2MfrDtygKLP/txsTKIdMym0wEcE+FW5M=
X-Received: by 2002:a17:907:9453:b0:a45:f4d9:acc5 with SMTP id dl19-20020a170907945300b00a45f4d9acc5mr12733949ejc.29.1710894903202; Tue, 19 Mar 2024 17:35:03 -0700 (PDT)
MIME-Version: 1.0
References: <CAHANBtKf03ukXH4sgwN0WVdkaVXnbRYdAGBDmQK56YXrS-z6yA@mail.gmail.com> <CAHANBtKdfS0cPceqv8_R+ToeGOBdUksH7gArKqegqSt_Q0Sf0Q@mail.gmail.com> <ZXtzwBljE45Og27f@faui48e.informatik.uni-erlangen.de> <EDE809A0-E672-4A3B-9F46-E08ECD3D4C23@akamai.com> <edc9d539-4b6c-f238-54c6-210c152e2065@juniper.net> <e9ed1779-4f43-4f71-b8c3-d813bcea81d1@innovationslab.net>
In-Reply-To: <e9ed1779-4f43-4f71-b8c3-d813bcea81d1@innovationslab.net>
From: Stig Venaas <stig@venaas.com>
Date: Tue, 19 Mar 2024 17:34:50 -0700
Message-ID: <CAHANBtJ0S8RfVvfcMHO5XKeDMpzN0O4Jn3MFPJXecNpBVNs6gQ@mail.gmail.com>
To: Brian Haberman <brian@innovationslab.net>
Cc: Leonard Giuliano <lenny@juniper.net>, "Holland, Jake" <jholland=40akamai.com@dmarc.ietf.org>, Toerless Eckert <tte@cs.fau.de>, "zzhang@juniper.net" <zzhang@juniper.net>, "n.leymann@telekom.de" <n.leymann@telekom.de>, "pim@ietf.org" <pim@ietf.org>, "mboned@ietf.org" <mboned@ietf.org>, "fenner@fenron.com" <fenner@fenron.com>, Dave Katz <dkatz@juniper.net>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/pim/_onTtsSQnTLilnB_4xkCpgF8oP4>
X-Mailman-Approved-At: Tue, 19 Mar 2024 17:38:02 -0700
Subject: Re: [pim] [MBONED] IGMPv3 backward compatibility issue killing SSM
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: Wed, 20 Mar 2024 00:35:16 -0000

Hi all

We have an agenda slot to discuss this here in Brisbane. Please join,
in person or remotely to help us make the right decision.

You can see my proposed slides here
https://datatracker.ietf.org/meeting/119/materials/slides-119-pim-rfc3376bis-v2-querier-fallback-issue-00

Let me know if you think this is inaccurate in any way or if there are
important points we need to add. I know myself and others have
different thoughts on this, it was hard resisting putting my own
opinions in the slides. I plan to raise them as a participant at the
meeting. Hope many of you can take part in the meeting as well.

Anyone from mboned seeing this, you are of course welcome to join as well.

Brian, are you able to join?

Thanks,
Stig

On Tue, Jan 2, 2024 at 5:39 AM Brian Haberman <brian@innovationslab.net> wrote:
>
> Lenny's assessment is correct from my perspective. Section 7.3.2
> specifies that IGMP version compatibility is kept on a per-group basis.
> This should preclude compliant routers from disabling SSM service in the
> SSM address range.
>
> Section 7.3.1 discusses the compatibility mode configuration option for
> IGMPv3 routers, but there is not a recommended default setting for that
> option.
>
> Are there aspects of RFC 4604 that people think need to be updated?
>
> Regards,
> Brian
>
> On 12/19/23 4:09 PM, Leonard Giuliano wrote:
> >
> > As I understand, RFC4604 explicitly prevents SSM service from being killed
> > by the presence of an IGMPv1/2 host (assuming the router is SSM aware,
> > which in 2023 is a fairly valid assumption).  That is bc the router should
> > ignore any v1/v2 reports in the ssm range (232/8).  And as I understand,
> > RFC3376 Sect 7.3.2 provides backwards compatibility for v1/2 hosts, but
> > only on a *per-group* basis- not for the whole LAN.
> >
> > Combining the two, SSM service is protected in SSM range (232/8).  In
> > non-SSM range, due to backward compat, you could lose SSM behavior- but
> > since you are in non-SSM range, all bets were off in the first place.
> >
> > So unless I'm missing something, I don't see see the risk of SSM being
> > killed by v3 backwards compatibility.  Adding DKatz, who know this stuff
> > way better than me in case I misinterpreted any of these specs.
> >
> >
> > -Lenny
> >
> > On Mon, 18 Dec 2023, Holland, Jake wrote:
> >
> > |
> > | On 12/14/23, 1:29 PM, "pim on behalf of Toerless Eckert" <pim-bounces@ietf.org <mailto:pim-bounces@ietf.org> on behalf of tte@cs.fau.de <mailto:tte@cs.fau.de>> wrote:
> > | > The elephant IMHO is that rfc3376bis is so far not including changes to IGMPv3 behaviors
> > | > about backeward compatibility with v1/v2 routers on the LAN, and exactly this behavior is
> > | > killing SSM in deployment because any such router when it becomes querier will kill SSM
> > | > ... because hosts will revert to v1/v2 and not report their SSM (S,G) memberships.
> > |
> > | +1, this is a serious problem.  The current default behavior bakes a DOS for SSM into the
> > | protocol.
> > |
> > | > If there are routers that have config options to disable this backward compatibility with
> > | > older routers, i would love to learn about it.
> > |
> > | When using linux routing there is `sysctl net.ipv4.force_igmp_version=3`, but it says because
> > | of the difference in the security considerations between MLD and IGMP it doesn't actually
> > | ignore v1 and v2 even when it's set:
> > | https://urldefense.com/v3/__https://sysctl-explorer.net/net/ipv4/force_igmp_version/__;!!NEt6yMaO-gk!BhrKkLRDUzon0XP8RebeJvai8X02-AU2RBEGA0iJrQsgSIeCPBd4KVVIUoc5jD59w8aYpNbAYiTFWo_sN87x_ZENUoioNQ$
> > |
> > | (MLD permits an "ignore v1 completely" setting, but says it should only be used when
> > | source filtering is critical:
> > | https://urldefense.com/v3/__https://datatracker.ietf.org/doc/html/rfc3810*section-10.2__;Iw!!NEt6yMaO-gk!BhrKkLRDUzon0XP8RebeJvai8X02-AU2RBEGA0iJrQsgSIeCPBd4KVVIUoc5jD59w8aYpNbAYiTFWo_sN87x_ZEHCk8UTw$  )
> > |
> > | > - Replace with something like:
> > | >
> > | > This revision of IGMPv3 version 3 removes automatic fallback to IGMP version 2 and version 1
> > | > routers on the same network as specified in [RFC3376]. Instead,
> > | > such older version router behavior MUST be explicitly configured.
> > |
> > | While I agree that to the greatest extent we can induce, IGMPv3 queriers from now
> > | on should maintain the capability to propagate SSM and accept IGMPv3 membership
> > | reports under all circumstances (even when there is an IGMPv1 or v2 receiver on the
> > | LAN), I'm not sure it makes sense to ship text that makes all the currently deployed
> > | routers retroactively non-compliant with a MUST in the new IGMPv3.
> > |
> > | But I'd support adding a section that describes the problem and provides a well-
> > | justified and strong recommendation that the default behavior be changed from
> > | what's in RFC 3376 and that a config option be provided to ignore IGMPv1 and v2
> > | packets, like with MLD.
> > |
> > | It might be worth saying something like now that we have RFC 8815 and in light of
> > | the experimental status of RFC 3618 (MSDP) and its deployment BCP in 4611, source
> > | filtering should always be considered critical for clients that support it?  (Not sure that's
> > | necessary, just a brainstorming idea to point to some of the docs that cover new
> > | operational experience since 3376...)
> > |
> > | > IGMPv3 routers MUST have a configuration option, disabled by default, to operate
> > | > as an IGMPv2 router. When enabled, all procedures of [RFC2236] apply. Configuring this
> > | > option is necessary in the presence of non-IGMPv3 capable IGMP snooping switches or
> > | > PIM routers. These are rare but may still be depoyed.
> > | >
> > | > When operating in IGMP version 3, routers MUST ignore version 1 and version 2 queries.
> > | > In version 3, the presence of those older version queries constitutes a misconfiguration
> > | > or attack, and these messages SHOULD result in logging of an error (rate-limited).
> > | >
> > | > - And in an appropriate part of the host behavior:
> > | >
> > | > IGMP version 3 hosts MUST have a configuration option, disabled by default, to ignore
> > | > IGMP version 1 and version 2 queries. This option SHOULD be auto-enabled when the host
> > | > is running SSM receiver applications, and hence depends on IGMP version 3 to operate in the
> > | > network.
> > | >
> > | > This is about as much as i think we can do if we still want to go full standard with rfc3376bis.
> > | > I can think of no operational deployment where the introduction of devices with existing
> > | > older RFC compatibility would cause interoperability issues. At worst the new router would
> > | > need to be explicitly configured for IGMPv2, which in my experience most routers deployed
> > | > into IGMPv3 environments are done anyhow.
> > | >
> > | > Comments welcome. Would love to see positive replies in which case i will be happy to explicitly
> > | > sugest the text changes for this elephant issue to the draft.
> > |
> > | Thanks for raising this, Toerless, the IGMP downgrade problem has been a major source of pain
> > | for some deployments that rely on SSM.
> > |
> > | - Jake
> > |
> > |
> > | _______________________________________________
> > | MBONED mailing list
> > | MBONED@ietf.org
> > | https://urldefense.com/v3/__https://www.ietf.org/mailman/listinfo/mboned__;!!NEt6yMaO-gk!BhrKkLRDUzon0XP8RebeJvai8X02-AU2RBEGA0iJrQsgSIeCPBd4KVVIUoc5jD59w8aYpNbAYiTFWo_sN87x_ZG9c7AK9g$
> > |