Re: [IPsec] Draft-ietf-ipsecme-ipv6-ipv4-codes

Paul Wouters <paul@nohats.ca> Mon, 06 May 2019 14:42 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 A6029120052 for <ipsec@ietfa.amsl.com>; Mon, 6 May 2019 07:42:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1] 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 QTteHXr_AtSy for <ipsec@ietfa.amsl.com>; Mon, 6 May 2019 07:42:39 -0700 (PDT)
Received: from mx.nohats.ca (mx.nohats.ca [193.110.157.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 A2DCF120191 for <ipsec@ietf.org>; Mon, 6 May 2019 07:42:39 -0700 (PDT)
Received: from localhost (localhost [IPv6:::1]) by mx.nohats.ca (Postfix) with ESMTP id 44yQSY2rX3zHXX; Mon, 6 May 2019 16:42:37 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nohats.ca; s=default; t=1557153757; bh=GWKNFskzY6x6vl9zTfLzHixLHVG9WAQU7xzisA0Ugew=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=jW8BDRm58UwzLRapVhAp3fiBquhGHeXDs9O095/QNQxrdpa221gmBZXucnSXJNboB 0a7+5DprGUyPk7+cWgV47W1emuiP4qsLg0UPYh0kpbDmdmLB/j4jyDw24Te7FfSlK6 BA+B/J4n1znzmmiuLYJCGmnNFYWPLC6tE01P0uW8=
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 rPaFmvWZRxWb; Mon, 6 May 2019 16:42:36 +0200 (CEST)
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; Mon, 6 May 2019 16:42:35 +0200 (CEST)
Received: by bofh.nohats.ca (Postfix, from userid 1000) id 70E209E3; Mon, 6 May 2019 10:42:34 -0400 (EDT)
DKIM-Filter: OpenDKIM Filter v2.11.0 bofh.nohats.ca 70E209E3
Received: from localhost (localhost [127.0.0.1]) by bofh.nohats.ca (Postfix) with ESMTP id 636A541092A2; Mon, 6 May 2019 10:42:34 -0400 (EDT)
Date: Mon, 06 May 2019 10:42:34 -0400
From: Paul Wouters <paul@nohats.ca>
To: Valery Smyslov <smyslov.ietf@gmail.com>
cc: ipsec@ietf.org, 'Tero Kivinen' <kivinen@iki.fi>
In-Reply-To: <02cf01d503d1$3bc9d970$b35d8c50$@gmail.com>
Message-ID: <alpine.LRH.2.21.1905061036220.21827@bofh.nohats.ca>
References: <23734.7331.402882.289451@fireball.acr.fi> <01b201d4f4f1$e617eb90$b247c2b0$@gmail.com> <636D1D4B-3E3F-47F1-B64C-A266BF871010@nohats.ca> <00c001d4ff1b$62c87050$285950f0$@gmail.com> <alpine.LRH.2.21.1905021427180.1269@bofh.nohats.ca> <02cf01d503d1$3bc9d970$b35d8c50$@gmail.com>
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/iU-j0INHf_xXdpLvhiW7PSc08fM>
Subject: Re: [IPsec] Draft-ietf-ipsecme-ipv6-ipv4-codes
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: Mon, 06 May 2019 14:42:43 -0000

On Mon, 6 May 2019, Valery Smyslov wrote:

>>> That would make sending these notifies dependent on the content of request.
>>> So, the tradeoff is whether saving eight bytes justifies complication of state machine.
>>
>> I wouldn't call that complicated the state machine. You are not adding
>> new states or transitions, and you already keep a list of received
>> payloads for this state/exchange I hope :P
>
> True, I wasn't precise enough. The complication is that in the current approach
> the responder sends these notifications blindly, sending them doesn't depend
> on the content of CP request.

RFC 7296 found that argument weak :)

    Note that no recommendations are made in this document as to how an
    implementation actually figures out what information to send in a
    response.  That is, we do not recommend any specific method of an
    IRAS determining which DNS server should be returned to a requesting
    IRAC.

For example, you can always reply with INTERNAL_IP4_DNS and INTERNAL_IP4_NBNS
if the client is requesting only an INTERNAL_IP6_ADDRESS and either
these first two CFG payloads or not. But I hope you added "complicated code"
to not send those :)

sub-optimal clients get sub-optimal answers.

Paul