Date: Tue, 12 Mar 2024 10:12:21 +1100 From: Dewayne Geraghty <dewayne@heuristicsystems.com.au> To: questions@freebsd.org Subject: Re: ping acting strangely on 13.3 Message-ID: <ffbf815c-0d9d-4cc9-88bc-445f70ad157f@heuristicsystems.com.au> In-Reply-To: <4ae1c9ee-9be9-4124-9f11-22eff19a88c6@netfence.it> References: <c53ff6b9-6183-45a8-be61-f400f466c2d7@netfence.it> <CAFbbPugzSeSsxPSv0OtA0P%2BRAwvFhXio1YUOKzNdxUizzQZdaw@mail.gmail.com> <e8f736aa-b9ad-465f-8cac-2b21937d1acd@netfence.it> <76081854-2b3f-47e5-8405-a5212f74a747@heuristicsystems.com.au> <4ae1c9ee-9be9-4124-9f11-22eff19a88c6@netfence.it>
next in thread | previous in thread | raw e-mail | index | archive | help
On 11/03/2024 8:18 pm, Andrea Venturoli wrote: > On 3/10/24 22:42, Dewayne Geraghty wrote: >> Andrea, you mentioned commenting "options INET6" from the kernel, but >> do you also have WITHOUT_INET6 in /etc/src.conf, as this will take >> care of userland? It might help to review the ref below. If not, then >> you probably need to add it and perform a "make world". >> >> Ref: man src.conf | col -b | grep -A3 -iE "INET6|IPV6" >> >> Regards, Dewayne. >> > > Hello and thanks for answering. > > Is this officially needed? > That would be a problem, since I build world on one single box, then > install on different boxes which might have INET6 or not in the kernel. > > If it's compulsory, I'll see what I can do, but I find it strange, since > I never used this before (and I still don't with 14.0). > > bye > av. > A quick read of /usr/src/sbin/ping/main.c looks like it may depend on the resolution order, though this isn't my area of expertise. However it is consistent that if the OS doesn't support a protocol (because INET6 is commented out) then the userland applications should be expected to misbehave when the missing part is sought.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ffbf815c-0d9d-4cc9-88bc-445f70ad157f>