←back to thread

296 points jmillikin | 1 comments | | HN request time: 0.201s | source
Show context
xacky ◴[] No.44412475[source]
I have strong opinions about ipv4, especially since I'm forced to use an ipv4 isp. The lack of ipv6 adoption should be considered one of the great failures of tech. Who actually is responsible? Is it router manufacturers writing poor quality firmware, ipv4 advocates in leadership positions at isps, ipv4 address speculators, poor training of network engineers and tech support staff? I think we all need to have a much greater discussion with the internet at large and not just on isolated web posts and subreddits.

For comparison, the internet mostly transitioned off of TLS 1.0 just fine, why can't we do the same for transitioning off ipv4? Maybe AI powered proxies for legacy code perhaps?

replies(5): >>44412760 #>>44412955 #>>44414305 #>>44415086 #>>44418534 #
crims0n ◴[] No.44412760[source]
We have a saying in the industry… IPv6 is an academic solution to an engineering problem. The reality is it’s just too damn complicated to implement and maintain at scale while also retaining compatibility with v4… which is never going to go away because other than the address shortage, there are no problems with it.
replies(2): >>44413751 #>>44414215 #
bigstrat2003 ◴[] No.44414215[source]
IPv6 is not actually hard to implement or maintain. A lot of people have repeated that meme, but it isn't true at all.
replies(1): >>44414458 #
murderfs ◴[] No.44414458[source]
Okay, then please reimplement the equivalent of the following code to work with both IPv4 and IPv6:

    int fd = socket(AF_INET, SOCK_STREAM, 0);
    struct sockaddr_in addr = { .sin_family = AF_INET, .sin_port = htons(1234) };
    addr.sin_addr.s_addr = htonl(INADDR_ANY);
    bind(fd, (struct sockaddr*)&addr, sizeof(addr));
    listen(fd, 128);
    int client;
    while (client = accept(fd, 0, 0)) {
        // ...
    }
replies(3): >>44415181 #>>44415190 #>>44415198 #
1. bigstrat2003 ◴[] No.44415181[source]
I don't think anyone was talking about the difficulty of implementing IPv6 in software. I certainly wasn't. I meant the difficulty of implementing it as a network admin, which is not really hard.