Some updates on this.
When running in QT, 2 dumcaps are created, one for stats and one for
capture. When capturing on nflog, the child process require the parent to
be dead (its fd are released). I tried to implement a solution that, in
case the interface starts with "nf", tries again up to 10 times. It works
on my machine. I noticed that the first try fails, while the second succeds.
You can find the change here

https://code.wireshark.org/review/#/c/6796/

Comments welcome.
Dario.

On Fri, Jan 23, 2015 at 2:11 PM, Dario Lombardo <[email protected]
> wrote:

> Hi Peter
> I opened a bug on bugzilla for that
>
> https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=10886
>
> and I tried to figure out how the solution can be implemented. You can
> find my WIP here
>
> https://code.wireshark.org/review/6757
>
> If you or someone else want to work on it, you're welcome.
> Dario.
>
> On Tue, Dec 23, 2014 at 11:15 AM, Dario Lombardo <
> [email protected]> wrote:
>
>>
>>>
>>> Kill statistics before starting the capture? Sounds fine to me, though I
>>> am not sure whether it has other side-effects. The Capture -> Options
>>> dialog is another place where these stats are visible.
>>>
>>
>> What about filing a bug? Do you think it would be useful? Or is there
>> anyone taking care of it?
>>
>
>
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:[email protected]?subject=unsubscribe

Reply via email to