Commit 3629302b authored by Leigh Stoller's avatar Leigh Stoller

Restrict port range.

parent 3b0a7a0c
#!/usr/bin/perl -w
#
# Copyright (c) 2008-2014 University of Utah and the Flux Group.
# Copyright (c) 2008-2015 University of Utah and the Flux Group.
#
# {{{GENIPUBLIC-LICENSE
#
......@@ -259,7 +259,7 @@ print "Access-Control-Allow-Origin: *\n";
my $cmd = "shellinaboxd --no-beep " . ($debug ? "-d" : "-v") . " " .
"--certfile=${CERTFILE} --keyfile=${KEYFILE} ".
"--cgi -c $TB/etc -s '/:$uid:$gid:$where:$command'";
"--cgi=49152-65535 -c $TB/etc -s '/:$uid:$gid:$where:$command'";
info($cmd);
if ($debug) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment