3 releases
Uses old Rust 2015
0.1.2 | Jan 22, 2023 |
---|---|
0.1.1 | Jul 23, 2016 |
0.1.0 | Jul 16, 2016 |
#1028 in Unix APIs
12KB
220 lines
p0f_api
This crate provides Rust interface for communicating with p0f unix socket query API,
for use with std::net::IpAddr
, std::net::Ipv4Addr
and std::net::Ipv6Addr
.
Since it uses Rust std::os::unix::net::UnixStream
it won't work on systems that do not support it.
It has been developed with p0f version 3.09b.
How to use it?
Cargo.toml:
[dependencies]
p0f_api = "~0.1.2"
Code:
Please see examples/query.rs
.