diff --git a/web/public/js/components.js b/web/public/js/components.js index b9a34d7f..ef66bfe6 100644 --- a/web/public/js/components.js +++ b/web/public/js/components.js @@ -2125,7 +2125,7 @@ Vue.component("traffic-map-box",{props:["v-stats","v-is-attack"],mounted:functio 检查请求来源指纹 -

在接收到HTTPS请求时尝试检查请求来源的指纹,用来检测代理服务和爬虫攻击。

+

在接收到HTTPS请求时尝试检查请求来源的指纹,用来检测代理服务和爬虫攻击;如果你在网站前面放置了别的反向代理服务,请取消此选项。

@@ -3418,7 +3418,7 @@ example2.com
-`}),Vue.component("http-cc-config-box",{props:["v-cc-config","v-is-location","v-is-group"],data:function(){let e=this.vCcConfig;return null==(e=null==e?{isPrior:!1,isOn:!1,onlyURLPatterns:[],exceptURLPatterns:[]}:e).onlyURLPatterns&&(e.onlyURLPatterns=[]),null==e.exceptURLPatterns&&(e.exceptURLPatterns=[]),{config:e,moreOptionsVisible:!1}},methods:{showMoreOptions:function(){this.moreOptionsVisible=!this.moreOptionsVisible}},template:`
+
`}),Vue.component("http-cc-config-box",{props:["v-cc-config","v-is-location","v-is-group"],data:function(){let e=this.vCcConfig;return"boolean"!=typeof(e=null==e?{isPrior:!1,isOn:!1,enableFingerprint:!0,enableGET302:!0,onlyURLPatterns:[],exceptURLPatterns:[]}:e).enableFingerprint&&(e.enableFingerprint=!0),"boolean"!=typeof e.enableGET302&&(e.enableGET302=!0),null==e.onlyURLPatterns&&(e.onlyURLPatterns=[]),null==e.exceptURLPatterns&&(e.exceptURLPatterns=[]),{config:e,moreOptionsVisible:!1}},methods:{showMoreOptions:function(){this.moreOptionsVisible=!this.moreOptionsVisible}},template:`
@@ -3451,6 +3451,20 @@ example2.com

如果填写了支持URL,表示只对这些URL进行CC防护处理;如果不填则表示支持所有的URL。

+ + + + + + + +
检查请求来源指纹 + +

在接收到HTTPS请求时尝试检查请求来源的指纹,用来检测代理服务和爬虫攻击;如果你在网站前面放置了别的反向代理服务,请取消此选项。

+
启用GET302校验 + +

选中后,表示自动通过GET302方法来校验客户端。

+
diff --git a/web/public/js/components.src.js b/web/public/js/components.src.js index 3395640c..4dd69cdd 100755 --- a/web/public/js/components.src.js +++ b/web/public/js/components.src.js @@ -6112,7 +6112,7 @@ Vue.component("http-firewall-checkpoint-cc", { 检查请求来源指纹 -

在接收到HTTPS请求时尝试检查请求来源的指纹,用来检测代理服务和爬虫攻击。

+

在接收到HTTPS请求时尝试检查请求来源的指纹,用来检测代理服务和爬虫攻击;如果你在网站前面放置了别的反向代理服务,请取消此选项。

@@ -9621,15 +9621,27 @@ Vue.component("http-compression-config-box", { Vue.component("http-cc-config-box", { props: ["v-cc-config", "v-is-location", "v-is-group"], data: function () { + + let config = this.vCcConfig if (config == null) { config = { isPrior: false, isOn: false, + enableFingerprint: true, + enableGET302: true, onlyURLPatterns: [], exceptURLPatterns: [] } } + + if (typeof config.enableFingerprint != "boolean") { + config.enableFingerprint = true + } + if (typeof config.enableGET302 != "boolean") { + config.enableGET302 = true + } + if (config.onlyURLPatterns == null) { config.onlyURLPatterns = [] } @@ -9679,6 +9691,20 @@ Vue.component("http-cc-config-box", {

如果填写了支持URL,表示只对这些URL进行CC防护处理;如果不填则表示支持所有的URL。

+ + 检查请求来源指纹 + + +

在接收到HTTPS请求时尝试检查请求来源的指纹,用来检测代理服务和爬虫攻击;如果你在网站前面放置了别的反向代理服务,请取消此选项。

+ + + + 启用GET302校验 + + +

选中后,表示自动通过GET302方法来校验客户端。

+ +