Re: [Dots] Warren Kumari's Discuss on draft-ietf-dots-telemetry-20: (with DISCUSS)

Warren Kumari <warren@kumari.net> Wed, 02 February 2022 19:10 UTC

Return-Path: <warren@kumari.net>
X-Original-To: dots@ietfa.amsl.com
Delivered-To: dots@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 737C73A1C4D for <dots@ietfa.amsl.com>; Wed, 2 Feb 2022 11:10:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 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, RCVD_IN_DNSWL_BLOCKED=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=kumari.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 noTYUMhVXCOk for <dots@ietfa.amsl.com>; Wed, 2 Feb 2022 11:10:04 -0800 (PST)
Received: from mail-io1-xd29.google.com (mail-io1-xd29.google.com [IPv6:2607:f8b0:4864:20::d29]) (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 0BECD3A1C4B for <dots@ietf.org>; Wed, 2 Feb 2022 11:10:03 -0800 (PST)
Received: by mail-io1-xd29.google.com with SMTP id z199so271021iof.10 for <dots@ietf.org>; Wed, 02 Feb 2022 11:10:03 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kumari.net; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ZiYSFATbKrW6XS/oNWj+uNczIOcU/bKnKtouoYC1/MQ=; b=FS4uT+dXjSUxJJsoN59W2YbmYPXzbOH3m3J4c6fHXhj8F/5RygRib462WWA+ln3SaN sh7dWY0i3Ao6i6IJCqKxAlYakWuRF5KDggQc7nShHAhVAU+0YiwNrwcepclLJDLQR8P4 HnfZXv1jc51t+O40vc0mEDYrpIY5o32jQ/S72Ka8FK6o/7axgt4DMwTqBvVkPbli4VVG Ie7QfQFr2R2PRvrBC6sz669Acz0wAR/hoDGe6zhV8ggsovFVcdQeT1umPXQeF1SHZVYR RfU09j4EP5NNJTCqoPcoFSSvHd5whO6hFdO6q3+owd9+QgSlRl+/upRxbVKjlR9NNc93 9R/A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ZiYSFATbKrW6XS/oNWj+uNczIOcU/bKnKtouoYC1/MQ=; b=Nv2ch6RW4qWxB8qGIWWbMZMzbGln9++JkIoEf8BBUML5SsjYdvBNu3W1UwbfFg5t6d EKDyYvh5osq+46FHc+GgXVBDRWHVXz6bLO3t77gegDXBX+L0/pOg/wpOgkPdhMr6+rd+ tiNvydzbRHqfQuBrNLI9fRk99w9K1VV9ccvspPCfgKNmsyAXvQP4faOVqb3eY6Nqn8iS lZjWHHCNeBizIP7otpg1NJUhFzerYs8FIfHFWsWTFPTT4tCqdVZgV3NhQ/A5LYjSho+D oWAOmDXSsL2bspKuBvcZM+Z5ZYkJAJ82LxUReLzYV/Shar0BescR5P2t3vYUG54IvxLf dPqg==
X-Gm-Message-State: AOAM530TIFdVydxKx1WX4P8qIMKU01UNBNnOEgr/d3uFXy60oULnW3Ym ToatDMvCpu5Tj5+B3TKzwEtcUrDfOiJHJ+9r4yrIhdKQxCR8cA==
X-Google-Smtp-Source: ABdhPJyecf7vm5pgiqyr38dO9s6NttbXy58SdsA4Anb+EgoSCV7qJ+FbW95KQUodJEG1IYNBygkM9+VggYLDdDTodbE=
X-Received: by 2002:a05:6638:1396:: with SMTP id w22mr8811762jad.11.1643829002166; Wed, 02 Feb 2022 11:10:02 -0800 (PST)
MIME-Version: 1.0
References: <164382121385.21407.6415201995737053293@ietfa.amsl.com> <6832_1643826722_61FACE22_6832_172_1_787AE7BB302AE849A7480A190F8B93303548B106@OPEXCAUBMA2.corporate.adroot.infra.ftgroup>
In-Reply-To: <6832_1643826722_61FACE22_6832_172_1_787AE7BB302AE849A7480A190F8B93303548B106@OPEXCAUBMA2.corporate.adroot.infra.ftgroup>
From: Warren Kumari <warren@kumari.net>
Date: Wed, 02 Feb 2022 14:09:26 -0500
Message-ID: <CAHw9_iLg+KcJhhoP-JYMxKfzcP0PTuuqZx5U_CVadJivNUDQfw@mail.gmail.com>
To: mohamed.boucadair@orange.com
Cc: The IESG <iesg@ietf.org>, "draft-ietf-dots-telemetry@ietf.org" <draft-ietf-dots-telemetry@ietf.org>, "dots-chairs@ietf.org" <dots-chairs@ietf.org>, "dots@ietf.org" <dots@ietf.org>, "valery@smyslov.net" <valery@smyslov.net>
Content-Type: multipart/alternative; boundary="000000000000befada05d70dc3c6"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dots/WjL2r3wZYxY_LhwDV4Y8bJew_Xw>
Subject: Re: [Dots] Warren Kumari's Discuss on draft-ietf-dots-telemetry-20: (with DISCUSS)
X-BeenThere: dots@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "List for discussion of DDoS Open Threat Signaling \(DOTS\) technology and directions." <dots.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dots>, <mailto:dots-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dots/>
List-Post: <mailto:dots@ietf.org>
List-Help: <mailto:dots-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dots>, <mailto:dots-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Feb 2022 19:10:10 -0000

On Wed, Feb 2, 2022 at 1:32 PM <mohamed.boucadair@orange.com> wrote:

> Hi Warren,
>
> We need to keep in mind that the data that will be shared by a DOTS agent
> may not be computed/measured locally, but be provided by another (external)
> entity. Having the support for the tree unit classes eases the injection of
> such external data into the telemetry machinery without any need for
> adjustment/conversion between unit classes.



Harumph... grumble... I still think that this is icky, but I'll clear my
discuss.


>
> Because we need to ensure for compact encoding, unit auto-scaling is
> recommended and as such many units for each unit-class should be supported.
>
> We could stop at tera-* or peta-* as largest unit given that nowadays DDoS
> attacks are already exceeding TBps. However, and given that we are using
> enumerations, it will be difficult to define new values in the future if
> needed. This is why we included support for exa-* and zetta-* as a
> provision.


Yah. If you are going to have mega[bits|bytes], you might as well also
include T, P, Z, etc. Hopefully we'll have solved the DoS problems before
we need to use zetta, but I suspect not :-)

I'll go clear, thanks for responding,

W


>
>
> Note that units can be easily augmented if we used identities rather than
> enumerations, but we went for enumerations for reasons recorded in the
> document:
>
>    The DOTS telemetry module (Section 11.1) uses "enumerations" rather
>    than "identities" to define units, samples, and intervals because
>    otherwise the namespace identifier "ietf-dots-telemetry" must be
>    included when a telemetry attribute is included (e.g., in a
>    mitigation efficacy update).  The use of "identities" is thus
>    suboptimal from a message compactness standpoint; one of the key
>    requirements for DOTS Signal Channel messages.
>
> Cheers,
> Med
>
> > -----Message d'origine-----
> > De : Warren Kumari via Datatracker <noreply@ietf.org>
> > Envoyé : mercredi 2 février 2022 18:00
> > À : The IESG <iesg@ietf.org>
> > Cc : draft-ietf-dots-telemetry@ietf.org; dots-chairs@ietf.org;
> > dots@ietf.org; valery@smyslov.net; valery@smyslov.net
> > Objet : Warren Kumari's Discuss on draft-ietf-dots-telemetry-20: (with
> > DISCUSS)
> >
> > Warren Kumari has entered the following ballot position for
> > draft-ietf-dots-telemetry-20: Discuss
> >
> > When responding, please keep the subject line intact and reply to all
> > email addresses included in the To and CC lines. (Feel free to cut this
> > introductory paragraph, however.)
> >
> >
> > Please refer to https://www.ietf.org/blog/handling-iesg-ballot-
> > positions/
> > for more information about how to handle DISCUSS and COMMENT positions.
> >
> >
> > The document, along with other ballot positions, can be found here:
> > https://datatracker.ietf.org/doc/draft-ietf-dots-telemetry/
> >
> >
> >
> > ----------------------------------------------------------------------
> > DISCUSS:
> > ----------------------------------------------------------------------
> >
> > Please note: This really is just a DISCUSSion - I'm happy to be educated
> > / wrong, but I do think that it is important enough that it gets
> > addressed.
> >
> > The 'unit-class' and 'unit' enumerations seems like they add a large
> > amount of complexity for (AFAICT) very little gain. Do you really need:
> >              "Packets per second (pps).";
> >              "Bits per Second (bps).";
> >              "Bytes per second (Bps).";
> >              "Kilo packets per second (kpps).";
> >              "Kilobits per second (kbps).";
> >              "Kilobytes per second (kBps).";
> >              "Mega packets per second (Mpps).";
> >              "Megabytes per second (MBps).";
> >              "Giga packets per second (Gpps).";
> >              "Gigabits per second (Gbps).";
> >              "Gigabytes per second (GBps).";
> >              "Tera packets per second (Tpps).";
> >              "Terabits per second (Tbps).";
> >              "Terabytes per second (TBps).";
> >              "Peta packets per second (Ppps).";
> >              "Petabits per second (Pbps).";
> >              "Petabytes per second (PBps).";
> >              "Exa packets per second (Epps).";
> >              "Exabits per second (Ebps).";
> >              "Exabytes per second (EBps).";
> >              "Zetta packets per second (Zpps).";
> >              "Zettabits per second (Zbps).";
> >              "Zettabytes per second (ZBps)."
> > when just Packets Per Second and Bits Per Second would work? Yes, you
> > might have to have a really large number in BPS, but that seems much
> > much less likely to lead to errors than having parsers have to deal with
> > this. When a user enters a number their glass would presumably allow
> > them to use a more convenient unit, but having it encoded and decoded
> > into this seems needlessly complex.
> >
> > I did look through the document and list to try and find discussions on
> > this point - I'm happy to be pointed at a place where it was discussed
> > and agreed.
> >
> >
> >
> >
>
>
>
> _________________________________________________________________________________________________________________________
>
> Ce message et ses pieces jointes peuvent contenir des informations
> confidentielles ou privilegiees et ne doivent donc
> pas etre diffuses, exploites ou copies sans autorisation. Si vous avez
> recu ce message par erreur, veuillez le signaler
> a l'expediteur et le detruire ainsi que les pieces jointes. Les messages
> electroniques etant susceptibles d'alteration,
> Orange decline toute responsabilite si ce message a ete altere, deforme ou
> falsifie. Merci.
>
> This message and its attachments may contain confidential or privileged
> information that may be protected by law;
> they should not be distributed, used or copied without authorisation.
> If you have received this email in error, please notify the sender and
> delete this message and its attachments.
> As emails may be altered, Orange is not liable for messages that have been
> modified, changed or falsified.
> Thank you.
>
>

-- 
The computing scientist’s main challenge is not to get confused by the
complexities of his own making.
  -- E. W. Dijkstra