Ethereal-dev: [Ethereal-dev] Re: packet-nfs.c

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

From: Mike Frisch <mfrisch@xxxxxxxxxxxxxxx>
Date: 12 Aug 2001 23:14:04 -0400
On 13 Aug 2001 02:07:11 +0000, Pia Sahlberg wrote:
> The other is a patch to (mainly) packet-nfs.c to enable ethereal
> to snoop v3LOOKUP packets to learn the mapping between filenames and 
> filehandles.
> The one can search for a nfs filename and (if learnt) also match all fhandle 
> structures which match that filename.

Sounds like a great feature!  I could've used this about a week ago, but
I'll be sure to put it to heavy use in coming weeks (my daytime job is
as a NFS driver developer for Win32).

Another small feature I wanted to implement was to hash the filehandle
into a 32-bit value for ease of "processing" just like Solaris' snoop
does.  This also makes it easier for tracing the use of filehandles,
instead of having to compare long filehandles, a 32-bit value can be
used.  I will get to this soon.

Mike.