IP/domain intercepter增加whitelist

修改配置统计界面无效的service不显示
This commit is contained in:
duandongmei
2018-07-31 11:13:11 +08:00
parent 2b8edce48f
commit 1a94c225bc
6 changed files with 71 additions and 49 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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);