You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/advanced.lua
+78-67Lines changed: 78 additions & 67 deletions
Original file line number
Diff line number
Diff line change
@@ -344,78 +344,89 @@ o.rmempty = false
344
344
345
345
-- [[ fragmen Settings ]]--
346
346
ifis_finded("xray") then
347
-
s=m:section(TypedSection, "global_xray_fragment", translate("Xray Fragment Settings"))
348
-
s.anonymous=true
349
-
350
-
o=s:option(Flag, "fragment", translate("Fragment"), translate("TCP fragments, which can deceive the censorship system in some cases, such as bypassing SNI blacklists."))
351
-
o.default=0
352
-
353
-
o=s:option(ListValue, "fragment_packets", translate("Fragment Packets"), translate("\"1-3\" is for segmentation at TCP layer, applying to the beginning 1 to 3 data writes by the client. \"tlshello\" is for TLS client hello packet fragmentation."))
"<font style='color:green'><b>" ..translate("Click to the page") .."</b></font></a>")
379
-
s.template="cbi/tblsection"
380
-
s.sortable=true
381
-
s.anonymous=true
382
-
s.addremove=true
383
-
384
-
s.remove=function(self, section)
385
-
fork, vinpairs(self.children) do
386
-
v.rmempty=true
387
-
v.validate=nil
347
+
s=m:section(TypedSection, "global_xray_fragment", translate("Xray Fragment Settings"))
348
+
s.anonymous=true
349
+
350
+
o=s:option(Flag, "fragment", translate("Fragment"), translate("TCP fragments, which can deceive the censorship system in some cases, such as bypassing SNI blacklists."))
351
+
o.default=0
352
+
353
+
o=s:option(ListValue, "fragment_packets", translate("Fragment Packets"), translate("\"1-3\" is for segmentation at TCP layer, applying to the beginning 1 to 3 data writes by the client. \"tlshello\" is for TLS client hello packet fragmentation."))
0 commit comments