Ethereal-dev: [Ethereal-dev] Advanced filtering

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Henric Bergenwall (LN/EAB)" <henric.bergenwall@xxxxxxxxxxxx>
Date: Wed, 26 May 2004 16:31:08 +0200
Hi!

Assume that we have a protocol with only two parameters:

 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|               A               |               B               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

Given a value V, i want to filter out all messages where the parameter A == V.
That is quite easy.

But I also want to filter out all messages where the parameter B is equal
to any of the B-parameters found in the messages filtered out by the filter A == x.

Is it possible to adapt the ethereal code to implement such a filtering mechanism?


/Henric