gping icon indicating copy to clipboard operation
gping copied to clipboard

-4 is using ICMPv6

Open exmatrikulator opened this issue 1 year ago • 4 comments

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

exmatrikulator avatar May 08 '24 08:05 exmatrikulator

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

orf avatar Sep 13 '24 17:09 orf

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.

exmatrikulator avatar Sep 16 '24 06:09 exmatrikulator

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.

orf avatar Sep 16 '24 07:09 orf

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),

exmatrikulator avatar Sep 16 '24 07:09 exmatrikulator

Hey - this is fixed now, and will be released shortly. Thanks for the report!

orf avatar Dec 16 '24 18:12 orf