gossan_classify/lib.rs
1//! # gossan-classify
2//!
3//! Banner classification and service fingerprinting engine.
4//!
5//! Takes raw TCP banner responses and classifies them into:
6//! - Service type (HTTP, SSH, FTP, MySQL, Redis, etc.)
7//! - Version extraction (Apache 2.4.52, OpenSSH 8.9, etc.)
8//! - OS hints from protocol behavior
9//! - Security posture signals (default creds, debug mode, info leaks)
10//!
11//! Classification rules are TOML-defined for community contribution.
12//! The engine supports both CPU (regex) and optional GPU (Vyre) backends.
13
14#![allow(clippy::module_name_repetitions)]
15
16pub mod classifier;
17pub mod matcher;
18pub mod rules;
19
20pub use classifier::BannerClassifier;
21pub use rules::{ServiceMatch, ServiceRule};