RE: [Sip] PING/PONG [bcc][faked-from][heur]

"Christian Stredicke" <Christian.Stredicke@snom.de> Tue, 09 November 2004 21: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 QAA12748 for <sip-web-archive@ietf.org>; Tue, 9 Nov 2004 16:07:00 -0500 (EST)
Received: from megatron.ietf.org ([132.151.6.71]) by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1CRdDV-0006eE-TD for sip-web-archive@ietf.org; Tue, 09 Nov 2004 16:07:54 -0500
Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1CRdAX-0002zz-Rp; Tue, 09 Nov 2004 16:04:49 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1CRd9Z-0002UG-DE for sip@megatron.ietf.org; Tue, 09 Nov 2004 16:03:49 -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 QAA12492 for <sip@ietf.org>; Tue, 9 Nov 2004 16:03:47 -0500 (EST)
Received: from natsmtp00.rzone.de ([81.169.145.165]) by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1CRdAK-0006Z1-Vd for sip@ietf.org; Tue, 09 Nov 2004 16:04:40 -0500
Received: from snom.de (pD95686F1.dip.t-dialin.net [217.86.134.241]) by post.webmailer.de (8.13.1/8.13.1) with ESMTP id iA9L2RSB014548; Tue, 9 Nov 2004 22:02:31 +0100 (MET)
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [Sip] PING/PONG [bcc][faked-from][heur]
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Date: Tue, 09 Nov 2004 22:06:12 +0100
Message-ID: <B52FDDEC7CBE9D40B36FE900C9AD78B4176A0B@merenge.intern.snom.de>
Thread-Topic: [Sip] PING/PONG [bcc][faked-from][heur]
thread-index: AcTGVeD72vlivuzXRNmVFA8//spI5wABZoOgAAGeqgAAAsmPsAACDlggAAoKK4A=
From: Christian Stredicke <Christian.Stredicke@snom.de>
To: Christian Jansson <christian.jansson@hotsip.com>, Chris Boulton <cboulton@ubiquity.net>, "Christer Holmberg (JO/LMF)" <christer.holmberg@ericsson.com>, fluffy@cisco.com
X-Spam-Score: 0.2 (/)
X-Scan-Signature: f66b12316365a3fe519e75911daf28a8
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: 14582b0692e7f70ce7111d04db3781c8
Content-Transfer-Encoding: quoted-printable

Well, the negotiation who refreshes is more or less the question if you have a legacy device or not.

I totally agree, if there is no legacy device, the UA should refresh.

But currently, there are only legacy devices or proprietary implementations.-) Lets agree on a standard, that's why were are here.

My proposal: A new header "Keep-Alive" in the REGISTER request:

(A) Propose refresh every 15 seconds, offer methods stun, register, crlf

REGISTER sip:snom.com SIP/2.0
Via: SIP/2.0/UDP 10.67.87.210:4064;branch=z9hG4bK-g1gkta5je1yq;rport
From: "Christian Stredicke" <sip:cs@snom.com>;tag=l3rj6dvhfl
To: "Christian Stredicke" <sip:cs@snom.com>
Call-ID: e52d914160a1-8yd3fpzu59l7@snom220
CSeq: 1 REGISTER
Max-Forwards: 70
Contact: <sip:cs@10.67.87.210:4064;line=o58ete25>;q=1.0
Keep-Alive: 15;method="stun,crlf,register"
Expires: 3600
Content-Length: 0

(B) Other party acknowledges and selects stun refreshes:

SIP/2.0 200 Ok
Via: SIP/2.0/UDP 10.67.87.210:4064;branch=z9hG4bK-hypaxu2640zy;rport=4064;received=130.129.97.54
From: "Christian Stredicke" <sip:cs@snom.com>;tag=l3rj6dvhfl
To: "Christian Stredicke" <sip:cs@snom.com>;tag=0zikcb2fzo
Call-ID: e52d914160a1-8yd3fpzu59l7@snom220
CSeq: 1 REGISTER
Contact: <sip:cs@10.67.87.210:4064;line=o58ete25>;expires=3600
Keep-Alive: 15;method="stun"
Content-Length: 0


CS 

> -----Original Message-----
> From: sip-bounces@ietf.org [mailto:sip-bounces@ietf.org] On 
> Behalf Of Christian Jansson
> Sent: Tuesday, November 09, 2004 12:01 PM
> To: Christian Stredicke; Chris Boulton; Christer Holmberg 
> (JO/LMF); fluffy@cisco.com
> Cc: sip@ietf.org
> Subject: RE: [Sip] PING/PONG [bcc][faked-from][heur]
> 
> 
> 
> >>[Chris Boulton] Whatever we decide we shouldn't restrict it to 
> >>'one-way'.  In different deployments and scenarios it 
> should be possible for either >>entity to keep a connection alive.
> > 
> >(CS) Sure. But the role has to be negotiated. If possible, 
> the UA should do that job. If it is not able to do this (e.g. 
> because it does not support >refreshing) the fall back 
> solution will always be that the network side has to do the job. 
>  
> Does it really have to be negotiated? If we all think that 
> refreshes should be handled by the UA, why not decide that 
> that is the only standardized way to do it. Given that things 
> have worked without this negotiation for quite some time now, 
> things will not get any worse just because we write down a 
> standardized way for a UA to do keep-alives. If some UAs did 
> not take the keep-alive issue in consideration before this 
> discussion begun, it could only mean two things:
> 1) The UA did not work in the real world, and I guess they 
> would have noticed that. 
> 2) They used STUN/CRLF, invented something else, or perhaps 
> they sent OPTIONS/PING/??? from the server, which they can 
> continue to do even though it is not the documented way of 
> doing it. Either they update their UA according to "standard" 
> keep-alives or they keep the proprietary solution, and I 
> don't think the standard for keep-alives should try to 
> compensate for all those solutions. 
> 
> / Christian Jansson
> 
> 
> _______________________________________________
> 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