Fix `:net_proxy`
ZanyMonk opened this issue · 0 comments
ZanyMonk commented
The proxy module appears to be broken:
- it does not forward HTTPS correctly
- in background mode, it shows logs directly in the shell
Maybe it's time to get rid of the home-made proxy and use a proper lib for that. There is mitmproxy
which seems to fit the role.
Plan is to implement a simple addon that will forward every request through :net_curl
module, just like it's done now.
That will be a quick solution to fix SSL support, log output, and to add a few features among which:
- SOCKS5 server
- Websocket support
It may even be possible to browse the proxy history with mitmweb
and to intercept/repeat requests from there.