diff --git a/src/main/resources/commonSources/commonSources.xml b/src/main/resources/commonSources/commonSources.xml index e77bd08..2738f5a 100644 --- a/src/main/resources/commonSources/commonSources.xml +++ b/src/main/resources/commonSources/commonSources.xml @@ -2,7 +2,23 @@ - + + + + + + + + + + + + + + + + + @@ -12,7 +28,7 @@ - + diff --git a/src/main/resources/commonSources/commonSourcesSchema.xsd b/src/main/resources/commonSources/commonSourcesSchema.xsd index 999e54f..7c1ef1f 100644 --- a/src/main/resources/commonSources/commonSourcesSchema.xsd +++ b/src/main/resources/commonSources/commonSourcesSchema.xsd @@ -50,7 +50,7 @@ - + diff --git a/src/main/resources/maatXml/maat.xml b/src/main/resources/maatXml/maat.xml index 7f0b4d3..e03496c 100644 --- a/src/main/resources/maatXml/maat.xml +++ b/src/main/resources/maatXml/maat.xml @@ -24,7 +24,57 @@ - + + + EFFECTIVE_RULE;:;{compile_table_name};,;[compile_id] + [compile_id];\t;[service];\t;[action];\t;[do_blacklist];\t;[do_log];\t;[effective_range];\t;[user_region];\t;[is_valid];\t;[group_num];\t;[father_cfg_id];\t;[op_time] + + + EFFECTIVE_RULE;:;{group_table_name};,;[group_id] + [group_id];\t;[compile_id];\t;[is_valid];\t;[op_time] + + + EFFECTIVE_RULE;:;{ip_region_table_name};,;[region_id] + [region_id];\t;[group_id];\t;[addr_type];\t;[src_ip];\t;[mask_src_ip];\t;[src_port];\t;[mask_src_port];\t;[dst_ip];\t;[mask_dst_ip];\t;[dst_port];\t;[mask_dst_port];\t;[protocol];\t;[direction];\t;[is_valid];\t;[op_time] + + + EFFECTIVE_RULE;:;{str_region_table_name};,;[region_id] + [region_id];\t;[group_id];\t;[keywords];\t;[expr_type];\t;[match_method];\t;[is_hexbin];\t;[is_valid];\t;[op_time] + + + EFFECTIVE_RULE;:;{str_str_region_table_name};,;[region_id] + [region_id];\t;[group_id];\t;[keywords];\t;[expr_type];\t;[match_method];\t;[is_hexbin];\t;[is_valid];\t;[op_time] + + + EFFECTIVE_RULE;:;{num_region_table_name};,;[region_id] + [region_id];\t;[group_id];\t;[low_boundary];\t;[up_boundary];\t;[is_valid];\t;[op_time] + + + EFFECTIVE_RULE;:;{digest_region_table_name};,;[region_id] + [region_id];\t;[group_id];\t;[raw_len];\t;[digest];\t;[cfds_level];\t;[is_valid];\t;[op_time] + + + MAAT_UPDATE_STATUS + + + + + MAAT_RULE_TIMER + + + + MAAT_VERSION_TIMER + + + + + 1 + MAAT_VERSION + + + + + - + - + - + - + - + - + - + - + - + diff --git a/src/main/resources/serviceTable.properties b/src/main/resources/serviceTable.properties index 5599b69..103bf54 100644 --- a/src/main/resources/serviceTable.properties +++ b/src/main/resources/serviceTable.properties @@ -93,7 +93,7 @@ unMaatService=3:32;4:96;25:32;28:32;29:32;261:16;262:16;263:16;264:16;265:16;266 ##各业务类型对应的redisdb,业务类型:redisdb,多个业务以“;”分隔,多个db以“,”数量不能超过6个 #serviceDBIndex=3:2,3;1:2;80:2;81:2;82:2;83:2;84:2;85:2;144:2;145:2;146:2;147:2;148:2;149:2;96:3;97:3;98:3;99:3;160:3,4;161:3;162:3;163:3;100:3;101:3;164:3;165:3 -serviceDBIndex=1:2,3,4;2:2,3,4;16:2;17:2;18:2;19:2;20:2;21:2;22:2;23:2;24:2;26:2;27:2;30:2;31:2;128:2;129:2;130:2;131:2;132:2;133:2;134:2;135:2;136:2;137:2;138:2;139:2;140:2;141:2;256:2;257:2;258:2;259:2;260:2;384:2;385:2;386:2;387:2;388:2;512:2;513:2;528:2;529:2;544:2;545:2;560:2;561:2; +serviceDBIndex=1:2,3,4;2:2,3,4;16:2;17:2;18:2;19:2;20:2;21:2;22:2;23:2;24:2;26:2;27:2;30:2;31:2;128:2;129:2;130:2;131:2;132:2;133:2;134:2;135:2;136:2;137:2;138:2;139:2;140:2;141:2;256:2;257:2;258:2;259:2;260:2;384:2;385:2;386:2;387:2;388:2;512:2;513:2;528:2;529:2;544:2;545:2;560:2;561:2;3:5;4:5;25:5;28:5;29:5;261:5;262:5;263:5;264:5;265:5;266:5;389:5;390:5;391:5;392:5;393:5;394:5;