ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Ethereal-dev: [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: "Jacques, Olivier (OCBU-Test Infra)" <olivier.jacques@xxxxxx>
Date: Tue, 22 Mar 2005 13:39:36 +0100
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.

Attachment: camel.diff
Description: camel.diff

Attachment: camel-asn1.tar.gz
Description: camel-asn1.tar.gz