Wireshark mailing list archives
Re: How to stop extcap gracefully
From: Jirka Novak <j.novak () netsystem cz>
Date: Sat, 27 Nov 2021 22:51:46 +0100
Hi Roland,
Due to the nature of extcaps, they are not explicitly closed. Instead, you should monitor the created pipes. Dumpcap closes those pipes when the capture has finished. We do send them a kill signal, but due to the nature of the signal handling, this signal may be missed. The sure fire way is, if the pipe gets closed, end the extcap from the extcap side.
can you point me to place where pipes are controlled on extcap side? I see common framework there, but I'm not sure where the place is exactly... Thank you in advance, Jirka ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- How to stop extcap gracefully Jirka Novak (Nov 27)
- Re: How to stop extcap gracefully Roland Knall (Nov 27)
- Re: How to stop extcap gracefully Jirka Novak (Nov 27)
- Re: How to stop extcap gracefully Roland Knall (Nov 27)
- Re: How to stop extcap gracefully Jirka Novak (Nov 27)
- Re: How to stop extcap gracefully Roland Knall (Nov 27)