[CLOSED][APP][6.0+] NetGuard - No-root firewall

What are you mainly using NetGuard for?

  • Reducing data usage

    Votes: 470 30.6%
  • Saving battery

    Votes: 330 21.5%
  • Increasing privacy

    Votes: 850 55.4%
  • Blocking ads

    Votes: 989 64.4%

  • Total voters
    1,535
Status
Not open for further replies.
Search This thread

ngc49

New member
Jul 20, 2016
2
0
There is no limit to the number of hosts file entries.

NetGuard will remove any duplicate addresses though, so the shown count might be different from the number of lines in the file.

Hm, wonder why it doesn´t work for me.
It is also possible to add more than one host-file, right?

NGC
 

Ikearat

Senior Member
Dec 30, 2010
95
20
Quick question, is NetGuard storing the host file in it's work space or is NetGuard managing the device's host file?
The reason I ask is, I can't find the host file using the provided file manager tools. I would like to direct-edit the host file. Is the host file in a system area of the device and how does NetGuard manage this file is it is? I am assuming that Root would be required to write files in the places I can't "see".
I have considered rooting my phone but I continuously discover just how little I know and a rooted phone would be a bad idea for me :)
 

M66B

Recognized Developer
Aug 1, 2010
26,751
57,997
Quick question, is NetGuard storing the host file in it's work space or is NetGuard managing the device's host file?
The reason I ask is, I can't find the host file using the provided file manager tools. I would like to direct-edit the host file. Is the host file in a system area of the device and how does NetGuard manage this file is it is? I am assuming that Root would be required to write files in the places I can't "see".
I have considered rooting my phone but I continuously discover just how little I know and a rooted phone would be a bad idea for me :)
The hosts file is stored in the private storage area of NetGuard, safe for unwanted access by other apps. You cannot access the private hosts file without root permissions and even if you could, it would not be useful because there is no way to tell NetGuard the file has been changed. This is relevant because NetGuard reads the file in an optimized memory structure.

You can keep a copy of the hosts file in a more accessible place, edit it when needed and import it after editing instead.
 
  • Like
Reactions: sethnet and cobben

herlgl

Senior Member
Jul 31, 2016
52
5
Searched for "log" here and on github but could not find what I was looking for.

How do I delete the connection logs for apps?
 

Ikearat

Senior Member
Dec 30, 2010
95
20
The hosts file is stored in the private storage area of NetGuard, safe for unwanted access by other apps. You cannot access the private hosts file without root permissions and even if you could, it would not be useful because there is no way to tell NetGuard the file has been changed. This is relevant because NetGuard reads the file in an optimized memory structure.

You can keep a copy of the hosts file in a more accessible place, edit it when needed and import it after editing instead.

Thank you for this! Knowing I am not fooling around with a system file is reassuring. Knowing how to handle the host file for NetGuard is an FAQ worthy bit of goodness... thank you sir!

I have been playing with 'Network Utilities' for Android and it is opening a box of worms for me. I am being forced to learn stuff!
 

iwanttoknow

Senior Member
Jun 21, 2016
523
105
Hi all,

Is today OpenVPN for Android offering SOCKS5 interface to connect NetGuard to it ?

Thanks in advance for your replies.


Envoyé de mon SM-A510F en utilisant Tapatalk
 

Ikearat

Senior Member
Dec 30, 2010
95
20
Nothing To See Here, Move Along

This is almost totally unrelated to NetGuard, the only relation is the program author, M66B.
I am interested in XprivacyLua.
I tried to install Xposed Framework on my blackview BV9500.
Unsupported CPU and Android <something> 27.
This is a bother as Chinese phones should be the first to receive attention with respect to privacy. Wait, almost all phones are Chinese. :)
Still loving NetGuard, thank you M66B
 

sth3000

Member
Jan 6, 2019
7
0
How to allow MMS in Messages app

Wondering if anyone knows what system apps/processes need to be enabled for data in Netguard to allow MMS through? Doesn't seem to be working with just Messages app enabled. Thank you!
 

M66B

Recognized Developer
Aug 1, 2010
26,751
57,997
Why not create or compile Netguard for root user,too?
I use afwall but not strong on the background apps
Making NetGuard suitable for root permissions would be a huge project. Since NetGuard is "no-root" and the support for this project does not justify to put a huge effort into NetGuard again, this is not going to happen.
 

La_Globule

Senior Member
Nov 6, 2007
461
185
Wondering if anyone knows what system apps/processes need to be enabled for data in Netguard to allow MMS through? Doesn't seem to be working with just Messages app enabled. Thank you!

I'm not a specialist but here is my own experience.
I've enabled the following system apps and I've no problem to send/receive MMS on my Samsung Galaxy A5 2017 running Oreo 8.0 stock ROM.
- UID 1000 (Android System and many others)
- UID 1013 (mediaserver)
- UID 10021 (Google Play Services and 2 others)
- UID 10034 (Google Play Store)
- UID 10050 (Download Manager and 3 others)
- several apps like Google, Maps, ... not related with MMS
The Messages app (UID 10031) is not enabled.
Maybe MMSs are sent using one of these apps.
Hope it helps.
 

sth3000

Member
Jan 6, 2019
7
0

Thanks... with Messages enabled SMS will go through but MMS or group texts will not download. Sounds like there isn't just another process I need to enable?

---------- Post added at 11:50 AM ---------- Previous post was at 11:42 AM ----------

I'm not a specialist but here is my own experience.
I've enabled the following system apps and I've no problem to send/receive MMS on my Samsung Galaxy A5 2017 running Oreo 8.0 stock ROM.
- UID 1000 (Android System and many others)
- UID 1013 (mediaserver)
- UID 10021 (Google Play Services and 2 others)
- UID 10034 (Google Play Store)
- UID 10050 (Download Manager and 3 others)
- several apps like Google, Maps, ... not related with MMS
The Messages app (UID 10031) is not enabled.
Maybe MMSs are sent using one of these apps.
Hope it helps.

Thanks much - how do I find the other apps to enable with UID 1000 btw? I only see Android System in my settings
 

M66B

Recognized Developer
Aug 1, 2010
26,751
57,997
Thanks... with Messages enabled SMS will go through but MMS or group texts will not download. Sounds like there isn't just another process I need to enable?

---------- Post added at 11:50 AM ---------- Previous post was at 11:42 AM ----------



Thanks much - how do I find the other apps to enable with UID 1000 btw? I only see Android System in my settings
You can search for uid in NetGuard.
 

sth3000

Member
Jan 6, 2019
7
0
Thanks... with Messages enabled SMS will go through but MMS or group texts will not download. Sounds like there isn't just another process I need to enable?

---------- Post added at 11:50 AM ---------- Previous post was at 11:42 AM ----------



Thanks much - how do I find the other apps to enable with UID 1000 btw? I only see Android System in my settings

Never mind looks like it bundles 12 blocks with that one automatically. Still doesn't seem to solve it but I will keep trying thanks again.
 

cobben

Senior Member
Nov 13, 2016
317
86
Wondering if anyone knows what system apps/processes need to be enabled for data in Netguard to allow MMS through? Doesn't seem to be working with just Messages app enabled. Thank you!

MMS is in principle not delivered through mobile data, rather through the (prehistorical, antique almost forgotten) cellular network.

Having said that, there are any number of weird proprietary extensions and fixes made through the years, attempting to make it work.

IMHO, MMS should be avoided like the plague.

"Multimedia Messaging Service (MMS) is a standard way to send messages that include multimedia content to and from a mobile phone over a cellular network."


https://en.m.wikipedia.org/wiki/Multimedia_Messaging_Service
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 363
    ic_launcher.png


    NetGuard provides simple and advanced ways to block access to the internet - no root required.
    Applications and addresses can individually be allowed or denied access to your Wi-Fi and/or mobile connection.

    Blocking access to the internet can help:
    • reduce your data usage
    • save your battery
    • increase your privacy

    Features:
    • Simple to use
    • No root required
    • 100% open source
    • No calling home
    • No tracking or analytics
    • No advertisements
    • Actively developed and supported
    • Android 5.1 and later supported
    • IPv4/IPv6 TCP/UDP supported
    • Tethering supported
    • Optionally allow when screen on
    • Optionally block when roaming
    • Optionally block system applications
    • Optionally forward ports, also to external addresses (not available if installed from the Play store)
    • Optionally notify when an application accesses the internet
    • Optionally record network usage per application per address
    • Optionally block ads using a hosts file (not available if installed from the Play store)
    • Material design theme with light and dark theme

    PRO features
    • Log all outgoing traffic; search and filter access attempts; export PCAP files to analyze traffic
    • Allow/block individual addresses per application
    • New application notifications; configure NetGuard directly from the notification
    • Display network speed graph in a status bar notification
    • Select from five additional themes in both light and dark version

    There is no other no-root firewall, except for clones, offering all these features.

    This XDA thread is about using the latest version of NetGuard.
    Off topic comments are allowed as long they are related to NetGuard and are in the general interest of the followers of this thread.

    Discussion of purchases is not allowed here, please contact me via here instead.

    NetGuard is being maintained and community supported, but new features won't be added anymore.

    For ad blocking, see here. Ad blocking is provide "as-is".

    More information on Github:

    Downloads:

    Screenshots:
    101-main.png
    102-main-details.png

    103-main-access.png
    108-notifications.png


    For more screenshots, see here.
    27
    25
    I have just released stable version 2.39.

    Changelog/download
    https://github.com/M66B/NetGuard/releases/tag/2.39

    This version will be available in the Play store after Google's approval.

    Usage data sharing has been removed from this version.

    The future of this project depends on the general support for this project. You can for example write something positive here or in the Play store, press the thanks button, donate something, purchase a pro feature or contribute translations or source code.
    19
    NetGuard is currently in alpha testing phase.
    Please report any problems you encounter.

    It would be nice if someone could design an appropriate icon.
    17
    I have just released beta version 2.21.

    Changelog/download:
    https://github.com/M66B/NetGuard/releases/tag/2.21

    This version will be available as beta version in the Play store after Google's approval.