Advertisement
Guest User

Tor Config file [Basic configuration]

a guest
Sep 6th, 2012
5,260
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.97 KB | None | 0 0
  1. ### Basic configuration
  2. ### *******************
  3.  
  4.  
  5. # Uncomment one of these if you want to allow remote clients to
  6. # connect:
  7.  
  8. # proxyAddress = "::0" # both IPv4 and IPv6
  9. # proxyAddress = "0.0.0.0" # IPv4 only
  10.  
  11. proxyAddress = "127.0.0.1"
  12. proxyPort = 8118
  13.  
  14. # If you do that, you'll want to restrict the set of hosts allowed to
  15. # connect:
  16.  
  17. # allowedClients = "127.0.0.1, 134.157.168.57"
  18. # allowedClients = "127.0.0.1, 134.157.168.0/24"
  19.  
  20. allowedClients = 127.0.0.1
  21. allowedPorts = 1-65535
  22.  
  23. # Uncomment this if you want your Polipo to identify itself by
  24. # something else than the host name:
  25.  
  26. proxyName = "localhost"
  27.  
  28. # Uncomment this if there's only one user using this instance of Polipo:
  29.  
  30. cacheIsShared = false
  31.  
  32. # Uncomment this if you want to use a parent proxy:
  33.  
  34. # parentProxy = "squid.example.org:3128"
  35.  
  36. # Uncomment this if you want to use a parent SOCKS proxy:
  37.  
  38. socksParentProxy = "localhost:9050"
  39. socksProxyType = socks5
  40.  
  41.  
  42. ### Memory
  43. ### ******
  44.  
  45. # Uncomment this if you want Polipo to use a ridiculously small amount
  46. # of memory (a hundred C-64 worth or so):
  47.  
  48. # chunkHighMark = 819200
  49. # objectHighMark = 128
  50.  
  51. # Uncomment this if you've got plenty of memory:
  52.  
  53. # chunkHighMark = 50331648
  54. # objectHighMark = 16384
  55.  
  56. chunkHighMark = 67108864
  57.  
  58. ### On-disk data
  59. ### ************
  60.  
  61. # Uncomment this if you want to disable the on-disk cache:
  62.  
  63. diskCacheRoot = ""
  64.  
  65. # Uncomment this if you want to put the on-disk cache in a
  66. # non-standard location:
  67.  
  68. # diskCacheRoot = "~/.polipo-cache/"
  69.  
  70. # Uncomment this if you want to disable the local web server:
  71.  
  72. localDocumentRoot = ""
  73.  
  74. # Uncomment this if you want to enable the pages under /polipo/index?
  75. # and /polipo/servers?. This is a serious privacy leak if your proxy
  76. # is shared.
  77.  
  78. # disableIndexing = false
  79. # disableServersList = false
  80.  
  81. disableLocalInterface = true
  82. disableConfiguration = true
  83.  
  84. ### Domain Name System
  85. ### ******************
  86.  
  87. # Uncomment this if you want to contact IPv4 hosts only (and make DNS
  88. # queries somewhat faster):
  89. #
  90. # dnsQueryIPv6 = no
  91.  
  92. # Uncomment this if you want Polipo to prefer IPv4 to IPv6 for
  93. # double-stack hosts:
  94. #
  95. # dnsQueryIPv6 = reluctantly
  96.  
  97. # Uncomment this to disable Polipo's DNS resolver and use the system's
  98. # default resolver instead. If you do that, Polipo will freeze during
  99. # every DNS query:
  100.  
  101. dnsUseGethostbyname = yes
  102.  
  103.  
  104. ### HTTP
  105. ### ****
  106.  
  107. # Uncomment this if you want to enable detection of proxy loops.
  108. # This will cause your hostname (or whatever you put into proxyName
  109. # above) to be included in every request:
  110.  
  111. disableVia = true
  112.  
  113. # Uncomment this if you want to slightly reduce the amount of
  114. # information that you leak about yourself:
  115.  
  116. # censoredHeaders = from, accept-language
  117. # censorReferer = maybe
  118.  
  119. censoredHeaders = from,accept-language,x-pad,link
  120. censorReferer = maybe
  121.  
  122. # Uncomment this if you're paranoid. This will break a lot of sites,
  123. # though:
  124.  
  125. # censoredHeaders = set-cookie, cookie, cookie2, from, accept-language
  126. # censorReferer = true
  127.  
  128. # Uncomment this if you want to use Poor Man's Multiplexing; increase
  129. # the sizes if you're on a fast line. They should each amount to a few
  130. # seconds' worth of transfer; if pmmSize is small, you'll want
  131. # pmmFirstSize to be larger.
  132.  
  133. # Note that PMM is somewhat unreliable.
  134.  
  135. # pmmFirstSize = 16384
  136. # pmmSize = 8192
  137.  
  138. # Uncomment this if your user-agent does something reasonable with
  139. # Warning headers (most don't):
  140.  
  141. # relaxTransparency = maybe
  142.  
  143. # Uncomment this if you never want to revalidate instances for which
  144. # data is available (this is not a good idea):
  145.  
  146. # relaxTransparency = yes
  147.  
  148. # Uncomment this if you have no network:
  149.  
  150. # proxyOffline = yes
  151.  
  152. # Uncomment this if you want to avoid revalidating instances with a
  153. # Vary header (this is not a good idea):
  154.  
  155. # mindlesslyCacheVary = true
  156.  
  157. # Suggestions from Incognito configuration
  158. maxConnectionAge = 5m
  159. maxConnectionRequests = 120
  160. serverMaxSlots = 8
  161. serverSlots = 2
  162. tunnelAllowedPorts = 1-65535
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement