gossan-classify
Banner classification and service fingerprinting for Gossan.
Takes raw TCP banner responses and classifies them into:
- Service type (HTTP, SSH, FTP, MySQL, Redis, etc.)
- Version extraction (Apache 2.4.52, OpenSSH 8.9, etc.)
- OS hints from protocol behavior
- Security posture signals (default creds, debug mode, info leaks)
Usage
use BannerClassifier;
let c = new;
let matches = c.classify;
for m in matches
Extending
Built-in rules ship as Rust constants in src/rules.rs. Community rules
load from a TOML directory at runtime — see the per-rule contract in
GOSSAN_LEGENDARY.md Section B6 for the schema.
License
MIT