[lp-wan] Fwd: draft-architecture-02-inputs "better match"

Ana Minaburo <ana@ackl.io> Tue, 23 May 2023 18:20 UTC

Return-Path: <ana@ackl.io>
X-Original-To: lp-wan@ietfa.amsl.com
Delivered-To: lp-wan@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 87237C1524DB for <lp-wan@ietfa.amsl.com>; Tue, 23 May 2023 11:20:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=ackl-io.20221208.gappssmtp.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oAJNlaD1-8PT for <lp-wan@ietfa.amsl.com>; Tue, 23 May 2023 11:20:25 -0700 (PDT)
Received: from mail-yb1-xb2a.google.com (mail-yb1-xb2a.google.com [IPv6:2607:f8b0:4864:20::b2a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A2E24C1524BC for <lp-wan@ietf.org>; Tue, 23 May 2023 11:20:25 -0700 (PDT)
Received: by mail-yb1-xb2a.google.com with SMTP id 3f1490d57ef6-ba82d82bd39so10082276.2 for <lp-wan@ietf.org>; Tue, 23 May 2023 11:20:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ackl-io.20221208.gappssmtp.com; s=20221208; t=1684866024; x=1687458024; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=WaFoIXn6pV2pQNXpTvH+HOxn5EwPcV+OMSKyh7KLFTA=; b=wUMIwomE7CiuGNaDwmDpBOE7MBjDDSQauGGKEkbYTVUk4IBINCfItKRHsev+hY6YTa 13k6JgeD2mHWn1BaJeOYNqgPkry2fHgKcPWSqzEkvQMk8bpy7b7Pxo3303viNdCF4+dS in7QixwhW5wUqpYAX2d/9KdGmN6Yt5JrqyWBYKQTr/aaLCK3HFjq+RaQpB3n8N+zIJi3 Ay5VJG13ce5qCYPrhAUkNLprHRzEKy5mKYRhFiABuge0qqdikJ1N5UBMDRCn1QjCT1rZ 1PHSqkKWlsE+or7yAWNHNtTBwo9wZ/If3jToOarLnhKQsWZguOxvmn8R7SN2XoKR2dOA pq0w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684866024; x=1687458024; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=WaFoIXn6pV2pQNXpTvH+HOxn5EwPcV+OMSKyh7KLFTA=; b=Jgnx375QmYnajpnZuAgrbEmpoJxuUcoK6s13xwHqA3HIbea2i504/5MwYEr1tFS5wd gWHXRb0bb+b9kZq8b7Fo6gndpvZmCMjCcrWrsMgZyOp/Td8TDmO75C2OywLgEmes9rg7 pFcQxxRYXEBYUZPOzRqTxIymRTH7qcqlEzQDPKSmFwaldKoThGPKIsSm8E7BCYeENaGC hfwEwwwFAdKlPGNoYdgEzIqz8IuScgbYblcL56aSB0LihZTLAisMtyM4IQ7WGUB0sb2T j652SX+G5G1MjTCB8KszWKz3mVkjT9XskVmzaIV3k4mjrY9h2aPOKJoZxsCgJwEJu0OZ 7Zog==
X-Gm-Message-State: AC+VfDzbnFbs4GsaID9KzWS2MB9d2QW4oiWxPBGjb6X9mbbm4CziAwmi 0xs3nBfn/eVfLQlYp7/VsaMl27SUJXGjkYVrfnpDLjwNDpipZLzYvDk=
X-Google-Smtp-Source: ACHHUZ500qguTJ5q3EWTfp8YzrSNnCnEH2Xs/cVFEtia7MOomnau/81/KSDNqpT8KfmOFQTR/7DT49+BGLvFwfCFc4U=
X-Received: by 2002:a81:4fd1:0:b0:52e:cd73:f927 with SMTP id d200-20020a814fd1000000b0052ecd73f927mr16272065ywb.48.1684866024466; Tue, 23 May 2023 11:20:24 -0700 (PDT)
MIME-Version: 1.0
References: <CAAbr+nQ0k4Ny=sPy+EpeEo=fBxQQqo0ZY3s1ajQUNz_J7CkqAg@mail.gmail.com>
In-Reply-To: <CAAbr+nQ0k4Ny=sPy+EpeEo=fBxQQqo0ZY3s1ajQUNz_J7CkqAg@mail.gmail.com>
From: Ana Minaburo <ana@ackl.io>
Date: Tue, 23 May 2023 20:19:58 +0200
Message-ID: <CAAbr+nSbfq9kJ_rZVR-GmGyk1iaBse=r=Cv1p74dy4zZZ3CHOA@mail.gmail.com>
To: lp-wan <lp-wan@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000e2078d05fc607028"
Archived-At: <https://mailarchive.ietf.org/arch/msg/lp-wan/KKig1vU-xYHteLa7r6ZAwqRs9Tk>
Subject: [lp-wan] Fwd: draft-architecture-02-inputs "better match"
X-BeenThere: lp-wan@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "Low-Power Wide Area Networking \(LP-WAN\), also known as LPWA or Low-Rate WAN \(LR-WAN\)" <lp-wan.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lp-wan>, <mailto:lp-wan-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/lp-wan/>
List-Post: <mailto:lp-wan@ietf.org>
List-Help: <mailto:lp-wan-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lp-wan>, <mailto:lp-wan-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 May 2023 18:20:26 -0000

This too.

---------- Forwarded message ---------
From: Ana Minaburo <ana@ackl.io>
Date: Tue, May 23, 2023 at 4:39 PM
Subject: draft-architecture-02-inputs "better match"
To: Pascal Thubert (pthubert) <pthubert@cisco.com>
Cc: <lpwan@ietf.org>, <schc@ietf.org>


Hello Pascal,
This is the second thread.


   - 2. Section 3. In the Static Context Header Compression, in the first
   paragraph, it is mentioned: "The rule that matches best is used to
   compress."

 *[Ana] *It is very ambiguous because it can be misinterpreted. Does it
refer to the Rule that matches the complete header, i.e., the Rule with the
same FIDs as the header format? Or do you mean the best compression
residue? RFC8724 leaves to the implementation the choice of the Rule to be
used when multiple valid Rules match.



Agreed. This should be discussed on the list since it is an attack vector.
Someone inserting a "better match" can turn a decompressor into a bomber.
Let us start a thread on this.


[Ana] If the best compression residue is what you mean, I agree that it
introduces an attack vector that needs to be solved by a deeper discussion
together with the modification of the Rules during the session.

But In a context, several Rules may match the header and may be used to
compress it. For instance, deciding which one is used is an implementation
problem.