3 ms·
Off topic but this raises a question about iMesssage parsing of URLs. I copied just the base URL (without my IP, so he would get his) and sent this to a friend
by mulmen 6y ago
Off topic but this raises a question about iMesssage parsing of URLs. I copied just the base URL (without my IP, so he would get his) and sent this to a friend. The preview in iMessage lists my IP, because iMessage actually visited the link. Does the message he receives show his IP or mine?
e: Just tested this, it shows my IP on the receiving end. It appears iMessage creates the preview text on the sender’s side so this will leak your IP. I tried it in Slack too and it leaked whatever IP Slack used to fetch the URL which interestingly is not my IP.
- giantrobot 6y agoThe web preview in iMessage is performed by each client. So your friend should see their IP in the preview since it's their client making the connection on their end. This is easy to test if you've got another device with iMessage. Take your phone off WiFi and send yourself the link. The device on WiFi should show your home ISP address while the device on cellular should show the cellular provider IP.
- deleted 6y ago[deleted]
- mulmen 6y agoThat does not appear to be how iMessage works. I just tried this and my IP did appear on the receiving end. Since I edited the URL in the actual message it is possible the preview was cached from the original redirect. Either way it is infuriating that iMessage does not show you what it is actually going to send.
- kalium-xyz 6y agoInteresting, I didnt realize I could get people their IP by simply sending them my website without them even ever having to visit it themselves
- mulmen 6y agoBased on my limited testing you can’t. And that makes sense because I could make your device visit a URL just by sending you a message.
- kalium-xyz 6y agoThats what I said: I can send you my website and I will see your device visit it even if you dont want it to.
- mulmen 6y agoAnd what I said is that's not how iMessage works. The receiver only visits your page if they click the link.
- Terretta 6y agoThis feature is a “very good thing” so you can’t force someone to disclose their whereabouts to you by sending them a link to the server you control. If you don’t want to send people your own info in the thumbnail, don’t send them thumbs of URLs that display your own info to you in image or title text when generating the preview on your device.
- deleted 6y ago[deleted]
- mulmen 6y agoI don't believe iOS gives me an option to control that. iMessage parses any URL you paste and send. I'll double check the settings though. e: apparently this can be accomplished by putting periods before and after the link or pasting the link in a sentence. First quack: https://osxdaily.com/2018/08/02/disable-url-link-previews-messages-ios-mac/ https://osxdaily.com/2018/08/02/disable-url-link-previews-me... Still need to test the behavior.
- Groxx 6y agoSignal has a fairly detailed strategy for previews, as they're quite privacy sensitive: https://support.signal.org/hc/en-us/articles/360022474332-Link-Previews https://support.signal.org/hc/en-us/articles/360022474332-Li... And a (small, but has a few links) blog post about it: https://signal.org/blog/i-link-therefore-i-am/ https://signal.org/blog/i-link-therefore-i-am/
- mulmen 6y agoThis is really interesting and gives me a new respect for Signal for thinking about it. After considering the options it seems Apple made a reasonable default assumption but in the case of sites that reveal information about me it is a bit frustrating. An option would be nice but, :Apple:.
- Groxx 6y agoTheir blog is pretty interesting about a lot of things like this. There's a lot of Good Thinking™ through Signal. And some super weird stuff like relying on Intel SGX for contact info... that they don't need to store, and don't let you opt out of. I basically trust them to actually do what they say they're doing, but I don't see the point of needing that trust in the first place (and there's no way to validate that it's happening, so it could change in the future and no user could tell).
- mindfulhack 6y agoI just checked a few links sent back and forth between me and another iMessage friend, both from within Messages.app on my Mac, and the synced Messages app on my iPhone. I don't see any IPs being displayed at the end of URL strings when I copy and paste the link from the generated previews. My friend would have definitely only ever sent links from their iPhone, but often I would send mine from the Mac. How exactly do you find these leaked IPs?
- mulmen 6y agoThe IP leaks through the name of the page on the URL preview. https://iknowwhatyoudownload.com https://iknowwhatyoudownload.com redirects to https://iknowwhatyoudownload.com/en/peer/ https://iknowwhatyoudownload.com/en/peer/ which includes the IP of the sender. The name of the page includes the IP address of the sender. "Torrent downloads and distributions for IP 0.0.0.0". If you paste the URL in a sentence with a period at the end this preview may not be generated.