Re: (dictionary or not) Re: [dtn-security] 00 version of the Bundle Security Protocol Spec.

Michael Demmer <demmer@cs.berkeley.edu> Wed, 25 May 2005 15:37 UTC

Received: from pisco (pisco.CS.Berkeley.EDU [128.32.37.175]) by webbie.berkeley.intel-research.net (8.11.6/8.11.6) with ESMTP id j4PFbdV30624 for <dtn-security@mailman.dtnrg.org>; Wed, 25 May 2005 08:37:39 -0700
Received: from demmer by pisco with local (Exim 4.50) id 1Daxwx-0003ts-Hr; Wed, 25 May 2005 08:37:39 -0700
Date: Wed, 25 May 2005 08:37:39 -0700
From: Michael Demmer <demmer@cs.berkeley.edu>
To: dtn-security@mailman.dtnrg.org
Cc: "Susan F. Symington" <susan@mitre.org>, "'Howard Weiss'" <howard.weiss@sparta.com>
Subject: Re: (dictionary or not) Re: [dtn-security] 00 version of the Bundle Security Protocol Spec.
Message-ID: <20050525153739.GA14911@pisco.cs.berkeley.edu>
References: <200505241854.j4OIsx724035@smtp-bedford-dr.mitre.org> <42944BEF.7090007@cs.tcd.ie> <20050525152359.GB7633@pisco.cs.berkeley.edu> <42949AA1.5080108@cs.tcd.ie>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <42949AA1.5080108@cs.tcd.ie>
User-Agent: Mutt/1.4.2i
Sender: dtn-security-admin@mailman.dtnrg.org
Errors-To: dtn-security-admin@mailman.dtnrg.org
X-BeenThere: dtn-security@mailman.dtnrg.org
X-Mailman-Version: 2.0.13
Precedence: bulk
Reply-To: dtn-security@mailman.dtnrg.org
List-Unsubscribe: <http://mailman.dtnrg.org/mailman/listinfo/dtn-security>, <mailto:dtn-security-request@mailman.dtnrg.org?subject=unsubscribe>
List-Id: DTN Security Discussion <dtn-security.mailman.dtnrg.org>
List-Post: <mailto:dtn-security@mailman.dtnrg.org>
List-Help: <mailto:dtn-security-request@mailman.dtnrg.org?subject=help>
List-Subscribe: <http://mailman.dtnrg.org/mailman/listinfo/dtn-security>, <mailto:dtn-security-request@mailman.dtnrg.org?subject=subscribe>
List-Archive: <http://mailman.dtnrg.org/pipermail/dtn-security/>

> I guess that that's possible, but I'd be for getting started
> without the dictionary and changing to use it later if it
> makes sense than.

That'd be ok with me I guess -- though for the reference
implementation at least, it should be pretty easy to use it since I'll
have helper functions and the like for stuffing URIs in and out of the
dictionary.

> But since you've suggested it: what's the easy way to encode
> the optional src and/or optional dest optionally using the
> dictionary? (I'm just not up to speed on how the dictionary
> encoding currently works.)

The dictionary part is a blob of consecutive null-terminated
strings of total length <= 64K. Encoding a scheme:ssp is therefore a
pair of offsets, one for the scheme and one for the ssp, that indicate
the first byte of the string in the dictionary.

-m