History log of /freebsd/usr.sbin/ntp/config.h (Results 1 – 25 of 114)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 018a4ab7 27-May-2024 Cy Schubert <cy@FreeBSD.org>

ntp: Update version strings

Reported by: "Herbert J. Skuhra" <herbert@gojira.at>
MFC after: 3 days
Fixes: f5f40dd63bc7


# f5f40dd6 27-May-2024 Cy Schubert <cy@FreeBSD.org>

ntp: Vendor import of ntp-4.2.8p18

MFC: 3 days

Merge commit '1f833b3fc9968c3dd7ed79ccf0525ebf16c891ad' into main


Revision tags: release/13.3.0, release/14.0.0
# 2a63c3be 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line .c comment pattern

Remove /^/[*/]\s*\$FreeBSD\$.*\n/


# e6bfd18d 06-Jun-2023 Cy Schubert <cy@FreeBSD.org>

ntp: import ntp-4.2.8p17

Fixes two small bugs including one regression.

MFC after: 3 days

Merge commit 'ab1f1aa8333369a83ff284848fc3fc2e52d5f29f'


# 4d780613 01-Jun-2023 Cy Schubert <cy@FreeBSD.org>

ntp: Update version string

Chase a466cc55373f, updating the version string in the local config.h.

Reported by: Trond Endrestol <Trond.Endrestol@ximalas.info>
Fixes: a466cc55373f
MFC after: immedi

ntp: Update version string

Chase a466cc55373f, updating the version string in the local config.h.

Reported by: Trond Endrestol <Trond.Endrestol@ximalas.info>
Fixes: a466cc55373f
MFC after: immediately

show more ...


Revision tags: release/13.2.0, release/12.4.0
# b6689752 17-Oct-2022 Ed Maste <emaste@FreeBSD.org>

ntp: retire now-unused MIPS cases


Revision tags: release/13.1.0, release/12.3.0, release/13.0.0, release/12.2.0
# ab203237 23-Sep-2020 Brandon Bergren <bdragon@FreeBSD.org>

[PowerPC] Fix multiple ntp configuration issues

* powerpc time_t is 64 bit, not 32 bit.

* Add definition for powerpc64le.

With this, powerpc64le ntpd and ntpdate operate correctly instead of
corru

[PowerPC] Fix multiple ntp configuration issues

* powerpc time_t is 64 bit, not 32 bit.

* Add definition for powerpc64le.

With this, powerpc64le ntpd and ntpdate operate correctly instead of
corrupting the clock and exiting.

Tested on powerpc64, powerpc64le, and powerpc.

No feedback from cy@.

I am a bit confused as to how SIZEOF_TIME_T being wrong ever worked on
powerpc, it being big endian and all.

Sponsored by: Tag1 Consulting, Inc.
Differential Revision: https://reviews.freebsd.org/D26379

show more ...


# 767173ce 24-Jun-2020 Cy Schubert <cy@FreeBSD.org>

MFV r362565:

Update 4.2.8p14 --> 4.2.8p15

Summary: Systems that use a CMAC algorithm in ntp.keys will not release
a bit of memory on each packet that uses a CMAC keyid, eventually causing
ntpd to r

MFV r362565:

Update 4.2.8p14 --> 4.2.8p15

Summary: Systems that use a CMAC algorithm in ntp.keys will not release
a bit of memory on each packet that uses a CMAC keyid, eventually causing
ntpd to run out of memory and fail. The CMAC cleanup from
https://bugs.ntp.org/3447, part of ntp-4.2.8p11, introduced a bug whereby
the CMAC data structure was no longer completely removed.

MFC after: 3 days
Security: NTP Bug 3661

show more ...


Revision tags: release/11.4.0
# b3234557 18-Mar-2020 Cy Schubert <cy@FreeBSD.org>

PACKAGE_STRING should be the same as PACKAGE_VERSION.

MFC after: 3 days


# e43d33d2 05-Mar-2020 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r358466 through r358677.


# 2d4e511c 04-Mar-2020 Cy Schubert <cy@FreeBSD.org>

MFV r358616:

Update ntp-4.2.8p13 --> 4.2.8p14.

The advisory can be found at:
http://support.ntp.org/bin/view/Main/SecurityNotice#\
March_2020_ntp_4_2_8p14_NTP_Rele

No CVEs have been documented yet

MFV r358616:

Update ntp-4.2.8p13 --> 4.2.8p14.

The advisory can be found at:
http://support.ntp.org/bin/view/Main/SecurityNotice#\
March_2020_ntp_4_2_8p14_NTP_Rele

No CVEs have been documented yet.

MFC after: now
Security: http://support.ntp.org/bin/view/Main/NtpBug3610
http://support.ntp.org/bin/view/Main/NtpBug3596
http://support.ntp.org/bin/view/Main/NtpBug3592

show more ...


# 44e86fbd 13-Feb-2020 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r357662 through r357854.


# 5b2df92a 10-Feb-2020 Warner Losh <imp@FreeBSD.org>

Use __riscv instead of __riscv__

I misread arch(7) when I added this...

Noticed by: jhb@ and mhorne@


# 66667878 10-Feb-2020 Warner Losh <imp@FreeBSD.org>

Refresh architecture list with latest:

Remove: sparc, sparc64 (twice), ia64, alpha
Add: riscv64

Remove now-useless sparc64 ifdef

Reivewed by: cy@, bcr@
Differential Revision: https://reviews.freeb

Refresh architecture list with latest:

Remove: sparc, sparc64 (twice), ia64, alpha
Add: riscv64

Remove now-useless sparc64 ifdef

Reivewed by: cy@, bcr@
Differential Revision: https://reviews.freebsd.org/D23593

show more ...


# 964c4a37 21-Nov-2019 Cy Schubert <cy@FreeBSD.org>

Chase r344883. ntp is 4.2.8p13.

MFC after: 3 days


Revision tags: release/12.1.0
# 61c1328e 13-Sep-2019 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r352105 through r352307.


# 854cab51 13-Sep-2019 Cy Schubert <cy@FreeBSD.org>

No longer mlock() ntpd pages by default in memory thus allowing its
pages to page as necessary.

To restore historic BSD behaviour add the following to ntp.conf:
rlimit memlock 32

Discussed on: fre

No longer mlock() ntpd pages by default in memory thus allowing its
pages to page as necessary.

To restore historic BSD behaviour add the following to ntp.conf:
rlimit memlock 32

Discussed on: freebsd-current@ between Sept 6-9, 2019
Reported by: Users using ASLR with stack gap != 0
Reviewed by: ian, kib, rgrimes (all previous versions)
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D21581

show more ...


Revision tags: release/11.3.0, release/12.0.0
# 7847e041 24-Aug-2018 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r338026 through r338297, and resolve conflicts.


# 4e1ef62a 21-Aug-2018 Xin LI <delphij@FreeBSD.org>

MFV r338092: ntp 4.2.8p12.

Relnotes: yes


# 3496c981 20-Jul-2018 Ian Lepore <ian@FreeBSD.org>

Make it possible to run ntpd as a non-root user, add ntpd uid and gid.

Code analysis and runtime analysis using truss(8) indicate that the only
privileged operations performed by ntpd are adjusting

Make it possible to run ntpd as a non-root user, add ntpd uid and gid.

Code analysis and runtime analysis using truss(8) indicate that the only
privileged operations performed by ntpd are adjusting system time, and
(re-)binding to privileged UDP port 123. These changes add a new mac(4)
policy module, mac_ntpd(4), which grants just those privileges to any
process running with uid 123.

This also adds a new user and group, ntpd:ntpd, (uid:gid 123:123), and makes
them the owner of the /var/db/ntp directory, so that it can be used as a
location where the non-privileged daemon can write files such as the
driftfile, and any optional logfile or stats files.

Because there are so many ways to configure ntpd, the question of how to
configure it to run without root privs can be a bit complex, so that will be
addressed in a separate commit. These changes are just what's required to
grant the limited subset of privs to ntpd, and the small change to ntpd to
prevent it from exiting with an error if running as non-root.

Differential Revision: https://reviews.freebsd.org/D16281

show more ...


Revision tags: release/11.2.0
# 09100258 28-Feb-2018 Xin LI <delphij@FreeBSD.org>

MFV r330102: ntp 4.2.8p11


Revision tags: release/10.4.0, release/11.1.0
# f0574f5c 23-Mar-2017 Xin LI <delphij@FreeBSD.org>

MFV r315791: ntp 4.2.8p10.


# 6a1588c0 09-Mar-2017 Cy Schubert <cy@FreeBSD.org>

Configure leap-second smearing (always).

Leap-second smearing is an experimental option that may be specified in
ntp.conf(5) and the -x option on the command line to spread the effect
of a leap-seco

Configure leap-second smearing (always).

Leap-second smearing is an experimental option that may be specified in
ntp.conf(5) and the -x option on the command line to spread the effect
of a leap-second over an interval as specified by the leapsmearinterval
config file statement. Recommended values are between 7200 (2 hours) and
86400 (24 hours).

It is advised that leap-second smearing not be used for public NTP
servers (https://www.meinbergglobal.com/download/burnicki/Leap\
%20Second%20Smearing%20With%20NTP.pdf). It is also advised that NTP
clients not use a mix of NTP servers using leap-second smearing with
NTP servers not using leap-second smearing as that could cause
undefined client behaviour.

Leap-second smearing was committed to ports net/ntp and net/ntp-devel
by r426825 on 2016-11-22.

Suggested by: des
MFC after: 4 weeks

show more ...


# 0ed76ec8 24-Nov-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r308870 through r309105.


# f391d6bc 22-Nov-2016 Xin LI <delphij@FreeBSD.org>

MFV r308954:

ntp 4.2.8p9.

Approved by: so


12345