Exactly, this is much simpler and what I had in mind. It makes kvm Whonix uniform on all systems it runs on too. Its also the closest to an .ova drop-in replacement as possible. The images with the xml configuration that is imported with the exact optimal settings we decide on.[/quote]
Yes.
[quote] If so "start this extra script every here and now to randomize times" would make this more cumbersome.[/quote]
On second thought, yes you are right about this making things needlessly complicated, but if its very important in situations where a hidden service is being sniffed out, then we should include a script for it with optional instructions in the wiki.
Yes.
However I have an alternative last suggestion at making this setting applicable for everyone. How about adding to UTC some offset based on some country's timezone to solve this?
Random time zones would only make hours relative, i.e. 02:53:45:35678 vs 05:53:45:35678 could still be linked.
This time random offset feature is about setting for example 02:53:45:35678 to 02:53:45:12563. After boot, bootclockrandomization kicks in and sets it +/- range between 5 and 180 seconds in future or past, for example setting 02:53:45:12563 to 02:53:23:12563. After Tor succeeded connecting, sdwdate kicks in and sets it to maybe 02:53:40:12563.
I decided to ask on #tor about the benefit of the random offset. Its clear that we have different views of the threat model, but I decided to post it anyway for reference.
Well, I am not sure if this topic gets a little to complicated for irc support. They may not be aware of my arguments from https://www.whonix.org/wiki/Dev/TimeSync and the linked papers. Also I may not be doing a good job explaining this issue. Very few have raised criticism or questions about that page. Either
- it is so perfect, that it can not be criticized.
- it is so complex, too much text, that no one bothers to check
- http://en.wikipedia.org/wiki/Parkinson%27s_law_of_triviality kicked in <--- timesync is like the atomic reactor, very few comment on these designs; whonix logo is the bikeshed, where many seem to know The Truth(tm)
[quote]Sounds like these filers are not supposed to be edited by hand? At least not while kvm is running? I guess they get reset by kvm. Your changes may persist when all kvm machines are shut down. Please try that.[/quote]
ok I’ll check.
Edited to add:
Same thing happens with editing while vm shutdown, but the clocks are still separate.
Well, it seems like there is still a process running overwriting these files. I wouldn’t know any other explanation why it keeps overwriting hand made settings. Or perhaps there is some kind of backup and integrity check, that restores the backup after hand made edits. How to hand edit xml files is a good question for search engines, irc, mailing lists.
It seems like editing xml files is not that simple. Needs two more commands. First dump the xml, then edit it, then re-import the xml. It is described here:
https://help.ubuntu.com/community/KVM/Managing#Editing_the_attributes_of_a_Virtual_Machine