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
 
 
 
 
From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of ext Anders Broman (AL/EAB)
Sent: Thursday, August 31, 2006 3:34 PM
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] A question about ASN.1 encoding in wireshark
From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of chris.guo@xxxxxxxxx
Sent: den 31 augusti 2006 09:24
To: wireshark-dev@xxxxxxxxxxxxx
Subject: Re: [Wireshark-dev] A question about ASN.1 encoding in wireshark
 
 
 
From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of ext Kukosa, Tomas
Sent: Wednesday, August 30, 2006 4:21 PM
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] A question about ASN.1 encoding in wireshark
 
 
 
From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Anders Broman (AL/EAB)
Sent: Wednesday, August 30, 2006 10:09 AM
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] A question about ASN.1 encoding in wireshark
 
From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of chris.guo@xxxxxxxxx
Sent: den 30 augusti 2006 04:03
To: wireshark-dev@xxxxxxxxxxxxx
Subject: [Wireshark-dev] 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
From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of ext Anders Broman (AL/EAB)
Sent: Thursday, August 31, 2006 3:34 PM
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] A question about ASN.1 encoding in wireshark
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
From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of chris.guo@xxxxxxxxx
Sent: den 31 augusti 2006 09:24
To: wireshark-dev@xxxxxxxxxxxxx
Subject: Re: [Wireshark-dev] A question about ASN.1 encoding in wireshark
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
From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of ext Kukosa, Tomas
Sent: Wednesday, August 30, 2006 4:21 PM
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] A question about ASN.1 encoding in wireshark
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
From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Anders Broman (AL/EAB)
Sent: Wednesday, August 30, 2006 10:09 AM
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] A question about ASN.1 encoding in wireshark
Hi,
Do you 
get anything displayed after TCP?
See http://wiki.wireshark.org/Asn2wrs on 
how to design an asn1 based dissector using asn2wrs.
Best 
regards
Anders
From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of chris.guo@xxxxxxxxx
Sent: den 30 augusti 2006 04:03
To: wireshark-dev@xxxxxxxxxxxxx
Subject: [Wireshark-dev] A question about ASN.1 encoding in wireshark
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
- Follow-Ups:
- Re: [Wireshark-dev] A question about ASN.1 encoding in wireshark
- From: Graeme Lunt
 
 - Re: [Wireshark-dev] A question about ASN.1 encoding in wireshark
- From: Stephen Fisher
 
 
 - Re: [Wireshark-dev] A question about ASN.1 encoding in wireshark
 
- Prev by Date: [Wireshark-dev] listen rtp plugin
 - Next by Date: Re: [Wireshark-dev] A question about ASN.1 encoding in wireshark
 - Previous by thread: Re: [Wireshark-dev] listen rtp plugin
 - Next by thread: Re: [Wireshark-dev] A question about ASN.1 encoding in wireshark
 - Index(es):