Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QNetworkProxy: enable proxy within QtWebKit #74

Open
kewde opened this issue Nov 18, 2016 · 0 comments
Open

QNetworkProxy: enable proxy within QtWebKit #74

kewde opened this issue Nov 18, 2016 · 0 comments
Assignees

Comments

@kewde
Copy link

kewde commented Nov 18, 2016

We can enable proxy support for QtWebKit (the HTML GUI) through QNetworkProxy very easily.
This would force any traffic coming from the GUI, like external images hosted on website and sent through chat to be routed through the proxy, preventing the leakage of receiver.

proxy.setType(QNetworkProxy::Socks5Proxy);
proxy.setHostName("proxy.example.com");
proxy.setPort(1080);
proxy.setUser("username");
proxy.setPassword("password");
QNetworkProxy::setApplicationProxy(proxy);

In the case of Tor, it can support images hosted on hidden services (.onions).

I would suggest to do this through a Qt dialog so a bug in the Javascript of the GUI is unable to disable the proxy and leak the IP address.
@kewde kewde self-assigned this Nov 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant