NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Anita much slower? (IPv6 use is too aggressive)



At Fri, 31 Jan 2025 20:02:58 +0000, David Brownlee <abs%absd.org@localhost> wrote:
Subject: Re: Anita much slower?
>
> On Sun, 26 Jan 2025 at 19:04, Martin Husemann <martin%duskware.de@localhost> wrote:
> >
> > On Sun, Jan 26, 2025 at 06:48:31PM +0100, Benny Siegert wrote:
> > > It looks like with IPv6 enabled (the default), pkg_add/pkgin try several v6
> > > addresses for cdn.netbsd.org, with a long connect timeout each time.
> >
> > This means your network setup is seriously broken (probably something
> > advertizing a IPv6 route but actually not routing).
>
> This seems to crop up more than just occasionally (and we don't know
> how many people hit it and just give up).
>
> While I'm not contesting that it may be a broken network setup, it
> would be nice if NetBSD could better handle it (at least as well as
> Linux or other systems)

Indeed!  I see mention of this off-list quite often, and I've
encountered it myself in a tangential scenario with NTP, even when
there's no IPv6 actually enabled for the local LAN (though there are
other systems on the LAN trying to use IPv6, such as mobile phones,
laptops, etc.)

I personally think the default should always be to try IPv4 connections
first if any IPv4 networking seems alive (and if an IPv4 address is
available for the target of course), even if IPv6 is enabled.  One
should only have to use IPv6 if one really has to use IPv6!  Seriously.
I think forcing IPv6 attempts when it might not work, and when it is not
necessary, is always wrong.  If you're connecting to a publicly
reachable server and it has an IPv4 address, and you have a default IPv4
route, then an IPv4 connection is going to work 99.999% of the time.

IPv6 is still really a second-class protocol on the public Internet and
probably will remain so until the vast majority of hosting providers are
offering reliably working IPv6 addresses for all services.

(I now have IPv6 working so I can't test such things easily any more.)

--
					Greg A. Woods <gwoods%acm.org@localhost>

Kelowna, BC     +1 250 762-7675           RoboHack <woods%robohack.ca@localhost>
Planix, Inc. <woods%planix.com@localhost>     Avoncote Farms <woods%avoncote.ca@localhost>

Attachment: pgpTfM1NDr06g.pgp
Description: OpenPGP Digital Signature



Home | Main Index | Thread Index | Old Index