tons of onion may be offline and need to be removed from sdwdate config
after one failure, these should not be removed, it might be a locally caused connectivity issue
we don’t need automatic removal from sdwdate config, just suggestions which are offline for manual remove for the next package upgrade
careful when running this test in Whonix, due to sdwdate and clock randomization our local clock could be too much off in the first place, so using that as basis for comparison would be wrong
therefore sudo service sdwdate stop
change the date to accurate time. syntax:
Non-Qubes-Whonix: sudo date --set "Mon Mar 14 17:48:38 UTC 2016"
Developers only (not good for anonymity), easier for Qubes-Whonix:
Set dom0 clock so it is accurate.
In anon-whonix-dev stop sdwdate so it will not run and change the clock during the onion_tester.
sudo systemctl stop sdwdate
Sync dom0 with anon-whonix-dev clock. (Not perfect but accurate enough.) In dom0:
qvm-run --pass-io anon-whonix-dev "sudo date --set \"$(date --utc)\""
Compare dom0 clock with anon-whonix-dev clock.
date --utc ; qvm-run --pass-io anon-whonix-dev date
If they math, you’re good to run the onion_tester.
I can see that many onions must be either down or intermittently online. Working on sdwdate-gui Qubes (some nice progress there), I am doing tons of sdwdate restarts.
## Remove double quotes from message as they would be interpreted as
## an argument separator in /usr/lib/sdwdate-gui/show_message (called
## by run_popup).
This is fixed. Commit in next post. (Modified the show_message arguments parser so we can simplify sdwdate-gui code a bit.)