From owner-freebsd-security@FreeBSD.ORG Tue Dec 23 08:37:56 2014 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4814CD20 for ; Tue, 23 Dec 2014 08:37:56 +0000 (UTC) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id 06D1664A80 for ; Tue, 23 Dec 2014 08:37:55 +0000 (UTC) Received: from nine.des.no (smtp.des.no [194.63.250.102]) by smtp-int.des.no (Postfix) with ESMTP id 69A7A9339; Tue, 23 Dec 2014 08:37:49 +0000 (UTC) Received: by nine.des.no (Postfix, from userid 1001) id AA0434A17; Tue, 23 Dec 2014 09:37:40 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Joe Malcolm Subject: Re: ntpd vulnerabilities References: <252350272.1812596.1419241828431.JavaMail.zimbra@cleverbridge.com> <86a92fzmls.fsf@nine.des.no> <21656.46224.764659.252388@neoshoggoth.uraeus.com> Date: Tue, 23 Dec 2014 09:37:40 +0100 In-Reply-To: <21656.46224.764659.252388@neoshoggoth.uraeus.com> (Joe Malcolm's message of "Tue, 23 Dec 2014 00:17:20 +0000") Message-ID: <86sig6yd63.fsf@nine.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-security@freebsd.org, Winfried Neessen , Robert Simmons X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Security issues \[members-only posting\]" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Dec 2014 08:37:56 -0000 Joe Malcolm writes: > I'm no expert on ntp.conf, but this appears in my ntp.conf on one of > my FreeBSD systems: > > restrict default kod nomodify notrap nopeer noquery > restrict -6 default kod nomodify notrap nopeer noquery > > However, it also has these: > > restrict 127.0.0.1 > restrict -6 ::1 > restrict 127.127.1.0 These work on a "last match" basis. The latter three lines lift all restrictions for localhost, so you can still "ntpq -pn" your own server, but nobody else can. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no