Deleted Added
full compact
2c2
< # $FreeBSD: stable/10/etc/ntp.conf 239464 2012-08-20 18:45:16Z delphij $
---
> # $FreeBSD: stable/10/etc/ntp.conf 259974 2013-12-27 23:09:40Z delphij $
20c20
< # The option `iburst' is used for faster initial synchronisation.
---
> # The option `iburst' is used for faster initial synchronization.
38,40c38
< # Security: Only accept NTP traffic from the following hosts.
< # The following configuration example only accepts traffic from the
< # above defined servers.
---
> # Security:
41a40,57
> # By default, only allow time queries and block all other requests
> # from unauthenticated clients.
> #
> # See http://support.ntp.org/bin/view/Support/AccessRestrictions
> # for more information.
> #
> restrict default kod nomodify notrap nopeer noquery
> restrict -6 default kod nomodify notrap nopeer noquery
> #
> # Alternatively, the following rules would block all unauthorized access.
> #
> #restrict default ignore
> #restrict -6 default ignore
> #
> # In this case, all remote NTP time servers also need to be explicitly
> # allowed or they would not be able to exchange time information with
> # this server.
> #
44d59
< # (This is the reason that by default they are commented out)
46d60
< #restrict default ignore
50,52c64,68
< #restrict 127.0.0.1
< #restrict -6 ::1
< #restrict 127.127.1.0
---
> #
> # The following settings allow unrestricted access from the localhost
> restrict 127.0.0.1
> restrict -6 ::1
> restrict 127.127.1.0