diff options
Diffstat (limited to 'applications/luci-app-firewall/po/zh_Hans/firewall.po')
-rw-r--r-- | applications/luci-app-firewall/po/zh_Hans/firewall.po | 1012 |
1 files changed, 685 insertions, 327 deletions
diff --git a/applications/luci-app-firewall/po/zh_Hans/firewall.po b/applications/luci-app-firewall/po/zh_Hans/firewall.po index e0cbab328c..bdeeba9f84 100644 --- a/applications/luci-app-firewall/po/zh_Hans/firewall.po +++ b/applications/luci-app-firewall/po/zh_Hans/firewall.po @@ -1,8 +1,8 @@ msgid "" msgstr "" "Project-Id-Version: \n" -"PO-Revision-Date: 2021-07-01 19:13+0000\n" -"Last-Translator: Tianling Shen <i@cnsztl.eu.org>\n" +"PO-Revision-Date: 2023-10-20 13:57+0000\n" +"Last-Translator: Eric <hamburger2048@users.noreply.hosted.weblate.org>\n" "Language-Team: Chinese (Simplified) <https://hosted.weblate.org/projects/" "openwrt/luciapplicationsfirewall/zh_Hans/>\n" "Language: zh_Hans\n" @@ -10,58 +10,66 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: Weblate 4.8-dev\n" +"X-Generator: Weblate 5.1\n" #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:48 msgid "" "%{src?%{dest?Forwarded:Incoming}:Outgoing} %{ipv6?%{ipv4?<var>IPv4</var> and " -"<var>IPv6</var>:<var>IPv6</var>}:<var>IPv4</var>}%{proto?, protocol %{proto#" -"%{next?, }%{item.types?<var class=\"cbi-tooltip-container\">%{item.name}" -"<span class=\"cbi-tooltip\">ICMP with types %{item.types#%{next?, }<var>" -"%{item}</var>}</span></var>:<var>%{item.name}</var>}}}%{mark?, mark <var" -"%{mark.inv? data-tooltip=\"Match fwmarks except %{mark.num}%{mark.mask? with " -"mask %{mark.mask}}.\":%{mark.mask? data-tooltip=\"Mask fwmark value with " -"%{mark.mask} before compare.\"}}>%{mark.val}</var>}%{dscp?, DSCP %{dscp.inv?" -"<var data-tooltip=\"Match DSCP classifications except %{dscp.num?:%{dscp." +"<var>IPv6</var>:<var>IPv6</var>}:<var>IPv4</var>}%{proto?, protocol " +"%{proto#%{next?, }%{item.types?<var class=\"cbi-tooltip-container\">%{item." +"name}<span class=\"cbi-tooltip\">ICMP with types %{item.types#%{next?, }" +"<var>%{item}</var>}</span></var>:<var>%{item.name}</var>}}}%{mark?, mark " +"<var%{mark.inv? data-tooltip=\"Match fwmarks except %{mark.num}%{mark.mask? " +"with mask %{mark.mask}}.\":%{mark.mask? data-tooltip=\"Mask fwmark value " +"with %{mark.mask} before compare.\"}}>%{mark.val}</var>}%{dscp?, DSCP %{dscp." +"inv?<var data-tooltip=\"Match DSCP classifications except %{dscp.num?:%{dscp." "name}}\">%{dscp.val}</var>:<var>%{dscp.val}</var>}}%{helper?, helper " "%{helper.inv?<var data-tooltip=\"Match any helper except "%{helper.name}" ""\">%{helper.val}</var>:<var data-tooltip=\"%{helper.name}\">%{helper." "val}</var>}}" msgstr "" "%{src?%{dest?转发:入站}:出站} %{ipv6?%{ipv4?<var>IPv4</var> and <var>IPv6</" -"var>:<var>IPv6</var>}:<var>IPv4</var>}%{proto?, 协议 %{proto#" -"%{next?, }%{item.types?<var class=\"cbi-tooltip-container\">%{item.name}" -"<span class=\"cbi-tooltip\">具有类型 %{item.types#%{next?, }<var>%{item}</" -"var>} 的 ICMP</span></var>:<var>%{item.name}</var>}}}%{mark?, 标记 <var" -"%{mark.inv? data-tooltip=\"匹配除 %{mark.num}%{mark.mask? 带有掩码 %{mark." -"mask}} 的 fwmarks。\":%{mark.mask? data-tooltip=\"在比较前使用 %{mark.mask} " -"掩盖 fwmark 值。\"}}>%{mark.val}</var>}%{dscp?, DSCP %{dscp.inv?<var data-" -"tooltip=\"匹配除 %{dscp.num?:%{dscp.name}} 以外的 DSCP 类型。\">%{dscp.val}</" -"var>:<var>%{dscp.val}</var>}}%{helper?, 助手 %{helper.inv?<var data-tooltip=" -"\"匹配除 "%{helper.name}" 以外的任意助手。\">%{helper.val}</var>:" -"<var data-tooltip=\"%{helper.name}\">%{helper.val}</var>}}" +"var>:<var>IPv6</var>}:<var>IPv4</var>}%{proto?, 协议 " +"%{proto#%{next?, }%{item.types?<var class=\"cbi-tooltip-container\">%{item." +"name}<span class=\"cbi-tooltip\">具有类型 %{item.types#%{next?, }<var>%{item}" +"</var>} 的 ICMP</span></var>:<var>%{item.name}</var>}}}%{mark?, 标记 " +"<var%{mark.inv? data-tooltip=\"匹配除 %{mark.num}%{mark.mask? 带有掩码 " +"%{mark.mask}} 的 fwmarks。\":%{mark.mask? data-tooltip=\"在比较前使用 %{mark." +"mask} 掩盖 fwmark 值。\"}}>%{mark.val}</var>}%{dscp?, DSCP %{dscp.inv?<var " +"data-tooltip=\"匹配除 %{dscp.num?:%{dscp.name}} 以外的 DSCP 类型。\">%{dscp." +"val}</var>:<var>%{dscp.val}</var>}}%{helper?, 助手 %{helper.inv?<var data-" +"tooltip=\"匹配除 "%{helper.name}" 以外的任意助手。\">%{helper.val}" +"</var>:<var data-tooltip=\"%{helper.name}\">%{helper.val}</var>}}" #: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:461 msgid "-- add IP --" msgstr "-- 添加 IP --" -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:509 +#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:519 msgid "-- add MAC --" msgstr "-- 添加 MAC --" +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:198 +msgid "0" +msgstr "0" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:181 +msgid "1024" +msgstr "1024" + #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:118 msgid "" "<var data-tooltip=\"ACCEPT\">Accept</var> %{src?%{dest?forward:input}:output}" msgstr "<var data-tooltip=\"ACCEPT\">接受</var> %{src?%{dest?转发:入站}:出站}" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:87 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:93 msgid "<var data-tooltip=\"ACCEPT\">Prevent source rewrite</var>" msgstr "<var data-tooltip=\"ACCEPT\">防止重写源</var>" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:81 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:85 msgid "" -"<var data-tooltip=\"DNAT\">Forward</var> to %{dest}%{dest_ip? IP <var>" -"%{dest_ip}</var>}%{dest_port? port <var>%{dest_port}</var>}" +"<var data-tooltip=\"DNAT\">Forward</var> to %{dest}%{dest_ip? IP " +"<var>%{dest_ip}</var>}%{dest_port? port <var>%{dest_port}</var>}" msgstr "" "<var data-tooltip=\"DNAT\">转发</var> 至 %{dest}%{dest_ip? IP <var>%{dest_ip}" "</var>}%{dest_port? 端口 <var>%{dest_port}</var>}" @@ -79,21 +87,21 @@ msgstr "<var data-tooltip=\"DSCP\">分配 DSCP</var> 分类 <var>%{set_dscp}</va #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:127 msgid "" -"<var data-tooltip=\"HELPER\">Assign conntrack</var> helper <var" -"%{helper_name? data-tooltip=\"%{helper_name}\"}>%{set_helper}</var>" +"<var data-tooltip=\"HELPER\">Assign conntrack</var> helper " +"<var%{helper_name? data-tooltip=\"%{helper_name}\"}>%{set_helper}</var>" msgstr "" "<var data-tooltip=\"HELPER\">分配 conntrack</var> 助手 <var%{helper_name? " "data-tooltip=\"%{helper_name}\"}>%{set_helper}</var>" #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:130 msgid "" -"<var data-tooltip=\"MARK\">%{set_mark?Assign:XOR}</var> firewall mark <var>" -"%{set_mark?:%{set_xmark}}</var>" +"<var data-tooltip=\"MARK\">%{set_mark?Assign:XOR}</var> firewall mark " +"<var>%{set_mark?:%{set_xmark}}</var>" msgstr "" -"<var data-tooltip=\"MARK\">%{set_mark?分配:异或}</var> 防火墙标记 <var>" -"%{set_mark?:%{set_xmark}}</var>" +"<var data-tooltip=\"MARK\">%{set_mark?分配:异或}</var> 防火墙标记 " +"<var>%{set_mark?:%{set_xmark}}</var>" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:84 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:90 msgid "<var data-tooltip=\"MASQUERADE\">Automatically rewrite</var> source IP" msgstr "<var data-tooltip=\"MASQUERADE\">自动重写</var> 源 IP" @@ -109,7 +117,7 @@ msgid "" "<var data-tooltip=\"REJECT\">Reject</var> %{src?%{dest?forward:input}:output}" msgstr "<var data-tooltip=\"REJECT\">拒绝</var> %{src?%{dest?转发:入站}:出站}" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:81 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:87 msgid "" "<var data-tooltip=\"SNAT\">Statically rewrite</var> to source %{snat_ip?IP " "<var>%{snat_ip}</var>} %{snat_port?port <var>%{snat_port}</var>}" @@ -117,23 +125,23 @@ msgstr "" "<var data-tooltip=\"SNAT\">静态重写</var> 到源 %{snat_ip?IP <var>%{snat_ip}</" "var>} %{snat_port?端口 <var>%{snat_port}</var>}" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:224 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:302 msgid "A rewrite IP must be specified!" msgstr "必须指定重写 IP!" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:213 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:288 msgid "ACCEPT - Disable address rewriting" msgstr "接受 - 禁用地址重写" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:173 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:220 #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:224 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:377 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:158 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:208 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:410 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:203 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:283 msgid "Action" msgstr "操作" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:289 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:316 msgid "" "Additional raw <em>iptables</em> arguments to classify zone destination " "traffic, e.g. <code>-p tcp --dport 443</code> to only match outbound HTTPS " @@ -142,7 +150,7 @@ msgstr "" "用于对区域目标流量进行分类的额外 <em>iptables</em> 参数。如:<code>-p tcp --" "dport 443</code> 表示仅匹配出站 HTTPS 流量。" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:279 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:306 msgid "" "Additional raw <em>iptables</em> arguments to classify zone source traffic, " "e.g. <code>-p tcp --sport 443</code> to only match inbound HTTPS traffic." @@ -150,33 +158,43 @@ msgstr "" "用于对区域源流量进行分类的额外 <em>iptables</em> 参数。如:<code>-p tcp --" "sport 443</code> 表示仅匹配入站 HTTPS 流量。" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:138 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:107 +msgid "Address family, Internal IP address must match" +msgstr "地址族、内部 IP 族必须相匹配" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:135 +msgid "" +"Address family, source address, destination address, rewrite IP address must " +"match" +msgstr "地址族、源地址、目标地址、重写 IP 地址必须相匹配" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:161 #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:182 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:136 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:106 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:181 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:108 msgid "Advanced Settings" msgstr "高级设置" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:251 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:277 msgid "Allow \"invalid\" traffic" msgstr "允许“无效”流量" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:351 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:379 msgid "Allow forward from <em>source zones</em>:" msgstr "允许来自<em>源区域</em>的转发:" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:310 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:338 msgid "Allow forward to <em>destination zones</em>:" msgstr "允许转发到<em>目标区域</em>:" -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:539 +#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:549 msgid "Any" msgstr "任何" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:443 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:459 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:257 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:273 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:478 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:494 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:348 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:364 msgid "Any day" msgstr "每天" @@ -193,24 +211,29 @@ msgstr "" msgid "Apply the given DSCP class or value to established connections." msgstr "将给定的 DSCP 类或值应用于已建立的连接。" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:405 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:438 msgid "Assign the specified connection tracking helper to matched traffic." msgstr "将指定的连接跟踪助手分配给匹配的流量。" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:254 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:280 msgid "Automatic helper assignment" msgstr "自动助手分配" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:254 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:280 msgid "" "Automatically assign conntrack helpers based on traffic protocol and port" msgstr "根据流量协议和端口自动分配 conntrack 助手" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:107 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:60 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:61 +msgid "Comment" +msgstr "注释" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:109 msgid "Conntrack Settings" msgstr "连接跟踪设置" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:258 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:284 msgid "Conntrack helpers" msgstr "连接跟踪助手" @@ -218,23 +241,27 @@ msgstr "连接跟踪助手" msgid "Contents have been saved." msgstr "内容已保存。" -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:687 +#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:698 msgid "Continue" msgstr "继续" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:221 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:203 +msgid "Counters" +msgstr "计数器" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:225 msgid "Covered devices" msgstr "涵盖的设备" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:173 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:177 msgid "Covered networks" msgstr "涵盖的网络" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:226 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:230 msgid "Covered subnets" msgstr "涵盖的子网" -#: applications/luci-app-firewall/root/usr/share/luci/menu.d/luci-app-firewall.json:54 +#: applications/luci-app-firewall/root/usr/share/luci/menu.d/luci-app-firewall.json:62 msgid "Custom Rules" msgstr "自定义规则" @@ -247,7 +274,7 @@ msgstr "" "自定义规则允许您执行不属于防火墙框架的任意 iptables 命令。每次重启防火墙时," "这些命令在默认的规则运行后立即执行。" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:387 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:420 msgid "DSCP classification" msgstr "DSCP 类别" @@ -259,17 +286,17 @@ msgstr "DSCP 标记" msgid "DSCP mark required" msgstr "需要 DSCP 标记" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:368 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:194 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:401 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:266 msgid "Destination address" msgstr "目标地址" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:370 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:199 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:403 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:274 msgid "Destination port" msgstr "目标端口" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:362 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:395 msgid "Destination zone" msgstr "目标区域" @@ -277,7 +304,7 @@ msgstr "目标区域" msgid "Device name" msgstr "设备名" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:251 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:277 msgid "" "Do not install extra rules to reject forwarded traffic with conntrack state " "<em>invalid</em>. This may be required for complex asymmetric route setups." @@ -285,66 +312,93 @@ msgstr "" "不安装额外的规则以拒绝连接跟踪状态为<em>无效</em>的转发流量。对复杂的非对称路" "由这可能是必需的设置。" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:58 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:59 msgid "Drop invalid packets" msgstr "丢弃无效数据包" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:181 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:228 #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:230 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:164 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:209 msgid "Enable" msgstr "启用" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:248 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:302 msgid "Enable NAT Loopback" msgstr "启用 NAT 环回" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:44 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:45 msgid "Enable SYN-flood protection" msgstr "启用 SYN-flood 防御" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:264 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:290 msgid "Enable logging on this zone" msgstr "启用此区域的日志记录" +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:162 +msgid "" +"Enable network address and port translation IPv4 (NAT4 or NAPT4) for " +"outbound traffic on this zone. This is typically enabled on the <em>wan</em> " +"zone." +msgstr "" +"为此区域的出站流量开启网络地址和端口转换 IPv4 (NAT4 或 NAPT4)。 <em>wan</" +"em>区域通常开启此功能。" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:237 +msgid "" +"Enable network address and port translation IPv6 (NAT6 or NAPT6) for " +"outbound traffic on this zone." +msgstr "为此区域出站流量开启网络地址和端口转换 IPv6 (NAT6 或 NAPT6)。" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:210 +msgid "Enabled" +msgstr "启用" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:204 +msgid "Enables packet and byte count tracking for the set." +msgstr "为该集合开启数据包和字节计数追踪。" + #: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:338 msgid "Expecting: %s" msgstr "请输入:%s" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:76 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:77 msgid "Experimental feature. Not fully compatible with QoS/SQM." msgstr "实验特性。与 QoS/SQM 不完全兼容。" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:258 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:284 msgid "Explicitly choses allowed connection tracking helpers for zone traffic" msgstr "为区域流量明确选择允许的连接跟踪助手" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:215 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:270 msgid "External IP address" msgstr "外部 IP 地址" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:220 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:275 msgid "External port" msgstr "外部端口" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:284 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:435 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:248 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:345 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:469 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:338 msgid "Extra arguments" msgstr "额外参数" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:289 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:316 msgid "Extra destination arguments" msgstr "额外的目标参数" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:108 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:110 msgid "Extra iptables arguments" msgstr "额外的 iptables 参数" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:279 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:306 msgid "Extra source arguments" msgstr "额外的源参数" +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:66 +msgid "Family" +msgstr "族" + #: applications/luci-app-firewall/root/usr/share/luci/menu.d/luci-app-firewall.json:3 msgid "Firewall" msgstr "防火墙" @@ -353,11 +407,15 @@ msgstr "防火墙" msgid "Firewall - Custom Rules" msgstr "防火墙 - 自定义规则" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:127 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:20 +msgid "Firewall - IP sets" +msgstr "防火墙 - IP 集合" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:172 msgid "Firewall - NAT Rules" msgstr "防火墙 - NAT 规则" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:129 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:152 msgid "Firewall - Port Forwards" msgstr "防火墙 - 端口转发" @@ -365,37 +423,41 @@ msgstr "防火墙 - 端口转发" msgid "Firewall - Traffic Rules" msgstr "防火墙 - 通信规则" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:37 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:38 msgid "Firewall - Zone Settings" msgstr "防火墙 - 区域设置" -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:680 +#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:691 msgid "Firewall configuration migration" msgstr "防火墙配置迁移" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:63 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:145 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:64 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:147 msgid "Forward" msgstr "转发" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:30 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:34 msgid "" -"Forwarded IPv4%{proto?, protocol %{proto#%{next?, }<var>%{item.name}</" +"Forwarded %{ipv6?%{ipv4?<var>IPv4</var> and <var>IPv6</var>:<var>IPv6</var>}:" +"<var>IPv4</var>}%{proto?, protocol %{proto#%{next?, }<var>%{item.name}</" "var>}}%{mark?, mark <var%{mark.inv? data-tooltip=\"Match fwmarks except " -"%{mark.num}%{mark.mask? with mask %{mark.mask}}.\":%{mark.mask? data-tooltip=" -"\"Mask fwmark value with %{mark.mask} before compare.\"}}>%{mark.val}</var>}" +"%{mark.num}%{mark.mask? with mask %{mark.mask}}.\":%{mark.mask? data-" +"tooltip=\"Mask fwmark value with %{mark.mask} before compare.\"}}>%{mark.val}" +"</var>}" msgstr "" -"转发的 IPv4%{proto?, 协议 %{proto#%{next?, }<var>%{item.name}</" -"var>}}%{mark?, 标记 <var%{mark.inv? data-tooltip=\"匹配除 %{mark.num}%{mark." -"mask? 带有掩码 %{mark.mask}} 以外的 fwmarks。\":%{mark.mask? data-tooltip=" -"\"在比较前使用 %{mark.mask} 掩盖 fwmark 值。\"}}>%{mark.val}</var>}" +"Forwarded %{ipv6?%{ipv4?<var>IPv4</var> and <var>IPv6</var>:<var>IPv6</var>}:" +"<var>IPv4</var>}%{proto?, protocol %{proto#%{next?, }<var>%{item.name}</" +"var>}}%{mark?, mark <var%{mark.inv? data-tooltip=\"Match fwmarks except " +"%{mark.num}%{mark.mask? with mask %{mark.mask}}.\":%{mark.mask? data-" +"tooltip=\"Mask fwmark value with %{mark.mask} before compare.\"}}>%{mark.val}" +"</var>}" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:449 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:263 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:484 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:354 msgid "Friday" msgstr "星期五" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:39 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:45 msgid "" "From %{src}%{src_device?, interface <var>%{src_device}</var>}%{src_ip?, IP " "%{src_ip#%{next?, }<var%{item.inv? data-tooltip=\"Match IP addresses except " @@ -405,9 +467,9 @@ msgid "" msgstr "" "来自 %{src}%{src_device?, 接口 <var>%{src_device}</var>}%{src_ip?, IP " "%{src_ip#%{next?, }<var%{item.inv? data-tooltip=\"匹配除 %{item.val} 以外的 " -"IP 地址。\"}>%{item.ival}</var>}}%{src_port?, 端口 %{src_port#%{next?, }<var" -"%{item.inv? data-tooltip=\"匹配除 %{item.val} 以外的端口。\"}>%{item.ival}</" -"var>}}" +"IP 地址。\"}>%{item.ival}</var>}}%{src_port?, 端口 %{src_port#%{next?, }" +"<var%{item.inv? data-tooltip=\"匹配除 %{item.val} 以外的端口。\"}>%{item." +"ival}</var>}}" #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:64 msgid "" @@ -422,22 +484,22 @@ msgid "" msgstr "" "来自 %{src}%{src_device?, 接口 <var>%{src_device}</var>}%{src_ip?, IP " "%{src_ip#%{next?, }<var%{item.inv? data-tooltip=\"匹配除 %{item.val} 以外的 " -"IP 地址。\"}>%{item.ival}</var>}}%{src_port?, 端口 %{src_port#%{next?, }<var" -"%{item.inv? data-tooltip=\"匹配除 %{item.val} 以外的端口。\"}>%{item.ival}</" -"var>}}%{src_mac?, MAC %{src_mac#%{next?, }<var%{item.inv? data-tooltip=\"匹配" -"除 %{item.val}%{item.hint.name? 或称为 %{item.hint.name}} 以外的 MAC 地" -"址。\":%{item.hint.name? data-tooltip=\"%{item.hint.name}\"}}>%{item.ival}</" -"var>}}" - -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:48 +"IP 地址。\"}>%{item.ival}</var>}}%{src_port?, 端口 %{src_port#%{next?, }" +"<var%{item.inv? data-tooltip=\"匹配除 %{item.val} 以外的端口。\"}>%{item." +"ival}</var>}}%{src_mac?, MAC %{src_mac#%{next?, }<var%{item.inv? data-" +"tooltip=\"匹配除 %{item.val}%{item.hint.name? 或称为 %{item.hint.name}} 以外" +"的 MAC 地址。\":%{item.hint.name? data-tooltip=\"%{item.hint.name}\"}}" +">%{item.ival}</var>}}" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:52 msgid "" -"From %{src}%{src_ip?, IP %{src_ip#%{next?, }<var%{item.inv? data-tooltip=" -"\"Match IP addresses except %{item.val}.\"}>%{item.ival}</var>}}%{src_port?, " -"port %{src_port#%{next?, }<var%{item.inv? data-tooltip=\"Match ports except " -"%{item.val}.\"}>%{item.ival}</var>}}%{src_mac?, MAC %{src_mac#%{next?, }<var" -"%{item.inv? data-tooltip=\"Match MACs except %{item.val}%{item.hint.name? a." -"k.a. %{item.hint.name}}.\":%{item.hint.name? data-tooltip=\"%{item.hint." -"name}\"}}>%{item.ival}</var>}}" +"From %{src}%{src_ip?, IP %{src_ip#%{next?, }<var%{item.inv? data-" +"tooltip=\"Match IP addresses except %{item.val}.\"}>%{item.ival}</" +"var>}}%{src_port?, port %{src_port#%{next?, }<var%{item.inv? data-" +"tooltip=\"Match ports except %{item.val}.\"}>%{item.ival}</var>}}%{src_mac?, " +"MAC %{src_mac#%{next?, }<var%{item.inv? data-tooltip=\"Match MACs except " +"%{item.val}%{item.hint.name? a.k.a. %{item.hint.name}}.\":%{item.hint.name? " +"data-tooltip=\"%{item.hint.name}\"}}>%{item.ival}</var>}}" msgstr "" "来自 %{src}%{src_ip?, IP %{src_ip#%{next?, }<var%{item.inv? data-tooltip=\"匹" "配除 %{item.val} 以外的 IP 地址。\"}>%{item.ival}</var>}}%{src_port?, 端口 " @@ -447,11 +509,11 @@ msgstr "" "name}} 以外的 MAC 地址。\":%{item.hint.name? data-tooltip=\"%{item.hint." "name}\"}}>%{item.ival}</var>}}" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:137 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:160 #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:181 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:135 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:40 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:105 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:180 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:41 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:107 #: applications/luci-app-firewall/root/usr/share/luci/menu.d/luci-app-firewall.json:17 msgid "General Settings" msgstr "常规设置" @@ -460,22 +522,55 @@ msgstr "常规设置" msgid "Grant access to firewall configuration" msgstr "授予访问防火墙配置的权限" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:87 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:88 msgid "Hardware flow offloading" msgstr "硬件流量分载" +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:143 +msgid "IP (range)" +msgstr "IP (范围)" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:32 +#: applications/luci-app-firewall/root/usr/share/luci/menu.d/luci-app-firewall.json:53 +msgid "IP Sets" +msgstr "IP 集合" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:151 +msgid "IPs/Networks" +msgstr "IP/网络" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:106 +msgid "IPs/Networks/MACs" +msgstr "IP/网络/MAC 地址" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:67 +msgid "IPv4" +msgstr "IPv4" + #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:279 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:232 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:250 msgid "IPv4 and IPv6" msgstr "IPv4 和 IPv6" +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:190 #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:280 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:233 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:218 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:251 msgid "IPv4 only" msgstr "仅 IPv4" +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:68 +msgid "IPv6" +msgstr "IPv6" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:236 +msgid "IPv6 Masquerading" +msgstr "IPv6 伪装" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:191 #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:281 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:234 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:219 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:252 msgid "IPv6 only" msgstr "仅 IPv6" @@ -483,42 +578,52 @@ msgstr "仅 IPv6" msgid "Inbound device" msgstr "入站设备" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:38 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:186 +msgid "Include File" +msgstr "包括文件" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:40 msgid "" -"Incoming IPv4%{proto?, protocol %{proto#%{next?, }%{item.types?<var class=" -"\"cbi-tooltip-container\">%{item.name}<span class=\"cbi-tooltip\">ICMP with " -"types %{item.types#%{next?, }<var>%{item}</var>}</span></var>:<var>%{item." -"name}</var>}}}%{mark?, mark <var%{mark.inv? data-tooltip=\"Match fwmarks " -"except %{mark.num}%{mark.mask? with mask %{mark.mask}}.\":%{mark.mask? data-" -"tooltip=\"Mask fwmark value with %{mark.mask} before compare.\"}}>%{mark.val}" -"</var>}%{helper?, helper %{helper.inv?<var data-tooltip=\"Match any helper " -"except "%{helper.name}"\">%{helper.val}</var>:<var data-tooltip=" -"\"%{helper.name}\">%{helper.val}</var>}}" +"Incoming %{ipv6?%{ipv4?<var>IPv4</var> and <var>IPv6</var>:<var>IPv6</var>}:" +"<var>IPv4</var>}%{proto?, protocol %{proto#%{next?, }%{item.types?<var " +"class=\"cbi-tooltip-container\">%{item.name}<span class=\"cbi-tooltip\">ICMP " +"with types %{item.types#%{next?, }<var>%{item}</var>}</span></var>:" +"<var>%{item.name}</var>}}}%{mark?, mark <var%{mark.inv? data-tooltip=\"Match " +"fwmarks except %{mark.num}%{mark.mask? with mask %{mark.mask}}.\":%{mark." +"mask? data-tooltip=\"Mask fwmark value with %{mark.mask} before compare.\"}}" +">%{mark.val}</var>}%{helper?, helper %{helper.inv?<var data-tooltip=\"Match " +"any helper except "%{helper.name}"\">%{helper.val}</var>:<var data-" +"tooltip=\"%{helper.name}\">%{helper.val}</var>}}" msgstr "" -"入站 IPv4%{proto?, 协议 %{proto#%{next?, }%{item.types?<var class=\"cbi-" -"tooltip-container\">%{item.name}<span class=\"cbi-tooltip\">具有类型 %{item." -"types#%{next?, }<var>%{item}</var>} 的 ICMP</span></var>:<var>%{item.name}</" -"var>}}}%{mark?, 标记 <var%{mark.inv? data-tooltip=\"匹配除 %{mark.num}%{mark." -"mask? 带有掩码 %{mark.mask}} 的 fwmarks。\":%{mark.mask? data-tooltip=\"在比" -"较前使用 %{mark.mask} 掩盖 fwmark 值。\"}}>%{mark.val}</var>}%{helper?, 助手 " -"%{helper.inv?<var data-tooltip=\"匹配除 "%{helper.name}" 以外的任意" -"助手。\">%{helper.val}</var>:<var data-tooltip=\"%{helper.name}\">%{helper." -"val}</var>}}" +"Incoming %{ipv6?%{ipv4?<var>IPv4</var> and <var>IPv6</var>:<var>IPv6</var>}:" +"<var>IPv4</var>}%{proto?, protocol %{proto#%{next?, }%{item.types?<var " +"class=\"cbi-tooltip-container\">%{item.name}<span class=\"cbi-tooltip\">ICMP " +"with types %{item.types#%{next?, }<var>%{item}</var>}</span></var>:" +"<var>%{item.name}</var>}}}%{mark?, mark <var%{mark.inv? data-tooltip=\"Match " +"fwmarks except %{mark.num}%{mark.mask? with mask %{mark.mask}}.\":%{mark." +"mask? data-tooltip=\"Mask fwmark value with %{mark.mask} before compare.\"}}" +">%{mark.val}</var>}%{helper?, helper %{helper.inv?<var data-tooltip=\"Match " +"any helper except "%{helper.name}"\">%{helper.val}</var>:<var data-" +"tooltip=\"%{helper.name}\">%{helper.val}</var>}}" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:179 +msgid "Initial Hash Size" +msgstr "初始哈希大小" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:61 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:143 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:62 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:145 msgid "Input" msgstr "入站数据" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:234 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:288 msgid "Internal IP address" msgstr "内部 IP 地址" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:239 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:293 msgid "Internal port" msgstr "内部端口" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:228 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:283 msgid "Internal zone" msgstr "内部区域" @@ -530,11 +635,15 @@ msgstr "无效的 DSCP 标记" msgid "Invalid limit value" msgstr "无效的限制值" +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:46 +msgid "Invalid set name" +msgstr "无效的集合名" + #: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:382 msgid "Limit burst" msgstr "限制突发" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:267 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:293 msgid "Limit log messages" msgstr "限制日志信息" @@ -542,9 +651,9 @@ msgstr "限制日志信息" msgid "Limit matching" msgstr "限制匹配" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:75 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:79 #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:96 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:68 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:74 msgid "" "Limit matching to <var>%{limit.num}</var> packets per <var>%{limit.unit}</" "var>%{limit.burst? burst <var>%{limit.burst}</var>}" @@ -552,7 +661,8 @@ msgstr "" "限制匹配到 <var>%{limit.num}</var> 包每 <var>%{limit.unit}</var>%{limit." "burst? 突发 <var>%{limit.burst}</var>}" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:165 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:169 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:244 msgid "Limited masquerading enabled" msgstr "已启用有限伪装" @@ -560,25 +670,25 @@ msgstr "已启用有限伪装" msgid "Limits traffic matching to the specified rate." msgstr "将流量匹配限制为指定的速率。" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:253 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:307 msgid "Loopback source IP" msgstr "环回源 IP" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:212 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:287 msgid "MASQUERADE - Automatically rewrite to outbound interface IP" msgstr "MASQUERADE - 自动重写源地址为出站接口 IP" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:170 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:174 msgid "MSS clamping" msgstr "MSS 钳制" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:159 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:161 msgid "Masquerading" msgstr "IP 动态伪装" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:162 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:209 #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:213 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:147 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:192 msgid "Match" msgstr "匹配规则" @@ -594,30 +704,30 @@ msgstr "匹配 ICMP 类型" msgid "Match device" msgstr "匹配设备" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:195 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:267 msgid "Match forwarded traffic directed at the given IP address." msgstr "匹配指向给定 IP 地址的转发流量。" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:200 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:275 msgid "" "Match forwarded traffic directed at the given destination port or port range." msgstr "匹配指向给定目标端口或端口范围的转发流量。" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:181 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:250 msgid "Match forwarded traffic from this IP or range." msgstr "匹配来自此 IP 或范围的转发流量。" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:186 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:258 msgid "" "Match forwarded traffic originating from the given source port or port range." msgstr "匹配来自给定源端口或端口范围的转发流量。" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:262 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:412 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:322 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:445 msgid "Match helper" msgstr "匹配助手" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:221 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:276 msgid "" "Match incoming traffic directed at the given destination port or port range " "on this host" @@ -627,8 +737,8 @@ msgstr "匹配指向此主机上指定目标端口或目标端口范围的入站 msgid "Match mark" msgstr "匹配标记" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:262 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:412 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:322 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:445 msgid "Match traffic using the specified connection tracking helper." msgstr "使用指定的连接跟踪助手匹配流量。" @@ -636,87 +746,117 @@ msgstr "使用指定的连接跟踪助手匹配流量。" msgid "Matches a specific firewall mark or a range of different marks." msgstr "匹配特定的防火墙标记或防火墙标记范围。" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:239 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:328 msgid "Matches forwarded traffic using the specified outbound network device." -msgstr "使用指定的出站网络设备匹配转发的流量。" +msgstr "匹配使用指定的出站网络设备转发的流量。" #: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:263 msgid "Matches traffic carrying the specified DSCP marking." msgstr "匹配承载指定 DSCP 标记的流量。" +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:112 +msgid "Max Entries" +msgstr "最大条目数" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:171 +msgid "Max Length" +msgstr "最大长度" + #: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:383 msgid "" "Maximum initial number of packets to match: this number gets recharged by " "one every time the limit specified above is not reached, up to this number." msgstr "要匹配的最大初始数据包数:未达到上述指定限制时,每次加一直到达到此数。" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:445 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:259 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:480 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:350 msgid "Monday" msgstr "星期一" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:455 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:269 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:490 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:360 msgid "Month Days" msgstr "日期" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:130 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:175 #: applications/luci-app-firewall/root/usr/share/luci/menu.d/luci-app-firewall.json:44 msgid "NAT Rules" msgstr "NAT 规则" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:128 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:173 msgid "" "NAT rules allow fine grained control over the source IP to use for outbound " "or forwarded traffic." msgstr "NAT 规则允许对源 IP 进行精细控制,以用于出站或转发流量。" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:158 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:182 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:41 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:51 #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:209 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:143 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:121 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:188 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:123 msgid "Name" msgstr "名称" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:216 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:165 +msgid "Netmask" +msgstr "网络掩码" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:271 msgid "Only match incoming traffic directed at the given IP address." msgstr "仅匹配指定目的 IP 地址的入站流量。" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:197 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:252 msgid "Only match incoming traffic from these MACs." msgstr "仅匹配来自这些 MAC 的入站流量。" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:202 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:257 msgid "Only match incoming traffic from this IP or range." msgstr "仅匹配来自此 IP 或 IP 范围的入站流量。" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:207 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:262 msgid "" "Only match incoming traffic originating from the given source port or port " "range on the client host" msgstr "仅匹配源自客户端主机上给定源端口或源端口范围的入站流量" #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:252 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:238 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:327 msgid "Outbound device" msgstr "出站设备" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:173 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:242 msgid "Outbound zone" msgstr "出站区域" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:62 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:144 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:63 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:146 msgid "Output" msgstr "出站数据" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:285 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:436 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:249 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:74 +msgid "Packet Field Match" +msgstr "数据包字段匹配" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:75 +msgid "" +"Packet fields to match upon.<br />Syntax: <em>direction_datatype</em>. e.g.: " +"<code>src_port, dest_net</code>.<br />Directions: <code>src, dst</code>. " +"Datatypes: <code>ip, port, mac, net, set</code>.<br />Direction prefixes are " +"optional.<br />*Note: datatype <code>set</code> is unsupported in fw4." +msgstr "" +"要进行匹配的数据包字段。<br />语法:<em>direction_datatype</em>。如:" +"<code>src_port, dest_net</code>。<br />方向:<code>src, dst</code>。数据类" +"型:<code>ip, port, mac, net, set</code>。<br />方向前缀可选。<br />*注意:" +"datatype<code>set</code>在 fw4 中不受支持。" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:346 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:470 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:339 msgid "Passes additional arguments to iptables. Use with care!" msgstr "传递到 iptables 的额外参数。小心使用!" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:276 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:303 msgid "" "Passing raw iptables arguments to source and destination traffic " "classification rules allows to match packets based on other criteria than " @@ -728,75 +868,93 @@ msgstr "" "他条件来匹配数据包。使用这些选项应格外小心,因为无效值可能会破坏防火墙规则集" "而对外暴露所有服务。" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:132 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:187 +msgid "Path to file of CIDRs, subnets, host IPs, etc.<br />" +msgstr "CIDRs、subnets、host IP 等文件的路径。<br />" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:155 #: applications/luci-app-firewall/root/usr/share/luci/menu.d/luci-app-firewall.json:26 msgid "Port Forwards" msgstr "端口转发" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:130 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:153 msgid "" "Port forwarding allows remote computers on the Internet to connect to a " "specific computer or service within the private LAN." msgstr "端口转发允许互联网上的远程计算机连接到内部网络中的特定计算机或服务。" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:186 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:157 +msgid "Port range" +msgstr "端口范围" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:233 #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:288 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:169 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:238 msgid "Protocol" msgstr "协议" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:240 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:294 msgid "" "Redirect matched incoming traffic to the given port on the internal host" msgstr "重定向匹配的入站流量到内部主机的端口" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:235 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:289 msgid "Redirect matched incoming traffic to the specified internal host" msgstr "重定向匹配的入站流量到指定的内部主机" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:88 -msgid "Requires hardware NAT support. Implemented at least for mt7621" -msgstr "需要硬件 NAT 支持。目前 mt7621 已实现" +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:121 +msgid "Refer To External Set" +msgstr "参考外部集合" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:244 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:316 +msgid "Reflection zones" +msgstr "反射区" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:89 +msgid "Requires hardware NAT support." +msgstr "需要硬件 NAT 支持。" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:266 msgid "Restrict Masquerading to given destination subnets" msgstr "要限制 IP 动态伪装的目标子网" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:237 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:255 msgid "Restrict Masquerading to given source subnets" msgstr "要限制 IP 动态伪装的源子网" +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:187 #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:276 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:231 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:215 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:249 msgid "Restrict to address family" -msgstr "限制地址类型" +msgstr "地址族限制" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:215 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:293 msgid "Rewrite IP address" msgstr "重写 IP 地址" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:216 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:294 msgid "Rewrite matched traffic to the specified source IP address." msgstr "将匹配的流量重写到指定的源 IP 地址。" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:230 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:308 msgid "Rewrite matched traffic to the specified source port or port range." msgstr "将匹配的流量重写到指定的源端口或端口范围。" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:229 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:307 msgid "Rewrite port" msgstr "重写端口" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:75 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:76 msgid "Routing/NAT Offloading" msgstr "路由/NAT 分载" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:211 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:286 msgid "SNAT - Rewrite to specific source IP or port" msgstr "SNAT - 重写为特定的源 IP 或端口" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:450 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:264 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:485 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:355 msgid "Saturday" msgstr "星期六" @@ -812,36 +970,36 @@ msgstr "" "在已建立的连接上设置给定的标记值。格式为:值[/掩码]。如果指定了掩码,则仅修改" "掩码中设置的位。" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:83 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:84 msgid "Software based offloading for routing/NAT" msgstr "基于软件的 路由/NAT 分载" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:82 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:83 msgid "Software flow offloading" msgstr "软件流量分载" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:201 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:256 msgid "Source IP address" msgstr "源 IP 地址" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:196 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:352 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:251 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:385 msgid "Source MAC address" msgstr "源 MAC 地址" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:353 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:180 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:386 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:249 msgid "Source address" msgstr "源地址" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:206 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:355 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:185 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:261 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:388 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:257 msgid "Source port" msgstr "源端口" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:190 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:346 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:237 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:371 msgid "Source zone" msgstr "源区域" @@ -851,51 +1009,55 @@ msgid "" "network device." msgstr "指定是否将此流量规则绑定到特定的入站或出站网络设备。" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:253 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:307 msgid "" "Specifies whether to use the external or the internal IP address for " "reflected traffic." msgstr "指定反射流量使用外部或内部 IP 地址。" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:474 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:288 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:509 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:379 msgid "Start Date (yyyy-mm-dd)" msgstr "开始日期(yyyy-mm-dd)" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:466 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:280 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:501 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:371 msgid "Start Time (hh:mm:ss)" msgstr "开始时间(hh:mm:ss)" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:478 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:292 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:513 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:383 msgid "Stop Date (yyyy-mm-dd)" msgstr "停止日期(yyyy-mm-dd)" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:470 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:284 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:505 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:375 msgid "Stop Time (hh:mm:ss)" msgstr "停止时间(hh:mm:ss)" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:444 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:258 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:129 +msgid "Storage Method" +msgstr "存储方式" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:479 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:349 msgid "Sunday" msgstr "星期日" -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:681 +#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:692 msgid "" "The existing firewall configuration needs to be changed for LuCI to function " "properly." msgstr "需要更改现有的防火墙配置,以使 LuCI 正常运行。" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:38 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:39 msgid "" "The firewall creates zones over your network interfaces to control network " "traffic flow." msgstr "防火墙通过在网络接口上创建区域来控制网络流量。" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:217 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:306 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:221 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:334 msgid "" "The options below control the forwarding policies between this zone (%s) and " "other zones. <em>Destination zones</em> cover forwarded traffic " @@ -909,7 +1071,7 @@ msgstr "" "%q</strong> 的其它区域。转发规则的作用是<em>单向</em>的,例如:转发从 lan 到 " "wan 的流量并<em>不</em>意味着允许反向转发从 wan 到 lan 的流量。" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:117 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:119 msgid "" "This section defines common properties of %q. The <em>input</em> and " "<em>output</em> options set the default policies for traffic entering and " @@ -921,25 +1083,29 @@ msgstr "" "域入站和出站流量的默认策略,<em>转发</em>选项描述该区域内不同网络之间的流量转" "发策略。<em>涵盖的网络</em>指定从属于这个区域的网络。" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:448 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:262 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:483 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:353 msgid "Thursday" msgstr "星期四" #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:183 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:137 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:182 msgid "Time Restrictions" msgstr "时间限制" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:482 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:296 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:517 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:387 msgid "Time in UTC" msgstr "UTC 时间" #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:243 -msgid "Time restritions are enabled for this rule" +msgid "Time restrictions are enabled for this rule" msgstr "对该规则启用了时间限制" +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:195 +msgid "Timeout" +msgstr "超时" + #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:77 msgid "" "To %{dest}%{dest_device?, interface <var>%{dest_device}</var>}%{dest_ip?, IP " @@ -954,7 +1120,7 @@ msgstr "" "<var%{item.inv? data-tooltip=\"匹配除 %{item.val} 以外的端口。\"}>%{item." "ival}</var>}}" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:49 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:55 msgid "" "To %{dest}%{dest_device?, via interface <var>%{dest_device}</" "var>}%{dest_ip?, IP %{dest_ip#%{next?, }<var%{item.inv? data-tooltip=\"Match " @@ -968,19 +1134,19 @@ msgstr "" "<var%{item.inv? data-tooltip=\"匹配除 %{item.val} 以外的端口。\"}>%{item." "ival}</var>}}" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:57 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:61 msgid "" -"To %{dest}%{dest_ip?, IP %{dest_ip#%{next?, }<var%{item.inv? data-tooltip=" -"\"Match IP addresses except %{item.val}.\"}>%{item.ival}</" -"var>}}%{dest_port?, port %{dest_port#%{next?, }<var%{item.inv? data-tooltip=" -"\"Match ports except %{item.val}.\"}>%{item.ival}</var>}}" +"To %{dest}%{dest_ip?, IP %{dest_ip#%{next?, }<var%{item.inv? data-" +"tooltip=\"Match IP addresses except %{item.val}.\"}>%{item.ival}</" +"var>}}%{dest_port?, port %{dest_port#%{next?, }<var%{item.inv? data-" +"tooltip=\"Match ports except %{item.val}.\"}>%{item.ival}</var>}}" msgstr "" -"到 %{dest}%{dest_ip?, IP %{dest_ip#%{next?, }<var%{item.inv? data-tooltip=" -"\"匹配除 %{item.val} 以外的 IP 地址。\"}>%{item.ival}</var>}}%{dest_port?, 端" -"口 %{dest_port#%{next?, }<var%{item.inv? data-tooltip=\"匹配除 %{item.val} 以" -"外的端口。\"}>%{item.ival}</var>}}" +"到 %{dest}%{dest_ip?, IP %{dest_ip#%{next?, }<var%{item.inv? data-" +"tooltip=\"匹配除 %{item.val} 以外的 IP 地址。\"}>%{item.ival}</" +"var>}}%{dest_port?, 端口 %{dest_port#%{next?, }<var%{item.inv? data-" +"tooltip=\"匹配除 %{item.val} 以外的端口。\"}>%{item.ival}</var>}}" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:405 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:438 msgid "Tracking helper" msgstr "跟踪助手" @@ -998,8 +1164,8 @@ msgstr "" "通信规则定义了不同区域间的数据包传输策略,例如:拒绝一些主机之间的通信、开放" "路由器 WAN 上的端口。" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:446 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:260 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:481 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:351 msgid "Tuesday" msgstr "星期二" @@ -1007,18 +1173,26 @@ msgstr "星期二" msgid "Unable to save contents: %s" msgstr "无法保存内容:%s" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:277 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:427 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:196 +msgid "" +"Unit: seconds. Default <code>0</code> means the entry is added permanently " +"to the set.<br />Max: 2147483 seconds." +msgstr "" +"单位:秒。默认值<code>0</code>表示该条目被永久添加到该集合。<br />最大值:" +"2147483 秒。" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:337 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:460 msgid "Unknown or not installed conntrack helper \"%s\"" msgstr "未知或未安装的连接跟踪助手 \"%s\"" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:140 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:144 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:185 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:189 msgid "Unnamed NAT" msgstr "未命名 NAT" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:145 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:159 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:168 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:183 msgid "Unnamed forward" msgstr "未命名转发" @@ -1027,15 +1201,19 @@ msgstr "未命名转发" msgid "Unnamed rule" msgstr "未命名规则" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:122 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:56 +msgid "Unnamed set" +msgstr "未命名的集合" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:124 msgid "Unnamed zone" msgstr "未命名区域" -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:585 +#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:595 msgid "Unrecognized protocol" msgstr "无法识别的协议" -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:682 +#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:693 msgid "" "Upon pressing \"Continue\", \"redirect\" sections with target \"SNAT\" will " "be converted to \"nat\" sections and the firewall will be restarted to apply " @@ -1044,21 +1222,27 @@ msgstr "" "按下“继续”后,目标“SNAT”的“redirect”部分将转换为“nat”部分,防火墙将重新启动以" "应用更新的配置。" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:257 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:311 msgid "Use external IP address" msgstr "使用外部 IP 地址" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:256 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:310 msgid "Use internal IP address" msgstr "使用内部 IP 地址" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:221 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:243 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:377 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:318 +msgid "Use ipset" +msgstr "使用 ip 集" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:225 msgid "" "Use this option to classify zone traffic by raw, non-<em>uci</em> managed " "network devices." msgstr "此选项可对原始的、非 <em>uci</em> 托管的网络设备进行区域流量分类。" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:226 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:230 msgid "" "Use this option to classify zone traffic by source or destination subnet " "instead of networks or devices." @@ -1068,17 +1252,17 @@ msgstr "此选项可对源或目标子网而非网络或设备进行区域流量 msgid "Valid firewall mark required" msgstr "需要有效的防火墙标记" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:447 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:261 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:482 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:352 msgid "Wednesday" msgstr "星期三" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:439 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:253 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:474 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:344 msgid "Week Days" msgstr "星期" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:386 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:419 msgid "XOR firewall mark" msgstr "异或防火墙标记" @@ -1086,109 +1270,236 @@ msgstr "异或防火墙标记" msgid "XOR mark" msgstr "异或标记" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:135 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:28 +msgid "Your device does not run firewall4." +msgstr "你的设备不运行 firewall4。" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:26 +msgid "Your device runs firewall4." +msgstr "你的设备运行 firewall4。" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:137 msgid "Zone ⇒ Forwardings" msgstr "区域 ⇒ 转发" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:94 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:95 msgid "Zones" msgstr "区域" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:381 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:69 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:151 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:316 +msgid "" +"Zones from which reflection rules shall be created. If unset, only the " +"destination zone is used." +msgstr "应从中创建反射规则的区域。若未设置,将仅使用目标区域。" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:414 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:70 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:153 msgid "accept" msgstr "接受" #: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:267 #: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:461 -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:483 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:211 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:243 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:264 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:297 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:358 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:373 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:407 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:414 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:190 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:203 +#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:484 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:266 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:297 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:324 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:391 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:406 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:440 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:447 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:262 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:278 msgid "any" msgstr "任意" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:49 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:82 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:53 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:86 #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:65 #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:78 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:40 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:50 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:46 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:56 msgid "any zone" msgstr "所有区域" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:385 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:297 +msgid "any/all" +msgstr "任意/全部" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:418 msgid "apply firewall mark" msgstr "应用防火墙标记" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:384 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:417 msgid "assign conntrack helper" msgstr "分配连接跟踪助手" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:68 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:192 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:220 +msgid "automatic" +msgstr "自动" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:130 +msgid "bitmap" +msgstr "bitmap" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:136 +msgid "bitmap is ipv4 only" +msgstr "bitmap 仅支持 ipv4" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:72 #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:89 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:61 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:67 msgid "day" msgstr "日" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:233 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:92 +msgid "dest_ip: Destination IP" +msgstr "dest_ip: 目标 IP" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:94 +msgid "dest_mac: Destination MAC addr" +msgstr "dest_mac: 目标 MAC 地址" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:95 +msgid "dest_net: Destination (sub)net" +msgstr "dest_net: 目标 (子)网" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:93 +msgid "dest_port: Destination Port" +msgstr "dest_port: 目标端口" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:97 +msgid "dest_set: Destination ipset*" +msgstr "dest_set: 目标 ip集*" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:311 msgid "do not rewrite" msgstr "不重写" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:383 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:416 msgid "don't track" msgstr "不跟踪" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:380 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:68 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:150 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:413 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:69 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:152 msgid "drop" msgstr "丢弃" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:68 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:21 +msgid "" +"firewall4 supports referencing and creating IP sets to simplify matching of " +"large address lists without the need to create one rule per item to match. " +"Port ranges in ipsets are unsupported by firewall4.<br />" +msgstr "" +"firewall4 支持引用和创建 IP 集合,这样就无需为每个条目创建一条规则进行匹配," +"达到简化大型地址列表匹配的目的。firewall4 不支持 ip 集合中的 端口范围。<br />" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:158 +msgid "fromport-toport" +msgstr "fromport-toport" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:131 +msgid "hash" +msgstr "哈希" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:72 #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:89 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:61 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:67 msgid "hour" msgstr "小时" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:68 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:80 +msgid "ip: IP addr" +msgstr "ip: IP 地址" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:152 +msgid "ip[/cidr]<br />" +msgstr "ip[/cidr]<br />" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:144 +msgid "ip[/cidr]<br />For use with Match datatypes: <code>*_ip</code>." +msgstr "ip[/cidr]<br />用于 Match 数据类型: <code>*_ip</code>。" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:69 +msgid "ipv4" +msgstr "ipv4" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:132 +msgid "list" +msgstr "列表" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:82 +msgid "mac: MAC addr" +msgstr "mac: MAC 地址" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:107 +msgid "macaddr|ip[/cidr]<br />" +msgstr "macaddr|ip[/cidr]<br />" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:72 #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:89 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:61 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:67 msgid "minute" msgstr "分钟" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:382 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:67 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:149 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:83 +msgid "net: (sub)net" +msgstr "net: (子)网" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:81 +msgid "port: Port" +msgstr "port: 端口" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:415 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:68 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:151 msgid "reject" msgstr "拒绝" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:68 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:72 #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:89 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:61 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:67 msgid "second" msgstr "秒" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:49 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:58 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:82 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:85 +msgid "set: ipset*" +msgstr "set: ip集*" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:91 +msgid "src_Set: Source ipset*" +msgstr "src_Set: 源 ip集*" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:86 +msgid "src_ip: Source IP" +msgstr "src_ip: 源 IP" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:88 +msgid "src_mac: Source MAC addr" +msgstr "src_mac: 源 MAC 地址" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:89 +msgid "src_net: Source (sub)net" +msgstr "src_net: 源(子)网" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:87 +msgid "src_port: Source Port" +msgstr "src_port: 源端口" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:53 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:62 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:86 #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:65 #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:78 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:50 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:56 msgid "this device" msgstr "此设备" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:116 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:216 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:305 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:118 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:220 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:333 msgid "this new zone" msgstr "此新区域" @@ -1200,6 +1511,53 @@ msgstr "无限制" msgid "unspecified" msgstr "未指定" +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:113 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:172 +msgid "up to 65536 entries." +msgstr "最多 65536 个条目。" + #: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:338 msgid "valid firewall mark" msgstr "有效的防火墙标记" + +#~ msgid "" +#~ "Enable network address and port translation (NAT or NAPT) for outbound " +#~ "traffic on this zone. This is typically enabled on the <em>wan</em> zone." +#~ msgstr "" +#~ "为此区域上的出站流量开启网络地址和端口翻译(NAT 或 NAPT)。该选项在" +#~ "<em>wan</em>区域上通常处于开启状态。" + +#~ msgid "" +#~ "Forwarded IPv4%{proto?, protocol %{proto#%{next?, }<var>%{item.name}</" +#~ "var>}}%{mark?, mark <var%{mark.inv? data-tooltip=\"Match fwmarks except " +#~ "%{mark.num}%{mark.mask? with mask %{mark.mask}}.\":%{mark.mask? data-" +#~ "tooltip=\"Mask fwmark value with %{mark.mask} before compare.\"}}>%{mark." +#~ "val}</var>}" +#~ msgstr "" +#~ "转发的 IPv4%{proto?, 协议 %{proto#%{next?, }<var>%{item.name}</" +#~ "var>}}%{mark?, 标记 <var%{mark.inv? data-tooltip=\"匹配除 %{mark." +#~ "num}%{mark.mask? 带有掩码 %{mark.mask}} 以外的 fwmarks。\":%{mark.mask? " +#~ "data-tooltip=\"在比较前使用 %{mark.mask} 掩盖 fwmark 值。\"}}>%{mark.val}" +#~ "</var>}" + +#~ msgid "" +#~ "Incoming IPv4%{proto?, protocol %{proto#%{next?, }%{item.types?<var " +#~ "class=\"cbi-tooltip-container\">%{item.name}<span class=\"cbi-" +#~ "tooltip\">ICMP with types %{item.types#%{next?, }<var>%{item}</var>}</" +#~ "span></var>:<var>%{item.name}</var>}}}%{mark?, mark <var%{mark.inv? data-" +#~ "tooltip=\"Match fwmarks except %{mark.num}%{mark.mask? with mask %{mark." +#~ "mask}}.\":%{mark.mask? data-tooltip=\"Mask fwmark value with %{mark.mask} " +#~ "before compare.\"}}>%{mark.val}</var>}%{helper?, helper %{helper.inv?<var " +#~ "data-tooltip=\"Match any helper except "%{helper.name}"" +#~ "\">%{helper.val}</var>:<var data-tooltip=\"%{helper.name}\">%{helper.val}" +#~ "</var>}}" +#~ msgstr "" +#~ "入站 IPv4%{proto?, 协议 %{proto#%{next?, }%{item.types?<var class=\"cbi-" +#~ "tooltip-container\">%{item.name}<span class=\"cbi-tooltip\">具有类型 " +#~ "%{item.types#%{next?, }<var>%{item}</var>} 的 ICMP</span></var>:" +#~ "<var>%{item.name}</var>}}}%{mark?, 标记 <var%{mark.inv? data-tooltip=\"匹" +#~ "配除 %{mark.num}%{mark.mask? 带有掩码 %{mark.mask}} 的 fwmarks。\":%{mark." +#~ "mask? data-tooltip=\"在比较前使用 %{mark.mask} 掩盖 fwmark 值。\"}}" +#~ ">%{mark.val}</var>}%{helper?, 助手 %{helper.inv?<var data-tooltip=\"匹配" +#~ "除 "%{helper.name}" 以外的任意助手。\">%{helper.val}</var>:<var " +#~ "data-tooltip=\"%{helper.name}\">%{helper.val}</var>}}" |