Read-Only Mirror of the Proxmox VE Storage Library
Go to file
Stelios Vailakakis e1cfdc8a5a iscsi: add hostname support in portal addresses
Currently, the iSCSI plugin regex patterns only match IPv4 and IPv6
addresses, causing session parsing to fail when portals use hostnames
(like nas.example.com:3260).

This patch updates ISCSI_TARGET_RE and session parsing regex to accept
any non-whitespace characters before the port, allowing hostname-based
portals to work correctly.

Tested with IP and hostname-based portals on Proxmox VE 8.2, 8.3, and 8.4.1

Signed-off-by: Stelios Vailakakis <stelios@libvirt.dev>
Link: https://lore.proxmox.com/20250626022920.1323623-1-stelios@libvirt.dev
(cherry picked from commit 6bf171ec54)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2025-08-04 20:45:02 +02:00
debian bump version to 8.3.7 2025-07-28 16:21:18 +02:00
src iscsi: add hostname support in portal addresses 2025-08-04 20:45:02 +02:00
.gitignore generate correct manual page and .pod 2011-10-20 08:21:56 +02:00
ApiChangeLog plugin api: bump api version and age 2025-04-06 20:57:40 +02:00
Makefile buildsys: add top-level make tidy target 2025-06-10 10:31:13 +02:00