Skip to main content

Crate huginn_net_db

Crate huginn_net_db 

Source
Expand description

§huginn-net-db

P0f database parser and matching traits for network fingerprinting.

This crate provides:

  • Parsing of p0f database format
  • Database structures for TCP and HTTP signatures
  • Traits for fingerprint matching
  • Observable signal types

§Cargo Features

All features are opt-in: the default build leaves only Label, Type, the parser shell, and the database-matching traits. Pick the protocols you actually consume, or use the convenience full alias to opt into everything this version offers (including future protocols added in later releases).

FeatureDefaultDescription
fullNoConvenience alias for “everything this version offers” (currently tcp + http). Stable across version upgrades.
tcpNoPulls in [huginn_net_tcp] and exposes [TcpDatabase], [TcpSignatureMatcher], the [tcp:*] p0f parser branch, and TCP signal matching impls.
httpNoPulls in [huginn_net_http] and exposes [HttpDatabase], [HttpSignatureMatcher], the [http:*] p0f parser branch, and HTTP signal matching impls.

Common opt-in examples:

# Everything this version offers (forward-compatible).
huginn-net-db = { version = "2.0.0", features = ["full"] }

# TCP signatures only.
huginn-net-db = { version = "2.0.0", features = ["tcp"] }

Re-exports§

pub use database::Label;
pub use database::Type;
pub use error::DatabaseError;

Modules§

database
Database structures: TCP/HTTP sub-databases, collections, and labels.
db_matching_trait
error
parse
Parser for the p0f *.fp database format.