On Thu, Dec 22, 2022 at 06:36:19PM +0100, Sebastian Andrzej Siewior wrote:
> Replace the hand written BPF code with something that has been created
> by tcpdump based on a filter rule. This has the advantage that it can be
> extended/ modified based text syntax and is safer to extend in regard to
>
On Fri, Jan 27, 2023 at 05:58:24AM -0800, Vadim Fedorenko via Linuxptp-devel
wrote:
> In case of broken network there is a possibility of having management
> packets with proper data but absolute absence of sync packets. In such
> case the selected best master will stuck in HAVE_SYDY state without
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
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.
v3:
- fixed order of new entry in config_tab
- fixed renamed option in man pages
- changed default refclock_sock_address to /var/run/refclock.ptp.sock
v2:
- renamed servo to "refclock_sock"
This patchset fixes a bug in man page, adds a new servo for the chrony
SOCK refclock protocol as a more sec
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 | 58 +++-
2 files changed,
On Mon, Feb 06, 2023 at 04:45:28PM +0100, Miroslav Lichvar wrote:
> v3:
> - fixed order of new entry in config_tab
> - fixed renamed option in man pages
> - changed default refclock_sock_address to /var/run/refclock.ptp.sock
>
> v2:
> - renamed servo to "refclock_sock"
>
> This patchset fixes a b