Skip to content

Server Address with and without wireguard #6351

Answered by mhils
rosydawn6 asked this question in Q&A
Discussion options

You must be logged in to vote

I am wondering under what conditions it will be a domain or IP address?

Does #6352 answer that question? Let me know if it can be made more clear.

Is there another way I could obtain the FQDN in the server_connect step (before the connection is made through mitmproxy http layer)?

Try setting https://docs.mitmproxy.org/stable/concepts-options/#connection_strategy to lazy. For TLS connections, this should give you the SNI. For HTTP, you can also return a response in the request hook before anything hits the server.

You may also want to check if the allow_hosts/ignore_hosts options already do what you want to achieve.

When I review the default logging when running in wireguard mode I se…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@rosydawn6
Comment options

Answer selected by rosydawn6
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants