From owner-freebsd-questions@freebsd.org Tue Jun 18 15:26:13 2019 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CF30415C0C73; Tue, 18 Jun 2019 15:26:13 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-lf1-x141.google.com (mail-lf1-x141.google.com [IPv6:2a00:1450:4864:20::141]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5FEEE8266B; Tue, 18 Jun 2019 15:26:12 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: by mail-lf1-x141.google.com with SMTP id 136so9608787lfa.8; Tue, 18 Jun 2019 08:26:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=l1ZRoA1PmSY/fX0T+5mHaAnQKS2D8/1f86pu/Ry1JOM=; b=QrheR4QH/X6NCgFkaxYj18JXeve+xzj+KMgrL+Pv87Yoe750N4ktRSDKAeoKwjD/l/ HDkmrwVgnWvSj6ydgsN2tYjEm9/3hil52yjkaljjZSxhnPR36wEgbPBSQaexWmnvcWjk 9kjHX4b18Xm6MPl2YG7Q8vej5ul4INeF22BMYS2MPdy0CHnCLPtRAefmcNb1F4k2TM+x ZYYHExKIzFrj6kPs9bKVPubZ6Ogw3J/mPJpX8OoVCVJ/B8CMLHpZspmzSizR+YDiyrl1 HdhdkETsbxpeZlyUyNj3BmVG+QwdVMXrMFNS9dApv5RU9vyv8/16fD5ULiTKapPHwEaV pkYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=l1ZRoA1PmSY/fX0T+5mHaAnQKS2D8/1f86pu/Ry1JOM=; b=HBtwr75lxaph59S/xpXP+JSpymZ9Zxa/iZEafD31snH1evhLDhdCjvFZB2FnJx8GRc +KoPZyrB6c/rUsNsRTgSHW7w2+gmZyZLmObMC7C8zvRD7yFMey+9LYj1a59jCJfH+qv2 sZG3oE83Qc630MwNmmaUj0GqwrySYFaoCoEXjAomf3do7NBeUy7Iu/nvIH2ZZmsAv3Mq Cz32YaJknwa+qhf13lvZNBHV9ZuTTpMzaoOkI5d8UUItPdeOO1Niw0++cWGtHuI1uQwt pK9iYpLlxjBQNixxipMEInUXS58NRQu+vytToUvXWiQYNOYsSfd0iA66v/7p3w06WlPv r0Rw== X-Gm-Message-State: APjAAAUglbvNO6REDEfC9JfIMF8vyfdu6bFO7Nelhs7Feep4azBkF4hD rUg2a9ZkuawV7cNJPmZqQHssUhRL/oDEc+gymEuaww== X-Google-Smtp-Source: APXvYqw3bClyuRpcA4zlFYuUb+EG78yIgXvr+eSntwvLgM/LEXtbZAF2KGMNPm6zknxqTgbW7nCG8Rl8kJ/zUecLheA= X-Received: by 2002:ac2:5b05:: with SMTP id v5mr60012883lfn.38.1560871570167; Tue, 18 Jun 2019 08:26:10 -0700 (PDT) MIME-Version: 1.0 References: <18748.1560843874@segfault.tristatelogic.com> In-Reply-To: <18748.1560843874@segfault.tristatelogic.com> From: Freddie Cash Date: Tue, 18 Jun 2019 08:25:58 -0700 Message-ID: Subject: Re: Eliminating IPv6 (?) To: "Ronald F. Guilmette" Cc: freebsd-net , FreeBSD Questions Mailing List X-Rspamd-Queue-Id: 5FEEE8266B X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=QrheR4QH; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of fjwcash@gmail.com designates 2a00:1450:4864:20::141 as permitted sender) smtp.mailfrom=fjwcash@gmail.com X-Spamd-Result: default: False [-4.34 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_TLS_LAST(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[1.4.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; IP_SCORE(-0.50)[ip: (2.38), ipnet: 2a00:1450::/32(-2.50), asn: 15169(-2.32), country: US(-0.06)]; NEURAL_HAM_SHORT(-0.84)[-0.836,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; SUBJECT_HAS_QUESTION(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jun 2019 15:26:14 -0000 On Tue, Jun 18, 2019 at 12:45 AM Ronald F. Guilmette wrote: > In message , > Eugene Grosbein wrote: > > >18.06.2019 10:10, Ronald F. Guilmette wrote: > > > >> How can I turn off IPv6 entirely without rebuilding the kernel? > > > >You cannot. GENERIC kernel specifically enables IPv6 support and you need > to > >disable it at compile time. > >And if you do, you better rebuild the world too using WITHOUT_INET6=yes > in the > >/etc/src.conf > >or else some utilities compiled with INET6 by default will query kernel > >for IPv6-specific data (like routing entries) and complain that your > kernel does > >not know about it. > > > >World built WITHOUT_INET6 has no such rough edges. > > OK, so I obviously expressed myself badly. Let me try again. > For someone who doesn't want to be preached to about the benefits of IPv6, you certainly do a lot of preaching about not wanting IPv6. :) You've been given the tools to do exactly what you want: - comment out IPv6 support in the kernel config file - add WITHOUT_IPV6=yes to /etc/src.conf - rebuild the world and kernel Voila! A version of FreeBSD made especially for you, without any traces of IPv6. Does exactly what you want. Why the long diatribe asking for something else once you've been shown how to do what you want? -- Freddie Cash fjwcash@gmail.com