[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #15607 [Tor]: Tor log dates imprecise



#15607: Tor log dates imprecise
------------------------+--------------------------
     Reporter:  atagar  |      Owner:
         Type:  defect  |     Status:  new
     Priority:  normal  |  Milestone:  Tor: 0.2.???
    Component:  Tor     |    Version:
   Resolution:          |   Keywords:
Actual Points:          |  Parent ID:
       Points:          |
------------------------+--------------------------

Comment (by rl1987):

 I did some preliminary work to teach Tor to use RFC 3339 timestamps for
 logging. See the following branch:

  * https://github.com/rl1987/tor/compare/bug15607_rfc3339

 Now there are design decisions to be made!

  1. Currently, my patch prints correct timezone offset only on systems
 that support gettimeofday(2). On other systems (e.g. Windows) getting
 timezone offset requires using platform-specific approach. If we fail to,
 what do we do? Is it okay, as a fallback, to print the local time with
 zero offset from UTC?
  1. Users may not want to have their timezone information in the logs.
 Knowing timezone reduces uncertainty about geographic location, which
 might be dangerous for sensitive use cases. My proposition is to add
 `ForceUTCTimestamps` torrc option and to have it be enabled by default.
 The downside is that it might be confusing to users. Sounds valid?

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/15607#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs