]> git.proxmox.com Git - pve-http-server.git/commit
access control: also include ipv6 in 'all'
authorStoiko Ivanov <s.ivanov@proxmox.com>
Wed, 5 May 2021 14:36:27 +0000 (16:36 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 7 May 2021 15:47:46 +0000 (17:47 +0200)
commit9494318e18daf88cb171a5fe23fffe86d8af1ac8
treedfac7c61d577fe242e5cc25315ad34aca18a0e54
parentc6de5b3f2d8e55e7aa582dbbf6f365202a3257d5
access control: also include ipv6 in 'all'

Net::IP objects are bound to a version - 0/0 is treated as ipv4 only.
If 'all' is present in the allow_from/deny_from list we should also
add ::/0 for matching all ipv6 addresses.

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
PVE/APIServer/Utils.pm