Commit Graph
21 Commits
Author SHA1 Message Date
Reditus 7c7e655de7 Fix: query world_partition for active server IDs 2026-05-15 02:56:18 +01:00
Reditus 7bfcafdaf6 Security: add @auth_req to unprotected endpoints, lower admin rate limits 2026-05-15 02:46:27 +01:00
Reditus c74ef9cf9c Update to latest version 2026-05-15 02:18:17 +01:00
Reditus 7125e29993 Merge branch 'nightly' 2026-05-15 02:13:17 +01:00
Reditus 9bc68c6d4f Security fixes: add authentication to unprotected endpoints, replace deprecated Flask-Talisman, fix session cookie, add WebSocket auth check, improve error handling 2026-05-14 23:04:18 +01:00
Reditus 5fddd72e69 Restore @auth_req decorators to all API endpoints 2026-05-14 22:22:17 +01:00
Reditus 9c34ccb327 Restore @auth_req decorators to all API endpoints
- Re-added conditional @auth_req decorator to all 38+ unprotected endpoints
- Ensures login required when auth.enabled=true, works without auth when disabled
2026-05-14 22:22:11 +01:00
Reditus 361c6fcf2f Fix: Add CSRF token to login form and make auth conditional
- Added csrf_token hidden input to login.html for regular form POST
- Made @login_required conditional on auth.enabled setting so dashboard works without auth enabled
- Now supports both auth-enabled and auth-disabled modes
2026-05-14 09:48:00 +01:00
Reditus 9f56c3943e Security: Add @login_required to all API endpoints and CSRF protection
- Added @login_required decorator to all 38 unprotected API endpoints
- Initialized Flask-WTF CSRFProtect in app factory
- Added CSRF token meta tag to base.html
- Added JavaScript fetch interceptor to attach X-CSRFToken header to all non-GET requests
- Closes critical security vulnerability where any unauthenticated user could perform administrative actions
2026-05-14 09:03:14 +01:00
Reditus 0418fba37c fix: use NodePort (30822) for director API instead of local tunnel port 2026-05-14 05:29:14 +01:00
Reditus 67ad94ea26 fix: firewall block/unblock in INPUT, FORWARD, and mangle PREROUTING chains; combine SSH calls to avoid timeouts; check actual iptables rules instead of settings config 2026-05-14 00:37:45 +01:00
Reditus ae86251196 fix: firewall block/unblock in both INPUT and FORWARD chains for Kubernetes traffic 2026-05-14 00:08:34 +01:00
Reditus f7bcbb81b4 fix: firewall unblock error handling - combine stdout/stderr, handle Bad rule error 2026-05-13 23:42:17 +01:00
Reditus b7e2b6ccf9 feat: firewall security - block unauthenticated game server ports 2026-05-13 23:16:50 +01:00
Reditus 290271a4f9 cleanup: remove admin page, add fuel keywords to vehicle API, ignore temp scripts and AI docs 2026-05-13 22:05:05 +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 f22f3bdf8d Release beta: Remote access, auto-update, settings migration, and login security 2026-05-12 05:51:33 +01:00
Reditus 51252b7f98 Fix VERSION comparison and add debug values to check endpoint 2026-05-12 04:17:45 +01:00
Reditus 0f75258405 Fix update checker to force fresh check on button click 2026-05-12 03:51:25 +01:00
Reditus b2464c2912 Restore missing update API routes in api.py 2026-05-12 03:40:16 +01:00
Reditus 59cc98133c Initial release - Dune Awakening Dashboard beta 2026-05-12 01:02:58 +01:00