Set proxy in Morph Browser
I want to set a proxy in the Ubuntu Touch browser, Morph, so that queries can be filtered by squid. Setting squid as a transparent proxy does not make the job because https connections cannot be filtered like that.
I have been unable to find any information on that point. Does this require to patch the source code and rebuild ?
I am working on a Nexus 5.
Thanks for any information.
Update : I tested Onion browser, but I still don't see anything for giving a proxy IP and port.
arubislander last edited by
Ubuntu Touch uses NetworkManager to manage it's network connections.
It might be possible to configure your proxy server from the command line with nmcli. I haven't tried it myself, but here is a link to the man pace online.
Let us know how you get on with it.
dobey last edited by
Setting squid as a transparent proxy does not make the job because https connections cannot be filtered like that.
Manually specifying the proxy to use doesn't change this. To filter HTTPS, your proxy server will need to break encryption. There are additional tools that can be used with squid to achieve this, but I do not recall the names of them.
I think this is unrelated to UT itself, if what you want is to filter encrypted traffic through your proxy (as that is a server/network administration problem).
@dobey I have filtered https connections for years without breaking the encryption, this is easy when the proxy is declared in the browser (non transparent proxy).
What I want to do now is the same thing inside a smartphone running UT, to be able to filter Internet connections. So this is really an UT question because the proxy will be running inside the phone, I cannot have any control of connections running through 3G or 4G.
I have already installed UT on my Nexus 5. I have already set up the filter with an internal DNS server (Unbound) and it works. But filtering with squid is slightly better and I would like to test it.
@arubislander : thanks for the suggestion. But it is not a possible solution because if the proxy is not declared in the browser, the browser will encrypt itself the connection, and filtering is no longer possible. If the proxy is declared, the browser communicates with it without encryption (otherwise the proxy would be unable to do its job) and the proxy encrypts the connection if it does not have the page in cache and must forward the request.
This post is deleted!
This post is deleted!