cntools / cnping

Minimal Graphical Ping Tool
Other
237 stars 36 forks source link

Pinging failing addresses randomly returns working in windows #82

Closed cnlohr closed 3 years ago

cnlohr commented 3 years ago

image

Steps:

Wait.

dreua commented 3 years ago

Can confirm on my Windows 10 VM. Even without changing network settings I get a few responses at the very beginning and every now and then. Weird, I'll see what I can do!

dreua commented 3 years ago

Screenshot_20210327_094942 It's a very regular pattern in my case... Also tried 192.168.15.233 same result.

Interesting: Different pattern for 192.168.122.233 which is a IP on the local network but there should be no host assigned to it:

Screenshot_20210327_095308

Downloading wireshark...

dark-spark commented 3 years ago

Looks like it is possibly showing a 'reply from x.x.x.x destination host unreachable' as a valid ping.

dreua commented 3 years ago

Yeah that could be the case. I was thinking in that direction, too. Will have a look with wireshark soon...

dreua commented 3 years ago

Wireshark confirms @dark-spark s idea. "Destination network unreachable" ICMP responses show up whenever cnping shows ping returns. @dark-spark Would you like to fix this or should I have a look?

dark-spark commented 3 years ago

@dreua Could you please have a look?

dreua commented 3 years ago

One line change but it took me some time to find it :wink: