relay-non-dir.tmpl 992 B

12345678910111213141516171819202122232425262728
  1. ${include:common.i}
  2. SocksPort 0
  3. OrPort $orport
  4. Address $ip
  5. # Must be included before exit-v{4,6}.i
  6. ExitRelay 0
  7. #NOTE: Setting TestingServerConsensusDownloadSchedule doesn't
  8. # help -- dl_stats.schedule is not DL_SCHED_CONSENSUS
  9. # at boostrap time.
  10. # Try to download after:
  11. # the minimum initial consensus time to start with,
  12. # a few eager fetches,
  13. # then half the minimum testing consensus interval
  14. TestingServerDownloadSchedule 0, 5
  15. TestingServerConsensusDownloadSchedule 0, 5
  16. # These options are set here so they apply to IPv4 and IPv6 Exits
  17. #
  18. # Tell Exits to avoid using DNS: otherwise, chutney will fail if DNS fails
  19. # (Chutney only accesses 127.0.0.1 and ::1, so it doesn't need DNS)
  20. ServerDNSDetectHijacking 0
  21. ServerDNSTestAddresses
  22. # If this option is /dev/null, or any other empty or unreadable file, tor exits
  23. # will not use DNS. Otherwise, DNS is enabled with this config.
  24. # (If the following line is commented out, tor uses /etc/resolv.conf.)
  25. ${server_dns_resolv_conf}