-
Notifications
You must be signed in to change notification settings - Fork 454
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
Log Service process does not start #1380
Comments
Here's a quick tip you might want to add to your FAQ or troubleshooting: Since the Log Service isn't listening to the nflog link/socket, I can attach tcpdump to it! tcpdump -i nflog:$(iptables-save | egrep "afwall.* NFLOG " | awk '{print $(NF)}') -n I only wish tcpdump could output the PID of the owner process for each packet. Sadly there is no such feature. |
I have also the issue that AFWall+ v3.6.0 does not log anymore on a plain 64 bit device like pixel 8. Seems there is still an issue with the code and I don't know how to fix it. |
Hi, further investigation revealed that the external binaries are pre compiled by using NDK as outlined in the docs for compiling them. When cloning the afwall repository these precompiled files are stored under afwall/app/src/main/res/raw. |
@kai-row Great work. We would appreciate it if you could share your nflog 64-bit binary via a link or so. |
Following a link where you can download the compliled binary: https://s-he.net/android/nflog_arm64.gz |
Thank you! I really appreciate this! I just was about to post my instructions how to compile nflog ... Haha (I should have waited an hour longer, I guess). All credit goes to @kai-row ! Install Podman (or Docker) on Ubuntu first ... This will install gcc 4.8. (Couldn't find a working image with gcc 4.7 ...)
|
So to clarify, the main issue here is that the binaries are still not available in aside: since this app has root access, I'd be very careful about trusting someone else's binary builds.. |
It's ridiculous that this is not built remotely in a controlled manner! Should fix ukanth#1397 ukanth#1380
AFWall+ v3.6.0. I am an advanced long-time user with multiple devices running AFW+. The device is a new Pixel 8 running LineageOS 21/Android 14.
The Log Service is not starting on this device. I verified via "cat /proc/net/netfilter/nfnetlink_log" and "ps auxw | grep nflog". The nflog process is not running like on my other devices.
When I logcat, I see lines showing that the Log Service is supposed to be started, but nothing actually happens. There are no warnings or errors that I can see.
This is a freshly installed device, so the configuration is pretty basic.
The text was updated successfully, but these errors were encountered: