协议IP配置增加导入功能

This commit is contained in:
zhangwei
2018-06-11 10:58:06 +08:00
parent 0852cfdef9
commit ed6e14150f
14 changed files with 986 additions and 25 deletions

View File

@@ -580,4 +580,26 @@ action_ratelimit=rate limit
action_replace=replace
action_whitelist=white list
action_monit=monitor
file_digest_control=file digest control
file_digest_control=file digest control
#===============protocol IP Import start=================
chooseFile=Choose File
download=Download
import_success=import success
import_error=import error
import_failed=Import data failed,
import_template_failed=Failure of template download,ths exception is :
the_line_of=the rowNum line
val_protocol_id=protocol Name is required or not exists
val_ip_type=ip type is required and the value mast 4(IPV4) or 6(IPV6)
val_src_ip=client ip format is incorrect or inconsistent with the ip type
val_src_mask=client ip format is incorrect or inconsistent with the ip type
val_src_port=client port is required and the value mast between 0 and 65535
val_src_port_mask=client port mask is required and the value mast between 0 and 65535
val_dst_ip=server ip format is incorrect or inconsistent with the ip type
val_dst_mask=server address mask format is incorrect or inconsistent with the ip type
val_dst_port=server port is required and the value mast between 0 and 65535
val_dst_port_mask=server port mask is required and the value mast between 0 and 65535
val_protocol=protocol is required and the value mast 6(tcp),17(udp),0(freedom)
val_direction=The value mast 0(bidirectional) or 1(unidirectional)
#===============protocol IP Import end=================

View File

@@ -406,4 +406,26 @@ action_ratelimit=\u0441\u0442\u0430\u0432\u043A\u0438 \u043E\u0433\u0440\u0430\u
action_replace=\u0437\u0430\u043C\u0435\u043D\u0438\u0442\u044C
action_whitelist=\u0431\u0435\u043B\u044B\u0439 \u0441\u043F\u0438\u0441\u043E\u043A
action_monit=\u041C\u043E\u043D\u0438\u0442\u043E\u0440\u0438\u043D\u0433
file_digest_control=file digest control
file_digest_control=file digest control
#===============protocol IP Import start=================
chooseFile=Choose File
download=Download
import_success=Import success
import_error=Import error
import_failed=Import data failed,
import_template_failed=Failure of template download,ths exception is :
the_line_of=the rowNum line
val_protocol_id=protocol Name is required or not exists
val_ip_type=ip type is required and the value mast 4(IPV4) or 6(IPV6)
val_src_ip=client ip format is incorrect or inconsistent with the ip type
val_src_mask=client ip format is incorrect or inconsistent with the ip type
val_src_port=client port is required and the value mast between 0 and 65535
val_src_port_mask=client port mask is required and the value mast between 0 and 65535
val_dst_ip=server ip format is incorrect or inconsistent with the ip type
val_dst_mask=server address mask format is incorrect or inconsistent with the ip type
val_dst_port=server port is required and the value mast between 0 and 65535
val_dst_port_mask=server port mask is required and the value mast between 0 and 65535
val_protocol=protocol is required and the value mast 6(tcp),17(udp),0(freedom)
val_direction=The value mast 0(bidirectional) or 1(unidirectional)
#===============protocol IP Import end=================

View File

@@ -607,3 +607,24 @@ action_replace=\u66FF\u6362
action_whitelist=\u767D\u540D\u5355
action_monit=\u76D1\u6D4B
file_digest_control=\u6587\u4EF6\u6458\u8981\u7BA1\u63A7
#===============protocol IP Import start=================
chooseFile=\u9009\u62E9\u6587\u4EF6
download=\u6A21\u677F\u4E0B\u8F7D
import_success=\u5BFC\u5165\u6210\u529F
import_error=\u5BFC\u5165\u5F02\u5E38
import_failed=\u5BFC\u5165\u6570\u636E\u5931\u8D25
import_template_failed=\u5BFC\u5165\u6A21\u677F\u4E0B\u8F7D\u5931\u8D25\uFF01\u5931\u8D25\u4FE1\u606F\uFF1A
the_line_of=\u7B2CrowNum\u884C
val_protocol_id=\u534F\u8BAE\u540D\u79F0\u4E3A\u7A7A\u6216\u4E0D\u5B58\u5728
val_ip_type=IP\u7C7B\u578B\u4E0D\u80FD\u4E3A\u7A7A\u5E76\u4E14\u503C\u53EA\u80FD\u4E3A4(IPV4)\u62166(IPV6)
val_src_ip=\u6E90IP\u683C\u5F0F\u4E0D\u6B63\u786E\u6216\u4E0EIP\u7C7B\u578B\u4E0D\u4E00\u81F4
val_src_mask=\u6E90IP\u63A9\u7801\u683C\u5F0F\u4E0D\u6B63\u786E\u6216\u4E0EIP\u7C7B\u578B\u4E0D\u4E00\u81F4
val_src_port=\u6E90\u7AEF\u53E3\u4E3A\u7A7A\u6216\u683C\u5F0F\u4E0D\u6B63\u786E(0-65535)
val_src_port_mask=\u6E90\u7AEF\u53E3\u63A9\u7801\u683C\u5F0F\u4E0D\u6B63\u786E(0-65535)
val_dst_ip=\u76EE\u7684IP\u683C\u5F0F\u4E0D\u6B63\u786E\u6216\u4E0EIP\u7C7B\u578B\u4E0D\u4E00\u81F4
val_dst_mask=\u76EE\u7684IP\u63A9\u7801\u683C\u5F0F\u4E0D\u6B63\u786E\u6216\u4E0EIP\u7C7B\u578B\u4E0D\u4E00\u81F4
val_dst_port=\u76EE\u7684\u7AEF\u53E3\u4E3A\u7A7A\u6216\u683C\u5F0F\u4E0D\u6B63\u786E(0-65535)
val_dst_port_mask=\u76EE\u7684\u7AEF\u53E3\u63A9\u7801\u683C\u5F0F\u4E0D\u6B63\u786E(0-65535)
val_protocol=\u534F\u8BAE\u4E0D\u80FD\u4E3A\u7A7A\u5E76\u4E14\u503C\u53EA\u80FD\u4E3A6(tcp),17(udp),0(\u4EFB\u610F)
val_direction=\u65B9\u5411\u503C\u53EA\u80FD\u4E3A0(bidirectional)\u62161(unidirectional)
#===============protocol IP Import end=================