Skip to content

Add LAN capture mode (--lan)#43

Merged
chouzz merged 2 commits intomainfrom
cursor/-bc-6ca7af28-7d8c-42ad-9e74-560b1c267b57-67e7
Jan 13, 2026
Merged

Add LAN capture mode (--lan)#43
chouzz merged 2 commits intomainfrom
cursor/-bc-6ca7af28-7d8c-42ad-9e74-560b1c267b57-67e7

Conversation

@chouzz
Copy link
Owner

@chouzz chouzz commented Jan 13, 2026

Add --lan, --proxy-host, and --advertise-host options to lli watch to enable LAN proxy capture with automatic local IP detection and improved proxy instructions.


Open in Cursor Open in Web

Add --lan/--proxy-host options to bind mitmproxy on 0.0.0.0 and print a reachable LAN IP (FastAPI-style). Also updates proxy help/instructions to avoid hardcoded 127.0.0.1.
@cursor
Copy link

cursor bot commented Jan 13, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

Remove extra proxy host/advertise options. Without --lan, force proxy bind and instructions to 127.0.0.1; with --lan, bind 0.0.0.0 and print export commands using detected LAN IP.
@chouzz chouzz changed the title 局域网代理配置 Add LAN capture mode (--lan) Jan 13, 2026
@chouzz chouzz marked this pull request as ready for review January 13, 2026 03:03
@chouzz chouzz merged commit 563aaab into main Jan 13, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants