-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
28 lines (24 loc) · 980 Bytes
/
Copy path.env.example
File metadata and controls
28 lines (24 loc) · 980 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# ==========================================
# LeakRecon Configuration Environment
# ==========================================
# --- Tor Proxy Configuration ---
# Docker Compose uses the service name "torproxy" and port 9050.
# If running locally without Docker, this could be "127.0.0.1" and 9050/9150.
TOR_PROXY_HOST=torproxy
TOR_PROXY_PORT=9050
# --- Timeout Configurations ---
# Time (in seconds) to wait for responses
ONION_TIMEOUT=30
CLEARNET_TIMEOUT=15
# --- Retry and Concurrency ---
# Maximum number of network retries before failing
MAX_RETRIES=3
# Delay multiplier for subsequent retries
RETRY_BACKOFF=1.5
# Number of consecutive failures before flagging a host as dead
CIRCUIT_BREAKER_THRESHOLD=2
# Max asynchronous connections to handle simultaneously
MAX_CONCURRENCY=10
# --- Application Context ---
# User Agent spoofing for anonymity
USER_AGENT="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"