. 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. */ /* pfSense_MODULE: system */ ##|+PRIV ##|*IDENT=page-system-advanced-misc ##|*NAME=System: Advanced: Miscellaneous page ##|*DESCR=Allow access to the 'System: Advanced: Miscellaneous' page. ##|*MATCH=system_advanced.php* ##|-PRIV require("guiconfig.inc"); require_once("functions.inc"); require_once("filter.inc"); require_once("shaper.inc"); $pconfig['harddiskstandby'] = $config['system']['harddiskstandby']; $pconfig['lb_use_sticky'] = isset($config['system']['lb_use_sticky']); $pconfig['preferoldsa_enable'] = isset($config['ipsec']['preferoldsa']); $pconfig['powerd_enable'] = isset($config['system']['powerd_enable']); $pconfig['glxsb_enable'] = isset($config['system']['glxsb_enable']); $pconfig['schedule_states'] = isset($config['system']['schedule_states']); if ($_POST) { unset($input_errors); $pconfig = $_POST; ob_flush(); flush(); if (!$input_errors) { if($_POST['harddiskstandby'] <> "") { $config['system']['harddiskstandby'] = $_POST['harddiskstandby']; system_set_harddisk_standby(); } else unset($config['system']['harddiskstandby']); if($_POST['lb_use_sticky'] == "yes") $config['system']['lb_use_sticky'] = true; else unset($config['system']['lb_use_sticky']); if($_POST['preferoldsa_enable'] == "yes") $config['system']['preferoldsa'] = true; else unset($config['system']['preferoldsa']); if($_POST['powerd_enable'] == "yes") $config['system']['powerd_enable'] = true; else unset($config['system']['powerd_enable']); if($_POST['glxsb_enable'] == "yes") $config['system']['glxsb_enable'] = true; else unset($config['system']['glxsb_enable']); if($_POST['schedule_states'] == "yes") $config['system']['schedule_states'] = true; else unset($config['system']['schedule_states']); write_config(); $retval = 0; $retval = filter_configure(); if(stristr($retval, "error") <> true) $savemsg = get_std_save_message($retval); else $savemsg = $retval; activate_powerd(); load_glxsb(); } } $pgtitle = array("System","Advanced: Miscellaneous"); include("head.inc"); ?>
NOTE:  The options on this page are intended for use by advanced users only.

Load Balancing
Load Balancing /> Use sticky connections
Successive connections will be redirected to the servers in a round-robin manner with connections from the same source being sent to the same web server. This "sticky connection" will exist as long as there are states that refer to this connection. Once the states expire, so will the sticky connection. Further connections from that host will be redirected to the next web server in the round robin.
 
Power savings
PowerD /> Use PowerD

The powerd utility monitors the system state and sets various power control options accordingly. It offers three modes (maximum, minimum, and adaptive) that can be individually selected while on AC power or batteries. The modes maximum, minimum, and adaptive may be abbreviated max, min, adp. Maximum mode chooses the highest performance values. Minimum mode selects the lowest performance values to get the most power savings. Adaptive mode attempts to strike a balance by degrading performance when the system appears idle and increasing it when the system is busy. It offers a good balance between a small performance loss for greatly increased power savings. The default mode for pfSense is adaptive.
 
glxsb Crypto Acceleration
glxsb /> Use glxsb

The AMD Geode LX Security Block will accelerate some cryptographic functions on systems which have the chip. Do not enable this option if you have a Hifn cryptographic acceleration card, as this will take precedence and the Hifn card will not be used. Acceleration should be automatic for IPsec when using Rijndael (AES). OpenVPN should be set for AES-128-CBC.

If you do not have a glxsb chip in your system, this option will have no effect. To unload the module, uncheck this option and then reboot.
 
IP Security
Security Assocications /> Prefer older IPsec SAs
By default, if several SAs match, the newest one is preferred if it's at least 30 seconds old. Select this option to always prefer old SAs over new ones.
 
Schedules
Schedule States />
By default schedules clear the states of existing connections when expiry time has come. This option allows to override this setting by not clearing states for existing connections.
 
Hardware Settings
Hard disk standby time
Puts the hard disk into standby mode when the selected amount of time after the last access has elapsed. Do not set this for CF cards.