Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FritzBox Router sends wrong ntp packet #145

Open
RrPt opened this issue Feb 18, 2022 · 0 comments
Open

FritzBox Router sends wrong ntp packet #145

RrPt opened this issue Feb 18, 2022 · 0 comments

Comments

@RrPt
Copy link

RrPt commented Feb 18, 2022

Hello,

my FritzBox 7590 seems to send wrong ntp data when used as ntp server.
It sends stratum = 0 and reftsSec=0
Since this two values aren#t needed to calculate time there is a workaround

change line 494 of ezTime.cpp from
if ((buffer[1] < 1) or (buffer[1] > 15) or (reftsSec == 0) or (rcvtsSec == 0) or (rcvtsSec > secsSince1900)) {
to
if ( (rcvtsSec == 0) or (rcvtsSec > secsSince1900)) {

and it is running.

maybe in a next version this checks are optional

Rainer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant