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
  • JakenVeina@lemm.ee
    link
    fedilink
    English
    arrow-up
    61
    arrow-down
    3
    ·
    1 year ago

    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.

    • 800XL@lemmy.world
      link
      fedilink
      arrow-up
      4
      arrow-down
      3
      ·
      1 year ago

      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.

    • jeffhykin@lemm.eeOP
      link
      fedilink
      arrow-up
      2
      arrow-down
      7
      ·
      edit-2
      1 year ago

      Cell phones don’t get a new phone number every time they switch cell towers, so why do laptops.

      Its not like I can write down the IP address of my friends laptop so I can send it a message once he gets to a new city. Right?

      • SchmidtGenetics@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        Its not like I can write down the IP address of my friends laptop so I can send it a message once he gets to a new city.

        With static IPs that’s possible, but you already do that when you email them already.

      • JakenVeina@lemm.ee
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        Main difference there being that switching cities means probably switching ISPs. You can absolutely carry over your IP address when you move between the same provider, if that’s part of your service plan, and that may well happen with some ISPs even without it being part of your plan. There just isn’t really much of a need for people to carry a static IP, except for some businesses, and I’d say the main reason is that people don’t visit websites by memorizing and typing in an IP. They do memorize and type in phone numbers.

        • jeffhykin@lemm.eeOP
          link
          fedilink
          arrow-up
          1
          arrow-down
          3
          ·
          edit-2
          1 year ago

          I can send a message to the IP address but AFAIK the message won’t get to him because he will almost certainly have a new address when he connects to the airport WiFi in the new city.

    • Guest_User@lemmy.world
      link
      fedilink
      arrow-up
      10
      arrow-down
      1
      ·
      1 year ago

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

    • jeffhykin@lemm.eeOP
      link
      fedilink
      arrow-up
      3
      arrow-down
      9
      ·
      edit-2
      1 year ago

      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
        link
        fedilink
        arrow-up
        11
        ·
        edit-2
        1 year ago

        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.

        • jeffhykin@lemm.eeOP
          link
          fedilink
          arrow-up
          2
          arrow-down
          2
          ·
          1 year ago

          Fair, I could have said fully qualified number, including country code.

          And also fair, instead of saying a MAC could be edited, I should’ve said each phone number has one global owner, while each MAC address could have many owners.

          Corrections have been made 👍

  • Em Adespoton@lemmy.ca
    link
    fedilink
    arrow-up
    25
    ·
    1 year ago

    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.

    • jeffhykin@lemm.eeOP
      link
      fedilink
      arrow-up
      2
      arrow-down
      7
      ·
      edit-2
      1 year ago

      Sure, I’ll change the title to say “phones have unique phone number (b/c sim cards), why don’t computers have an equivalent?” I didnt mean one phone == one phone number.

      With VOIP I can get phone calls even without cell service, even behind a NAT. My question is 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. new wifi connection) such that I can initiate a connection to my laptop while it is behind a NAT.

        • jeffhykin@lemm.eeOP
          link
          fedilink
          arrow-up
          2
          arrow-down
          3
          ·
          edit-2
          1 year ago

          AFAIK static public-facing IP addresses are limited to a physical location. It would work if my laptop never left my house but as soon as I take it to the airport its no longer accessible. People who try to connect to the static ip would just get a message saying the address timed out.

      • Em Adespoton@lemmy.ca
        link
        fedilink
        arrow-up
        4
        ·
        1 year ago

        All you have to do is buy your own IP, and you can use it whenever you want. You don’t have to use one given to you by the upstream gateway via DHCP or BootP.

        Of course, you need to make sure the upstream router is configured to not drop addresses it didn’t assign itself.

        • jeffhykin@lemm.eeOP
          link
          fedilink
          arrow-up
          1
          arrow-down
          1
          ·
          1 year ago

          Even paying for a static IP its not like a phone number which is discoverable behind a NAT without extra router configuration.

            • jeffhykin@lemm.eeOP
              link
              fedilink
              arrow-up
              1
              arrow-down
              2
              ·
              1 year ago

              Yep, and I can verify my phone number didnt change when roaming, people could still call me.

              • SchmidtGenetics@lemmy.world
                link
                fedilink
                arrow-up
                1
                ·
                edit-2
                1 year ago

                Your roaming is the extra configuration you speak of, and is usually an extra fee…… that’s the “static” part

              • Droechai@lemm.ee
                link
                fedilink
                arrow-up
                1
                ·
                1 year ago

                Usually the phone number changes though. My phone number is 070Xxxx… here in Sweden, but my folks in law need to call 004670xxxx to call me unless they are visiting in which case 070xx works again

                • jeffhykin@lemm.eeOP
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  1 year ago

                  You’re right it depends on the definition of phone number, and I edited the original post to try and be more clear that I meant the phone number including the country code and area code.

                  If you’re talking about something other than country/area code though, then that’s news to me.

          • Em Adespoton@lemmy.ca
            link
            fedilink
            arrow-up
            1
            ·
            1 year ago

            That’s like saying “why isn’t my phone number that I set up on my own POTS network usable on the international telephone system?”

            If you’re behind NAT, you aren’t technically on the Internet; that’s why you need Network Address Translation in the first place.

            IPv6 fixes this by letting every conceivable device have its own address on the Internet, but that comes with its own security and privacy issues, so it’s rarely used.

      • Sethayy@sh.itjust.works
        link
        fedilink
        arrow-up
        3
        ·
        1 year ago

        For the laptop thing you realistically could by a WAN IP per device, itd just be expensivr and also a massive security issue DMZ’ing all your devices

  • MajorHavoc@programming.dev
    link
    fedilink
    arrow-up
    24
    arrow-down
    1
    ·
    1 year 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.

  • ChaoticNeutralCzech@lemmy.one
    link
    fedilink
    arrow-up
    22
    ·
    edit-2
    1 year ago

    Because

    1. When the internet was rolling out, a decentralized, open, best-effort solution of TCP/IP thankfully won over telephone companies’ centralized system proposal
    2. IPv6 is still not universal for some damn reason
    3. Onion addresses solve these problems but good luck getting everyone aboard with Tor
    4. You always trade anonymity for reachability, and with the amount of threats, NAT and firewalls have been put up to make it harder for unsolicited requests to reach you by default
    • jeffhykin@lemm.eeOP
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Thank you for such a long and detailed post! I indeed did not know about things beyond the SIM, and I didn’t know about the extra details about the country codes either. That is extremely interesting to me.

      With the phone spoofing though, does that mean two factor with a phone number is basically useless? If I had authentication based on a MAC address, it would take seconds to break it. But I think, and sure hope, that auth based on phone numbers is more secure.

      I think your domain name answer – that for the most part computers didnt need them – is a very satisfying answer.

  • slazer2au@lemmy.world
    link
    fedilink
    English
    arrow-up
    13
    ·
    1 year 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.

  • SchmidtGenetics@lemmy.world
    link
    fedilink
    arrow-up
    9
    ·
    1 year ago
    • 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?

    • jeffhykin@lemm.eeOP
      link
      fedilink
      arrow-up
      1
      arrow-down
      10
      ·
      edit-2
      1 year ago

      Yes I’m sure. Try changing the number to 911. Phone numbers only have one owner, MAC addresses may have many owners.

        • jeffhykin@lemm.eeOP
          link
          fedilink
          arrow-up
          1
          arrow-down
          4
          ·
          edit-2
          1 year ago

          The IP doesn’t persist across network hops (cell tower to cell tower) and the MAC address doesnt have one verified owner. A phone number is both verified having one owner and persists across network hops.

          • SchmidtGenetics@lemmy.world
            link
            fedilink
            arrow-up
            9
            arrow-down
            1
            ·
            1 year ago

            Static ips persist.

            MAC addresses can be banned

            Phone numbers can’t roam

            Phone numbers aren’t unique (area code)

            Wrong on all fronts.

          • Sethayy@sh.itjust.works
            link
            fedilink
            arrow-up
            1
            ·
            1 year ago

            So then drop your phone and pick up your friends.

            What number do you have now?

            Or if you really want an IP to follow you plug in your router at your friends house.

  • ulterno@lemmy.kde.socialBanned
    link
    fedilink
    English
    arrow-up
    7
    ·
    edit-2
    1 year 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.

  • slazer2au@lemmy.world
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    1
    ·
    1 year ago

    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.

    • jeffhykin@lemm.eeOP
      link
      fedilink
      arrow-up
      2
      arrow-down
      3
      ·
      edit-2
      1 year ago

      I meant “in the same way that phone numbers are unique to phones (not perfectly unique, some phones have dual Sim, some have no sim, sometimes a Sim changes numbers after contacting the provider, etc)”

      Its just typing all that^ in a title is kinda long.

      EUI-64 IPv6 (and why its not a reality) though is kinda what I’m curious about. But not really because, even under that spec, its still not static like a phone number. I want to know why networks were not created in a way where I can send a message to a laptop regardless of what WiFi its connected to (assuming it is connected and online).

      • slazer2au@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        Because it will be an ungodly thing to manage. The national phone databases are already a nightmare to manage. it would be far worse if we had a global one.

  • halcyoncmdr@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    1 year ago

    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.

    • jeffhykin@lemm.eeOP
      link
      fedilink
      arrow-up
      1
      arrow-down
      3
      ·
      1 year ago

      Solid answer, thanks! You deserve all the upvotes that were, instead, for some reason, given to the guy that just said “I think its a MAC address”

  • 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.