[tor-bugs] #6907 [arm]: arm simply assumes it is connecting to a local tor instance (which is not necessarily always the case)
Tor Bug Tracker & Wiki
torproject-admin at torproject.org
Fri Sep 21 17:15:44 UTC 2012
#6907: arm simply assumes it is connecting to a local tor instance (which is not
necessarily always the case)
-------------------------+--------------------------------------------------
Reporter: cypherpunkx | Owner: atagar
Type: defect | Status: new
Priority: normal | Milestone:
Component: arm | Version:
Keywords: | Parent:
Points: | Actualpoints:
-------------------------+--------------------------------------------------
It looks like arm simply assumes to connect to a local tor instance:
- the hostname and kernel version displayed in arm's interface is not from
the relay (it is from localhost).
The following warnings are also caused by this assumption:
{{{
[ARM_WARN] The torrc differs from what tor's using. You can issue a sighup
to reload the torrc values by pressing x.
- torrc values differ
[ARM_WARN] Unable to read tor's log file: /var/log/tor/log on lines: 2, 3,
4, 6, 7, 8, 9, 10
}}}
Maybe arm could try to detect if it is connecting to a local tor instance
by comparing the IP from the '-i' parameter with locally configured IP
adresses?
An alternative method and probably easier and more reliable: If the pid
(gathered via 'GETINFO process/pid') does not match one of the pids
returned by 'pidof tor' it is probably not a local tor instance.
What do you think?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6907>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list