Commit Graph

3 Commits

Author SHA1 Message Date
2f85e01095 Add mDNS peer discovery, mock topology visualization, and navbar to C3BOX
mDNS Discovery:
- Implement zeroconf mDNS service registration (_secubox._udp)
- Implement peer discovery via mDNS browsing
- TXT records contain DID, role, version
- Auto-discovery of other SecuBox nodes on LAN

Topology Visualization:
- Add 7 mock nodes for demo (2 relays, 4 edges, 1 air-gapped)
- Generate edges connecting edge nodes to relays
- Force-directed layout with role-based positioning
- Node coordinates calculated based on role

C3BOX Dashboard:
- Add shared sidebar navigation (consistent with other modules)
- Responsive layout with main-content wrapper
- Air-gapped node role styling

Control Server:
- Enhanced topology endpoint with node IPs and calculated positions
- Edge generation logic for relay-link and edge-link types

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-25 08:35:09 +01:00
12fb41fd30 Add Unix socket control server for secuboxd CLI communication
Implement control server at /run/secuboxd/topo.sock for secuboxctl:
- internal/control/server.go: Unix socket server with command handling
- Commands: mesh.status, mesh.peers, mesh.topology, mesh.nodes
- Commands: node.info, node.rotate, telemetry.latest, ping
- JSON responses with proper error handling
- Graceful shutdown and socket cleanup

Expand secuboxctl CLI with new commands:
- mesh topology: Show mesh topology graph
- mesh nodes: List mesh nodes with ZKP status
- telemetry latest: Show system metrics

All commands tested and working on VM.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-25 08:19:37 +01:00
4901143c78 Reorganize Go daemon and fix module compliance
- Move Go mesh daemon code to daemon/ directory
  - secuboxd mesh daemon with mDNS discovery
  - secuboxctl CLI management tool
  - c3box situational awareness dashboard
  - GK-HAM-2025 ZKP authentication system

- Add Debian packaging for secubox-daemon and secubox-c3box

- Fix maintainer in 12 packages to Gerald KERMA <devel@cybermind.fr>
  - secubox-backup, device-intel, mesh, meshname, p2p
  - roadmap, soc, tor, vortex-dns, vortex-firewall
  - watchdog, zkp

- Add JWT authentication to secubox-mesh API

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-25 07:51:17 +01:00