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

Re: monitoring tor-traffic



On Thu, Apr 10, 2008 at 04:54:06PM -0500, Jonathan Addington wrote:
> On Thu, Apr 10, 2008 at 4:31 PM, sigi <dugongs@xxxxxx> wrote:
> >
> > On Thu, Apr 10, 2008 at 03:41:45PM -0500, Jonathan Addington wrote:
> > > 
> > > What OS and router (if you have one) are you running?
> >
> > It's Debian etch running on a vserver
> 
> If Tor is running as its own user (as is generally encouraged) you can
> run "lsof -iTCP|grep tor-user" (which would remove "evince" above, or
> apache, vnc, or any other program that uses tcp). "lsof -iTCP|grep
> tor-user|wc -l" will give you an actually count, which will also
> include outgoing connections, which will increase the number if you
> are running an exit server. To narrow things down more you could run
> "lsof -iTCP|grep tor-user|grep 9001|wc -l" where 9001 is whatever port
> Tor actually takes connections on, which should give you a good idea
> of the number of nodes you are connected to.

As I'm running only a bridge-relay now,, is it ok that your suggestions 
only show three tor-connections? 

# lsof -iTCP|grep debian-tor|grep 9001|wc -l
3

In comparison to my middleman before, it's like nothing...

Thanks a lot Jonathan, for your answers! 

sigi.