Wireshark-dev: Re: [Wireshark-dev] A question about ASN.1 encoding in wireshark
From: <
chris.guo@xxxxxxxxx>
Date: Fri, 1 Sep 2006 17:11:04 +0800
Title: A question about ASN.1 encoding in wireshark
Hi,
Thank you very much, I can build my dissector
successfuly,
Do you know how to debug wireshark? I installed DDD on
my platform. I want to track the code when running the
application.
By the way, I edit an ASN.1 message by ASN1VE, and
tried to open it by wireshark but it still can not decode the message
correctly(can not show the field name correctly). Is it right I
open my ASN.1 based message directly by wirshark? or I shall capture
the TCP based ASN1 message I defined, then open by
wireshark?
Best Regards,
Chris
Hi,
You
need to copy the resulting packet-clip.c and .h to /epan/dissectors and edit the
makefile.common in that directory. NOTE there is already a dissector called
clip
presumably for something entierly different. You may want to change the
name of your dissector...
Best
regards
Anders
Hi,
Thank you,
I used command "python ../../tools/asn2wrs.py -p
clip -c clip.cnf -s packet-clip-template clip.asn" to build my dissector. Then I recompile the
wireshark, it is still not work, did I missed some steps? or arethere any
guildines or tips when write .cnf file and template
files?
Regards,
Chris
Hi,
if it is BER encoded and you need only to display it
(withou any additional handling) the other possibility could be the ASN.1
plugin.
As I know it requires only precompiled ASN.1
description.
But I have never used it.
Regards,
Tomas
Hi,
Do you
get anything displayed after TCP?
Best
regards
Anders
Hi All,
I have a question about ASN.1 decoding in wirshark,
hope can get someone's help.
I have my own defined ASN.1 messages, these messages
are decoded with BER, the messages transfer based on TCP/IP, wireshark can
capture the messages, and decode the message, but can not display the field name
in the detailed information area.
I want to add my ASN.1 definitions in wireshark, and
can decode/show the message correctly in the detailed information area in the
wireshark, but I do not know how to proceed, it there any one can share the
experiences or send me some useful materials?
Thank you very much,
Chris