[Sip] draft-ietf-sip-fork-loop-fix-05

"Kolomaznik Jan" <Jan.Kolomaznik@sitronicsts.com> Mon, 14 May 2007 07:08 UTC

Return-path: <sip-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1HnUfc-0003pK-Ty; Mon, 14 May 2007 03:08:36 -0400
Received: from sip by megatron.ietf.org with local (Exim 4.43) id 1HnUfb-0003pF-49 for sip-confirm+ok@megatron.ietf.org; Mon, 14 May 2007 03:08:35 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1HnUfa-0003p7-P8 for sip@ietf.org; Mon, 14 May 2007 03:08:34 -0400
Received: from mail.strom.cz ([212.67.84.228]) by ietf-mx.ietf.org with smtp (Exim 4.43) id 1HnUfa-0005U2-10 for sip@ietf.org; Mon, 14 May 2007 03:08:34 -0400
Received: from exalfa.stromtelecom.cz ([172.16.16.10]) by mail.strom.cz with Microsoft SMTPSVC(6.0.3790.1830); Mon, 14 May 2007 09:08:32 +0200
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Date: Mon, 14 May 2007 09:08:31 +0200
Message-ID: <2DD3CA89774593478BC28081C7392595B7FC3D@exalfa.stromtelecom.cz>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: draft-ietf-sip-fork-loop-fix-05
Thread-Index: AceV88xSZfCNXHB/ShOD3Dh6htfGwgAAs8fA
From: Kolomaznik Jan <Jan.Kolomaznik@sitronicsts.com>
To: sip@ietf.org
X-OriginalArrivalTime: 14 May 2007 07:08:32.0179 (UTC) FILETIME=[AE47E830:01C795F6]
X-Spam-Score: 0.0 (/)
X-Scan-Signature: dae47ebd0d959deee2d6f67621ddb2e3
Subject: [Sip] draft-ietf-sip-fork-loop-fix-05
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>
Content-Type: multipart/mixed; boundary="===============0293139566=="
Errors-To: sip-bounces@ietf.org

I have two notes to the draft-ietf-sip-fork-loop-fix-05. 

 

1st note:

This draft states the number of stimulated request is equal 2^70 when
the involved endpoint and proxies follow RFC 3261 recommendations. It is
mentioned in sections 2 and 3.

 

My opinion is, that the number of stimulated requests is another and it
is 2^71 for the given example and 2^(Max-Forwards + 1) in a little
generally way (but still valid only for the given example).

 

Let follow next calculation example, where an endpoint sends request
with Max-Forwards reduced to 4.

 

                  |                      Max-Forwards: 4
                 a@P1
               /      \
             /          \                Max-Forwards: 3
           /              \
         /                  \
       a@P2                 b@P2
        / \                 / \
      /     \             /     \        Max-Forwards: 2
     /       \           /       \
   a@P1      b@P1      a@P1      b@P1
   / \       / \       / \       / \     Max-Forwards: 1
a@P2 b@P2 a@P2 b@P2 a@P2 b@P2 a@P2 b@P2
 /\   /\   /\   /\   /\   /\   /\   /\   Max-Forwards: 0

 

There are two messages with Max-Forwards header set to 3, four messages
with Max-Forwards header set to 2, eight messages with Max-Forwards
header set to 1 and sixteen messages with Max-Forwards header set to 0.
Altogether there are 32 stimulated messages. Request with Max-Forwards
set to 4 is not possible to include because it is stimulating message.

 

So, the calculation mentioned by sections 2 and 3 is valid only for the
last forking round but it is not number of all produced requests.

 

2nd note:

Each proxy must handle number of UAS transactions and number of UAC
transaction. Sum of UAS and UAC transactions per proxy is close to
2^(Max-Forwards + 1). When UAS transaction of the stimulating request
will not be counted, the number of transactions handled by each proxy is
the same. 

 

Please note that these calculations are valid only for the given
example. In another attack configuration it will be different.

 

Jan

 

_______________________________________________
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