summaryrefslogtreecommitdiff
path: root/dos-detection/src/main/resources/dos-detection.properties
diff options
context:
space:
mode:
authorwanglihui <[email protected]>2022-01-05 10:57:41 +0800
committerwanglihui <[email protected]>2022-01-05 10:57:41 +0800
commit1183f783074abb37b74f5c9725a1662ad243967a (patch)
tree9b56fe13a2fd540ff001b452c3908839a4ea7348 /dos-detection/src/main/resources/dos-detection.properties
parent8aa0c9697776e0659f9938ad2e75aa9b30a0c00f (diff)
构建完整平台代码HEADmaster
Diffstat (limited to 'dos-detection/src/main/resources/dos-detection.properties')
-rw-r--r--dos-detection/src/main/resources/dos-detection.properties105
1 files changed, 0 insertions, 105 deletions
diff --git a/dos-detection/src/main/resources/dos-detection.properties b/dos-detection/src/main/resources/dos-detection.properties
deleted file mode 100644
index 2af2a12..0000000
--- a/dos-detection/src/main/resources/dos-detection.properties
+++ /dev/null
@@ -1,105 +0,0 @@
-#发送kafka metrics并行度大小
-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 event并行度大小
-kafka.output.event.parallelism=1
-
-#发送kafka event topic名
-kafka.output.event.topic.name=dos-test
-
-#zookeeper地址
-hbase.zookeeper.quorum=192.168.44.12:2181
-#hbase.zookeeper.quorum=192.168.44.11:2181,192.168.44.14:2181,192.168.44.15:2181
-
-#hbase客户端处理时间
-hbase.client.operation.timeout=30000
-hbase.client.scanner.timeout.period=30000
-
-##hbase baseline表名
-hbase.baseline.table.name=dos:ddos_traffic_baselines
-
-#读取baseline限制
-hbase.baseline.total.num=1000000
-
-#baseline ttl,单位:天
-hbase.baseline.ttl=30
-
-#设置聚合并行度,2个key
-flink.first.agg.parallelism=1
-
-#设置结果判定并行度
-flink.detection.map.parallelism=1
-
-#watermark延迟
-flink.watermark.max.orderness=10
-
-#计算窗口大小,默认600s
-flink.window.max.time=10
-
-#dos event结果中distinct source IP限制
-source.ip.list.limit=10000
-
-#基于目的IP的分区数,默认为10000,一般不变
-destination.ip.partition.num=10000
-
-data.center.id.num=15
-
-#IP mmdb库路径
-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
-
-#bifang服务访问地址
-#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
-
-#加密密码路径信息
-bifang.server.encryptpwd.path=/v1/user/encryptpwd
-
-#登录bifang服务路径信息
-bifang.server.login.path=/v1/user/login
-
-#获取静态阈值路径信息
-bifang.server.policy.threshold.path=/v1/policy/profile/DoS/detection/threshold
-
-#http请求相关参数
-#最大连接数
-http.pool.max.connection=400
-
-#单路由最大连接数
-http.pool.max.per.route=80
-
-#向服务端请求超时时间设置(单位:毫秒)
-http.pool.request.timeout=60000
-
-#向服务端连接超时时间设置(单位:毫秒)
-http.pool.connect.timeout=60000
-
-#服务端响应超时时间设置(单位:毫秒)
-http.pool.response.timeout=60000
-
-#获取静态阈值周期,默认十分钟
-static.threshold.schedule.minutes=10
-
-#获取baseline周期,默认7天
-baseline.threshold.schedule.days=1 \ No newline at end of file