Lots of cleanups, icons, links and copyright notices

This commit is contained in:
Jos Schellevis 2014-12-31 16:41:03 +00:00
parent 30a3036f6c
commit 9643dadc2c
76 changed files with 151 additions and 1055 deletions

View File

@ -32,11 +32,6 @@
*
*/
/*
pfSense_BUILDER_BINARIES: /usr/local/bin/rate
pfSense_MODULE: trafficgraph
*/
require_once('guiconfig.inc');
require_once('interfaces.inc');
require_once('pfsense-utils.inc');

View File

@ -26,17 +26,6 @@
POSSIBILITY OF SUCH DAMAGE.
*/
##|+PRIV
##|*IDENT=page-status-carp
##|*NAME=Status: CARP page
##|*DESCR=Allow access to the 'Status: CARP' page.
##|*MATCH=carp_status.php*
##|-PRIV
/*
pfSense_MODULE: carp
*/
require_once("guiconfig.inc");
require_once("globals.inc");
@ -167,15 +156,15 @@ include("head.inc");
echo "<tr>";
$align = "style=\"vertical-align:middle\"";
if($carp_enabled == false) {
$icon = "<img {$align} src=\"/themes/".$g['theme']."/images/icons/icon_block.gif\" alt=\"disabled\" />";
$icon = "<span {$align} class=\"glyphicon glyphicon-remove text-danger\" alt=\"disabled\" ></span>";
$status = "DISABLED";
} else {
if($status == "MASTER") {
$icon = "<img {$align} src=\"/themes/".$g['theme']."/images/icons/icon_pass.gif\" alt=\"master\" />";
$icon = "<span {$align} class=\"glyphicon glyphicon-play text-success\" alt=\"master\" ></span>";
} else if($status == "BACKUP") {
$icon = "<img {$align} src=\"/themes/".$g['theme']."/images/icons/icon_pass_d.gif\" alt=\"backup\" />";
$icon = "<span {$align} class=\"glyphicon glyphicon-play text-muted\" alt=\"backup\" ></span>";
} else if($status == "INIT") {
$icon = "<img {$align} src=\"/themes/".$g['theme']."/images/icons/icon_log.gif\" alt=\"init\" />";
$icon = "<span {$align} class=\"glyphicon glyphicon-info-sign\" alt=\"init\" ></span>";
}
}
echo "<td class=\"listlr\" align=\"center\">" . convert_friendly_interface_to_friendly_descr($carp['interface']) . "@{$vhid} &nbsp;</td>";

View File

@ -1,5 +1,4 @@
<?php
/* $Id$ */
/*
Copyright (C) 2014 Deciso B.V.
Copyright (C) 2011 Scott Ullrich
@ -26,16 +25,6 @@
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_MODULE: header
*/
##|+PRIV
##|*IDENT=page-diagnostics-crash-reporter
##|*NAME=Crash reporter
##|*DESCR=Uploads crash reports to pfSense and or deletes crash reports.
##|*MATCH=crash_reporter.php*
##|-PRIV
require("guiconfig.inc");
require("functions.inc");
@ -65,7 +54,7 @@ function upload_crash_report($files) {
function output_crash_reporter_html($crash_reports) {
echo "<p><strong>" . gettext("Unfortunately we have detected a programming bug.") . "</strong></p>";
echo "<p>" . gettext("Would you like to submit the programming debug logs to the pfSense developers for inspection?") . "</p>";
echo "<p>" . gettext("Would you like to submit the programming debug logs to the OPNsense developers for inspection?") . "</p>";
echo "<p><i>" . gettext("Please double check the contents to ensure you are comfortable sending this information before clicking Yes.") . "</i></p>";
echo "<p>" . gettext("Contents of crash reports") . ":<br />";
echo "<textarea readonly=\"readonly\" rows=\"40\" cols=\"65\" name=\"crashreports\">{$crash_reports}</textarea></p>";

View File

@ -1,11 +1,7 @@
<?php
/*
Copyright (C) 2014 Deciso B.V.
All rights reserved.
Copyright (C) 2004-2009 Scott Ullrich <sullrich@gmail.com>
originally part of m0n0wall (http://m0n0.ch/wall)
Copyright (C) 2005 Paul Taylor (paultaylor@winndixie.com) and Manuel Kasper <mk@neon1.net>.
All rights reserved.
@ -31,18 +27,6 @@
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_BUILDER_BINARIES: /bin/cat /usr/sbin/arp
pfSense_MODULE: arp
*/
##|+PRIV
##|*IDENT=page-diagnostics-arptable
##|*NAME=Diagnostics: ARP Table page
##|*DESCR=Allow access to the 'Diagnostics: ARP Table' page.
##|*MATCH=diag_arp.php*
##|-PRIV
@ini_set('zlib.output_compression', 0);
@ini_set('implicit_flush', 1);

View File

@ -1,8 +1,6 @@
<?php
/*
Copyright (C) 2014 Deciso B.V.
All rights reserved.
Copyright (C) 2010 Ermal Luçi
All rights reserved.
@ -28,17 +26,6 @@
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_MODULE: auth
*/
##|+PRIV
##|*IDENT=page-diagnostics-authentication
##|*NAME=Diagnostics: Authentication page
##|*DESCR=Allow access to the 'Diagnostics: Authentication' page.
##|*MATCH=diag_authentication.php*
##|-PRIV
require("guiconfig.inc");
require_once("PEAR.inc");
require_once("radius.inc");

View File

@ -28,18 +28,6 @@
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_BUILDER_BINARIES: /sbin/shutdown
pfSense_MODULE: backup
*/
##|+PRIV
##|*IDENT=page-diagnostics-backup/restore
##|*NAME=Diagnostics: Backup/restore page
##|*DESCR=Allow access to the 'Diagnostics: Backup/restore' page.
##|*MATCH=diag_backup.php*
##|-PRIV
/* Allow additional execution time 0 = no limit. */
ini_set('max_execution_time', '0');
ini_set('max_input_time', '0');
@ -359,14 +347,14 @@ if ($_POST) {
if ($_POST['decrypt']) {
if (!tagfile_deformat($data, $data, "config.xml")) {
$input_errors[] = gettext("The uploaded file does not appear to contain an encrypted pfsense configuration.");
$input_errors[] = gettext("The uploaded file does not appear to contain an encrypted OPNsense configuration.");
return 1;
}
$data = decrypt_data($data, $_POST['decrypt_password']);
}
if(stristr($data, "<m0n0wall>")) {
log_error(gettext("Upgrading m0n0wall configuration to pfsense."));
log_error(gettext("Upgrading m0n0wall configuration to OPNsense."));
/* m0n0wall was found in config. convert it. */
$data = str_replace("m0n0wall", "pfsense", $data);
$m0n0wall_upgrade = true;
@ -512,7 +500,7 @@ if ($_POST) {
add_base_packages_menu_items();
convert_config();
conf_mount_ro();
$savemsg = gettext("The m0n0wall configuration has been restored and upgraded to pfSense.");
$savemsg = gettext("The m0n0wall configuration has been restored and upgraded to OPNsense.");
mark_subsystem_dirty("restore");
}
if(is_array($config['captiveportal'])) {

View File

@ -28,17 +28,6 @@
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_MODULE: config
*/
##|+PRIV
##|*IDENT=page-diagnostics-configurationhistory
##|*NAME=Diagnostics: Configuration History page
##|*DESCR=Allow access to the 'Diagnostics: Configuration History' page.
##|*MATCH=diag_confbak.php*
##|-PRIV
require("guiconfig.inc");
if (isset($_POST['backupcount'])) {

View File

@ -1,5 +1,4 @@
<?php
/* $Id$ */
/*
Copyright (C) 2014 Deciso B.V.
Copyright (C) 2004-2009 Scott Ullrich
@ -28,17 +27,6 @@
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_MODULE: config
*/
##|+PRIV
##|*IDENT=page-diagnostics-factorydefaults
##|*NAME=Diagnostics: Factory defaults page
##|*DESCR=Allow access to the 'Diagnostics: Factory defaults' page.
##|*MATCH=diag_defaults.php*
##|-PRIV
require("guiconfig.inc");
$pgtitle = array(gettext("Diagnostics"),gettext("Factory defaults"));
@ -75,7 +63,7 @@ include("head.inc");
<li><?=gettext("System will be configured as a DHCP server on the default LAN interface");?></li>
<li><?=gettext("Reboot after changes are installed");?></li>
<li><?=gettext("WAN interface will be set to obtain an address automatically from a DHCP server");?></li>
<li><?=gettext("webConfigurator admin username will be reset to 'admin'");?></li>
<li><?=gettext("webConfigurator admin username will be reset to 'root'");?></li>
<li><?=gettext("webConfigurator admin password will be reset to");?> '<?=$g['factory_shipped_password']?>'</li>
</ul>
<p><strong><?=gettext("Are you sure you want to proceed?");?></strong></p>

View File

@ -26,10 +26,6 @@
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_MODULE: dns
*/
$pgtitle = array(gettext("Diagnostics"),gettext("DNS Lookup"));
require("guiconfig.inc");

View File

@ -27,18 +27,6 @@
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_BUILDER_BINARIES: /sbin/pfctl
pfSense_MODULE: filter
*/
##|+PRIV
##|*IDENT=page-diagnostics-showstates
##|*NAME=Diagnostics: Show States page
##|*DESCR=Allow access to the 'Diagnostics: Show States' page.
##|*MATCH=diag_dump_states.php*
##|-PRIV
require_once("guiconfig.inc");
require_once("interfaces.inc");
@ -85,7 +73,7 @@ include("head.inc");
jQuery(icon).css("cursor","wait");
}
jQuery('img[name="i:' + srcip + ":" + dstip + '"]').each(busy);
jQuery('span[name="i:' + srcip + ":" + dstip + '"]').each(busy);
jQuery.ajax(
"<?=$_SERVER['SCRIPT_NAME'];?>",

View File

@ -27,18 +27,6 @@
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_BUILDER_BINARIES: /sbin/pfctl
pfSense_MODULE: filter
*/
##|+PRIV
##|*IDENT=page-diagnostics-showstates
##|*NAME=Diagnostics: Show States page
##|*DESCR=Allow access to the 'Diagnostics: Show States' page.
##|*MATCH=diag_dump_states.php*
##|-PRIV
require_once("guiconfig.inc");
/* handle AJAX operations */
@ -80,7 +68,7 @@ include("head.inc");
jQuery(icon).css("cursor","wait");
}
jQuery('img[name="i:' + srcip + ":" + dstip + '"]').each(busy);
jQuery('span[name="i:' + srcip + ":" + dstip + '"]').each(busy);
jQuery.ajax(
"<?=$_SERVER['SCRIPT_NAME'];?>" +
@ -103,7 +91,7 @@ include("head.inc");
//]]>
</script>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<table class="table table-striped" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<?php
@ -121,17 +109,25 @@ include("head.inc");
<!-- Start of tab content -->
<table class="tabcont" width="100%" border="0" cellspacing="0" cellpadding="0">
<table class="table table-striped tabcont" width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<form action="<?=$_SERVER['SCRIPT_NAME'];?>" method="get">
<table class="tabcont" width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>&nbsp;</td>
<td style="font-weight:bold;" align="right">
<?=gettext("Filter expression:");?>
</td>
<td>
</td>
</tr>
<tr>
<td style="font-weight:bold;" align="right">
<input type="text" name="filter" class="formfld search" value="<?=htmlspecialchars($_GET['filter']);?>" size="30" />
<input type="submit" class="formbtn" value="<?=gettext("Filter");?>" />
</td>
<td>
<input type="submit" class="btn btn-primary formbtn" value="<?=gettext("Filter");?>" />
</td>
</tr>
</table>
@ -140,7 +136,7 @@ include("head.inc");
</tr>
<tr>
<td>
<table class="tabcont sortable" width="100%" border="0" cellspacing="0" cellpadding="0">
<table class="table table-striped tabcont sortable" width="100%" border="0" cellspacing="0" cellpadding="0">
<thead>
<tr>
<th class="listhdrr" width="40%"><?=gettext("Source -> Destination");?></th>
@ -175,10 +171,11 @@ if(count($sources) > 0) {
<td class='listr'><?php echo $numconnections;?></td>
<td class='listr'><?php echo $rate;?></td>
<td class='list'>
<img src='/themes/<?php echo $g['theme']; ?>/images/icons/icon_x.gif' height='17' width='17' border='0'
<span class='glyphicon glyphicon-remove'
onclick="removeSource(<?php echo "'{$srcip}', '{$dstip}'"; ?>);" style='cursor:pointer;'
name='i:<?php echo "{$srcip}:{$dstip}"; ?>'
title='<?php echo gettext("Remove all source tracking entries from") . " {$srcip} " . gettext("to") . " {$dstip}";?>' alt='' />
title='<?php echo gettext("Remove all source tracking entries from") . " {$srcip} " . gettext("to") . " {$dstip}";?>' alt='' >
</span>
</td>
</tr>
<?php

View File

@ -26,19 +26,6 @@
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_BUILDER_BINARIES: /sbin/gmirror /sbin/geom /usr/bin/grep /usr/bin/egrep /usr/bin/cut /usr/bin/head
pfSense_BUILDER_BINARIES: /sbin/mount /usr/bin/awk /usr/bin/sed
pfSense_MODULE: gmirror
*/
##|+PRIV
##|*IDENT=page-diagnostics-gmirror
##|*NAME=Diagnostics: GEOM Mirrors
##|*DESCR=Allow access to the 'Diagnostics: GEOM Mirrors' page.
##|*MATCH=diag_gmirror.php*
##|-PRIV
require_once("guiconfig.inc");
require_once("config.inc");
require_once("gmirror.inc");

View File

@ -29,18 +29,6 @@
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_MODULE: ipsec
*/
##|+PRIV
##|*IDENT=page-status-ipsec
##|*NAME=Status: IPsec page
##|*DESCR=Allow access to the 'Status: IPsec' page.
##|*MATCH=diag_ipsec.php*
##|-PRIV
global $g;
$pgtitle = array(gettext("Status"),gettext("IPsec"));
@ -121,11 +109,11 @@ $status = ipsec_smp_dump_status();
$ipsecconnected[$con_id] = $con_id;
if (ipsec_phase1_status($status['query']['ikesalist']['ikesa'], $ikesa['id'])) {
$icon = "pass";
$icon = "glyphicon glyphicon-play text-success";
} elseif(!isset($config['ipsec']['enable'])) {
$icon = "block";
$icon = "glyphicon glyphicon-remove text-danger";
} else {
$icon = "reject";
$icon = "glyphicon glyphicon-remove text-warning";
}
?>
<tr>
@ -218,25 +206,25 @@ $status = ipsec_smp_dump_status();
</td>
<td class="listr">
<center>
<img src ="/themes/<?php echo $g['theme']; ?>/images/icons/icon_<?php echo $icon; ?>.gif" title="<?php echo $ikesa['status']; ?>" alt=""/>
<span class="<?php echo $icon; ?>" title="<?php echo $ikesa['status']; ?>" alt=""></span>
<br/><?php echo htmlspecialchars($ikesa['status']);?>
<br/><?php echo htmlspecialchars($ikesa['established']);?>
</center>
</td>
<td >
<?php if ($icon != "pass"): ?>
<?php if ($icon != "glyphicon glyphicon-play text-success"): ?>
<center>
<a href="diag_ipsec.php?act=connect&amp;ikeid=<?php echo $con_id; ?>">
<img src ="/themes/<?php echo $g['theme']; ?>/images/icons/icon_service_start.gif" alt="Connect VPN" title="Connect VPN" border="0"/>
<span class="glyphicon glyphicon-play text-default" alt="Connect VPN" title="Connect VPN"></span>
</a>
</center>
<?php else: ?>
<center>
<a href="diag_ipsec.php?act=ikedisconnect&amp;ikeid=<?php echo $con_id; ?>">
<img src ="/themes/<?php echo $g['theme']; ?>/images/icons/icon_service_stop.gif" alt="Disconnect VPN" title="Disconnect VPN" border="0"/>
<span class="glyphicon glyphicon-stop text-default" alt="Disconnect VPN" title="Disconnect VPN"></span>
</a>
<a href="diag_ipsec.php?act=ikedisconnect&amp;ikeid=<?php echo $con_id; ?>&amp;ikesaid=<?php echo $ikesa['id']; ?>">
<img src ="/themes/<?php echo $g['theme']; ?>/images/icons/icon_x.gif" alt="Disconnect VPN Connection" title="Disconnect VPN Connection" border="0"/>
<span class="glyphicon glyphicon-remove text-default" alt="Disconnect VPN Connection" title="Disconnect VPN Connection" border="0"></span>
</a>
</center>
<?php endif; ?>
@ -334,7 +322,7 @@ $status = ipsec_smp_dump_status();
<td>
<center>
<a href="diag_ipsec.php?act=childdisconnect&amp;ikeid=<?php echo $con_id; ?>&amp;ikesaid=<?php echo $childsa['reqid']; ?>">
<img src ="/themes/<?php echo $g['theme']; ?>/images/icons/icon_x.gif" alt="Disconnect Child SA" title="Disconnect Child SA" border="0"/>
<span class="glyphicon glyphicon-remove text-default" alt="Disconnect Child SA" title="Disconnect Child SA"></span>
</a>
</center>
</td>
@ -408,14 +396,14 @@ $status = ipsec_smp_dump_status();
</td>
<td class="listr">
<center>
<img src ="/themes/<?php echo $g['theme']; ?>/images/icons/icon_reject.gif" title="Disconnected" alt=""/>
<br/>Disconnected
<span class="glyphicon glyphicon-remove text-warning" title="Disconnected" alt=""></span>
<small>Disconnected</small>
</center>
</td>
<td >
<center>
<a href="diag_ipsec.php?act=connect&amp;ikeid=<?php echo $ph1ent['ikeid']; ?>">
<img src ="/themes/<?php echo $g['theme']; ?>/images/icons/icon_service_start.gif" alt="Connect VPN" title="Connect VPN" border="0"/>
<span class="glyphicon glyphicon-play text-default" alt="Connect VPN" title="Connect VPN"></span>
</a>
</center>
</td>

View File

@ -1,5 +1,4 @@
<?php
/* $Id$ */
/*
Copyright (C) 2014 Deciso B.V.
Copyright (C) 2014 Ermal LUÇi
@ -27,18 +26,6 @@
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_BUILDER_BINARIES: /usr/local/sbin/ipsec
pfSense_MODULE: ipsec
*/
##|+PRIV
##|*IDENT=page-status-ipsec-leases
##|*NAME=Status: IPsec: Leases page
##|*DESCR=Allow access to the 'Status: IPsec: Leases' page.
##|*MATCH=diag_ipsec_leases.php*
##|-PRIV
require("guiconfig.inc");
require("ipsec.inc");

View File

@ -1,5 +1,4 @@
<?php
/* $Id$ */
/*
Copyright (C) 2014 Deciso B.V.
Copyright (C) 2004-2009 Scott Ullrich
@ -28,18 +27,6 @@
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_BUILDER_BINARIES: /sbin/setkey
pfSense_MODULE: ipsec
*/
##|+PRIV
##|*IDENT=page-status-ipsec-sad
##|*NAME=Status: IPsec: SAD page
##|*DESCR=Allow access to the 'Status: IPsec: SAD' page.
##|*MATCH=diag_ipsec_sad.php*
##|-PRIV
require("guiconfig.inc");
require("ipsec.inc");

View File

@ -1,5 +1,4 @@
<?php
/* $Id$ */
/*
Copyright (C) 2014 Deciso B.V.
Copyright (C) 2004-2009 Scott Ullrich
@ -28,18 +27,6 @@
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_BUILDER_BINARIES: /sbin/setkey
pfSense_MODULE: ipsec
*/
##|+PRIV
##|*IDENT=page-status-ipsec-spd
##|*NAME=Status: IPsec: SPD page
##|*DESCR=Allow access to the 'Status: IPsec: SPD' page.
##|*MATCH=diag_ipsec_spd.php*
##|-PRIV
require("guiconfig.inc");
require("ipsec.inc");

View File

@ -1,5 +1,4 @@
<?php
/* $Id$ */
/*
Copyright (C) 2014 Deciso B.V.
Copyright (C) 2007 pfSense Project
@ -29,13 +28,6 @@
POSSIBILITY OF SUCH DAMAGE.
*/
##|+PRIV
##|*IDENT=page-ipsecxml
##|*NAME=Diag IPsec XML page
##|*DESCR=Allow access to the 'Diag IPsec XML' page.
##|*MATCH=diag_ipsec_xml.php
##|-PRIV
global $g;
require("guiconfig.inc");

View File

@ -1,5 +1,4 @@
<?php
/* $Id$ */
/*
Copyright (C) 2014 Deciso B.V.
Copyright (C) 2010 Scott Ullrich
@ -27,18 +26,6 @@
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_BUILDER_BINARIES: /usr/bin/top
pfSense_MODULE: system
*/
##|+PRIV
##|*IDENT=page-diagnostics-limiter-info
##|*NAME=Diagnostics: Limiter Info
##|*DESCR=Allows access to the 'Diagnostics: Limiter Info' page
##|*MATCH=diag_limiter_info.php*
##|-PRIV
require("guiconfig.inc");
$pgtitle = gettext("Diagnostics: Limiter Info");

View File

@ -1,5 +1,4 @@
<?php
/* $Id$ */
/*
Copyright (C) 2014 Deciso B.V.
Copyright (C) 2004-2009 Scott Ullrich
@ -28,17 +27,6 @@
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_MODULE: system
*/
##|+PRIV
##|*IDENT=page-diagnostics-logs-system
##|*NAME=Diagnostics: Logs: System page
##|*DESCR=Allow access to the 'Diagnostics: Logs: System' page.
##|*MATCH=diag_logs.php*
##|-PRIV
require("guiconfig.inc");
$system_logfile = "{$g['varlog_path']}/system.log";

View File

@ -1,5 +1,4 @@
<?php
/* $Id$ */
/*
Copyright (C) 2014 Deciso B.V.
Copyright (C) 2003-2004 Manuel Kasper <mk@neon1.net>.
@ -27,17 +26,6 @@
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_MODULE: captiveportal
*/
##|+PRIV
##|*IDENT=page-status-systemlogs-portalauth
##|*NAME=Status: System logs: Portal Auth page
##|*DESCR=Allow access to the 'Status: System logs: Portal Auth' page.
##|*MATCH=diag_logs_auth.php*
##|-PRIV
require("guiconfig.inc");
$portal_logfile = "{$g['varlog_path']}/portalauth.log";

View File

@ -1,5 +1,4 @@
<?php
/* $Id$ */
/*
Copyright (C) 2014 Deciso B.V.
Copyright (C) 2004-2009 Scott Ullrich
@ -28,17 +27,6 @@
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_MODULE: dhcpserver
*/
##|+PRIV
##|*IDENT=page-diagnostics-logs-dhcp
##|*NAME=Diagnostics: Logs: DHCP page
##|*DESCR=Allow access to the 'Diagnostics: Logs: DHCP' page.
##|*MATCH=diag_logs_dhcp.php*
##|-PRIV
require("guiconfig.inc");
$dhcpd_logfile = "{$g['varlog_path']}/dhcpd.log";

View File

@ -1,5 +1,4 @@
<?php
/* $Id$ */
/*
Copyright (C) 2014 Deciso B.V.
Copyright (C) Jim Pingle jim@pingle.org
@ -29,17 +28,6 @@
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_MODULE: filter
*/
##|+PRIV
##|*IDENT=page-diagnostics-logs-firewall
##|*NAME=Diagnostics: Logs: Firewall page
##|*DESCR=Allow access to the 'Diagnostics: Logs: Firewall' page.
##|*MATCH=diag_logs_filter.php*
##|-PRIV
require("guiconfig.inc");
require_once("filter_log.inc");

View File

@ -1,5 +1,4 @@
<?php
/* $Id$ */
/*
Copyright (C) 2014 Deciso B.V.
Copyright (C) 2004-2009 Scott Ullrich
@ -28,17 +27,6 @@
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_MODULE: filter
*/
##|+PRIV
##|*IDENT=page-hidden-nolongerincluded
##|*NAME=Hidden: No longer included page
##|*DESCR=Allow access to the 'Hidden: No longer included' page.
##|*MATCH=diag_logs_filter_dynamic.php*
##|-PRIV
require("guiconfig.inc");
require_once("filter_log.inc");

View File

@ -26,11 +26,6 @@
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_BUILDER_BINARIES:
pfSense_MODULE: filter
*/
$pgtitle = gettext("Status").": ".gettext("System logs").": ".gettext("Firewall Log Summary");
$shortcut_section = "firewall";
require_once("guiconfig.inc");

View File

@ -1,5 +1,4 @@
<?php
/* $Id$ */
/*
Copyright (C) 2014 Deciso B.V.
Copyright (C) 2004-2009 Scott Ullrich
@ -29,17 +28,6 @@
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_MODULE: system
*/
##|+PRIV
##|*IDENT=page-diagnostics-logs-gateways
##|*NAME=Diagnostics: Logs: System: Gateways page
##|*DESCR=Allow access to the 'Diagnostics: Logs: System: Gateways' page.
##|*MATCH=diag_logs_gateways.php*
##|-PRIV
require("guiconfig.inc");
$system_logfile = "{$g['varlog_path']}/gateways.log";

View File

@ -1,5 +1,4 @@
<?php
/* $Id$ */
/*
Copyright (C) 2014 Deciso B.V.
Copyright (C) 2004-2009 Scott Ullrich
@ -28,18 +27,6 @@
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_BUILDER_BINARIES: /sbin/ifconfig /usr/bin/awk
pfSense_MODULE: ipsec
*/
##|+PRIV
##|*IDENT=page-status-systemlogs-ipsecvpn
##|*NAME=Status: System logs: IPsec VPN page
##|*DESCR=Allow access to the 'Status: System logs: IPsec VPN' page.
##|*MATCH=diag_logs_ipsec.php*
##|-PRIV
require("guiconfig.inc");
require("ipsec.inc");

View File

@ -1,5 +1,4 @@
<?php
/* $Id$ */
/*
Copyright (C) 2014 Deciso B.V.
Copyright (C) 2005 Bill Marquette <bill.marquette@gmail.com>.
@ -28,17 +27,6 @@
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_MODULE: ntpd
*/
##|+PRIV
##|*IDENT=page-status-systemlogs-ntpd
##|*NAME=Status: System logs: NTP page
##|*DESCR=Allow access to the 'Status: System logs: NTP' page.
##|*MATCH=diag_logs_ntpd.php*
##|-PRIV
require("guiconfig.inc");
$ntpd_logfile = "{$g['varlog_path']}/ntpd.log";

View File

@ -1,7 +1,6 @@
<?php
/* $Id$ */
/*
Copyright (C) Deciso B.V.
Copyright (C) 2014 Deciso B.V.
Copyright (C) 2004-2009 Scott Ullrich
Copyright (C) 2003-2004 Manuel Kasper <mk@neon1.net>.
All rights reserved.
@ -28,17 +27,6 @@
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_MODULE: openvpn
*/
##|+PRIV
##|*IDENT=page-status-systemlogs-openvpn
##|*NAME=Status: System logs: OpenVPN page
##|*DESCR=Allow access to the 'Status: System logs: OpenVPN' page.
##|*MATCH=diag_logs_openvpn.php*
##|-PRIV
$pgtitle = array(gettext("Status"),gettext("System logs"),gettext("OpenVPN"));
$shortcut_section = "openvpn";

View File

@ -1,5 +1,4 @@
<?php
/* $Id$ */
/*
Copyright (C) 2014 Deciso B.V.
Copyright (C) 2004-2009 Scott Ullrich
@ -28,18 +27,6 @@
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_BUILDER_BINARIES: /sbin/ifconfig /usr/bin/awk
pfSense_MODULE:
*/
##|+PRIV
##|*IDENT=page-status-systemlogs-ppp
##|*NAME=Status: System logs: IPsec VPN page
##|*DESCR=Allow access to the 'Status: System logs: IPsec VPN' page.
##|*MATCH=diag_logs_ppp.php*
##|-PRIV
require("guiconfig.inc");
$ppp_logfile = "{$g['varlog_path']}/ppp.log";

View File

@ -1,5 +1,4 @@
<?php
/* $Id$ */
/*
Copyright (C) 2014 Deciso B.V.
Copyright (C) 2008 Bill Marquette <bill.marquette@gmail.com>.
@ -28,17 +27,6 @@
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_MODULE: routing
*/
##|+PRIV
##|*IDENT=page-status-systemlogs-loadbalancer
##|*NAME=Status: System logs: Load Balancer page
##|*DESCR=Allow access to the 'Status: System logs: Load Balancer' page.
##|*MATCH=diag_logs_relayd.php*
##|-PRIV
require("guiconfig.inc");
$relayd_logfile = "{$g['varlog_path']}/relayd.log";

View File

@ -1,5 +1,4 @@
<?php
/* $Id$ */
/*
Copyright (C) 2014 Deciso B.V.
Copyright (C) 2004-2009 Scott Ullrich
@ -29,17 +28,6 @@
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_MODULE: system
*/
##|+PRIV
##|*IDENT=page-diagnostics-logs-resolver
##|*NAME=Diagnostics: Logs: System: Resolver page
##|*DESCR=Allow access to the 'Diagnostics: Logs: System: Resolver' page.
##|*MATCH=diag_logs_resolver.php*
##|-PRIV
require("guiconfig.inc");
$system_logfile = "{$g['varlog_path']}/resolver.log";

View File

@ -1,5 +1,4 @@
<?php
/* $Id$ */
/*
Copyright (C) 2014 Deciso B.V.
Copyright (C) 2012 Jim Pingle <jimp@pfsense.org>.
@ -27,17 +26,6 @@
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_MODULE: routing
*/
##|+PRIV
##|*IDENT=page-status-systemlogs-routing
##|*NAME=Status: System logs: Routing page
##|*DESCR=Allow access to the 'Status: System logs: System: Routing' page.
##|*MATCH=diag_logs_routing.php*
##|-PRIV
require("guiconfig.inc");
$routing_logfile = "{$g['varlog_path']}/routing.log";

View File

@ -1,5 +1,4 @@
<?php
/* $Id$ */
/*
Copyright (C) 2014 Deciso B.V.
Copyright (C) 2004-2009 Scott Ullrich
@ -28,17 +27,6 @@
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_MODULE: system
*/
##|+PRIV
##|*IDENT=page-diagnostics-logs-settings
##|*NAME=Diagnostics: Logs: Settings page
##|*DESCR=Allow access to the 'Diagnostics: Logs: Settings' page.
##|*MATCH=diag_logs_settings.php*
##|-PRIV
require("guiconfig.inc");
require_once("functions.inc");
require_once("filter.inc");

View File

@ -27,18 +27,6 @@
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_BUILDER_BINARIES: /usr/sbin/fifolog_reader /usr/local/sbin/clog
pfSense_MODULE: vpn
*/
##|+PRIV
##|*IDENT=page-diagnostics-logs-pptpvpn
##|*NAME=Diagnostics: Logs: VPN page
##|*DESCR=Allow access to the 'Diagnostics: Logs: VPN' page.
##|*MATCH=diag_logs_vpn.php*
##|-PRIV
$pgtitle = array(gettext("Status"), gettext("System logs"), gettext("VPN"));
require("guiconfig.inc");
require_once("vpn.inc");

View File

@ -1,5 +1,4 @@
<?php
/* $Id$ */
/*
Copyright (C) Deciso B.V.
Copyright (C) 2008 Bill Marquette <bill.marquette@gmail.com>.
@ -29,17 +28,6 @@
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_MODULE: routing
*/
##|+PRIV
##|*IDENT=page-status-systemlogs-wireless
##|*NAME=Status: System logs: Wireless page
##|*DESCR=Allow access to the 'Status: System logs: System: Wireless' page.
##|*MATCH=diag_logs_wireless.php*
##|-PRIV
require("guiconfig.inc");
$wireless_logfile = "{$g['varlog_path']}/wireless.log";

View File

@ -26,19 +26,6 @@
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_BUILDER_BINARIES: /sbin/mount /sbin/glabel /usr/bin/grep /usr/bin/cut /usr/bin/head /bin/cp
pfSense_BUILDER_BINARIES: /usr/sbin/boot0cfg /bin/mkdir /sbin/fsck_ufs /sbin/mount /bin/dd /sbin/tunefs
pfSense_MODULE: nanobsd
*/
##|+PRIV
##|*IDENT=page-diagnostics-nanobsd
##|*NAME=Diagnostics: NanoBSD
##|*DESCR=Allow access to the 'Diagnostics: NanoBSD' page.
##|*MATCH=diag_nanobsd.php*
##|-PRIV
ini_set('zlib.output_compression', 0);
ini_set('implicit_flush', 1);
ini_set('max_input_time', '9999');

View File

@ -28,18 +28,6 @@
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_BUILDER_BINARIES: /bin/cat /usr/sbin/arp
pfSense_MODULE: arp
*/
##|+PRIV
##|*IDENT=page-diagnostics-ndptable
##|*NAME=Diagnostics: NDP Table page
##|*DESCR=Allow access to the 'Diagnostics: NDP Table' page.
##|*MATCH=diag_ndp.php*
##|-PRIV
@ini_set('zlib.output_compression', 0);
@ini_set('implicit_flush', 1);

View File

@ -24,18 +24,6 @@
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_BUILDER_BINARIES: /bin/ps /usr/bin/grep /usr/sbin/tcpdump
pfSense_MODULE: routing
*/
##|+PRIV
##|*IDENT=page-diagnostics-packetcapture
##|*NAME=Diagnostics: Packet Capture page
##|*DESCR=Allow access to the 'Diagnostics: Packet Capture' page.
##|*MATCH=diag_packet_capture.php*
##|-PRIV
$allowautocomplete = true;
function fixup_host_logic($value) {

View File

@ -1,5 +1,4 @@
<?php
/* $Id$ */
/*
Copyright (C) 2014 Deciso B.V., All rights reserved
Exec+ v1.02-000 - Copyright 2001-2003, All rights reserved
@ -27,17 +26,6 @@
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_MODULE: shaper
*/
##|+PRIV
##|*IDENT=page-diagnostics-patters
##|*NAME=Diagnostics: Patterns page
##|*DESCR=Allow access to the 'Diagnostics: Patterns' page.
##|*MATCH=patterns.php*
##|-PRIV
require("guiconfig.inc");
//Move the upload file to /usr/local/share/protocols (is_uploaded_file must use tmp_name as argument)

View File

@ -1,5 +1,4 @@
<?php
/* $Id$ */
/*
Copyright (C) 2014 Deciso B.V.
Copyright (C) 2010 Scott Ullrich
@ -27,18 +26,6 @@
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_BUILDER_BINARIES: /usr/bin/top
pfSense_MODULE: system
*/
##|+PRIV
##|*IDENT=page-diagnostics-pf-info
##|*NAME=Diagnostics: pfInfo
##|*DESCR=Allows access to the 'Diagnostics: pfInfo' page
##|*MATCH=diag_pf_info.php*
##|-PRIV
require("guiconfig.inc");
$pgtitle = gettext("Diagnostics: pfInfo");

View File

@ -26,18 +26,6 @@
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_BUILDER_BINARIES: /sbin/ping /sbin/ping6
pfSense_MODULE: routing
*/
##|+PRIV
##|*IDENT=page-diagnostics-ping
##|*NAME=Diagnostics: Ping page
##|*DESCR=Allow access to the 'Diagnostics: Ping' page.
##|*MATCH=diag_ping.php*
##|-PRIV
$allowautocomplete = true;
$pgtitle = array(gettext("Diagnostics"), gettext("Ping"));
require_once("guiconfig.inc");

View File

@ -1,141 +0,0 @@
<?php
/*
$Id$
diag_pkglogs.php
Copyright (C) 2005 Colin Smith
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
<logging>
<logtab>arpwatch</logtab>
<grepfor>arpwatch</logtab>
</logging>
<invertgrep/>
<logfile>/var/log/arpwatch.log</logfile>
*/
/*
pfSense_BUILDER_BINARIES: /usr/bin/netstat
pfSense_MODULE: pkgs
*/
##|+PRIV
##|*IDENT=page-status-packagelogs
##|*NAME=Status: Package logs page
##|*DESCR=Allow access to the 'Status: Package logs' page.
##|*MATCH=diag_pkglogs.php*
##|-PRIV
require("guiconfig.inc");
require("pkg-utils.inc");
if(!($nentries = $config['syslog']['nentries'])) $nentries = 50;
//if ($_POST['clear'])
// clear_log_file($logfile);
$i = 0;
$pkgwithlogging = false;
$apkg = $_GET['pkg'];
if(!$apkg) { // If we aren't looking for a specific package, locate the first package that handles logging.
if($config['installedpackages']['package'] <> "") {
foreach($config['installedpackages']['package'] as $package) {
if(is_array($package['logging'])) {
$pkgwithlogging = true;
$apkg = $package['name'];
$apkgid = $i;
break;
}
$i++;
}
}
} elseif($apkg) {
$apkgid = get_pkg_id($apkg);
if ($apkgid != -1) {
$pkgwithlogging = true;
$i = $apkgid;
}
}
$pgtitle = array(gettext("Status"),gettext("Package logs"));
include("head.inc");
?>
<body>
<?php include("fbegin.inc"); ?>
<section class="page-content-main">
<div class="container-fluid">
<div class="row">
<?php
if($pkgwithlogging == false) {
print_info_box(gettext("No packages with logging facilities are currently installed."));
}
else {
?>
<section class="col-xs-12">
<?php
$tab_array = array();
foreach($config['installedpackages']['package'] as $package) {
if(is_array($package['logging'])) {
if(!($logtab = $package['logging']['logtab'])) $logtab = $package['name'];
if($apkg == $package['name']) {
$curtab = $logtab;
$tab_array[] = array(sprintf(gettext("%s"),$logtab), true, "diag_pkglogs.php?pkg=".$package['name']);
} else {
$tab_array[] = array(sprintf(gettext("%s"),$logtab), false, "diag_pkglogs.php?pkg=".$package['name']);
}
}
}
display_top_tabs($tab_array);
?>
<div class="tab-content content-box col-xs-12">
<?php printf(gettext('Last %1$s %2$s log entries'),$nentries,$curtab); ?>
<div class="table-responsive">
<table class="table table-striped table-sort">
<?php
$package =& $config['installedpackages']['package'][$apkgid];
dump_clog($g['varlog_path'] . '/' . $package['logging']['logfilename'], $nentries);
?>
</table>
</div>
</div>
</section>
<?php } ?>
</div>
</div>
</section>
<?php include("foot.inc"); ?>

View File

@ -1,11 +1,7 @@
<?php
/* $Id$ */
/*
diag_resetstate.php
Copyright (C) 2014 Deciso B.V.
Copyright (C) 2004-2009 Scott Ullrich
All rights reserved.
originally part of m0n0wall (http://m0n0.ch/wall)
Copyright (C) 2003-2004 Manuel Kasper <mk@neon1.net>.
All rights reserved.
@ -31,16 +27,6 @@
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_MODULE: filter
*/
##|+PRIV
##|*IDENT=page-diagnostics-resetstate
##|*NAME=Diagnostics: Reset state page
##|*DESCR=Allow access to the 'Diagnostics: Reset state' page.
##|*MATCH=diag_resetstate.php*
##|-PRIV
require("guiconfig.inc");
require_once("filter.inc");

View File

@ -1,8 +1,6 @@
<?php
/* $Id$ */
/*
diag_routes.php
Copyritgh (C) 2014 Deciso B.V.
Copyright (C) 2006 Fernando Lamos
All rights reserved.
@ -29,17 +27,6 @@
*/
/*
pfSense_BUILDER_BINARIES: /usr/bin/netstat
pfSense_MODULE: routing
*/
##|+PRIV
##|*IDENT=page-diagnostics-routingtables
##|*NAME=Diagnostics: Routing tables page
##|*DESCR=Allow access to the 'Diagnostics: Routing tables' page.
##|*MATCH=diag_routes.php*
##|-PRIV
include('guiconfig.inc');
if (isset($_REQUEST['isAjax'])) {

View File

@ -1,12 +1,30 @@
<?php
/*
Part of pfSense
/*
Copyritgh (C) 2014 Deciso B.V.
Copyright (C) 2010 - Jim Pingle
Copyright (C) 2006, Eric Friesen
All rights reserved
Some modifications:
Copyright (C) 2010 - Jim Pingle
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
require("guiconfig.inc");

View File

@ -1,8 +1,6 @@
<?php
/* $Id$ */
/*
diag_sockets.php
Copyright (C) 2014 Deciso B.V.
Copyright (C) 2012
All rights reserved.
@ -29,16 +27,6 @@
*/
/*
pfSense_BUILDER_BINARIES: /usr/bin/sockstat
*/
##|+PRIV
##|*IDENT=page-diagnostics-sockets
##|*NAME=Diagnostics: Sockets page
##|*DESCR=Allow access to the 'Diagnostics: Sockets' page.
##|*MATCH=diag_sockets.php*
##|-PRIV
include('guiconfig.inc');
$pgtitle = array(gettext("Diagnostics"),gettext("Sockets"));

View File

@ -1,9 +1,7 @@
<?php
/*
diag_states_summary.php
Copyright (C) 2014 Deciso B.V.
Copyright (C) 2010-2014 Jim Pingle
Portions borrowed from diag_dump_states.php:
Copyright (C) 2005-2009 Scott Ullrich
Copyright (C) 2005 Colin Smith
All rights reserved.
@ -30,18 +28,6 @@
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_BUILDER_BINARIES: /sbin/pfctl
pfSense_MODULE: filter
*/
##|+PRIV
##|*IDENT=page-diagnostics-statessummary
##|*NAME=Diagnostics: States Summary page
##|*DESCR=Allow access to the 'Diagnostics: States Summary' page.
##|*MATCH=diag_states_summary.php*
##|-PRIV
exec("/sbin/pfctl -s state", $states);
$srcipinfo = array();

View File

@ -1,7 +1,6 @@
<?php
/* $Id$ */
/*
diag_cpu_activity.php
Copyright (C) 2014 Deciso B.V.
Copyright (C) 2008-2009 Scott Ullrich
All rights reserved.
@ -27,18 +26,6 @@
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_BUILDER_BINARIES: /usr/bin/top
pfSense_MODULE: system
*/
##|+PRIV
##|*IDENT=page-diagnostics-system-activity
##|*NAME=Diagnostics: System Activity
##|*DESCR=Allows access to the 'Diagnostics: System Activity' page
##|*MATCH=diag_system_activity.php*
##|-PRIV
require("guiconfig.inc");
$pgtitle = gettext("Diagnostics: System Activity");

View File

@ -1,7 +1,6 @@
<?php
/* $Id$ */
/*
diag_system_pftop.php
Copyright (C) 2014 Deciso B.V.
Copyright (C) 2008-2009 Scott Ullrich
All rights reserved.
@ -27,17 +26,6 @@
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_MODULE: filter
*/
##|+PRIV
##|*IDENT=page-diagnostics-system-pftop
##|*NAME=Diagnostics: pfTop
##|*DESCR=Allows access to the 'Diagnostics: pfTop' page
##|*MATCH=diag_system_pftop.php*
##|-PRIV
require("guiconfig.inc");
$pgtitle = gettext("Diagnostics: pfTop");

View File

@ -1,6 +1,6 @@
<?php
/*
diag_tables.php
Copyright (C) 2014 Deciso B.V.
Copyright (C) 2010 Jim Pingle
Portions borrowed from diag_dump_states.php:
@ -29,18 +29,6 @@
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_BUILDER_BINARIES: /sbin/pfctl
pfSense_MODULE: filter
*/
##|+PRIV
##|*IDENT=page-diagnostics-tables
##|*NAME=Diagnostics: PF Table IP addresses
##|*DESCR=Allow access to the 'Diagnostics: Tables' page.
##|*MATCH=diag_tables.php*
##|-PRIV
$pgtitle = array(gettext("Diagnostics"), gettext("Tables"));
$shortcut_section = "aliases";

View File

@ -1,12 +1,7 @@
<?php
/*
diag_testport.php
Copyritgh (C) 2014 Deciso B.V.
Copyright (C) 2013 Jim P (jimp@pfsense.org)
All rights reserved.
Portions based on diag_ping.php
part of m0n0wall (http://m0n0.ch/wall)
Copyright (C) 2003-2005 Bob Zoller (bob@kludgebox.com) and Manuel Kasper <mk@neon1.net>.
All rights reserved.
@ -32,18 +27,6 @@
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_BUILDER_BINARIES: /usr/bin/nc
pfSense_MODULE: routing
*/
##|+PRIV
##|*IDENT=page-diagnostics-testport
##|*NAME=Diagnostics: Test Port
##|*DESCR=Allow access to the 'Diagnostics: Test Port' page.
##|*MATCH=diag_testport.php*
##|-PRIV
$allowautocomplete = true;
$pgtitle = array(gettext("Diagnostics"), gettext("Test Port"));

View File

@ -1,8 +1,6 @@
<?php
/*
diag_traceroute.php
part of m0n0wall (http://m0n0.ch/wall)
/*
Copyright (C) 2014 Deciso B.V.
Copyright (C) 2005 Paul Taylor (paultaylor@winndixie.com) and Manuel Kasper <mk@neon1.net>.
All rights reserved.
@ -28,18 +26,6 @@
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_BUILDER_BINARIES: /usr/sbin/traceroute
pfSense_MODULE: routing
*/
##|+PRIV
##|*IDENT=page-diagnostics-traceroute
##|*NAME=Diagnostics: Traceroute page
##|*DESCR=Allow access to the 'Diagnostics: Traceroute' page.
##|*MATCH=diag_traceroute.php*
##|-PRIV
require("guiconfig.inc");
$allowautocomplete = true;

View File

@ -1,7 +1,6 @@
<?php
/*
easyrule.php
Copyritgh (C) 2014 Deciso B.V.
Copyright (C) 2009-2010 Jim Pingle (jpingle@gmail.com)
Originally Sponsored By Anathematic @ pfSense Forums
All rights reserved.
@ -27,16 +26,7 @@
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_MODULE: filter
*/
##|+PRIV
##|*IDENT=page-firewall-easyrule
##|*NAME=Firewall: Easy Rule add/status page
##|*DESCR=Allow access to the 'Firewall: Easy Rule' add/status page.
##|*MATCH=easyrule.php*
##|-PRIV
$pgtitle = gettext("Firewall: EasyRule");
require_once("guiconfig.inc");

View File

@ -1,5 +1,4 @@
<?php
/* $Id$ */
/*
Copyright (C) 2014 - Deciso B.V.
Exec+ v1.02-000 - Copyright 2001-2003

View File

@ -78,7 +78,7 @@ function return_ext_menu($section) {
$addresswithport = getenv("HTTP_HOST");
$colonpos = strpos($addresswithport, ":");
if ($colonpos !== False){
//my url is actually just the IP address of the pfsense box
//my url is actually just the IP address of the OPNsense box
$myurl = substr($addresswithport, 0, $colonpos);
} else {
$myurl = $addresswithport;
@ -303,21 +303,21 @@ if (isset($config['system']['developer'])) {
}
$diagnostics_menu = msort(array_merge($diagnostics_menu, return_ext_menu("Diagnostics")),0);
$gold_menu = array();
$gold_menu[] = array(gettext("pfSense Gold"), "https://www.pfsense.org/gold");
$gold_menu = msort(array_merge($gold_menu, return_ext_menu("Gold")),0);
//$gold_menu = array();
//$gold_menu[] = array(gettext("pfSense Gold"), "https://www.pfsense.org/gold");
//$gold_menu = msort(array_merge($gold_menu, return_ext_menu("Gold")),0);
if(! $g['disablehelpmenu']) {
$help_menu = array();
$help_menu[] = array(gettext("About this Page"), $helpurl);
if($g['product_name'] == "pfSense")
$help_menu[] = array(gettext("Bug Database"), "https://www.pfsense.org/j.php?jumpto=redmine");
$help_menu[] = array(gettext("User Forum"), "https://www.pfsense.org/j.php?jumpto=forum");
$help_menu[] = array(gettext("Documentation"), "https://www.pfsense.org/j.php?jumpto=doc");
$help_menu[] = array(gettext("Developers Wiki"), "https://www.pfsense.org/j.php?jumpto=devwiki");
$help_menu[] = array(gettext("Paid Support"), "https://www.pfsense.org/j.php?jumpto=portal");
$help_menu[] = array(gettext("pfSense Book"), "https://www.pfsense.org/j.php?jumpto=book");
$help_menu[] = array(gettext("Search portal"), "https://www.pfsense.org/j.php?jumpto=searchportal");
$help_menu[] = array(gettext("Bug Database"), "https://github.com/opnsense/core/issues");
$help_menu[] = array(gettext("User Forum"), "http://forum.opnsense.org/");
$help_menu[] = array(gettext("Documentation"), "http://wiki.opnsense.org/");
$help_menu[] = array(gettext("Developers Wiki"), "http://wiki.opnsense.org/index.php/developers");
$help_menu[] = array(gettext("Paid Support"), "http://opnsense.org/support-overview/commercial-support/");
//$help_menu[] = array(gettext("pfSense Book"), "https://www.pfsense.org/j.php?jumpto=book");
//$help_menu[] = array(gettext("Search portal"), "https://www.pfsense.org/j.php?jumpto=searchportal");
$help_menu[] = array(gettext("FreeBSD Handbook"), "https://www.pfsense.org/j.php?jumpto=fbsdhandbook");
$help_menu = msort(array_merge($help_menu, return_ext_menu("Help")),0);
}

View File

@ -1,11 +1,7 @@
<?php
/* $Id$ */
/*
firewall_aliases.php
Copyright (C) 2014 Deciso B.V.
Copyright (C) 2004 Scott Ullrich
All rights reserved.
originally part of m0n0wall (http://m0n0.ch/wall)
Copyright (C) 2003-2004 Manuel Kasper <mk@neon1.net>.
All rights reserved.
@ -30,16 +26,6 @@
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_MODULE: aliases
*/
##|+PRIV
##|*IDENT=page-firewall-aliases
##|*NAME=Firewall: Aliases page
##|*DESCR=Allow access to the 'Firewall: Aliases' page.
##|*MATCH=firewall_aliases.php*
##|-PRIV
require("guiconfig.inc");
require_once("functions.inc");

View File

@ -1,13 +1,9 @@
<?php
/* $Id$ */
/*
firewall_aliases_edit.php
Copyright (C) 2014 Deciso B.V.
Copyright (C) 2004 Scott Ullrich
Copyright (C) 2009 Ermal Luçi
Copyright (C) 2010 Jim Pingle
All rights reserved.
originally part of m0n0wall (http://m0n0.ch/wall)
Copyright (C) 2003-2004 Manuel Kasper <mk@neon1.net>.
All rights reserved.

View File

@ -1,7 +1,6 @@
<?php
/* $Id$ */
/*
firewall_aliases_import.php
Copyright (C) 2014 Deciso B.V.
Copyright (C) 2005 Scott Ullrich
All rights reserved.
@ -26,17 +25,6 @@
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_MODULE: filter
*/
##|+PRIV
##|*IDENT=page-firewall-alias-import
##|*NAME=Firewall: Alias: Import page
##|*DESCR=Allow access to the 'Firewall: Alias: Import' page.
##|*MATCH=firewall_aliases_import.php*
##|-PRIV
// Keywords not allowed in names
$reserved_keywords = array("all", "pass", "block", "out", "queue", "max", "min", "pptp", "pppoe", "L2TP", "OpenVPN", "IPsec");

View File

@ -1,7 +1,6 @@
<?php
/* $Id$ */
/*
firewall_nat.php
Copyright (C) 2014 Deciso B.V.
Copyright (C) 2004 Scott Ullrich
All rights reserved.
@ -30,16 +29,6 @@
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_MODULE: nat
*/
##|+PRIV
##|*IDENT=page-firewall-nat-portforward
##|*NAME=Firewall: NAT: Port Forward page
##|*DESCR=Allow access to the 'Firewall: NAT: Port Forward' page.
##|*MATCH=firewall_nat.php*
##|-PRIV
require("guiconfig.inc");
require_once("functions.inc");

View File

@ -1,9 +1,6 @@
<?php
/* $Id$ */
/*
firewall_nat_1to1.php
part of m0n0wall (http://m0n0.ch/wall)
Copyright (C) 2014 Deciso B.V.
Copyright (C) 2003-2004 Manuel Kasper <mk@neon1.net>.
All rights reserved.
@ -28,16 +25,6 @@
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_MODULE: nat
*/
##|+PRIV
##|*IDENT=page-firewall-nat-1-1
##|*NAME=Firewall: NAT: 1:1 page
##|*DESCR=Allow access to the 'Firewall: NAT: 1:1' page.
##|*MATCH=firewall_nat_1to1.php*
##|-PRIV
require("guiconfig.inc");
require_once("functions.inc");

View File

@ -1,9 +1,6 @@
<?php
/* $Id$ */
/*
firewall_nat_1to1_edit.php
part of m0n0wall (http://m0n0.ch/wall)
Copyright (C) 2014 Deciso B.V.
Copyright (C) 2003-2004 Manuel Kasper <mk@neon1.net>.
All rights reserved.
@ -28,16 +25,6 @@
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_MODULE: nat
*/
##|+PRIV
##|*IDENT=page-firewall-nat-1-1-edit
##|*NAME=Firewall: NAT: 1:1: Edit page
##|*DESCR=Allow access to the 'Firewall: NAT: 1:1: Edit' page.
##|*MATCH=firewall_nat_1to1_edit.php*
##|-PRIV
require("guiconfig.inc");
require_once("interfaces.inc");

View File

@ -1,9 +1,6 @@
<?php
/* $Id$ */
/*
firewall_nat_edit.php
part of m0n0wall (http://m0n0.ch/wall)
Copyright (C) 2014 Deciso B.V.
Copyright (C) 2003-2004 Manuel Kasper <mk@neon1.net>.
All rights reserved.
@ -28,16 +25,6 @@
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_MODULE: nat
*/
##|+PRIV
##|*IDENT=page-firewall-nat-portforward-edit
##|*NAME=Firewall: NAT: Port Forward: Edit page
##|*DESCR=Allow access to the 'Firewall: NAT: Port Forward: Edit' page.
##|*MATCH=firewall_nat_edit.php*
##|-PRIV
require("guiconfig.inc");
require_once("itemid.inc");

View File

@ -1,9 +1,6 @@
<?php
/* $Id$ */
/*
firewall_nat_npt.php
part of pfSense (https://www.pfsense.org)
Copyritgh (C) 2014 Deciso B.V.
Copyright (C) 2011 Seth Mos <seth.mos@dds.nl>.
All rights reserved.
@ -28,16 +25,6 @@
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_MODULE: nat
*/
##|+PRIV
##|*IDENT=page-firewall-nat-npt
##|*NAME=Firewall: NAT: NPT page
##|*DESCR=Allow access to the 'Firewall: NAT: NPT' page.
##|*MATCH=firewall_nat_npt.php*
##|-PRIV
require("guiconfig.inc");
require_once("functions.inc");

View File

@ -1,9 +1,6 @@
<?php
/* $Id$ */
/*
firewall_nat_npt_edit.php
part of pfSense (https://www.pfsense.org)
Copyright (C) 2014 Deciso B.V.
Copyright (C) 2011 Seth Mos <seth.mos@dds.nl>.
All rights reserved.
@ -28,16 +25,6 @@
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_MODULE: nat
*/
##|+PRIV
##|*IDENT=page-firewall-nat-npt-edit
##|*NAME=Firewall: NAT: NPt: Edit page
##|*DESCR=Allow access to the 'Firewall: NAT: NPt: Edit' page.
##|*MATCH=firewall_nat_npt_edit.php*
##|-PRIV
function natnptcmp($a, $b) {
return ipcmp($a['external'], $b['external']);

View File

@ -1,11 +1,7 @@
<?php
/* $Id$ */
/*
firewall_nat_out.php
Copyright (C) 2014 Deciso B.V.
Copyright (C) 2004 Scott Ullrich
All rights reserved.
originally part of m0n0wall (http://m0n0.ch/wall)
Copyright (C) 2003-2004 Manuel Kasper <mk@neon1.net>.
All rights reserved.
@ -30,16 +26,6 @@
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_MODULE: nat
*/
##|+PRIV
##|*IDENT=page-firewall-nat-outbound
##|*NAME=Firewall: NAT: Outbound page
##|*DESCR=Allow access to the 'Firewall: NAT: Outbound' page.
##|*MATCH=firewall_nat_out.php*
##|-PRIV
require("guiconfig.inc");
require_once("functions.inc");

View File

@ -1,7 +1,6 @@
<?php
/* $Id$ */
/*
firewall_nat_out_edit.php
Copyright (C) 2014 Deciso B.V.
Copyright (C) 2004 Scott Ullrich
All rights reserved.
@ -30,16 +29,6 @@
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_MODULE: nat
*/
##|+PRIV
##|*IDENT=page-firewall-nat-outbound-edit
##|*NAME=Firewall: NAT: Outbound: Edit page
##|*DESCR=Allow access to the 'Firewall: NAT: Outbound: Edit' page.
##|*MATCH=firewall_nat_out_edit.php*
##|-PRIV
require("guiconfig.inc");
require_once("filter.inc");

View File

@ -1,8 +1,6 @@
<?php
/* $Id$ */
/*
firewall_rules.php
part of pfSense (https://www.pfsense.org)
Copyright (C) 2014 Deciso B.V.
Copyright (C) 2005 Scott Ullrich (sullrich@gmail.com)
originally part of m0n0wall (http://m0n0.ch/wall)
@ -30,16 +28,6 @@
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_MODULE: filter
*/
##|+PRIV
##|*IDENT=page-firewall-rules
##|*NAME=Firewall: Rules page
##|*DESCR=Allow access to the 'Firewall: Rules' page.
##|*MATCH=firewall_rules.php*
##|-PRIV
require("guiconfig.inc");
require_once("functions.inc");

View File

@ -1,7 +1,6 @@
<?php
/* $Id$ */
/*
status_dhcp_leases.php
Copyright (C) 2014 Deciso B.V.
Copyright (C) 2004-2009 Scott Ullrich
All rights reserved.
@ -31,18 +30,6 @@
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_BUILDER_BINARIES: /usr/bin/awk /bin/cat /usr/sbin/arp /usr/bin/wc /usr/bin/grep
pfSense_MODULE: dhcpserver
*/
##|+PRIV
##|*IDENT=page-status-dhcpleases
##|*NAME=Status: DHCP leases page
##|*DESCR=Allow access to the 'Status: DHCP leases' page.
##|*MATCH=status_dhcp_leases.php*
##|-PRIV
require("guiconfig.inc");
require_once("config.inc");

View File

@ -55,17 +55,17 @@ if (count($wolcomputers) > 0) {
$is_active = exec("/usr/sbin/arp -an |/usr/bin/grep {$wolent['mac']}| /usr/bin/wc -l|/usr/bin/awk '{print $1;}'");
if($is_active == 1) {
echo '<td class="listr" align="center">' . "\n";
echo "<img src=\"/themes/" . $g["theme"] . "/images/icons/icon_pass.gif\" alt=\"pass\" /> " . gettext("Online") . "</td>\n";
echo "<span class=\"glyphicon glyphicon-play text-success\" alt=\"pass\" ></span> " . gettext("Online") . "</td>\n";
} else {
echo '<td class="listbg" align="center">' . "\n";
echo "<img src=\"/themes/" . $g["theme"] . "/images/icons/icon_block.gif\" alt=\"block\" />&nbsp;<font color=\"white\">" . gettext("Offline") . "</font></td>\n";
echo "<span class=\"glyphicon glyphicon-remove text-danger\" alt=\"block\" ></span> " . gettext("Offline") . "</td>\n";
}
echo '<td valign="middle" class="list nowrap">';
/*if($is_active) { */
/* Will always show wake-up button even if pfsense thinks it is awake */
/* } else { */
echo "<a href='services_wol.php?mac={$wolent['mac']}&amp;if={$wolent['interface']}'> ";
echo "<img title='" . gettext("Wake Up") . "' border='0' src='./themes/".$g['theme']."/images/icons/icon_wol_all.gif' alt='wol' /></a>\n";
echo "<span class='glyphicon glyphicon-flash' title='" . gettext("Wake Up") . "' border='0' alt='wol' ></span></a>\n";
/* } */
echo "</td></tr>\n";
}

View File

@ -24,7 +24,6 @@
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
pfSense_MODULE: openvpn
*/
require_once("openvpn.inc");

View File

@ -2,8 +2,7 @@
<pfsensewizard>
<copyright>
/*
part of pfSense (https://www.pfsense.org/)
Copyright (C) 2014 Deciso B.V.
Copyright (C) 2010 Ermal Luci
All rights reserved.
@ -402,7 +401,7 @@
<field>
<name>country</name>
<displayname>Country Code</displayname>
<description>Two-letter ISO country code (e.g. US, AU, CA) </description>
<description>Two-letter ISO country code (e.g. NL, DE, FR, US) </description>
<type>input</type>
<size>5</size>
<bindstofield>ovpnserver->step6->country</bindstofield>
@ -410,7 +409,7 @@
<field>
<name>state</name>
<displayname>State or Province</displayname>
<description>Full State of Province name, not abbreviated (e.g. Kentucky, Indiana, Ontario).</description>
<description>Full State of Province name, not abbreviated (e.g. Zuid Holland, Saksen, Paris, Kentucky).</description>
<type>input</type>
<size>30</size>
<bindstofield>ovpnserver->step6->state</bindstofield>
@ -418,7 +417,7 @@
<field>
<name>city</name>
<displayname>City</displayname>
<description>City or other Locality name (e.g. Louisville, Indianapolis, Toronto).</description>
<description>City or other Locality name (e.g. Middelharnis, Leipzig, Île-de-France, Louisville).</description>
<type>input</type>
<size>30</size>
<bindstofield>ovpnserver->step6->city</bindstofield>
@ -533,7 +532,7 @@
<field>
<name>country</name>
<displayname>Country Code</displayname>
<description>Two-letter ISO country code (e.g. US, AU, CA) </description>
<description>Two-letter ISO country code (e.g. NL, DE, FR, US) </description>
<type>input</type>
<size>5</size>
<bindstofield>ovpnserver->step9->country</bindstofield>
@ -541,7 +540,7 @@
<field>
<name>state</name>
<displayname>State or Province</displayname>
<description>Full State of Province name, not abbreviated (e.g. Kentucky, Indiana, Ontario).</description>
<description>Full State of Province name, not abbreviated (e.g. Zuid Holland, Saksen, Paris, Kentucky).</description>
<type>input</type>
<size>30</size>
<bindstofield>ovpnserver->step9->state</bindstofield>
@ -549,7 +548,7 @@
<field>
<name>city</name>
<displayname>City</displayname>
<description>City or other Locality name (e.g. Louisville, Indianapolis, Toronto).</description>
<description>City or other Locality name (e.g. Middelharnis, Leipzig, Île-de-France, Louisville).</description>
<type>input</type>
<size>30</size>
<bindstofield>ovpnserver->step9->city</bindstofield>

View File

@ -1,12 +1,9 @@
<?xml version="1.0" encoding="utf-8" ?>
<pfsensewizard>
<copyright>
/* $Id$ */
/*
setup.xml
part of pfSense (https://www.pfsense.org/)
Copyright (C) 2004, 2005 Scott Ullrich
Copyright (C) 2014 Deciso B.V.
Copyright (C) 2004, 2005 Scott Ullrich
All rights reserved.
Redistribution and use in source and binary forms, with or without
@ -31,12 +28,12 @@
POSSIBILITY OF SUCH DAMAGE.
*/
</copyright>
<totalsteps>10</totalsteps>
<totalsteps>9</totalsteps>
<step>
<id>1</id>
<title>pfSense Setup Wizard</title>
<title>OPNsense Setup Wizard</title>
<disableheader>true</disableheader>
<description>This wizard will guide you through the initial configuration of pfSense.&lt;br/&gt;&lt;br/&gt; The wizard may be stopped at any time by clicking the logo image at the top of the screen.</description>
<description>This wizard will guide you through the initial configuration of OPNsense.&lt;br/&gt;&lt;br/&gt; The wizard may be stopped at any time by clicking the logo image at the top of the screen.</description>
<fields>
<field>
<name>Next</name>
@ -51,20 +48,8 @@
</step>
<step>
<id>2</id>
<title>Bling your pfSense with pfSense Gold</title>
<disableheader>true</disableheader>
<description>Feel the power of a pfSense Gold subscription. Receive special benefits while supporting ongoing development of the Open Source pfSense project.&lt;br/&gt; &lt;br/&gt; Benefits include access to our AutoConfigBackup secure cloud based backup service for up to 10 hosts, pre-publication access to the updated pfSense: The Definitive Guide book in PDF, fully updated for the pfSense 2.1 release, and a monthly online MeetUp! Video conference to discuss and demonstrate advanced features and architectures using pfSense. &lt;br/&gt; &lt;br/&gt; Go to &lt;a href="https://www.pfsense.org/gold" target="_blank"&gt; pfSense Gold Subscriptions&lt;/a&gt; to sign up now &lt;br/&gt; &lt;br/&gt; </description>
<fields>
<field>
<name>Next</name>
<type>submit</type>
</field>
</fields>
</step>
<step>
<id>3</id>
<title>General Information</title>
<description>On this screen you will set the general pfSense parameters.</description>
<description>On this screen you will set the general OPNsense parameters.</description>
<fields>
<field>
<name>Hostname</name>
@ -141,7 +126,7 @@
</stepsubmitphpaction>
</step>
<step>
<id>4</id>
<id>3</id>
<title>Time Server Information</title>
<description>Please enter the time, date and time zone.</description>
<fields>
@ -173,7 +158,7 @@
</stepsubmitphpaction>
</step>
<step>
<id>5</id>
<id>4</id>
<disableallfieldsbydefault>true</disableallfieldsbydefault>
<title>Configure WAN Interface</title>
<description>On this screen we will configure the Wide Area Network information.</description>
@ -501,7 +486,7 @@
</stepsubmitbeforesave>
</step>
<step>
<id>6</id>
<id>5</id>
<title>Configure LAN Interface</title>
<description>On this screen we will configure the Local Area Network information.</description>
<fields>
@ -546,7 +531,7 @@
</stepsubmitphpaction>
</step>
<step>
<id>7</id>
<id>6</id>
<title>Set Admin WebGUI Password</title>
<description>On this screen we will set the admin password, which is used to access the WebGUI and also SSH services if you wish to enable them.</description>
<fields>
@ -578,10 +563,10 @@
</stepsubmitphpaction>
</step>
<step>
<id>8</id>
<id>7</id>
<title>Reload configuration</title>
<disableheader>true</disableheader>
<description>Click 'Reload' to reload pfSense with new changes.</description>
<description>Click 'Reload' to reload OPNsense with new changes.</description>
<fields>
<field>
<name>Reload</name>
@ -590,7 +575,7 @@
</fields>
</step>
<step>
<id>9</id>
<id>8</id>
<title>Reload in progress</title>
<description>
A reload is now in progress. Please wait. &lt;p&gt;
@ -638,7 +623,7 @@
</stepafterformdisplay>
</step>
<step>
<id>10</id>
<id>9</id>
<title>Wizard completed.</title>
<stepbeforeformdisplay>
<![CDATA[
@ -650,10 +635,10 @@
</stepbeforeformdisplay>
<description>
<![CDATA[
Congratulations! pfSense is now configured.<p/>
Congratulations! OPNsense is now configured.<p/>
Please consider donating to the project to help us with our overhead costs.<p/>
Click <a target='_new' href='https://www.pfsense.org/j.php?jumpto=donate'>here</a> to donate or purchase services offered by the pfSense team.<p/>
Click <a href='$myurl'>here</a> to continue on to pfSense webConfigurator.
See <a target='_new' href='https://www.opnsense.org/j.php?jumpto=donate'>OPNsense.org</a> to donate or purchase services offered by the OPNsense team.<p/>
Click <a href='$myurl'>here</a> to continue on to OPNsense webConfigurator.
]]>
</description>
</step>

View File

@ -1,8 +1,6 @@
<?php
/*
traffic_shaper_wizard_dedicated.inc
part of pfSense (https://www.pfsense.org/)
Copyright (C) 2014 Deciso B.V.
Copyright (C) 2006 Bill Marquette - bill.marquette@gmail.com.
Copyright (C) 2006 Scott Ullrich - sullrich@pfsense.com.
Copyright (C) 2008-2010 Ermal Luçi

View File

@ -2,11 +2,9 @@
<pfsensewizard>
<copyright><![CDATA[
/*
traffic_shaper_wizard_dedicated.xml
part of pfSense (https://www.pfsense.org/)
Copyright (C) 2014 Deciso B.V.
Copyright (C) 2005 Bill Marquette - bill.marquette@gmail.com.
Copyright (C) 2008-2010 Ermal Luci
Copyright (C) 2008-2010 Ermal Luci
All rights reserved.
Redistribution and use in source and binary forms, with or without
@ -31,12 +29,12 @@
POSSIBILITY OF SUCH DAMAGE.
*/]]></copyright>
<totalsteps>9</totalsteps>
<totalsteps>8</totalsteps>
<step>
<id>1</id>
<title>pfSense Traffic Shaper Wizard</title>
<title>OPNsense Traffic Shaper Wizard</title>
<disableheader>true</disableheader>
<description>This wizard will guide you through setting up the pfSense traffic shaper.
<description>This wizard will guide you through setting up the OPNsense traffic shaper.
Please be aware that Custom Bandwidths should not exceed 30% of the interface/link bandwidth. Keep this in mind during the wizard.
</description>
<fields>
@ -63,7 +61,7 @@
</step>
<step>
<id>2</id>
<title>pfSense Traffic Shaper Wizard</title>
<title>OPNsense Traffic Shaper Wizard</title>
<description>Shaper configuration</description>
<javascriptafterformdisplay/>
<stepbeforeformdisplay>step2_stepbeforeformdisplay();</stepbeforeformdisplay>
@ -78,7 +76,7 @@
</step>
<step>
<id>3</id>
<title>pfSense Traffic Shaper Wizard</title>
<title>OPNsense Traffic Shaper Wizard</title>
<description>Voice over IP</description>
<fields>
<field>
@ -145,7 +143,7 @@
</step>
<step>
<id>4</id>
<title>pfSense Traffic Shaper Wizard</title>
<title>OPNsense Traffic Shaper Wizard</title>
<description>Penalty Box</description>
<disableallfieldsbydefault>true</disableallfieldsbydefault>
<fields>
@ -223,7 +221,7 @@
</step>
<step>
<id>5</id>
<title>pfSense Traffic Shaper Wizard</title>
<title>OPNsense Traffic Shaper Wizard</title>
<description>Peer to Peer networking</description>
<disableallfieldsbydefault>true</disableallfieldsbydefault>
<fields>
@ -430,7 +428,7 @@
</step>
<step>
<id>6</id>
<title>pfSense Traffic Shaper Wizard</title>
<title>OPNsense Traffic Shaper Wizard</title>
<disableallfieldsbydefault>true</disableallfieldsbydefault>
<description>Network Games</description>
<fields>
@ -752,7 +750,7 @@
</step>
<step>
<id>7</id>
<title>pfSense Traffic Shaper Wizard</title>
<title>OPNsense Traffic Shaper Wizard</title>
<disableallfieldsbydefault>true</disableallfieldsbydefault>
<description>Raise or lower other Applications</description>
<fields>
@ -1610,7 +1608,7 @@
</step>
<step>
<id>8</id>
<title>pfSense Traffic Shaper Wizard</title>
<title>OPNsense Traffic Shaper Wizard</title>
<field>
<name>Reload profile notice</name>
<type>listtopic</type>

View File

@ -1,8 +1,6 @@
<?php
/*
traffic_shaper_wizard_multi_all.inc
part of pfSense (https://www.pfsense.org/)
Copyritgh (C) 2014 Deciso B.V.
Copyright (C) 2006 Bill Marquette - bill.marquette@gmail.com.
Copyright (C) 2006 Scott Ullrich - sullrich@pfsense.com.
Copyright (C) 2008-2010 Ermal Luçi

View File

@ -2,11 +2,9 @@
<pfsensewizard>
<copyright><![CDATA[
/*
traffic_shaper_wizard_multi_all.xml
part of pfSense (https://www.pfsense.org/)
Copyright (C) Deciso B.V.
Copyright (C) 2005 Bill Marquette - bill.marquette@gmail.com.
Copyright (C) 2008-2010 Ermal Luci
Copyright (C) 2008-2010 Ermal Luci
All rights reserved.
Redistribution and use in source and binary forms, with or without
@ -31,12 +29,12 @@
POSSIBILITY OF SUCH DAMAGE.
*/]]></copyright>
<totalsteps>9</totalsteps>
<totalsteps>8</totalsteps>
<step>
<id>1</id>
<title>pfSense Traffic Shaper Wizard</title>
<title>OPNsense Traffic Shaper Wizard</title>
<disableheader>true</disableheader>
<description>This wizard will guide you through setting up the pfSense traffic shaper.
<description>This wizard will guide you through setting up the OPNsense traffic shaper.
Please be aware that Custom Bandwidths should not exceed 30% of the interface/link bandwidth. Keep this in mind during the wizard.
</description>
<fields>
@ -71,7 +69,7 @@
</step>
<step>
<id>2</id>
<title>pfSense Traffic Shaper Wizard</title>
<title>OPNsense Traffic Shaper Wizard</title>
<description>Shaper configuration</description>
<javascriptafterformdisplay/>
<stepbeforeformdisplay>step2_stepbeforeformdisplay();</stepbeforeformdisplay>
@ -86,7 +84,7 @@
</step>
<step>
<id>3</id>
<title>pfSense Traffic Shaper Wizard</title>
<title>OPNsense Traffic Shaper Wizard</title>
<description>Voice over IP</description>
<fields>
<field>
@ -153,7 +151,7 @@
</step>
<step>
<id>4</id>
<title>pfSense Traffic Shaper Wizard</title>
<title>OPNsense Traffic Shaper Wizard</title>
<description>Penalty Box</description>
<disableallfieldsbydefault>true</disableallfieldsbydefault>
<fields>
@ -231,7 +229,7 @@
</step>
<step>
<id>5</id>
<title>pfSense Traffic Shaper Wizard</title>
<title>OPNsense Traffic Shaper Wizard</title>
<description>Peer to Peer networking</description>
<disableallfieldsbydefault>true</disableallfieldsbydefault>
<fields>
@ -438,7 +436,7 @@
</step>
<step>
<id>6</id>
<title>pfSense Traffic Shaper Wizard</title>
<title>OPNsense Traffic Shaper Wizard</title>
<disableallfieldsbydefault>true</disableallfieldsbydefault>
<description>Network Games</description>
<fields>
@ -760,7 +758,7 @@
</step>
<step>
<id>7</id>
<title>pfSense Traffic Shaper Wizard</title>
<title>OPNsense Traffic Shaper Wizard</title>
<disableallfieldsbydefault>true</disableallfieldsbydefault>
<description>Raise or lower other Applications</description>
<fields>
@ -1618,7 +1616,7 @@
</step>
<step>
<id>8</id>
<title>pfSense Traffic Shaper Wizard</title>
<title>OPNsense Traffic Shaper Wizard</title>
<field>
<name>Reload profile notice</name>
<type>listtopic</type>