yanglinjingshu / droidwall

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

Application silently applies rules for 3G network to a wired USB connection #223

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Setup a whitelist configuration which enables some apps to go through WiFi 
interfaces only (don't allow 3G networking to any app)
2. Enable firewall
3. Connect USB cable and set to use internet over usb

What is the expected output? What do you see instead?
No app is able to access network with ICMP Port Unreachable result. As long as 
WiFi is obviously a less expensive way of internet access, it implies USB 
networking to be definitely free. So why is it applied with rules from a more 
restricted communications channel?

What version of the product are you using? On what operating system?
1.5.7

Please provide any additional information below.
I'd better suggest to add a third column of checkboxes for USB connection or at 
least add a switch into settings so the user be able to select which bearer's 
rules are to be aplied to USB conenction

Original issue reported on code.google.com by Bob...@gmail.com on 20 Dec 2011 at 6:53

GoogleCodeExporter commented 9 years ago
The problem is that some manufacturers decided to use an USB interface 
internally for the mobile interface.
So - on some devices - the 2G/3G connection is reported to be a USB adapter! So 
I had to add a rule to match USB interfaces against the "3G" filter.

I agree that there could be a setting for disabling this behavior tough, so I 
will keep this for future enhancement ;)

Original comment by rodrigo...@gmail.com on 21 Dec 2011 at 11:51