浏览代码

increased portscan timeout threshold

Fabio Arnold 9 年之前
父节点
当前提交
e7d185ac1c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/de/tudarmstadt/informatik/hostage/ConnectionGuard.java

+ 1 - 1
src/de/tudarmstadt/informatik/hostage/ConnectionGuard.java

@@ -17,7 +17,7 @@ public class ConnectionGuard {
 	/**
 	 * Intervall between 2 connection in wich we assume a port scan
 	 */
-	public final static long TIMESTAMP_THRESHOLD_MS = 1000;
+	public final static long TIMESTAMP_THRESHOLD_MS = 60000;
 
 	private static long lastConnectionTimestamp = 0;
 	private static long lastPortscanTimestamp = 0;