What you want is a plugin dissector.
Look in the plugins directory for examples on how these work.
This will result in a so/dll that you can distribute independently of wireshark.
There is one caveat though. Plugins rarely work across different
versions of wireshark due to api/abi changes.
So you ahve to be careful that the users use the same version of
wireshark that you built the plugin dissector for.
i.e. build it against the most recently released version of
wireshark and not the current svn.
Once you send the dissector to wireshark for inclusion into mainline
we will probably convert it back from being a plugin to being a normal
builtin dissector.
On 3/22/07, Martin Sustrik <sustrik@xxxxxxxxxx> wrote:
Hi,
GPL is ok. The only concern is that I don't like an idea of publishing
the thing to the public before I have it reviewed by people from AMQP
working group. Something like: send them so/dll, collect the comments,
incorporate them into the product, submit it to Wireshark.
If that's not possible, we'll have to submit it to wireshark first and
ask for comments later.
Thanks.
Martin
Jaap Keuter wrote:
> Hi,
>
> I don't understand. Do you want to share the object/DLL, or the complete
> WS source code, or create a patch? Or are you worried about distribution
> in the GPL sense?
>
> Thanx,
> Jaap
>
> On Thu, 22 Mar 2007, Martin Sustrik wrote:
>
>> Hi,
>>
>> The question I've actually wanted to ask was: "Is there a way
>> to distribute plugin dissectors separately from the Wireshark codebase?"
>> The idea being that we review the plugin internally in AMQP working
>> group before submitting it to you.
>>
>> Thanks.
>> Martin
>>
>> ronnie sahlberg wrote:
>>> For inclusion into mainline wireshark,
>>> please send the patch to the list for revies (unless it is very large
>>> in case a url is better)
>>>
>>> also please provide a few example captures that we can use to test the
>>> dissector with.
>>>
>>>
>>>
>>> On 3/21/07, Martin Sustrik <sustrik@xxxxxxxxxx> wrote:
>>>> Hi all,
>>>>
>>>> I've written dissector for AMQP protocol (www.amqp.org).
>>>>
>>>> It's in alpha version and I would like to distribute it among AMQP
>>>> working group members to get comments/suggestions.
>>>>
>>>> Do you think it is appropriate to incorporate alpha version into
>>>> Wireshark codebase?
>>>>
>>>> Or is there some other process already used in situations like this
one?
>>>>
>>>> Thanks.
>>>> Martin
>>>> _______________________________________________
>>>> Wireshark-dev mailing list
>>>> Wireshark-dev@xxxxxxxxxxxxx
>>>> http://www.wireshark.org/mailman/listinfo/wireshark-dev
>>>>
>>> _______________________________________________
>>> Wireshark-dev mailing list
>>> Wireshark-dev@xxxxxxxxxxxxx
>>> http://www.wireshark.org/mailman/listinfo/wireshark-dev
>> _______________________________________________
>> Wireshark-dev mailing list
>> Wireshark-dev@xxxxxxxxxxxxx
>> http://www.wireshark.org/mailman/listinfo/wireshark-dev
>>
>>
>
> _______________________________________________
> Wireshark-dev mailing list
> Wireshark-dev@xxxxxxxxxxxxx
> http://www.wireshark.org/mailman/listinfo/wireshark-dev
_______________________________________________
Wireshark-dev mailing list
Wireshark-dev@xxxxxxxxxxxxx
http://www.wireshark.org/mailman/listinfo/wireshark-dev