Bug 268926 - net/ptpd2: issue 95: insufficient key buffer length causes ntpengine:control_enabled to fail due to permission denied
Summary: net/ptpd2: issue 95: insufficient key buffer length causes ntpengine:control_...
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Steven Kreuzer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-13 10:05 UTC by t_uemura
Modified: 2023-01-13 13:26 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (skreuzer)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description t_uemura 2023-01-13 10:05:09 UTC
There is an off-by-one bug in ntpengine which causes the ptpd to fail to co-operate with ntpd, as MD5 symmetric key authentication is always denied by ntpd.

See the upstream issue which I've added earlier for a fix.
WWW: https://github.com/ptpd/ptpd/issues/95