Ethereal-dev: [Ethereal-dev] update to TNS dissector

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

From: Bernd Becker <bb@xxxxxxxxxxxxxxx>
Date: Tue, 09 Jul 2002 11:02:51 +0200
Hi,

attached is a patch to packet-tns.c
Changelog:

- changed field types of the Trace Cross Facility Items
 (hf_tns_trace_cf1 and hf_tns_trace_cf2) from FT_UINT16 to FT_UINT32
- changed field type of Trace Unique Connection ID (tns.trace_cid) to FT_UINT64 - changed the base for display of some length fields from BASE_HEX to BASE_DEC
 (tns.accept_data_length, tns.refuse_data_length, tns.redirect_data_length)
- corrected typo in field name for tns.refuse_reason_system

I have made the field type changes based on the output of the Oracle trace
tool trcasst (specifically trcasst -od) on Oracle 9.0.1 for Linux.
The tool displays the relevant part of the Connect message as e.g.:
   Cross facility item 1: 0
   Cross facility item 2: 0
   Connection id : Ox00006B050000000D

I hope this is correct for older Oracle versions as well. If not, we may have to do some version specific dissection. This should be possible because there
are two version fields in the Connect message, the "current" and the
"lowest supported" versions.

I would be glad if anyone could try this out or send me some sample captures.
More additions will be coming soon.

Cheers,
Bernd

Attachment: packet-tns.patch
Description: Binary data