[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



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

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
tor-relays mailing list
tor-relays@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays