mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-15 00:24:03 +00:00
spiceproxy : allow only spice port range
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
This commit is contained in:
parent
e63d8c5257
commit
f60bd577b7
@ -500,6 +500,8 @@ sub handle_spice_proxy_request {
|
||||
|
||||
eval {
|
||||
|
||||
die "Port $spiceport is not allowed" if ($spiceport < 61000 || $spiceport > 61099);
|
||||
|
||||
my $rpcenv = $self->{rpcenv};
|
||||
$rpcenv->init_request();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user