RE: [Sip] PING/PONG
"Christian Stredicke" <Christian.Stredicke@snom.de> Wed, 10 November 2004 23:07 UTC
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA15384 for <sip-web-archive@ietf.org>; Wed, 10 Nov 2004 18:07:16 -0500 (EST)
Received: from megatron.ietf.org ([132.151.6.71]) by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1CS1Zg-0001fn-49 for sip-web-archive@ietf.org; Wed, 10 Nov 2004 18:08:24 -0500
Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1CS1Vc-0003Fn-Et; Wed, 10 Nov 2004 18:04:12 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1CS1Us-0002qY-QO for sip@megatron.ietf.org; Wed, 10 Nov 2004 18:03:26 -0500
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA14917 for <sip@ietf.org>; Wed, 10 Nov 2004 18:03:23 -0500 (EST)
Received: from natnoddy.rzone.de ([81.169.145.166]) by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1CS1Vv-0001bD-BO for sip@ietf.org; Wed, 10 Nov 2004 18:04:31 -0500
Received: from snom.de (pD9516A46.dip.t-dialin.net [217.81.106.70]) by post.webmailer.de (8.13.1/8.13.1) with ESMTP id iAAN3Mj7000938; Thu, 11 Nov 2004 00:03:22 +0100 (MET)
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [Sip] PING/PONG
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Date: Thu, 11 Nov 2004 00:07:07 +0100
Message-ID: <B52FDDEC7CBE9D40B36FE900C9AD78B4176AB8@merenge.intern.snom.de>
Thread-Topic: [Sip] PING/PONG
thread-index: AcTHcMo5CP2b5eryTiy5Nl/L8i5PrAABvRvg
From: Christian Stredicke <Christian.Stredicke@snom.de>
To: Spencer Dawkins <spencer@mcsr-labs.org>
X-Spam-Score: 0.2 (/)
X-Scan-Signature: a87a9cdae4ac5d3fbeee75cd0026d632
Content-Transfer-Encoding: quoted-printable
Cc: sip@ietf.org
X-BeenThere: sip@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Session Initiation Protocol <sip.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/sip>, <mailto:sip-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:sip@ietf.org>
List-Help: <mailto:sip-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/sip>, <mailto:sip-request@ietf.org?subject=subscribe>
Sender: sip-bounces@ietf.org
Errors-To: sip-bounces@ietf.org
X-Spam-Score: 0.2 (/)
X-Scan-Signature: 287c806b254c6353fcb09ee0e53bbc5e
Content-Transfer-Encoding: quoted-printable
Hi Spencer! You just mentioned another way of keeping TCP connections alive. Thats good! So far we have: - CRLF (frequenly used today, but not indicated by user agent) - STUN (same as CRLF) - PING/PONG or whatever (tbd, maybe superflous) - OPTIONS (big overhead, but compatible) - REGISTER (same as OPTIONS, but even bigger overhead) - TCP low-level (how can this be addressed by the application?) - No refreshing ("legacy device") Lets have a way to indicate these options and let the SBC decide what method it likes/supports. CS > -----Original Message----- > From: sip-bounces@ietf.org [mailto:sip-bounces@ietf.org] On > Behalf Of Spencer Dawkins > Sent: Wednesday, November 10, 2004 5:01 PM > To: sip@ietf.org > Subject: Re: [Sip] PING/PONG > > Call me old-fashioned, but I'm requesting a point of clarification > about PING/PONG. > > As I should have said in the working group session when we discussed > this, I have no interest in chatting about UDP versus TCP. If you > choose UDP, I assume you did it for a reason, and the discussion at > the working group session makes sense to me. > > Having said that, > > > With UDP, the PING will create a new NAT binding and the server can > > update > > its mapping for the UA. > > > > With TCP, if you want to be able to detect that the NAT binding is > > gone on > > the order of a transaction timeout, you would need to send a PING > > every 32 > > seconds or so. Given that NAT bindings for TCP live longer than > > that, I > > don't see what the CRLF buys you. > > it seems to me that if you have chosen to use TCP for some > reason, you > need to at least consider living with TCP behavior on retries. > > The TCP protocol is extremely persistent, uses exponential backoff > (typically to a maximum of 60-64 seconds per retry), and in most > vanilla implementations will not declare a connection unusable for > something like 10-15 minutes. > > If a path is lost, for any reason, TCP will use this behavior (the > behavior that allows the Internet to survive the World Wide Web > today). > > If you are using TCP and you don't like this behavior, and you don't > get a response back when you wanted to get a response back, the > application choices are: > > - sit on your hands and wait for the TCP connection to fail, > > - close the TCP connection and open another one, or > > - close the TCP connection, sit on your hands for some period > of time, > and open another one. > > The second choice (immediate retry) requires that you reset the TCP > connection (one packet), send a SYN to open a second TCP connection > (one packet), and potentially ACK an incoming SYN/ACK (one packet), > and then resend your application message (could be piggybacked but > most TCP stacks will use a separate packet). > > Immediately sending up to four new packets when you detect > loss of one > packet, with the possibility that the single-packet loss is due to > network congestion, seems too aggressive. > > Sitting on your hands and letting TCP retry doesn't seem much worse > than sitting on your hands and then setting up a new TCP connection. > > Are we assuming that network congestion is not an issue any more? > > Thanks for any guidance you can provide! > > Spencer > > > > _______________________________________________ > Sip mailing list https://www1.ietf.org/mailman/listinfo/sip > This list is for NEW development of the core SIP Protocol > Use sip-implementors@cs.columbia.edu for questions on current sip > Use sipping@ietf.org for new developments on the application of sip > > > _______________________________________________ Sip mailing list https://www1.ietf.org/mailman/listinfo/sip This list is for NEW development of the core SIP Protocol Use sip-implementors@cs.columbia.edu for questions on current sip Use sipping@ietf.org for new developments on the application of sip
- [Sip] PING/PONG Christian Stredicke
- RE: [Sip] PING/PONG Christer Holmberg (JO/LMF)
- RE: [Sip] PING/PONG Steve Langstaff
- Re: [Sip] PING/PONG Bob Penfield
- RE: [Sip] PING/PONG Christer Holmberg (JO/LMF)
- RE: [Sip] PING/PONG Christian Stredicke
- Re: [Sip] PING/PONG Bob Penfield
- RE: [Sip] PING/PONG Chris Boulton
- RE: [Sip] PING/PONG Christian Stredicke
- RE: [Sip] PING/PONG Steve Langstaff
- RE: [Sip] PING/PONG Christian Stredicke
- RE: [Sip] PING/PONG Chris Boulton
- RE: [Sip] PING/PONG Steve Langstaff
- Re: [Sip] PING/PONG Spencer Dawkins
- RE: [Sip] PING/PONG Christian Stredicke
- Re: [Sip] PING/PONG Klaus Darilion
- Re: [Sip] PING/PONG Jonathan Rosenberg
- [Sip] How to get old messages on archives!! vikram bhuskute
- RE: [Sip] PING/PONG Christian Stredicke
- Re: [Sip] PING/PONG Jonathan Rosenberg
- RE: [Sip] PING/PONG Steve Langstaff
- RE: [Sip] PING/PONG Christian Stredicke
- RE: [Sip] PING/PONG Steve Langstaff
- Re: [Sip] PING/PONG Jonathan Rosenberg
- Re: [Sip] PING/PONG Charles Eckel
- Re: [Sip] PING/PONG Jonathan Rosenberg
- Re: [Sip] PING/PONG Robert Sparks
- Re: [Sip] PING/PONG Jonathan Rosenberg
- Re: [Sip] PING/PONG Robert Sparks
- Re: [Sip] PING/PONG Jonathan Rosenberg
- Re: [Sip] PING/PONG Robert Sparks
- Re: [Sip] PING/PONG Jonathan Rosenberg
- Re: [Sip] PING/PONG Robert Sparks