Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pinging failing addresses randomly returns working in windows #82

Closed
cnlohr opened this issue Mar 26, 2021 · 7 comments
Closed

Pinging failing addresses randomly returns working in windows #82

cnlohr opened this issue Mar 26, 2021 · 7 comments
Assignees
Labels

Comments

@cnlohr
Copy link
Member

cnlohr commented Mar 26, 2021

image

Steps:

  • Connect to wireless network.
  • Start cnping {Address}
  • Disconnect from wireless network.

Wait.

@dreua
Copy link
Member

dreua commented Mar 27, 2021

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
Copy link
Member

dreua commented Mar 27, 2021

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
Copy link

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

@dreua
Copy link
Member

dreua commented Mar 27, 2021

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

@dreua
Copy link
Member

dreua commented Mar 27, 2021

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
Copy link

@dreua Could you please have a look?

@dreua
Copy link
Member

dreua commented Apr 4, 2021

One line change but it took me some time to find it 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants