Re: [tram] STUNBIS: Retransmissions over TCP

Spencer Dawkins at IETF <spencerdawkins.ietf@gmail.com> Wed, 27 July 2016 12:21 UTC

Return-Path: <spencerdawkins.ietf@gmail.com>
X-Original-To: tram@ietfa.amsl.com
Delivered-To: tram@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0418412E0F8 for <tram@ietfa.amsl.com>; Wed, 27 Jul 2016 05:21:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level:
X-Spam-Status: No, score=-2.699 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_LOW=-0.7, SPF_PASS=-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 ifcKFzm7YX4z for <tram@ietfa.amsl.com>; Wed, 27 Jul 2016 05:21:43 -0700 (PDT)
Received: from mail-yw0-x22d.google.com (mail-yw0-x22d.google.com [IPv6:2607:f8b0:4002:c05::22d]) (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 674EA12E11A for <tram@ietf.org>; Wed, 27 Jul 2016 05:21:43 -0700 (PDT)
Received: by mail-yw0-x22d.google.com with SMTP id z8so55025912ywa.1 for <tram@ietf.org>; Wed, 27 Jul 2016 05:21:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=CvzuBp5Dm63cHyeXlB0x+oJRtUKJQUuXcZMDwjcCdq0=; b=MWSLyy1gIh26L2jjTDnVFms9ors9g9WqmhZBrBqy5Y1cC1o1Ces1naREHY6j6iLg/5 bm9DnsShfWF8G6lYfDsLwCW7g2MXMNSDIKzsaXFccOpxpufw0lbVyRwMwTwTtd2p2U3s RG1SQSQE/tKqIVrt5qSeiy6md+f1Q1VXS4VZqzcrt1VGvlgHHw67ASgJNPzNLJ8y3LZj DR/CVpSYUiEDgCnEHU7nq4dVU8nB5Rqde4Dxs3Z/GHV8VnT1e/4M3CpAU8MPWdDWoWeQ qGxmsxxEeM8fUnoAamm/z+23ZqXMJbVnhkRkcNle39Y3wlIUkyhaaQvbQD1C7ESiGKlA bkCA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=CvzuBp5Dm63cHyeXlB0x+oJRtUKJQUuXcZMDwjcCdq0=; b=MdB+TF/1vz339mzxBsYt7M74Qx78qoMa+Ls1DWLNy91Gws3KE2/o9abvz8tX3EcB2R 0NKCr+B6QRu58H5dnBv5YjSpPxLWH6tBq9O05PU5XLWJxJnMsMyHjlPEl4Yu9kezMX/n X8c6wWRVCRKqSa8XBNJ8hLdz7yGqHfLL2Mp0DpmYtBTHLMtNEB7Dces3sjKW5pYleojg gvNv9pr+0MmB71WQlXBceDiaTn4zkCM0/65TyrrADlIMr8/D2a5eyvI/IF8PZfP3jOO2 UEM7DsEB3jzt/5rVN63+ESEVHXw/QrbwZGGuNl0egnw8CJN8ywophGy2+YaeQ/+0xqF9 GNtg==
X-Gm-Message-State: AEkoout+UlbQ3Sz36GkrE/8X1B/GLcsZpAirGSsthqrY6NrgI0yySE4aOIv0WtjyOjKt2A3soAmUqgLsHWcrWQ==
MIME-Version: 1.0
X-Received: by 10.37.73.195 with SMTP id w186mr24414905yba.90.1469622102545; Wed, 27 Jul 2016 05:21:42 -0700 (PDT)
Received: by 10.37.231.20 with HTTP; Wed, 27 Jul 2016 05:21:42 -0700 (PDT)
Received: by 10.37.231.20 with HTTP; Wed, 27 Jul 2016 05:21:42 -0700 (PDT)
In-Reply-To: <C3B5A9EB-7297-400B-93B8-F8F7C5DDC50D@edvina.net>
References: <A088130D-4E99-4D04-9645-461BD40BCC54@edvina.net> <c5dae3ae-e661-f5df-9add-d8174248bd30@jive.com> <CAKz0y8wvRSLdxiTVs0_D5BqM3btcsD+bpvRjq9WjDW_3jTAu4w@mail.gmail.com> <C3B5A9EB-7297-400B-93B8-F8F7C5DDC50D@edvina.net>
Date: Wed, 27 Jul 2016 07:21:42 -0500
Message-ID: <CAKKJt-dr7Ytc1aLWZgjauieY5C-UaYUuCubbzg8Ha_OH7_uQ9Q@mail.gmail.com>
From: Spencer Dawkins at IETF <spencerdawkins.ietf@gmail.com>
To: "Olle E. Johansson" <oej@edvina.net>
Content-Type: multipart/alternative; boundary="94eb2c095566606cdd05389d0f6f"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tram/9_R7BDA61owgvfuprjM8du_EvQo>
Cc: Simon Perreault <sperreault@jive.com>, muthu.arul@gmail.com, tram@ietf.org
Subject: Re: [tram] STUNBIS: Retransmissions over TCP
X-BeenThere: tram@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: "Discussing the creation of a Turn Revised And Modernized \(TRAM\) WG, which goal is to consolidate the various initiatives to update TURN and STUN." <tram.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tram>, <mailto:tram-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tram/>
List-Post: <mailto:tram@ietf.org>
List-Help: <mailto:tram-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tram>, <mailto:tram-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 27 Jul 2016 12:21:48 -0000

Dear All,

This conversation is starting out in the right place (thank you, Olle), and
what TRAM needs to do with STUNbis NOW should stay in TRAM, but I would
appreciate someone summarizing what folks are seeing, with appropriate
references, to TSVAREA.

The larger conversation is something TSV needs to know about.

Thank you all.

Spencer, as TRAM AD

On Jul 27, 2016 02:23, "Olle E. Johansson" <oej@edvina.net> wrote:
>
>
>> On 26 Jul 2016, at 14:50, Muthu Arul Mozhi Perumal <muthu.arul@gmail.com>
wrote:
>>
>> The use cases I've heard are:
>> 1. A (broken) middle box doing TCP<->UDP inter-working: If the message
get lost on the UDP side and the transmissions are handled by the TCP stack
(in the kernel), the middle box may not retransmit the message over UDP
causing problem for endpoints.
>> 2. Mobility: If the IP address changes, TCP may not know whether the
message was sent or not.
>>
>> These are what I've overheard, though I haven't come across the problem
myself..
>
> THank you for your feedback!
>
> I think there is something here to explore for STUN and the various
usages, but we may not
> be ready to open up StunBIS for it. It is a middlebox problem we need to
handle, and I think
> that STUN is a tool developed to discover middleboxes - NAT was the first
one. The STUN RTT
> measurement come in handy here, as the report I referred to clearly sees
different latencies
> depending on direction indicating that a TCP proxy was in the path. Maybe
the RTT draft needs
> to consider one-way too in order to assist detection?
>
> /O
>>
>>
>> Muthu
>>
>> On Tue, Jul 26, 2016 at 5:39 PM, Simon Perreault <sperreault@jive.com>
wrote:
>>>
>>> Le 2016-07-26 à 05:23, Olle E. Johansson a écrit :
>>> > Section 6.2.2:
>>> >
>>> > "Reliability of STUN over TCP and TLS-over-TCP is handled by TCP
>>> >    itself, and there are no retransmissions at the STUN protocol
level.”
>>> >
>>> > When using STUN over mobile networks, I think this is a bad
assumption.
>>> > We’ve seen many times that TCP proxys cause TCP to fail and they
don’t follow
>>> > the original intention of TCP. The SIP message fails, even though TCP
confirmed
>>> > delivery. I’ve got confirmation from a few developers that they
started to send UDP-style
>>> > retransmits over TCP to get around this.
>>>
>>> I think this will be met with incredulity and responses along the lines
>>> of "pcap or GTFO". :)
>>>
>>> I admit I'd like to see a more detailed description of the problem
>>> before we mandate such a profound change in the protocol. Would you be
>>> able to get one of those developers to come talk to us?
>>>
>>> > As a discovery protocol, I think we need STUN to discover situations
like this.
>>> > I know it’s not religiously correct, but retransmits over TCP
unfortunately makes sense
>>> > in today’s broken network, especially for a protocol designed to
discover middle boxes.
>>>
>>> To be clear: you actually mean sending a second Binding request on the
>>> *same* TCP connection, right? Not opening a new one?
>>>
>>> Simon
>>>
>>> _______________________________________________
>>> tram mailing list
>>> tram@ietf.org
>>> https://www.ietf.org/mailman/listinfo/tram
>>
>>
>> _______________________________________________
>> tram mailing list
>> tram@ietf.org
>> https://www.ietf.org/mailman/listinfo/tram
>
>
>
> _______________________________________________
> tram mailing list
> tram@ietf.org
> https://www.ietf.org/mailman/listinfo/tram
>