afwall icon indicating copy to clipboard operation
afwall copied to clipboard

Afwall error when applying rules

Open kohanla opened this issue 2 years ago • 7 comments

I tested this on various devices (A11 and A12). I am not able to reproduce this consistently, but it happens (very) frequently.

AFwall is not able to apply rules without an error "in the first round". I have to repeat the step many times to get rules applied.

But there is one way to fix the issue 100%. I just need to switch from "IPv6 support" to "Only control IPv6" mode (and block all chains). After that applying rules never errors out.

kohanla avatar Aug 14 '22 08:08 kohanla

Same issue here with 3.5.3 and OnePlus 6T and 8T. The issue here seems to still linger with IPv6: https://github.com/ukanth/afwall/issues/1206

CircuitSerialKiller avatar Sep 29 '22 00:09 CircuitSerialKiller

I can confirm this bug on LineageOS 19.1 / Fairphone 3+

It does not happen on LineageOS 18 / Samsung A5/2017

It looke like if happens very often when changing network connections, e.g. WLAN to LTE and back.

Needs reboot of device to be ok again. On book and some time later it loads including custom rules without any error.

vsatmydynipnet avatar Jan 01 '23 13:01 vsatmydynipnet

Do you checked the "Add Delay" option? This fixed the error for me at least. No need to disable IPv6 support here.

upbox-org avatar Mar 01 '23 04:03 upbox-org

Yes, I tried that option (I probably tried everything :). Did not help unfortunately.

kohanla avatar Mar 01 '23 06:03 kohanla

I have a similar behaviour when I install a new app, then tap the notification to add that app to whitelist: applying the rules fails 100% of the time.

Killing AFwall+ (with long-press on "back", in my ROMs), starting it again then applying the rules then works 100%.

breversa avatar Jul 27 '23 09:07 breversa

Same here using /e/OS on FP4

iromeister avatar Aug 15 '23 07:08 iromeister