Commit Graph

5 Commits

Author SHA1 Message Date
9ce67f2da5 fix: Use correct UCI section types in SecuBox settings view (v0.6.0-r12)
- Changed form sections from type 'secubox' to match actual UCI config
- General/Dashboard/Module/Notification sections now use type 'core'
- Alert Thresholds section now uses type 'diagnostics'
- Security Settings section now uses type 'security'
- Advanced Settings section uses type 'core'
- Fixes "This section contains no values yet" errors

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-07 12:18:18 +01:00
7df75ad5d1 chore(luci-app-secubox-netifyd): Remove unnecessary collector
Netifyd crée nativement /var/run/netifyd/status.json avec toutes
les stats nécessaires. Le collecteur custom n'est plus nécessaire.

Supprimé:
- /usr/sbin/netifyd-collector
- /etc/cron.d/netifyd-collector
- Installation dans Makefile

Le backend RPC lit maintenant directement le fichier natif de netifyd.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-05 18:52:19 +01:00
2b695b475e fix(luci-app-secubox-netifyd): Collector sans socket v1.0.2
Modifié le collecteur pour fonctionner sans socket Unix.
Parse netifyd -s + table ARP + stats réseau.

- Supprimé dépendance socat
- Parse netifyd -s pour metrics
- Utilise ARP pour device count
- Calcule bytes depuis /sys/class/net
- Mis à jour RPC pour device_count et total_bytes

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-05 18:38:36 +01:00
82d2e8575d feat(luci-app-secubox-netifyd): Add data collector for metrics v1.0.2
Added netifyd-collector daemon to aggregate real-time statistics from
netifyd and populate the dashboard with actual data.

New Features:
- Added /usr/sbin/netifyd-collector script
  - Queries netifyd socket for flow data
  - Aggregates devices, applications, protocols
  - Writes /var/run/netifyd/status.json
  - Runs every minute via cron

- Added /etc/cron.d/netifyd-collector cron job

- Added socat dependency for socket communication

Changes:
- Bumped version to 1.0.2
- Updated Makefile to install collector and cron job
- Fixed dashboard empty metrics issue:
  * Unique Devices will now show count
  * Applications will now show count
  * Total Traffic will now show bytes

This fixes the "0" values issue in dashboard Network Statistics.
Dashboard will now show real metrics after 1 minute of netifyd running.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-05 18:29:16 +01:00
8fcd34abd0 feat: Netifyd Integration & Build System Improvements (v0.9.1)
Major updates:
- Replace luci-app-netifyd-dashboard with enhanced luci-app-secubox-netifyd
- Add netifyd 5.2.1 package with GCC 13.3/C++17 build fixes
- Fix nd-risks.cpp compilation errors via inline static maps patch
- Enhance local-build.sh with improved package building workflow
- Update secubox-core scripts version to v0.9.1

New Features:
- Complete netifyd dashboard with flows, devices, applications, and settings
- Local data collection with netifyd-collector
- Automated cron-based data aggregation
- RPCd integration for real-time statistics

Build Fixes:
- Patch 001: Fix C++17 inline static maps in nd-risks.hpp and nd-protos.hpp
- Patch 003: Skip ndpi tests to resolve roaring_v2 dependency issues
- Add libatomic dependency
- Include libnetifyd shared libraries in package

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-05 17:35:11 +01:00