From 190d9241956595a78bd9737e14900fa84012018d Mon Sep 17 00:00:00 2001 From: duandongmei Date: Fri, 28 Sep 2018 18:36:04 +0800 Subject: [PATCH] =?UTF-8?q?group=20type=E5=8E=BB=E6=8E=89ip=20group=20type?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0snat=20ip=E5=92=8Cdnat=20ip=EF=BC=9B=20ddos?= =?UTF-8?q?=20ip=20pattern=E5=8F=AA=E6=9C=89ip=E5=92=8Cipmask=EF=BC=8Cport?= =?UTF-8?q?=20pattern=E5=8F=AA=E6=9C=89port=EF=BC=8Cdirection=E5=8F=AA?= =?UTF-8?q?=E6=9C=89single;=20ip=20whitelist=20=E5=8E=BB=E6=8E=89subscribe?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/sql/20180928/update_dict_item_info.sql | 5 +++++ src/main/resources/sql/20180928/update_region_ddos.sql | 2 ++ src/main/resources/sql/20180928/update_region_info.sql | 3 +++ 3 files changed, 10 insertions(+) create mode 100644 src/main/resources/sql/20180928/update_dict_item_info.sql create mode 100644 src/main/resources/sql/20180928/update_region_ddos.sql create mode 100644 src/main/resources/sql/20180928/update_region_info.sql diff --git a/src/main/resources/sql/20180928/update_dict_item_info.sql b/src/main/resources/sql/20180928/update_dict_item_info.sql new file mode 100644 index 000000000..7bb9f8ef1 --- /dev/null +++ b/src/main/resources/sql/20180928/update_dict_item_info.sql @@ -0,0 +1,5 @@ +#delete ip resuse ip group add snat ip and dnat ip +delete from sys_data_dictionary_item where dictionary_id=83 and id =1114; +INSERT INTO sys_data_dictionary_item VALUES (2600, '2', 'SNAT IP', 'ip¸´ÓÃ', 0, 1, 1, 83); +INSERT INTO sys_data_dictionary_item VALUES (2601, '3', 'DNAT IP', 'ip¸´ÓÃ', 0, 1, 1, 83); + diff --git a/src/main/resources/sql/20180928/update_region_ddos.sql b/src/main/resources/sql/20180928/update_region_ddos.sql new file mode 100644 index 000000000..8ab3e2c63 --- /dev/null +++ b/src/main/resources/sql/20180928/update_region_ddos.sql @@ -0,0 +1,2 @@ +#ddos ip config info update +update function_region_dict set config_ip_pattern='1,3' ,config_port_pattern='1' ,config_direction='1' where dict_id=74 diff --git a/src/main/resources/sql/20180928/update_region_info.sql b/src/main/resources/sql/20180928/update_region_info.sql new file mode 100644 index 000000000..3476bab08 --- /dev/null +++ b/src/main/resources/sql/20180928/update_region_info.sql @@ -0,0 +1,3 @@ +#delte ip whitelist subscribe +update function_region_dict set is_valid=0 where dict_id=189; +