
From aloomis@sarn.org  Tue Mar 19 16:24:26 2013
Return-Path: <aloomis@sarn.org>
X-Original-To: dtn-security@ietfa.amsl.com
Delivered-To: dtn-security@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AFF2B21F8BB6 for <dtn-security@ietfa.amsl.com>; Tue, 19 Mar 2013 16:24:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level: 
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NO_RELAYS=-0.001]
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 9YlTx8IXao+v for <dtn-security@ietfa.amsl.com>; Tue, 19 Mar 2013 16:24:26 -0700 (PDT)
Received: from mail-qc0-x22a.google.com (mail-qc0-x22a.google.com [IPv6:2607:f8b0:400d:c01::22a]) by ietfa.amsl.com (Postfix) with ESMTP id 2E02121F86CA for <dtn-security@irtf.org>; Tue, 19 Mar 2013 16:24:25 -0700 (PDT)
Received: by mail-qc0-f170.google.com with SMTP id d42so528966qca.1 for <dtn-security@irtf.org>; Tue, 19 Mar 2013 16:24:25 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=9xo67vMdWTUq9wFQ+tFk+fk35FfmIuYRl8E+WchPqbQ=; b=HVbdOwysIdC3jAXqwZQb9pzWnd0yV1eKVBwKSVOVWbVhdc3ZrqOPAIEMGTqJ2zrDRK rXSkzc7m7omWiOxZqclc6ua2iBb+v6T+iPwKB+B4JOUmCOkFrIA8T80dWr7Ky8SgvjAs Vqo6ew5zTvioH3qp8KahIHpZSr3QIYFgNIAszKr0ETFpVO5OuQtE//UVmdNDbbkr0JBa rdR49mDwpHjzrG7jhC5eSe9mK+QeQzl6FQTQSFmhe5pVKetdrVTpejfTyWb25/Dpl6lY SwGXXt+WnCeBeUVUGAnXc7HXLuSHAuKd+KT3ic3TMoEL0IuPSP2pUscr23OHTDaaMB5m W25A==
MIME-Version: 1.0
X-Received: by 10.224.97.132 with SMTP id l4mr3999420qan.65.1363735465100; Tue, 19 Mar 2013 16:24:25 -0700 (PDT)
Received: by 10.49.24.38 with HTTP; Tue, 19 Mar 2013 16:24:24 -0700 (PDT)
Date: Tue, 19 Mar 2013 19:24:24 -0400
Message-ID: <CAB9rx+85HHsNj=EhmsqhCdtY5k=S4p1Jgzz4VsmEC+43ERygWA@mail.gmail.com>
From: Amy Alford <aloomis@sarn.org>
To: dtn-security <dtn-security@irtf.org>
Content-Type: multipart/alternative; boundary=20cf3074b350f8680d04d84f67fd
X-Gm-Message-State: ALoCoQkx3BKBX5yV6qYD9QoyjbCNIYLPxR8hg4wc6xwmM0jfJvyNjOKYXweuyataOmx7yXNwDP9n
Subject: [dtn-security] Including fragment offset in the correlator doesn't prevent all fragment collisions.
X-BeenThere: dtn-security@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "The Delay-Tolerant Networking Research Group \(DTNRG\) - Security." <dtn-security.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/dtn-security>, <mailto:dtn-security-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/dtn-security>
List-Post: <mailto:dtn-security@irtf.org>
List-Help: <mailto:dtn-security-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/dtn-security>, <mailto:dtn-security-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 19 Mar 2013 23:24:26 -0000

--20cf3074b350f8680d04d84f67fd
Content-Type: text/plain; charset=ISO-8859-1

A bundle can be fragmented multiple times independently, so a node may
receive multiple fragments with the same offset and length that have
traveled different paths (and accumulated different BSP blocks along the
way).  Collisions in the correlator values once the bundle is reassembled
are inevitable.
- Amy

--20cf3074b350f8680d04d84f67fd
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

A bundle can be fragmented multiple times independently, so a node may rece=
ive multiple fragments with the same offset and length that have traveled d=
ifferent paths (and accumulated different BSP blocks along the way). =A0Col=
lisions in the correlator values once the bundle is reassembled are inevita=
ble.<div>
- Amy</div>

--20cf3074b350f8680d04d84f67fd--

From plovell@mac.com  Tue Mar 19 18:11:47 2013
Return-Path: <plovell@mac.com>
X-Original-To: dtn-security@ietfa.amsl.com
Delivered-To: dtn-security@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6FA7521F8DEF for <dtn-security@ietfa.amsl.com>; Tue, 19 Mar 2013 18:11:34 -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 2fmXocWmXUdK for <dtn-security@ietfa.amsl.com>; Tue, 19 Mar 2013 18:11:26 -0700 (PDT)
Received: from st11p00mm-asmtp003.mac.com (st11p00mm-asmtpout003.mac.com [17.172.81.2]) by ietfa.amsl.com (Postfix) with ESMTP id CF5A721F8E0F for <dtn-security@irtf.org>; Tue, 19 Mar 2013 18:11:16 -0700 (PDT)
Received: from [192.168.1.97] (pool-96-241-42-32.washdc.fios.verizon.net [96.241.42.32]) by st11p00mm-asmtp003.mac.com (Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPSA id <0MJX00DB7PYQEH40@st11p00mm-asmtp003.mac.com> for dtn-security@irtf.org; Wed, 20 Mar 2013 01:11:16 +0000 (GMT)
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8626,1.0.431,0.0.0000 definitions=2013-03-19_06:2013-03-19, 2013-03-19, 1970-01-01 signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=6.0.2-1302030000 definitions=main-1303190233
From: Peter Lovell <plovell@mac.com>
To: Amy Alford <aloomis@sarn.org>, dtn-security <dtn-security@irtf.org>
Date: Tue, 19 Mar 2013 21:11:14 -0400
Message-id: <20130320011114.1072992195@smtp.mail.me.com>
In-reply-to: <CAB9rx+85HHsNj=EhmsqhCdtY5k=S4p1Jgzz4VsmEC+43ERygWA@mail.gmail.com>
References: <CAB9rx+85HHsNj=EhmsqhCdtY5k=S4p1Jgzz4VsmEC+43ERygWA@mail.gmail.com>
X-Mailer: CTM PowerMail version 6.1.4 build 4652 English (intel) <http://www.ctmdev.com>
MIME-version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: quoted-printable
Subject: Re: [dtn-security] Including fragment offset in the correlator doesn't prevent all fragment collisions.
X-BeenThere: dtn-security@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "The Delay-Tolerant Networking Research Group \(DTNRG\) - Security." <dtn-security.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/dtn-security>, <mailto:dtn-security-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/dtn-security>
List-Post: <mailto:dtn-security@irtf.org>
List-Help: <mailto:dtn-security-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/dtn-security>, <mailto:dtn-security-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 20 Mar 2013 01:11:47 -0000

Amy Alford <aloomis@sarn.org> wrote:

>A bundle can be fragmented multiple times independently, so a node may
>receive multiple fragments with the same offset and length that have
>traveled different paths (and accumulated different BSP blocks along the
>way).  Collisions in the correlator values once the bundle is reassembled
>are inevitable.
>- Amy

Hi Amy,

my thought is that we have covered the problem of multiple-fragmentation =
and multi-path, but perhaps not.

Can you describe a bundle scenario that exemplifies the issue you see, so =
we can think about it.

Thanks.....Peter


From william.d.ivancic@nasa.gov  Tue Mar 19 18:35:33 2013
Return-Path: <william.d.ivancic@nasa.gov>
X-Original-To: dtn-security@ietfa.amsl.com
Delivered-To: dtn-security@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0CAE621F8D60 for <dtn-security@ietfa.amsl.com>; Tue, 19 Mar 2013 18:35:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[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 l4xlxPL0oCRT for <dtn-security@ietfa.amsl.com>; Tue, 19 Mar 2013 18:35:32 -0700 (PDT)
Received: from ndmsnpf03.ndc.nasa.gov (NDMSNPF03.ndc.nasa.gov [IPv6:2001:4d0:8302:1100::103]) by ietfa.amsl.com (Postfix) with ESMTP id 4CB0E21F8C00 for <dtn-security@irtf.org>; Tue, 19 Mar 2013 18:35:32 -0700 (PDT)
Received: from ndjsppt102.ndc.nasa.gov (NDJSPPT102.ndc.nasa.gov [198.117.1.196]) by ndmsnpf03.ndc.nasa.gov (Postfix) with ESMTP id 9400B2D807A; Tue, 19 Mar 2013 20:35:31 -0500 (CDT)
Received: from ndjshub06.ndc.nasa.gov (ndjshub06.ndc.nasa.gov [198.117.4.165]) by ndjsppt102.ndc.nasa.gov (8.14.5/8.14.5) with ESMTP id r2K1ZViF003050; Tue, 19 Mar 2013 20:35:31 -0500
Received: from NDJSSCC07.ndc.nasa.gov ([198.117.4.178]) by ndjshub06.ndc.nasa.gov ([198.117.4.165]) with mapi; Tue, 19 Mar 2013 20:35:31 -0500
From: "Ivancic, William D. (GRC-RHN0)" <william.d.ivancic@nasa.gov>
To: Peter Lovell <plovell@mac.com>, Amy Alford <aloomis@sarn.org>, dtn-security <dtn-security@irtf.org>
Date: Tue, 19 Mar 2013 20:35:50 -0500
Thread-Topic: [dtn-security] Including fragment offset in the correlator doesn't prevent all fragment collisions.
Thread-Index: Ac4lB+hQiXX8bntfSgmpyjv9MwIADgAA1hbP
Message-ID: <CD6E8AB6.11FDB%william.d.ivancic@nasa.gov>
In-Reply-To: <20130320011114.1072992195@smtp.mail.me.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-Entourage/13.11.0.110726
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8626, 1.0.431, 0.0.0000 definitions=2013-03-19_06:2013-03-19, 2013-03-19, 1970-01-01 signatures=0
Subject: Re: [dtn-security] Including fragment offset in the correlator doesn't prevent all fragment collisions.
X-BeenThere: dtn-security@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "The Delay-Tolerant Networking Research Group \(DTNRG\) - Security." <dtn-security.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/dtn-security>, <mailto:dtn-security-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/dtn-security>
List-Post: <mailto:dtn-security@irtf.org>
List-Help: <mailto:dtn-security-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/dtn-security>, <mailto:dtn-security-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 20 Mar 2013 01:35:33 -0000

Amy,

I do not believe RFC5050 was designed with secure reactive fragmentation in
mind.  RFC5050 is fine for research.  Hopefully we are learning a lot and
will fix what doesn't work very well on a second or third iteration.

-- Will=20


> From: Peter Lovell <plovell@mac.com>
> Date: Tue, 19 Mar 2013 20:11:14 -0500
> To: Amy Alford <aloomis@sarn.org>, dtn-security <dtn-security@irtf.org>
> Subject: Re: [dtn-security] Including fragment offset in the correlator
> doesn't prevent all fragment collisions.
>=20
> Amy Alford <aloomis@sarn.org> wrote:
>=20
>> A bundle can be fragmented multiple times independently, so a node may
>> receive multiple fragments with the same offset and length that have
>> traveled different paths (and accumulated different BSP blocks along the
>> way).  Collisions in the correlator values once the bundle is reassemble=
d
>> are inevitable.
>> - Amy
>=20
> Hi Amy,
>=20
> my thought is that we have covered the problem of multiple-fragmentation =
and
> multi-path, but perhaps not.
>=20
> Can you describe a bundle scenario that exemplifies the issue you see, so=
 we
> can think about it.
>=20
> Thanks.....Peter
>=20
> _______________________________________________
> dtn-security mailing list
> dtn-security@irtf.org
> https://www.irtf.org/mailman/listinfo/dtn-security


From stephen.farrell@cs.tcd.ie  Wed Mar 20 02:00:11 2013
Return-Path: <stephen.farrell@cs.tcd.ie>
X-Original-To: dtn-security@ietfa.amsl.com
Delivered-To: dtn-security@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4995721F8A64 for <dtn-security@ietfa.amsl.com>; Wed, 20 Mar 2013 02:00:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.6
X-Spam-Level: 
X-Spam-Status: No, score=-102.6 tagged_above=-999 required=5 tests=[AWL=-0.000, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
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 EHWkLxpGJvsg for <dtn-security@ietfa.amsl.com>; Wed, 20 Mar 2013 02:00:10 -0700 (PDT)
Received: from mercury.scss.tcd.ie (mercury.scss.tcd.ie [134.226.56.6]) by ietfa.amsl.com (Postfix) with ESMTP id D5D0821F89FB for <dtn-security@irtf.org>; Wed, 20 Mar 2013 02:00:09 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mercury.scss.tcd.ie (Postfix) with ESMTP id D3863BE5F; Wed, 20 Mar 2013 08:59:43 +0000 (GMT)
X-Virus-Scanned: Debian amavisd-new at scss.tcd.ie
Received: from mercury.scss.tcd.ie ([127.0.0.1]) by localhost (mercury.scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5ngjSGlyYghw; Wed, 20 Mar 2013 08:59:41 +0000 (GMT)
Received: from [10.87.48.10] (unknown [86.45.51.139]) by mercury.scss.tcd.ie (Postfix) with ESMTPSA id 72252BE4C; Wed, 20 Mar 2013 08:59:41 +0000 (GMT)
Message-ID: <51497A7D.2040707@cs.tcd.ie>
Date: Wed, 20 Mar 2013 08:59:41 +0000
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130308 Thunderbird/17.0.4
MIME-Version: 1.0
To: "Ivancic, William D. (GRC-RHN0)" <william.d.ivancic@nasa.gov>
References: <CD6E8AB6.11FDB%william.d.ivancic@nasa.gov>
In-Reply-To: <CD6E8AB6.11FDB%william.d.ivancic@nasa.gov>
X-Enigmail-Version: 1.5.1
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: dtn-security <dtn-security@irtf.org>
Subject: Re: [dtn-security] Including fragment offset in the correlator doesn't prevent all fragment collisions.
X-BeenThere: dtn-security@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "The Delay-Tolerant Networking Research Group \(DTNRG\) - Security." <dtn-security.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/dtn-security>, <mailto:dtn-security-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/dtn-security>
List-Post: <mailto:dtn-security@irtf.org>
List-Help: <mailto:dtn-security-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/dtn-security>, <mailto:dtn-security-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 20 Mar 2013 09:00:11 -0000

On 03/20/2013 01:35 AM, Ivancic, William D. (GRC-RHN0) wrote:
> Amy,
> 
> I do not believe RFC5050 was designed with secure reactive fragmentation in
> mind.  

I don't believe anything has ever been designed with secure reactive
fragmentation in mind;-) But I may be forgetting - if there has been
something like that done then it'd be good to look at.

> RFC5050 is fine for research.  Hopefully we are learning a lot and
> will fix what doesn't work very well on a second or third iteration.

Tend to agree, at least in this respect but I'd put it differently.
I think 5050 is mostly fine, but not wrt security which was added
after the fact in what was required to be a pretty ugly manner.

I do recall the fragmentation issue being discussed when DTNRG met
in Dublin some years ago, if someone found the notes from that those
might be useful. (I've not following the details of this conversation
sorry.)

S.

> 
> -- Will 
> 
> 
>> From: Peter Lovell <plovell@mac.com>
>> Date: Tue, 19 Mar 2013 20:11:14 -0500
>> To: Amy Alford <aloomis@sarn.org>, dtn-security <dtn-security@irtf.org>
>> Subject: Re: [dtn-security] Including fragment offset in the correlator
>> doesn't prevent all fragment collisions.
>>
>> Amy Alford <aloomis@sarn.org> wrote:
>>
>>> A bundle can be fragmented multiple times independently, so a node may
>>> receive multiple fragments with the same offset and length that have
>>> traveled different paths (and accumulated different BSP blocks along the
>>> way).  Collisions in the correlator values once the bundle is reassembled
>>> are inevitable.
>>> - Amy
>>
>> Hi Amy,
>>
>> my thought is that we have covered the problem of multiple-fragmentation and
>> multi-path, but perhaps not.
>>
>> Can you describe a bundle scenario that exemplifies the issue you see, so we
>> can think about it.
>>
>> Thanks.....Peter
>>
>> _______________________________________________
>> dtn-security mailing list
>> dtn-security@irtf.org
>> https://www.irtf.org/mailman/listinfo/dtn-security
> 
> _______________________________________________
> dtn-security mailing list
> dtn-security@irtf.org
> https://www.irtf.org/mailman/listinfo/dtn-security
> 
> 

From aloomis@sarn.org  Wed Mar 20 16:36:34 2013
Return-Path: <aloomis@sarn.org>
X-Original-To: dtn-security@ietfa.amsl.com
Delivered-To: dtn-security@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 965B121F8DE3 for <dtn-security@ietfa.amsl.com>; Wed, 20 Mar 2013 16:36:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.976
X-Spam-Level: 
X-Spam-Status: No, score=-2.976 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 jfBASZtihWDX for <dtn-security@ietfa.amsl.com>; Wed, 20 Mar 2013 16:36:34 -0700 (PDT)
Received: from mail-qa0-f52.google.com (mail-qa0-f52.google.com [209.85.216.52]) by ietfa.amsl.com (Postfix) with ESMTP id 73E9621F8DDF for <dtn-security@irtf.org>; Wed, 20 Mar 2013 16:36:33 -0700 (PDT)
Received: by mail-qa0-f52.google.com with SMTP id bs12so1376535qab.18 for <dtn-security@irtf.org>; Wed, 20 Mar 2013 16:36:32 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:x-gm-message-state; bh=+kBceYbf1ZLjYVFGIGAZfXXebv3+GcM4xa5AKp/AxSg=; b=ZTMEpMRlBX/9cp7lvwnuS8zLk9z9M1YinpTQhN0WUlJmUc9S0ELVOECRLkwylVn6Z1 oYW99vZjC3xHwXlYMSwtlmZjMzNSxfInyk8bpzMxVOAJHGeBXDvmH0Rvi0qhTlpfsdPG dQN4giRK9UorW3Dv4hqZFvhnYCzaAXCxsMAYM0f+n168CKgD0cKQUsPxQPA3U80MutHD /FVKuneQwPhNuHUsVD2HenE2fdptzX6/TjxoHnRAOnWRWzoP6Vpo0rBLO0GPUK+K0A0I YXTAs5qF3F0TFY6/+rSXU/ha6Ry5F3YygLCBj9lGKJbVsGRPEpq1Hl6kvZ25lfrklZ8y sadw==
MIME-Version: 1.0
X-Received: by 10.229.111.148 with SMTP id s20mr2201437qcp.28.1363822592684; Wed, 20 Mar 2013 16:36:32 -0700 (PDT)
Received: by 10.49.81.199 with HTTP; Wed, 20 Mar 2013 16:36:32 -0700 (PDT)
In-Reply-To: <20130320011114.1072992195@smtp.mail.me.com>
References: <CAB9rx+85HHsNj=EhmsqhCdtY5k=S4p1Jgzz4VsmEC+43ERygWA@mail.gmail.com> <20130320011114.1072992195@smtp.mail.me.com>
Date: Wed, 20 Mar 2013 19:36:32 -0400
Message-ID: <CAB9rx+_G87R-ZtwBx14jX8YkmX__zjhhVXn8XesZztMaY0vZXg@mail.gmail.com>
From: Amy Alford <aloomis@sarn.org>
To: Peter Lovell <plovell@mac.com>
Content-Type: multipart/alternative; boundary=002354471a502cb17404d863b110
X-Gm-Message-State: ALoCoQnXTCYRIODvwKpubiufVsyNsvjWK+eJDFxDqw/+pDoP2pThGVKSXPV4BZwIPfLbYaY5HKsH
Cc: dtn-security <dtn-security@irtf.org>
Subject: Re: [dtn-security] Including fragment offset in the correlator doesn't prevent all fragment collisions.
X-BeenThere: dtn-security@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "The Delay-Tolerant Networking Research Group \(DTNRG\) - Security." <dtn-security.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/dtn-security>, <mailto:dtn-security-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/dtn-security>
List-Post: <mailto:dtn-security@irtf.org>
List-Help: <mailto:dtn-security-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/dtn-security>, <mailto:dtn-security-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 20 Mar 2013 23:36:34 -0000

--002354471a502cb17404d863b110
Content-Type: text/plain; charset=ISO-8859-1

A 100 byte bundle is created.  Different nodes independently fragment it
into 50 byte fragments.  A subsequent node adds PIB and PCB (so we have
correlated PCB blocks) to each fragment with a security destination of the
bundle destination.   The correlators can collide. (In DTN2, they will
collide.)

If the fragments are reassembled before the destination, the destination
has no way to distinguish the PCB blocks that should correlate with each
other.

Alternatively, if we assume reassembly only happens at the destination
(which 5050 doesn't guarantee), we still have a problem if we use a two
block PIB ciphersuite where one block comes before the payload and one
comes after.

A node creates a 100 byte bundle.  It's independently fragmented into 50
byte bundles.  A subsequent node adds a PIB ciphersuite with a correlated
block trailing the payload.  Again, the correlators collide.  Now, each 50
byte fragment is fragmented again.  So, we have fragments:

(I'm numbering the PIB instances so that we can distinguish them in the
discussion.  The numbers don't correspond to anything identifiable in the
blocks themselves.)

PIB 1 with correlator x -> 0-25
25-50 -> PIB 1 with correlator x
PIB 2 with correlator y -> 50-75
75-100 -> PIB 2 with correlator y

PIB 3 with correlator x -> 0-25
25-50 -> PIB 3 with correlator x
PIB 4 with correlator y -> 50-75
75-100 -> PIB 4 with correlator y

The receiving node has no way to realize that that pre-payload PIB 1 with
correlator x doesn't match up to the post-payload PIB 3 with correlator x.

- Amy

On Tue, Mar 19, 2013 at 9:11 PM, Peter Lovell <plovell@mac.com> wrote:

> Amy Alford <aloomis@sarn.org> wrote:
>
> >A bundle can be fragmented multiple times independently, so a node may
> >receive multiple fragments with the same offset and length that have
> >traveled different paths (and accumulated different BSP blocks along the
> >way).  Collisions in the correlator values once the bundle is reassembled
> >are inevitable.
> >- Amy
>
> Hi Amy,
>
> my thought is that we have covered the problem of multiple-fragmentation
> and multi-path, but perhaps not.
>
> Can you describe a bundle scenario that exemplifies the issue you see, so
> we can think about it.
>
> Thanks.....Peter
>
>

--002354471a502cb17404d863b110
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div>A 100 byte bundle is created. =A0Different nodes independently fragmen=
t it into 50 byte fragments. =A0A subsequent node adds PIB and PCB (so we h=
ave correlated PCB blocks) to each fragment with a security destination of =
the bundle destination. =A0 The correlators can collide. (In DTN2, they wil=
l collide.) =A0 =A0=A0</div>
<div><br></div><div>If the fragments are reassembled before the destination=
, the destination has no way to distinguish the PCB blocks that should corr=
elate with each other.</div><div><br></div><div>Alternatively, if we assume=
 reassembly only happens at the destination (which 5050 doesn&#39;t guarant=
ee), we still have a problem if we use a two block PIB ciphersuite where on=
e block comes before the payload and one comes after. =A0</div>
<div><br></div><div>A node creates a 100 byte bundle. =A0It&#39;s independe=
ntly fragmented into 50 byte bundles. =A0A subsequent node adds a PIB ciphe=
rsuite with a correlated block trailing the payload. =A0Again, the correlat=
ors collide. =A0Now, each 50 byte fragment is fragmented again. =A0So, we h=
ave fragments:</div>
<div><br></div><div>(I&#39;m numbering the PIB instances so that we can dis=
tinguish them in the discussion. =A0The numbers don&#39;t correspond to any=
thing identifiable in the blocks themselves.)</div><div><br></div><div>PIB =
1 with correlator x -&gt; 0-25</div>
<div>25-50 -&gt; PIB 1 with correlator x</div><div>PIB 2 with correlator y =
-&gt; 50-75</div><div>75-100 -&gt; PIB 2 with correlator y</div><div><br></=
div><div>PIB 3 with correlator x -&gt; 0-25</div><div>25-50 -&gt; PIB 3 wit=
h correlator x</div>
<div>PIB 4 with correlator y -&gt; 50-75</div><div>75-100 -&gt; PIB 4 with =
correlator y</div><div><br></div><div>The receiving node has no way to real=
ize that that pre-payload PIB 1 with correlator x doesn&#39;t match up to t=
he post-payload PIB 3 with correlator x.</div>
<div><br></div><div>- Amy</div><br><div class=3D"gmail_quote">On Tue, Mar 1=
9, 2013 at 9:11 PM, Peter Lovell <span dir=3D"ltr">&lt;<a href=3D"mailto:pl=
ovell@mac.com" target=3D"_blank">plovell@mac.com</a>&gt;</span> wrote:<br><=
blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px=
 #ccc solid;padding-left:1ex">
<div class=3D"HOEnZb"><div class=3D"h5">Amy Alford &lt;<a href=3D"mailto:al=
oomis@sarn.org">aloomis@sarn.org</a>&gt; wrote:<br>
<br>
&gt;A bundle can be fragmented multiple times independently, so a node may<=
br>
&gt;receive multiple fragments with the same offset and length that have<br=
>
&gt;traveled different paths (and accumulated different BSP blocks along th=
e<br>
&gt;way). =A0Collisions in the correlator values once the bundle is reassem=
bled<br>
&gt;are inevitable.<br>
&gt;- Amy<br>
<br>
</div></div>Hi Amy,<br>
<br>
my thought is that we have covered the problem of multiple-fragmentation an=
d multi-path, but perhaps not.<br>
<br>
Can you describe a bundle scenario that exemplifies the issue you see, so w=
e can think about it.<br>
<br>
Thanks.....Peter<br>
<br>
</blockquote></div><br>

--002354471a502cb17404d863b110--

From elwynd@folly.org.uk  Wed Mar 20 18:00:07 2013
Return-Path: <elwynd@folly.org.uk>
X-Original-To: dtn-security@ietfa.amsl.com
Delivered-To: dtn-security@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7976611E8117 for <dtn-security@ietfa.amsl.com>; Wed, 20 Mar 2013 18:00:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[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 fJ3TnGnHJOtA for <dtn-security@ietfa.amsl.com>; Wed, 20 Mar 2013 18:00:06 -0700 (PDT)
Received: from a.painless.aa.net.uk (a.painless.aa.net.uk [IPv6:2001:8b0:0:30::51bb:1e33]) by ietfa.amsl.com (Postfix) with ESMTP id 8888E11E810D for <dtn-security@irtf.org>; Wed, 20 Mar 2013 18:00:06 -0700 (PDT)
Received: from mightyatom.folly.org.uk ([81.187.254.250]) by a.painless.aa.net.uk with esmtp (Exim 4.77) (envelope-from <elwynd@folly.org.uk>) id 1UITrQ-0002ji-Rb; Thu, 21 Mar 2013 01:00:04 +0000
From: Elwyn Davies <elwynd@folly.org.uk>
To: Amy Alford <aloomis@sarn.org>
In-Reply-To: <CAB9rx+_G87R-ZtwBx14jX8YkmX__zjhhVXn8XesZztMaY0vZXg@mail.gmail.com>
References: <CAB9rx+85HHsNj=EhmsqhCdtY5k=S4p1Jgzz4VsmEC+43ERygWA@mail.gmail.com> <20130320011114.1072992195@smtp.mail.me.com> <CAB9rx+_G87R-ZtwBx14jX8YkmX__zjhhVXn8XesZztMaY0vZXg@mail.gmail.com>
Content-Type: text/plain
Organization: Folly Consulting
Date: Thu, 21 Mar 2013 00:56:59 +0000
Message-Id: <1363827420.23866.3526.camel@mightyatom>
Mime-Version: 1.0
X-Mailer: Evolution 2.26.3 
Content-Transfer-Encoding: 7bit
Cc: dtn-security <dtn-security@irtf.org>
Subject: Re: [dtn-security] Including fragment offset in the correlator doesn't prevent all fragment collisions.
X-BeenThere: dtn-security@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "The Delay-Tolerant Networking Research Group \(DTNRG\) - Security." <dtn-security.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/dtn-security>, <mailto:dtn-security-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/dtn-security>
List-Post: <mailto:dtn-security@irtf.org>
List-Help: <mailto:dtn-security-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/dtn-security>, <mailto:dtn-security-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Mar 2013 01:00:07 -0000

Hi, Amy.

I grok the problem properly now (I hope).

Does pushing a metadata block into the bundle with the EID (or if too
long) a short nonce or abbreviated digest of some part of the bundle
(e.g. some part of the PIB) into all the fragments at the node where it
is fragmented help?

Not a very satisfactory solution but it would help tie the two parts of
the PIB together.

/Elwyn


On Wed, 2013-03-20 at 19:36 -0400, Amy Alford wrote:
> A 100 byte bundle is created.  Different nodes independently fragment
> it into 50 byte fragments.  A subsequent node adds PIB and PCB (so we
> have correlated PCB blocks) to each fragment with a security
> destination of the bundle destination.   The correlators can collide.
> (In DTN2, they will collide.)     
> 
> 
> If the fragments are reassembled before the destination, the
> destination has no way to distinguish the PCB blocks that should
> correlate with each other.
> 
> 
> Alternatively, if we assume reassembly only happens at the destination
> (which 5050 doesn't guarantee), we still have a problem if we use a
> two block PIB ciphersuite where one block comes before the payload and
> one comes after.  
> 
> 
> A node creates a 100 byte bundle.  It's independently fragmented into
> 50 byte bundles.  A subsequent node adds a PIB ciphersuite with a
> correlated block trailing the payload.  Again, the correlators
> collide.  Now, each 50 byte fragment is fragmented again.  So, we have
> fragments:
> 
> 
> (I'm numbering the PIB instances so that we can distinguish them in
> the discussion.  The numbers don't correspond to anything identifiable
> in the blocks themselves.)
> 
> 
> PIB 1 with correlator x -> 0-25
> 25-50 -> PIB 1 with correlator x
> PIB 2 with correlator y -> 50-75
> 75-100 -> PIB 2 with correlator y
> 
> 
> PIB 3 with correlator x -> 0-25
> 25-50 -> PIB 3 with correlator x
> PIB 4 with correlator y -> 50-75
> 75-100 -> PIB 4 with correlator y
> 
> 
> The receiving node has no way to realize that that pre-payload PIB 1
> with correlator x doesn't match up to the post-payload PIB 3 with
> correlator x.
> 
> 
> - Amy
> 
> On Tue, Mar 19, 2013 at 9:11 PM, Peter Lovell <plovell@mac.com> wrote:
>         Amy Alford <aloomis@sarn.org> wrote:
>         
>         >A bundle can be fragmented multiple times independently, so a
>         node may
>         >receive multiple fragments with the same offset and length
>         that have
>         >traveled different paths (and accumulated different BSP
>         blocks along the
>         >way).  Collisions in the correlator values once the bundle is
>         reassembled
>         >are inevitable.
>         >- Amy
>         
>         
>         Hi Amy,
>         
>         my thought is that we have covered the problem of
>         multiple-fragmentation and multi-path, but perhaps not.
>         
>         Can you describe a bundle scenario that exemplifies the issue
>         you see, so we can think about it.
>         
>         Thanks.....Peter
>         
> 
> _______________________________________________
> dtn-security mailing list
> dtn-security@irtf.org
> https://www.irtf.org/mailman/listinfo/dtn-security


From aloomis@sarn.org  Wed Mar 20 18:12:14 2013
Return-Path: <aloomis@sarn.org>
X-Original-To: dtn-security@ietfa.amsl.com
Delivered-To: dtn-security@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5FB2211E8117 for <dtn-security@ietfa.amsl.com>; Wed, 20 Mar 2013 18:12:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.976
X-Spam-Level: 
X-Spam-Status: No, score=-2.976 tagged_above=-999 required=5 tests=[AWL=-0.000, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 9oj-lsMLDCPu for <dtn-security@ietfa.amsl.com>; Wed, 20 Mar 2013 18:12:10 -0700 (PDT)
Received: from mail-qe0-f41.google.com (mail-qe0-f41.google.com [209.85.128.41]) by ietfa.amsl.com (Postfix) with ESMTP id C20FF11E80FD for <dtn-security@irtf.org>; Wed, 20 Mar 2013 18:11:52 -0700 (PDT)
Received: by mail-qe0-f41.google.com with SMTP id 7so1533999qeb.0 for <dtn-security@irtf.org>; Wed, 20 Mar 2013 18:11:51 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:x-gm-message-state; bh=kBzZCKvA4GWkvDjuhNAPp1CCFFmfn1RD/7jFMiIXulI=; b=Qu8YS9LoM6mF5EddMAU3tDNcUB4xeJuJfEnEQN/eeIFwo/J+rXXXR8+jqn2y2Ljyuq YgBzulFiijb4Q+3fiX2lSGqIU8hKKAP3KL9tO7CsSfwalu65UjVdH83ecmknbTguYcDT V51hQmYEepQzlMapcDLkitjsqnQ0Fw0DR3SNmhm/1IV+hdl1JGOmQg5FXC1xj0ChGVsh ti2VBJ4EdZy1XkF14sDrHF4wgVj5aOdzbB9eGz8jdsU4rH58VQUerPH2Rxk8JMtVJx4x cJeluFBMSg54JlQ1V6VCFUJBZZbXL/vUpvcPA2f8lL65BzTqXZEd/UIsa72BwppFdt53 nknQ==
MIME-Version: 1.0
X-Received: by 10.224.188.13 with SMTP id cy13mr7977074qab.53.1363828311620; Wed, 20 Mar 2013 18:11:51 -0700 (PDT)
Received: by 10.49.81.199 with HTTP; Wed, 20 Mar 2013 18:11:51 -0700 (PDT)
In-Reply-To: <1363827420.23866.3526.camel@mightyatom>
References: <CAB9rx+85HHsNj=EhmsqhCdtY5k=S4p1Jgzz4VsmEC+43ERygWA@mail.gmail.com> <20130320011114.1072992195@smtp.mail.me.com> <CAB9rx+_G87R-ZtwBx14jX8YkmX__zjhhVXn8XesZztMaY0vZXg@mail.gmail.com> <1363827420.23866.3526.camel@mightyatom>
Date: Wed, 20 Mar 2013 21:11:51 -0400
Message-ID: <CAB9rx+8KVadQvmPMvtc_C=UszF=5PkKBq=-p=BgTy=nxFSaQdQ@mail.gmail.com>
From: Amy Alford <aloomis@sarn.org>
To: Elwyn Davies <elwynd@folly.org.uk>
Content-Type: multipart/alternative; boundary=485b397dd3b50cb2a704d8650623
X-Gm-Message-State: ALoCoQm+XFyk/yk1TTXuut3iYmqj6hI1B7ziBiBSFW9qRrTb0KSnxOtoHS9A5f2KHykb/YuBk9oz
Cc: dtn-security <dtn-security@irtf.org>
Subject: Re: [dtn-security] Including fragment offset in the correlator doesn't prevent all fragment collisions.
X-BeenThere: dtn-security@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "The Delay-Tolerant Networking Research Group \(DTNRG\) - Security." <dtn-security.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/dtn-security>, <mailto:dtn-security-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/dtn-security>
List-Post: <mailto:dtn-security@irtf.org>
List-Help: <mailto:dtn-security-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/dtn-security>, <mailto:dtn-security-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Mar 2013 01:12:14 -0000

--485b397dd3b50cb2a704d8650623
Content-Type: text/plain; charset=ISO-8859-1

A metadata block that tied the fragments together (and was unique to that
fragmentation event: perhaps EID and time) would help, as long as
reassembly is handled by the destination (so that it can take advantage of
this info).

- Amy

On Wed, Mar 20, 2013 at 8:56 PM, Elwyn Davies <elwynd@folly.org.uk> wrote:

> Hi, Amy.
>
> I grok the problem properly now (I hope).
>
> Does pushing a metadata block into the bundle with the EID (or if too
> long) a short nonce or abbreviated digest of some part of the bundle
> (e.g. some part of the PIB) into all the fragments at the node where it
> is fragmented help?
>
> Not a very satisfactory solution but it would help tie the two parts of
> the PIB together.
>
> /Elwyn
>
>
> On Wed, 2013-03-20 at 19:36 -0400, Amy Alford wrote:
> > A 100 byte bundle is created.  Different nodes independently fragment
> > it into 50 byte fragments.  A subsequent node adds PIB and PCB (so we
> > have correlated PCB blocks) to each fragment with a security
> > destination of the bundle destination.   The correlators can collide.
> > (In DTN2, they will collide.)
> >
> >
> > If the fragments are reassembled before the destination, the
> > destination has no way to distinguish the PCB blocks that should
> > correlate with each other.
> >
> >
> > Alternatively, if we assume reassembly only happens at the destination
> > (which 5050 doesn't guarantee), we still have a problem if we use a
> > two block PIB ciphersuite where one block comes before the payload and
> > one comes after.
> >
> >
> > A node creates a 100 byte bundle.  It's independently fragmented into
> > 50 byte bundles.  A subsequent node adds a PIB ciphersuite with a
> > correlated block trailing the payload.  Again, the correlators
> > collide.  Now, each 50 byte fragment is fragmented again.  So, we have
> > fragments:
> >
> >
> > (I'm numbering the PIB instances so that we can distinguish them in
> > the discussion.  The numbers don't correspond to anything identifiable
> > in the blocks themselves.)
> >
> >
> > PIB 1 with correlator x -> 0-25
> > 25-50 -> PIB 1 with correlator x
> > PIB 2 with correlator y -> 50-75
> > 75-100 -> PIB 2 with correlator y
> >
> >
> > PIB 3 with correlator x -> 0-25
> > 25-50 -> PIB 3 with correlator x
> > PIB 4 with correlator y -> 50-75
> > 75-100 -> PIB 4 with correlator y
> >
> >
> > The receiving node has no way to realize that that pre-payload PIB 1
> > with correlator x doesn't match up to the post-payload PIB 3 with
> > correlator x.
> >
> >
> > - Amy
> >
> > On Tue, Mar 19, 2013 at 9:11 PM, Peter Lovell <plovell@mac.com> wrote:
> >         Amy Alford <aloomis@sarn.org> wrote:
> >
> >         >A bundle can be fragmented multiple times independently, so a
> >         node may
> >         >receive multiple fragments with the same offset and length
> >         that have
> >         >traveled different paths (and accumulated different BSP
> >         blocks along the
> >         >way).  Collisions in the correlator values once the bundle is
> >         reassembled
> >         >are inevitable.
> >         >- Amy
> >
> >
> >         Hi Amy,
> >
> >         my thought is that we have covered the problem of
> >         multiple-fragmentation and multi-path, but perhaps not.
> >
> >         Can you describe a bundle scenario that exemplifies the issue
> >         you see, so we can think about it.
> >
> >         Thanks.....Peter
> >
> >
> > _______________________________________________
> > dtn-security mailing list
> > dtn-security@irtf.org
> > https://www.irtf.org/mailman/listinfo/dtn-security
>
>

--485b397dd3b50cb2a704d8650623
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

A metadata block that tied the fragments together (and was unique to that f=
ragmentation event: perhaps EID and time) would help, as long as reassembly=
 is handled by the destination (so that it can take advantage of this info)=
.=A0<div>
<br></div><div>- Amy</div><div><br><div class=3D"gmail_quote">On Wed, Mar 2=
0, 2013 at 8:56 PM, Elwyn Davies <span dir=3D"ltr">&lt;<a href=3D"mailto:el=
wynd@folly.org.uk" target=3D"_blank">elwynd@folly.org.uk</a>&gt;</span> wro=
te:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">Hi, Amy.<br>
<br>
I grok the problem properly now (I hope).<br>
<br>
Does pushing a metadata block into the bundle with the EID (or if too<br>
long) a short nonce or abbreviated digest of some part of the bundle<br>
(e.g. some part of the PIB) into all the fragments at the node where it<br>
is fragmented help?<br>
<br>
Not a very satisfactory solution but it would help tie the two parts of<br>
the PIB together.<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
/Elwyn<br>
</font></span><div class=3D"HOEnZb"><div class=3D"h5"><br>
<br>
On Wed, 2013-03-20 at 19:36 -0400, Amy Alford wrote:<br>
&gt; A 100 byte bundle is created. =A0Different nodes independently fragmen=
t<br>
&gt; it into 50 byte fragments. =A0A subsequent node adds PIB and PCB (so w=
e<br>
&gt; have correlated PCB blocks) to each fragment with a security<br>
&gt; destination of the bundle destination. =A0 The correlators can collide=
.<br>
&gt; (In DTN2, they will collide.)<br>
&gt;<br>
&gt;<br>
&gt; If the fragments are reassembled before the destination, the<br>
&gt; destination has no way to distinguish the PCB blocks that should<br>
&gt; correlate with each other.<br>
&gt;<br>
&gt;<br>
&gt; Alternatively, if we assume reassembly only happens at the destination=
<br>
&gt; (which 5050 doesn&#39;t guarantee), we still have a problem if we use =
a<br>
&gt; two block PIB ciphersuite where one block comes before the payload and=
<br>
&gt; one comes after.<br>
&gt;<br>
&gt;<br>
&gt; A node creates a 100 byte bundle. =A0It&#39;s independently fragmented=
 into<br>
&gt; 50 byte bundles. =A0A subsequent node adds a PIB ciphersuite with a<br=
>
&gt; correlated block trailing the payload. =A0Again, the correlators<br>
&gt; collide. =A0Now, each 50 byte fragment is fragmented again. =A0So, we =
have<br>
&gt; fragments:<br>
&gt;<br>
&gt;<br>
&gt; (I&#39;m numbering the PIB instances so that we can distinguish them i=
n<br>
&gt; the discussion. =A0The numbers don&#39;t correspond to anything identi=
fiable<br>
&gt; in the blocks themselves.)<br>
&gt;<br>
&gt;<br>
&gt; PIB 1 with correlator x -&gt; 0-25<br>
&gt; 25-50 -&gt; PIB 1 with correlator x<br>
&gt; PIB 2 with correlator y -&gt; 50-75<br>
&gt; 75-100 -&gt; PIB 2 with correlator y<br>
&gt;<br>
&gt;<br>
&gt; PIB 3 with correlator x -&gt; 0-25<br>
&gt; 25-50 -&gt; PIB 3 with correlator x<br>
&gt; PIB 4 with correlator y -&gt; 50-75<br>
&gt; 75-100 -&gt; PIB 4 with correlator y<br>
&gt;<br>
&gt;<br>
&gt; The receiving node has no way to realize that that pre-payload PIB 1<b=
r>
&gt; with correlator x doesn&#39;t match up to the post-payload PIB 3 with<=
br>
&gt; correlator x.<br>
&gt;<br>
&gt;<br>
&gt; - Amy<br>
&gt;<br>
&gt; On Tue, Mar 19, 2013 at 9:11 PM, Peter Lovell &lt;<a href=3D"mailto:pl=
ovell@mac.com">plovell@mac.com</a>&gt; wrote:<br>
&gt; =A0 =A0 =A0 =A0 Amy Alford &lt;<a href=3D"mailto:aloomis@sarn.org">alo=
omis@sarn.org</a>&gt; wrote:<br>
&gt;<br>
&gt; =A0 =A0 =A0 =A0 &gt;A bundle can be fragmented multiple times independ=
ently, so a<br>
&gt; =A0 =A0 =A0 =A0 node may<br>
&gt; =A0 =A0 =A0 =A0 &gt;receive multiple fragments with the same offset an=
d length<br>
&gt; =A0 =A0 =A0 =A0 that have<br>
&gt; =A0 =A0 =A0 =A0 &gt;traveled different paths (and accumulated differen=
t BSP<br>
&gt; =A0 =A0 =A0 =A0 blocks along the<br>
&gt; =A0 =A0 =A0 =A0 &gt;way). =A0Collisions in the correlator values once =
the bundle is<br>
&gt; =A0 =A0 =A0 =A0 reassembled<br>
&gt; =A0 =A0 =A0 =A0 &gt;are inevitable.<br>
&gt; =A0 =A0 =A0 =A0 &gt;- Amy<br>
&gt;<br>
&gt;<br>
&gt; =A0 =A0 =A0 =A0 Hi Amy,<br>
&gt;<br>
&gt; =A0 =A0 =A0 =A0 my thought is that we have covered the problem of<br>
&gt; =A0 =A0 =A0 =A0 multiple-fragmentation and multi-path, but perhaps not=
.<br>
&gt;<br>
&gt; =A0 =A0 =A0 =A0 Can you describe a bundle scenario that exemplifies th=
e issue<br>
&gt; =A0 =A0 =A0 =A0 you see, so we can think about it.<br>
&gt;<br>
&gt; =A0 =A0 =A0 =A0 Thanks.....Peter<br>
&gt;<br>
&gt;<br>
</div></div><div class=3D"HOEnZb"><div class=3D"h5">&gt; __________________=
_____________________________<br>
&gt; dtn-security mailing list<br>
&gt; <a href=3D"mailto:dtn-security@irtf.org">dtn-security@irtf.org</a><br>
&gt; <a href=3D"https://www.irtf.org/mailman/listinfo/dtn-security" target=
=3D"_blank">https://www.irtf.org/mailman/listinfo/dtn-security</a><br>
<br>
</div></div></blockquote></div><br></div>

--485b397dd3b50cb2a704d8650623--

From william.d.ivancic@nasa.gov  Wed Mar 20 21:19:35 2013
Return-Path: <william.d.ivancic@nasa.gov>
X-Original-To: dtn-security@ietfa.amsl.com
Delivered-To: dtn-security@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3CB4711E80EE for <dtn-security@ietfa.amsl.com>; Wed, 20 Mar 2013 21:19:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[AWL=-0.001, BAYES_00=-2.599, HTML_MESSAGE=0.001]
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 iA+MFDFvZ20P for <dtn-security@ietfa.amsl.com>; Wed, 20 Mar 2013 21:19:33 -0700 (PDT)
Received: from ndjsnpf03.ndc.nasa.gov (NDJSNPF03.ndc.nasa.gov [IPv6:2001:4d0:a302:1100::103]) by ietfa.amsl.com (Postfix) with ESMTP id 4E02B11E80BA for <dtn-security@irtf.org>; Wed, 20 Mar 2013 21:19:29 -0700 (PDT)
Received: from ndjsppt103.ndc.nasa.gov (NDJSPPT103.ndc.nasa.gov [198.117.1.197]) by ndjsnpf03.ndc.nasa.gov (Postfix) with ESMTP id 07C6A2D8205; Wed, 20 Mar 2013 23:19:29 -0500 (CDT)
Received: from ndjshub04.ndc.nasa.gov (ndjshub04-pub.ndc.nasa.gov [198.117.1.34]) by ndjsppt103.ndc.nasa.gov (8.14.5/8.14.5) with ESMTP id r2L4JSpi017238; Wed, 20 Mar 2013 23:19:28 -0500
Received: from NDJSSCC07.ndc.nasa.gov ([198.117.4.178]) by ndjshub04.ndc.nasa.gov ([10.202.202.163]) with mapi; Wed, 20 Mar 2013 23:19:28 -0500
From: "Ivancic, William D. (GRC-RHN0)" <william.d.ivancic@nasa.gov>
To: Amy Alford <aloomis@sarn.org>, Peter Lovell <plovell@mac.com>
Date: Wed, 20 Mar 2013 23:19:58 -0500
Thread-Topic: [dtn-security] Including fragment offset in the correlator doesn't prevent all fragment collisions.
Thread-Index: Ac4lw8UUioJBUzfWRem5xtXjA/y+qQAJ5Pdk
Message-ID: <CD7002AE.120A7%william.d.ivancic@nasa.gov>
In-Reply-To: <CAB9rx+_G87R-ZtwBx14jX8YkmX__zjhhVXn8XesZztMaY0vZXg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-Entourage/13.11.0.110726
acceptlanguage: en-US
Content-Type: multipart/alternative; boundary="_000_CD7002AE120A7williamdivancicnasagov_"
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8626, 1.0.431, 0.0.0000 definitions=2013-03-20_12:2013-03-20, 2013-03-20, 1970-01-01 signatures=0
Cc: dtn-security <dtn-security@irtf.org>
Subject: Re: [dtn-security] Including fragment offset in the correlator doesn't prevent all fragment collisions.
X-BeenThere: dtn-security@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "The Delay-Tolerant Networking Research Group \(DTNRG\) - Security." <dtn-security.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/dtn-security>, <mailto:dtn-security-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/dtn-security>
List-Post: <mailto:dtn-security@irtf.org>
List-Help: <mailto:dtn-security-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/dtn-security>, <mailto:dtn-security-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Mar 2013 04:19:35 -0000

--_000_CD7002AE120A7williamdivancicnasagov_
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

A 5 GB bundle come forms Mr. Bad.  You don=92t want to store anything from =
Mr. Bad, but you cannot confirm the source  using PIB until you receive the=
 entire bundle thus eating up 5 GB of resources.

It is broken.

-- Will


________________________________
From: Amy Alford <aloomis@sarn.org>
Date: Wed, 20 Mar 2013 18:36:32 -0500
To: Peter Lovell <plovell@mac.com>
Cc: dtn-security <dtn-security@irtf.org>
Subject: Re: [dtn-security] Including fragment offset in the correlator doe=
sn't prevent all fragment collisions.

A 100 byte bundle is created.  Different nodes independently fragment it in=
to 50 byte fragments.  A subsequent node adds PIB and PCB (so we have corre=
lated PCB blocks) to each fragment with a security destination of the bundl=
e destination.   The correlators can collide. (In DTN2, they will collide.)

If the fragments are reassembled before the destination, the destination ha=
s no way to distinguish the PCB blocks that should correlate with each othe=
r.

Alternatively, if we assume reassembly only happens at the destination (whi=
ch 5050 doesn't guarantee), we still have a problem if we use a two block P=
IB ciphersuite where one block comes before the payload and one comes after=
.

A node creates a 100 byte bundle.  It's independently fragmented into 50 by=
te bundles.  A subsequent node adds a PIB ciphersuite with a correlated blo=
ck trailing the payload.  Again, the correlators collide.  Now, each 50 byt=
e fragment is fragmented again.  So, we have fragments:

(I'm numbering the PIB instances so that we can distinguish them in the dis=
cussion.  The numbers don't correspond to anything identifiable in the bloc=
ks themselves.)

PIB 1 with correlator x -> 0-25
25-50 -> PIB 1 with correlator x
PIB 2 with correlator y -> 50-75
75-100 -> PIB 2 with correlator y

PIB 3 with correlator x -> 0-25
25-50 -> PIB 3 with correlator x
PIB 4 with correlator y -> 50-75
75-100 -> PIB 4 with correlator y

The receiving node has no way to realize that that pre-payload PIB 1 with c=
orrelator x doesn't match up to the post-payload PIB 3 with correlator x.

- Amy

On Tue, Mar 19, 2013 at 9:11 PM, Peter Lovell <plovell@mac.com> wrote:
Amy Alford <aloomis@sarn.org> wrote:

>A bundle can be fragmented multiple times independently, so a node may
>receive multiple fragments with the same offset and length that have
>traveled different paths (and accumulated different BSP blocks along the
>way).  Collisions in the correlator values once the bundle is reassembled
>are inevitable.
>- Amy

Hi Amy,

my thought is that we have covered the problem of multiple-fragmentation an=
d multi-path, but perhaps not.

Can you describe a bundle scenario that exemplifies the issue you see, so w=
e can think about it.

Thanks.....Peter




--_000_CD7002AE120A7williamdivancicnasagov_
Content-Type: text/html; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

<html><head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DWindows-1=
252"><title>Re: [dtn-security] Including fragment offset in the correlator =
doesn't prevent all fragment collisions.</title>
</head>
<body>
<font face=3D"Lucida Grande"><span style=3D"font-size:11pt">A 5 GB bundle c=
ome forms Mr. Bad. &nbsp;You don=92t want to store anything from Mr. Bad, b=
ut you cannot confirm the source &nbsp;using PIB until you receive the enti=
re bundle thus eating up 5 GB of resources.<br>
<br>
It is broken.<br>
<br>
-- Will<br>
<br>
<br>
<hr align=3D"CENTER" size=3D"3" width=3D"95%"><b>From: </b>Amy Alford &lt;<=
a href=3D"aloomis@sarn.org">aloomis@sarn.org</a>&gt;<br>
<b>Date: </b>Wed, 20 Mar 2013 18:36:32 -0500<br>
<b>To: </b>Peter Lovell &lt;<a href=3D"plovell@mac.com">plovell@mac.com</a>=
&gt;<br>
<b>Cc: </b>dtn-security &lt;<a href=3D"dtn-security@irtf.org">dtn-security@=
irtf.org</a>&gt;<br>
<b>Subject: </b>Re: [dtn-security] Including fragment offset in the correla=
tor doesn't prevent all fragment collisions.<br>
<br>
A 100 byte bundle is created. &nbsp;Different nodes independently fragment =
it into 50 byte fragments. &nbsp;A subsequent node adds PIB and PCB (so we =
have correlated PCB blocks) to each fragment with a security destination of=
 the bundle destination. &nbsp; The correlators can collide. (In DTN2, they=
 will collide.) &nbsp; &nbsp;&nbsp;<br>
<br>
If the fragments are reassembled before the destination, the destination ha=
s no way to distinguish the PCB blocks that should correlate with each othe=
r.<br>
<br>
Alternatively, if we assume reassembly only happens at the destination (whi=
ch 5050 doesn't guarantee), we still have a problem if we use a two block P=
IB ciphersuite where one block comes before the payload and one comes after=
. &nbsp;<br>
<br>
A node creates a 100 byte bundle. &nbsp;It's independently fragmented into =
50 byte bundles. &nbsp;A subsequent node adds a PIB ciphersuite with a corr=
elated block trailing the payload. &nbsp;Again, the correlators collide. &n=
bsp;Now, each 50 byte fragment is fragmented again. &nbsp;So, we have fragm=
ents:<br>
<br>
(I'm numbering the PIB instances so that we can distinguish them in the dis=
cussion. &nbsp;The numbers don't correspond to anything identifiable in the=
 blocks themselves.)<br>
<br>
PIB 1 with correlator x -&gt; 0-25<br>
25-50 -&gt; PIB 1 with correlator x<br>
PIB 2 with correlator y -&gt; 50-75<br>
75-100 -&gt; PIB 2 with correlator y<br>
<br>
PIB 3 with correlator x -&gt; 0-25<br>
25-50 -&gt; PIB 3 with correlator x<br>
PIB 4 with correlator y -&gt; 50-75<br>
75-100 -&gt; PIB 4 with correlator y<br>
<br>
The receiving node has no way to realize that that pre-payload PIB 1 with c=
orrelator x doesn't match up to the post-payload PIB 3 with correlator x.<b=
r>
<br>
- Amy<br>
<br>
On Tue, Mar 19, 2013 at 9:11 PM, Peter Lovell &lt;<a href=3D"plovell@mac.co=
m">plovell@mac.com</a>&gt; wrote:<br>
</span></font><blockquote><font face=3D"Lucida Grande"><span style=3D"font-=
size:11pt">Amy Alford &lt;<a href=3D"aloomis@sarn.org">aloomis@sarn.org</a>=
&gt; wrote:<br>
<br>
&gt;A bundle can be fragmented multiple times independently, so a node may<=
br>
&gt;receive multiple fragments with the same offset and length that have<br=
>
&gt;traveled different paths (and accumulated different BSP blocks along th=
e<br>
&gt;way). &nbsp;Collisions in the correlator values once the bundle is reas=
sembled<br>
&gt;are inevitable.<br>
&gt;- Amy<br>
<br>
Hi Amy,<br>
<br>
my thought is that we have covered the problem of multiple-fragmentation an=
d multi-path, but perhaps not.<br>
<br>
Can you describe a bundle scenario that exemplifies the issue you see, so w=
e can think about it.<br>
<br>
Thanks.....Peter<br>
<br>
</span></font></blockquote><font face=3D"Lucida Grande"><span style=3D"font=
-size:11pt"><br>
<br>
</span></font>
</body>
</html>


--_000_CD7002AE120A7williamdivancicnasagov_--

From aloomis@sarn.org  Thu Mar 21 07:43:33 2013
Return-Path: <aloomis@sarn.org>
X-Original-To: dtn-security@ietfa.amsl.com
Delivered-To: dtn-security@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C613521F90B4 for <dtn-security@ietfa.amsl.com>; Thu, 21 Mar 2013 07:43:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level: 
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NO_RELAYS=-0.001]
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 De4u4YC1-pwS for <dtn-security@ietfa.amsl.com>; Thu, 21 Mar 2013 07:43:32 -0700 (PDT)
Received: from mail-qc0-x235.google.com (mail-qc0-x235.google.com [IPv6:2607:f8b0:400d:c01::235]) by ietfa.amsl.com (Postfix) with ESMTP id 5AE7E21F90CA for <dtn-security@irtf.org>; Thu, 21 Mar 2013 07:43:30 -0700 (PDT)
Received: by mail-qc0-f181.google.com with SMTP id a22so1452876qcs.12 for <dtn-security@irtf.org>; Thu, 21 Mar 2013 07:43:30 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:x-gm-message-state; bh=q5u6SCfD9GELV1kYxMrhdiUJmuBYkT3+LuzE0sgvwf0=; b=kCnHG2TNXMka4pTrbrJ0+F9eLMyja0UKfLiIjNqxG8TMHNtwrv/SveqVtnGrtGSVNA HeTjXeXxGuCOaVNSju1YmX9DPYnGX/MC9zhcuxoeV8pjcosHMUKJv07kjQrneM39W1Fr r4lUSAhJT9TApKvzYmNc6sv3sXS5OmDb5VS2fGO54mDsGEiDQO8mYrv76j5hOB+hSFk/ 370XvE/ybPFhF5Z6Lq2qSwArNc03rCQOT6lQv4qncgPtYhpQcQvHl+R0cP9n4bAgSFMo AipZDH0AcGXuz/0ptR83zu0At7tGOMgpmeRnTVBQih/lm0TovLgmD78pbezdK0eYvoZu l0hA==
MIME-Version: 1.0
X-Received: by 10.49.87.40 with SMTP id u8mr11265751qez.62.1363877010295; Thu, 21 Mar 2013 07:43:30 -0700 (PDT)
Received: by 10.49.81.199 with HTTP; Thu, 21 Mar 2013 07:43:30 -0700 (PDT)
In-Reply-To: <CD7002AE.120A7%william.d.ivancic@nasa.gov>
References: <CAB9rx+_G87R-ZtwBx14jX8YkmX__zjhhVXn8XesZztMaY0vZXg@mail.gmail.com> <CD7002AE.120A7%william.d.ivancic@nasa.gov>
Date: Thu, 21 Mar 2013 10:43:30 -0400
Message-ID: <CAB9rx+9F0NHwP74Uu42rcvwUjtqjhHb6ueAXZJD=01+67W1Q6w@mail.gmail.com>
From: Amy Alford <aloomis@sarn.org>
To: "Ivancic, William D. (GRC-RHN0)" <william.d.ivancic@nasa.gov>
Content-Type: multipart/alternative; boundary=047d7bdc8b0ab77b5004d8705c6c
X-Gm-Message-State: ALoCoQlBNwsjhcR2J5wnGW5wHXXRMaSsQQ6FKz1O2yt6gG5tWc6tnS04Z4SMvpmS51rb+/DCjidE
Cc: dtn-security <dtn-security@irtf.org>
Subject: Re: [dtn-security] Including fragment offset in the correlator doesn't prevent all fragment collisions.
X-BeenThere: dtn-security@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "The Delay-Tolerant Networking Research Group \(DTNRG\) - Security." <dtn-security.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/dtn-security>, <mailto:dtn-security-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/dtn-security>
List-Post: <mailto:dtn-security@irtf.org>
List-Help: <mailto:dtn-security-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/dtn-security>, <mailto:dtn-security-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Mar 2013 14:43:33 -0000

--047d7bdc8b0ab77b5004d8705c6c
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Isn't this fixable by defining a PIB ciphersuite that only protects the
primary block?
- Amy

On Thu, Mar 21, 2013 at 12:19 AM, Ivancic, William D. (GRC-RHN0) <
william.d.ivancic@nasa.gov> wrote:

>  A 5 GB bundle come forms Mr. Bad.  You don=92t want to store anything fr=
om
> Mr. Bad, but you cannot confirm the source  using PIB until you receive t=
he
> entire bundle thus eating up 5 GB of resources.
>
> It is broken.
>
> -- Will
>
>
> ------------------------------
> *From: *Amy Alford <aloomis@sarn.org>
> *Date: *Wed, 20 Mar 2013 18:36:32 -0500
> *To: *Peter Lovell <plovell@mac.com>
> *Cc: *dtn-security <dtn-security@irtf.org>
>
> *Subject: *Re: [dtn-security] Including fragment offset in the correlator
> doesn't prevent all fragment collisions.
>
> A 100 byte bundle is created.  Different nodes independently fragment it
> into 50 byte fragments.  A subsequent node adds PIB and PCB (so we have
> correlated PCB blocks) to each fragment with a security destination of th=
e
> bundle destination.   The correlators can collide. (In DTN2, they will
> collide.)
>
> If the fragments are reassembled before the destination, the destination
> has no way to distinguish the PCB blocks that should correlate with each
> other.
>
> Alternatively, if we assume reassembly only happens at the destination
> (which 5050 doesn't guarantee), we still have a problem if we use a two
> block PIB ciphersuite where one block comes before the payload and one
> comes after.
>
> A node creates a 100 byte bundle.  It's independently fragmented into 50
> byte bundles.  A subsequent node adds a PIB ciphersuite with a correlated
> block trailing the payload.  Again, the correlators collide.  Now, each 5=
0
> byte fragment is fragmented again.  So, we have fragments:
>
> (I'm numbering the PIB instances so that we can distinguish them in the
> discussion.  The numbers don't correspond to anything identifiable in the
> blocks themselves.)
>
> PIB 1 with correlator x -> 0-25
> 25-50 -> PIB 1 with correlator x
> PIB 2 with correlator y -> 50-75
> 75-100 -> PIB 2 with correlator y
>
> PIB 3 with correlator x -> 0-25
> 25-50 -> PIB 3 with correlator x
> PIB 4 with correlator y -> 50-75
> 75-100 -> PIB 4 with correlator y
>
> The receiving node has no way to realize that that pre-payload PIB 1 with
> correlator x doesn't match up to the post-payload PIB 3 with correlator x=
.
>
> - Amy
>
> On Tue, Mar 19, 2013 at 9:11 PM, Peter Lovell <plovell@mac.com> wrote:
>
> Amy Alford <aloomis@sarn.org> wrote:
>
> >A bundle can be fragmented multiple times independently, so a node may
> >receive multiple fragments with the same offset and length that have
> >traveled different paths (and accumulated different BSP blocks along the
> >way).  Collisions in the correlator values once the bundle is reassemble=
d
> >are inevitable.
> >- Amy
>
> Hi Amy,
>
> my thought is that we have covered the problem of multiple-fragmentation
> and multi-path, but perhaps not.
>
> Can you describe a bundle scenario that exemplifies the issue you see, so
> we can think about it.
>
> Thanks.....Peter
>
>
>
>

--047d7bdc8b0ab77b5004d8705c6c
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Isn&#39;t this fixable by defining a PIB ciphersuite that only protects the=
 primary block?=A0<div>- Amy<br><br><div class=3D"gmail_quote">On Thu, Mar =
21, 2013 at 12:19 AM, Ivancic, William D. (GRC-RHN0) <span dir=3D"ltr">&lt;=
<a href=3D"mailto:william.d.ivancic@nasa.gov" target=3D"_blank">william.d.i=
vancic@nasa.gov</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">


<div>
<font face=3D"Lucida Grande"><span style=3D"font-size:11pt">A 5 GB bundle c=
ome forms Mr. Bad. =A0You don=92t want to store anything from Mr. Bad, but =
you cannot confirm the source =A0using PIB until you receive the entire bun=
dle thus eating up 5 GB of resources.<br>

<br>
It is broken.<br>
<br>
-- Will<br>
<br>
<br>
<hr align=3D"CENTER" size=3D"3" width=3D"95%"><b>From: </b>Amy Alford &lt;<=
a href=3D"http://aloomis@sarn.org" target=3D"_blank">aloomis@sarn.org</a>&g=
t;<br>
<b>Date: </b>Wed, 20 Mar 2013 18:36:32 -0500<br>
<b>To: </b>Peter Lovell &lt;<a href=3D"http://plovell@mac.com" target=3D"_b=
lank">plovell@mac.com</a>&gt;<br>
<b>Cc: </b>dtn-security &lt;<a href=3D"http://dtn-security@irtf.org" target=
=3D"_blank">dtn-security@irtf.org</a>&gt;<div class=3D"im"><br>
<b>Subject: </b>Re: [dtn-security] Including fragment offset in the correla=
tor doesn&#39;t prevent all fragment collisions.<br>
<br></div><div><div class=3D"h5">
A 100 byte bundle is created. =A0Different nodes independently fragment it =
into 50 byte fragments. =A0A subsequent node adds PIB and PCB (so we have c=
orrelated PCB blocks) to each fragment with a security destination of the b=
undle destination. =A0 The correlators can collide. (In DTN2, they will col=
lide.) =A0 =A0=A0<br>

<br>
If the fragments are reassembled before the destination, the destination ha=
s no way to distinguish the PCB blocks that should correlate with each othe=
r.<br>
<br>
Alternatively, if we assume reassembly only happens at the destination (whi=
ch 5050 doesn&#39;t guarantee), we still have a problem if we use a two blo=
ck PIB ciphersuite where one block comes before the payload and one comes a=
fter. =A0<br>

<br>
A node creates a 100 byte bundle. =A0It&#39;s independently fragmented into=
 50 byte bundles. =A0A subsequent node adds a PIB ciphersuite with a correl=
ated block trailing the payload. =A0Again, the correlators collide. =A0Now,=
 each 50 byte fragment is fragmented again. =A0So, we have fragments:<br>

<br>
(I&#39;m numbering the PIB instances so that we can distinguish them in the=
 discussion. =A0The numbers don&#39;t correspond to anything identifiable i=
n the blocks themselves.)<br>
<br>
PIB 1 with correlator x -&gt; 0-25<br>
25-50 -&gt; PIB 1 with correlator x<br>
PIB 2 with correlator y -&gt; 50-75<br>
75-100 -&gt; PIB 2 with correlator y<br>
<br>
PIB 3 with correlator x -&gt; 0-25<br>
25-50 -&gt; PIB 3 with correlator x<br>
PIB 4 with correlator y -&gt; 50-75<br>
75-100 -&gt; PIB 4 with correlator y<br>
<br>
The receiving node has no way to realize that that pre-payload PIB 1 with c=
orrelator x doesn&#39;t match up to the post-payload PIB 3 with correlator =
x.<br>
<br>
- Amy<br>
<br>
On Tue, Mar 19, 2013 at 9:11 PM, Peter Lovell &lt;<a href=3D"http://plovell=
@mac.com" target=3D"_blank">plovell@mac.com</a>&gt; wrote:<br>
</div></div></span></font><div><div class=3D"h5"><blockquote><font face=3D"=
Lucida Grande"><span style=3D"font-size:11pt">Amy Alford &lt;<a href=3D"htt=
p://aloomis@sarn.org" target=3D"_blank">aloomis@sarn.org</a>&gt; wrote:<br>
<br>
&gt;A bundle can be fragmented multiple times independently, so a node may<=
br>
&gt;receive multiple fragments with the same offset and length that have<br=
>
&gt;traveled different paths (and accumulated different BSP blocks along th=
e<br>
&gt;way). =A0Collisions in the correlator values once the bundle is reassem=
bled<br>
&gt;are inevitable.<br>
&gt;- Amy<br>
<br>
Hi Amy,<br>
<br>
my thought is that we have covered the problem of multiple-fragmentation an=
d multi-path, but perhaps not.<br>
<br>
Can you describe a bundle scenario that exemplifies the issue you see, so w=
e can think about it.<br>
<br>
Thanks.....Peter<br>
<br>
</span></font></blockquote><font face=3D"Lucida Grande"><span style=3D"font=
-size:11pt"><br>
<br>
</span></font>
</div></div></div>


</blockquote></div><br></div>

--047d7bdc8b0ab77b5004d8705c6c--

From aloomis@sarn.org  Thu Mar 21 07:49:04 2013
Return-Path: <aloomis@sarn.org>
X-Original-To: dtn-security@ietfa.amsl.com
Delivered-To: dtn-security@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 15B9321F8AB8 for <dtn-security@ietfa.amsl.com>; Thu, 21 Mar 2013 07:49:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.976
X-Spam-Level: 
X-Spam-Status: No, score=-2.976 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 p9EPSfUfDE7B for <dtn-security@ietfa.amsl.com>; Thu, 21 Mar 2013 07:49:03 -0700 (PDT)
Received: from mail-qa0-f41.google.com (mail-qa0-f41.google.com [209.85.216.41]) by ietfa.amsl.com (Postfix) with ESMTP id BCC8121F8AAC for <dtn-security@irtf.org>; Thu, 21 Mar 2013 07:49:02 -0700 (PDT)
Received: by mail-qa0-f41.google.com with SMTP id p6so311474qad.7 for <dtn-security@irtf.org>; Thu, 21 Mar 2013 07:49:02 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:x-gm-message-state; bh=etxlkAD7/q4DDFPOE5+2mnykW4WyXrL4Hpzp7FdcdFw=; b=PyQu2xaSrn39UmQdegJVaq9xfd8ECQsBPj/gPJSMZZ0yC1Z9tFvr1G/ze4JJbHGOoz UwT25hAAG47IKEEDlVJ66eaAUUxA3NPJQjc28jfluYAhj52wfpElAISqDJcwiAKPH8K8 gTfWpSnf7UTRVkDDcTYsPobyK8wnyjYKqk9d27KZwD/7AruQ6hRRyj1+CKywJvqAtOIY uc1thygxIVViRbltuNI4kztjhRoLR3y30b3X16cNqm6DcgUMGBZvrFdnFJBiGxxu0Vad 1dnrHO+Wzhrvn6kYJJlqGeIZEhMHbsTCxzly97ht25OXpEFwH4+05rVlWHu3mxw+QZao uyQQ==
MIME-Version: 1.0
X-Received: by 10.49.25.84 with SMTP id a20mr11390697qeg.61.1363877342013; Thu, 21 Mar 2013 07:49:02 -0700 (PDT)
Received: by 10.49.81.199 with HTTP; Thu, 21 Mar 2013 07:49:01 -0700 (PDT)
In-Reply-To: <CAB9rx+8KVadQvmPMvtc_C=UszF=5PkKBq=-p=BgTy=nxFSaQdQ@mail.gmail.com>
References: <CAB9rx+85HHsNj=EhmsqhCdtY5k=S4p1Jgzz4VsmEC+43ERygWA@mail.gmail.com> <20130320011114.1072992195@smtp.mail.me.com> <CAB9rx+_G87R-ZtwBx14jX8YkmX__zjhhVXn8XesZztMaY0vZXg@mail.gmail.com> <1363827420.23866.3526.camel@mightyatom> <CAB9rx+8KVadQvmPMvtc_C=UszF=5PkKBq=-p=BgTy=nxFSaQdQ@mail.gmail.com>
Date: Thu, 21 Mar 2013 10:49:01 -0400
Message-ID: <CAB9rx+8iiniTKR_cVOZ_aMFJae+RZT0RKdubE6XeoXOtAdM=CQ@mail.gmail.com>
From: Amy Alford <aloomis@sarn.org>
To: Elwyn Davies <elwynd@folly.org.uk>
Content-Type: multipart/alternative; boundary=047d7b5dbce27d18ca04d87070cc
X-Gm-Message-State: ALoCoQnzoYXwLL9EJAipgHswSj1cz41f5qnAp0kmKvJyV9g6AuhwD8StJHi6LU5RfH5TA6ZxxxcB
Cc: dtn-security <dtn-security@irtf.org>
Subject: Re: [dtn-security] Including fragment offset in the correlator doesn't prevent all fragment collisions.
X-BeenThere: dtn-security@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "The Delay-Tolerant Networking Research Group \(DTNRG\) - Security." <dtn-security.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/dtn-security>, <mailto:dtn-security-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/dtn-security>
List-Post: <mailto:dtn-security@irtf.org>
List-Help: <mailto:dtn-security-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/dtn-security>, <mailto:dtn-security-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Mar 2013 14:49:04 -0000

--047d7b5dbce27d18ca04d87070cc
Content-Type: text/plain; charset=ISO-8859-1

To make reassembly somewhere other than the destination succeed, either
reassembling nodes need to be required to understand all the extension
blocks (so they can recombine them sensibly), or the reassembly process
needs to somehow preserve information about the fragment structure.  In the
latter case, reassembly seems useless anyway.  You're unlikely to save any
space over just forwarding the fragments.

On Wed, Mar 20, 2013 at 9:11 PM, Amy Alford <aloomis@sarn.org> wrote:

> A metadata block that tied the fragments together (and was unique to that
> fragmentation event: perhaps EID and time) would help, as long as
> reassembly is handled by the destination (so that it can take advantage of
> this info).
>
> - Amy
>
> On Wed, Mar 20, 2013 at 8:56 PM, Elwyn Davies <elwynd@folly.org.uk> wrote:
>
>> Hi, Amy.
>>
>> I grok the problem properly now (I hope).
>>
>> Does pushing a metadata block into the bundle with the EID (or if too
>> long) a short nonce or abbreviated digest of some part of the bundle
>> (e.g. some part of the PIB) into all the fragments at the node where it
>> is fragmented help?
>>
>> Not a very satisfactory solution but it would help tie the two parts of
>> the PIB together.
>>
>> /Elwyn
>>
>>
>> On Wed, 2013-03-20 at 19:36 -0400, Amy Alford wrote:
>> > A 100 byte bundle is created.  Different nodes independently fragment
>> > it into 50 byte fragments.  A subsequent node adds PIB and PCB (so we
>> > have correlated PCB blocks) to each fragment with a security
>> > destination of the bundle destination.   The correlators can collide.
>> > (In DTN2, they will collide.)
>> >
>> >
>> > If the fragments are reassembled before the destination, the
>> > destination has no way to distinguish the PCB blocks that should
>> > correlate with each other.
>> >
>> >
>> > Alternatively, if we assume reassembly only happens at the destination
>> > (which 5050 doesn't guarantee), we still have a problem if we use a
>> > two block PIB ciphersuite where one block comes before the payload and
>> > one comes after.
>> >
>> >
>> > A node creates a 100 byte bundle.  It's independently fragmented into
>> > 50 byte bundles.  A subsequent node adds a PIB ciphersuite with a
>> > correlated block trailing the payload.  Again, the correlators
>> > collide.  Now, each 50 byte fragment is fragmented again.  So, we have
>> > fragments:
>> >
>> >
>> > (I'm numbering the PIB instances so that we can distinguish them in
>> > the discussion.  The numbers don't correspond to anything identifiable
>> > in the blocks themselves.)
>> >
>> >
>> > PIB 1 with correlator x -> 0-25
>> > 25-50 -> PIB 1 with correlator x
>> > PIB 2 with correlator y -> 50-75
>> > 75-100 -> PIB 2 with correlator y
>> >
>> >
>> > PIB 3 with correlator x -> 0-25
>> > 25-50 -> PIB 3 with correlator x
>> > PIB 4 with correlator y -> 50-75
>> > 75-100 -> PIB 4 with correlator y
>> >
>> >
>> > The receiving node has no way to realize that that pre-payload PIB 1
>> > with correlator x doesn't match up to the post-payload PIB 3 with
>> > correlator x.
>> >
>> >
>> > - Amy
>> >
>> > On Tue, Mar 19, 2013 at 9:11 PM, Peter Lovell <plovell@mac.com> wrote:
>> >         Amy Alford <aloomis@sarn.org> wrote:
>> >
>> >         >A bundle can be fragmented multiple times independently, so a
>> >         node may
>> >         >receive multiple fragments with the same offset and length
>> >         that have
>> >         >traveled different paths (and accumulated different BSP
>> >         blocks along the
>> >         >way).  Collisions in the correlator values once the bundle is
>> >         reassembled
>> >         >are inevitable.
>> >         >- Amy
>> >
>> >
>> >         Hi Amy,
>> >
>> >         my thought is that we have covered the problem of
>> >         multiple-fragmentation and multi-path, but perhaps not.
>> >
>> >         Can you describe a bundle scenario that exemplifies the issue
>> >         you see, so we can think about it.
>> >
>> >         Thanks.....Peter
>> >
>> >
>> > _______________________________________________
>> > dtn-security mailing list
>> > dtn-security@irtf.org
>> > https://www.irtf.org/mailman/listinfo/dtn-security
>>
>>
>

--047d7b5dbce27d18ca04d87070cc
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

To make reassembly somewhere other than the destination succeed, either rea=
ssembling nodes need to be required to understand all the extension blocks =
(so they can recombine them sensibly), or the reassembly process needs to s=
omehow preserve information about the fragment structure. =A0In the latter =
case, reassembly seems useless anyway. =A0You&#39;re unlikely to save any s=
pace over just forwarding the fragments. =A0<br>
<br><div class=3D"gmail_quote">On Wed, Mar 20, 2013 at 9:11 PM, Amy Alford =
<span dir=3D"ltr">&lt;<a href=3D"mailto:aloomis@sarn.org" target=3D"_blank"=
>aloomis@sarn.org</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote=
" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
A metadata block that tied the fragments together (and was unique to that f=
ragmentation event: perhaps EID and time) would help, as long as reassembly=
 is handled by the destination (so that it can take advantage of this info)=
.=A0<span class=3D"HOEnZb"><font color=3D"#888888"><div>

<br></div><div>- Amy</div></font></span><div class=3D"HOEnZb"><div class=3D=
"h5"><div><br><div class=3D"gmail_quote">On Wed, Mar 20, 2013 at 8:56 PM, E=
lwyn Davies <span dir=3D"ltr">&lt;<a href=3D"mailto:elwynd@folly.org.uk" ta=
rget=3D"_blank">elwynd@folly.org.uk</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">Hi, Amy.<br>
<br>
I grok the problem properly now (I hope).<br>
<br>
Does pushing a metadata block into the bundle with the EID (or if too<br>
long) a short nonce or abbreviated digest of some part of the bundle<br>
(e.g. some part of the PIB) into all the fragments at the node where it<br>
is fragmented help?<br>
<br>
Not a very satisfactory solution but it would help tie the two parts of<br>
the PIB together.<br>
<span><font color=3D"#888888"><br>
/Elwyn<br>
</font></span><div><div><br>
<br>
On Wed, 2013-03-20 at 19:36 -0400, Amy Alford wrote:<br>
&gt; A 100 byte bundle is created. =A0Different nodes independently fragmen=
t<br>
&gt; it into 50 byte fragments. =A0A subsequent node adds PIB and PCB (so w=
e<br>
&gt; have correlated PCB blocks) to each fragment with a security<br>
&gt; destination of the bundle destination. =A0 The correlators can collide=
.<br>
&gt; (In DTN2, they will collide.)<br>
&gt;<br>
&gt;<br>
&gt; If the fragments are reassembled before the destination, the<br>
&gt; destination has no way to distinguish the PCB blocks that should<br>
&gt; correlate with each other.<br>
&gt;<br>
&gt;<br>
&gt; Alternatively, if we assume reassembly only happens at the destination=
<br>
&gt; (which 5050 doesn&#39;t guarantee), we still have a problem if we use =
a<br>
&gt; two block PIB ciphersuite where one block comes before the payload and=
<br>
&gt; one comes after.<br>
&gt;<br>
&gt;<br>
&gt; A node creates a 100 byte bundle. =A0It&#39;s independently fragmented=
 into<br>
&gt; 50 byte bundles. =A0A subsequent node adds a PIB ciphersuite with a<br=
>
&gt; correlated block trailing the payload. =A0Again, the correlators<br>
&gt; collide. =A0Now, each 50 byte fragment is fragmented again. =A0So, we =
have<br>
&gt; fragments:<br>
&gt;<br>
&gt;<br>
&gt; (I&#39;m numbering the PIB instances so that we can distinguish them i=
n<br>
&gt; the discussion. =A0The numbers don&#39;t correspond to anything identi=
fiable<br>
&gt; in the blocks themselves.)<br>
&gt;<br>
&gt;<br>
&gt; PIB 1 with correlator x -&gt; 0-25<br>
&gt; 25-50 -&gt; PIB 1 with correlator x<br>
&gt; PIB 2 with correlator y -&gt; 50-75<br>
&gt; 75-100 -&gt; PIB 2 with correlator y<br>
&gt;<br>
&gt;<br>
&gt; PIB 3 with correlator x -&gt; 0-25<br>
&gt; 25-50 -&gt; PIB 3 with correlator x<br>
&gt; PIB 4 with correlator y -&gt; 50-75<br>
&gt; 75-100 -&gt; PIB 4 with correlator y<br>
&gt;<br>
&gt;<br>
&gt; The receiving node has no way to realize that that pre-payload PIB 1<b=
r>
&gt; with correlator x doesn&#39;t match up to the post-payload PIB 3 with<=
br>
&gt; correlator x.<br>
&gt;<br>
&gt;<br>
&gt; - Amy<br>
&gt;<br>
&gt; On Tue, Mar 19, 2013 at 9:11 PM, Peter Lovell &lt;<a href=3D"mailto:pl=
ovell@mac.com" target=3D"_blank">plovell@mac.com</a>&gt; wrote:<br>
&gt; =A0 =A0 =A0 =A0 Amy Alford &lt;<a href=3D"mailto:aloomis@sarn.org" tar=
get=3D"_blank">aloomis@sarn.org</a>&gt; wrote:<br>
&gt;<br>
&gt; =A0 =A0 =A0 =A0 &gt;A bundle can be fragmented multiple times independ=
ently, so a<br>
&gt; =A0 =A0 =A0 =A0 node may<br>
&gt; =A0 =A0 =A0 =A0 &gt;receive multiple fragments with the same offset an=
d length<br>
&gt; =A0 =A0 =A0 =A0 that have<br>
&gt; =A0 =A0 =A0 =A0 &gt;traveled different paths (and accumulated differen=
t BSP<br>
&gt; =A0 =A0 =A0 =A0 blocks along the<br>
&gt; =A0 =A0 =A0 =A0 &gt;way). =A0Collisions in the correlator values once =
the bundle is<br>
&gt; =A0 =A0 =A0 =A0 reassembled<br>
&gt; =A0 =A0 =A0 =A0 &gt;are inevitable.<br>
&gt; =A0 =A0 =A0 =A0 &gt;- Amy<br>
&gt;<br>
&gt;<br>
&gt; =A0 =A0 =A0 =A0 Hi Amy,<br>
&gt;<br>
&gt; =A0 =A0 =A0 =A0 my thought is that we have covered the problem of<br>
&gt; =A0 =A0 =A0 =A0 multiple-fragmentation and multi-path, but perhaps not=
.<br>
&gt;<br>
&gt; =A0 =A0 =A0 =A0 Can you describe a bundle scenario that exemplifies th=
e issue<br>
&gt; =A0 =A0 =A0 =A0 you see, so we can think about it.<br>
&gt;<br>
&gt; =A0 =A0 =A0 =A0 Thanks.....Peter<br>
&gt;<br>
&gt;<br>
</div></div><div><div>&gt; _______________________________________________<=
br>
&gt; dtn-security mailing list<br>
&gt; <a href=3D"mailto:dtn-security@irtf.org" target=3D"_blank">dtn-securit=
y@irtf.org</a><br>
&gt; <a href=3D"https://www.irtf.org/mailman/listinfo/dtn-security" target=
=3D"_blank">https://www.irtf.org/mailman/listinfo/dtn-security</a><br>
<br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br>

--047d7b5dbce27d18ca04d87070cc--

From plovell@mac.com  Fri Mar 22 17:58:41 2013
Return-Path: <plovell@mac.com>
X-Original-To: dtn-security@ietfa.amsl.com
Delivered-To: dtn-security@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EF48721F8FE8 for <dtn-security@ietfa.amsl.com>; Fri, 22 Mar 2013 17:58:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.901
X-Spam-Level: 
X-Spam-Status: No, score=-2.901 tagged_above=-999 required=5 tests=[AWL=-0.698, BAYES_00=-2.599, MIME_QP_LONG_LINE=1.396, 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 8ZwGEs7Chgod for <dtn-security@ietfa.amsl.com>; Fri, 22 Mar 2013 17:58:40 -0700 (PDT)
Received: from st11p00mm-asmtp003.mac.com (st11p00mm-asmtpout003.mac.com [17.172.81.2]) by ietfa.amsl.com (Postfix) with ESMTP id E6DBE21F8E84 for <dtn-security@irtf.org>; Fri, 22 Mar 2013 17:58:39 -0700 (PDT)
Received: from [192.168.1.97] (pool-96-241-42-32.washdc.fios.verizon.net [96.241.42.32]) by st11p00mm-asmtp003.mac.com (Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPSA id <0MK300I3N9DPNJ70@st11p00mm-asmtp003.mac.com> for dtn-security@irtf.org; Sat, 23 Mar 2013 00:58:38 +0000 (GMT)
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8626,1.0.431,0.0.0000 definitions=2013-03-22_06:2013-03-22, 2013-03-22, 1970-01-01 signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=6.0.2-1302030000 definitions=main-1303220244
From: Peter Lovell <plovell@mac.com>
To: Amy Alford <aloomis@sarn.org>, dtn-security <dtn-security@irtf.org>
Date: Fri, 22 Mar 2013 20:58:38 -0400
Message-id: <20130323005838.947157858@smtp.mail.me.com>
In-reply-to: <CAB9rx+_EK7u8kkDhscBdqnGHYSeoROTSfhNaALZUodMt4em=_Q@mail.gmail.com>
References: <CAB9rx+85HHsNj=EhmsqhCdtY5k=S4p1Jgzz4VsmEC+43ERygWA@mail.gmail.com> <20130320011114.1072992195@smtp.mail.me.com> <CAB9rx+_EK7u8kkDhscBdqnGHYSeoROTSfhNaALZUodMt4em=_Q@mail.gmail.com>
X-Mailer: CTM PowerMail version 6.1.5b1 build 4653 English (intel) <http://www.ctmdev.com>
MIME-version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: quoted-printable
Subject: [dtn-security] Re(2): Including fragment offset in the correlator doesn't prevent all fragment collisions.
X-BeenThere: dtn-security@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "The Delay-Tolerant Networking Research Group \(DTNRG\) - Security." <dtn-security.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/dtn-security>, <mailto:dtn-security-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/dtn-security>
List-Post: <mailto:dtn-security@irtf.org>
List-Help: <mailto:dtn-security-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/dtn-security>, <mailto:dtn-security-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sat, 23 Mar 2013 00:58:42 -0000

Hi Amy,

thanks for your example. 

One thing I discovered in looking at the 2.9 code is that there's a bug, =
and fixing that would help things.

In Ciphersuite::create=5Fcorrelator( ) [file =
~/dtn-2.9.0/servlib/security/Ciphersuite.cc] we intend to make the new correlator bigger than any existing =
one. But we don't quite do that. Line 480 reads
    result |=3D high=5Fval;     // put high=5Fval into low-order two bytes
and that should be 
    result |=3D high=5Fval + 1;     // put high=5Fval into low-order two =
bytes
=46or the following discussion, let's assume that change.

The correlator is a triple, comprising the fragment-offset, ciphersuite =
number, and sequence number. The sequence number allows us to differentiate =
between separate applications of the same ciphersuite, such as signing with both =
an old and a new key (one may debate the wisdom of such cryptographic usage, =
but that's a different discussion). One important item to remember is that a =
correlator is only present if there are two or more related blocks in a =
bundle. If there are multiple security blocks but they're unrelated then they =
don't have correlators.

Looking at your second example, four bundles eventually arrive at the =
destination (assuming destination-reassembly, for the moment). For the sake of =
discussion, let's hypothetically have the PI ciphersuite number be 7 using =
trailing block.

Bundle A 
data 0 - 24

Bundle B
data 50 - 74

Bundle C
data 25 - 49
PIB with range 0-49

Bundle D
data 75 - 99
PIB with range 50 - 99

When the two 50-blocks are split into four 25-blocks, the PIBs are =
replicated into the second block in each case because the PIBs trailed the payload =
(see 5050 sec. 5.8). Each of the PI operations resulted in a single PI block =
so there is no correlator needed (in fact, it's prohibited). 

So let's create a more problematic scenario with the hundred-byte message. =
The first node it encounters has known 60-byte limits for onforwarding so we =
get one 60- and one 40-byte bundle. The outbound policy requires PI so both =
fragments will have a trailing PIB without a correlator. The two bundles are =
sent on their way, but the node is unsure whether the first was properly =
received (let's say that the CL ACK was lost) so it sends the first one again on =
a different link. Whatever the mechanism, we now have two copies of this =
bundle A (bytes 0 - 59) in flight via two separate nodes. 

At this second stage, one node has a 40-byte outgoing limit so fragments =
bundle A into 40- and 20-byte fragments, with the PIB in the second fragment. =
Per this node's policy, it applies PC3 to both outgoing bundles Aa and Ab and =
sends them on. These contents are ...

Bundle Aa
PCBa with range 0 - 39
encrypted data 0 - 39

Bundle Ab
PCBb with range 40 - 59, correlator 40 - 3 - 1
encrypted data 40 - 59
encrypted PIB, with correlator 40 - 3 - 1

The other node, quite unaware that the bundle exists elsewhere, processes =
it too. By perverse chance, its outgoing links also have 40-byte limits, so =
the outgoing stream is ...

Bundle Ac
PCBc with range 0 - 39
encrypted data 0 - 39

Bundle Ad
PCBd with range 40 - 59, correlator 40 - 3 - 1
encrypted data 40 - 59
encrypted PIB, with correlator 40 - 3 - 1

I wonder if any DTN code today will nicely handle this case but it's quite =
possible. The decryption is contained within each bundle and is not complex.

------------------

A more difficult setup is to change the PI above to PC3. We have two =
copies of bundle A at separate nodes, unaware of one another. Each has the PC3 =
block containing the parameters etc for the encryption of bytes 0-59 of the =
original bundle, i.e. bundle A. Bundle A contains ...

PCB-k with range 0 - 59 (w/o correlator)
encrypted data 0 - 59

The "PCB-k" indicates a "first-block" PCB, containing key-info. Such a =
block MUST be replicated in every fragment. The 40-byte limit applies so this =
bundle, at each node, is now fragmented 40 + 20. We assume that the =
security-dest is the bundle-dest, for simplicity (yeah, right :)  So these two =
independent copies of bundle A become new bundles Aa/Ab and Ac/Ad

The contents will be ...

Bundle Aa
PCBa-k with range 0 - 39, correlator 0 - 3 - 1
encrypted (PCB-k with range 0 - 59 w/o corr), correlator 0 - 3 - 1
doubly-encrypted data 0 - 39

Bundle Ab 
PCBb-k with range 40 - 59, correlator 0 - 3 - 1
encrypted (PCB-k with range 0 - 59 w/o corr), correlator 0 - 3 - 1
doubly-encrypted data 40-59

The other copy of bundle A will look very much the same ...

PCBc-k with range 0 - 39, correlator 0 - 3 - 1
encrypted (PCB-k with range 0 - 59 w/o corr), correlator 0 - 3 - 1
doubly-encrypted data 0 - 39

Bundle Ab 
PCBd-k with range 40 - 59, correlator 0 - 3 - 1
encrypted (PCB-k with range 0 - 59 w/o corr), correlator 0 - 3 - 1
doubly-encrypted data 40-59

It's fairly clear that there's no possibility that merge-and-reassemble =
will work. The sequence that must happen is to first unwrap PC from each =
bundle. The attempt to do the second PC unwrap will fail since no bundle has the =
data range to match the range of the PCBs (0 - 59). So reassembly looks for =
suitable data and finds two copies of both 0 - 39 and 40 - 59. Fortunately, =
these respective copies are identical, so reassembly happens and the duplicates =
are discarded, along with a duplicate copy of PCB-k. 

Decryption of bytes 0 - 59 now proceeds and hopefully the bundle =
containing 60 - 99 has also arrived. These two are reassembled and we have our =
original message.

As you can see, this is a quite involved process. A couple of things are =
worthy of note:
1. correlators are local to their bundle
2. a block with a correlator may be encapsulated, with PCB for example. =
The original correlator is hidden until decapsulation occurs (not shown above =
for sake of brevity :)
3. reassembly is a very, very complex process. 

Regards.....Peter

p.s. the descriptions above are believed to be correct but it has been a =
while since I did this for real and I may be rusty. Please let me know if =
there are errors



Amy Alford <aloomis@sarn.org> wrote:

>A 100 byte bundle is created.  Different nodes independently fragment it
>into 50 byte fragments.  A subsequent node adds PIB and PCB (so we have
>correlated PCB blocks) to each fragment with a security destination of the
>bundle destination.   The correlators can collide. (In DTN2, they will
>collide.)
>
>If the fragments are reassembled before the destination, the destination
>has no way to distinguish the PCB blocks that should correlate with each
>other.
>
>Alternatively, if we assume reassembly only happens at the destination
>(which 5050 doesn't guarantee), we still have a problem if we use a two
>block PIB ciphersuite where one block comes before the payload and one
>comes after.
>
>A node creates a 100 byte bundle.  It's independently fragmented into 50
>byte bundles.  A subsequent node adds a PIB ciphersuite with a correlated
>block trailing the payload.  Again, the correlators collide.  Now, each 50
>byte fragment is fragmented again.  So, we have fragments:
>
>(I'm numbering the PIB instances so that we can distinguish them in the
>discussion.  The numbers don't correspond to anything identifiable in the
>blocks themselves.)
>
>PIB 1 with correlator x -> 0-25
>25-50 -> PIB 1 with correlator x
>PIB 2 with correlator y -> 50-75
>75-100 -> PIB 2 with correlator y
>
>PIB 3 with correlator x -> 0-25
>25-50 -> PIB 3 with correlator x
>PIB 4 with correlator y -> 50-75
>75-100 -> PIB 4 with correlator y
>
>The receiving node has no way to realize that that pre-payload PIB 1 with
>correlator x doesn't match up to the post-payload PIB 3 with correlator x.
>- Amy
>
>
>On Tue, Mar 19, 2013 at 9:11 PM, Peter Lovell <plovell@mac.com> wrote:
>
>> Amy Alford <aloomis@sarn.org> wrote:
>>
>> >A bundle can be fragmented multiple times independently, so a node may
>> >receive multiple fragments with the same offset and length that have
>> >traveled different paths (and accumulated different BSP blocks along the
>> >way).  Collisions in the correlator values once the bundle is =
reassembled
>> >are inevitable.
>> >- Amy
>>
>> Hi Amy,
>>
>> my thought is that we have covered the problem of multiple-fragmentation
>> and multi-path, but perhaps not.
>>
>> Can you describe a bundle scenario that exemplifies the issue you see, so
>> we can think about it.
>>
>> Thanks.....Peter
>>
>>



From plovell@mac.com  Sat Mar 23 14:32:58 2013
Return-Path: <plovell@mac.com>
X-Original-To: dtn-security@ietfa.amsl.com
Delivered-To: dtn-security@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 44B3921F8951 for <dtn-security@ietfa.amsl.com>; Sat, 23 Mar 2013 14:32:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.552
X-Spam-Level: 
X-Spam-Status: No, score=-2.552 tagged_above=-999 required=5 tests=[AWL=-0.349, BAYES_00=-2.599, MIME_QP_LONG_LINE=1.396, 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 VNTwQJ3VSOlL for <dtn-security@ietfa.amsl.com>; Sat, 23 Mar 2013 14:32:57 -0700 (PDT)
Received: from st11p00mm-asmtp003.mac.com (st11p00mm-asmtpout003.mac.com [17.172.81.2]) by ietfa.amsl.com (Postfix) with ESMTP id 7DACF21F8B96 for <dtn-security@irtf.org>; Sat, 23 Mar 2013 14:32:57 -0700 (PDT)
Received: from [192.168.1.97] (pool-96-241-42-32.washdc.fios.verizon.net [96.241.42.32]) by st11p00mm-asmtp003.mac.com (Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPSA id <0MK400KR1UIN8V50@st11p00mm-asmtp003.mac.com> for dtn-security@irtf.org; Sat, 23 Mar 2013 21:32:52 +0000 (GMT)
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8626,1.0.431,0.0.0000 definitions=2013-03-23_03:2013-03-22, 2013-03-23, 1970-01-01 signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=6.0.2-1302030000 definitions=main-1303230253
From: Peter Lovell <plovell@mac.com>
To: Amy Alford <aloomis@sarn.org>
Date: Sat, 23 Mar 2013 17:32:52 -0400
Message-id: <20130323213252.461319491@smtp.mail.me.com>
In-reply-to: <CAB9rx+-kKNEUH0VWA_ffrcHfh59eSAxbgHNXWhkm+BrC44rqWw@mail.gmail.com>
References: <CAB9rx+85HHsNj=EhmsqhCdtY5k=S4p1Jgzz4VsmEC+43ERygWA@mail.gmail.com> <20130320011114.1072992195@smtp.mail.me.com> <CAB9rx+_EK7u8kkDhscBdqnGHYSeoROTSfhNaALZUodMt4em=_Q@mail.gmail.com> <20130323005838.947157858@smtp.mail.me.com> <CAB9rx+-kKNEUH0VWA_ffrcHfh59eSAxbgHNXWhkm+BrC44rqWw@mail.gmail.com>
X-Mailer: CTM PowerMail version 6.1.5b1 build 4653 English (intel) <http://www.ctmdev.com>
MIME-version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: quoted-printable
Cc: dtn-security <dtn-security@irtf.org>
Subject: [dtn-security] Re(4): Including fragment offset in the correlator doesn't prevent all fragment collisions.
X-BeenThere: dtn-security@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "The Delay-Tolerant Networking Research Group \(DTNRG\) - Security." <dtn-security.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/dtn-security>, <mailto:dtn-security-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/dtn-security>
List-Post: <mailto:dtn-security@irtf.org>
List-Help: <mailto:dtn-security-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/dtn-security>, <mailto:dtn-security-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sat, 23 Mar 2013 21:32:58 -0000

Hi Amy,

Amy Alford <aloomis@sarn.org> wrote:

>Yes, my example was assuming a PIB ciphersuite that used two blocks
>(similar to BAB).  That case is the most problematic, because when the
>bundle is fragmented, the two blocks will end up in separate fragments.
> Otherwise, the correlator collision isn't a problem as long as reassembly
>happens at the destination.

PIB is, in some ways, a more difficult scenario than PCB. When a bundle =
with PCB arrives at the security-dest, the payload is decrypted (and other =
blocks as appropriate) and the PCB itself is deleted. But some folks want to have =
PIBs remain even after verification, as evidence I guess. That is messy.

Is there a specific reason for a two-block PIB=3F

>> As you can see, this is a quite involved process. A couple of things are
>> worthy of note:
>> 1. correlators are local to their bundle
>> 2. a block with a correlator may be encapsulated, with PCB for example.
>> The original correlator is hidden until decapsulation occurs (not shown
>> above for sake of brevity :)
>> 3. reassembly is a very, very complex process.
>>
>I was pondering how to support these sorts of cases (which end up needing
>validation and reassembly interleaved somehow).  In thinking about it, I
>started running into scenarios that aren't supportable.  The example I gave
>is one (which I think shows that bundles with two block PIBs need to have
>the do not fragment flag set).

It may be sufficient to apply the replicate-key-info-in-every-block rule. =
I don't know without thinking about it some more.

>Additionally, in general, if an intermediate node reassembles fragments
>that have had BSP blocks added after fragmentation, we can't validate.  Too
>much information is lost on reassembly (even if it's done sensibly).  5050
>allows intermediate nodes to reassemble, but doesn't mandate a procedure
>for reassembling the extension blocks (so it may not be done sensibly).

It's not just an issue of reassembling/reordering extension blocks. As the =
final example shows, any attempt to reassemble-first is doomed to failure =
because the two parts were encrypted under different second-stage keys. 

It's clear to me that reassembly of bundles containing security blocks =
must be done in concert with security processing. This needs to be incorporated =
into any update to 5050. And, as you say, there are cases that aren't =
supportable with the capabilities we now have.

Regards.....Peter


From shepherd0309@qq.com  Sun Mar 24 21:06:20 2013
Return-Path: <shepherd0309@qq.com>
X-Original-To: dtn-security@ietfa.amsl.com
Delivered-To: dtn-security@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8A9A221F8E23 for <dtn-security@ietfa.amsl.com>; Sun, 24 Mar 2013 21:06:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 4.012
X-Spam-Level: ****
X-Spam-Status: No, score=4.012 tagged_above=-999 required=5 tests=[AWL=2.443,  BAYES_40=-0.185, HTML_MESSAGE=0.001, MIME_BASE64_TEXT=1.753]
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 GEPhl+PYWYEX for <dtn-security@ietfa.amsl.com>; Sun, 24 Mar 2013 21:06:19 -0700 (PDT)
Received: from smtpbg64.qq.com (smtpbg62.qq.com [103.7.29.139]) by ietfa.amsl.com (Postfix) with SMTP id 33A3521F8E14 for <dtn-security@irtf.org>; Sun, 24 Mar 2013 21:06:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s0907; t=1364184368; bh=e5IG/swB5OAa1Z17iju7WIjqH6NJwZIXTMeyvgnod/A=; h=X-QQ-mid:Received:X-QQ-SSF:Date:From:To:Reply-To:Subject: References:X-Priority:X-Has-Attach:X-Mailer:Mime-Version: Message-ID:Content-Type; b=UTQu56gmS3a8fuHx+i2QVEVPYoA2mrwtOyWe0fsBzwoqOIPZ7WFk+U+Ta/mmTBVA+ g0YeKsgzTttc5TFU5SPWCvA+8pu1kt2ehH2cgHUyWAtpRlTCE6/fzUi4obO8Zkz
X-QQ-mid: esmtp30t1364184367t452t27128
Received: from WWW-337DD9F2496 (unknown [58.18.168.125]) by esmtp4.qq.com (ESMTP) with  id ; Mon, 25 Mar 2013 12:06:06 +0800 (CST)
X-QQ-SSF: 01000000000000F0FxF00F000000000
Date: Mon, 25 Mar 2013 12:06:12 +0800
From: jiangxin <shepherd0309@qq.com>
To: dtn-security <dtn-security@irtf.org>, dtn-security <dtn-security@irtf.org>
References: <mailman.26.1364151616.29412.dtn-security@irtf.org>
X-Priority: 3
X-Has-Attach: no
X-Mailer: Foxmail 7.0.1.92[cn]
Mime-Version: 1.0
Message-ID: <201303251206112819950@qq.com>
Content-Type: multipart/alternative; boundary="----=_001_NextPart437758556335_=----"
Subject: Re: [dtn-security] dtn-security Digest, Vol 11, Issue 5
X-BeenThere: dtn-security@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
Reply-To: shepherd0309 <shepherd0309@qq.com>
List-Id: "The Delay-Tolerant Networking Research Group \(DTNRG\) - Security." <dtn-security.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/dtn-security>, <mailto:dtn-security-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/dtn-security>
List-Post: <mailto:dtn-security@irtf.org>
List-Help: <mailto:dtn-security-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/dtn-security>, <mailto:dtn-security-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Mar 2013 04:06:20 -0000

This is a multi-part message in MIME format.

------=_001_NextPart437758556335_=----
Content-Type: text/plain;
	charset="gb2312"
Content-Transfer-Encoding: base64

Y291bGQgeW91IHBsZWFzZSB0ZWxsIG1lIGhvdyB0byBpbXBsZW1lbnQgdGhlIERUTiBpbmNlbnRp
dmUgbWVjaGFuaXNtIG9uIFRoZSBPTkUgPyBBbmQgY291bGQgeW91IHBsZWFzZSBzZW5kIG1lIHNv
bWUgc2ltdWxhdGlvbiBzY3JpcHRzPw0KDQoNCg0KDQpqaWFuZ3hpbg0KDQpGcm9tOiBkdG4tc2Vj
dXJpdHktcmVxdWVzdA0KRGF0ZTogMjAxMy0wMy0yNSAwMzowMA0KVG86IGR0bi1zZWN1cml0eQ0K
U3ViamVjdDogZHRuLXNlY3VyaXR5IERpZ2VzdCwgVm9sIDExLCBJc3N1ZSA1DQpJZiB5b3UgaGF2
ZSByZWNlaXZlZCB0aGlzIGRpZ2VzdCB3aXRob3V0IGFsbCB0aGUgaW5kaXZpZHVhbCBtZXNzYWdl
DQphdHRhY2htZW50cyB5b3Ugd2lsbCBuZWVkIHRvIHVwZGF0ZSB5b3VyIGRpZ2VzdCBvcHRpb25z
IGluIHlvdXIgbGlzdA0Kc3Vic2NyaXB0aW9uLiAgVG8gZG8gc28sIGdvIHRvIA0KDQpodHRwczov
L3d3dy5pcnRmLm9yZy9tYWlsbWFuL2xpc3RpbmZvL2R0bi1zZWN1cml0eQ0KDQpDbGljayB0aGUg
J1Vuc3Vic2NyaWJlIG9yIGVkaXQgb3B0aW9ucycgYnV0dG9uLCBsb2cgaW4sIGFuZCBzZXQgIkdl
dA0KTUlNRSBvciBQbGFpbiBUZXh0IERpZ2VzdHM/IiB0byBNSU1FLiAgWW91IGNhbiBzZXQgdGhp
cyBvcHRpb24NCmdsb2JhbGx5IGZvciBhbGwgdGhlIGxpc3QgZGlnZXN0cyB5b3UgcmVjZWl2ZSBh
dCB0aGlzIHBvaW50Lg0KDQoNCg0KU2VuZCBkdG4tc2VjdXJpdHkgbWFpbGluZyBsaXN0IHN1Ym1p
c3Npb25zIHRvDQpkdG4tc2VjdXJpdHlAaXJ0Zi5vcmcNCg0KVG8gc3Vic2NyaWJlIG9yIHVuc3Vi
c2NyaWJlIHZpYSB0aGUgV29ybGQgV2lkZSBXZWIsIHZpc2l0DQpodHRwczovL3d3dy5pcnRmLm9y
Zy9tYWlsbWFuL2xpc3RpbmZvL2R0bi1zZWN1cml0eQ0Kb3IsIHZpYSBlbWFpbCwgc2VuZCBhIG1l
c3NhZ2Ugd2l0aCBzdWJqZWN0IG9yIGJvZHkgJ2hlbHAnIHRvDQpkdG4tc2VjdXJpdHktcmVxdWVz
dEBpcnRmLm9yZw0KDQpZb3UgY2FuIHJlYWNoIHRoZSBwZXJzb24gbWFuYWdpbmcgdGhlIGxpc3Qg
YXQNCmR0bi1zZWN1cml0eS1vd25lckBpcnRmLm9yZw0KDQpXaGVuIHJlcGx5aW5nLCBwbGVhc2Ug
ZWRpdCB5b3VyIFN1YmplY3QgbGluZSBzbyBpdCBpcyBtb3JlIHNwZWNpZmljDQp0aGFuICJSZTog
Q29udGVudHMgb2YgZHRuLXNlY3VyaXR5IGRpZ2VzdC4uLiINCg0KDQoNClRvZGF5J3MgVG9waWNz
Og0KDQogICAxLiBSZSg0KTogSW5jbHVkaW5nIGZyYWdtZW50IG9mZnNldCBpbiB0aGUgY29ycmVs
YXRvciBkb2Vzbid0DQogICAgICBwcmV2ZW50IGFsbCBmcmFnbWVudCBjb2xsaXNpb25zLiAoUGV0
ZXIgTG92ZWxsKQ==

------=_001_NextPart437758556335_=----
Content-Type: text/html;
	charset="gb2312"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3DGB2312" http-equiv=3DContent-Type>
<STYLE>
BLOCKQUOTE {
	MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
	MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
	MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
P {
	MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
BODY {
	LINE-HEIGHT: 1.5; FONT-FAMILY: =CB=CE=CC=E5; COLOR: #000080; FONT-SIZE: 1=
0.5pt
}
</STYLE>

<META name=3DGENERATOR content=3D"MSHTML 8.00.6001.19403"></HEAD>
<BODY style=3D"MARGIN: 10px">
<DIV>could you please tell me how to implement the DTN incentive mechanism=
 on=20
The ONE ? And could you please send me some simulation scripts?</DIV>
<DIV>&nbsp;</DIV>
<HR style=3D"WIDTH: 210px; HEIGHT: 1px" align=3Dleft color=3D#b5c4df SIZE=
=3D1>

<DIV><SPAN>jiangxin</SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV=20
style=3D"BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOT=
TOM: 0cm; PADDING-LEFT: 0cm; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt s=
olid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<DIV=20
style=3D"PADDING-BOTTOM: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px; BACKG=
ROUND: #efefef; COLOR: #000000; FONT-SIZE: 12px; PADDING-TOP: 8px">
<DIV><B>From:</B>&nbsp;<A=20
href=3D"mailto:dtn-security-request@irtf.org">dtn-security-request</A></DI=
V>
<DIV><B>Date:</B>&nbsp;2013-03-25&nbsp;03:00</DIV>
<DIV><B>To:</B>&nbsp;<A=20
href=3D"mailto:dtn-security@irtf.org">dtn-security</A></DIV>
<DIV><B>Subject:</B>&nbsp;dtn-security Digest, Vol 11, Issue 5</DIV></DIV>=
</DIV>
<DIV>
<DIV>If&nbsp;you&nbsp;have&nbsp;received&nbsp;this&nbsp;digest&nbsp;withou=
t&nbsp;all&nbsp;the&nbsp;individual&nbsp;message</DIV>
<DIV>attachments&nbsp;you&nbsp;will&nbsp;need&nbsp;to&nbsp;update&nbsp;you=
r&nbsp;digest&nbsp;options&nbsp;in&nbsp;your&nbsp;list</DIV>
<DIV>subscription.&nbsp;&nbsp;To&nbsp;do&nbsp;so,&nbsp;go&nbsp;to&nbsp;</D=
IV>
<DIV>&nbsp;</DIV>
<DIV>https://www.irtf.org/mailman/listinfo/dtn-security</DIV>
<DIV>&nbsp;</DIV>
<DIV>Click&nbsp;the&nbsp;'Unsubscribe&nbsp;or&nbsp;edit&nbsp;options'&nbsp=
;button,&nbsp;log&nbsp;in,&nbsp;and&nbsp;set&nbsp;"Get</DIV>
<DIV>MIME&nbsp;or&nbsp;Plain&nbsp;Text&nbsp;Digests?"&nbsp;to&nbsp;MIME.&n=
bsp;&nbsp;You&nbsp;can&nbsp;set&nbsp;this&nbsp;option</DIV>
<DIV>globally&nbsp;for&nbsp;all&nbsp;the&nbsp;list&nbsp;digests&nbsp;you&n=
bsp;receive&nbsp;at&nbsp;this&nbsp;point.</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Send&nbsp;dtn-security&nbsp;mailing&nbsp;list&nbsp;submissions&nbsp;t=
o</DIV>
<DIV>dtn-security@irtf.org</DIV>
<DIV>&nbsp;</DIV>
<DIV>To&nbsp;subscribe&nbsp;or&nbsp;unsubscribe&nbsp;via&nbsp;the&nbsp;Wor=
ld&nbsp;Wide&nbsp;Web,&nbsp;visit</DIV>
<DIV>https://www.irtf.org/mailman/listinfo/dtn-security</DIV>
<DIV>or,&nbsp;via&nbsp;email,&nbsp;send&nbsp;a&nbsp;message&nbsp;with&nbsp=
;subject&nbsp;or&nbsp;body&nbsp;'help'&nbsp;to</DIV>
<DIV>dtn-security-request@irtf.org</DIV>
<DIV>&nbsp;</DIV>
<DIV>You&nbsp;can&nbsp;reach&nbsp;the&nbsp;person&nbsp;managing&nbsp;the&n=
bsp;list&nbsp;at</DIV>
<DIV>dtn-security-owner@irtf.org</DIV>
<DIV>&nbsp;</DIV>
<DIV>When&nbsp;replying,&nbsp;please&nbsp;edit&nbsp;your&nbsp;Subject&nbsp=
;line&nbsp;so&nbsp;it&nbsp;is&nbsp;more&nbsp;specific</DIV>
<DIV>than&nbsp;"Re:&nbsp;Contents&nbsp;of&nbsp;dtn-security&nbsp;digest...=
"</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Today's&nbsp;Topics:</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;1.&nbsp;Re(4):&nbsp;Including&nbsp;fragment&nbsp;of=
fset&nbsp;in&nbsp;the&nbsp;correlator&nbsp;doesn't</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;prevent&nbsp;all&nbsp;fragment&nb=
sp;collisions.&nbsp;(Peter&nbsp;Lovell)</DIV>
<DIV>&nbsp;</DIV></DIV></BODY></HTML>

------=_001_NextPart437758556335_=------




From aloomis@sarn.org  Mon Mar 25 12:58:35 2013
Return-Path: <aloomis@sarn.org>
X-Original-To: dtn-security@ietfa.amsl.com
Delivered-To: dtn-security@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0B14921F942F for <dtn-security@ietfa.amsl.com>; Mon, 25 Mar 2013 12:58:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.976
X-Spam-Level: 
X-Spam-Status: No, score=-2.976 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 N-WXWjWoGM1U for <dtn-security@ietfa.amsl.com>; Mon, 25 Mar 2013 12:58:34 -0700 (PDT)
Received: from mail-qa0-f52.google.com (mail-qa0-f52.google.com [209.85.216.52]) by ietfa.amsl.com (Postfix) with ESMTP id F26EE21F88A1 for <dtn-security@irtf.org>; Mon, 25 Mar 2013 12:58:33 -0700 (PDT)
Received: by mail-qa0-f52.google.com with SMTP id bs12so1436910qab.11 for <dtn-security@irtf.org>; Mon, 25 Mar 2013 12:58:33 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:x-gm-message-state; bh=NJYqAnrq6sOOukuwzGZxpCh4Wx91WQmdluaGC2VM/fc=; b=WeZV2QO+1k2BocmhMTrdeoiUkCEDvaer6YI953VyqwQz9RQtc3Ki+ni72ZAmpiVk20 /LKVoL8adSxUb5DvIQ330iQ/59WX14Bb6QiaePZo42YrX2UFPJfhoPRTQ93PWzC/TB9T XUOxxdM8UpIFJnCkM08+MC3WJbUPSrSC04Ckmt/kQxwnFERx/4aYchQC/MdOrLi60R5r tU5bCqkHNlvb2FaeanVzbJZF6CEUedPoRGqXaxmTslnxshYYyliXBmBXZ+phyF/DcbCw OkBo5c1SAKalDfHL+yzNqBw6BXDVGF7gAIQJPxshd8NzMBfemwHtDblQ1GUpCBQbVCco JLaA==
MIME-Version: 1.0
X-Received: by 10.224.188.13 with SMTP id cy13mr3430989qab.53.1364241513298; Mon, 25 Mar 2013 12:58:33 -0700 (PDT)
Received: by 10.49.81.199 with HTTP; Mon, 25 Mar 2013 12:58:33 -0700 (PDT)
In-Reply-To: <20130323213252.461319491@smtp.mail.me.com>
References: <CAB9rx+85HHsNj=EhmsqhCdtY5k=S4p1Jgzz4VsmEC+43ERygWA@mail.gmail.com> <20130320011114.1072992195@smtp.mail.me.com> <CAB9rx+_EK7u8kkDhscBdqnGHYSeoROTSfhNaALZUodMt4em=_Q@mail.gmail.com> <20130323005838.947157858@smtp.mail.me.com> <CAB9rx+-kKNEUH0VWA_ffrcHfh59eSAxbgHNXWhkm+BrC44rqWw@mail.gmail.com> <20130323213252.461319491@smtp.mail.me.com>
Date: Mon, 25 Mar 2013 15:58:33 -0400
Message-ID: <CAB9rx+-5yowPPSHfmME8Mhu5Y1B6hzVOPyRk3qpsZ200A=n6WA@mail.gmail.com>
From: Amy Alford <aloomis@sarn.org>
To: Peter Lovell <plovell@mac.com>
Content-Type: multipart/alternative; boundary=485b397dd3b5c9d53e04d8c53a61
X-Gm-Message-State: ALoCoQmFFjYHYWa3itCgn2QA0hxzBmO0/PRwhFHqWKOeZCBWRhT9VF373/yXXaFpwtWKpBS7dfzk
Cc: dtn-security <dtn-security@irtf.org>
Subject: Re: [dtn-security] Re(4): Including fragment offset in the correlator doesn't prevent all fragment collisions.
X-BeenThere: dtn-security@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "The Delay-Tolerant Networking Research Group \(DTNRG\) - Security." <dtn-security.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/dtn-security>, <mailto:dtn-security-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/dtn-security>
List-Post: <mailto:dtn-security@irtf.org>
List-Help: <mailto:dtn-security-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/dtn-security>, <mailto:dtn-security-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Mar 2013 19:58:35 -0000

--485b397dd3b5c9d53e04d8c53a61
Content-Type: text/plain; charset=ISO-8859-1

On Sat, Mar 23, 2013 at 5:32 PM, Peter Lovell <plovell@mac.com> wrote:

> Hi Amy,
>
> Amy Alford <aloomis@sarn.org> wrote:
>
> >Yes, my example was assuming a PIB ciphersuite that used two blocks
> >(similar to BAB).  That case is the most problematic, because when the
> >bundle is fragmented, the two blocks will end up in separate fragments.
> > Otherwise, the correlator collision isn't a problem as long as reassembly
> >happens at the destination.
>
> PIB is, in some ways, a more difficult scenario than PCB. When a bundle
> with PCB arrives at the security-dest, the payload is decrypted (and other
> blocks as appropriate) and the PCB itself is deleted. But some folks want
> to have PIBs remain even after verification, as evidence I guess. That is
> messy.
>
Leaving PIBs on after verification is problematic anyway, if the PIB was
added after a PCB.  Once the PCB reaches it's security destination, the PIB
is invalid anyhow.


>
> Is there a specific reason for a two-block PIB?
>

6257 mentions the idea of PIB ciphersuites that use a trailing block
similar to BAB.  I assume you'd still want an up front block to warn nodes
that are doing one pass processing that they need to start hashing.


>
> >> As you can see, this is a quite involved process. A couple of things are
> >> worthy of note:
> >> 1. correlators are local to their bundle
> >> 2. a block with a correlator may be encapsulated, with PCB for example.
> >> The original correlator is hidden until decapsulation occurs (not shown
> >> above for sake of brevity :)
> >> 3. reassembly is a very, very complex process.
> >>
> >I was pondering how to support these sorts of cases (which end up needing
> >validation and reassembly interleaved somehow).  In thinking about it, I
> >started running into scenarios that aren't supportable.  The example I
> gave
> >is one (which I think shows that bundles with two block PIBs need to have
> >the do not fragment flag set).
> It may be sufficient to apply the replicate-key-info-in-every-block rule.
> I don't know without thinking about it some more.
>

I think it would fix the example I gave.  The last fragment would contain
both the leading and trailing PIB blocks.  The leading block could be used
to match this up with the corresponding fragment (which also has a leading
PIB block but is missing the trailing one).  It would be a pain in terms of
processing, since defragmentation would need to match up the corresponding
fragments by comparing their leading PIB blocks.



>
> >Additionally, in general, if an intermediate node reassembles fragments
> >that have had BSP blocks added after fragmentation, we can't validate.
>  Too
> >much information is lost on reassembly (even if it's done sensibly).  5050
> >allows intermediate nodes to reassemble, but doesn't mandate a procedure
> >for reassembling the extension blocks (so it may not be done sensibly).
>
> It's not just an issue of reassembling/reordering extension blocks. As the
> final example shows, any attempt to reassemble-first is doomed to failure
> because the two parts were encrypted under different second-stage keys.


> It's clear to me that reassembly of bundles containing security blocks
> must be done in concert with security processing. This needs to be
> incorporated into any update to 5050. And, as you say, there are cases that
> aren't supportable with the capabilities we now have.
>

Yes.  In general, nodes shouldn't reassemble a bundle if they don't
understand all the extension blocks.  BSP aware nodes shouldn't reassemble
fragments except in concert with security processing.



>
> Regards.....Peter
>
>

--485b397dd3b5c9d53e04d8c53a61
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Sat, Mar 23, 2013 at 5:32 PM, Peter L=
ovell <span dir=3D"ltr">&lt;<a href=3D"mailto:plovell@mac.com" target=3D"_b=
lank">plovell@mac.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_q=
uote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1e=
x">


Hi Amy,<br>
<br>
Amy Alford &lt;<a href=3D"mailto:aloomis@sarn.org" target=3D"_blank">aloomi=
s@sarn.org</a>&gt; wrote:<br>
<br>
&gt;Yes, my example was assuming a PIB ciphersuite that used two blocks<br>
&gt;(similar to BAB). =A0That case is the most problematic, because when th=
e<br>
&gt;bundle is fragmented, the two blocks will end up in separate fragments.=
<br>
&gt; Otherwise, the correlator collision isn&#39;t a problem as long as rea=
ssembly<br>
&gt;happens at the destination.<br>
<br>
PIB is, in some ways, a more difficult scenario than PCB. When a bundle wit=
h PCB arrives at the security-dest, the payload is decrypted (and other blo=
cks as appropriate) and the PCB itself is deleted. But some folks want to h=
ave PIBs remain even after verification, as evidence I guess. That is messy=
.<br>


</blockquote><div>Leaving PIBs on after verification is problematic anyway,=
 if the PIB was added after a PCB. =A0Once the PCB reaches it&#39;s securit=
y destination, the PIB is invalid anyhow.</div><div>=A0</div><blockquote cl=
ass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;p=
adding-left:1ex">



<br>
Is there a specific reason for a two-block PIB?<br></blockquote><div>=A0</d=
iv><div>6257 mentions the idea of PIB ciphersuites that use a trailing bloc=
k similar to BAB. =A0I assume you&#39;d still want an up front block to war=
n nodes that are doing one pass processing that they need to start hashing.=
</div>


<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex">
<br>
&gt;&gt; As you can see, this is a quite involved process. A couple of thin=
gs are<br>
&gt;&gt; worthy of note:<br>
&gt;&gt; 1. correlators are local to their bundle<br>
&gt;&gt; 2. a block with a correlator may be encapsulated, with PCB for exa=
mple.<br>
&gt;&gt; The original correlator is hidden until decapsulation occurs (not =
shown<br>
&gt;&gt; above for sake of brevity :)<br>
&gt;&gt; 3. reassembly is a very, very complex process.<br>
&gt;&gt;<br>
&gt;I was pondering how to support these sorts of cases (which end up needi=
ng<br>
&gt;validation and reassembly interleaved somehow). =A0In thinking about it=
, I<br>
&gt;started running into scenarios that aren&#39;t supportable. =A0The exam=
ple I gave<br>
&gt;is one (which I think shows that bundles with two block PIBs need to ha=
ve<br>
&gt;the do not fragment flag set). =A0<br>
It may be sufficient to apply the replicate-key-info-in-every-block rule. I=
 don&#39;t know without thinking about it some more.<br></blockquote><div><=
br></div><div>I think it would fix the example I gave. =A0The last fragment=
 would contain both the leading and trailing PIB blocks. =A0The leading blo=
ck could be used to match this up with the corresponding fragment (which al=
so has a leading PIB block but is missing the trailing one). =A0It would be=
 a pain in terms of processing, since defragmentation would need to match u=
p the corresponding fragments by comparing their leading PIB blocks.</div>
<div><br></div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
&gt;Additionally, in general, if an intermediate node reassembles fragments=
<br>
&gt;that have had BSP blocks added after fragmentation, we can&#39;t valida=
te. =A0Too<br>
&gt;much information is lost on reassembly (even if it&#39;s done sensibly)=
. =A05050<br>
&gt;allows intermediate nodes to reassemble, but doesn&#39;t mandate a proc=
edure<br>
&gt;for reassembling the extension blocks (so it may not be done sensibly).=
<br>
<br>
It&#39;s not just an issue of reassembling/reordering extension blocks. As =
the final example shows, any attempt to reassemble-first is doomed to failu=
re because the two parts were encrypted under different second-stage keys.<=
/blockquote>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">

<br>
It&#39;s clear to me that reassembly of bundles containing security blocks =
must be done in concert with security processing. This needs to be incorpor=
ated into any update to 5050. And, as you say, there are cases that aren&#3=
9;t supportable with the capabilities we now have.<br>

</blockquote><div>=A0</div><div>Yes. =A0In general, nodes shouldn&#39;t rea=
ssemble a bundle if they don&#39;t understand all the extension blocks. =A0=
BSP aware nodes shouldn&#39;t reassemble fragments except in concert with s=
ecurity processing.</div>

<div><br></div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br>
Regards.....Peter<br>
<br>
</blockquote></div><br>

--485b397dd3b5c9d53e04d8c53a61--
