Re: [sipcore] draft-ietf-sipcore-keep-04 - Paul's comments on symmetric path

Paul Kyzivat <pkyzivat@cisco.com> Tue, 03 August 2010 16:28 UTC

Return-Path: <pkyzivat@cisco.com>
X-Original-To: sipcore@core3.amsl.com
Delivered-To: sipcore@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 3D1F43A6A82 for <sipcore@core3.amsl.com>; Tue, 3 Aug 2010 09:28:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.472
X-Spam-Level:
X-Spam-Status: No, score=-10.472 tagged_above=-999 required=5 tests=[AWL=0.127, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EkX-p91o3LxC for <sipcore@core3.amsl.com>; Tue, 3 Aug 2010 09:28:06 -0700 (PDT)
Received: from rtp-iport-2.cisco.com (rtp-iport-2.cisco.com [64.102.122.149]) by core3.amsl.com (Postfix) with ESMTP id A4A3E3A67D0 for <sipcore@ietf.org>; Tue, 3 Aug 2010 09:28:04 -0700 (PDT)
Authentication-Results: rtp-iport-2.cisco.com; dkim=neutral (message not signed) header.i=none
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AvsEAKvgV0xAZnwN/2dsb2JhbACgEXGoaptPhTkEiQ4
X-IronPort-AV: E=Sophos;i="4.55,309,1278288000"; d="scan'208";a="142828458"
Received: from rtp-core-2.cisco.com ([64.102.124.13]) by rtp-iport-2.cisco.com with ESMTP; 03 Aug 2010 16:28:33 +0000
Received: from [10.86.245.127] ([10.86.245.127]) by rtp-core-2.cisco.com (8.13.8/8.14.3) with ESMTP id o73GSWFS025994; Tue, 3 Aug 2010 16:28:32 GMT
Message-ID: <4C5843B0.9040301@cisco.com>
Date: Tue, 03 Aug 2010 12:28:32 -0400
From: Paul Kyzivat <pkyzivat@cisco.com>
User-Agent: Thunderbird 2.0.0.24 (Windows/20100228)
MIME-Version: 1.0
To: Christer Holmberg <christer.holmberg@ericsson.com>
References: <7F2072F1E0DE894DA4B517B93C6A05850B5C22@ESESSCMS0356.eemea.ericsson.se>, <4C56DD2F.9060508@cisco.com> <7F2072F1E0DE894DA4B517B93C6A05850B5C32@ESESSCMS0356.eemea.ericsson.se> <7F2072F1E0DE894DA4B517B93C6A05850CA5A9@ESESSCMS0356.eemea.ericsson.se>, <4C582539.6050606@cisco.com> <7F2072F1E0DE894DA4B517B93C6A05850B5C3C@ESESSCMS0356.eemea.ericsson.se>, <4C583ACC.30902@cisco.com> <7F2072F1E0DE894DA4B517B93C6A05850B5C3F@ESESSCMS0356.eemea.ericsson.se>
In-Reply-To: <7F2072F1E0DE894DA4B517B93C6A05850B5C3F@ESESSCMS0356.eemea.ericsson.se>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Cc: SIPCORE <sipcore@ietf.org>
Subject: Re: [sipcore] draft-ietf-sipcore-keep-04 - Paul's comments on symmetric path
X-BeenThere: sipcore@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SIP Core Working Group <sipcore.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sipcore>, <mailto:sipcore-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sipcore>
List-Post: <mailto:sipcore@ietf.org>
List-Help: <mailto:sipcore-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sipcore>, <mailto:sipcore-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Aug 2010 16:28:10 -0000

Christer Holmberg wrote:
> Hi,
> 
>>>>> Some proposed new text based on your comment regarding symmetric path.
>>>> I think the statements you have added below seem reasonable as far as
>>>> they go, but they only go half way. They say nothing about what the
>>>> *recipient* of keepalives must do when sending requests.
>>> That is meant to be covered by the text I suggetsed for section 4.4. It says that the receiver of keep-alives must send messages towards the sender of those keep-alives using the address and port from where the keep-alives arrived.
>> I don't think that is sufficient for TCP. AFAIK it actually has to be on
>> the same connection. So for instance, if it attempted to open a new
>> connection in the reverse direction to the same address and port, it
>> would quite probably fail.
> 
> That is true, and at least from my experience that is also how entities providing NAT traversal (with or without outbound) work.
> 
>>>> And I have a strong suspicion this is pretty far along toward reinventing -outbound-.
>>> I don't agree. Symmetric routing wasn't invented by Outbound. It is used in NAT scenarios even if you don't use Outbound, in order to ensure that messages pass NATs.
>>>
>>> For example, entities providing NAT traversal using anchoring/latching use symmetric routing.
>>>
>>> We also already have mechanisms like rport to request symmetric response routing.
>> In the case of TCP this comes down to connection reuse, which is covered
>> by outbound on the edge, and by the connection-reuse draft elsewhere.
> 
> Yes.
> 
> So, there are two options:
> 
> 1. We say that, for TCP, a connection re-use must be used.
> 2. We mandate the support of the connection re-use spec (RFC 5923).
> 
> I guess the only difference between 1) and 2) is that 2) would require the usage of the "alias" parameter, defined in 5923, while 1) means that support of keep-alive implicitly also indicates support of connection re-use.

While rfc5923 allows bidirectional reuse of a TLS connection, it does 
not for a naked TCP connection. In case of TCP you are forced to open a 
separate connection in each direction, which presumably won't work in 
the cases where this draft is interesting.

> Section 6 talks about connection reuse. But, we will most likely have to modify (or even remove) the section, based on above.
> 
>> I think you are talking about much the same, unless you are restricting to UDP.
> 
> Absolutely not :)

Then perhaps you are talking about something that is impossible.

	Thanks,
	Paul