Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Ethereal-dev: [Ethereal-dev] X.400 File Transport Body Part Dissector

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

From: "Graeme Lunt" <graeme.lunt@xxxxxxxxx>
Date: Sat, 22 Oct 2005 17:52:51 +0200
Hi,

Here is a patch for the X.400 File Transfer Body Part (FTBP) - the usual
protocol files are carried in X.400 messages. It imports heavily from the
FTAM dissector.

The new ethereal/asn1/ftbp files are in the ftbp.tar.gz.

The ftbp.patch file includes:
a) A fix to acse.cnf which works around an asn2eth bug (it is the
AE-qualifier EXPORT I want, but asn2eth doesn't generate the appropriate
extern for the values). Also a small cosmetic change for EXTERNAL decodings.
b) New EXPORTs for the FTAM dissector for use in FTBP.
c) A fix to asn2eth to solve the problem if you EXPORT types that include a
'-' character in the name (e.g. "AE-qualifier" from acse.cnf,
"Date-and-Time-Attribute" from ftam.cnf). The problem is that asn2eth
generates the "xxxx-exp.cnf" file using the 'C' name (which has replaced '-'
with '_') rather than the original 'ASN' name. The fix just undoes the
replacement as I couldn't see the original name being preserved anywhere.
There still remains a problem if the type has a '.' in the name - but
generally I don't think they do.

The asn2eth patch is CRITICAL, so if it is not acceptable reject the whole
submission.

d) Update to epan/dissectors/Makefile.common for the new dissector

Note I haven't included a patch to acse-exp.cnf as the new asn2eth will fix
it. 
Is there any reason acse-exp.cnf is under revision control?

I will put up an X.400 capture containing a FTBP on the sample captures page
shortly.

Graeme

Attachment: ftbp.tar.gz
Description: GNU Zip compressed data

Attachment: ftbp.patch
Description: Binary data