I am running tor as a daemon on a Ubuntu server. I want to periodically and automatically refresh the identity I am using in order to get a new exit node.

The only way I've found to do this is to restart the tor service, but this is not a viable option as it results in downtime for the tor service. Is there a way of doing this with a configuration setting?


The following command refreshes the IP without any service downtime:

killall -HUP tor

  • N.B. there is no guarantee that SIGHUP will result in new circuits (although as it is currently implemented it does) and doesn't do half of what New Identity does. – cacahuatl Oct 17 '18 at 21:21
  • What does new identity do that SIGHUP doesn't? – PetaPetaPeta Oct 22 '18 at 7:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.