From nobody Wed May 10 18:47:25 2023 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 4QGkXw6FJvz4BGnF for ; Wed, 10 May 2023 18:47:28 +0000 (UTC) (envelope-from trkellers@gmail.com) Received: from mail-qk1-x72e.google.com (mail-qk1-x72e.google.com [IPv6:2607:f8b0:4864:20::72e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QGkXw1s8Wz4PCY for ; Wed, 10 May 2023 18:47:28 +0000 (UTC) (envelope-from trkellers@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20221208 header.b=Z1nNTYlb; spf=pass (mx1.freebsd.org: domain of trkellers@gmail.com designates 2607:f8b0:4864:20::72e as permitted sender) smtp.mailfrom=trkellers@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-qk1-x72e.google.com with SMTP id af79cd13be357-7577fa4012aso54434985a.0 for ; Wed, 10 May 2023 11:47:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683744447; x=1686336447; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=ZmykJeFMW6dv2SjitT8GznbNEiBMZQ9wkOJahLQpLZ8=; b=Z1nNTYlbkclLLZ84ZwpkV+EyP+6RSX4LW74jVeO5waOutrgXR/GfZEdTwZtWOkhIU6 XoUc6WQqtyu9n42h6a2AWOeWK4oDfPUlbYavr5LA0slc9mcIa2t0H+Loto/eIE2g/Y0T euzD4wIVse6Bh+9VXPC1n3mLS+HlGrfHyZhBamz5WJ2cqKqpwWFuTzYv5EF+IV/6Cmrw N/hcdmoGVHft661eYnLVG6z6o3SoBjBHFs51QPz7z7lH1vBRTMIugbRGr2hi86aHZe83 lCtTCjk5BJqDGLbub3allYzkm8wRm01zSKQ7hVSEdLdDlqBOv+pOIesQe1zDc2P1zXJe NN5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683744447; x=1686336447; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ZmykJeFMW6dv2SjitT8GznbNEiBMZQ9wkOJahLQpLZ8=; b=Z+w4GFITiMKtnptoLP8UaSnItB1zDG5hhI1/NyMCnncfrz2+4QGtd09PEjhINheE4j ZSGbs9yF0HQBcvVwEx39v0+9czMIeijBix6KkGft26ONzWPg4zD8T8RmV/G5ezpdMwV2 pCkbeXt/VSjHXDuQ62AYTbFt3aFzO5EAlnYpsHBZHn4EQfUXn1c+zTIqNMi1A+7TwHlA f3V4VJe1DrLQ1V7e52Hhk+5ypvjo1hlID65oM9Mwws1Iddf5TS4gFavzB+a/YtZUciS6 xlJ//xxvMcS/NI5AXyWa2wvZ6+XZST4hnhFMbjV8EcsHdHYRHqPm5hK7q2vF3q7QnLro qJRg== X-Gm-Message-State: AC+VfDyVcou69BHwlfU/rDoeTHSGJlB3c3gvaRFYB0IIYnTtpSbD90+G mj9uMr73oI4OgAWQSeQRkC77lWTn5niQEQ== X-Google-Smtp-Source: ACHHUZ5hnYKXYh57KNjZ7ARlROj+Mxm8FPrLpbv1VJnxtRboSpFe7LPx0hss1Hn6+ghmF4AIUgVn0w== X-Received: by 2002:a05:6214:300f:b0:621:cef:f270 with SMTP id ke15-20020a056214300f00b006210ceff270mr19992606qvb.5.1683744446747; Wed, 10 May 2023 11:47:26 -0700 (PDT) Received: from [192.168.254.154] ([50.123.160.66]) by smtp.gmail.com with ESMTPSA id b27-20020a05620a127b00b007571fbb5ee1sm1730245qkl.30.2023.05.10.11.47.26 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 10 May 2023 11:47:26 -0700 (PDT) Message-ID: Date: Wed, 10 May 2023 14:47:25 -0400 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/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Firefox/102.0 Thunderbird/102.10.1 Subject: Re: turning off ipv6 on lo0 Content-Language: en-US To: questions@freebsd.org References: <996b0ce7-0bfe-03e3-0666-6cec58b4ceba@dreamchaser.org> From: TIM KELLERS In-Reply-To: <996b0ce7-0bfe-03e3-0666-6cec58b4ceba@dreamchaser.org> Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spamd-Result: default: False [0.22 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; NEURAL_SPAM_SHORT(0.92)[0.924]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MIME_HTML_ONLY(0.20)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20221208]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::72e:from]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_NONE(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; DKIM_TRACE(0.00)[gmail.com:+]; MIME_TRACE(0.00)[0:~]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MLMMJ_DEST(0.00)[questions@freebsd.org] X-Rspamd-Queue-Id: 4QGkXw1s8Wz4PCY X-Spamd-Bar: / X-ThisMailContainsUnwantedMimeParts: N

I didn't see any replies to this message, but here is my ifconfig regarding l0:

lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
    options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
    inet 127.0.0.1 netmask 0xff000000
    groups: lo

I turned off IPV6 option in the kernel and rebuilt it.


It was an interesting process.  It seems to break some ports.


Tim


On 5/8/23 1:52 PM, Gary Aitken wrote:
Can't seem to figure out how to completely disable ipv6 in 12.4-RELEASE.
Tried everything I've found in searches, I think.

rc.conf:

ip6addrctl_enable="NO"
ip6addrctl_prefer_ipv4="YES"
ip6addrctl_prefer_ipv6="NO"
ipv6_activate_all_interfaces="NO"
# neither of the 2 lines below have any effect;
# nor does the absence of them
# lo0 always has ipv6 configured
#ipv6_network_interfaces="none"
#ipv6_network_interfaces=""

An ifconfig shows no ipv6 on any interfaces except lo0:

lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
        inet 127.0.0.1 netmask 0xff000000
        groups: lo
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>

So how do I get rid of it on lo0?
Should I care?

Gary