Kitz ADSL Broadband Information
adsl spacer  
Support this site
Home Broadband ISPs Tech Routers Wiki Forum
 
     
   Compare ISP   Rate your ISP
   Glossary   Glossary
 
Please login or register.

Login with username, password and session length
Advanced search  

News:

Author Topic: iMessage direct  (Read 6422 times)

Weaver

  • Senior Kitizen
  • ******
  • Posts: 11459
  • Retd s/w dev; A&A; 4x7km ADSL2 lines; Firebrick
iMessage direct
« on: July 05, 2018, 08:58:25 PM »

If I talk to someone who is on the same LAN using iMessage, or if I send them a file, does it go out to the internet and then all the way back again?

If so, then that is utter madness. What is stopping them just sending it straight across the LAN? If both ends have global routable IPv6 or IPv4 addresses, then it is ridiculously easy. If the  correspondents have NATed IP addresses, then the IM server can get the corresponding public IP addresses and discern whether or not the two are on the same LAN.
Logged

burakkucat

  • Respected
  • Senior Kitizen
  • *
  • Posts: 38300
  • Over the Rainbow Bridge
    • The ELRepo Project
Re: iMessage direct
« Reply #1 on: July 05, 2018, 10:19:52 PM »

If Apple will not provide an answer to your query then perhaps you could perform the experiment. For your experiment you will require an assistant . . . perhaps Mrs Weaver will oblige? . . . Your assistant should disconnect the three patch cables from the three modems to the FB2700 and then send an iMessage from an iDevice to your iPad. If the message is received we then have an answer.
Logged
:cat:  100% Linux and, previously, Unix. Co-founder of the ELRepo Project.

Please consider making a donation to support the running of this site.

Weaver

  • Senior Kitizen
  • ******
  • Posts: 11459
  • Retd s/w dev; A&A; 4x7km ADSL2 lines; Firebrick
Re: iMessage direct
« Reply #2 on: July 06, 2018, 02:52:08 AM »

Indeed so. I thought that I had my answers because if the timing, Janet sent me a 7MB .MOV file from iPad to iPad over iMessage and the time taken seemed consistent with a bottleneck caused by the 1.1Mbps upstream of our internet connection.

There is an alternative Apple file transfer application called Airdrop that will find a user who is physically close. I think a Bluetooth broadcast is the method by which the recipient is identified initially, it doesn't use usernames or domain names or any such. Many iDevices have stupid hostnames anyway such as just plain "iPhone". This is either because users either never get around to setting them or else they have very little imagination if they do and even then there is no chance of the global uniqueness that would be needed but which is found in FQDNs.

Airdrop I believe does the right thing though. Which just shows the madness of iMessage. Why in any case would Apple want that unnecessary extra traffic going through their core network ?

I wonder if I could work in them and persuade them to fix it. It would take about a day or so maybe? Hopefully a lot less with someone who really knew what they were doing.

I wonder about an alternative method, where you just always use IPv6 link-local addresses only. If you don't have one, then you can soon make one and just try pinging the other end with it. It doesn't matter that you cannot test for the two ends being on the same network, because you just go for it, send the other end a query using UDP to ask its identity and it either works or it doesn't in which case you go back to plan B. That might be faster and possibly less code than going to the servers to find out addresses of the other end, waiting for the replies and so on. If iOS devices always have IPv6 link-local addresses in every single case, even when they have no IPv6-speaking router, nothing announcing an IPv6 prefix, then in that case this method is really convenient.

One other thing. In case you are on a WLAN that is set to isolate stations from one another and allow them internet access only, you would have to allow for that cause of failure and fall back to the horrible two-sides-of-the-triangle method that we suffer now. Guests are set up like that on my WLAN. The straight-to-link-local method does this test immediately so that is another advantage of going that way.
Logged

andyfitter

  • Reg Member
  • ***
  • Posts: 172
Re: iMessage direct
« Reply #3 on: July 25, 2018, 10:00:46 PM »

One of the newest features is iMessages in the cloud, so there is a central repository of your messages - like a mail server. Means that if you delete a message/conversation on one device it gets deleted from all, and all devices stay in sync with new messages

If it wasn’t making the trip outside the LAN this would be pretty difficult!
Logged