• blackstrat@lemmy.fwgx.uk
    link
    fedilink
    arrow-up
    12
    ·
    3 hours ago

    Ipv6 is broken for those that want control over their home networks thanks to Google and terribly written RFCs.

    All that was needed was an extra byte or two of address space, but no, some high and mighty evangelicals in their ivory towers built something that few people understand 30 years later. Their die hard fans are sure that this will be the year of ipv6. The Year of Linux on the Desktop will come 10 years before the year of ipv6.

  • DarkSideOfTheMoon@lemmy.world
    link
    fedilink
    arrow-up
    8
    arrow-down
    1
    ·
    7 hours ago

    Also for home network I don’t won’t my IOT to have a real IP to the Internet. Using IPv4 NAT you can have a bit of safety by obscurity

      • IphtashuFitz@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        arrow-down
        1
        ·
        1 hour ago

        No, but it’s far easier to explain how to configure your home network such that 182.168.1.* is for your regular devices like laptops, etc. and 192.168.2.* is for your IoT devices. Then block all access from 192.168.2.* to the internet so your IoT devices can’t “phone home”, can’t auto-update without your knowledge, can’t end up as part of a botnet, etc.

        • Spaz@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          16 minutes ago

          That’s the thing, you are still thinking in ipv4 terms, and that’s ok. It’s a different way to think of things using ipv6 and the proper way to configure them. No worries tho. Not like you are being forced to ipv6 for internal home networks.

    • Gonzako@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      11 hours ago

      mind explaining? All 8 know about Nat is that it sometimes didn’t let me play rainbow six siege

      • ThunderComplex@lemmy.today
        link
        fedilink
        arrow-up
        9
        ·
        8 hours ago

        NAT is like package delivery IRL. If you’re a server and send a package to a client without NAT, that’s like sending a delivery boy to deliver pizza, goes straight from source to destination.

        But with NAT it’s like ordering a package online. It first will be delivered to a distribution center, and then a delivery warehouse in your area, and then the courier delivers packages to all people on his route.

        It’s way more complex and you now have a whole bunch of points of failure.

        • enumerator4829@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          3
          ·
          51 minutes ago

          And yet, in the real world we actually use distribution centers and loading docks, we don’t go sending delivery boys point to point. At the receiving company’s loading docks, we can have staff specialise in internal delivery, and also maybe figure out if the package should go to someone’s office or a temporary warehouse or something. The receiver might be on vacation, and internal logistics will know how to figure out that issue.

          Meanwhile, the point-to-point delivery boy will fail to enter the building, then fail to find the correct office, then get rerouted to a private residence of someone on vacation (they need to sign personally of course), and finally we need another delivery boy to move the package to the loading dock where it should have gone in the first place.

          I get the ”let’s slaughter NAT” arguments, but this is an argument in favour of NAT. And in reality, we still need to have routing and firewalls. The exact same distribution network is still in use, but with fewer allowances for the recipient to manage internal delivery.

          Personal opinion: IPv6 should have been almost exactly the same as IPv4, but with more numbers and a clear path to do transparent IPv6 to IPv4 traffic without running dual stack (maybe a NAT?). IPv6 is too complex, error prone and unsupported to deploy without shooting yourself in the foot, even now, a few decades after introduction.

        • rumba@lemmy.zip
          link
          fedilink
          English
          arrow-up
          15
          ·
          7 hours ago

          That’s a great analogy for carrier grade nat.

          For regular nat it’s like the pizza is able to get all the way to your house but then has no idea who to go to so somebody has to answer the door and then take the pizza from the door to the person who ordered it themselves.

          And IPv6 is like the pizza delivery guy just walks right into the house up the steps into your bedroom and hands you the pizza directly.

          The best part is they each have the same exact problems you’d have in real life.

          • Blaster M@lemmy.world
            link
            fedilink
            English
            arrow-up
            5
            ·
            edit-2
            1 hour ago

            Let me one up this. IPv4 NAT is like the pizza guy has to deliver to you, but you live in a gated community with a strict no visitors policy, which does not allow you to even mention what unit you’re in, and none of the addresses in the community are registered with the post office or on Google Maps either. Instead, you tell the guardhouse you want to order, and they order the pizza for you. The pizza guy delivers to the guardhouse, and the guardhouse delivers the pizza to you.

            IPv6 (with firewalling) is like a normal gated community, you order the pizza and include the unit number, and the delivery driver can deliver your pizza directly, as long as the guardhouse approves.

            The difference is, with NAT, the guardhouse has to both guard (firewall) and route (keep track of all deliveries, and deliver) your packages, where with IPv6, the guardhouse (firewall) only has to guard (firewall) the packages.

          • ulterno@programming.dev
            link
            fedilink
            English
            arrow-up
            2
            ·
            2 hours ago

            Waiting for IPv8 when the delivery guy takes a slice and feeds it to me so I don’t need to worry about greasy fingers.

          • squaresinger@lemmy.world
            link
            fedilink
            arrow-up
            4
            ·
            7 hours ago

            Perfect, perfect analogy. Like, seriously, I’ve hardly ever seen an analogy that works so flawlessly where even the implications just line up perfectly.

            I am in awe.

            • rumba@lemmy.zip
              link
              fedilink
              English
              arrow-up
              1
              ·
              7 hours ago

              I was eating salad in my bedroom 2:30 in the morning today.

              Me: Fuck, can’t sleep I’m hungry. You want anything? Wife: yeah, fill up my water bottle and bring me something to eat.

              I went downstairs, made two loaded salads and brought them up to the bedroom.

              I might in fact be getting old.

              • rothaine@lemmy.zip
                link
                fedilink
                arrow-up
                3
                ·
                6 hours ago

                If you can eat a salad and then lay down without getting an explosion of acid reflux, maybe you aren’t old yet 😂

      • Tiger_Man_〔he/him〕@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        4
        arrow-down
        1
        ·
        10 hours ago

        Having multiple hosts under one address for all hosts is annoying. Port forwarding is annoying. Some isps have their own nat and want you to pay additionally for public ip address

  • nonentity@sh.itjust.works
    link
    fedilink
    arrow-up
    45
    ·
    1 day ago

    The reason IPv6 was originally added to the DOCSIS specs, over 20 years ago, is because Comcast literally exhausted all RFC1918 addresses on their modem management networks.

    My favourite feature of IPv6 is networks, and hosts therein, can have multiple prefixes and addresses as a core function. I use it to expose local functions on only ULA addresses, but provide locked down public access when and where needed. Access separation is handled at the IP stack, with IPv4 it’s expected to be handled by a firewall or equivalent.

    • gens@programming.dev
      link
      fedilink
      arrow-up
      1
      ·
      5 hours ago

      They kept talking it was because address exaustion, and IANA sold all the remaining blocks they had…

      I tested it at the time. Ran nmap ping scan across a block all night with zero results. IANA sold the internet

    • Bytemeister@lemmy.world
      link
      fedilink
      English
      arrow-up
      26
      ·
      23 hours ago

      My favorite feature of IPv6 is that there are so many addresses available. Every single IPv4 address right now could have its own entire IPv4 range of addresses in IPv6. It’s mind-boggling huge.

      • gnuplusmatt@reddthat.com
        link
        fedilink
        arrow-up
        14
        ·
        edit-2
        19 hours ago

        you could assign every square meter of the planet an ip and use it for location, and still have addresses left over

        • Zink@programming.dev
          link
          fedilink
          arrow-up
          9
          ·
          edit-2
          8 hours ago

          Oh it’s way more than that!

          After looking up some numbers, I note we could give every single square MILLIMETER on the planet its own entire IPv4 address space.

          …And then every one of those IPv4 addresses could have its own entire copy of the IPv4 address space!

          …And that would just be a drop in the bucket compared with IPv6! One good comparison I’ve seen is that you could assign an address to every atom on the surface of the earth (but not inside it) and have enough left over for 100+ more earths.

          Rough math for the square millimeters:

          The surface area of the earth is roughly 510 trillion square millimeters. Let’s round that up to a quadrillion or 1015.

          The number of IPv6 addresses is 2128 or 3.4x1038. To be conservative again, let’s just round that down to 1038.

          1038 / 1015 = 1023 IPv6 addresses per square mm of earth.

          IPv4 address space is 232 or around 4 billion. let’s round up to 10 billion or 1010.

          So then 1023 / 1010 = 1013 IPv6 addresses per IPv4 address per square mm of earth.

          1013 / 1010 =

          1,000 IPv6 addresses

          per IPv4 address

          per IPv4 address

          per square mm of earth.

          And that was with the conservative estimates along the way. I think it would actually be tens of thousands.

  • Frezik@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    206
    arrow-down
    4
    ·
    1 day ago

    I know it’s a joke, but the idea that NAT has any business existing makes me angry. It’s a hack that causes real headaches for network admins and protocol design. The effects are mostly hidden from end users because those two groups have twisted things in knots to make sure end users don’t notice too much. The Internet is more centralized and controlled because of it.

    No, it is not a security feature. That’s a laughable claim that shows you shouldn’t be allowed near a firewall.

    Fortunately, Google reports that IPv6 adoption is close to cracking 50%.

    • Auli@lemmy.ca
      link
      fedilink
      English
      arrow-up
      2
      ·
      12 hours ago

      Ipv6 took awhile for me to understand. One of the biggest hurdles was how is it secure without NAT.

    • truthfultemporarily@feddit.org
      link
      fedilink
      arrow-up
      91
      ·
      1 day ago

      I think NAT is one reason why the internet is so centralized. If everyone had a static IP you could do all sorts of decentralized cool stuff.

      • Frezik@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        65
        arrow-down
        1
        ·
        1 day ago

        Right, not the only reason, but it’s a sticking point.

        You shouldn’t need to connect to your smart thermostat by using the company’s servers as an intermediary. That makes the whole thing slower, less reliable, and a point for the company to sell your personal data (that last one being the ultimate reason why it’s done this way).

      • Creat@discuss.tchncs.de
        link
        fedilink
        arrow-up
        37
        arrow-down
        3
        ·
        1 day ago

        Everyone having a static IP is a privacy nightmare.

        There’s a reason the recommendation in the standard for ipv6 had to be amended (it whatever the mechanic was) so that generated local suffixes aren’t static. Before that, we were essentially globally identifiable because just the second half of your v6 address was static.

        • Frezik@lemmy.blahaj.zone
          link
          fedilink
          English
          arrow-up
          21
          ·
          1 day ago

          IPv4 centralization creates far more privacy issues than everyone having a static IP. The solutions are still things like VPNs and onion routing.

      • PacMan@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        9
        ·
        1 day ago

        Which is why IPv6 was created. Everything used to get a public routable IP. Large company’s such as ATT and IBM got a whole /8 to themselves. NAT made it so we did not run out of IP’s in the 2000’s

    • iii@mander.xyz
      link
      fedilink
      English
      arrow-up
      14
      ·
      1 day ago

      Fine, I won’t invite you to our bi-annual TURN server appreciation event.

      • I worked with one of the inventors of IPv6 for a bit of time, and I think knowing Carl really gave me an insight into who IPv6 was invented for, and that’s the big, big, big networks — peering groups that connect large swaths of the Internet with other nations’ municipal or public infrastructure.

        These groups are pushing petabytes of data every hour, and as a result, I think it makes their strategists think VERY big picture. From what I’ve seen, IPv6 addresses very real logistical problems you only see with IPv4 when you’re already dealing with it on a galactic scale. So, I personally have no doubt that IPv6 is necessary and that the theory is sound.

        However, this fuckin’ half-in/half-out state has become the engine of a manifold of security issues, primarily bc nobody but nerds or industry specialists knows that much about it yet. That has led to rushed, busy, or just plain lazy devs and engineers to either keep IPv6 sockets listening, unguarded, or to just block them outright and redirect traffic to IPv4 anyway.

        Imo there’s not much to be done besides go forward with IPv6. It’s there, it’s tested, it’s basically ready for primetime in terms of NIC chip support… I just wish it weren’t so obtuse to learn. :/

        • drosophila@lemmy.blahaj.zone
          link
          fedilink
          English
          arrow-up
          5
          ·
          15 hours ago

          However, this fuckin’ half-in/half-out state has become the engine of a manifold of security issues, primarily bc nobody but nerds or industry specialists knows that much about it yet. That has led to rushed, busy, or just plain lazy devs and engineers to either keep IPv6 sockets listening, unguarded, or to just block them outright and redirect traffic to IPv4 anyway.

          Its kind of interesting to me how conservative the IT industry is with stuff like this.

          The industry loves to say “move fast and break things” or “innovate and disrupt”, but that generally only applies to things that can be shat out in a two week long Python project (or shat out in 2 weeks after publicly funded universities spent years figuring out the algorithm for you). For anything foundational, like CPU architecture, operating systems, or the basic assumptions about how UI should work, they’re terrified of change.

      • Frezik@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        25
        ·
        1 day ago

        There is something there, but mostly I think existing net admins try to map their existing IPv4 knowledge onto IPv6. That doesn’t work very well. It needs to be treated as its own thing.

        • drkt@scribe.disroot.org
          link
          fedilink
          arrow-up
          9
          ·
          1 day ago

          I couldn’t figure it until I turned my brain off and just read the documentation. I was thinking in IPv4 logic, because everyone had told me it was just “bigger IPv4” - it’s not. It’s so much more, and better.

      • deur@feddit.nl
        link
        fedilink
        arrow-up
        2
        arrow-down
        31
        ·
        1 day ago

        Nah. You’re just too stupid to understand the internet is designed to be used with DNS. The people who design these protocols and operate the networks that form the internet have no issues with DNS and don’t care that you don’t understand.

    • IrateAnteater@sh.itjust.works
      link
      fedilink
      arrow-up
      4
      arrow-down
      8
      ·
      1 day ago

      We use NAT all the time in industrial settings. Makes it so you can have select devices communicate with the plant level network, while keeping everything else common so that downtime is reduced when equipment inevitably fails.

        • socsa@piefed.social
          link
          fedilink
          English
          arrow-up
          7
          ·
          1 day ago

          The one thing you can’t do with IPv6 is yell the address across the room to the technician plugged into the switch trying to ping the node.

        • IrateAnteater@sh.itjust.works
          link
          fedilink
          arrow-up
          5
          arrow-down
          2
          ·
          1 day ago

          This is equipment that uses all statically addressed devices. And ignoring the fact that IPv6 is simply unsupported on most of them, there are duplicate machines that share programs. Regardless of IP version you need NAT anyway if you want to be able to reach each of the duplicates from the plant network.

        • Hotzilla@sopuli.xyz
          link
          fedilink
          arrow-up
          1
          arrow-down
          1
          ·
          edit-2
          21 hours ago

          Good luck trying to find industrial stuff that supports IPv6, hell most of it is still serial.

          I have legit heard that serial is security mechanism because it cannot communicate long distance like ethernet.

          Of course you can do IPv6 magic that hides IPv6 from the end device, but nobody understands how that magic works.

  • Domi@lemmy.secnd.me
    link
    fedilink
    arrow-up
    50
    ·
    1 day ago

    My favorite thing to use IPv6 for is to use the privacy extension to get around IP blocks on YouTube when using alternative front ends. Blocked by Google on my laptop? No problem, let me just get another one of my 4,722,366,482,869,645,213,696 IP addresses.

    I have a separate subnet which is IPv6 only and rotates through IP addresses every hour or so just for Indivious, Freetube and PipePipe.

  • socsa@piefed.social
    link
    fedilink
    English
    arrow-up
    34
    arrow-down
    1
    ·
    1 day ago

    Meh, the idea of having every address be globally routable makes a lot of sense. NAT is a great bandaid but it’s still a bandaid. It still limits how peer to peer and multicast applications function, especially on larger networks.

    • Korhaka@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      16
      ·
      edit-2
      1 day ago

      NAT444 is shit. I can’t even host a web server without routing it through a VPN, and my ISP can’t work out how to provide an IPv6 addresses yet. Give it to me and I will work out how to use it.

      Slight update - Just looked and apparently they had a goal of rolling out IPv6 addresses to all customers by earlier this year. I’ll check my router config tomorrow and who knows. Maybe I will be able to get one now? Would be pretty sweet.

      • cepelinas@sopuli.xyz
        link
        fedilink
        arrow-up
        4
        ·
        14 hours ago

        I am sorry to interrupt, my ISP gave me an ipv6 address, but I just can’t access anything through it even when I specify it in the firewall, maybe they are blocking this functionality because they sell static ips.

        • Korhaka@sopuli.xyz
          link
          fedilink
          English
          arrow-up
          1
          ·
          14 minutes ago

          I can use dynamic DNS, the problem is I can’t host over NAT444 without something like a VPN.

          Still not been given an IPv6 address though.

  • Blaster M@lemmy.world
    link
    fedilink
    English
    arrow-up
    52
    arrow-down
    1
    ·
    edit-2
    1 day ago

    Skill issue

    IPv6 is easy to do.

    2000::/3 is the internet range

    fc00::/7 is the private network range (for non routing v6)

    fe80::/64 is link local (like apipa but it never changes)

    ::1/128 is loopback

    /64 is the smallest network allocation, and you still have 64 bits left for devices.

    You don’t need NAT when you can just do firewalling - default drop new connections on inbound wan and allow established, related on outbound wan like any IPv4 firewall does.

    Use DHCPv6 and Prefix Delegation (DHCPv6-PD) to get your subnets and addresses (ask for a /60 on the wan to get 16 subnets).

    Hook up to your printer using ipv6 link local address - that address never changes on its own, and now you don’t have to play the static ip game to connect to it after changing your router or net config.

    The real holdup is ISPs getting ultra cheap routers that use stupid network allocation systems (AT&T) that are incompat with the elegant simplicity of prefix delegation and dhcp.

    • kieron115@startrek.website
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      1 day ago

      On my home network I make sure that my PDs are the same as my VLAN IDs so that I can at least know where a device is based on its IP. If I was smart I would also line them up with the IPv4 subnets as well.

  • MissingGhost@lemmy.ml
    link
    fedilink
    arrow-up
    26
    ·
    1 day ago

    I’m surprised by the comments here. I use 90% IPv6. For me v4 is only present for retro compatibility. The transition was hard however.

  • LaLuzDelSol@lemmy.world
    link
    fedilink
    arrow-up
    31
    arrow-down
    1
    ·
    edit-2
    1 day ago

    Just my perspective as a controls (SCADA engineer):

    I work for a large power company. We have close to 100 sites, each with hundreds of IP devices, and have never had a problem with ipv4. Especially when im out in the field I love being able to check IPs, calculate gateways, etc at a glance. Ipv6 is just completely freaking unreadable.

    I see the value of outward-facing ipv6 devices (i.e. devices on the internet), considering we are out of ipv4s. But I don’t see why we have to convert private networks to ipv6. Put more bluntly: at least industry, it just isn’t gonna happen for decades (if it ever does). Unless you need more IPs it’s just worse to work with. And there’s a huge amount of inertia- got one singular device that doesn’t talk ipv6 at a given generation site? What are you supposed to do?

    • into_highest_invite@lemmygrad.ml
      link
      fedilink
      arrow-up
      1
      ·
      55 minutes ago

      i’ve done both ipv4 and v6, but never embedded. from my perspective, ipv6 addresses can be easier to remember and use, with a little clever arrangement of zeros and especially because they’re hexadecimal. that’s in addition to the way more elegant way the protocol itself handles various things. obviously not worth upgrading systems that don’t even need dhcp, but that applies to a lot of things in that field

    • Captain_Faraday@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      11 hours ago

      I’m a protective relay settings engineer at a contractor for lots of power companies. I’m dipping my toes into my first substation automation project. Getting to design the device native files, IPs, and other networking parts from the drawings package of site and device manuals. It’s all SEL equipment with a gateway at the top and local powerWAN, RTAC, annunciators, and relays below. I live thousands of miles from the site, so local testing would be challenging but probably have to fly or something lol. I have been doing some research on how to emulate this is a lab setting when all you have is the RTAC and some relays. Is this something SCADA engineers have to do sometimes? Like if you need to test a scheme when you can’t build it physically first?

    • kieron115@startrek.website
      link
      fedilink
      English
      arrow-up
      5
      arrow-down
      1
      ·
      1 day ago

      If you set up your DNS correctly then you don’t even need the IPs. Just give devices unique, human-readable names and maybe do separate sub-domains for each site or something.

        • kieron115@startrek.website
          link
          fedilink
          English
          arrow-up
          4
          ·
          1 day ago

          Oh, now that you mention it I’ve never tried to map a static DNS entry to a device without DNS. Welp, time to get thousands of raspberry pi’s to act as IP KVMs!

          • inktvip@lemmy.dbzer0.com
            link
            fedilink
            arrow-up
            2
            ·
            15 hours ago

            That would imply en existence of display/usb outputs…

            We’re essentially talking a bunch of embedded devices talking to each other. You can give them all the dns entries you want, but if they (or the programming environment) don’t support DNS lookup you might as well put your dns server in excel.

            • kieron115@startrek.website
              link
              fedilink
              English
              arrow-up
              1
              ·
              4 hours ago

              The microcomputers (raspberry pi, arduino, whatever) could have a modern network interface and relay the communication to the embedded devices over oldschool serial. But yeah, straight DNS wouldn’t work. I like the idea though, gonna start posting my 10 favorite IP addresses on a piece of paper on the fridge. Who needs excel!