this post was submitted on 04 May 2024
91 points (100.0% liked)

No Stupid Questions

39384 readers
976 users here now

No such thing. Ask away!

!nostupidquestions is a community dedicated to being helpful and answering each others' questions on various topics.

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Rules (interactive)


Rule 1- All posts must be legitimate questions. All post titles must include a question.

All posts must be legitimate questions, and all post titles must include a question. Questions that are joke or trolling questions, memes, song lyrics as title, etc. are not allowed here. See Rule 6 for all exceptions.



Rule 2- Your question subject cannot be illegal or NSFW material.

Your question subject cannot be illegal or NSFW material. You will be warned first, banned second.



Rule 3- Do not seek mental, medical and professional help here.

Do not seek mental, medical and professional help here. Breaking this rule will not get you or your post removed, but it will put you at risk, and possibly in danger.



Rule 4- No self promotion or upvote-farming of any kind.

That's it.



Rule 5- No baiting or sealioning or promoting an agenda.

Questions which, instead of being of an innocuous nature, are specifically intended (based on reports and in the opinion of our crack moderation team) to bait users into ideological wars on charged political topics will be removed and the authors warned - or banned - depending on severity.



Rule 6- Regarding META posts and joke questions.

Provided it is about the community itself, you may post non-question posts using the [META] tag on your post title.

On fridays, you are allowed to post meme and troll questions, on the condition that it's in text format only, and conforms with our other rules. These posts MUST include the [NSQ Friday] tag in their title.

If you post a serious question on friday and are looking only for legitimate answers, then please include the [Serious] tag on your post. Irrelevant replies will then be removed by moderators.



Rule 7- You can't intentionally annoy, mock, or harass other members.

If you intentionally annoy, mock, harass, or discriminate against any individual member, you will be removed.

Likewise, if you are a member, sympathiser or a resemblant of a movement that is known to largely hate, mock, discriminate against, and/or want to take lives of a group of people, and you were provably vocal about your hate, then you will be banned on sight.



Rule 8- All comments should try to stay relevant to their parent content.



Rule 9- Reposts from other platforms are not allowed.

Let everyone have their own content.



Rule 10- Majority of bots aren't allowed to participate here. This includes using AI responses and summaries.



Credits

Our breathtaking icon was bestowed upon us by @Cevilia!

The greatest banner of all time: by @TheOneWithTheHair!

founded 2 years ago
MODERATORS
 

Why doesn't every computer have 256 char domain name, along with a private key to prove it is the sole owner of the address?

Edits: For those technically inclined: Stuff like DHCP seems unnecessary if every device has a serial number based address that's known not to collide. It seems way more simple and faster than leasing dynamic addresses. On top of that with VOIP I can get phone calls even without cell service, even behind a NAT. Why is the network designed in such a way where that is possible, but I can't buy a static address that will persist across networks endpoint changes (e.g. laptop connecting to a new unconfigured wifi connection) such that I can initiate a connection to my laptop while it is behind a NAT.

  • Yes, it would be a privacy nightmare, I want to know why it didnt turn out that way
  • When I say phone number, I mean including area/country code
  • AFAIK IP addresses (even static public ones) are not equivlent to phone numbers. I don't get a new phone number every time I connect to a new cell tower. Even if a static IP is assigned to a device, my understanding is that connecting the device to a new uncontrolled WiFi, especially a router with a NAT, will make it so that people who try to connect to the static IP will simply fail.
  • No, MAC addresses are not equivalent phone numbers. 1. Phone numbers have one unique owner, MAC addresses can have many owners because they can be changed at any time to any thing on most laptops. 2. A message can't be sent directly to a MAC address in the same way as a phone number
  • Yes, IMEI is unique, but my laptop doesn't have one and even if it did its not the same as an eSim or sim card. We can send a message to an activated Sim, we can't send a message to an IMEI or serial number
top 50 comments
sorted by: hot top controversial new old
[–] user224@lemmy.sdf.org 84 points 10 months ago

Well, phone numbers do get re-assigned too.

[–] JakenVeina@lemm.ee 78 points 10 months ago (14 children)

They do, it's called an IP address.

Phones get numbers assigned to them by a cell service provider, in order to communicate on their network, which is basically the exact process for computers and IP addresses.

If you're asking about the equivalent of like a SIM card, in the computer/internet world, that's handled at higher layers, by digital certificates. And again, the process is almost exactly the same, except they don't (usually) get put on physical chips.

[–] henfredemars@infosec.pub 30 points 10 months ago (1 children)

IP address is really the best comparison here. Some computers share an IP just like entire call centers may share the same phone number. And neither IP addresses and packets nor phone numbers are properly authenticated without additional enforcement systems.

Internal networks exist for computers and phones. It’s a nice parallel.

[–] JesterIzDead@lemm.ee 3 points 10 months ago (2 children)

No, computers can’t share IPs

[–] lemmyng@lemmy.ca 17 points 10 months ago (7 children)

Sure they can. If you put a network behind a router they will share an egress/ingress IP. And there are certain high availability setups where computers share IPs in the same subnet for hot/standby failover.

load more comments (7 replies)
[–] IHateReddit@lemmy.world 6 points 10 months ago (1 children)

They can share the same router and therefore have the same public IP.

[–] JesterIzDead@lemm.ee 3 points 10 months ago (1 children)

Yes, but no. The public IP is that of the router, which NATs packets to each host, each of which must have a unique private IP. The public IP does not reference or identity hosts behind the router.

[–] lemmyng@lemmy.ca 9 points 10 months ago

A phone number does not uniquely identify a phone either.

[–] 800XL@lemmy.world 6 points 10 months ago (1 children)

Except you can spoof an IP address or get another one from the ISP just by asking. You can spoof a MAC address too.

Intel introduced unique processor id's back in the late 90s.

[–] lemmyng@lemmy.ca 15 points 10 months ago

Phone numbers can be spoofed, and SIM cards can be cloned. The analogy stands.

load more comments (12 replies)
[–] SchmidtGenetics@lemmy.world 49 points 10 months ago (3 children)

Isn’t that what a MAC address is? There is a few ways to ch age it unless that’s been fixed iirc.

[–] Guest_User@lemmy.world 17 points 10 months ago (1 children)

You will always be able to spoof your MAC address if needed. I don't see the standard ever changing enough to prevent that.

[–] AFKBRBChocolate@lemmy.world 22 points 10 months ago (1 children)

Though the same is true for phone numbers

load more comments (1 replies)
[–] pinchcramp@lemmy.dbzer0.com 10 points 10 months ago

I don't think that's something that needs to be fixed. Your phone (and probably your computer) can randomize its MAC address every time it connects to a new WiFi to make it harder to track you.

[–] jeffhykin@lemm.ee 4 points 10 months ago* (last edited 10 months ago) (4 children)

I'm shocked this answer has so many upvotes. No, a MAC address is not close to a phone number. No two people have the same phone number, and I can't just edit my phone number to be someone else's number.

  • "two network interfaces connected to two different networks can share the same MAC address"
  • "Many network interfaces, however, support changing their MAC addresses"

https://en.m.wikipedia.org/wiki/MAC_address

[–] SchmidtGenetics@lemmy.world 13 points 10 months ago* (last edited 10 months ago) (1 children)

You ask a “no stupid” question then try to call out an answer? Bold move cotton.

Sure you can change your phone number, it’s called spoofing, or just call your provider and get a new one, sometimes they charge sometimes they don’t. So why are you claiming it’s not possible?

People have the same phone numbers, that’s why area codes exist, that’s kinda the same thing as a provider and a MAC address, no…?

Edit well then.

load more comments (1 replies)
load more comments (3 replies)
[–] MajorHavoc@programming.dev 39 points 10 months ago

Lack of demand.

Phones having unique unalterable numbers was never an intentional feature desired by users, just a limitation of the available technology.

Computer network cards do have such a number, their MAC address, but modern ones can scramble it to avoid being tracked, without any loss of ability to be reached by everyone you want to be reached by.

[–] adespoton@lemmy.ca 30 points 10 months ago (16 children)

Along with the other comments on UDID, IMEI and MAC, I’d just like to point out that phones don’t have phone numbers.

On land lines, the number is assigned to the line that goes to your house from the local operations center; on mobile phones, the number is linked by your carrier to THEIR SIM card that you stick in your phone.

eSIM almost gets there; instead of a physical card linked to the phone number, all the logic and secrets are stored in a secure enclave on your phone and THAT is linked to the number, which is in a directory managed by your carrier. It’s linked to the phone itself because of the phone’s IMEI.

load more comments (16 replies)
[–] Honytawk@lemmy.zip 27 points 10 months ago (1 children)

MAC's used to be static, but then hackers found ways to spoof it. Now manufacturers don't care to make them static anymore.

Get a laptop with a SIM and you will have an IMEI and phone number, plus 5G.

[–] ForgotAboutDre@lemmy.world 9 points 10 months ago (2 children)

Android defaults to lying about your Mac address, which can be frustrating if you want to manage your home network.

load more comments (2 replies)
[–] valen@lemmy.world 23 points 10 months ago (1 children)

That would be a privacy nightmare.

[–] slazer2au@lemmy.world 8 points 10 months ago

Yep. See EUI-64 IPv6 addressing.

[–] ArbiterXero@lemmy.world 17 points 10 months ago (9 children)

It’s called a MAC address.

The problem with it is mostly routing.

The osi model has 7 layers of connection to form a proper internet connection.

The MAC address exists but doesn’t leave the physical network. The MAC address is used to physically connect your computer to the router, and it defines your piece of hardware.

The IP address can change, because your computer can connect to different networks.

If you tried to route everything with a MAC address, (which isn’t possible, but for arguments sake we will pretend it is) the problem is that when you take your phone with its MAC address off your wifi and on to your work wifi, Where would the registry be? How would the Internet know how to find your phone? Do you just log into one giant global registry so that everyone can find your phone when they are trying to communicate with it? That would be a giant fucking database and everyone would always be trying to use it.

Routing is a big and complex problem, and these things didn’t work with ipv4

They do work better with IPv6. IPv6 adresses don’t need to change like ipv4 for a bunch of reasons.

From a philosophical level, the Internet was designed for people to be anonymous and make relatively anonymous connections. You wanted to be flexible enough that you can just be assigned a new number and work with that new number quickly.

This is a really simple explanation, and I got some basic facts wrong just for ease of understanding, but the principals are correct.

[–] slazer2au@lemmy.world 3 points 10 months ago (1 children)

If you tried to route everything with a MAC address, (which isn’t possible, but for arguments sake we will pretend it is) the problem is that when you take your phone with its MAC address off your wifi and on to your work wifi, Where would the registry be? How would the Internet know how to find your phone? Do you just log into one giant global registry so that everyone can find your phone when they are trying to communicate with it? That would be a giant fucking database and everyone would always be trying to use it.

This is a solved issue called EUI-64 IPv6 addressing. It is a privacy nightmare.

[–] ArbiterXero@lemmy.world 6 points 10 months ago (1 children)

Yeah I addressed that IPv6 CAN do it, but you’re right.

Philosophically, I don’t want people or companies following me around that much, hence the “private MAC addresses” that came out a few years ago

[–] slazer2au@lemmy.world 6 points 10 months ago (3 children)

I hate to break it to you but MAC randomisation has been around since 2007. Fuck we are getting old.

load more comments (3 replies)
load more comments (8 replies)
[–] Shadow@lemmy.ca 15 points 10 months ago (1 children)
[–] jeffhykin@lemm.ee 5 points 10 months ago

This is the kind of answer I was looking for, thank you!

[–] slazer2au@lemmy.world 13 points 10 months ago

You seem to have be missing a fundamental thing about tech but I can't pin down what it is. So I will respond to your edits.

but I can't buy a static address that will persist across networks endpoint changes

You can. It's called Provider Independent Space and it a pain to go with as an individual.

Yes, it would be a privacy nightmare, I want to know why it didnt turn out that way

Because people smarter than you, I, and everyone else in this post said 'Yes EUI-64 is a good idea in principe but the problems on a privacy perspective outweigh the advantages. So let's build a system called MAC randomisation so people can get multiple address to access the internet with. '
The good news is you can turn off MAC randomisation.

AFAIK IP addresses (even static public ones) are not equivlent to phone numbers. I don't get a new phone number every time I connect to a new cell tower

In some parts of the world or before 2000 if you changed mobile providers, say from Vodafone to Telstra you had to get a new number. Since that change number routing has become a nightmare and it makes the BGPv4 table look sane in comparison.

Even if a static IP is assigned to a device, my understanding is that connecting the device to a new uncontrolled WiFi, especially a router with a NAT, will make it so that people who try to connect to the static IP will simply fail.

This is a complex one due to NAT in the ipv4 space. NAT exists purely to allow devices to have the same private IPv4 address and hide behind a public v4 address.

No, MAC addresses are not equivalent phone numbers. 1. Phone numbers have one unique owner, MAC addresses can have many owners because they can be changed at any time to any thing on most laptops. 2. A message can't be sent directly to a MAC address in the same way as a phone number

  1. MAC do have unique owner blocks. Cisco somewhat owned the 0000.0C block.
  2. Yes you can. That is literally how it works down the TCP/IP stack.

Yes, IMEI is unique, but my laptop doesn't have one and even if it did its not the same as an eSim or sim card. We can send a message to an activated Sim, we can't send a message to an IMEI or serial number

If your laptop has a regular Sim slot it will have an IMEI. True we can't send messages via IMEI or serial because those systems were never designed for message routing.

[–] apfelwoiSchoppen@lemmy.world 12 points 10 months ago

IMEI numbers for phones are more unique than phone numbers.

[–] SchmidtGenetics@lemmy.world 9 points 10 months ago (5 children)
  • No, MAC addresses are not equivalent phone numbers. I can't edit my phone number for free in 30sec to whatever I want, and I can't send a message to a MAC address.

You sure about that?

load more comments (5 replies)
[–] slazer2au@lemmy.world 9 points 10 months ago (3 children)

What makes you think all phones have unique numbers? Some have no direct dial numbers.

As for each device getting a unique IP address this is somewhat in the spec for EUI-64 IPv6 address. Your IP is based on your interfaces MAC address but this becomes a privacy nightmare.

If the MAC address's of the wifi chip in your phone is 1122.3344.5566 your IPv6 address at home can be 2001:0db8:0000:00000:1122:33ff:fe44:5566 but when at work your address may be 2001:db8:1000:0000:1122:33ff:fe44:5566. No matter where you connect to the last 4 sections of the address is the same and companies will use that as one of the data points of your digital profile.

load more comments (3 replies)
[–] halcyoncmdr@lemmy.world 8 points 10 months ago (1 children)

Phone numbers aren't exactly unique. It's really not much different than being assigned a static IP address from your ISP. They're assigned and if a line is cancelled or you change your number, it goes to a dormant state for a while then is reassigned to someone else.

Your phone's IMEI on the other hand is a unique number, similar to a MAC address for network devices. Unlike a MAC though, it is illegal to spoof or clone an IMEI. Infrastructure however wasn't designed to use the IMEI or MAC as the publicly accessible address, it was designed with a middle translation layer in mind.

Not 100% sure, my early history is lacking a bit, but I think that was simply because the fundamental network design underlying everything we use predates unique identifiers like MAC addresses existing.

load more comments (1 replies)
[–] ulterno@lemmy.kde.social 7 points 10 months ago* (last edited 10 months ago)

its not the same as an eSim or sim card

I think you have part of your answer.
Get a laptop with a SIM Card reader, and do what you may.

The reason it doesn't work with IP is because, it started out with local networks and was expanded from that. A domain name is similar to a phone number, just that the user has the IP routing information available, whereas in case of phone connection, a probably similar system for routing is all abstracted by cell exchanges.

P.S. Thanks for the food for thought.

[–] JesterIzDead@lemm.ee 7 points 10 months ago (5 children)

a) what the hell is ipv32?

b) it’s astounding how many upvotes some of these nonsensical answers have

load more comments (5 replies)
[–] dual_sport_dork@lemmy.world 6 points 10 months ago

Notwithstanding the instant privacy nightmare this would create, essentially abolishing online anonymity overnight, this is kinda-sorta what MAC addresses are already. As to why MAC addresses can be spoofed so easily without any real impact on anything, refer to my first statement.

[–] SwingingTheLamp@midwest.social 4 points 10 months ago

I haven't read all of the replies to see if somebody else had said this, but it's because the Internet was designed to be completely decentralized, whereas the phone system requires your line or device to be registered with the network operator(s). Any device that can get a valid Internet address for the local network can communicate with the whole Internet, but a phone will only work if it's explicitly known by the phone service provider, and that information shared to all providers.

We could set up a system, layered on top of the Internet, by which each computer could register itself in a central directory each time it connects, and thus be reachable at the same address no matter where it connects, even on a NAT connection. In fact, it's easy to do with a VPN and Dynamic DNS (both of which require the cooperation some centralized authority). It's just not universal, because, well, what's the utility of doing so?

[–] BearOfaTime@lemm.ee 3 points 10 months ago* (last edited 10 months ago) (2 children)

Every land-line phone I've had didn't carry it's number with it. The number is assigned to a fixed, immovable address. Back then it was part of a physical switching system - in the switching center, shafts would move up and down and rotate to connect one circuit to another. These were circuit-switched networks. (These were eventually replaced by digital switches).

The only number that's static on my cell phone is the EID, because it's necessary with a mobile device connecting to a radio-based network. The system needs to know how to route a connection whenever the phone moves - "which tower is it on" - which is handled by the device registering with the tower, the network then updates it's database. The phone number with a cell phone is specifically for routing user connections (essentially tells the system what subscriber is associated with a given endpoint - your phone).

None of this is required for internet connections, as you get connectivity via a router which is the Internet-facing address for other devices to see. Things were established this way initially because there's no need for an endpoint device to be directly exposed (plus hardware and software capabilities at the time).

Also, I hope to never see the day when all consumer endpoint devices are directly on the internet. That's a bad idea in so many ways (and why I argue IPv6 is generally useless for endpoint consumer devices). IP6 is great for plenty of other reasons.

load more comments (2 replies)
load more comments