Re: [Wireshark-dev] ported libwireshark to Android, have some questions on dissection

2011-09-02 Thread George Nychis
Actually, this was a mistake on my management of the dissection pointer. Problem resolved. On Wed, Aug 31, 2011 at 4:34 PM, George Nychis wrote: > Hi all, > > I have spent a good amount of time porting and cross-compiling libwireshark > for Android. My goal is to allow applicatio

[Wireshark-dev] ported libwireshark to Android, have some questions on dissection

2011-08-31 Thread George Nychis
Hi all, I have spent a good amount of time porting and cross-compiling libwireshark for Android. My goal is to allow applications to import the library, read packets from an interface, and use libwireshark to dissect them. For the most part, things are working. I am able to pull packets off an

Re: [Wireshark-dev] how to remove/unregister a dissector?

2011-04-27 Thread George Nychis
This type of functionality would be great. For example, I am building this for Android and I only need basic parsing of radiotap and IP. However, with all of the other dissectors, this blows the size of libwireshark up (to what actually gets linked) to over 80MB. On Wed, Apr 27, 2011 at 6:39 AM,

Re: [Wireshark-dev] how to remove/unregister a dissector?

2011-04-26 Thread George Nychis
Ah, sorry. This did work. Thanks! This is what I needed On Tue, Apr 26, 2011 at 5:54 PM, George Nychis wrote: > Hi Chris, > > Thanks a bunch for the response. > > I have decided to disable certain protocols using a > ~/.wireshark/disabled_protos file (which I confi

Re: [Wireshark-dev] how to remove/unregister a dissector?

2011-04-26 Thread George Nychis
0d3386f in dissect_smb (tvb=0x87f03a0, pinfo=0xbfffe95c, parent_tree=0x87d8810) at packet-smb.c:17016 does adding something to the disabled list just prevent it from being printed, but not from being dissected?? On Tue, Apr 26, 2011 at 2:57 PM, Chris Maynard wrote: > George Nychis writes:

[Wireshark-dev] how to remove/unregister a dissector?

2011-04-26 Thread George Nychis
Hi all, I am looking for the cleanest way to remove or unregister a set of dissectors from libwireshark. When using libwireshark, I register using: epan_init(register_all_protocols, register_all_protocol_handoffs, NULL, NULL, failure_message, open_failure_message, read_failure_messa

Re: [Wireshark-dev] how to cross-compile tshark and tools

2011-04-13 Thread George Nychis
Thanks for the responses, I sincerely appreciate it. I was able to build lemon for my host machine, and compile the majority of the project. My goal is to get libwireshark working on Android as a shared library. It seems to build successfully as a static library, so I am going to try build it as

Re: [Wireshark-dev] how to cross-compile tshark and tools

2011-04-13 Thread George Nychis
Hi Jeff, I am on Revision: 36615 So it seems like I am past that revision. On Wed, Apr 13, 2011 at 12:05 PM, Jeff Morriss wrote: > George Nychis wrote: > >> BTW, it appears that this has come up before in the past (2009): >> https://$1.wireshark.org/lists/wireshark-users/20

Re: [Wireshark-dev] how to cross-compile tshark and tools

2011-04-13 Thread George Nychis
s out, the original poster never got back with whether this worked or not. On Wed, Apr 13, 2011 at 10:32 AM, George Nychis wrote: > Hi all, > > I am trying to cross-compile tshark for an arm system, but I am hitting an > issue I am not sure how to overcome. > > I have added my g

[Wireshark-dev] how to cross-compile tshark and tools

2011-04-13 Thread George Nychis
Hi all, I am trying to cross-compile tshark for an arm system, but I am hitting an issue I am not sure how to overcome. I have added my gcc cross-compiler to my path, and configured my system as: ./configure -host=arm-eabi --disable-wireshark --with-pcap=no I succeed in building several of the c