massping

Crates.iomassping
lib.rsmassping
version0.3.5
sourcesrc
created_at2021-11-19 08:50:23.130186
updated_at2023-03-20 19:05:17.281004
descriptionICMP ping library for sending batches of ICMP echo request packets and measuring the roundtrip time
homepage
repositoryhttps://github.com/M4SS-Code/massping
max_upload_size
id484373
size57,327
Davide Gullo (Jazzo)

documentation

README

massping

crates.io Documentation dependency status Rustc Version 1.64.0+ CI

Asynchronous ICMP ping library using Linux RAW sockets and the tokio runtime.

As this crate needs to use RAW sockets, it must either be run as root or permission must explicitly be set via sudo setcap cap_net_raw=+eip path/to/binary.

Features

  • strong: implements strong checking for the RTT. Disabling this feature makes the pinger a little bit faster, but opens you up to some servers, like those running pong, to faking the ping times.
  • stream: implements Stream for MeasureManyStream.

MSRV version policy

This project has a CI job to prevent accidental bumping of the MSRV. We might bump MSRV version at any time. If you require a lower MSRV please open an issue.

Commit count: 68

cargo fmt