Re: [fdt] [Webtransport] Standards for protocol headers?
Scott Morgan <scott@adligo.com> Wed, 24 June 2020 13:54 UTC
Return-Path: <scott@adligo.com>
X-Original-To: fdt@ietfa.amsl.com
Delivered-To: fdt@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C54493A0DB2 for <fdt@ietfa.amsl.com>; Wed, 24 Jun 2020 06:54:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.896
X-Spam-Level:
X-Spam-Status: No, score=-1.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_NONE=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=adligo-com.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 meNoOh1oTuU8 for <fdt@ietfa.amsl.com>; Wed, 24 Jun 2020 06:54:28 -0700 (PDT)
Received: from mail-ot1-x331.google.com (mail-ot1-x331.google.com [IPv6:2607:f8b0:4864:20::331]) (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 DF85C3A0D99 for <fdt@ietf.org>; Wed, 24 Jun 2020 06:54:27 -0700 (PDT)
Received: by mail-ot1-x331.google.com with SMTP id m2so1937723otr.12 for <fdt@ietf.org>; Wed, 24 Jun 2020 06:54:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adligo-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=1v7/5JK1JQTq5xFQwWx4H/1W79B0hZBnTcX78m+LyyI=; b=HPkkSst/z3C2itoRKmyeYiMTAGkKACX4F6SBvzIylJou40WMt9P2B5CZjupERExA7l 1s0DUOtKJirqIADTvE/MI6RZpeU+xyTu1SYAq5OLLsUYk8nffsN+PcHUD8GghXmfQ9Vf BOKxkopXQe1a5fueDpUMDfJEcvoARoBef2l9xJUzvvyyB+MMpN7tIJwdmkxWYpc8RGw9 S8x79WANyRvEU2TGwmX4PspzWEzGNw5dieVUmbCraUJnXcoPZrkT5GNno6IwZeQu2hxY E13B7Ns9GkfaggNoZyx6oTkIYNm77Tq8iKVnDDZYLAICnFpaSOUrNgMsAiWIzRH30SFt ed7g==
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=1v7/5JK1JQTq5xFQwWx4H/1W79B0hZBnTcX78m+LyyI=; b=jMMFq9+CR+mcV4OiKANfRmIuudJtdajOYMLBX0zNp2XcFVvzlFJPhJAxRa013tOjC+ o8oj9Uo9O5YZjKAsqC/6ZTx6/rY6qNpEQqOlc5WMmX4cS/owEXeiBN8a7dwodCaDxRnH 5M8gPR0aJZrc+wBuCbS7VaCC+fY9nDIKkdx7N4KVBilyrrDCfsd6cpFvAV2VtwQ8fRCj 1xIf1O7dbH4B7rDldgii5uQUKy7TukBdbTJGyRDrPOLJW1yyUgzJrrQ0skd3ysxc4l8X fdrTPbt5Xv8OlI5whYaJq5Hu52gs0Qjigf5+Cfn8JxkdDQ7hPTSqHfe9tgAWycatab6Z UHDQ==
X-Gm-Message-State: AOAM5310wRqan+sB3aSbNf/Mjn1CvI/RxIqbj7kya2PWjhmR7HMUDWZ5 TMuBanListMPS9jPY06roMt9D/MEx0qDOO546zcKdQ==
X-Google-Smtp-Source: ABdhPJyGqNbwqAa2eLzrvN/oAjC/A0ujWrv2mWx3HuS5sj96hbOnRNW/tUzyUmPp++xCX4Osyqi1QhFWGkWSRt4n0Bc=
X-Received: by 2002:a9d:7083:: with SMTP id l3mr23686696otj.232.1593006867079; Wed, 24 Jun 2020 06:54:27 -0700 (PDT)
MIME-Version: 1.0
References: <CANEdHmhypZE01SHw--UgrpG1yuOU67cKXHv0Jbecyb7sJzYPZA@mail.gmail.com> <2804eb55-e79a-3383-9ebf-cd4f495b273a@petit-huguenin.org> <CANEdHmhPWwO-pO7D_biTQ1_b5oh3xCsdXEi7Urf8sXJQcvVVGw@mail.gmail.com> <ecabce9e-d09f-6ce1-cd17-dea1e793a4cf@acm.org> <CANEdHmiZVdx93Sj1xf6wKPhoBxWGTB9q_WbesJx5FJ26Q0Jzjg@mail.gmail.com> <9796F6C9-ABB9-4AD4-ADA0-A6E275DAE3EE@glasgow.ac.uk> <CAOdDvNoUphx62=a_SOsEfMpxn+Lf7u0yhd0-+s2XBBLwRyVnyA@mail.gmail.com> <CANEdHmgXFUB4B3Taf1hig8kuhxG1vS=SvweDho9mxvQVyvEZyQ@mail.gmail.com> <0b926794-5056-1dfc-645f-f5acde2498a0@acm.org> <1DED87CE-741E-4B59-B144-0C1CA3AE26C9@tzi.org> <CANEdHmgu6geJgAzH07h8o+Wmjyv=Dpfd4XzyykaKqTuYEGzBXQ@mail.gmail.com> <bc1ee8e2-03c4-c845-e505-5d1d12139d35@acm.org> <7F3766B3-23B7-4780-B6DC-E20158790B89@tzi.org> <CANEdHmheJpCfr2m--punfu3Jyt0gKujYX-VqwvZPwsqmZWa0wg@mail.gmail.com> <46324AE5-6FC9-4242-8666-F56E567C3692@tzi.org>
In-Reply-To: <46324AE5-6FC9-4242-8666-F56E567C3692@tzi.org>
From: Scott Morgan <scott@adligo.com>
Date: Wed, 24 Jun 2020 08:54:16 -0500
Message-ID: <CANEdHmjnZPzNx=+=ZRg6P-UZNmqoQ4y6TpxTk4AsiLc0MymUpw@mail.gmail.com>
To: Carsten Bormann <cabo@tzi.org>
Cc: Marc Petit-Huguenin <petithug@acm.org>, fdt@ietf.org
Content-Type: multipart/alternative; boundary="0000000000006ff6c205a8d4d023"
Archived-At: <https://mailarchive.ietf.org/arch/msg/fdt/bnvgmZMRCtjbTboSFBQ2EW4u2VY>
Subject: Re: [fdt] [Webtransport] Standards for protocol headers?
X-BeenThere: fdt@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Mailing list for the discussion of the use of formal description techniques in IETF documents <fdt.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/fdt>, <mailto:fdt-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/fdt/>
List-Post: <mailto:fdt@ietf.org>
List-Help: <mailto:fdt-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/fdt>, <mailto:fdt-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 24 Jun 2020 13:54:30 -0000
Hi Again, Thanks for responding, I have glanced at these and here are my notes; https://tools.ietf.org/html/rfc7049 I want to avoid being bound by something like this (i.e. JSON); The underlying data model is an extended version of the JSON data model [RFC4627 <https://tools.ietf.org/html/rfc4627>]. https://tools.ietf.org/html/rfc5234 Yep putting my idea in this form would probably help and be a lot of work. So far the Bytes Class would simply look like this; *(OCTET) / *(LF) Also the LineOfBytes Class would look like this; *(OCTET) LF :) https://www.ietf.org/id/draft-ietf-cellar-ebml-17.txt This seems similar to what I'm trying to do but different enough to be a separate idea, I like the part about VINTs. However since I'm trying to parse OCTETs distinguishing the 7 bit ascii from other OCTETs I would need (7 bit VINTs) to allow for that compression. Please let me know if anyone is interested in collaborating on this idea! On Tue, Jun 23, 2020 at 11:56 PM Carsten Bormann <cabo@tzi.org> wrote: > On 2020-06-24, at 04:27, Scott Morgan <scott@adligo.com> wrote: > > > > Thoughts? > > Well, you seem to want to invent another lexical syntax. > > 2020, we don’t do that any more. > > For things that are text and need to be exchanged as text, JSON is the > lexical syntax now. > Where you need more flexibility (e.g., include JPEG) and don’t have a need > for the encoding to be text, use CBOR. > > This turns the question “what is the lexical syntax” (something which you > would express in ABNF) into the question “what is the structure of the > data” (something that you express in CDDL). For a theoretician, of course, > both are syntaxes, but there is a lot of benefit in handling the lexical > syntax with a known good software component (many bugs that turn into > attack vectors are in parsers for lexical syntax). > > [That doesn’t mean you cannot have fatal bugs in the component that > handles the structure of the data — we have just reduced the attack surface > a lot, and we can use an optimized component for the lexical work.] > > This doesn’t mean there isn’t a place for highly refined encodings such as > HDF5, or legacy structural encodings such as RIFF (underlying WAV etc.) or > JPEG’s byte stuffing based delimiters. There are even new legacy encodings > of this kind being defined :-) (e.g., Extensible Binary Meta Language, > draft-ietf-cellar-ebml). But for 98 % of all new work, JSON and CBOR are > it. > > Grüße, Carsten > > -- Regards, Scott Morgan President & CEO Adligo Inc http://www.adligo.com https://www.linkedin.com/in/scott-morgan-21739415 A+ Better Business Bureau Rating <https://www.bbb.org/chicago/business-reviews/computer-software-publishers-and-developers/adligo-inc-in-chicago-il-88381256> https://github.com/adligo By Appointment Only: 1-866-968-1893 Ex 101 scott@adligo.com skype:adligo1?call Send Me Files Securely: *https://www.sendthisfile.com/f.jsp?id=ewOnyeFQM18IDRf7MMIdolfI <https://www.sendthisfile.com/f.jsp?id=ewOnyeFQM18IDRf7MMIdolfI>*
- Re: [fdt] [Webtransport] Standards for protocol h… Stephen McQuistin
- [fdt] Fwd: [Webtransport] Standards for protocol … Scott Morgan
- Re: [fdt] [Webtransport] Standards for protocol h… Patrick McManus
- Re: [fdt] [Webtransport] Standards for protocol h… Scott Morgan
- Re: [fdt] [Webtransport] Standards for protocol h… Marc Petit-Huguenin
- Re: [fdt] [Webtransport] Standards for protocol h… Carsten Bormann
- Re: [fdt] [Webtransport] Standards for protocol h… Scott Morgan
- Re: [fdt] [Webtransport] Standards for protocol h… Marc Petit-Huguenin
- Re: [fdt] [Webtransport] Standards for protocol h… Carsten Bormann
- Re: [fdt] [Webtransport] Standards for protocol h… Scott Morgan
- Re: [fdt] [Webtransport] Standards for protocol h… Carsten Bormann
- Re: [fdt] [Webtransport] Standards for protocol h… Scott Morgan