Hacker News new | ask | show | jobs
by ComputerGuru 2419 days ago
iPhones randomize the MAC address when connecting to hotspots (on a per-ssid basis, I think?). Other platforms do too (Windows 10 now has an option to do that automatically as well, but I can’t recall if it is enabled by default).
4 comments

The MAC randomization only applies to probes it sends for known networks when not connected. Once you are connected, it uses the real MAC.

iPhone also still sends the device name to the DHCP server when requesting an IP, so if you haven't changed it, it is broadcasting "<Your first name>'s iPhone" to the network.

> iPhone also still sends the device name to the DHCP server when requesting an IP, so if you haven't changed it, it is broadcasting "<Your first name>'s iPhone" to the network.

Awareness of this is probably going up. Comcast is actually running TV ads that point it out [1].

https://www.youtube.com/watch?v=H45-5Rga1B8

"iPhone also still sends the device name to the DHCP server when requesting an IP, so if you haven't changed it, it is broadcasting "<Your first name>'s iPhone" to the network."

My iphone has no idea what my first (or last) name is, but I still find it irksome that I cannot change my SSID nor can I hide it.

There is no reason I should be advertising the existence of my phone to everyone in (radio) earshot ...

IIRC (this is old and might have been wrong in the first place) iOS randomizes when it’s searching for networks but not when it’s connected to one.
It’s not a bad idea. A randomized IP address at each connection would break many things on quite a few networks (IP-MAC static assignments, for instance).
There are other options, like generating a Mac based off the real Mac and the ssid or bssid.
could your just push it down a layer, maybe 802.1x or something?
Recent NetworkManager versions on Linux do the same (I don't remember if it's on by default or not, though).
Yeah it's by default. Learned this the hard way when setting up port forwarding by MAC address on home network. Was wondering why the forward would only last a couple hours
Android 10 also randomizes MAC addresses when probing, as a client, and as a AP/Hotspot: https://source.android.com/devices/tech/connect/wifi-mac-ran...