bpvelandy / droidwall

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

This is not working on a dual sim phone #186

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Get a dual sim phone to install your app
2. Active the firewall: it works !
3. Check any application then apply the rules: you get an error message
4. This is working fine on my other single sim phone

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
- the last one

Please provide any additional information below.
- your competitor have the same issue: I guess you are to close to the 
interface, you should remind on a protocol level, it would work

Original issue reported on code.google.com by dupo...@gmail.com on 25 Sep 2011 at 10:01

GoogleCodeExporter commented 9 years ago
What is the name of the network interface on this device?

It is not possible to match against the protocol, otherwise you can't 
differentiate between wi-fi and 3g.

Original comment by rodrigo...@gmail.com on 7 Oct 2011 at 5:25

GoogleCodeExporter commented 9 years ago
Thanks for your answer
I do not really understand your question / comment:
- which network interface are you talking about ?
my 2 SIM cards are recognized as SIM1 and SIM2 (like other dual SIM phones...)
My Wifi and Bluetooth interface have MAC addresses, but I guess this is not 
what you are asking for. Could you be more precise on the information you need?
Thank you
PS: One more comment: I unfortunately do not have 3g but only GPRS/Edge: is 
this useful ?

Original comment by dupo...@gmail.com on 7 Oct 2011 at 5:47

GoogleCodeExporter commented 9 years ago
Sorry that I didn't make it more clear.

Android is based on Linux, and all communication interfaces receive a unique 
name on on the Linux kernel. There are applications that show the "raw" 
interface name, such as "NetSentry".

Just install NetSentry (or other similar) from the market, and open it to see 
the name of the network interfaces... it whould be something like "eth0", 
"ppp0" (some characters followed by a number).

Thank you very much.

Original comment by rodrigo...@gmail.com on 10 Oct 2011 at 12:09

GoogleCodeExporter commented 9 years ago
Thank you
This is clear now
Launching NetSentry, I see 2 interfaces: 'wlan0' and 'ccmni0'
Thank you for furter feed back

Original comment by dupo...@gmail.com on 12 Oct 2011 at 12:21

GoogleCodeExporter commented 9 years ago
Thank you for the information. The interface "ccmni0" was really not 
supported...
I have added support for it on revision 225, so the next version should work 
for you!

Original comment by rodrigo...@gmail.com on 13 Oct 2011 at 12:54

GoogleCodeExporter commented 9 years ago
I downloaded the last version and got the same error message as below:
Error applying iptables rules.
Exit code: 1
iptables v1.4.10
iptables: No chain/target/ match by that name.

Original comment by dupo...@gmail.com on 14 Oct 2011 at 3:40

GoogleCodeExporter commented 9 years ago
Humm, please take a look at the FAQ:
http://code.google.com/p/droidwall/wiki/FAQ

You probably need to flash a new kernel that supports netfilter to make 
DroidWall work... unfortunately.

Original comment by rodrigo...@gmail.com on 14 Oct 2011 at 5:12