Skip to main content

fail2ban_rs/
lib.rs

1//! fail2ban-rs — A pure-Rust replacement for fail2ban.
2//!
3//! Single static binary, fast two-phase matching, nftables/iptables firewall backends.
4
5pub mod config;
6pub mod control;
7pub mod detect;
8pub mod duration;
9pub mod enforce;
10pub mod error;
11pub mod logging;
12pub mod regex_tool;
13pub mod server;
14pub mod track;
15pub mod webhook;
16
17#[cfg(test)]
18#[allow(
19    clippy::panic,
20    clippy::indexing_slicing,
21    clippy::unwrap_used,
22    clippy::needless_pass_by_value
23)]
24mod security_test;