Re: Dumb question about routing headers

Robert Raszuk <robert@raszuk.net> Mon, 25 May 2020 22:06 UTC

Return-Path: <robert@raszuk.net>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7D0133A0AB8 for <ipv6@ietfa.amsl.com>; Mon, 25 May 2020 15:06:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 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, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=raszuk.net
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 wS5IDszy9ZWj for <ipv6@ietfa.amsl.com>; Mon, 25 May 2020 15:06:30 -0700 (PDT)
Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 54B563A0A9C for <ipv6@ietf.org>; Mon, 25 May 2020 15:06:30 -0700 (PDT)
Received: by mail-ej1-x62b.google.com with SMTP id h21so21787895ejq.5 for <ipv6@ietf.org>; Mon, 25 May 2020 15:06:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raszuk.net; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=030HZxzDr0Ou4OoPJlXESHFYD4RepE3iDSQReobZhHg=; b=Z+VCuRjkcTStyqXphi1l4rFmjr+rNdzXaXRWY79xOs118oeobwnRhWXRYMQY09Dyan 7XzPy2OmPJ02+jEeHev7KjRdFfFoYp7B40HeFtf9qA5Dl+6XyxRnXCl9QwRLqNcKPMbT awka2uO++xcQVoRg6TjlDWo/hksNljNmY78dT+bPZ9YmMxgtnduz0mM2PhJ6Jr6e+xuK LdoLsWXAkNcfBZcfmqHsB7JQVA/fK5bCob5eT8a2CzwGULfgITeisX9OS3pS3IKje5mY vAk2V7Q9p25MjI5t0FEHbqnJZUHSt9R1gNpInSoMS4/GBtzDCVIJbh3bRbqTU8GdBjae g7Lw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=030HZxzDr0Ou4OoPJlXESHFYD4RepE3iDSQReobZhHg=; b=GNb74lewjHfhbYd3S3mUXsNe25u0QvfMq6UYmOmiM3pIHQg7YrHM1wZ2hMzyvAoK95 jPw9rcPQUxqge1gvCkdiwp+JreWekg99KEaE4lOe40Yj49pwmpL5xIUpqQEGRGNMob8E N0xhTKnvCD9H2xJpjUtINk9dW/a72oaG1bSkICt/UTaOYzFhuc9o0oVMI//skdxuU13O q7372rGJ/rEqeria8YS7LIvGNuAmsHZ/ojaYgi2T1jAX+lz8AnPIZtfzzX13Jh6lPpqf lNDLMVkrAIAQ8Wx2DpBChccRn6lnddwi6kxMmW3kLRVI3u0CYiCtFaS7oPtX1pi+D5XJ 0Dog==
X-Gm-Message-State: AOAM530WXQQqyqTWvrg/ln9ArlTTHqLC2hjxhPQdQyMXNqeqebcNsZ03 uEP+EJSOdPRpf7jCtNUr0RGt09buoEotuOMbjqNvEw==
X-Google-Smtp-Source: ABdhPJzzO7grh99SFb/5WcdTOb5p9Lac3nvv1ATCVoVbzYHgiRO5c+noWKI9JsKVHj5TKjpkL45Z+bdmBUQtWTw4wzc=
X-Received: by 2002:a17:906:f747:: with SMTP id jp7mr19798187ejb.110.1590444388099; Mon, 25 May 2020 15:06:28 -0700 (PDT)
MIME-Version: 1.0
References: <4cf28892-12a9-7376-c378-4af46f7002c2@gmail.com> <CAO42Z2y7qWVMBmhKw4_AmjS8+xCbZJBKJ5q95+VtccaEe1B3Cg@mail.gmail.com> <DM6PR05MB6348D1ED11E539E6EC0176D4AEB30@DM6PR05MB6348.namprd05.prod.outlook.com> <CAO42Z2zt3sdg9pJ9yrr3wf2AaY_1b7eE7y+6DLgN_SntT3BH6w@mail.gmail.com> <DM6PR05MB634898CDC0BA8C3826C27287AEB30@DM6PR05MB6348.namprd05.prod.outlook.com>
In-Reply-To: <DM6PR05MB634898CDC0BA8C3826C27287AEB30@DM6PR05MB6348.namprd05.prod.outlook.com>
From: Robert Raszuk <robert@raszuk.net>
Date: Tue, 26 May 2020 00:06:19 +0200
Message-ID: <CAOj+MMG4=sXzFRWxDRN-NNDDKPqweP8WXObu=u8Lq9AeP8sbwQ@mail.gmail.com>
Subject: Re: Dumb question about routing headers
To: Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org>
Cc: Mark Smith <markzzzsmith@gmail.com>, 6man <ipv6@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000c9c08b05a6803073"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/9cB7DDGyWlOSOjhWGdiZ4sLZJVQ>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipv6/>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 25 May 2020 22:06:35 -0000

Hello Ron,

Your example with 2nd dst being a multicast illustrates a very legitimate
use case for Quic protocol robust delivery or for that matter even TCP
across geo-diverse transit sites. Of course one's application needs to be
upgraded to support such arbitration but this is not a big issue.

What you call (D)DoS I would call real time data delivery resilience.

Thank you very much,
Robert.


On Mon, May 25, 2020 at 11:56 PM Ron Bonica <rbonica=
40juniper.net@dmarc.ietf.org> wrote:

> Mark,
>
> There might be a use-case for the following Routing header:
>
> - 1st destination: unicast
> - 2nd destination: unicast
> - final destination: multicast
>
> But the following Routing header might be used as a DoS attack against the
> final destination:
>
> - 1st destination: unicast
> - 2nd destination: multicast
> - final destination: unicast
>
> The source sends a single packet. The final destination receives one copy
> of that packet from each member of the multicast group.
>
>
>            Ron
>
>
>
> Juniper Business Use Only
>
> -----Original Message-----
> From: Mark Smith <markzzzsmith@gmail.com>
> Sent: Monday, May 25, 2020 5:42 PM
> To: Ron Bonica <rbonica@juniper.net>
> Cc: Brian E Carpenter <brian.e.carpenter@gmail.com>; 6man <ipv6@ietf.org>
> Subject: Re: Dumb question about routing headers
>
> [External Email. Be cautious of content]
>
>
> Hi Ron,
>
> On Mon, 25 May 2020 at 13:56, Ron Bonica <rbonica@juniper.net> wrote:
> >
> > Inlineā€¦..
> >
> >
> <snip>
> >
> >
> >
> > A related question is are multicast addresses within the list if hops to
> visit valid?
> >
> >
> >
> > [RB] There is no rule against this, but there certainly should be!
> >
> >
>
> While I can't think of a use for multicast addresses in a source route, I
> don't think we should prohibit it yet without more thought.
> The multicast source address RPF check during multicast forwarding
> prevents multicast packets being sent back towards where they came from, so
> I don't think a forwarding loop using multicast addresses can be formed,
> even if specified in the routing header.
>
> If source address RPF checks were also universally performed for unicast
> packets at each forwarding point then I don't think the RFC
> 5095 attack could have occurred either, because the attack involves
> creating a path where packets are sent back towards where they came from,
> creating the forwarding loop.
>
> Regards,
> Mark.
>
>
> <snip>
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------
>