Hello,
Is this the right place to post if I'm having difficulties? I've done quite a bit of searching forums and things. I'm new to this and have been struggling a bit to get Tor and Vidalia working smoothly. I think I know what the problem is . I had my relay setup and working fine but Tor was not working. So I looked around a bit and I found this post on the Ubuntu forums and a useful guide to setting up Tor Vidalia and Polipo. I followed the instructions in that guide and finally Tor is working both when Vidalia boots and in my browser albeit with Torbutton as opposed to Foxyproxy (recommended in the guide). I thought this is great progress finally. But no I messed something up. In my enthusiasm I had copied the torrc from the guide without backing up my original and now my relay is no longer working. There are I believe 2 issues. The first I think is that the original references to my keys have been deleted. The second is I think something to do with the setup I have for ControlPort.
I don't think its a firewall issue. I am running a firewall locally and have port forwarding setup on my wireless router for 9001 and 9030
Like I said I'm new to all this so I could be wrong. I also don't know a lot about encryption so I am hesitant to post the details of my logs on a public list.
I've messed things up so if this is too much of a pain is there a way to just wipe out old keys and start a new relay from scratch?
Thanks you in advance
Best
Kevin
----
Here is the post on Ubuntu Forums http://ubuntuforums.org/showthread.php?p=11117515#post11117515
Here are some of the details from from my logs ( minus the encyption stuff which I can post if those who know better think its ok to do so)
Aug 04 18:38:10.018 [Info] resolve_my_address(): Guessed local hostname 'CRZ' resolves to a private IP address (127.0.0.1). Trying something else. Aug 04 18:38:10.019 [Info] resolve_my_address(): Interface IP address '192.168.1.130' is a private address too. Ignoring. Aug 04 18:38:10.023 [Info] resolve_my_address(): Address 'CRZ' resolves to private IP address '127.0.0.1'. Tor servers that use the default DirServers must have public IP addresses. Aug 04 18:38:10.023 [Info] router_pick_published_address(): Could not determine our address locally. Checking if directory headers provide any hints. Aug 04 18:38:10.024 [Info] resolve_my_address(): Guessed local hostname 'CRZ' resolves to a private IP address (127.0.0.1). Trying something else. Aug 04 18:38:10.025 [Info] resolve_my_address(): Interface IP address '192.168.1.130' is a private address too. Ignoring. Aug 04 18:38:10.026 [Info] resolve_my_address(): Address 'CRZ' resolves to private IP address '127.0.0.1'. Tor servers that use the default DirServers must have public IP addresses. Aug 04 18:38:10.027 [Info] router_pick_published_address(): Could not determine our address locally. Checking if directory headers provide any hints. Aug 04 18:38:10.027 [Info] update_consensus_router_descriptor_downloads(): 0 router descriptors downloadable. 0 delayed; 2494 present (0 of those were in old_routers); 0 would_reject; 0 wouldnt_use; 0 in progress. Aug 04 18:38:10.028 [Info] resolve_my_address(): Guessed local hostname 'CRZ' resolves to a private IP address (127.0.0.1). Trying something else. Aug 04 18:38:10.029 [Info] resolve_my_address(): Interface IP address '192.168.1.130' is a private address too. Ignoring. Aug 04 18:38:10.030 [Info] resolve_my_address(): Address 'CRZ' resolves to private IP address '127.0.0.1'. Tor servers that use the default DirServers must have public IP addresses. Aug 04 18:38:10.030 [Info] router_pick_published_address(): Could not determine our address locally. Checking if directory headers provide any hints. Aug 04 18:38:10.031 [Info] routerlist_remove_old_routers(): We have 2617 live routers and 1253 old router descriptors. Aug 04 18:38:10.032 [Info] resolve_my_address(): Guessed local hostname 'CRZ' resolves to a private IP address (127.0.0.1). Trying something else.
Hi,
On Fri, 5 Aug 2011, flgcrz wrote:
Is this the right place to post if I'm having difficulties?
Yep, although it might be best to also contact irc.oftc.net #tor for configuration issues (since you get faster replies there).
There are I believe 2 issues. The first I think is that the original references to my keys have been
deleted. Do you know where your original keys are? The default location is /var/lib/tor/. Look in your torrc for the option "DataDirectory", this is the one that'll be used. Although it shouldn't be much of a problem if it's deleted, you're just losing your old identity (and if you still use the same nickname for the node, this might be considered an impersonation attempt).
The second is I think something to do with the setup I have for
ControlPort.
I don't think its a firewall issue. I am running a firewall locally and have port forwarding setup on my wireless router for 9001 and 9030
The control port is used to control your tor instance (hence the name) and shouldn't be made available to anything but localhost (unless you know why and secure it properly, but generally it's a bad idea). So please don't forward your ControlPort ;) (unless you set ControlListenAddress, it will be bound only to localhost anyway)
I'm guessing you want to use 9001 as ORPort (incoming for regular OR traffic) and 9030 for incoming directory traffic? (which is the default)
Don't worry about the errors in your log regarding the IP, you will likely get your public IP from a dirserv after a few seconds. Look for lines containing "Guessed our IP address as".
The question now is, what exactly isn't working as intended? Is the relay not forwarding traffic? (patience, consensus propagates slowly) Can you browse over Tor yourself?
I also don't know a lot about encryption so I am hesitant to post the details of my logs on a public list.
It shouldn't be much of a problem usually (tor scrubs a lot of sensitive stuff and since there's no reason to dump keys to the log, it doesn't do that).
I've messed things up so if this is too much of a pain is there a way to just wipe out old keys and start a new relay from scratch?
Delete the contents of your DataDirectory, done. The torrc will stay the same, though. All this does is wipe everything tor has cached (e.g. the status of the Tor network), fingerprints (in other words, the identity of the node) and hidden service information.
Cheers,
Manuel
tor-relays@lists.torproject.org