Re: [IPsec] TCP and MOBIKE

David Schinazi <dschinazi.ietf@gmail.com> Thu, 08 November 2018 05:16 UTC

Return-Path: <dschinazi.ietf@gmail.com>
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 8318B130DCF for <ipsec@ietfa.amsl.com>; Wed, 7 Nov 2018 21:16:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 6j7ILbvOWW67 for <ipsec@ietfa.amsl.com>; Wed, 7 Nov 2018 21:16:40 -0800 (PST)
Received: from mail-pl1-x62a.google.com (mail-pl1-x62a.google.com [IPv6:2607:f8b0:4864:20::62a]) (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 40C7E126CB6 for <ipsec@ietf.org>; Wed, 7 Nov 2018 21:16:40 -0800 (PST)
Received: by mail-pl1-x62a.google.com with SMTP id s5-v6so8955242plq.11 for <ipsec@ietf.org>; Wed, 07 Nov 2018 21:16:40 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=MBnRRpK+Q5JP6asUHNQ05eSotZKqp0zve/fHl4GtluY=; b=uvmF8gHD/44kni2eAVHwohtAMrFlFhgDtQdR8a85zBcdEK/T1O4qqtV9tYNweNiCFY ACUawNU/wEFRQsI/3Hu3EylFq4Kqm6z1RXPvHc65iRT6tRBr2yLKKg0cGq721gvYccv2 4z1LxDro+isuuTFBDlTcUxp/yoBO+LwUVD8AhaRvUDHC4IzreYU/5gSdn/SAG3DP313V uiXtJ1P3AgVDDGTdIH/JxDB5inHiA3K/y5Yd/OImum0MiqRdGWVAvA1ohC/W4PJbCbbc iKWI2wabQDBKFbNRLNZl/4t5b1GGi5ICSMpdnR+2n3saJPOJ6SjjzDOKg4Q4zXkoq1YS qfdA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=MBnRRpK+Q5JP6asUHNQ05eSotZKqp0zve/fHl4GtluY=; b=hRQ6UZW9eUck7oK5CxBTyhDu/gA1jPxPhNkmZT5sz0pbrPD6Lg9+X3KZfjYWSPYi7s SFQp1UybuJqNWhpbhoDu2nsom/NdsVnWfRnPEYTIyeU3xuV1A1NPNSUv0fZEwW4fYDPM kvV3r0T5ZlQOb0CQSZP7QmlGEoNzPnU1+xIazi7RX0pZ0AeO+Hf0YuweK3ZIEalZmVSJ 4NziwJ1PxQwADZLrwTPkSSQ7wyvsHutATPXFyLBwVvZlveX10UGLuidrJXiGk/99scpD 7F8Cb4j1nXQVUt7ANzP+yqSSAQrg12nBpqVqC8rXCJDsLduNrBwGp/71OlhmzgJV/y76 PcYA==
X-Gm-Message-State: AGRZ1gKl1gjUoLOl2pic4Qu2C7qAeaiwuhmUajS/9usXNhDcvNACc4p4 7TO6MA2RXu0FsjJNmzwEaH/uQ9KPg2nCvSl4fyM=
X-Google-Smtp-Source: AJdET5fIoN3K0QZQJfKaX8kGZUmXnjec9tT1D2Rp1QHH5SHZmI7GmIRBU8quge+hVaOCEVFKvfAQNkEvFbENSCGwXdE=
X-Received: by 2002:a17:902:b18c:: with SMTP id s12-v6mr3116935plr.16.1541654199824; Wed, 07 Nov 2018 21:16:39 -0800 (PST)
MIME-Version: 1.0
References: <031f01d47720$e9fb8220$bdf28660$@gmail.com>
In-Reply-To: <031f01d47720$e9fb8220$bdf28660$@gmail.com>
From: David Schinazi <dschinazi.ietf@gmail.com>
Date: Thu, 08 Nov 2018 12:16:28 +0700
Message-ID: <CAPDSy+6V3dVkrcX=Lgd-G47RaLug8fhR=SZcD-cBdAmXJeCXvA@mail.gmail.com>
To: smyslov.ietf@gmail.com
Cc: ipsec@ietf.org
Content-Type: multipart/alternative; boundary="000000000000f2769c057a205645"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipsec/HByvar4y65eRVQDjcgiHRs4_N10>
Subject: Re: [IPsec] TCP and MOBIKE
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: Thu, 08 Nov 2018 05:16:43 -0000

I'm having a hard time imagining why anyone would want to use
NO_NATS_ALLOWED with TCP encapsulation. If you're encapsulating in TCP it
means that there is something on path even worse than a NAT, right?

Perhaps we could simply say you MUST NOT use NO_NATS_ALLOWED with TCP
encaps?

David

On Thu, Nov 8, 2018 at 12:07 PM Valery Smyslov <smyslov.ietf@gmail.com>
wrote:

> Hi,
>
> coming back to the yesterday discussion. There seems to be another issue
> if implementation first sends request to update address over UDP and
> then switches to TCP. The problem arises if NO_NATS_ALLOWED is included -
> it contains IP addresses and ports for initiator and responder. If you
> leave it intact while switching to TCP, then it won't match real addresses
> and the responder will treat it as NAT presence. In this case RFC 4555
> suggests to retry sending request several times with a new INFORMATIONAL
> request. Probably we could clarify in TCP guidelines draft that the content
> of NO_NATS_ALLOWED MUST be recalculated in this case? Or is it obvious?
>
> Regards,
> Valery.
>
>
> _______________________________________________
> IPsec mailing list
> IPsec@ietf.org
> https://www.ietf.org/mailman/listinfo/ipsec
>