skullone / android_firewall

This is a fork of Droidwall by Rodrigo Zechin Rosauro - http://code.google.com/p/droidwall/
128 stars 91 forks source link

the firewall some times is automatically disabled un a motorola razrxt910 #29

Closed eltio2k closed 10 years ago

eltio2k commented 11 years ago

I have checked only whantsap has enabled to connect in a 3g net, and i set that all the others applications to connect only through wifi, when I see the programs that was consumed data today I can see google+ and facebook I have a limit by day and when it is close to te 40% it disconnect the 3g, after that I go to the android firewall and press the button to run the rules again... after that some times stop the 3g use some times not, but always after a wile it stop working and let the Internet run free. what you recommend me to do to help you to find which is the the problem?

skullone commented 11 years ago

Hello!

I need a logcat after you apply the rules and from when you notice the issue. You can use CatLog or aLogcat from the Play Store to send the logcat to me.

I also need the output from the following commands in Terminal Emulator:

su iptables -L

Thanks!

-Jason

On Mon, May 6, 2013 at 6:00 PM, eltio2k notifications@github.com wrote:

I have checked only whantsap has enabled to connect in a 3g net, and i set that all the others applications to connect only through wifi, when I see the programs that was consumed data today I can see google+ and facebook I have a limit by day and when it is close to te 40% it disconnect the 3g, after that I go to the android firewall and press the button to run the rules again... after that some times stop the 3g use some times not, but always after a wile it stop working and let the Internet run free. what you recommend me to do to help you to find which is the the problem?

— Reply to this email directly or view it on GitHubhttps://github.com/skullone/android_firewall/issues/29 .

eltio2k commented 11 years ago

You need that I turn off the firewall. Start the logcat and turn on the firewall. And send all the log that it return? But I don't know when the firewall start to fail. After a wile I enter to the system tool that you the data consumption by program and i can see a lot of programs and should be only the whatsapp. I attach an screenshot But I don't know when it start to fail. I'm using watch dog and I set a limit by day when the daily quota is exceed by 40% it disconnect Internet and I realice that the firewall has failing, I enter to the firewall and re apply the rules.

This is the result of the iptables - L command

app_251@umts_spyder:/ $ su root@umts_spyder:/ # iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination
all -- anywhere anywhere ! quota globalAlert: 2097152 bytes ACCEPT all -- anywhere anywhere
all -- anywhere anywhere owner socket exists

Chain FORWARD (policy DROP) target prot opt source destination

Chain OUTPUT (policy ACCEPT) target prot opt source destination
droidwall all -- anywhere anywhere
all -- anywhere anywhere ! quota globalAlert: 2097152 bytes ACCEPT all -- anywhere anywhere
all -- anywhere anywhere owner socket exists

Chain costly_shared (0 references) target prot opt source destination
penalty_box all -- anywhere anywhere
all -- anywhere anywhere owner socket exists ACCEPT all -- anywhere anywhere

Chain droidwall (1 references) target prot opt source destination
FIX ME! implement getprotobynumber() bionic/libc/bionic/stubs.c:456 RETURN udp -- anywhere anywhere owner UID match root udp dpt:domain droidwall-3g all -- anywhere anywhere
droidwall-3g all -- anywhere anywhere
droidwall-3g all -- anywhere anywhere
droidwall-3g all -- anywhere anywhere
droidwall-3g all -- anywhere anywhere
droidwall-3g all -- anywhere anywhere
droidwall-3g all -- anywhere anywhere
droidwall-3g all -- anywhere anywhere
droidwall-3g all -- anywhere anywhere
droidwall-3g all -- anywhere anywhere
droidwall-3g all -- anywhere anywhere
droidwall-3g all -- anywhere anywhere
droidwall-3g all -- anywhere anywhere
droidwall-3g all -- anywhere anywhere
droidwall-3g all -- anywhere anywhere
droidwall-3g all -- anywhere anywhere
droidwall-3g all -- anywhere anywhere
droidwall-wifi all -- anywhere anywhere
droidwall-wifi all -- anywhere anywhere
droidwall-wifi all -- anywhere anywhere
droidwall-wifi all -- anywhere anywhere
droidwall-wifi all -- anywhere anywhere
droidwall-wifi all -- anywhere anywhere
droidwall-vpn all -- anywhere anywhere
droidwall-vpn all -- anywhere anywhere
droidwall-vpn all -- anywhere anywhere
droidwall-vpn all -- anywhere anywhere

Chain droidwall-3g (17 references) target prot opt source destination
RETURN all -- anywhere anywhere owner UID match nobody RETURN all -- anywhere anywhere owner UID match app_121 droidwall-reject all -- anywhere anywhere

Chain droidwall-reject (1 references) target prot opt source destination
LOG all -- anywhere anywhere LOG level warning uid prefix "[AndroidFirewall] " REJECT all -- anywhere anywhere reject-with icmp-port-unreachable

Chain droidwall-vpn (4 references) target prot opt source destination

Chain droidwall-wifi (6 references) target prot opt source destination

Chain penalty_box (1 references) target prot opt source destination
root@umts_spyder:/ #


Enviado desde mi dispositivo android.

-----Original Message----- From: Jason Tschohl notifications@github.com To: skullone/android_firewall android_firewall@noreply.github.com Cc: eltio2k eltio2k-temp@yahoo.com.ar Sent: lun, 06 may 2013 23:29 Subject: Re: [android_firewall] the firewall some times is automatically disabled un a motorola razrxt910 (#29)

Hello!

I need a logcat after you apply the rules and from when you notice the issue. You can use CatLog or aLogcat from the Play Store to send the logcat to me.

I also need the output from the following commands in Terminal Emulator:

su iptables -L

Thanks!

-Jason

On Mon, May 6, 2013 at 6:00 PM, eltio2k notifications@github.com wrote:

I have checked only whantsap has enabled to connect in a 3g net, and i set that all the others applications to connect only through wifi, when I see the programs that was consumed data today I can see google+ and facebook I have a limit by day and when it is close to te 40% it disconnect the 3g, after that I go to the android firewall and press the button to run the rules again... after that some times stop the 3g use some times not, but always after a wile it stop working and let the Internet run free. what you recommend me to do to help you to find which is the the problem?

— Reply to this email directly or view it on GitHubhttps://github.com/skullone/android_firewall/issues/29 .


Reply to this email directly or view it on GitHub: https://github.com/skullone/android_firewall/issues/29#issuecomment-17520001

eltio2k commented 11 years ago

When I try to run

su iptables -L

It says that don't recognize the - L option

Enviado desde mi dispositivo android.

-----Original Message----- From: "Matías Medina " shakar2k@yahoo.com.ar To: skullone/android_firewall reply@reply.github.com Sent: vie, 10 may 2013 8:52 Subject: Re: [android_firewall] the firewall some times is automatically disabled un a motorola razrxt910 (#29)

Yesterday apparently the firewall can't apply the rules. I didn't used any application and the Internet was consumed by 10% of my daily quota and the watchdog (an app) disabled Internet.

Enviado desde mi dispositivo android.

-----Original Message----- From: Jason Tschohl notifications@github.com To: skullone/android_firewall android_firewall@noreply.github.com Cc: eltio2k eltio2k-temp@yahoo.com.ar Sent: lun, 06 may 2013 23:29 Subject: Re: [android_firewall] the firewall some times is automatically disabled un a motorola razrxt910 (#29)

Hello!

I need a logcat after you apply the rules and from when you notice the issue. You can use CatLog or aLogcat from the Play Store to send the logcat to me.

I also need the output from the following commands in Terminal Emulator:

su iptables -L

Thanks!

-Jason

On Mon, May 6, 2013 at 6:00 PM, eltio2k notifications@github.com wrote:

I have checked only whantsap has enabled to connect in a 3g net, and i set that all the others applications to connect only through wifi, when I see the programs that was consumed data today I can see google+ and facebook I have a limit by day and when it is close to te 40% it disconnect the 3g, after that I go to the android firewall and press the button to run the rules again... after that some times stop the 3g use some times not, but always after a wile it stop working and let the Internet run free. what you recommend me to do to help you to find which is the the problem?

— Reply to this email directly or view it on GitHubhttps://github.com/skullone/android_firewall/issues/29 .


Reply to this email directly or view it on GitHub: https://github.com/skullone/android_firewall/issues/29#issuecomment-17520001

skullone commented 11 years ago

Please type su first and grant terminal emulator root permission. Then run iptables -L

On Fri, May 10, 2013 at 7:56 AM, eltio2k notifications@github.com wrote:

When I try to run

su iptables -L

It says that don't recognize the - L option

Enviado desde mi dispositivo android.

-----Original Message----- From: "Matías Medina " shakar2k@yahoo.com.ar To: skullone/android_firewall reply@reply.github.com Sent: vie, 10 may 2013 8:52 Subject: Re: [android_firewall] the firewall some times is automatically disabled un a motorola razrxt910 (#29)

Yesterday apparently the firewall can't apply the rules. I didn't used any application and the Internet was consumed by 10% of my daily quota and the watchdog (an app) disabled Internet.

Enviado desde mi dispositivo android.

-----Original Message----- From: Jason Tschohl notifications@github.com To: skullone/android_firewall android_firewall@noreply.github.com Cc: eltio2k eltio2k-temp@yahoo.com.ar Sent: lun, 06 may 2013 23:29 Subject: Re: [android_firewall] the firewall some times is automatically disabled un a motorola razrxt910 (#29)

Hello!

I need a logcat after you apply the rules and from when you notice the issue. You can use CatLog or aLogcat from the Play Store to send the logcat to me.

I also need the output from the following commands in Terminal Emulator:

su iptables -L

Thanks!

-Jason

On Mon, May 6, 2013 at 6:00 PM, eltio2k notifications@github.com wrote:

I have checked only whantsap has enabled to connect in a 3g net, and i set that all the others applications to connect only through wifi, when I see the programs that was consumed data today I can see google+ and facebook I have a limit by day and when it is close to te 40% it disconnect the 3g, after that I go to the android firewall and press the button to run the rules again... after that some times stop the 3g use some times not, but always after a wile it stop working and let the Internet run free. what you recommend me to do to help you to find which is the the problem?

— Reply to this email directly or view it on GitHub< https://github.com/skullone/android_firewall/issues/29> .


Reply to this email directly or view it on GitHub:

https://github.com/skullone/android_firewall/issues/29#issuecomment-17520001

— Reply to this email directly or view it on GitHubhttps://github.com/skullone/android_firewall/issues/29#issuecomment-17716468 .

eltio2k commented 11 years ago

Letme know if this iptables helps, or you need that I active adroid firewall and wait that it start to fail and run the iptables and logcat at the same time.

app_251@umts_spyder:/ $ su root@umts_spyder:/ # iptables -L Chain INPUT (policy ACCEPT) target    prot opt source              destination                  all  --  anywhere            anywhere            ! quota globalAlert: 2097152 bytes ACCEPT    all  --  anywhere            anywhere                    all  --  anywhere            anywhere            owner socket exists

Chain FORWARD (policy DROP) target    prot opt source              destination       

Chain OUTPUT (policy ACCEPT) target    prot opt source              destination        droidwall  all  --  anywhere            anywhere                    all  --  anywhere            anywhere            ! quota globalAlert: 2097152 bytes ACCEPT    all  --  anywhere            anywhere                    all  --  anywhere            anywhere            owner socket exists

Chain costly_shared (0 references) target    prot opt source              destination        penalty_box  all  --  anywhere            anywhere                  all  --  anywhere            anywhere            owner socket exists ACCEPT    all  --  anywhere            anywhere         

Chain droidwall (1 references) target    prot opt source              destination        FIX ME! implement getprotobynumber() bionic/libc/bionic/stubs.c:456 RETURN    udp  --  anywhere            anywhere            owner UID match root udp dpt:domain droidwall-3g  all  --  anywhere            anywhere        droidwall-3g  all  --  anywhere            anywhere        droidwall-3g  all  --  anywhere            anywhere        droidwall-3g  all  --  anywhere            anywhere        droidwall-3g  all  --  anywhere            anywhere        droidwall-3g  all  --  anywhere            anywhere        droidwall-3g  all  --  anywhere            anywhere        droidwall-3g  all  --  anywhere            anywhere        droidwall-3g  all  --  anywhere            anywhere        droidwall-3g  all  --  anywhere            anywhere        droidwall-3g  all  --  anywhere            anywhere        droidwall-3g  all  --  anywhere            anywhere        droidwall-3g  all  --  anywhere            anywhere        droidwall-3g  all  --  anywhere            anywhere        droidwall-3g  all  --  anywhere            anywhere        droidwall-3g  all  --  anywhere            anywhere        droidwall-3g  all  --  anywhere            anywhere        droidwall-wifi  all  --  anywhere            anywhere      droidwall-wifi  all  --  anywhere            anywhere      droidwall-wifi  all  --  anywhere            anywhere      droidwall-wifi  all  --  anywhere            anywhere      droidwall-wifi  all  --  anywhere            anywhere      droidwall-wifi  all  --  anywhere            anywhere      droidwall-vpn  all  --  anywhere            anywhere      droidwall-vpn  all  --  anywhere            anywhere      droidwall-vpn  all  --  anywhere            anywhere      droidwall-vpn  all  --  anywhere            anywhere     

Chain droidwall-3g (17 references) target    prot opt source              destination        RETURN    all  --  anywhere            anywhere            owner UID match nobody RETURN    all  --  anywhere            anywhere            owner UID match app_121 droidwall-reject  all  --  anywhere            anywhere   

Chain droidwall-reject (1 references) target    prot opt source              destination        LOG        all  --  anywhere            anywhere            LOG level warning uid prefix "[AndroidFirewall] " REJECT    all  --  anywhere            anywhere            reject-with icmp-port-unreachable

Chain droidwall-vpn (4 references) target    prot opt source              destination       

Chain droidwall-wifi (6 references) target    prot opt source              destination       

Chain penalty_box (1 references) target    prot opt source              destination        root@umts_spyder:/ #


De: Jason Tschohl notifications@github.com Para: skullone/android_firewall android_firewall@noreply.github.com CC: eltio2k eltio2k-temp@yahoo.com.ar Enviado: viernes, 10 de mayo de 2013 9:11 Asunto: Re: [android_firewall] the firewall some times is automatically disabled un a motorola razrxt910 (#29)

Please type su first and grant terminal emulator root permission. Then run iptables -L

On Fri, May 10, 2013 at 7:56 AM, eltio2k notifications@github.com wrote:

When I try to run

su iptables -L

It says that don't recognize the - L option

Enviado desde mi dispositivo android.

-----Original Message----- From: "Matías Medina " shakar2k@yahoo.com.ar To: skullone/android_firewall reply@reply.github.com Sent: vie, 10 may 2013 8:52 Subject: Re: [android_firewall] the firewall some times is automatically disabled un a motorola razrxt910 (#29)

Yesterday apparently the firewall can't apply the rules. I didn't used any application and the Internet was consumed by 10% of my daily quota and the watchdog (an app) disabled Internet.

Enviado desde mi dispositivo android.

-----Original Message----- From: Jason Tschohl notifications@github.com To: skullone/android_firewall android_firewall@noreply.github.com Cc: eltio2k eltio2k-temp@yahoo.com.ar Sent: lun, 06 may 2013 23:29 Subject: Re: [android_firewall] the firewall some times is automatically disabled un a motorola razrxt910 (#29)

Hello!

I need a logcat after you apply the rules and from when you notice the issue. You can use CatLog or aLogcat from the Play Store to send the logcat to me.

I also need the output from the following commands in Terminal Emulator:

su iptables -L

Thanks!

-Jason

On Mon, May 6, 2013 at 6:00 PM, eltio2k notifications@github.com wrote:

I have checked only whantsap has enabled to connect in a 3g net, and i set that all the others applications to connect only through wifi, when I see the programs that was consumed data today I can see google+ and facebook I have a limit by day and when it is close to te 40% it disconnect the 3g, after that I go to the android firewall and press the button to run the rules again... after that some times stop the 3g use some times not, but always after a wile it stop working and let the Internet run free. what you recommend me to do to help you to find which is the the problem?

— Reply to this email directly or view it on GitHub< https://github.com/skullone/android_firewall/issues/29> .


Reply to this email directly or view it on GitHub:

https://github.com/skullone/android_firewall/issues/29#issuecomment-17520001

— Reply to this email directly or view it on GitHubhttps://github.com/skullone/android_firewall/issues/29#issuecomment-17716468 .

— Reply to this email directly or view it on GitHub.

skullone commented 11 years ago

Can you send me three files? Please e-mail them directly to me. You can get my e-mail through the Play Store.

You need to use a file explorer that can get root access. Like ES File Explorer

On your phone under this directory:

/data/system/

I need the following files:

packages.xml packages.list uiderrors.txt

Thanks!

-Jason

On Sun, May 12, 2013 at 11:56 AM, eltio2k notifications@github.com wrote:

Letme know if this iptables helps, or you need that I active adroid firewall and wait that it start to fail and run the iptables and logcat at the same time.

app_251@umts_spyder:/ $ su root@umts_spyder:/ # iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination all -- anywhere anywhere ! quota globalAlert: 2097152 bytes ACCEPT all -- anywhere anywhere all -- anywhere anywhere owner socket exists

Chain FORWARD (policy DROP) target prot opt source destination

Chain OUTPUT (policy ACCEPT) target prot opt source destination droidwall all -- anywhere anywhere all -- anywhere anywhere ! quota globalAlert: 2097152 bytes ACCEPT all -- anywhere anywhere all -- anywhere anywhere owner socket exists

Chain costly_shared (0 references) target prot opt source destination penalty_box all -- anywhere anywhere all -- anywhere anywhere owner socket exists ACCEPT all -- anywhere anywhere

Chain droidwall (1 references) target prot opt source destination FIX ME! implement getprotobynumber() bionic/libc/bionic/stubs.c:456 RETURN udp -- anywhere anywhere owner UID match root udp dpt:domain droidwall-3g all -- anywhere anywhere droidwall-3g all -- anywhere anywhere droidwall-3g all -- anywhere anywhere droidwall-3g all -- anywhere anywhere droidwall-3g all -- anywhere anywhere droidwall-3g all -- anywhere anywhere droidwall-3g all -- anywhere anywhere droidwall-3g all -- anywhere anywhere droidwall-3g all -- anywhere anywhere droidwall-3g all -- anywhere anywhere droidwall-3g all -- anywhere anywhere droidwall-3g all -- anywhere anywhere droidwall-3g all -- anywhere anywhere droidwall-3g all -- anywhere anywhere droidwall-3g all -- anywhere anywhere droidwall-3g all -- anywhere anywhere droidwall-3g all -- anywhere anywhere droidwall-wifi all -- anywhere anywhere droidwall-wifi all -- anywhere anywhere droidwall-wifi all -- anywhere anywhere droidwall-wifi all -- anywhere anywhere droidwall-wifi all -- anywhere anywhere droidwall-wifi all -- anywhere anywhere droidwall-vpn all -- anywhere anywhere droidwall-vpn all -- anywhere anywhere droidwall-vpn all -- anywhere anywhere droidwall-vpn all -- anywhere anywhere

Chain droidwall-3g (17 references) target prot opt source destination RETURN all -- anywhere anywhere owner UID match nobody RETURN all -- anywhere anywhere owner UID match app_121 droidwall-reject all -- anywhere anywhere

Chain droidwall-reject (1 references) target prot opt source destination LOG all -- anywhere anywhere LOG level warning uid prefix "[AndroidFirewall] " REJECT all -- anywhere anywhere reject-with icmp-port-unreachable

Chain droidwall-vpn (4 references) target prot opt source destination

Chain droidwall-wifi (6 references) target prot opt source destination

Chain penalty_box (1 references) target prot opt source destination root@umts_spyder:/ #


De: Jason Tschohl notifications@github.com Para: skullone/android_firewall android_firewall@noreply.github.com CC: eltio2k eltio2k-temp@yahoo.com.ar Enviado: viernes, 10 de mayo de 2013 9:11 Asunto: Re: [android_firewall] the firewall some times is automatically disabled un a motorola razrxt910 (#29)

Please type su first and grant terminal emulator root permission. Then run iptables -L

On Fri, May 10, 2013 at 7:56 AM, eltio2k notifications@github.com wrote:

When I try to run

su iptables -L

It says that don't recognize the - L option

Enviado desde mi dispositivo android.

-----Original Message----- From: "Matías Medina " shakar2k@yahoo.com.ar To: skullone/android_firewall reply@reply.github.com Sent: vie, 10 may 2013 8:52 Subject: Re: [android_firewall] the firewall some times is automatically disabled un a motorola razrxt910 (#29)

Yesterday apparently the firewall can't apply the rules. I didn't used any application and the Internet was consumed by 10% of my daily quota and the watchdog (an app) disabled Internet.

Enviado desde mi dispositivo android.

-----Original Message----- From: Jason Tschohl notifications@github.com To: skullone/android_firewall android_firewall@noreply.github.com Cc: eltio2k eltio2k-temp@yahoo.com.ar Sent: lun, 06 may 2013 23:29 Subject: Re: [android_firewall] the firewall some times is automatically disabled un a motorola razrxt910 (#29)

Hello!

I need a logcat after you apply the rules and from when you notice the issue. You can use CatLog or aLogcat from the Play Store to send the logcat to me.

I also need the output from the following commands in Terminal Emulator:

su iptables -L

Thanks!

-Jason

On Mon, May 6, 2013 at 6:00 PM, eltio2k notifications@github.com wrote:

I have checked only whantsap has enabled to connect in a 3g net, and i set that all the others applications to connect only through wifi, when I see the programs that was consumed data today I can see google+ and facebook I have a limit by day and when it is close to te 40% it disconnect the 3g, after that I go to the android firewall and press the button to run the rules again... after that some times stop the 3g use some times not, but always after a wile it stop working and let the Internet run free. what you recommend me to do to help you to find which is the the problem?

— Reply to this email directly or view it on GitHub< https://github.com/skullone/android_firewall/issues/29> .


Reply to this email directly or view it on GitHub:

https://github.com/skullone/android_firewall/issues/29#issuecomment-17520001

— Reply to this email directly or view it on GitHub< https://github.com/skullone/android_firewall/issues/29#issuecomment-17716468>

.

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHubhttps://github.com/skullone/android_firewall/issues/29#issuecomment-17780048 .

skullone commented 11 years ago

Is this still an issue?