From owner-freebsd-questions@freebsd.org Wed Jun 19 23:23:05 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 0848815CCE95; Wed, 19 Jun 2019 23:23:05 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CB79B87965; Wed, 19 Jun 2019 23:23:03 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (localhost [127.0.0.1]) by gndrsh.dnsmgr.net (8.13.3/8.13.3) with ESMTP id x5JNMxvu020490; Wed, 19 Jun 2019 16:22:59 -0700 (PDT) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: (from freebsd-rwg@localhost) by gndrsh.dnsmgr.net (8.13.3/8.13.3/Submit) id x5JNMxpK020489; Wed, 19 Jun 2019 16:22:59 -0700 (PDT) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <201906192322.x5JNMxpK020489@gndrsh.dnsmgr.net> Subject: Re: Eliminating IPv6 (?) In-Reply-To: <23818.36263.312034.714296@jerusalem.litteratus.org> To: Robert Huff Date: Wed, 19 Jun 2019 16:22:59 -0700 (PDT) CC: "Rodney W. Grimes" , freebsd-net , FreeBSD Questions Mailing List , "Ronald F. Guilmette" X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: CB79B87965 X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [2.87 / 15.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.97)[0.968,0]; IP_SCORE(0.04)[ip: (0.14), ipnet: 69.59.192.0/19(0.07), asn: 13868(0.05), country: US(-0.06)]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[dnsmgr.net]; AUTH_NA(1.00)[]; RCPT_COUNT_FIVE(0.00)[5]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: gndrsh.dnsmgr.net]; NEURAL_SPAM_LONG(0.96)[0.961,0]; NEURAL_SPAM_MEDIUM(0.01)[0.010,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:13868, ipnet:69.59.192.0/19, country:US]; MID_RHS_MATCH_FROM(0.00)[]; SUBJECT_HAS_QUESTION(0.00)[] 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: Wed, 19 Jun 2019 23:23:05 -0000 > Rodney W. Grimes writes: > > > > And god only knows how much will break once I've done that. How many other > > > people have tested -all- of the resulting binaries, seriously, on actual > > > production systems? (I may be the first one ever, at least for 12.0.) > > > > I also agree here, running a WITHOUT_IPV6 userland is both very > > painful to get built AND has issues that one does not need to face, > > like I showed in another thread about netstat -6. > > Wider question: > Say I'm running a system with both IPv4 and IPv6 enabled. > Stuff Happens(tm) and I want to completely disable IPv6 for some > indefinite but temporary period - not chamge any configuration > settings or firewall rules, but just have the code finish processing > current packets (or not) and then ignore further traffic. There will > be consequences; I'm prepared to accept them. > Is there a single master switch - a sysctl, perhaps, or something > in /etc/rc.d - that lets me do that? You do raise a very valid point. ipfw add 1 deny ipv6 from any to any That is about the only "master" switch I can think of that would be very effective. > Robert Huff -- Rod Grimes rgrimes@freebsd.org