Identify, Ping, and Log Internet Provider Connection Data
To assist you with troubleshooting internet connection issues and
assist in isolating packet loss on your network. It does this by allowing you to
retrieve the top trace route destinations your internet provider uses, and recursively
ping each server in series while capturing the results and writing them to a log file.
Each iteration it queries the destinations again, before shuffling the sequence of
destinations to ensure the analysis is unbiased and consistent across each trace route.
The goal of pingers is to assist you with troubleshooting internet connection issues and assist in isolating packet loss on your network.
It does this by allowing you to retrieve the top trace route destinations your internet provider uses, and recursively ping each server in sequence while capturing the results and writing them to a log file. Each iteration it queries the destinations again, before shuffling the sequence of destinations to ensure the analysis is unbiased and consistent across each trace route.
# Install through CRAN install.packages("pingers") # Or the development version from GitHub # install.packages("devtools") devtools::install_github("jessevent/pingers")
The below showcases the main functions of the
These functions will:
- Retrieve hops between ISP destinations on your network
- Ping a destination repeatedly and calculate packet loss
- Repeat pinging the destinations to isolate and locate troublesome destinations
- Shuffle the destinations in each iteration as to not be only testing for one path
# Install pingers from GitHub # devtools::install_github("jessevent/pinger") library(pingers) # Retrieve top n traceroute results in your call stack destinations <- get_destinations(top_n = 9) # Ping the first result of destinations 50 times ping_results <- ping_capture(destinations$ip, 50) # File and path of where to save the network log log_path <- "~/Desktop/netlogs/network_logs.csv" # Start recursively capturing network logs until cancelled or interupted. # capture_logs(destinations = 3, pings = 10, log_path = log, sleep = 20)
Ctrl + Cto stop capturing logs, or the Stop button in RStudio.
The network_log.csv file will contain the following:
- Jesse Vent - Package Author - jessevent
This project is licensed under the MIT License - see the LICENSE file for details.
Functions in pingers
|shuffle||Shuffle dataframe rows randomely|
|pingers_heatmap||Packet Loss Heatmap|
|capture_logs||Capture ISP network logs|
|get_destinations||Get ISP destinations|
Last month downloads
|License||MIT + file LICENSE|
|Packaged||2018-10-17 09:29:32 UTC; jesseimac|
|Date/Publication||2018-10-26 15:00:03 UTC|
Include our badge in your README