yuanjiao / droidwall

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

Tethering is not blocked #274

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
I want to use my mobile connection on another device (tethering).
Settings -> Wireless and network -> Mobile AP -> Mobile AP activated
Droidwall - with whitelist - blocks the browser.

What is the expected output? What do you see instead?
On this device I cannot connect to the internet. But on the other device, which 
my device connected through, I can connect!
I want also deny the other device.

What version of the product are you using? On what operating system?
I have installed droidwall version 1.5.7 – the newest from play store. On my 
tablet is Android 2.2. It is rooted.

Original issue reported on code.google.com by jh27...@gmail.com on 24 Aug 2012 at 1:52

GoogleCodeExporter commented 8 years ago
in other words, on the main device everything works fine, but the other device 
you are able to connect to the internet but you expect not.

Original comment by pogeachr...@gmail.com on 24 Aug 2012 at 2:24

GoogleCodeExporter commented 8 years ago
I've tested some iptables rules and I realized that those connections are sent 
through the application id -> 0 (root), so if it is in your white list, all the 
devices connected on your hotspot should have Internet connection

I have tried to add some rules to make some restrictions on that application 
(like ports or ip's) and it seems to ignore everything, it didn't work

this is one of my lines trying to block the web navigation...
$IPTABLES -A "droidwall" -p tcp --dport 80 -m owner --uid-owner 0 -j 
"droidwall-reject"

any ideas?

Original comment by rigobert...@gmail.com on 7 Sep 2012 at 4:24