Re: [DNSOP] SVCB wire format (draft-ietf-dnsop-svcb-httpssvc-01)

Miek Gieben <miek@miek.nl> Fri, 03 January 2020 07:46 UTC

Return-Path: <miek@miek.nl>
X-Original-To: dnsop@ietfa.amsl.com
Delivered-To: dnsop@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 611311200B2 for <dnsop@ietfa.amsl.com>; Thu, 2 Jan 2020 23:46:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=miek-nl.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 iKSkmYfMul4b for <dnsop@ietfa.amsl.com>; Thu, 2 Jan 2020 23:46:47 -0800 (PST)
Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) (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 9537F120043 for <dnsop@ietf.org>; Thu, 2 Jan 2020 23:46:47 -0800 (PST)
Received: by mail-wr1-x434.google.com with SMTP id c14so41534237wrn.7 for <dnsop@ietf.org>; Thu, 02 Jan 2020 23:46:47 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=miek-nl.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to; bh=mAYww1+7IsnHKzZR1/bCwsyZ0CfFDV1i0Js9XlYzpl0=; b=rQkbzl1Ulz7J3BoZi0kUeZIitcQNQO0OqGv1G3pCkNE7Ewa+ZHlKbF2oWJTGCMGiPy wvMWhufkEt+/N2GeijGI9WP554zSq+tLI7fLde3tUTQG1woBkE25NJICO8gEEppp9KY0 jR8GJUWGwAPHtfbOcIcTOwuJDv24QVXspEhBeByigw2G2DytFPLk2oqJ/1HLLCWcQddS EEHXo3Bbpwa5IwYBs++fHhiPLdClsd7vn9Jbj4XmykC+YIIia4/oH68lKeGN1jJB5rAg 1Ka9RYJrYebXkRc6rnqK/5U5pF6zP42sLOouAjaq9IcWMK3Sip31MEHPg6i2LBUIDIQ2 P35w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to; bh=mAYww1+7IsnHKzZR1/bCwsyZ0CfFDV1i0Js9XlYzpl0=; b=oG7pSF/YlNfk6TbjVoQulELWlLxQ+JJgaHEqnjE2aAFUO7m/MS6KBZY/LAxtjbuPdy n5z52NqGD3j2GU8HRNNS8Wmg8KxGNEIqmV9w7xYTgk+piP9eSDjz4USerPuq/ffpOYfe wBHgtb9Mky8seu+FUdV14YGr4AzsdUR4nl6nhf9LyF8kRcUXxCeFr2gcIlIG0MmgcR0p Izop1Sd3u2VfvHEb+h/x4Gqb12CsKCQ3lzd5YeN/7ksCnLRnHzQX262v8fsqBNgE4voV Yq5BertBdn5dhpAl5Snevl/GERRtJj8lQepFfCBAJJAqgK4SqcFaSXi8tGtZxoCaWz9D R/FQ==
X-Gm-Message-State: APjAAAUE7fCVObpczJG0uQlJPs+Qz4l49H1Qbs7st9XlLCmM7vlazlJY Lp+66P7KTZvL/EZwaON1ujF/3QNpzUw=
X-Google-Smtp-Source: APXvYqx1wBluYJ3Y+TaKuDvc5TKDcIhpRPm9idkHftbCGqeHpM+huSE7haV1eslIQ04BT4f5e9h7YA==
X-Received: by 2002:a5d:4481:: with SMTP id j1mr90000818wrq.348.1578037606040; Thu, 02 Jan 2020 23:46:46 -0800 (PST)
Received: from miek.nl ([2a02:a450:f343:0:fc9d:8499:6c7a:c6d9]) by smtp.gmail.com with ESMTPSA id f127sm11040258wma.4.2020.01.02.23.46.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Jan 2020 23:46:45 -0800 (PST)
Date: Fri, 03 Jan 2020 08:46:44 +0100
From: Miek Gieben <miek@miek.nl>
To: Ben Schwartz <bemasc=40google.com@dmarc.ietf.org>
Cc: dnsop WG <dnsop@ietf.org>
Message-ID: <20200103074644.GB4580@miek.nl>
Mail-Followup-To: Ben Schwartz <bemasc=40google.com@dmarc.ietf.org>, dnsop WG <dnsop@ietf.org>
References: <20191229091748.GA11415@miek.nl> <CAHbrMsD3gd3n4aLf4u-UdiP+6kaM4DKvCuvwB2RNfOCApZne+g@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Content-Disposition: inline
In-Reply-To: <CAHbrMsD3gd3n4aLf4u-UdiP+6kaM4DKvCuvwB2RNfOCApZne+g@mail.gmail.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/vy7oiX7ppx6fmvIlNd4VvnH3Bvo>
Subject: Re: [DNSOP] SVCB wire format (draft-ietf-dnsop-svcb-httpssvc-01)
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: IETF DNSOP WG mailing list <dnsop.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dnsop>, <mailto:dnsop-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dnsop/>
List-Post: <mailto:dnsop@ietf.org>
List-Help: <mailto:dnsop-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dnsop>, <mailto:dnsop-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 03 Jan 2020 07:46:49 -0000

[ Quoting <bemasc=40google.com@dmarc> in "Re: [DNSOP] SVCB wire format (draft..." ]
>Hi Miek,
>
>The wire format is the same for AliasForm and ServiceForm, exactly as you
>describe.  What do you think is different?

Because of this text:

  o the SvcFieldValue byte string, consuming the remainder of the
    record (so smaller than 65535 octets and constrained by the RDATA
    and DNS message sizes).

vs:

   o  a 2 octet field containing the SvcParamKey as an integer in
      network byte order.

   o  a 2 octet field containing the length of the SvcParamValue as an
      integer between 0 and 65535 in network byte order (but constrained
      by the RDATA and DNS message sizes).

   o  an octet string of the length defined by the previous field.


My reading of this is that for ServiceForm there will always be 4 octets and for AliasForm
it may just be empty.

>Note that the wire format is definitely not yet final.  For example,
>there's still some active discussion about precisely how to represent the
>contents of the SvcFieldValue (in ServiceForm).

What's the reason behind not reusing the TXT record? To free-form? Other issues?


/Miek

--
Miek Gieben