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
0e03967c
Commit
0e03967c
authored
Oct 01, 2016
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
www: strip plugins.inc from frontend
parent
1d4ca0ff
Changes
26
Show whitespace changes
Inline
Side-by-side
Showing
26 changed files
with
0 additions
and
27 deletions
+0
-27
diag_ipsec.php
src/www/diag_ipsec.php
+0
-1
diag_ipsec_leases.php
src/www/diag_ipsec_leases.php
+0
-1
diag_ipsec_sad.php
src/www/diag_ipsec_sad.php
+0
-1
diag_ipsec_spd.php
src/www/diag_ipsec_spd.php
+0
-1
diag_logs_filter.php
src/www/diag_logs_filter.php
+0
-1
diag_logs_filter_dynamic.php
src/www/diag_logs_filter_dynamic.php
+0
-1
diag_logs_filter_summary.php
src/www/diag_logs_filter_summary.php
+0
-1
diag_logs_settings.php
src/www/diag_logs_settings.php
+0
-1
diag_logs_template.inc
src/www/diag_logs_template.inc
+0
-1
interfaces_groups.php
src/www/interfaces_groups.php
+0
-2
interfaces_groups_edit.php
src/www/interfaces_groups_edit.php
+0
-1
status_openvpn.php
src/www/status_openvpn.php
+0
-1
status_services.php
src/www/status_services.php
+0
-1
vpn_ipsec.php
src/www/vpn_ipsec.php
+0
-1
vpn_ipsec_keys.php
src/www/vpn_ipsec_keys.php
+0
-1
vpn_ipsec_keys_edit.php
src/www/vpn_ipsec_keys_edit.php
+0
-1
vpn_ipsec_mobile.php
src/www/vpn_ipsec_mobile.php
+0
-1
vpn_ipsec_phase1.php
src/www/vpn_ipsec_phase1.php
+0
-1
vpn_ipsec_phase2.php
src/www/vpn_ipsec_phase2.php
+0
-1
vpn_ipsec_settings.php
src/www/vpn_ipsec_settings.php
+0
-1
vpn_openvpn_client.php
src/www/vpn_openvpn_client.php
+0
-1
vpn_openvpn_csc.php
src/www/vpn_openvpn_csc.php
+0
-1
vpn_openvpn_export.php
src/www/vpn_openvpn_export.php
+0
-1
vpn_openvpn_server.php
src/www/vpn_openvpn_server.php
+0
-1
services_status.widget.php
src/www/widgets/widgets/services_status.widget.php
+0
-1
wizard.php
src/www/wizard.php
+0
-1
No files found.
src/www/diag_ipsec.php
View file @
0e03967c
...
...
@@ -31,7 +31,6 @@
require_once
(
"guiconfig.inc"
);
require_once
(
"services.inc"
);
require_once
(
"plugins.inc"
);
/**
* search config for phase 1 description
...
...
src/www/diag_ipsec_leases.php
View file @
0e03967c
...
...
@@ -31,7 +31,6 @@ require_once("guiconfig.inc");
require_once
(
"ipsec.inc"
);
require_once
(
"services.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"plugins.inc"
);
$service_hook
=
'ipsec'
;
...
...
src/www/diag_ipsec_sad.php
View file @
0e03967c
...
...
@@ -32,7 +32,6 @@ require_once("guiconfig.inc");
require_once
(
"ipsec.inc"
);
require_once
(
"services.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"plugins.inc"
);
$service_hook
=
'ipsec'
;
...
...
src/www/diag_ipsec_spd.php
View file @
0e03967c
...
...
@@ -32,7 +32,6 @@ require_once("guiconfig.inc");
require_once
(
"ipsec.inc"
);
require_once
(
"services.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"plugins.inc"
);
$service_hook
=
'ipsec'
;
...
...
src/www/diag_logs_filter.php
View file @
0e03967c
...
...
@@ -35,7 +35,6 @@ require_once("filter.inc");
require_once
(
"filter_log.inc"
);
require_once
(
"system.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"plugins.inc"
);
/********************************************************************************************************************
* imported from easyrule.inc/php
...
...
src/www/diag_logs_filter_dynamic.php
View file @
0e03967c
...
...
@@ -32,7 +32,6 @@ require_once("guiconfig.inc");
require_once
(
"filter_log.inc"
);
require_once
(
"system.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"plugins.inc"
);
$filter_logfile
=
'/var/log/filter.log'
;
...
...
src/www/diag_logs_filter_summary.php
View file @
0e03967c
...
...
@@ -31,7 +31,6 @@ require_once("guiconfig.inc");
require_once
(
"filter_log.inc"
);
require_once
(
"system.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"plugins.inc"
);
$filter_logfile
=
'/var/log/filter.log'
;
$lines
=
5000
;
// Maximum number of log entries to fetch
...
...
src/www/diag_logs_settings.php
View file @
0e03967c
...
...
@@ -34,7 +34,6 @@ require_once("interfaces.inc");
require_once
(
"filter.inc"
);
require_once
(
"system.inc"
);
require_once
(
"services.inc"
);
require_once
(
"plugins.inc"
);
function
clear_all_log_files
()
{
...
...
src/www/diag_logs_template.inc
View file @
0e03967c
...
...
@@ -32,7 +32,6 @@
require_once
(
"guiconfig.inc"
);
require_once
(
"system.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"plugins.inc"
);
require_once
(
"services.inc"
);
/* expects $logfile to point to the system path */
...
...
src/www/interfaces_groups.php
View file @
0e03967c
...
...
@@ -30,7 +30,6 @@
require_once
(
"guiconfig.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"plugins.inc"
);
if
(
!
isset
(
$config
[
'ifgroups'
][
'ifgroupentry'
]))
{
$a_ifgroups
=
array
();
...
...
@@ -38,7 +37,6 @@ if (!isset($config['ifgroups']['ifgroupentry'])) {
$a_ifgroups
=
&
$config
[
'ifgroups'
][
'ifgroupentry'
];
}
if
(
$_SERVER
[
'REQUEST_METHOD'
]
===
'POST'
)
{
if
(
!
empty
(
$a_ifgroups
[
$_POST
[
'id'
]]))
{
$id
=
$_POST
[
'id'
];
...
...
src/www/interfaces_groups_edit.php
View file @
0e03967c
...
...
@@ -30,7 +30,6 @@
require_once
(
"guiconfig.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"plugins.inc"
);
if
(
!
isset
(
$config
[
'ifgroups'
])
||
!
is_array
(
$config
[
'ifgroups'
]))
{
$config
[
'ifgroups'
]
=
array
();
...
...
src/www/status_openvpn.php
View file @
0e03967c
...
...
@@ -32,7 +32,6 @@
require_once
(
"guiconfig.inc"
);
require_once
(
"openvpn.inc"
);
require_once
(
"services.inc"
);
require_once
(
"plugins.inc"
);
require_once
(
"interfaces.inc"
);
function
kill_client
(
$port
,
$remipp
)
...
...
src/www/status_services.php
View file @
0e03967c
...
...
@@ -30,7 +30,6 @@
require_once
(
"guiconfig.inc"
);
require_once
(
"services.inc"
);
require_once
(
'plugins.inc'
);
require_once
(
"vslb.inc"
);
require_once
(
"system.inc"
);
require_once
(
"unbound.inc"
);
...
...
src/www/vpn_ipsec.php
View file @
0e03967c
...
...
@@ -33,7 +33,6 @@ require_once("filter.inc");
require_once
(
"ipsec.inc"
);
require_once
(
"services.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"plugins.inc"
);
/*
* Return phase2 idinfo in text format
...
...
src/www/vpn_ipsec_keys.php
View file @
0e03967c
...
...
@@ -32,7 +32,6 @@ require_once("ipsec.inc");
require_once
(
"filter.inc"
);
require_once
(
"services.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"plugins.inc"
);
if
(
!
isset
(
$config
[
'ipsec'
])
||
!
is_array
(
$config
[
'ipsec'
]))
{
$config
[
'ipsec'
]
=
array
();
...
...
src/www/vpn_ipsec_keys_edit.php
View file @
0e03967c
...
...
@@ -31,7 +31,6 @@ require_once("interfaces.inc");
require_once
(
"guiconfig.inc"
);
require_once
(
"ipsec.inc"
);
require_once
(
"services.inc"
);
require_once
(
"plugins.inc"
);
if
(
!
isset
(
$config
[
'ipsec'
])
||
!
is_array
(
$config
[
'ipsec'
]))
{
$config
[
'ipsec'
]
=
array
();
...
...
src/www/vpn_ipsec_mobile.php
View file @
0e03967c
...
...
@@ -32,7 +32,6 @@ require_once("guiconfig.inc");
require_once
(
"filter.inc"
);
require_once
(
"ipsec.inc"
);
require_once
(
"services.inc"
);
require_once
(
"plugins.inc"
);
if
(
!
isset
(
$config
[
'ipsec'
])
||
!
is_array
(
$config
[
'ipsec'
]))
{
$config
[
'ipsec'
]
=
array
();
...
...
src/www/vpn_ipsec_phase1.php
View file @
0e03967c
...
...
@@ -34,7 +34,6 @@ require_once("filter.inc");
require_once
(
"ipsec.inc"
);
require_once
(
"services.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"plugins.inc"
);
/*
* ikeid management functions
...
...
src/www/vpn_ipsec_phase2.php
View file @
0e03967c
...
...
@@ -32,7 +32,6 @@ require_once("guiconfig.inc");
require_once
(
"interfaces.inc"
);
require_once
(
"ipsec.inc"
);
require_once
(
"services.inc"
);
require_once
(
"plugins.inc"
);
/**
* combine ealgos and keylen_* tags
...
...
src/www/vpn_ipsec_settings.php
View file @
0e03967c
...
...
@@ -32,7 +32,6 @@ require_once("filter.inc");
require_once
(
"ipsec.inc"
);
require_once
(
"services.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"plugins.inc"
);
if
(
!
isset
(
$config
[
'ipsec'
])
||
!
is_array
(
$config
[
'ipsec'
]))
{
$config
[
'ipsec'
]
=
array
();
...
...
src/www/vpn_openvpn_client.php
View file @
0e03967c
...
...
@@ -31,7 +31,6 @@ require_once("guiconfig.inc");
require_once
(
"openvpn.inc"
);
require_once
(
"services.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"plugins.inc"
);
if
(
!
isset
(
$config
[
'openvpn'
][
'openvpn-client'
]))
{
$config
[
'openvpn'
][
'openvpn-client'
]
=
array
();
...
...
src/www/vpn_openvpn_csc.php
View file @
0e03967c
...
...
@@ -31,7 +31,6 @@ require_once("guiconfig.inc");
require_once
(
"openvpn.inc"
);
require_once
(
"services.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"plugins.inc"
);
// define all fields used in this form
$all_form_fields
=
"custom_options,disable,common_name,block,description
...
...
src/www/vpn_openvpn_export.php
View file @
0e03967c
...
...
@@ -32,7 +32,6 @@ require_once("openvpn.inc");
require_once
(
"services.inc"
);
require_once
(
"filter.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"plugins.inc"
);
require_once
(
"openvpn-client-export.inc"
);
global
$current_openvpn_version
,
$current_openvpn_version_rev
;
...
...
src/www/vpn_openvpn_server.php
View file @
0e03967c
...
...
@@ -31,7 +31,6 @@ require_once("guiconfig.inc");
require_once
(
"openvpn.inc"
);
require_once
(
"services.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"plugins.inc"
);
if
(
!
isset
(
$config
[
'openvpn'
][
'openvpn-server'
]))
{
$config
[
'openvpn'
][
'openvpn-server'
]
=
array
();
...
...
src/www/widgets/widgets/services_status.widget.php
View file @
0e03967c
...
...
@@ -32,7 +32,6 @@
require_once
(
"guiconfig.inc"
);
require_once
(
"services.inc"
);
require_once
(
"system.inc"
);
require_once
(
'plugins.inc'
);
require_once
(
"ipsec.inc"
);
require_once
(
"interfaces.inc"
);
...
...
src/www/wizard.php
View file @
0e03967c
...
...
@@ -33,7 +33,6 @@ require_once("filter.inc");
require_once
(
"rrd.inc"
);
require_once
(
"system.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"plugins.inc"
);
/*
* find_ip_interface($ip): return the interface where an ip is defined
...
...
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