wireshark/capture
Tomasz Moń d0a9de2af1
capture: Stop extcaps before dumpcap
Send SIGTERM on UNIX systems to all extcap processes when user requests
capture stop. Wait up to 30 seconds for extcaps to finish. If extcaps do
not finish in time, send SIGKILL to remaining extcaps.

Do not call TerminateProcess() on Windows in the same place where UNIX
SIGTERM is sent. Instead schedule extcap termination timeout to happen
as soon as control returns back to the event loop.

There is no universally agreed replacement for SIGTERM on Windows, so
just keep things simple (forcefully terminate like always) until we
have agreed on something.
2022-08-13 20:23:51 +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 capture: Stop extcaps before dumpcap 2022-08-13 20:23:51 +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