From 4497ea00037889a432907ee66d94d6b7d6d13430 Mon Sep 17 00:00:00 2001 From: vakarisz Date: Tue, 5 Apr 2022 14:46:10 +0300 Subject: [PATCH] Agent, Island: Decrease keep_tunnel_open_time to 30 seconds --- monkey/infection_monkey/config.py | 2 +- monkey/monkey_island/cc/services/config_schema/internal.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/monkey/infection_monkey/config.py b/monkey/infection_monkey/config.py index 7b8d793cf..1f8c46311 100644 --- a/monkey/infection_monkey/config.py +++ b/monkey/infection_monkey/config.py @@ -87,7 +87,7 @@ class Configuration(object): # Configuration servers to try to connect to, in this order. command_servers = [] - keep_tunnel_open_time = 60 + keep_tunnel_open_time = 30 ########################### # testing configuration diff --git a/monkey/monkey_island/cc/services/config_schema/internal.py b/monkey/monkey_island/cc/services/config_schema/internal.py index e825a9098..86a0089ec 100644 --- a/monkey/monkey_island/cc/services/config_schema/internal.py +++ b/monkey/monkey_island/cc/services/config_schema/internal.py @@ -9,7 +9,7 @@ INTERNAL = { "keep_tunnel_open_time": { "title": "Keep tunnel open time", "type": "integer", - "default": 60, + "default": 30, "description": "Time to keep tunnel open before going down after last exploit " "(in seconds)", },