[Bug 202212] ntpd always crash with attached config

anonymous johnandsara2 at cox.net
Fri Feb 26 04:26:41 UTC 2016


bugzilla-noreply at freebsd.org wrote:
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202212
> 
> rozhuk.im at gmail.com changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>              Status|New                         |Closed
>          Resolution|---                         |FIXED
> 
> --- Comment #2 from rozhuk.im at 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


More information about the freebsd-bugs mailing list