Re: IPv6 Anycast has been killed by LINUX patch in 2016 - who cares?

Tom Herbert <tom@herbertland.com> Mon, 09 August 2021 00:23 UTC

Return-Path: <tom@herbertland.com>
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 AA32B3A1F09 for <ipv6@ietfa.amsl.com>; Sun, 8 Aug 2021 17:23:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.896
X-Spam-Level:
X-Spam-Status: No, score=-1.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=herbertland-com.20150623.gappssmtp.com
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 pOpqfZi54pzS for <ipv6@ietfa.amsl.com>; Sun, 8 Aug 2021 17:23:09 -0700 (PDT)
Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) (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 7E2273A1F07 for <ipv6@ietf.org>; Sun, 8 Aug 2021 17:23:09 -0700 (PDT)
Received: by mail-ed1-x529.google.com with SMTP id z11so21976285edb.11 for <ipv6@ietf.org>; Sun, 08 Aug 2021 17:23:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=herbertland-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=CmBceQKgGYXTgYC/qTtAZjAllEV5aPBrbD4poAY07To=; b=LvihyVvbR77IIYqzPc396W47SDC4pmJg3JG4LnS9ikpxPbGio2V9H3HJ1YNuM99mhR PsSfb9qjrl+hpYy2UbUkaHUl6LVN1SObizaGMrObg0MuGJXEtVg/s+pMXc0/B67ipBBL uts7MrFvS+BWUQzHA70PGFEjAsCYsycz8vIAiW80SGG8mn2/ybN6bm1Mdo7cEq+x3uR/ +5PaC6ZnUwQN4uvXrNRvaNzRFuvT1vYpIL6QJ6qeHoKMyV2vSHTQw2B8hugEc940NwZI wcWIn0bJxPFooQFQhI4gS1JTuz+PRdPHmcQDBfgJdt2XJ2bIirZecodGGWKS4cfS6tEA CEtA==
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=CmBceQKgGYXTgYC/qTtAZjAllEV5aPBrbD4poAY07To=; b=WlyujlzgiXjMfvlKV7NH55/dT5LRnsm+mZkCx4dtnBR6Qo+IEqqO9JrbgDXMMjff3i 24q0IOSl1NkIUrrS53BNtDOIm0KU2bw1wKiPCdcd5LhV0Vpmp2haq+f5lll6OONfGw4q 4u1Mpa1+IBcfWwzxSvpNVnZn/I33KCUHv32LnWx1MavmjgX2s2G7GXt1IJN7sYxKZBmk +BOpQN2+Pvq7oLbQsymzNQzB/X2GKWqZnY6sRruf/RU316jsl0y371zYNGknr3I/WBiN HuJ4KVYbZeaQR50WIelgSH1ChS1/Txs1mBi0Yt2uTS+9EdJ1VI0N8vrJCKlSyShyUegn xCRQ==
X-Gm-Message-State: AOAM533jlt0nPEvE6k/VW1BuheRZcYZphBUi5wOiVHfP+S2eHoHXXKZF I8Tuj/1J3my57FahGwnNEdx4TOS7VXNsYiGpMTkleg==
X-Google-Smtp-Source: ABdhPJy3OpbYjw2Gysux2NpH7ytsM7a6GcukHq9E35ulKX/sRjiTw2DEfojsau515DDojqwqenwyak3+5J47RwGg6KQ=
X-Received: by 2002:a50:bb43:: with SMTP id y61mr26184465ede.22.1628468586779; Sun, 08 Aug 2021 17:23:06 -0700 (PDT)
MIME-Version: 1.0
References: <db8c1a5534e9412ebcfa37682d75f862@huawei.com> <CAO42Z2yezZh5-B0PwCuNt2FUMAW-FjMK8QZ8uL4TsPhs26zziw@mail.gmail.com> <20210807151716.GA3098@faui48f.informatik.uni-erlangen.de> <CALZ3u+a_7XQ+R8mV+9KzwRwxa0riP-QD_2R69ycV0NL9jy_S3Q@mail.gmail.com> <20210807175410.GA63079@faui48f.informatik.uni-erlangen.de> <CALx6S36b33LD_hNFvptOJuny4g98=dhq3RtKsGeLx3ks-yYjFg@mail.gmail.com> <6F63D7FE-8768-4BD8-846E-61E50E44228F@lurchi.franken.de> <CALx6S36pbw2angEmDpu5DnX2nix9KgxFs7ExU17x+JXQFs23TA@mail.gmail.com> <CALZ3u+Yt2X3faSVW7K0eaxmaQy6iA6p4=f0c4E_F4CP0tfjHYw@mail.gmail.com> <CALx6S343sL0=5wUTRSXMnhSamjTTZU=DzA9Y+dbJ4NRTu0_83w@mail.gmail.com> <CALZ3u+ad6Cecp4T+wfuKVJ4ZmnQvaCSX2njFPCN8DuctrU6uew@mail.gmail.com> <CALx6S37u=y1wX8+6d8aX-6=N1MFEqO9RwxQN5zhZnS4DLM8DcA@mail.gmail.com> <CALZ3u+bHbsdzQsHOHx-6nEe6yQBbHMDhH9_PWB=WHTchB8tj5w@mail.gmail.com> <CAN-Dau3+e=g-ujo30hKidXfbD0EJZ8-Y8iz7pu+ez3Yakmgzvw@mail.gmail.com> <CALx6S35-owqNLEyHUbQFukkFLz4sJPiRzcyv-k826-U6BOB1hA@mail.gmail.com> <eb733a23-60d6-6798-3985-e441c467662d@gmail.com>
In-Reply-To: <eb733a23-60d6-6798-3985-e441c467662d@gmail.com>
From: Tom Herbert <tom@herbertland.com>
Date: Sun, 08 Aug 2021 17:22:54 -0700
Message-ID: <CALx6S34mCfB=KYLU1HiUbm=hYbZE0ffU8gkrS-ZSx-ou4MKnVw@mail.gmail.com>
Subject: Re: IPv6 Anycast has been killed by LINUX patch in 2016 - who cares?
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
Cc: David Farmer <farmer@umn.edu>, 6man WG <ipv6@ietf.org>, Töma Gavrichenkov <ximaera@gmail.com>, IETF discussion list <ietf@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000a4abbb05c915634d"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/0gi-gNRk4e2ocECMzxc-DRH9MGM>
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, 09 Aug 2021 00:23:15 -0000

On Sun, Aug 8, 2021, 5:13 PM Brian E Carpenter <brian.e.carpenter@gmail.com>
wrote:

> Tom,
> On 09-Aug-21 07:23, Tom Herbert wrote:
> >
> >
> > On Sun, Aug 8, 2021, 12:03 PM David Farmer <farmer@umn.edu <mailto:
> farmer@umn.edu>> wrote:
> >
> >
> >
> >     On Sun, Aug 8, 2021 at 02:27 Töma Gavrichenkov <ximaera@gmail.com
> <mailto:ximaera@gmail.com>> wrote:
> >
> >         Peace,
> >
> >         On Sun, Aug 8, 2021, 5:20 AM Tom Herbert <tom@herbertland.com
> <mailto:tom@herbertland.com>> wrote:
> >
> >             Using anycast as a
> >             mitigation to DDoS doesn't seem like a great idea
> considering the
> >             problems being discussed here.
> >
> >
> >         It's quite the opposite: using anycast to mitigate DDoS is the
> only proper way to do it, because, basically, DDoS traffic, generated in
> thousands of locations on the globe, cannot be handled when accumulated in
> one place.
> >
> >         Either you have multiple traffic termination points on the net
> (a.k.a. anycast), each as close to some traffic generation point as
> possible, or you'll end up having capacity overload around your last mile.
> This is the equation fundamental to the Internet, while the implementation
> issues discussed here are hardly more than just typical software
> engineering tasks.
> >
> >
> >     Anycast is only one of several mitigation strategies for DDoS, yes,
> it is a good one for web type services, it might even be the best for that
> type of service, especially against large volumetric attacks. However,
> there are many other types of attacks to protect against and services that
> need protection and anycast is a lousy mitigation strategy for many of
> them, especially for client networks or peer to peer services.
> >
> >     While I agree with you, anycast is an important capability in the
> Internet architecture, nevertheless it has many limitations, and is not the
> panacea you claim it to be, even for DDoS.
> >
> >     Furthermore, I’m not sure what you or the original reporter
> of this problem expect the IETF to do to fix the problem that was
> reported. I’ll remind you of the well worn trope, “the IETF is not the
> protocol police.” Any fix to the problem reported is squarely in hands of
> Linux developers, not the IETF.
> >
> >
> > David,
> >
> > That's true, however we, Linux developers, certainly value the input and
> discussion on IETF lists. IMO, the later patch that started to recompute
> the hash on each RTO probably is too aggressive to be the default behavior
> on the Internet. I plan to post a patch that makes default less aggressive
> by restoring the original default behavior to recompute hash only after
> multiple RTOs. The rehash behavior will be configurable by sysctl and also
> I'll add a socket option to allow the application to control the behavior
> per connection thereby resolving Brian's concern.
>
> Yes, thanks, that looks good. How about a global default setting for a
> given host, too? That could be at sysctl level.
>

Yes, that will be there.

Tom


> Thanks
>     Brian
>
> >
> > Tom
> >
> >
> >     Thanks.
> >
> >     --
> >     ===============================================
> >     David Farmer               Email:farmer@umn.edu <mailto:
> Email%3Afarmer@umn.edu>
> >     Networking & Telecommunication Services
> >     Office of Information Technology
> >     University of Minnesota
> >     2218 University Ave SE        Phone: 612-626-0815
> >     Minneapolis, MN 55414-3029   Cell: 612-812-9952
> >     ===============================================
> >
> >
> > --------------------------------------------------------------------
> > IETF IPv6 working group mailing list
> > ipv6@ietf.org
> > Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> > --------------------------------------------------------------------
> >
>
>