]> git.proxmox.com Git - pve-installer.git/commit
sys: net: do not allow overlong FQDNs as per RFCs and Debian spec
authorChristoph Heiss <c.heiss@proxmox.com>
Thu, 15 Feb 2024 12:39:37 +0000 (13:39 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 23 Feb 2024 15:40:04 +0000 (16:40 +0100)
commit1a5665378b75d5b7d3b838c39c93600bea7cb609
tree639650a3824b2597955bb990d92df21fd700f87a
parent93892c018857868127fe08472d67433627531ab8
sys: net: do not allow overlong FQDNs as per RFCs and Debian spec

Debian limits labels to 63 characters each and the total length to 253
characters [0].

[0] https://manpages.debian.org/stable/manpages/hostname.7.en.html

Signed-off-by: Christoph Heiss <c.heiss@proxmox.com>
Proxmox/Sys/Net.pm
test/parse-fqdn.pl