Re: [Dots] WGLC for draft-ietf-dots-robust-blocks-01

supjps-ietf@jpshallow.com Mon, 31 January 2022 11:01 UTC

Return-Path: <jon.shallow@jpshallow.com>
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 1037A3A2C7E for <dots@ietfa.amsl.com>; Mon, 31 Jan 2022 03:01:21 -0800 (PST)
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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 g7w3DiIyN_vi for <dots@ietfa.amsl.com>; Mon, 31 Jan 2022 03:01:16 -0800 (PST)
Received: from mail.jpshallow.com (mail.jpshallow.com [217.40.240.153]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 469453A2C7C for <dots@ietf.org>; Mon, 31 Jan 2022 03:01:15 -0800 (PST)
Received: from mail2.jpshallow.com ([192.168.0.3] helo=N01332) by mail.jpshallow.com with esmtp (Exim 4.92.3) (envelope-from <jon.shallow@jpshallow.com>) id 1nEUQq-0004jt-LA; Mon, 31 Jan 2022 11:01:12 +0000
From: supjps-ietf@jpshallow.com
To: mohamed.boucadair@orange.com, 'kaname nishizuka' <kaname@nttv6.jp>, dots@ietf.org
Cc: dots-chairs@ietf.org, draft-ietf-dots-robust-blocks@ietf.org
References: <001301d80bb3$a8afba90$fa0f2fb0$@smyslov.net> <021f01d81118$9ce6ac40$d6b404c0$@jpshallow.com> <0bf5f4a8-0c1d-025a-174b-619a786b8a72@nttv6.jp> <4816_1643615754_61F7960A_4816_304_1_787AE7BB302AE849A7480A190F8B9330354895C3@OPEXCAUBMA2.corporate.adroot.infra.ftgroup>
In-Reply-To: <4816_1643615754_61F7960A_4816_304_1_787AE7BB302AE849A7480A190F8B9330354895C3@OPEXCAUBMA2.corporate.adroot.infra.ftgroup>
Date: Mon, 31 Jan 2022 11:01:11 -0000
Message-ID: <105a01d81691$db5d1850$921748f0$@jpshallow.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AQKFePpRuJZYCogUNthCWROf8cD29gHEW+5pAiO2Cb4B8Q8zTqrzW/Vg
Content-Language: en-gb
Archived-At: <https://mailarchive.ietf.org/arch/msg/dots/_kCa4uzdI8RGr4DmIgJasunKfvw>
Subject: Re: [Dots] WGLC for draft-ietf-dots-robust-blocks-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: Mon, 31 Jan 2022 11:01:21 -0000

Hi Kaname,

Thanks for the feedback.

The cache-key in general is built from the presented options in the request.
Whether an option and its value is included in the cache-key is initially
determined from whether the Option is either Unsafe or (Safe-To-Forward and
NoCacheKey does not have all the bits set)
https://datatracker.ietf.org/doc/html/rfc7252#section-5.4.6

However, there are exceptions to this.  If you want the cache-key to be the
entire body spanning multiple payloads, then you would exclude BLOCK1 and
BLOCK2 options form the cache-key, but if you want access to specific
blocks, then you could include BLOCK1 and/or BLOCK2 as a part of the
cache-key definition.  This is hinted at in
https://datatracker.ietf.org/doc/html/rfc7959#section-2.10

Q-BLOCK1 and Q-BLOCK2 are also Critical and Unsafe as are BLOCK1 and BLOCK2
respectively.  For a proxy - aka DOTS gateway - for simplicity, it is
expected that the entire body is cached
https://datatracker.ietf.org/doc/html/draft-ietf-core-new-block#section-8
(i.e. Q-BLOCK1 and Q-BLOCK2 are not a part of the cache-key).

I don’t think anything extra needs to be added to dots-robust-blocks
regarding DOTS specific caching requirements as this draft is all about
tuning (should it be needed, but unlikely and not recommended unless you
really know what you are doing and have done lots of robustness testing) how
Q-Blocks work.  There was only one change to the recommended default CoAP
transmission parameters (MAX_RETRANSMIT changed from 4 to 3) as there were
timeout issues on lossy networks
https://datatracker.ietf.org/doc/html/rfc9132#section-4.5.2 

Regards

Jon
> -----Original Message-----
> From: mohamed.boucadair@orange.com [mailto:mohamed.boucadair@orange.com]
> Sent: 31 January 2022 07:56
> To: kaname nishizuka; dots@ietf.org
> Cc: dots-chairs@ietf.org; draft-ietf-dots-robust-blocks@ietf.org
> Subject: Re: [Dots] WGLC for draft-ietf-dots-robust-blocks-01
> 
> Hi Kaname,
> 
> Thank you for sharing the comments.
> 
> We can't specify what cache key will be used as this will depend on used
> options (and their types). We may consider adding an example and reason
> about it, but still that's just an example and can't be generalized.
That's why my
> current take on this is to make no change, but more opinions are welcome.
> 
> Looking forward to reading more about the Q-Block tests results.
> 
> Cheers,
> Med
> 
> > -----Message d'origine-----
> > De : Dots <dots-bounces@ietf.org> De la part de kaname nishizuka
> > Envoyé : dimanche 30 janvier 2022 14:27
> > À : supjps-ietf@jpshallow.com; Valery Smyslov <valery@smyslov.net>;
> > dots@ietf.org
> > Cc : dots-chairs@ietf.org; draft-ietf-dots-robust-blocks@ietf.org
> > Objet : Re: [Dots] WGLC for draft-ietf-dots-robust-blocks-01
> >
> > Hi,
> >
> > I've reviewed the draft.
> > I found no issue around the specification.
> >
> > The dynamic configuration and negotiation of the values are not
> > implemented yet on my side(go-dots).
> > But it'll be a good candidate for the next interop with Jon.
> >
> > The good news is that in our internal test, it's revealed that QBlock is
> > more robust against certain rate of packet loss compared with normal
> > block option. I will share the test result soon (maybe in the next IETF)
> >
> > One more thing I'd like to mention is about cache behavior.
> > I think it can be stated what the cache key should be based on(how it is
> > distinguished/identified).
> > There is no specific text on draft-ietf-core-new-block (and should not
> > be) If this draft can include a bit sense about DOTS specific cache
> > strategy, it could get more friendly for implementers.
> > I'm not sure it's on CoAP side or DOTS side, still though.
> >
> > Regards,
> > Kaname
> >
> >
> > On 2022/01/24 20:50, supjps-ietf@jpshallow.com wrote:
> > > Hi all,
> > >
> > > I have re-reviewed the draft as well as being one of the Authors and
> > > can find no issues.
> > >
> > > The ability to dynamically configure and negotiate values for the
> > > first 4 parameter values has been implemented.
> > >
> > > libcoap (outstanding PR) has been updated to support the configuration
> > > (the last 2 parameter values are auto-computed based on the other
> > > parameters) as a part of the work for draft-ietf-core-new-block and my
> > > DOTS implement does the negotiation and pushes the resultant
> > configuration.
> > >
> > > Regards
> > >
> > > Jon
> > >
> > >> -----Original Message-----
> > >> From: Valery Smyslov [mailto: valery@smyslov.net]
> > >> Sent: 17 January 2022 15:05
> > >> To: dots@ietf.org
> > >> Cc: draft-ietf-dots-robust-blocks@ietf.org; dots-chairs@ietf.org
> > >> Subject: WGLC for draft-ietf-dots-robust-blocks-01
> > >>
> > >> Hi,
> > >>
> > >> this message starts a two-week working group last call for
> > >> draft-ietf-dots-robust-blocks-01.
> > >> The WGLC will end on Monday, January 31. Please, review the draft and
> > >> send your comments to the mailing list.
> > >>
> > >> Regards,
> > >> Frank & Valery.
> > >
> > > _______________________________________________
> > > Dots mailing list
> > > Dots@ietf.org
> > > https://www.ietf.org/mailman/listinfo/dots
> >
> > _______________________________________________
> > Dots mailing list
> > Dots@ietf.org
> > https://www.ietf.org/mailman/listinfo/dots
> 
> ___________________________________________________________________
> ______________________________________________________
> 
> 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.
> 
> _______________________________________________
> Dots mailing list
> Dots@ietf.org
> https://www.ietf.org/mailman/listinfo/dots