[tor-relays] Nodes on dynamic IPs don't survive an IP change any more

Marco Predicatori marco at predicatori.it
Mon Jul 12 08:08:00 UTC 2021


Marco Predicatori wrote on 6/10/21 10:12 AM:
> Hi,
> 
> whenever my IP changes, my node stops relaying traffic, and after a few hours I
> see in the logs
> [notice] Heartbeat: It seems like we are not in the cached consensus.
> 
> In past versions I remember seeing in the logs something like "...your ip seems
> to have changed...", followed by a new "...publishing server descriptor...", as
> far as I remember.
> 
> Now I have to monitor my ip, and restart Tor whenever it changes. Wouldn't it be
> nice to go back to the previous behaviour?
> 

Solved. Every minute a crontab job checks wether the public ip has changed. If
it has, Tor is restarted.

-- 
https://metrics.torproject.org/rs.html#details/A4E74410D83705EEFF24BC265DE2B2FF39BDA56E

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.torproject.org/pipermail/tor-relays/attachments/20210712/5c061d95/attachment.sig>


More information about the tor-relays mailing list