Re: [tor-relays] running a relay on a home connection

2013-12-17 Thread Mark Jamsek

On 18/12/2013 9:20 AM, I wrote:

Could you expand that it little further, please?
Robert




You may use a dynamic dns resolver such as freedns.afraid.org, dyn.com
or noip.com etc, then you can use your full dns name instead of your
current IP address.



FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!
Check it out at http://www.inbox.com/earth


___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays



Perform the following:

1. register at freedns.afraid.org
2. choose a domain from the registry[1] and create your subdomain (e.g. 
myTor.mooo.com)
2. either configure your router to update your IP or download one of the 
available clients: http://freedns.afraid.org/scripts/freedns.clients.php

3. in your torrc, configure:
   Address myTor.mooo.com
4. service tor restart

And your relay will automatically resolve your domain (myTor.mooo.com) 
to your dynamic IP.



[1] http://freedns.afraid.org/domain/registry/
___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


Re: [tor-relays] running a relay on a home connection

2013-12-17 Thread I
Could you expand that it little further, please?
Robert


> 
> You may use a dynamic dns resolver such as freedns.afraid.org, dyn.com
> or noip.com etc, then you can use your full dns name instead of your
> current IP address.


FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!
Check it out at http://www.inbox.com/earth


___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


Re: [tor-relays] running a relay on a home connection

2013-12-17 Thread Roger Dingledine
On Tue, Dec 17, 2013 at 11:25:15AM +0530, abhiram wrote:
> I am running a tor relay on a home connection. My connection is
> assigned a new ip as the lease expires every few days. So far I am
> fixing this my editing my torrc file with the new address value. Are
> there better ways of handing this?
> 
> One thing that puzzled me was that when I first setup my relay it
> was unable to find the external address of my connection and its
> log files kept complaining that:
> 
> "If x.x.x.x:9030 is not your correct IP address and directory port,
>  please check your relay's configuration"

What program gave that log message? That isn't a log message in Tor.
Maybe Vidalia? Unless you're paraphrasing?

> Obviously it wasn't my ip address, when I looked it up it was from
> another country. So my question is why is my relay advertising this
> specific address?

What operating system, what Tor version, and how did you install it?

I wonder if your /etc/hosts file has a stale address in it, so Tor doesn't
try to guess because your computer has already set its IP address (even
though it's wrong)?

--Roger

___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


Re: [tor-relays] bandwith unit

2013-12-17 Thread Kiss Gabor (Bitman)
> There are 2 applicable options in your torrc:
> 
> RelayBandwidthRate
> MaxAdvertisedBandwidth
> 
> The former actually throttles your traffic; the latter does not.
> Both may be omitted. 
> The lower of the two is what you should see in Globe or Atlas.
> MaxAdvertisedBandwidth should not be higher than RelayBandwidthRate.

Many thanks for the clarification. :-)

Regards

Gabor
___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


Re: [tor-relays] bandwith unit

2013-12-17 Thread Roger Dingledine
On Tue, Dec 17, 2013 at 02:10:21PM +0100, Kiss Gabor (Bitman) wrote:
> Another possiblity: "Advertised Bandwith" in Globe shows not the
> limit but my actual traffic. That is incidentally 1/8 of the maximum. :-)

I think that's it. See also
https://exonerator.torproject.org/serverdesc?desc-id=16d5317bd0957887e43e3a9647c2d3bb943d3c11
where your relay is advertising a rate limit of 1mbyte/s and has
self-estimated its capacity so far at 121446 bytes/second.

--Roger

___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


Re: [tor-relays] running a relay on a home connection

2013-12-17 Thread Luther Blissett
On Tue, 2013-12-17 at 11:25 +0530, abhiram wrote:
> Hello,
> 
> I am running a tor relay on a home connection. My connection is
> assigned a new ip as the lease expires every few days. So far I am
> fixing this my editing my torrc file with the new address value. Are
> there better ways of handing this?

You may use a dynamic dns resolver such as freedns.afraid.org, dyn.com
or noip.com etc, then you can use your full dns name instead of your
current IP address.

-- 
010
001
111

___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


Re: [tor-relays] bandwith unit

2013-12-17 Thread Jobiwan Kenobi

On Dec 17, 2013, at 13:38 , Kiss Gabor (Bitman) wrote:

> Dear folks,
> 
> I'm tor relay operator since several years but newbie on this list.
> 
> I just moved node 'traktor' from physical host to virtual machine.
> So I revised all settings and checked if all works well.
> I found a funny thing.
> 
> My RelayBandwidthRate is set to 1 MB (i.e. 8 Mbps).
> 
>  ## Define these to limit how much relayed traffic you will allow. Your
>  ## own traffic is still unthrottled. Note that RelayBandwidthRate must
>  ## be at least 20 KB.
>  ## Note that units for these config options are bytes per second, not bits
>  ## per second, and that prefixes are binary prefixes, i.e. 2^10, 2^20, etc.
>  #RelayBandwidthRate 100 KB  # Throttle traffic to 100KB/s (800Kbps)
>  #RelayBandwidthBurst 200 KB # But allow bursts up to 200KB/s (1600Kbps)
>  RelayBandwidthRate 1 MB
> 
> However on page
> https://globe.torproject.org/#/search/query=traktor
> the "Adverised Bandwith" column shows cca. 125 kB/s.
> 
> Did I misunderstand the difference between kbps and kBps?
> 
> Gabor


There are 2 applicable options in your torrc:

RelayBandwidthRate
MaxAdvertisedBandwidth

The former actually throttles your traffic; the latter does not.
Both may be omitted. 
The lower of the two is what you should see in Globe or Atlas.
MaxAdvertisedBandwidth should not be higher than RelayBandwidthRate.

If you don't use any units, the number is the amount of Bytes per second.

It may take some time for the site to reflect the correct information. 
I believe it is based on consensus data from directory authorities.

-Job


> ___
> tor-relays mailing list
> tor-relays@lists.torproject.org
> https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays

___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


Re: [tor-relays] bandwith unit

2013-12-17 Thread Thomas Hand
Isnt it just:

kb = kilobits
kB = kilobytes

using standard convention...?


On 17 December 2013 12:38, Kiss Gabor (Bitman)  wrote:

> Dear folks,
>
> I'm tor relay operator since several years but newbie on this list.
>
> I just moved node 'traktor' from physical host to virtual machine.
> So I revised all settings and checked if all works well.
> I found a funny thing.
>
> My RelayBandwidthRate is set to 1 MB (i.e. 8 Mbps).
>
>   ## Define these to limit how much relayed traffic you will allow. Your
>   ## own traffic is still unthrottled. Note that RelayBandwidthRate must
>   ## be at least 20 KB.
>   ## Note that units for these config options are bytes per second, not
> bits
>   ## per second, and that prefixes are binary prefixes, i.e. 2^10, 2^20,
> etc.
>   #RelayBandwidthRate 100 KB  # Throttle traffic to 100KB/s (800Kbps)
>   #RelayBandwidthBurst 200 KB # But allow bursts up to 200KB/s (1600Kbps)
>   RelayBandwidthRate 1 MB
>
> However on page
> https://globe.torproject.org/#/search/query=traktor
> the "Adverised Bandwith" column shows cca. 125 kB/s.
>
> Did I misunderstand the difference between kbps and kBps?
>
> Gabor
> ___
> tor-relays mailing list
> tor-relays@lists.torproject.org
> https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
>
___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


Re: [tor-relays] bandwith unit

2013-12-17 Thread Kiss Gabor (Bitman)
> Isnt it just:
> 
> kb = kilobits
> kB = kilobytes
> 
> using standard convention...?

I thought myself too so far...

Another possiblity: "Advertised Bandwith" in Globe shows not the
limit but my actual traffic. That is incidentally 1/8 of the maximum. :-)

Gabor
-- 
A mug of beer, please. Shaken, not stirred.
___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


[tor-relays] bandwith unit

2013-12-17 Thread Kiss Gabor (Bitman)
Dear folks,

I'm tor relay operator since several years but newbie on this list.

I just moved node 'traktor' from physical host to virtual machine.
So I revised all settings and checked if all works well.
I found a funny thing.

My RelayBandwidthRate is set to 1 MB (i.e. 8 Mbps).

  ## Define these to limit how much relayed traffic you will allow. Your
  ## own traffic is still unthrottled. Note that RelayBandwidthRate must
  ## be at least 20 KB.
  ## Note that units for these config options are bytes per second, not bits
  ## per second, and that prefixes are binary prefixes, i.e. 2^10, 2^20, etc.
  #RelayBandwidthRate 100 KB  # Throttle traffic to 100KB/s (800Kbps)
  #RelayBandwidthBurst 200 KB # But allow bursts up to 200KB/s (1600Kbps)
  RelayBandwidthRate 1 MB

However on page
https://globe.torproject.org/#/search/query=traktor
the "Adverised Bandwith" column shows cca. 125 kB/s.

Did I misunderstand the difference between kbps and kBps?

Gabor
___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


Re: [tor-relays] running a relay on a home connection

2013-12-17 Thread Thomas Hand
I don't think you need to specify an external IP in the torrc file. You can
just specify 0.0.0.0:9050 for socks and 0.0.0.0:9030 for directory. Tor
will identify if you have a dynamic IP and resync with the network
automatically each time it changes. Also make sure it is a relay you are
running and not a bridge. A dynamic IP is no good for a bridge.


Tom


On 17 December 2013 05:55, abhiram  wrote:

> Hello,
>
> I am running a tor relay on a home connection. My connection is
> assigned a new ip as the lease expires every few days. So far I am
> fixing this my editing my torrc file with the new address value. Are
> there better ways of handing this?
>
> One thing that puzzled me was that when I first setup my relay it
> was unable to find the external address of my connection and its
> log files kept complaining that:
>
> "If x.x.x.x:9030 is not your correct IP address and directory port,
>  please check your relay's configuration"
>
> Obviously it wasn't my ip address, when I looked it up it was from
> another country. So my question is why is my relay advertising this
> specific address?
>
> thanks for your time.
> --
> Abhiram Chintangal
>
>
>
> ___
> tor-relays mailing list
> tor-relays@lists.torproject.org
> https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
>
>
___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays