[tor-dev] Damian's Status Report - September 2014

Damian Johnson atagar at torproject.org
Tue Sep 30 15:49:45 UTC 2014


Code! Beautiful code! How I've missed thee!

As mentioned before I'm hip deep in the middle of an arm rewrite. Not only to
overhaul the arm codebase, but to ensure Stem will be up to snuff for a Tor
GUI or web dashboard (projects I'd *love* to jump into someday). I'm delighted
to announce a nice bit of progress on this front.

September went toward rewriting its header panel (the top portion of arm's
interface)...

  * Old zomg my eyes, they bleed!
  https://gitweb.torproject.org/arm.git/blob/e249dc8f5c4c282326324161cf8421f947cf660e:/src/cli/headerPanel.py

  * New hotness
  https://gitweb.torproject.org/arm.git/blob/HEAD:/arm/header_panel.py

As mentioned though this is really more about Stem than arm. Stem improvements
made along the way this month include...

  * Far better handling for the 'private' keyword (the default prefix) and the
    default suffix in our ExitPolicy class. (#10107)

  * New BaseController.connection_time() method that provides when our control
    connection was established or detached. [1]

  * New Controller.get_accounting_stats() method which reports accounting
    information for our relay. [2]

  * Controller now fetches our own descriptor if no fingerprint is provided to
    get_server_descriptor(), get_network_status(), or get_microdescriptor().

  * New crop() and join() methods for the str_tools module. [3][4]

  * Dropped a redundant get_* prefix from most of our util function names.
    Old names still work as aliases.

  * Our launch_tor_with_config() function raised an OSError if called too many
    times, caught thanks to RSenet. (#13141)


DocTor, the monitor for directory authority health, also got some love this
month...

  * Corrected suppression behavior when we have staggered alerts. This should
    greatly cut down on the amount of noise on the list.

  * We now check if too many relays lack a bandwidth authority measurement...
    or we would if this wouldn't perpetually be in alarm. (#12989, #13046)

  * Revised DocTor's schedule as requested by Sebastian. (#13210)

  * Expanded suppression for messages about turtles and kicked off a
    conversation to at long last sort this out. (#13296)


One final note is that I uploaded my Tor Ecosystem presentation to YouTube so
volunteer page visitors can see a streaming presentation rather than
downloading a 53 MB video...

  https://www.youtube.com/watch?v=fb6iqZcQsSg

Cheers! -Damian


[1] https://stem.torproject.org/api/control.html#stem.control.BaseController.connection_time
[2] https://stem.torproject.org/api/control.html#stem.control.Controller.get_accounting_stats
[3] https://stem.torproject.org/api/util/str_tools.html#stem.util.str_tools.crop
[4] https://stem.torproject.org/api/util/str_tools.html#stem.util.str_tools.join


More information about the tor-dev mailing list