[tor-bugs] #31156 [Core Tor/Tor]: Add support of TBytes keyword to torrc for AccountingMax setting (and maybe others)

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Jul 14 09:20:00 UTC 2019


#31156: Add support of TBytes keyword to torrc for AccountingMax setting (and maybe
others)
---------------------------+------------------------------
 Reporter:  tla            |          Owner:  (none)
     Type:  enhancement    |         Status:  new
 Priority:  Low            |      Component:  Core Tor/Tor
  Version:  Tor: 0.2.9.17  |       Severity:  Minor
 Keywords:                 |  Actual Points:
Parent ID:                 |         Points:
 Reviewer:                 |        Sponsor:
---------------------------+------------------------------
 Happening on Debian 9 with Tor 0.2.9.16 from the standard apt repo.
 (Sorry, if this is already resolved in newer versions. In that case just
 close and ignore.)

 Syslog output:


 {{{
 Jul 14 10:50:38 systemd[1]: Starting Anonymizing overlay network for
 TCP...
 Jul 14 10:50:39 tor[530]: Jul 14 10:50:39.082 [notice] Tor 0.2.9.16 (git-
 9ef571339967c1e5) running on Linux with Libevent 2.0.21-stable, OpenSSL
 1.1.0k and Zlib 1.2.8.
 Jul 14 10:50:39 tor[530]: Jul 14 10:50:39.082 [notice] Tor can't help you
 if you use it wrong! Learn how to be safe at
 https://www.torproject.org/download/download#warning
 Jul 14 10:50:39 tor[530]: Jul 14 10:50:39.082 [notice] Read configuration
 file "/usr/share/tor/tor-service-defaults-torrc".
 Jul 14 10:50:39 tor[530]: Jul 14 10:50:39.082 [notice] Read configuration
 file "/etc/tor/torrc".
 Jul 14 10:50:39 tor[530]: Jul 14 10:50:39.085 [warn] Unknown unit
 'TBytes'.
 Jul 14 10:50:39 tor[530]: Jul 14 10:50:39.085 [warn] Failed to
 parse/validate config: Value 'AccountingMax 5 TBytes' is malformed or out
 of bounds.
 Jul 14 10:50:39 tor[530]: Jul 14 10:50:39.085 [err] Reading config failed
 --see warnings above.
 Jul 14 10:50:39 systemd[1]: tor at default.service: Control process exited,
 code=exited status=1
 Jul 14 10:50:39 systemd[1]: Failed to start Anonymizing overlay network
 for TCP.

 }}}

 Additionally, please note that /var/tor/log didn't give any hint of this,
 instead it went to syslog. Suboptimal.

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


More information about the tor-bugs mailing list