r18 - 2014-07-22 - 09:53:06 - HarlanStennYou are here: NTP >  Support Web > InstallingNTP
NTP users are strongly urged to take immediate action to ensure that their NTP daemons are not susceptible to use in a distributed denial-of-service (DDoS) attack. Please also take this opportunity to defeat denial-of-service attacks by implementing ingress and Egress filtering through BCP38.

A new set of mode 6 vulnerabilities has been discovered and, while these vulnerabilities can be reduced by making sure you have restrict default noquery in your ntp.conf file, the best and most complete way to avoid these vulnerabilities is to install and deploy ntp-4.2.8 which was released on 18 December 2014.

Please see the NTP Security Notice for vulnerability and mitigation details.

NTF needs your help to qualify to participate in the Combined Federal Campaign so we can continue our mission to improve Network Time. We only need a few thousand dollars more by December 31st - any sized donation helps! Please join an NTF Consortium or make a donation to NTF now! THANKS!
REFACTOR See InstallingNTPDev for discussion of this topic.

4. Installing NTP

NTP may be installed from the original source code, released by the NTP Project at the University of Delaware, or through pre-packaged or pre-compiled versions which may be available from your Operating System vendor/aggregator/distributor.

HELP The instructions shown below for specific operating systems are presented as a courtesy and may not be up to date. These instructions presume that you have properly configured that operating systems package management infrastructure. Users are advised to consult their their operating system documentation for current installation instructions.

4.1. The NTP Project Reference Implementation Distribution

Users attempting to install NTP from source code should have some experience compiling software on UNIX or a Unix-like operating system.

The following software is used when installing NTP source code:

  • A C compiler
  • make (note that on some platforms, building outside of the main source directory requires GNU make.)
  • tar
  • gunzip
  • libcap (note: needed for linux only if you wish to enable linux capabilities to drop root privileges and chroot ntpd)

4.1.1.

  1. Download and unpack a tarball from SoftwareDownloads or The NTP Project Download Page
  2. Read and follow the directions in the INSTALL file
  3. See ConfiguringNTP for information about how to configure NTP
  4. Add the init scripts, etc., to make NTP start at boot time

4.2. Debian GNU/Linux

4.2.1. NTP Pool Client

  1. apt-get install ntp

4.2.2. Custom Configuration

  1. apt-get install ntp
  2. Edit /etc/ntp.conf (see ConfiguringNTP)
  3. Create any required symlinks for your ref-clock if you are using one
  4. Restart ntpd with /etc/init.d/ntp-server restart

4.3. FreeBSD

  1. cd /usr/ports/net/ntp
  2. make install clean
  3. Edit /etc/ntp.conf (see ConfiguringNTP)
  4. Edit /etc/rc.conf
  5. Create any required symlinks for your ref-clock (if you are using one)
  6. Start ntpd with /etc/rc.d/ntpd start

4.4. NetBSD

  1. ...

4.5. OpenBSD

  1. ...

4.6. Microsoft Windows

  1. Instructions for installing on Windows
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r18 < r17 < r16 < r15 < r14 | More topic actions
 
SSL security by CAcert
Get the CAcert Root Certificate
This site is powered by the TWiki collaboration platform
IPv6 Ready
Copyright & 1999-2014 by the contributing authors. All material on this collaboration platform is the property of the contributing authors. Ideas, requests, problems regarding the site? Send feedback