LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-11-2012, 03:19 PM   #1
Kropotkin
Member
 
Registered: Oct 2004
Location: /usr/home
Distribution: Mint, Ubuntu server, FreeBSD, Android
Posts: 362

Rep: Reputation: 32
tor in bridge mode: traffic?


Hi all,

As a Public Service, I've installed tor on my VPS and configured it in bridge mode. I see these lines at the end of /var/log/tor:
Code:
Oct 11 15:02:10.213 [notice] Tor has successfully opened a circuit. Looks like client functionality is working.
Oct 11 15:02:10.213 [notice] Bootstrapped 100%: Done.
Oct 11 15:02:10.213 [notice] Now checking whether ORPort ###,###,###,###:9001 is reachable... (this may take up to 20 minutes -- look for log messages indicating success)
Oct 11 15:04:06.492 [notice] Self-testing indicates your ORPort is reachable from the outside. Excellent. Publishing server descriptor.
Oct 11 15:05:10.225 [notice] Performing bandwidth self-test...done.
But then nothing. Just nothing.

Is it now working? What kind of bandwidth is it using? I see from the tor man page the default bandwidth setting is 5MB/s, which could be too high for my VPS, but is there anyone of determining what is actually going on?

Also, I am a math retard: what does 5MB/s work out to on a monthly basis? I try to do the arithmetic and come out at an impossibly high number. My VPS has a bandwidth quota of 250G/month, so I need to work backwards from there.

TIA

Last edited by Kropotkin; 10-11-2012 at 04:20 PM.
 
Old 10-12-2012, 12:22 PM   #2
NyteOwl
Member
 
Registered: Aug 2008
Location: Nova Scotia, Canada
Distribution: Slackware, OpenBSD, others periodically
Posts: 512

Rep: Reputation: 139Reputation: 139
Lack of activity may be dues to the fact the node just hasn't been used in a circuit yet. Not all nodes are in use all the time.

As for the traffic rates:

Now 250GB/month works out to

250GB = 250 x 1024 MB = 256000 MB
1month = 30days x 24hours x 60minutes x 60seconds = 2592000 seconds

Doing a little division we get a sustained available transfer rate of 0.0988 MB/s (rounded)
or 101.14 KB/s.

If you don't want TOR to use up all available transfer in a short period then a careful reading of the Bandwidth settings in the manual under General Options will help you tailor the node to fit your account. https://www.torproject.org/docs/tor-manual-dev.html.en

You can see the importance of throttling the bandwidth from tehgraph here http://www.darkcoding.net/society/ru...ver-on-ubuntu/

The TOR project recommends a minimum of 30 KB/s so you are well above that (if not up to the default they'd like to have).
 
1 members found this post helpful.
Old 10-13-2012, 01:41 PM   #3
Kropotkin
Member
 
Registered: Oct 2004
Location: /usr/home
Distribution: Mint, Ubuntu server, FreeBSD, Android
Posts: 362

Original Poster
Rep: Reputation: 32
Thanks for the very helpful reply. I've configured tor to use around half my bandwidth; that will leave me more than enough.
 
Old 11-25-2012, 11:10 AM   #4
Kropotkin
Member
 
Registered: Oct 2004
Location: /usr/home
Distribution: Mint, Ubuntu server, FreeBSD, Android
Posts: 362

Original Poster
Rep: Reputation: 32
Quick followup: A couple of days ago I updated Tor to version 0.2.3.25, and bandwidth info is now logged in /var/log/tor. Sample line:
Code:
Nov 25 16:38:33.000 [notice] Heartbeat: Tor's uptime is 2 days 0:00 hours, with 2 circuits open. I've sent 5.33 MB and received 28.36 MB.
Very helpful!

Since I am not using Tor myself, just letting it run in bridge mode, I would have thought send and receive amounts would be equal, but that is another matter.

Last edited by Kropotkin; 11-25-2012 at 11:13 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How To Set Up A TOR Middlebox Routing All VirtualBox Virtual Machine Traffic Over The TOR Netw LXer Syndicated Linux News 0 02-08-2012 11:30 AM
Pushing all Traffic through TOR ? 0men Linux - Networking 3 06-08-2011 06:06 PM
Tor/Vidalia does not anonymize traffic. jrtayloriv Linux - Networking 6 08-05-2010 01:27 PM
Looking to block all non-Tor traffic kinetic Linux - Software 2 01-22-2010 04:15 PM
TOR: traffic between my workstation TOR entry point really not encrypted..? john99 Incognito 3 11-11-2009 01:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration