> The tool is often used for network troubleshooting. By showing a list of routers traversed, and the average round-trip time as well as packet loss to each router, it allows users to identify links between two given routers responsible for certain fractions of the overall latency or packet loss through the network.[4] This can help identify network overuse problems.[5]
Scapy has a 3d visualization of one traceroute sequence with vpython. In college, I remember modifying it to run multiple traceroutes and then overlaying all of the routes; and wondering whether a given route is even stable through a complete traceroute packet sequence. https://scapy.readthedocs.io/en/latest/usage.html#tcp-tracer...
One way to avoid running tools that need root for crafting packets at layer 2 is to use setcap:
I like the graph and being able to use multiple hosts. I could see some benefit to creating bash functions that use gping + cmd + curl since HTTPS will be reachable in more places than ICMP which is often blocked at the last few hops past a datacenter firewall and ICMP numbers can be misleading since most operating systems rate limit it and most routers deprioritize it based on backplane CPU load which has no bearing on the ability to forward packets.
I noticed that if I used "-4" with a host that has both ipv4 and ipv6 addresses it still pings the ipv6 address despite displaying the ipv4 address. Do others here experience that? I'm on version 1.8.0.
On the rare occasion I need feedback while messing around with cabling. I did write an improvised tool for the purpose, but it's kind of crappy in that it's just around ping.
I love gping, but wish there was more of an in-depth info/manpage. The one it ships with doesn't explain much (What's t/o, for example? How are things calculated?), and the github page doesn't help much either.
I miss "bing" which was not a search engine, but a "stochastic bandwidth measurement tool". It could tell you the bandwidth between any two network links regardless of limited bandwidth between you and the targets. I could measure T-3 or OC-48 backbone link speeds while I myself was connected, several hops away, on a 33.6Kbps modem link.
It did not last long and it seemed to be abandoned, and popular Linux distros stopped carrying it as a package. I'm not aware of another tool that can perform the same measurements.
In the olden days before IPv6, geoip of IPv4 used to work and there was traceroute-like utility on Windows that could plot IPs on maps called NeoTrace Pro. IIRC, it also included something of a ping map where it would reping every middlebox. Nowadays, not all middleboxes respond and there is often too much carrier overlaying and SDN flow management for IPs to map to any specific physical location like it were a land phone line when every little company bought a Class C and put their business phone number in the ARIN database.
I found this useful when trying to diagnose what I thought was a flaky wifi network. Visually seeing both dimensions when something is only subtly broken makes life a lot easier.
I have a quick and dirty CLI that just runs `ping` in a loop and repeats on the terminal proportional to the ping time. It's fantastic and I use it all the time. I also have it update the terminal title so it's useful even if it's not in focus.
Off topic, but it seems that we’ve really stagnated, on the terminal front, especially considering how many clients have full GPU acceleration these days.
How has there not been some basic image/data steaming built in, after all of these decades? Why am I writing scripts that parse human text output?
If you want to have a program that outputs binary data to stdout, then accept binary data on stdin, there’s no reason not to. It isn’t the standard for historical reasons, and because text is easier to bootstrap from manually-inspected results into a script.
For example, the easiest way I’ve found to render generated images into a gif or mp4 is to pipe a sequence of ppm-encoded images into ffmpeg.
[+] [-] pqdbr|2 years ago|reply
For instance, `gping mydomain.com google.com` is really nice for a quick sanity check (is it my Wifi or my hosting provider).
[+] [-] dredmorbius|2 years ago|reply
It doesn't graph output, but does show connectivity , latency, packet loss, and variance on a set of hosts between your IP and the destination.
<https://www.bitwizard.nl/mtr/>
(Previously noted in this thread by westurner: <https://news.ycombinator.com/item?id=36549005>)
[+] [-] ape4|2 years ago|reply
[+] [-] stormed|2 years ago|reply
[+] [-] orf|2 years ago|reply
[+] [-] westurner|2 years ago|reply
> The tool is often used for network troubleshooting. By showing a list of routers traversed, and the average round-trip time as well as packet loss to each router, it allows users to identify links between two given routers responsible for certain fractions of the overall latency or packet loss through the network.[4] This can help identify network overuse problems.[5]
Scapy has a 3d visualization of one traceroute sequence with vpython. In college, I remember modifying it to run multiple traceroutes and then overlaying all of the routes; and wondering whether a given route is even stable through a complete traceroute packet sequence. https://scapy.readthedocs.io/en/latest/usage.html#tcp-tracer...
One way to avoid running tools that need root for crafting packets at layer 2 is to use setcap:
Does traceroute inappropriately connect the dots?[+] [-] codetrotter|2 years ago|reply
I have it set up to do trace routes to 1.1.1.1 and to 8.8.8.8, and then I can look at the graphs in Prometheus
I was inspired to set this up on my computer after the house where the computer is at was having very unstable internet for several days.
I made a video about the graphs here https://video.nstr.no/w/hjTH3Vggn2fvpTrQitMmVP
[+] [-] throwaway290|2 years ago|reply
[+] [-] jimmySixDOF|2 years ago|reply
[+] [-] LinuxBender|2 years ago|reply
I noticed that if I used "-4" with a host that has both ipv4 and ipv6 addresses it still pings the ipv6 address despite displaying the ipv4 address. Do others here experience that? I'm on version 1.8.0.
[+] [-] unknown|2 years ago|reply
[deleted]
[+] [-] doersino|2 years ago|reply
[+] [-] dale_glass|2 years ago|reply
On the rare occasion I need feedback while messing around with cabling. I did write an improvised tool for the purpose, but it's kind of crappy in that it's just around ping.
Behold the power of 'pingu': https://pastebin.com/qTfdZ7C8
[+] [-] oxygen_crisis|2 years ago|reply
[+] [-] orf|2 years ago|reply
[+] [-] betaby|2 years ago|reply
Make sure you understand what MTR actually shows and why.
[+] [-] DrPhish|2 years ago|reply
[+] [-] orf|2 years ago|reply
t/o is timeouts by the way
[+] [-] 29athrowaway|2 years ago|reply
- ministat
- gnuplot
- https://www.brendangregg.com/dtkshdemos.html
[+] [-] NoZebra120vClip|2 years ago|reply
It did not last long and it seemed to be abandoned, and popular Linux distros stopped carrying it as a package. I'm not aware of another tool that can perform the same measurements.
[+] [-] sacnoradhq|2 years ago|reply
[+] [-] Moru|2 years ago|reply
[+] [-] mberning|2 years ago|reply
[+] [-] metadaemon|2 years ago|reply
[+] [-] loloquwowndueo|2 years ago|reply
[+] [-] petercooper|2 years ago|reply
[+] [-] Deuterium|2 years ago|reply
[+] [-] guptarohit|2 years ago|reply
Post showing multiline plot of ping to multiple hosts: https://mastodon.social/@guptarohit/110638311512899264
[+] [-] nomel|2 years ago|reply
How has there not been some basic image/data steaming built in, after all of these decades? Why am I writing scripts that parse human text output?
[+] [-] jmholla|2 years ago|reply
[0]: https://en.m.wikipedia.org/wiki/Sixel
[+] [-] MereInterest|2 years ago|reply
For example, the easiest way I’ve found to render generated images into a gif or mp4 is to pipe a sequence of ppm-encoded images into ffmpeg.
[+] [-] aflag|2 years ago|reply
[+] [-] jflitt|2 years ago|reply
[+] [-] badrabbit|2 years ago|reply
[+] [-] DavideNL|2 years ago|reply
[+] [-] simonmales|2 years ago|reply
[+] [-] unknown|2 years ago|reply
[deleted]