[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tcpdump-workers
Subject:    Re: [tcpdump-workers] Public Release of Z-Wave G.9959 TAP Specification
From:       James Ko via tcpdump-workers <tcpdump-workers () lists ! tcpdump ! org>
Date:       2022-12-09 18:51:55
Message-ID: mailman.67.1670613535.2985.tcpdump-workers () lists ! tcpdump ! org
[Download RAW message or body]

Return-Path: <jck@exegin.com>
Received: from localhost (localhost [127.0.0.1])
	by tuna.sandelman.ca (Postfix) with ESMTP id B55C71800F
	for <tcpdump-workers@lists.tcpdump.org>; Fri,  9 Dec 2022 14:18:53 -0500 (EST)
Received: from tuna.sandelman.ca ([127.0.0.1])
	by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024)
	with LMTP id JHqvqc6Tk9As for <tcpdump-workers@lists.tcpdump.org>;
	Fri,  9 Dec 2022 14:18:49 -0500 (EST)
Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com \
[IPv6:2a00:1450:4864:20::42e])  (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 tuna.sandelman.ca (Postfix) with ESMTPS id EB19B1800C
	for <tcpdump-workers@lists.tcpdump.org>; Fri,  9 Dec 2022 14:18:48 -0500 (EST)
Authentication-Results: tuna.sandelman.ca;
	dkim=pass (2048-bit key; unprotected) header.d=exegin.com header.i=@exegin.com \
header.b="CgqRIGUp";  dkim-atps=neutral
Received: by mail-wr1-x42e.google.com with SMTP id u12so6070821wrr.11
        for <tcpdump-workers@lists.tcpdump.org>; Fri, 09 Dec 2022 10:52:08 -0800 \
                (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=exegin.com; s=google;
        h=to:subject:message-id:date:from:in-reply-to:references:mime-version
         :from:to:cc:subject:date:message-id:reply-to;
        bh=B8j9p2f86m248ctGHx2uxO5SXIMWX8/L4i2dWsfnvWc=;
        b=CgqRIGUpd2mwyDsXsNLCAPtJulA2cazrxVhncBxliqdDM4XHOZmMbHuIRGKf3lT6nh
         09JTXdKgl+GArp46cwz8SmU51uMxgoWlLC9OwuSK0XePYAKBEU8nUv7al6wy/aZimEfZ
         zUyhEJ1M7RY9SvGYmGnm+4CQds/VTjCjLoCsQmb1xD9XAepQZE1XYMFN+kAY2XxRRTKU
         J1fdJjvL1F+gIHR5gHYySUJPDbjZ3r5mFpjAsSjWzvOQmjoZ1RRZowU4LJzxZCZGbO3Q
         nqvxBLqwT76kquGUy3HSkTnvFAUJqq+77A5Yi7wSRQCO1s05TjX+aMg50984sLvy+/gk
         aPkA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20210112;
        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=B8j9p2f86m248ctGHx2uxO5SXIMWX8/L4i2dWsfnvWc=;
        b=BbktiIV43iyQyr4HEpGib+NVHybSiJAW63es7XPpuq3LJs2XKUoMdb95aDSvqwrinz
         MbSCYh0YdKZchEzzmyW5EodD8171G8Xn+b1cfHYigp+ZBmX7z5Z5vAhiMLuI37/bE5L2
         hPwpSr0ibxC48ejG38tNSBmZfVIAIFHaGEhAwvhASxWhi3F8fxhhuMlIuL/2eqWjJ4vK
         uLTlFAd7x/OCBuzWPtfJOOHJlvUkWijrDuDJO9jGyLLYo4VHHJzXk1o0c+KnHo9IpN7d
         zOn58c4Rm4WRNo9azNkVikgZupvEc3ZWzJH4hh5FXdWLgprYOmTtmf22unX/Az7nKv3J
         uxLA==
X-Gm-Message-State: ANoB5pmk04EA8n/ZiI7gJf3knZWhHQxWa52RZL8SyitRTCBpK8yGRkfd
	fjqqBPDuRtg9yZKuj75NHxaU9iDtQBnKaR25IuSQ5apVlb8GvnZP
X-Google-Smtp-Source: \
AA0mqf7MeJtQlFJ/+F2IezGUJ2n/HNLfleC0749coa2uB3yrTgyqeYGB/7U10J5OCUreQBKCD5ZnRX99Y4Y2Fd38vy0=
                
X-Received: by 2002:adf:fe91:0:b0:242:4151:f0b6 with SMTP id
 l17-20020adffe91000000b002424151f0b6mr16140409wrr.95.1670611926937; Fri, 09
 Dec 2022 10:52:06 -0800 (PST)
MIME-Version: 1.0
References: <mailman.15.1668557773.2366.tcpdump-workers@lists.tcpdump.org>
 <mailman.16.1668561892.2366.tcpdump-workers@lists.tcpdump.org>
 <mailman.9.1670271586.2985.tcpdump-workers@lists.tcpdump.org> \
                <mailman.16.1670285499.2985.tcpdump-workers@lists.tcpdump.org>
In-Reply-To: <mailman.16.1670285499.2985.tcpdump-workers@lists.tcpdump.org>
From: James Ko <jck@exegin.com>
Date: Fri, 9 Dec 2022 10:51:55 -0800
Message-ID: <CA+0PRvuR9y0cNaiOKkKWGio+a+NjqsUsnfajkN_maUAjBPSNAw@mail.gmail.com>
Subject: Re: [tcpdump-workers] Public Release of Z-Wave G.9959 TAP Specification
To: tcpdump-workers@lists.tcpdump.org
Content-Type: text/plain; charset="UTF-8"
X-Content-Filtered-By: Mailman/MimeDel 2.1.29

Just two comments inline.

On Mon, Dec 5, 2022 at 3:45 PM Denis Ovsienko via tcpdump-workers <
tcpdump-workers@lists.tcpdump.org> wrote:

> 
> 
> 
> ---------- Forwarded message ----------
> From: Denis Ovsienko <denis@ovsienko.info>
> To: tcpdump-workers@lists.tcpdump.org
> Cc:
> Bcc:
> Date: Mon, 5 Dec 2022 23:44:46 +0000
> Subject: Re: [tcpdump-workers] Public Release of Z-Wave G.9959 TAP
> Specification
> On Mon, 5 Dec 2022 11:53:11 -0800
> Chris Brandson via tcpdump-workers <tcpdump-workers@lists.tcpdump.org>
> wrote:
> 
> > Hello everyone,
> > 
> > We are pleased to publish the draft Z-Wave G.9959 TAP Specification
> [...]
> 
> Hello Chris.
> 
> Thank you for preparing the document.  I am not familiar with the
> standard to make more substantial comments, but a few things seem to
> require some attention:
> 
> * Page 7: "Length is a minimum of 4 octets and must be a multiple of 4.
> The addition of new TLVs does not and must not require incrementing
> the version number." -- this definition automatically creates a
> problem space on the receiving/reading end of this encoding because
> slightly more than 75% of all possible length values are invalid by
> definition. The classic solution would be not to include the first 4
> octets into the length, and to count in multiples of 4, this way any
> length value would be valid, free of underflows and better consumable
> by simple parsers such as BPF bytecode.
> 
> Note that the TAP header length field differs from the TLV header length
field.  I'm not opposed to omitting the header bytes from the TAP header
length but just wanted to make sure we all understood the difference in
this part of the document.  For a little background: I know this
specification was based on IEEE802.15.4-TAP (
https://github.com/jkcko/ieee802.15.4-tap) and that was based on
IEEE802.11-RADIOTAP (https://www.radiotap.org/).  This was also likely
because IP header length and total length fields also includes the header
bytes.

* Page 8: "Z-Wave PHY Payload" -- is this the PPDU from Figure A.7 of
> G.9959 2015/01, starting from "preamble sequence"?
> 
> * Page 9: "length - number of octets for type in value field (not
> including padding)" -- this definition looks better, but in the next
> three TLV diagrams the length does include the T and the L.
> 
> 4.1 FCS length should be 1 rather than 4 here.  Padding not included.

Regards,
James



_______________________________________________
tcpdump-workers mailing list
tcpdump-workers@lists.tcpdump.org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic