]> git.proxmox.com Git - proxmox-firewall.git/commitdiff
firewall: add firewall crate
authorStefan Hanreich <s.hanreich@proxmox.com>
Fri, 29 Mar 2024 09:47:10 +0000 (10:47 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 18 Apr 2024 19:46:28 +0000 (21:46 +0200)
Co-authored-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Signed-off-by: Stefan Hanreich <s.hanreich@proxmox.com>
Reviewed-by: Lukas Wagner <l.wagner@proxmox.com>
Reviewed-by: Max Carrara <m.carrara@proxmox.com>
Cargo.toml
proxmox-firewall/Cargo.toml [new file with mode: 0644]
proxmox-firewall/src/main.rs [new file with mode: 0644]

index 877f10321ac6c6009bc7ba82573b648cda747e0f..f353fbfedd5128d28c16e1fa1803f6c170d9721b 100644 (file)
@@ -2,4 +2,5 @@
 members = [
     "proxmox-ve-config",
     "proxmox-nftables",
+    "proxmox-firewall",
 ]
diff --git a/proxmox-firewall/Cargo.toml b/proxmox-firewall/Cargo.toml
new file mode 100644 (file)
index 0000000..b59d973
--- /dev/null
@@ -0,0 +1,17 @@
+[package]
+name = "proxmox-firewall"
+version = "0.1.0"
+edition = "2021"
+authors = [
+    "Wolfgang Bumiller <w.bumiller@proxmox.com>",
+    "Stefan Hanreich <s.hanreich@proxmox.com>",
+    "Proxmox Support Team <support@proxmox.com>",
+]
+description = "Proxmox VE nftables firewall implementation"
+license = "AGPL-3"
+
+[dependencies]
+anyhow = "1"
+
+proxmox-nftables = { path = "../proxmox-nftables", features = ["config-ext"] }
+proxmox-ve-config = { path = "../proxmox-ve-config" }
diff --git a/proxmox-firewall/src/main.rs b/proxmox-firewall/src/main.rs
new file mode 100644 (file)
index 0000000..248ac39
--- /dev/null
@@ -0,0 +1,5 @@
+use anyhow::Error;
+
+fn main() -> Result<(), Error> {
+    Ok(())
+}