Commit 97d35c56 authored by Ad Schellevis's avatar Ad Schellevis

(Proxy) add some validators

parent 3fcc8873
...@@ -28,10 +28,12 @@ ...@@ -28,10 +28,12 @@
</enable> </enable>
<ignoreLogACL type="CSVListField"> <ignoreLogACL type="CSVListField">
<Required>N</Required> <Required>N</Required>
<mask>/^([\/0-9a-fA-F.:,])*/u</mask>
</ignoreLogACL> </ignoreLogACL>
</logging> </logging>
<alternateDNSservers type="CSVListField"> <alternateDNSservers type="CSVListField">
<Required>N</Required> <Required>N</Required>
<mask>/^([\/0-9a-fA-F.:,])*/u</mask>
</alternateDNSservers> </alternateDNSservers>
<dnsV4First type="BooleanField"> <dnsV4First type="BooleanField">
<default>0</default> <default>0</default>
...@@ -174,12 +176,15 @@ ...@@ -174,12 +176,15 @@
<acl> <acl>
<allowedSubnets type="CSVListField"> <allowedSubnets type="CSVListField">
<Required>N</Required> <Required>N</Required>
<mask>/^([\/0-9a-fA-F.:,])*/u</mask>
</allowedSubnets> </allowedSubnets>
<unrestricted type="CSVListField"> <unrestricted type="CSVListField">
<Required>N</Required> <Required>N</Required>
<mask>/^([\/0-9a-fA-F.:,])*/u</mask>
</unrestricted> </unrestricted>
<bannedHosts type="CSVListField"> <bannedHosts type="CSVListField">
<Required>N</Required> <Required>N</Required>
<mask>/^([\/0-9a-fA-F.:,])*/u</mask>
</bannedHosts> </bannedHosts>
<whiteList type="CSVListField"> <whiteList type="CSVListField">
<Required>N</Required> <Required>N</Required>
...@@ -195,11 +200,13 @@ ...@@ -195,11 +200,13 @@
</mimeType> </mimeType>
<safePorts type="CSVListField"> <safePorts type="CSVListField">
<default>80:http,21:ftp,443:https,70:gopher,210:wais,1025-65535:unregistered ports,280:http-mgmt,488:gss-http,591:filemaker,777:multiling http</default> <default>80:http,21:ftp,443:https,70:gopher,210:wais,1025-65535:unregistered ports,280:http-mgmt,488:gss-http,591:filemaker,777:multiling http</default>
<mask>/^([ \-0-9a-zA-Z:,])*/u</mask>
<Required>N</Required> <Required>N</Required>
</safePorts> </safePorts>
<sslPorts type="CSVListField"> <sslPorts type="CSVListField">
<default>443:https</default> <default>443:https</default>
<Required>N</Required> <Required>N</Required>
<mask>/^([ \-0-9a-zA-Z:,])*/u</mask>
</sslPorts> </sslPorts>
<remoteACLs> <remoteACLs>
<blacklists> <blacklists>
......
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