How to monitor network data details? - Networking

Is there a way to monitor an app's internet data traffic? I am specifically interested in which webservice (URL) an app is calling, and what data is passed to it from my device. I have found some network monitor apps on google play that tells you the URL, but not the details of what data is passed, rendering it not useful.
thanks,
Joe

you mean somthing like wireshark or tcpdump?
if you want to capture packets you can use "shark for root" (you can use it only if you have a root).

Google network sniffer

Related

Selectively disable net access by app?

I have a Touch Pro2 which connects to the net every 15 minutes for reasons that I'm not aware of (I have Outlook and Weather set to Manual, have disabled Latitude in Google Maps, etc). SPB Wireless Monitor tells me only that system.exe or services.exe are doing the accesses.
Since my provider charges per session this can get quite expensive, so I've been forced to turn 3G/GPRS access on/off manually using NoData.
Is there a way of selectively enabling net access for designated applications only? e.g. allowing it to Opera and Outlook only by default, and selectively enabling other apps on demand?
Alternatively, is there a way of finding out which apps are trying to access the net without my knowledge? (e.g. by forcing a prompt every time an application attempts 3G/GPRS access)?
TIA for any tips
Ian
itm said:
Alternatively, is there a way of finding out which apps are trying to access the net without my knowledge? (e.g. by forcing a prompt every time an application attempts 3G/GPRS access)?
Ian
Click to expand...
Click to collapse
Hi,
If you grab a trial of SPB Wireless Monitor,that will show what apps and how much data has been used per application.
i think this is a greate idea. someone should really develop this.
basically the user would provide the application with an approved list of applications that can connect using the 3g/edge connection. the rest can only connect using wifi or activesync
GLO said:
Hi,
If you grab a trial of SPB Wireless Monitor,that will show what apps and how much data has been used per application.
Click to expand...
Click to collapse
but it doesnt do anything after it tells you this stats.
a simple application similar to "no data" should still be developed. what do you all think?
look into your taskmanager
RSSHub ? QuickGPS ?
good look
Quote:
Originally Posted by itm View Post
Alternatively, is there a way of finding out which apps are trying to access the net without my knowledge? (e.g. by forcing a prompt every time an application attempts 3G/GPRS access)?
Ian
THE GRIZZ said:
but it doesnt do anything after it tells you this stats.
a simple application similar to "no data" should still be developed. what do you all think?
Click to expand...
Click to collapse
Sure, this wont stop the apps, but as the OP had asked, this will let him know what apps are accessing the NEt
GLO said:
Hi,
If you grab a trial of SPB Wireless Monitor,that will show what apps and how much data has been used per application.
Click to expand...
Click to collapse
SPB Wireless Monitor tells me only that system.exe or services.exe are doing the accesses.
Mamamam said:
look into your taskmanager
RSSHub ? QuickGPS ?
good look
Click to expand...
Click to collapse
I tried installing and runnign TaskMgr but it hangs during startup on my TouchPro2. What's the best alternative Task manager app?
itm said:
SPB Wireless Monitor tells me only that system.exe or services.exe are doing the accesses.
Click to expand...
Click to collapse
I suspect that they are your Network Operator settings checking for updates or
something like that.
GLO said:
I suspect that they are your Network Operator settings checking for updates or
something like that.
Click to expand...
Click to collapse
They make 87 connections in 18 hours - does that sound likely? It works out very expensive for those tariffs which charge a per-connection fee.
Any idea how I could disable this (or confirm that this is indeed the explanation)?
Hutchison3G sets up virtually all their supplied phones with network configurations to connect very frequently like what you describe.
See if you can simply disable your data connection. As with H3G in Australia, you dont get charged when it is simply accessing its own intranet, and when its roaming it only displays a 'lite' homepage.
Perhaps consider a non-network issued rom, or determine whether that data is 'free intranet' or not.
GLO said:
See if you can simply disable your data connection. As with H3G in Australia, you dont get charged when it is simply accessing its own intranet, and when its roaming it only displays a 'lite' homepage.
Click to expand...
Click to collapse
I already use NoData to manually enable/disable the data connection when it's required/not required. I was just hoping for a more elegant solution to stop unauthorised apps incurring data charges, while not sacrificing the convenience of automatic access for apps that I use alot (like Opera and Outlook)
hope someone develops this
You can try PPC version of ProxyCap to restrict or proxify access per application - http://www.proxycap.com/
It doesn't pop up when an aplication attempts to communicate with the Internet, so manual configuration is required. You'll need to set up proxy bypass for the applications you want to be allowed to connect and use localhost as a proxy by default, so that other applications can't communicate with external hosts. You can also filter traffic based on destination IPs and ports. E.g. an easier solution may be to allow http and https traffic only for all applications and drop everything else if you only need to use a web browser.
ProxyCap may not prevent your GPRS/EDGE/HSDPA connection from being established every time, but at least there will be application or protocol filtering in place and thus less unexpected traffic. ProxyCap does not seem to be able to filter ICMP traffic. It appears to be allowing DNS traffic through regardless of the filtering configuration too, as it can't be proxified and is required for proper name resolution.
Another alternative is PPC firewalls like
http://www.airscanner.com/products/firewall/
and
http://www.anthasoft.com/anthafirewall-firewall-for-mobile-device.php
I haven't used any of these products though and can't recommend them.
Both seem to be more user friendly than proxycap though.

App that control which apps can use 3g/edge and wifi

Is there any app that can control which apps are allowed to use 3g/edge to connect to the Internet and which are only allowed to do that when wifi is available?
Yes me too want to know how to restrict data download.
Thank you.
IMO, an app that manages all permissions would be even better. I haven't heard of any such apps but hopefully someone can come up with something.
can I somehow restrict all data transfers? I have no data tarif from my mobile operator and allmost everywhere I am i have free wifi connection (so I want use wifi).
Thank you
"Tasker" may be able to help, it can control your settings based on all kinds of scenarios. I have my mobile data disabled and use Tasker to enable it when certain apps start (internet, email, etc), it will disable it automatically when you close that app (needs apndroid installed). I do the same with GPS.
Tasker gives you loads of options and control, you can create custom widgets and automatic profile switching.
milanf said:
can I somehow restrict all data transfers? I have no data tarif from my mobile operator and allmost everywhere I am i have free wifi connection (so I want use wifi).
Thank you
Click to expand...
Click to collapse
droidwall may be of interest to you guys, it blocks all apps to connect to 3g/edge unless you specify the app in the droidwall whitelist
note: Droidwall does require root
Would appreciate to know where to get the "Tasker" you mentioned.
Thank you.
I can find Tasker in the market, but I first found it on androlib. I use it to disable ´mobile data' during the night.

[Q] Firewall app?

Is there a firewall app which blocks all traffic like the personal firewalls for PCs do? With it you could
- whitelist certain apps for all destinations e.g. Google Earth, GMail, browser
- whitelist certain destinations in general e.g. *.google.com
- blacklist certain apps e.g. SuperGameButWhichAlsoPhonesHome.apk
- pops up if an app tries to connect to an yet unlisted destination and blocks or allows by default
The problem with permissions is, it's all or nothing. E.g. I want allow most apps to connect to Flurry or GoogleAnalytics to help the developers improve and understand the usage or if it uploads pics to facebook, but if an SMS app reads my SMS and also has the internet permission (probably for ads and analytics), who knows they're not also transferring my SMS?
Editing the hosts file is not an option as this would only be a blacklist and also very tedious to maintain.
Of course you need root access and it also needs to be open source for it to be trusted. I'm thinking of an addonn for CyanogenMod or so.
I'm not really all too familiar with firewall stuff, but found this for you: http://www.droidsecurity.com/droidhunter/index.html
Then maybe it's overkill but that one combined with this: http://www.carrotapp.com/2010/04/10/app-protector/
Might do the trick?
Thanks for your efford but I am looking for something completely different. A firewall is an app which controls internet traffic.
DroidWall would be perfect, but it doesn't function.
mcmurph said:
Thanks for your efford but I am looking for something completely different. A firewall is an app which controls internet traffic.
Click to expand...
Click to collapse
Yes, I search the same. DroidWall would be perfect, but it doesn't function.
totos1234 said:
Yes, I search the same. DroidWall would be perfect, but it doesn't function.
Click to expand...
Click to collapse
It works fine for me on a g1!
DroidWall does not prevent Wifi connections at all.
As such, as a firewall it's next to useless.
It's more a "3G data connection" limiter than a real firewall.
vasra said:
DroidWall does not prevent Wifi connections at all.
As such, as a firewall it's next to useless.
It's more a "3G data connection" limiter than a real firewall.
Click to expand...
Click to collapse
I don't understand your problem with DroidWall. I don't even have a data plan, so I only use it for Wifi. Sometimes I forget I have it installed, open a program that needs internet access, only to find that it won't work until I allow it to have the access through DroidWall. Works everytime.

Market connection/download at university

Hi all.. When I connect to my university's wifi connection I'm not able to download anything from the market.. It says "I'm starting the download" but it remains stuck on that..
Also I'm not able to connect to gTalk or to use the voice search.. For sure they are all related..
Do you know if it's possible to avoid that kind of protection setted up from my university?
Thankx
Does your university require you to use proxy?
Does it block HTTPS traffic?
Is there a sort of MAC address control on its network (you have to subscribe to the network from each MAC you're using)?
What does the browser show when you try to browse the internet?
No I don't have to use any proxy.. I think that https is not blocked (98% sure, how can I test?)
Yes, they require me to subscribe the mac adress of my device (mobile phone or pc).
When I browse the web nothing special happens
Test https - for example, try any secure site from the phone's browser (Gmail, banking, etc).
They work..

[SOLVED] Gnirehtet reverse tethering - counts towards mobile data allowance?

I installed Gnirehtet to reverse tether my Poco F1 (LineageOS) phone to a Windows PC, as described here:
gnirehtet/README.md at master · Genymobile/gnirehtet
Gnirehtet provides reverse tethering for Android. Contribute to Genymobile/gnirehtet development by creating an account on GitHub.
github.com
Gnirehtet ONLY works if I enable mobile data. But then (for some reason), Gnirehtet's data usage is deducted from the phone's built-in "mobile data allowance".
Fortunately, I can manually log in to my network provider's account to confirm my actual data usage, and that Gnirehtet isn't really using mobile data.
Is this a common problem, and does anyone know a way round it...?
Cheers
I rebooted the phone and deleted the cache partition in recovery. Then I set the USB connection to "charging only" instead of "file transfer".
It now works for web browsing, but not for app updates via Google Play... which seems to be a known issue: https://github.com/Genymobile/gnirehtet/issues/37

Categories

Resources