ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

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:49:26 +0100
2015-11-27 9:45 GMT+01:00 Bálint Réczey <balint@xxxxxxxxxxxxxxx>:
> 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. :-)
I haven't really woken up this morning :-) So:

If releasing the new software under GPL2+ is OK for you we can integrate it to
Wireshark as a helper program and you may make life 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