Re: [Wireshark-dev] Save extracted data from reassembled packets

2010-02-23 Thread Peter Smith
Stig, Thank you very much for such quick fix. I was suprised it took only one line of C code. Indeed knowledge is power :) Now when I use the previously mentioned Lua code with print(wsp_pdu.value), it gives me the hex bytes of the extracted field for the complete protocol payload which is

Re: [Wireshark-dev] Run Time Error

2010-02-23 Thread Anders Broman
Hi, Most probably the problem is what was allready mentioned Another possibility: Did you change something in the hf[] array ? You will get run-time errors for things like: FT_STRING which doesn't have a BASE_NONE and so on. See tmp_fld_check_assert() in epan/proto.c for all the tests

Re: [Wireshark-dev] Run Time Error

2010-02-23 Thread Rajesh P S
On Tue, Feb 23, 2010 at 5:27 PM, Anders Broman anders.bro...@ericsson.comwrote: Hi, Most probably the problem is what was allready mentioned Another possibility: Did you change something in the hf[] array ? You will get run-time errors for things like: FT_STRING which doesn't have a

Re: [Wireshark-dev] Run Time Error

2010-02-23 Thread Jakub Zawadzki
On Tue, Feb 23, 2010 at 07:52:29PM +0530, Rajesh P S wrote: when I delete dash.dll (my_ protocol.dll) from ' C:\wireshark\wireshark-gtk2\plugins\1.1.4-SVN-DASH' its working fine for other protocols.But when I put my dissector dll into the above folder, it gives me above mentioned run time

[Wireshark-dev] compile error on packet-ieee802154.c

2010-02-23 Thread Yu Zhang
Hi all, I tried to build code in lattest version and follow the development guide closely, however, get errors as following: packet-ieee802154.c packet-ieee802154.c(884) : error C2220: warning treated as error - no 'object' f ile generated packet-ieee802154.c(884) : warning C4244: '=' :

Re: [Wireshark-dev] Dissecting packets via wtap file

2010-02-23 Thread Sajit Nayak
Thank you very much for your valuable inputs. Here is my update What types of packets do you have in your file format? The packets can be of ETHERNET, ATM, RAW IP, etc. and packets are for link layer types that Wireshark already understands. I will have a live capture of packets and send

Re: [Wireshark-dev] Run Time Error

2010-02-23 Thread Bill Meier
Jakub Zawadzki wrote: On Tue, Feb 23, 2010 at 07:52:29PM +0530, Rajesh P S wrote: when I delete dash.dll (my_ protocol.dll) from ' C:\wireshark\wireshark-gtk2\plugins\1.1.4-SVN-DASH' its working fine for other protocols.But when I put my dissector dll into the above folder, it gives me above

[Wireshark-dev] Dissecting a portion of a protocol owned by another dissector

2010-02-23 Thread Jeremy O'Brien
Hello, I am trying to write a wireshark plugin that dissects only a certain field of another dissector. I read about writing tap dissectors, but these seem to still receive entire packets rather than just the portion I'm interested in. I am trying to avoid copying large chunks of the main

Re: [Wireshark-dev] Dissecting a portion of a protocol owned by anotherdissector

2010-02-23 Thread Anders Broman
Hi, Not easily, but if you are doing something reasonably like dissecting Vendor specific fields a patch to the existing dissector providing a hook For a plugin would be acceptable, like registering a dissector table a Custom plugin could register in. Regards Anders -Ursprungligt

Re: [Wireshark-dev] Dissecting a portion of a protocol owned by anotherdissector

2010-02-23 Thread Jeremy O'Brien
Hmm... I was trying to avoid touching any existing dissectors to allow my plugin to be as modular as possible. There's no other (easy) way? On Tue, Feb 23, 2010 at 14:11, Anders Broman a.bro...@telia.com wrote: Hi, Not easily, but if you are doing something reasonably like dissecting Vendor

Re: [Wireshark-dev] Dissecting a portion of a protocol owned byanotherdissector

2010-02-23 Thread Maynard, Chris
Which field of which dissector are you interested in? If you're lucky, it might already be available to your plugin in the packet_info struct. - Chris -Original Message- From: wireshark-dev-boun...@wireshark.org [mailto:wireshark-dev-boun...@wireshark.org] On Behalf Of Jeremy O'Brien

Re: [Wireshark-dev] Dissecting a portion of a protocol owned byanotherdissector

2010-02-23 Thread Jeremy O'Brien
I actually figured out a solution to my problem. I was fortunate in wanting to dissect a field in an HTTP payload. I completely looked over the fact that HTTP has all of its fields neatly laid out with strings, so I'm just intercepting the http dissector, doing a couple strstr()'s on it, and

Re: [Wireshark-dev] Dissecting a portion of a protocol owned by anotherdissector

2010-02-23 Thread didier
Hi, Le mardi 23 février 2010 à 14:50 -0500, Jeremy O'Brien a écrit : Hmm... I was trying to avoid touching any existing dissectors to allow my plugin to be as modular as possible. There's no other (easy) way? a lua script? Didier

[Wireshark-dev] buildbot failure in Wireshark (development) on Windows-XP-x86

2010-02-23 Thread buildbot-no-reply
The Buildbot has detected a new failure of Windows-XP-x86 on Wireshark (development). Full details are available at: http://buildbot.wireshark.org/trunk/builders/Windows-XP-x86/builds/1013 Buildbot URL: http://buildbot.wireshark.org/trunk/ Buildslave for this Build: windows-xp-x86 Build

[Wireshark-dev] buildbot failure in Wireshark (development) on Solaris-10-SPARC

2010-02-23 Thread buildbot-no-reply
The Buildbot has detected a new failure of Solaris-10-SPARC on Wireshark (development). Full details are available at: http://buildbot.wireshark.org/trunk/builders/Solaris-10-SPARC/builds/1043 Buildbot URL: http://buildbot.wireshark.org/trunk/ Buildslave for this Build: solaris-10-sparc Build

[Wireshark-dev] buildbot failure in Wireshark (development) on Ubuntu-9.10-x64

2010-02-23 Thread buildbot-no-reply
The Buildbot has detected a new failure of Ubuntu-9.10-x64 on Wireshark (development). Full details are available at: http://buildbot.wireshark.org/trunk/builders/Ubuntu-9.10-x64/builds/196 Buildbot URL: http://buildbot.wireshark.org/trunk/ Buildslave for this Build: ubuntu-9.10-x64 Build

Re: [Wireshark-dev] buildbot failure in Wireshark (development) on Solaris-10-SPARC

2010-02-23 Thread Jakub Zawadzki
On Tue, Feb 23, 2010 at 02:39:31PM -0800, buildbot-no-re...@wireshark.org wrote: The Buildbot has detected a new failure of Solaris-10-SPARC on Wireshark (development). Full details are available at: http://buildbot.wireshark.org/trunk/builders/Solaris-10-SPARC/builds/1043 Buildbot URL: