From 906bf6f5493f185bdb370918a6911f9bd68cfeac Mon Sep 17 00:00:00 2001 From: CyberMind-FR Date: Wed, 28 Jan 2026 13:13:10 +0100 Subject: [PATCH] feat: Add HTTP health checks, portal speedtest, and fix cert detection - metablogizer: Add HTTP health checks for backend (uhttpd) and frontend (HAProxy) - metablogizer: Fix BusyBox-compatible certificate expiry detection using openssl checkend - secubox-portal: Add speed test widget with ping/download/upload measurement - tor-shield: Fix settings save ensuring UCI sections exist - cdn-cache: UI improvements and restructure - streamlit: Fix port conflict (sappix now uses 8503) - secubox-core: Add proxy mode detection - security-threats: Dashboard improvements - haproxy: Init.d and Makefile updates PKG_RELEASE bumps: - luci-app-cdn-cache: 3 - luci-app-metablogizer: 2 - luci-app-secubox-portal: 2 - luci-app-secubox-security-threats: 2 - luci-app-secubox: 4 - luci-app-streamlit: 9 - luci-app-tor-shield: 2 - secubox-app-haproxy: 23 - secubox-core: 6 Co-Authored-By: Claude Opus 4.5 --- CLAUDE.md | 27 ++ package/secubox/luci-app-cdn-cache/Makefile | 2 +- .../luci-static/resources/cdn-cache/nav.js | 12 +- .../resources/view/cdn-cache/overview.js | 25 +- .../resources/view/cdn-cache/settings.js | 14 +- .../share/luci/menu.d/luci-app-cdn-cache.json | 16 +- .../secubox/luci-app-metablogizer/Makefile | 2 +- .../root/usr/libexec/rpcd/luci.metablogizer | 211 +++++++++- .../secubox/luci-app-secubox-portal/Makefile | 2 +- .../resources/view/secubox-portal/index.js | 361 +++++++++++++++++- .../Makefile | 2 +- .../rpcd/luci.secubox-security-threats | 26 +- package/secubox/luci-app-secubox/Makefile | 2 +- .../share/rpcd/acl.d/luci-app-secubox.json | 7 +- package/secubox/luci-app-streamlit/Makefile | 2 +- .../resources/streamlit/dashboard.css | 91 +++++ .../resources/view/streamlit/overview.js | 99 ++++- package/secubox/luci-app-tor-shield/Makefile | 2 +- .../root/usr/libexec/rpcd/luci.tor-shield | 29 ++ package/secubox/secubox-app-haproxy/Makefile | 20 +- .../files/etc/init.d/haproxy | 27 ++ package/secubox/secubox-core/Makefile | 2 +- .../root/usr/libexec/rpcd/luci.secubox | 130 +++++++ 23 files changed, 1021 insertions(+), 90 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 2f8a08f1..ec8cb448 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -43,6 +43,33 @@ When checking if a port is listening, use this order of fallbacks: ## Build & Sync Workflow +### CRITICAL: Sync Local Feed Before Building +- **ALWAYS sync the local-feed before building packages from edited source trees** +- The build system uses `secubox-tools/local-feed/` NOT `package/secubox/` directly +- If you edit files in `package/secubox//`, those changes won't be built unless synced + +**Before building after edits:** +```bash +# Option 1: Sync specific package to local-feed +rsync -av --delete package/secubox// secubox-tools/local-feed// + +# Option 2: Sync all SecuBox packages +for pkg in package/secubox/*/; do + name=$(basename "$pkg") + rsync -av --delete "$pkg" "secubox-tools/local-feed/$name/" +done + +# Then build +./secubox-tools/local-build.sh build +``` + +**Quick deploy without rebuild (for RPCD/shell scripts):** +```bash +# Copy script directly to router for testing +scp package/secubox//root/usr/libexec/rpcd/