summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2010-08-04 23:53:59 -0400
committerChris Buechler <cmb@pfsense.org>2010-08-04 23:53:59 -0400
commitf7ec62f87372966c4954ce90dc58f3f8e4742b1b (patch)
tree0031a2a628f01831326db6362e86801e7baa6275
parent6681fdd3a36119232b3f860ab374b09981c20105 (diff)
downloadpfsense-f7ec62f87372966c4954ce90dc58f3f8e4742b1b.zip
pfsense-f7ec62f87372966c4954ce90dc58f3f8e4742b1b.tar.gz
Fix text, and default to 1400
-rw-r--r--etc/inc/filter.inc2
-rw-r--r--usr/local/www/system_advanced_misc.php8
2 files changed, 5 insertions, 5 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index 9ba50be..063efd6 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -393,7 +393,7 @@ function filter_generate_scrubing() {
$scrubrules = "";
if (isset($config['system']['maxmss_enable'])) {
- $maxmss = 1420;
+ $maxmss = 1400;
if (!empty($config['system']['maxmss']))
$maxmss = $config['system']['maxmss'];
diff --git a/usr/local/www/system_advanced_misc.php b/usr/local/www/system_advanced_misc.php
index 3019780..1bd5cbf 100644
--- a/usr/local/www/system_advanced_misc.php
+++ b/usr/local/www/system_advanced_misc.php
@@ -254,12 +254,12 @@ function maxmss_checked(obj) {
<td width="22%" valign="top" class="vncell"><?=gettext("Maximum MSS"); ?></td>
<td width="78%" class="vtable">
<input name="maxmss_enable" type="checkbox" id="maxmss_enable" value="yes" <?php if ($pconfig['maxmss_enable'] == true) echo "checked"; ?> onClick="maxmss_checked(this)" />
- <strong><?=gettext("Enable enforcing maximum mss on traffic through the IPSec VPN"); ?></strong>
+ <strong><?=gettext("Enable MSS clamping on VPN traffic"); ?></strong>
<br />
- <input name="maxmss" id="maxmss" value="<?php if ($pconfig['maxmss'] <> "") echo $pconfig['maxmss']; else "1420"; ?>" class="formfld unknown" <?php if ($pconfig['maxmss_enable'] == false) echo "disabled"; ?>>
+ <input name="maxmss" id="maxmss" value="<?php if ($pconfig['maxmss'] <> "") echo $pconfig['maxmss']; else "1400"; ?>" class="formfld unknown" <?php if ($pconfig['maxmss_enable'] == false) echo "disabled"; ?>>
<br />
- <?=gettext("Enforce the maximus segment size on TCP flows over IPSec. " .
- "This helps overcome problems with PMTUD on IPSec VPN links."); ?>
+ <?=gettext("Enable MSS clamping on TCP flows over VPN. " .
+ "This helps overcome problems with PMTUD on IPsec VPN links. If left blank, the default value is 1400 bytes. "); ?>
</td>
</tr>
<tr>
OpenPOWER on IntegriCloud