From: Clinton Ebadi Date: Sun, 16 Dec 2012 23:45:13 +0000 (-0500) Subject: Support request for ProxiedServer firewall rules X-Git-Url: http://git.hcoop.net/hcoop/portal.git/commitdiff_plain/f658a3d84f919c9a401aaf4deabf06c304803e97?ds=sidebyside Support request for ProxiedServer firewall rules --- diff --git a/sec.mlt b/sec.mlt index 4bd6097..228a023 100644 --- a/sec.mlt +++ b/sec.mlt @@ -338,8 +338,6 @@ end%>

Request a new firewall rule

-

This form isn't needed yet to allow you to use any port. However, if you request a rule here, you can be sure it will be added when we first implement firewalls on our new servers. Otherwise, your custom services may stop working.

-

You can find a description of rule formats on our wiki. Enter here the rule you want, without the initial user portion.

Please note that your firewall rule will be useless if you don't first request the corresponding socket privileges at the top of this page. Also, common ports like 80 (HTTP) are open to everyone with socket permissions. Verify that you can't access a port after socket permissions have been granted before requesting a special rule here.

diff --git a/sec.sml b/sec.sml index 5712940..bdbc2c0 100644 --- a/sec.sml +++ b/sec.sml @@ -137,6 +137,7 @@ fun validRule rule = "Client" :: ports :: hosts => validPorts ports andalso validHosts hosts | "Server" :: ports :: hosts => validPorts ports andalso validHosts hosts | ["LocalServer", ports] => validPorts ports + | ["ProxiedServer", ports] => validPorts ports | _ => false end