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
This commit is contained in:
Reditus committed 2026-05-21 06:33:48 +01:00
1 parent 18a3253879
commit c57e6572a9
13 files changed
+131 -499

No files matched your search

+2 -1
View File
@@ -40,7 +40,8 @@ class SSHService:
self._client = None
client = paramiko.SSHClient()
client.set_missing_host_key_policy(paramiko.WarningPolicy())
client.set_missing_host_key_policy(paramiko.AutoAddPolicy())
logger.debug("SSH host key verification policy set to AutoAddPolicy")
connect_kwargs = {
'hostname': self.host,