summaryrefslogtreecommitdiffstats
path: root/src/usr
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2016-02-12 17:08:37 -0600
committerChris Buechler <cmb@pfsense.org>2016-02-12 17:08:37 -0600
commit1bff2dc8799f6ff7bc376b77dbaca59a35782512 (patch)
tree8d1946454ff6d735ba133360013b9a7af960b088 /src/usr
parent7f283fab1b18bb575537bb8498b16a6b1b6d0251 (diff)
downloadpfsense-1bff2dc8799f6ff7bc376b77dbaca59a35782512.zip
pfsense-1bff2dc8799f6ff7bc376b77dbaca59a35782512.tar.gz
FreeBSD doesn't yet support TFC, comment out until it does. Ticket #4688
Diffstat (limited to 'src/usr')
-rw-r--r--src/usr/local/www/vpn_ipsec_phase1.php27
1 files changed, 16 insertions, 11 deletions
diff --git a/src/usr/local/www/vpn_ipsec_phase1.php b/src/usr/local/www/vpn_ipsec_phase1.php
index f94587a..035827e 100644
--- a/src/usr/local/www/vpn_ipsec_phase1.php
+++ b/src/usr/local/www/vpn_ipsec_phase1.php
@@ -884,6 +884,9 @@ $section->addInput(new Form_Select(
array('on' => gettext('Enable'), 'off' => gettext('Disable'))
))->setHelp('Set this option to control the use of MOBIKE');
+/* FreeBSD doesn't yet have TFC support. this is ready to go once it does
+https://redmine.pfsense.org/issues/4688
+
$section->addInput(new Form_Checkbox(
'tfc_enable',
'Traffic Flow Confidentiality',
@@ -898,6 +901,8 @@ $section->addInput(new Form_Input(
$pconfig['tfc_bytes']
))->setHelp('Enter the number of bytes to pad ESP data to, or leave blank to fill to MTU size');
+*/
+
$section->addInput(new Form_Checkbox(
'dpd_enable',
'Dead Peer Detection',
@@ -974,14 +979,14 @@ events.push(function() {
hideInput('mode', true);
hideInput('mobike', false);
hideInput('nat_traversal', true);
- hideCheckbox('tfc_enable', false);
+ //hideCheckbox('tfc_enable', false);
hideCheckbox('reauth_enable', false);
} else {
hideInput('mode', false);
hideInput('mobike', true);
hideInput('nat_traversal', false);
- hideCheckbox('tfc_enable', true);
- hideInput('tfc_bytes', true);
+ //hideCheckbox('tfc_enable', true);
+ //hideInput('tfc_bytes', true);
hideCheckbox('reauth_enable', true);
}
}
@@ -1093,11 +1098,11 @@ events.push(function() {
}
}
- function tfcchkbox_change() {
- hide = !$('#tfc_enable').prop('checked');
-
- hideInput('tfc_bytes', hide);
- }
+ //function tfcchkbox_change() {
+ // hide = !$('#tfc_enable').prop('checked');
+ //
+ // hideInput('tfc_bytes', hide);
+ //}
// ---------- Monitor elements for change and call the appropriate display functions ----------
@@ -1107,9 +1112,9 @@ events.push(function() {
});
// TFC
- $('#tfc_enable').click(function () {
- tfcchkbox_change();
- });
+ //$('#tfc_enable').click(function () {
+ // tfcchkbox_change();
+ //});
// Peer identifier
$('#peerid_type').click(function () {
OpenPOWER on IntegriCloud