Add 4 new packages implementing unified device intelligence and DNS provider API management: - secubox-app-dns-provider: dnsctl CLI with OVH, Gandi, Cloudflare adapters for DNS record CRUD, HAProxy vhost sync, propagation verification, and ACME DNS-01 wildcard certificate issuance - luci-app-dns-provider: RPCD handler + LuCI views for provider settings and DNS record management - secubox-app-device-intel: Aggregation layer merging mac-guardian, client-guardian, DHCP, P2P mesh, and exposure data with heuristic classification engine and USB/MQTT/Zigbee emulator modules - luci-app-device-intel: RPCD handler + 5 LuCI views (dashboard, devices, emulators, mesh, settings) with shared API and CSS Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1.9 KiB
1.9 KiB
secubox-app-device-intel — Continue / Next Steps
Immediate Next Steps
- Test on router: Deploy all files, verify
device-intelctl listreturns aggregated data from available sources - Test LuCI dashboard: Verify stat cards, type distribution, source chips render correctly
- Test device table: Verify filters, edit modal, detail modal work end-to-end
- Test USB emulator: Plug in USB device, verify it appears in
device-intelctl list
Phase 2: Emulator Polish
- MQTT emulator: Install mosquitto, connect test client, verify discovery
- Zigbee emulator: Configure zigbee2mqtt, pair test device, verify API discovery
- Emulator caching: Add per-module cache files with independent TTLs
- Emulator error handling: Graceful fallback when broker/bridge is unreachable
Phase 3: Cross-System Integration
- Exposure integration: Cross-reference device IPs with listening ports from /proc/net/tcp
- DNS provider flow: "Expose via DNS" button in device actions → dns-provider record creation
- CrowdSec integration: Pull threat alerts by IP → enrich device risk scores
- MAC Guardian events: Subscribe to new device events for real-time updates
Phase 4: Mesh Intelligence
- P2P device sharing: Remote RPCD call to peer nodes for their device inventories
- Aggregate mesh view: Combine local + all remote device lists
- Shared service mapping: Map devices to services they host across the mesh
- Topology visualization: Network map showing device relationships and connections
Phase 5: Advanced Classification
- Traffic analysis: Use netifyd/ndpi data for protocol-based classification
- DHCP fingerprinting: Parse DHCP options (vendor class, parameter request list) for device identification
- BLE/Thread emulators: Extend to Bluetooth LE and Thread/Matter devices
- Custom rules UI: LuCI form for creating/editing device type rules