@Slater450413@infosec.exchange
Post #4257347
2024-10-22 03:08 UTC
Anyone else notice or have issues where ping.exe on Windows 10/11 behavior appears to be buggy these days.
If I ping an address known to be offline.
On both Linux and Unix, I correctly get 100% packet loss.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PING 192.168.0.2 (192.168.0.2) 56(84) bytes of data.
From 192.168.0.101 icmp_seq=1 Destination Host Unreachable
--- 192.168.0.2 ping statistics ---
1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms
On Windows I get an utterly broken 0% packet loss
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Pinging 192.168.0.2 with 32 bytes of data:
Reply from 192.168.0.100: Destination host unreachable.
Ping statistics for 192.168.0.2:
Packets: Sent = 1, Received = 1, Lost = 0 (0% loss),
The impact is that you then can't accurately measure the commands exitstatus/errorlevel when used in a script.
#infosec #Windows10 #Windows11 #networking #Linux
Replies (1)
-
@Slater450413@infosec.exchange 2026-07-30 23:25
Whoa, just discovered this is now fixed. No idea when that happened. #infosec #Windows10 #Windows11 #Networking #Linux