Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

OpenNTPD daemon with OpenSSL implementation & flexible configurability

License

NotificationsYou must be signed in to change notification settings

Fincer/openntpd-openssl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenNTPD daemon with OpenSSL implementation & flexible configurability

See alsomy blog post on fjordtek.com.

Added features

  • Implemented OpenSSL support. Either LibreSSL or OpenSSL can be used.

  • Many previously hardcoded values are now configurable via conf file.

  • Implement UDP & TCP port selection for multiple options.

  • Implement custom user agent string support for constraints.

  • Improved log entries interpretation.

  • Updated manual.

Files

FileDescription
1-patch_better-logs.patchProvide human-readable error messages for easier process interpretation
2-patch_ntpctl-sensors-tolowercase.patchSet 'Sensors' to lowercase inntpctl settings
3-patch_unhardcode-ports.patchUnhardcode NTP server, client and constraint UDP & TCP port numbers
4-patch_peercount-init.patchFix C compiler warning about uninitialized variable peercount
5-patch_debugmode-fix.patchFix debug mode not showing output in command line
6-patch_unhardcode-conf.patchUnhardcode majority of configuration settings, update manual
7-patch_implement-openssl.patchImplement OpenSSL support, update manual, update ChangeLog
8-patch_update-conf.patchUpdate default configuration file
9-patch_add-constraint-useragent.patchAdd user agent string support for HTTPS constraints, update ChangeLog
10-patch_peer-constraint-logs.patchImprove constraint & NTP peer log entries; update conf & man
11-patch_fix-constraint-time-overflow-32bit.patchCast constraint median time value to unsigned long. Fixes overflow on 32-bit systems.
12-patch_fix-adjtime.patchAssume system clock is synced when time offset is in specific range limits (quick hotfix).
13-patch_re-enable-inittime.patchRe-enable initial time synchronization setting (-s and -S parameters).

Usage

Applying patches

This method has been tested with the following commits:

RepositoryCommit hash
openntpd-portablecc3292981b83f7d691e96dc5e5a5d30af6f98454
openntpd-openbsd29f2ea917cc83d89d70f86e97013c35565c93ffd

Date:2nd August 2020

git clone https://github.com/openntpd-portable/openntpd-portable openntpdcd openntpd./update.shgit clone https://github.com/Fincer/openntpd-openssl opensslfor p in openssl/patches/*patch; do  patch -Np1 -i ${p}done

And then, use your preferred method to compile OpenNTPD. Seebuild() andpackage() sections of providedopenntpd-git PKGBUILD file for further instructions.

License

SeeOpenNTPD license file andLICENSE.

About

OpenNTPD daemon with OpenSSL implementation & flexible configurability

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp