Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

implement TcpStream.get_extra_info("original_addr") #6

Closed
decathorpe opened this issue Aug 29, 2022 · 1 comment
Closed

implement TcpStream.get_extra_info("original_addr") #6

decathorpe opened this issue Aug 29, 2022 · 1 comment

Comments

@decathorpe
Copy link
Owner

The original packet destination address is required for implementing a "transparent mode" based on mitmproxy_wireguard. Its sockets are handled internally and not by the operating system, so it needs to expose this information in TcpStream instances.

@decathorpe
Copy link
Owner Author

Hum, my bad, looks like we already have this, though the property name is original_dst here and not original_addr as it is referred to in the mitmproxy source code.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant