ufwctl 0.1.0

Linux-only Rust library for managing UFW firewall rules
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#[cfg(not(target_os = "linux"))]
compile_error!("'ufwctl' only supports Linux because UFW is Linux-specific.");

pub mod builders;
mod command;
pub mod enums;
pub mod error;
mod firewall;
pub mod models;
mod parser;

pub use enums::{Protocol, RuleStatus};
pub use error::UfwError;
pub use firewall::Firewall;
pub use models::{IpRule, PortRule};