Re: [Dots] WGLC for draft-ietf-dots-rfc8782-bis-01

Yasuaki Morita <yasuaki.morita@lepidum.co.jp> Tue, 06 October 2020 12:01 UTC

Return-Path: <yasuaki.morita@lepidum.co.jp>
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 C030B3A141D for <dots@ietfa.amsl.com>; Tue, 6 Oct 2020 05:01:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-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=lepidum-co-jp.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 o9ilgoVjHnew for <dots@ietfa.amsl.com>; Tue, 6 Oct 2020 05:01:57 -0700 (PDT)
Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) (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 2EEBD3A1331 for <dots@ietf.org>; Tue, 6 Oct 2020 05:01:57 -0700 (PDT)
Received: by mail-lf1-x12d.google.com with SMTP id z8so1034578lfd.11 for <dots@ietf.org>; Tue, 06 Oct 2020 05:01:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lepidum-co-jp.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=AaIJxLoa1sZUJAa25fnMzr8DBSjE5kDTEJ2raYQLntM=; b=dDKwFqsB4KhHp74zB/RnAjvd0MHnSh6sXTmbZrXOokqye3E96dAnUyuAeBBTKbnORO /bTWBBc/SUmFzzIIVW3OjEwZ5/yL4x/CgUNAJQl2v71GZMP/b6qQyOnEST5Y9/M6MlsV rlXxxXJA3P0TgRAH+MJAyHCR2p1ICUxdbEhBVMhrTZKQj3BVXyTaTJ/B/w96XJIXhGh1 no1vuc3CFP/oMtDvqek5/KF4Oqj1c212S7OaQDbLXv/uJWr7AhetJYHZmFTkYWaDAZNl LMx5XQudsFdJyYAybZs9yGWLRKIY681KKRvVf1ZN0i9obk0AkFZY3jq8PUFIKeZmrvO7 RyQg==
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=AaIJxLoa1sZUJAa25fnMzr8DBSjE5kDTEJ2raYQLntM=; b=N57oUXKwb4CN2PX0DnEazzavSflWCntVtGQm09nqizFO89+P1XD2LnBPIxghFrz5Xd RgyMyDa1bPngoUH20zPUbjJrgNC/55FwG+qkBSIzYDYNs85qRSKMPnNW/gwURDYG0KDL dZHBwuq9dWRdIOUalh7yUNGQQQVDFhzvBhIBwjZq1QV8cyS4bTETAJJF5eS1omajxj4G eFSNj196J9c0/YlZtZemycg1B8eB2w8rVU4HB4dy5xNNbrvnOcccXL4xvlRzYVjV7u/B 8PtLRtv1fEOYJddV2suR+2dWgIzixV1Xzui09x1SA/kDknsIgv0CDJ2Fp5HyExguAzzC MoiQ==
X-Gm-Message-State: AOAM5317Yso/SzcOryUgYZ2xtKzUrwOc/vNa9qEcq2ZLCldyX6LmOvBU hk1hTJGQwDiw7o8zBHFKPsc9JTNn/vM3VcLo7izD1W089cLg/9GW
X-Google-Smtp-Source: ABdhPJwk0mWq28DPXAqhutbYLpMN/9wvvLLTdZXtG7D2lp6QMJ8nMQoUSBM5EFh4FA3xze8jOOOH4rdLCgS6n28udwY=
X-Received: by 2002:ac2:43a2:: with SMTP id t2mr412783lfl.421.1601985715043; Tue, 06 Oct 2020 05:01:55 -0700 (PDT)
MIME-Version: 1.0
References: <14ca01d69bd5$dbf0d0a0$93d271e0$@smyslov.net>
In-Reply-To: <14ca01d69bd5$dbf0d0a0$93d271e0$@smyslov.net>
From: Yasuaki Morita <yasuaki.morita@lepidum.co.jp>
Date: Tue, 06 Oct 2020 12:01:44 +0000
Message-ID: <CAFDrJwkTPz7xHHxjOGk66XFJsgh=e0Zhri+4rXnPt7WQT_icBA@mail.gmail.com>
To: Valery Smyslov <valery@smyslov.net>
Cc: dots@ietf.org, dots-chairs@ietf.org, draft-ietf-dots-rfc8782-bis@ietf.org
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dots/w1Y435g41ozpH63mTtemC_MVGr0>
Subject: Re: [Dots] WGLC for draft-ietf-dots-rfc8782-bis-01
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: Tue, 06 Oct 2020 12:01:59 -0000

Hi all,

Let me point out two things about the draft.

First, lifetime is defined to be an optional leaf on the Yang tree diagram.
But lifetime is mandatory as other parts of the draft and I believe
that `lifetime?` in the tree should be replaced by `lifetime`.

Here is an excerpt from the tree-diagram:


      structure dots-signal:
        +-- (message-type)?
           +--:(mitigation-scope)
           |  +-- scope* []
           ...(snip)...
           |     +-- lifetime?                     union


>From the description of lifetime:

   lifetime:  Lifetime of the mitigation request in seconds.
      ...(snip)...
      The DOTS server MUST always indicate the actual lifetime in the
      response and the remaining lifetime in status messages sent to the
      DOTS client.
      This is a mandatory attribute.


Second, I guess that the attribute `:(client-to-server-only)` for
attack-status in the tree diagram is redundant or confusing.
I believe that the clients should be able to obtain its current
attack-status from the server, but `:(client-to-server-only)` seems
like forbidding it.
There is no reason to restrict the server sending attack-status to the clients.
So I suggest that we simply write

           |        +-- attack-status?
           |                iana-dots-signal:attack-status

instead of

           |        +--:(client-to-server-only)
           |           +-- attack-status?
           |                   iana-dots-signal:attack-status


Best regards
Yasuaki


On Tue, 6 Oct 2020 at 11:43, Valery Smyslov <valery@smyslov.net> wrote:
>
> Hi,
>
> this message starts a two-week working group last call for draft-ietf-dots-rfc8782-bis-01,
> which will end on Wednesday, October 21. Please, review the draft carefully and
> send your comments to the mailing list.
>
> Regards,
> Frank & Valery.
>
> _______________________________________________
> Dots mailing list
> Dots@ietf.org
> https://www.ietf.org/mailman/listinfo/dots