Wireshark-bugs: [Wireshark-bugs] [Bug 13119] extcap: stop/restart capture yields a zombie proces

Date: Fri, 11 Nov 2016 14:23:51 +0000

Comment # 7 on bug 13119 from
(In reply to Simone from comment #6)
> Hi, again thanks for the support.
> 
> I tried building WS using cmake and I keep getting zombies.
> 
> I went through all the excap examples found in the WS master before trying
> to write my own. The only one that handles SIGINT is udpdump. The others
> don't seem to install any signal handler. So it is not clear to me how these
> example extcaps can be properly and gracefully terminated.
> 
> If you want to have a look at my extcap you can find it here:
> https://github.com/ntop/PF_RING/blob/dev/userland/wireshark/extcap/ntopdump.c

Hi, the source code clears it up for me quite nicely.

For the latest extcap to work, you have to implement extcap-base. Without
extcap-base it will not work properly.

Secondly, it does not need to handle interrupts. We close the application via a
sig-term and close the pipe from our side. SHould not require any interrupt
handling on your side.


You are receiving this mail because:
  • You are watching all bug changes.