A breakdown of the iPhone 4.0 issue with Exchange Online

Over at the TechNet Forums some discussion has been going on about the inconsistent connectivity for iPhones since OS 4.0 was released – and why it was so important to upgrade to 4.0.1. To quote Daniel Trautman:
“iOS 4.0.0 has a very low timout variable, forget what specifically, but it is available on the Internet. What occurs is that the phone attempts to connect via EAS, but, when the timeout is hit, it starts up a new session without tearing down the previous attempt. This causes what is known as an “open-connection attack” on the servers, which, in basic terms, is that the number of connections per CAS (default of 500) can be taken up by one device. This prevents other devices from connecting as well as ties up server resources waiting for a response on the previous connections. Both the patch available, as well as the 4.0.1 upgrade resolve this issue by increasing the timeout variable (though I haven’t heard whether they’ve improved the connection management, however).
The patch does not change the DeviceUserAgent which Exchange uses to identify the device/OS version, but the upgrade (4.0.1) does. To prevent unpatched devices from connecting we are blocking devices with that OS. Since the DeviceUserAgent is only synced to the CAS (Exchange) upon initial sync, we are applying the block in IIS, which identifies the DeviceUserAgent on EVERY connect, so don’t have to worry about older devices that have upgraded (such as iPhone 3G/3GS).”


Discover more from Loryan Strant, Microsoft 365 MVP

Subscribe to get the latest posts sent to your email.

2 comments

  1. My understanding is that the DeviceUserAgent only gets set when the device partnership is created. So, while it can be used to rule out someone who *doesn’t* need to upgrade, it is not sufficient evidence that they do. Correct me if I’m wrong.

    1. Sorry Kevin I’m not expert on this, just re-posting some helpful information from the TechNet forums.

Leave a Reply to Loryan StrantCancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discover more from Loryan Strant, Microsoft 365 MVP

Subscribe now to keep reading and get access to the full archive.

Continue reading