增加ddos数据库增加字段sql,增加国际化
This commit is contained in:
@@ -1251,4 +1251,8 @@ file_in_wrong_format=File Format Error
|
||||
select_certificate=Please Select Certificate Type First
|
||||
root_certificate=der cer crt pem
|
||||
intermediate_entity_certificate=p12
|
||||
private_certificate=pem key p12
|
||||
private_certificate=pem key p12
|
||||
antiddos_protocol=DDOS协议
|
||||
bps_threadshold=Traffic Threshold Bit/S
|
||||
pps_threadshold=Traffic Threshold Pkt/S
|
||||
one_more_greater_zero=At Least One Threshold Is Not 0.
|
||||
@@ -1271,4 +1271,8 @@ file_in_wrong_format=File Format Error
|
||||
select_certificate=Please Select Certificate Type First
|
||||
root_certificate=der cer crt pem
|
||||
intermediate_entity_certificate=p12
|
||||
private_certificate=pem key p12
|
||||
private_certificate=pem key p12
|
||||
antiddos_protocol=DDOS\u534f\u8bae
|
||||
bps_threadshold=Traffic Threshold Bit/S
|
||||
pps_threadshold=Traffic Threshold Pkt/S
|
||||
one_more_greater_zero=At Least One Threshold Is Not 0.
|
||||
@@ -1245,4 +1245,8 @@ file_in_wrong_format=\u6587\u4EF6\u683C\u5F0F\u9519\u8BEF
|
||||
select_certificate=\u8BF7\u5148\u9009\u62E9\u6587\u4EF6\u8BC1\u4E66\u7C7B\u578B
|
||||
root_certificate=der cer crt pem
|
||||
intermediate_entity_certificate=p12
|
||||
private_certificate=pem key p12
|
||||
private_certificate=pem key p12
|
||||
antiddos_protocol=DDOS\u534F\u8BAE
|
||||
bps_threadshold=\u6D41\u91CF\u9608\u503C\u5B57\u8282\u6570 Bit/S
|
||||
pps_threadshold=\u6D41\u91CF\u9608\u503C\u5305\u6570 Pkt/S
|
||||
one_more_greater_zero=\u6D41\u91CF\u9608\u503C\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A 0
|
||||
@@ -1,3 +1,10 @@
|
||||
#增加ddos相关菜单
|
||||
INSERT INTO `sys_menu` VALUES ('1138', '801', '0,1,152,801,', 'protected_ddos', '保护ddos攻击', '10', '/log/ntc/ntcDdosLogs/list?isBlock=1', '', '', '1', '', '1', '2018-09-17 16:38:57', '1', '2018-09-17 16:38:57', '', '0', null, '0', '0', '301');
|
||||
INSERT INTO `sys_menu` VALUES ('1139', '801', '0,1,152,801,', 'usual_ddos', '常用ddos攻击', '20', '/log/ntc/ntcDdosLogs/list?isBlock=0', '', '', '1', '', '1', '2018-09-17 16:38:57', '1', '2018-09-17 16:38:57', '', '0', null, '0', '0', '305');
|
||||
UPDATE sys_menu set href='',function_id=null where id=801;
|
||||
#增加邮件地址菜单
|
||||
INSERT INTO `sys_menu` VALUES ('1140', '931', '0,1,86,931,', 'mail_address', '邮件地址配置', '5', '/ntc/mail/mailList', '', '', '1', 'mail:config', '1', '2018-09-10 14:31:09', '1', '2018-09-10 14:31:09', '', '1', null, '0', '0', '37');
|
||||
INSERT INTO `sys_menu` VALUES ('1141', '934', '0,1,150,934,', 'mail_address', '邮件地址审核', '5', '/ntc/mail/mailList', '', '', '1', 'mail:confirm', '1', '2018-09-10 14:31:09', '1', '2018-09-10 14:31:09', '', '1', null, '0', '0', '37');
|
||||
INSERT INTO `sys_menu` VALUES ('1142', '937', '0,1,151,937,', 'mail_address', '邮件地址审计', '5', '/ntc/mail/mailList', '', '', '1', 'mail:audit', '1', '2018-09-10 14:31:09', '1', '2018-09-10 14:31:09', '', '1', null, '0', '0', '37');
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
ALTER TABLE ddos_ip_cfg ADD antiddos_protocol varchar(255) DEFAULT NULL COMMENT '目前支持TCP_SYN, DNS, NTP,单选。';
|
||||
ALTER TABLE ddos_ip_cfg ADD bps_threadshold bigint(20) DEFAULT NULL COMMENT ' 即DDoS攻击保护动作触发阈值,每秒Bit数';
|
||||
ALTER TABLE ddos_ip_cfg ADD pps_threadshold bigint(20) DEFAULT NULL COMMENT ' 即DDoS攻击保护动作触发阈值,每秒包数,';
|
||||
Reference in New Issue
Block a user