Commit Graph
10 Commits
Author SHA1 Message Date
Reditus 91944a0213 v0.7.5: silence benign log noise, graceful SSL permission errors, README trim 2026-09-22 08:38:16 +01:00
Reditus aee4028f5c v7.2: ServiceAuthToken management, backup/Server tab reorg, WIP warnings, map cleanup 2026-06-16 12:12:25 +01:00
Reditus 42eec81081 fix: SSH keepalive, director fallback, Ctrl+C handler, namespace ordering
- SSH transport keepalive (15s) + stale client cleanup for reliable reconnection
- Ctrl+C signal handler (os._exit) to bypass stuck daemon threads
- Director API fallback: SSH + wget to BGD service cluster IP (no tunnel needed)
- Namespace auto-detection moved before DirectorService creation
- Director host defaults to 127.0.0.1 (configurable via director.host)
- Connection monitor: 60s -> 30s interval
- Backup scheduler: skip if SSH unreachable instead of blocking 300s
2026-06-14 11:09:31 +01:00
Reditus c57e6572a9 Experimental branch cleanup and fixes
- Removed miner protection module, config, API routes, and UI
- Removed block_postgres firewall feature from dashboard + launcher
- Fixed SSH host key policy (WarningPolicy → AutoAddPolicy)
- Fixed kick race condition (threading.Lock for iptables)
- Tuned Argon2 password parameters (time_cost=3, memory_cost=65536)
- Added login rate-limit (10/min) + IP cooldown after 5 failed attempts
- Created scripts/db_check.py for launcher pre-flight DB check
- Updated README and .gitignore for sanitized repo state
2026-05-21 06:33:48 +01:00
Reditus 00288d93a6 Add debug logging system with full request/response logging and sanitization
- New debug logging system with auto-sanitization of sensitive data (passwords, tokens, JWTs, keys)
- Debug mode can be enabled via launcher (option 6) or Server page UI
- Debug logs written to logs/debug.log with full HTTP request/response details
- Added comprehensive page access logging (overview, players, vehicles, server, director)
- Added SSH, K8s, database, and service initialization debug logging
- Fixed miner protection console spam (now uses DEBUG level)
- Removed admin management section from server page
- Updated README with debug mode documentation
2026-05-19 06:59:46 +01:00
Reditus 27d87b3d31 Relax rate limits, reduce SSH warning noise, add step logging helpers 2026-05-16 19:50:54 +01:00
Reditus 1959a013ab Major refactor: unified launcher, paramiko SSH, DirectorService, diagnostics, and map warning banner
- Merge setup and start scripts into unified launcher (launcher.ps1 / start.sh)
  with menu: Start Dashboard, Run Setup, Run Diagnostics, Quit
- Migrate SSHService from subprocess to paramiko for connection reuse
- Extract Director API into dedicated DirectorService class
- Centralize SSH key resolution in app/utils/ssh_key.py
- Add pagination to player list (50 per page)
- Add comprehensive diagnostics with port-forward troubleshooting guide
- Add 17 new tests (43 total, all passing)
- Fix Director page loading (point to local port-forward instead of remote IP)
- Add experimental warning banner to map page with Dune-themed joke
- Remove dead Flask-Talisman dependency, upgrade cryptography to >=42.0.0
- Fix PowerShell launcher parsing errors (Unicode chars, variable delimiters)
- Update start.bat/setup.bat to point to unified launcher
2026-05-15 14:57:36 +01:00
Reditus 6161f36ea4 merge remote changes 2026-05-15 11:15:00 +01:00
Reditus 99864b4d8f feat: implement player editing, security hardening, and director proxy
- Add 7 player-edit endpoints: faction, XP, tech knowledge, currency, item edit/delete/add
- Password hashing with Argon2 (setup.ps1, setup.sh, auth.py, config.py)
- Rate limiting on all sensitive endpoints (Flask-Limiter)
- IP validation for ban/unban/kick operations
- Audit logging for admin actions
- File browser path traversal protection
- Login_required on all debug endpoints
- Director API proxy via NodePort with _director_request helper
- SSH tunnel includes director port forward in start.ps1
- Currency editing now sets exact balance instead of delta
- Fix undefined values in success alert messages
2026-05-13 20:07:37 +01:00
Reditus 59cc98133c Initial release - Dune Awakening Dashboard beta 2026-05-12 01:02:58 +01:00