secubox-openwrt/package/secubox/secubox-p2p-intel/files/etc/config/p2p-intel
CyberMind-FR 006ff03c86 feat(mirrornet): Add v0.19 MirrorNetworking core packages
MirrorNet Core (secubox-mirrornet):
- DID-based identity (did:plc:) with keypair management
- Peer reputation scoring (0-100) with trust levels
- Service mirroring via reverse proxy chaining
- Enhanced gossip protocol with priority routing
- Health monitoring with anomaly detection
- mirrorctl CLI with 30+ commands

Identity Package (secubox-identity):
- Standalone DID generation (AT Protocol compatible)
- HMAC-SHA256 keys with Ed25519 fallback
- Key rotation with backup support
- Trust scoring integration
- identityctl CLI with 25+ commands

P2P Intel Package (secubox-p2p-intel):
- Signed IOC sharing for mesh
- Collectors: CrowdSec, mitmproxy, WAF, DNS Guard
- Cryptographic signing and validation
- Source trust verification
- Application: nftables/iptables/CrowdSec
- Approval workflow for manual review
- p2p-intelctl CLI with 20+ commands

LuCI Dashboard (luci-app-secubox-mirror):
- Identity card with DID, hostname, role
- Peer reputation table with trust levels
- Gossip protocol statistics
- Health alerts with acknowledgment
- RPCD handler with 15 methods

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 18:43:19 +01:00

41 lines
1021 B
Plaintext

config p2p_intel 'main'
option enabled '1'
option auto_collect '1'
option collect_interval '300'
# Collect IOCs every 5 minutes
option auto_share '1'
option auto_apply '0'
# Manual approval by default
config sources 'sources'
option crowdsec '1'
option mitmproxy '1'
option waf '1'
option dns_guard '1'
config validation 'validation'
option require_signature '1'
option min_source_trust '40'
# Minimum trust score to accept IOCs
option verify_transitive '1'
# Verify IOCs from peers-of-peers
option max_age_hours '168'
# Reject IOCs older than 7 days
config sharing 'sharing'
option min_severity 'medium'
# Only share medium+ severity
option sign_iocs '1'
option include_evidence '0'
# Include raw evidence (larger payloads)
option batch_size '50'
config application 'application'
option apply_method 'nftables'
# nftables, iptables, or crowdsec
option ipset_name 'p2p_intel_blocked'
option ban_duration '86400'
# 24 hours default
option whitelist_local '1'
# Never block local subnets