Re: [tor-relays] Cloning a relay - duplicate fingerprint

2016-12-18 Thread Patrick DERWAEL
Issue solved, thank you guys !

2016-12-18 0:28 GMT+01:00 Ivan Markin :

> anondroid:
> > Out of curiosity, I wonder how the Tor network handles this? Do the
> > directory authorities drop one (or both) from the consensus?
>
> There are no "two" relays for one fingerprint since relays are
> "addressed" (named) by their keys (fingerprints). If one starts another
> relay with the same key it will be treated by the authorities as new
> descriptor for this key, i.e. another one will be pushed out from
> consensus.
> From another side, only two relays (read keys) are allowed per one IP
> address. Thus other than two relays on given IP address will also be
> pushed out from consensus.
>
> --
> Ivan Markin
> ___
> tor-relays mailing list
> tor-relays@lists.torproject.org
> https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
>



-- 

Patrick Derwael
Rue de la fontaine, 3
4210 Burdinne
G:0479.80.50.79
___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


Re: [tor-relays] Cloning a relay - duplicate fingerprint

2016-12-17 Thread Ivan Markin
anondroid:
> Out of curiosity, I wonder how the Tor network handles this? Do the
> directory authorities drop one (or both) from the consensus?

There are no "two" relays for one fingerprint since relays are
"addressed" (named) by their keys (fingerprints). If one starts another
relay with the same key it will be treated by the authorities as new
descriptor for this key, i.e. another one will be pushed out from consensus.
From another side, only two relays (read keys) are allowed per one IP
address. Thus other than two relays on given IP address will also be
pushed out from consensus.

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


Re: [tor-relays] Cloning a relay - duplicate fingerprint

2016-12-17 Thread anondroid
Out of curiosity, I wonder how the Tor network handles this? Do the directory 
authorities drop one (or both) from the consensus?___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


Re: [tor-relays] Cloning a relay - duplicate fingerprint

2016-12-17 Thread Ivan Markin
Patrick DERWAEL:
> --> cloned VM, changed IP and mac adresses, OS hostname, Tor nickname and
> restarted the Tor service
> 
> Surprise: the fingerprint of the clone is identical to the one of the
> source VM

There is no surprise. You've probably just cloned DataDirectory which
contains long-term relay private key and edited only torrc (nickname,
ports, whatever). Try to clear DataDirectory out and restart tor - it
should regenerate the keys.

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


Re: [tor-relays] Cloning a relay - duplicate fingerprint

2016-12-17 Thread niftybunny
rm -rv keys/

new keys -> new fingerprint -> new identity  


> On 17 Dec 2016, at 17:30, Patrick DERWAEL  wrote:
> 
> Hi list,
> 
> I'm running a relay on a CentOS VM
> 
> As I have lots of resources available, I wanted to duplicate that VM to bring 
> more bandwidth to the Tor network
> --> cloned VM, changed IP and mac adresses, OS hostname, Tor nickname and 
> restarted the Tor service
> 
> Surprise: the fingerprint of the clone is identical to the one of the source 
> VM
> I have stopped my clone to avoid any issue, but I guess I must have missed 
> something...
> 
> Any clue would be highly appreciated !!
> 
> ___
> 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