Re: [fdt] [Webtransport] Standards for protocol headers?

Patrick McManus <mcmanus@ducksong.com> Mon, 15 June 2020 18:54 UTC

Return-Path: <mcmanus@ducksong.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 A5BE13A0AB9 for <fdt@ietfa.amsl.com>; Mon, 15 Jun 2020 11:54:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ducksong.com header.b=ScuxOq4I; dkim=pass (2048-bit key) header.d=outbound.mailhop.org header.b=CKDgf4Ps
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 Vix23XfVIpPj for <fdt@ietfa.amsl.com>; Mon, 15 Jun 2020 11:54:00 -0700 (PDT)
Received: from outbound2o.ore.mailhop.org (outbound2o.ore.mailhop.org [54.187.213.119]) (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 1625B3A0ABD for <fdt@ietf.org>; Mon, 15 Jun 2020 11:53:59 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1592247239; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=JlB8f1NhamL+hBYdxzgjoQbp+F915qJeQupg8rVPHpM5HGWlGOTvkqPyLn0juKgoxIF7p0A9MQl1T om2BJ+FoaEwN2AoYT6LNm2OBITzl65Nr+tTXuDa052KbxmTcAye4jiMl5GgMuc5ANZhs5sz5pDCncf CrcWR7aNDgYusLY4OSLIjx0kWEk42jydCyRJejb5lW2pMOsngH6UvtgfOeCfAKU6AzJaMHNzC6mzHd NrXeMN97Dvw0qIkrTMtfOrhjL0sYzGWgEJYy5BIZQaxJeyPWDe6CdDAic57MaipJemI1OeOjrwo/U8 pVAfs5mXM5yy1oP5FmCVqqsTVWWufCQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=content-type:cc:to:subject:message-id:date:from:in-reply-to:references: mime-version:dkim-signature:dkim-signature:from; bh=08n7Tb8xEtJNLgWoGy3pPvic0DNmWe8o7TnXS+jjDeE=; b=tpGT5xQnELUdrwCVnjRtiWxSSsgWnqau4u5hJ0e6s4iDxvx4qFe36rFnuvQ2NPDn6U7lkMydpEsXR gCNybyV54/S9eAEDvF3C8P+U9iJpgQftL3amndEHxW0GmPX8R5OXqLJNCkAdi+K5mCvXt9IloFdu2t oDJN1XNXqMTo6CqgWcCRBHQyzE4I8egpbVsfaFaF8VvE/g4IQjVOZOSQgyBN3SD3NTWmYxqtpDiBd7 VFlS1C1/N6UxRceZ6b3dZf5hk7GLU248BCKc1TrarymbCwuu6CjWtnm5jJA0y3GdrMTj3XwOdq4eH2 1AQvAn5WhUjDb/m1Q8PzmdpbbB6CFtQ==
ARC-Authentication-Results: i=1; outbound4.ore.mailhop.org; spf=pass smtp.mailfrom=ducksong.com smtp.remote-ip=209.85.167.170; dmarc=none header.from=ducksong.com; arc=none header.oldest-pass=0;
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ducksong.com; s=duo-1537391512170-ea99bbb3; h=content-type:cc:to:subject:message-id:date:from:in-reply-to:references: mime-version:from; bh=08n7Tb8xEtJNLgWoGy3pPvic0DNmWe8o7TnXS+jjDeE=; b=ScuxOq4IlF8vjKJike2Et9RD6yZyDG0iLTJHEdpmgPbYuiG0BFMsY5ioyccux7QmV0qYljfoOpE4F jVOPP1j7E7A4W22OL2Wy/CoGctWb/YNy/1WaGg8KCUe7RFG6oTO68nFLZyZ58R47Qm8NrqRY9JVlVT iaJZ7pdLBIiwand8=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=dkim-high; h=content-type:cc:to:subject:message-id:date:from:in-reply-to:references: mime-version:from; bh=08n7Tb8xEtJNLgWoGy3pPvic0DNmWe8o7TnXS+jjDeE=; b=CKDgf4PsUm7PZNSPTyVVoiLKN4PWu3NhOTY3osy+9OmpqkxcUE9bgKCIDXW8O8h08Dg3K4Brz5uRr 2MlWpS/eAH89trhpDl1qOkLG0Z5GZ0++gHrigQ77EX8GVY8qZB4MjmRHON3csvduWFoS17/UBoF+eV N39DV+0m2hM0YA8A9s+MIj8AFa0/Nm3I5EmJ9zFvXC5E36jb3Jv1zg4qlKYjsL7YPLtjWA2SSMvr/h QXFmvOC4hVxHMgTyaN1mFlEG0tCAlRWb5ZuoIwXDQu6e+hqzYdBXMUg4t5EANbehIczvJZYRTszPVS CmcDsLBIukyczb6TOuNjBul2/YebyKw==
X-MHO-RoutePath: bWNtYW51cw==
X-MHO-User: 90dea8cb-af39-11ea-a067-6d02e42e573a
X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information
X-Originating-IP: 209.85.167.170
X-Mail-Handler: DuoCircle Outbound SMTP
Received: from mail-oi1-f170.google.com (mail-oi1-f170.google.com [209.85.167.170]) by outbound4.ore.mailhop.org (Halon) with ESMTPSA id 90dea8cb-af39-11ea-a067-6d02e42e573a; Mon, 15 Jun 2020 18:53:57 +0000 (UTC)
Received: by mail-oi1-f170.google.com with SMTP id k4so16875268oik.2; Mon, 15 Jun 2020 11:53:56 -0700 (PDT)
X-Gm-Message-State: AOAM530GhAdyzsWVsN6V6YImM5BIU5iSIv5lLl2D3159OtmZ4iv+yQwy HWBfpbMjyPyiKGK6xvhTJkkEw4c9XNG/O73D4Yg=
X-Google-Smtp-Source: ABdhPJwnn6dozNHwpcDgpUd8Q9dKYF+YtlBcDgjDOkimuvrwpzdayTVWuYuznjkS/yJOpNZz5es+Uw9p9vjpw5aSfyA=
X-Received: by 2002:aca:a814:: with SMTP id r20mr612729oie.91.1592247236444; Mon, 15 Jun 2020 11:53:56 -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>
In-Reply-To: <9796F6C9-ABB9-4AD4-ADA0-A6E275DAE3EE@glasgow.ac.uk>
From: Patrick McManus <mcmanus@ducksong.com>
Date: Mon, 15 Jun 2020 14:53:45 -0400
X-Gmail-Original-Message-ID: <CAOdDvNoUphx62=a_SOsEfMpxn+Lf7u0yhd0-+s2XBBLwRyVnyA@mail.gmail.com>
Message-ID: <CAOdDvNoUphx62=a_SOsEfMpxn+Lf7u0yhd0-+s2XBBLwRyVnyA@mail.gmail.com>
To: Stephen McQuistin <Stephen.McQuistin@glasgow.ac.uk>
Cc: Scott Morgan <scott@adligo.com>, "webtransport@ietf.org" <webtransport@ietf.org>, "fdt@ietf.org" <fdt@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000ec47a005a823f23e"
Archived-At: <https://mailarchive.ietf.org/arch/msg/fdt/spuLGVeRyNhyGVn9eK90_4dOSy0>
X-Mailman-Approved-At: Mon, 15 Jun 2020 11:56:30 -0700
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: Mon, 15 Jun 2020 18:54:04 -0000

you might be interested in structured field values for http
https://datatracker.ietf.org/doc/draft-ietf-httpbis-header-structure/

-P


On Sat, Jun 13, 2020 at 8:08 AM Stephen McQuistin <
Stephen.McQuistin@glasgow.ac.uk> wrote:

> Hi Scott,
>
> We have a draft (draft-mcquistin-augmented-ascii-diagrams) that is looking
> to add tooling (e.g., to generate parser code) around “traditional” packet
> header diagrams, by using a consistent format for both the diagram and the
> text that accompanies it.
>
> In terms of other PDU description languages, the recent QUIC drafts have
> replaced packet diagrams with a bespoke description language:
> https://tools.ietf.org/html/draft-ietf-quic-transport-29#section-1.3.
>
> These are both much simpler than the languages that Marc mentioned, and
> only deal with PDU description rather than data layout description more
> generally, but might be worth a look.
>
> Thanks,
>
> Stephen
>
> On 13 Jun 2020, at 01:53, Scott Morgan <scott@adligo.com> wrote:
>
> Hi Marc,
>
>    Thanks, I'm not trying to be intentionally confusing :)  In an attempt
> to clarify, I'm trying to create a new structured PDU format that could be
> used to define PDU description languages (not a primary concern) as well as
> larger data structures like files or bytes in datagrams.
> https://en.wikipedia.org/wiki/Protocol_data_unit
>
> Lets continue @ fdt@ietf.org !
>
> Cheers,
> Scott
>
> ---------- Forwarded message ---------
> From: Marc Petit-Huguenin <petithug@acm.org>
> Date: Fri, Jun 12, 2020 at 10:03 AM
> Subject: Re: [Webtransport] Standards for protocol headers?
> To: Scott Morgan <scott@adligo.com>, <webtransport@ietf.org>
>
>
> Hi Scott,
>
> I still find your terminology confusing.  I am not sure if you are
> proposing to design a new PDU description language (ala ASN.1, ABNF, RBNF,
> CDDL, XML RELAX, etc..) or a new structured PDU format (ala DER, BER, XML,
> JSON, CBOR, etc...).  If it is the former, I would suggest to resend your
> email to fdt@ietf.org, where we discuss this kind of things.
>
> Thanks.
>
> On 6/12/20 7:25 AM, Scott Morgan wrote:
> > Hi Marc,
> >
> >    Thanks for responding!  I meant 'protocol header' in the broadest
> > sense.  I have implemented some protocols in the past (Web Socket v13,
> SMTP
> > etc) and work a lot with JSON and XML as I mentioned previously.  Here
> are
> > some general frustrations (i.e. problem statement) that I'm looking to
> > overcome;
> >
> > 1) JSON and XML generally lack support for binary data (there are some
> > workarounds but nothing is super great).
> > 2) JSON and XML both now have the concept of a Schema
> >          Note I think the concept of a Schema is a good thing but also
> feel
> > that Schemas often don't cover all
> >      Metadata that needs to be covered.  Perhaps the concept of a Schema
> > needs to be enhanced by UsageMetadata information.
> >          Also note I am frustrated with JSON's inability to provide human
> > readable schemas (multi line text in the .json file (not /n)).
> >          I also have frustrations with XML schemas and XML (like everyone
> > else who now favors JSON over XML)
> > 3) Protocol's often have Headers and other information which act in a
> > similar fashion to Schemas (i.e. they describe / specify data structures)
> >
> >   I'm wondering if it's time for a new markup language that can support
> > binary data and assist in specifying protocol byte segments in addition
> to
> > more general purpose transport and storage data (like JSON & XML do).
> >   I'm thinking about calling it 'Classification Markup Notation'.
> >
> >   I messaged this to the group just to throw the idea out there, to get
> > feedback and also to find collaborators.
> >
> >
> > On Thu, Jun 11, 2020 at 7:53 AM Marc Petit-Huguenin <
> marc@petit-huguenin.org>
> > wrote:
> >
> >> Hi,
> >>
> >> On 6/10/20 5:14 PM, Scott Morgan wrote:
> >>> Hi All,
> >>>
> >>>    I have been working with JSON, XML and some protocol headers
> recently
> >>> and I am wondering...
> >>> Why are there no real standard text formats for protocol headers, or
> am I
> >>> missing something?
> >>>
> >>> It seems to me that a slightly more streamlined/optimal binary/markup
> >>> standard could help protocols attain POCs and adoption much quicker and
> >>> help reduce some of the work defining protocols.
> >>>
> >>> Any thoughts on this topic?
> >>>
> >>>
> >>
> >> Can you please elaborate on what you mean by "protocol header"?  My
> >> understanding of that term is the fixed part at the beginning of a PDU,
> PDU
> >> that also contains a variable length part after it (as in UDP Header,
> TCP
> >> Header, RTP Header, HTTP, SIP, SMTP etc...), but that definition does
> not
> >> seem to apply to JSON or XML (as a whole).
> >>
>
> --
> Marc Petit-Huguenin
> Email: marc@petit-huguenin.org
> Blog: https://marc.petit-huguenin.org
> Profile: https://www.linkedin.com/in/petithug
>
>
>
> --
> 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>*
>
>
>
> <signature.asc>--
> FDT mailing list
> FDT@ietf.org
> https://www.ietf.org/mailman/listinfo/fdt
>
>
> --
> Webtransport mailing list
> Webtransport@ietf.org
> https://www.ietf.org/mailman/listinfo/webtransport
>