[tor-talk] New arm version doesn't show connections

Tim Wilde twilde at cymru.com
Wed Dec 14 18:41:35 UTC 2011

Hash: SHA1

On 12/14/2011 12:58 PM, Damian Johnson wrote:
> Hi Stephan. This is the first that I've heard of connection panel 
> issues related to upgrading. Here's some things to check... - When
> connection resolution fails several times arm falls back to another
> connection resolver, logging a notice as it does so. Do you have
> any connection related log messages? - I don't recall if this is
> the case with Debian or not, but many platforms require that you
> have the same permissions as the tor process to see its
> connections. In this case you'd do that by running 'sudo -u
> debian-tor arm'. - If all else fails you can try running 'python 
> /usr/share/arm/test.py', which lets you run through connection 
> resolvers to see which should be working or not.

For what it's worth, I don't think this is actually related to the arm
upgrade, I would guess that Stephan may have also recently updated to
Tor; when I upgraded a node to I also found that the
connections panel behavior changed; previous to Tor, the arm
connections panel showed both circuits created by my Tor instance as
well as all the other inbound and outbound connections on behalf of
clients.  With Tor, arm is only showing circuits my relay has
explicitly created (ie when it's starting up), and in normal
steady-state operation, shows nothing.  Testing the connection
resolvers returns:

proc       2453 results     1.4369 seconds
netstat    2449 results     1.4570 seconds
Traceback (most recent call last):
  File "/usr/share/arm/test.py", line 43, in <module>
    connectionResults = connections.getConnections(resolver, "tor",
  File "/usr/share/arm/util/connections.py", line 242, in getConnections
    results = sysTools.call(cmd)
  File "/usr/share/arm/util/sysTools.py", line 330, in call
    else: raise errorExc
IOError: 'sockstat' is unavailable


- -- 
Tim Wilde, Senior Software Engineer, Team Cymru, Inc.
twilde at cymru.com | +1-847-378-3333 | http://www.team-cymru.org/


More information about the tor-talk mailing list