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
d35678f1
Commit
d35678f1
authored
Nov 10, 2016
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
relayd: separate acl and menu entries
parent
8de4047e
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
91 additions
and
85 deletions
+91
-85
Menu.xml
src/opnsense/mvc/app/models/OPNsense/Base/Menu/Menu.xml
+0
-15
ACL_Legacy_Page_Map.json
...nse/mvc/app/models/OPNsense/Core/ACL_Legacy_Page_Map.json
+0
-70
ACL.xml
src/opnsense/mvc/app/models/OPNsense/Relayd/ACL/ACL.xml
+72
-0
Menu.xml
src/opnsense/mvc/app/models/OPNsense/Relayd/Menu/Menu.xml
+19
-0
No files found.
src/opnsense/mvc/app/models/OPNsense/Base/Menu/Menu.xml
View file @
d35678f1
...
...
@@ -255,21 +255,6 @@
<IGMPProxy
VisibleName=
"IGMP Proxy"
url=
"/services_igmpproxy.php"
cssClass=
"fa fa-map-signs fa-fw"
>
<Edit
url=
"/services_igmpproxy_edit.php"
visibility=
"hidden"
/>
</IGMPProxy>
<LoadBalancer
VisibleName=
"Load Balancer"
cssClass=
"fa fa-truck fa-fw"
>
<Monitors
order=
"10"
url=
"/load_balancer_monitor.php"
>
<Edit
url=
"/load_balancer_monitor_edit.php*"
visibility=
"hidden"
/>
</Monitors>
<PoolSetup
order=
"20"
VisibleName=
"Pool Setup"
url=
"/load_balancer_pool.php"
>
<Edit
url=
"/load_balancer_pool_edit.php*"
visibility=
"hidden"
/>
</PoolSetup>
<VirtualServer
order=
"30"
VisibleName=
"Virtual Server Setup"
url=
"/load_balancer_virtual_server.php"
>
<Edit
url=
"/load_balancer_virtual_server_edit.php*"
visibility=
"hidden"
/>
</VirtualServer>
<Settings
order=
"40"
url=
"/load_balancer_setting.php"
/>
<PoolStatus
order=
"50"
VisibleName=
"Pool Status"
url=
"/status_lb_pool.php"
/>
<VirtualServerStatus
order=
"60"
VisibleName=
"Virtual Server Status"
url=
"/status_lb_vs.php"
/>
<Log
VisibleName=
"Log File"
order=
"100"
url=
"/diag_logs_relayd.php"
/>
</LoadBalancer>
<NTP
VisibleName=
"Network Time"
cssClass=
"fa fa-clock-o fa-fw"
>
<General
order=
"10"
url=
"/services_ntpd.php"
/>
<GPS
order=
"20"
url=
"/services_ntpd_gps.php"
/>
...
...
src/opnsense/mvc/app/models/OPNsense/Core/ACL_Legacy_Page_Map.json
View file @
d35678f1
...
...
@@ -525,27 +525,6 @@
"interfaces_wireless.php*"
]
},
"page-loadbalancer-pool"
:
{
"name"
:
"WebCfg - Load Balancer: Pool page"
,
"descr"
:
"Allow access to the 'Load Balancer: Pool' page."
,
"match"
:
[
"load_balancer_pool.php*"
]
},
"page-loadbalancer-pool-edit"
:
{
"name"
:
"WebCfg - Load Balancer: Pool: Edit page"
,
"descr"
:
"Allow access to the 'Load Balancer: Pool: Edit' page."
,
"match"
:
[
"load_balancer_pool_edit.php*"
]
},
"page-loadbalancer-virtualserver-edit"
:
{
"name"
:
"WebCfg - Load Balancer: Virtual Server: Edit page"
,
"descr"
:
"Allow access to the 'Load Balancer: Virtual Server: Edit' page."
,
"match"
:
[
"load_balancer_virtual_server_edit.php*"
]
},
"page-system-login
\/
logout"
:
{
"name"
:
"WebCfg - Lobby: Login
\/
Logout
\/
Dashboard page"
,
"descr"
:
"Allow access to the 'Lobby: Login
\/
Logout
\/
Dashboard' page."
,
...
...
@@ -700,34 +679,6 @@
"services_igmpproxy_edit.php*"
]
},
"page-services-loadbalancer-monitor-edit"
:
{
"name"
:
"WebCfg - Services: Load Balancer: Monitor: Edit page"
,
"descr"
:
"Allow access to the 'Services: Load Balancer: Monitor: Edit' page."
,
"match"
:
[
"load_balancer_monitor_edit.php*"
]
},
"page-services-loadbalancer-monitor"
:
{
"name"
:
"WebCfg - Services: Load Balancer: Monitors page"
,
"descr"
:
"Allow access to the 'Services: Load Balancer: Monitors' page."
,
"match"
:
[
"load_balancer_monitor.php*"
]
},
"page-services-loadbalancer-setting"
:
{
"name"
:
"WebCfg - Services: Load Balancer: setting page"
,
"descr"
:
"Allow access to the 'Settings: Load Balancer: Settings' page."
,
"match"
:
[
"load_balancer_setting.php*"
]
},
"page-services-loadbalancer-virtualservers"
:
{
"name"
:
"WebCfg - Services: Load Balancer: Virtual Servers page"
,
"descr"
:
"Allow access to the 'Services: Load Balancer: Virtual Servers' page."
,
"match"
:
[
"load_balancer_virtual_server.php*"
]
},
"page-services-ntpd"
:
{
"name"
:
"WebCfg - Services: NTP"
,
"descr"
:
"Allow access to the 'Services: NTP' page."
,
...
...
@@ -854,20 +805,6 @@
"diag_ipsec_spd.php*"
]
},
"page-status-loadbalancer-pool"
:
{
"name"
:
"WebCfg - Status: Load Balancer: Pool page"
,
"descr"
:
"Allow access to the 'Status: Load Balancer: Pool' page."
,
"match"
:
[
"status_lb_pool.php*"
]
},
"page-status-loadbalancer-virtualserver"
:
{
"name"
:
"WebCfg - Status: Load Balancer: Virtual Server page"
,
"descr"
:
"Allow access to the 'Status: Load Balancer: Virtual Server' page."
,
"match"
:
[
"status_lb_vs.php*"
]
},
"page-services-ntp-gps"
:
{
"name"
:
"WebCfg - Status: NTP GPS page"
,
"descr"
:
"Allow access to the 'Status: NTP Serial GPS' page."
,
...
...
@@ -924,13 +861,6 @@
"diag_logs_ppp.php*"
]
},
"page-status-systemlogs-loadbalancer"
:
{
"name"
:
"WebCfg - Status: System logs: Load Balancer page"
,
"descr"
:
"Allow access to the 'Status: System logs: Load Balancer' page."
,
"match"
:
[
"diag_logs_relayd.php*"
]
},
"page-status-systemlogs-ntpd"
:
{
"name"
:
"WebCfg - Status: System logs: NTP page"
,
"descr"
:
"Allow access to the 'Status: System logs: NTP' page."
,
...
...
src/opnsense/mvc/app/models/OPNsense/Relayd/ACL/ACL.xml
0 → 100644
View file @
d35678f1
<acl>
<page-services-loadbalancer-monitor-edit>
<name>
WebCfg - Services: Load Balancer: Monitor: Edit page
</name>
<description>
Allow access to the 'Services: Load Balancer: Monitor: Edit' page.
</description>
<patterns>
<pattern>
load_balancer_monitor_edit.php*
</pattern>
</patterns>
</page-services-loadbalancer-monitor-edit>
<page-services-loadbalancer-monitor>
<name>
WebCfg - Services: Load Balancer: Monitors page
</name>
<description>
Allow access to the 'Services: Load Balancer: Monitors' page.
</description>
<patterns>
<pattern>
load_balancer_monitor.php*
</pattern>
</patterns>
</page-services-loadbalancer-monitor>
<page-services-loadbalancer-setting>
<name>
WebCfg - Services: Load Balancer: setting page
</name>
<description>
Allow access to the 'Settings: Load Balancer: Settings' page.
</description>
<patterns>
<pattern>
load_balancer_setting.php*
</pattern>
</patterns>
</page-services-loadbalancer-setting>
<page-services-loadbalancer-virtualservers>
<name>
WebCfg - Services: Load Balancer: Virtual Servers page
</name>
<description>
Allow access to the 'Services: Load Balancer: Virtual Servers' page.
</description>
<patterns>
<pattern>
load_balancer_virtual_server.php*
</pattern>
</patterns>
</page-services-loadbalancer-virtualservers>
<page-status-loadbalancer-pool>
<name>
WebCfg - Status: Load Balancer: Pool page
</name>
<description>
Allow access to the 'Status: Load Balancer: Pool' page.
</description>
<patterns>
<pattern>
status_lb_pool.php*
</pattern>
</patterns>
</page-status-loadbalancer-pool>
<page-status-loadbalancer-virtualserver>
<name>
WebCfg - Status: Load Balancer: Virtual Server page
</name>
<description>
Allow access to the 'Status: Load Balancer: Virtual Server' page.
</description>
<patterns>
<pattern>
status_lb_vs.php*
</pattern>
</patterns>
</page-status-loadbalancer-virtualserver>
<page-status-systemlogs-loadbalancer>
<name>
WebCfg - Status: System logs: Load Balancer page
</name>
<description>
Allow access to the 'Status: System logs: Load Balancer' page.
</description>
<patterns>
<pattern>
diag_logs_relayd.php*
</pattern>
</patterns>
</page-status-systemlogs-loadbalancer>
<page-loadbalancer-pool>
<name>
WebCfg - Load Balancer: Pool page
</name>
<description>
Allow access to the 'Load Balancer: Pool' page.
</description>
<patterns>
<pattern>
load_balancer_pool.php*
</pattern>
</patterns>
</page-loadbalancer-pool>
<page-loadbalancer-pool-edit>
<name>
WebCfg - Load Balancer: Pool: Edit page
</name>
<description>
Allow access to the 'Load Balancer: Pool: Edit' page.
</description>
<patterns>
<pattern>
load_balancer_pool_edit.php*
</pattern>
</patterns>
</page-loadbalancer-pool-edit>
<page-loadbalancer-virtualserver-edit>
<name>
WebCfg - Load Balancer: Virtual Server: Edit page
</name>
<description>
Allow access to the 'Load Balancer: Virtual Server: Edit' page.
</description>
<patterns>
<pattern>
load_balancer_virtual_server_edit.php*
</pattern>
</patterns>
</page-loadbalancer-virtualserver-edit>
</acl>
src/opnsense/mvc/app/models/OPNsense/Relayd/Menu/Menu.xml
0 → 100644
View file @
d35678f1
<menu>
<Services>
<LoadBalancer
VisibleName=
"Load Balancer"
cssClass=
"fa fa-truck fa-fw"
>
<Monitors
order=
"10"
url=
"/load_balancer_monitor.php"
>
<Edit
url=
"/load_balancer_monitor_edit.php*"
visibility=
"hidden"
/>
</Monitors>
<PoolSetup
order=
"20"
VisibleName=
"Pool Setup"
url=
"/load_balancer_pool.php"
>
<Edit
url=
"/load_balancer_pool_edit.php*"
visibility=
"hidden"
/>
</PoolSetup>
<VirtualServer
order=
"30"
VisibleName=
"Virtual Server Setup"
url=
"/load_balancer_virtual_server.php"
>
<Edit
url=
"/load_balancer_virtual_server_edit.php*"
visibility=
"hidden"
/>
</VirtualServer>
<Settings
order=
"40"
url=
"/load_balancer_setting.php"
/>
<PoolStatus
order=
"50"
VisibleName=
"Pool Status"
url=
"/status_lb_pool.php"
/>
<VirtualServerStatus
order=
"60"
VisibleName=
"Virtual Server Status"
url=
"/status_lb_vs.php"
/>
<Log
VisibleName=
"Log File"
order=
"100"
url=
"/diag_logs_relayd.php"
/>
</LoadBalancer>
</Services>
</menu>
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