What if someone ping my phone constantly? - General Topics

So we've got a smartphone that's connected to the Internet 7/24 and its IP address usually does not change, thanking to mobile IP.
From my PC, I can ping to my phone and my phone responses, even during the period of standby (dark screen).
What if someone ping my phone continuously? I think the battery will run out in an hour or so.
What we can do about this? You know hacks are probing ports all the time and they sure will find my phone. While they mostly cannot do any hack, but they'll drain out the battery.

Someone would really specifically want to annoy you or do you harm to ping your phone constantly, it is not as easy as it sounds. They would have to specifically want to do it to your phone.
About battery: I am not sure that sending a 1kb ping continuously would drain your battery that much quicker, as you're already connected to the internet and a similar process is already taking place to keep you that way 24/7. Even Direct Push Email will ping your phone once at least every 15 minutes, and Microsoft apparently found that an acceptable process.

We live in a world of hackers. Try watching your smartphone for a while and you'll see the data access is quite often (I have no push mail going on). Note: data activities use lots of power/battery.

ping dont hack the phone
i suspect that changing reception and therefore reinit with the service would be a bigger suspect

There's no risk on ping but if you need security then you can try a mobile firewall called 'ProtectStar Mobile Firewall'

This is not about hacking, it is about port probing that will drain the battery.

Related

WM6 UMTS/GPRS always on

Hi there,
My 3G connection stays on after a web browse or an email check process makes my device connect. I looked at "HKLM\Comm\ConnMgr\Providers\[GUID]\Connections\[Connection Name]" and to my surprise AlwaysOn flag was off. Can someone help me with this? I like the fact that my device connects to the Net automatically when there is need, however maintaining the connection kills the battery, I need a way to kill the connection somehow automatically (either after a period of inactivity or when the application requesting the connection ends).
Cheers,
Shafa
If it is maintaining Gprs on, there must be a program requesting it - do you have direct push enabled?
Also, having the connection constantly 'enabled' but not actually transferring data will have a negligible effect on the battery life so shouldnt matter.
If your battery life is significantly worse (as you have suggested), then you must be transferring data, so no matter what you do, unless you actually permanently disable the data connection so you cant use it at all, it will keep connecting to transfer whatever data it is transferring...
I hope that made sense
GPRS/UMTS
Hi,
Have you tried turning the Data Connection off by holding in the End Call Button for approx 3-5 seconds. This should terminate an active connection unless as mentioned above you have an app running that is requesting data.
Cheers,
Beast
Thanks guys,
1. the fact that only transferring data should drain my battery: makes sense; I will test more.
2. the fact that I can kill the connection manually: I could always do that from comm manager, needed it to drop automatically.
Cheers,
Shafa

activesync, google

Saw someone post this on Slashdot. Is this guy right about ActiveSync, in that it does not leave the radio open but somehow doesn't close the connection to whichever server it's connected to and therefore saves more power than, say, keeping an IMAP-Idle connection open? Or is this different for the iPhone and does some Blackberry-like method?
Running an active TCP session for an IM client constantly would light up much more of the iPhone's hardware, and drain the battery that much faster.
​Well, not exactly....
An active TCP session is EXACTLY what Apple's Push Notification Service [apple.com] uses.
Its an extended version of ActivSync [microsoft.com], Licensed from Microsoft.
It works like this:
You open a TCP connection with an Apple Notification server, and shutdown the radio, leaving the connection open, by never explicitly closing it. With the radio down, the phone is Saving power.
Periodically, you wake up the radio, check if the TCP socket is readable. If so, you read it, and notify the user, and optionally launch that application that the notification was destined for.
If the socket failed, (timed out, network dropped, etc) you reestablish the socket.
Since TCP timeout is usually on the order of 12 minutes or longer, this happens only about 5 times an hour.
Checking socket readability takes just a tiny bit of power for a very very short time. So your radio is on for a few seconds every hour. (Which it is anyway, listening for incoming calls).
Apple's push notification leverages this single socket connection to an unlimited number of applications in the iPhone, by having a single daemon watching the socket, signaling the target app, and notifying the user.
It operates similar to InetD [about.com] in Linux, other than instead of waiting for new connections, it is watching existing ones. In fact, there is some discussion as to whether ActiveSync is even patentable because it is so obvious.
And to be perfectly pedantic, Antennas do not consume any power when receiving.
Click to expand...
Click to collapse
Also I found this article written yesterday claiming, I think, that Google has updated Google Sync to include Gmail support for activesync-using devices. I think it's implying that the addition of push-email is free. Can someone confirm that? If so with a regular Gmail account, if you have added another email account to use as a from address, could you use the same from address over ActiveSync or is that a web-only thing?
Finally, any phone-side registry-like tweaks to get your phone to chill and not care that your server doesn't have a certificate, self-signed/generated or otherwise, with ActiveSync over SSL?
Thanks.
Doug
Google active sync
Hello,
I read the article too, and ofcourse I tried it out, it works perfectly.
just use m.google.com as the exchange server, and use your full google username+gmail.com, leave the domain field blank.
I use it now for more than a week and found no problems.
Previously I used www.nuevasync.com
grz..

Start/Stop internet connection automatically

I used an iphone for some days. I've ever used nokia phones. Each day I use a blackberry. All devices seems to use internet connection better than Android, using that only when needed and starting/stopping it automatically.
What I don't like about Android is that you can't set device to enable internet connection only when needed. What I understood is that if you like to sync mails every 5 minutes, for example, you have to take internet connection always on.
I don't like this because mainly it's battery consuming.
Is there any way to set Android (I've a Desire but I think it could be the same for each device) to automatically turns on internet connection just before syncing an app and turns off just when finished?
i agree... any hints and helps here? my experience in winmo is much better as it connects only on need.
especially now my Galaxy S battery life is so short
this app might help.
mensa07 said:
this app might help.
Click to expand...
Click to collapse
Yes, thank you.
I already tried it but if I configured it right it manages only sync operations and no internet connection. So internet connection must be taken ON (on the screen you continue to see arrows) and it stop only sync traffic.
Right?
I mean to stop internet connection at all and enable it only at a specific frequency (so on the screen arrows should appear and disappear when needed). Is it possible?

Moving from Windows Mobile to Android (HTC Sensation)....Data connection

Having decided against moving to Win Mobile 7 I got a Sensation a couple of weeks ago (from a HD2) and hence my first Android device.
All is going well apart from the data connection. On Win Mob 6.5 I had 5 business emails which the phone checked every 15-30 minutes. The phone would connect, check the emails and then disconnect. If I wanted to browse then when I opened the browser, it connected and disconnected when I closed it.
On the Sensation I seem only to have the option of data connection on or off. I have set the email to sync every 30 minutes but I have to have the data connection on all the time to let it do this. The battery drain is crippling.
I download Juice Defender Ultimate after reading another thread but after setting it up it only allows data for so many minutes in the hour and when I say that the browser should overide Juice it just says I have no connection.
I love Android but losing 75% of your battery in 6 hours because of business emails is not quite good enough.
So is there a way of getting the data connection to go on and off as required (both on demand and for scheduled automatic email syncs)?
And if not what Juice defender settings do I need to get it to do what I want?
Any help much appreciated.
I'm looking for an answer to this to, for the exact same reason. A "Data Connection Timeout" setting or something similar.
Switch to pushmail, saves you quite some data transfers and is more effective in the end. I have two hotmail addresses plus oen gmail on pushmail and I don't notice any more battery drain with data connection permanently on.
Settings>Mobile Networks>untick "Enable always-on mobile data.
This usually helps the battery drain a lot, especially if you don't have things that are always using data, like pandora and the like. If you have things set to specific intervals, then it should work like your WinMo devices and connect then disconnect as needed.
Admittedly the droid likes to be more automated than WinMo, and you have much less control than 6.5. (Never used Phone7, so I can't comment on that.) But, once you learn the tricks to using it (just like the tricks to 6.5) its just as powerful as WinMo was for the business geared user, as far as I can tell. The battery is something that takes some finessing as well, so keep working with it and keep learning. There are some pretty good guides available that can tell you steps to take, even a few here on XDA for the searching.
Good luck with your new droid device, it will become second nature in time. It took me a month to quit tapping the icons in the task bar. LOL.
Thanks for the replies
I think the fact that the HD2 and the Sensation both use Sense helps and therefore it has been fairly easy to get to grips with Android.
I have already unchecked the 'always on' option but I never seem to get any emails unless I open the email program up...even when its running in the background. Win Mobile 6.5 used to check without the email being open.
I have had another play with JD and seem to have sort of got what I want but sometimes the data connection won't wake up after the unlock screen without a data toggle on and off.
Is there any better email apps from the market?
I have already unchecked the 'always on' option but I never seem to get any emails unless I open the email program up...even when its running in the background. Win Mobile 6.5 used to check without the email being open.
Click to expand...
Click to collapse
Strange because when I do that I get a lot better battery life and my push Gmail arrives in 2-3 minutes instead of isntantly. also Google Talk won't stay connected with this setting. Other than that it seems to work really well for me doing exactly what you want.

[Q] Any app to monitor reason for data/3g/2g/edge disconnects

Hi,
My phone is constantly disconnecting and reconnecting to the data network. Sometimes a few times a minute. My provider charges me every time. The phone I know is designed to keep that connection open. It does this even sat on the desk, not being used (though apps are obviously running). I also have exchange client on there and that is also designed to keep the connection open. I think my providers network is to blame, but I want to check logs etc.
Is there any app / way I can (non-rooted) find out and log the reasons for the data disconnects? Primarily, I want to know if the phone is dropping the connection or if the network is. I don't belive it a phone fault as some colleagues have the same issue with the same provider on samsung galaxy etc.
Can anyone suggest any app that might do this? I can't find anything in the play store (used to have a great one for windows ce though!)

Categories

Resources