Tor doesn't publish the new IP address when it changes
I set up a Tor relay using "Tor v0.2.0.32 (r17346)" from Debian backports on Debian Etch (for some reason I can only choose 0.2.0.31 from the menu above). This relay is running on a low end NAS on MIPSel hardware behind a NAT router which gets a new IP address every 24h. It is configured not be an exit node and I don't have a directory server running.
I had no problems with the previous version 0.1.2.19 I compiled myself, that one worked and filled the assigned bandwidth.
But with the current version the daemon does recognize that it is reachable with a new IP address, but it doesn't seem to publish it. The port 9001 is reachable from the outside, the logfiles say so and I tested it with telnet. From the logs I get:
Dec 03 06:28:15.017 [notice] Tor 0.2.0.32 (r17346) opening new log file. Dec 03 17:23:38.755 [notice] Performing bandwidth self-test...done. Dec 04 05:00:57.797 [notice] Your IP address seems to have changed to 22.214.171.124. Updating. Dec 04 05:01:09.459 [notice] I learned some more directory information, but not enough to build a circuit: We have only 269/1132 usable descriptors. Dec 04 05:01:10.668 [notice] We now have enough directory information to build circuits. Dec 04 05:01:29.227 [notice] Self-testing indicates your ORPort is reachable from the outside. Excellent. Publishing server descriptor. Dec 04 05:01:47.985 [notice] Performing bandwidth self-test...done. Dec 04 06:28:15.747 [notice] Received reload signal (hup). Reloading config.
But although the log says "updating", it doesn't do so. Status pages like https://torstatus.blutmagie.de/ don't list the server after a change of ip address. In the config file I used a CNAME for my dyndns hostname which does work and resolves to the IP address that Tor detects.
When I restart the Tor service, evrerything is fine again, at startup it publishes the correct IP address, the Status pages pick that up and I get the traffic according to the bandwith setting in my torrc.
[Automatically added by flyspray2trac: Operating System: Other Linux]