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 7A58B1FF14F for ; Wed, 17 Jun 2026 13:11:51 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id F15E4314C7; Wed, 17 Jun 2026 13:11:04 +0200 (CEST) From: Stefan Hanreich To: pve-devel@lists.proxmox.com Subject: [PATCH proxmox-firewall 07/13] firewall config: switch to proxmox-iproute2 crate Date: Wed, 17 Jun 2026 13:10:04 +0200 Message-ID: <20260617111012.312710-8-s.hanreich@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260617111012.312710-1-s.hanreich@proxmox.com> References: <20260617111012.312710-1-s.hanreich@proxmox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1781694568771 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.597 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 SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: AXJ4VTD6PPVGJREMXMS5AF25OXYI3ZW5 X-Message-ID-Hash: AXJ4VTD6PPVGJREMXMS5AF25OXYI3ZW5 X-MailFrom: s.hanreich@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Signed-off-by: Stefan Hanreich --- Cargo.toml | 2 +- proxmox-firewall/Cargo.toml | 2 +- proxmox-firewall/src/config.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 1dd2784..b44daae 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -29,7 +29,7 @@ thiserror = "2" # proxmox dependencies proxmox-log = "1" -proxmox-network-api = "1" +proxmox-iproute2 = "0.1.0" proxmox-network-types = "1" proxmox-serde = "1" proxmox-sys = "1" diff --git a/proxmox-firewall/Cargo.toml b/proxmox-firewall/Cargo.toml index 6ad7e79..edb497d 100644 --- a/proxmox-firewall/Cargo.toml +++ b/proxmox-firewall/Cargo.toml @@ -19,8 +19,8 @@ serde_json.workspace = true signal-hook.workspace = true proxmox-log.workspace = true +proxmox-iproute2.workspace = true proxmox-network-types.workspace = true -proxmox-network-api = { workspace = true, features = [ "impl" ] } proxmox-nftables = { workspace = true, features = [ "config-ext" ] } proxmox-ve-config.workspace = true diff --git a/proxmox-firewall/src/config.rs b/proxmox-firewall/src/config.rs index 341e05a..57433a0 100644 --- a/proxmox-firewall/src/config.rs +++ b/proxmox-firewall/src/config.rs @@ -19,7 +19,7 @@ use proxmox_ve_config::guest::types::Vmid; use proxmox_ve_config::guest::{GuestEntry, GuestMap}; use proxmox_ve_config::host::types::BridgeName; -use proxmox_network_api::{AltnameMapping, get_network_interfaces}; +use proxmox_iproute2::{AltnameMapping, get_network_interfaces}; use proxmox_nftables::NftClient; use proxmox_nftables::command::{CommandOutput, Commands, List, ListOutput}; use proxmox_nftables::types::ListChain; -- 2.47.3