bugzilla-daemon
Wed, 03 Feb 2010 14:00:05 -0800
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4459
Summary: Updated EXCHANGE_ID op to be inline with RFC 5661
Product: Wireshark
Version: SVN
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: Low
Component: Wireshark
AssignedTo: wireshark-bugs@wireshark.org
ReportedBy: burl...@netapp.com
Created an attachment (id=4262)
--> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=4262)
Patch to update NFS v4.1 EXCHANGE_ID dissecting
Build Information:
TShark 1.3.3 (SVN Rev 31764 from /trunk)
Copyright 1998-2010 Gerald Combs <ger...@wireshark.org> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Compiled with GLib 2.20.1, with libpcap 1.0.0, with libz 1.2.3.3, without POSIX
capabilities, without libpcre, without SMI, without c-ares, without ADNS, with
Lua 5.1, without Python, without GnuTLS, without Gcrypt, with MIT Kerberos,
without GeoIP.
Running on Linux 2.6.28-17-generic, with libpcap version 1.0.0.
Built using gcc 4.3.3.
--
Currently parsing of the Exchange_Id is technically correct but hard to read.
This patch updates display inline with data structures specified in RFC 5661.
Here is how it looks now:
Request:
Network File System
[Program Version: 4]
[V4 Procedure: COMPOUND (1)]
Tag:
minorversion: 1
Operations (count: 1)
Opcode: EXCHANGE_ID (42), Client Owner
verifier: 0x12d52f6996190300
Data: <DATA>
length: 28
contents: <DATA>
EXCHANGE_ID flags: 0x00070000
State Protect: SP4_NONE (0)
Implemetation ID length: 0
Reply:
Network File System
[Program Version: 4]
[V4 Procedure: COMPOUND (1)]
Status: NFS4_OK (0)
Tag:
Operations (count: 1)
Opcode: EXCHANGE_ID (42)
Status: NFS4_OK (0)
clientid: 0x972d5a4b05000000
seqid: 0x00000001
EXCHANGE_ID flags: 0x00060001
State Protect: SP4_NONE (0)
minor ID: 0
major ID: <DATA>
length: 6
contents: <DATA>
fill bytes: opaque data
server scope: <DATA>
length: 6
contents: <DATA>
fill bytes: opaque data
Implemetation ID length: 0
Here is how it looks after patch is applied:
Request:
Network File System
[Program Version: 4]
[V4 Procedure: COMPOUND (1)]
Tag:
minorversion: 1
Operations (count: 1)
Opcode: EXCHANGE_ID (42)
eia_clientowner
verifier: 0x12d52f6996190300
Data: <DATA>
length: 28
contents: <DATA>
eia_flags:0x00070000
0... .... .... .... .... .... .... .... =
EXCHGID4_FLAG_CONFIRMED_R : Not set
.0.. .... .... .... .... .... .... .... =
EXCHGID4_FLAG_UPD_CONFIRMED_REC_A: Not set
.... .... .... .1.. .... .... .... .... =
EXCHGID4_FLAG_USE_PNFS_DS : Set
.... .... .... ..1. .... .... .... .... =
EXCHGID4_FLAG_USE_PNFS_MDS : Set
.... .... .... ...1 .... .... .... .... =
EXCHGID4_FLAG_USE_NON_PNFS : Set
.... .... .... .... .... ...0 .... .... =
EXCHGID4_FLAG_BIND_PRINC_STATEID : Not set
.... .... .... .... .... .... .... ..0. =
EXCHGID4_FLAG_SUPP_MOVED_MIGR : Not set
.... .... .... .... .... .... .... ...0 =
EXCHGID4_FLAG_SUPP_MOVED_REFER : Not set
eia_state_protect: SP4_NONE (0)
eia_client_impl_idi<0>
Reply:
Network File System
[Program Version: 4]
[V4 Procedure: COMPOUND (1)]
Status: NFS4_OK (0)
Tag:
Operations (count: 1)
Opcode: EXCHANGE_ID (42)
Status: NFS4_OK (0)
clientid: 0x972d5a4b05000000
seqid: 0x00000001
eir_flags:0x00060001
0... .... .... .... .... .... .... .... =
EXCHGID4_FLAG_CONFIRMED_R : Not set
.0.. .... .... .... .... .... .... .... =
EXCHGID4_FLAG_UPD_CONFIRMED_REC_A: Not set
.... .... .... .1.. .... .... .... .... =
EXCHGID4_FLAG_USE_PNFS_DS : Set
.... .... .... ..1. .... .... .... .... =
EXCHGID4_FLAG_USE_PNFS_MDS : Set
.... .... .... ...0 .... .... .... .... =
EXCHGID4_FLAG_USE_NON_PNFS : Not set
.... .... .... .... .... ...0 .... .... =
EXCHGID4_FLAG_BIND_PRINC_STATEID : Not set
.... .... .... .... .... .... .... ..0. =
EXCHGID4_FLAG_SUPP_MOVED_MIGR : Not set
.... .... .... .... .... .... .... ...1 =
EXCHGID4_FLAG_SUPP_MOVED_REFER : Set
eia_state_protect: SP4_NONE (0)
eir_server_owner
minor ID: 0
major ID: <DATA>
length: 6
contents: <DATA>
fill bytes: opaque data
server scope: <DATA>
length: 6
contents: <DATA>
fill bytes: opaque data
eia_client_impl_idi<0>
--
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
___________________________________________________________________________
Sent via: Wireshark-bugs mailing list <wireshark-bugs@wireshark.org>
Archives: http://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://wireshark.org/mailman/options/wireshark-bugs
mailto:wireshark-bugs-requ...@wireshark.org?subject=unsubscribe