RE: [Rfid] Re: XML vs. Text vs. Binary

"Scott Barvick" <sbarvick@revasystems.com> Fri, 22 July 2005 10:57 UTC

Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1DvvDF-0008Nz-UB; Fri, 22 Jul 2005 06:57:05 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1DvvDE-0008Nu-Aj for rfid@megatron.ietf.org; Fri, 22 Jul 2005 06:57:04 -0400
Received: from ietf-mx.ietf.org (ietf-mx [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id GAA01538 for <rfid@ietf.org>; Fri, 22 Jul 2005 06:57:00 -0400 (EDT)
Received: from ms08.mse3.exchange.ms ([69.25.50.144]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1DvvhR-0007ly-W1 for rfid@ietf.org; Fri, 22 Jul 2005 07:28:18 -0400
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: RE: [Rfid] Re: XML vs. Text vs. Binary
Date: Fri, 22 Jul 2005 06:56:14 -0400
Message-ID: <0E03681B885F3B4296B999E34435A16E37344E@ms08.mse3.exchange.ms>
Thread-Topic: [Rfid] Re: XML vs. Text vs. Binary
Thread-Index: AcWOliwV7/wMQSaOQTSamxMVa8/4ZwAFKFDg
From: Scott Barvick <sbarvick@revasystems.com>
To: Stephane Bortzmeyer <bortzmeyer@nic.fr>, David Husak <dhusak@revasystems.com>
X-Spam-Score: 0.5 (/)
X-Scan-Signature: b132cb3ed2d4be2017585bf6859e1ede
Cc: rfid@ietf.org
X-BeenThere: rfid@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Control and Access of Infrastructure for RFID Operations Discussion List <rfid.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rfid>, <mailto:rfid-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/rfid>
List-Post: <mailto:rfid@lists.ietf.org>
List-Help: <mailto:rfid-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rfid>, <mailto:rfid-request@lists.ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1756045314=="
Sender: rfid-bounces@lists.ietf.org
Errors-To: rfid-bounces@lists.ietf.org

Stephane,
 
>From the security perspective, the protocol processing is layered on top of standard security mechanisms as discussed in Section 4.2 of the draft.  Therefore, the implementation can safely access fields in payload as efficiently as possible.
 
Scott

________________________________

From: rfid-bounces@lists.ietf.org on behalf of Stephane Bortzmeyer
Sent: Fri 7/22/2005 4:19 AM
To: David Husak
Cc: rfid@ietf.org
Subject: [Rfid] Re: XML vs. Text vs. Binary



On Thu, Jul 21, 2005 at 07:56:22PM -0400,
 David Husak <dhusak@revasystems.com> wrote
 a message of 213 lines which said:

> In a compact, fixed binary encoding, it's easy for an implementation
> to access protocol fields directly via indexed load and store,
> i.e. an implementation need only access the bytes it needs, and it
> knows where those bytes are.

#define WARNING "newbie"

I've read quite often this statement in IETF discussions. I am not an
implementer but I wonder if this idea of blindly retrieving bits
coming from the newtork is really what the implementers do. Because it
seems there is a security issue here: since the bits come from a
possibly untrusted source (either because it is malicious or because
it is buggy), you surely validate them in some way, first, and
therefore you have to parse the incoming data, no?

_______________________________________________
Rfid mailing list
Rfid@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/rfid


_______________________________________________
Rfid mailing list
Rfid@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/rfid