nullnet-libfireparse

Crates.ionullnet-libfireparse
lib.rsnullnet-libfireparse
version0.3.4
created_at2025-01-30 01:39:41.694587+00
updated_at2025-07-24 21:40:03.346478+00
descriptionA library for parsing and translating firewall configurations across multiple NullNet targets
homepage
repositoryhttps://github.com/NullNet-ai/libguard
max_upload_size
id1536034
size94,211
Core (github:nullnet-ai:core)

documentation

README

🔥 libfireparse

libfireparse is a Rust library for parsing firewall configuration files and converting them into a unified format compatible with the NullNet platform.

Usage

use libfireparse::Parser;

let xml = r#"<pfsense><aliases></aliases><filter></filter></pfsense>"#;
match Parser::parse("pfsense", xml) {
    Ok(config) => println!("Parsed {} rules and {} aliases", config.rules.len(), config.aliases.len()),
    Err(err) => eprintln!("Error: {:?}", err),
}

Supported platforms

  • pfSense
  • OPNsense

License

MIT

Commit count: 259

cargo fmt