From nobody Mon Mar 11 23:12:21 2024 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Ttsxx72hJz5ChnP for ; Mon, 11 Mar 2024 23:12:53 +0000 (UTC) (envelope-from dewayne@heuristicsystems.com.au) Received: from heuristicsystems.com.au (hermes.heuristicsystems.com.au [203.41.22.115]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2560 bits) client-digest SHA256) (Client CN "hermes.heuristicsystems.com.au", Issuer "Heuristic Systems Type 4 Host CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ttsxv2T76z4GMq for ; Mon, 11 Mar 2024 23:12:50 +0000 (UTC) (envelope-from dewayne@heuristicsystems.com.au) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=heuristicsystems.com.au header.s=hsa header.b=Hmid5j36; dmarc=none; spf=pass (mx1.freebsd.org: domain of dewayne@heuristicsystems.com.au designates 203.41.22.115 as permitted sender) smtp.mailfrom=dewayne@heuristicsystems.com.au Received: from [10.0.5.4] ([10.0.5.4]) (authenticated bits=0) by heuristicsystems.com.au (8.15.2/8.15.2) with ESMTPA id 42BNCKWp082218 for ; Tue, 12 Mar 2024 10:12:21 +1100 (AEDT) (envelope-from dewayne@heuristicsystems.com.au) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=heuristicsystems.com.au; s=hsa; t=1710198741; x=1710803542; bh=nA4iNPaIcfHebNnJt6h1qZ5qBYOym7DcYApYA+McEwQ=; h=Message-ID:Date:Subject:To:From; b=Hmid5j36UEnARPUhUuElXcNFlRrIcbYUechM1VxJDKkecGZnpxZmZCb8CDMRCvZYd PnFzBe9seyt0dDD8ds1nJPoLSksGRsr6el9Sz8oFZgdARn11KKfRzM9s5Ct5+K27BX DJG/mEKFg5ufL7OrzUAzGo03uI91hBW0s6dtkkrK+yKVrL7RFFmrf Message-ID: Date: Tue, 12 Mar 2024 10:12:21 +1100 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: ping acting strangely on 13.3 To: questions@freebsd.org References: <76081854-2b3f-47e5-8405-a5212f74a747@heuristicsystems.com.au> <4ae1c9ee-9be9-4124-9f11-22eff19a88c6@netfence.it> Content-Language: en-GB From: Dewayne Geraghty In-Reply-To: <4ae1c9ee-9be9-4124-9f11-22eff19a88c6@netfence.it> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Bar: ------ X-Spamd-Result: default: False [-6.09 / 15.00]; DWL_DNSWL_MED(-2.00)[heuristicsystems.com.au:dkim]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; RCVD_IN_DNSWL_MED(-0.20)[203.41.22.115:from]; R_DKIM_ALLOW(-0.20)[heuristicsystems.com.au:s=hsa]; R_SPF_ALLOW(-0.20)[+mx]; ONCE_RECEIVED(0.10)[]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[heuristicsystems.com.au]; RCPT_COUNT_ONE(0.00)[1]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[heuristicsystems.com.au:+]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; TO_DN_NONE(0.00)[]; ASN(0.00)[asn:1221, ipnet:203.40.0.0/13, country:AU]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[] X-Rspamd-Queue-Id: 4Ttsxv2T76z4GMq 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.