Re: [Wireshark-dev] ask about dissector_add ( ) function to instruct wireshark to pass packet to my dissector

2011-06-21 Thread Jaap Keuter
Hi, Have a look at packet-rtp.c, which does a similar thing. Check for heur_dissector_add( "udp", dissect_rtp_heur, proto_rtp); Thanks, Jaap On 06/22/2011 05:59 AM, cq x wrote: > thank you > > on top of UDP > > yes, it is looking for a special value in the first byte of the packet > > Thank

Re: [Wireshark-dev] ask about dissector_add ( ) function to instruct wireshark to pass packet to my dissector

2011-06-21 Thread cq x
thank you, Chris, I will take a look at it Thanks > To: wireshark-dev@wireshark.org > From: christopher.mayn...@gtech.com > Date: Wed, 22 Jun 2011 00:48:13 + > Subject: Re: [Wireshark-dev] ask about dissector_add ( ) function to > instruct wireshark to pass packet to my dissector > > Cha

Re: [Wireshark-dev] ask about dissector_add ( ) function to instruct wireshark to pass packet to my dissector

2011-06-21 Thread cq x
thank you on top of UDP yes, it is looking for a special value in the first byte of the packet Thanks again > From: g...@alum.mit.edu > Date: Tue, 21 Jun 2011 17:56:37 -0700 > To: wireshark-dev@wireshark.org > Subject: Re: [Wireshark-dev] ask about dissector_add ( ) function to > instruct

Re: [Wireshark-dev] ask about dissector_add ( ) function to instruct wireshark to pass packet to my dissector

2011-06-21 Thread Guy Harris
On Jun 21, 2011, at 4:18 PM, Changqin Xia wrote: > I am a newbie on dissector development. I have a question about the > "dissector_add( )" function. > > I went through a few examples, most of them are using "tcp.port" or > "udp.port" or something like that. > > My dissector not uses any port

Re: [Wireshark-dev] Question about plugin dissector in 1.6.0.

2011-06-21 Thread Chris Maynard
Huaqing Wang writes: > Hi, I met this error in wireshark-1.6.0: > > > 11:32:38          Err  file packet.c: line 1531 (heur_dissector_add): assertion failed: (sub_dissectors != NULL) > Aborted > > The thing I do is I make a directory called foo under plugins. > and add  AUTHORS    CMakeLists.t

Re: [Wireshark-dev] ask about dissector_add ( ) function to instruct wireshark to pass packet to my dissector

2011-06-21 Thread Chris Maynard
Changqin Xia writes: > Hi, allI am a newbie on dissector development. I have a question about the "dissector_add( )" function.I went through a few examples, most of them are using "tcp.port" or "udp.port" or something like that.My dissector not uses any port number to instruct wireshark to pass p

[Wireshark-dev] ask about dissector_add ( ) function to instruct wireshark to pass packet to my dissector

2011-06-21 Thread Changqin Xia
Hi, all I am a newbie on dissector development. I have a question about the "dissector_add( )" function. I went through a few examples, most of them are using "tcp.port" or "udp.port" or something like that. My dissector not uses any port number to instruct wireshark to pass packets to my di

[Wireshark-dev] Question about plugin dissector in 1.6.0.

2011-06-21 Thread Huaqing Wang
Hi, I met this error in wireshark-1.6.0: 11:32:38 Err file packet.c: line 1531 (heur_dissector_add): assertion failed: (sub_dissectors != NULL) Aborted The thing I do is I make a directory called foo under plugins. and add AUTHORSCMakeLists.txt foo.laMakefile.am Makefile.

Re: [Wireshark-dev] buildbot failure in Wireshark (development) on Clang-Code-Analysis

2011-06-21 Thread Martin Kaiser
Thus wrote Martin Kaiser (li...@kaiser.cx): > > Buildslave for this Build: clang-code-analysis > > Build Reason: > > Build Source Stamp: 37739 > > Blamelist: etxrab > > BUILD FAILED: failed fuzz-menagerie > uups, that's my newly added code. Sorry for that. > I just downloaded the fuzzed captu

Re: [Wireshark-dev] buildbot failure in Wireshark (development) on Clang-Code-Analysis

2011-06-21 Thread Martin Kaiser
Thus wrote buildbot-no-re...@wireshark.org (buildbot-no-re...@wireshark.org): > The Buildbot has detected a new failure of Clang-Code-Analysis on Wireshark > (development). > Full details are available at: > http://buildbot.wireshark.org/trunk/builders/Clang-Code-Analysis/builds/220 > Buildbot

[Wireshark-dev] buildbot failure in Wireshark (development) on Clang-Code-Analysis

2011-06-21 Thread buildbot-no-reply
The Buildbot has detected a new failure of Clang-Code-Analysis on Wireshark (development). Full details are available at: http://buildbot.wireshark.org/trunk/builders/Clang-Code-Analysis/builds/220 Buildbot URL: http://buildbot.wireshark.org/trunk/ Buildslave for this Build: clang-code-analysis

Re: [Wireshark-dev] Profinet: remaining register_dissector_filter

2011-06-21 Thread Stig Bjørlykke
On Tue, Jun 21, 2011 at 11:27 AM, Roland Knall wrote: > The Profinet plugin is the only code, where this function is > apparently in use, but I can not see any immediate use for it? Have a look in "Analyse -> Conversation Filter". -- Stig Bjørlykke _

Re: [Wireshark-dev] plugins to builtins

2011-06-21 Thread Ulf Lamping
Am 21.06.2011 10:23, schrieb Roland Knall: Now, the problems I had with the SercosIII plugin came from the fact, that it was a plugin, and therefore its proto_register method was called after(!) the proto_register method for the built-in dissectors. This lead to some confusion, where the dissecto

[Wireshark-dev] Profinet: remaining register_dissector_filter

2011-06-21 Thread Roland Knall
Hi Just wandering around code, and came across the function register_dissector_filter The Profinet plugin is the only code, where this function is apparently in use, but I can not see any immediate use for it? Can it be safely removed, or is the plugin dependant on it? kind regards, Roland

Re: [Wireshark-dev] plugins to builtins

2011-06-21 Thread Roland Knall
Hi On Tue, Jun 21, 2011 at 1:55 AM, Ulf Lamping wrote: > Am 21.06.2011 00:27, schrieb Roland Knall: >> There is nothing technically wrong with dissectors being developed as >> plugins. There might be some technical questions that arise from that >> fact, if another dissector is using them, but fo