From owner-freebsd-bugs@freebsd.org Fri Feb 26 04:26:41 2016 Return-Path: Delivered-To: freebsd-bugs@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 4CB05AB47A8 for ; Fri, 26 Feb 2016 04:26:41 +0000 (UTC) (envelope-from johnandsara2@cox.net) Received: from eastrmfepo203.cox.net (eastrmfepo203.cox.net [68.230.241.218]) by mx1.freebsd.org (Postfix) with ESMTP id F36FC106D for ; Fri, 26 Feb 2016 04:26:40 +0000 (UTC) (envelope-from johnandsara2@cox.net) Received: from eastrmimpo109.cox.net ([68.230.241.222]) by eastrmfepo202.cox.net (InterMail vM.8.01.05.15 201-2260-151-145-20131218) with ESMTP id <20160226035244.YTUT21150.eastrmfepo202.cox.net@eastrmimpo109.cox.net> for ; Thu, 25 Feb 2016 22:52:44 -0500 Received: from [192.168.3.15] ([72.219.207.23]) by eastrmimpo109.cox.net with cox id Nrsk1s00C0WpXgw01rsk1z; Thu, 25 Feb 2016 22:52:44 -0500 X-CT-Class: Clean X-CT-Score: 0.00 X-CT-RefID: str=0001.0A020203.56CFCC0C.00FA, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CT-Spam: 0 X-Authority-Analysis: v=2.1 cv=LPboQfm9 c=1 sm=1 tr=0 a=mYpcIwsqoufCTD7dyaqayA==:117 a=mYpcIwsqoufCTD7dyaqayA==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=8nJEP1OIZ-IA:10 a=6I5d2MoRAAAA:8 a=pGLkceISAAAA:8 a=fFPRUYLTAAAA:8 a=1fXyhSK5v47TB4shlJYA:9 a=wPNLvfGTeEIA:10 X-CM-Score: 0.00 Authentication-Results: cox.net; none Message-ID: <56CFC751.7030806@cox.net> Date: Thu, 25 Feb 2016 22:32:33 -0500 From: anonymous User-Agent: Thunderbird 2.0.0.24 (X11/20100228) MIME-Version: 1.0 To: bugzilla-noreply@freebsd.org CC: freebsd-bugs@FreeBSD.org Subject: Re: [Bug 202212] ntpd always crash with attached config References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Feb 2016 04:26:41 -0000 bugzilla-noreply@freebsd.org wrote: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202212 > > rozhuk.im@gmail.com changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > Status|New |Closed > Resolution|--- |FIXED > > --- Comment #2 from rozhuk.im@gmail.com --- > 10.3 Beta 1 - OK. > i've compiled and run ntp, also used debian ntp using same setup (after hacking out debain file install changes), so let me explain what works for me... a while back around slackware 7 or so i compiled and used ntpdate ntpd, i enjoyed using it a while but ran into two caveats. my isp signal attacked me shut down all my server ports (ie, 80). also ... i had issues with it: (1) used more bandwidth than i needed for my needs was used rdate is great. also i was aware that if a college were to allow malicous students use the timekeeping device, it could be used to "hack into my server" (2) the colleges that support it are often down or never set clock and are advertising the wrong time - exactly what author begged people not to do (3) still waiting for my expensive radio clock to arrive ! FILE: /etc/ntpdrift 51.728 FILE: /etc/ntp.conf server ntp.college.com server ntp.some.ipaddress driftfile /etc/host/ntp.drift statsdir /var/log/ntpstats/ statistics loopstats peerstats clockstats filegen loopstats file loopstats type day enable filegen peerstats file peerstats type day enable filegen clockstats file clockstats type day enable ## you can use script to decide which servers in your ip list are up which are responding fastest, use the top 3 in the file, as per directions dont list them all list only nearby ones ## note, use ntpdate first to get close or ntpd may not work # ntpdate $(cat /etc/ntp.conf | sed -n -e '/^server/{s/^server //;p;}') # ntpd -c /etc/ntp.conf -f /etc/host/ntp.drift ## try ntpq but remember the docs said not to do certain things as ## they are a nuisance to real timekeeping devices