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

-4 is using ICMPv6 #450

Open
exmatrikulator opened this issue May 8, 2024 · 4 comments
Open

-4 is using ICMPv6 #450

exmatrikulator opened this issue May 8, 2024 · 4 comments
Labels

Comments

@exmatrikulator
Copy link

If you provide the '-4' flag the IPv4 address will be shown.
But if you look into the packages IPv6 package are send.

@orf orf added the bug label Sep 13, 2024
@orf
Copy link
Owner

orf commented Sep 13, 2024

Can you be more clear? What OS are you using, and what specific command are you running?

@orf orf added the Moreinfo label Sep 13, 2024
@exmatrikulator
Copy link
Author

I'm using Manjaro.

  • make sure you have a internet connection with IPv4 and IPv6 working.
  • start tcpdump -i <interface> -n 'icmp or icmp6' in the background
  • watch the difference between gping google.com and gping google.com -4

gping shows different IPs(4/6), but tcpdump shows only IPv6.

@orf orf removed the Moreinfo label Sep 16, 2024
@orf
Copy link
Owner

orf commented Sep 16, 2024

Thank you for this information, it is really helpful. I’ll take a look.

Could you also give me the version of ping you’re using? That should be all I need to fix this.

@exmatrikulator
Copy link
Author

gping --version

gping 1.17.3
commit_hash: 
build_time: 2024-07-25 21:20:32 +00:00
build_env: rustc 1.79.0 (129f3b996 2024-06-10) (Arch Linux rust 1:1.79.0-3),

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

2 participants