Wireshark mailing list archives
How to stop extcap gracefully
From: Jirka Novak <j.novak () netsystem cz>
Date: Sat, 27 Nov 2021 22:28:23 +0100
Hi,
I'm working on ciscodump extcap.
The the application creates settings on Cisco device and when it ends,
it clears settings.
The issue is that when capture is stopped during capture, the
application is stopped and settings stays on Cisco device.
I added signal handling to ciscodump so when it is stopped from CLI,
it cleanups as expected. I'm capturing TERM and INT signals. But it
looks that when it is run from wireshark, application is terminated and
signal is not thrown.
Can I ask someone to help me/explain how extcaps are stopped to adapt
to it?
I know how unix signals works, I'm just missing information how
wireshark terminates extcaps.
Best regards,
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)
