From 93fca713e69e7b848ab58d5727b62317bbf1b309 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Wed, 31 Dec 2008 20:29:19 +0000 Subject: [PATCH] Add support for MSS correction --- applications/luci-fw/luasrc/i18n/luci-fw.de.lua | 5 +++-- applications/luci-fw/luasrc/i18n/luci-fw.en.lua | 3 ++- applications/luci-fw/luasrc/model/cbi/luci_fw/traffic.lua | 1 + 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/applications/luci-fw/luasrc/i18n/luci-fw.de.lua b/applications/luci-fw/luasrc/i18n/luci-fw.de.lua index 0261d73f0..17651d42c 100644 --- a/applications/luci-fw/luasrc/i18n/luci-fw.de.lua +++ b/applications/luci-fw/luasrc/i18n/luci-fw.de.lua @@ -11,6 +11,7 @@ firewall_rule_desc = 'Mit erweiterten Regeln kann die Firewall an die eigenen Be fw_fw1 = 'Die Firewall erstellt Netzwerkzonen über bestimmte Netzwerkschnittstellen um den Netzverkehr zu trennen.' fw_src = 'Quelle' fw_dest = 'Ziel' +fw_mtufix = 'MSS-Korrektur' fw_traffic = 'Verkehrskontrolle' firewall_rule_src = 'Eingangszone' firewall_rule_dest = 'Ausgangszone' @@ -33,7 +34,7 @@ firewall_redirect_destport = 'Interner Port (optional)' firewall_redirect_destport_desc = 'Port od. Erster-Letzter Port' firewall_redirect_srcip = 'Quelladresse' firewall_redirect_srcmac = 'Quell-MAC-Adresse' -fw_forwarding1 = 'An dieser Stelle kann festgelegt zwischen welchen Zonen Netzverkehr hin und her fließen kann. Es werden nur neue Verbindungen betrachtet. Pakete, die zu bereits bestehenden Verbindungen gehören werden automatisch akzeptiert.' +fw_forwarding1 = 'An dieser Stelle kann festgelegt zwischen welchen Zonen Netzverkehr hin und her fließen kann. Es werden nur neue Verbindungen betrachtet. Pakete, die zu bereits bestehenden Verbindungen gehören werden automatisch akzeptiert. Bei gelegentlich auftretenden Verbindungsproblemen kann eine MSS-Korrektur helfen, ansonsten sollte dies aus Performancegründen deaktiviert bleiben.' firewall_forwarding_src = 'Eingang' firewall_forwarding_dest = 'Ausgang' firewall_defaults = 'Grundeinstellungen' @@ -51,4 +52,4 @@ firewall_zone_forward = 'Weitergeleiteter Verkehr' firewall_zone_forward_desc = 'Standardaktion' firewall_zone_masq = 'MASQ' firewall_zone_network = 'Netzwerke' -firewall_zone_network_desc = 'verbundene Netzwerke' +firewall_zone_network_desc = 'verbundene Netzwerke' \ No newline at end of file diff --git a/applications/luci-fw/luasrc/i18n/luci-fw.en.lua b/applications/luci-fw/luasrc/i18n/luci-fw.en.lua index 800eee4d6..24eeee8c3 100644 --- a/applications/luci-fw/luasrc/i18n/luci-fw.en.lua +++ b/applications/luci-fw/luasrc/i18n/luci-fw.en.lua @@ -22,6 +22,7 @@ fw_reject = 'reject' fw_drop = 'drop' fw_src = 'Source' fw_dest = 'Destination' +fw_mtufix = 'MSS-Correction' fw_traffic = 'Traffic Control' fw_portfw1 = 'Port forwarding allows to provide network services in the internal network to an external network.' firewall_redirect_src_desc = 'External Zone' @@ -33,7 +34,7 @@ firewall_redirect_destip = 'Internal address' firewall_redirect_destip_desc = 'IP-Address' firewall_redirect_destport = 'Internal port (optional)' firewall_redirect_destport_desc = 'port or range as first-last' -fw_forwarding1 = 'Here you can specify which network traffic is allowed to flow between network zones. Only new connections will be matched. Packets belonging to already open connections are automatically allowed to pass the firewall.' +fw_forwarding1 = 'Here you can specify which network traffic is allowed to flow between network zones. Only new connections will be matched. Packets belonging to already open connections are automatically allowed to pass the firewall. If you experience occasional connection problems try enabling MSS-Correction otherwise disable it for performance resons.' firewall_forwarding_src = 'Input' firewall_forwarding_dest = 'Output' firewall_defaults = 'Defaults' diff --git a/applications/luci-fw/luasrc/model/cbi/luci_fw/traffic.lua b/applications/luci-fw/luasrc/model/cbi/luci_fw/traffic.lua index b810f1334..aa2e46d5a 100644 --- a/applications/luci-fw/luasrc/model/cbi/luci_fw/traffic.lua +++ b/applications/luci-fw/luasrc/model/cbi/luci_fw/traffic.lua @@ -21,6 +21,7 @@ s.anonymous = true iface = s:option(ListValue, "src", translate("fw_src")) oface = s:option(ListValue, "dest", translate("fw_dest")) +s:option(Flag, "mtu_fix", translate("fw_mtufix")) luci.model.uci.cursor():foreach("firewall", "zone", function (section) -- 2.25.1