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 | 618 |
1 files changed, 439 insertions, 179 deletions
diff --git a/applications/luci-app-firewall/po/zh_Hans/firewall.po b/applications/luci-app-firewall/po/zh_Hans/firewall.po index f705de95e5..3207d33950 100644 --- a/applications/luci-app-firewall/po/zh_Hans/firewall.po +++ b/applications/luci-app-firewall/po/zh_Hans/firewall.po @@ -49,6 +49,14 @@ msgstr "-- 添加 IP --" msgid "-- add MAC --" msgstr "-- 添加 MAC --" +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:192 +msgid "0" +msgstr "" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:175 +msgid "1024" +msgstr "" + #: 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}" @@ -127,13 +135,13 @@ msgstr "接受 - 禁用地址重写" #: 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:399 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:407 #: 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:292 +#: 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:282 +#: 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." @@ -163,19 +171,19 @@ 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:181 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:107 +#: 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:253 +#: 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:355 +#: 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:314 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:338 msgid "Allow forward to <em>destination zones</em>:" msgstr "允许转发到<em>目标区域</em>:" @@ -183,10 +191,10 @@ msgstr "允许转发到<em>目标区域</em>:" msgid "Any" msgstr "任何" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:467 -#: 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:337 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:353 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:475 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:491 +#: 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 "每天" @@ -203,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:427 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:435 msgid "Assign the specified connection tracking helper to matched traffic." msgstr "将指定的连接跟踪助手分配给匹配的流量。" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:256 +#: 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:256 +#: 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:108 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:54 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:55 +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:260 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:284 msgid "Conntrack helpers" msgstr "连接跟踪助手" @@ -232,19 +245,23 @@ msgstr "内容已保存。" msgid "Continue" msgstr "继续" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:223 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:197 +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:175 +#: 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:228 +#: 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 "自定义规则" @@ -257,7 +274,7 @@ msgstr "" "自定义规则允许您执行不属于防火墙框架的任意 iptables 命令。每次重启防火墙时," "这些命令在默认的规则运行后立即执行。" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:409 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:417 msgid "DSCP classification" msgstr "DSCP 类别" @@ -269,17 +286,17 @@ msgstr "DSCP 标记" msgid "DSCP mark required" msgstr "需要 DSCP 标记" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:390 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:398 #: 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:392 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:400 #: 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:384 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:392 msgid "Destination zone" msgstr "目标区域" @@ -287,7 +304,7 @@ msgstr "目标区域" msgid "Device name" msgstr "设备名" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:253 +#: 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." @@ -295,7 +312,7 @@ 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 "丢弃无效数据包" @@ -305,64 +322,81 @@ msgstr "丢弃无效数据包" msgid "Enable" msgstr "启用" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:294 +#: 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:266 +#: 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:161 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:162 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." +"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 "" + +#: 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 "" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:204 +msgid "Enabled" +msgstr "" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:198 +msgid "Enables packet and byte count tracking for the set." msgstr "" -"为此区域上的出站流量开启网络地址和端口翻译(NAT 或 NAPT)。该选项在<em>wan</" -"em>区域上通常处于开启状态。" #: 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:260 +#: 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:262 +#: 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:267 +#: 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:331 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:458 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:327 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:339 +#: 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:338 msgid "Extra arguments" msgstr "额外参数" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:292 +#: 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:109 +#: 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:282 +#: 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:60 +msgid "Family" +msgstr "" + #: applications/luci-app-firewall/root/usr/share/luci/menu.d/luci-app-firewall.json:3 msgid "Firewall" msgstr "防火墙" @@ -371,6 +405,10 @@ msgstr "防火墙" msgid "Firewall - Custom Rules" msgstr "防火墙 - 自定义规则" +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:20 +msgid "Firewall - IP sets" +msgstr "" + #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:172 msgid "Firewall - NAT Rules" msgstr "防火墙 - NAT 规则" @@ -383,7 +421,7 @@ 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 "防火墙 - 区域设置" @@ -391,8 +429,8 @@ msgstr "防火墙 - 区域设置" 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:146 +#: 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 "转发" @@ -405,15 +443,15 @@ msgid "" "tooltip=\"Mask fwmark value with %{mark.mask} before compare.\"}}>%{mark.val}" "</var>}" msgstr "" -"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>}" +"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:473 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:343 +#: 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:354 msgid "Friday" msgstr "星期五" @@ -472,8 +510,8 @@ msgstr "" #: 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:180 -#: 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:106 +#: 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 "常规设置" @@ -482,26 +520,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:137 +msgid "IP (range)" +msgstr "" + +#: 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 "" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:145 +msgid "IPs/Networks" +msgstr "" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:100 +msgid "IPs/Networks/MACs" +msgstr "" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:61 +msgid "IPv4" +msgstr "" + #: 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:234 +#: 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/snats.js:218 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:235 +#: 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:62 +msgid "IPv6" +msgstr "" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:236 +msgid "IPv6 Masquerading" +msgstr "" + #: 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/snats.js:219 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:236 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:252 msgid "IPv6 only" msgstr "仅 IPv6" @@ -509,6 +576,10 @@ msgstr "仅 IPv6" msgid "Inbound device" msgstr "入站设备" +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:180 +msgid "Include File" +msgstr "" + #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:40 msgid "" "Incoming %{ipv6?%{ipv4?<var>IPv4</var> and <var>IPv6</var>:<var>IPv6</var>}:" @@ -522,32 +593,35 @@ msgid "" "any helper except "%{helper.name}"\">%{helper.val}</var>:<var data-" "tooltip=\"%{helper.name}\">%{helper.val}</var>}}" msgstr "" -"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>}}" +"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:173 +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:144 +#: 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:280 +#: 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:285 +#: 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:275 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:283 msgid "Internal zone" msgstr "内部区域" @@ -563,7 +637,7 @@ msgstr "无效的限制值" msgid "Limit burst" msgstr "限制突发" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:269 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:293 msgid "Limit log messages" msgstr "限制日志信息" @@ -581,7 +655,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:167 +#: 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 "已启用有限伪装" @@ -589,7 +664,7 @@ msgstr "已启用有限伪装" msgid "Limits traffic matching to the specified rate." msgstr "将流量匹配限制为指定的速率。" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:299 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:307 msgid "Loopback source IP" msgstr "环回源 IP" @@ -597,11 +672,11 @@ msgstr "环回源 IP" msgid "MASQUERADE - Automatically rewrite to outbound interface IP" msgstr "MASQUERADE - 自动重写源地址为出站接口 IP" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:172 +#: 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:160 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:161 msgid "Masquerading" msgstr "IP 动态伪装" @@ -641,12 +716,12 @@ 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:308 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:434 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:316 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:442 msgid "Match helper" msgstr "匹配助手" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:268 +#: 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" @@ -656,8 +731,8 @@ msgstr "匹配指向此主机上指定目标端口或目标端口范围的入站 msgid "Match mark" msgstr "匹配标记" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:308 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:434 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:316 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:442 msgid "Match traffic using the specified connection tracking helper." msgstr "使用指定的连接跟踪助手匹配流量。" @@ -665,7 +740,7 @@ 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:317 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:328 msgid "Matches forwarded traffic using the specified outbound network device." msgstr "使用指定的出站网络设备匹配转发的流量。" @@ -673,19 +748,27 @@ msgstr "使用指定的出站网络设备匹配转发的流量。" msgid "Matches traffic carrying the specified DSCP marking." msgstr "匹配承载指定 DSCP 标记的流量。" +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:106 +msgid "Max Entries" +msgstr "" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:165 +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:469 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:339 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:477 +#: 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:479 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:349 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:487 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:360 msgid "Month Days" msgstr "日期" @@ -701,32 +784,38 @@ msgid "" msgstr "NAT 规则允许对源 IP 进行精细控制,以用于出站或转发流量。" #: 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:45 #: 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:188 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:122 +#: 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:263 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:159 +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:244 +#: 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:249 +#: 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:254 +#: 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:316 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:327 msgid "Outbound device" msgstr "出站设备" @@ -734,18 +823,30 @@ msgstr "出站设备" 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:145 +#: 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:332 -#: 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:328 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:68 +msgid "Packet Field Match" +msgstr "" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:69 +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 "" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:340 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:467 +#: 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:279 +#: 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 " @@ -757,6 +858,10 @@ msgstr "" "他条件来匹配数据包。使用这些选项应格外小心,因为无效值可能会破坏防火墙规则集" "而对外暴露所有服务。" +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:181 +msgid "Path to file of CIDRs, subnets, host IPs, etc.<br />" +msgstr "" + #: 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" @@ -768,37 +873,45 @@ msgid "" "specific computer or service within the private LAN." msgstr "端口转发允许互联网上的远程计算机连接到内部网络中的特定计算机或服务。" +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:151 +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:238 msgid "Protocol" msgstr "协议" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:286 +#: 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:281 +#: 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 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:115 +msgid "Refer To External Set" +msgstr "" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:89 msgid "Requires hardware NAT support. Implemented at least for mt7621" msgstr "需要硬件 NAT 支持。目前 mt7621 已实现" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:246 +#: 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:239 +#: 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/snats.js:215 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:233 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:249 msgid "Restrict to address family" msgstr "地址族限制" @@ -818,7 +931,7 @@ msgstr "将匹配的流量重写到指定的源端口或端口范围。" 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 分载" @@ -826,8 +939,8 @@ msgstr "路由/NAT 分载" msgid "SNAT - Rewrite to specific source IP or port" msgstr "SNAT - 重写为特定的源 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:344 +#: 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:355 msgid "Saturday" msgstr "星期六" @@ -843,30 +956,30 @@ 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:248 +#: 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:243 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:374 +#: 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:382 msgid "Source MAC address" msgstr "源 MAC 地址" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:375 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:383 #: 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:253 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:377 +#: 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:385 #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:257 msgid "Source port" msgstr "源端口" @@ -882,34 +995,38 @@ msgid "" "network device." msgstr "指定是否将此流量规则绑定到特定的入站或出站网络设备。" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:299 +#: 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:498 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:368 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:506 +#: 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:490 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:360 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:498 +#: 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:502 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:372 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:510 +#: 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:494 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:364 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:502 +#: 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:468 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:338 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:123 +msgid "Storage Method" +msgstr "" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:476 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:349 msgid "Sunday" msgstr "星期日" @@ -919,14 +1036,14 @@ msgid "" "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:219 -#: 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: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 " @@ -940,7 +1057,7 @@ msgstr "" "%q</strong> 的其它区域。转发规则的作用是<em>单向</em>的,例如:转发从 lan 到 " "wan 的流量并<em>不</em>意味着允许反向转发从 wan 到 lan 的流量。" -#: 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: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 " @@ -952,8 +1069,8 @@ msgstr "" "域入站和出站流量的默认策略,<em>转发</em>选项描述该区域内不同网络之间的流量转" "发策略。<em>涵盖的网络</em>指定从属于这个区域的网络。" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:472 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:342 +#: 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:353 msgid "Thursday" msgstr "星期四" @@ -962,8 +1079,8 @@ msgstr "星期四" msgid "Time Restrictions" msgstr "时间限制" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:506 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:376 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:514 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:387 msgid "Time in UTC" msgstr "UTC 时间" @@ -971,6 +1088,10 @@ msgstr "UTC 时间" msgid "Time restrictions are enabled for this rule" msgstr "对该规则启用了时间限制" +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:189 +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 " @@ -1011,7 +1132,7 @@ msgstr "" "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:427 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:435 msgid "Tracking helper" msgstr "跟踪助手" @@ -1029,8 +1150,8 @@ msgstr "" "通信规则定义了不同区域间的数据包传输策略,例如:拒绝一些主机之间的通信、开放" "路由器 WAN 上的端口。" -#: 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:340 +#: 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:351 msgid "Tuesday" msgstr "星期二" @@ -1038,8 +1159,14 @@ msgstr "星期二" msgid "Unable to save contents: %s" msgstr "无法保存内容:%s" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:323 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:449 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:190 +msgid "" +"Unit: seconds. Default <code>0</code> means the entry is added permanently " +"to the set.<br />Max: 2147483 seconds." +msgstr "" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:331 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:457 msgid "Unknown or not installed conntrack helper \"%s\"" msgstr "未知或未安装的连接跟踪助手 \"%s\"" @@ -1058,7 +1185,11 @@ msgstr "未命名转发" msgid "Unnamed rule" msgstr "未命名规则" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:123 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:50 +msgid "Unnamed set" +msgstr "" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:124 msgid "Unnamed zone" msgstr "未命名区域" @@ -1075,21 +1206,27 @@ msgstr "" "按下“继续”后,目标“SNAT”的“redirect”部分将转换为“nat”部分,防火墙将重新启动以" "应用更新的配置。" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:303 +#: 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:302 +#: 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:223 +#: 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:374 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:318 +msgid "Use ipset" +msgstr "" + +#: 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:228 +#: 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." @@ -1099,17 +1236,17 @@ msgstr "此选项可对源或目标子网而非网络或设备进行区域流量 msgid "Valid firewall mark required" msgstr "需要有效的防火墙标记" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:471 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:341 +#: 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:352 msgid "Wednesday" msgstr "星期三" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:463 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:333 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:471 +#: 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:408 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:416 msgid "XOR firewall mark" msgstr "异或防火墙标记" @@ -1117,30 +1254,38 @@ msgstr "异或防火墙标记" msgid "XOR mark" msgstr "异或标记" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:136 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:28 +msgid "Your device does not run firewall4." +msgstr "" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:26 +msgid "Your device runs firewall4." +msgstr "" + +#: 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:403 -#: 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 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:411 +#: 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:484 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:258 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:289 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:310 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:380 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:395 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:429 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:436 +#: 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:318 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:388 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:403 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:437 +#: 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:262 #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:278 msgid "any" @@ -1159,11 +1304,11 @@ msgstr "所有区域" msgid "any/all" msgstr "任意/全部" -#: 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:415 msgid "apply firewall mark" msgstr "应用防火墙标记" -#: 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:414 msgid "assign conntrack helper" msgstr "分配连接跟踪助手" @@ -1172,41 +1317,120 @@ msgstr "分配连接跟踪助手" msgid "automatic" msgstr "自动" +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:124 +msgid "bitmap" +msgstr "" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:130 +msgid "bitmap is ipv4 only" +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:67 msgid "day" msgstr "日" +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:86 +msgid "dest_ip: Destination IP" +msgstr "" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:88 +msgid "dest_mac: Destination MAC addr" +msgstr "" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:89 +msgid "dest_net: Destination (sub)net" +msgstr "" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:87 +msgid "dest_port: Destination Port" +msgstr "" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:91 +msgid "dest_set: Destination ipset*" +msgstr "" + #: 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:405 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:413 msgid "don't track" msgstr "不跟踪" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:402 -#: 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 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:410 +#: 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/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 "" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:152 +msgid "fromport-toport" +msgstr "" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:125 +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:67 msgid "hour" msgstr "小时" +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:74 +msgid "ip: IP addr" +msgstr "" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:146 +msgid "ip[/cidr]<br />" +msgstr "" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:138 +msgid "ip[/cidr]<br />For use with Match datatypes: <code>*_ip</code>." +msgstr "" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:63 +msgid "ipv4" +msgstr "" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:126 +msgid "list" +msgstr "" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:76 +msgid "mac: MAC addr" +msgstr "" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:101 +msgid "macaddr|ip[/cidr]<br />" +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:67 msgid "minute" msgstr "分钟" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:404 -#: 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:150 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:77 +msgid "net: (sub)net" +msgstr "" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:75 +msgid "port: Port" +msgstr "" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:412 +#: 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 "拒绝" @@ -1216,6 +1440,30 @@ msgstr "拒绝" msgid "second" msgstr "秒" +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:79 +msgid "set: ipset*" +msgstr "" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:85 +msgid "src_Set: Source ipset*" +msgstr "" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:80 +msgid "src_ip: Source IP" +msgstr "" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:82 +msgid "src_mac: Source MAC addr" +msgstr "" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:83 +msgid "src_net: Source (sub)net" +msgstr "" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:81 +msgid "src_port: Source Port" +msgstr "" + #: 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 @@ -1225,9 +1473,9 @@ msgstr "秒" msgid "this device" msgstr "此设备" -#: 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:218 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:309 +#: 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 "此新区域" @@ -1239,11 +1487,23 @@ msgstr "无限制" msgid "unspecified" msgstr "未指定" +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:107 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js:166 +msgid "up to 65536 entries." +msgstr "" + #: 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-" |