Currently, all messages sent via RemoteTerminal are using the companion's clock as source for the packet timestamp.
In Liam's Android App it is possible to use the client clock instead - aka Android device clock, to be found in experimental radio settings.
=> would be great if RemoteTerminal would offer the same as an option because in many cases the system clock of the device running RemoteTerminal usually can be trusted more because it's ntp-synced - opposed to the companion which - as in my case - may have no rtc nor gps at all.
Additionally this will protect from clock poisoning via received packets having bad timestamps because Meshcore companion firmware may automatically sync companion's clock based on incoming packet timestamps and currently there is no way to disable that feature.
Edit: not sure anymore if all of this is true.... what appeared to be poisoned packets changing companion clock turned out to be an issue on the sender-with-wrong-clock's side....
Currently, all messages sent via RemoteTerminal are using the companion's clock as source for the packet timestamp.
In Liam's Android App it is possible to use the client clock instead - aka Android device clock, to be found in experimental radio settings.
=> would be great if RemoteTerminal would offer the same as an option because in many cases the system clock of the device running RemoteTerminal usually can be trusted more because it's ntp-synced - opposed to the companion which - as in my case - may have no rtc nor gps at all.
Additionally this will protect from clock poisoning via received packets having bad timestamps because Meshcore companion firmware may automatically sync companion's clock based on incoming packet timestamps and currently there is no way to disable that feature.
Edit: not sure anymore if all of this is true.... what appeared to be poisoned packets changing companion clock turned out to be an issue on the sender-with-wrong-clock's side....
<!-- github-sync-id:4361053675 -->
We always use the host clock for outbound message timestamping 🙂 We don't expose it as an option as we always assume that host time is WAY more reliable than a little dinky RTC that can't even go backwards haha.
We always use the host clock for outbound message timestamping 🙂 We don't expose it as an option as we always assume that host time is WAY more reliable than a little dinky RTC that can't even go backwards haha.
<!-- github-comment-id:4357324920 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Currently, all messages sent via RemoteTerminal are using the companion's clock as source for the packet timestamp.
In Liam's Android App it is possible to use the client clock instead - aka Android device clock, to be found in experimental radio settings.
=> would be great if RemoteTerminal would offer the same as an option because in many cases the system clock of the device running RemoteTerminal usually can be trusted more because it's ntp-synced - opposed to the companion which - as in my case - may have no rtc nor gps at all.
Additionally this will protect from clock poisoning via received packets having bad timestamps because Meshcore companion firmware may automatically sync companion's clock based on incoming packet timestamps and currently there is no way to disable that feature.
Edit: not sure anymore if all of this is true.... what appeared to be poisoned packets changing companion clock turned out to be an issue on the sender-with-wrong-clock's side....
We always use the host clock for outbound message timestamping 🙂 We don't expose it as an option as we always assume that host time is WAY more reliable than a little dinky RTC that can't even go backwards haha.
Ok, great! That's my preferred option. Thanks for clarifying.