[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

lukval

Senior Member
Sep 29, 2015
223
33
Sony Xperia M
Honor 9
Hello, when I'm at home on my wifi, the browser sometimes says that website can't be reached/there's no connection (but there is - script ping reply is not interrupted e.g. 220916: 9 bytes from 147.32.235.161: icmp_seq=2628 ttl=64).
Whart can be the reason for this?

Here is part from logcat NG v2.251 logcat:
07-11 22:09:16.960 30386 21267 E NetGuard.JNI: TCP socket from 10.1.10.1/37696 to 192.168.1.1/7 LISTEN loc 0 rem 0 SO_ERROR 113: No route to host
07-11 22:09:20.049 30386 21267 I NetGuard.Service: Filtering uid=1000 v4 p1 192.168.1.1/7481 allowed=true rule v4 p1 port=0 uid=1000 192.168.1.1//192.168.1.1
07-11 22:09:21.054 30386 21267 I NetGuard.Service: Filtering uid=1000 v4 p1 192.168.1.1/7481 allowed=true rule v4 p1 port=0 uid=1000 192.168.1.1//192.168.1.1
07-11 22:09:22.070 30386 21267 I NetGuard.Service: Filtering uid=1000 v4 p6 192.168.1.1/7 allowed=true rule v4 p6 port=7 uid=1000 192.168.1.1//192.168.1.1
07-11 22:09:23.048 30386 21267 E NetGuard.JNI: TCP socket from 10.1.10.1/37700 to 192.168.1.1/7 LISTEN loc 0 rem 0 SO_ERROR 113: No route to host
07-11 22:09:32.212 30386 21267 E NetGuard.JNI: TCP socket from 10.1.10.1/47964 to 213.150.2.133/443 LISTEN loc 0 rem 0 SO_ERROR 113: No route to host
etc.


Sent from my STF-L09 using XDA Labs
 

M66B

Recognized Developer
Aug 1, 2010
26,751
57,997
Hello, when I'm at home on my wifi, the browser sometimes says that website can't be reached/there's no connection (but there is - script ping reply is not interrupted e.g. 220916: 9 bytes from 147.32.235.161: icmp_seq=2628 ttl=64).
Whart can be the reason for this?

Here is part from logcat NG v2.251 logcat:
07-11 22:09:16.960 30386 21267 E NetGuard.JNI: TCP socket from 10.1.10.1/37696 to 192.168.1.1/7 LISTEN loc 0 rem 0 SO_ERROR 113: No route to host
07-11 22:09:20.049 30386 21267 I NetGuard.Service: Filtering uid=1000 v4 p1 192.168.1.1/7481 allowed=true rule v4 p1 port=0 uid=1000 192.168.1.1//192.168.1.1
07-11 22:09:21.054 30386 21267 I NetGuard.Service: Filtering uid=1000 v4 p1 192.168.1.1/7481 allowed=true rule v4 p1 port=0 uid=1000 192.168.1.1//192.168.1.1
07-11 22:09:22.070 30386 21267 I NetGuard.Service: Filtering uid=1000 v4 p6 192.168.1.1/7 allowed=true rule v4 p6 port=7 uid=1000 192.168.1.1//192.168.1.1
07-11 22:09:23.048 30386 21267 E NetGuard.JNI: TCP socket from 10.1.10.1/37700 to 192.168.1.1/7 LISTEN loc 0 rem 0 SO_ERROR 113: No route to host
07-11 22:09:32.212 30386 21267 E NetGuard.JNI: TCP socket from 10.1.10.1/47964 to 213.150.2.133/443 LISTEN loc 0 rem 0 SO_ERROR 113: No route to host
etc.
NetGuard tried to connect to a remote server via a Linux socket and got "no route to host" back. This can have a number of causes, but this is not caused and cannot be fixed by NetGuard.

Possible causes are that there is another, external firewall blocking connections or that the host is not responding (in time).
 

La_Globule

Senior Member
Nov 6, 2007
461
185
Hello Marcel
Since version 2.252 the key symbol in the notification area has disappeared although I've enabled all notifications for the app.
Is it due to the VPN handover deletion?
Thanks for the answer.
 

M66B

Recognized Developer
Aug 1, 2010
26,751
57,997
Hello Marcel
Since version 2.252 the key symbol in the notification area has disappeared although I've enabled all notifications for the app.
Is it due to the VPN handover deletion?
Thanks for the answer.
I don't think this is caused by removing the VPN handover.

The key symbol is shown by Android, so you might have disabled some Android notifications causing this notification to disappear too.
 

fraschi51

Senior Member
Mar 17, 2016
1,187
455
I can also capture the constantly increasing RAM consumption by NG with filtering enabled on a new Android 9 smartphone (see screenshot, even more than the Android operating system!). Too bad Marcel can't reproduce it like this.
 

Attachments

  • NG_RAM_Screenshot_20190712-121747.png
    NG_RAM_Screenshot_20190712-121747.png
    138.6 KB · Views: 204

maybeme2

Senior Member
Aug 28, 2015
2,336
750
Google Pixel 5
Moto G 5G
I can also capture the constantly increasing RAM consumption by NG with filtering enabled on a new Android 9 smartphone (see screenshot, even more than the Android operating system!). Too bad Marcel can't reproduce it like this.
Just trying to learn and I don't know German.

Why do you have 2 android systems in the battery screenshot? I only have one shown on mine?
 

fraschi51

Senior Member
Mar 17, 2016
1,187
455
I don't know either, especially I don't know what the difference between 'Android operating system' and 'Android system' can be. It is a brand new UMIDIGI S3 Pro with Android 9.
 
  • Like
Reactions: maybeme2

lukval

Senior Member
Sep 29, 2015
223
33
Sony Xperia M
Honor 9
NetGuard tried to connect to a remote server via a Linux socket and got "no route to host" back. This can have a number of causes, but this is not caused and cannot be fixed by NetGuard.

Possible causes are that there is another, external firewall blocking connections or that the host is not responding (in time).

It happens to 3 diff. connections at the same time:
192.168.1.1/7 (icmp)
213.150.2.133/443 (https)
217.11.199.167/443 (https)

It could be if my router can behave like firewall but I don't think so.

NG logcat for that section attached.


Sent from my STF-L09 using XDA Labs
 

Attachments

  • nglogcat.txt
    15.7 KB · Views: 9

M66B

Recognized Developer
Aug 1, 2010
26,751
57,997
It happens to 3 diff. connections at the same time:
192.168.1.1/7 (icmp)
213.150.2.133/443 (https)
217.11.199.167/443 (https)

It could be if my router can behave like firewall but I don't think so.

NG logcat for that section attached.
NetGuard cannot force sockets to connect and it is highly unlikely that there are bugs in this part of the Linux kernel.

The exact error is:
SO_ERROR 113: No route to host

SO_ERROR 133 = EHOSTUNREACH

From the socket connect documentation:
EHOSTUNREACH
The destination host cannot be reached (probably because the host is down or a remote router cannot reach it).

I am pretty sure this is not a NetGuard problem.
 

ErinVoid

New member
Jul 13, 2019
2
0
Thanks for Netguard. It is a very intuitive and useful software.

My question/suggestion is could you add the app/service DNS over TLS uses or Netguard shows to the FAQ item 64 as it isn't overly apparent and if the choice of blocking everything by default is selected, then it is obviously blocked.
 

M66B

Recognized Developer
Aug 1, 2010
26,751
57,997
Thanks for Netguard. It is a very intuitive and useful software.

My question/suggestion is could you add the app/service DNS over TLS uses or Netguard shows to the FAQ item 64 as it isn't overly apparent and if the choice of blocking everything by default is selected, then it is obviously blocked.
Basically the FAQ says that this is not possible because DNS over TLS appears encrypted to NetGuard.
 

netguarduser

Senior Member
Sep 17, 2016
198
38
With the new update I can't see a difference, in fact I'm still receiving a sound notification everytime I disconnect/connect wifi (for example). Do you know which notification from Netguard do this so I can disable it?. Thanks!
 
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.