You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was sniffing with tcpdump on my network, when i found out that the GoodWeLogger is requesting time over NTP every minute.
Proof:
me@EdgeRouterX:~$ sudo tcpdump dst port 123 -i switch0.6
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on switch0.6, link-type EN10MB (Ethernet), capture size 262144 bytes
10:51:40.521114 IP 192.168.6.27.1337 > <redacted-for-privacy-of-server-owners>.ntp: NTPv4, Client, length 48
10:52:40.516794 IP 192.168.6.27.1337 > <redacted-for-privacy-of-server-owners>.ntp: NTPv4, Client, length 48
10:53:40.521509 IP 192.168.6.27.1337 > <redacted-for-privacy-of-server-owners>.ntp: NTPv4, Client, length 48
10:54:40.523239 IP 192.168.6.27.1337 > <redacted-for-privacy-of-server-owners>.ntp: NTPv4, Client, length 48
10:55:40.517112 IP 192.168.6.27.1337 > <redacted-for-privacy-of-server-owners>.ntp: NTPv4, Client, length 48
I know these IoT devices (ESP8266) are prone to timedrift because they have no realtime clock (RTC) but every minute seems like a bit overkill to me. Shouldn't once per hour also be enough?
For now i redirected the NTP-requests with a DNAT rule in my router (EdgerouterX) so that the router answers these queries (it offers NTP) instead of forwarding them to external NTP-servers.
P.S. The NTP-address isn't configurable right now from the Settings.h , maybe change that also when looking into this. It is now hardcoded in GoodWeLogger.inoline 24
The text was updated successfully, but these errors were encountered:
I was sniffing with
tcpdump
on my network, when i found out that the GoodWeLogger is requesting time over NTP every minute.Proof:
I know these IoT devices (ESP8266) are prone to timedrift because they have no realtime clock (RTC) but every minute seems like a bit overkill to me. Shouldn't once per hour also be enough?
For now i redirected the NTP-requests with a DNAT rule in my router (EdgerouterX) so that the router answers these queries (it offers NTP) instead of forwarding them to external NTP-servers.
P.S. The NTP-address isn't configurable right now from the
Settings.h
, maybe change that also when looking into this. It is now hardcoded inGoodWeLogger.ino
line 24The text was updated successfully, but these errors were encountered: