Ethereal-dev: VB: [Ethereal-dev] [Patch] Camel dissector

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

From: "Anders Broman" <a.broman@xxxxxxxxx>
Date: Tue, 22 Mar 2005 16:46:06 +0100
Hi,
I checked in the asn1/camel directory and files with some changes, I removed
an unused function and imported the q850 values from packet-isup instead.

I haven't included the changes to the makefile yet as there seems to be more
work to be done.
Best regards
Anders

From: ethereal-dev-bounces@xxxxxxxxxxxx
[mailto:ethereal-dev-bounces@xxxxxxxxxxxx]On Behalf Of Jacques, Olivier
(OCBU-Test Infra)
Sent: den 22 mars 2005 13:40
To: Ethereal development
Subject: [Ethereal-dev] [Patch] Camel dissector


Hi all,

Here is an initial release for Camel (3GPP TS 29.078) dissector for
Ethereal.
The version supported is 3GPP TS 29.078 version 3.5.0.
I based this on the work of Tim
(http://www.ethereal.com/lists/ethereal-dev/200502/msg00330.html), who
based it on the gsmmap dissector.

As many people are interested in this dissector, this could be a good
base for common work.

The camel.diff patch contains:
- Inclusion of packet-camel.[ch] in the makefile 
- Change in packet-ber.c to report OCTET STRINGS as raw hex when they
are not fully understood

The camel-asn1.tar.gz file contains the files necessary to generate
packet-camel.c and packet-camel.h. To do so:
- Extract camel-asn1.tar.gz tarball on ethereal root dir (it will go in
asn1/camel)
- cd asn1/camel
- type "nmake -f Makefile.nmake" or "make" -> packet-camel.[ch] files
are generated
- type "nmake -f Makefile.nmake copy_files" or "make copy_files" ->
packet-camel.[ch] files are copied to ethereal/epan/dissectors

Outstanding bugs: 
- To be fixed before inclusion in Ethereal: when generating
packet-camel.[ch], I get an error which seems to have no impact on the
resulting packet-camel.[ch], but which I don't know how to fix! Any help
appreciated :)
Traceback (most recent call last):
  File "../../tools/asn2eth.py", line 4485, in ?
    eth_main()
  File "../../tools/asn2eth.py", line 4460, in eth_main
    ectx.output.make_single_file()
  File "../../tools/asn2eth.py", line 1503, in make_single_file
    os.unlink(fn)
OSError: [Errno 2] No such file or directory:
'c:\\transfer\\ethereal\\winbuild\\ethereal\\asn1\\camel\\packet-camel-h
f.c'
NMAKE : fatal error U1077: 'python' : return code '0x1'
Stop.
- Some parameters, like calling party number, called party number,
release cause, ... will need to be displayed more nicely. I will see
that in a future release (still have to figure out how to do that).

Side note: I will update the wiki on asn2eth to give my findings back ;)

Olivier.