I'm trying to stop Microsoft SwiftKey keyboard from connecting to the internet. Phone is Android 7, rooted. I have it blocked on AFWall+
But despite that, I can see through PCAPdroid (thanks to @Izzy for recommending this great app here) that it's still connecting to the internet and sending and receiving data.
Here are details of one of those connections.
I'm not sure how it's able to do so since it's - supposedly - blocked on AFWall.
I was thinking maybe there are other components of the keyboard that are not part of the bundle of what's checked in AFWall? Maybe those other components are not showing up on AFWall (or are under differents names), and it's those components that are connecting to the internet? How can I stop this?
Thanks in advance!
snippetdata.api.swiftkey.com
on its filter list – so the IP address could no longer be resolved (unless the app uses its own name server). – Izzy Mar 19 '22 at 18:44iptables
(AFWall) because both operate at OSI layer 3. AFWall might not be blocking the traffic going to TUN (VPN) interface. And the traffic leaving the VPN is owned by PCAPdroid, not by Swift KB, so won't be blocked by AFWall. Possible solutions: 1) Enable "VPN control" in AFWall. 2) Do not use PCAPdroid but insert aiptables -j LOG ...
rule at the end ofOUTPUT
chain infilter
table (orPOSTROUTING
chain innat
table). 3) Intercept the traffic outside the device e.g. at your router. – Irfan Latif Mar 19 '22 at 23:11iptables
. 3) Make testing with WiFi. Or go for option 1 or 2.iptables
-based, troubleshooting it directly is the simpler approach, IMO – Irfan Latif Mar 20 '22 at 22:01