From owner-freebsd-net@freebsd.org Sun Jun 11 22:13:32 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0D39EBEE50C for ; Sun, 11 Jun 2017 22:13:32 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:130:3ffc::401:25]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C64E178E62; Sun, 11 Jun 2017 22:13:31 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id 19A2C25D385E; Sun, 11 Jun 2017 22:13:20 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 7D3D3D1F909; Sun, 11 Jun 2017 22:13:19 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id Ug2Y2m03_wk2; Sun, 11 Jun 2017 22:13:18 +0000 (UTC) Received: from [10.82.3.139] (unknown [IPv6:fde9:577b:c1a9:f001::2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 7ED2CD1F908; Sun, 11 Jun 2017 22:13:17 +0000 (UTC) From: "Bjoern A. Zeeb" To: "Tijl Coosemans" Cc: freebsd-net@FreeBSD.org Subject: Re: Enable IPv6 Privacy Extensions by default Date: Sun, 11 Jun 2017 22:13:14 +0000 Message-ID: In-Reply-To: <20170611215904.4612ee41@kalimero.tijl.coosemans.org> References: <20170611215904.4612ee41@kalimero.tijl.coosemans.org> MIME-Version: 1.0 X-Mailer: MailMate (2.0BETAr6082) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jun 2017 22:13:32 -0000 On 11 Jun 2017, at 19:59, Tijl Coosemans wrote: > Hi, > > I recently got a new modem/router from my ISP that supports IPv6. Added > ifconfig_em0_ipv6="inet6 accept_rtadv" and rtsold_enable="YES" to > /etc/rc.conf like the handbook says and now all my FreeBSD systems have > an IPv6 address. \o/ > > I also added these lines to /etc/sysctl.conf to enable temporary > addresses: > > net.inet6.ip6.use_tempaddr=1 > net.inet6.ip6.prefer_tempaddr=1 > > Shouldn't these be enabled by default? There was a proposal 9 years ago > that didn't get any objections but it seems it wasn't committed: > https://lists.freebsd.org/pipermail/freebsd-net/2008-June/018381.html > > If there are no objections, I'll make the change in a week or so. Object :) Check the rc.conf ipv6_privacy option rather than setting the sysctl manually. /bz