
From snemana@sonusnet.com  Mon Oct  3 01:21:09 2011
Return-Path: <snemana@sonusnet.com>
X-Original-To: sigtran@ietfa.amsl.com
Delivered-To: sigtran@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7999721F8AFE for <sigtran@ietfa.amsl.com>; Mon,  3 Oct 2011 01:21:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.213
X-Spam-Level: 
X-Spam-Status: No, score=-2.213 tagged_above=-999 required=5 tests=[AWL=0.386,  BAYES_00=-2.599]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 10+17JsLYx8c for <sigtran@ietfa.amsl.com>; Mon,  3 Oct 2011 01:21:08 -0700 (PDT)
Received: from mail-ma01.sonusnet.com (sonussf2.sonusnet.com [208.45.178.27]) by ietfa.amsl.com (Postfix) with ESMTP id 96ED621F8B00 for <sigtran@ietf.org>; Mon,  3 Oct 2011 01:21:08 -0700 (PDT)
Received: from sonusmail06.sonusnet.com (sonusmail06.sonusnet.com [10.128.32.156]) by sonuspps2.sonusnet.com (8.14.3/8.14.3) with ESMTP id p938OdWr030695;  Mon, 3 Oct 2011 04:24:39 -0400
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Mon, 3 Oct 2011 04:24:55 -0400
Message-ID: <DA8B36D01ACA6E4AA09F02B2CAD335E804020D02@sonusmail06.sonusnet.com>
In-Reply-To: <Pine.LNX.4.64.1109260936240.18334@adax.adax>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Sigtran] SCTP Multihoming
Thread-index: Acx8bRQYXENK/lQ5QgaYS/yxM/k8HgFOCXIg
References: <DA8B36D01ACA6E4AA09F02B2CAD335E8040208D9@sonusmail06.sonusnet.com> <Pine.LNX.4.64.1109260936240.18334@adax.adax>
From: "Nemana, Satya" <snemana@sonusnet.com>
To: "Chris Benson" <cbenson@adax.com>
Cc: sigtran@ietf.org
Subject: Re: [Sigtran] SCTP Multihoming
X-BeenThere: sigtran@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Signaling Transport <sigtran.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/sigtran>, <mailto:sigtran-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sigtran>
List-Post: <mailto:sigtran@ietf.org>
List-Help: <mailto:sigtran-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sigtran>, <mailto:sigtran-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Oct 2011 08:21:09 -0000

Hi Chris

Thank you for taking time to answer.
I now understand (it just took this long, with help from a Guru in a
Linux forums) that iproute2 has to be used to have the desired
functionality that I want here (4 paths)
Older implementations don't have this, so will have to be contented with
just 2 paths.
In any case, this has only to do with the IP routing and SCTP does not
have to do anything to do here, but to request a retransmission if case
of no acks on one path.

Thanks,

Regards,
Satya


-----Original Message-----
From: Chris Benson [mailto:cbenson@adax.com]=20
Sent: 26 September 2011 17:57
To: Nemana, Satya
Cc: sigtran@ietf.org
Subject: Re: [Sigtran] SCTP Multihoming

Satya,

There are four combinations of end-point pairs.
Two of them may or may not be "usable".

It is desirable (but not always possible) for an IP layer
to comply with IP-user specification of the local outgoing
originating source IP address.

SCTP is the IP-user, and so can/should/will specify the=20
originating local source IP address. This restricts IP's local=20
selection of outgoing interface, and any routing decisions are=20
made from within that restricted context.  Each single interface=20
may be on physically distinct hardware, or they may be shared=20
through one physical egress.  Either way, the concept is the=20
same.

FOUR USABLE:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
If the inter-network cloud is such that all source IP addresses=20
can eventually/somehow reach all destination IP addresses, such=20
as in the Internet context, then there are four usable paths.

TWO USABLE, TWO NOT:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
It is possible to construct two distinct isolated "private" IP=20
networks: one for your IP1 addresses, and a separate unconected=20
one for your IP2 addresses.  There would only be two USABLE
paths, but under certain circumstances SCTP might TRY all=20
four end-point combinations, and will discover the lack of=20
connectivity.

With thanks, from Chris Benson.

On Mon, 26 Sep 2011, Nemana, Satya wrote:

>>  Date: Mon, 26 Sep 2011 11:44:59 -0400
>>  From: "Nemana, Satya" <snemana@sonusnet.com>
>>  To:  <sigtran@ietf.org>
>>  Subject: [Sigtran] SCTP Multihoming
>> =20
>>  Hi
>> =20
>>  =20
>> =20
>>  I have query on SCTP Multi-homing with respect to primary and
secondary
>>  paths.
>> =20
>>  Assuming two endpoints using multi-homing,=20
>> =20
>>  End-Point-1, EP1 has IP addresses EP1-IP1 and EP1-IP2,=20
>> =20
>>  End-Point-2, EP2 has IP addresses EP2-IP1 and EP2-IP2.
>> =20
>>  Both of these interfaces are in completely different networks with
>>  different routers, etc connecting them indirectly.
>> =20
>>  =20
>> =20
>>  Under this scenario would there be=20
>> =20
>>  2 paths between the two end points (EP1-IP1 <-> EP2-IP1 as path #1
and
>>  EP1-IP2 <-> EP2-IP2 as Path#2) or=20
>> =20
>>  4 paths using (EP1-IP1 <-> EP2-IP1 as path #1 and EP1-IP1 <->
EP2-IP2 as
>>  Path#2 , EP1-IP2 <-> EP2-IP1 as path#3 and EP1-IP2 <-> EP2-IP2)
>> =20
>>  =20
>> =20
>>  If there are 4 paths, how would IP routing take care of such a
scenario,
>>  i.e how would the route tables look like on EP1?
>> =20
>>  How can EP1 have 2 routes to the same EP2-IP1 IP address through 2
>>  different local interfaces on EP1?
>> =20
>>  =20
>> =20
>>  TIA,
>> =20
>>  =20
>> =20
>>  Regards,
>> =20
>>  Satya
>> =20
>> =20

From mahantesh.s@gmail.com  Tue Oct  4 04:39:52 2011
Return-Path: <mahantesh.s@gmail.com>
X-Original-To: sigtran@ietfa.amsl.com
Delivered-To: sigtran@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BA49121F8B01 for <sigtran@ietfa.amsl.com>; Tue,  4 Oct 2011 04:39:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.598
X-Spam-Level: 
X-Spam-Status: No, score=-3.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sREBgrEUTGx2 for <sigtran@ietfa.amsl.com>; Tue,  4 Oct 2011 04:39:52 -0700 (PDT)
Received: from mail-ww0-f44.google.com (mail-ww0-f44.google.com [74.125.82.44]) by ietfa.amsl.com (Postfix) with ESMTP id 0548921F8B05 for <sigtran@ietf.org>; Tue,  4 Oct 2011 04:39:51 -0700 (PDT)
Received: by wwf22 with SMTP id 22so423008wwf.13 for <sigtran@ietf.org>; Tue, 04 Oct 2011 04:42:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=11Re7gc85A5Oyb5WpMgVEwup1b5sJS98a0BHrwngXDA=; b=gYV2kp3dr3ilv+zRoQf5gPT2NgMflyYxzdao6bFX4Uj5AREFDv7UtVpN4nakbcgima pE232pTnXB35kQYJQH+Vby8izGdMGuaTKEBZk2cVXOgpgdr6QuV6Zh/2uJ4AbTqsD4LW w+O696ZPInjoaF9tpqqEfkoYqdEFbFT2NkiHs=
MIME-Version: 1.0
Received: by 10.216.133.86 with SMTP id p64mr1253845wei.95.1317728576403; Tue, 04 Oct 2011 04:42:56 -0700 (PDT)
Received: by 10.216.28.73 with HTTP; Tue, 4 Oct 2011 04:42:56 -0700 (PDT)
Date: Tue, 4 Oct 2011 17:12:56 +0530
Message-ID: <CAMJe=dk6K4CyyrC79f+1H2WOU=FTYMbQ8PbrrHESmtjyVEOWqw@mail.gmail.com>
From: Mahantesh SK <mahantesh.s@gmail.com>
To: sigtran <sigtran@ietf.org>
Content-Type: multipart/alternative; boundary=0016e6de17d4b4f9b004ae77977b
Subject: [Sigtran] NTFY message in IPSP single exchange mode
X-BeenThere: sigtran@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Signaling Transport <sigtran.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/sigtran>, <mailto:sigtran-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sigtran>
List-Post: <mailto:sigtran@ietf.org>
List-Help: <mailto:sigtran-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sigtran>, <mailto:sigtran-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Oct 2011 11:39:52 -0000

--0016e6de17d4b4f9b004ae77977b
Content-Type: text/plain; charset=UTF-8

Hi Brain,

Is it must to send the NTFY message to the peer node after change in the
IPSP state?


*Thanks
**Mahantesh*

--0016e6de17d4b4f9b004ae77977b
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div>Hi Brain,</div><div><br></div><div>Is it must to send the NTFY message=
 to the peer node after=C2=A0change=C2=A0in the IPSP state?</div><div><br><=
/div><br clear=3D"all"><b style=3D"color:rgb(0, 0, 153)">Thanks<br></b><fon=
t style=3D"color:rgb(153, 0, 0)"><b>Mahantesh</b></font><br>
<br><br>

--0016e6de17d4b4f9b004ae77977b--

From bidulock@openss7.org  Tue Oct  4 18:17:54 2011
Return-Path: <bidulock@openss7.org>
X-Original-To: sigtran@ietfa.amsl.com
Delivered-To: sigtran@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A72C021F8C30 for <sigtran@ietfa.amsl.com>; Tue,  4 Oct 2011 18:17:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.399
X-Spam-Level: 
X-Spam-Status: No, score=-2.399 tagged_above=-999 required=5 tests=[AWL=0.200,  BAYES_00=-2.599]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id k5P+rfSzD+XE for <sigtran@ietfa.amsl.com>; Tue,  4 Oct 2011 18:17:54 -0700 (PDT)
Received: from gw.openss7.com (gw.openss7.com [206.75.117.178]) by ietfa.amsl.com (Postfix) with ESMTP id A546721F8B92 for <sigtran@ietf.org>; Tue,  4 Oct 2011 18:17:53 -0700 (PDT)
Received: from wilbur.pigworks.openss7.net (ns5.evil.openss7.net [192.168.9.5]) by gw.openss7.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p951KqpR007135; Tue, 4 Oct 2011 19:20:52 -0600
Received: from wilbur.pigworks.openss7.net (localhost [127.0.0.1]) by wilbur.pigworks.openss7.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p951Kqm9018704; Tue, 4 Oct 2011 19:20:52 -0600
Received: (from brian@localhost) by wilbur.pigworks.openss7.net (8.14.3/8.14.3/Submit) id p951Kokn018703; Tue, 4 Oct 2011 19:20:50 -0600
Date: Tue, 4 Oct 2011 19:20:50 -0600
From: "Brian F. G. Bidulock" <bidulock@openss7.org>
To: Mahantesh SK <mahantesh.s@gmail.com>
Message-ID: <20111005012050.GA18444@openss7.org>
Mail-Followup-To: Mahantesh SK <mahantesh.s@gmail.com>, sigtran <sigtran@ietf.org>
References: <CAMJe=dk6K4CyyrC79f+1H2WOU=FTYMbQ8PbrrHESmtjyVEOWqw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <CAMJe=dk6K4CyyrC79f+1H2WOU=FTYMbQ8PbrrHESmtjyVEOWqw@mail.gmail.com>
Organization: http://www.openss7.org/
Dsn-Notification-To: <bidulock@openss7.org>
X-Spam-To: <blockme@openss7.com>
User-Agent: Mutt/1.5.18 (2008-05-17)
Cc: sigtran <sigtran@ietf.org>
Subject: Re: [Sigtran] NTFY message in IPSP single exchange mode
X-BeenThere: sigtran@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
Reply-To: bidulock@openss7.org
List-Id: Signaling Transport <sigtran.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/sigtran>, <mailto:sigtran-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sigtran>
List-Post: <mailto:sigtran@ietf.org>
List-Help: <mailto:sigtran-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sigtran>, <mailto:sigtran-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Oct 2011 01:17:54 -0000

Mahantesh,

As you know, the RFC says:

 RFC 4666/4.3.4.5.1

   Notify works in the same manner as in the SG-AS case.  Ohe of the
   IPSPs can send this message to any remote IPSP that is not in the
   ASP-DOWN state.

Which doesn't offer much help.

In general, any IPSP that responds like an SG (i.e. accepts messages
normally only recieved by an SG in the SG-AS case) must also send NTFY
messages just as the SG would.  This would mean that both IPSP must send
NTFY in DE mode and only an IPSP that is responding like and SG in SE
mode.  All IPSP should be prepared to receive it, but unless the IPSP is
positive about the mode of the peer, it might not be able to rely on it.

Well, those are my thoughts.  Others might differ.

--brian

Mahantesh SK wrote:                       (Tue, 04 Oct 2011 17:12:56)
>    Hi Brain,
> 
>    Is it must to send the NTFY message to the peer node afterÂ changeÂ in
>    the IPSP state?
> 
>    Thanks
>    Mahantesh

> _______________________________________________
> Sigtran mailing list
> Sigtran@ietf.org
> https://www.ietf.org/mailman/listinfo/sigtran


-- 
Brian F. G. Bidulock
bidulock@openss7.org
http://www.openss7.org/

From ian.horsham@cw.com  Wed Oct 12 03:17:08 2011
Return-Path: <ian.horsham@cw.com>
X-Original-To: sigtran@ietfa.amsl.com
Delivered-To: sigtran@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F40CF21F8BA9 for <sigtran@ietfa.amsl.com>; Wed, 12 Oct 2011 03:17:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.998
X-Spam-Level: 
X-Spam-Status: No, score=-0.998 tagged_above=-999 required=5 tests=[BAYES_50=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qPfo71QmyOpv for <sigtran@ietfa.amsl.com>; Wed, 12 Oct 2011 03:17:06 -0700 (PDT)
Received: from service98.mimecast.com (service98.mimecast.com [195.130.217.59]) by ietfa.amsl.com (Postfix) with ESMTP id 2EEF521F8B9D for <sigtran@ietf.org>; Wed, 12 Oct 2011 03:17:05 -0700 (PDT)
Received: from GBCWSWIEC002.ad.plc.cwintra.com (cmr2.cwplc.com [213.216.141.97]) (Using TLS) by service98.mimecast.com; Wed, 12 Oct 2011 11:15:33 +0100
Received: from GBCWSWIEM001.ad.plc.cwintra.com ([148.185.93.203]) by GBCWSWIEC002.ad.plc.cwintra.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 12 Oct 2011 11:15:27 +0100
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Date: Wed, 12 Oct 2011 11:15:26 +0100
Message-ID: <3ED1C61A16C32D46A98E05BFBA5F40B306E8699C@GBCWSWIEM001.ad.plc.cwintra.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Question regarding RFC 4960 Out of the Blue packets
Thread-Index: AcyIx9v8Mfm0o4XIQQ+urXi/UznW+Q==
From: "Horsham, Ian" <Ian.Horsham@cw.com>
To: <sigtran@ietf.org>
X-OriginalArrivalTime: 12 Oct 2011 10:15:27.0215 (UTC) FILETIME=[DCDB97F0:01CC88C7]
X-MC-Unique: 111101211153305001
Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CC88C7.DC5BBC95"
Subject: [Sigtran] Question regarding RFC 4960 Out of the Blue packets
X-BeenThere: sigtran@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Signaling Transport <sigtran.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/sigtran>, <mailto:sigtran-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sigtran>
List-Post: <mailto:sigtran@ietf.org>
List-Help: <mailto:sigtran-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sigtran>, <mailto:sigtran-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 12 Oct 2011 10:17:08 -0000

This is a multi-part message in MIME format.

------_=_NextPart_001_01CC88C7.DC5BBC95
Content-Type: text/plain; charset=WINDOWS-1252
Content-Transfer-Encoding: quoted-printable

Hello

I wonder if you can help me with a question that I have regarding Out of
the Blue packets please?

Section 1.5.6 states that these packets should be silently discarded:-

1.5.6. Packet Validation
A mandatory Verification Tag field and a 32-bit checksum field (see
Appendix B for a description of the CRC32c checksum) are included in
the SCTP common header. The Verification Tag value is chosen by each
end of the association during association startup. Packets received
without the expected Verification Tag value are discarded, as a
protection against blind masquerade attacks and against stale SCTP
packets from a previous association. The CRC32c checksum should be
set by the sender of each SCTP packet to provide additional
protection against data corruption in the network. The receiver of
an SCTP packet with an invalid CRC32c checksum silently discards the
packet.

However Section 8.4 gives an alternative explanation as to how these
packets should be handled:-


8.4.  Handle "Out of the Blue" Packets

   An SCTP packet is called an "out of the blue" (OOTB) packet if it is
   correctly formed (i.e., passed the receiver's CRC32c check; see
   Section 6.8), but the receiver is not able to identify the
   association to which this packet belongs.

   The receiver of an OOTB packet MUST do the following:

   1)  If the OOTB packet is to or from a non-unicast address, a
       receiver SHOULD silently discard the packet.  Otherwise,

   2)  If the OOTB packet contains an ABORT chunk, the receiver MUST
       silently discard the OOTB packet and take no further action.
       Otherwise,

   3)  If the packet contains an INIT chunk with a Verification Tag set
       to '0', process it as described in Section 5.1.  If, for whatever
       reason, the INIT cannot be processed normally and an ABORT has to
       be sent in response, the Verification Tag of the packet
       containing the ABORT chunk MUST be the Initiate Tag of the
       received INIT chunk, and the T bit of the ABORT chunk has to be
       set to 0, indicating that the Verification Tag is NOT reflected.

   4)  If the packet contains a COOKIE ECHO in the first chunk, process
       it as described in Section 5.1.  Otherwise,

   5)  If the packet contains a SHUTDOWN ACK chunk, the receiver should
       respond to the sender of the OOTB packet with a SHUTDOWN
       COMPLETE.  When sending the SHUTDOWN COMPLETE, the receiver of
       the OOTB packet must fill in the Verification Tag field of the
       outbound packet with the Verification Tag received in the
       SHUTDOWN ACK and set the T bit in the Chunk Flags to indicate
       that the Verification Tag is reflected.  Otherwise,

   6)  If the packet contains a SHUTDOWN COMPLETE chunk, the receiver
       should silently discard the packet and take no further action.
       Otherwise,

   7)  If the packet contains a "Stale Cookie" ERROR or a COOKIE ACK,
       the SCTP packet should be silently discarded.  Otherwise,

   8)  The receiver should respond to the sender of the OOTB packet with
       an ABORT.  When sending the ABORT, the receiver of the OOTB
       packet MUST fill in the Verification Tag field of the outbound
       packet with the value found in the Verification Tag field of the
       OOTB packet and set the T bit in the Chunk Flags to indicate that
       the Verification Tag is reflected.  After sending this ABORT, the
       receiver of the OOTB packet shall discard the OOTB packet and
       take no further action.

My initial thoughts were to treat 8.4 as the overriding section as it
suggests different responses for packets containing different types of
chunks and it goes into more detail. However, I can also see that
section 1.5.6 may have a security benefit over section 8.4.=20

If you can offer any help on this I will be very grateful.

Many Thanks, and Kind Regards


Ian Horsham
Principal DTC/VO Engineer=20
Cable & Wireless Worldwide

Direct Dial: +44 (0) 1344811151
Mobile: +44 (0) 7822813439

This e-mail has been scanned for viruses by the Cable&Wireless Worldwide e-=
mail security system. For more information on a proactive=20
managed e-mail secure service, visit http://www.cw.com/managed-exchange

The information contained in this e-mail is confidential and may also be su=
bject to legal privilege. It is intended only for the recipient(s) named ab=
ove.=20
If you are not named above as a recipient, you must not read, copy, disclos=
e, forward or otherwise use the information contained in this email. If you=
=20
have received this e-mail in error, please notify the sender (whose contact=
 details are above) immediately by reply e-mail and delete the message and =
any=20
attachments without retaining any copies.

Cable & Wireless Worldwide plc=20
Registered in England and Wales. Company Number 07029206
Registered office: Liberty House, 76 Hammersmith Road, London W14 8UD, Engl=
and
------_=_NextPart_001_01CC88C7.DC5BBC95
Content-Type: text/html; charset=WINDOWS-1252
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; charset=3Dus-ascii"=
>
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version 6.5.7654.12"=
>
<TITLE>Question regarding RFC 4960 Out of the Blue packets</TITLE>
</HEAD>
<BODY>
    <BR>
    <BR>
   =20
<!-- Converted from text/rtf format -->

<P><FONT SIZE=3D2 FACE=3D"Arial">Hello</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I wonder if you can help me with a questio=
n that I have regarding Out of the Blue packets please?</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Section 1.5.6 states that these packets sh=
ould be silently discarded:-</FONT>
</P>

<P><FONT COLOR=3D"#000000" SIZE=3D2 FACE=3D"Courier New">1.5.6. Packet Vali=
dation</FONT>

<BR><FONT COLOR=3D"#000000" SIZE=3D2 FACE=3D"Courier New">A mandatory Verif=
ication Tag field and a 32-bit checksum field (see<BR>
Appendix B for a description of the CRC32c checksum) are included in<BR>
the SCTP common header. The Verification Tag value is chosen by each<BR>
end of the association during association startup.</FONT> <FONT COLOR=3D"#F=
F0000" SIZE=3D2 FACE=3D"Courier New">Packets received<BR>
without the expected Verification Tag value are discarded, as a<BR>
protection against blind masquerade attacks and against stale SCTP<BR>
packets from a previous association.</FONT><FONT COLOR=3D"#000000" SIZE=3D2=
 FACE=3D"Courier New"> The CRC32c checksum should be<BR>
set by the sender of each SCTP packet to provide additional<BR>
protection against data corruption in the network. The receiver of<BR>
an SCTP packet with an invalid CRC32c checksum silently discards the<BR>
packet.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">However Section 8.4 gives an alternative e=
xplanation as to how these packets should be handled:-</FONT>
</P>
<BR>

<P><FONT SIZE=3D2 FACE=3D"Courier">8.4.&nbsp; Handle &quot;Out of the Blue&=
quot; Packets</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Courier">&nbsp;&nbsp; An SCTP packet is called an=
 &quot;out of the blue&quot; (OOTB) packet if it is</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier">&nbsp;&nbsp; correctly formed (i.e., pa=
ssed the receiver's CRC32c check; see</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier">&nbsp;&nbsp; Section 6.8), but the rece=
iver is not able to identify the</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier">&nbsp;&nbsp; association to which this =
packet belongs.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Courier">&nbsp;&nbsp; The receiver of an OOTB pac=
ket MUST do the following:</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Courier">&nbsp;&nbsp; 1)&nbsp; If the OOTB packet=
 is to or from a non-unicast address, a</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; re=
ceiver SHOULD silently discard the packet.&nbsp; Otherwise,</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Courier">&nbsp;&nbsp; 2)&nbsp; If the OOTB packet=
 contains an ABORT chunk, the receiver MUST</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; si=
lently discard the OOTB packet and take no further action.</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Ot=
herwise,</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Courier">&nbsp;&nbsp; 3)&nbsp; If the packet cont=
ains an INIT chunk with a Verification Tag set</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; to=
 '0', process it as described in Section 5.1.&nbsp; If, for whatever</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; re=
ason, the INIT cannot be processed normally and an ABORT has to</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; be=
 sent in response, the Verification Tag of the packet</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; co=
ntaining the ABORT chunk MUST be the Initiate Tag of the</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; re=
ceived INIT chunk, and the T bit of the ABORT chunk has to be</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; se=
t to 0, indicating that the Verification Tag is NOT reflected.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Courier">&nbsp;&nbsp; 4)&nbsp; If the packet cont=
ains a COOKIE ECHO in the first chunk, process</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; it=
 as described in Section 5.1.&nbsp; Otherwise,</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Courier">&nbsp;&nbsp; 5)&nbsp; If the packet cont=
ains a SHUTDOWN ACK chunk, the receiver should</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; re=
spond to the sender of the OOTB packet with a SHUTDOWN</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CO=
MPLETE.&nbsp; When sending the SHUTDOWN COMPLETE, the receiver of</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; th=
e OOTB packet must fill in the Verification Tag field of the</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ou=
tbound packet with the Verification Tag received in the</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SH=
UTDOWN ACK and set the T bit in the Chunk Flags to indicate</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; th=
at the Verification Tag is reflected.&nbsp; Otherwise,</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Courier">&nbsp;&nbsp; 6)&nbsp; If the packet cont=
ains a SHUTDOWN COMPLETE chunk, the receiver</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sh=
ould silently discard the packet and take no further action.</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Ot=
herwise,</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Courier">&nbsp;&nbsp; 7)&nbsp; If the packet cont=
ains a &quot;Stale Cookie&quot; ERROR or a COOKIE ACK,</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; th=
e SCTP packet should be silently discarded.&nbsp; Otherwise,</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Courier">&nbsp;&nbsp; 8)&nbsp; The receiver shoul=
d respond to the sender of the OOTB packet with</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; an=
 ABORT.&nbsp; When sending the ABORT, the receiver of the OOTB</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pa=
cket MUST fill in the Verification Tag field of the outbound</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pa=
cket with the value found in the Verification Tag field of the</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OO=
TB packet and set the T bit in the Chunk Flags to indicate that</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; th=
e Verification Tag is reflected.&nbsp; After sending this ABORT, the</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; re=
ceiver of the OOTB packet shall discard the OOTB packet and</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ta=
ke no further action.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">My initial thoughts were to treat 8.4 as t=
he overriding section as it suggests different responses for packets contai=
ning different types of chunks and it goes into more detail. However, I can=
 also see that section 1.5.6 may have a security benefit over section 8.4. =
</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">If you can offer any help on this I will b=
e very grateful.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Many Thanks, and Kind Regards</FONT>
</P>
<BR>

<P><B><FONT SIZE=3D2 FACE=3D"Arial">Ian Horsham</FONT></B>

<BR><FONT SIZE=3D2 FACE=3D"Arial">Principal DTC/VO Engineer </FONT>

<BR><B><FONT SIZE=3D2 FACE=3D"Arial">Cable &amp; Wireless Worldwide</FONT><=
/B>
</P>

<P><FONT SIZE=3D1 FACE=3D"Arial">Direct Dial: +44 (0) 1344811151</FONT>

<BR><FONT SIZE=3D1 FACE=3D"Arial">Mobile: +44 (0) 7822813439</FONT>
</P>
<BR>


    <BR>
    <BR>
   <hr width=3D"100%">
   <font face=3D"arial" size=3D2>
This e-mail has been scanned for viruses by the Cable&Wireless Worldwide e-=
mail security system. For more information on a proactive managed e-mail se=
cure service, visit http://www.cw.com/managed-exchange
<br />
<br />
The information contained in this e-mail is confidential and may also be su=
bject to legal privilege. It is intended only for the recipient(s) named ab=
ove. If you are not named above as a recipient, you must not read, copy, di=
sclose, forward or otherwise use the information contained in this email. I=
f you have received this e-mail in error, please notify the sender (whose c=
ontact details are above) immediately by reply e-mail and delete the messag=
e and any attachments without retaining any copies.
<br />
<br />
Cable & Wireless Worldwide plc=20
Registered in England and Wales. Company Number 07029206
Registered office: Liberty House, 76 Hammersmith Road, London W14 8UD, Engl=
and
  =20
</font>
   <hr width=3D"100%">

    </BODY>
</HTML>
------_=_NextPart_001_01CC88C7.DC5BBC95--


From Michael.Tuexen@lurchi.franken.de  Wed Oct 12 09:02:17 2011
Return-Path: <Michael.Tuexen@lurchi.franken.de>
X-Original-To: sigtran@ietfa.amsl.com
Delivered-To: sigtran@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D5D5F21F8B8E for <sigtran@ietfa.amsl.com>; Wed, 12 Oct 2011 09:02:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.455
X-Spam-Level: 
X-Spam-Status: No, score=-0.455 tagged_above=-999 required=5 tests=[AWL=1.844,  BAYES_00=-2.599, MIME_8BIT_HEADER=0.3]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gkfSLUNsHcqb for <sigtran@ietfa.amsl.com>; Wed, 12 Oct 2011 09:02:17 -0700 (PDT)
Received: from mail-n.franken.de (drew.ipv6.franken.de [IPv6:2001:638:a02:a001:20e:cff:fe4a:feaa]) by ietfa.amsl.com (Postfix) with ESMTP id 6432D21F8B8A for <sigtran@ietf.org>; Wed, 12 Oct 2011 09:02:16 -0700 (PDT)
Received: from [192.168.1.100] (p508FC2F4.dip.t-dialin.net [80.143.194.244]) (Authenticated sender: macmic) by mail-n.franken.de (Postfix) with ESMTP id 088891C0B4620; Wed, 12 Oct 2011 18:01:58 +0200 (CEST)
Mime-Version: 1.0 (Apple Message framework v1244.3)
Content-Type: text/plain; charset=windows-1252
From: =?iso-8859-1?Q?Michael_T=FCxen?= <Michael.Tuexen@lurchi.franken.de>
In-Reply-To: <3ED1C61A16C32D46A98E05BFBA5F40B306E8699C@GBCWSWIEM001.ad.plc.cwintra.com>
Date: Wed, 12 Oct 2011 18:01:57 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <2F452CA4-383D-48FE-9BEF-FB12CFD3AD60@lurchi.franken.de>
References: <3ED1C61A16C32D46A98E05BFBA5F40B306E8699C@GBCWSWIEM001.ad.plc.cwintra.com>
To: "Horsham, Ian" <Ian.Horsham@cw.com>
X-Mailer: Apple Mail (2.1244.3)
Cc: sigtran@ietf.org
Subject: Re: [Sigtran] Question regarding RFC 4960 Out of the Blue packets
X-BeenThere: sigtran@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Signaling Transport <sigtran.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/sigtran>, <mailto:sigtran-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sigtran>
List-Post: <mailto:sigtran@ietf.org>
List-Help: <mailto:sigtran-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sigtran>, <mailto:sigtran-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 12 Oct 2011 16:02:18 -0000

On Oct 12, 2011, at 12:15 PM, Horsham, Ian wrote:

>=20
>=20
> Hello
>=20
> I wonder if you can help me with a question that I have regarding Out =
of the Blue packets please?
>=20
> Section 1.5.6 states that these packets should be silently discarded:-
>=20
> 1.5.6. Packet Validation=20
> A mandatory Verification Tag field and a 32-bit checksum field (see
> Appendix B for a description of the CRC32c checksum) are included in
> the SCTP common header. The Verification Tag value is chosen by each
> end of the association during association startup. Packets received
> without the expected Verification Tag value are discarded, as a
> protection against blind masquerade attacks and against stale SCTP
> packets from a previous association. The CRC32c checksum should be
> set by the sender of each SCTP packet to provide additional
> protection against data corruption in the network. The receiver of
> an SCTP packet with an invalid CRC32c checksum silently discards the
> packet.
This covers the handling of incoming packets. You can only decide
that the verification tag is as expected, if you have an expectation.
This means you can identify the association to which it belongs.
So it is not OOTB.
>=20
> However Section 8.4 gives an alternative explanation as to how these =
packets should be handled:-
8.4 covers OOTB packets.

I hope this makes things clearer.

Best regards
Michael
>=20
>=20
> 8.4.  Handle "Out of the Blue" Packets
>=20
>    An SCTP packet is called an "out of the blue" (OOTB) packet if it =
is=20
>    correctly formed (i.e., passed the receiver's CRC32c check; see=20
>    Section 6.8), but the receiver is not able to identify the=20
>    association to which this packet belongs.
>=20
>    The receiver of an OOTB packet MUST do the following:
>=20
>    1)  If the OOTB packet is to or from a non-unicast address, a=20
>        receiver SHOULD silently discard the packet.  Otherwise,
>=20
>    2)  If the OOTB packet contains an ABORT chunk, the receiver MUST=20=

>        silently discard the OOTB packet and take no further action.=20
>        Otherwise,
>=20
>    3)  If the packet contains an INIT chunk with a Verification Tag =
set=20
>        to '0', process it as described in Section 5.1.  If, for =
whatever=20
>        reason, the INIT cannot be processed normally and an ABORT has =
to=20
>        be sent in response, the Verification Tag of the packet=20
>        containing the ABORT chunk MUST be the Initiate Tag of the=20
>        received INIT chunk, and the T bit of the ABORT chunk has to be=20=

>        set to 0, indicating that the Verification Tag is NOT =
reflected.
>=20
>    4)  If the packet contains a COOKIE ECHO in the first chunk, =
process=20
>        it as described in Section 5.1.  Otherwise,
>=20
>    5)  If the packet contains a SHUTDOWN ACK chunk, the receiver =
should=20
>        respond to the sender of the OOTB packet with a SHUTDOWN=20
>        COMPLETE.  When sending the SHUTDOWN COMPLETE, the receiver of=20=

>        the OOTB packet must fill in the Verification Tag field of the=20=

>        outbound packet with the Verification Tag received in the=20
>        SHUTDOWN ACK and set the T bit in the Chunk Flags to indicate=20=

>        that the Verification Tag is reflected.  Otherwise,
>=20
>    6)  If the packet contains a SHUTDOWN COMPLETE chunk, the receiver=20=

>        should silently discard the packet and take no further action.=20=

>        Otherwise,
>=20
>    7)  If the packet contains a "Stale Cookie" ERROR or a COOKIE ACK,=20=

>        the SCTP packet should be silently discarded.  Otherwise,
>=20
>    8)  The receiver should respond to the sender of the OOTB packet =
with=20
>        an ABORT.  When sending the ABORT, the receiver of the OOTB=20
>        packet MUST fill in the Verification Tag field of the outbound=20=

>        packet with the value found in the Verification Tag field of =
the=20
>        OOTB packet and set the T bit in the Chunk Flags to indicate =
that=20
>        the Verification Tag is reflected.  After sending this ABORT, =
the=20
>        receiver of the OOTB packet shall discard the OOTB packet and=20=

>        take no further action.
>=20
> My initial thoughts were to treat 8.4 as the overriding section as it =
suggests different responses for packets containing different types of =
chunks and it goes into more detail. However, I can also see that =
section 1.5.6 may have a security benefit over section 8.4.
>=20
> If you can offer any help on this I will be very grateful.
>=20
> Many Thanks, and Kind Regards
>=20
>=20
> Ian Horsham=20
> Principal DTC/VO Engineer=20
> Cable & Wireless Worldwide
>=20
> Direct Dial: +44 (0) 1344811151=20
> Mobile: +44 (0) 7822813439
>=20
>=20
>=20
>=20
> This e-mail has been scanned for viruses by the Cable&Wireless =
Worldwide e-mail security system. For more information on a proactive =
managed e-mail secure service, visit http://www.cw.com/managed-exchange=20=

>=20
> The information contained in this e-mail is confidential and may also =
be subject to legal privilege. It is intended only for the recipient(s) =
named above. If you are not named above as a recipient, you must not =
read, copy, disclose, forward or otherwise use the information contained =
in this email. If you have received this e-mail in error, please notify =
the sender (whose contact details are above) immediately by reply e-mail =
and delete the message and any attachments without retaining any copies.=20=

>=20
> Cable & Wireless Worldwide plc Registered in England and Wales. =
Company Number 07029206 Registered office: Liberty House, 76 Hammersmith =
Road, London W14 8UD, England
> _______________________________________________
> Sigtran mailing list
> Sigtran@ietf.org
> https://www.ietf.org/mailman/listinfo/sigtran


From ian.horsham@cw.com  Thu Oct 13 01:41:17 2011
Return-Path: <ian.horsham@cw.com>
X-Original-To: sigtran@ietfa.amsl.com
Delivered-To: sigtran@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E40BB21F8558 for <sigtran@ietfa.amsl.com>; Thu, 13 Oct 2011 01:41:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.149
X-Spam-Level: 
X-Spam-Status: No, score=-2.149 tagged_above=-999 required=5 tests=[AWL=1.151,  BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QRyr8y6h1tfa for <sigtran@ietfa.amsl.com>; Thu, 13 Oct 2011 01:41:16 -0700 (PDT)
Received: from service98.mimecast.com (service98.mimecast.com [195.130.217.59]) by ietfa.amsl.com (Postfix) with ESMTP id 4BEE521F87FC for <sigtran@ietf.org>; Thu, 13 Oct 2011 01:41:16 -0700 (PDT)
Received: from GBCWSWIEC002.ad.plc.cwintra.com (cmr2.cwplc.com [213.216.141.97]) (Using TLS) by service98.mimecast.com; Thu, 13 Oct 2011 09:41:12 +0100
Received: from GBCWSWIEM001.ad.plc.cwintra.com ([148.185.93.203]) by GBCWSWIEC002.ad.plc.cwintra.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 13 Oct 2011 09:41:10 +0100
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Date: Thu, 13 Oct 2011 09:41:09 +0100
Message-ID: <3ED1C61A16C32D46A98E05BFBA5F40B306E869A6@GBCWSWIEM001.ad.plc.cwintra.com>
In-Reply-To: <2F452CA4-383D-48FE-9BEF-FB12CFD3AD60@lurchi.franken.de>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Sigtran] Question regarding RFC 4960 Out of the Blue packets
Thread-Index: AcyI+EtBXZPowtwYSyOi6FxI6OzBSgAh82lQ
From: "Horsham, Ian" <Ian.Horsham@cw.com>
To: =?iso-8859-1?Q?Michael_T=FCxen?= <Michael.Tuexen@lurchi.franken.de>
X-OriginalArrivalTime: 13 Oct 2011 08:41:10.0980 (UTC) FILETIME=[DBE46040:01CC8983]
X-MC-Unique: 111101309411202301
Content-Type: text/plain; charset=WINDOWS-1252
Content-Transfer-Encoding: quoted-printable
Cc: sigtran@ietf.org
Subject: Re: [Sigtran] Question regarding RFC 4960 Out of the Blue packets
X-BeenThere: sigtran@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Signaling Transport <sigtran.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/sigtran>, <mailto:sigtran-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sigtran>
List-Post: <mailto:sigtran@ietf.org>
List-Help: <mailto:sigtran-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sigtran>, <mailto:sigtran-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Oct 2011 08:41:18 -0000

Hello Michael

Thanks for your reply.

Section 1.5.6 only says "Packets received without the expected Verification=
 Tag value are discarded" (it doesn't actually state that they are silently=
 discarded). It does go on to say that "The receiver of an SCTP packet with=
 an invalid CRC32c checksum silently discards the packet.". However I'm con=
sidering a packet with a correct CRC32c check and an incorrect verification=
 tag.

This has made me think that there is a difference between invalid packets (=
CRC32c error) and OOTB packets (CRC32c passed but verification tag incorrec=
t) and that is why section 8.4 exists.

Do you think that section 8.4 can be ignored or is there a difference betwe=
en invalid packets and OOTB packets? I think that there is a difference and=
 the RFC is saying that OOTB packets should be handled differently (as per =
section 8.4).

Consequently, I can see the benefits of silently discarding these packets (=
for security).

Many thanks
Ian

-----Original Message-----
From: Michael T=FCxen [mailto:Michael.Tuexen@lurchi.franken.de]=20
Sent: 12 October 2011 17:02
To: Horsham, Ian
Cc: sigtran@ietf.org
Subject: Re: [Sigtran] Question regarding RFC 4960 Out of the Blue packets


On Oct 12, 2011, at 12:15 PM, Horsham, Ian wrote:

>=20
>=20
> Hello
>=20
> I wonder if you can help me with a question that I have regarding Out=20
> of the Blue packets please?
>=20
> Section 1.5.6 states that these packets should be silently discarded:-
>=20
> 1.5.6. Packet Validation
> A mandatory Verification Tag field and a 32-bit checksum field (see
> Appendix B for a description of the CRC32c checksum) are included in
> the SCTP common header. The Verification Tag value is chosen by each
> end of the association during association startup. Packets received
> without the expected Verification Tag value are discarded, as a
> protection against blind masquerade attacks and against stale SCTP
> packets from a previous association. The CRC32c checksum should be
> set by the sender of each SCTP packet to provide additional
> protection against data corruption in the network. The receiver of
> an SCTP packet with an invalid CRC32c checksum silently discards the
> packet.
This covers the handling of incoming packets. You can only decide that the =
verification tag is as expected, if you have an expectation. This means you=
 can identify the association to which it belongs. So it is not OOTB.
>=20
> However Section 8.4 gives an alternative explanation as to how these=20
> packets should be handled:-
8.4 covers OOTB packets.

I hope this makes things clearer.

Best regards
Michael
>=20
>=20
> 8.4.  Handle "Out of the Blue" Packets
>=20
>    An SCTP packet is called an "out of the blue" (OOTB) packet if it is=
=20
>    correctly formed (i.e., passed the receiver's CRC32c check; see=20
>    Section 6.8), but the receiver is not able to identify the=20
>    association to which this packet belongs.
>=20
>    The receiver of an OOTB packet MUST do the following:
>=20
>    1)  If the OOTB packet is to or from a non-unicast address, a=20
>        receiver SHOULD silently discard the packet.  Otherwise,
>=20
>    2)  If the OOTB packet contains an ABORT chunk, the receiver MUST=20
>        silently discard the OOTB packet and take no further action.=20
>        Otherwise,
>=20
>    3)  If the packet contains an INIT chunk with a Verification Tag set=
=20
>        to '0', process it as described in Section 5.1.  If, for whatever=
=20
>        reason, the INIT cannot be processed normally and an ABORT has to=
=20
>        be sent in response, the Verification Tag of the packet=20
>        containing the ABORT chunk MUST be the Initiate Tag of the=20
>        received INIT chunk, and the T bit of the ABORT chunk has to be=20
>        set to 0, indicating that the Verification Tag is NOT=20
> reflected.
>=20
>    4)  If the packet contains a COOKIE ECHO in the first chunk, process=
=20
>        it as described in Section 5.1.  Otherwise,
>=20
>    5)  If the packet contains a SHUTDOWN ACK chunk, the receiver should=
=20
>        respond to the sender of the OOTB packet with a SHUTDOWN=20
>        COMPLETE.  When sending the SHUTDOWN COMPLETE, the receiver of=20
>        the OOTB packet must fill in the Verification Tag field of the=20
>        outbound packet with the Verification Tag received in the=20
>        SHUTDOWN ACK and set the T bit in the Chunk Flags to indicate=20
>        that the Verification Tag is reflected.  Otherwise,
>=20
>    6)  If the packet contains a SHUTDOWN COMPLETE chunk, the receiver=20
>        should silently discard the packet and take no further action.=20
>        Otherwise,
>=20
>    7)  If the packet contains a "Stale Cookie" ERROR or a COOKIE ACK,=20
>        the SCTP packet should be silently discarded.  Otherwise,
>=20
>    8)  The receiver should respond to the sender of the OOTB packet with=
=20
>        an ABORT.  When sending the ABORT, the receiver of the OOTB=20
>        packet MUST fill in the Verification Tag field of the outbound=20
>        packet with the value found in the Verification Tag field of the=
=20
>        OOTB packet and set the T bit in the Chunk Flags to indicate that=
=20
>        the Verification Tag is reflected.  After sending this ABORT, the=
=20
>        receiver of the OOTB packet shall discard the OOTB packet and=20
>        take no further action.
>=20
> My initial thoughts were to treat 8.4 as the overriding section as it=20
> suggests different responses for packets containing different types of=20
> chunks and it goes into more detail. However, I can also see that=20
> section 1.5.6 may have a security benefit over section 8.4.
>=20
> If you can offer any help on this I will be very grateful.
>=20
> Many Thanks, and Kind Regards
>=20
>=20
> Ian Horsham
> Principal DTC/VO Engineer=20
> Cable & Wireless Worldwide
>=20
> Direct Dial: +44 (0) 1344811151
> Mobile: +44 (0) 7822813439
>=20
>=20
>=20
>=20
> This e-mail has been scanned for viruses by the Cable&Wireless=20
> Worldwide e-mail security system. For more information on a proactive man=
aged e-mail secure service, visit http://www.cw.com/managed-exchange
>=20
> The information contained in this e-mail is confidential and may also=20
> be subject to legal privilege. It is intended only for the recipient(s) n=
amed above. If you are not named above as a recipient, you must not read, c=
opy, disclose, forward or otherwise use the information contained in this e=
mail. If you have received this e-mail in error, please notify the sender (=
whose contact details are above) immediately by reply e-mail and delete the=
 message and any attachments without retaining any copies.
>=20
> Cable & Wireless Worldwide plc Registered in England and Wales.=20
> Company Number 07029206 Registered office: Liberty House, 76=20
> Hammersmith Road, London W14 8UD, England _______________________________=
________________
> Sigtran mailing list
> Sigtran@ietf.org
> https://www.ietf.org/mailman/listinfo/sigtran

This e-mail has been scanned for viruses by the Cable&Wireless Worldwide e-=
mail security system. For more information on a proactive=20
managed e-mail secure service, visit http://www.cw.com/managed-exchange

The information contained in this e-mail is confidential and may also be su=
bject to legal privilege. It is intended only for the recipient(s) named ab=
ove.=20
If you are not named above as a recipient, you must not read, copy, disclos=
e, forward or otherwise use the information contained in this email. If you=
=20
have received this e-mail in error, please notify the sender (whose contact=
 details are above) immediately by reply e-mail and delete the message and =
any=20
attachments without retaining any copies.

Cable & Wireless Worldwide plc=20
Registered in England and Wales. Company Number 07029206
Registered office: Liberty House, 76 Hammersmith Road, London W14 8UD, Engl=
and


From jeff.morriss.ws@gmail.com  Thu Oct 13 07:42:48 2011
Return-Path: <jeff.morriss.ws@gmail.com>
X-Original-To: sigtran@ietfa.amsl.com
Delivered-To: sigtran@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A277C21F8B31 for <sigtran@ietfa.amsl.com>; Thu, 13 Oct 2011 07:42:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level: 
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WcHi9ExrTWEP for <sigtran@ietfa.amsl.com>; Thu, 13 Oct 2011 07:42:48 -0700 (PDT)
Received: from mail-vw0-f44.google.com (mail-vw0-f44.google.com [209.85.212.44]) by ietfa.amsl.com (Postfix) with ESMTP id 1810221F8AF9 for <sigtran@ietf.org>; Thu, 13 Oct 2011 07:42:48 -0700 (PDT)
Received: by vws5 with SMTP id 5so95310vws.31 for <sigtran@ietf.org>; Thu, 13 Oct 2011 07:42:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=uMCc94GN/7C6CI6AoYSHmitXGUvZZ7/SVvFATN1t6QQ=; b=hCsXHgjb+whMIZ0hWDVAuyUkiwtGHwy8OhIYfXYCCXvcJz+FkkE3QIRRSAytXz9EiT PUZW0cgk60t9IoIogLp5hCtRwNxV5hyrQ5lO5vL4cjOTbAL+oVEHgGrYYduhxprEI9Q9 tb7uxBbw3J4VzrgIlqOzDvSrBvU8Vekp9eC28=
Received: by 10.52.77.69 with SMTP id q5mr4334787vdw.11.1318516967583; Thu, 13 Oct 2011 07:42:47 -0700 (PDT)
Received: from nj-morriss-test.ulticom.com (208-255-121-30.ulticom.com. [208.255.121.30]) by mx.google.com with ESMTPS id v8sm4138603vdg.22.2011.10.13.07.42.45 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 13 Oct 2011 07:42:46 -0700 (PDT)
Message-ID: <4E96F8E5.3000404@gmail.com>
Date: Thu, 13 Oct 2011 10:42:45 -0400
From: Jeff Morriss <jeff.morriss.ws@gmail.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090825)
MIME-Version: 1.0
To: "Horsham, Ian" <Ian.Horsham@cw.com>
References: <3ED1C61A16C32D46A98E05BFBA5F40B306E869A6@GBCWSWIEM001.ad.plc.cwintra.com>
In-Reply-To: <3ED1C61A16C32D46A98E05BFBA5F40B306E869A6@GBCWSWIEM001.ad.plc.cwintra.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
Cc: sigtran@ietf.org
Subject: Re: [Sigtran] Question regarding RFC 4960 Out of the Blue packets
X-BeenThere: sigtran@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Signaling Transport <sigtran.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/sigtran>, <mailto:sigtran-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sigtran>
List-Post: <mailto:sigtran@ietf.org>
List-Help: <mailto:sigtran-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sigtran>, <mailto:sigtran-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Oct 2011 14:42:48 -0000

Horsham, Ian wrote:

[BTW, SCTP is usually discussed over on the tsvwg list now.]

> Section 1.5.6 only says "Packets received without the expected
> Verification Tag value are discarded" (it doesn't actually state that
> they are silently discarded). It does go on to say that "The receiver of
> an SCTP packet with an invalid CRC32c checksum silently discards the
> packet.". However I'm considering a packet with a correct CRC32c check
> and an incorrect verification tag.
> 
> This has made me think that there is a difference between invalid
> packets (CRC32c error) and OOTB packets (CRC32c passed but verification
> tag incorrect) and that is why section 8.4 exists.
> 
> Do you think that section 8.4 can be ignored or is there a difference
> between invalid packets and OOTB packets? I think that there is a
> difference and the RFC is saying that OOTB packets should be handled
> differently (as per section 8.4).
> 
> Consequently, I can see the benefits of silently discarding these
> packets (for security).

Maybe this explanation helps:

Section 1.5.6's guidance to discard packets with "unexpected" vtags only 
applies when the receiver of the packet has a matching (based on the 
addresses) association.  So, in Michael's words, the receiver has an 
expectation as to what the vtag should be and the packet does not match it.

OOTB, on the other hand, applies to packets for which the receiver has 
no association.

You shouldn't send an ABORT in the "unexpected" case to avoid aborting a 
valid association due to a lucky hit on a blind masquerade attack or 
because a (very late) packet from a previous instance of that 
association arrived.

You should send an ABORT (as per section 8.4) to correct a peer who 
seems to think you have an association that you don't have.

From ian.horsham@cw.com  Thu Oct 13 09:03:54 2011
Return-Path: <ian.horsham@cw.com>
X-Original-To: sigtran@ietfa.amsl.com
Delivered-To: sigtran@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 25A5221F8634 for <sigtran@ietfa.amsl.com>; Thu, 13 Oct 2011 09:03:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.874
X-Spam-Level: 
X-Spam-Status: No, score=-2.874 tagged_above=-999 required=5 tests=[AWL=0.725,  BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id q-umb-lfpzVH for <sigtran@ietfa.amsl.com>; Thu, 13 Oct 2011 09:03:53 -0700 (PDT)
Received: from service97.mimecast.com (service97.mimecast.com [91.220.42.49]) by ietfa.amsl.com (Postfix) with ESMTP id BE71A21F85AE for <sigtran@ietf.org>; Thu, 13 Oct 2011 09:03:52 -0700 (PDT)
Received: from GBCWSWIEC001.ad.plc.cwintra.com (cmr2.cwplc.com [213.216.141.96]) (Using TLS) by service97.mimecast.com; Thu, 13 Oct 2011 17:03:48 +0100
Received: from GBCWSWIEM001.ad.plc.cwintra.com ([148.185.93.203]) by GBCWSWIEC001.ad.plc.cwintra.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 13 Oct 2011 17:02:48 +0100
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Date: Thu, 13 Oct 2011 17:02:47 +0100
Message-ID: <3ED1C61A16C32D46A98E05BFBA5F40B306E869B4@GBCWSWIEM001.ad.plc.cwintra.com>
In-Reply-To: <4E96F8E5.3000404@gmail.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Sigtran] Question regarding RFC 4960 Out of the Blue packets
Thread-Index: AcyJtmsCvPfw5P/BROWjeIHIktJ+RAABsQew
From: "Horsham, Ian" <Ian.Horsham@cw.com>
To: "Jeff Morriss" <jeff.morriss.ws@gmail.com>
X-OriginalArrivalTime: 13 Oct 2011 16:02:48.0821 (UTC) FILETIME=[8DD60A50:01CC89C1]
X-MC-Unique: 111101317034806102
Content-Type: text/plain; charset=WINDOWS-1252
Content-Transfer-Encoding: quoted-printable
Cc: sigtran@ietf.org
Subject: Re: [Sigtran] Question regarding RFC 4960 Out of the Blue packets
X-BeenThere: sigtran@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Signaling Transport <sigtran.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/sigtran>, <mailto:sigtran-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sigtran>
List-Post: <mailto:sigtran@ietf.org>
List-Help: <mailto:sigtran-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sigtran>, <mailto:sigtran-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Oct 2011 16:03:54 -0000

Hi Jeff

I understand now thanks (at last I hear you cry)!=20

1. If a packet comes from an endpoint which it has an association with
the packet is silently discarded (to protect against attack).
2. If the packet come from an endpoint which it hasn't got an
association with the packet is OOTB.

I was thinking that the definition of an association would include
having a valid verification tag. Apologies for this misunderstanding.

Thank you Jeff, Michael and Arif for responding to my questions. You
have been very helpful.

Many Thanks
Ian





-----Original Message-----
From: Jeff Morriss [mailto:jeff.morriss.ws@gmail.com]=20
Sent: 13 October 2011 15:43
To: Horsham, Ian
Cc: sigtran@ietf.org
Subject: Re: [Sigtran] Question regarding RFC 4960 Out of the Blue
packets



Horsham, Ian wrote:

[BTW, SCTP is usually discussed over on the tsvwg list now.]

> Section 1.5.6 only says "Packets received without the expected=20
> Verification Tag value are discarded" (it doesn't actually state that=20
> they are silently discarded). It does go on to say that "The receiver=20
> of an SCTP packet with an invalid CRC32c checksum silently discards=20
> the packet.". However I'm considering a packet with a correct CRC32c=20
> check and an incorrect verification tag.
>=20
> This has made me think that there is a difference between invalid=20
> packets (CRC32c error) and OOTB packets (CRC32c passed but=20
> verification tag incorrect) and that is why section 8.4 exists.
>=20
> Do you think that section 8.4 can be ignored or is there a difference=20
> between invalid packets and OOTB packets? I think that there is a=20
> difference and the RFC is saying that OOTB packets should be handled=20
> differently (as per section 8.4).
>=20
> Consequently, I can see the benefits of silently discarding these=20
> packets (for security).

Maybe this explanation helps:

Section 1.5.6's guidance to discard packets with "unexpected" vtags only

applies when the receiver of the packet has a matching (based on the=20
addresses) association.  So, in Michael's words, the receiver has an=20
expectation as to what the vtag should be and the packet does not match
it.

OOTB, on the other hand, applies to packets for which the receiver has=20
no association.

You shouldn't send an ABORT in the "unexpected" case to avoid aborting a

valid association due to a lucky hit on a blind masquerade attack or=20
because a (very late) packet from a previous instance of that=20
association arrived.

You should send an ABORT (as per section 8.4) to correct a peer who=20
seems to think you have an association that you don't have.

This e-mail has been scanned for viruses by the Cable&Wireless Worldwide e-=
mail security system. For more information on a proactive=20
managed e-mail secure service, visit http://www.cw.com/managed-exchange

The information contained in this e-mail is confidential and may also be su=
bject to legal privilege. It is intended only for the recipient(s) named ab=
ove.=20
If you are not named above as a recipient, you must not read, copy, disclos=
e, forward or otherwise use the information contained in this email. If you=
=20
have received this e-mail in error, please notify the sender (whose contact=
 details are above) immediately by reply e-mail and delete the message and =
any=20
attachments without retaining any copies.

Cable & Wireless Worldwide plc=20
Registered in England and Wales. Company Number 07029206
Registered office: Liberty House, 76 Hammersmith Road, London W14 8UD, Engl=
and

