[tor-bugs] #28363 [Core Tor/Tor]: Make a torrc option which prevents Tor from falling asleep

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Jan 25 15:40:20 UTC 2019


#28363: Make a torrc option which prevents Tor from falling asleep
--------------------------+----------------------------------
 Reporter:  wagon         |          Owner:  (none)
     Type:  enhancement   |         Status:  assigned
 Priority:  Medium        |      Milestone:  Tor: unspecified
Component:  Core Tor/Tor  |        Version:
 Severity:  Normal        |     Resolution:
 Keywords:  040-proposed  |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+----------------------------------

Comment (by wagon):

 > What's the first version where you have seen this problem?
 I cannot remember, but I did saw it within last year for last stable Tor
 versions.

 > And are the steps to reproduce it just "wait 60 minutes and use a
 control port to ask what circuits there are?"
 It is an example, but it is easier to see. Check your `netstat` or `ss`,
 and you will see that your Tor client is not connected to any relay, and
 there is no open TCP connections. I assumed it is well known behavior of
 Tor (closing all circuits and disconnecting from Tor network, if no
 application is using it during some period of inactivity). Yes, it wasn't
 related to any dormant mode as it was before 0.4.0.x.

 Now you introduced dormant mode and say that default inactivity period is
 24h, which is many times higher than the original inactivity timeout for
 old versions. That is why I was surprised and asked you about it.

 > if you're seeing a change in recent releases, then it's not dormant mode
 that you're seeing.
 Yes, it is not literally dormant mode, but it imitates it. I didn't see
 any change, I just tell you that this is how Tor before 0.4.0.x behaves
 (according to my current understanding). Later I read man page for 0.4.0.x
 and saw that it should behave differently, i.e. with much higher period of
 inactivity.

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


More information about the tor-bugs mailing list