Transparent proxy support for upstream proxies
See original GitHub issueIs the following setup possible?
Client <-> Transparent mimtproxy <-> Other upsteam proxies <-> HTTP/HTTPS Website
When I launch mitmproxy in transparent mode, both HTTP and HTTPS traffic is captured perfectly. However, when I try to use another http proxy from the client application, mitmproxy fails. This happens both when the final site is http and when it’s https:
HttpError('Invalid HTTP request form (expected: relative, got: absolute)',)
Is this supported or am I doing something wrong?
Issue Analytics
- State:
- Created 9 years ago
- Reactions:2
- Comments:5 (1 by maintainers)
Top Results From Across the Web
What is a Transparent Proxy and How is It Used? - Oxylabs
A type of transparent proxy, SSL proxy, can be used to inspect HTTPS traffic and improve security. An SSL proxy carries out SSL...
Read more >What is a transparent proxy? How to detect and bypass
Like all network proxies, a transparent proxy intercepts and redirects data in transit, typically through the internet.
Read more >What is a Transparent Proxy | Client vs. Server Side Use Cases
A transparent proxy, also known as an inline proxy, intercepting proxy or forced proxy, is a server that intercepts the connection between an...
Read more >Upstream proxy authentication in transparent proxy mode
When the transparent proxy is configured, clients can access websites without configuring a web proxy in their browser. The downstream proxy sends the...
Read more >What is a transparent proxy? Here's how it works - ExpressVPN
A transparent proxy (also called inline proxy, intercepting proxy, or forced proxy) is a server that sits between your computer and the ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
+1 Complex ‘transparent+upstream’ mode out of the box could be very useful. Especially if you want to redirect request to different regular proxy servers if HTTP header match condition.
I need it! Any alternative ?
I need
Local App <-> IPTABLES REDIRECT <-> mimtproxy on a different host, non-transparent mode <-> HTTP/HTTPS Website
I tried using IP tables DNAT to redirect request to the mitmproxy on remote host and I get “HttpError(‘Invalid HTTP request form (expected: absolute, got: relative)’,)”
I tried using IP tables REDIRECT to a local mitmproxy in upstream mode to the remote mitmproxy and I get the same error …
Any workaround ?