-
Notifications
You must be signed in to change notification settings - Fork 455
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AFWall+ not working after reboot #700
Comments
i can confirm this. AOKP 7.1.2 rom build on 2017-04-18. |
Hi, I seem to have the same or at least a very similar Problem, but in my case blocking mobile Internet works, blocking WiFi doesn't. I'm using LineageOS with Android 7.1.2 also. Dis- and enabling AFWall doesn't fix the problem. |
Hi,
and i know nothing about SELinux. I would be glad if someone could tell me how to "chcon u:object_r:" this. After boot and restarting Afwall, it even stopped working randomly, but i could solve this by disabling the battery save mode. On Lineage you can make exceptions for background apps, but afwall won't stay on that list, so i think this issue is LineageOS related. Ukanth, thank your for afwall. At least a contraceptive in this filthy, dirty virtual world ;-) |
I can also confirm same issue on Motorola Nexus 6 device running Lineage OS 14.1 with addon-superuser - after reboot AFWall doesn't block any traffic, it works only when manually applying rules. Startup delay enabled, but still no luck... |
me again. ===========
|
In my case I could solve the problem by disabling Lan control. As soon as I enable it again and apply the rules afwall blocks nothing, even after restarting android. It makes no difference whether I enabling or disabling battery optimisation for AfWall. |
Thanks, disabling LAN control in Preferences > Rules/Connectivity did fix the issue - now all rules are working after reboot. |
i can not confirm that here. |
Which superuser app do you use? |
===========
|
I have the same issue. LineageOS 14.1 (Android 7.1) on a Galaxy S5 - AFWall+ only blocks traffic if I disable LAN control in Preferences > Rules/Connectivity. |
i have to add that the LAN control is essential to me as some apps indeed |
On 2.9.5, still the case. |
Issue confirmed. Using LineageOS 14.1 Android 7.1.2 on a Nexus 5. Had me baffled for 30 minutes before looking here. Disabling LAN control got it working for me also. LogCat for me also showed all interfaces down. Cant say I understand how much security LAN control provides. If someone can offer an explanation, that would be great. Regards |
I will look into the LAN issue on LineageOS. please send me iptables rules before and apply the rules when it's not working. Thanks. |
@ukanth If I understood you correctly, you wanted iptables before and after applying. If not, let me know. Files are attached. |
@ukanth Because I am not sure I gave you what you needed, I included rules after disabling LAN control. Regards |
I wonder why Afwall+ works for me, even after a reboot |
@beerisgood Are you using a stock or custom rom? What is your handset make and model? Version of Android? Version of afwall? Regards |
@razorshiv: I use unofficial LineageOS (custom ROM) from Seraph08 @ XDA-forum. |
@beerisgood |
Pretty glad i found this thread, had the same issue with my new G4 Plus. Got Lineage 14.1 installed and rooted with the addonsu-14.1-arm-signed.zip provided on lineage.com. Installed AFWall as the first app and enabled internet connections afterwards. My heart was bleeding when after a while i noticed tha K9 was connecting although was not allowed by then. |
Same issue here. Lineageos 14.1 on Samsung S4 mini GT-I9195 with 3.4.113 kernel. Disabling LAN control is a workaround for the problem. |
I'm having similar problems, but I'm not using Lineageos and unchecking LAN control doesn't fix it for me. I'm on a Asus Zenfone 3 Zoom ZE553KL stock ROM (7.1.1, kernel 3.18.31) with Magisk installed. Update: It dawned on me that this was because this ROM has a integrated startup manager that disables apps by default. Once I enabled it, it starts properly after restarts. |
Also not on lineageos. on 2.9.5, still recurs from time to time afwall not applying rules, and many apps having access to internet that should not, since not whitelisted. |
Updated to 2.9.6. Everything works for me now. Thank you! |
I still have this problem with afwall 2.9.6.1 and Resurrection Remix (based on LineageOS 14.1). |
@xylo , Can you send firewall rules right after reboot and after applying rules. Without that, it's hard to debug it. |
Solved it for me on my phone with LineageOS 14.1. |
Please reopen if you still have this bug in 3.x |
Hello,
I recently opened #699 but it seems that actually the problem is another: I uninstalled and reinstalled AFWall+ and bought the license and had an empty setup. In this everything was okay, i.e., all apps were blocked - also VPN based.
Yet, after an immediate reboot of the phone (AICP based on LineageOS, Android 7.1, device HTC10) I noticed that beside the fact that no app was selected for traffic (i.e., all should still be blocked) internet traffic was flowing normally. The browser could access any page, Google Play was working, etc.
So it seems that after a device reboot AFWall+ does not get activated again though it says that it is active.
The text was updated successfully, but these errors were encountered: