Re: [Wireshark-dev] Regarding Plugin attachment

2014-03-18 Thread Nilesh Nayak
I have the following error while compiling each time my dissector using 'make' command. Couldn't really figure out what the problem is actually.. Any help is greatly appreciated. Thanks and Regards, Nilesh Nayak On Wed, Mar 12, 2014 at 11:34 AM, Hadriel Kaplan hadriel.kap...@oracle.comwrote:

Re: [Wireshark-dev] Regarding Plugin attachment

2014-03-18 Thread Nilesh Nayak
I have the following error while compiling each time my dissector using 'make' command. make[5]: Entering directory `/home/nileshnayak/Desktop/wireshark-1.10.5/epan/dissectors' make[5]: *** No rule to make target `packet-foo.h', needed by `all-am'. Stop. make[5]: Leaving directory

Re: [Wireshark-dev] Regarding Plugin attachment

2014-03-18 Thread Anders Broman
Hi, Does the file packet-foo.h exist in epan/dissectors? From: wireshark-dev-boun...@wireshark.org [mailto:wireshark-dev-boun...@wireshark.org] On Behalf Of Nilesh Nayak Sent: den 18 mars 2014 12:03 To: Hadriel Kaplan; wireshark-dev@wireshark.org; Peter Wu Subject: Re: [Wireshark-dev] Regarding

Re: [Wireshark-dev] Regarding Plugin attachment

2014-03-12 Thread Hadriel Kaplan
So why do a plugin? Just write a normal new dissector. Regardless, the doc to read is this: doc/README.dissector That explains a lot, in detail; and of course you should also look at some existing packet-* files in epan/dissectors. For UDP, packet-stun.c or packet-ntp.c are a relatively

Re: [Wireshark-dev] Regarding Plugin attachment

2014-03-12 Thread Guy Harris
On Mar 11, 2014, at 10:48 PM, Nilesh Nayak nileshna...@gmail.com wrote: But if I set the capture filter as foo, then I should be able to capture foo packets. No. If you modify the grammar.y, scanner.l, and gencode.c files in the libpcap/WinPcap source so that it supports a capture filter

[Wireshark-dev] Regarding Plugin attachment

2014-03-11 Thread Nilesh Nayak
Hello, Is it necessary to uninstall the wireshark each time you try to add a new plugin for your customised protocol? Or can we have 2 instances of wireshark running on the same machine ? Could someone help me with a basic foo plugin ? Thanks and Regards, Nilesh

Re: [Wireshark-dev] Regarding Plugin attachment

2014-03-11 Thread Peter Wu
On Tuesday 11 March 2014 23:12:34 Nilesh Nayak wrote: Is it necessary to uninstall the wireshark each time you try to add a new plugin for your customised protocol? No, a plugin can be enabled and disabled without reinstalling WS. Or can we have 2 instances of wireshark running on the same