wireshark/capture
Tomasz Moń c1861ad1cc
extcap: Close capture session after extcap finishes
Wait up to 30 seconds for extcap process to finish after closing pipes.
The wait is achieved in non-blocking fashion, i.e. the UI is completely
responsive during the wait. Only actions related to capture process like
capture control, file open, save, export are inactive during the wait.

On Windows extcap child watch callback gets called immediately as the
process is forcefully terminated. Prior to this change the extcap was
forcefully terminated on Windows anyway.

The wait is possible on UNIX systems if extcap does handle SIGPIPE and
SIGTERM signals. The defaults handlers for SIGPIPE and SIGTERM simply
terminate the process so for large number of extcaps there is no change.
If extcap does not finish within 30 seconds, it is forcefully terminated
using SIGKILL signal.
2022-08-10 06:18:15 +02:00
..
.editorconfig
CMakeLists.txt CMake: Adjust wsutil includes and linking. 2021-07-14 03:56:05 +00:00
airpcap.h Revert "A small for for the Doxygen warning:" 2022-06-20 09:56:54 +00:00
airpcap_loader.c Windows: Fix build 2022-02-24 20:29:04 +00:00
airpcap_loader.h Windows: Fix build 2022-02-24 20:29:04 +00:00
capture-pcap-util-int.h capture: Add header files to Doxygen 2021-11-30 06:27:26 +00:00
capture-pcap-util-unix.c dumpcap: Fix a TODO for Npcap test 2022-02-24 21:15:51 +00:00
capture-pcap-util.c Replace g_strdup_printf() with ws_strdup_printf() 2021-12-19 21:21:58 +00:00
capture-pcap-util.h dumpcap: Fix a TODO for Npcap test 2022-02-24 21:15:51 +00:00
capture-wpcap.c dumpcap: Fix a TODO for Npcap test 2022-02-24 21:15:51 +00:00
capture-wpcap.h capture: Add header files to Doxygen 2021-11-30 06:27:26 +00:00
capture_ifinfo.c Replace g_strdup_printf() with ws_strdup_printf() 2021-12-19 21:21:58 +00:00
capture_ifinfo.h capture: Add header files to Doxygen 2021-11-30 06:27:26 +00:00
capture_session.h extcap: Close capture session after extcap finishes 2022-08-10 06:18:15 +02:00
capture_sync.c extcap: Close capture session after extcap finishes 2022-08-10 06:18:15 +02:00
capture_sync.h Clean up handling of --capture-comment. 2021-07-15 05:43:36 +00:00
capture_win_ifnames.c Refactor our logging and extend the wslog API 2021-06-11 09:40:28 +00:00
capture_win_ifnames.h capture: Add header files to Doxygen 2021-11-30 06:27:26 +00:00
iface_monitor.c Replace g_snprintf() with snprintf() 2021-12-19 20:06:13 +00:00
iface_monitor.h capture: Add header files to Doxygen 2021-11-30 06:27:26 +00:00
ws80211_utils.c Replace g_strdup_printf() with ws_strdup_printf() 2021-12-19 21:21:58 +00:00
ws80211_utils.h capture: Add header files to Doxygen 2021-11-30 06:27:26 +00:00