docs: Update tracking files for mitmproxy WAF dashboard fix

- Added mitmproxy WAF data path fix to WIP.md and HISTORY.md
- RPCD now reads from /srv/mitmproxy-in for correct threat stats

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
CyberMind-FR 2026-02-15 10:35:01 +01:00
parent 42d85c4d0f
commit 491120609b
2 changed files with 18 additions and 1 deletions

View File

@ -1830,3 +1830,13 @@ git checkout HEAD -- index.html
- **Fixed** `secubox-evolution` repo which was public → now private
- **API call**: `PATCH /api/v1/repos/gandalf/secubox-evolution` with `{"private":true}`
- All 30 Gitea repos now private
### 2026-02-15: Mitmproxy WAF Dashboard Data Path Fix
- **Fixed** RPCD handler reading from wrong data path
- Was reading from `/srv/mitmproxy` (outbound instance, no threats)
- Now reads from `/srv/mitmproxy-in` (WAF input instance)
- **Added** `WAF_DATA_PATH` constant for clarity
- **Updated methods**: get_status, get_alerts, get_threat_stats, get_subdomain_metrics, clear_alerts
- **Fixed** container running check to detect mitmproxy-in and mitmproxy-out
- **Result**: Dashboard now shows 997 threats today, 29 pending autobans
- **Committed**: 42d85c4d

View File

@ -1,6 +1,6 @@
# Work In Progress (Claude)
_Last updated: 2026-02-15 (Mailserver gk2 restore + Gitea privacy fix)_
_Last updated: 2026-02-15 (Mitmproxy WAF dashboard data path fix)_
> **Architecture Reference**: SecuBox Fanzine v3 — Les 4 Couches
@ -95,6 +95,13 @@ _Last updated: 2026-02-15 (Mailserver gk2 restore + Gitea privacy fix)_
- Same password hash preserved (no password change needed)
- Note: Maildir was already empty in backup (emails lost before Feb 6)
- **Mitmproxy WAF Dashboard Data Path Fix** — DONE (2026-02-15)
- Dashboard was showing 0 threats because RPCD read from `/srv/mitmproxy` (out)
- Fixed to read from `/srv/mitmproxy-in` (WAF input instance)
- Now displays correct stats: 997 threats today, 29 pending autobans
- Updated: get_status, get_alerts, get_threat_stats, get_subdomain_metrics
- Committed: 42d85c4d
- **PeerTube Video Platform Package** — DONE (2026-02-15)
- Created `secubox-app-peertube` package for self-hosted video streaming
- LXC Debian Bookworm container with PostgreSQL 15, Redis 7, Node.js 18, FFmpeg