Re: Full bandwidth is not used.

2010-03-06 Thread Marcin Kowalczyk
 Looking at `DataDirectory/state` directly I cannot figure out how to
 interpret the values. Maybe I need tot enable bandwidth accounting.

The values for BWHistoryReadValues and BWHistoryWriteValues are
sent/received bytes in 15 minutes.

So VALUE/1024/15/60 shows you your actual kb/s throughput in one
direction.


HTH

***
To unsubscribe, send an e-mail to majord...@torproject.org with
unsubscribe or-talkin the body. http://archives.seul.org/or/talk/


Re: Full bandwidth is not used.

2010-03-06 Thread Paul Campbell
- Original Message 

 From: Marcin Kowalczyk mar...@kowalczyk-online.com
 To: or-talk@freehaven.net
 Sent: Sat, March 6, 2010 7:56:39 AM
 Subject: Re: Full bandwidth is not used.
 
  Looking at `DataDirectory/state` directly I cannot figure out how to
  interpret the values. Maybe I need tot enable bandwidth accounting.
 
 The values for BWHistoryReadValues and BWHistoryWriteValues are
 sent/received bytes in 15 minutes.
 
 So VALUE/1024/15/60 shows you your actual kb/s throughput in one
 direction.
 
 
 HTH

Maybe this poorly written perl script can help:

perl -ne 'next if !/BW.*Values/; @s = split; print $s[0]\n; foreach
$value (split(/,/, $s[1])) {printf %10.1f kB/s\n, $value/15/60/1024}'

/var/lib/tor/state  
  

Cheers
Paul C



  

***
To unsubscribe, send an e-mail to majord...@torproject.org with
unsubscribe or-talkin the body. http://archives.seul.org/or/talk/


What causes this error?

2010-03-06 Thread TorOp
I noticed there's not much traffic coming through my relay and found 
this in the log. Any ideas?
Mar 06 14:27:37.436 [Warning] We just marked ourself as down. Are your 
external addresses reachable?

***
To unsubscribe, send an e-mail to majord...@torproject.org with
unsubscribe or-talkin the body. http://archives.seul.org/or/talk/


Re: What causes this error?

2010-03-06 Thread andrew
On Sat, Mar 06, 2010 at 03:00:19PM -0500, to...@optonline.net wrote 0.4K bytes 
in 7 lines about:
 Mar 06 14:27:37.436 [Warning] We just marked ourself as down. Are your  
 external addresses reachable?

Well, is your IP address reachable from the Internet?

-- 
Andrew Lewman
The Tor Project
pgp 0x31B0974B

Website: https://www.torproject.org/
Blog: https://blog.torproject.org/
Identi.ca: torproject
***
To unsubscribe, send an e-mail to majord...@torproject.org with
unsubscribe or-talkin the body. http://archives.seul.org/or/talk/


Re: What causes this error?

2010-03-06 Thread TorOp

On 3/6/2010 4:07 PM, and...@torproject.org wrote:

On Sat, Mar 06, 2010 at 03:00:19PM -0500, to...@optonline.net wrote 0.4K bytes 
in 7 lines about:

Mar 06 14:27:37.436 [Warning] We just marked ourself as down. Are your
external addresses reachable?


Well, is your IP address reachable from the Internet?



Yes, and I am still getting some light traffic now.

Mar 06 11:46:54.200 [Notice] Self-testing indicates your ORPort is 
reachable from the outside. Excellent. Publishing server descriptor.

***
To unsubscribe, send an e-mail to majord...@torproject.org with
unsubscribe or-talkin the body. http://archives.seul.org/or/talk/


Re: Full bandwidth is not used.

2010-03-06 Thread Damian Johnson
 I guess arm is using this or something similar to display the bandwidth
 usage of Tor.

Nope, arm just gives a running total of the BW events (ie, if you restart
arm the totals will revert to zero). At the moment I'm unaware of a method
of getting the total bandwidth besides tallying it (though it's included in
a proposal that's currently being batted around on or-dev).

Cheers! -Damian

On Fri, Mar 5, 2010 at 2:54 PM, Paul Menzel 
paulepan...@users.sourceforge.net wrote:
 Am Freitag, den 05.03.2010, 10:17 -0500 schrieb and...@torproject.org:
 On Fri, Mar 05, 2010 at 09:32:59AM +0100,
paulepan...@users.sourceforge.net wrote 1.4K bytes in 39 lines about:
 :  What did you configure for your bandwidth limits or accountingmax?
 :
 : I did not configure them and so the defaults are used. arm is
displaying
 : »(cap: 5 MB, burst: 10 MB)«.

 Ok, then Tor will figure out how much bandwidth it can reliably provide.

 On what conditions does that depend?

 If you look at your (datadirectory)/state file, it will show you how
 much bandwidth tor has been providing over time.

 I guess arm is using this or something similar to display the bandwidth
 usage of Tor.

 Looking at `DataDirectory/state` directly I cannot figure out how to
 interpret the values. Maybe I need tot enable bandwidth accounting.

   $ man torrc
   […]
   DataDirectory/state
  A set of persistent key-value mappings.  These are documented
in
  the file.  These include:
- The current entry guards and their status.
- The current bandwidth accounting  values  (unused  so  far;
 see
below).
- When the file was last written
- What version of Tor generated the state file
- A short history of bandwidth usage, as produced  in  the
 router
descriptors.

   DataDirectory/bw_accounting
  Used to track bandwidth  accounting  values  (when  the
 current
  period  starts  and  ends; how much has been read and written
so
  far this period).  This file is obsolete, and the  data  is
 now
  stored  in  the  ’state’ file as well.  Only used when
bandwidth
  accounting is enabled.
   […]

 Searching the WWW for »tor state bandwidth« did not help either.


 Thanks,

 Paul



Error / bug on latest Ver 0.2.1.24

2010-03-06 Thread Jon
I have been getting this error:

Mar 07 10:12:03.984 [Warning] router_orport_found_reachable(): Bug:
ORPort found reachable, but I have no routerinfo yet. Failing to
inform controller of success.

[10:12:03] Tor Software Error - The Tor software encountered an
internal bug. Please report the following error message to the Tor
developers at bugs.torproject.org: 


The 1st time was right after it came out. I had to reboot and the
error showed up again. I have made no changes. I have notice that it
has drastically slowed down the amount of user access. It all happened
after the install. right now Ver .23 was performing better than this
new one. Any ideas?

This is being run on Win 2k. I am kind of afraid to install on my exit
server until there is fix, if needed.

Any Ideas?

I have made a report to the bug tracker - Task #1268

Thanks  :)
***
To unsubscribe, send an e-mail to majord...@torproject.org with
unsubscribe or-talkin the body. http://archives.seul.org/or/talk/


Re: What causes this error?

2010-03-06 Thread Roger Dingledine
On Sat, Mar 06, 2010 at 05:01:05PM -0500, TorOp wrote:
 On 3/6/2010 4:07 PM, and...@torproject.org wrote:
 On Sat, Mar 06, 2010 at 03:00:19PM -0500, to...@optonline.net wrote 0.4K 
 bytes in 7 lines about:
 Mar 06 14:27:37.436 [Warning] We just marked ourself as down. Are your
 external addresses reachable?

 Well, is your IP address reachable from the Internet?


 Yes, and I am still getting some light traffic now.

 Mar 06 11:46:54.200 [Notice] Self-testing indicates your ORPort is  
 reachable from the outside. Excellent. Publishing server descriptor.

There are some known false positives for this warning message if your
Tor is both a relay and also offers a hidden service.

If your Tor is seeing use from clients, and it's listed in the
networkstatus consensus, I wouldn't worry about that message.

--Roger

***
To unsubscribe, send an e-mail to majord...@torproject.org with
unsubscribe or-talkin the body. http://archives.seul.org/or/talk/