Expand description
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
: implementsStream
forMeasureManyStream
.
§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.
Modules§
- packet
- ICMP packets implementation used by
raw_pinger
. - raw_
pinger - Synchronous and asynchronous raw pinger implementation
Structs§
- Dualstack
Measure Many Stream - A
Stream
of ping responses. - Dualstack
Pinger - A pinger for both
Ipv4Addr
andIpv6Addr
addresses. - Measure
Many Stream - A
Stream
of ping responses. - Pinger
- A pinger for
IpVersion
(eitherIpv4Addr
orIpv6Addr
).