Page MenuHomeFreeBSD

Update the NTP section of the handbook.
ClosedPublic

Authored by ian on Sep 14 2019, 5:34 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 20 2023, 6:25 AM
Unknown Object (File)
Nov 9 2023, 3:14 PM
Unknown Object (File)
Nov 8 2023, 10:40 AM
Unknown Object (File)
Nov 5 2023, 7:26 AM
Unknown Object (File)
Oct 8 2023, 2:07 PM
Unknown Object (File)
Oct 7 2023, 9:35 AM
Unknown Object (File)
Oct 4 2023, 7:22 AM
Unknown Object (File)
Sep 14 2023, 3:55 PM
Subscribers

Details

Summary

Ntpd has evolved considerably in recent years and the handbook has fallen out of date. Notable updates include...

  • The sample ntp.conf file in the handbook was a bad example that, if used, would expose the user to potential network attacks or exploits by allowing full query and control access to ntpd. The sample config now contains the restrict options that are considered current best practices for a public-facing ntpd daemon. The config would actually work (and be safe) even if a user just blindly cut and pastes it.
  • The new(-ish) ntp.conf 'pool' keyword is featured prominently in the sample, and the existence of the FreeBSD project-sponsored pool is documented.
  • Separate subsections now exist for ntp.conf and the rc.conf variables that affect how ntpd runs. The existence and effect of the un-obvious ntpd_oomprotect rc variable is mentioned.
  • A new subsection describes running ntpd as the unpriveleged ntpd user. It details how certain configurations can prevent the rc.d script from automatically running ntpd unpriveleged, and describes how to manually configure unpriveleged operation in those cases.
  • It now mentions the fact that firewalls need to be configured to pass udp packets on port 123 for ntpd to operate.
Test Plan

It builds. :)

People who aren't keen to read DocBook diffs, can view a pre-rendered html version of the changes.

Diff Detail

Repository
rD FreeBSD doc repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

allanjude added a subscriber: allanjude.

Approved By: allanjude

This revision is now accepted and ready to land.Sep 14 2019, 5:49 PM
This revision was automatically updated to reflect the committed changes.