[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



> The resolver dump is working for proc, netstat and lsof (root and debian-tor). I had to run the script with LANG=C, or it would not work in my German locale. But running arm with LANG=C does not change the problem.

Hi Stephan. In your case this definitely sounds unrelated to the tor
change. When you mentioned that the connection page is blank is it
completely empty or just missing the inbound/outbound connections?

For debugging the next step would be to run arm as "arm --debug" for a
minute or so, then please send me the file created at '~/.arm/log'
(stripped of anything you consider to be private, of course).

Sorry that arm's giving you difficulties! -Damian

PS. A little more information about the tor ptrace thing. Tor is
setting PR_SET_DUMPABLE to zero which changes the /proc/<pid>/fd
permissions...
dr-x------ 2 root   root   0 2011-12-17 12:02 fd

This breaks connection resolution via directly querying proc contents
(since we can't get the socket file descriptor -> inode mappings). It
also causes lsof to be missing tor results.

As for other resolvers like netstat and ss, they still show tor's
connection results but they're missing the PID/process name
information. For instance, here's a result for arm followed by one for
tor...

atagar@morrigan:~/Desktop/arm$ netstat -np
tcp        0      0 127.0.0.1:37633         127.0.0.1:9051
ESTABLISHED 2346/arm
tcp        0      0 10.59.0.135:34184       188.165.26.254:9001
ESTABLISHED -

atagar@morrigan:~/Desktop/arm$ ss -nptu
Netid  State      Recv-Q Send-Q               Local Address:Port
          Peer Address:Port
tcp    ESTAB      0      0                        127.0.0.1:37633
             127.0.0.1:9051   users:(("arm",2346,3))
tcp    ESTAB      0      0                      10.59.0.135:41699
          85.25.145.98:9001
_______________________________________________
tor-talk mailing list
tor-talk@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk