Support request for ProxiedServer firewall rules
authorClinton Ebadi <clinton@unknownlamer.org>
Sun, 16 Dec 2012 23:45:13 +0000 (18:45 -0500)
committerClinton Ebadi <clinton@unknownlamer.org>
Sun, 16 Dec 2012 23:45:13 +0000 (18:45 -0500)
sec.mlt
sec.sml

diff --git a/sec.mlt b/sec.mlt
index 4bd6097..228a023 100644 (file)
--- a/sec.mlt
+++ b/sec.mlt
@@ -338,8 +338,6 @@ end%>
 
 <h3>Request a new firewall rule</h3>
 
-<p><b>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.</b></p>
-
 <p>You can find a description of rule formats <a href="http://wiki.hcoop.net/wiki/FirewallRules">on our wiki</a>. Enter here the rule you want, without the initial <tt>user</tt> portion.</p>
 
 <p>Please note that <b>your firewall rule will be useless</b> 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.</p>
diff --git a/sec.sml b/sec.sml
index 5712940..bdbc2c0 100644 (file)
--- 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