- Root cause: jshn overhead + subshell issues with piped while loops - Solution: Direct JSON output with printf, temp file for vhosts - Deployed ACL file for LuCI authentication - Handler now returns 226 vhosts in <10 seconds Also: - Added ROADMAP.md with version milestones and dependency graph - Updated WIP.md with today's completed tasks Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
5.7 KiB
5.7 KiB
Work In Progress (Claude)
Last updated: 2026-03-07 (Vhosts-Checker Fix, ROADMAP.md Generation)
Architecture Reference: SecuBox Fanzine v3 — Les 4 Couches
Recently Completed
2026-03-07
-
Vhosts-Checker RPCD Fix
- Fixed XHR timeout issue in LuCI dashboard
- Root cause: jshn overhead for 226 vhosts + subshell issues with pipes
- Solution: Direct JSON output with printf, temp file instead of pipes
- Deployed ACL file for authentication
-
ROADMAP.md Generation
- Created comprehensive roadmap from WIP and HISTORY analysis
- Version milestones: v0.19 → v0.20 → v0.21 → v0.22 → v1.0
- Critical path analysis and dependency graph
- Resource requirements and risk register
-
Avatar-Tap Session Capture & Replay
- Backend:
secubox-avatar-tap- passive network tap via mitmproxy - CLI:
avatar-tapctlwith start/stop/list/replay/label/delete commands - LuCI:
luci-app-avatar-tapKISS dashboard with session table - Features: Cookie/auth header capture, session replay, SQLite storage
- Runs in Streamlit LXC container on port 8889
- Future: Nitrokey/GPG integration for secure replay authorization
- Backend:
-
PhotoPrism Photo Gallery Deployment
- Linked /mnt/PHOTO (673GB, 391k photos) to PhotoPrism originals
- Fixed HFS+ read-only mount issue (sidecar writes to storage/)
- Indexing in progress: HEIC conversion, thumbnail generation, AI labels
- HAProxy vhost + SSL cert for photos.gk2.secubox.in
-
Service Fixes & HAProxy Vhosts
- Fixed Lyrion music mount: /mnt/MUSIC (1.6TB) now accessible
- Fixed Portal routing (was 503, now working)
- Added missing vhosts: lyrion.gk2.secubox.in, streamlit.gk2.secubox.in
- Requested and installed SSL certs for all 3 new domains
- Fixed ACME webroot configuration (uhttpd home path)
-
Source Code Updates
- Updated default paths: Lyrion→/mnt/MUSIC, PhotoPrism→/mnt/PHOTO
- Committed and pushed to master
2026-03-06
-
PhotoPrism Private Photo Gallery
- Backend:
secubox-app-photoprismwith LXC container (Debian Bookworm) - CLI:
photoprismctlwith install/start/stop/index/import/emancipate commands - LuCI:
luci-app-photoprismKISS dashboard with stats and actions - Features: AI face recognition, object detection, places/maps
- HAProxy integration via mitmproxy (WAF-safe, no bypass)
- SQLite database (simpler, no external DB), FFmpeg transcoding, HEIC support
- Dependencies: libvips42 for image processing
- Backend:
-
AI Gateway
/loginCommand- CLI:
aigatewayctl login [provider]- Interactive or scripted provider authentication - Validates credentials against provider API before saving
- Rollback on validation failure (preserves previous credentials)
- Format warnings: Claude keys should start with
sk-ant-, OpenAI withsk- - RPCD:
loginmethod for LuCI frontend integration - ACL: Added write permission for
loginmethod
- CLI:
2026-03-04
-
SBOM Pipeline for CRA Annex I Compliance
scripts/check-sbom-prereqs.sh- Prerequisites validationscripts/sbom-generate.sh- Multi-source SBOM generationscripts/sbom-audit-feed.sh- PKG_HASH/PKG_LICENSE feed audit.github/workflows/sbom-release.yml- GitHub Actions with CVE gatingSECURITY.md- CRA Art. 13 §6 compliant vulnerability disclosure
-
AI Gateway Full-Stack Implementation
- 3-tier data classification: LOCAL_ONLY, SANITIZED, CLOUD_DIRECT
- Provider routing: LocalAI > Mistral EU > Claude > OpenAI > Gemini > xAI
aigatewayctlCLI with classify/sanitize/provider/audit commandsluci-app-ai-gatewaywith 4 KISS-themed views
2026-03-03
-
Comprehensive Service Audit
- WAF Enforcement: Disabled
waf_bypasson 21 vhosts - Container Autostart: Enabled on 9 essential containers
- Glances Fix: Resolved cgroup mount issue
- 18 LXC Containers Running
- WAF Enforcement: Disabled
-
Vortex DNS Firewall Phases 1-4
- Threat intel aggregator, SQLite blocklist, dnsmasq integration
- HTTP/HTTPS sinkhole server for infected client detection
- DNS Guard AI detection integration
- Mesh threat sharing via secubox-p2p blockchain
-
Image Builder Validation
- Validated
secubox-image.sh,secubox-sysupgrade.sh - Fixed curl redirect issue: Added
-Lflag
- Validated
2026-03-02
- Reverse MWAN WireGuard v2 - Phase 2
- LuCI Dashboard for Mesh Uplinks
- 9 RPC methods for uplink management
- 10-second live polling
2026-03-01
-
Reverse MWAN WireGuard v2 - Phase 1
- WireGuard mesh peers as backup internet uplinks via mwan3 failover
wgctlCLI: uplink list/add/remove/status/test/failover- UCI config for global and per-uplink settings
-
Nextcloud Integration Enhancements
- WAF-safe SSL routing, scheduled backups, SMTP integration
- CalDAV/CardDAV/WebDAV connection info display
In Progress
- Vortex DNS - Meshed multi-dynamic subdomain delegation (DONE 2026-02-05)
secubox-vortex-dnspackage withvortexctlCLI- Master/slave hierarchical DNS delegation
- Wildcard domain management
Next Up
v1.1+ Extended Mesh
- WAF Auto-Ban Tuning (optional, as-needed)
- Sensitivity threshold adjustment based on production traffic
Backlog
- SSMTP / mail host / MX record management (v2)
Strategic Documents
SecuBox_LocalAI_Strategic_Analysis.html— AI Management Layer roadmapSecuBox_AI_Gateway_Hybrid_Architecture.html— Hybrid Local/Cloud architectureSecuBox_MirrorNetworking_Paradigm_Reversal.html— EnigmaBox autopsy → MirrorNetSecuBox_Fanzine_v3_Feb2026.html— 4-layer architecture overview
Blockers / Risks
- No automated regression tests for LuCI views; manual verification required after SCP deploy.
- Guacamole ARM64 pre-built binaries not readily available.