[tor-bugs] #1368 [Tor Client]: Implement a heartbeat log message

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Mon Nov 29 00:37:48 UTC 2010


#1368: Implement a heartbeat log message
--------------------------------+-------------------------------------------
 Reporter:  Sebastian           |         Type:  enhancement
   Status:  new                 |     Priority:  major      
Milestone:  Tor: 0.2.3.x-final  |    Component:  Tor Client 
  Version:  0.2.1.25            |   Resolution:  None       
 Keywords:                      |       Parent:             
--------------------------------+-------------------------------------------

Comment(by asn):

 Greetings,

 I guess I'll add a status update here so that you guys can actually sleep
 at night.

 Heartbeat messages are currently looking like this:
 Nov 29 02:13:23.000 [notice] Heartbeat [1290989603]: Tor's uptime is 0:18
 , with 5 circuits active.
 Nov 29 02:13:23.000 [notice] Since last heartbeat I've read 152330 bytes
 and pushed 126986 bytes.
 Nov 29 02:13:23.000 [notice] Unfortunately, it seems like we are not in
 the cached consensus. If I were you I'd check this out, there is something
 fishy going on!

 As you can see, I'm tracking the uptime, number of circuit, bandwidth and
 whether we are in the consensus.
 The whole things seems to be working well. Unfortunately, I'm not sure if
 the code is Windows portable but I've tried not to be really careless.

 This is - of course - not ready for production use yet, but if you guys
 could briefly check out the code it would be great. Any feature requests
 are welcome as well.

 From what I gathered from #tor-dev, people would also like:
 * Relay flags displayed
 * "Heartbeat issued" control event
 * Uptime sent to the control port (although I guess this is not heartbeat
 related)
 and a couple of others I haven't grasped :(

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/1368#comment:6>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list