afwall icon indicating copy to clipboard operation
afwall copied to clipboard

[ISSUE] root applications issues

Open xxjoe2 opened this issue 6 months ago • 1 comments

hi

i dont understand why sometimes afwall prompts me something like root application xxx (127.0.0.1 port 1234)

i have several apps running as root like dns server, proxy etc i have allowed all root apps to have internet access but still i got this problem and applications blocked

i have global rules to allow the traffic and redirections but once afwall is installed sometimes these root apps failed to work properly. i have googled and browsed the issues reported here but no fruit

any ideas pls?

thanks

xxjoe2 avatar Dec 24 '23 08:12 xxjoe2

Blind guess on the Apps involved

In the case of Invizible running in Root Mode it has to be the last one in line to 'Apply Rules' in order for this notification not to appear. Probably similar with other apps. Works fine if they are started after Afwall is done, cause issues if you change something afterwards. Appears to always involve localhost related stuff as well, actual outbound communication seems to work fine (gonna have to check on that one)

In a somewhat broken setup: Applying rules after Invizible completely breaks DNS requests to the local DNS even if you just allowed root Apps VPN access even without active VPN. Toggling a connection change (assuming the option is set) allows reclaiming the state and everything works again.

There's a reason for it somewhere stated in the Invizible Wiki why it works that way. While kinda annoying, changing AfWall related stuff while offline seems to avoid more frequent issues.

Might not explain the exact cause of the issues with your setup, it might still provide 1 more data point assuming the issue is still relevant.

TotallyAvailable avatar Jan 21 '24 13:01 TotallyAvailable