[pbs-devel] [PATCH proxmox{, -network-interface-pinning} v2 0/3] make ip link deserializing more robust

Stefan Hanreich s.hanreich at proxmox.com
Fri Aug 8 12:23:28 CEST 2025


As reported in the forum by [1], there are types of interfaces that do not have
a MAC address, which tripped up the previous deserializing logic. Make the ip
link parsing more robust in general, to prevent tripping up on unexpected
interface types / network configuration.

Changes from v1:
* abstracted link_type specific properties into an enum (Thanks @Christian)
* added tests for all links that proved problematic for the old parser (Thanks
  @Christian for providing me with sample output)
* added a small housekeeping patch that adds some documentation to the public
  API

[1] https://forum.proxmox.com/threads/proxmox-backup-proxy-seemingly-crashes-after-being-accessed-through-reverse-proxy-after-update-to-4-0.169313/

proxmox:

Stefan Hanreich (2):
  network-api: properly parse ip link output based on link_type
  config: helper: document public API

 proxmox-network-api/src/config/helper.rs | 277 ++++++++++++++++++++++-
 1 file changed, 266 insertions(+), 11 deletions(-)


proxmox-network-interface-pinning:

Stefan Hanreich (1):
  network-interface-pinning: adapt to optional mac address

 src/main.rs | 27 +++++++++++++++++----------
 1 file changed, 17 insertions(+), 10 deletions(-)


Summary over all repositories:
  2 files changed, 283 insertions(+), 21 deletions(-)

-- 
Generated by git-murpp 0.8.0



More information about the pbs-devel mailing list