secubox-openwrt/package/secubox/secubox-p2p/root/usr
CyberMind-FR c33a9650e7 feat(p2p): Implement distributed catalog with Gitea sync and health probing
Distributed Catalog:
- Implement catalog_push_gitea() to push node catalogs via Gitea REST API
- Add catalog_push_merged_gitea() for merged catalog sync
- Create /api/factory/catalog-sync POST endpoint for triggering sync
- Catalogs pushed to catalog/nodes/{hostname}.json in Gitea repo

Health Probing:
- Add get_service_health() with cached latency measurement
- HTTP probe with curl to measure response time
- Fallback to /proc/net/tcp port check
- 60-second cache TTL to keep catalog endpoint fast

Files:
- factory.sh: Gitea REST API integration for catalog push
- catalog: Health probing with latency measurement
- catalog-sync: New CGI endpoint for sync operations
- Makefile: Install catalog-sync endpoint

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-01 05:52:40 +01:00
..
bin feat(p2p): Add MirrorBox auto-init, self-recovery, and ACL fixes 2026-01-30 19:46:28 +01:00
lib/secubox feat(p2p): Implement distributed catalog with Gitea sync and health probing 2026-02-01 05:52:40 +01:00
libexec/rpcd feat(p2p): Add MirrorBox auto-init, self-recovery, and ACL fixes 2026-01-30 19:46:28 +01:00
sbin feat(p2p): Add MirrorBox NetMesh Catalog with DNS federation 2026-01-31 09:19:36 +01:00