secubox-openwrt/package/secubox/secubox-app-mitmproxy/files/etc/config/mitmproxy
CyberMind-FR 6c4257f950 feat: Add mitmproxy HTTPS interception proxy packages
New packages for full URL/cookie/header capture via MITM proxy:

secubox-app-mitmproxy:
- Downloads mitmproxy v11.1.2 binary for aarch64
- Transparent proxy mode with iptables integration
- mitmweb UI on port 8081
- Auto CA certificate generation
- mitmproxyctl CLI management tool

luci-app-mitmproxy:
- SecuBox themed dashboard with red color scheme
- Real-time request capture view
- Top hosts statistics
- CA certificate management
- Full UCI settings interface
- RPCD backend for ubus API

This enables full HTTP/HTTPS inspection including:
- Complete URLs (not just hostnames like nDPId)
- Cookies and headers
- Request/response bodies
- Flow recording for replay

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-10 14:25:12 +01:00

33 lines
774 B
Plaintext

config mitmproxy 'main'
option enabled '0'
option mode 'transparent'
option listen_host '0.0.0.0'
option listen_port '8080'
option web_port '8081'
option web_host '0.0.0.0'
option confdir '/etc/mitmproxy'
option ssl_insecure '0'
option showhost '1'
option flow_detail '2'
config logging 'logging'
option enabled '1'
option log_file '/tmp/mitmproxy/requests.log'
option log_format 'json'
option max_size '10'
config capture 'capture'
option save_flows '1'
option flow_file '/tmp/mitmproxy/flows.bin'
option capture_urls '1'
option capture_cookies '1'
option capture_headers '1'
option capture_body '0'
config filter 'filter'
option enabled '0'
option block_ads '0'
option block_trackers '0'
list ignore_host 'localhost'
list ignore_host '*.local'