mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-15 18:29:46 +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 {
|
eval {
|
||||||
|
|
||||||
|
die "Port $spiceport is not allowed" if ($spiceport < 61000 || $spiceport > 61099);
|
||||||
|
|
||||||
my $rpcenv = $self->{rpcenv};
|
my $rpcenv = $self->{rpcenv};
|
||||||
$rpcenv->init_request();
|
$rpcenv->init_request();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user