archsh / droidwall

Automatically exported from code.google.com/p/droidwall
0 stars 0 forks source link

Not blocking UID. #84

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Block UID 1001 (Dialer, com.motorola.hiddenmenu, Dialer Storage, etc.)

What is the expected output? What do you see instead?
No data transmission in that UID, however, there is data transmission.

What version of the product are you using? On what operating system?
Cyanogen Mod for Milestone, with Froyo 2.2.

Thanks!

Original issue reported on code.google.com by gzorri...@galileoar.com on 3 Jan 2011 at 5:00

GoogleCodeExporter commented 9 years ago
Some system applications use special ways for communication... They use another 
system service (with another UID) to communicate.

DroidWall is able to block these system services, but you need to know exactly 
which UID is responsible for what... not always an easy task, but DroidWall's 
logs can help you on that.

This is not a DroidWall problem, but a design decision on the Android platform.

Original comment by rodrigo...@gmail.com on 1 Feb 2011 at 1:28

GoogleCodeExporter commented 9 years ago
Perhaps the other way of communication is the GUI? I found that several 
services share the same UID but have different GUI.

Original comment by gzorri...@galileoar.com on 1 Feb 2011 at 4:13

GoogleCodeExporter commented 9 years ago
Actually, the problem is not on apps that share the same UID (those can be 
blocked as a group with no problems)... but exactly the oposite: system apps 
that don't share the UID but can share data one to another.

Take the "Youtube" example... It has two communication channels. The first is 
used for searching/navigation, and is done by the Youtube application itself. 
But when you try to watch a video, this video is actually downloaded by the 
"Media server" application.
So, to effectively block youtube, you must block both the Youtube and Media 
server apps.

Original comment by rodrigo...@gmail.com on 1 Feb 2011 at 4:37

GoogleCodeExporter commented 9 years ago
That sucks. Well, I'll have to deal with a few hundreds of kb of wasted data 
each day. The app helped a lot tho.

Original comment by gaz...@gmail.com on 1 Feb 2011 at 4:45

GoogleCodeExporter commented 9 years ago
You can use the log to determine which apps are wasting data... just enable 
white-list, un-check ALL apps and apply rules and clear the log... Use your 
phone normally for while then check the log to see which apps attempted to 
access the internet.

Original comment by rodrigo...@gmail.com on 1 Feb 2011 at 4:58