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

    Error when enabeling ufw

    Scheduled Pinned Locked Moved Support
    20 Posts 8 Posters 7.8k 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.
      • LakotaubpL Offline
        Lakotaubp @3T_Ed
        last edited by

        @3T_Ed

        Firewall in UT

        Telnina said β€œdon’t want to be nasty but” is there a plan or a timeline for a firewall in UT? We have not enabled a firewall in UT because the architecture is unusual. There are no ports open in UT by default. There are also no services running by default. A firewall would add a medium amount of weight to the system and would consume battery. Provided that there is nothing open, there is nothing that needs blocking. It is one of those issues which is worth revisiting periodically and Marius will dig into it a little deeper with the Canonical engineers who initially decided to exclude it.

        Florian commented that if someone was able to do something malicious with UT, to force a port to open, then a firewall could play a useful role by closing it. One thing for sure is that a firewall is very dependent on the kernel and since we are often working with old kernels, that could make any introduction of a firewall messy.

        In a follow up, it was asked if it could have a role in blocking certain outbound traffic? Well the issue there is one of complexity. For the average user controlling functions like that would need a graphical interface and how would they make sense of the settings? That difficulty really suggests the option of an app installable from the OpenStore for those who do know what they are doing, rather than exposing a confusing settings dialogue in
        the installed system.

        To save you looking a bit of a preview of the blog πŸ˜‰ don't tell

        ? 1 Reply Last reply Reply Quote 1
        • ? Offline
          A Former User @Lakotaubp
          last edited by

          @Lakotaubp : So I wonder, if it is not needed at UT, why donΒ΄t we skip the UFW from the standard installation and update the documents that inexperienced user do not ask for such topic? And away from the FW.
          Would you be so kind and explain whats the root cause of "Warn: Uid is 0 but '/' is owned by 109" (as per my understanding this was the question). Please enlighten me. Thanks

          1 Reply Last reply Reply Quote 1
          • 3 Offline
            3T_Ed
            last edited by

            @Lakotaubp
            Thank you very much for taking the time to do the write up regarding UT view on UFW. πŸ‘

            Like @Tellina I'm still interested in the initial question regarding the error stated above. If you could explain that would be highly appreciated.

            Critics are the true Positives | OnePlus 3T, Lumia 950

            1 Reply Last reply Reply Quote 0
            • LakotaubpL Offline
              Lakotaubp
              last edited by

              The write up is by the UBports Writers team, so not me and as for the the other stuff again I have not a clue on the tech reasons. Somone will though I'm sure.

              1 Reply Last reply Reply Quote 0
              • 3 Offline
                3T_Ed
                last edited by

                @Alter posted a comment in todays Q&A 84 thread today. A link was included to an earlier blog post about using the firewall. In that section a screenshot shows the error '...is owned by 109' mentioned earlier.

                Besides the really interesting question raised by @Alter's question, I wonder if anyone can answer the question as to what does the error tells us and warns about?

                Critics are the true Positives | OnePlus 3T, Lumia 950

                1 Reply Last reply Reply Quote 0
                • KenedaK Offline
                  Keneda
                  last edited by Keneda

                  Back in the [Canonical] time there was : https://open-store.io/app/antivirus.iprogramer

                  With fonctions :

                  This is an App For Scanning and Protecting Ubuntu Devices from Malware, Viruses and RootKits.

                  Features:
                  Scan your Device For "Malicious Apps"
                  Scan your Device For "Malicious Connections"
                  Scan your Device For "Listening Ports"
                  Scan your Device For "Malicious Startup Commands"

                  Manage your "Firewall"
                  Manage your "Active Services"

                  Check an IP for "Malicious Activity"
                  Generate "Password with Pattern"

                  Don't know why it's been deprecated.

                  2015-2023 : Meizu MX4 ☠️⚰️✝️
                  2023-2024 : Nexus 5 ☠️⚰️✝️
                  2024-***** : FPOS Fairphone 5 waiting UT for freedom πŸ˜‰
                  πŸ‡²πŸ‡«πŸ‡¬πŸ‡§

                  1 Reply Last reply Reply Quote 1
                  • arubislanderA Online
                    arubislander
                    last edited by

                    @Keneda said in Error when enabeling ufw:

                    Don't know why it's been deprecated.

                    This app was not deprecated as such. Simply that the author never recompiled it to run 9against 16.04 when. The underlying OS was updated.

                    I also seem to remember claims that the app did not do all that it advertised. The code is out lucky hosted on Launchpad though, so anyone with time available who can read code (including me) could examine it.

                    I took a quick look at the C code on my phone (not ideal, I know) and it does use some interesting techniques I might be applying in my own apps.

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

                    LakotaubpL 1 Reply Last reply Reply Quote 0
                    • LakotaubpL Offline
                      Lakotaubp @arubislander
                      last edited by

                      @arubislander Your right on that. It was pointed out a few times that the app was doing very little if not nothing by flohack.

                      KenedaK 1 Reply Last reply Reply Quote 0
                      • KenedaK Offline
                        Keneda @Lakotaubp
                        last edited by Keneda

                        @Lakotaubp
                        I found post of him about that :
                        https://forums.ubports.com/topic/2768/are-there-any-attack-vectors-based-on-sd-card/3?_=1599561104795

                        He tells that the app was confined, beside it was unconfined with full system access.

                        Did Brian Douglass published unconfined apps without reviewing it?

                        Scanning polemic appart, it had a firewall interface, that too was bullshit?

                        2015-2023 : Meizu MX4 ☠️⚰️✝️
                        2023-2024 : Nexus 5 ☠️⚰️✝️
                        2024-***** : FPOS Fairphone 5 waiting UT for freedom πŸ˜‰
                        πŸ‡²πŸ‡«πŸ‡¬πŸ‡§

                        LakotaubpL 1 Reply Last reply Reply Quote 0
                        • LakotaubpL Offline
                          Lakotaubp @Keneda
                          last edited by

                          @Keneda It states the app was fully confined so could not do anything other than scan it's self. As for the full app history I cannot remember but it was about a long time age so might have been a hang around from canonical day. As for Firewall thing again I have no idea but it seems it was just a pretty interface doing nothing. Maybe @Flohack can remember full details.

                          KenedaK 1 Reply Last reply Reply Quote 0
                          • KenedaK Offline
                            Keneda @Lakotaubp
                            last edited by Keneda

                            @Lakotaubp said in Error when enabeling ufw:

                            It states the app was fully confined

                            It wasn't in 2016 when app was released and i installed it, and it's still tagged as "full system access" right now.
                            But maybe it was a fake "unconfined" app after all, but that would mean crap can be released on store without review, no?

                            Sources are still available on launchpad i believe.
                            https://bazaar.launchpad.net/~hosein-iprogramer/antivirus/trunk/files

                            2015-2023 : Meizu MX4 ☠️⚰️✝️
                            2023-2024 : Nexus 5 ☠️⚰️✝️
                            2024-***** : FPOS Fairphone 5 waiting UT for freedom πŸ˜‰
                            πŸ‡²πŸ‡«πŸ‡¬πŸ‡§

                            flohackF 1 Reply Last reply Reply Quote 0
                            • flohackF Offline
                              flohack @Keneda
                              last edited by

                              @Keneda @bhdouglass can you please check this app, this fake virus scanner should be removed I think, it was either an experiment or just a bad joke.

                              My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                              bhdouglassB 1 Reply Last reply Reply Quote 0
                              • bhdouglassB Offline
                                bhdouglass @flohack
                                last edited by bhdouglass

                                @Flohack What's the problem? It's not available for xenial and if I recall there wasn't anything wrong with it back in the day. I also think it was a beta and not fully completed.

                                open-store.io && bhdouglass.com

                                flohackF 1 Reply Last reply Reply Quote 1
                                • flohackF Offline
                                  flohack @bhdouglass
                                  last edited by

                                  @bhdouglass Ok if its not in xenial I am fine with it πŸ™‚

                                  My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                                  1 Reply Last reply Reply Quote 1
                                  • First post
                                    Last post