
From daniel.hao.zhuang@gmail.com  Wed Nov  2 03:44:50 2011
Return-Path: <daniel.hao.zhuang@gmail.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 513EA11E815E for <dtn-security@ietfa.amsl.com>; Wed,  2 Nov 2011 03:44:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.996
X-Spam-Level: 
X-Spam-Status: No, score=-2.996 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_72=0.6, NORMAL_HTTP_TO_IP=0.001, RCVD_IN_DNSWL_LOW=-1, WEIRD_PORT=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 amZMTOaKPMKj for <dtn-security@ietfa.amsl.com>; Wed,  2 Nov 2011 03:44:49 -0700 (PDT)
Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.216.175]) by ietfa.amsl.com (Postfix) with ESMTP id AF19621F8C0A for <dtn-security@irtf.org>; Wed,  2 Nov 2011 03:44:47 -0700 (PDT)
Received: by qyc1 with SMTP id 1so1377721qyc.13 for <dtn-security@irtf.org>; Wed, 02 Nov 2011 03:44:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; bh=JZAeXaLDQ/3IQt4gr1Gjpq5L1mwptu8A3qr96D0Gizg=; b=xblEe4NgJF77ZilEKkjQhZn/jY8Ed3Pb21oi9GzT9ZMOycd8xniqBEChKtV9h1jEuI CC8Rf29n/AnQn83QyYq3eh9qOAuHBRv+uqezz0c6UdnoL7OxiU6lBN6wCCttA5ziyk4q gWHF1Z/tpiCRfPuXFhnxf3twrdG0a+fGgHMz0=
MIME-Version: 1.0
Received: by 10.182.41.69 with SMTP id d5mr760479obl.47.1320230685981; Wed, 02 Nov 2011 03:44:45 -0700 (PDT)
Received: by 10.182.145.99 with HTTP; Wed, 2 Nov 2011 03:44:45 -0700 (PDT)
Date: Wed, 2 Nov 2011 11:44:45 +0100
Message-ID: <CABL3tr5yAhBQwDzNao-6rLBpY45YCvH_vBVvWxuGHjKd3AxhrA@mail.gmail.com>
From: Hao Zhuang <daniel.hao.zhuang@gmail.com>
To: dtn-security@irtf.org
Content-Type: multipart/alternative; boundary=f46d0444e96b0f3b2404b0be29a3
X-Mailman-Approved-At: Wed, 02 Nov 2011 03:56:27 -0700
Cc: Anitha Kathirvel <anithak@kth.se>, herve.ntareme@gamil.com, Xuelin Xiong <xuelin@kth.se>
Subject: [dtn-security] Security implementation in Prophet rouing
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, 02 Nov 2011 10:46:26 -0000

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

Hi all,
We are going to transport the security implementation from* static routing*to
*Prophet routing*. In static routing, keystore files are imported to each
device and dtn software can find the correct destination's public key to
encrypt the symmetric key before sending the bundles. However, in
Propheting routing, how to get the right public key from the destination?
In static routing, dtn configure file
************************************************************************************
<tns:LinksSetting>
<!--  Setup your links here -->
     <tns:Link id="village_tcp_link" conv_layer_type="tcp" dest="
192.168.1.2:4556" type="ONDEMAND"/>
     <tns:Link id="city_tcp_link" conv_layer_type="tcp" dest="
192.168.2.3:4556" type="ONDEMAND"/>
     <tns:Link id="androidLaptop_tcp_link" conv_layer_type="tcp" dest="
192.168.2.25:4556" type="ONDEMAND"/>
     <tns:Link id="androidLaptop_tcp_link_viaVillage" conv_layer_type="tcp"
dest="192.168.1.25:4556" type="ONDEMAND"/>
     <tns:Link id="tattoo_tcp_link" conv_layer_type="tcp" dest="
192.168.1.29:4556" type="ONDEMAND"/>
</tns:LinksSetting>
<!--  Routes Section -->
<tns:RoutesSetting *router_type="static"* local_eid="dtn://
nexus.bytewalla.com"> * // it can get the right destination public keys*
     <!--  Setup your routes here -->
     <tns:Route dest="dtn://village.bytewalla.com/*"
link_id="village_tcp_link"/>
     <tns:Route dest="dtn://city.bytewalla.com/*" link_id="city_tcp_link"/>
     <tns:Route dest="dtn://android.bytewalla.com/*"
link_id="androidLaptop_tcp_link_viaVillage"/>
     <tns:Route dest="dtn://tattoo.bytewalla.com/*"
link_id="tattoo_tcp_link"/>
</tns:RoutesSetting>
************************************************************************************
*Now, in dynamic routing, the configure file is below*
************************************************************************************
<!--  Links Section -->
    <tns:LinksSetting>
        <!--  Setup your links here -->                        *      //nothing
in the link section*
    </tns:LinksSetting>

    <!--  Routes Section -->
    <tns:RoutesSetting *router_type="prophet"* P_encounter="0.5"
                               *   //this is based on prophet routing*
        P_encounter_first="0.25" delta="0.01" alpha="0.5" beta="0.9" K="1"
queuing="Fifo">
        <!--  Setup your routes here -->
    </tns:RoutesSetting>

    <tns:DiscoveriesSetting>
        <!--  Setup your Discovery here -->
        <tns:Discovery id="ipdisc0" address_family="ip"
port="9556"></tns:Discovery>
        <tns:Announce interface_id="tcp0" discovery_id="ipdisc0"
            conv_layer_type="tcp"></tns:Announce>
    </tns:DiscoveriesSetting>

************************************************************************************
Is there any idea on key transport under the environment of* prophet routing
*?
Thank you for your time.

Sincerely,
Hao

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

Hi all,<div><div>We are going to transport the security implementation from=
<b> static routing</b> to <b>Prophet routing</b>. In static routing,=A0<spa=
n style=3D"font-family:arial, sans-serif;font-size:13px;background-color:rg=
b(255, 255, 255)">keystore files are imported to each device and dtn softwa=
re can find the correct destination&#39;s public key to encrypt the symmetr=
ic key before sending the bundles. However, in Propheting routing, how to g=
et the right public key from the destination?</span></div>
<div><font class=3D"Apple-style-span" face=3D"arial, sans-serif">In static =
routing, dtn configure file=A0</font></div>
<div><span style=3D"font-family:arial, sans-serif;font-size:13px;background=
-color:rgb(255, 255, 255)"><div>*******************************************=
*****************************************</div><div>&lt;tns:LinksSetting&gt=
;</div>
<div>&lt;!-- =A0Setup your links here --&gt;</div><div>=A0 =A0 =A0&lt;tns:L=
ink id=3D&quot;village_tcp_link&quot; conv_layer_type=3D&quot;tcp&quot; des=
t=3D&quot;<a href=3D"http://192.168.1.2:4556/" target=3D"_blank" style=3D"c=
olor: rgb(0, 0, 204); ">192.168.1.2:4556</a>&quot; type=3D&quot;ONDEMAND&qu=
ot;/&gt;</div>
<div>=A0 =A0 =A0&lt;tns:Link id=3D&quot;city_tcp_link&quot; conv_layer_type=
=3D&quot;tcp&quot; dest=3D&quot;<a href=3D"http://192.168.2.3:4556/" target=
=3D"_blank" style=3D"color: rgb(0, 0, 204); ">192.168.2.3:4556</a>&quot; ty=
pe=3D&quot;ONDEMAND&quot;/&gt;</div>
<div>=A0 =A0 =A0&lt;tns:Link id=3D&quot;androidLaptop_tcp_link&quot; conv_l=
ayer_type=3D&quot;tcp&quot; dest=3D&quot;<a href=3D"http://192.168.2.25:455=
6/" target=3D"_blank" style=3D"color: rgb(0, 0, 204); ">192.168.2.25:4556</=
a>&quot; type=3D&quot;ONDEMAND&quot;/&gt;</div>
<div>=A0 =A0 =A0&lt;tns:Link id=3D&quot;androidLaptop_tcp_link_viaVillage&q=
uot; conv_layer_type=3D&quot;tcp&quot; dest=3D&quot;<a href=3D"http://192.1=
68.1.25:4556/" target=3D"_blank" style=3D"color: rgb(0, 0, 204); ">192.168.=
1.25:4556</a>&quot; type=3D&quot;ONDEMAND&quot;/&gt;</div>
<div>=A0 =A0 =A0&lt;tns:Link id=3D&quot;tattoo_tcp_link&quot; conv_layer_ty=
pe=3D&quot;tcp&quot; dest=3D&quot;<a href=3D"http://192.168.1.29:4556/" tar=
get=3D"_blank" style=3D"color: rgb(0, 0, 204); ">192.168.1.29:4556</a>&quot=
; type=3D&quot;ONDEMAND&quot;/&gt;</div>
<div>&lt;/tns:LinksSetting&gt;</div><div>&lt;!-- =A0Routes Section --&gt;</=
div><div>&lt;tns:RoutesSetting=A0<b>router_type=3D&quot;static&quot;</b>=A0=
local_eid=3D&quot;dtn://<a href=3D"http://nexus.bytewalla.com/" target=3D"_=
blank" style=3D"color: rgb(0, 0, 204); ">nexus.bytewalla.com</a>&quot;&gt; =
<b>=A0<font class=3D"Apple-style-span" color=3D"#ff0000">// it can get the =
right destination public keys</font></b></div>
<div>=A0 =A0 =A0&lt;!-- =A0Setup your routes here --&gt;</div><div>=A0 =A0 =
=A0&lt;tns:Route dest=3D&quot;dtn://<a href=3D"http://village.bytewalla.com=
/*" target=3D"_blank" style=3D"color: rgb(0, 0, 204); ">village.bytewalla.c=
om/*</a>&quot; link_id=3D&quot;village_tcp_link&quot;/&gt;</div>
<div>=A0 =A0 =A0&lt;tns:Route dest=3D&quot;dtn://<a href=3D"http://city.byt=
ewalla.com/*" target=3D"_blank" style=3D"color: rgb(0, 0, 204); ">city.byte=
walla.com/*</a>&quot; link_id=3D&quot;city_tcp_link&quot;/&gt;</div><div>=
=A0 =A0 =A0&lt;tns:Route dest=3D&quot;dtn://<a href=3D"http://android.bytew=
alla.com/*" target=3D"_blank" style=3D"color: rgb(0, 0, 204); ">android.byt=
ewalla.com/*</a>&quot; link_id=3D&quot;androidLaptop_tcp_link_viaVillage&qu=
ot;/&gt;</div>
<div>=A0 =A0 =A0&lt;tns:Route dest=3D&quot;dtn://<a href=3D"http://tattoo.b=
ytewalla.com/*" target=3D"_blank" style=3D"color: rgb(0, 0, 204); ">tattoo.=
bytewalla.com/*</a>&quot; link_id=3D&quot;tattoo_tcp_link&quot;/&gt;</div><=
div>&lt;/tns:RoutesSetting&gt;</div>
<div>**********************************************************************=
**************</div><div><div><b>Now, in dynamic routing, the configure fil=
e is below</b></div><div>**************************************************=
**********************************</div>
<div><div>&lt;!-- =A0Links Section --&gt;</div><div>=A0 =A0 &lt;tns:LinksSe=
tting&gt;</div><div>=A0 =A0 =A0 =A0 &lt;!-- =A0Setup your links here --&gt;=
 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0<b>=A0=A0 =A0 =A0<font colo=
r=3D"#ff0000">//nothing in the link section</font></b></div>
<div>=A0 =A0 &lt;/tns:LinksSetting&gt;</div><div><br></div><div>=A0 =A0 &lt=
;!-- =A0Routes Section --&gt;</div><div>=A0 =A0 &lt;tns:RoutesSetting=A0<b>=
router_type=3D&quot;prophet&quot;</b>=A0P_encounter=3D&quot;0.5&quot; =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0<b>=A0=A0<font color=3D"#ff0000">=A0//this is based on prophet routing<=
/font></b></div>
<div>=A0 =A0 =A0 =A0 P_encounter_first=3D&quot;0.25&quot; delta=3D&quot;0.0=
1&quot; alpha=3D&quot;0.5&quot; beta=3D&quot;0.9&quot; K=3D&quot;1&quot; qu=
euing=3D&quot;Fifo&quot;&gt; =A0 =A0 =A0 =A0 =A0 =A0 =A0</div><div>=A0 =A0 =
=A0 =A0 &lt;!-- =A0Setup your routes here --&gt;</div>
<div>=A0 =A0 &lt;/tns:RoutesSetting&gt;</div><div><br></div><div>=A0 =A0 &l=
t;tns:DiscoveriesSetting&gt;</div><div>=A0 =A0 =A0 =A0 &lt;!-- =A0Setup you=
r Discovery here --&gt;</div><div>=A0 =A0 =A0 =A0 &lt;tns:Discovery id=3D&q=
uot;ipdisc0&quot; address_family=3D&quot;ip&quot; port=3D&quot;9556&quot;&g=
t;&lt;/tns:Discovery&gt;</div>
<div>=A0 =A0 =A0 =A0 &lt;tns:Announce interface_id=3D&quot;tcp0&quot; disco=
very_id=3D&quot;ipdisc0&quot;</div><div>=A0 =A0 =A0 =A0 =A0 =A0 conv_layer_=
type=3D&quot;tcp&quot;&gt;&lt;/tns:Announce&gt;</div><div>=A0 =A0 &lt;/tns:=
DiscoveriesSetting&gt;</div>
</div><div><br></div><div>*************************************************=
***********************************</div><div>Is there any idea on key tran=
sport under the environment of<b>=A0prophet routing</b>?</div></div></span>=
</div>
<div><font face=3D"arial, sans-serif">Thank you for your time.</font></div>
<div><font face=3D"arial, sans-serif"><br></font></div><div><font face=3D"a=
rial, sans-serif">Sincerely,</font></div><div><font face=3D"arial, sans-ser=
if">Hao</font></div>
<div><div><font face=3D"arial, sans-serif"><br></font></div>
</div>
</div>

--f46d0444e96b0f3b2404b0be29a3--

From s.shukla@iitp.ac.in  Wed Nov  2 04:19:55 2011
Return-Path: <s.shukla@iitp.ac.in>
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 9F5361F0C8E for <dtn-security@ietfa.amsl.com>; Wed,  2 Nov 2011 04:19:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.799
X-Spam-Level: 
X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, J_CHICKENPOX_102=0.6, J_CHICKENPOX_56=0.6, J_CHICKENPOX_72=0.6]
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 agUNsjlZT1yS for <dtn-security@ietfa.amsl.com>; Wed,  2 Nov 2011 04:19:55 -0700 (PDT)
Received: from magadh.iitp.ac.in (magadh.iitp.ac.in [210.212.18.211]) by ietfa.amsl.com (Postfix) with ESMTP id 532AC1F0C91 for <dtn-security@irtf.org>; Wed,  2 Nov 2011 04:19:54 -0700 (PDT)
Received: from ashoka.iitp.ac.in (ashoka.iitp.ac.in [172.16.1.11] (may be forged)) by magadh.iitp.ac.in (8.14.2/8.14.2) with ESMTP id pA2BeUv5027295; Wed, 2 Nov 2011 17:10:31 +0530
Received: from [172.16.1.11] (localhost.localdomain [127.0.0.1]) by ashoka.iitp.ac.in (Postfix) with ESMTP id 5F9B67D625E; Wed,  2 Nov 2011 16:50:35 +0530 (IST)
Received: from 172.16.1.4 (SquirrelMail authenticated user s.shukla) by 172.16.1.11 with HTTP; Wed, 2 Nov 2011 16:50:35 +0530
Message-ID: <75e4cb2820331747c270a9fbc401a787.squirrel@172.16.1.11>
In-Reply-To: <CABL3tr5yAhBQwDzNao-6rLBpY45YCvH_vBVvWxuGHjKd3AxhrA@mail.gmail.com>
References: <CABL3tr5yAhBQwDzNao-6rLBpY45YCvH_vBVvWxuGHjKd3AxhrA@mail.gmail.com>
Date: Wed, 2 Nov 2011 16:50:35 +0530
From: s.shukla@iitp.ac.in
To: "Hao Zhuang" <daniel.hao.zhuang@gmail.com>
User-Agent: SquirrelMail/
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
X-Virus-Scanned: by amavisd-new
Cc: Xuelin Xiong <xuelin@kth.se>, dtn-security@irtf.org, herve.ntareme@gamil.com, Anitha Kathirvel <anithak@kth.se>
Subject: Re: [dtn-security] Security implementation in Prophet rouing
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, 02 Nov 2011 11:19:55 -0000

Hi Daniel,
I am novice in this area but somthing strike on my mind so I want to share
it with you, Prophet works on history of encounters(so whenever source
node encounter relay it will store its public key for future reference).
In case destination is not available in history of encounters then source
will use second property of prophet i.e transitivity for 1 hop encryption.
I hope my suggestions is correct and useful for you... :)

best/
Shailendra.



> Hi all,
> We are going to transport the security implementation from* static
> routing*to
> *Prophet routing*. In static routing, keystore files are imported to each
> device and dtn software can find the correct destination's public key to
> encrypt the symmetric key before sending the bundles. However, in
> Propheting routing, how to get the right public key from the destination?
> In static routing, dtn configure file
> ************************************************************************************
> <tns:LinksSetting>
> <!--  Setup your links here -->
>      <tns:Link id="village_tcp_link" conv_layer_type="tcp" dest="
> 192.168.1.2:4556" type="ONDEMAND"/>
>      <tns:Link id="city_tcp_link" conv_layer_type="tcp" dest="
> 192.168.2.3:4556" type="ONDEMAND"/>
>      <tns:Link id="androidLaptop_tcp_link" conv_layer_type="tcp" dest="
> 192.168.2.25:4556" type="ONDEMAND"/>
>      <tns:Link id="androidLaptop_tcp_link_viaVillage"
> conv_layer_type="tcp"
> dest="192.168.1.25:4556" type="ONDEMAND"/>
>      <tns:Link id="tattoo_tcp_link" conv_layer_type="tcp" dest="
> 192.168.1.29:4556" type="ONDEMAND"/>
> </tns:LinksSetting>
> <!--  Routes Section -->
> <tns:RoutesSetting *router_type="static"* local_eid="dtn://
> nexus.bytewalla.com"> * // it can get the right destination public keys*
>      <!--  Setup your routes here -->
>      <tns:Route dest="dtn://village.bytewalla.com/*"
> link_id="village_tcp_link"/>
>      <tns:Route dest="dtn://city.bytewalla.com/*"
> link_id="city_tcp_link"/>
>      <tns:Route dest="dtn://android.bytewalla.com/*"
> link_id="androidLaptop_tcp_link_viaVillage"/>
>      <tns:Route dest="dtn://tattoo.bytewalla.com/*"
> link_id="tattoo_tcp_link"/>
> </tns:RoutesSetting>
> ************************************************************************************
> *Now, in dynamic routing, the configure file is below*
> ************************************************************************************
> <!--  Links Section -->
>     <tns:LinksSetting>
>         <!--  Setup your links here -->                        *
> //nothing
> in the link section*
>     </tns:LinksSetting>
>
>     <!--  Routes Section -->
>     <tns:RoutesSetting *router_type="prophet"* P_encounter="0.5"
>                                *   //this is based on prophet routing*
>         P_encounter_first="0.25" delta="0.01" alpha="0.5" beta="0.9" K="1"
> queuing="Fifo">
>         <!--  Setup your routes here -->
>     </tns:RoutesSetting>
>
>     <tns:DiscoveriesSetting>
>         <!--  Setup your Discovery here -->
>         <tns:Discovery id="ipdisc0" address_family="ip"
> port="9556"></tns:Discovery>
>         <tns:Announce interface_id="tcp0" discovery_id="ipdisc0"
>             conv_layer_type="tcp"></tns:Announce>
>     </tns:DiscoveriesSetting>
>
> ************************************************************************************
> Is there any idea on key transport under the environment of* prophet
> routing
> *?
> Thank you for your time.
>
> Sincerely,
> Hao
> _______________________________________________
> dtn-security mailing list
> dtn-security@irtf.org
> https://www.irtf.org/mailman/listinfo/dtn-security
>


###################################################
// Double the Pride,Double the Fall //


From ianglennon@gmail.com  Tue Nov 29 13:26:39 2011
Return-Path: <ianglennon@gmail.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 3C82B11E80C4 for <dtn-security@ietfa.amsl.com>; Tue, 29 Nov 2011 13:26:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.598
X-Spam-Level: 
X-Spam-Status: No, score=-3.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id P2JVx9q8mtIH for <dtn-security@ietfa.amsl.com>; Tue, 29 Nov 2011 13:26:35 -0800 (PST)
Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by ietfa.amsl.com (Postfix) with ESMTP id 723E621F8BBA for <dtn-security@irtf.org>; Tue, 29 Nov 2011 13:26:34 -0800 (PST)
Received: by yenq9 with SMTP id q9so9872471yen.13 for <dtn-security@irtf.org>; Tue, 29 Nov 2011 13:26:34 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=SJvyGkv/nd/sNwqBaNiAix+CLiZEj9Toqng+gDKczRs=; b=a+wQ+PV/LoCYkXdxvnHRrrZZveU5Z6PSt4ymEWmdNvnomvCXgiCK6Rg/aWzN5t3jsq e5YYC7cLKcRgWcbyWBBaeheVJcg0lX+wuF2bXdVDmYETgjCsUq4D2dEOQJEZC3XMrWdo k89RGCBp2xY/b56VepC0Mje/er8IDfqUHHuhI=
MIME-Version: 1.0
Received: by 10.68.5.162 with SMTP id t2mr776677pbt.73.1322601993633; Tue, 29 Nov 2011 13:26:33 -0800 (PST)
Received: by 10.143.163.11 with HTTP; Tue, 29 Nov 2011 13:26:33 -0800 (PST)
Date: Tue, 29 Nov 2011 21:26:33 +0000
Message-ID: <CAJCiAQ2PrKM5WkCbs3CuLNy8HpxvzdkJw8uavx0qpdjF4yF0bQ@mail.gmail.com>
From: Ian Glennon <ianglennon@gmail.com>
To: dtn-security@irtf.org
Content-Type: multipart/alternative; boundary=bcaec52159a502814404b2e646ca
Subject: [dtn-security] Key Distribution
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, 29 Nov 2011 21:26:39 -0000

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

I'm considering the following situation...

Nodes A, B and C are Security Aware DTN Nodes.  Node B is an intermediate
DTN node which handles bundles from Node A to Node C.

1) Node A wishes to encrypt a payload for Node C but does not have a local
copy of the public key for Node C.  Node A will sign the payload using its
private key.  How does Node A obtain the public key?

2) Assuming Node A can obtain Node C's public key, Node B wishes to verify
the integrity of the payload.  How does Node B obtain Node A's public key?

3) On receiving the bundle from Node A, Node C wishes to verify the
integrity of the payload.  How does Node C obtain Node A's public key?

Now clearly the answer to 2) will be the same as that for 3), and also
probably the same for 1).  I am considering some kind of Key Distribution
Node, which would manage the distribution of the public keys to the various
DTN nodes.  At what point, though, would the key request be made?  Would it
be made within the DTN protocol, or would it be made by some application
receiving the bundle payload?  My guess is it would be within the DTN
protocol - certainly for 2) as the verification is handled by the protocol
rather than some application overlaying the protocol.

You may see where I'm going with this - a Key Distribution Network
consisting of nodes handling the distribution of public keys - but I'm not
sure whether requests to a node within the KDNetwork needs to be integrated
into the DTN protocol, or whether it can be an application receiving
requests which sits above the DTN protocol.

Any help, guidance or advice gratefully received.

Ian Glennon
ianglennon@gmail.com

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

I&#39;m considering the following situation...<br><br>Nodes A, B and C are=
=20
Security Aware DTN Nodes.=A0 Node B is an intermediate DTN node which=20
handles bundles from Node A to Node C.=A0 <br><br>1) Node A wishes to=20
encrypt a payload for Node C but does not have a local copy of the=20
public key for Node C.=A0 Node A will sign the payload using its private=20
key.=A0 How does Node A obtain the public key?<br>
<br>2) Assuming Node A can obtain Node C&#39;s public key, Node B wishes to=
=20
verify the integrity of the payload.=A0 How does Node B obtain Node A&#39;s=
=20
public key?<br><br>3) On receiving the bundle from Node A, Node C wishes
 to verify the integrity of the payload.=A0 How does Node C obtain Node=20
A&#39;s public key?<br>
<br>Now clearly the answer to 2) will be the same as that for 3), and=20
also probably the same for 1).=A0 I am considering some kind of Key=20
Distribution Node, which would manage the distribution of the public=20
keys to the various DTN nodes.=A0 At what point, though, would the key=20
request be made?=A0 Would it be made within the DTN protocol, or would it=
=20
be made by some application receiving the bundle payload?=A0 My guess is=20
it would be within the DTN protocol - certainly for 2) as the=20
verification is handled by the protocol rather than some application=20
overlaying the protocol.<br>
<br>You may see where I&#39;m going with this - a Key Distribution Network=
=20
consisting of nodes handling the distribution of public keys - but I&#39;m=
=20
not sure whether requests to a node within the KDNetwork needs to be=20
integrated into the DTN protocol, or whether it can be an application=20
receiving requests which sits above the DTN protocol.<br>
<br>Any help, guidance or advice gratefully received.<br><font color=3D"#88=
8888"><br>Ian Glennon<br><a href=3D"mailto:ianglennon@gmail.com" target=3D"=
_blank">ianglennon@gmail.com</a></font>

--bcaec52159a502814404b2e646ca--

From dennis.c.iannicca@nasa.gov  Tue Nov 29 14:23:20 2011
Return-Path: <dennis.c.iannicca@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 898C311E8139 for <dtn-security@ietfa.amsl.com>; Tue, 29 Nov 2011 14:23:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
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 gd8+zxKOhacn for <dtn-security@ietfa.amsl.com>; Tue, 29 Nov 2011 14:23:20 -0800 (PST)
Received: from ndmsnpf01.ndc.nasa.gov (ndmsnpf01.ndc.nasa.gov [198.117.0.121]) by ietfa.amsl.com (Postfix) with ESMTP id 66B0D11E8129 for <dtn-security@irtf.org>; Tue, 29 Nov 2011 14:23:19 -0800 (PST)
Received: from ndjsppt03.ndc.nasa.gov (ndjsppt03.ndc.nasa.gov [198.117.1.102]) by ndmsnpf01.ndc.nasa.gov (Postfix) with ESMTP id 9E81D260584; Tue, 29 Nov 2011 16:23:18 -0600 (CST)
Received: from ndjshub02.ndc.nasa.gov (ndjshub02-pub.ndc.nasa.gov [198.117.1.161]) by ndjsppt03.ndc.nasa.gov (8.14.4/8.14.4) with ESMTP id pATMNIfQ028842;  Tue, 29 Nov 2011 16:23:18 -0600
Received: from NDJSSCC04.ndc.nasa.gov ([10.58.58.14]) by ndjshub02.ndc.nasa.gov ([198.117.1.161]) with mapi; Tue, 29 Nov 2011 16:23:18 -0600
From: "Iannicca, Dennis C. (GRC-RHN0)" <dennis.c.iannicca@nasa.gov>
To: Ian Glennon <ianglennon@gmail.com>
Date: Tue, 29 Nov 2011 16:23:17 -0600
Thread-Topic: [dtn-security] Key Distribution
Thread-Index: Acyu5X6oPsXSJqQKS+OVqrMwUYPNlQ==
Message-ID: <9F2C0FCD-1720-469C-B7C2-576EAEEA7EC9@nasa.gov>
References: <CAJCiAQ2PrKM5WkCbs3CuLNy8HpxvzdkJw8uavx0qpdjF4yF0bQ@mail.gmail.com>
In-Reply-To: <CAJCiAQ2PrKM5WkCbs3CuLNy8HpxvzdkJw8uavx0qpdjF4yF0bQ@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
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.5.7110, 1.0.211, 0.0.0000 definitions=2011-11-29_08:2011-11-29, 2011-11-29, 1970-01-01 signatures=0
Cc: "dtn-security@irtf.org" <dtn-security@irtf.org>
Subject: Re: [dtn-security] Key Distribution
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, 29 Nov 2011 22:23:20 -0000

On Nov 29, 2011, at 4:26 PM, Ian Glennon wrote:

> I'm considering the following situation...
>=20
> Nodes A, B and C are Security Aware DTN Nodes.  Node B is an intermediate=
 DTN node which handles bundles from Node A to Node C. =20
>=20
> 1) Node A wishes to encrypt a payload for Node C but does not have a loca=
l copy of the public key for Node C.  Node A will sign the payload using it=
s private key.  How does Node A obtain the public key?
>=20
> 2) Assuming Node A can obtain Node C's public key, Node B wishes to verif=
y the integrity of the payload.  How does Node B obtain Node A's public key=
?
>=20
> 3) On receiving the bundle from Node A, Node C wishes to verify the integ=
rity of the payload.  How does Node C obtain Node A's public key?
>=20
> Now clearly the answer to 2) will be the same as that for 3), and also pr=
obably the same for 1).  I am considering some kind of Key Distribution Nod=
e, which would manage the distribution of the public keys to the various DT=
N nodes.  At what point, though, would the key request be made?  Would it b=
e made within the DTN protocol, or would it be made by some application rec=
eiving the bundle payload?  My guess is it would be within the DTN protocol=
 - certainly for 2) as the verification is handled by the protocol rather t=
han some application overlaying the protocol.

	I would think you'd want to build that into the DTN protocol since I would=
 imagine you would want to implement some kind of distributed key caching m=
echanism into the system so the first node in the path to the key distribut=
ion node with the valid public key can respond to the originator with it.  =
That way as your network grows and nodes communicate with each other the pu=
blic keys will trickle out toward the edges of the network.

> You may see where I'm going with this - a Key Distribution Network consis=
ting of nodes handling the distribution of public keys - but I'm not sure w=
hether requests to a node within the KDNetwork needs to be integrated into =
the DTN protocol, or whether it can be an application receiving requests wh=
ich sits above the DTN protocol.

	We also need to be aware of certificate revocation in the network.  Since =
the network is presumably disconnected, do we rely on disseminating the CRL=
 via some kind of epidemic distribution model?=

From plovell@mac.com  Tue Nov 29 17:47:20 2011
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 92B7A21F899D for <dtn-security@ietfa.amsl.com>; Tue, 29 Nov 2011 17:47:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.203
X-Spam-Level: 
X-Spam-Status: No, score=-2.203 tagged_above=-999 required=5 tests=[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 qY5f19OG1MvJ for <dtn-security@ietfa.amsl.com>; Tue, 29 Nov 2011 17:47:20 -0800 (PST)
Received: from asmtpout203.mac.com (st11b01mm-asmtp203.mac.com [17.172.48.66]) by ietfa.amsl.com (Postfix) with ESMTP id 1363E21F888A for <dtn-security@irtf.org>; Tue, 29 Nov 2011 17:47:19 -0800 (PST)
MIME-version: 1.0
Content-type: text/plain; charset=ISO-8859-1
Received: from [192.168.1.98] (pool-71-178-36-205.washdc.fios.verizon.net [71.178.36.205]) by st11b01mm-asmtp203.mac.com (Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPSA id <0LVG00AACAASGO30@st11b01mm-asmtp203.mac.com> for dtn-security@irtf.org; Tue, 29 Nov 2011 17:47:18 -0800 (PST)
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.5.7110,1.0.211,0.0.0000 definitions=2011-11-29_09:2011-11-30, 2011-11-29, 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-1012030000 definitions=main-1111290279
From: Peter Lovell <plovell@mac.com>
To: Ian Glennon <ianglennon@gmail.com>
Date: Tue, 29 Nov 2011 20:47:15 -0500
Message-id: <20111130014715.2143405755@smtp.mac.com>
In-reply-to: <CAJCiAQ2PrKM5WkCbs3CuLNy8HpxvzdkJw8uavx0qpdjF4yF0bQ@mail.gmail.com>
References: <CAJCiAQ2PrKM5WkCbs3CuLNy8HpxvzdkJw8uavx0qpdjF4yF0bQ@mail.gmail.com>
X-Mailer: CTM PowerMail version 6.1 build 4643 English (intel) <http://www.ctmdev.com>
Content-transfer-encoding: quoted-printable
Cc: Peter Lovell <dtnbsp@gmail.com>, dtn-security@irtf.org
Subject: Re: [dtn-security] Key Distribution
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, 30 Nov 2011 01:47:20 -0000

On Tue, Nov 29, 2011, Ian Glennon <ianglennon@gmail.com> wrote:

>I'm considering the following situation...
>
>Nodes A, B and C are Security Aware DTN Nodes.=A0 Node B is an
>intermediate DTN node which handles bundles from Node A to Node C.=A0 
>
>1) Node A wishes to encrypt a payload for Node C but does not have a
>local copy of the public key for Node C.=A0 Node A will sign the payload
>using its private key.=A0 How does Node A obtain the public key=3F
>
>2) Assuming Node A can obtain Node C's public key, Node B wishes to
>verify the integrity of the payload.=A0 How does Node B obtain Node A's
>public key=3F
>
>3) On receiving the bundle from Node A, Node C wishes to verify the
>integrity of the payload.=A0 How does Node C obtain Node A's public key=3F
>
>Now clearly the answer to 2) will be the same as that for 3), and also
>probably the same for 1).=A0 I am considering some kind of Key
>Distribution Node, which would manage the distribution of the public
>keys to the various DTN nodes.=A0 At what point, though, would the key
>request be made=3F=A0 Would it be made within the DTN protocol, or would it
>be made by some application receiving the bundle payload=3F=A0 My guess is
>it would be within the DTN protocol - certainly for 2) as the
>verification is handled by the protocol rather than some application
>overlaying the protocol.
>
>You may see where I'm going with this - a Key Distribution Network
>consisting of nodes handling the distribution of public keys - but I'm
>not sure whether requests to a node within the KDNetwork needs to be
>integrated into the DTN protocol, or whether it can be an application
>receiving requests which sits above the DTN protocol.
>
>Any help, guidance or advice gratefully received.
>
>Ian Glennon
>ianglennon@gmail.com

Hi Ian,

it seems that the sample problem is to send a bundle from A to C with =
encryption protecting the payload, and also to have one or more intermediate =
nodes verify the integrity on the way.

Of course, the intermediate nodes can't verify the actual payload but only =
the encrypted payload. I think that's what you meant.

Nodes B and C will have A's public key if A was smart enough to include it =
in the PIB key-info item. The key might have a full certificate chain in =
which case B and C only need to satisfy themselves of the validity of the root. =
However if it's partial then B and C will need to have/obtain the rest of the =
chain some other way.

If A encrypts the bundle using ciphersuite PC3 then C gets =
data-integrity-check for free, as that's one of the things that AES-GCM does. C doesn't need =
a pubkey for this - just its own private key. This is of no help for B as =
it's part of the decrypt process (which we presume is not available to B since =
it requires C's private key). 

There's no specific mechanism for A to obtain C's public key, other than =
receiving a bundle from C and caching the key and certificate chain. If you =
want to do a distribution network then that probably would be above the DTN =
protocol layer. 

It would be simple to have a scheme whereby A could contact C directly =
with a signed echo-request (content TBD). This would include A's pubkey, which B =
and C could cache. The response would have C's pubkey within the PIB =
response. There are valid arguments
in favour of different keys for encrypting and signing so the scheme might =
need minor embellishment, but you have the idea. Direct-connect is simpler - =
as long as the network characteristics are suitable.

Cheers.....Peter


