Re: [Wireshark-dev] Dissector Question - arrays of data in packets - how to display

2007-02-27 Thread John Jamulla
I guess where I'm confused is NOT the bitfield part, I have that working, but and I use the same hf[] field registration over and over and over within a loop? I guess I don't really understand the field registration part all that well and wasn't sure what would happen. For example, can I do (ex

Re: [Wireshark-dev] [PATCH] Dissector hooks: Small and Simple additions

2007-02-27 Thread Guy Harris
On Feb 21, 2007, at 6:53 PM, Shehjar Tikoo wrote: > It brings in the dissector hooks feature discussed here a few weeks > back. Its a small patch that includes basic infra for hooks and a > sample hook for the NFS dissector. > > Right now, the hook gets called(..using call_dissector_hooks().

Re: [Wireshark-dev] Dissector Question - arrays of data in packets - how to display

2007-02-27 Thread Guy Harris
On Feb 27, 2007, at 5:05 PM, Stephen Fisher wrote: > You would typically use proto_tree_add_item() and define the bitmask > as > part of the hf[] field registration. Unfortunately, that doesn't handle the "Generator 1"/"Generator 2"/... issue. It might be useful to add new APIs that take an

Re: [Wireshark-dev] [PATCH] Dissector hooks: Small and Simple additions

2007-02-27 Thread Shehjar Tikoo
Hi That thread is here: http://thread.gmane.org/gmane.network.wireshark.devel/3695 Here is my first post about what I am trying to do. http://thread.gmane.org/gmane.network.wireshark.devel/3464 Regards Shehjar Stephen Fisher wrote: > On Thu, Feb 22, 2007 at 01:53:29PM +1100, Shehjar Tikoo wrote

Re: [Wireshark-dev] Regarding Dissector

2007-02-27 Thread Stephen Fisher
On Tue, Feb 27, 2007 at 11:25:09AM +0530, Vipin M wrote: > I used ethereal / wireshark to sniffing WLAN ( IEEE 802.11 ) packet. > Now for some of my research purpose i like to add a new dissector. I > red through README.developer of dissector. I am not clear how to add a > new protocol and also

Re: [Wireshark-dev] Dissector Question - arrays of data in packets - how to display

2007-02-27 Thread Stephen Fisher
On Sat, Feb 24, 2007 at 11:04:27AM -0500, John Jamulla wrote: > I have some data in my own protocol that is really a set of 512, 2 > byte bit fields, and I want to display something like: > > Generator 1 Fielda > Generator 1 Fieldb > Generator 1 Fieldc > Generator 1 Fieldd > Generator 2

Re: [Wireshark-dev] [PATCH] Dissector hooks: Small and Simple additions

2007-02-27 Thread Stephen Fisher
On Thu, Feb 22, 2007 at 01:53:29PM +1100, Shehjar Tikoo wrote: > It brings in the dissector hooks feature discussed here a few weeks > back. Its a small patch that includes basic infra for hooks and a > sample hook for the NFS dissector. I'm sorry, I don't recall the messages talking about thi

Re: [Wireshark-dev] Cross-compile wireshark, without using gnutls

2007-02-27 Thread Stephen Fisher
On Fri, Feb 23, 2007 at 12:20:43AM +0100, Sebastien Tandel wrote: > It should work with this patch. After applying, pleaser run > "./autogen.sh" then "./configure --disable-gnutls" Could you change it to be --without-gnutls (aka --with-gnutls=no) to be in line with the other options (--with-l

Re: [Wireshark-dev] [patch] update for ETHERNET Powerlink dissector

2007-02-27 Thread Daniel Krüger
Anders Broman schrieb: > Committed revision 20937. Thank you. cu Daniel ___ Wireshark-dev mailing list Wireshark-dev@wireshark.org http://www.wireshark.org/mailman/listinfo/wireshark-dev

Re: [Wireshark-dev] Wireshark development API

2007-02-27 Thread Stephen Fisher
Most of the dissector API is documented in the source code tree in doc/README.developer. P.S. Please don't send HTML only messages to the list. Steve ___ Wireshark-dev mailing list Wireshark-dev@wireshark.org http://www.wireshark.org/mailman/listinfo

Re: [Wireshark-dev] local operation code in MAP

2007-02-27 Thread Anders Broman
Hi, My bad the complete encoding should be 02 02 88 99 ( Integer(02) length(02) Value(88 99). Best regards Anders Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] För Anders Broman (AL/EAB) Skickat: den 27 februari 2007 17:55 Till: Developer support list fo

Re: [Wireshark-dev] Wireshark development API

2007-02-27 Thread Sebastien Tandel
Hi, You probably have to read the code for a complete information on the API functions. One good starting point is to read files in the epan repository. I would propose mainly proto.h, tvb.h, tvbuff.h, value_string.h but it is not an exhaustive list. It is a starting point ;) Have a look at the d

Re: [Wireshark-dev] local operation code in MAP

2007-02-27 Thread Anders Broman \(AL/EAB\)
Hi, Shouldn't the encoded value be H'81 H'19(153) ? Best regards Anders From: [EMAIL PROTECTED] on behalf of [EMAIL PROTECTED] Sent: Tue 2/27/2007 3:14 PM To: wireshark-dev@wireshark.org Subject: Re: [Wireshark-dev] local operation code in MAP Hi, I've give

[Wireshark-dev] Wireshark development API

2007-02-27 Thread MKS {}
Hi,   I wanted to know where I could get the complete API for developing dissectors. The developers guide has an example but the API list is not exhaustive. Thanks,   --Mahesh   Want a degree but can't afford to quit? Top school degrees online - in as fast as 1 year

[Wireshark-dev] WireShark + LUA

2007-02-27 Thread Verriere Joseph
Hello, I'm trying to use LUA but I get a bug on Tshark when I launch my program. I do this: local numFrames = Field.new ("h248.ctx.cmd") local extract_com = Listener.new() function extract_com.packet(pinfo, Tvb) local frames = { numFrames() } end There, without doing anything with fra

Re: [Wireshark-dev] local operation code in MAP

2007-02-27 Thread Florent . Drouin
Right, I did check the encoding of an integer value: Integer Value Ber Encoding 0 02 01 00 127 02 01 7F 128 02 02 00 80 256 02 02 01 00 -128 02 01 80 Regards Florent

Re: [Wireshark-dev] local operation code in MAP

2007-02-27 Thread durgabhavani.uppuluru
Hi, I've made the following changes in the packet: opcode length : 2 bytes opcode value : 00 99. It works. Thanks a lot for your help. Regards, Bhavani. From: DurgaBhavani Uppuluru Sent: Tuesday, February 27, 2007 7:44 PM To: 'wireshark-dev@w

Re: [Wireshark-dev] local operation code in MAP

2007-02-27 Thread durgabhavani.uppuluru
Hi, I've given the value for operation code, not the ASN1 compiler. I've tried below suggestion but still got the problem. Operation code length : 02, and the operation code : H'81 H'99. I tried to print the opcode value read from dissect_ber_integer, dissect_ber_integer64 They print

Re: [Wireshark-dev] local operation code in MAP

2007-02-27 Thread Florent . Drouin
Hi, You said: "Hex value shown, in the bytes pane is 99." Is this value field by yourself, or by an ASN1 compiler ? I think, It could be a problem of long form encoding. Could you try to use H'81 H'99 instead of H'99 for the operation code in the message to decode ? Regards Florent

Re: [Wireshark-dev] U3 package fails to install

2007-02-27 Thread Graham Bloice
Graeme Lunt wrote: > Hi, > >> Graham Bloice wrote: >>> I built a U3 version from SVN 20915, but the resulting .u3p fails to >>> install on my SanDisk MicroCruzer. > > Does the package downloaded from: > http://prdownloads.sourceforge.net/wireshark/wireshark-0.99.5.u3p > > install OK? > Yes it d

[Wireshark-dev] Wireshark timestamp

2007-02-27 Thread Verriere Joseph
Hello, I am using LUA with WireShark and when I try to dump a file, the time is always lost. For exemple: I read a frame. I memorize it in Save[i] I memorize its time Time[i]=pinfo.abs_ts And when I dump: Dumper.dump (Extract, Time[i], PseudoHeader.none(), Save[i]) After that, in my new file, i

[Wireshark-dev] communication between wireshark and my process

2007-02-27 Thread Janssens, Kitty
Hello, I'm starting wireshark from within my C++ program (using fork and execl) and tell it to read from a named pipe (-i option). Now, in some cases wireshark will not start e.g. because an incorrect command line parameter is used. In this case, I would like wireshark to tell me that it could