Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: [Wireshark-dev] Bug in extcap?

From: Anders Esbensen <Anders.Esbensen@xxxxxxxxxx>
Date: Sat, 25 Jan 2020 21:53:29 +0000


Hi,

 

I’m seeing some issues with extcap on linux and osx. If I run udpdump and stop it again the udp process is not terminated. If I start udpdump once again I will have two udpdump processes running on my system. I’ve tested this on v2.4.5 and v3.2.1.

 

Looking though the code I cannot find any places in extcap.c where the dumper is terminated, but for Windows it seems that the dumper process is terminated in extcap.c:1142.

 

I’ve attached a patch which seems to solve the issue, but I’m not quite sure it’s the right thing to do.

 

Best regards

Anders

 

 

Anders Lynge Esbensen

Staff Software Engineer, IoT Software

 

Emdrupvej 28B, 2100 København Ø, Denmark

 

Attachment: image001.png
Description: image001.png

 

Attachment: terminate_extcap_on_linux_osx.patch
Description: terminate_extcap_on_linux_osx.patch