wireshark/extcap
John Thacker be5f98b851 androiddump: Don't hang for 20s on Linux if loopback is down
androiddump uses nonblocking connect on Windows, trying 10 times
with 1ms timeouts in select(). (This is short, but it's generally
trying to connect to the loopback interface.) On UN*X, it uses blocking
sockets, also trying 10 times, with SO_SNDTIMEO set to 2s.

Generally the socket returns nears instaneously, because it's
trying to connect to localhost. If the loopback interface goes
down, however, this results in 20s of timeouts.

Use nonblocking sockets on UN*X as well.

Related to #13104, #15295
2023-12-19 15:41:33 +00:00
..
.editorconfig extcap: new interface, wifidump, to capture Wi-Fi frames using a remote SSH host 2022-03-09 08:01:39 +00:00
CMakeLists.txt CMake+Windows: Try to fix NSIS installer with Ninja 2023-06-01 19:27:55 +01:00
androiddump.c androiddump: Don't hang for 20s on Linux if loopback is down 2023-12-19 15:41:33 +00:00
ciscodump.c ciscodump: Keep strptime() behavior unchanged 2023-09-03 19:36:55 +01:00
dpauxmon.c dpauxmon: Flush after pcap header 2023-08-11 20:05:10 +00:00
dpauxmon_user.h extcap: Add header files to Doxygen 2021-11-30 08:29:39 +00:00
etl.c Convert our extcaps to C99 types 2023-06-15 01:14:59 +00:00
etl.h Convert our extcaps to C99 types 2023-06-15 01:14:59 +00:00
etw_message.c Convert our extcaps to C99 types 2023-06-15 01:14:59 +00:00
etw_message.h extcap: Add header files to Doxygen 2021-11-30 08:29:39 +00:00
etw_ndiscap.c Convert our extcaps to C99 types 2023-06-15 01:14:59 +00:00
etwdump.c Convert our extcaps to C99 types 2023-06-15 01:14:59 +00:00
extcap-base.c Convert our extcaps to C99 types 2023-06-15 01:14:59 +00:00
extcap-base.h Convert our extcaps to C99 types 2023-06-15 01:14:59 +00:00
falcodump.cpp Move our Falco plugin directories 2023-10-11 15:25:40 -07:00
randpktdump.c Convert writecap to C99 types 2023-06-16 15:34:44 +00:00
sdjournal.c Convert our extcaps to C99 types 2023-06-15 01:14:59 +00:00
ssh-base.c Convert our extcaps to C99 types 2023-06-15 01:14:59 +00:00
ssh-base.h Convert our extcaps to C99 types 2023-06-15 01:14:59 +00:00
sshdump.c Convert our extcaps to C99 types 2023-06-15 01:14:59 +00:00
udpdump.c wsutil: Consolidate IP address code 2023-10-31 10:14:09 +00:00
wifidump.c Convert our extcaps to C99 types 2023-06-15 01:14:59 +00:00