Network Time Synchronization

A reasonably accurate host clock is required for many general security properties. An inaccurate clock can lead to broken internet connectivity and time related security issues.
Contents
Introduction
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.kicksecure.com/wiki/Network_Time_Synchronization?direction=next&oldid=80386#Introduction
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[Network_Time_Synchronization#Introduction|Introduction]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[Introduction](https://www.kicksecure.com/wiki/Network_Time_Synchronization?direction=next&oldid=80386#Introduction)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[Introduction](https://www.kicksecure.com/wiki/Network_Time_Synchronization?direction=next&oldid=80386#Introduction)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.kicksecure.com/wiki/Network_Time_Synchronization?direction=next&oldid=80386#Introduction]Introduction[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
It is recommended to have a host clock with accuracy of up to ± 30 minutes. Clocks that are days, weeks, months or even years slow or fast can lead to many issues such as connectivity problems with Tor, inability to download operating system upgrades. [1]
Follow the platform-specific recommendations below to avoid Tor connectivity problems and to limit possible adverse security impacts.
All Platforms
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.kicksecure.com/wiki/Network_Time_Synchronization?direction=next&oldid=80386#All_Platforms
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[Network_Time_Synchronization#All_Platforms|All Platforms]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[All Platforms](https://www.kicksecure.com/wiki/Network_Time_Synchronization?direction=next&oldid=80386#All_Platforms)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[All Platforms](https://www.kicksecure.com/wiki/Network_Time_Synchronization?direction=next&oldid=80386#All_Platforms)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.kicksecure.com/wiki/Network_Time_Synchronization?direction=next&oldid=80386#All_Platforms]All Platforms[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
If the host clock is more than 1 hour in the past or more than 3 hours in the future, Tor cannot connect. In this case, manually fix the host clock by right-clicking on it, and also check for an empty battery.
- If using Kicksecure as a host operating system: Reboot. (Easiest.)
- If using a VM: Then, power off and power on Kicksecure and Tor should be able to reconnect.
- Due to Block Networking until sdwdate Finishes if Tor failed or took too long to connect, then you need to fix Tor connection first and then restart your sdwdate
sudo systemctl restart sdwdate
in your VM/Qube.
Easy instructions
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.kicksecure.com/wiki/Network_Time_Synchronization?direction=next&oldid=80386#Easy_instructions
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[Network_Time_Synchronization#Easy_instructions|Easy instructions]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[Easy instructions](https://www.kicksecure.com/wiki/Network_Time_Synchronization?direction=next&oldid=80386#Easy_instructions)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[Easy instructions](https://www.kicksecure.com/wiki/Network_Time_Synchronization?direction=next&oldid=80386#Easy_instructions)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.kicksecure.com/wiki/Network_Time_Synchronization?direction=next&oldid=80386#Easy_instructions]Easy instructions[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
Kicksecure in VMs or as a host operating system: It is strongly discouraged to use the pause / suspend / save / hibernate features.
Kicksecure for Qubes VMs: It is strongly discouraged to use the pause feature of Qube Manager, but it is is safe to use the suspend or hibernate feature of dom0.
Advanced instructions
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.kicksecure.com/wiki/Network_Time_Synchronization?direction=next&oldid=80386#Advanced_instructions
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[Network_Time_Synchronization#Advanced_instructions|Advanced instructions]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[Advanced instructions](https://www.kicksecure.com/wiki/Network_Time_Synchronization?direction=next&oldid=80386#Advanced_instructions)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[Advanced instructions](https://www.kicksecure.com/wiki/Network_Time_Synchronization?direction=next&oldid=80386#Advanced_instructions)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.kicksecure.com/wiki/Network_Time_Synchronization?direction=next&oldid=80386#Advanced_instructions]Advanced instructions[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
If you are interested in using the pause / suspend / save / hibernate features, please click the expand button for further instructions.
Kicksecure as a host operating system or VM:
- It is strongly discouraged to pause / suspend / save / hibernate Kicksecure. If this advice is ignored, restart sdwdate after resume. [2]
Kicksecure-Qubes:
- VM: It is strongly discouraged to pause Kicksecure VMs using the pause feature of Qube Manager. If this advice is ignored, restart sdwdate after resume. [3]
- dom0 suspend / hibernate: It is safe to use the suspend or hibernate feature of dom0 and a manual restart of sdwdate is unnecessary. [4]
Restart sdwdate
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.kicksecure.com/wiki/Network_Time_Synchronization?direction=next&oldid=80386#Restart_sdwdate
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[Network_Time_Synchronization#Restart_sdwdate|Restart sdwdate]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[Restart sdwdate](https://www.kicksecure.com/wiki/Network_Time_Synchronization?direction=next&oldid=80386#Restart_sdwdate)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[Restart sdwdate](https://www.kicksecure.com/wiki/Network_Time_Synchronization?direction=next&oldid=80386#Restart_sdwdate)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.kicksecure.com/wiki/Network_Time_Synchronization?direction=next&oldid=80386#Restart_sdwdate]Restart sdwdate[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
To restart sdwdate
.
Start Menu
→ Applications
→ System
→ Time Synchronization Monitor (sdwdate-gui)
→ restart sdwdate
Or in a terminal. [5]
Click = Copy Copied to clipboard! sudo /usr/lib/sdwdate/restart_fresh
Manually Set Clock Time and Date
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.kicksecure.com/wiki/Network_Time_Synchronization?direction=next&oldid=80386#Manually_Set_Clock_Time_and_Date
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[Network_Time_Synchronization#Manually_Set_Clock_Time_and_Date|Manually Set Clock Time and Date]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[Manually Set Clock Time and Date](https://www.kicksecure.com/wiki/Network_Time_Synchronization?direction=next&oldid=80386#Manually_Set_Clock_Time_and_Date)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[Manually Set Clock Time and Date](https://www.kicksecure.com/wiki/Network_Time_Synchronization?direction=next&oldid=80386#Manually_Set_Clock_Time_and_Date)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.kicksecure.com/wiki/Network_Time_Synchronization?direction=next&oldid=80386#Manually_Set_Clock_Time_and_Date]Manually Set Clock Time and Date[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
Usually not required.
In case sdwdate fails to properly randomize the system clock, it is possible to manually set a random value.
The first step should be completed on the host to ensure the host clock is set to the correct time.
1. On the host (Kicksecure-Qubes: dom0
), run the following command to report the time in UTC.
Click = Copy Copied to clipboard! date -u
The output should be similar to the following. [6]
Click = Copy Copied to clipboard! Apr 24 21:15:44 UTC 2025
2. Set the correct time in Kicksecure.
Run the following command with the correct date and time parameters. [7] [8]
clock-random-manual-gui
: a randomized clock setting (in UTC) is entered via a GUI.clock-random-manual-cli
: a randomized clock setting (in UTC) is entered on the command line. For example [9]:
Click = Copy Copied to clipboard! echo "Apr 24 21:15:44 UTC 2025" | sudo clock-random-manual-cli
3. Restart sdwdate.
Click = Copy Copied to clipboard! sudo service sdwdate restart
4. If Tor is still not functional, try restarting Tor.
Click = Copy Copied to clipboard! sudo service tor restart
Tor should work once correct clock values are set, but that can be manually tested with systemcheck.
Block Networking until sdwdate Finishes
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.kicksecure.com/wiki/Network_Time_Synchronization?direction=next&oldid=80386#Block_Networking_until_sdwdate_Finishes
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[Network_Time_Synchronization#Block_Networking_until_sdwdate_Finishes|Block Networking until sdwdate Finishes]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[Block Networking until sdwdate Finishes](https://www.kicksecure.com/wiki/Network_Time_Synchronization?direction=next&oldid=80386#Block_Networking_until_sdwdate_Finishes)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[Block Networking until sdwdate Finishes](https://www.kicksecure.com/wiki/Network_Time_Synchronization?direction=next&oldid=80386#Block_Networking_until_sdwdate_Finishes)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.kicksecure.com/wiki/Network_Time_Synchronization?direction=next&oldid=80386#Block_Networking_until_sdwdate_Finishes]Block Networking until sdwdate Finishes[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
sdwdate is a Tor-friendly replacement for rdate and ntpdate that sets the system's clock by communicating via end-to-end encrypted TCP with Tor onion webservers. Since timekeeping is crucial for security, blocking network access until sdwdate succeeds is sensible. [10]
Note: When using this feature, there will be no internet connectivity until sdwdate succeeded which could take approximately 2 minutes.
How to enable this feature? Unsupported. This feature is has not been implemented yet for Kicksecure. Developers are welcome to contribute to Kicksecure.
Summary
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.kicksecure.com/wiki/Network_Time_Synchronization?direction=next&oldid=80386#Summary
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[Network_Time_Synchronization#Summary|Summary]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[Summary](https://www.kicksecure.com/wiki/Network_Time_Synchronization?direction=next&oldid=80386#Summary)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[Summary](https://www.kicksecure.com/wiki/Network_Time_Synchronization?direction=next&oldid=80386#Summary)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.kicksecure.com/wiki/Network_Time_Synchronization?direction=next&oldid=80386#Summary]Summary[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
Table: Network Time Synchonization Summary
Platform | Recommendations |
---|---|
All Platforms |
|
Kicksecure |
|
Kicksecure-Qubes |
|
Appendix
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.kicksecure.com/wiki/Network_Time_Synchronization?direction=next&oldid=80386#Appendix
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[Network_Time_Synchronization#Appendix|Appendix]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[Appendix](https://www.kicksecure.com/wiki/Network_Time_Synchronization?direction=next&oldid=80386#Appendix)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[Appendix](https://www.kicksecure.com/wiki/Network_Time_Synchronization?direction=next&oldid=80386#Appendix)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.kicksecure.com/wiki/Network_Time_Synchronization?direction=next&oldid=80386#Appendix]Appendix[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
Deactivate Automatic TimeSync
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.kicksecure.com/wiki/Network_Time_Synchronization?direction=next&oldid=80386#Deactivate_Automatic_TimeSync
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[Network_Time_Synchronization#Deactivate_Automatic_TimeSync|Deactivate Automatic TimeSync]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[Deactivate Automatic TimeSync](https://www.kicksecure.com/wiki/Network_Time_Synchronization?direction=next&oldid=80386#Deactivate_Automatic_TimeSync)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[Deactivate Automatic TimeSync](https://www.kicksecure.com/wiki/Network_Time_Synchronization?direction=next&oldid=80386#Deactivate_Automatic_TimeSync)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.kicksecure.com/wiki/Network_Time_Synchronization?direction=next&oldid=80386#Deactivate_Automatic_TimeSync]Deactivate Automatic TimeSync[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
Warning: This action is recommended against and is usually not required. In all cases, first check with the Kicksecure developers.
To deactivate sdwdate, run.
Click = Copy Copied to clipboard! sudo service sdwdate stop
Click = Copy Copied to clipboard! sudo systemctl mask sdwdate
Related
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.kicksecure.com/wiki/Network_Time_Synchronization?direction=next&oldid=80386#Related
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[Network_Time_Synchronization#Related|Related]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[Related](https://www.kicksecure.com/wiki/Network_Time_Synchronization?direction=next&oldid=80386#Related)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[Related](https://www.kicksecure.com/wiki/Network_Time_Synchronization?direction=next&oldid=80386#Related)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.kicksecure.com/wiki/Network_Time_Synchronization?direction=next&oldid=80386#Related]Related[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
Footnotes
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.kicksecure.com/wiki/Network_Time_Synchronization?direction=next&oldid=80386#Footnotes
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[Network_Time_Synchronization#Footnotes|Footnotes]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[Footnotes](https://www.kicksecure.com/wiki/Network_Time_Synchronization?direction=next&oldid=80386#Footnotes)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[Footnotes](https://www.kicksecure.com/wiki/Network_Time_Synchronization?direction=next&oldid=80386#Footnotes)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.kicksecure.com/wiki/Network_Time_Synchronization?direction=next&oldid=80386#Footnotes]Footnotes[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
- ↑ Due to invalid (not yet or no longer valid) TLS certificates.
- ↑
Similarly, if users suspend or save the Kicksecure state, the clock will again lag behind the correct value. This can be manually fixed by running:
Start Menu
→Applications
→System
→Time Synchronization Monitor (sdwdate-gui)
→restart sdwdate
. - ↑
Qubes does not dispatch the
/etc/qubes/suspend-post.d
//etc/qubes/suspend-pre.d
hooks upon pause / resume using Qube Manager. - ↑
https://github.com/QubesOS/qubes-issues/issues/1764
- ↑ Simplified in next upgrade. Click = Copy Copied to clipboard! sudo sdwdate-clock-jump
- ↑ Click = Copy Copied to clipboard! Mon Apr 22 04:30:44 UTC 2019
- ↑
A non-zero exit codes signifies an error, while
0
means it succeeded. - ↑ Also see: Click = Copy Copied to clipboard! man clock-random-manual-gui Click = Copy Copied to clipboard! man clock-random-manual-cli
- ↑ Click = Copy Copied to clipboard! echo "Sat Oct 26 07:18:25 UTC 2019" | /usr/bin/clock-random-manual-cli
- ↑
https://forums.whonix.org/t/blocking-networking-until-sdwdate-finished/5372


Copy as Wikitext

for Discourse, reddit, GitHub

Copy as Markdown

Copy as phpBB Click below ↴ = Open social URL with share data











We believe security software like Kicksecure needs to remain Open Source and independent. Would you help sustain and grow the project? Learn more about our 13 year success story and maybe DONATE!