UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Set proxy in Morph Browser

    Scheduled Pinned Locked Moved Support
    6 Posts 4 Posters 2.5k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • I Offline
        Idefix
        last edited by Idefix

        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.

        dobeyD 1 Reply Last reply Reply Quote 0
        • arubislanderA Offline
          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.

          πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
          Happily running Ubuntu Touch
          Google Pixel 3a (20.04 DEV)
          JingPad (24.04 preview)
          Meizu Pro 5 (16.04 DEV)

          1 Reply Last reply Reply Quote 0
          • dobeyD Offline
            dobey @Idefix
            last edited by

            @Idefix said in Set proxy in Morph Browser:

            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).

            I 1 Reply Last reply Reply Quote 0
            • I Offline
              Idefix @dobey
              last edited by

              @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.

              1 Reply Last reply Reply Quote 0
              • T Offline
                Timmm
                last edited by

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • T Offline
                  Timmm
                  last edited by Timmm

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post