From owner-freebsd-security@freebsd.org Fri Jun 3 19:15:26 2016 Return-Path: Delivered-To: freebsd-security@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 E5A5DB690CC; Fri, 3 Jun 2016 19:15:26 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from zxy.spb.ru (zxy.spb.ru [195.70.199.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id ACE351EC4; Fri, 3 Jun 2016 19:15:26 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from slw by zxy.spb.ru with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1b8uZ2-000Aje-2Z; Fri, 03 Jun 2016 22:15:24 +0300 Date: Fri, 3 Jun 2016 22:15:24 +0300 From: Slawa Olhovchenkov To: Lowell Gilbert Cc: stable@freebsd.org, freebsd-security@freebsd.org Subject: Re: unbound and ntp issuse Message-ID: <20160603191523.GE75630@zxy.spb.ru> References: <20160602122727.GB75625@zxy.spb.ru> <44lh2mi0k5.fsf@lowell-desk.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44lh2mi0k5.fsf@lowell-desk.lan> User-Agent: Mutt/1.5.24 (2015-08-30) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: slw@zxy.spb.ru X-SA-Exim-Scanned: No (on zxy.spb.ru); SAEximRunCond expanded to false X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Security issues \[members-only posting\]" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jun 2016 19:15:27 -0000 On Fri, Jun 03, 2016 at 02:34:18PM -0400, Lowell Gilbert wrote: > Slawa Olhovchenkov writes: > > > Default install with local_unbound and ntpd can't be functional with > > incorrect date/time in BIOS: > > > > Unbound requred correct time for DNSSEC check and refuseing queries > > ("Jul 1 20:17:29 yellowrat unbound: [3444:0] info: failed to prime > > trust anchor -- DNSKEY rrset is not secure . DNSKEY IN") > > > > ntpd don't have any numeric IP of ntp servers in ntp.conf -- only > > symbolic names like 0.freebsd.pool.ntp.org, as result -- can't > > resolve (see above, about DNSKEY). > > I can't see how this would happen. DNSSEC doesn't seem to be required in > a regular install as far as I can see. Certainly I don't have any I don't know reasson for enforcing DNSSEC in regular install. I am just select `local_unbound` at setup time and enter `127.0.0.1` as nameserver address. > problem on any of my systems, and I've never configured an anchor on the > internal systems. > > > IMHO, ntp.conf need to include some numeric IP of public ntp servers. > > Ouch; that's a terrible idea, for several different reasons. What else?