Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
97d35c56
Commit
97d35c56
authored
Aug 08, 2015
by
Ad Schellevis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(Proxy) add some validators
parent
3fcc8873
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
Proxy.xml
src/opnsense/mvc/app/models/OPNsense/Proxy/Proxy.xml
+7
-0
No files found.
src/opnsense/mvc/app/models/OPNsense/Proxy/Proxy.xml
View file @
97d35c56
...
...
@@ -28,10 +28,12 @@
</enable>
<ignoreLogACL
type=
"CSVListField"
>
<Required>
N
</Required>
<mask>
/^([\/0-9a-fA-F.:,])*/u
</mask>
</ignoreLogACL>
</logging>
<alternateDNSservers
type=
"CSVListField"
>
<Required>
N
</Required>
<mask>
/^([\/0-9a-fA-F.:,])*/u
</mask>
</alternateDNSservers>
<dnsV4First
type=
"BooleanField"
>
<default>
0
</default>
...
...
@@ -174,12 +176,15 @@
<acl>
<allowedSubnets
type=
"CSVListField"
>
<Required>
N
</Required>
<mask>
/^([\/0-9a-fA-F.:,])*/u
</mask>
</allowedSubnets>
<unrestricted
type=
"CSVListField"
>
<Required>
N
</Required>
<mask>
/^([\/0-9a-fA-F.:,])*/u
</mask>
</unrestricted>
<bannedHosts
type=
"CSVListField"
>
<Required>
N
</Required>
<mask>
/^([\/0-9a-fA-F.:,])*/u
</mask>
</bannedHosts>
<whiteList
type=
"CSVListField"
>
<Required>
N
</Required>
...
...
@@ -195,11 +200,13 @@
</mimeType>
<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>
<mask>
/^([ \-0-9a-zA-Z:,])*/u
</mask>
<Required>
N
</Required>
</safePorts>
<sslPorts
type=
"CSVListField"
>
<default>
443:https
</default>
<Required>
N
</Required>
<mask>
/^([ \-0-9a-zA-Z:,])*/u
</mask>
</sslPorts>
<remoteACLs>
<blacklists>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment