[Wireshark-dev] why wireshark cannot open large size files?

2011-08-24 Thread John x
Hi, folks, I find that I can open pcap files like 5kb or 9kb, but if I open a file with size like 500kb or 1mb, it will be shown "wireshark not responding" in Windows. What's the problem? Thanks

[Wireshark-dev] can I generate windows-used plugin on Linux?

2011-08-23 Thread John x
Hi, folks, I developed wireshark plugin for Linux (which is .so). I am wondering whether I can generate plugin for windows(which is .dll) from Linux? If yes, how to do that? Thanks __

Re: [Wireshark-dev] why wireshark plugin does not work here - dissector_add_uint()

2011-08-18 Thread John x
dvice? Thanks > From: g...@alum.mit.edu > Date: Thu, 18 Aug 2011 12:52:10 -0700 > To: wireshark-dev@wireshark.org > Subject: Re: [Wireshark-dev] why wireshark plugin does not work here - > dissector_add_uint() > > On Aug 17, 2011, at 10:37 AM, John x wrote: > > &

Re: [Wireshark-dev] why wireshark plugin does not work here - dissector_add_uint()

2011-08-18 Thread John x
ark-dev] why wireshark plugin does not work here - > dissector_add_uint() > > On Thu, Aug 18, 2011 at 01:37:27AM +0800, John x wrote: > > I am working on wireshark 1.7.0 (SVN from /trunk), so the ".so" file > > generated from "1.7.0" cannot be used on

Re: [Wireshark-dev] why wireshark plugin does not work here - dissector_add_uint()

2011-08-17 Thread John x
shark.org > Subject: Re: [Wireshark-dev] why wireshark plugin does not work here - > dissector_add_uint() > > > On Aug 16, 2011, at 7:02 PM, John x wrote: > > > I developed a plugin, > > For which version of Wireshark? There is no guarantee that a plugin fo

[Wireshark-dev] why wireshark plugin does not work here - dissector_add_uint()

2011-08-16 Thread John x
Hi, folks, I developed a plugin, and generated the xxx.so file. Then I put the xxx.so file under /usr/lib/wireshark/plugins/xxx.so when I run the wireshark, it shows: couldn't load module /usr/lib/wireshark/plugins/1.4.4/xxx.so: undefined symbol: dissector_add_uint I do have a disse

[Wireshark-dev] how to change dissector to plugin ?

2011-08-16 Thread John x
Hi, folks, I developed a dissector, and put the packet-xxx.c file under: epan/dissectors/, then changed the Make file to make it works. But now I am wondering how to change the dissector to run as plugin, in that way other people can use my dissector as a plugin? Thanks John

[Wireshark-dev] anyone can give me a sample pcap of "roofnet" ?

2011-07-01 Thread John x
Hi, who has a sample pcap of roofnet protocol ? I wanna one to test thanks John ___ Sent via:Wireshark-dev mailing list Archives

Re: [Wireshark-dev] why cannot I use heur_dissector_add("ip", .....

2011-06-26 Thread John x
I will consider about it thanks > From: g...@alum.mit.edu > Date: Sun, 26 Jun 2011 14:17:37 -0700 > To: wireshark-dev@wireshark.org > Subject: Re: [Wireshark-dev] why cannot I use heur_dissector_add("ip", . > > > On Jun 26, 2011, at 2:09 PM, John x

Re: [Wireshark-dev] why cannot I use heur_dissector_add("ip", .....

2011-06-26 Thread John x
these packets run directly atop IP, any suggestions? Thanks > From: g...@alum.mit.edu > Date: Sun, 26 Jun 2011 13:48:07 -0700 > To: wireshark-dev@wireshark.org > Subject: Re: [Wireshark-dev] why cannot I use heur_dissector_add("ip", . > > > On Jun 26,

Re: [Wireshark-dev] why cannot I use heur_dissector_add("ip", .....

2011-06-26 Thread John x
my 3 different dissectors? Thanks > From: g...@alum.mit.edu > Date: Sun, 26 Jun 2011 11:58:17 -0700 > To: wireshark-dev@wireshark.org > Subject: Re: [Wireshark-dev] why cannot I use heur_dissector_add("ip", . > > > On Jun 25, 2011, at 11:45 PM, John x wrote

Re: [Wireshark-dev] why cannot I use heur_dissector_add("ip", .....

2011-06-25 Thread John x
-0700 > To: wireshark-dev@wireshark.org > Subject: Re: [Wireshark-dev] why cannot I use heur_dissector_add("ip", . > > > On Jun 25, 2011, at 10:26 PM, John x wrote: > > > Why cannot I use ip, like: heur_dissector_add("ip", dissect_PROTOABBREV,

[Wireshark-dev] why cannot I use heur_dissector_add("ip", .....

2011-06-25 Thread John x
the following is an example from README.heuristic --- void proto_reg_handoff_PROTOABBREV(void) { static int PROTOABBREV_inited = FALSE; if ( !PROTOABBREV_inited ) { /* register as heuristic dissector for both TCP and UDP */ heur_dissector_

Re: [Wireshark-dev] how to extract "IP.len" (IP_total length) to my local variable in my dissector?

2011-06-24 Thread John x
> On Jun 24, 2011, at 12:25 PM, John x wrote: > > > but how to get the location (called offset, right?) value? since I need to > > reach to the last byte of the packet > > Offsets within the tvbuff containing your packet start at 0, so if your > packet is N by

Re: [Wireshark-dev] how to extract "IP.len" (IP_total length) to my local variable in my dissector?

2011-06-24 Thread John x
ract "IP.len" (IP_total length) to my > local variable in my dissector? > > > On Jun 24, 2011, at 11:47 AM, John x wrote: > > > Now that tvb_length() and tvb_reported_length() are different. Could you > > please tell me

Re: [Wireshark-dev] how to extract "IP.len" (IP_total length) to my local variable in my dissector?

2011-06-24 Thread John x
33:15 +0200 > From: jaap.keu...@xs4all.nl > To: wireshark-dev@wireshark.org > Subject: Re: [Wireshark-dev] how to extract "IP.len" (IP_total length) to my > local variable in my dissector? > > On 06/24/2011 09:13 AM, John x wrote: > > Hi, folks, > > > > I

[Wireshark-dev] how to extract "IP.len" (IP_total length) to my local variable in my dissector?

2011-06-24 Thread John x
Hi, folks, I am developing a dissector, my tasks are: 1. to get the “ip.len” (the total length in IP header), 2. using the ip.len to know how long the packet would be and extract the last byte to my local variable. Could you guys please tell me how to get the IP’s total length from IP