Skip to content

Rust interface for querying p0f unix socket API.

Notifications You must be signed in to change notification settings

emkw/rust-p0f_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Minimum Supported Rust Version (MSRV):

1.10

About

Rust interface for querying p0f unix socket API.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages