From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id 51B191FF348 for ; Wed, 17 Apr 2024 15:56:52 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 193439309; Wed, 17 Apr 2024 15:55:17 +0200 (CEST) From: Stefan Hanreich To: pve-devel@lists.proxmox.com Date: Wed, 17 Apr 2024 15:53:51 +0200 Message-Id: <20240417135404.573490-27-s.hanreich@proxmox.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240417135404.573490-1-s.hanreich@proxmox.com> References: <20240417135404.573490-1-s.hanreich@proxmox.com> MIME-Version: 1.0 X-SPAM-LEVEL: Spam detection results: 0 AWL -0.321 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment KAM_LAZY_DOMAIN_SECURITY 1 Sending domain does not have any anti-forgery methods RDNS_NONE 0.793 Delivered to internal network by a host with no rDNS SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_NONE 0.001 SPF: sender does not publish an SPF Record Subject: [pve-devel] [PATCH proxmox-firewall v2 26/39] firewall: add firewall crate X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox VE development discussion Cc: Wolfgang Bumiller Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pve-devel-bounces@lists.proxmox.com Sender: "pve-devel" Reviewed-by: Lukas Wagner Reviewed-by: Max Carrara Co-authored-by: Wolfgang Bumiller Signed-off-by: Stefan Hanreich --- Cargo.toml | 1 + proxmox-firewall/Cargo.toml | 17 +++++++++++++++++ proxmox-firewall/src/main.rs | 5 +++++ 3 files changed, 23 insertions(+) create mode 100644 proxmox-firewall/Cargo.toml create mode 100644 proxmox-firewall/src/main.rs diff --git a/Cargo.toml b/Cargo.toml index 877f103..f353fbf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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 index 0000000..b59d973 --- /dev/null +++ b/proxmox-firewall/Cargo.toml @@ -0,0 +1,17 @@ +[package] +name = "proxmox-firewall" +version = "0.1.0" +edition = "2021" +authors = [ + "Wolfgang Bumiller ", + "Stefan Hanreich ", + "Proxmox Support Team ", +] +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 index 0000000..248ac39 --- /dev/null +++ b/proxmox-firewall/src/main.rs @@ -0,0 +1,5 @@ +use anyhow::Error; + +fn main() -> Result<(), Error> { + Ok(()) +} -- 2.39.2 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel