Wireshark-dev: Re: [Wireshark-dev] wiretap - using as a library rather than coupled with Wiresh
From: Bálint Réczey <balint@xxxxxxxxxxxxxxx>
Date: Fri, 27 Nov 2015 09:45:28 +0100
Hi Dario,

You did not write the platforms you want to support, but in case it is just
Ubuntu/Debian there are pre built wiretap headers and librerary for your
consumption :-):
https://packages.debian.org/unstable/libwiretap-dev

It releasing the new software under GPL2+ we can integrate it to wireshark az
a helper program an you may make like really easy for your users. :-)

Cheers,
Balint

2015-11-27 9:23 GMT+01:00 Dario Lombardo <dario.lombardo.ml@xxxxxxxxx>:
> The scenario I was figuring out was to have a software that wants to
> leverage the libwiretap features. The user could build wiretap in the
> original wireshark dir, as normal. Then it could compile/link the new
> software againts the compiled lib. That implies a process made by hand and
> not semi-automated. This couldn't apply to a released software, whose
> requiremets include wiretap, but could apply to scenarios of task-oriented
> softwares (I mean not general purpose ones).
>
> On Thu, Nov 26, 2015 at 7:54 PM, Guy Harris <guy@xxxxxxxxxxxx> wrote:
>>
>>
>> On Nov 26, 2015, at 1:18 AM, Dario Lombardo <dario.lombardo.ml@xxxxxxxxx>
>> wrote:
>>
>> > Provided that this is not a published lib, that has an unstable
>> > interface, that... whatever constraint you can figure out, I think that it
>> > could be used "as-is". To achive that wouldn't be enough to add the wiretap/
>> > to the include dirs of the compiler and the compiled .so to the linker? Is
>> > there a step I am missing?
>>
>> That depends on what Richard means by "independently of Wireshark".
>>
>> If he means "can I extract the source to libwiretap, and have a source
>> tree with *only* that, and not bother building the rest of Wireshark?", then
>> the steps you're missing are the steps to do exactly that (and to extract
>> the source to libwsutils).
>
>
>
>
> ___________________________________________________________________________
> Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
> Archives:    https://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>              mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe