monitoring tor-traffic
Hi, for a year or so, I was running a Tor-middleman-relay, and the monitoring-sites on the net were fine for me. Now I switched to a bridge-relay and was thinking about how to monitor the connections and traffic going through it. I found a plugin for munin, as mentioned here http://archives.seul.org/or/talk/Jun-2006/msg00024.html but this doesn't work, the plugin exits with errors. Now I'd like to get any information, how I can easily monitor my tor-relay: How many connections and how many traffic goes through it. Thanks for your help! sigi
Smallest cheapest device to run a tor home server?
Hello Everone ( I am new ), i love Tor and i want to contribute. First of all does it make sense to run a tor relay on a ADSL line. I would be willing to share 30-40kb a sec 24/7. I have a linux WLAN router ( DD-WRT ) with 125 Mhz, 4 mb flash and 16 mb RAM ( 3 mb free ). Is that enough to run Tor? ( I didnt find any recent ipk packages .. so i guess it is not worth it otherwise people would do it ... ) Would a 32 mb device with 200 mhz do the trick? Or what about the NSLU2 or the Linkstation. Or is a used laptop the best choice? So many questions :) ( BTW i didnt find any requirements on the homepage ) ThanksRegards, T0M PS: sorry for asking, but i already asked on the german CCC list but didnt get any definite answers.
Re: Smallest cheapest device to run a tor home server?
Tom Arnold writes: I have a linux WLAN router ( DD-WRT ) with 125 Mhz, 4 mb flash and 16 mb RAM ( 3 mb free ). Is that enough to run Tor? ( I didnt find any recent ipk packages .. so i guess it is not worth it otherwise people would do it ... ) Would a 32 mb device with 200 mhz do the trick? Or what about the NSLU2 or the Linkstation. Or is a used laptop the best choice? Those are all likely to be insufficient. A used laptop could work, or you could take a look at sites like http://mini-itx.com/ for small systems.
Re: monitoring tor-traffic
What OS and router (if you have one) are you running? On Thu, Apr 10, 2008 at 11:09 AM, sigi [EMAIL PROTECTED] wrote: Hi, for a year or so, I was running a Tor-middleman-relay, and the monitoring-sites on the net were fine for me. Now I switched to a bridge-relay and was thinking about how to monitor the connections and traffic going through it. I found a plugin for munin, as mentioned here http://archives.seul.org/or/talk/Jun-2006/msg00024.html but this doesn't work, the plugin exits with errors. Now I'd like to get any information, how I can easily monitor my tor-relay: How many connections and how many traffic goes through it. Thanks for your help! sigi -- [EMAIL PROTECTED]
Re: monitoring tor-traffic
On Thu, Apr 10, 2008 at 03:41:45PM -0500, Jonathan Addington wrote: On Thu, Apr 10, 2008 at 11:09 AM, sigi [EMAIL PROTECTED] wrote: for a year or so, I was running a Tor-middleman-relay, and the monitoring-sites on the net were fine for me. Now I switched to a bridge-relay and was thinking about how to monitor the connections and traffic going through it. I found a plugin for munin, as mentioned here http://archives.seul.org/or/talk/Jun-2006/msg00024.html but this doesn't work, the plugin exits with errors. Now I'd like to get any information, how I can easily monitor my tor-relay: How many connections and how many traffic goes through it. What OS and router (if you have one) are you running? It's Debian etch running on a vserver
Re: monitoring tor-traffic
On Thu, Apr 10, 2008 at 4:31 PM, sigi [EMAIL PROTECTED] wrote: On Thu, Apr 10, 2008 at 03:41:45PM -0500, Jonathan Addington wrote: On Thu, Apr 10, 2008 at 11:09 AM, sigi [EMAIL PROTECTED] wrote: for a year or so, I was running a Tor-middleman-relay, and the monitoring-sites on the net were fine for me. Now I switched to a bridge-relay and was thinking about how to monitor the connections and traffic going through it. I found a plugin for munin, as mentioned here http://archives.seul.org/or/talk/Jun-2006/msg00024.html but this doesn't work, the plugin exits with errors. Now I'd like to get any information, how I can easily monitor my tor-relay: How many connections and how many traffic goes through it. What OS and router (if you have one) are you running? It's Debian etch running on a vserver To get an idea of the total number of connections you can run lsof -iTCP which will list *all* TCP connections. E.g., : evince 5338 madjon 56u IPv4 2899806 TCP beijing.local:48037-py-in-f19.google.com:https (CLOSE_WAIT) tor 12056 debian-tor4u IPv4 5236063 TCP beijing.local:33000-e82-103-209-231.elisa-laajakaista.fi:21209 (ESTABLISHED) tor 12056 debian-tor7u IPv4 19749 TCP beijing.local:9001 (LISTEN) 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. To monitor bandwidth you can use a program such as mrtg or bmon. You should know that it can take a very long time to list all connections if you have had Tor running for any significant amount of time. With a cable modem this process takes me several minutes. There are other ways to measure connections/bandwidth as well, along with more precisely monitoring Tor (although this method works fairly well). With three computers on my network, presently there are 1369 outgoing connections, 1342* of which are Tor, taking up 206kbit/s of (outgoing) bandwidth. As my outgoing bandwidth is lower than my incoming I can be fairly certain that Tor is running *about* the same in incoming bandwidth. I hope this helps and is not too verbose. I was going to let someone with more Tor experience respond, but it wasn't coming fast. -madjon *These are not all necessarily active connections, running lsof -iTCP|grep debian-tor|wc -l gave me 681 connections and took 11 minutes to complete. -- [EMAIL PROTECTED]