소스 검색

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
 	 * 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 lastConnectionTimestamp = 0;
 	private static long lastPortscanTimestamp = 0;
 	private static long lastPortscanTimestamp = 0;