[dtn-users] Use of metadata with DTNSEND and DTNRECV

Luca Tartarini <ltartarini90@gmail.com> Thu, 06 December 2012 18:31 UTC

Return-Path: <ltartarini90@gmail.com>
X-Original-To: dtn-users@ietfa.amsl.com
Delivered-To: dtn-users@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5127B21F86C8 for <dtn-users@ietfa.amsl.com>; Thu, 6 Dec 2012 10:31:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.298
X-Spam-Level:
X-Spam-Status: No, score=-1.298 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, MANGLED_MEDS=2.3, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QdLV3x7xdjPa for <dtn-users@ietfa.amsl.com>; Thu, 6 Dec 2012 10:31:40 -0800 (PST)
Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by ietfa.amsl.com (Postfix) with ESMTP id 8174621F869F for <dtn-users@irtf.org>; Thu, 6 Dec 2012 10:31:40 -0800 (PST)
Received: by mail-ee0-f54.google.com with SMTP id c13so4662528eek.13 for <dtn-users@irtf.org>; Thu, 06 Dec 2012 10:31:39 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=FtForc0bb4BKtF8lvbbNIkY+NMzFVhJkVKM879YZQZw=; b=X2/Z+rFEY+TJiDh4DjH18E4D3RcHNduwkYKAoyfps9CYBJeuhcQlO7u0o+a/T5tnWB 6TxKXsb8pQ3JYq9wM5YM+l9pNVIHG96BZoH4Sf8wALLQFoMTw8izQ88Xsne18dpwyPKB wKtlaR9M+ZNj6MBRu1BNu7MHRqQw5Hcbov3GD3rCcfBtltDlLLtsKmEgeSPodPAMls/o bi62dyGbSUGsoualx7BgHzO/a60jpio6q0GutbWHOSwkuOoIaTDk1HuEK3qLwLZpsjT8 TWJmIeOrp+x/r9idV4T0Hi3UDRnGiqSFr15dcru658WyOCdgULfcTporrGbi4lxBw4MH yvWA==
MIME-Version: 1.0
Received: by 10.14.0.71 with SMTP id 47mr8134306eea.19.1354818699709; Thu, 06 Dec 2012 10:31:39 -0800 (PST)
Received: by 10.223.192.66 with HTTP; Thu, 6 Dec 2012 10:31:39 -0800 (PST)
Date: Thu, 06 Dec 2012 19:31:39 +0100
Message-ID: <CALP6nt0cXrmYkBK-0_4KBR1UHPONQmVPV7bYycS0EBR6xYLLtA@mail.gmail.com>
From: Luca Tartarini <ltartarini90@gmail.com>
To: dtn-users@irtf.org
Content-Type: multipart/alternative; boundary="047d7b66f32954cbb504d0334f30"
Subject: [dtn-users] Use of metadata with DTNSEND and DTNRECV
X-BeenThere: dtn-users@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "The Delay-Tolerant Networking Research Group \(DTNRG\) - Users." <dtn-users.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/dtn-users>, <mailto:dtn-users-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/dtn-users>
List-Post: <mailto:dtn-users@irtf.org>
List-Help: <mailto:dtn-users-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 06 Dec 2012 18:31:41 -0000

Dear DTN2 users, I am a student of the University of Bologna and I
am carrying out a thesis on the possible use of metadata for DTN routing. I
have a problem in the use of metadata with the applications DTNSEND
and DTNRECV, DTN2 2.9.0 on Debian.
If I try to send a bundle with metadata from vm1.dtn to vm2.dtn launching
this command on vm1.dtn:
vm1: dtnsend -v -s dtn://vm1.dtn/me -d dtn://vm2.dtn -t m -p "testing3"
-M 1 -S "meta"
while on vm2.dtn dtnrecv is running (vm2: dtnrecv -v dtn://vm2.dtn)
I do not receive anything on vm2.dtn, while in the dtn.log of vm1.dtn I can
see the following two errors:

[1354724317.364108 /dtn/bundle/protocol error]
BundleProtocol::prepare_blocks: 8-prepare returned BP_FAIL on bundle 10
[1354724317.364128 /dtn/bundle/actions error]
BundleActions::queue_bundle:
prepare_blocks returned NULL on bundle 10

Note that:
1) without the -M option the bundle is received correctly (of
course without metadata).
2) if the source and the destination are the same, i.e. if I launch:
vm1: dtnsend -v -s dtn://vm1.dtn/me -d dtn://vm1.dtn -t m -p "testing3"
-M 1 -S "meta"
both the bundle and metadata are received correctly.

Any help will be greatly appreciated.

Thanks, Luca Tartarini.