Re: [tram] STUNBIS: Retransmissions over TCP

Muthu Arul Mozhi Perumal <muthu.arul@gmail.com> Tue, 26 July 2016 12:50 UTC

Return-Path: <muthu.arul@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 0F3A112D8EF for <tram@ietfa.amsl.com>; Tue, 26 Jul 2016 05:50:23 -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 EfQ9LANAxRc3 for <tram@ietfa.amsl.com>; Tue, 26 Jul 2016 05:50:21 -0700 (PDT)
Received: from mail-io0-x235.google.com (mail-io0-x235.google.com [IPv6:2607:f8b0:4001:c06::235]) (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 2C43D12D927 for <tram@ietf.org>; Tue, 26 Jul 2016 05:50:19 -0700 (PDT)
Received: by mail-io0-x235.google.com with SMTP id 38so17998780iol.0 for <tram@ietf.org>; Tue, 26 Jul 2016 05:50:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=tvY0dqfy+7XTtPuzss4QtWOl4fBJn1xzp9Ip/mYqiV0=; b=mtdKIwKIyTxSnwBtfTdBSG3w6NTAzqNjPDS6CRuQ1iJjr6Nfof/wL2l+HiMuRC2mlq Ta75yteB4yYL+yff2eMXJVCElEK+3N2r7XrL5W9Is/oKy73wXG7vQ96StTtL4CtTg0zk 2j/YkSJOd//yYGyZu44l99cehnYuqvlLf+KQ36bwfNWP7h2LojDT2OxdoGe99VomRPmw ziylE7p4/wCgOlghCfzVqtUYoBJBHIrHsOwXw/TUQPwMoBDkRtYn7nxqFsOYYizB0XAL nKro3fNNy/sCqgP9peFh6+i663lzpYsyYv9h8HXy2oOxWOUUGHf7bx1jjLtBJ3MZibkp YSEA==
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:from:date :message-id:subject:to:cc; bh=tvY0dqfy+7XTtPuzss4QtWOl4fBJn1xzp9Ip/mYqiV0=; b=RwOa2ukM7ZFyu2zJrxRJuF/4ZA2qpjhgN1v3eFecBO/AJjGSrY0zflNubjK1vyPLz/ vzvcvuKFjQaFlBqudW/Sejoj2jdEXEmZz/Yvvf+l+kBgkBbvIoAVTcRr5TGBC4482cgX 8bH4wbGga+geapne9Hb2gDKt+n+AO3V79h16nOKhx7PBsXBBpCXXx6t5VwPKNsUwmQbs xJ9kFlAAmc3bkajTCj7OCYEPCrFDYiJPBmwvdGlC2MpFgFykFoxrQm7NMXwo1wR+vyuO PwEPicGduksGyVXqiAcuin5z+MRKE5K/5uDgRgbzbLuyzSk3IZ9VUmX7og+HaNvyYDsf Z1IQ==
X-Gm-Message-State: AEkooutm6ACOR7AHodydgFeY0f3L5FUbWUB4XTg707Eq1Apwhg2BPN8O6pqC/MVJqRGGsSnnoTm3+hjzHANJlg==
X-Received: by 10.157.24.118 with SMTP id t51mr13432594ott.65.1469537417164; Tue, 26 Jul 2016 05:50:17 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.157.13.52 with HTTP; Tue, 26 Jul 2016 05:50:16 -0700 (PDT)
In-Reply-To: <c5dae3ae-e661-f5df-9add-d8174248bd30@jive.com>
References: <A088130D-4E99-4D04-9645-461BD40BCC54@edvina.net> <c5dae3ae-e661-f5df-9add-d8174248bd30@jive.com>
From: Muthu Arul Mozhi Perumal <muthu.arul@gmail.com>
Date: Tue, 26 Jul 2016 18:20:16 +0530
Message-ID: <CAKz0y8wvRSLdxiTVs0_D5BqM3btcsD+bpvRjq9WjDW_3jTAu4w@mail.gmail.com>
To: Simon Perreault <sperreault@jive.com>
Content-Type: multipart/alternative; boundary="001a113db3e2bbfdba053889578d"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tram/HAWBPkhFRzcxxJXf6191SpfQM58>
Cc: "Olle E. Johansson" <oej@edvina.net>, "tram@ietf.org" <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: Tue, 26 Jul 2016 12:50:23 -0000

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..

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
>