Improvements for the sample tech document

"Thomas Dietz" <Thomas.Dietz@netlab.nec.de> Sun, 11 July 2004 18:25 UTC

Received: from psg.com (mailnull@psg.com [147.28.0.62]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA05327 for <psamp-archive@lists.ietf.org>; Sun, 11 Jul 2004 14:25:38 -0400 (EDT)
Received: from majordom by psg.com with local (Exim 4.34 (FreeBSD)) id 1BjirR-0002Uh-Vu for psamp-data@psg.com; Sun, 11 Jul 2004 18:15:37 +0000
Received: from [195.37.70.2] (helo=tokyo.netlab.nec.de) by psg.com with esmtp (Exim 4.34 (FreeBSD)) id 1BjirQ-0002UQ-A4 for psamp@ops.ietf.org; Sun, 11 Jul 2004 18:15:36 +0000
Received: from venus.office (venus.office [10.1.1.11]) by tokyo.netlab.nec.de (Postfix) with ESMTP id EC18D2C90C for <psamp@ops.ietf.org>; Sun, 11 Jul 2004 19:46:27 +0200 (CEST)
Received: by venus.office (Postfix on SuSE Linux eMail Server 3.0, from userid 30) id E89AD1504CA; Sun, 11 Jul 2004 19:46:26 +0200 (CEST)
X-Accept-Language: de, en
X-Priority: 3 (Normal)
X-Mailer: SKYRiXgreen_3.1 NGMime_4.2.45
From: Thomas Dietz <Thomas.Dietz@netlab.nec.de>
MIME-Version: 1.0
subject: Improvements for the sample tech document
To: psamp@ops.ietf.org
Organization: NEC Europe Ltd.
content-type: text/plain; charset="iso-8859-1"
date: Sun, 11 Jul 2004 19:46:26 +0200
content-transfer-encoding: 7bit
Message-Id: <20040711174626.E89AD1504CA@venus.office>
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on psg.com
X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.63
Sender: owner-psamp@ops.ietf.org
Precedence: bulk
Content-Transfer-Encoding: 7bit

Hallo, 
 
my name is Thomas Dietz and I am the editor of the PSAMP info model 
and MIB draft. I am currently reviewing my drafts for the changes made 
especially in the sample tech document. Reviewing the document I encountered 
some problems with the filtering techniques. I have some trouble with  
the information model defined in the sampling tech document. 
 
I think that these bit specifications combined with the selection intervals 
is not really easy to understand and has several disadvantages: 
 
* to encode many selection interval into one information model field is very 
  complicated to encode and thus also very complicated to decode at the 
  receiver 
* always encoding a complete header bitfield (20 bytes IPv4, 40 bytes IPv6) 
  will create very large fields while exporting the filtering options from 
  the sampling node 
* defining the header as a fixed number of bytes is (at least within IPv6) 
  not right, because the header may have several extension headers 
* you may want to filter on some specify transport layer fields like  
  tcp/udp port or icmp type: filtering on these gets very difficult especially 
  in the IPv6 case because you don't exactly know where the transport header 
  starts. 
* filtering on extension headers in IPv6 is also very tedious with the current 
  approach 
 
I would prefer to concentrate one some header characteristics like  
 
 * network protocol (IPv4, IPv6, IPX, Appletalk...) 
 * transport layer protocol (TCP, UDP, SCTP, ICMP...) 
 * transport layer dst/src port (if applicable) 
 * IPv4/v6 dst/src address 
  
I know that the above is far of being complete but I don't think we need to  
have every single header field in the basic standard. If a vendor really needs 
some more fields he/she can define the fields and extend the info model. Most 
of the fields I mentioned above are computed in current hardware products 
anyway, because most of the products support filtering mechanisms. So using 
these fields also for exporting packet samples would imply a rather small 
overhead for the manufacturer. On the other hand implementing a bitfield 
computation as you propose currently is not that common in the current 
products 
and has to be implemented from scratch which consumes additional memory and is 
error prone. 
 
I also dislike the idea of several ranges within one filter. I would rather 
define at most one range per filter and add another filter after the previous 
one. This would as well as the proposal above improve the readability and 
is much easier to specify in the info model. It keeps exporting option 
data/templates small and fast. 
 
Furthermore, if the info model is easy to understand it will also be easy to 
implement. 
 
It would be great if we could improve the sample tech document in a way that 
makes it easy and fast to implement.  
 
Best Regards, 
 
Thomas 
-- 

--
to unsubscribe send a message to psamp-request@ops.ietf.org with
the word 'unsubscribe' in a single line as the message text body.
archive: <http://ops.ietf.org/lists/psamp/>