Skip to content

reconFTW is a tool designed to perform automated recon on a target domain by running the best set of tools to perform scanning and finding out vulnerabilities

feat(01-03): default DNS timeouts to 6h/4h, ship parallel timeout knobs

six2dezb70b3ad11e0b
diff --git a/reconftw.cfg b/reconftw.cfg
index 80f063c..e8a709c 100644
--- a/reconftw.cfg
+++ b/reconftw.cfg
@@ -310,6 +310,13 @@ PARALLEL_PROGRESS_SHOW_ETA=true # Show ETA in live progress once estimate is sta
PARALLEL_PROGRESS_SHOW_ACTIVE=true # Show active tasks list in live parallel progress
PARALLEL_PROGRESS_COMPACT_ACTIVE_MAX=4 # Max active/done items shown before compacting with "+N more"
PARALLEL_TRACE_SLOW_SECONDS=30 # In balanced mode, show finished-line for jobs slower than this threshold
+# Per-job timeout (RESIL-03 / D-11..D-14). Default 0 = disabled (opt-in); suggested values:
+# 3600 (1h) for long unattended scans, 600 (10min) for CI smoke runs.
+# When > 0, parallel_funcs heartbeat sends SIGTERM after the threshold and SIGKILL after
+# PARALLEL_KILL_GRACE_SECONDS if the job ignores TERM. Applies to both local and axiom jobs.
+# Actual kill latency is the threshold + ~1s (heartbeat poll cadence) + PARALLEL_KILL_GRACE_SECONDS before SIGKILL.
+PARALLEL_JOB_TIMEOUT_SECONDS=0 # 0 disables; e.g. 3600 for long scans, 600 for CI
+PARALLEL_KILL_GRACE_SECONDS=10 # Seconds between TERM and KILL when enforcing PARALLEL_JOB_TIMEOUT_SECONDS
# Parallel batch sizing per module group (effective concurrency is still capped by PARALLEL_MAX_JOBS and backpressure)
PAR_OSINT_GROUP1_SIZE=5
@@ -384,8 +391,8 @@ LFI_FOLLOW_REDIRECTS=false # Follow redirects during LFI fuzzing
HTTPX_TIMEOUT=10 # Seconds
HTTPX_UNCOMMONPORTS_TIMEOUT=10 # Seconds
PERMUTATIONS_LIMIT=2147483648 # Bytes, default is 2 GB (prevents accidental disk exhaustion)
-DNS_BRUTE_TIMEOUT=0 # timeout/gtimeout duration for DNS bruteforce (0 disables hard-timeout, e.g. 4h)
-DNS_RESOLVE_TIMEOUT=0 # timeout/gtimeout duration for DNS resolve (0 disables hard-timeout, e.g. 6h)
+DNS_BRUTE_TIMEOUT=6h # timeout/gtimeout duration for DNS bruteforce (0 disables hard-timeout). Default protects against hung resolvers.
+DNS_RESOLVE_TIMEOUT=4h # timeout/gtimeout duration for DNS resolve (0 disables hard-timeout). Default protects against hung resolvers.
DNS_HEARTBEAT_INTERVAL_SECONDS=20 # Progress heartbeat interval for long DNS jobs
WAF_PER_HOST_TIMEOUT=120 # Seconds: per-host timeout for wafw00f via interlace (0 = no timeout)
EXIFRAY_TIMEOUT=30 # Seconds: HTTP timeout per request for exifray