[pve-devel] [PATCH] spiceproxy : allow only spice port range

Dietmar Maurer dietmar at proxmox.com
Mon Jul 22 13:04:45 CEST 2013


applied, thanks!

> -----Original Message-----
> From: pve-devel-bounces at pve.proxmox.com [mailto:pve-devel-
> bounces at pve.proxmox.com] On Behalf Of Alexandre Derumier
> Sent: Montag, 22. Juli 2013 13:03
> To: pve-devel at pve.proxmox.com
> Subject: [pve-devel] [PATCH] spiceproxy : allow only spice port range
> 
> 
> Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
> ---
>  PVE/HTTPServer.pm |    2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/PVE/HTTPServer.pm b/PVE/HTTPServer.pm index
> 89eff30..f516735 100755
> --- a/PVE/HTTPServer.pm
> +++ b/PVE/HTTPServer.pm
> @@ -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();
> 
> --
> 1.7.10.4
> 
> _______________________________________________
> pve-devel mailing list
> pve-devel at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel




More information about the pve-devel mailing list