All Projects → k4yt3x → rustyping

k4yt3x / rustyping

Licence: GPL-3.0 License
A prettier lightweight colored ping utility written in Rust

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to rustyping

NodePingManage
可用于监控交换机/服务器/防火墙的存活状态的ping监控报警系统
Stars: ✭ 47 (+104.35%)
Mutual labels:  ping
gen icmp
ICMP protocol implementation for Erlang without NIFs
Stars: ✭ 26 (+13.04%)
Mutual labels:  ping
janitor
Availability monitoring and alerting for IOT devices
Stars: ✭ 55 (+139.13%)
Mutual labels:  ping
pingo
Ping library for Golang with multi-host support
Stars: ✭ 36 (+56.52%)
Mutual labels:  ping
icmpmon
A simple ICMP monitor with web interface.
Stars: ✭ 33 (+43.48%)
Mutual labels:  ping
DS3ConnectionInfo
Simple C# application showing active P2P connection information for Dark Souls III. Also implements a basic ping filter.
Stars: ✭ 31 (+34.78%)
Mutual labels:  ping
ping-exporter
Prometheus Ping exporter
Stars: ✭ 60 (+160.87%)
Mutual labels:  ping
reachable-url
Given an URL, it resolves as fast as possible, performing a GET without downloading the body.
Stars: ✭ 25 (+8.7%)
Mutual labels:  ping
speed-cloudflare-cli
📈 Measure the speed and consistency of your internet connection using speed.cloudflare.com
Stars: ✭ 99 (+330.43%)
Mutual labels:  ping
ComputerNetworks-unipd2018
Tips and resources to easily pass the "Computer Networks" practical exam ("Reti di calcolatori") in Padua
Stars: ✭ 21 (-8.7%)
Mutual labels:  ping
upmail
Email notification hook for https://github.com/sourcegraph/checkup.
Stars: ✭ 62 (+169.57%)
Mutual labels:  ping
netcheck
A shell script to check and log when your internet connection goes down.
Stars: ✭ 138 (+500%)
Mutual labels:  ping
BackToTheFuture
Respond to pings before they even arrive at the server
Stars: ✭ 18 (-21.74%)
Mutual labels:  ping
ICMP-server
simple web app that use icmp protocol to check some devices if there are up or not
Stars: ✭ 16 (-30.43%)
Mutual labels:  ping
pingnoo
An open-source cross-platform traceroute/ping analyser.
Stars: ✭ 149 (+547.83%)
Mutual labels:  ping
mtr-packet-python
Asynchronous network probes for Python
Stars: ✭ 35 (+52.17%)
Mutual labels:  ping
minecraft-server-status
PHP library to check Minecraft Servers Status
Stars: ✭ 36 (+56.52%)
Mutual labels:  ping
tcping
⚡️ Just like icmp ping
Stars: ✭ 138 (+500%)
Mutual labels:  ping
pinger
Pinger is an uptime and status monitoring application.
Stars: ✭ 14 (-39.13%)
Mutual labels:  ping
pingPongBallClock
Raspberry Pi code for the Ping Pong Ball Clock Project
Stars: ✭ 23 (+0%)
Mutual labels:  ping

rustyping

A prettier lightweight colored ping utility written in Rust.

screenshot

Installation

There are three installation options:

You will need cargo and rustup for the compilation. rustup is required since rustyping requires the nightly channel of the Rust toolchain. Currently, rustyping only support UNIX platforms (Linux and macOS). If you want it to be supported on other platforms, open an issue.

git clone https://github.com/k4yt3x/rustyping.git
cd rustyping
cargo build --release
cargo install --path .
strip $(which rp)

rustyping's binary will be installed to Cargo's binary directory (e.g., ~/.cargo/bin/rp). You can use the command rp to launch rustyping. Note that programs on Linux require the CAP_NET_RAW capability to be able to open raw sockets as an non-root user. The command below gives rustyping's binary this capability.

sudo setcap cap_net_raw=+eip $(which rp)

Unrestricted Mode

By default, non-root users can send pings at a minimal interval of 200ms or 0.2s. This is to prevent normal users from being able to cause ICMP floods. If you wish to disable this safety feature, you can compile rustyping with the unrestricted feature.

cargo build --release --features unrestricted

Usages

You can see the usages using the -h/--help switch.

USAGE:
    rp [OPTIONS] <DESTINATION>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -c, --count <COUNT>          stop after <count> replies [default: 0]
    -i, --interval <INTERVAL>    seconds between sending each packet [default: 1.0]
    -W, --timeout <TIMEOUT>      time to wait for response [default: 2.0]

ARGS:
    <DESTINATION>    dns name or ip address
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].