Re: [DNSOP] I-D Action: draft-ietf-dnsop-session-signal-02.txt

Ray Bellis <> Thu, 27 April 2017 09:11 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id CB88C1243FE for <>; Thu, 27 Apr 2017 02:11:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id GK-JkAuAhvMM for <>; Thu, 27 Apr 2017 02:11:12 -0700 (PDT)
Received: from ( []) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by (Postfix) with ESMTPS id DAC461204DA for <>; Thu, 27 Apr 2017 02:11:11 -0700 (PDT)
Received: from [] (port=55357 helo=rays-mbp.local) by ([]:465) with esmtpsa ( (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) id 1d3fS8-0001wf-LB (Exim 4.72) for (return-path <>); Thu, 27 Apr 2017 10:11:08 +0100
References: <> <> <>
From: Ray Bellis <>
Message-ID: <>
Date: Thu, 27 Apr 2017 10:11:09 +0100
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Archived-At: <>
Subject: Re: [DNSOP] I-D Action: draft-ietf-dnsop-session-signal-02.txt
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: IETF DNSOP WG mailing list <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Thu, 27 Apr 2017 09:11:14 -0000

On 27/04/2017 08:40, Petr Špaček wrote:

> Other people already commented on semantics so I will focus on message
> format:
> My attempts to find reasoning for the new TLV format in archives did not
> yield an elaborate explanation. Assuming I did not miss anything, it
> seems to me that the current TLV format (placed outside of standard DNS
> RR) is going to require brand new code and logic and makes imlementation
> harder than necessary.
> Every DNS server and resolver already has own code to parse DNS RRs do
> various operations with them but this could cannot be reused for the
> current TLV format.
> It would be much easier to implement if we had new RRs like (e.g.)
> "SSOP" and "SSMOD" and placed them inside additional section. We could
> get the same semantics by creating a DNS message with all sections empty
> except "SS*" RRs in additional section. Overhead on wire is negligible
> and it makes implementation much easier and safer (because the normal RR
> handling code is battle-tested already).
> For these reasons I propose to move to standard RR format to enable code
> re-use. Thank you for considering this.

The break from standard RR format is intentional, and in large part to
avoid the tendency to overload the existing meaning of RR fields as was
done with EDNS (i.e. the use of the CLASS field to carry buffer size,
and putting bit fields and extended RCODEs into the TTL field).

It also (intentionally) prevents *mixing* of SS* TLVs and normal RRs
within a session signalling message (or indeed vice versa, putting SS
TLVs into a standard QUERY message).

Yes, it'll need some new code, but it's not difficult code (indeed it'd
be very similar to the code for parsing the RDATA of an OPT RR).

I think the cost of that extra bit of code is outweighed by *not*
needing extra code in the standard packet handling path to cope with
rejecting mixed packets.