Comments (7)
Ah. Yeah. The regex used to parse the output from ping only handles ipv4 addresses.
I’ll update it
from gping.
Ahh, right. So we need to invoke ping6
instead of ping
for ipv6 addresses. This complicates things, let me have a think of the best way to do this.
from gping.
Linux ping6
is the same thing as ping
since ~2015 or so, though that may be dependent on packaging (because of course).
from gping.
Hey, can either of you run ping ::1
and send me some lines of output here?
from gping.
From Windows 10:
Pinging ::1 with 32 bytes of data:
Reply from ::1: time<1ms
Reply from ::1: time<1ms
Reply from ::1: time<1ms
Reply from ::1: time<1ms
Ping statistics for ::1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
From Debian 10:
PING ::1(::1) 56 data bytes
64 bytes from ::1: icmp_seq=1 ttl=64 time=0.054 ms
64 bytes from ::1: icmp_seq=2 ttl=64 time=0.081 ms
64 bytes from ::1: icmp_seq=3 ttl=64 time=0.054 ms
64 bytes from ::1: icmp_seq=4 ttl=64 time=0.102 ms
64 bytes from ::1: icmp_seq=5 ttl=64 time=0.060 ms
^C
--- ::1 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 100ms
rtt min/avg/max/mdev = 0.054/0.070/0.102/0.019 ms
from gping.
gping ::1
seems to work for me. Has this issue been fixed or what?
Version info:
gping 1.2.0 from crates.io
Linux 5.8.0-44-generic
Ubuntu 20.04.2
ip a
output:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
from gping.
Hi all, I've tried this on macOs and it doesn't seem to work either.
gping 1.2.1
It just hangs.
ping
and ping6
commands output:
ping ::1
ping: cannot resolve ::1: Unknown host
ping6 ::1
PING6(56=40+8+8 bytes) ::1 --> ::1
16 bytes from ::1, icmp_seq=0 hlim=64 time=0.098 ms
^C
--- ::1 ping6 statistics ---
1 packets transmitted, 1 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev = 0.098/0.098/0.098/0.000 ms
Also: I am not if this is related. But for some domains gping -6 HOSTNAME
works and for some (resolvable to IPv6 address only) it hangs.
from gping.
Related Issues (20)
- Update gping snap HOT 1
- Unable to install gping using Ubuntu/Debian (Azlux's repo) HOT 1
- Consider adding separation when stats are maximally compressed
- NetBSD package HOT 1
- I really like your project but I'm a Gopher and I'm still working on this little tool (ggping), can you help me add some friend chains HOT 1
- Clean-up: is this `try_color_from_string` redundant? HOT 3
- debian gping binary not exists HOT 2
- Does it also support TCP pings? HOT 1
- Print graph with special color/marker for failed commands HOT 1
- Installed ping is not supported: Please use iputils ping, not inetutils HOT 1
- Choose a more sensible default interval on OpenBSD. HOT 1
- Add option for packet size
- Unable to compile due to type inference issue on rustc 1.74.0 or higher HOT 1
- Cargo install gping fails with "type annotations needed" HOT 2
- [Feature Request] Add command line options to for a fixed Y axis scale
- Better indication that host are really dont answer / not exists / etc / instead of 0ms with empty chart [windows] HOT 2
- Hope to increase support for Chinese domain names
- Function additions and suggestions
- [question] Using pinger as a library directly HOT 1
- View stats for the full execution time
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gping.