diff --git a/src/main/resources/messages/message_en.properties b/src/main/resources/messages/message_en.properties index 3b46aa6fb..9bffdec68 100644 --- a/src/main/resources/messages/message_en.properties +++ b/src/main/resources/messages/message_en.properties @@ -981,6 +981,8 @@ xmpp_monit=XMPP Monitoring xmpp_reject=XMPP Control ip_intercepter_monit=IP Intercepter domain_monit=Domain Intercepter +ip_intercepter_whitelist=IP White List +domain_monit_whitelist=Domain White List dns_strategy_reject=DNS Response Strategy Control proxy_http_req_body_replace=HTTP Request Content Replacement proxy_http_res_body_replace=HTTP Response Content Replacement diff --git a/src/main/resources/messages/message_zh_CN.properties b/src/main/resources/messages/message_zh_CN.properties index d964b03fd..9c1d632cc 100644 --- a/src/main/resources/messages/message_zh_CN.properties +++ b/src/main/resources/messages/message_zh_CN.properties @@ -982,6 +982,8 @@ xmpp_monit=XMPP\u76D1\u6D4B xmpp_reject=xmpp\u7BA1\u63A7 ip_intercepter_monit=IP\u62E6\u622A domain_monit=\u57DF\u540D\u62E6\u622A +ip_intercepter_whitelist=IP\u62E6\u622A\u767D\u540D\u5355 +domain_monit_whitelist=\u57DF\u540D\u62E6\u622A\u767D\u540D\u5355 dns_strategy_reject=DNS\u54CD\u5E94\u7B56\u7565\u7BA1\u63A7 proxy_http_req_body_replace=PXY HTTP\u8BF7\u6C42\u5185\u5BB9\u66FF\u6362 proxy_http_res_body_replace=PXY HTTP\u54CD\u5E94\u5185\u5BB9\u66FF\u6362 diff --git a/src/main/resources/sql/add_intercepter_whitelist_service.sql b/src/main/resources/sql/add_intercepter_whitelist_service.sql new file mode 100644 index 000000000..2d9056607 --- /dev/null +++ b/src/main/resources/sql/add_intercepter_whitelist_service.sql @@ -0,0 +1,11 @@ + INSERT INTO function_service_dict + ( `function_id`, `protocol_id`, `action`, `action_code`, `service_id`, `service_name`, `service_desc`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`) +VALUES + ( 200, 0, 128, 'whitelist', 514, 'ip_intercepter_whitelist', '', 1,NULL , NULL,NULL , NULL); + +INSERT INTO function_service_dict + ( `function_id`, `protocol_id`, `action`, `action_code`, `service_id`, `service_name`, `service_desc`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`) +VALUES + ( 201, 0, 128, 'whitelist', 515, 'domain_whitelist', '', 1,NULL , NULL, NULL, NULL); + + update function_service_dict set is_valid=0 where dict_id in(66,67); \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/views/cfg/common/domainForm.jsp b/src/main/webapp/WEB-INF/views/cfg/common/domainForm.jsp index e61b261ce..8a3af0d6a 100644 --- a/src/main/webapp/WEB-INF/views/cfg/common/domainForm.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/common/domainForm.jsp @@ -124,30 +124,32 @@ -
-
-
- -
- -
- + + + + +
+
+
+
+
diff --git a/src/main/webapp/WEB-INF/views/cfg/proxy/control/httpRedirectList.jsp b/src/main/webapp/WEB-INF/views/cfg/proxy/control/httpRedirectList.jsp index e737aa1cd..ae89bb17d 100644 --- a/src/main/webapp/WEB-INF/views/cfg/proxy/control/httpRedirectList.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/proxy/control/httpRedirectList.jsp @@ -229,10 +229,11 @@
--%> - + + ${serviceName1 }