single-onion.tmpl 866 B

12345678910111213141516171819202122
  1. ${include:hs.tmpl}
  2. # Make every hidden service instance a Single Onion Service
  3. HiddenServiceSingleHopMode 1
  4. HiddenServiceNonAnonymousMode 1
  5. # Log only the messages we need to confirm that the Single Onion server is
  6. # making one-hop circuits, and to see any errors or major issues
  7. # To confirm one-hop intro and rendezvous circuits, look for
  8. # rend_service_intro_has_opened and rend_service_rendezvous_has_opened, and
  9. # check the length of the circuit in the next line.
  10. Log notice [rend,bug]info file ${dir}/single-onion.log
  11. # Disable preemtive circuits, a Single Onion doesn't need them (except for
  12. # descriptor posting).
  13. # This stalls at bootstrap due to #17359.
  14. #__DisablePredictedCircuits 1
  15. # A workaround is to set:
  16. LongLivedPorts
  17. PredictedPortsRelevanceTime 0 seconds
  18. # This disables everything except hidden service preemptive 3-hop circuits.
  19. # See #17360.