diff --git a/pom.xml b/pom.xml index 52bd475..cb05963 100644 --- a/pom.xml +++ b/pom.xml @@ -227,16 +227,30 @@ - - - - - - com.alibaba.nacos nacos-client 1.2.0 + + + com.fasterxml.jackson.core + jackson-databind + + + com.google.guava + guava + + + commons-codec + commons-codec + + + + + + commons-codec + commons-codec + 1.11 @@ -244,7 +258,19 @@ junit 4.12 + + + com.fasterxml.jackson.core + jackson-databind + 2.9.10 + + + + com.google.guava + guava + 22.0 + diff --git a/src/main/resources/common.properties b/src/main/resources/common.properties index 7237611..0a5212f 100644 --- a/src/main/resources/common.properties +++ b/src/main/resources/common.properties @@ -22,15 +22,15 @@ kafka.input.group.id=2112080949 kafka.output.metric.parallelism=1 #发送kafka metrics topic名 -#kafka.output.metric.topic.name=TRAFFIC-TOP-DESTINATION-IP-METRICS -kafka.output.metric.topic.name=test +kafka.output.metric.topic.name=TRAFFIC-TOP-DESTINATION-IP-METRICS +#kafka.output.metric.topic.name=test #发送kafka event并行度大小 kafka.output.event.parallelism=1 #发送kafka event topic名 -#kafka.output.event.topic.name=DOS-EVENT -kafka.output.event.topic.name=storm-dos-test +kafka.output.event.topic.name=DOS-EVENT +#kafka.output.event.topic.name=storm-dos-test #kafka输出地址 kafka.output.bootstrap.servers=192.168.44.12:9094 @@ -78,22 +78,22 @@ ip.mmdb.path=D:\\data\\dat\\ #ip.mmdb.path=/home/bigdata/topology/dat/ #ip.mmdb.path=/home/bigdata/wlh/topology/dos-detection/dat/ -#静态敏感阈值,速率小于此值不报警 -static.sensitivity.threshold=500 - -#基线敏感阈值 -baseline.sensitivity.threshold=0.2 - -#基于baseline判定dos攻击的上下限 -baseline.sessions.minor.threshold=0.5 -baseline.sessions.warning.threshold=1 -baseline.sessions.major.threshold=2.5 -baseline.sessions.severe.threshold=5 -baseline.sessions.critical.threshold=8 +##静态敏感阈值,速率小于此值不报警 +#static.sensitivity.threshold=500 +# +##基线敏感阈值 +#baseline.sensitivity.threshold=0.2 +# +##基于baseline判定dos攻击的上下限 +#baseline.sessions.minor.threshold=0.5 +#baseline.sessions.warning.threshold=1 +#baseline.sessions.major.threshold=2.5 +#baseline.sessions.severe.threshold=5 +#baseline.sessions.critical.threshold=8 #bifang服务访问地址 -#bifang.server.uri=http://192.168.44.72:80 -bifang.server.uri=http://192.168.44.3:80 +bifang.server.uri=http://192.168.44.72:80 +#bifang.server.uri=http://192.168.44.3:80 #访问bifang只读权限token,bifang内置,无需修改 bifang.server.token=ed04b942-7df4-4e3d-b9a9-a881ca98a867 @@ -142,10 +142,10 @@ sasl.jaas.config.password=6MleDyA3Z73HSaXiKsDJ2k7Ys8YWLhEJ sasl.jaas.config.flag=1 #nacos配置 -nacos.server.addr=192.168.44.12:8848 -nacos.namespace=flink +nacos.server.addr=192.168.40.42:8848 +nacos.namespace=prod nacos.username=nacos nacos.password=nacos -nacos.data.id=dos_baseline.properties +nacos.data.id=dos_detection.properties nacos.group=Galaxy nacos.read.timeout=5000 \ No newline at end of file