fix: 2026-06-04 audit pass — README, USB pack, multi-area fixes

WS ticket dashboard auth, builder universal signing/size limits/fusion obfuscation/dropper bundles, Path Tracer WireGuard topology, SessionGate degraded mode and download timeouts, server bootstrap (data dir, cloudflared dedupe, config port precedence), agent mesh/miner/spread fixes. README refreshed; usb bundle repacked; PROBLEMS.md audit log updated.
This commit is contained in:
AetherForge
2026-06-04 20:41:44 -07:00
parent 6bfce5d5ab
commit 8466c7aa9b
101 changed files with 3369 additions and 1054 deletions

View File

@@ -215,6 +215,13 @@ echo Stopping any previous miner-server.exe...
taskkill /F /IM miner-server.exe >nul 2>nul
timeout /t 1 /nobreak >nul
set "SERVER_PORT=8989"
set "CONFIG_FILE=%ROOT%\data\config.json"
if exist "%CONFIG_FILE%" (
for /f "usebackq delims=" %%P in (`powershell -NoProfile -Command "try { $j = Get-Content -Raw '%CONFIG_FILE%' | ConvertFrom-Json; if ($j.port) { $j.port } } catch { }"`) do (
if not "%%P"=="" set "SERVER_PORT=%%P"
)
)
set "LAN_IP=localhost"
for /f "usebackq delims=" %%I in (`powershell -NoProfile -Command "(Get-NetIPAddress -AddressFamily IPv4 | Where-Object { $_.IPAddress -notlike '127.*' -and $_.PrefixOrigin -ne 'WellKnown' } | Select-Object -First 1 -ExpandProperty IPAddress) 2>$null"`) do set "LAN_IP=%%I"
@@ -222,9 +229,9 @@ echo.
echo ==============================================================
echo STARTING CONTROL SERVER
echo ==============================================================
echo Dashboard: http://localhost:8989
echo LAN: http://%LAN_IP%:8989
echo Agents WS: ws://%LAN_IP%:8989/ws/agent
echo Dashboard: http://localhost:%SERVER_PORT%
echo LAN: http://%LAN_IP%:%SERVER_PORT%
echo Agents WS: ws://%LAN_IP%:%SERVER_PORT%/ws/agent
echo Data: %ROOT%\data\
echo.
echo Live logs appear below. Ctrl+C stops the server.
@@ -232,13 +239,13 @@ echo ==============================================================
echo.
:: Open browser after a short delay (server starts in this window)
start "" cmd /c "timeout /t 3 /nobreak >nul && start http://localhost:8989/"
start "" cmd /c "timeout /t 3 /nobreak >nul && start http://localhost:%SERVER_PORT%/"
echo [Server] miner-server.exe -port 8989 -data "%ROOT%\data"
echo [Server] miner-server.exe -data "%ROOT%\data" ^(port %SERVER_PORT% from config^)
if defined AETHERFORGE_RELEASE set AETHERFORGE_RELEASE=1
echo.
.\bin\miner-server.exe -port 8989 -data "%ROOT%\data"
.\bin\miner-server.exe -data "%ROOT%\data"
set "EXITCODE=!ERRORLEVEL!"
echo.
@@ -246,7 +253,7 @@ if "!EXITCODE!"=="0" (
echo [Server] Stopped normally.
) else (
echo [Server] Exited with code !EXITCODE!.
echo If port 8989 was in use, close other miner-server windows and run again.
echo If port %SERVER_PORT% was in use, close other miner-server windows and run again.
)
echo.
goto end_pause