Re: [IPsec] Benjamin Kaduk's Yes on draft-ietf-ipsecme-split-dns-14: (with COMMENT)

Paul Wouters <paul@nohats.ca> Tue, 20 November 2018 14:46 UTC

Return-Path: <paul@nohats.ca>
X-Original-To: ipsec@ietfa.amsl.com
Delivered-To: ipsec@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 10EBD1274D0 for <ipsec@ietfa.amsl.com>; Tue, 20 Nov 2018 06:46:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=nohats.ca
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 olzQ9GbpKnDo for <ipsec@ietfa.amsl.com>; Tue, 20 Nov 2018 06:46:12 -0800 (PST)
Received: from mx.nohats.ca (mx.nohats.ca [IPv6:2a03:6000:1004:1::68]) (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 B2DE4126BED for <ipsec@ietf.org>; Tue, 20 Nov 2018 06:46:12 -0800 (PST)
Received: from localhost (localhost [IPv6:::1]) by mx.nohats.ca (Postfix) with ESMTP id 42zpRk4q42zL8g for <ipsec@ietf.org>; Tue, 20 Nov 2018 15:46:10 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nohats.ca; s=default; t=1542725170; bh=SDhghvK7nLVqB0RQPAZVnJze4qtciaL+UlrO5NQ79jM=; h=Date:From:To:Subject:In-Reply-To:References; b=T5RmU/ahm9tXTl7k4ggejRCU9F9vcNUVeuSMqPPtLroCbcXjuZRVLbVwa+Sphg4th gZHplYNcmqt6w4zS0z3h4x+W+acVR7E/F44FdpS0QRRVMDmmW84wv7oUYMah7DSqMS DChuGWeRAljN2/qWeuaOr00okqMRCSXeqtxWzFwk=
X-Virus-Scanned: amavisd-new at mx.nohats.ca
Received: from mx.nohats.ca ([IPv6:::1]) by localhost (mx.nohats.ca [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id 2cCd7zabe_9X for <ipsec@ietf.org>; Tue, 20 Nov 2018 15:46:09 +0100 (CET)
Received: from bofh.nohats.ca (bofh.nohats.ca [76.10.157.69]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx.nohats.ca (Postfix) with ESMTPS for <ipsec@ietf.org>; Tue, 20 Nov 2018 15:46:09 +0100 (CET)
Received: by bofh.nohats.ca (Postfix, from userid 1000) id 874784AA4C6; Tue, 20 Nov 2018 09:46:08 -0500 (EST)
DKIM-Filter: OpenDKIM Filter v2.11.0 bofh.nohats.ca 874784AA4C6
Received: from localhost (localhost [127.0.0.1]) by bofh.nohats.ca (Postfix) with ESMTP id 7B7E641C3B2D for <ipsec@ietf.org>; Tue, 20 Nov 2018 09:46:08 -0500 (EST)
Date: Tue, 20 Nov 2018 09:46:08 -0500
From: Paul Wouters <paul@nohats.ca>
To: "ipsec@ietf.org WG" <ipsec@ietf.org>
In-Reply-To: <4812.1542724407@localhost>
Message-ID: <alpine.LRH.2.21.1811200939320.7962@bofh.nohats.ca>
References: <154233104861.10051.7593212496190352066.idtracker@ietfa.amsl.com> <SN6PR09MB326474D2688D48194948243BF0DD0@SN6PR09MB3264.namprd09.prod.outlook.com> <alpine.LRH.2.21.1811170111570.1682@bofh.nohats.ca> <23537.18848.15817.35029@fireball.acr.fi> <ef541bed-5ffa-36f8-8539-1b8ff6f3a509@redhat.com> <23539.58882.139191.731005@fireball.acr.fi> <4812.1542724407@localhost>
User-Agent: Alpine 2.21 (LRH 202 2017-01-01)
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"; format="flowed"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipsec/YypEcfckYOZNlsRyoL2UG6m-MtA>
Subject: Re: [IPsec] Benjamin Kaduk's Yes on draft-ietf-ipsecme-split-dns-14: (with COMMENT)
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipsec/>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 20 Nov 2018 14:46:15 -0000

On Tue, 20 Nov 2018, Michael Richardson wrote:

> Tero Kivinen <kivinen@iki.fi> wrote:
>    > Presentation format includes things like comments, newlines,
>    > whitespace etc.
>
>    > That is the reason I do not like to have presentation format inside
>    > the binary wire formats like IKE. We do not need to do string parsing,
>    > or regex processing in IKE library, but to properly parse presentation
>    > format you need to do that.
>
> +1
> For all the reasons you cited.

Parsing wouldn't happen the way Tero envisions this.

IKE software like have something like an option that reads RRTYPEs, so
that a DNS/VPN administrator can do:

dig ds internal.example.com > /etc/ipsec.d/internal.example.com.ds
dig ns internal.example.com > /etc/ipsec.d/internal.example.com.ns

And put that in a cron job in case they do internal DNSSEC with key
rollovers.

with a config line in the IKE config that loads these entries.

conn example.com
 	modecfgdns=example.com
 	modecfgdns-ns=/etc/ipsec.d/internal.example.com.ns
 	modecfgdns-ds=/etc/ipsec.d/internal.example.com.ds
 	[...]

Paul