[tor-relays] HALP!
I just deleted my best running exit node to move to another vps. I copied /etc/tor and /var/lib/tor + keys dir and moved it to the new vps. I double-checked the files/keys are the same but i still get a new fingerprint. Wtf is wrong with me? Markus Sent from my iPad ___ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
Re: [tor-relays] HALP!
On Tue, Aug 23, 2016 at 10:00:57PM +0200, Markus Koch wrote: > I just deleted my best running exit node to move to another vps. > > I copied /etc/tor and /var/lib/tor + keys dir and moved it to the new > vps. I double-checked the files/keys are the same but i still get a > new fingerprint. Wtf is wrong with me? Here's the FAQ entry: https://www.torproject.org/docs/faq#UpgradeOrMove It sounds like you did that though. Sounds like it's time to debug and question your assumptions. :) For example, were they both Debian systems, using the Tor deb? I am wondering in particular if the new Tor thinks it should be using that DataDirectory. Do the log files give you any hints? I'm guessing this is the 'niftyguineapig' relay? --Roger ___ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
Re: [tor-relays] HALP!
Sent from my iPad > On 23 Aug 2016, at 22:41, Roger Dingledine wrote: > >> On Tue, Aug 23, 2016 at 10:00:57PM +0200, Markus Koch wrote: >> I just deleted my best running exit node to move to another vps. >> >> I copied /etc/tor and /var/lib/tor + keys dir and moved it to the new >> vps. I double-checked the files/keys are the same but i still get a >> new fingerprint. Wtf is wrong with me? > > Here's the FAQ entry: > https://www.torproject.org/docs/faq#UpgradeOrMove > > It sounds like you did that though. > > Sounds like it's time to debug and question your assumptions. :) > > For example, were they both Debian systems, using the Tor deb? I am > wondering in particular if the new Tor thinks it should be using that > DataDirectory. Yes and yes. > > Do the log files give you any hints? I copied all the stuff, checked it and deleted the old vps. So I only see the new logfiles and they are fine, tor finds everything but with a different fingerprint. If the config would be in a different dir on the old vps, how comes that there are config files in both dirs? > > I'm guessing this is the 'niftyguineapig' relay? > Yes :( > --Roger > > ___ > 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] HALP!
On Tue, Aug 23, 2016 at 10:53:04PM +0200, Markus Koch wrote: > > Do the log files give you any hints? > > I copied all the stuff, checked it and deleted the old vps. So I only see the > new logfiles and they are fine, tor finds everything but with a different > fingerprint. If the config would be in a different dir on the old vps, how > comes that there are config files in both dirs? Well, a different fingerprint means a different identity key. Maybe you didn't copy the identity key over correctly? I notice your old one was Tor version 0.2.7.6 and your new one is Tor 0.2.8.6. So maybe it is a newer Debian, or maybe the timing is just coincidence. I also notice that your new Tor relay didn't start out with any past estimated bandwidth. That makes me think your state file didn't get transferred either. (These are all the BWHistory* lines.) So I think your torrc did transfer correctly, but not your datadirectory. --Roger ___ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
Re: [tor-relays] HALP!
Okay :( http://i.imgur.com/r1ZxAAH.png Is there anything important missing? 2016-08-24 0:22 GMT+02:00 Roger Dingledine : > On Tue, Aug 23, 2016 at 10:53:04PM +0200, Markus Koch wrote: >> > Do the log files give you any hints? >> >> I copied all the stuff, checked it and deleted the old vps. So I only see >> the new logfiles and they are fine, tor finds everything but with a >> different fingerprint. If the config would be in a different dir on the old >> vps, how comes that there are config files in both dirs? > > Well, a different fingerprint means a different identity key. Maybe > you didn't copy the identity key over correctly? > > I notice your old one was Tor version 0.2.7.6 and your new one is Tor > 0.2.8.6. So maybe it is a newer Debian, or maybe the timing is just > coincidence. > > I also notice that your new Tor relay didn't start out with any > past estimated bandwidth. That makes me think your state file didn't > get transferred either. (These are all the BWHistory* lines.) > > So I think your torrc did transfer correctly, but not your datadirectory. > > --Roger > > ___ > 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] HALP!
On 2016-08-24 at 00:41, Markus Koch wrote: > Okay :( > > http://i.imgur.com/r1ZxAAH.png Is there anything important missing? Well, it looks like wrong permissions to me. The files and the directory is owned by your current user "bunny". Is this also the tor user, or is tor using the user "tor" (which should be the default)? Currently, no other user but "bunny" can read from or write to those files and it's the only user that can look into the current directory. Best, Michael signature.asc Description: OpenPGP digital signature ___ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
Re: [tor-relays] HALP!
Okay, I should have said that this is my backup server ... so ... old tor exit -> backup server -> new VPS its running on the new VPS with the right permissions :) 2016-08-24 0:44 GMT+02:00 Michael Armbruster : > On 2016-08-24 at 00:41, Markus Koch wrote: >> Okay :( >> >> http://i.imgur.com/r1ZxAAH.png Is there anything important missing? > > Well, it looks like wrong permissions to me. The files and the directory > is owned by your current user "bunny". Is this also the tor user, or is > tor using the user "tor" (which should be the default)? > > Currently, no other user but "bunny" can read from or write to those > files and it's the only user that can look into the current directory. > > Best, > Michael > > > > ___ > 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] HALP!
This seems to be only the content of the keys/ subdirectory… my relay also has some other files in /var/lib/tor/, most significantly (it would seem) a fingerprint file. Did you copy these other files as well, and they’re just not included in the screenshot? On 24.08.2016 00:48, Markus Koch wrote: > Okay, I should have said that this is my backup server ... so ... > > old tor exit -> backup server -> new VPS > > its running on the new VPS with the right permissions :) > > > 2016-08-24 0:44 GMT+02:00 Michael Armbruster : >> On 2016-08-24 at 00:41, Markus Koch wrote: >>> Okay :( >>> >>> http://i.imgur.com/r1ZxAAH.png Is there anything important missing? >> Well, it looks like wrong permissions to me. The files and the directory >> is owned by your current user "bunny". Is this also the tor user, or is >> tor using the user "tor" (which should be the default)? >> >> Currently, no other user but "bunny" can read from or write to those >> files and it's the only user that can look into the current directory. >> >> Best, >> Michael >> >> >> >> ___ >> 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 smime.p7s Description: S/MIME Cryptographic Signature ___ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
Re: [tor-relays] HALP!
Yep, got this too http://i.imgur.com/R7wsC1I.png 2016-08-24 0:50 GMT+02:00 Lucas Werkmeister : > This seems to be only the content of the keys/ subdirectory… my relay > also has some other files in /var/lib/tor/, most significantly (it would > seem) a fingerprint file. Did you copy these other files as well, and > they’re just not included in the screenshot? > > > On 24.08.2016 00:48, Markus Koch wrote: >> Okay, I should have said that this is my backup server ... so ... >> >> old tor exit -> backup server -> new VPS >> >> its running on the new VPS with the right permissions :) >> >> >> 2016-08-24 0:44 GMT+02:00 Michael Armbruster : >>> On 2016-08-24 at 00:41, Markus Koch wrote: Okay :( http://i.imgur.com/r1ZxAAH.png Is there anything important missing? >>> Well, it looks like wrong permissions to me. The files and the directory >>> is owned by your current user "bunny". Is this also the tor user, or is >>> tor using the user "tor" (which should be the default)? >>> >>> Currently, no other user but "bunny" can read from or write to those >>> files and it's the only user that can look into the current directory. >>> >>> Best, >>> Michael >>> >>> >>> >>> ___ >>> 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 > > > > ___ > 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] HALP!
Roger Dingledine: > On Tue, Aug 23, 2016 at 10:53:04PM +0200, Markus Koch wrote: >>> Do the log files give you any hints? >> >> I copied all the stuff, checked it and deleted the old vps. So I >> only see the new logfiles and they are fine, tor finds everything >> but with a different fingerprint. If the config would be in a >> different dir on the old vps, how comes that there are config files >> in both dirs? > > Well, a different fingerprint means a different identity key. Maybe > you didn't copy the identity key over correctly? Just an idea: how about having a built-in feature in tor to backup/restore? This feature could make an "archive" with correct metadata. Thus relay operator won't bother to collect all relevant files and correct permissions. Also it would make it much easier to move a relay to absolutely different system (E.g. tor user was `debian-tor` and it's `_tor` on the new one. Also different locations, like Windows/Darwin/BSDs/Linux). Asking for comments before creating a ticket since this idea can be inherently wrong. Thanks, -- Ivan Markin ___ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
[tor-relays] halp #2
Sorry to bother you guys again Its 6am here and after reading the FAQ and other install guides I am out of ideas I just complied TOR (hurray!) on a NON-ROOT server. 1. Issue: I cant find the torrc file. I found out that the rest of the stuff is in ~./tor but no torrc at all. Where is it/should I put it? 2. Issue: I only need the complied TOR executable and I can safely delete all the other stuff? Cheers, Markus ___ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
Re: [tor-relays] halp #2
Markus Koch: > I just complied TOR (hurray!) on a NON-ROOT server. TOR -> Tor (tor here, I guess). > 1. Issue: I cant find the torrc file. I found out that the rest of the > stuff is in ~./tor but no torrc at all. Where is it/should I put it? There is no torrc installed. You can create it wherever you want and pass the path to it via '-f' option to tor: $ ./src/or/tor -f /home/bunny/lol-torrc On most of the systems it can be found at /etc/tor/torrc. > 2. Issue: I only need the complied TOR executable and I can safely > delete all the other stuff? Yes, 'tor' binary should be enough. You can keep default torrc if you want. -- Ivan Markin ___ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
Re: [tor-relays] halp #2
<3 2016-08-24 6:28 GMT+02:00 Ivan Markin : > Markus Koch: >> I just complied TOR (hurray!) on a NON-ROOT server. > TOR -> Tor (tor here, I guess). > >> 1. Issue: I cant find the torrc file. I found out that the rest of the >> stuff is in ~./tor but no torrc at all. Where is it/should I put it? > There is no torrc installed. You can create it wherever you want and > pass the path to it via '-f' option to tor: > > $ ./src/or/tor -f /home/bunny/lol-torrc > > On most of the systems it can be found at /etc/tor/torrc. > >> 2. Issue: I only need the complied TOR executable and I can safely >> delete all the other stuff? > > Yes, 'tor' binary should be enough. You can keep default torrc if you want. > > -- > Ivan Markin > ___ > 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