On 11/10/2022 7:19 AM, Miroslav Lichvar wrote:
Add a second servo that provides samples to other processes in order to
control the clock. The chrony SOCK refclock uses a Unix domain socket
instead of a shared memory segment.
The main advantage over the NTP SHM refclock is better security as t
Replace the shm_segment number with a more general refclock_id and shift
by first_shm_index only in the SHM-specific context to allow other types
of refclocks to be used.
Signed-off-by: Miroslav Lichvar
---
timemaster.c | 48 +++-
1 file changed, 27 in
This patchset fixes a bug in man page, adds a new servo for the chrony
SOCK refclock protocol as a more secure alternative to the NTP SHM
(the commit message describes the issue), and updates timemaster to
use it.
Miroslav Lichvar (4):
Remove obsolete statement in ptp4l man page.
Add sock serv
Add a second servo that provides samples to other processes in order to
control the clock. The chrony SOCK refclock uses a Unix domain socket
instead of a shared memory segment.
The main advantage over the NTP SHM refclock is better security as the
socket can be located in a directory with restric
The NTP SHM number is no longer the PTP domain number. It was made
configurable and the default value is 0.
Fixes: 3760f8b6537e ("Add option to set NTP SHM segment number.")
Signed-off-by: Miroslav Lichvar
---
ptp4l.8 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ptp4l.
If chronyd is selected as the NTP program, use the SOCK refclock instead
of SHM to improve security and reduce delay in receiving of samples.
Signed-off-by: Miroslav Lichvar
---
timemaster.8 | 10 -
timemaster.c | 57 +++-
2 files changed,