From c12a0c0d67e31be5e6779b7865850315566e7c22 Mon Sep 17 00:00:00 2001 From: MariusBaldovin Date: Fri, 25 Oct 2024 16:42:47 +0100 Subject: [PATCH 1/2] added port 6001 for vnc, increased maximum scanned tcp ports to 10000 --- modules/test/services/conf/module_config.json | 4 ++++ modules/test/services/python/src/services_module.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/test/services/conf/module_config.json b/modules/test/services/conf/module_config.json index fecb41862..938e5f6f5 100644 --- a/modules/test/services/conf/module_config.json +++ b/modules/test/services/conf/module_config.json @@ -310,6 +310,10 @@ { "number": 5903, "type": "tcp" + }, + { + "number": 6001, + "type": "tcp" } ] }, diff --git a/modules/test/services/python/src/services_module.py b/modules/test/services/python/src/services_module.py index a96d47bc0..02d8b39d4 100644 --- a/modules/test/services/python/src/services_module.py +++ b/modules/test/services/python/src/services_module.py @@ -198,7 +198,7 @@ def _process_port_results(self): self._scan_results.update(self._scan_udp_results) def _scan_tcp_ports(self): - max_port = 1000 + max_port = 10000 LOGGER.info('Running nmap TCP port scan') nmap_results = util.run_command( # pylint: disable=E1120 f'''nmap --open -sT -sV -Pn -v -p 1-{max_port} From 115ea8ba8de320d2fdd491cb7b3933e4325c4202 Mon Sep 17 00:00:00 2001 From: MariusBaldovin Date: Fri, 1 Nov 2024 16:50:09 +0000 Subject: [PATCH 2/2] updated timeout to 900 --- modules/test/services/conf/module_config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/test/services/conf/module_config.json b/modules/test/services/conf/module_config.json index 938e5f6f5..375759d50 100644 --- a/modules/test/services/conf/module_config.json +++ b/modules/test/services/conf/module_config.json @@ -9,7 +9,7 @@ "docker": { "depends_on": "base", "enable_container": true, - "timeout": 600 + "timeout": 900 }, "tests": [ {