secubox-openwrt/package/secubox/secubox-dpi-dual/files/etc/config/dpi-dual
CyberMind-FR f39440ab16 feat(dpi): Add LAN passive flow analysis (no MITM, no cache)
Real-time passive flow monitoring on br-lan for network analysis:
- dpi-lan-collector service watches netifyd flows in real-time
- Tracks active clients, external destinations, and protocols
- Per-client bandwidth and flow statistics
- Protocol/application detection via nDPI
- Zero latency impact - pure passive observation

LuCI integration:
- New "LAN Flows" dashboard view with real-time updates
- RPCD methods: get_lan_status, get_lan_clients, get_lan_destinations, get_lan_protocols
- Settings panel for LAN analysis configuration

CLI commands:
- dpi-dualctl lan - show summary
- dpi-dualctl clients - list active LAN clients
- dpi-dualctl destinations - external destinations
- dpi-dualctl protocols - detected protocols/apps

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-15 12:37:57 +01:00

45 lines
1.1 KiB
Plaintext

config global 'settings'
option enabled '1'
option mode 'dual'
option correlation '1'
option stats_dir '/tmp/secubox'
option flow_dir '/tmp/dpi-flows'
config mitm 'mitm'
option enabled '1'
option buffer_size '1000'
option async_analysis '1'
option replay_on_alert '1'
option buffer_dir '/tmp/dpi-buffer'
config tap 'tap'
option enabled '1'
option interface 'tap0'
option mirror_source 'eth0'
option mirror_mode 'software'
option flow_retention '300'
option netifyd_instance 'tap'
config correlation 'correlation'
option enabled '1'
option window '60'
option output '/tmp/secubox/correlated-threats.json'
option watch_crowdsec '1'
option auto_ban '0'
option auto_ban_threshold '80'
option notifications '1'
option reputation_decay '5'
# LAN TAP - Real-time passive flow analysis
# No MITM, no caching - just nDPI flow monitoring
config lan 'lan'
option enabled '1'
option interface 'br-lan'
option realtime '1'
option track_clients '1'
option track_destinations '1'
option track_protocols '1'
option aggregate_interval '5'
option client_retention '3600'
option netifyd_instance 'lan'